geno/wp-content/plugins/woocommerce/packages/woocommerce-blocks/build/4124-frontend.js
2024-02-01 11:54:18 +00:00

1 line
No EOL
64 KiB
JavaScript

(self.webpackChunkwebpackWcBlocksJsonp=self.webpackChunkwebpackWcBlocksJsonp||[]).push([[4124],{6751:(e,t,n)=>{"use strict";n.d(t,{Z:()=>re});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),i=Math.abs,a=String.fromCharCode,o=Object.assign;function s(e){return e.trim()}function c(e,t,n){return e.replace(t,n)}function l(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function f(e,t,n){return e.slice(t,n)}function d(e){return e.length}function h(e){return e.length}function p(e,t){return t.push(e),e}var m=1,g=1,v=0,b=0,y=0,w="";function x(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:m,column:g,length:o,return:""}}function k(e,t){return o(x("",null,null,"",null,null,0),e,{length:-e.length},t)}function _(){return y=b>0?u(w,--b):0,g--,10===y&&(g=1,m--),y}function S(){return y=b<v?u(w,b++):0,g++,10===y&&(g=1,m++),y}function A(){return u(w,b)}function E(){return b}function M(e,t){return f(w,e,t)}function C(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R(e){return m=g=1,v=d(w=e),b=0,[]}function F(e){return w="",e}function L(e){return s(M(b-1,T(91===e?e+2:40===e?e+1:e)))}function Z(e){for(;(y=A())&&y<33;)S();return C(e)>2||C(y)>3?"":" "}function N(e,t){for(;--t&&S()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return M(e,E()+(t<6&&32==A()&&32==S()))}function T(e){for(;S();)switch(y){case e:return b;case 34:case 39:34!==e&&39!==e&&T(y);break;case 40:41===e&&T(e);break;case 92:S()}return b}function D(e,t){for(;S()&&e+y!==57&&(e+y!==84||47!==A()););return"/*"+M(t,b-1)+"*"+a(47===e?e:S())}function O(e){for(;!C(A());)S();return M(e,b)}var P="-ms-",H="-moz-",$="-webkit-",z="comm",I="rule",B="decl",W="@keyframes";function j(e,t){for(var n="",r=h(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function G(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case B:return e.return=e.return||e.value;case z:return"";case W:return e.return=e.value+"{"+j(e.children,r)+"}";case I:e.value=e.props.join(",")}return d(n=j(e.children,r))?e.return=e.value+"{"+n+"}":""}function q(e){return F(U("",null,null,null,[""],e=R(e),0,[0],e))}function U(e,t,n,r,i,o,s,f,h){for(var m=0,g=0,v=s,b=0,y=0,w=0,x=1,k=1,M=1,C=0,R="",F=i,T=o,P=r,H=R;k;)switch(w=C,C=S()){case 40:if(108!=w&&58==u(H,v-1)){-1!=l(H+=c(L(C),"&","&\f"),"&\f")&&(M=-1);break}case 34:case 39:case 91:H+=L(C);break;case 9:case 10:case 13:case 32:H+=Z(w);break;case 92:H+=N(E()-1,7);continue;case 47:switch(A()){case 42:case 47:p(X(D(S(),E()),t,n),h);break;default:H+="/"}break;case 123*x:f[m++]=d(H)*M;case 125*x:case 59:case 0:switch(C){case 0:case 125:k=0;case 59+g:-1==M&&(H=c(H,/\f/g,"")),y>0&&d(H)-v&&p(y>32?Y(H+";",r,n,v-1):Y(c(H," ","")+";",r,n,v-2),h);break;case 59:H+=";";default:if(p(P=V(H,t,n,m,g,i,f,R,F=[],T=[],v),o),123===C)if(0===g)U(H,t,P,P,F,o,v,f,T);else switch(99===b&&110===u(H,3)?100:b){case 100:case 108:case 109:case 115:U(e,P,P,r&&p(V(e,P,P,0,0,i,f,R,i,F=[],v),T),i,T,v,f,r?F:T);break;default:U(H,P,P,P,[""],T,0,f,T)}}m=g=y=0,x=M=1,R=H="",v=s;break;case 58:v=1+d(H),y=w;default:if(x<1)if(123==C)--x;else if(125==C&&0==x++&&125==_())continue;switch(H+=a(C),C*x){case 38:M=g>0?1:(H+="\f",-1);break;case 44:f[m++]=(d(H)-1)*M,M=1;break;case 64:45===A()&&(H+=L(S())),b=A(),g=v=d(R=H+=O(E())),C++;break;case 45:45===w&&2==d(H)&&(x=0)}}return o}function V(e,t,n,r,a,o,l,u,d,p,m){for(var g=a-1,v=0===a?o:[""],b=h(v),y=0,w=0,k=0;y<r;++y)for(var _=0,S=f(e,g+1,g=i(w=l[y])),A=e;_<b;++_)(A=s(w>0?v[_]+" "+S:c(S,/&\f/g,v[_])))&&(d[k++]=A);return x(e,t,n,0===a?I:u,d,p,m)}function X(e,t,n){return x(e,t,n,z,a(y),f(e,2,-2),0)}function Y(e,t,n,r){return x(e,t,n,B,f(e,0,r),f(e,r+1,-1),r)}var K=function(e,t,n){for(var r=0,i=0;r=i,i=A(),38===r&&12===i&&(t[n]=1),!C(i);)S();return M(e,b)},J=new WeakMap,Q=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(n))&&!r){J.set(e,!0);for(var i=[],o=function(e,t){return F(function(e,t){var n=-1,r=44;do{switch(C(r)){case 0:38===r&&12===A()&&(t[n]=1),e[n]+=K(b-1,t,n);break;case 2:e[n]+=L(r);break;case 4:if(44===r){e[++n]=58===A()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=a(r)}}while(r=S());return e}(R(e),t))}(t,i),s=n.props,c=0,l=0;c<o.length;c++)for(var u=0;u<s.length;u++,l++)e.props[l]=i[c]?o[c].replace(/&\f/g,s[u]):s[u]+" "+o[c]}}},ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function te(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return $+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return $+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return $+e+H+e+P+e+e;case 6828:case 4268:return $+e+P+e+e;case 6165:return $+e+P+"flex-"+e+e;case 5187:return $+e+c(e,/(\w+).+(:[^]+)/,$+"box-$1$2"+P+"flex-$1$2")+e;case 5443:return $+e+P+"flex-item-"+c(e,/flex-|-self/,"")+e;case 4675:return $+e+P+"flex-line-pack"+c(e,/align-content|flex-|-self/,"")+e;case 5548:return $+e+P+c(e,"shrink","negative")+e;case 5292:return $+e+P+c(e,"basis","preferred-size")+e;case 6060:return $+"box-"+c(e,"-grow","")+$+e+P+c(e,"grow","positive")+e;case 4554:return $+c(e,/([^-])(transform)/g,"$1"+$+"$2")+e;case 6187:return c(c(c(e,/(zoom-|grab)/,$+"$1"),/(image-set)/,$+"$1"),e,"")+e;case 5495:case 3959:return c(e,/(image-set\([^]*)/,$+"$1$`$1");case 4968:return c(c(e,/(.+:)(flex-)?(.*)/,$+"box-pack:$3"+P+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+$+e+e;case 4095:case 3583:case 4068:case 2532:return c(e,/(.+)-inline(.+)/,$+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(d(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return c(e,/(.+:)(.+)-([^]+)/,"$1"+$+"$2-$3$1"+H+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~l(e,"stretch")?te(c(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,d(e)-3-(~l(e,"!important")&&10))){case 107:return c(e,":",":"+$)+e;case 101:return c(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+$+(45===u(e,14)?"inline-":"")+"box$3$1"+$+"$2$3$1"+P+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return $+e+P+c(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return $+e+P+c(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return $+e+P+c(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return $+e+P+e+e}return e}var ne=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case B:e.return=te(e.value,e.length);break;case W:return j([k(e,{value:c(e.value,"@","@"+$)})],r);case I:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return j([k(e,{props:[c(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return j([k(e,{props:[c(t,/:(plac\w+)/,":"+$+"input-$1")]}),k(e,{props:[c(t,/:(plac\w+)/,":-moz-$1")]}),k(e,{props:[c(t,/:(plac\w+)/,P+"input-$1")]})],r)}return""}))}}],re=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i,a,o=e.stylisPlugins||ne,s={},c=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;c.push(e)}));var l,u,f,d,p=[G,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],m=(u=[Q,ee].concat(o,p),f=h(u),function(e,t,n,r){for(var i="",a=0;a<f;a++)i+=u[a](e,t,n,r)||"";return i});a=function(e,t,n,r){l=n,j(q(e?e+"{"+t.styles+"}":t.styles),m),r&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new r({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:a};return g.sheet.hydrate(c),g}},8592:(e,t,n)=>{"use strict";n.d(t,{iv:()=>f,cx:()=>u});var r=n(6751),i=n(6797),a=n(8755);function o(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function s(e,t,n){var r=[],i=(0,a.fp)(e,r,n);return r.length<2?n:i+t(r)}var c=function e(t){for(var n="",r=0;r<t.length;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var o in a="",i)i[o]&&o&&(a&&(a+=" "),a+=o);break;default:a=i}a&&(n&&(n+=" "),n+=a)}}return n},l=function(e){var t=(0,r.Z)({key:"css"});t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=(0,i.O)(n,t.registered,void 0);return(0,a.My)(t,o,!1),t.key+"-"+o.name};return{css:n,cx:function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return s(t.registered,n,c(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var a=(0,i.O)(n,t.registered);o(t,a)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var a=(0,i.O)(n,t.registered),s="animation-"+a.name;return o(t,{name:a.name,styles:"@keyframes "+s+"{"+a.styles+"}"}),s},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:a.fp.bind(null,t.registered),merge:s.bind(null,t.registered,n)}}(),u=(l.flush,l.hydrate,l.cx),f=(l.merge,l.getRegisteredStyles,l.injectGlobal,l.keyframes,l.css);l.sheet,l.cache},8829:(e,t,n)=>{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:()=>r})},6797:(e,t,n)=>{"use strict";n.d(t,{O:()=>p});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=n(8829),a=/[A-Z]|^ms/g,o=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},l=(0,i.Z)((function(e){return s(e)?e:e.replace(a,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(o,(function(e,t,n){return d={name:t,styles:n,next:d},t}))}return 1===r[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function f(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return d={name:n.name,styles:n.styles,next:d},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)d={name:r.name,styles:r.styles,next:d},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=f(e,t,n[i])+";";else for(var a in n){var o=n[a];if("object"!=typeof o)null!=t&&void 0!==t[o]?r+=a+"{"+t[o]+"}":c(o)&&(r+=l(a)+":"+u(a,o)+";");else if(!Array.isArray(o)||"string"!=typeof o[0]||null!=t&&void 0!==t[o[0]]){var s=f(e,t,o);switch(a){case"animation":case"animationName":r+=l(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var d=0;d<o.length;d++)c(o[d])&&(r+=l(a)+":"+u(a,o[d])+";")}return r}(e,t,n);case"function":if(void 0!==e){var i=d,a=n(e);return d=i,f(e,t,a)}}if(null==t)return n;var o=t[n];return void 0!==o?o:n}var d,h=/label:\s*([^\s;\n{]+)\s*(;|$)/g,p=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";d=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,i+=f(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=f(n,t,e[o]),r&&(i+=a[o]);h.lastIndex=0;for(var s,c="";null!==(s=h.exec(i));)c+="-"+s[1];var l=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+c;return{name:l,styles:i,next:d}}},9204:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(7462),i=n(9196),a=n(8829),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,a.Z)((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),c=n(6751),l=n(6797),u=n(7278),f=i.createContext("undefined"!=typeof HTMLElement?(0,c.Z)({key:"css"}):null);f.Provider;var d=i.createContext({}),h=n(8755),p=s,m=function(e){return"theme"!==e},g=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?p:m},v=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},b=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,h.hC)(t,n,r),(0,u.L)((function(){return(0,h.My)(t,n,r)})),null},y=function e(t,n){var a,o,s=t.__emotion_real===t,c=s&&t.__emotion_base||t;void 0!==n&&(a=n.label,o=n.target);var u=v(t,n,s),p=u||g(c),m=!p("as");return function(){var y=arguments,w=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==a&&w.push("label:"+a+";"),null==y[0]||void 0===y[0].raw)w.push.apply(w,y);else{w.push(y[0][0]);for(var x=y.length,k=1;k<x;k++)w.push(y[k],y[0][k])}var _,S=(_=function(e,t,n){var r=m&&e.as||c,a="",s=[],f=e;if(null==e.theme){for(var v in f={},e)f[v]=e[v];f.theme=i.useContext(d)}"string"==typeof e.className?a=(0,h.fp)(t.registered,s,e.className):null!=e.className&&(a=e.className+" ");var y=(0,l.O)(w.concat(s),t.registered,f);a+=t.key+"-"+y.name,void 0!==o&&(a+=" "+o);var x=m&&void 0===u?g(r):p,k={};for(var _ in e)m&&"as"===_||x(_)&&(k[_]=e[_]);return k.className=a,k.ref=n,i.createElement(i.Fragment,null,i.createElement(b,{cache:t,serialized:y,isStringTag:"string"==typeof r}),i.createElement(r,k))},(0,i.forwardRef)((function(e,t){var n=(0,i.useContext)(f);return _(e,n,t)})));return S.displayName=void 0!==a?a:"Styled("+("string"==typeof c?c:c.displayName||c.name||"Component")+")",S.defaultProps=t.defaultProps,S.__emotion_real=S,S.__emotion_base=c,S.__emotion_styles=w,S.__emotion_forwardProp=u,Object.defineProperty(S,"toString",{value:function(){return"."+o}}),S.withComponent=function(t,i){return e(t,(0,r.Z)({},n,i,{shouldForwardProp:v(S,i,!0)})).apply(void 0,w)},S}}},7278:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(9196),i=!!r.useInsertionEffect&&r.useInsertionEffect,a=i||function(e){return e()};i||r.useLayoutEffect},8755:(e,t,n)=>{"use strict";function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}n.d(t,{My:()=>a,fp:()=>r,hC:()=>i});var i=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},a=function(e,t,n){i(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+r:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}}},9588:e=>{e.exports=function(e,t){var n,r,i=0;function a(){var a,o,s=n,c=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(o=0;o<c;o++)if(s.args[o]!==arguments[o]){s=s.next;continue e}return s!==n&&(s===r&&(r=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=n,s.prev=null,n.prev=s,n=s),s.val}s=s.next}for(a=new Array(c),o=0;o<c;o++)a[o]=arguments[o];return s={args:a,val:e.apply(null,a)},n?(n.prev=s,s.next=n):r=s,i===t.maxSize?(r=r.prev).next=null:i++,n=s,s.val}return t=t||{},a.clear=function(){n=null,r=null,i=0},a}},2444:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(4184),i=n.n(r);function a(e){return"appear"===e?"top":"left"}function o(e){if("loading"===e.type)return i()("components-animate__loading");const{type:t,origin:n=a(t)}=e;if("appear"===t){const[e,t="center"]=n.split(" ");return i()("components-animate__appear",{["is-from-"+t]:"center"!==t,["is-from-"+e]:"middle"!==e})}return"slide-in"===t?i()("components-animate__slide-in","is-from-"+n):void 0}},4662:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r=n(9307),i=n(4184),a=n.n(i),o=n(7593),s=n(9204),c=n(2819);const l={"default.fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif","default.fontSize":"13px","helpText.fontSize":"12px",mobileTextMinFontSize:"16px"};function u(e){return(0,c.get)(l,e,"")}var f=n(1604),d=n(2619);const h=(0,s.Z)("div",{target:"e1puf3u3"})("font-family:",u("default.fontFamily"),";font-size:",u("default.fontSize"),";"),p=(0,s.Z)("div",{target:"e1puf3u2"})("margin-bottom:",(0,d.D)(2),";.components-panel__row &{margin-bottom:inherit;}"),m=(0,s.Z)("label",{target:"e1puf3u1"})("display:inline-block;margin-bottom:",(0,d.D)(2),";"),g=(0,s.Z)("p",{target:"e1puf3u0"})("font-size:",u("helpText.fontSize"),";font-style:normal;color:",f.DM.mediumGray.text,";");function v({id:e,label:t,hideLabelFromVision:n,help:i,className:s,children:c}){return(0,r.createElement)(h,{className:a()("components-base-control",s)},(0,r.createElement)(p,{className:"components-base-control__field"},t&&e&&(n?(0,r.createElement)(o.Z,{as:"label",htmlFor:e},t):(0,r.createElement)(m,{className:"components-base-control__label",htmlFor:e},t)),t&&!e&&(n?(0,r.createElement)(o.Z,{as:"label"},t):(0,r.createElement)(v.VisualLabel,null,t)),c),!!i&&(0,r.createElement)(g,{id:e+"__help",className:"components-base-control__help"},i))}v.VisualLabel=({className:e,children:t})=>(e=a()("components-base-control__label",e),(0,r.createElement)("span",{className:e},t));const b=v},9685:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7462),i=n(9307),a=n(4184),o=n.n(a),s=n(2819),c=n(7180),l=n.n(c),u=n(9178),f=n(7392),d=n(7593);const h=["onMouseDown","onClick"],p=(0,i.forwardRef)((function(e,t){const{href:n,target:a,isSmall:c,isPressed:p,isBusy:m,isDestructive:g,className:v,disabled:b,icon:y,iconPosition:w="left",iconSize:x,showTooltip:k,tooltipPosition:_,shortcut:S,label:A,children:E,text:M,variant:C,__experimentalIsFocusable:R,describedBy:F,...L}=function({isDefault:e,isPrimary:t,isSecondary:n,isTertiary:r,isLink:i,variant:a,...o}){let s=a;var c,u,f,d,h;return t&&(null!==(c=s)&&void 0!==c||(s="primary")),r&&(null!==(u=s)&&void 0!==u||(s="tertiary")),n&&(null!==(f=s)&&void 0!==f||(s="secondary")),e&&(l()("Button isDefault prop",{since:"5.4",alternative:'variant="secondary"'}),null!==(d=s)&&void 0!==d||(s="secondary")),i&&(null!==(h=s)&&void 0!==h||(s="link")),{...o,variant:s}}(e),Z=o()("components-button",v,{"is-secondary":"secondary"===C,"is-primary":"primary"===C,"is-small":c,"is-tertiary":"tertiary"===C,"is-pressed":p,"is-busy":m,"is-link":"link"===C,"is-destructive":g,"has-text":!!y&&!!E,"has-icon":!!y}),N=b&&!R,T=void 0===n||N?"button":"a",D="a"===T?{href:n,target:a}:{type:"button",disabled:N,"aria-pressed":p};if(b&&R){D["aria-disabled"]=!0;for(const e of h)L[e]=e=>{e.stopPropagation(),e.preventDefault()}}const O=!N&&(k&&A||S||!!A&&(!E||(0,s.isArray)(E)&&!E.length)&&!1!==k),P=F?(0,s.uniqueId)():null,H=L["aria-describedby"]||P,$=(0,i.createElement)(T,(0,r.Z)({},D,L,{className:Z,"aria-label":L["aria-label"]||A,"aria-describedby":H,ref:t}),y&&"left"===w&&(0,i.createElement)(f.Z,{icon:y,size:x}),M&&(0,i.createElement)(i.Fragment,null,M),y&&"right"===w&&(0,i.createElement)(f.Z,{icon:y,size:x}),E);return O?(0,i.createElement)(i.Fragment,null,(0,i.createElement)(u.Z,{text:F||A,shortcut:S,position:_},$),F&&(0,i.createElement)(d.Z,null,(0,i.createElement)("span",{id:P},F))):(0,i.createElement)(i.Fragment,null,$,F&&(0,i.createElement)(d.Z,null,(0,i.createElement)("span",{id:P},F)))}))},6658:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7462),i=n(9307);const a=function({icon:e,className:t,...n}){const a=["dashicon","dashicons","dashicons-"+e,t].filter(Boolean).join(" ");return(0,i.createElement)("span",(0,r.Z)({className:a},n))}},675:(e,t,n)=>{"use strict";n.d(t,{G:()=>i,f:()=>a});var r=n(9307);const i=(0,r.createContext)({flexItemDisplay:void 0}),a=()=>(0,r.useContext)(i)},1685:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(1092),i=n(2506);const a=(0,r.L)({as:"div",useHook:i.i,name:"FlexItem"})},2506:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r=n(8592),i=n(9179),a=n(675),o=n(5306);function s(e){const{className:t,display:n,isBlock:s=!1,...c}=(0,i.y)(e,"FlexItem"),l={},u=(0,a.f)().flexItemDisplay;return l.Base=(0,r.iv)({display:n||u},"",""),{...c,className:(0,r.cx)(o.ck,l.Base,s&&o.Ge,t)}}},2875:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(7462),i=n(9307),a=n(3019),o=n(8592),s=n(7180),c=n.n(s),l=n(9179);const u=["40em","52em","64em"];var f=n(2619),d=n(5306);function h(e){const{align:t="center",className:n,direction:r="row",expanded:a=!0,gap:s=2,justify:h="space-between",wrap:p=!1,...m}=(0,l.y)(function({isReversed:e,...t}){return void 0!==e?(c()("Flex isReversed",{alternative:'Flex direction="row-reverse" or "column-reverse"',since:"5.9"}),{...t,direction:e?"row-reverse":"row"}):t}(e),"Flex"),g=function(e,t={}){const n=((e={})=>{const{defaultIndex:t=0}=e;if("number"!=typeof t)throw new TypeError(`Default breakpoint index should be a number. Got: ${t}, ${typeof t}`);if(t<0||t>u.length-1)throw new RangeError(`Default breakpoint index out of range. Theme has ${u.length} breakpoints, got index ${t}`);const[n,r]=(0,i.useState)(t);return(0,i.useEffect)((()=>{const e=()=>{const e=u.filter((e=>"undefined"!=typeof window&&window.matchMedia(`screen and (min-width: ${e})`).matches)).length;n!==e&&r(e)};return e(),"undefined"!=typeof document&&document.addEventListener("resize",e),()=>{"undefined"!=typeof document&&document.removeEventListener("resize",e)}}),[n]),n})(t);if(!Array.isArray(e)&&"function"!=typeof e)return e;const r=e||[];return r[n>=r.length?r.length-1:n]}(Array.isArray(r)?r:[r]),v="string"==typeof g&&!!g.includes("column"),b="string"==typeof g&&g.includes("reverse");return{...m,className:(0,i.useMemo)((()=>{const e={};return e.Base=(0,o.iv)({alignItems:v?"normal":t,flexDirection:g,flexWrap:p?"wrap":void 0,justifyContent:h,height:v&&a?"100%":void 0,width:!v&&a?"100%":void 0,marginBottom:p?`calc(${(0,f.D)(s)} * -1)`:void 0},"",""),e.Items=(0,o.iv)({"> * + *:not(marquee)":{marginTop:v?(0,f.D)(s):void 0,marginRight:!v&&b?(0,f.D)(s):void 0,marginLeft:v||b?void 0:(0,f.D)(s)}},"",""),e.WrapItems=(0,o.iv)({"> *:not(marquee)":{marginBottom:(0,f.D)(s),marginLeft:!v&&b?(0,f.D)(s):void 0,marginRight:v||b?void 0:(0,f.D)(s)},"> *:last-child:not(marquee)":{marginLeft:!v&&b?0:void 0,marginRight:v||b?void 0:0}},"",""),(0,o.cx)(d.kC,e.Base,p?e.WrapItems:e.Items,v?d.bg:d.h,n)}),[t,n,g,a,s,v,b,h,p]),isColumn:v}}var p=n(675),m=n(2106);const g=(0,a.Iq)((function(e,t){const{children:n,isColumn:a,...o}=h(e);return(0,i.createElement)(p.G.Provider,{value:{flexItemDisplay:a?"block":void 0}},(0,i.createElement)(m.Z,(0,r.Z)({},o,{ref:t}),n))}),"Flex")},5306:(e,t,n)=>{"use strict";n.d(t,{Ge:()=>o,bg:()=>s,ck:()=>a,h:()=>c,kC:()=>i});var r=n(8592);const i=(0,r.iv)({name:"zjik7",styles:"display:flex"}),a=(0,r.iv)({name:"qgaee5",styles:"display:block;max-height:100%;max-width:100%;min-height:0;min-width:0"}),o=(0,r.iv)({name:"82a6rk",styles:"flex:1"}),s=(0,r.iv)({name:"13nosa1",styles:">*{min-height:0;}"}),c=(0,r.iv)({name:"1pwxzk4",styles:">*{min-width:0;}"})},7392:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7462),i=n(9307),a=n(444),o=n(6658);const s=function({icon:e=null,size:t=24,...n}){if("string"==typeof e)return(0,i.createElement)(o.Z,(0,r.Z)({icon:e},n));if((0,i.isValidElement)(e)&&o.Z===e.type)return(0,i.cloneElement)(e,{...n});if("function"==typeof e)return e.prototype instanceof i.Component?(0,i.createElement)(e,{size:t,...n}):e({size:t,...n});if(e&&("svg"===e.type||e.type===a.SVG)){const r={width:t,height:t,...e.props,...n};return(0,i.createElement)(a.SVG,r)}return(0,i.isValidElement)(e)?(0,i.cloneElement)(e,{size:t,...n}):e}},4638:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var r=n(7462),i=n(9307),a=n(4184),o=n.n(a),s=n(5904),c=n(7180),l=n.n(c),u=n(4333),f=n(4787),d=n(4103),h=n(9685),p=n(9753),m=n(1515),g=n(6580),v=n(2444);const b="Popover";function y(e,t){const{paddingTop:n,paddingBottom:r,paddingLeft:i,paddingRight:a}=(o=t).ownerDocument.defaultView.getComputedStyle(o);var o;const s=n?parseInt(n,10):0,c=r?parseInt(r,10):0,l=i?parseInt(i,10):0,u=a?parseInt(a,10):0;return{x:e.left+l,y:e.top+s,width:e.width-l-u,height:e.height-s-c,left:e.left+l,right:e.right-u,top:e.top+s,bottom:e.bottom-c}}function w(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function x(e,t,n=""){e.style[t]!==n&&(e.style[t]=n)}function k(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}const _=(0,i.forwardRef)((({headerTitle:e,onClose:t,children:n,className:a,noArrow:c=!0,isAlternate:_,position:S="bottom right",range:A,focusOnMount:E="firstElement",anchorRef:M,shouldAnchorIncludePadding:C,anchorRect:R,getAnchorRect:F,expandOnMobile:L,animate:Z=!0,onClickOutside:N,onFocusOutside:T,__unstableStickyBoundaryElement:D,__unstableSlotName:O=b,__unstableObserveElement:P,__unstableBoundaryParent:H,__unstableForcePosition:$,__unstableForceXAlignment:z,...I},B)=>{const W=(0,i.useRef)(null),j=(0,i.useRef)(null),G=(0,i.useRef)(),q=(0,u.useViewportMatch)("medium","<"),[U,V]=(0,i.useState)(),X=(0,m.Z)(O),Y=L&&q,[K,J]=(0,u.useResizeObserver)();c=Y||c,(0,i.useLayoutEffect)((()=>{if(Y)return k(G.current,"is-without-arrow",c),k(G.current,"is-alternate",_),w(G.current,"data-x-axis"),w(G.current,"data-y-axis"),x(G.current,"top"),x(G.current,"left"),x(j.current,"maxHeight"),void x(j.current,"maxWidth");const e=()=>{if(!G.current||!j.current)return;let e=function(e,t,n,r=!1,i,a){if(t)return t;if(n){if(!e.current)return;const t=n(e.current);return(0,d.cS)(t,t.ownerDocument||e.current.ownerDocument,a)}if(!1!==r){if(!(r&&window.Range&&window.Element&&window.DOMRect))return;if("function"==typeof(null==r?void 0:r.cloneRange))return(0,d.cS)((0,s.getRectangleFromRange)(r),r.endContainer.ownerDocument,a);if("function"==typeof(null==r?void 0:r.getBoundingClientRect)){const e=(0,d.cS)(r.getBoundingClientRect(),r.ownerDocument,a);return i?e:y(e,r)}const{top:e,bottom:t}=r,n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),c=(0,d.cS)(new window.DOMRect(n.left,n.top,n.width,o.bottom-n.top),e.ownerDocument,a);return i?c:y(c,r)}if(!e.current)return;const{parentNode:o}=e.current,c=o.getBoundingClientRect();return i?c:y(c,o)}(W,R,F,M,C,G.current);if(!e)return;const{offsetParent:t,ownerDocument:n}=G.current;let r,i=0;if(t&&t!==n.body){const n=t.getBoundingClientRect();i=n.top,e=new window.DOMRect(e.left-n.left,e.top-n.top,e.width,e.height)}var a;H&&(r=null===(a=G.current.closest(".popover-slot"))||void 0===a?void 0:a.parentNode);const o=J.height?J:j.current.getBoundingClientRect(),{popoverTop:l,popoverLeft:u,xAxis:f,yAxis:h,contentHeight:p,contentWidth:m}=(0,d.sw)(e,o,S,D,G.current,i,r,$,z);"number"==typeof l&&"number"==typeof u&&(x(G.current,"top",l+"px"),x(G.current,"left",u+"px")),k(G.current,"is-without-arrow",c||"center"===f&&"middle"===h),k(G.current,"is-alternate",_),w(G.current,"data-x-axis",f),w(G.current,"data-y-axis",h),x(j.current,"maxHeight","number"==typeof p?p+"px":""),x(j.current,"maxWidth","number"==typeof m?m+"px":""),V(({left:"right",right:"left"}[f]||"center")+" "+({top:"bottom",bottom:"top"}[h]||"middle"))};e();const{ownerDocument:t}=G.current,{defaultView:n}=t,r=n.setInterval(e,500);let i;const a=()=>{n.cancelAnimationFrame(i),i=n.requestAnimationFrame(e)};n.addEventListener("click",a),n.addEventListener("resize",e),n.addEventListener("scroll",e,!0);const o=function(e){if(e)return e.endContainer?e.endContainer.ownerDocument:e.top?e.top.ownerDocument:e.ownerDocument}(M);let l;return o&&o!==t&&(o.defaultView.addEventListener("resize",e),o.defaultView.addEventListener("scroll",e,!0)),P&&(l=new n.MutationObserver(e),l.observe(P,{attributes:!0})),()=>{n.clearInterval(r),n.removeEventListener("resize",e),n.removeEventListener("scroll",e,!0),n.removeEventListener("click",a),n.cancelAnimationFrame(i),o&&o!==t&&(o.defaultView.removeEventListener("resize",e),o.defaultView.removeEventListener("scroll",e,!0)),l&&l.disconnect()}}),[Y,R,F,M,C,S,J,D,P,H]);const Q=(e,n)=>{if("focus-outside"===e&&T)T(n);else if("focus-outside"===e&&N){const e=new window.MouseEvent("click");Object.defineProperty(e,"target",{get:()=>n.relatedTarget}),l()("Popover onClickOutside prop",{since:"5.3",alternative:"onFocusOutside"}),N(e)}else t&&t()},[ee,te]=(0,u.__experimentalUseDialog)({focusOnMount:E,__unstableOnClose:Q,onClose:Q}),ne=(0,u.useMergeRefs)([G,ee,B]),re=Boolean(Z&&U)&&(0,v.T)({type:"appear",origin:U});let ie=(0,i.createElement)("div",(0,r.Z)({className:o()("components-popover",a,re,{"is-expanded":Y,"is-without-arrow":c,"is-alternate":_})},I,{ref:ne},te,{tabIndex:"-1"}),Y&&(0,i.createElement)(p.Z,null),Y&&(0,i.createElement)("div",{className:"components-popover__header"},(0,i.createElement)("span",{className:"components-popover__header-title"},e),(0,i.createElement)(h.Z,{className:"components-popover__close",icon:f.Z,onClick:t})),(0,i.createElement)("div",{ref:j,className:"components-popover__content"},(0,i.createElement)("div",{style:{position:"relative"}},K,n)));return X.ref&&(ie=(0,i.createElement)(g.de,{name:O},ie)),M||R?ie:(0,i.createElement)("span",{ref:W},ie)}));_.Slot=(0,i.forwardRef)((function({name:e=b},t){return(0,i.createElement)(g.g7,{bubblesVirtually:!0,name:e,className:"popover-slot",ref:t})}));const S=_},4103:(e,t,n)=>{"use strict";n.d(t,{cS:()=>o,sw:()=>a});var r=n(5736);const i=10;function a(e,t,n="top",a,o,s,c,l,u){const[f,d="center",h]=n.split(" "),p=function(e,t,n,r,a,o,s,c){const{height:l}=t;if(a){const t=a.getBoundingClientRect().top+l-s;if(e.top<=t)return{yAxis:n,popoverTop:Math.min(e.bottom,t)}}let u=e.top+e.height/2;"bottom"===r?u=e.bottom:"top"===r&&(u=e.top);const f={popoverTop:u,contentHeight:(u-l/2>0?l/2:u)+(u+l/2>window.innerHeight?window.innerHeight-u:l/2)},d={popoverTop:e.top,contentHeight:e.top-i-l>0?l:e.top-i},h={popoverTop:e.bottom,contentHeight:e.bottom+i+l>window.innerHeight?window.innerHeight-i-e.bottom:l};let p,m=n,g=null;if(!a&&!c)if("middle"===n&&f.contentHeight===l)m="middle";else if("top"===n&&d.contentHeight===l)m="top";else if("bottom"===n&&h.contentHeight===l)m="bottom";else{m=d.contentHeight>h.contentHeight?"top":"bottom";const e="top"===m?d.contentHeight:h.contentHeight;g=e!==l?e:null}return p="middle"===m?f.popoverTop:"top"===m?d.popoverTop:h.popoverTop,{yAxis:m,popoverTop:p,contentHeight:g}}(e,t,f,h,a,0,s,l),m=function(e,t,n,i,a,o,s,c,l){const{width:u}=t;"left"===n&&(0,r.isRTL)()?n="right":"right"===n&&(0,r.isRTL)()&&(n="left"),"left"===i&&(0,r.isRTL)()?i="right":"right"===i&&(0,r.isRTL)()&&(i="left");const f=Math.round(e.left+e.width/2),d={popoverLeft:f,contentWidth:(f-u/2>0?u/2:f)+(f+u/2>window.innerWidth?window.innerWidth-f:u/2)};let h=e.left;"right"===i?h=e.right:"middle"===o||l||(h=f);let p=e.right;"left"===i?p=e.left:"middle"===o||l||(p=f);const m={popoverLeft:h,contentWidth:h-u>0?u:h},g={popoverLeft:p,contentWidth:p+u>window.innerWidth?window.innerWidth-p:u};let v,b=n,y=null;if(!a&&!c)if("center"===n&&d.contentWidth===u)b="center";else if("left"===n&&m.contentWidth===u)b="left";else if("right"===n&&g.contentWidth===u)b="right";else{b=m.contentWidth>g.contentWidth?"left":"right";const e="left"===b?m.contentWidth:g.contentWidth;u>window.innerWidth&&(y=window.innerWidth),e!==u&&(b="center",d.popoverLeft=window.innerWidth/2)}if(v="center"===b?d.popoverLeft:"left"===b?m.popoverLeft:g.popoverLeft,s){const e=s.getBoundingClientRect();v=Math.min(v,e.right-u),(0,r.isRTL)()||(v=Math.max(v,0))}return{xAxis:b,popoverLeft:v,contentWidth:y}}(e,t,d,h,a,p.yAxis,c,l,u);return{...m,...p}}function o(e,t,n){const{defaultView:r}=t,{frameElement:i}=r;if(!i||t===n.ownerDocument)return e;const a=i.getBoundingClientRect();return new r.DOMRect(e.left+a.left,e.top+a.top,e.width,e.height)}},9753:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(9307);let i=0;function a(e){const t=document.scrollingElement||document.body;e&&(i=t.scrollTop);const n=e?"add":"remove";t.classList[n]("lockscroll"),document.documentElement.classList[n]("lockscroll"),e||(t.scrollTop=i)}let o=0;function s(){return(0,r.useEffect)((()=>(0===o&&a(!0),++o,()=>{1===o&&a(!1),--o})),[]),null}},3586:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(2819);const a=function({shortcut:e,className:t}){if(!e)return null;let n,a;return(0,i.isString)(e)&&(n=e),(0,i.isObject)(e)&&(n=e.display,a=e.ariaLabel),(0,r.createElement)("span",{className:t,"aria-label":a},n)}},4160:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9307),i=n(1515);function a(){const[,e]=(0,r.useState)({}),t=(0,r.useRef)(!0);return(0,r.useEffect)((()=>()=>{t.current=!1}),[]),()=>{t.current&&e({})}}function o({name:e,children:t}){const n=(0,i.Z)(e),o=(0,r.useRef)({rerender:a()});return(0,r.useEffect)((()=>(n.registerFill(o),()=>{n.unregisterFill(o)})),[n.registerFill,n.unregisterFill]),n.ref&&n.ref.current?("function"==typeof t&&(t=t(n.fillProps)),(0,r.createPortal)(t,n.ref.current)):null}},159:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9307);n(2560);const i=(0,r.createContext)({slots:{},fills:{},registerSlot:()=>{"undefined"!=typeof process&&process.env},updateSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{}})},9934:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7462),i=n(9307),a=n(4333),o=n(159);const s=(0,i.forwardRef)((function({name:e,fillProps:t={},as:n="div",...s},c){const l=(0,i.useContext)(o.Z),u=(0,i.useRef)();return(0,i.useLayoutEffect)((()=>(l.registerSlot(e,u,t),()=>{l.unregisterSlot(e,u)})),[l.registerSlot,l.unregisterSlot,e]),(0,i.useLayoutEffect)((()=>{l.updateSlot(e,t)})),(0,i.createElement)(n,(0,r.Z)({ref:(0,a.useMergeRefs)([c,u])},s))}))},1515:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(159);function a(e){const t=(0,r.useContext)(i.Z),n=t.slots[e]||{},a=t.fills[e],o=(0,r.useMemo)((()=>a||[]),[a]);return{...n,updateSlot:(0,r.useCallback)((n=>{t.updateSlot(e,n)}),[e,t.updateSlot]),unregisterSlot:(0,r.useCallback)((n=>{t.unregisterSlot(e,n)}),[e,t.unregisterSlot]),fills:o,registerFill:(0,r.useCallback)((n=>{t.registerFill(e,n)}),[e,t.registerFill]),unregisterFill:(0,r.useCallback)((n=>{t.unregisterFill(e,n)}),[e,t.unregisterFill])}}},566:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=(0,n(9307).createContext)({registerSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},getSlot:()=>{},getFills:()=>{},subscribe:()=>{}})},8198:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(7462),i=n(9307),a=n(2819),o=n(566),s=n(2009);function c({name:e,children:t,registerFill:n,unregisterFill:r}){const o=(0,s.Z)(e),c=(0,i.useRef)({name:e,children:t});return(0,i.useLayoutEffect)((()=>(n(e,c.current),()=>r(e,c.current))),[]),(0,i.useLayoutEffect)((()=>{c.current.children=t,o&&o.forceUpdate()}),[t]),(0,i.useLayoutEffect)((()=>{e!==c.current.name&&(r(c.current.name,c.current),c.current.name=e,n(e,c.current))}),[e]),o&&o.node?((0,a.isFunction)(t)&&(t=t(o.props.fillProps)),(0,i.createPortal)(t,o.node)):null}const l=e=>(0,i.createElement)(o.Z.Consumer,null,(({registerFill:t,unregisterFill:n})=>(0,i.createElement)(c,(0,r.Z)({},e,{registerFill:t,unregisterFill:n}))))},6580:(e,t,n)=>{"use strict";n.d(t,{de:()=>l,g7:()=>u});var r=n(7462),i=n(9307),a=n(8198),o=n(8612),s=n(4160),c=n(9934);function l(e){return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(a.Z,e),(0,i.createElement)(s.Z,e))}const u=(0,i.forwardRef)((({bubblesVirtually:e,...t},n)=>e?(0,i.createElement)(c.Z,(0,r.Z)({},t,{ref:n})):(0,i.createElement)(o.Z,t)))},8612:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(7462),i=n(9307),a=n(2819),o=n(566);class s extends i.Component{constructor(){super(...arguments),this.isUnmounted=!1,this.bindNode=this.bindNode.bind(this)}componentDidMount(){const{registerSlot:e}=this.props;e(this.props.name,this)}componentWillUnmount(){const{unregisterSlot:e}=this.props;this.isUnmounted=!0,e(this.props.name,this)}componentDidUpdate(e){const{name:t,unregisterSlot:n,registerSlot:r}=this.props;e.name!==t&&(n(e.name),r(t,this))}bindNode(e){this.node=e}forceUpdate(){this.isUnmounted||super.forceUpdate()}render(){const{children:e,name:t,fillProps:n={},getFills:r}=this.props,o=(0,a.map)(r(t,this),(e=>{const t=(0,a.isFunction)(e.children)?e.children(n):e.children;return i.Children.map(t,((e,t)=>{if(!e||(0,a.isString)(e))return e;const n=e.key||t;return(0,i.cloneElement)(e,{key:n})}))})).filter((0,a.negate)(i.isEmptyElement));return(0,i.createElement)(i.Fragment,null,(0,a.isFunction)(e)?e(o):o)}}const c=e=>(0,i.createElement)(o.Z.Consumer,null,(({registerSlot:t,unregisterSlot:n,getFills:a})=>(0,i.createElement)(s,(0,r.Z)({},e,{registerSlot:t,unregisterSlot:n,getFills:a}))))},2009:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(566);const a=e=>{const{getSlot:t,subscribe:n}=(0,r.useContext)(i.Z),[a,o]=(0,r.useState)(t(e));return(0,r.useEffect)((()=>(o(t(e)),n((()=>{o(t(e))})))),[e]),a}},9178:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(9307),i=n(2819),a=n(4333),o=n(4638),s=n(3586);const c=(0,r.createElement)("div",{className:"event-catcher"}),l=({eventHandlers:e,child:t,childrenWithPopover:n})=>(0,r.cloneElement)((0,r.createElement)("span",{className:"disabled-element-wrapper"},(0,r.cloneElement)(c,e),(0,r.cloneElement)(t,{children:n}),","),e),u=({child:e,eventHandlers:t,childrenWithPopover:n})=>(0,r.cloneElement)(e,{...t,children:n}),f=(e,t,n)=>{if(1!==r.Children.count(e))return;const i=r.Children.only(e);"function"==typeof i.props[t]&&i.props[t](n)},d=function({children:e,position:t,text:n,shortcut:c}){const[d,h]=(0,r.useState)(!1),[p,m]=(0,r.useState)(!1),g=(0,a.useDebounce)(m,700),v=t=>{f(e,"onMouseDown",t),document.addEventListener("mouseup",w),h(!0)},b=t=>{f(e,"onMouseUp",t),document.removeEventListener("mouseup",w),h(!1)},y=e=>"mouseUp"===e?b:"mouseDown"===e?v:void 0,w=y("mouseUp"),x=(t,n)=>r=>{if(f(e,t,r),r.currentTarget.disabled)return;if("focus"===r.type&&d)return;g.cancel();const a=(0,i.includes)(["focus","mouseenter"],r.type);a!==p&&(n?g(a):m(a))},k=()=>{g.cancel(),document.removeEventListener("mouseup",w)};if((0,r.useEffect)((()=>k),[]),1!==r.Children.count(e))return e;const _={onMouseEnter:x("onMouseEnter",!0),onMouseLeave:x("onMouseLeave"),onClick:x("onClick"),onFocus:x("onFocus"),onBlur:x("onBlur"),onMouseDown:y("mouseDown")},S=r.Children.only(e),{children:A,disabled:E}=S.props,M=E?l:u,C=(({grandchildren:e,isOver:t,position:n,text:i,shortcut:a})=>(0,r.concatChildren)(e,t&&(0,r.createElement)(o.Z,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},i,(0,r.createElement)(s.Z,{className:"components-tooltip__shortcut",shortcut:a}))))({grandchildren:A,isOver:p,position:t,text:n,shortcut:c});return M({child:S,eventHandlers:_,childrenWithPopover:C})}},1765:(e,t,n)=>{"use strict";n.d(t,{_3:()=>i,cT:()=>r,rE:()=>a});const r="data-wp-component",i="data-wp-c16t",a="__contextSystemKey__"},1282:(e,t,n)=>{"use strict";n.d(t,{l:()=>a});var r=n(2819),i=n(9588);const a=n.n(i)()((function(e){return`components-${(0,r.kebabCase)(e)}`}))},9179:(e,t,n)=>{"use strict";n.d(t,{y:()=>f});var r=n(8592),i=(n(2560),n(9307)),a=n(2819);const o=(0,i.createContext)({}),s=()=>(0,i.useContext)(o);function c({value:e}){const t=s(),n=(0,i.useRef)(e);return function(t,r){const o=(0,i.useRef)(!1);(0,i.useEffect)((()=>{o.current?(0,a.isEqual)(n.current,e)&&n.current!==e&&"undefined"!=typeof process&&process.env:o.current=!0}),r)}(0,[e]),(0,i.useMemo)((()=>(0,a.merge)((0,a.cloneDeep)(t),e)),[t,e])}(0,i.memo)((({children:e,value:t})=>{const n=c({value:t});return(0,i.createElement)(o.Provider,{value:n},e)}));var l=n(1765),u=n(1282);function f(e,t){const n=s();void 0===t&&"undefined"!=typeof process&&process.env;const i=(null==n?void 0:n[t])||{},a={[l._3]:!0,...(o=t,{[l.cT]:o})};var o;const{_overrides:c,...f}=i,d=Object.entries(f).length?Object.assign({},f,e):e,h=(0,r.cx)((0,u.l)(t),e.className),p="function"==typeof d.renderChildren?d.renderChildren(d):d.children;for(const e in d)a[e]=d[e];for(const e in c)a[e]=c[e];return a.children=p,a.className=h,a}},1092:(e,t,n)=>{"use strict";n.d(t,{L:()=>s});var r=n(7462),i=n(9307),a=n(3019),o=n(2106);const s=({as:e,name:t,useHook:n,memo:s=!1})=>{function c(t,a){const s=n(t);return(0,i.createElement)(o.Z,(0,r.Z)({as:e||"div"},s,{ref:a}))}return c.displayName=t,(0,a.Iq)(c,t,{memo:s})}},2619:(e,t,n)=>{"use strict";n.d(t,{D:()=>i});const r="4px";function i(e){var t,n;if(void 0===e)return;if(!e)return"0";const i="number"==typeof e?e:Number(e);return null!==(t=(n=CSS).supports)&&void 0!==t&&t.call(n,"margin",e.toString())||Number.isNaN(i)?e.toString():`calc(${r} * ${e})`}},1604:(e,t,n)=>{"use strict";n.d(t,{DM:()=>g});var r=n(2819),i=n(7234);function a(e="",t=1){const{r:n,g:r,b:a}=(0,i.Z)(e).toRgb();return`rgba(${n}, ${r}, ${a}, ${t})`}const o={black:"#000",white:"#fff"},s={blue:{medium:{focus:"#007cba",focusDark:"#fff"}},gray:{900:"#1e1e1e",700:"#757575",600:"#949494",400:"#ccc",200:"#ddd",100:"#f0f0f0"},darkGray:{primary:"#1e1e1e",heading:"#050505"},mediumGray:{text:"#757575"},lightGray:{ui:"#949494",secondary:"#ccc",tertiary:"#e7e8e9"}},c={900:"#191e23",800:"#23282d",700:"#32373c",600:"#40464d",500:"#555d66",400:"#606a73",300:"#6c7781",200:"#7e8993",150:"#8d96a0",100:"#8f98a1",placeholder:a(s.gray[900],.62)},l={900:a("#000510",.9),800:a("#00000a",.85),700:a("#06060b",.8),600:a("#000913",.75),500:a("#0a1829",.7),400:a("#0a1829",.65),300:a("#0e1c2e",.62),200:a("#162435",.55),100:a("#223443",.5),backgroundFill:a(c[700],.7)},u={900:a("#304455",.45),800:a("#425863",.4),700:a("#667886",.35),600:a("#7b86a2",.3),500:a("#9197a2",.25),400:a("#95959c",.2),300:a("#829493",.15),200:a("#8b8b96",.1),100:a("#747474",.05)},f={900:"#a2aab2",800:"#b5bcc2",700:"#ccd0d4",600:"#d7dade",500:"#e2e4e7",400:"#e8eaeb",300:"#edeff0",200:"#f3f4f5",100:"#f8f9f9",placeholder:a(o.white,.65)},d={900:a(o.white,.5),800:a(o.white,.45),700:a(o.white,.4),600:a(o.white,.35),500:a(o.white,.3),400:a(o.white,.25),300:a(o.white,.2),200:a(o.white,.15),100:a(o.white,.1),backgroundFill:a(f[300],.8)},h={wordpress:{700:"#00669b"},dark:{900:"#0071a1"},medium:{900:"#006589",800:"#00739c",700:"#007fac",600:"#008dbe",500:"#00a0d2",400:"#33b3db",300:"#66c6e4",200:"#bfe7f3",100:"#e5f5fa",highlight:"#b3e7fe",focus:"#007cba"}},p={theme:`var( --wp-admin-theme-color, ${h.wordpress[700]})`,themeDark10:`var( --wp-admin-theme-color-darker-10, ${h.medium.focus})`},m={theme:p.theme,background:o.white,backgroundDisabled:f[200],border:s.gray[700],borderFocus:p.themeDark10,borderDisabled:s.gray[400],borderLight:s.gray[200],label:c[500],textDisabled:c[150],textDark:o.white,textLight:o.black},g={...o,darkGray:(0,r.merge)({},c,s.darkGray),darkOpacity:l,darkOpacityLight:u,mediumGray:s.mediumGray,gray:s.gray,lightGray:(0,r.merge)({},f,s.lightGray),lightGrayLight:d,blue:(0,r.merge)({},h,s.blue),alert:{yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},admin:p,ui:m}},2106:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const r=(0,n(9204).Z)("div",{target:"em57xhy0"})("");r.selector=".components-view",r.displayName="View";const i=r},7593:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4184),i=n.n(r),a=n(9307),o=n(2004);const s=(0,a.forwardRef)((function({as:e="div",className:t,...n},r){return(0,o.k)({as:e,className:i()("components-visually-hidden",t),...n,ref:r})}))},2004:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(9307);function i({as:e="div",...t}){return"function"==typeof t.children?t.children(t):(0,r.createElement)(e,t)}},4787:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}))},7462:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},7234:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>o});var i=/^\s+/,a=/\s+$/;function o(e,t){if(t=t||{},(e=e||"")instanceof o)return e;if(!(this instanceof o))return new o(e,t);var n=function(e){var t,n,o,s={r:0,g:0,b:0},c=1,l=null,u=null,f=null,d=!1,h=!1;return"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(a,"").toLowerCase();var t,n=!1;if(_[e])e=_[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=O.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=O.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=O.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=O.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=O.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=O.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=O.hex8.exec(e))?{r:C(t[1]),g:C(t[2]),b:C(t[3]),a:Z(t[4]),format:n?"name":"hex8"}:(t=O.hex6.exec(e))?{r:C(t[1]),g:C(t[2]),b:C(t[3]),format:n?"name":"hex"}:(t=O.hex4.exec(e))?{r:C(t[1]+""+t[1]),g:C(t[2]+""+t[2]),b:C(t[3]+""+t[3]),a:Z(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=O.hex3.exec(e))&&{r:C(t[1]+""+t[1]),g:C(t[2]+""+t[2]),b:C(t[3]+""+t[3]),format:n?"name":"hex"}}(e)),"object"==r(e)&&(P(e.r)&&P(e.g)&&P(e.b)?(t=e.r,n=e.g,o=e.b,s={r:255*E(t,255),g:255*E(n,255),b:255*E(o,255)},d=!0,h="%"===String(e.r).substr(-1)?"prgb":"rgb"):P(e.h)&&P(e.s)&&P(e.v)?(l=F(e.s),u=F(e.v),s=function(e,t,n){e=6*E(e,360),t=E(t,100),n=E(n,100);var r=Math.floor(e),i=e-r,a=n*(1-t),o=n*(1-i*t),s=n*(1-(1-i)*t),c=r%6;return{r:255*[n,o,a,a,s,n][c],g:255*[s,n,n,o,a,a][c],b:255*[a,a,s,n,n,o][c]}}(e.h,l,u),d=!0,h="hsv"):P(e.h)&&P(e.s)&&P(e.l)&&(l=F(e.s),f=F(e.l),s=function(e,t,n){var r,i,a;function o(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=E(e,360),t=E(t,100),n=E(n,100),0===t)r=i=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=o(c,s,e+1/3),i=o(c,s,e),a=o(c,s,e-1/3)}return{r:255*r,g:255*i,b:255*a}}(e.h,l,f),d=!0,h="hsl"),e.hasOwnProperty("a")&&(c=e.a)),c=A(c),{ok:d,format:e.format||h,r:Math.min(255,Math.max(s.r,0)),g:Math.min(255,Math.max(s.g,0)),b:Math.min(255,Math.max(s.b,0)),a:c}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function s(e,t,n){e=E(e,255),t=E(t,255),n=E(n,255);var r,i,a=Math.max(e,t,n),o=Math.min(e,t,n),s=(a+o)/2;if(a==o)r=i=0;else{var c=a-o;switch(i=s>.5?c/(2-a-o):c/(a+o),a){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:i,l:s}}function c(e,t,n){e=E(e,255),t=E(t,255),n=E(n,255);var r,i,a=Math.max(e,t,n),o=Math.min(e,t,n),s=a,c=a-o;if(i=0===a?0:c/a,a==o)r=0;else{switch(a){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:i,v:s}}function l(e,t,n,r){var i=[R(Math.round(e).toString(16)),R(Math.round(t).toString(16)),R(Math.round(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function u(e,t,n,r){return[R(L(r)),R(Math.round(e).toString(16)),R(Math.round(t).toString(16)),R(Math.round(n).toString(16))].join("")}function f(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.s-=t/100,n.s=M(n.s),o(n)}function d(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.s+=t/100,n.s=M(n.s),o(n)}function h(e){return o(e).desaturate(100)}function p(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.l+=t/100,n.l=M(n.l),o(n)}function m(e,t){t=0===t?0:t||10;var n=o(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),o(n)}function g(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.l-=t/100,n.l=M(n.l),o(n)}function v(e,t){var n=o(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,o(n)}function b(e){var t=o(e).toHsl();return t.h=(t.h+180)%360,o(t)}function y(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=o(e).toHsl(),r=[o(e)],i=360/t,a=1;a<t;a++)r.push(o({h:(n.h+a*i)%360,s:n.s,l:n.l}));return r}function w(e){var t=o(e).toHsl(),n=t.h;return[o(e),o({h:(n+72)%360,s:t.s,l:t.l}),o({h:(n+216)%360,s:t.s,l:t.l})]}function x(e,t,n){t=t||6,n=n||30;var r=o(e).toHsl(),i=360/n,a=[o(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(o(r));return a}function k(e,t){t=t||6;for(var n=o(e).toHsv(),r=n.h,i=n.s,a=n.v,s=[],c=1/t;t--;)s.push(o({h:r,s:i,v:a})),a=(a+c)%1;return s}o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=A(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=c(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=c(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=s(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=s(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return l(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,i){var a=[R(Math.round(e).toString(16)),R(Math.round(t).toString(16)),R(Math.round(n).toString(16)),R(L(r))];return i&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*E(this._r,255))+"%",g:Math.round(100*E(this._g,255))+"%",b:Math.round(100*E(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*E(this._r,255))+"%, "+Math.round(100*E(this._g,255))+"%, "+Math.round(100*E(this._b,255))+"%)":"rgba("+Math.round(100*E(this._r,255))+"%, "+Math.round(100*E(this._g,255))+"%, "+Math.round(100*E(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(S[l(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+u(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var i=o(e);n="#"+u(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return o(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(p,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(g,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(d,arguments)},greyscale:function(){return this._applyModification(h,arguments)},spin:function(){return this._applyModification(v,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(x,arguments)},complement:function(){return this._applyCombination(b,arguments)},monochromatic:function(){return this._applyCombination(k,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(y,[3])},tetrad:function(){return this._applyCombination(y,[4])}},o.fromRatio=function(e,t){if("object"==r(e)){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[i]="a"===i?e[i]:F(e[i]));e=n}return o(e,t)},o.equals=function(e,t){return!(!e||!t)&&o(e).toRgbString()==o(t).toRgbString()},o.random=function(){return o.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},o.mix=function(e,t,n){n=0===n?0:n||50;var r=o(e).toRgb(),i=o(t).toRgb(),a=n/100;return o({r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a})},o.readability=function(e,t){var n=o(e),r=o(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},o.isReadable=function(e,t,n){var r,i,a,s,c,l=o.readability(e,t);switch(i=!1,(a=n,"AA"!==(s=((a=a||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==s&&(s="AA"),"small"!==(c=(a.size||"small").toLowerCase())&&"large"!==c&&(c="small"),r={level:s,size:c}).level+r.size){case"AAsmall":case"AAAlarge":i=l>=4.5;break;case"AAlarge":i=l>=3;break;case"AAAsmall":i=l>=7}return i},o.mostReadable=function(e,t,n){var r,i,a,s,c=null,l=0;i=(n=n||{}).includeFallbackColors,a=n.level,s=n.size;for(var u=0;u<t.length;u++)(r=o.readability(e,t[u]))>l&&(l=r,c=o(t[u]));return o.isReadable(e,c,{level:a,size:s})||!i?c:(n.includeFallbackColors=!1,o.mostReadable(e,["#fff","#000"],n))};var _=o.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},S=o.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(_);function A(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function E(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return Math.min(1,Math.max(0,e))}function C(e){return parseInt(e,16)}function R(e){return 1==e.length?"0"+e:""+e}function F(e){return e<=1&&(e=100*e+"%"),e}function L(e){return Math.round(255*parseFloat(e)).toString(16)}function Z(e){return C(e)/255}var N,T,D,O=(T="[\\s|\\(]+("+(N="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+N+")[,|\\s]+("+N+")\\s*\\)?",D="[\\s|\\(]+("+N+")[,|\\s]+("+N+")[,|\\s]+("+N+")[,|\\s]+("+N+")\\s*\\)?",{CSS_UNIT:new RegExp(N),rgb:new RegExp("rgb"+T),rgba:new RegExp("rgba"+D),hsl:new RegExp("hsl"+T),hsla:new RegExp("hsla"+D),hsv:new RegExp("hsv"+T),hsva:new RegExp("hsva"+D),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function P(e){return!!O.CSS_UNIT.exec(e)}}}]);