@fluidattacks/design 1.2.5 → 1.2.7
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 +129 -71
- package/dist/design.mjs +2120 -1926
- package/dist/src/components/@core/styles.d.ts +2 -1
- package/dist/src/components/@core/types.d.ts +1 -0
- package/dist/src/components/container/index.stories.d.ts +7 -0
- package/dist/src/components/container/types.d.ts +1 -1
- package/dist/src/components/icon/index.d.ts +3 -0
- package/dist/src/components/icon/styles.d.ts +14 -0
- package/dist/src/components/icon/types.d.ts +38 -0
- package/dist/src/index.d.ts +2 -0
- package/package.json +21 -3
- package/dist/design.js.map +0 -1
- package/dist/design.mjs.map +0 -1
package/dist/design.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const fe=require("react"),ra=t=>({getVariant:(e,r)=>t(e)[r]}),xi=["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 _e=function(){return _e=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},_e.apply(this,arguments)};function Zt(t,e,r){if(r||arguments.length===2)for(var n=0,o=e.length,a;n<o;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))}function na(t){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=t(r)),e[r]}}var oa=/^((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)-.*))$/,ia=na(function(t){return oa.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),X="-ms-",wr="-moz-",Q="-webkit-",Ti="comm",tn="rule",to="decl",sa="@import",Ai="@keyframes",aa="@layer",Oi=Math.abs,ro=String.fromCharCode,Dn=Object.assign;function ca(t,e){return he(t,0)^45?(((e<<2^he(t,0))<<2^he(t,1))<<2^he(t,2))<<2^he(t,3):0}function Ri(t){return t.trim()}function mt(t,e){return(t=e.exec(t))?t[0]:t}function D(t,e,r){return t.replace(e,r)}function Ur(t,e,r){return t.indexOf(e,r)}function he(t,e){return t.charCodeAt(e)|0}function er(t,e,r){return t.slice(e,r)}function nt(t){return t.length}function $i(t){return t.length}function br(t,e){return e.push(t),t}function ua(t,e){return t.map(e).join("")}function Bo(t,e){return t.filter(function(r){return!mt(r,e)})}var rn=1,tr=1,Pi=0,We=0,ue=0,or="";function nn(t,e,r,n,o,a,u,f){return{value:t,root:e,parent:r,type:n,props:o,children:a,line:rn,column:tr,length:u,return:"",siblings:f}}function St(t,e){return Dn(nn("",null,null,"",null,null,0,t.siblings),t,{length:-t.length},e)}function Kt(t){for(;t.root;)t=St(t.root,{children:[t]});br(t,t.siblings)}function la(){return ue}function fa(){return ue=We>0?he(or,--We):0,tr--,ue===10&&(tr=1,rn--),ue}function Ke(){return ue=We<Pi?he(or,We++):0,tr++,ue===10&&(tr=1,rn++),ue}function Mt(){return he(or,We)}function Br(){return We}function on(t,e){return er(or,t,e)}function Ln(t){switch(t){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 da(t){return rn=tr=1,Pi=nt(or=t),We=0,[]}function ha(t){return or="",t}function $n(t){return Ri(on(We-1,Fn(t===91?t+2:t===40?t+1:t)))}function pa(t){for(;(ue=Mt())&&ue<33;)Ke();return Ln(t)>2||Ln(ue)>3?"":" "}function ga(t,e){for(;--e&&Ke()&&!(ue<48||ue>102||ue>57&&ue<65||ue>70&&ue<97););return on(t,Br()+(e<6&&Mt()==32&&Ke()==32))}function Fn(t){for(;Ke();)switch(ue){case t:return We;case 34:case 39:t!==34&&t!==39&&Fn(ue);break;case 40:t===41&&Fn(t);break;case 92:Ke();break}return We}function ma(t,e){for(;Ke()&&t+ue!==57;)if(t+ue===84&&Mt()===47)break;return"/*"+on(e,We-1)+"*"+ro(t===47?t:Ke())}function ya(t){for(;!Ln(Mt());)Ke();return on(t,We)}function va(t){return ha(qr("",null,null,null,[""],t=da(t),0,[0],t))}function qr(t,e,r,n,o,a,u,f,h){for(var g=0,_=0,E=u,C=0,P=0,B=0,q=1,Z=1,F=1,$=0,z="",G=o,Y=a,k=n,O=z;Z;)switch(B=$,$=Ke()){case 40:if(B!=108&&he(O,E-1)==58){Ur(O+=D($n($),"&","&\f"),"&\f",Oi(g?f[g-1]:0))!=-1&&(F=-1);break}case 34:case 39:case 91:O+=$n($);break;case 9:case 10:case 13:case 32:O+=pa(B);break;case 92:O+=ga(Br()-1,7);continue;case 47:switch(Mt()){case 42:case 47:br(_a(ma(Ke(),Br()),e,r,h),h);break;default:O+="/"}break;case 123*q:f[g++]=nt(O)*F;case 125*q:case 59:case 0:switch($){case 0:case 125:Z=0;case 59+_:F==-1&&(O=D(O,/\f/g,"")),P>0&&nt(O)-E&&br(P>32?zo(O+";",n,r,E-1,h):zo(D(O," ","")+";",n,r,E-2,h),h);break;case 59:O+=";";default:if(br(k=qo(O,e,r,g,_,o,f,z,G=[],Y=[],E,a),a),$===123)if(_===0)qr(O,e,k,k,G,a,E,f,Y);else switch(C===99&&he(O,3)===110?100:C){case 100:case 108:case 109:case 115:qr(t,k,k,n&&br(qo(t,k,k,0,0,o,f,z,o,G=[],E,Y),Y),o,Y,E,f,n?G:Y);break;default:qr(O,k,k,k,[""],Y,0,f,Y)}}g=_=P=0,q=F=1,z=O="",E=u;break;case 58:E=1+nt(O),P=B;default:if(q<1){if($==123)--q;else if($==125&&q++==0&&fa()==125)continue}switch(O+=ro($),$*q){case 38:F=_>0?1:(O+="\f",-1);break;case 44:f[g++]=(nt(O)-1)*F,F=1;break;case 64:Mt()===45&&(O+=$n(Ke())),C=Mt(),_=E=nt(z=O+=ya(Br())),$++;break;case 45:B===45&&nt(O)==2&&(q=0)}}return a}function qo(t,e,r,n,o,a,u,f,h,g,_,E){for(var C=o-1,P=o===0?a:[""],B=$i(P),q=0,Z=0,F=0;q<n;++q)for(var $=0,z=er(t,C+1,C=Oi(Z=u[q])),G=t;$<B;++$)(G=Ri(Z>0?P[$]+" "+z:D(z,/&\f/g,P[$])))&&(h[F++]=G);return nn(t,e,r,o===0?tn:f,h,g,_,E)}function _a(t,e,r,n){return nn(t,e,r,Ti,ro(la()),er(t,2,-2),0,n)}function zo(t,e,r,n,o){return nn(t,e,r,to,er(t,0,n),er(t,n+1,-1),n,o)}function ki(t,e,r){switch(ca(t,e)){case 5103:return Q+"print-"+t+t;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 Q+t+t;case 4789:return wr+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return Q+t+wr+t+X+t+t;case 5936:switch(he(t,e+11)){case 114:return Q+t+X+D(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Q+t+X+D(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Q+t+X+D(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return Q+t+X+t+t;case 6165:return Q+t+X+"flex-"+t+t;case 5187:return Q+t+D(t,/(\w+).+(:[^]+)/,Q+"box-$1$2"+X+"flex-$1$2")+t;case 5443:return Q+t+X+"flex-item-"+D(t,/flex-|-self/g,"")+(mt(t,/flex-|baseline/)?"":X+"grid-row-"+D(t,/flex-|-self/g,""))+t;case 4675:return Q+t+X+"flex-line-pack"+D(t,/align-content|flex-|-self/g,"")+t;case 5548:return Q+t+X+D(t,"shrink","negative")+t;case 5292:return Q+t+X+D(t,"basis","preferred-size")+t;case 6060:return Q+"box-"+D(t,"-grow","")+Q+t+X+D(t,"grow","positive")+t;case 4554:return Q+D(t,/([^-])(transform)/g,"$1"+Q+"$2")+t;case 6187:return D(D(D(t,/(zoom-|grab)/,Q+"$1"),/(image-set)/,Q+"$1"),t,"")+t;case 5495:case 3959:return D(t,/(image-set\([^]*)/,Q+"$1$`$1");case 4968:return D(D(t,/(.+:)(flex-)?(.*)/,Q+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Q+t+t;case 4200:if(!mt(t,/flex-|baseline/))return X+"grid-column-align"+er(t,e)+t;break;case 2592:case 3360:return X+D(t,"template-","")+t;case 4384:case 3616:return r&&r.some(function(n,o){return e=o,mt(n.props,/grid-\w+-end/)})?~Ur(t+(r=r[e].value),"span",0)?t:X+D(t,"-start","")+t+X+"grid-row-span:"+(~Ur(r,"span",0)?mt(r,/\d+/):+mt(r,/\d+/)-+mt(t,/\d+/))+";":X+D(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(n){return mt(n.props,/grid-\w+-start/)})?t:X+D(D(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return D(t,/(.+)-inline(.+)/,Q+"$1$2")+t;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(nt(t)-1-e>6)switch(he(t,e+1)){case 109:if(he(t,e+4)!==45)break;case 102:return D(t,/(.+:)(.+)-([^]+)/,"$1"+Q+"$2-$3$1"+wr+(he(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Ur(t,"stretch",0)?ki(D(t,"stretch","fill-available"),e,r)+t:t}break;case 5152:case 5920:return D(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,a,u,f,h,g){return X+o+":"+a+g+(u?X+o+"-span:"+(f?h:+h-+a)+g:"")+t});case 4949:if(he(t,e+6)===121)return D(t,":",":"+Q)+t;break;case 6444:switch(he(t,he(t,14)===45?18:11)){case 120:return D(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Q+(he(t,14)===45?"inline-":"")+"box$3$1"+Q+"$2$3$1"+X+"$2box$3")+t;case 100:return D(t,":",":"+X)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return D(t,"scroll-","scroll-snap-")+t}return t}function Wr(t,e){for(var r="",n=0;n<t.length;n++)r+=e(t[n],n,t,e)||"";return r}function ba(t,e,r,n){switch(t.type){case aa:if(t.children.length)break;case sa:case to:return t.return=t.return||t.value;case Ti:return"";case Ai:return t.return=t.value+"{"+Wr(t.children,n)+"}";case tn:if(!nt(t.value=t.props.join(",")))return""}return nt(r=Wr(t.children,n))?t.return=t.value+"{"+r+"}":""}function wa(t){var e=$i(t);return function(r,n,o,a){for(var u="",f=0;f<e;f++)u+=t[f](r,n,o,a)||"";return u}}function Sa(t){return function(e){e.root||(e=e.return)&&t(e)}}function Ea(t,e,r,n){if(t.length>-1&&!t.return)switch(t.type){case to:t.return=ki(t.value,t.length,r);return;case Ai:return Wr([St(t,{value:D(t.value,"@","@"+Q)})],n);case tn:if(t.length)return ua(r=t.props,function(o){switch(mt(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Kt(St(t,{props:[D(o,/:(read-\w+)/,":"+wr+"$1")]})),Kt(St(t,{props:[o]})),Dn(t,{props:Bo(r,n)});break;case"::placeholder":Kt(St(t,{props:[D(o,/:(plac\w+)/,":"+Q+"input-$1")]})),Kt(St(t,{props:[D(o,/:(plac\w+)/,":"+wr+"$1")]})),Kt(St(t,{props:[D(o,/:(plac\w+)/,X+"input-$1")]})),Kt(St(t,{props:[o]})),Dn(t,{props:Bo(r,n)});break}return""})}}var Ca={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},Lt=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ji="active",Ii="data-styled-version",sn="6.1.13",no=`/*!sc*/
|
|
2
|
-
`,
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ne=require("react"),oa=t=>({getVariant:(e,r)=>t(e)[r]}),Ti=["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 _e=function(){return _e=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},_e.apply(this,arguments)};function tr(t,e,r){if(r||arguments.length===2)for(var n=0,o=e.length,s;n<o;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))}function ia(t){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=t(r)),e[r]}}var sa=/^((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)-.*))$/,aa=ia(function(t){return sa.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),X="-ms-",Er="-moz-",H="-webkit-",Ai="comm",rn="rule",uo="decl",ca="@import",Oi="@keyframes",ua="@layer",$i=Math.abs,lo=String.fromCharCode,qn=Object.assign;function la(t,e){return he(t,0)^45?(((e<<2^he(t,0))<<2^he(t,1))<<2^he(t,2))<<2^he(t,3):0}function Ri(t){return t.trim()}function mt(t,e){return(t=e.exec(t))?t[0]:t}function D(t,e,r){return t.replace(e,r)}function Br(t,e,r){return t.indexOf(e,r)}function he(t,e){return t.charCodeAt(e)|0}function rr(t,e,r){return t.slice(e,r)}function nt(t){return t.length}function Pi(t){return t.length}function Sr(t,e){return e.push(t),t}function fa(t,e){return t.map(e).join("")}function zo(t,e){return t.filter(function(r){return!mt(r,e)})}var nn=1,nr=1,ki=0,Ge=0,le=0,sr="";function on(t,e,r,n,o,s,c,f){return{value:t,root:e,parent:r,type:n,props:o,children:s,line:nn,column:nr,length:c,return:"",siblings:f}}function xt(t,e){return qn(on("",null,null,"",null,null,0,t.siblings),t,{length:-t.length},e)}function Zt(t){for(;t.root;)t=xt(t.root,{children:[t]});Sr(t,t.siblings)}function da(){return le}function ha(){return le=Ge>0?he(sr,--Ge):0,nr--,le===10&&(nr=1,nn--),le}function Ke(){return le=Ge<ki?he(sr,Ge++):0,nr++,le===10&&(nr=1,nn++),le}function Lt(){return he(sr,Ge)}function zr(){return Ge}function sn(t,e){return rr(sr,t,e)}function Wn(t){switch(t){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 pa(t){return nn=nr=1,ki=nt(sr=t),Ge=0,[]}function ga(t){return sr="",t}function Fn(t){return Ri(sn(Ge-1,Gn(t===91?t+2:t===40?t+1:t)))}function ma(t){for(;(le=Lt())&&le<33;)Ke();return Wn(t)>2||Wn(le)>3?"":" "}function ya(t,e){for(;--e&&Ke()&&!(le<48||le>102||le>57&&le<65||le>70&&le<97););return sn(t,zr()+(e<6&&Lt()==32&&Ke()==32))}function Gn(t){for(;Ke();)switch(le){case t:return Ge;case 34:case 39:t!==34&&t!==39&&Gn(le);break;case 40:t===41&&Gn(t);break;case 92:Ke();break}return Ge}function va(t,e){for(;Ke()&&t+le!==57;)if(t+le===84&&Lt()===47)break;return"/*"+sn(e,Ge-1)+"*"+lo(t===47?t:Ke())}function _a(t){for(;!Wn(Lt());)Ke();return sn(t,Ge)}function ba(t){return ga(qr("",null,null,null,[""],t=pa(t),0,[0],t))}function qr(t,e,r,n,o,s,c,f,d){for(var g=0,_=0,S=c,x=0,P=0,B=0,z=1,Z=1,F=1,R=0,q="",W=o,Y=s,k=n,O=q;Z;)switch(B=R,R=Ke()){case 40:if(B!=108&&he(O,S-1)==58){Br(O+=D(Fn(R),"&","&\f"),"&\f",$i(g?f[g-1]:0))!=-1&&(F=-1);break}case 34:case 39:case 91:O+=Fn(R);break;case 9:case 10:case 13:case 32:O+=ma(B);break;case 92:O+=ya(zr()-1,7);continue;case 47:switch(Lt()){case 42:case 47:Sr(wa(va(Ke(),zr()),e,r,d),d);break;default:O+="/"}break;case 123*z:f[g++]=nt(O)*F;case 125*z:case 59:case 0:switch(R){case 0:case 125:Z=0;case 59+_:F==-1&&(O=D(O,/\f/g,"")),P>0&&nt(O)-S&&Sr(P>32?Wo(O+";",n,r,S-1,d):Wo(D(O," ","")+";",n,r,S-2,d),d);break;case 59:O+=";";default:if(Sr(k=qo(O,e,r,g,_,o,f,q,W=[],Y=[],S,s),s),R===123)if(_===0)qr(O,e,k,k,W,s,S,f,Y);else switch(x===99&&he(O,3)===110?100:x){case 100:case 108:case 109:case 115:qr(t,k,k,n&&Sr(qo(t,k,k,0,0,o,f,q,o,W=[],S,Y),Y),o,Y,S,f,n?W:Y);break;default:qr(O,k,k,k,[""],Y,0,f,Y)}}g=_=P=0,z=F=1,q=O="",S=c;break;case 58:S=1+nt(O),P=B;default:if(z<1){if(R==123)--z;else if(R==125&&z++==0&&ha()==125)continue}switch(O+=lo(R),R*z){case 38:F=_>0?1:(O+="\f",-1);break;case 44:f[g++]=(nt(O)-1)*F,F=1;break;case 64:Lt()===45&&(O+=Fn(Ke())),x=Lt(),_=S=nt(q=O+=_a(zr())),R++;break;case 45:B===45&&nt(O)==2&&(z=0)}}return s}function qo(t,e,r,n,o,s,c,f,d,g,_,S){for(var x=o-1,P=o===0?s:[""],B=Pi(P),z=0,Z=0,F=0;z<n;++z)for(var R=0,q=rr(t,x+1,x=$i(Z=c[z])),W=t;R<B;++R)(W=Ri(Z>0?P[R]+" "+q:D(q,/&\f/g,P[R])))&&(d[F++]=W);return on(t,e,r,o===0?rn:f,d,g,_,S)}function wa(t,e,r,n){return on(t,e,r,Ai,lo(da()),rr(t,2,-2),0,n)}function Wo(t,e,r,n,o){return on(t,e,r,uo,rr(t,0,n),rr(t,n+1,-1),n,o)}function ji(t,e,r){switch(la(t,e)){case 5103:return H+"print-"+t+t;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 H+t+t;case 4789:return Er+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return H+t+Er+t+X+t+t;case 5936:switch(he(t,e+11)){case 114:return H+t+X+D(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return H+t+X+D(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return H+t+X+D(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return H+t+X+t+t;case 6165:return H+t+X+"flex-"+t+t;case 5187:return H+t+D(t,/(\w+).+(:[^]+)/,H+"box-$1$2"+X+"flex-$1$2")+t;case 5443:return H+t+X+"flex-item-"+D(t,/flex-|-self/g,"")+(mt(t,/flex-|baseline/)?"":X+"grid-row-"+D(t,/flex-|-self/g,""))+t;case 4675:return H+t+X+"flex-line-pack"+D(t,/align-content|flex-|-self/g,"")+t;case 5548:return H+t+X+D(t,"shrink","negative")+t;case 5292:return H+t+X+D(t,"basis","preferred-size")+t;case 6060:return H+"box-"+D(t,"-grow","")+H+t+X+D(t,"grow","positive")+t;case 4554:return H+D(t,/([^-])(transform)/g,"$1"+H+"$2")+t;case 6187:return D(D(D(t,/(zoom-|grab)/,H+"$1"),/(image-set)/,H+"$1"),t,"")+t;case 5495:case 3959:return D(t,/(image-set\([^]*)/,H+"$1$`$1");case 4968:return D(D(t,/(.+:)(flex-)?(.*)/,H+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+H+t+t;case 4200:if(!mt(t,/flex-|baseline/))return X+"grid-column-align"+rr(t,e)+t;break;case 2592:case 3360:return X+D(t,"template-","")+t;case 4384:case 3616:return r&&r.some(function(n,o){return e=o,mt(n.props,/grid-\w+-end/)})?~Br(t+(r=r[e].value),"span",0)?t:X+D(t,"-start","")+t+X+"grid-row-span:"+(~Br(r,"span",0)?mt(r,/\d+/):+mt(r,/\d+/)-+mt(t,/\d+/))+";":X+D(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(n){return mt(n.props,/grid-\w+-start/)})?t:X+D(D(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return D(t,/(.+)-inline(.+)/,H+"$1$2")+t;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(nt(t)-1-e>6)switch(he(t,e+1)){case 109:if(he(t,e+4)!==45)break;case 102:return D(t,/(.+:)(.+)-([^]+)/,"$1"+H+"$2-$3$1"+Er+(he(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Br(t,"stretch",0)?ji(D(t,"stretch","fill-available"),e,r)+t:t}break;case 5152:case 5920:return D(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,s,c,f,d,g){return X+o+":"+s+g+(c?X+o+"-span:"+(f?d:+d-+s)+g:"")+t});case 4949:if(he(t,e+6)===121)return D(t,":",":"+H)+t;break;case 6444:switch(he(t,he(t,14)===45?18:11)){case 120:return D(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+H+(he(t,14)===45?"inline-":"")+"box$3$1"+H+"$2$3$1"+X+"$2box$3")+t;case 100:return D(t,":",":"+X)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return D(t,"scroll-","scroll-snap-")+t}return t}function Yr(t,e){for(var r="",n=0;n<t.length;n++)r+=e(t[n],n,t,e)||"";return r}function Sa(t,e,r,n){switch(t.type){case ua:if(t.children.length)break;case ca:case uo:return t.return=t.return||t.value;case Ai:return"";case Oi:return t.return=t.value+"{"+Yr(t.children,n)+"}";case rn:if(!nt(t.value=t.props.join(",")))return""}return nt(r=Yr(t.children,n))?t.return=t.value+"{"+r+"}":""}function Ea(t){var e=Pi(t);return function(r,n,o,s){for(var c="",f=0;f<e;f++)c+=t[f](r,n,o,s)||"";return c}}function xa(t){return function(e){e.root||(e=e.return)&&t(e)}}function Ca(t,e,r,n){if(t.length>-1&&!t.return)switch(t.type){case uo:t.return=ji(t.value,t.length,r);return;case Oi:return Yr([xt(t,{value:D(t.value,"@","@"+H)})],n);case rn:if(t.length)return fa(r=t.props,function(o){switch(mt(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Zt(xt(t,{props:[D(o,/:(read-\w+)/,":"+Er+"$1")]})),Zt(xt(t,{props:[o]})),qn(t,{props:zo(r,n)});break;case"::placeholder":Zt(xt(t,{props:[D(o,/:(plac\w+)/,":"+H+"input-$1")]})),Zt(xt(t,{props:[D(o,/:(plac\w+)/,":"+Er+"$1")]})),Zt(xt(t,{props:[D(o,/:(plac\w+)/,X+"input-$1")]})),Zt(xt(t,{props:[o]})),qn(t,{props:zo(r,n)});break}return""})}}var Ta={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},Vt=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Ii="active",Mi="data-styled-version",an="6.1.13",fo=`/*!sc*/
|
|
2
|
+
`,Hr=typeof window<"u"&&"HTMLElement"in window,Aa=!!(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"),Go=/invalid hook call/i,Fr=new Set,Oa=function(t,e){if(process.env.NODE_ENV!=="production"){var r=e?' with the id of "'.concat(e,'"'):"",n="The component ".concat(t).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
|
|
4
|
+
To resolve this only create new StyledComponents outside of any render method and function component.`,o=console.error;try{var s=!0;console.error=function(c){for(var f=[],d=1;d<arguments.length;d++)f[d-1]=arguments[d];Go.test(c)?(s=!1,Fr.delete(n)):o.apply(void 0,tr([c],f,!1))},ne.useRef(),s&&!Fr.has(n)&&(console.warn(n),Fr.add(n))}catch(c){Go.test(c.message)&&Fr.delete(n)}finally{console.error=o}}},cn=Object.freeze([]),or=Object.freeze({});function $a(t,e,r){return r===void 0&&(r=or),t.theme!==r.theme&&t.theme||e||r.theme}var Yn=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"]),Ra=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Pa=/(^-|-$)/g;function Yo(t){return t.replace(Ra,"-").replace(Pa,"")}var ka=/(a)(d)/gi,Vr=52,Ho=function(t){return String.fromCharCode(t+(t>25?39:97))};function Hn(t){var e,r="";for(e=Math.abs(t);e>Vr;e=e/Vr|0)r=Ho(e%Vr)+r;return(Ho(e%Vr)+r).replace(ka,"$1-$2")}var Vn,Di=5381,Mt=function(t,e){for(var r=e.length;r;)t=33*t^e.charCodeAt(--r);return t},Li=function(t){return Mt(Di,t)};function ja(t){return Hn(Li(t)>>>0)}function Fi(t){return process.env.NODE_ENV!=="production"&&typeof t=="string"&&t||t.displayName||t.name||"Component"}function Nn(t){return typeof t=="string"&&(process.env.NODE_ENV==="production"||t.charAt(0)===t.charAt(0).toLowerCase())}var Vi=typeof Symbol=="function"&&Symbol.for,Ni=Vi?Symbol.for("react.memo"):60115,Ia=Vi?Symbol.for("react.forward_ref"):60112,Ma={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Da={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ui={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},La=((Vn={})[Ia]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Vn[Ni]=Ui,Vn);function Qo(t){return("type"in(e=t)&&e.type.$$typeof)===Ni?Ui:"$$typeof"in t?La[t.$$typeof]:Ma;var e}var Fa=Object.defineProperty,Va=Object.getOwnPropertyNames,Jo=Object.getOwnPropertySymbols,Na=Object.getOwnPropertyDescriptor,Ua=Object.getPrototypeOf,Ko=Object.prototype;function Bi(t,e,r){if(typeof e!="string"){if(Ko){var n=Ua(e);n&&n!==Ko&&Bi(t,n,r)}var o=Va(e);Jo&&(o=o.concat(Jo(e)));for(var s=Qo(t),c=Qo(e),f=0;f<o.length;++f){var d=o[f];if(!(d in Da||r&&r[d]||c&&d in c||s&&d in s)){var g=Na(e,d);try{Fa(t,d,g)}catch{}}}}return t}function Nt(t){return typeof t=="function"}function ho(t){return typeof t=="object"&&"styledComponentId"in t}function Dt(t,e){return t&&e?"".concat(t," ").concat(e):t||e||""}function Xo(t,e){if(t.length===0)return"";for(var r=t[0],n=1;n<t.length;n++)r+=t[n];return r}function ir(t){return t!==null&&typeof t=="object"&&t.constructor.name===Object.name&&!("props"in t&&t.$$typeof)}function Qn(t,e,r){if(r===void 0&&(r=!1),!r&&!ir(t)&&!Array.isArray(t))return e;if(Array.isArray(e))for(var n=0;n<e.length;n++)t[n]=Qn(t[n],e[n]);else if(ir(e))for(var n in e)t[n]=Qn(t[n],e[n]);return t}function po(t,e){Object.defineProperty(t,"toString",{value:e})}var Ba=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 Ua(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=t[0],n=[],o=1,a=t.length;o<a;o+=1)n.push(t[o]);return n.forEach(function(u){r=r.replace(/%[a-z]/,u)}),r}function yt(t){for(var e=[],r=1;r<arguments.length;r++)e[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(t," for more information.").concat(e.length>0?" Args: ".concat(e.join(", ")):"")):new Error(Ua.apply(void 0,Zt([Na[t]],e,!1)).trim())}var Ba=function(){function t(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return t.prototype.indexOfGroup=function(e){for(var r=0,n=0;n<e;n++)r+=this.groupSizes[n];return r},t.prototype.insertRules=function(e,r){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,a=o;e>=a;)if((a<<=1)<0)throw yt(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var u=o;u<a;u++)this.groupSizes[u]=0}for(var f=this.indexOfGroup(e+1),h=(u=0,r.length);u<h;u++)this.tag.insertRule(f,r[u])&&(this.groupSizes[e]++,f++)},t.prototype.clearGroup=function(e){if(e<this.length){var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r;this.groupSizes[e]=0;for(var a=n;a<o;a++)this.tag.deleteRule(n)}},t.prototype.getGroup=function(e){var r="";if(e>=this.length||this.groupSizes[e]===0)return r;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),a=o+n,u=o;u<a;u++)r+="".concat(this.tag.getRule(u)).concat(no);return r},t}(),qa=1<<30,zr=new Map,Qr=new Map,Gr=1,Vr=function(t){if(zr.has(t))return zr.get(t);for(;Qr.has(Gr);)Gr++;var e=Gr++;if(process.env.NODE_ENV!=="production"&&((0|e)<0||e>qa))throw yt(16,"".concat(e));return zr.set(t,e),Qr.set(e,t),e},za=function(t,e){Gr=e+1,zr.set(t,e),Qr.set(e,t)},Ga="style[".concat(Lt,"][").concat(Ii,'="').concat(sn,'"]'),Wa=new RegExp("^".concat(Lt,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ya=function(t,e,r){for(var n,o=r.split(","),a=0,u=o.length;a<u;a++)(n=o[a])&&t.registerName(e,n)},Qa=function(t,e){for(var r,n=((r=e.textContent)!==null&&r!==void 0?r:"").split(no),o=[],a=0,u=n.length;a<u;a++){var f=n[a].trim();if(f){var h=f.match(Wa);if(h){var g=0|parseInt(h[1],10),_=h[2];g!==0&&(za(_,g),Ya(t,_,h[3]),t.getTag().insertRules(g,o)),o.length=0}else o.push(f)}}},Xo=function(t){for(var e=document.querySelectorAll(Ga),r=0,n=e.length;r<n;r++){var o=e[r];o&&o.getAttribute(Lt)!==ji&&(Qa(t,o),o.parentNode&&o.parentNode.removeChild(o))}};function Ha(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Bi=function(t){var e=document.head,r=t||e,n=document.createElement("style"),o=function(f){var h=Array.from(f.querySelectorAll("style[".concat(Lt,"]")));return h[h.length-1]}(r),a=o!==void 0?o.nextSibling:null;n.setAttribute(Lt,ji),n.setAttribute(Ii,sn);var u=Ha();return u&&n.setAttribute("nonce",u),r.insertBefore(n,a),n},Ja=function(){function t(e){this.element=Bi(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,a=n.length;o<a;o++){var u=n[o];if(u.ownerNode===r)return u}throw yt(17)}(this.element),this.length=0}return t.prototype.insertRule=function(e,r){try{return this.sheet.insertRule(r,e),this.length++,!0}catch{return!1}},t.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.prototype.getRule=function(e){var r=this.sheet.cssRules[e];return r&&r.cssText?r.cssText:""},t}(),Ka=function(){function t(e){this.element=Bi(e),this.nodes=this.element.childNodes,this.length=0}return t.prototype.insertRule=function(e,r){if(e<=this.length&&e>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},t.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},t}(),Xa=function(){function t(e){this.rules=[],this.length=0}return t.prototype.insertRule=function(e,r){return e<=this.length&&(this.rules.splice(e,0,r),this.length++,!0)},t.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},t}(),Zo=Yr,Za={isServer:!Yr,useCSSOMInjection:!xa},qi=function(){function t(e,r,n){e===void 0&&(e=rr),r===void 0&&(r={});var o=this;this.options=_e(_e({},Za),e),this.gs=r,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Yr&&Zo&&(Zo=!1,Xo(this)),io(this,function(){return function(a){for(var u=a.getTag(),f=u.length,h="",g=function(E){var C=function(F){return Qr.get(F)}(E);if(C===void 0)return"continue";var P=a.names.get(C),B=u.getGroup(E);if(P===void 0||!P.size||B.length===0)return"continue";var q="".concat(Lt,".g").concat(E,'[id="').concat(C,'"]'),Z="";P!==void 0&&P.forEach(function(F){F.length>0&&(Z+="".concat(F,","))}),h+="".concat(B).concat(q,'{content:"').concat(Z,'"}').concat(no)},_=0;_<f;_++)g(_);return h}(o)})}return t.registerId=function(e){return Vr(e)},t.prototype.rehydrate=function(){!this.server&&Yr&&Xo(this)},t.prototype.reconstructWithOptions=function(e,r){return r===void 0&&(r=!0),new t(_e(_e({},this.options),e),this.gs,r&&this.names||void 0)},t.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.prototype.getTag=function(){return this.tag||(this.tag=(e=function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new Xa(o):n?new Ja(o):new Ka(o)}(this.options),new Ba(e)));var e},t.prototype.hasNameForId=function(e,r){return this.names.has(e)&&this.names.get(e).has(r)},t.prototype.registerName=function(e,r){if(Vr(e),this.names.has(e))this.names.get(e).add(r);else{var n=new Set;n.add(r),this.names.set(e,n)}},t.prototype.insertRules=function(e,r,n){this.registerName(e,r),this.getTag().insertRules(Vr(e),n)},t.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.prototype.clearRules=function(e){this.getTag().clearGroup(Vr(e)),this.clearNames(e)},t.prototype.clearTag=function(){this.tag=void 0},t}(),ec=/&/g,tc=/^\s*\/\/.*$/gm;function zi(t,e){return t.map(function(r){return r.type==="rule"&&(r.value="".concat(e," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(e," ")),r.props=r.props.map(function(n){return"".concat(e," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=zi(r.children,e)),r})}function rc(t){var e,r,n,o=rr,a=o.options,u=a===void 0?rr:a,f=o.plugins,h=f===void 0?an:f,g=function(C,P,B){return B.startsWith(r)&&B.endsWith(r)&&B.replaceAll(r,"").length>0?".".concat(e):C},_=h.slice();_.push(function(C){C.type===tn&&C.value.includes("&")&&(C.props[0]=C.props[0].replace(ec,r).replace(n,g))}),u.prefix&&_.push(Ea),_.push(ba);var E=function(C,P,B,q){P===void 0&&(P=""),B===void 0&&(B=""),q===void 0&&(q="&"),e=q,r=P,n=new RegExp("\\".concat(r,"\\b"),"g");var Z=C.replace(tc,""),F=va(B||P?"".concat(B," ").concat(P," { ").concat(Z," }"):Z);u.namespace&&(F=zi(F,u.namespace));var $=[];return Wr(F,wa(_.concat(Sa(function(z){return $.push(z)})))),$};return E.hash=h.length?h.reduce(function(C,P){return P.name||yt(15),jt(C,P.name)},Mi).toString():"",E}var nc=new qi,Bn=rc(),Gi=fe.createContext({shouldForwardProp:void 0,styleSheet:nc,stylis:Bn});Gi.Consumer;fe.createContext(void 0);function ei(){return fe.useContext(Gi)}var ti=function(){function t(e,r){var n=this;this.inject=function(o,a){a===void 0&&(a=Bn);var u=n.name+a.hash;o.hasNameForId(n.id,u)||o.insertRules(n.id,u,a(n.rules,u,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=r,io(this,function(){throw yt(12,String(n.name))})}return t.prototype.getName=function(e){return e===void 0&&(e=Bn),this.name+e.hash},t}(),oc=function(t){return t>="A"&&t<="Z"};function ri(t){for(var e="",r=0;r<t.length;r++){var n=t[r];if(r===1&&n==="-"&&t[0]==="-")return t;oc(n)?e+="-"+n.toLowerCase():e+=n}return e.startsWith("ms-")?"-"+e:e}var Wi=function(t){return t==null||t===!1||t===""},Yi=function(t){var e,r,n=[];for(var o in t){var a=t[o];t.hasOwnProperty(o)&&!Wi(a)&&(Array.isArray(a)&&a.isCss||Ft(a)?n.push("".concat(ri(o),":"),a,";"):nr(a)?n.push.apply(n,Zt(Zt(["".concat(o," {")],Yi(a),!1),["}"],!1)):n.push("".concat(ri(o),": ").concat((e=o,(r=a)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||e in Ca||e.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function Dt(t,e,r,n){if(Wi(t))return[];if(oo(t))return[".".concat(t.styledComponentId)];if(Ft(t)){if(!Ft(a=t)||a.prototype&&a.prototype.isReactComponent||!e)return[t];var o=t(e);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof ti||nr(o)||o===null||console.error("".concat(Li(t)," 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.")),Dt(o,e,r,n)}var a;return t instanceof ti?r?(t.inject(r,n),[t.getName(n)]):[t]:nr(t)?Yi(t):Array.isArray(t)?Array.prototype.concat.apply(an,t.map(function(u){return Dt(u,e,r,n)})):[t.toString()]}function ic(t){for(var e=0;e<t.length;e+=1){var r=t[e];if(Ft(r)&&!oo(r))return!1}return!0}var sc=Di(sn),ac=function(){function t(e,r,n){this.rules=e,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&ic(e),this.componentId=r,this.baseHash=jt(sc,r),this.baseStyle=n,qi.registerId(r)}return t.prototype.generateAndInjectStyles=function(e,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=It(o,this.staticRulesId);else{var a=Ko(Dt(this.rules,e,r,n)),u=Nn(jt(this.baseHash,a)>>>0);if(!r.hasNameForId(this.componentId,u)){var f=n(a,".".concat(u),void 0,this.componentId);r.insertRules(this.componentId,u,f)}o=It(o,u),this.staticRulesId=u}else{for(var h=jt(this.baseHash,n.hash),g="",_=0;_<this.rules.length;_++){var E=this.rules[_];if(typeof E=="string")g+=E,process.env.NODE_ENV!=="production"&&(h=jt(h,E));else if(E){var C=Ko(Dt(E,e,r,n));h=jt(h,C+_),g+=C}}if(g){var P=Nn(h>>>0);r.hasNameForId(this.componentId,P)||r.insertRules(this.componentId,P,n(g,".".concat(P),void 0,this.componentId)),o=It(o,P)}}return o},t}(),Hr=fe.createContext(void 0);Hr.Consumer;function cc(t){var e=fe.useContext(Hr),r=fe.useMemo(function(){return function(n,o){if(!n)throw yt(14);if(Ft(n)){var a=n(o);if(process.env.NODE_ENV!=="production"&&(a===null||Array.isArray(a)||typeof a!="object"))throw yt(7);return a}if(Array.isArray(n)||typeof n!="object")throw yt(8);return o?_e(_e({},o),n):n}(t.theme,e)},[t.theme,e]);return t.children?fe.createElement(Hr.Provider,{value:r},t.children):null}var jn={},ni=new Set;function uc(t,e,r){var n=oo(t),o=t,a=!kn(t),u=e.attrs,f=u===void 0?an:u,h=e.componentId,g=h===void 0?function(G,Y){var k=typeof G!="string"?"sc":Wo(G);jn[k]=(jn[k]||0)+1;var O="".concat(k,"-").concat(Pa(sn+k+jn[k]));return Y?"".concat(Y,"-").concat(O):O}(e.displayName,e.parentComponentId):h,_=e.displayName,E=_===void 0?function(G){return kn(G)?"styled.".concat(G):"Styled(".concat(Li(G),")")}(t):_,C=e.displayName&&e.componentId?"".concat(Wo(e.displayName),"-").concat(e.componentId):e.componentId||g,P=n&&o.attrs?o.attrs.concat(f).filter(Boolean):f,B=e.shouldForwardProp;if(n&&o.shouldForwardProp){var q=o.shouldForwardProp;if(e.shouldForwardProp){var Z=e.shouldForwardProp;B=function(G,Y){return q(G,Y)&&Z(G,Y)}}else B=q}var F=new ac(r,C,n?o.componentStyle:void 0);function $(G,Y){return function(k,O,be){var Ce=k.attrs,pe=k.componentStyle,et=k.defaultProps,ot=k.foldedComponentIds,ge=k.styledComponentId,xe=k.target,Le=fe.useContext(Hr),de=ei(),we=k.shouldForwardProp||de.shouldForwardProp;process.env.NODE_ENV!=="production"&&fe.useDebugValue(ge);var ke=Aa(O,Le,et)||rr,ne=function(Fe,Se,je){for(var me,oe=_e(_e({},Se),{className:void 0,theme:je}),Ae=0;Ae<Fe.length;Ae+=1){var Qe=Ft(me=Fe[Ae])?me(oe):me;for(var ye in Qe)oe[ye]=ye==="className"?It(oe[ye],Qe[ye]):ye==="style"?_e(_e({},oe[ye]),Qe[ye]):Qe[ye]}return Se.className&&(oe.className=It(oe.className,Se.className)),oe}(Ce,O,ke),V=ne.as||xe,Te={};for(var re in ne)ne[re]===void 0||re[0]==="$"||re==="as"||re==="theme"&&ne.theme===ke||(re==="forwardedAs"?Te.as=ne.forwardedAs:we&&!we(re,V)||(Te[re]=ne[re],we||process.env.NODE_ENV!=="development"||ia(re)||ni.has(re)||!Vn.has(V)||(ni.add(re),console.warn('styled-components: it looks like an unknown prop "'.concat(re,'" 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 j=function(Fe,Se){var je=ei(),me=Fe.generateAndInjectStyles(Se,je.styleSheet,je.stylis);return process.env.NODE_ENV!=="production"&&fe.useDebugValue(me),me}(pe,ne);process.env.NODE_ENV!=="production"&&k.warnTooManyClasses&&k.warnTooManyClasses(j);var Ye=It(ot,ge);return j&&(Ye+=" "+j),ne.className&&(Ye+=" "+ne.className),Te[kn(V)&&!Vn.has(V)?"class":"className"]=Ye,Te.ref=be,fe.createElement(V,Te)}(z,G,Y)}$.displayName=E;var z=fe.forwardRef($);return z.attrs=P,z.componentStyle=F,z.displayName=E,z.shouldForwardProp=B,z.foldedComponentIds=n?It(o.foldedComponentIds,o.styledComponentId):"",z.styledComponentId=C,z.target=n?o.target:t,Object.defineProperty(z,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(G){this._foldedDefaultProps=n?function(Y){for(var k=[],O=1;O<arguments.length;O++)k[O-1]=arguments[O];for(var be=0,Ce=k;be<Ce.length;be++)Un(Y,Ce[be],!0);return Y}({},o.defaultProps,G):G}}),process.env.NODE_ENV!=="production"&&(Ta(E,C),z.warnTooManyClasses=function(G,Y){var k={},O=!1;return function(be){if(!O&&(k[be]=!0,Object.keys(k).length>=200)){var Ce=Y?' with the id of "'.concat(Y,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(G).concat(Ce,`.
|
|
45
|
+
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function za(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=t[0],n=[],o=1,s=t.length;o<s;o+=1)n.push(t[o]);return n.forEach(function(c){r=r.replace(/%[a-z]/,c)}),r}function yt(t){for(var e=[],r=1;r<arguments.length;r++)e[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(t," for more information.").concat(e.length>0?" Args: ".concat(e.join(", ")):"")):new Error(za.apply(void 0,tr([Ba[t]],e,!1)).trim())}var qa=function(){function t(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return t.prototype.indexOfGroup=function(e){for(var r=0,n=0;n<e;n++)r+=this.groupSizes[n];return r},t.prototype.insertRules=function(e,r){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,s=o;e>=s;)if((s<<=1)<0)throw yt(16,"".concat(e));this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var c=o;c<s;c++)this.groupSizes[c]=0}for(var f=this.indexOfGroup(e+1),d=(c=0,r.length);c<d;c++)this.tag.insertRule(f,r[c])&&(this.groupSizes[e]++,f++)},t.prototype.clearGroup=function(e){if(e<this.length){var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r;this.groupSizes[e]=0;for(var s=n;s<o;s++)this.tag.deleteRule(n)}},t.prototype.getGroup=function(e){var r="";if(e>=this.length||this.groupSizes[e]===0)return r;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),s=o+n,c=o;c<s;c++)r+="".concat(this.tag.getRule(c)).concat(fo);return r},t}(),Wa=1<<30,Wr=new Map,Qr=new Map,Gr=1,Nr=function(t){if(Wr.has(t))return Wr.get(t);for(;Qr.has(Gr);)Gr++;var e=Gr++;if(process.env.NODE_ENV!=="production"&&((0|e)<0||e>Wa))throw yt(16,"".concat(e));return Wr.set(t,e),Qr.set(e,t),e},Ga=function(t,e){Gr=e+1,Wr.set(t,e),Qr.set(e,t)},Ya="style[".concat(Vt,"][").concat(Mi,'="').concat(an,'"]'),Ha=new RegExp("^".concat(Vt,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Qa=function(t,e,r){for(var n,o=r.split(","),s=0,c=o.length;s<c;s++)(n=o[s])&&t.registerName(e,n)},Ja=function(t,e){for(var r,n=((r=e.textContent)!==null&&r!==void 0?r:"").split(fo),o=[],s=0,c=n.length;s<c;s++){var f=n[s].trim();if(f){var d=f.match(Ha);if(d){var g=0|parseInt(d[1],10),_=d[2];g!==0&&(Ga(_,g),Qa(t,_,d[3]),t.getTag().insertRules(g,o)),o.length=0}else o.push(f)}}},Zo=function(t){for(var e=document.querySelectorAll(Ya),r=0,n=e.length;r<n;r++){var o=e[r];o&&o.getAttribute(Vt)!==Ii&&(Ja(t,o),o.parentNode&&o.parentNode.removeChild(o))}};function Ka(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var zi=function(t){var e=document.head,r=t||e,n=document.createElement("style"),o=function(f){var d=Array.from(f.querySelectorAll("style[".concat(Vt,"]")));return d[d.length-1]}(r),s=o!==void 0?o.nextSibling:null;n.setAttribute(Vt,Ii),n.setAttribute(Mi,an);var c=Ka();return c&&n.setAttribute("nonce",c),r.insertBefore(n,s),n},Xa=function(){function t(e){this.element=zi(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,s=n.length;o<s;o++){var c=n[o];if(c.ownerNode===r)return c}throw yt(17)}(this.element),this.length=0}return t.prototype.insertRule=function(e,r){try{return this.sheet.insertRule(r,e),this.length++,!0}catch{return!1}},t.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.prototype.getRule=function(e){var r=this.sheet.cssRules[e];return r&&r.cssText?r.cssText:""},t}(),Za=function(){function t(e){this.element=zi(e),this.nodes=this.element.childNodes,this.length=0}return t.prototype.insertRule=function(e,r){if(e<=this.length&&e>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},t.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},t}(),ec=function(){function t(e){this.rules=[],this.length=0}return t.prototype.insertRule=function(e,r){return e<=this.length&&(this.rules.splice(e,0,r),this.length++,!0)},t.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},t}(),ei=Hr,tc={isServer:!Hr,useCSSOMInjection:!Aa},qi=function(){function t(e,r,n){e===void 0&&(e=or),r===void 0&&(r={});var o=this;this.options=_e(_e({},tc),e),this.gs=r,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Hr&&ei&&(ei=!1,Zo(this)),po(this,function(){return function(s){for(var c=s.getTag(),f=c.length,d="",g=function(S){var x=function(F){return Qr.get(F)}(S);if(x===void 0)return"continue";var P=s.names.get(x),B=c.getGroup(S);if(P===void 0||!P.size||B.length===0)return"continue";var z="".concat(Vt,".g").concat(S,'[id="').concat(x,'"]'),Z="";P!==void 0&&P.forEach(function(F){F.length>0&&(Z+="".concat(F,","))}),d+="".concat(B).concat(z,'{content:"').concat(Z,'"}').concat(fo)},_=0;_<f;_++)g(_);return d}(o)})}return t.registerId=function(e){return Nr(e)},t.prototype.rehydrate=function(){!this.server&&Hr&&Zo(this)},t.prototype.reconstructWithOptions=function(e,r){return r===void 0&&(r=!0),new t(_e(_e({},this.options),e),this.gs,r&&this.names||void 0)},t.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.prototype.getTag=function(){return this.tag||(this.tag=(e=function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new ec(o):n?new Xa(o):new Za(o)}(this.options),new qa(e)));var e},t.prototype.hasNameForId=function(e,r){return this.names.has(e)&&this.names.get(e).has(r)},t.prototype.registerName=function(e,r){if(Nr(e),this.names.has(e))this.names.get(e).add(r);else{var n=new Set;n.add(r),this.names.set(e,n)}},t.prototype.insertRules=function(e,r,n){this.registerName(e,r),this.getTag().insertRules(Nr(e),n)},t.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.prototype.clearRules=function(e){this.getTag().clearGroup(Nr(e)),this.clearNames(e)},t.prototype.clearTag=function(){this.tag=void 0},t}(),rc=/&/g,nc=/^\s*\/\/.*$/gm;function Wi(t,e){return t.map(function(r){return r.type==="rule"&&(r.value="".concat(e," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(e," ")),r.props=r.props.map(function(n){return"".concat(e," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Wi(r.children,e)),r})}function oc(t){var e,r,n,o=or,s=o.options,c=s===void 0?or:s,f=o.plugins,d=f===void 0?cn:f,g=function(x,P,B){return B.startsWith(r)&&B.endsWith(r)&&B.replaceAll(r,"").length>0?".".concat(e):x},_=d.slice();_.push(function(x){x.type===rn&&x.value.includes("&")&&(x.props[0]=x.props[0].replace(rc,r).replace(n,g))}),c.prefix&&_.push(Ca),_.push(Sa);var S=function(x,P,B,z){P===void 0&&(P=""),B===void 0&&(B=""),z===void 0&&(z="&"),e=z,r=P,n=new RegExp("\\".concat(r,"\\b"),"g");var Z=x.replace(nc,""),F=ba(B||P?"".concat(B," ").concat(P," { ").concat(Z," }"):Z);c.namespace&&(F=Wi(F,c.namespace));var R=[];return Yr(F,Ea(_.concat(xa(function(q){return R.push(q)})))),R};return S.hash=d.length?d.reduce(function(x,P){return P.name||yt(15),Mt(x,P.name)},Di).toString():"",S}var ic=new qi,Jn=oc(),Gi=ne.createContext({shouldForwardProp:void 0,styleSheet:ic,stylis:Jn});Gi.Consumer;ne.createContext(void 0);function ti(){return ne.useContext(Gi)}var ri=function(){function t(e,r){var n=this;this.inject=function(o,s){s===void 0&&(s=Jn);var c=n.name+s.hash;o.hasNameForId(n.id,c)||o.insertRules(n.id,c,s(n.rules,c,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=r,po(this,function(){throw yt(12,String(n.name))})}return t.prototype.getName=function(e){return e===void 0&&(e=Jn),this.name+e.hash},t}(),sc=function(t){return t>="A"&&t<="Z"};function ni(t){for(var e="",r=0;r<t.length;r++){var n=t[r];if(r===1&&n==="-"&&t[0]==="-")return t;sc(n)?e+="-"+n.toLowerCase():e+=n}return e.startsWith("ms-")?"-"+e:e}var Yi=function(t){return t==null||t===!1||t===""},Hi=function(t){var e,r,n=[];for(var o in t){var s=t[o];t.hasOwnProperty(o)&&!Yi(s)&&(Array.isArray(s)&&s.isCss||Nt(s)?n.push("".concat(ni(o),":"),s,";"):ir(s)?n.push.apply(n,tr(tr(["".concat(o," {")],Hi(s),!1),["}"],!1)):n.push("".concat(ni(o),": ").concat((e=o,(r=s)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||e in Ta||e.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function Ft(t,e,r,n){if(Yi(t))return[];if(ho(t))return[".".concat(t.styledComponentId)];if(Nt(t)){if(!Nt(s=t)||s.prototype&&s.prototype.isReactComponent||!e)return[t];var o=t(e);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof ri||ir(o)||o===null||console.error("".concat(Fi(t)," 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.")),Ft(o,e,r,n)}var s;return t instanceof ri?r?(t.inject(r,n),[t.getName(n)]):[t]:ir(t)?Hi(t):Array.isArray(t)?Array.prototype.concat.apply(cn,t.map(function(c){return Ft(c,e,r,n)})):[t.toString()]}function ac(t){for(var e=0;e<t.length;e+=1){var r=t[e];if(Nt(r)&&!ho(r))return!1}return!0}var cc=Li(an),uc=function(){function t(e,r,n){this.rules=e,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&ac(e),this.componentId=r,this.baseHash=Mt(cc,r),this.baseStyle=n,qi.registerId(r)}return t.prototype.generateAndInjectStyles=function(e,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=Dt(o,this.staticRulesId);else{var s=Xo(Ft(this.rules,e,r,n)),c=Hn(Mt(this.baseHash,s)>>>0);if(!r.hasNameForId(this.componentId,c)){var f=n(s,".".concat(c),void 0,this.componentId);r.insertRules(this.componentId,c,f)}o=Dt(o,c),this.staticRulesId=c}else{for(var d=Mt(this.baseHash,n.hash),g="",_=0;_<this.rules.length;_++){var S=this.rules[_];if(typeof S=="string")g+=S,process.env.NODE_ENV!=="production"&&(d=Mt(d,S));else if(S){var x=Xo(Ft(S,e,r,n));d=Mt(d,x+_),g+=x}}if(g){var P=Hn(d>>>0);r.hasNameForId(this.componentId,P)||r.insertRules(this.componentId,P,n(g,".".concat(P),void 0,this.componentId)),o=Dt(o,P)}}return o},t}(),Jr=ne.createContext(void 0);Jr.Consumer;function lc(t){var e=ne.useContext(Jr),r=ne.useMemo(function(){return function(n,o){if(!n)throw yt(14);if(Nt(n)){var s=n(o);if(process.env.NODE_ENV!=="production"&&(s===null||Array.isArray(s)||typeof s!="object"))throw yt(7);return s}if(Array.isArray(n)||typeof n!="object")throw yt(8);return o?_e(_e({},o),n):n}(t.theme,e)},[t.theme,e]);return t.children?ne.createElement(Jr.Provider,{value:r},t.children):null}var Un={},oi=new Set;function fc(t,e,r){var n=ho(t),o=t,s=!Nn(t),c=e.attrs,f=c===void 0?cn:c,d=e.componentId,g=d===void 0?function(W,Y){var k=typeof W!="string"?"sc":Yo(W);Un[k]=(Un[k]||0)+1;var O="".concat(k,"-").concat(ja(an+k+Un[k]));return Y?"".concat(Y,"-").concat(O):O}(e.displayName,e.parentComponentId):d,_=e.displayName,S=_===void 0?function(W){return Nn(W)?"styled.".concat(W):"Styled(".concat(Fi(W),")")}(t):_,x=e.displayName&&e.componentId?"".concat(Yo(e.displayName),"-").concat(e.componentId):e.componentId||g,P=n&&o.attrs?o.attrs.concat(f).filter(Boolean):f,B=e.shouldForwardProp;if(n&&o.shouldForwardProp){var z=o.shouldForwardProp;if(e.shouldForwardProp){var Z=e.shouldForwardProp;B=function(W,Y){return z(W,Y)&&Z(W,Y)}}else B=z}var F=new uc(r,x,n?o.componentStyle:void 0);function R(W,Y){return function(k,O,be){var xe=k.attrs,pe=k.componentStyle,et=k.defaultProps,ot=k.foldedComponentIds,ge=k.styledComponentId,Ce=k.target,Le=ne.useContext(Jr),de=ti(),we=k.shouldForwardProp||de.shouldForwardProp;process.env.NODE_ENV!=="production"&&ne.useDebugValue(ge);var ke=$a(O,Le,et)||or,oe=function(Fe,Se,je){for(var me,ie=_e(_e({},Se),{className:void 0,theme:je}),Ae=0;Ae<Fe.length;Ae+=1){var He=Nt(me=Fe[Ae])?me(ie):me;for(var ye in He)ie[ye]=ye==="className"?Dt(ie[ye],He[ye]):ye==="style"?_e(_e({},ie[ye]),He[ye]):He[ye]}return Se.className&&(ie.className=Dt(ie.className,Se.className)),ie}(xe,O,ke),V=oe.as||Ce,Te={};for(var re in oe)oe[re]===void 0||re[0]==="$"||re==="as"||re==="theme"&&oe.theme===ke||(re==="forwardedAs"?Te.as=oe.forwardedAs:we&&!we(re,V)||(Te[re]=oe[re],we||process.env.NODE_ENV!=="development"||aa(re)||oi.has(re)||!Yn.has(V)||(oi.add(re),console.warn('styled-components: it looks like an unknown prop "'.concat(re,'" 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 j=function(Fe,Se){var je=ti(),me=Fe.generateAndInjectStyles(Se,je.styleSheet,je.stylis);return process.env.NODE_ENV!=="production"&&ne.useDebugValue(me),me}(pe,oe);process.env.NODE_ENV!=="production"&&k.warnTooManyClasses&&k.warnTooManyClasses(j);var Ye=Dt(ot,ge);return j&&(Ye+=" "+j),oe.className&&(Ye+=" "+oe.className),Te[Nn(V)&&!Yn.has(V)?"class":"className"]=Ye,Te.ref=be,ne.createElement(V,Te)}(q,W,Y)}R.displayName=S;var q=ne.forwardRef(R);return q.attrs=P,q.componentStyle=F,q.displayName=S,q.shouldForwardProp=B,q.foldedComponentIds=n?Dt(o.foldedComponentIds,o.styledComponentId):"",q.styledComponentId=x,q.target=n?o.target:t,Object.defineProperty(q,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(W){this._foldedDefaultProps=n?function(Y){for(var k=[],O=1;O<arguments.length;O++)k[O-1]=arguments[O];for(var be=0,xe=k;be<xe.length;be++)Qn(Y,xe[be],!0);return Y}({},o.defaultProps,W):W}}),process.env.NODE_ENV!=="production"&&(Oa(S,x),q.warnTooManyClasses=function(W,Y){var k={},O=!1;return function(be){if(!O&&(k[be]=!0,Object.keys(k).length>=200)){var xe=Y?' with the id of "'.concat(Y,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(W).concat(xe,`.
|
|
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 />`),O=!0,k={}}}}(
|
|
54
|
+
<Component />`),O=!0,k={}}}}(S,x)),po(q,function(){return".".concat(q.styledComponentId)}),s&&Bi(q,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),q}function ii(t,e){for(var r=[t[0]],n=0,o=e.length;n<o;n+=1)r.push(e[n],t[n+1]);return r}var si=function(t){return Object.assign(t,{isCss:!0})};function dc(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(Nt(t)||ir(t))return si(Ft(ii(cn,tr([t],e,!0))));var n=t;return e.length===0&&n.length===1&&typeof n[0]=="string"?Ft(n):si(Ft(ii(n,e)))}function Kn(t,e,r){if(r===void 0&&(r=or),!e)throw yt(1,e);var n=function(o){for(var s=[],c=1;c<arguments.length;c++)s[c-1]=arguments[c];return t(e,r,dc.apply(void 0,tr([o],s,!1)))};return n.attrs=function(o){return Kn(t,e,_e(_e({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return Kn(t,e,_e(_e({},r),o))},n}var Qi=function(t){return Kn(fc,t)},_t=Qi;Yn.forEach(function(t){_t[t]=Qi(t)});process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
55
55
|
Perhaps you're looking to import 'styled-components/native'?
|
|
56
|
-
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var
|
|
56
|
+
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var Ur="__sc-".concat(Vt,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[Ur]||(window[Ur]=0),window[Ur]===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[
|
|
58
|
+
See https://s-c.sh/2BAXzed for more info.`),window[Ur]+=1);var Xn={exports:{}},br={};/**
|
|
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[Nr]+=1);var zn={exports:{}},v
|
|
|
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
|
|
66
|
+
*/var ai;function hc(){if(ai)return br;ai=1;var t=ne,e=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(f,d,g){var _,S={},x=null,P=null;g!==void 0&&(x=""+g),d.key!==void 0&&(x=""+d.key),d.ref!==void 0&&(P=d.ref);for(_ in d)n.call(d,_)&&!s.hasOwnProperty(_)&&(S[_]=d[_]);if(f&&f.defaultProps)for(_ in d=f.defaultProps,d)S[_]===void 0&&(S[_]=d[_]);return{$$typeof:e,type:f,key:x,ref:P,props:S,_owner:o.current}}return br.Fragment=r,br.jsx=c,br.jsxs=c,br}var wr={};/**
|
|
67
67
|
* @license React
|
|
68
68
|
* react-jsx-runtime.development.js
|
|
69
69
|
*
|
|
@@ -71,146 +71,204 @@ See https://s-c.sh/2BAXzed for more info.`),window[Nr]+=1);var zn={exports:{}},v
|
|
|
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
|
|
75
|
-
`+je+
|
|
76
|
-
`),
|
|
77
|
-
`),K=M.length-1,ee=
|
|
78
|
-
`+M[K].replace(" at new "," at ");return
|
|
74
|
+
*/var ci;function pc(){return ci||(ci=1,process.env.NODE_ENV!=="production"&&function(){var t=ne,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),f=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),B=Symbol.iterator,z="@@iterator";function Z(u){if(u===null||typeof u!="object")return null;var y=B&&u[B]||u[z];return typeof y=="function"?y:null}var F=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(u){{for(var y=arguments.length,b=new Array(y>1?y-1:0),C=1;C<y;C++)b[C-1]=arguments[C];q("error",u,b)}}function q(u,y,b){{var C=F.ReactDebugCurrentFrame,G=C.getStackAddendum();G!==""&&(y+="%s",b=b.concat([G]));var U=b.map(function(L){return String(L)});U.unshift("Warning: "+y),Function.prototype.apply.call(console[u],console,U)}}var W=!1,Y=!1,k=!1,O=!1,be=!1,xe;xe=Symbol.for("react.module.reference");function pe(u){return!!(typeof u=="string"||typeof u=="function"||u===n||u===s||be||u===o||u===g||u===_||O||u===P||W||Y||k||typeof u=="object"&&u!==null&&(u.$$typeof===x||u.$$typeof===S||u.$$typeof===c||u.$$typeof===f||u.$$typeof===d||u.$$typeof===xe||u.getModuleId!==void 0))}function et(u,y,b){var C=u.displayName;if(C)return C;var G=y.displayName||y.name||"";return G!==""?b+"("+G+")":b}function ot(u){return u.displayName||"Context"}function ge(u){if(u==null)return null;if(typeof u.tag=="number"&&R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case n:return"Fragment";case r:return"Portal";case s:return"Profiler";case o:return"StrictMode";case g:return"Suspense";case _:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case f:var y=u;return ot(y)+".Consumer";case c:var b=u;return ot(b._context)+".Provider";case d:return et(u,u.render,"ForwardRef");case S:var C=u.displayName||null;return C!==null?C:ge(u.type)||"Memo";case x:{var G=u,U=G._payload,L=G._init;try{return ge(L(U))}catch{return null}}}return null}var Ce=Object.assign,Le=0,de,we,ke,oe,V,Te,re;function j(){}j.__reactDisabledLog=!0;function Ye(){{if(Le===0){de=console.log,we=console.info,ke=console.warn,oe=console.error,V=console.group,Te=console.groupCollapsed,re=console.groupEnd;var u={configurable:!0,enumerable:!0,value:j,writable:!0};Object.defineProperties(console,{info:u,log:u,warn:u,error:u,group:u,groupCollapsed:u,groupEnd:u})}Le++}}function Fe(){{if(Le--,Le===0){var u={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ce({},u,{value:de}),info:Ce({},u,{value:we}),warn:Ce({},u,{value:ke}),error:Ce({},u,{value:oe}),group:Ce({},u,{value:V}),groupCollapsed:Ce({},u,{value:Te}),groupEnd:Ce({},u,{value:re})})}Le<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Se=F.ReactCurrentDispatcher,je;function me(u,y,b){{if(je===void 0)try{throw Error()}catch(G){var C=G.stack.trim().match(/\n( *(at )?)/);je=C&&C[1]||""}return`
|
|
75
|
+
`+je+u}}var ie=!1,Ae;{var He=typeof WeakMap=="function"?WeakMap:Map;Ae=new He}function ye(u,y){if(!u||ie)return"";{var b=Ae.get(u);if(b!==void 0)return b}var C;ie=!0;var G=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var U;U=Se.current,Se.current=null,Ye();try{if(y){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(De){C=De}Reflect.construct(u,[],L)}else{try{L.call()}catch(De){C=De}u.call(L.prototype)}}else{try{throw Error()}catch(De){C=De}u()}}catch(De){if(De&&C&&typeof De.stack=="string"){for(var M=De.stack.split(`
|
|
76
|
+
`),fe=C.stack.split(`
|
|
77
|
+
`),K=M.length-1,ee=fe.length-1;K>=1&&ee>=0&&M[K]!==fe[ee];)ee--;for(;K>=1&&ee>=0;K--,ee--)if(M[K]!==fe[ee]){if(K!==1||ee!==1)do if(K--,ee--,ee<0||M[K]!==fe[ee]){var se=`
|
|
78
|
+
`+M[K].replace(" at new "," at ");return u.displayName&&se.includes("<anonymous>")&&(se=se.replace("<anonymous>",u.displayName)),typeof u=="function"&&Ae.set(u,se),se}while(K>=1&&ee>=0);break}}}finally{ie=!1,Se.current=U,Fe(),Error.prepareStackTrace=G}var ze=u?u.displayName||u.name:"",kt=ze?me(ze):"";return typeof u=="function"&&Ae.set(u,kt),kt}function zt(u,y,b){return ye(u,!1)}function wt(u){var y=u.prototype;return!!(y&&y.isReactComponent)}function Qe(u,y,b){if(u==null)return"";if(typeof u=="function")return ye(u,wt(u));if(typeof u=="string")return me(u);switch(u){case g:return me("Suspense");case _:return me("SuspenseList")}if(typeof u=="object")switch(u.$$typeof){case d:return zt(u.render);case S:return Qe(u.type,y,b);case x:{var C=u,G=C._payload,U=C._init;try{return Qe(U(G),y,b)}catch{}}}return""}var tt=Object.prototype.hasOwnProperty,rt={},Ot=F.ReactDebugCurrentFrame;function it(u){if(u){var y=u._owner,b=Qe(u.type,u._source,y?y.type:null);Ot.setExtraStackFrame(b)}else Ot.setExtraStackFrame(null)}function st(u,y,b,C,G){{var U=Function.call.bind(tt);for(var L in u)if(U(u,L)){var M=void 0;try{if(typeof u[L]!="function"){var fe=Error((C||"React class")+": "+b+" type `"+L+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof u[L]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw fe.name="Invariant Violation",fe}M=u[L](y,L,C,b,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(K){M=K}M&&!(M instanceof Error)&&(it(G),R("%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).",C||"React class",b,L,typeof M),it(null)),M instanceof Error&&!(M.message in rt)&&(rt[M.message]=!0,it(G),R("Failed %s type: %s",b,M.message),it(null))}}}var at=Array.isArray;function ct(u){return at(u)}function $t(u){{var y=typeof Symbol=="function"&&Symbol.toStringTag,b=y&&u[Symbol.toStringTag]||u.constructor.name||"Object";return b}}function Ve(u){try{return ut(u),!1}catch{return!0}}function ut(u){return""+u}function qt(u){if(Ve(u))return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",$t(u)),ut(u)}var Ne=F.ReactCurrentOwner,Wt={key:!0,ref:!0,__self:!0,__source:!0},Rt,Gt,Ue;Ue={};function Yt(u){if(tt.call(u,"ref")){var y=Object.getOwnPropertyDescriptor(u,"ref").get;if(y&&y.isReactWarning)return!1}return u.ref!==void 0}function cr(u){if(tt.call(u,"key")){var y=Object.getOwnPropertyDescriptor(u,"key").get;if(y&&y.isReactWarning)return!1}return u.key!==void 0}function Ht(u,y){if(typeof u.ref=="string"&&Ne.current&&y&&Ne.current.stateNode!==y){var b=ge(Ne.current.type);Ue[b]||(R('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',ge(Ne.current.type),u.ref),Ue[b]=!0)}}function Qt(u,y){{var b=function(){Rt||(Rt=!0,R("%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)",y))};b.isReactWarning=!0,Object.defineProperty(u,"key",{get:b,configurable:!0})}}function ur(u,y){{var b=function(){Gt||(Gt=!0,R("%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)",y))};b.isReactWarning=!0,Object.defineProperty(u,"ref",{get:b,configurable:!0})}}var St=function(u,y,b,C,G,U,L){var M={$$typeof:e,type:u,key:y,ref:b,props:L,_owner:U};return M._store={},Object.defineProperty(M._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(M,"_self",{configurable:!1,enumerable:!1,writable:!1,value:C}),Object.defineProperty(M,"_source",{configurable:!1,enumerable:!1,writable:!1,value:G}),Object.freeze&&(Object.freeze(M.props),Object.freeze(M)),M};function lt(u,y,b,C,G){{var U,L={},M=null,fe=null;b!==void 0&&(qt(b),M=""+b),cr(y)&&(qt(y.key),M=""+y.key),Yt(y)&&(fe=y.ref,Ht(y,G));for(U in y)tt.call(y,U)&&!Wt.hasOwnProperty(U)&&(L[U]=y[U]);if(u&&u.defaultProps){var K=u.defaultProps;for(U in K)L[U]===void 0&&(L[U]=K[U])}if(M||fe){var ee=typeof u=="function"?u.displayName||u.name||"Unknown":u;M&&Qt(L,ee),fe&&ur(L,ee)}return St(u,M,fe,G,C,Ne.current,L)}}var Be=F.ReactCurrentOwner,ft=F.ReactDebugCurrentFrame;function Ie(u){if(u){var y=u._owner,b=Qe(u.type,u._source,y?y.type:null);ft.setExtraStackFrame(b)}else ft.setExtraStackFrame(null)}var Me;Me=!1;function dt(u){return typeof u=="object"&&u!==null&&u.$$typeof===e}function Et(){{if(Be.current){var u=ge(Be.current.type);if(u)return`
|
|
79
79
|
|
|
80
|
-
Check the render method of \``+
|
|
80
|
+
Check the render method of \``+u+"`."}return""}}function lr(u){return""}var Jt={};function fr(u){{var y=Et();if(!y){var b=typeof u=="string"?u:u.displayName||u.name;b&&(y=`
|
|
81
81
|
|
|
82
|
-
Check the top-level render call using <`+b+">.")}return y}}function ht(
|
|
82
|
+
Check the top-level render call using <`+b+">.")}return y}}function ht(u,y){{if(!u._store||u._store.validated||u.key!=null)return;u._store.validated=!0;var b=fr(y);if(Jt[b])return;Jt[b]=!0;var C="";u&&u._owner&&u._owner!==Be.current&&(C=" It was passed a child from "+ge(u._owner.type)+"."),Ie(u),R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',b,C),Ie(null)}}function Pt(u,y){{if(typeof u!="object")return;if(ct(u))for(var b=0;b<u.length;b++){var C=u[b];dt(C)&&ht(C,y)}else if(dt(u))u._store&&(u._store.validated=!0);else if(u){var G=Z(u);if(typeof G=="function"&&G!==u.entries)for(var U=G.call(u),L;!(L=U.next()).done;)dt(L.value)&&ht(L.value,y)}}}function Je(u){{var y=u.type;if(y==null||typeof y=="string")return;var b;if(typeof y=="function")b=y.propTypes;else if(typeof y=="object"&&(y.$$typeof===d||y.$$typeof===S))b=y.propTypes;else return;if(b){var C=ge(y);st(b,u.props,"prop",C,u)}else if(y.PropTypes!==void 0&&!Me){Me=!0;var G=ge(y);R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",G||"Unknown")}typeof y.getDefaultProps=="function"&&!y.getDefaultProps.isReactClassApproved&&R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function dr(u){{for(var y=Object.keys(u.props),b=0;b<y.length;b++){var C=y[b];if(C!=="children"&&C!=="key"){Ie(u),R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",C),Ie(null);break}}u.ref!==null&&(Ie(u),R("Invalid attribute `ref` supplied to `React.Fragment`."),Ie(null))}}function Kt(u,y,b,C,G,U){{var L=pe(u);if(!L){var M="";(u===void 0||typeof u=="object"&&u!==null&&Object.keys(u).length===0)&&(M+=" 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 fe=lr();fe?M+=fe:M+=Et();var K;u===null?K="null":ct(u)?K="array":u!==void 0&&u.$$typeof===e?(K="<"+(ge(u.type)||"Unknown")+" />",M=" Did you accidentally export a JSX literal instead of a component?"):K=typeof u,R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",K,M)}var ee=lt(u,y,b,G,U);if(ee==null)return ee;if(L){var se=y.children;if(se!==void 0)if(C)if(ct(se)){for(var ze=0;ze<se.length;ze++)Pt(se[ze],u);Object.freeze&&Object.freeze(se)}else R("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 Pt(se,u)}return u===n?dr(ee):Je(ee),ee}}function hr(u,y,b){return Kt(u,y,b,!0)}function pr(u,y,b){return Kt(u,y,b,!1)}var gr=pr,Oe=hr;wr.Fragment=n,wr.jsx=gr,wr.jsxs=Oe}()),wr}process.env.NODE_ENV==="production"?Xn.exports=hc():Xn.exports=pc();var vt=Xn.exports;const gc={25:"#fcfcfd",50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#2f394b",800:"#212a36",900:"#161b25"},mc={25:"#fef2f3",50:"#fddfe2",100:"#fbbac0",200:"#f9959e",300:"#f65e6a",400:"#f32637",500:"#bf0b1a",600:"#ac0a17",700:"#9a0915",800:"#870812",900:"#750710"},yc={25:"",50:"",100:"#ffe6ff",200:"",300:"#b8075d",400:"",500:"#7f0540",600:"",700:"#59042d",800:"",900:"#460323"},vc={25:"",50:"#fef3f2",100:"",200:"#fecdca",300:"",400:"",500:"#f04438",600:"",700:"#b42318",800:"",900:""},_c={25:"",50:"#fffaeb",100:"",200:"#fef0c7",300:"",400:"#ffd562",500:"#fdb022",600:"#dc6803",700:"#b54708",800:"",900:""},bc={25:"",50:"#f6fef9",100:"",200:"#a6f4c5",300:"",400:"",500:"#12b76a",600:"",700:"#027a48",800:"",900:""},wc={25:"",50:"#eff8ff",100:"",200:"#b2ddff",300:"",400:"",500:"#2e90fa",600:"",700:"#175cd3",800:"",900:""},Sc={"01":"linear-gradient(45deg, #f32637 0%, #b8075d 100%)","02":"linear-gradient(45deg, #fcfcfd 0%, #667085 100%)"},Ec={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"}},xc={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)"},Cc={mobile:"360px",tablet:"960px",sm:"1024px",md:"1440px",lg:"1920px"},Tc={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"},Ac=["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"],Oc=[["fal","arrow-down"],["fal","arrow-left"],["fal","arrow-right"],["fal","arrow-up"],["fal","plus"],["fal","minus"],["fas","check"],["fas","circle-question"]],ue={typography:Ec,shadows:xc,breakpoints:Cc,spacing:Tc,palette:{primary:mc,complementary:yc,error:vc,info:wc,warning:_c,success:bc,black:"#0c111d",white:"#ffffff",gray:gc,gradients:Sc}},$c=({children:t})=>vt.jsx(lc,{theme:ue,children:t}),A=(t,e)=>e===void 0?"":`${t}: ${e};`,un=t=>{const e=t.py??t.pt??0,r=t.px??t.pr??0,n=t.py??t.pb??0,o=t.px??t.pl??0;if(t.padding){const[s,c,f,d]=t.padding;return`padding: ${ue.spacing[s]} ${ue.spacing[c]} ${ue.spacing[f]} ${ue.spacing[d]};`}return`padding: ${ue.spacing[e]} ${ue.spacing[r]} ${ue.spacing[n]} ${ue.spacing[o]};`},ln=t=>{const e=t.my??t.mt??0,r=t.mx??t.mr??0,n=t.my??t.mb??0,o=t.mx??t.ml??0;if(t.margin){const[s,c,f,d]=t.margin;return`margin: ${ue.spacing[s]} ${ue.spacing[c]} ${ue.spacing[f]} ${ue.spacing[d]};`}return`margin: ${ue.spacing[e]} ${ue.spacing[r]} ${ue.spacing[n]} ${ue.spacing[o]};`},fn=t=>{const e=A("position",t.position),r=A("top",t.top),n=A("right",t.right),o=A("bottom",t.bottom),s=A("left",t.left),c=A("z-index",t.zIndex);return`
|
|
83
83
|
${e}
|
|
84
84
|
${r}
|
|
85
85
|
${n}
|
|
86
86
|
${o}
|
|
87
|
-
${
|
|
88
|
-
${
|
|
89
|
-
`},
|
|
87
|
+
${s}
|
|
88
|
+
${c}
|
|
89
|
+
`},dn=t=>{const e=A("border",t.border),r=A("border-top",t.borderTop),n=A("border-right",t.borderRight),o=A("border-bottom",t.borderBottom),s=A("border-left",t.borderLeft),c=A("border-color",t.borderColor),f=A("border-radius",t.borderRadius);return`
|
|
90
90
|
${e}
|
|
91
91
|
${r}
|
|
92
92
|
${n}
|
|
93
93
|
${o}
|
|
94
|
-
${
|
|
95
|
-
${
|
|
94
|
+
${s}
|
|
95
|
+
${c}
|
|
96
96
|
${f}
|
|
97
|
-
`},
|
|
98
|
-
${Oc(t.scroll)}
|
|
97
|
+
`},Rc=t=>t.includes("x")?"overflow-x: auto;":"",Pc=t=>t.includes("y")?"overflow-y: auto;":"",hn=t=>{const e=t.scroll?`
|
|
99
98
|
${Rc(t.scroll)}
|
|
100
|
-
|
|
99
|
+
${Pc(t.scroll)}
|
|
100
|
+
`:"",r=A("visibility",t.visibility),n=A("display",t.display),o=A("height",t.height),s=A("width",t.width),c=A("max-height",t.maxHeight),f=A("max-width",t.maxWidth),d=A("min-height",t.minHeight),g=A("min-width",t.minWidth),_=A("box-shadow",t.shadow?ue.shadows[t.shadow]:void 0),S=A("gap",t.gap===void 0?void 0:ue.spacing[t.gap]),x=A("background-color",t.bgColor),P=A("background",t.bgGradient),B=A("flex-direction",t.flexDirection),z=A("flex-grow",t.flexGrow),Z=A("justify-content",t.justify),F=A("justify-self",t.justifySelf),R=A("align-items",t.alignItems),q=A("align-self",t.alignSelf),W=A("flex-wrap",t.wrap);return`
|
|
101
101
|
${e}
|
|
102
102
|
${r}
|
|
103
103
|
${n}
|
|
104
104
|
${o}
|
|
105
|
-
${
|
|
106
|
-
${
|
|
105
|
+
${s}
|
|
106
|
+
${c}
|
|
107
107
|
${f}
|
|
108
|
-
${
|
|
108
|
+
${d}
|
|
109
109
|
${g}
|
|
110
110
|
${_}
|
|
111
|
-
${
|
|
111
|
+
${x}
|
|
112
112
|
${P}
|
|
113
|
-
${
|
|
113
|
+
${S}
|
|
114
114
|
${B}
|
|
115
|
-
${
|
|
115
|
+
${z}
|
|
116
116
|
${Z}
|
|
117
117
|
${F}
|
|
118
|
-
${
|
|
119
|
-
${
|
|
120
|
-
${
|
|
121
|
-
`},
|
|
118
|
+
${R}
|
|
119
|
+
${q}
|
|
120
|
+
${W}
|
|
121
|
+
`},pn=t=>{const e=A("color",t.color),r=A("font-family",t.fontFamily),n=A("font-size",t.fontSize),o=A("font-weight",t.fontWeight),s=A("line-spacing",t.letterSpacing),c=A("line-height",t.lineSpacing),f=A("text-align",t.textAlign),d=A("text-decoration",t.textDecoration),g=A("text-overflow",t.textOverflow),_=A("white-space",t.whiteSpace),S=A("word-break",t.wordBreak),x=A("word-wrap",t.wordWrap);return`
|
|
122
122
|
${e}
|
|
123
123
|
${r}
|
|
124
124
|
${n}
|
|
125
125
|
${o}
|
|
126
|
-
${
|
|
127
|
-
${
|
|
126
|
+
${s}
|
|
127
|
+
${c}
|
|
128
128
|
${f}
|
|
129
|
-
${
|
|
129
|
+
${d}
|
|
130
130
|
${g}
|
|
131
131
|
${_}
|
|
132
|
-
${
|
|
133
|
-
${
|
|
134
|
-
`},
|
|
132
|
+
${S}
|
|
133
|
+
${x}
|
|
134
|
+
`},gn=t=>{const e=A("cursor",t.cursor),r=A("border-color",t.borderColorHover),n=A("background-color",t.bgColorHover),o=A("box-shadow",t.shadowHover===void 0?void 0:ue.shadows[t.shadowHover]),s=A("transition",t.transition);return`
|
|
135
135
|
${e}
|
|
136
136
|
|
|
137
137
|
&:hover {
|
|
138
|
-
${
|
|
138
|
+
${s||"transition: all 0.2s;"}
|
|
139
139
|
${r}
|
|
140
140
|
${n}
|
|
141
141
|
${o}
|
|
142
142
|
}
|
|
143
|
-
`},
|
|
144
|
-
${
|
|
145
|
-
${
|
|
146
|
-
${
|
|
147
|
-
${
|
|
148
|
-
${
|
|
149
|
-
${
|
|
150
|
-
${
|
|
151
|
-
|
|
152
|
-
${
|
|
153
|
-
${
|
|
154
|
-
${
|
|
155
|
-
${
|
|
156
|
-
${
|
|
157
|
-
${
|
|
158
|
-
${
|
|
159
|
-
`;var Et=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Gn={exports:{}};(function(t,e){var r=200,n="__lodash_hash_undefined__",o=9007199254740991,a="[object Arguments]",u="[object Array]",f="[object Boolean]",h="[object Date]",g="[object Error]",_="[object Function]",E="[object GeneratorFunction]",C="[object Map]",P="[object Number]",B="[object Object]",q="[object Promise]",Z="[object RegExp]",F="[object Set]",$="[object String]",z="[object Symbol]",G="[object WeakMap]",Y="[object ArrayBuffer]",k="[object DataView]",O="[object Float32Array]",be="[object Float64Array]",Ce="[object Int8Array]",pe="[object Int16Array]",et="[object Int32Array]",ot="[object Uint8Array]",ge="[object Uint8ClampedArray]",xe="[object Uint16Array]",Le="[object Uint32Array]",de=/[\\^$.*+?()[\]{}|]/g,we=/\w*$/,ke=/^\[object .+?Constructor\]$/,ne=/^(?:0|[1-9]\d*)$/,V={};V[a]=V[u]=V[Y]=V[k]=V[f]=V[h]=V[O]=V[be]=V[Ce]=V[pe]=V[et]=V[C]=V[P]=V[B]=V[Z]=V[F]=V[$]=V[z]=V[ot]=V[ge]=V[xe]=V[Le]=!0,V[g]=V[_]=V[G]=!1;var Te=typeof Et=="object"&&Et&&Et.Object===Object&&Et,re=typeof self=="object"&&self&&self.Object===Object&&self,j=Te||re||Function("return this")(),Ye=e&&!e.nodeType&&e,Fe=Ye&&!0&&t&&!t.nodeType&&t,Se=Fe&&Fe.exports===Ye;function je(s,d){return s.set(d[0],d[1]),s}function me(s,d){return s.add(d),s}function oe(s,d){for(var m=-1,S=s?s.length:0;++m<S&&d(s[m],m,s)!==!1;);return s}function Ae(s,d){for(var m=-1,S=d.length,ve=s.length;++m<S;)s[ve+m]=d[m];return s}function Qe(s,d,m,S){for(var ve=-1,$e=s?s.length:0;++ve<$e;)m=d(m,s[ve],ve,s);return m}function ye(s,d){for(var m=-1,S=Array(s);++m<s;)S[m]=d(m);return S}function Ut(s,d){return s==null?void 0:s[d]}function _t(s){var d=!1;if(s!=null&&typeof s.toString!="function")try{d=!!(s+"")}catch{}return d}function He(s){var d=-1,m=Array(s.size);return s.forEach(function(S,ve){m[++d]=[ve,S]}),m}function tt(s,d){return function(m){return s(d(m))}}function rt(s){var d=-1,m=Array(s.size);return s.forEach(function(S){m[++d]=S}),m}var Tt=Array.prototype,it=Function.prototype,st=Object.prototype,at=j["__core-js_shared__"],ct=function(){var s=/[^.]+$/.exec(at&&at.keys&&at.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),At=it.toString,Ve=st.hasOwnProperty,ut=st.toString,Bt=RegExp("^"+At.call(Ve).replace(de,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ne=Se?j.Buffer:void 0,qt=j.Symbol,Ot=j.Uint8Array,zt=tt(Object.getPrototypeOf,Object),Ue=Object.create,Gt=st.propertyIsEnumerable,sr=Tt.splice,Wt=Object.getOwnPropertySymbols,Yt=Ne?Ne.isBuffer:void 0,ar=tt(Object.keys,Object),bt=R(j,"DataView"),lt=R(j,"Map"),Be=R(j,"Promise"),ft=R(j,"Set"),Ie=R(j,"WeakMap"),Me=R(Object,"create"),dt=kt(bt),wt=kt(lt),cr=kt(Be),Qt=kt(ft),ur=kt(Ie),ht=qt?qt.prototype:void 0,Rt=ht?ht.valueOf:void 0;function Je(s){var d=-1,m=s?s.length:0;for(this.clear();++d<m;){var S=s[d];this.set(S[0],S[1])}}function lr(){this.__data__=Me?Me(null):{}}function Ht(s){return this.has(s)&&delete this.__data__[s]}function fr(s){var d=this.__data__;if(Me){var m=d[s];return m===n?void 0:m}return Ve.call(d,s)?d[s]:void 0}function dr(s){var d=this.__data__;return Me?d[s]!==void 0:Ve.call(d,s)}function hr(s,d){var m=this.__data__;return m[s]=Me&&d===void 0?n:d,this}Je.prototype.clear=lr,Je.prototype.delete=Ht,Je.prototype.get=fr,Je.prototype.has=dr,Je.prototype.set=hr;function Oe(s){var d=-1,m=s?s.length:0;for(this.clear();++d<m;){var S=s[d];this.set(S[0],S[1])}}function c(){this.__data__=[]}function y(s){var d=this.__data__,m=Pt(d,s);if(m<0)return!1;var S=d.length-1;return m==S?d.pop():sr.call(d,m,1),!0}function b(s){var d=this.__data__,m=Pt(d,s);return m<0?void 0:d[m][1]}function x(s){return Pt(this.__data__,s)>-1}function W(s,d){var m=this.__data__,S=Pt(m,s);return S<0?m.push([s,d]):m[S][1]=d,this}Oe.prototype.clear=c,Oe.prototype.delete=y,Oe.prototype.get=b,Oe.prototype.has=x,Oe.prototype.set=W;function U(s){var d=-1,m=s?s.length:0;for(this.clear();++d<m;){var S=s[d];this.set(S[0],S[1])}}function L(){this.__data__={hash:new Je,map:new(lt||Oe),string:new Je}}function M(s){return T(this,s).delete(s)}function le(s){return T(this,s).get(s)}function K(s){return T(this,s).has(s)}function ee(s,d){return T(this,s).set(s,d),this}U.prototype.clear=L,U.prototype.delete=M,U.prototype.get=le,U.prototype.has=K,U.prototype.set=ee;function ie(s){this.__data__=new Oe(s)}function qe(){this.__data__=new Oe}function $t(s){return this.__data__.delete(s)}function De(s){return this.__data__.get(s)}function yn(s){return this.__data__.has(s)}function Rr(s,d){var m=this.__data__;if(m instanceof Oe){var S=m.__data__;if(!lt||S.length<r-1)return S.push([s,d]),this;m=this.__data__=new U(S)}return m.set(s,d),this}ie.prototype.clear=qe,ie.prototype.delete=$t,ie.prototype.get=De,ie.prototype.has=yn,ie.prototype.set=Rr;function vn(s,d){var m=An(s)||Hs(s)?ye(s.length,String):[],S=m.length,ve=!!S;for(var $e in s)Ve.call(s,$e)&&!(ve&&($e=="length"||ze($e,S)))&&m.push($e);return m}function pr(s,d,m){var S=s[d];(!(Ve.call(s,d)&&Mo(S,m))||m===void 0&&!(d in s))&&(s[d]=m)}function Pt(s,d){for(var m=s.length;m--;)if(Mo(s[m][0],d))return m;return-1}function $r(s,d){return s&&v(d,On(d),s)}function gr(s,d,m,S,ve,$e,gt){var Pe;if(S&&(Pe=$e?S(s,ve,$e,gt):S(s)),Pe!==void 0)return Pe;if(!Mr(s))return s;var Fo=An(s);if(Fo){if(Pe=Re(s),!d)return p(s,Pe)}else{var Jt=ae(s),Vo=Jt==_||Jt==E;if(Ks(s))return wn(s,d);if(Jt==B||Jt==a||Vo&&!$e){if(_t(s))return $e?s:{};if(Pe=Ee(Vo?{}:s),!d)return w(s,$r(Pe,s))}else{if(!V[Jt])return $e?s:{};Pe=pt(s,Jt,gr,d)}}gt||(gt=new ie);var No=gt.get(s);if(No)return No;if(gt.set(s,Pe),!Fo)var Uo=m?N(s):On(s);return oe(Uo||s,function(Rn,Dr){Uo&&(Dr=Rn,Rn=s[Dr]),pr(Pe,Dr,gr(Rn,d,m,S,Dr,s,gt))}),Pe}function Pr(s){return Mr(s)?Ue(s):{}}function kr(s,d,m){var S=d(s);return An(s)?S:Ae(S,m(s))}function _n(s){return ut.call(s)}function bn(s){if(!Mr(s)||Ir(s))return!1;var d=Lo(s)||_t(s)?Bt:ke;return d.test(kt(s))}function jr(s){if(!yr(s))return ar(s);var d=[];for(var m in Object(s))Ve.call(s,m)&&m!="constructor"&&d.push(m);return d}function wn(s,d){if(d)return s.slice();var m=new s.constructor(s.length);return s.copy(m),m}function mr(s){var d=new s.constructor(s.byteLength);return new Ot(d).set(new Ot(s)),d}function Sn(s,d){var m=d?mr(s.buffer):s.buffer;return new s.constructor(m,s.byteOffset,s.byteLength)}function En(s,d,m){var S=d?m(He(s),!0):He(s);return Qe(S,je,new s.constructor)}function Cn(s){var d=new s.constructor(s.source,we.exec(s));return d.lastIndex=s.lastIndex,d}function xn(s,d,m){var S=d?m(rt(s),!0):rt(s);return Qe(S,me,new s.constructor)}function i(s){return Rt?Object(Rt.call(s)):{}}function l(s,d){var m=d?mr(s.buffer):s.buffer;return new s.constructor(m,s.byteOffset,s.length)}function p(s,d){var m=-1,S=s.length;for(d||(d=Array(S));++m<S;)d[m]=s[m];return d}function v(s,d,m,S){m||(m={});for(var ve=-1,$e=d.length;++ve<$e;){var gt=d[ve],Pe=void 0;pr(m,gt,Pe===void 0?s[gt]:Pe)}return m}function w(s,d){return v(s,se(s),d)}function N(s){return kr(s,On,se)}function T(s,d){var m=s.__data__;return Tn(d)?m[typeof d=="string"?"string":"hash"]:m.map}function R(s,d){var m=Ut(s,d);return bn(m)?m:void 0}var se=Wt?tt(Wt,Object):ea,ae=_n;(bt&&ae(new bt(new ArrayBuffer(1)))!=k||lt&&ae(new lt)!=C||Be&&ae(Be.resolve())!=q||ft&&ae(new ft)!=F||Ie&&ae(new Ie)!=G)&&(ae=function(s){var d=ut.call(s),m=d==B?s.constructor:void 0,S=m?kt(m):void 0;if(S)switch(S){case dt:return k;case wt:return C;case cr:return q;case Qt:return F;case ur:return G}return d});function Re(s){var d=s.length,m=s.constructor(d);return d&&typeof s[0]=="string"&&Ve.call(s,"index")&&(m.index=s.index,m.input=s.input),m}function Ee(s){return typeof s.constructor=="function"&&!yr(s)?Pr(zt(s)):{}}function pt(s,d,m,S){var ve=s.constructor;switch(d){case Y:return mr(s);case f:case h:return new ve(+s);case k:return Sn(s,S);case O:case be:case Ce:case pe:case et:case ot:case ge:case xe:case Le:return l(s,S);case C:return En(s,S,m);case P:case $:return new ve(s);case Z:return Cn(s);case F:return xn(s,S,m);case z:return i(s)}}function ze(s,d){return d=d??o,!!d&&(typeof s=="number"||ne.test(s))&&s>-1&&s%1==0&&s<d}function Tn(s){var d=typeof s;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?s!=="__proto__":s===null}function Ir(s){return!!ct&&ct in s}function yr(s){var d=s&&s.constructor,m=typeof d=="function"&&d.prototype||st;return s===m}function kt(s){if(s!=null){try{return At.call(s)}catch{}try{return s+""}catch{}}return""}function Qs(s){return gr(s,!0,!0)}function Mo(s,d){return s===d||s!==s&&d!==d}function Hs(s){return Js(s)&&Ve.call(s,"callee")&&(!Gt.call(s,"callee")||ut.call(s)==a)}var An=Array.isArray;function Do(s){return s!=null&&Xs(s.length)&&!Lo(s)}function Js(s){return Zs(s)&&Do(s)}var Ks=Yt||ta;function Lo(s){var d=Mr(s)?ut.call(s):"";return d==_||d==E}function Xs(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=o}function Mr(s){var d=typeof s;return!!s&&(d=="object"||d=="function")}function Zs(s){return!!s&&typeof s=="object"}function On(s){return Do(s)?vn(s):jr(s)}function ea(){return[]}function ta(){return!1}t.exports=Qs})(Gn,Gn.exports);var Ct=Gn.exports,Wn=function(){return Wn=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Wn.apply(this,arguments)};function Pc(t,e,r,n){function o(a){return a instanceof r?a:new r(function(u){u(a)})}return new(r||(r=Promise))(function(a,u){function f(_){try{g(n.next(_))}catch(E){u(E)}}function h(_){try{g(n.throw(_))}catch(E){u(E)}}function g(_){_.done?a(_.value):o(_.value).then(f,h)}g((n=n.apply(t,[])).next())})}function kc(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,o,a,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(g){return function(_){return h([g,_])}}function h(g){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,g[0]&&(r=0)),r;)try{if(n=1,o&&(a=g[0]&2?o.return:g[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,g[1])).done)return a;switch(o=0,a&&(g=[g[0]&2,a.value]),g[0]){case 0:case 1:a=g;break;case 4:return r.label++,{value:g[1],done:!1};case 5:r.label++,o=g[1],g=[0];continue;case 7:g=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(g[0]===6||g[0]===2)){r=0;continue}if(g[0]===3&&(!a||g[1]>a[0]&&g[1]<a[3])){r.label=g[1];break}if(g[0]===6&&r.label<a[1]){r.label=a[1],a=g;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(g);break}a[2]&&r.ops.pop(),r.trys.pop();continue}g=e.call(t,r)}catch(_){g=[6,_],o=0}finally{n=a=0}if(g[0]&5)throw g[1];return{value:g[0]?g[1]:void 0,done:!0}}}function Jr(t,e,r,n,o){return Pc(this,void 0,void 0,function(){var a,u;return kc(this,function(f){switch(f.label){case 0:if(r===void 0)return[2];u=0,f.label=1;case 1:return u<r.length?[4,r[u](t,e,n,o,r)]:[3,4];case 2:if(a=f.sent(),a==="canceled")return[3,4];f.label=3;case 3:return u++,[3,1];case 4:return a!=="canceled"?[2,a]:[2]}})})}var Yn=function(t,e){return e===void 0&&(e={}),t?{trackedAnalytics:Wn({sdkCode:t.sdkCode,sdkSemver:t.sdkSemver,techVersion:t.techVersion},e)}:null},jc=function(){function t(e,r,n,o){var a=this;this.isMounted=!0,this.imgElement=e,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var u=Ct(r);Jr(e,u,n,this.htmlPluginState,o).then(function(f){if(a.isMounted){a.htmlPluginState.pluginEventSubscription.forEach(function(g){g()});var h=Yn(o,f);a.imgElement.setAttribute("src",u.toURL(h))}})}return t.prototype.update=function(e,r,n){var o=this,a=Ct(e);Jr(this.imgElement,a,r,this.htmlPluginState).then(function(u){if(o.isMounted){var f=Yn(n,u);o.imgElement.setAttribute("src",a.toURL(f))}})},t.prototype.unmount=function(){this.isMounted=!1},t}();let te=class{constructor(e){this.values=[],this.delimiter=":",this.hasValue(e)&&this.addValue(e)}toString(){return this.values.join(this.delimiter)}hasValue(e){return typeof e<"u"&&e!==null&&e!==""}addValue(e){return Array.isArray(e)?this.values=this.values.concat(e):this.values.push(e),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(e){return this.delimiter=e,this}},Ic=class extends Error{constructor(e="Unsupported"){super(e)}};function go(t){return new Ic(t)}function Mc(){return this._qualifierModel||{error:go(`unsupported qualifier ${this.constructor.name}`)}}let Dc=class{constructor(){this._qualifierModel={}}toJson(){return Mc.apply(this)}},I=class extends Dc{constructor(e,r){super(),this.delimiter="_",this.key=e,r instanceof te?this.qualifierValue=r:(this.qualifierValue=new te,this.qualifierValue.addValue(r))}toString(){const{key:e,delimiter:r,qualifierValue:n}=this;return`${e}${r}${n.toString()}`}addValue(e){return this.qualifierValue.addValue(e),this}},Ge=class extends I{constructor(e,r){let n;r?n=new te([e,`${r}`]).setDelimiter(":"):n=e,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}};function Lc(t,e){const r=Array.from(t.entries());return e.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Fc(){var t,e,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(e=(t=this._actionModel)===null||t===void 0?void 0:t.source)===null||e===void 0?void 0:e.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:go(`unsupported action ${this.constructor.name}`)}}let Vc=class{constructor(){this._actionModel={}}toJson(){return Fc.apply(this)}},Xe=class extends Vc{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(e){return this.actionTag=e,this}toString(){return this.prepareQualifiers(),Lc(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(e){if(typeof e=="string"){const[r,n]=e.toLowerCase().split("_");r==="fl"?this.flags.push(new Ge(n)):this.qualifiers.set(r,new I(r,n))}else this.qualifiers.set(e.key,e);return this}addFlag(e){return typeof e=="string"?this.flags.push(new Ge(e)):e instanceof Ge&&this.flags.push(e),this}addValueToQualifier(e,r){return this.qualifiers.get(e).addValue(r),this}};class mo extends Xe{constructor(e){super(),this.regionType=e,this._actionModel.regionType=e}}class un extends mo{constructor(){super("custom")}x(e){return this._actionModel.x=e,this.addQualifier(new I("x",e)),this}y(e){return this._actionModel.y=e,this.addQualifier(new I("y",e)),this}width(e){return this._actionModel.width=e,this.addQualifier(new I("w",e)),this}height(e){return this._actionModel.height=e,this.addQualifier(new I("h",e)),this}static fromJson(e){const r=new un;return e.width&&r.width(e.width),e.height&&r.height(e.height),e.x&&r.x(e.x),e.y&&r.y(e.y),r}}function Nc(){return new un}function Ji(){return new mo("faces")}function Uc(){return new mo("ocr_text")}class Bc extends Xe{constructor(e){super(),this._actionModel={},this._strength=e,this._actionModel.actionType="blur",this._actionModel.strength=e}region(e){return this._region=e,this._actionModel.region=e.toJson(),this}strength(e){return this._strength=e,this._actionModel.strength=e,this}prepareQualifiers(){const e=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new I("e",`blur_region${e}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new I("e",`blur_region${e}`)),this.addQualifier(new I("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new I("e",`blur_faces${e}`))):this.addQualifier(new I("e",`blur${e}`))}static fromJson(e){const{strength:r,region:n}=e,o=new this(r);return r&&o.strength(r),n&&n.regionType==="faces"&&o.region(Ji()),n&&n.regionType==="ocr_text"&&o.region(Uc()),n&&n.regionType==="custom"&&o.region(un.fromJson(n)),o}}function Vt(t){const e={};return Object.keys(t).forEach(r=>{e[t[r]]=r}),e}const Ki={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},qc={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},Xi={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},Zi={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},zc={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},es={444:"CHROMA_444",420:"CHROMA_420"},Gc={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},Wc=Vt(es);Vt(Gc);const Yc=Vt(Ki),Qc=Vt(qc),ts=Vt(Xi);Vt(Zi);Vt(zc);class rs extends Xe{constructor(e,r){super(),this._actionModel={},this._actionModel.actionType=ts[e]||e;const n=this.createEffectQualifier(e,r);this.addQualifier(n)}createEffectQualifier(e,r){let n;return r?n=new te([e,`${r}`]).setDelimiter(":"):n=new te(e),new I("e",n)}static fromJson(e){const{actionType:r,level:n,strength:o}=e,a=Xi[r]||r;return new this(a,n||o)}}class Hc extends rs{constructor(e,r){super(e,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=e,this._actionModel.actionType=ts[e]||e,r&&this.setLevel(r)}setLevel(e){this._actionModel[this.LEVEL_NAME]=e;const r=this.createEffectQualifier(this.effectType,e);return this.addQualifier(r),this}}function ln(t){return t&&(t.match(/^#/)?`rgb:${t.substr(1)}`:t)}class Jc extends Xe{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(e){return this._actionModel.numOfColors=e,this._numOfColors=e,this}detailsLevel(e){return this._actionModel.detailLevel=e,this._detailsLevel=e,this}despeckleLevel(e){return this._actionModel.despeckleLevel=e,this._despeckleLevel=e,this}cornersLevel(e){return this._actionModel.cornersLevel=e,this._cornersLevel=e,this}paths(e){return this._actionModel.paths=e,this._paths=e,this}prepareQualifiers(){let e="vectorize";this._numOfColors&&(e+=`:${new te(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(e+=`:${new te(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(e+=`:${new te(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(e+=`:${new te(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(e+=`:${new te(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new I("e",e))}static fromJson(e){const{actionType:r,paths:n,cornersLevel:o,despeckleLevel:a,detailLevel:u,numOfColors:f}=e,h=new this;return n&&h.paths(n),o&&h.cornersLevel(o),a&&h.despeckleLevel(a),u&&h.detailsLevel(u),f&&h.numOfColors(f),h}}class Kc extends Hc{level(e){return this._actionModel.level=e,this.setLevel(e)}}class Xc extends Xe{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new I("e",new te("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new I("e",new te(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(e){return this._actionModel.type="stripes",this._actionModel.stripesStrength=e,this.addQualifier(new I("e",new te(["assist_colorblind",e]).setDelimiter(":")))}static fromJson(e){const{actionType:r,type:n,stripesStrength:o}=e,a=new this;return n==="xray"&&a.xray(),n==="stripes"&&o&&a.stripesStrength(o),a}}class Zc extends Kc{color(e){return this._actionModel.color=e,this.addQualifier(new I("co",new te(ln(e))))}static fromJson(e){const{actionType:r,level:n,color:o}=e,a=new this(r,n);return o&&a.color(o),a}}class eu extends Xe{constructor(e){super(),this._actionModel={},this._squareSize=e,this._actionModel.actionType="pixelate",this._actionModel.squareSize=e}region(e){return this._region=e,this._actionModel.region={regionType:this._region.regionType},this}squareSize(e){return this._squareSize=e,this._actionModel.squareSize=e,this}prepareQualifiers(){const e=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new I("e",`pixelate_region${e}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new I("e",`pixelate_region${e}`)),this.addQualifier(new I("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new I("e",`pixelate_faces${e}`))):this.addQualifier(new I("e",`pixelate${e}`))}static fromJson(e){const{region:r,squareSize:n}=e,o=new this(n);return n&&o.squareSize(n),r&&r.regionType==="faces"&&o.region(Ji()),r&&r.regionType==="custom"&&o.region(Nc()),o}}function tu(t){return new Bc(t)}function ru(){return new rs("grayscale")}function ci(t){return new Zc("colorize",t)}function nu(){return new Jc}function ou(){return new Xc}function iu(t){return new eu(t)}let su=class extends Xe{constructor(e){super(),this._actionModel={},this.addQualifier(new I("b",new te(ln(e)).setDelimiter("_"))),this._actionModel.color=e,this._actionModel.actionType="backgroundColor"}static fromJson(e){const{color:r}=e;return new this(r)}},ui=class{constructor(e){this.raw=e}toString(){return this.raw}toJson(){return{error:go(`unsupported action ${this.constructor.name}`)}}};function au(t){const e=t;return"error"in e&&!!e.error}function cu(){return new Ge("ignore_aspect_ratio")}function uu(){return new Ge("lossy")}function lu(){return new Ge("preserve_transparency")}function fu(t){return new Ge("progressive",t)}function du(){return new Ge("region_relative")}function hu(){return new Ge("relative")}let yo=class extends te{constructor(e){super(e),this.val=e}getValue(){return this.val}},ns=class extends Xe{constructor(e,r,n){super(),this._actionModel={};let o;r instanceof yo?o=r.getValue():o=r,this._actionModel.actionType=Qc[e],this._actionModel[n]=o,this.addQualifier(new I(e,r))}},pu=class extends Ge{constructor(e){super("progressive",e)}},Qn=class extends ns{constructor(e,r){super(e,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(uu()),this}progressive(e){return e instanceof pu?(this._actionModel.progressive={mode:e.getFlagValue()},this.addFlag(e)):(this._actionModel.progressive={mode:e},this.addFlag(fu(e))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(lu()),this}static fromJson(e){const{formatType:r,lossy:n,progressive:o,preserveTransparency:a}=e;let u;return r?u=new this("f",r):u=new this("f"),o&&(o.mode?u.progressive(o.mode):u.progressive()),n&&u.lossy(),a&&u.preserveTransparency(),u}},fn=class os{constructor(){this.actions=[]}addAction(e){let r;if(typeof e=="string"){if(e.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new ui(e)}else r=e;return this.actions.push(r),this}addTransformation(e){return e instanceof os?this.actions=this.actions.concat(e.actions):this.actions.push(new ui(e)),this}toString(){return this.actions.map(e=>e.toString()).filter(e=>e).join("/")}animated(e){return this.addAction(e)}border(e){return this.addAction(e)}reshape(e){return this.addAction(e)}resize(e){return this.addAction(e)}quality(e){return this.addAction(new Qn("q",e)),this}format(e){return this.addAction(new Qn("f",e)),this}roundCorners(e){return this.addAction(e)}overlay(e){return this.addAction(e)}underlay(e){return e.setLayerType("u"),this.addAction(e)}addVariable(e){return this.addAction(e)}conditional(e){return this.addAction(e)}effect(e){return this.addAction(e)}adjust(e){return this.addAction(e)}rotate(e){return this.addAction(e)}namedTransformation(e){return this.addAction(e)}delivery(e){return this.addAction(e)}backgroundColor(e){return this.addAction(new su(e))}psdTools(e){return this.addAction(e)}extract(e){return this.addAction(e)}addFlag(e){const r=new Xe;let n=e;return typeof e=="string"&&(n=new Ge(e)),r.addQualifier(n),this.addAction(r)}customFunction(e){return this.addAction(e)}transcode(e){return this.addAction(e)}videoEdit(e){return this.addAction(e)}toJson(){const e=[];for(const r of this.actions){const n=r.toJson();if(au(n))return n;e.push(n)}return{actions:e}}};function li(t){const e=t.toString();return e.match(/[A-Z]/gi)||e.length>1&&e[0]==="0"?e:!isNaN(parseFloat(e))&&e.indexOf(":")===-1&&e.indexOf(".")===-1?`${e}.0`:e}class gu extends te{}class mu extends Xe{constructor(e,r,n){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=Yc[e]||e,this.addQualifier(new I("c",e)),r&&this.width(r),n&&this.height(n)}height(e){return this._actionModel.dimensions.height=e,this.addQualifier(new I("h",e))}width(e){return this._actionModel.dimensions.width=e,this.addQualifier(new I("w",e))}aspectRatio(e){if(e instanceof gu)return this._actionModel.dimensions.aspectRatio=`${e}`,this.addQualifier(new I("ar",e));if(typeof e=="number"||typeof e=="string")return this._actionModel.dimensions.aspectRatio=li(e),this.addQualifier(new I("ar",li(e)));if(e instanceof Ge)return this._actionModel.dimensions.aspectRatio=`${e.qualifierValue}`,this.addFlag(e)}relative(){return this._actionModel.relative=!0,this.addFlag(hu())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(du())}static fromJson(e){const{actionType:r,dimensions:n,relative:o,regionRelative:a}=e,{aspectRatio:u,width:f,height:h}=n,g=Ki[r]||r,_=new this(g,f,h);return u&&_.aspectRatio(u==="ignore_aspect_ratio"?cu():u),o&&_.relative(),a&&_.regionRelative(),_}}class vo extends I{constructor(e){super("g",new te(e))}}class is extends vo{constructor(){super("auto")}autoFocus(...e){return this.addValue(e),this}}class ss extends vo{constructor(e){super(e)}fallbackGravity(e){return this.addValue(e.qualifierValue),this}}class as extends vo{constructor(e){super(e)}}function yu(t){return new as(t)}function cs(...t){const e=[...t];return new ss(e)}function us(){return new is}class dn extends te{constructor(e){super(),this.name=e}toString(){return this.name}}function vu(){return new dn("ocr_text")}function _u(t){return t&&`${t}`.split(":")[0]==="auto"}function bu(t){const e=_o(t);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(e)}function _o(t){return`${t}`.replace("g_","")}function wu(t){return{compass:_o(t),gravityType:"direction"}}function Su(t){return _o(t)==="ocr_text"}function Eu(){return{gravityType:"ocr"}}function Cu(t){return`${t.qualifierValue}`.split(":")[0]==="auto"}function xu(t){const r=t.toString().split("_"),n={object:r[0]};return r.length>1&&(r[1]==="avoid"?n.avoid=!0:n.weight=+r[1]),n}function ls(t){let e;const r=t==="auto"?new is:t;return`${t}`.startsWith("auto:")?e=`${t}`.split(":").filter(o=>o!=="auto"):e=r.qualifierValue.values.filter(o=>o!=="auto"),{gravityType:"auto",autoFocus:e.map(xu)}}function Tu(t){const e=`${t}`.split(":").includes("auto"),r=t.qualifierValue.values,o={gravityType:"object",focusOnObjects:(e?r.slice(0,r.length-1):r).map(a=>`${a}`)};if(e){const a=r[r.length-1].values.slice(1),u=us().autoFocus(...a);o.fallbackGravity=ls(u)}return o}function Au(t){const r=t.split(":").map(n=>new dn(n));return new ss(r)}function Ou(t){return bu(t)?wu(t):Su(t)?Eu():_u(t)||Cu(t)?ls(t):Tu(typeof t=="string"?Au(t):t)}class bo extends te{constructor(e,r){super(),this._weight=r,this.focusOn=e,this.shouldAvoid=!1}static focusOn(e,r){return new bo(e,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(e){return this._weight=e,this}avoid(){return this.shouldAvoid=!0,this}}class fs extends te{constructor(e){super(),this.val=e}toString(){return this.val}}function Ru(t){return t.gravityType==="direction"}function $u(t){return t.gravityType==="ocr"}function Pu(t){return t.gravityType==="auto"}function ku(t){const{object:e,weight:r,avoid:n}=t,o=new bo(new dn(e));return(r||r===0)&&o.weight(r),n&&o.avoid(),o}function ds(t){const r=(t.autoFocus||[]).map(ku);return us().autoFocus(...r)}function ju(t){const e=(t.focusOnObjects||[]).map(n=>new dn(n)),r=cs(...e);if(t.fallbackGravity){const n=ds(t.fallbackGravity);r.fallbackGravity(n)}return r}function Iu(t){return Ru(t)?new as(new fs(t.compass)):$u(t)?cs(vu()):Pu(t)?ds(t):ju(t)}class wo extends mu{gravity(e){this._actionModel.gravity=Ou(e);const r=typeof e=="string"?new I("g",e):e;return this.addQualifier(r)}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.gravity&&r.gravity(Iu(e.gravity)),r}}class Tr extends I{constructor(e){super("b"),e&&this.addValue(e)}}const hs=100,Mu=0;class Du extends Tr{intensity(e){return this.intensityLevel=e,this}brightness(e){return this.brightnessLevel=e,this}toString(){const e=this.intensityLevel!==void 0?`:${this.intensityLevel}`:"",r=this.brightnessLevel!==void 0?this.intensityLevel!==void 0?`:${this.brightnessLevel}`:`:${hs}:${this.brightnessLevel}`:"";return`b_blurred${e}${r}`}}var ps=Du;class So extends Tr{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...e){return this._palette=e.map(r=>ln(r)),this}}class gs extends So{toString(){return`
|
|
143
|
+
`},mn=()=>({shouldForwardProp:t=>!Ti.includes(t)}),Ji=_t.div.withConfig(mn())`
|
|
144
|
+
${un}
|
|
145
|
+
${ln}
|
|
146
|
+
${fn}
|
|
147
|
+
${hn}
|
|
148
|
+
${pn}
|
|
149
|
+
${dn}
|
|
150
|
+
${gn}
|
|
151
|
+
`,go=_t.p.withConfig(mn())`
|
|
152
|
+
${un}
|
|
153
|
+
${ln}
|
|
154
|
+
${fn}
|
|
155
|
+
${hn}
|
|
156
|
+
${pn}
|
|
157
|
+
${dn}
|
|
158
|
+
${gn}
|
|
159
|
+
`,Ki=_t.span.withConfig(mn())`
|
|
160
|
+
${un}
|
|
161
|
+
${ln}
|
|
162
|
+
${fn}
|
|
163
|
+
${hn}
|
|
164
|
+
${pn}
|
|
165
|
+
${dn}
|
|
166
|
+
${gn}
|
|
167
|
+
`;var Ct=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Zn={exports:{}};(function(t,e){var r=200,n="__lodash_hash_undefined__",o=9007199254740991,s="[object Arguments]",c="[object Array]",f="[object Boolean]",d="[object Date]",g="[object Error]",_="[object Function]",S="[object GeneratorFunction]",x="[object Map]",P="[object Number]",B="[object Object]",z="[object Promise]",Z="[object RegExp]",F="[object Set]",R="[object String]",q="[object Symbol]",W="[object WeakMap]",Y="[object ArrayBuffer]",k="[object DataView]",O="[object Float32Array]",be="[object Float64Array]",xe="[object Int8Array]",pe="[object Int16Array]",et="[object Int32Array]",ot="[object Uint8Array]",ge="[object Uint8ClampedArray]",Ce="[object Uint16Array]",Le="[object Uint32Array]",de=/[\\^$.*+?()[\]{}|]/g,we=/\w*$/,ke=/^\[object .+?Constructor\]$/,oe=/^(?:0|[1-9]\d*)$/,V={};V[s]=V[c]=V[Y]=V[k]=V[f]=V[d]=V[O]=V[be]=V[xe]=V[pe]=V[et]=V[x]=V[P]=V[B]=V[Z]=V[F]=V[R]=V[q]=V[ot]=V[ge]=V[Ce]=V[Le]=!0,V[g]=V[_]=V[W]=!1;var Te=typeof Ct=="object"&&Ct&&Ct.Object===Object&&Ct,re=typeof self=="object"&&self&&self.Object===Object&&self,j=Te||re||Function("return this")(),Ye=e&&!e.nodeType&&e,Fe=Ye&&!0&&t&&!t.nodeType&&t,Se=Fe&&Fe.exports===Ye;function je(a,h){return a.set(h[0],h[1]),a}function me(a,h){return a.add(h),a}function ie(a,h){for(var m=-1,E=a?a.length:0;++m<E&&h(a[m],m,a)!==!1;);return a}function Ae(a,h){for(var m=-1,E=h.length,ve=a.length;++m<E;)a[ve+m]=h[m];return a}function He(a,h,m,E){for(var ve=-1,Re=a?a.length:0;++ve<Re;)m=h(m,a[ve],ve,a);return m}function ye(a,h){for(var m=-1,E=Array(a);++m<a;)E[m]=h(m);return E}function zt(a,h){return a==null?void 0:a[h]}function wt(a){var h=!1;if(a!=null&&typeof a.toString!="function")try{h=!!(a+"")}catch{}return h}function Qe(a){var h=-1,m=Array(a.size);return a.forEach(function(E,ve){m[++h]=[ve,E]}),m}function tt(a,h){return function(m){return a(h(m))}}function rt(a){var h=-1,m=Array(a.size);return a.forEach(function(E){m[++h]=E}),m}var Ot=Array.prototype,it=Function.prototype,st=Object.prototype,at=j["__core-js_shared__"],ct=function(){var a=/[^.]+$/.exec(at&&at.keys&&at.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),$t=it.toString,Ve=st.hasOwnProperty,ut=st.toString,qt=RegExp("^"+$t.call(Ve).replace(de,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ne=Se?j.Buffer:void 0,Wt=j.Symbol,Rt=j.Uint8Array,Gt=tt(Object.getPrototypeOf,Object),Ue=Object.create,Yt=st.propertyIsEnumerable,cr=Ot.splice,Ht=Object.getOwnPropertySymbols,Qt=Ne?Ne.isBuffer:void 0,ur=tt(Object.keys,Object),St=$(j,"DataView"),lt=$(j,"Map"),Be=$(j,"Promise"),ft=$(j,"Set"),Ie=$(j,"WeakMap"),Me=$(Object,"create"),dt=It(St),Et=It(lt),lr=It(Be),Jt=It(ft),fr=It(Ie),ht=Wt?Wt.prototype:void 0,Pt=ht?ht.valueOf:void 0;function Je(a){var h=-1,m=a?a.length:0;for(this.clear();++h<m;){var E=a[h];this.set(E[0],E[1])}}function dr(){this.__data__=Me?Me(null):{}}function Kt(a){return this.has(a)&&delete this.__data__[a]}function hr(a){var h=this.__data__;if(Me){var m=h[a];return m===n?void 0:m}return Ve.call(h,a)?h[a]:void 0}function pr(a){var h=this.__data__;return Me?h[a]!==void 0:Ve.call(h,a)}function gr(a,h){var m=this.__data__;return m[a]=Me&&h===void 0?n:h,this}Je.prototype.clear=dr,Je.prototype.delete=Kt,Je.prototype.get=hr,Je.prototype.has=pr,Je.prototype.set=gr;function Oe(a){var h=-1,m=a?a.length:0;for(this.clear();++h<m;){var E=a[h];this.set(E[0],E[1])}}function u(){this.__data__=[]}function y(a){var h=this.__data__,m=jt(h,a);if(m<0)return!1;var E=h.length-1;return m==E?h.pop():cr.call(h,m,1),!0}function b(a){var h=this.__data__,m=jt(h,a);return m<0?void 0:h[m][1]}function C(a){return jt(this.__data__,a)>-1}function G(a,h){var m=this.__data__,E=jt(m,a);return E<0?m.push([a,h]):m[E][1]=h,this}Oe.prototype.clear=u,Oe.prototype.delete=y,Oe.prototype.get=b,Oe.prototype.has=C,Oe.prototype.set=G;function U(a){var h=-1,m=a?a.length:0;for(this.clear();++h<m;){var E=a[h];this.set(E[0],E[1])}}function L(){this.__data__={hash:new Je,map:new(lt||Oe),string:new Je}}function M(a){return T(this,a).delete(a)}function fe(a){return T(this,a).get(a)}function K(a){return T(this,a).has(a)}function ee(a,h){return T(this,a).set(a,h),this}U.prototype.clear=L,U.prototype.delete=M,U.prototype.get=fe,U.prototype.has=K,U.prototype.set=ee;function se(a){this.__data__=new Oe(a)}function ze(){this.__data__=new Oe}function kt(a){return this.__data__.delete(a)}function De(a){return this.__data__.get(a)}function Cn(a){return this.__data__.has(a)}function Rr(a,h){var m=this.__data__;if(m instanceof Oe){var E=m.__data__;if(!lt||E.length<r-1)return E.push([a,h]),this;m=this.__data__=new U(E)}return m.set(a,h),this}se.prototype.clear=ze,se.prototype.delete=kt,se.prototype.get=De,se.prototype.has=Cn,se.prototype.set=Rr;function Tn(a,h){var m=Mn(a)||Ks(a)?ye(a.length,String):[],E=m.length,ve=!!E;for(var Re in a)Ve.call(a,Re)&&!(ve&&(Re=="length"||qe(Re,E)))&&m.push(Re);return m}function mr(a,h,m){var E=a[h];(!(Ve.call(a,h)&&Do(E,m))||m===void 0&&!(h in a))&&(a[h]=m)}function jt(a,h){for(var m=a.length;m--;)if(Do(a[m][0],h))return m;return-1}function Pr(a,h){return a&&v(h,Dn(h),a)}function yr(a,h,m,E,ve,Re,gt){var Pe;if(E&&(Pe=Re?E(a,ve,Re,gt):E(a)),Pe!==void 0)return Pe;if(!Dr(a))return a;var Vo=Mn(a);if(Vo){if(Pe=$e(a),!h)return p(a,Pe)}else{var Xt=ce(a),No=Xt==_||Xt==S;if(Zs(a))return $n(a,h);if(Xt==B||Xt==s||No&&!Re){if(wt(a))return Re?a:{};if(Pe=Ee(No?{}:a),!h)return w(a,Pr(Pe,a))}else{if(!V[Xt])return Re?a:{};Pe=pt(a,Xt,yr,h)}}gt||(gt=new se);var Uo=gt.get(a);if(Uo)return Uo;if(gt.set(a,Pe),!Vo)var Bo=m?N(a):Dn(a);return ie(Bo||a,function(Ln,Lr){Bo&&(Lr=Ln,Ln=a[Lr]),mr(Pe,Lr,yr(Ln,h,m,E,Lr,a,gt))}),Pe}function kr(a){return Dr(a)?Ue(a):{}}function jr(a,h,m){var E=h(a);return Mn(a)?E:Ae(E,m(a))}function An(a){return ut.call(a)}function On(a){if(!Dr(a)||Mr(a))return!1;var h=Fo(a)||wt(a)?qt:ke;return h.test(It(a))}function Ir(a){if(!_r(a))return ur(a);var h=[];for(var m in Object(a))Ve.call(a,m)&&m!="constructor"&&h.push(m);return h}function $n(a,h){if(h)return a.slice();var m=new a.constructor(a.length);return a.copy(m),m}function vr(a){var h=new a.constructor(a.byteLength);return new Rt(h).set(new Rt(a)),h}function Rn(a,h){var m=h?vr(a.buffer):a.buffer;return new a.constructor(m,a.byteOffset,a.byteLength)}function Pn(a,h,m){var E=h?m(Qe(a),!0):Qe(a);return He(E,je,new a.constructor)}function kn(a){var h=new a.constructor(a.source,we.exec(a));return h.lastIndex=a.lastIndex,h}function jn(a,h,m){var E=h?m(rt(a),!0):rt(a);return He(E,me,new a.constructor)}function i(a){return Pt?Object(Pt.call(a)):{}}function l(a,h){var m=h?vr(a.buffer):a.buffer;return new a.constructor(m,a.byteOffset,a.length)}function p(a,h){var m=-1,E=a.length;for(h||(h=Array(E));++m<E;)h[m]=a[m];return h}function v(a,h,m,E){m||(m={});for(var ve=-1,Re=h.length;++ve<Re;){var gt=h[ve],Pe=void 0;mr(m,gt,Pe===void 0?a[gt]:Pe)}return m}function w(a,h){return v(a,ae(a),h)}function N(a){return jr(a,Dn,ae)}function T(a,h){var m=a.__data__;return In(h)?m[typeof h=="string"?"string":"hash"]:m.map}function $(a,h){var m=zt(a,h);return On(m)?m:void 0}var ae=Ht?tt(Ht,Object):ra,ce=An;(St&&ce(new St(new ArrayBuffer(1)))!=k||lt&&ce(new lt)!=x||Be&&ce(Be.resolve())!=z||ft&&ce(new ft)!=F||Ie&&ce(new Ie)!=W)&&(ce=function(a){var h=ut.call(a),m=h==B?a.constructor:void 0,E=m?It(m):void 0;if(E)switch(E){case dt:return k;case Et:return x;case lr:return z;case Jt:return F;case fr:return W}return h});function $e(a){var h=a.length,m=a.constructor(h);return h&&typeof a[0]=="string"&&Ve.call(a,"index")&&(m.index=a.index,m.input=a.input),m}function Ee(a){return typeof a.constructor=="function"&&!_r(a)?kr(Gt(a)):{}}function pt(a,h,m,E){var ve=a.constructor;switch(h){case Y:return vr(a);case f:case d:return new ve(+a);case k:return Rn(a,E);case O:case be:case xe:case pe:case et:case ot:case ge:case Ce:case Le:return l(a,E);case x:return Pn(a,E,m);case P:case R:return new ve(a);case Z:return kn(a);case F:return jn(a,E,m);case q:return i(a)}}function qe(a,h){return h=h??o,!!h&&(typeof a=="number"||oe.test(a))&&a>-1&&a%1==0&&a<h}function In(a){var h=typeof a;return h=="string"||h=="number"||h=="symbol"||h=="boolean"?a!=="__proto__":a===null}function Mr(a){return!!ct&&ct in a}function _r(a){var h=a&&a.constructor,m=typeof h=="function"&&h.prototype||st;return a===m}function It(a){if(a!=null){try{return $t.call(a)}catch{}try{return a+""}catch{}}return""}function Js(a){return yr(a,!0,!0)}function Do(a,h){return a===h||a!==a&&h!==h}function Ks(a){return Xs(a)&&Ve.call(a,"callee")&&(!Yt.call(a,"callee")||ut.call(a)==s)}var Mn=Array.isArray;function Lo(a){return a!=null&&ea(a.length)&&!Fo(a)}function Xs(a){return ta(a)&&Lo(a)}var Zs=Qt||na;function Fo(a){var h=Dr(a)?ut.call(a):"";return h==_||h==S}function ea(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=o}function Dr(a){var h=typeof a;return!!a&&(h=="object"||h=="function")}function ta(a){return!!a&&typeof a=="object"}function Dn(a){return Lo(a)?Tn(a):Ir(a)}function ra(){return[]}function na(){return!1}t.exports=Js})(Zn,Zn.exports);var Tt=Zn.exports,eo=function(){return eo=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},eo.apply(this,arguments)};function kc(t,e,r,n){function o(s){return s instanceof r?s:new r(function(c){c(s)})}return new(r||(r=Promise))(function(s,c){function f(_){try{g(n.next(_))}catch(S){c(S)}}function d(_){try{g(n.throw(_))}catch(S){c(S)}}function g(_){_.done?s(_.value):o(_.value).then(f,d)}g((n=n.apply(t,[])).next())})}function jc(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,o,s,c;return c={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function f(g){return function(_){return d([g,_])}}function d(g){if(n)throw new TypeError("Generator is already executing.");for(;c&&(c=0,g[0]&&(r=0)),r;)try{if(n=1,o&&(s=g[0]&2?o.return:g[0]?o.throw||((s=o.return)&&s.call(o),0):o.next)&&!(s=s.call(o,g[1])).done)return s;switch(o=0,s&&(g=[g[0]&2,s.value]),g[0]){case 0:case 1:s=g;break;case 4:return r.label++,{value:g[1],done:!1};case 5:r.label++,o=g[1],g=[0];continue;case 7:g=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(g[0]===6||g[0]===2)){r=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]<s[3])){r.label=g[1];break}if(g[0]===6&&r.label<s[1]){r.label=s[1],s=g;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(g);break}s[2]&&r.ops.pop(),r.trys.pop();continue}g=e.call(t,r)}catch(_){g=[6,_],o=0}finally{n=s=0}if(g[0]&5)throw g[1];return{value:g[0]?g[1]:void 0,done:!0}}}function Kr(t,e,r,n,o){return kc(this,void 0,void 0,function(){var s,c;return jc(this,function(f){switch(f.label){case 0:if(r===void 0)return[2];c=0,f.label=1;case 1:return c<r.length?[4,r[c](t,e,n,o,r)]:[3,4];case 2:if(s=f.sent(),s==="canceled")return[3,4];f.label=3;case 3:return c++,[3,1];case 4:return s!=="canceled"?[2,s]:[2]}})})}var to=function(t,e){return e===void 0&&(e={}),t?{trackedAnalytics:eo({sdkCode:t.sdkCode,sdkSemver:t.sdkSemver,techVersion:t.techVersion},e)}:null},Ic=function(){function t(e,r,n,o){var s=this;this.isMounted=!0,this.imgElement=e,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var c=Tt(r);Kr(e,c,n,this.htmlPluginState,o).then(function(f){if(s.isMounted){s.htmlPluginState.pluginEventSubscription.forEach(function(g){g()});var d=to(o,f);s.imgElement.setAttribute("src",c.toURL(d))}})}return t.prototype.update=function(e,r,n){var o=this,s=Tt(e);Kr(this.imgElement,s,r,this.htmlPluginState).then(function(c){if(o.isMounted){var f=to(n,c);o.imgElement.setAttribute("src",s.toURL(f))}})},t.prototype.unmount=function(){this.isMounted=!1},t}();let te=class{constructor(e){this.values=[],this.delimiter=":",this.hasValue(e)&&this.addValue(e)}toString(){return this.values.join(this.delimiter)}hasValue(e){return typeof e<"u"&&e!==null&&e!==""}addValue(e){return Array.isArray(e)?this.values=this.values.concat(e):this.values.push(e),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(e){return this.delimiter=e,this}},Mc=class extends Error{constructor(e="Unsupported"){super(e)}};function mo(t){return new Mc(t)}function Dc(){return this._qualifierModel||{error:mo(`unsupported qualifier ${this.constructor.name}`)}}let Lc=class{constructor(){this._qualifierModel={}}toJson(){return Dc.apply(this)}},I=class extends Lc{constructor(e,r){super(),this.delimiter="_",this.key=e,r instanceof te?this.qualifierValue=r:(this.qualifierValue=new te,this.qualifierValue.addValue(r))}toString(){const{key:e,delimiter:r,qualifierValue:n}=this;return`${e}${r}${n.toString()}`}addValue(e){return this.qualifierValue.addValue(e),this}},We=class extends I{constructor(e,r){let n;r?n=new te([e,`${r}`]).setDelimiter(":"):n=e,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}};function Fc(t,e){const r=Array.from(t.entries());return e.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Vc(){var t,e,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(e=(t=this._actionModel)===null||t===void 0?void 0:t.source)===null||e===void 0?void 0:e.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:mo(`unsupported action ${this.constructor.name}`)}}let Nc=class{constructor(){this._actionModel={}}toJson(){return Vc.apply(this)}},Xe=class extends Nc{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(e){return this.actionTag=e,this}toString(){return this.prepareQualifiers(),Fc(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(e){if(typeof e=="string"){const[r,n]=e.toLowerCase().split("_");r==="fl"?this.flags.push(new We(n)):this.qualifiers.set(r,new I(r,n))}else this.qualifiers.set(e.key,e);return this}addFlag(e){return typeof e=="string"?this.flags.push(new We(e)):e instanceof We&&this.flags.push(e),this}addValueToQualifier(e,r){return this.qualifiers.get(e).addValue(r),this}};class yo extends Xe{constructor(e){super(),this.regionType=e,this._actionModel.regionType=e}}class yn extends yo{constructor(){super("custom")}x(e){return this._actionModel.x=e,this.addQualifier(new I("x",e)),this}y(e){return this._actionModel.y=e,this.addQualifier(new I("y",e)),this}width(e){return this._actionModel.width=e,this.addQualifier(new I("w",e)),this}height(e){return this._actionModel.height=e,this.addQualifier(new I("h",e)),this}static fromJson(e){const r=new yn;return e.width&&r.width(e.width),e.height&&r.height(e.height),e.x&&r.x(e.x),e.y&&r.y(e.y),r}}function Uc(){return new yn}function Xi(){return new yo("faces")}function Bc(){return new yo("ocr_text")}class zc extends Xe{constructor(e){super(),this._actionModel={},this._strength=e,this._actionModel.actionType="blur",this._actionModel.strength=e}region(e){return this._region=e,this._actionModel.region=e.toJson(),this}strength(e){return this._strength=e,this._actionModel.strength=e,this}prepareQualifiers(){const e=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new I("e",`blur_region${e}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new I("e",`blur_region${e}`)),this.addQualifier(new I("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new I("e",`blur_faces${e}`))):this.addQualifier(new I("e",`blur${e}`))}static fromJson(e){const{strength:r,region:n}=e,o=new this(r);return r&&o.strength(r),n&&n.regionType==="faces"&&o.region(Xi()),n&&n.regionType==="ocr_text"&&o.region(Bc()),n&&n.regionType==="custom"&&o.region(yn.fromJson(n)),o}}function Ut(t){const e={};return Object.keys(t).forEach(r=>{e[t[r]]=r}),e}const Zi={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},qc={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},es={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},ts={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Wc={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},rs={444:"CHROMA_444",420:"CHROMA_420"},Gc={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},Yc=Ut(rs);Ut(Gc);const Hc=Ut(Zi),Qc=Ut(qc),ns=Ut(es);Ut(ts);Ut(Wc);class os extends Xe{constructor(e,r){super(),this._actionModel={},this._actionModel.actionType=ns[e]||e;const n=this.createEffectQualifier(e,r);this.addQualifier(n)}createEffectQualifier(e,r){let n;return r?n=new te([e,`${r}`]).setDelimiter(":"):n=new te(e),new I("e",n)}static fromJson(e){const{actionType:r,level:n,strength:o}=e,s=es[r]||r;return new this(s,n||o)}}class Jc extends os{constructor(e,r){super(e,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=e,this._actionModel.actionType=ns[e]||e,r&&this.setLevel(r)}setLevel(e){this._actionModel[this.LEVEL_NAME]=e;const r=this.createEffectQualifier(this.effectType,e);return this.addQualifier(r),this}}function vn(t){return t&&(t.match(/^#/)?`rgb:${t.substr(1)}`:t)}class Kc extends Xe{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(e){return this._actionModel.numOfColors=e,this._numOfColors=e,this}detailsLevel(e){return this._actionModel.detailLevel=e,this._detailsLevel=e,this}despeckleLevel(e){return this._actionModel.despeckleLevel=e,this._despeckleLevel=e,this}cornersLevel(e){return this._actionModel.cornersLevel=e,this._cornersLevel=e,this}paths(e){return this._actionModel.paths=e,this._paths=e,this}prepareQualifiers(){let e="vectorize";this._numOfColors&&(e+=`:${new te(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(e+=`:${new te(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(e+=`:${new te(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(e+=`:${new te(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(e+=`:${new te(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new I("e",e))}static fromJson(e){const{actionType:r,paths:n,cornersLevel:o,despeckleLevel:s,detailLevel:c,numOfColors:f}=e,d=new this;return n&&d.paths(n),o&&d.cornersLevel(o),s&&d.despeckleLevel(s),c&&d.detailsLevel(c),f&&d.numOfColors(f),d}}class Xc extends Jc{level(e){return this._actionModel.level=e,this.setLevel(e)}}class Zc extends Xe{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new I("e",new te("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new I("e",new te(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(e){return this._actionModel.type="stripes",this._actionModel.stripesStrength=e,this.addQualifier(new I("e",new te(["assist_colorblind",e]).setDelimiter(":")))}static fromJson(e){const{actionType:r,type:n,stripesStrength:o}=e,s=new this;return n==="xray"&&s.xray(),n==="stripes"&&o&&s.stripesStrength(o),s}}class eu extends Xc{color(e){return this._actionModel.color=e,this.addQualifier(new I("co",new te(vn(e))))}static fromJson(e){const{actionType:r,level:n,color:o}=e,s=new this(r,n);return o&&s.color(o),s}}class tu extends Xe{constructor(e){super(),this._actionModel={},this._squareSize=e,this._actionModel.actionType="pixelate",this._actionModel.squareSize=e}region(e){return this._region=e,this._actionModel.region={regionType:this._region.regionType},this}squareSize(e){return this._squareSize=e,this._actionModel.squareSize=e,this}prepareQualifiers(){const e=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new I("e",`pixelate_region${e}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new I("e",`pixelate_region${e}`)),this.addQualifier(new I("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new I("e",`pixelate_faces${e}`))):this.addQualifier(new I("e",`pixelate${e}`))}static fromJson(e){const{region:r,squareSize:n}=e,o=new this(n);return n&&o.squareSize(n),r&&r.regionType==="faces"&&o.region(Xi()),r&&r.regionType==="custom"&&o.region(Uc()),o}}function ru(t){return new zc(t)}function nu(){return new os("grayscale")}function ui(t){return new eu("colorize",t)}function ou(){return new Kc}function iu(){return new Zc}function su(t){return new tu(t)}let au=class extends Xe{constructor(e){super(),this._actionModel={},this.addQualifier(new I("b",new te(vn(e)).setDelimiter("_"))),this._actionModel.color=e,this._actionModel.actionType="backgroundColor"}static fromJson(e){const{color:r}=e;return new this(r)}},li=class{constructor(e){this.raw=e}toString(){return this.raw}toJson(){return{error:mo(`unsupported action ${this.constructor.name}`)}}};function cu(t){const e=t;return"error"in e&&!!e.error}function uu(){return new We("ignore_aspect_ratio")}function lu(){return new We("lossy")}function fu(){return new We("preserve_transparency")}function du(t){return new We("progressive",t)}function hu(){return new We("region_relative")}function pu(){return new We("relative")}let vo=class extends te{constructor(e){super(e),this.val=e}getValue(){return this.val}},is=class extends Xe{constructor(e,r,n){super(),this._actionModel={};let o;r instanceof vo?o=r.getValue():o=r,this._actionModel.actionType=Qc[e],this._actionModel[n]=o,this.addQualifier(new I(e,r))}},gu=class extends We{constructor(e){super("progressive",e)}},ro=class extends is{constructor(e,r){super(e,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(lu()),this}progressive(e){return e instanceof gu?(this._actionModel.progressive={mode:e.getFlagValue()},this.addFlag(e)):(this._actionModel.progressive={mode:e},this.addFlag(du(e))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(fu()),this}static fromJson(e){const{formatType:r,lossy:n,progressive:o,preserveTransparency:s}=e;let c;return r?c=new this("f",r):c=new this("f"),o&&(o.mode?c.progressive(o.mode):c.progressive()),n&&c.lossy(),s&&c.preserveTransparency(),c}},_n=class ss{constructor(){this.actions=[]}addAction(e){let r;if(typeof e=="string"){if(e.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new li(e)}else r=e;return this.actions.push(r),this}addTransformation(e){return e instanceof ss?this.actions=this.actions.concat(e.actions):this.actions.push(new li(e)),this}toString(){return this.actions.map(e=>e.toString()).filter(e=>e).join("/")}animated(e){return this.addAction(e)}border(e){return this.addAction(e)}reshape(e){return this.addAction(e)}resize(e){return this.addAction(e)}quality(e){return this.addAction(new ro("q",e)),this}format(e){return this.addAction(new ro("f",e)),this}roundCorners(e){return this.addAction(e)}overlay(e){return this.addAction(e)}underlay(e){return e.setLayerType("u"),this.addAction(e)}addVariable(e){return this.addAction(e)}conditional(e){return this.addAction(e)}effect(e){return this.addAction(e)}adjust(e){return this.addAction(e)}rotate(e){return this.addAction(e)}namedTransformation(e){return this.addAction(e)}delivery(e){return this.addAction(e)}backgroundColor(e){return this.addAction(new au(e))}psdTools(e){return this.addAction(e)}extract(e){return this.addAction(e)}addFlag(e){const r=new Xe;let n=e;return typeof e=="string"&&(n=new We(e)),r.addQualifier(n),this.addAction(r)}customFunction(e){return this.addAction(e)}transcode(e){return this.addAction(e)}videoEdit(e){return this.addAction(e)}toJson(){const e=[];for(const r of this.actions){const n=r.toJson();if(cu(n))return n;e.push(n)}return{actions:e}}};function fi(t){const e=t.toString();return e.match(/[A-Z]/gi)||e.length>1&&e[0]==="0"?e:!isNaN(parseFloat(e))&&e.indexOf(":")===-1&&e.indexOf(".")===-1?`${e}.0`:e}class mu extends te{}class yu extends Xe{constructor(e,r,n){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=Hc[e]||e,this.addQualifier(new I("c",e)),r&&this.width(r),n&&this.height(n)}height(e){return this._actionModel.dimensions.height=e,this.addQualifier(new I("h",e))}width(e){return this._actionModel.dimensions.width=e,this.addQualifier(new I("w",e))}aspectRatio(e){if(e instanceof mu)return this._actionModel.dimensions.aspectRatio=`${e}`,this.addQualifier(new I("ar",e));if(typeof e=="number"||typeof e=="string")return this._actionModel.dimensions.aspectRatio=fi(e),this.addQualifier(new I("ar",fi(e)));if(e instanceof We)return this._actionModel.dimensions.aspectRatio=`${e.qualifierValue}`,this.addFlag(e)}relative(){return this._actionModel.relative=!0,this.addFlag(pu())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(hu())}static fromJson(e){const{actionType:r,dimensions:n,relative:o,regionRelative:s}=e,{aspectRatio:c,width:f,height:d}=n,g=Zi[r]||r,_=new this(g,f,d);return c&&_.aspectRatio(c==="ignore_aspect_ratio"?uu():c),o&&_.relative(),s&&_.regionRelative(),_}}class _o extends I{constructor(e){super("g",new te(e))}}class as extends _o{constructor(){super("auto")}autoFocus(...e){return this.addValue(e),this}}class cs extends _o{constructor(e){super(e)}fallbackGravity(e){return this.addValue(e.qualifierValue),this}}class us extends _o{constructor(e){super(e)}}function vu(t){return new us(t)}function ls(...t){const e=[...t];return new cs(e)}function fs(){return new as}class bn extends te{constructor(e){super(),this.name=e}toString(){return this.name}}function _u(){return new bn("ocr_text")}function bu(t){return t&&`${t}`.split(":")[0]==="auto"}function wu(t){const e=bo(t);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(e)}function bo(t){return`${t}`.replace("g_","")}function Su(t){return{compass:bo(t),gravityType:"direction"}}function Eu(t){return bo(t)==="ocr_text"}function xu(){return{gravityType:"ocr"}}function Cu(t){return`${t.qualifierValue}`.split(":")[0]==="auto"}function Tu(t){const r=t.toString().split("_"),n={object:r[0]};return r.length>1&&(r[1]==="avoid"?n.avoid=!0:n.weight=+r[1]),n}function ds(t){let e;const r=t==="auto"?new as:t;return`${t}`.startsWith("auto:")?e=`${t}`.split(":").filter(o=>o!=="auto"):e=r.qualifierValue.values.filter(o=>o!=="auto"),{gravityType:"auto",autoFocus:e.map(Tu)}}function Au(t){const e=`${t}`.split(":").includes("auto"),r=t.qualifierValue.values,o={gravityType:"object",focusOnObjects:(e?r.slice(0,r.length-1):r).map(s=>`${s}`)};if(e){const s=r[r.length-1].values.slice(1),c=fs().autoFocus(...s);o.fallbackGravity=ds(c)}return o}function Ou(t){const r=t.split(":").map(n=>new bn(n));return new cs(r)}function $u(t){return wu(t)?Su(t):Eu(t)?xu():bu(t)||Cu(t)?ds(t):Au(typeof t=="string"?Ou(t):t)}class wo extends te{constructor(e,r){super(),this._weight=r,this.focusOn=e,this.shouldAvoid=!1}static focusOn(e,r){return new wo(e,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(e){return this._weight=e,this}avoid(){return this.shouldAvoid=!0,this}}class hs extends te{constructor(e){super(),this.val=e}toString(){return this.val}}function Ru(t){return t.gravityType==="direction"}function Pu(t){return t.gravityType==="ocr"}function ku(t){return t.gravityType==="auto"}function ju(t){const{object:e,weight:r,avoid:n}=t,o=new wo(new bn(e));return(r||r===0)&&o.weight(r),n&&o.avoid(),o}function ps(t){const r=(t.autoFocus||[]).map(ju);return fs().autoFocus(...r)}function Iu(t){const e=(t.focusOnObjects||[]).map(n=>new bn(n)),r=ls(...e);if(t.fallbackGravity){const n=ps(t.fallbackGravity);r.fallbackGravity(n)}return r}function Mu(t){return Ru(t)?new us(new hs(t.compass)):Pu(t)?ls(_u()):ku(t)?ps(t):Iu(t)}class So extends yu{gravity(e){this._actionModel.gravity=$u(e);const r=typeof e=="string"?new I("g",e):e;return this.addQualifier(r)}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.gravity&&r.gravity(Mu(e.gravity)),r}}class Ar extends I{constructor(e){super("b"),e&&this.addValue(e)}}const gs=100,Du=0;class Lu extends Ar{intensity(e){return this.intensityLevel=e,this}brightness(e){return this.brightnessLevel=e,this}toString(){const e=this.intensityLevel!==void 0?`:${this.intensityLevel}`:"",r=this.brightnessLevel!==void 0?this.intensityLevel!==void 0?`:${this.brightnessLevel}`:`:${gs}:${this.brightnessLevel}`:"";return`b_blurred${e}${r}`}}var ms=Lu;class Eo extends Ar{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...e){return this._palette=e.map(r=>vn(r)),this}}class ys extends Eo{toString(){return`
|
|
160
168
|
b_auto:border
|
|
161
169
|
${this._contrast?"_contrast":""}
|
|
162
170
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
163
|
-
`.replace(/\s+/g,"")}}class
|
|
171
|
+
`.replace(/\s+/g,"")}}class vs extends Eo{gradientColors(e){return this._gradientColors=e,this}gradientDirection(e){return this._gradientDirection=e,this}}class _s extends vs{toString(){return`
|
|
164
172
|
b_auto:border_gradient
|
|
165
173
|
${this._contrast?"_contrast":""}
|
|
166
174
|
${this._gradientColors?`:${this._gradientColors}`:""}
|
|
167
175
|
${this._gradientDirection?`:${this._gradientDirection}`:""}
|
|
168
176
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
169
|
-
`.replace(/\s+/g,"")}}class
|
|
177
|
+
`.replace(/\s+/g,"")}}class bs extends vs{toString(){return`
|
|
170
178
|
b_auto:predominant_gradient
|
|
171
179
|
${this._contrast?"_contrast":""}
|
|
172
180
|
${this._gradientColors?`:${this._gradientColors}`:""}
|
|
173
181
|
${this._gradientDirection?`:${this._gradientDirection}`:""}
|
|
174
182
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
175
|
-
`.replace(/\s+/g,"")}}class
|
|
183
|
+
`.replace(/\s+/g,"")}}class ws extends Eo{toString(){return`
|
|
176
184
|
b_auto:predominant
|
|
177
185
|
${this._contrast?"_contrast":""}
|
|
178
186
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
179
|
-
`.replace(/\s+/g,"")}}class bs extends Tr{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(e){return this._prompt=e,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return`b_gen_fill${this._prompt?`:prompt_${this._prompt}`:""}`}}function ws(t){return`${t}`.replace("b_","")}function Lu(){return{backgroundType:"auto"}}function Fu(t){const{intensityLevel:e,brightnessLevel:r}=t,n={backgroundType:"blurred"};return(e||e===0)&&(n.intensity=e),(r||r===0)&&(n.brightness=r),n}function Eo(t){const e=t._contrast,r=t._palette,n={backgroundType:""};return e&&(n.contrast=!0),r&&(n.palette=r),n}function Vu(t){return Object.assign(Object.assign({},Eo(t)),{backgroundType:"border"})}function Ss(t){const e=t._gradientColors,r=`${t._gradientDirection}`,n=Eo(t);return e&&(n.gradientColors=e),r&&(n.gradientDirection=r),n}function Nu(t){return Object.assign(Object.assign({},Ss(t)),{backgroundType:"borderGradient"})}function Uu(t){return{backgroundType:"color",color:ws(t)}}function Bu(t){return Object.assign(Object.assign({},Eo(t)),{backgroundType:"predominant"})}function qu(t){return Object.assign(Object.assign({},Ss(t)),{backgroundType:"predominantGradient"})}function zu(t){return Object.assign({backgroundType:t.getBackgroundType()},t.getPrompt()?{prompt:t.getPrompt()}:{})}function Gu(t){return ws(t)==="auto"?Lu():t instanceof ps?Fu(t):t instanceof gs?Vu(t):t instanceof ys?Nu(t):t instanceof _s?Bu(t):t instanceof vs?qu(t):t instanceof bs?zu(t):Uu(t)}function Wu(){return new yo("svg")}function Co(){return new yo("auto")}function Es(){return new gs}function Cs(){return new Tr("auto")}function xs(){return new ys}function Ts(){return new vs}function As(){return new _s}function Os(t){return new Tr(ln(t))}function Yu(){return new ps}function Rs(){return new bs}const $s={auto:Cs,border:Es,borderGradient:xs,predominantGradient:Ts,predominant:As,color:Os,blurred:Yu,generativeFill:Rs};function Qu(t){const{brightness:e,intensity:r}=t,n=$s.blurred();return n.brightness(e??Mu),n.intensity(r??hs),n}function fi(t,e){const{gradientColors:r,gradientDirection:n,contrast:o,palette:a}=e;return o&&t.contrast(),a&&t.palette(...a),r&&t.gradientColors(+r),n&&t.gradientDirection(n),t}function di(t,e){const{contrast:r,palette:n}=e;return r&&t.contrast(),n&&t.palette(...n),t}function Hu(t,e){const{prompt:r}=e;return r&&t.prompt(r),t}function Ju(t){const{backgroundType:e}=t;switch(e){case"auto":return Cs();case"blurred":return Qu(t);case"border":return di(Es(),t);case"borderGradient":return fi(xs(),t);case"predominant":return di(As(),t);case"predominantGradient":return fi(Ts(),t);case"generativeFill":return Hu(Rs(),t);default:return Os(t.color)}}class Ku extends wo{background(e){return this._actionModel.background=Gu(e),this.addQualifier(e)}offsetX(e){return this._actionModel.x=e,this.addQualifier(new I("x",e))}offsetY(e){return this._actionModel.y=e,this.addQualifier(new I("y",e))}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.background&&r.background(Ju(e.background)),e.x&&r.offsetX(e.x),e.y&&r.offsetY(e.y),e.zoom&&r.zoom(e.zoom),r}}class Xu extends wo{x(e){return this._actionModel.x=e,this.addQualifier(new I("x",e))}y(e){return this._actionModel.y=e,this.addQualifier(new I("y",e))}zoom(e){return this._actionModel.zoom=e,this.addQualifier(new I("z",e))}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.x&&r.x(e.x),e.y&&r.y(e.y),e.zoom&&r.zoom(e.zoom),r}}class Zu extends wo{x(e){return this._actionModel.x=e,this.addQualifier(new I("x",e))}y(e){return this._actionModel.y=e,this.addQualifier(new I("y",e))}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.x&&r.x(e.x),e.y&&r.y(e.y),r}}function el(t,e){return new Xu("crop",t,e)}function tl(t,e){return new Zu("fill",t,e)}function rl(t,e){return new Ku("pad",t,e)}class nl extends ns{constructor(e){super("q",e.toString(),"level")}chromaSubSampling(e){this._actionModel.chromaSubSampling=es[e];const r=new te([this._actionModel.level,e]);return r.setDelimiter(":"),this.addQualifier(new I("q",r))}quantization(e){this._actionModel.quantization=e;const r=new te([this._actionModel.level,`qmax_${e}`]).setDelimiter(":");return this.addQualifier(new I("q",r))}static fromJson(e){const{level:r,chromaSubSampling:n,quantization:o}=e,a=Zi[r]||r,u=new this(a);if(n){const f=Wc[n.toUpperCase()];f&&u.chromaSubSampling(+f)}return o&&u.quantization(o),u}}function hn(t){return new Qn("f",t)}function pn(t){return new nl(t)}function ol(){return new fs("north_east")}ci(70).color("black"),ci(40).color("white"),ru(),ou();var il=new fn().effect(nu()).delivery(pn("auto")).delivery(hn(Wu())),sl=new fn().effect(iu()).delivery(pn("auto")).delivery(hn(Co())),al=new fn().effect(tu(2e3)).delivery(pn("auto")).delivery(hn(Co())),cl=new fn().resize(rl("iw_div_2").aspectRatio(1).background($s.auto())).resize(el(1,1).gravity(yu(ol()))).resize(tl().height("ih").width("iw")).delivery(pn("auto")).delivery(hn(Co())),hi={vectorize:il,pixelate:sl,blur:al,"predominant-color":cl},pi="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",gi={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},mi="?_a=",ul=function(){function t(e,r,n,o,a,u,f){var h=this;this.mimeType="video",this.mimeSubTypes=gi,this.videoElement=e,this.originalVideo=r,this.videoOptions=f,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var g=Ct(r);Jr(e,r,o,this.htmlPluginState).then(function(){h.htmlPluginState.pluginEventSubscription.forEach(function(_){_()}),h.setVideoAttributes(a,u),h.handleSourceToVideo(g,n)})}return t.prototype.handleSourceToVideo=function(e,r){var n=this;if(r)this.generateUserSources(e,r);else{var o=["webm","mp4","ogv"];o.forEach(function(a){n.appendSourceTag(Ct(e),a)})}},t.prototype.generateUserSources=function(e,r){var n=this;r.map(function(o){var a=o.type,u=o.codecs,f=o.transcode;return n.appendSourceTag(Ct(e).transcode(f),a,n.buildMimeType(a,u))})},t.prototype.appendSourceTag=function(e,r,n){var o,a=document.createElement("source"),u=(o=this.videoOptions)===null||o===void 0?void 0:o.useFetchFormat;u&&e.format(r);var f=e.toURL(),h=f.split(mi),g=h[1]?"".concat(mi).concat(h[1]):"",_=u?"":".".concat(r);a.src="".concat(h[0]).concat(_).concat(g),a.type=n||"video/".concat(gi[r]||r),this.videoElement.appendChild(a)},t.prototype.buildMimeType=function(e,r){var n="".concat(this.mimeType,"/").concat(this.mimeSubTypes[e]||e);return r&&(n+="; codecs="+(Array.isArray(r)?r.join(", "):r)),n},t.prototype.setVideoAttributes=function(e,r){var n;if(e===void 0&&(e={}),r==="auto"){var o=Ct(this.originalVideo);e.poster=o.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else r&&(e.poster=(n=r.toURL)===null||n===void 0?void 0:n.call(r));for(var a=0,u=Object.entries(e);a<u.length;a++){var f=u[a],h=f[0],g=f[1];g&&this.videoElement.setAttribute(h,h==="poster"?g:"")}},t.prototype.update=function(e,r,n,o,a){var u=this;if(e!==this.originalVideo){for(var f=this.videoElement.getElementsByTagName("SOURCE");f[0];)f[0].parentNode.removeChild(f[0]);Jr(this.videoElement,e,n,this.htmlPluginState).then(function(){u.setVideoAttributes(o,a),u.handleSourceToVideo(e,r),u.videoElement.load()})}},t}(),ll=typeof Et=="object"&&Et&&Et.Object===Object&&Et,fl=typeof self=="object"&&self&&self.Object===Object&&self;ll||fl||Function("return this")();function xo(){return typeof window<"u"}function dl(t){return t instanceof HTMLImageElement}function hl(t){var e={},r=e.rootMargin,n=r===void 0?"0px":r,o=e.threshold,a=o===void 0?.1:o;return pl.bind(null,n,a)}function pl(t,e,r,n,o,a){return t===void 0&&(t="0px"),e===void 0&&(e=.1),xo()?new Promise(function(u){var f=function(){return u({lazyload:!0})},h=ml(r,f,t,e);o.cleanupCallbacks.push(function(){h(),u("canceled")})}):!1}function gl(){return window&&"IntersectionObserver"in window}function ml(t,e,r,n){try{if(!gl())return e(),function(){};var o=new IntersectionObserver(function(a){a.forEach(function(u){u.isIntersecting&&(o.unobserve(u.target),e())})},{rootMargin:r,threshold:n});return o.observe(t),function(){t&&o.observe(t)}}catch{e()}}function yl(t){var e={},r=e.mode,n=r===void 0?"vectorize":r;return vl.bind(null,n)}function vl(t,e,r,n,o,a){hi[t]||(t="vectorize");var u=hi[t].actions,f=Ct(r);if(u.forEach(function(g){f.addAction(g)}),!xo())return r.transformation=f.transformation,!0;if(dl(e)){f.transformation.actions.forEach(function(g,_){g instanceof Xe&&g.getActionTag()==="responsive"&&delete f.transformation.actions[_]});var h=Yn(o,{placeholder:!0});return e.src=f.toURL(h),e.onerror=function(){e.src=pi},new Promise(function(g){e.onload=function(){g()}}).then(function(){return new Promise(function(g){n.cleanupCallbacks.push(function(){e.src=pi,g("canceled")});var _=new Image;_.src=r.toURL(h),_.onload=function(){g({placeholder:!0})},_.onerror=function(){g({placeholder:!0})}})})}}function _l(t,e,r){var n=Ct(e);if(t)for(var o=0;o<t.length;o++){var a=t[o](null,n);if(!a)break}return n.toURL(r?{trackedAnalytics:r}:null)}function Kr(t){t.cleanupCallbacks.forEach(function(e){e()})}var Hn=function(t,e){return Hn=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])},Hn(t,e)};function Ps(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Hn(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var Er=function(){return Er=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Er.apply(this,arguments)};function ks(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r}var Cr={exports:{}},J={};/*
|
|
187
|
+
`.replace(/\s+/g,"")}}class Ss extends Ar{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(e){return this._prompt=e,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return`b_gen_fill${this._prompt?`:prompt_${this._prompt}`:""}`}}function Es(t){return`${t}`.replace("b_","")}function Fu(){return{backgroundType:"auto"}}function Vu(t){const{intensityLevel:e,brightnessLevel:r}=t,n={backgroundType:"blurred"};return(e||e===0)&&(n.intensity=e),(r||r===0)&&(n.brightness=r),n}function xo(t){const e=t._contrast,r=t._palette,n={backgroundType:""};return e&&(n.contrast=!0),r&&(n.palette=r),n}function Nu(t){return Object.assign(Object.assign({},xo(t)),{backgroundType:"border"})}function xs(t){const e=t._gradientColors,r=`${t._gradientDirection}`,n=xo(t);return e&&(n.gradientColors=e),r&&(n.gradientDirection=r),n}function Uu(t){return Object.assign(Object.assign({},xs(t)),{backgroundType:"borderGradient"})}function Bu(t){return{backgroundType:"color",color:Es(t)}}function zu(t){return Object.assign(Object.assign({},xo(t)),{backgroundType:"predominant"})}function qu(t){return Object.assign(Object.assign({},xs(t)),{backgroundType:"predominantGradient"})}function Wu(t){return Object.assign({backgroundType:t.getBackgroundType()},t.getPrompt()?{prompt:t.getPrompt()}:{})}function Gu(t){return Es(t)==="auto"?Fu():t instanceof ms?Vu(t):t instanceof ys?Nu(t):t instanceof _s?Uu(t):t instanceof ws?zu(t):t instanceof bs?qu(t):t instanceof Ss?Wu(t):Bu(t)}function Yu(){return new vo("svg")}function Co(){return new vo("auto")}function Cs(){return new ys}function Ts(){return new Ar("auto")}function As(){return new _s}function Os(){return new bs}function $s(){return new ws}function Rs(t){return new Ar(vn(t))}function Hu(){return new ms}function Ps(){return new Ss}const ks={auto:Ts,border:Cs,borderGradient:As,predominantGradient:Os,predominant:$s,color:Rs,blurred:Hu,generativeFill:Ps};function Qu(t){const{brightness:e,intensity:r}=t,n=ks.blurred();return n.brightness(e??Du),n.intensity(r??gs),n}function di(t,e){const{gradientColors:r,gradientDirection:n,contrast:o,palette:s}=e;return o&&t.contrast(),s&&t.palette(...s),r&&t.gradientColors(+r),n&&t.gradientDirection(n),t}function hi(t,e){const{contrast:r,palette:n}=e;return r&&t.contrast(),n&&t.palette(...n),t}function Ju(t,e){const{prompt:r}=e;return r&&t.prompt(r),t}function Ku(t){const{backgroundType:e}=t;switch(e){case"auto":return Ts();case"blurred":return Qu(t);case"border":return hi(Cs(),t);case"borderGradient":return di(As(),t);case"predominant":return hi($s(),t);case"predominantGradient":return di(Os(),t);case"generativeFill":return Ju(Ps(),t);default:return Rs(t.color)}}class Xu extends So{background(e){return this._actionModel.background=Gu(e),this.addQualifier(e)}offsetX(e){return this._actionModel.x=e,this.addQualifier(new I("x",e))}offsetY(e){return this._actionModel.y=e,this.addQualifier(new I("y",e))}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.background&&r.background(Ku(e.background)),e.x&&r.offsetX(e.x),e.y&&r.offsetY(e.y),e.zoom&&r.zoom(e.zoom),r}}class Zu extends So{x(e){return this._actionModel.x=e,this.addQualifier(new I("x",e))}y(e){return this._actionModel.y=e,this.addQualifier(new I("y",e))}zoom(e){return this._actionModel.zoom=e,this.addQualifier(new I("z",e))}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.x&&r.x(e.x),e.y&&r.y(e.y),e.zoom&&r.zoom(e.zoom),r}}class el extends So{x(e){return this._actionModel.x=e,this.addQualifier(new I("x",e))}y(e){return this._actionModel.y=e,this.addQualifier(new I("y",e))}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.x&&r.x(e.x),e.y&&r.y(e.y),r}}function tl(t,e){return new Zu("crop",t,e)}function rl(t,e){return new el("fill",t,e)}function nl(t,e){return new Xu("pad",t,e)}class ol extends is{constructor(e){super("q",e.toString(),"level")}chromaSubSampling(e){this._actionModel.chromaSubSampling=rs[e];const r=new te([this._actionModel.level,e]);return r.setDelimiter(":"),this.addQualifier(new I("q",r))}quantization(e){this._actionModel.quantization=e;const r=new te([this._actionModel.level,`qmax_${e}`]).setDelimiter(":");return this.addQualifier(new I("q",r))}static fromJson(e){const{level:r,chromaSubSampling:n,quantization:o}=e,s=ts[r]||r,c=new this(s);if(n){const f=Yc[n.toUpperCase()];f&&c.chromaSubSampling(+f)}return o&&c.quantization(o),c}}function wn(t){return new ro("f",t)}function Sn(t){return new ol(t)}function il(){return new hs("north_east")}ui(70).color("black"),ui(40).color("white"),nu(),iu();var sl=new _n().effect(ou()).delivery(Sn("auto")).delivery(wn(Yu())),al=new _n().effect(su()).delivery(Sn("auto")).delivery(wn(Co())),cl=new _n().effect(ru(2e3)).delivery(Sn("auto")).delivery(wn(Co())),ul=new _n().resize(nl("iw_div_2").aspectRatio(1).background(ks.auto())).resize(tl(1,1).gravity(vu(il()))).resize(rl().height("ih").width("iw")).delivery(Sn("auto")).delivery(wn(Co())),pi={vectorize:sl,pixelate:al,blur:cl,"predominant-color":ul},gi="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",mi={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},yi="?_a=",ll=function(){function t(e,r,n,o,s,c,f){var d=this;this.mimeType="video",this.mimeSubTypes=mi,this.videoElement=e,this.originalVideo=r,this.videoOptions=f,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var g=Tt(r);Kr(e,r,o,this.htmlPluginState).then(function(){d.htmlPluginState.pluginEventSubscription.forEach(function(_){_()}),d.setVideoAttributes(s,c),d.handleSourceToVideo(g,n)})}return t.prototype.handleSourceToVideo=function(e,r){var n=this;if(r)this.generateUserSources(e,r);else{var o=["webm","mp4","ogv"];o.forEach(function(s){n.appendSourceTag(Tt(e),s)})}},t.prototype.generateUserSources=function(e,r){var n=this;r.map(function(o){var s=o.type,c=o.codecs,f=o.transcode;return n.appendSourceTag(Tt(e).transcode(f),s,n.buildMimeType(s,c))})},t.prototype.appendSourceTag=function(e,r,n){var o,s=document.createElement("source"),c=(o=this.videoOptions)===null||o===void 0?void 0:o.useFetchFormat;c&&e.format(r);var f=e.toURL(),d=f.split(yi),g=d[1]?"".concat(yi).concat(d[1]):"",_=c?"":".".concat(r);s.src="".concat(d[0]).concat(_).concat(g),s.type=n||"video/".concat(mi[r]||r),this.videoElement.appendChild(s)},t.prototype.buildMimeType=function(e,r){var n="".concat(this.mimeType,"/").concat(this.mimeSubTypes[e]||e);return r&&(n+="; codecs="+(Array.isArray(r)?r.join(", "):r)),n},t.prototype.setVideoAttributes=function(e,r){var n;if(e===void 0&&(e={}),r==="auto"){var o=Tt(this.originalVideo);e.poster=o.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else r&&(e.poster=(n=r.toURL)===null||n===void 0?void 0:n.call(r));for(var s=0,c=Object.entries(e);s<c.length;s++){var f=c[s],d=f[0],g=f[1];g&&this.videoElement.setAttribute(d,d==="poster"?g:"")}},t.prototype.update=function(e,r,n,o,s){var c=this;if(e!==this.originalVideo){for(var f=this.videoElement.getElementsByTagName("SOURCE");f[0];)f[0].parentNode.removeChild(f[0]);Kr(this.videoElement,e,n,this.htmlPluginState).then(function(){c.setVideoAttributes(o,s),c.handleSourceToVideo(e,r),c.videoElement.load()})}},t}(),fl=typeof Ct=="object"&&Ct&&Ct.Object===Object&&Ct,dl=typeof self=="object"&&self&&self.Object===Object&&self;fl||dl||Function("return this")();function To(){return typeof window<"u"}function hl(t){return t instanceof HTMLImageElement}function pl(t){var e={},r=e.rootMargin,n=r===void 0?"0px":r,o=e.threshold,s=o===void 0?.1:o;return gl.bind(null,n,s)}function gl(t,e,r,n,o,s){return t===void 0&&(t="0px"),e===void 0&&(e=.1),To()?new Promise(function(c){var f=function(){return c({lazyload:!0})},d=yl(r,f,t,e);o.cleanupCallbacks.push(function(){d(),c("canceled")})}):!1}function ml(){return window&&"IntersectionObserver"in window}function yl(t,e,r,n){try{if(!ml())return e(),function(){};var o=new IntersectionObserver(function(s){s.forEach(function(c){c.isIntersecting&&(o.unobserve(c.target),e())})},{rootMargin:r,threshold:n});return o.observe(t),function(){t&&o.observe(t)}}catch{e()}}function vl(t){var e={},r=e.mode,n=r===void 0?"vectorize":r;return _l.bind(null,n)}function _l(t,e,r,n,o,s){pi[t]||(t="vectorize");var c=pi[t].actions,f=Tt(r);if(c.forEach(function(g){f.addAction(g)}),!To())return r.transformation=f.transformation,!0;if(hl(e)){f.transformation.actions.forEach(function(g,_){g instanceof Xe&&g.getActionTag()==="responsive"&&delete f.transformation.actions[_]});var d=to(o,{placeholder:!0});return e.src=f.toURL(d),e.onerror=function(){e.src=gi},new Promise(function(g){e.onload=function(){g()}}).then(function(){return new Promise(function(g){n.cleanupCallbacks.push(function(){e.src=gi,g("canceled")});var _=new Image;_.src=r.toURL(d),_.onload=function(){g({placeholder:!0})},_.onerror=function(){g({placeholder:!0})}})})}}function bl(t,e,r){var n=Tt(e);if(t)for(var o=0;o<t.length;o++){var s=t[o](null,n);if(!s)break}return n.toURL(r?{trackedAnalytics:r}:null)}function Xr(t){t.cleanupCallbacks.forEach(function(e){e()})}var no=function(t,e){return no=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])},no(t,e)};function js(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");no(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var xr=function(){return xr=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},xr.apply(this,arguments)};function Is(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r}var Cr={exports:{}},J={};/*
|
|
180
188
|
object-assign
|
|
181
189
|
(c) Sindre Sorhus
|
|
182
190
|
@license MIT
|
|
183
|
-
*/var
|
|
191
|
+
*/var vi=Object.getOwnPropertySymbols,wl=Object.prototype.hasOwnProperty,Sl=Object.prototype.propertyIsEnumerable;function El(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function xl(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(e).map(function(s){return e[s]});if(n.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(s){o[s]=s}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var Ms=xl()?Object.assign:function(t,e){for(var r,n=El(t),o,s=1;s<arguments.length;s++){r=Object(arguments[s]);for(var c in r)wl.call(r,c)&&(n[c]=r[c]);if(vi){o=vi(r);for(var f=0;f<o.length;f++)Sl.call(r,o[f])&&(n[o[f]]=r[o[f]])}}return n};/** @license React v16.14.0
|
|
184
192
|
* react.production.min.js
|
|
185
193
|
*
|
|
186
194
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
187
195
|
*
|
|
188
196
|
* This source code is licensed under the MIT license found in the
|
|
189
197
|
* LICENSE file in the root directory of this source tree.
|
|
190
|
-
*/var
|
|
198
|
+
*/var Ao=Ms,Ze=typeof Symbol=="function"&&Symbol.for,Or=Ze?Symbol.for("react.element"):60103,Cl=Ze?Symbol.for("react.portal"):60106,Tl=Ze?Symbol.for("react.fragment"):60107,Al=Ze?Symbol.for("react.strict_mode"):60108,Ol=Ze?Symbol.for("react.profiler"):60114,$l=Ze?Symbol.for("react.provider"):60109,Rl=Ze?Symbol.for("react.context"):60110,Pl=Ze?Symbol.for("react.forward_ref"):60112,kl=Ze?Symbol.for("react.suspense"):60113,jl=Ze?Symbol.for("react.memo"):60115,Il=Ze?Symbol.for("react.lazy"):60116,_i=typeof Symbol=="function"&&Symbol.iterator;function $r(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Ds={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ls={};function ar(t,e,r){this.props=t,this.context=e,this.refs=Ls,this.updater=r||Ds}ar.prototype.isReactComponent={};ar.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error($r(85));this.updater.enqueueSetState(this,t,e,"setState")};ar.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function Fs(){}Fs.prototype=ar.prototype;function Oo(t,e,r){this.props=t,this.context=e,this.refs=Ls,this.updater=r||Ds}var $o=Oo.prototype=new Fs;$o.constructor=Oo;Ao($o,ar.prototype);$o.isPureReactComponent=!0;var Ro={current:null},Vs=Object.prototype.hasOwnProperty,Ns={key:!0,ref:!0,__self:!0,__source:!0};function Us(t,e,r){var n,o={},s=null,c=null;if(e!=null)for(n in e.ref!==void 0&&(c=e.ref),e.key!==void 0&&(s=""+e.key),e)Vs.call(e,n)&&!Ns.hasOwnProperty(n)&&(o[n]=e[n]);var f=arguments.length-2;if(f===1)o.children=r;else if(1<f){for(var d=Array(f),g=0;g<f;g++)d[g]=arguments[g+2];o.children=d}if(t&&t.defaultProps)for(n in f=t.defaultProps,f)o[n]===void 0&&(o[n]=f[n]);return{$$typeof:Or,type:t,key:s,ref:c,props:o,_owner:Ro.current}}function Ml(t,e){return{$$typeof:Or,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function Po(t){return typeof t=="object"&&t!==null&&t.$$typeof===Or}function Dl(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,function(r){return e[r]})}var Bs=/\/+/g,Zr=[];function zs(t,e,r,n){if(Zr.length){var o=Zr.pop();return o.result=t,o.keyPrefix=e,o.func=r,o.context=n,o.count=0,o}return{result:t,keyPrefix:e,func:r,context:n,count:0}}function qs(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>Zr.length&&Zr.push(t)}function oo(t,e,r,n){var o=typeof t;(o==="undefined"||o==="boolean")&&(t=null);var s=!1;if(t===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case Or:case Cl:s=!0}}if(s)return r(n,t,e===""?"."+Bn(t,0):e),1;if(s=0,e=e===""?".":e+":",Array.isArray(t))for(var c=0;c<t.length;c++){o=t[c];var f=e+Bn(o,c);s+=oo(o,f,r,n)}else if(t===null||typeof t!="object"?f=null:(f=_i&&t[_i]||t["@@iterator"],f=typeof f=="function"?f:null),typeof f=="function")for(t=f.call(t),c=0;!(o=t.next()).done;)o=o.value,f=e+Bn(o,c++),s+=oo(o,f,r,n);else if(o==="object")throw r=""+t,Error($r(31,r==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return s}function io(t,e,r){return t==null?0:oo(t,"",e,r)}function Bn(t,e){return typeof t=="object"&&t!==null&&t.key!=null?Dl(t.key):e.toString(36)}function Ll(t,e){t.func.call(t.context,e,t.count++)}function Fl(t,e,r){var n=t.result,o=t.keyPrefix;t=t.func.call(t.context,e,t.count++),Array.isArray(t)?so(t,n,r,function(s){return s}):t!=null&&(Po(t)&&(t=Ml(t,o+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(Bs,"$&/")+"/")+r)),n.push(t))}function so(t,e,r,n,o){var s="";r!=null&&(s=(""+r).replace(Bs,"$&/")+"/"),e=zs(e,s,n,o),io(t,Fl,e),qs(e)}var Ws={current:null};function bt(){var t=Ws.current;if(t===null)throw Error($r(321));return t}var Vl={ReactCurrentDispatcher:Ws,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:Ro,IsSomeRendererActing:{current:!1},assign:Ao};J.Children={map:function(t,e,r){if(t==null)return t;var n=[];return so(t,n,null,e,r),n},forEach:function(t,e,r){if(t==null)return t;e=zs(null,null,e,r),io(t,Ll,e),qs(e)},count:function(t){return io(t,function(){return null},null)},toArray:function(t){var e=[];return so(t,e,null,function(r){return r}),e},only:function(t){if(!Po(t))throw Error($r(143));return t}};J.Component=ar;J.Fragment=Tl;J.Profiler=Ol;J.PureComponent=Oo;J.StrictMode=Al;J.Suspense=kl;J.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Vl;J.cloneElement=function(t,e,r){if(t==null)throw Error($r(267,t));var n=Ao({},t.props),o=t.key,s=t.ref,c=t._owner;if(e!=null){if(e.ref!==void 0&&(s=e.ref,c=Ro.current),e.key!==void 0&&(o=""+e.key),t.type&&t.type.defaultProps)var f=t.type.defaultProps;for(d in e)Vs.call(e,d)&&!Ns.hasOwnProperty(d)&&(n[d]=e[d]===void 0&&f!==void 0?f[d]:e[d])}var d=arguments.length-2;if(d===1)n.children=r;else if(1<d){f=Array(d);for(var g=0;g<d;g++)f[g]=arguments[g+2];n.children=f}return{$$typeof:Or,type:t.type,key:o,ref:s,props:n,_owner:c}};J.createContext=function(t,e){return e===void 0&&(e=null),t={$$typeof:Rl,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider={$$typeof:$l,_context:t},t.Consumer=t};J.createElement=Us;J.createFactory=function(t){var e=Us.bind(null,t);return e.type=t,e};J.createRef=function(){return{current:null}};J.forwardRef=function(t){return{$$typeof:Pl,render:t}};J.isValidElement=Po;J.lazy=function(t){return{$$typeof:Il,_ctor:t,_status:-1,_result:null}};J.memo=function(t,e){return{$$typeof:jl,type:t,compare:e===void 0?null:e}};J.useCallback=function(t,e){return bt().useCallback(t,e)};J.useContext=function(t,e){return bt().useContext(t,e)};J.useDebugValue=function(){};J.useEffect=function(t,e){return bt().useEffect(t,e)};J.useImperativeHandle=function(t,e,r){return bt().useImperativeHandle(t,e,r)};J.useLayoutEffect=function(t,e){return bt().useLayoutEffect(t,e)};J.useMemo=function(t,e){return bt().useMemo(t,e)};J.useReducer=function(t,e,r){return bt().useReducer(t,e,r)};J.useRef=function(t){return bt().useRef(t)};J.useState=function(t){return bt().useState(t)};J.version="16.14.0";var Q={},Nl="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Ul=Nl,Bl=Function.call.bind(Object.prototype.hasOwnProperty),ao=function(){};if(process.env.NODE_ENV!=="production"){var zl=Ul,co={},ql=Bl;ao=function(t){var e="Warning: "+t;typeof console<"u"&&console.error(e);try{throw new Error(e)}catch{}}}function Gs(t,e,r,n,o){if(process.env.NODE_ENV!=="production"){for(var s in t)if(ql(t,s)){var c;try{if(typeof t[s]!="function"){var f=Error((n||"React class")+": "+r+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}c=t[s](e,s,n,r,null,zl)}catch(g){c=g}if(c&&!(c instanceof Error)&&ao((n||"React class")+": type specification of "+r+" `"+s+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in co)){co[c.message]=!0;var d=o?o():"";ao("Failed "+r+" type: "+c.message+(d??""))}}}}Gs.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(co={})};var Wl=Gs;/** @license React v16.14.0
|
|
191
199
|
* react.development.js
|
|
192
200
|
*
|
|
193
201
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
194
202
|
*
|
|
195
203
|
* This source code is licensed under the MIT license found in the
|
|
196
204
|
* LICENSE file in the root directory of this source tree.
|
|
197
|
-
*/process.env.NODE_ENV!=="production"&&function(){var t=
|
|
198
|
-
in `+(i||"Unknown")+v}var ge=1;function
|
|
199
|
-
in`)===0;if(!v){var w=Te.ReactDebugCurrentFrame,N=w.getStackAddendum();N!==""&&(l+="%s",p=p.concat([N]))}var T=p.map(function(ae){return""+ae});T.unshift("Warning: "+l),Function.prototype.apply.call(console[i],console,T);try{var R=0,se="Warning: "+l.replace(/%s/g,function(){return p[R++]});throw new Error(se)}catch{}}}var Fe={};function Se(i,l){{var p=i.constructor,v=p&&(p.displayName||p.name)||"ReactClass",w=v+"."+l;if(Fe[w])return;j("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.",l,v),Fe[w]=!0}}var je={isMounted:function(i){return!1},enqueueForceUpdate:function(i,l,p){Se(i,"forceUpdate")},enqueueReplaceState:function(i,l,p,v){Se(i,"replaceState")},enqueueSetState:function(i,l,p,v){Se(i,"setState")}},me={};Object.freeze(me);function oe(i,l,p){this.props=i,this.context=l,this.refs=me,this.updater=p||je}oe.prototype.isReactComponent={},oe.prototype.setState=function(i,l){if(!(typeof i=="object"||typeof i=="function"||i==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,i,l,"setState")},oe.prototype.forceUpdate=function(i){this.updater.enqueueForceUpdate(this,i,"forceUpdate")};{var Ae={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)."]},Qe=function(i,l){Object.defineProperty(oe.prototype,i,{get:function(){re("%s(...) is deprecated in plain JavaScript React classes. %s",l[0],l[1])}})};for(var ye in Ae)Ae.hasOwnProperty(ye)&&Qe(ye,Ae[ye])}function Ut(){}Ut.prototype=oe.prototype;function _t(i,l,p){this.props=i,this.context=l,this.refs=me,this.updater=p||je}var He=_t.prototype=new Ut;He.constructor=_t,t(He,oe.prototype),He.isPureReactComponent=!0;function tt(){var i={current:null};return Object.seal(i),i}var rt=Object.prototype.hasOwnProperty,Tt={key:!0,ref:!0,__self:!0,__source:!0},it,st,at;at={};function ct(i){if(rt.call(i,"ref")){var l=Object.getOwnPropertyDescriptor(i,"ref").get;if(l&&l.isReactWarning)return!1}return i.ref!==void 0}function At(i){if(rt.call(i,"key")){var l=Object.getOwnPropertyDescriptor(i,"key").get;if(l&&l.isReactWarning)return!1}return i.key!==void 0}function Ve(i,l){var p=function(){it||(it=!0,j("%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)",l))};p.isReactWarning=!0,Object.defineProperty(i,"key",{get:p,configurable:!0})}function ut(i,l){var p=function(){st||(st=!0,j("%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)",l))};p.isReactWarning=!0,Object.defineProperty(i,"ref",{get:p,configurable:!0})}function Bt(i){if(typeof i.ref=="string"&&pe.current&&i.__self&&pe.current.stateNode!==i.__self){var l=de(pe.current.type);at[l]||(j('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',de(pe.current.type),i.ref),at[l]=!0)}}var Ne=function(i,l,p,v,w,N,T){var R={$$typeof:o,type:i,key:l,ref:p,props:T,_owner:N};return R._store={},Object.defineProperty(R._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(R,"_self",{configurable:!1,enumerable:!1,writable:!1,value:v}),Object.defineProperty(R,"_source",{configurable:!1,enumerable:!1,writable:!1,value:w}),Object.freeze&&(Object.freeze(R.props),Object.freeze(R)),R};function qt(i,l,p){var v,w={},N=null,T=null,R=null,se=null;if(l!=null){ct(l)&&(T=l.ref,Bt(l)),At(l)&&(N=""+l.key),R=l.__self===void 0?null:l.__self,se=l.__source===void 0?null:l.__source;for(v in l)rt.call(l,v)&&!Tt.hasOwnProperty(v)&&(w[v]=l[v])}var ae=arguments.length-2;if(ae===1)w.children=p;else if(ae>1){for(var Re=Array(ae),Ee=0;Ee<ae;Ee++)Re[Ee]=arguments[Ee+2];Object.freeze&&Object.freeze(Re),w.children=Re}if(i&&i.defaultProps){var pt=i.defaultProps;for(v in pt)w[v]===void 0&&(w[v]=pt[v])}if(N||T){var ze=typeof i=="function"?i.displayName||i.name||"Unknown":i;N&&Ve(w,ze),T&&ut(w,ze)}return Ne(i,N,T,R,se,pe.current,w)}function Ot(i,l){var p=Ne(i.type,l,i.ref,i._self,i._source,i._owner,i.props);return p}function zt(i,l,p){if(i==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+i+".");var v,w=t({},i.props),N=i.key,T=i.ref,R=i._self,se=i._source,ae=i._owner;if(l!=null){ct(l)&&(T=l.ref,ae=pe.current),At(l)&&(N=""+l.key);var Re;i.type&&i.type.defaultProps&&(Re=i.type.defaultProps);for(v in l)rt.call(l,v)&&!Tt.hasOwnProperty(v)&&(l[v]===void 0&&Re!==void 0?w[v]=Re[v]:w[v]=l[v])}var Ee=arguments.length-2;if(Ee===1)w.children=p;else if(Ee>1){for(var pt=Array(Ee),ze=0;ze<Ee;ze++)pt[ze]=arguments[ze+2];w.children=pt}return Ne(i.type,N,T,R,se,ae,w)}function Ue(i){return typeof i=="object"&&i!==null&&i.$$typeof===o}var Gt=".",sr=":";function Wt(i){var l=/[=:]/g,p={"=":"=0",":":"=2"},v=(""+i).replace(l,function(w){return p[w]});return"$"+v}var Yt=!1,ar=/\/+/g;function bt(i){return(""+i).replace(ar,"$&/")}var lt=10,Be=[];function ft(i,l,p,v){if(Be.length){var w=Be.pop();return w.result=i,w.keyPrefix=l,w.func=p,w.context=v,w.count=0,w}else return{result:i,keyPrefix:l,func:p,context:v,count:0}}function Ie(i){i.result=null,i.keyPrefix=null,i.func=null,i.context=null,i.count=0,Be.length<lt&&Be.push(i)}function Me(i,l,p,v){var w=typeof i;(w==="undefined"||w==="boolean")&&(i=null);var N=!1;if(i===null)N=!0;else switch(w){case"string":case"number":N=!0;break;case"object":switch(i.$$typeof){case o:case a:N=!0}}if(N)return p(v,i,l===""?Gt+wt(i,0):l),1;var T,R,se=0,ae=l===""?Gt:l+sr;if(Array.isArray(i))for(var Re=0;Re<i.length;Re++)T=i[Re],R=ae+wt(T,Re),se+=Me(T,R,p,v);else{var Ee=O(i);if(typeof Ee=="function"){Ee===i.entries&&(Yt||re("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."),Yt=!0);for(var pt=Ee.call(i),ze,Tn=0;!(ze=pt.next()).done;)T=ze.value,R=ae+wt(T,Tn++),se+=Me(T,R,p,v)}else if(w==="object"){var Ir="";Ir=" If you meant to render a collection of children, use an array instead."+we.getStackAddendum();var yr=""+i;throw Error("Objects are not valid as a React child (found: "+(yr==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":yr)+")."+Ir)}}return se}function dt(i,l,p){return i==null?0:Me(i,"",l,p)}function wt(i,l){return typeof i=="object"&&i!==null&&i.key!=null?Wt(i.key):l.toString(36)}function cr(i,l,p){var v=i.func,w=i.context;v.call(w,l,i.count++)}function Qt(i,l,p){if(i==null)return i;var v=ft(null,null,l,p);dt(i,cr,v),Ie(v)}function ur(i,l,p){var v=i.result,w=i.keyPrefix,N=i.func,T=i.context,R=N.call(T,l,i.count++);Array.isArray(R)?ht(R,v,p,function(se){return se}):R!=null&&(Ue(R)&&(R=Ot(R,w+(R.key&&(!l||l.key!==R.key)?bt(R.key)+"/":"")+p)),v.push(R))}function ht(i,l,p,v,w){var N="";p!=null&&(N=bt(p)+"/");var T=ft(l,N,v,w);dt(i,ur,T),Ie(T)}function Rt(i,l,p){if(i==null)return i;var v=[];return ht(i,v,null,l,p),v}function Je(i){return dt(i,function(){return null},null)}function lr(i){var l=[];return ht(i,l,null,function(p){return p}),l}function Ht(i){if(!Ue(i))throw Error("React.Children.only expected to receive a single React element child.");return i}function fr(i,l){l===void 0?l=null:l!==null&&typeof l!="function"&&j("createContext: Expected the optional second argument to be a function. Instead received: %s",l);var p={$$typeof:_,_calculateChangedBits:l,_currentValue:i,_currentValue2:i,_threadCount:0,Provider:null,Consumer:null};p.Provider={$$typeof:g,_context:p};var v=!1,w=!1;{var N={$$typeof:_,_context:p,_calculateChangedBits:p._calculateChangedBits};Object.defineProperties(N,{Provider:{get:function(){return w||(w=!0,j("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),p.Provider},set:function(T){p.Provider=T}},_currentValue:{get:function(){return p._currentValue},set:function(T){p._currentValue=T}},_currentValue2:{get:function(){return p._currentValue2},set:function(T){p._currentValue2=T}},_threadCount:{get:function(){return p._threadCount},set:function(T){p._threadCount=T}},Consumer:{get:function(){return v||(v=!0,j("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),p.Consumer}}}),p.Consumer=N}return p._currentRenderer=null,p._currentRenderer2=null,p}function dr(i){var l={$$typeof:Z,_ctor:i,_status:-1,_result:null};{var p,v;Object.defineProperties(l,{defaultProps:{configurable:!0,get:function(){return p},set:function(w){j("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."),p=w,Object.defineProperty(l,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return v},set:function(w){j("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."),v=w,Object.defineProperty(l,"propTypes",{enumerable:!0})}}})}return l}function hr(i){return i!=null&&i.$$typeof===q?j("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof i!="function"?j("forwardRef requires a render function but was given %s.",i===null?"null":typeof i):i.length!==0&&i.length!==2&&j("forwardRef render functions accept exactly two parameters: props and ref. %s",i.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),i!=null&&(i.defaultProps!=null||i.propTypes!=null)&&j("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:C,render:i}}function Oe(i){return typeof i=="string"||typeof i=="function"||i===u||i===E||i===h||i===f||i===P||i===B||typeof i=="object"&&i!==null&&(i.$$typeof===Z||i.$$typeof===q||i.$$typeof===g||i.$$typeof===_||i.$$typeof===C||i.$$typeof===$||i.$$typeof===z||i.$$typeof===G||i.$$typeof===F)}function c(i,l){return Oe(i)||j("memo: The first argument must be a component. Instead received: %s",i===null?"null":typeof i),{$$typeof:q,type:i,compare:l===void 0?null:l}}function y(){var i=be.current;if(i===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:
|
|
205
|
+
*/process.env.NODE_ENV!=="production"&&function(){var t=Ms,e=Wl,r="16.14.0",n=typeof Symbol=="function"&&Symbol.for,o=n?Symbol.for("react.element"):60103,s=n?Symbol.for("react.portal"):60106,c=n?Symbol.for("react.fragment"):60107,f=n?Symbol.for("react.strict_mode"):60108,d=n?Symbol.for("react.profiler"):60114,g=n?Symbol.for("react.provider"):60109,_=n?Symbol.for("react.context"):60110,S=n?Symbol.for("react.concurrent_mode"):60111,x=n?Symbol.for("react.forward_ref"):60112,P=n?Symbol.for("react.suspense"):60113,B=n?Symbol.for("react.suspense_list"):60120,z=n?Symbol.for("react.memo"):60115,Z=n?Symbol.for("react.lazy"):60116,F=n?Symbol.for("react.block"):60121,R=n?Symbol.for("react.fundamental"):60117,q=n?Symbol.for("react.responder"):60118,W=n?Symbol.for("react.scope"):60119,Y=typeof Symbol=="function"&&Symbol.iterator,k="@@iterator";function O(i){if(i===null||typeof i!="object")return null;var l=Y&&i[Y]||i[k];return typeof l=="function"?l:null}var be={current:null},xe={suspense:null},pe={current:null},et=/^(.*)[\\\/]/;function ot(i,l,p){var v="";if(l){var w=l.fileName,N=w.replace(et,"");if(/^index\./.test(N)){var T=w.match(et);if(T){var $=T[1];if($){var ae=$.replace(et,"");N=ae+"/"+N}}}v=" (at "+N+":"+l.lineNumber+")"}else p&&(v=" (created by "+p+")");return`
|
|
206
|
+
in `+(i||"Unknown")+v}var ge=1;function Ce(i){return i._status===ge?i._result:null}function Le(i,l,p){var v=l.displayName||l.name||"";return i.displayName||(v!==""?p+"("+v+")":p)}function de(i){if(i==null)return null;if(typeof i.tag=="number"&&j("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case c:return"Fragment";case s:return"Portal";case d:return"Profiler";case f:return"StrictMode";case P:return"Suspense";case B:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case _:return"Context.Consumer";case g:return"Context.Provider";case x:return Le(i,i.render,"ForwardRef");case z:return de(i.type);case F:return de(i.render);case Z:{var l=i,p=Ce(l);if(p)return de(p);break}}return null}var we={},ke=null;function oe(i){ke=i}we.getCurrentStack=null,we.getStackAddendum=function(){var i="";if(ke){var l=de(ke.type),p=ke._owner;i+=ot(l,ke._source,p&&de(p.type))}var v=we.getCurrentStack;return v&&(i+=v()||""),i};var V={current:!1},Te={ReactCurrentDispatcher:be,ReactCurrentBatchConfig:xe,ReactCurrentOwner:pe,IsSomeRendererActing:V,assign:t};t(Te,{ReactDebugCurrentFrame:we,ReactComponentTreeHook:{}});function re(i){{for(var l=arguments.length,p=new Array(l>1?l-1:0),v=1;v<l;v++)p[v-1]=arguments[v];Ye("warn",i,p)}}function j(i){{for(var l=arguments.length,p=new Array(l>1?l-1:0),v=1;v<l;v++)p[v-1]=arguments[v];Ye("error",i,p)}}function Ye(i,l,p){{var v=p.length>0&&typeof p[p.length-1]=="string"&&p[p.length-1].indexOf(`
|
|
207
|
+
in`)===0;if(!v){var w=Te.ReactDebugCurrentFrame,N=w.getStackAddendum();N!==""&&(l+="%s",p=p.concat([N]))}var T=p.map(function(ce){return""+ce});T.unshift("Warning: "+l),Function.prototype.apply.call(console[i],console,T);try{var $=0,ae="Warning: "+l.replace(/%s/g,function(){return p[$++]});throw new Error(ae)}catch{}}}var Fe={};function Se(i,l){{var p=i.constructor,v=p&&(p.displayName||p.name)||"ReactClass",w=v+"."+l;if(Fe[w])return;j("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.",l,v),Fe[w]=!0}}var je={isMounted:function(i){return!1},enqueueForceUpdate:function(i,l,p){Se(i,"forceUpdate")},enqueueReplaceState:function(i,l,p,v){Se(i,"replaceState")},enqueueSetState:function(i,l,p,v){Se(i,"setState")}},me={};Object.freeze(me);function ie(i,l,p){this.props=i,this.context=l,this.refs=me,this.updater=p||je}ie.prototype.isReactComponent={},ie.prototype.setState=function(i,l){if(!(typeof i=="object"||typeof i=="function"||i==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,i,l,"setState")},ie.prototype.forceUpdate=function(i){this.updater.enqueueForceUpdate(this,i,"forceUpdate")};{var Ae={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)."]},He=function(i,l){Object.defineProperty(ie.prototype,i,{get:function(){re("%s(...) is deprecated in plain JavaScript React classes. %s",l[0],l[1])}})};for(var ye in Ae)Ae.hasOwnProperty(ye)&&He(ye,Ae[ye])}function zt(){}zt.prototype=ie.prototype;function wt(i,l,p){this.props=i,this.context=l,this.refs=me,this.updater=p||je}var Qe=wt.prototype=new zt;Qe.constructor=wt,t(Qe,ie.prototype),Qe.isPureReactComponent=!0;function tt(){var i={current:null};return Object.seal(i),i}var rt=Object.prototype.hasOwnProperty,Ot={key:!0,ref:!0,__self:!0,__source:!0},it,st,at;at={};function ct(i){if(rt.call(i,"ref")){var l=Object.getOwnPropertyDescriptor(i,"ref").get;if(l&&l.isReactWarning)return!1}return i.ref!==void 0}function $t(i){if(rt.call(i,"key")){var l=Object.getOwnPropertyDescriptor(i,"key").get;if(l&&l.isReactWarning)return!1}return i.key!==void 0}function Ve(i,l){var p=function(){it||(it=!0,j("%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)",l))};p.isReactWarning=!0,Object.defineProperty(i,"key",{get:p,configurable:!0})}function ut(i,l){var p=function(){st||(st=!0,j("%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)",l))};p.isReactWarning=!0,Object.defineProperty(i,"ref",{get:p,configurable:!0})}function qt(i){if(typeof i.ref=="string"&&pe.current&&i.__self&&pe.current.stateNode!==i.__self){var l=de(pe.current.type);at[l]||(j('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',de(pe.current.type),i.ref),at[l]=!0)}}var Ne=function(i,l,p,v,w,N,T){var $={$$typeof:o,type:i,key:l,ref:p,props:T,_owner:N};return $._store={},Object.defineProperty($._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty($,"_self",{configurable:!1,enumerable:!1,writable:!1,value:v}),Object.defineProperty($,"_source",{configurable:!1,enumerable:!1,writable:!1,value:w}),Object.freeze&&(Object.freeze($.props),Object.freeze($)),$};function Wt(i,l,p){var v,w={},N=null,T=null,$=null,ae=null;if(l!=null){ct(l)&&(T=l.ref,qt(l)),$t(l)&&(N=""+l.key),$=l.__self===void 0?null:l.__self,ae=l.__source===void 0?null:l.__source;for(v in l)rt.call(l,v)&&!Ot.hasOwnProperty(v)&&(w[v]=l[v])}var ce=arguments.length-2;if(ce===1)w.children=p;else if(ce>1){for(var $e=Array(ce),Ee=0;Ee<ce;Ee++)$e[Ee]=arguments[Ee+2];Object.freeze&&Object.freeze($e),w.children=$e}if(i&&i.defaultProps){var pt=i.defaultProps;for(v in pt)w[v]===void 0&&(w[v]=pt[v])}if(N||T){var qe=typeof i=="function"?i.displayName||i.name||"Unknown":i;N&&Ve(w,qe),T&&ut(w,qe)}return Ne(i,N,T,$,ae,pe.current,w)}function Rt(i,l){var p=Ne(i.type,l,i.ref,i._self,i._source,i._owner,i.props);return p}function Gt(i,l,p){if(i==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+i+".");var v,w=t({},i.props),N=i.key,T=i.ref,$=i._self,ae=i._source,ce=i._owner;if(l!=null){ct(l)&&(T=l.ref,ce=pe.current),$t(l)&&(N=""+l.key);var $e;i.type&&i.type.defaultProps&&($e=i.type.defaultProps);for(v in l)rt.call(l,v)&&!Ot.hasOwnProperty(v)&&(l[v]===void 0&&$e!==void 0?w[v]=$e[v]:w[v]=l[v])}var Ee=arguments.length-2;if(Ee===1)w.children=p;else if(Ee>1){for(var pt=Array(Ee),qe=0;qe<Ee;qe++)pt[qe]=arguments[qe+2];w.children=pt}return Ne(i.type,N,T,$,ae,ce,w)}function Ue(i){return typeof i=="object"&&i!==null&&i.$$typeof===o}var Yt=".",cr=":";function Ht(i){var l=/[=:]/g,p={"=":"=0",":":"=2"},v=(""+i).replace(l,function(w){return p[w]});return"$"+v}var Qt=!1,ur=/\/+/g;function St(i){return(""+i).replace(ur,"$&/")}var lt=10,Be=[];function ft(i,l,p,v){if(Be.length){var w=Be.pop();return w.result=i,w.keyPrefix=l,w.func=p,w.context=v,w.count=0,w}else return{result:i,keyPrefix:l,func:p,context:v,count:0}}function Ie(i){i.result=null,i.keyPrefix=null,i.func=null,i.context=null,i.count=0,Be.length<lt&&Be.push(i)}function Me(i,l,p,v){var w=typeof i;(w==="undefined"||w==="boolean")&&(i=null);var N=!1;if(i===null)N=!0;else switch(w){case"string":case"number":N=!0;break;case"object":switch(i.$$typeof){case o:case s:N=!0}}if(N)return p(v,i,l===""?Yt+Et(i,0):l),1;var T,$,ae=0,ce=l===""?Yt:l+cr;if(Array.isArray(i))for(var $e=0;$e<i.length;$e++)T=i[$e],$=ce+Et(T,$e),ae+=Me(T,$,p,v);else{var Ee=O(i);if(typeof Ee=="function"){Ee===i.entries&&(Qt||re("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."),Qt=!0);for(var pt=Ee.call(i),qe,In=0;!(qe=pt.next()).done;)T=qe.value,$=ce+Et(T,In++),ae+=Me(T,$,p,v)}else if(w==="object"){var Mr="";Mr=" If you meant to render a collection of children, use an array instead."+we.getStackAddendum();var _r=""+i;throw Error("Objects are not valid as a React child (found: "+(_r==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":_r)+")."+Mr)}}return ae}function dt(i,l,p){return i==null?0:Me(i,"",l,p)}function Et(i,l){return typeof i=="object"&&i!==null&&i.key!=null?Ht(i.key):l.toString(36)}function lr(i,l,p){var v=i.func,w=i.context;v.call(w,l,i.count++)}function Jt(i,l,p){if(i==null)return i;var v=ft(null,null,l,p);dt(i,lr,v),Ie(v)}function fr(i,l,p){var v=i.result,w=i.keyPrefix,N=i.func,T=i.context,$=N.call(T,l,i.count++);Array.isArray($)?ht($,v,p,function(ae){return ae}):$!=null&&(Ue($)&&($=Rt($,w+($.key&&(!l||l.key!==$.key)?St($.key)+"/":"")+p)),v.push($))}function ht(i,l,p,v,w){var N="";p!=null&&(N=St(p)+"/");var T=ft(l,N,v,w);dt(i,fr,T),Ie(T)}function Pt(i,l,p){if(i==null)return i;var v=[];return ht(i,v,null,l,p),v}function Je(i){return dt(i,function(){return null},null)}function dr(i){var l=[];return ht(i,l,null,function(p){return p}),l}function Kt(i){if(!Ue(i))throw Error("React.Children.only expected to receive a single React element child.");return i}function hr(i,l){l===void 0?l=null:l!==null&&typeof l!="function"&&j("createContext: Expected the optional second argument to be a function. Instead received: %s",l);var p={$$typeof:_,_calculateChangedBits:l,_currentValue:i,_currentValue2:i,_threadCount:0,Provider:null,Consumer:null};p.Provider={$$typeof:g,_context:p};var v=!1,w=!1;{var N={$$typeof:_,_context:p,_calculateChangedBits:p._calculateChangedBits};Object.defineProperties(N,{Provider:{get:function(){return w||(w=!0,j("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),p.Provider},set:function(T){p.Provider=T}},_currentValue:{get:function(){return p._currentValue},set:function(T){p._currentValue=T}},_currentValue2:{get:function(){return p._currentValue2},set:function(T){p._currentValue2=T}},_threadCount:{get:function(){return p._threadCount},set:function(T){p._threadCount=T}},Consumer:{get:function(){return v||(v=!0,j("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),p.Consumer}}}),p.Consumer=N}return p._currentRenderer=null,p._currentRenderer2=null,p}function pr(i){var l={$$typeof:Z,_ctor:i,_status:-1,_result:null};{var p,v;Object.defineProperties(l,{defaultProps:{configurable:!0,get:function(){return p},set:function(w){j("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."),p=w,Object.defineProperty(l,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return v},set:function(w){j("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."),v=w,Object.defineProperty(l,"propTypes",{enumerable:!0})}}})}return l}function gr(i){return i!=null&&i.$$typeof===z?j("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof i!="function"?j("forwardRef requires a render function but was given %s.",i===null?"null":typeof i):i.length!==0&&i.length!==2&&j("forwardRef render functions accept exactly two parameters: props and ref. %s",i.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),i!=null&&(i.defaultProps!=null||i.propTypes!=null)&&j("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:x,render:i}}function Oe(i){return typeof i=="string"||typeof i=="function"||i===c||i===S||i===d||i===f||i===P||i===B||typeof i=="object"&&i!==null&&(i.$$typeof===Z||i.$$typeof===z||i.$$typeof===g||i.$$typeof===_||i.$$typeof===x||i.$$typeof===R||i.$$typeof===q||i.$$typeof===W||i.$$typeof===F)}function u(i,l){return Oe(i)||j("memo: The first argument must be a component. Instead received: %s",i===null?"null":typeof i),{$$typeof:z,type:i,compare:l===void 0?null:l}}function y(){var i=be.current;if(i===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:
|
|
200
208
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
201
209
|
2. You might be breaking the Rules of Hooks
|
|
202
210
|
3. You might have more than one copy of React in the same app
|
|
203
211
|
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return i}function b(i,l){var p=y();if(l!==void 0&&j("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",l,typeof l=="number"&&Array.isArray(arguments[2])?`
|
|
204
212
|
|
|
205
|
-
Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://fb.me/rules-of-hooks`:""),i._context!==void 0){var v=i._context;v.Consumer===i?j("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?"):v.Provider===i&&j("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return p.useContext(i,l)}function
|
|
213
|
+
Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://fb.me/rules-of-hooks`:""),i._context!==void 0){var v=i._context;v.Consumer===i?j("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?"):v.Provider===i&&j("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return p.useContext(i,l)}function C(i){var l=y();return l.useState(i)}function G(i,l,p){var v=y();return v.useReducer(i,l,p)}function U(i){var l=y();return l.useRef(i)}function L(i,l){var p=y();return p.useEffect(i,l)}function M(i,l){var p=y();return p.useLayoutEffect(i,l)}function fe(i,l){var p=y();return p.useCallback(i,l)}function K(i,l){var p=y();return p.useMemo(i,l)}function ee(i,l,p){var v=y();return v.useImperativeHandle(i,l,p)}function se(i,l){{var p=y();return p.useDebugValue(i,l)}}var ze;ze=!1;function kt(){if(pe.current){var i=de(pe.current.type);if(i)return`
|
|
206
214
|
|
|
207
215
|
Check the render method of \``+i+"`."}return""}function De(i){if(i!==void 0){var l=i.fileName.replace(/^.*[\\\/]/,""),p=i.lineNumber;return`
|
|
208
216
|
|
|
209
|
-
Check your code at `+l+":"+p+"."}return""}function
|
|
217
|
+
Check your code at `+l+":"+p+"."}return""}function Cn(i){return i!=null?De(i.__source):""}var Rr={};function Tn(i){var l=kt();if(!l){var p=typeof i=="string"?i:i.displayName||i.name;p&&(l=`
|
|
210
218
|
|
|
211
|
-
Check the top-level render call using <`+p+">.")}return l}function pr(i,l){if(!(!i._store||i._store.validated||i.key!=null)){i._store.validated=!0;var p=vn(l);if(!Rr[p]){Rr[p]=!0;var v="";i&&i._owner&&i._owner!==pe.current&&(v=" It was passed a child from "+de(i._owner.type)+"."),ne(i),j('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',p,v),ne(null)}}}function Pt(i,l){if(typeof i=="object"){if(Array.isArray(i))for(var p=0;p<i.length;p++){var v=i[p];Ue(v)&&pr(v,l)}else if(Ue(i))i._store&&(i._store.validated=!0);else if(i){var w=O(i);if(typeof w=="function"&&w!==i.entries)for(var N=w.call(i),T;!(T=N.next()).done;)Ue(T.value)&&pr(T.value,l)}}}function $r(i){{var l=i.type;if(l==null||typeof l=="string")return;var p=de(l),v;if(typeof l=="function")v=l.propTypes;else if(typeof l=="object"&&(l.$$typeof===C||l.$$typeof===q))v=l.propTypes;else return;v?(ne(i),e(v,i.props,"prop",p,we.getStackAddendum),ne(null)):l.PropTypes!==void 0&&!qe&&(qe=!0,j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",p||"Unknown")),typeof l.getDefaultProps=="function"&&!l.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function gr(i){{ne(i);for(var l=Object.keys(i.props),p=0;p<l.length;p++){var v=l[p];if(v!=="children"&&v!=="key"){j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",v);break}}i.ref!==null&&j("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null)}}function Pr(i,l,p){var v=Oe(i);if(!v){var w="";(i===void 0||typeof i=="object"&&i!==null&&Object.keys(i).length===0)&&(w+=" 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 N=yn(l);N?w+=N:w+=$t();var T;i===null?T="null":Array.isArray(i)?T="array":i!==void 0&&i.$$typeof===o?(T="<"+(de(i.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):T=typeof i,j("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",T,w)}var R=qt.apply(this,arguments);if(R==null)return R;if(v)for(var se=2;se<arguments.length;se++)Pt(arguments[se],i);return i===u?gr(R):$r(R),R}var kr=!1;function _n(i){var l=Pr.bind(null,i);return l.type=i,kr||(kr=!0,re("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(l,"type",{enumerable:!1,get:function(){return re("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:i}),i}}),l}function bn(i,l,p){for(var v=zt.apply(this,arguments),w=2;w<arguments.length;w++)Pt(arguments[w],v.type);return $r(v),v}try{var jr=Object.freeze({}),wn=new Map([[jr,null]]),mr=new Set([jr]);wn.set(0,0),mr.add(0)}catch{}var Sn=Pr,En=bn,Cn=_n,xn={map:Rt,forEach:Qt,count:Je,toArray:lr,only:Ht};H.Children=xn,H.Component=oe,H.Fragment=u,H.Profiler=h,H.PureComponent=_t,H.StrictMode=f,H.Suspense=P,H.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Te,H.cloneElement=En,H.createContext=fr,H.createElement=Sn,H.createFactory=Cn,H.createRef=tt,H.forwardRef=hr,H.isValidElement=Ue,H.lazy=dr,H.memo=c,H.useCallback=le,H.useContext=b,H.useDebugValue=ie,H.useEffect=L,H.useImperativeHandle=ee,H.useLayoutEffect=M,H.useMemo=K,H.useReducer=W,H.useRef=U,H.useState=x,H.version=r}();process.env.NODE_ENV==="production"?Cr.exports=J:Cr.exports=H;var Xt=Cr.exports,Mn={sdkSemver:"1.13.0",techVersion:Xt.version,sdkCode:"J"},Gl=function(t){Ps(e,t);function e(r){var n=t.call(this,r)||this;return n.imageRef=Xt.createRef(),n}return e.prototype.componentDidMount=function(){this.htmlLayerInstance=new jc(this.imageRef.current,this.props.cldImg,this.props.plugins,Mn)},e.prototype.componentDidUpdate=function(){Kr(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,Mn)},e.prototype.componentWillUnmount=function(){Kr(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},e.prototype.render=function(){var r=this.props;r.cldImg,r.plugins;var n=ks(r,["cldImg","plugins"]);if(xo())return Xt.createElement("img",Er({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=_l(this.props.plugins,this.props.cldImg,Mn);return Xt.createElement("img",Er({},n,{src:o}))},e}(Xt.Component),Wl=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(t){Ps(e,t);function e(r){var n=t.call(this,r)||this;return n.videoRef=Cr.exports.createRef(),n.attachRef=n.attachRef.bind(n),n}return e.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new ul(this.videoRef&&this.videoRef.current,this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster,{useFetchFormat:this.props.useFetchFormat})},e.prototype.componentDidUpdate=function(){Kr(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},e.prototype.componentWillUnmount=function(){Kr(this.htmlVideoLayerInstance.htmlPluginState)},e.prototype.getVideoAttributes=function(){var r=this,n={};return Wl.forEach(function(o){o in r.props&&(n[o]=r.props[o])}),n},e.prototype.attachRef=function(r){this.videoRef.current=r;var n=this.props.innerRef;n&&(n instanceof Function?n(r):n.current=r)},e.prototype.render=function(){var r=this.props;r.cldVid,r.cldPoster,r.plugins,r.sources,r.innerRef,r.useFetchFormat;var n=ks(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return Xt.createElement("video",Er({},n,{ref:this.attachRef}))},e})(Cr.exports.Component);function Yl(t){return!(typeof t!="object"||t instanceof Array)}class Ql{filterOutNonSupportedKeys(e,r){const n=Object.create({});return Yl(e)?(Object.keys(e).forEach(o=>{r.indexOf(o)>=0?n[o]=e[o]:console.warn("Warning - unsupported key provided to configuration: ",o)}),n):Object.create({})}}const _i=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class Po extends Ql{constructor(e){super();const r=this.filterOutNonSupportedKeys(e,_i);Object.assign(this,{secure:!0},r)}extend(e){const r=this.filterOutNonSupportedKeys(e,_i);return new Po(Object.assign({},this,r))}setCname(e){return this.cname=e,this}setSecureDistribution(e){return this.secureDistribution=e,this}setPrivateCdn(e){return this.privateCdn=e,this}setSignUrl(e){return this.signUrl=e,this}setLongUrlSignature(e){return this.longUrlSignature=e,this}setShorten(e){return this.shorten=e,this}setUseRootPath(e){return this.useRootPath=e,this}setSecure(e){return this.secure=e,this}setForceVersion(e){return this.forceVersion=e,this}setQueryParams(e){return this.queryParams=e,this}}class xr{constructor(e){this.values=[],this.delimiter=":",this.hasValue(e)&&this.addValue(e)}toString(){return this.values.join(this.delimiter)}hasValue(e){return typeof e<"u"&&e!==null&&e!==""}addValue(e){return Array.isArray(e)?this.values=this.values.concat(e):this.values.push(e),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(e){return this.delimiter=e,this}}class Hl extends Error{constructor(e="Unsupported"){super(e)}}function ko(t){return new Hl(t)}function Jl(){return this._qualifierModel||{error:ko(`unsupported qualifier ${this.constructor.name}`)}}class Kl{constructor(){this._qualifierModel={}}toJson(){return Jl.apply(this)}}class gn extends Kl{constructor(e,r){super(),this.delimiter="_",this.key=e,r instanceof xr?this.qualifierValue=r:(this.qualifierValue=new xr,this.qualifierValue.addValue(r))}toString(){const{key:e,delimiter:r,qualifierValue:n}=this;return`${e}${r}${n.toString()}`}addValue(e){return this.qualifierValue.addValue(e),this}}class xt extends gn{constructor(e,r){let n;r?n=new xr([e,`${r}`]).setDelimiter(":"):n=e,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function Xl(t,e){const r=Array.from(t.entries());return e.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Zl(){var t,e,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(e=(t=this._actionModel)===null||t===void 0?void 0:t.source)===null||e===void 0?void 0:e.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:ko(`unsupported action ${this.constructor.name}`)}}class ef{constructor(){this._actionModel={}}toJson(){return Zl.apply(this)}}class jo extends ef{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(e){return this.actionTag=e,this}toString(){return this.prepareQualifiers(),Xl(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(e){if(typeof e=="string"){const[r,n]=e.toLowerCase().split("_");r==="fl"?this.flags.push(new xt(n)):this.qualifiers.set(r,new gn(r,n))}else this.qualifiers.set(e.key,e);return this}addFlag(e){return typeof e=="string"?this.flags.push(new xt(e)):e instanceof xt&&this.flags.push(e),this}addValueToQualifier(e,r){return this.qualifiers.get(e).addValue(r),this}}function tf(t){return t&&(t.match(/^#/)?`rgb:${t.substr(1)}`:t)}class rf extends jo{constructor(e){super(),this._actionModel={},this.addQualifier(new gn("b",new xr(tf(e)).setDelimiter("_"))),this._actionModel.color=e,this._actionModel.actionType="backgroundColor"}static fromJson(e){const{color:r}=e;return new this(r)}}class bi{constructor(e){this.raw=e}toString(){return this.raw}toJson(){return{error:ko(`unsupported action ${this.constructor.name}`)}}}function nf(t){const e=t;return"error"in e&&!!e.error}function of(){return new xt("lossy")}function sf(){return new xt("preserve_transparency")}function af(t){return new xt("progressive",t)}class cf extends xr{constructor(e){super(e),this.val=e}getValue(){return this.val}}function Nt(t){const e={};return Object.keys(t).forEach(r=>{e[t[r]]=r}),e}const uf={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},lf={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},ff={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},df={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},hf={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},pf={444:"CHROMA_444",420:"CHROMA_420"},gf={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};Nt(pf);Nt(gf);Nt(uf);const mf=Nt(lf);Nt(ff);Nt(df);Nt(hf);class yf extends jo{constructor(e,r,n){super(),this._actionModel={};let o;r instanceof cf?o=r.getValue():o=r,this._actionModel.actionType=mf[e],this._actionModel[n]=o,this.addQualifier(new gn(e,r))}}class vf extends xt{constructor(e){super("progressive",e)}}class Zr extends yf{constructor(e,r){super(e,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(of()),this}progressive(e){return e instanceof vf?(this._actionModel.progressive={mode:e.getFlagValue()},this.addFlag(e)):(this._actionModel.progressive={mode:e},this.addFlag(af(e))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(sf()),this}static fromJson(e){const{formatType:r,lossy:n,progressive:o,preserveTransparency:a}=e;let u;return r?u=new this("f",r):u=new this("f"),o&&(o.mode?u.progressive(o.mode):u.progressive()),n&&u.lossy(),a&&u.preserveTransparency(),u}}class mn{constructor(){this.actions=[]}addAction(e){let r;if(typeof e=="string"){if(e.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new bi(e)}else r=e;return this.actions.push(r),this}addTransformation(e){return e instanceof mn?this.actions=this.actions.concat(e.actions):this.actions.push(new bi(e)),this}toString(){return this.actions.map(e=>e.toString()).filter(e=>e).join("/")}animated(e){return this.addAction(e)}border(e){return this.addAction(e)}reshape(e){return this.addAction(e)}resize(e){return this.addAction(e)}quality(e){return this.addAction(new Zr("q",e)),this}format(e){return this.addAction(new Zr("f",e)),this}roundCorners(e){return this.addAction(e)}overlay(e){return this.addAction(e)}underlay(e){return e.setLayerType("u"),this.addAction(e)}addVariable(e){return this.addAction(e)}conditional(e){return this.addAction(e)}effect(e){return this.addAction(e)}adjust(e){return this.addAction(e)}rotate(e){return this.addAction(e)}namedTransformation(e){return this.addAction(e)}delivery(e){return this.addAction(e)}backgroundColor(e){return this.addAction(new rf(e))}psdTools(e){return this.addAction(e)}extract(e){return this.addAction(e)}addFlag(e){const r=new jo;let n=e;return typeof e=="string"&&(n=new xt(e)),r.addQualifier(n),this.addAction(r)}customFunction(e){return this.addAction(e)}transcode(e){return this.addAction(e)}videoEdit(e){return this.addAction(e)}toJson(){const e=[];for(const r of this.actions){const n=r.toJson();if(nf(n))return n;e.push(n)}return{actions:e}}}class _f extends mn{}class bf extends mn{}function wf(t){return t.match(/^https?:\//)}function Sf(t){return t.indexOf("/")<0}function Ef(t){return t.match(/^v[0-9]+/)}function Cf(t,e){const r=e.secure,n=e.privateCdn,o=e.cname,a=e.secureDistribution;return!r&&!o?`http://res.cloudinary.com/${t}`:r&&!a&&n?`https://${t}-res.cloudinary.com`:r&&!a?`https://res.cloudinary.com/${t}`:r&&a&&n?`https://${a}`:r&&a?`https://${a}/${t}`:!r&&o?`http://${o}/${t}`:"ERROR"}function xf(t){return t||"image"}function Tf(t){return t||"upload"}function Af(t,e,r){const n=r!==!1;return e?`v${e}`:Ef(t)||wf(t)||Sf(t)?"":n?"v1":""}function Io(t,e,r){let n=e>>0,o=String(r);return t.length>n?String(t):(n=n-t.length,n>o.length&&(o+=Of(o,n/o.length)),o.slice(0,n)+String(t))}function Of(t,e){let r=e,n="";for(;r>0;)n+=t,r--;return n}const Rf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",en={};let wi=0;Rf.split("").forEach(t=>{let e=wi.toString(2);e=Io(e,6,"0"),en[e]=t,wi++});function $f(t){if(t.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return t.split(".").reverse().join(".")}function Pf(t){if(t.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return t.split(".").map(e=>{const r=+e;if(isNaN(r)||r<0)throw"Invalid version number provided";return Io(e,2,"0")}).join(".")}function Si(t){let e="";const n=t.split(".").length*6,o=$f(t),a=Pf(o);let f=parseInt(a.split(".").join("")).toString(2);if(f=Io(f,n,"0"),f.length%6!==0)throw"Version must be smaller than 43.21.26)";return f.match(/.{1,6}/g).forEach(h=>{e+=en[h]}),e}function kf(t){const e={sdkSemver:t.sdkSemver,techVersion:t.techVersion,sdkCode:t.sdkCode,product:t.product,feature:"0",osType:t.osType,osVersion:t.osVersion};return t.accessibility&&(e.feature="D"),t.lazyload&&(e.feature="C"),t.responsive&&(e.feature="A"),t.placeholder&&(e.feature="B"),e}const jf="1.21.0";function If(t){const[e,r]=t.split("."),n=parseInt(e).toString(2),o=parseInt(r).toString(2),a=n.padStart(6,"0"),u=o.padStart(6,"0");return en[a]+en[u]}function Mf(){const t="0.0.0";if(typeof window<"u")return t;try{return process.versions.node||t}catch{return t}}function Df(t){const e={techVersion:Mf(),sdkCode:"T",sdkSemver:jf.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return t?Object.assign(Object.assign({},e),t):e}function Ei(t){const e=Df(t),r=kf(e);try{const n=Lf(r.techVersion),o=Si(r.sdkSemver),a=Si(n),u=If(r.osVersion),f=r.feature,h=r.sdkCode,{product:g,osType:_}=r;return`D${g}${h}${o}${a}${_}${u}${f}`}catch{return"E"}}function Lf(t){const e=t.split(".");return`${e[0]}.${e[1]}`}const Ci={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class Ff{constructor(e,r={},n){this.setPublicID(e),this.setCloudConfig(r),this.setURLConfig(n)}setURLConfig(e){return this.urlConfig=new Po(e),this}setCloudConfig(e){return this.cloudName=e.cloudName,this.apiKey=e.apiKey,this.apiSecret=e.apiSecret,this.authToken=e.authToken,this}setPublicID(e){return this.publicID=e?e.toString():"",this}setDeliveryType(e){return this.deliveryType=e,this}setSuffix(e){return this.suffix=e,this}setSignature(e){return this.signature=e,this}setVersion(e){return e&&(this.version=e),this}setAssetType(e){return e&&(this.assetType=e),this}sign(){return this}toURL(e={}){return this.createCloudinaryURL(null,e.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";const e=this.suffix&&this.suffix.indexOf(".")>=0,r=this.suffix&&this.suffix.indexOf("/")>=0;if(e||r)throw"`suffix`` should not include . or /"}getResourceType(){const e=xf(this.assetType),r=Tf(this.deliveryType),n=!!this.suffix,o=`${e}/${r}`,a=Ci[`${e}/${r}`],u=this.urlConfig.useRootPath,f=this.urlConfig.shorten;if(u){if(o==="image/upload")return"";throw new Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${o} instead`)}if(f&&o==="image/upload")return"iu";if(n){if(a)return a;throw new Error(`URL Suffix only supported for ${Object.keys(Ci).join(", ")}, Provided: ${o} instead`)}return o}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(e,r){if(!this.publicID)return"";this.validateAssetForURLCreation();const n=Cf(this.cloudName,this.urlConfig),o=e?e.toString():"",a=Af(this.publicID,this.version,this.urlConfig.forceVersion),u=this.publicID;if(typeof e=="string")return[n,this.getResourceType(),this.getSignature(),o,a,u.replace(/,/g,"%2C"),this.suffix].filter(h=>h).join("/");{const f=[encodeURI(n),this.getResourceType(),this.getSignature(),encodeURI(o),a,encodeURI(u).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(_=>_).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),h=this.urlConfig.analytics!==!1&&!u.includes("?");let g="";if(typeof this.urlConfig.queryParams=="object")try{const _=new URLSearchParams(this.urlConfig.queryParams);h&&_.set("_a",Ei(r)),g=_.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 g=this.urlConfig.queryParams||"",h&&(g+=`${g.length>0?"&":""}_a=${Ei(r)}`);return g?`${f}?${g}`:f}}}class Gs extends Ff{constructor(e,r,n,o){super(e,r,n),this.transformation=o}animated(e){return this.transformation.animated(e),this}border(e){return this.transformation.border(e),this}reshape(e){return this.transformation.reshape(e),this}resize(e){return this.transformation.resize(e),this}quality(e){return this.addAction(new Zr("q",e)),this}format(e){return this.addAction(new Zr("f",e)),this}roundCorners(e){return this.transformation.roundCorners(e),this}overlay(e){return this.transformation.overlay(e),this}addVariable(e){return this.transformation.addVariable(e),this}conditional(e){return this.transformation.conditional(e),this}effect(e){return this.transformation.effect(e),this}adjust(e){return this.transformation.adjust(e),this}rotate(e){return this.transformation.rotate(e),this}namedTransformation(e){return this.transformation.namedTransformation(e),this}delivery(e){return this.transformation.delivery(e),this}backgroundColor(e){return this.transformation.backgroundColor(e),this}psdTools(e){return this.transformation.psdTools(e),this}extract(e){return this.transformation.extract(e),this}addFlag(e){return this.transformation.addFlag(e),this}customFunction(e){return this.transformation.customFunction(e),this}addAction(e){return this.transformation.addAction(e),this}addTransformation(e){return this.transformation.addTransformation(e),this}toString(){return this.transformation.toString()}underlay(e){return this.transformation.underlay(e),this}toURL(e={}){return this.createCloudinaryURL(this.transformation,e==null?void 0:e.trackedAnalytics)}}class Vf extends Gs{constructor(e,r,n){super(e,r,n,new _f)}}class Nf extends Gs{constructor(e,r,n){super(e,r,n,new bf),this.assetType="video"}transcode(e){return this.transformation.transcode(e),this}videoEdit(e){return this.transformation.videoEdit(e),this}}class Uf{constructor(e){e&&(this.cloudinaryConfig=e)}image(e){return new Vf(e,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(e){return new Nf(e,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(e){return this.cloudinaryConfig=e,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const Bf=({publicId:t,format:e="webp"})=>{const r=fe.useMemo(()=>new Uf({cloud:{cloudName:"fluid-attacks"}}),[]);return fe.useMemo(()=>r.image(t).format(e),[r,t,e])},qf=({alt:t="img",height:e="",width:r="",plugins:n=[hl(),yl()],publicId:o})=>{const a=Bf({publicId:o});return Sr.jsx(Gl,{alt:t,cldImg:a,height:e,plugins:n,width:r})},Ws=fe.memo(qf),zf=cn(Hi)`
|
|
219
|
+
Check the top-level render call using <`+p+">.")}return l}function mr(i,l){if(!(!i._store||i._store.validated||i.key!=null)){i._store.validated=!0;var p=Tn(l);if(!Rr[p]){Rr[p]=!0;var v="";i&&i._owner&&i._owner!==pe.current&&(v=" It was passed a child from "+de(i._owner.type)+"."),oe(i),j('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',p,v),oe(null)}}}function jt(i,l){if(typeof i=="object"){if(Array.isArray(i))for(var p=0;p<i.length;p++){var v=i[p];Ue(v)&&mr(v,l)}else if(Ue(i))i._store&&(i._store.validated=!0);else if(i){var w=O(i);if(typeof w=="function"&&w!==i.entries)for(var N=w.call(i),T;!(T=N.next()).done;)Ue(T.value)&&mr(T.value,l)}}}function Pr(i){{var l=i.type;if(l==null||typeof l=="string")return;var p=de(l),v;if(typeof l=="function")v=l.propTypes;else if(typeof l=="object"&&(l.$$typeof===x||l.$$typeof===z))v=l.propTypes;else return;v?(oe(i),e(v,i.props,"prop",p,we.getStackAddendum),oe(null)):l.PropTypes!==void 0&&!ze&&(ze=!0,j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",p||"Unknown")),typeof l.getDefaultProps=="function"&&!l.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function yr(i){{oe(i);for(var l=Object.keys(i.props),p=0;p<l.length;p++){var v=l[p];if(v!=="children"&&v!=="key"){j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",v);break}}i.ref!==null&&j("Invalid attribute `ref` supplied to `React.Fragment`."),oe(null)}}function kr(i,l,p){var v=Oe(i);if(!v){var w="";(i===void 0||typeof i=="object"&&i!==null&&Object.keys(i).length===0)&&(w+=" 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 N=Cn(l);N?w+=N:w+=kt();var T;i===null?T="null":Array.isArray(i)?T="array":i!==void 0&&i.$$typeof===o?(T="<"+(de(i.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):T=typeof i,j("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",T,w)}var $=Wt.apply(this,arguments);if($==null)return $;if(v)for(var ae=2;ae<arguments.length;ae++)jt(arguments[ae],i);return i===c?yr($):Pr($),$}var jr=!1;function An(i){var l=kr.bind(null,i);return l.type=i,jr||(jr=!0,re("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(l,"type",{enumerable:!1,get:function(){return re("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:i}),i}}),l}function On(i,l,p){for(var v=Gt.apply(this,arguments),w=2;w<arguments.length;w++)jt(arguments[w],v.type);return Pr(v),v}try{var Ir=Object.freeze({}),$n=new Map([[Ir,null]]),vr=new Set([Ir]);$n.set(0,0),vr.add(0)}catch{}var Rn=kr,Pn=On,kn=An,jn={map:Pt,forEach:Jt,count:Je,toArray:dr,only:Kt};Q.Children=jn,Q.Component=ie,Q.Fragment=c,Q.Profiler=d,Q.PureComponent=wt,Q.StrictMode=f,Q.Suspense=P,Q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Te,Q.cloneElement=Pn,Q.createContext=hr,Q.createElement=Rn,Q.createFactory=kn,Q.createRef=tt,Q.forwardRef=gr,Q.isValidElement=Ue,Q.lazy=pr,Q.memo=u,Q.useCallback=fe,Q.useContext=b,Q.useDebugValue=se,Q.useEffect=L,Q.useImperativeHandle=ee,Q.useLayoutEffect=M,Q.useMemo=K,Q.useReducer=G,Q.useRef=U,Q.useState=C,Q.version=r}();process.env.NODE_ENV==="production"?Cr.exports=J:Cr.exports=Q;var er=Cr.exports,zn={sdkSemver:"1.13.0",techVersion:er.version,sdkCode:"J"},Gl=function(t){js(e,t);function e(r){var n=t.call(this,r)||this;return n.imageRef=er.createRef(),n}return e.prototype.componentDidMount=function(){this.htmlLayerInstance=new Ic(this.imageRef.current,this.props.cldImg,this.props.plugins,zn)},e.prototype.componentDidUpdate=function(){Xr(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,zn)},e.prototype.componentWillUnmount=function(){Xr(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},e.prototype.render=function(){var r=this.props;r.cldImg,r.plugins;var n=Is(r,["cldImg","plugins"]);if(To())return er.createElement("img",xr({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=bl(this.props.plugins,this.props.cldImg,zn);return er.createElement("img",xr({},n,{src:o}))},e}(er.Component),Yl=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(t){js(e,t);function e(r){var n=t.call(this,r)||this;return n.videoRef=Cr.exports.createRef(),n.attachRef=n.attachRef.bind(n),n}return e.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new ll(this.videoRef&&this.videoRef.current,this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster,{useFetchFormat:this.props.useFetchFormat})},e.prototype.componentDidUpdate=function(){Xr(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},e.prototype.componentWillUnmount=function(){Xr(this.htmlVideoLayerInstance.htmlPluginState)},e.prototype.getVideoAttributes=function(){var r=this,n={};return Yl.forEach(function(o){o in r.props&&(n[o]=r.props[o])}),n},e.prototype.attachRef=function(r){this.videoRef.current=r;var n=this.props.innerRef;n&&(n instanceof Function?n(r):n.current=r)},e.prototype.render=function(){var r=this.props;r.cldVid,r.cldPoster,r.plugins,r.sources,r.innerRef,r.useFetchFormat;var n=Is(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return er.createElement("video",xr({},n,{ref:this.attachRef}))},e})(Cr.exports.Component);function Hl(t){return!(typeof t!="object"||t instanceof Array)}class Ql{filterOutNonSupportedKeys(e,r){const n=Object.create({});return Hl(e)?(Object.keys(e).forEach(o=>{r.indexOf(o)>=0?n[o]=e[o]:console.warn("Warning - unsupported key provided to configuration: ",o)}),n):Object.create({})}}const bi=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class ko extends Ql{constructor(e){super();const r=this.filterOutNonSupportedKeys(e,bi);Object.assign(this,{secure:!0},r)}extend(e){const r=this.filterOutNonSupportedKeys(e,bi);return new ko(Object.assign({},this,r))}setCname(e){return this.cname=e,this}setSecureDistribution(e){return this.secureDistribution=e,this}setPrivateCdn(e){return this.privateCdn=e,this}setSignUrl(e){return this.signUrl=e,this}setLongUrlSignature(e){return this.longUrlSignature=e,this}setShorten(e){return this.shorten=e,this}setUseRootPath(e){return this.useRootPath=e,this}setSecure(e){return this.secure=e,this}setForceVersion(e){return this.forceVersion=e,this}setQueryParams(e){return this.queryParams=e,this}}class Tr{constructor(e){this.values=[],this.delimiter=":",this.hasValue(e)&&this.addValue(e)}toString(){return this.values.join(this.delimiter)}hasValue(e){return typeof e<"u"&&e!==null&&e!==""}addValue(e){return Array.isArray(e)?this.values=this.values.concat(e):this.values.push(e),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(e){return this.delimiter=e,this}}class Jl extends Error{constructor(e="Unsupported"){super(e)}}function jo(t){return new Jl(t)}function Kl(){return this._qualifierModel||{error:jo(`unsupported qualifier ${this.constructor.name}`)}}class Xl{constructor(){this._qualifierModel={}}toJson(){return Kl.apply(this)}}class En extends Xl{constructor(e,r){super(),this.delimiter="_",this.key=e,r instanceof Tr?this.qualifierValue=r:(this.qualifierValue=new Tr,this.qualifierValue.addValue(r))}toString(){const{key:e,delimiter:r,qualifierValue:n}=this;return`${e}${r}${n.toString()}`}addValue(e){return this.qualifierValue.addValue(e),this}}class At extends En{constructor(e,r){let n;r?n=new Tr([e,`${r}`]).setDelimiter(":"):n=e,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function Zl(t,e){const r=Array.from(t.entries());return e.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function ef(){var t,e,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(e=(t=this._actionModel)===null||t===void 0?void 0:t.source)===null||e===void 0?void 0:e.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:jo(`unsupported action ${this.constructor.name}`)}}class tf{constructor(){this._actionModel={}}toJson(){return ef.apply(this)}}class Io extends tf{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(e){return this.actionTag=e,this}toString(){return this.prepareQualifiers(),Zl(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(e){if(typeof e=="string"){const[r,n]=e.toLowerCase().split("_");r==="fl"?this.flags.push(new At(n)):this.qualifiers.set(r,new En(r,n))}else this.qualifiers.set(e.key,e);return this}addFlag(e){return typeof e=="string"?this.flags.push(new At(e)):e instanceof At&&this.flags.push(e),this}addValueToQualifier(e,r){return this.qualifiers.get(e).addValue(r),this}}function rf(t){return t&&(t.match(/^#/)?`rgb:${t.substr(1)}`:t)}class nf extends Io{constructor(e){super(),this._actionModel={},this.addQualifier(new En("b",new Tr(rf(e)).setDelimiter("_"))),this._actionModel.color=e,this._actionModel.actionType="backgroundColor"}static fromJson(e){const{color:r}=e;return new this(r)}}class wi{constructor(e){this.raw=e}toString(){return this.raw}toJson(){return{error:jo(`unsupported action ${this.constructor.name}`)}}}function of(t){const e=t;return"error"in e&&!!e.error}function sf(){return new At("lossy")}function af(){return new At("preserve_transparency")}function cf(t){return new At("progressive",t)}class uf extends Tr{constructor(e){super(e),this.val=e}getValue(){return this.val}}function Bt(t){const e={};return Object.keys(t).forEach(r=>{e[t[r]]=r}),e}const lf={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},ff={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},df={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},hf={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},pf={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},gf={444:"CHROMA_444",420:"CHROMA_420"},mf={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};Bt(gf);Bt(mf);Bt(lf);const yf=Bt(ff);Bt(df);Bt(hf);Bt(pf);class vf extends Io{constructor(e,r,n){super(),this._actionModel={};let o;r instanceof uf?o=r.getValue():o=r,this._actionModel.actionType=yf[e],this._actionModel[n]=o,this.addQualifier(new En(e,r))}}class _f extends At{constructor(e){super("progressive",e)}}class en extends vf{constructor(e,r){super(e,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(sf()),this}progressive(e){return e instanceof _f?(this._actionModel.progressive={mode:e.getFlagValue()},this.addFlag(e)):(this._actionModel.progressive={mode:e},this.addFlag(cf(e))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(af()),this}static fromJson(e){const{formatType:r,lossy:n,progressive:o,preserveTransparency:s}=e;let c;return r?c=new this("f",r):c=new this("f"),o&&(o.mode?c.progressive(o.mode):c.progressive()),n&&c.lossy(),s&&c.preserveTransparency(),c}}class xn{constructor(){this.actions=[]}addAction(e){let r;if(typeof e=="string"){if(e.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new wi(e)}else r=e;return this.actions.push(r),this}addTransformation(e){return e instanceof xn?this.actions=this.actions.concat(e.actions):this.actions.push(new wi(e)),this}toString(){return this.actions.map(e=>e.toString()).filter(e=>e).join("/")}animated(e){return this.addAction(e)}border(e){return this.addAction(e)}reshape(e){return this.addAction(e)}resize(e){return this.addAction(e)}quality(e){return this.addAction(new en("q",e)),this}format(e){return this.addAction(new en("f",e)),this}roundCorners(e){return this.addAction(e)}overlay(e){return this.addAction(e)}underlay(e){return e.setLayerType("u"),this.addAction(e)}addVariable(e){return this.addAction(e)}conditional(e){return this.addAction(e)}effect(e){return this.addAction(e)}adjust(e){return this.addAction(e)}rotate(e){return this.addAction(e)}namedTransformation(e){return this.addAction(e)}delivery(e){return this.addAction(e)}backgroundColor(e){return this.addAction(new nf(e))}psdTools(e){return this.addAction(e)}extract(e){return this.addAction(e)}addFlag(e){const r=new Io;let n=e;return typeof e=="string"&&(n=new At(e)),r.addQualifier(n),this.addAction(r)}customFunction(e){return this.addAction(e)}transcode(e){return this.addAction(e)}videoEdit(e){return this.addAction(e)}toJson(){const e=[];for(const r of this.actions){const n=r.toJson();if(of(n))return n;e.push(n)}return{actions:e}}}class bf extends xn{}class wf extends xn{}function Sf(t){return t.match(/^https?:\//)}function Ef(t){return t.indexOf("/")<0}function xf(t){return t.match(/^v[0-9]+/)}function Cf(t,e){const r=e.secure,n=e.privateCdn,o=e.cname,s=e.secureDistribution;return!r&&!o?`http://res.cloudinary.com/${t}`:r&&!s&&n?`https://${t}-res.cloudinary.com`:r&&!s?`https://res.cloudinary.com/${t}`:r&&s&&n?`https://${s}`:r&&s?`https://${s}/${t}`:!r&&o?`http://${o}/${t}`:"ERROR"}function Tf(t){return t||"image"}function Af(t){return t||"upload"}function Of(t,e,r){const n=r!==!1;return e?`v${e}`:xf(t)||Sf(t)||Ef(t)?"":n?"v1":""}function Mo(t,e,r){let n=e>>0,o=String(r);return t.length>n?String(t):(n=n-t.length,n>o.length&&(o+=$f(o,n/o.length)),o.slice(0,n)+String(t))}function $f(t,e){let r=e,n="";for(;r>0;)n+=t,r--;return n}const Rf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tn={};let Si=0;Rf.split("").forEach(t=>{let e=Si.toString(2);e=Mo(e,6,"0"),tn[e]=t,Si++});function Pf(t){if(t.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return t.split(".").reverse().join(".")}function kf(t){if(t.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return t.split(".").map(e=>{const r=+e;if(isNaN(r)||r<0)throw"Invalid version number provided";return Mo(e,2,"0")}).join(".")}function Ei(t){let e="";const n=t.split(".").length*6,o=Pf(t),s=kf(o);let f=parseInt(s.split(".").join("")).toString(2);if(f=Mo(f,n,"0"),f.length%6!==0)throw"Version must be smaller than 43.21.26)";return f.match(/.{1,6}/g).forEach(d=>{e+=tn[d]}),e}function jf(t){const e={sdkSemver:t.sdkSemver,techVersion:t.techVersion,sdkCode:t.sdkCode,product:t.product,feature:"0",osType:t.osType,osVersion:t.osVersion};return t.accessibility&&(e.feature="D"),t.lazyload&&(e.feature="C"),t.responsive&&(e.feature="A"),t.placeholder&&(e.feature="B"),e}const If="1.21.0";function Mf(t){const[e,r]=t.split("."),n=parseInt(e).toString(2),o=parseInt(r).toString(2),s=n.padStart(6,"0"),c=o.padStart(6,"0");return tn[s]+tn[c]}function Df(){const t="0.0.0";if(typeof window<"u")return t;try{return process.versions.node||t}catch{return t}}function Lf(t){const e={techVersion:Df(),sdkCode:"T",sdkSemver:If.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return t?Object.assign(Object.assign({},e),t):e}function xi(t){const e=Lf(t),r=jf(e);try{const n=Ff(r.techVersion),o=Ei(r.sdkSemver),s=Ei(n),c=Mf(r.osVersion),f=r.feature,d=r.sdkCode,{product:g,osType:_}=r;return`D${g}${d}${o}${s}${_}${c}${f}`}catch{return"E"}}function Ff(t){const e=t.split(".");return`${e[0]}.${e[1]}`}const Ci={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class Vf{constructor(e,r={},n){this.setPublicID(e),this.setCloudConfig(r),this.setURLConfig(n)}setURLConfig(e){return this.urlConfig=new ko(e),this}setCloudConfig(e){return this.cloudName=e.cloudName,this.apiKey=e.apiKey,this.apiSecret=e.apiSecret,this.authToken=e.authToken,this}setPublicID(e){return this.publicID=e?e.toString():"",this}setDeliveryType(e){return this.deliveryType=e,this}setSuffix(e){return this.suffix=e,this}setSignature(e){return this.signature=e,this}setVersion(e){return e&&(this.version=e),this}setAssetType(e){return e&&(this.assetType=e),this}sign(){return this}toURL(e={}){return this.createCloudinaryURL(null,e.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";const e=this.suffix&&this.suffix.indexOf(".")>=0,r=this.suffix&&this.suffix.indexOf("/")>=0;if(e||r)throw"`suffix`` should not include . or /"}getResourceType(){const e=Tf(this.assetType),r=Af(this.deliveryType),n=!!this.suffix,o=`${e}/${r}`,s=Ci[`${e}/${r}`],c=this.urlConfig.useRootPath,f=this.urlConfig.shorten;if(c){if(o==="image/upload")return"";throw new Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${o} instead`)}if(f&&o==="image/upload")return"iu";if(n){if(s)return s;throw new Error(`URL Suffix only supported for ${Object.keys(Ci).join(", ")}, Provided: ${o} instead`)}return o}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(e,r){if(!this.publicID)return"";this.validateAssetForURLCreation();const n=Cf(this.cloudName,this.urlConfig),o=e?e.toString():"",s=Of(this.publicID,this.version,this.urlConfig.forceVersion),c=this.publicID;if(typeof e=="string")return[n,this.getResourceType(),this.getSignature(),o,s,c.replace(/,/g,"%2C"),this.suffix].filter(d=>d).join("/");{const f=[encodeURI(n),this.getResourceType(),this.getSignature(),encodeURI(o),s,encodeURI(c).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(_=>_).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),d=this.urlConfig.analytics!==!1&&!c.includes("?");let g="";if(typeof this.urlConfig.queryParams=="object")try{const _=new URLSearchParams(this.urlConfig.queryParams);d&&_.set("_a",xi(r)),g=_.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 g=this.urlConfig.queryParams||"",d&&(g+=`${g.length>0?"&":""}_a=${xi(r)}`);return g?`${f}?${g}`:f}}}class Ys extends Vf{constructor(e,r,n,o){super(e,r,n),this.transformation=o}animated(e){return this.transformation.animated(e),this}border(e){return this.transformation.border(e),this}reshape(e){return this.transformation.reshape(e),this}resize(e){return this.transformation.resize(e),this}quality(e){return this.addAction(new en("q",e)),this}format(e){return this.addAction(new en("f",e)),this}roundCorners(e){return this.transformation.roundCorners(e),this}overlay(e){return this.transformation.overlay(e),this}addVariable(e){return this.transformation.addVariable(e),this}conditional(e){return this.transformation.conditional(e),this}effect(e){return this.transformation.effect(e),this}adjust(e){return this.transformation.adjust(e),this}rotate(e){return this.transformation.rotate(e),this}namedTransformation(e){return this.transformation.namedTransformation(e),this}delivery(e){return this.transformation.delivery(e),this}backgroundColor(e){return this.transformation.backgroundColor(e),this}psdTools(e){return this.transformation.psdTools(e),this}extract(e){return this.transformation.extract(e),this}addFlag(e){return this.transformation.addFlag(e),this}customFunction(e){return this.transformation.customFunction(e),this}addAction(e){return this.transformation.addAction(e),this}addTransformation(e){return this.transformation.addTransformation(e),this}toString(){return this.transformation.toString()}underlay(e){return this.transformation.underlay(e),this}toURL(e={}){return this.createCloudinaryURL(this.transformation,e==null?void 0:e.trackedAnalytics)}}class Nf extends Ys{constructor(e,r,n){super(e,r,n,new bf)}}class Uf extends Ys{constructor(e,r,n){super(e,r,n,new wf),this.assetType="video"}transcode(e){return this.transformation.transcode(e),this}videoEdit(e){return this.transformation.videoEdit(e),this}}class Bf{constructor(e){e&&(this.cloudinaryConfig=e)}image(e){return new Nf(e,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(e){return new Uf(e,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(e){return this.cloudinaryConfig=e,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const zf=({publicId:t,format:e="webp"})=>{const r=ne.useMemo(()=>new Bf({cloud:{cloudName:"fluid-attacks"}}),[]);return ne.useMemo(()=>r.image(t).format(e),[r,t,e])},qf=({alt:t="img",height:e="",width:r="",plugins:n=[pl(),vl()],publicId:o})=>{const s=zf({publicId:o});return vt.jsx(Gl,{alt:t,cldImg:s,height:e,plugins:n,width:r})},Hs=ne.memo(qf),Wf=_t(Ji)`
|
|
212
220
|
${({$center:t=!1})=>`
|
|
213
221
|
${t?"margin: auto;":""}
|
|
214
222
|
`}
|
|
215
|
-
`,
|
|
216
|
-
|
|
223
|
+
`,Qs=ne.forwardRef(function({as:e="div",center:r,children:n,id:o,onHover:s,onLeave:c,...f},d){return vt.jsx(Wf,{$center:r,as:e,id:o,onMouseLeave:c,onMouseOver:s,ref:d,...f,children:n})}),Gf={xl:"96px",lg:"64px",md:"32px",sm:"24px",xs:"16px"},Yf=_t(Ki)`
|
|
224
|
+
${({$clickable:t,$color:e="inherit",$disabled:r=!1,$hoverColor:n,$rotation:o,$size:s})=>`
|
|
225
|
+
color: ${e};
|
|
226
|
+
cursor: ${t?"cursor":"inherit"};
|
|
227
|
+
font-size: ${Gf[s]};
|
|
228
|
+
line-height: 0;
|
|
229
|
+
vertical-align: middle;
|
|
230
|
+
pointer-events: inherit;
|
|
231
|
+
opacity: ${r?"0.5":"1"};
|
|
232
|
+
|
|
233
|
+
> svg {
|
|
234
|
+
transform: ${o===void 0?"":`rotate(${o}deg)`};
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
${()=>{const c=n===void 0?"filter: brightness(50%);":`color: ${n};`;return t===!0?`
|
|
238
|
+
&:hover {
|
|
239
|
+
${c}
|
|
240
|
+
}
|
|
241
|
+
`:""}}
|
|
242
|
+
`}
|
|
243
|
+
`;_t.div`
|
|
244
|
+
cursor: pointer;
|
|
245
|
+
transition: all 0.2s ease-in-out;
|
|
246
|
+
|
|
247
|
+
&:hover:not([disabled]) {
|
|
248
|
+
transform: scale(1.2);
|
|
249
|
+
}
|
|
250
|
+
`;const Hf=ne.forwardRef(function({iconClass:e="",clickable:r,color:n,disabled:o,hoverColor:s,icon:c,onClick:f,size:d,iconType:g="fa-solid",rotation:_,...S},x){return vt.jsx(Yf,{$clickable:r,$color:n,$disabled:o,$hoverColor:s,$rotation:_,$size:d,"data-testid":`${c}-icon`,onClick:f,ref:x,...S,children:vt.jsx("i",{className:`${g} fa-${c} ${e}`})},`${g}-${c}`)}),Qf={footer:{height:"57px",width:"315px"},header:{height:"35px",width:"160px"},icon:{height:"40px",width:"40px"}},Jf=({publicId:t,variant:e})=>vt.jsx(Qs,{...Qf[e],children:vt.jsx(Hs,{alt:"logo",publicId:t})}),Kf=_t(go)`
|
|
251
|
+
${({theme:t,$color:e=t.palette.gray[800],$display:r="block",$fontFamily:n=t.typography.type.poppins,$fontWeight:o="bold",$letterSpacing:s=0,$lineSpacing:c=t.spacing[1.5],$size:f,$wordBreak:d="normal"})=>`
|
|
252
|
+
color: ${e};
|
|
253
|
+
display: ${r};
|
|
254
|
+
font-family: ${n};
|
|
255
|
+
font-size: ${t.typography.heading[f]};
|
|
256
|
+
font-weight: ${t.typography.weight[o]};
|
|
257
|
+
letter-spacing: ${s};
|
|
258
|
+
line-height: ${c};
|
|
259
|
+
width: ${r==="block"?"100%":"auto"};
|
|
260
|
+
word-break: ${d};
|
|
261
|
+
`}
|
|
262
|
+
`,Xf=_t(go)`
|
|
263
|
+
${({theme:t,$color:e=t.palette.gray[600],$display:r="block",$fontFamily:n=t.typography.type.primary,$fontWeight:o="regular",$letterSpacing:s=0,$lineSpacing:c=t.spacing[1.25],$size:f,$wordBreak:d="normal"})=>`
|
|
264
|
+
color: ${e};
|
|
265
|
+
display: ${r};
|
|
266
|
+
font-family: ${n};
|
|
267
|
+
font-size: ${t.typography.heading[f]};
|
|
268
|
+
font-weight: ${o};
|
|
269
|
+
letter-spacing: ${s};
|
|
270
|
+
line-height: ${c};
|
|
271
|
+
width: ${r==="block"?"100%":"auto"};
|
|
272
|
+
word-break: ${d};
|
|
273
|
+
`}
|
|
274
|
+
`,Zf=ne.forwardRef(function({children:e,color:r,display:n,fontFamily:o,fontWeight:s,letterSpacing:c,lineSpacing:f,size:d,wordBreak:g,..._},S){return vt.jsx(Kf,{$color:r,$display:n,$fontFamily:o,$fontWeight:s,$letterSpacing:c,lineSpacing:f,$size:d,$wordBreak:g,ref:S,..._,children:e})}),ed=ne.forwardRef(function({children:e,color:r,display:n,fontFamily:o,fontWeight:s,letterSpacing:c,lineSpacing:f,size:d,wordBreak:g,..._},S){return vt.jsx(Xf,{$color:r,$display:n,$fontFamily:o,$fontWeight:s,$letterSpacing:c,lineSpacing:f,$size:d,$wordBreak:g,ref:S,..._,children:e})});exports.BaseComponent=Ji;exports.BaseSpanComponent=Ki;exports.BaseTextComponent=go;exports.CloudImage=Hs;exports.Container=Qs;exports.CustomThemeProvider=$c;exports.Heading=Zf;exports.Icon=Hf;exports.Logo=Jf;exports.Text=ed;exports.getStyledConfig=mn;exports.hiddenProps=Ti;exports.icons=Ac;exports.setBorder=dn;exports.setDisplay=hn;exports.setInteraction=gn;exports.setMargin=ln;exports.setPadding=un;exports.setPosition=fn;exports.setText=pn;exports.theme=ue;exports.uniqueIcons=Oc;exports.variantBuilder=oa;
|