1"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["SettingColorPickerCheckout-admin"],{"./_tmp/admin/js/app/settings/_common/color-picker.jsx"(e,o,t){t.d(o,{A:()=>r});var n=t("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=t("./_tmp/admin/js/app/settings/_state/context.js"),a=t("./node_modules/@emotion/react/dist/emotion-react.browser.esm.js"),p={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;"},l={name:"13ned5d-stylesInner",styles:"margin-top:0;top:-25px;position:relative;padding-left:0;margin-bottom:-10px;label:stylesInner;"};const r=wp.element.memo((function(e){var o=e.settingName,t=e.help,r=void 0!==t&&t,i=e.label,c=void 0!==i&&i,m=wp.element,d=m.useContext,u=m.useState,g=wp.components,k=g.ColorPalette,b=g.BaseControl,h=g.ColorIndicator,C=d(s.A),_=(0,n.A)(C,2),x=_[0],v=_[1],w=u(!1),j=(0,n.A)(w,2),y=j[0],f=(j[1],l),S=p;return(0,a.Y)(b,{help:r,label:c,className:[y&&"shopwp-is-open","shopwp-color-picker"],css:S},x[o]&&(0,a.Y)(h,{colorValue:x[o]}),(0,a.Y)(k,{css:f,colors:[],value:x[o],onChange:function(e){v({type:"UPDATE_SETTING",payload:{key:o,value:e}})},clearable:!1}))}))},"./_tmp/admin/js/app/settings/cart/cart-color-checkout.jsx"(e,o,t){t.r(o),t.d(o,{default:()=>s});var n=t("./_tmp/admin/js/app/settings/_common/color-picker.jsx");const s=function(e){var o=e.adminState;return React.createElement(n.A,{settingName:"checkoutColor",label:o.t.a.checkoutBtnBg})}}}]);
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.