"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["AdminSettingPricingShowPriceRange-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,c=wp.components,r=c.ToggleControl,s=c.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(s,{isDismissible:!1,css:l,status:"warning"},i))})),c={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,s=void 0!==r&&r,p=e.help,m=void 0!==p&&p,g=e.note,h=void 0!==g&&g,u=e.alsoChange,d=void 0!==u&&u,w=e.disable,S=void 0!==w&&w,C=React.useContext,b=wp.components.Disabled,f=C(i.Z),v=(0,a.Z)(f,2),R=v[0],y=v[1],E=c;function N(){y({type:"UPDATE_SETTING",payload:{key:n,value:!R[n]}}),d&&y({type:"UPDATE_SETTING",payload:{key:d,value:!R[d]}})}return(0,o.tZ)(React.Fragment,null,S?(0,o.tZ)(b,null,(0,o.tZ)(l,{settingName:R[n],onChange:N,label:s,help:m,note:h,noticeCSS:E})):(0,o.tZ)(l,{settingName:R[n],onChange:N,label:s,help:m,note:h,noticeCSS:E}))}))},"/agC":function(e,t,n){n.r(t);var a=n("XyRh");t.default=function(){return React.createElement(a.Z,{label:wp.i18n.__("Show price range","shopwp"),help:wp.i18n.__("When enabled, shows a product's range of variant prices. E.g., 'From $1.00 - $5.00' instead of just '$1.00'.","shopwp"),settingName:"productsShowPriceRange"})}}}]);