@fluidattacks/design 1.2.22 → 1.2.24
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 +310 -98
- package/dist/design.mjs +3147 -2746
- package/dist/src/components/accordion/accordion-content/types.d.ts +5 -4
- package/dist/src/components/accordion/types.d.ts +4 -2
- package/dist/src/components/button/types.d.ts +1 -0
- package/dist/src/components/checkbox/index.d.ts +3 -0
- package/dist/src/components/checkbox/styles.d.ts +7 -0
- package/dist/src/components/checkbox/types.d.ts +20 -0
- package/dist/src/components/cloud-image/types.d.ts +1 -0
- package/dist/src/components/container/types.d.ts +1 -0
- package/dist/src/components/icon/types.d.ts +4 -4
- package/dist/src/components/language-selector/types.d.ts +4 -2
- package/dist/src/components/logo/types.d.ts +1 -0
- package/dist/src/components/logo-carousel/index.d.ts +3 -0
- package/dist/src/components/logo-carousel/styles.d.ts +4 -0
- package/dist/src/components/logo-carousel/types.d.ts +11 -0
- package/dist/src/components/logo-carousel/utils.d.ts +2 -0
- package/dist/src/components/message-banner/types.d.ts +3 -1
- package/dist/src/components/notification-sign/types.d.ts +1 -0
- package/dist/src/components/progress-bar/types.d.ts +1 -0
- package/dist/src/components/radio-button/index.d.ts +3 -0
- package/dist/src/components/radio-button/styles.d.ts +9 -0
- package/dist/src/components/radio-button/types.d.ts +17 -0
- package/dist/src/components/search-bar/types.d.ts +2 -0
- package/dist/src/components/tabs/types.d.ts +2 -0
- package/dist/src/components/toggle-buttons/types.d.ts +1 -0
- package/dist/src/components/tooltip/types.d.ts +1 -0
- package/dist/src/components/typography/types.d.ts +1 -0
- package/dist/src/hooks/use-cloudinary-image.d.ts +1 -0
- package/dist/src/index.d.ts +5 -0
- package/package.json +4 -4
package/dist/design.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.\\!visible{visibility:visible!important}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-\\[500px\\]{height:500px}.w-full{width:100%}.max-w-72{max-width:18rem}.max-w-min{max-width:-moz-min-content;max-width:min-content}.flex-shrink{flex-shrink:1}.flex-grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-4{gap:1rem}.self-stretch{align-self:stretch}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.px-12{padding-left:3rem;padding-right:3rem}.px-8{padding-left:2rem;padding-right:2rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\\[90px\\]{padding-top:90px;padding-bottom:90px}.align-middle{vertical-align:middle}.text-sm{font-size:.875rem;line-height:1.25rem}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@property --animate-position{syntax: "<angle>"; initial-value: 45deg; inherits: false;}@property --border-angle{syntax: "<angle>"; initial-value: 0deg; inherits: false;}@property --color-1{syntax: "<color>"; initial-value: #f32637; inherits: false;}@property --color-2{syntax: "<color>"; initial-value: #b8075d; inherits: false;}@property --btn-padding-x{syntax: "<length>"; initial-value: 16px; inherits: false;}@property --btn-padding-y{syntax: "<length>"; initial-value: 10px; inherits: false;}@property --btn-spacing{syntax: "<length>"; initial-value: 8px; inherits: false;}@property --grid-columns{syntax: "<number>"; initial-value: 12; inherits: false;}@property --grid-width{syntax: "<length>"; initial-value: 1440px; inherits: false;}@property --angle-grad{syntax: "<angle>"; initial-value: 45deg; inherits: false;}@property --opacity-grad{syntax: "<number>"; initial-value: 0; inherits: false;}@keyframes spinAnimation{to{--border-angle: 360deg}}@keyframes gradientAnimation{0%{--animate-position: 45deg}33%{--animate-position: -50deg}66%{--animate-position: -100deg}to{--animate-position: 45deg}}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react"),ml=require("react-dom"),vl=require("react-router-dom"),da=e=>({getVariant:(t,r)=>e(t)[r]}),pa=["padding","px","py","pl","pr","pt","pb","margin","mx","my","ml","mr","mt","mb","zIndex","position","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","scroll","visibility","display","height","width","maxHeight","maxWidth","minHeight","minWidth","shadow","bgColor","bgGradient","gap","flexDirection","flexGrow","justify","justifySelf","alignItems","alignSelf","wrap","color","fontFamily","fontSize","fontWeight","textAlign","whiteSpace","letterSpacing","lineSpacing","textDecoration","textOverflow","whiteSpace","wordBreak","wordWrap","cursor","transition","borderColorHover","bgColorHover","shadowHover"];var ut=function(){return ut=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},ut.apply(this,arguments)};function Cr(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function bl(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var wl=/^((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)-.*))$/,_l=bl(function(e){return wl.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Sn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ha(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ke="-ms-",Yr="-moz-",ge="-webkit-",ga="comm",Qn="rule",gi="decl",xl="@import",ya="@keyframes",$l="@layer",ma=Math.abs,yi=String.fromCharCode,Fo=Object.assign;function Sl(e,t){return et(e,0)^45?(((t<<2^et(e,0))<<2^et(e,1))<<2^et(e,2))<<2^et(e,3):0}function va(e){return e.trim()}function Xt(e,t){return(e=t.exec(e))?e[0]:e}function te(e,t,r){return e.replace(t,r)}function Rn(e,t,r){return e.indexOf(t,r)}function et(e,t){return e.charCodeAt(t)|0}function Or(e,t,r){return e.slice(t,r)}function Gt(e){return e.length}function ba(e){return e.length}function Hr(e,t){return t.push(e),e}function El(e,t){return e.map(t).join("")}function ns(e,t){return e.filter(function(r){return!Xt(r,t)})}var Jn=1,Rr=1,wa=0,Dt=0,Ue=0,Lr="";function Kn(e,t,r,n,o,i,s,c){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Jn,column:Rr,length:s,return:"",siblings:c}}function rr(e,t){return Fo(Kn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Sr(e){for(;e.root;)e=rr(e.root,{children:[e]});Hr(e,e.siblings)}function Tl(){return Ue}function Al(){return Ue=Dt>0?et(Lr,--Dt):0,Rr--,Ue===10&&(Rr=1,Jn--),Ue}function Bt(){return Ue=Dt<wa?et(Lr,Dt++):0,Rr++,Ue===10&&(Rr=1,Jn++),Ue}function hr(){return et(Lr,Dt)}function kn(){return Dt}function Xn(e,t){return Or(Lr,e,t)}function Vo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Cl(e){return Jn=Rr=1,wa=Gt(Lr=e),Dt=0,[]}function Ol(e){return Lr="",e}function Ao(e){return va(Xn(Dt-1,Bo(e===91?e+2:e===40?e+1:e)))}function Rl(e){for(;(Ue=hr())&&Ue<33;)Bt();return Vo(e)>2||Vo(Ue)>3?"":" "}function kl(e,t){for(;--t&&Bt()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return Xn(e,kn()+(t<6&&hr()==32&&Bt()==32))}function Bo(e){for(;Bt();)switch(Ue){case e:return Dt;case 34:case 39:e!==34&&e!==39&&Bo(Ue);break;case 40:e===41&&Bo(e);break;case 92:Bt();break}return Dt}function jl(e,t){for(;Bt()&&e+Ue!==57;)if(e+Ue===84&&hr()===47)break;return"/*"+Xn(t,Dt-1)+"*"+yi(e===47?e:Bt())}function Pl(e){for(;!Vo(hr());)Bt();return Xn(e,Dt)}function Il(e){return Ol(jn("",null,null,null,[""],e=Cl(e),0,[0],e))}function jn(e,t,r,n,o,i,s,c,u){for(var d=0,h=0,y=s,_=0,v=0,S=0,A=1,j=1,E=1,C=0,R="",M=o,L=i,N=n,P=R;j;)switch(S=C,C=Bt()){case 40:if(S!=108&&et(P,y-1)==58){Rn(P+=te(Ao(C),"&","&\f"),"&\f",ma(d?c[d-1]:0))!=-1&&(E=-1);break}case 34:case 39:case 91:P+=Ao(C);break;case 9:case 10:case 13:case 32:P+=Rl(S);break;case 92:P+=kl(kn()-1,7);continue;case 47:switch(hr()){case 42:case 47:Hr(Ml(jl(Bt(),kn()),t,r,u),u);break;default:P+="/"}break;case 123*A:c[d++]=Gt(P)*E;case 125*A:case 59:case 0:switch(C){case 0:case 125:j=0;case 59+h:E==-1&&(P=te(P,/\f/g,"")),v>0&&Gt(P)-y&&Hr(v>32?is(P+";",n,r,y-1,u):is(te(P," ","")+";",n,r,y-2,u),u);break;case 59:P+=";";default:if(Hr(N=os(P,t,r,d,h,o,c,R,M=[],L=[],y,i),i),C===123)if(h===0)jn(P,t,N,N,M,i,y,c,L);else switch(_===99&&et(P,3)===110?100:_){case 100:case 108:case 109:case 115:jn(e,N,N,n&&Hr(os(e,N,N,0,0,o,c,R,o,M=[],y,L),L),o,L,y,c,n?M:L);break;default:jn(P,N,N,N,[""],L,0,c,L)}}d=h=v=0,A=E=1,R=P="",y=s;break;case 58:y=1+Gt(P),v=S;default:if(A<1){if(C==123)--A;else if(C==125&&A++==0&&Al()==125)continue}switch(P+=yi(C),C*A){case 38:E=h>0?1:(P+="\f",-1);break;case 44:c[d++]=(Gt(P)-1)*E,E=1;break;case 64:hr()===45&&(P+=Ao(Bt())),_=hr(),h=y=Gt(R=P+=Pl(kn())),C++;break;case 45:S===45&&Gt(P)==2&&(A=0)}}return i}function os(e,t,r,n,o,i,s,c,u,d,h,y){for(var _=o-1,v=o===0?i:[""],S=ba(v),A=0,j=0,E=0;A<n;++A)for(var C=0,R=Or(e,_+1,_=ma(j=s[A])),M=e;C<S;++C)(M=va(j>0?v[C]+" "+R:te(R,/&\f/g,v[C])))&&(u[E++]=M);return Kn(e,t,r,o===0?Qn:c,u,d,h,y)}function Ml(e,t,r,n){return Kn(e,t,r,ga,yi(Tl()),Or(e,2,-2),0,n)}function is(e,t,r,n,o){return Kn(e,t,r,gi,Or(e,0,n),Or(e,n+1,-1),n,o)}function _a(e,t,r){switch(Sl(e,t)){case 5103:return ge+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ge+e+e;case 4789:return Yr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ge+e+Yr+e+ke+e+e;case 5936:switch(et(e,t+11)){case 114:return ge+e+ke+te(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ge+e+ke+te(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ge+e+ke+te(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return ge+e+ke+e+e;case 6165:return ge+e+ke+"flex-"+e+e;case 5187:return ge+e+te(e,/(\w+).+(:[^]+)/,ge+"box-$1$2"+ke+"flex-$1$2")+e;case 5443:return ge+e+ke+"flex-item-"+te(e,/flex-|-self/g,"")+(Xt(e,/flex-|baseline/)?"":ke+"grid-row-"+te(e,/flex-|-self/g,""))+e;case 4675:return ge+e+ke+"flex-line-pack"+te(e,/align-content|flex-|-self/g,"")+e;case 5548:return ge+e+ke+te(e,"shrink","negative")+e;case 5292:return ge+e+ke+te(e,"basis","preferred-size")+e;case 6060:return ge+"box-"+te(e,"-grow","")+ge+e+ke+te(e,"grow","positive")+e;case 4554:return ge+te(e,/([^-])(transform)/g,"$1"+ge+"$2")+e;case 6187:return te(te(te(e,/(zoom-|grab)/,ge+"$1"),/(image-set)/,ge+"$1"),e,"")+e;case 5495:case 3959:return te(e,/(image-set\([^]*)/,ge+"$1$`$1");case 4968:return te(te(e,/(.+:)(flex-)?(.*)/,ge+"box-pack:$3"+ke+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ge+e+e;case 4200:if(!Xt(e,/flex-|baseline/))return ke+"grid-column-align"+Or(e,t)+e;break;case 2592:case 3360:return ke+te(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,Xt(n.props,/grid-\w+-end/)})?~Rn(e+(r=r[t].value),"span",0)?e:ke+te(e,"-start","")+e+ke+"grid-row-span:"+(~Rn(r,"span",0)?Xt(r,/\d+/):+Xt(r,/\d+/)-+Xt(e,/\d+/))+";":ke+te(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Xt(n.props,/grid-\w+-start/)})?e:ke+te(te(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return te(e,/(.+)-inline(.+)/,ge+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Gt(e)-1-t>6)switch(et(e,t+1)){case 109:if(et(e,t+4)!==45)break;case 102:return te(e,/(.+:)(.+)-([^]+)/,"$1"+ge+"$2-$3$1"+Yr+(et(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Rn(e,"stretch",0)?_a(te(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return te(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,s,c,u,d){return ke+o+":"+i+d+(s?ke+o+"-span:"+(c?u:+u-+i)+d:"")+e});case 4949:if(et(e,t+6)===121)return te(e,":",":"+ge)+e;break;case 6444:switch(et(e,et(e,14)===45?18:11)){case 120:return te(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ge+(et(e,14)===45?"inline-":"")+"box$3$1"+ge+"$2$3$1"+ke+"$2box$3")+e;case 100:return te(e,":",":"+ke)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return te(e,"scroll-","scroll-snap-")+e}return e}function Mn(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Ll(e,t,r,n){switch(e.type){case $l:if(e.children.length)break;case xl:case gi:return e.return=e.return||e.value;case ga:return"";case ya:return e.return=e.value+"{"+Mn(e.children,n)+"}";case Qn:if(!Gt(e.value=e.props.join(",")))return""}return Gt(r=Mn(e.children,n))?e.return=e.value+"{"+r+"}":""}function Dl(e){var t=ba(e);return function(r,n,o,i){for(var s="",c=0;c<t;c++)s+=e[c](r,n,o,i)||"";return s}}function Nl(e){return function(t){t.root||(t=t.return)&&e(t)}}function Fl(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case gi:e.return=_a(e.value,e.length,r);return;case ya:return Mn([rr(e,{value:te(e.value,"@","@"+ge)})],n);case Qn:if(e.length)return El(r=e.props,function(o){switch(Xt(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Sr(rr(e,{props:[te(o,/:(read-\w+)/,":"+Yr+"$1")]})),Sr(rr(e,{props:[o]})),Fo(e,{props:ns(r,n)});break;case"::placeholder":Sr(rr(e,{props:[te(o,/:(plac\w+)/,":"+ge+"input-$1")]})),Sr(rr(e,{props:[te(o,/:(plac\w+)/,":"+Yr+"$1")]})),Sr(rr(e,{props:[te(o,/:(plac\w+)/,ke+"input-$1")]})),Sr(rr(e,{props:[o]})),Fo(e,{props:ns(r,n)});break}return""})}}var Vl={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},mr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",xa="active",$a="data-styled-version",Zn="6.1.13",mi=`/*!sc*/
|
|
3
|
-
`,Ln=typeof window<"u"&&"HTMLElement"in window,
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.\\!visible{visibility:visible!important}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-\\[500px\\]{height:500px}.w-full{width:100%}.max-w-72{max-width:18rem}.max-w-min{max-width:-moz-min-content;max-width:min-content}.flex-shrink{flex-shrink:1}.flex-grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-4{gap:1rem}.self-stretch{align-self:stretch}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.px-12{padding-left:3rem;padding-right:3rem}.px-8{padding-left:2rem;padding-right:2rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\\[90px\\]{padding-top:90px;padding-bottom:90px}.align-middle{vertical-align:middle}.text-sm{font-size:.875rem;line-height:1.25rem}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@property --animate-position{syntax: "<angle>"; initial-value: 45deg; inherits: false;}@property --border-angle{syntax: "<angle>"; initial-value: 0deg; inherits: false;}@property --color-1{syntax: "<color>"; initial-value: #f32637; inherits: false;}@property --color-2{syntax: "<color>"; initial-value: #b8075d; inherits: false;}@property --btn-padding-x{syntax: "<length>"; initial-value: 16px; inherits: false;}@property --btn-padding-y{syntax: "<length>"; initial-value: 10px; inherits: false;}@property --btn-spacing{syntax: "<length>"; initial-value: 8px; inherits: false;}@property --grid-columns{syntax: "<number>"; initial-value: 12; inherits: false;}@property --grid-width{syntax: "<length>"; initial-value: 1440px; inherits: false;}@property --angle-grad{syntax: "<angle>"; initial-value: 45deg; inherits: false;}@property --opacity-grad{syntax: "<number>"; initial-value: 0; inherits: false;}@keyframes spinAnimation{to{--border-angle: 360deg}}@keyframes gradientAnimation{0%{--animate-position: 45deg}33%{--animate-position: -50deg}66%{--animate-position: -100deg}to{--animate-position: 45deg}}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),xl=require("react-dom"),$l=require("react-router-dom"),gs=e=>({getVariant:(t,r)=>e(t)[r]}),ms=["padding","px","py","pl","pr","pt","pb","margin","mx","my","ml","mr","mt","mb","zIndex","position","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","scroll","visibility","display","height","width","maxHeight","maxWidth","minHeight","minWidth","shadow","bgColor","bgGradient","gap","flexDirection","flexGrow","justify","justifySelf","alignItems","alignSelf","wrap","color","fontFamily","fontSize","fontWeight","textAlign","whiteSpace","letterSpacing","lineSpacing","textDecoration","textOverflow","whiteSpace","wordBreak","wordWrap","cursor","transition","borderColorHover","bgColorHover","shadowHover"];var ut=function(){return ut=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},ut.apply(this,arguments)};function Cr(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function Sl(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var El=/^((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)-.*))$/,Tl=Sl(function(e){return El.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Sn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ys(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Re="-ms-",Yr="-moz-",ge="-webkit-",vs="comm",Qn="rule",mi="decl",Al="@import",bs="@keyframes",Cl="@layer",ws=Math.abs,yi=String.fromCharCode,Vo=Object.assign;function kl(e,t){return et(e,0)^45?(((t<<2^et(e,0))<<2^et(e,1))<<2^et(e,2))<<2^et(e,3):0}function _s(e){return e.trim()}function Zt(e,t){return(e=t.exec(e))?e[0]:e}function te(e,t,r){return e.replace(t,r)}function On(e,t,r){return e.indexOf(t,r)}function et(e,t){return e.charCodeAt(t)|0}function kr(e,t,r){return e.slice(t,r)}function Ht(e){return e.length}function xs(e){return e.length}function Hr(e,t){return t.push(e),e}function Ol(e,t){return e.map(t).join("")}function na(e,t){return e.filter(function(r){return!Zt(r,t)})}var Jn=1,Or=1,$s=0,Nt=0,Ue=0,Lr="";function Kn(e,t,r,n,o,i,a,c){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Jn,column:Or,length:a,return:"",siblings:c}}function rr(e,t){return Vo(Kn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Sr(e){for(;e.root;)e=rr(e.root,{children:[e]});Hr(e,e.siblings)}function Rl(){return Ue}function jl(){return Ue=Nt>0?et(Lr,--Nt):0,Or--,Ue===10&&(Or=1,Jn--),Ue}function Bt(){return Ue=Nt<$s?et(Lr,Nt++):0,Or++,Ue===10&&(Or=1,Jn++),Ue}function hr(){return et(Lr,Nt)}function Rn(){return Nt}function Xn(e,t){return kr(Lr,e,t)}function zo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Pl(e){return Jn=Or=1,$s=Ht(Lr=e),Nt=0,[]}function Il(e){return Lr="",e}function Co(e){return _s(Xn(Nt-1,Bo(e===91?e+2:e===40?e+1:e)))}function Ml(e){for(;(Ue=hr())&&Ue<33;)Bt();return zo(e)>2||zo(Ue)>3?"":" "}function Ll(e,t){for(;--t&&Bt()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return Xn(e,Rn()+(t<6&&hr()==32&&Bt()==32))}function Bo(e){for(;Bt();)switch(Ue){case e:return Nt;case 34:case 39:e!==34&&e!==39&&Bo(Ue);break;case 40:e===41&&Bo(e);break;case 92:Bt();break}return Nt}function Dl(e,t){for(;Bt()&&e+Ue!==57;)if(e+Ue===84&&hr()===47)break;return"/*"+Xn(t,Nt-1)+"*"+yi(e===47?e:Bt())}function Nl(e){for(;!zo(hr());)Bt();return Xn(e,Nt)}function Fl(e){return Il(jn("",null,null,null,[""],e=Pl(e),0,[0],e))}function jn(e,t,r,n,o,i,a,c,u){for(var f=0,h=0,m=a,_=0,v=0,S=0,k=1,P=1,E=1,O=0,R="",L=o,D=i,F=n,I=R;P;)switch(S=O,O=Bt()){case 40:if(S!=108&&et(I,m-1)==58){On(I+=te(Co(O),"&","&\f"),"&\f",ws(f?c[f-1]:0))!=-1&&(E=-1);break}case 34:case 39:case 91:I+=Co(O);break;case 9:case 10:case 13:case 32:I+=Ml(S);break;case 92:I+=Ll(Rn()-1,7);continue;case 47:switch(hr()){case 42:case 47:Hr(Vl(Dl(Bt(),Rn()),t,r,u),u);break;default:I+="/"}break;case 123*k:c[f++]=Ht(I)*E;case 125*k:case 59:case 0:switch(O){case 0:case 125:P=0;case 59+h:E==-1&&(I=te(I,/\f/g,"")),v>0&&Ht(I)-m&&Hr(v>32?ia(I+";",n,r,m-1,u):ia(te(I," ","")+";",n,r,m-2,u),u);break;case 59:I+=";";default:if(Hr(F=oa(I,t,r,f,h,o,c,R,L=[],D=[],m,i),i),O===123)if(h===0)jn(I,t,F,F,L,i,m,c,D);else switch(_===99&&et(I,3)===110?100:_){case 100:case 108:case 109:case 115:jn(e,F,F,n&&Hr(oa(e,F,F,0,0,o,c,R,o,L=[],m,D),D),o,D,m,c,n?L:D);break;default:jn(I,F,F,F,[""],D,0,c,D)}}f=h=v=0,k=E=1,R=I="",m=a;break;case 58:m=1+Ht(I),v=S;default:if(k<1){if(O==123)--k;else if(O==125&&k++==0&&jl()==125)continue}switch(I+=yi(O),O*k){case 38:E=h>0?1:(I+="\f",-1);break;case 44:c[f++]=(Ht(I)-1)*E,E=1;break;case 64:hr()===45&&(I+=Co(Bt())),_=hr(),h=m=Ht(R=I+=Nl(Rn())),O++;break;case 45:S===45&&Ht(I)==2&&(k=0)}}return i}function oa(e,t,r,n,o,i,a,c,u,f,h,m){for(var _=o-1,v=o===0?i:[""],S=xs(v),k=0,P=0,E=0;k<n;++k)for(var O=0,R=kr(e,_+1,_=ws(P=a[k])),L=e;O<S;++O)(L=_s(P>0?v[O]+" "+R:te(R,/&\f/g,v[O])))&&(u[E++]=L);return Kn(e,t,r,o===0?Qn:c,u,f,h,m)}function Vl(e,t,r,n){return Kn(e,t,r,vs,yi(Rl()),kr(e,2,-2),0,n)}function ia(e,t,r,n,o){return Kn(e,t,r,mi,kr(e,0,n),kr(e,n+1,-1),n,o)}function Ss(e,t,r){switch(kl(e,t)){case 5103:return ge+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ge+e+e;case 4789:return Yr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ge+e+Yr+e+Re+e+e;case 5936:switch(et(e,t+11)){case 114:return ge+e+Re+te(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ge+e+Re+te(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ge+e+Re+te(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return ge+e+Re+e+e;case 6165:return ge+e+Re+"flex-"+e+e;case 5187:return ge+e+te(e,/(\w+).+(:[^]+)/,ge+"box-$1$2"+Re+"flex-$1$2")+e;case 5443:return ge+e+Re+"flex-item-"+te(e,/flex-|-self/g,"")+(Zt(e,/flex-|baseline/)?"":Re+"grid-row-"+te(e,/flex-|-self/g,""))+e;case 4675:return ge+e+Re+"flex-line-pack"+te(e,/align-content|flex-|-self/g,"")+e;case 5548:return ge+e+Re+te(e,"shrink","negative")+e;case 5292:return ge+e+Re+te(e,"basis","preferred-size")+e;case 6060:return ge+"box-"+te(e,"-grow","")+ge+e+Re+te(e,"grow","positive")+e;case 4554:return ge+te(e,/([^-])(transform)/g,"$1"+ge+"$2")+e;case 6187:return te(te(te(e,/(zoom-|grab)/,ge+"$1"),/(image-set)/,ge+"$1"),e,"")+e;case 5495:case 3959:return te(e,/(image-set\([^]*)/,ge+"$1$`$1");case 4968:return te(te(e,/(.+:)(flex-)?(.*)/,ge+"box-pack:$3"+Re+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ge+e+e;case 4200:if(!Zt(e,/flex-|baseline/))return Re+"grid-column-align"+kr(e,t)+e;break;case 2592:case 3360:return Re+te(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,Zt(n.props,/grid-\w+-end/)})?~On(e+(r=r[t].value),"span",0)?e:Re+te(e,"-start","")+e+Re+"grid-row-span:"+(~On(r,"span",0)?Zt(r,/\d+/):+Zt(r,/\d+/)-+Zt(e,/\d+/))+";":Re+te(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Zt(n.props,/grid-\w+-start/)})?e:Re+te(te(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return te(e,/(.+)-inline(.+)/,ge+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ht(e)-1-t>6)switch(et(e,t+1)){case 109:if(et(e,t+4)!==45)break;case 102:return te(e,/(.+:)(.+)-([^]+)/,"$1"+ge+"$2-$3$1"+Yr+(et(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~On(e,"stretch",0)?Ss(te(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return te(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,a,c,u,f){return Re+o+":"+i+f+(a?Re+o+"-span:"+(c?u:+u-+i)+f:"")+e});case 4949:if(et(e,t+6)===121)return te(e,":",":"+ge)+e;break;case 6444:switch(et(e,et(e,14)===45?18:11)){case 120:return te(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ge+(et(e,14)===45?"inline-":"")+"box$3$1"+ge+"$2$3$1"+Re+"$2box$3")+e;case 100:return te(e,":",":"+Re)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return te(e,"scroll-","scroll-snap-")+e}return e}function Mn(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function zl(e,t,r,n){switch(e.type){case Cl:if(e.children.length)break;case Al:case mi:return e.return=e.return||e.value;case vs:return"";case bs:return e.return=e.value+"{"+Mn(e.children,n)+"}";case Qn:if(!Ht(e.value=e.props.join(",")))return""}return Ht(r=Mn(e.children,n))?e.return=e.value+"{"+r+"}":""}function Bl(e){var t=xs(e);return function(r,n,o,i){for(var a="",c=0;c<t;c++)a+=e[c](r,n,o,i)||"";return a}}function Wl(e){return function(t){t.root||(t=t.return)&&e(t)}}function Ul(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case mi:e.return=Ss(e.value,e.length,r);return;case bs:return Mn([rr(e,{value:te(e.value,"@","@"+ge)})],n);case Qn:if(e.length)return Ol(r=e.props,function(o){switch(Zt(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Sr(rr(e,{props:[te(o,/:(read-\w+)/,":"+Yr+"$1")]})),Sr(rr(e,{props:[o]})),Vo(e,{props:na(r,n)});break;case"::placeholder":Sr(rr(e,{props:[te(o,/:(plac\w+)/,":"+ge+"input-$1")]})),Sr(rr(e,{props:[te(o,/:(plac\w+)/,":"+Yr+"$1")]})),Sr(rr(e,{props:[te(o,/:(plac\w+)/,Re+"input-$1")]})),Sr(rr(e,{props:[o]})),Vo(e,{props:na(r,n)});break}return""})}}var ql={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},yr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Es="active",Ts="data-styled-version",Zn="6.1.13",vi=`/*!sc*/
|
|
3
|
+
`,Ln=typeof window<"u"&&"HTMLElement"in window,Gl=!!(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"),aa=/invalid hook call/i,En=new Set,Hl=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` has been created dynamically.
|
|
4
4
|
`)+`You may see this warning because you've called styled inside another component.
|
|
5
|
-
To resolve this only create new StyledComponents outside of any render method and function component.`,o=console.error;try{var i=!0;console.error=function(
|
|
5
|
+
To resolve this only create new StyledComponents outside of any render method and function component.`,o=console.error;try{var i=!0;console.error=function(a){for(var c=[],u=1;u<arguments.length;u++)c[u-1]=arguments[u];aa.test(a)?(i=!1,En.delete(n)):o.apply(void 0,Cr([a],c,!1))},b.useRef(),i&&!En.has(n)&&(console.warn(n),En.add(n))}catch(a){aa.test(a.message)&&En.delete(n)}finally{console.error=o}}},eo=Object.freeze([]),Rr=Object.freeze({});function Yl(e,t,r){return r===void 0&&(r=Rr),e.theme!==r.theme&&e.theme||t||r.theme}var Wo=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"]),Ql=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Jl=/(^-|-$)/g;function sa(e){return e.replace(Ql,"-").replace(Jl,"")}var Kl=/(a)(d)/gi,Tn=52,ca=function(e){return String.fromCharCode(e+(e>25?39:97))};function Uo(e){var t,r="";for(t=Math.abs(e);t>Tn;t=t/Tn|0)r=ca(t%Tn)+r;return(ca(t%Tn)+r).replace(Kl,"$1-$2")}var ko,As=5381,fr=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Cs=function(e){return fr(As,e)};function Xl(e){return Uo(Cs(e)>>>0)}function ks(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Oo(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Os=typeof Symbol=="function"&&Symbol.for,Rs=Os?Symbol.for("react.memo"):60115,Zl=Os?Symbol.for("react.forward_ref"):60112,eu={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tu={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},js={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ru=((ko={})[Zl]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ko[Rs]=js,ko);function la(e){return("type"in(t=e)&&t.type.$$typeof)===Rs?js:"$$typeof"in e?ru[e.$$typeof]:eu;var t}var nu=Object.defineProperty,ou=Object.getOwnPropertyNames,ua=Object.getOwnPropertySymbols,iu=Object.getOwnPropertyDescriptor,au=Object.getPrototypeOf,da=Object.prototype;function Ps(e,t,r){if(typeof t!="string"){if(da){var n=au(t);n&&n!==da&&Ps(e,n,r)}var o=ou(t);ua&&(o=o.concat(ua(t)));for(var i=la(e),a=la(t),c=0;c<o.length;++c){var u=o[c];if(!(u in tu||r&&r[u]||a&&u in a||i&&u in i)){var f=iu(t,u);try{nu(e,u,f)}catch{}}}}return e}function vr(e){return typeof e=="function"}function bi(e){return typeof e=="object"&&"styledComponentId"in e}function pr(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function fa(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function jr(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function qo(e,t,r){if(r===void 0&&(r=!1),!r&&!jr(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=qo(e[n],t[n]);else if(jr(t))for(var n in t)e[n]=qo(e[n],t[n]);return e}function wi(e,t){Object.defineProperty(e,"toString",{value:t})}var su=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
6
6
|
|
|
7
7
|
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
|
|
8
8
|
|
|
@@ -43,7 +43,7 @@ as for instance in your render method then you may be running into this limitati
|
|
|
43
43
|
|
|
44
44
|
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
45
45
|
Has styled-components' style tag been unmounted or altered by another script?
|
|
46
|
-
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function nu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,i=e.length;o<i;o+=1)n.push(e[o]);return n.forEach(function(s){r=r.replace(/%[a-z]/,s)}),r}function Zt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(nu.apply(void 0,Cr([ru[e]],t,!1)).trim())}var ou=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,i=o;t>=i;)if((i<<=1)<0)throw Zt(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var s=o;s<i;s++)this.groupSizes[s]=0}for(var c=this.indexOfGroup(t+1),u=(s=0,r.length);s<u;s++)this.tag.insertRule(c,r[s])&&(this.groupSizes[t]++,c++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var i=n;i<o;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),i=o+n,s=o;s<i;s++)r+="".concat(this.tag.getRule(s)).concat(mi);return r},e}(),iu=1<<30,Pn=new Map,Dn=new Map,In=1,An=function(e){if(Pn.has(e))return Pn.get(e);for(;Dn.has(In);)In++;var t=In++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>iu))throw Zt(16,"".concat(t));return Pn.set(e,t),Dn.set(t,e),t},su=function(e,t){In=t+1,Pn.set(e,t),Dn.set(t,e)},au="style[".concat(mr,"][").concat($a,'="').concat(Zn,'"]'),cu=new RegExp("^".concat(mr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),lu=function(e,t,r){for(var n,o=r.split(","),i=0,s=o.length;i<s;i++)(n=o[i])&&e.registerName(t,n)},uu=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(mi),o=[],i=0,s=n.length;i<s;i++){var c=n[i].trim();if(c){var u=c.match(cu);if(u){var d=0|parseInt(u[1],10),h=u[2];d!==0&&(su(h,d),lu(e,h,u[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(c)}}},ps=function(e){for(var t=document.querySelectorAll(au),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(mr)!==xa&&(uu(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function fu(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var ka=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(c){var u=Array.from(c.querySelectorAll("style[".concat(mr,"]")));return u[u.length-1]}(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(mr,xa),n.setAttribute($a,Zn);var s=fu();return s&&n.setAttribute("nonce",s),r.insertBefore(n,i),n},du=function(){function e(t){this.element=ka(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,i=n.length;o<i;o++){var s=n[o];if(s.ownerNode===r)return s}throw Zt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),pu=function(){function e(t){this.element=ka(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),hu=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),hs=Ln,gu={isServer:!Ln,useCSSOMInjection:!Bl},ja=function(){function e(t,r,n){t===void 0&&(t=kr),r===void 0&&(r={});var o=this;this.options=ut(ut({},gu),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Ln&&hs&&(hs=!1,ps(this)),bi(this,function(){return function(i){for(var s=i.getTag(),c=s.length,u="",d=function(y){var _=function(E){return Dn.get(E)}(y);if(_===void 0)return"continue";var v=i.names.get(_),S=s.getGroup(y);if(v===void 0||!v.size||S.length===0)return"continue";var A="".concat(mr,".g").concat(y,'[id="').concat(_,'"]'),j="";v!==void 0&&v.forEach(function(E){E.length>0&&(j+="".concat(E,","))}),u+="".concat(S).concat(A,'{content:"').concat(j,'"}').concat(mi)},h=0;h<c;h++)d(h);return u}(o)})}return e.registerId=function(t){return An(t)},e.prototype.rehydrate=function(){!this.server&&Ln&&ps(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(ut(ut({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new hu(o):n?new du(o):new pu(o)}(this.options),new ou(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(An(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(An(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(An(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),yu=/&/g,mu=/^\s*\/\/.*$/gm;function Pa(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Pa(r.children,t)),r})}function vu(e){var t,r,n,o=kr,i=o.options,s=i===void 0?kr:i,c=o.plugins,u=c===void 0?eo:c,d=function(_,v,S){return S.startsWith(r)&&S.endsWith(r)&&S.replaceAll(r,"").length>0?".".concat(t):_},h=u.slice();h.push(function(_){_.type===Qn&&_.value.includes("&")&&(_.props[0]=_.props[0].replace(yu,r).replace(n,d))}),s.prefix&&h.push(Fl),h.push(Ll);var y=function(_,v,S,A){v===void 0&&(v=""),S===void 0&&(S=""),A===void 0&&(A="&"),t=A,r=v,n=new RegExp("\\".concat(r,"\\b"),"g");var j=_.replace(mu,""),E=Il(S||v?"".concat(S," ").concat(v," { ").concat(j," }"):j);s.namespace&&(E=Pa(E,s.namespace));var C=[];return Mn(E,Dl(h.concat(Nl(function(R){return C.push(R)})))),C};return y.hash=u.length?u.reduce(function(_,v){return v.name||Zt(15),dr(_,v.name)},Sa).toString():"",y}var bu=new ja,qo=vu(),Ia=w.createContext({shouldForwardProp:void 0,styleSheet:bu,stylis:qo});Ia.Consumer;w.createContext(void 0);function gs(){return w.useContext(Ia)}var ys=function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=qo);var s=n.name+i.hash;o.hasNameForId(n.id,s)||o.insertRules(n.id,s,i(n.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,bi(this,function(){throw Zt(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=qo),this.name+t.hash},e}(),wu=function(e){return e>="A"&&e<="Z"};function ms(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;wu(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Ma=function(e){return e==null||e===!1||e===""},La=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!Ma(i)&&(Array.isArray(i)&&i.isCss||vr(i)?n.push("".concat(ms(o),":"),i,";"):jr(i)?n.push.apply(n,Cr(Cr(["".concat(o," {")],La(i),!1),["}"],!1)):n.push("".concat(ms(o),": ").concat((t=o,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in Vl||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function gr(e,t,r,n){if(Ma(e))return[];if(vi(e))return[".".concat(e.styledComponentId)];if(vr(e)){if(!vr(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof ys||jr(o)||o===null||console.error("".concat(Ta(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),gr(o,t,r,n)}var i;return e instanceof ys?r?(e.inject(r,n),[e.getName(n)]):[e]:jr(e)?La(e):Array.isArray(e)?Array.prototype.concat.apply(eo,e.map(function(s){return gr(s,t,r,n)})):[e.toString()]}function _u(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(vr(r)&&!vi(r))return!1}return!0}var xu=Ea(Zn),$u=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&_u(t),this.componentId=r,this.baseHash=dr(xu,r),this.baseStyle=n,ja.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=pr(o,this.staticRulesId);else{var i=ds(gr(this.rules,t,r,n)),s=Wo(dr(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,s)){var c=n(i,".".concat(s),void 0,this.componentId);r.insertRules(this.componentId,s,c)}o=pr(o,s),this.staticRulesId=s}else{for(var u=dr(this.baseHash,n.hash),d="",h=0;h<this.rules.length;h++){var y=this.rules[h];if(typeof y=="string")d+=y,process.env.NODE_ENV!=="production"&&(u=dr(u,y));else if(y){var _=ds(gr(y,t,r,n));u=dr(u,_+h),d+=_}}if(d){var v=Wo(u>>>0);r.hasNameForId(this.componentId,v)||r.insertRules(this.componentId,v,n(d,".".concat(v),void 0,this.componentId)),o=pr(o,v)}}return o},e}(),Nn=w.createContext(void 0);Nn.Consumer;function Su(e){var t=w.useContext(Nn),r=w.useMemo(function(){return function(n,o){if(!n)throw Zt(14);if(vr(n)){var i=n(o);if(process.env.NODE_ENV!=="production"&&(i===null||Array.isArray(i)||typeof i!="object"))throw Zt(7);return i}if(Array.isArray(n)||typeof n!="object")throw Zt(8);return o?ut(ut({},o),n):n}(e.theme,t)},[e.theme,t]);return e.children?w.createElement(Nn.Provider,{value:r},e.children):null}var Ro={},vs=new Set;function Eu(e,t,r){var n=vi(e),o=e,i=!Oo(e),s=t.attrs,c=s===void 0?eo:s,u=t.componentId,d=u===void 0?function(M,L){var N=typeof M!="string"?"sc":as(M);Ro[N]=(Ro[N]||0)+1;var P="".concat(N,"-").concat(Hl(Zn+N+Ro[N]));return L?"".concat(L,"-").concat(P):P}(t.displayName,t.parentComponentId):u,h=t.displayName,y=h===void 0?function(M){return Oo(M)?"styled.".concat(M):"Styled(".concat(Ta(M),")")}(e):h,_=t.displayName&&t.componentId?"".concat(as(t.displayName),"-").concat(t.componentId):t.componentId||d,v=n&&o.attrs?o.attrs.concat(c).filter(Boolean):c,S=t.shouldForwardProp;if(n&&o.shouldForwardProp){var A=o.shouldForwardProp;if(t.shouldForwardProp){var j=t.shouldForwardProp;S=function(M,L){return A(M,L)&&j(M,L)}}else S=A}var E=new $u(r,_,n?o.componentStyle:void 0);function C(M,L){return function(N,P,be){var we=N.attrs,he=N.componentStyle,Fe=N.defaultProps,Le=N.foldedComponentIds,_e=N.styledComponentId,J=N.target,Ee=w.useContext(Nn),se=gs(),ae=N.shouldForwardProp||se.shouldForwardProp;process.env.NODE_ENV!=="production"&&w.useDebugValue(_e);var ce=Wl(P,Ee,Fe)||kr,ne=function(tt,qe,Ge){for(var fe,xe=ut(ut({},qe),{className:void 0,theme:Ge}),Te=0;Te<tt.length;Te+=1){var ze=vr(fe=tt[Te])?fe(xe):fe;for(var Pe in ze)xe[Pe]=Pe==="className"?pr(xe[Pe],ze[Pe]):Pe==="style"?ut(ut({},xe[Pe]),ze[Pe]):ze[Pe]}return qe.className&&(xe.className=pr(xe.className,qe.className)),xe}(we,P,ce),G=ne.as||J,le={};for(var ye in ne)ne[ye]===void 0||ye[0]==="$"||ye==="as"||ye==="theme"&&ne.theme===ce||(ye==="forwardedAs"?le.as=ne.forwardedAs:ae&&!ae(ye,G)||(le[ye]=ne[ye],ae||process.env.NODE_ENV!=="development"||_l(ye)||vs.has(ye)||!zo.has(G)||(vs.add(ye),console.warn('styled-components: it looks like an unknown prop "'.concat(ye,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var H=function(tt,qe){var Ge=gs(),fe=tt.generateAndInjectStyles(qe,Ge.styleSheet,Ge.stylis);return process.env.NODE_ENV!=="production"&&w.useDebugValue(fe),fe}(he,ne);process.env.NODE_ENV!=="production"&&N.warnTooManyClasses&&N.warnTooManyClasses(H);var st=pr(Le,_e);return H&&(st+=" "+H),ne.className&&(st+=" "+ne.className),le[Oo(G)&&!zo.has(G)?"class":"className"]=st,le.ref=be,w.createElement(G,le)}(R,M,L)}C.displayName=y;var R=w.forwardRef(C);return R.attrs=v,R.componentStyle=E,R.displayName=y,R.shouldForwardProp=S,R.foldedComponentIds=n?pr(o.foldedComponentIds,o.styledComponentId):"",R.styledComponentId=_,R.target=n?o.target:e,Object.defineProperty(R,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(M){this._foldedDefaultProps=n?function(L){for(var N=[],P=1;P<arguments.length;P++)N[P-1]=arguments[P];for(var be=0,we=N;be<we.length;be++)Uo(L,we[be],!0);return L}({},o.defaultProps,M):M}}),process.env.NODE_ENV!=="production"&&(zl(y,_),R.warnTooManyClasses=function(M,L){var N={},P=!1;return function(be){if(!P&&(N[be]=!0,Object.keys(N).length>=200)){var we=L?' with the id of "'.concat(L,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(M).concat(we,`.
|
|
46
|
+
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function cu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,i=e.length;o<i;o+=1)n.push(e[o]);return n.forEach(function(a){r=r.replace(/%[a-z]/,a)}),r}function er(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(cu.apply(void 0,Cr([su[e]],t,!1)).trim())}var lu=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,i=o;t>=i;)if((i<<=1)<0)throw er(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var a=o;a<i;a++)this.groupSizes[a]=0}for(var c=this.indexOfGroup(t+1),u=(a=0,r.length);a<u;a++)this.tag.insertRule(c,r[a])&&(this.groupSizes[t]++,c++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var i=n;i<o;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),i=o+n,a=o;a<i;a++)r+="".concat(this.tag.getRule(a)).concat(vi);return r},e}(),uu=1<<30,Pn=new Map,Dn=new Map,In=1,An=function(e){if(Pn.has(e))return Pn.get(e);for(;Dn.has(In);)In++;var t=In++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>uu))throw er(16,"".concat(t));return Pn.set(e,t),Dn.set(t,e),t},du=function(e,t){In=t+1,Pn.set(e,t),Dn.set(t,e)},fu="style[".concat(yr,"][").concat(Ts,'="').concat(Zn,'"]'),pu=new RegExp("^".concat(yr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),hu=function(e,t,r){for(var n,o=r.split(","),i=0,a=o.length;i<a;i++)(n=o[i])&&e.registerName(t,n)},gu=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(vi),o=[],i=0,a=n.length;i<a;i++){var c=n[i].trim();if(c){var u=c.match(pu);if(u){var f=0|parseInt(u[1],10),h=u[2];f!==0&&(du(h,f),hu(e,h,u[3]),e.getTag().insertRules(f,o)),o.length=0}else o.push(c)}}},pa=function(e){for(var t=document.querySelectorAll(fu),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(yr)!==Es&&(gu(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function mu(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Is=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(c){var u=Array.from(c.querySelectorAll("style[".concat(yr,"]")));return u[u.length-1]}(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(yr,Es),n.setAttribute(Ts,Zn);var a=mu();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},yu=function(){function e(t){this.element=Is(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,i=n.length;o<i;o++){var a=n[o];if(a.ownerNode===r)return a}throw er(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),vu=function(){function e(t){this.element=Is(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),bu=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),ha=Ln,wu={isServer:!Ln,useCSSOMInjection:!Gl},Ms=function(){function e(t,r,n){t===void 0&&(t=Rr),r===void 0&&(r={});var o=this;this.options=ut(ut({},wu),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Ln&&ha&&(ha=!1,pa(this)),wi(this,function(){return function(i){for(var a=i.getTag(),c=a.length,u="",f=function(m){var _=function(E){return Dn.get(E)}(m);if(_===void 0)return"continue";var v=i.names.get(_),S=a.getGroup(m);if(v===void 0||!v.size||S.length===0)return"continue";var k="".concat(yr,".g").concat(m,'[id="').concat(_,'"]'),P="";v!==void 0&&v.forEach(function(E){E.length>0&&(P+="".concat(E,","))}),u+="".concat(S).concat(k,'{content:"').concat(P,'"}').concat(vi)},h=0;h<c;h++)f(h);return u}(o)})}return e.registerId=function(t){return An(t)},e.prototype.rehydrate=function(){!this.server&&Ln&&pa(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(ut(ut({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new bu(o):n?new yu(o):new vu(o)}(this.options),new lu(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(An(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(An(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(An(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),_u=/&/g,xu=/^\s*\/\/.*$/gm;function Ls(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Ls(r.children,t)),r})}function $u(e){var t,r,n,o=Rr,i=o.options,a=i===void 0?Rr:i,c=o.plugins,u=c===void 0?eo:c,f=function(_,v,S){return S.startsWith(r)&&S.endsWith(r)&&S.replaceAll(r,"").length>0?".".concat(t):_},h=u.slice();h.push(function(_){_.type===Qn&&_.value.includes("&")&&(_.props[0]=_.props[0].replace(_u,r).replace(n,f))}),a.prefix&&h.push(Ul),h.push(zl);var m=function(_,v,S,k){v===void 0&&(v=""),S===void 0&&(S=""),k===void 0&&(k="&"),t=k,r=v,n=new RegExp("\\".concat(r,"\\b"),"g");var P=_.replace(xu,""),E=Fl(S||v?"".concat(S," ").concat(v," { ").concat(P," }"):P);a.namespace&&(E=Ls(E,a.namespace));var O=[];return Mn(E,Bl(h.concat(Wl(function(R){return O.push(R)})))),O};return m.hash=u.length?u.reduce(function(_,v){return v.name||er(15),fr(_,v.name)},As).toString():"",m}var Su=new Ms,Go=$u(),Ds=b.createContext({shouldForwardProp:void 0,styleSheet:Su,stylis:Go});Ds.Consumer;b.createContext(void 0);function ga(){return b.useContext(Ds)}var ma=function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=Go);var a=n.name+i.hash;o.hasNameForId(n.id,a)||o.insertRules(n.id,a,i(n.rules,a,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,wi(this,function(){throw er(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Go),this.name+t.hash},e}(),Eu=function(e){return e>="A"&&e<="Z"};function ya(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;Eu(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Ns=function(e){return e==null||e===!1||e===""},Fs=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!Ns(i)&&(Array.isArray(i)&&i.isCss||vr(i)?n.push("".concat(ya(o),":"),i,";"):jr(i)?n.push.apply(n,Cr(Cr(["".concat(o," {")],Fs(i),!1),["}"],!1)):n.push("".concat(ya(o),": ").concat((t=o,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in ql||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function gr(e,t,r,n){if(Ns(e))return[];if(bi(e))return[".".concat(e.styledComponentId)];if(vr(e)){if(!vr(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof ma||jr(o)||o===null||console.error("".concat(ks(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),gr(o,t,r,n)}var i;return e instanceof ma?r?(e.inject(r,n),[e.getName(n)]):[e]:jr(e)?Fs(e):Array.isArray(e)?Array.prototype.concat.apply(eo,e.map(function(a){return gr(a,t,r,n)})):[e.toString()]}function Tu(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(vr(r)&&!bi(r))return!1}return!0}var Au=Cs(Zn),Cu=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&Tu(t),this.componentId=r,this.baseHash=fr(Au,r),this.baseStyle=n,Ms.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=pr(o,this.staticRulesId);else{var i=fa(gr(this.rules,t,r,n)),a=Uo(fr(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,a)){var c=n(i,".".concat(a),void 0,this.componentId);r.insertRules(this.componentId,a,c)}o=pr(o,a),this.staticRulesId=a}else{for(var u=fr(this.baseHash,n.hash),f="",h=0;h<this.rules.length;h++){var m=this.rules[h];if(typeof m=="string")f+=m,process.env.NODE_ENV!=="production"&&(u=fr(u,m));else if(m){var _=fa(gr(m,t,r,n));u=fr(u,_+h),f+=_}}if(f){var v=Uo(u>>>0);r.hasNameForId(this.componentId,v)||r.insertRules(this.componentId,v,n(f,".".concat(v),void 0,this.componentId)),o=pr(o,v)}}return o},e}(),Nn=b.createContext(void 0);Nn.Consumer;function ku(e){var t=b.useContext(Nn),r=b.useMemo(function(){return function(n,o){if(!n)throw er(14);if(vr(n)){var i=n(o);if(process.env.NODE_ENV!=="production"&&(i===null||Array.isArray(i)||typeof i!="object"))throw er(7);return i}if(Array.isArray(n)||typeof n!="object")throw er(8);return o?ut(ut({},o),n):n}(e.theme,t)},[e.theme,t]);return e.children?b.createElement(Nn.Provider,{value:r},e.children):null}var Ro={},va=new Set;function Ou(e,t,r){var n=bi(e),o=e,i=!Oo(e),a=t.attrs,c=a===void 0?eo:a,u=t.componentId,f=u===void 0?function(L,D){var F=typeof L!="string"?"sc":sa(L);Ro[F]=(Ro[F]||0)+1;var I="".concat(F,"-").concat(Xl(Zn+F+Ro[F]));return D?"".concat(D,"-").concat(I):I}(t.displayName,t.parentComponentId):u,h=t.displayName,m=h===void 0?function(L){return Oo(L)?"styled.".concat(L):"Styled(".concat(ks(L),")")}(e):h,_=t.displayName&&t.componentId?"".concat(sa(t.displayName),"-").concat(t.componentId):t.componentId||f,v=n&&o.attrs?o.attrs.concat(c).filter(Boolean):c,S=t.shouldForwardProp;if(n&&o.shouldForwardProp){var k=o.shouldForwardProp;if(t.shouldForwardProp){var P=t.shouldForwardProp;S=function(L,D){return k(L,D)&&P(L,D)}}else S=k}var E=new Cu(r,_,n?o.componentStyle:void 0);function O(L,D){return function(F,I,be){var we=F.attrs,he=F.componentStyle,Fe=F.defaultProps,Le=F.foldedComponentIds,_e=F.styledComponentId,K=F.target,Ee=b.useContext(Nn),se=ga(),ce=F.shouldForwardProp||se.shouldForwardProp;process.env.NODE_ENV!=="production"&&b.useDebugValue(_e);var le=Yl(I,Ee,Fe)||Rr,oe=function(tt,qe,Ge){for(var fe,xe=ut(ut({},qe),{className:void 0,theme:Ge}),Te=0;Te<tt.length;Te+=1){var Be=vr(fe=tt[Te])?fe(xe):fe;for(var Pe in Be)xe[Pe]=Pe==="className"?pr(xe[Pe],Be[Pe]):Pe==="style"?ut(ut({},xe[Pe]),Be[Pe]):Be[Pe]}return qe.className&&(xe.className=pr(xe.className,qe.className)),xe}(we,I,le),H=oe.as||K,ue={};for(var me in oe)oe[me]===void 0||me[0]==="$"||me==="as"||me==="theme"&&oe.theme===le||(me==="forwardedAs"?ue.as=oe.forwardedAs:ce&&!ce(me,H)||(ue[me]=oe[me],ce||process.env.NODE_ENV!=="development"||Tl(me)||va.has(me)||!Wo.has(H)||(va.add(me),console.warn('styled-components: it looks like an unknown prop "'.concat(me,'" 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 Y=function(tt,qe){var Ge=ga(),fe=tt.generateAndInjectStyles(qe,Ge.styleSheet,Ge.stylis);return process.env.NODE_ENV!=="production"&&b.useDebugValue(fe),fe}(he,oe);process.env.NODE_ENV!=="production"&&F.warnTooManyClasses&&F.warnTooManyClasses(Y);var at=pr(Le,_e);return Y&&(at+=" "+Y),oe.className&&(at+=" "+oe.className),ue[Oo(H)&&!Wo.has(H)?"class":"className"]=at,ue.ref=be,b.createElement(H,ue)}(R,L,D)}O.displayName=m;var R=b.forwardRef(O);return R.attrs=v,R.componentStyle=E,R.displayName=m,R.shouldForwardProp=S,R.foldedComponentIds=n?pr(o.foldedComponentIds,o.styledComponentId):"",R.styledComponentId=_,R.target=n?o.target:e,Object.defineProperty(R,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(L){this._foldedDefaultProps=n?function(D){for(var F=[],I=1;I<arguments.length;I++)F[I-1]=arguments[I];for(var be=0,we=F;be<we.length;be++)qo(D,we[be],!0);return D}({},o.defaultProps,L):L}}),process.env.NODE_ENV!=="production"&&(Hl(m,_),R.warnTooManyClasses=function(L,D){var F={},I=!1;return function(be){if(!I&&(F[be]=!0,Object.keys(F).length>=200)){var we=D?' with the id of "'.concat(D,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(L).concat(we,`.
|
|
47
47
|
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
48
48
|
Example:
|
|
49
49
|
const Component = styled.div.attrs(props => ({
|
|
@@ -52,11 +52,11 @@ Example:
|
|
|
52
52
|
},
|
|
53
53
|
}))\`width: 100%;\`
|
|
54
54
|
|
|
55
|
-
<Component />`),
|
|
55
|
+
<Component />`),I=!0,F={}}}}(m,_)),wi(R,function(){return".".concat(R.styledComponentId)}),i&&Ps(R,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),R}function ba(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var wa=function(e){return Object.assign(e,{isCss:!0})};function Ru(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(vr(e)||jr(e))return wa(gr(ba(eo,Cr([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?gr(n):wa(gr(ba(n,t)))}function Ho(e,t,r){if(r===void 0&&(r=Rr),!t)throw er(1,t);var n=function(o){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return e(t,r,Ru.apply(void 0,Cr([o],i,!1)))};return n.attrs=function(o){return Ho(e,t,ut(ut({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return Ho(e,t,ut(ut({},r),o))},n}var Vs=function(e){return Ho(Ou,e)},ne=Vs;Wo.forEach(function(e){ne[e]=Vs(e)});process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
56
56
|
Perhaps you're looking to import 'styled-components/native'?
|
|
57
|
-
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var Cn="__sc-".concat(
|
|
57
|
+
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var Cn="__sc-".concat(yr,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[Cn]||(window[Cn]=0),window[Cn]===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.
|
|
58
58
|
|
|
59
|
-
See https://s-c.sh/2BAXzed for more info.`),window[Cn]+=1);var
|
|
59
|
+
See https://s-c.sh/2BAXzed for more info.`),window[Cn]+=1);var Yo={exports:{}},Ur={};/**
|
|
60
60
|
* @license React
|
|
61
61
|
* react-jsx-runtime.production.min.js
|
|
62
62
|
*
|
|
@@ -64,7 +64,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Cn]+=1);var Ho={exports:{}},U
|
|
|
64
64
|
*
|
|
65
65
|
* This source code is licensed under the MIT license found in the
|
|
66
66
|
* LICENSE file in the root directory of this source tree.
|
|
67
|
-
*/var
|
|
67
|
+
*/var _a;function ju(){if(_a)return Ur;_a=1;var e=b,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(c,u,f){var h,m={},_=null,v=null;f!==void 0&&(_=""+f),u.key!==void 0&&(_=""+u.key),u.ref!==void 0&&(v=u.ref);for(h in u)n.call(u,h)&&!i.hasOwnProperty(h)&&(m[h]=u[h]);if(c&&c.defaultProps)for(h in u=c.defaultProps,u)m[h]===void 0&&(m[h]=u[h]);return{$$typeof:t,type:c,key:_,ref:v,props:m,_owner:o.current}}return Ur.Fragment=r,Ur.jsx=a,Ur.jsxs=a,Ur}var qr={};/**
|
|
68
68
|
* @license React
|
|
69
69
|
* react-jsx-runtime.development.js
|
|
70
70
|
*
|
|
@@ -72,67 +72,67 @@ See https://s-c.sh/2BAXzed for more info.`),window[Cn]+=1);var Ho={exports:{}},U
|
|
|
72
72
|
*
|
|
73
73
|
* This source code is licensed under the MIT license found in the
|
|
74
74
|
* LICENSE file in the root directory of this source tree.
|
|
75
|
-
*/var
|
|
76
|
-
`+Ge+
|
|
77
|
-
`),Ne=
|
|
78
|
-
`),
|
|
79
|
-
`+
|
|
75
|
+
*/var xa;function Pu(){return xa||(xa=1,process.env.NODE_ENV!=="production"&&function(){var e=b,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),S=Symbol.iterator,k="@@iterator";function P(d){if(d===null||typeof d!="object")return null;var w=S&&d[S]||d[k];return typeof w=="function"?w:null}var E=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(d){{for(var w=arguments.length,A=new Array(w>1?w-1:0),z=1;z<w;z++)A[z-1]=arguments[z];R("error",d,A)}}function R(d,w,A){{var z=E.ReactDebugCurrentFrame,ae=z.getStackAddendum();ae!==""&&(w+="%s",A=A.concat([ae]));var re=A.map(function(X){return String(X)});re.unshift("Warning: "+w),Function.prototype.apply.call(console[d],console,re)}}var L=!1,D=!1,F=!1,I=!1,be=!1,we;we=Symbol.for("react.module.reference");function he(d){return!!(typeof d=="string"||typeof d=="function"||d===n||d===i||be||d===o||d===f||d===h||I||d===v||L||D||F||typeof d=="object"&&d!==null&&(d.$$typeof===_||d.$$typeof===m||d.$$typeof===a||d.$$typeof===c||d.$$typeof===u||d.$$typeof===we||d.getModuleId!==void 0))}function Fe(d,w,A){var z=d.displayName;if(z)return z;var ae=w.displayName||w.name||"";return ae!==""?A+"("+ae+")":A}function Le(d){return d.displayName||"Context"}function _e(d){if(d==null)return null;if(typeof d.tag=="number"&&O("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case f:return"Suspense";case h:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case c:var w=d;return Le(w)+".Consumer";case a:var A=d;return Le(A._context)+".Provider";case u:return Fe(d,d.render,"ForwardRef");case m:var z=d.displayName||null;return z!==null?z:_e(d.type)||"Memo";case _:{var ae=d,re=ae._payload,X=ae._init;try{return _e(X(re))}catch{return null}}}return null}var K=Object.assign,Ee=0,se,ce,le,oe,H,ue,me;function Y(){}Y.__reactDisabledLog=!0;function at(){{if(Ee===0){se=console.log,ce=console.info,le=console.warn,oe=console.error,H=console.group,ue=console.groupCollapsed,me=console.groupEnd;var d={configurable:!0,enumerable:!0,value:Y,writable:!0};Object.defineProperties(console,{info:d,log:d,warn:d,error:d,group:d,groupCollapsed:d,groupEnd:d})}Ee++}}function tt(){{if(Ee--,Ee===0){var d={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:K({},d,{value:se}),info:K({},d,{value:ce}),warn:K({},d,{value:le}),error:K({},d,{value:oe}),group:K({},d,{value:H}),groupCollapsed:K({},d,{value:ue}),groupEnd:K({},d,{value:me})})}Ee<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var qe=E.ReactCurrentDispatcher,Ge;function fe(d,w,A){{if(Ge===void 0)try{throw Error()}catch(ae){var z=ae.stack.trim().match(/\n( *(at )?)/);Ge=z&&z[1]||""}return`
|
|
76
|
+
`+Ge+d}}var xe=!1,Te;{var Be=typeof WeakMap=="function"?WeakMap:Map;Te=new Be}function Pe(d,w){if(!d||xe)return"";{var A=Te.get(d);if(A!==void 0)return A}var z;xe=!0;var ae=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var re;re=qe.current,qe.current=null,at();try{if(w){var X=function(){throw Error()};if(Object.defineProperty(X.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(X,[])}catch(ot){z=ot}Reflect.construct(d,[],X)}else{try{X.call()}catch(ot){z=ot}d.call(X.prototype)}}else{try{throw Error()}catch(ot){z=ot}d()}}catch(ot){if(ot&&z&&typeof ot.stack=="string"){for(var J=ot.stack.split(`
|
|
77
|
+
`),Ne=z.stack.split(`
|
|
78
|
+
`),W=J.length-1,de=Ne.length-1;W>=1&&de>=0&&J[W]!==Ne[de];)de--;for(;W>=1&&de>=0;W--,de--)if(J[W]!==Ne[de]){if(W!==1||de!==1)do if(W--,de--,de<0||J[W]!==Ne[de]){var Oe=`
|
|
79
|
+
`+J[W].replace(" at new "," at ");return d.displayName&&Oe.includes("<anonymous>")&&(Oe=Oe.replace("<anonymous>",d.displayName)),typeof d=="function"&&Te.set(d,Oe),Oe}while(W>=1&&de>=0);break}}}finally{xe=!1,qe.current=re,tt(),Error.prepareStackTrace=ae}var Ze=d?d.displayName||d.name:"",Jt=Ze?fe(Ze):"";return typeof d=="function"&&Te.set(d,Jt),Jt}function dt(d,w,A){return Pe(d,!1)}function jt(d){var w=d.prototype;return!!(w&&w.isReactComponent)}function Ae(d,w,A){if(d==null)return"";if(typeof d=="function")return Pe(d,jt(d));if(typeof d=="string")return fe(d);switch(d){case f:return fe("Suspense");case h:return fe("SuspenseList")}if(typeof d=="object")switch(d.$$typeof){case u:return dt(d.render);case m:return Ae(d.type,w,A);case _:{var z=d,ae=z._payload,re=z._init;try{return Ae(re(ae),w,A)}catch{}}}return""}var ft=Object.prototype.hasOwnProperty,Je={},pt=E.ReactDebugCurrentFrame;function pe(d){if(d){var w=d._owner,A=Ae(d.type,d._source,w?w.type:null);pt.setExtraStackFrame(A)}else pt.setExtraStackFrame(null)}function ht(d,w,A,z,ae){{var re=Function.call.bind(ft);for(var X in d)if(re(d,X)){var J=void 0;try{if(typeof d[X]!="function"){var Ne=Error((z||"React class")+": "+A+" type `"+X+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[X]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ne.name="Invariant Violation",Ne}J=d[X](w,X,z,A,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(W){J=W}J&&!(J instanceof Error)&&(pe(ae),O("%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).",z||"React class",A,X,typeof J),pe(null)),J instanceof Error&&!(J.message in Je)&&(Je[J.message]=!0,pe(ae),O("Failed %s type: %s",A,J.message),pe(null))}}}var gt=Array.isArray;function mt(d){return gt(d)}function Ot(d){{var w=typeof Symbol=="function"&&Symbol.toStringTag,A=w&&d[Symbol.toStringTag]||d.constructor.name||"Object";return A}}function rt(d){try{return st(d),!1}catch{return!0}}function st(d){return""+d}function yt(d){if(rt(d))return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ot(d)),st(d)}var Ke=E.ReactCurrentOwner,$t={key:!0,ref:!0,__self:!0,__source:!0},St,Pt,He;He={};function It(d){if(ft.call(d,"ref")){var w=Object.getOwnPropertyDescriptor(d,"ref").get;if(w&&w.isReactWarning)return!1}return d.ref!==void 0}function nt(d){if(ft.call(d,"key")){var w=Object.getOwnPropertyDescriptor(d,"key").get;if(w&&w.isReactWarning)return!1}return d.key!==void 0}function $e(d,w){if(typeof d.ref=="string"&&Ke.current&&w&&Ke.current.stateNode!==w){var A=_e(Ke.current.type);He[A]||(O('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',_e(Ke.current.type),d.ref),He[A]=!0)}}function Vt(d,w){{var A=function(){St||(St=!0,O("%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)",w))};A.isReactWarning=!0,Object.defineProperty(d,"key",{get:A,configurable:!0})}}function zt(d,w){{var A=function(){Pt||(Pt=!0,O("%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)",w))};A.isReactWarning=!0,Object.defineProperty(d,"ref",{get:A,configurable:!0})}}var vt=function(d,w,A,z,ae,re,X){var J={$$typeof:t,type:d,key:w,ref:A,props:X,_owner:re};return J._store={},Object.defineProperty(J._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(J,"_self",{configurable:!1,enumerable:!1,writable:!1,value:z}),Object.defineProperty(J,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ae}),Object.freeze&&(Object.freeze(J.props),Object.freeze(J)),J};function bt(d,w,A,z,ae){{var re,X={},J=null,Ne=null;A!==void 0&&(yt(A),J=""+A),nt(w)&&(yt(w.key),J=""+w.key),It(w)&&(Ne=w.ref,$e(w,ae));for(re in w)ft.call(w,re)&&!$t.hasOwnProperty(re)&&(X[re]=w[re]);if(d&&d.defaultProps){var W=d.defaultProps;for(re in W)X[re]===void 0&&(X[re]=W[re])}if(J||Ne){var de=typeof d=="function"?d.displayName||d.name||"Unknown":d;J&&Vt(X,de),Ne&&zt(X,de)}return vt(d,J,Ne,ae,z,Ke.current,X)}}var Ye=E.ReactCurrentOwner,ct=E.ReactDebugCurrentFrame;function We(d){if(d){var w=d._owner,A=Ae(d.type,d._source,w?w.type:null);ct.setExtraStackFrame(A)}else ct.setExtraStackFrame(null)}var Qe;Qe=!1;function Et(d){return typeof d=="object"&&d!==null&&d.$$typeof===t}function Se(){{if(Ye.current){var d=_e(Ye.current.type);if(d)return`
|
|
80
80
|
|
|
81
|
-
Check the render method of \``+
|
|
81
|
+
Check the render method of \``+d+"`."}return""}}function Xe(d){return""}var V={};function ee(d){{var w=Se();if(!w){var A=typeof d=="string"?d:d.displayName||d.name;A&&(w=`
|
|
82
82
|
|
|
83
|
-
Check the top-level render call using <`+
|
|
83
|
+
Check the top-level render call using <`+A+">.")}return w}}function Ie(d,w){{if(!d._store||d._store.validated||d.key!=null)return;d._store.validated=!0;var A=ee(w);if(V[A])return;V[A]=!0;var z="";d&&d._owner&&d._owner!==Ye.current&&(z=" It was passed a child from "+_e(d._owner.type)+"."),We(d),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',A,z),We(null)}}function wt(d,w){{if(typeof d!="object")return;if(mt(d))for(var A=0;A<d.length;A++){var z=d[A];Et(z)&&Ie(z,w)}else if(Et(d))d._store&&(d._store.validated=!0);else if(d){var ae=P(d);if(typeof ae=="function"&&ae!==d.entries)for(var re=ae.call(d),X;!(X=re.next()).done;)Et(X.value)&&Ie(X.value,w)}}}function j(d){{var w=d.type;if(w==null||typeof w=="string")return;var A;if(typeof w=="function")A=w.propTypes;else if(typeof w=="object"&&(w.$$typeof===u||w.$$typeof===m))A=w.propTypes;else return;if(A){var z=_e(w);ht(A,d.props,"prop",z,d)}else if(w.PropTypes!==void 0&&!Qe){Qe=!0;var ae=_e(w);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ae||"Unknown")}typeof w.getDefaultProps=="function"&&!w.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function B(d){{for(var w=Object.keys(d.props),A=0;A<w.length;A++){var z=w[A];if(z!=="children"&&z!=="key"){We(d),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",z),We(null);break}}d.ref!==null&&(We(d),O("Invalid attribute `ref` supplied to `React.Fragment`."),We(null))}}function U(d,w,A,z,ae,re){{var X=he(d);if(!X){var J="";(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(J+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ne=Xe();Ne?J+=Ne:J+=Se();var W;d===null?W="null":mt(d)?W="array":d!==void 0&&d.$$typeof===t?(W="<"+(_e(d.type)||"Unknown")+" />",J=" Did you accidentally export a JSX literal instead of a component?"):W=typeof d,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",W,J)}var de=bt(d,w,A,ae,re);if(de==null)return de;if(X){var Oe=w.children;if(Oe!==void 0)if(z)if(mt(Oe)){for(var Ze=0;Ze<Oe.length;Ze++)wt(Oe[Ze],d);Object.freeze&&Object.freeze(Oe)}else O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else wt(Oe,d)}return d===n?B(de):j(de),de}}function Ce(d,w,A){return U(d,w,A,!0)}function De(d,w,A){return U(d,w,A,!1)}var lt=De,ke=Ce;qr.Fragment=n,qr.jsx=lt,qr.jsxs=ke}()),qr}process.env.NODE_ENV==="production"?Yo.exports=ju():Yo.exports=Pu();var T=Yo.exports;const Iu={25:"#fcfcfd",50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#2f394b",800:"#212a36",900:"#161b25"},Mu={25:"#fef2f3",50:"#fddfe2",100:"#fbbac0",200:"#f9959e",300:"#f65e6a",400:"#f32637",500:"#bf0b1a",600:"#ac0a17",700:"#9a0915",800:"#870812",900:"#750710"},Lu={25:"",50:"",100:"#ffe6ff",200:"",300:"#b8075d",400:"",500:"#7f0540",600:"",700:"#59042d",800:"",900:"#460323"},Du={25:"",50:"#fef3f2",100:"",200:"#fecdca",300:"",400:"",500:"#f04438",600:"",700:"#b42318",800:"",900:""},Nu={25:"",50:"#fffaeb",100:"",200:"#fef0c7",300:"",400:"#ffd562",500:"#fdb022",600:"#dc6803",700:"#b54708",800:"",900:""},Fu={25:"",50:"#f6fef9",100:"",200:"#a6f4c5",300:"",400:"",500:"#12b76a",600:"",700:"#027a48",800:"",900:""},Vu={25:"",50:"#eff8ff",100:"",200:"#b2ddff",300:"",400:"",500:"#2e90fa",600:"",700:"#175cd3",800:"",900:""},zu={"01":"linear-gradient(45deg, #f32637 0%, #b8075d 100%)","02":"linear-gradient(45deg, #fcfcfd 0%, #667085 100%)"},Bu={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"}},Wu={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)"},Uu={mobile:"480px",tablet:"960px",sm:"1024px",md:"1440px",lg:"1920px"},qu={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"},Gu=["lock-keyhole","bolt","books","brain-circuit","briefcase","bug","buildings","bullseye-pointer","calendar-clock","calendar-xmark","chart-network","clipboard-check","clouds","comment","envelope","eye","file","flag","globe","hand-holding-dollar","hands-clapping","headset","hexagon-exclamation","light-emergency-on","magnifying-glass","pen-line","plane-departure","screwdriver-wrench","sensor-triangle-exclamation","shield-check","sidebar","skull","sliders","star-christmas","telescope","trash","unlock","user-group","user-hoodie","xmark"],Hu=[["fal","arrow-down"],["fal","arrow-left"],["fal","arrow-right"],["fal","arrow-up"],["fal","plus"],["fal","minus"],["fas","check"],["fas","circle-question"]],C={typography:Bu,shadows:Wu,breakpoints:Uu,spacing:qu,palette:{primary:Mu,complementary:Lu,error:Du,info:Vu,warning:Nu,success:Fu,black:"#0c111d",white:"#ffffff",gray:Iu,gradients:zu}},Yu=({children:e})=>T.jsx(ku,{theme:C,children:e}),G=(e,t)=>t===void 0?"":`${e}: ${t};`,Zr=e=>{const t=e.py??e.pt??0,r=e.px??e.pr??0,n=e.py??e.pb??0,o=e.px??e.pl??0;if(e.padding){const[i,a,c,u]=e.padding;return`padding: ${C.spacing[i]} ${C.spacing[a]} ${C.spacing[c]} ${C.spacing[u]};`}return`padding: ${C.spacing[t]} ${C.spacing[r]} ${C.spacing[n]} ${C.spacing[o]};`},en=e=>{const t=e.my??e.mt??0,r=e.mx??e.mr??0,n=e.my??e.mb??0,o=e.mx??e.ml??0;if(e.margin){const[i,a,c,u]=e.margin;return`margin: ${C.spacing[i]} ${C.spacing[a]} ${C.spacing[c]} ${C.spacing[u]};`}return`margin: ${C.spacing[t]} ${C.spacing[r]} ${C.spacing[n]} ${C.spacing[o]};`},tn=e=>{const t=G("position",e.position),r=G("top",e.top),n=G("right",e.right),o=G("bottom",e.bottom),i=G("left",e.left),a=G("z-index",e.zIndex);return`
|
|
84
84
|
${t}
|
|
85
85
|
${r}
|
|
86
86
|
${n}
|
|
87
87
|
${o}
|
|
88
88
|
${i}
|
|
89
|
-
${
|
|
90
|
-
`},rn=e=>{const t=
|
|
89
|
+
${a}
|
|
90
|
+
`},rn=e=>{const t=G("border",e.border),r=G("border-top",e.borderTop),n=G("border-right",e.borderRight),o=G("border-bottom",e.borderBottom),i=G("border-left",e.borderLeft),a=G("border-color",e.borderColor),c=G("border-radius",e.borderRadius);return`
|
|
91
91
|
${t}
|
|
92
92
|
${r}
|
|
93
93
|
${n}
|
|
94
94
|
${o}
|
|
95
95
|
${i}
|
|
96
|
-
${
|
|
96
|
+
${a}
|
|
97
97
|
${c}
|
|
98
|
-
`},
|
|
99
|
-
${
|
|
100
|
-
${
|
|
101
|
-
`:"",r=
|
|
98
|
+
`},Qu=e=>e.includes("x")?"overflow-x: auto;":"",Ju=e=>e.includes("y")?"overflow-y: auto;":"",nn=e=>{const t=e.scroll?`
|
|
99
|
+
${Qu(e.scroll)}
|
|
100
|
+
${Ju(e.scroll)}
|
|
101
|
+
`:"",r=G("visibility",e.visibility),n=G("display",e.display),o=G("height",e.height),i=G("width",e.width),a=G("max-height",e.maxHeight),c=G("max-width",e.maxWidth),u=G("min-height",e.minHeight),f=G("min-width",e.minWidth),h=G("box-shadow",e.shadow?C.shadows[e.shadow]:void 0),m=G("gap",e.gap===void 0?void 0:C.spacing[e.gap]),_=G("background-color",e.bgColor),v=G("background",e.bgGradient),S=G("flex-direction",e.flexDirection),k=G("flex-grow",e.flexGrow),P=G("justify-content",e.justify),E=G("justify-self",e.justifySelf),O=G("align-items",e.alignItems),R=G("align-self",e.alignSelf),L=G("flex-wrap",e.wrap);return`
|
|
102
102
|
${t}
|
|
103
103
|
${r}
|
|
104
104
|
${n}
|
|
105
105
|
${o}
|
|
106
106
|
${i}
|
|
107
|
-
${
|
|
107
|
+
${a}
|
|
108
108
|
${c}
|
|
109
109
|
${u}
|
|
110
|
-
${
|
|
110
|
+
${f}
|
|
111
111
|
${h}
|
|
112
112
|
${_}
|
|
113
113
|
${v}
|
|
114
|
-
${
|
|
114
|
+
${m}
|
|
115
115
|
${S}
|
|
116
|
-
${
|
|
117
|
-
${
|
|
116
|
+
${k}
|
|
117
|
+
${P}
|
|
118
118
|
${E}
|
|
119
|
-
${
|
|
119
|
+
${O}
|
|
120
120
|
${R}
|
|
121
|
-
${
|
|
122
|
-
`},on=e=>{const t=
|
|
121
|
+
${L}
|
|
122
|
+
`},on=e=>{const t=G("color",e.color),r=G("font-family",e.fontFamily),n=G("font-size",e.fontSize),o=G("font-weight",e.fontWeight),i=G("line-spacing",e.letterSpacing),a=G("line-height",e.lineSpacing),c=G("text-align",e.textAlign),u=G("text-decoration",e.textDecoration),f=G("text-overflow",e.textOverflow),h=G("white-space",e.whiteSpace),m=G("word-break",e.wordBreak),_=G("word-wrap",e.wordWrap);return`
|
|
123
123
|
${t}
|
|
124
124
|
${r}
|
|
125
125
|
${n}
|
|
126
126
|
${o}
|
|
127
127
|
${i}
|
|
128
|
-
${
|
|
128
|
+
${a}
|
|
129
129
|
${c}
|
|
130
130
|
${u}
|
|
131
|
-
${
|
|
131
|
+
${f}
|
|
132
132
|
${h}
|
|
133
|
-
${
|
|
133
|
+
${m}
|
|
134
134
|
${_}
|
|
135
|
-
`},
|
|
135
|
+
`},an=e=>{const t=G("cursor",e.cursor),r=G("border-color",e.borderColorHover),n=G("background-color",e.bgColorHover),o=G("box-shadow",e.shadowHover===void 0?void 0:C.shadows[e.shadowHover]),i=G("transition",e.transition);return`
|
|
136
136
|
${t}
|
|
137
137
|
|
|
138
138
|
&:hover {
|
|
@@ -141,51 +141,51 @@ Check the top-level render call using <`+T+">.")}return b}}function Ie(f,b){{if(
|
|
|
141
141
|
${n}
|
|
142
142
|
${o}
|
|
143
143
|
}
|
|
144
|
-
`},
|
|
144
|
+
`},sn=()=>({shouldForwardProp:e=>!ms.includes(e)}),cn=ne.div.withConfig(sn())`
|
|
145
145
|
${Zr}
|
|
146
146
|
${en}
|
|
147
147
|
${tn}
|
|
148
148
|
${nn}
|
|
149
149
|
${on}
|
|
150
150
|
${rn}
|
|
151
|
-
${
|
|
152
|
-
`,
|
|
151
|
+
${an}
|
|
152
|
+
`,zs=ne.button.withConfig(sn())`
|
|
153
153
|
${Zr}
|
|
154
154
|
${en}
|
|
155
155
|
${tn}
|
|
156
156
|
${nn}
|
|
157
157
|
${on}
|
|
158
158
|
${rn}
|
|
159
|
-
${
|
|
160
|
-
`,
|
|
159
|
+
${an}
|
|
160
|
+
`,_i=ne.p.withConfig(sn())`
|
|
161
161
|
${Zr}
|
|
162
162
|
${en}
|
|
163
163
|
${tn}
|
|
164
164
|
${nn}
|
|
165
165
|
${on}
|
|
166
166
|
${rn}
|
|
167
|
-
${
|
|
168
|
-
`,
|
|
167
|
+
${an}
|
|
168
|
+
`,Bs=ne.span.withConfig(sn())`
|
|
169
169
|
${Zr}
|
|
170
170
|
${en}
|
|
171
171
|
${tn}
|
|
172
172
|
${nn}
|
|
173
173
|
${on}
|
|
174
174
|
${rn}
|
|
175
|
-
${
|
|
176
|
-
`,
|
|
175
|
+
${an}
|
|
176
|
+
`,Ku=(e,t,r,n)=>n==="platform"?t||e===r-1?"1px solid":void 0:e===r-1?"1px solid":void 0,Xu=(e,t)=>t==="progress"&&e?void 0:"1px solid",Zu=(e,t)=>t==="simple"?e?"minus":"plus":e?"chevron-up":"chevron-down",ed=e=>e?"block":"none",td=(e,t,r)=>{r(e===t?n=>!n:!0)},rd=e=>e==="platform"?[.75,.75,.75,.75]:[1.5,2,1.5,2],nd=e=>{if(e==="platform")return[.75,.75,.75,.75]},od=e=>e==="platform"?C.palette.gray[100]:C.palette.gray[50],id=e=>e==="platform"?C.palette.gray[200]:C.palette.gray[300],ad=e=>e==="platform"?C.palette.gray[400]:C.palette.gray[800],sd=e=>e==="end"?"row":"row-reverse",Ws=e=>e==="platform"?"sm":"md",cd=ne(cn)`
|
|
177
177
|
${({$center:e=!1})=>`
|
|
178
178
|
${e?"margin: auto;":""}
|
|
179
179
|
`}
|
|
180
|
-
`,
|
|
181
|
-
${({theme:e,$color:t=e.palette.gray[800],$display:r="block",$fontFamily:n=e.typography.type.poppins,$fontWeight:o="bold",$letterSpacing:i=0,$lineSpacing:
|
|
180
|
+
`,kt=b.forwardRef(function({as:t="div",center:r,children:n,id:o,onHover:i,onLeave:a,...c},u){return T.jsx(cd,{$center:r,as:t,id:o,onMouseLeave:a,onMouseOver:i,ref:u,...c,children:n})}),ld=ne(_i)`
|
|
181
|
+
${({theme:e,$color:t=e.palette.gray[800],$display:r="block",$fontFamily:n=e.typography.type.poppins,$fontWeight:o="bold",$letterSpacing:i=0,$lineSpacing:a=1.5,$size:c,$sizeMd:u,$sizeSm:f,$wordBreak:h="normal"})=>`
|
|
182
182
|
color: ${t};
|
|
183
183
|
display: ${r};
|
|
184
184
|
font-family: ${n};
|
|
185
185
|
font-size: ${e.typography.heading[c]};
|
|
186
186
|
font-weight: ${e.typography.weight[o]};
|
|
187
187
|
letter-spacing: ${i};
|
|
188
|
-
line-height: ${e.spacing[
|
|
188
|
+
line-height: ${e.spacing[a]};
|
|
189
189
|
width: ${r==="block"?"100%":"auto"};
|
|
190
190
|
word-break: ${h};
|
|
191
191
|
|
|
@@ -197,18 +197,18 @@ Check the top-level render call using <`+T+">.")}return b}}function Ie(f,b){{if(
|
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
200
|
-
font-size: ${e.typography.heading[
|
|
200
|
+
font-size: ${e.typography.heading[f??c]};
|
|
201
201
|
}
|
|
202
202
|
`}
|
|
203
|
-
`,
|
|
204
|
-
${({theme:e,$color:t=e.palette.gray[600],$display:r="block",$fontFamily:n=e.typography.type.primary,$fontWeight:o="regular",$letterSpacing:i=0,$lineSpacing:
|
|
203
|
+
`,ud=ne(_i)`
|
|
204
|
+
${({theme:e,$color:t=e.palette.gray[600],$display:r="block",$fontFamily:n=e.typography.type.primary,$fontWeight:o="regular",$letterSpacing:i=0,$lineSpacing:a=1.25,$size:c,$sizeMd:u,$sizeSm:f,$wordBreak:h="normal"})=>`
|
|
205
205
|
color: ${t};
|
|
206
206
|
display: ${r};
|
|
207
207
|
font-family: ${n};
|
|
208
208
|
font-size: ${e.typography.text[c]};
|
|
209
209
|
font-weight: ${e.typography.weight[o]};
|
|
210
210
|
letter-spacing: ${i};
|
|
211
|
-
line-height: ${e.spacing[
|
|
211
|
+
line-height: ${e.spacing[a]};
|
|
212
212
|
width: ${r==="block"?"100%":"auto"};
|
|
213
213
|
word-break: ${h};
|
|
214
214
|
|
|
@@ -220,14 +220,14 @@ Check the top-level render call using <`+T+">.")}return b}}function Ie(f,b){{if(
|
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
223
|
-
font-size: ${e.typography.text[
|
|
223
|
+
font-size: ${e.typography.text[f??c]};
|
|
224
224
|
}
|
|
225
225
|
`}
|
|
226
|
-
`,
|
|
227
|
-
${({$clickable:e,$color:t="inherit",$disabled:r=!1,$hoverColor:n,$rotation:o,$size:i})=>{const
|
|
226
|
+
`,xi=b.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:a,lineSpacing:c,size:u,sizeMd:f,sizeSm:h,wordBreak:m,..._},v){return T.jsx(ld,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:a,$lineSpacing:c,$size:u,$sizeMd:f,$sizeSm:h,$wordBreak:m,ref:v,..._,children:t})}),xt=b.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:a,lineSpacing:c,size:u,sizeMd:f,sizeSm:h,wordBreak:m,..._},v){return T.jsx(ud,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:a,$lineSpacing:c,$size:u,$sizeMd:f,$sizeSm:h,$wordBreak:m,ref:v,..._,children:t})}),$a=({isSelectedAndOpen:e,item:t,variant:r,render:n})=>n?T.jsxs(kt,{display:ed(e),padding:nd(r),children:[t.description?T.jsx(xt,{mb:t.extraElement?.5:void 0,mt:r==="platform"?void 0:.5,size:Ws(r),sizeSm:"sm",children:t.description}):void 0,t.extraElement?T.jsx(kt,{children:t.extraElement}):void 0]}):null,dd={xl:"96px",lg:"64px",md:"32px",sm:"24px",xs:"16px",xxs:"12px"},fd=ne(Bs)`
|
|
227
|
+
${({$clickable:e,$color:t="inherit",$disabled:r=!1,$hoverColor:n,$rotation:o,$size:i})=>{const a=n?"":"brightness(50%)",c=n??"";return`
|
|
228
228
|
color: ${t};
|
|
229
229
|
cursor: ${e?"pointer":"inherit"};
|
|
230
|
-
font-size: ${
|
|
230
|
+
font-size: ${dd[i]};
|
|
231
231
|
line-height: 0;
|
|
232
232
|
vertical-align: middle;
|
|
233
233
|
pointer-events: inherit;
|
|
@@ -243,18 +243,18 @@ Check the top-level render call using <`+T+">.")}return b}}function Ie(f,b){{if(
|
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
${e?`&:hover {
|
|
246
|
-
filter: ${
|
|
246
|
+
filter: ${a};
|
|
247
247
|
color: ${c};
|
|
248
248
|
}`:""}
|
|
249
249
|
`}}
|
|
250
|
-
`;
|
|
250
|
+
`;ne.div`
|
|
251
251
|
cursor: pointer;
|
|
252
252
|
transition: all 0.2s ease-in-out;
|
|
253
253
|
|
|
254
254
|
&:hover:not([disabled]) {
|
|
255
255
|
transform: scale(1.2);
|
|
256
256
|
}
|
|
257
|
-
`;const
|
|
257
|
+
`;const Ft=b.forwardRef(function({clickable:t,disabled:r,hoverColor:n,icon:o,iconClass:i="",iconColor:a,iconMask:c,iconSize:u,iconTransform:f,iconType:h="fa-solid",onClick:m,rotation:_,...v},S){return T.jsx(fd,{$clickable:t,$color:a,$disabled:r,$hoverColor:n,$rotation:_,$size:u,"data-testid":`${o}-icon`,onClick:m,ref:S,...v,children:T.jsx("i",{className:`${h} fa-${o} ${i}`,...c!==void 0?{"data-fa-mask":c}:{},...f!==void 0?{"data-fa-transform":f}:{}})},`${h}-${o}`)}),pd=ne(cn)`
|
|
258
258
|
animation: ${({$animationTime:e})=>`progress-bar ${e}s ease-in-out`};
|
|
259
259
|
animation-fill-mode: both;
|
|
260
260
|
|
|
@@ -267,7 +267,7 @@ Check the top-level render call using <`+T+">.")}return b}}function Ie(f,b){{if(
|
|
|
267
267
|
width: 100%;
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
`,
|
|
270
|
+
`,hd=e=>e*1e3/100,Us=({progressTime:e=10,onComplete:t})=>{const[n,o]=b.useState(0);return b.useEffect(()=>{n===100&&(t==null||t())},[n,t]),b.useEffect(()=>{const i=setInterval(()=>{o(a=>a===100?0:a+1)},hd(e));return()=>{clearInterval(i)}},[n,e]),T.jsx(kt,{bgColor:C.palette.gray[200],height:"4px",children:T.jsx(pd,{$animationTime:e,bgGradient:C.palette.gradients["01"],height:"100%",width:`${n}%`})})},gd=b.forwardRef(function({aligned:t="end",progressTime:r=10,items:n,bgColor:o,variant:i="simple"},a){const c=i==="progress"&&n.length>1,[u,f]=b.useState(!!c),[h,m]=b.useState(c?0:-1),_=b.useCallback(S=>()=>{m(S),td(S,h,f)},[h]),v=b.useCallback(()=>{m(S=>S===n.length-1?0:S+1)},[n.length]);return T.jsx(kt,{ref:a,children:n.map((S,k)=>{const P=k===h&&u;return T.jsxs(kt,{bgColor:o??C.palette.white,children:[c&&P?T.jsx(Us,{onComplete:v,progressTime:r}):void 0,T.jsxs(kt,{bgColorHover:od(i),borderBottom:Ku(k,P,n.length,i),borderColor:id(i),borderTop:Xu(P,i),cursor:"pointer",onClick:_(k),padding:rd(i),children:[T.jsxs(kt,{display:"flex",flexDirection:sd(t),gap:.75,justify:"space-between",children:[T.jsx(xt,{color:C.palette.gray[800],fontWeight:"bold",size:Ws(i),sizeSm:"sm",children:S.title}),T.jsx(Ft,{icon:Zu(P,i),iconColor:ad(i),iconSize:"xs",iconType:"fa-light"})]}),T.jsx($a,{isSelectedAndOpen:P,item:S,render:i!=="platform",variant:i})]}),T.jsx($a,{isSelectedAndOpen:P,item:S,render:i==="platform",variant:i})]},S.title)})})}),{getVariant:md}=gs(e=>({ghost:`
|
|
271
271
|
background: ${e.palette.white};
|
|
272
272
|
border: none;
|
|
273
273
|
color: ${e.palette.gray[800]};
|
|
@@ -420,7 +420,7 @@ Check the top-level render call using <`+T+">.")}return b}}function Ie(f,b){{if(
|
|
|
420
420
|
background-color: ${e.palette.primary[500]};
|
|
421
421
|
color: ${e.palette.white};
|
|
422
422
|
}
|
|
423
|
-
`})),
|
|
423
|
+
`})),yd=ne(zs)`
|
|
424
424
|
${({theme:e,$variant:t})=>`
|
|
425
425
|
align-items: center;
|
|
426
426
|
border-radius: var(--btn-spacing);
|
|
@@ -438,19 +438,19 @@ Check the top-level render call using <`+T+">.")}return b}}function Ie(f,b){{if(
|
|
|
438
438
|
--btn-padding-y: ${e.spacing[1]};
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
${
|
|
441
|
+
${md(e,t??"primaryWeb")}
|
|
442
442
|
`}
|
|
443
|
-
`,Pr=Math.min,yr=Math.max,Fn=Math.round,On=Math.floor,sr=e=>({x:e,y:e}),gf={left:"right",right:"left",bottom:"top",top:"bottom"},yf={start:"end",end:"start"};function Yo(e,t,r){return yr(e,Pr(t,r))}function ln(e,t){return typeof e=="function"?e(t):e}function br(e){return e.split("-")[0]}function un(e){return e.split("-")[1]}function Ba(e){return e==="x"?"y":"x"}function xi(e){return e==="y"?"height":"width"}function Ir(e){return["top","bottom"].includes(br(e))?"y":"x"}function $i(e){return Ba(Ir(e))}function mf(e,t,r){r===void 0&&(r=!1);const n=un(e),o=$i(e),i=xi(o);let s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Vn(s)),[s,Vn(s)]}function vf(e){const t=Vn(e);return[Qo(e),t,Qo(t)]}function Qo(e){return e.replace(/start|end/g,t=>yf[t])}function bf(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:s;default:return[]}}function wf(e,t,r,n){const o=un(e);let i=bf(br(e),r==="start",n);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Qo)))),i}function Vn(e){return e.replace(/left|right|bottom|top/g,t=>gf[t])}function _f(e){return{top:0,right:0,bottom:0,left:0,...e}}function za(e){return typeof e!="number"?_f(e):{top:e,right:e,bottom:e,left:e}}function Bn(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function Ss(e,t,r){let{reference:n,floating:o}=e;const i=Ir(t),s=$i(t),c=xi(s),u=br(t),d=i==="y",h=n.x+n.width/2-o.width/2,y=n.y+n.height/2-o.height/2,_=n[c]/2-o[c]/2;let v;switch(u){case"top":v={x:h,y:n.y-o.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y};break;case"left":v={x:n.x-o.width,y};break;default:v={x:n.x,y:n.y}}switch(un(t)){case"start":v[s]-=_*(r&&d?-1:1);break;case"end":v[s]+=_*(r&&d?-1:1);break}return v}const xf=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,c=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let d=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y}=Ss(d,n,u),_=n,v={},S=0;for(let A=0;A<c.length;A++){const{name:j,fn:E}=c[A],{x:C,y:R,data:M,reset:L}=await E({x:h,y,initialPlacement:n,placement:_,strategy:o,middlewareData:v,rects:d,platform:s,elements:{reference:e,floating:t}});h=C??h,y=R??y,v={...v,[j]:{...v[j],...M}},L&&S<=50&&(S++,typeof L=="object"&&(L.placement&&(_=L.placement),L.rects&&(d=L.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):L.rects),{x:h,y}=Ss(d,_,u)),A=-1)}return{x:h,y,placement:_,strategy:o,middlewareData:v}};async function Wa(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:s,elements:c,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:_=!1,padding:v=0}=ln(t,e),S=za(v),j=c[_?y==="floating"?"reference":"floating":y],E=Bn(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(j)))==null||r?j:j.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:d,rootBoundary:h,strategy:u})),C=y==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,R=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),M=await(i.isElement==null?void 0:i.isElement(R))?await(i.getScale==null?void 0:i.getScale(R))||{x:1,y:1}:{x:1,y:1},L=Bn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:C,offsetParent:R,strategy:u}):C);return{top:(E.top-L.top+S.top)/M.y,bottom:(L.bottom-E.bottom+S.bottom)/M.y,left:(E.left-L.left+S.left)/M.x,right:(L.right-E.right+S.right)/M.x}}const $f=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:s,elements:c,middlewareData:u}=t,{element:d,padding:h=0}=ln(e,t)||{};if(d==null)return{};const y=za(h),_={x:r,y:n},v=$i(o),S=xi(v),A=await s.getDimensions(d),j=v==="y",E=j?"top":"left",C=j?"bottom":"right",R=j?"clientHeight":"clientWidth",M=i.reference[S]+i.reference[v]-_[v]-i.floating[S],L=_[v]-i.reference[v],N=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let P=N?N[R]:0;(!P||!await(s.isElement==null?void 0:s.isElement(N)))&&(P=c.floating[R]||i.floating[S]);const be=M/2-L/2,we=P/2-A[S]/2-1,he=Pr(y[E],we),Fe=Pr(y[C],we),Le=he,_e=P-A[S]-Fe,J=P/2-A[S]/2+be,Ee=Yo(Le,J,_e),se=!u.arrow&&un(o)!=null&&J!==Ee&&i.reference[S]/2-(J<Le?he:Fe)-A[S]/2<0,ae=se?J<Le?J-Le:J-_e:0;return{[v]:_[v]+ae,data:{[v]:Ee,centerOffset:J-Ee-ae,...se&&{alignmentOffset:ae}},reset:se}}}),Sf=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:s,initialPlacement:c,platform:u,elements:d}=t,{mainAxis:h=!0,crossAxis:y=!0,fallbackPlacements:_,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:A=!0,...j}=ln(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const E=br(o),C=Ir(c),R=br(c)===c,M=await(u.isRTL==null?void 0:u.isRTL(d.floating)),L=_||(R||!A?[Vn(c)]:vf(c)),N=S!=="none";!_&&N&&L.push(...wf(c,A,S,M));const P=[c,...L],be=await Wa(t,j),we=[];let he=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&we.push(be[E]),y){const J=mf(o,s,M);we.push(be[J[0]],be[J[1]])}if(he=[...he,{placement:o,overflows:we}],!we.every(J=>J<=0)){var Fe,Le;const J=(((Fe=i.flip)==null?void 0:Fe.index)||0)+1,Ee=P[J];if(Ee)return{data:{index:J,overflows:he},reset:{placement:Ee}};let se=(Le=he.filter(ae=>ae.overflows[0]<=0).sort((ae,ce)=>ae.overflows[1]-ce.overflows[1])[0])==null?void 0:Le.placement;if(!se)switch(v){case"bestFit":{var _e;const ae=(_e=he.filter(ce=>{if(N){const ne=Ir(ce.placement);return ne===C||ne==="y"}return!0}).map(ce=>[ce.placement,ce.overflows.filter(ne=>ne>0).reduce((ne,G)=>ne+G,0)]).sort((ce,ne)=>ce[1]-ne[1])[0])==null?void 0:_e[0];ae&&(se=ae);break}case"initialPlacement":se=c;break}if(o!==se)return{reset:{placement:se}}}return{}}}};async function Ef(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=br(r),c=un(r),u=Ir(r)==="y",d=["left","top"].includes(s)?-1:1,h=i&&u?-1:1,y=ln(t,e);let{mainAxis:_,crossAxis:v,alignmentAxis:S}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return c&&typeof S=="number"&&(v=c==="end"?S*-1:S),u?{x:v*h,y:_*d}:{x:_*d,y:v*h}}const Tf=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:s,middlewareData:c}=t,u=await Ef(t,e);return s===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:s}}}}},Af=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:c={fn:j=>{let{x:E,y:C}=j;return{x:E,y:C}}},...u}=ln(e,t),d={x:r,y:n},h=await Wa(t,u),y=Ir(br(o)),_=Ba(y);let v=d[_],S=d[y];if(i){const j=_==="y"?"top":"left",E=_==="y"?"bottom":"right",C=v+h[j],R=v-h[E];v=Yo(C,v,R)}if(s){const j=y==="y"?"top":"left",E=y==="y"?"bottom":"right",C=S+h[j],R=S-h[E];S=Yo(C,S,R)}const A=c.fn({...t,[_]:v,[y]:S});return{...A,data:{x:A.x-r,y:A.y-n,enabled:{[_]:i,[y]:s}}}}}};function to(){return typeof window<"u"}function Dr(e){return Ua(e)?(e.nodeName||"").toLowerCase():"#document"}function Rt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Yt(e){var t;return(t=(Ua(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ua(e){return to()?e instanceof Node||e instanceof Rt(e).Node:!1}function zt(e){return to()?e instanceof Element||e instanceof Rt(e).Element:!1}function Ht(e){return to()?e instanceof HTMLElement||e instanceof Rt(e).HTMLElement:!1}function Es(e){return!to()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Rt(e).ShadowRoot}function fn(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Wt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function Cf(e){return["table","td","th"].includes(Dr(e))}function ro(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Si(e){const t=Ei(),r=zt(e)?Wt(e):e;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Of(e){let t=ar(e);for(;Ht(t)&&!Mr(t);){if(Si(t))return t;if(ro(t))return null;t=ar(t)}return null}function Ei(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Mr(e){return["html","body","#document"].includes(Dr(e))}function Wt(e){return Rt(e).getComputedStyle(e)}function no(e){return zt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ar(e){if(Dr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Es(e)&&e.host||Yt(e);return Es(t)?t.host:t}function qa(e){const t=ar(e);return Mr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ht(t)&&fn(t)?t:qa(t)}function Qr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=qa(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),s=Rt(o);if(i){const c=Jo(s);return t.concat(s,s.visualViewport||[],fn(o)?o:[],c&&r?Qr(c):[])}return t.concat(o,Qr(o,[],r))}function Jo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ga(e){const t=Wt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Ht(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,c=Fn(r)!==i||Fn(n)!==s;return c&&(r=i,n=s),{width:r,height:n,$:c}}function Ti(e){return zt(e)?e:e.contextElement}function Ar(e){const t=Ti(e);if(!Ht(t))return sr(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Ga(t);let s=(i?Fn(r.width):r.width)/n,c=(i?Fn(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Rf=sr(0);function Ha(e){const t=Rt(e);return!Ei()||!t.visualViewport?Rf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function kf(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Rt(e)?!1:t}function wr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=Ti(e);let s=sr(1);t&&(n?zt(n)&&(s=Ar(n)):s=Ar(e));const c=kf(i,r,n)?Ha(i):sr(0);let u=(o.left+c.x)/s.x,d=(o.top+c.y)/s.y,h=o.width/s.x,y=o.height/s.y;if(i){const _=Rt(i),v=n&&zt(n)?Rt(n):n;let S=_,A=Jo(S);for(;A&&n&&v!==S;){const j=Ar(A),E=A.getBoundingClientRect(),C=Wt(A),R=E.left+(A.clientLeft+parseFloat(C.paddingLeft))*j.x,M=E.top+(A.clientTop+parseFloat(C.paddingTop))*j.y;u*=j.x,d*=j.y,h*=j.x,y*=j.y,u+=R,d+=M,S=Rt(A),A=Jo(S)}}return Bn({width:h,height:y,x:u,y:d})}function jf(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",s=Yt(n),c=t?ro(t.floating):!1;if(n===s||c&&i)return r;let u={scrollLeft:0,scrollTop:0},d=sr(1);const h=sr(0),y=Ht(n);if((y||!y&&!i)&&((Dr(n)!=="body"||fn(s))&&(u=no(n)),Ht(n))){const _=wr(n);d=Ar(n),h.x=_.x+n.clientLeft,h.y=_.y+n.clientTop}return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-u.scrollLeft*d.x+h.x,y:r.y*d.y-u.scrollTop*d.y+h.y}}function Pf(e){return Array.from(e.getClientRects())}function Ko(e,t){const r=no(e).scrollLeft;return t?t.left+r:wr(Yt(e)).left+r}function If(e){const t=Yt(e),r=no(e),n=e.ownerDocument.body,o=yr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=yr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Ko(e);const c=-r.scrollTop;return Wt(n).direction==="rtl"&&(s+=yr(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:c}}function Mf(e,t){const r=Rt(e),n=Yt(e),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,c=0,u=0;if(o){i=o.width,s=o.height;const d=Ei();(!d||d&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:i,height:s,x:c,y:u}}function Lf(e,t){const r=wr(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Ht(e)?Ar(e):sr(1),s=e.clientWidth*i.x,c=e.clientHeight*i.y,u=o*i.x,d=n*i.y;return{width:s,height:c,x:u,y:d}}function Ts(e,t,r){let n;if(t==="viewport")n=Mf(e,r);else if(t==="document")n=If(Yt(e));else if(zt(t))n=Lf(t,r);else{const o=Ha(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return Bn(n)}function Ya(e,t){const r=ar(e);return r===t||!zt(r)||Mr(r)?!1:Wt(r).position==="fixed"||Ya(r,t)}function Df(e,t){const r=t.get(e);if(r)return r;let n=Qr(e,[],!1).filter(c=>zt(c)&&Dr(c)!=="body"),o=null;const i=Wt(e).position==="fixed";let s=i?ar(e):e;for(;zt(s)&&!Mr(s);){const c=Wt(s),u=Si(s);!u&&c.position==="fixed"&&(o=null),(i?!u&&!o:!u&&c.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||fn(s)&&!u&&Ya(e,s))?n=n.filter(h=>h!==s):o=c,s=ar(s)}return t.set(e,n),n}function Nf(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?ro(t)?[]:Df(t,this._c):[].concat(r),n],c=s[0],u=s.reduce((d,h)=>{const y=Ts(t,h,o);return d.top=yr(y.top,d.top),d.right=Pr(y.right,d.right),d.bottom=Pr(y.bottom,d.bottom),d.left=yr(y.left,d.left),d},Ts(t,c,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Ff(e){const{width:t,height:r}=Ga(e);return{width:t,height:r}}function Vf(e,t,r){const n=Ht(t),o=Yt(t),i=r==="fixed",s=wr(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const u=sr(0);if(n||!n&&!i)if((Dr(t)!=="body"||fn(o))&&(c=no(t)),n){const v=wr(t,!0,i,t);u.x=v.x+t.clientLeft,u.y=v.y+t.clientTop}else o&&(u.x=Ko(o));let d=0,h=0;if(o&&!n&&!i){const v=o.getBoundingClientRect();h=v.top+c.scrollTop,d=v.left+c.scrollLeft-Ko(o,v)}const y=s.left+c.scrollLeft-u.x-d,_=s.top+c.scrollTop-u.y-h;return{x:y,y:_,width:s.width,height:s.height}}function ko(e){return Wt(e).position==="static"}function As(e,t){if(!Ht(e)||Wt(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Yt(e)===r&&(r=r.ownerDocument.body),r}function Qa(e,t){const r=Rt(e);if(ro(e))return r;if(!Ht(e)){let o=ar(e);for(;o&&!Mr(o);){if(zt(o)&&!ko(o))return o;o=ar(o)}return r}let n=As(e,t);for(;n&&Cf(n)&&ko(n);)n=As(n,t);return n&&Mr(n)&&ko(n)&&!Si(n)?r:n||Of(e)||r}const Bf=async function(e){const t=this.getOffsetParent||Qa,r=this.getDimensions,n=await r(e.floating);return{reference:Vf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function zf(e){return Wt(e).direction==="rtl"}const Wf={convertOffsetParentRelativeRectToViewportRelativeRect:jf,getDocumentElement:Yt,getClippingRect:Nf,getOffsetParent:Qa,getElementRects:Bf,getClientRects:Pf,getDimensions:Ff,getScale:Ar,isElement:zt,isRTL:zf};function Uf(e,t){let r=null,n;const o=Yt(e);function i(){var c;clearTimeout(n),(c=r)==null||c.disconnect(),r=null}function s(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),i();const{left:d,top:h,width:y,height:_}=e.getBoundingClientRect();if(c||t(),!y||!_)return;const v=On(h),S=On(o.clientWidth-(d+y)),A=On(o.clientHeight-(h+_)),j=On(d),C={rootMargin:-v+"px "+-S+"px "+-A+"px "+-j+"px",threshold:yr(0,Pr(1,u))||1};let R=!0;function M(L){const N=L[0].intersectionRatio;if(N!==u){if(!R)return s();N?s(!1,N):n=setTimeout(()=>{s(!1,1e-7)},1e3)}R=!1}try{r=new IntersectionObserver(M,{...C,root:o.ownerDocument})}catch{r=new IntersectionObserver(M,C)}r.observe(e)}return s(!0),i}function qf(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,d=Ti(e),h=o||i?[...d?Qr(d):[],...Qr(t)]:[];h.forEach(E=>{o&&E.addEventListener("scroll",r,{passive:!0}),i&&E.addEventListener("resize",r)});const y=d&&c?Uf(d,r):null;let _=-1,v=null;s&&(v=new ResizeObserver(E=>{let[C]=E;C&&C.target===d&&v&&(v.unobserve(t),cancelAnimationFrame(_),_=requestAnimationFrame(()=>{var R;(R=v)==null||R.observe(t)})),r()}),d&&!u&&v.observe(d),v.observe(t));let S,A=u?wr(e):null;u&&j();function j(){const E=wr(e);A&&(E.x!==A.x||E.y!==A.y||E.width!==A.width||E.height!==A.height)&&r(),A=E,S=requestAnimationFrame(j)}return r(),()=>{var E;h.forEach(C=>{o&&C.removeEventListener("scroll",r),i&&C.removeEventListener("resize",r)}),y==null||y(),(E=v)==null||E.disconnect(),v=null,u&&cancelAnimationFrame(S)}}const Ja=Tf,Gf=Af,Ka=Sf,Hf=$f,Cs=(e,t,r)=>{const n=new Map,o={platform:Wf,...r},i={...o.platform,_c:n};return xf(e,t,{...o,platform:i})},Yf=(e,t)=>({...Ja(e),options:[e,t]}),Qf=(e,t)=>({...Ka(e),options:[e,t]});var Jf=Object.prototype;function Kf(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Jf;return e===r}var Xa=Kf;function Xf(e,t){return function(r){return e(t(r))}}var Zf=Xf,ed=Zf,td=ed(Object.keys,Object),rd=td,nd=Xa,od=rd,id=Object.prototype,sd=id.hasOwnProperty;function ad(e){if(!nd(e))return od(e);var t=[];for(var r in Object(e))sd.call(e,r)&&r!="constructor"&&t.push(r);return t}var cd=ad,ld=typeof Sn=="object"&&Sn&&Sn.Object===Object&&Sn,Za=ld,ud=Za,fd=typeof self=="object"&&self&&self.Object===Object&&self,dd=ud||fd||Function("return this")(),cr=dd,pd=cr,hd=pd.Symbol,ec=hd,Os=ec,tc=Object.prototype,gd=tc.hasOwnProperty,yd=tc.toString,Gr=Os?Os.toStringTag:void 0;function md(e){var t=gd.call(e,Gr),r=e[Gr];try{e[Gr]=void 0;var n=!0}catch{}var o=yd.call(e);return n&&(t?e[Gr]=r:delete e[Gr]),o}var vd=md,bd=Object.prototype,wd=bd.toString;function _d(e){return wd.call(e)}var xd=_d,Rs=ec,$d=vd,Sd=xd,Ed="[object Null]",Td="[object Undefined]",ks=Rs?Rs.toStringTag:void 0;function Ad(e){return e==null?e===void 0?Td:Ed:ks&&ks in Object(e)?$d(e):Sd(e)}var oo=Ad;function Cd(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var rc=Cd,Od=oo,Rd=rc,kd="[object AsyncFunction]",jd="[object Function]",Pd="[object GeneratorFunction]",Id="[object Proxy]";function Md(e){if(!Rd(e))return!1;var t=Od(e);return t==jd||t==Pd||t==kd||t==Id}var nc=Md,Ld=cr,Dd=Ld["__core-js_shared__"],Nd=Dd,jo=Nd,js=function(){var e=/[^.]+$/.exec(jo&&jo.keys&&jo.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Fd(e){return!!js&&js in e}var Vd=Fd,Bd=Function.prototype,zd=Bd.toString;function Wd(e){if(e!=null){try{return zd.call(e)}catch{}try{return e+""}catch{}}return""}var oc=Wd,Ud=nc,qd=Vd,Gd=rc,Hd=oc,Yd=/[\\^$.*+?()[\]{}|]/g,Qd=/^\[object .+?Constructor\]$/,Jd=Function.prototype,Kd=Object.prototype,Xd=Jd.toString,Zd=Kd.hasOwnProperty,ep=RegExp("^"+Xd.call(Zd).replace(Yd,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function tp(e){if(!Gd(e)||qd(e))return!1;var t=Ud(e)?ep:Qd;return t.test(Hd(e))}var rp=tp;function np(e,t){return e==null?void 0:e[t]}var op=np,ip=rp,sp=op;function ap(e,t){var r=sp(e,t);return ip(r)?r:void 0}var dn=ap,cp=dn,lp=cr,up=cp(lp,"DataView"),fp=up,dp=dn,pp=cr,hp=dp(pp,"Map"),gp=hp,yp=dn,mp=cr,vp=yp(mp,"Promise"),bp=vp,wp=dn,_p=cr,xp=wp(_p,"Set"),$p=xp,Sp=dn,Ep=cr,Tp=Sp(Ep,"WeakMap"),Ap=Tp,Xo=fp,Zo=gp,ei=bp,ti=$p,ri=Ap,ic=oo,Nr=oc,Ps="[object Map]",Cp="[object Object]",Is="[object Promise]",Ms="[object Set]",Ls="[object WeakMap]",Ds="[object DataView]",Op=Nr(Xo),Rp=Nr(Zo),kp=Nr(ei),jp=Nr(ti),Pp=Nr(ri),fr=ic;(Xo&&fr(new Xo(new ArrayBuffer(1)))!=Ds||Zo&&fr(new Zo)!=Ps||ei&&fr(ei.resolve())!=Is||ti&&fr(new ti)!=Ms||ri&&fr(new ri)!=Ls)&&(fr=function(e){var t=ic(e),r=t==Cp?e.constructor:void 0,n=r?Nr(r):"";if(n)switch(n){case Op:return Ds;case Rp:return Ps;case kp:return Is;case jp:return Ms;case Pp:return Ls}return t});var Ip=fr;function Mp(e){return e!=null&&typeof e=="object"}var Ai=Mp,Lp=oo,Dp=Ai,Np="[object Arguments]";function Fp(e){return Dp(e)&&Lp(e)==Np}var Vp=Fp,Ns=Vp,Bp=Ai,sc=Object.prototype,zp=sc.hasOwnProperty,Wp=sc.propertyIsEnumerable,Up=Ns(function(){return arguments}())?Ns:function(e){return Bp(e)&&zp.call(e,"callee")&&!Wp.call(e,"callee")},qp=Up,Gp=Array.isArray,Hp=Gp,Yp=9007199254740991;function Qp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Yp}var ac=Qp,Jp=nc,Kp=ac;function Xp(e){return e!=null&&Kp(e.length)&&!Jp(e)}var Zp=Xp,zn={exports:{}};function eh(){return!1}var th=eh;zn.exports;(function(e,t){var r=cr,n=th,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,s=i&&i.exports===o,c=s?r.Buffer:void 0,u=c?c.isBuffer:void 0,d=u||n;e.exports=d})(zn,zn.exports);var rh=zn.exports,nh=oo,oh=ac,ih=Ai,sh="[object Arguments]",ah="[object Array]",ch="[object Boolean]",lh="[object Date]",uh="[object Error]",fh="[object Function]",dh="[object Map]",ph="[object Number]",hh="[object Object]",gh="[object RegExp]",yh="[object Set]",mh="[object String]",vh="[object WeakMap]",bh="[object ArrayBuffer]",wh="[object DataView]",_h="[object Float32Array]",xh="[object Float64Array]",$h="[object Int8Array]",Sh="[object Int16Array]",Eh="[object Int32Array]",Th="[object Uint8Array]",Ah="[object Uint8ClampedArray]",Ch="[object Uint16Array]",Oh="[object Uint32Array]",je={};je[_h]=je[xh]=je[$h]=je[Sh]=je[Eh]=je[Th]=je[Ah]=je[Ch]=je[Oh]=!0;je[sh]=je[ah]=je[bh]=je[ch]=je[wh]=je[lh]=je[uh]=je[fh]=je[dh]=je[ph]=je[hh]=je[gh]=je[yh]=je[mh]=je[vh]=!1;function Rh(e){return ih(e)&&oh(e.length)&&!!je[nh(e)]}var kh=Rh;function jh(e){return function(t){return e(t)}}var Ph=jh,Wn={exports:{}};Wn.exports;(function(e,t){var r=Za,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,s=i&&r.process,c=function(){try{var u=o&&o.require&&o.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();e.exports=c})(Wn,Wn.exports);var Ih=Wn.exports,Mh=kh,Lh=Ph,Fs=Ih,Vs=Fs&&Fs.isTypedArray,Dh=Vs?Lh(Vs):Mh,Nh=Dh,Fh=cd,Vh=Ip,Bh=qp,zh=Hp,Wh=Zp,Uh=rh,qh=Xa,Gh=Nh,Hh="[object Map]",Yh="[object Set]",Qh=Object.prototype,Jh=Qh.hasOwnProperty;function Kh(e){if(e==null)return!0;if(Wh(e)&&(zh(e)||typeof e=="string"||typeof e.splice=="function"||Uh(e)||Gh(e)||Bh(e)))return!e.length;var t=Vh(e);if(t==Hh||t==Yh)return!e.size;if(qh(e))return!Fh(e).length;for(var r in e)if(Jh.call(e,r))return!1;return!0}var Xh=Kh;const Po=ha(Xh);var cc={exports:{}};/*!
|
|
443
|
+
`,Pr=Math.min,mr=Math.max,Fn=Math.round,kn=Math.floor,ar=e=>({x:e,y:e}),vd={left:"right",right:"left",bottom:"top",top:"bottom"},bd={start:"end",end:"start"};function Qo(e,t,r){return mr(e,Pr(t,r))}function ln(e,t){return typeof e=="function"?e(t):e}function br(e){return e.split("-")[0]}function un(e){return e.split("-")[1]}function qs(e){return e==="x"?"y":"x"}function $i(e){return e==="y"?"height":"width"}function Ir(e){return["top","bottom"].includes(br(e))?"y":"x"}function Si(e){return qs(Ir(e))}function wd(e,t,r){r===void 0&&(r=!1);const n=un(e),o=Si(e),i=$i(o);let a=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Vn(a)),[a,Vn(a)]}function _d(e){const t=Vn(e);return[Jo(e),t,Jo(t)]}function Jo(e){return e.replace(/start|end/g,t=>bd[t])}function xd(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:a;default:return[]}}function $d(e,t,r,n){const o=un(e);let i=xd(br(e),r==="start",n);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Jo)))),i}function Vn(e){return e.replace(/left|right|bottom|top/g,t=>vd[t])}function Sd(e){return{top:0,right:0,bottom:0,left:0,...e}}function Gs(e){return typeof e!="number"?Sd(e):{top:e,right:e,bottom:e,left:e}}function zn(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function Sa(e,t,r){let{reference:n,floating:o}=e;const i=Ir(t),a=Si(t),c=$i(a),u=br(t),f=i==="y",h=n.x+n.width/2-o.width/2,m=n.y+n.height/2-o.height/2,_=n[c]/2-o[c]/2;let v;switch(u){case"top":v={x:h,y:n.y-o.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:m};break;case"left":v={x:n.x-o.width,y:m};break;default:v={x:n.x,y:n.y}}switch(un(t)){case"start":v[a]-=_*(r&&f?-1:1);break;case"end":v[a]+=_*(r&&f?-1:1);break}return v}const Ed=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,c=i.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(t));let f=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y:m}=Sa(f,n,u),_=n,v={},S=0;for(let k=0;k<c.length;k++){const{name:P,fn:E}=c[k],{x:O,y:R,data:L,reset:D}=await E({x:h,y:m,initialPlacement:n,placement:_,strategy:o,middlewareData:v,rects:f,platform:a,elements:{reference:e,floating:t}});h=O??h,m=R??m,v={...v,[P]:{...v[P],...L}},D&&S<=50&&(S++,typeof D=="object"&&(D.placement&&(_=D.placement),D.rects&&(f=D.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):D.rects),{x:h,y:m}=Sa(f,_,u)),k=-1)}return{x:h,y:m,placement:_,strategy:o,middlewareData:v}};async function Hs(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:a,elements:c,strategy:u}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:_=!1,padding:v=0}=ln(t,e),S=Gs(v),P=c[_?m==="floating"?"reference":"floating":m],E=zn(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(P)))==null||r?P:P.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:f,rootBoundary:h,strategy:u})),O=m==="floating"?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,R=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),L=await(i.isElement==null?void 0:i.isElement(R))?await(i.getScale==null?void 0:i.getScale(R))||{x:1,y:1}:{x:1,y:1},D=zn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:O,offsetParent:R,strategy:u}):O);return{top:(E.top-D.top+S.top)/L.y,bottom:(D.bottom-E.bottom+S.bottom)/L.y,left:(E.left-D.left+S.left)/L.x,right:(D.right-E.right+S.right)/L.x}}const Td=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:a,elements:c,middlewareData:u}=t,{element:f,padding:h=0}=ln(e,t)||{};if(f==null)return{};const m=Gs(h),_={x:r,y:n},v=Si(o),S=$i(v),k=await a.getDimensions(f),P=v==="y",E=P?"top":"left",O=P?"bottom":"right",R=P?"clientHeight":"clientWidth",L=i.reference[S]+i.reference[v]-_[v]-i.floating[S],D=_[v]-i.reference[v],F=await(a.getOffsetParent==null?void 0:a.getOffsetParent(f));let I=F?F[R]:0;(!I||!await(a.isElement==null?void 0:a.isElement(F)))&&(I=c.floating[R]||i.floating[S]);const be=L/2-D/2,we=I/2-k[S]/2-1,he=Pr(m[E],we),Fe=Pr(m[O],we),Le=he,_e=I-k[S]-Fe,K=I/2-k[S]/2+be,Ee=Qo(Le,K,_e),se=!u.arrow&&un(o)!=null&&K!==Ee&&i.reference[S]/2-(K<Le?he:Fe)-k[S]/2<0,ce=se?K<Le?K-Le:K-_e:0;return{[v]:_[v]+ce,data:{[v]:Ee,centerOffset:K-Ee-ce,...se&&{alignmentOffset:ce}},reset:se}}}),Ad=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:a,initialPlacement:c,platform:u,elements:f}=t,{mainAxis:h=!0,crossAxis:m=!0,fallbackPlacements:_,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:k=!0,...P}=ln(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const E=br(o),O=Ir(c),R=br(c)===c,L=await(u.isRTL==null?void 0:u.isRTL(f.floating)),D=_||(R||!k?[Vn(c)]:_d(c)),F=S!=="none";!_&&F&&D.push(...$d(c,k,S,L));const I=[c,...D],be=await Hs(t,P),we=[];let he=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&we.push(be[E]),m){const K=wd(o,a,L);we.push(be[K[0]],be[K[1]])}if(he=[...he,{placement:o,overflows:we}],!we.every(K=>K<=0)){var Fe,Le;const K=(((Fe=i.flip)==null?void 0:Fe.index)||0)+1,Ee=I[K];if(Ee)return{data:{index:K,overflows:he},reset:{placement:Ee}};let se=(Le=he.filter(ce=>ce.overflows[0]<=0).sort((ce,le)=>ce.overflows[1]-le.overflows[1])[0])==null?void 0:Le.placement;if(!se)switch(v){case"bestFit":{var _e;const ce=(_e=he.filter(le=>{if(F){const oe=Ir(le.placement);return oe===O||oe==="y"}return!0}).map(le=>[le.placement,le.overflows.filter(oe=>oe>0).reduce((oe,H)=>oe+H,0)]).sort((le,oe)=>le[1]-oe[1])[0])==null?void 0:_e[0];ce&&(se=ce);break}case"initialPlacement":se=c;break}if(o!==se)return{reset:{placement:se}}}return{}}}};async function Cd(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),a=br(r),c=un(r),u=Ir(r)==="y",f=["left","top"].includes(a)?-1:1,h=i&&u?-1:1,m=ln(t,e);let{mainAxis:_,crossAxis:v,alignmentAxis:S}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return c&&typeof S=="number"&&(v=c==="end"?S*-1:S),u?{x:v*h,y:_*f}:{x:_*f,y:v*h}}const kd=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:a,middlewareData:c}=t,u=await Cd(t,e);return a===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:a}}}}},Od=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:c={fn:P=>{let{x:E,y:O}=P;return{x:E,y:O}}},...u}=ln(e,t),f={x:r,y:n},h=await Hs(t,u),m=Ir(br(o)),_=qs(m);let v=f[_],S=f[m];if(i){const P=_==="y"?"top":"left",E=_==="y"?"bottom":"right",O=v+h[P],R=v-h[E];v=Qo(O,v,R)}if(a){const P=m==="y"?"top":"left",E=m==="y"?"bottom":"right",O=S+h[P],R=S-h[E];S=Qo(O,S,R)}const k=c.fn({...t,[_]:v,[m]:S});return{...k,data:{x:k.x-r,y:k.y-n,enabled:{[_]:i,[m]:a}}}}}};function to(){return typeof window<"u"}function Dr(e){return Ys(e)?(e.nodeName||"").toLowerCase():"#document"}function Rt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Qt(e){var t;return(t=(Ys(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ys(e){return to()?e instanceof Node||e instanceof Rt(e).Node:!1}function Wt(e){return to()?e instanceof Element||e instanceof Rt(e).Element:!1}function Yt(e){return to()?e instanceof HTMLElement||e instanceof Rt(e).HTMLElement:!1}function Ea(e){return!to()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Rt(e).ShadowRoot}function dn(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Ut(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function Rd(e){return["table","td","th"].includes(Dr(e))}function ro(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Ei(e){const t=Ti(),r=Wt(e)?Ut(e):e;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function jd(e){let t=sr(e);for(;Yt(t)&&!Mr(t);){if(Ei(t))return t;if(ro(t))return null;t=sr(t)}return null}function Ti(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Mr(e){return["html","body","#document"].includes(Dr(e))}function Ut(e){return Rt(e).getComputedStyle(e)}function no(e){return Wt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function sr(e){if(Dr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ea(e)&&e.host||Qt(e);return Ea(t)?t.host:t}function Qs(e){const t=sr(e);return Mr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Yt(t)&&dn(t)?t:Qs(t)}function Qr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Qs(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),a=Rt(o);if(i){const c=Ko(a);return t.concat(a,a.visualViewport||[],dn(o)?o:[],c&&r?Qr(c):[])}return t.concat(o,Qr(o,[],r))}function Ko(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Js(e){const t=Ut(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Yt(e),i=o?e.offsetWidth:r,a=o?e.offsetHeight:n,c=Fn(r)!==i||Fn(n)!==a;return c&&(r=i,n=a),{width:r,height:n,$:c}}function Ai(e){return Wt(e)?e:e.contextElement}function Ar(e){const t=Ai(e);if(!Yt(t))return ar(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Js(t);let a=(i?Fn(r.width):r.width)/n,c=(i?Fn(r.height):r.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const Pd=ar(0);function Ks(e){const t=Rt(e);return!Ti()||!t.visualViewport?Pd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Id(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Rt(e)?!1:t}function wr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=Ai(e);let a=ar(1);t&&(n?Wt(n)&&(a=Ar(n)):a=Ar(e));const c=Id(i,r,n)?Ks(i):ar(0);let u=(o.left+c.x)/a.x,f=(o.top+c.y)/a.y,h=o.width/a.x,m=o.height/a.y;if(i){const _=Rt(i),v=n&&Wt(n)?Rt(n):n;let S=_,k=Ko(S);for(;k&&n&&v!==S;){const P=Ar(k),E=k.getBoundingClientRect(),O=Ut(k),R=E.left+(k.clientLeft+parseFloat(O.paddingLeft))*P.x,L=E.top+(k.clientTop+parseFloat(O.paddingTop))*P.y;u*=P.x,f*=P.y,h*=P.x,m*=P.y,u+=R,f+=L,S=Rt(k),k=Ko(S)}}return zn({width:h,height:m,x:u,y:f})}function Md(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",a=Qt(n),c=t?ro(t.floating):!1;if(n===a||c&&i)return r;let u={scrollLeft:0,scrollTop:0},f=ar(1);const h=ar(0),m=Yt(n);if((m||!m&&!i)&&((Dr(n)!=="body"||dn(a))&&(u=no(n)),Yt(n))){const _=wr(n);f=Ar(n),h.x=_.x+n.clientLeft,h.y=_.y+n.clientTop}return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-u.scrollLeft*f.x+h.x,y:r.y*f.y-u.scrollTop*f.y+h.y}}function Ld(e){return Array.from(e.getClientRects())}function Xo(e,t){const r=no(e).scrollLeft;return t?t.left+r:wr(Qt(e)).left+r}function Dd(e){const t=Qt(e),r=no(e),n=e.ownerDocument.body,o=mr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=mr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let a=-r.scrollLeft+Xo(e);const c=-r.scrollTop;return Ut(n).direction==="rtl"&&(a+=mr(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:a,y:c}}function Nd(e,t){const r=Rt(e),n=Qt(e),o=r.visualViewport;let i=n.clientWidth,a=n.clientHeight,c=0,u=0;if(o){i=o.width,a=o.height;const f=Ti();(!f||f&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:c,y:u}}function Fd(e,t){const r=wr(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Yt(e)?Ar(e):ar(1),a=e.clientWidth*i.x,c=e.clientHeight*i.y,u=o*i.x,f=n*i.y;return{width:a,height:c,x:u,y:f}}function Ta(e,t,r){let n;if(t==="viewport")n=Nd(e,r);else if(t==="document")n=Dd(Qt(e));else if(Wt(t))n=Fd(t,r);else{const o=Ks(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return zn(n)}function Xs(e,t){const r=sr(e);return r===t||!Wt(r)||Mr(r)?!1:Ut(r).position==="fixed"||Xs(r,t)}function Vd(e,t){const r=t.get(e);if(r)return r;let n=Qr(e,[],!1).filter(c=>Wt(c)&&Dr(c)!=="body"),o=null;const i=Ut(e).position==="fixed";let a=i?sr(e):e;for(;Wt(a)&&!Mr(a);){const c=Ut(a),u=Ei(a);!u&&c.position==="fixed"&&(o=null),(i?!u&&!o:!u&&c.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||dn(a)&&!u&&Xs(e,a))?n=n.filter(h=>h!==a):o=c,a=sr(a)}return t.set(e,n),n}function zd(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?ro(t)?[]:Vd(t,this._c):[].concat(r),n],c=a[0],u=a.reduce((f,h)=>{const m=Ta(t,h,o);return f.top=mr(m.top,f.top),f.right=Pr(m.right,f.right),f.bottom=Pr(m.bottom,f.bottom),f.left=mr(m.left,f.left),f},Ta(t,c,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Bd(e){const{width:t,height:r}=Js(e);return{width:t,height:r}}function Wd(e,t,r){const n=Yt(t),o=Qt(t),i=r==="fixed",a=wr(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const u=ar(0);if(n||!n&&!i)if((Dr(t)!=="body"||dn(o))&&(c=no(t)),n){const v=wr(t,!0,i,t);u.x=v.x+t.clientLeft,u.y=v.y+t.clientTop}else o&&(u.x=Xo(o));let f=0,h=0;if(o&&!n&&!i){const v=o.getBoundingClientRect();h=v.top+c.scrollTop,f=v.left+c.scrollLeft-Xo(o,v)}const m=a.left+c.scrollLeft-u.x-f,_=a.top+c.scrollTop-u.y-h;return{x:m,y:_,width:a.width,height:a.height}}function jo(e){return Ut(e).position==="static"}function Aa(e,t){if(!Yt(e)||Ut(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Qt(e)===r&&(r=r.ownerDocument.body),r}function Zs(e,t){const r=Rt(e);if(ro(e))return r;if(!Yt(e)){let o=sr(e);for(;o&&!Mr(o);){if(Wt(o)&&!jo(o))return o;o=sr(o)}return r}let n=Aa(e,t);for(;n&&Rd(n)&&jo(n);)n=Aa(n,t);return n&&Mr(n)&&jo(n)&&!Ei(n)?r:n||jd(e)||r}const Ud=async function(e){const t=this.getOffsetParent||Zs,r=this.getDimensions,n=await r(e.floating);return{reference:Wd(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function qd(e){return Ut(e).direction==="rtl"}const Gd={convertOffsetParentRelativeRectToViewportRelativeRect:Md,getDocumentElement:Qt,getClippingRect:zd,getOffsetParent:Zs,getElementRects:Ud,getClientRects:Ld,getDimensions:Bd,getScale:Ar,isElement:Wt,isRTL:qd};function Hd(e,t){let r=null,n;const o=Qt(e);function i(){var c;clearTimeout(n),(c=r)==null||c.disconnect(),r=null}function a(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),i();const{left:f,top:h,width:m,height:_}=e.getBoundingClientRect();if(c||t(),!m||!_)return;const v=kn(h),S=kn(o.clientWidth-(f+m)),k=kn(o.clientHeight-(h+_)),P=kn(f),O={rootMargin:-v+"px "+-S+"px "+-k+"px "+-P+"px",threshold:mr(0,Pr(1,u))||1};let R=!0;function L(D){const F=D[0].intersectionRatio;if(F!==u){if(!R)return a();F?a(!1,F):n=setTimeout(()=>{a(!1,1e-7)},1e3)}R=!1}try{r=new IntersectionObserver(L,{...O,root:o.ownerDocument})}catch{r=new IntersectionObserver(L,O)}r.observe(e)}return a(!0),i}function Yd(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,f=Ai(e),h=o||i?[...f?Qr(f):[],...Qr(t)]:[];h.forEach(E=>{o&&E.addEventListener("scroll",r,{passive:!0}),i&&E.addEventListener("resize",r)});const m=f&&c?Hd(f,r):null;let _=-1,v=null;a&&(v=new ResizeObserver(E=>{let[O]=E;O&&O.target===f&&v&&(v.unobserve(t),cancelAnimationFrame(_),_=requestAnimationFrame(()=>{var R;(R=v)==null||R.observe(t)})),r()}),f&&!u&&v.observe(f),v.observe(t));let S,k=u?wr(e):null;u&&P();function P(){const E=wr(e);k&&(E.x!==k.x||E.y!==k.y||E.width!==k.width||E.height!==k.height)&&r(),k=E,S=requestAnimationFrame(P)}return r(),()=>{var E;h.forEach(O=>{o&&O.removeEventListener("scroll",r),i&&O.removeEventListener("resize",r)}),m==null||m(),(E=v)==null||E.disconnect(),v=null,u&&cancelAnimationFrame(S)}}const ec=kd,Qd=Od,tc=Ad,Jd=Td,Ca=(e,t,r)=>{const n=new Map,o={platform:Gd,...r},i={...o.platform,_c:n};return Ed(e,t,{...o,platform:i})},Kd=(e,t)=>({...ec(e),options:[e,t]}),Xd=(e,t)=>({...tc(e),options:[e,t]});var Zd=Object.prototype;function ef(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Zd;return e===r}var rc=ef;function tf(e,t){return function(r){return e(t(r))}}var rf=tf,nf=rf,of=nf(Object.keys,Object),af=of,sf=rc,cf=af,lf=Object.prototype,uf=lf.hasOwnProperty;function df(e){if(!sf(e))return cf(e);var t=[];for(var r in Object(e))uf.call(e,r)&&r!="constructor"&&t.push(r);return t}var ff=df,pf=typeof Sn=="object"&&Sn&&Sn.Object===Object&&Sn,nc=pf,hf=nc,gf=typeof self=="object"&&self&&self.Object===Object&&self,mf=hf||gf||Function("return this")(),cr=mf,yf=cr,vf=yf.Symbol,oc=vf,ka=oc,ic=Object.prototype,bf=ic.hasOwnProperty,wf=ic.toString,Gr=ka?ka.toStringTag:void 0;function _f(e){var t=bf.call(e,Gr),r=e[Gr];try{e[Gr]=void 0;var n=!0}catch{}var o=wf.call(e);return n&&(t?e[Gr]=r:delete e[Gr]),o}var xf=_f,$f=Object.prototype,Sf=$f.toString;function Ef(e){return Sf.call(e)}var Tf=Ef,Oa=oc,Af=xf,Cf=Tf,kf="[object Null]",Of="[object Undefined]",Ra=Oa?Oa.toStringTag:void 0;function Rf(e){return e==null?e===void 0?Of:kf:Ra&&Ra in Object(e)?Af(e):Cf(e)}var oo=Rf;function jf(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ac=jf,Pf=oo,If=ac,Mf="[object AsyncFunction]",Lf="[object Function]",Df="[object GeneratorFunction]",Nf="[object Proxy]";function Ff(e){if(!If(e))return!1;var t=Pf(e);return t==Lf||t==Df||t==Mf||t==Nf}var sc=Ff,Vf=cr,zf=Vf["__core-js_shared__"],Bf=zf,Po=Bf,ja=function(){var e=/[^.]+$/.exec(Po&&Po.keys&&Po.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Wf(e){return!!ja&&ja in e}var Uf=Wf,qf=Function.prototype,Gf=qf.toString;function Hf(e){if(e!=null){try{return Gf.call(e)}catch{}try{return e+""}catch{}}return""}var cc=Hf,Yf=sc,Qf=Uf,Jf=ac,Kf=cc,Xf=/[\\^$.*+?()[\]{}|]/g,Zf=/^\[object .+?Constructor\]$/,ep=Function.prototype,tp=Object.prototype,rp=ep.toString,np=tp.hasOwnProperty,op=RegExp("^"+rp.call(np).replace(Xf,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ip(e){if(!Jf(e)||Qf(e))return!1;var t=Yf(e)?op:Zf;return t.test(Kf(e))}var ap=ip;function sp(e,t){return e==null?void 0:e[t]}var cp=sp,lp=ap,up=cp;function dp(e,t){var r=up(e,t);return lp(r)?r:void 0}var fn=dp,fp=fn,pp=cr,hp=fp(pp,"DataView"),gp=hp,mp=fn,yp=cr,vp=mp(yp,"Map"),bp=vp,wp=fn,_p=cr,xp=wp(_p,"Promise"),$p=xp,Sp=fn,Ep=cr,Tp=Sp(Ep,"Set"),Ap=Tp,Cp=fn,kp=cr,Op=Cp(kp,"WeakMap"),Rp=Op,Zo=gp,ei=bp,ti=$p,ri=Ap,ni=Rp,lc=oo,Nr=cc,Pa="[object Map]",jp="[object Object]",Ia="[object Promise]",Ma="[object Set]",La="[object WeakMap]",Da="[object DataView]",Pp=Nr(Zo),Ip=Nr(ei),Mp=Nr(ti),Lp=Nr(ri),Dp=Nr(ni),dr=lc;(Zo&&dr(new Zo(new ArrayBuffer(1)))!=Da||ei&&dr(new ei)!=Pa||ti&&dr(ti.resolve())!=Ia||ri&&dr(new ri)!=Ma||ni&&dr(new ni)!=La)&&(dr=function(e){var t=lc(e),r=t==jp?e.constructor:void 0,n=r?Nr(r):"";if(n)switch(n){case Pp:return Da;case Ip:return Pa;case Mp:return Ia;case Lp:return Ma;case Dp:return La}return t});var Np=dr;function Fp(e){return e!=null&&typeof e=="object"}var Ci=Fp,Vp=oo,zp=Ci,Bp="[object Arguments]";function Wp(e){return zp(e)&&Vp(e)==Bp}var Up=Wp,Na=Up,qp=Ci,uc=Object.prototype,Gp=uc.hasOwnProperty,Hp=uc.propertyIsEnumerable,Yp=Na(function(){return arguments}())?Na:function(e){return qp(e)&&Gp.call(e,"callee")&&!Hp.call(e,"callee")},Qp=Yp,Jp=Array.isArray,Kp=Jp,Xp=9007199254740991;function Zp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Xp}var dc=Zp,eh=sc,th=dc;function rh(e){return e!=null&&th(e.length)&&!eh(e)}var nh=rh,Bn={exports:{}};function oh(){return!1}var ih=oh;Bn.exports;(function(e,t){var r=cr,n=ih,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,c=a?r.Buffer:void 0,u=c?c.isBuffer:void 0,f=u||n;e.exports=f})(Bn,Bn.exports);var ah=Bn.exports,sh=oo,ch=dc,lh=Ci,uh="[object Arguments]",dh="[object Array]",fh="[object Boolean]",ph="[object Date]",hh="[object Error]",gh="[object Function]",mh="[object Map]",yh="[object Number]",vh="[object Object]",bh="[object RegExp]",wh="[object Set]",_h="[object String]",xh="[object WeakMap]",$h="[object ArrayBuffer]",Sh="[object DataView]",Eh="[object Float32Array]",Th="[object Float64Array]",Ah="[object Int8Array]",Ch="[object Int16Array]",kh="[object Int32Array]",Oh="[object Uint8Array]",Rh="[object Uint8ClampedArray]",jh="[object Uint16Array]",Ph="[object Uint32Array]",je={};je[Eh]=je[Th]=je[Ah]=je[Ch]=je[kh]=je[Oh]=je[Rh]=je[jh]=je[Ph]=!0;je[uh]=je[dh]=je[$h]=je[fh]=je[Sh]=je[ph]=je[hh]=je[gh]=je[mh]=je[yh]=je[vh]=je[bh]=je[wh]=je[_h]=je[xh]=!1;function Ih(e){return lh(e)&&ch(e.length)&&!!je[sh(e)]}var Mh=Ih;function Lh(e){return function(t){return e(t)}}var Dh=Lh,Wn={exports:{}};Wn.exports;(function(e,t){var r=nc,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,a=i&&r.process,c=function(){try{var u=o&&o.require&&o.require("util").types;return u||a&&a.binding&&a.binding("util")}catch{}}();e.exports=c})(Wn,Wn.exports);var Nh=Wn.exports,Fh=Mh,Vh=Dh,Fa=Nh,Va=Fa&&Fa.isTypedArray,zh=Va?Vh(Va):Fh,Bh=zh,Wh=ff,Uh=Np,qh=Qp,Gh=Kp,Hh=nh,Yh=ah,Qh=rc,Jh=Bh,Kh="[object Map]",Xh="[object Set]",Zh=Object.prototype,eg=Zh.hasOwnProperty;function tg(e){if(e==null)return!0;if(Hh(e)&&(Gh(e)||typeof e=="string"||typeof e.splice=="function"||Yh(e)||Jh(e)||qh(e)))return!e.length;var t=Uh(e);if(t==Kh||t==Xh)return!e.size;if(Qh(e))return!Wh(e).length;for(var r in e)if(eg.call(e,r))return!1;return!0}var rg=tg;const Io=ys(rg);var fc={exports:{}};/*!
|
|
444
444
|
Copyright (c) 2018 Jed Watson.
|
|
445
445
|
Licensed under the MIT License (MIT), see
|
|
446
446
|
http://jedwatson.github.io/classnames
|
|
447
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",
|
|
447
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",a=0;a<arguments.length;a++){var c=arguments[a];c&&(i=o(i,n(c)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var c in i)t.call(i,c)&&i[c]&&(a=o(a,c));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(fc);var ng=fc.exports;const oi=ys(ng);/*
|
|
448
448
|
* React Tooltip
|
|
449
449
|
* {@link https://github.com/ReactTooltip/react-tooltip}
|
|
450
450
|
* @copyright ReactTooltip Team
|
|
451
451
|
* @license MIT
|
|
452
|
-
*/const eg="react-tooltip-core-styles",tg="react-tooltip-base-styles",Bs={core:!1,base:!1};function zs({css:e,id:t=tg,type:r="base",ref:n}){var o,i;if(!e||typeof document>"u"||Bs[r]||r==="core"&&typeof process<"u"&&(!((o=process==null?void 0:process.env)===null||o===void 0)&&o.REACT_TOOLTIP_DISABLE_CORE_STYLES)||r!=="base"&&typeof process<"u"&&(!((i=process==null?void 0:process.env)===null||i===void 0)&&i.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;r==="core"&&(t=eg),n||(n={});const{insertAt:s}=n;if(document.getElementById(t))return;const c=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.id=t,u.type="text/css",s==="top"&&c.firstChild?c.insertBefore(u,c.firstChild):c.appendChild(u),u.styleSheet?u.styleSheet.cssText=e:u.appendChild(document.createTextNode(e)),Bs[r]=!0}const Ws=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:n="top",offset:o=10,strategy:i="absolute",middlewares:s=[Ja(Number(o)),Ka({fallbackAxisSideDirection:"start"}),Gf({padding:5})],border:c})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const u=s;return r?(u.push(Hf({element:r,padding:5})),Cs(e,t,{placement:n,strategy:i,middleware:u}).then(({x:d,y:h,placement:y,middlewareData:_})=>{var v,S;const A={left:`${d}px`,top:`${h}px`,border:c},{x:j,y:E}=(v=_.arrow)!==null&&v!==void 0?v:{x:0,y:0},C=(S={top:"bottom",right:"left",bottom:"top",left:"right"}[y.split("-")[0]])!==null&&S!==void 0?S:"bottom",R=c&&{borderBottom:c,borderRight:c};let M=0;if(c){const L=`${c}`.match(/(\d+)px/);M=L!=null&&L[1]?Number(L[1]):1}return{tooltipStyles:A,tooltipArrowStyles:{left:j!=null?`${j}px`:"",top:E!=null?`${E}px`:"",right:"",bottom:"",...R,[C]:`-${4+M}px`},place:y}})):Cs(e,t,{placement:"bottom",strategy:i,middleware:u}).then(({x:d,y:h,placement:y})=>({tooltipStyles:{left:`${d}px`,top:`${h}px`},tooltipArrowStyles:{},place:y}))},Us=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),qs=(e,t,r)=>{let n=null;const o=function(...i){const s=()=>{n=null};!n&&(e.apply(this,i),n=setTimeout(s,t))};return o.cancel=()=>{n&&(clearTimeout(n),n=null)},o},Gs=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",oi=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((o,i)=>oi(o,t[i]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!Gs(e)||!Gs(t))return e===t;const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(o=>oi(e[o],t[o]))},rg=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(r=>{const n=t.getPropertyValue(r);return n==="auto"||n==="scroll"})},Hs=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(rg(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},ng=typeof window<"u"?w.useLayoutEffect:w.useEffect,Mt=e=>{e.current&&(clearTimeout(e.current),e.current=null)},og="DEFAULT_TOOLTIP_ID",ig={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},sg=w.createContext({getTooltipData:()=>ig});function lc(e=og){return w.useContext(sg).getTooltipData(e)}var Er={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},Io={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const ag=({forwardRef:e,id:t,className:r,classNameArrow:n,variant:o="dark",anchorId:i,anchorSelect:s,place:c="top",offset:u=10,events:d=["hover"],openOnClick:h=!1,positionStrategy:y="absolute",middlewares:_,wrapper:v,delayShow:S=0,delayHide:A=0,float:j=!1,hidden:E=!1,noArrow:C=!1,clickable:R=!1,closeOnEsc:M=!1,closeOnScroll:L=!1,closeOnResize:N=!1,openEvents:P,closeEvents:be,globalCloseEvents:we,imperativeModeOnly:he,style:Fe,position:Le,afterShow:_e,afterHide:J,disableTooltip:Ee,content:se,contentWrapperRef:ae,isOpen:ce,defaultIsOpen:ne=!1,setIsOpen:G,activeAnchor:le,setActiveAnchor:ye,border:H,opacity:st,arrowColor:tt,role:qe="tooltip"})=>{var Ge;const fe=w.useRef(null),xe=w.useRef(null),Te=w.useRef(null),ze=w.useRef(null),Pe=w.useRef(null),[ft,kt]=w.useState({tooltipStyles:{},tooltipArrowStyles:{},place:c}),[Ae,dt]=w.useState(!1),[Je,pt]=w.useState(!1),[de,ht]=w.useState(null),gt=w.useRef(!1),yt=w.useRef(null),{anchorRefs:Ct,setActiveAnchor:rt}=lc(t),at=w.useRef(!1),[mt,Ke]=w.useState([]),xt=w.useRef(!1),$t=h||d.includes("click"),jt=$t||(P==null?void 0:P.click)||(P==null?void 0:P.dblclick)||(P==null?void 0:P.mousedown),He=P?{...P}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!P&&$t&&Object.assign(He,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Pt=be?{...be}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!be&&$t&&Object.assign(Pt,{mouseleave:!1,blur:!1,mouseout:!1});const nt=we?{...we}:{escape:M||!1,scroll:L||!1,resize:N||!1,clickOutsideAnchor:jt||!1};he&&(Object.assign(He,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Pt,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(nt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),ng(()=>(xt.current=!0,()=>{xt.current=!1}),[]);const $e=k=>{xt.current&&(k&&pt(!0),setTimeout(()=>{xt.current&&(G==null||G(k),ce===void 0&&dt(k))},10))};w.useEffect(()=>{if(ce===void 0)return()=>null;ce&&pt(!0);const k=setTimeout(()=>{dt(ce)},10);return()=>{clearTimeout(k)}},[ce]),w.useEffect(()=>{if(Ae!==gt.current)if(Mt(Pe),gt.current=Ae,Ae)_e==null||_e();else{const k=(B=>{const W=B.match(/^([\d.]+)(ms|s)$/);if(!W)return 0;const[,Ce,De]=W;return Number(Ce)*(De==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Pe.current=setTimeout(()=>{pt(!1),ht(null),J==null||J()},k+25)}},[Ae]);const Nt=k=>{kt(B=>oi(B,k)?B:k)},Ft=(k=S)=>{Mt(Te),Je?$e(!0):Te.current=setTimeout(()=>{$e(!0)},k)},vt=(k=A)=>{Mt(ze),ze.current=setTimeout(()=>{at.current||$e(!1)},k)},bt=k=>{var B;if(!k)return;const W=(B=k.currentTarget)!==null&&B!==void 0?B:k.target;if(!(W!=null&&W.isConnected))return ye(null),void rt({current:null});S?Ft():$e(!0),ye(W),rt({current:W}),Mt(ze)},Ye=()=>{R?vt(A||100):A?vt():$e(!1),Mt(Te)},ct=({x:k,y:B})=>{var W;const Ce={getBoundingClientRect:()=>({x:k,y:B,width:0,height:0,top:B,left:k,right:k,bottom:B})};Ws({place:(W=de==null?void 0:de.place)!==null&&W!==void 0?W:c,offset:u,elementReference:Ce,tooltipReference:fe.current,tooltipArrowReference:xe.current,strategy:y,middlewares:_,border:H}).then(De=>{Nt(De)})},We=k=>{if(!k)return;const B=k,W={x:B.clientX,y:B.clientY};ct(W),yt.current=W},Qe=k=>{var B;if(!Ae)return;const W=k.target;W.isConnected&&(!((B=fe.current)===null||B===void 0)&&B.contains(W)||[document.querySelector(`[id='${i}']`),...mt].some(Ce=>Ce==null?void 0:Ce.contains(W))||($e(!1),Mt(Te)))},St=qs(bt,50),Se=qs(Ye,50),Xe=k=>{Se.cancel(),St(k)},F=()=>{St.cancel(),Se()},ee=w.useCallback(()=>{var k,B;const W=(k=de==null?void 0:de.position)!==null&&k!==void 0?k:Le;W?ct(W):j?yt.current&&ct(yt.current):le!=null&&le.isConnected&&Ws({place:(B=de==null?void 0:de.place)!==null&&B!==void 0?B:c,offset:u,elementReference:le,tooltipReference:fe.current,tooltipArrowReference:xe.current,strategy:y,middlewares:_,border:H}).then(Ce=>{xt.current&&Nt(Ce)})},[Ae,le,se,Fe,c,de==null?void 0:de.place,u,y,Le,de==null?void 0:de.position,j]);w.useEffect(()=>{var k,B;const W=new Set(Ct);mt.forEach(z=>{Ee!=null&&Ee(z)||W.add({current:z})});const Ce=document.querySelector(`[id='${i}']`);Ce&&!(Ee!=null&&Ee(Ce))&&W.add({current:Ce});const De=()=>{$e(!1)},lt=Hs(le),Oe=Hs(fe.current);nt.scroll&&(window.addEventListener("scroll",De),lt==null||lt.addEventListener("scroll",De),Oe==null||Oe.addEventListener("scroll",De));let f=null;nt.resize?window.addEventListener("resize",De):le&&fe.current&&(f=qf(le,fe.current,ee,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const b=z=>{z.key==="Escape"&&$e(!1)};nt.escape&&window.addEventListener("keydown",b),nt.clickOutsideAnchor&&window.addEventListener("click",Qe);const T=[],V=z=>{Ae&&(z==null?void 0:z.target)===le||bt(z)},ie=z=>{Ae&&(z==null?void 0:z.target)===le&&Ye()},re=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],K=["click","dblclick","mousedown","mouseup"];Object.entries(He).forEach(([z,ue])=>{ue&&(re.includes(z)?T.push({event:z,listener:Xe}):K.includes(z)&&T.push({event:z,listener:V}))}),Object.entries(Pt).forEach(([z,ue])=>{ue&&(re.includes(z)?T.push({event:z,listener:F}):K.includes(z)&&T.push({event:z,listener:ie}))}),j&&T.push({event:"pointermove",listener:We});const Q=()=>{at.current=!0},Ne=()=>{at.current=!1,Ye()};return R&&!jt&&((k=fe.current)===null||k===void 0||k.addEventListener("mouseenter",Q),(B=fe.current)===null||B===void 0||B.addEventListener("mouseleave",Ne)),T.forEach(({event:z,listener:ue})=>{W.forEach(Re=>{var Ze;(Ze=Re.current)===null||Ze===void 0||Ze.addEventListener(z,ue)})}),()=>{var z,ue;nt.scroll&&(window.removeEventListener("scroll",De),lt==null||lt.removeEventListener("scroll",De),Oe==null||Oe.removeEventListener("scroll",De)),nt.resize?window.removeEventListener("resize",De):f==null||f(),nt.clickOutsideAnchor&&window.removeEventListener("click",Qe),nt.escape&&window.removeEventListener("keydown",b),R&&!jt&&((z=fe.current)===null||z===void 0||z.removeEventListener("mouseenter",Q),(ue=fe.current)===null||ue===void 0||ue.removeEventListener("mouseleave",Ne)),T.forEach(({event:Re,listener:Ze})=>{W.forEach(Qt=>{var ot;(ot=Qt.current)===null||ot===void 0||ot.removeEventListener(Re,Ze)})})}},[le,ee,Je,Ct,mt,P,be,we,$t,S,A]),w.useEffect(()=>{var k,B;let W=(B=(k=de==null?void 0:de.anchorSelect)!==null&&k!==void 0?k:s)!==null&&B!==void 0?B:"";!W&&t&&(W=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const Ce=new MutationObserver(De=>{const lt=[],Oe=[];De.forEach(f=>{if(f.type==="attributes"&&f.attributeName==="data-tooltip-id"&&(f.target.getAttribute("data-tooltip-id")===t?lt.push(f.target):f.oldValue===t&&Oe.push(f.target)),f.type==="childList"){if(le){const b=[...f.removedNodes].filter(T=>T.nodeType===1);if(W)try{Oe.push(...b.filter(T=>T.matches(W))),Oe.push(...b.flatMap(T=>[...T.querySelectorAll(W)]))}catch{}b.some(T=>{var V;return!!(!((V=T==null?void 0:T.contains)===null||V===void 0)&&V.call(T,le))&&(pt(!1),$e(!1),ye(null),Mt(Te),Mt(ze),!0)})}if(W)try{const b=[...f.addedNodes].filter(T=>T.nodeType===1);lt.push(...b.filter(T=>T.matches(W))),lt.push(...b.flatMap(T=>[...T.querySelectorAll(W)]))}catch{}}}),(lt.length||Oe.length)&&Ke(f=>[...f.filter(b=>!Oe.includes(b)),...lt])});return Ce.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Ce.disconnect()}},[t,s,de==null?void 0:de.anchorSelect,le]),w.useEffect(()=>{ee()},[ee]),w.useEffect(()=>{if(!(ae!=null&&ae.current))return()=>null;const k=new ResizeObserver(()=>{setTimeout(()=>ee())});return k.observe(ae.current),()=>{k.disconnect()}},[se,ae==null?void 0:ae.current]),w.useEffect(()=>{var k;const B=document.querySelector(`[id='${i}']`),W=[...mt,B];le&&W.includes(le)||ye((k=mt[0])!==null&&k!==void 0?k:B)},[i,mt,le]),w.useEffect(()=>(ne&&$e(!0),()=>{Mt(Te),Mt(ze)}),[]),w.useEffect(()=>{var k;let B=(k=de==null?void 0:de.anchorSelect)!==null&&k!==void 0?k:s;if(!B&&t&&(B=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),B)try{const W=Array.from(document.querySelectorAll(B));Ke(W)}catch{Ke([])}},[t,s,de==null?void 0:de.anchorSelect]),w.useEffect(()=>{Te.current&&(Mt(Te),Ft(S))},[S]);const Ie=(Ge=de==null?void 0:de.content)!==null&&Ge!==void 0?Ge:se,wt=Ae&&Object.keys(ft.tooltipStyles).length>0;return w.useImperativeHandle(e,()=>({open:k=>{if(k!=null&&k.anchorSelect)try{document.querySelector(k.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${k.anchorSelect}" is not a valid CSS selector`)}ht(k??null),k!=null&&k.delay?Ft(k.delay):$e(!0)},close:k=>{k!=null&&k.delay?vt(k.delay):$e(!1)},activeAnchor:le,place:ft.place,isOpen:!!(Je&&!E&&Ie&&wt)})),Je&&!E&&Ie?w.createElement(v,{id:t,role:qe,className:ni("react-tooltip",Er.tooltip,Io.tooltip,Io[o],r,`react-tooltip__place-${ft.place}`,Er[wt?"show":"closing"],wt?"react-tooltip__show":"react-tooltip__closing",y==="fixed"&&Er.fixed,R&&Er.clickable),onTransitionEnd:k=>{Mt(Pe),Ae||k.propertyName!=="opacity"||(pt(!1),ht(null),J==null||J())},style:{...Fe,...ft.tooltipStyles,opacity:st!==void 0&&wt?st:void 0},ref:fe},Ie,w.createElement(v,{className:ni("react-tooltip-arrow",Er.arrow,Io.arrow,n,C&&Er.noArrow),style:{...ft.tooltipArrowStyles,background:tt?`linear-gradient(to right bottom, transparent 50%, ${tt} 50%)`:void 0},ref:xe})):null},cg=({content:e})=>w.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),lg=w.forwardRef(({id:e,anchorId:t,anchorSelect:r,content:n,html:o,render:i,className:s,classNameArrow:c,variant:u="dark",place:d="top",offset:h=10,wrapper:y="div",children:_=null,events:v=["hover"],openOnClick:S=!1,positionStrategy:A="absolute",middlewares:j,delayShow:E=0,delayHide:C=0,float:R=!1,hidden:M=!1,noArrow:L=!1,clickable:N=!1,closeOnEsc:P=!1,closeOnScroll:be=!1,closeOnResize:we=!1,openEvents:he,closeEvents:Fe,globalCloseEvents:Le,imperativeModeOnly:_e=!1,style:J,position:Ee,isOpen:se,defaultIsOpen:ae=!1,disableStyleInjection:ce=!1,border:ne,opacity:G,arrowColor:le,setIsOpen:ye,afterShow:H,afterHide:st,disableTooltip:tt,role:qe="tooltip"},Ge)=>{const[fe,xe]=w.useState(n),[Te,ze]=w.useState(o),[Pe,ft]=w.useState(d),[kt,Ae]=w.useState(u),[dt,Je]=w.useState(h),[pt,de]=w.useState(E),[ht,gt]=w.useState(C),[yt,Ct]=w.useState(R),[rt,at]=w.useState(M),[mt,Ke]=w.useState(y),[xt,$t]=w.useState(v),[jt,He]=w.useState(A),[Pt,nt]=w.useState(null),[$e,Nt]=w.useState(null),Ft=w.useRef(ce),{anchorRefs:vt,activeAnchor:bt}=lc(e),Ye=Se=>Se==null?void 0:Se.getAttributeNames().reduce((Xe,F)=>{var ee;return F.startsWith("data-tooltip-")&&(Xe[F.replace(/^data-tooltip-/,"")]=(ee=Se==null?void 0:Se.getAttribute(F))!==null&&ee!==void 0?ee:null),Xe},{}),ct=Se=>{const Xe={place:F=>{var ee;ft((ee=F)!==null&&ee!==void 0?ee:d)},content:F=>{xe(F??n)},html:F=>{ze(F??o)},variant:F=>{var ee;Ae((ee=F)!==null&&ee!==void 0?ee:u)},offset:F=>{Je(F===null?h:Number(F))},wrapper:F=>{var ee;Ke((ee=F)!==null&&ee!==void 0?ee:y)},events:F=>{const ee=F==null?void 0:F.split(" ");$t(ee??v)},"position-strategy":F=>{var ee;He((ee=F)!==null&&ee!==void 0?ee:A)},"delay-show":F=>{de(F===null?E:Number(F))},"delay-hide":F=>{gt(F===null?C:Number(F))},float:F=>{Ct(F===null?R:F==="true")},hidden:F=>{at(F===null?M:F==="true")},"class-name":F=>{nt(F)}};Object.values(Xe).forEach(F=>F(null)),Object.entries(Se).forEach(([F,ee])=>{var Ie;(Ie=Xe[F])===null||Ie===void 0||Ie.call(Xe,ee)})};w.useEffect(()=>{xe(n)},[n]),w.useEffect(()=>{ze(o)},[o]),w.useEffect(()=>{ft(d)},[d]),w.useEffect(()=>{Ae(u)},[u]),w.useEffect(()=>{Je(h)},[h]),w.useEffect(()=>{de(E)},[E]),w.useEffect(()=>{gt(C)},[C]),w.useEffect(()=>{Ct(R)},[R]),w.useEffect(()=>{at(M)},[M]),w.useEffect(()=>{He(A)},[A]),w.useEffect(()=>{Ft.current!==ce&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[ce]),w.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:ce==="core",disableBase:ce}}))},[]),w.useEffect(()=>{var Se;const Xe=new Set(vt);let F=r;if(!F&&e&&(F=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),F)try{document.querySelectorAll(F).forEach(B=>{Xe.add({current:B})})}catch{console.warn(`[react-tooltip] "${F}" is not a valid CSS selector`)}const ee=document.querySelector(`[id='${t}']`);if(ee&&Xe.add({current:ee}),!Xe.size)return()=>null;const Ie=(Se=$e??ee)!==null&&Se!==void 0?Se:bt.current,wt=new MutationObserver(B=>{B.forEach(W=>{var Ce;if(!Ie||W.type!=="attributes"||!(!((Ce=W.attributeName)===null||Ce===void 0)&&Ce.startsWith("data-tooltip-")))return;const De=Ye(Ie);ct(De)})}),k={attributes:!0,childList:!1,subtree:!1};if(Ie){const B=Ye(Ie);ct(B),wt.observe(Ie,k)}return()=>{wt.disconnect()}},[vt,bt,$e,t,r]),w.useEffect(()=>{J!=null&&J.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),ne&&!Us("border",`${ne}`)&&console.warn(`[react-tooltip] "${ne}" is not a valid \`border\`.`),J!=null&&J.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),G&&!Us("opacity",`${G}`)&&console.warn(`[react-tooltip] "${G}" is not a valid \`opacity\`.`)},[]);let We=_;const Qe=w.useRef(null);if(i){const Se=i({content:($e==null?void 0:$e.getAttribute("data-tooltip-content"))||fe||null,activeAnchor:$e});We=Se?w.createElement("div",{ref:Qe,className:"react-tooltip-content-wrapper"},Se):null}else fe&&(We=fe);Te&&(We=w.createElement(cg,{content:Te}));const St={forwardRef:Ge,id:e,anchorId:t,anchorSelect:r,className:ni(s,Pt),classNameArrow:c,content:We,contentWrapperRef:Qe,place:Pe,variant:kt,offset:dt,wrapper:mt,events:xt,openOnClick:S,positionStrategy:jt,middlewares:j,delayShow:pt,delayHide:ht,float:yt,hidden:rt,noArrow:L,clickable:N,closeOnEsc:P,closeOnScroll:be,closeOnResize:we,openEvents:he,closeEvents:Fe,globalCloseEvents:Le,imperativeModeOnly:_e,style:J,position:Ee,isOpen:se,defaultIsOpen:ae,border:ne,opacity:G,arrowColor:le,setIsOpen:ye,afterShow:H,afterHide:st,disableTooltip:tt,activeAnchor:$e,setActiveAnchor:Se=>Nt(Se),role:qe};return w.createElement(ag,{...St})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||zs({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||zs({css:`
|
|
453
|
-
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});const
|
|
452
|
+
*/const og="react-tooltip-core-styles",ig="react-tooltip-base-styles",za={core:!1,base:!1};function Ba({css:e,id:t=ig,type:r="base",ref:n}){var o,i;if(!e||typeof document>"u"||za[r]||r==="core"&&typeof process<"u"&&(!((o=process==null?void 0:process.env)===null||o===void 0)&&o.REACT_TOOLTIP_DISABLE_CORE_STYLES)||r!=="base"&&typeof process<"u"&&(!((i=process==null?void 0:process.env)===null||i===void 0)&&i.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;r==="core"&&(t=og),n||(n={});const{insertAt:a}=n;if(document.getElementById(t))return;const c=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.id=t,u.type="text/css",a==="top"&&c.firstChild?c.insertBefore(u,c.firstChild):c.appendChild(u),u.styleSheet?u.styleSheet.cssText=e:u.appendChild(document.createTextNode(e)),za[r]=!0}const Wa=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:n="top",offset:o=10,strategy:i="absolute",middlewares:a=[ec(Number(o)),tc({fallbackAxisSideDirection:"start"}),Qd({padding:5})],border:c})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const u=a;return r?(u.push(Jd({element:r,padding:5})),Ca(e,t,{placement:n,strategy:i,middleware:u}).then(({x:f,y:h,placement:m,middlewareData:_})=>{var v,S;const k={left:`${f}px`,top:`${h}px`,border:c},{x:P,y:E}=(v=_.arrow)!==null&&v!==void 0?v:{x:0,y:0},O=(S={top:"bottom",right:"left",bottom:"top",left:"right"}[m.split("-")[0]])!==null&&S!==void 0?S:"bottom",R=c&&{borderBottom:c,borderRight:c};let L=0;if(c){const D=`${c}`.match(/(\d+)px/);L=D!=null&&D[1]?Number(D[1]):1}return{tooltipStyles:k,tooltipArrowStyles:{left:P!=null?`${P}px`:"",top:E!=null?`${E}px`:"",right:"",bottom:"",...R,[O]:`-${4+L}px`},place:m}})):Ca(e,t,{placement:"bottom",strategy:i,middleware:u}).then(({x:f,y:h,placement:m})=>({tooltipStyles:{left:`${f}px`,top:`${h}px`},tooltipArrowStyles:{},place:m}))},Ua=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),qa=(e,t,r)=>{let n=null;const o=function(...i){const a=()=>{n=null};!n&&(e.apply(this,i),n=setTimeout(a,t))};return o.cancel=()=>{n&&(clearTimeout(n),n=null)},o},Ga=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",ii=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((o,i)=>ii(o,t[i]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!Ga(e)||!Ga(t))return e===t;const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(o=>ii(e[o],t[o]))},ag=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(r=>{const n=t.getPropertyValue(r);return n==="auto"||n==="scroll"})},Ha=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(ag(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},sg=typeof window<"u"?b.useLayoutEffect:b.useEffect,Lt=e=>{e.current&&(clearTimeout(e.current),e.current=null)},cg="DEFAULT_TOOLTIP_ID",lg={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},ug=b.createContext({getTooltipData:()=>lg});function pc(e=cg){return b.useContext(ug).getTooltipData(e)}var Er={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},Mo={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const dg=({forwardRef:e,id:t,className:r,classNameArrow:n,variant:o="dark",anchorId:i,anchorSelect:a,place:c="top",offset:u=10,events:f=["hover"],openOnClick:h=!1,positionStrategy:m="absolute",middlewares:_,wrapper:v,delayShow:S=0,delayHide:k=0,float:P=!1,hidden:E=!1,noArrow:O=!1,clickable:R=!1,closeOnEsc:L=!1,closeOnScroll:D=!1,closeOnResize:F=!1,openEvents:I,closeEvents:be,globalCloseEvents:we,imperativeModeOnly:he,style:Fe,position:Le,afterShow:_e,afterHide:K,disableTooltip:Ee,content:se,contentWrapperRef:ce,isOpen:le,defaultIsOpen:oe=!1,setIsOpen:H,activeAnchor:ue,setActiveAnchor:me,border:Y,opacity:at,arrowColor:tt,role:qe="tooltip"})=>{var Ge;const fe=b.useRef(null),xe=b.useRef(null),Te=b.useRef(null),Be=b.useRef(null),Pe=b.useRef(null),[dt,jt]=b.useState({tooltipStyles:{},tooltipArrowStyles:{},place:c}),[Ae,ft]=b.useState(!1),[Je,pt]=b.useState(!1),[pe,ht]=b.useState(null),gt=b.useRef(!1),mt=b.useRef(null),{anchorRefs:Ot,setActiveAnchor:rt}=pc(t),st=b.useRef(!1),[yt,Ke]=b.useState([]),$t=b.useRef(!1),St=h||f.includes("click"),Pt=St||(I==null?void 0:I.click)||(I==null?void 0:I.dblclick)||(I==null?void 0:I.mousedown),He=I?{...I}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!I&&St&&Object.assign(He,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const It=be?{...be}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!be&&St&&Object.assign(It,{mouseleave:!1,blur:!1,mouseout:!1});const nt=we?{...we}:{escape:L||!1,scroll:D||!1,resize:F||!1,clickOutsideAnchor:Pt||!1};he&&(Object.assign(He,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(It,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(nt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),sg(()=>($t.current=!0,()=>{$t.current=!1}),[]);const $e=j=>{$t.current&&(j&&pt(!0),setTimeout(()=>{$t.current&&(H==null||H(j),le===void 0&&ft(j))},10))};b.useEffect(()=>{if(le===void 0)return()=>null;le&&pt(!0);const j=setTimeout(()=>{ft(le)},10);return()=>{clearTimeout(j)}},[le]),b.useEffect(()=>{if(Ae!==gt.current)if(Lt(Pe),gt.current=Ae,Ae)_e==null||_e();else{const j=(B=>{const U=B.match(/^([\d.]+)(ms|s)$/);if(!U)return 0;const[,Ce,De]=U;return Number(Ce)*(De==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Pe.current=setTimeout(()=>{pt(!1),ht(null),K==null||K()},j+25)}},[Ae]);const Vt=j=>{jt(B=>ii(B,j)?B:j)},zt=(j=S)=>{Lt(Te),Je?$e(!0):Te.current=setTimeout(()=>{$e(!0)},j)},vt=(j=k)=>{Lt(Be),Be.current=setTimeout(()=>{st.current||$e(!1)},j)},bt=j=>{var B;if(!j)return;const U=(B=j.currentTarget)!==null&&B!==void 0?B:j.target;if(!(U!=null&&U.isConnected))return me(null),void rt({current:null});S?zt():$e(!0),me(U),rt({current:U}),Lt(Be)},Ye=()=>{R?vt(k||100):k?vt():$e(!1),Lt(Te)},ct=({x:j,y:B})=>{var U;const Ce={getBoundingClientRect:()=>({x:j,y:B,width:0,height:0,top:B,left:j,right:j,bottom:B})};Wa({place:(U=pe==null?void 0:pe.place)!==null&&U!==void 0?U:c,offset:u,elementReference:Ce,tooltipReference:fe.current,tooltipArrowReference:xe.current,strategy:m,middlewares:_,border:Y}).then(De=>{Vt(De)})},We=j=>{if(!j)return;const B=j,U={x:B.clientX,y:B.clientY};ct(U),mt.current=U},Qe=j=>{var B;if(!Ae)return;const U=j.target;U.isConnected&&(!((B=fe.current)===null||B===void 0)&&B.contains(U)||[document.querySelector(`[id='${i}']`),...yt].some(Ce=>Ce==null?void 0:Ce.contains(U))||($e(!1),Lt(Te)))},Et=qa(bt,50),Se=qa(Ye,50),Xe=j=>{Se.cancel(),Et(j)},V=()=>{Et.cancel(),Se()},ee=b.useCallback(()=>{var j,B;const U=(j=pe==null?void 0:pe.position)!==null&&j!==void 0?j:Le;U?ct(U):P?mt.current&&ct(mt.current):ue!=null&&ue.isConnected&&Wa({place:(B=pe==null?void 0:pe.place)!==null&&B!==void 0?B:c,offset:u,elementReference:ue,tooltipReference:fe.current,tooltipArrowReference:xe.current,strategy:m,middlewares:_,border:Y}).then(Ce=>{$t.current&&Vt(Ce)})},[Ae,ue,se,Fe,c,pe==null?void 0:pe.place,u,m,Le,pe==null?void 0:pe.position,P]);b.useEffect(()=>{var j,B;const U=new Set(Ot);yt.forEach(W=>{Ee!=null&&Ee(W)||U.add({current:W})});const Ce=document.querySelector(`[id='${i}']`);Ce&&!(Ee!=null&&Ee(Ce))&&U.add({current:Ce});const De=()=>{$e(!1)},lt=Ha(ue),ke=Ha(fe.current);nt.scroll&&(window.addEventListener("scroll",De),lt==null||lt.addEventListener("scroll",De),ke==null||ke.addEventListener("scroll",De));let d=null;nt.resize?window.addEventListener("resize",De):ue&&fe.current&&(d=Yd(ue,fe.current,ee,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const w=W=>{W.key==="Escape"&&$e(!1)};nt.escape&&window.addEventListener("keydown",w),nt.clickOutsideAnchor&&window.addEventListener("click",Qe);const A=[],z=W=>{Ae&&(W==null?void 0:W.target)===ue||bt(W)},ae=W=>{Ae&&(W==null?void 0:W.target)===ue&&Ye()},re=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],X=["click","dblclick","mousedown","mouseup"];Object.entries(He).forEach(([W,de])=>{de&&(re.includes(W)?A.push({event:W,listener:Xe}):X.includes(W)&&A.push({event:W,listener:z}))}),Object.entries(It).forEach(([W,de])=>{de&&(re.includes(W)?A.push({event:W,listener:V}):X.includes(W)&&A.push({event:W,listener:ae}))}),P&&A.push({event:"pointermove",listener:We});const J=()=>{st.current=!0},Ne=()=>{st.current=!1,Ye()};return R&&!Pt&&((j=fe.current)===null||j===void 0||j.addEventListener("mouseenter",J),(B=fe.current)===null||B===void 0||B.addEventListener("mouseleave",Ne)),A.forEach(({event:W,listener:de})=>{U.forEach(Oe=>{var Ze;(Ze=Oe.current)===null||Ze===void 0||Ze.addEventListener(W,de)})}),()=>{var W,de;nt.scroll&&(window.removeEventListener("scroll",De),lt==null||lt.removeEventListener("scroll",De),ke==null||ke.removeEventListener("scroll",De)),nt.resize?window.removeEventListener("resize",De):d==null||d(),nt.clickOutsideAnchor&&window.removeEventListener("click",Qe),nt.escape&&window.removeEventListener("keydown",w),R&&!Pt&&((W=fe.current)===null||W===void 0||W.removeEventListener("mouseenter",J),(de=fe.current)===null||de===void 0||de.removeEventListener("mouseleave",Ne)),A.forEach(({event:Oe,listener:Ze})=>{U.forEach(Jt=>{var ot;(ot=Jt.current)===null||ot===void 0||ot.removeEventListener(Oe,Ze)})})}},[ue,ee,Je,Ot,yt,I,be,we,St,S,k]),b.useEffect(()=>{var j,B;let U=(B=(j=pe==null?void 0:pe.anchorSelect)!==null&&j!==void 0?j:a)!==null&&B!==void 0?B:"";!U&&t&&(U=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const Ce=new MutationObserver(De=>{const lt=[],ke=[];De.forEach(d=>{if(d.type==="attributes"&&d.attributeName==="data-tooltip-id"&&(d.target.getAttribute("data-tooltip-id")===t?lt.push(d.target):d.oldValue===t&&ke.push(d.target)),d.type==="childList"){if(ue){const w=[...d.removedNodes].filter(A=>A.nodeType===1);if(U)try{ke.push(...w.filter(A=>A.matches(U))),ke.push(...w.flatMap(A=>[...A.querySelectorAll(U)]))}catch{}w.some(A=>{var z;return!!(!((z=A==null?void 0:A.contains)===null||z===void 0)&&z.call(A,ue))&&(pt(!1),$e(!1),me(null),Lt(Te),Lt(Be),!0)})}if(U)try{const w=[...d.addedNodes].filter(A=>A.nodeType===1);lt.push(...w.filter(A=>A.matches(U))),lt.push(...w.flatMap(A=>[...A.querySelectorAll(U)]))}catch{}}}),(lt.length||ke.length)&&Ke(d=>[...d.filter(w=>!ke.includes(w)),...lt])});return Ce.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Ce.disconnect()}},[t,a,pe==null?void 0:pe.anchorSelect,ue]),b.useEffect(()=>{ee()},[ee]),b.useEffect(()=>{if(!(ce!=null&&ce.current))return()=>null;const j=new ResizeObserver(()=>{setTimeout(()=>ee())});return j.observe(ce.current),()=>{j.disconnect()}},[se,ce==null?void 0:ce.current]),b.useEffect(()=>{var j;const B=document.querySelector(`[id='${i}']`),U=[...yt,B];ue&&U.includes(ue)||me((j=yt[0])!==null&&j!==void 0?j:B)},[i,yt,ue]),b.useEffect(()=>(oe&&$e(!0),()=>{Lt(Te),Lt(Be)}),[]),b.useEffect(()=>{var j;let B=(j=pe==null?void 0:pe.anchorSelect)!==null&&j!==void 0?j:a;if(!B&&t&&(B=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),B)try{const U=Array.from(document.querySelectorAll(B));Ke(U)}catch{Ke([])}},[t,a,pe==null?void 0:pe.anchorSelect]),b.useEffect(()=>{Te.current&&(Lt(Te),zt(S))},[S]);const Ie=(Ge=pe==null?void 0:pe.content)!==null&&Ge!==void 0?Ge:se,wt=Ae&&Object.keys(dt.tooltipStyles).length>0;return b.useImperativeHandle(e,()=>({open:j=>{if(j!=null&&j.anchorSelect)try{document.querySelector(j.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${j.anchorSelect}" is not a valid CSS selector`)}ht(j??null),j!=null&&j.delay?zt(j.delay):$e(!0)},close:j=>{j!=null&&j.delay?vt(j.delay):$e(!1)},activeAnchor:ue,place:dt.place,isOpen:!!(Je&&!E&&Ie&&wt)})),Je&&!E&&Ie?b.createElement(v,{id:t,role:qe,className:oi("react-tooltip",Er.tooltip,Mo.tooltip,Mo[o],r,`react-tooltip__place-${dt.place}`,Er[wt?"show":"closing"],wt?"react-tooltip__show":"react-tooltip__closing",m==="fixed"&&Er.fixed,R&&Er.clickable),onTransitionEnd:j=>{Lt(Pe),Ae||j.propertyName!=="opacity"||(pt(!1),ht(null),K==null||K())},style:{...Fe,...dt.tooltipStyles,opacity:at!==void 0&&wt?at:void 0},ref:fe},Ie,b.createElement(v,{className:oi("react-tooltip-arrow",Er.arrow,Mo.arrow,n,O&&Er.noArrow),style:{...dt.tooltipArrowStyles,background:tt?`linear-gradient(to right bottom, transparent 50%, ${tt} 50%)`:void 0},ref:xe})):null},fg=({content:e})=>b.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),pg=b.forwardRef(({id:e,anchorId:t,anchorSelect:r,content:n,html:o,render:i,className:a,classNameArrow:c,variant:u="dark",place:f="top",offset:h=10,wrapper:m="div",children:_=null,events:v=["hover"],openOnClick:S=!1,positionStrategy:k="absolute",middlewares:P,delayShow:E=0,delayHide:O=0,float:R=!1,hidden:L=!1,noArrow:D=!1,clickable:F=!1,closeOnEsc:I=!1,closeOnScroll:be=!1,closeOnResize:we=!1,openEvents:he,closeEvents:Fe,globalCloseEvents:Le,imperativeModeOnly:_e=!1,style:K,position:Ee,isOpen:se,defaultIsOpen:ce=!1,disableStyleInjection:le=!1,border:oe,opacity:H,arrowColor:ue,setIsOpen:me,afterShow:Y,afterHide:at,disableTooltip:tt,role:qe="tooltip"},Ge)=>{const[fe,xe]=b.useState(n),[Te,Be]=b.useState(o),[Pe,dt]=b.useState(f),[jt,Ae]=b.useState(u),[ft,Je]=b.useState(h),[pt,pe]=b.useState(E),[ht,gt]=b.useState(O),[mt,Ot]=b.useState(R),[rt,st]=b.useState(L),[yt,Ke]=b.useState(m),[$t,St]=b.useState(v),[Pt,He]=b.useState(k),[It,nt]=b.useState(null),[$e,Vt]=b.useState(null),zt=b.useRef(le),{anchorRefs:vt,activeAnchor:bt}=pc(e),Ye=Se=>Se==null?void 0:Se.getAttributeNames().reduce((Xe,V)=>{var ee;return V.startsWith("data-tooltip-")&&(Xe[V.replace(/^data-tooltip-/,"")]=(ee=Se==null?void 0:Se.getAttribute(V))!==null&&ee!==void 0?ee:null),Xe},{}),ct=Se=>{const Xe={place:V=>{var ee;dt((ee=V)!==null&&ee!==void 0?ee:f)},content:V=>{xe(V??n)},html:V=>{Be(V??o)},variant:V=>{var ee;Ae((ee=V)!==null&&ee!==void 0?ee:u)},offset:V=>{Je(V===null?h:Number(V))},wrapper:V=>{var ee;Ke((ee=V)!==null&&ee!==void 0?ee:m)},events:V=>{const ee=V==null?void 0:V.split(" ");St(ee??v)},"position-strategy":V=>{var ee;He((ee=V)!==null&&ee!==void 0?ee:k)},"delay-show":V=>{pe(V===null?E:Number(V))},"delay-hide":V=>{gt(V===null?O:Number(V))},float:V=>{Ot(V===null?R:V==="true")},hidden:V=>{st(V===null?L:V==="true")},"class-name":V=>{nt(V)}};Object.values(Xe).forEach(V=>V(null)),Object.entries(Se).forEach(([V,ee])=>{var Ie;(Ie=Xe[V])===null||Ie===void 0||Ie.call(Xe,ee)})};b.useEffect(()=>{xe(n)},[n]),b.useEffect(()=>{Be(o)},[o]),b.useEffect(()=>{dt(f)},[f]),b.useEffect(()=>{Ae(u)},[u]),b.useEffect(()=>{Je(h)},[h]),b.useEffect(()=>{pe(E)},[E]),b.useEffect(()=>{gt(O)},[O]),b.useEffect(()=>{Ot(R)},[R]),b.useEffect(()=>{st(L)},[L]),b.useEffect(()=>{He(k)},[k]),b.useEffect(()=>{zt.current!==le&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[le]),b.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:le==="core",disableBase:le}}))},[]),b.useEffect(()=>{var Se;const Xe=new Set(vt);let V=r;if(!V&&e&&(V=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),V)try{document.querySelectorAll(V).forEach(B=>{Xe.add({current:B})})}catch{console.warn(`[react-tooltip] "${V}" is not a valid CSS selector`)}const ee=document.querySelector(`[id='${t}']`);if(ee&&Xe.add({current:ee}),!Xe.size)return()=>null;const Ie=(Se=$e??ee)!==null&&Se!==void 0?Se:bt.current,wt=new MutationObserver(B=>{B.forEach(U=>{var Ce;if(!Ie||U.type!=="attributes"||!(!((Ce=U.attributeName)===null||Ce===void 0)&&Ce.startsWith("data-tooltip-")))return;const De=Ye(Ie);ct(De)})}),j={attributes:!0,childList:!1,subtree:!1};if(Ie){const B=Ye(Ie);ct(B),wt.observe(Ie,j)}return()=>{wt.disconnect()}},[vt,bt,$e,t,r]),b.useEffect(()=>{K!=null&&K.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),oe&&!Ua("border",`${oe}`)&&console.warn(`[react-tooltip] "${oe}" is not a valid \`border\`.`),K!=null&&K.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),H&&!Ua("opacity",`${H}`)&&console.warn(`[react-tooltip] "${H}" is not a valid \`opacity\`.`)},[]);let We=_;const Qe=b.useRef(null);if(i){const Se=i({content:($e==null?void 0:$e.getAttribute("data-tooltip-content"))||fe||null,activeAnchor:$e});We=Se?b.createElement("div",{ref:Qe,className:"react-tooltip-content-wrapper"},Se):null}else fe&&(We=fe);Te&&(We=b.createElement(fg,{content:Te}));const Et={forwardRef:Ge,id:e,anchorId:t,anchorSelect:r,className:oi(a,It),classNameArrow:c,content:We,contentWrapperRef:Qe,place:Pe,variant:jt,offset:ft,wrapper:yt,events:$t,openOnClick:S,positionStrategy:Pt,middlewares:P,delayShow:pt,delayHide:ht,float:mt,hidden:rt,noArrow:D,clickable:F,closeOnEsc:I,closeOnScroll:be,closeOnResize:we,openEvents:he,closeEvents:Fe,globalCloseEvents:Le,imperativeModeOnly:_e,style:K,position:Ee,isOpen:se,defaultIsOpen:ce,border:oe,opacity:H,arrowColor:ue,setIsOpen:me,afterShow:Y,afterHide:at,disableTooltip:tt,activeAnchor:$e,setActiveAnchor:Se=>Vt(Se),role:qe};return b.createElement(dg,{...Et})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||Ba({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||Ba({css:`
|
|
453
|
+
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});const hg=ne(cn)``,gg=ne.div`
|
|
454
454
|
${({theme:e,$maxWidth:t="320px"})=>`
|
|
455
455
|
> :is(.react-tooltip, .react-tooltip__show, .react-tooltip__closing) {
|
|
456
456
|
background-color: ${e.palette.gray[700]};
|
|
@@ -463,59 +463,132 @@ Check the top-level render call using <`+T+">.")}return b}}function Ie(f,b){{if(
|
|
|
463
463
|
--rt-opacity: 1;
|
|
464
464
|
}
|
|
465
465
|
`}
|
|
466
|
-
`,Ci=w.forwardRef(function({children:t,disabled:r=!1,display:n="inline-block",effect:o="solid",icon:i,iconColor:s,iconSize:c,id:u,maxWidth:d,nodeTip:h,place:y="bottom",tip:_="",title:v="",hide:S=_===""&&v===""&&h===void 0,...A},j){const[E,C]=w.useState(!1),R=w.useRef(null),M=w.useCallback(()=>{R.current!==null&&clearTimeout(R.current),R.current=setTimeout(()=>{C(!0)},100)},[]),L=w.useCallback(()=>{R.current!==null&&clearTimeout(R.current),R.current=setTimeout(()=>{C(!1)},100)},[]);return r?O.jsx(w.StrictMode,{children:t}):O.jsxs(ug,{"data-tooltip-id":u,display:n,onMouseLeave:L,onMouseMove:M,ref:j,...A,children:[i?O.jsx(Vt,{children:O.jsx(er,{clickable:!0,disabled:r,icon:i,iconColor:s,iconSize:c??"xxs",iconType:E?"fa-solid":"fa-light"})}):t,ml.createPortal(O.jsx(fg,{$maxWidth:d,children:O.jsxs(lg,{delayShow:500,float:o==="float"?!0:void 0,globalCloseEvents:{resize:!0},hidden:S||!E,id:u,middlewares:[Qf({fallbackAxisSideDirection:"start"}),Yf({mainAxis:10})],noArrow:o==="float",place:y,children:[Po(v)?void 0:O.jsx(Ot,{color:X.palette.white,fontWeight:"bold",lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:v}),Po(_)?void 0:O.jsx(Ot,{color:X.palette.gray[100],lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:_}),Po(h)?void 0:h]})}),document.getElementById("root")??document.body)]})}),uc=w.forwardRef(function({bold:t=!1,children:r,disabled:n=!1,id:o,icon:i,mode:s,name:c,onClick:u,showArrow:d=!1,type:h="button",tooltip:y,tooltipPlace:_="bottom",underline:v=!1,value:S,variant:A="primaryWeb",...j},E){const C=y!==void 0,R=`${o}-tooltip`,M=!A.endsWith("Web");return O.jsx(Ci,{disabled:!C,id:R,place:_,tip:y,children:O.jsxs(hf,{$variant:A,className:s,disabled:n,id:o,name:c,onClick:u,ref:E,type:h,value:S,...C?{"data-tooltip-id":R}:{},...j,children:[i!==void 0&&O.jsx(er,{icon:i,iconSize:"xs",iconType:"fa-light"}),O.jsx(Ot,{color:"inherit",fontWeight:t?"bold":"regular",lineSpacing:M?1.25:1.5,size:M?"sm":"md",sizeSm:"sm",textDecoration:v?"underline":void 0,children:r}),(d||A==="link")&&O.jsx(er,{icon:"arrow-right",iconSize:"xs",iconType:"fa-light"})]})})});var nr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ii={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Array]",c="[object Boolean]",u="[object Date]",d="[object Error]",h="[object Function]",y="[object GeneratorFunction]",_="[object Map]",v="[object Number]",S="[object Object]",A="[object Promise]",j="[object RegExp]",E="[object Set]",C="[object String]",R="[object Symbol]",M="[object WeakMap]",L="[object ArrayBuffer]",N="[object DataView]",P="[object Float32Array]",be="[object Float64Array]",we="[object Int8Array]",he="[object Int16Array]",Fe="[object Int32Array]",Le="[object Uint8Array]",_e="[object Uint8ClampedArray]",J="[object Uint16Array]",Ee="[object Uint32Array]",se=/[\\^$.*+?()[\]{}|]/g,ae=/\w*$/,ce=/^\[object .+?Constructor\]$/,ne=/^(?:0|[1-9]\d*)$/,G={};G[i]=G[s]=G[L]=G[N]=G[c]=G[u]=G[P]=G[be]=G[we]=G[he]=G[Fe]=G[_]=G[v]=G[S]=G[j]=G[E]=G[C]=G[R]=G[Le]=G[_e]=G[J]=G[Ee]=!0,G[d]=G[h]=G[M]=!1;var le=typeof nr=="object"&&nr&&nr.Object===Object&&nr,ye=typeof self=="object"&&self&&self.Object===Object&&self,H=le||ye||Function("return this")(),st=t&&!t.nodeType&&t,tt=st&&!0&&e&&!e.nodeType&&e,qe=tt&&tt.exports===st;function Ge(l,g){return l.set(g[0],g[1]),l}function fe(l,g){return l.add(g),l}function xe(l,g){for(var x=-1,D=l?l.length:0;++x<D&&g(l[x],x,l)!==!1;);return l}function Te(l,g){for(var x=-1,D=g.length,it=l.length;++x<D;)l[it+x]=g[x];return l}function ze(l,g,x,D){for(var it=-1,Tt=l?l.length:0;++it<Tt;)x=g(x,l[it],it,l);return x}function Pe(l,g){for(var x=-1,D=Array(l);++x<l;)D[x]=g(x);return D}function ft(l,g){return l==null?void 0:l[g]}function kt(l){var g=!1;if(l!=null&&typeof l.toString!="function")try{g=!!(l+"")}catch{}return g}function Ae(l){var g=-1,x=Array(l.size);return l.forEach(function(D,it){x[++g]=[it,D]}),x}function dt(l,g){return function(x){return l(g(x))}}function Je(l){var g=-1,x=Array(l.size);return l.forEach(function(D){x[++g]=D}),x}var pt=Array.prototype,de=Function.prototype,ht=Object.prototype,gt=H["__core-js_shared__"],yt=function(){var l=/[^.]+$/.exec(gt&>.keys&>.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""}(),Ct=de.toString,rt=ht.hasOwnProperty,at=ht.toString,mt=RegExp("^"+Ct.call(rt).replace(se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ke=qe?H.Buffer:void 0,xt=H.Symbol,$t=H.Uint8Array,jt=dt(Object.getPrototypeOf,Object),He=Object.create,Pt=ht.propertyIsEnumerable,nt=pt.splice,$e=Object.getOwnPropertySymbols,Nt=Ke?Ke.isBuffer:void 0,Ft=dt(Object.keys,Object),vt=Y(H,"DataView"),bt=Y(H,"Map"),Ye=Y(H,"Promise"),ct=Y(H,"Set"),We=Y(H,"WeakMap"),Qe=Y(Object,"create"),St=ur(vt),Se=ur(bt),Xe=ur(Ye),F=ur(ct),ee=ur(We),Ie=xt?xt.prototype:void 0,wt=Ie?Ie.valueOf:void 0;function k(l){var g=-1,x=l?l.length:0;for(this.clear();++g<x;){var D=l[g];this.set(D[0],D[1])}}function B(){this.__data__=Qe?Qe(null):{}}function W(l){return this.has(l)&&delete this.__data__[l]}function Ce(l){var g=this.__data__;if(Qe){var x=g[l];return x===n?void 0:x}return rt.call(g,l)?g[l]:void 0}function De(l){var g=this.__data__;return Qe?g[l]!==void 0:rt.call(g,l)}function lt(l,g){var x=this.__data__;return x[l]=Qe&&g===void 0?n:g,this}k.prototype.clear=B,k.prototype.delete=W,k.prototype.get=Ce,k.prototype.has=De,k.prototype.set=lt;function Oe(l){var g=-1,x=l?l.length:0;for(this.clear();++g<x;){var D=l[g];this.set(D[0],D[1])}}function f(){this.__data__=[]}function b(l){var g=this.__data__,x=lr(g,l);if(x<0)return!1;var D=g.length-1;return x==D?g.pop():nt.call(g,x,1),!0}function T(l){var g=this.__data__,x=lr(g,l);return x<0?void 0:g[x][1]}function V(l){return lr(this.__data__,l)>-1}function ie(l,g){var x=this.__data__,D=lr(x,l);return D<0?x.push([l,g]):x[D][1]=g,this}Oe.prototype.clear=f,Oe.prototype.delete=b,Oe.prototype.get=T,Oe.prototype.has=V,Oe.prototype.set=ie;function re(l){var g=-1,x=l?l.length:0;for(this.clear();++g<x;){var D=l[g];this.set(D[0],D[1])}}function K(){this.__data__={hash:new k,map:new(bt||Oe),string:new k}}function Q(l){return U(this,l).delete(l)}function Ne(l){return U(this,l).get(l)}function z(l){return U(this,l).has(l)}function ue(l,g){return U(this,l).set(l,g),this}re.prototype.clear=K,re.prototype.delete=Q,re.prototype.get=Ne,re.prototype.has=z,re.prototype.set=ue;function Re(l){this.__data__=new Oe(l)}function Ze(){this.__data__=new Oe}function Qt(l){return this.__data__.delete(l)}function ot(l){return this.__data__.get(l)}function ho(l){return this.__data__.has(l)}function yn(l,g){var x=this.__data__;if(x instanceof Oe){var D=x.__data__;if(!bt||D.length<r-1)return D.push([l,g]),this;x=this.__data__=new re(D)}return x.set(l,g),this}Re.prototype.clear=Ze,Re.prototype.delete=Qt,Re.prototype.get=ot,Re.prototype.has=ho,Re.prototype.set=yn;function go(l,g){var x=So(l)||ul(l)?Pe(l.length,String):[],D=x.length,it=!!D;for(var Tt in l)rt.call(l,Tt)&&!(it&&(Tt=="length"||It(Tt,D)))&&x.push(Tt);return x}function Vr(l,g,x){var D=l[g];(!(rt.call(l,g)&&Ji(D,x))||x===void 0&&!(g in l))&&(l[g]=x)}function lr(l,g){for(var x=l.length;x--;)if(Ji(l[x][0],g))return x;return-1}function mn(l,g){return l&&$(g,Eo(g),l)}function Br(l,g,x,D,it,Tt,Kt){var At;if(D&&(At=Tt?D(l,it,Tt,Kt):D(l)),At!==void 0)return At;if(!xn(l))return l;var Zi=So(l);if(Zi){if(At=Et(l),!g)return m(l,At)}else{var $r=Be(l),es=$r==h||$r==y;if(dl(l))return vo(l,g);if($r==S||$r==i||es&&!Tt){if(kt(l))return Tt?l:{};if(At=_t(es?{}:l),!g)return I(l,mn(At,l))}else{if(!G[$r])return Tt?l:{};At=Jt(l,$r,Br,g)}}Kt||(Kt=new Re);var ts=Kt.get(l);if(ts)return ts;if(Kt.set(l,At),!Zi)var rs=x?oe(l):Eo(l);return xe(rs||l,function(To,$n){rs&&($n=To,To=l[$n]),Vr(At,$n,Br(To,g,x,D,$n,l,Kt))}),At}function vn(l){return xn(l)?He(l):{}}function bn(l,g,x){var D=g(l);return So(l)?D:Te(D,x(l))}function yo(l){return at.call(l)}function mo(l){if(!xn(l)||_n(l))return!1;var g=Xi(l)||kt(l)?mt:ce;return g.test(ur(l))}function wn(l){if(!Wr(l))return Ft(l);var g=[];for(var x in Object(l))rt.call(l,x)&&x!="constructor"&&g.push(x);return g}function vo(l,g){if(g)return l.slice();var x=new l.constructor(l.length);return l.copy(x),x}function zr(l){var g=new l.constructor(l.byteLength);return new $t(g).set(new $t(l)),g}function bo(l,g){var x=g?zr(l.buffer):l.buffer;return new l.constructor(x,l.byteOffset,l.byteLength)}function wo(l,g,x){var D=g?x(Ae(l),!0):Ae(l);return ze(D,Ge,new l.constructor)}function _o(l){var g=new l.constructor(l.source,ae.exec(l));return g.lastIndex=l.lastIndex,g}function xo(l,g,x){var D=g?x(Je(l),!0):Je(l);return ze(D,fe,new l.constructor)}function a(l){return wt?Object(wt.call(l)):{}}function p(l,g){var x=g?zr(l.buffer):l.buffer;return new l.constructor(x,l.byteOffset,l.length)}function m(l,g){var x=-1,D=l.length;for(g||(g=Array(D));++x<D;)g[x]=l[x];return g}function $(l,g,x,D){x||(x={});for(var it=-1,Tt=g.length;++it<Tt;){var Kt=g[it],At=void 0;Vr(x,Kt,At===void 0?l[Kt]:At)}return x}function I(l,g){return $(l,Ve(l),g)}function oe(l){return bn(l,Eo,Ve)}function U(l,g){var x=l.__data__;return $o(g)?x[typeof g=="string"?"string":"hash"]:x.map}function Y(l,g){var x=ft(l,g);return mo(x)?x:void 0}var Ve=$e?dt($e,Object):gl,Be=yo;(vt&&Be(new vt(new ArrayBuffer(1)))!=N||bt&&Be(new bt)!=_||Ye&&Be(Ye.resolve())!=A||ct&&Be(new ct)!=E||We&&Be(new We)!=M)&&(Be=function(l){var g=at.call(l),x=g==S?l.constructor:void 0,D=x?ur(x):void 0;if(D)switch(D){case St:return N;case Se:return _;case Xe:return A;case F:return E;case ee:return M}return g});function Et(l){var g=l.length,x=l.constructor(g);return g&&typeof l[0]=="string"&&rt.call(l,"index")&&(x.index=l.index,x.input=l.input),x}function _t(l){return typeof l.constructor=="function"&&!Wr(l)?vn(jt(l)):{}}function Jt(l,g,x,D){var it=l.constructor;switch(g){case L:return zr(l);case c:case u:return new it(+l);case N:return bo(l,D);case P:case be:case we:case he:case Fe:case Le:case _e:case J:case Ee:return p(l,D);case _:return wo(l,D,x);case v:case C:return new it(l);case j:return _o(l);case E:return xo(l,D,x);case R:return a(l)}}function It(l,g){return g=g??o,!!g&&(typeof l=="number"||ne.test(l))&&l>-1&&l%1==0&&l<g}function $o(l){var g=typeof l;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?l!=="__proto__":l===null}function _n(l){return!!yt&&yt in l}function Wr(l){var g=l&&l.constructor,x=typeof g=="function"&&g.prototype||ht;return l===x}function ur(l){if(l!=null){try{return Ct.call(l)}catch{}try{return l+""}catch{}}return""}function ll(l){return Br(l,!0,!0)}function Ji(l,g){return l===g||l!==l&&g!==g}function ul(l){return fl(l)&&rt.call(l,"callee")&&(!Pt.call(l,"callee")||at.call(l)==i)}var So=Array.isArray;function Ki(l){return l!=null&&pl(l.length)&&!Xi(l)}function fl(l){return hl(l)&&Ki(l)}var dl=Nt||yl;function Xi(l){var g=xn(l)?at.call(l):"";return g==h||g==y}function pl(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=o}function xn(l){var g=typeof l;return!!l&&(g=="object"||g=="function")}function hl(l){return!!l&&typeof l=="object"}function Eo(l){return Ki(l)?go(l):wn(l)}function gl(){return[]}function yl(){return!1}e.exports=ll})(ii,ii.exports);var or=ii.exports,si=function(){return si=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},si.apply(this,arguments)};function dg(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function c(h){try{d(n.next(h))}catch(y){s(y)}}function u(h){try{d(n.throw(h))}catch(y){s(y)}}function d(h){h.done?i(h.value):o(h.value).then(c,u)}d((n=n.apply(e,[])).next())})}function pg(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(d){return function(h){return u([d,h])}}function u(d){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,d[0]&&(r=0)),r;)try{if(n=1,o&&(i=d[0]&2?o.return:d[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,d[1])).done)return i;switch(o=0,i&&(d=[d[0]&2,i.value]),d[0]){case 0:case 1:i=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,o=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){r.label=d[1];break}if(d[0]===6&&r.label<i[1]){r.label=i[1],i=d;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(d);break}i[2]&&r.ops.pop(),r.trys.pop();continue}d=t.call(e,r)}catch(h){d=[6,h],o=0}finally{n=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function Un(e,t,r,n,o){return dg(this,void 0,void 0,function(){var i,s;return pg(this,function(c){switch(c.label){case 0:if(r===void 0)return[2];s=0,c.label=1;case 1:return s<r.length?[4,r[s](e,t,n,o,r)]:[3,4];case 2:if(i=c.sent(),i==="canceled")return[3,4];c.label=3;case 3:return s++,[3,1];case 4:return i!=="canceled"?[2,i]:[2]}})})}var ai=function(e,t){return t===void 0&&(t={}),e?{trackedAnalytics:si({sdkCode:e.sdkCode,sdkSemver:e.sdkSemver,techVersion:e.techVersion},t)}:null},hg=function(){function e(t,r,n,o){var i=this;this.isMounted=!0,this.imgElement=t,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var s=or(r);Un(t,s,n,this.htmlPluginState,o).then(function(c){if(i.isMounted){i.htmlPluginState.pluginEventSubscription.forEach(function(d){d()});var u=ai(o,c);i.imgElement.setAttribute("src",s.toURL(u))}})}return e.prototype.update=function(t,r,n){var o=this,i=or(t);Un(this.imgElement,i,r,this.htmlPluginState).then(function(s){if(o.isMounted){var c=ai(n,s);o.imgElement.setAttribute("src",i.toURL(c))}})},e.prototype.unmount=function(){this.isMounted=!1},e}();let Me=class{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}},gg=class extends Error{constructor(t="Unsupported"){super(t)}};function Oi(e){return new gg(e)}function yg(){return this._qualifierModel||{error:Oi(`unsupported qualifier ${this.constructor.name}`)}}let mg=class{constructor(){this._qualifierModel={}}toJson(){return yg.apply(this)}},Z=class extends mg{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Me?this.qualifierValue=r:(this.qualifierValue=new Me,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}},Lt=class extends Z{constructor(t,r){let n;r?n=new Me([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}};function vg(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function bg(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:Oi(`unsupported action ${this.constructor.name}`)}}let wg=class{constructor(){this._actionModel={}}toJson(){return bg.apply(this)}},Ut=class extends wg{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),vg(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new Lt(n)):this.qualifiers.set(r,new Z(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new Lt(t)):t instanceof Lt&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}};class Ri extends Ut{constructor(t){super(),this.regionType=t,this._actionModel.regionType=t}}class io extends Ri{constructor(){super("custom")}x(t){return this._actionModel.x=t,this.addQualifier(new Z("x",t)),this}y(t){return this._actionModel.y=t,this.addQualifier(new Z("y",t)),this}width(t){return this._actionModel.width=t,this.addQualifier(new Z("w",t)),this}height(t){return this._actionModel.height=t,this.addQualifier(new Z("h",t)),this}static fromJson(t){const r=new io;return t.width&&r.width(t.width),t.height&&r.height(t.height),t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function _g(){return new io}function fc(){return new Ri("faces")}function xg(){return new Ri("ocr_text")}class $g extends Ut{constructor(t){super(),this._actionModel={},this._strength=t,this._actionModel.actionType="blur",this._actionModel.strength=t}region(t){return this._region=t,this._actionModel.region=t.toJson(),this}strength(t){return this._strength=t,this._actionModel.strength=t,this}prepareQualifiers(){const t=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new Z("e",`blur_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new Z("e",`blur_region${t}`)),this.addQualifier(new Z("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new Z("e",`blur_faces${t}`))):this.addQualifier(new Z("e",`blur${t}`))}static fromJson(t){const{strength:r,region:n}=t,o=new this(r);return r&&o.strength(r),n&&n.regionType==="faces"&&o.region(fc()),n&&n.regionType==="ocr_text"&&o.region(xg()),n&&n.regionType==="custom"&&o.region(io.fromJson(n)),o}}function _r(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const dc={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},Sg={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},pc={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},hc={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Eg={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},gc={444:"CHROMA_444",420:"CHROMA_420"},Tg={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},Ag=_r(gc);_r(Tg);const Cg=_r(dc),Og=_r(Sg),yc=_r(pc);_r(hc);_r(Eg);class mc extends Ut{constructor(t,r){super(),this._actionModel={},this._actionModel.actionType=yc[t]||t;const n=this.createEffectQualifier(t,r);this.addQualifier(n)}createEffectQualifier(t,r){let n;return r?n=new Me([t,`${r}`]).setDelimiter(":"):n=new Me(t),new Z("e",n)}static fromJson(t){const{actionType:r,level:n,strength:o}=t,i=pc[r]||r;return new this(i,n||o)}}class Rg extends mc{constructor(t,r){super(t,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=t,this._actionModel.actionType=yc[t]||t,r&&this.setLevel(r)}setLevel(t){this._actionModel[this.LEVEL_NAME]=t;const r=this.createEffectQualifier(this.effectType,t);return this.addQualifier(r),this}}function so(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class kg extends Ut{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(t){return this._actionModel.numOfColors=t,this._numOfColors=t,this}detailsLevel(t){return this._actionModel.detailLevel=t,this._detailsLevel=t,this}despeckleLevel(t){return this._actionModel.despeckleLevel=t,this._despeckleLevel=t,this}cornersLevel(t){return this._actionModel.cornersLevel=t,this._cornersLevel=t,this}paths(t){return this._actionModel.paths=t,this._paths=t,this}prepareQualifiers(){let t="vectorize";this._numOfColors&&(t+=`:${new Me(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(t+=`:${new Me(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(t+=`:${new Me(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(t+=`:${new Me(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(t+=`:${new Me(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new Z("e",t))}static fromJson(t){const{actionType:r,paths:n,cornersLevel:o,despeckleLevel:i,detailLevel:s,numOfColors:c}=t,u=new this;return n&&u.paths(n),o&&u.cornersLevel(o),i&&u.despeckleLevel(i),s&&u.detailsLevel(s),c&&u.numOfColors(c),u}}class jg extends Rg{level(t){return this._actionModel.level=t,this.setLevel(t)}}class Pg extends Ut{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new Z("e",new Me("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new Z("e",new Me(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(t){return this._actionModel.type="stripes",this._actionModel.stripesStrength=t,this.addQualifier(new Z("e",new Me(["assist_colorblind",t]).setDelimiter(":")))}static fromJson(t){const{actionType:r,type:n,stripesStrength:o}=t,i=new this;return n==="xray"&&i.xray(),n==="stripes"&&o&&i.stripesStrength(o),i}}class Ig extends jg{color(t){return this._actionModel.color=t,this.addQualifier(new Z("co",new Me(so(t))))}static fromJson(t){const{actionType:r,level:n,color:o}=t,i=new this(r,n);return o&&i.color(o),i}}class Mg extends Ut{constructor(t){super(),this._actionModel={},this._squareSize=t,this._actionModel.actionType="pixelate",this._actionModel.squareSize=t}region(t){return this._region=t,this._actionModel.region={regionType:this._region.regionType},this}squareSize(t){return this._squareSize=t,this._actionModel.squareSize=t,this}prepareQualifiers(){const t=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new Z("e",`pixelate_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new Z("e",`pixelate_region${t}`)),this.addQualifier(new Z("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new Z("e",`pixelate_faces${t}`))):this.addQualifier(new Z("e",`pixelate${t}`))}static fromJson(t){const{region:r,squareSize:n}=t,o=new this(n);return n&&o.squareSize(n),r&&r.regionType==="faces"&&o.region(fc()),r&&r.regionType==="custom"&&o.region(_g()),o}}function Lg(e){return new $g(e)}function Dg(){return new mc("grayscale")}function Ys(e){return new Ig("colorize",e)}function Ng(){return new kg}function Fg(){return new Pg}function Vg(e){return new Mg(e)}let Bg=class extends Ut{constructor(t){super(),this._actionModel={},this.addQualifier(new Z("b",new Me(so(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}},Qs=class{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:Oi(`unsupported action ${this.constructor.name}`)}}};function zg(e){const t=e;return"error"in t&&!!t.error}function Wg(){return new Lt("ignore_aspect_ratio")}function Ug(){return new Lt("lossy")}function qg(){return new Lt("preserve_transparency")}function Gg(e){return new Lt("progressive",e)}function Hg(){return new Lt("region_relative")}function Yg(){return new Lt("relative")}let ki=class extends Me{constructor(t){super(t),this.val=t}getValue(){return this.val}},vc=class extends Ut{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof ki?o=r.getValue():o=r,this._actionModel.actionType=Og[t],this._actionModel[n]=o,this.addQualifier(new Z(t,r))}},Qg=class extends Lt{constructor(t){super("progressive",t)}},ci=class extends vc{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(Ug()),this}progressive(t){return t instanceof Qg?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(Gg(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(qg()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;let s;return r?s=new this("f",r):s=new this("f"),o&&(o.mode?s.progressive(o.mode):s.progressive()),n&&s.lossy(),i&&s.preserveTransparency(),s}},ao=class bc{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new Qs(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof bc?this.actions=this.actions.concat(t.actions):this.actions.push(new Qs(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new ci("q",t)),this}format(t){return this.addAction(new ci("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new Bg(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new Ut;let n=t;return typeof t=="string"&&(n=new Lt(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(zg(n))return n;t.push(n)}return{actions:t}}};function Js(e){const t=e.toString();return t.match(/[A-Z]/gi)||t.length>1&&t[0]==="0"?t:!isNaN(parseFloat(t))&&t.indexOf(":")===-1&&t.indexOf(".")===-1?`${t}.0`:t}class Jg extends Me{}class Kg extends Ut{constructor(t,r,n){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=Cg[t]||t,this.addQualifier(new Z("c",t)),r&&this.width(r),n&&this.height(n)}height(t){return this._actionModel.dimensions.height=t,this.addQualifier(new Z("h",t))}width(t){return this._actionModel.dimensions.width=t,this.addQualifier(new Z("w",t))}aspectRatio(t){if(t instanceof Jg)return this._actionModel.dimensions.aspectRatio=`${t}`,this.addQualifier(new Z("ar",t));if(typeof t=="number"||typeof t=="string")return this._actionModel.dimensions.aspectRatio=Js(t),this.addQualifier(new Z("ar",Js(t)));if(t instanceof Lt)return this._actionModel.dimensions.aspectRatio=`${t.qualifierValue}`,this.addFlag(t)}relative(){return this._actionModel.relative=!0,this.addFlag(Yg())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(Hg())}static fromJson(t){const{actionType:r,dimensions:n,relative:o,regionRelative:i}=t,{aspectRatio:s,width:c,height:u}=n,d=dc[r]||r,h=new this(d,c,u);return s&&h.aspectRatio(s==="ignore_aspect_ratio"?Wg():s),o&&h.relative(),i&&h.regionRelative(),h}}class ji extends Z{constructor(t){super("g",new Me(t))}}class wc extends ji{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}class _c extends ji{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}class xc extends ji{constructor(t){super(t)}}function Xg(e){return new xc(e)}function $c(...e){const t=[...e];return new _c(t)}function Sc(){return new wc}class co extends Me{constructor(t){super(),this.name=t}toString(){return this.name}}function Zg(){return new co("ocr_text")}function ey(e){return e&&`${e}`.split(":")[0]==="auto"}function ty(e){const t=Pi(e);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(t)}function Pi(e){return`${e}`.replace("g_","")}function ry(e){return{compass:Pi(e),gravityType:"direction"}}function ny(e){return Pi(e)==="ocr_text"}function oy(){return{gravityType:"ocr"}}function iy(e){return`${e.qualifierValue}`.split(":")[0]==="auto"}function sy(e){const r=e.toString().split("_"),n={object:r[0]};return r.length>1&&(r[1]==="avoid"?n.avoid=!0:n.weight=+r[1]),n}function Ec(e){let t;const r=e==="auto"?new wc:e;return`${e}`.startsWith("auto:")?t=`${e}`.split(":").filter(o=>o!=="auto"):t=r.qualifierValue.values.filter(o=>o!=="auto"),{gravityType:"auto",autoFocus:t.map(sy)}}function ay(e){const t=`${e}`.split(":").includes("auto"),r=e.qualifierValue.values,o={gravityType:"object",focusOnObjects:(t?r.slice(0,r.length-1):r).map(i=>`${i}`)};if(t){const i=r[r.length-1].values.slice(1),s=Sc().autoFocus(...i);o.fallbackGravity=Ec(s)}return o}function cy(e){const r=e.split(":").map(n=>new co(n));return new _c(r)}function ly(e){return ty(e)?ry(e):ny(e)?oy():ey(e)||iy(e)?Ec(e):ay(typeof e=="string"?cy(e):e)}class Ii extends Me{constructor(t,r){super(),this._weight=r,this.focusOn=t,this.shouldAvoid=!1}static focusOn(t,r){return new Ii(t,r)}shouldAddWeight(){return typeof this._weight=="number"||typeof this._weight=="string"||this.shouldAvoid}getName(){return this.focusOn.name}getWeight(){return this.shouldAvoid?"avoid":this._weight}toString(){return this.shouldAddWeight()?`${this.getName()}_${this.getWeight()}`:`${this.getName()}`}weight(t){return this._weight=t,this}avoid(){return this.shouldAvoid=!0,this}}class Tc extends Me{constructor(t){super(),this.val=t}toString(){return this.val}}function uy(e){return e.gravityType==="direction"}function fy(e){return e.gravityType==="ocr"}function dy(e){return e.gravityType==="auto"}function py(e){const{object:t,weight:r,avoid:n}=e,o=new Ii(new co(t));return(r||r===0)&&o.weight(r),n&&o.avoid(),o}function Ac(e){const r=(e.autoFocus||[]).map(py);return Sc().autoFocus(...r)}function hy(e){const t=(e.focusOnObjects||[]).map(n=>new co(n)),r=$c(...t);if(e.fallbackGravity){const n=Ac(e.fallbackGravity);r.fallbackGravity(n)}return r}function gy(e){return uy(e)?new xc(new Tc(e.compass)):fy(e)?$c(Zg()):dy(e)?Ac(e):hy(e)}class Mi extends Kg{gravity(t){this._actionModel.gravity=ly(t);const r=typeof t=="string"?new Z("g",t):t;return this.addQualifier(r)}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.gravity&&r.gravity(gy(t.gravity)),r}}class pn extends Z{constructor(t){super("b"),t&&this.addValue(t)}}const Cc=100,yy=0;class my extends pn{intensity(t){return this.intensityLevel=t,this}brightness(t){return this.brightnessLevel=t,this}toString(){const t=this.intensityLevel!==void 0?`:${this.intensityLevel}`:"",r=this.brightnessLevel!==void 0?this.intensityLevel!==void 0?`:${this.brightnessLevel}`:`:${Cc}:${this.brightnessLevel}`:"";return`b_blurred${t}${r}`}}var Oc=my;class Li extends pn{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...t){return this._palette=t.map(r=>so(r)),this}}class Rc extends Li{toString(){return`
|
|
466
|
+
`,ki=b.forwardRef(function({children:t,disabled:r=!1,display:n="inline-block",effect:o="solid",icon:i,iconColor:a,iconSize:c,id:u,maxWidth:f,nodeTip:h,place:m="bottom",tip:_="",title:v="",hide:S=_===""&&v===""&&h===void 0,...k},P){const[E,O]=b.useState(!1),R=b.useRef(null),L=b.useCallback(()=>{R.current!==null&&clearTimeout(R.current),R.current=setTimeout(()=>{O(!0)},100)},[]),D=b.useCallback(()=>{R.current!==null&&clearTimeout(R.current),R.current=setTimeout(()=>{O(!1)},100)},[]);return r?T.jsx(b.StrictMode,{children:t}):T.jsxs(hg,{"data-tooltip-id":u,display:n,onMouseLeave:D,onMouseMove:L,ref:P,...k,children:[i?T.jsx(kt,{children:T.jsx(Ft,{clickable:!0,disabled:r,icon:i,iconColor:a,iconSize:c??"xxs",iconType:E?"fa-solid":"fa-light"})}):t,xl.createPortal(T.jsx(gg,{$maxWidth:f,children:T.jsxs(pg,{delayShow:500,float:o==="float"?!0:void 0,globalCloseEvents:{resize:!0},hidden:S||!E,id:u,middlewares:[Xd({fallbackAxisSideDirection:"start"}),Kd({mainAxis:10})],noArrow:o==="float",place:m,children:[Io(v)?void 0:T.jsx(xt,{color:C.palette.white,fontWeight:"bold",lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:v}),Io(_)?void 0:T.jsx(xt,{color:C.palette.gray[100],lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:_}),Io(h)?void 0:h]})}),document.getElementById("root")??document.body)]})}),hc=b.forwardRef(function({bold:t=!1,children:r,disabled:n=!1,id:o,icon:i,mode:a,name:c,onClick:u,showArrow:f=!1,type:h="button",tooltip:m,tooltipPlace:_="bottom",underline:v=!1,value:S,variant:k="primaryWeb",...P},E){const O=m!==void 0,R=`${o}-tooltip`,L=!k.endsWith("Web");return T.jsx(ki,{disabled:!O,id:R,place:_,tip:m,children:T.jsxs(yd,{$variant:k,className:a,disabled:n,id:o,name:c,onClick:u,ref:E,type:h,value:S,...O?{"data-tooltip-id":R}:{},...P,children:[i!==void 0&&T.jsx(Ft,{icon:i,iconSize:"xs",iconType:"fa-light"}),T.jsx(xt,{color:"inherit",fontWeight:t?"bold":"regular",lineSpacing:L?1.25:1.5,size:L?"sm":"md",sizeSm:"sm",textDecoration:v?"underline":void 0,children:r}),(f||k==="link")&&T.jsx(Ft,{icon:"arrow-right",iconSize:"xs",iconType:"fa-light"})]})})}),Ya={web:{normal:C.typography.text.md,sm:C.typography.text.sm},platform:{normal:C.typography.text.sm,sm:C.typography.text.sm}},mg=ne.label`
|
|
467
|
+
${({$alert:e,$disabled:t,$variant:r})=>{const n=t?300:600;return`
|
|
468
|
+
display: flex;
|
|
469
|
+
align-items: center;
|
|
470
|
+
position: relative;
|
|
471
|
+
cursor: ${t?"not-allowed":"pointer"};
|
|
472
|
+
font-family: ${C.typography.type.primary};
|
|
473
|
+
font-size: ${Ya[r].normal};
|
|
474
|
+
font-weight: ${e?"inherit":C.typography.weight.regular};
|
|
475
|
+
line-height: ${C.spacing[1]};
|
|
476
|
+
letter-spacing: 0;
|
|
477
|
+
text-align: left;
|
|
478
|
+
color: ${e?"inherit":C.palette.gray[n]};
|
|
479
|
+
|
|
480
|
+
input {
|
|
481
|
+
position: absolute;
|
|
482
|
+
opacity: 0;
|
|
483
|
+
cursor: pointer;
|
|
484
|
+
height: 0;
|
|
485
|
+
width: 0;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
svg {
|
|
489
|
+
margin-right: ${C.spacing[.5]};
|
|
490
|
+
top: 0;
|
|
491
|
+
left: 0;
|
|
492
|
+
height: ${C.spacing[.5]};
|
|
493
|
+
width: ${C.spacing[.5]};
|
|
494
|
+
padding: ${C.spacing[.25]};
|
|
495
|
+
background-color: ${C.palette.white};
|
|
496
|
+
border-radius: ${r==="web"?C.spacing[.125]:C.spacing[.25]};
|
|
497
|
+
border: 1px solid ${C.palette.gray[600]};
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
svg > path {
|
|
501
|
+
fill: ${C.palette.white};
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
input:checked ~ span > svg {
|
|
505
|
+
background-color: ${C.palette.primary[500]};
|
|
506
|
+
border: 1px solid ${C.palette.primary[500]};
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
input:disabled ~ span > svg {
|
|
510
|
+
border: 1px solid ${C.palette.gray[300]};
|
|
511
|
+
cursor: not-allowed;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
input:not(:disabled):hover ~ span > svg {
|
|
515
|
+
box-shadow: 0 0 0 4px ${C.palette.gray[100]};
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
input:checked:disabled ~ span > svg {
|
|
519
|
+
background-color: ${C.palette.gray[300]};
|
|
520
|
+
border: 1px solid ${C.palette.gray[300]};
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
input:not(:disabled):hover:checked ~ span > svg {
|
|
524
|
+
box-shadow: 0 0 0 4px ${C.palette.primary[50]};
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
input:checked ~ span > svg > path {
|
|
528
|
+
fill: ${C.palette.white};
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
input:checked:disabled ~ span > svg > path {
|
|
532
|
+
fill: ${C.palette.white};
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
@media screen and (max-width: ${C.breakpoints.mobile}) {
|
|
536
|
+
font-size: ${Ya[r].sm};
|
|
537
|
+
}
|
|
538
|
+
`}}
|
|
539
|
+
`,yg=({defaultChecked:e=!1,disabled:t=!1,label:r,name:n,onChange:o,onClick:i,onFocus:a,onKeyDown:c,value:u,variant:f="web"})=>T.jsxs(mg,{$disabled:t,$variant:f,children:[T.jsx("input",{"aria-label":n,defaultChecked:e,disabled:t,name:n,onChange:o,onClick:i,onFocus:a,onKeyDown:c,type:"checkbox",value:u}),T.jsx(Ft,{disabled:t,icon:"check",iconSize:"sm"}),r??u]});var nr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ai={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",c="[object Boolean]",u="[object Date]",f="[object Error]",h="[object Function]",m="[object GeneratorFunction]",_="[object Map]",v="[object Number]",S="[object Object]",k="[object Promise]",P="[object RegExp]",E="[object Set]",O="[object String]",R="[object Symbol]",L="[object WeakMap]",D="[object ArrayBuffer]",F="[object DataView]",I="[object Float32Array]",be="[object Float64Array]",we="[object Int8Array]",he="[object Int16Array]",Fe="[object Int32Array]",Le="[object Uint8Array]",_e="[object Uint8ClampedArray]",K="[object Uint16Array]",Ee="[object Uint32Array]",se=/[\\^$.*+?()[\]{}|]/g,ce=/\w*$/,le=/^\[object .+?Constructor\]$/,oe=/^(?:0|[1-9]\d*)$/,H={};H[i]=H[a]=H[D]=H[F]=H[c]=H[u]=H[I]=H[be]=H[we]=H[he]=H[Fe]=H[_]=H[v]=H[S]=H[P]=H[E]=H[O]=H[R]=H[Le]=H[_e]=H[K]=H[Ee]=!0,H[f]=H[h]=H[L]=!1;var ue=typeof nr=="object"&&nr&&nr.Object===Object&&nr,me=typeof self=="object"&&self&&self.Object===Object&&self,Y=ue||me||Function("return this")(),at=t&&!t.nodeType&&t,tt=at&&!0&&e&&!e.nodeType&&e,qe=tt&&tt.exports===at;function Ge(l,g){return l.set(g[0],g[1]),l}function fe(l,g){return l.add(g),l}function xe(l,g){for(var x=-1,N=l?l.length:0;++x<N&&g(l[x],x,l)!==!1;);return l}function Te(l,g){for(var x=-1,N=g.length,it=l.length;++x<N;)l[it+x]=g[x];return l}function Be(l,g,x,N){for(var it=-1,At=l?l.length:0;++it<At;)x=g(x,l[it],it,l);return x}function Pe(l,g){for(var x=-1,N=Array(l);++x<l;)N[x]=g(x);return N}function dt(l,g){return l==null?void 0:l[g]}function jt(l){var g=!1;if(l!=null&&typeof l.toString!="function")try{g=!!(l+"")}catch{}return g}function Ae(l){var g=-1,x=Array(l.size);return l.forEach(function(N,it){x[++g]=[it,N]}),x}function ft(l,g){return function(x){return l(g(x))}}function Je(l){var g=-1,x=Array(l.size);return l.forEach(function(N){x[++g]=N}),x}var pt=Array.prototype,pe=Function.prototype,ht=Object.prototype,gt=Y["__core-js_shared__"],mt=function(){var l=/[^.]+$/.exec(gt&>.keys&>.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""}(),Ot=pe.toString,rt=ht.hasOwnProperty,st=ht.toString,yt=RegExp("^"+Ot.call(rt).replace(se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ke=qe?Y.Buffer:void 0,$t=Y.Symbol,St=Y.Uint8Array,Pt=ft(Object.getPrototypeOf,Object),He=Object.create,It=ht.propertyIsEnumerable,nt=pt.splice,$e=Object.getOwnPropertySymbols,Vt=Ke?Ke.isBuffer:void 0,zt=ft(Object.keys,Object),vt=Q(Y,"DataView"),bt=Q(Y,"Map"),Ye=Q(Y,"Promise"),ct=Q(Y,"Set"),We=Q(Y,"WeakMap"),Qe=Q(Object,"create"),Et=ur(vt),Se=ur(bt),Xe=ur(Ye),V=ur(ct),ee=ur(We),Ie=$t?$t.prototype:void 0,wt=Ie?Ie.valueOf:void 0;function j(l){var g=-1,x=l?l.length:0;for(this.clear();++g<x;){var N=l[g];this.set(N[0],N[1])}}function B(){this.__data__=Qe?Qe(null):{}}function U(l){return this.has(l)&&delete this.__data__[l]}function Ce(l){var g=this.__data__;if(Qe){var x=g[l];return x===n?void 0:x}return rt.call(g,l)?g[l]:void 0}function De(l){var g=this.__data__;return Qe?g[l]!==void 0:rt.call(g,l)}function lt(l,g){var x=this.__data__;return x[l]=Qe&&g===void 0?n:g,this}j.prototype.clear=B,j.prototype.delete=U,j.prototype.get=Ce,j.prototype.has=De,j.prototype.set=lt;function ke(l){var g=-1,x=l?l.length:0;for(this.clear();++g<x;){var N=l[g];this.set(N[0],N[1])}}function d(){this.__data__=[]}function w(l){var g=this.__data__,x=lr(g,l);if(x<0)return!1;var N=g.length-1;return x==N?g.pop():nt.call(g,x,1),!0}function A(l){var g=this.__data__,x=lr(g,l);return x<0?void 0:g[x][1]}function z(l){return lr(this.__data__,l)>-1}function ae(l,g){var x=this.__data__,N=lr(x,l);return N<0?x.push([l,g]):x[N][1]=g,this}ke.prototype.clear=d,ke.prototype.delete=w,ke.prototype.get=A,ke.prototype.has=z,ke.prototype.set=ae;function re(l){var g=-1,x=l?l.length:0;for(this.clear();++g<x;){var N=l[g];this.set(N[0],N[1])}}function X(){this.__data__={hash:new j,map:new(bt||ke),string:new j}}function J(l){return q(this,l).delete(l)}function Ne(l){return q(this,l).get(l)}function W(l){return q(this,l).has(l)}function de(l,g){return q(this,l).set(l,g),this}re.prototype.clear=X,re.prototype.delete=J,re.prototype.get=Ne,re.prototype.has=W,re.prototype.set=de;function Oe(l){this.__data__=new ke(l)}function Ze(){this.__data__=new ke}function Jt(l){return this.__data__.delete(l)}function ot(l){return this.__data__.get(l)}function go(l){return this.__data__.has(l)}function mn(l,g){var x=this.__data__;if(x instanceof ke){var N=x.__data__;if(!bt||N.length<r-1)return N.push([l,g]),this;x=this.__data__=new re(N)}return x.set(l,g),this}Oe.prototype.clear=Ze,Oe.prototype.delete=Jt,Oe.prototype.get=ot,Oe.prototype.has=go,Oe.prototype.set=mn;function mo(l,g){var x=Eo(l)||gl(l)?Pe(l.length,String):[],N=x.length,it=!!N;for(var At in l)rt.call(l,At)&&!(it&&(At=="length"||Mt(At,N)))&&x.push(At);return x}function Vr(l,g,x){var N=l[g];(!(rt.call(l,g)&&Ji(N,x))||x===void 0&&!(g in l))&&(l[g]=x)}function lr(l,g){for(var x=l.length;x--;)if(Ji(l[x][0],g))return x;return-1}function yn(l,g){return l&&$(g,To(g),l)}function zr(l,g,x,N,it,At,Xt){var Ct;if(N&&(Ct=At?N(l,it,At,Xt):N(l)),Ct!==void 0)return Ct;if(!xn(l))return l;var Zi=Eo(l);if(Zi){if(Ct=Tt(l),!g)return y(l,Ct)}else{var $r=ze(l),ea=$r==h||$r==m;if(yl(l))return bo(l,g);if($r==S||$r==i||ea&&!At){if(jt(l))return At?l:{};if(Ct=_t(ea?{}:l),!g)return M(l,yn(Ct,l))}else{if(!H[$r])return At?l:{};Ct=Kt(l,$r,zr,g)}}Xt||(Xt=new Oe);var ta=Xt.get(l);if(ta)return ta;if(Xt.set(l,Ct),!Zi)var ra=x?ie(l):To(l);return xe(ra||l,function(Ao,$n){ra&&($n=Ao,Ao=l[$n]),Vr(Ct,$n,zr(Ao,g,x,N,$n,l,Xt))}),Ct}function vn(l){return xn(l)?He(l):{}}function bn(l,g,x){var N=g(l);return Eo(l)?N:Te(N,x(l))}function yo(l){return st.call(l)}function vo(l){if(!xn(l)||_n(l))return!1;var g=Xi(l)||jt(l)?yt:le;return g.test(ur(l))}function wn(l){if(!Wr(l))return zt(l);var g=[];for(var x in Object(l))rt.call(l,x)&&x!="constructor"&&g.push(x);return g}function bo(l,g){if(g)return l.slice();var x=new l.constructor(l.length);return l.copy(x),x}function Br(l){var g=new l.constructor(l.byteLength);return new St(g).set(new St(l)),g}function wo(l,g){var x=g?Br(l.buffer):l.buffer;return new l.constructor(x,l.byteOffset,l.byteLength)}function _o(l,g,x){var N=g?x(Ae(l),!0):Ae(l);return Be(N,Ge,new l.constructor)}function xo(l){var g=new l.constructor(l.source,ce.exec(l));return g.lastIndex=l.lastIndex,g}function $o(l,g,x){var N=g?x(Je(l),!0):Je(l);return Be(N,fe,new l.constructor)}function s(l){return wt?Object(wt.call(l)):{}}function p(l,g){var x=g?Br(l.buffer):l.buffer;return new l.constructor(x,l.byteOffset,l.length)}function y(l,g){var x=-1,N=l.length;for(g||(g=Array(N));++x<N;)g[x]=l[x];return g}function $(l,g,x,N){x||(x={});for(var it=-1,At=g.length;++it<At;){var Xt=g[it],Ct=void 0;Vr(x,Xt,Ct===void 0?l[Xt]:Ct)}return x}function M(l,g){return $(l,Ve(l),g)}function ie(l){return bn(l,To,Ve)}function q(l,g){var x=l.__data__;return So(g)?x[typeof g=="string"?"string":"hash"]:x.map}function Q(l,g){var x=dt(l,g);return vo(x)?x:void 0}var Ve=$e?ft($e,Object):wl,ze=yo;(vt&&ze(new vt(new ArrayBuffer(1)))!=F||bt&&ze(new bt)!=_||Ye&&ze(Ye.resolve())!=k||ct&&ze(new ct)!=E||We&&ze(new We)!=L)&&(ze=function(l){var g=st.call(l),x=g==S?l.constructor:void 0,N=x?ur(x):void 0;if(N)switch(N){case Et:return F;case Se:return _;case Xe:return k;case V:return E;case ee:return L}return g});function Tt(l){var g=l.length,x=l.constructor(g);return g&&typeof l[0]=="string"&&rt.call(l,"index")&&(x.index=l.index,x.input=l.input),x}function _t(l){return typeof l.constructor=="function"&&!Wr(l)?vn(Pt(l)):{}}function Kt(l,g,x,N){var it=l.constructor;switch(g){case D:return Br(l);case c:case u:return new it(+l);case F:return wo(l,N);case I:case be:case we:case he:case Fe:case Le:case _e:case K:case Ee:return p(l,N);case _:return _o(l,N,x);case v:case O:return new it(l);case P:return xo(l);case E:return $o(l,N,x);case R:return s(l)}}function Mt(l,g){return g=g??o,!!g&&(typeof l=="number"||oe.test(l))&&l>-1&&l%1==0&&l<g}function So(l){var g=typeof l;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?l!=="__proto__":l===null}function _n(l){return!!mt&&mt in l}function Wr(l){var g=l&&l.constructor,x=typeof g=="function"&&g.prototype||ht;return l===x}function ur(l){if(l!=null){try{return Ot.call(l)}catch{}try{return l+""}catch{}}return""}function hl(l){return zr(l,!0,!0)}function Ji(l,g){return l===g||l!==l&&g!==g}function gl(l){return ml(l)&&rt.call(l,"callee")&&(!It.call(l,"callee")||st.call(l)==i)}var Eo=Array.isArray;function Ki(l){return l!=null&&vl(l.length)&&!Xi(l)}function ml(l){return bl(l)&&Ki(l)}var yl=Vt||_l;function Xi(l){var g=xn(l)?st.call(l):"";return g==h||g==m}function vl(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=o}function xn(l){var g=typeof l;return!!l&&(g=="object"||g=="function")}function bl(l){return!!l&&typeof l=="object"}function To(l){return Ki(l)?mo(l):wn(l)}function wl(){return[]}function _l(){return!1}e.exports=hl})(ai,ai.exports);var or=ai.exports,si=function(){return si=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},si.apply(this,arguments)};function vg(e,t,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function c(h){try{f(n.next(h))}catch(m){a(m)}}function u(h){try{f(n.throw(h))}catch(m){a(m)}}function f(h){h.done?i(h.value):o(h.value).then(c,u)}f((n=n.apply(e,[])).next())})}function bg(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(f){return function(h){return u([f,h])}}function u(f){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,f[0]&&(r=0)),r;)try{if(n=1,o&&(i=f[0]&2?o.return:f[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,f[1])).done)return i;switch(o=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,o=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=t.call(e,r)}catch(h){f=[6,h],o=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}function Un(e,t,r,n,o){return vg(this,void 0,void 0,function(){var i,a;return bg(this,function(c){switch(c.label){case 0:if(r===void 0)return[2];a=0,c.label=1;case 1:return a<r.length?[4,r[a](e,t,n,o,r)]:[3,4];case 2:if(i=c.sent(),i==="canceled")return[3,4];c.label=3;case 3:return a++,[3,1];case 4:return i!=="canceled"?[2,i]:[2]}})})}var ci=function(e,t){return t===void 0&&(t={}),e?{trackedAnalytics:si({sdkCode:e.sdkCode,sdkSemver:e.sdkSemver,techVersion:e.techVersion},t)}:null},wg=function(){function e(t,r,n,o){var i=this;this.isMounted=!0,this.imgElement=t,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var a=or(r);Un(t,a,n,this.htmlPluginState,o).then(function(c){if(i.isMounted){i.htmlPluginState.pluginEventSubscription.forEach(function(f){f()});var u=ci(o,c);i.imgElement.setAttribute("src",a.toURL(u))}})}return e.prototype.update=function(t,r,n){var o=this,i=or(t);Un(this.imgElement,i,r,this.htmlPluginState).then(function(a){if(o.isMounted){var c=ci(n,a);o.imgElement.setAttribute("src",i.toURL(c))}})},e.prototype.unmount=function(){this.isMounted=!1},e}();let Me=class{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}},_g=class extends Error{constructor(t="Unsupported"){super(t)}};function Oi(e){return new _g(e)}function xg(){return this._qualifierModel||{error:Oi(`unsupported qualifier ${this.constructor.name}`)}}let $g=class{constructor(){this._qualifierModel={}}toJson(){return xg.apply(this)}},Z=class extends $g{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Me?this.qualifierValue=r:(this.qualifierValue=new Me,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}},Dt=class extends Z{constructor(t,r){let n;r?n=new Me([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}};function Sg(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Eg(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:Oi(`unsupported action ${this.constructor.name}`)}}let Tg=class{constructor(){this._actionModel={}}toJson(){return Eg.apply(this)}},qt=class extends Tg{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),Sg(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new Dt(n)):this.qualifiers.set(r,new Z(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new Dt(t)):t instanceof Dt&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}};class Ri extends qt{constructor(t){super(),this.regionType=t,this._actionModel.regionType=t}}class io extends Ri{constructor(){super("custom")}x(t){return this._actionModel.x=t,this.addQualifier(new Z("x",t)),this}y(t){return this._actionModel.y=t,this.addQualifier(new Z("y",t)),this}width(t){return this._actionModel.width=t,this.addQualifier(new Z("w",t)),this}height(t){return this._actionModel.height=t,this.addQualifier(new Z("h",t)),this}static fromJson(t){const r=new io;return t.width&&r.width(t.width),t.height&&r.height(t.height),t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function Ag(){return new io}function gc(){return new Ri("faces")}function Cg(){return new Ri("ocr_text")}class kg extends qt{constructor(t){super(),this._actionModel={},this._strength=t,this._actionModel.actionType="blur",this._actionModel.strength=t}region(t){return this._region=t,this._actionModel.region=t.toJson(),this}strength(t){return this._strength=t,this._actionModel.strength=t,this}prepareQualifiers(){const t=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new Z("e",`blur_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new Z("e",`blur_region${t}`)),this.addQualifier(new Z("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new Z("e",`blur_faces${t}`))):this.addQualifier(new Z("e",`blur${t}`))}static fromJson(t){const{strength:r,region:n}=t,o=new this(r);return r&&o.strength(r),n&&n.regionType==="faces"&&o.region(gc()),n&&n.regionType==="ocr_text"&&o.region(Cg()),n&&n.regionType==="custom"&&o.region(io.fromJson(n)),o}}function _r(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const mc={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},Og={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},yc={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},vc={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Rg={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},bc={444:"CHROMA_444",420:"CHROMA_420"},jg={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},Pg=_r(bc);_r(jg);const Ig=_r(mc),Mg=_r(Og),wc=_r(yc);_r(vc);_r(Rg);class _c extends qt{constructor(t,r){super(),this._actionModel={},this._actionModel.actionType=wc[t]||t;const n=this.createEffectQualifier(t,r);this.addQualifier(n)}createEffectQualifier(t,r){let n;return r?n=new Me([t,`${r}`]).setDelimiter(":"):n=new Me(t),new Z("e",n)}static fromJson(t){const{actionType:r,level:n,strength:o}=t,i=yc[r]||r;return new this(i,n||o)}}class Lg extends _c{constructor(t,r){super(t,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=t,this._actionModel.actionType=wc[t]||t,r&&this.setLevel(r)}setLevel(t){this._actionModel[this.LEVEL_NAME]=t;const r=this.createEffectQualifier(this.effectType,t);return this.addQualifier(r),this}}function ao(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class Dg extends qt{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(t){return this._actionModel.numOfColors=t,this._numOfColors=t,this}detailsLevel(t){return this._actionModel.detailLevel=t,this._detailsLevel=t,this}despeckleLevel(t){return this._actionModel.despeckleLevel=t,this._despeckleLevel=t,this}cornersLevel(t){return this._actionModel.cornersLevel=t,this._cornersLevel=t,this}paths(t){return this._actionModel.paths=t,this._paths=t,this}prepareQualifiers(){let t="vectorize";this._numOfColors&&(t+=`:${new Me(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(t+=`:${new Me(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(t+=`:${new Me(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(t+=`:${new Me(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(t+=`:${new Me(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new Z("e",t))}static fromJson(t){const{actionType:r,paths:n,cornersLevel:o,despeckleLevel:i,detailLevel:a,numOfColors:c}=t,u=new this;return n&&u.paths(n),o&&u.cornersLevel(o),i&&u.despeckleLevel(i),a&&u.detailsLevel(a),c&&u.numOfColors(c),u}}class Ng extends Lg{level(t){return this._actionModel.level=t,this.setLevel(t)}}class Fg extends qt{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new Z("e",new Me("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new Z("e",new Me(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(t){return this._actionModel.type="stripes",this._actionModel.stripesStrength=t,this.addQualifier(new Z("e",new Me(["assist_colorblind",t]).setDelimiter(":")))}static fromJson(t){const{actionType:r,type:n,stripesStrength:o}=t,i=new this;return n==="xray"&&i.xray(),n==="stripes"&&o&&i.stripesStrength(o),i}}class Vg extends Ng{color(t){return this._actionModel.color=t,this.addQualifier(new Z("co",new Me(ao(t))))}static fromJson(t){const{actionType:r,level:n,color:o}=t,i=new this(r,n);return o&&i.color(o),i}}class zg extends qt{constructor(t){super(),this._actionModel={},this._squareSize=t,this._actionModel.actionType="pixelate",this._actionModel.squareSize=t}region(t){return this._region=t,this._actionModel.region={regionType:this._region.regionType},this}squareSize(t){return this._squareSize=t,this._actionModel.squareSize=t,this}prepareQualifiers(){const t=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new Z("e",`pixelate_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new Z("e",`pixelate_region${t}`)),this.addQualifier(new Z("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new Z("e",`pixelate_faces${t}`))):this.addQualifier(new Z("e",`pixelate${t}`))}static fromJson(t){const{region:r,squareSize:n}=t,o=new this(n);return n&&o.squareSize(n),r&&r.regionType==="faces"&&o.region(gc()),r&&r.regionType==="custom"&&o.region(Ag()),o}}function Bg(e){return new kg(e)}function Wg(){return new _c("grayscale")}function Qa(e){return new Vg("colorize",e)}function Ug(){return new Dg}function qg(){return new Fg}function Gg(e){return new zg(e)}let Hg=class extends qt{constructor(t){super(),this._actionModel={},this.addQualifier(new Z("b",new Me(ao(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}},Ja=class{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:Oi(`unsupported action ${this.constructor.name}`)}}};function Yg(e){const t=e;return"error"in t&&!!t.error}function Qg(){return new Dt("ignore_aspect_ratio")}function Jg(){return new Dt("lossy")}function Kg(){return new Dt("preserve_transparency")}function Xg(e){return new Dt("progressive",e)}function Zg(){return new Dt("region_relative")}function em(){return new Dt("relative")}let ji=class extends Me{constructor(t){super(t),this.val=t}getValue(){return this.val}},xc=class extends qt{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof ji?o=r.getValue():o=r,this._actionModel.actionType=Mg[t],this._actionModel[n]=o,this.addQualifier(new Z(t,r))}},tm=class extends Dt{constructor(t){super("progressive",t)}},li=class extends xc{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(Jg()),this}progressive(t){return t instanceof tm?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(Xg(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(Kg()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;let a;return r?a=new this("f",r):a=new this("f"),o&&(o.mode?a.progressive(o.mode):a.progressive()),n&&a.lossy(),i&&a.preserveTransparency(),a}},so=class $c{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new Ja(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof $c?this.actions=this.actions.concat(t.actions):this.actions.push(new Ja(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new li("q",t)),this}format(t){return this.addAction(new li("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new Hg(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new qt;let n=t;return typeof t=="string"&&(n=new Dt(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(Yg(n))return n;t.push(n)}return{actions:t}}};function Ka(e){const t=e.toString();return t.match(/[A-Z]/gi)||t.length>1&&t[0]==="0"?t:!isNaN(parseFloat(t))&&t.indexOf(":")===-1&&t.indexOf(".")===-1?`${t}.0`:t}class rm extends Me{}class nm extends qt{constructor(t,r,n){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=Ig[t]||t,this.addQualifier(new Z("c",t)),r&&this.width(r),n&&this.height(n)}height(t){return this._actionModel.dimensions.height=t,this.addQualifier(new Z("h",t))}width(t){return this._actionModel.dimensions.width=t,this.addQualifier(new Z("w",t))}aspectRatio(t){if(t instanceof rm)return this._actionModel.dimensions.aspectRatio=`${t}`,this.addQualifier(new Z("ar",t));if(typeof t=="number"||typeof t=="string")return this._actionModel.dimensions.aspectRatio=Ka(t),this.addQualifier(new Z("ar",Ka(t)));if(t instanceof Dt)return this._actionModel.dimensions.aspectRatio=`${t.qualifierValue}`,this.addFlag(t)}relative(){return this._actionModel.relative=!0,this.addFlag(em())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(Zg())}static fromJson(t){const{actionType:r,dimensions:n,relative:o,regionRelative:i}=t,{aspectRatio:a,width:c,height:u}=n,f=mc[r]||r,h=new this(f,c,u);return a&&h.aspectRatio(a==="ignore_aspect_ratio"?Qg():a),o&&h.relative(),i&&h.regionRelative(),h}}class Pi extends Z{constructor(t){super("g",new Me(t))}}class Sc extends Pi{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}class Ec extends Pi{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}class Tc extends Pi{constructor(t){super(t)}}function om(e){return new Tc(e)}function Ac(...e){const t=[...e];return new Ec(t)}function Cc(){return new Sc}class co extends Me{constructor(t){super(),this.name=t}toString(){return this.name}}function im(){return new co("ocr_text")}function am(e){return e&&`${e}`.split(":")[0]==="auto"}function sm(e){const t=Ii(e);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(t)}function Ii(e){return`${e}`.replace("g_","")}function cm(e){return{compass:Ii(e),gravityType:"direction"}}function lm(e){return Ii(e)==="ocr_text"}function um(){return{gravityType:"ocr"}}function dm(e){return`${e.qualifierValue}`.split(":")[0]==="auto"}function fm(e){const r=e.toString().split("_"),n={object:r[0]};return r.length>1&&(r[1]==="avoid"?n.avoid=!0:n.weight=+r[1]),n}function kc(e){let t;const r=e==="auto"?new Sc:e;return`${e}`.startsWith("auto:")?t=`${e}`.split(":").filter(o=>o!=="auto"):t=r.qualifierValue.values.filter(o=>o!=="auto"),{gravityType:"auto",autoFocus:t.map(fm)}}function pm(e){const t=`${e}`.split(":").includes("auto"),r=e.qualifierValue.values,o={gravityType:"object",focusOnObjects:(t?r.slice(0,r.length-1):r).map(i=>`${i}`)};if(t){const i=r[r.length-1].values.slice(1),a=Cc().autoFocus(...i);o.fallbackGravity=kc(a)}return o}function hm(e){const r=e.split(":").map(n=>new co(n));return new Ec(r)}function gm(e){return sm(e)?cm(e):lm(e)?um():am(e)||dm(e)?kc(e):pm(typeof e=="string"?hm(e):e)}class Mi extends Me{constructor(t,r){super(),this._weight=r,this.focusOn=t,this.shouldAvoid=!1}static focusOn(t,r){return new Mi(t,r)}shouldAddWeight(){return typeof this._weight=="number"||typeof this._weight=="string"||this.shouldAvoid}getName(){return this.focusOn.name}getWeight(){return this.shouldAvoid?"avoid":this._weight}toString(){return this.shouldAddWeight()?`${this.getName()}_${this.getWeight()}`:`${this.getName()}`}weight(t){return this._weight=t,this}avoid(){return this.shouldAvoid=!0,this}}class Oc extends Me{constructor(t){super(),this.val=t}toString(){return this.val}}function mm(e){return e.gravityType==="direction"}function ym(e){return e.gravityType==="ocr"}function vm(e){return e.gravityType==="auto"}function bm(e){const{object:t,weight:r,avoid:n}=e,o=new Mi(new co(t));return(r||r===0)&&o.weight(r),n&&o.avoid(),o}function Rc(e){const r=(e.autoFocus||[]).map(bm);return Cc().autoFocus(...r)}function wm(e){const t=(e.focusOnObjects||[]).map(n=>new co(n)),r=Ac(...t);if(e.fallbackGravity){const n=Rc(e.fallbackGravity);r.fallbackGravity(n)}return r}function _m(e){return mm(e)?new Tc(new Oc(e.compass)):ym(e)?Ac(im()):vm(e)?Rc(e):wm(e)}class Li extends nm{gravity(t){this._actionModel.gravity=gm(t);const r=typeof t=="string"?new Z("g",t):t;return this.addQualifier(r)}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.gravity&&r.gravity(_m(t.gravity)),r}}class pn extends Z{constructor(t){super("b"),t&&this.addValue(t)}}const jc=100,xm=0;class $m extends pn{intensity(t){return this.intensityLevel=t,this}brightness(t){return this.brightnessLevel=t,this}toString(){const t=this.intensityLevel!==void 0?`:${this.intensityLevel}`:"",r=this.brightnessLevel!==void 0?this.intensityLevel!==void 0?`:${this.brightnessLevel}`:`:${jc}:${this.brightnessLevel}`:"";return`b_blurred${t}${r}`}}var Pc=$m;class Di extends pn{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...t){return this._palette=t.map(r=>ao(r)),this}}class Ic extends Di{toString(){return`
|
|
467
540
|
b_auto:border
|
|
468
541
|
${this._contrast?"_contrast":""}
|
|
469
542
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
470
|
-
`.replace(/\s+/g,"")}}class
|
|
543
|
+
`.replace(/\s+/g,"")}}class Mc extends Di{gradientColors(t){return this._gradientColors=t,this}gradientDirection(t){return this._gradientDirection=t,this}}class Lc extends Mc{toString(){return`
|
|
471
544
|
b_auto:border_gradient
|
|
472
545
|
${this._contrast?"_contrast":""}
|
|
473
546
|
${this._gradientColors?`:${this._gradientColors}`:""}
|
|
474
547
|
${this._gradientDirection?`:${this._gradientDirection}`:""}
|
|
475
548
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
476
|
-
`.replace(/\s+/g,"")}}class
|
|
549
|
+
`.replace(/\s+/g,"")}}class Dc extends Mc{toString(){return`
|
|
477
550
|
b_auto:predominant_gradient
|
|
478
551
|
${this._contrast?"_contrast":""}
|
|
479
552
|
${this._gradientColors?`:${this._gradientColors}`:""}
|
|
480
553
|
${this._gradientDirection?`:${this._gradientDirection}`:""}
|
|
481
554
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
482
|
-
`.replace(/\s+/g,"")}}class
|
|
555
|
+
`.replace(/\s+/g,"")}}class Nc extends Di{toString(){return`
|
|
483
556
|
b_auto:predominant
|
|
484
557
|
${this._contrast?"_contrast":""}
|
|
485
558
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
486
|
-
`.replace(/\s+/g,"")}}class Mc extends pn{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(t){return this._prompt=t,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return`b_gen_fill${this._prompt?`:prompt_${this._prompt}`:""}`}}function Lc(e){return`${e}`.replace("b_","")}function vy(){return{backgroundType:"auto"}}function by(e){const{intensityLevel:t,brightnessLevel:r}=e,n={backgroundType:"blurred"};return(t||t===0)&&(n.intensity=t),(r||r===0)&&(n.brightness=r),n}function Di(e){const t=e._contrast,r=e._palette,n={backgroundType:""};return t&&(n.contrast=!0),r&&(n.palette=r),n}function wy(e){return Object.assign(Object.assign({},Di(e)),{backgroundType:"border"})}function Dc(e){const t=e._gradientColors,r=`${e._gradientDirection}`,n=Di(e);return t&&(n.gradientColors=t),r&&(n.gradientDirection=r),n}function _y(e){return Object.assign(Object.assign({},Dc(e)),{backgroundType:"borderGradient"})}function xy(e){return{backgroundType:"color",color:Lc(e)}}function $y(e){return Object.assign(Object.assign({},Di(e)),{backgroundType:"predominant"})}function Sy(e){return Object.assign(Object.assign({},Dc(e)),{backgroundType:"predominantGradient"})}function Ey(e){return Object.assign({backgroundType:e.getBackgroundType()},e.getPrompt()?{prompt:e.getPrompt()}:{})}function Ty(e){return Lc(e)==="auto"?vy():e instanceof Oc?by(e):e instanceof Rc?wy(e):e instanceof jc?_y(e):e instanceof Ic?$y(e):e instanceof Pc?Sy(e):e instanceof Mc?Ey(e):xy(e)}function Ay(){return new ki("svg")}function Ni(){return new ki("auto")}function Nc(){return new Rc}function Fc(){return new pn("auto")}function Vc(){return new jc}function Bc(){return new Pc}function zc(){return new Ic}function Wc(e){return new pn(so(e))}function Cy(){return new Oc}function Uc(){return new Mc}const qc={auto:Fc,border:Nc,borderGradient:Vc,predominantGradient:Bc,predominant:zc,color:Wc,blurred:Cy,generativeFill:Uc};function Oy(e){const{brightness:t,intensity:r}=e,n=qc.blurred();return n.brightness(t??yy),n.intensity(r??Cc),n}function Ks(e,t){const{gradientColors:r,gradientDirection:n,contrast:o,palette:i}=t;return o&&e.contrast(),i&&e.palette(...i),r&&e.gradientColors(+r),n&&e.gradientDirection(n),e}function Xs(e,t){const{contrast:r,palette:n}=t;return r&&e.contrast(),n&&e.palette(...n),e}function Ry(e,t){const{prompt:r}=t;return r&&e.prompt(r),e}function ky(e){const{backgroundType:t}=e;switch(t){case"auto":return Fc();case"blurred":return Oy(e);case"border":return Xs(Nc(),e);case"borderGradient":return Ks(Vc(),e);case"predominant":return Xs(zc(),e);case"predominantGradient":return Ks(Bc(),e);case"generativeFill":return Ry(Uc(),e);default:return Wc(e.color)}}class jy extends Mi{background(t){return this._actionModel.background=Ty(t),this.addQualifier(t)}offsetX(t){return this._actionModel.x=t,this.addQualifier(new Z("x",t))}offsetY(t){return this._actionModel.y=t,this.addQualifier(new Z("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.background&&r.background(ky(t.background)),t.x&&r.offsetX(t.x),t.y&&r.offsetY(t.y),t.zoom&&r.zoom(t.zoom),r}}class Py extends Mi{x(t){return this._actionModel.x=t,this.addQualifier(new Z("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new Z("y",t))}zoom(t){return this._actionModel.zoom=t,this.addQualifier(new Z("z",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),t.zoom&&r.zoom(t.zoom),r}}class Iy extends Mi{x(t){return this._actionModel.x=t,this.addQualifier(new Z("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new Z("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function My(e,t){return new Py("crop",e,t)}function Ly(e,t){return new Iy("fill",e,t)}function Dy(e,t){return new jy("pad",e,t)}class Ny extends vc{constructor(t){super("q",t.toString(),"level")}chromaSubSampling(t){this._actionModel.chromaSubSampling=gc[t];const r=new Me([this._actionModel.level,t]);return r.setDelimiter(":"),this.addQualifier(new Z("q",r))}quantization(t){this._actionModel.quantization=t;const r=new Me([this._actionModel.level,`qmax_${t}`]).setDelimiter(":");return this.addQualifier(new Z("q",r))}static fromJson(t){const{level:r,chromaSubSampling:n,quantization:o}=t,i=hc[r]||r,s=new this(i);if(n){const c=Ag[n.toUpperCase()];c&&s.chromaSubSampling(+c)}return o&&s.quantization(o),s}}function lo(e){return new ci("f",e)}function uo(e){return new Ny(e)}function Fy(){return new Tc("north_east")}Ys(70).color("black"),Ys(40).color("white"),Dg(),Fg();var Vy=new ao().effect(Ng()).delivery(uo("auto")).delivery(lo(Ay())),By=new ao().effect(Vg()).delivery(uo("auto")).delivery(lo(Ni())),zy=new ao().effect(Lg(2e3)).delivery(uo("auto")).delivery(lo(Ni())),Wy=new ao().resize(Dy("iw_div_2").aspectRatio(1).background(qc.auto())).resize(My(1,1).gravity(Xg(Fy()))).resize(Ly().height("ih").width("iw")).delivery(uo("auto")).delivery(lo(Ni())),Zs={vectorize:Vy,pixelate:By,blur:zy,"predominant-color":Wy},ea="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",ta={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},ra="?_a=",Uy=function(){function e(t,r,n,o,i,s,c){var u=this;this.mimeType="video",this.mimeSubTypes=ta,this.videoElement=t,this.originalVideo=r,this.videoOptions=c,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var d=or(r);Un(t,r,o,this.htmlPluginState).then(function(){u.htmlPluginState.pluginEventSubscription.forEach(function(h){h()}),u.setVideoAttributes(i,s),u.handleSourceToVideo(d,n)})}return e.prototype.handleSourceToVideo=function(t,r){var n=this;if(r)this.generateUserSources(t,r);else{var o=["webm","mp4","ogv"];o.forEach(function(i){n.appendSourceTag(or(t),i)})}},e.prototype.generateUserSources=function(t,r){var n=this;r.map(function(o){var i=o.type,s=o.codecs,c=o.transcode;return n.appendSourceTag(or(t).transcode(c),i,n.buildMimeType(i,s))})},e.prototype.appendSourceTag=function(t,r,n){var o,i=document.createElement("source"),s=(o=this.videoOptions)===null||o===void 0?void 0:o.useFetchFormat;s&&t.format(r);var c=t.toURL(),u=c.split(ra),d=u[1]?"".concat(ra).concat(u[1]):"",h=s?"":".".concat(r);i.src="".concat(u[0]).concat(h).concat(d),i.type=n||"video/".concat(ta[r]||r),this.videoElement.appendChild(i)},e.prototype.buildMimeType=function(t,r){var n="".concat(this.mimeType,"/").concat(this.mimeSubTypes[t]||t);return r&&(n+="; codecs="+(Array.isArray(r)?r.join(", "):r)),n},e.prototype.setVideoAttributes=function(t,r){var n;if(t===void 0&&(t={}),r==="auto"){var o=or(this.originalVideo);t.poster=o.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else r&&(t.poster=(n=r.toURL)===null||n===void 0?void 0:n.call(r));for(var i=0,s=Object.entries(t);i<s.length;i++){var c=s[i],u=c[0],d=c[1];d&&this.videoElement.setAttribute(u,u==="poster"?d:"")}},e.prototype.update=function(t,r,n,o,i){var s=this;if(t!==this.originalVideo){for(var c=this.videoElement.getElementsByTagName("SOURCE");c[0];)c[0].parentNode.removeChild(c[0]);Un(this.videoElement,t,n,this.htmlPluginState).then(function(){s.setVideoAttributes(o,i),s.handleSourceToVideo(t,r),s.videoElement.load()})}},e}(),qy=typeof nr=="object"&&nr&&nr.Object===Object&&nr,Gy=typeof self=="object"&&self&&self.Object===Object&&self;qy||Gy||Function("return this")();function Fi(){return typeof window<"u"}function Hy(e){return e instanceof HTMLImageElement}function Yy(e){var t={},r=t.rootMargin,n=r===void 0?"0px":r,o=t.threshold,i=o===void 0?.1:o;return Qy.bind(null,n,i)}function Qy(e,t,r,n,o,i){return e===void 0&&(e="0px"),t===void 0&&(t=.1),Fi()?new Promise(function(s){var c=function(){return s({lazyload:!0})},u=Ky(r,c,e,t);o.cleanupCallbacks.push(function(){u(),s("canceled")})}):!1}function Jy(){return window&&"IntersectionObserver"in window}function Ky(e,t,r,n){try{if(!Jy())return t(),function(){};var o=new IntersectionObserver(function(i){i.forEach(function(s){s.isIntersecting&&(o.unobserve(s.target),t())})},{rootMargin:r,threshold:n});return o.observe(e),function(){e&&o.observe(e)}}catch{t()}}function Xy(e){var t={},r=t.mode,n=r===void 0?"vectorize":r;return Zy.bind(null,n)}function Zy(e,t,r,n,o,i){Zs[e]||(e="vectorize");var s=Zs[e].actions,c=or(r);if(s.forEach(function(d){c.addAction(d)}),!Fi())return r.transformation=c.transformation,!0;if(Hy(t)){c.transformation.actions.forEach(function(d,h){d instanceof Ut&&d.getActionTag()==="responsive"&&delete c.transformation.actions[h]});var u=ai(o,{placeholder:!0});return t.src=c.toURL(u),t.onerror=function(){t.src=ea},new Promise(function(d){t.onload=function(){d()}}).then(function(){return new Promise(function(d){n.cleanupCallbacks.push(function(){t.src=ea,d("canceled")});var h=new Image;h.src=r.toURL(u),h.onload=function(){d({placeholder:!0})},h.onerror=function(){d({placeholder:!0})}})})}}function em(e,t,r){var n=or(t);if(e)for(var o=0;o<e.length;o++){var i=e[o](null,n);if(!i)break}return n.toURL(r?{trackedAnalytics:r}:null)}function qn(e){e.cleanupCallbacks.forEach(function(t){t()})}var li=function(e,t){return li=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},li(e,t)};function Gc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");li(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Jr=function(){return Jr=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Jr.apply(this,arguments)};function Hc(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var Kr={exports:{}},ve={};/*
|
|
559
|
+
`.replace(/\s+/g,"")}}class Fc extends pn{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(t){return this._prompt=t,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return`b_gen_fill${this._prompt?`:prompt_${this._prompt}`:""}`}}function Vc(e){return`${e}`.replace("b_","")}function Sm(){return{backgroundType:"auto"}}function Em(e){const{intensityLevel:t,brightnessLevel:r}=e,n={backgroundType:"blurred"};return(t||t===0)&&(n.intensity=t),(r||r===0)&&(n.brightness=r),n}function Ni(e){const t=e._contrast,r=e._palette,n={backgroundType:""};return t&&(n.contrast=!0),r&&(n.palette=r),n}function Tm(e){return Object.assign(Object.assign({},Ni(e)),{backgroundType:"border"})}function zc(e){const t=e._gradientColors,r=`${e._gradientDirection}`,n=Ni(e);return t&&(n.gradientColors=t),r&&(n.gradientDirection=r),n}function Am(e){return Object.assign(Object.assign({},zc(e)),{backgroundType:"borderGradient"})}function Cm(e){return{backgroundType:"color",color:Vc(e)}}function km(e){return Object.assign(Object.assign({},Ni(e)),{backgroundType:"predominant"})}function Om(e){return Object.assign(Object.assign({},zc(e)),{backgroundType:"predominantGradient"})}function Rm(e){return Object.assign({backgroundType:e.getBackgroundType()},e.getPrompt()?{prompt:e.getPrompt()}:{})}function jm(e){return Vc(e)==="auto"?Sm():e instanceof Pc?Em(e):e instanceof Ic?Tm(e):e instanceof Lc?Am(e):e instanceof Nc?km(e):e instanceof Dc?Om(e):e instanceof Fc?Rm(e):Cm(e)}function Pm(){return new ji("svg")}function Fi(){return new ji("auto")}function Bc(){return new Ic}function Wc(){return new pn("auto")}function Uc(){return new Lc}function qc(){return new Dc}function Gc(){return new Nc}function Hc(e){return new pn(ao(e))}function Im(){return new Pc}function Yc(){return new Fc}const Qc={auto:Wc,border:Bc,borderGradient:Uc,predominantGradient:qc,predominant:Gc,color:Hc,blurred:Im,generativeFill:Yc};function Mm(e){const{brightness:t,intensity:r}=e,n=Qc.blurred();return n.brightness(t??xm),n.intensity(r??jc),n}function Xa(e,t){const{gradientColors:r,gradientDirection:n,contrast:o,palette:i}=t;return o&&e.contrast(),i&&e.palette(...i),r&&e.gradientColors(+r),n&&e.gradientDirection(n),e}function Za(e,t){const{contrast:r,palette:n}=t;return r&&e.contrast(),n&&e.palette(...n),e}function Lm(e,t){const{prompt:r}=t;return r&&e.prompt(r),e}function Dm(e){const{backgroundType:t}=e;switch(t){case"auto":return Wc();case"blurred":return Mm(e);case"border":return Za(Bc(),e);case"borderGradient":return Xa(Uc(),e);case"predominant":return Za(Gc(),e);case"predominantGradient":return Xa(qc(),e);case"generativeFill":return Lm(Yc(),e);default:return Hc(e.color)}}class Nm extends Li{background(t){return this._actionModel.background=jm(t),this.addQualifier(t)}offsetX(t){return this._actionModel.x=t,this.addQualifier(new Z("x",t))}offsetY(t){return this._actionModel.y=t,this.addQualifier(new Z("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.background&&r.background(Dm(t.background)),t.x&&r.offsetX(t.x),t.y&&r.offsetY(t.y),t.zoom&&r.zoom(t.zoom),r}}class Fm extends Li{x(t){return this._actionModel.x=t,this.addQualifier(new Z("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new Z("y",t))}zoom(t){return this._actionModel.zoom=t,this.addQualifier(new Z("z",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),t.zoom&&r.zoom(t.zoom),r}}class Vm extends Li{x(t){return this._actionModel.x=t,this.addQualifier(new Z("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new Z("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function zm(e,t){return new Fm("crop",e,t)}function Bm(e,t){return new Vm("fill",e,t)}function Wm(e,t){return new Nm("pad",e,t)}class Um extends xc{constructor(t){super("q",t.toString(),"level")}chromaSubSampling(t){this._actionModel.chromaSubSampling=bc[t];const r=new Me([this._actionModel.level,t]);return r.setDelimiter(":"),this.addQualifier(new Z("q",r))}quantization(t){this._actionModel.quantization=t;const r=new Me([this._actionModel.level,`qmax_${t}`]).setDelimiter(":");return this.addQualifier(new Z("q",r))}static fromJson(t){const{level:r,chromaSubSampling:n,quantization:o}=t,i=vc[r]||r,a=new this(i);if(n){const c=Pg[n.toUpperCase()];c&&a.chromaSubSampling(+c)}return o&&a.quantization(o),a}}function lo(e){return new li("f",e)}function uo(e){return new Um(e)}function qm(){return new Oc("north_east")}Qa(70).color("black"),Qa(40).color("white"),Wg(),qg();var Gm=new so().effect(Ug()).delivery(uo("auto")).delivery(lo(Pm())),Hm=new so().effect(Gg()).delivery(uo("auto")).delivery(lo(Fi())),Ym=new so().effect(Bg(2e3)).delivery(uo("auto")).delivery(lo(Fi())),Qm=new so().resize(Wm("iw_div_2").aspectRatio(1).background(Qc.auto())).resize(zm(1,1).gravity(om(qm()))).resize(Bm().height("ih").width("iw")).delivery(uo("auto")).delivery(lo(Fi())),es={vectorize:Gm,pixelate:Hm,blur:Ym,"predominant-color":Qm},ts="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",rs={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},ns="?_a=",Jm=function(){function e(t,r,n,o,i,a,c){var u=this;this.mimeType="video",this.mimeSubTypes=rs,this.videoElement=t,this.originalVideo=r,this.videoOptions=c,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var f=or(r);Un(t,r,o,this.htmlPluginState).then(function(){u.htmlPluginState.pluginEventSubscription.forEach(function(h){h()}),u.setVideoAttributes(i,a),u.handleSourceToVideo(f,n)})}return e.prototype.handleSourceToVideo=function(t,r){var n=this;if(r)this.generateUserSources(t,r);else{var o=["webm","mp4","ogv"];o.forEach(function(i){n.appendSourceTag(or(t),i)})}},e.prototype.generateUserSources=function(t,r){var n=this;r.map(function(o){var i=o.type,a=o.codecs,c=o.transcode;return n.appendSourceTag(or(t).transcode(c),i,n.buildMimeType(i,a))})},e.prototype.appendSourceTag=function(t,r,n){var o,i=document.createElement("source"),a=(o=this.videoOptions)===null||o===void 0?void 0:o.useFetchFormat;a&&t.format(r);var c=t.toURL(),u=c.split(ns),f=u[1]?"".concat(ns).concat(u[1]):"",h=a?"":".".concat(r);i.src="".concat(u[0]).concat(h).concat(f),i.type=n||"video/".concat(rs[r]||r),this.videoElement.appendChild(i)},e.prototype.buildMimeType=function(t,r){var n="".concat(this.mimeType,"/").concat(this.mimeSubTypes[t]||t);return r&&(n+="; codecs="+(Array.isArray(r)?r.join(", "):r)),n},e.prototype.setVideoAttributes=function(t,r){var n;if(t===void 0&&(t={}),r==="auto"){var o=or(this.originalVideo);t.poster=o.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else r&&(t.poster=(n=r.toURL)===null||n===void 0?void 0:n.call(r));for(var i=0,a=Object.entries(t);i<a.length;i++){var c=a[i],u=c[0],f=c[1];f&&this.videoElement.setAttribute(u,u==="poster"?f:"")}},e.prototype.update=function(t,r,n,o,i){var a=this;if(t!==this.originalVideo){for(var c=this.videoElement.getElementsByTagName("SOURCE");c[0];)c[0].parentNode.removeChild(c[0]);Un(this.videoElement,t,n,this.htmlPluginState).then(function(){a.setVideoAttributes(o,i),a.handleSourceToVideo(t,r),a.videoElement.load()})}},e}(),Km=typeof nr=="object"&&nr&&nr.Object===Object&&nr,Xm=typeof self=="object"&&self&&self.Object===Object&&self;Km||Xm||Function("return this")();function Vi(){return typeof window<"u"}function Zm(e){return e instanceof HTMLImageElement}function ey(e){var t={},r=t.rootMargin,n=r===void 0?"0px":r,o=t.threshold,i=o===void 0?.1:o;return ty.bind(null,n,i)}function ty(e,t,r,n,o,i){return e===void 0&&(e="0px"),t===void 0&&(t=.1),Vi()?new Promise(function(a){var c=function(){return a({lazyload:!0})},u=ny(r,c,e,t);o.cleanupCallbacks.push(function(){u(),a("canceled")})}):!1}function ry(){return window&&"IntersectionObserver"in window}function ny(e,t,r,n){try{if(!ry())return t(),function(){};var o=new IntersectionObserver(function(i){i.forEach(function(a){a.isIntersecting&&(o.unobserve(a.target),t())})},{rootMargin:r,threshold:n});return o.observe(e),function(){e&&o.observe(e)}}catch{t()}}function Jc(e){var t={},r=t.mode,n=r===void 0?"vectorize":r;return oy.bind(null,n)}function oy(e,t,r,n,o,i){es[e]||(e="vectorize");var a=es[e].actions,c=or(r);if(a.forEach(function(f){c.addAction(f)}),!Vi())return r.transformation=c.transformation,!0;if(Zm(t)){c.transformation.actions.forEach(function(f,h){f instanceof qt&&f.getActionTag()==="responsive"&&delete c.transformation.actions[h]});var u=ci(o,{placeholder:!0});return t.src=c.toURL(u),t.onerror=function(){t.src=ts},new Promise(function(f){t.onload=function(){f()}}).then(function(){return new Promise(function(f){n.cleanupCallbacks.push(function(){t.src=ts,f("canceled")});var h=new Image;h.src=r.toURL(u),h.onload=function(){f({placeholder:!0})},h.onerror=function(){f({placeholder:!0})}})})}}function iy(e,t,r){var n=or(t);if(e)for(var o=0;o<e.length;o++){var i=e[o](null,n);if(!i)break}return n.toURL(r?{trackedAnalytics:r}:null)}function qn(e){e.cleanupCallbacks.forEach(function(t){t()})}var ui=function(e,t){return ui=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])},ui(e,t)};function Kc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ui(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Jr=function(){return Jr=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Jr.apply(this,arguments)};function Xc(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var Kr={exports:{}},ve={};/*
|
|
487
560
|
object-assign
|
|
488
561
|
(c) Sindre Sorhus
|
|
489
562
|
@license MIT
|
|
490
|
-
*/var
|
|
563
|
+
*/var os=Object.getOwnPropertySymbols,ay=Object.prototype.hasOwnProperty,sy=Object.prototype.propertyIsEnumerable;function cy(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function ly(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(n.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var Zc=ly()?Object.assign:function(e,t){for(var r,n=cy(e),o,i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var a in r)ay.call(r,a)&&(n[a]=r[a]);if(os){o=os(r);for(var c=0;c<o.length;c++)sy.call(r,o[c])&&(n[o[c]]=r[o[c]])}}return n};/** @license React v16.14.0
|
|
491
564
|
* react.production.min.js
|
|
492
565
|
*
|
|
493
566
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
494
567
|
*
|
|
495
568
|
* This source code is licensed under the MIT license found in the
|
|
496
569
|
* LICENSE file in the root directory of this source tree.
|
|
497
|
-
*/var
|
|
570
|
+
*/var zi=Zc,Gt=typeof Symbol=="function"&&Symbol.for,hn=Gt?Symbol.for("react.element"):60103,uy=Gt?Symbol.for("react.portal"):60106,dy=Gt?Symbol.for("react.fragment"):60107,fy=Gt?Symbol.for("react.strict_mode"):60108,py=Gt?Symbol.for("react.profiler"):60114,hy=Gt?Symbol.for("react.provider"):60109,gy=Gt?Symbol.for("react.context"):60110,my=Gt?Symbol.for("react.forward_ref"):60112,yy=Gt?Symbol.for("react.suspense"):60113,vy=Gt?Symbol.for("react.memo"):60115,by=Gt?Symbol.for("react.lazy"):60116,is=typeof Symbol=="function"&&Symbol.iterator;function gn(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var el={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},tl={};function Fr(e,t,r){this.props=e,this.context=t,this.refs=tl,this.updater=r||el}Fr.prototype.isReactComponent={};Fr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(gn(85));this.updater.enqueueSetState(this,e,t,"setState")};Fr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function rl(){}rl.prototype=Fr.prototype;function Bi(e,t,r){this.props=e,this.context=t,this.refs=tl,this.updater=r||el}var Wi=Bi.prototype=new rl;Wi.constructor=Bi;zi(Wi,Fr.prototype);Wi.isPureReactComponent=!0;var Ui={current:null},nl=Object.prototype.hasOwnProperty,ol={key:!0,ref:!0,__self:!0,__source:!0};function il(e,t,r){var n,o={},i=null,a=null;if(t!=null)for(n in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)nl.call(t,n)&&!ol.hasOwnProperty(n)&&(o[n]=t[n]);var c=arguments.length-2;if(c===1)o.children=r;else if(1<c){for(var u=Array(c),f=0;f<c;f++)u[f]=arguments[f+2];o.children=u}if(e&&e.defaultProps)for(n in c=e.defaultProps,c)o[n]===void 0&&(o[n]=c[n]);return{$$typeof:hn,type:e,key:i,ref:a,props:o,_owner:Ui.current}}function wy(e,t){return{$$typeof:hn,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function qi(e){return typeof e=="object"&&e!==null&&e.$$typeof===hn}function _y(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(r){return t[r]})}var al=/\/+/g,Gn=[];function sl(e,t,r,n){if(Gn.length){var o=Gn.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function cl(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>Gn.length&&Gn.push(e)}function di(e,t,r,n){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case hn:case uy:i=!0}}if(i)return r(n,e,t===""?"."+Lo(e,0):t),1;if(i=0,t=t===""?".":t+":",Array.isArray(e))for(var a=0;a<e.length;a++){o=e[a];var c=t+Lo(o,a);i+=di(o,c,r,n)}else if(e===null||typeof e!="object"?c=null:(c=is&&e[is]||e["@@iterator"],c=typeof c=="function"?c:null),typeof c=="function")for(e=c.call(e),a=0;!(o=e.next()).done;)o=o.value,c=t+Lo(o,a++),i+=di(o,c,r,n);else if(o==="object")throw r=""+e,Error(gn(31,r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r,""));return i}function fi(e,t,r){return e==null?0:di(e,"",t,r)}function Lo(e,t){return typeof e=="object"&&e!==null&&e.key!=null?_y(e.key):t.toString(36)}function xy(e,t){e.func.call(e.context,t,e.count++)}function $y(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?pi(e,n,r,function(i){return i}):e!=null&&(qi(e)&&(e=wy(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(al,"$&/")+"/")+r)),n.push(e))}function pi(e,t,r,n,o){var i="";r!=null&&(i=(""+r).replace(al,"$&/")+"/"),t=sl(t,i,n,o),fi(e,$y,t),cl(t)}var ll={current:null};function tr(){var e=ll.current;if(e===null)throw Error(gn(321));return e}var Sy={ReactCurrentDispatcher:ll,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:Ui,IsSomeRendererActing:{current:!1},assign:zi};ve.Children={map:function(e,t,r){if(e==null)return e;var n=[];return pi(e,n,null,t,r),n},forEach:function(e,t,r){if(e==null)return e;t=sl(null,null,t,r),fi(e,xy,t),cl(t)},count:function(e){return fi(e,function(){return null},null)},toArray:function(e){var t=[];return pi(e,t,null,function(r){return r}),t},only:function(e){if(!qi(e))throw Error(gn(143));return e}};ve.Component=Fr;ve.Fragment=dy;ve.Profiler=py;ve.PureComponent=Bi;ve.StrictMode=fy;ve.Suspense=yy;ve.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Sy;ve.cloneElement=function(e,t,r){if(e==null)throw Error(gn(267,e));var n=zi({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=Ui.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)nl.call(t,u)&&!ol.hasOwnProperty(u)&&(n[u]=t[u]===void 0&&c!==void 0?c[u]:t[u])}var u=arguments.length-2;if(u===1)n.children=r;else if(1<u){c=Array(u);for(var f=0;f<u;f++)c[f]=arguments[f+2];n.children=c}return{$$typeof:hn,type:e.type,key:o,ref:i,props:n,_owner:a}};ve.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:gy,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:hy,_context:e},e.Consumer=e};ve.createElement=il;ve.createFactory=function(e){var t=il.bind(null,e);return t.type=e,t};ve.createRef=function(){return{current:null}};ve.forwardRef=function(e){return{$$typeof:my,render:e}};ve.isValidElement=qi;ve.lazy=function(e){return{$$typeof:by,_ctor:e,_status:-1,_result:null}};ve.memo=function(e,t){return{$$typeof:vy,type:e,compare:t===void 0?null:t}};ve.useCallback=function(e,t){return tr().useCallback(e,t)};ve.useContext=function(e,t){return tr().useContext(e,t)};ve.useDebugValue=function(){};ve.useEffect=function(e,t){return tr().useEffect(e,t)};ve.useImperativeHandle=function(e,t,r){return tr().useImperativeHandle(e,t,r)};ve.useLayoutEffect=function(e,t){return tr().useLayoutEffect(e,t)};ve.useMemo=function(e,t){return tr().useMemo(e,t)};ve.useReducer=function(e,t,r){return tr().useReducer(e,t,r)};ve.useRef=function(e){return tr().useRef(e)};ve.useState=function(e){return tr().useState(e)};ve.version="16.14.0";var ye={},Ey="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Ty=Ey,Ay=Function.call.bind(Object.prototype.hasOwnProperty),hi=function(){};if(process.env.NODE_ENV!=="production"){var Cy=Ty,gi={},ky=Ay;hi=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function ul(e,t,r,n,o){if(process.env.NODE_ENV!=="production"){for(var i in e)if(ky(e,i)){var a;try{if(typeof e[i]!="function"){var c=Error((n||"React class")+": "+r+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}a=e[i](t,i,n,r,null,Cy)}catch(f){a=f}if(a&&!(a instanceof Error)&&hi((n||"React class")+": type specification of "+r+" `"+i+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in gi)){gi[a.message]=!0;var u=o?o():"";hi("Failed "+r+" type: "+a.message+(u??""))}}}}ul.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(gi={})};var Oy=ul;/** @license React v16.14.0
|
|
498
571
|
* react.development.js
|
|
499
572
|
*
|
|
500
573
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
501
574
|
*
|
|
502
575
|
* This source code is licensed under the MIT license found in the
|
|
503
576
|
* LICENSE file in the root directory of this source tree.
|
|
504
|
-
*/process.env.NODE_ENV!=="production"&&function(){var e=
|
|
505
|
-
in `+(
|
|
506
|
-
in`)===0;if(!$){var I=le.ReactDebugCurrentFrame,oe=I.getStackAddendum();oe!==""&&(p+="%s",m=m.concat([oe]))}var U=m.map(function(Be){return""+Be});U.unshift("Warning: "+p),Function.prototype.apply.call(console[a],console,U);try{var Y=0,Ve="Warning: "+p.replace(/%s/g,function(){return m[Y++]});throw new Error(Ve)}catch{}}}var tt={};function qe(a,p){{var m=a.constructor,$=m&&(m.displayName||m.name)||"ReactClass",I=$+"."+p;if(tt[I])return;H("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",p,$),tt[I]=!0}}var Ge={isMounted:function(a){return!1},enqueueForceUpdate:function(a,p,m){qe(a,"forceUpdate")},enqueueReplaceState:function(a,p,m,$){qe(a,"replaceState")},enqueueSetState:function(a,p,m,$){qe(a,"setState")}},fe={};Object.freeze(fe);function xe(a,p,m){this.props=a,this.context=p,this.refs=fe,this.updater=m||Ge}xe.prototype.isReactComponent={},xe.prototype.setState=function(a,p){if(!(typeof a=="object"||typeof a=="function"||a==null))throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,p,"setState")},xe.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};{var Te={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},ze=function(a,p){Object.defineProperty(xe.prototype,a,{get:function(){ye("%s(...) is deprecated in plain JavaScript React classes. %s",p[0],p[1])}})};for(var Pe in Te)Te.hasOwnProperty(Pe)&&ze(Pe,Te[Pe])}function ft(){}ft.prototype=xe.prototype;function kt(a,p,m){this.props=a,this.context=p,this.refs=fe,this.updater=m||Ge}var Ae=kt.prototype=new ft;Ae.constructor=kt,e(Ae,xe.prototype),Ae.isPureReactComponent=!0;function dt(){var a={current:null};return Object.seal(a),a}var Je=Object.prototype.hasOwnProperty,pt={key:!0,ref:!0,__self:!0,__source:!0},de,ht,gt;gt={};function yt(a){if(Je.call(a,"ref")){var p=Object.getOwnPropertyDescriptor(a,"ref").get;if(p&&p.isReactWarning)return!1}return a.ref!==void 0}function Ct(a){if(Je.call(a,"key")){var p=Object.getOwnPropertyDescriptor(a,"key").get;if(p&&p.isReactWarning)return!1}return a.key!==void 0}function rt(a,p){var m=function(){de||(de=!0,H("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",p))};m.isReactWarning=!0,Object.defineProperty(a,"key",{get:m,configurable:!0})}function at(a,p){var m=function(){ht||(ht=!0,H("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",p))};m.isReactWarning=!0,Object.defineProperty(a,"ref",{get:m,configurable:!0})}function mt(a){if(typeof a.ref=="string"&&he.current&&a.__self&&he.current.stateNode!==a.__self){var p=se(he.current.type);gt[p]||(H('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref',se(he.current.type),a.ref),gt[p]=!0)}}var Ke=function(a,p,m,$,I,oe,U){var Y={$$typeof:o,type:a,key:p,ref:m,props:U,_owner:oe};return Y._store={},Object.defineProperty(Y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:$}),Object.defineProperty(Y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:I}),Object.freeze&&(Object.freeze(Y.props),Object.freeze(Y)),Y};function xt(a,p,m){var $,I={},oe=null,U=null,Y=null,Ve=null;if(p!=null){yt(p)&&(U=p.ref,mt(p)),Ct(p)&&(oe=""+p.key),Y=p.__self===void 0?null:p.__self,Ve=p.__source===void 0?null:p.__source;for($ in p)Je.call(p,$)&&!pt.hasOwnProperty($)&&(I[$]=p[$])}var Be=arguments.length-2;if(Be===1)I.children=m;else if(Be>1){for(var Et=Array(Be),_t=0;_t<Be;_t++)Et[_t]=arguments[_t+2];Object.freeze&&Object.freeze(Et),I.children=Et}if(a&&a.defaultProps){var Jt=a.defaultProps;for($ in Jt)I[$]===void 0&&(I[$]=Jt[$])}if(oe||U){var It=typeof a=="function"?a.displayName||a.name||"Unknown":a;oe&&rt(I,It),U&&at(I,It)}return Ke(a,oe,U,Y,Ve,he.current,I)}function $t(a,p){var m=Ke(a.type,p,a.ref,a._self,a._source,a._owner,a.props);return m}function jt(a,p,m){if(a==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var $,I=e({},a.props),oe=a.key,U=a.ref,Y=a._self,Ve=a._source,Be=a._owner;if(p!=null){yt(p)&&(U=p.ref,Be=he.current),Ct(p)&&(oe=""+p.key);var Et;a.type&&a.type.defaultProps&&(Et=a.type.defaultProps);for($ in p)Je.call(p,$)&&!pt.hasOwnProperty($)&&(p[$]===void 0&&Et!==void 0?I[$]=Et[$]:I[$]=p[$])}var _t=arguments.length-2;if(_t===1)I.children=m;else if(_t>1){for(var Jt=Array(_t),It=0;It<_t;It++)Jt[It]=arguments[It+2];I.children=Jt}return Ke(a.type,oe,U,Y,Ve,Be,I)}function He(a){return typeof a=="object"&&a!==null&&a.$$typeof===o}var Pt=".",nt=":";function $e(a){var p=/[=:]/g,m={"=":"=0",":":"=2"},$=(""+a).replace(p,function(I){return m[I]});return"$"+$}var Nt=!1,Ft=/\/+/g;function vt(a){return(""+a).replace(Ft,"$&/")}var bt=10,Ye=[];function ct(a,p,m,$){if(Ye.length){var I=Ye.pop();return I.result=a,I.keyPrefix=p,I.func=m,I.context=$,I.count=0,I}else return{result:a,keyPrefix:p,func:m,context:$,count:0}}function We(a){a.result=null,a.keyPrefix=null,a.func=null,a.context=null,a.count=0,Ye.length<bt&&Ye.push(a)}function Qe(a,p,m,$){var I=typeof a;(I==="undefined"||I==="boolean")&&(a=null);var oe=!1;if(a===null)oe=!0;else switch(I){case"string":case"number":oe=!0;break;case"object":switch(a.$$typeof){case o:case i:oe=!0}}if(oe)return m($,a,p===""?Pt+Se(a,0):p),1;var U,Y,Ve=0,Be=p===""?Pt:p+nt;if(Array.isArray(a))for(var Et=0;Et<a.length;Et++)U=a[Et],Y=Be+Se(U,Et),Ve+=Qe(U,Y,m,$);else{var _t=P(a);if(typeof _t=="function"){_t===a.entries&&(Nt||ye("Using Maps as children is deprecated and will be removed in a future major release. Consider converting children to an array of keyed ReactElements instead."),Nt=!0);for(var Jt=_t.call(a),It,$o=0;!(It=Jt.next()).done;)U=It.value,Y=Be+Se(U,$o++),Ve+=Qe(U,Y,m,$)}else if(I==="object"){var _n="";_n=" If you meant to render a collection of children, use an array instead."+ae.getStackAddendum();var Wr=""+a;throw Error("Objects are not valid as a React child (found: "+(Wr==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":Wr)+")."+_n)}}return Ve}function St(a,p,m){return a==null?0:Qe(a,"",p,m)}function Se(a,p){return typeof a=="object"&&a!==null&&a.key!=null?$e(a.key):p.toString(36)}function Xe(a,p,m){var $=a.func,I=a.context;$.call(I,p,a.count++)}function F(a,p,m){if(a==null)return a;var $=ct(null,null,p,m);St(a,Xe,$),We($)}function ee(a,p,m){var $=a.result,I=a.keyPrefix,oe=a.func,U=a.context,Y=oe.call(U,p,a.count++);Array.isArray(Y)?Ie(Y,$,m,function(Ve){return Ve}):Y!=null&&(He(Y)&&(Y=$t(Y,I+(Y.key&&(!p||p.key!==Y.key)?vt(Y.key)+"/":"")+m)),$.push(Y))}function Ie(a,p,m,$,I){var oe="";m!=null&&(oe=vt(m)+"/");var U=ct(p,oe,$,I);St(a,ee,U),We(U)}function wt(a,p,m){if(a==null)return a;var $=[];return Ie(a,$,null,p,m),$}function k(a){return St(a,function(){return null},null)}function B(a){var p=[];return Ie(a,p,null,function(m){return m}),p}function W(a){if(!He(a))throw Error("React.Children.only expected to receive a single React element child.");return a}function Ce(a,p){p===void 0?p=null:p!==null&&typeof p!="function"&&H("createContext: Expected the optional second argument to be a function. Instead received: %s",p);var m={$$typeof:h,_calculateChangedBits:p,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};m.Provider={$$typeof:d,_context:m};var $=!1,I=!1;{var oe={$$typeof:h,_context:m,_calculateChangedBits:m._calculateChangedBits};Object.defineProperties(oe,{Provider:{get:function(){return I||(I=!0,H("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),m.Provider},set:function(U){m.Provider=U}},_currentValue:{get:function(){return m._currentValue},set:function(U){m._currentValue=U}},_currentValue2:{get:function(){return m._currentValue2},set:function(U){m._currentValue2=U}},_threadCount:{get:function(){return m._threadCount},set:function(U){m._threadCount=U}},Consumer:{get:function(){return $||($=!0,H("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),m.Consumer}}}),m.Consumer=oe}return m._currentRenderer=null,m._currentRenderer2=null,m}function De(a){var p={$$typeof:j,_ctor:a,_status:-1,_result:null};{var m,$;Object.defineProperties(p,{defaultProps:{configurable:!0,get:function(){return m},set:function(I){H("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),m=I,Object.defineProperty(p,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return $},set:function(I){H("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),$=I,Object.defineProperty(p,"propTypes",{enumerable:!0})}}})}return p}function lt(a){return a!=null&&a.$$typeof===A?H("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof a!="function"?H("forwardRef requires a render function but was given %s.",a===null?"null":typeof a):a.length!==0&&a.length!==2&&H("forwardRef render functions accept exactly two parameters: props and ref. %s",a.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),a!=null&&(a.defaultProps!=null||a.propTypes!=null)&&H("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:_,render:a}}function Oe(a){return typeof a=="string"||typeof a=="function"||a===s||a===y||a===u||a===c||a===v||a===S||typeof a=="object"&&a!==null&&(a.$$typeof===j||a.$$typeof===A||a.$$typeof===d||a.$$typeof===h||a.$$typeof===_||a.$$typeof===C||a.$$typeof===R||a.$$typeof===M||a.$$typeof===E)}function f(a,p){return Oe(a)||H("memo: The first argument must be a component. Instead received: %s",a===null?"null":typeof a),{$$typeof:A,type:a,compare:p===void 0?null:p}}function b(){var a=be.current;if(a===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
577
|
+
*/process.env.NODE_ENV!=="production"&&function(){var e=Zc,t=Oy,r="16.14.0",n=typeof Symbol=="function"&&Symbol.for,o=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,c=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,f=n?Symbol.for("react.provider"):60109,h=n?Symbol.for("react.context"):60110,m=n?Symbol.for("react.concurrent_mode"):60111,_=n?Symbol.for("react.forward_ref"):60112,v=n?Symbol.for("react.suspense"):60113,S=n?Symbol.for("react.suspense_list"):60120,k=n?Symbol.for("react.memo"):60115,P=n?Symbol.for("react.lazy"):60116,E=n?Symbol.for("react.block"):60121,O=n?Symbol.for("react.fundamental"):60117,R=n?Symbol.for("react.responder"):60118,L=n?Symbol.for("react.scope"):60119,D=typeof Symbol=="function"&&Symbol.iterator,F="@@iterator";function I(s){if(s===null||typeof s!="object")return null;var p=D&&s[D]||s[F];return typeof p=="function"?p:null}var be={current:null},we={suspense:null},he={current:null},Fe=/^(.*)[\\\/]/;function Le(s,p,y){var $="";if(p){var M=p.fileName,ie=M.replace(Fe,"");if(/^index\./.test(ie)){var q=M.match(Fe);if(q){var Q=q[1];if(Q){var Ve=Q.replace(Fe,"");ie=Ve+"/"+ie}}}$=" (at "+ie+":"+p.lineNumber+")"}else y&&($=" (created by "+y+")");return`
|
|
578
|
+
in `+(s||"Unknown")+$}var _e=1;function K(s){return s._status===_e?s._result:null}function Ee(s,p,y){var $=p.displayName||p.name||"";return s.displayName||($!==""?y+"("+$+")":y)}function se(s){if(s==null)return null;if(typeof s.tag=="number"&&Y("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case a:return"Fragment";case i:return"Portal";case u:return"Profiler";case c:return"StrictMode";case v:return"Suspense";case S:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case h:return"Context.Consumer";case f:return"Context.Provider";case _:return Ee(s,s.render,"ForwardRef");case k:return se(s.type);case E:return se(s.render);case P:{var p=s,y=K(p);if(y)return se(y);break}}return null}var ce={},le=null;function oe(s){le=s}ce.getCurrentStack=null,ce.getStackAddendum=function(){var s="";if(le){var p=se(le.type),y=le._owner;s+=Le(p,le._source,y&&se(y.type))}var $=ce.getCurrentStack;return $&&(s+=$()||""),s};var H={current:!1},ue={ReactCurrentDispatcher:be,ReactCurrentBatchConfig:we,ReactCurrentOwner:he,IsSomeRendererActing:H,assign:e};e(ue,{ReactDebugCurrentFrame:ce,ReactComponentTreeHook:{}});function me(s){{for(var p=arguments.length,y=new Array(p>1?p-1:0),$=1;$<p;$++)y[$-1]=arguments[$];at("warn",s,y)}}function Y(s){{for(var p=arguments.length,y=new Array(p>1?p-1:0),$=1;$<p;$++)y[$-1]=arguments[$];at("error",s,y)}}function at(s,p,y){{var $=y.length>0&&typeof y[y.length-1]=="string"&&y[y.length-1].indexOf(`
|
|
579
|
+
in`)===0;if(!$){var M=ue.ReactDebugCurrentFrame,ie=M.getStackAddendum();ie!==""&&(p+="%s",y=y.concat([ie]))}var q=y.map(function(ze){return""+ze});q.unshift("Warning: "+p),Function.prototype.apply.call(console[s],console,q);try{var Q=0,Ve="Warning: "+p.replace(/%s/g,function(){return y[Q++]});throw new Error(Ve)}catch{}}}var tt={};function qe(s,p){{var y=s.constructor,$=y&&(y.displayName||y.name)||"ReactClass",M=$+"."+p;if(tt[M])return;Y("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",p,$),tt[M]=!0}}var Ge={isMounted:function(s){return!1},enqueueForceUpdate:function(s,p,y){qe(s,"forceUpdate")},enqueueReplaceState:function(s,p,y,$){qe(s,"replaceState")},enqueueSetState:function(s,p,y,$){qe(s,"setState")}},fe={};Object.freeze(fe);function xe(s,p,y){this.props=s,this.context=p,this.refs=fe,this.updater=y||Ge}xe.prototype.isReactComponent={},xe.prototype.setState=function(s,p){if(!(typeof s=="object"||typeof s=="function"||s==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,s,p,"setState")},xe.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};{var Te={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Be=function(s,p){Object.defineProperty(xe.prototype,s,{get:function(){me("%s(...) is deprecated in plain JavaScript React classes. %s",p[0],p[1])}})};for(var Pe in Te)Te.hasOwnProperty(Pe)&&Be(Pe,Te[Pe])}function dt(){}dt.prototype=xe.prototype;function jt(s,p,y){this.props=s,this.context=p,this.refs=fe,this.updater=y||Ge}var Ae=jt.prototype=new dt;Ae.constructor=jt,e(Ae,xe.prototype),Ae.isPureReactComponent=!0;function ft(){var s={current:null};return Object.seal(s),s}var Je=Object.prototype.hasOwnProperty,pt={key:!0,ref:!0,__self:!0,__source:!0},pe,ht,gt;gt={};function mt(s){if(Je.call(s,"ref")){var p=Object.getOwnPropertyDescriptor(s,"ref").get;if(p&&p.isReactWarning)return!1}return s.ref!==void 0}function Ot(s){if(Je.call(s,"key")){var p=Object.getOwnPropertyDescriptor(s,"key").get;if(p&&p.isReactWarning)return!1}return s.key!==void 0}function rt(s,p){var y=function(){pe||(pe=!0,Y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",p))};y.isReactWarning=!0,Object.defineProperty(s,"key",{get:y,configurable:!0})}function st(s,p){var y=function(){ht||(ht=!0,Y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",p))};y.isReactWarning=!0,Object.defineProperty(s,"ref",{get:y,configurable:!0})}function yt(s){if(typeof s.ref=="string"&&he.current&&s.__self&&he.current.stateNode!==s.__self){var p=se(he.current.type);gt[p]||(Y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref',se(he.current.type),s.ref),gt[p]=!0)}}var Ke=function(s,p,y,$,M,ie,q){var Q={$$typeof:o,type:s,key:p,ref:y,props:q,_owner:ie};return Q._store={},Object.defineProperty(Q._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Q,"_self",{configurable:!1,enumerable:!1,writable:!1,value:$}),Object.defineProperty(Q,"_source",{configurable:!1,enumerable:!1,writable:!1,value:M}),Object.freeze&&(Object.freeze(Q.props),Object.freeze(Q)),Q};function $t(s,p,y){var $,M={},ie=null,q=null,Q=null,Ve=null;if(p!=null){mt(p)&&(q=p.ref,yt(p)),Ot(p)&&(ie=""+p.key),Q=p.__self===void 0?null:p.__self,Ve=p.__source===void 0?null:p.__source;for($ in p)Je.call(p,$)&&!pt.hasOwnProperty($)&&(M[$]=p[$])}var ze=arguments.length-2;if(ze===1)M.children=y;else if(ze>1){for(var Tt=Array(ze),_t=0;_t<ze;_t++)Tt[_t]=arguments[_t+2];Object.freeze&&Object.freeze(Tt),M.children=Tt}if(s&&s.defaultProps){var Kt=s.defaultProps;for($ in Kt)M[$]===void 0&&(M[$]=Kt[$])}if(ie||q){var Mt=typeof s=="function"?s.displayName||s.name||"Unknown":s;ie&&rt(M,Mt),q&&st(M,Mt)}return Ke(s,ie,q,Q,Ve,he.current,M)}function St(s,p){var y=Ke(s.type,p,s.ref,s._self,s._source,s._owner,s.props);return y}function Pt(s,p,y){if(s==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+s+".");var $,M=e({},s.props),ie=s.key,q=s.ref,Q=s._self,Ve=s._source,ze=s._owner;if(p!=null){mt(p)&&(q=p.ref,ze=he.current),Ot(p)&&(ie=""+p.key);var Tt;s.type&&s.type.defaultProps&&(Tt=s.type.defaultProps);for($ in p)Je.call(p,$)&&!pt.hasOwnProperty($)&&(p[$]===void 0&&Tt!==void 0?M[$]=Tt[$]:M[$]=p[$])}var _t=arguments.length-2;if(_t===1)M.children=y;else if(_t>1){for(var Kt=Array(_t),Mt=0;Mt<_t;Mt++)Kt[Mt]=arguments[Mt+2];M.children=Kt}return Ke(s.type,ie,q,Q,Ve,ze,M)}function He(s){return typeof s=="object"&&s!==null&&s.$$typeof===o}var It=".",nt=":";function $e(s){var p=/[=:]/g,y={"=":"=0",":":"=2"},$=(""+s).replace(p,function(M){return y[M]});return"$"+$}var Vt=!1,zt=/\/+/g;function vt(s){return(""+s).replace(zt,"$&/")}var bt=10,Ye=[];function ct(s,p,y,$){if(Ye.length){var M=Ye.pop();return M.result=s,M.keyPrefix=p,M.func=y,M.context=$,M.count=0,M}else return{result:s,keyPrefix:p,func:y,context:$,count:0}}function We(s){s.result=null,s.keyPrefix=null,s.func=null,s.context=null,s.count=0,Ye.length<bt&&Ye.push(s)}function Qe(s,p,y,$){var M=typeof s;(M==="undefined"||M==="boolean")&&(s=null);var ie=!1;if(s===null)ie=!0;else switch(M){case"string":case"number":ie=!0;break;case"object":switch(s.$$typeof){case o:case i:ie=!0}}if(ie)return y($,s,p===""?It+Se(s,0):p),1;var q,Q,Ve=0,ze=p===""?It:p+nt;if(Array.isArray(s))for(var Tt=0;Tt<s.length;Tt++)q=s[Tt],Q=ze+Se(q,Tt),Ve+=Qe(q,Q,y,$);else{var _t=I(s);if(typeof _t=="function"){_t===s.entries&&(Vt||me("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."),Vt=!0);for(var Kt=_t.call(s),Mt,So=0;!(Mt=Kt.next()).done;)q=Mt.value,Q=ze+Se(q,So++),Ve+=Qe(q,Q,y,$)}else if(M==="object"){var _n="";_n=" If you meant to render a collection of children, use an array instead."+ce.getStackAddendum();var Wr=""+s;throw Error("Objects are not valid as a React child (found: "+(Wr==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":Wr)+")."+_n)}}return Ve}function Et(s,p,y){return s==null?0:Qe(s,"",p,y)}function Se(s,p){return typeof s=="object"&&s!==null&&s.key!=null?$e(s.key):p.toString(36)}function Xe(s,p,y){var $=s.func,M=s.context;$.call(M,p,s.count++)}function V(s,p,y){if(s==null)return s;var $=ct(null,null,p,y);Et(s,Xe,$),We($)}function ee(s,p,y){var $=s.result,M=s.keyPrefix,ie=s.func,q=s.context,Q=ie.call(q,p,s.count++);Array.isArray(Q)?Ie(Q,$,y,function(Ve){return Ve}):Q!=null&&(He(Q)&&(Q=St(Q,M+(Q.key&&(!p||p.key!==Q.key)?vt(Q.key)+"/":"")+y)),$.push(Q))}function Ie(s,p,y,$,M){var ie="";y!=null&&(ie=vt(y)+"/");var q=ct(p,ie,$,M);Et(s,ee,q),We(q)}function wt(s,p,y){if(s==null)return s;var $=[];return Ie(s,$,null,p,y),$}function j(s){return Et(s,function(){return null},null)}function B(s){var p=[];return Ie(s,p,null,function(y){return y}),p}function U(s){if(!He(s))throw Error("React.Children.only expected to receive a single React element child.");return s}function Ce(s,p){p===void 0?p=null:p!==null&&typeof p!="function"&&Y("createContext: Expected the optional second argument to be a function. Instead received: %s",p);var y={$$typeof:h,_calculateChangedBits:p,_currentValue:s,_currentValue2:s,_threadCount:0,Provider:null,Consumer:null};y.Provider={$$typeof:f,_context:y};var $=!1,M=!1;{var ie={$$typeof:h,_context:y,_calculateChangedBits:y._calculateChangedBits};Object.defineProperties(ie,{Provider:{get:function(){return M||(M=!0,Y("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),y.Provider},set:function(q){y.Provider=q}},_currentValue:{get:function(){return y._currentValue},set:function(q){y._currentValue=q}},_currentValue2:{get:function(){return y._currentValue2},set:function(q){y._currentValue2=q}},_threadCount:{get:function(){return y._threadCount},set:function(q){y._threadCount=q}},Consumer:{get:function(){return $||($=!0,Y("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),y.Consumer}}}),y.Consumer=ie}return y._currentRenderer=null,y._currentRenderer2=null,y}function De(s){var p={$$typeof:P,_ctor:s,_status:-1,_result:null};{var y,$;Object.defineProperties(p,{defaultProps:{configurable:!0,get:function(){return y},set:function(M){Y("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),y=M,Object.defineProperty(p,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return $},set:function(M){Y("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."),$=M,Object.defineProperty(p,"propTypes",{enumerable:!0})}}})}return p}function lt(s){return s!=null&&s.$$typeof===k?Y("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof s!="function"?Y("forwardRef requires a render function but was given %s.",s===null?"null":typeof s):s.length!==0&&s.length!==2&&Y("forwardRef render functions accept exactly two parameters: props and ref. %s",s.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),s!=null&&(s.defaultProps!=null||s.propTypes!=null)&&Y("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:_,render:s}}function ke(s){return typeof s=="string"||typeof s=="function"||s===a||s===m||s===u||s===c||s===v||s===S||typeof s=="object"&&s!==null&&(s.$$typeof===P||s.$$typeof===k||s.$$typeof===f||s.$$typeof===h||s.$$typeof===_||s.$$typeof===O||s.$$typeof===R||s.$$typeof===L||s.$$typeof===E)}function d(s,p){return ke(s)||Y("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s),{$$typeof:k,type:s,compare:p===void 0?null:p}}function w(){var s=be.current;if(s===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
507
580
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
508
581
|
2. You might be breaking the Rules of Hooks
|
|
509
582
|
3. You might have more than one copy of React in the same app
|
|
510
|
-
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return
|
|
583
|
+
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return s}function A(s,p){var y=w();if(p!==void 0&&Y("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",p,typeof p=="number"&&Array.isArray(arguments[2])?`
|
|
511
584
|
|
|
512
|
-
Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://fb.me/rules-of-hooks`:""),
|
|
585
|
+
Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://fb.me/rules-of-hooks`:""),s._context!==void 0){var $=s._context;$.Consumer===s?Y("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):$.Provider===s&&Y("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return y.useContext(s,p)}function z(s){var p=w();return p.useState(s)}function ae(s,p,y){var $=w();return $.useReducer(s,p,y)}function re(s){var p=w();return p.useRef(s)}function X(s,p){var y=w();return y.useEffect(s,p)}function J(s,p){var y=w();return y.useLayoutEffect(s,p)}function Ne(s,p){var y=w();return y.useCallback(s,p)}function W(s,p){var y=w();return y.useMemo(s,p)}function de(s,p,y){var $=w();return $.useImperativeHandle(s,p,y)}function Oe(s,p){{var y=w();return y.useDebugValue(s,p)}}var Ze;Ze=!1;function Jt(){if(he.current){var s=se(he.current.type);if(s)return`
|
|
513
586
|
|
|
514
|
-
Check the render method of \``+
|
|
587
|
+
Check the render method of \``+s+"`."}return""}function ot(s){if(s!==void 0){var p=s.fileName.replace(/^.*[\\\/]/,""),y=s.lineNumber;return`
|
|
515
588
|
|
|
516
|
-
Check your code at `+p+":"+
|
|
589
|
+
Check your code at `+p+":"+y+"."}return""}function go(s){return s!=null?ot(s.__source):""}var mn={};function mo(s){var p=Jt();if(!p){var y=typeof s=="string"?s:s.displayName||s.name;y&&(p=`
|
|
517
590
|
|
|
518
|
-
Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(!a._store||a._store.validated||a.key!=null)){a._store.validated=!0;var m=go(p);if(!yn[m]){yn[m]=!0;var $="";a&&a._owner&&a._owner!==he.current&&($=" It was passed a child from "+se(a._owner.type)+"."),ne(a),H('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',m,$),ne(null)}}}function lr(a,p){if(typeof a=="object"){if(Array.isArray(a))for(var m=0;m<a.length;m++){var $=a[m];He($)&&Vr($,p)}else if(He(a))a._store&&(a._store.validated=!0);else if(a){var I=P(a);if(typeof I=="function"&&I!==a.entries)for(var oe=I.call(a),U;!(U=oe.next()).done;)He(U.value)&&Vr(U.value,p)}}}function mn(a){{var p=a.type;if(p==null||typeof p=="string")return;var m=se(p),$;if(typeof p=="function")$=p.propTypes;else if(typeof p=="object"&&(p.$$typeof===_||p.$$typeof===A))$=p.propTypes;else return;$?(ne(a),t($,a.props,"prop",m,ae.getStackAddendum),ne(null)):p.PropTypes!==void 0&&!Ze&&(Ze=!0,H("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",m||"Unknown")),typeof p.getDefaultProps=="function"&&!p.getDefaultProps.isReactClassApproved&&H("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Br(a){{ne(a);for(var p=Object.keys(a.props),m=0;m<p.length;m++){var $=p[m];if($!=="children"&&$!=="key"){H("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",$);break}}a.ref!==null&&H("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null)}}function vn(a,p,m){var $=Oe(a);if(!$){var I="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(I+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var oe=ho(p);oe?I+=oe:I+=Qt();var U;a===null?U="null":Array.isArray(a)?U="array":a!==void 0&&a.$$typeof===o?(U="<"+(se(a.type)||"Unknown")+" />",I=" Did you accidentally export a JSX literal instead of a component?"):U=typeof a,H("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",U,I)}var Y=xt.apply(this,arguments);if(Y==null)return Y;if($)for(var Ve=2;Ve<arguments.length;Ve++)lr(arguments[Ve],a);return a===s?Br(Y):mn(Y),Y}var bn=!1;function yo(a){var p=vn.bind(null,a);return p.type=a,bn||(bn=!0,ye("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(p,"type",{enumerable:!1,get:function(){return ye("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:a}),a}}),p}function mo(a,p,m){for(var $=jt.apply(this,arguments),I=2;I<arguments.length;I++)lr(arguments[I],$.type);return mn($),$}try{var wn=Object.freeze({}),vo=new Map([[wn,null]]),zr=new Set([wn]);vo.set(0,0),zr.add(0)}catch{}var bo=vn,wo=mo,_o=yo,xo={map:wt,forEach:F,count:k,toArray:B,only:W};me.Children=xo,me.Component=xe,me.Fragment=s,me.Profiler=u,me.PureComponent=kt,me.StrictMode=c,me.Suspense=v,me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=le,me.cloneElement=wo,me.createContext=Ce,me.createElement=bo,me.createFactory=_o,me.createRef=dt,me.forwardRef=lt,me.isValidElement=He,me.lazy=De,me.memo=f,me.useCallback=Ne,me.useContext=T,me.useDebugValue=Re,me.useEffect=K,me.useImperativeHandle=ue,me.useLayoutEffect=Q,me.useMemo=z,me.useReducer=ie,me.useRef=re,me.useState=V,me.version=r}();process.env.NODE_ENV==="production"?Kr.exports=ve:Kr.exports=me;var Tr=Kr.exports,Lo={sdkSemver:"1.13.0",techVersion:Tr.version,sdkCode:"J"},Tm=function(e){Gc(t,e);function t(r){var n=e.call(this,r)||this;return n.imageRef=Tr.createRef(),n}return t.prototype.componentDidMount=function(){this.htmlLayerInstance=new hg(this.imageRef.current,this.props.cldImg,this.props.plugins,Lo)},t.prototype.componentDidUpdate=function(){qn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,Lo)},t.prototype.componentWillUnmount=function(){qn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},t.prototype.render=function(){var r=this.props;r.cldImg,r.plugins;var n=Hc(r,["cldImg","plugins"]);if(Fi())return Tr.createElement("img",Jr({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=em(this.props.plugins,this.props.cldImg,Lo);return Tr.createElement("img",Jr({},n,{src:o}))},t}(Tr.Component),Am=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(e){Gc(t,e);function t(r){var n=e.call(this,r)||this;return n.videoRef=Kr.exports.createRef(),n.attachRef=n.attachRef.bind(n),n}return t.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new Uy(this.videoRef&&this.videoRef.current,this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster,{useFetchFormat:this.props.useFetchFormat})},t.prototype.componentDidUpdate=function(){qn(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},t.prototype.componentWillUnmount=function(){qn(this.htmlVideoLayerInstance.htmlPluginState)},t.prototype.getVideoAttributes=function(){var r=this,n={};return Am.forEach(function(o){o in r.props&&(n[o]=r.props[o])}),n},t.prototype.attachRef=function(r){this.videoRef.current=r;var n=this.props.innerRef;n&&(n instanceof Function?n(r):n.current=r)},t.prototype.render=function(){var r=this.props;r.cldVid,r.cldPoster,r.plugins,r.sources,r.innerRef,r.useFetchFormat;var n=Hc(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return Tr.createElement("video",Jr({},n,{ref:this.attachRef}))},t})(Kr.exports.Component);const Cm=(e,t,r=!1)=>{w.useEffect(()=>{var o;const n=i=>{e&&!e.contains(i.target)&&t()};return r?(document.addEventListener("click",n,!0),()=>{document.removeEventListener("click",n,!0)}):((o=document.getElementById("root"))==null||o.addEventListener("click",n,!0),()=>{var i;(i=document.getElementById("root"))==null||i.removeEventListener("click",n,!0)})},[r,e,t])};function Om(e){return!(typeof e!="object"||e instanceof Array)}class Rm{filterOutNonSupportedKeys(t,r){const n=Object.create({});return Om(t)?(Object.keys(t).forEach(o=>{r.indexOf(o)>=0?n[o]=t[o]:console.warn("Warning - unsupported key provided to configuration: ",o)}),n):Object.create({})}}const ia=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class qi extends Rm{constructor(t){super();const r=this.filterOutNonSupportedKeys(t,ia);Object.assign(this,{secure:!0},r)}extend(t){const r=this.filterOutNonSupportedKeys(t,ia);return new qi(Object.assign({},this,r))}setCname(t){return this.cname=t,this}setSecureDistribution(t){return this.secureDistribution=t,this}setPrivateCdn(t){return this.privateCdn=t,this}setSignUrl(t){return this.signUrl=t,this}setLongUrlSignature(t){return this.longUrlSignature=t,this}setShorten(t){return this.shorten=t,this}setUseRootPath(t){return this.useRootPath=t,this}setSecure(t){return this.secure=t,this}setForceVersion(t){return this.forceVersion=t,this}setQueryParams(t){return this.queryParams=t,this}}class Xr{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}}class km extends Error{constructor(t="Unsupported"){super(t)}}function Gi(e){return new km(e)}function jm(){return this._qualifierModel||{error:Gi(`unsupported qualifier ${this.constructor.name}`)}}class Pm{constructor(){this._qualifierModel={}}toJson(){return jm.apply(this)}}class fo extends Pm{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Xr?this.qualifierValue=r:(this.qualifierValue=new Xr,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}}class ir extends fo{constructor(t,r){let n;r?n=new Xr([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function Im(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Mm(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:Gi(`unsupported action ${this.constructor.name}`)}}class Lm{constructor(){this._actionModel={}}toJson(){return Mm.apply(this)}}class Hi extends Lm{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),Im(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new ir(n)):this.qualifiers.set(r,new fo(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new ir(t)):t instanceof ir&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}}function Dm(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class Nm extends Hi{constructor(t){super(),this._actionModel={},this.addQualifier(new fo("b",new Xr(Dm(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}}class sa{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:Gi(`unsupported action ${this.constructor.name}`)}}}function Fm(e){const t=e;return"error"in t&&!!t.error}function Vm(){return new ir("lossy")}function Bm(){return new ir("preserve_transparency")}function zm(e){return new ir("progressive",e)}class Wm extends Xr{constructor(t){super(t),this.val=t}getValue(){return this.val}}function xr(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const Um={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},qm={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},Gm={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},Hm={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Ym={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},Qm={444:"CHROMA_444",420:"CHROMA_420"},Jm={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};xr(Qm);xr(Jm);xr(Um);const Km=xr(qm);xr(Gm);xr(Hm);xr(Ym);class Xm extends Hi{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Wm?o=r.getValue():o=r,this._actionModel.actionType=Km[t],this._actionModel[n]=o,this.addQualifier(new fo(t,r))}}class Zm extends ir{constructor(t){super("progressive",t)}}class Hn extends Xm{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(Vm()),this}progressive(t){return t instanceof Zm?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(zm(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(Bm()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;let s;return r?s=new this("f",r):s=new this("f"),o&&(o.mode?s.progressive(o.mode):s.progressive()),n&&s.lossy(),i&&s.preserveTransparency(),s}}class po{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new sa(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof po?this.actions=this.actions.concat(t.actions):this.actions.push(new sa(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new Hn("q",t)),this}format(t){return this.addAction(new Hn("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new Nm(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new Hi;let n=t;return typeof t=="string"&&(n=new ir(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(Fm(n))return n;t.push(n)}return{actions:t}}}class ev extends po{}class tv extends po{}function rv(e){return e.match(/^https?:\//)}function nv(e){return e.indexOf("/")<0}function ov(e){return e.match(/^v[0-9]+/)}function iv(e,t){const r=t.secure,n=t.privateCdn,o=t.cname,i=t.secureDistribution;return!r&&!o?`http://res.cloudinary.com/${e}`:r&&!i&&n?`https://${e}-res.cloudinary.com`:r&&!i?`https://res.cloudinary.com/${e}`:r&&i&&n?`https://${i}`:r&&i?`https://${i}/${e}`:!r&&o?`http://${o}/${e}`:"ERROR"}function sv(e){return e||"image"}function av(e){return e||"upload"}function cv(e,t,r){const n=r!==!1;return t?`v${t}`:ov(e)||rv(e)||nv(e)?"":n?"v1":""}function Yi(e,t,r){let n=t>>0,o=String(r);return e.length>n?String(e):(n=n-e.length,n>o.length&&(o+=lv(o,n/o.length)),o.slice(0,n)+String(e))}function lv(e,t){let r=t,n="";for(;r>0;)n+=e,r--;return n}const uv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Yn={};let aa=0;uv.split("").forEach(e=>{let t=aa.toString(2);t=Yi(t,6,"0"),Yn[t]=e,aa++});function fv(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").reverse().join(".")}function dv(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").map(t=>{const r=+t;if(isNaN(r)||r<0)throw"Invalid version number provided";return Yi(t,2,"0")}).join(".")}function ca(e){let t="";const n=e.split(".").length*6,o=fv(e),i=dv(o);let c=parseInt(i.split(".").join("")).toString(2);if(c=Yi(c,n,"0"),c.length%6!==0)throw"Version must be smaller than 43.21.26)";return c.match(/.{1,6}/g).forEach(u=>{t+=Yn[u]}),t}function pv(e){const t={sdkSemver:e.sdkSemver,techVersion:e.techVersion,sdkCode:e.sdkCode,product:e.product,feature:"0",osType:e.osType,osVersion:e.osVersion};return e.accessibility&&(t.feature="D"),e.lazyload&&(t.feature="C"),e.responsive&&(t.feature="A"),e.placeholder&&(t.feature="B"),t}const hv="1.21.0";function gv(e){const[t,r]=e.split("."),n=parseInt(t).toString(2),o=parseInt(r).toString(2),i=n.padStart(6,"0"),s=o.padStart(6,"0");return Yn[i]+Yn[s]}function yv(){const e="0.0.0";if(typeof window<"u")return e;try{return process.versions.node||e}catch{return e}}function mv(e){const t={techVersion:yv(),sdkCode:"T",sdkSemver:hv.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return e?Object.assign(Object.assign({},t),e):t}function la(e){const t=mv(e),r=pv(t);try{const n=vv(r.techVersion),o=ca(r.sdkSemver),i=ca(n),s=gv(r.osVersion),c=r.feature,u=r.sdkCode,{product:d,osType:h}=r;return`D${d}${u}${o}${i}${h}${s}${c}`}catch{return"E"}}function vv(e){const t=e.split(".");return`${t[0]}.${t[1]}`}const ua={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class bv{constructor(t,r={},n){this.setPublicID(t),this.setCloudConfig(r),this.setURLConfig(n)}setURLConfig(t){return this.urlConfig=new qi(t),this}setCloudConfig(t){return this.cloudName=t.cloudName,this.apiKey=t.apiKey,this.apiSecret=t.apiSecret,this.authToken=t.authToken,this}setPublicID(t){return this.publicID=t?t.toString():"",this}setDeliveryType(t){return this.deliveryType=t,this}setSuffix(t){return this.suffix=t,this}setSignature(t){return this.signature=t,this}setVersion(t){return t&&(this.version=t),this}setAssetType(t){return t&&(this.assetType=t),this}sign(){return this}toURL(t={}){return this.createCloudinaryURL(null,t.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";const t=this.suffix&&this.suffix.indexOf(".")>=0,r=this.suffix&&this.suffix.indexOf("/")>=0;if(t||r)throw"`suffix`` should not include . or /"}getResourceType(){const t=sv(this.assetType),r=av(this.deliveryType),n=!!this.suffix,o=`${t}/${r}`,i=ua[`${t}/${r}`],s=this.urlConfig.useRootPath,c=this.urlConfig.shorten;if(s){if(o==="image/upload")return"";throw new Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${o} instead`)}if(c&&o==="image/upload")return"iu";if(n){if(i)return i;throw new Error(`URL Suffix only supported for ${Object.keys(ua).join(", ")}, Provided: ${o} instead`)}return o}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(t,r){if(!this.publicID)return"";this.validateAssetForURLCreation();const n=iv(this.cloudName,this.urlConfig),o=t?t.toString():"",i=cv(this.publicID,this.version,this.urlConfig.forceVersion),s=this.publicID;if(typeof t=="string")return[n,this.getResourceType(),this.getSignature(),o,i,s.replace(/,/g,"%2C"),this.suffix].filter(u=>u).join("/");{const c=[encodeURI(n),this.getResourceType(),this.getSignature(),encodeURI(o),i,encodeURI(s).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(h=>h).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),u=this.urlConfig.analytics!==!1&&!s.includes("?");let d="";if(typeof this.urlConfig.queryParams=="object")try{const h=new URLSearchParams(this.urlConfig.queryParams);u&&h.set("_a",la(r)),d=h.toString()}catch{console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else d=this.urlConfig.queryParams||"",u&&(d+=`${d.length>0?"&":""}_a=${la(r)}`);return d?`${c}?${d}`:c}}}class sl extends bv{constructor(t,r,n,o){super(t,r,n),this.transformation=o}animated(t){return this.transformation.animated(t),this}border(t){return this.transformation.border(t),this}reshape(t){return this.transformation.reshape(t),this}resize(t){return this.transformation.resize(t),this}quality(t){return this.addAction(new Hn("q",t)),this}format(t){return this.addAction(new Hn("f",t)),this}roundCorners(t){return this.transformation.roundCorners(t),this}overlay(t){return this.transformation.overlay(t),this}addVariable(t){return this.transformation.addVariable(t),this}conditional(t){return this.transformation.conditional(t),this}effect(t){return this.transformation.effect(t),this}adjust(t){return this.transformation.adjust(t),this}rotate(t){return this.transformation.rotate(t),this}namedTransformation(t){return this.transformation.namedTransformation(t),this}delivery(t){return this.transformation.delivery(t),this}backgroundColor(t){return this.transformation.backgroundColor(t),this}psdTools(t){return this.transformation.psdTools(t),this}extract(t){return this.transformation.extract(t),this}addFlag(t){return this.transformation.addFlag(t),this}customFunction(t){return this.transformation.customFunction(t),this}addAction(t){return this.transformation.addAction(t),this}addTransformation(t){return this.transformation.addTransformation(t),this}toString(){return this.transformation.toString()}underlay(t){return this.transformation.underlay(t),this}toURL(t={}){return this.createCloudinaryURL(this.transformation,t==null?void 0:t.trackedAnalytics)}}class wv extends sl{constructor(t,r,n){super(t,r,n,new ev)}}class _v extends sl{constructor(t,r,n){super(t,r,n,new tv),this.assetType="video"}transcode(t){return this.transformation.transcode(t),this}videoEdit(t){return this.transformation.videoEdit(t),this}}class xv{constructor(t){t&&(this.cloudinaryConfig=t)}image(t){return new wv(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(t){return new _v(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(t){return this.cloudinaryConfig=t,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const $v=({publicId:e,format:t="webp"})=>{const r=w.useMemo(()=>new xv({cloud:{cloudName:"fluid-attacks"}}),[]);return w.useMemo(()=>r.image(e).format(t),[r,e,t])},Sv=({alt:e="img",height:t="",width:r="",plugins:n=[Yy(),Xy()],publicId:o})=>{const i=$v({publicId:o});return O.jsx(Tm,{alt:e,cldImg:i,height:t,plugins:n,width:r})},Qi=w.memo(Sv),Ev=pe.button`
|
|
591
|
+
Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(!s._store||s._store.validated||s.key!=null)){s._store.validated=!0;var y=mo(p);if(!mn[y]){mn[y]=!0;var $="";s&&s._owner&&s._owner!==he.current&&($=" It was passed a child from "+se(s._owner.type)+"."),oe(s),Y('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',y,$),oe(null)}}}function lr(s,p){if(typeof s=="object"){if(Array.isArray(s))for(var y=0;y<s.length;y++){var $=s[y];He($)&&Vr($,p)}else if(He(s))s._store&&(s._store.validated=!0);else if(s){var M=I(s);if(typeof M=="function"&&M!==s.entries)for(var ie=M.call(s),q;!(q=ie.next()).done;)He(q.value)&&Vr(q.value,p)}}}function yn(s){{var p=s.type;if(p==null||typeof p=="string")return;var y=se(p),$;if(typeof p=="function")$=p.propTypes;else if(typeof p=="object"&&(p.$$typeof===_||p.$$typeof===k))$=p.propTypes;else return;$?(oe(s),t($,s.props,"prop",y,ce.getStackAddendum),oe(null)):p.PropTypes!==void 0&&!Ze&&(Ze=!0,Y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",y||"Unknown")),typeof p.getDefaultProps=="function"&&!p.getDefaultProps.isReactClassApproved&&Y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function zr(s){{oe(s);for(var p=Object.keys(s.props),y=0;y<p.length;y++){var $=p[y];if($!=="children"&&$!=="key"){Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",$);break}}s.ref!==null&&Y("Invalid attribute `ref` supplied to `React.Fragment`."),oe(null)}}function vn(s,p,y){var $=ke(s);if(!$){var M="";(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).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 ie=go(p);ie?M+=ie:M+=Jt();var q;s===null?q="null":Array.isArray(s)?q="array":s!==void 0&&s.$$typeof===o?(q="<"+(se(s.type)||"Unknown")+" />",M=" Did you accidentally export a JSX literal instead of a component?"):q=typeof s,Y("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",q,M)}var Q=$t.apply(this,arguments);if(Q==null)return Q;if($)for(var Ve=2;Ve<arguments.length;Ve++)lr(arguments[Ve],s);return s===a?zr(Q):yn(Q),Q}var bn=!1;function yo(s){var p=vn.bind(null,s);return p.type=s,bn||(bn=!0,me("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(p,"type",{enumerable:!1,get:function(){return me("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:s}),s}}),p}function vo(s,p,y){for(var $=Pt.apply(this,arguments),M=2;M<arguments.length;M++)lr(arguments[M],$.type);return yn($),$}try{var wn=Object.freeze({}),bo=new Map([[wn,null]]),Br=new Set([wn]);bo.set(0,0),Br.add(0)}catch{}var wo=vn,_o=vo,xo=yo,$o={map:wt,forEach:V,count:j,toArray:B,only:U};ye.Children=$o,ye.Component=xe,ye.Fragment=a,ye.Profiler=u,ye.PureComponent=jt,ye.StrictMode=c,ye.Suspense=v,ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ue,ye.cloneElement=_o,ye.createContext=Ce,ye.createElement=wo,ye.createFactory=xo,ye.createRef=ft,ye.forwardRef=lt,ye.isValidElement=He,ye.lazy=De,ye.memo=d,ye.useCallback=Ne,ye.useContext=A,ye.useDebugValue=Oe,ye.useEffect=X,ye.useImperativeHandle=de,ye.useLayoutEffect=J,ye.useMemo=W,ye.useReducer=ae,ye.useRef=re,ye.useState=z,ye.version=r}();process.env.NODE_ENV==="production"?Kr.exports=ve:Kr.exports=ye;var Tr=Kr.exports,Do={sdkSemver:"1.13.0",techVersion:Tr.version,sdkCode:"J"},Ry=function(e){Kc(t,e);function t(r){var n=e.call(this,r)||this;return n.imageRef=Tr.createRef(),n}return t.prototype.componentDidMount=function(){this.htmlLayerInstance=new wg(this.imageRef.current,this.props.cldImg,this.props.plugins,Do)},t.prototype.componentDidUpdate=function(){qn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,Do)},t.prototype.componentWillUnmount=function(){qn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},t.prototype.render=function(){var r=this.props;r.cldImg,r.plugins;var n=Xc(r,["cldImg","plugins"]);if(Vi())return Tr.createElement("img",Jr({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=iy(this.props.plugins,this.props.cldImg,Do);return Tr.createElement("img",Jr({},n,{src:o}))},t}(Tr.Component),jy=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(e){Kc(t,e);function t(r){var n=e.call(this,r)||this;return n.videoRef=Kr.exports.createRef(),n.attachRef=n.attachRef.bind(n),n}return t.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new Jm(this.videoRef&&this.videoRef.current,this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster,{useFetchFormat:this.props.useFetchFormat})},t.prototype.componentDidUpdate=function(){qn(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},t.prototype.componentWillUnmount=function(){qn(this.htmlVideoLayerInstance.htmlPluginState)},t.prototype.getVideoAttributes=function(){var r=this,n={};return jy.forEach(function(o){o in r.props&&(n[o]=r.props[o])}),n},t.prototype.attachRef=function(r){this.videoRef.current=r;var n=this.props.innerRef;n&&(n instanceof Function?n(r):n.current=r)},t.prototype.render=function(){var r=this.props;r.cldVid,r.cldPoster,r.plugins,r.sources,r.innerRef,r.useFetchFormat;var n=Xc(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return Tr.createElement("video",Jr({},n,{ref:this.attachRef}))},t})(Kr.exports.Component);const Py=(e,t,r=!1)=>{b.useEffect(()=>{var o;const n=i=>{e&&!e.contains(i.target)&&t()};return r?(document.addEventListener("click",n,!0),()=>{document.removeEventListener("click",n,!0)}):((o=document.getElementById("root"))==null||o.addEventListener("click",n,!0),()=>{var i;(i=document.getElementById("root"))==null||i.removeEventListener("click",n,!0)})},[r,e,t])};function Iy(e){return!(typeof e!="object"||e instanceof Array)}class My{filterOutNonSupportedKeys(t,r){const n=Object.create({});return Iy(t)?(Object.keys(t).forEach(o=>{r.indexOf(o)>=0?n[o]=t[o]:console.warn("Warning - unsupported key provided to configuration: ",o)}),n):Object.create({})}}const as=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class Gi extends My{constructor(t){super();const r=this.filterOutNonSupportedKeys(t,as);Object.assign(this,{secure:!0},r)}extend(t){const r=this.filterOutNonSupportedKeys(t,as);return new Gi(Object.assign({},this,r))}setCname(t){return this.cname=t,this}setSecureDistribution(t){return this.secureDistribution=t,this}setPrivateCdn(t){return this.privateCdn=t,this}setSignUrl(t){return this.signUrl=t,this}setLongUrlSignature(t){return this.longUrlSignature=t,this}setShorten(t){return this.shorten=t,this}setUseRootPath(t){return this.useRootPath=t,this}setSecure(t){return this.secure=t,this}setForceVersion(t){return this.forceVersion=t,this}setQueryParams(t){return this.queryParams=t,this}}class Xr{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}}class Ly extends Error{constructor(t="Unsupported"){super(t)}}function Hi(e){return new Ly(e)}function Dy(){return this._qualifierModel||{error:Hi(`unsupported qualifier ${this.constructor.name}`)}}class Ny{constructor(){this._qualifierModel={}}toJson(){return Dy.apply(this)}}class fo extends Ny{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Xr?this.qualifierValue=r:(this.qualifierValue=new Xr,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}}class ir extends fo{constructor(t,r){let n;r?n=new Xr([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function Fy(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Vy(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:Hi(`unsupported action ${this.constructor.name}`)}}class zy{constructor(){this._actionModel={}}toJson(){return Vy.apply(this)}}class Yi extends zy{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),Fy(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new ir(n)):this.qualifiers.set(r,new fo(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new ir(t)):t instanceof ir&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}}function By(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class Wy extends Yi{constructor(t){super(),this._actionModel={},this.addQualifier(new fo("b",new Xr(By(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}}class ss{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:Hi(`unsupported action ${this.constructor.name}`)}}}function Uy(e){const t=e;return"error"in t&&!!t.error}function qy(){return new ir("lossy")}function Gy(){return new ir("preserve_transparency")}function Hy(e){return new ir("progressive",e)}class Yy extends Xr{constructor(t){super(t),this.val=t}getValue(){return this.val}}function xr(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const Qy={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},Jy={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},Ky={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},Xy={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Zy={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},ev={444:"CHROMA_444",420:"CHROMA_420"},tv={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};xr(ev);xr(tv);xr(Qy);const rv=xr(Jy);xr(Ky);xr(Xy);xr(Zy);class nv extends Yi{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Yy?o=r.getValue():o=r,this._actionModel.actionType=rv[t],this._actionModel[n]=o,this.addQualifier(new fo(t,r))}}class ov extends ir{constructor(t){super("progressive",t)}}class Hn extends nv{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(qy()),this}progressive(t){return t instanceof ov?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(Hy(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(Gy()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;let a;return r?a=new this("f",r):a=new this("f"),o&&(o.mode?a.progressive(o.mode):a.progressive()),n&&a.lossy(),i&&a.preserveTransparency(),a}}class po{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new ss(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof po?this.actions=this.actions.concat(t.actions):this.actions.push(new ss(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new Hn("q",t)),this}format(t){return this.addAction(new Hn("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new Wy(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new Yi;let n=t;return typeof t=="string"&&(n=new ir(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(Uy(n))return n;t.push(n)}return{actions:t}}}class iv extends po{}class av extends po{}function sv(e){return e.match(/^https?:\//)}function cv(e){return e.indexOf("/")<0}function lv(e){return e.match(/^v[0-9]+/)}function uv(e,t){const r=t.secure,n=t.privateCdn,o=t.cname,i=t.secureDistribution;return!r&&!o?`http://res.cloudinary.com/${e}`:r&&!i&&n?`https://${e}-res.cloudinary.com`:r&&!i?`https://res.cloudinary.com/${e}`:r&&i&&n?`https://${i}`:r&&i?`https://${i}/${e}`:!r&&o?`http://${o}/${e}`:"ERROR"}function dv(e){return e||"image"}function fv(e){return e||"upload"}function pv(e,t,r){const n=r!==!1;return t?`v${t}`:lv(e)||sv(e)||cv(e)?"":n?"v1":""}function Qi(e,t,r){let n=t>>0,o=String(r);return e.length>n?String(e):(n=n-e.length,n>o.length&&(o+=hv(o,n/o.length)),o.slice(0,n)+String(e))}function hv(e,t){let r=t,n="";for(;r>0;)n+=e,r--;return n}const gv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Yn={};let cs=0;gv.split("").forEach(e=>{let t=cs.toString(2);t=Qi(t,6,"0"),Yn[t]=e,cs++});function mv(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").reverse().join(".")}function yv(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").map(t=>{const r=+t;if(isNaN(r)||r<0)throw"Invalid version number provided";return Qi(t,2,"0")}).join(".")}function ls(e){let t="";const n=e.split(".").length*6,o=mv(e),i=yv(o);let c=parseInt(i.split(".").join("")).toString(2);if(c=Qi(c,n,"0"),c.length%6!==0)throw"Version must be smaller than 43.21.26)";return c.match(/.{1,6}/g).forEach(u=>{t+=Yn[u]}),t}function vv(e){const t={sdkSemver:e.sdkSemver,techVersion:e.techVersion,sdkCode:e.sdkCode,product:e.product,feature:"0",osType:e.osType,osVersion:e.osVersion};return e.accessibility&&(t.feature="D"),e.lazyload&&(t.feature="C"),e.responsive&&(t.feature="A"),e.placeholder&&(t.feature="B"),t}const bv="1.21.0";function wv(e){const[t,r]=e.split("."),n=parseInt(t).toString(2),o=parseInt(r).toString(2),i=n.padStart(6,"0"),a=o.padStart(6,"0");return Yn[i]+Yn[a]}function _v(){const e="0.0.0";if(typeof window<"u")return e;try{return process.versions.node||e}catch{return e}}function xv(e){const t={techVersion:_v(),sdkCode:"T",sdkSemver:bv.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return e?Object.assign(Object.assign({},t),e):t}function us(e){const t=xv(e),r=vv(t);try{const n=$v(r.techVersion),o=ls(r.sdkSemver),i=ls(n),a=wv(r.osVersion),c=r.feature,u=r.sdkCode,{product:f,osType:h}=r;return`D${f}${u}${o}${i}${h}${a}${c}`}catch{return"E"}}function $v(e){const t=e.split(".");return`${t[0]}.${t[1]}`}const ds={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class Sv{constructor(t,r={},n){this.setPublicID(t),this.setCloudConfig(r),this.setURLConfig(n)}setURLConfig(t){return this.urlConfig=new Gi(t),this}setCloudConfig(t){return this.cloudName=t.cloudName,this.apiKey=t.apiKey,this.apiSecret=t.apiSecret,this.authToken=t.authToken,this}setPublicID(t){return this.publicID=t?t.toString():"",this}setDeliveryType(t){return this.deliveryType=t,this}setSuffix(t){return this.suffix=t,this}setSignature(t){return this.signature=t,this}setVersion(t){return t&&(this.version=t),this}setAssetType(t){return t&&(this.assetType=t),this}sign(){return this}toURL(t={}){return this.createCloudinaryURL(null,t.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";const t=this.suffix&&this.suffix.indexOf(".")>=0,r=this.suffix&&this.suffix.indexOf("/")>=0;if(t||r)throw"`suffix`` should not include . or /"}getResourceType(){const t=dv(this.assetType),r=fv(this.deliveryType),n=!!this.suffix,o=`${t}/${r}`,i=ds[`${t}/${r}`],a=this.urlConfig.useRootPath,c=this.urlConfig.shorten;if(a){if(o==="image/upload")return"";throw new Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${o} instead`)}if(c&&o==="image/upload")return"iu";if(n){if(i)return i;throw new Error(`URL Suffix only supported for ${Object.keys(ds).join(", ")}, Provided: ${o} instead`)}return o}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(t,r){if(!this.publicID)return"";this.validateAssetForURLCreation();const n=uv(this.cloudName,this.urlConfig),o=t?t.toString():"",i=pv(this.publicID,this.version,this.urlConfig.forceVersion),a=this.publicID;if(typeof t=="string")return[n,this.getResourceType(),this.getSignature(),o,i,a.replace(/,/g,"%2C"),this.suffix].filter(u=>u).join("/");{const c=[encodeURI(n),this.getResourceType(),this.getSignature(),encodeURI(o),i,encodeURI(a).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(h=>h).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),u=this.urlConfig.analytics!==!1&&!a.includes("?");let f="";if(typeof this.urlConfig.queryParams=="object")try{const h=new URLSearchParams(this.urlConfig.queryParams);u&&h.set("_a",us(r)),f=h.toString()}catch{console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else f=this.urlConfig.queryParams||"",u&&(f+=`${f.length>0?"&":""}_a=${us(r)}`);return f?`${c}?${f}`:c}}}class dl extends Sv{constructor(t,r,n,o){super(t,r,n),this.transformation=o}animated(t){return this.transformation.animated(t),this}border(t){return this.transformation.border(t),this}reshape(t){return this.transformation.reshape(t),this}resize(t){return this.transformation.resize(t),this}quality(t){return this.addAction(new Hn("q",t)),this}format(t){return this.addAction(new Hn("f",t)),this}roundCorners(t){return this.transformation.roundCorners(t),this}overlay(t){return this.transformation.overlay(t),this}addVariable(t){return this.transformation.addVariable(t),this}conditional(t){return this.transformation.conditional(t),this}effect(t){return this.transformation.effect(t),this}adjust(t){return this.transformation.adjust(t),this}rotate(t){return this.transformation.rotate(t),this}namedTransformation(t){return this.transformation.namedTransformation(t),this}delivery(t){return this.transformation.delivery(t),this}backgroundColor(t){return this.transformation.backgroundColor(t),this}psdTools(t){return this.transformation.psdTools(t),this}extract(t){return this.transformation.extract(t),this}addFlag(t){return this.transformation.addFlag(t),this}customFunction(t){return this.transformation.customFunction(t),this}addAction(t){return this.transformation.addAction(t),this}addTransformation(t){return this.transformation.addTransformation(t),this}toString(){return this.transformation.toString()}underlay(t){return this.transformation.underlay(t),this}toURL(t={}){return this.createCloudinaryURL(this.transformation,t==null?void 0:t.trackedAnalytics)}}class Ev extends dl{constructor(t,r,n){super(t,r,n,new iv)}}class Tv extends dl{constructor(t,r,n){super(t,r,n,new av),this.assetType="video"}transcode(t){return this.transformation.transcode(t),this}videoEdit(t){return this.transformation.videoEdit(t),this}}class Av{constructor(t){t&&(this.cloudinaryConfig=t)}image(t){return new Ev(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(t){return new Tv(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(t){return this.cloudinaryConfig=t,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const Cv=({publicId:e,format:t="webp"})=>{const r=b.useMemo(()=>new Av({cloud:{cloudName:"fluid-attacks"}}),[]);return b.useMemo(()=>r.image(e).format(t),[r,e,t])},kv=({alt:e="img",height:t="",width:r="",plugins:n=[ey(),Jc()],publicId:o})=>{const i=Cv({publicId:o});return T.jsx(Ry,{alt:e,cldImg:i,height:t,plugins:n,width:r})},ho=b.memo(kv),Ov=ne.button`
|
|
519
592
|
${({theme:e})=>`
|
|
520
593
|
align-items: center;
|
|
521
594
|
border-left: 3px solid transparent;
|
|
@@ -558,7 +631,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
558
631
|
}
|
|
559
632
|
}
|
|
560
633
|
`}
|
|
561
|
-
`,
|
|
634
|
+
`,Rv=ne.div`
|
|
562
635
|
${({theme:e})=>`
|
|
563
636
|
align-items: center;
|
|
564
637
|
background-color: transparent;
|
|
@@ -588,7 +661,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
588
661
|
color: ${e.palette.gray[800]};
|
|
589
662
|
}
|
|
590
663
|
`}
|
|
591
|
-
`,
|
|
664
|
+
`,jv=ne.div`
|
|
592
665
|
${({theme:e})=>`
|
|
593
666
|
background-color: ${e.palette.white};
|
|
594
667
|
border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
|
|
@@ -603,7 +676,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
603
676
|
border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
|
|
604
677
|
}
|
|
605
678
|
`}
|
|
606
|
-
`,
|
|
679
|
+
`,Pv=ne.div`
|
|
607
680
|
${({theme:e})=>`
|
|
608
681
|
align-items: flex-start;
|
|
609
682
|
cursor: pointer;
|
|
@@ -625,7 +698,69 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
625
698
|
}
|
|
626
699
|
}
|
|
627
700
|
`}
|
|
628
|
-
`,
|
|
701
|
+
`,Iv=({disabled:e=!1,mode:t,onClick:r,text:n})=>T.jsx(Ov,{className:`${e&&"disabled"} ${t}`,disabled:e,onClick:r,children:T.jsx(xt,{color:"inherit",size:"sm",sizeSm:"xs",children:n})}),Mv=[{text:"EN"},{text:"ES"}],Lv=({items:e,handleClick:t,mode:r="light"})=>{const n=e??Mv,[o,i]=b.useState(n[0].text),a=b.useCallback(c=>()=>{t(c.text),i(c.text)},[t]);return T.jsxs(Pv,{children:[T.jsxs(Rv,{className:r,children:[T.jsx(Ft,{icon:"globe",iconSize:"xs",iconType:"fa-light"}),o]}),T.jsx(jv,{children:n.map((c,u)=>T.jsx(Iv,{disabled:c.disabled,mode:r,onClick:a(c),text:c.text},`${c.text}_${u}`))})]})},Dv={company:{height:"83px",width:"460px"},footer:{height:"57px",width:"315px"},header:{height:"35px",width:"160px"},icon:{height:"40px",width:"40px"}},Nv=({publicId:e,variant:t})=>T.jsx(kt,{...Dv[t],children:T.jsx(ho,{alt:"logo",publicId:e})}),Fv=ne.div`
|
|
702
|
+
display: flex;
|
|
703
|
+
height: 80px;
|
|
704
|
+
max-width: 1440px;
|
|
705
|
+
overflow: hidden;
|
|
706
|
+
position: relative;
|
|
707
|
+
`,fs=ne.rect`
|
|
708
|
+
height: 79px;
|
|
709
|
+
width: 64px;
|
|
710
|
+
flex-shrink: 0;
|
|
711
|
+
position: absolute;
|
|
712
|
+
z-index: 11;
|
|
713
|
+
|
|
714
|
+
&.left {
|
|
715
|
+
background: linear-gradient(
|
|
716
|
+
to right,
|
|
717
|
+
#fff 57.21%,
|
|
718
|
+
rgba(255, 255, 255, 0) 100.63%
|
|
719
|
+
);
|
|
720
|
+
left: 0;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
&.right {
|
|
724
|
+
background: linear-gradient(
|
|
725
|
+
to left,
|
|
726
|
+
#fff 57.21%,
|
|
727
|
+
rgba(255, 255, 255, 0) 100.63%
|
|
728
|
+
);
|
|
729
|
+
right: 0;
|
|
730
|
+
}
|
|
731
|
+
`,Vv=ne.div`
|
|
732
|
+
display: flex;
|
|
733
|
+
gap: 40px;
|
|
734
|
+
animation: clients-animation 50s linear infinite;
|
|
735
|
+
width: calc(180px * 30);
|
|
736
|
+
|
|
737
|
+
@keyframes clients-animation {
|
|
738
|
+
0% {
|
|
739
|
+
transform: translateX(0);
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
100% {
|
|
743
|
+
transform: translateX(calc(-180px * 15));
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
`,zv=["airs/clients-carousel/color/bancolombia","airs/clients-carousel/color/itau_colombia","airs/clients-carousel/color/lulo_bank","airs/clients-carousel/color/oxxo_international","airs/clients-carousel/color/interbank","airs/clients-carousel/color/global_bank","airs/clients-carousel/color/gesa","airs/clients-carousel/color/copa_airlines","airs/clients-carousel/color/consubanco","airs/clients-carousel/color/bantrab","airs/clients-carousel/color/banistmo","airs/clients-carousel/color/banco_internacional","airs/clients-carousel/color/banco_general","airs/clients-carousel/color/banbif","airs/clients-carousel/color/avianca"],Bv=({fusion:e=!1,logos:t=zv})=>T.jsxs(Fv,{children:[e&&T.jsx(fs,{className:"left"}),T.jsx(Vv,{children:[...t,...t].map((r,n)=>T.jsx(ho,{alt:`${r}-${n}`,height:"80px",plugins:[Jc()],publicId:r,width:"140px"},`${r}-${n}`))}),e&&T.jsx(fs,{className:"right"})]}),Wv=ne.button`
|
|
747
|
+
align-items: center;
|
|
748
|
+
background-color: transparent;
|
|
749
|
+
border: unset;
|
|
750
|
+
cursor: pointer;
|
|
751
|
+
display: flex;
|
|
752
|
+
justify-content: center;
|
|
753
|
+
gap: 5px;
|
|
754
|
+
padding: 0;
|
|
755
|
+
|
|
756
|
+
&:hover p {
|
|
757
|
+
color: ${C.palette.primary[200]};
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
&:hover span {
|
|
761
|
+
color: ${C.palette.primary[200]};
|
|
762
|
+
}
|
|
763
|
+
`,Uv=e=>e==="platform"?{normal:"sm",small:void 0}:{normal:"md",small:"sm"},qv=({message:e,onClickButton:t,buttonText:r,buttonFontWeight:n="regular",icon:o,onClose:i,variant:a="web"})=>{const[c,u]=b.useState(!0),f=b.useCallback(()=>{u(!1),i==null||i()},[i]),h=Uv(a);return T.jsxs(kt,{alignItems:"center",bgGradient:C.palette.gradients["01"],display:c?"flex":"none",id:"message-banner",justify:"space-between",padding:[.75,.75,.75,.75],children:[T.jsxs(kt,{display:"flex",gap:.5,justify:"center",width:"100%",children:[T.jsx(kt,{children:typeof e=="string"?T.jsx(xt,{color:C.palette.white,display:"inline",size:h.normal,sizeSm:h.small,children:e}):e}),t?T.jsxs(Wv,{onClick:t,children:[T.jsx(xt,{color:C.palette.white,fontWeight:n,size:h.normal,sizeSm:h.small,textDecoration:"underline",children:r}),T.jsx(Ft,{icon:o??"arrow-right",iconColor:C.palette.white,iconSize:"xs",iconType:n==="bold"?"fa-regular":"fa-light"})]}):void 0]}),T.jsx(Ft,{clickable:!0,hoverColor:C.palette.primary[200],icon:"close",iconColor:C.palette.white,iconSize:"xs",iconType:"fa-light",onClick:f})]})},Gv=ne(cn)`
|
|
629
764
|
${({theme:e,$variant:t})=>`
|
|
630
765
|
align-items: center;
|
|
631
766
|
background: ${t==="error"?e.palette.primary[400]:e.palette.warning[500]};
|
|
@@ -638,14 +773,91 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
638
773
|
width: ${e.spacing[.5]};
|
|
639
774
|
height: ${e.spacing[.5]};
|
|
640
775
|
`}
|
|
641
|
-
`,
|
|
776
|
+
`,Hv=ne.div`
|
|
642
777
|
align-items: center;
|
|
643
778
|
color: ${({theme:e})=>e.palette.white};
|
|
644
779
|
display: flex;
|
|
645
780
|
font-size: 6px;
|
|
646
781
|
font-weight: ${({theme:e})=>e.typography.weight.bold};
|
|
647
782
|
justify-content: center;
|
|
648
|
-
`,
|
|
783
|
+
`,fl=b.forwardRef(function({numberIndicator:t,show:r,variant:n="error",...o},i){return T.jsx(Gv,{$variant:n,className:r?"flex":"hidden","data-testid":"notification-sign",ref:i,...o,children:t&&T.jsx(Hv,{children:t<=9?t:9})})}),ps={web:{normal:C.typography.text.md,sm:C.typography.text.sm},platform:{normal:C.typography.text.sm,sm:C.typography.text.sm}},Yv=ne.label`
|
|
784
|
+
${({$disabled:e,$variant:t})=>{const r=e?300:600,n=e?"not-allowed":"pointer";return`
|
|
785
|
+
display: flex;
|
|
786
|
+
align-items: center;
|
|
787
|
+
font-family: ${C.typography.type.primary};
|
|
788
|
+
font-size: ${ps[t].normal};
|
|
789
|
+
font-weight: ${C.typography.weight.regular};
|
|
790
|
+
line-height: ${C.typography.text.lg};
|
|
791
|
+
text-align: left;
|
|
792
|
+
position: relative;
|
|
793
|
+
cursor: ${n};
|
|
794
|
+
color: ${C.palette.gray[r]};
|
|
795
|
+
gap: ${C.spacing[.5]};
|
|
796
|
+
|
|
797
|
+
input {
|
|
798
|
+
position: absolute;
|
|
799
|
+
opacity: 0;
|
|
800
|
+
cursor: pointer;
|
|
801
|
+
width: 0;
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
.checkmark {
|
|
805
|
+
position: relative;
|
|
806
|
+
top: 0;
|
|
807
|
+
left: 0;
|
|
808
|
+
height: 16px;
|
|
809
|
+
width: 16px;
|
|
810
|
+
background-color: ${C.palette.white};
|
|
811
|
+
border-radius: 50%;
|
|
812
|
+
border: 1px solid ${C.palette.gray[600]};
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
input:disabled ~ .checkmark {
|
|
816
|
+
border: 1px solid ${C.palette.gray[300]};
|
|
817
|
+
background-color: ${C.palette.white};
|
|
818
|
+
cursor: not-allowed;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
input:not(:disabled):checked ~ .checkmark {
|
|
822
|
+
background-color: ${C.palette.white};
|
|
823
|
+
border: 1px solid ${C.palette.primary[500]};
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
input:not(:disabled):hover ~ .checkmark {
|
|
827
|
+
background-color: ${C.palette.white};
|
|
828
|
+
box-shadow: 0 0 0 4px ${C.palette.gray[100]};
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
input:not(:disabled):hover:checked ~ .checkmark {
|
|
832
|
+
background-color: ${C.palette.white};
|
|
833
|
+
box-shadow: 0 0 0 4px ${C.palette.primary[50]};
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
.checkmark::after {
|
|
837
|
+
content: "";
|
|
838
|
+
position: absolute;
|
|
839
|
+
display: none;
|
|
840
|
+
top: 3px;
|
|
841
|
+
left: 3px;
|
|
842
|
+
width: 8px;
|
|
843
|
+
height: 8px;
|
|
844
|
+
border-radius: 50%;
|
|
845
|
+
background: ${C.palette.primary[500]};
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
input:checked ~ .checkmark::after {
|
|
849
|
+
display: block;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
input:disabled:checked ~ .checkmark::after {
|
|
853
|
+
background-color: ${C.palette.gray[300]};
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
@media screen and (max-width: ${C.breakpoints.mobile}) {
|
|
857
|
+
font-size: ${ps[t].sm};
|
|
858
|
+
}
|
|
859
|
+
`}}
|
|
860
|
+
`,Qv=ne.span.attrs({className:"checkmark"})``,Jv=({defaultChecked:e=!1,disabled:t=!1,label:r,name:n,onChange:o,onClick:i,value:a,variant:c="web"})=>T.jsxs(Yv,{$disabled:t,$variant:c,children:[T.jsx("input",{"aria-label":n,defaultChecked:e,disabled:t,name:n,onChange:o,onClick:i,type:"radio",value:a}),T.jsx(Qv,{}),r??null]}),Kv=ne.a`
|
|
649
861
|
${({theme:e})=>`
|
|
650
862
|
align-items: center;
|
|
651
863
|
display: flex;
|
|
@@ -690,7 +902,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
690
902
|
width: 270px;
|
|
691
903
|
}
|
|
692
904
|
`}
|
|
693
|
-
`,
|
|
905
|
+
`,Xv=ne.div.attrs({className:"icon-wrap"})`
|
|
694
906
|
${({theme:e})=>`
|
|
695
907
|
align-items: center;
|
|
696
908
|
background: ${e.palette.primary[25]};
|
|
@@ -705,7 +917,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
705
917
|
font-size: 20px;
|
|
706
918
|
}
|
|
707
919
|
`}
|
|
708
|
-
`,
|
|
920
|
+
`,Zv=ne.div`
|
|
709
921
|
${({theme:e})=>`
|
|
710
922
|
align-items: flex-start;
|
|
711
923
|
display: flex;
|
|
@@ -737,7 +949,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
737
949
|
width: 320px;
|
|
738
950
|
}
|
|
739
951
|
`}
|
|
740
|
-
`,
|
|
952
|
+
`,eb=ne.form`
|
|
741
953
|
${({theme:e})=>`
|
|
742
954
|
align-items: center;
|
|
743
955
|
display: flex;
|
|
@@ -746,7 +958,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
746
958
|
padding: ${e.spacing[1]} ${e.spacing[1.5]};
|
|
747
959
|
width: 100%;
|
|
748
960
|
`}
|
|
749
|
-
`,
|
|
961
|
+
`,tb=ne.input`
|
|
750
962
|
${({theme:e})=>`
|
|
751
963
|
flex: 1 0 0;
|
|
752
964
|
border: none;
|
|
@@ -772,7 +984,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
772
984
|
font-size: ${e.typography.text.sm};
|
|
773
985
|
}
|
|
774
986
|
`}
|
|
775
|
-
`,
|
|
987
|
+
`,rb=ne.button`
|
|
776
988
|
${({theme:e})=>`
|
|
777
989
|
align-items: center;
|
|
778
990
|
border-radius: ${e.spacing[.5]};
|
|
@@ -792,7 +1004,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
792
1004
|
background-color: ${e.palette.gray[100]};
|
|
793
1005
|
}
|
|
794
1006
|
`}
|
|
795
|
-
`,
|
|
1007
|
+
`,No=ne.div.attrs({className:"dropdown"})`
|
|
796
1008
|
${({theme:e,$empty:t=!1,$showHits:r=!1})=>`
|
|
797
1009
|
align-items: flex-start;
|
|
798
1010
|
align-self: stretch;
|
|
@@ -835,7 +1047,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
835
1047
|
height: ${e.spacing[.5]};
|
|
836
1048
|
}
|
|
837
1049
|
`}
|
|
838
|
-
`,
|
|
1050
|
+
`,Fo=({hit:e,icon:t="infinity",showIcon:r=!1})=>{const{slug:n,title:o}=e,i=String(n).startsWith("/pages/")?String(n).replace("/pages/","/"):String(n);return T.jsxs(Kv,{href:i,rel:"nofollow noopener noreferrer",children:[r&&T.jsx(Xv,{children:T.jsx(Ft,{icon:t,iconClass:"fill-gradient-01",iconSize:"sm",iconType:"fa-light"})}),T.jsx(xt,{color:C.palette.gray[800],lineSpacing:1.5,size:"md",sizeSm:"sm",whiteSpace:"wrap",children:String(o)})]})},nb=[{hit:{slug:"/services/continuous-hacking/",title:"Continuous Hacking"},icon:"infinity"},{hit:{slug:"/platform/",title:"Platform"},icon:"sidebar"},{hit:{slug:"/plans/",title:"Plans"},icon:"star-christmas"},{hit:{slug:"/blog/",title:"Blog"},icon:"pen-line"}],hs={hit:{slug:"/contact-us/",title:"Contact Support"},icon:"envelope"},ob=({items:e,placeholder:t="Search",refine:r,query:n})=>{const[o,i]=b.useState(n),[a,c]=b.useState(!1),u=b.useRef(null),f=b.useRef(null),h=o.length>=2,m=b.useCallback(E=>{i(E),r(E)},[r]),_=b.useCallback(()=>{m("")},[m]),v=b.useCallback(()=>{c(!0)},[]),S=b.useCallback(E=>{m(E.currentTarget.value)},[m]),k=b.useCallback(E=>{E.preventDefault(),E.stopPropagation(),_(),f.current&&f.current.focus()},[_]),P=b.useCallback(E=>{E.preventDefault(),E.stopPropagation(),f.current&&f.current.blur()},[]);return Py(u.current,()=>{_(),c(!1)},!0),T.jsxs(Zv,{ref:u,children:[T.jsxs(eb,{action:"",noValidate:!0,onReset:k,onSubmit:P,role:"search",children:[T.jsxs("div",{className:"flex gap-2 w-full",children:[T.jsx("div",{className:"h-10 p-2",children:T.jsx(Ft,{icon:"magnifying-glass",iconSize:"sm",iconType:"fa-light"})}),T.jsx(tb,{autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",maxLength:512,onChange:S,onFocus:v,placeholder:t,ref:f,spellCheck:!1,type:"search",value:o})]}),h&&T.jsx(rb,{type:"reset",children:T.jsx(Ft,{icon:"xmark",iconSize:"sm",iconType:"fa-light"})})]}),a&&o.length<2&&T.jsxs(No,{children:[T.jsx(xt,{color:C.palette.gray[400],fontWeight:"bold",lineSpacing:1.5,size:"md",sizeSm:"sm",children:"Suggested"}),T.jsx("div",{className:"flex flex-col items-start self-stretch",children:nb.map(({hit:E,icon:O},R)=>T.jsx(Fo,{hit:E,icon:O,showIcon:!0},`${O}-${R}`))}),T.jsx(xt,{color:C.palette.gray[400],fontWeight:"bold",lineSpacing:1.5,size:"md",sizeSm:"sm",children:"Can’t find what you’re looking for?"}),T.jsx(Fo,{hit:hs.hit,icon:hs.icon,showIcon:!0})]}),h&&e.length>0&&T.jsxs(No,{$showHits:h,children:[T.jsx(xt,{color:C.palette.gray[400],fontWeight:"bold",lineSpacing:1.5,size:"md",sizeSm:"sm",children:"Results"}),T.jsx("div",{className:"flex flex-col items-start self-stretch",children:e.map(E=>T.jsx(Fo,{hit:E},E.objectID))})]}),h&&e.length===0&&T.jsx(No,{$empty:e.length===0,children:T.jsxs("div",{className:"items-center flex flex-col gap-4 py-[90px] w-full",children:[T.jsx(ho,{height:96,publicId:"airs/search-bar/empty-state-icon",width:96}),T.jsx(xi,{display:"flex",size:"sm",sizeSm:"xs",textAlign:"center",children:"No results found"}),T.jsxs(xt,{display:"flex",lineSpacing:1.5,size:"md",sizeSm:"sm",textAlign:"center",children:[`“${o}” did not match.`,T.jsx("br",{}),"Please try again."]}),T.jsx(hc,{mode:"light",onClick:_,variant:"secondaryWeb",children:"Clear search"})]})})]})},ib=ne.button`
|
|
839
1051
|
${({theme:e})=>`
|
|
840
1052
|
align-items: center;
|
|
841
1053
|
color: ${e.palette.gray[500]};
|
|
@@ -855,7 +1067,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
855
1067
|
color: ${e.palette.gray[800]};
|
|
856
1068
|
}
|
|
857
1069
|
`}
|
|
858
|
-
`,
|
|
1070
|
+
`,ab=ne.div`
|
|
859
1071
|
${({theme:e})=>`
|
|
860
1072
|
align-items: center;
|
|
861
1073
|
border-bottom: 2px solid ${e.palette.gray[200]};
|
|
@@ -864,7 +1076,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
864
1076
|
height: ${e.spacing[3]};
|
|
865
1077
|
width: max-content;
|
|
866
1078
|
`}
|
|
867
|
-
`,
|
|
1079
|
+
`,sb=ne($l.NavLink)`
|
|
868
1080
|
${({theme:e})=>`
|
|
869
1081
|
align-items: center;
|
|
870
1082
|
background: transparent;
|
|
@@ -901,7 +1113,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
901
1113
|
}
|
|
902
1114
|
}
|
|
903
1115
|
`}
|
|
904
|
-
`,
|
|
1116
|
+
`,cb=({items:e})=>T.jsx(ab,{children:e.map(({isActive:t,label:r,onClick:n},o)=>T.jsx(ib,{className:t?"active":"",onClick:n,type:"button",children:T.jsx(xi,{color:"inherit",fontWeight:"semibold",size:"sm",sizeSm:"xs",children:r})},`${r}-${o}`))}),pl=({label:e,id:t,isActive:r=!1,link:n,notificationSign:o,onClick:i,tooltip:a=""})=>T.jsx(ki,{display:"flex",id:`${t}-tooltip`,tip:a,children:T.jsxs(sb,{className:r?"active":"",id:t,onClick:i,to:n,children:[e,T.jsx(fl,{left:o==null?void 0:o.left,numberIndicator:o==null?void 0:o.numberIndicator,show:o==null?void 0:o.show,top:o==null?void 0:o.top,variant:o==null?void 0:o.variant})]})}),lb=({items:e,borders:t=!0,box:r=!1})=>T.jsx(kt,{bgColor:C.palette.white,border:r?"1px solid":void 0,borderBottom:t?`1px solid ${C.palette.gray[300]}`:void 0,borderColor:r?C.palette.gray[200]:void 0,borderRadius:r?C.spacing[.25]:void 0,display:"inline-flex",gap:.25,padding:r?[0,0,0,0]:void 0,pl:t?1.25:void 0,pr:t?1.25:void 0,width:r?"max-content":"100%",children:e.map(({id:n,isActive:o,link:i,label:a,notificationSign:c,onClick:u,tooltip:f})=>T.jsx(pl,{id:n,isActive:o,label:a,link:i,notificationSign:c,onClick:u,tooltip:f},n))}),ub=ne.div`
|
|
905
1117
|
${({theme:e})=>`
|
|
906
1118
|
align-items: center;
|
|
907
1119
|
display: flex;
|
|
@@ -931,7 +1143,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
931
1143
|
width: 320px;
|
|
932
1144
|
}
|
|
933
1145
|
`}
|
|
934
|
-
`,
|
|
1146
|
+
`,db=ne.button`
|
|
935
1147
|
${({theme:e})=>`
|
|
936
1148
|
align-items: center;
|
|
937
1149
|
background: linear-gradient(
|
|
@@ -960,4 +1172,4 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
960
1172
|
color: ${e.palette.white};
|
|
961
1173
|
}
|
|
962
1174
|
`}
|
|
963
|
-
`,
|
|
1175
|
+
`,fb=({defaultSelection:e,options:t,handleClick:r})=>{const[n,o]=b.useState(e??t[0]),i=b.useCallback(a=>()=>{o(a),r(a)},[r]);return T.jsx(ub,{children:t.map((a,c)=>T.jsx(db,{className:`${a.includes(n)&&"selected"}`,onClick:i(a),children:T.jsx(xt,{color:"inherit",fontWeight:"bold",size:"md",sizeSm:"sm",textAlign:"center",children:a})},`${a}-${c}`))})};exports.Accordion=gd;exports.BaseButtonComponent=zs;exports.BaseComponent=cn;exports.BaseSpanComponent=Bs;exports.BaseTextComponent=_i;exports.Button=hc;exports.Checkbox=yg;exports.CloudImage=ho;exports.Container=kt;exports.CustomThemeProvider=Yu;exports.FixedTabs=cb;exports.Heading=xi;exports.Icon=Ft;exports.LanguageSelector=Lv;exports.Logo=Nv;exports.LogoCarousel=Bv;exports.MessageBanner=qv;exports.NotificationSign=fl;exports.ProgressBar=Us;exports.RadioButton=Jv;exports.SearchBar=ob;exports.Tab=pl;exports.Tabs=lb;exports.Text=xt;exports.ToggleButton=fb;exports.Tooltip=ki;exports.getStyledConfig=sn;exports.hiddenProps=ms;exports.icons=Gu;exports.setBorder=rn;exports.setDisplay=nn;exports.setInteraction=an;exports.setMargin=en;exports.setPadding=Zr;exports.setPosition=tn;exports.setText=on;exports.theme=C;exports.uniqueIcons=Hu;exports.variantBuilder=gs;
|