@fluidattacks/design 1.2.15 → 1.2.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/design.js CHANGED
@@ -1,7 +1,7 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("react"),ul=require("react-dom"),ca=e=>({getVariant:(t,r)=>e(t)[r]}),la=["padding","px","py","pl","pr","pt","pb","margin","mx","my","ml","mr","mt","mb","zIndex","position","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","scroll","visibility","display","height","width","maxHeight","maxWidth","minHeight","minWidth","shadow","bgColor","bgGradient","gap","flexDirection","flexGrow","justify","alignItems","wrap","color","fontFamily","fontSize","fontWeight","textAlign","whiteSpace","letterSpacing","lineSpacing","textDecoration","textOverflow","whiteSpace","wordBreak","wordWrap","cursor","transition","borderColorHover","bgColorHover","shadowHover"];var lt=function(){return lt=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},lt.apply(this,arguments)};function Ar(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function fl(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var dl=/^((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|disableRemotePlayback|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)-.*))$/,pl=fl(function(e){return dl.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Sn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ua(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Re="-ms-",Yr="-moz-",he="-webkit-",fa="comm",Qn="rule",gi="decl",hl="@import",da="@keyframes",gl="@layer",pa=Math.abs,mi=String.fromCharCode,Fo=Object.assign;function ml(e,t){return Ze(e,0)^45?(((t<<2^Ze(e,0))<<2^Ze(e,1))<<2^Ze(e,2))<<2^Ze(e,3):0}function ha(e){return e.trim()}function Kt(e,t){return(e=t.exec(e))?e[0]:e}function ee(e,t,r){return e.replace(t,r)}function Cn(e,t,r){return e.indexOf(t,r)}function Ze(e,t){return e.charCodeAt(t)|0}function Or(e,t,r){return e.slice(t,r)}function qt(e){return e.length}function ga(e){return e.length}function Hr(e,t){return t.push(e),e}function yl(e,t){return e.map(t).join("")}function es(e,t){return e.filter(function(r){return!Kt(r,t)})}var Jn=1,Cr=1,ma=0,Dt=0,Ue=0,Lr="";function Kn(e,t,r,n,o,i,s,l){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Jn,column:Cr,length:s,return:"",siblings:l}}function er(e,t){return Fo(Kn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Sr(e){for(;e.root;)e=er(e.root,{children:[e]});Hr(e,e.siblings)}function vl(){return Ue}function bl(){return Ue=Dt>0?Ze(Lr,--Dt):0,Cr--,Ue===10&&(Cr=1,Jn--),Ue}function Vt(){return Ue=Dt<ma?Ze(Lr,Dt++):0,Cr++,Ue===10&&(Cr=1,Jn++),Ue}function pr(){return Ze(Lr,Dt)}function Rn(){return Dt}function Xn(e,t){return Or(Lr,e,t)}function Vo(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 wl(e){return Jn=Cr=1,ma=qt(Lr=e),Dt=0,[]}function _l(e){return Lr="",e}function Oo(e){return ha(Xn(Dt-1,Bo(e===91?e+2:e===40?e+1:e)))}function xl(e){for(;(Ue=pr())&&Ue<33;)Vt();return Vo(e)>2||Vo(Ue)>3?"":" "}function Sl(e,t){for(;--t&&Vt()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return Xn(e,Rn()+(t<6&&pr()==32&&Vt()==32))}function Bo(e){for(;Vt();)switch(Ue){case e:return Dt;case 34:case 39:e!==34&&e!==39&&Bo(Ue);break;case 40:e===41&&Bo(e);break;case 92:Vt();break}return Dt}function El(e,t){for(;Vt()&&e+Ue!==57;)if(e+Ue===84&&pr()===47)break;return"/*"+Xn(t,Dt-1)+"*"+mi(e===47?e:Vt())}function $l(e){for(;!Vo(pr());)Vt();return Xn(e,Dt)}function Tl(e){return _l(kn("",null,null,null,[""],e=wl(e),0,[0],e))}function kn(e,t,r,n,o,i,s,l,u){for(var d=0,h=0,y=s,w=0,v=0,T=0,x=1,O=1,A=1,C=0,k="",I=o,M=i,D=n,P=k;O;)switch(T=C,C=Vt()){case 40:if(T!=108&&Ze(P,y-1)==58){Cn(P+=ee(Oo(C),"&","&\f"),"&\f",pa(d?l[d-1]:0))!=-1&&(A=-1);break}case 34:case 39:case 91:P+=Oo(C);break;case 9:case 10:case 13:case 32:P+=xl(T);break;case 92:P+=Sl(Rn()-1,7);continue;case 47:switch(pr()){case 42:case 47:Hr(Al(El(Vt(),Rn()),t,r,u),u);break;default:P+="/"}break;case 123*x:l[d++]=qt(P)*A;case 125*x:case 59:case 0:switch(C){case 0:case 125:O=0;case 59+h:A==-1&&(P=ee(P,/\f/g,"")),v>0&&qt(P)-y&&Hr(v>32?rs(P+";",n,r,y-1,u):rs(ee(P," ","")+";",n,r,y-2,u),u);break;case 59:P+=";";default:if(Hr(D=ts(P,t,r,d,h,o,l,k,I=[],M=[],y,i),i),C===123)if(h===0)kn(P,t,D,D,I,i,y,l,M);else switch(w===99&&Ze(P,3)===110?100:w){case 100:case 108:case 109:case 115:kn(e,D,D,n&&Hr(ts(e,D,D,0,0,o,l,k,o,I=[],y,M),M),o,M,y,l,n?I:M);break;default:kn(P,D,D,D,[""],M,0,l,M)}}d=h=v=0,x=A=1,k=P="",y=s;break;case 58:y=1+qt(P),v=T;default:if(x<1){if(C==123)--x;else if(C==125&&x++==0&&bl()==125)continue}switch(P+=mi(C),C*x){case 38:A=h>0?1:(P+="\f",-1);break;case 44:l[d++]=(qt(P)-1)*A,A=1;break;case 64:pr()===45&&(P+=Oo(Vt())),w=pr(),h=y=qt(k=P+=$l(Rn())),C++;break;case 45:T===45&&qt(P)==2&&(x=0)}}return i}function ts(e,t,r,n,o,i,s,l,u,d,h,y){for(var w=o-1,v=o===0?i:[""],T=ga(v),x=0,O=0,A=0;x<n;++x)for(var C=0,k=Or(e,w+1,w=pa(O=s[x])),I=e;C<T;++C)(I=ha(O>0?v[C]+" "+k:ee(k,/&\f/g,v[C])))&&(u[A++]=I);return Kn(e,t,r,o===0?Qn:l,u,d,h,y)}function Al(e,t,r,n){return Kn(e,t,r,fa,mi(vl()),Or(e,2,-2),0,n)}function rs(e,t,r,n,o){return Kn(e,t,r,gi,Or(e,0,n),Or(e,n+1,-1),n,o)}function ya(e,t,r){switch(ml(e,t)){case 5103:return he+"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 he+e+e;case 4789:return Yr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return he+e+Yr+e+Re+e+e;case 5936:switch(Ze(e,t+11)){case 114:return he+e+Re+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return he+e+Re+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return he+e+Re+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return he+e+Re+e+e;case 6165:return he+e+Re+"flex-"+e+e;case 5187:return he+e+ee(e,/(\w+).+(:[^]+)/,he+"box-$1$2"+Re+"flex-$1$2")+e;case 5443:return he+e+Re+"flex-item-"+ee(e,/flex-|-self/g,"")+(Kt(e,/flex-|baseline/)?"":Re+"grid-row-"+ee(e,/flex-|-self/g,""))+e;case 4675:return he+e+Re+"flex-line-pack"+ee(e,/align-content|flex-|-self/g,"")+e;case 5548:return he+e+Re+ee(e,"shrink","negative")+e;case 5292:return he+e+Re+ee(e,"basis","preferred-size")+e;case 6060:return he+"box-"+ee(e,"-grow","")+he+e+Re+ee(e,"grow","positive")+e;case 4554:return he+ee(e,/([^-])(transform)/g,"$1"+he+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,he+"$1"),/(image-set)/,he+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,he+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,he+"box-pack:$3"+Re+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+he+e+e;case 4200:if(!Kt(e,/flex-|baseline/))return Re+"grid-column-align"+Or(e,t)+e;break;case 2592:case 3360:return Re+ee(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,Kt(n.props,/grid-\w+-end/)})?~Cn(e+(r=r[t].value),"span",0)?e:Re+ee(e,"-start","")+e+Re+"grid-row-span:"+(~Cn(r,"span",0)?Kt(r,/\d+/):+Kt(r,/\d+/)-+Kt(e,/\d+/))+";":Re+ee(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Kt(n.props,/grid-\w+-start/)})?e:Re+ee(ee(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,he+"$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(qt(e)-1-t>6)switch(Ze(e,t+1)){case 109:if(Ze(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+he+"$2-$3$1"+Yr+(Ze(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Cn(e,"stretch",0)?ya(ee(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return ee(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,s,l,u,d){return Re+o+":"+i+d+(s?Re+o+"-span:"+(l?u:+u-+i)+d:"")+e});case 4949:if(Ze(e,t+6)===121)return ee(e,":",":"+he)+e;break;case 6444:switch(Ze(e,Ze(e,14)===45?18:11)){case 120:return ee(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+he+(Ze(e,14)===45?"inline-":"")+"box$3$1"+he+"$2$3$1"+Re+"$2box$3")+e;case 100:return ee(e,":",":"+Re)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ee(e,"scroll-","scroll-snap-")+e}return e}function In(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Ol(e,t,r,n){switch(e.type){case gl:if(e.children.length)break;case hl:case gi:return e.return=e.return||e.value;case fa:return"";case da:return e.return=e.value+"{"+In(e.children,n)+"}";case Qn:if(!qt(e.value=e.props.join(",")))return""}return qt(r=In(e.children,n))?e.return=e.value+"{"+r+"}":""}function Cl(e){var t=ga(e);return function(r,n,o,i){for(var s="",l=0;l<t;l++)s+=e[l](r,n,o,i)||"";return s}}function Rl(e){return function(t){t.root||(t=t.return)&&e(t)}}function kl(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case gi:e.return=ya(e.value,e.length,r);return;case da:return In([er(e,{value:ee(e.value,"@","@"+he)})],n);case Qn:if(e.length)return yl(r=e.props,function(o){switch(Kt(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Sr(er(e,{props:[ee(o,/:(read-\w+)/,":"+Yr+"$1")]})),Sr(er(e,{props:[o]})),Fo(e,{props:es(r,n)});break;case"::placeholder":Sr(er(e,{props:[ee(o,/:(plac\w+)/,":"+he+"input-$1")]})),Sr(er(e,{props:[ee(o,/:(plac\w+)/,":"+Yr+"$1")]})),Sr(er(e,{props:[ee(o,/:(plac\w+)/,Re+"input-$1")]})),Sr(er(e,{props:[o]})),Fo(e,{props:es(r,n)});break}return""})}}var Pl={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},mr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",va="active",ba="data-styled-version",Zn="6.1.13",yi=`/*!sc*/
2
- `,Mn=typeof window<"u"&&"HTMLElement"in window,jl=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),ns=/invalid hook call/i,En=new Set,Il=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` has been created dynamically.
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("react"),fl=require("react-dom"),sa=e=>({getVariant:(t,r)=>e(t)[r]}),aa=["padding","px","py","pl","pr","pt","pb","margin","mx","my","ml","mr","mt","mb","zIndex","position","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","scroll","visibility","display","height","width","maxHeight","maxWidth","minHeight","minWidth","shadow","bgColor","bgGradient","gap","flexDirection","flexGrow","justify","alignItems","wrap","color","fontFamily","fontSize","fontWeight","textAlign","whiteSpace","letterSpacing","lineSpacing","textDecoration","textOverflow","whiteSpace","wordBreak","wordWrap","cursor","transition","borderColorHover","bgColorHover","shadowHover"];var ut=function(){return ut=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},ut.apply(this,arguments)};function Tr(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function dl(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var pl=/^((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|disableRemotePlayback|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)-.*))$/,hl=dl(function(e){return pl.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Sn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ca(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Re="-ms-",Hr="-moz-",he="-webkit-",la="comm",Yn="rule",pi="decl",gl="@import",ua="@keyframes",ml="@layer",fa=Math.abs,hi=String.fromCharCode,Do=Object.assign;function yl(e,t){return et(e,0)^45?(((t<<2^et(e,0))<<2^et(e,1))<<2^et(e,2))<<2^et(e,3):0}function da(e){return e.trim()}function Kt(e,t){return(e=t.exec(e))?e[0]:e}function ee(e,t,r){return e.replace(t,r)}function Cn(e,t,r){return e.indexOf(t,r)}function et(e,t){return e.charCodeAt(t)|0}function Ar(e,t,r){return e.slice(t,r)}function Wt(e){return e.length}function pa(e){return e.length}function Gr(e,t){return t.push(e),e}function vl(e,t){return e.map(t).join("")}function Xi(e,t){return e.filter(function(r){return!Kt(r,t)})}var Qn=1,Or=1,ha=0,Lt=0,Ue=0,Mr="";function Jn(e,t,r,n,o,i,s,l){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Qn,column:Or,length:s,return:"",siblings:l}}function er(e,t){return Do(Jn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function xr(e){for(;e.root;)e=er(e.root,{children:[e]});Gr(e,e.siblings)}function bl(){return Ue}function wl(){return Ue=Lt>0?et(Mr,--Lt):0,Or--,Ue===10&&(Or=1,Qn--),Ue}function Ft(){return Ue=Lt<ha?et(Mr,Lt++):0,Or++,Ue===10&&(Or=1,Qn++),Ue}function dr(){return et(Mr,Lt)}function Rn(){return Lt}function Kn(e,t){return Ar(Mr,e,t)}function No(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 _l(e){return Qn=Or=1,ha=Wt(Mr=e),Lt=0,[]}function xl(e){return Mr="",e}function Ao(e){return da(Kn(Lt-1,Fo(e===91?e+2:e===40?e+1:e)))}function Sl(e){for(;(Ue=dr())&&Ue<33;)Ft();return No(e)>2||No(Ue)>3?"":" "}function $l(e,t){for(;--t&&Ft()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return Kn(e,Rn()+(t<6&&dr()==32&&Ft()==32))}function Fo(e){for(;Ft();)switch(Ue){case e:return Lt;case 34:case 39:e!==34&&e!==39&&Fo(Ue);break;case 40:e===41&&Fo(e);break;case 92:Ft();break}return Lt}function El(e,t){for(;Ft()&&e+Ue!==57;)if(e+Ue===84&&dr()===47)break;return"/*"+Kn(t,Lt-1)+"*"+hi(e===47?e:Ft())}function Tl(e){for(;!No(dr());)Ft();return Kn(e,Lt)}function Al(e){return xl(kn("",null,null,null,[""],e=_l(e),0,[0],e))}function kn(e,t,r,n,o,i,s,l,u){for(var d=0,h=0,y=s,_=0,v=0,T=0,O=1,R=1,E=1,A=0,k="",I=o,M=i,D=n,P=k;R;)switch(T=A,A=Ft()){case 40:if(T!=108&&et(P,y-1)==58){Cn(P+=ee(Ao(A),"&","&\f"),"&\f",fa(d?l[d-1]:0))!=-1&&(E=-1);break}case 34:case 39:case 91:P+=Ao(A);break;case 9:case 10:case 13:case 32:P+=Sl(T);break;case 92:P+=$l(Rn()-1,7);continue;case 47:switch(dr()){case 42:case 47:Gr(Ol(El(Ft(),Rn()),t,r,u),u);break;default:P+="/"}break;case 123*O:l[d++]=Wt(P)*E;case 125*O:case 59:case 0:switch(A){case 0:case 125:R=0;case 59+h:E==-1&&(P=ee(P,/\f/g,"")),v>0&&Wt(P)-y&&Gr(v>32?es(P+";",n,r,y-1,u):es(ee(P," ","")+";",n,r,y-2,u),u);break;case 59:P+=";";default:if(Gr(D=Zi(P,t,r,d,h,o,l,k,I=[],M=[],y,i),i),A===123)if(h===0)kn(P,t,D,D,I,i,y,l,M);else switch(_===99&&et(P,3)===110?100:_){case 100:case 108:case 109:case 115:kn(e,D,D,n&&Gr(Zi(e,D,D,0,0,o,l,k,o,I=[],y,M),M),o,M,y,l,n?I:M);break;default:kn(P,D,D,D,[""],M,0,l,M)}}d=h=v=0,O=E=1,k=P="",y=s;break;case 58:y=1+Wt(P),v=T;default:if(O<1){if(A==123)--O;else if(A==125&&O++==0&&wl()==125)continue}switch(P+=hi(A),A*O){case 38:E=h>0?1:(P+="\f",-1);break;case 44:l[d++]=(Wt(P)-1)*E,E=1;break;case 64:dr()===45&&(P+=Ao(Ft())),_=dr(),h=y=Wt(k=P+=Tl(Rn())),A++;break;case 45:T===45&&Wt(P)==2&&(O=0)}}return i}function Zi(e,t,r,n,o,i,s,l,u,d,h,y){for(var _=o-1,v=o===0?i:[""],T=pa(v),O=0,R=0,E=0;O<n;++O)for(var A=0,k=Ar(e,_+1,_=fa(R=s[O])),I=e;A<T;++A)(I=da(R>0?v[A]+" "+k:ee(k,/&\f/g,v[A])))&&(u[E++]=I);return Jn(e,t,r,o===0?Yn:l,u,d,h,y)}function Ol(e,t,r,n){return Jn(e,t,r,la,hi(bl()),Ar(e,2,-2),0,n)}function es(e,t,r,n,o){return Jn(e,t,r,pi,Ar(e,0,n),Ar(e,n+1,-1),n,o)}function ga(e,t,r){switch(yl(e,t)){case 5103:return he+"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 he+e+e;case 4789:return Hr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return he+e+Hr+e+Re+e+e;case 5936:switch(et(e,t+11)){case 114:return he+e+Re+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return he+e+Re+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return he+e+Re+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return he+e+Re+e+e;case 6165:return he+e+Re+"flex-"+e+e;case 5187:return he+e+ee(e,/(\w+).+(:[^]+)/,he+"box-$1$2"+Re+"flex-$1$2")+e;case 5443:return he+e+Re+"flex-item-"+ee(e,/flex-|-self/g,"")+(Kt(e,/flex-|baseline/)?"":Re+"grid-row-"+ee(e,/flex-|-self/g,""))+e;case 4675:return he+e+Re+"flex-line-pack"+ee(e,/align-content|flex-|-self/g,"")+e;case 5548:return he+e+Re+ee(e,"shrink","negative")+e;case 5292:return he+e+Re+ee(e,"basis","preferred-size")+e;case 6060:return he+"box-"+ee(e,"-grow","")+he+e+Re+ee(e,"grow","positive")+e;case 4554:return he+ee(e,/([^-])(transform)/g,"$1"+he+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,he+"$1"),/(image-set)/,he+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,he+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,he+"box-pack:$3"+Re+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+he+e+e;case 4200:if(!Kt(e,/flex-|baseline/))return Re+"grid-column-align"+Ar(e,t)+e;break;case 2592:case 3360:return Re+ee(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,Kt(n.props,/grid-\w+-end/)})?~Cn(e+(r=r[t].value),"span",0)?e:Re+ee(e,"-start","")+e+Re+"grid-row-span:"+(~Cn(r,"span",0)?Kt(r,/\d+/):+Kt(r,/\d+/)-+Kt(e,/\d+/))+";":Re+ee(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Kt(n.props,/grid-\w+-start/)})?e:Re+ee(ee(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,he+"$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(Wt(e)-1-t>6)switch(et(e,t+1)){case 109:if(et(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+he+"$2-$3$1"+Hr+(et(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Cn(e,"stretch",0)?ga(ee(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return ee(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,s,l,u,d){return Re+o+":"+i+d+(s?Re+o+"-span:"+(l?u:+u-+i)+d:"")+e});case 4949:if(et(e,t+6)===121)return ee(e,":",":"+he)+e;break;case 6444:switch(et(e,et(e,14)===45?18:11)){case 120:return ee(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+he+(et(e,14)===45?"inline-":"")+"box$3$1"+he+"$2$3$1"+Re+"$2box$3")+e;case 100:return ee(e,":",":"+Re)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ee(e,"scroll-","scroll-snap-")+e}return e}function In(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Cl(e,t,r,n){switch(e.type){case ml:if(e.children.length)break;case gl:case pi:return e.return=e.return||e.value;case la:return"";case ua:return e.return=e.value+"{"+In(e.children,n)+"}";case Yn:if(!Wt(e.value=e.props.join(",")))return""}return Wt(r=In(e.children,n))?e.return=e.value+"{"+r+"}":""}function Rl(e){var t=pa(e);return function(r,n,o,i){for(var s="",l=0;l<t;l++)s+=e[l](r,n,o,i)||"";return s}}function kl(e){return function(t){t.root||(t=t.return)&&e(t)}}function Pl(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case pi:e.return=ga(e.value,e.length,r);return;case ua:return In([er(e,{value:ee(e.value,"@","@"+he)})],n);case Yn:if(e.length)return vl(r=e.props,function(o){switch(Kt(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":xr(er(e,{props:[ee(o,/:(read-\w+)/,":"+Hr+"$1")]})),xr(er(e,{props:[o]})),Do(e,{props:Xi(r,n)});break;case"::placeholder":xr(er(e,{props:[ee(o,/:(plac\w+)/,":"+he+"input-$1")]})),xr(er(e,{props:[ee(o,/:(plac\w+)/,":"+Hr+"$1")]})),xr(er(e,{props:[ee(o,/:(plac\w+)/,Re+"input-$1")]})),xr(er(e,{props:[o]})),Do(e,{props:Xi(r,n)});break}return""})}}var jl={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},gr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ma="active",ya="data-styled-version",Xn="6.1.13",gi=`/*!sc*/
2
+ `,Mn=typeof window<"u"&&"HTMLElement"in window,Il=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),ts=/invalid hook call/i,$n=new Set,Ml=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` has been created dynamically.
3
3
  `)+`You may see this warning because you've called styled inside another component.
4
- To resolve this only create new StyledComponents outside of any render method and function component.`,o=console.error;try{var i=!0;console.error=function(s){for(var l=[],u=1;u<arguments.length;u++)l[u-1]=arguments[u];ns.test(s)?(i=!1,En.delete(n)):o.apply(void 0,Ar([s],l,!1))},E.useRef(),i&&!En.has(n)&&(console.warn(n),En.add(n))}catch(s){ns.test(s.message)&&En.delete(n)}finally{console.error=o}}},eo=Object.freeze([]),Rr=Object.freeze({});function Ml(e,t,r){return r===void 0&&(r=Rr),e.theme!==r.theme&&e.theme||t||r.theme}var zo=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Ll=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Dl=/(^-|-$)/g;function os(e){return e.replace(Ll,"-").replace(Dl,"")}var Nl=/(a)(d)/gi,$n=52,is=function(e){return String.fromCharCode(e+(e>25?39:97))};function Uo(e){var t,r="";for(t=Math.abs(e);t>$n;t=t/$n|0)r=is(t%$n)+r;return(is(t%$n)+r).replace(Nl,"$1-$2")}var Co,wa=5381,ur=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},_a=function(e){return ur(wa,e)};function Fl(e){return Uo(_a(e)>>>0)}function xa(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Ro(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Sa=typeof Symbol=="function"&&Symbol.for,Ea=Sa?Symbol.for("react.memo"):60115,Vl=Sa?Symbol.for("react.forward_ref"):60112,Bl={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},zl={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},$a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ul=((Co={})[Vl]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Co[Ea]=$a,Co);function ss(e){return("type"in(t=e)&&t.type.$$typeof)===Ea?$a:"$$typeof"in e?Ul[e.$$typeof]:Bl;var t}var Wl=Object.defineProperty,ql=Object.getOwnPropertyNames,as=Object.getOwnPropertySymbols,Gl=Object.getOwnPropertyDescriptor,Hl=Object.getPrototypeOf,cs=Object.prototype;function Ta(e,t,r){if(typeof t!="string"){if(cs){var n=Hl(t);n&&n!==cs&&Ta(e,n,r)}var o=ql(t);as&&(o=o.concat(as(t)));for(var i=ss(e),s=ss(t),l=0;l<o.length;++l){var u=o[l];if(!(u in zl||r&&r[u]||s&&u in s||i&&u in i)){var d=Gl(t,u);try{Wl(e,u,d)}catch{}}}}return e}function yr(e){return typeof e=="function"}function vi(e){return typeof e=="object"&&"styledComponentId"in e}function fr(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ls(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function kr(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Wo(e,t,r){if(r===void 0&&(r=!1),!r&&!kr(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Wo(e[n],t[n]);else if(kr(t))for(var n in t)e[n]=Wo(e[n],t[n]);return e}function bi(e,t){Object.defineProperty(e,"toString",{value:t})}var Yl=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
4
+ To resolve this only create new StyledComponents outside of any render method and function component.`,o=console.error;try{var i=!0;console.error=function(s){for(var l=[],u=1;u<arguments.length;u++)l[u-1]=arguments[u];ts.test(s)?(i=!1,$n.delete(n)):o.apply(void 0,Tr([s],l,!1))},S.useRef(),i&&!$n.has(n)&&(console.warn(n),$n.add(n))}catch(s){ts.test(s.message)&&$n.delete(n)}finally{console.error=o}}},Zn=Object.freeze([]),Cr=Object.freeze({});function Ll(e,t,r){return r===void 0&&(r=Cr),e.theme!==r.theme&&e.theme||t||r.theme}var Vo=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Dl=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Nl=/(^-|-$)/g;function rs(e){return e.replace(Dl,"-").replace(Nl,"")}var Fl=/(a)(d)/gi,En=52,ns=function(e){return String.fromCharCode(e+(e>25?39:97))};function Bo(e){var t,r="";for(t=Math.abs(e);t>En;t=t/En|0)r=ns(t%En)+r;return(ns(t%En)+r).replace(Fl,"$1-$2")}var Oo,va=5381,ur=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},ba=function(e){return ur(va,e)};function Vl(e){return Bo(ba(e)>>>0)}function wa(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Co(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var _a=typeof Symbol=="function"&&Symbol.for,xa=_a?Symbol.for("react.memo"):60115,Bl=_a?Symbol.for("react.forward_ref"):60112,zl={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ul={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Sa={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Wl=((Oo={})[Bl]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Oo[xa]=Sa,Oo);function os(e){return("type"in(t=e)&&t.type.$$typeof)===xa?Sa:"$$typeof"in e?Wl[e.$$typeof]:zl;var t}var ql=Object.defineProperty,Gl=Object.getOwnPropertyNames,is=Object.getOwnPropertySymbols,Hl=Object.getOwnPropertyDescriptor,Yl=Object.getPrototypeOf,ss=Object.prototype;function $a(e,t,r){if(typeof t!="string"){if(ss){var n=Yl(t);n&&n!==ss&&$a(e,n,r)}var o=Gl(t);is&&(o=o.concat(is(t)));for(var i=os(e),s=os(t),l=0;l<o.length;++l){var u=o[l];if(!(u in Ul||r&&r[u]||s&&u in s||i&&u in i)){var d=Hl(t,u);try{ql(e,u,d)}catch{}}}}return e}function mr(e){return typeof e=="function"}function mi(e){return typeof e=="object"&&"styledComponentId"in e}function fr(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function as(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function Rr(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function zo(e,t,r){if(r===void 0&&(r=!1),!r&&!Rr(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=zo(e[n],t[n]);else if(Rr(t))for(var n in t)e[n]=zo(e[n],t[n]);return e}function yi(e,t){Object.defineProperty(e,"toString",{value:t})}var Ql=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
5
5
 
6
6
  `,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
7
7
 
@@ -42,7 +42,7 @@ as for instance in your render method then you may be running into this limitati
42
42
 
43
43
  `,17:`CSSStyleSheet could not be found on HTMLStyleElement.
44
44
  Has styled-components' style tag been unmounted or altered by another script?
45
- `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Ql(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,i=e.length;o<i;o+=1)n.push(e[o]);return n.forEach(function(s){r=r.replace(/%[a-z]/,s)}),r}function Xt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Ql.apply(void 0,Ar([Yl[e]],t,!1)).trim())}var Jl=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,i=o;t>=i;)if((i<<=1)<0)throw Xt(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var s=o;s<i;s++)this.groupSizes[s]=0}for(var l=this.indexOfGroup(t+1),u=(s=0,r.length);s<u;s++)this.tag.insertRule(l,r[s])&&(this.groupSizes[t]++,l++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var i=n;i<o;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),i=o+n,s=o;s<i;s++)r+="".concat(this.tag.getRule(s)).concat(yi);return r},e}(),Kl=1<<30,Pn=new Map,Ln=new Map,jn=1,Tn=function(e){if(Pn.has(e))return Pn.get(e);for(;Ln.has(jn);)jn++;var t=jn++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>Kl))throw Xt(16,"".concat(t));return Pn.set(e,t),Ln.set(t,e),t},Xl=function(e,t){jn=t+1,Pn.set(e,t),Ln.set(t,e)},Zl="style[".concat(mr,"][").concat(ba,'="').concat(Zn,'"]'),eu=new RegExp("^".concat(mr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),tu=function(e,t,r){for(var n,o=r.split(","),i=0,s=o.length;i<s;i++)(n=o[i])&&e.registerName(t,n)},ru=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(yi),o=[],i=0,s=n.length;i<s;i++){var l=n[i].trim();if(l){var u=l.match(eu);if(u){var d=0|parseInt(u[1],10),h=u[2];d!==0&&(Xl(h,d),tu(e,h,u[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(l)}}},us=function(e){for(var t=document.querySelectorAll(Zl),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(mr)!==va&&(ru(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function nu(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Aa=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(l){var u=Array.from(l.querySelectorAll("style[".concat(mr,"]")));return u[u.length-1]}(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(mr,va),n.setAttribute(ba,Zn);var s=nu();return s&&n.setAttribute("nonce",s),r.insertBefore(n,i),n},ou=function(){function e(t){this.element=Aa(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,i=n.length;o<i;o++){var s=n[o];if(s.ownerNode===r)return s}throw Xt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),iu=function(){function e(t){this.element=Aa(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),su=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),fs=Mn,au={isServer:!Mn,useCSSOMInjection:!jl},Oa=function(){function e(t,r,n){t===void 0&&(t=Rr),r===void 0&&(r={});var o=this;this.options=lt(lt({},au),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Mn&&fs&&(fs=!1,us(this)),bi(this,function(){return function(i){for(var s=i.getTag(),l=s.length,u="",d=function(y){var w=function(A){return Ln.get(A)}(y);if(w===void 0)return"continue";var v=i.names.get(w),T=s.getGroup(y);if(v===void 0||!v.size||T.length===0)return"continue";var x="".concat(mr,".g").concat(y,'[id="').concat(w,'"]'),O="";v!==void 0&&v.forEach(function(A){A.length>0&&(O+="".concat(A,","))}),u+="".concat(T).concat(x,'{content:"').concat(O,'"}').concat(yi)},h=0;h<l;h++)d(h);return u}(o)})}return e.registerId=function(t){return Tn(t)},e.prototype.rehydrate=function(){!this.server&&Mn&&us(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(lt(lt({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new su(o):n?new ou(o):new iu(o)}(this.options),new Jl(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(Tn(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Tn(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Tn(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),cu=/&/g,lu=/^\s*\/\/.*$/gm;function Ca(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Ca(r.children,t)),r})}function uu(e){var t,r,n,o=Rr,i=o.options,s=i===void 0?Rr:i,l=o.plugins,u=l===void 0?eo:l,d=function(w,v,T){return T.startsWith(r)&&T.endsWith(r)&&T.replaceAll(r,"").length>0?".".concat(t):w},h=u.slice();h.push(function(w){w.type===Qn&&w.value.includes("&")&&(w.props[0]=w.props[0].replace(cu,r).replace(n,d))}),s.prefix&&h.push(kl),h.push(Ol);var y=function(w,v,T,x){v===void 0&&(v=""),T===void 0&&(T=""),x===void 0&&(x="&"),t=x,r=v,n=new RegExp("\\".concat(r,"\\b"),"g");var O=w.replace(lu,""),A=Tl(T||v?"".concat(T," ").concat(v," { ").concat(O," }"):O);s.namespace&&(A=Ca(A,s.namespace));var C=[];return In(A,Cl(h.concat(Rl(function(k){return C.push(k)})))),C};return y.hash=u.length?u.reduce(function(w,v){return v.name||Xt(15),ur(w,v.name)},wa).toString():"",y}var fu=new Oa,qo=uu(),Ra=E.createContext({shouldForwardProp:void 0,styleSheet:fu,stylis:qo});Ra.Consumer;E.createContext(void 0);function ds(){return E.useContext(Ra)}var ps=function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=qo);var s=n.name+i.hash;o.hasNameForId(n.id,s)||o.insertRules(n.id,s,i(n.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,bi(this,function(){throw Xt(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=qo),this.name+t.hash},e}(),du=function(e){return e>="A"&&e<="Z"};function hs(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;du(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var ka=function(e){return e==null||e===!1||e===""},Pa=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!ka(i)&&(Array.isArray(i)&&i.isCss||yr(i)?n.push("".concat(hs(o),":"),i,";"):kr(i)?n.push.apply(n,Ar(Ar(["".concat(o," {")],Pa(i),!1),["}"],!1)):n.push("".concat(hs(o),": ").concat((t=o,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in Pl||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function hr(e,t,r,n){if(ka(e))return[];if(vi(e))return[".".concat(e.styledComponentId)];if(yr(e)){if(!yr(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof ps||kr(o)||o===null||console.error("".concat(xa(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),hr(o,t,r,n)}var i;return e instanceof ps?r?(e.inject(r,n),[e.getName(n)]):[e]:kr(e)?Pa(e):Array.isArray(e)?Array.prototype.concat.apply(eo,e.map(function(s){return hr(s,t,r,n)})):[e.toString()]}function pu(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(yr(r)&&!vi(r))return!1}return!0}var hu=_a(Zn),gu=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&pu(t),this.componentId=r,this.baseHash=ur(hu,r),this.baseStyle=n,Oa.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=fr(o,this.staticRulesId);else{var i=ls(hr(this.rules,t,r,n)),s=Uo(ur(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,s)){var l=n(i,".".concat(s),void 0,this.componentId);r.insertRules(this.componentId,s,l)}o=fr(o,s),this.staticRulesId=s}else{for(var u=ur(this.baseHash,n.hash),d="",h=0;h<this.rules.length;h++){var y=this.rules[h];if(typeof y=="string")d+=y,process.env.NODE_ENV!=="production"&&(u=ur(u,y));else if(y){var w=ls(hr(y,t,r,n));u=ur(u,w+h),d+=w}}if(d){var v=Uo(u>>>0);r.hasNameForId(this.componentId,v)||r.insertRules(this.componentId,v,n(d,".".concat(v),void 0,this.componentId)),o=fr(o,v)}}return o},e}(),Dn=E.createContext(void 0);Dn.Consumer;function mu(e){var t=E.useContext(Dn),r=E.useMemo(function(){return function(n,o){if(!n)throw Xt(14);if(yr(n)){var i=n(o);if(process.env.NODE_ENV!=="production"&&(i===null||Array.isArray(i)||typeof i!="object"))throw Xt(7);return i}if(Array.isArray(n)||typeof n!="object")throw Xt(8);return o?lt(lt({},o),n):n}(e.theme,t)},[e.theme,t]);return e.children?E.createElement(Dn.Provider,{value:r},e.children):null}var ko={},gs=new Set;function yu(e,t,r){var n=vi(e),o=e,i=!Ro(e),s=t.attrs,l=s===void 0?eo:s,u=t.componentId,d=u===void 0?function(I,M){var D=typeof I!="string"?"sc":os(I);ko[D]=(ko[D]||0)+1;var P="".concat(D,"-").concat(Fl(Zn+D+ko[D]));return M?"".concat(M,"-").concat(P):P}(t.displayName,t.parentComponentId):u,h=t.displayName,y=h===void 0?function(I){return Ro(I)?"styled.".concat(I):"Styled(".concat(xa(I),")")}(e):h,w=t.displayName&&t.componentId?"".concat(os(t.displayName),"-").concat(t.componentId):t.componentId||d,v=n&&o.attrs?o.attrs.concat(l).filter(Boolean):l,T=t.shouldForwardProp;if(n&&o.shouldForwardProp){var x=o.shouldForwardProp;if(t.shouldForwardProp){var O=t.shouldForwardProp;T=function(I,M){return x(I,M)&&O(I,M)}}else T=x}var A=new gu(r,w,n?o.componentStyle:void 0);function C(I,M){return function(D,P,ve){var be=D.attrs,pe=D.componentStyle,Ne=D.defaultProps,Me=D.foldedComponentIds,we=D.styledComponentId,J=D.target,Ee=E.useContext(Dn),se=ds(),ae=D.shouldForwardProp||se.shouldForwardProp;process.env.NODE_ENV!=="production"&&E.useDebugValue(we);var ce=Ml(P,Ee,Ne)||Rr,re=function(et,We,qe){for(var fe,_e=lt(lt({},We),{className:void 0,theme:qe}),$e=0;$e<et.length;$e+=1){var Be=yr(fe=et[$e])?fe(_e):fe;for(var Pe in Be)_e[Pe]=Pe==="className"?fr(_e[Pe],Be[Pe]):Pe==="style"?lt(lt({},_e[Pe]),Be[Pe]):Be[Pe]}return We.className&&(_e.className=fr(_e.className,We.className)),_e}(be,P,ce),q=re.as||J,le={};for(var ge in re)re[ge]===void 0||ge[0]==="$"||ge==="as"||ge==="theme"&&re.theme===ce||(ge==="forwardedAs"?le.as=re.forwardedAs:ae&&!ae(ge,q)||(le[ge]=re[ge],ae||process.env.NODE_ENV!=="development"||pl(ge)||gs.has(ge)||!zo.has(q)||(gs.add(ge),console.warn('styled-components: it looks like an unknown prop "'.concat(ge,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var G=function(et,We){var qe=ds(),fe=et.generateAndInjectStyles(We,qe.styleSheet,qe.stylis);return process.env.NODE_ENV!=="production"&&E.useDebugValue(fe),fe}(pe,re);process.env.NODE_ENV!=="production"&&D.warnTooManyClasses&&D.warnTooManyClasses(G);var it=fr(Me,we);return G&&(it+=" "+G),re.className&&(it+=" "+re.className),le[Ro(q)&&!zo.has(q)?"class":"className"]=it,le.ref=ve,E.createElement(q,le)}(k,I,M)}C.displayName=y;var k=E.forwardRef(C);return k.attrs=v,k.componentStyle=A,k.displayName=y,k.shouldForwardProp=T,k.foldedComponentIds=n?fr(o.foldedComponentIds,o.styledComponentId):"",k.styledComponentId=w,k.target=n?o.target:e,Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(I){this._foldedDefaultProps=n?function(M){for(var D=[],P=1;P<arguments.length;P++)D[P-1]=arguments[P];for(var ve=0,be=D;ve<be.length;ve++)Wo(M,be[ve],!0);return M}({},o.defaultProps,I):I}}),process.env.NODE_ENV!=="production"&&(Il(y,w),k.warnTooManyClasses=function(I,M){var D={},P=!1;return function(ve){if(!P&&(D[ve]=!0,Object.keys(D).length>=200)){var be=M?' with the id of "'.concat(M,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(I).concat(be,`.
45
+ `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Jl(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,i=e.length;o<i;o+=1)n.push(e[o]);return n.forEach(function(s){r=r.replace(/%[a-z]/,s)}),r}function Xt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Jl.apply(void 0,Tr([Ql[e]],t,!1)).trim())}var Kl=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,i=o;t>=i;)if((i<<=1)<0)throw Xt(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var s=o;s<i;s++)this.groupSizes[s]=0}for(var l=this.indexOfGroup(t+1),u=(s=0,r.length);s<u;s++)this.tag.insertRule(l,r[s])&&(this.groupSizes[t]++,l++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var i=n;i<o;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),i=o+n,s=o;s<i;s++)r+="".concat(this.tag.getRule(s)).concat(gi);return r},e}(),Xl=1<<30,Pn=new Map,Ln=new Map,jn=1,Tn=function(e){if(Pn.has(e))return Pn.get(e);for(;Ln.has(jn);)jn++;var t=jn++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>Xl))throw Xt(16,"".concat(t));return Pn.set(e,t),Ln.set(t,e),t},Zl=function(e,t){jn=t+1,Pn.set(e,t),Ln.set(t,e)},eu="style[".concat(gr,"][").concat(ya,'="').concat(Xn,'"]'),tu=new RegExp("^".concat(gr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ru=function(e,t,r){for(var n,o=r.split(","),i=0,s=o.length;i<s;i++)(n=o[i])&&e.registerName(t,n)},nu=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(gi),o=[],i=0,s=n.length;i<s;i++){var l=n[i].trim();if(l){var u=l.match(tu);if(u){var d=0|parseInt(u[1],10),h=u[2];d!==0&&(Zl(h,d),ru(e,h,u[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(l)}}},cs=function(e){for(var t=document.querySelectorAll(eu),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(gr)!==ma&&(nu(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function ou(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Ea=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(l){var u=Array.from(l.querySelectorAll("style[".concat(gr,"]")));return u[u.length-1]}(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(gr,ma),n.setAttribute(ya,Xn);var s=ou();return s&&n.setAttribute("nonce",s),r.insertBefore(n,i),n},iu=function(){function e(t){this.element=Ea(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,i=n.length;o<i;o++){var s=n[o];if(s.ownerNode===r)return s}throw Xt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),su=function(){function e(t){this.element=Ea(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),au=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),ls=Mn,cu={isServer:!Mn,useCSSOMInjection:!Il},Ta=function(){function e(t,r,n){t===void 0&&(t=Cr),r===void 0&&(r={});var o=this;this.options=ut(ut({},cu),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Mn&&ls&&(ls=!1,cs(this)),yi(this,function(){return function(i){for(var s=i.getTag(),l=s.length,u="",d=function(y){var _=function(E){return Ln.get(E)}(y);if(_===void 0)return"continue";var v=i.names.get(_),T=s.getGroup(y);if(v===void 0||!v.size||T.length===0)return"continue";var O="".concat(gr,".g").concat(y,'[id="').concat(_,'"]'),R="";v!==void 0&&v.forEach(function(E){E.length>0&&(R+="".concat(E,","))}),u+="".concat(T).concat(O,'{content:"').concat(R,'"}').concat(gi)},h=0;h<l;h++)d(h);return u}(o)})}return e.registerId=function(t){return Tn(t)},e.prototype.rehydrate=function(){!this.server&&Mn&&cs(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(ut(ut({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new au(o):n?new iu(o):new su(o)}(this.options),new Kl(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(Tn(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Tn(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Tn(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),lu=/&/g,uu=/^\s*\/\/.*$/gm;function Aa(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Aa(r.children,t)),r})}function fu(e){var t,r,n,o=Cr,i=o.options,s=i===void 0?Cr:i,l=o.plugins,u=l===void 0?Zn:l,d=function(_,v,T){return T.startsWith(r)&&T.endsWith(r)&&T.replaceAll(r,"").length>0?".".concat(t):_},h=u.slice();h.push(function(_){_.type===Yn&&_.value.includes("&")&&(_.props[0]=_.props[0].replace(lu,r).replace(n,d))}),s.prefix&&h.push(Pl),h.push(Cl);var y=function(_,v,T,O){v===void 0&&(v=""),T===void 0&&(T=""),O===void 0&&(O="&"),t=O,r=v,n=new RegExp("\\".concat(r,"\\b"),"g");var R=_.replace(uu,""),E=Al(T||v?"".concat(T," ").concat(v," { ").concat(R," }"):R);s.namespace&&(E=Aa(E,s.namespace));var A=[];return In(E,Rl(h.concat(kl(function(k){return A.push(k)})))),A};return y.hash=u.length?u.reduce(function(_,v){return v.name||Xt(15),ur(_,v.name)},va).toString():"",y}var du=new Ta,Uo=fu(),Oa=S.createContext({shouldForwardProp:void 0,styleSheet:du,stylis:Uo});Oa.Consumer;S.createContext(void 0);function us(){return S.useContext(Oa)}var fs=function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=Uo);var s=n.name+i.hash;o.hasNameForId(n.id,s)||o.insertRules(n.id,s,i(n.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,yi(this,function(){throw Xt(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Uo),this.name+t.hash},e}(),pu=function(e){return e>="A"&&e<="Z"};function ds(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;pu(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Ca=function(e){return e==null||e===!1||e===""},Ra=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!Ca(i)&&(Array.isArray(i)&&i.isCss||mr(i)?n.push("".concat(ds(o),":"),i,";"):Rr(i)?n.push.apply(n,Tr(Tr(["".concat(o," {")],Ra(i),!1),["}"],!1)):n.push("".concat(ds(o),": ").concat((t=o,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in jl||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function pr(e,t,r,n){if(Ca(e))return[];if(mi(e))return[".".concat(e.styledComponentId)];if(mr(e)){if(!mr(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof fs||Rr(o)||o===null||console.error("".concat(wa(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),pr(o,t,r,n)}var i;return e instanceof fs?r?(e.inject(r,n),[e.getName(n)]):[e]:Rr(e)?Ra(e):Array.isArray(e)?Array.prototype.concat.apply(Zn,e.map(function(s){return pr(s,t,r,n)})):[e.toString()]}function hu(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(mr(r)&&!mi(r))return!1}return!0}var gu=ba(Xn),mu=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&hu(t),this.componentId=r,this.baseHash=ur(gu,r),this.baseStyle=n,Ta.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=fr(o,this.staticRulesId);else{var i=as(pr(this.rules,t,r,n)),s=Bo(ur(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,s)){var l=n(i,".".concat(s),void 0,this.componentId);r.insertRules(this.componentId,s,l)}o=fr(o,s),this.staticRulesId=s}else{for(var u=ur(this.baseHash,n.hash),d="",h=0;h<this.rules.length;h++){var y=this.rules[h];if(typeof y=="string")d+=y,process.env.NODE_ENV!=="production"&&(u=ur(u,y));else if(y){var _=as(pr(y,t,r,n));u=ur(u,_+h),d+=_}}if(d){var v=Bo(u>>>0);r.hasNameForId(this.componentId,v)||r.insertRules(this.componentId,v,n(d,".".concat(v),void 0,this.componentId)),o=fr(o,v)}}return o},e}(),Dn=S.createContext(void 0);Dn.Consumer;function yu(e){var t=S.useContext(Dn),r=S.useMemo(function(){return function(n,o){if(!n)throw Xt(14);if(mr(n)){var i=n(o);if(process.env.NODE_ENV!=="production"&&(i===null||Array.isArray(i)||typeof i!="object"))throw Xt(7);return i}if(Array.isArray(n)||typeof n!="object")throw Xt(8);return o?ut(ut({},o),n):n}(e.theme,t)},[e.theme,t]);return e.children?S.createElement(Dn.Provider,{value:r},e.children):null}var Ro={},ps=new Set;function vu(e,t,r){var n=mi(e),o=e,i=!Co(e),s=t.attrs,l=s===void 0?Zn:s,u=t.componentId,d=u===void 0?function(I,M){var D=typeof I!="string"?"sc":rs(I);Ro[D]=(Ro[D]||0)+1;var P="".concat(D,"-").concat(Vl(Xn+D+Ro[D]));return M?"".concat(M,"-").concat(P):P}(t.displayName,t.parentComponentId):u,h=t.displayName,y=h===void 0?function(I){return Co(I)?"styled.".concat(I):"Styled(".concat(wa(I),")")}(e):h,_=t.displayName&&t.componentId?"".concat(rs(t.displayName),"-").concat(t.componentId):t.componentId||d,v=n&&o.attrs?o.attrs.concat(l).filter(Boolean):l,T=t.shouldForwardProp;if(n&&o.shouldForwardProp){var O=o.shouldForwardProp;if(t.shouldForwardProp){var R=t.shouldForwardProp;T=function(I,M){return O(I,M)&&R(I,M)}}else T=O}var E=new mu(r,_,n?o.componentStyle:void 0);function A(I,M){return function(D,P,ve){var be=D.attrs,pe=D.componentStyle,Ne=D.defaultProps,Me=D.foldedComponentIds,we=D.styledComponentId,Q=D.target,$e=S.useContext(Dn),ie=us(),se=D.shouldForwardProp||ie.shouldForwardProp;process.env.NODE_ENV!=="production"&&S.useDebugValue(we);var ae=Ll(P,$e,Ne)||Cr,re=function(tt,We,qe){for(var ue,_e=ut(ut({},We),{className:void 0,theme:qe}),Ee=0;Ee<tt.length;Ee+=1){var Be=mr(ue=tt[Ee])?ue(_e):ue;for(var Pe in Be)_e[Pe]=Pe==="className"?fr(_e[Pe],Be[Pe]):Pe==="style"?ut(ut({},_e[Pe]),Be[Pe]):Be[Pe]}return We.className&&(_e.className=fr(_e.className,We.className)),_e}(be,P,ae),q=re.as||Q,ce={};for(var ge in re)re[ge]===void 0||ge[0]==="$"||ge==="as"||ge==="theme"&&re.theme===ae||(ge==="forwardedAs"?ce.as=re.forwardedAs:se&&!se(ge,q)||(ce[ge]=re[ge],se||process.env.NODE_ENV!=="development"||hl(ge)||ps.has(ge)||!Vo.has(q)||(ps.add(ge),console.warn('styled-components: it looks like an unknown prop "'.concat(ge,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var G=function(tt,We){var qe=us(),ue=tt.generateAndInjectStyles(We,qe.styleSheet,qe.stylis);return process.env.NODE_ENV!=="production"&&S.useDebugValue(ue),ue}(pe,re);process.env.NODE_ENV!=="production"&&D.warnTooManyClasses&&D.warnTooManyClasses(G);var st=fr(Me,we);return G&&(st+=" "+G),re.className&&(st+=" "+re.className),ce[Co(q)&&!Vo.has(q)?"class":"className"]=st,ce.ref=ve,S.createElement(q,ce)}(k,I,M)}A.displayName=y;var k=S.forwardRef(A);return k.attrs=v,k.componentStyle=E,k.displayName=y,k.shouldForwardProp=T,k.foldedComponentIds=n?fr(o.foldedComponentIds,o.styledComponentId):"",k.styledComponentId=_,k.target=n?o.target:e,Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(I){this._foldedDefaultProps=n?function(M){for(var D=[],P=1;P<arguments.length;P++)D[P-1]=arguments[P];for(var ve=0,be=D;ve<be.length;ve++)zo(M,be[ve],!0);return M}({},o.defaultProps,I):I}}),process.env.NODE_ENV!=="production"&&(Ml(y,_),k.warnTooManyClasses=function(I,M){var D={},P=!1;return function(ve){if(!P&&(D[ve]=!0,Object.keys(D).length>=200)){var be=M?' with the id of "'.concat(M,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(I).concat(be,`.
46
46
  `)+`Consider using the attrs method, together with a style object for frequently changed styles.
47
47
  Example:
48
48
  const Component = styled.div.attrs(props => ({
@@ -51,11 +51,11 @@ Example:
51
51
  },
52
52
  }))\`width: 100%;\`
53
53
 
54
- <Component />`),P=!0,D={}}}}(y,w)),bi(k,function(){return".".concat(k.styledComponentId)}),i&&Ta(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function ms(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var ys=function(e){return Object.assign(e,{isCss:!0})};function vu(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(yr(e)||kr(e))return ys(hr(ms(eo,Ar([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?hr(n):ys(hr(ms(n,t)))}function Go(e,t,r){if(r===void 0&&(r=Rr),!t)throw Xt(1,t);var n=function(o){for(var i=[],s=1;s<arguments.length;s++)i[s-1]=arguments[s];return e(t,r,vu.apply(void 0,Ar([o],i,!1)))};return n.attrs=function(o){return Go(e,t,lt(lt({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return Go(e,t,lt(lt({},r),o))},n}var ja=function(e){return Go(yu,e)},_t=ja;zo.forEach(function(e){_t[e]=ja(e)});process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
54
+ <Component />`),P=!0,D={}}}}(y,_)),yi(k,function(){return".".concat(k.styledComponentId)}),i&&$a(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function hs(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var gs=function(e){return Object.assign(e,{isCss:!0})};function bu(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(mr(e)||Rr(e))return gs(pr(hs(Zn,Tr([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?pr(n):gs(pr(hs(n,t)))}function Wo(e,t,r){if(r===void 0&&(r=Cr),!t)throw Xt(1,t);var n=function(o){for(var i=[],s=1;s<arguments.length;s++)i[s-1]=arguments[s];return e(t,r,bu.apply(void 0,Tr([o],i,!1)))};return n.attrs=function(o){return Wo(e,t,ut(ut({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return Wo(e,t,ut(ut({},r),o))},n}var ka=function(e){return Wo(vu,e)},Qe=ka;Vo.forEach(function(e){Qe[e]=ka(e)});process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
55
55
  Perhaps you're looking to import 'styled-components/native'?
56
- Read more about this at https://www.styled-components.com/docs/basics#react-native`);var An="__sc-".concat(mr,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[An]||(window[An]=0),window[An]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
56
+ Read more about this at https://www.styled-components.com/docs/basics#react-native`);var An="__sc-".concat(gr,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[An]||(window[An]=0),window[An]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
57
57
 
58
- See https://s-c.sh/2BAXzed for more info.`),window[An]+=1);var Ho={exports:{}},Wr={};/**
58
+ See https://s-c.sh/2BAXzed for more info.`),window[An]+=1);var qo={exports:{}},Ur={};/**
59
59
  * @license React
60
60
  * react-jsx-runtime.production.min.js
61
61
  *
@@ -63,7 +63,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[An]+=1);var Ho={exports:{}},W
63
63
  *
64
64
  * This source code is licensed under the MIT license found in the
65
65
  * LICENSE file in the root directory of this source tree.
66
- */var vs;function bu(){if(vs)return Wr;vs=1;var e=E,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(l,u,d){var h,y={},w=null,v=null;d!==void 0&&(w=""+d),u.key!==void 0&&(w=""+u.key),u.ref!==void 0&&(v=u.ref);for(h in u)n.call(u,h)&&!i.hasOwnProperty(h)&&(y[h]=u[h]);if(l&&l.defaultProps)for(h in u=l.defaultProps,u)y[h]===void 0&&(y[h]=u[h]);return{$$typeof:t,type:l,key:w,ref:v,props:y,_owner:o.current}}return Wr.Fragment=r,Wr.jsx=s,Wr.jsxs=s,Wr}var qr={};/**
66
+ */var ms;function wu(){if(ms)return Ur;ms=1;var e=S,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(l,u,d){var h,y={},_=null,v=null;d!==void 0&&(_=""+d),u.key!==void 0&&(_=""+u.key),u.ref!==void 0&&(v=u.ref);for(h in u)n.call(u,h)&&!i.hasOwnProperty(h)&&(y[h]=u[h]);if(l&&l.defaultProps)for(h in u=l.defaultProps,u)y[h]===void 0&&(y[h]=u[h]);return{$$typeof:t,type:l,key:_,ref:v,props:y,_owner:o.current}}return Ur.Fragment=r,Ur.jsx=s,Ur.jsxs=s,Ur}var Wr={};/**
67
67
  * @license React
68
68
  * react-jsx-runtime.development.js
69
69
  *
@@ -71,15 +71,15 @@ See https://s-c.sh/2BAXzed for more info.`),window[An]+=1);var Ho={exports:{}},W
71
71
  *
72
72
  * This source code is licensed under the MIT license found in the
73
73
  * LICENSE file in the root directory of this source tree.
74
- */var bs;function wu(){return bs||(bs=1,process.env.NODE_ENV!=="production"&&function(){var e=E,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),T=Symbol.iterator,x="@@iterator";function O(f){if(f===null||typeof f!="object")return null;var b=T&&f[T]||f[x];return typeof b=="function"?b:null}var A=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function C(f){{for(var b=arguments.length,$=new Array(b>1?b-1:0),F=1;F<b;F++)$[F-1]=arguments[F];k("error",f,$)}}function k(f,b,$){{var F=A.ReactDebugCurrentFrame,ie=F.getStackAddendum();ie!==""&&(b+="%s",$=$.concat([ie]));var te=$.map(function(K){return String(K)});te.unshift("Warning: "+b),Function.prototype.apply.call(console[f],console,te)}}var I=!1,M=!1,D=!1,P=!1,ve=!1,be;be=Symbol.for("react.module.reference");function pe(f){return!!(typeof f=="string"||typeof f=="function"||f===n||f===i||ve||f===o||f===d||f===h||P||f===v||I||M||D||typeof f=="object"&&f!==null&&(f.$$typeof===w||f.$$typeof===y||f.$$typeof===s||f.$$typeof===l||f.$$typeof===u||f.$$typeof===be||f.getModuleId!==void 0))}function Ne(f,b,$){var F=f.displayName;if(F)return F;var ie=b.displayName||b.name||"";return ie!==""?$+"("+ie+")":$}function Me(f){return f.displayName||"Context"}function we(f){if(f==null)return null;if(typeof f.tag=="number"&&C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case d:return"Suspense";case h:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case l:var b=f;return Me(b)+".Consumer";case s:var $=f;return Me($._context)+".Provider";case u:return Ne(f,f.render,"ForwardRef");case y:var F=f.displayName||null;return F!==null?F:we(f.type)||"Memo";case w:{var ie=f,te=ie._payload,K=ie._init;try{return we(K(te))}catch{return null}}}return null}var J=Object.assign,Ee=0,se,ae,ce,re,q,le,ge;function G(){}G.__reactDisabledLog=!0;function it(){{if(Ee===0){se=console.log,ae=console.info,ce=console.warn,re=console.error,q=console.group,le=console.groupCollapsed,ge=console.groupEnd;var f={configurable:!0,enumerable:!0,value:G,writable:!0};Object.defineProperties(console,{info:f,log:f,warn:f,error:f,group:f,groupCollapsed:f,groupEnd:f})}Ee++}}function et(){{if(Ee--,Ee===0){var f={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:J({},f,{value:se}),info:J({},f,{value:ae}),warn:J({},f,{value:ce}),error:J({},f,{value:re}),group:J({},f,{value:q}),groupCollapsed:J({},f,{value:le}),groupEnd:J({},f,{value:ge})})}Ee<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var We=A.ReactCurrentDispatcher,qe;function fe(f,b,$){{if(qe===void 0)try{throw Error()}catch(ie){var F=ie.stack.trim().match(/\n( *(at )?)/);qe=F&&F[1]||""}return`
75
- `+qe+f}}var _e=!1,$e;{var Be=typeof WeakMap=="function"?WeakMap:Map;$e=new Be}function Pe(f,b){if(!f||_e)return"";{var $=$e.get(f);if($!==void 0)return $}var F;_e=!0;var ie=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var te;te=We.current,We.current=null,it();try{if(b){var K=function(){throw Error()};if(Object.defineProperty(K.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(K,[])}catch(nt){F=nt}Reflect.construct(f,[],K)}else{try{K.call()}catch(nt){F=nt}f.call(K.prototype)}}else{try{throw Error()}catch(nt){F=nt}f()}}catch(nt){if(nt&&F&&typeof nt.stack=="string"){for(var Y=nt.stack.split(`
74
+ */var ys;function _u(){return ys||(ys=1,process.env.NODE_ENV!=="production"&&function(){var e=S,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),T=Symbol.iterator,O="@@iterator";function R(f){if(f===null||typeof f!="object")return null;var b=T&&f[T]||f[O];return typeof b=="function"?b:null}var E=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function A(f){{for(var b=arguments.length,$=new Array(b>1?b-1:0),F=1;F<b;F++)$[F-1]=arguments[F];k("error",f,$)}}function k(f,b,$){{var F=E.ReactDebugCurrentFrame,oe=F.getStackAddendum();oe!==""&&(b+="%s",$=$.concat([oe]));var te=$.map(function(J){return String(J)});te.unshift("Warning: "+b),Function.prototype.apply.call(console[f],console,te)}}var I=!1,M=!1,D=!1,P=!1,ve=!1,be;be=Symbol.for("react.module.reference");function pe(f){return!!(typeof f=="string"||typeof f=="function"||f===n||f===i||ve||f===o||f===d||f===h||P||f===v||I||M||D||typeof f=="object"&&f!==null&&(f.$$typeof===_||f.$$typeof===y||f.$$typeof===s||f.$$typeof===l||f.$$typeof===u||f.$$typeof===be||f.getModuleId!==void 0))}function Ne(f,b,$){var F=f.displayName;if(F)return F;var oe=b.displayName||b.name||"";return oe!==""?$+"("+oe+")":$}function Me(f){return f.displayName||"Context"}function we(f){if(f==null)return null;if(typeof f.tag=="number"&&A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case d:return"Suspense";case h:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case l:var b=f;return Me(b)+".Consumer";case s:var $=f;return Me($._context)+".Provider";case u:return Ne(f,f.render,"ForwardRef");case y:var F=f.displayName||null;return F!==null?F:we(f.type)||"Memo";case _:{var oe=f,te=oe._payload,J=oe._init;try{return we(J(te))}catch{return null}}}return null}var Q=Object.assign,$e=0,ie,se,ae,re,q,ce,ge;function G(){}G.__reactDisabledLog=!0;function st(){{if($e===0){ie=console.log,se=console.info,ae=console.warn,re=console.error,q=console.group,ce=console.groupCollapsed,ge=console.groupEnd;var f={configurable:!0,enumerable:!0,value:G,writable:!0};Object.defineProperties(console,{info:f,log:f,warn:f,error:f,group:f,groupCollapsed:f,groupEnd:f})}$e++}}function tt(){{if($e--,$e===0){var f={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Q({},f,{value:ie}),info:Q({},f,{value:se}),warn:Q({},f,{value:ae}),error:Q({},f,{value:re}),group:Q({},f,{value:q}),groupCollapsed:Q({},f,{value:ce}),groupEnd:Q({},f,{value:ge})})}$e<0&&A("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var We=E.ReactCurrentDispatcher,qe;function ue(f,b,$){{if(qe===void 0)try{throw Error()}catch(oe){var F=oe.stack.trim().match(/\n( *(at )?)/);qe=F&&F[1]||""}return`
75
+ `+qe+f}}var _e=!1,Ee;{var Be=typeof WeakMap=="function"?WeakMap:Map;Ee=new Be}function Pe(f,b){if(!f||_e)return"";{var $=Ee.get(f);if($!==void 0)return $}var F;_e=!0;var oe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var te;te=We.current,We.current=null,st();try{if(b){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(ot){F=ot}Reflect.construct(f,[],J)}else{try{J.call()}catch(ot){F=ot}f.call(J.prototype)}}else{try{throw Error()}catch(ot){F=ot}f()}}catch(ot){if(ot&&F&&typeof ot.stack=="string"){for(var Y=ot.stack.split(`
76
76
  `),De=F.stack.split(`
77
- `),B=Y.length-1,ue=De.length-1;B>=1&&ue>=0&&Y[B]!==De[ue];)ue--;for(;B>=1&&ue>=0;B--,ue--)if(Y[B]!==De[ue]){if(B!==1||ue!==1)do if(B--,ue--,ue<0||Y[B]!==De[ue]){var Ce=`
78
- `+Y[B].replace(" at new "," at ");return f.displayName&&Ce.includes("<anonymous>")&&(Ce=Ce.replace("<anonymous>",f.displayName)),typeof f=="function"&&$e.set(f,Ce),Ce}while(B>=1&&ue>=0);break}}}finally{_e=!1,We.current=te,et(),Error.prepareStackTrace=ie}var Xe=f?f.displayName||f.name:"",Yt=Xe?fe(Xe):"";return typeof f=="function"&&$e.set(f,Yt),Yt}function ut(f,b,$){return Pe(f,!1)}function kt(f){var b=f.prototype;return!!(b&&b.isReactComponent)}function Te(f,b,$){if(f==null)return"";if(typeof f=="function")return Pe(f,kt(f));if(typeof f=="string")return fe(f);switch(f){case d:return fe("Suspense");case h:return fe("SuspenseList")}if(typeof f=="object")switch(f.$$typeof){case u:return ut(f.render);case y:return Te(f.type,b,$);case w:{var F=f,ie=F._payload,te=F._init;try{return Te(te(ie),b,$)}catch{}}}return""}var ft=Object.prototype.hasOwnProperty,Qe={},dt=A.ReactDebugCurrentFrame;function de(f){if(f){var b=f._owner,$=Te(f.type,f._source,b?b.type:null);dt.setExtraStackFrame($)}else dt.setExtraStackFrame(null)}function pt(f,b,$,F,ie){{var te=Function.call.bind(ft);for(var K in f)if(te(f,K)){var Y=void 0;try{if(typeof f[K]!="function"){var De=Error((F||"React class")+": "+$+" type `"+K+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof f[K]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw De.name="Invariant Violation",De}Y=f[K](b,K,F,$,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(B){Y=B}Y&&!(Y instanceof Error)&&(de(ie),C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",F||"React class",$,K,typeof Y),de(null)),Y instanceof Error&&!(Y.message in Qe)&&(Qe[Y.message]=!0,de(ie),C("Failed %s type: %s",$,Y.message),de(null))}}}var ht=Array.isArray;function gt(f){return ht(f)}function Ct(f){{var b=typeof Symbol=="function"&&Symbol.toStringTag,$=b&&f[Symbol.toStringTag]||f.constructor.name||"Object";return $}}function tt(f){try{return st(f),!1}catch{return!0}}function st(f){return""+f}function mt(f){if(tt(f))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ct(f)),st(f)}var Je=A.ReactCurrentOwner,xt={key:!0,ref:!0,__self:!0,__source:!0},St,Pt,Ge;Ge={};function jt(f){if(ft.call(f,"ref")){var b=Object.getOwnPropertyDescriptor(f,"ref").get;if(b&&b.isReactWarning)return!1}return f.ref!==void 0}function rt(f){if(ft.call(f,"key")){var b=Object.getOwnPropertyDescriptor(f,"key").get;if(b&&b.isReactWarning)return!1}return f.key!==void 0}function xe(f,b){if(typeof f.ref=="string"&&Je.current&&b&&Je.current.stateNode!==b){var $=we(Je.current.type);Ge[$]||(C('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',we(Je.current.type),f.ref),Ge[$]=!0)}}function Nt(f,b){{var $=function(){St||(St=!0,C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",b))};$.isReactWarning=!0,Object.defineProperty(f,"key",{get:$,configurable:!0})}}function Ft(f,b){{var $=function(){Pt||(Pt=!0,C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",b))};$.isReactWarning=!0,Object.defineProperty(f,"ref",{get:$,configurable:!0})}}var yt=function(f,b,$,F,ie,te,K){var Y={$$typeof:t,type:f,key:b,ref:$,props:K,_owner:te};return Y._store={},Object.defineProperty(Y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.defineProperty(Y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ie}),Object.freeze&&(Object.freeze(Y.props),Object.freeze(Y)),Y};function vt(f,b,$,F,ie){{var te,K={},Y=null,De=null;$!==void 0&&(mt($),Y=""+$),rt(b)&&(mt(b.key),Y=""+b.key),jt(b)&&(De=b.ref,xe(b,ie));for(te in b)ft.call(b,te)&&!xt.hasOwnProperty(te)&&(K[te]=b[te]);if(f&&f.defaultProps){var B=f.defaultProps;for(te in B)K[te]===void 0&&(K[te]=B[te])}if(Y||De){var ue=typeof f=="function"?f.displayName||f.name||"Unknown":f;Y&&Nt(K,ue),De&&Ft(K,ue)}return yt(f,Y,De,ie,F,Je.current,K)}}var He=A.ReactCurrentOwner,at=A.ReactDebugCurrentFrame;function ze(f){if(f){var b=f._owner,$=Te(f.type,f._source,b?b.type:null);at.setExtraStackFrame($)}else at.setExtraStackFrame(null)}var Ye;Ye=!1;function Et(f){return typeof f=="object"&&f!==null&&f.$$typeof===t}function Se(){{if(He.current){var f=we(He.current.type);if(f)return`
77
+ `),B=Y.length-1,le=De.length-1;B>=1&&le>=0&&Y[B]!==De[le];)le--;for(;B>=1&&le>=0;B--,le--)if(Y[B]!==De[le]){if(B!==1||le!==1)do if(B--,le--,le<0||Y[B]!==De[le]){var Ce=`
78
+ `+Y[B].replace(" at new "," at ");return f.displayName&&Ce.includes("<anonymous>")&&(Ce=Ce.replace("<anonymous>",f.displayName)),typeof f=="function"&&Ee.set(f,Ce),Ce}while(B>=1&&le>=0);break}}}finally{_e=!1,We.current=te,tt(),Error.prepareStackTrace=oe}var Ze=f?f.displayName||f.name:"",Yt=Ze?ue(Ze):"";return typeof f=="function"&&Ee.set(f,Yt),Yt}function ft(f,b,$){return Pe(f,!1)}function Rt(f){var b=f.prototype;return!!(b&&b.isReactComponent)}function Te(f,b,$){if(f==null)return"";if(typeof f=="function")return Pe(f,Rt(f));if(typeof f=="string")return ue(f);switch(f){case d:return ue("Suspense");case h:return ue("SuspenseList")}if(typeof f=="object")switch(f.$$typeof){case u:return ft(f.render);case y:return Te(f.type,b,$);case _:{var F=f,oe=F._payload,te=F._init;try{return Te(te(oe),b,$)}catch{}}}return""}var dt=Object.prototype.hasOwnProperty,Je={},pt=E.ReactDebugCurrentFrame;function fe(f){if(f){var b=f._owner,$=Te(f.type,f._source,b?b.type:null);pt.setExtraStackFrame($)}else pt.setExtraStackFrame(null)}function ht(f,b,$,F,oe){{var te=Function.call.bind(dt);for(var J in f)if(te(f,J)){var Y=void 0;try{if(typeof f[J]!="function"){var De=Error((F||"React class")+": "+$+" type `"+J+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof f[J]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw De.name="Invariant Violation",De}Y=f[J](b,J,F,$,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(B){Y=B}Y&&!(Y instanceof Error)&&(fe(oe),A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",F||"React class",$,J,typeof Y),fe(null)),Y instanceof Error&&!(Y.message in Je)&&(Je[Y.message]=!0,fe(oe),A("Failed %s type: %s",$,Y.message),fe(null))}}}var gt=Array.isArray;function mt(f){return gt(f)}function Ot(f){{var b=typeof Symbol=="function"&&Symbol.toStringTag,$=b&&f[Symbol.toStringTag]||f.constructor.name||"Object";return $}}function rt(f){try{return at(f),!1}catch{return!0}}function at(f){return""+f}function yt(f){if(rt(f))return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ot(f)),at(f)}var Ke=E.ReactCurrentOwner,xt={key:!0,ref:!0,__self:!0,__source:!0},St,kt,Ge;Ge={};function Pt(f){if(dt.call(f,"ref")){var b=Object.getOwnPropertyDescriptor(f,"ref").get;if(b&&b.isReactWarning)return!1}return f.ref!==void 0}function nt(f){if(dt.call(f,"key")){var b=Object.getOwnPropertyDescriptor(f,"key").get;if(b&&b.isReactWarning)return!1}return f.key!==void 0}function xe(f,b){if(typeof f.ref=="string"&&Ke.current&&b&&Ke.current.stateNode!==b){var $=we(Ke.current.type);Ge[$]||(A('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',we(Ke.current.type),f.ref),Ge[$]=!0)}}function Dt(f,b){{var $=function(){St||(St=!0,A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",b))};$.isReactWarning=!0,Object.defineProperty(f,"key",{get:$,configurable:!0})}}function Nt(f,b){{var $=function(){kt||(kt=!0,A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",b))};$.isReactWarning=!0,Object.defineProperty(f,"ref",{get:$,configurable:!0})}}var vt=function(f,b,$,F,oe,te,J){var Y={$$typeof:t,type:f,key:b,ref:$,props:J,_owner:te};return Y._store={},Object.defineProperty(Y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.defineProperty(Y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:oe}),Object.freeze&&(Object.freeze(Y.props),Object.freeze(Y)),Y};function bt(f,b,$,F,oe){{var te,J={},Y=null,De=null;$!==void 0&&(yt($),Y=""+$),nt(b)&&(yt(b.key),Y=""+b.key),Pt(b)&&(De=b.ref,xe(b,oe));for(te in b)dt.call(b,te)&&!xt.hasOwnProperty(te)&&(J[te]=b[te]);if(f&&f.defaultProps){var B=f.defaultProps;for(te in B)J[te]===void 0&&(J[te]=B[te])}if(Y||De){var le=typeof f=="function"?f.displayName||f.name||"Unknown":f;Y&&Dt(J,le),De&&Nt(J,le)}return vt(f,Y,De,oe,F,Ke.current,J)}}var He=E.ReactCurrentOwner,ct=E.ReactDebugCurrentFrame;function ze(f){if(f){var b=f._owner,$=Te(f.type,f._source,b?b.type:null);ct.setExtraStackFrame($)}else ct.setExtraStackFrame(null)}var Ye;Ye=!1;function $t(f){return typeof f=="object"&&f!==null&&f.$$typeof===t}function Se(){{if(He.current){var f=we(He.current.type);if(f)return`
79
79
 
80
- Check the render method of \``+f+"`."}return""}}function Ke(f){return""}var N={};function Z(f){{var b=Se();if(!b){var $=typeof f=="string"?f:f.displayName||f.name;$&&(b=`
80
+ Check the render method of \``+f+"`."}return""}}function Xe(f){return""}var N={};function Z(f){{var b=Se();if(!b){var $=typeof f=="string"?f:f.displayName||f.name;$&&(b=`
81
81
 
82
- Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(!f._store||f._store.validated||f.key!=null)return;f._store.validated=!0;var $=Z(b);if(N[$])return;N[$]=!0;var F="";f&&f._owner&&f._owner!==He.current&&(F=" It was passed a child from "+we(f._owner.type)+"."),ze(f),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',$,F),ze(null)}}function bt(f,b){{if(typeof f!="object")return;if(gt(f))for(var $=0;$<f.length;$++){var F=f[$];Et(F)&&je(F,b)}else if(Et(f))f._store&&(f._store.validated=!0);else if(f){var ie=O(f);if(typeof ie=="function"&&ie!==f.entries)for(var te=ie.call(f),K;!(K=te.next()).done;)Et(K.value)&&je(K.value,b)}}}function R(f){{var b=f.type;if(b==null||typeof b=="string")return;var $;if(typeof b=="function")$=b.propTypes;else if(typeof b=="object"&&(b.$$typeof===u||b.$$typeof===y))$=b.propTypes;else return;if($){var F=we(b);pt($,f.props,"prop",F,f)}else if(b.PropTypes!==void 0&&!Ye){Ye=!0;var ie=we(b);C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ie||"Unknown")}typeof b.getDefaultProps=="function"&&!b.getDefaultProps.isReactClassApproved&&C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function V(f){{for(var b=Object.keys(f.props),$=0;$<b.length;$++){var F=b[$];if(F!=="children"&&F!=="key"){ze(f),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",F),ze(null);break}}f.ref!==null&&(ze(f),C("Invalid attribute `ref` supplied to `React.Fragment`."),ze(null))}}function z(f,b,$,F,ie,te){{var K=pe(f);if(!K){var Y="";(f===void 0||typeof f=="object"&&f!==null&&Object.keys(f).length===0)&&(Y+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var De=Ke();De?Y+=De:Y+=Se();var B;f===null?B="null":gt(f)?B="array":f!==void 0&&f.$$typeof===t?(B="<"+(we(f.type)||"Unknown")+" />",Y=" Did you accidentally export a JSX literal instead of a component?"):B=typeof f,C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",B,Y)}var ue=vt(f,b,$,ie,te);if(ue==null)return ue;if(K){var Ce=b.children;if(Ce!==void 0)if(F)if(gt(Ce)){for(var Xe=0;Xe<Ce.length;Xe++)bt(Ce[Xe],f);Object.freeze&&Object.freeze(Ce)}else C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else bt(Ce,f)}return f===n?V(ue):R(ue),ue}}function Ae(f,b,$){return z(f,b,$,!0)}function Le(f,b,$){return z(f,b,$,!1)}var ct=Le,Oe=Ae;qr.Fragment=n,qr.jsx=ct,qr.jsxs=Oe}()),qr}process.env.NODE_ENV==="production"?Ho.exports=bu():Ho.exports=wu();var Q=Ho.exports;const _u={25:"#fcfcfd",50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#2f394b",800:"#212a36",900:"#161b25"},xu={25:"#fef2f3",50:"#fddfe2",100:"#fbbac0",200:"#f9959e",300:"#f65e6a",400:"#f32637",500:"#bf0b1a",600:"#ac0a17",700:"#9a0915",800:"#870812",900:"#750710"},Su={25:"",50:"",100:"#ffe6ff",200:"",300:"#b8075d",400:"",500:"#7f0540",600:"",700:"#59042d",800:"",900:"#460323"},Eu={25:"",50:"#fef3f2",100:"",200:"#fecdca",300:"",400:"",500:"#f04438",600:"",700:"#b42318",800:"",900:""},$u={25:"",50:"#fffaeb",100:"",200:"#fef0c7",300:"",400:"#ffd562",500:"#fdb022",600:"#dc6803",700:"#b54708",800:"",900:""},Tu={25:"",50:"#f6fef9",100:"",200:"#a6f4c5",300:"",400:"",500:"#12b76a",600:"",700:"#027a48",800:"",900:""},Au={25:"",50:"#eff8ff",100:"",200:"#b2ddff",300:"",400:"",500:"#2e90fa",600:"",700:"#175cd3",800:"",900:""},Ou={"01":"linear-gradient(45deg, #f32637 0%, #b8075d 100%)","02":"linear-gradient(45deg, #fcfcfd 0%, #667085 100%)"},Cu={type:{primary:"Roboto, sans-serif",poppins:"'Poppins', sans-serif",mono:"'Space Mono', monospace"},heading:{xxl:"64px",xl:"48px",lg:"32px",md:"24px",sm:"20px",xs:"16px"},text:{xl:"20px",lg:"18px",md:"16px",sm:"14px",xs:"12px"},weight:{bold:"700",semibold:"600",regular:"400"}},Ru={none:"none",sm:"0px 1px 2px 0px rgba(16, 24, 40, 0.15)",md:"0px 4px 6px 0px rgba(16, 24, 40, 0.15)",lg:"0px 8px 24px 0px rgba(16, 24, 40, 0.15)"},ku={mobile:"360px",tablet:"960px",sm:"1024px",md:"1440px",lg:"1920px"},Pu={0:"0rem",.125:"0.125rem",.25:"0.25rem",.5:"0.5rem",.625:"0.625rem",.75:"0.75rem",1:"1rem",1.25:"1.25rem",1.5:"1.5rem",1.75:"1.75rem",2:"2rem",2.25:"2.25rem",2.5:"2.5rem",3:"3rem",3.5:"3.5rem",4:"4rem",4.5:"4.5rem",5:"5rem",6:"6rem"},ju=["lock-keyhole","bolt","books","brain-circuit","briefcase","bug","buildings","bullseye-pointer","calendar-clock","calendar-xmark","chart-network","clipboard-check","clouds","comment","envelope","eye","file","flag","globe","hand-holding-dollar","hands-clapping","headset","hexagon-exclamation","light-emergency-on","magnifying-glass","pen-line","plane-departure","screwdriver-wrench","sensor-triangle-exclamation","shield-check","shield","skull","sliders","star-christmas","telescope","trash","unlock","user-group","user-hoodie","xmark"],Iu=[["fal","arrow-down"],["fal","arrow-left"],["fal","arrow-right"],["fal","arrow-up"],["fal","plus"],["fal","minus"],["fas","check"],["fas","circle-question"]],oe={typography:Cu,shadows:Ru,breakpoints:ku,spacing:Pu,palette:{primary:xu,complementary:Su,error:Eu,info:Au,warning:$u,success:Tu,black:"#0c111d",white:"#ffffff",gray:_u,gradients:Ou}},Mu=({children:e})=>Q.jsx(mu,{theme:oe,children:e}),W=(e,t)=>t===void 0?"":`${e}: ${t};`,Zr=e=>{const t=e.py??e.pt??0,r=e.px??e.pr??0,n=e.py??e.pb??0,o=e.px??e.pl??0;if(e.padding){const[i,s,l,u]=e.padding;return`padding: ${oe.spacing[i]} ${oe.spacing[s]} ${oe.spacing[l]} ${oe.spacing[u]};`}return`padding: ${oe.spacing[t]} ${oe.spacing[r]} ${oe.spacing[n]} ${oe.spacing[o]};`},en=e=>{const t=e.my??e.mt??0,r=e.mx??e.mr??0,n=e.my??e.mb??0,o=e.mx??e.ml??0;if(e.margin){const[i,s,l,u]=e.margin;return`margin: ${oe.spacing[i]} ${oe.spacing[s]} ${oe.spacing[l]} ${oe.spacing[u]};`}return`margin: ${oe.spacing[t]} ${oe.spacing[r]} ${oe.spacing[n]} ${oe.spacing[o]};`},tn=e=>{const t=W("position",e.position),r=W("top",e.top),n=W("right",e.right),o=W("bottom",e.bottom),i=W("left",e.left),s=W("z-index",e.zIndex);return`
82
+ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(!f._store||f._store.validated||f.key!=null)return;f._store.validated=!0;var $=Z(b);if(N[$])return;N[$]=!0;var F="";f&&f._owner&&f._owner!==He.current&&(F=" It was passed a child from "+we(f._owner.type)+"."),ze(f),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',$,F),ze(null)}}function wt(f,b){{if(typeof f!="object")return;if(mt(f))for(var $=0;$<f.length;$++){var F=f[$];$t(F)&&je(F,b)}else if($t(f))f._store&&(f._store.validated=!0);else if(f){var oe=R(f);if(typeof oe=="function"&&oe!==f.entries)for(var te=oe.call(f),J;!(J=te.next()).done;)$t(J.value)&&je(J.value,b)}}}function C(f){{var b=f.type;if(b==null||typeof b=="string")return;var $;if(typeof b=="function")$=b.propTypes;else if(typeof b=="object"&&(b.$$typeof===u||b.$$typeof===y))$=b.propTypes;else return;if($){var F=we(b);ht($,f.props,"prop",F,f)}else if(b.PropTypes!==void 0&&!Ye){Ye=!0;var oe=we(b);A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",oe||"Unknown")}typeof b.getDefaultProps=="function"&&!b.getDefaultProps.isReactClassApproved&&A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function V(f){{for(var b=Object.keys(f.props),$=0;$<b.length;$++){var F=b[$];if(F!=="children"&&F!=="key"){ze(f),A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",F),ze(null);break}}f.ref!==null&&(ze(f),A("Invalid attribute `ref` supplied to `React.Fragment`."),ze(null))}}function z(f,b,$,F,oe,te){{var J=pe(f);if(!J){var Y="";(f===void 0||typeof f=="object"&&f!==null&&Object.keys(f).length===0)&&(Y+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var De=Xe();De?Y+=De:Y+=Se();var B;f===null?B="null":mt(f)?B="array":f!==void 0&&f.$$typeof===t?(B="<"+(we(f.type)||"Unknown")+" />",Y=" Did you accidentally export a JSX literal instead of a component?"):B=typeof f,A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",B,Y)}var le=bt(f,b,$,oe,te);if(le==null)return le;if(J){var Ce=b.children;if(Ce!==void 0)if(F)if(mt(Ce)){for(var Ze=0;Ze<Ce.length;Ze++)wt(Ce[Ze],f);Object.freeze&&Object.freeze(Ce)}else A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else wt(Ce,f)}return f===n?V(le):C(le),le}}function Ae(f,b,$){return z(f,b,$,!0)}function Le(f,b,$){return z(f,b,$,!1)}var lt=Le,Oe=Ae;Wr.Fragment=n,Wr.jsx=lt,Wr.jsxs=Oe}()),Wr}process.env.NODE_ENV==="production"?qo.exports=wu():qo.exports=_u();var K=qo.exports;const xu={25:"#fcfcfd",50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#2f394b",800:"#212a36",900:"#161b25"},Su={25:"#fef2f3",50:"#fddfe2",100:"#fbbac0",200:"#f9959e",300:"#f65e6a",400:"#f32637",500:"#bf0b1a",600:"#ac0a17",700:"#9a0915",800:"#870812",900:"#750710"},$u={25:"",50:"",100:"#ffe6ff",200:"",300:"#b8075d",400:"",500:"#7f0540",600:"",700:"#59042d",800:"",900:"#460323"},Eu={25:"",50:"#fef3f2",100:"",200:"#fecdca",300:"",400:"",500:"#f04438",600:"",700:"#b42318",800:"",900:""},Tu={25:"",50:"#fffaeb",100:"",200:"#fef0c7",300:"",400:"#ffd562",500:"#fdb022",600:"#dc6803",700:"#b54708",800:"",900:""},Au={25:"",50:"#f6fef9",100:"",200:"#a6f4c5",300:"",400:"",500:"#12b76a",600:"",700:"#027a48",800:"",900:""},Ou={25:"",50:"#eff8ff",100:"",200:"#b2ddff",300:"",400:"",500:"#2e90fa",600:"",700:"#175cd3",800:"",900:""},Cu={"01":"linear-gradient(45deg, #f32637 0%, #b8075d 100%)","02":"linear-gradient(45deg, #fcfcfd 0%, #667085 100%)"},Ru={type:{primary:"Roboto, sans-serif",poppins:"'Poppins', sans-serif",mono:"'Space Mono', monospace"},heading:{xxl:"64px",xl:"48px",lg:"32px",md:"24px",sm:"20px",xs:"16px"},text:{xl:"20px",lg:"18px",md:"16px",sm:"14px",xs:"12px"},weight:{bold:"700",semibold:"600",regular:"400"}},ku={none:"none",sm:"0px 1px 2px 0px rgba(16, 24, 40, 0.15)",md:"0px 4px 6px 0px rgba(16, 24, 40, 0.15)",lg:"0px 8px 24px 0px rgba(16, 24, 40, 0.15)"},Pu={mobile:"480px",tablet:"960px",sm:"1024px",md:"1440px",lg:"1920px"},ju={0:"0rem",.125:"0.125rem",.25:"0.25rem",.5:"0.5rem",.625:"0.625rem",.75:"0.75rem",1:"1rem",1.25:"1.25rem",1.5:"1.5rem",1.75:"1.75rem",2:"2rem",2.25:"2.25rem",2.5:"2.5rem",3:"3rem",3.5:"3.5rem",4:"4rem",4.5:"4.5rem",5:"5rem",6:"6rem"},Iu=["lock-keyhole","bolt","books","brain-circuit","briefcase","bug","buildings","bullseye-pointer","calendar-clock","calendar-xmark","chart-network","clipboard-check","clouds","comment","envelope","eye","file","flag","globe","hand-holding-dollar","hands-clapping","headset","hexagon-exclamation","light-emergency-on","magnifying-glass","pen-line","plane-departure","screwdriver-wrench","sensor-triangle-exclamation","shield-check","shield","skull","sliders","star-christmas","telescope","trash","unlock","user-group","user-hoodie","xmark"],Mu=[["fal","arrow-down"],["fal","arrow-left"],["fal","arrow-right"],["fal","arrow-up"],["fal","plus"],["fal","minus"],["fas","check"],["fas","circle-question"]],de={typography:Ru,shadows:ku,breakpoints:Pu,spacing:ju,palette:{primary:Su,complementary:$u,error:Eu,info:Ou,warning:Tu,success:Au,black:"#0c111d",white:"#ffffff",gray:xu,gradients:Cu}},Lu=({children:e})=>K.jsx(yu,{theme:de,children:e}),W=(e,t)=>t===void 0?"":`${e}: ${t};`,Zr=e=>{const t=e.py??e.pt??0,r=e.px??e.pr??0,n=e.py??e.pb??0,o=e.px??e.pl??0;if(e.padding){const[i,s,l,u]=e.padding;return`padding: ${de.spacing[i]} ${de.spacing[s]} ${de.spacing[l]} ${de.spacing[u]};`}return`padding: ${de.spacing[t]} ${de.spacing[r]} ${de.spacing[n]} ${de.spacing[o]};`},en=e=>{const t=e.my??e.mt??0,r=e.mx??e.mr??0,n=e.my??e.mb??0,o=e.mx??e.ml??0;if(e.margin){const[i,s,l,u]=e.margin;return`margin: ${de.spacing[i]} ${de.spacing[s]} ${de.spacing[l]} ${de.spacing[u]};`}return`margin: ${de.spacing[t]} ${de.spacing[r]} ${de.spacing[n]} ${de.spacing[o]};`},tn=e=>{const t=W("position",e.position),r=W("top",e.top),n=W("right",e.right),o=W("bottom",e.bottom),i=W("left",e.left),s=W("z-index",e.zIndex);return`
83
83
  ${t}
84
84
  ${r}
85
85
  ${n}
@@ -94,10 +94,10 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
94
94
  ${i}
95
95
  ${s}
96
96
  ${l}
97
- `},Lu=e=>e.includes("x")?"overflow-x: auto;":"",Du=e=>e.includes("y")?"overflow-y: auto;":"",nn=e=>{const t=e.scroll?`
98
- ${Lu(e.scroll)}
97
+ `},Du=e=>e.includes("x")?"overflow-x: auto;":"",Nu=e=>e.includes("y")?"overflow-y: auto;":"",nn=e=>{const t=e.scroll?`
99
98
  ${Du(e.scroll)}
100
- `:"",r=W("visibility",e.visibility),n=W("display",e.display),o=W("height",e.height),i=W("width",e.width),s=W("max-height",e.maxHeight),l=W("max-width",e.maxWidth),u=W("min-height",e.minHeight),d=W("min-width",e.minWidth),h=W("box-shadow",e.shadow?oe.shadows[e.shadow]:void 0),y=W("gap",e.gap===void 0?void 0:oe.spacing[e.gap]),w=W("background-color",e.bgColor),v=W("background",e.bgGradient),T=W("flex-direction",e.flexDirection),x=W("flex-grow",e.flexGrow),O=W("justify-content",e.justify),A=W("justify-self",e.justifySelf),C=W("align-items",e.alignItems),k=W("align-self",e.alignSelf),I=W("flex-wrap",e.wrap);return`
99
+ ${Nu(e.scroll)}
100
+ `:"",r=W("visibility",e.visibility),n=W("display",e.display),o=W("height",e.height),i=W("width",e.width),s=W("max-height",e.maxHeight),l=W("max-width",e.maxWidth),u=W("min-height",e.minHeight),d=W("min-width",e.minWidth),h=W("box-shadow",e.shadow?de.shadows[e.shadow]:void 0),y=W("gap",e.gap===void 0?void 0:de.spacing[e.gap]),_=W("background-color",e.bgColor),v=W("background",e.bgGradient),T=W("flex-direction",e.flexDirection),O=W("flex-grow",e.flexGrow),R=W("justify-content",e.justify),E=W("justify-self",e.justifySelf),A=W("align-items",e.alignItems),k=W("align-self",e.alignSelf),I=W("flex-wrap",e.wrap);return`
101
101
  ${t}
102
102
  ${r}
103
103
  ${n}
@@ -108,17 +108,17 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
108
108
  ${u}
109
109
  ${d}
110
110
  ${h}
111
- ${w}
111
+ ${_}
112
112
  ${v}
113
113
  ${y}
114
114
  ${T}
115
- ${x}
116
115
  ${O}
116
+ ${R}
117
+ ${E}
117
118
  ${A}
118
- ${C}
119
119
  ${k}
120
120
  ${I}
121
- `},on=e=>{const t=W("color",e.color),r=W("font-family",e.fontFamily),n=W("font-size",e.fontSize),o=W("font-weight",e.fontWeight),i=W("line-spacing",e.letterSpacing),s=W("line-height",e.lineSpacing),l=W("text-align",e.textAlign),u=W("text-decoration",e.textDecoration),d=W("text-overflow",e.textOverflow),h=W("white-space",e.whiteSpace),y=W("word-break",e.wordBreak),w=W("word-wrap",e.wordWrap);return`
121
+ `},on=e=>{const t=W("color",e.color),r=W("font-family",e.fontFamily),n=W("font-size",e.fontSize),o=W("font-weight",e.fontWeight),i=W("line-spacing",e.letterSpacing),s=W("line-height",e.lineSpacing),l=W("text-align",e.textAlign),u=W("text-decoration",e.textDecoration),d=W("text-overflow",e.textOverflow),h=W("white-space",e.whiteSpace),y=W("word-break",e.wordBreak),_=W("word-wrap",e.wordWrap);return`
122
122
  ${t}
123
123
  ${r}
124
124
  ${n}
@@ -130,8 +130,8 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
130
130
  ${d}
131
131
  ${h}
132
132
  ${y}
133
- ${w}
134
- `},sn=e=>{const t=W("cursor",e.cursor),r=W("border-color",e.borderColorHover),n=W("background-color",e.bgColorHover),o=W("box-shadow",e.shadowHover===void 0?void 0:oe.shadows[e.shadowHover]),i=W("transition",e.transition);return`
133
+ ${_}
134
+ `},sn=e=>{const t=W("cursor",e.cursor),r=W("border-color",e.borderColorHover),n=W("background-color",e.bgColorHover),o=W("box-shadow",e.shadowHover===void 0?void 0:de.shadows[e.shadowHover]),i=W("transition",e.transition);return`
135
135
  ${t}
136
136
 
137
137
  &:hover {
@@ -140,7 +140,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
140
140
  ${n}
141
141
  ${o}
142
142
  }
143
- `},an=()=>({shouldForwardProp:e=>!la.includes(e)}),to=_t.div.withConfig(an())`
143
+ `},an=()=>({shouldForwardProp:e=>!aa.includes(e)}),eo=Qe.div.withConfig(an())`
144
144
  ${Zr}
145
145
  ${en}
146
146
  ${tn}
@@ -148,7 +148,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
148
148
  ${on}
149
149
  ${rn}
150
150
  ${sn}
151
- `,Ia=_t.button.withConfig(an())`
151
+ `,Pa=Qe.button.withConfig(an())`
152
152
  ${Zr}
153
153
  ${en}
154
154
  ${tn}
@@ -156,7 +156,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
156
156
  ${on}
157
157
  ${rn}
158
158
  ${sn}
159
- `,wi=_t.p.withConfig(an())`
159
+ `,vi=Qe.p.withConfig(an())`
160
160
  ${Zr}
161
161
  ${en}
162
162
  ${tn}
@@ -164,7 +164,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
164
164
  ${on}
165
165
  ${rn}
166
166
  ${sn}
167
- `,Ma=_t.span.withConfig(an())`
167
+ `,ja=Qe.span.withConfig(an())`
168
168
  ${Zr}
169
169
  ${en}
170
170
  ${tn}
@@ -172,7 +172,35 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
172
172
  ${on}
173
173
  ${rn}
174
174
  ${sn}
175
- `,Nu=_t(to)`
175
+ `,Fu=(e,t,r,n)=>n==="platform"?t||e===r-1?"1px solid":void 0:e===r-1?"1px solid":void 0,Vu=(e,t)=>t==="progress"&&e?void 0:"1px solid",Bu=(e,t)=>t==="simple"?e?"minus":"plus":e?"chevron-up":"chevron-down",Ia=e=>e?"block":"none",zu=(e,t,r)=>{r(e===t?n=>!n:!0)},Uu=e=>e==="platform"?[.75,.75,.75,.75]:[1.5,2,1.5,2],Wu=e=>{if(e==="platform")return[.75,.75,.75,.75]},qu=e=>e==="platform"?de.palette.gray[100]:de.palette.gray[50],Gu=e=>e==="platform"?de.palette.gray[200]:de.palette.gray[300],Hu=e=>e==="platform"?de.palette.gray[400]:de.palette.gray[800],Yu=e=>e==="end"?"row":"row-reverse",Ma=e=>e==="platform"?"sm":"md",Qu=e=>e*1e3/100,Ju=Qe(eo)`
176
+ ${({$center:e=!1})=>`
177
+ ${e?"margin: auto;":""}
178
+ `}
179
+ `,qt=S.forwardRef(function({as:t="div",center:r,children:n,id:o,onHover:i,onLeave:s,...l},u){return K.jsx(Ju,{$center:r,as:t,id:o,onMouseLeave:s,onMouseOver:i,ref:u,...l,children:n})}),Ku=Qe(vi)`
180
+ ${({theme:e,$color:t=e.palette.gray[800],$display:r="block",$fontFamily:n=e.typography.type.poppins,$fontWeight:o="bold",$letterSpacing:i=0,$lineSpacing:s=1.5,$size:l,$wordBreak:u="normal"})=>`
181
+ color: ${t};
182
+ display: ${r};
183
+ font-family: ${n};
184
+ font-size: ${e.typography.heading[l]};
185
+ font-weight: ${e.typography.weight[o]};
186
+ letter-spacing: ${i};
187
+ line-height: ${e.spacing[s]};
188
+ width: ${r==="block"?"100%":"auto"};
189
+ word-break: ${u};
190
+ `}
191
+ `,Xu=Qe(vi)`
192
+ ${({theme:e,$color:t=e.palette.gray[600],$display:r="block",$fontFamily:n=e.typography.type.primary,$fontWeight:o="regular",$letterSpacing:i=0,$lineSpacing:s=1.25,$size:l,$wordBreak:u="normal"})=>`
193
+ color: ${t};
194
+ display: ${r};
195
+ font-family: ${n};
196
+ font-size: ${e.typography.text[l]};
197
+ font-weight: ${e.typography.weight[o]};
198
+ letter-spacing: ${i};
199
+ line-height: ${e.spacing[s]};
200
+ width: ${r==="block"?"100%":"auto"};
201
+ word-break: ${u};
202
+ `}
203
+ `,Zu=S.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:l,size:u,wordBreak:d,...h},y){return K.jsx(Ku,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:s,$lineSpacing:l,$size:u,$wordBreak:d,ref:y,...h,children:t})}),Yr=S.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:l,size:u,wordBreak:d,...h},y){return K.jsx(Xu,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:s,$lineSpacing:l,$size:u,$wordBreak:d,ref:y,...h,children:t})}),vs=({isSelectedAndOpen:e,item:t,variant:r,render:n})=>n?K.jsxs(qt,{display:Ia(e),padding:Wu(r),children:[t.description?K.jsx(Yr,{mb:t.extraElement?.5:void 0,mt:r==="platform"?void 0:.5,size:Ma(r),children:t.description}):void 0,t.extraElement?K.jsx(qt,{children:t.extraElement}):void 0]}):null,ef=Qe(eo)`
176
204
  animation: ${({$animationTime:e})=>`progress-bar ${e}s ease-in-out`};
177
205
  animation-fill-mode: both;
178
206
 
@@ -180,71 +208,16 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
180
208
  0% {
181
209
  width: 0;
182
210
  }
211
+
183
212
  100% {
184
213
  width: 100%;
185
214
  }
186
215
  }
187
- `,ws=(e,t)=>e===t-1?"1px solid":void 0,Fu=(e,t,r)=>e===t&&r?void 0:"1px solid",Vu=(e,t,r)=>e===t&&r?"chevron-up":"chevron-down",Bu=(e,t,r)=>e===t&&r?"minus":"plus",Po=(e,t,r)=>e===t&&r?"block":"none",zu=(e,t,r)=>{r(e===t?n=>!n:!0)},Uu=e=>e*1e3/100;var tr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yo={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",d="[object Error]",h="[object Function]",y="[object GeneratorFunction]",w="[object Map]",v="[object Number]",T="[object Object]",x="[object Promise]",O="[object RegExp]",A="[object Set]",C="[object String]",k="[object Symbol]",I="[object WeakMap]",M="[object ArrayBuffer]",D="[object DataView]",P="[object Float32Array]",ve="[object Float64Array]",be="[object Int8Array]",pe="[object Int16Array]",Ne="[object Int32Array]",Me="[object Uint8Array]",we="[object Uint8ClampedArray]",J="[object Uint16Array]",Ee="[object Uint32Array]",se=/[\\^$.*+?()[\]{}|]/g,ae=/\w*$/,ce=/^\[object .+?Constructor\]$/,re=/^(?:0|[1-9]\d*)$/,q={};q[i]=q[s]=q[M]=q[D]=q[l]=q[u]=q[P]=q[ve]=q[be]=q[pe]=q[Ne]=q[w]=q[v]=q[T]=q[O]=q[A]=q[C]=q[k]=q[Me]=q[we]=q[J]=q[Ee]=!0,q[d]=q[h]=q[I]=!1;var le=typeof tr=="object"&&tr&&tr.Object===Object&&tr,ge=typeof self=="object"&&self&&self.Object===Object&&self,G=le||ge||Function("return this")(),it=t&&!t.nodeType&&t,et=it&&!0&&e&&!e.nodeType&&e,We=et&&et.exports===it;function qe(c,g){return c.set(g[0],g[1]),c}function fe(c,g){return c.add(g),c}function _e(c,g){for(var _=-1,L=c?c.length:0;++_<L&&g(c[_],_,c)!==!1;);return c}function $e(c,g){for(var _=-1,L=g.length,ot=c.length;++_<L;)c[ot+_]=g[_];return c}function Be(c,g,_,L){for(var ot=-1,Tt=c?c.length:0;++ot<Tt;)_=g(_,c[ot],ot,c);return _}function Pe(c,g){for(var _=-1,L=Array(c);++_<c;)L[_]=g(_);return L}function ut(c,g){return c==null?void 0:c[g]}function kt(c){var g=!1;if(c!=null&&typeof c.toString!="function")try{g=!!(c+"")}catch{}return g}function Te(c){var g=-1,_=Array(c.size);return c.forEach(function(L,ot){_[++g]=[ot,L]}),_}function ft(c,g){return function(_){return c(g(_))}}function Qe(c){var g=-1,_=Array(c.size);return c.forEach(function(L){_[++g]=L}),_}var dt=Array.prototype,de=Function.prototype,pt=Object.prototype,ht=G["__core-js_shared__"],gt=function(){var c=/[^.]+$/.exec(ht&&ht.keys&&ht.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),Ct=de.toString,tt=pt.hasOwnProperty,st=pt.toString,mt=RegExp("^"+Ct.call(tt).replace(se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Je=We?G.Buffer:void 0,xt=G.Symbol,St=G.Uint8Array,Pt=ft(Object.getPrototypeOf,Object),Ge=Object.create,jt=pt.propertyIsEnumerable,rt=dt.splice,xe=Object.getOwnPropertySymbols,Nt=Je?Je.isBuffer:void 0,Ft=ft(Object.keys,Object),yt=H(G,"DataView"),vt=H(G,"Map"),He=H(G,"Promise"),at=H(G,"Set"),ze=H(G,"WeakMap"),Ye=H(Object,"create"),Et=cr(yt),Se=cr(vt),Ke=cr(He),N=cr(at),Z=cr(ze),je=xt?xt.prototype:void 0,bt=je?je.valueOf:void 0;function R(c){var g=-1,_=c?c.length:0;for(this.clear();++g<_;){var L=c[g];this.set(L[0],L[1])}}function V(){this.__data__=Ye?Ye(null):{}}function z(c){return this.has(c)&&delete this.__data__[c]}function Ae(c){var g=this.__data__;if(Ye){var _=g[c];return _===n?void 0:_}return tt.call(g,c)?g[c]:void 0}function Le(c){var g=this.__data__;return Ye?g[c]!==void 0:tt.call(g,c)}function ct(c,g){var _=this.__data__;return _[c]=Ye&&g===void 0?n:g,this}R.prototype.clear=V,R.prototype.delete=z,R.prototype.get=Ae,R.prototype.has=Le,R.prototype.set=ct;function Oe(c){var g=-1,_=c?c.length:0;for(this.clear();++g<_;){var L=c[g];this.set(L[0],L[1])}}function f(){this.__data__=[]}function b(c){var g=this.__data__,_=ar(g,c);if(_<0)return!1;var L=g.length-1;return _==L?g.pop():rt.call(g,_,1),!0}function $(c){var g=this.__data__,_=ar(g,c);return _<0?void 0:g[_][1]}function F(c){return ar(this.__data__,c)>-1}function ie(c,g){var _=this.__data__,L=ar(_,c);return L<0?_.push([c,g]):_[L][1]=g,this}Oe.prototype.clear=f,Oe.prototype.delete=b,Oe.prototype.get=$,Oe.prototype.has=F,Oe.prototype.set=ie;function te(c){var g=-1,_=c?c.length:0;for(this.clear();++g<_;){var L=c[g];this.set(L[0],L[1])}}function K(){this.__data__={hash:new R,map:new(vt||Oe),string:new R}}function Y(c){return U(this,c).delete(c)}function De(c){return U(this,c).get(c)}function B(c){return U(this,c).has(c)}function ue(c,g){return U(this,c).set(c,g),this}te.prototype.clear=K,te.prototype.delete=Y,te.prototype.get=De,te.prototype.has=B,te.prototype.set=ue;function Ce(c){this.__data__=new Oe(c)}function Xe(){this.__data__=new Oe}function Yt(c){return this.__data__.delete(c)}function nt(c){return this.__data__.get(c)}function go(c){return this.__data__.has(c)}function gn(c,g){var _=this.__data__;if(_ instanceof Oe){var L=_.__data__;if(!vt||L.length<r-1)return L.push([c,g]),this;_=this.__data__=new te(L)}return _.set(c,g),this}Ce.prototype.clear=Xe,Ce.prototype.delete=Yt,Ce.prototype.get=nt,Ce.prototype.has=go,Ce.prototype.set=gn;function mo(c,g){var _=$o(c)||nl(c)?Pe(c.length,String):[],L=_.length,ot=!!L;for(var Tt in c)tt.call(c,Tt)&&!(ot&&(Tt=="length"||It(Tt,L)))&&_.push(Tt);return _}function Vr(c,g,_){var L=c[g];(!(tt.call(c,g)&&Hi(L,_))||_===void 0&&!(g in c))&&(c[g]=_)}function ar(c,g){for(var _=c.length;_--;)if(Hi(c[_][0],g))return _;return-1}function mn(c,g){return c&&S(g,To(g),c)}function Br(c,g,_,L,ot,Tt,Jt){var At;if(L&&(At=Tt?L(c,ot,Tt,Jt):L(c)),At!==void 0)return At;if(!_n(c))return c;var Ji=$o(c);if(Ji){if(At=$t(c),!g)return m(c,At)}else{var xr=Ve(c),Ki=xr==h||xr==y;if(il(c))return bo(c,g);if(xr==T||xr==i||Ki&&!Tt){if(kt(c))return Tt?c:{};if(At=wt(Ki?{}:c),!g)return j(c,mn(At,c))}else{if(!q[xr])return Tt?c:{};At=Qt(c,xr,Br,g)}}Jt||(Jt=new Ce);var Xi=Jt.get(c);if(Xi)return Xi;if(Jt.set(c,At),!Ji)var Zi=_?ne(c):To(c);return _e(Zi||c,function(Ao,xn){Zi&&(xn=Ao,Ao=c[xn]),Vr(At,xn,Br(Ao,g,_,L,xn,c,Jt))}),At}function yn(c){return _n(c)?Ge(c):{}}function vn(c,g,_){var L=g(c);return $o(c)?L:$e(L,_(c))}function yo(c){return st.call(c)}function vo(c){if(!_n(c)||wn(c))return!1;var g=Qi(c)||kt(c)?mt:ce;return g.test(cr(c))}function bn(c){if(!Ur(c))return Ft(c);var g=[];for(var _ in Object(c))tt.call(c,_)&&_!="constructor"&&g.push(_);return g}function bo(c,g){if(g)return c.slice();var _=new c.constructor(c.length);return c.copy(_),_}function zr(c){var g=new c.constructor(c.byteLength);return new St(g).set(new St(c)),g}function wo(c,g){var _=g?zr(c.buffer):c.buffer;return new c.constructor(_,c.byteOffset,c.byteLength)}function _o(c,g,_){var L=g?_(Te(c),!0):Te(c);return Be(L,qe,new c.constructor)}function xo(c){var g=new c.constructor(c.source,ae.exec(c));return g.lastIndex=c.lastIndex,g}function So(c,g,_){var L=g?_(Qe(c),!0):Qe(c);return Be(L,fe,new c.constructor)}function a(c){return bt?Object(bt.call(c)):{}}function p(c,g){var _=g?zr(c.buffer):c.buffer;return new c.constructor(_,c.byteOffset,c.length)}function m(c,g){var _=-1,L=c.length;for(g||(g=Array(L));++_<L;)g[_]=c[_];return g}function S(c,g,_,L){_||(_={});for(var ot=-1,Tt=g.length;++ot<Tt;){var Jt=g[ot],At=void 0;Vr(_,Jt,At===void 0?c[Jt]:At)}return _}function j(c,g){return S(c,Fe(c),g)}function ne(c){return vn(c,To,Fe)}function U(c,g){var _=c.__data__;return Eo(g)?_[typeof g=="string"?"string":"hash"]:_.map}function H(c,g){var _=ut(c,g);return vo(_)?_:void 0}var Fe=xe?ft(xe,Object):cl,Ve=yo;(yt&&Ve(new yt(new ArrayBuffer(1)))!=D||vt&&Ve(new vt)!=w||He&&Ve(He.resolve())!=x||at&&Ve(new at)!=A||ze&&Ve(new ze)!=I)&&(Ve=function(c){var g=st.call(c),_=g==T?c.constructor:void 0,L=_?cr(_):void 0;if(L)switch(L){case Et:return D;case Se:return w;case Ke:return x;case N:return A;case Z:return I}return g});function $t(c){var g=c.length,_=c.constructor(g);return g&&typeof c[0]=="string"&&tt.call(c,"index")&&(_.index=c.index,_.input=c.input),_}function wt(c){return typeof c.constructor=="function"&&!Ur(c)?yn(Pt(c)):{}}function Qt(c,g,_,L){var ot=c.constructor;switch(g){case M:return zr(c);case l:case u:return new ot(+c);case D:return wo(c,L);case P:case ve:case be:case pe:case Ne:case Me:case we:case J:case Ee:return p(c,L);case w:return _o(c,L,_);case v:case C:return new ot(c);case O:return xo(c);case A:return So(c,L,_);case k:return a(c)}}function It(c,g){return g=g??o,!!g&&(typeof c=="number"||re.test(c))&&c>-1&&c%1==0&&c<g}function Eo(c){var g=typeof c;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?c!=="__proto__":c===null}function wn(c){return!!gt&&gt in c}function Ur(c){var g=c&&c.constructor,_=typeof g=="function"&&g.prototype||pt;return c===_}function cr(c){if(c!=null){try{return Ct.call(c)}catch{}try{return c+""}catch{}}return""}function rl(c){return Br(c,!0,!0)}function Hi(c,g){return c===g||c!==c&&g!==g}function nl(c){return ol(c)&&tt.call(c,"callee")&&(!jt.call(c,"callee")||st.call(c)==i)}var $o=Array.isArray;function Yi(c){return c!=null&&sl(c.length)&&!Qi(c)}function ol(c){return al(c)&&Yi(c)}var il=Nt||ll;function Qi(c){var g=_n(c)?st.call(c):"";return g==h||g==y}function sl(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=o}function _n(c){var g=typeof c;return!!c&&(g=="object"||g=="function")}function al(c){return!!c&&typeof c=="object"}function To(c){return Yi(c)?mo(c):bn(c)}function cl(){return[]}function ll(){return!1}e.exports=rl})(Yo,Yo.exports);var rr=Yo.exports,Qo=function(){return Qo=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Qo.apply(this,arguments)};function Wu(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function l(h){try{d(n.next(h))}catch(y){s(y)}}function u(h){try{d(n.throw(h))}catch(y){s(y)}}function d(h){h.done?i(h.value):o(h.value).then(l,u)}d((n=n.apply(e,[])).next())})}function qu(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(h){return u([d,h])}}function u(d){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,d[0]&&(r=0)),r;)try{if(n=1,o&&(i=d[0]&2?o.return:d[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,d[1])).done)return i;switch(o=0,i&&(d=[d[0]&2,i.value]),d[0]){case 0:case 1:i=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,o=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){r.label=d[1];break}if(d[0]===6&&r.label<i[1]){r.label=i[1],i=d;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(d);break}i[2]&&r.ops.pop(),r.trys.pop();continue}d=t.call(e,r)}catch(h){d=[6,h],o=0}finally{n=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function Nn(e,t,r,n,o){return Wu(this,void 0,void 0,function(){var i,s;return qu(this,function(l){switch(l.label){case 0:if(r===void 0)return[2];s=0,l.label=1;case 1:return s<r.length?[4,r[s](e,t,n,o,r)]:[3,4];case 2:if(i=l.sent(),i==="canceled")return[3,4];l.label=3;case 3:return s++,[3,1];case 4:return i!=="canceled"?[2,i]:[2]}})})}var Jo=function(e,t){return t===void 0&&(t={}),e?{trackedAnalytics:Qo({sdkCode:e.sdkCode,sdkSemver:e.sdkSemver,techVersion:e.techVersion},t)}:null},Gu=function(){function e(t,r,n,o){var i=this;this.isMounted=!0,this.imgElement=t,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var s=rr(r);Nn(t,s,n,this.htmlPluginState,o).then(function(l){if(i.isMounted){i.htmlPluginState.pluginEventSubscription.forEach(function(d){d()});var u=Jo(o,l);i.imgElement.setAttribute("src",s.toURL(u))}})}return e.prototype.update=function(t,r,n){var o=this,i=rr(t);Nn(this.imgElement,i,r,this.htmlPluginState).then(function(s){if(o.isMounted){var l=Jo(n,s);o.imgElement.setAttribute("src",i.toURL(l))}})},e.prototype.unmount=function(){this.isMounted=!1},e}();let Ie=class{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}},Hu=class extends Error{constructor(t="Unsupported"){super(t)}};function _i(e){return new Hu(e)}function Yu(){return this._qualifierModel||{error:_i(`unsupported qualifier ${this.constructor.name}`)}}let Qu=class{constructor(){this._qualifierModel={}}toJson(){return Yu.apply(this)}},X=class extends Qu{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Ie?this.qualifierValue=r:(this.qualifierValue=new Ie,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}},Lt=class extends X{constructor(t,r){let n;r?n=new Ie([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}};function Ju(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Ku(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:_i(`unsupported action ${this.constructor.name}`)}}let Xu=class{constructor(){this._actionModel={}}toJson(){return Ku.apply(this)}},Ut=class extends Xu{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),Ju(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new Lt(n)):this.qualifiers.set(r,new X(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new Lt(t)):t instanceof Lt&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}};class xi extends Ut{constructor(t){super(),this.regionType=t,this._actionModel.regionType=t}}class ro extends xi{constructor(){super("custom")}x(t){return this._actionModel.x=t,this.addQualifier(new X("x",t)),this}y(t){return this._actionModel.y=t,this.addQualifier(new X("y",t)),this}width(t){return this._actionModel.width=t,this.addQualifier(new X("w",t)),this}height(t){return this._actionModel.height=t,this.addQualifier(new X("h",t)),this}static fromJson(t){const r=new ro;return t.width&&r.width(t.width),t.height&&r.height(t.height),t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function Zu(){return new ro}function La(){return new xi("faces")}function ef(){return new xi("ocr_text")}class tf extends Ut{constructor(t){super(),this._actionModel={},this._strength=t,this._actionModel.actionType="blur",this._actionModel.strength=t}region(t){return this._region=t,this._actionModel.region=t.toJson(),this}strength(t){return this._strength=t,this._actionModel.strength=t,this}prepareQualifiers(){const t=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new X("e",`blur_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new X("e",`blur_region${t}`)),this.addQualifier(new X("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new X("e",`blur_faces${t}`))):this.addQualifier(new X("e",`blur${t}`))}static fromJson(t){const{strength:r,region:n}=t,o=new this(r);return r&&o.strength(r),n&&n.regionType==="faces"&&o.region(La()),n&&n.regionType==="ocr_text"&&o.region(ef()),n&&n.regionType==="custom"&&o.region(ro.fromJson(n)),o}}function wr(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const Da={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},rf={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},Na={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},Fa={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},nf={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},Va={444:"CHROMA_444",420:"CHROMA_420"},of={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},sf=wr(Va);wr(of);const af=wr(Da),cf=wr(rf),Ba=wr(Na);wr(Fa);wr(nf);class za extends Ut{constructor(t,r){super(),this._actionModel={},this._actionModel.actionType=Ba[t]||t;const n=this.createEffectQualifier(t,r);this.addQualifier(n)}createEffectQualifier(t,r){let n;return r?n=new Ie([t,`${r}`]).setDelimiter(":"):n=new Ie(t),new X("e",n)}static fromJson(t){const{actionType:r,level:n,strength:o}=t,i=Na[r]||r;return new this(i,n||o)}}class lf extends za{constructor(t,r){super(t,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=t,this._actionModel.actionType=Ba[t]||t,r&&this.setLevel(r)}setLevel(t){this._actionModel[this.LEVEL_NAME]=t;const r=this.createEffectQualifier(this.effectType,t);return this.addQualifier(r),this}}function no(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class uf extends Ut{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(t){return this._actionModel.numOfColors=t,this._numOfColors=t,this}detailsLevel(t){return this._actionModel.detailLevel=t,this._detailsLevel=t,this}despeckleLevel(t){return this._actionModel.despeckleLevel=t,this._despeckleLevel=t,this}cornersLevel(t){return this._actionModel.cornersLevel=t,this._cornersLevel=t,this}paths(t){return this._actionModel.paths=t,this._paths=t,this}prepareQualifiers(){let t="vectorize";this._numOfColors&&(t+=`:${new Ie(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(t+=`:${new Ie(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(t+=`:${new Ie(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(t+=`:${new Ie(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(t+=`:${new Ie(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new X("e",t))}static fromJson(t){const{actionType:r,paths:n,cornersLevel:o,despeckleLevel:i,detailLevel:s,numOfColors:l}=t,u=new this;return n&&u.paths(n),o&&u.cornersLevel(o),i&&u.despeckleLevel(i),s&&u.detailsLevel(s),l&&u.numOfColors(l),u}}class ff extends lf{level(t){return this._actionModel.level=t,this.setLevel(t)}}class df extends Ut{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new X("e",new Ie("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new X("e",new Ie(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(t){return this._actionModel.type="stripes",this._actionModel.stripesStrength=t,this.addQualifier(new X("e",new Ie(["assist_colorblind",t]).setDelimiter(":")))}static fromJson(t){const{actionType:r,type:n,stripesStrength:o}=t,i=new this;return n==="xray"&&i.xray(),n==="stripes"&&o&&i.stripesStrength(o),i}}class pf extends ff{color(t){return this._actionModel.color=t,this.addQualifier(new X("co",new Ie(no(t))))}static fromJson(t){const{actionType:r,level:n,color:o}=t,i=new this(r,n);return o&&i.color(o),i}}class hf extends Ut{constructor(t){super(),this._actionModel={},this._squareSize=t,this._actionModel.actionType="pixelate",this._actionModel.squareSize=t}region(t){return this._region=t,this._actionModel.region={regionType:this._region.regionType},this}squareSize(t){return this._squareSize=t,this._actionModel.squareSize=t,this}prepareQualifiers(){const t=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new X("e",`pixelate_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new X("e",`pixelate_region${t}`)),this.addQualifier(new X("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new X("e",`pixelate_faces${t}`))):this.addQualifier(new X("e",`pixelate${t}`))}static fromJson(t){const{region:r,squareSize:n}=t,o=new this(n);return n&&o.squareSize(n),r&&r.regionType==="faces"&&o.region(La()),r&&r.regionType==="custom"&&o.region(Zu()),o}}function gf(e){return new tf(e)}function mf(){return new za("grayscale")}function _s(e){return new pf("colorize",e)}function yf(){return new uf}function vf(){return new df}function bf(e){return new hf(e)}let wf=class extends Ut{constructor(t){super(),this._actionModel={},this.addQualifier(new X("b",new Ie(no(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}},xs=class{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:_i(`unsupported action ${this.constructor.name}`)}}};function _f(e){const t=e;return"error"in t&&!!t.error}function xf(){return new Lt("ignore_aspect_ratio")}function Sf(){return new Lt("lossy")}function Ef(){return new Lt("preserve_transparency")}function $f(e){return new Lt("progressive",e)}function Tf(){return new Lt("region_relative")}function Af(){return new Lt("relative")}let Si=class extends Ie{constructor(t){super(t),this.val=t}getValue(){return this.val}},Ua=class extends Ut{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Si?o=r.getValue():o=r,this._actionModel.actionType=cf[t],this._actionModel[n]=o,this.addQualifier(new X(t,r))}},Of=class extends Lt{constructor(t){super("progressive",t)}},Ko=class extends Ua{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(Sf()),this}progressive(t){return t instanceof Of?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag($f(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(Ef()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;let s;return r?s=new this("f",r):s=new this("f"),o&&(o.mode?s.progressive(o.mode):s.progressive()),n&&s.lossy(),i&&s.preserveTransparency(),s}},oo=class Wa{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new xs(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof Wa?this.actions=this.actions.concat(t.actions):this.actions.push(new xs(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new Ko("q",t)),this}format(t){return this.addAction(new Ko("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new wf(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new Ut;let n=t;return typeof t=="string"&&(n=new Lt(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(_f(n))return n;t.push(n)}return{actions:t}}};function Ss(e){const t=e.toString();return t.match(/[A-Z]/gi)||t.length>1&&t[0]==="0"?t:!isNaN(parseFloat(t))&&t.indexOf(":")===-1&&t.indexOf(".")===-1?`${t}.0`:t}class Cf extends Ie{}class Rf extends Ut{constructor(t,r,n){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=af[t]||t,this.addQualifier(new X("c",t)),r&&this.width(r),n&&this.height(n)}height(t){return this._actionModel.dimensions.height=t,this.addQualifier(new X("h",t))}width(t){return this._actionModel.dimensions.width=t,this.addQualifier(new X("w",t))}aspectRatio(t){if(t instanceof Cf)return this._actionModel.dimensions.aspectRatio=`${t}`,this.addQualifier(new X("ar",t));if(typeof t=="number"||typeof t=="string")return this._actionModel.dimensions.aspectRatio=Ss(t),this.addQualifier(new X("ar",Ss(t)));if(t instanceof Lt)return this._actionModel.dimensions.aspectRatio=`${t.qualifierValue}`,this.addFlag(t)}relative(){return this._actionModel.relative=!0,this.addFlag(Af())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(Tf())}static fromJson(t){const{actionType:r,dimensions:n,relative:o,regionRelative:i}=t,{aspectRatio:s,width:l,height:u}=n,d=Da[r]||r,h=new this(d,l,u);return s&&h.aspectRatio(s==="ignore_aspect_ratio"?xf():s),o&&h.relative(),i&&h.regionRelative(),h}}class Ei extends X{constructor(t){super("g",new Ie(t))}}class qa extends Ei{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}class Ga extends Ei{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}class Ha extends Ei{constructor(t){super(t)}}function kf(e){return new Ha(e)}function Ya(...e){const t=[...e];return new Ga(t)}function Qa(){return new qa}class io extends Ie{constructor(t){super(),this.name=t}toString(){return this.name}}function Pf(){return new io("ocr_text")}function jf(e){return e&&`${e}`.split(":")[0]==="auto"}function If(e){const t=$i(e);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(t)}function $i(e){return`${e}`.replace("g_","")}function Mf(e){return{compass:$i(e),gravityType:"direction"}}function Lf(e){return $i(e)==="ocr_text"}function Df(){return{gravityType:"ocr"}}function Nf(e){return`${e.qualifierValue}`.split(":")[0]==="auto"}function Ff(e){const r=e.toString().split("_"),n={object:r[0]};return r.length>1&&(r[1]==="avoid"?n.avoid=!0:n.weight=+r[1]),n}function Ja(e){let t;const r=e==="auto"?new qa:e;return`${e}`.startsWith("auto:")?t=`${e}`.split(":").filter(o=>o!=="auto"):t=r.qualifierValue.values.filter(o=>o!=="auto"),{gravityType:"auto",autoFocus:t.map(Ff)}}function Vf(e){const t=`${e}`.split(":").includes("auto"),r=e.qualifierValue.values,o={gravityType:"object",focusOnObjects:(t?r.slice(0,r.length-1):r).map(i=>`${i}`)};if(t){const i=r[r.length-1].values.slice(1),s=Qa().autoFocus(...i);o.fallbackGravity=Ja(s)}return o}function Bf(e){const r=e.split(":").map(n=>new io(n));return new Ga(r)}function zf(e){return If(e)?Mf(e):Lf(e)?Df():jf(e)||Nf(e)?Ja(e):Vf(typeof e=="string"?Bf(e):e)}class Ti extends Ie{constructor(t,r){super(),this._weight=r,this.focusOn=t,this.shouldAvoid=!1}static focusOn(t,r){return new Ti(t,r)}shouldAddWeight(){return typeof this._weight=="number"||typeof this._weight=="string"||this.shouldAvoid}getName(){return this.focusOn.name}getWeight(){return this.shouldAvoid?"avoid":this._weight}toString(){return this.shouldAddWeight()?`${this.getName()}_${this.getWeight()}`:`${this.getName()}`}weight(t){return this._weight=t,this}avoid(){return this.shouldAvoid=!0,this}}class Ka extends Ie{constructor(t){super(),this.val=t}toString(){return this.val}}function Uf(e){return e.gravityType==="direction"}function Wf(e){return e.gravityType==="ocr"}function qf(e){return e.gravityType==="auto"}function Gf(e){const{object:t,weight:r,avoid:n}=e,o=new Ti(new io(t));return(r||r===0)&&o.weight(r),n&&o.avoid(),o}function Xa(e){const r=(e.autoFocus||[]).map(Gf);return Qa().autoFocus(...r)}function Hf(e){const t=(e.focusOnObjects||[]).map(n=>new io(n)),r=Ya(...t);if(e.fallbackGravity){const n=Xa(e.fallbackGravity);r.fallbackGravity(n)}return r}function Yf(e){return Uf(e)?new Ha(new Ka(e.compass)):Wf(e)?Ya(Pf()):qf(e)?Xa(e):Hf(e)}class Ai extends Rf{gravity(t){this._actionModel.gravity=zf(t);const r=typeof t=="string"?new X("g",t):t;return this.addQualifier(r)}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.gravity&&r.gravity(Yf(t.gravity)),r}}class cn extends X{constructor(t){super("b"),t&&this.addValue(t)}}const Za=100,Qf=0;class Jf extends cn{intensity(t){return this.intensityLevel=t,this}brightness(t){return this.brightnessLevel=t,this}toString(){const t=this.intensityLevel!==void 0?`:${this.intensityLevel}`:"",r=this.brightnessLevel!==void 0?this.intensityLevel!==void 0?`:${this.brightnessLevel}`:`:${Za}:${this.brightnessLevel}`:"";return`b_blurred${t}${r}`}}var ec=Jf;class Oi extends cn{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...t){return this._palette=t.map(r=>no(r)),this}}class tc extends Oi{toString(){return`
188
- b_auto:border
189
- ${this._contrast?"_contrast":""}
190
- ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
191
- `.replace(/\s+/g,"")}}class rc extends Oi{gradientColors(t){return this._gradientColors=t,this}gradientDirection(t){return this._gradientDirection=t,this}}class nc extends rc{toString(){return`
192
- b_auto:border_gradient
193
- ${this._contrast?"_contrast":""}
194
- ${this._gradientColors?`:${this._gradientColors}`:""}
195
- ${this._gradientDirection?`:${this._gradientDirection}`:""}
196
- ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
197
- `.replace(/\s+/g,"")}}class oc extends rc{toString(){return`
198
- b_auto:predominant_gradient
199
- ${this._contrast?"_contrast":""}
200
- ${this._gradientColors?`:${this._gradientColors}`:""}
201
- ${this._gradientDirection?`:${this._gradientDirection}`:""}
202
- ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
203
- `.replace(/\s+/g,"")}}class ic extends Oi{toString(){return`
204
- b_auto:predominant
205
- ${this._contrast?"_contrast":""}
206
- ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
207
- `.replace(/\s+/g,"")}}class sc extends cn{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(t){return this._prompt=t,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return`b_gen_fill${this._prompt?`:prompt_${this._prompt}`:""}`}}function ac(e){return`${e}`.replace("b_","")}function Kf(){return{backgroundType:"auto"}}function Xf(e){const{intensityLevel:t,brightnessLevel:r}=e,n={backgroundType:"blurred"};return(t||t===0)&&(n.intensity=t),(r||r===0)&&(n.brightness=r),n}function Ci(e){const t=e._contrast,r=e._palette,n={backgroundType:""};return t&&(n.contrast=!0),r&&(n.palette=r),n}function Zf(e){return Object.assign(Object.assign({},Ci(e)),{backgroundType:"border"})}function cc(e){const t=e._gradientColors,r=`${e._gradientDirection}`,n=Ci(e);return t&&(n.gradientColors=t),r&&(n.gradientDirection=r),n}function ed(e){return Object.assign(Object.assign({},cc(e)),{backgroundType:"borderGradient"})}function td(e){return{backgroundType:"color",color:ac(e)}}function rd(e){return Object.assign(Object.assign({},Ci(e)),{backgroundType:"predominant"})}function nd(e){return Object.assign(Object.assign({},cc(e)),{backgroundType:"predominantGradient"})}function od(e){return Object.assign({backgroundType:e.getBackgroundType()},e.getPrompt()?{prompt:e.getPrompt()}:{})}function id(e){return ac(e)==="auto"?Kf():e instanceof ec?Xf(e):e instanceof tc?Zf(e):e instanceof nc?ed(e):e instanceof ic?rd(e):e instanceof oc?nd(e):e instanceof sc?od(e):td(e)}function sd(){return new Si("svg")}function Ri(){return new Si("auto")}function lc(){return new tc}function uc(){return new cn("auto")}function fc(){return new nc}function dc(){return new oc}function pc(){return new ic}function hc(e){return new cn(no(e))}function ad(){return new ec}function gc(){return new sc}const mc={auto:uc,border:lc,borderGradient:fc,predominantGradient:dc,predominant:pc,color:hc,blurred:ad,generativeFill:gc};function cd(e){const{brightness:t,intensity:r}=e,n=mc.blurred();return n.brightness(t??Qf),n.intensity(r??Za),n}function Es(e,t){const{gradientColors:r,gradientDirection:n,contrast:o,palette:i}=t;return o&&e.contrast(),i&&e.palette(...i),r&&e.gradientColors(+r),n&&e.gradientDirection(n),e}function $s(e,t){const{contrast:r,palette:n}=t;return r&&e.contrast(),n&&e.palette(...n),e}function ld(e,t){const{prompt:r}=t;return r&&e.prompt(r),e}function ud(e){const{backgroundType:t}=e;switch(t){case"auto":return uc();case"blurred":return cd(e);case"border":return $s(lc(),e);case"borderGradient":return Es(fc(),e);case"predominant":return $s(pc(),e);case"predominantGradient":return Es(dc(),e);case"generativeFill":return ld(gc(),e);default:return hc(e.color)}}class fd extends Ai{background(t){return this._actionModel.background=id(t),this.addQualifier(t)}offsetX(t){return this._actionModel.x=t,this.addQualifier(new X("x",t))}offsetY(t){return this._actionModel.y=t,this.addQualifier(new X("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.background&&r.background(ud(t.background)),t.x&&r.offsetX(t.x),t.y&&r.offsetY(t.y),t.zoom&&r.zoom(t.zoom),r}}class dd extends Ai{x(t){return this._actionModel.x=t,this.addQualifier(new X("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new X("y",t))}zoom(t){return this._actionModel.zoom=t,this.addQualifier(new X("z",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),t.zoom&&r.zoom(t.zoom),r}}class pd extends Ai{x(t){return this._actionModel.x=t,this.addQualifier(new X("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new X("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function hd(e,t){return new dd("crop",e,t)}function gd(e,t){return new pd("fill",e,t)}function md(e,t){return new fd("pad",e,t)}class yd extends Ua{constructor(t){super("q",t.toString(),"level")}chromaSubSampling(t){this._actionModel.chromaSubSampling=Va[t];const r=new Ie([this._actionModel.level,t]);return r.setDelimiter(":"),this.addQualifier(new X("q",r))}quantization(t){this._actionModel.quantization=t;const r=new Ie([this._actionModel.level,`qmax_${t}`]).setDelimiter(":");return this.addQualifier(new X("q",r))}static fromJson(t){const{level:r,chromaSubSampling:n,quantization:o}=t,i=Fa[r]||r,s=new this(i);if(n){const l=sf[n.toUpperCase()];l&&s.chromaSubSampling(+l)}return o&&s.quantization(o),s}}function so(e){return new Ko("f",e)}function ao(e){return new yd(e)}function vd(){return new Ka("north_east")}_s(70).color("black"),_s(40).color("white"),mf(),vf();var bd=new oo().effect(yf()).delivery(ao("auto")).delivery(so(sd())),wd=new oo().effect(bf()).delivery(ao("auto")).delivery(so(Ri())),_d=new oo().effect(gf(2e3)).delivery(ao("auto")).delivery(so(Ri())),xd=new oo().resize(md("iw_div_2").aspectRatio(1).background(mc.auto())).resize(hd(1,1).gravity(kf(vd()))).resize(gd().height("ih").width("iw")).delivery(ao("auto")).delivery(so(Ri())),Ts={vectorize:bd,pixelate:wd,blur:_d,"predominant-color":xd},As="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Os={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},Cs="?_a=",Sd=function(){function e(t,r,n,o,i,s,l){var u=this;this.mimeType="video",this.mimeSubTypes=Os,this.videoElement=t,this.originalVideo=r,this.videoOptions=l,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var d=rr(r);Nn(t,r,o,this.htmlPluginState).then(function(){u.htmlPluginState.pluginEventSubscription.forEach(function(h){h()}),u.setVideoAttributes(i,s),u.handleSourceToVideo(d,n)})}return e.prototype.handleSourceToVideo=function(t,r){var n=this;if(r)this.generateUserSources(t,r);else{var o=["webm","mp4","ogv"];o.forEach(function(i){n.appendSourceTag(rr(t),i)})}},e.prototype.generateUserSources=function(t,r){var n=this;r.map(function(o){var i=o.type,s=o.codecs,l=o.transcode;return n.appendSourceTag(rr(t).transcode(l),i,n.buildMimeType(i,s))})},e.prototype.appendSourceTag=function(t,r,n){var o,i=document.createElement("source"),s=(o=this.videoOptions)===null||o===void 0?void 0:o.useFetchFormat;s&&t.format(r);var l=t.toURL(),u=l.split(Cs),d=u[1]?"".concat(Cs).concat(u[1]):"",h=s?"":".".concat(r);i.src="".concat(u[0]).concat(h).concat(d),i.type=n||"video/".concat(Os[r]||r),this.videoElement.appendChild(i)},e.prototype.buildMimeType=function(t,r){var n="".concat(this.mimeType,"/").concat(this.mimeSubTypes[t]||t);return r&&(n+="; codecs="+(Array.isArray(r)?r.join(", "):r)),n},e.prototype.setVideoAttributes=function(t,r){var n;if(t===void 0&&(t={}),r==="auto"){var o=rr(this.originalVideo);t.poster=o.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else r&&(t.poster=(n=r.toURL)===null||n===void 0?void 0:n.call(r));for(var i=0,s=Object.entries(t);i<s.length;i++){var l=s[i],u=l[0],d=l[1];d&&this.videoElement.setAttribute(u,u==="poster"?d:"")}},e.prototype.update=function(t,r,n,o,i){var s=this;if(t!==this.originalVideo){for(var l=this.videoElement.getElementsByTagName("SOURCE");l[0];)l[0].parentNode.removeChild(l[0]);Nn(this.videoElement,t,n,this.htmlPluginState).then(function(){s.setVideoAttributes(o,i),s.handleSourceToVideo(t,r),s.videoElement.load()})}},e}(),Ed=typeof tr=="object"&&tr&&tr.Object===Object&&tr,$d=typeof self=="object"&&self&&self.Object===Object&&self;Ed||$d||Function("return this")();function ki(){return typeof window<"u"}function Td(e){return e instanceof HTMLImageElement}function Ad(e){var t={},r=t.rootMargin,n=r===void 0?"0px":r,o=t.threshold,i=o===void 0?.1:o;return Od.bind(null,n,i)}function Od(e,t,r,n,o,i){return e===void 0&&(e="0px"),t===void 0&&(t=.1),ki()?new Promise(function(s){var l=function(){return s({lazyload:!0})},u=Rd(r,l,e,t);o.cleanupCallbacks.push(function(){u(),s("canceled")})}):!1}function Cd(){return window&&"IntersectionObserver"in window}function Rd(e,t,r,n){try{if(!Cd())return t(),function(){};var o=new IntersectionObserver(function(i){i.forEach(function(s){s.isIntersecting&&(o.unobserve(s.target),t())})},{rootMargin:r,threshold:n});return o.observe(e),function(){e&&o.observe(e)}}catch{t()}}function kd(e){var t={},r=t.mode,n=r===void 0?"vectorize":r;return Pd.bind(null,n)}function Pd(e,t,r,n,o,i){Ts[e]||(e="vectorize");var s=Ts[e].actions,l=rr(r);if(s.forEach(function(d){l.addAction(d)}),!ki())return r.transformation=l.transformation,!0;if(Td(t)){l.transformation.actions.forEach(function(d,h){d instanceof Ut&&d.getActionTag()==="responsive"&&delete l.transformation.actions[h]});var u=Jo(o,{placeholder:!0});return t.src=l.toURL(u),t.onerror=function(){t.src=As},new Promise(function(d){t.onload=function(){d()}}).then(function(){return new Promise(function(d){n.cleanupCallbacks.push(function(){t.src=As,d("canceled")});var h=new Image;h.src=r.toURL(u),h.onload=function(){d({placeholder:!0})},h.onerror=function(){d({placeholder:!0})}})})}}function jd(e,t,r){var n=rr(t);if(e)for(var o=0;o<e.length;o++){var i=e[o](null,n);if(!i)break}return n.toURL(r?{trackedAnalytics:r}:null)}function Fn(e){e.cleanupCallbacks.forEach(function(t){t()})}var Xo=function(e,t){return Xo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},Xo(e,t)};function yc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Xo(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Qr=function(){return Qr=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Qr.apply(this,arguments)};function vc(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var Jr={exports:{}},ye={};/*
208
- object-assign
209
- (c) Sindre Sorhus
210
- @license MIT
211
- */var Rs=Object.getOwnPropertySymbols,Id=Object.prototype.hasOwnProperty,Md=Object.prototype.propertyIsEnumerable;function Ld(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function Dd(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(n.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var bc=Dd()?Object.assign:function(e,t){for(var r,n=Ld(e),o,i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var s in r)Id.call(r,s)&&(n[s]=r[s]);if(Rs){o=Rs(r);for(var l=0;l<o.length;l++)Md.call(r,o[l])&&(n[o[l]]=r[o[l]])}}return n};/** @license React v16.14.0
212
- * react.production.min.js
213
- *
214
- * Copyright (c) Facebook, Inc. and its affiliates.
215
- *
216
- * This source code is licensed under the MIT license found in the
217
- * LICENSE file in the root directory of this source tree.
218
- */var Pi=bc,Wt=typeof Symbol=="function"&&Symbol.for,ln=Wt?Symbol.for("react.element"):60103,Nd=Wt?Symbol.for("react.portal"):60106,Fd=Wt?Symbol.for("react.fragment"):60107,Vd=Wt?Symbol.for("react.strict_mode"):60108,Bd=Wt?Symbol.for("react.profiler"):60114,zd=Wt?Symbol.for("react.provider"):60109,Ud=Wt?Symbol.for("react.context"):60110,Wd=Wt?Symbol.for("react.forward_ref"):60112,qd=Wt?Symbol.for("react.suspense"):60113,Gd=Wt?Symbol.for("react.memo"):60115,Hd=Wt?Symbol.for("react.lazy"):60116,ks=typeof Symbol=="function"&&Symbol.iterator;function un(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var wc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_c={};function Dr(e,t,r){this.props=e,this.context=t,this.refs=_c,this.updater=r||wc}Dr.prototype.isReactComponent={};Dr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(un(85));this.updater.enqueueSetState(this,e,t,"setState")};Dr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function xc(){}xc.prototype=Dr.prototype;function ji(e,t,r){this.props=e,this.context=t,this.refs=_c,this.updater=r||wc}var Ii=ji.prototype=new xc;Ii.constructor=ji;Pi(Ii,Dr.prototype);Ii.isPureReactComponent=!0;var Mi={current:null},Sc=Object.prototype.hasOwnProperty,Ec={key:!0,ref:!0,__self:!0,__source:!0};function $c(e,t,r){var n,o={},i=null,s=null;if(t!=null)for(n in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Sc.call(t,n)&&!Ec.hasOwnProperty(n)&&(o[n]=t[n]);var l=arguments.length-2;if(l===1)o.children=r;else if(1<l){for(var u=Array(l),d=0;d<l;d++)u[d]=arguments[d+2];o.children=u}if(e&&e.defaultProps)for(n in l=e.defaultProps,l)o[n]===void 0&&(o[n]=l[n]);return{$$typeof:ln,type:e,key:i,ref:s,props:o,_owner:Mi.current}}function Yd(e,t){return{$$typeof:ln,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Li(e){return typeof e=="object"&&e!==null&&e.$$typeof===ln}function Qd(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(r){return t[r]})}var Tc=/\/+/g,Vn=[];function Ac(e,t,r,n){if(Vn.length){var o=Vn.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function Oc(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>Vn.length&&Vn.push(e)}function Zo(e,t,r,n){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case ln:case Nd:i=!0}}if(i)return r(n,e,t===""?"."+jo(e,0):t),1;if(i=0,t=t===""?".":t+":",Array.isArray(e))for(var s=0;s<e.length;s++){o=e[s];var l=t+jo(o,s);i+=Zo(o,l,r,n)}else if(e===null||typeof e!="object"?l=null:(l=ks&&e[ks]||e["@@iterator"],l=typeof l=="function"?l:null),typeof l=="function")for(e=l.call(e),s=0;!(o=e.next()).done;)o=o.value,l=t+jo(o,s++),i+=Zo(o,l,r,n);else if(o==="object")throw r=""+e,Error(un(31,r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r,""));return i}function ei(e,t,r){return e==null?0:Zo(e,"",t,r)}function jo(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Qd(e.key):t.toString(36)}function Jd(e,t){e.func.call(e.context,t,e.count++)}function Kd(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?ti(e,n,r,function(i){return i}):e!=null&&(Li(e)&&(e=Yd(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(Tc,"$&/")+"/")+r)),n.push(e))}function ti(e,t,r,n,o){var i="";r!=null&&(i=(""+r).replace(Tc,"$&/")+"/"),t=Ac(t,i,n,o),ei(e,Kd,t),Oc(t)}var Cc={current:null};function Zt(){var e=Cc.current;if(e===null)throw Error(un(321));return e}var Xd={ReactCurrentDispatcher:Cc,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:Mi,IsSomeRendererActing:{current:!1},assign:Pi};ye.Children={map:function(e,t,r){if(e==null)return e;var n=[];return ti(e,n,null,t,r),n},forEach:function(e,t,r){if(e==null)return e;t=Ac(null,null,t,r),ei(e,Jd,t),Oc(t)},count:function(e){return ei(e,function(){return null},null)},toArray:function(e){var t=[];return ti(e,t,null,function(r){return r}),t},only:function(e){if(!Li(e))throw Error(un(143));return e}};ye.Component=Dr;ye.Fragment=Fd;ye.Profiler=Bd;ye.PureComponent=ji;ye.StrictMode=Vd;ye.Suspense=qd;ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Xd;ye.cloneElement=function(e,t,r){if(e==null)throw Error(un(267,e));var n=Pi({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Mi.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)Sc.call(t,u)&&!Ec.hasOwnProperty(u)&&(n[u]=t[u]===void 0&&l!==void 0?l[u]:t[u])}var u=arguments.length-2;if(u===1)n.children=r;else if(1<u){l=Array(u);for(var d=0;d<u;d++)l[d]=arguments[d+2];n.children=l}return{$$typeof:ln,type:e.type,key:o,ref:i,props:n,_owner:s}};ye.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:Ud,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:zd,_context:e},e.Consumer=e};ye.createElement=$c;ye.createFactory=function(e){var t=$c.bind(null,e);return t.type=e,t};ye.createRef=function(){return{current:null}};ye.forwardRef=function(e){return{$$typeof:Wd,render:e}};ye.isValidElement=Li;ye.lazy=function(e){return{$$typeof:Hd,_ctor:e,_status:-1,_result:null}};ye.memo=function(e,t){return{$$typeof:Gd,type:e,compare:t===void 0?null:t}};ye.useCallback=function(e,t){return Zt().useCallback(e,t)};ye.useContext=function(e,t){return Zt().useContext(e,t)};ye.useDebugValue=function(){};ye.useEffect=function(e,t){return Zt().useEffect(e,t)};ye.useImperativeHandle=function(e,t,r){return Zt().useImperativeHandle(e,t,r)};ye.useLayoutEffect=function(e,t){return Zt().useLayoutEffect(e,t)};ye.useMemo=function(e,t){return Zt().useMemo(e,t)};ye.useReducer=function(e,t,r){return Zt().useReducer(e,t,r)};ye.useRef=function(e){return Zt().useRef(e)};ye.useState=function(e){return Zt().useState(e)};ye.version="16.14.0";var me={},Zd="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ep=Zd,tp=Function.call.bind(Object.prototype.hasOwnProperty),ri=function(){};if(process.env.NODE_ENV!=="production"){var rp=ep,ni={},np=tp;ri=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function Rc(e,t,r,n,o){if(process.env.NODE_ENV!=="production"){for(var i in e)if(np(e,i)){var s;try{if(typeof e[i]!="function"){var l=Error((n||"React class")+": "+r+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[i](t,i,n,r,null,rp)}catch(d){s=d}if(s&&!(s instanceof Error)&&ri((n||"React class")+": type specification of "+r+" `"+i+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof s+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),s instanceof Error&&!(s.message in ni)){ni[s.message]=!0;var u=o?o():"";ri("Failed "+r+" type: "+s.message+(u??""))}}}}Rc.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(ni={})};var op=Rc;/** @license React v16.14.0
219
- * react.development.js
220
- *
221
- * Copyright (c) Facebook, Inc. and its affiliates.
222
- *
223
- * This source code is licensed under the MIT license found in the
224
- * LICENSE file in the root directory of this source tree.
225
- */process.env.NODE_ENV!=="production"&&function(){var e=bc,t=op,r="16.14.0",n=typeof Symbol=="function"&&Symbol.for,o=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,l=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,d=n?Symbol.for("react.provider"):60109,h=n?Symbol.for("react.context"):60110,y=n?Symbol.for("react.concurrent_mode"):60111,w=n?Symbol.for("react.forward_ref"):60112,v=n?Symbol.for("react.suspense"):60113,T=n?Symbol.for("react.suspense_list"):60120,x=n?Symbol.for("react.memo"):60115,O=n?Symbol.for("react.lazy"):60116,A=n?Symbol.for("react.block"):60121,C=n?Symbol.for("react.fundamental"):60117,k=n?Symbol.for("react.responder"):60118,I=n?Symbol.for("react.scope"):60119,M=typeof Symbol=="function"&&Symbol.iterator,D="@@iterator";function P(a){if(a===null||typeof a!="object")return null;var p=M&&a[M]||a[D];return typeof p=="function"?p:null}var ve={current:null},be={suspense:null},pe={current:null},Ne=/^(.*)[\\\/]/;function Me(a,p,m){var S="";if(p){var j=p.fileName,ne=j.replace(Ne,"");if(/^index\./.test(ne)){var U=j.match(Ne);if(U){var H=U[1];if(H){var Fe=H.replace(Ne,"");ne=Fe+"/"+ne}}}S=" (at "+ne+":"+p.lineNumber+")"}else m&&(S=" (created by "+m+")");return`
226
- in `+(a||"Unknown")+S}var we=1;function J(a){return a._status===we?a._result:null}function Ee(a,p,m){var S=p.displayName||p.name||"";return a.displayName||(S!==""?m+"("+S+")":m)}function se(a){if(a==null)return null;if(typeof a.tag=="number"&&G("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case s:return"Fragment";case i:return"Portal";case u:return"Profiler";case l:return"StrictMode";case v:return"Suspense";case T:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case h:return"Context.Consumer";case d:return"Context.Provider";case w:return Ee(a,a.render,"ForwardRef");case x:return se(a.type);case A:return se(a.render);case O:{var p=a,m=J(p);if(m)return se(m);break}}return null}var ae={},ce=null;function re(a){ce=a}ae.getCurrentStack=null,ae.getStackAddendum=function(){var a="";if(ce){var p=se(ce.type),m=ce._owner;a+=Me(p,ce._source,m&&se(m.type))}var S=ae.getCurrentStack;return S&&(a+=S()||""),a};var q={current:!1},le={ReactCurrentDispatcher:ve,ReactCurrentBatchConfig:be,ReactCurrentOwner:pe,IsSomeRendererActing:q,assign:e};e(le,{ReactDebugCurrentFrame:ae,ReactComponentTreeHook:{}});function ge(a){{for(var p=arguments.length,m=new Array(p>1?p-1:0),S=1;S<p;S++)m[S-1]=arguments[S];it("warn",a,m)}}function G(a){{for(var p=arguments.length,m=new Array(p>1?p-1:0),S=1;S<p;S++)m[S-1]=arguments[S];it("error",a,m)}}function it(a,p,m){{var S=m.length>0&&typeof m[m.length-1]=="string"&&m[m.length-1].indexOf(`
227
- in`)===0;if(!S){var j=le.ReactDebugCurrentFrame,ne=j.getStackAddendum();ne!==""&&(p+="%s",m=m.concat([ne]))}var U=m.map(function(Ve){return""+Ve});U.unshift("Warning: "+p),Function.prototype.apply.call(console[a],console,U);try{var H=0,Fe="Warning: "+p.replace(/%s/g,function(){return m[H++]});throw new Error(Fe)}catch{}}}var et={};function We(a,p){{var m=a.constructor,S=m&&(m.displayName||m.name)||"ReactClass",j=S+"."+p;if(et[j])return;G("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",p,S),et[j]=!0}}var qe={isMounted:function(a){return!1},enqueueForceUpdate:function(a,p,m){We(a,"forceUpdate")},enqueueReplaceState:function(a,p,m,S){We(a,"replaceState")},enqueueSetState:function(a,p,m,S){We(a,"setState")}},fe={};Object.freeze(fe);function _e(a,p,m){this.props=a,this.context=p,this.refs=fe,this.updater=m||qe}_e.prototype.isReactComponent={},_e.prototype.setState=function(a,p){if(!(typeof a=="object"||typeof a=="function"||a==null))throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,p,"setState")},_e.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};{var $e={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Be=function(a,p){Object.defineProperty(_e.prototype,a,{get:function(){ge("%s(...) is deprecated in plain JavaScript React classes. %s",p[0],p[1])}})};for(var Pe in $e)$e.hasOwnProperty(Pe)&&Be(Pe,$e[Pe])}function ut(){}ut.prototype=_e.prototype;function kt(a,p,m){this.props=a,this.context=p,this.refs=fe,this.updater=m||qe}var Te=kt.prototype=new ut;Te.constructor=kt,e(Te,_e.prototype),Te.isPureReactComponent=!0;function ft(){var a={current:null};return Object.seal(a),a}var Qe=Object.prototype.hasOwnProperty,dt={key:!0,ref:!0,__self:!0,__source:!0},de,pt,ht;ht={};function gt(a){if(Qe.call(a,"ref")){var p=Object.getOwnPropertyDescriptor(a,"ref").get;if(p&&p.isReactWarning)return!1}return a.ref!==void 0}function Ct(a){if(Qe.call(a,"key")){var p=Object.getOwnPropertyDescriptor(a,"key").get;if(p&&p.isReactWarning)return!1}return a.key!==void 0}function tt(a,p){var m=function(){de||(de=!0,G("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",p))};m.isReactWarning=!0,Object.defineProperty(a,"key",{get:m,configurable:!0})}function st(a,p){var m=function(){pt||(pt=!0,G("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",p))};m.isReactWarning=!0,Object.defineProperty(a,"ref",{get:m,configurable:!0})}function mt(a){if(typeof a.ref=="string"&&pe.current&&a.__self&&pe.current.stateNode!==a.__self){var p=se(pe.current.type);ht[p]||(G('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref',se(pe.current.type),a.ref),ht[p]=!0)}}var Je=function(a,p,m,S,j,ne,U){var H={$$typeof:o,type:a,key:p,ref:m,props:U,_owner:ne};return H._store={},Object.defineProperty(H._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(H,"_self",{configurable:!1,enumerable:!1,writable:!1,value:S}),Object.defineProperty(H,"_source",{configurable:!1,enumerable:!1,writable:!1,value:j}),Object.freeze&&(Object.freeze(H.props),Object.freeze(H)),H};function xt(a,p,m){var S,j={},ne=null,U=null,H=null,Fe=null;if(p!=null){gt(p)&&(U=p.ref,mt(p)),Ct(p)&&(ne=""+p.key),H=p.__self===void 0?null:p.__self,Fe=p.__source===void 0?null:p.__source;for(S in p)Qe.call(p,S)&&!dt.hasOwnProperty(S)&&(j[S]=p[S])}var Ve=arguments.length-2;if(Ve===1)j.children=m;else if(Ve>1){for(var $t=Array(Ve),wt=0;wt<Ve;wt++)$t[wt]=arguments[wt+2];Object.freeze&&Object.freeze($t),j.children=$t}if(a&&a.defaultProps){var Qt=a.defaultProps;for(S in Qt)j[S]===void 0&&(j[S]=Qt[S])}if(ne||U){var It=typeof a=="function"?a.displayName||a.name||"Unknown":a;ne&&tt(j,It),U&&st(j,It)}return Je(a,ne,U,H,Fe,pe.current,j)}function St(a,p){var m=Je(a.type,p,a.ref,a._self,a._source,a._owner,a.props);return m}function Pt(a,p,m){if(a==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var S,j=e({},a.props),ne=a.key,U=a.ref,H=a._self,Fe=a._source,Ve=a._owner;if(p!=null){gt(p)&&(U=p.ref,Ve=pe.current),Ct(p)&&(ne=""+p.key);var $t;a.type&&a.type.defaultProps&&($t=a.type.defaultProps);for(S in p)Qe.call(p,S)&&!dt.hasOwnProperty(S)&&(p[S]===void 0&&$t!==void 0?j[S]=$t[S]:j[S]=p[S])}var wt=arguments.length-2;if(wt===1)j.children=m;else if(wt>1){for(var Qt=Array(wt),It=0;It<wt;It++)Qt[It]=arguments[It+2];j.children=Qt}return Je(a.type,ne,U,H,Fe,Ve,j)}function Ge(a){return typeof a=="object"&&a!==null&&a.$$typeof===o}var jt=".",rt=":";function xe(a){var p=/[=:]/g,m={"=":"=0",":":"=2"},S=(""+a).replace(p,function(j){return m[j]});return"$"+S}var Nt=!1,Ft=/\/+/g;function yt(a){return(""+a).replace(Ft,"$&/")}var vt=10,He=[];function at(a,p,m,S){if(He.length){var j=He.pop();return j.result=a,j.keyPrefix=p,j.func=m,j.context=S,j.count=0,j}else return{result:a,keyPrefix:p,func:m,context:S,count:0}}function ze(a){a.result=null,a.keyPrefix=null,a.func=null,a.context=null,a.count=0,He.length<vt&&He.push(a)}function Ye(a,p,m,S){var j=typeof a;(j==="undefined"||j==="boolean")&&(a=null);var ne=!1;if(a===null)ne=!0;else switch(j){case"string":case"number":ne=!0;break;case"object":switch(a.$$typeof){case o:case i:ne=!0}}if(ne)return m(S,a,p===""?jt+Se(a,0):p),1;var U,H,Fe=0,Ve=p===""?jt:p+rt;if(Array.isArray(a))for(var $t=0;$t<a.length;$t++)U=a[$t],H=Ve+Se(U,$t),Fe+=Ye(U,H,m,S);else{var wt=P(a);if(typeof wt=="function"){wt===a.entries&&(Nt||ge("Using Maps as children is deprecated and will be removed in a future major release. Consider converting children to an array of keyed ReactElements instead."),Nt=!0);for(var Qt=wt.call(a),It,Eo=0;!(It=Qt.next()).done;)U=It.value,H=Ve+Se(U,Eo++),Fe+=Ye(U,H,m,S)}else if(j==="object"){var wn="";wn=" If you meant to render a collection of children, use an array instead."+ae.getStackAddendum();var Ur=""+a;throw Error("Objects are not valid as a React child (found: "+(Ur==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":Ur)+")."+wn)}}return Fe}function Et(a,p,m){return a==null?0:Ye(a,"",p,m)}function Se(a,p){return typeof a=="object"&&a!==null&&a.key!=null?xe(a.key):p.toString(36)}function Ke(a,p,m){var S=a.func,j=a.context;S.call(j,p,a.count++)}function N(a,p,m){if(a==null)return a;var S=at(null,null,p,m);Et(a,Ke,S),ze(S)}function Z(a,p,m){var S=a.result,j=a.keyPrefix,ne=a.func,U=a.context,H=ne.call(U,p,a.count++);Array.isArray(H)?je(H,S,m,function(Fe){return Fe}):H!=null&&(Ge(H)&&(H=St(H,j+(H.key&&(!p||p.key!==H.key)?yt(H.key)+"/":"")+m)),S.push(H))}function je(a,p,m,S,j){var ne="";m!=null&&(ne=yt(m)+"/");var U=at(p,ne,S,j);Et(a,Z,U),ze(U)}function bt(a,p,m){if(a==null)return a;var S=[];return je(a,S,null,p,m),S}function R(a){return Et(a,function(){return null},null)}function V(a){var p=[];return je(a,p,null,function(m){return m}),p}function z(a){if(!Ge(a))throw Error("React.Children.only expected to receive a single React element child.");return a}function Ae(a,p){p===void 0?p=null:p!==null&&typeof p!="function"&&G("createContext: Expected the optional second argument to be a function. Instead received: %s",p);var m={$$typeof:h,_calculateChangedBits:p,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};m.Provider={$$typeof:d,_context:m};var S=!1,j=!1;{var ne={$$typeof:h,_context:m,_calculateChangedBits:m._calculateChangedBits};Object.defineProperties(ne,{Provider:{get:function(){return j||(j=!0,G("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),m.Provider},set:function(U){m.Provider=U}},_currentValue:{get:function(){return m._currentValue},set:function(U){m._currentValue=U}},_currentValue2:{get:function(){return m._currentValue2},set:function(U){m._currentValue2=U}},_threadCount:{get:function(){return m._threadCount},set:function(U){m._threadCount=U}},Consumer:{get:function(){return S||(S=!0,G("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),m.Consumer}}}),m.Consumer=ne}return m._currentRenderer=null,m._currentRenderer2=null,m}function Le(a){var p={$$typeof:O,_ctor:a,_status:-1,_result:null};{var m,S;Object.defineProperties(p,{defaultProps:{configurable:!0,get:function(){return m},set:function(j){G("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),m=j,Object.defineProperty(p,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return S},set:function(j){G("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),S=j,Object.defineProperty(p,"propTypes",{enumerable:!0})}}})}return p}function ct(a){return a!=null&&a.$$typeof===x?G("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof a!="function"?G("forwardRef requires a render function but was given %s.",a===null?"null":typeof a):a.length!==0&&a.length!==2&&G("forwardRef render functions accept exactly two parameters: props and ref. %s",a.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),a!=null&&(a.defaultProps!=null||a.propTypes!=null)&&G("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:w,render:a}}function Oe(a){return typeof a=="string"||typeof a=="function"||a===s||a===y||a===u||a===l||a===v||a===T||typeof a=="object"&&a!==null&&(a.$$typeof===O||a.$$typeof===x||a.$$typeof===d||a.$$typeof===h||a.$$typeof===w||a.$$typeof===C||a.$$typeof===k||a.$$typeof===I||a.$$typeof===A)}function f(a,p){return Oe(a)||G("memo: The first argument must be a component. Instead received: %s",a===null?"null":typeof a),{$$typeof:x,type:a,compare:p===void 0?null:p}}function b(){var a=ve.current;if(a===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
228
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
229
- 2. You might be breaking the Rules of Hooks
230
- 3. You might have more than one copy of React in the same app
231
- See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return a}function $(a,p){var m=b();if(p!==void 0&&G("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",p,typeof p=="number"&&Array.isArray(arguments[2])?`
232
-
233
- Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://fb.me/rules-of-hooks`:""),a._context!==void 0){var S=a._context;S.Consumer===a?G("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):S.Provider===a&&G("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return m.useContext(a,p)}function F(a){var p=b();return p.useState(a)}function ie(a,p,m){var S=b();return S.useReducer(a,p,m)}function te(a){var p=b();return p.useRef(a)}function K(a,p){var m=b();return m.useEffect(a,p)}function Y(a,p){var m=b();return m.useLayoutEffect(a,p)}function De(a,p){var m=b();return m.useCallback(a,p)}function B(a,p){var m=b();return m.useMemo(a,p)}function ue(a,p,m){var S=b();return S.useImperativeHandle(a,p,m)}function Ce(a,p){{var m=b();return m.useDebugValue(a,p)}}var Xe;Xe=!1;function Yt(){if(pe.current){var a=se(pe.current.type);if(a)return`
234
-
235
- Check the render method of \``+a+"`."}return""}function nt(a){if(a!==void 0){var p=a.fileName.replace(/^.*[\\\/]/,""),m=a.lineNumber;return`
236
-
237
- Check your code at `+p+":"+m+"."}return""}function go(a){return a!=null?nt(a.__source):""}var gn={};function mo(a){var p=Yt();if(!p){var m=typeof a=="string"?a:a.displayName||a.name;m&&(p=`
238
-
239
- Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(!a._store||a._store.validated||a.key!=null)){a._store.validated=!0;var m=mo(p);if(!gn[m]){gn[m]=!0;var S="";a&&a._owner&&a._owner!==pe.current&&(S=" It was passed a child from "+se(a._owner.type)+"."),re(a),G('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',m,S),re(null)}}}function ar(a,p){if(typeof a=="object"){if(Array.isArray(a))for(var m=0;m<a.length;m++){var S=a[m];Ge(S)&&Vr(S,p)}else if(Ge(a))a._store&&(a._store.validated=!0);else if(a){var j=P(a);if(typeof j=="function"&&j!==a.entries)for(var ne=j.call(a),U;!(U=ne.next()).done;)Ge(U.value)&&Vr(U.value,p)}}}function mn(a){{var p=a.type;if(p==null||typeof p=="string")return;var m=se(p),S;if(typeof p=="function")S=p.propTypes;else if(typeof p=="object"&&(p.$$typeof===w||p.$$typeof===x))S=p.propTypes;else return;S?(re(a),t(S,a.props,"prop",m,ae.getStackAddendum),re(null)):p.PropTypes!==void 0&&!Xe&&(Xe=!0,G("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",m||"Unknown")),typeof p.getDefaultProps=="function"&&!p.getDefaultProps.isReactClassApproved&&G("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Br(a){{re(a);for(var p=Object.keys(a.props),m=0;m<p.length;m++){var S=p[m];if(S!=="children"&&S!=="key"){G("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",S);break}}a.ref!==null&&G("Invalid attribute `ref` supplied to `React.Fragment`."),re(null)}}function yn(a,p,m){var S=Oe(a);if(!S){var j="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(j+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ne=go(p);ne?j+=ne:j+=Yt();var U;a===null?U="null":Array.isArray(a)?U="array":a!==void 0&&a.$$typeof===o?(U="<"+(se(a.type)||"Unknown")+" />",j=" Did you accidentally export a JSX literal instead of a component?"):U=typeof a,G("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",U,j)}var H=xt.apply(this,arguments);if(H==null)return H;if(S)for(var Fe=2;Fe<arguments.length;Fe++)ar(arguments[Fe],a);return a===s?Br(H):mn(H),H}var vn=!1;function yo(a){var p=yn.bind(null,a);return p.type=a,vn||(vn=!0,ge("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(p,"type",{enumerable:!1,get:function(){return ge("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:a}),a}}),p}function vo(a,p,m){for(var S=Pt.apply(this,arguments),j=2;j<arguments.length;j++)ar(arguments[j],S.type);return mn(S),S}try{var bn=Object.freeze({}),bo=new Map([[bn,null]]),zr=new Set([bn]);bo.set(0,0),zr.add(0)}catch{}var wo=yn,_o=vo,xo=yo,So={map:bt,forEach:N,count:R,toArray:V,only:z};me.Children=So,me.Component=_e,me.Fragment=s,me.Profiler=u,me.PureComponent=kt,me.StrictMode=l,me.Suspense=v,me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=le,me.cloneElement=_o,me.createContext=Ae,me.createElement=wo,me.createFactory=xo,me.createRef=ft,me.forwardRef=ct,me.isValidElement=Ge,me.lazy=Le,me.memo=f,me.useCallback=De,me.useContext=$,me.useDebugValue=Ce,me.useEffect=K,me.useImperativeHandle=ue,me.useLayoutEffect=Y,me.useMemo=B,me.useReducer=ie,me.useRef=te,me.useState=F,me.version=r}();process.env.NODE_ENV==="production"?Jr.exports=ye:Jr.exports=me;var $r=Jr.exports,Io={sdkSemver:"1.13.0",techVersion:$r.version,sdkCode:"J"},ip=function(e){yc(t,e);function t(r){var n=e.call(this,r)||this;return n.imageRef=$r.createRef(),n}return t.prototype.componentDidMount=function(){this.htmlLayerInstance=new Gu(this.imageRef.current,this.props.cldImg,this.props.plugins,Io)},t.prototype.componentDidUpdate=function(){Fn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,Io)},t.prototype.componentWillUnmount=function(){Fn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},t.prototype.render=function(){var r=this.props;r.cldImg,r.plugins;var n=vc(r,["cldImg","plugins"]);if(ki())return $r.createElement("img",Qr({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=jd(this.props.plugins,this.props.cldImg,Io);return $r.createElement("img",Qr({},n,{src:o}))},t}($r.Component),sp=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(e){yc(t,e);function t(r){var n=e.call(this,r)||this;return n.videoRef=Jr.exports.createRef(),n.attachRef=n.attachRef.bind(n),n}return t.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new Sd(this.videoRef&&this.videoRef.current,this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster,{useFetchFormat:this.props.useFetchFormat})},t.prototype.componentDidUpdate=function(){Fn(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},t.prototype.componentWillUnmount=function(){Fn(this.htmlVideoLayerInstance.htmlPluginState)},t.prototype.getVideoAttributes=function(){var r=this,n={};return sp.forEach(function(o){o in r.props&&(n[o]=r.props[o])}),n},t.prototype.attachRef=function(r){this.videoRef.current=r;var n=this.props.innerRef;n&&(n instanceof Function?n(r):n.current=r)},t.prototype.render=function(){var r=this.props;r.cldVid,r.cldPoster,r.plugins,r.sources,r.innerRef,r.useFetchFormat;var n=vc(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return $r.createElement("video",Qr({},n,{ref:this.attachRef}))},t})(Jr.exports.Component);function ap(e){return!(typeof e!="object"||e instanceof Array)}class cp{filterOutNonSupportedKeys(t,r){const n=Object.create({});return ap(t)?(Object.keys(t).forEach(o=>{r.indexOf(o)>=0?n[o]=t[o]:console.warn("Warning - unsupported key provided to configuration: ",o)}),n):Object.create({})}}const Ps=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class Di extends cp{constructor(t){super();const r=this.filterOutNonSupportedKeys(t,Ps);Object.assign(this,{secure:!0},r)}extend(t){const r=this.filterOutNonSupportedKeys(t,Ps);return new Di(Object.assign({},this,r))}setCname(t){return this.cname=t,this}setSecureDistribution(t){return this.secureDistribution=t,this}setPrivateCdn(t){return this.privateCdn=t,this}setSignUrl(t){return this.signUrl=t,this}setLongUrlSignature(t){return this.longUrlSignature=t,this}setShorten(t){return this.shorten=t,this}setUseRootPath(t){return this.useRootPath=t,this}setSecure(t){return this.secure=t,this}setForceVersion(t){return this.forceVersion=t,this}setQueryParams(t){return this.queryParams=t,this}}class Kr{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}}class lp extends Error{constructor(t="Unsupported"){super(t)}}function Ni(e){return new lp(e)}function up(){return this._qualifierModel||{error:Ni(`unsupported qualifier ${this.constructor.name}`)}}class fp{constructor(){this._qualifierModel={}}toJson(){return up.apply(this)}}class co extends fp{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Kr?this.qualifierValue=r:(this.qualifierValue=new Kr,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}}class nr extends co{constructor(t,r){let n;r?n=new Kr([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function dp(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function pp(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:Ni(`unsupported action ${this.constructor.name}`)}}class hp{constructor(){this._actionModel={}}toJson(){return pp.apply(this)}}class Fi extends hp{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),dp(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new nr(n)):this.qualifiers.set(r,new co(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new nr(t)):t instanceof nr&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}}function gp(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class mp extends Fi{constructor(t){super(),this._actionModel={},this.addQualifier(new co("b",new Kr(gp(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}}class js{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:Ni(`unsupported action ${this.constructor.name}`)}}}function yp(e){const t=e;return"error"in t&&!!t.error}function vp(){return new nr("lossy")}function bp(){return new nr("preserve_transparency")}function wp(e){return new nr("progressive",e)}class _p extends Kr{constructor(t){super(t),this.val=t}getValue(){return this.val}}function _r(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const xp={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},Sp={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},Ep={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},$p={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Tp={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},Ap={444:"CHROMA_444",420:"CHROMA_420"},Op={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};_r(Ap);_r(Op);_r(xp);const Cp=_r(Sp);_r(Ep);_r($p);_r(Tp);class Rp extends Fi{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof _p?o=r.getValue():o=r,this._actionModel.actionType=Cp[t],this._actionModel[n]=o,this.addQualifier(new co(t,r))}}class kp extends nr{constructor(t){super("progressive",t)}}class Bn extends Rp{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(vp()),this}progressive(t){return t instanceof kp?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(wp(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(bp()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;let s;return r?s=new this("f",r):s=new this("f"),o&&(o.mode?s.progressive(o.mode):s.progressive()),n&&s.lossy(),i&&s.preserveTransparency(),s}}class lo{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new js(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof lo?this.actions=this.actions.concat(t.actions):this.actions.push(new js(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new Bn("q",t)),this}format(t){return this.addAction(new Bn("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new mp(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new Fi;let n=t;return typeof t=="string"&&(n=new nr(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(yp(n))return n;t.push(n)}return{actions:t}}}class Pp extends lo{}class jp extends lo{}function Ip(e){return e.match(/^https?:\//)}function Mp(e){return e.indexOf("/")<0}function Lp(e){return e.match(/^v[0-9]+/)}function Dp(e,t){const r=t.secure,n=t.privateCdn,o=t.cname,i=t.secureDistribution;return!r&&!o?`http://res.cloudinary.com/${e}`:r&&!i&&n?`https://${e}-res.cloudinary.com`:r&&!i?`https://res.cloudinary.com/${e}`:r&&i&&n?`https://${i}`:r&&i?`https://${i}/${e}`:!r&&o?`http://${o}/${e}`:"ERROR"}function Np(e){return e||"image"}function Fp(e){return e||"upload"}function Vp(e,t,r){const n=r!==!1;return t?`v${t}`:Lp(e)||Ip(e)||Mp(e)?"":n?"v1":""}function Vi(e,t,r){let n=t>>0,o=String(r);return e.length>n?String(e):(n=n-e.length,n>o.length&&(o+=Bp(o,n/o.length)),o.slice(0,n)+String(e))}function Bp(e,t){let r=t,n="";for(;r>0;)n+=e,r--;return n}const zp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",zn={};let Is=0;zp.split("").forEach(e=>{let t=Is.toString(2);t=Vi(t,6,"0"),zn[t]=e,Is++});function Up(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").reverse().join(".")}function Wp(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").map(t=>{const r=+t;if(isNaN(r)||r<0)throw"Invalid version number provided";return Vi(t,2,"0")}).join(".")}function Ms(e){let t="";const n=e.split(".").length*6,o=Up(e),i=Wp(o);let l=parseInt(i.split(".").join("")).toString(2);if(l=Vi(l,n,"0"),l.length%6!==0)throw"Version must be smaller than 43.21.26)";return l.match(/.{1,6}/g).forEach(u=>{t+=zn[u]}),t}function qp(e){const t={sdkSemver:e.sdkSemver,techVersion:e.techVersion,sdkCode:e.sdkCode,product:e.product,feature:"0",osType:e.osType,osVersion:e.osVersion};return e.accessibility&&(t.feature="D"),e.lazyload&&(t.feature="C"),e.responsive&&(t.feature="A"),e.placeholder&&(t.feature="B"),t}const Gp="1.21.0";function Hp(e){const[t,r]=e.split("."),n=parseInt(t).toString(2),o=parseInt(r).toString(2),i=n.padStart(6,"0"),s=o.padStart(6,"0");return zn[i]+zn[s]}function Yp(){const e="0.0.0";if(typeof window<"u")return e;try{return process.versions.node||e}catch{return e}}function Qp(e){const t={techVersion:Yp(),sdkCode:"T",sdkSemver:Gp.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return e?Object.assign(Object.assign({},t),e):t}function Ls(e){const t=Qp(e),r=qp(t);try{const n=Jp(r.techVersion),o=Ms(r.sdkSemver),i=Ms(n),s=Hp(r.osVersion),l=r.feature,u=r.sdkCode,{product:d,osType:h}=r;return`D${d}${u}${o}${i}${h}${s}${l}`}catch{return"E"}}function Jp(e){const t=e.split(".");return`${t[0]}.${t[1]}`}const Ds={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class Kp{constructor(t,r={},n){this.setPublicID(t),this.setCloudConfig(r),this.setURLConfig(n)}setURLConfig(t){return this.urlConfig=new Di(t),this}setCloudConfig(t){return this.cloudName=t.cloudName,this.apiKey=t.apiKey,this.apiSecret=t.apiSecret,this.authToken=t.authToken,this}setPublicID(t){return this.publicID=t?t.toString():"",this}setDeliveryType(t){return this.deliveryType=t,this}setSuffix(t){return this.suffix=t,this}setSignature(t){return this.signature=t,this}setVersion(t){return t&&(this.version=t),this}setAssetType(t){return t&&(this.assetType=t),this}sign(){return this}toURL(t={}){return this.createCloudinaryURL(null,t.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";const t=this.suffix&&this.suffix.indexOf(".")>=0,r=this.suffix&&this.suffix.indexOf("/")>=0;if(t||r)throw"`suffix`` should not include . or /"}getResourceType(){const t=Np(this.assetType),r=Fp(this.deliveryType),n=!!this.suffix,o=`${t}/${r}`,i=Ds[`${t}/${r}`],s=this.urlConfig.useRootPath,l=this.urlConfig.shorten;if(s){if(o==="image/upload")return"";throw new Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${o} instead`)}if(l&&o==="image/upload")return"iu";if(n){if(i)return i;throw new Error(`URL Suffix only supported for ${Object.keys(Ds).join(", ")}, Provided: ${o} instead`)}return o}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(t,r){if(!this.publicID)return"";this.validateAssetForURLCreation();const n=Dp(this.cloudName,this.urlConfig),o=t?t.toString():"",i=Vp(this.publicID,this.version,this.urlConfig.forceVersion),s=this.publicID;if(typeof t=="string")return[n,this.getResourceType(),this.getSignature(),o,i,s.replace(/,/g,"%2C"),this.suffix].filter(u=>u).join("/");{const l=[encodeURI(n),this.getResourceType(),this.getSignature(),encodeURI(o),i,encodeURI(s).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(h=>h).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),u=this.urlConfig.analytics!==!1&&!s.includes("?");let d="";if(typeof this.urlConfig.queryParams=="object")try{const h=new URLSearchParams(this.urlConfig.queryParams);u&&h.set("_a",Ls(r)),d=h.toString()}catch{console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else d=this.urlConfig.queryParams||"",u&&(d+=`${d.length>0?"&":""}_a=${Ls(r)}`);return d?`${l}?${d}`:l}}}class kc extends Kp{constructor(t,r,n,o){super(t,r,n),this.transformation=o}animated(t){return this.transformation.animated(t),this}border(t){return this.transformation.border(t),this}reshape(t){return this.transformation.reshape(t),this}resize(t){return this.transformation.resize(t),this}quality(t){return this.addAction(new Bn("q",t)),this}format(t){return this.addAction(new Bn("f",t)),this}roundCorners(t){return this.transformation.roundCorners(t),this}overlay(t){return this.transformation.overlay(t),this}addVariable(t){return this.transformation.addVariable(t),this}conditional(t){return this.transformation.conditional(t),this}effect(t){return this.transformation.effect(t),this}adjust(t){return this.transformation.adjust(t),this}rotate(t){return this.transformation.rotate(t),this}namedTransformation(t){return this.transformation.namedTransformation(t),this}delivery(t){return this.transformation.delivery(t),this}backgroundColor(t){return this.transformation.backgroundColor(t),this}psdTools(t){return this.transformation.psdTools(t),this}extract(t){return this.transformation.extract(t),this}addFlag(t){return this.transformation.addFlag(t),this}customFunction(t){return this.transformation.customFunction(t),this}addAction(t){return this.transformation.addAction(t),this}addTransformation(t){return this.transformation.addTransformation(t),this}toString(){return this.transformation.toString()}underlay(t){return this.transformation.underlay(t),this}toURL(t={}){return this.createCloudinaryURL(this.transformation,t==null?void 0:t.trackedAnalytics)}}class Xp extends kc{constructor(t,r,n){super(t,r,n,new Pp)}}class Zp extends kc{constructor(t,r,n){super(t,r,n,new jp),this.assetType="video"}transcode(t){return this.transformation.transcode(t),this}videoEdit(t){return this.transformation.videoEdit(t),this}}class eh{constructor(t){t&&(this.cloudinaryConfig=t)}image(t){return new Xp(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(t){return new Zp(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(t){return this.cloudinaryConfig=t,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const th=({publicId:e,format:t="webp"})=>{const r=E.useMemo(()=>new eh({cloud:{cloudName:"fluid-attacks"}}),[]);return E.useMemo(()=>r.image(e).format(t),[r,e,t])},rh=({alt:e="img",height:t="",width:r="",plugins:n=[Ad(),kd()],publicId:o})=>{const i=th({publicId:o});return Q.jsx(ip,{alt:e,cldImg:i,height:t,plugins:n,width:r})},Un=E.memo(rh),nh=_t(to)`
240
- ${({$center:e=!1})=>`
241
- ${e?"margin: auto;":""}
242
- `}
243
- `,Ot=E.forwardRef(function({as:t="div",center:r,children:n,id:o,onHover:i,onLeave:s,...l},u){return Q.jsx(nh,{$center:r,as:t,id:o,onMouseLeave:s,onMouseOver:i,ref:u,...l,children:n})}),oh={xl:"96px",lg:"64px",md:"32px",sm:"24px",xs:"16px",xxs:"12px"},ih=_t(Ma)`
216
+ `,tf={xl:"96px",lg:"64px",md:"32px",sm:"24px",xs:"16px",xxs:"12px"},rf=Qe(ja)`
244
217
  ${({$clickable:e,$color:t="inherit",$disabled:r=!1,$hoverColor:n,$rotation:o,$size:i})=>`
245
218
  color: ${t};
246
219
  cursor: ${e?"cursor":"inherit"};
247
- font-size: ${oh[i]};
220
+ font-size: ${tf[i]};
248
221
  line-height: 0;
249
222
  vertical-align: middle;
250
223
  pointer-events: inherit;
@@ -260,42 +233,19 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
260
233
  }
261
234
  `:""}}
262
235
  `}
263
- `;_t.div`
236
+ `;Qe.div`
264
237
  cursor: pointer;
265
238
  transition: all 0.2s ease-in-out;
266
239
 
267
240
  &:hover:not([disabled]) {
268
241
  transform: scale(1.2);
269
242
  }
270
- `;const Pr=E.forwardRef(function({clickable:t,disabled:r,hoverColor:n,icon:o,iconClass:i="",iconColor:s,iconSize:l,iconType:u="fa-solid",onClick:d,rotation:h,...y},w){return Q.jsx(ih,{$clickable:t,$color:s,$disabled:r,$hoverColor:n,$rotation:h,$size:l,"data-testid":`${o}-icon`,onClick:d,ref:w,...y,children:Q.jsx("i",{className:`${u} fa-${o} ${i}`})},`${u}-${o}`)}),sh=_t(wi)`
271
- ${({theme:e,$color:t=e.palette.gray[800],$display:r="block",$fontFamily:n=e.typography.type.poppins,$fontWeight:o="bold",$letterSpacing:i=0,$lineSpacing:s=1.5,$size:l,$wordBreak:u="normal"})=>`
272
- color: ${t};
273
- display: ${r};
274
- font-family: ${n};
275
- font-size: ${e.typography.heading[l]};
276
- font-weight: ${e.typography.weight[o]};
277
- letter-spacing: ${i};
278
- line-height: ${e.spacing[s]};
279
- width: ${r==="block"?"100%":"auto"};
280
- word-break: ${u};
281
- `}
282
- `,ah=_t(wi)`
283
- ${({theme:e,$color:t=e.palette.gray[600],$display:r="block",$fontFamily:n=e.typography.type.primary,$fontWeight:o="regular",$letterSpacing:i=0,$lineSpacing:s=1.25,$size:l,$wordBreak:u="normal"})=>`
284
- color: ${t};
285
- display: ${r};
286
- font-family: ${n};
287
- font-size: ${e.typography.text[l]};
288
- font-weight: ${e.typography.weight[o]};
289
- letter-spacing: ${i};
290
- line-height: ${e.spacing[s]};
291
- width: ${r==="block"?"100%":"auto"};
292
- word-break: ${u};
293
- `}
294
- `,ch=E.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:l,size:u,wordBreak:d,...h},y){return Q.jsx(sh,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:s,lineSpacing:l,$size:u,$wordBreak:d,ref:y,...h,children:t})}),dr=E.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:l,size:u,wordBreak:d,...h},y){return Q.jsx(ah,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:s,lineSpacing:l,$size:u,$wordBreak:d,ref:y,...h,children:t})}),lh=E.forwardRef(function({progressTime:t=10,items:r,bgColor:n,variant:o="simple"},i){const l=o==="progress"&&r.length>1,[u,d]=E.useState(!1),[h,y]=E.useState(-1),[w,v]=E.useState(0),T=E.useCallback(x=>()=>{y(x),zu(x,h,d),l&&v(0)},[h]);return E.useEffect(()=>{if(l&&u){const x=()=>{y(O=>O===r.length-1?0:O+1)};w===100&&(v(0),x())}},[w,u]),E.useEffect(()=>{if(l&&u){const x=setInterval(()=>{v(O=>O===100?0:O+1)},Uu(t));return()=>{clearInterval(x)}}},[w,u]),l?Q.jsx(Ot,{ref:i,children:r.map((x,O)=>Q.jsxs(Ot,{bgColor:n??oe.palette.white,children:[Q.jsx(Ot,{display:Po(O,h,u),bgColor:oe.palette.gray[200],height:"4px",children:Q.jsx(Nu,{$animationTime:t,bgGradient:oe.palette.gradients["01"],height:"100%",width:`${w}%`})}),Q.jsxs(Ot,{justify:"space-between",padding:[1.5,2,1.5,2],borderTop:Fu(O,h,u),borderBottom:ws(O,r.length),bgColorHover:oe.palette.gray[50],onClick:T(O),borderColor:oe.palette.gray[300],cursor:"pointer",children:[Q.jsxs(Ot,{display:"flex",gap:.75,children:[Q.jsx(dr,{color:oe.palette.gray[800],size:"md",fontWeight:"bold",children:x.title}),Q.jsx(Pr,{iconSize:"xs",icon:Vu(O,h,u),iconColor:oe.palette.gray[800]})]}),Q.jsxs(Ot,{display:Po(O,h,u),children:[Q.jsx(dr,{color:oe.palette.gray[600],size:"md",children:x.description}),x.image?Q.jsx(Un,{...x.image}):void 0]})]})]},x.title))}):Q.jsx(Ot,{ref:i,children:r.map((x,O)=>Q.jsx(Ot,{bgColor:n??oe.palette.white,children:Q.jsxs(Ot,{justify:"space-between",padding:[1.5,2,1.5,2],borderTop:"1px solid",borderBottom:ws(O,r.length),bgColorHover:oe.palette.gray[50],onClick:T(O),borderColor:oe.palette.gray[300],cursor:"pointer",children:[Q.jsxs(Ot,{display:"flex",gap:.75,children:[Q.jsx(dr,{color:oe.palette.gray[800],size:"md",fontWeight:"bold",children:x.title}),Q.jsx(Pr,{iconSize:"xs",icon:Bu(O,h,u),iconColor:oe.palette.gray[800]})]}),Q.jsxs(Ot,{display:Po(O,h,u),children:[Q.jsx(dr,{color:oe.palette.gray[600],size:"md",children:x.description}),x.image?Q.jsx(Un,{...x.image}):void 0]})]})},x.title))})}),{getVariant:uh}=ca(e=>({ghost:`
243
+ `;const kr=S.forwardRef(function({clickable:t,disabled:r,hoverColor:n,icon:o,iconClass:i="",iconColor:s,iconSize:l,iconType:u="fa-solid",onClick:d,rotation:h,...y},_){return K.jsx(rf,{$clickable:t,$color:s,$disabled:r,$hoverColor:n,$rotation:h,$size:l,"data-testid":`${o}-icon`,onClick:d,ref:_,...y,children:K.jsx("i",{className:`${u} fa-${o} ${i}`})},`${u}-${o}`)}),nf=S.forwardRef(function({aligned:t="end",progressTime:r=10,items:n,bgColor:o,variant:i="simple"},s){const u=i==="progress"&&n.length>1,[d,h]=S.useState(!!u),[y,_]=S.useState(u?0:-1),[v,T]=S.useState(0),O=S.useCallback(R=>()=>{_(R),zu(R,y,h),u&&T(0)},[y]);return S.useEffect(()=>{if(u&&d){const R=()=>{_(E=>E===n.length-1?0:E+1)};v===100&&(T(0),R())}},[v,d]),S.useEffect(()=>{if(u&&d){const R=setInterval(()=>{T(E=>E===100?0:E+1)},Qu(r));return()=>{clearInterval(R)}}},[v,d]),K.jsx(qt,{ref:s,children:n.map((R,E)=>{const A=E===y&&d;return K.jsxs(qt,{bgColor:o??de.palette.white,children:[u?K.jsx(qt,{bgColor:de.palette.gray[200],display:Ia(A),height:"4px",children:K.jsx(ef,{$animationTime:r,bgGradient:de.palette.gradients["01"],height:"100%",width:`${v}%`})}):void 0,K.jsxs(qt,{bgColorHover:qu(i),borderBottom:Fu(E,A,n.length,i),borderColor:Gu(i),borderTop:Vu(A,i),cursor:"pointer",onClick:O(E),padding:Uu(i),children:[K.jsxs(qt,{display:"flex",flexDirection:Yu(t),gap:.75,justify:"space-between",children:[K.jsx(Yr,{color:de.palette.gray[800],fontWeight:"bold",size:Ma(i),children:R.title}),K.jsx(kr,{icon:Bu(A,i),iconColor:Hu(i),iconSize:"xs",iconType:"fa-light"})]}),K.jsx(vs,{isSelectedAndOpen:A,item:R,render:i!=="platform",variant:i})]}),K.jsx(vs,{isSelectedAndOpen:A,item:R,render:i==="platform",variant:i})]},R.title)})})}),{getVariant:of}=sa(e=>({ghost:`
295
244
  background: ${e.palette.white};
296
245
  border: none;
297
246
  color: ${e.palette.gray[800]};
298
- --btn-padding: ${e.spacing[.625]} ${e.spacing[.5]};
247
+ --btn-padding-x: ${e.spacing[.5]};
248
+ --btn-padding-y: ${e.spacing[.625]};
299
249
  --btn-spacing: ${e.spacing[.25]};
300
250
 
301
251
  &:disabled {
@@ -313,10 +263,12 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
313
263
  color: ${e.palette.gray[800]};
314
264
 
315
265
  &.desktop {
316
- --btn-padding: ${e.spacing[.5]};
266
+ --btn-padding-x: ${e.spacing[.5]};
267
+ --btn-padding-y: ${e.spacing[.5]};
317
268
  }
318
269
  &.mobile {
319
- --btn-padding: ${e.spacing[.75]};
270
+ --btn-padding-x: ${e.spacing[.75]};
271
+ --btn-padding-y: ${e.spacing[.75]};
320
272
  }
321
273
 
322
274
  &:disabled {
@@ -423,7 +375,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
423
375
  background-color: ${e.palette.primary[500]};
424
376
  color: ${e.palette.white};
425
377
  }
426
- `})),fh=_t.div.attrs({className:"max-w-min max-h-min -z-1"})`
378
+ `})),sf=Qe.div.attrs({className:"max-w-min max-h-min -z-1"})`
427
379
  ${({theme:e,$variant:t})=>`
428
380
  &.dark {
429
381
  background: none;
@@ -441,9 +393,10 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
441
393
  }
442
394
  }
443
395
  `}
444
- `,dh=_t(Ia)`
396
+ `,af=Qe(Pa)`
445
397
  ${({theme:e,$bold:t,$resolution:r,$variant:n})=>`
446
- --btn-padding: ${r==="desktop"||r==="platform"?`${e.spacing[.625]} ${e.spacing[1]}`:e.spacing[1]};
398
+ --btn-padding-x: ${e.spacing[1]};
399
+ --btn-padding-y: ${r==="desktop"||r==="platform"?`${e.spacing[.625]}`:e.spacing[1]};
447
400
 
448
401
  align-items: center;
449
402
  border-radius: var(--btn-spacing);
@@ -455,25 +408,25 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
455
408
  gap: var(--btn-spacing);
456
409
  justify-content: center;
457
410
  line-height: ${r==="platform"?e.spacing[1.25]:e.spacing[1.5]};
458
- padding: var(--btn-padding);
411
+ padding: var(--btn-padding-y) var(--btn-padding-x);
459
412
  position: relative;
460
413
  text-align: start;
461
414
  transition: all 0.5s ease;
462
415
  white-space: nowrap;
463
416
 
464
- ${uh(e,n??"primaryWeb")}
417
+ ${of(e,n??"primaryWeb")}
465
418
  `}
466
- `,ph=["primary","secondary","tertiary","ghost"],hh=e=>ph.includes(e??""),jr=Math.min,gr=Math.max,Wn=Math.round,On=Math.floor,or=e=>({x:e,y:e}),gh={left:"right",right:"left",bottom:"top",top:"bottom"},mh={start:"end",end:"start"};function oi(e,t,r){return gr(e,jr(t,r))}function fn(e,t){return typeof e=="function"?e(t):e}function vr(e){return e.split("-")[0]}function dn(e){return e.split("-")[1]}function Pc(e){return e==="x"?"y":"x"}function Bi(e){return e==="y"?"height":"width"}function Ir(e){return["top","bottom"].includes(vr(e))?"y":"x"}function zi(e){return Pc(Ir(e))}function yh(e,t,r){r===void 0&&(r=!1);const n=dn(e),o=zi(e),i=Bi(o);let s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=qn(s)),[s,qn(s)]}function vh(e){const t=qn(e);return[ii(e),t,ii(t)]}function ii(e){return e.replace(/start|end/g,t=>mh[t])}function bh(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:s;default:return[]}}function wh(e,t,r,n){const o=dn(e);let i=bh(vr(e),r==="start",n);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(ii)))),i}function qn(e){return e.replace(/left|right|bottom|top/g,t=>gh[t])}function _h(e){return{top:0,right:0,bottom:0,left:0,...e}}function jc(e){return typeof e!="number"?_h(e):{top:e,right:e,bottom:e,left:e}}function Gn(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function Ns(e,t,r){let{reference:n,floating:o}=e;const i=Ir(t),s=zi(t),l=Bi(s),u=vr(t),d=i==="y",h=n.x+n.width/2-o.width/2,y=n.y+n.height/2-o.height/2,w=n[l]/2-o[l]/2;let v;switch(u){case"top":v={x:h,y:n.y-o.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y};break;case"left":v={x:n.x-o.width,y};break;default:v={x:n.x,y:n.y}}switch(dn(t)){case"start":v[s]-=w*(r&&d?-1:1);break;case"end":v[s]+=w*(r&&d?-1:1);break}return v}const xh=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,l=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let d=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y}=Ns(d,n,u),w=n,v={},T=0;for(let x=0;x<l.length;x++){const{name:O,fn:A}=l[x],{x:C,y:k,data:I,reset:M}=await A({x:h,y,initialPlacement:n,placement:w,strategy:o,middlewareData:v,rects:d,platform:s,elements:{reference:e,floating:t}});h=C??h,y=k??y,v={...v,[O]:{...v[O],...I}},M&&T<=50&&(T++,typeof M=="object"&&(M.placement&&(w=M.placement),M.rects&&(d=M.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):M.rects),{x:h,y}=Ns(d,w,u)),x=-1)}return{x:h,y,placement:w,strategy:o,middlewareData:v}};async function Ic(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:s,elements:l,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:w=!1,padding:v=0}=fn(t,e),T=jc(v),O=l[w?y==="floating"?"reference":"floating":y],A=Gn(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(O)))==null||r?O:O.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:d,rootBoundary:h,strategy:u})),C=y==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),I=await(i.isElement==null?void 0:i.isElement(k))?await(i.getScale==null?void 0:i.getScale(k))||{x:1,y:1}:{x:1,y:1},M=Gn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:C,offsetParent:k,strategy:u}):C);return{top:(A.top-M.top+T.top)/I.y,bottom:(M.bottom-A.bottom+T.bottom)/I.y,left:(A.left-M.left+T.left)/I.x,right:(M.right-A.right+T.right)/I.x}}const Sh=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:s,elements:l,middlewareData:u}=t,{element:d,padding:h=0}=fn(e,t)||{};if(d==null)return{};const y=jc(h),w={x:r,y:n},v=zi(o),T=Bi(v),x=await s.getDimensions(d),O=v==="y",A=O?"top":"left",C=O?"bottom":"right",k=O?"clientHeight":"clientWidth",I=i.reference[T]+i.reference[v]-w[v]-i.floating[T],M=w[v]-i.reference[v],D=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let P=D?D[k]:0;(!P||!await(s.isElement==null?void 0:s.isElement(D)))&&(P=l.floating[k]||i.floating[T]);const ve=I/2-M/2,be=P/2-x[T]/2-1,pe=jr(y[A],be),Ne=jr(y[C],be),Me=pe,we=P-x[T]-Ne,J=P/2-x[T]/2+ve,Ee=oi(Me,J,we),se=!u.arrow&&dn(o)!=null&&J!==Ee&&i.reference[T]/2-(J<Me?pe:Ne)-x[T]/2<0,ae=se?J<Me?J-Me:J-we:0;return{[v]:w[v]+ae,data:{[v]:Ee,centerOffset:J-Ee-ae,...se&&{alignmentOffset:ae}},reset:se}}}),Eh=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:u,elements:d}=t,{mainAxis:h=!0,crossAxis:y=!0,fallbackPlacements:w,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:x=!0,...O}=fn(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const A=vr(o),C=Ir(l),k=vr(l)===l,I=await(u.isRTL==null?void 0:u.isRTL(d.floating)),M=w||(k||!x?[qn(l)]:vh(l)),D=T!=="none";!w&&D&&M.push(...wh(l,x,T,I));const P=[l,...M],ve=await Ic(t,O),be=[];let pe=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&be.push(ve[A]),y){const J=yh(o,s,I);be.push(ve[J[0]],ve[J[1]])}if(pe=[...pe,{placement:o,overflows:be}],!be.every(J=>J<=0)){var Ne,Me;const J=(((Ne=i.flip)==null?void 0:Ne.index)||0)+1,Ee=P[J];if(Ee)return{data:{index:J,overflows:pe},reset:{placement:Ee}};let se=(Me=pe.filter(ae=>ae.overflows[0]<=0).sort((ae,ce)=>ae.overflows[1]-ce.overflows[1])[0])==null?void 0:Me.placement;if(!se)switch(v){case"bestFit":{var we;const ae=(we=pe.filter(ce=>{if(D){const re=Ir(ce.placement);return re===C||re==="y"}return!0}).map(ce=>[ce.placement,ce.overflows.filter(re=>re>0).reduce((re,q)=>re+q,0)]).sort((ce,re)=>ce[1]-re[1])[0])==null?void 0:we[0];ae&&(se=ae);break}case"initialPlacement":se=l;break}if(o!==se)return{reset:{placement:se}}}return{}}}};async function $h(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=vr(r),l=dn(r),u=Ir(r)==="y",d=["left","top"].includes(s)?-1:1,h=i&&u?-1:1,y=fn(t,e);let{mainAxis:w,crossAxis:v,alignmentAxis:T}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return l&&typeof T=="number"&&(v=l==="end"?T*-1:T),u?{x:v*h,y:w*d}:{x:w*d,y:v*h}}const Th=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:s,middlewareData:l}=t,u=await $h(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:s}}}}},Ah=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:O=>{let{x:A,y:C}=O;return{x:A,y:C}}},...u}=fn(e,t),d={x:r,y:n},h=await Ic(t,u),y=Ir(vr(o)),w=Pc(y);let v=d[w],T=d[y];if(i){const O=w==="y"?"top":"left",A=w==="y"?"bottom":"right",C=v+h[O],k=v-h[A];v=oi(C,v,k)}if(s){const O=y==="y"?"top":"left",A=y==="y"?"bottom":"right",C=T+h[O],k=T-h[A];T=oi(C,T,k)}const x=l.fn({...t,[w]:v,[y]:T});return{...x,data:{x:x.x-r,y:x.y-n,enabled:{[w]:i,[y]:s}}}}}};function uo(){return typeof window<"u"}function Nr(e){return Mc(e)?(e.nodeName||"").toLowerCase():"#document"}function Rt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ht(e){var t;return(t=(Mc(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Mc(e){return uo()?e instanceof Node||e instanceof Rt(e).Node:!1}function Bt(e){return uo()?e instanceof Element||e instanceof Rt(e).Element:!1}function Gt(e){return uo()?e instanceof HTMLElement||e instanceof Rt(e).HTMLElement:!1}function Fs(e){return!uo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Rt(e).ShadowRoot}function pn(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=zt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function Oh(e){return["table","td","th"].includes(Nr(e))}function fo(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Ui(e){const t=Wi(),r=Bt(e)?zt(e):e;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Ch(e){let t=ir(e);for(;Gt(t)&&!Mr(t);){if(Ui(t))return t;if(fo(t))return null;t=ir(t)}return null}function Wi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Mr(e){return["html","body","#document"].includes(Nr(e))}function zt(e){return Rt(e).getComputedStyle(e)}function po(e){return Bt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ir(e){if(Nr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Fs(e)&&e.host||Ht(e);return Fs(t)?t.host:t}function Lc(e){const t=ir(e);return Mr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Gt(t)&&pn(t)?t:Lc(t)}function Xr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Lc(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),s=Rt(o);if(i){const l=si(s);return t.concat(s,s.visualViewport||[],pn(o)?o:[],l&&r?Xr(l):[])}return t.concat(o,Xr(o,[],r))}function si(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Dc(e){const t=zt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Gt(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,l=Wn(r)!==i||Wn(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function qi(e){return Bt(e)?e:e.contextElement}function Tr(e){const t=qi(e);if(!Gt(t))return or(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Dc(t);let s=(i?Wn(r.width):r.width)/n,l=(i?Wn(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Rh=or(0);function Nc(e){const t=Rt(e);return!Wi()||!t.visualViewport?Rh:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function kh(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Rt(e)?!1:t}function br(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=qi(e);let s=or(1);t&&(n?Bt(n)&&(s=Tr(n)):s=Tr(e));const l=kh(i,r,n)?Nc(i):or(0);let u=(o.left+l.x)/s.x,d=(o.top+l.y)/s.y,h=o.width/s.x,y=o.height/s.y;if(i){const w=Rt(i),v=n&&Bt(n)?Rt(n):n;let T=w,x=si(T);for(;x&&n&&v!==T;){const O=Tr(x),A=x.getBoundingClientRect(),C=zt(x),k=A.left+(x.clientLeft+parseFloat(C.paddingLeft))*O.x,I=A.top+(x.clientTop+parseFloat(C.paddingTop))*O.y;u*=O.x,d*=O.y,h*=O.x,y*=O.y,u+=k,d+=I,T=Rt(x),x=si(T)}}return Gn({width:h,height:y,x:u,y:d})}function Ph(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",s=Ht(n),l=t?fo(t.floating):!1;if(n===s||l&&i)return r;let u={scrollLeft:0,scrollTop:0},d=or(1);const h=or(0),y=Gt(n);if((y||!y&&!i)&&((Nr(n)!=="body"||pn(s))&&(u=po(n)),Gt(n))){const w=br(n);d=Tr(n),h.x=w.x+n.clientLeft,h.y=w.y+n.clientTop}return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-u.scrollLeft*d.x+h.x,y:r.y*d.y-u.scrollTop*d.y+h.y}}function jh(e){return Array.from(e.getClientRects())}function ai(e,t){const r=po(e).scrollLeft;return t?t.left+r:br(Ht(e)).left+r}function Ih(e){const t=Ht(e),r=po(e),n=e.ownerDocument.body,o=gr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=gr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+ai(e);const l=-r.scrollTop;return zt(n).direction==="rtl"&&(s+=gr(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:l}}function Mh(e,t){const r=Rt(e),n=Ht(e),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,l=0,u=0;if(o){i=o.width,s=o.height;const d=Wi();(!d||d&&t==="fixed")&&(l=o.offsetLeft,u=o.offsetTop)}return{width:i,height:s,x:l,y:u}}function Lh(e,t){const r=br(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Gt(e)?Tr(e):or(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,u=o*i.x,d=n*i.y;return{width:s,height:l,x:u,y:d}}function Vs(e,t,r){let n;if(t==="viewport")n=Mh(e,r);else if(t==="document")n=Ih(Ht(e));else if(Bt(t))n=Lh(t,r);else{const o=Nc(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return Gn(n)}function Fc(e,t){const r=ir(e);return r===t||!Bt(r)||Mr(r)?!1:zt(r).position==="fixed"||Fc(r,t)}function Dh(e,t){const r=t.get(e);if(r)return r;let n=Xr(e,[],!1).filter(l=>Bt(l)&&Nr(l)!=="body"),o=null;const i=zt(e).position==="fixed";let s=i?ir(e):e;for(;Bt(s)&&!Mr(s);){const l=zt(s),u=Ui(s);!u&&l.position==="fixed"&&(o=null),(i?!u&&!o:!u&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||pn(s)&&!u&&Fc(e,s))?n=n.filter(h=>h!==s):o=l,s=ir(s)}return t.set(e,n),n}function Nh(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?fo(t)?[]:Dh(t,this._c):[].concat(r),n],l=s[0],u=s.reduce((d,h)=>{const y=Vs(t,h,o);return d.top=gr(y.top,d.top),d.right=jr(y.right,d.right),d.bottom=jr(y.bottom,d.bottom),d.left=gr(y.left,d.left),d},Vs(t,l,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Fh(e){const{width:t,height:r}=Dc(e);return{width:t,height:r}}function Vh(e,t,r){const n=Gt(t),o=Ht(t),i=r==="fixed",s=br(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const u=or(0);if(n||!n&&!i)if((Nr(t)!=="body"||pn(o))&&(l=po(t)),n){const v=br(t,!0,i,t);u.x=v.x+t.clientLeft,u.y=v.y+t.clientTop}else o&&(u.x=ai(o));let d=0,h=0;if(o&&!n&&!i){const v=o.getBoundingClientRect();h=v.top+l.scrollTop,d=v.left+l.scrollLeft-ai(o,v)}const y=s.left+l.scrollLeft-u.x-d,w=s.top+l.scrollTop-u.y-h;return{x:y,y:w,width:s.width,height:s.height}}function Mo(e){return zt(e).position==="static"}function Bs(e,t){if(!Gt(e)||zt(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Ht(e)===r&&(r=r.ownerDocument.body),r}function Vc(e,t){const r=Rt(e);if(fo(e))return r;if(!Gt(e)){let o=ir(e);for(;o&&!Mr(o);){if(Bt(o)&&!Mo(o))return o;o=ir(o)}return r}let n=Bs(e,t);for(;n&&Oh(n)&&Mo(n);)n=Bs(n,t);return n&&Mr(n)&&Mo(n)&&!Ui(n)?r:n||Ch(e)||r}const Bh=async function(e){const t=this.getOffsetParent||Vc,r=this.getDimensions,n=await r(e.floating);return{reference:Vh(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function zh(e){return zt(e).direction==="rtl"}const Uh={convertOffsetParentRelativeRectToViewportRelativeRect:Ph,getDocumentElement:Ht,getClippingRect:Nh,getOffsetParent:Vc,getElementRects:Bh,getClientRects:jh,getDimensions:Fh,getScale:Tr,isElement:Bt,isRTL:zh};function Wh(e,t){let r=null,n;const o=Ht(e);function i(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function s(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),i();const{left:d,top:h,width:y,height:w}=e.getBoundingClientRect();if(l||t(),!y||!w)return;const v=On(h),T=On(o.clientWidth-(d+y)),x=On(o.clientHeight-(h+w)),O=On(d),C={rootMargin:-v+"px "+-T+"px "+-x+"px "+-O+"px",threshold:gr(0,jr(1,u))||1};let k=!0;function I(M){const D=M[0].intersectionRatio;if(D!==u){if(!k)return s();D?s(!1,D):n=setTimeout(()=>{s(!1,1e-7)},1e3)}k=!1}try{r=new IntersectionObserver(I,{...C,root:o.ownerDocument})}catch{r=new IntersectionObserver(I,C)}r.observe(e)}return s(!0),i}function qh(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,d=qi(e),h=o||i?[...d?Xr(d):[],...Xr(t)]:[];h.forEach(A=>{o&&A.addEventListener("scroll",r,{passive:!0}),i&&A.addEventListener("resize",r)});const y=d&&l?Wh(d,r):null;let w=-1,v=null;s&&(v=new ResizeObserver(A=>{let[C]=A;C&&C.target===d&&v&&(v.unobserve(t),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var k;(k=v)==null||k.observe(t)})),r()}),d&&!u&&v.observe(d),v.observe(t));let T,x=u?br(e):null;u&&O();function O(){const A=br(e);x&&(A.x!==x.x||A.y!==x.y||A.width!==x.width||A.height!==x.height)&&r(),x=A,T=requestAnimationFrame(O)}return r(),()=>{var A;h.forEach(C=>{o&&C.removeEventListener("scroll",r),i&&C.removeEventListener("resize",r)}),y==null||y(),(A=v)==null||A.disconnect(),v=null,u&&cancelAnimationFrame(T)}}const Bc=Th,Gh=Ah,zc=Eh,Hh=Sh,zs=(e,t,r)=>{const n=new Map,o={platform:Uh,...r},i={...o.platform,_c:n};return xh(e,t,{...o,platform:i})},Yh=(e,t)=>({...Bc(e),options:[e,t]}),Qh=(e,t)=>({...zc(e),options:[e,t]});var Jh=Object.prototype;function Kh(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Jh;return e===r}var Uc=Kh;function Xh(e,t){return function(r){return e(t(r))}}var Zh=Xh,eg=Zh,tg=eg(Object.keys,Object),rg=tg,ng=Uc,og=rg,ig=Object.prototype,sg=ig.hasOwnProperty;function ag(e){if(!ng(e))return og(e);var t=[];for(var r in Object(e))sg.call(e,r)&&r!="constructor"&&t.push(r);return t}var cg=ag,lg=typeof Sn=="object"&&Sn&&Sn.Object===Object&&Sn,Wc=lg,ug=Wc,fg=typeof self=="object"&&self&&self.Object===Object&&self,dg=ug||fg||Function("return this")(),sr=dg,pg=sr,hg=pg.Symbol,qc=hg,Us=qc,Gc=Object.prototype,gg=Gc.hasOwnProperty,mg=Gc.toString,Gr=Us?Us.toStringTag:void 0;function yg(e){var t=gg.call(e,Gr),r=e[Gr];try{e[Gr]=void 0;var n=!0}catch{}var o=mg.call(e);return n&&(t?e[Gr]=r:delete e[Gr]),o}var vg=yg,bg=Object.prototype,wg=bg.toString;function _g(e){return wg.call(e)}var xg=_g,Ws=qc,Sg=vg,Eg=xg,$g="[object Null]",Tg="[object Undefined]",qs=Ws?Ws.toStringTag:void 0;function Ag(e){return e==null?e===void 0?Tg:$g:qs&&qs in Object(e)?Sg(e):Eg(e)}var ho=Ag;function Og(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Hc=Og,Cg=ho,Rg=Hc,kg="[object AsyncFunction]",Pg="[object Function]",jg="[object GeneratorFunction]",Ig="[object Proxy]";function Mg(e){if(!Rg(e))return!1;var t=Cg(e);return t==Pg||t==jg||t==kg||t==Ig}var Yc=Mg,Lg=sr,Dg=Lg["__core-js_shared__"],Ng=Dg,Lo=Ng,Gs=function(){var e=/[^.]+$/.exec(Lo&&Lo.keys&&Lo.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Fg(e){return!!Gs&&Gs in e}var Vg=Fg,Bg=Function.prototype,zg=Bg.toString;function Ug(e){if(e!=null){try{return zg.call(e)}catch{}try{return e+""}catch{}}return""}var Qc=Ug,Wg=Yc,qg=Vg,Gg=Hc,Hg=Qc,Yg=/[\\^$.*+?()[\]{}|]/g,Qg=/^\[object .+?Constructor\]$/,Jg=Function.prototype,Kg=Object.prototype,Xg=Jg.toString,Zg=Kg.hasOwnProperty,em=RegExp("^"+Xg.call(Zg).replace(Yg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function tm(e){if(!Gg(e)||qg(e))return!1;var t=Wg(e)?em:Qg;return t.test(Hg(e))}var rm=tm;function nm(e,t){return e==null?void 0:e[t]}var om=nm,im=rm,sm=om;function am(e,t){var r=sm(e,t);return im(r)?r:void 0}var hn=am,cm=hn,lm=sr,um=cm(lm,"DataView"),fm=um,dm=hn,pm=sr,hm=dm(pm,"Map"),gm=hm,mm=hn,ym=sr,vm=mm(ym,"Promise"),bm=vm,wm=hn,_m=sr,xm=wm(_m,"Set"),Sm=xm,Em=hn,$m=sr,Tm=Em($m,"WeakMap"),Am=Tm,ci=fm,li=gm,ui=bm,fi=Sm,di=Am,Jc=ho,Fr=Qc,Hs="[object Map]",Om="[object Object]",Ys="[object Promise]",Qs="[object Set]",Js="[object WeakMap]",Ks="[object DataView]",Cm=Fr(ci),Rm=Fr(li),km=Fr(ui),Pm=Fr(fi),jm=Fr(di),lr=Jc;(ci&&lr(new ci(new ArrayBuffer(1)))!=Ks||li&&lr(new li)!=Hs||ui&&lr(ui.resolve())!=Ys||fi&&lr(new fi)!=Qs||di&&lr(new di)!=Js)&&(lr=function(e){var t=Jc(e),r=t==Om?e.constructor:void 0,n=r?Fr(r):"";if(n)switch(n){case Cm:return Ks;case Rm:return Hs;case km:return Ys;case Pm:return Qs;case jm:return Js}return t});var Im=lr;function Mm(e){return e!=null&&typeof e=="object"}var Gi=Mm,Lm=ho,Dm=Gi,Nm="[object Arguments]";function Fm(e){return Dm(e)&&Lm(e)==Nm}var Vm=Fm,Xs=Vm,Bm=Gi,Kc=Object.prototype,zm=Kc.hasOwnProperty,Um=Kc.propertyIsEnumerable,Wm=Xs(function(){return arguments}())?Xs:function(e){return Bm(e)&&zm.call(e,"callee")&&!Um.call(e,"callee")},qm=Wm,Gm=Array.isArray,Hm=Gm,Ym=9007199254740991;function Qm(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Ym}var Xc=Qm,Jm=Yc,Km=Xc;function Xm(e){return e!=null&&Km(e.length)&&!Jm(e)}var Zm=Xm,Hn={exports:{}};function ey(){return!1}var ty=ey;Hn.exports;(function(e,t){var r=sr,n=ty,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,s=i&&i.exports===o,l=s?r.Buffer:void 0,u=l?l.isBuffer:void 0,d=u||n;e.exports=d})(Hn,Hn.exports);var ry=Hn.exports,ny=ho,oy=Xc,iy=Gi,sy="[object Arguments]",ay="[object Array]",cy="[object Boolean]",ly="[object Date]",uy="[object Error]",fy="[object Function]",dy="[object Map]",py="[object Number]",hy="[object Object]",gy="[object RegExp]",my="[object Set]",yy="[object String]",vy="[object WeakMap]",by="[object ArrayBuffer]",wy="[object DataView]",_y="[object Float32Array]",xy="[object Float64Array]",Sy="[object Int8Array]",Ey="[object Int16Array]",$y="[object Int32Array]",Ty="[object Uint8Array]",Ay="[object Uint8ClampedArray]",Oy="[object Uint16Array]",Cy="[object Uint32Array]",ke={};ke[_y]=ke[xy]=ke[Sy]=ke[Ey]=ke[$y]=ke[Ty]=ke[Ay]=ke[Oy]=ke[Cy]=!0;ke[sy]=ke[ay]=ke[by]=ke[cy]=ke[wy]=ke[ly]=ke[uy]=ke[fy]=ke[dy]=ke[py]=ke[hy]=ke[gy]=ke[my]=ke[yy]=ke[vy]=!1;function Ry(e){return iy(e)&&oy(e.length)&&!!ke[ny(e)]}var ky=Ry;function Py(e){return function(t){return e(t)}}var jy=Py,Yn={exports:{}};Yn.exports;(function(e,t){var r=Wc,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,s=i&&r.process,l=function(){try{var u=o&&o.require&&o.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();e.exports=l})(Yn,Yn.exports);var Iy=Yn.exports,My=ky,Ly=jy,Zs=Iy,ea=Zs&&Zs.isTypedArray,Dy=ea?Ly(ea):My,Ny=Dy,Fy=cg,Vy=Im,By=qm,zy=Hm,Uy=Zm,Wy=ry,qy=Uc,Gy=Ny,Hy="[object Map]",Yy="[object Set]",Qy=Object.prototype,Jy=Qy.hasOwnProperty;function Ky(e){if(e==null)return!0;if(Uy(e)&&(zy(e)||typeof e=="string"||typeof e.splice=="function"||Wy(e)||Gy(e)||By(e)))return!e.length;var t=Vy(e);if(t==Hy||t==Yy)return!e.size;if(qy(e))return!Fy(e).length;for(var r in e)if(Jy.call(e,r))return!1;return!0}var Xy=Ky;const Do=ua(Xy);var Zc={exports:{}};/*!
419
+ `,cf=["primary","secondary","tertiary","ghost"],lf=e=>cf.includes(e??""),Pr=Math.min,hr=Math.max,Nn=Math.round,On=Math.floor,or=e=>({x:e,y:e}),uf={left:"right",right:"left",bottom:"top",top:"bottom"},ff={start:"end",end:"start"};function Go(e,t,r){return hr(e,Pr(t,r))}function cn(e,t){return typeof e=="function"?e(t):e}function yr(e){return e.split("-")[0]}function ln(e){return e.split("-")[1]}function La(e){return e==="x"?"y":"x"}function bi(e){return e==="y"?"height":"width"}function jr(e){return["top","bottom"].includes(yr(e))?"y":"x"}function wi(e){return La(jr(e))}function df(e,t,r){r===void 0&&(r=!1);const n=ln(e),o=wi(e),i=bi(o);let s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Fn(s)),[s,Fn(s)]}function pf(e){const t=Fn(e);return[Ho(e),t,Ho(t)]}function Ho(e){return e.replace(/start|end/g,t=>ff[t])}function hf(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:s;default:return[]}}function gf(e,t,r,n){const o=ln(e);let i=hf(yr(e),r==="start",n);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Ho)))),i}function Fn(e){return e.replace(/left|right|bottom|top/g,t=>uf[t])}function mf(e){return{top:0,right:0,bottom:0,left:0,...e}}function Da(e){return typeof e!="number"?mf(e):{top:e,right:e,bottom:e,left:e}}function Vn(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function bs(e,t,r){let{reference:n,floating:o}=e;const i=jr(t),s=wi(t),l=bi(s),u=yr(t),d=i==="y",h=n.x+n.width/2-o.width/2,y=n.y+n.height/2-o.height/2,_=n[l]/2-o[l]/2;let v;switch(u){case"top":v={x:h,y:n.y-o.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y};break;case"left":v={x:n.x-o.width,y};break;default:v={x:n.x,y:n.y}}switch(ln(t)){case"start":v[s]-=_*(r&&d?-1:1);break;case"end":v[s]+=_*(r&&d?-1:1);break}return v}const yf=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,l=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let d=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y}=bs(d,n,u),_=n,v={},T=0;for(let O=0;O<l.length;O++){const{name:R,fn:E}=l[O],{x:A,y:k,data:I,reset:M}=await E({x:h,y,initialPlacement:n,placement:_,strategy:o,middlewareData:v,rects:d,platform:s,elements:{reference:e,floating:t}});h=A??h,y=k??y,v={...v,[R]:{...v[R],...I}},M&&T<=50&&(T++,typeof M=="object"&&(M.placement&&(_=M.placement),M.rects&&(d=M.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):M.rects),{x:h,y}=bs(d,_,u)),O=-1)}return{x:h,y,placement:_,strategy:o,middlewareData:v}};async function Na(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:s,elements:l,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:_=!1,padding:v=0}=cn(t,e),T=Da(v),R=l[_?y==="floating"?"reference":"floating":y],E=Vn(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(R)))==null||r?R:R.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:d,rootBoundary:h,strategy:u})),A=y==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),I=await(i.isElement==null?void 0:i.isElement(k))?await(i.getScale==null?void 0:i.getScale(k))||{x:1,y:1}:{x:1,y:1},M=Vn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:A,offsetParent:k,strategy:u}):A);return{top:(E.top-M.top+T.top)/I.y,bottom:(M.bottom-E.bottom+T.bottom)/I.y,left:(E.left-M.left+T.left)/I.x,right:(M.right-E.right+T.right)/I.x}}const vf=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:s,elements:l,middlewareData:u}=t,{element:d,padding:h=0}=cn(e,t)||{};if(d==null)return{};const y=Da(h),_={x:r,y:n},v=wi(o),T=bi(v),O=await s.getDimensions(d),R=v==="y",E=R?"top":"left",A=R?"bottom":"right",k=R?"clientHeight":"clientWidth",I=i.reference[T]+i.reference[v]-_[v]-i.floating[T],M=_[v]-i.reference[v],D=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let P=D?D[k]:0;(!P||!await(s.isElement==null?void 0:s.isElement(D)))&&(P=l.floating[k]||i.floating[T]);const ve=I/2-M/2,be=P/2-O[T]/2-1,pe=Pr(y[E],be),Ne=Pr(y[A],be),Me=pe,we=P-O[T]-Ne,Q=P/2-O[T]/2+ve,$e=Go(Me,Q,we),ie=!u.arrow&&ln(o)!=null&&Q!==$e&&i.reference[T]/2-(Q<Me?pe:Ne)-O[T]/2<0,se=ie?Q<Me?Q-Me:Q-we:0;return{[v]:_[v]+se,data:{[v]:$e,centerOffset:Q-$e-se,...ie&&{alignmentOffset:se}},reset:ie}}}),bf=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:u,elements:d}=t,{mainAxis:h=!0,crossAxis:y=!0,fallbackPlacements:_,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:O=!0,...R}=cn(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const E=yr(o),A=jr(l),k=yr(l)===l,I=await(u.isRTL==null?void 0:u.isRTL(d.floating)),M=_||(k||!O?[Fn(l)]:pf(l)),D=T!=="none";!_&&D&&M.push(...gf(l,O,T,I));const P=[l,...M],ve=await Na(t,R),be=[];let pe=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&be.push(ve[E]),y){const Q=df(o,s,I);be.push(ve[Q[0]],ve[Q[1]])}if(pe=[...pe,{placement:o,overflows:be}],!be.every(Q=>Q<=0)){var Ne,Me;const Q=(((Ne=i.flip)==null?void 0:Ne.index)||0)+1,$e=P[Q];if($e)return{data:{index:Q,overflows:pe},reset:{placement:$e}};let ie=(Me=pe.filter(se=>se.overflows[0]<=0).sort((se,ae)=>se.overflows[1]-ae.overflows[1])[0])==null?void 0:Me.placement;if(!ie)switch(v){case"bestFit":{var we;const se=(we=pe.filter(ae=>{if(D){const re=jr(ae.placement);return re===A||re==="y"}return!0}).map(ae=>[ae.placement,ae.overflows.filter(re=>re>0).reduce((re,q)=>re+q,0)]).sort((ae,re)=>ae[1]-re[1])[0])==null?void 0:we[0];se&&(ie=se);break}case"initialPlacement":ie=l;break}if(o!==ie)return{reset:{placement:ie}}}return{}}}};async function wf(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=yr(r),l=ln(r),u=jr(r)==="y",d=["left","top"].includes(s)?-1:1,h=i&&u?-1:1,y=cn(t,e);let{mainAxis:_,crossAxis:v,alignmentAxis:T}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return l&&typeof T=="number"&&(v=l==="end"?T*-1:T),u?{x:v*h,y:_*d}:{x:_*d,y:v*h}}const _f=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:s,middlewareData:l}=t,u=await wf(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:s}}}}},xf=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:R=>{let{x:E,y:A}=R;return{x:E,y:A}}},...u}=cn(e,t),d={x:r,y:n},h=await Na(t,u),y=jr(yr(o)),_=La(y);let v=d[_],T=d[y];if(i){const R=_==="y"?"top":"left",E=_==="y"?"bottom":"right",A=v+h[R],k=v-h[E];v=Go(A,v,k)}if(s){const R=y==="y"?"top":"left",E=y==="y"?"bottom":"right",A=T+h[R],k=T-h[E];T=Go(A,T,k)}const O=l.fn({...t,[_]:v,[y]:T});return{...O,data:{x:O.x-r,y:O.y-n,enabled:{[_]:i,[y]:s}}}}}};function to(){return typeof window<"u"}function Lr(e){return Fa(e)?(e.nodeName||"").toLowerCase():"#document"}function Ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ht(e){var t;return(t=(Fa(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Fa(e){return to()?e instanceof Node||e instanceof Ct(e).Node:!1}function Vt(e){return to()?e instanceof Element||e instanceof Ct(e).Element:!1}function Gt(e){return to()?e instanceof HTMLElement||e instanceof Ct(e).HTMLElement:!1}function ws(e){return!to()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ct(e).ShadowRoot}function un(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function Sf(e){return["table","td","th"].includes(Lr(e))}function ro(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function _i(e){const t=xi(),r=Vt(e)?Bt(e):e;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function $f(e){let t=ir(e);for(;Gt(t)&&!Ir(t);){if(_i(t))return t;if(ro(t))return null;t=ir(t)}return null}function xi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ir(e){return["html","body","#document"].includes(Lr(e))}function Bt(e){return Ct(e).getComputedStyle(e)}function no(e){return Vt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ir(e){if(Lr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ws(e)&&e.host||Ht(e);return ws(t)?t.host:t}function Va(e){const t=ir(e);return Ir(t)?e.ownerDocument?e.ownerDocument.body:e.body:Gt(t)&&un(t)?t:Va(t)}function Qr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Va(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),s=Ct(o);if(i){const l=Yo(s);return t.concat(s,s.visualViewport||[],un(o)?o:[],l&&r?Qr(l):[])}return t.concat(o,Qr(o,[],r))}function Yo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ba(e){const t=Bt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Gt(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,l=Nn(r)!==i||Nn(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function Si(e){return Vt(e)?e:e.contextElement}function Er(e){const t=Si(e);if(!Gt(t))return or(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Ba(t);let s=(i?Nn(r.width):r.width)/n,l=(i?Nn(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Ef=or(0);function za(e){const t=Ct(e);return!xi()||!t.visualViewport?Ef:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Tf(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ct(e)?!1:t}function vr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=Si(e);let s=or(1);t&&(n?Vt(n)&&(s=Er(n)):s=Er(e));const l=Tf(i,r,n)?za(i):or(0);let u=(o.left+l.x)/s.x,d=(o.top+l.y)/s.y,h=o.width/s.x,y=o.height/s.y;if(i){const _=Ct(i),v=n&&Vt(n)?Ct(n):n;let T=_,O=Yo(T);for(;O&&n&&v!==T;){const R=Er(O),E=O.getBoundingClientRect(),A=Bt(O),k=E.left+(O.clientLeft+parseFloat(A.paddingLeft))*R.x,I=E.top+(O.clientTop+parseFloat(A.paddingTop))*R.y;u*=R.x,d*=R.y,h*=R.x,y*=R.y,u+=k,d+=I,T=Ct(O),O=Yo(T)}}return Vn({width:h,height:y,x:u,y:d})}function Af(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",s=Ht(n),l=t?ro(t.floating):!1;if(n===s||l&&i)return r;let u={scrollLeft:0,scrollTop:0},d=or(1);const h=or(0),y=Gt(n);if((y||!y&&!i)&&((Lr(n)!=="body"||un(s))&&(u=no(n)),Gt(n))){const _=vr(n);d=Er(n),h.x=_.x+n.clientLeft,h.y=_.y+n.clientTop}return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-u.scrollLeft*d.x+h.x,y:r.y*d.y-u.scrollTop*d.y+h.y}}function Of(e){return Array.from(e.getClientRects())}function Qo(e,t){const r=no(e).scrollLeft;return t?t.left+r:vr(Ht(e)).left+r}function Cf(e){const t=Ht(e),r=no(e),n=e.ownerDocument.body,o=hr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=hr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Qo(e);const l=-r.scrollTop;return Bt(n).direction==="rtl"&&(s+=hr(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:l}}function Rf(e,t){const r=Ct(e),n=Ht(e),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,l=0,u=0;if(o){i=o.width,s=o.height;const d=xi();(!d||d&&t==="fixed")&&(l=o.offsetLeft,u=o.offsetTop)}return{width:i,height:s,x:l,y:u}}function kf(e,t){const r=vr(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Gt(e)?Er(e):or(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,u=o*i.x,d=n*i.y;return{width:s,height:l,x:u,y:d}}function _s(e,t,r){let n;if(t==="viewport")n=Rf(e,r);else if(t==="document")n=Cf(Ht(e));else if(Vt(t))n=kf(t,r);else{const o=za(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return Vn(n)}function Ua(e,t){const r=ir(e);return r===t||!Vt(r)||Ir(r)?!1:Bt(r).position==="fixed"||Ua(r,t)}function Pf(e,t){const r=t.get(e);if(r)return r;let n=Qr(e,[],!1).filter(l=>Vt(l)&&Lr(l)!=="body"),o=null;const i=Bt(e).position==="fixed";let s=i?ir(e):e;for(;Vt(s)&&!Ir(s);){const l=Bt(s),u=_i(s);!u&&l.position==="fixed"&&(o=null),(i?!u&&!o:!u&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||un(s)&&!u&&Ua(e,s))?n=n.filter(h=>h!==s):o=l,s=ir(s)}return t.set(e,n),n}function jf(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?ro(t)?[]:Pf(t,this._c):[].concat(r),n],l=s[0],u=s.reduce((d,h)=>{const y=_s(t,h,o);return d.top=hr(y.top,d.top),d.right=Pr(y.right,d.right),d.bottom=Pr(y.bottom,d.bottom),d.left=hr(y.left,d.left),d},_s(t,l,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function If(e){const{width:t,height:r}=Ba(e);return{width:t,height:r}}function Mf(e,t,r){const n=Gt(t),o=Ht(t),i=r==="fixed",s=vr(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const u=or(0);if(n||!n&&!i)if((Lr(t)!=="body"||un(o))&&(l=no(t)),n){const v=vr(t,!0,i,t);u.x=v.x+t.clientLeft,u.y=v.y+t.clientTop}else o&&(u.x=Qo(o));let d=0,h=0;if(o&&!n&&!i){const v=o.getBoundingClientRect();h=v.top+l.scrollTop,d=v.left+l.scrollLeft-Qo(o,v)}const y=s.left+l.scrollLeft-u.x-d,_=s.top+l.scrollTop-u.y-h;return{x:y,y:_,width:s.width,height:s.height}}function ko(e){return Bt(e).position==="static"}function xs(e,t){if(!Gt(e)||Bt(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Ht(e)===r&&(r=r.ownerDocument.body),r}function Wa(e,t){const r=Ct(e);if(ro(e))return r;if(!Gt(e)){let o=ir(e);for(;o&&!Ir(o);){if(Vt(o)&&!ko(o))return o;o=ir(o)}return r}let n=xs(e,t);for(;n&&Sf(n)&&ko(n);)n=xs(n,t);return n&&Ir(n)&&ko(n)&&!_i(n)?r:n||$f(e)||r}const Lf=async function(e){const t=this.getOffsetParent||Wa,r=this.getDimensions,n=await r(e.floating);return{reference:Mf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Df(e){return Bt(e).direction==="rtl"}const Nf={convertOffsetParentRelativeRectToViewportRelativeRect:Af,getDocumentElement:Ht,getClippingRect:jf,getOffsetParent:Wa,getElementRects:Lf,getClientRects:Of,getDimensions:If,getScale:Er,isElement:Vt,isRTL:Df};function Ff(e,t){let r=null,n;const o=Ht(e);function i(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function s(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),i();const{left:d,top:h,width:y,height:_}=e.getBoundingClientRect();if(l||t(),!y||!_)return;const v=On(h),T=On(o.clientWidth-(d+y)),O=On(o.clientHeight-(h+_)),R=On(d),A={rootMargin:-v+"px "+-T+"px "+-O+"px "+-R+"px",threshold:hr(0,Pr(1,u))||1};let k=!0;function I(M){const D=M[0].intersectionRatio;if(D!==u){if(!k)return s();D?s(!1,D):n=setTimeout(()=>{s(!1,1e-7)},1e3)}k=!1}try{r=new IntersectionObserver(I,{...A,root:o.ownerDocument})}catch{r=new IntersectionObserver(I,A)}r.observe(e)}return s(!0),i}function Vf(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,d=Si(e),h=o||i?[...d?Qr(d):[],...Qr(t)]:[];h.forEach(E=>{o&&E.addEventListener("scroll",r,{passive:!0}),i&&E.addEventListener("resize",r)});const y=d&&l?Ff(d,r):null;let _=-1,v=null;s&&(v=new ResizeObserver(E=>{let[A]=E;A&&A.target===d&&v&&(v.unobserve(t),cancelAnimationFrame(_),_=requestAnimationFrame(()=>{var k;(k=v)==null||k.observe(t)})),r()}),d&&!u&&v.observe(d),v.observe(t));let T,O=u?vr(e):null;u&&R();function R(){const E=vr(e);O&&(E.x!==O.x||E.y!==O.y||E.width!==O.width||E.height!==O.height)&&r(),O=E,T=requestAnimationFrame(R)}return r(),()=>{var E;h.forEach(A=>{o&&A.removeEventListener("scroll",r),i&&A.removeEventListener("resize",r)}),y==null||y(),(E=v)==null||E.disconnect(),v=null,u&&cancelAnimationFrame(T)}}const qa=_f,Bf=xf,Ga=bf,zf=vf,Ss=(e,t,r)=>{const n=new Map,o={platform:Nf,...r},i={...o.platform,_c:n};return yf(e,t,{...o,platform:i})},Uf=(e,t)=>({...qa(e),options:[e,t]}),Wf=(e,t)=>({...Ga(e),options:[e,t]});var qf=Object.prototype;function Gf(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||qf;return e===r}var Ha=Gf;function Hf(e,t){return function(r){return e(t(r))}}var Yf=Hf,Qf=Yf,Jf=Qf(Object.keys,Object),Kf=Jf,Xf=Ha,Zf=Kf,ed=Object.prototype,td=ed.hasOwnProperty;function rd(e){if(!Xf(e))return Zf(e);var t=[];for(var r in Object(e))td.call(e,r)&&r!="constructor"&&t.push(r);return t}var nd=rd,od=typeof Sn=="object"&&Sn&&Sn.Object===Object&&Sn,Ya=od,id=Ya,sd=typeof self=="object"&&self&&self.Object===Object&&self,ad=id||sd||Function("return this")(),sr=ad,cd=sr,ld=cd.Symbol,Qa=ld,$s=Qa,Ja=Object.prototype,ud=Ja.hasOwnProperty,fd=Ja.toString,qr=$s?$s.toStringTag:void 0;function dd(e){var t=ud.call(e,qr),r=e[qr];try{e[qr]=void 0;var n=!0}catch{}var o=fd.call(e);return n&&(t?e[qr]=r:delete e[qr]),o}var pd=dd,hd=Object.prototype,gd=hd.toString;function md(e){return gd.call(e)}var yd=md,Es=Qa,vd=pd,bd=yd,wd="[object Null]",_d="[object Undefined]",Ts=Es?Es.toStringTag:void 0;function xd(e){return e==null?e===void 0?_d:wd:Ts&&Ts in Object(e)?vd(e):bd(e)}var oo=xd;function Sd(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ka=Sd,$d=oo,Ed=Ka,Td="[object AsyncFunction]",Ad="[object Function]",Od="[object GeneratorFunction]",Cd="[object Proxy]";function Rd(e){if(!Ed(e))return!1;var t=$d(e);return t==Ad||t==Od||t==Td||t==Cd}var Xa=Rd,kd=sr,Pd=kd["__core-js_shared__"],jd=Pd,Po=jd,As=function(){var e=/[^.]+$/.exec(Po&&Po.keys&&Po.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Id(e){return!!As&&As in e}var Md=Id,Ld=Function.prototype,Dd=Ld.toString;function Nd(e){if(e!=null){try{return Dd.call(e)}catch{}try{return e+""}catch{}}return""}var Za=Nd,Fd=Xa,Vd=Md,Bd=Ka,zd=Za,Ud=/[\\^$.*+?()[\]{}|]/g,Wd=/^\[object .+?Constructor\]$/,qd=Function.prototype,Gd=Object.prototype,Hd=qd.toString,Yd=Gd.hasOwnProperty,Qd=RegExp("^"+Hd.call(Yd).replace(Ud,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Jd(e){if(!Bd(e)||Vd(e))return!1;var t=Fd(e)?Qd:Wd;return t.test(zd(e))}var Kd=Jd;function Xd(e,t){return e==null?void 0:e[t]}var Zd=Xd,ep=Kd,tp=Zd;function rp(e,t){var r=tp(e,t);return ep(r)?r:void 0}var fn=rp,np=fn,op=sr,ip=np(op,"DataView"),sp=ip,ap=fn,cp=sr,lp=ap(cp,"Map"),up=lp,fp=fn,dp=sr,pp=fp(dp,"Promise"),hp=pp,gp=fn,mp=sr,yp=gp(mp,"Set"),vp=yp,bp=fn,wp=sr,_p=bp(wp,"WeakMap"),xp=_p,Jo=sp,Ko=up,Xo=hp,Zo=vp,ei=xp,ec=oo,Dr=Za,Os="[object Map]",Sp="[object Object]",Cs="[object Promise]",Rs="[object Set]",ks="[object WeakMap]",Ps="[object DataView]",$p=Dr(Jo),Ep=Dr(Ko),Tp=Dr(Xo),Ap=Dr(Zo),Op=Dr(ei),lr=ec;(Jo&&lr(new Jo(new ArrayBuffer(1)))!=Ps||Ko&&lr(new Ko)!=Os||Xo&&lr(Xo.resolve())!=Cs||Zo&&lr(new Zo)!=Rs||ei&&lr(new ei)!=ks)&&(lr=function(e){var t=ec(e),r=t==Sp?e.constructor:void 0,n=r?Dr(r):"";if(n)switch(n){case $p:return Ps;case Ep:return Os;case Tp:return Cs;case Ap:return Rs;case Op:return ks}return t});var Cp=lr;function Rp(e){return e!=null&&typeof e=="object"}var $i=Rp,kp=oo,Pp=$i,jp="[object Arguments]";function Ip(e){return Pp(e)&&kp(e)==jp}var Mp=Ip,js=Mp,Lp=$i,tc=Object.prototype,Dp=tc.hasOwnProperty,Np=tc.propertyIsEnumerable,Fp=js(function(){return arguments}())?js:function(e){return Lp(e)&&Dp.call(e,"callee")&&!Np.call(e,"callee")},Vp=Fp,Bp=Array.isArray,zp=Bp,Up=9007199254740991;function Wp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Up}var rc=Wp,qp=Xa,Gp=rc;function Hp(e){return e!=null&&Gp(e.length)&&!qp(e)}var Yp=Hp,Bn={exports:{}};function Qp(){return!1}var Jp=Qp;Bn.exports;(function(e,t){var r=sr,n=Jp,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,s=i&&i.exports===o,l=s?r.Buffer:void 0,u=l?l.isBuffer:void 0,d=u||n;e.exports=d})(Bn,Bn.exports);var Kp=Bn.exports,Xp=oo,Zp=rc,eh=$i,th="[object Arguments]",rh="[object Array]",nh="[object Boolean]",oh="[object Date]",ih="[object Error]",sh="[object Function]",ah="[object Map]",ch="[object Number]",lh="[object Object]",uh="[object RegExp]",fh="[object Set]",dh="[object String]",ph="[object WeakMap]",hh="[object ArrayBuffer]",gh="[object DataView]",mh="[object Float32Array]",yh="[object Float64Array]",vh="[object Int8Array]",bh="[object Int16Array]",wh="[object Int32Array]",_h="[object Uint8Array]",xh="[object Uint8ClampedArray]",Sh="[object Uint16Array]",$h="[object Uint32Array]",ke={};ke[mh]=ke[yh]=ke[vh]=ke[bh]=ke[wh]=ke[_h]=ke[xh]=ke[Sh]=ke[$h]=!0;ke[th]=ke[rh]=ke[hh]=ke[nh]=ke[gh]=ke[oh]=ke[ih]=ke[sh]=ke[ah]=ke[ch]=ke[lh]=ke[uh]=ke[fh]=ke[dh]=ke[ph]=!1;function Eh(e){return eh(e)&&Zp(e.length)&&!!ke[Xp(e)]}var Th=Eh;function Ah(e){return function(t){return e(t)}}var Oh=Ah,zn={exports:{}};zn.exports;(function(e,t){var r=Ya,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,s=i&&r.process,l=function(){try{var u=o&&o.require&&o.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();e.exports=l})(zn,zn.exports);var Ch=zn.exports,Rh=Th,kh=Oh,Is=Ch,Ms=Is&&Is.isTypedArray,Ph=Ms?kh(Ms):Rh,jh=Ph,Ih=nd,Mh=Cp,Lh=Vp,Dh=zp,Nh=Yp,Fh=Kp,Vh=Ha,Bh=jh,zh="[object Map]",Uh="[object Set]",Wh=Object.prototype,qh=Wh.hasOwnProperty;function Gh(e){if(e==null)return!0;if(Nh(e)&&(Dh(e)||typeof e=="string"||typeof e.splice=="function"||Fh(e)||Bh(e)||Lh(e)))return!e.length;var t=Mh(e);if(t==zh||t==Uh)return!e.size;if(Vh(e))return!Ih(e).length;for(var r in e)if(qh.call(e,r))return!1;return!0}var Hh=Gh;const jo=ca(Hh);var nc={exports:{}};/*!
467
420
  Copyright (c) 2018 Jed Watson.
468
421
  Licensed under the MIT License (MIT), see
469
422
  http://jedwatson.github.io/classnames
470
- */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",s=0;s<arguments.length;s++){var l=arguments[s];l&&(i=o(i,n(l)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var s="";for(var l in i)t.call(i,l)&&i[l]&&(s=o(s,l));return s}function o(i,s){return s?i?i+" "+s:i+s:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Zc);var Zy=Zc.exports;const pi=ua(Zy);/*
423
+ */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",s=0;s<arguments.length;s++){var l=arguments[s];l&&(i=o(i,n(l)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var s="";for(var l in i)t.call(i,l)&&i[l]&&(s=o(s,l));return s}function o(i,s){return s?i?i+" "+s:i+s:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(nc);var Yh=nc.exports;const ti=ca(Yh);/*
471
424
  * React Tooltip
472
425
  * {@link https://github.com/ReactTooltip/react-tooltip}
473
426
  * @copyright ReactTooltip Team
474
427
  * @license MIT
475
- */const ev="react-tooltip-core-styles",tv="react-tooltip-base-styles",ta={core:!1,base:!1};function ra({css:e,id:t=tv,type:r="base",ref:n}){var o,i;if(!e||typeof document>"u"||ta[r]||r==="core"&&typeof process<"u"&&(!((o=process==null?void 0:process.env)===null||o===void 0)&&o.REACT_TOOLTIP_DISABLE_CORE_STYLES)||r!=="base"&&typeof process<"u"&&(!((i=process==null?void 0:process.env)===null||i===void 0)&&i.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;r==="core"&&(t=ev),n||(n={});const{insertAt:s}=n;if(document.getElementById(t))return;const l=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.id=t,u.type="text/css",s==="top"&&l.firstChild?l.insertBefore(u,l.firstChild):l.appendChild(u),u.styleSheet?u.styleSheet.cssText=e:u.appendChild(document.createTextNode(e)),ta[r]=!0}const na=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:n="top",offset:o=10,strategy:i="absolute",middlewares:s=[Bc(Number(o)),zc({fallbackAxisSideDirection:"start"}),Gh({padding:5})],border:l})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const u=s;return r?(u.push(Hh({element:r,padding:5})),zs(e,t,{placement:n,strategy:i,middleware:u}).then(({x:d,y:h,placement:y,middlewareData:w})=>{var v,T;const x={left:`${d}px`,top:`${h}px`,border:l},{x:O,y:A}=(v=w.arrow)!==null&&v!==void 0?v:{x:0,y:0},C=(T={top:"bottom",right:"left",bottom:"top",left:"right"}[y.split("-")[0]])!==null&&T!==void 0?T:"bottom",k=l&&{borderBottom:l,borderRight:l};let I=0;if(l){const M=`${l}`.match(/(\d+)px/);I=M!=null&&M[1]?Number(M[1]):1}return{tooltipStyles:x,tooltipArrowStyles:{left:O!=null?`${O}px`:"",top:A!=null?`${A}px`:"",right:"",bottom:"",...k,[C]:`-${4+I}px`},place:y}})):zs(e,t,{placement:"bottom",strategy:i,middleware:u}).then(({x:d,y:h,placement:y})=>({tooltipStyles:{left:`${d}px`,top:`${h}px`},tooltipArrowStyles:{},place:y}))},oa=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),ia=(e,t,r)=>{let n=null;const o=function(...i){const s=()=>{n=null};!n&&(e.apply(this,i),n=setTimeout(s,t))};return o.cancel=()=>{n&&(clearTimeout(n),n=null)},o},sa=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",hi=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((o,i)=>hi(o,t[i]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!sa(e)||!sa(t))return e===t;const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(o=>hi(e[o],t[o]))},rv=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(r=>{const n=t.getPropertyValue(r);return n==="auto"||n==="scroll"})},aa=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(rv(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},nv=typeof window<"u"?E.useLayoutEffect:E.useEffect,Mt=e=>{e.current&&(clearTimeout(e.current),e.current=null)},ov="DEFAULT_TOOLTIP_ID",iv={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},sv=E.createContext({getTooltipData:()=>iv});function el(e=ov){return E.useContext(sv).getTooltipData(e)}var Er={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},No={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const av=({forwardRef:e,id:t,className:r,classNameArrow:n,variant:o="dark",anchorId:i,anchorSelect:s,place:l="top",offset:u=10,events:d=["hover"],openOnClick:h=!1,positionStrategy:y="absolute",middlewares:w,wrapper:v,delayShow:T=0,delayHide:x=0,float:O=!1,hidden:A=!1,noArrow:C=!1,clickable:k=!1,closeOnEsc:I=!1,closeOnScroll:M=!1,closeOnResize:D=!1,openEvents:P,closeEvents:ve,globalCloseEvents:be,imperativeModeOnly:pe,style:Ne,position:Me,afterShow:we,afterHide:J,disableTooltip:Ee,content:se,contentWrapperRef:ae,isOpen:ce,defaultIsOpen:re=!1,setIsOpen:q,activeAnchor:le,setActiveAnchor:ge,border:G,opacity:it,arrowColor:et,role:We="tooltip"})=>{var qe;const fe=E.useRef(null),_e=E.useRef(null),$e=E.useRef(null),Be=E.useRef(null),Pe=E.useRef(null),[ut,kt]=E.useState({tooltipStyles:{},tooltipArrowStyles:{},place:l}),[Te,ft]=E.useState(!1),[Qe,dt]=E.useState(!1),[de,pt]=E.useState(null),ht=E.useRef(!1),gt=E.useRef(null),{anchorRefs:Ct,setActiveAnchor:tt}=el(t),st=E.useRef(!1),[mt,Je]=E.useState([]),xt=E.useRef(!1),St=h||d.includes("click"),Pt=St||(P==null?void 0:P.click)||(P==null?void 0:P.dblclick)||(P==null?void 0:P.mousedown),Ge=P?{...P}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!P&&St&&Object.assign(Ge,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const jt=ve?{...ve}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!ve&&St&&Object.assign(jt,{mouseleave:!1,blur:!1,mouseout:!1});const rt=be?{...be}:{escape:I||!1,scroll:M||!1,resize:D||!1,clickOutsideAnchor:Pt||!1};pe&&(Object.assign(Ge,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(jt,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(rt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),nv(()=>(xt.current=!0,()=>{xt.current=!1}),[]);const xe=R=>{xt.current&&(R&&dt(!0),setTimeout(()=>{xt.current&&(q==null||q(R),ce===void 0&&ft(R))},10))};E.useEffect(()=>{if(ce===void 0)return()=>null;ce&&dt(!0);const R=setTimeout(()=>{ft(ce)},10);return()=>{clearTimeout(R)}},[ce]),E.useEffect(()=>{if(Te!==ht.current)if(Mt(Pe),ht.current=Te,Te)we==null||we();else{const R=(V=>{const z=V.match(/^([\d.]+)(ms|s)$/);if(!z)return 0;const[,Ae,Le]=z;return Number(Ae)*(Le==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Pe.current=setTimeout(()=>{dt(!1),pt(null),J==null||J()},R+25)}},[Te]);const Nt=R=>{kt(V=>hi(V,R)?V:R)},Ft=(R=T)=>{Mt($e),Qe?xe(!0):$e.current=setTimeout(()=>{xe(!0)},R)},yt=(R=x)=>{Mt(Be),Be.current=setTimeout(()=>{st.current||xe(!1)},R)},vt=R=>{var V;if(!R)return;const z=(V=R.currentTarget)!==null&&V!==void 0?V:R.target;if(!(z!=null&&z.isConnected))return ge(null),void tt({current:null});T?Ft():xe(!0),ge(z),tt({current:z}),Mt(Be)},He=()=>{k?yt(x||100):x?yt():xe(!1),Mt($e)},at=({x:R,y:V})=>{var z;const Ae={getBoundingClientRect:()=>({x:R,y:V,width:0,height:0,top:V,left:R,right:R,bottom:V})};na({place:(z=de==null?void 0:de.place)!==null&&z!==void 0?z:l,offset:u,elementReference:Ae,tooltipReference:fe.current,tooltipArrowReference:_e.current,strategy:y,middlewares:w,border:G}).then(Le=>{Nt(Le)})},ze=R=>{if(!R)return;const V=R,z={x:V.clientX,y:V.clientY};at(z),gt.current=z},Ye=R=>{var V;if(!Te)return;const z=R.target;z.isConnected&&(!((V=fe.current)===null||V===void 0)&&V.contains(z)||[document.querySelector(`[id='${i}']`),...mt].some(Ae=>Ae==null?void 0:Ae.contains(z))||(xe(!1),Mt($e)))},Et=ia(vt,50),Se=ia(He,50),Ke=R=>{Se.cancel(),Et(R)},N=()=>{Et.cancel(),Se()},Z=E.useCallback(()=>{var R,V;const z=(R=de==null?void 0:de.position)!==null&&R!==void 0?R:Me;z?at(z):O?gt.current&&at(gt.current):le!=null&&le.isConnected&&na({place:(V=de==null?void 0:de.place)!==null&&V!==void 0?V:l,offset:u,elementReference:le,tooltipReference:fe.current,tooltipArrowReference:_e.current,strategy:y,middlewares:w,border:G}).then(Ae=>{xt.current&&Nt(Ae)})},[Te,le,se,Ne,l,de==null?void 0:de.place,u,y,Me,de==null?void 0:de.position,O]);E.useEffect(()=>{var R,V;const z=new Set(Ct);mt.forEach(B=>{Ee!=null&&Ee(B)||z.add({current:B})});const Ae=document.querySelector(`[id='${i}']`);Ae&&!(Ee!=null&&Ee(Ae))&&z.add({current:Ae});const Le=()=>{xe(!1)},ct=aa(le),Oe=aa(fe.current);rt.scroll&&(window.addEventListener("scroll",Le),ct==null||ct.addEventListener("scroll",Le),Oe==null||Oe.addEventListener("scroll",Le));let f=null;rt.resize?window.addEventListener("resize",Le):le&&fe.current&&(f=qh(le,fe.current,Z,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const b=B=>{B.key==="Escape"&&xe(!1)};rt.escape&&window.addEventListener("keydown",b),rt.clickOutsideAnchor&&window.addEventListener("click",Ye);const $=[],F=B=>{Te&&(B==null?void 0:B.target)===le||vt(B)},ie=B=>{Te&&(B==null?void 0:B.target)===le&&He()},te=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],K=["click","dblclick","mousedown","mouseup"];Object.entries(Ge).forEach(([B,ue])=>{ue&&(te.includes(B)?$.push({event:B,listener:Ke}):K.includes(B)&&$.push({event:B,listener:F}))}),Object.entries(jt).forEach(([B,ue])=>{ue&&(te.includes(B)?$.push({event:B,listener:N}):K.includes(B)&&$.push({event:B,listener:ie}))}),O&&$.push({event:"pointermove",listener:ze});const Y=()=>{st.current=!0},De=()=>{st.current=!1,He()};return k&&!Pt&&((R=fe.current)===null||R===void 0||R.addEventListener("mouseenter",Y),(V=fe.current)===null||V===void 0||V.addEventListener("mouseleave",De)),$.forEach(({event:B,listener:ue})=>{z.forEach(Ce=>{var Xe;(Xe=Ce.current)===null||Xe===void 0||Xe.addEventListener(B,ue)})}),()=>{var B,ue;rt.scroll&&(window.removeEventListener("scroll",Le),ct==null||ct.removeEventListener("scroll",Le),Oe==null||Oe.removeEventListener("scroll",Le)),rt.resize?window.removeEventListener("resize",Le):f==null||f(),rt.clickOutsideAnchor&&window.removeEventListener("click",Ye),rt.escape&&window.removeEventListener("keydown",b),k&&!Pt&&((B=fe.current)===null||B===void 0||B.removeEventListener("mouseenter",Y),(ue=fe.current)===null||ue===void 0||ue.removeEventListener("mouseleave",De)),$.forEach(({event:Ce,listener:Xe})=>{z.forEach(Yt=>{var nt;(nt=Yt.current)===null||nt===void 0||nt.removeEventListener(Ce,Xe)})})}},[le,Z,Qe,Ct,mt,P,ve,be,St,T,x]),E.useEffect(()=>{var R,V;let z=(V=(R=de==null?void 0:de.anchorSelect)!==null&&R!==void 0?R:s)!==null&&V!==void 0?V:"";!z&&t&&(z=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const Ae=new MutationObserver(Le=>{const ct=[],Oe=[];Le.forEach(f=>{if(f.type==="attributes"&&f.attributeName==="data-tooltip-id"&&(f.target.getAttribute("data-tooltip-id")===t?ct.push(f.target):f.oldValue===t&&Oe.push(f.target)),f.type==="childList"){if(le){const b=[...f.removedNodes].filter($=>$.nodeType===1);if(z)try{Oe.push(...b.filter($=>$.matches(z))),Oe.push(...b.flatMap($=>[...$.querySelectorAll(z)]))}catch{}b.some($=>{var F;return!!(!((F=$==null?void 0:$.contains)===null||F===void 0)&&F.call($,le))&&(dt(!1),xe(!1),ge(null),Mt($e),Mt(Be),!0)})}if(z)try{const b=[...f.addedNodes].filter($=>$.nodeType===1);ct.push(...b.filter($=>$.matches(z))),ct.push(...b.flatMap($=>[...$.querySelectorAll(z)]))}catch{}}}),(ct.length||Oe.length)&&Je(f=>[...f.filter(b=>!Oe.includes(b)),...ct])});return Ae.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Ae.disconnect()}},[t,s,de==null?void 0:de.anchorSelect,le]),E.useEffect(()=>{Z()},[Z]),E.useEffect(()=>{if(!(ae!=null&&ae.current))return()=>null;const R=new ResizeObserver(()=>{setTimeout(()=>Z())});return R.observe(ae.current),()=>{R.disconnect()}},[se,ae==null?void 0:ae.current]),E.useEffect(()=>{var R;const V=document.querySelector(`[id='${i}']`),z=[...mt,V];le&&z.includes(le)||ge((R=mt[0])!==null&&R!==void 0?R:V)},[i,mt,le]),E.useEffect(()=>(re&&xe(!0),()=>{Mt($e),Mt(Be)}),[]),E.useEffect(()=>{var R;let V=(R=de==null?void 0:de.anchorSelect)!==null&&R!==void 0?R:s;if(!V&&t&&(V=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),V)try{const z=Array.from(document.querySelectorAll(V));Je(z)}catch{Je([])}},[t,s,de==null?void 0:de.anchorSelect]),E.useEffect(()=>{$e.current&&(Mt($e),Ft(T))},[T]);const je=(qe=de==null?void 0:de.content)!==null&&qe!==void 0?qe:se,bt=Te&&Object.keys(ut.tooltipStyles).length>0;return E.useImperativeHandle(e,()=>({open:R=>{if(R!=null&&R.anchorSelect)try{document.querySelector(R.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${R.anchorSelect}" is not a valid CSS selector`)}pt(R??null),R!=null&&R.delay?Ft(R.delay):xe(!0)},close:R=>{R!=null&&R.delay?yt(R.delay):xe(!1)},activeAnchor:le,place:ut.place,isOpen:!!(Qe&&!A&&je&&bt)})),Qe&&!A&&je?E.createElement(v,{id:t,role:We,className:pi("react-tooltip",Er.tooltip,No.tooltip,No[o],r,`react-tooltip__place-${ut.place}`,Er[bt?"show":"closing"],bt?"react-tooltip__show":"react-tooltip__closing",y==="fixed"&&Er.fixed,k&&Er.clickable),onTransitionEnd:R=>{Mt(Pe),Te||R.propertyName!=="opacity"||(dt(!1),pt(null),J==null||J())},style:{...Ne,...ut.tooltipStyles,opacity:it!==void 0&&bt?it:void 0},ref:fe},je,E.createElement(v,{className:pi("react-tooltip-arrow",Er.arrow,No.arrow,n,C&&Er.noArrow),style:{...ut.tooltipArrowStyles,background:et?`linear-gradient(to right bottom, transparent 50%, ${et} 50%)`:void 0},ref:_e})):null},cv=({content:e})=>E.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),lv=E.forwardRef(({id:e,anchorId:t,anchorSelect:r,content:n,html:o,render:i,className:s,classNameArrow:l,variant:u="dark",place:d="top",offset:h=10,wrapper:y="div",children:w=null,events:v=["hover"],openOnClick:T=!1,positionStrategy:x="absolute",middlewares:O,delayShow:A=0,delayHide:C=0,float:k=!1,hidden:I=!1,noArrow:M=!1,clickable:D=!1,closeOnEsc:P=!1,closeOnScroll:ve=!1,closeOnResize:be=!1,openEvents:pe,closeEvents:Ne,globalCloseEvents:Me,imperativeModeOnly:we=!1,style:J,position:Ee,isOpen:se,defaultIsOpen:ae=!1,disableStyleInjection:ce=!1,border:re,opacity:q,arrowColor:le,setIsOpen:ge,afterShow:G,afterHide:it,disableTooltip:et,role:We="tooltip"},qe)=>{const[fe,_e]=E.useState(n),[$e,Be]=E.useState(o),[Pe,ut]=E.useState(d),[kt,Te]=E.useState(u),[ft,Qe]=E.useState(h),[dt,de]=E.useState(A),[pt,ht]=E.useState(C),[gt,Ct]=E.useState(k),[tt,st]=E.useState(I),[mt,Je]=E.useState(y),[xt,St]=E.useState(v),[Pt,Ge]=E.useState(x),[jt,rt]=E.useState(null),[xe,Nt]=E.useState(null),Ft=E.useRef(ce),{anchorRefs:yt,activeAnchor:vt}=el(e),He=Se=>Se==null?void 0:Se.getAttributeNames().reduce((Ke,N)=>{var Z;return N.startsWith("data-tooltip-")&&(Ke[N.replace(/^data-tooltip-/,"")]=(Z=Se==null?void 0:Se.getAttribute(N))!==null&&Z!==void 0?Z:null),Ke},{}),at=Se=>{const Ke={place:N=>{var Z;ut((Z=N)!==null&&Z!==void 0?Z:d)},content:N=>{_e(N??n)},html:N=>{Be(N??o)},variant:N=>{var Z;Te((Z=N)!==null&&Z!==void 0?Z:u)},offset:N=>{Qe(N===null?h:Number(N))},wrapper:N=>{var Z;Je((Z=N)!==null&&Z!==void 0?Z:y)},events:N=>{const Z=N==null?void 0:N.split(" ");St(Z??v)},"position-strategy":N=>{var Z;Ge((Z=N)!==null&&Z!==void 0?Z:x)},"delay-show":N=>{de(N===null?A:Number(N))},"delay-hide":N=>{ht(N===null?C:Number(N))},float:N=>{Ct(N===null?k:N==="true")},hidden:N=>{st(N===null?I:N==="true")},"class-name":N=>{rt(N)}};Object.values(Ke).forEach(N=>N(null)),Object.entries(Se).forEach(([N,Z])=>{var je;(je=Ke[N])===null||je===void 0||je.call(Ke,Z)})};E.useEffect(()=>{_e(n)},[n]),E.useEffect(()=>{Be(o)},[o]),E.useEffect(()=>{ut(d)},[d]),E.useEffect(()=>{Te(u)},[u]),E.useEffect(()=>{Qe(h)},[h]),E.useEffect(()=>{de(A)},[A]),E.useEffect(()=>{ht(C)},[C]),E.useEffect(()=>{Ct(k)},[k]),E.useEffect(()=>{st(I)},[I]),E.useEffect(()=>{Ge(x)},[x]),E.useEffect(()=>{Ft.current!==ce&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[ce]),E.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:ce==="core",disableBase:ce}}))},[]),E.useEffect(()=>{var Se;const Ke=new Set(yt);let N=r;if(!N&&e&&(N=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),N)try{document.querySelectorAll(N).forEach(V=>{Ke.add({current:V})})}catch{console.warn(`[react-tooltip] "${N}" is not a valid CSS selector`)}const Z=document.querySelector(`[id='${t}']`);if(Z&&Ke.add({current:Z}),!Ke.size)return()=>null;const je=(Se=xe??Z)!==null&&Se!==void 0?Se:vt.current,bt=new MutationObserver(V=>{V.forEach(z=>{var Ae;if(!je||z.type!=="attributes"||!(!((Ae=z.attributeName)===null||Ae===void 0)&&Ae.startsWith("data-tooltip-")))return;const Le=He(je);at(Le)})}),R={attributes:!0,childList:!1,subtree:!1};if(je){const V=He(je);at(V),bt.observe(je,R)}return()=>{bt.disconnect()}},[yt,vt,xe,t,r]),E.useEffect(()=>{J!=null&&J.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),re&&!oa("border",`${re}`)&&console.warn(`[react-tooltip] "${re}" is not a valid \`border\`.`),J!=null&&J.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),q&&!oa("opacity",`${q}`)&&console.warn(`[react-tooltip] "${q}" is not a valid \`opacity\`.`)},[]);let ze=w;const Ye=E.useRef(null);if(i){const Se=i({content:(xe==null?void 0:xe.getAttribute("data-tooltip-content"))||fe||null,activeAnchor:xe});ze=Se?E.createElement("div",{ref:Ye,className:"react-tooltip-content-wrapper"},Se):null}else fe&&(ze=fe);$e&&(ze=E.createElement(cv,{content:$e}));const Et={forwardRef:qe,id:e,anchorId:t,anchorSelect:r,className:pi(s,jt),classNameArrow:l,content:ze,contentWrapperRef:Ye,place:Pe,variant:kt,offset:ft,wrapper:mt,events:xt,openOnClick:T,positionStrategy:Pt,middlewares:O,delayShow:dt,delayHide:pt,float:gt,hidden:tt,noArrow:M,clickable:D,closeOnEsc:P,closeOnScroll:ve,closeOnResize:be,openEvents:pe,closeEvents:Ne,globalCloseEvents:Me,imperativeModeOnly:we,style:J,position:Ee,isOpen:se,defaultIsOpen:ae,border:re,opacity:q,arrowColor:le,setIsOpen:ge,afterShow:G,afterHide:it,disableTooltip:et,activeAnchor:xe,setActiveAnchor:Se=>Nt(Se),role:We};return E.createElement(av,{...Et})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||ra({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||ra({css:`
476
- .styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});const uv=_t(to)``,fv=_t.div`
428
+ */const Qh="react-tooltip-core-styles",Jh="react-tooltip-base-styles",Ls={core:!1,base:!1};function Ds({css:e,id:t=Jh,type:r="base",ref:n}){var o,i;if(!e||typeof document>"u"||Ls[r]||r==="core"&&typeof process<"u"&&(!((o=process==null?void 0:process.env)===null||o===void 0)&&o.REACT_TOOLTIP_DISABLE_CORE_STYLES)||r!=="base"&&typeof process<"u"&&(!((i=process==null?void 0:process.env)===null||i===void 0)&&i.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;r==="core"&&(t=Qh),n||(n={});const{insertAt:s}=n;if(document.getElementById(t))return;const l=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.id=t,u.type="text/css",s==="top"&&l.firstChild?l.insertBefore(u,l.firstChild):l.appendChild(u),u.styleSheet?u.styleSheet.cssText=e:u.appendChild(document.createTextNode(e)),Ls[r]=!0}const Ns=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:n="top",offset:o=10,strategy:i="absolute",middlewares:s=[qa(Number(o)),Ga({fallbackAxisSideDirection:"start"}),Bf({padding:5})],border:l})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const u=s;return r?(u.push(zf({element:r,padding:5})),Ss(e,t,{placement:n,strategy:i,middleware:u}).then(({x:d,y:h,placement:y,middlewareData:_})=>{var v,T;const O={left:`${d}px`,top:`${h}px`,border:l},{x:R,y:E}=(v=_.arrow)!==null&&v!==void 0?v:{x:0,y:0},A=(T={top:"bottom",right:"left",bottom:"top",left:"right"}[y.split("-")[0]])!==null&&T!==void 0?T:"bottom",k=l&&{borderBottom:l,borderRight:l};let I=0;if(l){const M=`${l}`.match(/(\d+)px/);I=M!=null&&M[1]?Number(M[1]):1}return{tooltipStyles:O,tooltipArrowStyles:{left:R!=null?`${R}px`:"",top:E!=null?`${E}px`:"",right:"",bottom:"",...k,[A]:`-${4+I}px`},place:y}})):Ss(e,t,{placement:"bottom",strategy:i,middleware:u}).then(({x:d,y:h,placement:y})=>({tooltipStyles:{left:`${d}px`,top:`${h}px`},tooltipArrowStyles:{},place:y}))},Fs=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Vs=(e,t,r)=>{let n=null;const o=function(...i){const s=()=>{n=null};!n&&(e.apply(this,i),n=setTimeout(s,t))};return o.cancel=()=>{n&&(clearTimeout(n),n=null)},o},Bs=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",ri=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((o,i)=>ri(o,t[i]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!Bs(e)||!Bs(t))return e===t;const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(o=>ri(e[o],t[o]))},Kh=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(r=>{const n=t.getPropertyValue(r);return n==="auto"||n==="scroll"})},zs=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(Kh(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Xh=typeof window<"u"?S.useLayoutEffect:S.useEffect,It=e=>{e.current&&(clearTimeout(e.current),e.current=null)},Zh="DEFAULT_TOOLTIP_ID",eg={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},tg=S.createContext({getTooltipData:()=>eg});function oc(e=Zh){return S.useContext(tg).getTooltipData(e)}var Sr={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},Io={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const rg=({forwardRef:e,id:t,className:r,classNameArrow:n,variant:o="dark",anchorId:i,anchorSelect:s,place:l="top",offset:u=10,events:d=["hover"],openOnClick:h=!1,positionStrategy:y="absolute",middlewares:_,wrapper:v,delayShow:T=0,delayHide:O=0,float:R=!1,hidden:E=!1,noArrow:A=!1,clickable:k=!1,closeOnEsc:I=!1,closeOnScroll:M=!1,closeOnResize:D=!1,openEvents:P,closeEvents:ve,globalCloseEvents:be,imperativeModeOnly:pe,style:Ne,position:Me,afterShow:we,afterHide:Q,disableTooltip:$e,content:ie,contentWrapperRef:se,isOpen:ae,defaultIsOpen:re=!1,setIsOpen:q,activeAnchor:ce,setActiveAnchor:ge,border:G,opacity:st,arrowColor:tt,role:We="tooltip"})=>{var qe;const ue=S.useRef(null),_e=S.useRef(null),Ee=S.useRef(null),Be=S.useRef(null),Pe=S.useRef(null),[ft,Rt]=S.useState({tooltipStyles:{},tooltipArrowStyles:{},place:l}),[Te,dt]=S.useState(!1),[Je,pt]=S.useState(!1),[fe,ht]=S.useState(null),gt=S.useRef(!1),mt=S.useRef(null),{anchorRefs:Ot,setActiveAnchor:rt}=oc(t),at=S.useRef(!1),[yt,Ke]=S.useState([]),xt=S.useRef(!1),St=h||d.includes("click"),kt=St||(P==null?void 0:P.click)||(P==null?void 0:P.dblclick)||(P==null?void 0:P.mousedown),Ge=P?{...P}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!P&&St&&Object.assign(Ge,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Pt=ve?{...ve}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!ve&&St&&Object.assign(Pt,{mouseleave:!1,blur:!1,mouseout:!1});const nt=be?{...be}:{escape:I||!1,scroll:M||!1,resize:D||!1,clickOutsideAnchor:kt||!1};pe&&(Object.assign(Ge,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Pt,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(nt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Xh(()=>(xt.current=!0,()=>{xt.current=!1}),[]);const xe=C=>{xt.current&&(C&&pt(!0),setTimeout(()=>{xt.current&&(q==null||q(C),ae===void 0&&dt(C))},10))};S.useEffect(()=>{if(ae===void 0)return()=>null;ae&&pt(!0);const C=setTimeout(()=>{dt(ae)},10);return()=>{clearTimeout(C)}},[ae]),S.useEffect(()=>{if(Te!==gt.current)if(It(Pe),gt.current=Te,Te)we==null||we();else{const C=(V=>{const z=V.match(/^([\d.]+)(ms|s)$/);if(!z)return 0;const[,Ae,Le]=z;return Number(Ae)*(Le==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Pe.current=setTimeout(()=>{pt(!1),ht(null),Q==null||Q()},C+25)}},[Te]);const Dt=C=>{Rt(V=>ri(V,C)?V:C)},Nt=(C=T)=>{It(Ee),Je?xe(!0):Ee.current=setTimeout(()=>{xe(!0)},C)},vt=(C=O)=>{It(Be),Be.current=setTimeout(()=>{at.current||xe(!1)},C)},bt=C=>{var V;if(!C)return;const z=(V=C.currentTarget)!==null&&V!==void 0?V:C.target;if(!(z!=null&&z.isConnected))return ge(null),void rt({current:null});T?Nt():xe(!0),ge(z),rt({current:z}),It(Be)},He=()=>{k?vt(O||100):O?vt():xe(!1),It(Ee)},ct=({x:C,y:V})=>{var z;const Ae={getBoundingClientRect:()=>({x:C,y:V,width:0,height:0,top:V,left:C,right:C,bottom:V})};Ns({place:(z=fe==null?void 0:fe.place)!==null&&z!==void 0?z:l,offset:u,elementReference:Ae,tooltipReference:ue.current,tooltipArrowReference:_e.current,strategy:y,middlewares:_,border:G}).then(Le=>{Dt(Le)})},ze=C=>{if(!C)return;const V=C,z={x:V.clientX,y:V.clientY};ct(z),mt.current=z},Ye=C=>{var V;if(!Te)return;const z=C.target;z.isConnected&&(!((V=ue.current)===null||V===void 0)&&V.contains(z)||[document.querySelector(`[id='${i}']`),...yt].some(Ae=>Ae==null?void 0:Ae.contains(z))||(xe(!1),It(Ee)))},$t=Vs(bt,50),Se=Vs(He,50),Xe=C=>{Se.cancel(),$t(C)},N=()=>{$t.cancel(),Se()},Z=S.useCallback(()=>{var C,V;const z=(C=fe==null?void 0:fe.position)!==null&&C!==void 0?C:Me;z?ct(z):R?mt.current&&ct(mt.current):ce!=null&&ce.isConnected&&Ns({place:(V=fe==null?void 0:fe.place)!==null&&V!==void 0?V:l,offset:u,elementReference:ce,tooltipReference:ue.current,tooltipArrowReference:_e.current,strategy:y,middlewares:_,border:G}).then(Ae=>{xt.current&&Dt(Ae)})},[Te,ce,ie,Ne,l,fe==null?void 0:fe.place,u,y,Me,fe==null?void 0:fe.position,R]);S.useEffect(()=>{var C,V;const z=new Set(Ot);yt.forEach(B=>{$e!=null&&$e(B)||z.add({current:B})});const Ae=document.querySelector(`[id='${i}']`);Ae&&!($e!=null&&$e(Ae))&&z.add({current:Ae});const Le=()=>{xe(!1)},lt=zs(ce),Oe=zs(ue.current);nt.scroll&&(window.addEventListener("scroll",Le),lt==null||lt.addEventListener("scroll",Le),Oe==null||Oe.addEventListener("scroll",Le));let f=null;nt.resize?window.addEventListener("resize",Le):ce&&ue.current&&(f=Vf(ce,ue.current,Z,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const b=B=>{B.key==="Escape"&&xe(!1)};nt.escape&&window.addEventListener("keydown",b),nt.clickOutsideAnchor&&window.addEventListener("click",Ye);const $=[],F=B=>{Te&&(B==null?void 0:B.target)===ce||bt(B)},oe=B=>{Te&&(B==null?void 0:B.target)===ce&&He()},te=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],J=["click","dblclick","mousedown","mouseup"];Object.entries(Ge).forEach(([B,le])=>{le&&(te.includes(B)?$.push({event:B,listener:Xe}):J.includes(B)&&$.push({event:B,listener:F}))}),Object.entries(Pt).forEach(([B,le])=>{le&&(te.includes(B)?$.push({event:B,listener:N}):J.includes(B)&&$.push({event:B,listener:oe}))}),R&&$.push({event:"pointermove",listener:ze});const Y=()=>{at.current=!0},De=()=>{at.current=!1,He()};return k&&!kt&&((C=ue.current)===null||C===void 0||C.addEventListener("mouseenter",Y),(V=ue.current)===null||V===void 0||V.addEventListener("mouseleave",De)),$.forEach(({event:B,listener:le})=>{z.forEach(Ce=>{var Ze;(Ze=Ce.current)===null||Ze===void 0||Ze.addEventListener(B,le)})}),()=>{var B,le;nt.scroll&&(window.removeEventListener("scroll",Le),lt==null||lt.removeEventListener("scroll",Le),Oe==null||Oe.removeEventListener("scroll",Le)),nt.resize?window.removeEventListener("resize",Le):f==null||f(),nt.clickOutsideAnchor&&window.removeEventListener("click",Ye),nt.escape&&window.removeEventListener("keydown",b),k&&!kt&&((B=ue.current)===null||B===void 0||B.removeEventListener("mouseenter",Y),(le=ue.current)===null||le===void 0||le.removeEventListener("mouseleave",De)),$.forEach(({event:Ce,listener:Ze})=>{z.forEach(Yt=>{var ot;(ot=Yt.current)===null||ot===void 0||ot.removeEventListener(Ce,Ze)})})}},[ce,Z,Je,Ot,yt,P,ve,be,St,T,O]),S.useEffect(()=>{var C,V;let z=(V=(C=fe==null?void 0:fe.anchorSelect)!==null&&C!==void 0?C:s)!==null&&V!==void 0?V:"";!z&&t&&(z=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const Ae=new MutationObserver(Le=>{const lt=[],Oe=[];Le.forEach(f=>{if(f.type==="attributes"&&f.attributeName==="data-tooltip-id"&&(f.target.getAttribute("data-tooltip-id")===t?lt.push(f.target):f.oldValue===t&&Oe.push(f.target)),f.type==="childList"){if(ce){const b=[...f.removedNodes].filter($=>$.nodeType===1);if(z)try{Oe.push(...b.filter($=>$.matches(z))),Oe.push(...b.flatMap($=>[...$.querySelectorAll(z)]))}catch{}b.some($=>{var F;return!!(!((F=$==null?void 0:$.contains)===null||F===void 0)&&F.call($,ce))&&(pt(!1),xe(!1),ge(null),It(Ee),It(Be),!0)})}if(z)try{const b=[...f.addedNodes].filter($=>$.nodeType===1);lt.push(...b.filter($=>$.matches(z))),lt.push(...b.flatMap($=>[...$.querySelectorAll(z)]))}catch{}}}),(lt.length||Oe.length)&&Ke(f=>[...f.filter(b=>!Oe.includes(b)),...lt])});return Ae.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Ae.disconnect()}},[t,s,fe==null?void 0:fe.anchorSelect,ce]),S.useEffect(()=>{Z()},[Z]),S.useEffect(()=>{if(!(se!=null&&se.current))return()=>null;const C=new ResizeObserver(()=>{setTimeout(()=>Z())});return C.observe(se.current),()=>{C.disconnect()}},[ie,se==null?void 0:se.current]),S.useEffect(()=>{var C;const V=document.querySelector(`[id='${i}']`),z=[...yt,V];ce&&z.includes(ce)||ge((C=yt[0])!==null&&C!==void 0?C:V)},[i,yt,ce]),S.useEffect(()=>(re&&xe(!0),()=>{It(Ee),It(Be)}),[]),S.useEffect(()=>{var C;let V=(C=fe==null?void 0:fe.anchorSelect)!==null&&C!==void 0?C:s;if(!V&&t&&(V=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),V)try{const z=Array.from(document.querySelectorAll(V));Ke(z)}catch{Ke([])}},[t,s,fe==null?void 0:fe.anchorSelect]),S.useEffect(()=>{Ee.current&&(It(Ee),Nt(T))},[T]);const je=(qe=fe==null?void 0:fe.content)!==null&&qe!==void 0?qe:ie,wt=Te&&Object.keys(ft.tooltipStyles).length>0;return S.useImperativeHandle(e,()=>({open:C=>{if(C!=null&&C.anchorSelect)try{document.querySelector(C.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${C.anchorSelect}" is not a valid CSS selector`)}ht(C??null),C!=null&&C.delay?Nt(C.delay):xe(!0)},close:C=>{C!=null&&C.delay?vt(C.delay):xe(!1)},activeAnchor:ce,place:ft.place,isOpen:!!(Je&&!E&&je&&wt)})),Je&&!E&&je?S.createElement(v,{id:t,role:We,className:ti("react-tooltip",Sr.tooltip,Io.tooltip,Io[o],r,`react-tooltip__place-${ft.place}`,Sr[wt?"show":"closing"],wt?"react-tooltip__show":"react-tooltip__closing",y==="fixed"&&Sr.fixed,k&&Sr.clickable),onTransitionEnd:C=>{It(Pe),Te||C.propertyName!=="opacity"||(pt(!1),ht(null),Q==null||Q())},style:{...Ne,...ft.tooltipStyles,opacity:st!==void 0&&wt?st:void 0},ref:ue},je,S.createElement(v,{className:ti("react-tooltip-arrow",Sr.arrow,Io.arrow,n,A&&Sr.noArrow),style:{...ft.tooltipArrowStyles,background:tt?`linear-gradient(to right bottom, transparent 50%, ${tt} 50%)`:void 0},ref:_e})):null},ng=({content:e})=>S.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),og=S.forwardRef(({id:e,anchorId:t,anchorSelect:r,content:n,html:o,render:i,className:s,classNameArrow:l,variant:u="dark",place:d="top",offset:h=10,wrapper:y="div",children:_=null,events:v=["hover"],openOnClick:T=!1,positionStrategy:O="absolute",middlewares:R,delayShow:E=0,delayHide:A=0,float:k=!1,hidden:I=!1,noArrow:M=!1,clickable:D=!1,closeOnEsc:P=!1,closeOnScroll:ve=!1,closeOnResize:be=!1,openEvents:pe,closeEvents:Ne,globalCloseEvents:Me,imperativeModeOnly:we=!1,style:Q,position:$e,isOpen:ie,defaultIsOpen:se=!1,disableStyleInjection:ae=!1,border:re,opacity:q,arrowColor:ce,setIsOpen:ge,afterShow:G,afterHide:st,disableTooltip:tt,role:We="tooltip"},qe)=>{const[ue,_e]=S.useState(n),[Ee,Be]=S.useState(o),[Pe,ft]=S.useState(d),[Rt,Te]=S.useState(u),[dt,Je]=S.useState(h),[pt,fe]=S.useState(E),[ht,gt]=S.useState(A),[mt,Ot]=S.useState(k),[rt,at]=S.useState(I),[yt,Ke]=S.useState(y),[xt,St]=S.useState(v),[kt,Ge]=S.useState(O),[Pt,nt]=S.useState(null),[xe,Dt]=S.useState(null),Nt=S.useRef(ae),{anchorRefs:vt,activeAnchor:bt}=oc(e),He=Se=>Se==null?void 0:Se.getAttributeNames().reduce((Xe,N)=>{var Z;return N.startsWith("data-tooltip-")&&(Xe[N.replace(/^data-tooltip-/,"")]=(Z=Se==null?void 0:Se.getAttribute(N))!==null&&Z!==void 0?Z:null),Xe},{}),ct=Se=>{const Xe={place:N=>{var Z;ft((Z=N)!==null&&Z!==void 0?Z:d)},content:N=>{_e(N??n)},html:N=>{Be(N??o)},variant:N=>{var Z;Te((Z=N)!==null&&Z!==void 0?Z:u)},offset:N=>{Je(N===null?h:Number(N))},wrapper:N=>{var Z;Ke((Z=N)!==null&&Z!==void 0?Z:y)},events:N=>{const Z=N==null?void 0:N.split(" ");St(Z??v)},"position-strategy":N=>{var Z;Ge((Z=N)!==null&&Z!==void 0?Z:O)},"delay-show":N=>{fe(N===null?E:Number(N))},"delay-hide":N=>{gt(N===null?A:Number(N))},float:N=>{Ot(N===null?k:N==="true")},hidden:N=>{at(N===null?I:N==="true")},"class-name":N=>{nt(N)}};Object.values(Xe).forEach(N=>N(null)),Object.entries(Se).forEach(([N,Z])=>{var je;(je=Xe[N])===null||je===void 0||je.call(Xe,Z)})};S.useEffect(()=>{_e(n)},[n]),S.useEffect(()=>{Be(o)},[o]),S.useEffect(()=>{ft(d)},[d]),S.useEffect(()=>{Te(u)},[u]),S.useEffect(()=>{Je(h)},[h]),S.useEffect(()=>{fe(E)},[E]),S.useEffect(()=>{gt(A)},[A]),S.useEffect(()=>{Ot(k)},[k]),S.useEffect(()=>{at(I)},[I]),S.useEffect(()=>{Ge(O)},[O]),S.useEffect(()=>{Nt.current!==ae&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[ae]),S.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:ae==="core",disableBase:ae}}))},[]),S.useEffect(()=>{var Se;const Xe=new Set(vt);let N=r;if(!N&&e&&(N=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),N)try{document.querySelectorAll(N).forEach(V=>{Xe.add({current:V})})}catch{console.warn(`[react-tooltip] "${N}" is not a valid CSS selector`)}const Z=document.querySelector(`[id='${t}']`);if(Z&&Xe.add({current:Z}),!Xe.size)return()=>null;const je=(Se=xe??Z)!==null&&Se!==void 0?Se:bt.current,wt=new MutationObserver(V=>{V.forEach(z=>{var Ae;if(!je||z.type!=="attributes"||!(!((Ae=z.attributeName)===null||Ae===void 0)&&Ae.startsWith("data-tooltip-")))return;const Le=He(je);ct(Le)})}),C={attributes:!0,childList:!1,subtree:!1};if(je){const V=He(je);ct(V),wt.observe(je,C)}return()=>{wt.disconnect()}},[vt,bt,xe,t,r]),S.useEffect(()=>{Q!=null&&Q.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),re&&!Fs("border",`${re}`)&&console.warn(`[react-tooltip] "${re}" is not a valid \`border\`.`),Q!=null&&Q.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),q&&!Fs("opacity",`${q}`)&&console.warn(`[react-tooltip] "${q}" is not a valid \`opacity\`.`)},[]);let ze=_;const Ye=S.useRef(null);if(i){const Se=i({content:(xe==null?void 0:xe.getAttribute("data-tooltip-content"))||ue||null,activeAnchor:xe});ze=Se?S.createElement("div",{ref:Ye,className:"react-tooltip-content-wrapper"},Se):null}else ue&&(ze=ue);Ee&&(ze=S.createElement(ng,{content:Ee}));const $t={forwardRef:qe,id:e,anchorId:t,anchorSelect:r,className:ti(s,Pt),classNameArrow:l,content:ze,contentWrapperRef:Ye,place:Pe,variant:Rt,offset:dt,wrapper:yt,events:xt,openOnClick:T,positionStrategy:kt,middlewares:R,delayShow:pt,delayHide:ht,float:mt,hidden:rt,noArrow:M,clickable:D,closeOnEsc:P,closeOnScroll:ve,closeOnResize:be,openEvents:pe,closeEvents:Ne,globalCloseEvents:Me,imperativeModeOnly:we,style:Q,position:$e,isOpen:ie,defaultIsOpen:se,border:re,opacity:q,arrowColor:ce,setIsOpen:ge,afterShow:G,afterHide:st,disableTooltip:tt,activeAnchor:xe,setActiveAnchor:Se=>Dt(Se),role:We};return S.createElement(rg,{...$t})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||Ds({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||Ds({css:`
429
+ .styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});const ig=Qe(eo)``,sg=Qe.div`
477
430
  ${({theme:e,$maxWidth:t="320px"})=>`
478
431
  > :is(.react-tooltip, .react-tooltip__show, .react-tooltip__closing) {
479
432
  background-color: ${e.palette.gray[700]};
@@ -486,4 +439,169 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
486
439
  --rt-opacity: 1;
487
440
  }
488
441
  `}
489
- `,tl=E.forwardRef(function({children:t,disabled:r=!1,display:n="inline-block",effect:o="solid",icon:i,iconColor:s,iconSize:l,id:u,maxWidth:d,nodeTip:h,place:y="bottom",tip:w="",title:v="",hide:T=w===""&&v===""&&h===void 0,...x},O){const[A,C]=E.useState(!1),k=E.useRef(null),I=E.useCallback(()=>{k.current!==null&&clearTimeout(k.current),k.current=setTimeout(()=>{C(!0)},100)},[]),M=E.useCallback(()=>{k.current!==null&&clearTimeout(k.current),k.current=setTimeout(()=>{C(!1)},100)},[]);return r?Q.jsx(E.StrictMode,{children:t}):Q.jsxs(uv,{"data-tooltip-id":u,display:n,onMouseLeave:M,onMouseMove:I,ref:O,...x,children:[i?Q.jsx(Ot,{children:Q.jsx(Pr,{clickable:!0,disabled:r,icon:i,iconColor:s,iconSize:l??"xxs",iconType:A?"fa-solid":"fa-light"})}):t,ul.createPortal(Q.jsx(fv,{$maxWidth:d,children:Q.jsxs(lv,{delayShow:500,float:o==="float"?!0:void 0,globalCloseEvents:{resize:!0},hidden:T||!A,id:u,middlewares:[Qh({fallbackAxisSideDirection:"start"}),Yh({mainAxis:10})],noArrow:o==="float",place:y,children:[Do(v)?void 0:Q.jsx(dr,{color:oe.palette.white,fontWeight:"bold",lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:v}),Do(w)?void 0:Q.jsx(dr,{color:oe.palette.gray[100],lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:w}),Do(h)?void 0:h]})}),document.getElementById("root")??document.body)]})}),dv=E.forwardRef(function({bold:t=!1,children:r,disabled:n=!1,id:o,icon:i,mode:s,name:l,onClick:u,showArrow:d=!1,type:h="button",tooltip:y,tooltipPlace:w="bottom",underline:v=!1,value:T,variant:x,resolution:O=hh(x)?"platform":"desktop",...A},C){const k=y!==void 0,I=`${o}-tooltip`;return Q.jsx(tl,{disabled:!k,id:I,place:w,tip:y,children:Q.jsx(fh,{$variant:x,className:s,children:Q.jsxs(dh,{$bold:t,$resolution:O,$variant:x,className:`${s} ${O} ${v&&"underline"}`,disabled:n,id:o,name:l,onClick:u,ref:C,type:h,value:T,...k?{"data-tooltip-id":I}:{},...A,children:[i!==void 0&&Q.jsx(Pr,{icon:i,iconType:"fa-light",iconSize:"xs"}),r,(d||x==="link")&&Q.jsx(Pr,{icon:"arrow-right",iconType:"fa-light",iconSize:"xs"})]})})})}),pv={company:{height:"83px",width:"460px"},footer:{height:"57px",width:"315px"},header:{height:"35px",width:"160px"},icon:{height:"40px",width:"40px"}},hv=({publicId:e,variant:t})=>Q.jsx(Ot,{...pv[t],children:Q.jsx(Un,{alt:"logo",publicId:e})});exports.Accordion=lh;exports.BaseButtonComponent=Ia;exports.BaseComponent=to;exports.BaseSpanComponent=Ma;exports.BaseTextComponent=wi;exports.Button=dv;exports.CloudImage=Un;exports.Container=Ot;exports.CustomThemeProvider=Mu;exports.Heading=ch;exports.Icon=Pr;exports.Logo=hv;exports.Text=dr;exports.Tooltip=tl;exports.getStyledConfig=an;exports.hiddenProps=la;exports.icons=ju;exports.setBorder=rn;exports.setDisplay=nn;exports.setInteraction=sn;exports.setMargin=en;exports.setPadding=Zr;exports.setPosition=tn;exports.setText=on;exports.theme=oe;exports.uniqueIcons=Iu;exports.variantBuilder=ca;
442
+ `,ic=S.forwardRef(function({children:t,disabled:r=!1,display:n="inline-block",effect:o="solid",icon:i,iconColor:s,iconSize:l,id:u,maxWidth:d,nodeTip:h,place:y="bottom",tip:_="",title:v="",hide:T=_===""&&v===""&&h===void 0,...O},R){const[E,A]=S.useState(!1),k=S.useRef(null),I=S.useCallback(()=>{k.current!==null&&clearTimeout(k.current),k.current=setTimeout(()=>{A(!0)},100)},[]),M=S.useCallback(()=>{k.current!==null&&clearTimeout(k.current),k.current=setTimeout(()=>{A(!1)},100)},[]);return r?K.jsx(S.StrictMode,{children:t}):K.jsxs(ig,{"data-tooltip-id":u,display:n,onMouseLeave:M,onMouseMove:I,ref:R,...O,children:[i?K.jsx(qt,{children:K.jsx(kr,{clickable:!0,disabled:r,icon:i,iconColor:s,iconSize:l??"xxs",iconType:E?"fa-solid":"fa-light"})}):t,fl.createPortal(K.jsx(sg,{$maxWidth:d,children:K.jsxs(og,{delayShow:500,float:o==="float"?!0:void 0,globalCloseEvents:{resize:!0},hidden:T||!E,id:u,middlewares:[Wf({fallbackAxisSideDirection:"start"}),Uf({mainAxis:10})],noArrow:o==="float",place:y,children:[jo(v)?void 0:K.jsx(Yr,{color:de.palette.white,fontWeight:"bold",lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:v}),jo(_)?void 0:K.jsx(Yr,{color:de.palette.gray[100],lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:_}),jo(h)?void 0:h]})}),document.getElementById("root")??document.body)]})}),ag=S.forwardRef(function({bold:t=!1,children:r,disabled:n=!1,id:o,icon:i,mode:s,name:l,onClick:u,showArrow:d=!1,type:h="button",tooltip:y,tooltipPlace:_="bottom",underline:v=!1,value:T,variant:O,resolution:R=lf(O)?"platform":"desktop",...E},A){const k=y!==void 0,I=`${o}-tooltip`;return K.jsx(ic,{disabled:!k,id:I,place:_,tip:y,children:K.jsx(sf,{$variant:O,className:s,children:K.jsxs(af,{$bold:t,$resolution:R,$variant:O,className:`${s} ${R} ${v&&"underline"}`,disabled:n,id:o,name:l,onClick:u,ref:A,type:h,value:T,...k?{"data-tooltip-id":I}:{},...E,children:[i!==void 0&&K.jsx(kr,{icon:i,iconSize:"xs",iconType:"fa-light"}),r,(d||O==="link")&&K.jsx(kr,{icon:"arrow-right",iconSize:"xs",iconType:"fa-light"})]})})})});var tr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ni={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",d="[object Error]",h="[object Function]",y="[object GeneratorFunction]",_="[object Map]",v="[object Number]",T="[object Object]",O="[object Promise]",R="[object RegExp]",E="[object Set]",A="[object String]",k="[object Symbol]",I="[object WeakMap]",M="[object ArrayBuffer]",D="[object DataView]",P="[object Float32Array]",ve="[object Float64Array]",be="[object Int8Array]",pe="[object Int16Array]",Ne="[object Int32Array]",Me="[object Uint8Array]",we="[object Uint8ClampedArray]",Q="[object Uint16Array]",$e="[object Uint32Array]",ie=/[\\^$.*+?()[\]{}|]/g,se=/\w*$/,ae=/^\[object .+?Constructor\]$/,re=/^(?:0|[1-9]\d*)$/,q={};q[i]=q[s]=q[M]=q[D]=q[l]=q[u]=q[P]=q[ve]=q[be]=q[pe]=q[Ne]=q[_]=q[v]=q[T]=q[R]=q[E]=q[A]=q[k]=q[Me]=q[we]=q[Q]=q[$e]=!0,q[d]=q[h]=q[I]=!1;var ce=typeof tr=="object"&&tr&&tr.Object===Object&&tr,ge=typeof self=="object"&&self&&self.Object===Object&&self,G=ce||ge||Function("return this")(),st=t&&!t.nodeType&&t,tt=st&&!0&&e&&!e.nodeType&&e,We=tt&&tt.exports===st;function qe(c,g){return c.set(g[0],g[1]),c}function ue(c,g){return c.add(g),c}function _e(c,g){for(var w=-1,L=c?c.length:0;++w<L&&g(c[w],w,c)!==!1;);return c}function Ee(c,g){for(var w=-1,L=g.length,it=c.length;++w<L;)c[it+w]=g[w];return c}function Be(c,g,w,L){for(var it=-1,Tt=c?c.length:0;++it<Tt;)w=g(w,c[it],it,c);return w}function Pe(c,g){for(var w=-1,L=Array(c);++w<c;)L[w]=g(w);return L}function ft(c,g){return c==null?void 0:c[g]}function Rt(c){var g=!1;if(c!=null&&typeof c.toString!="function")try{g=!!(c+"")}catch{}return g}function Te(c){var g=-1,w=Array(c.size);return c.forEach(function(L,it){w[++g]=[it,L]}),w}function dt(c,g){return function(w){return c(g(w))}}function Je(c){var g=-1,w=Array(c.size);return c.forEach(function(L){w[++g]=L}),w}var pt=Array.prototype,fe=Function.prototype,ht=Object.prototype,gt=G["__core-js_shared__"],mt=function(){var c=/[^.]+$/.exec(gt&&gt.keys&&gt.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),Ot=fe.toString,rt=ht.hasOwnProperty,at=ht.toString,yt=RegExp("^"+Ot.call(rt).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ke=We?G.Buffer:void 0,xt=G.Symbol,St=G.Uint8Array,kt=dt(Object.getPrototypeOf,Object),Ge=Object.create,Pt=ht.propertyIsEnumerable,nt=pt.splice,xe=Object.getOwnPropertySymbols,Dt=Ke?Ke.isBuffer:void 0,Nt=dt(Object.keys,Object),vt=H(G,"DataView"),bt=H(G,"Map"),He=H(G,"Promise"),ct=H(G,"Set"),ze=H(G,"WeakMap"),Ye=H(Object,"create"),$t=cr(vt),Se=cr(bt),Xe=cr(He),N=cr(ct),Z=cr(ze),je=xt?xt.prototype:void 0,wt=je?je.valueOf:void 0;function C(c){var g=-1,w=c?c.length:0;for(this.clear();++g<w;){var L=c[g];this.set(L[0],L[1])}}function V(){this.__data__=Ye?Ye(null):{}}function z(c){return this.has(c)&&delete this.__data__[c]}function Ae(c){var g=this.__data__;if(Ye){var w=g[c];return w===n?void 0:w}return rt.call(g,c)?g[c]:void 0}function Le(c){var g=this.__data__;return Ye?g[c]!==void 0:rt.call(g,c)}function lt(c,g){var w=this.__data__;return w[c]=Ye&&g===void 0?n:g,this}C.prototype.clear=V,C.prototype.delete=z,C.prototype.get=Ae,C.prototype.has=Le,C.prototype.set=lt;function Oe(c){var g=-1,w=c?c.length:0;for(this.clear();++g<w;){var L=c[g];this.set(L[0],L[1])}}function f(){this.__data__=[]}function b(c){var g=this.__data__,w=ar(g,c);if(w<0)return!1;var L=g.length-1;return w==L?g.pop():nt.call(g,w,1),!0}function $(c){var g=this.__data__,w=ar(g,c);return w<0?void 0:g[w][1]}function F(c){return ar(this.__data__,c)>-1}function oe(c,g){var w=this.__data__,L=ar(w,c);return L<0?w.push([c,g]):w[L][1]=g,this}Oe.prototype.clear=f,Oe.prototype.delete=b,Oe.prototype.get=$,Oe.prototype.has=F,Oe.prototype.set=oe;function te(c){var g=-1,w=c?c.length:0;for(this.clear();++g<w;){var L=c[g];this.set(L[0],L[1])}}function J(){this.__data__={hash:new C,map:new(bt||Oe),string:new C}}function Y(c){return U(this,c).delete(c)}function De(c){return U(this,c).get(c)}function B(c){return U(this,c).has(c)}function le(c,g){return U(this,c).set(c,g),this}te.prototype.clear=J,te.prototype.delete=Y,te.prototype.get=De,te.prototype.has=B,te.prototype.set=le;function Ce(c){this.__data__=new Oe(c)}function Ze(){this.__data__=new Oe}function Yt(c){return this.__data__.delete(c)}function ot(c){return this.__data__.get(c)}function ho(c){return this.__data__.has(c)}function gn(c,g){var w=this.__data__;if(w instanceof Oe){var L=w.__data__;if(!bt||L.length<r-1)return L.push([c,g]),this;w=this.__data__=new te(L)}return w.set(c,g),this}Ce.prototype.clear=Ze,Ce.prototype.delete=Yt,Ce.prototype.get=ot,Ce.prototype.has=ho,Ce.prototype.set=gn;function go(c,g){var w=$o(c)||ol(c)?Pe(c.length,String):[],L=w.length,it=!!L;for(var Tt in c)rt.call(c,Tt)&&!(it&&(Tt=="length"||jt(Tt,L)))&&w.push(Tt);return w}function Fr(c,g,w){var L=c[g];(!(rt.call(c,g)&&qi(L,w))||w===void 0&&!(g in c))&&(c[g]=w)}function ar(c,g){for(var w=c.length;w--;)if(qi(c[w][0],g))return w;return-1}function mn(c,g){return c&&x(g,Eo(g),c)}function Vr(c,g,w,L,it,Tt,Jt){var At;if(L&&(At=Tt?L(c,it,Tt,Jt):L(c)),At!==void 0)return At;if(!_n(c))return c;var Yi=$o(c);if(Yi){if(At=Et(c),!g)return m(c,At)}else{var _r=Ve(c),Qi=_r==h||_r==y;if(sl(c))return vo(c,g);if(_r==T||_r==i||Qi&&!Tt){if(Rt(c))return Tt?c:{};if(At=_t(Qi?{}:c),!g)return j(c,mn(At,c))}else{if(!q[_r])return Tt?c:{};At=Qt(c,_r,Vr,g)}}Jt||(Jt=new Ce);var Ji=Jt.get(c);if(Ji)return Ji;if(Jt.set(c,At),!Yi)var Ki=w?ne(c):Eo(c);return _e(Ki||c,function(To,xn){Ki&&(xn=To,To=c[xn]),Fr(At,xn,Vr(To,g,w,L,xn,c,Jt))}),At}function yn(c){return _n(c)?Ge(c):{}}function vn(c,g,w){var L=g(c);return $o(c)?L:Ee(L,w(c))}function mo(c){return at.call(c)}function yo(c){if(!_n(c)||wn(c))return!1;var g=Hi(c)||Rt(c)?yt:ae;return g.test(cr(c))}function bn(c){if(!zr(c))return Nt(c);var g=[];for(var w in Object(c))rt.call(c,w)&&w!="constructor"&&g.push(w);return g}function vo(c,g){if(g)return c.slice();var w=new c.constructor(c.length);return c.copy(w),w}function Br(c){var g=new c.constructor(c.byteLength);return new St(g).set(new St(c)),g}function bo(c,g){var w=g?Br(c.buffer):c.buffer;return new c.constructor(w,c.byteOffset,c.byteLength)}function wo(c,g,w){var L=g?w(Te(c),!0):Te(c);return Be(L,qe,new c.constructor)}function _o(c){var g=new c.constructor(c.source,se.exec(c));return g.lastIndex=c.lastIndex,g}function xo(c,g,w){var L=g?w(Je(c),!0):Je(c);return Be(L,ue,new c.constructor)}function a(c){return wt?Object(wt.call(c)):{}}function p(c,g){var w=g?Br(c.buffer):c.buffer;return new c.constructor(w,c.byteOffset,c.length)}function m(c,g){var w=-1,L=c.length;for(g||(g=Array(L));++w<L;)g[w]=c[w];return g}function x(c,g,w,L){w||(w={});for(var it=-1,Tt=g.length;++it<Tt;){var Jt=g[it],At=void 0;Fr(w,Jt,At===void 0?c[Jt]:At)}return w}function j(c,g){return x(c,Fe(c),g)}function ne(c){return vn(c,Eo,Fe)}function U(c,g){var w=c.__data__;return So(g)?w[typeof g=="string"?"string":"hash"]:w.map}function H(c,g){var w=ft(c,g);return yo(w)?w:void 0}var Fe=xe?dt(xe,Object):ll,Ve=mo;(vt&&Ve(new vt(new ArrayBuffer(1)))!=D||bt&&Ve(new bt)!=_||He&&Ve(He.resolve())!=O||ct&&Ve(new ct)!=E||ze&&Ve(new ze)!=I)&&(Ve=function(c){var g=at.call(c),w=g==T?c.constructor:void 0,L=w?cr(w):void 0;if(L)switch(L){case $t:return D;case Se:return _;case Xe:return O;case N:return E;case Z:return I}return g});function Et(c){var g=c.length,w=c.constructor(g);return g&&typeof c[0]=="string"&&rt.call(c,"index")&&(w.index=c.index,w.input=c.input),w}function _t(c){return typeof c.constructor=="function"&&!zr(c)?yn(kt(c)):{}}function Qt(c,g,w,L){var it=c.constructor;switch(g){case M:return Br(c);case l:case u:return new it(+c);case D:return bo(c,L);case P:case ve:case be:case pe:case Ne:case Me:case we:case Q:case $e:return p(c,L);case _:return wo(c,L,w);case v:case A:return new it(c);case R:return _o(c);case E:return xo(c,L,w);case k:return a(c)}}function jt(c,g){return g=g??o,!!g&&(typeof c=="number"||re.test(c))&&c>-1&&c%1==0&&c<g}function So(c){var g=typeof c;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?c!=="__proto__":c===null}function wn(c){return!!mt&&mt in c}function zr(c){var g=c&&c.constructor,w=typeof g=="function"&&g.prototype||ht;return c===w}function cr(c){if(c!=null){try{return Ot.call(c)}catch{}try{return c+""}catch{}}return""}function nl(c){return Vr(c,!0,!0)}function qi(c,g){return c===g||c!==c&&g!==g}function ol(c){return il(c)&&rt.call(c,"callee")&&(!Pt.call(c,"callee")||at.call(c)==i)}var $o=Array.isArray;function Gi(c){return c!=null&&al(c.length)&&!Hi(c)}function il(c){return cl(c)&&Gi(c)}var sl=Dt||ul;function Hi(c){var g=_n(c)?at.call(c):"";return g==h||g==y}function al(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=o}function _n(c){var g=typeof c;return!!c&&(g=="object"||g=="function")}function cl(c){return!!c&&typeof c=="object"}function Eo(c){return Gi(c)?go(c):bn(c)}function ll(){return[]}function ul(){return!1}e.exports=nl})(ni,ni.exports);var rr=ni.exports,oi=function(){return oi=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},oi.apply(this,arguments)};function cg(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function l(h){try{d(n.next(h))}catch(y){s(y)}}function u(h){try{d(n.throw(h))}catch(y){s(y)}}function d(h){h.done?i(h.value):o(h.value).then(l,u)}d((n=n.apply(e,[])).next())})}function lg(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(h){return u([d,h])}}function u(d){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,d[0]&&(r=0)),r;)try{if(n=1,o&&(i=d[0]&2?o.return:d[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,d[1])).done)return i;switch(o=0,i&&(d=[d[0]&2,i.value]),d[0]){case 0:case 1:i=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,o=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){r.label=d[1];break}if(d[0]===6&&r.label<i[1]){r.label=i[1],i=d;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(d);break}i[2]&&r.ops.pop(),r.trys.pop();continue}d=t.call(e,r)}catch(h){d=[6,h],o=0}finally{n=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function Un(e,t,r,n,o){return cg(this,void 0,void 0,function(){var i,s;return lg(this,function(l){switch(l.label){case 0:if(r===void 0)return[2];s=0,l.label=1;case 1:return s<r.length?[4,r[s](e,t,n,o,r)]:[3,4];case 2:if(i=l.sent(),i==="canceled")return[3,4];l.label=3;case 3:return s++,[3,1];case 4:return i!=="canceled"?[2,i]:[2]}})})}var ii=function(e,t){return t===void 0&&(t={}),e?{trackedAnalytics:oi({sdkCode:e.sdkCode,sdkSemver:e.sdkSemver,techVersion:e.techVersion},t)}:null},ug=function(){function e(t,r,n,o){var i=this;this.isMounted=!0,this.imgElement=t,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var s=rr(r);Un(t,s,n,this.htmlPluginState,o).then(function(l){if(i.isMounted){i.htmlPluginState.pluginEventSubscription.forEach(function(d){d()});var u=ii(o,l);i.imgElement.setAttribute("src",s.toURL(u))}})}return e.prototype.update=function(t,r,n){var o=this,i=rr(t);Un(this.imgElement,i,r,this.htmlPluginState).then(function(s){if(o.isMounted){var l=ii(n,s);o.imgElement.setAttribute("src",i.toURL(l))}})},e.prototype.unmount=function(){this.isMounted=!1},e}();let Ie=class{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}},fg=class extends Error{constructor(t="Unsupported"){super(t)}};function Ei(e){return new fg(e)}function dg(){return this._qualifierModel||{error:Ei(`unsupported qualifier ${this.constructor.name}`)}}let pg=class{constructor(){this._qualifierModel={}}toJson(){return dg.apply(this)}},X=class extends pg{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Ie?this.qualifierValue=r:(this.qualifierValue=new Ie,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}},Mt=class extends X{constructor(t,r){let n;r?n=new Ie([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}};function hg(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function gg(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:Ei(`unsupported action ${this.constructor.name}`)}}let mg=class{constructor(){this._actionModel={}}toJson(){return gg.apply(this)}},zt=class extends mg{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),hg(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new Mt(n)):this.qualifiers.set(r,new X(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new Mt(t)):t instanceof Mt&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}};class Ti extends zt{constructor(t){super(),this.regionType=t,this._actionModel.regionType=t}}class io extends Ti{constructor(){super("custom")}x(t){return this._actionModel.x=t,this.addQualifier(new X("x",t)),this}y(t){return this._actionModel.y=t,this.addQualifier(new X("y",t)),this}width(t){return this._actionModel.width=t,this.addQualifier(new X("w",t)),this}height(t){return this._actionModel.height=t,this.addQualifier(new X("h",t)),this}static fromJson(t){const r=new io;return t.width&&r.width(t.width),t.height&&r.height(t.height),t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function yg(){return new io}function sc(){return new Ti("faces")}function vg(){return new Ti("ocr_text")}class bg extends zt{constructor(t){super(),this._actionModel={},this._strength=t,this._actionModel.actionType="blur",this._actionModel.strength=t}region(t){return this._region=t,this._actionModel.region=t.toJson(),this}strength(t){return this._strength=t,this._actionModel.strength=t,this}prepareQualifiers(){const t=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new X("e",`blur_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new X("e",`blur_region${t}`)),this.addQualifier(new X("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new X("e",`blur_faces${t}`))):this.addQualifier(new X("e",`blur${t}`))}static fromJson(t){const{strength:r,region:n}=t,o=new this(r);return r&&o.strength(r),n&&n.regionType==="faces"&&o.region(sc()),n&&n.regionType==="ocr_text"&&o.region(vg()),n&&n.regionType==="custom"&&o.region(io.fromJson(n)),o}}function br(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const ac={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},wg={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},cc={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},lc={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},_g={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},uc={444:"CHROMA_444",420:"CHROMA_420"},xg={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},Sg=br(uc);br(xg);const $g=br(ac),Eg=br(wg),fc=br(cc);br(lc);br(_g);class dc extends zt{constructor(t,r){super(),this._actionModel={},this._actionModel.actionType=fc[t]||t;const n=this.createEffectQualifier(t,r);this.addQualifier(n)}createEffectQualifier(t,r){let n;return r?n=new Ie([t,`${r}`]).setDelimiter(":"):n=new Ie(t),new X("e",n)}static fromJson(t){const{actionType:r,level:n,strength:o}=t,i=cc[r]||r;return new this(i,n||o)}}class Tg extends dc{constructor(t,r){super(t,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=t,this._actionModel.actionType=fc[t]||t,r&&this.setLevel(r)}setLevel(t){this._actionModel[this.LEVEL_NAME]=t;const r=this.createEffectQualifier(this.effectType,t);return this.addQualifier(r),this}}function so(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class Ag extends zt{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(t){return this._actionModel.numOfColors=t,this._numOfColors=t,this}detailsLevel(t){return this._actionModel.detailLevel=t,this._detailsLevel=t,this}despeckleLevel(t){return this._actionModel.despeckleLevel=t,this._despeckleLevel=t,this}cornersLevel(t){return this._actionModel.cornersLevel=t,this._cornersLevel=t,this}paths(t){return this._actionModel.paths=t,this._paths=t,this}prepareQualifiers(){let t="vectorize";this._numOfColors&&(t+=`:${new Ie(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(t+=`:${new Ie(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(t+=`:${new Ie(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(t+=`:${new Ie(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(t+=`:${new Ie(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new X("e",t))}static fromJson(t){const{actionType:r,paths:n,cornersLevel:o,despeckleLevel:i,detailLevel:s,numOfColors:l}=t,u=new this;return n&&u.paths(n),o&&u.cornersLevel(o),i&&u.despeckleLevel(i),s&&u.detailsLevel(s),l&&u.numOfColors(l),u}}class Og extends Tg{level(t){return this._actionModel.level=t,this.setLevel(t)}}class Cg extends zt{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new X("e",new Ie("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new X("e",new Ie(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(t){return this._actionModel.type="stripes",this._actionModel.stripesStrength=t,this.addQualifier(new X("e",new Ie(["assist_colorblind",t]).setDelimiter(":")))}static fromJson(t){const{actionType:r,type:n,stripesStrength:o}=t,i=new this;return n==="xray"&&i.xray(),n==="stripes"&&o&&i.stripesStrength(o),i}}class Rg extends Og{color(t){return this._actionModel.color=t,this.addQualifier(new X("co",new Ie(so(t))))}static fromJson(t){const{actionType:r,level:n,color:o}=t,i=new this(r,n);return o&&i.color(o),i}}class kg extends zt{constructor(t){super(),this._actionModel={},this._squareSize=t,this._actionModel.actionType="pixelate",this._actionModel.squareSize=t}region(t){return this._region=t,this._actionModel.region={regionType:this._region.regionType},this}squareSize(t){return this._squareSize=t,this._actionModel.squareSize=t,this}prepareQualifiers(){const t=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new X("e",`pixelate_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new X("e",`pixelate_region${t}`)),this.addQualifier(new X("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new X("e",`pixelate_faces${t}`))):this.addQualifier(new X("e",`pixelate${t}`))}static fromJson(t){const{region:r,squareSize:n}=t,o=new this(n);return n&&o.squareSize(n),r&&r.regionType==="faces"&&o.region(sc()),r&&r.regionType==="custom"&&o.region(yg()),o}}function Pg(e){return new bg(e)}function jg(){return new dc("grayscale")}function Us(e){return new Rg("colorize",e)}function Ig(){return new Ag}function Mg(){return new Cg}function Lg(e){return new kg(e)}let Dg=class extends zt{constructor(t){super(),this._actionModel={},this.addQualifier(new X("b",new Ie(so(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}},Ws=class{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:Ei(`unsupported action ${this.constructor.name}`)}}};function Ng(e){const t=e;return"error"in t&&!!t.error}function Fg(){return new Mt("ignore_aspect_ratio")}function Vg(){return new Mt("lossy")}function Bg(){return new Mt("preserve_transparency")}function zg(e){return new Mt("progressive",e)}function Ug(){return new Mt("region_relative")}function Wg(){return new Mt("relative")}let Ai=class extends Ie{constructor(t){super(t),this.val=t}getValue(){return this.val}},pc=class extends zt{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Ai?o=r.getValue():o=r,this._actionModel.actionType=Eg[t],this._actionModel[n]=o,this.addQualifier(new X(t,r))}},qg=class extends Mt{constructor(t){super("progressive",t)}},si=class extends pc{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(Vg()),this}progressive(t){return t instanceof qg?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(zg(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(Bg()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;let s;return r?s=new this("f",r):s=new this("f"),o&&(o.mode?s.progressive(o.mode):s.progressive()),n&&s.lossy(),i&&s.preserveTransparency(),s}},ao=class hc{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new Ws(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof hc?this.actions=this.actions.concat(t.actions):this.actions.push(new Ws(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new si("q",t)),this}format(t){return this.addAction(new si("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new Dg(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new zt;let n=t;return typeof t=="string"&&(n=new Mt(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(Ng(n))return n;t.push(n)}return{actions:t}}};function qs(e){const t=e.toString();return t.match(/[A-Z]/gi)||t.length>1&&t[0]==="0"?t:!isNaN(parseFloat(t))&&t.indexOf(":")===-1&&t.indexOf(".")===-1?`${t}.0`:t}class Gg extends Ie{}class Hg extends zt{constructor(t,r,n){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=$g[t]||t,this.addQualifier(new X("c",t)),r&&this.width(r),n&&this.height(n)}height(t){return this._actionModel.dimensions.height=t,this.addQualifier(new X("h",t))}width(t){return this._actionModel.dimensions.width=t,this.addQualifier(new X("w",t))}aspectRatio(t){if(t instanceof Gg)return this._actionModel.dimensions.aspectRatio=`${t}`,this.addQualifier(new X("ar",t));if(typeof t=="number"||typeof t=="string")return this._actionModel.dimensions.aspectRatio=qs(t),this.addQualifier(new X("ar",qs(t)));if(t instanceof Mt)return this._actionModel.dimensions.aspectRatio=`${t.qualifierValue}`,this.addFlag(t)}relative(){return this._actionModel.relative=!0,this.addFlag(Wg())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(Ug())}static fromJson(t){const{actionType:r,dimensions:n,relative:o,regionRelative:i}=t,{aspectRatio:s,width:l,height:u}=n,d=ac[r]||r,h=new this(d,l,u);return s&&h.aspectRatio(s==="ignore_aspect_ratio"?Fg():s),o&&h.relative(),i&&h.regionRelative(),h}}class Oi extends X{constructor(t){super("g",new Ie(t))}}class gc extends Oi{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}class mc extends Oi{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}class yc extends Oi{constructor(t){super(t)}}function Yg(e){return new yc(e)}function vc(...e){const t=[...e];return new mc(t)}function bc(){return new gc}class co extends Ie{constructor(t){super(),this.name=t}toString(){return this.name}}function Qg(){return new co("ocr_text")}function Jg(e){return e&&`${e}`.split(":")[0]==="auto"}function Kg(e){const t=Ci(e);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(t)}function Ci(e){return`${e}`.replace("g_","")}function Xg(e){return{compass:Ci(e),gravityType:"direction"}}function Zg(e){return Ci(e)==="ocr_text"}function em(){return{gravityType:"ocr"}}function tm(e){return`${e.qualifierValue}`.split(":")[0]==="auto"}function rm(e){const r=e.toString().split("_"),n={object:r[0]};return r.length>1&&(r[1]==="avoid"?n.avoid=!0:n.weight=+r[1]),n}function wc(e){let t;const r=e==="auto"?new gc:e;return`${e}`.startsWith("auto:")?t=`${e}`.split(":").filter(o=>o!=="auto"):t=r.qualifierValue.values.filter(o=>o!=="auto"),{gravityType:"auto",autoFocus:t.map(rm)}}function nm(e){const t=`${e}`.split(":").includes("auto"),r=e.qualifierValue.values,o={gravityType:"object",focusOnObjects:(t?r.slice(0,r.length-1):r).map(i=>`${i}`)};if(t){const i=r[r.length-1].values.slice(1),s=bc().autoFocus(...i);o.fallbackGravity=wc(s)}return o}function om(e){const r=e.split(":").map(n=>new co(n));return new mc(r)}function im(e){return Kg(e)?Xg(e):Zg(e)?em():Jg(e)||tm(e)?wc(e):nm(typeof e=="string"?om(e):e)}class Ri extends Ie{constructor(t,r){super(),this._weight=r,this.focusOn=t,this.shouldAvoid=!1}static focusOn(t,r){return new Ri(t,r)}shouldAddWeight(){return typeof this._weight=="number"||typeof this._weight=="string"||this.shouldAvoid}getName(){return this.focusOn.name}getWeight(){return this.shouldAvoid?"avoid":this._weight}toString(){return this.shouldAddWeight()?`${this.getName()}_${this.getWeight()}`:`${this.getName()}`}weight(t){return this._weight=t,this}avoid(){return this.shouldAvoid=!0,this}}class _c extends Ie{constructor(t){super(),this.val=t}toString(){return this.val}}function sm(e){return e.gravityType==="direction"}function am(e){return e.gravityType==="ocr"}function cm(e){return e.gravityType==="auto"}function lm(e){const{object:t,weight:r,avoid:n}=e,o=new Ri(new co(t));return(r||r===0)&&o.weight(r),n&&o.avoid(),o}function xc(e){const r=(e.autoFocus||[]).map(lm);return bc().autoFocus(...r)}function um(e){const t=(e.focusOnObjects||[]).map(n=>new co(n)),r=vc(...t);if(e.fallbackGravity){const n=xc(e.fallbackGravity);r.fallbackGravity(n)}return r}function fm(e){return sm(e)?new yc(new _c(e.compass)):am(e)?vc(Qg()):cm(e)?xc(e):um(e)}class ki extends Hg{gravity(t){this._actionModel.gravity=im(t);const r=typeof t=="string"?new X("g",t):t;return this.addQualifier(r)}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.gravity&&r.gravity(fm(t.gravity)),r}}class dn extends X{constructor(t){super("b"),t&&this.addValue(t)}}const Sc=100,dm=0;class pm extends dn{intensity(t){return this.intensityLevel=t,this}brightness(t){return this.brightnessLevel=t,this}toString(){const t=this.intensityLevel!==void 0?`:${this.intensityLevel}`:"",r=this.brightnessLevel!==void 0?this.intensityLevel!==void 0?`:${this.brightnessLevel}`:`:${Sc}:${this.brightnessLevel}`:"";return`b_blurred${t}${r}`}}var $c=pm;class Pi extends dn{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...t){return this._palette=t.map(r=>so(r)),this}}class Ec extends Pi{toString(){return`
443
+ b_auto:border
444
+ ${this._contrast?"_contrast":""}
445
+ ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
446
+ `.replace(/\s+/g,"")}}class Tc extends Pi{gradientColors(t){return this._gradientColors=t,this}gradientDirection(t){return this._gradientDirection=t,this}}class Ac extends Tc{toString(){return`
447
+ b_auto:border_gradient
448
+ ${this._contrast?"_contrast":""}
449
+ ${this._gradientColors?`:${this._gradientColors}`:""}
450
+ ${this._gradientDirection?`:${this._gradientDirection}`:""}
451
+ ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
452
+ `.replace(/\s+/g,"")}}class Oc extends Tc{toString(){return`
453
+ b_auto:predominant_gradient
454
+ ${this._contrast?"_contrast":""}
455
+ ${this._gradientColors?`:${this._gradientColors}`:""}
456
+ ${this._gradientDirection?`:${this._gradientDirection}`:""}
457
+ ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
458
+ `.replace(/\s+/g,"")}}class Cc extends Pi{toString(){return`
459
+ b_auto:predominant
460
+ ${this._contrast?"_contrast":""}
461
+ ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
462
+ `.replace(/\s+/g,"")}}class Rc extends dn{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(t){return this._prompt=t,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return`b_gen_fill${this._prompt?`:prompt_${this._prompt}`:""}`}}function kc(e){return`${e}`.replace("b_","")}function hm(){return{backgroundType:"auto"}}function gm(e){const{intensityLevel:t,brightnessLevel:r}=e,n={backgroundType:"blurred"};return(t||t===0)&&(n.intensity=t),(r||r===0)&&(n.brightness=r),n}function ji(e){const t=e._contrast,r=e._palette,n={backgroundType:""};return t&&(n.contrast=!0),r&&(n.palette=r),n}function mm(e){return Object.assign(Object.assign({},ji(e)),{backgroundType:"border"})}function Pc(e){const t=e._gradientColors,r=`${e._gradientDirection}`,n=ji(e);return t&&(n.gradientColors=t),r&&(n.gradientDirection=r),n}function ym(e){return Object.assign(Object.assign({},Pc(e)),{backgroundType:"borderGradient"})}function vm(e){return{backgroundType:"color",color:kc(e)}}function bm(e){return Object.assign(Object.assign({},ji(e)),{backgroundType:"predominant"})}function wm(e){return Object.assign(Object.assign({},Pc(e)),{backgroundType:"predominantGradient"})}function _m(e){return Object.assign({backgroundType:e.getBackgroundType()},e.getPrompt()?{prompt:e.getPrompt()}:{})}function xm(e){return kc(e)==="auto"?hm():e instanceof $c?gm(e):e instanceof Ec?mm(e):e instanceof Ac?ym(e):e instanceof Cc?bm(e):e instanceof Oc?wm(e):e instanceof Rc?_m(e):vm(e)}function Sm(){return new Ai("svg")}function Ii(){return new Ai("auto")}function jc(){return new Ec}function Ic(){return new dn("auto")}function Mc(){return new Ac}function Lc(){return new Oc}function Dc(){return new Cc}function Nc(e){return new dn(so(e))}function $m(){return new $c}function Fc(){return new Rc}const Vc={auto:Ic,border:jc,borderGradient:Mc,predominantGradient:Lc,predominant:Dc,color:Nc,blurred:$m,generativeFill:Fc};function Em(e){const{brightness:t,intensity:r}=e,n=Vc.blurred();return n.brightness(t??dm),n.intensity(r??Sc),n}function Gs(e,t){const{gradientColors:r,gradientDirection:n,contrast:o,palette:i}=t;return o&&e.contrast(),i&&e.palette(...i),r&&e.gradientColors(+r),n&&e.gradientDirection(n),e}function Hs(e,t){const{contrast:r,palette:n}=t;return r&&e.contrast(),n&&e.palette(...n),e}function Tm(e,t){const{prompt:r}=t;return r&&e.prompt(r),e}function Am(e){const{backgroundType:t}=e;switch(t){case"auto":return Ic();case"blurred":return Em(e);case"border":return Hs(jc(),e);case"borderGradient":return Gs(Mc(),e);case"predominant":return Hs(Dc(),e);case"predominantGradient":return Gs(Lc(),e);case"generativeFill":return Tm(Fc(),e);default:return Nc(e.color)}}class Om extends ki{background(t){return this._actionModel.background=xm(t),this.addQualifier(t)}offsetX(t){return this._actionModel.x=t,this.addQualifier(new X("x",t))}offsetY(t){return this._actionModel.y=t,this.addQualifier(new X("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.background&&r.background(Am(t.background)),t.x&&r.offsetX(t.x),t.y&&r.offsetY(t.y),t.zoom&&r.zoom(t.zoom),r}}class Cm extends ki{x(t){return this._actionModel.x=t,this.addQualifier(new X("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new X("y",t))}zoom(t){return this._actionModel.zoom=t,this.addQualifier(new X("z",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),t.zoom&&r.zoom(t.zoom),r}}class Rm extends ki{x(t){return this._actionModel.x=t,this.addQualifier(new X("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new X("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function km(e,t){return new Cm("crop",e,t)}function Pm(e,t){return new Rm("fill",e,t)}function jm(e,t){return new Om("pad",e,t)}class Im extends pc{constructor(t){super("q",t.toString(),"level")}chromaSubSampling(t){this._actionModel.chromaSubSampling=uc[t];const r=new Ie([this._actionModel.level,t]);return r.setDelimiter(":"),this.addQualifier(new X("q",r))}quantization(t){this._actionModel.quantization=t;const r=new Ie([this._actionModel.level,`qmax_${t}`]).setDelimiter(":");return this.addQualifier(new X("q",r))}static fromJson(t){const{level:r,chromaSubSampling:n,quantization:o}=t,i=lc[r]||r,s=new this(i);if(n){const l=Sg[n.toUpperCase()];l&&s.chromaSubSampling(+l)}return o&&s.quantization(o),s}}function lo(e){return new si("f",e)}function uo(e){return new Im(e)}function Mm(){return new _c("north_east")}Us(70).color("black"),Us(40).color("white"),jg(),Mg();var Lm=new ao().effect(Ig()).delivery(uo("auto")).delivery(lo(Sm())),Dm=new ao().effect(Lg()).delivery(uo("auto")).delivery(lo(Ii())),Nm=new ao().effect(Pg(2e3)).delivery(uo("auto")).delivery(lo(Ii())),Fm=new ao().resize(jm("iw_div_2").aspectRatio(1).background(Vc.auto())).resize(km(1,1).gravity(Yg(Mm()))).resize(Pm().height("ih").width("iw")).delivery(uo("auto")).delivery(lo(Ii())),Ys={vectorize:Lm,pixelate:Dm,blur:Nm,"predominant-color":Fm},Qs="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Js={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},Ks="?_a=",Vm=function(){function e(t,r,n,o,i,s,l){var u=this;this.mimeType="video",this.mimeSubTypes=Js,this.videoElement=t,this.originalVideo=r,this.videoOptions=l,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var d=rr(r);Un(t,r,o,this.htmlPluginState).then(function(){u.htmlPluginState.pluginEventSubscription.forEach(function(h){h()}),u.setVideoAttributes(i,s),u.handleSourceToVideo(d,n)})}return e.prototype.handleSourceToVideo=function(t,r){var n=this;if(r)this.generateUserSources(t,r);else{var o=["webm","mp4","ogv"];o.forEach(function(i){n.appendSourceTag(rr(t),i)})}},e.prototype.generateUserSources=function(t,r){var n=this;r.map(function(o){var i=o.type,s=o.codecs,l=o.transcode;return n.appendSourceTag(rr(t).transcode(l),i,n.buildMimeType(i,s))})},e.prototype.appendSourceTag=function(t,r,n){var o,i=document.createElement("source"),s=(o=this.videoOptions)===null||o===void 0?void 0:o.useFetchFormat;s&&t.format(r);var l=t.toURL(),u=l.split(Ks),d=u[1]?"".concat(Ks).concat(u[1]):"",h=s?"":".".concat(r);i.src="".concat(u[0]).concat(h).concat(d),i.type=n||"video/".concat(Js[r]||r),this.videoElement.appendChild(i)},e.prototype.buildMimeType=function(t,r){var n="".concat(this.mimeType,"/").concat(this.mimeSubTypes[t]||t);return r&&(n+="; codecs="+(Array.isArray(r)?r.join(", "):r)),n},e.prototype.setVideoAttributes=function(t,r){var n;if(t===void 0&&(t={}),r==="auto"){var o=rr(this.originalVideo);t.poster=o.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else r&&(t.poster=(n=r.toURL)===null||n===void 0?void 0:n.call(r));for(var i=0,s=Object.entries(t);i<s.length;i++){var l=s[i],u=l[0],d=l[1];d&&this.videoElement.setAttribute(u,u==="poster"?d:"")}},e.prototype.update=function(t,r,n,o,i){var s=this;if(t!==this.originalVideo){for(var l=this.videoElement.getElementsByTagName("SOURCE");l[0];)l[0].parentNode.removeChild(l[0]);Un(this.videoElement,t,n,this.htmlPluginState).then(function(){s.setVideoAttributes(o,i),s.handleSourceToVideo(t,r),s.videoElement.load()})}},e}(),Bm=typeof tr=="object"&&tr&&tr.Object===Object&&tr,zm=typeof self=="object"&&self&&self.Object===Object&&self;Bm||zm||Function("return this")();function Mi(){return typeof window<"u"}function Um(e){return e instanceof HTMLImageElement}function Wm(e){var t={},r=t.rootMargin,n=r===void 0?"0px":r,o=t.threshold,i=o===void 0?.1:o;return qm.bind(null,n,i)}function qm(e,t,r,n,o,i){return e===void 0&&(e="0px"),t===void 0&&(t=.1),Mi()?new Promise(function(s){var l=function(){return s({lazyload:!0})},u=Hm(r,l,e,t);o.cleanupCallbacks.push(function(){u(),s("canceled")})}):!1}function Gm(){return window&&"IntersectionObserver"in window}function Hm(e,t,r,n){try{if(!Gm())return t(),function(){};var o=new IntersectionObserver(function(i){i.forEach(function(s){s.isIntersecting&&(o.unobserve(s.target),t())})},{rootMargin:r,threshold:n});return o.observe(e),function(){e&&o.observe(e)}}catch{t()}}function Ym(e){var t={},r=t.mode,n=r===void 0?"vectorize":r;return Qm.bind(null,n)}function Qm(e,t,r,n,o,i){Ys[e]||(e="vectorize");var s=Ys[e].actions,l=rr(r);if(s.forEach(function(d){l.addAction(d)}),!Mi())return r.transformation=l.transformation,!0;if(Um(t)){l.transformation.actions.forEach(function(d,h){d instanceof zt&&d.getActionTag()==="responsive"&&delete l.transformation.actions[h]});var u=ii(o,{placeholder:!0});return t.src=l.toURL(u),t.onerror=function(){t.src=Qs},new Promise(function(d){t.onload=function(){d()}}).then(function(){return new Promise(function(d){n.cleanupCallbacks.push(function(){t.src=Qs,d("canceled")});var h=new Image;h.src=r.toURL(u),h.onload=function(){d({placeholder:!0})},h.onerror=function(){d({placeholder:!0})}})})}}function Jm(e,t,r){var n=rr(t);if(e)for(var o=0;o<e.length;o++){var i=e[o](null,n);if(!i)break}return n.toURL(r?{trackedAnalytics:r}:null)}function Wn(e){e.cleanupCallbacks.forEach(function(t){t()})}var ai=function(e,t){return ai=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},ai(e,t)};function Bc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ai(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Jr=function(){return Jr=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Jr.apply(this,arguments)};function zc(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var Kr={exports:{}},ye={};/*
463
+ object-assign
464
+ (c) Sindre Sorhus
465
+ @license MIT
466
+ */var Xs=Object.getOwnPropertySymbols,Km=Object.prototype.hasOwnProperty,Xm=Object.prototype.propertyIsEnumerable;function Zm(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function ey(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(n.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var Uc=ey()?Object.assign:function(e,t){for(var r,n=Zm(e),o,i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var s in r)Km.call(r,s)&&(n[s]=r[s]);if(Xs){o=Xs(r);for(var l=0;l<o.length;l++)Xm.call(r,o[l])&&(n[o[l]]=r[o[l]])}}return n};/** @license React v16.14.0
467
+ * react.production.min.js
468
+ *
469
+ * Copyright (c) Facebook, Inc. and its affiliates.
470
+ *
471
+ * This source code is licensed under the MIT license found in the
472
+ * LICENSE file in the root directory of this source tree.
473
+ */var Li=Uc,Ut=typeof Symbol=="function"&&Symbol.for,pn=Ut?Symbol.for("react.element"):60103,ty=Ut?Symbol.for("react.portal"):60106,ry=Ut?Symbol.for("react.fragment"):60107,ny=Ut?Symbol.for("react.strict_mode"):60108,oy=Ut?Symbol.for("react.profiler"):60114,iy=Ut?Symbol.for("react.provider"):60109,sy=Ut?Symbol.for("react.context"):60110,ay=Ut?Symbol.for("react.forward_ref"):60112,cy=Ut?Symbol.for("react.suspense"):60113,ly=Ut?Symbol.for("react.memo"):60115,uy=Ut?Symbol.for("react.lazy"):60116,Zs=typeof Symbol=="function"&&Symbol.iterator;function hn(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Wc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},qc={};function Nr(e,t,r){this.props=e,this.context=t,this.refs=qc,this.updater=r||Wc}Nr.prototype.isReactComponent={};Nr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(hn(85));this.updater.enqueueSetState(this,e,t,"setState")};Nr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Gc(){}Gc.prototype=Nr.prototype;function Di(e,t,r){this.props=e,this.context=t,this.refs=qc,this.updater=r||Wc}var Ni=Di.prototype=new Gc;Ni.constructor=Di;Li(Ni,Nr.prototype);Ni.isPureReactComponent=!0;var Fi={current:null},Hc=Object.prototype.hasOwnProperty,Yc={key:!0,ref:!0,__self:!0,__source:!0};function Qc(e,t,r){var n,o={},i=null,s=null;if(t!=null)for(n in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Hc.call(t,n)&&!Yc.hasOwnProperty(n)&&(o[n]=t[n]);var l=arguments.length-2;if(l===1)o.children=r;else if(1<l){for(var u=Array(l),d=0;d<l;d++)u[d]=arguments[d+2];o.children=u}if(e&&e.defaultProps)for(n in l=e.defaultProps,l)o[n]===void 0&&(o[n]=l[n]);return{$$typeof:pn,type:e,key:i,ref:s,props:o,_owner:Fi.current}}function fy(e,t){return{$$typeof:pn,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Vi(e){return typeof e=="object"&&e!==null&&e.$$typeof===pn}function dy(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(r){return t[r]})}var Jc=/\/+/g,qn=[];function Kc(e,t,r,n){if(qn.length){var o=qn.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function Xc(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>qn.length&&qn.push(e)}function ci(e,t,r,n){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case pn:case ty:i=!0}}if(i)return r(n,e,t===""?"."+Mo(e,0):t),1;if(i=0,t=t===""?".":t+":",Array.isArray(e))for(var s=0;s<e.length;s++){o=e[s];var l=t+Mo(o,s);i+=ci(o,l,r,n)}else if(e===null||typeof e!="object"?l=null:(l=Zs&&e[Zs]||e["@@iterator"],l=typeof l=="function"?l:null),typeof l=="function")for(e=l.call(e),s=0;!(o=e.next()).done;)o=o.value,l=t+Mo(o,s++),i+=ci(o,l,r,n);else if(o==="object")throw r=""+e,Error(hn(31,r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r,""));return i}function li(e,t,r){return e==null?0:ci(e,"",t,r)}function Mo(e,t){return typeof e=="object"&&e!==null&&e.key!=null?dy(e.key):t.toString(36)}function py(e,t){e.func.call(e.context,t,e.count++)}function hy(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?ui(e,n,r,function(i){return i}):e!=null&&(Vi(e)&&(e=fy(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(Jc,"$&/")+"/")+r)),n.push(e))}function ui(e,t,r,n,o){var i="";r!=null&&(i=(""+r).replace(Jc,"$&/")+"/"),t=Kc(t,i,n,o),li(e,hy,t),Xc(t)}var Zc={current:null};function Zt(){var e=Zc.current;if(e===null)throw Error(hn(321));return e}var gy={ReactCurrentDispatcher:Zc,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:Fi,IsSomeRendererActing:{current:!1},assign:Li};ye.Children={map:function(e,t,r){if(e==null)return e;var n=[];return ui(e,n,null,t,r),n},forEach:function(e,t,r){if(e==null)return e;t=Kc(null,null,t,r),li(e,py,t),Xc(t)},count:function(e){return li(e,function(){return null},null)},toArray:function(e){var t=[];return ui(e,t,null,function(r){return r}),t},only:function(e){if(!Vi(e))throw Error(hn(143));return e}};ye.Component=Nr;ye.Fragment=ry;ye.Profiler=oy;ye.PureComponent=Di;ye.StrictMode=ny;ye.Suspense=cy;ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=gy;ye.cloneElement=function(e,t,r){if(e==null)throw Error(hn(267,e));var n=Li({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Fi.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)Hc.call(t,u)&&!Yc.hasOwnProperty(u)&&(n[u]=t[u]===void 0&&l!==void 0?l[u]:t[u])}var u=arguments.length-2;if(u===1)n.children=r;else if(1<u){l=Array(u);for(var d=0;d<u;d++)l[d]=arguments[d+2];n.children=l}return{$$typeof:pn,type:e.type,key:o,ref:i,props:n,_owner:s}};ye.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:sy,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:iy,_context:e},e.Consumer=e};ye.createElement=Qc;ye.createFactory=function(e){var t=Qc.bind(null,e);return t.type=e,t};ye.createRef=function(){return{current:null}};ye.forwardRef=function(e){return{$$typeof:ay,render:e}};ye.isValidElement=Vi;ye.lazy=function(e){return{$$typeof:uy,_ctor:e,_status:-1,_result:null}};ye.memo=function(e,t){return{$$typeof:ly,type:e,compare:t===void 0?null:t}};ye.useCallback=function(e,t){return Zt().useCallback(e,t)};ye.useContext=function(e,t){return Zt().useContext(e,t)};ye.useDebugValue=function(){};ye.useEffect=function(e,t){return Zt().useEffect(e,t)};ye.useImperativeHandle=function(e,t,r){return Zt().useImperativeHandle(e,t,r)};ye.useLayoutEffect=function(e,t){return Zt().useLayoutEffect(e,t)};ye.useMemo=function(e,t){return Zt().useMemo(e,t)};ye.useReducer=function(e,t,r){return Zt().useReducer(e,t,r)};ye.useRef=function(e){return Zt().useRef(e)};ye.useState=function(e){return Zt().useState(e)};ye.version="16.14.0";var me={},my="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",yy=my,vy=Function.call.bind(Object.prototype.hasOwnProperty),fi=function(){};if(process.env.NODE_ENV!=="production"){var by=yy,di={},wy=vy;fi=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function el(e,t,r,n,o){if(process.env.NODE_ENV!=="production"){for(var i in e)if(wy(e,i)){var s;try{if(typeof e[i]!="function"){var l=Error((n||"React class")+": "+r+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[i](t,i,n,r,null,by)}catch(d){s=d}if(s&&!(s instanceof Error)&&fi((n||"React class")+": type specification of "+r+" `"+i+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof s+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),s instanceof Error&&!(s.message in di)){di[s.message]=!0;var u=o?o():"";fi("Failed "+r+" type: "+s.message+(u??""))}}}}el.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(di={})};var _y=el;/** @license React v16.14.0
474
+ * react.development.js
475
+ *
476
+ * Copyright (c) Facebook, Inc. and its affiliates.
477
+ *
478
+ * This source code is licensed under the MIT license found in the
479
+ * LICENSE file in the root directory of this source tree.
480
+ */process.env.NODE_ENV!=="production"&&function(){var e=Uc,t=_y,r="16.14.0",n=typeof Symbol=="function"&&Symbol.for,o=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,l=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,d=n?Symbol.for("react.provider"):60109,h=n?Symbol.for("react.context"):60110,y=n?Symbol.for("react.concurrent_mode"):60111,_=n?Symbol.for("react.forward_ref"):60112,v=n?Symbol.for("react.suspense"):60113,T=n?Symbol.for("react.suspense_list"):60120,O=n?Symbol.for("react.memo"):60115,R=n?Symbol.for("react.lazy"):60116,E=n?Symbol.for("react.block"):60121,A=n?Symbol.for("react.fundamental"):60117,k=n?Symbol.for("react.responder"):60118,I=n?Symbol.for("react.scope"):60119,M=typeof Symbol=="function"&&Symbol.iterator,D="@@iterator";function P(a){if(a===null||typeof a!="object")return null;var p=M&&a[M]||a[D];return typeof p=="function"?p:null}var ve={current:null},be={suspense:null},pe={current:null},Ne=/^(.*)[\\\/]/;function Me(a,p,m){var x="";if(p){var j=p.fileName,ne=j.replace(Ne,"");if(/^index\./.test(ne)){var U=j.match(Ne);if(U){var H=U[1];if(H){var Fe=H.replace(Ne,"");ne=Fe+"/"+ne}}}x=" (at "+ne+":"+p.lineNumber+")"}else m&&(x=" (created by "+m+")");return`
481
+ in `+(a||"Unknown")+x}var we=1;function Q(a){return a._status===we?a._result:null}function $e(a,p,m){var x=p.displayName||p.name||"";return a.displayName||(x!==""?m+"("+x+")":m)}function ie(a){if(a==null)return null;if(typeof a.tag=="number"&&G("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case s:return"Fragment";case i:return"Portal";case u:return"Profiler";case l:return"StrictMode";case v:return"Suspense";case T:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case h:return"Context.Consumer";case d:return"Context.Provider";case _:return $e(a,a.render,"ForwardRef");case O:return ie(a.type);case E:return ie(a.render);case R:{var p=a,m=Q(p);if(m)return ie(m);break}}return null}var se={},ae=null;function re(a){ae=a}se.getCurrentStack=null,se.getStackAddendum=function(){var a="";if(ae){var p=ie(ae.type),m=ae._owner;a+=Me(p,ae._source,m&&ie(m.type))}var x=se.getCurrentStack;return x&&(a+=x()||""),a};var q={current:!1},ce={ReactCurrentDispatcher:ve,ReactCurrentBatchConfig:be,ReactCurrentOwner:pe,IsSomeRendererActing:q,assign:e};e(ce,{ReactDebugCurrentFrame:se,ReactComponentTreeHook:{}});function ge(a){{for(var p=arguments.length,m=new Array(p>1?p-1:0),x=1;x<p;x++)m[x-1]=arguments[x];st("warn",a,m)}}function G(a){{for(var p=arguments.length,m=new Array(p>1?p-1:0),x=1;x<p;x++)m[x-1]=arguments[x];st("error",a,m)}}function st(a,p,m){{var x=m.length>0&&typeof m[m.length-1]=="string"&&m[m.length-1].indexOf(`
482
+ in`)===0;if(!x){var j=ce.ReactDebugCurrentFrame,ne=j.getStackAddendum();ne!==""&&(p+="%s",m=m.concat([ne]))}var U=m.map(function(Ve){return""+Ve});U.unshift("Warning: "+p),Function.prototype.apply.call(console[a],console,U);try{var H=0,Fe="Warning: "+p.replace(/%s/g,function(){return m[H++]});throw new Error(Fe)}catch{}}}var tt={};function We(a,p){{var m=a.constructor,x=m&&(m.displayName||m.name)||"ReactClass",j=x+"."+p;if(tt[j])return;G("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",p,x),tt[j]=!0}}var qe={isMounted:function(a){return!1},enqueueForceUpdate:function(a,p,m){We(a,"forceUpdate")},enqueueReplaceState:function(a,p,m,x){We(a,"replaceState")},enqueueSetState:function(a,p,m,x){We(a,"setState")}},ue={};Object.freeze(ue);function _e(a,p,m){this.props=a,this.context=p,this.refs=ue,this.updater=m||qe}_e.prototype.isReactComponent={},_e.prototype.setState=function(a,p){if(!(typeof a=="object"||typeof a=="function"||a==null))throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,p,"setState")},_e.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};{var Ee={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Be=function(a,p){Object.defineProperty(_e.prototype,a,{get:function(){ge("%s(...) is deprecated in plain JavaScript React classes. %s",p[0],p[1])}})};for(var Pe in Ee)Ee.hasOwnProperty(Pe)&&Be(Pe,Ee[Pe])}function ft(){}ft.prototype=_e.prototype;function Rt(a,p,m){this.props=a,this.context=p,this.refs=ue,this.updater=m||qe}var Te=Rt.prototype=new ft;Te.constructor=Rt,e(Te,_e.prototype),Te.isPureReactComponent=!0;function dt(){var a={current:null};return Object.seal(a),a}var Je=Object.prototype.hasOwnProperty,pt={key:!0,ref:!0,__self:!0,__source:!0},fe,ht,gt;gt={};function mt(a){if(Je.call(a,"ref")){var p=Object.getOwnPropertyDescriptor(a,"ref").get;if(p&&p.isReactWarning)return!1}return a.ref!==void 0}function Ot(a){if(Je.call(a,"key")){var p=Object.getOwnPropertyDescriptor(a,"key").get;if(p&&p.isReactWarning)return!1}return a.key!==void 0}function rt(a,p){var m=function(){fe||(fe=!0,G("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",p))};m.isReactWarning=!0,Object.defineProperty(a,"key",{get:m,configurable:!0})}function at(a,p){var m=function(){ht||(ht=!0,G("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",p))};m.isReactWarning=!0,Object.defineProperty(a,"ref",{get:m,configurable:!0})}function yt(a){if(typeof a.ref=="string"&&pe.current&&a.__self&&pe.current.stateNode!==a.__self){var p=ie(pe.current.type);gt[p]||(G('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref',ie(pe.current.type),a.ref),gt[p]=!0)}}var Ke=function(a,p,m,x,j,ne,U){var H={$$typeof:o,type:a,key:p,ref:m,props:U,_owner:ne};return H._store={},Object.defineProperty(H._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(H,"_self",{configurable:!1,enumerable:!1,writable:!1,value:x}),Object.defineProperty(H,"_source",{configurable:!1,enumerable:!1,writable:!1,value:j}),Object.freeze&&(Object.freeze(H.props),Object.freeze(H)),H};function xt(a,p,m){var x,j={},ne=null,U=null,H=null,Fe=null;if(p!=null){mt(p)&&(U=p.ref,yt(p)),Ot(p)&&(ne=""+p.key),H=p.__self===void 0?null:p.__self,Fe=p.__source===void 0?null:p.__source;for(x in p)Je.call(p,x)&&!pt.hasOwnProperty(x)&&(j[x]=p[x])}var Ve=arguments.length-2;if(Ve===1)j.children=m;else if(Ve>1){for(var Et=Array(Ve),_t=0;_t<Ve;_t++)Et[_t]=arguments[_t+2];Object.freeze&&Object.freeze(Et),j.children=Et}if(a&&a.defaultProps){var Qt=a.defaultProps;for(x in Qt)j[x]===void 0&&(j[x]=Qt[x])}if(ne||U){var jt=typeof a=="function"?a.displayName||a.name||"Unknown":a;ne&&rt(j,jt),U&&at(j,jt)}return Ke(a,ne,U,H,Fe,pe.current,j)}function St(a,p){var m=Ke(a.type,p,a.ref,a._self,a._source,a._owner,a.props);return m}function kt(a,p,m){if(a==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var x,j=e({},a.props),ne=a.key,U=a.ref,H=a._self,Fe=a._source,Ve=a._owner;if(p!=null){mt(p)&&(U=p.ref,Ve=pe.current),Ot(p)&&(ne=""+p.key);var Et;a.type&&a.type.defaultProps&&(Et=a.type.defaultProps);for(x in p)Je.call(p,x)&&!pt.hasOwnProperty(x)&&(p[x]===void 0&&Et!==void 0?j[x]=Et[x]:j[x]=p[x])}var _t=arguments.length-2;if(_t===1)j.children=m;else if(_t>1){for(var Qt=Array(_t),jt=0;jt<_t;jt++)Qt[jt]=arguments[jt+2];j.children=Qt}return Ke(a.type,ne,U,H,Fe,Ve,j)}function Ge(a){return typeof a=="object"&&a!==null&&a.$$typeof===o}var Pt=".",nt=":";function xe(a){var p=/[=:]/g,m={"=":"=0",":":"=2"},x=(""+a).replace(p,function(j){return m[j]});return"$"+x}var Dt=!1,Nt=/\/+/g;function vt(a){return(""+a).replace(Nt,"$&/")}var bt=10,He=[];function ct(a,p,m,x){if(He.length){var j=He.pop();return j.result=a,j.keyPrefix=p,j.func=m,j.context=x,j.count=0,j}else return{result:a,keyPrefix:p,func:m,context:x,count:0}}function ze(a){a.result=null,a.keyPrefix=null,a.func=null,a.context=null,a.count=0,He.length<bt&&He.push(a)}function Ye(a,p,m,x){var j=typeof a;(j==="undefined"||j==="boolean")&&(a=null);var ne=!1;if(a===null)ne=!0;else switch(j){case"string":case"number":ne=!0;break;case"object":switch(a.$$typeof){case o:case i:ne=!0}}if(ne)return m(x,a,p===""?Pt+Se(a,0):p),1;var U,H,Fe=0,Ve=p===""?Pt:p+nt;if(Array.isArray(a))for(var Et=0;Et<a.length;Et++)U=a[Et],H=Ve+Se(U,Et),Fe+=Ye(U,H,m,x);else{var _t=P(a);if(typeof _t=="function"){_t===a.entries&&(Dt||ge("Using Maps as children is deprecated and will be removed in a future major release. Consider converting children to an array of keyed ReactElements instead."),Dt=!0);for(var Qt=_t.call(a),jt,So=0;!(jt=Qt.next()).done;)U=jt.value,H=Ve+Se(U,So++),Fe+=Ye(U,H,m,x)}else if(j==="object"){var wn="";wn=" If you meant to render a collection of children, use an array instead."+se.getStackAddendum();var zr=""+a;throw Error("Objects are not valid as a React child (found: "+(zr==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":zr)+")."+wn)}}return Fe}function $t(a,p,m){return a==null?0:Ye(a,"",p,m)}function Se(a,p){return typeof a=="object"&&a!==null&&a.key!=null?xe(a.key):p.toString(36)}function Xe(a,p,m){var x=a.func,j=a.context;x.call(j,p,a.count++)}function N(a,p,m){if(a==null)return a;var x=ct(null,null,p,m);$t(a,Xe,x),ze(x)}function Z(a,p,m){var x=a.result,j=a.keyPrefix,ne=a.func,U=a.context,H=ne.call(U,p,a.count++);Array.isArray(H)?je(H,x,m,function(Fe){return Fe}):H!=null&&(Ge(H)&&(H=St(H,j+(H.key&&(!p||p.key!==H.key)?vt(H.key)+"/":"")+m)),x.push(H))}function je(a,p,m,x,j){var ne="";m!=null&&(ne=vt(m)+"/");var U=ct(p,ne,x,j);$t(a,Z,U),ze(U)}function wt(a,p,m){if(a==null)return a;var x=[];return je(a,x,null,p,m),x}function C(a){return $t(a,function(){return null},null)}function V(a){var p=[];return je(a,p,null,function(m){return m}),p}function z(a){if(!Ge(a))throw Error("React.Children.only expected to receive a single React element child.");return a}function Ae(a,p){p===void 0?p=null:p!==null&&typeof p!="function"&&G("createContext: Expected the optional second argument to be a function. Instead received: %s",p);var m={$$typeof:h,_calculateChangedBits:p,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};m.Provider={$$typeof:d,_context:m};var x=!1,j=!1;{var ne={$$typeof:h,_context:m,_calculateChangedBits:m._calculateChangedBits};Object.defineProperties(ne,{Provider:{get:function(){return j||(j=!0,G("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),m.Provider},set:function(U){m.Provider=U}},_currentValue:{get:function(){return m._currentValue},set:function(U){m._currentValue=U}},_currentValue2:{get:function(){return m._currentValue2},set:function(U){m._currentValue2=U}},_threadCount:{get:function(){return m._threadCount},set:function(U){m._threadCount=U}},Consumer:{get:function(){return x||(x=!0,G("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),m.Consumer}}}),m.Consumer=ne}return m._currentRenderer=null,m._currentRenderer2=null,m}function Le(a){var p={$$typeof:R,_ctor:a,_status:-1,_result:null};{var m,x;Object.defineProperties(p,{defaultProps:{configurable:!0,get:function(){return m},set:function(j){G("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),m=j,Object.defineProperty(p,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return x},set:function(j){G("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),x=j,Object.defineProperty(p,"propTypes",{enumerable:!0})}}})}return p}function lt(a){return a!=null&&a.$$typeof===O?G("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof a!="function"?G("forwardRef requires a render function but was given %s.",a===null?"null":typeof a):a.length!==0&&a.length!==2&&G("forwardRef render functions accept exactly two parameters: props and ref. %s",a.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),a!=null&&(a.defaultProps!=null||a.propTypes!=null)&&G("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:_,render:a}}function Oe(a){return typeof a=="string"||typeof a=="function"||a===s||a===y||a===u||a===l||a===v||a===T||typeof a=="object"&&a!==null&&(a.$$typeof===R||a.$$typeof===O||a.$$typeof===d||a.$$typeof===h||a.$$typeof===_||a.$$typeof===A||a.$$typeof===k||a.$$typeof===I||a.$$typeof===E)}function f(a,p){return Oe(a)||G("memo: The first argument must be a component. Instead received: %s",a===null?"null":typeof a),{$$typeof:O,type:a,compare:p===void 0?null:p}}function b(){var a=ve.current;if(a===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
483
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
484
+ 2. You might be breaking the Rules of Hooks
485
+ 3. You might have more than one copy of React in the same app
486
+ See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return a}function $(a,p){var m=b();if(p!==void 0&&G("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",p,typeof p=="number"&&Array.isArray(arguments[2])?`
487
+
488
+ Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://fb.me/rules-of-hooks`:""),a._context!==void 0){var x=a._context;x.Consumer===a?G("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):x.Provider===a&&G("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return m.useContext(a,p)}function F(a){var p=b();return p.useState(a)}function oe(a,p,m){var x=b();return x.useReducer(a,p,m)}function te(a){var p=b();return p.useRef(a)}function J(a,p){var m=b();return m.useEffect(a,p)}function Y(a,p){var m=b();return m.useLayoutEffect(a,p)}function De(a,p){var m=b();return m.useCallback(a,p)}function B(a,p){var m=b();return m.useMemo(a,p)}function le(a,p,m){var x=b();return x.useImperativeHandle(a,p,m)}function Ce(a,p){{var m=b();return m.useDebugValue(a,p)}}var Ze;Ze=!1;function Yt(){if(pe.current){var a=ie(pe.current.type);if(a)return`
489
+
490
+ Check the render method of \``+a+"`."}return""}function ot(a){if(a!==void 0){var p=a.fileName.replace(/^.*[\\\/]/,""),m=a.lineNumber;return`
491
+
492
+ Check your code at `+p+":"+m+"."}return""}function ho(a){return a!=null?ot(a.__source):""}var gn={};function go(a){var p=Yt();if(!p){var m=typeof a=="string"?a:a.displayName||a.name;m&&(p=`
493
+
494
+ Check the top-level render call using <`+m+">.")}return p}function Fr(a,p){if(!(!a._store||a._store.validated||a.key!=null)){a._store.validated=!0;var m=go(p);if(!gn[m]){gn[m]=!0;var x="";a&&a._owner&&a._owner!==pe.current&&(x=" It was passed a child from "+ie(a._owner.type)+"."),re(a),G('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',m,x),re(null)}}}function ar(a,p){if(typeof a=="object"){if(Array.isArray(a))for(var m=0;m<a.length;m++){var x=a[m];Ge(x)&&Fr(x,p)}else if(Ge(a))a._store&&(a._store.validated=!0);else if(a){var j=P(a);if(typeof j=="function"&&j!==a.entries)for(var ne=j.call(a),U;!(U=ne.next()).done;)Ge(U.value)&&Fr(U.value,p)}}}function mn(a){{var p=a.type;if(p==null||typeof p=="string")return;var m=ie(p),x;if(typeof p=="function")x=p.propTypes;else if(typeof p=="object"&&(p.$$typeof===_||p.$$typeof===O))x=p.propTypes;else return;x?(re(a),t(x,a.props,"prop",m,se.getStackAddendum),re(null)):p.PropTypes!==void 0&&!Ze&&(Ze=!0,G("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",m||"Unknown")),typeof p.getDefaultProps=="function"&&!p.getDefaultProps.isReactClassApproved&&G("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Vr(a){{re(a);for(var p=Object.keys(a.props),m=0;m<p.length;m++){var x=p[m];if(x!=="children"&&x!=="key"){G("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",x);break}}a.ref!==null&&G("Invalid attribute `ref` supplied to `React.Fragment`."),re(null)}}function yn(a,p,m){var x=Oe(a);if(!x){var j="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(j+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ne=ho(p);ne?j+=ne:j+=Yt();var U;a===null?U="null":Array.isArray(a)?U="array":a!==void 0&&a.$$typeof===o?(U="<"+(ie(a.type)||"Unknown")+" />",j=" Did you accidentally export a JSX literal instead of a component?"):U=typeof a,G("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",U,j)}var H=xt.apply(this,arguments);if(H==null)return H;if(x)for(var Fe=2;Fe<arguments.length;Fe++)ar(arguments[Fe],a);return a===s?Vr(H):mn(H),H}var vn=!1;function mo(a){var p=yn.bind(null,a);return p.type=a,vn||(vn=!0,ge("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(p,"type",{enumerable:!1,get:function(){return ge("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:a}),a}}),p}function yo(a,p,m){for(var x=kt.apply(this,arguments),j=2;j<arguments.length;j++)ar(arguments[j],x.type);return mn(x),x}try{var bn=Object.freeze({}),vo=new Map([[bn,null]]),Br=new Set([bn]);vo.set(0,0),Br.add(0)}catch{}var bo=yn,wo=yo,_o=mo,xo={map:wt,forEach:N,count:C,toArray:V,only:z};me.Children=xo,me.Component=_e,me.Fragment=s,me.Profiler=u,me.PureComponent=Rt,me.StrictMode=l,me.Suspense=v,me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ce,me.cloneElement=wo,me.createContext=Ae,me.createElement=bo,me.createFactory=_o,me.createRef=dt,me.forwardRef=lt,me.isValidElement=Ge,me.lazy=Le,me.memo=f,me.useCallback=De,me.useContext=$,me.useDebugValue=Ce,me.useEffect=J,me.useImperativeHandle=le,me.useLayoutEffect=Y,me.useMemo=B,me.useReducer=oe,me.useRef=te,me.useState=F,me.version=r}();process.env.NODE_ENV==="production"?Kr.exports=ye:Kr.exports=me;var $r=Kr.exports,Lo={sdkSemver:"1.13.0",techVersion:$r.version,sdkCode:"J"},xy=function(e){Bc(t,e);function t(r){var n=e.call(this,r)||this;return n.imageRef=$r.createRef(),n}return t.prototype.componentDidMount=function(){this.htmlLayerInstance=new ug(this.imageRef.current,this.props.cldImg,this.props.plugins,Lo)},t.prototype.componentDidUpdate=function(){Wn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,Lo)},t.prototype.componentWillUnmount=function(){Wn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},t.prototype.render=function(){var r=this.props;r.cldImg,r.plugins;var n=zc(r,["cldImg","plugins"]);if(Mi())return $r.createElement("img",Jr({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=Jm(this.props.plugins,this.props.cldImg,Lo);return $r.createElement("img",Jr({},n,{src:o}))},t}($r.Component),Sy=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(e){Bc(t,e);function t(r){var n=e.call(this,r)||this;return n.videoRef=Kr.exports.createRef(),n.attachRef=n.attachRef.bind(n),n}return t.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new Vm(this.videoRef&&this.videoRef.current,this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster,{useFetchFormat:this.props.useFetchFormat})},t.prototype.componentDidUpdate=function(){Wn(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},t.prototype.componentWillUnmount=function(){Wn(this.htmlVideoLayerInstance.htmlPluginState)},t.prototype.getVideoAttributes=function(){var r=this,n={};return Sy.forEach(function(o){o in r.props&&(n[o]=r.props[o])}),n},t.prototype.attachRef=function(r){this.videoRef.current=r;var n=this.props.innerRef;n&&(n instanceof Function?n(r):n.current=r)},t.prototype.render=function(){var r=this.props;r.cldVid,r.cldPoster,r.plugins,r.sources,r.innerRef,r.useFetchFormat;var n=zc(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return $r.createElement("video",Jr({},n,{ref:this.attachRef}))},t})(Kr.exports.Component);function $y(e){return!(typeof e!="object"||e instanceof Array)}class Ey{filterOutNonSupportedKeys(t,r){const n=Object.create({});return $y(t)?(Object.keys(t).forEach(o=>{r.indexOf(o)>=0?n[o]=t[o]:console.warn("Warning - unsupported key provided to configuration: ",o)}),n):Object.create({})}}const ea=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class Bi extends Ey{constructor(t){super();const r=this.filterOutNonSupportedKeys(t,ea);Object.assign(this,{secure:!0},r)}extend(t){const r=this.filterOutNonSupportedKeys(t,ea);return new Bi(Object.assign({},this,r))}setCname(t){return this.cname=t,this}setSecureDistribution(t){return this.secureDistribution=t,this}setPrivateCdn(t){return this.privateCdn=t,this}setSignUrl(t){return this.signUrl=t,this}setLongUrlSignature(t){return this.longUrlSignature=t,this}setShorten(t){return this.shorten=t,this}setUseRootPath(t){return this.useRootPath=t,this}setSecure(t){return this.secure=t,this}setForceVersion(t){return this.forceVersion=t,this}setQueryParams(t){return this.queryParams=t,this}}class Xr{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}}class Ty extends Error{constructor(t="Unsupported"){super(t)}}function zi(e){return new Ty(e)}function Ay(){return this._qualifierModel||{error:zi(`unsupported qualifier ${this.constructor.name}`)}}class Oy{constructor(){this._qualifierModel={}}toJson(){return Ay.apply(this)}}class fo extends Oy{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Xr?this.qualifierValue=r:(this.qualifierValue=new Xr,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}}class nr extends fo{constructor(t,r){let n;r?n=new Xr([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function Cy(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Ry(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:zi(`unsupported action ${this.constructor.name}`)}}class ky{constructor(){this._actionModel={}}toJson(){return Ry.apply(this)}}class Ui extends ky{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),Cy(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new nr(n)):this.qualifiers.set(r,new fo(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new nr(t)):t instanceof nr&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}}function Py(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class jy extends Ui{constructor(t){super(),this._actionModel={},this.addQualifier(new fo("b",new Xr(Py(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}}class ta{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:zi(`unsupported action ${this.constructor.name}`)}}}function Iy(e){const t=e;return"error"in t&&!!t.error}function My(){return new nr("lossy")}function Ly(){return new nr("preserve_transparency")}function Dy(e){return new nr("progressive",e)}class Ny extends Xr{constructor(t){super(t),this.val=t}getValue(){return this.val}}function wr(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const Fy={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},Vy={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},By={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},zy={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Uy={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},Wy={444:"CHROMA_444",420:"CHROMA_420"},qy={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};wr(Wy);wr(qy);wr(Fy);const Gy=wr(Vy);wr(By);wr(zy);wr(Uy);class Hy extends Ui{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Ny?o=r.getValue():o=r,this._actionModel.actionType=Gy[t],this._actionModel[n]=o,this.addQualifier(new fo(t,r))}}class Yy extends nr{constructor(t){super("progressive",t)}}class Gn extends Hy{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(My()),this}progressive(t){return t instanceof Yy?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(Dy(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(Ly()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;let s;return r?s=new this("f",r):s=new this("f"),o&&(o.mode?s.progressive(o.mode):s.progressive()),n&&s.lossy(),i&&s.preserveTransparency(),s}}class po{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new ta(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof po?this.actions=this.actions.concat(t.actions):this.actions.push(new ta(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new Gn("q",t)),this}format(t){return this.addAction(new Gn("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new jy(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new Ui;let n=t;return typeof t=="string"&&(n=new nr(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(Iy(n))return n;t.push(n)}return{actions:t}}}class Qy extends po{}class Jy extends po{}function Ky(e){return e.match(/^https?:\//)}function Xy(e){return e.indexOf("/")<0}function Zy(e){return e.match(/^v[0-9]+/)}function ev(e,t){const r=t.secure,n=t.privateCdn,o=t.cname,i=t.secureDistribution;return!r&&!o?`http://res.cloudinary.com/${e}`:r&&!i&&n?`https://${e}-res.cloudinary.com`:r&&!i?`https://res.cloudinary.com/${e}`:r&&i&&n?`https://${i}`:r&&i?`https://${i}/${e}`:!r&&o?`http://${o}/${e}`:"ERROR"}function tv(e){return e||"image"}function rv(e){return e||"upload"}function nv(e,t,r){const n=r!==!1;return t?`v${t}`:Zy(e)||Ky(e)||Xy(e)?"":n?"v1":""}function Wi(e,t,r){let n=t>>0,o=String(r);return e.length>n?String(e):(n=n-e.length,n>o.length&&(o+=ov(o,n/o.length)),o.slice(0,n)+String(e))}function ov(e,t){let r=t,n="";for(;r>0;)n+=e,r--;return n}const iv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Hn={};let ra=0;iv.split("").forEach(e=>{let t=ra.toString(2);t=Wi(t,6,"0"),Hn[t]=e,ra++});function sv(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").reverse().join(".")}function av(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").map(t=>{const r=+t;if(isNaN(r)||r<0)throw"Invalid version number provided";return Wi(t,2,"0")}).join(".")}function na(e){let t="";const n=e.split(".").length*6,o=sv(e),i=av(o);let l=parseInt(i.split(".").join("")).toString(2);if(l=Wi(l,n,"0"),l.length%6!==0)throw"Version must be smaller than 43.21.26)";return l.match(/.{1,6}/g).forEach(u=>{t+=Hn[u]}),t}function cv(e){const t={sdkSemver:e.sdkSemver,techVersion:e.techVersion,sdkCode:e.sdkCode,product:e.product,feature:"0",osType:e.osType,osVersion:e.osVersion};return e.accessibility&&(t.feature="D"),e.lazyload&&(t.feature="C"),e.responsive&&(t.feature="A"),e.placeholder&&(t.feature="B"),t}const lv="1.21.0";function uv(e){const[t,r]=e.split("."),n=parseInt(t).toString(2),o=parseInt(r).toString(2),i=n.padStart(6,"0"),s=o.padStart(6,"0");return Hn[i]+Hn[s]}function fv(){const e="0.0.0";if(typeof window<"u")return e;try{return process.versions.node||e}catch{return e}}function dv(e){const t={techVersion:fv(),sdkCode:"T",sdkSemver:lv.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return e?Object.assign(Object.assign({},t),e):t}function oa(e){const t=dv(e),r=cv(t);try{const n=pv(r.techVersion),o=na(r.sdkSemver),i=na(n),s=uv(r.osVersion),l=r.feature,u=r.sdkCode,{product:d,osType:h}=r;return`D${d}${u}${o}${i}${h}${s}${l}`}catch{return"E"}}function pv(e){const t=e.split(".");return`${t[0]}.${t[1]}`}const ia={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class hv{constructor(t,r={},n){this.setPublicID(t),this.setCloudConfig(r),this.setURLConfig(n)}setURLConfig(t){return this.urlConfig=new Bi(t),this}setCloudConfig(t){return this.cloudName=t.cloudName,this.apiKey=t.apiKey,this.apiSecret=t.apiSecret,this.authToken=t.authToken,this}setPublicID(t){return this.publicID=t?t.toString():"",this}setDeliveryType(t){return this.deliveryType=t,this}setSuffix(t){return this.suffix=t,this}setSignature(t){return this.signature=t,this}setVersion(t){return t&&(this.version=t),this}setAssetType(t){return t&&(this.assetType=t),this}sign(){return this}toURL(t={}){return this.createCloudinaryURL(null,t.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";const t=this.suffix&&this.suffix.indexOf(".")>=0,r=this.suffix&&this.suffix.indexOf("/")>=0;if(t||r)throw"`suffix`` should not include . or /"}getResourceType(){const t=tv(this.assetType),r=rv(this.deliveryType),n=!!this.suffix,o=`${t}/${r}`,i=ia[`${t}/${r}`],s=this.urlConfig.useRootPath,l=this.urlConfig.shorten;if(s){if(o==="image/upload")return"";throw new Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${o} instead`)}if(l&&o==="image/upload")return"iu";if(n){if(i)return i;throw new Error(`URL Suffix only supported for ${Object.keys(ia).join(", ")}, Provided: ${o} instead`)}return o}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(t,r){if(!this.publicID)return"";this.validateAssetForURLCreation();const n=ev(this.cloudName,this.urlConfig),o=t?t.toString():"",i=nv(this.publicID,this.version,this.urlConfig.forceVersion),s=this.publicID;if(typeof t=="string")return[n,this.getResourceType(),this.getSignature(),o,i,s.replace(/,/g,"%2C"),this.suffix].filter(u=>u).join("/");{const l=[encodeURI(n),this.getResourceType(),this.getSignature(),encodeURI(o),i,encodeURI(s).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(h=>h).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),u=this.urlConfig.analytics!==!1&&!s.includes("?");let d="";if(typeof this.urlConfig.queryParams=="object")try{const h=new URLSearchParams(this.urlConfig.queryParams);u&&h.set("_a",oa(r)),d=h.toString()}catch{console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else d=this.urlConfig.queryParams||"",u&&(d+=`${d.length>0?"&":""}_a=${oa(r)}`);return d?`${l}?${d}`:l}}}class tl extends hv{constructor(t,r,n,o){super(t,r,n),this.transformation=o}animated(t){return this.transformation.animated(t),this}border(t){return this.transformation.border(t),this}reshape(t){return this.transformation.reshape(t),this}resize(t){return this.transformation.resize(t),this}quality(t){return this.addAction(new Gn("q",t)),this}format(t){return this.addAction(new Gn("f",t)),this}roundCorners(t){return this.transformation.roundCorners(t),this}overlay(t){return this.transformation.overlay(t),this}addVariable(t){return this.transformation.addVariable(t),this}conditional(t){return this.transformation.conditional(t),this}effect(t){return this.transformation.effect(t),this}adjust(t){return this.transformation.adjust(t),this}rotate(t){return this.transformation.rotate(t),this}namedTransformation(t){return this.transformation.namedTransformation(t),this}delivery(t){return this.transformation.delivery(t),this}backgroundColor(t){return this.transformation.backgroundColor(t),this}psdTools(t){return this.transformation.psdTools(t),this}extract(t){return this.transformation.extract(t),this}addFlag(t){return this.transformation.addFlag(t),this}customFunction(t){return this.transformation.customFunction(t),this}addAction(t){return this.transformation.addAction(t),this}addTransformation(t){return this.transformation.addTransformation(t),this}toString(){return this.transformation.toString()}underlay(t){return this.transformation.underlay(t),this}toURL(t={}){return this.createCloudinaryURL(this.transformation,t==null?void 0:t.trackedAnalytics)}}class gv extends tl{constructor(t,r,n){super(t,r,n,new Qy)}}class mv extends tl{constructor(t,r,n){super(t,r,n,new Jy),this.assetType="video"}transcode(t){return this.transformation.transcode(t),this}videoEdit(t){return this.transformation.videoEdit(t),this}}class yv{constructor(t){t&&(this.cloudinaryConfig=t)}image(t){return new gv(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(t){return new mv(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(t){return this.cloudinaryConfig=t,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const vv=({publicId:e,format:t="webp"})=>{const r=S.useMemo(()=>new yv({cloud:{cloudName:"fluid-attacks"}}),[]);return S.useMemo(()=>r.image(e).format(t),[r,e,t])},bv=({alt:e="img",height:t="",width:r="",plugins:n=[Wm(),Ym()],publicId:o})=>{const i=vv({publicId:o});return K.jsx(xy,{alt:e,cldImg:i,height:t,plugins:n,width:r})},rl=S.memo(bv),wv=Qe.button`
495
+ ${({theme:e,$resolution:t})=>`
496
+ align-items: center;
497
+ border-left: 3px solid transparent;
498
+ display: flex;
499
+ gap: ${e.spacing[.625]};
500
+ font-family: ${e.typography.type.primary};
501
+ font-size: ${t==="desktop"?e.typography.text.sm:e.typography.text.xs};
502
+ font-weight: ${e.typography.weight.regular};
503
+ height: 42px;
504
+ min-width: 50px;
505
+ padding: ${e.spacing[.625]} ${e.spacing[1]};
506
+
507
+ &.dark {
508
+ background-color: ${e.palette.gray[800]};
509
+ color: ${e.palette.gray[25]};
510
+
511
+ &.disabled {
512
+ border-color: ${e.palette.gray[500]};
513
+ color: ${e.palette.gray[500]};
514
+ cursor: not-allowed;
515
+ }
516
+
517
+ &:hover:not(.disabled) {
518
+ background-color: ${e.palette.gray[700]};
519
+ border-color: ${e.palette.primary[400]};
520
+ }
521
+ }
522
+
523
+ &.light {
524
+ background-color: ${e.palette.gray[50]};
525
+ color: ${e.palette.gray[800]};
526
+
527
+ &.disabled {
528
+ background-color: ${e.palette.white};
529
+ border-color: ${e.palette.gray[300]};
530
+ color: ${e.palette.gray[300]};
531
+ cursor: not-allowed;
532
+ }
533
+
534
+ &:hover:not(.disabled) {
535
+ background-color: ${e.palette.gray[100]};
536
+ border-color: ${e.palette.primary[400]};
537
+ }
538
+ }
539
+ `}
540
+ `,_v=Qe.div`
541
+ ${({theme:e})=>`
542
+ align-items: center;
543
+ background-color: transparent;
544
+ border-bottom: 2px solid transparent;
545
+ display: flex;
546
+ font-family: ${e.typography.type.primary};
547
+ font-size: ${e.typography.text.sm};
548
+ font-weight: ${e.typography.weight.regular};
549
+ gap: ${e.spacing[.5]};
550
+ height: 30px;
551
+ justify-content: center;
552
+ padding: ${e.spacing[.25]};
553
+ margin-bottom: ${e.spacing[.25]};
554
+ min-width: 50px;
555
+ width: max-content;
556
+ z-index: 11;
557
+
558
+ &:hover {
559
+ border-color: ${e.palette.primary[400]};
560
+ }
561
+
562
+ &.dark {
563
+ color: ${e.palette.gray[25]};
564
+ }
565
+
566
+ &.light {
567
+ color: ${e.palette.gray[800]};
568
+ }
569
+ `}
570
+ `,xv=Qe.div`
571
+ ${({theme:e})=>`
572
+ background-color: ${e.palette.white};
573
+ border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
574
+ box-shadow: ${e.shadows.lg};
575
+ display: none;
576
+ flex-direction: column;
577
+ position: absolute;
578
+ top: 100%;
579
+ z-index: 11;
580
+
581
+ > button:last-child {
582
+ border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
583
+ }
584
+ `}
585
+ `,Sv=Qe.div`
586
+ ${({theme:e})=>`
587
+ align-items: flex-start;
588
+ cursor: pointer;
589
+ display: flex;
590
+ flex-direction: column;
591
+ gap: ${e.spacing[.25]};
592
+ height: max-content;
593
+ position: relative;
594
+ width: max-content;
595
+ z-index: 10;
596
+
597
+ &:hover {
598
+ > div:first-child {
599
+ border-color: ${e.palette.primary[400]};
600
+ }
601
+
602
+ > div:last-child {
603
+ display: flex;
604
+ }
605
+ }
606
+ `}
607
+ `,$v=({disabled:e=!1,mode:t,onClick:r,resolution:n,text:o})=>K.jsx(wv,{$resolution:n,className:`${e&&"disabled"} ${t}`,disabled:e,onClick:r,children:o}),Ev=[{text:"EN"},{text:"ES"}],Tv=({items:e,handleClick:t,mode:r="light",resolution:n="desktop"})=>{const o=e??Ev,[i,s]=S.useState(o[0].text),l=S.useCallback(u=>()=>{t(u.text),s(u.text)},[]);return K.jsxs(Sv,{children:[K.jsxs(_v,{className:r,children:[K.jsx(kr,{icon:"globe",iconSize:"xs",iconType:"fa-light"}),i]}),K.jsx(xv,{children:o.map((u,d)=>K.jsx($v,{disabled:u.disabled,mode:r,onClick:l(u),resolution:n,text:u.text},`${u.text}_${d}`))})]})},Av={company:{height:"83px",width:"460px"},footer:{height:"57px",width:"315px"},header:{height:"35px",width:"160px"},icon:{height:"40px",width:"40px"}},Ov=({publicId:e,variant:t})=>K.jsx(qt,{...Av[t],children:K.jsx(rl,{alt:"logo",publicId:e})});exports.Accordion=nf;exports.BaseButtonComponent=Pa;exports.BaseComponent=eo;exports.BaseSpanComponent=ja;exports.BaseTextComponent=vi;exports.Button=ag;exports.CloudImage=rl;exports.Container=qt;exports.CustomThemeProvider=Lu;exports.Heading=Zu;exports.Icon=kr;exports.LanguageSelector=Tv;exports.Logo=Ov;exports.Text=Yr;exports.Tooltip=ic;exports.getStyledConfig=an;exports.hiddenProps=aa;exports.icons=Iu;exports.setBorder=rn;exports.setDisplay=nn;exports.setInteraction=sn;exports.setMargin=en;exports.setPadding=Zr;exports.setPosition=tn;exports.setText=on;exports.theme=de;exports.uniqueIcons=Mu;exports.variantBuilder=sa;