"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["AdminSettingProductsImagesShowZoom-admin"],{XyRh:function(e,t,n){n.d(t,{Z:function(){return m}});var o=n("oYSA"),a=n("qZpH"),l=n("ALIA"),i=wp.element.memo((function(e){var t=e.settingName,n=e.onChange,o=e.label,a=e.help,l=e.note,i=e.noticeCSS,s=wp.components,m=s.ToggleControl,c=s.Notice;return React.createElement(React.Fragment,null,React.createElement(m,{checked:t,onChange:n,label:o,help:a,className:l&&t&&"shopwp-toggle-has-note"}),l&&t&&React.createElement(c,{isDismissible:!1,css:i,status:"warning"},l))})),s={name:"1cirfju-noticeCSS",styles:"&&{margin-left:0!important;margin-right:0!important;margin-bottom:3em!important;};label:noticeCSS;"},m=wp.element.memo((function(e){var t=e.settingName,n=void 0!==t&&t,m=e.label,c=void 0!==m&&m,p=e.help,r=void 0!==p&&p,u=e.note,h=void 0!==u&&u,g=e.alsoChange,d=void 0!==g&&g,S=e.disable,w=void 0!==S&&S,C=React.useContext,b=wp.components.Disabled,f=C(l.Z),v=(0,o.Z)(f,2),Z=v[0],y=v[1],N=s;function R(){y({type:"UPDATE_SETTING",payload:{key:n,value:!Z[n]}}),d&&y({type:"UPDATE_SETTING",payload:{key:d,value:!Z[d]}})}return(0,a.tZ)(React.Fragment,null,w?(0,a.tZ)(b,null,(0,a.tZ)(i,{settingName:Z[n],onChange:R,label:c,help:r,note:h,noticeCSS:N})):(0,a.tZ)(i,{settingName:Z[n],onChange:R,label:c,help:r,note:h,noticeCSS:N}))}))},JuaI:function(e,t,n){n.r(t);var o=n("XyRh");t.default=function(){return shopwp.misc.isPro?React.createElement(o.Z,{label:wp.i18n.__("Show image zoom","shopwp"),settingName:"productsImagesShowZoom"}):null}}}]);