"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["AdminSettingEnableProductDetailPages-admin"],{XyRh:function(e,t,n){n.d(t,{Z:function(){return r}});var a=n("oYSA"),o=n("qZpH"),i=n("ALIA"),l=wp.element.memo((function(e){var t=e.settingName,n=e.onChange,a=e.label,o=e.help,i=e.note,l=e.noticeCSS,s=wp.components,r=s.ToggleControl,c=s.Notice;return React.createElement(React.Fragment,null,React.createElement(r,{checked:t,onChange:n,label:a,help:o,className:i&&t&&"shopwp-toggle-has-note"}),i&&t&&React.createElement(c,{isDismissible:!1,css:l,status:"warning"},i))})),s={name:"1cirfju-noticeCSS",styles:"&&{margin-left:0!important;margin-right:0!important;margin-bottom:3em!important;};label:noticeCSS;"},r=wp.element.memo((function(e){var t=e.settingName,n=void 0!==t&&t,r=e.label,c=void 0!==r&&r,p=e.help,u=void 0!==p&&p,m=e.note,g=void 0!==m&&m,h=e.alsoChange,d=void 0!==h&&h,C=e.disable,y=void 0!==C&&C,S=React.useContext,b=wp.components.Disabled,w=S(i.Z),f=(0,a.Z)(w,2),v=f[0],E=f[1],N=s;function R(){E({type:"UPDATE_SETTING",payload:{key:n,value:!v[n]}}),d&&E({type:"UPDATE_SETTING",payload:{key:d,value:!v[d]}})}return(0,o.tZ)(React.Fragment,null,y?(0,o.tZ)(b,null,(0,o.tZ)(l,{settingName:v[n],onChange:R,label:c,help:u,note:g,noticeCSS:N})):(0,o.tZ)(l,{settingName:v[n],onChange:R,label:c,help:u,note:g,noticeCSS:N}))}))},"/YDF":function(e,t,n){n.r(t);var a=n("XyRh");t.default=function(){return React.createElement(a.Z,{label:wp.i18n.__("Create Product Detail Pages?","shopwp"),alsoChange:"isLiteSync",settingName:"isSyncingPosts",note:wp.i18n.__("Creating product detail pages requires that you manually sync your products from within the plugin's Tools tab. Make sure to do this after you're done here.","shopwp")})}}}]);