@fluidattacks/design 1.2.21 → 1.2.23
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 +357 -106
- package/dist/design.mjs +3725 -3207
- 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/message-banner/index.d.ts +1 -1
- package/dist/src/components/message-banner/types.d.ts +3 -1
- package/dist/src/components/notification-sign/index.d.ts +3 -0
- package/dist/src/components/notification-sign/styles.d.ts +9 -0
- package/dist/src/components/notification-sign/types.d.ts +16 -0
- package/dist/src/components/progress-bar/index.d.ts +4 -0
- package/dist/src/components/progress-bar/types.d.ts +12 -0
- package/dist/src/components/progress-bar/utils.d.ts +2 -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/fixed-tabs/index.d.ts +3 -0
- package/dist/src/components/tabs/index.d.ts +5 -0
- package/dist/src/components/tabs/styles.d.ts +4 -3
- package/dist/src/components/tabs/tab/index.d.ts +4 -0
- package/dist/src/components/tabs/types.d.ts +48 -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 +6 -0
- package/package.json +5 -2
- package/dist/src/components/accordion/index.stories.d.ts +0 -7
- package/dist/src/components/accordion/platform/index.stories.d.ts +0 -6
- package/dist/src/components/button/index.stories.d.ts +0 -10
- package/dist/src/components/button/platform/index.stories.d.ts +0 -10
- package/dist/src/components/container/index.stories.d.ts +0 -7
- package/dist/src/components/grid-layout/index.stories.d.ts +0 -17
- package/dist/src/components/language-selector/index.stories.d.ts +0 -8
- package/dist/src/components/message-banner/index.stories.d.ts +0 -6
- package/dist/src/components/search-bar/index.stories.d.ts +0 -7
- package/dist/src/components/search-bar/item-searching/index.stories.d.ts +0 -6
- package/dist/src/components/toggle-buttons/index.stories.d.ts +0 -6
- package/dist/src/components/tooltip/index.stories.d.ts +0 -8
- /package/dist/src/components/{accordion → progress-bar}/styles.d.ts +0 -0
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}.\\!visible{visibility:visible!important}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-\\[500px\\]{height:500px}.w-full{width:100%}.max-w-72{max-width:18rem}.max-w-min{max-width:-moz-min-content;max-width:min-content}.flex-shrink{flex-shrink:1}.flex-grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-4{gap:1rem}.self-stretch{align-self:stretch}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.px-12{padding-left:3rem;padding-right:3rem}.px-8{padding-left:2rem;padding-right:2rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\\[90px\\]{padding-top:90px;padding-bottom:90px}.align-middle{vertical-align:middle}.text-sm{font-size:.875rem;line-height:1.25rem}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@property --animate-position{syntax: "<angle>"; initial-value: 45deg; inherits: false;}@property --border-angle{syntax: "<angle>"; initial-value: 0deg; inherits: false;}@property --color-1{syntax: "<color>"; initial-value: #f32637; inherits: false;}@property --color-2{syntax: "<color>"; initial-value: #b8075d; inherits: false;}@property --btn-padding-x{syntax: "<length>"; initial-value: 16px; inherits: false;}@property --btn-padding-y{syntax: "<length>"; initial-value: 10px; inherits: false;}@property --btn-spacing{syntax: "<length>"; initial-value: 8px; inherits: false;}@property --grid-columns{syntax: "<number>"; initial-value: 12; inherits: false;}@property --grid-width{syntax: "<length>"; initial-value: 1440px; inherits: false;}@property --angle-grad{syntax: "<angle>"; initial-value: 45deg; inherits: false;}@property --opacity-grad{syntax: "<number>"; initial-value: 0; inherits: false;}@keyframes spinAnimation{to{--border-angle: 360deg}}@keyframes gradientAnimation{0%{--animate-position: 45deg}33%{--animate-position: -50deg}66%{--animate-position: -100deg}to{--animate-position: 45deg}}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react"),ml=require("react-dom"),ua=e=>({getVariant:(t,r)=>e(t)[r]}),fa=["padding","px","py","pl","pr","pt","pb","margin","mx","my","ml","mr","mt","mb","zIndex","position","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","scroll","visibility","display","height","width","maxHeight","maxWidth","minHeight","minWidth","shadow","bgColor","bgGradient","gap","flexDirection","flexGrow","justify","justifySelf","alignItems","alignSelf","wrap","color","fontFamily","fontSize","fontWeight","textAlign","whiteSpace","letterSpacing","lineSpacing","textDecoration","textOverflow","whiteSpace","wordBreak","wordWrap","cursor","transition","borderColorHover","bgColorHover","shadowHover"];var ut=function(){return ut=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},ut.apply(this,arguments)};function Cr(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function yl(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var vl=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,bl=yl(function(e){return vl.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Sn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function da(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ke="-ms-",Yr="-moz-",he="-webkit-",pa="comm",Yn="rule",gi="decl",wl="@import",ha="@keyframes",_l="@layer",ga=Math.abs,mi=String.fromCharCode,Fo=Object.assign;function xl(e,t){return et(e,0)^45?(((t<<2^et(e,0))<<2^et(e,1))<<2^et(e,2))<<2^et(e,3):0}function ma(e){return e.trim()}function Xt(e,t){return(e=t.exec(e))?e[0]:e}function ee(e,t,r){return e.replace(t,r)}function On(e,t,r){return e.indexOf(t,r)}function et(e,t){return e.charCodeAt(t)|0}function Or(e,t,r){return e.slice(t,r)}function qt(e){return e.length}function ya(e){return e.length}function Hr(e,t){return t.push(e),e}function Sl(e,t){return e.map(t).join("")}function ts(e,t){return e.filter(function(r){return!Xt(r,t)})}var Qn=1,Rr=1,va=0,Dt=0,Ue=0,Lr="";function Jn(e,t,r,n,o,i,s,c){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Qn,column:Rr,length:s,return:"",siblings:c}}function rr(e,t){return Fo(Jn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function $r(e){for(;e.root;)e=rr(e.root,{children:[e]});Hr(e,e.siblings)}function $l(){return Ue}function El(){return Ue=Dt>0?et(Lr,--Dt):0,Rr--,Ue===10&&(Rr=1,Qn--),Ue}function Vt(){return Ue=Dt<va?et(Lr,Dt++):0,Rr++,Ue===10&&(Rr=1,Qn++),Ue}function hr(){return et(Lr,Dt)}function Rn(){return Dt}function Kn(e,t){return Or(Lr,e,t)}function Vo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Tl(e){return Qn=Rr=1,va=qt(Lr=e),Dt=0,[]}function Al(e){return Lr="",e}function Ao(e){return ma(Kn(Dt-1,Bo(e===91?e+2:e===40?e+1:e)))}function Cl(e){for(;(Ue=hr())&&Ue<33;)Vt();return Vo(e)>2||Vo(Ue)>3?"":" "}function Ol(e,t){for(;--t&&Vt()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return Kn(e,Rn()+(t<6&&hr()==32&&Vt()==32))}function Bo(e){for(;Vt();)switch(Ue){case e:return Dt;case 34:case 39:e!==34&&e!==39&&Bo(Ue);break;case 40:e===41&&Bo(e);break;case 92:Vt();break}return Dt}function Rl(e,t){for(;Vt()&&e+Ue!==57;)if(e+Ue===84&&hr()===47)break;return"/*"+Kn(t,Dt-1)+"*"+mi(e===47?e:Vt())}function kl(e){for(;!Vo(hr());)Vt();return Kn(e,Dt)}function jl(e){return Al(kn("",null,null,null,[""],e=Tl(e),0,[0],e))}function kn(e,t,r,n,o,i,s,c,u){for(var d=0,h=0,m=s,_=0,v=0,T=0,C=1,O=1,x=1,A=0,R="",M=o,L=i,N=n,P=R;O;)switch(T=A,A=Vt()){case 40:if(T!=108&&et(P,m-1)==58){On(P+=ee(Ao(A),"&","&\f"),"&\f",ga(d?c[d-1]:0))!=-1&&(x=-1);break}case 34:case 39:case 91:P+=Ao(A);break;case 9:case 10:case 13:case 32:P+=Cl(T);break;case 92:P+=Ol(Rn()-1,7);continue;case 47:switch(hr()){case 42:case 47:Hr(Pl(Rl(Vt(),Rn()),t,r,u),u);break;default:P+="/"}break;case 123*C:c[d++]=qt(P)*x;case 125*C:case 59:case 0:switch(A){case 0:case 125:O=0;case 59+h:x==-1&&(P=ee(P,/\f/g,"")),v>0&&qt(P)-m&&Hr(v>32?ns(P+";",n,r,m-1,u):ns(ee(P," ","")+";",n,r,m-2,u),u);break;case 59:P+=";";default:if(Hr(N=rs(P,t,r,d,h,o,c,R,M=[],L=[],m,i),i),A===123)if(h===0)kn(P,t,N,N,M,i,m,c,L);else switch(_===99&&et(P,3)===110?100:_){case 100:case 108:case 109:case 115:kn(e,N,N,n&&Hr(rs(e,N,N,0,0,o,c,R,o,M=[],m,L),L),o,L,m,c,n?M:L);break;default:kn(P,N,N,N,[""],L,0,c,L)}}d=h=v=0,C=x=1,R=P="",m=s;break;case 58:m=1+qt(P),v=T;default:if(C<1){if(A==123)--C;else if(A==125&&C++==0&&El()==125)continue}switch(P+=mi(A),A*C){case 38:x=h>0?1:(P+="\f",-1);break;case 44:c[d++]=(qt(P)-1)*x,x=1;break;case 64:hr()===45&&(P+=Ao(Vt())),_=hr(),h=m=qt(R=P+=kl(Rn())),A++;break;case 45:T===45&&qt(P)==2&&(C=0)}}return i}function rs(e,t,r,n,o,i,s,c,u,d,h,m){for(var _=o-1,v=o===0?i:[""],T=ya(v),C=0,O=0,x=0;C<n;++C)for(var A=0,R=Or(e,_+1,_=ga(O=s[C])),M=e;A<T;++A)(M=ma(O>0?v[A]+" "+R:ee(R,/&\f/g,v[A])))&&(u[x++]=M);return Jn(e,t,r,o===0?Yn:c,u,d,h,m)}function Pl(e,t,r,n){return Jn(e,t,r,pa,mi($l()),Or(e,2,-2),0,n)}function ns(e,t,r,n,o){return Jn(e,t,r,gi,Or(e,0,n),Or(e,n+1,-1),n,o)}function ba(e,t,r){switch(xl(e,t)){case 5103:return he+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return he+e+e;case 4789:return Yr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return he+e+Yr+e+ke+e+e;case 5936:switch(et(e,t+11)){case 114:return he+e+ke+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return he+e+ke+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return he+e+ke+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return he+e+ke+e+e;case 6165:return he+e+ke+"flex-"+e+e;case 5187:return he+e+ee(e,/(\w+).+(:[^]+)/,he+"box-$1$2"+ke+"flex-$1$2")+e;case 5443:return he+e+ke+"flex-item-"+ee(e,/flex-|-self/g,"")+(Xt(e,/flex-|baseline/)?"":ke+"grid-row-"+ee(e,/flex-|-self/g,""))+e;case 4675:return he+e+ke+"flex-line-pack"+ee(e,/align-content|flex-|-self/g,"")+e;case 5548:return he+e+ke+ee(e,"shrink","negative")+e;case 5292:return he+e+ke+ee(e,"basis","preferred-size")+e;case 6060:return he+"box-"+ee(e,"-grow","")+he+e+ke+ee(e,"grow","positive")+e;case 4554:return he+ee(e,/([^-])(transform)/g,"$1"+he+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,he+"$1"),/(image-set)/,he+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,he+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,he+"box-pack:$3"+ke+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+he+e+e;case 4200:if(!Xt(e,/flex-|baseline/))return ke+"grid-column-align"+Or(e,t)+e;break;case 2592:case 3360:return ke+ee(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,Xt(n.props,/grid-\w+-end/)})?~On(e+(r=r[t].value),"span",0)?e:ke+ee(e,"-start","")+e+ke+"grid-row-span:"+(~On(r,"span",0)?Xt(r,/\d+/):+Xt(r,/\d+/)-+Xt(e,/\d+/))+";":ke+ee(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Xt(n.props,/grid-\w+-start/)})?e:ke+ee(ee(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,he+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(qt(e)-1-t>6)switch(et(e,t+1)){case 109:if(et(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+he+"$2-$3$1"+Yr+(et(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~On(e,"stretch",0)?ba(ee(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return ee(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,s,c,u,d){return ke+o+":"+i+d+(s?ke+o+"-span:"+(c?u:+u-+i)+d:"")+e});case 4949:if(et(e,t+6)===121)return ee(e,":",":"+he)+e;break;case 6444:switch(et(e,et(e,14)===45?18:11)){case 120:return ee(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+he+(et(e,14)===45?"inline-":"")+"box$3$1"+he+"$2$3$1"+ke+"$2box$3")+e;case 100:return ee(e,":",":"+ke)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ee(e,"scroll-","scroll-snap-")+e}return e}function In(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Il(e,t,r,n){switch(e.type){case _l:if(e.children.length)break;case wl:case gi:return e.return=e.return||e.value;case pa:return"";case ha:return e.return=e.value+"{"+In(e.children,n)+"}";case Yn:if(!qt(e.value=e.props.join(",")))return""}return qt(r=In(e.children,n))?e.return=e.value+"{"+r+"}":""}function Ml(e){var t=ya(e);return function(r,n,o,i){for(var s="",c=0;c<t;c++)s+=e[c](r,n,o,i)||"";return s}}function Ll(e){return function(t){t.root||(t=t.return)&&e(t)}}function Dl(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case gi:e.return=ba(e.value,e.length,r);return;case ha:return In([rr(e,{value:ee(e.value,"@","@"+he)})],n);case Yn:if(e.length)return Sl(r=e.props,function(o){switch(Xt(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":$r(rr(e,{props:[ee(o,/:(read-\w+)/,":"+Yr+"$1")]})),$r(rr(e,{props:[o]})),Fo(e,{props:ts(r,n)});break;case"::placeholder":$r(rr(e,{props:[ee(o,/:(plac\w+)/,":"+he+"input-$1")]})),$r(rr(e,{props:[ee(o,/:(plac\w+)/,":"+Yr+"$1")]})),$r(rr(e,{props:[ee(o,/:(plac\w+)/,ke+"input-$1")]})),$r(rr(e,{props:[o]})),Fo(e,{props:ts(r,n)});break}return""})}}var Nl={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},yr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",wa="active",_a="data-styled-version",Xn="6.1.13",yi=`/*!sc*/
|
|
3
|
-
`,
|
|
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 b=require("react"),wl=require("react-dom"),_l=require("react-router-dom"),hs=e=>({getVariant:(t,r)=>e(t)[r]}),gs=["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 xl(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var $l=/^((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)-.*))$/,Sl=xl(function(e){return $l.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-",ms="comm",Qn="rule",gi="decl",El="@import",vs="@keyframes",Tl="@layer",bs=Math.abs,yi=String.fromCharCode,Fo=Object.assign;function Al(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 ws(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 kn(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 Ht(e){return e.length}function _s(e){return e.length}function Hr(e,t){return t.push(e),e}function Cl(e,t){return e.map(t).join("")}function na(e,t){return e.filter(function(r){return!Zt(r,t)})}var Jn=1,kr=1,xs=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:kr,length:a,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 Ol(){return Ue}function kl(){return Ue=Nt>0?et(Lr,--Nt):0,kr--,Ue===10&&(kr=1,Jn--),Ue}function Bt(){return Ue=Nt<xs?et(Lr,Nt++):0,kr++,Ue===10&&(kr=1,Jn++),Ue}function hr(){return et(Lr,Nt)}function Rn(){return Nt}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 Rl(e){return Jn=kr=1,xs=Ht(Lr=e),Nt=0,[]}function jl(e){return Lr="",e}function Ao(e){return ws(Xn(Nt-1,zo(e===91?e+2:e===40?e+1:e)))}function Pl(e){for(;(Ue=hr())&&Ue<33;)Bt();return Vo(e)>2||Vo(Ue)>3?"":" "}function Il(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 zo(e){for(;Bt();)switch(Ue){case e:return Nt;case 34:case 39:e!==34&&e!==39&&zo(Ue);break;case 40:e===41&&zo(e);break;case 92:Bt();break}return Nt}function Ml(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 Ll(e){for(;!Vo(hr());)Bt();return Xn(e,Nt)}function Dl(e){return jl(jn("",null,null,null,[""],e=Rl(e),0,[0],e))}function jn(e,t,r,n,o,i,a,c,u){for(var f=0,h=0,y=a,_=0,v=0,S=0,O=1,P=1,E=1,k=0,R="",L=o,D=i,F=n,I=R;P;)switch(S=k,k=Bt()){case 40:if(S!=108&&et(I,y-1)==58){kn(I+=te(Ao(k),"&","&\f"),"&\f",bs(f?c[f-1]:0))!=-1&&(E=-1);break}case 34:case 39:case 91:I+=Ao(k);break;case 9:case 10:case 13:case 32:I+=Pl(S);break;case 92:I+=Il(Rn()-1,7);continue;case 47:switch(hr()){case 42:case 47:Hr(Nl(Ml(Bt(),Rn()),t,r,u),u);break;default:I+="/"}break;case 123*O:c[f++]=Ht(I)*E;case 125*O:case 59:case 0:switch(k){case 0:case 125:P=0;case 59+h:E==-1&&(I=te(I,/\f/g,"")),v>0&&Ht(I)-y&&Hr(v>32?ia(I+";",n,r,y-1,u):ia(te(I," ","")+";",n,r,y-2,u),u);break;case 59:I+=";";default:if(Hr(F=oa(I,t,r,f,h,o,c,R,L=[],D=[],y,i),i),k===123)if(h===0)jn(I,t,F,F,L,i,y,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=[],y,D),D),o,D,y,c,n?L:D);break;default:jn(I,F,F,F,[""],D,0,c,D)}}f=h=v=0,O=E=1,R=I="",y=a;break;case 58:y=1+Ht(I),v=S;default:if(O<1){if(k==123)--O;else if(k==125&&O++==0&&kl()==125)continue}switch(I+=yi(k),k*O){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+=Ao(Bt())),_=hr(),h=y=Ht(R=I+=Ll(Rn())),k++;break;case 45:S===45&&Ht(I)==2&&(O=0)}}return i}function oa(e,t,r,n,o,i,a,c,u,f,h,y){for(var _=o-1,v=o===0?i:[""],S=_s(v),O=0,P=0,E=0;O<n;++O)for(var k=0,R=Or(e,_+1,_=bs(P=a[O])),L=e;k<S;++k)(L=ws(P>0?v[k]+" "+R:te(R,/&\f/g,v[k])))&&(u[E++]=L);return Kn(e,t,r,o===0?Qn:c,u,f,h,y)}function Nl(e,t,r,n){return Kn(e,t,r,ms,yi(Ol()),Or(e,2,-2),0,n)}function ia(e,t,r,n,o){return Kn(e,t,r,gi,Or(e,0,n),Or(e,n+1,-1),n,o)}function $s(e,t,r){switch(Al(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"+Or(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/)})?~kn(e+(r=r[t].value),"span",0)?e:Re+te(e,"-start","")+e+Re+"grid-row-span:"+(~kn(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~kn(e,"stretch",0)?$s(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 Fl(e,t,r,n){switch(e.type){case Tl:if(e.children.length)break;case El:case gi:return e.return=e.return||e.value;case ms:return"";case vs: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 Vl(e){var t=_s(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 zl(e){return function(t){t.root||(t=t.return)&&e(t)}}function Bl(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case gi:e.return=$s(e.value,e.length,r);return;case vs:return Mn([rr(e,{value:te(e.value,"@","@"+ge)})],n);case Qn:if(e.length)return Cl(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]})),Fo(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]})),Fo(e,{props:na(r,n)});break}return""})}}var Wl={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",Ss="active",Es="data-styled-version",Zn="6.1.13",mi=`/*!sc*/
|
|
3
|
+
`,Ln=typeof window<"u"&&"HTMLElement"in window,Ul=!!(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,ql=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 Gl(e,t,r){return r===void 0&&(r=Rr),e.theme!==r.theme&&e.theme||t||r.theme}var Bo=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"]),Hl=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Yl=/(^-|-$)/g;function sa(e){return e.replace(Hl,"-").replace(Yl,"")}var Ql=/(a)(d)/gi,Tn=52,ca=function(e){return String.fromCharCode(e+(e>25?39:97))};function Wo(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(Ql,"$1-$2")}var Co,Ts=5381,fr=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},As=function(e){return fr(Ts,e)};function Jl(e){return Wo(As(e)>>>0)}function Cs(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,ks=Os?Symbol.for("react.memo"):60115,Kl=Os?Symbol.for("react.forward_ref"):60112,Xl={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Zl={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Rs={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},eu=((Co={})[Kl]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Co[ks]=Rs,Co);function la(e){return("type"in(t=e)&&t.type.$$typeof)===ks?Rs:"$$typeof"in e?eu[e.$$typeof]:Xl;var t}var tu=Object.defineProperty,ru=Object.getOwnPropertyNames,ua=Object.getOwnPropertySymbols,nu=Object.getOwnPropertyDescriptor,ou=Object.getPrototypeOf,da=Object.prototype;function js(e,t,r){if(typeof t!="string"){if(da){var n=ou(t);n&&n!==da&&js(e,n,r)}var o=ru(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 Zl||r&&r[u]||a&&u in a||i&&u in i)){var f=nu(t,u);try{tu(e,u,f)}catch{}}}}return e}function vr(e){return typeof e=="function"}function vi(e){return typeof e=="object"&&"styledComponentId"in e}function pr(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function 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 Uo(e,t,r){if(r===void 0&&(r=!1),!r&&!jr(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Uo(e[n],t[n]);else if(jr(t))for(var n in t)e[n]=Uo(e[n],t[n]);return e}function bi(e,t){Object.defineProperty(e,"toString",{value:t})}var iu=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 tu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,i=e.length;o<i;o+=1)n.push(e[o]);return n.forEach(function(s){r=r.replace(/%[a-z]/,s)}),r}function Zt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(tu.apply(void 0,Cr([eu[e]],t,!1)).trim())}var ru=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,i=o;t>=i;)if((i<<=1)<0)throw Zt(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var s=o;s<i;s++)this.groupSizes[s]=0}for(var c=this.indexOfGroup(t+1),u=(s=0,r.length);s<u;s++)this.tag.insertRule(c,r[s])&&(this.groupSizes[t]++,c++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var i=n;i<o;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),i=o+n,s=o;s<i;s++)r+="".concat(this.tag.getRule(s)).concat(yi);return r},e}(),nu=1<<30,jn=new Map,Ln=new Map,Pn=1,Tn=function(e){if(jn.has(e))return jn.get(e);for(;Ln.has(Pn);)Pn++;var t=Pn++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>nu))throw Zt(16,"".concat(t));return jn.set(e,t),Ln.set(t,e),t},ou=function(e,t){Pn=t+1,jn.set(e,t),Ln.set(t,e)},iu="style[".concat(yr,"][").concat(_a,'="').concat(Xn,'"]'),su=new RegExp("^".concat(yr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),au=function(e,t,r){for(var n,o=r.split(","),i=0,s=o.length;i<s;i++)(n=o[i])&&e.registerName(t,n)},cu=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(yi),o=[],i=0,s=n.length;i<s;i++){var c=n[i].trim();if(c){var u=c.match(su);if(u){var d=0|parseInt(u[1],10),h=u[2];d!==0&&(ou(h,d),au(e,h,u[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(c)}}},fs=function(e){for(var t=document.querySelectorAll(iu),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(yr)!==wa&&(cu(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function lu(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Oa=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(c){var u=Array.from(c.querySelectorAll("style[".concat(yr,"]")));return u[u.length-1]}(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(yr,wa),n.setAttribute(_a,Xn);var s=lu();return s&&n.setAttribute("nonce",s),r.insertBefore(n,i),n},uu=function(){function e(t){this.element=Oa(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,i=n.length;o<i;o++){var s=n[o];if(s.ownerNode===r)return s}throw Zt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),fu=function(){function e(t){this.element=Oa(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),du=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),ds=Mn,pu={isServer:!Mn,useCSSOMInjection:!Fl},Ra=function(){function e(t,r,n){t===void 0&&(t=kr),r===void 0&&(r={});var o=this;this.options=ut(ut({},pu),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Mn&&ds&&(ds=!1,fs(this)),bi(this,function(){return function(i){for(var s=i.getTag(),c=s.length,u="",d=function(m){var _=function(x){return Ln.get(x)}(m);if(_===void 0)return"continue";var v=i.names.get(_),T=s.getGroup(m);if(v===void 0||!v.size||T.length===0)return"continue";var C="".concat(yr,".g").concat(m,'[id="').concat(_,'"]'),O="";v!==void 0&&v.forEach(function(x){x.length>0&&(O+="".concat(x,","))}),u+="".concat(T).concat(C,'{content:"').concat(O,'"}').concat(yi)},h=0;h<c;h++)d(h);return u}(o)})}return e.registerId=function(t){return Tn(t)},e.prototype.rehydrate=function(){!this.server&&Mn&&fs(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(ut(ut({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new du(o):n?new uu(o):new fu(o)}(this.options),new ru(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(Tn(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Tn(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Tn(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),hu=/&/g,gu=/^\s*\/\/.*$/gm;function ka(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=ka(r.children,t)),r})}function mu(e){var t,r,n,o=kr,i=o.options,s=i===void 0?kr:i,c=o.plugins,u=c===void 0?Zn:c,d=function(_,v,T){return T.startsWith(r)&&T.endsWith(r)&&T.replaceAll(r,"").length>0?".".concat(t):_},h=u.slice();h.push(function(_){_.type===Yn&&_.value.includes("&")&&(_.props[0]=_.props[0].replace(hu,r).replace(n,d))}),s.prefix&&h.push(Dl),h.push(Il);var m=function(_,v,T,C){v===void 0&&(v=""),T===void 0&&(T=""),C===void 0&&(C="&"),t=C,r=v,n=new RegExp("\\".concat(r,"\\b"),"g");var O=_.replace(gu,""),x=jl(T||v?"".concat(T," ").concat(v," { ").concat(O," }"):O);s.namespace&&(x=ka(x,s.namespace));var A=[];return In(x,Ml(h.concat(Ll(function(R){return A.push(R)})))),A};return m.hash=u.length?u.reduce(function(_,v){return v.name||Zt(15),dr(_,v.name)},xa).toString():"",m}var yu=new Ra,qo=mu(),ja=w.createContext({shouldForwardProp:void 0,styleSheet:yu,stylis:qo});ja.Consumer;w.createContext(void 0);function ps(){return w.useContext(ja)}var hs=function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=qo);var s=n.name+i.hash;o.hasNameForId(n.id,s)||o.insertRules(n.id,s,i(n.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,bi(this,function(){throw Zt(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=qo),this.name+t.hash},e}(),vu=function(e){return e>="A"&&e<="Z"};function gs(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;vu(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Pa=function(e){return e==null||e===!1||e===""},Ia=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!Pa(i)&&(Array.isArray(i)&&i.isCss||vr(i)?n.push("".concat(gs(o),":"),i,";"):jr(i)?n.push.apply(n,Cr(Cr(["".concat(o," {")],Ia(i),!1),["}"],!1)):n.push("".concat(gs(o),": ").concat((t=o,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in Nl||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function gr(e,t,r,n){if(Pa(e))return[];if(vi(e))return[".".concat(e.styledComponentId)];if(vr(e)){if(!vr(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof hs||jr(o)||o===null||console.error("".concat($a(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),gr(o,t,r,n)}var i;return e instanceof hs?r?(e.inject(r,n),[e.getName(n)]):[e]:jr(e)?Ia(e):Array.isArray(e)?Array.prototype.concat.apply(Zn,e.map(function(s){return gr(s,t,r,n)})):[e.toString()]}function bu(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(vr(r)&&!vi(r))return!1}return!0}var wu=Sa(Xn),_u=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&bu(t),this.componentId=r,this.baseHash=dr(wu,r),this.baseStyle=n,Ra.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=pr(o,this.staticRulesId);else{var i=us(gr(this.rules,t,r,n)),s=Wo(dr(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,s)){var c=n(i,".".concat(s),void 0,this.componentId);r.insertRules(this.componentId,s,c)}o=pr(o,s),this.staticRulesId=s}else{for(var u=dr(this.baseHash,n.hash),d="",h=0;h<this.rules.length;h++){var m=this.rules[h];if(typeof m=="string")d+=m,process.env.NODE_ENV!=="production"&&(u=dr(u,m));else if(m){var _=us(gr(m,t,r,n));u=dr(u,_+h),d+=_}}if(d){var v=Wo(u>>>0);r.hasNameForId(this.componentId,v)||r.insertRules(this.componentId,v,n(d,".".concat(v),void 0,this.componentId)),o=pr(o,v)}}return o},e}(),Dn=w.createContext(void 0);Dn.Consumer;function xu(e){var t=w.useContext(Dn),r=w.useMemo(function(){return function(n,o){if(!n)throw Zt(14);if(vr(n)){var i=n(o);if(process.env.NODE_ENV!=="production"&&(i===null||Array.isArray(i)||typeof i!="object"))throw Zt(7);return i}if(Array.isArray(n)||typeof n!="object")throw Zt(8);return o?ut(ut({},o),n):n}(e.theme,t)},[e.theme,t]);return e.children?w.createElement(Dn.Provider,{value:r},e.children):null}var Ro={},ms=new Set;function Su(e,t,r){var n=vi(e),o=e,i=!Oo(e),s=t.attrs,c=s===void 0?Zn:s,u=t.componentId,d=u===void 0?function(M,L){var N=typeof M!="string"?"sc":is(M);Ro[N]=(Ro[N]||0)+1;var P="".concat(N,"-").concat(ql(Xn+N+Ro[N]));return L?"".concat(L,"-").concat(P):P}(t.displayName,t.parentComponentId):u,h=t.displayName,m=h===void 0?function(M){return Oo(M)?"styled.".concat(M):"Styled(".concat($a(M),")")}(e):h,_=t.displayName&&t.componentId?"".concat(is(t.displayName),"-").concat(t.componentId):t.componentId||d,v=n&&o.attrs?o.attrs.concat(c).filter(Boolean):c,T=t.shouldForwardProp;if(n&&o.shouldForwardProp){var C=o.shouldForwardProp;if(t.shouldForwardProp){var O=t.shouldForwardProp;T=function(M,L){return C(M,L)&&O(M,L)}}else T=C}var x=new _u(r,_,n?o.componentStyle:void 0);function A(M,L){return function(N,P,ve){var be=N.attrs,pe=N.componentStyle,Fe=N.defaultProps,Le=N.foldedComponentIds,we=N.styledComponentId,J=N.target,Ee=w.useContext(Dn),se=ps(),ae=N.shouldForwardProp||se.shouldForwardProp;process.env.NODE_ENV!=="production"&&w.useDebugValue(we);var ce=Bl(P,Ee,Fe)||kr,re=function(tt,qe,Ge){for(var fe,_e=ut(ut({},qe),{className:void 0,theme:Ge}),Te=0;Te<tt.length;Te+=1){var ze=vr(fe=tt[Te])?fe(_e):fe;for(var Pe in ze)_e[Pe]=Pe==="className"?pr(_e[Pe],ze[Pe]):Pe==="style"?ut(ut({},_e[Pe]),ze[Pe]):ze[Pe]}return qe.className&&(_e.className=pr(_e.className,qe.className)),_e}(be,P,ce),G=re.as||J,le={};for(var ge in re)re[ge]===void 0||ge[0]==="$"||ge==="as"||ge==="theme"&&re.theme===ce||(ge==="forwardedAs"?le.as=re.forwardedAs:ae&&!ae(ge,G)||(le[ge]=re[ge],ae||process.env.NODE_ENV!=="development"||bl(ge)||ms.has(ge)||!zo.has(G)||(ms.add(ge),console.warn('styled-components: it looks like an unknown prop "'.concat(ge,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var H=function(tt,qe){var Ge=ps(),fe=tt.generateAndInjectStyles(qe,Ge.styleSheet,Ge.stylis);return process.env.NODE_ENV!=="production"&&w.useDebugValue(fe),fe}(pe,re);process.env.NODE_ENV!=="production"&&N.warnTooManyClasses&&N.warnTooManyClasses(H);var st=pr(Le,we);return H&&(st+=" "+H),re.className&&(st+=" "+re.className),le[Oo(G)&&!zo.has(G)?"class":"className"]=st,le.ref=ve,w.createElement(G,le)}(R,M,L)}A.displayName=m;var R=w.forwardRef(A);return R.attrs=v,R.componentStyle=x,R.displayName=m,R.shouldForwardProp=T,R.foldedComponentIds=n?pr(o.foldedComponentIds,o.styledComponentId):"",R.styledComponentId=_,R.target=n?o.target:e,Object.defineProperty(R,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(M){this._foldedDefaultProps=n?function(L){for(var N=[],P=1;P<arguments.length;P++)N[P-1]=arguments[P];for(var ve=0,be=N;ve<be.length;ve++)Uo(L,be[ve],!0);return L}({},o.defaultProps,M):M}}),process.env.NODE_ENV!=="production"&&(Vl(m,_),R.warnTooManyClasses=function(M,L){var N={},P=!1;return function(ve){if(!P&&(N[ve]=!0,Object.keys(N).length>=200)){var be=L?' with the id of "'.concat(L,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(M).concat(be,`.
|
|
46
|
+
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function au(){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(au.apply(void 0,Cr([iu[e]],t,!1)).trim())}var su=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(mi);return r},e}(),cu=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>cu))throw er(16,"".concat(t));return Pn.set(e,t),Dn.set(t,e),t},lu=function(e,t){In=t+1,Pn.set(e,t),Dn.set(t,e)},uu="style[".concat(mr,"][").concat(Es,'="').concat(Zn,'"]'),du=new RegExp("^".concat(mr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),fu=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)},pu=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(mi),o=[],i=0,a=n.length;i<a;i++){var c=n[i].trim();if(c){var u=c.match(du);if(u){var f=0|parseInt(u[1],10),h=u[2];f!==0&&(lu(h,f),fu(e,h,u[3]),e.getTag().insertRules(f,o)),o.length=0}else o.push(c)}}},pa=function(e){for(var t=document.querySelectorAll(uu),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(mr)!==Ss&&(pu(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function hu(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Ps=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,Ss),n.setAttribute(Es,Zn);var a=hu();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},gu=function(){function e(t){this.element=Ps(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}(),yu=function(){function e(t){this.element=Ps(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}(),mu=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,vu={isServer:!Ln,useCSSOMInjection:!Ul},Is=function(){function e(t,r,n){t===void 0&&(t=Rr),r===void 0&&(r={});var o=this;this.options=ut(ut({},vu),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Ln&&ha&&(ha=!1,pa(this)),bi(this,function(){return function(i){for(var a=i.getTag(),c=a.length,u="",f=function(y){var _=function(E){return Dn.get(E)}(y);if(_===void 0)return"continue";var v=i.names.get(_),S=a.getGroup(y);if(v===void 0||!v.size||S.length===0)return"continue";var O="".concat(mr,".g").concat(y,'[id="').concat(_,'"]'),P="";v!==void 0&&v.forEach(function(E){E.length>0&&(P+="".concat(E,","))}),u+="".concat(S).concat(O,'{content:"').concat(P,'"}').concat(mi)},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 mu(o):n?new gu(o):new yu(o)}(this.options),new su(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}(),bu=/&/g,wu=/^\s*\/\/.*$/gm;function Ms(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=Ms(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(bu,r).replace(n,f))}),a.prefix&&h.push(Bl),h.push(Fl);var y=function(_,v,S,O){v===void 0&&(v=""),S===void 0&&(S=""),O===void 0&&(O="&"),t=O,r=v,n=new RegExp("\\".concat(r,"\\b"),"g");var P=_.replace(wu,""),E=Dl(S||v?"".concat(S," ").concat(v," { ").concat(P," }"):P);a.namespace&&(E=Ms(E,a.namespace));var k=[];return Mn(E,Vl(h.concat(zl(function(R){return k.push(R)})))),k};return y.hash=u.length?u.reduce(function(_,v){return v.name||er(15),fr(_,v.name)},Ts).toString():"",y}var xu=new Is,qo=_u(),Ls=b.createContext({shouldForwardProp:void 0,styleSheet:xu,stylis:qo});Ls.Consumer;b.createContext(void 0);function ga(){return b.useContext(Ls)}var ya=function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=qo);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,bi(this,function(){throw er(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=qo),this.name+t.hash},e}(),$u=function(e){return e>="A"&&e<="Z"};function ma(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;$u(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Ds=function(e){return e==null||e===!1||e===""},Ns=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!Ds(i)&&(Array.isArray(i)&&i.isCss||vr(i)?n.push("".concat(ma(o),":"),i,";"):jr(i)?n.push.apply(n,Cr(Cr(["".concat(o," {")],Ns(i),!1),["}"],!1)):n.push("".concat(ma(o),": ").concat((t=o,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in Wl||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function gr(e,t,r,n){if(Ds(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 ya||jr(o)||o===null||console.error("".concat(Cs(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 ya?r?(e.inject(r,n),[e.getName(n)]):[e]:jr(e)?Ns(e):Array.isArray(e)?Array.prototype.concat.apply(eo,e.map(function(a){return gr(a,t,r,n)})):[e.toString()]}function Su(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(vr(r)&&!vi(r))return!1}return!0}var Eu=As(Zn),Tu=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&Su(t),this.componentId=r,this.baseHash=fr(Eu,r),this.baseStyle=n,Is.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=Wo(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 y=this.rules[h];if(typeof y=="string")f+=y,process.env.NODE_ENV!=="production"&&(u=fr(u,y));else if(y){var _=fa(gr(y,t,r,n));u=fr(u,_+h),f+=_}}if(f){var v=Wo(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 Au(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 ko={},va=new Set;function Cu(e,t,r){var n=vi(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);ko[F]=(ko[F]||0)+1;var I="".concat(F,"-").concat(Jl(Zn+F+ko[F]));return D?"".concat(D,"-").concat(I):I}(t.displayName,t.parentComponentId):u,h=t.displayName,y=h===void 0?function(L){return Oo(L)?"styled.".concat(L):"Styled(".concat(Cs(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 O=o.shouldForwardProp;if(t.shouldForwardProp){var P=t.shouldForwardProp;S=function(L,D){return O(L,D)&&P(L,D)}}else S=O}var E=new Tu(r,_,n?o.componentStyle:void 0);function k(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=Gl(I,Ee,Fe)||Rr,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 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=ne.as||K,ue={};for(var ye in ne)ne[ye]===void 0||ye[0]==="$"||ye==="as"||ye==="theme"&&ne.theme===le||(ye==="forwardedAs"?ue.as=ne.forwardedAs:ce&&!ce(ye,H)||(ue[ye]=ne[ye],ce||process.env.NODE_ENV!=="development"||Sl(ye)||va.has(ye)||!Bo.has(H)||(va.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 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,ne);process.env.NODE_ENV!=="production"&&F.warnTooManyClasses&&F.warnTooManyClasses(Y);var at=pr(Le,_e);return Y&&(at+=" "+Y),ne.className&&(at+=" "+ne.className),ue[Oo(H)&&!Bo.has(H)?"class":"className"]=at,ue.ref=be,b.createElement(H,ue)}(R,L,D)}k.displayName=y;var R=b.forwardRef(k);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(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++)Uo(D,we[be],!0);return D}({},o.defaultProps,L):L}}),process.env.NODE_ENV!=="production"&&(ql(y,_),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={}}}}(y,_)),bi(R,function(){return".".concat(R.styledComponentId)}),i&&js(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 Ou(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 Go(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,Ou.apply(void 0,Cr([o],i,!1)))};return n.attrs=function(o){return Go(e,t,ut(ut({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return Go(e,t,ut(ut({},r),o))},n}var Fs=function(e){return Go(Cu,e)},ae=Fs;Bo.forEach(function(e){ae[e]=Fs(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
|
|
57
|
+
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var Cn="__sc-".concat(mr,"__");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[
|
|
59
|
+
See https://s-c.sh/2BAXzed for more info.`),window[Cn]+=1);var Ho={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[An]+=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 ku(){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,y={},_=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)&&(y[h]=u[h]);if(c&&c.defaultProps)for(h in u=c.defaultProps,u)y[h]===void 0&&(y[h]=u[h]);return{$$typeof:t,type:c,key:_,ref:v,props:y,_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[An]+=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 Ru(){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"),y=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),S=Symbol.iterator,O="@@iterator";function P(d){if(d===null||typeof d!="object")return null;var w=S&&d[S]||d[O];return typeof w=="function"?w:null}var E=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function k(d){{for(var w=arguments.length,T=new Array(w>1?w-1:0),z=1;z<w;z++)T[z-1]=arguments[z];R("error",d,T)}}function R(d,w,T){{var z=E.ReactDebugCurrentFrame,ie=z.getStackAddendum();ie!==""&&(w+="%s",T=T.concat([ie]));var re=T.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===y||d.$$typeof===a||d.$$typeof===c||d.$$typeof===u||d.$$typeof===we||d.getModuleId!==void 0))}function Fe(d,w,T){var z=d.displayName;if(z)return z;var ie=w.displayName||w.name||"";return ie!==""?T+"("+ie+")":T}function Le(d){return d.displayName||"Context"}function _e(d){if(d==null)return null;if(typeof d.tag=="number"&&k("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 T=d;return Le(T._context)+".Provider";case u:return Fe(d,d.render,"ForwardRef");case y:var z=d.displayName||null;return z!==null?z:_e(d.type)||"Memo";case _:{var ie=d,re=ie._payload,X=ie._init;try{return _e(X(re))}catch{return null}}}return null}var K=Object.assign,Ee=0,se,ce,le,ne,H,ue,ye;function Y(){}Y.__reactDisabledLog=!0;function at(){{if(Ee===0){se=console.log,ce=console.info,le=console.warn,ne=console.error,H=console.group,ue=console.groupCollapsed,ye=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:ne}),group:K({},d,{value:H}),groupCollapsed:K({},d,{value:ue}),groupEnd:K({},d,{value:ye})})}Ee<0&&k("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var qe=E.ReactCurrentDispatcher,Ge;function fe(d,w,T){{if(Ge===void 0)try{throw Error()}catch(ie){var z=ie.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 T=Te.get(d);if(T!==void 0)return T}var z;xe=!0;var ie=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 ke=`
|
|
79
|
+
`+J[W].replace(" at new "," at ");return d.displayName&&ke.includes("<anonymous>")&&(ke=ke.replace("<anonymous>",d.displayName)),typeof d=="function"&&Te.set(d,ke),ke}while(W>=1&&de>=0);break}}}finally{xe=!1,qe.current=re,tt(),Error.prepareStackTrace=ie}var Ze=d?d.displayName||d.name:"",Jt=Ze?fe(Ze):"";return typeof d=="function"&&Te.set(d,Jt),Jt}function dt(d,w,T){return Pe(d,!1)}function jt(d){var w=d.prototype;return!!(w&&w.isReactComponent)}function Ae(d,w,T){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 y:return Ae(d.type,w,T);case _:{var z=d,ie=z._payload,re=z._init;try{return Ae(re(ie),w,T)}catch{}}}return""}var ft=Object.prototype.hasOwnProperty,Je={},pt=E.ReactDebugCurrentFrame;function pe(d){if(d){var w=d._owner,T=Ae(d.type,d._source,w?w.type:null);pt.setExtraStackFrame(T)}else pt.setExtraStackFrame(null)}function ht(d,w,T,z,ie){{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")+": "+T+" 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,T,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(W){J=W}J&&!(J instanceof Error)&&(pe(ie),k("%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",T,X,typeof J),pe(null)),J instanceof Error&&!(J.message in Je)&&(Je[J.message]=!0,pe(ie),k("Failed %s type: %s",T,J.message),pe(null))}}}var gt=Array.isArray;function yt(d){return gt(d)}function kt(d){{var w=typeof Symbol=="function"&&Symbol.toStringTag,T=w&&d[Symbol.toStringTag]||d.constructor.name||"Object";return T}}function rt(d){try{return st(d),!1}catch{return!0}}function st(d){return""+d}function mt(d){if(rt(d))return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",kt(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 T=_e(Ke.current.type);He[T]||(k('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[T]=!0)}}function Vt(d,w){{var T=function(){St||(St=!0,k("%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))};T.isReactWarning=!0,Object.defineProperty(d,"key",{get:T,configurable:!0})}}function zt(d,w){{var T=function(){Pt||(Pt=!0,k("%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))};T.isReactWarning=!0,Object.defineProperty(d,"ref",{get:T,configurable:!0})}}var vt=function(d,w,T,z,ie,re,X){var J={$$typeof:t,type:d,key:w,ref:T,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:ie}),Object.freeze&&(Object.freeze(J.props),Object.freeze(J)),J};function bt(d,w,T,z,ie){{var re,X={},J=null,Ne=null;T!==void 0&&(mt(T),J=""+T),nt(w)&&(mt(w.key),J=""+w.key),It(w)&&(Ne=w.ref,$e(w,ie));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,ie,z,Ke.current,X)}}var Ye=E.ReactCurrentOwner,ct=E.ReactDebugCurrentFrame;function We(d){if(d){var w=d._owner,T=Ae(d.type,d._source,w?w.type:null);ct.setExtraStackFrame(T)}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 T=typeof d=="string"?d:d.displayName||d.name;T&&(w=`
|
|
82
82
|
|
|
83
|
-
Check the top-level render call using <`+
|
|
83
|
+
Check the top-level render call using <`+T+">.")}return w}}function Ie(d,w){{if(!d._store||d._store.validated||d.key!=null)return;d._store.validated=!0;var T=ee(w);if(V[T])return;V[T]=!0;var z="";d&&d._owner&&d._owner!==Ye.current&&(z=" It was passed a child from "+_e(d._owner.type)+"."),We(d),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',T,z),We(null)}}function wt(d,w){{if(typeof d!="object")return;if(yt(d))for(var T=0;T<d.length;T++){var z=d[T];Et(z)&&Ie(z,w)}else if(Et(d))d._store&&(d._store.validated=!0);else if(d){var ie=P(d);if(typeof ie=="function"&&ie!==d.entries)for(var re=ie.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 T;if(typeof w=="function")T=w.propTypes;else if(typeof w=="object"&&(w.$$typeof===u||w.$$typeof===y))T=w.propTypes;else return;if(T){var z=_e(w);ht(T,d.props,"prop",z,d)}else if(w.PropTypes!==void 0&&!Qe){Qe=!0;var ie=_e(w);k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ie||"Unknown")}typeof w.getDefaultProps=="function"&&!w.getDefaultProps.isReactClassApproved&&k("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),T=0;T<w.length;T++){var z=w[T];if(z!=="children"&&z!=="key"){We(d),k("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),k("Invalid attribute `ref` supplied to `React.Fragment`."),We(null))}}function U(d,w,T,z,ie,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":yt(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,k("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,T,ie,re);if(de==null)return de;if(X){var ke=w.children;if(ke!==void 0)if(z)if(yt(ke)){for(var Ze=0;Ze<ke.length;Ze++)wt(ke[Ze],d);Object.freeze&&Object.freeze(ke)}else k("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(ke,d)}return d===n?B(de):j(de),de}}function Ce(d,w,T){return U(d,w,T,!0)}function De(d,w,T){return U(d,w,T,!1)}var lt=De,Oe=Ce;qr.Fragment=n,qr.jsx=lt,qr.jsxs=Oe}()),qr}process.env.NODE_ENV==="production"?Ho.exports=ku():Ho.exports=Ru();var A=Ho.exports;const ju={25:"#fcfcfd",50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#2f394b",800:"#212a36",900:"#161b25"},Pu={25:"#fef2f3",50:"#fddfe2",100:"#fbbac0",200:"#f9959e",300:"#f65e6a",400:"#f32637",500:"#bf0b1a",600:"#ac0a17",700:"#9a0915",800:"#870812",900:"#750710"},Iu={25:"",50:"",100:"#ffe6ff",200:"",300:"#b8075d",400:"",500:"#7f0540",600:"",700:"#59042d",800:"",900:"#460323"},Mu={25:"",50:"#fef3f2",100:"",200:"#fecdca",300:"",400:"",500:"#f04438",600:"",700:"#b42318",800:"",900:""},Lu={25:"",50:"#fffaeb",100:"",200:"#fef0c7",300:"",400:"#ffd562",500:"#fdb022",600:"#dc6803",700:"#b54708",800:"",900:""},Du={25:"",50:"#f6fef9",100:"",200:"#a6f4c5",300:"",400:"",500:"#12b76a",600:"",700:"#027a48",800:"",900:""},Nu={25:"",50:"#eff8ff",100:"",200:"#b2ddff",300:"",400:"",500:"#2e90fa",600:"",700:"#175cd3",800:"",900:""},Fu={"01":"linear-gradient(45deg, #f32637 0%, #b8075d 100%)","02":"linear-gradient(45deg, #fcfcfd 0%, #667085 100%)"},Vu={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"}},zu={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)"},Bu={mobile:"480px",tablet:"960px",sm:"1024px",md:"1440px",lg:"1920px"},Wu={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"},Uu=["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"],qu=[["fal","arrow-down"],["fal","arrow-left"],["fal","arrow-right"],["fal","arrow-up"],["fal","plus"],["fal","minus"],["fas","check"],["fas","circle-question"]],C={typography:Vu,shadows:zu,breakpoints:Bu,spacing:Wu,palette:{primary:Pu,complementary:Iu,error:Mu,info:Nu,warning:Lu,success:Du,black:"#0c111d",white:"#ffffff",gray:ju,gradients:Fu}},Gu=({children:e})=>A.jsx(Au,{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
|
+
`},Hu=e=>e.includes("x")?"overflow-x: auto;":"",Yu=e=>e.includes("y")?"overflow-y: auto;":"",nn=e=>{const t=e.scroll?`
|
|
99
|
+
${Hu(e.scroll)}
|
|
100
|
+
${Yu(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),y=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),O=G("flex-grow",e.flexGrow),P=G("justify-content",e.justify),E=G("justify-self",e.justifySelf),k=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
|
-
${
|
|
115
|
-
${
|
|
116
|
-
${C}
|
|
114
|
+
${y}
|
|
115
|
+
${S}
|
|
117
116
|
${O}
|
|
118
|
-
${
|
|
119
|
-
${
|
|
117
|
+
${P}
|
|
118
|
+
${E}
|
|
119
|
+
${k}
|
|
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),y=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
|
+
${y}
|
|
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 <`+E+">.")}return b}}function Ie(f,b){{if(
|
|
|
141
141
|
${n}
|
|
142
142
|
${o}
|
|
143
143
|
}
|
|
144
|
-
`},
|
|
144
|
+
`},sn=()=>({shouldForwardProp:e=>!gs.includes(e)}),cn=ae.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
|
+
`,Vs=ae.button.withConfig(sn())`
|
|
153
153
|
${Zr}
|
|
154
154
|
${en}
|
|
155
155
|
${tn}
|
|
156
156
|
${nn}
|
|
157
157
|
${on}
|
|
158
158
|
${rn}
|
|
159
|
-
${
|
|
160
|
-
`,wi
|
|
159
|
+
${an}
|
|
160
|
+
`,wi=ae.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
|
+
`,zs=ae.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
|
+
`,Qu=(e,t,r,n)=>n==="platform"?t||e===r-1?"1px solid":void 0:e===r-1?"1px solid":void 0,Ju=(e,t)=>t==="progress"&&e?void 0:"1px solid",Ku=(e,t)=>t==="simple"?e?"minus":"plus":e?"chevron-up":"chevron-down",Xu=e=>e?"block":"none",Zu=(e,t,r)=>{r(e===t?n=>!n:!0)},ed=e=>e==="platform"?[.75,.75,.75,.75]:[1.5,2,1.5,2],td=e=>{if(e==="platform")return[.75,.75,.75,.75]},rd=e=>e==="platform"?C.palette.gray[100]:C.palette.gray[50],nd=e=>e==="platform"?C.palette.gray[200]:C.palette.gray[300],od=e=>e==="platform"?C.palette.gray[400]:C.palette.gray[800],id=e=>e==="end"?"row":"row-reverse",Bs=e=>e==="platform"?"sm":"md",ad=ae(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
|
+
`,Ot=b.forwardRef(function({as:t="div",center:r,children:n,id:o,onHover:i,onLeave:a,...c},u){return A.jsx(ad,{$center:r,as:t,id:o,onMouseLeave:a,onMouseOver:i,ref:u,...c,children:n})}),sd=ae(wi)`
|
|
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 <`+E+">.")}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
|
+
`,cd=ae(wi)`
|
|
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,27 +220,14 @@ Check the top-level render call using <`+E+">.")}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
|
-
|
|
228
|
-
animation-fill-mode: both;
|
|
229
|
-
|
|
230
|
-
@keyframes progress-bar {
|
|
231
|
-
0% {
|
|
232
|
-
width: 0;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
100% {
|
|
236
|
-
width: 100%;
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
`,sf={xl:"96px",lg:"64px",md:"32px",sm:"24px",xs:"16px",xxs:"12px"},af=$e(Da)`
|
|
240
|
-
${({$clickable:e,$color:t="inherit",$disabled:r=!1,$hoverColor:n,$rotation:o,$size:i})=>{const s=n?"":"brightness(50%)",c=n??"";return`
|
|
226
|
+
`,_i=b.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:a,lineSpacing:c,size:u,sizeMd:f,sizeSm:h,wordBreak:y,..._},v){return A.jsx(sd,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:a,$lineSpacing:c,$size:u,$sizeMd:f,$sizeSm:h,$wordBreak:y,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:y,..._},v){return A.jsx(cd,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:a,$lineSpacing:c,$size:u,$sizeMd:f,$sizeSm:h,$wordBreak:y,ref:v,..._,children:t})}),$a=({isSelectedAndOpen:e,item:t,variant:r,render:n})=>n?A.jsxs(Ot,{display:Xu(e),padding:td(r),children:[t.description?A.jsx(xt,{mb:t.extraElement?.5:void 0,mt:r==="platform"?void 0:.5,size:Bs(r),sizeSm:"sm",children:t.description}):void 0,t.extraElement?A.jsx(Ot,{children:t.extraElement}):void 0]}):null,ld={xl:"96px",lg:"64px",md:"32px",sm:"24px",xs:"16px",xxs:"12px"},ud=ae(zs)`
|
|
227
|
+
${({$clickable:e,$color:t="inherit",$disabled:r=!1,$hoverColor:n,$rotation:o,$size:i})=>{const a=n?"":"brightness(50%)",c=n??"";return`
|
|
241
228
|
color: ${t};
|
|
242
229
|
cursor: ${e?"pointer":"inherit"};
|
|
243
|
-
font-size: ${
|
|
230
|
+
font-size: ${ld[i]};
|
|
244
231
|
line-height: 0;
|
|
245
232
|
vertical-align: middle;
|
|
246
233
|
pointer-events: inherit;
|
|
@@ -256,18 +243,31 @@ Check the top-level render call using <`+E+">.")}return b}}function Ie(f,b){{if(
|
|
|
256
243
|
}
|
|
257
244
|
|
|
258
245
|
${e?`&:hover {
|
|
259
|
-
filter: ${
|
|
246
|
+
filter: ${a};
|
|
260
247
|
color: ${c};
|
|
261
248
|
}`:""}
|
|
262
249
|
`}}
|
|
263
|
-
|
|
250
|
+
`;ae.div`
|
|
264
251
|
cursor: pointer;
|
|
265
252
|
transition: all 0.2s ease-in-out;
|
|
266
253
|
|
|
267
254
|
&:hover:not([disabled]) {
|
|
268
255
|
transform: scale(1.2);
|
|
269
256
|
}
|
|
270
|
-
`;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:y,rotation:_,...v},S){return A.jsx(ud,{$clickable:t,$color:a,$disabled:r,$hoverColor:n,$rotation:_,$size:u,"data-testid":`${o}-icon`,onClick:y,ref:S,...v,children:A.jsx("i",{className:`${h} fa-${o} ${i}`,...c!==void 0?{"data-fa-mask":c}:{},...f!==void 0?{"data-fa-transform":f}:{}})},`${h}-${o}`)}),dd=ae(cn)`
|
|
258
|
+
animation: ${({$animationTime:e})=>`progress-bar ${e}s ease-in-out`};
|
|
259
|
+
animation-fill-mode: both;
|
|
260
|
+
|
|
261
|
+
@keyframes progress-bar {
|
|
262
|
+
0% {
|
|
263
|
+
width: 0;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
100% {
|
|
267
|
+
width: 100%;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
`,fd=e=>e*1e3/100,Ws=({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)},fd(e));return()=>{clearInterval(i)}},[n,e]),A.jsx(Ot,{bgColor:C.palette.gray[200],height:"4px",children:A.jsx(dd,{$animationTime:e,bgGradient:C.palette.gradients["01"],height:"100%",width:`${n}%`})})},pd=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,y]=b.useState(c?0:-1),_=b.useCallback(S=>()=>{y(S),Zu(S,h,f)},[h]),v=b.useCallback(()=>{y(S=>S===n.length-1?0:S+1)},[n.length]);return A.jsx(Ot,{ref:a,children:n.map((S,O)=>{const P=O===h&&u;return A.jsxs(Ot,{bgColor:o??C.palette.white,children:[c&&P?A.jsx(Ws,{onComplete:v,progressTime:r}):void 0,A.jsxs(Ot,{bgColorHover:rd(i),borderBottom:Qu(O,P,n.length,i),borderColor:nd(i),borderTop:Ju(P,i),cursor:"pointer",onClick:_(O),padding:ed(i),children:[A.jsxs(Ot,{display:"flex",flexDirection:id(t),gap:.75,justify:"space-between",children:[A.jsx(xt,{color:C.palette.gray[800],fontWeight:"bold",size:Bs(i),sizeSm:"sm",children:S.title}),A.jsx(Ft,{icon:Ku(P,i),iconColor:od(i),iconSize:"xs",iconType:"fa-light"})]}),A.jsx($a,{isSelectedAndOpen:P,item:S,render:i!=="platform",variant:i})]}),A.jsx($a,{isSelectedAndOpen:P,item:S,render:i==="platform",variant:i})]},S.title)})})}),{getVariant:hd}=hs(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 <`+E+">.")}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
|
+
`})),gd=ae(Vs)`
|
|
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 <`+E+">.")}return b}}function Ie(f,b){{if(
|
|
|
438
438
|
--btn-padding-y: ${e.spacing[1]};
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
${
|
|
441
|
+
${hd(e,t??"primaryWeb")}
|
|
442
442
|
`}
|
|
443
|
-
`,Pr=Math.min,mr=Math.max,Nn=Math.round,Cn=Math.floor,sr=e=>({x:e,y:e}),ff={left:"right",right:"left",bottom:"top",top:"bottom"},df={start:"end",end:"start"};function Yo(e,t,r){return mr(e,Pr(t,r))}function cn(e,t){return typeof e=="function"?e(t):e}function br(e){return e.split("-")[0]}function ln(e){return e.split("-")[1]}function Ba(e){return e==="x"?"y":"x"}function _i(e){return e==="y"?"height":"width"}function Ir(e){return["top","bottom"].includes(br(e))?"y":"x"}function xi(e){return Ba(Ir(e))}function pf(e,t,r){r===void 0&&(r=!1);const n=ln(e),o=xi(e),i=_i(o);let s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Fn(s)),[s,Fn(s)]}function hf(e){const t=Fn(e);return[Qo(e),t,Qo(t)]}function Qo(e){return e.replace(/start|end/g,t=>df[t])}function gf(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:s;default:return[]}}function mf(e,t,r,n){const o=ln(e);let i=gf(br(e),r==="start",n);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Qo)))),i}function Fn(e){return e.replace(/left|right|bottom|top/g,t=>ff[t])}function yf(e){return{top:0,right:0,bottom:0,left:0,...e}}function za(e){return typeof e!="number"?yf(e):{top:e,right:e,bottom:e,left:e}}function Vn(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function xs(e,t,r){let{reference:n,floating:o}=e;const i=Ir(t),s=xi(t),c=_i(s),u=br(t),d=i==="y",h=n.x+n.width/2-o.width/2,m=n.y+n.height/2-o.height/2,_=n[c]/2-o[c]/2;let v;switch(u){case"top":v={x:h,y:n.y-o.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:m};break;case"left":v={x:n.x-o.width,y:m};break;default:v={x:n.x,y:n.y}}switch(ln(t)){case"start":v[s]-=_*(r&&d?-1:1);break;case"end":v[s]+=_*(r&&d?-1:1);break}return v}const vf=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,c=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let d=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y:m}=xs(d,n,u),_=n,v={},T=0;for(let C=0;C<c.length;C++){const{name:O,fn:x}=c[C],{x:A,y:R,data:M,reset:L}=await x({x:h,y:m,initialPlacement:n,placement:_,strategy:o,middlewareData:v,rects:d,platform:s,elements:{reference:e,floating:t}});h=A??h,m=R??m,v={...v,[O]:{...v[O],...M}},L&&T<=50&&(T++,typeof L=="object"&&(L.placement&&(_=L.placement),L.rects&&(d=L.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):L.rects),{x:h,y:m}=xs(d,_,u)),C=-1)}return{x:h,y:m,placement:_,strategy:o,middlewareData:v}};async function Wa(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:s,elements:c,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:_=!1,padding:v=0}=cn(t,e),T=za(v),O=c[_?m==="floating"?"reference":"floating":m],x=Vn(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(O)))==null||r?O:O.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:d,rootBoundary:h,strategy:u})),A=m==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,R=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),M=await(i.isElement==null?void 0:i.isElement(R))?await(i.getScale==null?void 0:i.getScale(R))||{x:1,y:1}:{x:1,y:1},L=Vn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:A,offsetParent:R,strategy:u}):A);return{top:(x.top-L.top+T.top)/M.y,bottom:(L.bottom-x.bottom+T.bottom)/M.y,left:(x.left-L.left+T.left)/M.x,right:(L.right-x.right+T.right)/M.x}}const bf=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:s,elements:c,middlewareData:u}=t,{element:d,padding:h=0}=cn(e,t)||{};if(d==null)return{};const m=za(h),_={x:r,y:n},v=xi(o),T=_i(v),C=await s.getDimensions(d),O=v==="y",x=O?"top":"left",A=O?"bottom":"right",R=O?"clientHeight":"clientWidth",M=i.reference[T]+i.reference[v]-_[v]-i.floating[T],L=_[v]-i.reference[v],N=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let P=N?N[R]:0;(!P||!await(s.isElement==null?void 0:s.isElement(N)))&&(P=c.floating[R]||i.floating[T]);const ve=M/2-L/2,be=P/2-C[T]/2-1,pe=Pr(m[x],be),Fe=Pr(m[A],be),Le=pe,we=P-C[T]-Fe,J=P/2-C[T]/2+ve,Ee=Yo(Le,J,we),se=!u.arrow&&ln(o)!=null&&J!==Ee&&i.reference[T]/2-(J<Le?pe:Fe)-C[T]/2<0,ae=se?J<Le?J-Le:J-we:0;return{[v]:_[v]+ae,data:{[v]:Ee,centerOffset:J-Ee-ae,...se&&{alignmentOffset:ae}},reset:se}}}),wf=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:s,initialPlacement:c,platform:u,elements:d}=t,{mainAxis:h=!0,crossAxis:m=!0,fallbackPlacements:_,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:C=!0,...O}=cn(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const x=br(o),A=Ir(c),R=br(c)===c,M=await(u.isRTL==null?void 0:u.isRTL(d.floating)),L=_||(R||!C?[Fn(c)]:hf(c)),N=T!=="none";!_&&N&&L.push(...mf(c,C,T,M));const P=[c,...L],ve=await Wa(t,O),be=[];let pe=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&be.push(ve[x]),m){const J=pf(o,s,M);be.push(ve[J[0]],ve[J[1]])}if(pe=[...pe,{placement:o,overflows:be}],!be.every(J=>J<=0)){var Fe,Le;const J=(((Fe=i.flip)==null?void 0:Fe.index)||0)+1,Ee=P[J];if(Ee)return{data:{index:J,overflows:pe},reset:{placement:Ee}};let se=(Le=pe.filter(ae=>ae.overflows[0]<=0).sort((ae,ce)=>ae.overflows[1]-ce.overflows[1])[0])==null?void 0:Le.placement;if(!se)switch(v){case"bestFit":{var we;const ae=(we=pe.filter(ce=>{if(N){const re=Ir(ce.placement);return re===A||re==="y"}return!0}).map(ce=>[ce.placement,ce.overflows.filter(re=>re>0).reduce((re,G)=>re+G,0)]).sort((ce,re)=>ce[1]-re[1])[0])==null?void 0:we[0];ae&&(se=ae);break}case"initialPlacement":se=c;break}if(o!==se)return{reset:{placement:se}}}return{}}}};async function _f(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=br(r),c=ln(r),u=Ir(r)==="y",d=["left","top"].includes(s)?-1:1,h=i&&u?-1:1,m=cn(t,e);let{mainAxis:_,crossAxis:v,alignmentAxis:T}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return c&&typeof T=="number"&&(v=c==="end"?T*-1:T),u?{x:v*h,y:_*d}:{x:_*d,y:v*h}}const xf=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:s,middlewareData:c}=t,u=await _f(t,e);return s===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:s}}}}},Sf=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:c={fn:O=>{let{x,y:A}=O;return{x,y:A}}},...u}=cn(e,t),d={x:r,y:n},h=await Wa(t,u),m=Ir(br(o)),_=Ba(m);let v=d[_],T=d[m];if(i){const O=_==="y"?"top":"left",x=_==="y"?"bottom":"right",A=v+h[O],R=v-h[x];v=Yo(A,v,R)}if(s){const O=m==="y"?"top":"left",x=m==="y"?"bottom":"right",A=T+h[O],R=T-h[x];T=Yo(A,T,R)}const C=c.fn({...t,[_]:v,[m]:T});return{...C,data:{x:C.x-r,y:C.y-n,enabled:{[_]:i,[m]:s}}}}}};function to(){return typeof window<"u"}function Dr(e){return Ua(e)?(e.nodeName||"").toLowerCase():"#document"}function Rt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Yt(e){var t;return(t=(Ua(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ua(e){return to()?e instanceof Node||e instanceof Rt(e).Node:!1}function Bt(e){return to()?e instanceof Element||e instanceof Rt(e).Element:!1}function Ht(e){return to()?e instanceof HTMLElement||e instanceof Rt(e).HTMLElement:!1}function Ss(e){return!to()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Rt(e).ShadowRoot}function un(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=zt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function $f(e){return["table","td","th"].includes(Dr(e))}function ro(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Si(e){const t=$i(),r=Bt(e)?zt(e):e;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Ef(e){let t=ar(e);for(;Ht(t)&&!Mr(t);){if(Si(t))return t;if(ro(t))return null;t=ar(t)}return null}function $i(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Mr(e){return["html","body","#document"].includes(Dr(e))}function zt(e){return Rt(e).getComputedStyle(e)}function no(e){return Bt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ar(e){if(Dr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ss(e)&&e.host||Yt(e);return Ss(t)?t.host:t}function qa(e){const t=ar(e);return Mr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ht(t)&&un(t)?t:qa(t)}function Qr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=qa(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),s=Rt(o);if(i){const c=Jo(s);return t.concat(s,s.visualViewport||[],un(o)?o:[],c&&r?Qr(c):[])}return t.concat(o,Qr(o,[],r))}function Jo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ga(e){const t=zt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Ht(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,c=Nn(r)!==i||Nn(n)!==s;return c&&(r=i,n=s),{width:r,height:n,$:c}}function Ei(e){return Bt(e)?e:e.contextElement}function Ar(e){const t=Ei(e);if(!Ht(t))return sr(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Ga(t);let s=(i?Nn(r.width):r.width)/n,c=(i?Nn(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Tf=sr(0);function Ha(e){const t=Rt(e);return!$i()||!t.visualViewport?Tf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Af(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Rt(e)?!1:t}function wr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=Ei(e);let s=sr(1);t&&(n?Bt(n)&&(s=Ar(n)):s=Ar(e));const c=Af(i,r,n)?Ha(i):sr(0);let u=(o.left+c.x)/s.x,d=(o.top+c.y)/s.y,h=o.width/s.x,m=o.height/s.y;if(i){const _=Rt(i),v=n&&Bt(n)?Rt(n):n;let T=_,C=Jo(T);for(;C&&n&&v!==T;){const O=Ar(C),x=C.getBoundingClientRect(),A=zt(C),R=x.left+(C.clientLeft+parseFloat(A.paddingLeft))*O.x,M=x.top+(C.clientTop+parseFloat(A.paddingTop))*O.y;u*=O.x,d*=O.y,h*=O.x,m*=O.y,u+=R,d+=M,T=Rt(C),C=Jo(T)}}return Vn({width:h,height:m,x:u,y:d})}function Cf(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",s=Yt(n),c=t?ro(t.floating):!1;if(n===s||c&&i)return r;let u={scrollLeft:0,scrollTop:0},d=sr(1);const h=sr(0),m=Ht(n);if((m||!m&&!i)&&((Dr(n)!=="body"||un(s))&&(u=no(n)),Ht(n))){const _=wr(n);d=Ar(n),h.x=_.x+n.clientLeft,h.y=_.y+n.clientTop}return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-u.scrollLeft*d.x+h.x,y:r.y*d.y-u.scrollTop*d.y+h.y}}function Of(e){return Array.from(e.getClientRects())}function Ko(e,t){const r=no(e).scrollLeft;return t?t.left+r:wr(Yt(e)).left+r}function Rf(e){const t=Yt(e),r=no(e),n=e.ownerDocument.body,o=mr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=mr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Ko(e);const c=-r.scrollTop;return zt(n).direction==="rtl"&&(s+=mr(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:c}}function kf(e,t){const r=Rt(e),n=Yt(e),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,c=0,u=0;if(o){i=o.width,s=o.height;const d=$i();(!d||d&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:i,height:s,x:c,y:u}}function jf(e,t){const r=wr(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Ht(e)?Ar(e):sr(1),s=e.clientWidth*i.x,c=e.clientHeight*i.y,u=o*i.x,d=n*i.y;return{width:s,height:c,x:u,y:d}}function $s(e,t,r){let n;if(t==="viewport")n=kf(e,r);else if(t==="document")n=Rf(Yt(e));else if(Bt(t))n=jf(t,r);else{const o=Ha(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return Vn(n)}function Ya(e,t){const r=ar(e);return r===t||!Bt(r)||Mr(r)?!1:zt(r).position==="fixed"||Ya(r,t)}function Pf(e,t){const r=t.get(e);if(r)return r;let n=Qr(e,[],!1).filter(c=>Bt(c)&&Dr(c)!=="body"),o=null;const i=zt(e).position==="fixed";let s=i?ar(e):e;for(;Bt(s)&&!Mr(s);){const c=zt(s),u=Si(s);!u&&c.position==="fixed"&&(o=null),(i?!u&&!o:!u&&c.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||un(s)&&!u&&Ya(e,s))?n=n.filter(h=>h!==s):o=c,s=ar(s)}return t.set(e,n),n}function If(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?ro(t)?[]:Pf(t,this._c):[].concat(r),n],c=s[0],u=s.reduce((d,h)=>{const m=$s(t,h,o);return d.top=mr(m.top,d.top),d.right=Pr(m.right,d.right),d.bottom=Pr(m.bottom,d.bottom),d.left=mr(m.left,d.left),d},$s(t,c,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Mf(e){const{width:t,height:r}=Ga(e);return{width:t,height:r}}function Lf(e,t,r){const n=Ht(t),o=Yt(t),i=r==="fixed",s=wr(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const u=sr(0);if(n||!n&&!i)if((Dr(t)!=="body"||un(o))&&(c=no(t)),n){const v=wr(t,!0,i,t);u.x=v.x+t.clientLeft,u.y=v.y+t.clientTop}else o&&(u.x=Ko(o));let d=0,h=0;if(o&&!n&&!i){const v=o.getBoundingClientRect();h=v.top+c.scrollTop,d=v.left+c.scrollLeft-Ko(o,v)}const m=s.left+c.scrollLeft-u.x-d,_=s.top+c.scrollTop-u.y-h;return{x:m,y:_,width:s.width,height:s.height}}function ko(e){return zt(e).position==="static"}function Es(e,t){if(!Ht(e)||zt(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Yt(e)===r&&(r=r.ownerDocument.body),r}function Qa(e,t){const r=Rt(e);if(ro(e))return r;if(!Ht(e)){let o=ar(e);for(;o&&!Mr(o);){if(Bt(o)&&!ko(o))return o;o=ar(o)}return r}let n=Es(e,t);for(;n&&$f(n)&&ko(n);)n=Es(n,t);return n&&Mr(n)&&ko(n)&&!Si(n)?r:n||Ef(e)||r}const Df=async function(e){const t=this.getOffsetParent||Qa,r=this.getDimensions,n=await r(e.floating);return{reference:Lf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Nf(e){return zt(e).direction==="rtl"}const Ff={convertOffsetParentRelativeRectToViewportRelativeRect:Cf,getDocumentElement:Yt,getClippingRect:If,getOffsetParent:Qa,getElementRects:Df,getClientRects:Of,getDimensions:Mf,getScale:Ar,isElement:Bt,isRTL:Nf};function Vf(e,t){let r=null,n;const o=Yt(e);function i(){var c;clearTimeout(n),(c=r)==null||c.disconnect(),r=null}function s(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),i();const{left:d,top:h,width:m,height:_}=e.getBoundingClientRect();if(c||t(),!m||!_)return;const v=Cn(h),T=Cn(o.clientWidth-(d+m)),C=Cn(o.clientHeight-(h+_)),O=Cn(d),A={rootMargin:-v+"px "+-T+"px "+-C+"px "+-O+"px",threshold:mr(0,Pr(1,u))||1};let R=!0;function M(L){const N=L[0].intersectionRatio;if(N!==u){if(!R)return s();N?s(!1,N):n=setTimeout(()=>{s(!1,1e-7)},1e3)}R=!1}try{r=new IntersectionObserver(M,{...A,root:o.ownerDocument})}catch{r=new IntersectionObserver(M,A)}r.observe(e)}return s(!0),i}function Bf(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,d=Ei(e),h=o||i?[...d?Qr(d):[],...Qr(t)]:[];h.forEach(x=>{o&&x.addEventListener("scroll",r,{passive:!0}),i&&x.addEventListener("resize",r)});const m=d&&c?Vf(d,r):null;let _=-1,v=null;s&&(v=new ResizeObserver(x=>{let[A]=x;A&&A.target===d&&v&&(v.unobserve(t),cancelAnimationFrame(_),_=requestAnimationFrame(()=>{var R;(R=v)==null||R.observe(t)})),r()}),d&&!u&&v.observe(d),v.observe(t));let T,C=u?wr(e):null;u&&O();function O(){const x=wr(e);C&&(x.x!==C.x||x.y!==C.y||x.width!==C.width||x.height!==C.height)&&r(),C=x,T=requestAnimationFrame(O)}return r(),()=>{var x;h.forEach(A=>{o&&A.removeEventListener("scroll",r),i&&A.removeEventListener("resize",r)}),m==null||m(),(x=v)==null||x.disconnect(),v=null,u&&cancelAnimationFrame(T)}}const Ja=xf,zf=Sf,Ka=wf,Wf=bf,Ts=(e,t,r)=>{const n=new Map,o={platform:Ff,...r},i={...o.platform,_c:n};return vf(e,t,{...o,platform:i})},Uf=(e,t)=>({...Ja(e),options:[e,t]}),qf=(e,t)=>({...Ka(e),options:[e,t]});var Gf=Object.prototype;function Hf(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Gf;return e===r}var Xa=Hf;function Yf(e,t){return function(r){return e(t(r))}}var Qf=Yf,Jf=Qf,Kf=Jf(Object.keys,Object),Xf=Kf,Zf=Xa,ed=Xf,td=Object.prototype,rd=td.hasOwnProperty;function nd(e){if(!Zf(e))return ed(e);var t=[];for(var r in Object(e))rd.call(e,r)&&r!="constructor"&&t.push(r);return t}var od=nd,id=typeof Sn=="object"&&Sn&&Sn.Object===Object&&Sn,Za=id,sd=Za,ad=typeof self=="object"&&self&&self.Object===Object&&self,cd=sd||ad||Function("return this")(),cr=cd,ld=cr,ud=ld.Symbol,ec=ud,As=ec,tc=Object.prototype,fd=tc.hasOwnProperty,dd=tc.toString,Gr=As?As.toStringTag:void 0;function pd(e){var t=fd.call(e,Gr),r=e[Gr];try{e[Gr]=void 0;var n=!0}catch{}var o=dd.call(e);return n&&(t?e[Gr]=r:delete e[Gr]),o}var hd=pd,gd=Object.prototype,md=gd.toString;function yd(e){return md.call(e)}var vd=yd,Cs=ec,bd=hd,wd=vd,_d="[object Null]",xd="[object Undefined]",Os=Cs?Cs.toStringTag:void 0;function Sd(e){return e==null?e===void 0?xd:_d:Os&&Os in Object(e)?bd(e):wd(e)}var oo=Sd;function $d(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var rc=$d,Ed=oo,Td=rc,Ad="[object AsyncFunction]",Cd="[object Function]",Od="[object GeneratorFunction]",Rd="[object Proxy]";function kd(e){if(!Td(e))return!1;var t=Ed(e);return t==Cd||t==Od||t==Ad||t==Rd}var nc=kd,jd=cr,Pd=jd["__core-js_shared__"],Id=Pd,jo=Id,Rs=function(){var e=/[^.]+$/.exec(jo&&jo.keys&&jo.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Md(e){return!!Rs&&Rs in e}var Ld=Md,Dd=Function.prototype,Nd=Dd.toString;function Fd(e){if(e!=null){try{return Nd.call(e)}catch{}try{return e+""}catch{}}return""}var oc=Fd,Vd=nc,Bd=Ld,zd=rc,Wd=oc,Ud=/[\\^$.*+?()[\]{}|]/g,qd=/^\[object .+?Constructor\]$/,Gd=Function.prototype,Hd=Object.prototype,Yd=Gd.toString,Qd=Hd.hasOwnProperty,Jd=RegExp("^"+Yd.call(Qd).replace(Ud,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Kd(e){if(!zd(e)||Bd(e))return!1;var t=Vd(e)?Jd:qd;return t.test(Wd(e))}var Xd=Kd;function Zd(e,t){return e==null?void 0:e[t]}var ep=Zd,tp=Xd,rp=ep;function np(e,t){var r=rp(e,t);return tp(r)?r:void 0}var fn=np,op=fn,ip=cr,sp=op(ip,"DataView"),ap=sp,cp=fn,lp=cr,up=cp(lp,"Map"),fp=up,dp=fn,pp=cr,hp=dp(pp,"Promise"),gp=hp,mp=fn,yp=cr,vp=mp(yp,"Set"),bp=vp,wp=fn,_p=cr,xp=wp(_p,"WeakMap"),Sp=xp,Xo=ap,Zo=fp,ei=gp,ti=bp,ri=Sp,ic=oo,Nr=oc,ks="[object Map]",$p="[object Object]",js="[object Promise]",Ps="[object Set]",Is="[object WeakMap]",Ms="[object DataView]",Ep=Nr(Xo),Tp=Nr(Zo),Ap=Nr(ei),Cp=Nr(ti),Op=Nr(ri),fr=ic;(Xo&&fr(new Xo(new ArrayBuffer(1)))!=Ms||Zo&&fr(new Zo)!=ks||ei&&fr(ei.resolve())!=js||ti&&fr(new ti)!=Ps||ri&&fr(new ri)!=Is)&&(fr=function(e){var t=ic(e),r=t==$p?e.constructor:void 0,n=r?Nr(r):"";if(n)switch(n){case Ep:return Ms;case Tp:return ks;case Ap:return js;case Cp:return Ps;case Op:return Is}return t});var Rp=fr;function kp(e){return e!=null&&typeof e=="object"}var Ti=kp,jp=oo,Pp=Ti,Ip="[object Arguments]";function Mp(e){return Pp(e)&&jp(e)==Ip}var Lp=Mp,Ls=Lp,Dp=Ti,sc=Object.prototype,Np=sc.hasOwnProperty,Fp=sc.propertyIsEnumerable,Vp=Ls(function(){return arguments}())?Ls:function(e){return Dp(e)&&Np.call(e,"callee")&&!Fp.call(e,"callee")},Bp=Vp,zp=Array.isArray,Wp=zp,Up=9007199254740991;function qp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Up}var ac=qp,Gp=nc,Hp=ac;function Yp(e){return e!=null&&Hp(e.length)&&!Gp(e)}var Qp=Yp,Bn={exports:{}};function Jp(){return!1}var Kp=Jp;Bn.exports;(function(e,t){var r=cr,n=Kp,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,s=i&&i.exports===o,c=s?r.Buffer:void 0,u=c?c.isBuffer:void 0,d=u||n;e.exports=d})(Bn,Bn.exports);var Xp=Bn.exports,Zp=oo,eh=ac,th=Ti,rh="[object Arguments]",nh="[object Array]",oh="[object Boolean]",ih="[object Date]",sh="[object Error]",ah="[object Function]",ch="[object Map]",lh="[object Number]",uh="[object Object]",fh="[object RegExp]",dh="[object Set]",ph="[object String]",hh="[object WeakMap]",gh="[object ArrayBuffer]",mh="[object DataView]",yh="[object Float32Array]",vh="[object Float64Array]",bh="[object Int8Array]",wh="[object Int16Array]",_h="[object Int32Array]",xh="[object Uint8Array]",Sh="[object Uint8ClampedArray]",$h="[object Uint16Array]",Eh="[object Uint32Array]",je={};je[yh]=je[vh]=je[bh]=je[wh]=je[_h]=je[xh]=je[Sh]=je[$h]=je[Eh]=!0;je[rh]=je[nh]=je[gh]=je[oh]=je[mh]=je[ih]=je[sh]=je[ah]=je[ch]=je[lh]=je[uh]=je[fh]=je[dh]=je[ph]=je[hh]=!1;function Th(e){return th(e)&&eh(e.length)&&!!je[Zp(e)]}var Ah=Th;function Ch(e){return function(t){return e(t)}}var Oh=Ch,zn={exports:{}};zn.exports;(function(e,t){var r=Za,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,s=i&&r.process,c=function(){try{var u=o&&o.require&&o.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();e.exports=c})(zn,zn.exports);var Rh=zn.exports,kh=Ah,jh=Oh,Ds=Rh,Ns=Ds&&Ds.isTypedArray,Ph=Ns?jh(Ns):kh,Ih=Ph,Mh=od,Lh=Rp,Dh=Bp,Nh=Wp,Fh=Qp,Vh=Xp,Bh=Xa,zh=Ih,Wh="[object Map]",Uh="[object Set]",qh=Object.prototype,Gh=qh.hasOwnProperty;function Hh(e){if(e==null)return!0;if(Fh(e)&&(Nh(e)||typeof e=="string"||typeof e.splice=="function"||Vh(e)||zh(e)||Dh(e)))return!e.length;var t=Lh(e);if(t==Wh||t==Uh)return!e.size;if(Bh(e))return!Mh(e).length;for(var r in e)if(Gh.call(e,r))return!1;return!0}var Yh=Hh;const Po=da(Yh);var cc={exports:{}};/*!
|
|
443
|
+
`,Pr=Math.min,yr=Math.max,Fn=Math.round,On=Math.floor,ar=e=>({x:e,y:e}),yd={left:"right",right:"left",bottom:"top",top:"bottom"},md={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 Us(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 Us(Ir(e))}function vd(e,t,r){r===void 0&&(r=!1);const n=un(e),o=$i(e),i=xi(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 bd(e){const t=Vn(e);return[Qo(e),t,Qo(t)]}function Qo(e){return e.replace(/start|end/g,t=>md[t])}function wd(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=wd(br(e),r==="start",n);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Qo)))),i}function Vn(e){return e.replace(/left|right|bottom|top/g,t=>yd[t])}function xd(e){return{top:0,right:0,bottom:0,left:0,...e}}function qs(e){return typeof e!="number"?xd(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=$i(t),c=xi(a),u=br(t),f=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[a]-=_*(r&&f?-1:1);break;case"end":v[a]+=_*(r&&f?-1:1);break}return v}const $d=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}=Sa(f,n,u),_=n,v={},S=0;for(let O=0;O<c.length;O++){const{name:P,fn:E}=c[O],{x:k,y:R,data:L,reset:D}=await E({x:h,y,initialPlacement:n,placement:_,strategy:o,middlewareData:v,rects:f,platform:a,elements:{reference:e,floating:t}});h=k??h,y=R??y,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}=Sa(f,_,u)),O=-1)}return{x:h,y,placement:_,strategy:o,middlewareData:v}};async function Gs(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:y="floating",altBoundary:_=!1,padding:v=0}=ln(t,e),S=qs(v),P=c[_?y==="floating"?"reference":"floating":y],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})),k=y==="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:k,offsetParent:R,strategy:u}):k);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 Sd=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 y=qs(h),_={x:r,y:n},v=$i(o),S=xi(v),O=await a.getDimensions(f),P=v==="y",E=P?"top":"left",k=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-O[S]/2-1,he=Pr(y[E],we),Fe=Pr(y[k],we),Le=he,_e=I-O[S]-Fe,K=I/2-O[S]/2+be,Ee=Yo(Le,K,_e),se=!u.arrow&&un(o)!=null&&K!==Ee&&i.reference[S]/2-(K<Le?he:Fe)-O[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}}}),Ed=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:y=!0,fallbackPlacements:_,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:O=!0,...P}=ln(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const E=br(o),k=Ir(c),R=br(c)===c,L=await(u.isRTL==null?void 0:u.isRTL(f.floating)),D=_||(R||!O?[Vn(c)]:bd(c)),F=S!=="none";!_&&F&&D.push(..._d(c,O,S,L));const I=[c,...D],be=await Gs(t,P),we=[];let he=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&we.push(be[E]),y){const K=vd(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 ne=Ir(le.placement);return ne===k||ne==="y"}return!0}).map(le=>[le.placement,le.overflows.filter(ne=>ne>0).reduce((ne,H)=>ne+H,0)]).sort((le,ne)=>le[1]-ne[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 Td(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,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:_*f}:{x:_*f,y:v*h}}const Ad=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 Td(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}}}}},Cd=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:k}=P;return{x:E,y:k}}},...u}=ln(e,t),f={x:r,y:n},h=await Gs(t,u),y=Ir(br(o)),_=Us(y);let v=f[_],S=f[y];if(i){const P=_==="y"?"top":"left",E=_==="y"?"bottom":"right",k=v+h[P],R=v-h[E];v=Yo(k,v,R)}if(a){const P=y==="y"?"top":"left",E=y==="y"?"bottom":"right",k=S+h[P],R=S-h[E];S=Yo(k,S,R)}const O=c.fn({...t,[_]:v,[y]:S});return{...O,data:{x:O.x-r,y:O.y-n,enabled:{[_]:i,[y]:a}}}}}};function to(){return typeof window<"u"}function Dr(e){return Hs(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=(Hs(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Hs(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 Od(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=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 kd(e){let t=sr(e);for(;Yt(t)&&!Mr(t);){if(Si(t))return t;if(ro(t))return null;t=sr(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 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 Ys(e){const t=sr(e);return Mr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Yt(t)&&dn(t)?t:Ys(t)}function Qr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Ys(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),a=Rt(o);if(i){const c=Jo(a);return t.concat(a,a.visualViewport||[],dn(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 Qs(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 Ti(e){return Wt(e)?e:e.contextElement}function Ar(e){const t=Ti(e);if(!Yt(t))return ar(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Qs(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 Rd=ar(0);function Js(e){const t=Rt(e);return!Ei()||!t.visualViewport?Rd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function jd(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 a=ar(1);t&&(n?Wt(n)&&(a=Ar(n)):a=Ar(e));const c=jd(i,r,n)?Js(i):ar(0);let u=(o.left+c.x)/a.x,f=(o.top+c.y)/a.y,h=o.width/a.x,y=o.height/a.y;if(i){const _=Rt(i),v=n&&Wt(n)?Rt(n):n;let S=_,O=Jo(S);for(;O&&n&&v!==S;){const P=Ar(O),E=O.getBoundingClientRect(),k=Ut(O),R=E.left+(O.clientLeft+parseFloat(k.paddingLeft))*P.x,L=E.top+(O.clientTop+parseFloat(k.paddingTop))*P.y;u*=P.x,f*=P.y,h*=P.x,y*=P.y,u+=R,f+=L,S=Rt(O),O=Jo(S)}}return zn({width:h,height:y,x:u,y:f})}function Pd(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),y=Yt(n);if((y||!y&&!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 Id(e){return Array.from(e.getClientRects())}function Ko(e,t){const r=no(e).scrollLeft;return t?t.left+r:wr(Qt(e)).left+r}function Md(e){const t=Qt(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 a=-r.scrollLeft+Ko(e);const c=-r.scrollTop;return Ut(n).direction==="rtl"&&(a+=yr(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:a,y:c}}function Ld(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=Ei();(!f||f&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:c,y:u}}function Dd(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=Ld(e,r);else if(t==="document")n=Md(Qt(e));else if(Wt(t))n=Dd(t,r);else{const o=Js(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return zn(n)}function Ks(e,t){const r=sr(e);return r===t||!Wt(r)||Mr(r)?!1:Ut(r).position==="fixed"||Ks(r,t)}function Nd(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=Si(a);!u&&c.position==="fixed"&&(o=null),(i?!u&&!o:!u&&c.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||dn(a)&&!u&&Ks(e,a))?n=n.filter(h=>h!==a):o=c,a=sr(a)}return t.set(e,n),n}function Fd(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?ro(t)?[]:Nd(t,this._c):[].concat(r),n],c=a[0],u=a.reduce((f,h)=>{const y=Ta(t,h,o);return f.top=yr(y.top,f.top),f.right=Pr(y.right,f.right),f.bottom=Pr(y.bottom,f.bottom),f.left=yr(y.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 Vd(e){const{width:t,height:r}=Qs(e);return{width:t,height:r}}function zd(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=Ko(o));let f=0,h=0;if(o&&!n&&!i){const v=o.getBoundingClientRect();h=v.top+c.scrollTop,f=v.left+c.scrollLeft-Ko(o,v)}const y=a.left+c.scrollLeft-u.x-f,_=a.top+c.scrollTop-u.y-h;return{x:y,y:_,width:a.width,height:a.height}}function Ro(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 Xs(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)&&!Ro(o))return o;o=sr(o)}return r}let n=Aa(e,t);for(;n&&Od(n)&&Ro(n);)n=Aa(n,t);return n&&Mr(n)&&Ro(n)&&!Si(n)?r:n||kd(e)||r}const Bd=async function(e){const t=this.getOffsetParent||Xs,r=this.getDimensions,n=await r(e.floating);return{reference:zd(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Wd(e){return Ut(e).direction==="rtl"}const Ud={convertOffsetParentRelativeRectToViewportRelativeRect:Pd,getDocumentElement:Qt,getClippingRect:Fd,getOffsetParent:Xs,getElementRects:Bd,getClientRects:Id,getDimensions:Vd,getScale:Ar,isElement:Wt,isRTL:Wd};function qd(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:y,height:_}=e.getBoundingClientRect();if(c||t(),!y||!_)return;const v=On(h),S=On(o.clientWidth-(f+y)),O=On(o.clientHeight-(h+_)),P=On(f),k={rootMargin:-v+"px "+-S+"px "+-O+"px "+-P+"px",threshold:yr(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,{...k,root:o.ownerDocument})}catch{r=new IntersectionObserver(L,k)}r.observe(e)}return a(!0),i}function Gd(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=Ti(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 y=f&&c?qd(f,r):null;let _=-1,v=null;a&&(v=new ResizeObserver(E=>{let[k]=E;k&&k.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,O=u?wr(e):null;u&&P();function P(){const E=wr(e);O&&(E.x!==O.x||E.y!==O.y||E.width!==O.width||E.height!==O.height)&&r(),O=E,S=requestAnimationFrame(P)}return r(),()=>{var E;h.forEach(k=>{o&&k.removeEventListener("scroll",r),i&&k.removeEventListener("resize",r)}),y==null||y(),(E=v)==null||E.disconnect(),v=null,u&&cancelAnimationFrame(S)}}const Zs=Ad,Hd=Cd,ec=Ed,Yd=Sd,Ca=(e,t,r)=>{const n=new Map,o={platform:Ud,...r},i={...o.platform,_c:n};return $d(e,t,{...o,platform:i})},Qd=(e,t)=>({...Zs(e),options:[e,t]}),Jd=(e,t)=>({...ec(e),options:[e,t]});var Kd=Object.prototype;function Xd(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Kd;return e===r}var tc=Xd;function Zd(e,t){return function(r){return e(t(r))}}var ef=Zd,tf=ef,rf=tf(Object.keys,Object),nf=rf,of=tc,af=nf,sf=Object.prototype,cf=sf.hasOwnProperty;function lf(e){if(!of(e))return af(e);var t=[];for(var r in Object(e))cf.call(e,r)&&r!="constructor"&&t.push(r);return t}var uf=lf,df=typeof Sn=="object"&&Sn&&Sn.Object===Object&&Sn,rc=df,ff=rc,pf=typeof self=="object"&&self&&self.Object===Object&&self,hf=ff||pf||Function("return this")(),cr=hf,gf=cr,yf=gf.Symbol,nc=yf,Oa=nc,oc=Object.prototype,mf=oc.hasOwnProperty,vf=oc.toString,Gr=Oa?Oa.toStringTag:void 0;function bf(e){var t=mf.call(e,Gr),r=e[Gr];try{e[Gr]=void 0;var n=!0}catch{}var o=vf.call(e);return n&&(t?e[Gr]=r:delete e[Gr]),o}var wf=bf,_f=Object.prototype,xf=_f.toString;function $f(e){return xf.call(e)}var Sf=$f,ka=nc,Ef=wf,Tf=Sf,Af="[object Null]",Cf="[object Undefined]",Ra=ka?ka.toStringTag:void 0;function Of(e){return e==null?e===void 0?Cf:Af:Ra&&Ra in Object(e)?Ef(e):Tf(e)}var oo=Of;function kf(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ic=kf,Rf=oo,jf=ic,Pf="[object AsyncFunction]",If="[object Function]",Mf="[object GeneratorFunction]",Lf="[object Proxy]";function Df(e){if(!jf(e))return!1;var t=Rf(e);return t==If||t==Mf||t==Pf||t==Lf}var ac=Df,Nf=cr,Ff=Nf["__core-js_shared__"],Vf=Ff,jo=Vf,ja=function(){var e=/[^.]+$/.exec(jo&&jo.keys&&jo.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function zf(e){return!!ja&&ja in e}var Bf=zf,Wf=Function.prototype,Uf=Wf.toString;function qf(e){if(e!=null){try{return Uf.call(e)}catch{}try{return e+""}catch{}}return""}var sc=qf,Gf=ac,Hf=Bf,Yf=ic,Qf=sc,Jf=/[\\^$.*+?()[\]{}|]/g,Kf=/^\[object .+?Constructor\]$/,Xf=Function.prototype,Zf=Object.prototype,ep=Xf.toString,tp=Zf.hasOwnProperty,rp=RegExp("^"+ep.call(tp).replace(Jf,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function np(e){if(!Yf(e)||Hf(e))return!1;var t=Gf(e)?rp:Kf;return t.test(Qf(e))}var op=np;function ip(e,t){return e==null?void 0:e[t]}var ap=ip,sp=op,cp=ap;function lp(e,t){var r=cp(e,t);return sp(r)?r:void 0}var fn=lp,up=fn,dp=cr,fp=up(dp,"DataView"),pp=fp,hp=fn,gp=cr,yp=hp(gp,"Map"),mp=yp,vp=fn,bp=cr,wp=vp(bp,"Promise"),_p=wp,xp=fn,$p=cr,Sp=xp($p,"Set"),Ep=Sp,Tp=fn,Ap=cr,Cp=Tp(Ap,"WeakMap"),Op=Cp,Xo=pp,Zo=mp,ei=_p,ti=Ep,ri=Op,cc=oo,Nr=sc,Pa="[object Map]",kp="[object Object]",Ia="[object Promise]",Ma="[object Set]",La="[object WeakMap]",Da="[object DataView]",Rp=Nr(Xo),jp=Nr(Zo),Pp=Nr(ei),Ip=Nr(ti),Mp=Nr(ri),dr=cc;(Xo&&dr(new Xo(new ArrayBuffer(1)))!=Da||Zo&&dr(new Zo)!=Pa||ei&&dr(ei.resolve())!=Ia||ti&&dr(new ti)!=Ma||ri&&dr(new ri)!=La)&&(dr=function(e){var t=cc(e),r=t==kp?e.constructor:void 0,n=r?Nr(r):"";if(n)switch(n){case Rp:return Da;case jp:return Pa;case Pp:return Ia;case Ip:return Ma;case Mp:return La}return t});var Lp=dr;function Dp(e){return e!=null&&typeof e=="object"}var Ai=Dp,Np=oo,Fp=Ai,Vp="[object Arguments]";function zp(e){return Fp(e)&&Np(e)==Vp}var Bp=zp,Na=Bp,Wp=Ai,lc=Object.prototype,Up=lc.hasOwnProperty,qp=lc.propertyIsEnumerable,Gp=Na(function(){return arguments}())?Na:function(e){return Wp(e)&&Up.call(e,"callee")&&!qp.call(e,"callee")},Hp=Gp,Yp=Array.isArray,Qp=Yp,Jp=9007199254740991;function Kp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Jp}var uc=Kp,Xp=ac,Zp=uc;function eh(e){return e!=null&&Zp(e.length)&&!Xp(e)}var th=eh,Bn={exports:{}};function rh(){return!1}var nh=rh;Bn.exports;(function(e,t){var r=cr,n=nh,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 oh=Bn.exports,ih=oo,ah=uc,sh=Ai,ch="[object Arguments]",lh="[object Array]",uh="[object Boolean]",dh="[object Date]",fh="[object Error]",ph="[object Function]",hh="[object Map]",gh="[object Number]",yh="[object Object]",mh="[object RegExp]",vh="[object Set]",bh="[object String]",wh="[object WeakMap]",_h="[object ArrayBuffer]",xh="[object DataView]",$h="[object Float32Array]",Sh="[object Float64Array]",Eh="[object Int8Array]",Th="[object Int16Array]",Ah="[object Int32Array]",Ch="[object Uint8Array]",Oh="[object Uint8ClampedArray]",kh="[object Uint16Array]",Rh="[object Uint32Array]",je={};je[$h]=je[Sh]=je[Eh]=je[Th]=je[Ah]=je[Ch]=je[Oh]=je[kh]=je[Rh]=!0;je[ch]=je[lh]=je[_h]=je[uh]=je[xh]=je[dh]=je[fh]=je[ph]=je[hh]=je[gh]=je[yh]=je[mh]=je[vh]=je[bh]=je[wh]=!1;function jh(e){return sh(e)&&ah(e.length)&&!!je[ih(e)]}var Ph=jh;function Ih(e){return function(t){return e(t)}}var Mh=Ih,Wn={exports:{}};Wn.exports;(function(e,t){var r=rc,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 Lh=Wn.exports,Dh=Ph,Nh=Mh,Fa=Lh,Va=Fa&&Fa.isTypedArray,Fh=Va?Nh(Va):Dh,Vh=Fh,zh=uf,Bh=Lp,Wh=Hp,Uh=Qp,qh=th,Gh=oh,Hh=tc,Yh=Vh,Qh="[object Map]",Jh="[object Set]",Kh=Object.prototype,Xh=Kh.hasOwnProperty;function Zh(e){if(e==null)return!0;if(qh(e)&&(Uh(e)||typeof e=="string"||typeof e.splice=="function"||Gh(e)||Yh(e)||Wh(e)))return!e.length;var t=Bh(e);if(t==Qh||t==Jh)return!e.size;if(Hh(e))return!zh(e).length;for(var r in e)if(Xh.call(e,r))return!1;return!0}var eg=Zh;const Po=ys(eg);var dc={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})()})(dc);var tg=dc.exports;const ni=ys(tg);/*
|
|
448
448
|
* React Tooltip
|
|
449
449
|
* {@link https://github.com/ReactTooltip/react-tooltip}
|
|
450
450
|
* @copyright ReactTooltip Team
|
|
451
451
|
* @license MIT
|
|
452
|
-
*/const Jh="react-tooltip-core-styles",Kh="react-tooltip-base-styles",Fs={core:!1,base:!1};function Vs({css:e,id:t=Kh,type:r="base",ref:n}){var o,i;if(!e||typeof document>"u"||Fs[r]||r==="core"&&typeof process<"u"&&(!((o=process==null?void 0:process.env)===null||o===void 0)&&o.REACT_TOOLTIP_DISABLE_CORE_STYLES)||r!=="base"&&typeof process<"u"&&(!((i=process==null?void 0:process.env)===null||i===void 0)&&i.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;r==="core"&&(t=Jh),n||(n={});const{insertAt:s}=n;if(document.getElementById(t))return;const c=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.id=t,u.type="text/css",s==="top"&&c.firstChild?c.insertBefore(u,c.firstChild):c.appendChild(u),u.styleSheet?u.styleSheet.cssText=e:u.appendChild(document.createTextNode(e)),Fs[r]=!0}const Bs=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:n="top",offset:o=10,strategy:i="absolute",middlewares:s=[Ja(Number(o)),Ka({fallbackAxisSideDirection:"start"}),zf({padding:5})],border:c})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const u=s;return r?(u.push(Wf({element:r,padding:5})),Ts(e,t,{placement:n,strategy:i,middleware:u}).then(({x:d,y:h,placement:m,middlewareData:_})=>{var v,T;const C={left:`${d}px`,top:`${h}px`,border:c},{x:O,y:x}=(v=_.arrow)!==null&&v!==void 0?v:{x:0,y:0},A=(T={top:"bottom",right:"left",bottom:"top",left:"right"}[m.split("-")[0]])!==null&&T!==void 0?T:"bottom",R=c&&{borderBottom:c,borderRight:c};let M=0;if(c){const L=`${c}`.match(/(\d+)px/);M=L!=null&&L[1]?Number(L[1]):1}return{tooltipStyles:C,tooltipArrowStyles:{left:O!=null?`${O}px`:"",top:x!=null?`${x}px`:"",right:"",bottom:"",...R,[A]:`-${4+M}px`},place:m}})):Ts(e,t,{placement:"bottom",strategy:i,middleware:u}).then(({x:d,y:h,placement:m})=>({tooltipStyles:{left:`${d}px`,top:`${h}px`},tooltipArrowStyles:{},place:m}))},zs=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Ws=(e,t,r)=>{let n=null;const o=function(...i){const s=()=>{n=null};!n&&(e.apply(this,i),n=setTimeout(s,t))};return o.cancel=()=>{n&&(clearTimeout(n),n=null)},o},Us=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",oi=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((o,i)=>oi(o,t[i]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!Us(e)||!Us(t))return e===t;const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(o=>oi(e[o],t[o]))},Xh=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(r=>{const n=t.getPropertyValue(r);return n==="auto"||n==="scroll"})},qs=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(Xh(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Zh=typeof window<"u"?w.useLayoutEffect:w.useEffect,Mt=e=>{e.current&&(clearTimeout(e.current),e.current=null)},eg="DEFAULT_TOOLTIP_ID",tg={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},rg=w.createContext({getTooltipData:()=>tg});function lc(e=eg){return w.useContext(rg).getTooltipData(e)}var Er={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},Io={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const ng=({forwardRef:e,id:t,className:r,classNameArrow:n,variant:o="dark",anchorId:i,anchorSelect:s,place:c="top",offset:u=10,events:d=["hover"],openOnClick:h=!1,positionStrategy:m="absolute",middlewares:_,wrapper:v,delayShow:T=0,delayHide:C=0,float:O=!1,hidden:x=!1,noArrow:A=!1,clickable:R=!1,closeOnEsc:M=!1,closeOnScroll:L=!1,closeOnResize:N=!1,openEvents:P,closeEvents:ve,globalCloseEvents:be,imperativeModeOnly:pe,style:Fe,position:Le,afterShow:we,afterHide:J,disableTooltip:Ee,content:se,contentWrapperRef:ae,isOpen:ce,defaultIsOpen:re=!1,setIsOpen:G,activeAnchor:le,setActiveAnchor:ge,border:H,opacity:st,arrowColor:tt,role:qe="tooltip"})=>{var Ge;const fe=w.useRef(null),_e=w.useRef(null),Te=w.useRef(null),ze=w.useRef(null),Pe=w.useRef(null),[ft,kt]=w.useState({tooltipStyles:{},tooltipArrowStyles:{},place:c}),[Ae,dt]=w.useState(!1),[Je,pt]=w.useState(!1),[de,ht]=w.useState(null),gt=w.useRef(!1),mt=w.useRef(null),{anchorRefs:Ct,setActiveAnchor:rt}=lc(t),at=w.useRef(!1),[yt,Ke]=w.useState([]),xt=w.useRef(!1),St=h||d.includes("click"),jt=St||(P==null?void 0:P.click)||(P==null?void 0:P.dblclick)||(P==null?void 0:P.mousedown),He=P?{...P}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!P&&St&&Object.assign(He,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Pt=ve?{...ve}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!ve&&St&&Object.assign(Pt,{mouseleave:!1,blur:!1,mouseout:!1});const nt=be?{...be}:{escape:M||!1,scroll:L||!1,resize:N||!1,clickOutsideAnchor:jt||!1};pe&&(Object.assign(He,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Pt,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(nt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Zh(()=>(xt.current=!0,()=>{xt.current=!1}),[]);const xe=k=>{xt.current&&(k&&pt(!0),setTimeout(()=>{xt.current&&(G==null||G(k),ce===void 0&&dt(k))},10))};w.useEffect(()=>{if(ce===void 0)return()=>null;ce&&pt(!0);const k=setTimeout(()=>{dt(ce)},10);return()=>{clearTimeout(k)}},[ce]),w.useEffect(()=>{if(Ae!==gt.current)if(Mt(Pe),gt.current=Ae,Ae)we==null||we();else{const k=(B=>{const W=B.match(/^([\d.]+)(ms|s)$/);if(!W)return 0;const[,Ce,De]=W;return Number(Ce)*(De==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Pe.current=setTimeout(()=>{pt(!1),ht(null),J==null||J()},k+25)}},[Ae]);const Nt=k=>{kt(B=>oi(B,k)?B:k)},Ft=(k=T)=>{Mt(Te),Je?xe(!0):Te.current=setTimeout(()=>{xe(!0)},k)},vt=(k=C)=>{Mt(ze),ze.current=setTimeout(()=>{at.current||xe(!1)},k)},bt=k=>{var B;if(!k)return;const W=(B=k.currentTarget)!==null&&B!==void 0?B:k.target;if(!(W!=null&&W.isConnected))return ge(null),void rt({current:null});T?Ft():xe(!0),ge(W),rt({current:W}),Mt(ze)},Ye=()=>{R?vt(C||100):C?vt():xe(!1),Mt(Te)},ct=({x:k,y:B})=>{var W;const Ce={getBoundingClientRect:()=>({x:k,y:B,width:0,height:0,top:B,left:k,right:k,bottom:B})};Bs({place:(W=de==null?void 0:de.place)!==null&&W!==void 0?W:c,offset:u,elementReference:Ce,tooltipReference:fe.current,tooltipArrowReference:_e.current,strategy:m,middlewares:_,border:H}).then(De=>{Nt(De)})},We=k=>{if(!k)return;const B=k,W={x:B.clientX,y:B.clientY};ct(W),mt.current=W},Qe=k=>{var B;if(!Ae)return;const W=k.target;W.isConnected&&(!((B=fe.current)===null||B===void 0)&&B.contains(W)||[document.querySelector(`[id='${i}']`),...yt].some(Ce=>Ce==null?void 0:Ce.contains(W))||(xe(!1),Mt(Te)))},$t=Ws(bt,50),Se=Ws(Ye,50),Xe=k=>{Se.cancel(),$t(k)},F=()=>{$t.cancel(),Se()},Z=w.useCallback(()=>{var k,B;const W=(k=de==null?void 0:de.position)!==null&&k!==void 0?k:Le;W?ct(W):O?mt.current&&ct(mt.current):le!=null&&le.isConnected&&Bs({place:(B=de==null?void 0:de.place)!==null&&B!==void 0?B:c,offset:u,elementReference:le,tooltipReference:fe.current,tooltipArrowReference:_e.current,strategy:m,middlewares:_,border:H}).then(Ce=>{xt.current&&Nt(Ce)})},[Ae,le,se,Fe,c,de==null?void 0:de.place,u,m,Le,de==null?void 0:de.position,O]);w.useEffect(()=>{var k,B;const W=new Set(Ct);yt.forEach(z=>{Ee!=null&&Ee(z)||W.add({current:z})});const Ce=document.querySelector(`[id='${i}']`);Ce&&!(Ee!=null&&Ee(Ce))&&W.add({current:Ce});const De=()=>{xe(!1)},lt=qs(le),Oe=qs(fe.current);nt.scroll&&(window.addEventListener("scroll",De),lt==null||lt.addEventListener("scroll",De),Oe==null||Oe.addEventListener("scroll",De));let f=null;nt.resize?window.addEventListener("resize",De):le&&fe.current&&(f=Bf(le,fe.current,Z,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const b=z=>{z.key==="Escape"&&xe(!1)};nt.escape&&window.addEventListener("keydown",b),nt.clickOutsideAnchor&&window.addEventListener("click",Qe);const E=[],V=z=>{Ae&&(z==null?void 0:z.target)===le||bt(z)},ie=z=>{Ae&&(z==null?void 0:z.target)===le&&Ye()},te=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],K=["click","dblclick","mousedown","mouseup"];Object.entries(He).forEach(([z,ue])=>{ue&&(te.includes(z)?E.push({event:z,listener:Xe}):K.includes(z)&&E.push({event:z,listener:V}))}),Object.entries(Pt).forEach(([z,ue])=>{ue&&(te.includes(z)?E.push({event:z,listener:F}):K.includes(z)&&E.push({event:z,listener:ie}))}),O&&E.push({event:"pointermove",listener:We});const Q=()=>{at.current=!0},Ne=()=>{at.current=!1,Ye()};return R&&!jt&&((k=fe.current)===null||k===void 0||k.addEventListener("mouseenter",Q),(B=fe.current)===null||B===void 0||B.addEventListener("mouseleave",Ne)),E.forEach(({event:z,listener:ue})=>{W.forEach(Re=>{var Ze;(Ze=Re.current)===null||Ze===void 0||Ze.addEventListener(z,ue)})}),()=>{var z,ue;nt.scroll&&(window.removeEventListener("scroll",De),lt==null||lt.removeEventListener("scroll",De),Oe==null||Oe.removeEventListener("scroll",De)),nt.resize?window.removeEventListener("resize",De):f==null||f(),nt.clickOutsideAnchor&&window.removeEventListener("click",Qe),nt.escape&&window.removeEventListener("keydown",b),R&&!jt&&((z=fe.current)===null||z===void 0||z.removeEventListener("mouseenter",Q),(ue=fe.current)===null||ue===void 0||ue.removeEventListener("mouseleave",Ne)),E.forEach(({event:Re,listener:Ze})=>{W.forEach(Qt=>{var ot;(ot=Qt.current)===null||ot===void 0||ot.removeEventListener(Re,Ze)})})}},[le,Z,Je,Ct,yt,P,ve,be,St,T,C]),w.useEffect(()=>{var k,B;let W=(B=(k=de==null?void 0:de.anchorSelect)!==null&&k!==void 0?k:s)!==null&&B!==void 0?B:"";!W&&t&&(W=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const Ce=new MutationObserver(De=>{const lt=[],Oe=[];De.forEach(f=>{if(f.type==="attributes"&&f.attributeName==="data-tooltip-id"&&(f.target.getAttribute("data-tooltip-id")===t?lt.push(f.target):f.oldValue===t&&Oe.push(f.target)),f.type==="childList"){if(le){const b=[...f.removedNodes].filter(E=>E.nodeType===1);if(W)try{Oe.push(...b.filter(E=>E.matches(W))),Oe.push(...b.flatMap(E=>[...E.querySelectorAll(W)]))}catch{}b.some(E=>{var V;return!!(!((V=E==null?void 0:E.contains)===null||V===void 0)&&V.call(E,le))&&(pt(!1),xe(!1),ge(null),Mt(Te),Mt(ze),!0)})}if(W)try{const b=[...f.addedNodes].filter(E=>E.nodeType===1);lt.push(...b.filter(E=>E.matches(W))),lt.push(...b.flatMap(E=>[...E.querySelectorAll(W)]))}catch{}}}),(lt.length||Oe.length)&&Ke(f=>[...f.filter(b=>!Oe.includes(b)),...lt])});return Ce.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Ce.disconnect()}},[t,s,de==null?void 0:de.anchorSelect,le]),w.useEffect(()=>{Z()},[Z]),w.useEffect(()=>{if(!(ae!=null&&ae.current))return()=>null;const k=new ResizeObserver(()=>{setTimeout(()=>Z())});return k.observe(ae.current),()=>{k.disconnect()}},[se,ae==null?void 0:ae.current]),w.useEffect(()=>{var k;const B=document.querySelector(`[id='${i}']`),W=[...yt,B];le&&W.includes(le)||ge((k=yt[0])!==null&&k!==void 0?k:B)},[i,yt,le]),w.useEffect(()=>(re&&xe(!0),()=>{Mt(Te),Mt(ze)}),[]),w.useEffect(()=>{var k;let B=(k=de==null?void 0:de.anchorSelect)!==null&&k!==void 0?k:s;if(!B&&t&&(B=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),B)try{const W=Array.from(document.querySelectorAll(B));Ke(W)}catch{Ke([])}},[t,s,de==null?void 0:de.anchorSelect]),w.useEffect(()=>{Te.current&&(Mt(Te),Ft(T))},[T]);const Ie=(Ge=de==null?void 0:de.content)!==null&&Ge!==void 0?Ge:se,wt=Ae&&Object.keys(ft.tooltipStyles).length>0;return w.useImperativeHandle(e,()=>({open:k=>{if(k!=null&&k.anchorSelect)try{document.querySelector(k.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${k.anchorSelect}" is not a valid CSS selector`)}ht(k??null),k!=null&&k.delay?Ft(k.delay):xe(!0)},close:k=>{k!=null&&k.delay?vt(k.delay):xe(!1)},activeAnchor:le,place:ft.place,isOpen:!!(Je&&!x&&Ie&&wt)})),Je&&!x&&Ie?w.createElement(v,{id:t,role:qe,className:ni("react-tooltip",Er.tooltip,Io.tooltip,Io[o],r,`react-tooltip__place-${ft.place}`,Er[wt?"show":"closing"],wt?"react-tooltip__show":"react-tooltip__closing",m==="fixed"&&Er.fixed,R&&Er.clickable),onTransitionEnd:k=>{Mt(Pe),Ae||k.propertyName!=="opacity"||(pt(!1),ht(null),J==null||J())},style:{...Fe,...ft.tooltipStyles,opacity:st!==void 0&&wt?st:void 0},ref:fe},Ie,w.createElement(v,{className:ni("react-tooltip-arrow",Er.arrow,Io.arrow,n,A&&Er.noArrow),style:{...ft.tooltipArrowStyles,background:tt?`linear-gradient(to right bottom, transparent 50%, ${tt} 50%)`:void 0},ref:_e})):null},og=({content:e})=>w.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),ig=w.forwardRef(({id:e,anchorId:t,anchorSelect:r,content:n,html:o,render:i,className:s,classNameArrow:c,variant:u="dark",place:d="top",offset:h=10,wrapper:m="div",children:_=null,events:v=["hover"],openOnClick:T=!1,positionStrategy:C="absolute",middlewares:O,delayShow:x=0,delayHide:A=0,float:R=!1,hidden:M=!1,noArrow:L=!1,clickable:N=!1,closeOnEsc:P=!1,closeOnScroll:ve=!1,closeOnResize:be=!1,openEvents:pe,closeEvents:Fe,globalCloseEvents:Le,imperativeModeOnly:we=!1,style:J,position:Ee,isOpen:se,defaultIsOpen:ae=!1,disableStyleInjection:ce=!1,border:re,opacity:G,arrowColor:le,setIsOpen:ge,afterShow:H,afterHide:st,disableTooltip:tt,role:qe="tooltip"},Ge)=>{const[fe,_e]=w.useState(n),[Te,ze]=w.useState(o),[Pe,ft]=w.useState(d),[kt,Ae]=w.useState(u),[dt,Je]=w.useState(h),[pt,de]=w.useState(x),[ht,gt]=w.useState(A),[mt,Ct]=w.useState(R),[rt,at]=w.useState(M),[yt,Ke]=w.useState(m),[xt,St]=w.useState(v),[jt,He]=w.useState(C),[Pt,nt]=w.useState(null),[xe,Nt]=w.useState(null),Ft=w.useRef(ce),{anchorRefs:vt,activeAnchor:bt}=lc(e),Ye=Se=>Se==null?void 0:Se.getAttributeNames().reduce((Xe,F)=>{var Z;return F.startsWith("data-tooltip-")&&(Xe[F.replace(/^data-tooltip-/,"")]=(Z=Se==null?void 0:Se.getAttribute(F))!==null&&Z!==void 0?Z:null),Xe},{}),ct=Se=>{const Xe={place:F=>{var Z;ft((Z=F)!==null&&Z!==void 0?Z:d)},content:F=>{_e(F??n)},html:F=>{ze(F??o)},variant:F=>{var Z;Ae((Z=F)!==null&&Z!==void 0?Z:u)},offset:F=>{Je(F===null?h:Number(F))},wrapper:F=>{var Z;Ke((Z=F)!==null&&Z!==void 0?Z:m)},events:F=>{const Z=F==null?void 0:F.split(" ");St(Z??v)},"position-strategy":F=>{var Z;He((Z=F)!==null&&Z!==void 0?Z:C)},"delay-show":F=>{de(F===null?x:Number(F))},"delay-hide":F=>{gt(F===null?A:Number(F))},float:F=>{Ct(F===null?R:F==="true")},hidden:F=>{at(F===null?M:F==="true")},"class-name":F=>{nt(F)}};Object.values(Xe).forEach(F=>F(null)),Object.entries(Se).forEach(([F,Z])=>{var Ie;(Ie=Xe[F])===null||Ie===void 0||Ie.call(Xe,Z)})};w.useEffect(()=>{_e(n)},[n]),w.useEffect(()=>{ze(o)},[o]),w.useEffect(()=>{ft(d)},[d]),w.useEffect(()=>{Ae(u)},[u]),w.useEffect(()=>{Je(h)},[h]),w.useEffect(()=>{de(x)},[x]),w.useEffect(()=>{gt(A)},[A]),w.useEffect(()=>{Ct(R)},[R]),w.useEffect(()=>{at(M)},[M]),w.useEffect(()=>{He(C)},[C]),w.useEffect(()=>{Ft.current!==ce&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[ce]),w.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:ce==="core",disableBase:ce}}))},[]),w.useEffect(()=>{var Se;const Xe=new Set(vt);let F=r;if(!F&&e&&(F=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),F)try{document.querySelectorAll(F).forEach(B=>{Xe.add({current:B})})}catch{console.warn(`[react-tooltip] "${F}" is not a valid CSS selector`)}const Z=document.querySelector(`[id='${t}']`);if(Z&&Xe.add({current:Z}),!Xe.size)return()=>null;const Ie=(Se=xe??Z)!==null&&Se!==void 0?Se:bt.current,wt=new MutationObserver(B=>{B.forEach(W=>{var Ce;if(!Ie||W.type!=="attributes"||!(!((Ce=W.attributeName)===null||Ce===void 0)&&Ce.startsWith("data-tooltip-")))return;const De=Ye(Ie);ct(De)})}),k={attributes:!0,childList:!1,subtree:!1};if(Ie){const B=Ye(Ie);ct(B),wt.observe(Ie,k)}return()=>{wt.disconnect()}},[vt,bt,xe,t,r]),w.useEffect(()=>{J!=null&&J.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),re&&!zs("border",`${re}`)&&console.warn(`[react-tooltip] "${re}" is not a valid \`border\`.`),J!=null&&J.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),G&&!zs("opacity",`${G}`)&&console.warn(`[react-tooltip] "${G}" is not a valid \`opacity\`.`)},[]);let We=_;const Qe=w.useRef(null);if(i){const Se=i({content:(xe==null?void 0:xe.getAttribute("data-tooltip-content"))||fe||null,activeAnchor:xe});We=Se?w.createElement("div",{ref:Qe,className:"react-tooltip-content-wrapper"},Se):null}else fe&&(We=fe);Te&&(We=w.createElement(og,{content:Te}));const $t={forwardRef:Ge,id:e,anchorId:t,anchorSelect:r,className:ni(s,Pt),classNameArrow:c,content:We,contentWrapperRef:Qe,place:Pe,variant:kt,offset:dt,wrapper:yt,events:xt,openOnClick:T,positionStrategy:jt,middlewares:O,delayShow:pt,delayHide:ht,float:mt,hidden:rt,noArrow:L,clickable:N,closeOnEsc:P,closeOnScroll:ve,closeOnResize:be,openEvents:pe,closeEvents:Fe,globalCloseEvents:Le,imperativeModeOnly:we,style:J,position:Ee,isOpen:se,defaultIsOpen:ae,border:re,opacity:G,arrowColor:le,setIsOpen:ge,afterShow:H,afterHide:st,disableTooltip:tt,activeAnchor:xe,setActiveAnchor:Se=>Nt(Se),role:qe};return w.createElement(ng,{...$t})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||Vs({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||Vs({css:`
|
|
453
|
-
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});const
|
|
452
|
+
*/const rg="react-tooltip-core-styles",ng="react-tooltip-base-styles",za={core:!1,base:!1};function Ba({css:e,id:t=ng,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=rg),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=[Zs(Number(o)),ec({fallbackAxisSideDirection:"start"}),Hd({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(Yd({element:r,padding:5})),Ca(e,t,{placement:n,strategy:i,middleware:u}).then(({x:f,y:h,placement:y,middlewareData:_})=>{var v,S;const O={left:`${f}px`,top:`${h}px`,border:c},{x:P,y:E}=(v=_.arrow)!==null&&v!==void 0?v:{x:0,y:0},k=(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 L=0;if(c){const D=`${c}`.match(/(\d+)px/);L=D!=null&&D[1]?Number(D[1]):1}return{tooltipStyles:O,tooltipArrowStyles:{left:P!=null?`${P}px`:"",top:E!=null?`${E}px`:"",right:"",bottom:"",...R,[k]:`-${4+L}px`},place:y}})):Ca(e,t,{placement:"bottom",strategy:i,middleware:u}).then(({x:f,y:h,placement:y})=>({tooltipStyles:{left:`${f}px`,top:`${h}px`},tooltipArrowStyles:{},place:y}))},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",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(!Ga(e)||!Ga(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]))},og=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(og(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},ig=typeof window<"u"?b.useLayoutEffect:b.useEffect,Lt=e=>{e.current&&(clearTimeout(e.current),e.current=null)},ag="DEFAULT_TOOLTIP_ID",sg={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},cg=b.createContext({getTooltipData:()=>sg});function fc(e=ag){return b.useContext(cg).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 lg=({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:y="absolute",middlewares:_,wrapper:v,delayShow:S=0,delayHide:O=0,float:P=!1,hidden:E=!1,noArrow:k=!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:ne=!1,setIsOpen:H,activeAnchor:ue,setActiveAnchor:ye,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),yt=b.useRef(null),{anchorRefs:kt,setActiveAnchor:rt}=fc(t),st=b.useRef(!1),[mt,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})),ig(()=>($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=>oi(B,j)?B:j)},zt=(j=S)=>{Lt(Te),Je?$e(!0):Te.current=setTimeout(()=>{$e(!0)},j)},vt=(j=O)=>{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 ye(null),void rt({current:null});S?zt():$e(!0),ye(U),rt({current:U}),Lt(Be)},Ye=()=>{R?vt(O||100):O?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:y,middlewares:_,border:Y}).then(De=>{Vt(De)})},We=j=>{if(!j)return;const B=j,U={x:B.clientX,y:B.clientY};ct(U),yt.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}']`),...mt].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?yt.current&&ct(yt.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:y,middlewares:_,border:Y}).then(Ce=>{$t.current&&Vt(Ce)})},[Ae,ue,se,Fe,c,pe==null?void 0:pe.place,u,y,Le,pe==null?void 0:pe.position,P]);b.useEffect(()=>{var j,B;const U=new Set(kt);mt.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),Oe=Ha(fe.current);nt.scroll&&(window.addEventListener("scroll",De),lt==null||lt.addEventListener("scroll",De),Oe==null||Oe.addEventListener("scroll",De));let d=null;nt.resize?window.addEventListener("resize",De):ue&&fe.current&&(d=Gd(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 T=[],z=W=>{Ae&&(W==null?void 0:W.target)===ue||bt(W)},ie=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)?T.push({event:W,listener:Xe}):X.includes(W)&&T.push({event:W,listener:z}))}),Object.entries(It).forEach(([W,de])=>{de&&(re.includes(W)?T.push({event:W,listener:V}):X.includes(W)&&T.push({event:W,listener:ie}))}),P&&T.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)),T.forEach(({event:W,listener:de})=>{U.forEach(ke=>{var Ze;(Ze=ke.current)===null||Ze===void 0||Ze.addEventListener(W,de)})}),()=>{var W,de;nt.scroll&&(window.removeEventListener("scroll",De),lt==null||lt.removeEventListener("scroll",De),Oe==null||Oe.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)),T.forEach(({event:ke,listener:Ze})=>{U.forEach(Jt=>{var ot;(ot=Jt.current)===null||ot===void 0||ot.removeEventListener(ke,Ze)})})}},[ue,ee,Je,kt,mt,I,be,we,St,S,O]),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=[],Oe=[];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&&Oe.push(d.target)),d.type==="childList"){if(ue){const w=[...d.removedNodes].filter(T=>T.nodeType===1);if(U)try{Oe.push(...w.filter(T=>T.matches(U))),Oe.push(...w.flatMap(T=>[...T.querySelectorAll(U)]))}catch{}w.some(T=>{var z;return!!(!((z=T==null?void 0:T.contains)===null||z===void 0)&&z.call(T,ue))&&(pt(!1),$e(!1),ye(null),Lt(Te),Lt(Be),!0)})}if(U)try{const w=[...d.addedNodes].filter(T=>T.nodeType===1);lt.push(...w.filter(T=>T.matches(U))),lt.push(...w.flatMap(T=>[...T.querySelectorAll(U)]))}catch{}}}),(lt.length||Oe.length)&&Ke(d=>[...d.filter(w=>!Oe.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=[...mt,B];ue&&U.includes(ue)||ye((j=mt[0])!==null&&j!==void 0?j:B)},[i,mt,ue]),b.useEffect(()=>(ne&&$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:ni("react-tooltip",Er.tooltip,Io.tooltip,Io[o],r,`react-tooltip__place-${dt.place}`,Er[wt?"show":"closing"],wt?"react-tooltip__show":"react-tooltip__closing",y==="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:ni("react-tooltip-arrow",Er.arrow,Io.arrow,n,k&&Er.noArrow),style:{...dt.tooltipArrowStyles,background:tt?`linear-gradient(to right bottom, transparent 50%, ${tt} 50%)`:void 0},ref:xe})):null},ug=({content:e})=>b.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),dg=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:y="div",children:_=null,events:v=["hover"],openOnClick:S=!1,positionStrategy:O="absolute",middlewares:P,delayShow:E=0,delayHide:k=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:ne,opacity:H,arrowColor:ue,setIsOpen:ye,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(k),[yt,kt]=b.useState(R),[rt,st]=b.useState(L),[mt,Ke]=b.useState(y),[$t,St]=b.useState(v),[Pt,He]=b.useState(O),[It,nt]=b.useState(null),[$e,Vt]=b.useState(null),zt=b.useRef(le),{anchorRefs:vt,activeAnchor:bt}=fc(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:y)},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:O)},"delay-show":V=>{pe(V===null?E:Number(V))},"delay-hide":V=>{gt(V===null?k:Number(V))},float:V=>{kt(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(k)},[k]),b.useEffect(()=>{kt(R)},[R]),b.useEffect(()=>{st(L)},[L]),b.useEffect(()=>{He(O)},[O]),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."),ne&&!Ua("border",`${ne}`)&&console.warn(`[react-tooltip] "${ne}" 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(ug,{content:Te}));const Et={forwardRef:Ge,id:e,anchorId:t,anchorSelect:r,className:ni(a,It),classNameArrow:c,content:We,contentWrapperRef:Qe,place:Pe,variant:jt,offset:ft,wrapper:mt,events:$t,openOnClick:S,positionStrategy:Pt,middlewares:P,delayShow:pt,delayHide:ht,float:yt,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:ne,opacity:H,arrowColor:ue,setIsOpen:ye,afterShow:Y,afterHide:at,disableTooltip:tt,activeAnchor:$e,setActiveAnchor:Se=>Vt(Se),role:qe};return b.createElement(lg,{...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 fg=ae(cn)``,pg=ae.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,131 @@ Check the top-level render call using <`+E+">.")}return b}}function Ie(f,b){{if(
|
|
|
463
463
|
--rt-opacity: 1;
|
|
464
464
|
}
|
|
465
465
|
`}
|
|
466
|
-
`,uc=w.forwardRef(function({children:t,disabled:r=!1,display:n="inline-block",effect:o="solid",icon:i,iconColor:s,iconSize:c,id:u,maxWidth:d,nodeTip:h,place:m="bottom",tip:_="",title:v="",hide:T=_===""&&v===""&&h===void 0,...C},O){const[x,A]=w.useState(!1),R=w.useRef(null),M=w.useCallback(()=>{R.current!==null&&clearTimeout(R.current),R.current=setTimeout(()=>{A(!0)},100)},[]),L=w.useCallback(()=>{R.current!==null&&clearTimeout(R.current),R.current=setTimeout(()=>{A(!1)},100)},[]);return r?j.jsx(w.StrictMode,{children:t}):j.jsxs(sg,{"data-tooltip-id":u,display:n,onMouseLeave:L,onMouseMove:M,ref:O,...C,children:[i?j.jsx(Gt,{children:j.jsx(er,{clickable:!0,disabled:r,icon:i,iconColor:s,iconSize:c??"xxs",iconType:x?"fa-solid":"fa-light"})}):t,ml.createPortal(j.jsx(ag,{$maxWidth:d,children:j.jsxs(ig,{delayShow:500,float:o==="float"?!0:void 0,globalCloseEvents:{resize:!0},hidden:T||!x,id:u,middlewares:[qf({fallbackAxisSideDirection:"start"}),Uf({mainAxis:10})],noArrow:o==="float",place:m,children:[Po(v)?void 0:j.jsx(Ot,{color:oe.palette.white,fontWeight:"bold",lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:v}),Po(_)?void 0:j.jsx(Ot,{color:oe.palette.gray[100],lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:_}),Po(h)?void 0:h]})}),document.getElementById("root")??document.body)]})}),fc=w.forwardRef(function({bold:t=!1,children:r,disabled:n=!1,id:o,icon:i,mode:s,name:c,onClick:u,showArrow:d=!1,type:h="button",tooltip:m,tooltipPlace:_="bottom",underline:v=!1,value:T,variant:C="primaryWeb",...O},x){const A=m!==void 0,R=`${o}-tooltip`,M=!C.endsWith("Web");return j.jsx(uc,{disabled:!A,id:R,place:_,tip:m,children:j.jsxs(uf,{$variant:C,className:s,disabled:n,id:o,name:c,onClick:u,ref:x,type:h,value:T,...A?{"data-tooltip-id":R}:{},...O,children:[i!==void 0&&j.jsx(er,{icon:i,iconSize:"xs",iconType:"fa-light"}),j.jsx(Ot,{color:"inherit",fontWeight:t?"bold":"regular",lineSpacing:M?1.25:1.5,size:M?"sm":"md",sizeSm:"sm",textDecoration:v?"underline":void 0,children:r}),(d||C==="link")&&j.jsx(er,{icon:"arrow-right",iconSize:"xs",iconType:"fa-light"})]})})});var nr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ii={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Array]",c="[object Boolean]",u="[object Date]",d="[object Error]",h="[object Function]",m="[object GeneratorFunction]",_="[object Map]",v="[object Number]",T="[object Object]",C="[object Promise]",O="[object RegExp]",x="[object Set]",A="[object String]",R="[object Symbol]",M="[object WeakMap]",L="[object ArrayBuffer]",N="[object DataView]",P="[object Float32Array]",ve="[object Float64Array]",be="[object Int8Array]",pe="[object Int16Array]",Fe="[object Int32Array]",Le="[object Uint8Array]",we="[object Uint8ClampedArray]",J="[object Uint16Array]",Ee="[object Uint32Array]",se=/[\\^$.*+?()[\]{}|]/g,ae=/\w*$/,ce=/^\[object .+?Constructor\]$/,re=/^(?:0|[1-9]\d*)$/,G={};G[i]=G[s]=G[L]=G[N]=G[c]=G[u]=G[P]=G[ve]=G[be]=G[pe]=G[Fe]=G[_]=G[v]=G[T]=G[O]=G[x]=G[A]=G[R]=G[Le]=G[we]=G[J]=G[Ee]=!0,G[d]=G[h]=G[M]=!1;var le=typeof nr=="object"&&nr&&nr.Object===Object&&nr,ge=typeof self=="object"&&self&&self.Object===Object&&self,H=le||ge||Function("return this")(),st=t&&!t.nodeType&&t,tt=st&&!0&&e&&!e.nodeType&&e,qe=tt&&tt.exports===st;function Ge(l,g){return l.set(g[0],g[1]),l}function fe(l,g){return l.add(g),l}function _e(l,g){for(var S=-1,D=l?l.length:0;++S<D&&g(l[S],S,l)!==!1;);return l}function Te(l,g){for(var S=-1,D=g.length,it=l.length;++S<D;)l[it+S]=g[S];return l}function ze(l,g,S,D){for(var it=-1,Tt=l?l.length:0;++it<Tt;)S=g(S,l[it],it,l);return S}function Pe(l,g){for(var S=-1,D=Array(l);++S<l;)D[S]=g(S);return D}function ft(l,g){return l==null?void 0:l[g]}function kt(l){var g=!1;if(l!=null&&typeof l.toString!="function")try{g=!!(l+"")}catch{}return g}function Ae(l){var g=-1,S=Array(l.size);return l.forEach(function(D,it){S[++g]=[it,D]}),S}function dt(l,g){return function(S){return l(g(S))}}function Je(l){var g=-1,S=Array(l.size);return l.forEach(function(D){S[++g]=D}),S}var pt=Array.prototype,de=Function.prototype,ht=Object.prototype,gt=H["__core-js_shared__"],mt=function(){var l=/[^.]+$/.exec(gt&>.keys&>.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""}(),Ct=de.toString,rt=ht.hasOwnProperty,at=ht.toString,yt=RegExp("^"+Ct.call(rt).replace(se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ke=qe?H.Buffer:void 0,xt=H.Symbol,St=H.Uint8Array,jt=dt(Object.getPrototypeOf,Object),He=Object.create,Pt=ht.propertyIsEnumerable,nt=pt.splice,xe=Object.getOwnPropertySymbols,Nt=Ke?Ke.isBuffer:void 0,Ft=dt(Object.keys,Object),vt=Y(H,"DataView"),bt=Y(H,"Map"),Ye=Y(H,"Promise"),ct=Y(H,"Set"),We=Y(H,"WeakMap"),Qe=Y(Object,"create"),$t=ur(vt),Se=ur(bt),Xe=ur(Ye),F=ur(ct),Z=ur(We),Ie=xt?xt.prototype:void 0,wt=Ie?Ie.valueOf:void 0;function k(l){var g=-1,S=l?l.length:0;for(this.clear();++g<S;){var D=l[g];this.set(D[0],D[1])}}function B(){this.__data__=Qe?Qe(null):{}}function W(l){return this.has(l)&&delete this.__data__[l]}function Ce(l){var g=this.__data__;if(Qe){var S=g[l];return S===n?void 0:S}return rt.call(g,l)?g[l]:void 0}function De(l){var g=this.__data__;return Qe?g[l]!==void 0:rt.call(g,l)}function lt(l,g){var S=this.__data__;return S[l]=Qe&&g===void 0?n:g,this}k.prototype.clear=B,k.prototype.delete=W,k.prototype.get=Ce,k.prototype.has=De,k.prototype.set=lt;function Oe(l){var g=-1,S=l?l.length:0;for(this.clear();++g<S;){var D=l[g];this.set(D[0],D[1])}}function f(){this.__data__=[]}function b(l){var g=this.__data__,S=lr(g,l);if(S<0)return!1;var D=g.length-1;return S==D?g.pop():nt.call(g,S,1),!0}function E(l){var g=this.__data__,S=lr(g,l);return S<0?void 0:g[S][1]}function V(l){return lr(this.__data__,l)>-1}function ie(l,g){var S=this.__data__,D=lr(S,l);return D<0?S.push([l,g]):S[D][1]=g,this}Oe.prototype.clear=f,Oe.prototype.delete=b,Oe.prototype.get=E,Oe.prototype.has=V,Oe.prototype.set=ie;function te(l){var g=-1,S=l?l.length:0;for(this.clear();++g<S;){var D=l[g];this.set(D[0],D[1])}}function K(){this.__data__={hash:new k,map:new(bt||Oe),string:new k}}function Q(l){return U(this,l).delete(l)}function Ne(l){return U(this,l).get(l)}function z(l){return U(this,l).has(l)}function ue(l,g){return U(this,l).set(l,g),this}te.prototype.clear=K,te.prototype.delete=Q,te.prototype.get=Ne,te.prototype.has=z,te.prototype.set=ue;function Re(l){this.__data__=new Oe(l)}function Ze(){this.__data__=new Oe}function Qt(l){return this.__data__.delete(l)}function ot(l){return this.__data__.get(l)}function ho(l){return this.__data__.has(l)}function gn(l,g){var S=this.__data__;if(S instanceof Oe){var D=S.__data__;if(!bt||D.length<r-1)return D.push([l,g]),this;S=this.__data__=new te(D)}return S.set(l,g),this}Re.prototype.clear=Ze,Re.prototype.delete=Qt,Re.prototype.get=ot,Re.prototype.has=ho,Re.prototype.set=gn;function go(l,g){var S=$o(l)||ll(l)?Pe(l.length,String):[],D=S.length,it=!!D;for(var Tt in l)rt.call(l,Tt)&&!(it&&(Tt=="length"||It(Tt,D)))&&S.push(Tt);return S}function Vr(l,g,S){var D=l[g];(!(rt.call(l,g)&&Yi(D,S))||S===void 0&&!(g in l))&&(l[g]=S)}function lr(l,g){for(var S=l.length;S--;)if(Yi(l[S][0],g))return S;return-1}function mn(l,g){return l&&$(g,Eo(g),l)}function Br(l,g,S,D,it,Tt,Kt){var At;if(D&&(At=Tt?D(l,it,Tt,Kt):D(l)),At!==void 0)return At;if(!_n(l))return l;var Ki=$o(l);if(Ki){if(At=Et(l),!g)return y(l,At)}else{var Sr=Be(l),Xi=Sr==h||Sr==m;if(fl(l))return vo(l,g);if(Sr==T||Sr==i||Xi&&!Tt){if(kt(l))return Tt?l:{};if(At=_t(Xi?{}:l),!g)return I(l,mn(At,l))}else{if(!G[Sr])return Tt?l:{};At=Jt(l,Sr,Br,g)}}Kt||(Kt=new Re);var Zi=Kt.get(l);if(Zi)return Zi;if(Kt.set(l,At),!Ki)var es=S?ne(l):Eo(l);return _e(es||l,function(To,xn){es&&(xn=To,To=l[xn]),Vr(At,xn,Br(To,g,S,D,xn,l,Kt))}),At}function yn(l){return _n(l)?He(l):{}}function vn(l,g,S){var D=g(l);return $o(l)?D:Te(D,S(l))}function mo(l){return at.call(l)}function yo(l){if(!_n(l)||wn(l))return!1;var g=Ji(l)||kt(l)?yt:ce;return g.test(ur(l))}function bn(l){if(!Wr(l))return Ft(l);var g=[];for(var S in Object(l))rt.call(l,S)&&S!="constructor"&&g.push(S);return g}function vo(l,g){if(g)return l.slice();var S=new l.constructor(l.length);return l.copy(S),S}function zr(l){var g=new l.constructor(l.byteLength);return new St(g).set(new St(l)),g}function bo(l,g){var S=g?zr(l.buffer):l.buffer;return new l.constructor(S,l.byteOffset,l.byteLength)}function wo(l,g,S){var D=g?S(Ae(l),!0):Ae(l);return ze(D,Ge,new l.constructor)}function _o(l){var g=new l.constructor(l.source,ae.exec(l));return g.lastIndex=l.lastIndex,g}function xo(l,g,S){var D=g?S(Je(l),!0):Je(l);return ze(D,fe,new l.constructor)}function a(l){return wt?Object(wt.call(l)):{}}function p(l,g){var S=g?zr(l.buffer):l.buffer;return new l.constructor(S,l.byteOffset,l.length)}function y(l,g){var S=-1,D=l.length;for(g||(g=Array(D));++S<D;)g[S]=l[S];return g}function $(l,g,S,D){S||(S={});for(var it=-1,Tt=g.length;++it<Tt;){var Kt=g[it],At=void 0;Vr(S,Kt,At===void 0?l[Kt]:At)}return S}function I(l,g){return $(l,Ve(l),g)}function ne(l){return vn(l,Eo,Ve)}function U(l,g){var S=l.__data__;return So(g)?S[typeof g=="string"?"string":"hash"]:S.map}function Y(l,g){var S=ft(l,g);return yo(S)?S:void 0}var Ve=xe?dt(xe,Object):hl,Be=mo;(vt&&Be(new vt(new ArrayBuffer(1)))!=N||bt&&Be(new bt)!=_||Ye&&Be(Ye.resolve())!=C||ct&&Be(new ct)!=x||We&&Be(new We)!=M)&&(Be=function(l){var g=at.call(l),S=g==T?l.constructor:void 0,D=S?ur(S):void 0;if(D)switch(D){case $t:return N;case Se:return _;case Xe:return C;case F:return x;case Z:return M}return g});function Et(l){var g=l.length,S=l.constructor(g);return g&&typeof l[0]=="string"&&rt.call(l,"index")&&(S.index=l.index,S.input=l.input),S}function _t(l){return typeof l.constructor=="function"&&!Wr(l)?yn(jt(l)):{}}function Jt(l,g,S,D){var it=l.constructor;switch(g){case L:return zr(l);case c:case u:return new it(+l);case N:return bo(l,D);case P:case ve:case be:case pe:case Fe:case Le:case we:case J:case Ee:return p(l,D);case _:return wo(l,D,S);case v:case A:return new it(l);case O:return _o(l);case x:return xo(l,D,S);case R:return a(l)}}function It(l,g){return g=g??o,!!g&&(typeof l=="number"||re.test(l))&&l>-1&&l%1==0&&l<g}function So(l){var g=typeof l;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?l!=="__proto__":l===null}function wn(l){return!!mt&&mt in l}function Wr(l){var g=l&&l.constructor,S=typeof g=="function"&&g.prototype||ht;return l===S}function ur(l){if(l!=null){try{return Ct.call(l)}catch{}try{return l+""}catch{}}return""}function cl(l){return Br(l,!0,!0)}function Yi(l,g){return l===g||l!==l&&g!==g}function ll(l){return ul(l)&&rt.call(l,"callee")&&(!Pt.call(l,"callee")||at.call(l)==i)}var $o=Array.isArray;function Qi(l){return l!=null&&dl(l.length)&&!Ji(l)}function ul(l){return pl(l)&&Qi(l)}var fl=Nt||gl;function Ji(l){var g=_n(l)?at.call(l):"";return g==h||g==m}function dl(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=o}function _n(l){var g=typeof l;return!!l&&(g=="object"||g=="function")}function pl(l){return!!l&&typeof l=="object"}function Eo(l){return Qi(l)?go(l):bn(l)}function hl(){return[]}function gl(){return!1}e.exports=cl})(ii,ii.exports);var or=ii.exports,si=function(){return si=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},si.apply(this,arguments)};function cg(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function c(h){try{d(n.next(h))}catch(m){s(m)}}function u(h){try{d(n.throw(h))}catch(m){s(m)}}function d(h){h.done?i(h.value):o(h.value).then(c,u)}d((n=n.apply(e,[])).next())})}function lg(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(d){return function(h){return u([d,h])}}function u(d){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,d[0]&&(r=0)),r;)try{if(n=1,o&&(i=d[0]&2?o.return:d[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,d[1])).done)return i;switch(o=0,i&&(d=[d[0]&2,i.value]),d[0]){case 0:case 1:i=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,o=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){r.label=d[1];break}if(d[0]===6&&r.label<i[1]){r.label=i[1],i=d;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(d);break}i[2]&&r.ops.pop(),r.trys.pop();continue}d=t.call(e,r)}catch(h){d=[6,h],o=0}finally{n=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function Wn(e,t,r,n,o){return cg(this,void 0,void 0,function(){var i,s;return lg(this,function(c){switch(c.label){case 0:if(r===void 0)return[2];s=0,c.label=1;case 1:return s<r.length?[4,r[s](e,t,n,o,r)]:[3,4];case 2:if(i=c.sent(),i==="canceled")return[3,4];c.label=3;case 3:return s++,[3,1];case 4:return i!=="canceled"?[2,i]:[2]}})})}var ai=function(e,t){return t===void 0&&(t={}),e?{trackedAnalytics:si({sdkCode:e.sdkCode,sdkSemver:e.sdkSemver,techVersion:e.techVersion},t)}:null},ug=function(){function e(t,r,n,o){var i=this;this.isMounted=!0,this.imgElement=t,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var s=or(r);Wn(t,s,n,this.htmlPluginState,o).then(function(c){if(i.isMounted){i.htmlPluginState.pluginEventSubscription.forEach(function(d){d()});var u=ai(o,c);i.imgElement.setAttribute("src",s.toURL(u))}})}return e.prototype.update=function(t,r,n){var o=this,i=or(t);Wn(this.imgElement,i,r,this.htmlPluginState).then(function(s){if(o.isMounted){var c=ai(n,s);o.imgElement.setAttribute("src",i.toURL(c))}})},e.prototype.unmount=function(){this.isMounted=!1},e}();let Me=class{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}},fg=class extends Error{constructor(t="Unsupported"){super(t)}};function Ai(e){return new fg(e)}function dg(){return this._qualifierModel||{error:Ai(`unsupported qualifier ${this.constructor.name}`)}}let pg=class{constructor(){this._qualifierModel={}}toJson(){return dg.apply(this)}},X=class extends pg{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Me?this.qualifierValue=r:(this.qualifierValue=new Me,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}},Lt=class extends X{constructor(t,r){let n;r?n=new Me([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}};function hg(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function gg(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:Ai(`unsupported action ${this.constructor.name}`)}}let mg=class{constructor(){this._actionModel={}}toJson(){return gg.apply(this)}},Wt=class extends mg{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),hg(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new Lt(n)):this.qualifiers.set(r,new X(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new Lt(t)):t instanceof Lt&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}};class Ci extends Wt{constructor(t){super(),this.regionType=t,this._actionModel.regionType=t}}class io extends Ci{constructor(){super("custom")}x(t){return this._actionModel.x=t,this.addQualifier(new X("x",t)),this}y(t){return this._actionModel.y=t,this.addQualifier(new X("y",t)),this}width(t){return this._actionModel.width=t,this.addQualifier(new X("w",t)),this}height(t){return this._actionModel.height=t,this.addQualifier(new X("h",t)),this}static fromJson(t){const r=new io;return t.width&&r.width(t.width),t.height&&r.height(t.height),t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function yg(){return new io}function dc(){return new Ci("faces")}function vg(){return new Ci("ocr_text")}class bg extends Wt{constructor(t){super(),this._actionModel={},this._strength=t,this._actionModel.actionType="blur",this._actionModel.strength=t}region(t){return this._region=t,this._actionModel.region=t.toJson(),this}strength(t){return this._strength=t,this._actionModel.strength=t,this}prepareQualifiers(){const t=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new X("e",`blur_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new X("e",`blur_region${t}`)),this.addQualifier(new X("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new X("e",`blur_faces${t}`))):this.addQualifier(new X("e",`blur${t}`))}static fromJson(t){const{strength:r,region:n}=t,o=new this(r);return r&&o.strength(r),n&&n.regionType==="faces"&&o.region(dc()),n&&n.regionType==="ocr_text"&&o.region(vg()),n&&n.regionType==="custom"&&o.region(io.fromJson(n)),o}}function _r(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const pc={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},wg={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},hc={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},gc={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},_g={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},mc={444:"CHROMA_444",420:"CHROMA_420"},xg={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},Sg=_r(mc);_r(xg);const $g=_r(pc),Eg=_r(wg),yc=_r(hc);_r(gc);_r(_g);class vc extends Wt{constructor(t,r){super(),this._actionModel={},this._actionModel.actionType=yc[t]||t;const n=this.createEffectQualifier(t,r);this.addQualifier(n)}createEffectQualifier(t,r){let n;return r?n=new Me([t,`${r}`]).setDelimiter(":"):n=new Me(t),new X("e",n)}static fromJson(t){const{actionType:r,level:n,strength:o}=t,i=hc[r]||r;return new this(i,n||o)}}class Tg extends vc{constructor(t,r){super(t,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=t,this._actionModel.actionType=yc[t]||t,r&&this.setLevel(r)}setLevel(t){this._actionModel[this.LEVEL_NAME]=t;const r=this.createEffectQualifier(this.effectType,t);return this.addQualifier(r),this}}function so(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class Ag extends Wt{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(t){return this._actionModel.numOfColors=t,this._numOfColors=t,this}detailsLevel(t){return this._actionModel.detailLevel=t,this._detailsLevel=t,this}despeckleLevel(t){return this._actionModel.despeckleLevel=t,this._despeckleLevel=t,this}cornersLevel(t){return this._actionModel.cornersLevel=t,this._cornersLevel=t,this}paths(t){return this._actionModel.paths=t,this._paths=t,this}prepareQualifiers(){let t="vectorize";this._numOfColors&&(t+=`:${new Me(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(t+=`:${new Me(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(t+=`:${new Me(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(t+=`:${new Me(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(t+=`:${new Me(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new X("e",t))}static fromJson(t){const{actionType:r,paths:n,cornersLevel:o,despeckleLevel:i,detailLevel:s,numOfColors:c}=t,u=new this;return n&&u.paths(n),o&&u.cornersLevel(o),i&&u.despeckleLevel(i),s&&u.detailsLevel(s),c&&u.numOfColors(c),u}}class Cg extends Tg{level(t){return this._actionModel.level=t,this.setLevel(t)}}class Og extends Wt{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new X("e",new Me("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new X("e",new Me(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(t){return this._actionModel.type="stripes",this._actionModel.stripesStrength=t,this.addQualifier(new X("e",new Me(["assist_colorblind",t]).setDelimiter(":")))}static fromJson(t){const{actionType:r,type:n,stripesStrength:o}=t,i=new this;return n==="xray"&&i.xray(),n==="stripes"&&o&&i.stripesStrength(o),i}}class Rg extends Cg{color(t){return this._actionModel.color=t,this.addQualifier(new X("co",new Me(so(t))))}static fromJson(t){const{actionType:r,level:n,color:o}=t,i=new this(r,n);return o&&i.color(o),i}}class kg extends Wt{constructor(t){super(),this._actionModel={},this._squareSize=t,this._actionModel.actionType="pixelate",this._actionModel.squareSize=t}region(t){return this._region=t,this._actionModel.region={regionType:this._region.regionType},this}squareSize(t){return this._squareSize=t,this._actionModel.squareSize=t,this}prepareQualifiers(){const t=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new X("e",`pixelate_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new X("e",`pixelate_region${t}`)),this.addQualifier(new X("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new X("e",`pixelate_faces${t}`))):this.addQualifier(new X("e",`pixelate${t}`))}static fromJson(t){const{region:r,squareSize:n}=t,o=new this(n);return n&&o.squareSize(n),r&&r.regionType==="faces"&&o.region(dc()),r&&r.regionType==="custom"&&o.region(yg()),o}}function jg(e){return new bg(e)}function Pg(){return new vc("grayscale")}function Gs(e){return new Rg("colorize",e)}function Ig(){return new Ag}function Mg(){return new Og}function Lg(e){return new kg(e)}let Dg=class extends Wt{constructor(t){super(),this._actionModel={},this.addQualifier(new X("b",new Me(so(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}},Hs=class{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:Ai(`unsupported action ${this.constructor.name}`)}}};function Ng(e){const t=e;return"error"in t&&!!t.error}function Fg(){return new Lt("ignore_aspect_ratio")}function Vg(){return new Lt("lossy")}function Bg(){return new Lt("preserve_transparency")}function zg(e){return new Lt("progressive",e)}function Wg(){return new Lt("region_relative")}function Ug(){return new Lt("relative")}let Oi=class extends Me{constructor(t){super(t),this.val=t}getValue(){return this.val}},bc=class extends Wt{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Oi?o=r.getValue():o=r,this._actionModel.actionType=Eg[t],this._actionModel[n]=o,this.addQualifier(new X(t,r))}},qg=class extends Lt{constructor(t){super("progressive",t)}},ci=class extends bc{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(Vg()),this}progressive(t){return t instanceof qg?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(zg(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(Bg()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;let s;return r?s=new this("f",r):s=new this("f"),o&&(o.mode?s.progressive(o.mode):s.progressive()),n&&s.lossy(),i&&s.preserveTransparency(),s}},ao=class wc{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new Hs(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof wc?this.actions=this.actions.concat(t.actions):this.actions.push(new Hs(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new ci("q",t)),this}format(t){return this.addAction(new ci("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new Dg(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new Wt;let n=t;return typeof t=="string"&&(n=new Lt(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(Ng(n))return n;t.push(n)}return{actions:t}}};function Ys(e){const t=e.toString();return t.match(/[A-Z]/gi)||t.length>1&&t[0]==="0"?t:!isNaN(parseFloat(t))&&t.indexOf(":")===-1&&t.indexOf(".")===-1?`${t}.0`:t}class Gg extends Me{}class Hg extends Wt{constructor(t,r,n){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=$g[t]||t,this.addQualifier(new X("c",t)),r&&this.width(r),n&&this.height(n)}height(t){return this._actionModel.dimensions.height=t,this.addQualifier(new X("h",t))}width(t){return this._actionModel.dimensions.width=t,this.addQualifier(new X("w",t))}aspectRatio(t){if(t instanceof Gg)return this._actionModel.dimensions.aspectRatio=`${t}`,this.addQualifier(new X("ar",t));if(typeof t=="number"||typeof t=="string")return this._actionModel.dimensions.aspectRatio=Ys(t),this.addQualifier(new X("ar",Ys(t)));if(t instanceof Lt)return this._actionModel.dimensions.aspectRatio=`${t.qualifierValue}`,this.addFlag(t)}relative(){return this._actionModel.relative=!0,this.addFlag(Ug())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(Wg())}static fromJson(t){const{actionType:r,dimensions:n,relative:o,regionRelative:i}=t,{aspectRatio:s,width:c,height:u}=n,d=pc[r]||r,h=new this(d,c,u);return s&&h.aspectRatio(s==="ignore_aspect_ratio"?Fg():s),o&&h.relative(),i&&h.regionRelative(),h}}class Ri extends X{constructor(t){super("g",new Me(t))}}class _c extends Ri{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}class xc extends Ri{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}class Sc extends Ri{constructor(t){super(t)}}function Yg(e){return new Sc(e)}function $c(...e){const t=[...e];return new xc(t)}function Ec(){return new _c}class co extends Me{constructor(t){super(),this.name=t}toString(){return this.name}}function Qg(){return new co("ocr_text")}function Jg(e){return e&&`${e}`.split(":")[0]==="auto"}function Kg(e){const t=ki(e);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(t)}function ki(e){return`${e}`.replace("g_","")}function Xg(e){return{compass:ki(e),gravityType:"direction"}}function Zg(e){return ki(e)==="ocr_text"}function em(){return{gravityType:"ocr"}}function tm(e){return`${e.qualifierValue}`.split(":")[0]==="auto"}function rm(e){const r=e.toString().split("_"),n={object:r[0]};return r.length>1&&(r[1]==="avoid"?n.avoid=!0:n.weight=+r[1]),n}function Tc(e){let t;const r=e==="auto"?new _c:e;return`${e}`.startsWith("auto:")?t=`${e}`.split(":").filter(o=>o!=="auto"):t=r.qualifierValue.values.filter(o=>o!=="auto"),{gravityType:"auto",autoFocus:t.map(rm)}}function nm(e){const t=`${e}`.split(":").includes("auto"),r=e.qualifierValue.values,o={gravityType:"object",focusOnObjects:(t?r.slice(0,r.length-1):r).map(i=>`${i}`)};if(t){const i=r[r.length-1].values.slice(1),s=Ec().autoFocus(...i);o.fallbackGravity=Tc(s)}return o}function om(e){const r=e.split(":").map(n=>new co(n));return new xc(r)}function im(e){return Kg(e)?Xg(e):Zg(e)?em():Jg(e)||tm(e)?Tc(e):nm(typeof e=="string"?om(e):e)}class ji extends Me{constructor(t,r){super(),this._weight=r,this.focusOn=t,this.shouldAvoid=!1}static focusOn(t,r){return new ji(t,r)}shouldAddWeight(){return typeof this._weight=="number"||typeof this._weight=="string"||this.shouldAvoid}getName(){return this.focusOn.name}getWeight(){return this.shouldAvoid?"avoid":this._weight}toString(){return this.shouldAddWeight()?`${this.getName()}_${this.getWeight()}`:`${this.getName()}`}weight(t){return this._weight=t,this}avoid(){return this.shouldAvoid=!0,this}}class Ac extends Me{constructor(t){super(),this.val=t}toString(){return this.val}}function sm(e){return e.gravityType==="direction"}function am(e){return e.gravityType==="ocr"}function cm(e){return e.gravityType==="auto"}function lm(e){const{object:t,weight:r,avoid:n}=e,o=new ji(new co(t));return(r||r===0)&&o.weight(r),n&&o.avoid(),o}function Cc(e){const r=(e.autoFocus||[]).map(lm);return Ec().autoFocus(...r)}function um(e){const t=(e.focusOnObjects||[]).map(n=>new co(n)),r=$c(...t);if(e.fallbackGravity){const n=Cc(e.fallbackGravity);r.fallbackGravity(n)}return r}function fm(e){return sm(e)?new Sc(new Ac(e.compass)):am(e)?$c(Qg()):cm(e)?Cc(e):um(e)}class Pi extends Hg{gravity(t){this._actionModel.gravity=im(t);const r=typeof t=="string"?new X("g",t):t;return this.addQualifier(r)}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.gravity&&r.gravity(fm(t.gravity)),r}}class dn extends X{constructor(t){super("b"),t&&this.addValue(t)}}const Oc=100,dm=0;class pm extends dn{intensity(t){return this.intensityLevel=t,this}brightness(t){return this.brightnessLevel=t,this}toString(){const t=this.intensityLevel!==void 0?`:${this.intensityLevel}`:"",r=this.brightnessLevel!==void 0?this.intensityLevel!==void 0?`:${this.brightnessLevel}`:`:${Oc}:${this.brightnessLevel}`:"";return`b_blurred${t}${r}`}}var Rc=pm;class Ii extends dn{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...t){return this._palette=t.map(r=>so(r)),this}}class kc extends Ii{toString(){return`
|
|
466
|
+
`,Ci=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:y="bottom",tip:_="",title:v="",hide:S=_===""&&v===""&&h===void 0,...O},P){const[E,k]=b.useState(!1),R=b.useRef(null),L=b.useCallback(()=>{R.current!==null&&clearTimeout(R.current),R.current=setTimeout(()=>{k(!0)},100)},[]),D=b.useCallback(()=>{R.current!==null&&clearTimeout(R.current),R.current=setTimeout(()=>{k(!1)},100)},[]);return r?A.jsx(b.StrictMode,{children:t}):A.jsxs(fg,{"data-tooltip-id":u,display:n,onMouseLeave:D,onMouseMove:L,ref:P,...O,children:[i?A.jsx(Ot,{children:A.jsx(Ft,{clickable:!0,disabled:r,icon:i,iconColor:a,iconSize:c??"xxs",iconType:E?"fa-solid":"fa-light"})}):t,wl.createPortal(A.jsx(pg,{$maxWidth:f,children:A.jsxs(dg,{delayShow:500,float:o==="float"?!0:void 0,globalCloseEvents:{resize:!0},hidden:S||!E,id:u,middlewares:[Jd({fallbackAxisSideDirection:"start"}),Qd({mainAxis:10})],noArrow:o==="float",place:y,children:[Po(v)?void 0:A.jsx(xt,{color:C.palette.white,fontWeight:"bold",lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:v}),Po(_)?void 0:A.jsx(xt,{color:C.palette.gray[100],lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:_}),Po(h)?void 0:h]})}),document.getElementById("root")??document.body)]})}),pc=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:y,tooltipPlace:_="bottom",underline:v=!1,value:S,variant:O="primaryWeb",...P},E){const k=y!==void 0,R=`${o}-tooltip`,L=!O.endsWith("Web");return A.jsx(Ci,{disabled:!k,id:R,place:_,tip:y,children:A.jsxs(gd,{$variant:O,className:a,disabled:n,id:o,name:c,onClick:u,ref:E,type:h,value:S,...k?{"data-tooltip-id":R}:{},...P,children:[i!==void 0&&A.jsx(Ft,{icon:i,iconSize:"xs",iconType:"fa-light"}),A.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||O==="link")&&A.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}},hg=ae.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: 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
|
+
}
|
|
512
|
+
|
|
513
|
+
input:not(:disabled):hover ~ span > svg {
|
|
514
|
+
box-shadow: 0 0 0 4px ${C.palette.gray[100]};
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
input:checked:disabled ~ span > svg {
|
|
518
|
+
background-color: ${C.palette.gray[300]};
|
|
519
|
+
border: 1px solid ${C.palette.gray[300]};
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
input:not(:disabled):hover:checked ~ span > svg {
|
|
523
|
+
box-shadow: 0 0 0 4px ${C.palette.primary[50]};
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
input:checked ~ span > svg > path {
|
|
527
|
+
fill: ${C.palette.white};
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
input:checked:disabled ~ span > svg > path {
|
|
531
|
+
fill: ${C.palette.white};
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
@media screen and (max-width: ${C.breakpoints.mobile}) {
|
|
535
|
+
font-size: ${Ya[r].sm};
|
|
536
|
+
}
|
|
537
|
+
`}}
|
|
538
|
+
`,gg=({defaultChecked:e=!1,disabled:t=!1,label:r,name:n,onChange:o,onClick:i,onFocus:a,onKeyDown:c,value:u,variant:f="web"})=>A.jsxs(hg,{$disabled:t,$variant:f,children:[A.jsx("input",{"aria-label":n,defaultChecked:e,disabled:t,name:n,onChange:o,onClick:i,onFocus:a,onKeyDown:c,type:"checkbox",value:u}),A.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:{},ii={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]",y="[object GeneratorFunction]",_="[object Map]",v="[object Number]",S="[object Object]",O="[object Promise]",P="[object RegExp]",E="[object Set]",k="[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\]$/,ne=/^(?: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[k]=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,ye=typeof self=="object"&&self&&self.Object===Object&&self,Y=ue||ye||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__"],yt=function(){var l=/[^.]+$/.exec(gt&>.keys&>.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""}(),kt=pe.toString,rt=ht.hasOwnProperty,st=ht.toString,mt=RegExp("^"+kt.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 Oe(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 T(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 ie(l,g){var x=this.__data__,N=lr(x,l);return N<0?x.push([l,g]):x[N][1]=g,this}Oe.prototype.clear=d,Oe.prototype.delete=w,Oe.prototype.get=T,Oe.prototype.has=z,Oe.prototype.set=ie;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||Oe),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 ke(l){this.__data__=new Oe(l)}function Ze(){this.__data__=new Oe}function Jt(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 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}ke.prototype.clear=Ze,ke.prototype.delete=Jt,ke.prototype.get=ot,ke.prototype.has=ho,ke.prototype.set=yn;function go(l,g){var x=So(l)||pl(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 mn(l,g){return l&&$(g,Eo(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=So(l);if(Zi){if(Ct=Tt(l),!g)return m(l,Ct)}else{var $r=ze(l),ea=$r==h||$r==y;if(gl(l))return vo(l,g);if($r==S||$r==i||ea&&!At){if(jt(l))return At?l:{};if(Ct=_t(ea?{}:l),!g)return M(l,mn(Ct,l))}else{if(!H[$r])return At?l:{};Ct=Kt(l,$r,zr,g)}}Xt||(Xt=new ke);var ta=Xt.get(l);if(ta)return ta;if(Xt.set(l,Ct),!Zi)var ra=x?oe(l):Eo(l);return xe(ra||l,function(To,$n){ra&&($n=To,To=l[$n]),Vr(Ct,$n,zr(To,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 So(l)?N:Te(N,x(l))}function yo(l){return st.call(l)}function mo(l){if(!xn(l)||_n(l))return!1;var g=Xi(l)||jt(l)?mt: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 vo(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 bo(l,g){var x=g?Br(l.buffer):l.buffer;return new l.constructor(x,l.byteOffset,l.byteLength)}function wo(l,g,x){var N=g?x(Ae(l),!0):Ae(l);return Be(N,Ge,new l.constructor)}function _o(l){var g=new l.constructor(l.source,ce.exec(l));return g.lastIndex=l.lastIndex,g}function xo(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 m(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 oe(l){return bn(l,Eo,Ve)}function q(l,g){var x=l.__data__;return $o(g)?x[typeof g=="string"?"string":"hash"]:x.map}function Q(l,g){var x=dt(l,g);return mo(x)?x:void 0}var Ve=$e?ft($e,Object):vl,ze=yo;(vt&&ze(new vt(new ArrayBuffer(1)))!=F||bt&&ze(new bt)!=_||Ye&&ze(Ye.resolve())!=O||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 O;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 bo(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 wo(l,N,x);case v:case k:return new it(l);case P:return _o(l);case E:return xo(l,N,x);case R:return s(l)}}function Mt(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 kt.call(l)}catch{}try{return l+""}catch{}}return""}function fl(l){return zr(l,!0,!0)}function Ji(l,g){return l===g||l!==l&&g!==g}function pl(l){return hl(l)&&rt.call(l,"callee")&&(!It.call(l,"callee")||st.call(l)==i)}var So=Array.isArray;function Ki(l){return l!=null&&yl(l.length)&&!Xi(l)}function hl(l){return ml(l)&&Ki(l)}var gl=Vt||bl;function Xi(l){var g=xn(l)?st.call(l):"";return g==h||g==y}function yl(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 ml(l){return!!l&&typeof l=="object"}function Eo(l){return Ki(l)?go(l):wn(l)}function vl(){return[]}function bl(){return!1}e.exports=fl})(ii,ii.exports);var or=ii.exports,ai=function(){return ai=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},ai.apply(this,arguments)};function yg(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(y){a(y)}}function u(h){try{f(n.throw(h))}catch(y){a(y)}}function f(h){h.done?i(h.value):o(h.value).then(c,u)}f((n=n.apply(e,[])).next())})}function mg(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 yg(this,void 0,void 0,function(){var i,a;return mg(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 si=function(e,t){return t===void 0&&(t={}),e?{trackedAnalytics:ai({sdkCode:e.sdkCode,sdkSemver:e.sdkSemver,techVersion:e.techVersion},t)}:null},vg=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=si(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=si(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}},bg=class extends Error{constructor(t="Unsupported"){super(t)}};function Oi(e){return new bg(e)}function wg(){return this._qualifierModel||{error:Oi(`unsupported qualifier ${this.constructor.name}`)}}let _g=class{constructor(){this._qualifierModel={}}toJson(){return wg.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 xg(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function $g(){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 Sg=class{constructor(){this._actionModel={}}toJson(){return $g.apply(this)}},qt=class extends Sg{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(),xg(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 ki extends qt{constructor(t){super(),this.regionType=t,this._actionModel.regionType=t}}class io extends ki{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 Eg(){return new io}function hc(){return new ki("faces")}function Tg(){return new ki("ocr_text")}class Ag 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(hc()),n&&n.regionType==="ocr_text"&&o.region(Tg()),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 gc={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},Cg={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"},mc={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Og={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},vc={444:"CHROMA_444",420:"CHROMA_420"},kg={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},Rg=_r(vc);_r(kg);const jg=_r(gc),Pg=_r(Cg),bc=_r(yc);_r(mc);_r(Og);class wc extends qt{constructor(t,r){super(),this._actionModel={},this._actionModel.actionType=bc[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 Ig extends wc{constructor(t,r){super(t,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=t,this._actionModel.actionType=bc[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 Mg 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 Lg extends Ig{level(t){return this._actionModel.level=t,this.setLevel(t)}}class Dg 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 Ng extends Lg{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 Fg 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(hc()),r&&r.regionType==="custom"&&o.region(Eg()),o}}function Vg(e){return new Ag(e)}function zg(){return new wc("grayscale")}function Qa(e){return new Ng("colorize",e)}function Bg(){return new Mg}function Wg(){return new Dg}function Ug(e){return new Fg(e)}let qg=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 Gg(e){const t=e;return"error"in t&&!!t.error}function Hg(){return new Dt("ignore_aspect_ratio")}function Yg(){return new Dt("lossy")}function Qg(){return new Dt("preserve_transparency")}function Jg(e){return new Dt("progressive",e)}function Kg(){return new Dt("region_relative")}function Xg(){return new Dt("relative")}let Ri=class extends Me{constructor(t){super(t),this.val=t}getValue(){return this.val}},_c=class extends qt{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Ri?o=r.getValue():o=r,this._actionModel.actionType=Pg[t],this._actionModel[n]=o,this.addQualifier(new Z(t,r))}},Zg=class extends Dt{constructor(t){super("progressive",t)}},ci=class extends _c{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(Yg()),this}progressive(t){return t instanceof Zg?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(Jg(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 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 xc{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 xc?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 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 qg(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(Gg(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 ey extends Me{}class ty extends qt{constructor(t,r,n){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=jg[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 ey)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(Xg())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(Kg())}static fromJson(t){const{actionType:r,dimensions:n,relative:o,regionRelative:i}=t,{aspectRatio:a,width:c,height:u}=n,f=gc[r]||r,h=new this(f,c,u);return a&&h.aspectRatio(a==="ignore_aspect_ratio"?Hg():a),o&&h.relative(),i&&h.regionRelative(),h}}class ji extends Z{constructor(t){super("g",new Me(t))}}class $c extends ji{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}class Sc extends ji{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}class Ec extends ji{constructor(t){super(t)}}function ry(e){return new Ec(e)}function Tc(...e){const t=[...e];return new Sc(t)}function Ac(){return new $c}class co extends Me{constructor(t){super(),this.name=t}toString(){return this.name}}function ny(){return new co("ocr_text")}function oy(e){return e&&`${e}`.split(":")[0]==="auto"}function iy(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 ay(e){return{compass:Pi(e),gravityType:"direction"}}function sy(e){return Pi(e)==="ocr_text"}function cy(){return{gravityType:"ocr"}}function ly(e){return`${e.qualifierValue}`.split(":")[0]==="auto"}function uy(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 Cc(e){let t;const r=e==="auto"?new $c:e;return`${e}`.startsWith("auto:")?t=`${e}`.split(":").filter(o=>o!=="auto"):t=r.qualifierValue.values.filter(o=>o!=="auto"),{gravityType:"auto",autoFocus:t.map(uy)}}function dy(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=Ac().autoFocus(...i);o.fallbackGravity=Cc(a)}return o}function fy(e){const r=e.split(":").map(n=>new co(n));return new Sc(r)}function py(e){return iy(e)?ay(e):sy(e)?cy():oy(e)||ly(e)?Cc(e):dy(typeof e=="string"?fy(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 Oc extends Me{constructor(t){super(),this.val=t}toString(){return this.val}}function hy(e){return e.gravityType==="direction"}function gy(e){return e.gravityType==="ocr"}function yy(e){return e.gravityType==="auto"}function my(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 kc(e){const r=(e.autoFocus||[]).map(my);return Ac().autoFocus(...r)}function vy(e){const t=(e.focusOnObjects||[]).map(n=>new co(n)),r=Tc(...t);if(e.fallbackGravity){const n=kc(e.fallbackGravity);r.fallbackGravity(n)}return r}function by(e){return hy(e)?new Ec(new Oc(e.compass)):gy(e)?Tc(ny()):yy(e)?kc(e):vy(e)}class Mi extends ty{gravity(t){this._actionModel.gravity=py(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(by(t.gravity)),r}}class pn extends Z{constructor(t){super("b"),t&&this.addValue(t)}}const Rc=100,wy=0;class _y 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}`:`:${Rc}:${this.brightnessLevel}`:"";return`b_blurred${t}${r}`}}var jc=_y;class Li extends pn{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...t){return this._palette=t.map(r=>ao(r)),this}}class Pc extends Li{toString(){return`
|
|
467
539
|
b_auto:border
|
|
468
540
|
${this._contrast?"_contrast":""}
|
|
469
541
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
470
|
-
`.replace(/\s+/g,"")}}class
|
|
542
|
+
`.replace(/\s+/g,"")}}class Ic extends Li{gradientColors(t){return this._gradientColors=t,this}gradientDirection(t){return this._gradientDirection=t,this}}class Mc extends Ic{toString(){return`
|
|
471
543
|
b_auto:border_gradient
|
|
472
544
|
${this._contrast?"_contrast":""}
|
|
473
545
|
${this._gradientColors?`:${this._gradientColors}`:""}
|
|
474
546
|
${this._gradientDirection?`:${this._gradientDirection}`:""}
|
|
475
547
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
476
|
-
`.replace(/\s+/g,"")}}class
|
|
548
|
+
`.replace(/\s+/g,"")}}class Lc extends Ic{toString(){return`
|
|
477
549
|
b_auto:predominant_gradient
|
|
478
550
|
${this._contrast?"_contrast":""}
|
|
479
551
|
${this._gradientColors?`:${this._gradientColors}`:""}
|
|
480
552
|
${this._gradientDirection?`:${this._gradientDirection}`:""}
|
|
481
553
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
482
|
-
`.replace(/\s+/g,"")}}class
|
|
554
|
+
`.replace(/\s+/g,"")}}class Dc extends Li{toString(){return`
|
|
483
555
|
b_auto:predominant
|
|
484
556
|
${this._contrast?"_contrast":""}
|
|
485
557
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
486
|
-
`.replace(/\s+/g,"")}}class Lc extends dn{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(t){return this._prompt=t,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return`b_gen_fill${this._prompt?`:prompt_${this._prompt}`:""}`}}function Dc(e){return`${e}`.replace("b_","")}function hm(){return{backgroundType:"auto"}}function gm(e){const{intensityLevel:t,brightnessLevel:r}=e,n={backgroundType:"blurred"};return(t||t===0)&&(n.intensity=t),(r||r===0)&&(n.brightness=r),n}function Mi(e){const t=e._contrast,r=e._palette,n={backgroundType:""};return t&&(n.contrast=!0),r&&(n.palette=r),n}function mm(e){return Object.assign(Object.assign({},Mi(e)),{backgroundType:"border"})}function Nc(e){const t=e._gradientColors,r=`${e._gradientDirection}`,n=Mi(e);return t&&(n.gradientColors=t),r&&(n.gradientDirection=r),n}function ym(e){return Object.assign(Object.assign({},Nc(e)),{backgroundType:"borderGradient"})}function vm(e){return{backgroundType:"color",color:Dc(e)}}function bm(e){return Object.assign(Object.assign({},Mi(e)),{backgroundType:"predominant"})}function wm(e){return Object.assign(Object.assign({},Nc(e)),{backgroundType:"predominantGradient"})}function _m(e){return Object.assign({backgroundType:e.getBackgroundType()},e.getPrompt()?{prompt:e.getPrompt()}:{})}function xm(e){return Dc(e)==="auto"?hm():e instanceof Rc?gm(e):e instanceof kc?mm(e):e instanceof Pc?ym(e):e instanceof Mc?bm(e):e instanceof Ic?wm(e):e instanceof Lc?_m(e):vm(e)}function Sm(){return new Oi("svg")}function Li(){return new Oi("auto")}function Fc(){return new kc}function Vc(){return new dn("auto")}function Bc(){return new Pc}function zc(){return new Ic}function Wc(){return new Mc}function Uc(e){return new dn(so(e))}function $m(){return new Rc}function qc(){return new Lc}const Gc={auto:Vc,border:Fc,borderGradient:Bc,predominantGradient:zc,predominant:Wc,color:Uc,blurred:$m,generativeFill:qc};function Em(e){const{brightness:t,intensity:r}=e,n=Gc.blurred();return n.brightness(t??dm),n.intensity(r??Oc),n}function Qs(e,t){const{gradientColors:r,gradientDirection:n,contrast:o,palette:i}=t;return o&&e.contrast(),i&&e.palette(...i),r&&e.gradientColors(+r),n&&e.gradientDirection(n),e}function Js(e,t){const{contrast:r,palette:n}=t;return r&&e.contrast(),n&&e.palette(...n),e}function Tm(e,t){const{prompt:r}=t;return r&&e.prompt(r),e}function Am(e){const{backgroundType:t}=e;switch(t){case"auto":return Vc();case"blurred":return Em(e);case"border":return Js(Fc(),e);case"borderGradient":return Qs(Bc(),e);case"predominant":return Js(Wc(),e);case"predominantGradient":return Qs(zc(),e);case"generativeFill":return Tm(qc(),e);default:return Uc(e.color)}}class Cm extends Pi{background(t){return this._actionModel.background=xm(t),this.addQualifier(t)}offsetX(t){return this._actionModel.x=t,this.addQualifier(new X("x",t))}offsetY(t){return this._actionModel.y=t,this.addQualifier(new X("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.background&&r.background(Am(t.background)),t.x&&r.offsetX(t.x),t.y&&r.offsetY(t.y),t.zoom&&r.zoom(t.zoom),r}}class Om extends Pi{x(t){return this._actionModel.x=t,this.addQualifier(new X("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new X("y",t))}zoom(t){return this._actionModel.zoom=t,this.addQualifier(new X("z",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),t.zoom&&r.zoom(t.zoom),r}}class Rm extends Pi{x(t){return this._actionModel.x=t,this.addQualifier(new X("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new X("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function km(e,t){return new Om("crop",e,t)}function jm(e,t){return new Rm("fill",e,t)}function Pm(e,t){return new Cm("pad",e,t)}class Im extends bc{constructor(t){super("q",t.toString(),"level")}chromaSubSampling(t){this._actionModel.chromaSubSampling=mc[t];const r=new Me([this._actionModel.level,t]);return r.setDelimiter(":"),this.addQualifier(new X("q",r))}quantization(t){this._actionModel.quantization=t;const r=new Me([this._actionModel.level,`qmax_${t}`]).setDelimiter(":");return this.addQualifier(new X("q",r))}static fromJson(t){const{level:r,chromaSubSampling:n,quantization:o}=t,i=gc[r]||r,s=new this(i);if(n){const c=Sg[n.toUpperCase()];c&&s.chromaSubSampling(+c)}return o&&s.quantization(o),s}}function lo(e){return new ci("f",e)}function uo(e){return new Im(e)}function Mm(){return new Ac("north_east")}Gs(70).color("black"),Gs(40).color("white"),Pg(),Mg();var Lm=new ao().effect(Ig()).delivery(uo("auto")).delivery(lo(Sm())),Dm=new ao().effect(Lg()).delivery(uo("auto")).delivery(lo(Li())),Nm=new ao().effect(jg(2e3)).delivery(uo("auto")).delivery(lo(Li())),Fm=new ao().resize(Pm("iw_div_2").aspectRatio(1).background(Gc.auto())).resize(km(1,1).gravity(Yg(Mm()))).resize(jm().height("ih").width("iw")).delivery(uo("auto")).delivery(lo(Li())),Ks={vectorize:Lm,pixelate:Dm,blur:Nm,"predominant-color":Fm},Xs="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Zs={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},ea="?_a=",Vm=function(){function e(t,r,n,o,i,s,c){var u=this;this.mimeType="video",this.mimeSubTypes=Zs,this.videoElement=t,this.originalVideo=r,this.videoOptions=c,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var d=or(r);Wn(t,r,o,this.htmlPluginState).then(function(){u.htmlPluginState.pluginEventSubscription.forEach(function(h){h()}),u.setVideoAttributes(i,s),u.handleSourceToVideo(d,n)})}return e.prototype.handleSourceToVideo=function(t,r){var n=this;if(r)this.generateUserSources(t,r);else{var o=["webm","mp4","ogv"];o.forEach(function(i){n.appendSourceTag(or(t),i)})}},e.prototype.generateUserSources=function(t,r){var n=this;r.map(function(o){var i=o.type,s=o.codecs,c=o.transcode;return n.appendSourceTag(or(t).transcode(c),i,n.buildMimeType(i,s))})},e.prototype.appendSourceTag=function(t,r,n){var o,i=document.createElement("source"),s=(o=this.videoOptions)===null||o===void 0?void 0:o.useFetchFormat;s&&t.format(r);var c=t.toURL(),u=c.split(ea),d=u[1]?"".concat(ea).concat(u[1]):"",h=s?"":".".concat(r);i.src="".concat(u[0]).concat(h).concat(d),i.type=n||"video/".concat(Zs[r]||r),this.videoElement.appendChild(i)},e.prototype.buildMimeType=function(t,r){var n="".concat(this.mimeType,"/").concat(this.mimeSubTypes[t]||t);return r&&(n+="; codecs="+(Array.isArray(r)?r.join(", "):r)),n},e.prototype.setVideoAttributes=function(t,r){var n;if(t===void 0&&(t={}),r==="auto"){var o=or(this.originalVideo);t.poster=o.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else r&&(t.poster=(n=r.toURL)===null||n===void 0?void 0:n.call(r));for(var i=0,s=Object.entries(t);i<s.length;i++){var c=s[i],u=c[0],d=c[1];d&&this.videoElement.setAttribute(u,u==="poster"?d:"")}},e.prototype.update=function(t,r,n,o,i){var s=this;if(t!==this.originalVideo){for(var c=this.videoElement.getElementsByTagName("SOURCE");c[0];)c[0].parentNode.removeChild(c[0]);Wn(this.videoElement,t,n,this.htmlPluginState).then(function(){s.setVideoAttributes(o,i),s.handleSourceToVideo(t,r),s.videoElement.load()})}},e}(),Bm=typeof nr=="object"&&nr&&nr.Object===Object&&nr,zm=typeof self=="object"&&self&&self.Object===Object&&self;Bm||zm||Function("return this")();function Di(){return typeof window<"u"}function Wm(e){return e instanceof HTMLImageElement}function Um(e){var t={},r=t.rootMargin,n=r===void 0?"0px":r,o=t.threshold,i=o===void 0?.1:o;return qm.bind(null,n,i)}function qm(e,t,r,n,o,i){return e===void 0&&(e="0px"),t===void 0&&(t=.1),Di()?new Promise(function(s){var c=function(){return s({lazyload:!0})},u=Hm(r,c,e,t);o.cleanupCallbacks.push(function(){u(),s("canceled")})}):!1}function Gm(){return window&&"IntersectionObserver"in window}function Hm(e,t,r,n){try{if(!Gm())return t(),function(){};var o=new IntersectionObserver(function(i){i.forEach(function(s){s.isIntersecting&&(o.unobserve(s.target),t())})},{rootMargin:r,threshold:n});return o.observe(e),function(){e&&o.observe(e)}}catch{t()}}function Ym(e){var t={},r=t.mode,n=r===void 0?"vectorize":r;return Qm.bind(null,n)}function Qm(e,t,r,n,o,i){Ks[e]||(e="vectorize");var s=Ks[e].actions,c=or(r);if(s.forEach(function(d){c.addAction(d)}),!Di())return r.transformation=c.transformation,!0;if(Wm(t)){c.transformation.actions.forEach(function(d,h){d instanceof Wt&&d.getActionTag()==="responsive"&&delete c.transformation.actions[h]});var u=ai(o,{placeholder:!0});return t.src=c.toURL(u),t.onerror=function(){t.src=Xs},new Promise(function(d){t.onload=function(){d()}}).then(function(){return new Promise(function(d){n.cleanupCallbacks.push(function(){t.src=Xs,d("canceled")});var h=new Image;h.src=r.toURL(u),h.onload=function(){d({placeholder:!0})},h.onerror=function(){d({placeholder:!0})}})})}}function Jm(e,t,r){var n=or(t);if(e)for(var o=0;o<e.length;o++){var i=e[o](null,n);if(!i)break}return n.toURL(r?{trackedAnalytics:r}:null)}function Un(e){e.cleanupCallbacks.forEach(function(t){t()})}var li=function(e,t){return li=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},li(e,t)};function Hc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");li(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Jr=function(){return Jr=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Jr.apply(this,arguments)};function Yc(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var Kr={exports:{}},ye={};/*
|
|
558
|
+
`.replace(/\s+/g,"")}}class Nc 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 Fc(e){return`${e}`.replace("b_","")}function xy(){return{backgroundType:"auto"}}function $y(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 Sy(e){return Object.assign(Object.assign({},Di(e)),{backgroundType:"border"})}function Vc(e){const t=e._gradientColors,r=`${e._gradientDirection}`,n=Di(e);return t&&(n.gradientColors=t),r&&(n.gradientDirection=r),n}function Ey(e){return Object.assign(Object.assign({},Vc(e)),{backgroundType:"borderGradient"})}function Ty(e){return{backgroundType:"color",color:Fc(e)}}function Ay(e){return Object.assign(Object.assign({},Di(e)),{backgroundType:"predominant"})}function Cy(e){return Object.assign(Object.assign({},Vc(e)),{backgroundType:"predominantGradient"})}function Oy(e){return Object.assign({backgroundType:e.getBackgroundType()},e.getPrompt()?{prompt:e.getPrompt()}:{})}function ky(e){return Fc(e)==="auto"?xy():e instanceof jc?$y(e):e instanceof Pc?Sy(e):e instanceof Mc?Ey(e):e instanceof Dc?Ay(e):e instanceof Lc?Cy(e):e instanceof Nc?Oy(e):Ty(e)}function Ry(){return new Ri("svg")}function Ni(){return new Ri("auto")}function zc(){return new Pc}function Bc(){return new pn("auto")}function Wc(){return new Mc}function Uc(){return new Lc}function qc(){return new Dc}function Gc(e){return new pn(ao(e))}function jy(){return new jc}function Hc(){return new Nc}const Yc={auto:Bc,border:zc,borderGradient:Wc,predominantGradient:Uc,predominant:qc,color:Gc,blurred:jy,generativeFill:Hc};function Py(e){const{brightness:t,intensity:r}=e,n=Yc.blurred();return n.brightness(t??wy),n.intensity(r??Rc),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 Iy(e,t){const{prompt:r}=t;return r&&e.prompt(r),e}function My(e){const{backgroundType:t}=e;switch(t){case"auto":return Bc();case"blurred":return Py(e);case"border":return Za(zc(),e);case"borderGradient":return Xa(Wc(),e);case"predominant":return Za(qc(),e);case"predominantGradient":return Xa(Uc(),e);case"generativeFill":return Iy(Hc(),e);default:return Gc(e.color)}}class Ly extends Mi{background(t){return this._actionModel.background=ky(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(My(t.background)),t.x&&r.offsetX(t.x),t.y&&r.offsetY(t.y),t.zoom&&r.zoom(t.zoom),r}}class Dy 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 Ny 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 Fy(e,t){return new Dy("crop",e,t)}function Vy(e,t){return new Ny("fill",e,t)}function zy(e,t){return new Ly("pad",e,t)}class By extends _c{constructor(t){super("q",t.toString(),"level")}chromaSubSampling(t){this._actionModel.chromaSubSampling=vc[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=mc[r]||r,a=new this(i);if(n){const c=Rg[n.toUpperCase()];c&&a.chromaSubSampling(+c)}return o&&a.quantization(o),a}}function lo(e){return new ci("f",e)}function uo(e){return new By(e)}function Wy(){return new Oc("north_east")}Qa(70).color("black"),Qa(40).color("white"),zg(),Wg();var Uy=new so().effect(Bg()).delivery(uo("auto")).delivery(lo(Ry())),qy=new so().effect(Ug()).delivery(uo("auto")).delivery(lo(Ni())),Gy=new so().effect(Vg(2e3)).delivery(uo("auto")).delivery(lo(Ni())),Hy=new so().resize(zy("iw_div_2").aspectRatio(1).background(Yc.auto())).resize(Fy(1,1).gravity(ry(Wy()))).resize(Vy().height("ih").width("iw")).delivery(uo("auto")).delivery(lo(Ni())),es={vectorize:Uy,pixelate:qy,blur:Gy,"predominant-color":Hy},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=",Yy=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}(),Qy=typeof nr=="object"&&nr&&nr.Object===Object&&nr,Jy=typeof self=="object"&&self&&self.Object===Object&&self;Qy||Jy||Function("return this")();function Fi(){return typeof window<"u"}function Ky(e){return e instanceof HTMLImageElement}function Xy(e){var t={},r=t.rootMargin,n=r===void 0?"0px":r,o=t.threshold,i=o===void 0?.1:o;return Zy.bind(null,n,i)}function Zy(e,t,r,n,o,i){return e===void 0&&(e="0px"),t===void 0&&(t=.1),Fi()?new Promise(function(a){var c=function(){return a({lazyload:!0})},u=tm(r,c,e,t);o.cleanupCallbacks.push(function(){u(),a("canceled")})}):!1}function em(){return window&&"IntersectionObserver"in window}function tm(e,t,r,n){try{if(!em())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 rm(e){var t={},r=t.mode,n=r===void 0?"vectorize":r;return nm.bind(null,n)}function nm(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)}),!Fi())return r.transformation=c.transformation,!0;if(Ky(t)){c.transformation.actions.forEach(function(f,h){f instanceof qt&&f.getActionTag()==="responsive"&&delete c.transformation.actions[h]});var u=si(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 om(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 Qc(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 Jc(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
559
|
object-assign
|
|
488
560
|
(c) Sindre Sorhus
|
|
489
561
|
@license MIT
|
|
490
|
-
*/var
|
|
562
|
+
*/var os=Object.getOwnPropertySymbols,im=Object.prototype.hasOwnProperty,am=Object.prototype.propertyIsEnumerable;function sm(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function cm(){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 Kc=cm()?Object.assign:function(e,t){for(var r,n=sm(e),o,i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var a in r)im.call(r,a)&&(n[a]=r[a]);if(os){o=os(r);for(var c=0;c<o.length;c++)am.call(r,o[c])&&(n[o[c]]=r[o[c]])}}return n};/** @license React v16.14.0
|
|
491
563
|
* react.production.min.js
|
|
492
564
|
*
|
|
493
565
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
494
566
|
*
|
|
495
567
|
* This source code is licensed under the MIT license found in the
|
|
496
568
|
* LICENSE file in the root directory of this source tree.
|
|
497
|
-
*/var
|
|
569
|
+
*/var Vi=Kc,Gt=typeof Symbol=="function"&&Symbol.for,hn=Gt?Symbol.for("react.element"):60103,lm=Gt?Symbol.for("react.portal"):60106,um=Gt?Symbol.for("react.fragment"):60107,dm=Gt?Symbol.for("react.strict_mode"):60108,fm=Gt?Symbol.for("react.profiler"):60114,pm=Gt?Symbol.for("react.provider"):60109,hm=Gt?Symbol.for("react.context"):60110,gm=Gt?Symbol.for("react.forward_ref"):60112,ym=Gt?Symbol.for("react.suspense"):60113,mm=Gt?Symbol.for("react.memo"):60115,vm=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 Xc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Zc={};function Fr(e,t,r){this.props=e,this.context=t,this.refs=Zc,this.updater=r||Xc}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 el(){}el.prototype=Fr.prototype;function zi(e,t,r){this.props=e,this.context=t,this.refs=Zc,this.updater=r||Xc}var Bi=zi.prototype=new el;Bi.constructor=zi;Vi(Bi,Fr.prototype);Bi.isPureReactComponent=!0;var Wi={current:null},tl=Object.prototype.hasOwnProperty,rl={key:!0,ref:!0,__self:!0,__source:!0};function nl(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)tl.call(t,n)&&!rl.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:Wi.current}}function bm(e,t){return{$$typeof:hn,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ui(e){return typeof e=="object"&&e!==null&&e.$$typeof===hn}function wm(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(r){return t[r]})}var ol=/\/+/g,Gn=[];function il(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 al(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>Gn.length&&Gn.push(e)}function ui(e,t,r,n){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case hn:case lm:i=!0}}if(i)return r(n,e,t===""?"."+Mo(e,0):t),1;if(i=0,t=t===""?".":t+":",Array.isArray(e))for(var a=0;a<e.length;a++){o=e[a];var c=t+Mo(o,a);i+=ui(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+Mo(o,a++),i+=ui(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 di(e,t,r){return e==null?0:ui(e,"",t,r)}function Mo(e,t){return typeof e=="object"&&e!==null&&e.key!=null?wm(e.key):t.toString(36)}function _m(e,t){e.func.call(e.context,t,e.count++)}function xm(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?fi(e,n,r,function(i){return i}):e!=null&&(Ui(e)&&(e=bm(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(ol,"$&/")+"/")+r)),n.push(e))}function fi(e,t,r,n,o){var i="";r!=null&&(i=(""+r).replace(ol,"$&/")+"/"),t=il(t,i,n,o),di(e,xm,t),al(t)}var sl={current:null};function tr(){var e=sl.current;if(e===null)throw Error(gn(321));return e}var $m={ReactCurrentDispatcher:sl,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:Wi,IsSomeRendererActing:{current:!1},assign:Vi};ve.Children={map:function(e,t,r){if(e==null)return e;var n=[];return fi(e,n,null,t,r),n},forEach:function(e,t,r){if(e==null)return e;t=il(null,null,t,r),di(e,_m,t),al(t)},count:function(e){return di(e,function(){return null},null)},toArray:function(e){var t=[];return fi(e,t,null,function(r){return r}),t},only:function(e){if(!Ui(e))throw Error(gn(143));return e}};ve.Component=Fr;ve.Fragment=um;ve.Profiler=fm;ve.PureComponent=zi;ve.StrictMode=dm;ve.Suspense=ym;ve.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$m;ve.cloneElement=function(e,t,r){if(e==null)throw Error(gn(267,e));var n=Vi({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=Wi.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)tl.call(t,u)&&!rl.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:hm,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:pm,_context:e},e.Consumer=e};ve.createElement=nl;ve.createFactory=function(e){var t=nl.bind(null,e);return t.type=e,t};ve.createRef=function(){return{current:null}};ve.forwardRef=function(e){return{$$typeof:gm,render:e}};ve.isValidElement=Ui;ve.lazy=function(e){return{$$typeof:vm,_ctor:e,_status:-1,_result:null}};ve.memo=function(e,t){return{$$typeof:mm,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 me={},Sm="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Em=Sm,Tm=Function.call.bind(Object.prototype.hasOwnProperty),pi=function(){};if(process.env.NODE_ENV!=="production"){var Am=Em,hi={},Cm=Tm;pi=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function cl(e,t,r,n,o){if(process.env.NODE_ENV!=="production"){for(var i in e)if(Cm(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,Am)}catch(f){a=f}if(a&&!(a instanceof Error)&&pi((n||"React class")+": type specification of "+r+" `"+i+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof 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 hi)){hi[a.message]=!0;var u=o?o():"";pi("Failed "+r+" type: "+a.message+(u??""))}}}}cl.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(hi={})};var Om=cl;/** @license React v16.14.0
|
|
498
570
|
* react.development.js
|
|
499
571
|
*
|
|
500
572
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
501
573
|
*
|
|
502
574
|
* This source code is licensed under the MIT license found in the
|
|
503
575
|
* 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,ne=I.getStackAddendum();ne!==""&&(p+="%s",y=y.concat([ne]))}var U=y.map(function(Be){return""+Be});U.unshift("Warning: "+p),Function.prototype.apply.call(console[a],console,U);try{var Y=0,Ve="Warning: "+p.replace(/%s/g,function(){return y[Y++]});throw new Error(Ve)}catch{}}}var tt={};function qe(a,p){{var y=a.constructor,$=y&&(y.displayName||y.name)||"ReactClass",I=$+"."+p;if(tt[I])return;H("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",p,$),tt[I]=!0}}var Ge={isMounted:function(a){return!1},enqueueForceUpdate:function(a,p,y){qe(a,"forceUpdate")},enqueueReplaceState:function(a,p,y,$){qe(a,"replaceState")},enqueueSetState:function(a,p,y,$){qe(a,"setState")}},fe={};Object.freeze(fe);function _e(a,p,y){this.props=a,this.context=p,this.refs=fe,this.updater=y||Ge}_e.prototype.isReactComponent={},_e.prototype.setState=function(a,p){if(!(typeof a=="object"||typeof a=="function"||a==null))throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,p,"setState")},_e.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};{var Te={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},ze=function(a,p){Object.defineProperty(_e.prototype,a,{get:function(){ge("%s(...) is deprecated in plain JavaScript React classes. %s",p[0],p[1])}})};for(var Pe in Te)Te.hasOwnProperty(Pe)&&ze(Pe,Te[Pe])}function ft(){}ft.prototype=_e.prototype;function kt(a,p,y){this.props=a,this.context=p,this.refs=fe,this.updater=y||Ge}var Ae=kt.prototype=new ft;Ae.constructor=kt,e(Ae,_e.prototype),Ae.isPureReactComponent=!0;function dt(){var a={current:null};return Object.seal(a),a}var Je=Object.prototype.hasOwnProperty,pt={key:!0,ref:!0,__self:!0,__source:!0},de,ht,gt;gt={};function mt(a){if(Je.call(a,"ref")){var p=Object.getOwnPropertyDescriptor(a,"ref").get;if(p&&p.isReactWarning)return!1}return a.ref!==void 0}function Ct(a){if(Je.call(a,"key")){var p=Object.getOwnPropertyDescriptor(a,"key").get;if(p&&p.isReactWarning)return!1}return a.key!==void 0}function rt(a,p){var y=function(){de||(de=!0,H("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",p))};y.isReactWarning=!0,Object.defineProperty(a,"key",{get:y,configurable:!0})}function at(a,p){var y=function(){ht||(ht=!0,H("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",p))};y.isReactWarning=!0,Object.defineProperty(a,"ref",{get:y,configurable:!0})}function yt(a){if(typeof a.ref=="string"&&pe.current&&a.__self&&pe.current.stateNode!==a.__self){var p=se(pe.current.type);gt[p]||(H('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref',se(pe.current.type),a.ref),gt[p]=!0)}}var Ke=function(a,p,y,$,I,ne,U){var Y={$$typeof:o,type:a,key:p,ref:y,props:U,_owner:ne};return Y._store={},Object.defineProperty(Y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:$}),Object.defineProperty(Y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:I}),Object.freeze&&(Object.freeze(Y.props),Object.freeze(Y)),Y};function xt(a,p,y){var $,I={},ne=null,U=null,Y=null,Ve=null;if(p!=null){mt(p)&&(U=p.ref,yt(p)),Ct(p)&&(ne=""+p.key),Y=p.__self===void 0?null:p.__self,Ve=p.__source===void 0?null:p.__source;for($ in p)Je.call(p,$)&&!pt.hasOwnProperty($)&&(I[$]=p[$])}var Be=arguments.length-2;if(Be===1)I.children=y;else if(Be>1){for(var Et=Array(Be),_t=0;_t<Be;_t++)Et[_t]=arguments[_t+2];Object.freeze&&Object.freeze(Et),I.children=Et}if(a&&a.defaultProps){var Jt=a.defaultProps;for($ in Jt)I[$]===void 0&&(I[$]=Jt[$])}if(ne||U){var It=typeof a=="function"?a.displayName||a.name||"Unknown":a;ne&&rt(I,It),U&&at(I,It)}return Ke(a,ne,U,Y,Ve,pe.current,I)}function St(a,p){var y=Ke(a.type,p,a.ref,a._self,a._source,a._owner,a.props);return y}function jt(a,p,y){if(a==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var $,I=e({},a.props),ne=a.key,U=a.ref,Y=a._self,Ve=a._source,Be=a._owner;if(p!=null){mt(p)&&(U=p.ref,Be=pe.current),Ct(p)&&(ne=""+p.key);var Et;a.type&&a.type.defaultProps&&(Et=a.type.defaultProps);for($ in p)Je.call(p,$)&&!pt.hasOwnProperty($)&&(p[$]===void 0&&Et!==void 0?I[$]=Et[$]:I[$]=p[$])}var _t=arguments.length-2;if(_t===1)I.children=y;else if(_t>1){for(var Jt=Array(_t),It=0;It<_t;It++)Jt[It]=arguments[It+2];I.children=Jt}return Ke(a.type,ne,U,Y,Ve,Be,I)}function He(a){return typeof a=="object"&&a!==null&&a.$$typeof===o}var Pt=".",nt=":";function xe(a){var p=/[=:]/g,y={"=":"=0",":":"=2"},$=(""+a).replace(p,function(I){return y[I]});return"$"+$}var Nt=!1,Ft=/\/+/g;function vt(a){return(""+a).replace(Ft,"$&/")}var bt=10,Ye=[];function ct(a,p,y,$){if(Ye.length){var I=Ye.pop();return I.result=a,I.keyPrefix=p,I.func=y,I.context=$,I.count=0,I}else return{result:a,keyPrefix:p,func:y,context:$,count:0}}function We(a){a.result=null,a.keyPrefix=null,a.func=null,a.context=null,a.count=0,Ye.length<bt&&Ye.push(a)}function Qe(a,p,y,$){var I=typeof a;(I==="undefined"||I==="boolean")&&(a=null);var ne=!1;if(a===null)ne=!0;else switch(I){case"string":case"number":ne=!0;break;case"object":switch(a.$$typeof){case o:case i:ne=!0}}if(ne)return y($,a,p===""?Pt+Se(a,0):p),1;var U,Y,Ve=0,Be=p===""?Pt:p+nt;if(Array.isArray(a))for(var Et=0;Et<a.length;Et++)U=a[Et],Y=Be+Se(U,Et),Ve+=Qe(U,Y,y,$);else{var _t=P(a);if(typeof _t=="function"){_t===a.entries&&(Nt||ge("Using Maps as children is deprecated and will be removed in a future major release. Consider converting children to an array of keyed ReactElements instead."),Nt=!0);for(var Jt=_t.call(a),It,So=0;!(It=Jt.next()).done;)U=It.value,Y=Be+Se(U,So++),Ve+=Qe(U,Y,y,$)}else if(I==="object"){var wn="";wn=" If you meant to render a collection of children, use an array instead."+ae.getStackAddendum();var Wr=""+a;throw Error("Objects are not valid as a React child (found: "+(Wr==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":Wr)+")."+wn)}}return Ve}function $t(a,p,y){return a==null?0:Qe(a,"",p,y)}function Se(a,p){return typeof a=="object"&&a!==null&&a.key!=null?xe(a.key):p.toString(36)}function Xe(a,p,y){var $=a.func,I=a.context;$.call(I,p,a.count++)}function F(a,p,y){if(a==null)return a;var $=ct(null,null,p,y);$t(a,Xe,$),We($)}function Z(a,p,y){var $=a.result,I=a.keyPrefix,ne=a.func,U=a.context,Y=ne.call(U,p,a.count++);Array.isArray(Y)?Ie(Y,$,y,function(Ve){return Ve}):Y!=null&&(He(Y)&&(Y=St(Y,I+(Y.key&&(!p||p.key!==Y.key)?vt(Y.key)+"/":"")+y)),$.push(Y))}function Ie(a,p,y,$,I){var ne="";y!=null&&(ne=vt(y)+"/");var U=ct(p,ne,$,I);$t(a,Z,U),We(U)}function wt(a,p,y){if(a==null)return a;var $=[];return Ie(a,$,null,p,y),$}function k(a){return $t(a,function(){return null},null)}function B(a){var p=[];return Ie(a,p,null,function(y){return y}),p}function W(a){if(!He(a))throw Error("React.Children.only expected to receive a single React element child.");return a}function Ce(a,p){p===void 0?p=null:p!==null&&typeof p!="function"&&H("createContext: Expected the optional second argument to be a function. Instead received: %s",p);var y={$$typeof:h,_calculateChangedBits:p,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};y.Provider={$$typeof:d,_context:y};var $=!1,I=!1;{var ne={$$typeof:h,_context:y,_calculateChangedBits:y._calculateChangedBits};Object.defineProperties(ne,{Provider:{get:function(){return I||(I=!0,H("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),y.Provider},set:function(U){y.Provider=U}},_currentValue:{get:function(){return y._currentValue},set:function(U){y._currentValue=U}},_currentValue2:{get:function(){return y._currentValue2},set:function(U){y._currentValue2=U}},_threadCount:{get:function(){return y._threadCount},set:function(U){y._threadCount=U}},Consumer:{get:function(){return $||($=!0,H("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),y.Consumer}}}),y.Consumer=ne}return y._currentRenderer=null,y._currentRenderer2=null,y}function De(a){var p={$$typeof:O,_ctor:a,_status:-1,_result:null};{var y,$;Object.defineProperties(p,{defaultProps:{configurable:!0,get:function(){return y},set:function(I){H("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),y=I,Object.defineProperty(p,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return $},set:function(I){H("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),$=I,Object.defineProperty(p,"propTypes",{enumerable:!0})}}})}return p}function lt(a){return a!=null&&a.$$typeof===C?H("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof a!="function"?H("forwardRef requires a render function but was given %s.",a===null?"null":typeof a):a.length!==0&&a.length!==2&&H("forwardRef render functions accept exactly two parameters: props and ref. %s",a.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),a!=null&&(a.defaultProps!=null||a.propTypes!=null)&&H("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:_,render:a}}function Oe(a){return typeof a=="string"||typeof a=="function"||a===s||a===m||a===u||a===c||a===v||a===T||typeof a=="object"&&a!==null&&(a.$$typeof===O||a.$$typeof===C||a.$$typeof===d||a.$$typeof===h||a.$$typeof===_||a.$$typeof===A||a.$$typeof===R||a.$$typeof===M||a.$$typeof===x)}function f(a,p){return Oe(a)||H("memo: The first argument must be a component. Instead received: %s",a===null?"null":typeof a),{$$typeof:C,type:a,compare:p===void 0?null:p}}function b(){var a=ve.current;if(a===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
576
|
+
*/process.env.NODE_ENV!=="production"&&function(){var e=Kc,t=Om,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,y=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,O=n?Symbol.for("react.memo"):60115,P=n?Symbol.for("react.lazy"):60116,E=n?Symbol.for("react.block"):60121,k=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,m){var $="";if(p){var M=p.fileName,oe=M.replace(Fe,"");if(/^index\./.test(oe)){var q=M.match(Fe);if(q){var Q=q[1];if(Q){var Ve=Q.replace(Fe,"");oe=Ve+"/"+oe}}}$=" (at "+oe+":"+p.lineNumber+")"}else m&&($=" (created by "+m+")");return`
|
|
577
|
+
in `+(s||"Unknown")+$}var _e=1;function K(s){return s._status===_e?s._result:null}function Ee(s,p,m){var $=p.displayName||p.name||"";return s.displayName||($!==""?m+"("+$+")":m)}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 O:return se(s.type);case E:return se(s.render);case P:{var p=s,m=K(p);if(m)return se(m);break}}return null}var ce={},le=null;function ne(s){le=s}ce.getCurrentStack=null,ce.getStackAddendum=function(){var s="";if(le){var p=se(le.type),m=le._owner;s+=Le(p,le._source,m&&se(m.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 ye(s){{for(var p=arguments.length,m=new Array(p>1?p-1:0),$=1;$<p;$++)m[$-1]=arguments[$];at("warn",s,m)}}function Y(s){{for(var p=arguments.length,m=new Array(p>1?p-1:0),$=1;$<p;$++)m[$-1]=arguments[$];at("error",s,m)}}function at(s,p,m){{var $=m.length>0&&typeof m[m.length-1]=="string"&&m[m.length-1].indexOf(`
|
|
578
|
+
in`)===0;if(!$){var M=ue.ReactDebugCurrentFrame,oe=M.getStackAddendum();oe!==""&&(p+="%s",m=m.concat([oe]))}var q=m.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 m[Q++]});throw new Error(Ve)}catch{}}}var tt={};function qe(s,p){{var m=s.constructor,$=m&&(m.displayName||m.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,m){qe(s,"forceUpdate")},enqueueReplaceState:function(s,p,m,$){qe(s,"replaceState")},enqueueSetState:function(s,p,m,$){qe(s,"setState")}},fe={};Object.freeze(fe);function xe(s,p,m){this.props=s,this.context=p,this.refs=fe,this.updater=m||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(){ye("%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,m){this.props=s,this.context=p,this.refs=fe,this.updater=m||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 yt(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 kt(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 m=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))};m.isReactWarning=!0,Object.defineProperty(s,"key",{get:m,configurable:!0})}function st(s,p){var m=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))};m.isReactWarning=!0,Object.defineProperty(s,"ref",{get:m,configurable:!0})}function mt(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,m,$,M,oe,q){var Q={$$typeof:o,type:s,key:p,ref:m,props:q,_owner:oe};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,m){var $,M={},oe=null,q=null,Q=null,Ve=null;if(p!=null){yt(p)&&(q=p.ref,mt(p)),kt(p)&&(oe=""+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=m;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(oe||q){var Mt=typeof s=="function"?s.displayName||s.name||"Unknown":s;oe&&rt(M,Mt),q&&st(M,Mt)}return Ke(s,oe,q,Q,Ve,he.current,M)}function St(s,p){var m=Ke(s.type,p,s.ref,s._self,s._source,s._owner,s.props);return m}function Pt(s,p,m){if(s==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+s+".");var $,M=e({},s.props),oe=s.key,q=s.ref,Q=s._self,Ve=s._source,ze=s._owner;if(p!=null){yt(p)&&(q=p.ref,ze=he.current),kt(p)&&(oe=""+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=m;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,oe,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,m={"=":"=0",":":"=2"},$=(""+s).replace(p,function(M){return m[M]});return"$"+$}var Vt=!1,zt=/\/+/g;function vt(s){return(""+s).replace(zt,"$&/")}var bt=10,Ye=[];function ct(s,p,m,$){if(Ye.length){var M=Ye.pop();return M.result=s,M.keyPrefix=p,M.func=m,M.context=$,M.count=0,M}else return{result:s,keyPrefix:p,func:m,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,m,$){var M=typeof s;(M==="undefined"||M==="boolean")&&(s=null);var oe=!1;if(s===null)oe=!0;else switch(M){case"string":case"number":oe=!0;break;case"object":switch(s.$$typeof){case o:case i:oe=!0}}if(oe)return m($,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,m,$);else{var _t=I(s);if(typeof _t=="function"){_t===s.entries&&(Vt||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."),Vt=!0);for(var Kt=_t.call(s),Mt,$o=0;!(Mt=Kt.next()).done;)q=Mt.value,Q=ze+Se(q,$o++),Ve+=Qe(q,Q,m,$)}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,m){return s==null?0:Qe(s,"",p,m)}function Se(s,p){return typeof s=="object"&&s!==null&&s.key!=null?$e(s.key):p.toString(36)}function Xe(s,p,m){var $=s.func,M=s.context;$.call(M,p,s.count++)}function V(s,p,m){if(s==null)return s;var $=ct(null,null,p,m);Et(s,Xe,$),We($)}function ee(s,p,m){var $=s.result,M=s.keyPrefix,oe=s.func,q=s.context,Q=oe.call(q,p,s.count++);Array.isArray(Q)?Ie(Q,$,m,function(Ve){return Ve}):Q!=null&&(He(Q)&&(Q=St(Q,M+(Q.key&&(!p||p.key!==Q.key)?vt(Q.key)+"/":"")+m)),$.push(Q))}function Ie(s,p,m,$,M){var oe="";m!=null&&(oe=vt(m)+"/");var q=ct(p,oe,$,M);Et(s,ee,q),We(q)}function wt(s,p,m){if(s==null)return s;var $=[];return Ie(s,$,null,p,m),$}function j(s){return Et(s,function(){return null},null)}function B(s){var p=[];return Ie(s,p,null,function(m){return m}),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 m={$$typeof:h,_calculateChangedBits:p,_currentValue:s,_currentValue2:s,_threadCount:0,Provider:null,Consumer:null};m.Provider={$$typeof:f,_context:m};var $=!1,M=!1;{var oe={$$typeof:h,_context:m,_calculateChangedBits:m._calculateChangedBits};Object.defineProperties(oe,{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?")),m.Provider},set:function(q){m.Provider=q}},_currentValue:{get:function(){return m._currentValue},set:function(q){m._currentValue=q}},_currentValue2:{get:function(){return m._currentValue2},set:function(q){m._currentValue2=q}},_threadCount:{get:function(){return m._threadCount},set:function(q){m._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?")),m.Consumer}}}),m.Consumer=oe}return m._currentRenderer=null,m._currentRenderer2=null,m}function De(s){var p={$$typeof:P,_ctor:s,_status:-1,_result:null};{var m,$;Object.defineProperties(p,{defaultProps:{configurable:!0,get:function(){return m},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."),m=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===O?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 Oe(s){return typeof s=="string"||typeof s=="function"||s===a||s===y||s===u||s===c||s===v||s===S||typeof s=="object"&&s!==null&&(s.$$typeof===P||s.$$typeof===O||s.$$typeof===f||s.$$typeof===h||s.$$typeof===_||s.$$typeof===k||s.$$typeof===R||s.$$typeof===L||s.$$typeof===E)}function d(s,p){return Oe(s)||Y("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s),{$$typeof:O,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
579
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
508
580
|
2. You might be breaking the Rules of Hooks
|
|
509
581
|
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
|
|
582
|
+
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return s}function T(s,p){var m=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
583
|
|
|
512
|
-
Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://fb.me/rules-of-hooks`:""),
|
|
584
|
+
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 m.useContext(s,p)}function z(s){var p=w();return p.useState(s)}function ie(s,p,m){var $=w();return $.useReducer(s,p,m)}function re(s){var p=w();return p.useRef(s)}function X(s,p){var m=w();return m.useEffect(s,p)}function J(s,p){var m=w();return m.useLayoutEffect(s,p)}function Ne(s,p){var m=w();return m.useCallback(s,p)}function W(s,p){var m=w();return m.useMemo(s,p)}function de(s,p,m){var $=w();return $.useImperativeHandle(s,p,m)}function ke(s,p){{var m=w();return m.useDebugValue(s,p)}}var Ze;Ze=!1;function Jt(){if(he.current){var s=se(he.current.type);if(s)return`
|
|
513
585
|
|
|
514
|
-
Check the render method of \``+
|
|
586
|
+
Check the render method of \``+s+"`."}return""}function ot(s){if(s!==void 0){var p=s.fileName.replace(/^.*[\\\/]/,""),m=s.lineNumber;return`
|
|
515
587
|
|
|
516
|
-
Check your code at `+p+":"+
|
|
588
|
+
Check your code at `+p+":"+m+"."}return""}function ho(s){return s!=null?ot(s.__source):""}var yn={};function go(s){var p=Jt();if(!p){var m=typeof s=="string"?s:s.displayName||s.name;m&&(p=`
|
|
517
589
|
|
|
518
|
-
Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(!a._store||a._store.validated||a.key!=null)){a._store.validated=!0;var y=go(p);if(!gn[y]){gn[y]=!0;var $="";a&&a._owner&&a._owner!==pe.current&&($=" It was passed a child from "+se(a._owner.type)+"."),re(a),H('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',y,$),re(null)}}}function lr(a,p){if(typeof a=="object"){if(Array.isArray(a))for(var y=0;y<a.length;y++){var $=a[y];He($)&&Vr($,p)}else if(He(a))a._store&&(a._store.validated=!0);else if(a){var I=P(a);if(typeof I=="function"&&I!==a.entries)for(var ne=I.call(a),U;!(U=ne.next()).done;)He(U.value)&&Vr(U.value,p)}}}function mn(a){{var p=a.type;if(p==null||typeof p=="string")return;var y=se(p),$;if(typeof p=="function")$=p.propTypes;else if(typeof p=="object"&&(p.$$typeof===_||p.$$typeof===C))$=p.propTypes;else return;$?(re(a),t($,a.props,"prop",y,ae.getStackAddendum),re(null)):p.PropTypes!==void 0&&!Ze&&(Ze=!0,H("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",y||"Unknown")),typeof p.getDefaultProps=="function"&&!p.getDefaultProps.isReactClassApproved&&H("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Br(a){{re(a);for(var p=Object.keys(a.props),y=0;y<p.length;y++){var $=p[y];if($!=="children"&&$!=="key"){H("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",$);break}}a.ref!==null&&H("Invalid attribute `ref` supplied to `React.Fragment`."),re(null)}}function yn(a,p,y){var $=Oe(a);if(!$){var I="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(I+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ne=ho(p);ne?I+=ne:I+=Qt();var U;a===null?U="null":Array.isArray(a)?U="array":a!==void 0&&a.$$typeof===o?(U="<"+(se(a.type)||"Unknown")+" />",I=" Did you accidentally export a JSX literal instead of a component?"):U=typeof a,H("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",U,I)}var Y=xt.apply(this,arguments);if(Y==null)return Y;if($)for(var Ve=2;Ve<arguments.length;Ve++)lr(arguments[Ve],a);return a===s?Br(Y):mn(Y),Y}var vn=!1;function mo(a){var p=yn.bind(null,a);return p.type=a,vn||(vn=!0,ge("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(p,"type",{enumerable:!1,get:function(){return ge("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:a}),a}}),p}function yo(a,p,y){for(var $=jt.apply(this,arguments),I=2;I<arguments.length;I++)lr(arguments[I],$.type);return mn($),$}try{var bn=Object.freeze({}),vo=new Map([[bn,null]]),zr=new Set([bn]);vo.set(0,0),zr.add(0)}catch{}var bo=yn,wo=yo,_o=mo,xo={map:wt,forEach:F,count:k,toArray:B,only:W};me.Children=xo,me.Component=_e,me.Fragment=s,me.Profiler=u,me.PureComponent=kt,me.StrictMode=c,me.Suspense=v,me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=le,me.cloneElement=wo,me.createContext=Ce,me.createElement=bo,me.createFactory=_o,me.createRef=dt,me.forwardRef=lt,me.isValidElement=He,me.lazy=De,me.memo=f,me.useCallback=Ne,me.useContext=E,me.useDebugValue=Re,me.useEffect=K,me.useImperativeHandle=ue,me.useLayoutEffect=Q,me.useMemo=z,me.useReducer=ie,me.useRef=te,me.useState=V,me.version=r}();process.env.NODE_ENV==="production"?Kr.exports=ye:Kr.exports=me;var Tr=Kr.exports,Lo={sdkSemver:"1.13.0",techVersion:Tr.version,sdkCode:"J"},xy=function(e){Hc(t,e);function t(r){var n=e.call(this,r)||this;return n.imageRef=Tr.createRef(),n}return t.prototype.componentDidMount=function(){this.htmlLayerInstance=new ug(this.imageRef.current,this.props.cldImg,this.props.plugins,Lo)},t.prototype.componentDidUpdate=function(){Un(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,Lo)},t.prototype.componentWillUnmount=function(){Un(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},t.prototype.render=function(){var r=this.props;r.cldImg,r.plugins;var n=Yc(r,["cldImg","plugins"]);if(Di())return Tr.createElement("img",Jr({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=Jm(this.props.plugins,this.props.cldImg,Lo);return Tr.createElement("img",Jr({},n,{src:o}))},t}(Tr.Component),Sy=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(e){Hc(t,e);function t(r){var n=e.call(this,r)||this;return n.videoRef=Kr.exports.createRef(),n.attachRef=n.attachRef.bind(n),n}return t.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new Vm(this.videoRef&&this.videoRef.current,this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster,{useFetchFormat:this.props.useFetchFormat})},t.prototype.componentDidUpdate=function(){Un(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},t.prototype.componentWillUnmount=function(){Un(this.htmlVideoLayerInstance.htmlPluginState)},t.prototype.getVideoAttributes=function(){var r=this,n={};return Sy.forEach(function(o){o in r.props&&(n[o]=r.props[o])}),n},t.prototype.attachRef=function(r){this.videoRef.current=r;var n=this.props.innerRef;n&&(n instanceof Function?n(r):n.current=r)},t.prototype.render=function(){var r=this.props;r.cldVid,r.cldPoster,r.plugins,r.sources,r.innerRef,r.useFetchFormat;var n=Yc(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return Tr.createElement("video",Jr({},n,{ref:this.attachRef}))},t})(Kr.exports.Component);const $y=(e,t,r=!1)=>{w.useEffect(()=>{var o;const n=i=>{e&&!e.contains(i.target)&&t()};return r?(document.addEventListener("click",n,!0),()=>{document.removeEventListener("click",n,!0)}):((o=document.getElementById("root"))==null||o.addEventListener("click",n,!0),()=>{var i;(i=document.getElementById("root"))==null||i.removeEventListener("click",n,!0)})},[r,e,t])};function Ey(e){return!(typeof e!="object"||e instanceof Array)}class Ty{filterOutNonSupportedKeys(t,r){const n=Object.create({});return Ey(t)?(Object.keys(t).forEach(o=>{r.indexOf(o)>=0?n[o]=t[o]:console.warn("Warning - unsupported key provided to configuration: ",o)}),n):Object.create({})}}const na=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class Wi extends Ty{constructor(t){super();const r=this.filterOutNonSupportedKeys(t,na);Object.assign(this,{secure:!0},r)}extend(t){const r=this.filterOutNonSupportedKeys(t,na);return new Wi(Object.assign({},this,r))}setCname(t){return this.cname=t,this}setSecureDistribution(t){return this.secureDistribution=t,this}setPrivateCdn(t){return this.privateCdn=t,this}setSignUrl(t){return this.signUrl=t,this}setLongUrlSignature(t){return this.longUrlSignature=t,this}setShorten(t){return this.shorten=t,this}setUseRootPath(t){return this.useRootPath=t,this}setSecure(t){return this.secure=t,this}setForceVersion(t){return this.forceVersion=t,this}setQueryParams(t){return this.queryParams=t,this}}class Xr{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}}class Ay extends Error{constructor(t="Unsupported"){super(t)}}function Ui(e){return new Ay(e)}function Cy(){return this._qualifierModel||{error:Ui(`unsupported qualifier ${this.constructor.name}`)}}class Oy{constructor(){this._qualifierModel={}}toJson(){return Cy.apply(this)}}class fo extends Oy{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Xr?this.qualifierValue=r:(this.qualifierValue=new Xr,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}}class ir extends fo{constructor(t,r){let n;r?n=new Xr([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function Ry(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function ky(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:Ui(`unsupported action ${this.constructor.name}`)}}class jy{constructor(){this._actionModel={}}toJson(){return ky.apply(this)}}class qi extends jy{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),Ry(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new ir(n)):this.qualifiers.set(r,new fo(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new ir(t)):t instanceof ir&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}}function Py(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class Iy extends qi{constructor(t){super(),this._actionModel={},this.addQualifier(new fo("b",new Xr(Py(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}}class oa{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:Ui(`unsupported action ${this.constructor.name}`)}}}function My(e){const t=e;return"error"in t&&!!t.error}function Ly(){return new ir("lossy")}function Dy(){return new ir("preserve_transparency")}function Ny(e){return new ir("progressive",e)}class Fy extends Xr{constructor(t){super(t),this.val=t}getValue(){return this.val}}function xr(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const Vy={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},By={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},zy={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},Wy={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Uy={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},qy={444:"CHROMA_444",420:"CHROMA_420"},Gy={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};xr(qy);xr(Gy);xr(Vy);const Hy=xr(By);xr(zy);xr(Wy);xr(Uy);class Yy extends qi{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Fy?o=r.getValue():o=r,this._actionModel.actionType=Hy[t],this._actionModel[n]=o,this.addQualifier(new fo(t,r))}}class Qy extends ir{constructor(t){super("progressive",t)}}class Gn extends Yy{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(Ly()),this}progressive(t){return t instanceof Qy?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(Ny(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(Dy()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;let s;return r?s=new this("f",r):s=new this("f"),o&&(o.mode?s.progressive(o.mode):s.progressive()),n&&s.lossy(),i&&s.preserveTransparency(),s}}class po{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new oa(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof po?this.actions=this.actions.concat(t.actions):this.actions.push(new oa(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new Gn("q",t)),this}format(t){return this.addAction(new Gn("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new Iy(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new qi;let n=t;return typeof t=="string"&&(n=new ir(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(My(n))return n;t.push(n)}return{actions:t}}}class Jy extends po{}class Ky extends po{}function Xy(e){return e.match(/^https?:\//)}function Zy(e){return e.indexOf("/")<0}function ev(e){return e.match(/^v[0-9]+/)}function tv(e,t){const r=t.secure,n=t.privateCdn,o=t.cname,i=t.secureDistribution;return!r&&!o?`http://res.cloudinary.com/${e}`:r&&!i&&n?`https://${e}-res.cloudinary.com`:r&&!i?`https://res.cloudinary.com/${e}`:r&&i&&n?`https://${i}`:r&&i?`https://${i}/${e}`:!r&&o?`http://${o}/${e}`:"ERROR"}function rv(e){return e||"image"}function nv(e){return e||"upload"}function ov(e,t,r){const n=r!==!1;return t?`v${t}`:ev(e)||Xy(e)||Zy(e)?"":n?"v1":""}function Gi(e,t,r){let n=t>>0,o=String(r);return e.length>n?String(e):(n=n-e.length,n>o.length&&(o+=iv(o,n/o.length)),o.slice(0,n)+String(e))}function iv(e,t){let r=t,n="";for(;r>0;)n+=e,r--;return n}const sv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Hn={};let ia=0;sv.split("").forEach(e=>{let t=ia.toString(2);t=Gi(t,6,"0"),Hn[t]=e,ia++});function av(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").reverse().join(".")}function cv(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").map(t=>{const r=+t;if(isNaN(r)||r<0)throw"Invalid version number provided";return Gi(t,2,"0")}).join(".")}function sa(e){let t="";const n=e.split(".").length*6,o=av(e),i=cv(o);let c=parseInt(i.split(".").join("")).toString(2);if(c=Gi(c,n,"0"),c.length%6!==0)throw"Version must be smaller than 43.21.26)";return c.match(/.{1,6}/g).forEach(u=>{t+=Hn[u]}),t}function lv(e){const t={sdkSemver:e.sdkSemver,techVersion:e.techVersion,sdkCode:e.sdkCode,product:e.product,feature:"0",osType:e.osType,osVersion:e.osVersion};return e.accessibility&&(t.feature="D"),e.lazyload&&(t.feature="C"),e.responsive&&(t.feature="A"),e.placeholder&&(t.feature="B"),t}const uv="1.21.0";function fv(e){const[t,r]=e.split("."),n=parseInt(t).toString(2),o=parseInt(r).toString(2),i=n.padStart(6,"0"),s=o.padStart(6,"0");return Hn[i]+Hn[s]}function dv(){const e="0.0.0";if(typeof window<"u")return e;try{return process.versions.node||e}catch{return e}}function pv(e){const t={techVersion:dv(),sdkCode:"T",sdkSemver:uv.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return e?Object.assign(Object.assign({},t),e):t}function aa(e){const t=pv(e),r=lv(t);try{const n=hv(r.techVersion),o=sa(r.sdkSemver),i=sa(n),s=fv(r.osVersion),c=r.feature,u=r.sdkCode,{product:d,osType:h}=r;return`D${d}${u}${o}${i}${h}${s}${c}`}catch{return"E"}}function hv(e){const t=e.split(".");return`${t[0]}.${t[1]}`}const ca={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class gv{constructor(t,r={},n){this.setPublicID(t),this.setCloudConfig(r),this.setURLConfig(n)}setURLConfig(t){return this.urlConfig=new Wi(t),this}setCloudConfig(t){return this.cloudName=t.cloudName,this.apiKey=t.apiKey,this.apiSecret=t.apiSecret,this.authToken=t.authToken,this}setPublicID(t){return this.publicID=t?t.toString():"",this}setDeliveryType(t){return this.deliveryType=t,this}setSuffix(t){return this.suffix=t,this}setSignature(t){return this.signature=t,this}setVersion(t){return t&&(this.version=t),this}setAssetType(t){return t&&(this.assetType=t),this}sign(){return this}toURL(t={}){return this.createCloudinaryURL(null,t.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";const t=this.suffix&&this.suffix.indexOf(".")>=0,r=this.suffix&&this.suffix.indexOf("/")>=0;if(t||r)throw"`suffix`` should not include . or /"}getResourceType(){const t=rv(this.assetType),r=nv(this.deliveryType),n=!!this.suffix,o=`${t}/${r}`,i=ca[`${t}/${r}`],s=this.urlConfig.useRootPath,c=this.urlConfig.shorten;if(s){if(o==="image/upload")return"";throw new Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${o} instead`)}if(c&&o==="image/upload")return"iu";if(n){if(i)return i;throw new Error(`URL Suffix only supported for ${Object.keys(ca).join(", ")}, Provided: ${o} instead`)}return o}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(t,r){if(!this.publicID)return"";this.validateAssetForURLCreation();const n=tv(this.cloudName,this.urlConfig),o=t?t.toString():"",i=ov(this.publicID,this.version,this.urlConfig.forceVersion),s=this.publicID;if(typeof t=="string")return[n,this.getResourceType(),this.getSignature(),o,i,s.replace(/,/g,"%2C"),this.suffix].filter(u=>u).join("/");{const c=[encodeURI(n),this.getResourceType(),this.getSignature(),encodeURI(o),i,encodeURI(s).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(h=>h).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),u=this.urlConfig.analytics!==!1&&!s.includes("?");let d="";if(typeof this.urlConfig.queryParams=="object")try{const h=new URLSearchParams(this.urlConfig.queryParams);u&&h.set("_a",aa(r)),d=h.toString()}catch{console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else d=this.urlConfig.queryParams||"",u&&(d+=`${d.length>0?"&":""}_a=${aa(r)}`);return d?`${c}?${d}`:c}}}class al extends gv{constructor(t,r,n,o){super(t,r,n),this.transformation=o}animated(t){return this.transformation.animated(t),this}border(t){return this.transformation.border(t),this}reshape(t){return this.transformation.reshape(t),this}resize(t){return this.transformation.resize(t),this}quality(t){return this.addAction(new Gn("q",t)),this}format(t){return this.addAction(new Gn("f",t)),this}roundCorners(t){return this.transformation.roundCorners(t),this}overlay(t){return this.transformation.overlay(t),this}addVariable(t){return this.transformation.addVariable(t),this}conditional(t){return this.transformation.conditional(t),this}effect(t){return this.transformation.effect(t),this}adjust(t){return this.transformation.adjust(t),this}rotate(t){return this.transformation.rotate(t),this}namedTransformation(t){return this.transformation.namedTransformation(t),this}delivery(t){return this.transformation.delivery(t),this}backgroundColor(t){return this.transformation.backgroundColor(t),this}psdTools(t){return this.transformation.psdTools(t),this}extract(t){return this.transformation.extract(t),this}addFlag(t){return this.transformation.addFlag(t),this}customFunction(t){return this.transformation.customFunction(t),this}addAction(t){return this.transformation.addAction(t),this}addTransformation(t){return this.transformation.addTransformation(t),this}toString(){return this.transformation.toString()}underlay(t){return this.transformation.underlay(t),this}toURL(t={}){return this.createCloudinaryURL(this.transformation,t==null?void 0:t.trackedAnalytics)}}class mv extends al{constructor(t,r,n){super(t,r,n,new Jy)}}class yv extends al{constructor(t,r,n){super(t,r,n,new Ky),this.assetType="video"}transcode(t){return this.transformation.transcode(t),this}videoEdit(t){return this.transformation.videoEdit(t),this}}class vv{constructor(t){t&&(this.cloudinaryConfig=t)}image(t){return new mv(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(t){return new yv(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(t){return this.cloudinaryConfig=t,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const bv=({publicId:e,format:t="webp"})=>{const r=w.useMemo(()=>new vv({cloud:{cloudName:"fluid-attacks"}}),[]);return w.useMemo(()=>r.image(e).format(t),[r,e,t])},wv=({alt:e="img",height:t="",width:r="",plugins:n=[Um(),Ym()],publicId:o})=>{const i=bv({publicId:o});return j.jsx(xy,{alt:e,cldImg:i,height:t,plugins:n,width:r})},Hi=w.memo(wv),_v=$e.button`
|
|
590
|
+
Check the top-level render call using <`+m+">.")}return p}function Vr(s,p){if(!(!s._store||s._store.validated||s.key!=null)){s._store.validated=!0;var m=go(p);if(!yn[m]){yn[m]=!0;var $="";s&&s._owner&&s._owner!==he.current&&($=" It was passed a child from "+se(s._owner.type)+"."),ne(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.',m,$),ne(null)}}}function lr(s,p){if(typeof s=="object"){if(Array.isArray(s))for(var m=0;m<s.length;m++){var $=s[m];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 oe=M.call(s),q;!(q=oe.next()).done;)He(q.value)&&Vr(q.value,p)}}}function mn(s){{var p=s.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===O))$=p.propTypes;else return;$?(ne(s),t($,s.props,"prop",m,ce.getStackAddendum),ne(null)):p.PropTypes!==void 0&&!Ze&&(Ze=!0,Y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",m||"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){{ne(s);for(var p=Object.keys(s.props),m=0;m<p.length;m++){var $=p[m];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`."),ne(null)}}function vn(s,p,m){var $=Oe(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 oe=ho(p);oe?M+=oe: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):mn(Q),Q}var bn=!1;function yo(s){var p=vn.bind(null,s);return p.type=s,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:s}),s}}),p}function mo(s,p,m){for(var $=Pt.apply(this,arguments),M=2;M<arguments.length;M++)lr(arguments[M],$.type);return mn($),$}try{var wn=Object.freeze({}),vo=new Map([[wn,null]]),Br=new Set([wn]);vo.set(0,0),Br.add(0)}catch{}var bo=vn,wo=mo,_o=yo,xo={map:wt,forEach:V,count:j,toArray:B,only:U};me.Children=xo,me.Component=xe,me.Fragment=a,me.Profiler=u,me.PureComponent=jt,me.StrictMode=c,me.Suspense=v,me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ue,me.cloneElement=wo,me.createContext=Ce,me.createElement=bo,me.createFactory=_o,me.createRef=ft,me.forwardRef=lt,me.isValidElement=He,me.lazy=De,me.memo=d,me.useCallback=Ne,me.useContext=T,me.useDebugValue=ke,me.useEffect=X,me.useImperativeHandle=de,me.useLayoutEffect=J,me.useMemo=W,me.useReducer=ie,me.useRef=re,me.useState=z,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"},km=function(e){Qc(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 vg(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=Jc(r,["cldImg","plugins"]);if(Fi())return Tr.createElement("img",Jr({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=om(this.props.plugins,this.props.cldImg,Lo);return Tr.createElement("img",Jr({},n,{src:o}))},t}(Tr.Component),Rm=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(e){Qc(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 Yy(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 Rm.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=Jc(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return Tr.createElement("video",Jr({},n,{ref:this.attachRef}))},t})(Kr.exports.Component);const jm=(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 Pm(e){return!(typeof e!="object"||e instanceof Array)}class Im{filterOutNonSupportedKeys(t,r){const n=Object.create({});return Pm(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 qi extends Im{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 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 Mm extends Error{constructor(t="Unsupported"){super(t)}}function Gi(e){return new Mm(e)}function Lm(){return this._qualifierModel||{error:Gi(`unsupported qualifier ${this.constructor.name}`)}}class Dm{constructor(){this._qualifierModel={}}toJson(){return Lm.apply(this)}}class fo extends Dm{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 Nm(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Fm(){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 Vm{constructor(){this._actionModel={}}toJson(){return Fm.apply(this)}}class Hi extends Vm{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(),Nm(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 zm(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class Bm extends Hi{constructor(t){super(),this._actionModel={},this.addQualifier(new fo("b",new Xr(zm(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:Gi(`unsupported action ${this.constructor.name}`)}}}function Wm(e){const t=e;return"error"in t&&!!t.error}function Um(){return new ir("lossy")}function qm(){return new ir("preserve_transparency")}function Gm(e){return new ir("progressive",e)}class Hm 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 Ym={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"},Jm={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},Km={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Xm={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},Zm={444:"CHROMA_444",420:"CHROMA_420"},ev={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};xr(Zm);xr(ev);xr(Ym);const tv=xr(Qm);xr(Jm);xr(Km);xr(Xm);class rv extends Hi{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Hm?o=r.getValue():o=r,this._actionModel.actionType=tv[t],this._actionModel[n]=o,this.addQualifier(new fo(t,r))}}class nv extends ir{constructor(t){super("progressive",t)}}class Hn extends rv{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(Um()),this}progressive(t){return t instanceof nv?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(Gm(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(qm()),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 Bm(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(Wm(n))return n;t.push(n)}return{actions:t}}}class ov extends po{}class iv extends po{}function av(e){return e.match(/^https?:\//)}function sv(e){return e.indexOf("/")<0}function cv(e){return e.match(/^v[0-9]+/)}function lv(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 uv(e){return e||"image"}function dv(e){return e||"upload"}function fv(e,t,r){const n=r!==!1;return t?`v${t}`:cv(e)||av(e)||sv(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+=pv(o,n/o.length)),o.slice(0,n)+String(e))}function pv(e,t){let r=t,n="";for(;r>0;)n+=e,r--;return n}const hv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Yn={};let cs=0;hv.split("").forEach(e=>{let t=cs.toString(2);t=Yi(t,6,"0"),Yn[t]=e,cs++});function gv(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 Yi(t,2,"0")}).join(".")}function ls(e){let t="";const n=e.split(".").length*6,o=gv(e),i=yv(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 mv(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 vv="1.21.0";function bv(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 wv(){const e="0.0.0";if(typeof window<"u")return e;try{return process.versions.node||e}catch{return e}}function _v(e){const t={techVersion:wv(),sdkCode:"T",sdkSemver:vv.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=_v(e),r=mv(t);try{const n=xv(r.techVersion),o=ls(r.sdkSemver),i=ls(n),a=bv(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 xv(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 $v{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=uv(this.assetType),r=dv(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=lv(this.cloudName,this.urlConfig),o=t?t.toString():"",i=fv(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 ll extends $v{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 Sv extends ll{constructor(t,r,n){super(t,r,n,new ov)}}class Ev extends ll{constructor(t,r,n){super(t,r,n,new iv),this.assetType="video"}transcode(t){return this.transformation.transcode(t),this}videoEdit(t){return this.transformation.videoEdit(t),this}}class Tv{constructor(t){t&&(this.cloudinaryConfig=t)}image(t){return new Sv(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(t){return new Ev(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(t){return this.cloudinaryConfig=t,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const Av=({publicId:e,format:t="webp"})=>{const r=b.useMemo(()=>new Tv({cloud:{cloudName:"fluid-attacks"}}),[]);return b.useMemo(()=>r.image(e).format(t),[r,e,t])},Cv=({alt:e="img",height:t="",width:r="",plugins:n=[Xy(),rm()],publicId:o})=>{const i=Av({publicId:o});return A.jsx(km,{alt:e,cldImg:i,height:t,plugins:n,width:r})},Qi=b.memo(Cv),Ov=ae.button`
|
|
519
591
|
${({theme:e})=>`
|
|
520
592
|
align-items: center;
|
|
521
593
|
border-left: 3px solid transparent;
|
|
@@ -558,7 +630,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
|
|
|
558
630
|
}
|
|
559
631
|
}
|
|
560
632
|
`}
|
|
561
|
-
`,
|
|
633
|
+
`,kv=ae.div`
|
|
562
634
|
${({theme:e})=>`
|
|
563
635
|
align-items: center;
|
|
564
636
|
background-color: transparent;
|
|
@@ -588,7 +660,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
|
|
|
588
660
|
color: ${e.palette.gray[800]};
|
|
589
661
|
}
|
|
590
662
|
`}
|
|
591
|
-
`,
|
|
663
|
+
`,Rv=ae.div`
|
|
592
664
|
${({theme:e})=>`
|
|
593
665
|
background-color: ${e.palette.white};
|
|
594
666
|
border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
|
|
@@ -603,7 +675,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
|
|
|
603
675
|
border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
|
|
604
676
|
}
|
|
605
677
|
`}
|
|
606
|
-
|
|
678
|
+
`,jv=ae.div`
|
|
607
679
|
${({theme:e})=>`
|
|
608
680
|
align-items: flex-start;
|
|
609
681
|
cursor: pointer;
|
|
@@ -625,7 +697,120 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
|
|
|
625
697
|
}
|
|
626
698
|
}
|
|
627
699
|
`}
|
|
628
|
-
`,
|
|
700
|
+
`,Pv=({disabled:e=!1,mode:t,onClick:r,text:n})=>A.jsx(Ov,{className:`${e&&"disabled"} ${t}`,disabled:e,onClick:r,children:A.jsx(xt,{color:"inherit",size:"sm",sizeSm:"xs",children:n})}),Iv=[{text:"EN"},{text:"ES"}],Mv=({items:e,handleClick:t,mode:r="light"})=>{const n=e??Iv,[o,i]=b.useState(n[0].text),a=b.useCallback(c=>()=>{t(c.text),i(c.text)},[t]);return A.jsxs(jv,{children:[A.jsxs(kv,{className:r,children:[A.jsx(Ft,{icon:"globe",iconSize:"xs",iconType:"fa-light"}),o]}),A.jsx(Rv,{children:n.map((c,u)=>A.jsx(Pv,{disabled:c.disabled,mode:r,onClick:a(c),text:c.text},`${c.text}_${u}`))})]})},Lv={company:{height:"83px",width:"460px"},footer:{height:"57px",width:"315px"},header:{height:"35px",width:"160px"},icon:{height:"40px",width:"40px"}},Dv=({publicId:e,variant:t})=>A.jsx(Ot,{...Lv[t],children:A.jsx(Qi,{alt:"logo",publicId:e})}),Nv=ae.button`
|
|
701
|
+
align-items: center;
|
|
702
|
+
background-color: transparent;
|
|
703
|
+
border: unset;
|
|
704
|
+
cursor: pointer;
|
|
705
|
+
display: flex;
|
|
706
|
+
justify-content: center;
|
|
707
|
+
gap: 5px;
|
|
708
|
+
padding: 0;
|
|
709
|
+
|
|
710
|
+
&:hover p {
|
|
711
|
+
color: ${C.palette.primary[200]};
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
&:hover span {
|
|
715
|
+
color: ${C.palette.primary[200]};
|
|
716
|
+
}
|
|
717
|
+
`,Fv=e=>e==="platform"?{normal:"sm",small:void 0}:{normal:"md",small:"sm"},Vv=({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=Fv(a);return A.jsxs(Ot,{alignItems:"center",bgGradient:C.palette.gradients["01"],display:c?"flex":"none",id:"message-banner",justify:"space-between",padding:[.75,.75,.75,.75],children:[A.jsxs(Ot,{display:"flex",gap:.5,justify:"center",width:"100%",children:[A.jsx(Ot,{children:typeof e=="string"?A.jsx(xt,{color:C.palette.white,display:"inline",size:h.normal,sizeSm:h.small,children:e}):e}),t?A.jsxs(Nv,{onClick:t,children:[A.jsx(xt,{color:C.palette.white,fontWeight:n,size:h.normal,sizeSm:h.small,textDecoration:"underline",children:r}),A.jsx(Ft,{icon:o??"arrow-right",iconColor:C.palette.white,iconSize:"xs",iconType:n==="bold"?"fa-regular":"fa-light"})]}):void 0]}),A.jsx(Ft,{clickable:!0,hoverColor:C.palette.primary[200],icon:"close",iconColor:C.palette.white,iconSize:"xs",iconType:"fa-light",onClick:f})]})},zv=ae(cn)`
|
|
718
|
+
${({theme:e,$variant:t})=>`
|
|
719
|
+
align-items: center;
|
|
720
|
+
background: ${t==="error"?e.palette.primary[400]:e.palette.warning[500]};
|
|
721
|
+
border-radius: 100%;
|
|
722
|
+
font-family: ${e.typography.type.primary};
|
|
723
|
+
justify-content: center;
|
|
724
|
+
padding: 0;
|
|
725
|
+
position: absolute;
|
|
726
|
+
z-index: 11;
|
|
727
|
+
width: ${e.spacing[.5]};
|
|
728
|
+
height: ${e.spacing[.5]};
|
|
729
|
+
`}
|
|
730
|
+
`,Bv=ae.div`
|
|
731
|
+
align-items: center;
|
|
732
|
+
color: ${({theme:e})=>e.palette.white};
|
|
733
|
+
display: flex;
|
|
734
|
+
font-size: 6px;
|
|
735
|
+
font-weight: ${({theme:e})=>e.typography.weight.bold};
|
|
736
|
+
justify-content: center;
|
|
737
|
+
`,ul=b.forwardRef(function({numberIndicator:t,show:r,variant:n="error",...o},i){return A.jsx(zv,{$variant:n,className:r?"flex":"hidden","data-testid":"notification-sign",ref:i,...o,children:t&&A.jsx(Bv,{children:t<=9?t:9})})}),fs={web:{normal:C.typography.text.md,sm:C.typography.text.sm},platform:{normal:C.typography.text.sm,sm:C.typography.text.sm}},Wv=ae.label`
|
|
738
|
+
${({$disabled:e,$variant:t})=>{const r=e?300:600;return`
|
|
739
|
+
display: flex;
|
|
740
|
+
align-items: center;
|
|
741
|
+
font-family: ${C.typography.type.primary};
|
|
742
|
+
font-size: ${fs[t].normal};
|
|
743
|
+
font-weight: ${C.typography.weight.regular};
|
|
744
|
+
line-height: ${C.typography.text.lg};
|
|
745
|
+
text-align: left;
|
|
746
|
+
position: relative;
|
|
747
|
+
cursor: pointer;
|
|
748
|
+
color: ${C.palette.gray[r]};
|
|
749
|
+
gap: ${C.spacing[.5]};
|
|
750
|
+
|
|
751
|
+
input {
|
|
752
|
+
position: absolute;
|
|
753
|
+
opacity: 0;
|
|
754
|
+
cursor: pointer;
|
|
755
|
+
width: 0;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
.checkmark {
|
|
759
|
+
position: relative;
|
|
760
|
+
top: 0;
|
|
761
|
+
left: 0;
|
|
762
|
+
height: 16px;
|
|
763
|
+
width: 16px;
|
|
764
|
+
background-color: ${C.palette.white};
|
|
765
|
+
border-radius: 50%;
|
|
766
|
+
border: 1px solid ${C.palette.gray[600]};
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
input:disabled ~ .checkmark {
|
|
770
|
+
border: 1px solid ${C.palette.gray[300]};
|
|
771
|
+
background-color: ${C.palette.white};
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
input:not(:disabled):checked ~ .checkmark {
|
|
775
|
+
background-color: ${C.palette.white};
|
|
776
|
+
border: 1px solid ${C.palette.primary[500]};
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
input:not(:disabled):hover ~ .checkmark {
|
|
780
|
+
background-color: ${C.palette.white};
|
|
781
|
+
box-shadow: 0 0 0 4px ${C.palette.gray[100]};
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
input:not(:disabled):hover:checked ~ .checkmark {
|
|
785
|
+
background-color: ${C.palette.white};
|
|
786
|
+
box-shadow: 0 0 0 4px ${C.palette.primary[50]};
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
.checkmark::after {
|
|
790
|
+
content: "";
|
|
791
|
+
position: absolute;
|
|
792
|
+
display: none;
|
|
793
|
+
top: 3px;
|
|
794
|
+
left: 3px;
|
|
795
|
+
width: 8px;
|
|
796
|
+
height: 8px;
|
|
797
|
+
border-radius: 50%;
|
|
798
|
+
background: ${C.palette.primary[500]};
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
input:checked ~ .checkmark::after {
|
|
802
|
+
display: block;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
input:disabled:checked ~ .checkmark::after {
|
|
806
|
+
background-color: ${C.palette.gray[300]};
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
@media screen and (max-width: ${C.breakpoints.mobile}) {
|
|
810
|
+
font-size: ${fs[t].sm};
|
|
811
|
+
}
|
|
812
|
+
`}}
|
|
813
|
+
`,Uv=ae.span.attrs({className:"checkmark"})``,qv=({defaultChecked:e=!1,disabled:t=!1,label:r,name:n,onChange:o,onClick:i,value:a,variant:c="web"})=>A.jsxs(Wv,{$disabled:t,$variant:c,children:[A.jsx("input",{"aria-label":n,defaultChecked:e,disabled:t,name:n,onChange:o,onClick:i,type:"radio",value:a}),A.jsx(Uv,{}),r??null]}),Gv=ae.a`
|
|
629
814
|
${({theme:e})=>`
|
|
630
815
|
align-items: center;
|
|
631
816
|
display: flex;
|
|
@@ -670,7 +855,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
|
|
|
670
855
|
width: 270px;
|
|
671
856
|
}
|
|
672
857
|
`}
|
|
673
|
-
`,
|
|
858
|
+
`,Hv=ae.div.attrs({className:"icon-wrap"})`
|
|
674
859
|
${({theme:e})=>`
|
|
675
860
|
align-items: center;
|
|
676
861
|
background: ${e.palette.primary[25]};
|
|
@@ -685,7 +870,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
|
|
|
685
870
|
font-size: 20px;
|
|
686
871
|
}
|
|
687
872
|
`}
|
|
688
|
-
`,
|
|
873
|
+
`,Yv=ae.div`
|
|
689
874
|
${({theme:e})=>`
|
|
690
875
|
align-items: flex-start;
|
|
691
876
|
display: flex;
|
|
@@ -717,7 +902,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
|
|
|
717
902
|
width: 320px;
|
|
718
903
|
}
|
|
719
904
|
`}
|
|
720
|
-
`,
|
|
905
|
+
`,Qv=ae.form`
|
|
721
906
|
${({theme:e})=>`
|
|
722
907
|
align-items: center;
|
|
723
908
|
display: flex;
|
|
@@ -726,7 +911,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
|
|
|
726
911
|
padding: ${e.spacing[1]} ${e.spacing[1.5]};
|
|
727
912
|
width: 100%;
|
|
728
913
|
`}
|
|
729
|
-
`,
|
|
914
|
+
`,Jv=ae.input`
|
|
730
915
|
${({theme:e})=>`
|
|
731
916
|
flex: 1 0 0;
|
|
732
917
|
border: none;
|
|
@@ -752,7 +937,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
|
|
|
752
937
|
font-size: ${e.typography.text.sm};
|
|
753
938
|
}
|
|
754
939
|
`}
|
|
755
|
-
`,
|
|
940
|
+
`,Kv=ae.button`
|
|
756
941
|
${({theme:e})=>`
|
|
757
942
|
align-items: center;
|
|
758
943
|
border-radius: ${e.spacing[.5]};
|
|
@@ -772,7 +957,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
|
|
|
772
957
|
background-color: ${e.palette.gray[100]};
|
|
773
958
|
}
|
|
774
959
|
`}
|
|
775
|
-
`,Do
|
|
960
|
+
`,Do=ae.div.attrs({className:"dropdown"})`
|
|
776
961
|
${({theme:e,$empty:t=!1,$showHits:r=!1})=>`
|
|
777
962
|
align-items: flex-start;
|
|
778
963
|
align-self: stretch;
|
|
@@ -815,7 +1000,73 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
|
|
|
815
1000
|
height: ${e.spacing[.5]};
|
|
816
1001
|
}
|
|
817
1002
|
`}
|
|
818
|
-
`,No=({hit:e,icon:t="infinity",showIcon:r=!1})=>{const{slug:n,title:o}=e,i=String(n).startsWith("/pages/")?String(n).replace("/pages/","/"):String(n);return
|
|
1003
|
+
`,No=({hit:e,icon:t="infinity",showIcon:r=!1})=>{const{slug:n,title:o}=e,i=String(n).startsWith("/pages/")?String(n).replace("/pages/","/"):String(n);return A.jsxs(Gv,{href:i,rel:"nofollow noopener noreferrer",children:[r&&A.jsx(Hv,{children:A.jsx(Ft,{icon:t,iconClass:"fill-gradient-01",iconSize:"sm",iconType:"fa-light"})}),A.jsx(xt,{color:C.palette.gray[800],lineSpacing:1.5,size:"md",sizeSm:"sm",whiteSpace:"wrap",children:String(o)})]})},Xv=[{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"}],ps={hit:{slug:"/contact-us/",title:"Contact Support"},icon:"envelope"},Zv=({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,y=b.useCallback(E=>{i(E),r(E)},[r]),_=b.useCallback(()=>{y("")},[y]),v=b.useCallback(()=>{c(!0)},[]),S=b.useCallback(E=>{y(E.currentTarget.value)},[y]),O=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 jm(u.current,()=>{_(),c(!1)},!0),A.jsxs(Yv,{ref:u,children:[A.jsxs(Qv,{action:"",noValidate:!0,onReset:O,onSubmit:P,role:"search",children:[A.jsxs("div",{className:"flex gap-2 w-full",children:[A.jsx("div",{className:"h-10 p-2",children:A.jsx(Ft,{icon:"magnifying-glass",iconSize:"sm",iconType:"fa-light"})}),A.jsx(Jv,{autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",maxLength:512,onChange:S,onFocus:v,placeholder:t,ref:f,spellCheck:!1,type:"search",value:o})]}),h&&A.jsx(Kv,{type:"reset",children:A.jsx(Ft,{icon:"xmark",iconSize:"sm",iconType:"fa-light"})})]}),a&&o.length<2&&A.jsxs(Do,{children:[A.jsx(xt,{color:C.palette.gray[400],fontWeight:"bold",lineSpacing:1.5,size:"md",sizeSm:"sm",children:"Suggested"}),A.jsx("div",{className:"flex flex-col items-start self-stretch",children:Xv.map(({hit:E,icon:k},R)=>A.jsx(No,{hit:E,icon:k,showIcon:!0},`${k}-${R}`))}),A.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?"}),A.jsx(No,{hit:ps.hit,icon:ps.icon,showIcon:!0})]}),h&&e.length>0&&A.jsxs(Do,{$showHits:h,children:[A.jsx(xt,{color:C.palette.gray[400],fontWeight:"bold",lineSpacing:1.5,size:"md",sizeSm:"sm",children:"Results"}),A.jsx("div",{className:"flex flex-col items-start self-stretch",children:e.map(E=>A.jsx(No,{hit:E},E.objectID))})]}),h&&e.length===0&&A.jsx(Do,{$empty:e.length===0,children:A.jsxs("div",{className:"items-center flex flex-col gap-4 py-[90px] w-full",children:[A.jsx(Qi,{height:96,publicId:"airs/search-bar/empty-state-icon",width:96}),A.jsx(_i,{display:"flex",size:"sm",sizeSm:"xs",textAlign:"center",children:"No results found"}),A.jsxs(xt,{display:"flex",lineSpacing:1.5,size:"md",sizeSm:"sm",textAlign:"center",children:[`“${o}” did not match.`,A.jsx("br",{}),"Please try again."]}),A.jsx(pc,{mode:"light",onClick:_,variant:"secondaryWeb",children:"Clear search"})]})})]})},eb=ae.button`
|
|
1004
|
+
${({theme:e})=>`
|
|
1005
|
+
align-items: center;
|
|
1006
|
+
color: ${e.palette.gray[500]};
|
|
1007
|
+
display: flex;
|
|
1008
|
+
gap: ${e.spacing[.625]};
|
|
1009
|
+
justify-content: center;
|
|
1010
|
+
padding: ${e.spacing[.75]};
|
|
1011
|
+
text-align: center;
|
|
1012
|
+
width: 151px;
|
|
1013
|
+
|
|
1014
|
+
&.active {
|
|
1015
|
+
color: ${e.palette.gray[800]};
|
|
1016
|
+
border-bottom: 3px solid ${e.palette.primary[400]};
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
&:hover {
|
|
1020
|
+
color: ${e.palette.gray[800]};
|
|
1021
|
+
}
|
|
1022
|
+
`}
|
|
1023
|
+
`,tb=ae.div`
|
|
1024
|
+
${({theme:e})=>`
|
|
1025
|
+
align-items: center;
|
|
1026
|
+
border-bottom: 2px solid ${e.palette.gray[200]};
|
|
1027
|
+
display: flex;
|
|
1028
|
+
gap: ${e.spacing[3]};
|
|
1029
|
+
height: ${e.spacing[3]};
|
|
1030
|
+
width: max-content;
|
|
1031
|
+
`}
|
|
1032
|
+
`,rb=ae(_l.NavLink)`
|
|
1033
|
+
${({theme:e})=>`
|
|
1034
|
+
align-items: center;
|
|
1035
|
+
background: transparent;
|
|
1036
|
+
cursor: pointer;
|
|
1037
|
+
color: ${e.palette.gray[800]};
|
|
1038
|
+
font-family: ${e.typography.type.primary};
|
|
1039
|
+
font-size: ${e.typography.text.sm};
|
|
1040
|
+
display: flex;
|
|
1041
|
+
font-weight: ${e.typography.weight.regular};
|
|
1042
|
+
padding: ${e.spacing[.625]} ${e.spacing[.5]};
|
|
1043
|
+
position: relative;
|
|
1044
|
+
text-align: center;
|
|
1045
|
+
text-decoration: unset;
|
|
1046
|
+
|
|
1047
|
+
&:disabled {
|
|
1048
|
+
cursor: not-allowed;
|
|
1049
|
+
background-color: ${e.palette.gray[300]};
|
|
1050
|
+
color: ${e.palette.gray[300]};
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
&:hover:not([disabled]) {
|
|
1054
|
+
background-color: ${e.palette.gray[100]};
|
|
1055
|
+
color: ${e.palette.gray[800]};
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
&.active {
|
|
1059
|
+
background-color: transparent;
|
|
1060
|
+
border-bottom: solid 4px ${e.palette.primary[500]};
|
|
1061
|
+
padding-bottom: calc(${e.spacing[.625]} - 4px);
|
|
1062
|
+
|
|
1063
|
+
&:hover {
|
|
1064
|
+
background-color: transparent;
|
|
1065
|
+
border-bottom: solid 4px ${e.palette.primary[500]};
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
`}
|
|
1069
|
+
`,nb=({items:e})=>A.jsx(tb,{children:e.map(({isActive:t,label:r,onClick:n},o)=>A.jsx(eb,{className:t?"active":"",onClick:n,type:"button",children:A.jsx(_i,{color:"inherit",fontWeight:"semibold",size:"sm",sizeSm:"xs",children:r})},`${r}-${o}`))}),dl=({label:e,id:t,isActive:r=!1,link:n,notificationSign:o,onClick:i,tooltip:a=""})=>A.jsx(Ci,{display:"flex",id:`${t}-tooltip`,tip:a,children:A.jsxs(rb,{className:r?"active":"",id:t,onClick:i,to:n,children:[e,A.jsx(ul,{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})]})}),ob=({items:e,borders:t=!0,box:r=!1})=>A.jsx(Ot,{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})=>A.jsx(dl,{id:n,isActive:o,label:a,link:i,notificationSign:c,onClick:u,tooltip:f},n))}),ib=ae.div`
|
|
819
1070
|
${({theme:e})=>`
|
|
820
1071
|
align-items: center;
|
|
821
1072
|
display: flex;
|
|
@@ -845,7 +1096,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
|
|
|
845
1096
|
width: 320px;
|
|
846
1097
|
}
|
|
847
1098
|
`}
|
|
848
|
-
`,
|
|
1099
|
+
`,ab=ae.button`
|
|
849
1100
|
${({theme:e})=>`
|
|
850
1101
|
align-items: center;
|
|
851
1102
|
background: linear-gradient(
|
|
@@ -874,4 +1125,4 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
|
|
|
874
1125
|
color: ${e.palette.white};
|
|
875
1126
|
}
|
|
876
1127
|
`}
|
|
877
|
-
`,
|
|
1128
|
+
`,sb=({defaultSelection:e,options:t,handleClick:r})=>{const[n,o]=b.useState(e??t[0]),i=b.useCallback(a=>()=>{o(a),r(a)},[r]);return A.jsx(ib,{children:t.map((a,c)=>A.jsx(ab,{className:`${a.includes(n)&&"selected"}`,onClick:i(a),children:A.jsx(xt,{color:"inherit",fontWeight:"bold",size:"md",sizeSm:"sm",textAlign:"center",children:a})},`${a}-${c}`))})};exports.Accordion=pd;exports.BaseButtonComponent=Vs;exports.BaseComponent=cn;exports.BaseSpanComponent=zs;exports.BaseTextComponent=wi;exports.Button=pc;exports.Checkbox=gg;exports.CloudImage=Qi;exports.Container=Ot;exports.CustomThemeProvider=Gu;exports.FixedTabs=nb;exports.Heading=_i;exports.Icon=Ft;exports.LanguageSelector=Mv;exports.Logo=Dv;exports.MessageBanner=Vv;exports.NotificationSign=ul;exports.ProgressBar=Ws;exports.RadioButton=qv;exports.SearchBar=Zv;exports.Tab=dl;exports.Tabs=ob;exports.Text=xt;exports.ToggleButton=sb;exports.Tooltip=Ci;exports.getStyledConfig=sn;exports.hiddenProps=gs;exports.icons=Uu;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=qu;exports.variantBuilder=hs;
|