@fluidattacks/design 1.2.19 → 1.2.21
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 +299 -112
- package/dist/design.mjs +3015 -2575
- package/dist/gradients.svg +2 -2
- package/dist/src/components/@core/types.d.ts +1 -2
- package/dist/src/components/button/styles.d.ts +2 -7
- package/dist/src/components/button/types.d.ts +2 -5
- package/dist/src/components/message-banner/index.d.ts +3 -0
- package/dist/src/components/message-banner/index.stories.d.ts +6 -0
- package/dist/src/components/message-banner/styles.d.ts +2 -0
- package/dist/src/components/message-banner/types.d.ts +24 -0
- package/dist/src/components/message-banner/utils.d.ts +7 -0
- package/dist/src/components/search-bar/index.d.ts +1 -1
- package/dist/src/components/search-bar/index.stories.d.ts +7 -0
- package/dist/src/components/search-bar/styles.d.ts +6 -1
- package/dist/src/components/search-bar/types.d.ts +0 -5
- package/dist/src/components/search-bar/utils.d.ts +4 -0
- package/dist/src/components/tabs/styles.d.ts +3 -0
- package/dist/src/index.d.ts +1 -0
- package/package.json +6 -5
- package/dist/src/components/button/utils.d.ts +0 -3
- package/dist/style.css +0 -1
package/dist/design.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
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","justifySelf","alignItems","alignSelf","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 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 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-",Yr="-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 Or(e,t,r){return e.slice(t,r)}function Wt(e){return e.length}function pa(e){return e.length}function Hr(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,Cr=1,ha=0,Lt=0,We=0,Lr="";function Jn(e,t,r,n,o,i,s,c){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Qn,column:Cr,length:s,return:"",siblings:c}}function er(e,t){return Do(Jn("",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 bl(){return We}function wl(){return We=Lt>0?et(Lr,--Lt):0,Cr--,We===10&&(Cr=1,Qn--),We}function Ft(){return We=Lt<ha?et(Lr,Lt++):0,Cr++,We===10&&(Cr=1,Qn++),We}function dr(){return et(Lr,Lt)}function Rn(){return Lt}function Kn(e,t){return Or(Lr,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=Cr=1,ha=Wt(Lr=e),Lt=0,[]}function xl(e){return Lr="",e}function Ao(e){return da(Kn(Lt-1,Fo(e===91?e+2:e===40?e+1:e)))}function Sl(e){for(;(We=dr())&&We<33;)Ft();return No(e)>2||No(We)>3?"":" "}function $l(e,t){for(;--t&&Ft()&&!(We<48||We>102||We>57&&We<65||We>70&&We<97););return Kn(e,Rn()+(t<6&&dr()==32&&Ft()==32))}function Fo(e){for(;Ft();)switch(We){case e:return Lt;case 34:case 39:e!==34&&e!==39&&Fo(We);break;case 40:e===41&&Fo(e);break;case 92:Ft();break}return Lt}function El(e,t){for(;Ft()&&e+We!==57;)if(e+We===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,c,u){for(var d=0,h=0,y=s,w=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?c[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:Hr(Ol(El(Ft(),Rn()),t,r,u),u);break;default:P+="/"}break;case 123*O:c[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&&Hr(v>32?es(P+";",n,r,y-1,u):es(ee(P," ","")+";",n,r,y-2,u),u);break;case 59:P+=";";default:if(Hr(D=Zi(P,t,r,d,h,o,c,k,I=[],M=[],y,i),i),A===123)if(h===0)kn(P,t,D,D,I,i,y,c,M);else switch(w===99&&et(P,3)===110?100:w){case 100:case 108:case 109:case 115:kn(e,D,D,n&&Hr(Zi(e,D,D,0,0,o,c,k,o,I=[],y,M),M),o,M,y,c,n?I:M);break;default:kn(P,D,D,D,[""],M,0,c,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:c[d++]=(Wt(P)-1)*E,E=1;break;case 64:dr()===45&&(P+=Ao(Ft())),w=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,c,u,d,h,y){for(var w=o-1,v=o===0?i:[""],T=pa(v),O=0,R=0,E=0;O<n;++O)for(var A=0,k=Or(e,w+1,w=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:c,u,d,h,y)}function Ol(e,t,r,n){return Jn(e,t,r,la,hi(bl()),Or(e,2,-2),0,n)}function es(e,t,r,n,o){return Jn(e,t,r,pi,Or(e,0,n),Or(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 Yr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return he+e+Yr+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"+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(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"+Yr+(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,c,u,d){return Re+o+":"+i+d+(s?Re+o+"-span:"+(c?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="",c=0;c<t;c++)s+=e[c](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":Sr(er(e,{props:[ee(o,/:(read-\w+)/,":"+Yr+"$1")]})),Sr(er(e,{props:[o]})),Do(e,{props:Xi(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]})),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.
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.\\!visible{visibility:visible!important}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-\\[500px\\]{height:500px}.w-full{width:100%}.max-w-72{max-width:18rem}.max-w-min{max-width:-moz-min-content;max-width:min-content}.flex-shrink{flex-shrink:1}.flex-grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-4{gap:1rem}.self-stretch{align-self:stretch}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.px-12{padding-left:3rem;padding-right:3rem}.px-8{padding-left:2rem;padding-right:2rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\\[90px\\]{padding-top:90px;padding-bottom:90px}.align-middle{vertical-align:middle}.text-sm{font-size:.875rem;line-height:1.25rem}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@property --animate-position{syntax: "<angle>"; initial-value: 45deg; inherits: false;}@property --border-angle{syntax: "<angle>"; initial-value: 0deg; inherits: false;}@property --color-1{syntax: "<color>"; initial-value: #f32637; inherits: false;}@property --color-2{syntax: "<color>"; initial-value: #b8075d; inherits: false;}@property --btn-padding-x{syntax: "<length>"; initial-value: 16px; inherits: false;}@property --btn-padding-y{syntax: "<length>"; initial-value: 10px; inherits: false;}@property --btn-spacing{syntax: "<length>"; initial-value: 8px; inherits: false;}@property --grid-columns{syntax: "<number>"; initial-value: 12; inherits: false;}@property --grid-width{syntax: "<length>"; initial-value: 1440px; inherits: false;}@property --angle-grad{syntax: "<angle>"; initial-value: 45deg; inherits: false;}@property --opacity-grad{syntax: "<number>"; initial-value: 0; inherits: false;}@keyframes spinAnimation{to{--border-angle: 360deg}}@keyframes gradientAnimation{0%{--animate-position: 45deg}33%{--animate-position: -50deg}66%{--animate-position: -100deg}to{--animate-position: 45deg}}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react"),ml=require("react-dom"),ua=e=>({getVariant:(t,r)=>e(t)[r]}),fa=["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","justifySelf","alignItems","alignSelf","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 Cr(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 yl(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var vl=/^((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)-.*))$/,bl=yl(function(e){return vl.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 da(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ke="-ms-",Yr="-moz-",he="-webkit-",pa="comm",Yn="rule",gi="decl",wl="@import",ha="@keyframes",_l="@layer",ga=Math.abs,mi=String.fromCharCode,Fo=Object.assign;function xl(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 ma(e){return e.trim()}function Xt(e,t){return(e=t.exec(e))?e[0]:e}function ee(e,t,r){return e.replace(t,r)}function On(e,t,r){return e.indexOf(t,r)}function et(e,t){return e.charCodeAt(t)|0}function Or(e,t,r){return e.slice(t,r)}function qt(e){return e.length}function ya(e){return e.length}function Hr(e,t){return t.push(e),e}function Sl(e,t){return e.map(t).join("")}function ts(e,t){return e.filter(function(r){return!Xt(r,t)})}var Qn=1,Rr=1,va=0,Dt=0,Ue=0,Lr="";function Jn(e,t,r,n,o,i,s,c){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Qn,column:Rr,length:s,return:"",siblings:c}}function rr(e,t){return Fo(Jn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function $r(e){for(;e.root;)e=rr(e.root,{children:[e]});Hr(e,e.siblings)}function $l(){return Ue}function El(){return Ue=Dt>0?et(Lr,--Dt):0,Rr--,Ue===10&&(Rr=1,Qn--),Ue}function Vt(){return Ue=Dt<va?et(Lr,Dt++):0,Rr++,Ue===10&&(Rr=1,Qn++),Ue}function hr(){return et(Lr,Dt)}function Rn(){return Dt}function Kn(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 Tl(e){return Qn=Rr=1,va=qt(Lr=e),Dt=0,[]}function Al(e){return Lr="",e}function Ao(e){return ma(Kn(Dt-1,Bo(e===91?e+2:e===40?e+1:e)))}function Cl(e){for(;(Ue=hr())&&Ue<33;)Vt();return Vo(e)>2||Vo(Ue)>3?"":" "}function Ol(e,t){for(;--t&&Vt()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return Kn(e,Rn()+(t<6&&hr()==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 Rl(e,t){for(;Vt()&&e+Ue!==57;)if(e+Ue===84&&hr()===47)break;return"/*"+Kn(t,Dt-1)+"*"+mi(e===47?e:Vt())}function kl(e){for(;!Vo(hr());)Vt();return Kn(e,Dt)}function jl(e){return Al(kn("",null,null,null,[""],e=Tl(e),0,[0],e))}function kn(e,t,r,n,o,i,s,c,u){for(var d=0,h=0,m=s,_=0,v=0,T=0,C=1,O=1,x=1,A=0,R="",M=o,L=i,N=n,P=R;O;)switch(T=A,A=Vt()){case 40:if(T!=108&&et(P,m-1)==58){On(P+=ee(Ao(A),"&","&\f"),"&\f",ga(d?c[d-1]:0))!=-1&&(x=-1);break}case 34:case 39:case 91:P+=Ao(A);break;case 9:case 10:case 13:case 32:P+=Cl(T);break;case 92:P+=Ol(Rn()-1,7);continue;case 47:switch(hr()){case 42:case 47:Hr(Pl(Rl(Vt(),Rn()),t,r,u),u);break;default:P+="/"}break;case 123*C:c[d++]=qt(P)*x;case 125*C:case 59:case 0:switch(A){case 0:case 125:O=0;case 59+h:x==-1&&(P=ee(P,/\f/g,"")),v>0&&qt(P)-m&&Hr(v>32?ns(P+";",n,r,m-1,u):ns(ee(P," ","")+";",n,r,m-2,u),u);break;case 59:P+=";";default:if(Hr(N=rs(P,t,r,d,h,o,c,R,M=[],L=[],m,i),i),A===123)if(h===0)kn(P,t,N,N,M,i,m,c,L);else switch(_===99&&et(P,3)===110?100:_){case 100:case 108:case 109:case 115:kn(e,N,N,n&&Hr(rs(e,N,N,0,0,o,c,R,o,M=[],m,L),L),o,L,m,c,n?M:L);break;default:kn(P,N,N,N,[""],L,0,c,L)}}d=h=v=0,C=x=1,R=P="",m=s;break;case 58:m=1+qt(P),v=T;default:if(C<1){if(A==123)--C;else if(A==125&&C++==0&&El()==125)continue}switch(P+=mi(A),A*C){case 38:x=h>0?1:(P+="\f",-1);break;case 44:c[d++]=(qt(P)-1)*x,x=1;break;case 64:hr()===45&&(P+=Ao(Vt())),_=hr(),h=m=qt(R=P+=kl(Rn())),A++;break;case 45:T===45&&qt(P)==2&&(C=0)}}return i}function rs(e,t,r,n,o,i,s,c,u,d,h,m){for(var _=o-1,v=o===0?i:[""],T=ya(v),C=0,O=0,x=0;C<n;++C)for(var A=0,R=Or(e,_+1,_=ga(O=s[C])),M=e;A<T;++A)(M=ma(O>0?v[A]+" "+R:ee(R,/&\f/g,v[A])))&&(u[x++]=M);return Jn(e,t,r,o===0?Yn:c,u,d,h,m)}function Pl(e,t,r,n){return Jn(e,t,r,pa,mi($l()),Or(e,2,-2),0,n)}function ns(e,t,r,n,o){return Jn(e,t,r,gi,Or(e,0,n),Or(e,n+1,-1),n,o)}function ba(e,t,r){switch(xl(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+ke+e+e;case 5936:switch(et(e,t+11)){case 114:return he+e+ke+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return he+e+ke+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return he+e+ke+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return he+e+ke+e+e;case 6165:return he+e+ke+"flex-"+e+e;case 5187:return he+e+ee(e,/(\w+).+(:[^]+)/,he+"box-$1$2"+ke+"flex-$1$2")+e;case 5443:return he+e+ke+"flex-item-"+ee(e,/flex-|-self/g,"")+(Xt(e,/flex-|baseline/)?"":ke+"grid-row-"+ee(e,/flex-|-self/g,""))+e;case 4675:return he+e+ke+"flex-line-pack"+ee(e,/align-content|flex-|-self/g,"")+e;case 5548:return he+e+ke+ee(e,"shrink","negative")+e;case 5292:return he+e+ke+ee(e,"basis","preferred-size")+e;case 6060:return he+"box-"+ee(e,"-grow","")+he+e+ke+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"+ke+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+he+e+e;case 4200:if(!Xt(e,/flex-|baseline/))return ke+"grid-column-align"+Or(e,t)+e;break;case 2592:case 3360:return ke+ee(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,Xt(n.props,/grid-\w+-end/)})?~On(e+(r=r[t].value),"span",0)?e:ke+ee(e,"-start","")+e+ke+"grid-row-span:"+(~On(r,"span",0)?Xt(r,/\d+/):+Xt(r,/\d+/)-+Xt(e,/\d+/))+";":ke+ee(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Xt(n.props,/grid-\w+-start/)})?e:ke+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(et(e,t+1)){case 109:if(et(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+he+"$2-$3$1"+Yr+(et(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~On(e,"stretch",0)?ba(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,c,u,d){return ke+o+":"+i+d+(s?ke+o+"-span:"+(c?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"+ke+"$2box$3")+e;case 100:return ee(e,":",":"+ke)+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 Il(e,t,r,n){switch(e.type){case _l:if(e.children.length)break;case wl:case gi:return e.return=e.return||e.value;case pa:return"";case ha:return e.return=e.value+"{"+In(e.children,n)+"}";case Yn:if(!qt(e.value=e.props.join(",")))return""}return qt(r=In(e.children,n))?e.return=e.value+"{"+r+"}":""}function Ml(e){var t=ya(e);return function(r,n,o,i){for(var s="",c=0;c<t;c++)s+=e[c](r,n,o,i)||"";return s}}function Ll(e){return function(t){t.root||(t=t.return)&&e(t)}}function Dl(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case gi:e.return=ba(e.value,e.length,r);return;case ha:return In([rr(e,{value:ee(e.value,"@","@"+he)})],n);case Yn:if(e.length)return Sl(r=e.props,function(o){switch(Xt(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":$r(rr(e,{props:[ee(o,/:(read-\w+)/,":"+Yr+"$1")]})),$r(rr(e,{props:[o]})),Fo(e,{props:ts(r,n)});break;case"::placeholder":$r(rr(e,{props:[ee(o,/:(plac\w+)/,":"+he+"input-$1")]})),$r(rr(e,{props:[ee(o,/:(plac\w+)/,":"+Yr+"$1")]})),$r(rr(e,{props:[ee(o,/:(plac\w+)/,ke+"input-$1")]})),$r(rr(e,{props:[o]})),Fo(e,{props:ts(r,n)});break}return""})}}var Nl={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},yr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",wa="active",_a="data-styled-version",Xn="6.1.13",yi=`/*!sc*/
|
|
3
|
+
`,Mn=typeof window<"u"&&"HTMLElement"in window,Fl=!!(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"),os=/invalid hook call/i,$n=new Set,Vl=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
4
|
`)+`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 c=[],u=1;u<arguments.length;u++)c[u-1]=arguments[u];
|
|
5
|
+
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 c=[],u=1;u<arguments.length;u++)c[u-1]=arguments[u];os.test(s)?(i=!1,$n.delete(n)):o.apply(void 0,Cr([s],c,!1))},w.useRef(),i&&!$n.has(n)&&(console.warn(n),$n.add(n))}catch(s){os.test(s.message)&&$n.delete(n)}finally{console.error=o}}},Zn=Object.freeze([]),kr=Object.freeze({});function Bl(e,t,r){return r===void 0&&(r=kr),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"]),zl=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Wl=/(^-|-$)/g;function is(e){return e.replace(zl,"-").replace(Wl,"")}var Ul=/(a)(d)/gi,En=52,ss=function(e){return String.fromCharCode(e+(e>25?39:97))};function Wo(e){var t,r="";for(t=Math.abs(e);t>En;t=t/En|0)r=ss(t%En)+r;return(ss(t%En)+r).replace(Ul,"$1-$2")}var Co,xa=5381,dr=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Sa=function(e){return dr(xa,e)};function ql(e){return Wo(Sa(e)>>>0)}function $a(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Oo(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Ea=typeof Symbol=="function"&&Symbol.for,Ta=Ea?Symbol.for("react.memo"):60115,Gl=Ea?Symbol.for("react.forward_ref"):60112,Hl={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Yl={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Aa={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ql=((Co={})[Gl]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Co[Ta]=Aa,Co);function as(e){return("type"in(t=e)&&t.type.$$typeof)===Ta?Aa:"$$typeof"in e?Ql[e.$$typeof]:Hl;var t}var Jl=Object.defineProperty,Kl=Object.getOwnPropertyNames,cs=Object.getOwnPropertySymbols,Xl=Object.getOwnPropertyDescriptor,Zl=Object.getPrototypeOf,ls=Object.prototype;function Ca(e,t,r){if(typeof t!="string"){if(ls){var n=Zl(t);n&&n!==ls&&Ca(e,n,r)}var o=Kl(t);cs&&(o=o.concat(cs(t)));for(var i=as(e),s=as(t),c=0;c<o.length;++c){var u=o[c];if(!(u in Yl||r&&r[u]||s&&u in s||i&&u in i)){var d=Xl(t,u);try{Jl(e,u,d)}catch{}}}}return e}function vr(e){return typeof e=="function"}function vi(e){return typeof e=="object"&&"styledComponentId"in e}function pr(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function us(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function jr(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Uo(e,t,r){if(r===void 0&&(r=!1),!r&&!jr(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Uo(e[n],t[n]);else if(jr(t))for(var n in t)e[n]=Uo(e[n],t[n]);return e}function bi(e,t){Object.defineProperty(e,"toString",{value:t})}var eu=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
5
6
|
|
|
6
7
|
`,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
8
|
|
|
@@ -42,7 +43,7 @@ as for instance in your render method then you may be running into this limitati
|
|
|
42
43
|
|
|
43
44
|
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
44
45
|
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 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,Ar([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 c=this.indexOfGroup(t+1),u=(s=0,r.length);s<u;s++)this.tag.insertRule(c,r[s])&&(this.groupSizes[t]++,c++)},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 c=n[i].trim();if(c){var u=c.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(c)}}},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(c){var u=Array.from(c.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=Rr),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(),c=s.length,u="",d=function(y){var w=function(E){return Ln.get(E)}(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 O="".concat(gr,".g").concat(y,'[id="').concat(w,'"]'),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<c;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=Rr,i=o.options,s=i===void 0?Rr:i,c=o.plugins,u=c===void 0?Zn:c,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===Yn&&w.value.includes("&")&&(w.props[0]=w.props[0].replace(lu,r).replace(n,d))}),s.prefix&&h.push(Pl),h.push(Cl);var y=function(w,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=w.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(w,v){return v.name||Xt(15),ur(w,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,";"):kr(i)?n.push.apply(n,Ar(Ar(["".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||kr(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]:kr(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 c=n(i,".".concat(s),void 0,this.componentId);r.insertRules(this.componentId,s,c)}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=as(pr(y,t,r,n));u=ur(u,w+h),d+=w}}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,c=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,w=t.displayName&&t.componentId?"".concat(rs(t.displayName),"-").concat(t.componentId):t.componentId||d,v=n&&o.attrs?o.attrs.concat(c).filter(Boolean):c,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,w,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,J=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)||Rr,re=function(tt,qe,Ge){for(var ue,_e=ut(ut({},qe),{className:void 0,theme:Ge}),Ee=0;Ee<tt.length;Ee+=1){var ze=mr(ue=tt[Ee])?ue(_e):ue;for(var Pe in ze)_e[Pe]=Pe==="className"?fr(_e[Pe],ze[Pe]):Pe==="style"?ut(ut({},_e[Pe]),ze[Pe]):ze[Pe]}return qe.className&&(_e.className=fr(_e.className,qe.className)),_e}(be,P,ae),q=re.as||J,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,qe){var Ge=us(),ue=tt.generateAndInjectStyles(qe,Ge.styleSheet,Ge.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=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++)zo(M,be[ve],!0);return M}({},o.defaultProps,I):I}}),process.env.NODE_ENV!=="production"&&(Ml(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,`.
|
|
46
|
+
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function tu(){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 Zt(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(tu.apply(void 0,Cr([eu[e]],t,!1)).trim())}var ru=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 Zt(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 c=this.indexOfGroup(t+1),u=(s=0,r.length);s<u;s++)this.tag.insertRule(c,r[s])&&(this.groupSizes[t]++,c++)},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}(),nu=1<<30,jn=new Map,Ln=new Map,Pn=1,Tn=function(e){if(jn.has(e))return jn.get(e);for(;Ln.has(Pn);)Pn++;var t=Pn++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>nu))throw Zt(16,"".concat(t));return jn.set(e,t),Ln.set(t,e),t},ou=function(e,t){Pn=t+1,jn.set(e,t),Ln.set(t,e)},iu="style[".concat(yr,"][").concat(_a,'="').concat(Xn,'"]'),su=new RegExp("^".concat(yr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),au=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)},cu=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 c=n[i].trim();if(c){var u=c.match(su);if(u){var d=0|parseInt(u[1],10),h=u[2];d!==0&&(ou(h,d),au(e,h,u[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(c)}}},fs=function(e){for(var t=document.querySelectorAll(iu),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(yr)!==wa&&(cu(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function lu(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Oa=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(c){var u=Array.from(c.querySelectorAll("style[".concat(yr,"]")));return u[u.length-1]}(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(yr,wa),n.setAttribute(_a,Xn);var s=lu();return s&&n.setAttribute("nonce",s),r.insertBefore(n,i),n},uu=function(){function e(t){this.element=Oa(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 Zt(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}(),fu=function(){function e(t){this.element=Oa(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}(),du=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}(),ds=Mn,pu={isServer:!Mn,useCSSOMInjection:!Fl},Ra=function(){function e(t,r,n){t===void 0&&(t=kr),r===void 0&&(r={});var o=this;this.options=ut(ut({},pu),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Mn&&ds&&(ds=!1,fs(this)),bi(this,function(){return function(i){for(var s=i.getTag(),c=s.length,u="",d=function(m){var _=function(x){return Ln.get(x)}(m);if(_===void 0)return"continue";var v=i.names.get(_),T=s.getGroup(m);if(v===void 0||!v.size||T.length===0)return"continue";var C="".concat(yr,".g").concat(m,'[id="').concat(_,'"]'),O="";v!==void 0&&v.forEach(function(x){x.length>0&&(O+="".concat(x,","))}),u+="".concat(T).concat(C,'{content:"').concat(O,'"}').concat(yi)},h=0;h<c;h++)d(h);return u}(o)})}return e.registerId=function(t){return Tn(t)},e.prototype.rehydrate=function(){!this.server&&Mn&&fs(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 du(o):n?new uu(o):new fu(o)}(this.options),new ru(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}(),hu=/&/g,gu=/^\s*\/\/.*$/gm;function ka(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=ka(r.children,t)),r})}function mu(e){var t,r,n,o=kr,i=o.options,s=i===void 0?kr:i,c=o.plugins,u=c===void 0?Zn:c,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(hu,r).replace(n,d))}),s.prefix&&h.push(Dl),h.push(Il);var m=function(_,v,T,C){v===void 0&&(v=""),T===void 0&&(T=""),C===void 0&&(C="&"),t=C,r=v,n=new RegExp("\\".concat(r,"\\b"),"g");var O=_.replace(gu,""),x=jl(T||v?"".concat(T," ").concat(v," { ").concat(O," }"):O);s.namespace&&(x=ka(x,s.namespace));var A=[];return In(x,Ml(h.concat(Ll(function(R){return A.push(R)})))),A};return m.hash=u.length?u.reduce(function(_,v){return v.name||Zt(15),dr(_,v.name)},xa).toString():"",m}var yu=new Ra,qo=mu(),ja=w.createContext({shouldForwardProp:void 0,styleSheet:yu,stylis:qo});ja.Consumer;w.createContext(void 0);function ps(){return w.useContext(ja)}var hs=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 Zt(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=qo),this.name+t.hash},e}(),vu=function(e){return e>="A"&&e<="Z"};function gs(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;vu(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Pa=function(e){return e==null||e===!1||e===""},Ia=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!Pa(i)&&(Array.isArray(i)&&i.isCss||vr(i)?n.push("".concat(gs(o),":"),i,";"):jr(i)?n.push.apply(n,Cr(Cr(["".concat(o," {")],Ia(i),!1),["}"],!1)):n.push("".concat(gs(o),": ").concat((t=o,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in Nl||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function gr(e,t,r,n){if(Pa(e))return[];if(vi(e))return[".".concat(e.styledComponentId)];if(vr(e)){if(!vr(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 hs||jr(o)||o===null||console.error("".concat($a(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.")),gr(o,t,r,n)}var i;return e instanceof hs?r?(e.inject(r,n),[e.getName(n)]):[e]:jr(e)?Ia(e):Array.isArray(e)?Array.prototype.concat.apply(Zn,e.map(function(s){return gr(s,t,r,n)})):[e.toString()]}function bu(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(vr(r)&&!vi(r))return!1}return!0}var wu=Sa(Xn),_u=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&bu(t),this.componentId=r,this.baseHash=dr(wu,r),this.baseStyle=n,Ra.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=pr(o,this.staticRulesId);else{var i=us(gr(this.rules,t,r,n)),s=Wo(dr(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,s)){var c=n(i,".".concat(s),void 0,this.componentId);r.insertRules(this.componentId,s,c)}o=pr(o,s),this.staticRulesId=s}else{for(var u=dr(this.baseHash,n.hash),d="",h=0;h<this.rules.length;h++){var m=this.rules[h];if(typeof m=="string")d+=m,process.env.NODE_ENV!=="production"&&(u=dr(u,m));else if(m){var _=us(gr(m,t,r,n));u=dr(u,_+h),d+=_}}if(d){var v=Wo(u>>>0);r.hasNameForId(this.componentId,v)||r.insertRules(this.componentId,v,n(d,".".concat(v),void 0,this.componentId)),o=pr(o,v)}}return o},e}(),Dn=w.createContext(void 0);Dn.Consumer;function xu(e){var t=w.useContext(Dn),r=w.useMemo(function(){return function(n,o){if(!n)throw Zt(14);if(vr(n)){var i=n(o);if(process.env.NODE_ENV!=="production"&&(i===null||Array.isArray(i)||typeof i!="object"))throw Zt(7);return i}if(Array.isArray(n)||typeof n!="object")throw Zt(8);return o?ut(ut({},o),n):n}(e.theme,t)},[e.theme,t]);return e.children?w.createElement(Dn.Provider,{value:r},e.children):null}var Ro={},ms=new Set;function Su(e,t,r){var n=vi(e),o=e,i=!Oo(e),s=t.attrs,c=s===void 0?Zn:s,u=t.componentId,d=u===void 0?function(M,L){var N=typeof M!="string"?"sc":is(M);Ro[N]=(Ro[N]||0)+1;var P="".concat(N,"-").concat(ql(Xn+N+Ro[N]));return L?"".concat(L,"-").concat(P):P}(t.displayName,t.parentComponentId):u,h=t.displayName,m=h===void 0?function(M){return Oo(M)?"styled.".concat(M):"Styled(".concat($a(M),")")}(e):h,_=t.displayName&&t.componentId?"".concat(is(t.displayName),"-").concat(t.componentId):t.componentId||d,v=n&&o.attrs?o.attrs.concat(c).filter(Boolean):c,T=t.shouldForwardProp;if(n&&o.shouldForwardProp){var C=o.shouldForwardProp;if(t.shouldForwardProp){var O=t.shouldForwardProp;T=function(M,L){return C(M,L)&&O(M,L)}}else T=C}var x=new _u(r,_,n?o.componentStyle:void 0);function A(M,L){return function(N,P,ve){var be=N.attrs,pe=N.componentStyle,Fe=N.defaultProps,Le=N.foldedComponentIds,we=N.styledComponentId,J=N.target,Ee=w.useContext(Dn),se=ps(),ae=N.shouldForwardProp||se.shouldForwardProp;process.env.NODE_ENV!=="production"&&w.useDebugValue(we);var ce=Bl(P,Ee,Fe)||kr,re=function(tt,qe,Ge){for(var fe,_e=ut(ut({},qe),{className:void 0,theme:Ge}),Te=0;Te<tt.length;Te+=1){var ze=vr(fe=tt[Te])?fe(_e):fe;for(var Pe in ze)_e[Pe]=Pe==="className"?pr(_e[Pe],ze[Pe]):Pe==="style"?ut(ut({},_e[Pe]),ze[Pe]):ze[Pe]}return qe.className&&(_e.className=pr(_e.className,qe.className)),_e}(be,P,ce),G=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,G)||(le[ge]=re[ge],ae||process.env.NODE_ENV!=="development"||bl(ge)||ms.has(ge)||!zo.has(G)||(ms.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 H=function(tt,qe){var Ge=ps(),fe=tt.generateAndInjectStyles(qe,Ge.styleSheet,Ge.stylis);return process.env.NODE_ENV!=="production"&&w.useDebugValue(fe),fe}(pe,re);process.env.NODE_ENV!=="production"&&N.warnTooManyClasses&&N.warnTooManyClasses(H);var st=pr(Le,we);return H&&(st+=" "+H),re.className&&(st+=" "+re.className),le[Oo(G)&&!zo.has(G)?"class":"className"]=st,le.ref=ve,w.createElement(G,le)}(R,M,L)}A.displayName=m;var R=w.forwardRef(A);return R.attrs=v,R.componentStyle=x,R.displayName=m,R.shouldForwardProp=T,R.foldedComponentIds=n?pr(o.foldedComponentIds,o.styledComponentId):"",R.styledComponentId=_,R.target=n?o.target:e,Object.defineProperty(R,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(M){this._foldedDefaultProps=n?function(L){for(var N=[],P=1;P<arguments.length;P++)N[P-1]=arguments[P];for(var ve=0,be=N;ve<be.length;ve++)Uo(L,be[ve],!0);return L}({},o.defaultProps,M):M}}),process.env.NODE_ENV!=="production"&&(Vl(m,_),R.warnTooManyClasses=function(M,L){var N={},P=!1;return function(ve){if(!P&&(N[ve]=!0,Object.keys(N).length>=200)){var be=L?' with the id of "'.concat(L,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(M).concat(be,`.
|
|
46
47
|
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
47
48
|
Example:
|
|
48
49
|
const Component = styled.div.attrs(props => ({
|
|
@@ -51,11 +52,11 @@ Example:
|
|
|
51
52
|
},
|
|
52
53
|
}))\`width: 100%;\`
|
|
53
54
|
|
|
54
|
-
<Component />`),P=!0,
|
|
55
|
+
<Component />`),P=!0,N={}}}}(m,_)),bi(R,function(){return".".concat(R.styledComponentId)}),i&&Ca(R,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),R}function ys(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 vs=function(e){return Object.assign(e,{isCss:!0})};function $u(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(vr(e)||jr(e))return vs(gr(ys(Zn,Cr([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?gr(n):vs(gr(ys(n,t)))}function Go(e,t,r){if(r===void 0&&(r=kr),!t)throw Zt(1,t);var n=function(o){for(var i=[],s=1;s<arguments.length;s++)i[s-1]=arguments[s];return e(t,r,$u.apply(void 0,Cr([o],i,!1)))};return n.attrs=function(o){return Go(e,t,ut(ut({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return Go(e,t,ut(ut({},r),o))},n}var Ma=function(e){return Go(Su,e)},$e=Ma;zo.forEach(function(e){$e[e]=Ma(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
56
|
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(
|
|
57
|
+
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var An="__sc-".concat(yr,"__");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
58
|
|
|
58
|
-
See https://s-c.sh/2BAXzed for more info.`),window[An]+=1);var
|
|
59
|
+
See https://s-c.sh/2BAXzed for more info.`),window[An]+=1);var Ho={exports:{}},Ur={};/**
|
|
59
60
|
* @license React
|
|
60
61
|
* react-jsx-runtime.production.min.js
|
|
61
62
|
*
|
|
@@ -63,7 +64,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[An]+=1);var qo={exports:{}},W
|
|
|
63
64
|
*
|
|
64
65
|
* This source code is licensed under the MIT license found in the
|
|
65
66
|
* LICENSE file in the root directory of this source tree.
|
|
66
|
-
*/var
|
|
67
|
+
*/var bs;function Eu(){if(bs)return Ur;bs=1;var e=w,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(c,u,d){var h,m={},_=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)&&(m[h]=u[h]);if(c&&c.defaultProps)for(h in u=c.defaultProps,u)m[h]===void 0&&(m[h]=u[h]);return{$$typeof:t,type:c,key:_,ref:v,props:m,_owner:o.current}}return Ur.Fragment=r,Ur.jsx=s,Ur.jsxs=s,Ur}var qr={};/**
|
|
67
68
|
* @license React
|
|
68
69
|
* react-jsx-runtime.development.js
|
|
69
70
|
*
|
|
@@ -71,22 +72,22 @@ See https://s-c.sh/2BAXzed for more info.`),window[An]+=1);var qo={exports:{}},W
|
|
|
71
72
|
*
|
|
72
73
|
* This source code is licensed under the MIT license found in the
|
|
73
74
|
* LICENSE file in the root directory of this source tree.
|
|
74
|
-
*/var
|
|
75
|
-
`+Ge+f}}var _e=!1,
|
|
76
|
-
`),
|
|
77
|
-
`),
|
|
78
|
-
`+Q[
|
|
75
|
+
*/var ws;function Tu(){return ws||(ws=1,process.env.NODE_ENV!=="production"&&function(){var e=w,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"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),T=Symbol.iterator,C="@@iterator";function O(f){if(f===null||typeof f!="object")return null;var b=T&&f[T]||f[C];return typeof b=="function"?b:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function A(f){{for(var b=arguments.length,E=new Array(b>1?b-1:0),V=1;V<b;V++)E[V-1]=arguments[V];R("error",f,E)}}function R(f,b,E){{var V=x.ReactDebugCurrentFrame,ie=V.getStackAddendum();ie!==""&&(b+="%s",E=E.concat([ie]));var te=E.map(function(K){return String(K)});te.unshift("Warning: "+b),Function.prototype.apply.call(console[f],console,te)}}var M=!1,L=!1,N=!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||M||L||N||typeof f=="object"&&f!==null&&(f.$$typeof===_||f.$$typeof===m||f.$$typeof===s||f.$$typeof===c||f.$$typeof===u||f.$$typeof===be||f.getModuleId!==void 0))}function Fe(f,b,E){var V=f.displayName;if(V)return V;var ie=b.displayName||b.name||"";return ie!==""?E+"("+ie+")":E}function Le(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 c:var b=f;return Le(b)+".Consumer";case s:var E=f;return Le(E._context)+".Provider";case u:return Fe(f,f.render,"ForwardRef");case m:var V=f.displayName||null;return V!==null?V:we(f.type)||"Memo";case _:{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,G,le,ge;function H(){}H.__reactDisabledLog=!0;function st(){{if(Ee===0){se=console.log,ae=console.info,ce=console.warn,re=console.error,G=console.group,le=console.groupCollapsed,ge=console.groupEnd;var f={configurable:!0,enumerable:!0,value:H,writable:!0};Object.defineProperties(console,{info:f,log:f,warn:f,error:f,group:f,groupCollapsed:f,groupEnd:f})}Ee++}}function tt(){{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:G}),groupCollapsed:J({},f,{value:le}),groupEnd:J({},f,{value:ge})})}Ee<0&&A("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var qe=x.ReactCurrentDispatcher,Ge;function fe(f,b,E){{if(Ge===void 0)try{throw Error()}catch(ie){var V=ie.stack.trim().match(/\n( *(at )?)/);Ge=V&&V[1]||""}return`
|
|
76
|
+
`+Ge+f}}var _e=!1,Te;{var ze=typeof WeakMap=="function"?WeakMap:Map;Te=new ze}function Pe(f,b){if(!f||_e)return"";{var E=Te.get(f);if(E!==void 0)return E}var V;_e=!0;var ie=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var te;te=qe.current,qe.current=null,st();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(ot){V=ot}Reflect.construct(f,[],K)}else{try{K.call()}catch(ot){V=ot}f.call(K.prototype)}}else{try{throw Error()}catch(ot){V=ot}f()}}catch(ot){if(ot&&V&&typeof ot.stack=="string"){for(var Q=ot.stack.split(`
|
|
77
|
+
`),Ne=V.stack.split(`
|
|
78
|
+
`),z=Q.length-1,ue=Ne.length-1;z>=1&&ue>=0&&Q[z]!==Ne[ue];)ue--;for(;z>=1&&ue>=0;z--,ue--)if(Q[z]!==Ne[ue]){if(z!==1||ue!==1)do if(z--,ue--,ue<0||Q[z]!==Ne[ue]){var Re=`
|
|
79
|
+
`+Q[z].replace(" at new "," at ");return f.displayName&&Re.includes("<anonymous>")&&(Re=Re.replace("<anonymous>",f.displayName)),typeof f=="function"&&Te.set(f,Re),Re}while(z>=1&&ue>=0);break}}}finally{_e=!1,qe.current=te,tt(),Error.prepareStackTrace=ie}var Ze=f?f.displayName||f.name:"",Qt=Ze?fe(Ze):"";return typeof f=="function"&&Te.set(f,Qt),Qt}function ft(f,b,E){return Pe(f,!1)}function kt(f){var b=f.prototype;return!!(b&&b.isReactComponent)}function Ae(f,b,E){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 ft(f.render);case m:return Ae(f.type,b,E);case _:{var V=f,ie=V._payload,te=V._init;try{return Ae(te(ie),b,E)}catch{}}}return""}var dt=Object.prototype.hasOwnProperty,Je={},pt=x.ReactDebugCurrentFrame;function de(f){if(f){var b=f._owner,E=Ae(f.type,f._source,b?b.type:null);pt.setExtraStackFrame(E)}else pt.setExtraStackFrame(null)}function ht(f,b,E,V,ie){{var te=Function.call.bind(dt);for(var K in f)if(te(f,K)){var Q=void 0;try{if(typeof f[K]!="function"){var Ne=Error((V||"React class")+": "+E+" 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 Ne.name="Invariant Violation",Ne}Q=f[K](b,K,V,E,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(z){Q=z}Q&&!(Q instanceof Error)&&(de(ie),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).",V||"React class",E,K,typeof Q),de(null)),Q instanceof Error&&!(Q.message in Je)&&(Je[Q.message]=!0,de(ie),A("Failed %s type: %s",E,Q.message),de(null))}}}var gt=Array.isArray;function mt(f){return gt(f)}function Ct(f){{var b=typeof Symbol=="function"&&Symbol.toStringTag,E=b&&f[Symbol.toStringTag]||f.constructor.name||"Object";return E}}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.",Ct(f)),at(f)}var Ke=x.ReactCurrentOwner,xt={key:!0,ref:!0,__self:!0,__source:!0},St,jt,He;He={};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 E=we(Ke.current.type);He[E]||(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),He[E]=!0)}}function Nt(f,b){{var E=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))};E.isReactWarning=!0,Object.defineProperty(f,"key",{get:E,configurable:!0})}}function Ft(f,b){{var E=function(){jt||(jt=!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))};E.isReactWarning=!0,Object.defineProperty(f,"ref",{get:E,configurable:!0})}}var vt=function(f,b,E,V,ie,te,K){var Q={$$typeof:t,type:f,key:b,ref:E,props:K,_owner:te};return Q._store={},Object.defineProperty(Q._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Q,"_self",{configurable:!1,enumerable:!1,writable:!1,value:V}),Object.defineProperty(Q,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ie}),Object.freeze&&(Object.freeze(Q.props),Object.freeze(Q)),Q};function bt(f,b,E,V,ie){{var te,K={},Q=null,Ne=null;E!==void 0&&(yt(E),Q=""+E),nt(b)&&(yt(b.key),Q=""+b.key),Pt(b)&&(Ne=b.ref,xe(b,ie));for(te in b)dt.call(b,te)&&!xt.hasOwnProperty(te)&&(K[te]=b[te]);if(f&&f.defaultProps){var z=f.defaultProps;for(te in z)K[te]===void 0&&(K[te]=z[te])}if(Q||Ne){var ue=typeof f=="function"?f.displayName||f.name||"Unknown":f;Q&&Nt(K,ue),Ne&&Ft(K,ue)}return vt(f,Q,Ne,ie,V,Ke.current,K)}}var Ye=x.ReactCurrentOwner,ct=x.ReactDebugCurrentFrame;function We(f){if(f){var b=f._owner,E=Ae(f.type,f._source,b?b.type:null);ct.setExtraStackFrame(E)}else ct.setExtraStackFrame(null)}var Qe;Qe=!1;function $t(f){return typeof f=="object"&&f!==null&&f.$$typeof===t}function Se(){{if(Ye.current){var f=we(Ye.current.type);if(f)return`
|
|
79
80
|
|
|
80
|
-
Check the render method of \``+f+"`."}return""}}function Xe(f){return""}var
|
|
81
|
+
Check the render method of \``+f+"`."}return""}}function Xe(f){return""}var F={};function Z(f){{var b=Se();if(!b){var E=typeof f=="string"?f:f.displayName||f.name;E&&(b=`
|
|
81
82
|
|
|
82
|
-
Check the top-level render call using
|
|
83
|
+
Check the top-level render call using <`+E+">.")}return b}}function Ie(f,b){{if(!f._store||f._store.validated||f.key!=null)return;f._store.validated=!0;var E=Z(b);if(F[E])return;F[E]=!0;var V="";f&&f._owner&&f._owner!==Ye.current&&(V=" It was passed a child from "+we(f._owner.type)+"."),We(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.',E,V),We(null)}}function wt(f,b){{if(typeof f!="object")return;if(mt(f))for(var E=0;E<f.length;E++){var V=f[E];$t(V)&&Ie(V,b)}else if($t(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;)$t(K.value)&&Ie(K.value,b)}}}function k(f){{var b=f.type;if(b==null||typeof b=="string")return;var E;if(typeof b=="function")E=b.propTypes;else if(typeof b=="object"&&(b.$$typeof===u||b.$$typeof===m))E=b.propTypes;else return;if(E){var V=we(b);ht(E,f.props,"prop",V,f)}else if(b.PropTypes!==void 0&&!Qe){Qe=!0;var ie=we(b);A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ie||"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 B(f){{for(var b=Object.keys(f.props),E=0;E<b.length;E++){var V=b[E];if(V!=="children"&&V!=="key"){We(f),A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",V),We(null);break}}f.ref!==null&&(We(f),A("Invalid attribute `ref` supplied to `React.Fragment`."),We(null))}}function W(f,b,E,V,ie,te){{var K=pe(f);if(!K){var Q="";(f===void 0||typeof f=="object"&&f!==null&&Object.keys(f).length===0)&&(Q+=" 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=Xe();Ne?Q+=Ne:Q+=Se();var z;f===null?z="null":mt(f)?z="array":f!==void 0&&f.$$typeof===t?(z="<"+(we(f.type)||"Unknown")+" />",Q=" Did you accidentally export a JSX literal instead of a component?"):z=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",z,Q)}var ue=bt(f,b,E,ie,te);if(ue==null)return ue;if(K){var Re=b.children;if(Re!==void 0)if(V)if(mt(Re)){for(var Ze=0;Ze<Re.length;Ze++)wt(Re[Ze],f);Object.freeze&&Object.freeze(Re)}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(Re,f)}return f===n?B(ue):k(ue),ue}}function Ce(f,b,E){return W(f,b,E,!0)}function De(f,b,E){return W(f,b,E,!1)}var lt=De,Oe=Ce;qr.Fragment=n,qr.jsx=lt,qr.jsxs=Oe}()),qr}process.env.NODE_ENV==="production"?Ho.exports=Eu():Ho.exports=Tu();var j=Ho.exports;const Au={25:"#fcfcfd",50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#2f394b",800:"#212a36",900:"#161b25"},Cu={25:"#fef2f3",50:"#fddfe2",100:"#fbbac0",200:"#f9959e",300:"#f65e6a",400:"#f32637",500:"#bf0b1a",600:"#ac0a17",700:"#9a0915",800:"#870812",900:"#750710"},Ou={25:"",50:"",100:"#ffe6ff",200:"",300:"#b8075d",400:"",500:"#7f0540",600:"",700:"#59042d",800:"",900:"#460323"},Ru={25:"",50:"#fef3f2",100:"",200:"#fecdca",300:"",400:"",500:"#f04438",600:"",700:"#b42318",800:"",900:""},ku={25:"",50:"#fffaeb",100:"",200:"#fef0c7",300:"",400:"#ffd562",500:"#fdb022",600:"#dc6803",700:"#b54708",800:"",900:""},ju={25:"",50:"#f6fef9",100:"",200:"#a6f4c5",300:"",400:"",500:"#12b76a",600:"",700:"#027a48",800:"",900:""},Pu={25:"",50:"#eff8ff",100:"",200:"#b2ddff",300:"",400:"",500:"#2e90fa",600:"",700:"#175cd3",800:"",900:""},Iu={"01":"linear-gradient(45deg, #f32637 0%, #b8075d 100%)","02":"linear-gradient(45deg, #fcfcfd 0%, #667085 100%)"},Mu={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"}},Lu={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)"},Du={mobile:"480px",tablet:"960px",sm:"1024px",md:"1440px",lg:"1920px"},Nu={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"},Fu=["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","sidebar","skull","sliders","star-christmas","telescope","trash","unlock","user-group","user-hoodie","xmark"],Vu=[["fal","arrow-down"],["fal","arrow-left"],["fal","arrow-right"],["fal","arrow-up"],["fal","plus"],["fal","minus"],["fas","check"],["fas","circle-question"]],oe={typography:Mu,shadows:Lu,breakpoints:Du,spacing:Nu,palette:{primary:Cu,complementary:Ou,error:Ru,info:Pu,warning:ku,success:ju,black:"#0c111d",white:"#ffffff",gray:Au,gradients:Iu}},Bu=({children:e})=>j.jsx(xu,{theme:oe,children:e}),q=(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,c,u]=e.padding;return`padding: ${oe.spacing[i]} ${oe.spacing[s]} ${oe.spacing[c]} ${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,c,u]=e.margin;return`margin: ${oe.spacing[i]} ${oe.spacing[s]} ${oe.spacing[c]} ${oe.spacing[u]};`}return`margin: ${oe.spacing[t]} ${oe.spacing[r]} ${oe.spacing[n]} ${oe.spacing[o]};`},tn=e=>{const t=q("position",e.position),r=q("top",e.top),n=q("right",e.right),o=q("bottom",e.bottom),i=q("left",e.left),s=q("z-index",e.zIndex);return`
|
|
83
84
|
${t}
|
|
84
85
|
${r}
|
|
85
86
|
${n}
|
|
86
87
|
${o}
|
|
87
88
|
${i}
|
|
88
89
|
${s}
|
|
89
|
-
`},rn=e=>{const t=
|
|
90
|
+
`},rn=e=>{const t=q("border",e.border),r=q("border-top",e.borderTop),n=q("border-right",e.borderRight),o=q("border-bottom",e.borderBottom),i=q("border-left",e.borderLeft),s=q("border-color",e.borderColor),c=q("border-radius",e.borderRadius);return`
|
|
90
91
|
${t}
|
|
91
92
|
${r}
|
|
92
93
|
${n}
|
|
@@ -94,10 +95,10 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
94
95
|
${i}
|
|
95
96
|
${s}
|
|
96
97
|
${c}
|
|
97
|
-
`},
|
|
98
|
-
${
|
|
99
|
-
${
|
|
100
|
-
`:"",r=
|
|
98
|
+
`},zu=e=>e.includes("x")?"overflow-x: auto;":"",Wu=e=>e.includes("y")?"overflow-y: auto;":"",nn=e=>{const t=e.scroll?`
|
|
99
|
+
${zu(e.scroll)}
|
|
100
|
+
${Wu(e.scroll)}
|
|
101
|
+
`:"",r=q("visibility",e.visibility),n=q("display",e.display),o=q("height",e.height),i=q("width",e.width),s=q("max-height",e.maxHeight),c=q("max-width",e.maxWidth),u=q("min-height",e.minHeight),d=q("min-width",e.minWidth),h=q("box-shadow",e.shadow?oe.shadows[e.shadow]:void 0),m=q("gap",e.gap===void 0?void 0:oe.spacing[e.gap]),_=q("background-color",e.bgColor),v=q("background",e.bgGradient),T=q("flex-direction",e.flexDirection),C=q("flex-grow",e.flexGrow),O=q("justify-content",e.justify),x=q("justify-self",e.justifySelf),A=q("align-items",e.alignItems),R=q("align-self",e.alignSelf),M=q("flex-wrap",e.wrap);return`
|
|
101
102
|
${t}
|
|
102
103
|
${r}
|
|
103
104
|
${n}
|
|
@@ -108,17 +109,17 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
108
109
|
${u}
|
|
109
110
|
${d}
|
|
110
111
|
${h}
|
|
111
|
-
${
|
|
112
|
+
${_}
|
|
112
113
|
${v}
|
|
113
|
-
${
|
|
114
|
+
${m}
|
|
114
115
|
${T}
|
|
116
|
+
${C}
|
|
115
117
|
${O}
|
|
116
|
-
${
|
|
117
|
-
${E}
|
|
118
|
+
${x}
|
|
118
119
|
${A}
|
|
119
|
-
${
|
|
120
|
-
${
|
|
121
|
-
`},on=e=>{const t=
|
|
120
|
+
${R}
|
|
121
|
+
${M}
|
|
122
|
+
`},on=e=>{const t=q("color",e.color),r=q("font-family",e.fontFamily),n=q("font-size",e.fontSize),o=q("font-weight",e.fontWeight),i=q("line-spacing",e.letterSpacing),s=q("line-height",e.lineSpacing),c=q("text-align",e.textAlign),u=q("text-decoration",e.textDecoration),d=q("text-overflow",e.textOverflow),h=q("white-space",e.whiteSpace),m=q("word-break",e.wordBreak),_=q("word-wrap",e.wordWrap);return`
|
|
122
123
|
${t}
|
|
123
124
|
${r}
|
|
124
125
|
${n}
|
|
@@ -129,9 +130,9 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
129
130
|
${u}
|
|
130
131
|
${d}
|
|
131
132
|
${h}
|
|
132
|
-
${
|
|
133
|
-
${
|
|
134
|
-
`},sn=e=>{const t=
|
|
133
|
+
${m}
|
|
134
|
+
${_}
|
|
135
|
+
`},sn=e=>{const t=q("cursor",e.cursor),r=q("border-color",e.borderColorHover),n=q("background-color",e.bgColorHover),o=q("box-shadow",e.shadowHover===void 0?void 0:oe.shadows[e.shadowHover]),i=q("transition",e.transition);return`
|
|
135
136
|
${t}
|
|
136
137
|
|
|
137
138
|
&:hover {
|
|
@@ -140,7 +141,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
140
141
|
${n}
|
|
141
142
|
${o}
|
|
142
143
|
}
|
|
143
|
-
`},an=()=>({shouldForwardProp:e=>!
|
|
144
|
+
`},an=()=>({shouldForwardProp:e=>!fa.includes(e)}),eo=$e.div.withConfig(an())`
|
|
144
145
|
${Zr}
|
|
145
146
|
${en}
|
|
146
147
|
${tn}
|
|
@@ -148,7 +149,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
148
149
|
${on}
|
|
149
150
|
${rn}
|
|
150
151
|
${sn}
|
|
151
|
-
`,
|
|
152
|
+
`,La=$e.button.withConfig(an())`
|
|
152
153
|
${Zr}
|
|
153
154
|
${en}
|
|
154
155
|
${tn}
|
|
@@ -156,7 +157,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
156
157
|
${on}
|
|
157
158
|
${rn}
|
|
158
159
|
${sn}
|
|
159
|
-
`,
|
|
160
|
+
`,wi=$e.p.withConfig(an())`
|
|
160
161
|
${Zr}
|
|
161
162
|
${en}
|
|
162
163
|
${tn}
|
|
@@ -164,7 +165,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
164
165
|
${on}
|
|
165
166
|
${rn}
|
|
166
167
|
${sn}
|
|
167
|
-
`,
|
|
168
|
+
`,Da=$e.span.withConfig(an())`
|
|
168
169
|
${Zr}
|
|
169
170
|
${en}
|
|
170
171
|
${tn}
|
|
@@ -172,11 +173,11 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
172
173
|
${on}
|
|
173
174
|
${rn}
|
|
174
175
|
${sn}
|
|
175
|
-
`,
|
|
176
|
+
`,Uu=(e,t,r,n)=>n==="platform"?t||e===r-1?"1px solid":void 0:e===r-1?"1px solid":void 0,qu=(e,t)=>t==="progress"&&e?void 0:"1px solid",Gu=(e,t)=>t==="simple"?e?"minus":"plus":e?"chevron-up":"chevron-down",Na=e=>e?"block":"none",Hu=(e,t,r)=>{r(e===t?n=>!n:!0)},Yu=e=>e==="platform"?[.75,.75,.75,.75]:[1.5,2,1.5,2],Qu=e=>{if(e==="platform")return[.75,.75,.75,.75]},Ju=e=>e==="platform"?oe.palette.gray[100]:oe.palette.gray[50],Ku=e=>e==="platform"?oe.palette.gray[200]:oe.palette.gray[300],Xu=e=>e==="platform"?oe.palette.gray[400]:oe.palette.gray[800],Zu=e=>e==="end"?"row":"row-reverse",Fa=e=>e==="platform"?"sm":"md",ef=e=>e*1e3/100,tf=$e(eo)`
|
|
176
177
|
${({$center:e=!1})=>`
|
|
177
178
|
${e?"margin: auto;":""}
|
|
178
179
|
`}
|
|
179
|
-
`,
|
|
180
|
+
`,Gt=w.forwardRef(function({as:t="div",center:r,children:n,id:o,onHover:i,onLeave:s,...c},u){return j.jsx(tf,{$center:r,as:t,id:o,onMouseLeave:s,onMouseOver:i,ref:u,...c,children:n})}),rf=$e(wi)`
|
|
180
181
|
${({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:c,$sizeMd:u,$sizeSm:d,$wordBreak:h="normal"})=>`
|
|
181
182
|
color: ${t};
|
|
182
183
|
display: ${r};
|
|
@@ -199,7 +200,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
199
200
|
font-size: ${e.typography.heading[d??c]};
|
|
200
201
|
}
|
|
201
202
|
`}
|
|
202
|
-
`,
|
|
203
|
+
`,nf=$e(wi)`
|
|
203
204
|
${({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:c,$sizeMd:u,$sizeSm:d,$wordBreak:h="normal"})=>`
|
|
204
205
|
color: ${t};
|
|
205
206
|
display: ${r};
|
|
@@ -222,7 +223,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
222
223
|
font-size: ${e.typography.text[d??c]};
|
|
223
224
|
}
|
|
224
225
|
`}
|
|
225
|
-
`,
|
|
226
|
+
`,Va=w.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:c,size:u,sizeMd:d,sizeSm:h,wordBreak:m,..._},v){return j.jsx(rf,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:s,$lineSpacing:c,$size:u,$sizeMd:d,$sizeSm:h,$wordBreak:m,ref:v,..._,children:t})}),Ot=w.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:c,size:u,sizeMd:d,sizeSm:h,wordBreak:m,..._},v){return j.jsx(nf,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:s,$lineSpacing:c,$size:u,$sizeMd:d,$sizeSm:h,$wordBreak:m,ref:v,..._,children:t})}),_s=({isSelectedAndOpen:e,item:t,variant:r,render:n})=>n?j.jsxs(Gt,{display:Na(e),padding:Qu(r),children:[t.description?j.jsx(Ot,{mb:t.extraElement?.5:void 0,mt:r==="platform"?void 0:.5,size:Fa(r),sizeSm:"sm",children:t.description}):void 0,t.extraElement?j.jsx(Gt,{children:t.extraElement}):void 0]}):null,of=$e(eo)`
|
|
226
227
|
animation: ${({$animationTime:e})=>`progress-bar ${e}s ease-in-out`};
|
|
227
228
|
animation-fill-mode: both;
|
|
228
229
|
|
|
@@ -235,11 +236,11 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
235
236
|
width: 100%;
|
|
236
237
|
}
|
|
237
238
|
}
|
|
238
|
-
`,
|
|
239
|
-
${({$clickable:e,$color:t="inherit",$disabled:r=!1,$hoverColor:n,$rotation:o,$size:i})
|
|
239
|
+
`,sf={xl:"96px",lg:"64px",md:"32px",sm:"24px",xs:"16px",xxs:"12px"},af=$e(Da)`
|
|
240
|
+
${({$clickable:e,$color:t="inherit",$disabled:r=!1,$hoverColor:n,$rotation:o,$size:i})=>{const s=n?"":"brightness(50%)",c=n??"";return`
|
|
240
241
|
color: ${t};
|
|
241
|
-
cursor: ${e?"
|
|
242
|
-
font-size: ${
|
|
242
|
+
cursor: ${e?"pointer":"inherit"};
|
|
243
|
+
font-size: ${sf[i]};
|
|
243
244
|
line-height: 0;
|
|
244
245
|
vertical-align: middle;
|
|
245
246
|
pointer-events: inherit;
|
|
@@ -254,20 +255,19 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
254
255
|
fill: url(#gradient-01);
|
|
255
256
|
}
|
|
256
257
|
|
|
257
|
-
${
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
`
|
|
263
|
-
`;Be.div`
|
|
258
|
+
${e?`&:hover {
|
|
259
|
+
filter: ${s};
|
|
260
|
+
color: ${c};
|
|
261
|
+
}`:""}
|
|
262
|
+
`}}
|
|
263
|
+
`;$e.div`
|
|
264
264
|
cursor: pointer;
|
|
265
265
|
transition: all 0.2s ease-in-out;
|
|
266
266
|
|
|
267
267
|
&:hover:not([disabled]) {
|
|
268
268
|
transform: scale(1.2);
|
|
269
269
|
}
|
|
270
|
-
`;const
|
|
270
|
+
`;const er=w.forwardRef(function({clickable:t,disabled:r,hoverColor:n,icon:o,iconClass:i="",iconColor:s,iconMask:c,iconSize:u,iconTransform:d,iconType:h="fa-solid",onClick:m,rotation:_,...v},T){return j.jsx(af,{$clickable:t,$color:s,$disabled:r,$hoverColor:n,$rotation:_,$size:u,"data-testid":`${o}-icon`,onClick:m,ref:T,...v,children:j.jsx("i",{className:`${h} fa-${o} ${i}`,...c!==void 0?{"data-fa-mask":c}:{},...d!==void 0?{"data-fa-transform":d}:{}})},`${h}-${o}`)}),cf=w.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]=w.useState(!!u),[m,_]=w.useState(u?0:-1),[v,T]=w.useState(0),C=w.useCallback(O=>()=>{_(O),Hu(O,m,h),u&&T(0)},[m,u]);return w.useEffect(()=>{if(u&&d){const O=()=>{_(x=>x===n.length-1?0:x+1)};v===100&&(T(0),O())}},[v,n,d,u]),w.useEffect(()=>{if(u&&d){const O=setInterval(()=>{T(x=>x===100?0:x+1)},ef(r));return()=>{clearInterval(O)}}},[v,r,d,u]),j.jsx(Gt,{ref:s,children:n.map((O,x)=>{const A=x===m&&d;return j.jsxs(Gt,{bgColor:o??oe.palette.white,children:[u?j.jsx(Gt,{bgColor:oe.palette.gray[200],display:Na(A),height:"4px",children:j.jsx(of,{$animationTime:r,bgGradient:oe.palette.gradients["01"],height:"100%",width:`${v}%`})}):void 0,j.jsxs(Gt,{bgColorHover:Ju(i),borderBottom:Uu(x,A,n.length,i),borderColor:Ku(i),borderTop:qu(A,i),cursor:"pointer",onClick:C(x),padding:Yu(i),children:[j.jsxs(Gt,{display:"flex",flexDirection:Zu(t),gap:.75,justify:"space-between",children:[j.jsx(Ot,{color:oe.palette.gray[800],fontWeight:"bold",size:Fa(i),sizeSm:"sm",children:O.title}),j.jsx(er,{icon:Gu(A,i),iconColor:Xu(i),iconSize:"xs",iconType:"fa-light"})]}),j.jsx(_s,{isSelectedAndOpen:A,item:O,render:i!=="platform",variant:i})]}),j.jsx(_s,{isSelectedAndOpen:A,item:O,render:i==="platform",variant:i})]},O.title)})})}),{getVariant:lf}=ua(e=>({ghost:`
|
|
271
271
|
background: ${e.palette.white};
|
|
272
272
|
border: none;
|
|
273
273
|
color: ${e.palette.gray[800]};
|
|
@@ -283,21 +283,15 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
283
283
|
|
|
284
284
|
&:hover:not([disabled]) {
|
|
285
285
|
background-color: ${e.palette.gray[100]};
|
|
286
|
+
color: ${e.palette.gray[800]};
|
|
286
287
|
}
|
|
287
288
|
`,ghostWeb:`
|
|
289
|
+
--btn-padding-x: ${e.spacing[.5]};
|
|
290
|
+
--btn-padding-y: ${e.spacing[.5]};
|
|
288
291
|
background: transparent;
|
|
289
292
|
border: none;
|
|
290
293
|
color: ${e.palette.gray[800]};
|
|
291
294
|
|
|
292
|
-
&.desktop {
|
|
293
|
-
--btn-padding-x: ${e.spacing[.5]};
|
|
294
|
-
--btn-padding-y: ${e.spacing[.5]};
|
|
295
|
-
}
|
|
296
|
-
&.mobile {
|
|
297
|
-
--btn-padding-x: ${e.spacing[.75]};
|
|
298
|
-
--btn-padding-y: ${e.spacing[.75]};
|
|
299
|
-
}
|
|
300
|
-
|
|
301
295
|
&:disabled {
|
|
302
296
|
background: transparent;
|
|
303
297
|
color: ${e.palette.gray[300]};
|
|
@@ -306,6 +300,12 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
306
300
|
|
|
307
301
|
&:hover:not([disabled]) {
|
|
308
302
|
background-color: ${e.palette.gray[100]};
|
|
303
|
+
color: ${e.palette.gray[800]};
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
307
|
+
--btn-padding-x: ${e.spacing[.75]};
|
|
308
|
+
--btn-padding-y: ${e.spacing[.75]};
|
|
309
309
|
}
|
|
310
310
|
`,link:`
|
|
311
311
|
&.dark {
|
|
@@ -336,6 +336,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
336
336
|
|
|
337
337
|
&:hover:not([disabled]) {
|
|
338
338
|
background-color: ${e.palette.primary[700]};
|
|
339
|
+
color: ${e.palette.white};
|
|
339
340
|
}
|
|
340
341
|
`,primaryWeb:`
|
|
341
342
|
background:
|
|
@@ -348,6 +349,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
348
349
|
&:hover {
|
|
349
350
|
--color-1: ${e.palette.primary[700]};
|
|
350
351
|
--color-2: ${e.palette.primary[700]};
|
|
352
|
+
color: ${e.palette.white};
|
|
351
353
|
}
|
|
352
354
|
`,secondary:`
|
|
353
355
|
background: ${e.palette.gray[800]};
|
|
@@ -363,6 +365,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
363
365
|
|
|
364
366
|
&:hover:not([disabled]) {
|
|
365
367
|
background-color: ${e.palette.gray[600]};
|
|
368
|
+
color: ${e.palette.white};
|
|
366
369
|
}
|
|
367
370
|
`,secondaryWeb:`
|
|
368
371
|
&.dark {
|
|
@@ -377,8 +380,23 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
377
380
|
}
|
|
378
381
|
&.light {
|
|
379
382
|
color: ${e.palette.primary[500]};
|
|
380
|
-
background: ${e.palette.white};
|
|
381
383
|
|
|
384
|
+
&::before {
|
|
385
|
+
background: linear-gradient(var(--border-angle), var(--color-1), var(--color-2)) border-box;
|
|
386
|
+
border-radius: ${e.spacing[.5]};
|
|
387
|
+
content: "";
|
|
388
|
+
position: absolute;
|
|
389
|
+
inset: 0;
|
|
390
|
+
border: 2px solid transparent;
|
|
391
|
+
mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
|
|
392
|
+
mask-composite: exclude;
|
|
393
|
+
animation: spinAnimation 1s infinite;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
&:hover::before {
|
|
397
|
+
--color-1: ${e.palette.primary[500]};
|
|
398
|
+
--color-2: ${e.palette.primary[500]};
|
|
399
|
+
}
|
|
382
400
|
&:hover {
|
|
383
401
|
background-color: ${e.palette.primary[500]};
|
|
384
402
|
border-color: transparent;
|
|
@@ -402,58 +420,37 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
402
420
|
background-color: ${e.palette.primary[500]};
|
|
403
421
|
color: ${e.palette.white};
|
|
404
422
|
}
|
|
405
|
-
`})),
|
|
423
|
+
`})),uf=$e(La)`
|
|
406
424
|
${({theme:e,$variant:t})=>`
|
|
407
|
-
&.dark {
|
|
408
|
-
background: none;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
&.light {
|
|
412
|
-
background: ${t==="secondaryWeb"?"linear-gradient(var(--border-angle), var(--color-1), var(--color-2))":"none"};
|
|
413
|
-
border-radius: 9px;
|
|
414
|
-
padding: 2px;
|
|
415
|
-
animation: spinAnimation 1s infinite;
|
|
416
|
-
|
|
417
|
-
&:hover {
|
|
418
|
-
--color-1: ${e.palette.primary[500]};
|
|
419
|
-
--color-2: ${e.palette.primary[500]};
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
`}
|
|
423
|
-
`,af=Be(Pa)`
|
|
424
|
-
${({theme:e,$bold:t,$resolution:r,$variant:n})=>`
|
|
425
|
-
--btn-padding-x: ${e.spacing[1]};
|
|
426
|
-
--btn-padding-y: ${r==="desktop"||r==="platform"?`${e.spacing[.625]}`:e.spacing[1]};
|
|
427
|
-
|
|
428
425
|
align-items: center;
|
|
429
426
|
border-radius: var(--btn-spacing);
|
|
430
427
|
cursor: pointer;
|
|
431
428
|
display: inline-flex;
|
|
432
|
-
font-family: ${e.typography.type.primary};
|
|
433
|
-
font-size: ${r==="desktop"?e.typography.text.md:e.typography.text.sm};
|
|
434
|
-
font-weight: ${t?e.typography.weight.bold:e.typography.weight.regular};
|
|
435
429
|
gap: var(--btn-spacing);
|
|
436
430
|
justify-content: center;
|
|
437
|
-
line-height: ${r==="platform"?e.spacing[1.25]:e.spacing[1.5]};
|
|
438
431
|
padding: var(--btn-padding-y) var(--btn-padding-x);
|
|
439
432
|
position: relative;
|
|
440
433
|
text-align: start;
|
|
441
434
|
transition: all 0.5s ease;
|
|
442
435
|
white-space: nowrap;
|
|
443
436
|
|
|
444
|
-
${
|
|
437
|
+
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
438
|
+
--btn-padding-y: ${e.spacing[1]};
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
${lf(e,t??"primaryWeb")}
|
|
445
442
|
`}
|
|
446
|
-
`,cf=["primary","secondary","tertiary","ghost"],lf=e=>cf.includes(e??""),jr=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,jr(t,r))}function cn(e,t){return typeof e=="function"?e(t):e}function vr(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 Ir(e){return["top","bottom"].includes(vr(e))?"y":"x"}function wi(e){return La(Ir(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(vr(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=Ir(t),s=wi(t),c=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[c]/2-o[c]/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]-=w*(r&&d?-1:1);break;case"end":v[s]+=w*(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,c=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),w=n,v={},T=0;for(let O=0;O<c.length;O++){const{name:R,fn:E}=c[O],{x:A,y:k,data:I,reset:M}=await E({x:h,y,initialPlacement:n,placement:w,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&&(w=M.placement),M.rects&&(d=M.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):M.rects),{x:h,y}=bs(d,w,u)),O=-1)}return{x:h,y,placement:w,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:c,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:w=!1,padding:v=0}=cn(t,e),T=Da(v),R=c[w?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(c.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(c.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:c,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:c,middlewareData:u}=t,{element:d,padding:h=0}=cn(e,t)||{};if(d==null)return{};const y=Da(h),w={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]-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=c.floating[k]||i.floating[T]);const ve=I/2-M/2,be=P/2-O[T]/2-1,pe=jr(y[E],be),Ne=jr(y[A],be),Me=pe,we=P-O[T]-Ne,J=P/2-O[T]/2+ve,$e=Go(Me,J,we),ie=!u.arrow&&ln(o)!=null&&J!==$e&&i.reference[T]/2-(J<Me?pe:Ne)-O[T]/2<0,se=ie?J<Me?J-Me:J-we:0;return{[v]:w[v]+se,data:{[v]:$e,centerOffset:J-$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:c,platform:u,elements:d}=t,{mainAxis:h=!0,crossAxis:y=!0,fallbackPlacements:w,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:O=!0,...R}=cn(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const E=vr(o),A=Ir(c),k=vr(c)===c,I=await(u.isRTL==null?void 0:u.isRTL(d.floating)),M=w||(k||!O?[Fn(c)]:pf(c)),D=T!=="none";!w&&D&&M.push(...gf(c,O,T,I));const P=[c,...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 J=df(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,$e=P[J];if($e)return{data:{index:J,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=Ir(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=c;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=vr(r),c=ln(r),u=Ir(r)==="y",d=["left","top"].includes(s)?-1:1,h=i&&u?-1:1,y=cn(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 c&&typeof T=="number"&&(v=c==="end"?T*-1:T),u?{x:v*h,y:w*d}:{x:w*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:c}=t,u=await wf(t,e);return s===((r=c.offset)==null?void 0:r.placement)&&(n=c.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:c={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=Ir(vr(o)),w=La(y);let v=d[w],T=d[y];if(i){const R=w==="y"?"top":"left",E=w==="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=c.fn({...t,[w]:v,[y]:T});return{...O,data:{x:O.x-r,y:O.y-n,enabled:{[w]:i,[y]:s}}}}}};function to(){return typeof window<"u"}function Dr(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(Dr(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)&&!Mr(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 Mr(e){return["html","body","#document"].includes(Dr(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(Dr(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 Mr(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 c=Yo(s);return t.concat(s,s.visualViewport||[],un(o)?o:[],c&&r?Qr(c):[])}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,c=Nn(r)!==i||Nn(n)!==s;return c&&(r=i,n=s),{width:r,height:n,$:c}}function Si(e){return Vt(e)?e:e.contextElement}function Tr(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,c=(i?Nn(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}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 br(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=Tr(n)):s=Tr(e));const c=Tf(i,r,n)?za(i):or(0);let u=(o.left+c.x)/s.x,d=(o.top+c.y)/s.y,h=o.width/s.x,y=o.height/s.y;if(i){const w=Ct(i),v=n&&Vt(n)?Ct(n):n;let T=w,O=Yo(T);for(;O&&n&&v!==T;){const R=Tr(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),c=t?ro(t.floating):!1;if(n===s||c&&i)return r;let u={scrollLeft:0,scrollTop:0},d=or(1);const h=or(0),y=Gt(n);if((y||!y&&!i)&&((Dr(n)!=="body"||un(s))&&(u=no(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 Of(e){return Array.from(e.getClientRects())}function Qo(e,t){const r=no(e).scrollLeft;return t?t.left+r:br(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 c=-r.scrollTop;return Bt(n).direction==="rtl"&&(s+=hr(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:c}}function Rf(e,t){const r=Ct(e),n=Ht(e),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,c=0,u=0;if(o){i=o.width,s=o.height;const d=xi();(!d||d&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:i,height:s,x:c,y:u}}function kf(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,c=e.clientHeight*i.y,u=o*i.x,d=n*i.y;return{width:s,height:c,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)||Mr(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(c=>Vt(c)&&Dr(c)!=="body"),o=null;const i=Bt(e).position==="fixed";let s=i?ir(e):e;for(;Vt(s)&&!Mr(s);){const c=Bt(s),u=_i(s);!u&&c.position==="fixed"&&(o=null),(i?!u&&!o:!u&&c.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||un(s)&&!u&&Ua(e,s))?n=n.filter(h=>h!==s):o=c,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],c=s[0],u=s.reduce((d,h)=>{const y=_s(t,h,o);return d.top=hr(y.top,d.top),d.right=jr(y.right,d.right),d.bottom=jr(y.bottom,d.bottom),d.left=hr(y.left,d.left),d},_s(t,c,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=br(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const u=or(0);if(n||!n&&!i)if((Dr(t)!=="body"||un(o))&&(c=no(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=Qo(o));let d=0,h=0;if(o&&!n&&!i){const v=o.getBoundingClientRect();h=v.top+c.scrollTop,d=v.left+c.scrollLeft-Qo(o,v)}const y=s.left+c.scrollLeft-u.x-d,w=s.top+c.scrollTop-u.y-h;return{x:y,y:w,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&&!Mr(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&&Mr(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:Tr,isElement:Vt,isRTL:Df};function Ff(e,t){let r=null,n;const o=Ht(e);function i(){var c;clearTimeout(n),(c=r)==null||c.disconnect(),r=null}function s(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),i();const{left:d,top:h,width:y,height:w}=e.getBoundingClientRect();if(c||t(),!y||!w)return;const v=On(h),T=On(o.clientWidth-(d+y)),O=On(o.clientHeight-(h+w)),R=On(d),A={rootMargin:-v+"px "+-T+"px "+-O+"px "+-R+"px",threshold:hr(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,{...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:c=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&&c?Ff(d,r):null;let w=-1,v=null;s&&(v=new ResizeObserver(E=>{let[A]=E;A&&A.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,O=u?br(e):null;u&&R();function R(){const E=br(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,Gr=$s?$s.toStringTag:void 0;function dd(e){var t=ud.call(e,Gr),r=e[Gr];try{e[Gr]=void 0;var n=!0}catch{}var o=fd.call(e);return n&&(t?e[Gr]=r:delete e[Gr]),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,Nr=Za,Os="[object Map]",Sp="[object Object]",Cs="[object Promise]",Rs="[object Set]",ks="[object WeakMap]",Ps="[object DataView]",$p=Nr(Jo),Ep=Nr(Ko),Tp=Nr(Xo),Ap=Nr(Zo),Op=Nr(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?Nr(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,c=s?r.Buffer:void 0,u=c?c.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,c=function(){try{var u=o&&o.require&&o.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();e.exports=c})(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:{}};/*!
|
|
443
|
+
`,Pr=Math.min,mr=Math.max,Nn=Math.round,Cn=Math.floor,sr=e=>({x:e,y:e}),ff={left:"right",right:"left",bottom:"top",top:"bottom"},df={start:"end",end:"start"};function Yo(e,t,r){return mr(e,Pr(t,r))}function cn(e,t){return typeof e=="function"?e(t):e}function br(e){return e.split("-")[0]}function ln(e){return e.split("-")[1]}function Ba(e){return e==="x"?"y":"x"}function _i(e){return e==="y"?"height":"width"}function Ir(e){return["top","bottom"].includes(br(e))?"y":"x"}function xi(e){return Ba(Ir(e))}function pf(e,t,r){r===void 0&&(r=!1);const n=ln(e),o=xi(e),i=_i(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 hf(e){const t=Fn(e);return[Qo(e),t,Qo(t)]}function Qo(e){return e.replace(/start|end/g,t=>df[t])}function gf(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 mf(e,t,r,n){const o=ln(e);let i=gf(br(e),r==="start",n);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Qo)))),i}function Fn(e){return e.replace(/left|right|bottom|top/g,t=>ff[t])}function yf(e){return{top:0,right:0,bottom:0,left:0,...e}}function za(e){return typeof e!="number"?yf(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 xs(e,t,r){let{reference:n,floating:o}=e;const i=Ir(t),s=xi(t),c=_i(s),u=br(t),d=i==="y",h=n.x+n.width/2-o.width/2,m=n.y+n.height/2-o.height/2,_=n[c]/2-o[c]/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:m};break;case"left":v={x:n.x-o.width,y:m};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 vf=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,c=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:m}=xs(d,n,u),_=n,v={},T=0;for(let C=0;C<c.length;C++){const{name:O,fn:x}=c[C],{x:A,y:R,data:M,reset:L}=await x({x:h,y:m,initialPlacement:n,placement:_,strategy:o,middlewareData:v,rects:d,platform:s,elements:{reference:e,floating:t}});h=A??h,m=R??m,v={...v,[O]:{...v[O],...M}},L&&T<=50&&(T++,typeof L=="object"&&(L.placement&&(_=L.placement),L.rects&&(d=L.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):L.rects),{x:h,y:m}=xs(d,_,u)),C=-1)}return{x:h,y:m,placement:_,strategy:o,middlewareData:v}};async function Wa(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:s,elements:c,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:_=!1,padding:v=0}=cn(t,e),T=za(v),O=c[_?m==="floating"?"reference":"floating":m],x=Vn(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(c.floating)),boundary:d,rootBoundary:h,strategy:u})),A=m==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,R=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),M=await(i.isElement==null?void 0:i.isElement(R))?await(i.getScale==null?void 0:i.getScale(R))||{x:1,y:1}:{x:1,y:1},L=Vn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:A,offsetParent:R,strategy:u}):A);return{top:(x.top-L.top+T.top)/M.y,bottom:(L.bottom-x.bottom+T.bottom)/M.y,left:(x.left-L.left+T.left)/M.x,right:(L.right-x.right+T.right)/M.x}}const bf=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:s,elements:c,middlewareData:u}=t,{element:d,padding:h=0}=cn(e,t)||{};if(d==null)return{};const m=za(h),_={x:r,y:n},v=xi(o),T=_i(v),C=await s.getDimensions(d),O=v==="y",x=O?"top":"left",A=O?"bottom":"right",R=O?"clientHeight":"clientWidth",M=i.reference[T]+i.reference[v]-_[v]-i.floating[T],L=_[v]-i.reference[v],N=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let P=N?N[R]:0;(!P||!await(s.isElement==null?void 0:s.isElement(N)))&&(P=c.floating[R]||i.floating[T]);const ve=M/2-L/2,be=P/2-C[T]/2-1,pe=Pr(m[x],be),Fe=Pr(m[A],be),Le=pe,we=P-C[T]-Fe,J=P/2-C[T]/2+ve,Ee=Yo(Le,J,we),se=!u.arrow&&ln(o)!=null&&J!==Ee&&i.reference[T]/2-(J<Le?pe:Fe)-C[T]/2<0,ae=se?J<Le?J-Le:J-we:0;return{[v]:_[v]+ae,data:{[v]:Ee,centerOffset:J-Ee-ae,...se&&{alignmentOffset:ae}},reset:se}}}),wf=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:c,platform:u,elements:d}=t,{mainAxis:h=!0,crossAxis:m=!0,fallbackPlacements:_,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:C=!0,...O}=cn(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const x=br(o),A=Ir(c),R=br(c)===c,M=await(u.isRTL==null?void 0:u.isRTL(d.floating)),L=_||(R||!C?[Fn(c)]:hf(c)),N=T!=="none";!_&&N&&L.push(...mf(c,C,T,M));const P=[c,...L],ve=await Wa(t,O),be=[];let pe=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&be.push(ve[x]),m){const J=pf(o,s,M);be.push(ve[J[0]],ve[J[1]])}if(pe=[...pe,{placement:o,overflows:be}],!be.every(J=>J<=0)){var Fe,Le;const J=(((Fe=i.flip)==null?void 0:Fe.index)||0)+1,Ee=P[J];if(Ee)return{data:{index:J,overflows:pe},reset:{placement:Ee}};let se=(Le=pe.filter(ae=>ae.overflows[0]<=0).sort((ae,ce)=>ae.overflows[1]-ce.overflows[1])[0])==null?void 0:Le.placement;if(!se)switch(v){case"bestFit":{var we;const ae=(we=pe.filter(ce=>{if(N){const re=Ir(ce.placement);return re===A||re==="y"}return!0}).map(ce=>[ce.placement,ce.overflows.filter(re=>re>0).reduce((re,G)=>re+G,0)]).sort((ce,re)=>ce[1]-re[1])[0])==null?void 0:we[0];ae&&(se=ae);break}case"initialPlacement":se=c;break}if(o!==se)return{reset:{placement:se}}}return{}}}};async function _f(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=br(r),c=ln(r),u=Ir(r)==="y",d=["left","top"].includes(s)?-1:1,h=i&&u?-1:1,m=cn(t,e);let{mainAxis:_,crossAxis:v,alignmentAxis:T}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return c&&typeof T=="number"&&(v=c==="end"?T*-1:T),u?{x:v*h,y:_*d}:{x:_*d,y:v*h}}const xf=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:c}=t,u=await _f(t,e);return s===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:s}}}}},Sf=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:c={fn:O=>{let{x,y:A}=O;return{x,y:A}}},...u}=cn(e,t),d={x:r,y:n},h=await Wa(t,u),m=Ir(br(o)),_=Ba(m);let v=d[_],T=d[m];if(i){const O=_==="y"?"top":"left",x=_==="y"?"bottom":"right",A=v+h[O],R=v-h[x];v=Yo(A,v,R)}if(s){const O=m==="y"?"top":"left",x=m==="y"?"bottom":"right",A=T+h[O],R=T-h[x];T=Yo(A,T,R)}const C=c.fn({...t,[_]:v,[m]:T});return{...C,data:{x:C.x-r,y:C.y-n,enabled:{[_]:i,[m]:s}}}}}};function to(){return typeof window<"u"}function Dr(e){return Ua(e)?(e.nodeName||"").toLowerCase():"#document"}function Rt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Yt(e){var t;return(t=(Ua(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ua(e){return to()?e instanceof Node||e instanceof Rt(e).Node:!1}function Bt(e){return to()?e instanceof Element||e instanceof Rt(e).Element:!1}function Ht(e){return to()?e instanceof HTMLElement||e instanceof Rt(e).HTMLElement:!1}function Ss(e){return!to()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Rt(e).ShadowRoot}function un(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 $f(e){return["table","td","th"].includes(Dr(e))}function ro(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Si(e){const t=$i(),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 Ef(e){let t=ar(e);for(;Ht(t)&&!Mr(t);){if(Si(t))return t;if(ro(t))return null;t=ar(t)}return null}function $i(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Mr(e){return["html","body","#document"].includes(Dr(e))}function zt(e){return Rt(e).getComputedStyle(e)}function no(e){return Bt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ar(e){if(Dr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ss(e)&&e.host||Yt(e);return Ss(t)?t.host:t}function qa(e){const t=ar(e);return Mr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ht(t)&&un(t)?t:qa(t)}function Qr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=qa(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),s=Rt(o);if(i){const c=Jo(s);return t.concat(s,s.visualViewport||[],un(o)?o:[],c&&r?Qr(c):[])}return t.concat(o,Qr(o,[],r))}function Jo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ga(e){const t=zt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Ht(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,c=Nn(r)!==i||Nn(n)!==s;return c&&(r=i,n=s),{width:r,height:n,$:c}}function Ei(e){return Bt(e)?e:e.contextElement}function Ar(e){const t=Ei(e);if(!Ht(t))return sr(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Ga(t);let s=(i?Nn(r.width):r.width)/n,c=(i?Nn(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Tf=sr(0);function Ha(e){const t=Rt(e);return!$i()||!t.visualViewport?Tf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Af(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Rt(e)?!1:t}function wr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=Ei(e);let s=sr(1);t&&(n?Bt(n)&&(s=Ar(n)):s=Ar(e));const c=Af(i,r,n)?Ha(i):sr(0);let u=(o.left+c.x)/s.x,d=(o.top+c.y)/s.y,h=o.width/s.x,m=o.height/s.y;if(i){const _=Rt(i),v=n&&Bt(n)?Rt(n):n;let T=_,C=Jo(T);for(;C&&n&&v!==T;){const O=Ar(C),x=C.getBoundingClientRect(),A=zt(C),R=x.left+(C.clientLeft+parseFloat(A.paddingLeft))*O.x,M=x.top+(C.clientTop+parseFloat(A.paddingTop))*O.y;u*=O.x,d*=O.y,h*=O.x,m*=O.y,u+=R,d+=M,T=Rt(C),C=Jo(T)}}return Vn({width:h,height:m,x:u,y:d})}function Cf(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",s=Yt(n),c=t?ro(t.floating):!1;if(n===s||c&&i)return r;let u={scrollLeft:0,scrollTop:0},d=sr(1);const h=sr(0),m=Ht(n);if((m||!m&&!i)&&((Dr(n)!=="body"||un(s))&&(u=no(n)),Ht(n))){const _=wr(n);d=Ar(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 Ko(e,t){const r=no(e).scrollLeft;return t?t.left+r:wr(Yt(e)).left+r}function Rf(e){const t=Yt(e),r=no(e),n=e.ownerDocument.body,o=mr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=mr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Ko(e);const c=-r.scrollTop;return zt(n).direction==="rtl"&&(s+=mr(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:c}}function kf(e,t){const r=Rt(e),n=Yt(e),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,c=0,u=0;if(o){i=o.width,s=o.height;const d=$i();(!d||d&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:i,height:s,x:c,y:u}}function jf(e,t){const r=wr(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Ht(e)?Ar(e):sr(1),s=e.clientWidth*i.x,c=e.clientHeight*i.y,u=o*i.x,d=n*i.y;return{width:s,height:c,x:u,y:d}}function $s(e,t,r){let n;if(t==="viewport")n=kf(e,r);else if(t==="document")n=Rf(Yt(e));else if(Bt(t))n=jf(t,r);else{const o=Ha(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return Vn(n)}function Ya(e,t){const r=ar(e);return r===t||!Bt(r)||Mr(r)?!1:zt(r).position==="fixed"||Ya(r,t)}function Pf(e,t){const r=t.get(e);if(r)return r;let n=Qr(e,[],!1).filter(c=>Bt(c)&&Dr(c)!=="body"),o=null;const i=zt(e).position==="fixed";let s=i?ar(e):e;for(;Bt(s)&&!Mr(s);){const c=zt(s),u=Si(s);!u&&c.position==="fixed"&&(o=null),(i?!u&&!o:!u&&c.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||un(s)&&!u&&Ya(e,s))?n=n.filter(h=>h!==s):o=c,s=ar(s)}return t.set(e,n),n}function If(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?ro(t)?[]:Pf(t,this._c):[].concat(r),n],c=s[0],u=s.reduce((d,h)=>{const m=$s(t,h,o);return d.top=mr(m.top,d.top),d.right=Pr(m.right,d.right),d.bottom=Pr(m.bottom,d.bottom),d.left=mr(m.left,d.left),d},$s(t,c,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Mf(e){const{width:t,height:r}=Ga(e);return{width:t,height:r}}function Lf(e,t,r){const n=Ht(t),o=Yt(t),i=r==="fixed",s=wr(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const u=sr(0);if(n||!n&&!i)if((Dr(t)!=="body"||un(o))&&(c=no(t)),n){const v=wr(t,!0,i,t);u.x=v.x+t.clientLeft,u.y=v.y+t.clientTop}else o&&(u.x=Ko(o));let d=0,h=0;if(o&&!n&&!i){const v=o.getBoundingClientRect();h=v.top+c.scrollTop,d=v.left+c.scrollLeft-Ko(o,v)}const m=s.left+c.scrollLeft-u.x-d,_=s.top+c.scrollTop-u.y-h;return{x:m,y:_,width:s.width,height:s.height}}function ko(e){return zt(e).position==="static"}function Es(e,t){if(!Ht(e)||zt(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Yt(e)===r&&(r=r.ownerDocument.body),r}function Qa(e,t){const r=Rt(e);if(ro(e))return r;if(!Ht(e)){let o=ar(e);for(;o&&!Mr(o);){if(Bt(o)&&!ko(o))return o;o=ar(o)}return r}let n=Es(e,t);for(;n&&$f(n)&&ko(n);)n=Es(n,t);return n&&Mr(n)&&ko(n)&&!Si(n)?r:n||Ef(e)||r}const Df=async function(e){const t=this.getOffsetParent||Qa,r=this.getDimensions,n=await r(e.floating);return{reference:Lf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Nf(e){return zt(e).direction==="rtl"}const Ff={convertOffsetParentRelativeRectToViewportRelativeRect:Cf,getDocumentElement:Yt,getClippingRect:If,getOffsetParent:Qa,getElementRects:Df,getClientRects:Of,getDimensions:Mf,getScale:Ar,isElement:Bt,isRTL:Nf};function Vf(e,t){let r=null,n;const o=Yt(e);function i(){var c;clearTimeout(n),(c=r)==null||c.disconnect(),r=null}function s(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),i();const{left:d,top:h,width:m,height:_}=e.getBoundingClientRect();if(c||t(),!m||!_)return;const v=Cn(h),T=Cn(o.clientWidth-(d+m)),C=Cn(o.clientHeight-(h+_)),O=Cn(d),A={rootMargin:-v+"px "+-T+"px "+-C+"px "+-O+"px",threshold:mr(0,Pr(1,u))||1};let R=!0;function M(L){const N=L[0].intersectionRatio;if(N!==u){if(!R)return s();N?s(!1,N):n=setTimeout(()=>{s(!1,1e-7)},1e3)}R=!1}try{r=new IntersectionObserver(M,{...A,root:o.ownerDocument})}catch{r=new IntersectionObserver(M,A)}r.observe(e)}return s(!0),i}function Bf(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,d=Ei(e),h=o||i?[...d?Qr(d):[],...Qr(t)]:[];h.forEach(x=>{o&&x.addEventListener("scroll",r,{passive:!0}),i&&x.addEventListener("resize",r)});const m=d&&c?Vf(d,r):null;let _=-1,v=null;s&&(v=new ResizeObserver(x=>{let[A]=x;A&&A.target===d&&v&&(v.unobserve(t),cancelAnimationFrame(_),_=requestAnimationFrame(()=>{var R;(R=v)==null||R.observe(t)})),r()}),d&&!u&&v.observe(d),v.observe(t));let T,C=u?wr(e):null;u&&O();function O(){const x=wr(e);C&&(x.x!==C.x||x.y!==C.y||x.width!==C.width||x.height!==C.height)&&r(),C=x,T=requestAnimationFrame(O)}return r(),()=>{var x;h.forEach(A=>{o&&A.removeEventListener("scroll",r),i&&A.removeEventListener("resize",r)}),m==null||m(),(x=v)==null||x.disconnect(),v=null,u&&cancelAnimationFrame(T)}}const Ja=xf,zf=Sf,Ka=wf,Wf=bf,Ts=(e,t,r)=>{const n=new Map,o={platform:Ff,...r},i={...o.platform,_c:n};return vf(e,t,{...o,platform:i})},Uf=(e,t)=>({...Ja(e),options:[e,t]}),qf=(e,t)=>({...Ka(e),options:[e,t]});var Gf=Object.prototype;function Hf(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Gf;return e===r}var Xa=Hf;function Yf(e,t){return function(r){return e(t(r))}}var Qf=Yf,Jf=Qf,Kf=Jf(Object.keys,Object),Xf=Kf,Zf=Xa,ed=Xf,td=Object.prototype,rd=td.hasOwnProperty;function nd(e){if(!Zf(e))return ed(e);var t=[];for(var r in Object(e))rd.call(e,r)&&r!="constructor"&&t.push(r);return t}var od=nd,id=typeof Sn=="object"&&Sn&&Sn.Object===Object&&Sn,Za=id,sd=Za,ad=typeof self=="object"&&self&&self.Object===Object&&self,cd=sd||ad||Function("return this")(),cr=cd,ld=cr,ud=ld.Symbol,ec=ud,As=ec,tc=Object.prototype,fd=tc.hasOwnProperty,dd=tc.toString,Gr=As?As.toStringTag:void 0;function pd(e){var t=fd.call(e,Gr),r=e[Gr];try{e[Gr]=void 0;var n=!0}catch{}var o=dd.call(e);return n&&(t?e[Gr]=r:delete e[Gr]),o}var hd=pd,gd=Object.prototype,md=gd.toString;function yd(e){return md.call(e)}var vd=yd,Cs=ec,bd=hd,wd=vd,_d="[object Null]",xd="[object Undefined]",Os=Cs?Cs.toStringTag:void 0;function Sd(e){return e==null?e===void 0?xd:_d:Os&&Os in Object(e)?bd(e):wd(e)}var oo=Sd;function $d(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var rc=$d,Ed=oo,Td=rc,Ad="[object AsyncFunction]",Cd="[object Function]",Od="[object GeneratorFunction]",Rd="[object Proxy]";function kd(e){if(!Td(e))return!1;var t=Ed(e);return t==Cd||t==Od||t==Ad||t==Rd}var nc=kd,jd=cr,Pd=jd["__core-js_shared__"],Id=Pd,jo=Id,Rs=function(){var e=/[^.]+$/.exec(jo&&jo.keys&&jo.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Md(e){return!!Rs&&Rs in e}var Ld=Md,Dd=Function.prototype,Nd=Dd.toString;function Fd(e){if(e!=null){try{return Nd.call(e)}catch{}try{return e+""}catch{}}return""}var oc=Fd,Vd=nc,Bd=Ld,zd=rc,Wd=oc,Ud=/[\\^$.*+?()[\]{}|]/g,qd=/^\[object .+?Constructor\]$/,Gd=Function.prototype,Hd=Object.prototype,Yd=Gd.toString,Qd=Hd.hasOwnProperty,Jd=RegExp("^"+Yd.call(Qd).replace(Ud,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Kd(e){if(!zd(e)||Bd(e))return!1;var t=Vd(e)?Jd:qd;return t.test(Wd(e))}var Xd=Kd;function Zd(e,t){return e==null?void 0:e[t]}var ep=Zd,tp=Xd,rp=ep;function np(e,t){var r=rp(e,t);return tp(r)?r:void 0}var fn=np,op=fn,ip=cr,sp=op(ip,"DataView"),ap=sp,cp=fn,lp=cr,up=cp(lp,"Map"),fp=up,dp=fn,pp=cr,hp=dp(pp,"Promise"),gp=hp,mp=fn,yp=cr,vp=mp(yp,"Set"),bp=vp,wp=fn,_p=cr,xp=wp(_p,"WeakMap"),Sp=xp,Xo=ap,Zo=fp,ei=gp,ti=bp,ri=Sp,ic=oo,Nr=oc,ks="[object Map]",$p="[object Object]",js="[object Promise]",Ps="[object Set]",Is="[object WeakMap]",Ms="[object DataView]",Ep=Nr(Xo),Tp=Nr(Zo),Ap=Nr(ei),Cp=Nr(ti),Op=Nr(ri),fr=ic;(Xo&&fr(new Xo(new ArrayBuffer(1)))!=Ms||Zo&&fr(new Zo)!=ks||ei&&fr(ei.resolve())!=js||ti&&fr(new ti)!=Ps||ri&&fr(new ri)!=Is)&&(fr=function(e){var t=ic(e),r=t==$p?e.constructor:void 0,n=r?Nr(r):"";if(n)switch(n){case Ep:return Ms;case Tp:return ks;case Ap:return js;case Cp:return Ps;case Op:return Is}return t});var Rp=fr;function kp(e){return e!=null&&typeof e=="object"}var Ti=kp,jp=oo,Pp=Ti,Ip="[object Arguments]";function Mp(e){return Pp(e)&&jp(e)==Ip}var Lp=Mp,Ls=Lp,Dp=Ti,sc=Object.prototype,Np=sc.hasOwnProperty,Fp=sc.propertyIsEnumerable,Vp=Ls(function(){return arguments}())?Ls:function(e){return Dp(e)&&Np.call(e,"callee")&&!Fp.call(e,"callee")},Bp=Vp,zp=Array.isArray,Wp=zp,Up=9007199254740991;function qp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Up}var ac=qp,Gp=nc,Hp=ac;function Yp(e){return e!=null&&Hp(e.length)&&!Gp(e)}var Qp=Yp,Bn={exports:{}};function Jp(){return!1}var Kp=Jp;Bn.exports;(function(e,t){var r=cr,n=Kp,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,s=i&&i.exports===o,c=s?r.Buffer:void 0,u=c?c.isBuffer:void 0,d=u||n;e.exports=d})(Bn,Bn.exports);var Xp=Bn.exports,Zp=oo,eh=ac,th=Ti,rh="[object Arguments]",nh="[object Array]",oh="[object Boolean]",ih="[object Date]",sh="[object Error]",ah="[object Function]",ch="[object Map]",lh="[object Number]",uh="[object Object]",fh="[object RegExp]",dh="[object Set]",ph="[object String]",hh="[object WeakMap]",gh="[object ArrayBuffer]",mh="[object DataView]",yh="[object Float32Array]",vh="[object Float64Array]",bh="[object Int8Array]",wh="[object Int16Array]",_h="[object Int32Array]",xh="[object Uint8Array]",Sh="[object Uint8ClampedArray]",$h="[object Uint16Array]",Eh="[object Uint32Array]",je={};je[yh]=je[vh]=je[bh]=je[wh]=je[_h]=je[xh]=je[Sh]=je[$h]=je[Eh]=!0;je[rh]=je[nh]=je[gh]=je[oh]=je[mh]=je[ih]=je[sh]=je[ah]=je[ch]=je[lh]=je[uh]=je[fh]=je[dh]=je[ph]=je[hh]=!1;function Th(e){return th(e)&&eh(e.length)&&!!je[Zp(e)]}var Ah=Th;function Ch(e){return function(t){return e(t)}}var Oh=Ch,zn={exports:{}};zn.exports;(function(e,t){var r=Za,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,s=i&&r.process,c=function(){try{var u=o&&o.require&&o.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();e.exports=c})(zn,zn.exports);var Rh=zn.exports,kh=Ah,jh=Oh,Ds=Rh,Ns=Ds&&Ds.isTypedArray,Ph=Ns?jh(Ns):kh,Ih=Ph,Mh=od,Lh=Rp,Dh=Bp,Nh=Wp,Fh=Qp,Vh=Xp,Bh=Xa,zh=Ih,Wh="[object Map]",Uh="[object Set]",qh=Object.prototype,Gh=qh.hasOwnProperty;function Hh(e){if(e==null)return!0;if(Fh(e)&&(Nh(e)||typeof e=="string"||typeof e.splice=="function"||Vh(e)||zh(e)||Dh(e)))return!e.length;var t=Lh(e);if(t==Wh||t==Uh)return!e.size;if(Bh(e))return!Mh(e).length;for(var r in e)if(Gh.call(e,r))return!1;return!0}var Yh=Hh;const Po=da(Yh);var cc={exports:{}};/*!
|
|
447
444
|
Copyright (c) 2018 Jed Watson.
|
|
448
445
|
Licensed under the MIT License (MIT), see
|
|
449
446
|
http://jedwatson.github.io/classnames
|
|
450
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",s=0;s<arguments.length;s++){var c=arguments[s];c&&(i=o(i,n(c)))}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 c in i)t.call(i,c)&&i[c]&&(s=o(s,c));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})()})(
|
|
447
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",s=0;s<arguments.length;s++){var c=arguments[s];c&&(i=o(i,n(c)))}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 c in i)t.call(i,c)&&i[c]&&(s=o(s,c));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})()})(cc);var Qh=cc.exports;const ni=da(Qh);/*
|
|
451
448
|
* React Tooltip
|
|
452
449
|
* {@link https://github.com/ReactTooltip/react-tooltip}
|
|
453
450
|
* @copyright ReactTooltip Team
|
|
454
451
|
* @license MIT
|
|
455
|
-
*/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 c=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.id=t,u.type="text/css",s==="top"&&c.firstChild?c.insertBefore(u,c.firstChild):c.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:c})=>{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:w})=>{var v,T;const O={left:`${d}px`,top:`${h}px`,border:c},{x:R,y:E}=(v=w.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=c&&{borderBottom:c,borderRight:c};let I=0;if(c){const M=`${c}`.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 $r={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:c="top",offset:u=10,events:d=["hover"],openOnClick:h=!1,positionStrategy:y="absolute",middlewares:w,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:J,disableTooltip:$e,content:ie,contentWrapperRef:se,isOpen:ae,defaultIsOpen:re=!1,setIsOpen:q,activeAnchor:ce,setActiveAnchor:ge,border:G,opacity:st,arrowColor:tt,role:qe="tooltip"})=>{var Ge;const ue=S.useRef(null),_e=S.useRef(null),Ee=S.useRef(null),ze=S.useRef(null),Pe=S.useRef(null),[ft,Rt]=S.useState({tooltipStyles:{},tooltipArrowStyles:{},place:c}),[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),He=P?{...P}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!P&&St&&Object.assign(He,{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(He,{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),J==null||J()},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(ze),ze.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(ze)},Ye=()=>{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:c,offset:u,elementReference:Ae,tooltipReference:ue.current,tooltipArrowReference:_e.current,strategy:y,middlewares:w,border:G}).then(Le=>{Dt(Le)})},Ue=C=>{if(!C)return;const V=C,z={x:V.clientX,y:V.clientY};ct(z),mt.current=z},Qe=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(Ye,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:c,offset:u,elementReference:ce,tooltipReference:ue.current,tooltipArrowReference:_e.current,strategy:y,middlewares:w,border:G}).then(Ae=>{xt.current&&Dt(Ae)})},[Te,ce,ie,Ne,c,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",Qe);const $=[],F=B=>{Te&&(B==null?void 0:B.target)===ce||bt(B)},oe=B=>{Te&&(B==null?void 0:B.target)===ce&&Ye()},te=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],K=["click","dblclick","mousedown","mouseup"];Object.entries(He).forEach(([B,le])=>{le&&(te.includes(B)?$.push({event:B,listener:Xe}):K.includes(B)&&$.push({event:B,listener:F}))}),Object.entries(Pt).forEach(([B,le])=>{le&&(te.includes(B)?$.push({event:B,listener:N}):K.includes(B)&&$.push({event:B,listener:oe}))}),R&&$.push({event:"pointermove",listener:Ue});const Q=()=>{at.current=!0},De=()=>{at.current=!1,Ye()};return k&&!kt&&((C=ue.current)===null||C===void 0||C.addEventListener("mouseenter",Q),(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",Qe),nt.escape&&window.removeEventListener("keydown",b),k&&!kt&&((B=ue.current)===null||B===void 0||B.removeEventListener("mouseenter",Q),(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(ze),!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(ze)}),[]),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=(Ge=fe==null?void 0:fe.content)!==null&&Ge!==void 0?Ge: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:qe,className:ti("react-tooltip",$r.tooltip,Io.tooltip,Io[o],r,`react-tooltip__place-${ft.place}`,$r[wt?"show":"closing"],wt?"react-tooltip__show":"react-tooltip__closing",y==="fixed"&&$r.fixed,k&&$r.clickable),onTransitionEnd:C=>{It(Pe),Te||C.propertyName!=="opacity"||(pt(!1),ht(null),J==null||J())},style:{...Ne,...ft.tooltipStyles,opacity:st!==void 0&&wt?st:void 0},ref:ue},je,S.createElement(v,{className:ti("react-tooltip-arrow",$r.arrow,Io.arrow,n,A&&$r.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:c,variant:u="dark",place:d="top",offset:h=10,wrapper:y="div",children:w=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:J,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:qe="tooltip"},Ge)=>{const[ue,_e]=S.useState(n),[Ee,ze]=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,He]=S.useState(O),[Pt,nt]=S.useState(null),[xe,Dt]=S.useState(null),Nt=S.useRef(ae),{anchorRefs:vt,activeAnchor:bt}=oc(e),Ye=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=>{ze(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;He((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(()=>{ze(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(()=>{He(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=Ye(je);ct(Le)})}),C={attributes:!0,childList:!1,subtree:!1};if(je){const V=Ye(je);ct(V),wt.observe(je,C)}return()=>{wt.disconnect()}},[vt,bt,xe,t,r]),S.useEffect(()=>{J!=null&&J.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\`.`),J!=null&&J.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 Ue=w;const Qe=S.useRef(null);if(i){const Se=i({content:(xe==null?void 0:xe.getAttribute("data-tooltip-content"))||ue||null,activeAnchor:xe});Ue=Se?S.createElement("div",{ref:Qe,className:"react-tooltip-content-wrapper"},Se):null}else ue&&(Ue=ue);Ee&&(Ue=S.createElement(ng,{content:Ee}));const $t={forwardRef:Ge,id:e,anchorId:t,anchorSelect:r,className:ti(s,Pt),classNameArrow:c,content:Ue,contentWrapperRef:Qe,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:J,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:qe};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:`
|
|
456
|
-
.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
|
|
452
|
+
*/const Jh="react-tooltip-core-styles",Kh="react-tooltip-base-styles",Fs={core:!1,base:!1};function Vs({css:e,id:t=Kh,type:r="base",ref:n}){var o,i;if(!e||typeof document>"u"||Fs[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=Jh),n||(n={});const{insertAt:s}=n;if(document.getElementById(t))return;const c=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.id=t,u.type="text/css",s==="top"&&c.firstChild?c.insertBefore(u,c.firstChild):c.appendChild(u),u.styleSheet?u.styleSheet.cssText=e:u.appendChild(document.createTextNode(e)),Fs[r]=!0}const Bs=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:n="top",offset:o=10,strategy:i="absolute",middlewares:s=[Ja(Number(o)),Ka({fallbackAxisSideDirection:"start"}),zf({padding:5})],border:c})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const u=s;return r?(u.push(Wf({element:r,padding:5})),Ts(e,t,{placement:n,strategy:i,middleware:u}).then(({x:d,y:h,placement:m,middlewareData:_})=>{var v,T;const C={left:`${d}px`,top:`${h}px`,border:c},{x:O,y:x}=(v=_.arrow)!==null&&v!==void 0?v:{x:0,y:0},A=(T={top:"bottom",right:"left",bottom:"top",left:"right"}[m.split("-")[0]])!==null&&T!==void 0?T:"bottom",R=c&&{borderBottom:c,borderRight:c};let M=0;if(c){const L=`${c}`.match(/(\d+)px/);M=L!=null&&L[1]?Number(L[1]):1}return{tooltipStyles:C,tooltipArrowStyles:{left:O!=null?`${O}px`:"",top:x!=null?`${x}px`:"",right:"",bottom:"",...R,[A]:`-${4+M}px`},place:m}})):Ts(e,t,{placement:"bottom",strategy:i,middleware:u}).then(({x:d,y:h,placement:m})=>({tooltipStyles:{left:`${d}px`,top:`${h}px`},tooltipArrowStyles:{},place:m}))},zs=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Ws=(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},Us=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",oi=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((o,i)=>oi(o,t[i]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!Us(e)||!Us(t))return e===t;const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(o=>oi(e[o],t[o]))},Xh=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"})},qs=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(Xh(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Zh=typeof window<"u"?w.useLayoutEffect:w.useEffect,Mt=e=>{e.current&&(clearTimeout(e.current),e.current=null)},eg="DEFAULT_TOOLTIP_ID",tg={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},rg=w.createContext({getTooltipData:()=>tg});function lc(e=eg){return w.useContext(rg).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"},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 ng=({forwardRef:e,id:t,className:r,classNameArrow:n,variant:o="dark",anchorId:i,anchorSelect:s,place:c="top",offset:u=10,events:d=["hover"],openOnClick:h=!1,positionStrategy:m="absolute",middlewares:_,wrapper:v,delayShow:T=0,delayHide:C=0,float:O=!1,hidden:x=!1,noArrow:A=!1,clickable:R=!1,closeOnEsc:M=!1,closeOnScroll:L=!1,closeOnResize:N=!1,openEvents:P,closeEvents:ve,globalCloseEvents:be,imperativeModeOnly:pe,style:Fe,position:Le,afterShow:we,afterHide:J,disableTooltip:Ee,content:se,contentWrapperRef:ae,isOpen:ce,defaultIsOpen:re=!1,setIsOpen:G,activeAnchor:le,setActiveAnchor:ge,border:H,opacity:st,arrowColor:tt,role:qe="tooltip"})=>{var Ge;const fe=w.useRef(null),_e=w.useRef(null),Te=w.useRef(null),ze=w.useRef(null),Pe=w.useRef(null),[ft,kt]=w.useState({tooltipStyles:{},tooltipArrowStyles:{},place:c}),[Ae,dt]=w.useState(!1),[Je,pt]=w.useState(!1),[de,ht]=w.useState(null),gt=w.useRef(!1),mt=w.useRef(null),{anchorRefs:Ct,setActiveAnchor:rt}=lc(t),at=w.useRef(!1),[yt,Ke]=w.useState([]),xt=w.useRef(!1),St=h||d.includes("click"),jt=St||(P==null?void 0:P.click)||(P==null?void 0:P.dblclick)||(P==null?void 0:P.mousedown),He=P?{...P}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!P&&St&&Object.assign(He,{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:M||!1,scroll:L||!1,resize:N||!1,clickOutsideAnchor:jt||!1};pe&&(Object.assign(He,{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})),Zh(()=>(xt.current=!0,()=>{xt.current=!1}),[]);const xe=k=>{xt.current&&(k&&pt(!0),setTimeout(()=>{xt.current&&(G==null||G(k),ce===void 0&&dt(k))},10))};w.useEffect(()=>{if(ce===void 0)return()=>null;ce&&pt(!0);const k=setTimeout(()=>{dt(ce)},10);return()=>{clearTimeout(k)}},[ce]),w.useEffect(()=>{if(Ae!==gt.current)if(Mt(Pe),gt.current=Ae,Ae)we==null||we();else{const k=(B=>{const W=B.match(/^([\d.]+)(ms|s)$/);if(!W)return 0;const[,Ce,De]=W;return Number(Ce)*(De==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Pe.current=setTimeout(()=>{pt(!1),ht(null),J==null||J()},k+25)}},[Ae]);const Nt=k=>{kt(B=>oi(B,k)?B:k)},Ft=(k=T)=>{Mt(Te),Je?xe(!0):Te.current=setTimeout(()=>{xe(!0)},k)},vt=(k=C)=>{Mt(ze),ze.current=setTimeout(()=>{at.current||xe(!1)},k)},bt=k=>{var B;if(!k)return;const W=(B=k.currentTarget)!==null&&B!==void 0?B:k.target;if(!(W!=null&&W.isConnected))return ge(null),void rt({current:null});T?Ft():xe(!0),ge(W),rt({current:W}),Mt(ze)},Ye=()=>{R?vt(C||100):C?vt():xe(!1),Mt(Te)},ct=({x:k,y:B})=>{var W;const Ce={getBoundingClientRect:()=>({x:k,y:B,width:0,height:0,top:B,left:k,right:k,bottom:B})};Bs({place:(W=de==null?void 0:de.place)!==null&&W!==void 0?W:c,offset:u,elementReference:Ce,tooltipReference:fe.current,tooltipArrowReference:_e.current,strategy:m,middlewares:_,border:H}).then(De=>{Nt(De)})},We=k=>{if(!k)return;const B=k,W={x:B.clientX,y:B.clientY};ct(W),mt.current=W},Qe=k=>{var B;if(!Ae)return;const W=k.target;W.isConnected&&(!((B=fe.current)===null||B===void 0)&&B.contains(W)||[document.querySelector(`[id='${i}']`),...yt].some(Ce=>Ce==null?void 0:Ce.contains(W))||(xe(!1),Mt(Te)))},$t=Ws(bt,50),Se=Ws(Ye,50),Xe=k=>{Se.cancel(),$t(k)},F=()=>{$t.cancel(),Se()},Z=w.useCallback(()=>{var k,B;const W=(k=de==null?void 0:de.position)!==null&&k!==void 0?k:Le;W?ct(W):O?mt.current&&ct(mt.current):le!=null&&le.isConnected&&Bs({place:(B=de==null?void 0:de.place)!==null&&B!==void 0?B:c,offset:u,elementReference:le,tooltipReference:fe.current,tooltipArrowReference:_e.current,strategy:m,middlewares:_,border:H}).then(Ce=>{xt.current&&Nt(Ce)})},[Ae,le,se,Fe,c,de==null?void 0:de.place,u,m,Le,de==null?void 0:de.position,O]);w.useEffect(()=>{var k,B;const W=new Set(Ct);yt.forEach(z=>{Ee!=null&&Ee(z)||W.add({current:z})});const Ce=document.querySelector(`[id='${i}']`);Ce&&!(Ee!=null&&Ee(Ce))&&W.add({current:Ce});const De=()=>{xe(!1)},lt=qs(le),Oe=qs(fe.current);nt.scroll&&(window.addEventListener("scroll",De),lt==null||lt.addEventListener("scroll",De),Oe==null||Oe.addEventListener("scroll",De));let f=null;nt.resize?window.addEventListener("resize",De):le&&fe.current&&(f=Bf(le,fe.current,Z,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const b=z=>{z.key==="Escape"&&xe(!1)};nt.escape&&window.addEventListener("keydown",b),nt.clickOutsideAnchor&&window.addEventListener("click",Qe);const E=[],V=z=>{Ae&&(z==null?void 0:z.target)===le||bt(z)},ie=z=>{Ae&&(z==null?void 0:z.target)===le&&Ye()},te=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],K=["click","dblclick","mousedown","mouseup"];Object.entries(He).forEach(([z,ue])=>{ue&&(te.includes(z)?E.push({event:z,listener:Xe}):K.includes(z)&&E.push({event:z,listener:V}))}),Object.entries(Pt).forEach(([z,ue])=>{ue&&(te.includes(z)?E.push({event:z,listener:F}):K.includes(z)&&E.push({event:z,listener:ie}))}),O&&E.push({event:"pointermove",listener:We});const Q=()=>{at.current=!0},Ne=()=>{at.current=!1,Ye()};return R&&!jt&&((k=fe.current)===null||k===void 0||k.addEventListener("mouseenter",Q),(B=fe.current)===null||B===void 0||B.addEventListener("mouseleave",Ne)),E.forEach(({event:z,listener:ue})=>{W.forEach(Re=>{var Ze;(Ze=Re.current)===null||Ze===void 0||Ze.addEventListener(z,ue)})}),()=>{var z,ue;nt.scroll&&(window.removeEventListener("scroll",De),lt==null||lt.removeEventListener("scroll",De),Oe==null||Oe.removeEventListener("scroll",De)),nt.resize?window.removeEventListener("resize",De):f==null||f(),nt.clickOutsideAnchor&&window.removeEventListener("click",Qe),nt.escape&&window.removeEventListener("keydown",b),R&&!jt&&((z=fe.current)===null||z===void 0||z.removeEventListener("mouseenter",Q),(ue=fe.current)===null||ue===void 0||ue.removeEventListener("mouseleave",Ne)),E.forEach(({event:Re,listener:Ze})=>{W.forEach(Qt=>{var ot;(ot=Qt.current)===null||ot===void 0||ot.removeEventListener(Re,Ze)})})}},[le,Z,Je,Ct,yt,P,ve,be,St,T,C]),w.useEffect(()=>{var k,B;let W=(B=(k=de==null?void 0:de.anchorSelect)!==null&&k!==void 0?k:s)!==null&&B!==void 0?B:"";!W&&t&&(W=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const Ce=new MutationObserver(De=>{const lt=[],Oe=[];De.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(le){const b=[...f.removedNodes].filter(E=>E.nodeType===1);if(W)try{Oe.push(...b.filter(E=>E.matches(W))),Oe.push(...b.flatMap(E=>[...E.querySelectorAll(W)]))}catch{}b.some(E=>{var V;return!!(!((V=E==null?void 0:E.contains)===null||V===void 0)&&V.call(E,le))&&(pt(!1),xe(!1),ge(null),Mt(Te),Mt(ze),!0)})}if(W)try{const b=[...f.addedNodes].filter(E=>E.nodeType===1);lt.push(...b.filter(E=>E.matches(W))),lt.push(...b.flatMap(E=>[...E.querySelectorAll(W)]))}catch{}}}),(lt.length||Oe.length)&&Ke(f=>[...f.filter(b=>!Oe.includes(b)),...lt])});return Ce.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Ce.disconnect()}},[t,s,de==null?void 0:de.anchorSelect,le]),w.useEffect(()=>{Z()},[Z]),w.useEffect(()=>{if(!(ae!=null&&ae.current))return()=>null;const k=new ResizeObserver(()=>{setTimeout(()=>Z())});return k.observe(ae.current),()=>{k.disconnect()}},[se,ae==null?void 0:ae.current]),w.useEffect(()=>{var k;const B=document.querySelector(`[id='${i}']`),W=[...yt,B];le&&W.includes(le)||ge((k=yt[0])!==null&&k!==void 0?k:B)},[i,yt,le]),w.useEffect(()=>(re&&xe(!0),()=>{Mt(Te),Mt(ze)}),[]),w.useEffect(()=>{var k;let B=(k=de==null?void 0:de.anchorSelect)!==null&&k!==void 0?k:s;if(!B&&t&&(B=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),B)try{const W=Array.from(document.querySelectorAll(B));Ke(W)}catch{Ke([])}},[t,s,de==null?void 0:de.anchorSelect]),w.useEffect(()=>{Te.current&&(Mt(Te),Ft(T))},[T]);const Ie=(Ge=de==null?void 0:de.content)!==null&&Ge!==void 0?Ge:se,wt=Ae&&Object.keys(ft.tooltipStyles).length>0;return w.useImperativeHandle(e,()=>({open:k=>{if(k!=null&&k.anchorSelect)try{document.querySelector(k.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${k.anchorSelect}" is not a valid CSS selector`)}ht(k??null),k!=null&&k.delay?Ft(k.delay):xe(!0)},close:k=>{k!=null&&k.delay?vt(k.delay):xe(!1)},activeAnchor:le,place:ft.place,isOpen:!!(Je&&!x&&Ie&&wt)})),Je&&!x&&Ie?w.createElement(v,{id:t,role:qe,className:ni("react-tooltip",Er.tooltip,Io.tooltip,Io[o],r,`react-tooltip__place-${ft.place}`,Er[wt?"show":"closing"],wt?"react-tooltip__show":"react-tooltip__closing",m==="fixed"&&Er.fixed,R&&Er.clickable),onTransitionEnd:k=>{Mt(Pe),Ae||k.propertyName!=="opacity"||(pt(!1),ht(null),J==null||J())},style:{...Fe,...ft.tooltipStyles,opacity:st!==void 0&&wt?st:void 0},ref:fe},Ie,w.createElement(v,{className:ni("react-tooltip-arrow",Er.arrow,Io.arrow,n,A&&Er.noArrow),style:{...ft.tooltipArrowStyles,background:tt?`linear-gradient(to right bottom, transparent 50%, ${tt} 50%)`:void 0},ref:_e})):null},og=({content:e})=>w.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),ig=w.forwardRef(({id:e,anchorId:t,anchorSelect:r,content:n,html:o,render:i,className:s,classNameArrow:c,variant:u="dark",place:d="top",offset:h=10,wrapper:m="div",children:_=null,events:v=["hover"],openOnClick:T=!1,positionStrategy:C="absolute",middlewares:O,delayShow:x=0,delayHide:A=0,float:R=!1,hidden:M=!1,noArrow:L=!1,clickable:N=!1,closeOnEsc:P=!1,closeOnScroll:ve=!1,closeOnResize:be=!1,openEvents:pe,closeEvents:Fe,globalCloseEvents:Le,imperativeModeOnly:we=!1,style:J,position:Ee,isOpen:se,defaultIsOpen:ae=!1,disableStyleInjection:ce=!1,border:re,opacity:G,arrowColor:le,setIsOpen:ge,afterShow:H,afterHide:st,disableTooltip:tt,role:qe="tooltip"},Ge)=>{const[fe,_e]=w.useState(n),[Te,ze]=w.useState(o),[Pe,ft]=w.useState(d),[kt,Ae]=w.useState(u),[dt,Je]=w.useState(h),[pt,de]=w.useState(x),[ht,gt]=w.useState(A),[mt,Ct]=w.useState(R),[rt,at]=w.useState(M),[yt,Ke]=w.useState(m),[xt,St]=w.useState(v),[jt,He]=w.useState(C),[Pt,nt]=w.useState(null),[xe,Nt]=w.useState(null),Ft=w.useRef(ce),{anchorRefs:vt,activeAnchor:bt}=lc(e),Ye=Se=>Se==null?void 0:Se.getAttributeNames().reduce((Xe,F)=>{var Z;return F.startsWith("data-tooltip-")&&(Xe[F.replace(/^data-tooltip-/,"")]=(Z=Se==null?void 0:Se.getAttribute(F))!==null&&Z!==void 0?Z:null),Xe},{}),ct=Se=>{const Xe={place:F=>{var Z;ft((Z=F)!==null&&Z!==void 0?Z:d)},content:F=>{_e(F??n)},html:F=>{ze(F??o)},variant:F=>{var Z;Ae((Z=F)!==null&&Z!==void 0?Z:u)},offset:F=>{Je(F===null?h:Number(F))},wrapper:F=>{var Z;Ke((Z=F)!==null&&Z!==void 0?Z:m)},events:F=>{const Z=F==null?void 0:F.split(" ");St(Z??v)},"position-strategy":F=>{var Z;He((Z=F)!==null&&Z!==void 0?Z:C)},"delay-show":F=>{de(F===null?x:Number(F))},"delay-hide":F=>{gt(F===null?A:Number(F))},float:F=>{Ct(F===null?R:F==="true")},hidden:F=>{at(F===null?M:F==="true")},"class-name":F=>{nt(F)}};Object.values(Xe).forEach(F=>F(null)),Object.entries(Se).forEach(([F,Z])=>{var Ie;(Ie=Xe[F])===null||Ie===void 0||Ie.call(Xe,Z)})};w.useEffect(()=>{_e(n)},[n]),w.useEffect(()=>{ze(o)},[o]),w.useEffect(()=>{ft(d)},[d]),w.useEffect(()=>{Ae(u)},[u]),w.useEffect(()=>{Je(h)},[h]),w.useEffect(()=>{de(x)},[x]),w.useEffect(()=>{gt(A)},[A]),w.useEffect(()=>{Ct(R)},[R]),w.useEffect(()=>{at(M)},[M]),w.useEffect(()=>{He(C)},[C]),w.useEffect(()=>{Ft.current!==ce&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[ce]),w.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:ce==="core",disableBase:ce}}))},[]),w.useEffect(()=>{var Se;const Xe=new Set(vt);let F=r;if(!F&&e&&(F=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),F)try{document.querySelectorAll(F).forEach(B=>{Xe.add({current:B})})}catch{console.warn(`[react-tooltip] "${F}" is not a valid CSS selector`)}const Z=document.querySelector(`[id='${t}']`);if(Z&&Xe.add({current:Z}),!Xe.size)return()=>null;const Ie=(Se=xe??Z)!==null&&Se!==void 0?Se:bt.current,wt=new MutationObserver(B=>{B.forEach(W=>{var Ce;if(!Ie||W.type!=="attributes"||!(!((Ce=W.attributeName)===null||Ce===void 0)&&Ce.startsWith("data-tooltip-")))return;const De=Ye(Ie);ct(De)})}),k={attributes:!0,childList:!1,subtree:!1};if(Ie){const B=Ye(Ie);ct(B),wt.observe(Ie,k)}return()=>{wt.disconnect()}},[vt,bt,xe,t,r]),w.useEffect(()=>{J!=null&&J.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),re&&!zs("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."),G&&!zs("opacity",`${G}`)&&console.warn(`[react-tooltip] "${G}" is not a valid \`opacity\`.`)},[]);let We=_;const Qe=w.useRef(null);if(i){const Se=i({content:(xe==null?void 0:xe.getAttribute("data-tooltip-content"))||fe||null,activeAnchor:xe});We=Se?w.createElement("div",{ref:Qe,className:"react-tooltip-content-wrapper"},Se):null}else fe&&(We=fe);Te&&(We=w.createElement(og,{content:Te}));const $t={forwardRef:Ge,id:e,anchorId:t,anchorSelect:r,className:ni(s,Pt),classNameArrow:c,content:We,contentWrapperRef:Qe,place:Pe,variant:kt,offset:dt,wrapper:yt,events:xt,openOnClick:T,positionStrategy:jt,middlewares:O,delayShow:pt,delayHide:ht,float:mt,hidden:rt,noArrow:L,clickable:N,closeOnEsc:P,closeOnScroll:ve,closeOnResize:be,openEvents:pe,closeEvents:Fe,globalCloseEvents:Le,imperativeModeOnly:we,style:J,position:Ee,isOpen:se,defaultIsOpen:ae,border:re,opacity:G,arrowColor:le,setIsOpen:ge,afterShow:H,afterHide:st,disableTooltip:tt,activeAnchor:xe,setActiveAnchor:Se=>Nt(Se),role:qe};return w.createElement(ng,{...$t})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||Vs({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||Vs({css:`
|
|
453
|
+
.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 sg=$e(eo)``,ag=$e.div`
|
|
457
454
|
${({theme:e,$maxWidth:t="320px"})=>`
|
|
458
455
|
> :is(.react-tooltip, .react-tooltip__show, .react-tooltip__closing) {
|
|
459
456
|
background-color: ${e.palette.gray[700]};
|
|
@@ -466,59 +463,59 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
466
463
|
--rt-opacity: 1;
|
|
467
464
|
}
|
|
468
465
|
`}
|
|
469
|
-
`,ic=S.forwardRef(function({children:t,disabled:r=!1,display:n="inline-block",effect:o="solid",icon:i,iconColor:s,iconSize:c,id:u,maxWidth:d,nodeTip:h,place:y="bottom",tip:w="",title:v="",hide:T=w===""&&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?Y.jsx(S.StrictMode,{children:t}):Y.jsxs(ig,{"data-tooltip-id":u,display:n,onMouseLeave:M,onMouseMove:I,ref:R,...O,children:[i?Y.jsx(qt,{children:Y.jsx(Pr,{clickable:!0,disabled:r,icon:i,iconColor:s,iconSize:c??"xxs",iconType:E?"fa-solid":"fa-light"})}):t,fl.createPortal(Y.jsx(sg,{$maxWidth:d,children:Y.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:Y.jsx(yr,{color:de.palette.white,fontWeight:"bold",lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:v}),jo(w)?void 0:Y.jsx(yr,{color:de.palette.gray[100],lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:w}),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:c,onClick:u,showArrow:d=!1,type:h="button",tooltip:y,tooltipPlace:w="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 Y.jsx(ic,{disabled:!k,id:I,place:w,tip:y,children:Y.jsx(sf,{$variant:O,className:s,children:Y.jsxs(af,{$bold:t,$resolution:R,$variant:O,className:`${s} ${R} ${v&&"underline"}`,disabled:n,id:o,name:c,onClick:u,ref:A,type:h,value:T,...k?{"data-tooltip-id":I}:{},...E,children:[i!==void 0&&Y.jsx(Pr,{icon:i,iconSize:"xs",iconType:"fa-light"}),r,(d||O==="link")&&Y.jsx(Pr,{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]",c="[object Boolean]",u="[object Date]",d="[object Error]",h="[object Function]",y="[object GeneratorFunction]",w="[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]",J="[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[c]=q[u]=q[P]=q[ve]=q[be]=q[pe]=q[Ne]=q[w]=q[v]=q[T]=q[R]=q[E]=q[A]=q[k]=q[Me]=q[we]=q[J]=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,qe=tt&&tt.exports===st;function Ge(l,g){return l.set(g[0],g[1]),l}function ue(l,g){return l.add(g),l}function _e(l,g){for(var _=-1,L=l?l.length:0;++_<L&&g(l[_],_,l)!==!1;);return l}function Ee(l,g){for(var _=-1,L=g.length,it=l.length;++_<L;)l[it+_]=g[_];return l}function ze(l,g,_,L){for(var it=-1,Tt=l?l.length:0;++it<Tt;)_=g(_,l[it],it,l);return _}function Pe(l,g){for(var _=-1,L=Array(l);++_<l;)L[_]=g(_);return L}function ft(l,g){return l==null?void 0:l[g]}function Rt(l){var g=!1;if(l!=null&&typeof l.toString!="function")try{g=!!(l+"")}catch{}return g}function Te(l){var g=-1,_=Array(l.size);return l.forEach(function(L,it){_[++g]=[it,L]}),_}function dt(l,g){return function(_){return l(g(_))}}function Je(l){var g=-1,_=Array(l.size);return l.forEach(function(L){_[++g]=L}),_}var pt=Array.prototype,fe=Function.prototype,ht=Object.prototype,gt=G["__core-js_shared__"],mt=function(){var l=/[^.]+$/.exec(gt&>.keys&>.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""}(),Ot=fe.toString,rt=ht.hasOwnProperty,at=ht.toString,yt=RegExp("^"+Ot.call(rt).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ke=qe?G.Buffer:void 0,xt=G.Symbol,St=G.Uint8Array,kt=dt(Object.getPrototypeOf,Object),He=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"),Ye=H(G,"Promise"),ct=H(G,"Set"),Ue=H(G,"WeakMap"),Qe=H(Object,"create"),$t=cr(vt),Se=cr(bt),Xe=cr(Ye),N=cr(ct),Z=cr(Ue),je=xt?xt.prototype:void 0,wt=je?je.valueOf:void 0;function C(l){var g=-1,_=l?l.length:0;for(this.clear();++g<_;){var L=l[g];this.set(L[0],L[1])}}function V(){this.__data__=Qe?Qe(null):{}}function z(l){return this.has(l)&&delete this.__data__[l]}function Ae(l){var g=this.__data__;if(Qe){var _=g[l];return _===n?void 0:_}return rt.call(g,l)?g[l]:void 0}function Le(l){var g=this.__data__;return Qe?g[l]!==void 0:rt.call(g,l)}function lt(l,g){var _=this.__data__;return _[l]=Qe&&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(l){var g=-1,_=l?l.length:0;for(this.clear();++g<_;){var L=l[g];this.set(L[0],L[1])}}function f(){this.__data__=[]}function b(l){var g=this.__data__,_=ar(g,l);if(_<0)return!1;var L=g.length-1;return _==L?g.pop():nt.call(g,_,1),!0}function $(l){var g=this.__data__,_=ar(g,l);return _<0?void 0:g[_][1]}function F(l){return ar(this.__data__,l)>-1}function oe(l,g){var _=this.__data__,L=ar(_,l);return L<0?_.push([l,g]):_[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(l){var g=-1,_=l?l.length:0;for(this.clear();++g<_;){var L=l[g];this.set(L[0],L[1])}}function K(){this.__data__={hash:new C,map:new(bt||Oe),string:new C}}function Q(l){return U(this,l).delete(l)}function De(l){return U(this,l).get(l)}function B(l){return U(this,l).has(l)}function le(l,g){return U(this,l).set(l,g),this}te.prototype.clear=K,te.prototype.delete=Q,te.prototype.get=De,te.prototype.has=B,te.prototype.set=le;function Ce(l){this.__data__=new Oe(l)}function Ze(){this.__data__=new Oe}function Yt(l){return this.__data__.delete(l)}function ot(l){return this.__data__.get(l)}function ho(l){return this.__data__.has(l)}function gn(l,g){var _=this.__data__;if(_ instanceof Oe){var L=_.__data__;if(!bt||L.length<r-1)return L.push([l,g]),this;_=this.__data__=new te(L)}return _.set(l,g),this}Ce.prototype.clear=Ze,Ce.prototype.delete=Yt,Ce.prototype.get=ot,Ce.prototype.has=ho,Ce.prototype.set=gn;function go(l,g){var _=$o(l)||ol(l)?Pe(l.length,String):[],L=_.length,it=!!L;for(var Tt in l)rt.call(l,Tt)&&!(it&&(Tt=="length"||jt(Tt,L)))&&_.push(Tt);return _}function Vr(l,g,_){var L=l[g];(!(rt.call(l,g)&&qi(L,_))||_===void 0&&!(g in l))&&(l[g]=_)}function ar(l,g){for(var _=l.length;_--;)if(qi(l[_][0],g))return _;return-1}function mn(l,g){return l&&x(g,Eo(g),l)}function Br(l,g,_,L,it,Tt,Jt){var At;if(L&&(At=Tt?L(l,it,Tt,Jt):L(l)),At!==void 0)return At;if(!_n(l))return l;var Yi=$o(l);if(Yi){if(At=Et(l),!g)return m(l,At)}else{var xr=Ve(l),Qi=xr==h||xr==y;if(sl(l))return vo(l,g);if(xr==T||xr==i||Qi&&!Tt){if(Rt(l))return Tt?l:{};if(At=_t(Qi?{}:l),!g)return j(l,mn(At,l))}else{if(!q[xr])return Tt?l:{};At=Qt(l,xr,Br,g)}}Jt||(Jt=new Ce);var Ji=Jt.get(l);if(Ji)return Ji;if(Jt.set(l,At),!Yi)var Ki=_?ne(l):Eo(l);return _e(Ki||l,function(To,xn){Ki&&(xn=To,To=l[xn]),Vr(At,xn,Br(To,g,_,L,xn,l,Jt))}),At}function yn(l){return _n(l)?He(l):{}}function vn(l,g,_){var L=g(l);return $o(l)?L:Ee(L,_(l))}function mo(l){return at.call(l)}function yo(l){if(!_n(l)||wn(l))return!1;var g=Hi(l)||Rt(l)?yt:ae;return g.test(cr(l))}function bn(l){if(!Ur(l))return Nt(l);var g=[];for(var _ in Object(l))rt.call(l,_)&&_!="constructor"&&g.push(_);return g}function vo(l,g){if(g)return l.slice();var _=new l.constructor(l.length);return l.copy(_),_}function zr(l){var g=new l.constructor(l.byteLength);return new St(g).set(new St(l)),g}function bo(l,g){var _=g?zr(l.buffer):l.buffer;return new l.constructor(_,l.byteOffset,l.byteLength)}function wo(l,g,_){var L=g?_(Te(l),!0):Te(l);return ze(L,Ge,new l.constructor)}function _o(l){var g=new l.constructor(l.source,se.exec(l));return g.lastIndex=l.lastIndex,g}function xo(l,g,_){var L=g?_(Je(l),!0):Je(l);return ze(L,ue,new l.constructor)}function a(l){return wt?Object(wt.call(l)):{}}function p(l,g){var _=g?zr(l.buffer):l.buffer;return new l.constructor(_,l.byteOffset,l.length)}function m(l,g){var _=-1,L=l.length;for(g||(g=Array(L));++_<L;)g[_]=l[_];return g}function x(l,g,_,L){_||(_={});for(var it=-1,Tt=g.length;++it<Tt;){var Jt=g[it],At=void 0;Vr(_,Jt,At===void 0?l[Jt]:At)}return _}function j(l,g){return x(l,Fe(l),g)}function ne(l){return vn(l,Eo,Fe)}function U(l,g){var _=l.__data__;return So(g)?_[typeof g=="string"?"string":"hash"]:_.map}function H(l,g){var _=ft(l,g);return yo(_)?_:void 0}var Fe=xe?dt(xe,Object):ll,Ve=mo;(vt&&Ve(new vt(new ArrayBuffer(1)))!=D||bt&&Ve(new bt)!=w||Ye&&Ve(Ye.resolve())!=O||ct&&Ve(new ct)!=E||Ue&&Ve(new Ue)!=I)&&(Ve=function(l){var g=at.call(l),_=g==T?l.constructor:void 0,L=_?cr(_):void 0;if(L)switch(L){case $t:return D;case Se:return w;case Xe:return O;case N:return E;case Z:return I}return g});function Et(l){var g=l.length,_=l.constructor(g);return g&&typeof l[0]=="string"&&rt.call(l,"index")&&(_.index=l.index,_.input=l.input),_}function _t(l){return typeof l.constructor=="function"&&!Ur(l)?yn(kt(l)):{}}function Qt(l,g,_,L){var it=l.constructor;switch(g){case M:return zr(l);case c:case u:return new it(+l);case D:return bo(l,L);case P:case ve:case be:case pe:case Ne:case Me:case we:case J:case $e:return p(l,L);case w:return wo(l,L,_);case v:case A:return new it(l);case R:return _o(l);case E:return xo(l,L,_);case k:return a(l)}}function jt(l,g){return g=g??o,!!g&&(typeof l=="number"||re.test(l))&&l>-1&&l%1==0&&l<g}function So(l){var g=typeof l;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?l!=="__proto__":l===null}function wn(l){return!!mt&&mt in l}function Ur(l){var g=l&&l.constructor,_=typeof g=="function"&&g.prototype||ht;return l===_}function cr(l){if(l!=null){try{return Ot.call(l)}catch{}try{return l+""}catch{}}return""}function nl(l){return Br(l,!0,!0)}function qi(l,g){return l===g||l!==l&&g!==g}function ol(l){return il(l)&&rt.call(l,"callee")&&(!Pt.call(l,"callee")||at.call(l)==i)}var $o=Array.isArray;function Gi(l){return l!=null&&al(l.length)&&!Hi(l)}function il(l){return cl(l)&&Gi(l)}var sl=Dt||ul;function Hi(l){var g=_n(l)?at.call(l):"";return g==h||g==y}function al(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=o}function _n(l){var g=typeof l;return!!l&&(g=="object"||g=="function")}function cl(l){return!!l&&typeof l=="object"}function Eo(l){return Gi(l)?go(l):bn(l)}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 c(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(c,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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(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(c){switch(c.label){case 0:if(r===void 0)return[2];s=0,c.label=1;case 1:return s<r.length?[4,r[s](e,t,n,o,r)]:[3,4];case 2:if(i=c.sent(),i==="canceled")return[3,4];c.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(c){if(i.isMounted){i.htmlPluginState.pluginEventSubscription.forEach(function(d){d()});var u=ii(o,c);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 c=ii(n,s);o.imgElement.setAttribute("src",i.toURL(c))}})},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 wr(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=wr(uc);wr(xg);const $g=wr(ac),Eg=wr(wg),fc=wr(cc);wr(lc);wr(_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:c}=t,u=new this;return n&&u.paths(n),o&&u.cornersLevel(o),i&&u.despeckleLevel(i),s&&u.detailsLevel(s),c&&u.numOfColors(c),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:c,height:u}=n,d=ac[r]||r,h=new this(d,c,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`
|
|
466
|
+
`,uc=w.forwardRef(function({children:t,disabled:r=!1,display:n="inline-block",effect:o="solid",icon:i,iconColor:s,iconSize:c,id:u,maxWidth:d,nodeTip:h,place:m="bottom",tip:_="",title:v="",hide:T=_===""&&v===""&&h===void 0,...C},O){const[x,A]=w.useState(!1),R=w.useRef(null),M=w.useCallback(()=>{R.current!==null&&clearTimeout(R.current),R.current=setTimeout(()=>{A(!0)},100)},[]),L=w.useCallback(()=>{R.current!==null&&clearTimeout(R.current),R.current=setTimeout(()=>{A(!1)},100)},[]);return r?j.jsx(w.StrictMode,{children:t}):j.jsxs(sg,{"data-tooltip-id":u,display:n,onMouseLeave:L,onMouseMove:M,ref:O,...C,children:[i?j.jsx(Gt,{children:j.jsx(er,{clickable:!0,disabled:r,icon:i,iconColor:s,iconSize:c??"xxs",iconType:x?"fa-solid":"fa-light"})}):t,ml.createPortal(j.jsx(ag,{$maxWidth:d,children:j.jsxs(ig,{delayShow:500,float:o==="float"?!0:void 0,globalCloseEvents:{resize:!0},hidden:T||!x,id:u,middlewares:[qf({fallbackAxisSideDirection:"start"}),Uf({mainAxis:10})],noArrow:o==="float",place:m,children:[Po(v)?void 0:j.jsx(Ot,{color:oe.palette.white,fontWeight:"bold",lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:v}),Po(_)?void 0:j.jsx(Ot,{color:oe.palette.gray[100],lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:_}),Po(h)?void 0:h]})}),document.getElementById("root")??document.body)]})}),fc=w.forwardRef(function({bold:t=!1,children:r,disabled:n=!1,id:o,icon:i,mode:s,name:c,onClick:u,showArrow:d=!1,type:h="button",tooltip:m,tooltipPlace:_="bottom",underline:v=!1,value:T,variant:C="primaryWeb",...O},x){const A=m!==void 0,R=`${o}-tooltip`,M=!C.endsWith("Web");return j.jsx(uc,{disabled:!A,id:R,place:_,tip:m,children:j.jsxs(uf,{$variant:C,className:s,disabled:n,id:o,name:c,onClick:u,ref:x,type:h,value:T,...A?{"data-tooltip-id":R}:{},...O,children:[i!==void 0&&j.jsx(er,{icon:i,iconSize:"xs",iconType:"fa-light"}),j.jsx(Ot,{color:"inherit",fontWeight:t?"bold":"regular",lineSpacing:M?1.25:1.5,size:M?"sm":"md",sizeSm:"sm",textDecoration:v?"underline":void 0,children:r}),(d||C==="link")&&j.jsx(er,{icon:"arrow-right",iconSize:"xs",iconType:"fa-light"})]})})});var nr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ii={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Array]",c="[object Boolean]",u="[object Date]",d="[object Error]",h="[object Function]",m="[object GeneratorFunction]",_="[object Map]",v="[object Number]",T="[object Object]",C="[object Promise]",O="[object RegExp]",x="[object Set]",A="[object String]",R="[object Symbol]",M="[object WeakMap]",L="[object ArrayBuffer]",N="[object DataView]",P="[object Float32Array]",ve="[object Float64Array]",be="[object Int8Array]",pe="[object Int16Array]",Fe="[object Int32Array]",Le="[object Uint8Array]",we="[object Uint8ClampedArray]",J="[object Uint16Array]",Ee="[object Uint32Array]",se=/[\\^$.*+?()[\]{}|]/g,ae=/\w*$/,ce=/^\[object .+?Constructor\]$/,re=/^(?:0|[1-9]\d*)$/,G={};G[i]=G[s]=G[L]=G[N]=G[c]=G[u]=G[P]=G[ve]=G[be]=G[pe]=G[Fe]=G[_]=G[v]=G[T]=G[O]=G[x]=G[A]=G[R]=G[Le]=G[we]=G[J]=G[Ee]=!0,G[d]=G[h]=G[M]=!1;var le=typeof nr=="object"&&nr&&nr.Object===Object&&nr,ge=typeof self=="object"&&self&&self.Object===Object&&self,H=le||ge||Function("return this")(),st=t&&!t.nodeType&&t,tt=st&&!0&&e&&!e.nodeType&&e,qe=tt&&tt.exports===st;function Ge(l,g){return l.set(g[0],g[1]),l}function fe(l,g){return l.add(g),l}function _e(l,g){for(var S=-1,D=l?l.length:0;++S<D&&g(l[S],S,l)!==!1;);return l}function Te(l,g){for(var S=-1,D=g.length,it=l.length;++S<D;)l[it+S]=g[S];return l}function ze(l,g,S,D){for(var it=-1,Tt=l?l.length:0;++it<Tt;)S=g(S,l[it],it,l);return S}function Pe(l,g){for(var S=-1,D=Array(l);++S<l;)D[S]=g(S);return D}function ft(l,g){return l==null?void 0:l[g]}function kt(l){var g=!1;if(l!=null&&typeof l.toString!="function")try{g=!!(l+"")}catch{}return g}function Ae(l){var g=-1,S=Array(l.size);return l.forEach(function(D,it){S[++g]=[it,D]}),S}function dt(l,g){return function(S){return l(g(S))}}function Je(l){var g=-1,S=Array(l.size);return l.forEach(function(D){S[++g]=D}),S}var pt=Array.prototype,de=Function.prototype,ht=Object.prototype,gt=H["__core-js_shared__"],mt=function(){var l=/[^.]+$/.exec(gt&>.keys&>.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""}(),Ct=de.toString,rt=ht.hasOwnProperty,at=ht.toString,yt=RegExp("^"+Ct.call(rt).replace(se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ke=qe?H.Buffer:void 0,xt=H.Symbol,St=H.Uint8Array,jt=dt(Object.getPrototypeOf,Object),He=Object.create,Pt=ht.propertyIsEnumerable,nt=pt.splice,xe=Object.getOwnPropertySymbols,Nt=Ke?Ke.isBuffer:void 0,Ft=dt(Object.keys,Object),vt=Y(H,"DataView"),bt=Y(H,"Map"),Ye=Y(H,"Promise"),ct=Y(H,"Set"),We=Y(H,"WeakMap"),Qe=Y(Object,"create"),$t=ur(vt),Se=ur(bt),Xe=ur(Ye),F=ur(ct),Z=ur(We),Ie=xt?xt.prototype:void 0,wt=Ie?Ie.valueOf:void 0;function k(l){var g=-1,S=l?l.length:0;for(this.clear();++g<S;){var D=l[g];this.set(D[0],D[1])}}function B(){this.__data__=Qe?Qe(null):{}}function W(l){return this.has(l)&&delete this.__data__[l]}function Ce(l){var g=this.__data__;if(Qe){var S=g[l];return S===n?void 0:S}return rt.call(g,l)?g[l]:void 0}function De(l){var g=this.__data__;return Qe?g[l]!==void 0:rt.call(g,l)}function lt(l,g){var S=this.__data__;return S[l]=Qe&&g===void 0?n:g,this}k.prototype.clear=B,k.prototype.delete=W,k.prototype.get=Ce,k.prototype.has=De,k.prototype.set=lt;function Oe(l){var g=-1,S=l?l.length:0;for(this.clear();++g<S;){var D=l[g];this.set(D[0],D[1])}}function f(){this.__data__=[]}function b(l){var g=this.__data__,S=lr(g,l);if(S<0)return!1;var D=g.length-1;return S==D?g.pop():nt.call(g,S,1),!0}function E(l){var g=this.__data__,S=lr(g,l);return S<0?void 0:g[S][1]}function V(l){return lr(this.__data__,l)>-1}function ie(l,g){var S=this.__data__,D=lr(S,l);return D<0?S.push([l,g]):S[D][1]=g,this}Oe.prototype.clear=f,Oe.prototype.delete=b,Oe.prototype.get=E,Oe.prototype.has=V,Oe.prototype.set=ie;function te(l){var g=-1,S=l?l.length:0;for(this.clear();++g<S;){var D=l[g];this.set(D[0],D[1])}}function K(){this.__data__={hash:new k,map:new(bt||Oe),string:new k}}function Q(l){return U(this,l).delete(l)}function Ne(l){return U(this,l).get(l)}function z(l){return U(this,l).has(l)}function ue(l,g){return U(this,l).set(l,g),this}te.prototype.clear=K,te.prototype.delete=Q,te.prototype.get=Ne,te.prototype.has=z,te.prototype.set=ue;function Re(l){this.__data__=new Oe(l)}function Ze(){this.__data__=new Oe}function Qt(l){return this.__data__.delete(l)}function ot(l){return this.__data__.get(l)}function ho(l){return this.__data__.has(l)}function gn(l,g){var S=this.__data__;if(S instanceof Oe){var D=S.__data__;if(!bt||D.length<r-1)return D.push([l,g]),this;S=this.__data__=new te(D)}return S.set(l,g),this}Re.prototype.clear=Ze,Re.prototype.delete=Qt,Re.prototype.get=ot,Re.prototype.has=ho,Re.prototype.set=gn;function go(l,g){var S=$o(l)||ll(l)?Pe(l.length,String):[],D=S.length,it=!!D;for(var Tt in l)rt.call(l,Tt)&&!(it&&(Tt=="length"||It(Tt,D)))&&S.push(Tt);return S}function Vr(l,g,S){var D=l[g];(!(rt.call(l,g)&&Yi(D,S))||S===void 0&&!(g in l))&&(l[g]=S)}function lr(l,g){for(var S=l.length;S--;)if(Yi(l[S][0],g))return S;return-1}function mn(l,g){return l&&$(g,Eo(g),l)}function Br(l,g,S,D,it,Tt,Kt){var At;if(D&&(At=Tt?D(l,it,Tt,Kt):D(l)),At!==void 0)return At;if(!_n(l))return l;var Ki=$o(l);if(Ki){if(At=Et(l),!g)return y(l,At)}else{var Sr=Be(l),Xi=Sr==h||Sr==m;if(fl(l))return vo(l,g);if(Sr==T||Sr==i||Xi&&!Tt){if(kt(l))return Tt?l:{};if(At=_t(Xi?{}:l),!g)return I(l,mn(At,l))}else{if(!G[Sr])return Tt?l:{};At=Jt(l,Sr,Br,g)}}Kt||(Kt=new Re);var Zi=Kt.get(l);if(Zi)return Zi;if(Kt.set(l,At),!Ki)var es=S?ne(l):Eo(l);return _e(es||l,function(To,xn){es&&(xn=To,To=l[xn]),Vr(At,xn,Br(To,g,S,D,xn,l,Kt))}),At}function yn(l){return _n(l)?He(l):{}}function vn(l,g,S){var D=g(l);return $o(l)?D:Te(D,S(l))}function mo(l){return at.call(l)}function yo(l){if(!_n(l)||wn(l))return!1;var g=Ji(l)||kt(l)?yt:ce;return g.test(ur(l))}function bn(l){if(!Wr(l))return Ft(l);var g=[];for(var S in Object(l))rt.call(l,S)&&S!="constructor"&&g.push(S);return g}function vo(l,g){if(g)return l.slice();var S=new l.constructor(l.length);return l.copy(S),S}function zr(l){var g=new l.constructor(l.byteLength);return new St(g).set(new St(l)),g}function bo(l,g){var S=g?zr(l.buffer):l.buffer;return new l.constructor(S,l.byteOffset,l.byteLength)}function wo(l,g,S){var D=g?S(Ae(l),!0):Ae(l);return ze(D,Ge,new l.constructor)}function _o(l){var g=new l.constructor(l.source,ae.exec(l));return g.lastIndex=l.lastIndex,g}function xo(l,g,S){var D=g?S(Je(l),!0):Je(l);return ze(D,fe,new l.constructor)}function a(l){return wt?Object(wt.call(l)):{}}function p(l,g){var S=g?zr(l.buffer):l.buffer;return new l.constructor(S,l.byteOffset,l.length)}function y(l,g){var S=-1,D=l.length;for(g||(g=Array(D));++S<D;)g[S]=l[S];return g}function $(l,g,S,D){S||(S={});for(var it=-1,Tt=g.length;++it<Tt;){var Kt=g[it],At=void 0;Vr(S,Kt,At===void 0?l[Kt]:At)}return S}function I(l,g){return $(l,Ve(l),g)}function ne(l){return vn(l,Eo,Ve)}function U(l,g){var S=l.__data__;return So(g)?S[typeof g=="string"?"string":"hash"]:S.map}function Y(l,g){var S=ft(l,g);return yo(S)?S:void 0}var Ve=xe?dt(xe,Object):hl,Be=mo;(vt&&Be(new vt(new ArrayBuffer(1)))!=N||bt&&Be(new bt)!=_||Ye&&Be(Ye.resolve())!=C||ct&&Be(new ct)!=x||We&&Be(new We)!=M)&&(Be=function(l){var g=at.call(l),S=g==T?l.constructor:void 0,D=S?ur(S):void 0;if(D)switch(D){case $t:return N;case Se:return _;case Xe:return C;case F:return x;case Z:return M}return g});function Et(l){var g=l.length,S=l.constructor(g);return g&&typeof l[0]=="string"&&rt.call(l,"index")&&(S.index=l.index,S.input=l.input),S}function _t(l){return typeof l.constructor=="function"&&!Wr(l)?yn(jt(l)):{}}function Jt(l,g,S,D){var it=l.constructor;switch(g){case L:return zr(l);case c:case u:return new it(+l);case N:return bo(l,D);case P:case ve:case be:case pe:case Fe:case Le:case we:case J:case Ee:return p(l,D);case _:return wo(l,D,S);case v:case A:return new it(l);case O:return _o(l);case x:return xo(l,D,S);case R:return a(l)}}function It(l,g){return g=g??o,!!g&&(typeof l=="number"||re.test(l))&&l>-1&&l%1==0&&l<g}function So(l){var g=typeof l;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?l!=="__proto__":l===null}function wn(l){return!!mt&&mt in l}function Wr(l){var g=l&&l.constructor,S=typeof g=="function"&&g.prototype||ht;return l===S}function ur(l){if(l!=null){try{return Ct.call(l)}catch{}try{return l+""}catch{}}return""}function cl(l){return Br(l,!0,!0)}function Yi(l,g){return l===g||l!==l&&g!==g}function ll(l){return ul(l)&&rt.call(l,"callee")&&(!Pt.call(l,"callee")||at.call(l)==i)}var $o=Array.isArray;function Qi(l){return l!=null&&dl(l.length)&&!Ji(l)}function ul(l){return pl(l)&&Qi(l)}var fl=Nt||gl;function Ji(l){var g=_n(l)?at.call(l):"";return g==h||g==m}function dl(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=o}function _n(l){var g=typeof l;return!!l&&(g=="object"||g=="function")}function pl(l){return!!l&&typeof l=="object"}function Eo(l){return Qi(l)?go(l):bn(l)}function hl(){return[]}function gl(){return!1}e.exports=cl})(ii,ii.exports);var or=ii.exports,si=function(){return si=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},si.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 c(h){try{d(n.next(h))}catch(m){s(m)}}function u(h){try{d(n.throw(h))}catch(m){s(m)}}function d(h){h.done?i(h.value):o(h.value).then(c,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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(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 Wn(e,t,r,n,o){return cg(this,void 0,void 0,function(){var i,s;return lg(this,function(c){switch(c.label){case 0:if(r===void 0)return[2];s=0,c.label=1;case 1:return s<r.length?[4,r[s](e,t,n,o,r)]:[3,4];case 2:if(i=c.sent(),i==="canceled")return[3,4];c.label=3;case 3:return s++,[3,1];case 4:return i!=="canceled"?[2,i]:[2]}})})}var ai=function(e,t){return t===void 0&&(t={}),e?{trackedAnalytics:si({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=or(r);Wn(t,s,n,this.htmlPluginState,o).then(function(c){if(i.isMounted){i.htmlPluginState.pluginEventSubscription.forEach(function(d){d()});var u=ai(o,c);i.imgElement.setAttribute("src",s.toURL(u))}})}return e.prototype.update=function(t,r,n){var o=this,i=or(t);Wn(this.imgElement,i,r,this.htmlPluginState).then(function(s){if(o.isMounted){var c=ai(n,s);o.imgElement.setAttribute("src",i.toURL(c))}})},e.prototype.unmount=function(){this.isMounted=!1},e}();let Me=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 Ai(e){return new fg(e)}function dg(){return this._qualifierModel||{error:Ai(`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 Me?this.qualifierValue=r:(this.qualifierValue=new Me,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 Me([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:Ai(`unsupported action ${this.constructor.name}`)}}let mg=class{constructor(){this._actionModel={}}toJson(){return gg.apply(this)}},Wt=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 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 Ci extends Wt{constructor(t){super(),this.regionType=t,this._actionModel.regionType=t}}class io extends Ci{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 dc(){return new Ci("faces")}function vg(){return new Ci("ocr_text")}class bg extends Wt{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(dc()),n&&n.regionType==="ocr_text"&&o.region(vg()),n&&n.regionType==="custom"&&o.region(io.fromJson(n)),o}}function _r(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const pc={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"},hc={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},gc={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"},mc={444:"CHROMA_444",420:"CHROMA_420"},xg={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},Sg=_r(mc);_r(xg);const $g=_r(pc),Eg=_r(wg),yc=_r(hc);_r(gc);_r(_g);class vc extends Wt{constructor(t,r){super(),this._actionModel={},this._actionModel.actionType=yc[t]||t;const n=this.createEffectQualifier(t,r);this.addQualifier(n)}createEffectQualifier(t,r){let n;return r?n=new Me([t,`${r}`]).setDelimiter(":"):n=new Me(t),new X("e",n)}static fromJson(t){const{actionType:r,level:n,strength:o}=t,i=hc[r]||r;return new this(i,n||o)}}class Tg extends vc{constructor(t,r){super(t,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=t,this._actionModel.actionType=yc[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 Wt{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 Me(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(t+=`:${new Me(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(t+=`:${new Me(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(t+=`:${new Me(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(t+=`:${new Me(`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:c}=t,u=new this;return n&&u.paths(n),o&&u.cornersLevel(o),i&&u.despeckleLevel(i),s&&u.detailsLevel(s),c&&u.numOfColors(c),u}}class Cg extends Tg{level(t){return this._actionModel.level=t,this.setLevel(t)}}class Og extends Wt{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new X("e",new Me("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new X("e",new Me(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(t){return this._actionModel.type="stripes",this._actionModel.stripesStrength=t,this.addQualifier(new X("e",new Me(["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 Cg{color(t){return this._actionModel.color=t,this.addQualifier(new X("co",new Me(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 Wt{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(dc()),r&&r.regionType==="custom"&&o.region(yg()),o}}function jg(e){return new bg(e)}function Pg(){return new vc("grayscale")}function Gs(e){return new Rg("colorize",e)}function Ig(){return new Ag}function Mg(){return new Og}function Lg(e){return new kg(e)}let Dg=class extends Wt{constructor(t){super(),this._actionModel={},this.addQualifier(new X("b",new Me(so(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}},Hs=class{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:Ai(`unsupported action ${this.constructor.name}`)}}};function Ng(e){const t=e;return"error"in t&&!!t.error}function Fg(){return new Lt("ignore_aspect_ratio")}function Vg(){return new Lt("lossy")}function Bg(){return new Lt("preserve_transparency")}function zg(e){return new Lt("progressive",e)}function Wg(){return new Lt("region_relative")}function Ug(){return new Lt("relative")}let Oi=class extends Me{constructor(t){super(t),this.val=t}getValue(){return this.val}},bc=class extends Wt{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Oi?o=r.getValue():o=r,this._actionModel.actionType=Eg[t],this._actionModel[n]=o,this.addQualifier(new X(t,r))}},qg=class extends Lt{constructor(t){super("progressive",t)}},ci=class extends bc{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 wc{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 Hs(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof wc?this.actions=this.actions.concat(t.actions):this.actions.push(new Hs(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 ci("q",t)),this}format(t){return this.addAction(new ci("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 Wt;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(Ng(n))return n;t.push(n)}return{actions:t}}};function Ys(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 Me{}class Hg extends Wt{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=Ys(t),this.addQualifier(new X("ar",Ys(t)));if(t instanceof Lt)return this._actionModel.dimensions.aspectRatio=`${t.qualifierValue}`,this.addFlag(t)}relative(){return this._actionModel.relative=!0,this.addFlag(Ug())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(Wg())}static fromJson(t){const{actionType:r,dimensions:n,relative:o,regionRelative:i}=t,{aspectRatio:s,width:c,height:u}=n,d=pc[r]||r,h=new this(d,c,u);return s&&h.aspectRatio(s==="ignore_aspect_ratio"?Fg():s),o&&h.relative(),i&&h.regionRelative(),h}}class Ri extends X{constructor(t){super("g",new Me(t))}}class _c extends Ri{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}class xc extends Ri{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}class Sc extends Ri{constructor(t){super(t)}}function Yg(e){return new Sc(e)}function $c(...e){const t=[...e];return new xc(t)}function Ec(){return new _c}class co extends Me{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=ki(e);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(t)}function ki(e){return`${e}`.replace("g_","")}function Xg(e){return{compass:ki(e),gravityType:"direction"}}function Zg(e){return ki(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 Tc(e){let t;const r=e==="auto"?new _c: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=Ec().autoFocus(...i);o.fallbackGravity=Tc(s)}return o}function om(e){const r=e.split(":").map(n=>new co(n));return new xc(r)}function im(e){return Kg(e)?Xg(e):Zg(e)?em():Jg(e)||tm(e)?Tc(e):nm(typeof e=="string"?om(e):e)}class ji extends Me{constructor(t,r){super(),this._weight=r,this.focusOn=t,this.shouldAvoid=!1}static focusOn(t,r){return new ji(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 Ac extends Me{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 ji(new co(t));return(r||r===0)&&o.weight(r),n&&o.avoid(),o}function Cc(e){const r=(e.autoFocus||[]).map(lm);return Ec().autoFocus(...r)}function um(e){const t=(e.focusOnObjects||[]).map(n=>new co(n)),r=$c(...t);if(e.fallbackGravity){const n=Cc(e.fallbackGravity);r.fallbackGravity(n)}return r}function fm(e){return sm(e)?new Sc(new Ac(e.compass)):am(e)?$c(Qg()):cm(e)?Cc(e):um(e)}class Pi 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 Oc=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}`:`:${Oc}:${this.brightnessLevel}`:"";return`b_blurred${t}${r}`}}var Rc=pm;class Ii extends dn{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...t){return this._palette=t.map(r=>so(r)),this}}class kc extends Ii{toString(){return`
|
|
470
467
|
b_auto:border
|
|
471
468
|
${this._contrast?"_contrast":""}
|
|
472
469
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
473
|
-
`.replace(/\s+/g,"")}}class
|
|
470
|
+
`.replace(/\s+/g,"")}}class jc extends Ii{gradientColors(t){return this._gradientColors=t,this}gradientDirection(t){return this._gradientDirection=t,this}}class Pc extends jc{toString(){return`
|
|
474
471
|
b_auto:border_gradient
|
|
475
472
|
${this._contrast?"_contrast":""}
|
|
476
473
|
${this._gradientColors?`:${this._gradientColors}`:""}
|
|
477
474
|
${this._gradientDirection?`:${this._gradientDirection}`:""}
|
|
478
475
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
479
|
-
`.replace(/\s+/g,"")}}class
|
|
476
|
+
`.replace(/\s+/g,"")}}class Ic extends jc{toString(){return`
|
|
480
477
|
b_auto:predominant_gradient
|
|
481
478
|
${this._contrast?"_contrast":""}
|
|
482
479
|
${this._gradientColors?`:${this._gradientColors}`:""}
|
|
483
480
|
${this._gradientDirection?`:${this._gradientDirection}`:""}
|
|
484
481
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
485
|
-
`.replace(/\s+/g,"")}}class
|
|
482
|
+
`.replace(/\s+/g,"")}}class Mc extends Ii{toString(){return`
|
|
486
483
|
b_auto:predominant
|
|
487
484
|
${this._contrast?"_contrast":""}
|
|
488
485
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
489
|
-
`.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 c=Sg[n.toUpperCase()];c&&s.chromaSubSampling(+c)}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,c){var u=this;this.mimeType="video",this.mimeSubTypes=Js,this.videoElement=t,this.originalVideo=r,this.videoOptions=c,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,c=o.transcode;return n.appendSourceTag(rr(t).transcode(c),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 c=t.toURL(),u=c.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 c=s[i],u=c[0],d=c[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 c=this.videoElement.getElementsByTagName("SOURCE");c[0];)c[0].parentNode.removeChild(c[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 c=function(){return s({lazyload:!0})},u=Hm(r,c,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,c=rr(r);if(s.forEach(function(d){c.addAction(d)}),!Mi())return r.transformation=c.transformation,!0;if(Um(t)){c.transformation.actions.forEach(function(d,h){d instanceof zt&&d.getActionTag()==="responsive"&&delete c.transformation.actions[h]});var u=ii(o,{placeholder:!0});return t.src=c.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={};/*
|
|
486
|
+
`.replace(/\s+/g,"")}}class Lc 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 Dc(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 Mi(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({},Mi(e)),{backgroundType:"border"})}function Nc(e){const t=e._gradientColors,r=`${e._gradientDirection}`,n=Mi(e);return t&&(n.gradientColors=t),r&&(n.gradientDirection=r),n}function ym(e){return Object.assign(Object.assign({},Nc(e)),{backgroundType:"borderGradient"})}function vm(e){return{backgroundType:"color",color:Dc(e)}}function bm(e){return Object.assign(Object.assign({},Mi(e)),{backgroundType:"predominant"})}function wm(e){return Object.assign(Object.assign({},Nc(e)),{backgroundType:"predominantGradient"})}function _m(e){return Object.assign({backgroundType:e.getBackgroundType()},e.getPrompt()?{prompt:e.getPrompt()}:{})}function xm(e){return Dc(e)==="auto"?hm():e instanceof Rc?gm(e):e instanceof kc?mm(e):e instanceof Pc?ym(e):e instanceof Mc?bm(e):e instanceof Ic?wm(e):e instanceof Lc?_m(e):vm(e)}function Sm(){return new Oi("svg")}function Li(){return new Oi("auto")}function Fc(){return new kc}function Vc(){return new dn("auto")}function Bc(){return new Pc}function zc(){return new Ic}function Wc(){return new Mc}function Uc(e){return new dn(so(e))}function $m(){return new Rc}function qc(){return new Lc}const Gc={auto:Vc,border:Fc,borderGradient:Bc,predominantGradient:zc,predominant:Wc,color:Uc,blurred:$m,generativeFill:qc};function Em(e){const{brightness:t,intensity:r}=e,n=Gc.blurred();return n.brightness(t??dm),n.intensity(r??Oc),n}function Qs(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 Js(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 Vc();case"blurred":return Em(e);case"border":return Js(Fc(),e);case"borderGradient":return Qs(Bc(),e);case"predominant":return Js(Wc(),e);case"predominantGradient":return Qs(zc(),e);case"generativeFill":return Tm(qc(),e);default:return Uc(e.color)}}class Cm extends Pi{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 Om extends Pi{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 Pi{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 Om("crop",e,t)}function jm(e,t){return new Rm("fill",e,t)}function Pm(e,t){return new Cm("pad",e,t)}class Im extends bc{constructor(t){super("q",t.toString(),"level")}chromaSubSampling(t){this._actionModel.chromaSubSampling=mc[t];const r=new Me([this._actionModel.level,t]);return r.setDelimiter(":"),this.addQualifier(new X("q",r))}quantization(t){this._actionModel.quantization=t;const r=new Me([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=gc[r]||r,s=new this(i);if(n){const c=Sg[n.toUpperCase()];c&&s.chromaSubSampling(+c)}return o&&s.quantization(o),s}}function lo(e){return new ci("f",e)}function uo(e){return new Im(e)}function Mm(){return new Ac("north_east")}Gs(70).color("black"),Gs(40).color("white"),Pg(),Mg();var Lm=new ao().effect(Ig()).delivery(uo("auto")).delivery(lo(Sm())),Dm=new ao().effect(Lg()).delivery(uo("auto")).delivery(lo(Li())),Nm=new ao().effect(jg(2e3)).delivery(uo("auto")).delivery(lo(Li())),Fm=new ao().resize(Pm("iw_div_2").aspectRatio(1).background(Gc.auto())).resize(km(1,1).gravity(Yg(Mm()))).resize(jm().height("ih").width("iw")).delivery(uo("auto")).delivery(lo(Li())),Ks={vectorize:Lm,pixelate:Dm,blur:Nm,"predominant-color":Fm},Xs="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Zs={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},ea="?_a=",Vm=function(){function e(t,r,n,o,i,s,c){var u=this;this.mimeType="video",this.mimeSubTypes=Zs,this.videoElement=t,this.originalVideo=r,this.videoOptions=c,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var d=or(r);Wn(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(or(t),i)})}},e.prototype.generateUserSources=function(t,r){var n=this;r.map(function(o){var i=o.type,s=o.codecs,c=o.transcode;return n.appendSourceTag(or(t).transcode(c),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 c=t.toURL(),u=c.split(ea),d=u[1]?"".concat(ea).concat(u[1]):"",h=s?"":".".concat(r);i.src="".concat(u[0]).concat(h).concat(d),i.type=n||"video/".concat(Zs[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=or(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 c=s[i],u=c[0],d=c[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 c=this.videoElement.getElementsByTagName("SOURCE");c[0];)c[0].parentNode.removeChild(c[0]);Wn(this.videoElement,t,n,this.htmlPluginState).then(function(){s.setVideoAttributes(o,i),s.handleSourceToVideo(t,r),s.videoElement.load()})}},e}(),Bm=typeof nr=="object"&&nr&&nr.Object===Object&&nr,zm=typeof self=="object"&&self&&self.Object===Object&&self;Bm||zm||Function("return this")();function Di(){return typeof window<"u"}function Wm(e){return e instanceof HTMLImageElement}function Um(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),Di()?new Promise(function(s){var c=function(){return s({lazyload:!0})},u=Hm(r,c,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){Ks[e]||(e="vectorize");var s=Ks[e].actions,c=or(r);if(s.forEach(function(d){c.addAction(d)}),!Di())return r.transformation=c.transformation,!0;if(Wm(t)){c.transformation.actions.forEach(function(d,h){d instanceof Wt&&d.getActionTag()==="responsive"&&delete c.transformation.actions[h]});var u=ai(o,{placeholder:!0});return t.src=c.toURL(u),t.onerror=function(){t.src=Xs},new Promise(function(d){t.onload=function(){d()}}).then(function(){return new Promise(function(d){n.cleanupCallbacks.push(function(){t.src=Xs,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=or(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 Un(e){e.cleanupCallbacks.forEach(function(t){t()})}var li=function(e,t){return li=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])},li(e,t)};function Hc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");li(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 Yc(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={};/*
|
|
490
487
|
object-assign
|
|
491
488
|
(c) Sindre Sorhus
|
|
492
489
|
@license MIT
|
|
493
|
-
*/var
|
|
490
|
+
*/var ta=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 Qc=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(ta){o=ta(r);for(var c=0;c<o.length;c++)Xm.call(r,o[c])&&(n[o[c]]=r[o[c]])}}return n};/** @license React v16.14.0
|
|
494
491
|
* react.production.min.js
|
|
495
492
|
*
|
|
496
493
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
497
494
|
*
|
|
498
495
|
* This source code is licensed under the MIT license found in the
|
|
499
496
|
* LICENSE file in the root directory of this source tree.
|
|
500
|
-
*/var
|
|
497
|
+
*/var Ni=Qc,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,ra=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 Jc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Kc={};function Fr(e,t,r){this.props=e,this.context=t,this.refs=Kc,this.updater=r||Jc}Fr.prototype.isReactComponent={};Fr.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")};Fr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Xc(){}Xc.prototype=Fr.prototype;function Fi(e,t,r){this.props=e,this.context=t,this.refs=Kc,this.updater=r||Jc}var Vi=Fi.prototype=new Xc;Vi.constructor=Fi;Ni(Vi,Fr.prototype);Vi.isPureReactComponent=!0;var Bi={current:null},Zc=Object.prototype.hasOwnProperty,el={key:!0,ref:!0,__self:!0,__source:!0};function tl(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)Zc.call(t,n)&&!el.hasOwnProperty(n)&&(o[n]=t[n]);var c=arguments.length-2;if(c===1)o.children=r;else if(1<c){for(var u=Array(c),d=0;d<c;d++)u[d]=arguments[d+2];o.children=u}if(e&&e.defaultProps)for(n in c=e.defaultProps,c)o[n]===void 0&&(o[n]=c[n]);return{$$typeof:pn,type:e,key:i,ref:s,props:o,_owner:Bi.current}}function fy(e,t){return{$$typeof:pn,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function zi(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 rl=/\/+/g,qn=[];function nl(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 ol(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>qn.length&&qn.push(e)}function ui(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 c=t+Mo(o,s);i+=ui(o,c,r,n)}else if(e===null||typeof e!="object"?c=null:(c=ra&&e[ra]||e["@@iterator"],c=typeof c=="function"?c:null),typeof c=="function")for(e=c.call(e),s=0;!(o=e.next()).done;)o=o.value,c=t+Mo(o,s++),i+=ui(o,c,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 fi(e,t,r){return e==null?0:ui(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)?di(e,n,r,function(i){return i}):e!=null&&(zi(e)&&(e=fy(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(rl,"$&/")+"/")+r)),n.push(e))}function di(e,t,r,n,o){var i="";r!=null&&(i=(""+r).replace(rl,"$&/")+"/"),t=nl(t,i,n,o),fi(e,hy,t),ol(t)}var il={current:null};function tr(){var e=il.current;if(e===null)throw Error(hn(321));return e}var gy={ReactCurrentDispatcher:il,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:Bi,IsSomeRendererActing:{current:!1},assign:Ni};ye.Children={map:function(e,t,r){if(e==null)return e;var n=[];return di(e,n,null,t,r),n},forEach:function(e,t,r){if(e==null)return e;t=nl(null,null,t,r),fi(e,py,t),ol(t)},count:function(e){return fi(e,function(){return null},null)},toArray:function(e){var t=[];return di(e,t,null,function(r){return r}),t},only:function(e){if(!zi(e))throw Error(hn(143));return e}};ye.Component=Fr;ye.Fragment=ry;ye.Profiler=oy;ye.PureComponent=Fi;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=Ni({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Bi.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)Zc.call(t,u)&&!el.hasOwnProperty(u)&&(n[u]=t[u]===void 0&&c!==void 0?c[u]:t[u])}var u=arguments.length-2;if(u===1)n.children=r;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];n.children=c}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=tl;ye.createFactory=function(e){var t=tl.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=zi;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 tr().useCallback(e,t)};ye.useContext=function(e,t){return tr().useContext(e,t)};ye.useDebugValue=function(){};ye.useEffect=function(e,t){return tr().useEffect(e,t)};ye.useImperativeHandle=function(e,t,r){return tr().useImperativeHandle(e,t,r)};ye.useLayoutEffect=function(e,t){return tr().useLayoutEffect(e,t)};ye.useMemo=function(e,t){return tr().useMemo(e,t)};ye.useReducer=function(e,t,r){return tr().useReducer(e,t,r)};ye.useRef=function(e){return tr().useRef(e)};ye.useState=function(e){return tr().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),pi=function(){};if(process.env.NODE_ENV!=="production"){var by=yy,hi={},wy=vy;pi=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function sl(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 c=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 c.name="Invariant Violation",c}s=e[i](t,i,n,r,null,by)}catch(d){s=d}if(s&&!(s instanceof Error)&&pi((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 hi)){hi[s.message]=!0;var u=o?o():"";pi("Failed "+r+" type: "+s.message+(u??""))}}}}sl.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(hi={})};var _y=sl;/** @license React v16.14.0
|
|
501
498
|
* react.development.js
|
|
502
499
|
*
|
|
503
500
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
504
501
|
*
|
|
505
502
|
* This source code is licensed under the MIT license found in the
|
|
506
503
|
* LICENSE file in the root directory of this source tree.
|
|
507
|
-
*/process.env.NODE_ENV!=="production"&&function(){var e=
|
|
508
|
-
in `+(a||"Unknown")
|
|
509
|
-
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 qe(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 Ge={isMounted:function(a){return!1},enqueueForceUpdate:function(a,p,m){qe(a,"forceUpdate")},enqueueReplaceState:function(a,p,m,x){qe(a,"replaceState")},enqueueSetState:function(a,p,m,x){qe(a,"setState")}},ue={};Object.freeze(ue);function _e(a,p,m){this.props=a,this.context=p,this.refs=ue,this.updater=m||Ge}_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)."]},ze=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)&&ze(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||Ge}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 He(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,Ye=[];function ct(a,p,m,x){if(Ye.length){var j=Ye.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 Ue(a){a.result=null,a.keyPrefix=null,a.func=null,a.context=null,a.count=0,Ye.length<bt&&Ye.push(a)}function Qe(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+=Qe(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+=Qe(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 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 $t(a,p,m){return a==null?0:Qe(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),Ue(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&&(He(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),Ue(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(!He(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:w,render:a}}function Oe(a){return typeof a=="string"||typeof a=="function"||a===s||a===y||a===u||a===c||a===v||a===T||typeof a=="object"&&a!==null&&(a.$$typeof===R||a.$$typeof===O||a.$$typeof===d||a.$$typeof===h||a.$$typeof===w||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:
|
|
504
|
+
*/process.env.NODE_ENV!=="production"&&function(){var e=Qc,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,c=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,m=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,C=n?Symbol.for("react.memo"):60115,O=n?Symbol.for("react.lazy"):60116,x=n?Symbol.for("react.block"):60121,A=n?Symbol.for("react.fundamental"):60117,R=n?Symbol.for("react.responder"):60118,M=n?Symbol.for("react.scope"):60119,L=typeof Symbol=="function"&&Symbol.iterator,N="@@iterator";function P(a){if(a===null||typeof a!="object")return null;var p=L&&a[L]||a[N];return typeof p=="function"?p:null}var ve={current:null},be={suspense:null},pe={current:null},Fe=/^(.*)[\\\/]/;function Le(a,p,y){var $="";if(p){var I=p.fileName,ne=I.replace(Fe,"");if(/^index\./.test(ne)){var U=I.match(Fe);if(U){var Y=U[1];if(Y){var Ve=Y.replace(Fe,"");ne=Ve+"/"+ne}}}$=" (at "+ne+":"+p.lineNumber+")"}else y&&($=" (created by "+y+")");return`
|
|
505
|
+
in `+(a||"Unknown")+$}var we=1;function J(a){return a._status===we?a._result:null}function Ee(a,p,y){var $=p.displayName||p.name||"";return a.displayName||($!==""?y+"("+$+")":y)}function se(a){if(a==null)return null;if(typeof a.tag=="number"&&H("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 c: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 Ee(a,a.render,"ForwardRef");case C:return se(a.type);case x:return se(a.render);case O:{var p=a,y=J(p);if(y)return se(y);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),y=ce._owner;a+=Le(p,ce._source,y&&se(y.type))}var $=ae.getCurrentStack;return $&&(a+=$()||""),a};var G={current:!1},le={ReactCurrentDispatcher:ve,ReactCurrentBatchConfig:be,ReactCurrentOwner:pe,IsSomeRendererActing:G,assign:e};e(le,{ReactDebugCurrentFrame:ae,ReactComponentTreeHook:{}});function ge(a){{for(var p=arguments.length,y=new Array(p>1?p-1:0),$=1;$<p;$++)y[$-1]=arguments[$];st("warn",a,y)}}function H(a){{for(var p=arguments.length,y=new Array(p>1?p-1:0),$=1;$<p;$++)y[$-1]=arguments[$];st("error",a,y)}}function st(a,p,y){{var $=y.length>0&&typeof y[y.length-1]=="string"&&y[y.length-1].indexOf(`
|
|
506
|
+
in`)===0;if(!$){var I=le.ReactDebugCurrentFrame,ne=I.getStackAddendum();ne!==""&&(p+="%s",y=y.concat([ne]))}var U=y.map(function(Be){return""+Be});U.unshift("Warning: "+p),Function.prototype.apply.call(console[a],console,U);try{var Y=0,Ve="Warning: "+p.replace(/%s/g,function(){return y[Y++]});throw new Error(Ve)}catch{}}}var tt={};function qe(a,p){{var y=a.constructor,$=y&&(y.displayName||y.name)||"ReactClass",I=$+"."+p;if(tt[I])return;H("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,$),tt[I]=!0}}var Ge={isMounted:function(a){return!1},enqueueForceUpdate:function(a,p,y){qe(a,"forceUpdate")},enqueueReplaceState:function(a,p,y,$){qe(a,"replaceState")},enqueueSetState:function(a,p,y,$){qe(a,"setState")}},fe={};Object.freeze(fe);function _e(a,p,y){this.props=a,this.context=p,this.refs=fe,this.updater=y||Ge}_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 Te={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)."]},ze=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 Te)Te.hasOwnProperty(Pe)&&ze(Pe,Te[Pe])}function ft(){}ft.prototype=_e.prototype;function kt(a,p,y){this.props=a,this.context=p,this.refs=fe,this.updater=y||Ge}var Ae=kt.prototype=new ft;Ae.constructor=kt,e(Ae,_e.prototype),Ae.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},de,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 Ct(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 y=function(){de||(de=!0,H("%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))};y.isReactWarning=!0,Object.defineProperty(a,"key",{get:y,configurable:!0})}function at(a,p){var y=function(){ht||(ht=!0,H("%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))};y.isReactWarning=!0,Object.defineProperty(a,"ref",{get:y,configurable:!0})}function yt(a){if(typeof a.ref=="string"&&pe.current&&a.__self&&pe.current.stateNode!==a.__self){var p=se(pe.current.type);gt[p]||(H('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),gt[p]=!0)}}var Ke=function(a,p,y,$,I,ne,U){var Y={$$typeof:o,type:a,key:p,ref:y,props:U,_owner:ne};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:$}),Object.defineProperty(Y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:I}),Object.freeze&&(Object.freeze(Y.props),Object.freeze(Y)),Y};function xt(a,p,y){var $,I={},ne=null,U=null,Y=null,Ve=null;if(p!=null){mt(p)&&(U=p.ref,yt(p)),Ct(p)&&(ne=""+p.key),Y=p.__self===void 0?null:p.__self,Ve=p.__source===void 0?null:p.__source;for($ in p)Je.call(p,$)&&!pt.hasOwnProperty($)&&(I[$]=p[$])}var Be=arguments.length-2;if(Be===1)I.children=y;else if(Be>1){for(var Et=Array(Be),_t=0;_t<Be;_t++)Et[_t]=arguments[_t+2];Object.freeze&&Object.freeze(Et),I.children=Et}if(a&&a.defaultProps){var Jt=a.defaultProps;for($ in Jt)I[$]===void 0&&(I[$]=Jt[$])}if(ne||U){var It=typeof a=="function"?a.displayName||a.name||"Unknown":a;ne&&rt(I,It),U&&at(I,It)}return Ke(a,ne,U,Y,Ve,pe.current,I)}function St(a,p){var y=Ke(a.type,p,a.ref,a._self,a._source,a._owner,a.props);return y}function jt(a,p,y){if(a==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var $,I=e({},a.props),ne=a.key,U=a.ref,Y=a._self,Ve=a._source,Be=a._owner;if(p!=null){mt(p)&&(U=p.ref,Be=pe.current),Ct(p)&&(ne=""+p.key);var Et;a.type&&a.type.defaultProps&&(Et=a.type.defaultProps);for($ in p)Je.call(p,$)&&!pt.hasOwnProperty($)&&(p[$]===void 0&&Et!==void 0?I[$]=Et[$]:I[$]=p[$])}var _t=arguments.length-2;if(_t===1)I.children=y;else if(_t>1){for(var Jt=Array(_t),It=0;It<_t;It++)Jt[It]=arguments[It+2];I.children=Jt}return Ke(a.type,ne,U,Y,Ve,Be,I)}function He(a){return typeof a=="object"&&a!==null&&a.$$typeof===o}var Pt=".",nt=":";function xe(a){var p=/[=:]/g,y={"=":"=0",":":"=2"},$=(""+a).replace(p,function(I){return y[I]});return"$"+$}var Nt=!1,Ft=/\/+/g;function vt(a){return(""+a).replace(Ft,"$&/")}var bt=10,Ye=[];function ct(a,p,y,$){if(Ye.length){var I=Ye.pop();return I.result=a,I.keyPrefix=p,I.func=y,I.context=$,I.count=0,I}else return{result:a,keyPrefix:p,func:y,context:$,count:0}}function We(a){a.result=null,a.keyPrefix=null,a.func=null,a.context=null,a.count=0,Ye.length<bt&&Ye.push(a)}function Qe(a,p,y,$){var I=typeof a;(I==="undefined"||I==="boolean")&&(a=null);var ne=!1;if(a===null)ne=!0;else switch(I){case"string":case"number":ne=!0;break;case"object":switch(a.$$typeof){case o:case i:ne=!0}}if(ne)return y($,a,p===""?Pt+Se(a,0):p),1;var U,Y,Ve=0,Be=p===""?Pt:p+nt;if(Array.isArray(a))for(var Et=0;Et<a.length;Et++)U=a[Et],Y=Be+Se(U,Et),Ve+=Qe(U,Y,y,$);else{var _t=P(a);if(typeof _t=="function"){_t===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 Jt=_t.call(a),It,So=0;!(It=Jt.next()).done;)U=It.value,Y=Be+Se(U,So++),Ve+=Qe(U,Y,y,$)}else if(I==="object"){var wn="";wn=" If you meant to render a collection of children, use an array instead."+ae.getStackAddendum();var Wr=""+a;throw Error("Objects are not valid as a React child (found: "+(Wr==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":Wr)+")."+wn)}}return Ve}function $t(a,p,y){return a==null?0:Qe(a,"",p,y)}function Se(a,p){return typeof a=="object"&&a!==null&&a.key!=null?xe(a.key):p.toString(36)}function Xe(a,p,y){var $=a.func,I=a.context;$.call(I,p,a.count++)}function F(a,p,y){if(a==null)return a;var $=ct(null,null,p,y);$t(a,Xe,$),We($)}function Z(a,p,y){var $=a.result,I=a.keyPrefix,ne=a.func,U=a.context,Y=ne.call(U,p,a.count++);Array.isArray(Y)?Ie(Y,$,y,function(Ve){return Ve}):Y!=null&&(He(Y)&&(Y=St(Y,I+(Y.key&&(!p||p.key!==Y.key)?vt(Y.key)+"/":"")+y)),$.push(Y))}function Ie(a,p,y,$,I){var ne="";y!=null&&(ne=vt(y)+"/");var U=ct(p,ne,$,I);$t(a,Z,U),We(U)}function wt(a,p,y){if(a==null)return a;var $=[];return Ie(a,$,null,p,y),$}function k(a){return $t(a,function(){return null},null)}function B(a){var p=[];return Ie(a,p,null,function(y){return y}),p}function W(a){if(!He(a))throw Error("React.Children.only expected to receive a single React element child.");return a}function Ce(a,p){p===void 0?p=null:p!==null&&typeof p!="function"&&H("createContext: Expected the optional second argument to be a function. Instead received: %s",p);var y={$$typeof:h,_calculateChangedBits:p,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};y.Provider={$$typeof:d,_context:y};var $=!1,I=!1;{var ne={$$typeof:h,_context:y,_calculateChangedBits:y._calculateChangedBits};Object.defineProperties(ne,{Provider:{get:function(){return I||(I=!0,H("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),y.Provider},set:function(U){y.Provider=U}},_currentValue:{get:function(){return y._currentValue},set:function(U){y._currentValue=U}},_currentValue2:{get:function(){return y._currentValue2},set:function(U){y._currentValue2=U}},_threadCount:{get:function(){return y._threadCount},set:function(U){y._threadCount=U}},Consumer:{get:function(){return $||($=!0,H("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),y.Consumer}}}),y.Consumer=ne}return y._currentRenderer=null,y._currentRenderer2=null,y}function De(a){var p={$$typeof:O,_ctor:a,_status:-1,_result:null};{var y,$;Object.defineProperties(p,{defaultProps:{configurable:!0,get:function(){return y},set:function(I){H("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."),y=I,Object.defineProperty(p,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return $},set:function(I){H("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."),$=I,Object.defineProperty(p,"propTypes",{enumerable:!0})}}})}return p}function lt(a){return a!=null&&a.$$typeof===C?H("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof a!="function"?H("forwardRef requires a render function but was given %s.",a===null?"null":typeof a):a.length!==0&&a.length!==2&&H("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)&&H("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===m||a===u||a===c||a===v||a===T||typeof a=="object"&&a!==null&&(a.$$typeof===O||a.$$typeof===C||a.$$typeof===d||a.$$typeof===h||a.$$typeof===_||a.$$typeof===A||a.$$typeof===R||a.$$typeof===M||a.$$typeof===x)}function f(a,p){return Oe(a)||H("memo: The first argument must be a component. Instead received: %s",a===null?"null":typeof a),{$$typeof:C,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:
|
|
510
507
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
511
508
|
2. You might be breaking the Rules of Hooks
|
|
512
509
|
3. You might have more than one copy of React in the same app
|
|
513
|
-
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return a}function
|
|
510
|
+
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return a}function E(a,p){var y=b();if(p!==void 0&&H("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])?`
|
|
514
511
|
|
|
515
|
-
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
|
|
512
|
+
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 $=a._context;$.Consumer===a?H("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?"):$.Provider===a&&H("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return y.useContext(a,p)}function V(a){var p=b();return p.useState(a)}function ie(a,p,y){var $=b();return $.useReducer(a,p,y)}function te(a){var p=b();return p.useRef(a)}function K(a,p){var y=b();return y.useEffect(a,p)}function Q(a,p){var y=b();return y.useLayoutEffect(a,p)}function Ne(a,p){var y=b();return y.useCallback(a,p)}function z(a,p){var y=b();return y.useMemo(a,p)}function ue(a,p,y){var $=b();return $.useImperativeHandle(a,p,y)}function Re(a,p){{var y=b();return y.useDebugValue(a,p)}}var Ze;Ze=!1;function Qt(){if(pe.current){var a=se(pe.current.type);if(a)return`
|
|
516
513
|
|
|
517
|
-
Check the render method of \``+a+"`."}return""}function ot(a){if(a!==void 0){var p=a.fileName.replace(/^.*[\\\/]/,""),
|
|
514
|
+
Check the render method of \``+a+"`."}return""}function ot(a){if(a!==void 0){var p=a.fileName.replace(/^.*[\\\/]/,""),y=a.lineNumber;return`
|
|
518
515
|
|
|
519
|
-
Check your code at `+p+":"+
|
|
516
|
+
Check your code at `+p+":"+y+"."}return""}function ho(a){return a!=null?ot(a.__source):""}var gn={};function go(a){var p=Qt();if(!p){var y=typeof a=="string"?a:a.displayName||a.name;y&&(p=`
|
|
520
517
|
|
|
521
|
-
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=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];He(x)&&Vr(x,p)}else if(He(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;)He(U.value)&&Vr(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===w||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 Br(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?Br(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]]),zr=new Set([bn]);vo.set(0,0),zr.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=c,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=He,me.lazy=Le,me.memo=f,me.useCallback=De,me.useContext=$,me.useDebugValue=Ce,me.useEffect=K,me.useImperativeHandle=le,me.useLayoutEffect=Q,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 Er=Kr.exports,Lo={sdkSemver:"1.13.0",techVersion:Er.version,sdkCode:"J"},xy=function(e){Bc(t,e);function t(r){var n=e.call(this,r)||this;return n.imageRef=Er.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 Er.createElement("img",Jr({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=Jm(this.props.plugins,this.props.cldImg,Lo);return Er.createElement("img",Jr({},n,{src:o}))},t}(Er.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 Er.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 _r(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"};_r(Wy);_r(qy);_r(Fy);const Gy=_r(Vy);_r(By);_r(zy);_r(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 c=parseInt(i.split(".").join("")).toString(2);if(c=Wi(c,n,"0"),c.length%6!==0)throw"Version must be smaller than 43.21.26)";return c.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),c=r.feature,u=r.sdkCode,{product:d,osType:h}=r;return`D${d}${u}${o}${i}${h}${s}${c}`}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,c=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(c&&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 c=[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?`${c}?${d}`:c}}}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 Y.jsx(xy,{alt:e,cldImg:i,height:t,plugins:n,width:r})},rl=S.memo(bv),wv=Be.button`
|
|
518
|
+
Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(!a._store||a._store.validated||a.key!=null)){a._store.validated=!0;var y=go(p);if(!gn[y]){gn[y]=!0;var $="";a&&a._owner&&a._owner!==pe.current&&($=" It was passed a child from "+se(a._owner.type)+"."),re(a),H('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',y,$),re(null)}}}function lr(a,p){if(typeof a=="object"){if(Array.isArray(a))for(var y=0;y<a.length;y++){var $=a[y];He($)&&Vr($,p)}else if(He(a))a._store&&(a._store.validated=!0);else if(a){var I=P(a);if(typeof I=="function"&&I!==a.entries)for(var ne=I.call(a),U;!(U=ne.next()).done;)He(U.value)&&Vr(U.value,p)}}}function mn(a){{var p=a.type;if(p==null||typeof p=="string")return;var y=se(p),$;if(typeof p=="function")$=p.propTypes;else if(typeof p=="object"&&(p.$$typeof===_||p.$$typeof===C))$=p.propTypes;else return;$?(re(a),t($,a.props,"prop",y,ae.getStackAddendum),re(null)):p.PropTypes!==void 0&&!Ze&&(Ze=!0,H("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",y||"Unknown")),typeof p.getDefaultProps=="function"&&!p.getDefaultProps.isReactClassApproved&&H("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),y=0;y<p.length;y++){var $=p[y];if($!=="children"&&$!=="key"){H("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",$);break}}a.ref!==null&&H("Invalid attribute `ref` supplied to `React.Fragment`."),re(null)}}function yn(a,p,y){var $=Oe(a);if(!$){var I="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(I+=" 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?I+=ne:I+=Qt();var U;a===null?U="null":Array.isArray(a)?U="array":a!==void 0&&a.$$typeof===o?(U="<"+(se(a.type)||"Unknown")+" />",I=" Did you accidentally export a JSX literal instead of a component?"):U=typeof a,H("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",U,I)}var Y=xt.apply(this,arguments);if(Y==null)return Y;if($)for(var Ve=2;Ve<arguments.length;Ve++)lr(arguments[Ve],a);return a===s?Br(Y):mn(Y),Y}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,y){for(var $=jt.apply(this,arguments),I=2;I<arguments.length;I++)lr(arguments[I],$.type);return mn($),$}try{var bn=Object.freeze({}),vo=new Map([[bn,null]]),zr=new Set([bn]);vo.set(0,0),zr.add(0)}catch{}var bo=yn,wo=yo,_o=mo,xo={map:wt,forEach:F,count:k,toArray:B,only:W};me.Children=xo,me.Component=_e,me.Fragment=s,me.Profiler=u,me.PureComponent=kt,me.StrictMode=c,me.Suspense=v,me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=le,me.cloneElement=wo,me.createContext=Ce,me.createElement=bo,me.createFactory=_o,me.createRef=dt,me.forwardRef=lt,me.isValidElement=He,me.lazy=De,me.memo=f,me.useCallback=Ne,me.useContext=E,me.useDebugValue=Re,me.useEffect=K,me.useImperativeHandle=ue,me.useLayoutEffect=Q,me.useMemo=z,me.useReducer=ie,me.useRef=te,me.useState=V,me.version=r}();process.env.NODE_ENV==="production"?Kr.exports=ye:Kr.exports=me;var Tr=Kr.exports,Lo={sdkSemver:"1.13.0",techVersion:Tr.version,sdkCode:"J"},xy=function(e){Hc(t,e);function t(r){var n=e.call(this,r)||this;return n.imageRef=Tr.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(){Un(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,Lo)},t.prototype.componentWillUnmount=function(){Un(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},t.prototype.render=function(){var r=this.props;r.cldImg,r.plugins;var n=Yc(r,["cldImg","plugins"]);if(Di())return Tr.createElement("img",Jr({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=Jm(this.props.plugins,this.props.cldImg,Lo);return Tr.createElement("img",Jr({},n,{src:o}))},t}(Tr.Component),Sy=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(e){Hc(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(){Un(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},t.prototype.componentWillUnmount=function(){Un(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=Yc(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return Tr.createElement("video",Jr({},n,{ref:this.attachRef}))},t})(Kr.exports.Component);const $y=(e,t,r=!1)=>{w.useEffect(()=>{var o;const n=i=>{e&&!e.contains(i.target)&&t()};return r?(document.addEventListener("click",n,!0),()=>{document.removeEventListener("click",n,!0)}):((o=document.getElementById("root"))==null||o.addEventListener("click",n,!0),()=>{var i;(i=document.getElementById("root"))==null||i.removeEventListener("click",n,!0)})},[r,e,t])};function Ey(e){return!(typeof e!="object"||e instanceof Array)}class Ty{filterOutNonSupportedKeys(t,r){const n=Object.create({});return Ey(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 na=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class Wi extends Ty{constructor(t){super();const r=this.filterOutNonSupportedKeys(t,na);Object.assign(this,{secure:!0},r)}extend(t){const r=this.filterOutNonSupportedKeys(t,na);return new Wi(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 Ay extends Error{constructor(t="Unsupported"){super(t)}}function Ui(e){return new Ay(e)}function Cy(){return this._qualifierModel||{error:Ui(`unsupported qualifier ${this.constructor.name}`)}}class Oy{constructor(){this._qualifierModel={}}toJson(){return Cy.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 ir 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 Ry(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function ky(){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:Ui(`unsupported action ${this.constructor.name}`)}}class jy{constructor(){this._actionModel={}}toJson(){return ky.apply(this)}}class qi extends jy{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(),Ry(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 ir(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 ir(t)):t instanceof ir&&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 Iy extends qi{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 oa{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:Ui(`unsupported action ${this.constructor.name}`)}}}function My(e){const t=e;return"error"in t&&!!t.error}function Ly(){return new ir("lossy")}function Dy(){return new ir("preserve_transparency")}function Ny(e){return new ir("progressive",e)}class Fy extends Xr{constructor(t){super(t),this.val=t}getValue(){return this.val}}function xr(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const Vy={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},By={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},zy={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},Wy={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"},qy={444:"CHROMA_444",420:"CHROMA_420"},Gy={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};xr(qy);xr(Gy);xr(Vy);const Hy=xr(By);xr(zy);xr(Wy);xr(Uy);class Yy extends qi{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Fy?o=r.getValue():o=r,this._actionModel.actionType=Hy[t],this._actionModel[n]=o,this.addQualifier(new fo(t,r))}}class Qy extends ir{constructor(t){super("progressive",t)}}class Gn extends Yy{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(Ly()),this}progressive(t){return t instanceof Qy?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(Ny(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(Dy()),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 oa(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 oa(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 Iy(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new qi;let n=t;return typeof t=="string"&&(n=new ir(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(My(n))return n;t.push(n)}return{actions:t}}}class Jy extends po{}class Ky extends po{}function Xy(e){return e.match(/^https?:\//)}function Zy(e){return e.indexOf("/")<0}function ev(e){return e.match(/^v[0-9]+/)}function tv(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 rv(e){return e||"image"}function nv(e){return e||"upload"}function ov(e,t,r){const n=r!==!1;return t?`v${t}`:ev(e)||Xy(e)||Zy(e)?"":n?"v1":""}function Gi(e,t,r){let n=t>>0,o=String(r);return e.length>n?String(e):(n=n-e.length,n>o.length&&(o+=iv(o,n/o.length)),o.slice(0,n)+String(e))}function iv(e,t){let r=t,n="";for(;r>0;)n+=e,r--;return n}const sv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Hn={};let ia=0;sv.split("").forEach(e=>{let t=ia.toString(2);t=Gi(t,6,"0"),Hn[t]=e,ia++});function av(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").reverse().join(".")}function cv(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 Gi(t,2,"0")}).join(".")}function sa(e){let t="";const n=e.split(".").length*6,o=av(e),i=cv(o);let c=parseInt(i.split(".").join("")).toString(2);if(c=Gi(c,n,"0"),c.length%6!==0)throw"Version must be smaller than 43.21.26)";return c.match(/.{1,6}/g).forEach(u=>{t+=Hn[u]}),t}function lv(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 uv="1.21.0";function fv(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 dv(){const e="0.0.0";if(typeof window<"u")return e;try{return process.versions.node||e}catch{return e}}function pv(e){const t={techVersion:dv(),sdkCode:"T",sdkSemver:uv.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 aa(e){const t=pv(e),r=lv(t);try{const n=hv(r.techVersion),o=sa(r.sdkSemver),i=sa(n),s=fv(r.osVersion),c=r.feature,u=r.sdkCode,{product:d,osType:h}=r;return`D${d}${u}${o}${i}${h}${s}${c}`}catch{return"E"}}function hv(e){const t=e.split(".");return`${t[0]}.${t[1]}`}const ca={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class gv{constructor(t,r={},n){this.setPublicID(t),this.setCloudConfig(r),this.setURLConfig(n)}setURLConfig(t){return this.urlConfig=new Wi(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=rv(this.assetType),r=nv(this.deliveryType),n=!!this.suffix,o=`${t}/${r}`,i=ca[`${t}/${r}`],s=this.urlConfig.useRootPath,c=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(c&&o==="image/upload")return"iu";if(n){if(i)return i;throw new Error(`URL Suffix only supported for ${Object.keys(ca).join(", ")}, Provided: ${o} instead`)}return o}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(t,r){if(!this.publicID)return"";this.validateAssetForURLCreation();const n=tv(this.cloudName,this.urlConfig),o=t?t.toString():"",i=ov(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 c=[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",aa(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=${aa(r)}`);return d?`${c}?${d}`:c}}}class al extends gv{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 mv extends al{constructor(t,r,n){super(t,r,n,new Jy)}}class yv extends al{constructor(t,r,n){super(t,r,n,new Ky),this.assetType="video"}transcode(t){return this.transformation.transcode(t),this}videoEdit(t){return this.transformation.videoEdit(t),this}}class vv{constructor(t){t&&(this.cloudinaryConfig=t)}image(t){return new mv(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(t){return new yv(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(t){return this.cloudinaryConfig=t,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const bv=({publicId:e,format:t="webp"})=>{const r=w.useMemo(()=>new vv({cloud:{cloudName:"fluid-attacks"}}),[]);return w.useMemo(()=>r.image(e).format(t),[r,e,t])},wv=({alt:e="img",height:t="",width:r="",plugins:n=[Um(),Ym()],publicId:o})=>{const i=bv({publicId:o});return j.jsx(xy,{alt:e,cldImg:i,height:t,plugins:n,width:r})},Hi=w.memo(wv),_v=$e.button`
|
|
522
519
|
${({theme:e})=>`
|
|
523
520
|
align-items: center;
|
|
524
521
|
border-left: 3px solid transparent;
|
|
@@ -561,7 +558,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
561
558
|
}
|
|
562
559
|
}
|
|
563
560
|
`}
|
|
564
|
-
`,
|
|
561
|
+
`,xv=$e.div`
|
|
565
562
|
${({theme:e})=>`
|
|
566
563
|
align-items: center;
|
|
567
564
|
background-color: transparent;
|
|
@@ -591,7 +588,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
591
588
|
color: ${e.palette.gray[800]};
|
|
592
589
|
}
|
|
593
590
|
`}
|
|
594
|
-
`,
|
|
591
|
+
`,Sv=$e.div`
|
|
595
592
|
${({theme:e})=>`
|
|
596
593
|
background-color: ${e.palette.white};
|
|
597
594
|
border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
|
|
@@ -606,7 +603,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
606
603
|
border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
|
|
607
604
|
}
|
|
608
605
|
`}
|
|
609
|
-
|
|
606
|
+
`,$v=$e.div`
|
|
610
607
|
${({theme:e})=>`
|
|
611
608
|
align-items: flex-start;
|
|
612
609
|
cursor: pointer;
|
|
@@ -628,7 +625,197 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
628
625
|
}
|
|
629
626
|
}
|
|
630
627
|
`}
|
|
631
|
-
|
|
628
|
+
`,Ev=({disabled:e=!1,mode:t,onClick:r,text:n})=>j.jsx(_v,{className:`${e&&"disabled"} ${t}`,disabled:e,onClick:r,children:j.jsx(Ot,{color:"inherit",size:"sm",sizeSm:"xs",children:n})}),Tv=[{text:"EN"},{text:"ES"}],Av=({items:e,handleClick:t,mode:r="light"})=>{const n=e??Tv,[o,i]=w.useState(n[0].text),s=w.useCallback(c=>()=>{t(c.text),i(c.text)},[t]);return j.jsxs($v,{children:[j.jsxs(xv,{className:r,children:[j.jsx(er,{icon:"globe",iconSize:"xs",iconType:"fa-light"}),o]}),j.jsx(Sv,{children:n.map((c,u)=>j.jsx(Ev,{disabled:c.disabled,mode:r,onClick:s(c),text:c.text},`${c.text}_${u}`))})]})},Cv={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})=>j.jsx(Gt,{...Cv[t],children:j.jsx(Hi,{alt:"logo",publicId:e})}),Rv=$e.a`
|
|
629
|
+
${({theme:e})=>`
|
|
630
|
+
align-items: center;
|
|
631
|
+
display: flex;
|
|
632
|
+
background: ${e.palette.white};
|
|
633
|
+
border-radius: ${e.spacing[.5]};
|
|
634
|
+
cursor: pointer;
|
|
635
|
+
gap: ${e.spacing[1]};
|
|
636
|
+
padding:
|
|
637
|
+
${e.spacing[.5]}
|
|
638
|
+
${e.spacing[1]}
|
|
639
|
+
${e.spacing[.5]}
|
|
640
|
+
${e.spacing[.5]};
|
|
641
|
+
width: 1143px;
|
|
642
|
+
|
|
643
|
+
&:hover {
|
|
644
|
+
background: ${e.palette.gray[100]};
|
|
645
|
+
|
|
646
|
+
> div.icon-wrap {
|
|
647
|
+
background: ${e.palette.gradients["01"]};
|
|
648
|
+
|
|
649
|
+
path {
|
|
650
|
+
fill: ${e.palette.white};
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
@media screen
|
|
656
|
+
and (min-width: ${e.breakpoints.sm})
|
|
657
|
+
and (max-width: ${e.breakpoints.md})
|
|
658
|
+
{
|
|
659
|
+
width: 905px;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
@media screen
|
|
663
|
+
and (min-width: 40em)
|
|
664
|
+
and (max-width: ${e.breakpoints.sm})
|
|
665
|
+
{
|
|
666
|
+
width: 475px;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
@media screen and (max-width: 40em) {
|
|
670
|
+
width: 270px;
|
|
671
|
+
}
|
|
672
|
+
`}
|
|
673
|
+
`,kv=$e.div.attrs({className:"icon-wrap"})`
|
|
674
|
+
${({theme:e})=>`
|
|
675
|
+
align-items: center;
|
|
676
|
+
background: ${e.palette.primary[25]};
|
|
677
|
+
border-radius: ${e.spacing[.25]};
|
|
678
|
+
display: flex;
|
|
679
|
+
justify-content: center;
|
|
680
|
+
min-width: ${e.spacing[2.5]};
|
|
681
|
+
height: ${e.spacing[2.5]};
|
|
682
|
+
padding: ${e.spacing[.5]};
|
|
683
|
+
|
|
684
|
+
span {
|
|
685
|
+
font-size: 20px;
|
|
686
|
+
}
|
|
687
|
+
`}
|
|
688
|
+
`,jv=$e.div`
|
|
689
|
+
${({theme:e})=>`
|
|
690
|
+
align-items: flex-start;
|
|
691
|
+
display: flex;
|
|
692
|
+
flex-direction: column;
|
|
693
|
+
gap: ${e.spacing[1.5]};
|
|
694
|
+
width: 1193px;
|
|
695
|
+
|
|
696
|
+
> :is(form, .dropdown) {
|
|
697
|
+
border-radius: ${e.spacing[.5]};
|
|
698
|
+
border: 1px solid ${e.palette.gray[200]};
|
|
699
|
+
background-color: ${e.palette.white};
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
@media screen
|
|
703
|
+
and (min-width: ${e.breakpoints.sm})
|
|
704
|
+
and (max-width: ${e.breakpoints.md})
|
|
705
|
+
{
|
|
706
|
+
width: 954px;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
@media screen
|
|
710
|
+
and (min-width: 40em)
|
|
711
|
+
and (max-width: ${e.breakpoints.sm})
|
|
712
|
+
{
|
|
713
|
+
width: 526px;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
@media screen and (max-width: 40em) {
|
|
717
|
+
width: 320px;
|
|
718
|
+
}
|
|
719
|
+
`}
|
|
720
|
+
`,Pv=$e.form`
|
|
721
|
+
${({theme:e})=>`
|
|
722
|
+
align-items: center;
|
|
723
|
+
display: flex;
|
|
724
|
+
gap: ${e.spacing[.5]};
|
|
725
|
+
justify-content: space-between;
|
|
726
|
+
padding: ${e.spacing[1]} ${e.spacing[1.5]};
|
|
727
|
+
width: 100%;
|
|
728
|
+
`}
|
|
729
|
+
`,Iv=$e.input`
|
|
730
|
+
${({theme:e})=>`
|
|
731
|
+
flex: 1 0 0;
|
|
732
|
+
border: none;
|
|
733
|
+
color: ${e.palette.gray[600]};
|
|
734
|
+
font-family: ${e.typography.type.primary};
|
|
735
|
+
font-size: ${e.typography.text.md};
|
|
736
|
+
font-weight: ${e.typography.weight.regular};
|
|
737
|
+
line-height: ${e.spacing[1.5]};
|
|
738
|
+
outline: none;
|
|
739
|
+
|
|
740
|
+
&::placeholder {
|
|
741
|
+
color: ${e.palette.gray[400]};
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
&::-webkit-search-decoration,
|
|
745
|
+
&::-webkit-search-cancel-button,
|
|
746
|
+
&::-webkit-search-results-button,
|
|
747
|
+
&::-webkit-search-results-decoration {
|
|
748
|
+
-webkit-appearance:none;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
752
|
+
font-size: ${e.typography.text.sm};
|
|
753
|
+
}
|
|
754
|
+
`}
|
|
755
|
+
`,Mv=$e.button`
|
|
756
|
+
${({theme:e})=>`
|
|
757
|
+
align-items: center;
|
|
758
|
+
border-radius: ${e.spacing[.5]};
|
|
759
|
+
display: flex;
|
|
760
|
+
width: ${e.spacing[2.5]};
|
|
761
|
+
height: ${e.spacing[2.5]};
|
|
762
|
+
padding: ${e.spacing[.625]} ${e.spacing[1]};
|
|
763
|
+
justify-content: center;
|
|
764
|
+
gap: ${e.spacing[.5]};
|
|
765
|
+
flex-shrink: 0;
|
|
766
|
+
|
|
767
|
+
span {
|
|
768
|
+
color: ${e.palette.gray[400]};
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
&:hover {
|
|
772
|
+
background-color: ${e.palette.gray[100]};
|
|
773
|
+
}
|
|
774
|
+
`}
|
|
775
|
+
`,Do=$e.div.attrs({className:"dropdown"})`
|
|
776
|
+
${({theme:e,$empty:t=!1,$showHits:r=!1})=>`
|
|
777
|
+
align-items: flex-start;
|
|
778
|
+
align-self: stretch;
|
|
779
|
+
background-repeat: no-repeat;
|
|
780
|
+
background-size: 100% 100%;
|
|
781
|
+
display: flex;
|
|
782
|
+
flex-direction: column;
|
|
783
|
+
gap: ${e.spacing[.5]};
|
|
784
|
+
max-height: ${r?"270px":"500px"};
|
|
785
|
+
overflow: hidden auto;
|
|
786
|
+
padding: ${e.spacing[1.5]};
|
|
787
|
+
scrollbar-color: ${e.palette.gray[600]} ${e.palette.gray[100]};
|
|
788
|
+
scroll-padding: ${e.spacing[.5]};
|
|
789
|
+
scrollbar-width: thin;
|
|
790
|
+
|
|
791
|
+
@media screen and (max-width: ${e.breakpoints.sm}) and (${!t}) {
|
|
792
|
+
max-height: 410px;
|
|
793
|
+
}
|
|
794
|
+
${t&&`
|
|
795
|
+
@media screen and (min-width: ${e.breakpoints.mobile}) {
|
|
796
|
+
border: none !important;
|
|
797
|
+
background-image: url(https://res.cloudinary.com/fluid-attacks/image/upload/v1729784164/airs/search-bar/empty_state_bg.webp);
|
|
798
|
+
}
|
|
799
|
+
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
800
|
+
border: none !important;
|
|
801
|
+
background-image: url(https://res.cloudinary.com/fluid-attacks/image/upload/v1729783908/airs/search-bar/empty_state_bg_mobile.webp);
|
|
802
|
+
}
|
|
803
|
+
`}
|
|
804
|
+
|
|
805
|
+
&::-webkit-scrollbar {
|
|
806
|
+
height: ${e.spacing[.5]};
|
|
807
|
+
width: ${e.spacing[.5]};
|
|
808
|
+
}
|
|
809
|
+
&::-webkit-scrollbar-track {
|
|
810
|
+
background: ${e.palette.gray[100]};
|
|
811
|
+
}
|
|
812
|
+
&::-webkit-scrollbar-thumb {
|
|
813
|
+
background-color: ${e.palette.gray[600]};
|
|
814
|
+
border-radius: ${e.spacing[5]};
|
|
815
|
+
height: ${e.spacing[.5]};
|
|
816
|
+
}
|
|
817
|
+
`}
|
|
818
|
+
`,No=({hit:e,icon:t="infinity",showIcon:r=!1})=>{const{slug:n,title:o}=e,i=String(n).startsWith("/pages/")?String(n).replace("/pages/","/"):String(n);return j.jsxs(Rv,{href:i,rel:"nofollow noopener noreferrer",children:[r&&j.jsx(kv,{children:j.jsx(er,{icon:t,iconClass:"fill-gradient-01",iconSize:"sm",iconType:"fa-light"})}),j.jsx(Ot,{color:oe.palette.gray[800],lineSpacing:1.5,size:"md",sizeSm:"sm",whiteSpace:"wrap",children:String(o)})]})},Lv=[{hit:{slug:"/services/continuous-hacking/",title:"Continuous Hacking"},icon:"infinity"},{hit:{slug:"/platform/",title:"Platform"},icon:"sidebar"},{hit:{slug:"/plans/",title:"Plans"},icon:"star-christmas"},{hit:{slug:"/blog/",title:"Blog"},icon:"pen-line"}],la={hit:{slug:"/contact-us/",title:"Contact Support"},icon:"envelope"},Dv=({items:e,placeholder:t="Search",refine:r,query:n})=>{const[o,i]=w.useState(n),[s,c]=w.useState(!1),u=w.useRef(null),d=w.useRef(null),h=o.length>=2,m=w.useCallback(x=>{i(x),r(x)},[r]),_=w.useCallback(()=>{m("")},[m]),v=w.useCallback(()=>{c(!0)},[]),T=w.useCallback(x=>{m(x.currentTarget.value)},[m]),C=w.useCallback(x=>{x.preventDefault(),x.stopPropagation(),_(),d.current&&d.current.focus()},[_]),O=w.useCallback(x=>{x.preventDefault(),x.stopPropagation(),d.current&&d.current.blur()},[]);return $y(u.current,()=>{_(),c(!1)},!0),j.jsxs(jv,{ref:u,children:[j.jsxs(Pv,{action:"",noValidate:!0,onReset:C,onSubmit:O,role:"search",children:[j.jsxs("div",{className:"flex gap-2 w-full",children:[j.jsx("div",{className:"h-10 p-2",children:j.jsx(er,{icon:"magnifying-glass",iconSize:"sm",iconType:"fa-light"})}),j.jsx(Iv,{autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",maxLength:512,onChange:T,onFocus:v,placeholder:t,ref:d,spellCheck:!1,type:"search",value:o})]}),h&&j.jsx(Mv,{type:"reset",children:j.jsx(er,{icon:"xmark",iconSize:"sm",iconType:"fa-light"})})]}),s&&o.length<2&&j.jsxs(Do,{children:[j.jsx(Ot,{color:oe.palette.gray[400],fontWeight:"bold",lineSpacing:1.5,size:"md",sizeSm:"sm",children:"Suggested"}),j.jsx("div",{className:"flex flex-col items-start self-stretch",children:Lv.map(({hit:x,icon:A},R)=>j.jsx(No,{hit:x,icon:A,showIcon:!0},`${A}-${R}`))}),j.jsx(Ot,{color:oe.palette.gray[400],fontWeight:"bold",lineSpacing:1.5,size:"md",sizeSm:"sm",children:"Can’t find what you’re looking for?"}),j.jsx(No,{hit:la.hit,icon:la.icon,showIcon:!0})]}),h&&e.length>0&&j.jsxs(Do,{$showHits:h,children:[j.jsx(Ot,{color:oe.palette.gray[400],fontWeight:"bold",lineSpacing:1.5,size:"md",sizeSm:"sm",children:"Results"}),j.jsx("div",{className:"flex flex-col items-start self-stretch",children:e.map(x=>j.jsx(No,{hit:x},x.objectID))})]}),h&&e.length===0&&j.jsx(Do,{$empty:e.length===0,children:j.jsxs("div",{className:"items-center flex flex-col gap-4 py-[90px] w-full",children:[j.jsx(Hi,{height:96,publicId:"airs/search-bar/empty-state-icon",width:96}),j.jsx(Va,{display:"flex",size:"sm",sizeSm:"xs",textAlign:"center",children:"No results found"}),j.jsxs(Ot,{display:"flex",lineSpacing:1.5,size:"md",sizeSm:"sm",textAlign:"center",children:[`“${o}” did not match.`,j.jsx("br",{}),"Please try again."]}),j.jsx(fc,{mode:"light",onClick:_,variant:"secondaryWeb",children:"Clear search"})]})})]})},Nv=$e.div`
|
|
632
819
|
${({theme:e})=>`
|
|
633
820
|
align-items: center;
|
|
634
821
|
display: flex;
|
|
@@ -658,7 +845,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
658
845
|
width: 320px;
|
|
659
846
|
}
|
|
660
847
|
`}
|
|
661
|
-
`,
|
|
848
|
+
`,Fv=$e.button`
|
|
662
849
|
${({theme:e})=>`
|
|
663
850
|
align-items: center;
|
|
664
851
|
background: linear-gradient(
|
|
@@ -687,4 +874,4 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
687
874
|
color: ${e.palette.white};
|
|
688
875
|
}
|
|
689
876
|
`}
|
|
690
|
-
`,
|
|
877
|
+
`,Vv=({defaultSelection:e,options:t,handleClick:r})=>{const[n,o]=w.useState(e??t[0]),i=w.useCallback(s=>()=>{o(s),r(s)},[r]);return j.jsx(Nv,{children:t.map((s,c)=>j.jsx(Fv,{className:`${s.includes(n)&&"selected"}`,onClick:i(s),children:j.jsx(Ot,{color:"inherit",fontWeight:"bold",size:"md",sizeSm:"sm",textAlign:"center",children:s})},`${s}-${c}`))})};exports.Accordion=cf;exports.BaseButtonComponent=La;exports.BaseComponent=eo;exports.BaseSpanComponent=Da;exports.BaseTextComponent=wi;exports.Button=fc;exports.CloudImage=Hi;exports.Container=Gt;exports.CustomThemeProvider=Bu;exports.Heading=Va;exports.Icon=er;exports.LanguageSelector=Av;exports.Logo=Ov;exports.SearchBar=Dv;exports.Text=Ot;exports.ToggleButton=Vv;exports.Tooltip=uc;exports.getStyledConfig=an;exports.hiddenProps=fa;exports.icons=Fu;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=Vu;exports.variantBuilder=ua;
|