1"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["SettingColorPickerCartIconBackgroundColor-admin"],{"./_tmp/admin/js/app/settings/_common/color-picker.jsx"(o,e,t){t.d(e,{A:()=>i});var n=t("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),a=t("./_tmp/admin/js/app/settings/_state/context.js"),s=t("./node_modules/@emotion/react/dist/emotion-react.browser.esm.js"),r={name:"149qvms-CustomColorPickerCSS",styles:"margin-bottom:0!important;position:relative;.components-base-control__label{left:-9px;color:black;padding:3px 10px;margin-top:15px;position:relative;top:-24px;display:inline-block;}.component-color-indicator{margin-top:38px;right:0!important;}.components-color-palette__custom-color{align-items:center!important;}.components-circular-option-picker__dropdown-link-action .components-button{right:35px;top:1px;position:relative;};label:CustomColorPickerCSS;"},p={name:"13ned5d-stylesInner",styles:"margin-top:0;top:-25px;position:relative;padding-left:0;margin-bottom:-10px;label:stylesInner;"};const i=wp.element.memo((function(o){var e=o.settingName,t=o.help,i=void 0!==t&&t,l=o.label,c=void 0!==l&&l,m=wp.element,d=m.useContext,u=m.useState,g=wp.components,b=g.ColorPalette,k=g.BaseControl,C=g.ColorIndicator,_=d(a.A),x=(0,n.A)(_,2),h=x[0],v=x[1],j=u(!1),w=(0,n.A)(j,2),f=w[0],y=(w[1],p),A=r;return(0,s.Y)(k,{help:i,label:c,className:[f&&"shopwp-is-open","shopwp-color-picker"],css:A},h[e]&&(0,s.Y)(C,{colorValue:h[e]}),(0,s.Y)(b,{css:y,colors:[],value:h[e],onChange:function(o){v({type:"UPDATE_SETTING",payload:{key:e,value:o}})},clearable:!1}))}))},"./_tmp/admin/js/app/settings/cart/cart-icon-background-color.jsx"(o,e,t){t.r(e),t.d(e,{default:()=>s});var n=t("./_tmp/admin/js/app/settings/_common/color-picker.jsx"),a=t("./_tmp/admin/js/app/admin/_state/hooks.js");const s=function(){var o=(0,a.G)();return React.createElement(n.A,{settingName:"cartIconBackgroundColor",label:o.t.a.fixedIconBgColor})}}}]);
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.