PATH:
home
/
lab2454c
/
credityork.com
/
wp-content
/
plugins
/
woocommerce
/
assets
/
client
/
admin
/
chunks
"use strict";(self.webpackChunk_wcAdmin_webpackJsonp=self.webpackChunk_wcAdmin_webpackJsonp||[]).push([[7387],{80269:function(e,t,o){o.d(t,{U:function(){return E},b:function(){return u}});var n=o(69307),r=o(65736),c=o(55609),i=o(9818),l=o(75606),s=o(78215);const u=e=>{let{onClose:t}=e;const{showCesModal:o}=(0,i.useDispatch)(l.STORE_KEY);return(0,n.createElement)(c.MenuItem,{onClick:()=>{o({action:"new_product",title:(0,r.__)("How's your experience with the product editor?","woocommerce"),firstQuestion:(0,r.__)("The product editing screen is easy to use","woocommerce"),secondQuestion:(0,r.__)("The product editing screen's functionality meets my needs","woocommerce")},{shouldShowComments:()=>!0},{type:"snackbar",icon:(0,n.createElement)("span",null,"🌟")}),t()},icon:(0,n.createElement)(s.A,null),iconPosition:"right"},(0,r.__)("Share feedback","woocommerce"))};var d=o(74617),a=o(67221),p=o(51393);const m=()=>(0,n.createElement)("svg",{width:"18",height:"19",viewBox:"0 0 18 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.73365 13.1059L5.91005 10.7253L4.81688 9.69821L0.970703 13.8559L4.81688 18.0137L5.91005 16.9865L3.73365 14.6059H6.54528C7.67008 14.6059 8.79454 14.6362 9.91926 14.6059C11.3464 14.6047 13.2805 14.3559 14.882 13.3288C16.5414 12.2645 17.7498 10.423 17.7498 7.47022C17.7498 4.99134 16.4227 2.57446 14.1007 1.53934C12.279 0.727299 11.0554 0.740873 9.29353 0.751627C9.09868 0.752817 8.90948 0.753973 8.7271 0.753973C8.7271 0.753973 8.7271 1.08588 8.7271 1.50009C8.7271 1.9143 8.7271 2.25397 8.7271 2.25397C8.91043 2.25397 9.09488 2.25326 9.27997 2.25254C11.1006 2.24547 11.9842 2.23816 13.4899 2.90938C15.3434 3.73563 16.2498 5.56574 16.2498 7.47022C16.2498 9.94253 15.2764 11.2938 14.0722 12.0662C12.8139 12.8732 11.2081 13.1059 9.90892 13.1059H9.89866L9.8884 13.1062C8.774 13.1367 7.65978 13.1059 6.54528 13.1059H3.73365Z",fill:"#1E1E1E"})),E=e=>{let{onClose:t,productId:o}=e;const{showProductMVPFeedbackModal:s}=(0,i.useDispatch)(l.STORE_KEY),{updateOptions:u}=(0,i.useDispatch)(a.OPTIONS_STORE_NAME),{allowTracking:E,resolving:_}=(0,i.useSelect)((e=>{const{getOption:t,hasFinishedResolution:o}=e(a.OPTIONS_STORE_NAME);return{allowTracking:"yes"===(t(l.ALLOW_TRACKING_OPTION_NAME)||"no"),resolving:!o("getOption",[l.ALLOW_TRACKING_OPTION_NAME])}})),h=o?(0,d.getAdminLink)(`post.php?post=${o}&action=edit`):(0,d.getAdminLink)("post-new.php?post_type=product");return _?null:(0,n.createElement)(c.MenuItem,{onClick:()=>{E?(u({[p.NEW_PRODUCT_MANAGEMENT_ENABLED_OPTION_NAME]:"no"}),s(),t()):(window.location.href=h,t())},icon:(0,n.createElement)(m,null),iconPosition:"right"},(0,r.__)("Use the classic editor","woocommerce"))}},35141:function(e,t,o){o.r(t),o.d(t,{default:function(){return E}});var n=o(69307),r=o(51393),c=o(55609),i=o(85597),l=o(9818),s=o(98817),u=o(46530),d=o(37798),a=o(80269);const p=e=>{let{onClose:t}=e;const[o]=(0,d.useEntityProp)("postType","product","id");return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(a.b,{onClose:t}),(0,n.createElement)(a.U,{productId:o,onClose:t}))},m=()=>{const[e]=(0,d.useEntityProp)("postType","product","id");return(0,n.createElement)(r.__experimentalProductMVPFeedbackModalContainer,{productId:e})};function E(){const{productId:e}=(0,i.UO)(),t=function(e){const{saveEntityRecord:t}=(0,l.useDispatch)("core"),[o,c]=(0,n.useState)(void 0);return(0,n.useEffect)((()=>{(e?(0,l.resolveSelect)("core").getEntityRecord("postType","product",Number.parseInt(e,10)):t("postType","product",{title:r.AUTO_DRAFT_NAME,status:"auto-draft"})).then((e=>{c(e)})).catch((e=>{throw c(void 0),e}))}),[e]),o}(e);return null!=t&&t.id?(0,n.createElement)(r.__experimentalEditor,{product:t,settings:productBlockEditorSettings||{}}):(0,n.createElement)(c.Spinner,null)}(0,s.registerPlugin)("wc-admin-more-menu",{scope:"woocommerce-product-block-editor",render:()=>(0,n.createElement)(n.Fragment,null,(0,n.createElement)(r.__experimentalWooProductMoreMenuItem,null,(e=>{let{onClose:t}=e;return(0,n.createElement)(p,{onClose:t})})),(0,n.createElement)(u.WooHeaderItem,{name:"product"},(0,n.createElement)(m,null)))}),(0,r.productApiFetchMiddleware)()}}]);
[-] analytics-report-products.js
[edit]
[-] 8544.style.css
[edit]
[-] multichannel-marketing.js
[edit]
[-] analytics-report-orders.js
[edit]
[-] 6743.js
[edit]
[-] 727.style.css
[edit]
[-] 2397.style.css
[edit]
[-] 3994.style.css
[edit]
[-] 4854.style.css
[edit]
[-] product-page.js
[edit]
[-] wcpay-payment-welcome-page.js
[edit]
[-] 4882.style.css
[edit]
[-] analytics-report-coupons.js
[edit]
[-] 7209.js
[edit]
[-] 3628.js
[edit]
[-] 8090.style.css
[edit]
[+]
..
[-] customizable-dashboard.js
[edit]
[-] analytics-report-downloads.js
[edit]
[-] 7708.style.css
[edit]
[-] dashboard.js
[edit]
[-] analytics-report.js
[edit]
[-] store-performance.js
[edit]
[-] 9470.js
[edit]
[-] 3700.style.css
[edit]
[-] analytics-report-stock.js
[edit]
[-] analytics-settings.js
[edit]
[-] 6046.js.LICENSE.txt
[edit]
[-] add-product-page.js
[edit]
[-] profile-wizard.js
[edit]
[-] 2953.style.css
[edit]
[-] 6046.js
[edit]
[-] 504.style.css
[edit]
[-] 8090.js
[edit]
[-] 2563.js
[edit]
[-] 8851.style.css
[edit]
[-] 8597.style.css
[edit]
[-] 2675.js
[edit]
[-] 6732.style.css
[edit]
[-] activity-panels-inbox.js
[edit]
[-] 6125.style.css
[edit]
[-] 9456.style.css
[edit]
[-] analytics-report-categories.js
[edit]
[-] activity-panels-help.js
[edit]
[-] analytics-report-customers.js
[edit]
[-] analytics-report-revenue.js
[edit]
[-] homescreen.js
[edit]
[-] 3628.style.css
[edit]
[-] 4011.style.css
[edit]
[-] 504.js
[edit]
[-] payment-recommendations.js
[edit]
[-] analytics-report-variations.js
[edit]
[-] 9360.style.css
[edit]
[-] edit-product-page.js
[edit]
[-] activity-panels-setup.js
[edit]
[-] dashboard-charts.js
[edit]
[-] 9529.js
[edit]
[-] 5502.style.css
[edit]
[-] store-alerts.js
[edit]
[-] 185.style.css
[edit]
[-] 7387.style.css
[edit]
[-] leaderboards.js
[edit]
[-] 2624.style.css
[edit]
[-] 3118.style.css
[edit]
[-] 2502.style.css
[edit]
[-] shipping-recommendations.js
[edit]
[-] 3576.style.css
[edit]
[-] 3307.style.css
[edit]
[-] 7488.js
[edit]
[-] analytics-report-taxes.js
[edit]
[-] 6824.style.css
[edit]
[-] 9966.style.css
[edit]
[-] 9792.style.css
[edit]