"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["AdminSettingCartLoadCart-admin"],{XyRh:function(e,t,n){n.d(t,{Z:function(){return c}});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,r=wp.components,c=r.ToggleControl,s=r.Notice;return React.createElement(React.Fragment,null,React.createElement(c,{checked:t,onChange:n,label:a,help:o,className:i&&t&&"shopwp-toggle-has-note"}),i&&t&&React.createElement(s,{isDismissible:!1,css:l,status:"warning"},i))})),r={name:"1cirfju-noticeCSS",styles:"&&{margin-left:0!important;margin-right:0!important;margin-bottom:3em!important;};label:noticeCSS;"},c=wp.element.memo((function(e){var t=e.settingName,n=void 0!==t&&t,c=e.label,s=void 0!==c&&c,p=e.help,m=void 0!==p&&p,u=e.note,h=void 0!==u&&u,d=e.alsoChange,g=void 0!==d&&d,f=e.disable,C=void 0!==f&&f,w=React.useContext,S=wp.components.Disabled,b=w(i.Z),v=(0,a.Z)(b,2),y=v[0],Z=v[1],N=r;function R(){Z({type:"UPDATE_SETTING",payload:{key:n,value:!y[n]}}),g&&Z({type:"UPDATE_SETTING",payload:{key:g,value:!y[g]}})}return(0,o.tZ)(React.Fragment,null,C?(0,o.tZ)(S,null,(0,o.tZ)(l,{settingName:y[n],onChange:R,label:s,help:m,note:h,noticeCSS:N})):(0,o.tZ)(l,{settingName:y[n],onChange:R,label:s,help:m,note:h,noticeCSS:N}))}))},AZuW:function(e,t,n){n.r(t);var a=n("XyRh");t.default=function(){return React.createElement(a.Z,{settingName:"cartLoaded",label:wp.i18n.__("Load cart","shopwp"),help:wp.i18n.__("Determines whether to use the built-in cart. It's recommended to turn this off if you're linking products directly to Shopify.","shopwp")})}}}]);