"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["AdminSettingColorPickerCartIconBackgroundColor-admin"],{"31mL":function(o,t,e){var n=e("oYSA"),a=e("ALIA"),l=e("qZpH"),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;"};t.Z=wp.element.memo((function(o){var t=o.settingName,e=o.help,i=void 0!==e&&e,c=o.label,s=void 0!==c&&c,m=React,u=m.useContext,d=m.useState,g=wp.components,C=g.ColorPalette,b=g.BaseControl,k=g.ColorIndicator,h=u(a.Z),v=(0,n.Z)(h,2),x=v[0],w=v[1],f=d(!1),Z=(0,n.Z)(f,2),_=Z[0],y=(Z[1],p),S=r;return(0,l.tZ)(b,{help:i,label:s,className:[_&&"shopwp-is-open","shopwp-color-picker"],css:S},x[t]&&(0,l.tZ)(k,{colorValue:x[t]}),(0,l.tZ)(C,{css:y,colors:[],value:x[t],onChange:function(o){w({type:"UPDATE_SETTING",payload:{key:t,value:o}})},clearable:!1}))}))},N1AT:function(o,t,e){e.r(t);var n=e("31mL");t.default=function(){return React.createElement(n.Z,{settingName:"cartIconBackgroundColor",label:wp.i18n.__("Fixed cart icon background color","shopwp")})}}}]);