1"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["SettingSelectiveSyncProducts-admin"],{"./_tmp/admin/js/app/settings/_common/checkbox-all-control.jsx"(e,t,n){n.d(t,{s:()=>o});var s=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),a=n("./_tmp/admin/js/app/settings/_state/context.js");function o(e){var t=e.label,n=e.disabled,o=void 0!==n&&n,c=e.help,l=void 0!==c&&c,p=e.isChecked,i=void 0===p?null:p,d=e.checkboxSettingName,m=e.alsoTurnOff,r=void 0!==m&&m,u=wp.element,h=u.useContext,k=u.useState,b=u.useEffect,v=wp.components.CheckboxControl,y=h(a.A),f=(0,s.A)(y,2),_=f[0],g=f[1],j=k(!0!==o&&_[d]),T=(0,s.A)(j,2),x=T[0],E=T[1];return b((function(){!1===i&&(E(!1),shopwp.general[d]=!1,g({type:"UPDATE_SETTING",payload:{key:d,value:!1}}))}),[i]),React.createElement(v,{label:t,help:l,checked:x,onChange:function(e){E(e),shopwp.general[d]=e,g({type:"UPDATE_SETTING",payload:{key:d,value:e}}),!1===e&&r&&r.forEach((function(e){g({type:"UPDATE_SETTING",payload:{key:e,value:!1}})}))},disabled:o})}},"./_tmp/admin/js/app/settings/syncing/selective-sync-products.jsx"(e,t,n){n.r(t),n.d(t,{default:()=>o});var s=n("./_tmp/admin/js/app/settings/_common/checkbox-all-control.jsx"),a=n("./_tmp/admin/js/app/admin/_state/hooks.js");const o=function(){var e=(0,a.G)();return React.createElement(s.s,{label:e.t.a.productCommon,checkboxSettingName:"selectiveSyncProducts"})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.