0&&void 0!==arguments[0]?arguments[0]:[],r=[];return(0,i.default)(e,(function(e){Array.isArray(e)?t(e).map((function(t){return r.push(t)})):(0,u.default)(e)?(0,o.default)(e,(function(t,e){!0===t&&r.push(e),r.push(e+"-"+t)})):(0,n.default)(e)&&r.push(e)})),r};e.default=a},function(t,e,r){var n=r(3),o=r(0),u=r(2),i="[object String]";t.exports=function(t){return"string"==typeof t||!o(t)&&u(t)&&n(t)==i}},function(t,e,r){var n=r(6),o=Object.prototype,u=o.hasOwnProperty,i=o.toString,c=n?n.toStringTag:void 0;t.exports=function(t){var e=u.call(t,c),r=t[c];try{t[c]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[c]=r:delete t[c]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n=r(66)();t.exports=n},function(t,e){t.exports=function(t){return function(e,r,n){for(var o=-1,u=Object(e),i=n(e),c=i.length;c--;){var a=i[t?c:++o];if(!1===r(u[a],a,u))break}return e}}},function(t,e){t.exports=function(t,e){for(var r=-1,n=Array(t);++rz.length&&z.push(t)}function I(t,e,r){return null==t?0:function t(e,r,n,o){var c=typeof e;"undefined"!==c&&"boolean"!==c||(e=null);var a=!1;if(null===e)a=!0;else switch(c){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case u:case i:a=!0}}if(a)return n(o,e,""===r?"."+B(e,0):r),1;if(a=0,r=""===r?".":r+":",Array.isArray(e))for(var f=0;f1&&void 0!==arguments[1])||arguments[1];r[t]=e};return 0===t&&n("first-child"),t===e-1&&n("last-child"),(0===t||t%2==0)&&n("even"),1===Math.abs(t%2)&&n("odd"),n("nth-child",t),r}},function(t,e,r){(function(e){var r="Expected a function",n=NaN,o="[object Symbol]",u=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,a=/^0o[0-7]+$/i,f=parseInt,s="object"==typeof e&&e&&e.Object===Object&&e,l="object"==typeof self&&self&&self.Object===Object&&self,p=s||l||Function("return this")(),v=Object.prototype.toString,d=Math.max,y=Math.min,b=function(){return p.Date.now()};function h(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function x(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&v.call(t)==o}(t))return n;if(h(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=h(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(u,"");var r=c.test(t);return r||a.test(t)?f(t.slice(2),r?2:8):i.test(t)?n:+t}t.exports=function(t,e,n){var o,u,i,c,a,f,s=0,l=!1,p=!1,v=!0;if("function"!=typeof t)throw new TypeError(r);function g(e){var r=o,n=u;return o=u=void 0,s=e,c=t.apply(n,r)}function j(t){var r=t-f;return void 0===f||r>=e||r<0||p&&t-s>=i}function _(){var t=b();if(j(t))return m(t);a=setTimeout(_,function(t){var r=e-(t-f);return p?y(r,i-(t-s)):r}(t))}function m(t){return a=void 0,v&&o?g(t):(o=u=void 0,c)}function O(){var t=b(),r=j(t);if(o=arguments,u=this,f=t,r){if(void 0===a)return function(t){return s=t,a=setTimeout(_,e),l?g(t):c}(f);if(p)return a=setTimeout(_,e),g(f)}return void 0===a&&(a=setTimeout(_,e)),c}return e=x(e)||0,h(n)&&(l=!!n.leading,i=(p="maxWait"in n)?d(x(n.maxWait)||0,e):i,v="trailing"in n?!!n.trailing:v),O.cancel=function(){void 0!==a&&clearTimeout(a),s=0,o=f=u=a=void 0},O.flush=function(){return void 0===a?c:m(b())},O}}).call(this,r(34))},function(t,e,r){"use strict";r.r(e);var n=r(16),o=r.n(n),u=function(t){var e=function(){return Math.round(100*Color(t.value).getDistanceLuminosityFrom(Color(t.backgroundColor)))/100},r=function(){var t=e();return 7<=t?"AAA":4.5<=t?"AA":3<=t?"A":"-"},n=o()({default:{selectedColorWrapper:{"padding-bottom":"12px",display:"grid","grid-template-columns":"max-content 1fr","grid-gap":"12px"},selectedColorIndicator:{width:"30px",height:"30px","border-radius":"50%",display:"block","background-color":t.value,"box-shadow":"#000 2px 2px 5px -3px inset"},selectedColorIndicatorWrapper:{display:"flex","align-items":"center","justify-content":"center","flex-direction":"column"},selectedColorIndicatorText:{"font-size":"10px","font-weight":"700","font-family":"Menlo, Consolas, monaco, monospace",width:"max-content"},ratingIndicator:{"border-radius":"3px",padding:"3px 10px","background-color":function(){switch(r()){case"AAA":return"#46B450";case"AA":return"#00a0d2";case"A":return"#ffb900";default:return"#dc3232"}}(),color:"#fff","font-weight":"700","font-size":"10px"},table:{"font-size":"10px",width:"100%","line-height":"1"},td:{padding:"3px"}}});return React.createElement("div",{style:n.selectedColorWrapper},React.createElement("div",{style:n.selectedColorIndicatorWrapper},React.createElement("div",{style:n.selectedColorIndicator}),React.createElement("p",{style:n.selectedColorIndicatorText},t.value)),React.createElement("table",{style:n.table},React.createElement("tr",null,React.createElement("td",{style:n.td},t.i18n.a11yRating),React.createElement("td",{style:n.td},React.createElement("span",{style:n.ratingIndicator},r()))),React.createElement("tr",null,React.createElement("td",{style:n.td},t.i18n.contrastBg),React.createElement("td",{style:n.td},e()))))},i=function(t){var e=o()({default:{controlHead:{},tabsWrapper:{}}});return React.createElement("div",null,React.createElement("div",{style:e.controlHead},React.createElement("label",{id:"label-"+t.customizerSetting.id,className:"customize-control-title"},t.label),React.createElement("span",{className:"description customize-control-description",dangerouslySetInnerHTML:{__html:t.description}}),React.createElement("div",{className:"customize-control-notifications-container",ref:t.setNotificationContainer})),React.createElement("div",{style:e.tabsWrapper},React.createElement(u,t)))};function c(){return(c=Object.assign||function(t){for(var e=1;e