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