@fluidattacks/design 1.2.17 → 1.2.19
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 +142 -59
- package/dist/design.mjs +1155 -1016
- package/dist/gradients.svg +13 -0
- package/dist/src/components/@core/types.d.ts +7 -1
- package/dist/src/components/accordion/utils.d.ts +2 -2
- package/dist/src/components/grid-layout/index.stories.d.ts +2 -2
- package/dist/src/components/icon/types.d.ts +4 -0
- package/dist/src/components/language-selector/index.d.ts +1 -1
- package/dist/src/components/language-selector/item-list/index.d.ts +1 -1
- package/dist/src/components/language-selector/styles.d.ts +1 -5
- package/dist/src/components/language-selector/types.d.ts +1 -5
- package/dist/src/components/search-bar/index.d.ts +3 -0
- package/dist/src/components/search-bar/item-searching/index.d.ts +3 -0
- package/dist/src/components/search-bar/item-searching/index.stories.d.ts +6 -0
- package/dist/src/components/search-bar/styles.d.ts +10 -6
- package/dist/src/components/search-bar/types.d.ts +22 -4
- package/dist/src/components/toggle-buttons/index.d.ts +3 -0
- package/dist/src/components/toggle-buttons/index.stories.d.ts +6 -0
- package/dist/src/components/toggle-buttons/styles.d.ts +3 -0
- package/dist/src/components/toggle-buttons/types.d.ts +12 -0
- package/dist/src/components/typography/styles.d.ts +2 -0
- package/dist/src/components/typography/types.d.ts +3 -6
- package/dist/src/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +16 -14
package/dist/design.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("react"),fl=require("react-dom"),sa=e=>({getVariant:(t,r)=>e(t)[r]}),aa=["padding","px","py","pl","pr","pt","pb","margin","mx","my","ml","mr","mt","mb","zIndex","position","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","scroll","visibility","display","height","width","maxHeight","maxWidth","minHeight","minWidth","shadow","bgColor","bgGradient","gap","flexDirection","flexGrow","justify","alignItems","wrap","color","fontFamily","fontSize","fontWeight","textAlign","whiteSpace","letterSpacing","lineSpacing","textDecoration","textOverflow","whiteSpace","wordBreak","wordWrap","cursor","transition","borderColorHover","bgColorHover","shadowHover"];var ut=function(){return ut=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},ut.apply(this,arguments)};function Tr(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function dl(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var pl=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,hl=dl(function(e){return pl.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Sn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ca(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Re="-ms-",Hr="-moz-",he="-webkit-",la="comm",Yn="rule",pi="decl",gl="@import",ua="@keyframes",ml="@layer",fa=Math.abs,hi=String.fromCharCode,Do=Object.assign;function yl(e,t){return et(e,0)^45?(((t<<2^et(e,0))<<2^et(e,1))<<2^et(e,2))<<2^et(e,3):0}function da(e){return e.trim()}function Kt(e,t){return(e=t.exec(e))?e[0]:e}function ee(e,t,r){return e.replace(t,r)}function Cn(e,t,r){return e.indexOf(t,r)}function et(e,t){return e.charCodeAt(t)|0}function Ar(e,t,r){return e.slice(t,r)}function Wt(e){return e.length}function pa(e){return e.length}function Gr(e,t){return t.push(e),e}function vl(e,t){return e.map(t).join("")}function Xi(e,t){return e.filter(function(r){return!Kt(r,t)})}var Qn=1,Or=1,ha=0,Lt=0,Ue=0,Mr="";function Jn(e,t,r,n,o,i,s,l){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Qn,column:Or,length:s,return:"",siblings:l}}function er(e,t){return Do(Jn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function xr(e){for(;e.root;)e=er(e.root,{children:[e]});Gr(e,e.siblings)}function bl(){return Ue}function wl(){return Ue=Lt>0?et(Mr,--Lt):0,Or--,Ue===10&&(Or=1,Qn--),Ue}function Ft(){return Ue=Lt<ha?et(Mr,Lt++):0,Or++,Ue===10&&(Or=1,Qn++),Ue}function dr(){return et(Mr,Lt)}function Rn(){return Lt}function Kn(e,t){return Ar(Mr,e,t)}function No(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _l(e){return Qn=Or=1,ha=Wt(Mr=e),Lt=0,[]}function xl(e){return Mr="",e}function Ao(e){return da(Kn(Lt-1,Fo(e===91?e+2:e===40?e+1:e)))}function Sl(e){for(;(Ue=dr())&&Ue<33;)Ft();return No(e)>2||No(Ue)>3?"":" "}function $l(e,t){for(;--t&&Ft()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return Kn(e,Rn()+(t<6&&dr()==32&&Ft()==32))}function Fo(e){for(;Ft();)switch(Ue){case e:return Lt;case 34:case 39:e!==34&&e!==39&&Fo(Ue);break;case 40:e===41&&Fo(e);break;case 92:Ft();break}return Lt}function El(e,t){for(;Ft()&&e+Ue!==57;)if(e+Ue===84&&dr()===47)break;return"/*"+Kn(t,Lt-1)+"*"+hi(e===47?e:Ft())}function Tl(e){for(;!No(dr());)Ft();return Kn(e,Lt)}function Al(e){return xl(kn("",null,null,null,[""],e=_l(e),0,[0],e))}function kn(e,t,r,n,o,i,s,l,u){for(var d=0,h=0,y=s,_=0,v=0,T=0,O=1,R=1,E=1,A=0,k="",I=o,M=i,D=n,P=k;R;)switch(T=A,A=Ft()){case 40:if(T!=108&&et(P,y-1)==58){Cn(P+=ee(Ao(A),"&","&\f"),"&\f",fa(d?l[d-1]:0))!=-1&&(E=-1);break}case 34:case 39:case 91:P+=Ao(A);break;case 9:case 10:case 13:case 32:P+=Sl(T);break;case 92:P+=$l(Rn()-1,7);continue;case 47:switch(dr()){case 42:case 47:Gr(Ol(El(Ft(),Rn()),t,r,u),u);break;default:P+="/"}break;case 123*O:l[d++]=Wt(P)*E;case 125*O:case 59:case 0:switch(A){case 0:case 125:R=0;case 59+h:E==-1&&(P=ee(P,/\f/g,"")),v>0&&Wt(P)-y&&Gr(v>32?es(P+";",n,r,y-1,u):es(ee(P," ","")+";",n,r,y-2,u),u);break;case 59:P+=";";default:if(Gr(D=Zi(P,t,r,d,h,o,l,k,I=[],M=[],y,i),i),A===123)if(h===0)kn(P,t,D,D,I,i,y,l,M);else switch(_===99&&et(P,3)===110?100:_){case 100:case 108:case 109:case 115:kn(e,D,D,n&&Gr(Zi(e,D,D,0,0,o,l,k,o,I=[],y,M),M),o,M,y,l,n?I:M);break;default:kn(P,D,D,D,[""],M,0,l,M)}}d=h=v=0,O=E=1,k=P="",y=s;break;case 58:y=1+Wt(P),v=T;default:if(O<1){if(A==123)--O;else if(A==125&&O++==0&&wl()==125)continue}switch(P+=hi(A),A*O){case 38:E=h>0?1:(P+="\f",-1);break;case 44:l[d++]=(Wt(P)-1)*E,E=1;break;case 64:dr()===45&&(P+=Ao(Ft())),_=dr(),h=y=Wt(k=P+=Tl(Rn())),A++;break;case 45:T===45&&Wt(P)==2&&(O=0)}}return i}function Zi(e,t,r,n,o,i,s,l,u,d,h,y){for(var _=o-1,v=o===0?i:[""],T=pa(v),O=0,R=0,E=0;O<n;++O)for(var A=0,k=Ar(e,_+1,_=fa(R=s[O])),I=e;A<T;++A)(I=da(R>0?v[A]+" "+k:ee(k,/&\f/g,v[A])))&&(u[E++]=I);return Jn(e,t,r,o===0?Yn:l,u,d,h,y)}function Ol(e,t,r,n){return Jn(e,t,r,la,hi(bl()),Ar(e,2,-2),0,n)}function es(e,t,r,n,o){return Jn(e,t,r,pi,Ar(e,0,n),Ar(e,n+1,-1),n,o)}function ga(e,t,r){switch(yl(e,t)){case 5103:return he+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return he+e+e;case 4789:return Hr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return he+e+Hr+e+Re+e+e;case 5936:switch(et(e,t+11)){case 114:return he+e+Re+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return he+e+Re+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return he+e+Re+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return he+e+Re+e+e;case 6165:return he+e+Re+"flex-"+e+e;case 5187:return he+e+ee(e,/(\w+).+(:[^]+)/,he+"box-$1$2"+Re+"flex-$1$2")+e;case 5443:return he+e+Re+"flex-item-"+ee(e,/flex-|-self/g,"")+(Kt(e,/flex-|baseline/)?"":Re+"grid-row-"+ee(e,/flex-|-self/g,""))+e;case 4675:return he+e+Re+"flex-line-pack"+ee(e,/align-content|flex-|-self/g,"")+e;case 5548:return he+e+Re+ee(e,"shrink","negative")+e;case 5292:return he+e+Re+ee(e,"basis","preferred-size")+e;case 6060:return he+"box-"+ee(e,"-grow","")+he+e+Re+ee(e,"grow","positive")+e;case 4554:return he+ee(e,/([^-])(transform)/g,"$1"+he+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,he+"$1"),/(image-set)/,he+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,he+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,he+"box-pack:$3"+Re+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+he+e+e;case 4200:if(!Kt(e,/flex-|baseline/))return Re+"grid-column-align"+Ar(e,t)+e;break;case 2592:case 3360:return Re+ee(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,Kt(n.props,/grid-\w+-end/)})?~Cn(e+(r=r[t].value),"span",0)?e:Re+ee(e,"-start","")+e+Re+"grid-row-span:"+(~Cn(r,"span",0)?Kt(r,/\d+/):+Kt(r,/\d+/)-+Kt(e,/\d+/))+";":Re+ee(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Kt(n.props,/grid-\w+-start/)})?e:Re+ee(ee(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,he+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Wt(e)-1-t>6)switch(et(e,t+1)){case 109:if(et(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+he+"$2-$3$1"+Hr+(et(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Cn(e,"stretch",0)?ga(ee(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return ee(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,s,l,u,d){return Re+o+":"+i+d+(s?Re+o+"-span:"+(l?u:+u-+i)+d:"")+e});case 4949:if(et(e,t+6)===121)return ee(e,":",":"+he)+e;break;case 6444:switch(et(e,et(e,14)===45?18:11)){case 120:return ee(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+he+(et(e,14)===45?"inline-":"")+"box$3$1"+he+"$2$3$1"+Re+"$2box$3")+e;case 100:return ee(e,":",":"+Re)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ee(e,"scroll-","scroll-snap-")+e}return e}function In(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Cl(e,t,r,n){switch(e.type){case ml:if(e.children.length)break;case gl:case pi:return e.return=e.return||e.value;case la:return"";case ua:return e.return=e.value+"{"+In(e.children,n)+"}";case Yn:if(!Wt(e.value=e.props.join(",")))return""}return Wt(r=In(e.children,n))?e.return=e.value+"{"+r+"}":""}function Rl(e){var t=pa(e);return function(r,n,o,i){for(var s="",l=0;l<t;l++)s+=e[l](r,n,o,i)||"";return s}}function kl(e){return function(t){t.root||(t=t.return)&&e(t)}}function Pl(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case pi:e.return=ga(e.value,e.length,r);return;case ua:return In([er(e,{value:ee(e.value,"@","@"+he)})],n);case Yn:if(e.length)return vl(r=e.props,function(o){switch(Kt(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":xr(er(e,{props:[ee(o,/:(read-\w+)/,":"+Hr+"$1")]})),xr(er(e,{props:[o]})),Do(e,{props:Xi(r,n)});break;case"::placeholder":xr(er(e,{props:[ee(o,/:(plac\w+)/,":"+he+"input-$1")]})),xr(er(e,{props:[ee(o,/:(plac\w+)/,":"+Hr+"$1")]})),xr(er(e,{props:[ee(o,/:(plac\w+)/,Re+"input-$1")]})),xr(er(e,{props:[o]})),Do(e,{props:Xi(r,n)});break}return""})}}var jl={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},gr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ma="active",ya="data-styled-version",Xn="6.1.13",gi=`/*!sc*/
|
|
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
2
|
`,Mn=typeof window<"u"&&"HTMLElement"in window,Il=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),ts=/invalid hook call/i,$n=new Set,Ml=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` has been created dynamically.
|
|
3
3
|
`)+`You may see this warning because you've called styled inside another component.
|
|
4
|
-
To resolve this only create new StyledComponents outside of any render method and function component.`,o=console.error;try{var i=!0;console.error=function(s){for(var
|
|
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];ts.test(s)?(i=!1,$n.delete(n)):o.apply(void 0,Ar([s],c,!1))},S.useRef(),i&&!$n.has(n)&&(console.warn(n),$n.add(n))}catch(s){ts.test(s.message)&&$n.delete(n)}finally{console.error=o}}},Zn=Object.freeze([]),Rr=Object.freeze({});function Ll(e,t,r){return r===void 0&&(r=Rr),e.theme!==r.theme&&e.theme||t||r.theme}var Vo=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Dl=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Nl=/(^-|-$)/g;function rs(e){return e.replace(Dl,"-").replace(Nl,"")}var Fl=/(a)(d)/gi,En=52,ns=function(e){return String.fromCharCode(e+(e>25?39:97))};function Bo(e){var t,r="";for(t=Math.abs(e);t>En;t=t/En|0)r=ns(t%En)+r;return(ns(t%En)+r).replace(Fl,"$1-$2")}var Oo,va=5381,ur=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},ba=function(e){return ur(va,e)};function Vl(e){return Bo(ba(e)>>>0)}function wa(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Co(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var _a=typeof Symbol=="function"&&Symbol.for,xa=_a?Symbol.for("react.memo"):60115,Bl=_a?Symbol.for("react.forward_ref"):60112,zl={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ul={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Sa={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Wl=((Oo={})[Bl]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Oo[xa]=Sa,Oo);function os(e){return("type"in(t=e)&&t.type.$$typeof)===xa?Sa:"$$typeof"in e?Wl[e.$$typeof]:zl;var t}var ql=Object.defineProperty,Gl=Object.getOwnPropertyNames,is=Object.getOwnPropertySymbols,Hl=Object.getOwnPropertyDescriptor,Yl=Object.getPrototypeOf,ss=Object.prototype;function $a(e,t,r){if(typeof t!="string"){if(ss){var n=Yl(t);n&&n!==ss&&$a(e,n,r)}var o=Gl(t);is&&(o=o.concat(is(t)));for(var i=os(e),s=os(t),c=0;c<o.length;++c){var u=o[c];if(!(u in Ul||r&&r[u]||s&&u in s||i&&u in i)){var d=Hl(t,u);try{ql(e,u,d)}catch{}}}}return e}function mr(e){return typeof e=="function"}function mi(e){return typeof e=="object"&&"styledComponentId"in e}function fr(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function as(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function kr(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function zo(e,t,r){if(r===void 0&&(r=!1),!r&&!kr(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=zo(e[n],t[n]);else if(kr(t))for(var n in t)e[n]=zo(e[n],t[n]);return e}function yi(e,t){Object.defineProperty(e,"toString",{value:t})}var Ql=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
5
5
|
|
|
6
6
|
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
|
|
7
7
|
|
|
@@ -42,7 +42,7 @@ as for instance in your render method then you may be running into this limitati
|
|
|
42
42
|
|
|
43
43
|
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
44
44
|
Has styled-components' style tag been unmounted or altered by another script?
|
|
45
|
-
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Jl(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,i=e.length;o<i;o+=1)n.push(e[o]);return n.forEach(function(s){r=r.replace(/%[a-z]/,s)}),r}function Xt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Jl.apply(void 0,Tr([Ql[e]],t,!1)).trim())}var Kl=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,i=o;t>=i;)if((i<<=1)<0)throw Xt(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var s=o;s<i;s++)this.groupSizes[s]=0}for(var l=this.indexOfGroup(t+1),u=(s=0,r.length);s<u;s++)this.tag.insertRule(l,r[s])&&(this.groupSizes[t]++,l++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var i=n;i<o;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),i=o+n,s=o;s<i;s++)r+="".concat(this.tag.getRule(s)).concat(gi);return r},e}(),Xl=1<<30,Pn=new Map,Ln=new Map,jn=1,Tn=function(e){if(Pn.has(e))return Pn.get(e);for(;Ln.has(jn);)jn++;var t=jn++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>Xl))throw Xt(16,"".concat(t));return Pn.set(e,t),Ln.set(t,e),t},Zl=function(e,t){jn=t+1,Pn.set(e,t),Ln.set(t,e)},eu="style[".concat(gr,"][").concat(ya,'="').concat(Xn,'"]'),tu=new RegExp("^".concat(gr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ru=function(e,t,r){for(var n,o=r.split(","),i=0,s=o.length;i<s;i++)(n=o[i])&&e.registerName(t,n)},nu=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(gi),o=[],i=0,s=n.length;i<s;i++){var l=n[i].trim();if(l){var u=l.match(tu);if(u){var d=0|parseInt(u[1],10),h=u[2];d!==0&&(Zl(h,d),ru(e,h,u[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(l)}}},cs=function(e){for(var t=document.querySelectorAll(eu),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(gr)!==ma&&(nu(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function ou(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Ea=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(l){var u=Array.from(l.querySelectorAll("style[".concat(gr,"]")));return u[u.length-1]}(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(gr,ma),n.setAttribute(ya,Xn);var s=ou();return s&&n.setAttribute("nonce",s),r.insertBefore(n,i),n},iu=function(){function e(t){this.element=Ea(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,i=n.length;o<i;o++){var s=n[o];if(s.ownerNode===r)return s}throw Xt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),su=function(){function e(t){this.element=Ea(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),au=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),ls=Mn,cu={isServer:!Mn,useCSSOMInjection:!Il},Ta=function(){function e(t,r,n){t===void 0&&(t=Cr),r===void 0&&(r={});var o=this;this.options=ut(ut({},cu),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Mn&&ls&&(ls=!1,cs(this)),yi(this,function(){return function(i){for(var s=i.getTag(),l=s.length,u="",d=function(y){var _=function(E){return Ln.get(E)}(y);if(_===void 0)return"continue";var v=i.names.get(_),T=s.getGroup(y);if(v===void 0||!v.size||T.length===0)return"continue";var O="".concat(gr,".g").concat(y,'[id="').concat(_,'"]'),R="";v!==void 0&&v.forEach(function(E){E.length>0&&(R+="".concat(E,","))}),u+="".concat(T).concat(O,'{content:"').concat(R,'"}').concat(gi)},h=0;h<l;h++)d(h);return u}(o)})}return e.registerId=function(t){return Tn(t)},e.prototype.rehydrate=function(){!this.server&&Mn&&cs(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(ut(ut({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new au(o):n?new iu(o):new su(o)}(this.options),new Kl(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(Tn(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Tn(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Tn(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),lu=/&/g,uu=/^\s*\/\/.*$/gm;function Aa(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Aa(r.children,t)),r})}function fu(e){var t,r,n,o=Cr,i=o.options,s=i===void 0?Cr:i,l=o.plugins,u=l===void 0?Zn:l,d=function(_,v,T){return T.startsWith(r)&&T.endsWith(r)&&T.replaceAll(r,"").length>0?".".concat(t):_},h=u.slice();h.push(function(_){_.type===Yn&&_.value.includes("&")&&(_.props[0]=_.props[0].replace(lu,r).replace(n,d))}),s.prefix&&h.push(Pl),h.push(Cl);var y=function(_,v,T,O){v===void 0&&(v=""),T===void 0&&(T=""),O===void 0&&(O="&"),t=O,r=v,n=new RegExp("\\".concat(r,"\\b"),"g");var R=_.replace(uu,""),E=Al(T||v?"".concat(T," ").concat(v," { ").concat(R," }"):R);s.namespace&&(E=Aa(E,s.namespace));var A=[];return In(E,Rl(h.concat(kl(function(k){return A.push(k)})))),A};return y.hash=u.length?u.reduce(function(_,v){return v.name||Xt(15),ur(_,v.name)},va).toString():"",y}var du=new Ta,Uo=fu(),Oa=S.createContext({shouldForwardProp:void 0,styleSheet:du,stylis:Uo});Oa.Consumer;S.createContext(void 0);function us(){return S.useContext(Oa)}var fs=function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=Uo);var s=n.name+i.hash;o.hasNameForId(n.id,s)||o.insertRules(n.id,s,i(n.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,yi(this,function(){throw Xt(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Uo),this.name+t.hash},e}(),pu=function(e){return e>="A"&&e<="Z"};function ds(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;pu(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Ca=function(e){return e==null||e===!1||e===""},Ra=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!Ca(i)&&(Array.isArray(i)&&i.isCss||mr(i)?n.push("".concat(ds(o),":"),i,";"):Rr(i)?n.push.apply(n,Tr(Tr(["".concat(o," {")],Ra(i),!1),["}"],!1)):n.push("".concat(ds(o),": ").concat((t=o,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in jl||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function pr(e,t,r,n){if(Ca(e))return[];if(mi(e))return[".".concat(e.styledComponentId)];if(mr(e)){if(!mr(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof fs||Rr(o)||o===null||console.error("".concat(wa(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),pr(o,t,r,n)}var i;return e instanceof fs?r?(e.inject(r,n),[e.getName(n)]):[e]:Rr(e)?Ra(e):Array.isArray(e)?Array.prototype.concat.apply(Zn,e.map(function(s){return pr(s,t,r,n)})):[e.toString()]}function hu(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(mr(r)&&!mi(r))return!1}return!0}var gu=ba(Xn),mu=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&hu(t),this.componentId=r,this.baseHash=ur(gu,r),this.baseStyle=n,Ta.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=fr(o,this.staticRulesId);else{var i=as(pr(this.rules,t,r,n)),s=Bo(ur(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,s)){var l=n(i,".".concat(s),void 0,this.componentId);r.insertRules(this.componentId,s,l)}o=fr(o,s),this.staticRulesId=s}else{for(var u=ur(this.baseHash,n.hash),d="",h=0;h<this.rules.length;h++){var y=this.rules[h];if(typeof y=="string")d+=y,process.env.NODE_ENV!=="production"&&(u=ur(u,y));else if(y){var _=as(pr(y,t,r,n));u=ur(u,_+h),d+=_}}if(d){var v=Bo(u>>>0);r.hasNameForId(this.componentId,v)||r.insertRules(this.componentId,v,n(d,".".concat(v),void 0,this.componentId)),o=fr(o,v)}}return o},e}(),Dn=S.createContext(void 0);Dn.Consumer;function yu(e){var t=S.useContext(Dn),r=S.useMemo(function(){return function(n,o){if(!n)throw Xt(14);if(mr(n)){var i=n(o);if(process.env.NODE_ENV!=="production"&&(i===null||Array.isArray(i)||typeof i!="object"))throw Xt(7);return i}if(Array.isArray(n)||typeof n!="object")throw Xt(8);return o?ut(ut({},o),n):n}(e.theme,t)},[e.theme,t]);return e.children?S.createElement(Dn.Provider,{value:r},e.children):null}var Ro={},ps=new Set;function vu(e,t,r){var n=mi(e),o=e,i=!Co(e),s=t.attrs,l=s===void 0?Zn:s,u=t.componentId,d=u===void 0?function(I,M){var D=typeof I!="string"?"sc":rs(I);Ro[D]=(Ro[D]||0)+1;var P="".concat(D,"-").concat(Vl(Xn+D+Ro[D]));return M?"".concat(M,"-").concat(P):P}(t.displayName,t.parentComponentId):u,h=t.displayName,y=h===void 0?function(I){return Co(I)?"styled.".concat(I):"Styled(".concat(wa(I),")")}(e):h,_=t.displayName&&t.componentId?"".concat(rs(t.displayName),"-").concat(t.componentId):t.componentId||d,v=n&&o.attrs?o.attrs.concat(l).filter(Boolean):l,T=t.shouldForwardProp;if(n&&o.shouldForwardProp){var O=o.shouldForwardProp;if(t.shouldForwardProp){var R=t.shouldForwardProp;T=function(I,M){return O(I,M)&&R(I,M)}}else T=O}var E=new mu(r,_,n?o.componentStyle:void 0);function A(I,M){return function(D,P,ve){var be=D.attrs,pe=D.componentStyle,Ne=D.defaultProps,Me=D.foldedComponentIds,we=D.styledComponentId,Q=D.target,$e=S.useContext(Dn),ie=us(),se=D.shouldForwardProp||ie.shouldForwardProp;process.env.NODE_ENV!=="production"&&S.useDebugValue(we);var ae=Ll(P,$e,Ne)||Cr,re=function(tt,We,qe){for(var ue,_e=ut(ut({},We),{className:void 0,theme:qe}),Ee=0;Ee<tt.length;Ee+=1){var Be=mr(ue=tt[Ee])?ue(_e):ue;for(var Pe in Be)_e[Pe]=Pe==="className"?fr(_e[Pe],Be[Pe]):Pe==="style"?ut(ut({},_e[Pe]),Be[Pe]):Be[Pe]}return We.className&&(_e.className=fr(_e.className,We.className)),_e}(be,P,ae),q=re.as||Q,ce={};for(var ge in re)re[ge]===void 0||ge[0]==="$"||ge==="as"||ge==="theme"&&re.theme===ae||(ge==="forwardedAs"?ce.as=re.forwardedAs:se&&!se(ge,q)||(ce[ge]=re[ge],se||process.env.NODE_ENV!=="development"||hl(ge)||ps.has(ge)||!Vo.has(q)||(ps.add(ge),console.warn('styled-components: it looks like an unknown prop "'.concat(ge,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var G=function(tt,We){var qe=us(),ue=tt.generateAndInjectStyles(We,qe.styleSheet,qe.stylis);return process.env.NODE_ENV!=="production"&&S.useDebugValue(ue),ue}(pe,re);process.env.NODE_ENV!=="production"&&D.warnTooManyClasses&&D.warnTooManyClasses(G);var st=fr(Me,we);return G&&(st+=" "+G),re.className&&(st+=" "+re.className),ce[Co(q)&&!Vo.has(q)?"class":"className"]=st,ce.ref=ve,S.createElement(q,ce)}(k,I,M)}A.displayName=y;var k=S.forwardRef(A);return k.attrs=v,k.componentStyle=E,k.displayName=y,k.shouldForwardProp=T,k.foldedComponentIds=n?fr(o.foldedComponentIds,o.styledComponentId):"",k.styledComponentId=_,k.target=n?o.target:e,Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(I){this._foldedDefaultProps=n?function(M){for(var D=[],P=1;P<arguments.length;P++)D[P-1]=arguments[P];for(var ve=0,be=D;ve<be.length;ve++)zo(M,be[ve],!0);return M}({},o.defaultProps,I):I}}),process.env.NODE_ENV!=="production"&&(Ml(y,_),k.warnTooManyClasses=function(I,M){var D={},P=!1;return function(ve){if(!P&&(D[ve]=!0,Object.keys(D).length>=200)){var be=M?' with the id of "'.concat(M,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(I).concat(be,`.
|
|
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
46
|
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
47
47
|
Example:
|
|
48
48
|
const Component = styled.div.attrs(props => ({
|
|
@@ -51,11 +51,11 @@ Example:
|
|
|
51
51
|
},
|
|
52
52
|
}))\`width: 100%;\`
|
|
53
53
|
|
|
54
|
-
<Component />`),P=!0,D={}}}}(y,
|
|
54
|
+
<Component />`),P=!0,D={}}}}(y,w)),yi(k,function(){return".".concat(k.styledComponentId)}),i&&$a(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function hs(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var gs=function(e){return Object.assign(e,{isCss:!0})};function bu(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(mr(e)||kr(e))return gs(pr(hs(Zn,Ar([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?pr(n):gs(pr(hs(n,t)))}function Wo(e,t,r){if(r===void 0&&(r=Rr),!t)throw Xt(1,t);var n=function(o){for(var i=[],s=1;s<arguments.length;s++)i[s-1]=arguments[s];return e(t,r,bu.apply(void 0,Ar([o],i,!1)))};return n.attrs=function(o){return Wo(e,t,ut(ut({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return Wo(e,t,ut(ut({},r),o))},n}var ka=function(e){return Wo(vu,e)},Be=ka;Vo.forEach(function(e){Be[e]=ka(e)});process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
55
55
|
Perhaps you're looking to import 'styled-components/native'?
|
|
56
56
|
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var An="__sc-".concat(gr,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[An]||(window[An]=0),window[An]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
57
57
|
|
|
58
|
-
See https://s-c.sh/2BAXzed for more info.`),window[An]+=1);var qo={exports:{}},
|
|
58
|
+
See https://s-c.sh/2BAXzed for more info.`),window[An]+=1);var qo={exports:{}},Wr={};/**
|
|
59
59
|
* @license React
|
|
60
60
|
* react-jsx-runtime.production.min.js
|
|
61
61
|
*
|
|
@@ -63,7 +63,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[An]+=1);var qo={exports:{}},U
|
|
|
63
63
|
*
|
|
64
64
|
* This source code is licensed under the MIT license found in the
|
|
65
65
|
* LICENSE file in the root directory of this source tree.
|
|
66
|
-
*/var ms;function wu(){if(ms)return
|
|
66
|
+
*/var ms;function wu(){if(ms)return Wr;ms=1;var e=S,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(c,u,d){var h,y={},w=null,v=null;d!==void 0&&(w=""+d),u.key!==void 0&&(w=""+u.key),u.ref!==void 0&&(v=u.ref);for(h in u)n.call(u,h)&&!i.hasOwnProperty(h)&&(y[h]=u[h]);if(c&&c.defaultProps)for(h in u=c.defaultProps,u)y[h]===void 0&&(y[h]=u[h]);return{$$typeof:t,type:c,key:w,ref:v,props:y,_owner:o.current}}return Wr.Fragment=r,Wr.jsx=s,Wr.jsxs=s,Wr}var qr={};/**
|
|
67
67
|
* @license React
|
|
68
68
|
* react-jsx-runtime.development.js
|
|
69
69
|
*
|
|
@@ -71,44 +71,44 @@ See https://s-c.sh/2BAXzed for more info.`),window[An]+=1);var qo={exports:{}},U
|
|
|
71
71
|
*
|
|
72
72
|
* This source code is licensed under the MIT license found in the
|
|
73
73
|
* LICENSE file in the root directory of this source tree.
|
|
74
|
-
*/var ys;function _u(){return ys||(ys=1,process.env.NODE_ENV!=="production"&&function(){var e=S,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),
|
|
75
|
-
`+
|
|
74
|
+
*/var ys;function _u(){return ys||(ys=1,process.env.NODE_ENV!=="production"&&function(){var e=S,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),T=Symbol.iterator,O="@@iterator";function R(f){if(f===null||typeof f!="object")return null;var b=T&&f[T]||f[O];return typeof b=="function"?b:null}var E=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function A(f){{for(var b=arguments.length,$=new Array(b>1?b-1:0),F=1;F<b;F++)$[F-1]=arguments[F];k("error",f,$)}}function k(f,b,$){{var F=E.ReactDebugCurrentFrame,oe=F.getStackAddendum();oe!==""&&(b+="%s",$=$.concat([oe]));var te=$.map(function(K){return String(K)});te.unshift("Warning: "+b),Function.prototype.apply.call(console[f],console,te)}}var I=!1,M=!1,D=!1,P=!1,ve=!1,be;be=Symbol.for("react.module.reference");function pe(f){return!!(typeof f=="string"||typeof f=="function"||f===n||f===i||ve||f===o||f===d||f===h||P||f===v||I||M||D||typeof f=="object"&&f!==null&&(f.$$typeof===w||f.$$typeof===y||f.$$typeof===s||f.$$typeof===c||f.$$typeof===u||f.$$typeof===be||f.getModuleId!==void 0))}function Ne(f,b,$){var F=f.displayName;if(F)return F;var oe=b.displayName||b.name||"";return oe!==""?$+"("+oe+")":$}function Me(f){return f.displayName||"Context"}function we(f){if(f==null)return null;if(typeof f.tag=="number"&&A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case d:return"Suspense";case h:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case c:var b=f;return Me(b)+".Consumer";case s:var $=f;return Me($._context)+".Provider";case u:return Ne(f,f.render,"ForwardRef");case y:var F=f.displayName||null;return F!==null?F:we(f.type)||"Memo";case w:{var oe=f,te=oe._payload,K=oe._init;try{return we(K(te))}catch{return null}}}return null}var J=Object.assign,$e=0,ie,se,ae,re,q,ce,ge;function G(){}G.__reactDisabledLog=!0;function st(){{if($e===0){ie=console.log,se=console.info,ae=console.warn,re=console.error,q=console.group,ce=console.groupCollapsed,ge=console.groupEnd;var f={configurable:!0,enumerable:!0,value:G,writable:!0};Object.defineProperties(console,{info:f,log:f,warn:f,error:f,group:f,groupCollapsed:f,groupEnd:f})}$e++}}function tt(){{if($e--,$e===0){var f={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:J({},f,{value:ie}),info:J({},f,{value:se}),warn:J({},f,{value:ae}),error:J({},f,{value:re}),group:J({},f,{value:q}),groupCollapsed:J({},f,{value:ce}),groupEnd:J({},f,{value:ge})})}$e<0&&A("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var qe=E.ReactCurrentDispatcher,Ge;function ue(f,b,$){{if(Ge===void 0)try{throw Error()}catch(oe){var F=oe.stack.trim().match(/\n( *(at )?)/);Ge=F&&F[1]||""}return`
|
|
75
|
+
`+Ge+f}}var _e=!1,Ee;{var ze=typeof WeakMap=="function"?WeakMap:Map;Ee=new ze}function Pe(f,b){if(!f||_e)return"";{var $=Ee.get(f);if($!==void 0)return $}var F;_e=!0;var oe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var te;te=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){F=ot}Reflect.construct(f,[],K)}else{try{K.call()}catch(ot){F=ot}f.call(K.prototype)}}else{try{throw Error()}catch(ot){F=ot}f()}}catch(ot){if(ot&&F&&typeof ot.stack=="string"){for(var Q=ot.stack.split(`
|
|
76
76
|
`),De=F.stack.split(`
|
|
77
|
-
`),B=
|
|
78
|
-
`+
|
|
77
|
+
`),B=Q.length-1,le=De.length-1;B>=1&&le>=0&&Q[B]!==De[le];)le--;for(;B>=1&&le>=0;B--,le--)if(Q[B]!==De[le]){if(B!==1||le!==1)do if(B--,le--,le<0||Q[B]!==De[le]){var Ce=`
|
|
78
|
+
`+Q[B].replace(" at new "," at ");return f.displayName&&Ce.includes("<anonymous>")&&(Ce=Ce.replace("<anonymous>",f.displayName)),typeof f=="function"&&Ee.set(f,Ce),Ce}while(B>=1&&le>=0);break}}}finally{_e=!1,qe.current=te,tt(),Error.prepareStackTrace=oe}var Ze=f?f.displayName||f.name:"",Yt=Ze?ue(Ze):"";return typeof f=="function"&&Ee.set(f,Yt),Yt}function ft(f,b,$){return Pe(f,!1)}function Rt(f){var b=f.prototype;return!!(b&&b.isReactComponent)}function Te(f,b,$){if(f==null)return"";if(typeof f=="function")return Pe(f,Rt(f));if(typeof f=="string")return ue(f);switch(f){case d:return ue("Suspense");case h:return ue("SuspenseList")}if(typeof f=="object")switch(f.$$typeof){case u:return ft(f.render);case y:return Te(f.type,b,$);case w:{var F=f,oe=F._payload,te=F._init;try{return Te(te(oe),b,$)}catch{}}}return""}var dt=Object.prototype.hasOwnProperty,Je={},pt=E.ReactDebugCurrentFrame;function fe(f){if(f){var b=f._owner,$=Te(f.type,f._source,b?b.type:null);pt.setExtraStackFrame($)}else pt.setExtraStackFrame(null)}function ht(f,b,$,F,oe){{var te=Function.call.bind(dt);for(var K in f)if(te(f,K)){var Q=void 0;try{if(typeof f[K]!="function"){var De=Error((F||"React class")+": "+$+" type `"+K+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof f[K]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw De.name="Invariant Violation",De}Q=f[K](b,K,F,$,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(B){Q=B}Q&&!(Q instanceof Error)&&(fe(oe),A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",F||"React class",$,K,typeof Q),fe(null)),Q instanceof Error&&!(Q.message in Je)&&(Je[Q.message]=!0,fe(oe),A("Failed %s type: %s",$,Q.message),fe(null))}}}var gt=Array.isArray;function mt(f){return gt(f)}function Ot(f){{var b=typeof Symbol=="function"&&Symbol.toStringTag,$=b&&f[Symbol.toStringTag]||f.constructor.name||"Object";return $}}function rt(f){try{return at(f),!1}catch{return!0}}function at(f){return""+f}function yt(f){if(rt(f))return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ot(f)),at(f)}var Ke=E.ReactCurrentOwner,xt={key:!0,ref:!0,__self:!0,__source:!0},St,kt,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 $=we(Ke.current.type);He[$]||(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[$]=!0)}}function Dt(f,b){{var $=function(){St||(St=!0,A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",b))};$.isReactWarning=!0,Object.defineProperty(f,"key",{get:$,configurable:!0})}}function Nt(f,b){{var $=function(){kt||(kt=!0,A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",b))};$.isReactWarning=!0,Object.defineProperty(f,"ref",{get:$,configurable:!0})}}var vt=function(f,b,$,F,oe,te,K){var Q={$$typeof:t,type:f,key:b,ref:$,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:F}),Object.defineProperty(Q,"_source",{configurable:!1,enumerable:!1,writable:!1,value:oe}),Object.freeze&&(Object.freeze(Q.props),Object.freeze(Q)),Q};function bt(f,b,$,F,oe){{var te,K={},Q=null,De=null;$!==void 0&&(yt($),Q=""+$),nt(b)&&(yt(b.key),Q=""+b.key),Pt(b)&&(De=b.ref,xe(b,oe));for(te in b)dt.call(b,te)&&!xt.hasOwnProperty(te)&&(K[te]=b[te]);if(f&&f.defaultProps){var B=f.defaultProps;for(te in B)K[te]===void 0&&(K[te]=B[te])}if(Q||De){var le=typeof f=="function"?f.displayName||f.name||"Unknown":f;Q&&Dt(K,le),De&&Nt(K,le)}return vt(f,Q,De,oe,F,Ke.current,K)}}var Ye=E.ReactCurrentOwner,ct=E.ReactDebugCurrentFrame;function Ue(f){if(f){var b=f._owner,$=Te(f.type,f._source,b?b.type:null);ct.setExtraStackFrame($)}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
79
|
|
|
80
80
|
Check the render method of \``+f+"`."}return""}}function Xe(f){return""}var N={};function Z(f){{var b=Se();if(!b){var $=typeof f=="string"?f:f.displayName||f.name;$&&(b=`
|
|
81
81
|
|
|
82
|
-
Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(!f._store||f._store.validated||f.key!=null)return;f._store.validated=!0;var $=Z(b);if(N[$])return;N[$]=!0;var F="";f&&f._owner&&f._owner!==
|
|
82
|
+
Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(!f._store||f._store.validated||f.key!=null)return;f._store.validated=!0;var $=Z(b);if(N[$])return;N[$]=!0;var F="";f&&f._owner&&f._owner!==Ye.current&&(F=" It was passed a child from "+we(f._owner.type)+"."),Ue(f),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',$,F),Ue(null)}}function wt(f,b){{if(typeof f!="object")return;if(mt(f))for(var $=0;$<f.length;$++){var F=f[$];$t(F)&&je(F,b)}else if($t(f))f._store&&(f._store.validated=!0);else if(f){var oe=R(f);if(typeof oe=="function"&&oe!==f.entries)for(var te=oe.call(f),K;!(K=te.next()).done;)$t(K.value)&&je(K.value,b)}}}function C(f){{var b=f.type;if(b==null||typeof b=="string")return;var $;if(typeof b=="function")$=b.propTypes;else if(typeof b=="object"&&(b.$$typeof===u||b.$$typeof===y))$=b.propTypes;else return;if($){var F=we(b);ht($,f.props,"prop",F,f)}else if(b.PropTypes!==void 0&&!Qe){Qe=!0;var oe=we(b);A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",oe||"Unknown")}typeof b.getDefaultProps=="function"&&!b.getDefaultProps.isReactClassApproved&&A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function V(f){{for(var b=Object.keys(f.props),$=0;$<b.length;$++){var F=b[$];if(F!=="children"&&F!=="key"){Ue(f),A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",F),Ue(null);break}}f.ref!==null&&(Ue(f),A("Invalid attribute `ref` supplied to `React.Fragment`."),Ue(null))}}function z(f,b,$,F,oe,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 De=Xe();De?Q+=De:Q+=Se();var B;f===null?B="null":mt(f)?B="array":f!==void 0&&f.$$typeof===t?(B="<"+(we(f.type)||"Unknown")+" />",Q=" Did you accidentally export a JSX literal instead of a component?"):B=typeof f,A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",B,Q)}var le=bt(f,b,$,oe,te);if(le==null)return le;if(K){var Ce=b.children;if(Ce!==void 0)if(F)if(mt(Ce)){for(var Ze=0;Ze<Ce.length;Ze++)wt(Ce[Ze],f);Object.freeze&&Object.freeze(Ce)}else A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else wt(Ce,f)}return f===n?V(le):C(le),le}}function Ae(f,b,$){return z(f,b,$,!0)}function Le(f,b,$){return z(f,b,$,!1)}var lt=Le,Oe=Ae;qr.Fragment=n,qr.jsx=lt,qr.jsxs=Oe}()),qr}process.env.NODE_ENV==="production"?qo.exports=wu():qo.exports=_u();var Y=qo.exports;const xu={25:"#fcfcfd",50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#2f394b",800:"#212a36",900:"#161b25"},Su={25:"#fef2f3",50:"#fddfe2",100:"#fbbac0",200:"#f9959e",300:"#f65e6a",400:"#f32637",500:"#bf0b1a",600:"#ac0a17",700:"#9a0915",800:"#870812",900:"#750710"},$u={25:"",50:"",100:"#ffe6ff",200:"",300:"#b8075d",400:"",500:"#7f0540",600:"",700:"#59042d",800:"",900:"#460323"},Eu={25:"",50:"#fef3f2",100:"",200:"#fecdca",300:"",400:"",500:"#f04438",600:"",700:"#b42318",800:"",900:""},Tu={25:"",50:"#fffaeb",100:"",200:"#fef0c7",300:"",400:"#ffd562",500:"#fdb022",600:"#dc6803",700:"#b54708",800:"",900:""},Au={25:"",50:"#f6fef9",100:"",200:"#a6f4c5",300:"",400:"",500:"#12b76a",600:"",700:"#027a48",800:"",900:""},Ou={25:"",50:"#eff8ff",100:"",200:"#b2ddff",300:"",400:"",500:"#2e90fa",600:"",700:"#175cd3",800:"",900:""},Cu={"01":"linear-gradient(45deg, #f32637 0%, #b8075d 100%)","02":"linear-gradient(45deg, #fcfcfd 0%, #667085 100%)"},Ru={type:{primary:"Roboto, sans-serif",poppins:"'Poppins', sans-serif",mono:"'Space Mono', monospace"},heading:{xxl:"64px",xl:"48px",lg:"32px",md:"24px",sm:"20px",xs:"16px"},text:{xl:"20px",lg:"18px",md:"16px",sm:"14px",xs:"12px"},weight:{bold:"700",semibold:"600",regular:"400"}},ku={none:"none",sm:"0px 1px 2px 0px rgba(16, 24, 40, 0.15)",md:"0px 4px 6px 0px rgba(16, 24, 40, 0.15)",lg:"0px 8px 24px 0px rgba(16, 24, 40, 0.15)"},Pu={mobile:"480px",tablet:"960px",sm:"1024px",md:"1440px",lg:"1920px"},ju={0:"0rem",.125:"0.125rem",.25:"0.25rem",.5:"0.5rem",.625:"0.625rem",.75:"0.75rem",1:"1rem",1.25:"1.25rem",1.5:"1.5rem",1.75:"1.75rem",2:"2rem",2.25:"2.25rem",2.5:"2.5rem",3:"3rem",3.5:"3.5rem",4:"4rem",4.5:"4.5rem",5:"5rem",6:"6rem"},Iu=["lock-keyhole","bolt","books","brain-circuit","briefcase","bug","buildings","bullseye-pointer","calendar-clock","calendar-xmark","chart-network","clipboard-check","clouds","comment","envelope","eye","file","flag","globe","hand-holding-dollar","hands-clapping","headset","hexagon-exclamation","light-emergency-on","magnifying-glass","pen-line","plane-departure","screwdriver-wrench","sensor-triangle-exclamation","shield-check","shield","skull","sliders","star-christmas","telescope","trash","unlock","user-group","user-hoodie","xmark"],Mu=[["fal","arrow-down"],["fal","arrow-left"],["fal","arrow-right"],["fal","arrow-up"],["fal","plus"],["fal","minus"],["fas","check"],["fas","circle-question"]],de={typography:Ru,shadows:ku,breakpoints:Pu,spacing:ju,palette:{primary:Su,complementary:$u,error:Eu,info:Ou,warning:Tu,success:Au,black:"#0c111d",white:"#ffffff",gray:xu,gradients:Cu}},Lu=({children:e})=>Y.jsx(yu,{theme:de,children:e}),W=(e,t)=>t===void 0?"":`${e}: ${t};`,Zr=e=>{const t=e.py??e.pt??0,r=e.px??e.pr??0,n=e.py??e.pb??0,o=e.px??e.pl??0;if(e.padding){const[i,s,c,u]=e.padding;return`padding: ${de.spacing[i]} ${de.spacing[s]} ${de.spacing[c]} ${de.spacing[u]};`}return`padding: ${de.spacing[t]} ${de.spacing[r]} ${de.spacing[n]} ${de.spacing[o]};`},en=e=>{const t=e.my??e.mt??0,r=e.mx??e.mr??0,n=e.my??e.mb??0,o=e.mx??e.ml??0;if(e.margin){const[i,s,c,u]=e.margin;return`margin: ${de.spacing[i]} ${de.spacing[s]} ${de.spacing[c]} ${de.spacing[u]};`}return`margin: ${de.spacing[t]} ${de.spacing[r]} ${de.spacing[n]} ${de.spacing[o]};`},tn=e=>{const t=W("position",e.position),r=W("top",e.top),n=W("right",e.right),o=W("bottom",e.bottom),i=W("left",e.left),s=W("z-index",e.zIndex);return`
|
|
83
83
|
${t}
|
|
84
84
|
${r}
|
|
85
85
|
${n}
|
|
86
86
|
${o}
|
|
87
87
|
${i}
|
|
88
88
|
${s}
|
|
89
|
-
`},rn=e=>{const t=W("border",e.border),r=W("border-top",e.borderTop),n=W("border-right",e.borderRight),o=W("border-bottom",e.borderBottom),i=W("border-left",e.borderLeft),s=W("border-color",e.borderColor),
|
|
89
|
+
`},rn=e=>{const t=W("border",e.border),r=W("border-top",e.borderTop),n=W("border-right",e.borderRight),o=W("border-bottom",e.borderBottom),i=W("border-left",e.borderLeft),s=W("border-color",e.borderColor),c=W("border-radius",e.borderRadius);return`
|
|
90
90
|
${t}
|
|
91
91
|
${r}
|
|
92
92
|
${n}
|
|
93
93
|
${o}
|
|
94
94
|
${i}
|
|
95
95
|
${s}
|
|
96
|
-
${
|
|
96
|
+
${c}
|
|
97
97
|
`},Du=e=>e.includes("x")?"overflow-x: auto;":"",Nu=e=>e.includes("y")?"overflow-y: auto;":"",nn=e=>{const t=e.scroll?`
|
|
98
98
|
${Du(e.scroll)}
|
|
99
99
|
${Nu(e.scroll)}
|
|
100
|
-
`:"",r=W("visibility",e.visibility),n=W("display",e.display),o=W("height",e.height),i=W("width",e.width),s=W("max-height",e.maxHeight),
|
|
100
|
+
`:"",r=W("visibility",e.visibility),n=W("display",e.display),o=W("height",e.height),i=W("width",e.width),s=W("max-height",e.maxHeight),c=W("max-width",e.maxWidth),u=W("min-height",e.minHeight),d=W("min-width",e.minWidth),h=W("box-shadow",e.shadow?de.shadows[e.shadow]:void 0),y=W("gap",e.gap===void 0?void 0:de.spacing[e.gap]),w=W("background-color",e.bgColor),v=W("background",e.bgGradient),T=W("flex-direction",e.flexDirection),O=W("flex-grow",e.flexGrow),R=W("justify-content",e.justify),E=W("justify-self",e.justifySelf),A=W("align-items",e.alignItems),k=W("align-self",e.alignSelf),I=W("flex-wrap",e.wrap);return`
|
|
101
101
|
${t}
|
|
102
102
|
${r}
|
|
103
103
|
${n}
|
|
104
104
|
${o}
|
|
105
105
|
${i}
|
|
106
106
|
${s}
|
|
107
|
-
${
|
|
107
|
+
${c}
|
|
108
108
|
${u}
|
|
109
109
|
${d}
|
|
110
110
|
${h}
|
|
111
|
-
${
|
|
111
|
+
${w}
|
|
112
112
|
${v}
|
|
113
113
|
${y}
|
|
114
114
|
${T}
|
|
@@ -118,19 +118,19 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
118
118
|
${A}
|
|
119
119
|
${k}
|
|
120
120
|
${I}
|
|
121
|
-
`},on=e=>{const t=W("color",e.color),r=W("font-family",e.fontFamily),n=W("font-size",e.fontSize),o=W("font-weight",e.fontWeight),i=W("line-spacing",e.letterSpacing),s=W("line-height",e.lineSpacing),
|
|
121
|
+
`},on=e=>{const t=W("color",e.color),r=W("font-family",e.fontFamily),n=W("font-size",e.fontSize),o=W("font-weight",e.fontWeight),i=W("line-spacing",e.letterSpacing),s=W("line-height",e.lineSpacing),c=W("text-align",e.textAlign),u=W("text-decoration",e.textDecoration),d=W("text-overflow",e.textOverflow),h=W("white-space",e.whiteSpace),y=W("word-break",e.wordBreak),w=W("word-wrap",e.wordWrap);return`
|
|
122
122
|
${t}
|
|
123
123
|
${r}
|
|
124
124
|
${n}
|
|
125
125
|
${o}
|
|
126
126
|
${i}
|
|
127
127
|
${s}
|
|
128
|
-
${
|
|
128
|
+
${c}
|
|
129
129
|
${u}
|
|
130
130
|
${d}
|
|
131
131
|
${h}
|
|
132
132
|
${y}
|
|
133
|
-
${
|
|
133
|
+
${w}
|
|
134
134
|
`},sn=e=>{const t=W("cursor",e.cursor),r=W("border-color",e.borderColorHover),n=W("background-color",e.bgColorHover),o=W("box-shadow",e.shadowHover===void 0?void 0:de.shadows[e.shadowHover]),i=W("transition",e.transition);return`
|
|
135
135
|
${t}
|
|
136
136
|
|
|
@@ -140,7 +140,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
140
140
|
${n}
|
|
141
141
|
${o}
|
|
142
142
|
}
|
|
143
|
-
`},an=()=>({shouldForwardProp:e=>!aa.includes(e)}),eo=
|
|
143
|
+
`},an=()=>({shouldForwardProp:e=>!aa.includes(e)}),eo=Be.div.withConfig(an())`
|
|
144
144
|
${Zr}
|
|
145
145
|
${en}
|
|
146
146
|
${tn}
|
|
@@ -148,7 +148,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
148
148
|
${on}
|
|
149
149
|
${rn}
|
|
150
150
|
${sn}
|
|
151
|
-
`,Pa=
|
|
151
|
+
`,Pa=Be.button.withConfig(an())`
|
|
152
152
|
${Zr}
|
|
153
153
|
${en}
|
|
154
154
|
${tn}
|
|
@@ -156,7 +156,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
156
156
|
${on}
|
|
157
157
|
${rn}
|
|
158
158
|
${sn}
|
|
159
|
-
`,vi=
|
|
159
|
+
`,vi=Be.p.withConfig(an())`
|
|
160
160
|
${Zr}
|
|
161
161
|
${en}
|
|
162
162
|
${tn}
|
|
@@ -164,7 +164,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
164
164
|
${on}
|
|
165
165
|
${rn}
|
|
166
166
|
${sn}
|
|
167
|
-
`,ja=
|
|
167
|
+
`,ja=Be.span.withConfig(an())`
|
|
168
168
|
${Zr}
|
|
169
169
|
${en}
|
|
170
170
|
${tn}
|
|
@@ -172,35 +172,57 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
172
172
|
${on}
|
|
173
173
|
${rn}
|
|
174
174
|
${sn}
|
|
175
|
-
`,Fu=(e,t,r,n)=>n==="platform"?t||e===r-1?"1px solid":void 0:e===r-1?"1px solid":void 0,Vu=(e,t)=>t==="progress"&&e?void 0:"1px solid",Bu=(e,t)=>t==="simple"?e?"minus":"plus":e?"chevron-up":"chevron-down",Ia=e=>e?"block":"none",zu=(e,t,r)=>{r(e===t?n=>!n:!0)},Uu=e=>e==="platform"?[.75,.75,.75,.75]:[1.5,2,1.5,2],Wu=e=>{if(e==="platform")return[.75,.75,.75,.75]},qu=e=>e==="platform"?de.palette.gray[100]:de.palette.gray[50],Gu=e=>e==="platform"?de.palette.gray[200]:de.palette.gray[300],Hu=e=>e==="platform"?de.palette.gray[400]:de.palette.gray[800],Yu=e=>e==="end"?"row":"row-reverse",Ma=e=>e==="platform"?"sm":"md",Qu=e=>e*1e3/100,Ju=
|
|
175
|
+
`,Fu=(e,t,r,n)=>n==="platform"?t||e===r-1?"1px solid":void 0:e===r-1?"1px solid":void 0,Vu=(e,t)=>t==="progress"&&e?void 0:"1px solid",Bu=(e,t)=>t==="simple"?e?"minus":"plus":e?"chevron-up":"chevron-down",Ia=e=>e?"block":"none",zu=(e,t,r)=>{r(e===t?n=>!n:!0)},Uu=e=>e==="platform"?[.75,.75,.75,.75]:[1.5,2,1.5,2],Wu=e=>{if(e==="platform")return[.75,.75,.75,.75]},qu=e=>e==="platform"?de.palette.gray[100]:de.palette.gray[50],Gu=e=>e==="platform"?de.palette.gray[200]:de.palette.gray[300],Hu=e=>e==="platform"?de.palette.gray[400]:de.palette.gray[800],Yu=e=>e==="end"?"row":"row-reverse",Ma=e=>e==="platform"?"sm":"md",Qu=e=>e*1e3/100,Ju=Be(eo)`
|
|
176
176
|
${({$center:e=!1})=>`
|
|
177
177
|
${e?"margin: auto;":""}
|
|
178
178
|
`}
|
|
179
|
-
`,qt=S.forwardRef(function({as:t="div",center:r,children:n,id:o,onHover:i,onLeave:s,...
|
|
180
|
-
${({theme:e,$color:t=e.palette.gray[800],$display:r="block",$fontFamily:n=e.typography.type.poppins,$fontWeight:o="bold",$letterSpacing:i=0,$lineSpacing:s=1.5,$size:
|
|
179
|
+
`,qt=S.forwardRef(function({as:t="div",center:r,children:n,id:o,onHover:i,onLeave:s,...c},u){return Y.jsx(Ju,{$center:r,as:t,id:o,onMouseLeave:s,onMouseOver:i,ref:u,...c,children:n})}),Ku=Be(vi)`
|
|
180
|
+
${({theme:e,$color:t=e.palette.gray[800],$display:r="block",$fontFamily:n=e.typography.type.poppins,$fontWeight:o="bold",$letterSpacing:i=0,$lineSpacing:s=1.5,$size:c,$sizeMd:u,$sizeSm:d,$wordBreak:h="normal"})=>`
|
|
181
181
|
color: ${t};
|
|
182
182
|
display: ${r};
|
|
183
183
|
font-family: ${n};
|
|
184
|
-
font-size: ${e.typography.heading[
|
|
184
|
+
font-size: ${e.typography.heading[c]};
|
|
185
185
|
font-weight: ${e.typography.weight[o]};
|
|
186
186
|
letter-spacing: ${i};
|
|
187
187
|
line-height: ${e.spacing[s]};
|
|
188
188
|
width: ${r==="block"?"100%":"auto"};
|
|
189
|
-
word-break: ${
|
|
189
|
+
word-break: ${h};
|
|
190
|
+
|
|
191
|
+
@media screen
|
|
192
|
+
and (min-width: ${e.breakpoints.mobile})
|
|
193
|
+
and (max-width: ${e.breakpoints.tablet})
|
|
194
|
+
{
|
|
195
|
+
font-size: ${e.typography.heading[u??c]};
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
199
|
+
font-size: ${e.typography.heading[d??c]};
|
|
200
|
+
}
|
|
190
201
|
`}
|
|
191
|
-
`,Xu=
|
|
192
|
-
${({theme:e,$color:t=e.palette.gray[600],$display:r="block",$fontFamily:n=e.typography.type.primary,$fontWeight:o="regular",$letterSpacing:i=0,$lineSpacing:s=1.25,$size:
|
|
202
|
+
`,Xu=Be(vi)`
|
|
203
|
+
${({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"})=>`
|
|
193
204
|
color: ${t};
|
|
194
205
|
display: ${r};
|
|
195
206
|
font-family: ${n};
|
|
196
|
-
font-size: ${e.typography.text[
|
|
207
|
+
font-size: ${e.typography.text[c]};
|
|
197
208
|
font-weight: ${e.typography.weight[o]};
|
|
198
209
|
letter-spacing: ${i};
|
|
199
210
|
line-height: ${e.spacing[s]};
|
|
200
211
|
width: ${r==="block"?"100%":"auto"};
|
|
201
|
-
word-break: ${
|
|
212
|
+
word-break: ${h};
|
|
213
|
+
|
|
214
|
+
@media screen
|
|
215
|
+
and (min-width: ${e.breakpoints.mobile})
|
|
216
|
+
and (max-width: ${e.breakpoints.tablet})
|
|
217
|
+
{
|
|
218
|
+
font-size: ${e.typography.text[u??c]};
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
222
|
+
font-size: ${e.typography.text[d??c]};
|
|
223
|
+
}
|
|
202
224
|
`}
|
|
203
|
-
`,Zu=S.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:
|
|
225
|
+
`,Zu=S.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:c,size:u,sizeMd:d,sizeSm:h,wordBreak:y,...w},v){return Y.jsx(Ku,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:s,$lineSpacing:c,$size:u,$sizeMd:d,$sizeSm:h,$wordBreak:y,ref:v,...w,children:t})}),yr=S.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:c,size:u,sizeMd:d,sizeSm:h,wordBreak:y,...w},v){return Y.jsx(Xu,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:s,$lineSpacing:c,$size:u,$sizeMd:d,$sizeSm:h,$wordBreak:y,ref:v,...w,children:t})}),vs=({isSelectedAndOpen:e,item:t,variant:r,render:n})=>n?Y.jsxs(qt,{display:Ia(e),padding:Wu(r),children:[t.description?Y.jsx(yr,{mb:t.extraElement?.5:void 0,mt:r==="platform"?void 0:.5,size:Ma(r),sizeSm:"sm",children:t.description}):void 0,t.extraElement?Y.jsx(qt,{children:t.extraElement}):void 0]}):null,ef=Be(eo)`
|
|
204
226
|
animation: ${({$animationTime:e})=>`progress-bar ${e}s ease-in-out`};
|
|
205
227
|
animation-fill-mode: both;
|
|
206
228
|
|
|
@@ -213,7 +235,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
213
235
|
width: 100%;
|
|
214
236
|
}
|
|
215
237
|
}
|
|
216
|
-
`,tf={xl:"96px",lg:"64px",md:"32px",sm:"24px",xs:"16px",xxs:"12px"},rf=
|
|
238
|
+
`,tf={xl:"96px",lg:"64px",md:"32px",sm:"24px",xs:"16px",xxs:"12px"},rf=Be(ja)`
|
|
217
239
|
${({$clickable:e,$color:t="inherit",$disabled:r=!1,$hoverColor:n,$rotation:o,$size:i})=>`
|
|
218
240
|
color: ${t};
|
|
219
241
|
cursor: ${e?"cursor":"inherit"};
|
|
@@ -227,20 +249,25 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
227
249
|
transform: ${o===void 0?"":`rotate(${o}deg)`};
|
|
228
250
|
}
|
|
229
251
|
|
|
252
|
+
.fill-gradient-01 path {
|
|
253
|
+
fill: url(/gradients.svg#gradient-01);
|
|
254
|
+
fill: url(#gradient-01);
|
|
255
|
+
}
|
|
256
|
+
|
|
230
257
|
${()=>{const s=n===void 0?"filter: brightness(50%);":`color: ${n};`;return e===!0?`
|
|
231
258
|
&:hover {
|
|
232
259
|
${s}
|
|
233
260
|
}
|
|
234
261
|
`:""}}
|
|
235
262
|
`}
|
|
236
|
-
`;
|
|
263
|
+
`;Be.div`
|
|
237
264
|
cursor: pointer;
|
|
238
265
|
transition: all 0.2s ease-in-out;
|
|
239
266
|
|
|
240
267
|
&:hover:not([disabled]) {
|
|
241
268
|
transform: scale(1.2);
|
|
242
269
|
}
|
|
243
|
-
`;const
|
|
270
|
+
`;const Pr=S.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:y,rotation:w,...v},T){return Y.jsx(rf,{$clickable:t,$color:s,$disabled:r,$hoverColor:n,$rotation:w,$size:u,"data-testid":`${o}-icon`,onClick:y,ref:T,...v,children:Y.jsx("i",{className:`${h} fa-${o} ${i}`,...c!==void 0?{"data-fa-mask":c}:{},...d!==void 0?{"data-fa-transform":d}:{}})},`${h}-${o}`)}),nf=S.forwardRef(function({aligned:t="end",progressTime:r=10,items:n,bgColor:o,variant:i="simple"},s){const u=i==="progress"&&n.length>1,[d,h]=S.useState(!!u),[y,w]=S.useState(u?0:-1),[v,T]=S.useState(0),O=S.useCallback(R=>()=>{w(R),zu(R,y,h),u&&T(0)},[y,u]);return S.useEffect(()=>{if(u&&d){const R=()=>{w(E=>E===n.length-1?0:E+1)};v===100&&(T(0),R())}},[v,n,d,u]),S.useEffect(()=>{if(u&&d){const R=setInterval(()=>{T(E=>E===100?0:E+1)},Qu(r));return()=>{clearInterval(R)}}},[v,r,d,u]),Y.jsx(qt,{ref:s,children:n.map((R,E)=>{const A=E===y&&d;return Y.jsxs(qt,{bgColor:o??de.palette.white,children:[u?Y.jsx(qt,{bgColor:de.palette.gray[200],display:Ia(A),height:"4px",children:Y.jsx(ef,{$animationTime:r,bgGradient:de.palette.gradients["01"],height:"100%",width:`${v}%`})}):void 0,Y.jsxs(qt,{bgColorHover:qu(i),borderBottom:Fu(E,A,n.length,i),borderColor:Gu(i),borderTop:Vu(A,i),cursor:"pointer",onClick:O(E),padding:Uu(i),children:[Y.jsxs(qt,{display:"flex",flexDirection:Yu(t),gap:.75,justify:"space-between",children:[Y.jsx(yr,{color:de.palette.gray[800],fontWeight:"bold",size:Ma(i),sizeSm:"sm",children:R.title}),Y.jsx(Pr,{icon:Bu(A,i),iconColor:Hu(i),iconSize:"xs",iconType:"fa-light"})]}),Y.jsx(vs,{isSelectedAndOpen:A,item:R,render:i!=="platform",variant:i})]}),Y.jsx(vs,{isSelectedAndOpen:A,item:R,render:i==="platform",variant:i})]},R.title)})})}),{getVariant:of}=sa(e=>({ghost:`
|
|
244
271
|
background: ${e.palette.white};
|
|
245
272
|
border: none;
|
|
246
273
|
color: ${e.palette.gray[800]};
|
|
@@ -375,7 +402,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
375
402
|
background-color: ${e.palette.primary[500]};
|
|
376
403
|
color: ${e.palette.white};
|
|
377
404
|
}
|
|
378
|
-
`})),sf=
|
|
405
|
+
`})),sf=Be.div.attrs({className:"max-w-min max-h-min -z-1"})`
|
|
379
406
|
${({theme:e,$variant:t})=>`
|
|
380
407
|
&.dark {
|
|
381
408
|
background: none;
|
|
@@ -393,7 +420,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
393
420
|
}
|
|
394
421
|
}
|
|
395
422
|
`}
|
|
396
|
-
`,af=
|
|
423
|
+
`,af=Be(Pa)`
|
|
397
424
|
${({theme:e,$bold:t,$resolution:r,$variant:n})=>`
|
|
398
425
|
--btn-padding-x: ${e.spacing[1]};
|
|
399
426
|
--btn-padding-y: ${r==="desktop"||r==="platform"?`${e.spacing[.625]}`:e.spacing[1]};
|
|
@@ -416,17 +443,17 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
416
443
|
|
|
417
444
|
${of(e,n??"primaryWeb")}
|
|
418
445
|
`}
|
|
419
|
-
`,cf=["primary","secondary","tertiary","ghost"],lf=e=>cf.includes(e??""),Pr=Math.min,hr=Math.max,Nn=Math.round,On=Math.floor,or=e=>({x:e,y:e}),uf={left:"right",right:"left",bottom:"top",top:"bottom"},ff={start:"end",end:"start"};function Go(e,t,r){return hr(e,Pr(t,r))}function cn(e,t){return typeof e=="function"?e(t):e}function yr(e){return e.split("-")[0]}function ln(e){return e.split("-")[1]}function La(e){return e==="x"?"y":"x"}function bi(e){return e==="y"?"height":"width"}function jr(e){return["top","bottom"].includes(yr(e))?"y":"x"}function wi(e){return La(jr(e))}function df(e,t,r){r===void 0&&(r=!1);const n=ln(e),o=wi(e),i=bi(o);let s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Fn(s)),[s,Fn(s)]}function pf(e){const t=Fn(e);return[Ho(e),t,Ho(t)]}function Ho(e){return e.replace(/start|end/g,t=>ff[t])}function hf(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:s;default:return[]}}function gf(e,t,r,n){const o=ln(e);let i=hf(yr(e),r==="start",n);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Ho)))),i}function Fn(e){return e.replace(/left|right|bottom|top/g,t=>uf[t])}function mf(e){return{top:0,right:0,bottom:0,left:0,...e}}function Da(e){return typeof e!="number"?mf(e):{top:e,right:e,bottom:e,left:e}}function Vn(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function bs(e,t,r){let{reference:n,floating:o}=e;const i=jr(t),s=wi(t),l=bi(s),u=yr(t),d=i==="y",h=n.x+n.width/2-o.width/2,y=n.y+n.height/2-o.height/2,_=n[l]/2-o[l]/2;let v;switch(u){case"top":v={x:h,y:n.y-o.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y};break;case"left":v={x:n.x-o.width,y};break;default:v={x:n.x,y:n.y}}switch(ln(t)){case"start":v[s]-=_*(r&&d?-1:1);break;case"end":v[s]+=_*(r&&d?-1:1);break}return v}const yf=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,l=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let d=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y}=bs(d,n,u),_=n,v={},T=0;for(let O=0;O<l.length;O++){const{name:R,fn:E}=l[O],{x:A,y:k,data:I,reset:M}=await E({x:h,y,initialPlacement:n,placement:_,strategy:o,middlewareData:v,rects:d,platform:s,elements:{reference:e,floating:t}});h=A??h,y=k??y,v={...v,[R]:{...v[R],...I}},M&&T<=50&&(T++,typeof M=="object"&&(M.placement&&(_=M.placement),M.rects&&(d=M.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):M.rects),{x:h,y}=bs(d,_,u)),O=-1)}return{x:h,y,placement:_,strategy:o,middlewareData:v}};async function Na(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:s,elements:l,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:_=!1,padding:v=0}=cn(t,e),T=Da(v),R=l[_?y==="floating"?"reference":"floating":y],E=Vn(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(R)))==null||r?R:R.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:d,rootBoundary:h,strategy:u})),A=y==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),I=await(i.isElement==null?void 0:i.isElement(k))?await(i.getScale==null?void 0:i.getScale(k))||{x:1,y:1}:{x:1,y:1},M=Vn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:A,offsetParent:k,strategy:u}):A);return{top:(E.top-M.top+T.top)/I.y,bottom:(M.bottom-E.bottom+T.bottom)/I.y,left:(E.left-M.left+T.left)/I.x,right:(M.right-E.right+T.right)/I.x}}const vf=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:s,elements:l,middlewareData:u}=t,{element:d,padding:h=0}=cn(e,t)||{};if(d==null)return{};const y=Da(h),_={x:r,y:n},v=wi(o),T=bi(v),O=await s.getDimensions(d),R=v==="y",E=R?"top":"left",A=R?"bottom":"right",k=R?"clientHeight":"clientWidth",I=i.reference[T]+i.reference[v]-_[v]-i.floating[T],M=_[v]-i.reference[v],D=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let P=D?D[k]:0;(!P||!await(s.isElement==null?void 0:s.isElement(D)))&&(P=l.floating[k]||i.floating[T]);const ve=I/2-M/2,be=P/2-O[T]/2-1,pe=Pr(y[E],be),Ne=Pr(y[A],be),Me=pe,we=P-O[T]-Ne,Q=P/2-O[T]/2+ve,$e=Go(Me,Q,we),ie=!u.arrow&&ln(o)!=null&&Q!==$e&&i.reference[T]/2-(Q<Me?pe:Ne)-O[T]/2<0,se=ie?Q<Me?Q-Me:Q-we:0;return{[v]:_[v]+se,data:{[v]:$e,centerOffset:Q-$e-se,...ie&&{alignmentOffset:se}},reset:ie}}}),bf=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:u,elements:d}=t,{mainAxis:h=!0,crossAxis:y=!0,fallbackPlacements:_,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:O=!0,...R}=cn(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const E=yr(o),A=jr(l),k=yr(l)===l,I=await(u.isRTL==null?void 0:u.isRTL(d.floating)),M=_||(k||!O?[Fn(l)]:pf(l)),D=T!=="none";!_&&D&&M.push(...gf(l,O,T,I));const P=[l,...M],ve=await Na(t,R),be=[];let pe=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&be.push(ve[E]),y){const Q=df(o,s,I);be.push(ve[Q[0]],ve[Q[1]])}if(pe=[...pe,{placement:o,overflows:be}],!be.every(Q=>Q<=0)){var Ne,Me;const Q=(((Ne=i.flip)==null?void 0:Ne.index)||0)+1,$e=P[Q];if($e)return{data:{index:Q,overflows:pe},reset:{placement:$e}};let ie=(Me=pe.filter(se=>se.overflows[0]<=0).sort((se,ae)=>se.overflows[1]-ae.overflows[1])[0])==null?void 0:Me.placement;if(!ie)switch(v){case"bestFit":{var we;const se=(we=pe.filter(ae=>{if(D){const re=jr(ae.placement);return re===A||re==="y"}return!0}).map(ae=>[ae.placement,ae.overflows.filter(re=>re>0).reduce((re,q)=>re+q,0)]).sort((ae,re)=>ae[1]-re[1])[0])==null?void 0:we[0];se&&(ie=se);break}case"initialPlacement":ie=l;break}if(o!==ie)return{reset:{placement:ie}}}return{}}}};async function wf(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=yr(r),l=ln(r),u=jr(r)==="y",d=["left","top"].includes(s)?-1:1,h=i&&u?-1:1,y=cn(t,e);let{mainAxis:_,crossAxis:v,alignmentAxis:T}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return l&&typeof T=="number"&&(v=l==="end"?T*-1:T),u?{x:v*h,y:_*d}:{x:_*d,y:v*h}}const _f=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:s,middlewareData:l}=t,u=await wf(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:s}}}}},xf=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:R=>{let{x:E,y:A}=R;return{x:E,y:A}}},...u}=cn(e,t),d={x:r,y:n},h=await Na(t,u),y=jr(yr(o)),_=La(y);let v=d[_],T=d[y];if(i){const R=_==="y"?"top":"left",E=_==="y"?"bottom":"right",A=v+h[R],k=v-h[E];v=Go(A,v,k)}if(s){const R=y==="y"?"top":"left",E=y==="y"?"bottom":"right",A=T+h[R],k=T-h[E];T=Go(A,T,k)}const O=l.fn({...t,[_]:v,[y]:T});return{...O,data:{x:O.x-r,y:O.y-n,enabled:{[_]:i,[y]:s}}}}}};function to(){return typeof window<"u"}function Lr(e){return Fa(e)?(e.nodeName||"").toLowerCase():"#document"}function Ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ht(e){var t;return(t=(Fa(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Fa(e){return to()?e instanceof Node||e instanceof Ct(e).Node:!1}function Vt(e){return to()?e instanceof Element||e instanceof Ct(e).Element:!1}function Gt(e){return to()?e instanceof HTMLElement||e instanceof Ct(e).HTMLElement:!1}function ws(e){return!to()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ct(e).ShadowRoot}function un(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function Sf(e){return["table","td","th"].includes(Lr(e))}function ro(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function _i(e){const t=xi(),r=Vt(e)?Bt(e):e;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function $f(e){let t=ir(e);for(;Gt(t)&&!Ir(t);){if(_i(t))return t;if(ro(t))return null;t=ir(t)}return null}function xi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ir(e){return["html","body","#document"].includes(Lr(e))}function Bt(e){return Ct(e).getComputedStyle(e)}function no(e){return Vt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ir(e){if(Lr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ws(e)&&e.host||Ht(e);return ws(t)?t.host:t}function Va(e){const t=ir(e);return Ir(t)?e.ownerDocument?e.ownerDocument.body:e.body:Gt(t)&&un(t)?t:Va(t)}function Qr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Va(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),s=Ct(o);if(i){const l=Yo(s);return t.concat(s,s.visualViewport||[],un(o)?o:[],l&&r?Qr(l):[])}return t.concat(o,Qr(o,[],r))}function Yo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ba(e){const t=Bt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Gt(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,l=Nn(r)!==i||Nn(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function Si(e){return Vt(e)?e:e.contextElement}function Er(e){const t=Si(e);if(!Gt(t))return or(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Ba(t);let s=(i?Nn(r.width):r.width)/n,l=(i?Nn(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Ef=or(0);function za(e){const t=Ct(e);return!xi()||!t.visualViewport?Ef:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Tf(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ct(e)?!1:t}function vr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=Si(e);let s=or(1);t&&(n?Vt(n)&&(s=Er(n)):s=Er(e));const l=Tf(i,r,n)?za(i):or(0);let u=(o.left+l.x)/s.x,d=(o.top+l.y)/s.y,h=o.width/s.x,y=o.height/s.y;if(i){const _=Ct(i),v=n&&Vt(n)?Ct(n):n;let T=_,O=Yo(T);for(;O&&n&&v!==T;){const R=Er(O),E=O.getBoundingClientRect(),A=Bt(O),k=E.left+(O.clientLeft+parseFloat(A.paddingLeft))*R.x,I=E.top+(O.clientTop+parseFloat(A.paddingTop))*R.y;u*=R.x,d*=R.y,h*=R.x,y*=R.y,u+=k,d+=I,T=Ct(O),O=Yo(T)}}return Vn({width:h,height:y,x:u,y:d})}function Af(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",s=Ht(n),l=t?ro(t.floating):!1;if(n===s||l&&i)return r;let u={scrollLeft:0,scrollTop:0},d=or(1);const h=or(0),y=Gt(n);if((y||!y&&!i)&&((Lr(n)!=="body"||un(s))&&(u=no(n)),Gt(n))){const _=vr(n);d=Er(n),h.x=_.x+n.clientLeft,h.y=_.y+n.clientTop}return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-u.scrollLeft*d.x+h.x,y:r.y*d.y-u.scrollTop*d.y+h.y}}function Of(e){return Array.from(e.getClientRects())}function Qo(e,t){const r=no(e).scrollLeft;return t?t.left+r:vr(Ht(e)).left+r}function Cf(e){const t=Ht(e),r=no(e),n=e.ownerDocument.body,o=hr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=hr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Qo(e);const l=-r.scrollTop;return Bt(n).direction==="rtl"&&(s+=hr(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:l}}function Rf(e,t){const r=Ct(e),n=Ht(e),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,l=0,u=0;if(o){i=o.width,s=o.height;const d=xi();(!d||d&&t==="fixed")&&(l=o.offsetLeft,u=o.offsetTop)}return{width:i,height:s,x:l,y:u}}function kf(e,t){const r=vr(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Gt(e)?Er(e):or(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,u=o*i.x,d=n*i.y;return{width:s,height:l,x:u,y:d}}function _s(e,t,r){let n;if(t==="viewport")n=Rf(e,r);else if(t==="document")n=Cf(Ht(e));else if(Vt(t))n=kf(t,r);else{const o=za(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return Vn(n)}function Ua(e,t){const r=ir(e);return r===t||!Vt(r)||Ir(r)?!1:Bt(r).position==="fixed"||Ua(r,t)}function Pf(e,t){const r=t.get(e);if(r)return r;let n=Qr(e,[],!1).filter(l=>Vt(l)&&Lr(l)!=="body"),o=null;const i=Bt(e).position==="fixed";let s=i?ir(e):e;for(;Vt(s)&&!Ir(s);){const l=Bt(s),u=_i(s);!u&&l.position==="fixed"&&(o=null),(i?!u&&!o:!u&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||un(s)&&!u&&Ua(e,s))?n=n.filter(h=>h!==s):o=l,s=ir(s)}return t.set(e,n),n}function jf(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?ro(t)?[]:Pf(t,this._c):[].concat(r),n],l=s[0],u=s.reduce((d,h)=>{const y=_s(t,h,o);return d.top=hr(y.top,d.top),d.right=Pr(y.right,d.right),d.bottom=Pr(y.bottom,d.bottom),d.left=hr(y.left,d.left),d},_s(t,l,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function If(e){const{width:t,height:r}=Ba(e);return{width:t,height:r}}function Mf(e,t,r){const n=Gt(t),o=Ht(t),i=r==="fixed",s=vr(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const u=or(0);if(n||!n&&!i)if((Lr(t)!=="body"||un(o))&&(l=no(t)),n){const v=vr(t,!0,i,t);u.x=v.x+t.clientLeft,u.y=v.y+t.clientTop}else o&&(u.x=Qo(o));let d=0,h=0;if(o&&!n&&!i){const v=o.getBoundingClientRect();h=v.top+l.scrollTop,d=v.left+l.scrollLeft-Qo(o,v)}const y=s.left+l.scrollLeft-u.x-d,_=s.top+l.scrollTop-u.y-h;return{x:y,y:_,width:s.width,height:s.height}}function ko(e){return Bt(e).position==="static"}function xs(e,t){if(!Gt(e)||Bt(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Ht(e)===r&&(r=r.ownerDocument.body),r}function Wa(e,t){const r=Ct(e);if(ro(e))return r;if(!Gt(e)){let o=ir(e);for(;o&&!Ir(o);){if(Vt(o)&&!ko(o))return o;o=ir(o)}return r}let n=xs(e,t);for(;n&&Sf(n)&&ko(n);)n=xs(n,t);return n&&Ir(n)&&ko(n)&&!_i(n)?r:n||$f(e)||r}const Lf=async function(e){const t=this.getOffsetParent||Wa,r=this.getDimensions,n=await r(e.floating);return{reference:Mf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Df(e){return Bt(e).direction==="rtl"}const Nf={convertOffsetParentRelativeRectToViewportRelativeRect:Af,getDocumentElement:Ht,getClippingRect:jf,getOffsetParent:Wa,getElementRects:Lf,getClientRects:Of,getDimensions:If,getScale:Er,isElement:Vt,isRTL:Df};function Ff(e,t){let r=null,n;const o=Ht(e);function i(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function s(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),i();const{left:d,top:h,width:y,height:_}=e.getBoundingClientRect();if(l||t(),!y||!_)return;const v=On(h),T=On(o.clientWidth-(d+y)),O=On(o.clientHeight-(h+_)),R=On(d),A={rootMargin:-v+"px "+-T+"px "+-O+"px "+-R+"px",threshold:hr(0,Pr(1,u))||1};let k=!0;function I(M){const D=M[0].intersectionRatio;if(D!==u){if(!k)return s();D?s(!1,D):n=setTimeout(()=>{s(!1,1e-7)},1e3)}k=!1}try{r=new IntersectionObserver(I,{...A,root:o.ownerDocument})}catch{r=new IntersectionObserver(I,A)}r.observe(e)}return s(!0),i}function Vf(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,d=Si(e),h=o||i?[...d?Qr(d):[],...Qr(t)]:[];h.forEach(E=>{o&&E.addEventListener("scroll",r,{passive:!0}),i&&E.addEventListener("resize",r)});const y=d&&l?Ff(d,r):null;let _=-1,v=null;s&&(v=new ResizeObserver(E=>{let[A]=E;A&&A.target===d&&v&&(v.unobserve(t),cancelAnimationFrame(_),_=requestAnimationFrame(()=>{var k;(k=v)==null||k.observe(t)})),r()}),d&&!u&&v.observe(d),v.observe(t));let T,O=u?vr(e):null;u&&R();function R(){const E=vr(e);O&&(E.x!==O.x||E.y!==O.y||E.width!==O.width||E.height!==O.height)&&r(),O=E,T=requestAnimationFrame(R)}return r(),()=>{var E;h.forEach(A=>{o&&A.removeEventListener("scroll",r),i&&A.removeEventListener("resize",r)}),y==null||y(),(E=v)==null||E.disconnect(),v=null,u&&cancelAnimationFrame(T)}}const qa=_f,Bf=xf,Ga=bf,zf=vf,Ss=(e,t,r)=>{const n=new Map,o={platform:Nf,...r},i={...o.platform,_c:n};return yf(e,t,{...o,platform:i})},Uf=(e,t)=>({...qa(e),options:[e,t]}),Wf=(e,t)=>({...Ga(e),options:[e,t]});var qf=Object.prototype;function Gf(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||qf;return e===r}var Ha=Gf;function Hf(e,t){return function(r){return e(t(r))}}var Yf=Hf,Qf=Yf,Jf=Qf(Object.keys,Object),Kf=Jf,Xf=Ha,Zf=Kf,ed=Object.prototype,td=ed.hasOwnProperty;function rd(e){if(!Xf(e))return Zf(e);var t=[];for(var r in Object(e))td.call(e,r)&&r!="constructor"&&t.push(r);return t}var nd=rd,od=typeof Sn=="object"&&Sn&&Sn.Object===Object&&Sn,Ya=od,id=Ya,sd=typeof self=="object"&&self&&self.Object===Object&&self,ad=id||sd||Function("return this")(),sr=ad,cd=sr,ld=cd.Symbol,Qa=ld,$s=Qa,Ja=Object.prototype,ud=Ja.hasOwnProperty,fd=Ja.toString,qr=$s?$s.toStringTag:void 0;function dd(e){var t=ud.call(e,qr),r=e[qr];try{e[qr]=void 0;var n=!0}catch{}var o=fd.call(e);return n&&(t?e[qr]=r:delete e[qr]),o}var pd=dd,hd=Object.prototype,gd=hd.toString;function md(e){return gd.call(e)}var yd=md,Es=Qa,vd=pd,bd=yd,wd="[object Null]",_d="[object Undefined]",Ts=Es?Es.toStringTag:void 0;function xd(e){return e==null?e===void 0?_d:wd:Ts&&Ts in Object(e)?vd(e):bd(e)}var oo=xd;function Sd(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ka=Sd,$d=oo,Ed=Ka,Td="[object AsyncFunction]",Ad="[object Function]",Od="[object GeneratorFunction]",Cd="[object Proxy]";function Rd(e){if(!Ed(e))return!1;var t=$d(e);return t==Ad||t==Od||t==Td||t==Cd}var Xa=Rd,kd=sr,Pd=kd["__core-js_shared__"],jd=Pd,Po=jd,As=function(){var e=/[^.]+$/.exec(Po&&Po.keys&&Po.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Id(e){return!!As&&As in e}var Md=Id,Ld=Function.prototype,Dd=Ld.toString;function Nd(e){if(e!=null){try{return Dd.call(e)}catch{}try{return e+""}catch{}}return""}var Za=Nd,Fd=Xa,Vd=Md,Bd=Ka,zd=Za,Ud=/[\\^$.*+?()[\]{}|]/g,Wd=/^\[object .+?Constructor\]$/,qd=Function.prototype,Gd=Object.prototype,Hd=qd.toString,Yd=Gd.hasOwnProperty,Qd=RegExp("^"+Hd.call(Yd).replace(Ud,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Jd(e){if(!Bd(e)||Vd(e))return!1;var t=Fd(e)?Qd:Wd;return t.test(zd(e))}var Kd=Jd;function Xd(e,t){return e==null?void 0:e[t]}var Zd=Xd,ep=Kd,tp=Zd;function rp(e,t){var r=tp(e,t);return ep(r)?r:void 0}var fn=rp,np=fn,op=sr,ip=np(op,"DataView"),sp=ip,ap=fn,cp=sr,lp=ap(cp,"Map"),up=lp,fp=fn,dp=sr,pp=fp(dp,"Promise"),hp=pp,gp=fn,mp=sr,yp=gp(mp,"Set"),vp=yp,bp=fn,wp=sr,_p=bp(wp,"WeakMap"),xp=_p,Jo=sp,Ko=up,Xo=hp,Zo=vp,ei=xp,ec=oo,Dr=Za,Os="[object Map]",Sp="[object Object]",Cs="[object Promise]",Rs="[object Set]",ks="[object WeakMap]",Ps="[object DataView]",$p=Dr(Jo),Ep=Dr(Ko),Tp=Dr(Xo),Ap=Dr(Zo),Op=Dr(ei),lr=ec;(Jo&&lr(new Jo(new ArrayBuffer(1)))!=Ps||Ko&&lr(new Ko)!=Os||Xo&&lr(Xo.resolve())!=Cs||Zo&&lr(new Zo)!=Rs||ei&&lr(new ei)!=ks)&&(lr=function(e){var t=ec(e),r=t==Sp?e.constructor:void 0,n=r?Dr(r):"";if(n)switch(n){case $p:return Ps;case Ep:return Os;case Tp:return Cs;case Ap:return Rs;case Op:return ks}return t});var Cp=lr;function Rp(e){return e!=null&&typeof e=="object"}var $i=Rp,kp=oo,Pp=$i,jp="[object Arguments]";function Ip(e){return Pp(e)&&kp(e)==jp}var Mp=Ip,js=Mp,Lp=$i,tc=Object.prototype,Dp=tc.hasOwnProperty,Np=tc.propertyIsEnumerable,Fp=js(function(){return arguments}())?js:function(e){return Lp(e)&&Dp.call(e,"callee")&&!Np.call(e,"callee")},Vp=Fp,Bp=Array.isArray,zp=Bp,Up=9007199254740991;function Wp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Up}var rc=Wp,qp=Xa,Gp=rc;function Hp(e){return e!=null&&Gp(e.length)&&!qp(e)}var Yp=Hp,Bn={exports:{}};function Qp(){return!1}var Jp=Qp;Bn.exports;(function(e,t){var r=sr,n=Jp,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,s=i&&i.exports===o,l=s?r.Buffer:void 0,u=l?l.isBuffer:void 0,d=u||n;e.exports=d})(Bn,Bn.exports);var Kp=Bn.exports,Xp=oo,Zp=rc,eh=$i,th="[object Arguments]",rh="[object Array]",nh="[object Boolean]",oh="[object Date]",ih="[object Error]",sh="[object Function]",ah="[object Map]",ch="[object Number]",lh="[object Object]",uh="[object RegExp]",fh="[object Set]",dh="[object String]",ph="[object WeakMap]",hh="[object ArrayBuffer]",gh="[object DataView]",mh="[object Float32Array]",yh="[object Float64Array]",vh="[object Int8Array]",bh="[object Int16Array]",wh="[object Int32Array]",_h="[object Uint8Array]",xh="[object Uint8ClampedArray]",Sh="[object Uint16Array]",$h="[object Uint32Array]",ke={};ke[mh]=ke[yh]=ke[vh]=ke[bh]=ke[wh]=ke[_h]=ke[xh]=ke[Sh]=ke[$h]=!0;ke[th]=ke[rh]=ke[hh]=ke[nh]=ke[gh]=ke[oh]=ke[ih]=ke[sh]=ke[ah]=ke[ch]=ke[lh]=ke[uh]=ke[fh]=ke[dh]=ke[ph]=!1;function Eh(e){return eh(e)&&Zp(e.length)&&!!ke[Xp(e)]}var Th=Eh;function Ah(e){return function(t){return e(t)}}var Oh=Ah,zn={exports:{}};zn.exports;(function(e,t){var r=Ya,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,s=i&&r.process,l=function(){try{var u=o&&o.require&&o.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();e.exports=l})(zn,zn.exports);var Ch=zn.exports,Rh=Th,kh=Oh,Is=Ch,Ms=Is&&Is.isTypedArray,Ph=Ms?kh(Ms):Rh,jh=Ph,Ih=nd,Mh=Cp,Lh=Vp,Dh=zp,Nh=Yp,Fh=Kp,Vh=Ha,Bh=jh,zh="[object Map]",Uh="[object Set]",Wh=Object.prototype,qh=Wh.hasOwnProperty;function Gh(e){if(e==null)return!0;if(Nh(e)&&(Dh(e)||typeof e=="string"||typeof e.splice=="function"||Fh(e)||Bh(e)||Lh(e)))return!e.length;var t=Mh(e);if(t==zh||t==Uh)return!e.size;if(Vh(e))return!Ih(e).length;for(var r in e)if(qh.call(e,r))return!1;return!0}var Hh=Gh;const jo=ca(Hh);var nc={exports:{}};/*!
|
|
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:{}};/*!
|
|
420
447
|
Copyright (c) 2018 Jed Watson.
|
|
421
448
|
Licensed under the MIT License (MIT), see
|
|
422
449
|
http://jedwatson.github.io/classnames
|
|
423
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",s=0;s<arguments.length;s++){var
|
|
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})()})(nc);var Yh=nc.exports;const ti=ca(Yh);/*
|
|
424
451
|
* React Tooltip
|
|
425
452
|
* {@link https://github.com/ReactTooltip/react-tooltip}
|
|
426
453
|
* @copyright ReactTooltip Team
|
|
427
454
|
* @license MIT
|
|
428
|
-
*/const Qh="react-tooltip-core-styles",Jh="react-tooltip-base-styles",Ls={core:!1,base:!1};function Ds({css:e,id:t=Jh,type:r="base",ref:n}){var o,i;if(!e||typeof document>"u"||Ls[r]||r==="core"&&typeof process<"u"&&(!((o=process==null?void 0:process.env)===null||o===void 0)&&o.REACT_TOOLTIP_DISABLE_CORE_STYLES)||r!=="base"&&typeof process<"u"&&(!((i=process==null?void 0:process.env)===null||i===void 0)&&i.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;r==="core"&&(t=Qh),n||(n={});const{insertAt:s}=n;if(document.getElementById(t))return;const l=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.id=t,u.type="text/css",s==="top"&&l.firstChild?l.insertBefore(u,l.firstChild):l.appendChild(u),u.styleSheet?u.styleSheet.cssText=e:u.appendChild(document.createTextNode(e)),Ls[r]=!0}const Ns=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:n="top",offset:o=10,strategy:i="absolute",middlewares:s=[qa(Number(o)),Ga({fallbackAxisSideDirection:"start"}),Bf({padding:5})],border:l})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const u=s;return r?(u.push(zf({element:r,padding:5})),Ss(e,t,{placement:n,strategy:i,middleware:u}).then(({x:d,y:h,placement:y,middlewareData:_})=>{var v,T;const O={left:`${d}px`,top:`${h}px`,border:l},{x:R,y:E}=(v=_.arrow)!==null&&v!==void 0?v:{x:0,y:0},A=(T={top:"bottom",right:"left",bottom:"top",left:"right"}[y.split("-")[0]])!==null&&T!==void 0?T:"bottom",k=l&&{borderBottom:l,borderRight:l};let I=0;if(l){const M=`${l}`.match(/(\d+)px/);I=M!=null&&M[1]?Number(M[1]):1}return{tooltipStyles:O,tooltipArrowStyles:{left:R!=null?`${R}px`:"",top:E!=null?`${E}px`:"",right:"",bottom:"",...k,[A]:`-${4+I}px`},place:y}})):Ss(e,t,{placement:"bottom",strategy:i,middleware:u}).then(({x:d,y:h,placement:y})=>({tooltipStyles:{left:`${d}px`,top:`${h}px`},tooltipArrowStyles:{},place:y}))},Fs=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Vs=(e,t,r)=>{let n=null;const o=function(...i){const s=()=>{n=null};!n&&(e.apply(this,i),n=setTimeout(s,t))};return o.cancel=()=>{n&&(clearTimeout(n),n=null)},o},Bs=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",ri=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((o,i)=>ri(o,t[i]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!Bs(e)||!Bs(t))return e===t;const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(o=>ri(e[o],t[o]))},Kh=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(r=>{const n=t.getPropertyValue(r);return n==="auto"||n==="scroll"})},zs=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(Kh(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Xh=typeof window<"u"?S.useLayoutEffect:S.useEffect,It=e=>{e.current&&(clearTimeout(e.current),e.current=null)},Zh="DEFAULT_TOOLTIP_ID",eg={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},tg=S.createContext({getTooltipData:()=>eg});function oc(e=Zh){return S.useContext(tg).getTooltipData(e)}var Sr={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},Io={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const rg=({forwardRef:e,id:t,className:r,classNameArrow:n,variant:o="dark",anchorId:i,anchorSelect:s,place:l="top",offset:u=10,events:d=["hover"],openOnClick:h=!1,positionStrategy:y="absolute",middlewares:_,wrapper:v,delayShow:T=0,delayHide:O=0,float:R=!1,hidden:E=!1,noArrow:A=!1,clickable:k=!1,closeOnEsc:I=!1,closeOnScroll:M=!1,closeOnResize:D=!1,openEvents:P,closeEvents:ve,globalCloseEvents:be,imperativeModeOnly:pe,style:Ne,position:Me,afterShow:we,afterHide:Q,disableTooltip:$e,content:ie,contentWrapperRef:se,isOpen:ae,defaultIsOpen:re=!1,setIsOpen:q,activeAnchor:ce,setActiveAnchor:ge,border:G,opacity:st,arrowColor:tt,role:We="tooltip"})=>{var qe;const ue=S.useRef(null),_e=S.useRef(null),Ee=S.useRef(null),Be=S.useRef(null),Pe=S.useRef(null),[ft,Rt]=S.useState({tooltipStyles:{},tooltipArrowStyles:{},place:l}),[Te,dt]=S.useState(!1),[Je,pt]=S.useState(!1),[fe,ht]=S.useState(null),gt=S.useRef(!1),mt=S.useRef(null),{anchorRefs:Ot,setActiveAnchor:rt}=oc(t),at=S.useRef(!1),[yt,Ke]=S.useState([]),xt=S.useRef(!1),St=h||d.includes("click"),kt=St||(P==null?void 0:P.click)||(P==null?void 0:P.dblclick)||(P==null?void 0:P.mousedown),Ge=P?{...P}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!P&&St&&Object.assign(Ge,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Pt=ve?{...ve}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!ve&&St&&Object.assign(Pt,{mouseleave:!1,blur:!1,mouseout:!1});const nt=be?{...be}:{escape:I||!1,scroll:M||!1,resize:D||!1,clickOutsideAnchor:kt||!1};pe&&(Object.assign(Ge,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Pt,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(nt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Xh(()=>(xt.current=!0,()=>{xt.current=!1}),[]);const xe=C=>{xt.current&&(C&&pt(!0),setTimeout(()=>{xt.current&&(q==null||q(C),ae===void 0&&dt(C))},10))};S.useEffect(()=>{if(ae===void 0)return()=>null;ae&&pt(!0);const C=setTimeout(()=>{dt(ae)},10);return()=>{clearTimeout(C)}},[ae]),S.useEffect(()=>{if(Te!==gt.current)if(It(Pe),gt.current=Te,Te)we==null||we();else{const C=(V=>{const z=V.match(/^([\d.]+)(ms|s)$/);if(!z)return 0;const[,Ae,Le]=z;return Number(Ae)*(Le==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Pe.current=setTimeout(()=>{pt(!1),ht(null),Q==null||Q()},C+25)}},[Te]);const Dt=C=>{Rt(V=>ri(V,C)?V:C)},Nt=(C=T)=>{It(Ee),Je?xe(!0):Ee.current=setTimeout(()=>{xe(!0)},C)},vt=(C=O)=>{It(Be),Be.current=setTimeout(()=>{at.current||xe(!1)},C)},bt=C=>{var V;if(!C)return;const z=(V=C.currentTarget)!==null&&V!==void 0?V:C.target;if(!(z!=null&&z.isConnected))return ge(null),void rt({current:null});T?Nt():xe(!0),ge(z),rt({current:z}),It(Be)},He=()=>{k?vt(O||100):O?vt():xe(!1),It(Ee)},ct=({x:C,y:V})=>{var z;const Ae={getBoundingClientRect:()=>({x:C,y:V,width:0,height:0,top:V,left:C,right:C,bottom:V})};Ns({place:(z=fe==null?void 0:fe.place)!==null&&z!==void 0?z:l,offset:u,elementReference:Ae,tooltipReference:ue.current,tooltipArrowReference:_e.current,strategy:y,middlewares:_,border:G}).then(Le=>{Dt(Le)})},ze=C=>{if(!C)return;const V=C,z={x:V.clientX,y:V.clientY};ct(z),mt.current=z},Ye=C=>{var V;if(!Te)return;const z=C.target;z.isConnected&&(!((V=ue.current)===null||V===void 0)&&V.contains(z)||[document.querySelector(`[id='${i}']`),...yt].some(Ae=>Ae==null?void 0:Ae.contains(z))||(xe(!1),It(Ee)))},$t=Vs(bt,50),Se=Vs(He,50),Xe=C=>{Se.cancel(),$t(C)},N=()=>{$t.cancel(),Se()},Z=S.useCallback(()=>{var C,V;const z=(C=fe==null?void 0:fe.position)!==null&&C!==void 0?C:Me;z?ct(z):R?mt.current&&ct(mt.current):ce!=null&&ce.isConnected&&Ns({place:(V=fe==null?void 0:fe.place)!==null&&V!==void 0?V:l,offset:u,elementReference:ce,tooltipReference:ue.current,tooltipArrowReference:_e.current,strategy:y,middlewares:_,border:G}).then(Ae=>{xt.current&&Dt(Ae)})},[Te,ce,ie,Ne,l,fe==null?void 0:fe.place,u,y,Me,fe==null?void 0:fe.position,R]);S.useEffect(()=>{var C,V;const z=new Set(Ot);yt.forEach(B=>{$e!=null&&$e(B)||z.add({current:B})});const Ae=document.querySelector(`[id='${i}']`);Ae&&!($e!=null&&$e(Ae))&&z.add({current:Ae});const Le=()=>{xe(!1)},lt=zs(ce),Oe=zs(ue.current);nt.scroll&&(window.addEventListener("scroll",Le),lt==null||lt.addEventListener("scroll",Le),Oe==null||Oe.addEventListener("scroll",Le));let f=null;nt.resize?window.addEventListener("resize",Le):ce&&ue.current&&(f=Vf(ce,ue.current,Z,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const b=B=>{B.key==="Escape"&&xe(!1)};nt.escape&&window.addEventListener("keydown",b),nt.clickOutsideAnchor&&window.addEventListener("click",Ye);const $=[],F=B=>{Te&&(B==null?void 0:B.target)===ce||bt(B)},oe=B=>{Te&&(B==null?void 0:B.target)===ce&&He()},te=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],J=["click","dblclick","mousedown","mouseup"];Object.entries(Ge).forEach(([B,le])=>{le&&(te.includes(B)?$.push({event:B,listener:Xe}):J.includes(B)&&$.push({event:B,listener:F}))}),Object.entries(Pt).forEach(([B,le])=>{le&&(te.includes(B)?$.push({event:B,listener:N}):J.includes(B)&&$.push({event:B,listener:oe}))}),R&&$.push({event:"pointermove",listener:ze});const Y=()=>{at.current=!0},De=()=>{at.current=!1,He()};return k&&!kt&&((C=ue.current)===null||C===void 0||C.addEventListener("mouseenter",Y),(V=ue.current)===null||V===void 0||V.addEventListener("mouseleave",De)),$.forEach(({event:B,listener:le})=>{z.forEach(Ce=>{var Ze;(Ze=Ce.current)===null||Ze===void 0||Ze.addEventListener(B,le)})}),()=>{var B,le;nt.scroll&&(window.removeEventListener("scroll",Le),lt==null||lt.removeEventListener("scroll",Le),Oe==null||Oe.removeEventListener("scroll",Le)),nt.resize?window.removeEventListener("resize",Le):f==null||f(),nt.clickOutsideAnchor&&window.removeEventListener("click",Ye),nt.escape&&window.removeEventListener("keydown",b),k&&!kt&&((B=ue.current)===null||B===void 0||B.removeEventListener("mouseenter",Y),(le=ue.current)===null||le===void 0||le.removeEventListener("mouseleave",De)),$.forEach(({event:Ce,listener:Ze})=>{z.forEach(Yt=>{var ot;(ot=Yt.current)===null||ot===void 0||ot.removeEventListener(Ce,Ze)})})}},[ce,Z,Je,Ot,yt,P,ve,be,St,T,O]),S.useEffect(()=>{var C,V;let z=(V=(C=fe==null?void 0:fe.anchorSelect)!==null&&C!==void 0?C:s)!==null&&V!==void 0?V:"";!z&&t&&(z=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const Ae=new MutationObserver(Le=>{const lt=[],Oe=[];Le.forEach(f=>{if(f.type==="attributes"&&f.attributeName==="data-tooltip-id"&&(f.target.getAttribute("data-tooltip-id")===t?lt.push(f.target):f.oldValue===t&&Oe.push(f.target)),f.type==="childList"){if(ce){const b=[...f.removedNodes].filter($=>$.nodeType===1);if(z)try{Oe.push(...b.filter($=>$.matches(z))),Oe.push(...b.flatMap($=>[...$.querySelectorAll(z)]))}catch{}b.some($=>{var F;return!!(!((F=$==null?void 0:$.contains)===null||F===void 0)&&F.call($,ce))&&(pt(!1),xe(!1),ge(null),It(Ee),It(Be),!0)})}if(z)try{const b=[...f.addedNodes].filter($=>$.nodeType===1);lt.push(...b.filter($=>$.matches(z))),lt.push(...b.flatMap($=>[...$.querySelectorAll(z)]))}catch{}}}),(lt.length||Oe.length)&&Ke(f=>[...f.filter(b=>!Oe.includes(b)),...lt])});return Ae.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Ae.disconnect()}},[t,s,fe==null?void 0:fe.anchorSelect,ce]),S.useEffect(()=>{Z()},[Z]),S.useEffect(()=>{if(!(se!=null&&se.current))return()=>null;const C=new ResizeObserver(()=>{setTimeout(()=>Z())});return C.observe(se.current),()=>{C.disconnect()}},[ie,se==null?void 0:se.current]),S.useEffect(()=>{var C;const V=document.querySelector(`[id='${i}']`),z=[...yt,V];ce&&z.includes(ce)||ge((C=yt[0])!==null&&C!==void 0?C:V)},[i,yt,ce]),S.useEffect(()=>(re&&xe(!0),()=>{It(Ee),It(Be)}),[]),S.useEffect(()=>{var C;let V=(C=fe==null?void 0:fe.anchorSelect)!==null&&C!==void 0?C:s;if(!V&&t&&(V=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),V)try{const z=Array.from(document.querySelectorAll(V));Ke(z)}catch{Ke([])}},[t,s,fe==null?void 0:fe.anchorSelect]),S.useEffect(()=>{Ee.current&&(It(Ee),Nt(T))},[T]);const je=(qe=fe==null?void 0:fe.content)!==null&&qe!==void 0?qe:ie,wt=Te&&Object.keys(ft.tooltipStyles).length>0;return S.useImperativeHandle(e,()=>({open:C=>{if(C!=null&&C.anchorSelect)try{document.querySelector(C.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${C.anchorSelect}" is not a valid CSS selector`)}ht(C??null),C!=null&&C.delay?Nt(C.delay):xe(!0)},close:C=>{C!=null&&C.delay?vt(C.delay):xe(!1)},activeAnchor:ce,place:ft.place,isOpen:!!(Je&&!E&&je&&wt)})),Je&&!E&&je?S.createElement(v,{id:t,role:We,className:ti("react-tooltip",Sr.tooltip,Io.tooltip,Io[o],r,`react-tooltip__place-${ft.place}`,Sr[wt?"show":"closing"],wt?"react-tooltip__show":"react-tooltip__closing",y==="fixed"&&Sr.fixed,k&&Sr.clickable),onTransitionEnd:C=>{It(Pe),Te||C.propertyName!=="opacity"||(pt(!1),ht(null),Q==null||Q())},style:{...Ne,...ft.tooltipStyles,opacity:st!==void 0&&wt?st:void 0},ref:ue},je,S.createElement(v,{className:ti("react-tooltip-arrow",Sr.arrow,Io.arrow,n,A&&Sr.noArrow),style:{...ft.tooltipArrowStyles,background:tt?`linear-gradient(to right bottom, transparent 50%, ${tt} 50%)`:void 0},ref:_e})):null},ng=({content:e})=>S.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),og=S.forwardRef(({id:e,anchorId:t,anchorSelect:r,content:n,html:o,render:i,className:s,classNameArrow:l,variant:u="dark",place:d="top",offset:h=10,wrapper:y="div",children:_=null,events:v=["hover"],openOnClick:T=!1,positionStrategy:O="absolute",middlewares:R,delayShow:E=0,delayHide:A=0,float:k=!1,hidden:I=!1,noArrow:M=!1,clickable:D=!1,closeOnEsc:P=!1,closeOnScroll:ve=!1,closeOnResize:be=!1,openEvents:pe,closeEvents:Ne,globalCloseEvents:Me,imperativeModeOnly:we=!1,style:Q,position:$e,isOpen:ie,defaultIsOpen:se=!1,disableStyleInjection:ae=!1,border:re,opacity:q,arrowColor:ce,setIsOpen:ge,afterShow:G,afterHide:st,disableTooltip:tt,role:We="tooltip"},qe)=>{const[ue,_e]=S.useState(n),[Ee,Be]=S.useState(o),[Pe,ft]=S.useState(d),[Rt,Te]=S.useState(u),[dt,Je]=S.useState(h),[pt,fe]=S.useState(E),[ht,gt]=S.useState(A),[mt,Ot]=S.useState(k),[rt,at]=S.useState(I),[yt,Ke]=S.useState(y),[xt,St]=S.useState(v),[kt,Ge]=S.useState(O),[Pt,nt]=S.useState(null),[xe,Dt]=S.useState(null),Nt=S.useRef(ae),{anchorRefs:vt,activeAnchor:bt}=oc(e),He=Se=>Se==null?void 0:Se.getAttributeNames().reduce((Xe,N)=>{var Z;return N.startsWith("data-tooltip-")&&(Xe[N.replace(/^data-tooltip-/,"")]=(Z=Se==null?void 0:Se.getAttribute(N))!==null&&Z!==void 0?Z:null),Xe},{}),ct=Se=>{const Xe={place:N=>{var Z;ft((Z=N)!==null&&Z!==void 0?Z:d)},content:N=>{_e(N??n)},html:N=>{Be(N??o)},variant:N=>{var Z;Te((Z=N)!==null&&Z!==void 0?Z:u)},offset:N=>{Je(N===null?h:Number(N))},wrapper:N=>{var Z;Ke((Z=N)!==null&&Z!==void 0?Z:y)},events:N=>{const Z=N==null?void 0:N.split(" ");St(Z??v)},"position-strategy":N=>{var Z;Ge((Z=N)!==null&&Z!==void 0?Z:O)},"delay-show":N=>{fe(N===null?E:Number(N))},"delay-hide":N=>{gt(N===null?A:Number(N))},float:N=>{Ot(N===null?k:N==="true")},hidden:N=>{at(N===null?I:N==="true")},"class-name":N=>{nt(N)}};Object.values(Xe).forEach(N=>N(null)),Object.entries(Se).forEach(([N,Z])=>{var je;(je=Xe[N])===null||je===void 0||je.call(Xe,Z)})};S.useEffect(()=>{_e(n)},[n]),S.useEffect(()=>{Be(o)},[o]),S.useEffect(()=>{ft(d)},[d]),S.useEffect(()=>{Te(u)},[u]),S.useEffect(()=>{Je(h)},[h]),S.useEffect(()=>{fe(E)},[E]),S.useEffect(()=>{gt(A)},[A]),S.useEffect(()=>{Ot(k)},[k]),S.useEffect(()=>{at(I)},[I]),S.useEffect(()=>{Ge(O)},[O]),S.useEffect(()=>{Nt.current!==ae&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[ae]),S.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:ae==="core",disableBase:ae}}))},[]),S.useEffect(()=>{var Se;const Xe=new Set(vt);let N=r;if(!N&&e&&(N=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),N)try{document.querySelectorAll(N).forEach(V=>{Xe.add({current:V})})}catch{console.warn(`[react-tooltip] "${N}" is not a valid CSS selector`)}const Z=document.querySelector(`[id='${t}']`);if(Z&&Xe.add({current:Z}),!Xe.size)return()=>null;const je=(Se=xe??Z)!==null&&Se!==void 0?Se:bt.current,wt=new MutationObserver(V=>{V.forEach(z=>{var Ae;if(!je||z.type!=="attributes"||!(!((Ae=z.attributeName)===null||Ae===void 0)&&Ae.startsWith("data-tooltip-")))return;const Le=He(je);ct(Le)})}),C={attributes:!0,childList:!1,subtree:!1};if(je){const V=He(je);ct(V),wt.observe(je,C)}return()=>{wt.disconnect()}},[vt,bt,xe,t,r]),S.useEffect(()=>{Q!=null&&Q.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),re&&!Fs("border",`${re}`)&&console.warn(`[react-tooltip] "${re}" is not a valid \`border\`.`),Q!=null&&Q.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),q&&!Fs("opacity",`${q}`)&&console.warn(`[react-tooltip] "${q}" is not a valid \`opacity\`.`)},[]);let ze=_;const Ye=S.useRef(null);if(i){const Se=i({content:(xe==null?void 0:xe.getAttribute("data-tooltip-content"))||ue||null,activeAnchor:xe});ze=Se?S.createElement("div",{ref:Ye,className:"react-tooltip-content-wrapper"},Se):null}else ue&&(ze=ue);Ee&&(ze=S.createElement(ng,{content:Ee}));const $t={forwardRef:qe,id:e,anchorId:t,anchorSelect:r,className:ti(s,Pt),classNameArrow:l,content:ze,contentWrapperRef:Ye,place:Pe,variant:Rt,offset:dt,wrapper:yt,events:xt,openOnClick:T,positionStrategy:kt,middlewares:R,delayShow:pt,delayHide:ht,float:mt,hidden:rt,noArrow:M,clickable:D,closeOnEsc:P,closeOnScroll:ve,closeOnResize:be,openEvents:pe,closeEvents:Ne,globalCloseEvents:Me,imperativeModeOnly:we,style:Q,position:$e,isOpen:ie,defaultIsOpen:se,border:re,opacity:q,arrowColor:ce,setIsOpen:ge,afterShow:G,afterHide:st,disableTooltip:tt,activeAnchor:xe,setActiveAnchor:Se=>Dt(Se),role:We};return S.createElement(rg,{...$t})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||Ds({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||Ds({css:`
|
|
429
|
-
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});const ig=
|
|
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 ig=Be(eo)``,sg=Be.div`
|
|
430
457
|
${({theme:e,$maxWidth:t="320px"})=>`
|
|
431
458
|
> :is(.react-tooltip, .react-tooltip__show, .react-tooltip__closing) {
|
|
432
459
|
background-color: ${e.palette.gray[700]};
|
|
@@ -439,7 +466,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
439
466
|
--rt-opacity: 1;
|
|
440
467
|
}
|
|
441
468
|
`}
|
|
442
|
-
`,ic=S.forwardRef(function({children:t,disabled:r=!1,display:n="inline-block",effect:o="solid",icon:i,iconColor:s,iconSize:l,id:u,maxWidth:d,nodeTip:h,place:y="bottom",tip:_="",title:v="",hide:T=_===""&&v===""&&h===void 0,...O},R){const[E,A]=S.useState(!1),k=S.useRef(null),I=S.useCallback(()=>{k.current!==null&&clearTimeout(k.current),k.current=setTimeout(()=>{A(!0)},100)},[]),M=S.useCallback(()=>{k.current!==null&&clearTimeout(k.current),k.current=setTimeout(()=>{A(!1)},100)},[]);return r?K.jsx(S.StrictMode,{children:t}):K.jsxs(ig,{"data-tooltip-id":u,display:n,onMouseLeave:M,onMouseMove:I,ref:R,...O,children:[i?K.jsx(qt,{children:K.jsx(kr,{clickable:!0,disabled:r,icon:i,iconColor:s,iconSize:l??"xxs",iconType:E?"fa-solid":"fa-light"})}):t,fl.createPortal(K.jsx(sg,{$maxWidth:d,children:K.jsxs(og,{delayShow:500,float:o==="float"?!0:void 0,globalCloseEvents:{resize:!0},hidden:T||!E,id:u,middlewares:[Wf({fallbackAxisSideDirection:"start"}),Uf({mainAxis:10})],noArrow:o==="float",place:y,children:[jo(v)?void 0:K.jsx(Yr,{color:de.palette.white,fontWeight:"bold",lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:v}),jo(_)?void 0:K.jsx(Yr,{color:de.palette.gray[100],lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:_}),jo(h)?void 0:h]})}),document.getElementById("root")??document.body)]})}),ag=S.forwardRef(function({bold:t=!1,children:r,disabled:n=!1,id:o,icon:i,mode:s,name:l,onClick:u,showArrow:d=!1,type:h="button",tooltip:y,tooltipPlace:_="bottom",underline:v=!1,value:T,variant:O,resolution:R=lf(O)?"platform":"desktop",...E},A){const k=y!==void 0,I=`${o}-tooltip`;return K.jsx(ic,{disabled:!k,id:I,place:_,tip:y,children:K.jsx(sf,{$variant:O,className:s,children:K.jsxs(af,{$bold:t,$resolution:R,$variant:O,className:`${s} ${R} ${v&&"underline"}`,disabled:n,id:o,name:l,onClick:u,ref:A,type:h,value:T,...k?{"data-tooltip-id":I}:{},...E,children:[i!==void 0&&K.jsx(kr,{icon:i,iconSize:"xs",iconType:"fa-light"}),r,(d||O==="link")&&K.jsx(kr,{icon:"arrow-right",iconSize:"xs",iconType:"fa-light"})]})})})});var tr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ni={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",d="[object Error]",h="[object Function]",y="[object GeneratorFunction]",_="[object Map]",v="[object Number]",T="[object Object]",O="[object Promise]",R="[object RegExp]",E="[object Set]",A="[object String]",k="[object Symbol]",I="[object WeakMap]",M="[object ArrayBuffer]",D="[object DataView]",P="[object Float32Array]",ve="[object Float64Array]",be="[object Int8Array]",pe="[object Int16Array]",Ne="[object Int32Array]",Me="[object Uint8Array]",we="[object Uint8ClampedArray]",Q="[object Uint16Array]",$e="[object Uint32Array]",ie=/[\\^$.*+?()[\]{}|]/g,se=/\w*$/,ae=/^\[object .+?Constructor\]$/,re=/^(?:0|[1-9]\d*)$/,q={};q[i]=q[s]=q[M]=q[D]=q[l]=q[u]=q[P]=q[ve]=q[be]=q[pe]=q[Ne]=q[_]=q[v]=q[T]=q[R]=q[E]=q[A]=q[k]=q[Me]=q[we]=q[Q]=q[$e]=!0,q[d]=q[h]=q[I]=!1;var ce=typeof tr=="object"&&tr&&tr.Object===Object&&tr,ge=typeof self=="object"&&self&&self.Object===Object&&self,G=ce||ge||Function("return this")(),st=t&&!t.nodeType&&t,tt=st&&!0&&e&&!e.nodeType&&e,We=tt&&tt.exports===st;function qe(c,g){return c.set(g[0],g[1]),c}function ue(c,g){return c.add(g),c}function _e(c,g){for(var w=-1,L=c?c.length:0;++w<L&&g(c[w],w,c)!==!1;);return c}function Ee(c,g){for(var w=-1,L=g.length,it=c.length;++w<L;)c[it+w]=g[w];return c}function Be(c,g,w,L){for(var it=-1,Tt=c?c.length:0;++it<Tt;)w=g(w,c[it],it,c);return w}function Pe(c,g){for(var w=-1,L=Array(c);++w<c;)L[w]=g(w);return L}function ft(c,g){return c==null?void 0:c[g]}function Rt(c){var g=!1;if(c!=null&&typeof c.toString!="function")try{g=!!(c+"")}catch{}return g}function Te(c){var g=-1,w=Array(c.size);return c.forEach(function(L,it){w[++g]=[it,L]}),w}function dt(c,g){return function(w){return c(g(w))}}function Je(c){var g=-1,w=Array(c.size);return c.forEach(function(L){w[++g]=L}),w}var pt=Array.prototype,fe=Function.prototype,ht=Object.prototype,gt=G["__core-js_shared__"],mt=function(){var c=/[^.]+$/.exec(gt&>.keys&>.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),Ot=fe.toString,rt=ht.hasOwnProperty,at=ht.toString,yt=RegExp("^"+Ot.call(rt).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ke=We?G.Buffer:void 0,xt=G.Symbol,St=G.Uint8Array,kt=dt(Object.getPrototypeOf,Object),Ge=Object.create,Pt=ht.propertyIsEnumerable,nt=pt.splice,xe=Object.getOwnPropertySymbols,Dt=Ke?Ke.isBuffer:void 0,Nt=dt(Object.keys,Object),vt=H(G,"DataView"),bt=H(G,"Map"),He=H(G,"Promise"),ct=H(G,"Set"),ze=H(G,"WeakMap"),Ye=H(Object,"create"),$t=cr(vt),Se=cr(bt),Xe=cr(He),N=cr(ct),Z=cr(ze),je=xt?xt.prototype:void 0,wt=je?je.valueOf:void 0;function C(c){var g=-1,w=c?c.length:0;for(this.clear();++g<w;){var L=c[g];this.set(L[0],L[1])}}function V(){this.__data__=Ye?Ye(null):{}}function z(c){return this.has(c)&&delete this.__data__[c]}function Ae(c){var g=this.__data__;if(Ye){var w=g[c];return w===n?void 0:w}return rt.call(g,c)?g[c]:void 0}function Le(c){var g=this.__data__;return Ye?g[c]!==void 0:rt.call(g,c)}function lt(c,g){var w=this.__data__;return w[c]=Ye&&g===void 0?n:g,this}C.prototype.clear=V,C.prototype.delete=z,C.prototype.get=Ae,C.prototype.has=Le,C.prototype.set=lt;function Oe(c){var g=-1,w=c?c.length:0;for(this.clear();++g<w;){var L=c[g];this.set(L[0],L[1])}}function f(){this.__data__=[]}function b(c){var g=this.__data__,w=ar(g,c);if(w<0)return!1;var L=g.length-1;return w==L?g.pop():nt.call(g,w,1),!0}function $(c){var g=this.__data__,w=ar(g,c);return w<0?void 0:g[w][1]}function F(c){return ar(this.__data__,c)>-1}function oe(c,g){var w=this.__data__,L=ar(w,c);return L<0?w.push([c,g]):w[L][1]=g,this}Oe.prototype.clear=f,Oe.prototype.delete=b,Oe.prototype.get=$,Oe.prototype.has=F,Oe.prototype.set=oe;function te(c){var g=-1,w=c?c.length:0;for(this.clear();++g<w;){var L=c[g];this.set(L[0],L[1])}}function J(){this.__data__={hash:new C,map:new(bt||Oe),string:new C}}function Y(c){return U(this,c).delete(c)}function De(c){return U(this,c).get(c)}function B(c){return U(this,c).has(c)}function le(c,g){return U(this,c).set(c,g),this}te.prototype.clear=J,te.prototype.delete=Y,te.prototype.get=De,te.prototype.has=B,te.prototype.set=le;function Ce(c){this.__data__=new Oe(c)}function Ze(){this.__data__=new Oe}function Yt(c){return this.__data__.delete(c)}function ot(c){return this.__data__.get(c)}function ho(c){return this.__data__.has(c)}function gn(c,g){var w=this.__data__;if(w instanceof Oe){var L=w.__data__;if(!bt||L.length<r-1)return L.push([c,g]),this;w=this.__data__=new te(L)}return w.set(c,g),this}Ce.prototype.clear=Ze,Ce.prototype.delete=Yt,Ce.prototype.get=ot,Ce.prototype.has=ho,Ce.prototype.set=gn;function go(c,g){var w=$o(c)||ol(c)?Pe(c.length,String):[],L=w.length,it=!!L;for(var Tt in c)rt.call(c,Tt)&&!(it&&(Tt=="length"||jt(Tt,L)))&&w.push(Tt);return w}function Fr(c,g,w){var L=c[g];(!(rt.call(c,g)&&qi(L,w))||w===void 0&&!(g in c))&&(c[g]=w)}function ar(c,g){for(var w=c.length;w--;)if(qi(c[w][0],g))return w;return-1}function mn(c,g){return c&&x(g,Eo(g),c)}function Vr(c,g,w,L,it,Tt,Jt){var At;if(L&&(At=Tt?L(c,it,Tt,Jt):L(c)),At!==void 0)return At;if(!_n(c))return c;var Yi=$o(c);if(Yi){if(At=Et(c),!g)return m(c,At)}else{var _r=Ve(c),Qi=_r==h||_r==y;if(sl(c))return vo(c,g);if(_r==T||_r==i||Qi&&!Tt){if(Rt(c))return Tt?c:{};if(At=_t(Qi?{}:c),!g)return j(c,mn(At,c))}else{if(!q[_r])return Tt?c:{};At=Qt(c,_r,Vr,g)}}Jt||(Jt=new Ce);var Ji=Jt.get(c);if(Ji)return Ji;if(Jt.set(c,At),!Yi)var Ki=w?ne(c):Eo(c);return _e(Ki||c,function(To,xn){Ki&&(xn=To,To=c[xn]),Fr(At,xn,Vr(To,g,w,L,xn,c,Jt))}),At}function yn(c){return _n(c)?Ge(c):{}}function vn(c,g,w){var L=g(c);return $o(c)?L:Ee(L,w(c))}function mo(c){return at.call(c)}function yo(c){if(!_n(c)||wn(c))return!1;var g=Hi(c)||Rt(c)?yt:ae;return g.test(cr(c))}function bn(c){if(!zr(c))return Nt(c);var g=[];for(var w in Object(c))rt.call(c,w)&&w!="constructor"&&g.push(w);return g}function vo(c,g){if(g)return c.slice();var w=new c.constructor(c.length);return c.copy(w),w}function Br(c){var g=new c.constructor(c.byteLength);return new St(g).set(new St(c)),g}function bo(c,g){var w=g?Br(c.buffer):c.buffer;return new c.constructor(w,c.byteOffset,c.byteLength)}function wo(c,g,w){var L=g?w(Te(c),!0):Te(c);return Be(L,qe,new c.constructor)}function _o(c){var g=new c.constructor(c.source,se.exec(c));return g.lastIndex=c.lastIndex,g}function xo(c,g,w){var L=g?w(Je(c),!0):Je(c);return Be(L,ue,new c.constructor)}function a(c){return wt?Object(wt.call(c)):{}}function p(c,g){var w=g?Br(c.buffer):c.buffer;return new c.constructor(w,c.byteOffset,c.length)}function m(c,g){var w=-1,L=c.length;for(g||(g=Array(L));++w<L;)g[w]=c[w];return g}function x(c,g,w,L){w||(w={});for(var it=-1,Tt=g.length;++it<Tt;){var Jt=g[it],At=void 0;Fr(w,Jt,At===void 0?c[Jt]:At)}return w}function j(c,g){return x(c,Fe(c),g)}function ne(c){return vn(c,Eo,Fe)}function U(c,g){var w=c.__data__;return So(g)?w[typeof g=="string"?"string":"hash"]:w.map}function H(c,g){var w=ft(c,g);return yo(w)?w:void 0}var Fe=xe?dt(xe,Object):ll,Ve=mo;(vt&&Ve(new vt(new ArrayBuffer(1)))!=D||bt&&Ve(new bt)!=_||He&&Ve(He.resolve())!=O||ct&&Ve(new ct)!=E||ze&&Ve(new ze)!=I)&&(Ve=function(c){var g=at.call(c),w=g==T?c.constructor:void 0,L=w?cr(w):void 0;if(L)switch(L){case $t:return D;case Se:return _;case Xe:return O;case N:return E;case Z:return I}return g});function Et(c){var g=c.length,w=c.constructor(g);return g&&typeof c[0]=="string"&&rt.call(c,"index")&&(w.index=c.index,w.input=c.input),w}function _t(c){return typeof c.constructor=="function"&&!zr(c)?yn(kt(c)):{}}function Qt(c,g,w,L){var it=c.constructor;switch(g){case M:return Br(c);case l:case u:return new it(+c);case D:return bo(c,L);case P:case ve:case be:case pe:case Ne:case Me:case we:case Q:case $e:return p(c,L);case _:return wo(c,L,w);case v:case A:return new it(c);case R:return _o(c);case E:return xo(c,L,w);case k:return a(c)}}function jt(c,g){return g=g??o,!!g&&(typeof c=="number"||re.test(c))&&c>-1&&c%1==0&&c<g}function So(c){var g=typeof c;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?c!=="__proto__":c===null}function wn(c){return!!mt&&mt in c}function zr(c){var g=c&&c.constructor,w=typeof g=="function"&&g.prototype||ht;return c===w}function cr(c){if(c!=null){try{return Ot.call(c)}catch{}try{return c+""}catch{}}return""}function nl(c){return Vr(c,!0,!0)}function qi(c,g){return c===g||c!==c&&g!==g}function ol(c){return il(c)&&rt.call(c,"callee")&&(!Pt.call(c,"callee")||at.call(c)==i)}var $o=Array.isArray;function Gi(c){return c!=null&&al(c.length)&&!Hi(c)}function il(c){return cl(c)&&Gi(c)}var sl=Dt||ul;function Hi(c){var g=_n(c)?at.call(c):"";return g==h||g==y}function al(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=o}function _n(c){var g=typeof c;return!!c&&(g=="object"||g=="function")}function cl(c){return!!c&&typeof c=="object"}function Eo(c){return Gi(c)?go(c):bn(c)}function ll(){return[]}function ul(){return!1}e.exports=nl})(ni,ni.exports);var rr=ni.exports,oi=function(){return oi=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},oi.apply(this,arguments)};function cg(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function l(h){try{d(n.next(h))}catch(y){s(y)}}function u(h){try{d(n.throw(h))}catch(y){s(y)}}function d(h){h.done?i(h.value):o(h.value).then(l,u)}d((n=n.apply(e,[])).next())})}function lg(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(h){return u([d,h])}}function u(d){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,d[0]&&(r=0)),r;)try{if(n=1,o&&(i=d[0]&2?o.return:d[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,d[1])).done)return i;switch(o=0,i&&(d=[d[0]&2,i.value]),d[0]){case 0:case 1:i=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,o=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){r.label=d[1];break}if(d[0]===6&&r.label<i[1]){r.label=i[1],i=d;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(d);break}i[2]&&r.ops.pop(),r.trys.pop();continue}d=t.call(e,r)}catch(h){d=[6,h],o=0}finally{n=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function Un(e,t,r,n,o){return cg(this,void 0,void 0,function(){var i,s;return lg(this,function(l){switch(l.label){case 0:if(r===void 0)return[2];s=0,l.label=1;case 1:return s<r.length?[4,r[s](e,t,n,o,r)]:[3,4];case 2:if(i=l.sent(),i==="canceled")return[3,4];l.label=3;case 3:return s++,[3,1];case 4:return i!=="canceled"?[2,i]:[2]}})})}var ii=function(e,t){return t===void 0&&(t={}),e?{trackedAnalytics:oi({sdkCode:e.sdkCode,sdkSemver:e.sdkSemver,techVersion:e.techVersion},t)}:null},ug=function(){function e(t,r,n,o){var i=this;this.isMounted=!0,this.imgElement=t,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var s=rr(r);Un(t,s,n,this.htmlPluginState,o).then(function(l){if(i.isMounted){i.htmlPluginState.pluginEventSubscription.forEach(function(d){d()});var u=ii(o,l);i.imgElement.setAttribute("src",s.toURL(u))}})}return e.prototype.update=function(t,r,n){var o=this,i=rr(t);Un(this.imgElement,i,r,this.htmlPluginState).then(function(s){if(o.isMounted){var l=ii(n,s);o.imgElement.setAttribute("src",i.toURL(l))}})},e.prototype.unmount=function(){this.isMounted=!1},e}();let Ie=class{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}},fg=class extends Error{constructor(t="Unsupported"){super(t)}};function Ei(e){return new fg(e)}function dg(){return this._qualifierModel||{error:Ei(`unsupported qualifier ${this.constructor.name}`)}}let pg=class{constructor(){this._qualifierModel={}}toJson(){return dg.apply(this)}},X=class extends pg{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Ie?this.qualifierValue=r:(this.qualifierValue=new Ie,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}},Mt=class extends X{constructor(t,r){let n;r?n=new Ie([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}};function hg(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function gg(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:Ei(`unsupported action ${this.constructor.name}`)}}let mg=class{constructor(){this._actionModel={}}toJson(){return gg.apply(this)}},zt=class extends mg{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),hg(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new Mt(n)):this.qualifiers.set(r,new X(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new Mt(t)):t instanceof Mt&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}};class Ti extends zt{constructor(t){super(),this.regionType=t,this._actionModel.regionType=t}}class io extends Ti{constructor(){super("custom")}x(t){return this._actionModel.x=t,this.addQualifier(new X("x",t)),this}y(t){return this._actionModel.y=t,this.addQualifier(new X("y",t)),this}width(t){return this._actionModel.width=t,this.addQualifier(new X("w",t)),this}height(t){return this._actionModel.height=t,this.addQualifier(new X("h",t)),this}static fromJson(t){const r=new io;return t.width&&r.width(t.width),t.height&&r.height(t.height),t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function yg(){return new io}function sc(){return new Ti("faces")}function vg(){return new Ti("ocr_text")}class bg extends zt{constructor(t){super(),this._actionModel={},this._strength=t,this._actionModel.actionType="blur",this._actionModel.strength=t}region(t){return this._region=t,this._actionModel.region=t.toJson(),this}strength(t){return this._strength=t,this._actionModel.strength=t,this}prepareQualifiers(){const t=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new X("e",`blur_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new X("e",`blur_region${t}`)),this.addQualifier(new X("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new X("e",`blur_faces${t}`))):this.addQualifier(new X("e",`blur${t}`))}static fromJson(t){const{strength:r,region:n}=t,o=new this(r);return r&&o.strength(r),n&&n.regionType==="faces"&&o.region(sc()),n&&n.regionType==="ocr_text"&&o.region(vg()),n&&n.regionType==="custom"&&o.region(io.fromJson(n)),o}}function br(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const ac={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},wg={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},cc={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},lc={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},_g={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},uc={444:"CHROMA_444",420:"CHROMA_420"},xg={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},Sg=br(uc);br(xg);const $g=br(ac),Eg=br(wg),fc=br(cc);br(lc);br(_g);class dc extends zt{constructor(t,r){super(),this._actionModel={},this._actionModel.actionType=fc[t]||t;const n=this.createEffectQualifier(t,r);this.addQualifier(n)}createEffectQualifier(t,r){let n;return r?n=new Ie([t,`${r}`]).setDelimiter(":"):n=new Ie(t),new X("e",n)}static fromJson(t){const{actionType:r,level:n,strength:o}=t,i=cc[r]||r;return new this(i,n||o)}}class Tg extends dc{constructor(t,r){super(t,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=t,this._actionModel.actionType=fc[t]||t,r&&this.setLevel(r)}setLevel(t){this._actionModel[this.LEVEL_NAME]=t;const r=this.createEffectQualifier(this.effectType,t);return this.addQualifier(r),this}}function so(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class Ag extends zt{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(t){return this._actionModel.numOfColors=t,this._numOfColors=t,this}detailsLevel(t){return this._actionModel.detailLevel=t,this._detailsLevel=t,this}despeckleLevel(t){return this._actionModel.despeckleLevel=t,this._despeckleLevel=t,this}cornersLevel(t){return this._actionModel.cornersLevel=t,this._cornersLevel=t,this}paths(t){return this._actionModel.paths=t,this._paths=t,this}prepareQualifiers(){let t="vectorize";this._numOfColors&&(t+=`:${new Ie(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(t+=`:${new Ie(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(t+=`:${new Ie(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(t+=`:${new Ie(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(t+=`:${new Ie(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new X("e",t))}static fromJson(t){const{actionType:r,paths:n,cornersLevel:o,despeckleLevel:i,detailLevel:s,numOfColors:l}=t,u=new this;return n&&u.paths(n),o&&u.cornersLevel(o),i&&u.despeckleLevel(i),s&&u.detailsLevel(s),l&&u.numOfColors(l),u}}class Og extends Tg{level(t){return this._actionModel.level=t,this.setLevel(t)}}class Cg extends zt{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new X("e",new Ie("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new X("e",new Ie(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(t){return this._actionModel.type="stripes",this._actionModel.stripesStrength=t,this.addQualifier(new X("e",new Ie(["assist_colorblind",t]).setDelimiter(":")))}static fromJson(t){const{actionType:r,type:n,stripesStrength:o}=t,i=new this;return n==="xray"&&i.xray(),n==="stripes"&&o&&i.stripesStrength(o),i}}class Rg extends Og{color(t){return this._actionModel.color=t,this.addQualifier(new X("co",new Ie(so(t))))}static fromJson(t){const{actionType:r,level:n,color:o}=t,i=new this(r,n);return o&&i.color(o),i}}class kg extends zt{constructor(t){super(),this._actionModel={},this._squareSize=t,this._actionModel.actionType="pixelate",this._actionModel.squareSize=t}region(t){return this._region=t,this._actionModel.region={regionType:this._region.regionType},this}squareSize(t){return this._squareSize=t,this._actionModel.squareSize=t,this}prepareQualifiers(){const t=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new X("e",`pixelate_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new X("e",`pixelate_region${t}`)),this.addQualifier(new X("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new X("e",`pixelate_faces${t}`))):this.addQualifier(new X("e",`pixelate${t}`))}static fromJson(t){const{region:r,squareSize:n}=t,o=new this(n);return n&&o.squareSize(n),r&&r.regionType==="faces"&&o.region(sc()),r&&r.regionType==="custom"&&o.region(yg()),o}}function Pg(e){return new bg(e)}function jg(){return new dc("grayscale")}function Us(e){return new Rg("colorize",e)}function Ig(){return new Ag}function Mg(){return new Cg}function Lg(e){return new kg(e)}let Dg=class extends zt{constructor(t){super(),this._actionModel={},this.addQualifier(new X("b",new Ie(so(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}},Ws=class{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:Ei(`unsupported action ${this.constructor.name}`)}}};function Ng(e){const t=e;return"error"in t&&!!t.error}function Fg(){return new Mt("ignore_aspect_ratio")}function Vg(){return new Mt("lossy")}function Bg(){return new Mt("preserve_transparency")}function zg(e){return new Mt("progressive",e)}function Ug(){return new Mt("region_relative")}function Wg(){return new Mt("relative")}let Ai=class extends Ie{constructor(t){super(t),this.val=t}getValue(){return this.val}},pc=class extends zt{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Ai?o=r.getValue():o=r,this._actionModel.actionType=Eg[t],this._actionModel[n]=o,this.addQualifier(new X(t,r))}},qg=class extends Mt{constructor(t){super("progressive",t)}},si=class extends pc{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(Vg()),this}progressive(t){return t instanceof qg?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(zg(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(Bg()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;let s;return r?s=new this("f",r):s=new this("f"),o&&(o.mode?s.progressive(o.mode):s.progressive()),n&&s.lossy(),i&&s.preserveTransparency(),s}},ao=class hc{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new Ws(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof hc?this.actions=this.actions.concat(t.actions):this.actions.push(new Ws(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new si("q",t)),this}format(t){return this.addAction(new si("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new Dg(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new zt;let n=t;return typeof t=="string"&&(n=new Mt(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(Ng(n))return n;t.push(n)}return{actions:t}}};function qs(e){const t=e.toString();return t.match(/[A-Z]/gi)||t.length>1&&t[0]==="0"?t:!isNaN(parseFloat(t))&&t.indexOf(":")===-1&&t.indexOf(".")===-1?`${t}.0`:t}class Gg extends Ie{}class Hg extends zt{constructor(t,r,n){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=$g[t]||t,this.addQualifier(new X("c",t)),r&&this.width(r),n&&this.height(n)}height(t){return this._actionModel.dimensions.height=t,this.addQualifier(new X("h",t))}width(t){return this._actionModel.dimensions.width=t,this.addQualifier(new X("w",t))}aspectRatio(t){if(t instanceof Gg)return this._actionModel.dimensions.aspectRatio=`${t}`,this.addQualifier(new X("ar",t));if(typeof t=="number"||typeof t=="string")return this._actionModel.dimensions.aspectRatio=qs(t),this.addQualifier(new X("ar",qs(t)));if(t instanceof Mt)return this._actionModel.dimensions.aspectRatio=`${t.qualifierValue}`,this.addFlag(t)}relative(){return this._actionModel.relative=!0,this.addFlag(Wg())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(Ug())}static fromJson(t){const{actionType:r,dimensions:n,relative:o,regionRelative:i}=t,{aspectRatio:s,width:l,height:u}=n,d=ac[r]||r,h=new this(d,l,u);return s&&h.aspectRatio(s==="ignore_aspect_ratio"?Fg():s),o&&h.relative(),i&&h.regionRelative(),h}}class Oi extends X{constructor(t){super("g",new Ie(t))}}class gc extends Oi{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}class mc extends Oi{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}class yc extends Oi{constructor(t){super(t)}}function Yg(e){return new yc(e)}function vc(...e){const t=[...e];return new mc(t)}function bc(){return new gc}class co extends Ie{constructor(t){super(),this.name=t}toString(){return this.name}}function Qg(){return new co("ocr_text")}function Jg(e){return e&&`${e}`.split(":")[0]==="auto"}function Kg(e){const t=Ci(e);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(t)}function Ci(e){return`${e}`.replace("g_","")}function Xg(e){return{compass:Ci(e),gravityType:"direction"}}function Zg(e){return Ci(e)==="ocr_text"}function em(){return{gravityType:"ocr"}}function tm(e){return`${e.qualifierValue}`.split(":")[0]==="auto"}function rm(e){const r=e.toString().split("_"),n={object:r[0]};return r.length>1&&(r[1]==="avoid"?n.avoid=!0:n.weight=+r[1]),n}function wc(e){let t;const r=e==="auto"?new gc:e;return`${e}`.startsWith("auto:")?t=`${e}`.split(":").filter(o=>o!=="auto"):t=r.qualifierValue.values.filter(o=>o!=="auto"),{gravityType:"auto",autoFocus:t.map(rm)}}function nm(e){const t=`${e}`.split(":").includes("auto"),r=e.qualifierValue.values,o={gravityType:"object",focusOnObjects:(t?r.slice(0,r.length-1):r).map(i=>`${i}`)};if(t){const i=r[r.length-1].values.slice(1),s=bc().autoFocus(...i);o.fallbackGravity=wc(s)}return o}function om(e){const r=e.split(":").map(n=>new co(n));return new mc(r)}function im(e){return Kg(e)?Xg(e):Zg(e)?em():Jg(e)||tm(e)?wc(e):nm(typeof e=="string"?om(e):e)}class Ri extends Ie{constructor(t,r){super(),this._weight=r,this.focusOn=t,this.shouldAvoid=!1}static focusOn(t,r){return new Ri(t,r)}shouldAddWeight(){return typeof this._weight=="number"||typeof this._weight=="string"||this.shouldAvoid}getName(){return this.focusOn.name}getWeight(){return this.shouldAvoid?"avoid":this._weight}toString(){return this.shouldAddWeight()?`${this.getName()}_${this.getWeight()}`:`${this.getName()}`}weight(t){return this._weight=t,this}avoid(){return this.shouldAvoid=!0,this}}class _c extends Ie{constructor(t){super(),this.val=t}toString(){return this.val}}function sm(e){return e.gravityType==="direction"}function am(e){return e.gravityType==="ocr"}function cm(e){return e.gravityType==="auto"}function lm(e){const{object:t,weight:r,avoid:n}=e,o=new Ri(new co(t));return(r||r===0)&&o.weight(r),n&&o.avoid(),o}function xc(e){const r=(e.autoFocus||[]).map(lm);return bc().autoFocus(...r)}function um(e){const t=(e.focusOnObjects||[]).map(n=>new co(n)),r=vc(...t);if(e.fallbackGravity){const n=xc(e.fallbackGravity);r.fallbackGravity(n)}return r}function fm(e){return sm(e)?new yc(new _c(e.compass)):am(e)?vc(Qg()):cm(e)?xc(e):um(e)}class ki extends Hg{gravity(t){this._actionModel.gravity=im(t);const r=typeof t=="string"?new X("g",t):t;return this.addQualifier(r)}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.gravity&&r.gravity(fm(t.gravity)),r}}class dn extends X{constructor(t){super("b"),t&&this.addValue(t)}}const Sc=100,dm=0;class pm extends dn{intensity(t){return this.intensityLevel=t,this}brightness(t){return this.brightnessLevel=t,this}toString(){const t=this.intensityLevel!==void 0?`:${this.intensityLevel}`:"",r=this.brightnessLevel!==void 0?this.intensityLevel!==void 0?`:${this.brightnessLevel}`:`:${Sc}:${this.brightnessLevel}`:"";return`b_blurred${t}${r}`}}var $c=pm;class Pi extends dn{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...t){return this._palette=t.map(r=>so(r)),this}}class Ec extends Pi{toString(){return`
|
|
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`
|
|
443
470
|
b_auto:border
|
|
444
471
|
${this._contrast?"_contrast":""}
|
|
445
472
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
@@ -459,47 +486,44 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
459
486
|
b_auto:predominant
|
|
460
487
|
${this._contrast?"_contrast":""}
|
|
461
488
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
462
|
-
`.replace(/\s+/g,"")}}class Rc extends dn{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(t){return this._prompt=t,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return`b_gen_fill${this._prompt?`:prompt_${this._prompt}`:""}`}}function kc(e){return`${e}`.replace("b_","")}function hm(){return{backgroundType:"auto"}}function gm(e){const{intensityLevel:t,brightnessLevel:r}=e,n={backgroundType:"blurred"};return(t||t===0)&&(n.intensity=t),(r||r===0)&&(n.brightness=r),n}function ji(e){const t=e._contrast,r=e._palette,n={backgroundType:""};return t&&(n.contrast=!0),r&&(n.palette=r),n}function mm(e){return Object.assign(Object.assign({},ji(e)),{backgroundType:"border"})}function Pc(e){const t=e._gradientColors,r=`${e._gradientDirection}`,n=ji(e);return t&&(n.gradientColors=t),r&&(n.gradientDirection=r),n}function ym(e){return Object.assign(Object.assign({},Pc(e)),{backgroundType:"borderGradient"})}function vm(e){return{backgroundType:"color",color:kc(e)}}function bm(e){return Object.assign(Object.assign({},ji(e)),{backgroundType:"predominant"})}function wm(e){return Object.assign(Object.assign({},Pc(e)),{backgroundType:"predominantGradient"})}function _m(e){return Object.assign({backgroundType:e.getBackgroundType()},e.getPrompt()?{prompt:e.getPrompt()}:{})}function xm(e){return kc(e)==="auto"?hm():e instanceof $c?gm(e):e instanceof Ec?mm(e):e instanceof Ac?ym(e):e instanceof Cc?bm(e):e instanceof Oc?wm(e):e instanceof Rc?_m(e):vm(e)}function Sm(){return new Ai("svg")}function Ii(){return new Ai("auto")}function jc(){return new Ec}function Ic(){return new dn("auto")}function Mc(){return new Ac}function Lc(){return new Oc}function Dc(){return new Cc}function Nc(e){return new dn(so(e))}function $m(){return new $c}function Fc(){return new Rc}const Vc={auto:Ic,border:jc,borderGradient:Mc,predominantGradient:Lc,predominant:Dc,color:Nc,blurred:$m,generativeFill:Fc};function Em(e){const{brightness:t,intensity:r}=e,n=Vc.blurred();return n.brightness(t??dm),n.intensity(r??Sc),n}function Gs(e,t){const{gradientColors:r,gradientDirection:n,contrast:o,palette:i}=t;return o&&e.contrast(),i&&e.palette(...i),r&&e.gradientColors(+r),n&&e.gradientDirection(n),e}function Hs(e,t){const{contrast:r,palette:n}=t;return r&&e.contrast(),n&&e.palette(...n),e}function Tm(e,t){const{prompt:r}=t;return r&&e.prompt(r),e}function Am(e){const{backgroundType:t}=e;switch(t){case"auto":return Ic();case"blurred":return Em(e);case"border":return Hs(jc(),e);case"borderGradient":return Gs(Mc(),e);case"predominant":return Hs(Dc(),e);case"predominantGradient":return Gs(Lc(),e);case"generativeFill":return Tm(Fc(),e);default:return Nc(e.color)}}class Om extends ki{background(t){return this._actionModel.background=xm(t),this.addQualifier(t)}offsetX(t){return this._actionModel.x=t,this.addQualifier(new X("x",t))}offsetY(t){return this._actionModel.y=t,this.addQualifier(new X("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.background&&r.background(Am(t.background)),t.x&&r.offsetX(t.x),t.y&&r.offsetY(t.y),t.zoom&&r.zoom(t.zoom),r}}class Cm extends ki{x(t){return this._actionModel.x=t,this.addQualifier(new X("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new X("y",t))}zoom(t){return this._actionModel.zoom=t,this.addQualifier(new X("z",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),t.zoom&&r.zoom(t.zoom),r}}class Rm extends ki{x(t){return this._actionModel.x=t,this.addQualifier(new X("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new X("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function km(e,t){return new Cm("crop",e,t)}function Pm(e,t){return new Rm("fill",e,t)}function jm(e,t){return new Om("pad",e,t)}class Im extends pc{constructor(t){super("q",t.toString(),"level")}chromaSubSampling(t){this._actionModel.chromaSubSampling=uc[t];const r=new Ie([this._actionModel.level,t]);return r.setDelimiter(":"),this.addQualifier(new X("q",r))}quantization(t){this._actionModel.quantization=t;const r=new Ie([this._actionModel.level,`qmax_${t}`]).setDelimiter(":");return this.addQualifier(new X("q",r))}static fromJson(t){const{level:r,chromaSubSampling:n,quantization:o}=t,i=lc[r]||r,s=new this(i);if(n){const l=Sg[n.toUpperCase()];l&&s.chromaSubSampling(+l)}return o&&s.quantization(o),s}}function lo(e){return new si("f",e)}function uo(e){return new Im(e)}function Mm(){return new _c("north_east")}Us(70).color("black"),Us(40).color("white"),jg(),Mg();var Lm=new ao().effect(Ig()).delivery(uo("auto")).delivery(lo(Sm())),Dm=new ao().effect(Lg()).delivery(uo("auto")).delivery(lo(Ii())),Nm=new ao().effect(Pg(2e3)).delivery(uo("auto")).delivery(lo(Ii())),Fm=new ao().resize(jm("iw_div_2").aspectRatio(1).background(Vc.auto())).resize(km(1,1).gravity(Yg(Mm()))).resize(Pm().height("ih").width("iw")).delivery(uo("auto")).delivery(lo(Ii())),Ys={vectorize:Lm,pixelate:Dm,blur:Nm,"predominant-color":Fm},Qs="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Js={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},Ks="?_a=",Vm=function(){function e(t,r,n,o,i,s,l){var u=this;this.mimeType="video",this.mimeSubTypes=Js,this.videoElement=t,this.originalVideo=r,this.videoOptions=l,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var d=rr(r);Un(t,r,o,this.htmlPluginState).then(function(){u.htmlPluginState.pluginEventSubscription.forEach(function(h){h()}),u.setVideoAttributes(i,s),u.handleSourceToVideo(d,n)})}return e.prototype.handleSourceToVideo=function(t,r){var n=this;if(r)this.generateUserSources(t,r);else{var o=["webm","mp4","ogv"];o.forEach(function(i){n.appendSourceTag(rr(t),i)})}},e.prototype.generateUserSources=function(t,r){var n=this;r.map(function(o){var i=o.type,s=o.codecs,l=o.transcode;return n.appendSourceTag(rr(t).transcode(l),i,n.buildMimeType(i,s))})},e.prototype.appendSourceTag=function(t,r,n){var o,i=document.createElement("source"),s=(o=this.videoOptions)===null||o===void 0?void 0:o.useFetchFormat;s&&t.format(r);var l=t.toURL(),u=l.split(Ks),d=u[1]?"".concat(Ks).concat(u[1]):"",h=s?"":".".concat(r);i.src="".concat(u[0]).concat(h).concat(d),i.type=n||"video/".concat(Js[r]||r),this.videoElement.appendChild(i)},e.prototype.buildMimeType=function(t,r){var n="".concat(this.mimeType,"/").concat(this.mimeSubTypes[t]||t);return r&&(n+="; codecs="+(Array.isArray(r)?r.join(", "):r)),n},e.prototype.setVideoAttributes=function(t,r){var n;if(t===void 0&&(t={}),r==="auto"){var o=rr(this.originalVideo);t.poster=o.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else r&&(t.poster=(n=r.toURL)===null||n===void 0?void 0:n.call(r));for(var i=0,s=Object.entries(t);i<s.length;i++){var l=s[i],u=l[0],d=l[1];d&&this.videoElement.setAttribute(u,u==="poster"?d:"")}},e.prototype.update=function(t,r,n,o,i){var s=this;if(t!==this.originalVideo){for(var l=this.videoElement.getElementsByTagName("SOURCE");l[0];)l[0].parentNode.removeChild(l[0]);Un(this.videoElement,t,n,this.htmlPluginState).then(function(){s.setVideoAttributes(o,i),s.handleSourceToVideo(t,r),s.videoElement.load()})}},e}(),Bm=typeof tr=="object"&&tr&&tr.Object===Object&&tr,zm=typeof self=="object"&&self&&self.Object===Object&&self;Bm||zm||Function("return this")();function Mi(){return typeof window<"u"}function Um(e){return e instanceof HTMLImageElement}function Wm(e){var t={},r=t.rootMargin,n=r===void 0?"0px":r,o=t.threshold,i=o===void 0?.1:o;return qm.bind(null,n,i)}function qm(e,t,r,n,o,i){return e===void 0&&(e="0px"),t===void 0&&(t=.1),Mi()?new Promise(function(s){var l=function(){return s({lazyload:!0})},u=Hm(r,l,e,t);o.cleanupCallbacks.push(function(){u(),s("canceled")})}):!1}function Gm(){return window&&"IntersectionObserver"in window}function Hm(e,t,r,n){try{if(!Gm())return t(),function(){};var o=new IntersectionObserver(function(i){i.forEach(function(s){s.isIntersecting&&(o.unobserve(s.target),t())})},{rootMargin:r,threshold:n});return o.observe(e),function(){e&&o.observe(e)}}catch{t()}}function Ym(e){var t={},r=t.mode,n=r===void 0?"vectorize":r;return Qm.bind(null,n)}function Qm(e,t,r,n,o,i){Ys[e]||(e="vectorize");var s=Ys[e].actions,l=rr(r);if(s.forEach(function(d){l.addAction(d)}),!Mi())return r.transformation=l.transformation,!0;if(Um(t)){l.transformation.actions.forEach(function(d,h){d instanceof zt&&d.getActionTag()==="responsive"&&delete l.transformation.actions[h]});var u=ii(o,{placeholder:!0});return t.src=l.toURL(u),t.onerror=function(){t.src=Qs},new Promise(function(d){t.onload=function(){d()}}).then(function(){return new Promise(function(d){n.cleanupCallbacks.push(function(){t.src=Qs,d("canceled")});var h=new Image;h.src=r.toURL(u),h.onload=function(){d({placeholder:!0})},h.onerror=function(){d({placeholder:!0})}})})}}function Jm(e,t,r){var n=rr(t);if(e)for(var o=0;o<e.length;o++){var i=e[o](null,n);if(!i)break}return n.toURL(r?{trackedAnalytics:r}:null)}function Wn(e){e.cleanupCallbacks.forEach(function(t){t()})}var ai=function(e,t){return ai=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},ai(e,t)};function Bc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ai(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Jr=function(){return Jr=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Jr.apply(this,arguments)};function zc(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var Kr={exports:{}},ye={};/*
|
|
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={};/*
|
|
463
490
|
object-assign
|
|
464
491
|
(c) Sindre Sorhus
|
|
465
492
|
@license MIT
|
|
466
|
-
*/var Xs=Object.getOwnPropertySymbols,Km=Object.prototype.hasOwnProperty,Xm=Object.prototype.propertyIsEnumerable;function Zm(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function ey(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(n.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var Uc=ey()?Object.assign:function(e,t){for(var r,n=Zm(e),o,i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var s in r)Km.call(r,s)&&(n[s]=r[s]);if(Xs){o=Xs(r);for(var
|
|
493
|
+
*/var Xs=Object.getOwnPropertySymbols,Km=Object.prototype.hasOwnProperty,Xm=Object.prototype.propertyIsEnumerable;function Zm(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function ey(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(n.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var Uc=ey()?Object.assign:function(e,t){for(var r,n=Zm(e),o,i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var s in r)Km.call(r,s)&&(n[s]=r[s]);if(Xs){o=Xs(r);for(var c=0;c<o.length;c++)Xm.call(r,o[c])&&(n[o[c]]=r[o[c]])}}return n};/** @license React v16.14.0
|
|
467
494
|
* react.production.min.js
|
|
468
495
|
*
|
|
469
496
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
470
497
|
*
|
|
471
498
|
* This source code is licensed under the MIT license found in the
|
|
472
499
|
* LICENSE file in the root directory of this source tree.
|
|
473
|
-
*/var Li=Uc,Ut=typeof Symbol=="function"&&Symbol.for,pn=Ut?Symbol.for("react.element"):60103,ty=Ut?Symbol.for("react.portal"):60106,ry=Ut?Symbol.for("react.fragment"):60107,ny=Ut?Symbol.for("react.strict_mode"):60108,oy=Ut?Symbol.for("react.profiler"):60114,iy=Ut?Symbol.for("react.provider"):60109,sy=Ut?Symbol.for("react.context"):60110,ay=Ut?Symbol.for("react.forward_ref"):60112,cy=Ut?Symbol.for("react.suspense"):60113,ly=Ut?Symbol.for("react.memo"):60115,uy=Ut?Symbol.for("react.lazy"):60116,Zs=typeof Symbol=="function"&&Symbol.iterator;function hn(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Wc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},qc={};function
|
|
500
|
+
*/var Li=Uc,Ut=typeof Symbol=="function"&&Symbol.for,pn=Ut?Symbol.for("react.element"):60103,ty=Ut?Symbol.for("react.portal"):60106,ry=Ut?Symbol.for("react.fragment"):60107,ny=Ut?Symbol.for("react.strict_mode"):60108,oy=Ut?Symbol.for("react.profiler"):60114,iy=Ut?Symbol.for("react.provider"):60109,sy=Ut?Symbol.for("react.context"):60110,ay=Ut?Symbol.for("react.forward_ref"):60112,cy=Ut?Symbol.for("react.suspense"):60113,ly=Ut?Symbol.for("react.memo"):60115,uy=Ut?Symbol.for("react.lazy"):60116,Zs=typeof Symbol=="function"&&Symbol.iterator;function hn(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Wc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},qc={};function Fr(e,t,r){this.props=e,this.context=t,this.refs=qc,this.updater=r||Wc}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 Gc(){}Gc.prototype=Fr.prototype;function Di(e,t,r){this.props=e,this.context=t,this.refs=qc,this.updater=r||Wc}var Ni=Di.prototype=new Gc;Ni.constructor=Di;Li(Ni,Fr.prototype);Ni.isPureReactComponent=!0;var Fi={current:null},Hc=Object.prototype.hasOwnProperty,Yc={key:!0,ref:!0,__self:!0,__source:!0};function Qc(e,t,r){var n,o={},i=null,s=null;if(t!=null)for(n in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Hc.call(t,n)&&!Yc.hasOwnProperty(n)&&(o[n]=t[n]);var 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:Fi.current}}function fy(e,t){return{$$typeof:pn,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Vi(e){return typeof e=="object"&&e!==null&&e.$$typeof===pn}function dy(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(r){return t[r]})}var Jc=/\/+/g,qn=[];function Kc(e,t,r,n){if(qn.length){var o=qn.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function Xc(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>qn.length&&qn.push(e)}function ci(e,t,r,n){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case pn:case ty:i=!0}}if(i)return r(n,e,t===""?"."+Mo(e,0):t),1;if(i=0,t=t===""?".":t+":",Array.isArray(e))for(var s=0;s<e.length;s++){o=e[s];var c=t+Mo(o,s);i+=ci(o,c,r,n)}else if(e===null||typeof e!="object"?c=null:(c=Zs&&e[Zs]||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+=ci(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 li(e,t,r){return e==null?0:ci(e,"",t,r)}function Mo(e,t){return typeof e=="object"&&e!==null&&e.key!=null?dy(e.key):t.toString(36)}function py(e,t){e.func.call(e.context,t,e.count++)}function hy(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?ui(e,n,r,function(i){return i}):e!=null&&(Vi(e)&&(e=fy(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(Jc,"$&/")+"/")+r)),n.push(e))}function ui(e,t,r,n,o){var i="";r!=null&&(i=(""+r).replace(Jc,"$&/")+"/"),t=Kc(t,i,n,o),li(e,hy,t),Xc(t)}var Zc={current:null};function Zt(){var e=Zc.current;if(e===null)throw Error(hn(321));return e}var gy={ReactCurrentDispatcher:Zc,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:Fi,IsSomeRendererActing:{current:!1},assign:Li};ye.Children={map:function(e,t,r){if(e==null)return e;var n=[];return ui(e,n,null,t,r),n},forEach:function(e,t,r){if(e==null)return e;t=Kc(null,null,t,r),li(e,py,t),Xc(t)},count:function(e){return li(e,function(){return null},null)},toArray:function(e){var t=[];return ui(e,t,null,function(r){return r}),t},only:function(e){if(!Vi(e))throw Error(hn(143));return e}};ye.Component=Fr;ye.Fragment=ry;ye.Profiler=oy;ye.PureComponent=Di;ye.StrictMode=ny;ye.Suspense=cy;ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=gy;ye.cloneElement=function(e,t,r){if(e==null)throw Error(hn(267,e));var n=Li({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Fi.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)Hc.call(t,u)&&!Yc.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=Qc;ye.createFactory=function(e){var t=Qc.bind(null,e);return t.type=e,t};ye.createRef=function(){return{current:null}};ye.forwardRef=function(e){return{$$typeof:ay,render:e}};ye.isValidElement=Vi;ye.lazy=function(e){return{$$typeof:uy,_ctor:e,_status:-1,_result:null}};ye.memo=function(e,t){return{$$typeof:ly,type:e,compare:t===void 0?null:t}};ye.useCallback=function(e,t){return Zt().useCallback(e,t)};ye.useContext=function(e,t){return Zt().useContext(e,t)};ye.useDebugValue=function(){};ye.useEffect=function(e,t){return Zt().useEffect(e,t)};ye.useImperativeHandle=function(e,t,r){return Zt().useImperativeHandle(e,t,r)};ye.useLayoutEffect=function(e,t){return Zt().useLayoutEffect(e,t)};ye.useMemo=function(e,t){return Zt().useMemo(e,t)};ye.useReducer=function(e,t,r){return Zt().useReducer(e,t,r)};ye.useRef=function(e){return Zt().useRef(e)};ye.useState=function(e){return Zt().useState(e)};ye.version="16.14.0";var me={},my="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",yy=my,vy=Function.call.bind(Object.prototype.hasOwnProperty),fi=function(){};if(process.env.NODE_ENV!=="production"){var by=yy,di={},wy=vy;fi=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function el(e,t,r,n,o){if(process.env.NODE_ENV!=="production"){for(var i in e)if(wy(e,i)){var s;try{if(typeof e[i]!="function"){var 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)&&fi((n||"React class")+": type specification of "+r+" `"+i+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof s+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),s instanceof Error&&!(s.message in di)){di[s.message]=!0;var u=o?o():"";fi("Failed "+r+" type: "+s.message+(u??""))}}}}el.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(di={})};var _y=el;/** @license React v16.14.0
|
|
474
501
|
* react.development.js
|
|
475
502
|
*
|
|
476
503
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
477
504
|
*
|
|
478
505
|
* This source code is licensed under the MIT license found in the
|
|
479
506
|
* LICENSE file in the root directory of this source tree.
|
|
480
|
-
*/process.env.NODE_ENV!=="production"&&function(){var e=Uc,t=_y,r="16.14.0",n=typeof Symbol=="function"&&Symbol.for,o=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,
|
|
481
|
-
in `+(a||"Unknown")+x}var we=1;function
|
|
482
|
-
in`)===0;if(!x){var j=ce.ReactDebugCurrentFrame,ne=j.getStackAddendum();ne!==""&&(p+="%s",m=m.concat([ne]))}var U=m.map(function(Ve){return""+Ve});U.unshift("Warning: "+p),Function.prototype.apply.call(console[a],console,U);try{var H=0,Fe="Warning: "+p.replace(/%s/g,function(){return m[H++]});throw new Error(Fe)}catch{}}}var tt={};function We(a,p){{var m=a.constructor,x=m&&(m.displayName||m.name)||"ReactClass",j=x+"."+p;if(tt[j])return;G("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",p,x),tt[j]=!0}}var qe={isMounted:function(a){return!1},enqueueForceUpdate:function(a,p,m){We(a,"forceUpdate")},enqueueReplaceState:function(a,p,m,x){We(a,"replaceState")},enqueueSetState:function(a,p,m,x){We(a,"setState")}},ue={};Object.freeze(ue);function _e(a,p,m){this.props=a,this.context=p,this.refs=ue,this.updater=m||qe}_e.prototype.isReactComponent={},_e.prototype.setState=function(a,p){if(!(typeof a=="object"||typeof a=="function"||a==null))throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,p,"setState")},_e.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};{var Ee={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Be=function(a,p){Object.defineProperty(_e.prototype,a,{get:function(){ge("%s(...) is deprecated in plain JavaScript React classes. %s",p[0],p[1])}})};for(var Pe in Ee)Ee.hasOwnProperty(Pe)&&Be(Pe,Ee[Pe])}function ft(){}ft.prototype=_e.prototype;function Rt(a,p,m){this.props=a,this.context=p,this.refs=ue,this.updater=m||qe}var Te=Rt.prototype=new ft;Te.constructor=Rt,e(Te,_e.prototype),Te.isPureReactComponent=!0;function dt(){var a={current:null};return Object.seal(a),a}var Je=Object.prototype.hasOwnProperty,pt={key:!0,ref:!0,__self:!0,__source:!0},fe,ht,gt;gt={};function mt(a){if(Je.call(a,"ref")){var p=Object.getOwnPropertyDescriptor(a,"ref").get;if(p&&p.isReactWarning)return!1}return a.ref!==void 0}function Ot(a){if(Je.call(a,"key")){var p=Object.getOwnPropertyDescriptor(a,"key").get;if(p&&p.isReactWarning)return!1}return a.key!==void 0}function rt(a,p){var m=function(){fe||(fe=!0,G("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",p))};m.isReactWarning=!0,Object.defineProperty(a,"key",{get:m,configurable:!0})}function at(a,p){var m=function(){ht||(ht=!0,G("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",p))};m.isReactWarning=!0,Object.defineProperty(a,"ref",{get:m,configurable:!0})}function yt(a){if(typeof a.ref=="string"&&pe.current&&a.__self&&pe.current.stateNode!==a.__self){var p=ie(pe.current.type);gt[p]||(G('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref',ie(pe.current.type),a.ref),gt[p]=!0)}}var Ke=function(a,p,m,x,j,ne,U){var H={$$typeof:o,type:a,key:p,ref:m,props:U,_owner:ne};return H._store={},Object.defineProperty(H._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(H,"_self",{configurable:!1,enumerable:!1,writable:!1,value:x}),Object.defineProperty(H,"_source",{configurable:!1,enumerable:!1,writable:!1,value:j}),Object.freeze&&(Object.freeze(H.props),Object.freeze(H)),H};function xt(a,p,m){var x,j={},ne=null,U=null,H=null,Fe=null;if(p!=null){mt(p)&&(U=p.ref,yt(p)),Ot(p)&&(ne=""+p.key),H=p.__self===void 0?null:p.__self,Fe=p.__source===void 0?null:p.__source;for(x in p)Je.call(p,x)&&!pt.hasOwnProperty(x)&&(j[x]=p[x])}var Ve=arguments.length-2;if(Ve===1)j.children=m;else if(Ve>1){for(var Et=Array(Ve),_t=0;_t<Ve;_t++)Et[_t]=arguments[_t+2];Object.freeze&&Object.freeze(Et),j.children=Et}if(a&&a.defaultProps){var Qt=a.defaultProps;for(x in Qt)j[x]===void 0&&(j[x]=Qt[x])}if(ne||U){var jt=typeof a=="function"?a.displayName||a.name||"Unknown":a;ne&&rt(j,jt),U&&at(j,jt)}return Ke(a,ne,U,H,Fe,pe.current,j)}function St(a,p){var m=Ke(a.type,p,a.ref,a._self,a._source,a._owner,a.props);return m}function kt(a,p,m){if(a==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var x,j=e({},a.props),ne=a.key,U=a.ref,H=a._self,Fe=a._source,Ve=a._owner;if(p!=null){mt(p)&&(U=p.ref,Ve=pe.current),Ot(p)&&(ne=""+p.key);var Et;a.type&&a.type.defaultProps&&(Et=a.type.defaultProps);for(x in p)Je.call(p,x)&&!pt.hasOwnProperty(x)&&(p[x]===void 0&&Et!==void 0?j[x]=Et[x]:j[x]=p[x])}var _t=arguments.length-2;if(_t===1)j.children=m;else if(_t>1){for(var Qt=Array(_t),jt=0;jt<_t;jt++)Qt[jt]=arguments[jt+2];j.children=Qt}return Ke(a.type,ne,U,H,Fe,Ve,j)}function Ge(a){return typeof a=="object"&&a!==null&&a.$$typeof===o}var Pt=".",nt=":";function xe(a){var p=/[=:]/g,m={"=":"=0",":":"=2"},x=(""+a).replace(p,function(j){return m[j]});return"$"+x}var Dt=!1,Nt=/\/+/g;function vt(a){return(""+a).replace(Nt,"$&/")}var bt=10,He=[];function ct(a,p,m,x){if(He.length){var j=He.pop();return j.result=a,j.keyPrefix=p,j.func=m,j.context=x,j.count=0,j}else return{result:a,keyPrefix:p,func:m,context:x,count:0}}function ze(a){a.result=null,a.keyPrefix=null,a.func=null,a.context=null,a.count=0,He.length<bt&&He.push(a)}function Ye(a,p,m,x){var j=typeof a;(j==="undefined"||j==="boolean")&&(a=null);var ne=!1;if(a===null)ne=!0;else switch(j){case"string":case"number":ne=!0;break;case"object":switch(a.$$typeof){case o:case i:ne=!0}}if(ne)return m(x,a,p===""?Pt+Se(a,0):p),1;var U,H,Fe=0,Ve=p===""?Pt:p+nt;if(Array.isArray(a))for(var Et=0;Et<a.length;Et++)U=a[Et],H=Ve+Se(U,Et),Fe+=Ye(U,H,m,x);else{var _t=P(a);if(typeof _t=="function"){_t===a.entries&&(Dt||ge("Using Maps as children is deprecated and will be removed in a future major release. Consider converting children to an array of keyed ReactElements instead."),Dt=!0);for(var Qt=_t.call(a),jt,So=0;!(jt=Qt.next()).done;)U=jt.value,H=Ve+Se(U,So++),Fe+=Ye(U,H,m,x)}else if(j==="object"){var wn="";wn=" If you meant to render a collection of children, use an array instead."+se.getStackAddendum();var zr=""+a;throw Error("Objects are not valid as a React child (found: "+(zr==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":zr)+")."+wn)}}return Fe}function $t(a,p,m){return a==null?0:Ye(a,"",p,m)}function Se(a,p){return typeof a=="object"&&a!==null&&a.key!=null?xe(a.key):p.toString(36)}function Xe(a,p,m){var x=a.func,j=a.context;x.call(j,p,a.count++)}function N(a,p,m){if(a==null)return a;var x=ct(null,null,p,m);$t(a,Xe,x),ze(x)}function Z(a,p,m){var x=a.result,j=a.keyPrefix,ne=a.func,U=a.context,H=ne.call(U,p,a.count++);Array.isArray(H)?je(H,x,m,function(Fe){return Fe}):H!=null&&(Ge(H)&&(H=St(H,j+(H.key&&(!p||p.key!==H.key)?vt(H.key)+"/":"")+m)),x.push(H))}function je(a,p,m,x,j){var ne="";m!=null&&(ne=vt(m)+"/");var U=ct(p,ne,x,j);$t(a,Z,U),ze(U)}function wt(a,p,m){if(a==null)return a;var x=[];return je(a,x,null,p,m),x}function C(a){return $t(a,function(){return null},null)}function V(a){var p=[];return je(a,p,null,function(m){return m}),p}function z(a){if(!Ge(a))throw Error("React.Children.only expected to receive a single React element child.");return a}function Ae(a,p){p===void 0?p=null:p!==null&&typeof p!="function"&&G("createContext: Expected the optional second argument to be a function. Instead received: %s",p);var m={$$typeof:h,_calculateChangedBits:p,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};m.Provider={$$typeof:d,_context:m};var x=!1,j=!1;{var ne={$$typeof:h,_context:m,_calculateChangedBits:m._calculateChangedBits};Object.defineProperties(ne,{Provider:{get:function(){return j||(j=!0,G("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),m.Provider},set:function(U){m.Provider=U}},_currentValue:{get:function(){return m._currentValue},set:function(U){m._currentValue=U}},_currentValue2:{get:function(){return m._currentValue2},set:function(U){m._currentValue2=U}},_threadCount:{get:function(){return m._threadCount},set:function(U){m._threadCount=U}},Consumer:{get:function(){return x||(x=!0,G("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),m.Consumer}}}),m.Consumer=ne}return m._currentRenderer=null,m._currentRenderer2=null,m}function Le(a){var p={$$typeof:R,_ctor:a,_status:-1,_result:null};{var m,x;Object.defineProperties(p,{defaultProps:{configurable:!0,get:function(){return m},set:function(j){G("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),m=j,Object.defineProperty(p,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return x},set:function(j){G("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),x=j,Object.defineProperty(p,"propTypes",{enumerable:!0})}}})}return p}function lt(a){return a!=null&&a.$$typeof===O?G("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof a!="function"?G("forwardRef requires a render function but was given %s.",a===null?"null":typeof a):a.length!==0&&a.length!==2&&G("forwardRef render functions accept exactly two parameters: props and ref. %s",a.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),a!=null&&(a.defaultProps!=null||a.propTypes!=null)&&G("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:_,render:a}}function Oe(a){return typeof a=="string"||typeof a=="function"||a===s||a===y||a===u||a===l||a===v||a===T||typeof a=="object"&&a!==null&&(a.$$typeof===R||a.$$typeof===O||a.$$typeof===d||a.$$typeof===h||a.$$typeof===_||a.$$typeof===A||a.$$typeof===k||a.$$typeof===I||a.$$typeof===E)}function f(a,p){return Oe(a)||G("memo: The first argument must be a component. Instead received: %s",a===null?"null":typeof a),{$$typeof:O,type:a,compare:p===void 0?null:p}}function b(){var a=ve.current;if(a===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
507
|
+
*/process.env.NODE_ENV!=="production"&&function(){var e=Uc,t=_y,r="16.14.0",n=typeof Symbol=="function"&&Symbol.for,o=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,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,y=n?Symbol.for("react.concurrent_mode"):60111,w=n?Symbol.for("react.forward_ref"):60112,v=n?Symbol.for("react.suspense"):60113,T=n?Symbol.for("react.suspense_list"):60120,O=n?Symbol.for("react.memo"):60115,R=n?Symbol.for("react.lazy"):60116,E=n?Symbol.for("react.block"):60121,A=n?Symbol.for("react.fundamental"):60117,k=n?Symbol.for("react.responder"):60118,I=n?Symbol.for("react.scope"):60119,M=typeof Symbol=="function"&&Symbol.iterator,D="@@iterator";function P(a){if(a===null||typeof a!="object")return null;var p=M&&a[M]||a[D];return typeof p=="function"?p:null}var ve={current:null},be={suspense:null},pe={current:null},Ne=/^(.*)[\\\/]/;function Me(a,p,m){var x="";if(p){var j=p.fileName,ne=j.replace(Ne,"");if(/^index\./.test(ne)){var U=j.match(Ne);if(U){var H=U[1];if(H){var Fe=H.replace(Ne,"");ne=Fe+"/"+ne}}}x=" (at "+ne+":"+p.lineNumber+")"}else m&&(x=" (created by "+m+")");return`
|
|
508
|
+
in `+(a||"Unknown")+x}var we=1;function J(a){return a._status===we?a._result:null}function $e(a,p,m){var x=p.displayName||p.name||"";return a.displayName||(x!==""?m+"("+x+")":m)}function ie(a){if(a==null)return null;if(typeof a.tag=="number"&&G("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case s:return"Fragment";case i:return"Portal";case u:return"Profiler";case 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 w:return $e(a,a.render,"ForwardRef");case O:return ie(a.type);case E:return ie(a.render);case R:{var p=a,m=J(p);if(m)return ie(m);break}}return null}var se={},ae=null;function re(a){ae=a}se.getCurrentStack=null,se.getStackAddendum=function(){var a="";if(ae){var p=ie(ae.type),m=ae._owner;a+=Me(p,ae._source,m&&ie(m.type))}var x=se.getCurrentStack;return x&&(a+=x()||""),a};var q={current:!1},ce={ReactCurrentDispatcher:ve,ReactCurrentBatchConfig:be,ReactCurrentOwner:pe,IsSomeRendererActing:q,assign:e};e(ce,{ReactDebugCurrentFrame:se,ReactComponentTreeHook:{}});function ge(a){{for(var p=arguments.length,m=new Array(p>1?p-1:0),x=1;x<p;x++)m[x-1]=arguments[x];st("warn",a,m)}}function G(a){{for(var p=arguments.length,m=new Array(p>1?p-1:0),x=1;x<p;x++)m[x-1]=arguments[x];st("error",a,m)}}function st(a,p,m){{var x=m.length>0&&typeof m[m.length-1]=="string"&&m[m.length-1].indexOf(`
|
|
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:
|
|
483
510
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
484
511
|
2. You might be breaking the Rules of Hooks
|
|
485
512
|
3. You might have more than one copy of React in the same app
|
|
486
513
|
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return a}function $(a,p){var m=b();if(p!==void 0&&G("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",p,typeof p=="number"&&Array.isArray(arguments[2])?`
|
|
487
514
|
|
|
488
|
-
Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://fb.me/rules-of-hooks`:""),a._context!==void 0){var x=a._context;x.Consumer===a?G("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):x.Provider===a&&G("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return m.useContext(a,p)}function F(a){var p=b();return p.useState(a)}function oe(a,p,m){var x=b();return x.useReducer(a,p,m)}function te(a){var p=b();return p.useRef(a)}function
|
|
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 x=a._context;x.Consumer===a?G("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):x.Provider===a&&G("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return m.useContext(a,p)}function F(a){var p=b();return p.useState(a)}function oe(a,p,m){var x=b();return x.useReducer(a,p,m)}function te(a){var p=b();return p.useRef(a)}function K(a,p){var m=b();return m.useEffect(a,p)}function Q(a,p){var m=b();return m.useLayoutEffect(a,p)}function De(a,p){var m=b();return m.useCallback(a,p)}function B(a,p){var m=b();return m.useMemo(a,p)}function le(a,p,m){var x=b();return x.useImperativeHandle(a,p,m)}function Ce(a,p){{var m=b();return m.useDebugValue(a,p)}}var Ze;Ze=!1;function Yt(){if(pe.current){var a=ie(pe.current.type);if(a)return`
|
|
489
516
|
|
|
490
517
|
Check the render method of \``+a+"`."}return""}function ot(a){if(a!==void 0){var p=a.fileName.replace(/^.*[\\\/]/,""),m=a.lineNumber;return`
|
|
491
518
|
|
|
492
519
|
Check your code at `+p+":"+m+"."}return""}function ho(a){return a!=null?ot(a.__source):""}var gn={};function go(a){var p=Yt();if(!p){var m=typeof a=="string"?a:a.displayName||a.name;m&&(p=`
|
|
493
520
|
|
|
494
|
-
Check the top-level render call using <`+m+">.")}return p}function Fr(a,p){if(!(!a._store||a._store.validated||a.key!=null)){a._store.validated=!0;var m=go(p);if(!gn[m]){gn[m]=!0;var x="";a&&a._owner&&a._owner!==pe.current&&(x=" It was passed a child from "+ie(a._owner.type)+"."),re(a),G('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',m,x),re(null)}}}function ar(a,p){if(typeof a=="object"){if(Array.isArray(a))for(var m=0;m<a.length;m++){var x=a[m];Ge(x)&&Fr(x,p)}else if(Ge(a))a._store&&(a._store.validated=!0);else if(a){var j=P(a);if(typeof j=="function"&&j!==a.entries)for(var ne=j.call(a),U;!(U=ne.next()).done;)Ge(U.value)&&Fr(U.value,p)}}}function mn(a){{var p=a.type;if(p==null||typeof p=="string")return;var m=ie(p),x;if(typeof p=="function")x=p.propTypes;else if(typeof p=="object"&&(p.$$typeof===_||p.$$typeof===O))x=p.propTypes;else return;x?(re(a),t(x,a.props,"prop",m,se.getStackAddendum),re(null)):p.PropTypes!==void 0&&!Ze&&(Ze=!0,G("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",m||"Unknown")),typeof p.getDefaultProps=="function"&&!p.getDefaultProps.isReactClassApproved&&G("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Vr(a){{re(a);for(var p=Object.keys(a.props),m=0;m<p.length;m++){var x=p[m];if(x!=="children"&&x!=="key"){G("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",x);break}}a.ref!==null&&G("Invalid attribute `ref` supplied to `React.Fragment`."),re(null)}}function yn(a,p,m){var x=Oe(a);if(!x){var j="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(j+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ne=ho(p);ne?j+=ne:j+=Yt();var U;a===null?U="null":Array.isArray(a)?U="array":a!==void 0&&a.$$typeof===o?(U="<"+(ie(a.type)||"Unknown")+" />",j=" Did you accidentally export a JSX literal instead of a component?"):U=typeof a,G("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",U,j)}var H=xt.apply(this,arguments);if(H==null)return H;if(x)for(var Fe=2;Fe<arguments.length;Fe++)ar(arguments[Fe],a);return a===s?Vr(H):mn(H),H}var vn=!1;function mo(a){var p=yn.bind(null,a);return p.type=a,vn||(vn=!0,ge("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(p,"type",{enumerable:!1,get:function(){return ge("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:a}),a}}),p}function yo(a,p,m){for(var x=kt.apply(this,arguments),j=2;j<arguments.length;j++)ar(arguments[j],x.type);return mn(x),x}try{var bn=Object.freeze({}),vo=new Map([[bn,null]]),Br=new Set([bn]);vo.set(0,0),Br.add(0)}catch{}var bo=yn,wo=yo,_o=mo,xo={map:wt,forEach:N,count:C,toArray:V,only:z};me.Children=xo,me.Component=_e,me.Fragment=s,me.Profiler=u,me.PureComponent=Rt,me.StrictMode=l,me.Suspense=v,me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ce,me.cloneElement=wo,me.createContext=Ae,me.createElement=bo,me.createFactory=_o,me.createRef=dt,me.forwardRef=lt,me.isValidElement=Ge,me.lazy=Le,me.memo=f,me.useCallback=De,me.useContext=$,me.useDebugValue=Ce,me.useEffect=J,me.useImperativeHandle=le,me.useLayoutEffect=Y,me.useMemo=B,me.useReducer=oe,me.useRef=te,me.useState=F,me.version=r}();process.env.NODE_ENV==="production"?Kr.exports=ye:Kr.exports=me;var $r=Kr.exports,Lo={sdkSemver:"1.13.0",techVersion:$r.version,sdkCode:"J"},xy=function(e){Bc(t,e);function t(r){var n=e.call(this,r)||this;return n.imageRef=$r.createRef(),n}return t.prototype.componentDidMount=function(){this.htmlLayerInstance=new ug(this.imageRef.current,this.props.cldImg,this.props.plugins,Lo)},t.prototype.componentDidUpdate=function(){Wn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,Lo)},t.prototype.componentWillUnmount=function(){Wn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},t.prototype.render=function(){var r=this.props;r.cldImg,r.plugins;var n=zc(r,["cldImg","plugins"]);if(Mi())return $r.createElement("img",Jr({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=Jm(this.props.plugins,this.props.cldImg,Lo);return $r.createElement("img",Jr({},n,{src:o}))},t}($r.Component),Sy=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(e){Bc(t,e);function t(r){var n=e.call(this,r)||this;return n.videoRef=Kr.exports.createRef(),n.attachRef=n.attachRef.bind(n),n}return t.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new Vm(this.videoRef&&this.videoRef.current,this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster,{useFetchFormat:this.props.useFetchFormat})},t.prototype.componentDidUpdate=function(){Wn(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},t.prototype.componentWillUnmount=function(){Wn(this.htmlVideoLayerInstance.htmlPluginState)},t.prototype.getVideoAttributes=function(){var r=this,n={};return Sy.forEach(function(o){o in r.props&&(n[o]=r.props[o])}),n},t.prototype.attachRef=function(r){this.videoRef.current=r;var n=this.props.innerRef;n&&(n instanceof Function?n(r):n.current=r)},t.prototype.render=function(){var r=this.props;r.cldVid,r.cldPoster,r.plugins,r.sources,r.innerRef,r.useFetchFormat;var n=zc(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return $r.createElement("video",Jr({},n,{ref:this.attachRef}))},t})(Kr.exports.Component);function $y(e){return!(typeof e!="object"||e instanceof Array)}class Ey{filterOutNonSupportedKeys(t,r){const n=Object.create({});return $y(t)?(Object.keys(t).forEach(o=>{r.indexOf(o)>=0?n[o]=t[o]:console.warn("Warning - unsupported key provided to configuration: ",o)}),n):Object.create({})}}const ea=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class Bi extends Ey{constructor(t){super();const r=this.filterOutNonSupportedKeys(t,ea);Object.assign(this,{secure:!0},r)}extend(t){const r=this.filterOutNonSupportedKeys(t,ea);return new Bi(Object.assign({},this,r))}setCname(t){return this.cname=t,this}setSecureDistribution(t){return this.secureDistribution=t,this}setPrivateCdn(t){return this.privateCdn=t,this}setSignUrl(t){return this.signUrl=t,this}setLongUrlSignature(t){return this.longUrlSignature=t,this}setShorten(t){return this.shorten=t,this}setUseRootPath(t){return this.useRootPath=t,this}setSecure(t){return this.secure=t,this}setForceVersion(t){return this.forceVersion=t,this}setQueryParams(t){return this.queryParams=t,this}}class Xr{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}}class Ty extends Error{constructor(t="Unsupported"){super(t)}}function zi(e){return new Ty(e)}function Ay(){return this._qualifierModel||{error:zi(`unsupported qualifier ${this.constructor.name}`)}}class Oy{constructor(){this._qualifierModel={}}toJson(){return Ay.apply(this)}}class fo extends Oy{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Xr?this.qualifierValue=r:(this.qualifierValue=new Xr,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}}class nr extends fo{constructor(t,r){let n;r?n=new Xr([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function Cy(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Ry(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:zi(`unsupported action ${this.constructor.name}`)}}class ky{constructor(){this._actionModel={}}toJson(){return Ry.apply(this)}}class Ui extends ky{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),Cy(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new nr(n)):this.qualifiers.set(r,new fo(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new nr(t)):t instanceof nr&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}}function Py(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class jy extends Ui{constructor(t){super(),this._actionModel={},this.addQualifier(new fo("b",new Xr(Py(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}}class ta{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:zi(`unsupported action ${this.constructor.name}`)}}}function Iy(e){const t=e;return"error"in t&&!!t.error}function My(){return new nr("lossy")}function Ly(){return new nr("preserve_transparency")}function Dy(e){return new nr("progressive",e)}class Ny extends Xr{constructor(t){super(t),this.val=t}getValue(){return this.val}}function wr(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const Fy={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},Vy={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},By={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},zy={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Uy={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},Wy={444:"CHROMA_444",420:"CHROMA_420"},qy={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};wr(Wy);wr(qy);wr(Fy);const Gy=wr(Vy);wr(By);wr(zy);wr(Uy);class Hy extends Ui{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Ny?o=r.getValue():o=r,this._actionModel.actionType=Gy[t],this._actionModel[n]=o,this.addQualifier(new fo(t,r))}}class Yy extends nr{constructor(t){super("progressive",t)}}class Gn extends Hy{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(My()),this}progressive(t){return t instanceof Yy?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(Dy(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(Ly()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;let s;return r?s=new this("f",r):s=new this("f"),o&&(o.mode?s.progressive(o.mode):s.progressive()),n&&s.lossy(),i&&s.preserveTransparency(),s}}class po{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new ta(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof po?this.actions=this.actions.concat(t.actions):this.actions.push(new ta(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new Gn("q",t)),this}format(t){return this.addAction(new Gn("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new jy(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new Ui;let n=t;return typeof t=="string"&&(n=new nr(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(Iy(n))return n;t.push(n)}return{actions:t}}}class Qy extends po{}class Jy extends po{}function Ky(e){return e.match(/^https?:\//)}function Xy(e){return e.indexOf("/")<0}function Zy(e){return e.match(/^v[0-9]+/)}function ev(e,t){const r=t.secure,n=t.privateCdn,o=t.cname,i=t.secureDistribution;return!r&&!o?`http://res.cloudinary.com/${e}`:r&&!i&&n?`https://${e}-res.cloudinary.com`:r&&!i?`https://res.cloudinary.com/${e}`:r&&i&&n?`https://${i}`:r&&i?`https://${i}/${e}`:!r&&o?`http://${o}/${e}`:"ERROR"}function tv(e){return e||"image"}function rv(e){return e||"upload"}function nv(e,t,r){const n=r!==!1;return t?`v${t}`:Zy(e)||Ky(e)||Xy(e)?"":n?"v1":""}function Wi(e,t,r){let n=t>>0,o=String(r);return e.length>n?String(e):(n=n-e.length,n>o.length&&(o+=ov(o,n/o.length)),o.slice(0,n)+String(e))}function ov(e,t){let r=t,n="";for(;r>0;)n+=e,r--;return n}const iv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Hn={};let ra=0;iv.split("").forEach(e=>{let t=ra.toString(2);t=Wi(t,6,"0"),Hn[t]=e,ra++});function sv(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").reverse().join(".")}function av(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").map(t=>{const r=+t;if(isNaN(r)||r<0)throw"Invalid version number provided";return Wi(t,2,"0")}).join(".")}function na(e){let t="";const n=e.split(".").length*6,o=sv(e),i=av(o);let l=parseInt(i.split(".").join("")).toString(2);if(l=Wi(l,n,"0"),l.length%6!==0)throw"Version must be smaller than 43.21.26)";return l.match(/.{1,6}/g).forEach(u=>{t+=Hn[u]}),t}function cv(e){const t={sdkSemver:e.sdkSemver,techVersion:e.techVersion,sdkCode:e.sdkCode,product:e.product,feature:"0",osType:e.osType,osVersion:e.osVersion};return e.accessibility&&(t.feature="D"),e.lazyload&&(t.feature="C"),e.responsive&&(t.feature="A"),e.placeholder&&(t.feature="B"),t}const lv="1.21.0";function uv(e){const[t,r]=e.split("."),n=parseInt(t).toString(2),o=parseInt(r).toString(2),i=n.padStart(6,"0"),s=o.padStart(6,"0");return Hn[i]+Hn[s]}function fv(){const e="0.0.0";if(typeof window<"u")return e;try{return process.versions.node||e}catch{return e}}function dv(e){const t={techVersion:fv(),sdkCode:"T",sdkSemver:lv.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return e?Object.assign(Object.assign({},t),e):t}function oa(e){const t=dv(e),r=cv(t);try{const n=pv(r.techVersion),o=na(r.sdkSemver),i=na(n),s=uv(r.osVersion),l=r.feature,u=r.sdkCode,{product:d,osType:h}=r;return`D${d}${u}${o}${i}${h}${s}${l}`}catch{return"E"}}function pv(e){const t=e.split(".");return`${t[0]}.${t[1]}`}const ia={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class hv{constructor(t,r={},n){this.setPublicID(t),this.setCloudConfig(r),this.setURLConfig(n)}setURLConfig(t){return this.urlConfig=new Bi(t),this}setCloudConfig(t){return this.cloudName=t.cloudName,this.apiKey=t.apiKey,this.apiSecret=t.apiSecret,this.authToken=t.authToken,this}setPublicID(t){return this.publicID=t?t.toString():"",this}setDeliveryType(t){return this.deliveryType=t,this}setSuffix(t){return this.suffix=t,this}setSignature(t){return this.signature=t,this}setVersion(t){return t&&(this.version=t),this}setAssetType(t){return t&&(this.assetType=t),this}sign(){return this}toURL(t={}){return this.createCloudinaryURL(null,t.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";const t=this.suffix&&this.suffix.indexOf(".")>=0,r=this.suffix&&this.suffix.indexOf("/")>=0;if(t||r)throw"`suffix`` should not include . or /"}getResourceType(){const t=tv(this.assetType),r=rv(this.deliveryType),n=!!this.suffix,o=`${t}/${r}`,i=ia[`${t}/${r}`],s=this.urlConfig.useRootPath,l=this.urlConfig.shorten;if(s){if(o==="image/upload")return"";throw new Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${o} instead`)}if(l&&o==="image/upload")return"iu";if(n){if(i)return i;throw new Error(`URL Suffix only supported for ${Object.keys(ia).join(", ")}, Provided: ${o} instead`)}return o}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(t,r){if(!this.publicID)return"";this.validateAssetForURLCreation();const n=ev(this.cloudName,this.urlConfig),o=t?t.toString():"",i=nv(this.publicID,this.version,this.urlConfig.forceVersion),s=this.publicID;if(typeof t=="string")return[n,this.getResourceType(),this.getSignature(),o,i,s.replace(/,/g,"%2C"),this.suffix].filter(u=>u).join("/");{const l=[encodeURI(n),this.getResourceType(),this.getSignature(),encodeURI(o),i,encodeURI(s).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(h=>h).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),u=this.urlConfig.analytics!==!1&&!s.includes("?");let d="";if(typeof this.urlConfig.queryParams=="object")try{const h=new URLSearchParams(this.urlConfig.queryParams);u&&h.set("_a",oa(r)),d=h.toString()}catch{console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else d=this.urlConfig.queryParams||"",u&&(d+=`${d.length>0?"&":""}_a=${oa(r)}`);return d?`${l}?${d}`:l}}}class tl extends hv{constructor(t,r,n,o){super(t,r,n),this.transformation=o}animated(t){return this.transformation.animated(t),this}border(t){return this.transformation.border(t),this}reshape(t){return this.transformation.reshape(t),this}resize(t){return this.transformation.resize(t),this}quality(t){return this.addAction(new Gn("q",t)),this}format(t){return this.addAction(new Gn("f",t)),this}roundCorners(t){return this.transformation.roundCorners(t),this}overlay(t){return this.transformation.overlay(t),this}addVariable(t){return this.transformation.addVariable(t),this}conditional(t){return this.transformation.conditional(t),this}effect(t){return this.transformation.effect(t),this}adjust(t){return this.transformation.adjust(t),this}rotate(t){return this.transformation.rotate(t),this}namedTransformation(t){return this.transformation.namedTransformation(t),this}delivery(t){return this.transformation.delivery(t),this}backgroundColor(t){return this.transformation.backgroundColor(t),this}psdTools(t){return this.transformation.psdTools(t),this}extract(t){return this.transformation.extract(t),this}addFlag(t){return this.transformation.addFlag(t),this}customFunction(t){return this.transformation.customFunction(t),this}addAction(t){return this.transformation.addAction(t),this}addTransformation(t){return this.transformation.addTransformation(t),this}toString(){return this.transformation.toString()}underlay(t){return this.transformation.underlay(t),this}toURL(t={}){return this.createCloudinaryURL(this.transformation,t==null?void 0:t.trackedAnalytics)}}class gv extends tl{constructor(t,r,n){super(t,r,n,new Qy)}}class mv extends tl{constructor(t,r,n){super(t,r,n,new Jy),this.assetType="video"}transcode(t){return this.transformation.transcode(t),this}videoEdit(t){return this.transformation.videoEdit(t),this}}class yv{constructor(t){t&&(this.cloudinaryConfig=t)}image(t){return new gv(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(t){return new mv(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(t){return this.cloudinaryConfig=t,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const vv=({publicId:e,format:t="webp"})=>{const r=S.useMemo(()=>new yv({cloud:{cloudName:"fluid-attacks"}}),[]);return S.useMemo(()=>r.image(e).format(t),[r,e,t])},bv=({alt:e="img",height:t="",width:r="",plugins:n=[Wm(),Ym()],publicId:o})=>{const i=vv({publicId:o});return K.jsx(xy,{alt:e,cldImg:i,height:t,plugins:n,width:r})},rl=S.memo(bv),wv=Qe.button`
|
|
495
|
-
${({theme:e
|
|
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`
|
|
522
|
+
${({theme:e})=>`
|
|
496
523
|
align-items: center;
|
|
497
524
|
border-left: 3px solid transparent;
|
|
498
525
|
display: flex;
|
|
499
526
|
gap: ${e.spacing[.625]};
|
|
500
|
-
font-family: ${e.typography.type.primary};
|
|
501
|
-
font-size: ${t==="desktop"?e.typography.text.sm:e.typography.text.xs};
|
|
502
|
-
font-weight: ${e.typography.weight.regular};
|
|
503
527
|
height: 42px;
|
|
504
528
|
min-width: 50px;
|
|
505
529
|
padding: ${e.spacing[.625]} ${e.spacing[1]};
|
|
@@ -537,7 +561,7 @@ Check the top-level render call using <`+m+">.")}return p}function Fr(a,p){if(!(
|
|
|
537
561
|
}
|
|
538
562
|
}
|
|
539
563
|
`}
|
|
540
|
-
`,_v=
|
|
564
|
+
`,_v=Be.div`
|
|
541
565
|
${({theme:e})=>`
|
|
542
566
|
align-items: center;
|
|
543
567
|
background-color: transparent;
|
|
@@ -567,7 +591,7 @@ Check the top-level render call using <`+m+">.")}return p}function Fr(a,p){if(!(
|
|
|
567
591
|
color: ${e.palette.gray[800]};
|
|
568
592
|
}
|
|
569
593
|
`}
|
|
570
|
-
`,xv=
|
|
594
|
+
`,xv=Be.div`
|
|
571
595
|
${({theme:e})=>`
|
|
572
596
|
background-color: ${e.palette.white};
|
|
573
597
|
border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
|
|
@@ -582,7 +606,7 @@ Check the top-level render call using <`+m+">.")}return p}function Fr(a,p){if(!(
|
|
|
582
606
|
border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
|
|
583
607
|
}
|
|
584
608
|
`}
|
|
585
|
-
`,Sv=
|
|
609
|
+
`,Sv=Be.div`
|
|
586
610
|
${({theme:e})=>`
|
|
587
611
|
align-items: flex-start;
|
|
588
612
|
cursor: pointer;
|
|
@@ -604,4 +628,63 @@ Check the top-level render call using <`+m+">.")}return p}function Fr(a,p){if(!(
|
|
|
604
628
|
}
|
|
605
629
|
}
|
|
606
630
|
`}
|
|
607
|
-
`,$v=({disabled:e=!1,mode:t,onClick:r,
|
|
631
|
+
`,$v=({disabled:e=!1,mode:t,onClick:r,text:n})=>Y.jsx(wv,{className:`${e&&"disabled"} ${t}`,disabled:e,onClick:r,children:Y.jsx(yr,{color:"inherit",size:"sm",sizeSm:"xs",children:n})}),Ev=[{text:"EN"},{text:"ES"}],Tv=({items:e,handleClick:t,mode:r="light"})=>{const n=e??Ev,[o,i]=S.useState(n[0].text),s=S.useCallback(c=>()=>{t(c.text),i(c.text)},[t]);return Y.jsxs(Sv,{children:[Y.jsxs(_v,{className:r,children:[Y.jsx(Pr,{icon:"globe",iconSize:"xs",iconType:"fa-light"}),o]}),Y.jsx(xv,{children:n.map((c,u)=>Y.jsx($v,{disabled:c.disabled,mode:r,onClick:s(c),text:c.text},`${c.text}_${u}`))})]})},Av={company:{height:"83px",width:"460px"},footer:{height:"57px",width:"315px"},header:{height:"35px",width:"160px"},icon:{height:"40px",width:"40px"}},Ov=({publicId:e,variant:t})=>Y.jsx(qt,{...Av[t],children:Y.jsx(rl,{alt:"logo",publicId:e})}),Cv=Be.div`
|
|
632
|
+
${({theme:e})=>`
|
|
633
|
+
align-items: center;
|
|
634
|
+
display: flex;
|
|
635
|
+
position: relative;
|
|
636
|
+
width: 352px;
|
|
637
|
+
|
|
638
|
+
> button:first-child {
|
|
639
|
+
border-radius: ${e.spacing[2]} 0 0 ${e.spacing[2]};
|
|
640
|
+
}
|
|
641
|
+
> button:last-child {
|
|
642
|
+
--angle-grad: -45deg;
|
|
643
|
+
border-radius: 0 ${e.spacing[2]} ${e.spacing[2]} 0;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
&::before {
|
|
647
|
+
background: ${e.palette.gradients["01"]} border-box;
|
|
648
|
+
border-radius: ${e.spacing[2]};
|
|
649
|
+
content: "";
|
|
650
|
+
position: absolute;
|
|
651
|
+
inset: 0;
|
|
652
|
+
border: 2px solid transparent;
|
|
653
|
+
mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
|
|
654
|
+
mask-composite: exclude;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
658
|
+
width: 320px;
|
|
659
|
+
}
|
|
660
|
+
`}
|
|
661
|
+
`,Rv=Be.button`
|
|
662
|
+
${({theme:e})=>`
|
|
663
|
+
align-items: center;
|
|
664
|
+
background: linear-gradient(
|
|
665
|
+
var(--angle-grad),
|
|
666
|
+
rgba(243, 38, 55, var(--opacity-grad)),
|
|
667
|
+
rgba(184, 7, 93, var(--opacity-grad))
|
|
668
|
+
);
|
|
669
|
+
color: ${e.palette.primary[500]};
|
|
670
|
+
cursor: pointer;
|
|
671
|
+
display: flex;
|
|
672
|
+
flex: 1 0 0;
|
|
673
|
+
justify-content: center;
|
|
674
|
+
gap: ${e.spacing[.625]};
|
|
675
|
+
height: ${e.spacing[4]};
|
|
676
|
+
padding: ${e.spacing[1.25]};
|
|
677
|
+
position: relative;
|
|
678
|
+
transition: color, --opacity-grad 0.5s ease-in-out;
|
|
679
|
+
|
|
680
|
+
&.selected {
|
|
681
|
+
--opacity-grad: 1;
|
|
682
|
+
background: linear-gradient(
|
|
683
|
+
var(--angle-grad),
|
|
684
|
+
rgba(243, 38, 55, var(--opacity-grad)),
|
|
685
|
+
rgba(184, 7, 93, var(--opacity-grad))
|
|
686
|
+
);
|
|
687
|
+
color: ${e.palette.white};
|
|
688
|
+
}
|
|
689
|
+
`}
|
|
690
|
+
`,kv=({defaultSelection:e,options:t,handleClick:r})=>{const[n,o]=S.useState(e??t[0]),i=S.useCallback(s=>()=>{o(s),r(s)},[r]);return Y.jsx(Cv,{children:t.map((s,c)=>Y.jsx(Rv,{className:`${s.includes(n)&&"selected"}`,onClick:i(s),children:Y.jsx(yr,{color:"inherit",fontWeight:"bold",size:"md",sizeSm:"sm",textAlign:"center",children:s})},`${s}-${c}`))})};exports.Accordion=nf;exports.BaseButtonComponent=Pa;exports.BaseComponent=eo;exports.BaseSpanComponent=ja;exports.BaseTextComponent=vi;exports.Button=ag;exports.CloudImage=rl;exports.Container=qt;exports.CustomThemeProvider=Lu;exports.Heading=Zu;exports.Icon=Pr;exports.LanguageSelector=Tv;exports.Logo=Ov;exports.Text=yr;exports.ToggleButton=kv;exports.Tooltip=ic;exports.getStyledConfig=an;exports.hiddenProps=aa;exports.icons=Iu;exports.setBorder=rn;exports.setDisplay=nn;exports.setInteraction=sn;exports.setMargin=en;exports.setPadding=Zr;exports.setPosition=tn;exports.setText=on;exports.theme=de;exports.uniqueIcons=Mu;exports.variantBuilder=sa;
|