PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
plugins
/
woocommerce
/
assets
/
client
/
admin
/
chunks
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[6083],{6083:(e,o,t)=>{t.r(o),t.d(o,{default:()=>_});var r=t(69307),s=t(65736),n=t(86020),c=t(51393),i=t(14599),l=t(10153),d=t(42960);const a=({shouldTourBeShown:e,dismissModal:o})=>{const{isNewUser:t,loadingPublishedProductsCount:a}=(0,d.E)();(0,r.useEffect)((()=>{e&&(0,i.recordEvent)("block_product_editor_spotlight_view")}),[e]);const[u,p]=(0,r.useState)(!1),{maybeShowFeedbackBar:m}=(0,c.__experimentalUseFeedbackBar)();if(a)return null;if(u)return(0,r.createElement)(l.Z,{isNewUser:t,onCloseGuide:(e,t)=>{o(),"finish"===t?(0,i.recordEvent)("block_product_editor_spotlight_tell_me_more_click"):(0,i.recordEvent)("block_product_editor_spotlight_dismissed",{current_page:e+1}),p(!1),m()}});if(e){const{heading:e,description:c}={heading:t?(0,s.__)("Meet the product editing form","woocommerce"):(0,s.__)("Welcome to the new product form!","woocommerce"),description:t?(0,s.__)("Discover the product form's unique features with a quick overview of what's included.","woocommerce"):(0,s.__)("Discover its new features and improvements with a quick overview of what's included.","woocommerce")};return(0,r.createElement)(n.TourKit,{config:{steps:[{meta:{name:"woocommerce-block-editor-tour",primaryButton:{text:(0,s.__)("View highlights","woocommerce")},descriptions:{desktop:c},heading:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("span",null,e),(0,r.createElement)(n.Pill,null,(0,s.__)("Beta","woocommerce")))},referenceElements:{desktop:"#adminmenuback"}}],closeHandler:(e,t,r)=>{"done-btn"===r?((0,i.recordEvent)("block_product_editor_spotlight_view_highlights"),p(!0)):(o(),(0,i.recordEvent)("block_product_editor_spotlight_dismissed",{current_page:0}),m())},options:{effects:{arrowIndicator:!1,overlay:!1,liveResize:{rootElementSelector:"#adminmenuback",resize:!0}},portalParentElement:document.getElementById("wpbody"),popperModifiers:[{name:"bottom-left",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.top="auto",e.styles.popper.left="auto",e.styles.popper.bottom="10px",e.styles.popper.transform="translate3d(10px, 0px, 0px)"}}],classNames:"woocommerce-block-editor-tourkit"}}})}return null};var u=t(67221),p=t(9818);const m="woocommerce_block_product_tour_shown",_=()=>{const e=(()=>{const{updateOptions:e}=(0,p.useDispatch)(u.OPTIONS_STORE_NAME),{shouldTourBeShown:o}=(0,p.useSelect)((e=>{const{getOption:o,hasFinishedResolution:t}=e(u.OPTIONS_STORE_NAME);return{shouldTourBeShown:!("yes"===o(m)||!t("getOption",[m]))}}));return{dismissModal:()=>{e({[m]:"yes"})},shouldTourBeShown:o}})();return(0,r.createElement)(a,e)}}}]);
[-] 0.style.css
[edit]
[-] edit-product-page.js
[edit]
[-] analytics-report-orders.js
[edit]
[-] 8544.style.css
[edit]
[-] 5691.js
[edit]
[-] 6083.js
[edit]
[-] 2953.style.css
[edit]
[-] core-profiler.js
[edit]
[-] 9941.js
[edit]
[-] 7872.js
[edit]
[-] 3963.js
[edit]
[-] 4272.js
[edit]
[-] 1878.js
[edit]
[-] 5292.js
[edit]
[-] analytics-report-taxes.js
[edit]
[-] 4396.js.LICENSE.txt
[edit]
[-] launch-store.js
[edit]
[-] 185.style.css
[edit]
[-] 6732.style.css
[edit]
[-] 5292.style.css
[edit]
[-] 6125.style.css
[edit]
[-] dashboard-charts.js
[edit]
[-] 9360.style.css
[edit]
[-] analytics-report-categories.js
[edit]
[-] leaderboards.js
[edit]
[-] wcpay-payment-welcome-page.js
[edit]
[-] analytics-report-products.js
[edit]
[-] 1878.js.LICENSE.txt
[edit]
[-] analytics-report.js
[edit]
[-] 5771.js
[edit]
[-] 6824.style.css
[edit]
[-] 9456.style.css
[edit]
[-] 7387.style.css
[edit]
[-] 3307.style.css
[edit]
[-] store-alerts.js
[edit]
[-] 9792.style.css
[edit]
[-] customizable-dashboard.js
[edit]
[-] homescreen.js
[edit]
[-] store-performance.js
[edit]
[-] shipping-recommendations.js
[edit]
[-] analytics-report-variations.js
[edit]
[-] 6224.js
[edit]
[-] 8219.style.css
[edit]
[-] analytics-report-downloads.js
[edit]
[-] 9669.style.css
[edit]
[-] 3994.style.css
[edit]
[-] 727.style.css
[edit]
[-] settings-payments-offline.js
[edit]
[-] 0.js
[edit]
[-] 9966.style.css
[edit]
[-] 2106.js
[edit]
[-] analytics-report-customers.js
[edit]
[-] multichannel-marketing.js
[edit]
[-] analytics-report-revenue.js
[edit]
[-] 2397.style.css
[edit]
[-] 9850.js
[edit]
[-] 4882.style.css
[edit]
[-] 925.style.css
[edit]
[-] settings-payments-main.js
[edit]
[-] 2624.style.css
[edit]
[-] 8597.style.css
[edit]
[-] 6802.js
[edit]
[-] 3963.js.LICENSE.txt
[edit]
[-] profile-wizard.js
[edit]
[-] 4940.js
[edit]
[-] 1850.js
[edit]
[-] 2502.style.css
[edit]
[-] 318.style.css
[edit]
[-] analytics-report-coupons.js
[edit]
[-] 997.style.css
[edit]
[-] 6802.js.LICENSE.txt
[edit]
[-] 8534.style.css
[edit]
[-] 7872.js.LICENSE.txt
[edit]
[-] 1828.style.css
[edit]
[-] marketplace.js
[edit]
[-] analytics-report-stock.js
[edit]
[-] 8851.style.css
[edit]
[-] 1910.js
[edit]
[-] product-page.js
[edit]
[-] activity-panels-setup.js
[edit]
[-] 7708.style.css
[edit]
[-] 997.js
[edit]
[-] dashboard.js
[edit]
[-] 3576.style.css
[edit]
[-] payment-recommendations.js
[edit]
[-] core-profiler.js.LICENSE.txt
[edit]
[-] 4396.js
[edit]
[-] 9488.js
[edit]
[-] settings-payments-woocommerce-payments.js
[edit]
[-] 5712.style.css
[edit]
[-] 6290.js
[edit]
[-] customize-store.js
[edit]
[-] 4098.js
[edit]
[-] 3700.style.css
[edit]
[-] activity-panels-help.js
[edit]
[+]
..
[-] activity-panels-inbox.js
[edit]
[-] category-metabox.js
[edit]
[-] 4854.style.css
[edit]
[-] analytics-settings.js
[edit]
[-] 4940.js.LICENSE.txt
[edit]
[-] 9488.js.LICENSE.txt
[edit]
[-] 4011.style.css
[edit]
[-] 1910.style.css
[edit]