PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
plugins
/
woocommerce
/
assets
/
client
/
admin
/
chunks
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[7387],{3995:(e,t,r)=>{r.r(t),r.d(t,{default:()=>b});var o=r(69307),n=r(51393),c=r(86020),d=r(14599),a=r(99196),l=r(98817),u=r(85597),i=r(46530),s=r(65736),p=r(9818),m=r(5771);(0,n.productEditorHeaderApiFetchMiddleware)(),(0,n.productApiFetchMiddleware)();const E=(0,a.lazy)((()=>r.e(6083).then(r.bind(r,6083)))),_=(0,a.lazy)((()=>Promise.resolve().then(r.t.bind(r,51393,23)).then((e=>({default:e.__experimentalProductMVPFeedbackModalContainer})))));function b(){const{productId:e}=(0,u.UO)();(0,a.useEffect)((()=>{document.body.classList.add("is-product-editor");const e=(0,n.__experimentalInitBlocks)();return()=>{document.body.classList.remove("is-product-editor"),e()}}),[]),(0,a.useEffect)((()=>((0,l.registerPlugin)("wc-admin-product-editor",{scope:"woocommerce-product-block-editor",render:()=>(0,a.useContext)(n.__experimentalEditorLoadingContext)?null:(0,o.createElement)(o.Fragment,null,(0,o.createElement)(n.__experimentalWooProductMoreMenuItem,null,(({onClose:e})=>(0,o.createElement)(m.e,{onClose:e}))),(0,o.createElement)(i.WooFooterItem,null,(0,o.createElement)(o.Fragment,null,(0,o.createElement)(n.__experimentalProductMVPCESFooter,{productType:"product"}),(0,o.createElement)(a.Suspense,{fallback:(0,o.createElement)(c.Spinner,null)},(0,o.createElement)(_,{productId:e?Number.parseInt(e,10):void 0})))),(0,o.createElement)(a.Suspense,{fallback:(0,o.createElement)(c.Spinner,null)},(0,o.createElement)(E,null)))}),()=>{(0,l.unregisterPlugin)("wc-admin-product-editor")})),[e]),(0,a.useEffect)((function(){e?(0,d.recordEvent)("product_edit_view",{source:n.TRACKS_SOURCE,product_id:e}):(0,d.recordEvent)("product_add_view",{source:n.TRACKS_SOURCE})}),[e]);const t=function(e){const[t,r]=(0,o.useState)(void 0);return(0,o.useEffect)((()=>{e?r(Number.parseInt(e,10)):(0,p.dispatch)("core").saveEntityRecord("postType","product",{title:n.AUTO_DRAFT_NAME,status:"auto-draft"}).then((e=>r(e.id))).catch((e=>{throw r(void 0),e}))}),[e]),t}(e);return t?(0,o.createElement)(n.__experimentalEditor,{productId:t}):(0,o.createElement)("div",{className:"woocommerce-layout__loading"},(0,o.createElement)(c.Spinner,{"aria-label":(0,s.__)("Creating the product","woocommerce")}))}}}]);
[-] 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]