@fluidattacks/design 1.2.25 → 1.2.27
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 +499 -201
- package/dist/design.mjs +5062 -4012
- package/dist/src/components/container/styles.d.ts +2 -0
- package/dist/src/components/container/types.d.ts +2 -0
- package/dist/src/components/form/index.d.ts +5 -0
- package/dist/src/components/form/styles.d.ts +4 -0
- package/dist/src/components/form/types.d.ts +15 -0
- package/dist/src/components/inputs/fields/phone/index.d.ts +3 -0
- package/dist/src/components/inputs/fields/phone/styles.d.ts +6 -0
- package/dist/src/components/inputs/fields/text-input/index.d.ts +3 -0
- package/dist/src/components/inputs/index.d.ts +4 -0
- package/dist/src/components/inputs/label/index.d.ts +3 -0
- package/dist/src/components/inputs/outline-container/index.d.ts +4 -0
- package/dist/src/components/inputs/styles.d.ts +3 -0
- package/dist/src/components/inputs/types.d.ts +48 -0
- package/dist/src/components/typography/types.d.ts +2 -0
- package/dist/src/index.d.ts +2 -0
- package/package.json +17 -15
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]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.\\!visible{visibility:visible!important}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-\\[500px\\]{height:500px}.w-full{width:100%}.max-w-72{max-width:18rem}.max-w-min{max-width:-moz-min-content;max-width:min-content}.flex-shrink{flex-shrink:1}.flex-grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-4{gap:1rem}.self-stretch{align-self:stretch}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.px-12{padding-left:3rem;padding-right:3rem}.px-8{padding-left:2rem;padding-right:2rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\\[90px\\]{padding-top:90px;padding-bottom:90px}.align-middle{vertical-align:middle}.text-sm{font-size:.875rem;line-height:1.25rem}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@property --animate-position{syntax: "<angle>"; initial-value: 45deg; inherits: false;}@property --border-angle{syntax: "<angle>"; initial-value: 0deg; inherits: false;}@property --color-1{syntax: "<color>"; initial-value: #f32637; inherits: false;}@property --color-2{syntax: "<color>"; initial-value: #b8075d; inherits: false;}@property --btn-padding-x{syntax: "<length>"; initial-value: 16px; inherits: false;}@property --btn-padding-y{syntax: "<length>"; initial-value: 10px; inherits: false;}@property --btn-spacing{syntax: "<length>"; initial-value: 8px; inherits: false;}@property --grid-columns{syntax: "<number>"; initial-value: 12; inherits: false;}@property --grid-width{syntax: "<length>"; initial-value: 1440px; inherits: false;}@property --angle-grad{syntax: "<angle>"; initial-value: 45deg; inherits: false;}@property --opacity-grad{syntax: "<number>"; initial-value: 0; inherits: false;}@keyframes spinAnimation{to{--border-angle: 360deg}}@keyframes gradientAnimation{0%{--animate-position: 45deg}33%{--animate-position: -50deg}66%{--animate-position: -100deg}to{--animate-position: 45deg}}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),xl=require("react-dom"),$l=require("react-router-dom"),gs=e=>({getVariant:(t,r)=>e(t)[r]}),ms=["padding","px","py","pl","pr","pt","pb","margin","mx","my","ml","mr","mt","mb","zIndex","position","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","scroll","visibility","display","height","width","maxHeight","maxWidth","minHeight","minWidth","shadow","bgColor","bgGradient","gap","flexDirection","flexGrow","justify","justifySelf","alignItems","alignSelf","wrap","color","fontFamily","fontSize","fontWeight","textAlign","whiteSpace","letterSpacing","lineSpacing","textDecoration","textOverflow","whiteSpace","wordBreak","wordWrap","cursor","transition","borderColorHover","bgColorHover","shadowHover"];var ut=function(){return ut=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},ut.apply(this,arguments)};function Cr(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function Sl(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var El=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Tl=Sl(function(e){return El.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Sn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ys(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Re="-ms-",Yr="-moz-",ge="-webkit-",vs="comm",Qn="rule",mi="decl",Al="@import",bs="@keyframes",Cl="@layer",ws=Math.abs,yi=String.fromCharCode,Vo=Object.assign;function kl(e,t){return et(e,0)^45?(((t<<2^et(e,0))<<2^et(e,1))<<2^et(e,2))<<2^et(e,3):0}function _s(e){return e.trim()}function Zt(e,t){return(e=t.exec(e))?e[0]:e}function te(e,t,r){return e.replace(t,r)}function On(e,t,r){return e.indexOf(t,r)}function et(e,t){return e.charCodeAt(t)|0}function kr(e,t,r){return e.slice(t,r)}function Ht(e){return e.length}function xs(e){return e.length}function Hr(e,t){return t.push(e),e}function Ol(e,t){return e.map(t).join("")}function na(e,t){return e.filter(function(r){return!Zt(r,t)})}var Jn=1,Or=1,$s=0,Nt=0,Ue=0,Lr="";function Kn(e,t,r,n,o,i,a,c){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Jn,column:Or,length:a,return:"",siblings:c}}function rr(e,t){return Vo(Kn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Sr(e){for(;e.root;)e=rr(e.root,{children:[e]});Hr(e,e.siblings)}function Rl(){return Ue}function jl(){return Ue=Nt>0?et(Lr,--Nt):0,Or--,Ue===10&&(Or=1,Jn--),Ue}function Bt(){return Ue=Nt<$s?et(Lr,Nt++):0,Or++,Ue===10&&(Or=1,Jn++),Ue}function hr(){return et(Lr,Nt)}function Rn(){return Nt}function Xn(e,t){return kr(Lr,e,t)}function zo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Pl(e){return Jn=Or=1,$s=Ht(Lr=e),Nt=0,[]}function Il(e){return Lr="",e}function Co(e){return _s(Xn(Nt-1,Bo(e===91?e+2:e===40?e+1:e)))}function Ml(e){for(;(Ue=hr())&&Ue<33;)Bt();return zo(e)>2||zo(Ue)>3?"":" "}function Ll(e,t){for(;--t&&Bt()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return Xn(e,Rn()+(t<6&&hr()==32&&Bt()==32))}function Bo(e){for(;Bt();)switch(Ue){case e:return Nt;case 34:case 39:e!==34&&e!==39&&Bo(Ue);break;case 40:e===41&&Bo(e);break;case 92:Bt();break}return Nt}function Dl(e,t){for(;Bt()&&e+Ue!==57;)if(e+Ue===84&&hr()===47)break;return"/*"+Xn(t,Nt-1)+"*"+yi(e===47?e:Bt())}function Nl(e){for(;!zo(hr());)Bt();return Xn(e,Nt)}function Fl(e){return Il(jn("",null,null,null,[""],e=Pl(e),0,[0],e))}function jn(e,t,r,n,o,i,a,c,u){for(var f=0,h=0,m=a,_=0,v=0,S=0,k=1,P=1,E=1,O=0,R="",L=o,D=i,F=n,I=R;P;)switch(S=O,O=Bt()){case 40:if(S!=108&&et(I,m-1)==58){On(I+=te(Co(O),"&","&\f"),"&\f",ws(f?c[f-1]:0))!=-1&&(E=-1);break}case 34:case 39:case 91:I+=Co(O);break;case 9:case 10:case 13:case 32:I+=Ml(S);break;case 92:I+=Ll(Rn()-1,7);continue;case 47:switch(hr()){case 42:case 47:Hr(Vl(Dl(Bt(),Rn()),t,r,u),u);break;default:I+="/"}break;case 123*k:c[f++]=Ht(I)*E;case 125*k:case 59:case 0:switch(O){case 0:case 125:P=0;case 59+h:E==-1&&(I=te(I,/\f/g,"")),v>0&&Ht(I)-m&&Hr(v>32?ia(I+";",n,r,m-1,u):ia(te(I," ","")+";",n,r,m-2,u),u);break;case 59:I+=";";default:if(Hr(F=oa(I,t,r,f,h,o,c,R,L=[],D=[],m,i),i),O===123)if(h===0)jn(I,t,F,F,L,i,m,c,D);else switch(_===99&&et(I,3)===110?100:_){case 100:case 108:case 109:case 115:jn(e,F,F,n&&Hr(oa(e,F,F,0,0,o,c,R,o,L=[],m,D),D),o,D,m,c,n?L:D);break;default:jn(I,F,F,F,[""],D,0,c,D)}}f=h=v=0,k=E=1,R=I="",m=a;break;case 58:m=1+Ht(I),v=S;default:if(k<1){if(O==123)--k;else if(O==125&&k++==0&&jl()==125)continue}switch(I+=yi(O),O*k){case 38:E=h>0?1:(I+="\f",-1);break;case 44:c[f++]=(Ht(I)-1)*E,E=1;break;case 64:hr()===45&&(I+=Co(Bt())),_=hr(),h=m=Ht(R=I+=Nl(Rn())),O++;break;case 45:S===45&&Ht(I)==2&&(k=0)}}return i}function oa(e,t,r,n,o,i,a,c,u,f,h,m){for(var _=o-1,v=o===0?i:[""],S=xs(v),k=0,P=0,E=0;k<n;++k)for(var O=0,R=kr(e,_+1,_=ws(P=a[k])),L=e;O<S;++O)(L=_s(P>0?v[O]+" "+R:te(R,/&\f/g,v[O])))&&(u[E++]=L);return Kn(e,t,r,o===0?Qn:c,u,f,h,m)}function Vl(e,t,r,n){return Kn(e,t,r,vs,yi(Rl()),kr(e,2,-2),0,n)}function ia(e,t,r,n,o){return Kn(e,t,r,mi,kr(e,0,n),kr(e,n+1,-1),n,o)}function Ss(e,t,r){switch(kl(e,t)){case 5103:return ge+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ge+e+e;case 4789:return Yr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ge+e+Yr+e+Re+e+e;case 5936:switch(et(e,t+11)){case 114:return ge+e+Re+te(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ge+e+Re+te(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ge+e+Re+te(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return ge+e+Re+e+e;case 6165:return ge+e+Re+"flex-"+e+e;case 5187:return ge+e+te(e,/(\w+).+(:[^]+)/,ge+"box-$1$2"+Re+"flex-$1$2")+e;case 5443:return ge+e+Re+"flex-item-"+te(e,/flex-|-self/g,"")+(Zt(e,/flex-|baseline/)?"":Re+"grid-row-"+te(e,/flex-|-self/g,""))+e;case 4675:return ge+e+Re+"flex-line-pack"+te(e,/align-content|flex-|-self/g,"")+e;case 5548:return ge+e+Re+te(e,"shrink","negative")+e;case 5292:return ge+e+Re+te(e,"basis","preferred-size")+e;case 6060:return ge+"box-"+te(e,"-grow","")+ge+e+Re+te(e,"grow","positive")+e;case 4554:return ge+te(e,/([^-])(transform)/g,"$1"+ge+"$2")+e;case 6187:return te(te(te(e,/(zoom-|grab)/,ge+"$1"),/(image-set)/,ge+"$1"),e,"")+e;case 5495:case 3959:return te(e,/(image-set\([^]*)/,ge+"$1$`$1");case 4968:return te(te(e,/(.+:)(flex-)?(.*)/,ge+"box-pack:$3"+Re+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ge+e+e;case 4200:if(!Zt(e,/flex-|baseline/))return Re+"grid-column-align"+kr(e,t)+e;break;case 2592:case 3360:return Re+te(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,Zt(n.props,/grid-\w+-end/)})?~On(e+(r=r[t].value),"span",0)?e:Re+te(e,"-start","")+e+Re+"grid-row-span:"+(~On(r,"span",0)?Zt(r,/\d+/):+Zt(r,/\d+/)-+Zt(e,/\d+/))+";":Re+te(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Zt(n.props,/grid-\w+-start/)})?e:Re+te(te(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return te(e,/(.+)-inline(.+)/,ge+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ht(e)-1-t>6)switch(et(e,t+1)){case 109:if(et(e,t+4)!==45)break;case 102:return te(e,/(.+:)(.+)-([^]+)/,"$1"+ge+"$2-$3$1"+Yr+(et(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~On(e,"stretch",0)?Ss(te(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return te(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,a,c,u,f){return Re+o+":"+i+f+(a?Re+o+"-span:"+(c?u:+u-+i)+f:"")+e});case 4949:if(et(e,t+6)===121)return te(e,":",":"+ge)+e;break;case 6444:switch(et(e,et(e,14)===45?18:11)){case 120:return te(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ge+(et(e,14)===45?"inline-":"")+"box$3$1"+ge+"$2$3$1"+Re+"$2box$3")+e;case 100:return te(e,":",":"+Re)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return te(e,"scroll-","scroll-snap-")+e}return e}function Mn(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function zl(e,t,r,n){switch(e.type){case Cl:if(e.children.length)break;case Al:case mi:return e.return=e.return||e.value;case vs:return"";case bs:return e.return=e.value+"{"+Mn(e.children,n)+"}";case Qn:if(!Ht(e.value=e.props.join(",")))return""}return Ht(r=Mn(e.children,n))?e.return=e.value+"{"+r+"}":""}function Bl(e){var t=xs(e);return function(r,n,o,i){for(var a="",c=0;c<t;c++)a+=e[c](r,n,o,i)||"";return a}}function Wl(e){return function(t){t.root||(t=t.return)&&e(t)}}function Ul(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case mi:e.return=Ss(e.value,e.length,r);return;case bs:return Mn([rr(e,{value:te(e.value,"@","@"+ge)})],n);case Qn:if(e.length)return Ol(r=e.props,function(o){switch(Zt(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Sr(rr(e,{props:[te(o,/:(read-\w+)/,":"+Yr+"$1")]})),Sr(rr(e,{props:[o]})),Vo(e,{props:na(r,n)});break;case"::placeholder":Sr(rr(e,{props:[te(o,/:(plac\w+)/,":"+ge+"input-$1")]})),Sr(rr(e,{props:[te(o,/:(plac\w+)/,":"+Yr+"$1")]})),Sr(rr(e,{props:[te(o,/:(plac\w+)/,Re+"input-$1")]})),Sr(rr(e,{props:[o]})),Vo(e,{props:na(r,n)});break}return""})}}var ql={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},yr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Es="active",Ts="data-styled-version",Zn="6.1.13",vi=`/*!sc*/
|
|
3
|
-
`,
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.\\!visible{visibility:visible!important}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-\\[500px\\]{height:500px}.w-full{width:100%}.max-w-72{max-width:18rem}.max-w-min{max-width:-moz-min-content;max-width:min-content}.flex-shrink{flex-shrink:1}.flex-grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.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, 1))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.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, 1))}.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)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.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 y=require("react"),ji=require("react-dom"),Yl=require("react-router-dom");function Ds(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const dt=Ds(y),Ql=Ds(ji),Is=e=>({getVariant:(t,r)=>e(t)[r]}),Ms=["padding","px","py","pl","pr","pt","pb","margin","mx","my","ml","mr","mt","mb","zIndex","position","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","scroll","visibility","display","height","width","maxHeight","maxWidth","minHeight","minWidth","shadow","bgColor","bgGradient","gap","flexDirection","flexGrow","justify","justifySelf","alignItems","alignSelf","wrap","color","fontFamily","fontSize","fontWeight","textAlign","whiteSpace","letterSpacing","lineSpacing","textDecoration","textOverflow","whiteSpace","wordBreak","wordWrap","cursor","transition","borderColorHover","bgColorHover","shadowHover"];var pt=function(){return pt=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},pt.apply(this,arguments)};function Ir(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 Kl(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Jl=/^((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)-.*))$/,Xl=Kl(function(e){return Jl.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Rn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ls(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pe="-ms-",tn="-moz-",xe="-webkit-",Ns="comm",so="rule",Pi="decl",Zl="@import",Fs="@keyframes",eu="@layer",Vs=Math.abs,Di=String.fromCharCode,ei=Object.assign;function tu(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 zs(e){return e.trim()}function nr(e,t){return(e=t.exec(e))?e[0]:e}function de(e,t,r){return e.replace(t,r)}function Ln(e,t,r){return e.indexOf(t,r)}function et(e,t){return e.charCodeAt(t)|0}function Mr(e,t,r){return e.slice(t,r)}function Jt(e){return e.length}function Bs(e){return e.length}function en(e,t){return t.push(e),e}function ru(e,t){return e.map(t).join("")}function xa(e,t){return e.filter(function(r){return!nr(r,t)})}var co=1,Lr=1,Ws=0,Bt=0,Ue=0,Wr="";function lo(e,t,r,n,o,i,a,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:co,column:Lr,length:a,return:"",siblings:s}}function ar(e,t){return ei(lo("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Tr(e){for(;e.root;)e=ar(e.root,{children:[e]});en(e,e.siblings)}function nu(){return Ue}function ou(){return Ue=Bt>0?et(Wr,--Bt):0,Lr--,Ue===10&&(Lr=1,co--),Ue}function Gt(){return Ue=Bt<Ws?et(Wr,Bt++):0,Lr++,Ue===10&&(Lr=1,co++),Ue}function br(){return et(Wr,Bt)}function Nn(){return Bt}function uo(e,t){return Mr(Wr,e,t)}function ti(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 iu(e){return co=Lr=1,Ws=Jt(Wr=e),Bt=0,[]}function au(e){return Wr="",e}function Bo(e){return zs(uo(Bt-1,ri(e===91?e+2:e===40?e+1:e)))}function su(e){for(;(Ue=br())&&Ue<33;)Gt();return ti(e)>2||ti(Ue)>3?"":" "}function cu(e,t){for(;--t&&Gt()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return uo(e,Nn()+(t<6&&br()==32&&Gt()==32))}function ri(e){for(;Gt();)switch(Ue){case e:return Bt;case 34:case 39:e!==34&&e!==39&&ri(Ue);break;case 40:e===41&&ri(e);break;case 92:Gt();break}return Bt}function lu(e,t){for(;Gt()&&e+Ue!==57;)if(e+Ue===84&&br()===47)break;return"/*"+uo(t,Bt-1)+"*"+Di(e===47?e:Gt())}function uu(e){for(;!ti(br());)Gt();return uo(e,Bt)}function du(e){return au(Fn("",null,null,null,[""],e=iu(e),0,[0],e))}function Fn(e,t,r,n,o,i,a,s,c){for(var u=0,f=0,g=a,m=0,v=0,w=0,S=1,T=1,$=1,C=0,P="",I=o,M=i,E=n,R=P;T;)switch(w=C,C=Gt()){case 40:if(w!=108&&et(R,g-1)==58){Ln(R+=de(Bo(C),"&","&\f"),"&\f",Vs(u?s[u-1]:0))!=-1&&($=-1);break}case 34:case 39:case 91:R+=Bo(C);break;case 9:case 10:case 13:case 32:R+=su(w);break;case 92:R+=cu(Nn()-1,7);continue;case 47:switch(br()){case 42:case 47:en(fu(lu(Gt(),Nn()),t,r,c),c);break;default:R+="/"}break;case 123*S:s[u++]=Jt(R)*$;case 125*S:case 59:case 0:switch(C){case 0:case 125:T=0;case 59+f:$==-1&&(R=de(R,/\f/g,"")),v>0&&Jt(R)-g&&en(v>32?_a(R+";",n,r,g-1,c):_a(de(R," ","")+";",n,r,g-2,c),c);break;case 59:R+=";";default:if(en(E=$a(R,t,r,u,f,o,s,P,I=[],M=[],g,i),i),C===123)if(f===0)Fn(R,t,E,E,I,i,g,s,M);else switch(m===99&&et(R,3)===110?100:m){case 100:case 108:case 109:case 115:Fn(e,E,E,n&&en($a(e,E,E,0,0,o,s,P,o,I=[],g,M),M),o,M,g,s,n?I:M);break;default:Fn(R,E,E,E,[""],M,0,s,M)}}u=f=v=0,S=$=1,P=R="",g=a;break;case 58:g=1+Jt(R),v=w;default:if(S<1){if(C==123)--S;else if(C==125&&S++==0&&ou()==125)continue}switch(R+=Di(C),C*S){case 38:$=f>0?1:(R+="\f",-1);break;case 44:s[u++]=(Jt(R)-1)*$,$=1;break;case 64:br()===45&&(R+=Bo(Gt())),m=br(),f=g=Jt(P=R+=uu(Nn())),C++;break;case 45:w===45&&Jt(R)==2&&(S=0)}}return i}function $a(e,t,r,n,o,i,a,s,c,u,f,g){for(var m=o-1,v=o===0?i:[""],w=Bs(v),S=0,T=0,$=0;S<n;++S)for(var C=0,P=Mr(e,m+1,m=Vs(T=a[S])),I=e;C<w;++C)(I=zs(T>0?v[C]+" "+P:de(P,/&\f/g,v[C])))&&(c[$++]=I);return lo(e,t,r,o===0?so:s,c,u,f,g)}function fu(e,t,r,n){return lo(e,t,r,Ns,Di(nu()),Mr(e,2,-2),0,n)}function _a(e,t,r,n,o){return lo(e,t,r,Pi,Mr(e,0,n),Mr(e,n+1,-1),n,o)}function Us(e,t,r){switch(tu(e,t)){case 5103:return xe+"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 xe+e+e;case 4789:return tn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return xe+e+tn+e+Pe+e+e;case 5936:switch(et(e,t+11)){case 114:return xe+e+Pe+de(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return xe+e+Pe+de(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return xe+e+Pe+de(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return xe+e+Pe+e+e;case 6165:return xe+e+Pe+"flex-"+e+e;case 5187:return xe+e+de(e,/(\w+).+(:[^]+)/,xe+"box-$1$2"+Pe+"flex-$1$2")+e;case 5443:return xe+e+Pe+"flex-item-"+de(e,/flex-|-self/g,"")+(nr(e,/flex-|baseline/)?"":Pe+"grid-row-"+de(e,/flex-|-self/g,""))+e;case 4675:return xe+e+Pe+"flex-line-pack"+de(e,/align-content|flex-|-self/g,"")+e;case 5548:return xe+e+Pe+de(e,"shrink","negative")+e;case 5292:return xe+e+Pe+de(e,"basis","preferred-size")+e;case 6060:return xe+"box-"+de(e,"-grow","")+xe+e+Pe+de(e,"grow","positive")+e;case 4554:return xe+de(e,/([^-])(transform)/g,"$1"+xe+"$2")+e;case 6187:return de(de(de(e,/(zoom-|grab)/,xe+"$1"),/(image-set)/,xe+"$1"),e,"")+e;case 5495:case 3959:return de(e,/(image-set\([^]*)/,xe+"$1$`$1");case 4968:return de(de(e,/(.+:)(flex-)?(.*)/,xe+"box-pack:$3"+Pe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+xe+e+e;case 4200:if(!nr(e,/flex-|baseline/))return Pe+"grid-column-align"+Mr(e,t)+e;break;case 2592:case 3360:return Pe+de(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,nr(n.props,/grid-\w+-end/)})?~Ln(e+(r=r[t].value),"span",0)?e:Pe+de(e,"-start","")+e+Pe+"grid-row-span:"+(~Ln(r,"span",0)?nr(r,/\d+/):+nr(r,/\d+/)-+nr(e,/\d+/))+";":Pe+de(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return nr(n.props,/grid-\w+-start/)})?e:Pe+de(de(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return de(e,/(.+)-inline(.+)/,xe+"$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(Jt(e)-1-t>6)switch(et(e,t+1)){case 109:if(et(e,t+4)!==45)break;case 102:return de(e,/(.+:)(.+)-([^]+)/,"$1"+xe+"$2-$3$1"+tn+(et(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ln(e,"stretch",0)?Us(de(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return de(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,a,s,c,u){return Pe+o+":"+i+u+(a?Pe+o+"-span:"+(s?c:+c-+i)+u:"")+e});case 4949:if(et(e,t+6)===121)return de(e,":",":"+xe)+e;break;case 6444:switch(et(e,et(e,14)===45?18:11)){case 120:return de(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+xe+(et(e,14)===45?"inline-":"")+"box$3$1"+xe+"$2$3$1"+Pe+"$2box$3")+e;case 100:return de(e,":",":"+Pe)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return de(e,"scroll-","scroll-snap-")+e}return e}function qn(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function pu(e,t,r,n){switch(e.type){case eu:if(e.children.length)break;case Zl:case Pi:return e.return=e.return||e.value;case Ns:return"";case Fs:return e.return=e.value+"{"+qn(e.children,n)+"}";case so:if(!Jt(e.value=e.props.join(",")))return""}return Jt(r=qn(e.children,n))?e.return=e.value+"{"+r+"}":""}function hu(e){var t=Bs(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}function gu(e){return function(t){t.root||(t=t.return)&&e(t)}}function yu(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Pi:e.return=Us(e.value,e.length,r);return;case Fs:return qn([ar(e,{value:de(e.value,"@","@"+xe)})],n);case so:if(e.length)return ru(r=e.props,function(o){switch(nr(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Tr(ar(e,{props:[de(o,/:(read-\w+)/,":"+tn+"$1")]})),Tr(ar(e,{props:[o]})),ei(e,{props:xa(r,n)});break;case"::placeholder":Tr(ar(e,{props:[de(o,/:(plac\w+)/,":"+xe+"input-$1")]})),Tr(ar(e,{props:[de(o,/:(plac\w+)/,":"+tn+"$1")]})),Tr(ar(e,{props:[de(o,/:(plac\w+)/,Pe+"input-$1")]})),Tr(ar(e,{props:[o]})),ei(e,{props:xa(r,n)});break}return""})}}var mu={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},$r=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",qs="active",Gs="data-styled-version",fo="6.1.13",Ii=`/*!sc*/
|
|
3
|
+
`,Gn=typeof window<"u"&&"HTMLElement"in window,vu=!!(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"),Sa=/invalid hook call/i,jn=new Set,bu=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(a){for(var
|
|
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 s=[],c=1;c<arguments.length;c++)s[c-1]=arguments[c];Sa.test(a)?(i=!1,jn.delete(n)):o.apply(void 0,Ir([a],s,!1))},y.useRef(),i&&!jn.has(n)&&(console.warn(n),jn.add(n))}catch(a){Sa.test(a.message)&&jn.delete(n)}finally{console.error=o}}},po=Object.freeze([]),Nr=Object.freeze({});function wu(e,t,r){return r===void 0&&(r=Nr),e.theme!==r.theme&&e.theme||t||r.theme}var ni=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"]),xu=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,$u=/(^-|-$)/g;function Ca(e){return e.replace(xu,"-").replace($u,"")}var _u=/(a)(d)/gi,Pn=52,Ea=function(e){return String.fromCharCode(e+(e>25?39:97))};function oi(e){var t,r="";for(t=Math.abs(e);t>Pn;t=t/Pn|0)r=Ea(t%Pn)+r;return(Ea(t%Pn)+r).replace(_u,"$1-$2")}var Wo,Hs=5381,mr=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Ys=function(e){return mr(Hs,e)};function Su(e){return oi(Ys(e)>>>0)}function Qs(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Uo(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Ks=typeof Symbol=="function"&&Symbol.for,Js=Ks?Symbol.for("react.memo"):60115,Cu=Ks?Symbol.for("react.forward_ref"):60112,Eu={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ku={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Xs={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Au=((Wo={})[Cu]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Wo[Js]=Xs,Wo);function ka(e){return("type"in(t=e)&&t.type.$$typeof)===Js?Xs:"$$typeof"in e?Au[e.$$typeof]:Eu;var t}var Tu=Object.defineProperty,Ou=Object.getOwnPropertyNames,Aa=Object.getOwnPropertySymbols,Ru=Object.getOwnPropertyDescriptor,ju=Object.getPrototypeOf,Ta=Object.prototype;function Zs(e,t,r){if(typeof t!="string"){if(Ta){var n=ju(t);n&&n!==Ta&&Zs(e,n,r)}var o=Ou(t);Aa&&(o=o.concat(Aa(t)));for(var i=ka(e),a=ka(t),s=0;s<o.length;++s){var c=o[s];if(!(c in ku||r&&r[c]||a&&c in a||i&&c in i)){var u=Ru(t,c);try{Tu(e,c,u)}catch{}}}}return e}function _r(e){return typeof e=="function"}function Mi(e){return typeof e=="object"&&"styledComponentId"in e}function vr(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Oa(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function Fr(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function ii(e,t,r){if(r===void 0&&(r=!1),!r&&!Fr(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=ii(e[n],t[n]);else if(Fr(t))for(var n in t)e[n]=ii(e[n],t[n]);return e}function Li(e,t){Object.defineProperty(e,"toString",{value:t})}var Pu=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 cu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,i=e.length;o<i;o+=1)n.push(e[o]);return n.forEach(function(a){r=r.replace(/%[a-z]/,a)}),r}function er(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(cu.apply(void 0,Cr([su[e]],t,!1)).trim())}var lu=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,i=o;t>=i;)if((i<<=1)<0)throw er(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var a=o;a<i;a++)this.groupSizes[a]=0}for(var c=this.indexOfGroup(t+1),u=(a=0,r.length);a<u;a++)this.tag.insertRule(c,r[a])&&(this.groupSizes[t]++,c++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var i=n;i<o;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),i=o+n,a=o;a<i;a++)r+="".concat(this.tag.getRule(a)).concat(vi);return r},e}(),uu=1<<30,Pn=new Map,Dn=new Map,In=1,An=function(e){if(Pn.has(e))return Pn.get(e);for(;Dn.has(In);)In++;var t=In++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>uu))throw er(16,"".concat(t));return Pn.set(e,t),Dn.set(t,e),t},du=function(e,t){In=t+1,Pn.set(e,t),Dn.set(t,e)},fu="style[".concat(yr,"][").concat(Ts,'="').concat(Zn,'"]'),pu=new RegExp("^".concat(yr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),hu=function(e,t,r){for(var n,o=r.split(","),i=0,a=o.length;i<a;i++)(n=o[i])&&e.registerName(t,n)},gu=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(vi),o=[],i=0,a=n.length;i<a;i++){var c=n[i].trim();if(c){var u=c.match(pu);if(u){var f=0|parseInt(u[1],10),h=u[2];f!==0&&(du(h,f),hu(e,h,u[3]),e.getTag().insertRules(f,o)),o.length=0}else o.push(c)}}},pa=function(e){for(var t=document.querySelectorAll(fu),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(yr)!==Es&&(gu(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function mu(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Is=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(c){var u=Array.from(c.querySelectorAll("style[".concat(yr,"]")));return u[u.length-1]}(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(yr,Es),n.setAttribute(Ts,Zn);var a=mu();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},yu=function(){function e(t){this.element=Is(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,i=n.length;o<i;o++){var a=n[o];if(a.ownerNode===r)return a}throw er(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),vu=function(){function e(t){this.element=Is(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),bu=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),ha=Ln,wu={isServer:!Ln,useCSSOMInjection:!Gl},Ms=function(){function e(t,r,n){t===void 0&&(t=Rr),r===void 0&&(r={});var o=this;this.options=ut(ut({},wu),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Ln&&ha&&(ha=!1,pa(this)),wi(this,function(){return function(i){for(var a=i.getTag(),c=a.length,u="",f=function(m){var _=function(E){return Dn.get(E)}(m);if(_===void 0)return"continue";var v=i.names.get(_),S=a.getGroup(m);if(v===void 0||!v.size||S.length===0)return"continue";var k="".concat(yr,".g").concat(m,'[id="').concat(_,'"]'),P="";v!==void 0&&v.forEach(function(E){E.length>0&&(P+="".concat(E,","))}),u+="".concat(S).concat(k,'{content:"').concat(P,'"}').concat(vi)},h=0;h<c;h++)f(h);return u}(o)})}return e.registerId=function(t){return An(t)},e.prototype.rehydrate=function(){!this.server&&Ln&&pa(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(ut(ut({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new bu(o):n?new yu(o):new vu(o)}(this.options),new lu(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(An(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(An(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(An(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),_u=/&/g,xu=/^\s*\/\/.*$/gm;function Ls(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Ls(r.children,t)),r})}function $u(e){var t,r,n,o=Rr,i=o.options,a=i===void 0?Rr:i,c=o.plugins,u=c===void 0?eo:c,f=function(_,v,S){return S.startsWith(r)&&S.endsWith(r)&&S.replaceAll(r,"").length>0?".".concat(t):_},h=u.slice();h.push(function(_){_.type===Qn&&_.value.includes("&")&&(_.props[0]=_.props[0].replace(_u,r).replace(n,f))}),a.prefix&&h.push(Ul),h.push(zl);var m=function(_,v,S,k){v===void 0&&(v=""),S===void 0&&(S=""),k===void 0&&(k="&"),t=k,r=v,n=new RegExp("\\".concat(r,"\\b"),"g");var P=_.replace(xu,""),E=Fl(S||v?"".concat(S," ").concat(v," { ").concat(P," }"):P);a.namespace&&(E=Ls(E,a.namespace));var O=[];return Mn(E,Bl(h.concat(Wl(function(R){return O.push(R)})))),O};return m.hash=u.length?u.reduce(function(_,v){return v.name||er(15),fr(_,v.name)},As).toString():"",m}var Su=new Ms,Go=$u(),Ds=b.createContext({shouldForwardProp:void 0,styleSheet:Su,stylis:Go});Ds.Consumer;b.createContext(void 0);function ga(){return b.useContext(Ds)}var ma=function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=Go);var a=n.name+i.hash;o.hasNameForId(n.id,a)||o.insertRules(n.id,a,i(n.rules,a,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,wi(this,function(){throw er(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Go),this.name+t.hash},e}(),Eu=function(e){return e>="A"&&e<="Z"};function ya(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;Eu(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Ns=function(e){return e==null||e===!1||e===""},Fs=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!Ns(i)&&(Array.isArray(i)&&i.isCss||vr(i)?n.push("".concat(ya(o),":"),i,";"):jr(i)?n.push.apply(n,Cr(Cr(["".concat(o," {")],Fs(i),!1),["}"],!1)):n.push("".concat(ya(o),": ").concat((t=o,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in ql||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function gr(e,t,r,n){if(Ns(e))return[];if(bi(e))return[".".concat(e.styledComponentId)];if(vr(e)){if(!vr(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof ma||jr(o)||o===null||console.error("".concat(ks(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),gr(o,t,r,n)}var i;return e instanceof ma?r?(e.inject(r,n),[e.getName(n)]):[e]:jr(e)?Fs(e):Array.isArray(e)?Array.prototype.concat.apply(eo,e.map(function(a){return gr(a,t,r,n)})):[e.toString()]}function Tu(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(vr(r)&&!bi(r))return!1}return!0}var Au=Cs(Zn),Cu=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&Tu(t),this.componentId=r,this.baseHash=fr(Au,r),this.baseStyle=n,Ms.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=pr(o,this.staticRulesId);else{var i=fa(gr(this.rules,t,r,n)),a=Uo(fr(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,a)){var c=n(i,".".concat(a),void 0,this.componentId);r.insertRules(this.componentId,a,c)}o=pr(o,a),this.staticRulesId=a}else{for(var u=fr(this.baseHash,n.hash),f="",h=0;h<this.rules.length;h++){var m=this.rules[h];if(typeof m=="string")f+=m,process.env.NODE_ENV!=="production"&&(u=fr(u,m));else if(m){var _=fa(gr(m,t,r,n));u=fr(u,_+h),f+=_}}if(f){var v=Uo(u>>>0);r.hasNameForId(this.componentId,v)||r.insertRules(this.componentId,v,n(f,".".concat(v),void 0,this.componentId)),o=pr(o,v)}}return o},e}(),Nn=b.createContext(void 0);Nn.Consumer;function ku(e){var t=b.useContext(Nn),r=b.useMemo(function(){return function(n,o){if(!n)throw er(14);if(vr(n)){var i=n(o);if(process.env.NODE_ENV!=="production"&&(i===null||Array.isArray(i)||typeof i!="object"))throw er(7);return i}if(Array.isArray(n)||typeof n!="object")throw er(8);return o?ut(ut({},o),n):n}(e.theme,t)},[e.theme,t]);return e.children?b.createElement(Nn.Provider,{value:r},e.children):null}var Ro={},va=new Set;function Ou(e,t,r){var n=bi(e),o=e,i=!Oo(e),a=t.attrs,c=a===void 0?eo:a,u=t.componentId,f=u===void 0?function(L,D){var F=typeof L!="string"?"sc":sa(L);Ro[F]=(Ro[F]||0)+1;var I="".concat(F,"-").concat(Xl(Zn+F+Ro[F]));return D?"".concat(D,"-").concat(I):I}(t.displayName,t.parentComponentId):u,h=t.displayName,m=h===void 0?function(L){return Oo(L)?"styled.".concat(L):"Styled(".concat(ks(L),")")}(e):h,_=t.displayName&&t.componentId?"".concat(sa(t.displayName),"-").concat(t.componentId):t.componentId||f,v=n&&o.attrs?o.attrs.concat(c).filter(Boolean):c,S=t.shouldForwardProp;if(n&&o.shouldForwardProp){var k=o.shouldForwardProp;if(t.shouldForwardProp){var P=t.shouldForwardProp;S=function(L,D){return k(L,D)&&P(L,D)}}else S=k}var E=new Cu(r,_,n?o.componentStyle:void 0);function O(L,D){return function(F,I,be){var we=F.attrs,he=F.componentStyle,Fe=F.defaultProps,Le=F.foldedComponentIds,_e=F.styledComponentId,K=F.target,Ee=b.useContext(Nn),se=ga(),ce=F.shouldForwardProp||se.shouldForwardProp;process.env.NODE_ENV!=="production"&&b.useDebugValue(_e);var le=Yl(I,Ee,Fe)||Rr,oe=function(tt,qe,Ge){for(var fe,xe=ut(ut({},qe),{className:void 0,theme:Ge}),Te=0;Te<tt.length;Te+=1){var Be=vr(fe=tt[Te])?fe(xe):fe;for(var Pe in Be)xe[Pe]=Pe==="className"?pr(xe[Pe],Be[Pe]):Pe==="style"?ut(ut({},xe[Pe]),Be[Pe]):Be[Pe]}return qe.className&&(xe.className=pr(xe.className,qe.className)),xe}(we,I,le),H=oe.as||K,ue={};for(var me in oe)oe[me]===void 0||me[0]==="$"||me==="as"||me==="theme"&&oe.theme===le||(me==="forwardedAs"?ue.as=oe.forwardedAs:ce&&!ce(me,H)||(ue[me]=oe[me],ce||process.env.NODE_ENV!=="development"||Tl(me)||va.has(me)||!Wo.has(H)||(va.add(me),console.warn('styled-components: it looks like an unknown prop "'.concat(me,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var Y=function(tt,qe){var Ge=ga(),fe=tt.generateAndInjectStyles(qe,Ge.styleSheet,Ge.stylis);return process.env.NODE_ENV!=="production"&&b.useDebugValue(fe),fe}(he,oe);process.env.NODE_ENV!=="production"&&F.warnTooManyClasses&&F.warnTooManyClasses(Y);var at=pr(Le,_e);return Y&&(at+=" "+Y),oe.className&&(at+=" "+oe.className),ue[Oo(H)&&!Wo.has(H)?"class":"className"]=at,ue.ref=be,b.createElement(H,ue)}(R,L,D)}O.displayName=m;var R=b.forwardRef(O);return R.attrs=v,R.componentStyle=E,R.displayName=m,R.shouldForwardProp=S,R.foldedComponentIds=n?pr(o.foldedComponentIds,o.styledComponentId):"",R.styledComponentId=_,R.target=n?o.target:e,Object.defineProperty(R,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(L){this._foldedDefaultProps=n?function(D){for(var F=[],I=1;I<arguments.length;I++)F[I-1]=arguments[I];for(var be=0,we=F;be<we.length;be++)qo(D,we[be],!0);return D}({},o.defaultProps,L):L}}),process.env.NODE_ENV!=="production"&&(Hl(m,_),R.warnTooManyClasses=function(L,D){var F={},I=!1;return function(be){if(!I&&(F[be]=!0,Object.keys(F).length>=200)){var we=D?' with the id of "'.concat(D,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(L).concat(we,`.
|
|
46
|
+
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Du(){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 or(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(Du.apply(void 0,Ir([Pu[e]],t,!1)).trim())}var Iu=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 or(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 s=this.indexOfGroup(t+1),c=(a=0,r.length);a<c;a++)this.tag.insertRule(s,r[a])&&(this.groupSizes[t]++,s++)},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(Ii);return r},e}(),Mu=1<<30,Vn=new Map,Hn=new Map,zn=1,Dn=function(e){if(Vn.has(e))return Vn.get(e);for(;Hn.has(zn);)zn++;var t=zn++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>Mu))throw or(16,"".concat(t));return Vn.set(e,t),Hn.set(t,e),t},Lu=function(e,t){zn=t+1,Vn.set(e,t),Hn.set(t,e)},Nu="style[".concat($r,"][").concat(Gs,'="').concat(fo,'"]'),Fu=new RegExp("^".concat($r,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Vu=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)},zu=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(Ii),o=[],i=0,a=n.length;i<a;i++){var s=n[i].trim();if(s){var c=s.match(Fu);if(c){var u=0|parseInt(c[1],10),f=c[2];u!==0&&(Lu(f,u),Vu(e,f,c[3]),e.getTag().insertRules(u,o)),o.length=0}else o.push(s)}}},Ra=function(e){for(var t=document.querySelectorAll(Nu),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute($r)!==qs&&(zu(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function Bu(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var ec=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(s){var c=Array.from(s.querySelectorAll("style[".concat($r,"]")));return c[c.length-1]}(r),i=o!==void 0?o.nextSibling:null;n.setAttribute($r,qs),n.setAttribute(Gs,fo);var a=Bu();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},Wu=function(){function e(t){this.element=ec(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 or(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}(),Uu=function(){function e(t){this.element=ec(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}(),qu=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}(),ja=Gn,Gu={isServer:!Gn,useCSSOMInjection:!vu},tc=function(){function e(t,r,n){t===void 0&&(t=Nr),r===void 0&&(r={});var o=this;this.options=pt(pt({},Gu),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Gn&&ja&&(ja=!1,Ra(this)),Li(this,function(){return function(i){for(var a=i.getTag(),s=a.length,c="",u=function(g){var m=function($){return Hn.get($)}(g);if(m===void 0)return"continue";var v=i.names.get(m),w=a.getGroup(g);if(v===void 0||!v.size||w.length===0)return"continue";var S="".concat($r,".g").concat(g,'[id="').concat(m,'"]'),T="";v!==void 0&&v.forEach(function($){$.length>0&&(T+="".concat($,","))}),c+="".concat(w).concat(S,'{content:"').concat(T,'"}').concat(Ii)},f=0;f<s;f++)u(f);return c}(o)})}return e.registerId=function(t){return Dn(t)},e.prototype.rehydrate=function(){!this.server&&Gn&&Ra(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(pt(pt({},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 qu(o):n?new Wu(o):new Uu(o)}(this.options),new Iu(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(Dn(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(Dn(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Dn(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Hu=/&/g,Yu=/^\s*\/\/.*$/gm;function rc(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=rc(r.children,t)),r})}function Qu(e){var t,r,n,o=Nr,i=o.options,a=i===void 0?Nr:i,s=o.plugins,c=s===void 0?po:s,u=function(m,v,w){return w.startsWith(r)&&w.endsWith(r)&&w.replaceAll(r,"").length>0?".".concat(t):m},f=c.slice();f.push(function(m){m.type===so&&m.value.includes("&")&&(m.props[0]=m.props[0].replace(Hu,r).replace(n,u))}),a.prefix&&f.push(yu),f.push(pu);var g=function(m,v,w,S){v===void 0&&(v=""),w===void 0&&(w=""),S===void 0&&(S="&"),t=S,r=v,n=new RegExp("\\".concat(r,"\\b"),"g");var T=m.replace(Yu,""),$=du(w||v?"".concat(w," ").concat(v," { ").concat(T," }"):T);a.namespace&&($=rc($,a.namespace));var C=[];return qn($,hu(f.concat(gu(function(P){return C.push(P)})))),C};return g.hash=c.length?c.reduce(function(m,v){return v.name||or(15),mr(m,v.name)},Hs).toString():"",g}var Ku=new tc,ai=Qu(),nc=y.createContext({shouldForwardProp:void 0,styleSheet:Ku,stylis:ai});nc.Consumer;y.createContext(void 0);function Pa(){return y.useContext(nc)}var Da=function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=ai);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,Li(this,function(){throw or(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=ai),this.name+t.hash},e}(),Ju=function(e){return e>="A"&&e<="Z"};function Ia(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;Ju(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var oc=function(e){return e==null||e===!1||e===""},ic=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!oc(i)&&(Array.isArray(i)&&i.isCss||_r(i)?n.push("".concat(Ia(o),":"),i,";"):Fr(i)?n.push.apply(n,Ir(Ir(["".concat(o," {")],ic(i),!1),["}"],!1)):n.push("".concat(Ia(o),": ").concat((t=o,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in mu||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function wr(e,t,r,n){if(oc(e))return[];if(Mi(e))return[".".concat(e.styledComponentId)];if(_r(e)){if(!_r(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 Da||Fr(o)||o===null||console.error("".concat(Qs(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.")),wr(o,t,r,n)}var i;return e instanceof Da?r?(e.inject(r,n),[e.getName(n)]):[e]:Fr(e)?ic(e):Array.isArray(e)?Array.prototype.concat.apply(po,e.map(function(a){return wr(a,t,r,n)})):[e.toString()]}function Xu(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(_r(r)&&!Mi(r))return!1}return!0}var Zu=Ys(fo),ed=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&Xu(t),this.componentId=r,this.baseHash=mr(Zu,r),this.baseStyle=n,tc.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=vr(o,this.staticRulesId);else{var i=Oa(wr(this.rules,t,r,n)),a=oi(mr(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,a)){var s=n(i,".".concat(a),void 0,this.componentId);r.insertRules(this.componentId,a,s)}o=vr(o,a),this.staticRulesId=a}else{for(var c=mr(this.baseHash,n.hash),u="",f=0;f<this.rules.length;f++){var g=this.rules[f];if(typeof g=="string")u+=g,process.env.NODE_ENV!=="production"&&(c=mr(c,g));else if(g){var m=Oa(wr(g,t,r,n));c=mr(c,m+f),u+=m}}if(u){var v=oi(c>>>0);r.hasNameForId(this.componentId,v)||r.insertRules(this.componentId,v,n(u,".".concat(v),void 0,this.componentId)),o=vr(o,v)}}return o},e}(),Yn=y.createContext(void 0);Yn.Consumer;function td(e){var t=y.useContext(Yn),r=y.useMemo(function(){return function(n,o){if(!n)throw or(14);if(_r(n)){var i=n(o);if(process.env.NODE_ENV!=="production"&&(i===null||Array.isArray(i)||typeof i!="object"))throw or(7);return i}if(Array.isArray(n)||typeof n!="object")throw or(8);return o?pt(pt({},o),n):n}(e.theme,t)},[e.theme,t]);return e.children?y.createElement(Yn.Provider,{value:r},e.children):null}var qo={},Ma=new Set;function rd(e,t,r){var n=Mi(e),o=e,i=!Uo(e),a=t.attrs,s=a===void 0?po:a,c=t.componentId,u=c===void 0?function(I,M){var E=typeof I!="string"?"sc":Ca(I);qo[E]=(qo[E]||0)+1;var R="".concat(E,"-").concat(Su(fo+E+qo[E]));return M?"".concat(M,"-").concat(R):R}(t.displayName,t.parentComponentId):c,f=t.displayName,g=f===void 0?function(I){return Uo(I)?"styled.".concat(I):"Styled(".concat(Qs(I),")")}(e):f,m=t.displayName&&t.componentId?"".concat(Ca(t.displayName),"-").concat(t.componentId):t.componentId||u,v=n&&o.attrs?o.attrs.concat(s).filter(Boolean):s,w=t.shouldForwardProp;if(n&&o.shouldForwardProp){var S=o.shouldForwardProp;if(t.shouldForwardProp){var T=t.shouldForwardProp;w=function(I,M){return S(I,M)&&T(I,M)}}else w=S}var $=new ed(r,m,n?o.componentStyle:void 0);function C(I,M){return function(E,R,F){var G=E.attrs,K=E.componentStyle,pe=E.defaultProps,ve=E.foldedComponentIds,se=E.styledComponentId,N=E.target,J=y.useContext(Yn),z=Pa(),re=E.shouldForwardProp||z.shouldForwardProp;process.env.NODE_ENV!=="production"&&y.useDebugValue(se);var B=wu(R,J,pe)||Nr,ie=function(tt,qe,Ge){for(var be,Ce=pt(pt({},qe),{className:void 0,theme:Ge}),Ae=0;Ae<tt.length;Ae+=1){var Be=_r(be=tt[Ae])?be(Ce):be;for(var Ie in Be)Ce[Ie]=Ie==="className"?vr(Ce[Ie],Be[Ie]):Ie==="style"?pt(pt({},Ce[Ie]),Be[Ie]):Be[Ie]}return qe.className&&(Ce.className=vr(Ce.className,qe.className)),Ce}(G,R,B),H=ie.as||N,ye={};for(var $e in ie)ie[$e]===void 0||$e[0]==="$"||$e==="as"||$e==="theme"&&ie.theme===B||($e==="forwardedAs"?ye.as=ie.forwardedAs:re&&!re($e,H)||(ye[$e]=ie[$e],re||process.env.NODE_ENV!=="development"||Xl($e)||Ma.has($e)||!ni.has(H)||(Ma.add($e),console.warn('styled-components: it looks like an unknown prop "'.concat($e,'" 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 ne=function(tt,qe){var Ge=Pa(),be=tt.generateAndInjectStyles(qe,Ge.styleSheet,Ge.stylis);return process.env.NODE_ENV!=="production"&&y.useDebugValue(be),be}(K,ie);process.env.NODE_ENV!=="production"&&E.warnTooManyClasses&&E.warnTooManyClasses(ne);var st=vr(ve,se);return ne&&(st+=" "+ne),ie.className&&(st+=" "+ie.className),ye[Uo(H)&&!ni.has(H)?"class":"className"]=st,ye.ref=F,y.createElement(H,ye)}(P,I,M)}C.displayName=g;var P=y.forwardRef(C);return P.attrs=v,P.componentStyle=$,P.displayName=g,P.shouldForwardProp=w,P.foldedComponentIds=n?vr(o.foldedComponentIds,o.styledComponentId):"",P.styledComponentId=m,P.target=n?o.target:e,Object.defineProperty(P,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(I){this._foldedDefaultProps=n?function(M){for(var E=[],R=1;R<arguments.length;R++)E[R-1]=arguments[R];for(var F=0,G=E;F<G.length;F++)ii(M,G[F],!0);return M}({},o.defaultProps,I):I}}),process.env.NODE_ENV!=="production"&&(bu(g,m),P.warnTooManyClasses=function(I,M){var E={},R=!1;return function(F){if(!R&&(E[F]=!0,Object.keys(E).length>=200)){var G=M?' with the id of "'.concat(M,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(I).concat(G,`.
|
|
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 />`),R=!0,E={}}}}(g,m)),Li(P,function(){return".".concat(P.styledComponentId)}),i&&Zs(P,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),P}function La(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 Na=function(e){return Object.assign(e,{isCss:!0})};function nd(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(_r(e)||Fr(e))return Na(wr(La(po,Ir([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?wr(n):Na(wr(La(n,t)))}function si(e,t,r){if(r===void 0&&(r=Nr),!t)throw or(1,t);var n=function(o){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return e(t,r,nd.apply(void 0,Ir([o],i,!1)))};return n.attrs=function(o){return si(e,t,pt(pt({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return si(e,t,pt(pt({},r),o))},n}var ac=function(e){return si(rd,e)},te=ac;ni.forEach(function(e){te[e]=ac(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 In="__sc-".concat($r,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[In]||(window[In]=0),window[In]===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[In]+=1);var ci={exports:{}},Jr={};/**
|
|
60
60
|
* @license React
|
|
61
61
|
* react-jsx-runtime.production.min.js
|
|
62
62
|
*
|
|
@@ -64,7 +64,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Cn]+=1);var Yo={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 Fa;function od(){if(Fa)return Jr;Fa=1;var e=y,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(s,c,u){var f,g={},m=null,v=null;u!==void 0&&(m=""+u),c.key!==void 0&&(m=""+c.key),c.ref!==void 0&&(v=c.ref);for(f in c)n.call(c,f)&&!i.hasOwnProperty(f)&&(g[f]=c[f]);if(s&&s.defaultProps)for(f in c=s.defaultProps,c)g[f]===void 0&&(g[f]=c[f]);return{$$typeof:t,type:s,key:m,ref:v,props:g,_owner:o.current}}return Jr.Fragment=r,Jr.jsx=a,Jr.jsxs=a,Jr}var Xr={};/**
|
|
68
68
|
* @license React
|
|
69
69
|
* react-jsx-runtime.development.js
|
|
70
70
|
*
|
|
@@ -72,67 +72,67 @@ See https://s-c.sh/2BAXzed for more info.`),window[Cn]+=1);var Yo={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
|
-
`),
|
|
78
|
-
`),
|
|
79
|
-
`+
|
|
75
|
+
*/var Va;function id(){return Va||(Va=1,process.env.NODE_ENV!=="production"&&function(){var e=y,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"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),w=Symbol.iterator,S="@@iterator";function T(p){if(p===null||typeof p!="object")return null;var k=w&&p[w]||p[S];return typeof k=="function"?k:null}var $=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function C(p){{for(var k=arguments.length,D=new Array(k>1?k-1:0),q=1;q<k;q++)D[q-1]=arguments[q];P("error",p,D)}}function P(p,k,D){{var q=$.ReactDebugCurrentFrame,ge=q.getStackAddendum();ge!==""&&(k+="%s",D=D.concat([ge]));var fe=D.map(function(ce){return String(ce)});fe.unshift("Warning: "+k),Function.prototype.apply.call(console[p],console,fe)}}var I=!1,M=!1,E=!1,R=!1,F=!1,G;G=Symbol.for("react.module.reference");function K(p){return!!(typeof p=="string"||typeof p=="function"||p===n||p===i||F||p===o||p===u||p===f||R||p===v||I||M||E||typeof p=="object"&&p!==null&&(p.$$typeof===m||p.$$typeof===g||p.$$typeof===a||p.$$typeof===s||p.$$typeof===c||p.$$typeof===G||p.getModuleId!==void 0))}function pe(p,k,D){var q=p.displayName;if(q)return q;var ge=k.displayName||k.name||"";return ge!==""?D+"("+ge+")":D}function ve(p){return p.displayName||"Context"}function se(p){if(p==null)return null;if(typeof p.tag=="number"&&C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof p=="function")return p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case f:return"SuspenseList"}if(typeof p=="object")switch(p.$$typeof){case s:var k=p;return ve(k)+".Consumer";case a:var D=p;return ve(D._context)+".Provider";case c:return pe(p,p.render,"ForwardRef");case g:var q=p.displayName||null;return q!==null?q:se(p.type)||"Memo";case m:{var ge=p,fe=ge._payload,ce=ge._init;try{return se(ce(fe))}catch{return null}}}return null}var N=Object.assign,J=0,z,re,B,ie,H,ye,$e;function ne(){}ne.__reactDisabledLog=!0;function st(){{if(J===0){z=console.log,re=console.info,B=console.warn,ie=console.error,H=console.group,ye=console.groupCollapsed,$e=console.groupEnd;var p={configurable:!0,enumerable:!0,value:ne,writable:!0};Object.defineProperties(console,{info:p,log:p,warn:p,error:p,group:p,groupCollapsed:p,groupEnd:p})}J++}}function tt(){{if(J--,J===0){var p={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:N({},p,{value:z}),info:N({},p,{value:re}),warn:N({},p,{value:B}),error:N({},p,{value:ie}),group:N({},p,{value:H}),groupCollapsed:N({},p,{value:ye}),groupEnd:N({},p,{value:$e})})}J<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var qe=$.ReactCurrentDispatcher,Ge;function be(p,k,D){{if(Ge===void 0)try{throw Error()}catch(ge){var q=ge.stack.trim().match(/\n( *(at )?)/);Ge=q&&q[1]||""}return`
|
|
76
|
+
`+Ge+p}}var Ce=!1,Ae;{var Be=typeof WeakMap=="function"?WeakMap:Map;Ae=new Be}function Ie(p,k){if(!p||Ce)return"";{var D=Ae.get(p);if(D!==void 0)return D}var q;Ce=!0;var ge=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var fe;fe=qe.current,qe.current=null,st();try{if(k){var ce=function(){throw Error()};if(Object.defineProperty(ce.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ce,[])}catch(ot){q=ot}Reflect.construct(p,[],ce)}else{try{ce.call()}catch(ot){q=ot}p.call(ce.prototype)}}else{try{throw Error()}catch(ot){q=ot}p()}}catch(ot){if(ot&&q&&typeof ot.stack=="string"){for(var ae=ot.stack.split(`
|
|
77
|
+
`),Fe=q.stack.split(`
|
|
78
|
+
`),Q=ae.length-1,me=Fe.length-1;Q>=1&&me>=0&&ae[Q]!==Fe[me];)me--;for(;Q>=1&&me>=0;Q--,me--)if(ae[Q]!==Fe[me]){if(Q!==1||me!==1)do if(Q--,me--,me<0||ae[Q]!==Fe[me]){var je=`
|
|
79
|
+
`+ae[Q].replace(" at new "," at ");return p.displayName&&je.includes("<anonymous>")&&(je=je.replace("<anonymous>",p.displayName)),typeof p=="function"&&Ae.set(p,je),je}while(Q>=1&&me>=0);break}}}finally{Ce=!1,qe.current=fe,tt(),Error.prepareStackTrace=ge}var Ze=p?p.displayName||p.name:"",er=Ze?be(Ze):"";return typeof p=="function"&&Ae.set(p,er),er}function gt(p,k,D){return Ie(p,!1)}function It(p){var k=p.prototype;return!!(k&&k.isReactComponent)}function Te(p,k,D){if(p==null)return"";if(typeof p=="function")return Ie(p,It(p));if(typeof p=="string")return be(p);switch(p){case u:return be("Suspense");case f:return be("SuspenseList")}if(typeof p=="object")switch(p.$$typeof){case c:return gt(p.render);case g:return Te(p.type,k,D);case m:{var q=p,ge=q._payload,fe=q._init;try{return Te(fe(ge),k,D)}catch{}}}return""}var yt=Object.prototype.hasOwnProperty,Ke={},mt=$.ReactDebugCurrentFrame;function we(p){if(p){var k=p._owner,D=Te(p.type,p._source,k?k.type:null);mt.setExtraStackFrame(D)}else mt.setExtraStackFrame(null)}function vt(p,k,D,q,ge){{var fe=Function.call.bind(yt);for(var ce in p)if(fe(p,ce)){var ae=void 0;try{if(typeof p[ce]!="function"){var Fe=Error((q||"React class")+": "+D+" type `"+ce+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof p[ce]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Fe.name="Invariant Violation",Fe}ae=p[ce](k,ce,q,D,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Q){ae=Q}ae&&!(ae instanceof Error)&&(we(ge),C("%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).",q||"React class",D,ce,typeof ae),we(null)),ae instanceof Error&&!(ae.message in Ke)&&(Ke[ae.message]=!0,we(ge),C("Failed %s type: %s",D,ae.message),we(null))}}}var bt=Array.isArray;function wt(p){return bt(p)}function jt(p){{var k=typeof Symbol=="function"&&Symbol.toStringTag,D=k&&p[Symbol.toStringTag]||p.constructor.name||"Object";return D}}function rt(p){try{return ct(p),!1}catch{return!0}}function ct(p){return""+p}function xt(p){if(rt(p))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",jt(p)),ct(p)}var Je=$.ReactCurrentOwner,Et={key:!0,ref:!0,__self:!0,__source:!0},kt,Mt,He;He={};function Lt(p){if(yt.call(p,"ref")){var k=Object.getOwnPropertyDescriptor(p,"ref").get;if(k&&k.isReactWarning)return!1}return p.ref!==void 0}function nt(p){if(yt.call(p,"key")){var k=Object.getOwnPropertyDescriptor(p,"key").get;if(k&&k.isReactWarning)return!1}return p.key!==void 0}function Ee(p,k){if(typeof p.ref=="string"&&Je.current&&k&&Je.current.stateNode!==k){var D=se(Je.current.type);He[D]||(C('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',se(Je.current.type),p.ref),He[D]=!0)}}function Wt(p,k){{var D=function(){kt||(kt=!0,C("%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)",k))};D.isReactWarning=!0,Object.defineProperty(p,"key",{get:D,configurable:!0})}}function Ut(p,k){{var D=function(){Mt||(Mt=!0,C("%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)",k))};D.isReactWarning=!0,Object.defineProperty(p,"ref",{get:D,configurable:!0})}}var $t=function(p,k,D,q,ge,fe,ce){var ae={$$typeof:t,type:p,key:k,ref:D,props:ce,_owner:fe};return ae._store={},Object.defineProperty(ae._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ae,"_self",{configurable:!1,enumerable:!1,writable:!1,value:q}),Object.defineProperty(ae,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ge}),Object.freeze&&(Object.freeze(ae.props),Object.freeze(ae)),ae};function _t(p,k,D,q,ge){{var fe,ce={},ae=null,Fe=null;D!==void 0&&(xt(D),ae=""+D),nt(k)&&(xt(k.key),ae=""+k.key),Lt(k)&&(Fe=k.ref,Ee(k,ge));for(fe in k)yt.call(k,fe)&&!Et.hasOwnProperty(fe)&&(ce[fe]=k[fe]);if(p&&p.defaultProps){var Q=p.defaultProps;for(fe in Q)ce[fe]===void 0&&(ce[fe]=Q[fe])}if(ae||Fe){var me=typeof p=="function"?p.displayName||p.name||"Unknown":p;ae&&Wt(ce,me),Fe&&Ut(ce,me)}return $t(p,ae,Fe,ge,q,Je.current,ce)}}var Ye=$.ReactCurrentOwner,lt=$.ReactDebugCurrentFrame;function We(p){if(p){var k=p._owner,D=Te(p.type,p._source,k?k.type:null);lt.setExtraStackFrame(D)}else lt.setExtraStackFrame(null)}var Qe;Qe=!1;function At(p){return typeof p=="object"&&p!==null&&p.$$typeof===t}function ke(){{if(Ye.current){var p=se(Ye.current.type);if(p)return`
|
|
80
80
|
|
|
81
|
-
Check the render method of \``+
|
|
81
|
+
Check the render method of \``+p+"`."}return""}}function Xe(p){return""}var U={};function ue(p){{var k=ke();if(!k){var D=typeof p=="string"?p:p.displayName||p.name;D&&(k=`
|
|
82
82
|
|
|
83
|
-
Check the top-level render call using <`+
|
|
83
|
+
Check the top-level render call using <`+D+">.")}return k}}function Me(p,k){{if(!p._store||p._store.validated||p.key!=null)return;p._store.validated=!0;var D=ue(k);if(U[D])return;U[D]=!0;var q="";p&&p._owner&&p._owner!==Ye.current&&(q=" It was passed a child from "+se(p._owner.type)+"."),We(p),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',D,q),We(null)}}function St(p,k){{if(typeof p!="object")return;if(wt(p))for(var D=0;D<p.length;D++){var q=p[D];At(q)&&Me(q,k)}else if(At(p))p._store&&(p._store.validated=!0);else if(p){var ge=T(p);if(typeof ge=="function"&&ge!==p.entries)for(var fe=ge.call(p),ce;!(ce=fe.next()).done;)At(ce.value)&&Me(ce.value,k)}}}function L(p){{var k=p.type;if(k==null||typeof k=="string")return;var D;if(typeof k=="function")D=k.propTypes;else if(typeof k=="object"&&(k.$$typeof===c||k.$$typeof===g))D=k.propTypes;else return;if(D){var q=se(k);vt(D,p.props,"prop",q,p)}else if(k.PropTypes!==void 0&&!Qe){Qe=!0;var ge=se(k);C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ge||"Unknown")}typeof k.getDefaultProps=="function"&&!k.getDefaultProps.isReactClassApproved&&C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Y(p){{for(var k=Object.keys(p.props),D=0;D<k.length;D++){var q=k[D];if(q!=="children"&&q!=="key"){We(p),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",q),We(null);break}}p.ref!==null&&(We(p),C("Invalid attribute `ref` supplied to `React.Fragment`."),We(null))}}function X(p,k,D,q,ge,fe){{var ce=K(p);if(!ce){var ae="";(p===void 0||typeof p=="object"&&p!==null&&Object.keys(p).length===0)&&(ae+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Fe=Xe();Fe?ae+=Fe:ae+=ke();var Q;p===null?Q="null":wt(p)?Q="array":p!==void 0&&p.$$typeof===t?(Q="<"+(se(p.type)||"Unknown")+" />",ae=" Did you accidentally export a JSX literal instead of a component?"):Q=typeof p,C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Q,ae)}var me=_t(p,k,D,ge,fe);if(me==null)return me;if(ce){var je=k.children;if(je!==void 0)if(q)if(wt(je)){for(var Ze=0;Ze<je.length;Ze++)St(je[Ze],p);Object.freeze&&Object.freeze(je)}else C("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 St(je,p)}return p===n?Y(me):L(me),me}}function Oe(p,k,D){return X(p,k,D,!0)}function Ne(p,k,D){return X(p,k,D,!1)}var ut=Ne,Re=Oe;Xr.Fragment=n,Xr.jsx=ut,Xr.jsxs=Re}()),Xr}process.env.NODE_ENV==="production"?ci.exports=od():ci.exports=id();var _=ci.exports;const ad={25:"#fcfcfd",50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#2f394b",800:"#212a36",900:"#161b25"},sd={25:"#fef2f3",50:"#fddfe2",100:"#fbbac0",200:"#f9959e",300:"#f65e6a",400:"#f32637",500:"#bf0b1a",600:"#ac0a17",700:"#9a0915",800:"#870812",900:"#750710"},cd={25:"",50:"",100:"#ffe6ff",200:"",300:"#b8075d",400:"",500:"#7f0540",600:"",700:"#59042d",800:"",900:"#460323"},ld={25:"",50:"#fef3f2",100:"",200:"#fecdca",300:"",400:"",500:"#f04438",600:"",700:"#b42318",800:"",900:""},ud={25:"",50:"#fffaeb",100:"",200:"#fef0c7",300:"",400:"#ffd562",500:"#fdb022",600:"#dc6803",700:"#b54708",800:"",900:""},dd={25:"",50:"#f6fef9",100:"",200:"#a6f4c5",300:"",400:"",500:"#12b76a",600:"",700:"#027a48",800:"",900:""},fd={25:"",50:"#eff8ff",100:"",200:"#b2ddff",300:"",400:"",500:"#2e90fa",600:"",700:"#175cd3",800:"",900:""},pd={"01":"linear-gradient(45deg, #f32637 0%, #b8075d 100%)","02":"linear-gradient(45deg, #fcfcfd 0%, #667085 100%)"},hd={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"}},gd={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)"},yd={mobile:"480px",tablet:"960px",sm:"1024px",md:"1440px",lg:"1920px"},md={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"},vd=["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"],bd=[["fal","arrow-down"],["fal","arrow-left"],["fal","arrow-right"],["fal","arrow-up"],["fal","plus"],["fal","minus"],["fas","check"],["fas","circle-question"]],j={typography:hd,shadows:gd,breakpoints:yd,spacing:md,palette:{primary:sd,complementary:cd,error:ld,info:fd,warning:ud,success:dd,black:"#0c111d",white:"#ffffff",gray:ad,gradients:pd}},wd=({children:e})=>_.jsx(td,{theme:j,children:e}),ee=(e,t)=>t===void 0?"":`${e}: ${t};`,sn=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,s,c]=e.padding;return`padding: ${j.spacing[i]} ${j.spacing[a]} ${j.spacing[s]} ${j.spacing[c]};`}return`padding: ${j.spacing[t]} ${j.spacing[r]} ${j.spacing[n]} ${j.spacing[o]};`},cn=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,s,c]=e.margin;return`margin: ${j.spacing[i]} ${j.spacing[a]} ${j.spacing[s]} ${j.spacing[c]};`}return`margin: ${j.spacing[t]} ${j.spacing[r]} ${j.spacing[n]} ${j.spacing[o]};`},ln=e=>{const t=ee("position",e.position),r=ee("top",e.top),n=ee("right",e.right),o=ee("bottom",e.bottom),i=ee("left",e.left),a=ee("z-index",e.zIndex);return`
|
|
84
84
|
${t}
|
|
85
85
|
${r}
|
|
86
86
|
${n}
|
|
87
87
|
${o}
|
|
88
88
|
${i}
|
|
89
89
|
${a}
|
|
90
|
-
`},
|
|
90
|
+
`},un=e=>{const t=ee("border",e.border),r=ee("border-top",e.borderTop),n=ee("border-right",e.borderRight),o=ee("border-bottom",e.borderBottom),i=ee("border-left",e.borderLeft),a=ee("border-color",e.borderColor),s=ee("border-radius",e.borderRadius);return`
|
|
91
91
|
${t}
|
|
92
92
|
${r}
|
|
93
93
|
${n}
|
|
94
94
|
${o}
|
|
95
95
|
${i}
|
|
96
96
|
${a}
|
|
97
|
-
${
|
|
98
|
-
`},
|
|
99
|
-
${
|
|
100
|
-
${
|
|
101
|
-
`:"",r=
|
|
97
|
+
${s}
|
|
98
|
+
`},xd=e=>e.includes("x")?"overflow-x: auto;":"",$d=e=>e.includes("y")?"overflow-y: auto;":"",dn=e=>{const t=e.scroll?`
|
|
99
|
+
${xd(e.scroll)}
|
|
100
|
+
${$d(e.scroll)}
|
|
101
|
+
`:"",r=ee("visibility",e.visibility),n=ee("display",e.display),o=ee("height",e.height),i=ee("width",e.width),a=ee("max-height",e.maxHeight),s=ee("max-width",e.maxWidth),c=ee("min-height",e.minHeight),u=ee("min-width",e.minWidth),f=ee("box-shadow",e.shadow?j.shadows[e.shadow]:void 0),g=ee("gap",e.gap===void 0?void 0:j.spacing[e.gap]),m=ee("background-color",e.bgColor),v=ee("background",e.bgGradient),w=ee("flex-direction",e.flexDirection),S=ee("flex-grow",e.flexGrow),T=ee("justify-content",e.justify),$=ee("justify-self",e.justifySelf),C=ee("align-items",e.alignItems),P=ee("align-self",e.alignSelf),I=ee("flex-wrap",e.wrap);return`
|
|
102
102
|
${t}
|
|
103
103
|
${r}
|
|
104
104
|
${n}
|
|
105
105
|
${o}
|
|
106
106
|
${i}
|
|
107
107
|
${a}
|
|
108
|
+
${s}
|
|
108
109
|
${c}
|
|
109
110
|
${u}
|
|
110
111
|
${f}
|
|
111
|
-
${h}
|
|
112
|
-
${_}
|
|
113
|
-
${v}
|
|
114
112
|
${m}
|
|
113
|
+
${v}
|
|
114
|
+
${g}
|
|
115
|
+
${w}
|
|
115
116
|
${S}
|
|
116
|
-
${
|
|
117
|
+
${T}
|
|
118
|
+
${$}
|
|
119
|
+
${C}
|
|
117
120
|
${P}
|
|
118
|
-
${
|
|
119
|
-
|
|
120
|
-
${R}
|
|
121
|
-
${L}
|
|
122
|
-
`},on=e=>{const t=G("color",e.color),r=G("font-family",e.fontFamily),n=G("font-size",e.fontSize),o=G("font-weight",e.fontWeight),i=G("line-spacing",e.letterSpacing),a=G("line-height",e.lineSpacing),c=G("text-align",e.textAlign),u=G("text-decoration",e.textDecoration),f=G("text-overflow",e.textOverflow),h=G("white-space",e.whiteSpace),m=G("word-break",e.wordBreak),_=G("word-wrap",e.wordWrap);return`
|
|
121
|
+
${I}
|
|
122
|
+
`},fn=e=>{const t=ee("color",e.color),r=ee("font-family",e.fontFamily),n=ee("font-size",e.fontSize),o=ee("font-weight",e.fontWeight),i=ee("line-spacing",e.letterSpacing),a=ee("line-height",e.lineSpacing),s=ee("text-align",e.textAlign),c=ee("text-decoration",e.textDecoration),u=ee("text-overflow",e.textOverflow),f=ee("white-space",e.whiteSpace),g=ee("word-break",e.wordBreak),m=ee("word-wrap",e.wordWrap);return`
|
|
123
123
|
${t}
|
|
124
124
|
${r}
|
|
125
125
|
${n}
|
|
126
126
|
${o}
|
|
127
127
|
${i}
|
|
128
128
|
${a}
|
|
129
|
+
${s}
|
|
129
130
|
${c}
|
|
130
131
|
${u}
|
|
131
132
|
${f}
|
|
132
|
-
${
|
|
133
|
+
${g}
|
|
133
134
|
${m}
|
|
134
|
-
|
|
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`
|
|
135
|
+
`},pn=e=>{const t=ee("cursor",e.cursor),r=ee("border-color",e.borderColorHover),n=ee("background-color",e.bgColorHover),o=ee("box-shadow",e.shadowHover===void 0?void 0:j.shadows[e.shadowHover]),i=ee("transition",e.transition);return`
|
|
136
136
|
${t}
|
|
137
137
|
|
|
138
138
|
&:hover {
|
|
@@ -141,120 +141,131 @@ Check the top-level render call using <`+A+">.")}return w}}function Ie(d,w){{if(
|
|
|
141
141
|
${n}
|
|
142
142
|
${o}
|
|
143
143
|
}
|
|
144
|
-
`},
|
|
145
|
-
${
|
|
146
|
-
${
|
|
147
|
-
${
|
|
148
|
-
${
|
|
149
|
-
${
|
|
150
|
-
${
|
|
151
|
-
${
|
|
152
|
-
`,
|
|
153
|
-
${
|
|
154
|
-
${
|
|
155
|
-
${
|
|
156
|
-
${
|
|
157
|
-
${
|
|
158
|
-
${
|
|
159
|
-
${
|
|
160
|
-
`,
|
|
161
|
-
${
|
|
162
|
-
${
|
|
163
|
-
${
|
|
164
|
-
${
|
|
165
|
-
${
|
|
166
|
-
${
|
|
167
|
-
${
|
|
168
|
-
`,
|
|
169
|
-
${
|
|
170
|
-
${
|
|
171
|
-
${
|
|
172
|
-
${
|
|
173
|
-
${
|
|
174
|
-
${
|
|
175
|
-
${
|
|
176
|
-
`,
|
|
177
|
-
${({
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
144
|
+
`},hn=()=>({shouldForwardProp:e=>!Ms.includes(e)}),gn=te.div.withConfig(hn())`
|
|
145
|
+
${sn}
|
|
146
|
+
${cn}
|
|
147
|
+
${ln}
|
|
148
|
+
${dn}
|
|
149
|
+
${fn}
|
|
150
|
+
${un}
|
|
151
|
+
${pn}
|
|
152
|
+
`,sc=te.button.withConfig(hn())`
|
|
153
|
+
${sn}
|
|
154
|
+
${cn}
|
|
155
|
+
${ln}
|
|
156
|
+
${dn}
|
|
157
|
+
${fn}
|
|
158
|
+
${un}
|
|
159
|
+
${pn}
|
|
160
|
+
`,Ni=te.p.withConfig(hn())`
|
|
161
|
+
${sn}
|
|
162
|
+
${cn}
|
|
163
|
+
${ln}
|
|
164
|
+
${dn}
|
|
165
|
+
${fn}
|
|
166
|
+
${un}
|
|
167
|
+
${pn}
|
|
168
|
+
`,cc=te.span.withConfig(hn())`
|
|
169
|
+
${sn}
|
|
170
|
+
${cn}
|
|
171
|
+
${ln}
|
|
172
|
+
${dn}
|
|
173
|
+
${fn}
|
|
174
|
+
${un}
|
|
175
|
+
${pn}
|
|
176
|
+
`,_d=(e,t,r,n)=>n==="platform"?t||e===r-1?"1px solid":void 0:e===r-1?"1px solid":void 0,Sd=(e,t)=>t==="progress"&&e?void 0:"1px solid",Cd=(e,t)=>t==="simple"?e?"minus":"plus":e?"chevron-up":"chevron-down",Ed=e=>e?"block":"none",kd=(e,t,r)=>{r(e===t?n=>!n:!0)},Ad=e=>e==="platform"?[.75,.75,.75,.75]:[1.5,2,1.5,2],Td=e=>{if(e==="platform")return[.75,.75,.75,.75]},Od=e=>e==="platform"?j.palette.gray[100]:j.palette.gray[50],Rd=e=>e==="platform"?j.palette.gray[200]:j.palette.gray[300],jd=e=>e==="platform"?j.palette.gray[400]:j.palette.gray[800],Pd=e=>e==="end"?"row":"row-reverse",lc=e=>e==="platform"?"sm":"md",Dd=te(gn)`
|
|
177
|
+
${({theme:e,$center:t=!1,$styleMd:r,$styleSm:n})=>`
|
|
178
|
+
${t?"margin: auto;":""}
|
|
179
|
+
|
|
180
|
+
@media screen
|
|
181
|
+
and (min-width: ${e.breakpoints.mobile})
|
|
182
|
+
and (max-width: ${e.breakpoints.tablet})
|
|
183
|
+
{
|
|
184
|
+
${r};
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
188
|
+
${n};
|
|
189
|
+
}
|
|
190
|
+
`}
|
|
191
|
+
`,Pt=y.forwardRef(function({as:t="div",center:r,children:n,id:o,onHover:i,onLeave:a,styleMd:s,styleSm:c,...u},f){return _.jsx(Dd,{$center:r,$styleMd:s,$styleSm:c,as:t,id:o,onMouseLeave:a,onMouseOver:i,ref:f,...u,children:n})}),Id=te(Ni)`
|
|
192
|
+
${({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:s,$sizeMd:c,$sizeSm:u,$wordBreak:f="normal"})=>`
|
|
182
193
|
color: ${t};
|
|
183
194
|
display: ${r};
|
|
184
195
|
font-family: ${n};
|
|
185
|
-
font-size: ${e.typography.heading[
|
|
196
|
+
font-size: ${e.typography.heading[s]};
|
|
186
197
|
font-weight: ${e.typography.weight[o]};
|
|
187
198
|
letter-spacing: ${i};
|
|
188
199
|
line-height: ${e.spacing[a]};
|
|
189
200
|
width: ${r==="block"?"100%":"auto"};
|
|
190
|
-
word-break: ${
|
|
201
|
+
word-break: ${f};
|
|
191
202
|
|
|
192
203
|
@media screen
|
|
193
204
|
and (min-width: ${e.breakpoints.mobile})
|
|
194
205
|
and (max-width: ${e.breakpoints.tablet})
|
|
195
206
|
{
|
|
196
|
-
font-size: ${e.typography.heading[
|
|
207
|
+
font-size: ${e.typography.heading[c??s]};
|
|
197
208
|
}
|
|
198
209
|
|
|
199
210
|
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
200
|
-
font-size: ${e.typography.heading[
|
|
211
|
+
font-size: ${e.typography.heading[u??s]};
|
|
201
212
|
}
|
|
202
213
|
`}
|
|
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:a=1.25,$size:
|
|
214
|
+
`,Md=te(Ni)`
|
|
215
|
+
${({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:s,$sizeMd:c,$sizeSm:u,$wordBreak:f="normal"})=>`
|
|
205
216
|
color: ${t};
|
|
206
217
|
display: ${r};
|
|
207
218
|
font-family: ${n};
|
|
208
|
-
font-size: ${e.typography.text[
|
|
219
|
+
font-size: ${e.typography.text[s]};
|
|
209
220
|
font-weight: ${e.typography.weight[o]};
|
|
210
221
|
letter-spacing: ${i};
|
|
211
222
|
line-height: ${e.spacing[a]};
|
|
212
223
|
width: ${r==="block"?"100%":"auto"};
|
|
213
|
-
word-break: ${
|
|
224
|
+
word-break: ${f};
|
|
214
225
|
|
|
215
226
|
@media screen
|
|
216
227
|
and (min-width: ${e.breakpoints.mobile})
|
|
217
228
|
and (max-width: ${e.breakpoints.tablet})
|
|
218
229
|
{
|
|
219
|
-
font-size: ${e.typography.text[
|
|
230
|
+
font-size: ${e.typography.text[c??s]};
|
|
220
231
|
}
|
|
221
232
|
|
|
222
233
|
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
223
|
-
font-size: ${e.typography.text[
|
|
234
|
+
font-size: ${e.typography.text[u??s]};
|
|
224
235
|
}
|
|
225
236
|
`}
|
|
226
|
-
`,
|
|
227
|
-
${({$clickable:e,$color:t="inherit",$disabled:r=!1,$hoverColor:n,$rotation:o,$size:i})=>{const a=n?"":"brightness(50%)",
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
237
|
+
`,Fi=y.forwardRef(function({children:t,className:r,color:n,display:o,fontFamily:i,fontWeight:a,letterSpacing:s,lineSpacing:c,size:u,sizeMd:f,sizeSm:g,wordBreak:m,...v},w){return _.jsx(Id,{$color:n,$display:o,$fontFamily:i,$fontWeight:a,$letterSpacing:s,$lineSpacing:c,$size:u,$sizeMd:f,$sizeSm:g,$wordBreak:m,className:r,ref:w,...v,children:t})}),at=y.forwardRef(function({children:t,className:r,color:n,display:o,fontFamily:i,fontWeight:a,letterSpacing:s,lineSpacing:c,size:u,sizeMd:f,sizeSm:g,wordBreak:m,...v},w){return _.jsx(Md,{$color:n,$display:o,$fontFamily:i,$fontWeight:a,$letterSpacing:s,$lineSpacing:c,$size:u,$sizeMd:f,$sizeSm:g,$wordBreak:m,className:r,ref:w,...v,children:t})}),za=({isSelectedAndOpen:e,item:t,variant:r,render:n})=>n?_.jsxs(Pt,{display:Ed(e),padding:Td(r),children:[t.description?_.jsx(at,{mb:t.extraElement?.5:void 0,mt:r==="platform"?void 0:.5,size:lc(r),sizeSm:"sm",children:t.description}):void 0,t.extraElement?_.jsx(Pt,{children:t.extraElement}):void 0]}):null,Ld={xl:"96px",lg:"64px",md:"32px",sm:"24px",xs:"16px",xxs:"12px"},Nd=te(cc)`
|
|
238
|
+
${({$clickable:e,$color:t="inherit",$disabled:r=!1,$hoverColor:n,$rotation:o,$size:i})=>{const a=n?"":"brightness(50%)",s=n??"";return`
|
|
239
|
+
color: ${t};
|
|
240
|
+
cursor: ${e?"pointer":"inherit"};
|
|
241
|
+
font-size: ${Ld[i]};
|
|
242
|
+
line-height: 0;
|
|
243
|
+
vertical-align: middle;
|
|
244
|
+
pointer-events: inherit;
|
|
245
|
+
opacity: ${r?"0.5":"1"};
|
|
246
|
+
|
|
247
|
+
> svg {
|
|
248
|
+
transform: ${o===void 0?"":`rotate(${o}deg)`};
|
|
249
|
+
}
|
|
239
250
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
251
|
+
.fill-gradient-01 path {
|
|
252
|
+
fill: url(/gradients.svg#gradient-01);
|
|
253
|
+
fill: url(#gradient-01);
|
|
254
|
+
}
|
|
244
255
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
`}}
|
|
250
|
-
`;
|
|
256
|
+
${e?`&:hover {
|
|
257
|
+
filter: ${a};
|
|
258
|
+
color: ${s};
|
|
259
|
+
}`:""}
|
|
260
|
+
`}}
|
|
261
|
+
`;te.div`
|
|
251
262
|
cursor: pointer;
|
|
252
263
|
transition: all 0.2s ease-in-out;
|
|
253
264
|
|
|
254
265
|
&:hover:not([disabled]) {
|
|
255
266
|
transform: scale(1.2);
|
|
256
267
|
}
|
|
257
|
-
`;const
|
|
268
|
+
`;const ht=y.forwardRef(function({clickable:t,disabled:r,hoverColor:n,icon:o,iconClass:i="",iconColor:a,iconMask:s,iconSize:c,iconTransform:u,iconType:f="fa-solid",onClick:g,rotation:m,...v},w){return _.jsx(Nd,{$clickable:t,$color:a,$disabled:r,$hoverColor:n,$rotation:m,$size:c,"data-testid":`${o}-icon`,onClick:g,ref:w,...v,children:_.jsx("i",{className:`${f} fa-${o} ${i}`,...s!==void 0?{"data-fa-mask":s}:{},...u!==void 0?{"data-fa-transform":u}:{}})},`${f}-${o}`)}),Fd=te(gn)`
|
|
258
269
|
animation: ${({$animationTime:e})=>`progress-bar ${e}s ease-in-out`};
|
|
259
270
|
animation-fill-mode: both;
|
|
260
271
|
|
|
@@ -267,7 +278,7 @@ Check the top-level render call using <`+A+">.")}return w}}function Ie(d,w){{if(
|
|
|
267
278
|
width: 100%;
|
|
268
279
|
}
|
|
269
280
|
}
|
|
270
|
-
`,
|
|
281
|
+
`,Vd=e=>e*1e3/100,uc=({progressTime:e=10,onComplete:t})=>{const[n,o]=y.useState(0);return y.useEffect(()=>{n===100&&(t==null||t())},[n,t]),y.useEffect(()=>{const i=setInterval(()=>{o(a=>a===100?0:a+1)},Vd(e));return()=>{clearInterval(i)}},[n,e]),_.jsx(Pt,{bgColor:j.palette.gray[200],height:"4px",children:_.jsx(Fd,{$animationTime:e,bgGradient:j.palette.gradients["01"],height:"100%",width:`${n}%`})})},zd=y.forwardRef(function({aligned:t="end",progressTime:r=10,items:n,bgColor:o,variant:i="simple"},a){const s=i==="progress"&&n.length>1,[c,u]=y.useState(!!s),[f,g]=y.useState(s?0:-1),m=y.useCallback(w=>()=>{g(w),kd(w,f,u)},[f]),v=y.useCallback(()=>{g(w=>w===n.length-1?0:w+1)},[n.length]);return _.jsx(Pt,{ref:a,children:n.map((w,S)=>{const T=S===f&&c;return _.jsxs(Pt,{bgColor:o??j.palette.white,children:[s&&T?_.jsx(uc,{onComplete:v,progressTime:r}):void 0,_.jsxs(Pt,{bgColorHover:Od(i),borderBottom:_d(S,T,n.length,i),borderColor:Rd(i),borderTop:Sd(T,i),cursor:"pointer",onClick:m(S),padding:Ad(i),children:[_.jsxs(Pt,{display:"flex",flexDirection:Pd(t),gap:.75,justify:"space-between",children:[_.jsx(at,{color:j.palette.gray[800],fontWeight:"bold",size:lc(i),sizeSm:"sm",children:w.title}),_.jsx(ht,{icon:Cd(T,i),iconColor:jd(i),iconSize:"xs",iconType:"fa-light"})]}),_.jsx(za,{isSelectedAndOpen:T,item:w,render:i!=="platform",variant:i})]}),_.jsx(za,{isSelectedAndOpen:T,item:w,render:i==="platform",variant:i})]},w.title)})})}),{getVariant:Bd}=Is(e=>({ghost:`
|
|
271
282
|
background: ${e.palette.white};
|
|
272
283
|
border: none;
|
|
273
284
|
color: ${e.palette.gray[800]};
|
|
@@ -420,7 +431,7 @@ Check the top-level render call using <`+A+">.")}return w}}function Ie(d,w){{if(
|
|
|
420
431
|
background-color: ${e.palette.primary[500]};
|
|
421
432
|
color: ${e.palette.white};
|
|
422
433
|
}
|
|
423
|
-
`})),
|
|
434
|
+
`})),Wd=te(sc)`
|
|
424
435
|
${({theme:e,$variant:t})=>`
|
|
425
436
|
align-items: center;
|
|
426
437
|
border-radius: var(--btn-spacing);
|
|
@@ -438,19 +449,19 @@ Check the top-level render call using <`+A+">.")}return w}}function Ie(d,w){{if(
|
|
|
438
449
|
--btn-padding-y: ${e.spacing[1]};
|
|
439
450
|
}
|
|
440
451
|
|
|
441
|
-
${
|
|
452
|
+
${Bd(e,t??"primaryWeb")}
|
|
442
453
|
`}
|
|
443
|
-
`,Pr=Math.min,mr=Math.max,Fn=Math.round,kn=Math.floor,ar=e=>({x:e,y:e}),vd={left:"right",right:"left",bottom:"top",top:"bottom"},bd={start:"end",end:"start"};function Qo(e,t,r){return mr(e,Pr(t,r))}function ln(e,t){return typeof e=="function"?e(t):e}function br(e){return e.split("-")[0]}function un(e){return e.split("-")[1]}function qs(e){return e==="x"?"y":"x"}function $i(e){return e==="y"?"height":"width"}function Ir(e){return["top","bottom"].includes(br(e))?"y":"x"}function Si(e){return qs(Ir(e))}function wd(e,t,r){r===void 0&&(r=!1);const n=un(e),o=Si(e),i=$i(o);let a=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Vn(a)),[a,Vn(a)]}function _d(e){const t=Vn(e);return[Jo(e),t,Jo(t)]}function Jo(e){return e.replace(/start|end/g,t=>bd[t])}function xd(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:a;default:return[]}}function $d(e,t,r,n){const o=un(e);let i=xd(br(e),r==="start",n);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Jo)))),i}function Vn(e){return e.replace(/left|right|bottom|top/g,t=>vd[t])}function Sd(e){return{top:0,right:0,bottom:0,left:0,...e}}function Gs(e){return typeof e!="number"?Sd(e):{top:e,right:e,bottom:e,left:e}}function zn(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function Sa(e,t,r){let{reference:n,floating:o}=e;const i=Ir(t),a=Si(t),c=$i(a),u=br(t),f=i==="y",h=n.x+n.width/2-o.width/2,m=n.y+n.height/2-o.height/2,_=n[c]/2-o[c]/2;let v;switch(u){case"top":v={x:h,y:n.y-o.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:m};break;case"left":v={x:n.x-o.width,y:m};break;default:v={x:n.x,y:n.y}}switch(un(t)){case"start":v[a]-=_*(r&&f?-1:1);break;case"end":v[a]+=_*(r&&f?-1:1);break}return v}const Ed=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,c=i.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(t));let f=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y:m}=Sa(f,n,u),_=n,v={},S=0;for(let k=0;k<c.length;k++){const{name:P,fn:E}=c[k],{x:O,y:R,data:L,reset:D}=await E({x:h,y:m,initialPlacement:n,placement:_,strategy:o,middlewareData:v,rects:f,platform:a,elements:{reference:e,floating:t}});h=O??h,m=R??m,v={...v,[P]:{...v[P],...L}},D&&S<=50&&(S++,typeof D=="object"&&(D.placement&&(_=D.placement),D.rects&&(f=D.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):D.rects),{x:h,y:m}=Sa(f,_,u)),k=-1)}return{x:h,y:m,placement:_,strategy:o,middlewareData:v}};async function Hs(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:a,elements:c,strategy:u}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:_=!1,padding:v=0}=ln(t,e),S=Gs(v),P=c[_?m==="floating"?"reference":"floating":m],E=zn(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(P)))==null||r?P:P.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:f,rootBoundary:h,strategy:u})),O=m==="floating"?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,R=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),L=await(i.isElement==null?void 0:i.isElement(R))?await(i.getScale==null?void 0:i.getScale(R))||{x:1,y:1}:{x:1,y:1},D=zn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:O,offsetParent:R,strategy:u}):O);return{top:(E.top-D.top+S.top)/L.y,bottom:(D.bottom-E.bottom+S.bottom)/L.y,left:(E.left-D.left+S.left)/L.x,right:(D.right-E.right+S.right)/L.x}}const Td=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:a,elements:c,middlewareData:u}=t,{element:f,padding:h=0}=ln(e,t)||{};if(f==null)return{};const m=Gs(h),_={x:r,y:n},v=Si(o),S=$i(v),k=await a.getDimensions(f),P=v==="y",E=P?"top":"left",O=P?"bottom":"right",R=P?"clientHeight":"clientWidth",L=i.reference[S]+i.reference[v]-_[v]-i.floating[S],D=_[v]-i.reference[v],F=await(a.getOffsetParent==null?void 0:a.getOffsetParent(f));let I=F?F[R]:0;(!I||!await(a.isElement==null?void 0:a.isElement(F)))&&(I=c.floating[R]||i.floating[S]);const be=L/2-D/2,we=I/2-k[S]/2-1,he=Pr(m[E],we),Fe=Pr(m[O],we),Le=he,_e=I-k[S]-Fe,K=I/2-k[S]/2+be,Ee=Qo(Le,K,_e),se=!u.arrow&&un(o)!=null&&K!==Ee&&i.reference[S]/2-(K<Le?he:Fe)-k[S]/2<0,ce=se?K<Le?K-Le:K-_e:0;return{[v]:_[v]+ce,data:{[v]:Ee,centerOffset:K-Ee-ce,...se&&{alignmentOffset:ce}},reset:se}}}),Ad=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:a,initialPlacement:c,platform:u,elements:f}=t,{mainAxis:h=!0,crossAxis:m=!0,fallbackPlacements:_,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:k=!0,...P}=ln(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const E=br(o),O=Ir(c),R=br(c)===c,L=await(u.isRTL==null?void 0:u.isRTL(f.floating)),D=_||(R||!k?[Vn(c)]:_d(c)),F=S!=="none";!_&&F&&D.push(...$d(c,k,S,L));const I=[c,...D],be=await Hs(t,P),we=[];let he=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&we.push(be[E]),m){const K=wd(o,a,L);we.push(be[K[0]],be[K[1]])}if(he=[...he,{placement:o,overflows:we}],!we.every(K=>K<=0)){var Fe,Le;const K=(((Fe=i.flip)==null?void 0:Fe.index)||0)+1,Ee=I[K];if(Ee)return{data:{index:K,overflows:he},reset:{placement:Ee}};let se=(Le=he.filter(ce=>ce.overflows[0]<=0).sort((ce,le)=>ce.overflows[1]-le.overflows[1])[0])==null?void 0:Le.placement;if(!se)switch(v){case"bestFit":{var _e;const ce=(_e=he.filter(le=>{if(F){const oe=Ir(le.placement);return oe===O||oe==="y"}return!0}).map(le=>[le.placement,le.overflows.filter(oe=>oe>0).reduce((oe,H)=>oe+H,0)]).sort((le,oe)=>le[1]-oe[1])[0])==null?void 0:_e[0];ce&&(se=ce);break}case"initialPlacement":se=c;break}if(o!==se)return{reset:{placement:se}}}return{}}}};async function Cd(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),a=br(r),c=un(r),u=Ir(r)==="y",f=["left","top"].includes(a)?-1:1,h=i&&u?-1:1,m=ln(t,e);let{mainAxis:_,crossAxis:v,alignmentAxis:S}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return c&&typeof S=="number"&&(v=c==="end"?S*-1:S),u?{x:v*h,y:_*f}:{x:_*f,y:v*h}}const kd=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:a,middlewareData:c}=t,u=await Cd(t,e);return a===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:a}}}}},Od=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:c={fn:P=>{let{x:E,y:O}=P;return{x:E,y:O}}},...u}=ln(e,t),f={x:r,y:n},h=await Hs(t,u),m=Ir(br(o)),_=qs(m);let v=f[_],S=f[m];if(i){const P=_==="y"?"top":"left",E=_==="y"?"bottom":"right",O=v+h[P],R=v-h[E];v=Qo(O,v,R)}if(a){const P=m==="y"?"top":"left",E=m==="y"?"bottom":"right",O=S+h[P],R=S-h[E];S=Qo(O,S,R)}const k=c.fn({...t,[_]:v,[m]:S});return{...k,data:{x:k.x-r,y:k.y-n,enabled:{[_]:i,[m]:a}}}}}};function to(){return typeof window<"u"}function Dr(e){return Ys(e)?(e.nodeName||"").toLowerCase():"#document"}function Rt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Qt(e){var t;return(t=(Ys(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ys(e){return to()?e instanceof Node||e instanceof Rt(e).Node:!1}function Wt(e){return to()?e instanceof Element||e instanceof Rt(e).Element:!1}function Yt(e){return to()?e instanceof HTMLElement||e instanceof Rt(e).HTMLElement:!1}function Ea(e){return!to()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Rt(e).ShadowRoot}function dn(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Ut(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function Rd(e){return["table","td","th"].includes(Dr(e))}function ro(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Ei(e){const t=Ti(),r=Wt(e)?Ut(e):e;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function jd(e){let t=sr(e);for(;Yt(t)&&!Mr(t);){if(Ei(t))return t;if(ro(t))return null;t=sr(t)}return null}function Ti(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Mr(e){return["html","body","#document"].includes(Dr(e))}function Ut(e){return Rt(e).getComputedStyle(e)}function no(e){return Wt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function sr(e){if(Dr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ea(e)&&e.host||Qt(e);return Ea(t)?t.host:t}function Qs(e){const t=sr(e);return Mr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Yt(t)&&dn(t)?t:Qs(t)}function Qr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Qs(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),a=Rt(o);if(i){const c=Ko(a);return t.concat(a,a.visualViewport||[],dn(o)?o:[],c&&r?Qr(c):[])}return t.concat(o,Qr(o,[],r))}function Ko(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Js(e){const t=Ut(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Yt(e),i=o?e.offsetWidth:r,a=o?e.offsetHeight:n,c=Fn(r)!==i||Fn(n)!==a;return c&&(r=i,n=a),{width:r,height:n,$:c}}function Ai(e){return Wt(e)?e:e.contextElement}function Ar(e){const t=Ai(e);if(!Yt(t))return ar(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Js(t);let a=(i?Fn(r.width):r.width)/n,c=(i?Fn(r.height):r.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const Pd=ar(0);function Ks(e){const t=Rt(e);return!Ti()||!t.visualViewport?Pd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Id(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Rt(e)?!1:t}function wr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=Ai(e);let a=ar(1);t&&(n?Wt(n)&&(a=Ar(n)):a=Ar(e));const c=Id(i,r,n)?Ks(i):ar(0);let u=(o.left+c.x)/a.x,f=(o.top+c.y)/a.y,h=o.width/a.x,m=o.height/a.y;if(i){const _=Rt(i),v=n&&Wt(n)?Rt(n):n;let S=_,k=Ko(S);for(;k&&n&&v!==S;){const P=Ar(k),E=k.getBoundingClientRect(),O=Ut(k),R=E.left+(k.clientLeft+parseFloat(O.paddingLeft))*P.x,L=E.top+(k.clientTop+parseFloat(O.paddingTop))*P.y;u*=P.x,f*=P.y,h*=P.x,m*=P.y,u+=R,f+=L,S=Rt(k),k=Ko(S)}}return zn({width:h,height:m,x:u,y:f})}function Md(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",a=Qt(n),c=t?ro(t.floating):!1;if(n===a||c&&i)return r;let u={scrollLeft:0,scrollTop:0},f=ar(1);const h=ar(0),m=Yt(n);if((m||!m&&!i)&&((Dr(n)!=="body"||dn(a))&&(u=no(n)),Yt(n))){const _=wr(n);f=Ar(n),h.x=_.x+n.clientLeft,h.y=_.y+n.clientTop}return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-u.scrollLeft*f.x+h.x,y:r.y*f.y-u.scrollTop*f.y+h.y}}function Ld(e){return Array.from(e.getClientRects())}function Xo(e,t){const r=no(e).scrollLeft;return t?t.left+r:wr(Qt(e)).left+r}function Dd(e){const t=Qt(e),r=no(e),n=e.ownerDocument.body,o=mr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=mr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let a=-r.scrollLeft+Xo(e);const c=-r.scrollTop;return Ut(n).direction==="rtl"&&(a+=mr(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:a,y:c}}function Nd(e,t){const r=Rt(e),n=Qt(e),o=r.visualViewport;let i=n.clientWidth,a=n.clientHeight,c=0,u=0;if(o){i=o.width,a=o.height;const f=Ti();(!f||f&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:c,y:u}}function Fd(e,t){const r=wr(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Yt(e)?Ar(e):ar(1),a=e.clientWidth*i.x,c=e.clientHeight*i.y,u=o*i.x,f=n*i.y;return{width:a,height:c,x:u,y:f}}function Ta(e,t,r){let n;if(t==="viewport")n=Nd(e,r);else if(t==="document")n=Dd(Qt(e));else if(Wt(t))n=Fd(t,r);else{const o=Ks(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return zn(n)}function Xs(e,t){const r=sr(e);return r===t||!Wt(r)||Mr(r)?!1:Ut(r).position==="fixed"||Xs(r,t)}function Vd(e,t){const r=t.get(e);if(r)return r;let n=Qr(e,[],!1).filter(c=>Wt(c)&&Dr(c)!=="body"),o=null;const i=Ut(e).position==="fixed";let a=i?sr(e):e;for(;Wt(a)&&!Mr(a);){const c=Ut(a),u=Ei(a);!u&&c.position==="fixed"&&(o=null),(i?!u&&!o:!u&&c.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||dn(a)&&!u&&Xs(e,a))?n=n.filter(h=>h!==a):o=c,a=sr(a)}return t.set(e,n),n}function zd(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?ro(t)?[]:Vd(t,this._c):[].concat(r),n],c=a[0],u=a.reduce((f,h)=>{const m=Ta(t,h,o);return f.top=mr(m.top,f.top),f.right=Pr(m.right,f.right),f.bottom=Pr(m.bottom,f.bottom),f.left=mr(m.left,f.left),f},Ta(t,c,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Bd(e){const{width:t,height:r}=Js(e);return{width:t,height:r}}function Wd(e,t,r){const n=Yt(t),o=Qt(t),i=r==="fixed",a=wr(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const u=ar(0);if(n||!n&&!i)if((Dr(t)!=="body"||dn(o))&&(c=no(t)),n){const v=wr(t,!0,i,t);u.x=v.x+t.clientLeft,u.y=v.y+t.clientTop}else o&&(u.x=Xo(o));let f=0,h=0;if(o&&!n&&!i){const v=o.getBoundingClientRect();h=v.top+c.scrollTop,f=v.left+c.scrollLeft-Xo(o,v)}const m=a.left+c.scrollLeft-u.x-f,_=a.top+c.scrollTop-u.y-h;return{x:m,y:_,width:a.width,height:a.height}}function jo(e){return Ut(e).position==="static"}function Aa(e,t){if(!Yt(e)||Ut(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Qt(e)===r&&(r=r.ownerDocument.body),r}function Zs(e,t){const r=Rt(e);if(ro(e))return r;if(!Yt(e)){let o=sr(e);for(;o&&!Mr(o);){if(Wt(o)&&!jo(o))return o;o=sr(o)}return r}let n=Aa(e,t);for(;n&&Rd(n)&&jo(n);)n=Aa(n,t);return n&&Mr(n)&&jo(n)&&!Ei(n)?r:n||jd(e)||r}const Ud=async function(e){const t=this.getOffsetParent||Zs,r=this.getDimensions,n=await r(e.floating);return{reference:Wd(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function qd(e){return Ut(e).direction==="rtl"}const Gd={convertOffsetParentRelativeRectToViewportRelativeRect:Md,getDocumentElement:Qt,getClippingRect:zd,getOffsetParent:Zs,getElementRects:Ud,getClientRects:Ld,getDimensions:Bd,getScale:Ar,isElement:Wt,isRTL:qd};function Hd(e,t){let r=null,n;const o=Qt(e);function i(){var c;clearTimeout(n),(c=r)==null||c.disconnect(),r=null}function a(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),i();const{left:f,top:h,width:m,height:_}=e.getBoundingClientRect();if(c||t(),!m||!_)return;const v=kn(h),S=kn(o.clientWidth-(f+m)),k=kn(o.clientHeight-(h+_)),P=kn(f),O={rootMargin:-v+"px "+-S+"px "+-k+"px "+-P+"px",threshold:mr(0,Pr(1,u))||1};let R=!0;function L(D){const F=D[0].intersectionRatio;if(F!==u){if(!R)return a();F?a(!1,F):n=setTimeout(()=>{a(!1,1e-7)},1e3)}R=!1}try{r=new IntersectionObserver(L,{...O,root:o.ownerDocument})}catch{r=new IntersectionObserver(L,O)}r.observe(e)}return a(!0),i}function Yd(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,f=Ai(e),h=o||i?[...f?Qr(f):[],...Qr(t)]:[];h.forEach(E=>{o&&E.addEventListener("scroll",r,{passive:!0}),i&&E.addEventListener("resize",r)});const m=f&&c?Hd(f,r):null;let _=-1,v=null;a&&(v=new ResizeObserver(E=>{let[O]=E;O&&O.target===f&&v&&(v.unobserve(t),cancelAnimationFrame(_),_=requestAnimationFrame(()=>{var R;(R=v)==null||R.observe(t)})),r()}),f&&!u&&v.observe(f),v.observe(t));let S,k=u?wr(e):null;u&&P();function P(){const E=wr(e);k&&(E.x!==k.x||E.y!==k.y||E.width!==k.width||E.height!==k.height)&&r(),k=E,S=requestAnimationFrame(P)}return r(),()=>{var E;h.forEach(O=>{o&&O.removeEventListener("scroll",r),i&&O.removeEventListener("resize",r)}),m==null||m(),(E=v)==null||E.disconnect(),v=null,u&&cancelAnimationFrame(S)}}const ec=kd,Qd=Od,tc=Ad,Jd=Td,Ca=(e,t,r)=>{const n=new Map,o={platform:Gd,...r},i={...o.platform,_c:n};return Ed(e,t,{...o,platform:i})},Kd=(e,t)=>({...ec(e),options:[e,t]}),Xd=(e,t)=>({...tc(e),options:[e,t]});var Zd=Object.prototype;function ef(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Zd;return e===r}var rc=ef;function tf(e,t){return function(r){return e(t(r))}}var rf=tf,nf=rf,of=nf(Object.keys,Object),af=of,sf=rc,cf=af,lf=Object.prototype,uf=lf.hasOwnProperty;function df(e){if(!sf(e))return cf(e);var t=[];for(var r in Object(e))uf.call(e,r)&&r!="constructor"&&t.push(r);return t}var ff=df,pf=typeof Sn=="object"&&Sn&&Sn.Object===Object&&Sn,nc=pf,hf=nc,gf=typeof self=="object"&&self&&self.Object===Object&&self,mf=hf||gf||Function("return this")(),cr=mf,yf=cr,vf=yf.Symbol,oc=vf,ka=oc,ic=Object.prototype,bf=ic.hasOwnProperty,wf=ic.toString,Gr=ka?ka.toStringTag:void 0;function _f(e){var t=bf.call(e,Gr),r=e[Gr];try{e[Gr]=void 0;var n=!0}catch{}var o=wf.call(e);return n&&(t?e[Gr]=r:delete e[Gr]),o}var xf=_f,$f=Object.prototype,Sf=$f.toString;function Ef(e){return Sf.call(e)}var Tf=Ef,Oa=oc,Af=xf,Cf=Tf,kf="[object Null]",Of="[object Undefined]",Ra=Oa?Oa.toStringTag:void 0;function Rf(e){return e==null?e===void 0?Of:kf:Ra&&Ra in Object(e)?Af(e):Cf(e)}var oo=Rf;function jf(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ac=jf,Pf=oo,If=ac,Mf="[object AsyncFunction]",Lf="[object Function]",Df="[object GeneratorFunction]",Nf="[object Proxy]";function Ff(e){if(!If(e))return!1;var t=Pf(e);return t==Lf||t==Df||t==Mf||t==Nf}var sc=Ff,Vf=cr,zf=Vf["__core-js_shared__"],Bf=zf,Po=Bf,ja=function(){var e=/[^.]+$/.exec(Po&&Po.keys&&Po.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Wf(e){return!!ja&&ja in e}var Uf=Wf,qf=Function.prototype,Gf=qf.toString;function Hf(e){if(e!=null){try{return Gf.call(e)}catch{}try{return e+""}catch{}}return""}var cc=Hf,Yf=sc,Qf=Uf,Jf=ac,Kf=cc,Xf=/[\\^$.*+?()[\]{}|]/g,Zf=/^\[object .+?Constructor\]$/,ep=Function.prototype,tp=Object.prototype,rp=ep.toString,np=tp.hasOwnProperty,op=RegExp("^"+rp.call(np).replace(Xf,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ip(e){if(!Jf(e)||Qf(e))return!1;var t=Yf(e)?op:Zf;return t.test(Kf(e))}var ap=ip;function sp(e,t){return e==null?void 0:e[t]}var cp=sp,lp=ap,up=cp;function dp(e,t){var r=up(e,t);return lp(r)?r:void 0}var fn=dp,fp=fn,pp=cr,hp=fp(pp,"DataView"),gp=hp,mp=fn,yp=cr,vp=mp(yp,"Map"),bp=vp,wp=fn,_p=cr,xp=wp(_p,"Promise"),$p=xp,Sp=fn,Ep=cr,Tp=Sp(Ep,"Set"),Ap=Tp,Cp=fn,kp=cr,Op=Cp(kp,"WeakMap"),Rp=Op,Zo=gp,ei=bp,ti=$p,ri=Ap,ni=Rp,lc=oo,Nr=cc,Pa="[object Map]",jp="[object Object]",Ia="[object Promise]",Ma="[object Set]",La="[object WeakMap]",Da="[object DataView]",Pp=Nr(Zo),Ip=Nr(ei),Mp=Nr(ti),Lp=Nr(ri),Dp=Nr(ni),dr=lc;(Zo&&dr(new Zo(new ArrayBuffer(1)))!=Da||ei&&dr(new ei)!=Pa||ti&&dr(ti.resolve())!=Ia||ri&&dr(new ri)!=Ma||ni&&dr(new ni)!=La)&&(dr=function(e){var t=lc(e),r=t==jp?e.constructor:void 0,n=r?Nr(r):"";if(n)switch(n){case Pp:return Da;case Ip:return Pa;case Mp:return Ia;case Lp:return Ma;case Dp:return La}return t});var Np=dr;function Fp(e){return e!=null&&typeof e=="object"}var Ci=Fp,Vp=oo,zp=Ci,Bp="[object Arguments]";function Wp(e){return zp(e)&&Vp(e)==Bp}var Up=Wp,Na=Up,qp=Ci,uc=Object.prototype,Gp=uc.hasOwnProperty,Hp=uc.propertyIsEnumerable,Yp=Na(function(){return arguments}())?Na:function(e){return qp(e)&&Gp.call(e,"callee")&&!Hp.call(e,"callee")},Qp=Yp,Jp=Array.isArray,Kp=Jp,Xp=9007199254740991;function Zp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Xp}var dc=Zp,eh=sc,th=dc;function rh(e){return e!=null&&th(e.length)&&!eh(e)}var nh=rh,Bn={exports:{}};function oh(){return!1}var ih=oh;Bn.exports;(function(e,t){var r=cr,n=ih,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,c=a?r.Buffer:void 0,u=c?c.isBuffer:void 0,f=u||n;e.exports=f})(Bn,Bn.exports);var ah=Bn.exports,sh=oo,ch=dc,lh=Ci,uh="[object Arguments]",dh="[object Array]",fh="[object Boolean]",ph="[object Date]",hh="[object Error]",gh="[object Function]",mh="[object Map]",yh="[object Number]",vh="[object Object]",bh="[object RegExp]",wh="[object Set]",_h="[object String]",xh="[object WeakMap]",$h="[object ArrayBuffer]",Sh="[object DataView]",Eh="[object Float32Array]",Th="[object Float64Array]",Ah="[object Int8Array]",Ch="[object Int16Array]",kh="[object Int32Array]",Oh="[object Uint8Array]",Rh="[object Uint8ClampedArray]",jh="[object Uint16Array]",Ph="[object Uint32Array]",je={};je[Eh]=je[Th]=je[Ah]=je[Ch]=je[kh]=je[Oh]=je[Rh]=je[jh]=je[Ph]=!0;je[uh]=je[dh]=je[$h]=je[fh]=je[Sh]=je[ph]=je[hh]=je[gh]=je[mh]=je[yh]=je[vh]=je[bh]=je[wh]=je[_h]=je[xh]=!1;function Ih(e){return lh(e)&&ch(e.length)&&!!je[sh(e)]}var Mh=Ih;function Lh(e){return function(t){return e(t)}}var Dh=Lh,Wn={exports:{}};Wn.exports;(function(e,t){var r=nc,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,a=i&&r.process,c=function(){try{var u=o&&o.require&&o.require("util").types;return u||a&&a.binding&&a.binding("util")}catch{}}();e.exports=c})(Wn,Wn.exports);var Nh=Wn.exports,Fh=Mh,Vh=Dh,Fa=Nh,Va=Fa&&Fa.isTypedArray,zh=Va?Vh(Va):Fh,Bh=zh,Wh=ff,Uh=Np,qh=Qp,Gh=Kp,Hh=nh,Yh=ah,Qh=rc,Jh=Bh,Kh="[object Map]",Xh="[object Set]",Zh=Object.prototype,eg=Zh.hasOwnProperty;function tg(e){if(e==null)return!0;if(Hh(e)&&(Gh(e)||typeof e=="string"||typeof e.splice=="function"||Yh(e)||Jh(e)||qh(e)))return!e.length;var t=Uh(e);if(t==Kh||t==Xh)return!e.size;if(Qh(e))return!Wh(e).length;for(var r in e)if(eg.call(e,r))return!1;return!0}var rg=tg;const Io=ys(rg);var fc={exports:{}};/*!
|
|
454
|
+
`,Vr=Math.min,xr=Math.max,Qn=Math.round,Mn=Math.floor,ur=e=>({x:e,y:e}),Ud={left:"right",right:"left",bottom:"top",top:"bottom"},qd={start:"end",end:"start"};function li(e,t,r){return xr(e,Vr(t,r))}function yn(e,t){return typeof e=="function"?e(t):e}function Sr(e){return e.split("-")[0]}function mn(e){return e.split("-")[1]}function dc(e){return e==="x"?"y":"x"}function Vi(e){return e==="y"?"height":"width"}function zr(e){return["top","bottom"].includes(Sr(e))?"y":"x"}function zi(e){return dc(zr(e))}function Gd(e,t,r){r===void 0&&(r=!1);const n=mn(e),o=zi(e),i=Vi(o);let a=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Kn(a)),[a,Kn(a)]}function Hd(e){const t=Kn(e);return[ui(e),t,ui(t)]}function ui(e){return e.replace(/start|end/g,t=>qd[t])}function Yd(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 Qd(e,t,r,n){const o=mn(e);let i=Yd(Sr(e),r==="start",n);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(ui)))),i}function Kn(e){return e.replace(/left|right|bottom|top/g,t=>Ud[t])}function Kd(e){return{top:0,right:0,bottom:0,left:0,...e}}function fc(e){return typeof e!="number"?Kd(e):{top:e,right:e,bottom:e,left:e}}function Jn(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 Ba(e,t,r){let{reference:n,floating:o}=e;const i=zr(t),a=zi(t),s=Vi(a),c=Sr(t),u=i==="y",f=n.x+n.width/2-o.width/2,g=n.y+n.height/2-o.height/2,m=n[s]/2-o[s]/2;let v;switch(c){case"top":v={x:f,y:n.y-o.height};break;case"bottom":v={x:f,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:g};break;case"left":v={x:n.x-o.width,y:g};break;default:v={x:n.x,y:n.y}}switch(mn(t)){case"start":v[a]-=m*(r&&u?-1:1);break;case"end":v[a]+=m*(r&&u?-1:1);break}return v}const Jd=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,s=i.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:g}=Ba(u,n,c),m=n,v={},w=0;for(let S=0;S<s.length;S++){const{name:T,fn:$}=s[S],{x:C,y:P,data:I,reset:M}=await $({x:f,y:g,initialPlacement:n,placement:m,strategy:o,middlewareData:v,rects:u,platform:a,elements:{reference:e,floating:t}});f=C??f,g=P??g,v={...v,[T]:{...v[T],...I}},M&&w<=50&&(w++,typeof M=="object"&&(M.placement&&(m=M.placement),M.rects&&(u=M.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):M.rects),{x:f,y:g}=Ba(u,m,c)),S=-1)}return{x:f,y:g,placement:m,strategy:o,middlewareData:v}};async function pc(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:a,elements:s,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:g="floating",altBoundary:m=!1,padding:v=0}=yn(t,e),w=fc(v),T=s[m?g==="floating"?"reference":"floating":g],$=Jn(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(T)))==null||r?T:T.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:f,strategy:c})),C=g==="floating"?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,P=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),I=await(i.isElement==null?void 0:i.isElement(P))?await(i.getScale==null?void 0:i.getScale(P))||{x:1,y:1}:{x:1,y:1},M=Jn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:C,offsetParent:P,strategy:c}):C);return{top:($.top-M.top+w.top)/I.y,bottom:(M.bottom-$.bottom+w.bottom)/I.y,left:($.left-M.left+w.left)/I.x,right:(M.right-$.right+w.right)/I.x}}const Xd=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:a,elements:s,middlewareData:c}=t,{element:u,padding:f=0}=yn(e,t)||{};if(u==null)return{};const g=fc(f),m={x:r,y:n},v=zi(o),w=Vi(v),S=await a.getDimensions(u),T=v==="y",$=T?"top":"left",C=T?"bottom":"right",P=T?"clientHeight":"clientWidth",I=i.reference[w]+i.reference[v]-m[v]-i.floating[w],M=m[v]-i.reference[v],E=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let R=E?E[P]:0;(!R||!await(a.isElement==null?void 0:a.isElement(E)))&&(R=s.floating[P]||i.floating[w]);const F=I/2-M/2,G=R/2-S[w]/2-1,K=Vr(g[$],G),pe=Vr(g[C],G),ve=K,se=R-S[w]-pe,N=R/2-S[w]/2+F,J=li(ve,N,se),z=!c.arrow&&mn(o)!=null&&N!==J&&i.reference[w]/2-(N<ve?K:pe)-S[w]/2<0,re=z?N<ve?N-ve:N-se:0;return{[v]:m[v]+re,data:{[v]:J,centerOffset:N-J-re,...z&&{alignmentOffset:re}},reset:z}}}),Zd=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:s,platform:c,elements:u}=t,{mainAxis:f=!0,crossAxis:g=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:S=!0,...T}=yn(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const $=Sr(o),C=zr(s),P=Sr(s)===s,I=await(c.isRTL==null?void 0:c.isRTL(u.floating)),M=m||(P||!S?[Kn(s)]:Hd(s)),E=w!=="none";!m&&E&&M.push(...Qd(s,S,w,I));const R=[s,...M],F=await pc(t,T),G=[];let K=((n=i.flip)==null?void 0:n.overflows)||[];if(f&&G.push(F[$]),g){const N=Gd(o,a,I);G.push(F[N[0]],F[N[1]])}if(K=[...K,{placement:o,overflows:G}],!G.every(N=>N<=0)){var pe,ve;const N=(((pe=i.flip)==null?void 0:pe.index)||0)+1,J=R[N];if(J)return{data:{index:N,overflows:K},reset:{placement:J}};let z=(ve=K.filter(re=>re.overflows[0]<=0).sort((re,B)=>re.overflows[1]-B.overflows[1])[0])==null?void 0:ve.placement;if(!z)switch(v){case"bestFit":{var se;const re=(se=K.filter(B=>{if(E){const ie=zr(B.placement);return ie===C||ie==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(ie=>ie>0).reduce((ie,H)=>ie+H,0)]).sort((B,ie)=>B[1]-ie[1])[0])==null?void 0:se[0];re&&(z=re);break}case"initialPlacement":z=s;break}if(o!==z)return{reset:{placement:z}}}return{}}}};async function ef(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),a=Sr(r),s=mn(r),c=zr(r)==="y",u=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,g=yn(t,e);let{mainAxis:m,crossAxis:v,alignmentAxis:w}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return s&&typeof w=="number"&&(v=s==="end"?w*-1:w),c?{x:v*f,y:m*u}:{x:m*u,y:v*f}}const tf=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:a,middlewareData:s}=t,c=await ef(t,e);return a===((r=s.offset)==null?void 0:r.placement)&&(n=s.arrow)!=null&&n.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}},rf=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:s={fn:T=>{let{x:$,y:C}=T;return{x:$,y:C}}},...c}=yn(e,t),u={x:r,y:n},f=await pc(t,c),g=zr(Sr(o)),m=dc(g);let v=u[m],w=u[g];if(i){const T=m==="y"?"top":"left",$=m==="y"?"bottom":"right",C=v+f[T],P=v-f[$];v=li(C,v,P)}if(a){const T=g==="y"?"top":"left",$=g==="y"?"bottom":"right",C=w+f[T],P=w-f[$];w=li(C,w,P)}const S=s.fn({...t,[m]:v,[g]:w});return{...S,data:{x:S.x-r,y:S.y-n,enabled:{[m]:i,[g]:a}}}}}};function ho(){return typeof window<"u"}function Ur(e){return hc(e)?(e.nodeName||"").toLowerCase():"#document"}function Dt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Zt(e){var t;return(t=(hc(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function hc(e){return ho()?e instanceof Node||e instanceof Dt(e).Node:!1}function Ht(e){return ho()?e instanceof Element||e instanceof Dt(e).Element:!1}function Xt(e){return ho()?e instanceof HTMLElement||e instanceof Dt(e).HTMLElement:!1}function Wa(e){return!ho()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Dt(e).ShadowRoot}function vn(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Yt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function nf(e){return["table","td","th"].includes(Ur(e))}function go(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Bi(e){const t=Wi(),r=Ht(e)?Yt(e):e;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function of(e){let t=dr(e);for(;Xt(t)&&!Br(t);){if(Bi(t))return t;if(go(t))return null;t=dr(t)}return null}function Wi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Br(e){return["html","body","#document"].includes(Ur(e))}function Yt(e){return Dt(e).getComputedStyle(e)}function yo(e){return Ht(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function dr(e){if(Ur(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Wa(e)&&e.host||Zt(e);return Wa(t)?t.host:t}function gc(e){const t=dr(e);return Br(t)?e.ownerDocument?e.ownerDocument.body:e.body:Xt(t)&&vn(t)?t:gc(t)}function rn(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=gc(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),a=Dt(o);if(i){const s=di(a);return t.concat(a,a.visualViewport||[],vn(o)?o:[],s&&r?rn(s):[])}return t.concat(o,rn(o,[],r))}function di(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yc(e){const t=Yt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Xt(e),i=o?e.offsetWidth:r,a=o?e.offsetHeight:n,s=Qn(r)!==i||Qn(n)!==a;return s&&(r=i,n=a),{width:r,height:n,$:s}}function Ui(e){return Ht(e)?e:e.contextElement}function Dr(e){const t=Ui(e);if(!Xt(t))return ur(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=yc(t);let a=(i?Qn(r.width):r.width)/n,s=(i?Qn(r.height):r.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const af=ur(0);function mc(e){const t=Dt(e);return!Wi()||!t.visualViewport?af:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function sf(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Dt(e)?!1:t}function Cr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=Ui(e);let a=ur(1);t&&(n?Ht(n)&&(a=Dr(n)):a=Dr(e));const s=sf(i,r,n)?mc(i):ur(0);let c=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,f=o.width/a.x,g=o.height/a.y;if(i){const m=Dt(i),v=n&&Ht(n)?Dt(n):n;let w=m,S=di(w);for(;S&&n&&v!==w;){const T=Dr(S),$=S.getBoundingClientRect(),C=Yt(S),P=$.left+(S.clientLeft+parseFloat(C.paddingLeft))*T.x,I=$.top+(S.clientTop+parseFloat(C.paddingTop))*T.y;c*=T.x,u*=T.y,f*=T.x,g*=T.y,c+=P,u+=I,w=Dt(S),S=di(w)}}return Jn({width:f,height:g,x:c,y:u})}function cf(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",a=Zt(n),s=t?go(t.floating):!1;if(n===a||s&&i)return r;let c={scrollLeft:0,scrollTop:0},u=ur(1);const f=ur(0),g=Xt(n);if((g||!g&&!i)&&((Ur(n)!=="body"||vn(a))&&(c=yo(n)),Xt(n))){const m=Cr(n);u=Dr(n),f.x=m.x+n.clientLeft,f.y=m.y+n.clientTop}return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-c.scrollLeft*u.x+f.x,y:r.y*u.y-c.scrollTop*u.y+f.y}}function lf(e){return Array.from(e.getClientRects())}function fi(e,t){const r=yo(e).scrollLeft;return t?t.left+r:Cr(Zt(e)).left+r}function uf(e){const t=Zt(e),r=yo(e),n=e.ownerDocument.body,o=xr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=xr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let a=-r.scrollLeft+fi(e);const s=-r.scrollTop;return Yt(n).direction==="rtl"&&(a+=xr(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:a,y:s}}function df(e,t){const r=Dt(e),n=Zt(e),o=r.visualViewport;let i=n.clientWidth,a=n.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;const u=Wi();(!u||u&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s,y:c}}function ff(e,t){const r=Cr(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Xt(e)?Dr(e):ur(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,c=o*i.x,u=n*i.y;return{width:a,height:s,x:c,y:u}}function Ua(e,t,r){let n;if(t==="viewport")n=df(e,r);else if(t==="document")n=uf(Zt(e));else if(Ht(t))n=ff(t,r);else{const o=mc(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return Jn(n)}function vc(e,t){const r=dr(e);return r===t||!Ht(r)||Br(r)?!1:Yt(r).position==="fixed"||vc(r,t)}function pf(e,t){const r=t.get(e);if(r)return r;let n=rn(e,[],!1).filter(s=>Ht(s)&&Ur(s)!=="body"),o=null;const i=Yt(e).position==="fixed";let a=i?dr(e):e;for(;Ht(a)&&!Br(a);){const s=Yt(a),c=Bi(a);!c&&s.position==="fixed"&&(o=null),(i?!c&&!o:!c&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||vn(a)&&!c&&vc(e,a))?n=n.filter(f=>f!==a):o=s,a=dr(a)}return t.set(e,n),n}function hf(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?go(t)?[]:pf(t,this._c):[].concat(r),n],s=a[0],c=a.reduce((u,f)=>{const g=Ua(t,f,o);return u.top=xr(g.top,u.top),u.right=Vr(g.right,u.right),u.bottom=Vr(g.bottom,u.bottom),u.left=xr(g.left,u.left),u},Ua(t,s,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function gf(e){const{width:t,height:r}=yc(e);return{width:t,height:r}}function yf(e,t,r){const n=Xt(t),o=Zt(t),i=r==="fixed",a=Cr(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const c=ur(0);if(n||!n&&!i)if((Ur(t)!=="body"||vn(o))&&(s=yo(t)),n){const v=Cr(t,!0,i,t);c.x=v.x+t.clientLeft,c.y=v.y+t.clientTop}else o&&(c.x=fi(o));let u=0,f=0;if(o&&!n&&!i){const v=o.getBoundingClientRect();f=v.top+s.scrollTop,u=v.left+s.scrollLeft-fi(o,v)}const g=a.left+s.scrollLeft-c.x-u,m=a.top+s.scrollTop-c.y-f;return{x:g,y:m,width:a.width,height:a.height}}function Go(e){return Yt(e).position==="static"}function qa(e,t){if(!Xt(e)||Yt(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Zt(e)===r&&(r=r.ownerDocument.body),r}function bc(e,t){const r=Dt(e);if(go(e))return r;if(!Xt(e)){let o=dr(e);for(;o&&!Br(o);){if(Ht(o)&&!Go(o))return o;o=dr(o)}return r}let n=qa(e,t);for(;n&&nf(n)&&Go(n);)n=qa(n,t);return n&&Br(n)&&Go(n)&&!Bi(n)?r:n||of(e)||r}const mf=async function(e){const t=this.getOffsetParent||bc,r=this.getDimensions,n=await r(e.floating);return{reference:yf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function vf(e){return Yt(e).direction==="rtl"}const bf={convertOffsetParentRelativeRectToViewportRelativeRect:cf,getDocumentElement:Zt,getClippingRect:hf,getOffsetParent:bc,getElementRects:mf,getClientRects:lf,getDimensions:gf,getScale:Dr,isElement:Ht,isRTL:vf};function wf(e,t){let r=null,n;const o=Zt(e);function i(){var s;clearTimeout(n),(s=r)==null||s.disconnect(),r=null}function a(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),i();const{left:u,top:f,width:g,height:m}=e.getBoundingClientRect();if(s||t(),!g||!m)return;const v=Mn(f),w=Mn(o.clientWidth-(u+g)),S=Mn(o.clientHeight-(f+m)),T=Mn(u),C={rootMargin:-v+"px "+-w+"px "+-S+"px "+-T+"px",threshold:xr(0,Vr(1,c))||1};let P=!0;function I(M){const E=M[0].intersectionRatio;if(E!==c){if(!P)return a();E?a(!1,E):n=setTimeout(()=>{a(!1,1e-7)},1e3)}P=!1}try{r=new IntersectionObserver(I,{...C,root:o.ownerDocument})}catch{r=new IntersectionObserver(I,C)}r.observe(e)}return a(!0),i}function wc(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:c=!1}=n,u=Ui(e),f=o||i?[...u?rn(u):[],...rn(t)]:[];f.forEach($=>{o&&$.addEventListener("scroll",r,{passive:!0}),i&&$.addEventListener("resize",r)});const g=u&&s?wf(u,r):null;let m=-1,v=null;a&&(v=new ResizeObserver($=>{let[C]=$;C&&C.target===u&&v&&(v.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var P;(P=v)==null||P.observe(t)})),r()}),u&&!c&&v.observe(u),v.observe(t));let w,S=c?Cr(e):null;c&&T();function T(){const $=Cr(e);S&&($.x!==S.x||$.y!==S.y||$.width!==S.width||$.height!==S.height)&&r(),S=$,w=requestAnimationFrame(T)}return r(),()=>{var $;f.forEach(C=>{o&&C.removeEventListener("scroll",r),i&&C.removeEventListener("resize",r)}),g==null||g(),($=v)==null||$.disconnect(),v=null,c&&cancelAnimationFrame(w)}}const xc=tf,xf=rf,$c=Zd,$f=Xd,pi=(e,t,r)=>{const n=new Map,o={platform:bf,...r},i={...o.platform,_c:n};return Jd(e,t,{...o,platform:i})};var Bn=typeof document<"u"?y.useLayoutEffect:y.useEffect;function Xn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!Xn(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const i=o[n];if(!(i==="_owner"&&e.$$typeof)&&!Xn(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function _c(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ga(e,t){const r=_c(e);return Math.round(t*r)/r}function Ho(e){const t=dt.useRef(e);return Bn(()=>{t.current=e}),t}function _f(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:c,open:u}=e,[f,g]=dt.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[m,v]=dt.useState(n);Xn(m,n)||v(n);const[w,S]=dt.useState(null),[T,$]=dt.useState(null),C=dt.useCallback(B=>{B!==E.current&&(E.current=B,S(B))},[]),P=dt.useCallback(B=>{B!==R.current&&(R.current=B,$(B))},[]),I=i||w,M=a||T,E=dt.useRef(null),R=dt.useRef(null),F=dt.useRef(f),G=c!=null,K=Ho(c),pe=Ho(o),ve=Ho(u),se=dt.useCallback(()=>{if(!E.current||!R.current)return;const B={placement:t,strategy:r,middleware:m};pe.current&&(B.platform=pe.current),pi(E.current,R.current,B).then(ie=>{const H={...ie,isPositioned:ve.current!==!1};N.current&&!Xn(F.current,H)&&(F.current=H,Ql.flushSync(()=>{g(H)}))})},[m,t,r,pe,ve]);Bn(()=>{u===!1&&F.current.isPositioned&&(F.current.isPositioned=!1,g(B=>({...B,isPositioned:!1})))},[u]);const N=dt.useRef(!1);Bn(()=>(N.current=!0,()=>{N.current=!1}),[]),Bn(()=>{if(I&&(E.current=I),M&&(R.current=M),I&&M){if(K.current)return K.current(I,M,se);se()}},[I,M,se,K,G]);const J=dt.useMemo(()=>({reference:E,floating:R,setReference:C,setFloating:P}),[C,P]),z=dt.useMemo(()=>({reference:I,floating:M}),[I,M]),re=dt.useMemo(()=>{const B={position:r,left:0,top:0};if(!z.floating)return B;const ie=Ga(z.floating,f.x),H=Ga(z.floating,f.y);return s?{...B,transform:"translate("+ie+"px, "+H+"px)",..._c(z.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:ie,top:H}},[r,s,z.floating,f.x,f.y]);return dt.useMemo(()=>({...f,update:se,refs:J,elements:z,floatingStyles:re}),[f,se,J,z,re])}const Sf=(e,t)=>({...xc(e),options:[e,t]}),Cf=(e,t)=>({...$c(e),options:[e,t]});var Ef=Object.prototype;function kf(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Ef;return e===r}var Sc=kf;function Af(e,t){return function(r){return e(t(r))}}var Tf=Af,Of=Tf,Rf=Of(Object.keys,Object),jf=Rf,Pf=Sc,Df=jf,If=Object.prototype,Mf=If.hasOwnProperty;function Lf(e){if(!Pf(e))return Df(e);var t=[];for(var r in Object(e))Mf.call(e,r)&&r!="constructor"&&t.push(r);return t}var Nf=Lf,Ff=typeof Rn=="object"&&Rn&&Rn.Object===Object&&Rn,Cc=Ff,Vf=Cc,zf=typeof self=="object"&&self&&self.Object===Object&&self,Bf=Vf||zf||Function("return this")(),pr=Bf,Wf=pr,Uf=Wf.Symbol,Ec=Uf,Ha=Ec,kc=Object.prototype,qf=kc.hasOwnProperty,Gf=kc.toString,Zr=Ha?Ha.toStringTag:void 0;function Hf(e){var t=qf.call(e,Zr),r=e[Zr];try{e[Zr]=void 0;var n=!0}catch{}var o=Gf.call(e);return n&&(t?e[Zr]=r:delete e[Zr]),o}var Yf=Hf,Qf=Object.prototype,Kf=Qf.toString;function Jf(e){return Kf.call(e)}var Xf=Jf,Ya=Ec,Zf=Yf,ep=Xf,tp="[object Null]",rp="[object Undefined]",Qa=Ya?Ya.toStringTag:void 0;function np(e){return e==null?e===void 0?rp:tp:Qa&&Qa in Object(e)?Zf(e):ep(e)}var mo=np;function op(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ac=op,ip=mo,ap=Ac,sp="[object AsyncFunction]",cp="[object Function]",lp="[object GeneratorFunction]",up="[object Proxy]";function dp(e){if(!ap(e))return!1;var t=ip(e);return t==cp||t==lp||t==sp||t==up}var Tc=dp,fp=pr,pp=fp["__core-js_shared__"],hp=pp,Yo=hp,Ka=function(){var e=/[^.]+$/.exec(Yo&&Yo.keys&&Yo.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function gp(e){return!!Ka&&Ka in e}var yp=gp,mp=Function.prototype,vp=mp.toString;function bp(e){if(e!=null){try{return vp.call(e)}catch{}try{return e+""}catch{}}return""}var Oc=bp,wp=Tc,xp=yp,$p=Ac,_p=Oc,Sp=/[\\^$.*+?()[\]{}|]/g,Cp=/^\[object .+?Constructor\]$/,Ep=Function.prototype,kp=Object.prototype,Ap=Ep.toString,Tp=kp.hasOwnProperty,Op=RegExp("^"+Ap.call(Tp).replace(Sp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Rp(e){if(!$p(e)||xp(e))return!1;var t=wp(e)?Op:Cp;return t.test(_p(e))}var jp=Rp;function Pp(e,t){return e==null?void 0:e[t]}var Dp=Pp,Ip=jp,Mp=Dp;function Lp(e,t){var r=Mp(e,t);return Ip(r)?r:void 0}var bn=Lp,Np=bn,Fp=pr,Vp=Np(Fp,"DataView"),zp=Vp,Bp=bn,Wp=pr,Up=Bp(Wp,"Map"),qp=Up,Gp=bn,Hp=pr,Yp=Gp(Hp,"Promise"),Qp=Yp,Kp=bn,Jp=pr,Xp=Kp(Jp,"Set"),Zp=Xp,eh=bn,th=pr,rh=eh(th,"WeakMap"),nh=rh,hi=zp,gi=qp,yi=Qp,mi=Zp,vi=nh,Rc=mo,qr=Oc,Ja="[object Map]",oh="[object Object]",Xa="[object Promise]",Za="[object Set]",es="[object WeakMap]",ts="[object DataView]",ih=qr(hi),ah=qr(gi),sh=qr(yi),ch=qr(mi),lh=qr(vi),yr=Rc;(hi&&yr(new hi(new ArrayBuffer(1)))!=ts||gi&&yr(new gi)!=Ja||yi&&yr(yi.resolve())!=Xa||mi&&yr(new mi)!=Za||vi&&yr(new vi)!=es)&&(yr=function(e){var t=Rc(e),r=t==oh?e.constructor:void 0,n=r?qr(r):"";if(n)switch(n){case ih:return ts;case ah:return Ja;case sh:return Xa;case ch:return Za;case lh:return es}return t});var uh=yr;function dh(e){return e!=null&&typeof e=="object"}var qi=dh,fh=mo,ph=qi,hh="[object Arguments]";function gh(e){return ph(e)&&fh(e)==hh}var yh=gh,rs=yh,mh=qi,jc=Object.prototype,vh=jc.hasOwnProperty,bh=jc.propertyIsEnumerable,wh=rs(function(){return arguments}())?rs:function(e){return mh(e)&&vh.call(e,"callee")&&!bh.call(e,"callee")},xh=wh,$h=Array.isArray,_h=$h,Sh=9007199254740991;function Ch(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Sh}var Pc=Ch,Eh=Tc,kh=Pc;function Ah(e){return e!=null&&kh(e.length)&&!Eh(e)}var Th=Ah,Zn={exports:{}};function Oh(){return!1}var Rh=Oh;Zn.exports;(function(e,t){var r=pr,n=Rh,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a?r.Buffer:void 0,c=s?s.isBuffer:void 0,u=c||n;e.exports=u})(Zn,Zn.exports);var jh=Zn.exports,Ph=mo,Dh=Pc,Ih=qi,Mh="[object Arguments]",Lh="[object Array]",Nh="[object Boolean]",Fh="[object Date]",Vh="[object Error]",zh="[object Function]",Bh="[object Map]",Wh="[object Number]",Uh="[object Object]",qh="[object RegExp]",Gh="[object Set]",Hh="[object String]",Yh="[object WeakMap]",Qh="[object ArrayBuffer]",Kh="[object DataView]",Jh="[object Float32Array]",Xh="[object Float64Array]",Zh="[object Int8Array]",eg="[object Int16Array]",tg="[object Int32Array]",rg="[object Uint8Array]",ng="[object Uint8ClampedArray]",og="[object Uint16Array]",ig="[object Uint32Array]",De={};De[Jh]=De[Xh]=De[Zh]=De[eg]=De[tg]=De[rg]=De[ng]=De[og]=De[ig]=!0;De[Mh]=De[Lh]=De[Qh]=De[Nh]=De[Kh]=De[Fh]=De[Vh]=De[zh]=De[Bh]=De[Wh]=De[Uh]=De[qh]=De[Gh]=De[Hh]=De[Yh]=!1;function ag(e){return Ih(e)&&Dh(e.length)&&!!De[Ph(e)]}var sg=ag;function cg(e){return function(t){return e(t)}}var lg=cg,eo={exports:{}};eo.exports;(function(e,t){var r=Cc,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,a=i&&r.process,s=function(){try{var c=o&&o.require&&o.require("util").types;return c||a&&a.binding&&a.binding("util")}catch{}}();e.exports=s})(eo,eo.exports);var ug=eo.exports,dg=sg,fg=lg,ns=ug,os=ns&&ns.isTypedArray,pg=os?fg(os):dg,hg=pg,gg=Nf,yg=uh,mg=xh,vg=_h,bg=Th,wg=jh,xg=Sc,$g=hg,_g="[object Map]",Sg="[object Set]",Cg=Object.prototype,Eg=Cg.hasOwnProperty;function kg(e){if(e==null)return!0;if(bg(e)&&(vg(e)||typeof e=="string"||typeof e.splice=="function"||wg(e)||$g(e)||mg(e)))return!e.length;var t=yg(e);if(t==_g||t==Sg)return!e.size;if(xg(e))return!gg(e).length;for(var r in e)if(Eg.call(e,r))return!1;return!0}var Ag=kg;const Wn=Ls(Ag);var Dc={exports:{}};/*!
|
|
444
455
|
Copyright (c) 2018 Jed Watson.
|
|
445
456
|
Licensed under the MIT License (MIT), see
|
|
446
457
|
http://jedwatson.github.io/classnames
|
|
447
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",a=0;a<arguments.length;a++){var
|
|
458
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(i=o(i,n(s)))}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 s in i)t.call(i,s)&&i[s]&&(a=o(a,s));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 bi=Ls(Tg);/*
|
|
448
459
|
* React Tooltip
|
|
449
460
|
* {@link https://github.com/ReactTooltip/react-tooltip}
|
|
450
461
|
* @copyright ReactTooltip Team
|
|
451
462
|
* @license MIT
|
|
452
|
-
*/const og="react-tooltip-core-styles",ig="react-tooltip-base-styles",za={core:!1,base:!1};function Ba({css:e,id:t=ig,type:r="base",ref:n}){var o,i;if(!e||typeof document>"u"||za[r]||r==="core"&&typeof process<"u"&&(!((o=process==null?void 0:process.env)===null||o===void 0)&&o.REACT_TOOLTIP_DISABLE_CORE_STYLES)||r!=="base"&&typeof process<"u"&&(!((i=process==null?void 0:process.env)===null||i===void 0)&&i.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;r==="core"&&(t=og),n||(n={});const{insertAt:a}=n;if(document.getElementById(t))return;const c=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.id=t,u.type="text/css",a==="top"&&c.firstChild?c.insertBefore(u,c.firstChild):c.appendChild(u),u.styleSheet?u.styleSheet.cssText=e:u.appendChild(document.createTextNode(e)),za[r]=!0}const Wa=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:n="top",offset:o=10,strategy:i="absolute",middlewares:a=[ec(Number(o)),tc({fallbackAxisSideDirection:"start"}),Qd({padding:5})],border:c})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const u=a;return r?(u.push(Jd({element:r,padding:5})),Ca(e,t,{placement:n,strategy:i,middleware:u}).then(({x:f,y:h,placement:m,middlewareData:_})=>{var v,S;const k={left:`${f}px`,top:`${h}px`,border:c},{x:P,y:E}=(v=_.arrow)!==null&&v!==void 0?v:{x:0,y:0},O=(S={top:"bottom",right:"left",bottom:"top",left:"right"}[m.split("-")[0]])!==null&&S!==void 0?S:"bottom",R=c&&{borderBottom:c,borderRight:c};let L=0;if(c){const D=`${c}`.match(/(\d+)px/);L=D!=null&&D[1]?Number(D[1]):1}return{tooltipStyles:k,tooltipArrowStyles:{left:P!=null?`${P}px`:"",top:E!=null?`${E}px`:"",right:"",bottom:"",...R,[O]:`-${4+L}px`},place:m}})):Ca(e,t,{placement:"bottom",strategy:i,middleware:u}).then(({x:f,y:h,placement:m})=>({tooltipStyles:{left:`${f}px`,top:`${h}px`},tooltipArrowStyles:{},place:m}))},Ua=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),qa=(e,t,r)=>{let n=null;const o=function(...i){const a=()=>{n=null};!n&&(e.apply(this,i),n=setTimeout(a,t))};return o.cancel=()=>{n&&(clearTimeout(n),n=null)},o},Ga=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",ii=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((o,i)=>ii(o,t[i]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!Ga(e)||!Ga(t))return e===t;const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(o=>ii(e[o],t[o]))},ag=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(r=>{const n=t.getPropertyValue(r);return n==="auto"||n==="scroll"})},Ha=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(ag(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},sg=typeof window<"u"?b.useLayoutEffect:b.useEffect,Lt=e=>{e.current&&(clearTimeout(e.current),e.current=null)},cg="DEFAULT_TOOLTIP_ID",lg={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},ug=b.createContext({getTooltipData:()=>lg});function pc(e=cg){return b.useContext(ug).getTooltipData(e)}var Er={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},Mo={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const dg=({forwardRef:e,id:t,className:r,classNameArrow:n,variant:o="dark",anchorId:i,anchorSelect:a,place:c="top",offset:u=10,events:f=["hover"],openOnClick:h=!1,positionStrategy:m="absolute",middlewares:_,wrapper:v,delayShow:S=0,delayHide:k=0,float:P=!1,hidden:E=!1,noArrow:O=!1,clickable:R=!1,closeOnEsc:L=!1,closeOnScroll:D=!1,closeOnResize:F=!1,openEvents:I,closeEvents:be,globalCloseEvents:we,imperativeModeOnly:he,style:Fe,position:Le,afterShow:_e,afterHide:K,disableTooltip:Ee,content:se,contentWrapperRef:ce,isOpen:le,defaultIsOpen:oe=!1,setIsOpen:H,activeAnchor:ue,setActiveAnchor:me,border:Y,opacity:at,arrowColor:tt,role:qe="tooltip"})=>{var Ge;const fe=b.useRef(null),xe=b.useRef(null),Te=b.useRef(null),Be=b.useRef(null),Pe=b.useRef(null),[dt,jt]=b.useState({tooltipStyles:{},tooltipArrowStyles:{},place:c}),[Ae,ft]=b.useState(!1),[Je,pt]=b.useState(!1),[pe,ht]=b.useState(null),gt=b.useRef(!1),mt=b.useRef(null),{anchorRefs:Ot,setActiveAnchor:rt}=pc(t),st=b.useRef(!1),[yt,Ke]=b.useState([]),$t=b.useRef(!1),St=h||f.includes("click"),Pt=St||(I==null?void 0:I.click)||(I==null?void 0:I.dblclick)||(I==null?void 0:I.mousedown),He=I?{...I}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!I&&St&&Object.assign(He,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const It=be?{...be}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!be&&St&&Object.assign(It,{mouseleave:!1,blur:!1,mouseout:!1});const nt=we?{...we}:{escape:L||!1,scroll:D||!1,resize:F||!1,clickOutsideAnchor:Pt||!1};he&&(Object.assign(He,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(It,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(nt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),sg(()=>($t.current=!0,()=>{$t.current=!1}),[]);const $e=j=>{$t.current&&(j&&pt(!0),setTimeout(()=>{$t.current&&(H==null||H(j),le===void 0&&ft(j))},10))};b.useEffect(()=>{if(le===void 0)return()=>null;le&&pt(!0);const j=setTimeout(()=>{ft(le)},10);return()=>{clearTimeout(j)}},[le]),b.useEffect(()=>{if(Ae!==gt.current)if(Lt(Pe),gt.current=Ae,Ae)_e==null||_e();else{const j=(B=>{const U=B.match(/^([\d.]+)(ms|s)$/);if(!U)return 0;const[,Ce,De]=U;return Number(Ce)*(De==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Pe.current=setTimeout(()=>{pt(!1),ht(null),K==null||K()},j+25)}},[Ae]);const Vt=j=>{jt(B=>ii(B,j)?B:j)},zt=(j=S)=>{Lt(Te),Je?$e(!0):Te.current=setTimeout(()=>{$e(!0)},j)},vt=(j=k)=>{Lt(Be),Be.current=setTimeout(()=>{st.current||$e(!1)},j)},bt=j=>{var B;if(!j)return;const U=(B=j.currentTarget)!==null&&B!==void 0?B:j.target;if(!(U!=null&&U.isConnected))return me(null),void rt({current:null});S?zt():$e(!0),me(U),rt({current:U}),Lt(Be)},Ye=()=>{R?vt(k||100):k?vt():$e(!1),Lt(Te)},ct=({x:j,y:B})=>{var U;const Ce={getBoundingClientRect:()=>({x:j,y:B,width:0,height:0,top:B,left:j,right:j,bottom:B})};Wa({place:(U=pe==null?void 0:pe.place)!==null&&U!==void 0?U:c,offset:u,elementReference:Ce,tooltipReference:fe.current,tooltipArrowReference:xe.current,strategy:m,middlewares:_,border:Y}).then(De=>{Vt(De)})},We=j=>{if(!j)return;const B=j,U={x:B.clientX,y:B.clientY};ct(U),mt.current=U},Qe=j=>{var B;if(!Ae)return;const U=j.target;U.isConnected&&(!((B=fe.current)===null||B===void 0)&&B.contains(U)||[document.querySelector(`[id='${i}']`),...yt].some(Ce=>Ce==null?void 0:Ce.contains(U))||($e(!1),Lt(Te)))},Et=qa(bt,50),Se=qa(Ye,50),Xe=j=>{Se.cancel(),Et(j)},V=()=>{Et.cancel(),Se()},ee=b.useCallback(()=>{var j,B;const U=(j=pe==null?void 0:pe.position)!==null&&j!==void 0?j:Le;U?ct(U):P?mt.current&&ct(mt.current):ue!=null&&ue.isConnected&&Wa({place:(B=pe==null?void 0:pe.place)!==null&&B!==void 0?B:c,offset:u,elementReference:ue,tooltipReference:fe.current,tooltipArrowReference:xe.current,strategy:m,middlewares:_,border:Y}).then(Ce=>{$t.current&&Vt(Ce)})},[Ae,ue,se,Fe,c,pe==null?void 0:pe.place,u,m,Le,pe==null?void 0:pe.position,P]);b.useEffect(()=>{var j,B;const U=new Set(Ot);yt.forEach(W=>{Ee!=null&&Ee(W)||U.add({current:W})});const Ce=document.querySelector(`[id='${i}']`);Ce&&!(Ee!=null&&Ee(Ce))&&U.add({current:Ce});const De=()=>{$e(!1)},lt=Ha(ue),ke=Ha(fe.current);nt.scroll&&(window.addEventListener("scroll",De),lt==null||lt.addEventListener("scroll",De),ke==null||ke.addEventListener("scroll",De));let d=null;nt.resize?window.addEventListener("resize",De):ue&&fe.current&&(d=Yd(ue,fe.current,ee,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const w=W=>{W.key==="Escape"&&$e(!1)};nt.escape&&window.addEventListener("keydown",w),nt.clickOutsideAnchor&&window.addEventListener("click",Qe);const A=[],z=W=>{Ae&&(W==null?void 0:W.target)===ue||bt(W)},ae=W=>{Ae&&(W==null?void 0:W.target)===ue&&Ye()},re=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],X=["click","dblclick","mousedown","mouseup"];Object.entries(He).forEach(([W,de])=>{de&&(re.includes(W)?A.push({event:W,listener:Xe}):X.includes(W)&&A.push({event:W,listener:z}))}),Object.entries(It).forEach(([W,de])=>{de&&(re.includes(W)?A.push({event:W,listener:V}):X.includes(W)&&A.push({event:W,listener:ae}))}),P&&A.push({event:"pointermove",listener:We});const J=()=>{st.current=!0},Ne=()=>{st.current=!1,Ye()};return R&&!Pt&&((j=fe.current)===null||j===void 0||j.addEventListener("mouseenter",J),(B=fe.current)===null||B===void 0||B.addEventListener("mouseleave",Ne)),A.forEach(({event:W,listener:de})=>{U.forEach(Oe=>{var Ze;(Ze=Oe.current)===null||Ze===void 0||Ze.addEventListener(W,de)})}),()=>{var W,de;nt.scroll&&(window.removeEventListener("scroll",De),lt==null||lt.removeEventListener("scroll",De),ke==null||ke.removeEventListener("scroll",De)),nt.resize?window.removeEventListener("resize",De):d==null||d(),nt.clickOutsideAnchor&&window.removeEventListener("click",Qe),nt.escape&&window.removeEventListener("keydown",w),R&&!Pt&&((W=fe.current)===null||W===void 0||W.removeEventListener("mouseenter",J),(de=fe.current)===null||de===void 0||de.removeEventListener("mouseleave",Ne)),A.forEach(({event:Oe,listener:Ze})=>{U.forEach(Jt=>{var ot;(ot=Jt.current)===null||ot===void 0||ot.removeEventListener(Oe,Ze)})})}},[ue,ee,Je,Ot,yt,I,be,we,St,S,k]),b.useEffect(()=>{var j,B;let U=(B=(j=pe==null?void 0:pe.anchorSelect)!==null&&j!==void 0?j:a)!==null&&B!==void 0?B:"";!U&&t&&(U=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const Ce=new MutationObserver(De=>{const lt=[],ke=[];De.forEach(d=>{if(d.type==="attributes"&&d.attributeName==="data-tooltip-id"&&(d.target.getAttribute("data-tooltip-id")===t?lt.push(d.target):d.oldValue===t&&ke.push(d.target)),d.type==="childList"){if(ue){const w=[...d.removedNodes].filter(A=>A.nodeType===1);if(U)try{ke.push(...w.filter(A=>A.matches(U))),ke.push(...w.flatMap(A=>[...A.querySelectorAll(U)]))}catch{}w.some(A=>{var z;return!!(!((z=A==null?void 0:A.contains)===null||z===void 0)&&z.call(A,ue))&&(pt(!1),$e(!1),me(null),Lt(Te),Lt(Be),!0)})}if(U)try{const w=[...d.addedNodes].filter(A=>A.nodeType===1);lt.push(...w.filter(A=>A.matches(U))),lt.push(...w.flatMap(A=>[...A.querySelectorAll(U)]))}catch{}}}),(lt.length||ke.length)&&Ke(d=>[...d.filter(w=>!ke.includes(w)),...lt])});return Ce.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Ce.disconnect()}},[t,a,pe==null?void 0:pe.anchorSelect,ue]),b.useEffect(()=>{ee()},[ee]),b.useEffect(()=>{if(!(ce!=null&&ce.current))return()=>null;const j=new ResizeObserver(()=>{setTimeout(()=>ee())});return j.observe(ce.current),()=>{j.disconnect()}},[se,ce==null?void 0:ce.current]),b.useEffect(()=>{var j;const B=document.querySelector(`[id='${i}']`),U=[...yt,B];ue&&U.includes(ue)||me((j=yt[0])!==null&&j!==void 0?j:B)},[i,yt,ue]),b.useEffect(()=>(oe&&$e(!0),()=>{Lt(Te),Lt(Be)}),[]),b.useEffect(()=>{var j;let B=(j=pe==null?void 0:pe.anchorSelect)!==null&&j!==void 0?j:a;if(!B&&t&&(B=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),B)try{const U=Array.from(document.querySelectorAll(B));Ke(U)}catch{Ke([])}},[t,a,pe==null?void 0:pe.anchorSelect]),b.useEffect(()=>{Te.current&&(Lt(Te),zt(S))},[S]);const Ie=(Ge=pe==null?void 0:pe.content)!==null&&Ge!==void 0?Ge:se,wt=Ae&&Object.keys(dt.tooltipStyles).length>0;return b.useImperativeHandle(e,()=>({open:j=>{if(j!=null&&j.anchorSelect)try{document.querySelector(j.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${j.anchorSelect}" is not a valid CSS selector`)}ht(j??null),j!=null&&j.delay?zt(j.delay):$e(!0)},close:j=>{j!=null&&j.delay?vt(j.delay):$e(!1)},activeAnchor:ue,place:dt.place,isOpen:!!(Je&&!E&&Ie&&wt)})),Je&&!E&&Ie?b.createElement(v,{id:t,role:qe,className:oi("react-tooltip",Er.tooltip,Mo.tooltip,Mo[o],r,`react-tooltip__place-${dt.place}`,Er[wt?"show":"closing"],wt?"react-tooltip__show":"react-tooltip__closing",m==="fixed"&&Er.fixed,R&&Er.clickable),onTransitionEnd:j=>{Lt(Pe),Ae||j.propertyName!=="opacity"||(pt(!1),ht(null),K==null||K())},style:{...Fe,...dt.tooltipStyles,opacity:at!==void 0&&wt?at:void 0},ref:fe},Ie,b.createElement(v,{className:oi("react-tooltip-arrow",Er.arrow,Mo.arrow,n,O&&Er.noArrow),style:{...dt.tooltipArrowStyles,background:tt?`linear-gradient(to right bottom, transparent 50%, ${tt} 50%)`:void 0},ref:xe})):null},fg=({content:e})=>b.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),pg=b.forwardRef(({id:e,anchorId:t,anchorSelect:r,content:n,html:o,render:i,className:a,classNameArrow:c,variant:u="dark",place:f="top",offset:h=10,wrapper:m="div",children:_=null,events:v=["hover"],openOnClick:S=!1,positionStrategy:k="absolute",middlewares:P,delayShow:E=0,delayHide:O=0,float:R=!1,hidden:L=!1,noArrow:D=!1,clickable:F=!1,closeOnEsc:I=!1,closeOnScroll:be=!1,closeOnResize:we=!1,openEvents:he,closeEvents:Fe,globalCloseEvents:Le,imperativeModeOnly:_e=!1,style:K,position:Ee,isOpen:se,defaultIsOpen:ce=!1,disableStyleInjection:le=!1,border:oe,opacity:H,arrowColor:ue,setIsOpen:me,afterShow:Y,afterHide:at,disableTooltip:tt,role:qe="tooltip"},Ge)=>{const[fe,xe]=b.useState(n),[Te,Be]=b.useState(o),[Pe,dt]=b.useState(f),[jt,Ae]=b.useState(u),[ft,Je]=b.useState(h),[pt,pe]=b.useState(E),[ht,gt]=b.useState(O),[mt,Ot]=b.useState(R),[rt,st]=b.useState(L),[yt,Ke]=b.useState(m),[$t,St]=b.useState(v),[Pt,He]=b.useState(k),[It,nt]=b.useState(null),[$e,Vt]=b.useState(null),zt=b.useRef(le),{anchorRefs:vt,activeAnchor:bt}=pc(e),Ye=Se=>Se==null?void 0:Se.getAttributeNames().reduce((Xe,V)=>{var ee;return V.startsWith("data-tooltip-")&&(Xe[V.replace(/^data-tooltip-/,"")]=(ee=Se==null?void 0:Se.getAttribute(V))!==null&&ee!==void 0?ee:null),Xe},{}),ct=Se=>{const Xe={place:V=>{var ee;dt((ee=V)!==null&&ee!==void 0?ee:f)},content:V=>{xe(V??n)},html:V=>{Be(V??o)},variant:V=>{var ee;Ae((ee=V)!==null&&ee!==void 0?ee:u)},offset:V=>{Je(V===null?h:Number(V))},wrapper:V=>{var ee;Ke((ee=V)!==null&&ee!==void 0?ee:m)},events:V=>{const ee=V==null?void 0:V.split(" ");St(ee??v)},"position-strategy":V=>{var ee;He((ee=V)!==null&&ee!==void 0?ee:k)},"delay-show":V=>{pe(V===null?E:Number(V))},"delay-hide":V=>{gt(V===null?O:Number(V))},float:V=>{Ot(V===null?R:V==="true")},hidden:V=>{st(V===null?L:V==="true")},"class-name":V=>{nt(V)}};Object.values(Xe).forEach(V=>V(null)),Object.entries(Se).forEach(([V,ee])=>{var Ie;(Ie=Xe[V])===null||Ie===void 0||Ie.call(Xe,ee)})};b.useEffect(()=>{xe(n)},[n]),b.useEffect(()=>{Be(o)},[o]),b.useEffect(()=>{dt(f)},[f]),b.useEffect(()=>{Ae(u)},[u]),b.useEffect(()=>{Je(h)},[h]),b.useEffect(()=>{pe(E)},[E]),b.useEffect(()=>{gt(O)},[O]),b.useEffect(()=>{Ot(R)},[R]),b.useEffect(()=>{st(L)},[L]),b.useEffect(()=>{He(k)},[k]),b.useEffect(()=>{zt.current!==le&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[le]),b.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:le==="core",disableBase:le}}))},[]),b.useEffect(()=>{var Se;const Xe=new Set(vt);let V=r;if(!V&&e&&(V=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),V)try{document.querySelectorAll(V).forEach(B=>{Xe.add({current:B})})}catch{console.warn(`[react-tooltip] "${V}" is not a valid CSS selector`)}const ee=document.querySelector(`[id='${t}']`);if(ee&&Xe.add({current:ee}),!Xe.size)return()=>null;const Ie=(Se=$e??ee)!==null&&Se!==void 0?Se:bt.current,wt=new MutationObserver(B=>{B.forEach(U=>{var Ce;if(!Ie||U.type!=="attributes"||!(!((Ce=U.attributeName)===null||Ce===void 0)&&Ce.startsWith("data-tooltip-")))return;const De=Ye(Ie);ct(De)})}),j={attributes:!0,childList:!1,subtree:!1};if(Ie){const B=Ye(Ie);ct(B),wt.observe(Ie,j)}return()=>{wt.disconnect()}},[vt,bt,$e,t,r]),b.useEffect(()=>{K!=null&&K.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),oe&&!Ua("border",`${oe}`)&&console.warn(`[react-tooltip] "${oe}" is not a valid \`border\`.`),K!=null&&K.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),H&&!Ua("opacity",`${H}`)&&console.warn(`[react-tooltip] "${H}" is not a valid \`opacity\`.`)},[]);let We=_;const Qe=b.useRef(null);if(i){const Se=i({content:($e==null?void 0:$e.getAttribute("data-tooltip-content"))||fe||null,activeAnchor:$e});We=Se?b.createElement("div",{ref:Qe,className:"react-tooltip-content-wrapper"},Se):null}else fe&&(We=fe);Te&&(We=b.createElement(fg,{content:Te}));const Et={forwardRef:Ge,id:e,anchorId:t,anchorSelect:r,className:oi(a,It),classNameArrow:c,content:We,contentWrapperRef:Qe,place:Pe,variant:jt,offset:ft,wrapper:yt,events:$t,openOnClick:S,positionStrategy:Pt,middlewares:P,delayShow:pt,delayHide:ht,float:mt,hidden:rt,noArrow:D,clickable:F,closeOnEsc:I,closeOnScroll:be,closeOnResize:we,openEvents:he,closeEvents:Fe,globalCloseEvents:Le,imperativeModeOnly:_e,style:K,position:Ee,isOpen:se,defaultIsOpen:ce,border:oe,opacity:H,arrowColor:ue,setIsOpen:me,afterShow:Y,afterHide:at,disableTooltip:tt,activeAnchor:$e,setActiveAnchor:Se=>Vt(Se),role:qe};return b.createElement(dg,{...Et})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||Ba({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||Ba({css:`
|
|
453
|
-
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});const
|
|
463
|
+
*/const Og="react-tooltip-core-styles",Rg="react-tooltip-base-styles",is={core:!1,base:!1};function as({css:e,id:t=Rg,type:r="base",ref:n}){var o,i;if(!e||typeof document>"u"||is[r]||r==="core"&&typeof process<"u"&&(!((o=process==null?void 0:process.env)===null||o===void 0)&&o.REACT_TOOLTIP_DISABLE_CORE_STYLES)||r!=="base"&&typeof process<"u"&&(!((i=process==null?void 0:process.env)===null||i===void 0)&&i.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;r==="core"&&(t=Og),n||(n={});const{insertAt:a}=n;if(document.getElementById(t))return;const s=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.id=t,c.type="text/css",a==="top"&&s.firstChild?s.insertBefore(c,s.firstChild):s.appendChild(c),c.styleSheet?c.styleSheet.cssText=e:c.appendChild(document.createTextNode(e)),is[r]=!0}const ss=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:n="top",offset:o=10,strategy:i="absolute",middlewares:a=[xc(Number(o)),$c({fallbackAxisSideDirection:"start"}),xf({padding:5})],border:s})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const c=a;return r?(c.push($f({element:r,padding:5})),pi(e,t,{placement:n,strategy:i,middleware:c}).then(({x:u,y:f,placement:g,middlewareData:m})=>{var v,w;const S={left:`${u}px`,top:`${f}px`,border:s},{x:T,y:$}=(v=m.arrow)!==null&&v!==void 0?v:{x:0,y:0},C=(w={top:"bottom",right:"left",bottom:"top",left:"right"}[g.split("-")[0]])!==null&&w!==void 0?w:"bottom",P=s&&{borderBottom:s,borderRight:s};let I=0;if(s){const M=`${s}`.match(/(\d+)px/);I=M!=null&&M[1]?Number(M[1]):1}return{tooltipStyles:S,tooltipArrowStyles:{left:T!=null?`${T}px`:"",top:$!=null?`${$}px`:"",right:"",bottom:"",...P,[C]:`-${4+I}px`},place:g}})):pi(e,t,{placement:"bottom",strategy:i,middleware:c}).then(({x:u,y:f,placement:g})=>({tooltipStyles:{left:`${u}px`,top:`${f}px`},tooltipArrowStyles:{},place:g}))},cs=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),ls=(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},us=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",wi=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((o,i)=>wi(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=>wi(e[o],t[o]))},jg=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"})},ds=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(jg(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Pg=typeof window<"u"?y.useLayoutEffect:y.useEffect,Ft=e=>{e.current&&(clearTimeout(e.current),e.current=null)},Dg="DEFAULT_TOOLTIP_ID",Ig={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},Mg=y.createContext({getTooltipData:()=>Ig});function Ic(e=Dg){return y.useContext(Mg).getTooltipData(e)}var Or={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"},Qo={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:s="top",offset:c=10,events:u=["hover"],openOnClick:f=!1,positionStrategy:g="absolute",middlewares:m,wrapper:v,delayShow:w=0,delayHide:S=0,float:T=!1,hidden:$=!1,noArrow:C=!1,clickable:P=!1,closeOnEsc:I=!1,closeOnScroll:M=!1,closeOnResize:E=!1,openEvents:R,closeEvents:F,globalCloseEvents:G,imperativeModeOnly:K,style:pe,position:ve,afterShow:se,afterHide:N,disableTooltip:J,content:z,contentWrapperRef:re,isOpen:B,defaultIsOpen:ie=!1,setIsOpen:H,activeAnchor:ye,setActiveAnchor:$e,border:ne,opacity:st,arrowColor:tt,role:qe="tooltip"})=>{var Ge;const be=y.useRef(null),Ce=y.useRef(null),Ae=y.useRef(null),Be=y.useRef(null),Ie=y.useRef(null),[gt,It]=y.useState({tooltipStyles:{},tooltipArrowStyles:{},place:s}),[Te,yt]=y.useState(!1),[Ke,mt]=y.useState(!1),[we,vt]=y.useState(null),bt=y.useRef(!1),wt=y.useRef(null),{anchorRefs:jt,setActiveAnchor:rt}=Ic(t),ct=y.useRef(!1),[xt,Je]=y.useState([]),Et=y.useRef(!1),kt=f||u.includes("click"),Mt=kt||(R==null?void 0:R.click)||(R==null?void 0:R.dblclick)||(R==null?void 0:R.mousedown),He=R?{...R}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!R&&kt&&Object.assign(He,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Lt=F?{...F}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!F&&kt&&Object.assign(Lt,{mouseleave:!1,blur:!1,mouseout:!1});const nt=G?{...G}:{escape:I||!1,scroll:M||!1,resize:E||!1,clickOutsideAnchor:Mt||!1};K&&(Object.assign(He,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Lt,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(nt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Pg(()=>(Et.current=!0,()=>{Et.current=!1}),[]);const Ee=L=>{Et.current&&(L&&mt(!0),setTimeout(()=>{Et.current&&(H==null||H(L),B===void 0&&yt(L))},10))};y.useEffect(()=>{if(B===void 0)return()=>null;B&&mt(!0);const L=setTimeout(()=>{yt(B)},10);return()=>{clearTimeout(L)}},[B]),y.useEffect(()=>{if(Te!==bt.current)if(Ft(Ie),bt.current=Te,Te)se==null||se();else{const L=(Y=>{const X=Y.match(/^([\d.]+)(ms|s)$/);if(!X)return 0;const[,Oe,Ne]=X;return Number(Oe)*(Ne==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Ie.current=setTimeout(()=>{mt(!1),vt(null),N==null||N()},L+25)}},[Te]);const Wt=L=>{It(Y=>wi(Y,L)?Y:L)},Ut=(L=w)=>{Ft(Ae),Ke?Ee(!0):Ae.current=setTimeout(()=>{Ee(!0)},L)},$t=(L=S)=>{Ft(Be),Be.current=setTimeout(()=>{ct.current||Ee(!1)},L)},_t=L=>{var Y;if(!L)return;const X=(Y=L.currentTarget)!==null&&Y!==void 0?Y:L.target;if(!(X!=null&&X.isConnected))return $e(null),void rt({current:null});w?Ut():Ee(!0),$e(X),rt({current:X}),Ft(Be)},Ye=()=>{P?$t(S||100):S?$t():Ee(!1),Ft(Ae)},lt=({x:L,y:Y})=>{var X;const Oe={getBoundingClientRect:()=>({x:L,y:Y,width:0,height:0,top:Y,left:L,right:L,bottom:Y})};ss({place:(X=we==null?void 0:we.place)!==null&&X!==void 0?X:s,offset:c,elementReference:Oe,tooltipReference:be.current,tooltipArrowReference:Ce.current,strategy:g,middlewares:m,border:ne}).then(Ne=>{Wt(Ne)})},We=L=>{if(!L)return;const Y=L,X={x:Y.clientX,y:Y.clientY};lt(X),wt.current=X},Qe=L=>{var Y;if(!Te)return;const X=L.target;X.isConnected&&(!((Y=be.current)===null||Y===void 0)&&Y.contains(X)||[document.querySelector(`[id='${i}']`),...xt].some(Oe=>Oe==null?void 0:Oe.contains(X))||(Ee(!1),Ft(Ae)))},At=ls(_t,50),ke=ls(Ye,50),Xe=L=>{ke.cancel(),At(L)},U=()=>{At.cancel(),ke()},ue=y.useCallback(()=>{var L,Y;const X=(L=we==null?void 0:we.position)!==null&&L!==void 0?L:ve;X?lt(X):T?wt.current&<(wt.current):ye!=null&&ye.isConnected&&ss({place:(Y=we==null?void 0:we.place)!==null&&Y!==void 0?Y:s,offset:c,elementReference:ye,tooltipReference:be.current,tooltipArrowReference:Ce.current,strategy:g,middlewares:m,border:ne}).then(Oe=>{Et.current&&Wt(Oe)})},[Te,ye,z,pe,s,we==null?void 0:we.place,c,g,ve,we==null?void 0:we.position,T]);y.useEffect(()=>{var L,Y;const X=new Set(jt);xt.forEach(Q=>{J!=null&&J(Q)||X.add({current:Q})});const Oe=document.querySelector(`[id='${i}']`);Oe&&!(J!=null&&J(Oe))&&X.add({current:Oe});const Ne=()=>{Ee(!1)},ut=ds(ye),Re=ds(be.current);nt.scroll&&(window.addEventListener("scroll",Ne),ut==null||ut.addEventListener("scroll",Ne),Re==null||Re.addEventListener("scroll",Ne));let p=null;nt.resize?window.addEventListener("resize",Ne):ye&&be.current&&(p=wc(ye,be.current,ue,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const k=Q=>{Q.key==="Escape"&&Ee(!1)};nt.escape&&window.addEventListener("keydown",k),nt.clickOutsideAnchor&&window.addEventListener("click",Qe);const D=[],q=Q=>{Te&&(Q==null?void 0:Q.target)===ye||_t(Q)},ge=Q=>{Te&&(Q==null?void 0:Q.target)===ye&&Ye()},fe=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],ce=["click","dblclick","mousedown","mouseup"];Object.entries(He).forEach(([Q,me])=>{me&&(fe.includes(Q)?D.push({event:Q,listener:Xe}):ce.includes(Q)&&D.push({event:Q,listener:q}))}),Object.entries(Lt).forEach(([Q,me])=>{me&&(fe.includes(Q)?D.push({event:Q,listener:U}):ce.includes(Q)&&D.push({event:Q,listener:ge}))}),T&&D.push({event:"pointermove",listener:We});const ae=()=>{ct.current=!0},Fe=()=>{ct.current=!1,Ye()};return P&&!Mt&&((L=be.current)===null||L===void 0||L.addEventListener("mouseenter",ae),(Y=be.current)===null||Y===void 0||Y.addEventListener("mouseleave",Fe)),D.forEach(({event:Q,listener:me})=>{X.forEach(je=>{var Ze;(Ze=je.current)===null||Ze===void 0||Ze.addEventListener(Q,me)})}),()=>{var Q,me;nt.scroll&&(window.removeEventListener("scroll",Ne),ut==null||ut.removeEventListener("scroll",Ne),Re==null||Re.removeEventListener("scroll",Ne)),nt.resize?window.removeEventListener("resize",Ne):p==null||p(),nt.clickOutsideAnchor&&window.removeEventListener("click",Qe),nt.escape&&window.removeEventListener("keydown",k),P&&!Mt&&((Q=be.current)===null||Q===void 0||Q.removeEventListener("mouseenter",ae),(me=be.current)===null||me===void 0||me.removeEventListener("mouseleave",Fe)),D.forEach(({event:je,listener:Ze})=>{X.forEach(er=>{var ot;(ot=er.current)===null||ot===void 0||ot.removeEventListener(je,Ze)})})}},[ye,ue,Ke,jt,xt,R,F,G,kt,w,S]),y.useEffect(()=>{var L,Y;let X=(Y=(L=we==null?void 0:we.anchorSelect)!==null&&L!==void 0?L:a)!==null&&Y!==void 0?Y:"";!X&&t&&(X=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const Oe=new MutationObserver(Ne=>{const ut=[],Re=[];Ne.forEach(p=>{if(p.type==="attributes"&&p.attributeName==="data-tooltip-id"&&(p.target.getAttribute("data-tooltip-id")===t?ut.push(p.target):p.oldValue===t&&Re.push(p.target)),p.type==="childList"){if(ye){const k=[...p.removedNodes].filter(D=>D.nodeType===1);if(X)try{Re.push(...k.filter(D=>D.matches(X))),Re.push(...k.flatMap(D=>[...D.querySelectorAll(X)]))}catch{}k.some(D=>{var q;return!!(!((q=D==null?void 0:D.contains)===null||q===void 0)&&q.call(D,ye))&&(mt(!1),Ee(!1),$e(null),Ft(Ae),Ft(Be),!0)})}if(X)try{const k=[...p.addedNodes].filter(D=>D.nodeType===1);ut.push(...k.filter(D=>D.matches(X))),ut.push(...k.flatMap(D=>[...D.querySelectorAll(X)]))}catch{}}}),(ut.length||Re.length)&&Je(p=>[...p.filter(k=>!Re.includes(k)),...ut])});return Oe.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Oe.disconnect()}},[t,a,we==null?void 0:we.anchorSelect,ye]),y.useEffect(()=>{ue()},[ue]),y.useEffect(()=>{if(!(re!=null&&re.current))return()=>null;const L=new ResizeObserver(()=>{setTimeout(()=>ue())});return L.observe(re.current),()=>{L.disconnect()}},[z,re==null?void 0:re.current]),y.useEffect(()=>{var L;const Y=document.querySelector(`[id='${i}']`),X=[...xt,Y];ye&&X.includes(ye)||$e((L=xt[0])!==null&&L!==void 0?L:Y)},[i,xt,ye]),y.useEffect(()=>(ie&&Ee(!0),()=>{Ft(Ae),Ft(Be)}),[]),y.useEffect(()=>{var L;let Y=(L=we==null?void 0:we.anchorSelect)!==null&&L!==void 0?L:a;if(!Y&&t&&(Y=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),Y)try{const X=Array.from(document.querySelectorAll(Y));Je(X)}catch{Je([])}},[t,a,we==null?void 0:we.anchorSelect]),y.useEffect(()=>{Ae.current&&(Ft(Ae),Ut(w))},[w]);const Me=(Ge=we==null?void 0:we.content)!==null&&Ge!==void 0?Ge:z,St=Te&&Object.keys(gt.tooltipStyles).length>0;return y.useImperativeHandle(e,()=>({open:L=>{if(L!=null&&L.anchorSelect)try{document.querySelector(L.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${L.anchorSelect}" is not a valid CSS selector`)}vt(L??null),L!=null&&L.delay?Ut(L.delay):Ee(!0)},close:L=>{L!=null&&L.delay?$t(L.delay):Ee(!1)},activeAnchor:ye,place:gt.place,isOpen:!!(Ke&&!$&&Me&&St)})),Ke&&!$&&Me?y.createElement(v,{id:t,role:qe,className:bi("react-tooltip",Or.tooltip,Qo.tooltip,Qo[o],r,`react-tooltip__place-${gt.place}`,Or[St?"show":"closing"],St?"react-tooltip__show":"react-tooltip__closing",g==="fixed"&&Or.fixed,P&&Or.clickable),onTransitionEnd:L=>{Ft(Ie),Te||L.propertyName!=="opacity"||(mt(!1),vt(null),N==null||N())},style:{...pe,...gt.tooltipStyles,opacity:st!==void 0&&St?st:void 0},ref:be},Me,y.createElement(v,{className:bi("react-tooltip-arrow",Or.arrow,Qo.arrow,n,C&&Or.noArrow),style:{...gt.tooltipArrowStyles,background:tt?`linear-gradient(to right bottom, transparent 50%, ${tt} 50%)`:void 0},ref:Ce})):null},Ng=({content:e})=>y.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),Fg=y.forwardRef(({id:e,anchorId:t,anchorSelect:r,content:n,html:o,render:i,className:a,classNameArrow:s,variant:c="dark",place:u="top",offset:f=10,wrapper:g="div",children:m=null,events:v=["hover"],openOnClick:w=!1,positionStrategy:S="absolute",middlewares:T,delayShow:$=0,delayHide:C=0,float:P=!1,hidden:I=!1,noArrow:M=!1,clickable:E=!1,closeOnEsc:R=!1,closeOnScroll:F=!1,closeOnResize:G=!1,openEvents:K,closeEvents:pe,globalCloseEvents:ve,imperativeModeOnly:se=!1,style:N,position:J,isOpen:z,defaultIsOpen:re=!1,disableStyleInjection:B=!1,border:ie,opacity:H,arrowColor:ye,setIsOpen:$e,afterShow:ne,afterHide:st,disableTooltip:tt,role:qe="tooltip"},Ge)=>{const[be,Ce]=y.useState(n),[Ae,Be]=y.useState(o),[Ie,gt]=y.useState(u),[It,Te]=y.useState(c),[yt,Ke]=y.useState(f),[mt,we]=y.useState($),[vt,bt]=y.useState(C),[wt,jt]=y.useState(P),[rt,ct]=y.useState(I),[xt,Je]=y.useState(g),[Et,kt]=y.useState(v),[Mt,He]=y.useState(S),[Lt,nt]=y.useState(null),[Ee,Wt]=y.useState(null),Ut=y.useRef(B),{anchorRefs:$t,activeAnchor:_t}=Ic(e),Ye=ke=>ke==null?void 0:ke.getAttributeNames().reduce((Xe,U)=>{var ue;return U.startsWith("data-tooltip-")&&(Xe[U.replace(/^data-tooltip-/,"")]=(ue=ke==null?void 0:ke.getAttribute(U))!==null&&ue!==void 0?ue:null),Xe},{}),lt=ke=>{const Xe={place:U=>{var ue;gt((ue=U)!==null&&ue!==void 0?ue:u)},content:U=>{Ce(U??n)},html:U=>{Be(U??o)},variant:U=>{var ue;Te((ue=U)!==null&&ue!==void 0?ue:c)},offset:U=>{Ke(U===null?f:Number(U))},wrapper:U=>{var ue;Je((ue=U)!==null&&ue!==void 0?ue:g)},events:U=>{const ue=U==null?void 0:U.split(" ");kt(ue??v)},"position-strategy":U=>{var ue;He((ue=U)!==null&&ue!==void 0?ue:S)},"delay-show":U=>{we(U===null?$:Number(U))},"delay-hide":U=>{bt(U===null?C:Number(U))},float:U=>{jt(U===null?P:U==="true")},hidden:U=>{ct(U===null?I:U==="true")},"class-name":U=>{nt(U)}};Object.values(Xe).forEach(U=>U(null)),Object.entries(ke).forEach(([U,ue])=>{var Me;(Me=Xe[U])===null||Me===void 0||Me.call(Xe,ue)})};y.useEffect(()=>{Ce(n)},[n]),y.useEffect(()=>{Be(o)},[o]),y.useEffect(()=>{gt(u)},[u]),y.useEffect(()=>{Te(c)},[c]),y.useEffect(()=>{Ke(f)},[f]),y.useEffect(()=>{we($)},[$]),y.useEffect(()=>{bt(C)},[C]),y.useEffect(()=>{jt(P)},[P]),y.useEffect(()=>{ct(I)},[I]),y.useEffect(()=>{He(S)},[S]),y.useEffect(()=>{Ut.current!==B&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[B]),y.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:B==="core",disableBase:B}}))},[]),y.useEffect(()=>{var ke;const Xe=new Set($t);let U=r;if(!U&&e&&(U=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),U)try{document.querySelectorAll(U).forEach(Y=>{Xe.add({current:Y})})}catch{console.warn(`[react-tooltip] "${U}" is not a valid CSS selector`)}const ue=document.querySelector(`[id='${t}']`);if(ue&&Xe.add({current:ue}),!Xe.size)return()=>null;const Me=(ke=Ee??ue)!==null&&ke!==void 0?ke:_t.current,St=new MutationObserver(Y=>{Y.forEach(X=>{var Oe;if(!Me||X.type!=="attributes"||!(!((Oe=X.attributeName)===null||Oe===void 0)&&Oe.startsWith("data-tooltip-")))return;const Ne=Ye(Me);lt(Ne)})}),L={attributes:!0,childList:!1,subtree:!1};if(Me){const Y=Ye(Me);lt(Y),St.observe(Me,L)}return()=>{St.disconnect()}},[$t,_t,Ee,t,r]),y.useEffect(()=>{N!=null&&N.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),ie&&!cs("border",`${ie}`)&&console.warn(`[react-tooltip] "${ie}" is not a valid \`border\`.`),N!=null&&N.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),H&&!cs("opacity",`${H}`)&&console.warn(`[react-tooltip] "${H}" is not a valid \`opacity\`.`)},[]);let We=m;const Qe=y.useRef(null);if(i){const ke=i({content:(Ee==null?void 0:Ee.getAttribute("data-tooltip-content"))||be||null,activeAnchor:Ee});We=ke?y.createElement("div",{ref:Qe,className:"react-tooltip-content-wrapper"},ke):null}else be&&(We=be);Ae&&(We=y.createElement(Ng,{content:Ae}));const At={forwardRef:Ge,id:e,anchorId:t,anchorSelect:r,className:bi(a,Lt),classNameArrow:s,content:We,contentWrapperRef:Qe,place:Ie,variant:It,offset:yt,wrapper:xt,events:Et,openOnClick:w,positionStrategy:Mt,middlewares:T,delayShow:mt,delayHide:vt,float:wt,hidden:rt,noArrow:M,clickable:E,closeOnEsc:R,closeOnScroll:F,closeOnResize:G,openEvents:K,closeEvents:pe,globalCloseEvents:ve,imperativeModeOnly:se,style:N,position:J,isOpen:z,defaultIsOpen:re,border:ie,opacity:H,arrowColor:ye,setIsOpen:$e,afterShow:ne,afterHide:st,disableTooltip:tt,activeAnchor:Ee,setActiveAnchor:ke=>Wt(ke),role:qe};return y.createElement(Lg,{...At})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||as({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||as({css:`
|
|
464
|
+
.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 Vg=te(gn)``,zg=te.div`
|
|
454
465
|
${({theme:e,$maxWidth:t="320px"})=>`
|
|
455
466
|
> :is(.react-tooltip, .react-tooltip__show, .react-tooltip__closing) {
|
|
456
467
|
background-color: ${e.palette.gray[700]};
|
|
@@ -463,19 +474,19 @@ Check the top-level render call using <`+A+">.")}return w}}function Ie(d,w){{if(
|
|
|
463
474
|
--rt-opacity: 1;
|
|
464
475
|
}
|
|
465
476
|
`}
|
|
466
|
-
`,
|
|
477
|
+
`,vo=y.forwardRef(function({children:t,disabled:r=!1,display:n="inline-block",effect:o="solid",icon:i,iconColor:a,iconSize:s,id:c,maxWidth:u,nodeTip:f,place:g="bottom",tip:m="",title:v="",hide:w=m===""&&v===""&&f===void 0,...S},T){const[$,C]=y.useState(!1),P=y.useRef(null),I=y.useCallback(()=>{P.current!==null&&clearTimeout(P.current),P.current=setTimeout(()=>{C(!0)},100)},[]),M=y.useCallback(()=>{P.current!==null&&clearTimeout(P.current),P.current=setTimeout(()=>{C(!1)},100)},[]);return r?_.jsx(y.StrictMode,{children:t}):_.jsxs(Vg,{"data-tooltip-id":c,display:n,onMouseLeave:M,onMouseMove:I,ref:T,...S,children:[i?_.jsx(ht,{clickable:!0,disabled:r,icon:i,iconColor:a,iconSize:s??"xxs",iconType:$?"fa-solid":"fa-light"}):t,ji.createPortal(_.jsx(zg,{$maxWidth:u,children:_.jsxs(Fg,{delayShow:500,float:o==="float"?!0:void 0,globalCloseEvents:{resize:!0},hidden:w||!$,id:c,middlewares:[Cf({fallbackAxisSideDirection:"start"}),Sf({mainAxis:10})],noArrow:o==="float",place:g,children:[Wn(v)?void 0:_.jsx(at,{color:j.palette.white,fontWeight:"bold",lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:v}),Wn(m)?void 0:_.jsx(at,{color:j.palette.gray[100],lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:m}),Wn(f)?void 0:f]})}),document.getElementById("root")??document.body)]})}),Gi=y.forwardRef(function({bold:t=!1,children:r,disabled:n=!1,id:o,icon:i,mode:a,name:s,onClick:c,showArrow:u=!1,type:f="button",tooltip:g,tooltipPlace:m="bottom",underline:v=!1,value:w,variant:S="primaryWeb",...T},$){const C=g!==void 0,P=`${o}-tooltip`,I=!S.endsWith("Web");return _.jsx(vo,{disabled:!C,id:P,place:m,tip:g,children:_.jsxs(Wd,{$variant:S,className:a,disabled:n,id:o,name:s,onClick:c,ref:$,type:f,value:w,...C?{"data-tooltip-id":P}:{},...T,children:[i!==void 0&&_.jsx(ht,{icon:i,iconSize:"xs",iconType:"fa-light"}),_.jsx(at,{color:"inherit",fontWeight:t?"bold":"regular",lineSpacing:I?1.25:1.5,size:I?"sm":"md",sizeSm:"sm",textDecoration:v?"underline":void 0,children:r}),(u||S==="link")&&_.jsx(ht,{icon:"arrow-right",iconSize:"xs",iconType:"fa-light"})]})})}),fs={web:{normal:j.typography.text.md,sm:j.typography.text.sm},platform:{normal:j.typography.text.sm,sm:j.typography.text.sm}},Bg=te.label`
|
|
467
478
|
${({$alert:e,$disabled:t,$variant:r})=>{const n=t?300:600;return`
|
|
468
479
|
display: flex;
|
|
469
|
-
align-items:
|
|
480
|
+
align-items: start;
|
|
470
481
|
position: relative;
|
|
471
482
|
cursor: ${t?"not-allowed":"pointer"};
|
|
472
|
-
font-family: ${
|
|
473
|
-
font-size: ${
|
|
474
|
-
font-weight: ${e?"inherit":
|
|
475
|
-
line-height: ${
|
|
483
|
+
font-family: ${j.typography.type.primary};
|
|
484
|
+
font-size: ${fs[r].normal};
|
|
485
|
+
font-weight: ${e?"inherit":j.typography.weight.regular};
|
|
486
|
+
line-height: ${j.spacing[1]};
|
|
476
487
|
letter-spacing: 0;
|
|
477
488
|
text-align: left;
|
|
478
|
-
color: ${e?"inherit":
|
|
489
|
+
color: ${e?"inherit":j.palette.gray[n]};
|
|
479
490
|
|
|
480
491
|
input {
|
|
481
492
|
position: absolute;
|
|
@@ -486,109 +497,396 @@ Check the top-level render call using <`+A+">.")}return w}}function Ie(d,w){{if(
|
|
|
486
497
|
}
|
|
487
498
|
|
|
488
499
|
svg {
|
|
489
|
-
margin-right: ${
|
|
500
|
+
margin-right: ${j.spacing[.5]};
|
|
490
501
|
top: 0;
|
|
491
502
|
left: 0;
|
|
492
|
-
height: ${
|
|
493
|
-
width: ${
|
|
494
|
-
padding: ${
|
|
495
|
-
background-color: ${
|
|
496
|
-
border-radius: ${r==="web"?
|
|
497
|
-
border: 1px solid ${
|
|
503
|
+
height: ${j.spacing[.5]};
|
|
504
|
+
width: ${j.spacing[.5]};
|
|
505
|
+
padding: ${j.spacing[.25]};
|
|
506
|
+
background-color: ${j.palette.white};
|
|
507
|
+
border-radius: ${r==="web"?j.spacing[.125]:j.spacing[.25]};
|
|
508
|
+
border: 1px solid ${j.palette.gray[600]};
|
|
498
509
|
}
|
|
499
510
|
|
|
500
511
|
svg > path {
|
|
501
|
-
fill: ${
|
|
512
|
+
fill: ${j.palette.white};
|
|
502
513
|
}
|
|
503
514
|
|
|
504
515
|
input:checked ~ span > svg {
|
|
505
|
-
background-color: ${
|
|
506
|
-
border: 1px solid ${
|
|
516
|
+
background-color: ${j.palette.primary[500]};
|
|
517
|
+
border: 1px solid ${j.palette.primary[500]};
|
|
507
518
|
}
|
|
508
519
|
|
|
509
520
|
input:disabled ~ span > svg {
|
|
510
|
-
border: 1px solid ${
|
|
521
|
+
border: 1px solid ${j.palette.gray[300]};
|
|
511
522
|
cursor: not-allowed;
|
|
512
523
|
}
|
|
513
524
|
|
|
514
525
|
input:not(:disabled):hover ~ span > svg {
|
|
515
|
-
box-shadow: 0 0 0 4px ${
|
|
526
|
+
box-shadow: 0 0 0 4px ${j.palette.gray[100]};
|
|
516
527
|
}
|
|
517
528
|
|
|
518
529
|
input:checked:disabled ~ span > svg {
|
|
519
|
-
background-color: ${
|
|
520
|
-
border: 1px solid ${
|
|
530
|
+
background-color: ${j.palette.gray[300]};
|
|
531
|
+
border: 1px solid ${j.palette.gray[300]};
|
|
521
532
|
}
|
|
522
533
|
|
|
523
534
|
input:not(:disabled):hover:checked ~ span > svg {
|
|
524
|
-
box-shadow: 0 0 0 4px ${
|
|
535
|
+
box-shadow: 0 0 0 4px ${j.palette.primary[50]};
|
|
525
536
|
}
|
|
526
537
|
|
|
527
538
|
input:checked ~ span > svg > path {
|
|
528
|
-
fill: ${
|
|
539
|
+
fill: ${j.palette.white};
|
|
529
540
|
}
|
|
530
541
|
|
|
531
542
|
input:checked:disabled ~ span > svg > path {
|
|
532
|
-
fill: ${
|
|
543
|
+
fill: ${j.palette.white};
|
|
533
544
|
}
|
|
534
545
|
|
|
535
|
-
@media screen and (max-width: ${
|
|
536
|
-
font-size: ${
|
|
546
|
+
@media screen and (max-width: ${j.breakpoints.mobile}) {
|
|
547
|
+
font-size: ${fs[r].sm};
|
|
537
548
|
}
|
|
538
549
|
`}}
|
|
539
|
-
`,yg=({defaultChecked:e=!1,disabled:t=!1,label:r,name:n,onChange:o,onClick:i,onFocus:a,onKeyDown:c,value:u,variant:f="web"})=>T.jsxs(mg,{$disabled:t,$variant:f,children:[T.jsx("input",{"aria-label":n,defaultChecked:e,disabled:t,name:n,onChange:o,onClick:i,onFocus:a,onKeyDown:c,type:"checkbox",value:u}),T.jsx(Ft,{disabled:t,icon:"check",iconSize:"sm"}),r??u]});var nr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ai={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",c="[object Boolean]",u="[object Date]",f="[object Error]",h="[object Function]",m="[object GeneratorFunction]",_="[object Map]",v="[object Number]",S="[object Object]",k="[object Promise]",P="[object RegExp]",E="[object Set]",O="[object String]",R="[object Symbol]",L="[object WeakMap]",D="[object ArrayBuffer]",F="[object DataView]",I="[object Float32Array]",be="[object Float64Array]",we="[object Int8Array]",he="[object Int16Array]",Fe="[object Int32Array]",Le="[object Uint8Array]",_e="[object Uint8ClampedArray]",K="[object Uint16Array]",Ee="[object Uint32Array]",se=/[\\^$.*+?()[\]{}|]/g,ce=/\w*$/,le=/^\[object .+?Constructor\]$/,oe=/^(?:0|[1-9]\d*)$/,H={};H[i]=H[a]=H[D]=H[F]=H[c]=H[u]=H[I]=H[be]=H[we]=H[he]=H[Fe]=H[_]=H[v]=H[S]=H[P]=H[E]=H[O]=H[R]=H[Le]=H[_e]=H[K]=H[Ee]=!0,H[f]=H[h]=H[L]=!1;var ue=typeof nr=="object"&&nr&&nr.Object===Object&&nr,me=typeof self=="object"&&self&&self.Object===Object&&self,Y=ue||me||Function("return this")(),at=t&&!t.nodeType&&t,tt=at&&!0&&e&&!e.nodeType&&e,qe=tt&&tt.exports===at;function Ge(l,g){return l.set(g[0],g[1]),l}function fe(l,g){return l.add(g),l}function xe(l,g){for(var x=-1,N=l?l.length:0;++x<N&&g(l[x],x,l)!==!1;);return l}function Te(l,g){for(var x=-1,N=g.length,it=l.length;++x<N;)l[it+x]=g[x];return l}function Be(l,g,x,N){for(var it=-1,At=l?l.length:0;++it<At;)x=g(x,l[it],it,l);return x}function Pe(l,g){for(var x=-1,N=Array(l);++x<l;)N[x]=g(x);return N}function dt(l,g){return l==null?void 0:l[g]}function jt(l){var g=!1;if(l!=null&&typeof l.toString!="function")try{g=!!(l+"")}catch{}return g}function Ae(l){var g=-1,x=Array(l.size);return l.forEach(function(N,it){x[++g]=[it,N]}),x}function ft(l,g){return function(x){return l(g(x))}}function Je(l){var g=-1,x=Array(l.size);return l.forEach(function(N){x[++g]=N}),x}var pt=Array.prototype,pe=Function.prototype,ht=Object.prototype,gt=Y["__core-js_shared__"],mt=function(){var l=/[^.]+$/.exec(gt&>.keys&>.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""}(),Ot=pe.toString,rt=ht.hasOwnProperty,st=ht.toString,yt=RegExp("^"+Ot.call(rt).replace(se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ke=qe?Y.Buffer:void 0,$t=Y.Symbol,St=Y.Uint8Array,Pt=ft(Object.getPrototypeOf,Object),He=Object.create,It=ht.propertyIsEnumerable,nt=pt.splice,$e=Object.getOwnPropertySymbols,Vt=Ke?Ke.isBuffer:void 0,zt=ft(Object.keys,Object),vt=Q(Y,"DataView"),bt=Q(Y,"Map"),Ye=Q(Y,"Promise"),ct=Q(Y,"Set"),We=Q(Y,"WeakMap"),Qe=Q(Object,"create"),Et=ur(vt),Se=ur(bt),Xe=ur(Ye),V=ur(ct),ee=ur(We),Ie=$t?$t.prototype:void 0,wt=Ie?Ie.valueOf:void 0;function j(l){var g=-1,x=l?l.length:0;for(this.clear();++g<x;){var N=l[g];this.set(N[0],N[1])}}function B(){this.__data__=Qe?Qe(null):{}}function U(l){return this.has(l)&&delete this.__data__[l]}function Ce(l){var g=this.__data__;if(Qe){var x=g[l];return x===n?void 0:x}return rt.call(g,l)?g[l]:void 0}function De(l){var g=this.__data__;return Qe?g[l]!==void 0:rt.call(g,l)}function lt(l,g){var x=this.__data__;return x[l]=Qe&&g===void 0?n:g,this}j.prototype.clear=B,j.prototype.delete=U,j.prototype.get=Ce,j.prototype.has=De,j.prototype.set=lt;function ke(l){var g=-1,x=l?l.length:0;for(this.clear();++g<x;){var N=l[g];this.set(N[0],N[1])}}function d(){this.__data__=[]}function w(l){var g=this.__data__,x=lr(g,l);if(x<0)return!1;var N=g.length-1;return x==N?g.pop():nt.call(g,x,1),!0}function A(l){var g=this.__data__,x=lr(g,l);return x<0?void 0:g[x][1]}function z(l){return lr(this.__data__,l)>-1}function ae(l,g){var x=this.__data__,N=lr(x,l);return N<0?x.push([l,g]):x[N][1]=g,this}ke.prototype.clear=d,ke.prototype.delete=w,ke.prototype.get=A,ke.prototype.has=z,ke.prototype.set=ae;function re(l){var g=-1,x=l?l.length:0;for(this.clear();++g<x;){var N=l[g];this.set(N[0],N[1])}}function X(){this.__data__={hash:new j,map:new(bt||ke),string:new j}}function J(l){return q(this,l).delete(l)}function Ne(l){return q(this,l).get(l)}function W(l){return q(this,l).has(l)}function de(l,g){return q(this,l).set(l,g),this}re.prototype.clear=X,re.prototype.delete=J,re.prototype.get=Ne,re.prototype.has=W,re.prototype.set=de;function Oe(l){this.__data__=new ke(l)}function Ze(){this.__data__=new ke}function Jt(l){return this.__data__.delete(l)}function ot(l){return this.__data__.get(l)}function go(l){return this.__data__.has(l)}function mn(l,g){var x=this.__data__;if(x instanceof ke){var N=x.__data__;if(!bt||N.length<r-1)return N.push([l,g]),this;x=this.__data__=new re(N)}return x.set(l,g),this}Oe.prototype.clear=Ze,Oe.prototype.delete=Jt,Oe.prototype.get=ot,Oe.prototype.has=go,Oe.prototype.set=mn;function mo(l,g){var x=Eo(l)||gl(l)?Pe(l.length,String):[],N=x.length,it=!!N;for(var At in l)rt.call(l,At)&&!(it&&(At=="length"||Mt(At,N)))&&x.push(At);return x}function Vr(l,g,x){var N=l[g];(!(rt.call(l,g)&&Ji(N,x))||x===void 0&&!(g in l))&&(l[g]=x)}function lr(l,g){for(var x=l.length;x--;)if(Ji(l[x][0],g))return x;return-1}function yn(l,g){return l&&$(g,To(g),l)}function zr(l,g,x,N,it,At,Xt){var Ct;if(N&&(Ct=At?N(l,it,At,Xt):N(l)),Ct!==void 0)return Ct;if(!xn(l))return l;var Zi=Eo(l);if(Zi){if(Ct=Tt(l),!g)return y(l,Ct)}else{var $r=ze(l),ea=$r==h||$r==m;if(yl(l))return bo(l,g);if($r==S||$r==i||ea&&!At){if(jt(l))return At?l:{};if(Ct=_t(ea?{}:l),!g)return M(l,yn(Ct,l))}else{if(!H[$r])return At?l:{};Ct=Kt(l,$r,zr,g)}}Xt||(Xt=new Oe);var ta=Xt.get(l);if(ta)return ta;if(Xt.set(l,Ct),!Zi)var ra=x?ie(l):To(l);return xe(ra||l,function(Ao,$n){ra&&($n=Ao,Ao=l[$n]),Vr(Ct,$n,zr(Ao,g,x,N,$n,l,Xt))}),Ct}function vn(l){return xn(l)?He(l):{}}function bn(l,g,x){var N=g(l);return Eo(l)?N:Te(N,x(l))}function yo(l){return st.call(l)}function vo(l){if(!xn(l)||_n(l))return!1;var g=Xi(l)||jt(l)?yt:le;return g.test(ur(l))}function wn(l){if(!Wr(l))return zt(l);var g=[];for(var x in Object(l))rt.call(l,x)&&x!="constructor"&&g.push(x);return g}function bo(l,g){if(g)return l.slice();var x=new l.constructor(l.length);return l.copy(x),x}function Br(l){var g=new l.constructor(l.byteLength);return new St(g).set(new St(l)),g}function wo(l,g){var x=g?Br(l.buffer):l.buffer;return new l.constructor(x,l.byteOffset,l.byteLength)}function _o(l,g,x){var N=g?x(Ae(l),!0):Ae(l);return Be(N,Ge,new l.constructor)}function xo(l){var g=new l.constructor(l.source,ce.exec(l));return g.lastIndex=l.lastIndex,g}function $o(l,g,x){var N=g?x(Je(l),!0):Je(l);return Be(N,fe,new l.constructor)}function s(l){return wt?Object(wt.call(l)):{}}function p(l,g){var x=g?Br(l.buffer):l.buffer;return new l.constructor(x,l.byteOffset,l.length)}function y(l,g){var x=-1,N=l.length;for(g||(g=Array(N));++x<N;)g[x]=l[x];return g}function $(l,g,x,N){x||(x={});for(var it=-1,At=g.length;++it<At;){var Xt=g[it],Ct=void 0;Vr(x,Xt,Ct===void 0?l[Xt]:Ct)}return x}function M(l,g){return $(l,Ve(l),g)}function ie(l){return bn(l,To,Ve)}function q(l,g){var x=l.__data__;return So(g)?x[typeof g=="string"?"string":"hash"]:x.map}function Q(l,g){var x=dt(l,g);return vo(x)?x:void 0}var Ve=$e?ft($e,Object):wl,ze=yo;(vt&&ze(new vt(new ArrayBuffer(1)))!=F||bt&&ze(new bt)!=_||Ye&&ze(Ye.resolve())!=k||ct&&ze(new ct)!=E||We&&ze(new We)!=L)&&(ze=function(l){var g=st.call(l),x=g==S?l.constructor:void 0,N=x?ur(x):void 0;if(N)switch(N){case Et:return F;case Se:return _;case Xe:return k;case V:return E;case ee:return L}return g});function Tt(l){var g=l.length,x=l.constructor(g);return g&&typeof l[0]=="string"&&rt.call(l,"index")&&(x.index=l.index,x.input=l.input),x}function _t(l){return typeof l.constructor=="function"&&!Wr(l)?vn(Pt(l)):{}}function Kt(l,g,x,N){var it=l.constructor;switch(g){case D:return Br(l);case c:case u:return new it(+l);case F:return wo(l,N);case I:case be:case we:case he:case Fe:case Le:case _e:case K:case Ee:return p(l,N);case _:return _o(l,N,x);case v:case O:return new it(l);case P:return xo(l);case E:return $o(l,N,x);case R:return s(l)}}function Mt(l,g){return g=g??o,!!g&&(typeof l=="number"||oe.test(l))&&l>-1&&l%1==0&&l<g}function So(l){var g=typeof l;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?l!=="__proto__":l===null}function _n(l){return!!mt&&mt in l}function Wr(l){var g=l&&l.constructor,x=typeof g=="function"&&g.prototype||ht;return l===x}function ur(l){if(l!=null){try{return Ot.call(l)}catch{}try{return l+""}catch{}}return""}function hl(l){return zr(l,!0,!0)}function Ji(l,g){return l===g||l!==l&&g!==g}function gl(l){return ml(l)&&rt.call(l,"callee")&&(!It.call(l,"callee")||st.call(l)==i)}var Eo=Array.isArray;function Ki(l){return l!=null&&vl(l.length)&&!Xi(l)}function ml(l){return bl(l)&&Ki(l)}var yl=Vt||_l;function Xi(l){var g=xn(l)?st.call(l):"";return g==h||g==m}function vl(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=o}function xn(l){var g=typeof l;return!!l&&(g=="object"||g=="function")}function bl(l){return!!l&&typeof l=="object"}function To(l){return Ki(l)?mo(l):wn(l)}function wl(){return[]}function _l(){return!1}e.exports=hl})(ai,ai.exports);var or=ai.exports,si=function(){return si=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},si.apply(this,arguments)};function vg(e,t,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function c(h){try{f(n.next(h))}catch(m){a(m)}}function u(h){try{f(n.throw(h))}catch(m){a(m)}}function f(h){h.done?i(h.value):o(h.value).then(c,u)}f((n=n.apply(e,[])).next())})}function bg(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(f){return function(h){return u([f,h])}}function u(f){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,f[0]&&(r=0)),r;)try{if(n=1,o&&(i=f[0]&2?o.return:f[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,f[1])).done)return i;switch(o=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,o=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=t.call(e,r)}catch(h){f=[6,h],o=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}function Un(e,t,r,n,o){return vg(this,void 0,void 0,function(){var i,a;return bg(this,function(c){switch(c.label){case 0:if(r===void 0)return[2];a=0,c.label=1;case 1:return a<r.length?[4,r[a](e,t,n,o,r)]:[3,4];case 2:if(i=c.sent(),i==="canceled")return[3,4];c.label=3;case 3:return a++,[3,1];case 4:return i!=="canceled"?[2,i]:[2]}})})}var ci=function(e,t){return t===void 0&&(t={}),e?{trackedAnalytics:si({sdkCode:e.sdkCode,sdkSemver:e.sdkSemver,techVersion:e.techVersion},t)}:null},wg=function(){function e(t,r,n,o){var i=this;this.isMounted=!0,this.imgElement=t,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var a=or(r);Un(t,a,n,this.htmlPluginState,o).then(function(c){if(i.isMounted){i.htmlPluginState.pluginEventSubscription.forEach(function(f){f()});var u=ci(o,c);i.imgElement.setAttribute("src",a.toURL(u))}})}return e.prototype.update=function(t,r,n){var o=this,i=or(t);Un(this.imgElement,i,r,this.htmlPluginState).then(function(a){if(o.isMounted){var c=ci(n,a);o.imgElement.setAttribute("src",i.toURL(c))}})},e.prototype.unmount=function(){this.isMounted=!1},e}();let Me=class{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}},_g=class extends Error{constructor(t="Unsupported"){super(t)}};function Oi(e){return new _g(e)}function xg(){return this._qualifierModel||{error:Oi(`unsupported qualifier ${this.constructor.name}`)}}let $g=class{constructor(){this._qualifierModel={}}toJson(){return xg.apply(this)}},Z=class extends $g{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Me?this.qualifierValue=r:(this.qualifierValue=new Me,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}},Dt=class extends Z{constructor(t,r){let n;r?n=new Me([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}};function Sg(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Eg(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:Oi(`unsupported action ${this.constructor.name}`)}}let Tg=class{constructor(){this._actionModel={}}toJson(){return Eg.apply(this)}},qt=class extends Tg{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),Sg(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new Dt(n)):this.qualifiers.set(r,new Z(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new Dt(t)):t instanceof Dt&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}};class Ri extends qt{constructor(t){super(),this.regionType=t,this._actionModel.regionType=t}}class io extends Ri{constructor(){super("custom")}x(t){return this._actionModel.x=t,this.addQualifier(new Z("x",t)),this}y(t){return this._actionModel.y=t,this.addQualifier(new Z("y",t)),this}width(t){return this._actionModel.width=t,this.addQualifier(new Z("w",t)),this}height(t){return this._actionModel.height=t,this.addQualifier(new Z("h",t)),this}static fromJson(t){const r=new io;return t.width&&r.width(t.width),t.height&&r.height(t.height),t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function Ag(){return new io}function gc(){return new Ri("faces")}function Cg(){return new Ri("ocr_text")}class kg extends qt{constructor(t){super(),this._actionModel={},this._strength=t,this._actionModel.actionType="blur",this._actionModel.strength=t}region(t){return this._region=t,this._actionModel.region=t.toJson(),this}strength(t){return this._strength=t,this._actionModel.strength=t,this}prepareQualifiers(){const t=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new Z("e",`blur_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new Z("e",`blur_region${t}`)),this.addQualifier(new Z("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new Z("e",`blur_faces${t}`))):this.addQualifier(new Z("e",`blur${t}`))}static fromJson(t){const{strength:r,region:n}=t,o=new this(r);return r&&o.strength(r),n&&n.regionType==="faces"&&o.region(gc()),n&&n.regionType==="ocr_text"&&o.region(Cg()),n&&n.regionType==="custom"&&o.region(io.fromJson(n)),o}}function _r(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const mc={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},Og={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},yc={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},vc={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Rg={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},bc={444:"CHROMA_444",420:"CHROMA_420"},jg={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},Pg=_r(bc);_r(jg);const Ig=_r(mc),Mg=_r(Og),wc=_r(yc);_r(vc);_r(Rg);class _c extends qt{constructor(t,r){super(),this._actionModel={},this._actionModel.actionType=wc[t]||t;const n=this.createEffectQualifier(t,r);this.addQualifier(n)}createEffectQualifier(t,r){let n;return r?n=new Me([t,`${r}`]).setDelimiter(":"):n=new Me(t),new Z("e",n)}static fromJson(t){const{actionType:r,level:n,strength:o}=t,i=yc[r]||r;return new this(i,n||o)}}class Lg extends _c{constructor(t,r){super(t,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=t,this._actionModel.actionType=wc[t]||t,r&&this.setLevel(r)}setLevel(t){this._actionModel[this.LEVEL_NAME]=t;const r=this.createEffectQualifier(this.effectType,t);return this.addQualifier(r),this}}function ao(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class Dg extends qt{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(t){return this._actionModel.numOfColors=t,this._numOfColors=t,this}detailsLevel(t){return this._actionModel.detailLevel=t,this._detailsLevel=t,this}despeckleLevel(t){return this._actionModel.despeckleLevel=t,this._despeckleLevel=t,this}cornersLevel(t){return this._actionModel.cornersLevel=t,this._cornersLevel=t,this}paths(t){return this._actionModel.paths=t,this._paths=t,this}prepareQualifiers(){let t="vectorize";this._numOfColors&&(t+=`:${new Me(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(t+=`:${new Me(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(t+=`:${new Me(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(t+=`:${new Me(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(t+=`:${new Me(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new Z("e",t))}static fromJson(t){const{actionType:r,paths:n,cornersLevel:o,despeckleLevel:i,detailLevel:a,numOfColors:c}=t,u=new this;return n&&u.paths(n),o&&u.cornersLevel(o),i&&u.despeckleLevel(i),a&&u.detailsLevel(a),c&&u.numOfColors(c),u}}class Ng extends Lg{level(t){return this._actionModel.level=t,this.setLevel(t)}}class Fg extends qt{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new Z("e",new Me("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new Z("e",new Me(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(t){return this._actionModel.type="stripes",this._actionModel.stripesStrength=t,this.addQualifier(new Z("e",new Me(["assist_colorblind",t]).setDelimiter(":")))}static fromJson(t){const{actionType:r,type:n,stripesStrength:o}=t,i=new this;return n==="xray"&&i.xray(),n==="stripes"&&o&&i.stripesStrength(o),i}}class Vg extends Ng{color(t){return this._actionModel.color=t,this.addQualifier(new Z("co",new Me(ao(t))))}static fromJson(t){const{actionType:r,level:n,color:o}=t,i=new this(r,n);return o&&i.color(o),i}}class zg extends qt{constructor(t){super(),this._actionModel={},this._squareSize=t,this._actionModel.actionType="pixelate",this._actionModel.squareSize=t}region(t){return this._region=t,this._actionModel.region={regionType:this._region.regionType},this}squareSize(t){return this._squareSize=t,this._actionModel.squareSize=t,this}prepareQualifiers(){const t=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new Z("e",`pixelate_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new Z("e",`pixelate_region${t}`)),this.addQualifier(new Z("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new Z("e",`pixelate_faces${t}`))):this.addQualifier(new Z("e",`pixelate${t}`))}static fromJson(t){const{region:r,squareSize:n}=t,o=new this(n);return n&&o.squareSize(n),r&&r.regionType==="faces"&&o.region(gc()),r&&r.regionType==="custom"&&o.region(Ag()),o}}function Bg(e){return new kg(e)}function Wg(){return new _c("grayscale")}function Qa(e){return new Vg("colorize",e)}function Ug(){return new Dg}function qg(){return new Fg}function Gg(e){return new zg(e)}let Hg=class extends qt{constructor(t){super(),this._actionModel={},this.addQualifier(new Z("b",new Me(ao(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}},Ja=class{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:Oi(`unsupported action ${this.constructor.name}`)}}};function Yg(e){const t=e;return"error"in t&&!!t.error}function Qg(){return new Dt("ignore_aspect_ratio")}function Jg(){return new Dt("lossy")}function Kg(){return new Dt("preserve_transparency")}function Xg(e){return new Dt("progressive",e)}function Zg(){return new Dt("region_relative")}function em(){return new Dt("relative")}let ji=class extends Me{constructor(t){super(t),this.val=t}getValue(){return this.val}},xc=class extends qt{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof ji?o=r.getValue():o=r,this._actionModel.actionType=Mg[t],this._actionModel[n]=o,this.addQualifier(new Z(t,r))}},tm=class extends Dt{constructor(t){super("progressive",t)}},li=class extends xc{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(Jg()),this}progressive(t){return t instanceof tm?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(Xg(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(Kg()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;let a;return r?a=new this("f",r):a=new this("f"),o&&(o.mode?a.progressive(o.mode):a.progressive()),n&&a.lossy(),i&&a.preserveTransparency(),a}},so=class $c{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new Ja(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof $c?this.actions=this.actions.concat(t.actions):this.actions.push(new Ja(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new li("q",t)),this}format(t){return this.addAction(new li("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new Hg(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new qt;let n=t;return typeof t=="string"&&(n=new Dt(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(Yg(n))return n;t.push(n)}return{actions:t}}};function Ka(e){const t=e.toString();return t.match(/[A-Z]/gi)||t.length>1&&t[0]==="0"?t:!isNaN(parseFloat(t))&&t.indexOf(":")===-1&&t.indexOf(".")===-1?`${t}.0`:t}class rm extends Me{}class nm extends qt{constructor(t,r,n){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=Ig[t]||t,this.addQualifier(new Z("c",t)),r&&this.width(r),n&&this.height(n)}height(t){return this._actionModel.dimensions.height=t,this.addQualifier(new Z("h",t))}width(t){return this._actionModel.dimensions.width=t,this.addQualifier(new Z("w",t))}aspectRatio(t){if(t instanceof rm)return this._actionModel.dimensions.aspectRatio=`${t}`,this.addQualifier(new Z("ar",t));if(typeof t=="number"||typeof t=="string")return this._actionModel.dimensions.aspectRatio=Ka(t),this.addQualifier(new Z("ar",Ka(t)));if(t instanceof Dt)return this._actionModel.dimensions.aspectRatio=`${t.qualifierValue}`,this.addFlag(t)}relative(){return this._actionModel.relative=!0,this.addFlag(em())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(Zg())}static fromJson(t){const{actionType:r,dimensions:n,relative:o,regionRelative:i}=t,{aspectRatio:a,width:c,height:u}=n,f=mc[r]||r,h=new this(f,c,u);return a&&h.aspectRatio(a==="ignore_aspect_ratio"?Qg():a),o&&h.relative(),i&&h.regionRelative(),h}}class Pi extends Z{constructor(t){super("g",new Me(t))}}class Sc extends Pi{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}class Ec extends Pi{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}class Tc extends Pi{constructor(t){super(t)}}function om(e){return new Tc(e)}function Ac(...e){const t=[...e];return new Ec(t)}function Cc(){return new Sc}class co extends Me{constructor(t){super(),this.name=t}toString(){return this.name}}function im(){return new co("ocr_text")}function am(e){return e&&`${e}`.split(":")[0]==="auto"}function sm(e){const t=Ii(e);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(t)}function Ii(e){return`${e}`.replace("g_","")}function cm(e){return{compass:Ii(e),gravityType:"direction"}}function lm(e){return Ii(e)==="ocr_text"}function um(){return{gravityType:"ocr"}}function dm(e){return`${e.qualifierValue}`.split(":")[0]==="auto"}function fm(e){const r=e.toString().split("_"),n={object:r[0]};return r.length>1&&(r[1]==="avoid"?n.avoid=!0:n.weight=+r[1]),n}function kc(e){let t;const r=e==="auto"?new Sc:e;return`${e}`.startsWith("auto:")?t=`${e}`.split(":").filter(o=>o!=="auto"):t=r.qualifierValue.values.filter(o=>o!=="auto"),{gravityType:"auto",autoFocus:t.map(fm)}}function pm(e){const t=`${e}`.split(":").includes("auto"),r=e.qualifierValue.values,o={gravityType:"object",focusOnObjects:(t?r.slice(0,r.length-1):r).map(i=>`${i}`)};if(t){const i=r[r.length-1].values.slice(1),a=Cc().autoFocus(...i);o.fallbackGravity=kc(a)}return o}function hm(e){const r=e.split(":").map(n=>new co(n));return new Ec(r)}function gm(e){return sm(e)?cm(e):lm(e)?um():am(e)||dm(e)?kc(e):pm(typeof e=="string"?hm(e):e)}class Mi extends Me{constructor(t,r){super(),this._weight=r,this.focusOn=t,this.shouldAvoid=!1}static focusOn(t,r){return new Mi(t,r)}shouldAddWeight(){return typeof this._weight=="number"||typeof this._weight=="string"||this.shouldAvoid}getName(){return this.focusOn.name}getWeight(){return this.shouldAvoid?"avoid":this._weight}toString(){return this.shouldAddWeight()?`${this.getName()}_${this.getWeight()}`:`${this.getName()}`}weight(t){return this._weight=t,this}avoid(){return this.shouldAvoid=!0,this}}class Oc extends Me{constructor(t){super(),this.val=t}toString(){return this.val}}function mm(e){return e.gravityType==="direction"}function ym(e){return e.gravityType==="ocr"}function vm(e){return e.gravityType==="auto"}function bm(e){const{object:t,weight:r,avoid:n}=e,o=new Mi(new co(t));return(r||r===0)&&o.weight(r),n&&o.avoid(),o}function Rc(e){const r=(e.autoFocus||[]).map(bm);return Cc().autoFocus(...r)}function wm(e){const t=(e.focusOnObjects||[]).map(n=>new co(n)),r=Ac(...t);if(e.fallbackGravity){const n=Rc(e.fallbackGravity);r.fallbackGravity(n)}return r}function _m(e){return mm(e)?new Tc(new Oc(e.compass)):ym(e)?Ac(im()):vm(e)?Rc(e):wm(e)}class Li extends nm{gravity(t){this._actionModel.gravity=gm(t);const r=typeof t=="string"?new Z("g",t):t;return this.addQualifier(r)}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.gravity&&r.gravity(_m(t.gravity)),r}}class pn extends Z{constructor(t){super("b"),t&&this.addValue(t)}}const jc=100,xm=0;class $m extends pn{intensity(t){return this.intensityLevel=t,this}brightness(t){return this.brightnessLevel=t,this}toString(){const t=this.intensityLevel!==void 0?`:${this.intensityLevel}`:"",r=this.brightnessLevel!==void 0?this.intensityLevel!==void 0?`:${this.brightnessLevel}`:`:${jc}:${this.brightnessLevel}`:"";return`b_blurred${t}${r}`}}var Pc=$m;class Di extends pn{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...t){return this._palette=t.map(r=>ao(r)),this}}class Ic extends Di{toString(){return`
|
|
550
|
+
`,Wg=({defaultChecked:e=!1,disabled:t=!1,label:r,name:n,onChange:o,onClick:i,onFocus:a,onKeyDown:s,value:c,variant:u="web"})=>_.jsxs(Bg,{$disabled:t,$variant:u,children:[_.jsx("input",{"aria-label":n,defaultChecked:e,disabled:t,id:n,name:n,onChange:o,onClick:i,onFocus:a,onKeyDown:s,type:"checkbox",value:c}),_.jsx(ht,{disabled:t,icon:"check",iconSize:"sm"}),r??c]});var sr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xi={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",s="[object Boolean]",c="[object Date]",u="[object Error]",f="[object Function]",g="[object GeneratorFunction]",m="[object Map]",v="[object Number]",w="[object Object]",S="[object Promise]",T="[object RegExp]",$="[object Set]",C="[object String]",P="[object Symbol]",I="[object WeakMap]",M="[object ArrayBuffer]",E="[object DataView]",R="[object Float32Array]",F="[object Float64Array]",G="[object Int8Array]",K="[object Int16Array]",pe="[object Int32Array]",ve="[object Uint8Array]",se="[object Uint8ClampedArray]",N="[object Uint16Array]",J="[object Uint32Array]",z=/[\\^$.*+?()[\]{}|]/g,re=/\w*$/,B=/^\[object .+?Constructor\]$/,ie=/^(?:0|[1-9]\d*)$/,H={};H[i]=H[a]=H[M]=H[E]=H[s]=H[c]=H[R]=H[F]=H[G]=H[K]=H[pe]=H[m]=H[v]=H[w]=H[T]=H[$]=H[C]=H[P]=H[ve]=H[se]=H[N]=H[J]=!0,H[u]=H[f]=H[I]=!1;var ye=typeof sr=="object"&&sr&&sr.Object===Object&&sr,$e=typeof self=="object"&&self&&self.Object===Object&&self,ne=ye||$e||Function("return this")(),st=t&&!t.nodeType&&t,tt=st&&!0&&e&&!e.nodeType&&e,qe=tt&&tt.exports===st;function Ge(d,b){return d.set(b[0],b[1]),d}function be(d,b){return d.add(b),d}function Ce(d,b){for(var A=-1,W=d?d.length:0;++A<W&&b(d[A],A,d)!==!1;);return d}function Ae(d,b){for(var A=-1,W=b.length,it=d.length;++A<W;)d[it+A]=b[A];return d}function Be(d,b,A,W){for(var it=-1,Ot=d?d.length:0;++it<Ot;)A=b(A,d[it],it,d);return A}function Ie(d,b){for(var A=-1,W=Array(d);++A<d;)W[A]=b(A);return W}function gt(d,b){return d==null?void 0:d[b]}function It(d){var b=!1;if(d!=null&&typeof d.toString!="function")try{b=!!(d+"")}catch{}return b}function Te(d){var b=-1,A=Array(d.size);return d.forEach(function(W,it){A[++b]=[it,W]}),A}function yt(d,b){return function(A){return d(b(A))}}function Ke(d){var b=-1,A=Array(d.size);return d.forEach(function(W){A[++b]=W}),A}var mt=Array.prototype,we=Function.prototype,vt=Object.prototype,bt=ne["__core-js_shared__"],wt=function(){var d=/[^.]+$/.exec(bt&&bt.keys&&bt.keys.IE_PROTO||"");return d?"Symbol(src)_1."+d:""}(),jt=we.toString,rt=vt.hasOwnProperty,ct=vt.toString,xt=RegExp("^"+jt.call(rt).replace(z,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Je=qe?ne.Buffer:void 0,Et=ne.Symbol,kt=ne.Uint8Array,Mt=yt(Object.getPrototypeOf,Object),He=Object.create,Lt=vt.propertyIsEnumerable,nt=mt.splice,Ee=Object.getOwnPropertySymbols,Wt=Je?Je.isBuffer:void 0,Ut=yt(Object.keys,Object),$t=oe(ne,"DataView"),_t=oe(ne,"Map"),Ye=oe(ne,"Promise"),lt=oe(ne,"Set"),We=oe(ne,"WeakMap"),Qe=oe(Object,"create"),At=gr($t),ke=gr(_t),Xe=gr(Ye),U=gr(lt),ue=gr(We),Me=Et?Et.prototype:void 0,St=Me?Me.valueOf:void 0;function L(d){var b=-1,A=d?d.length:0;for(this.clear();++b<A;){var W=d[b];this.set(W[0],W[1])}}function Y(){this.__data__=Qe?Qe(null):{}}function X(d){return this.has(d)&&delete this.__data__[d]}function Oe(d){var b=this.__data__;if(Qe){var A=b[d];return A===n?void 0:A}return rt.call(b,d)?b[d]:void 0}function Ne(d){var b=this.__data__;return Qe?b[d]!==void 0:rt.call(b,d)}function ut(d,b){var A=this.__data__;return A[d]=Qe&&b===void 0?n:b,this}L.prototype.clear=Y,L.prototype.delete=X,L.prototype.get=Oe,L.prototype.has=Ne,L.prototype.set=ut;function Re(d){var b=-1,A=d?d.length:0;for(this.clear();++b<A;){var W=d[b];this.set(W[0],W[1])}}function p(){this.__data__=[]}function k(d){var b=this.__data__,A=hr(b,d);if(A<0)return!1;var W=b.length-1;return A==W?b.pop():nt.call(b,A,1),!0}function D(d){var b=this.__data__,A=hr(b,d);return A<0?void 0:b[A][1]}function q(d){return hr(this.__data__,d)>-1}function ge(d,b){var A=this.__data__,W=hr(A,d);return W<0?A.push([d,b]):A[W][1]=b,this}Re.prototype.clear=p,Re.prototype.delete=k,Re.prototype.get=D,Re.prototype.has=q,Re.prototype.set=ge;function fe(d){var b=-1,A=d?d.length:0;for(this.clear();++b<A;){var W=d[b];this.set(W[0],W[1])}}function ce(){this.__data__={hash:new L,map:new(_t||Re),string:new L}}function ae(d){return Z(this,d).delete(d)}function Fe(d){return Z(this,d).get(d)}function Q(d){return Z(this,d).has(d)}function me(d,b){return Z(this,d).set(d,b),this}fe.prototype.clear=ce,fe.prototype.delete=ae,fe.prototype.get=Fe,fe.prototype.has=Q,fe.prototype.set=me;function je(d){this.__data__=new Re(d)}function Ze(){this.__data__=new Re}function er(d){return this.__data__.delete(d)}function ot(d){return this.__data__.get(d)}function To(d){return this.__data__.has(d)}function _n(d,b){var A=this.__data__;if(A instanceof Re){var W=A.__data__;if(!_t||W.length<r-1)return W.push([d,b]),this;A=this.__data__=new fe(W)}return A.set(d,b),this}je.prototype.clear=Ze,je.prototype.delete=er,je.prototype.get=ot,je.prototype.has=To,je.prototype.set=_n;function Oo(d,b){var A=Fo(d)||zl(d)?Ie(d.length,String):[],W=A.length,it=!!W;for(var Ot in d)rt.call(d,Ot)&&!(it&&(Ot=="length"||Nt(Ot,W)))&&A.push(Ot);return A}function Hr(d,b,A){var W=d[b];(!(rt.call(d,b)&&ha(W,A))||A===void 0&&!(b in d))&&(d[b]=A)}function hr(d,b){for(var A=d.length;A--;)if(ha(d[A][0],b))return A;return-1}function Sn(d,b){return d&&O(b,Vo(b),d)}function Yr(d,b,A,W,it,Ot,rr){var Rt;if(W&&(Rt=Ot?W(d,it,Ot,rr):W(d)),Rt!==void 0)return Rt;if(!Tn(d))return d;var ma=Fo(d);if(ma){if(Rt=Tt(d),!b)return x(d,Rt)}else{var Ar=ze(d),va=Ar==f||Ar==g;if(Wl(d))return Po(d,b);if(Ar==w||Ar==i||va&&!Ot){if(It(d))return Ot?d:{};if(Rt=Ct(va?{}:d),!b)return V(d,Sn(Rt,d))}else{if(!H[Ar])return Ot?d:{};Rt=tr(d,Ar,Yr,b)}}rr||(rr=new je);var ba=rr.get(d);if(ba)return ba;if(rr.set(d,Rt),!ma)var wa=A?he(d):Vo(d);return Ce(wa||d,function(zo,On){wa&&(On=zo,zo=d[On]),Hr(Rt,On,Yr(zo,b,A,W,On,d,rr))}),Rt}function Cn(d){return Tn(d)?He(d):{}}function En(d,b,A){var W=b(d);return Fo(d)?W:Ae(W,A(d))}function Ro(d){return ct.call(d)}function jo(d){if(!Tn(d)||An(d))return!1;var b=ya(d)||It(d)?xt:B;return b.test(gr(d))}function kn(d){if(!Kr(d))return Ut(d);var b=[];for(var A in Object(d))rt.call(d,A)&&A!="constructor"&&b.push(A);return b}function Po(d,b){if(b)return d.slice();var A=new d.constructor(d.length);return d.copy(A),A}function Qr(d){var b=new d.constructor(d.byteLength);return new kt(b).set(new kt(d)),b}function Do(d,b){var A=b?Qr(d.buffer):d.buffer;return new d.constructor(A,d.byteOffset,d.byteLength)}function Io(d,b,A){var W=b?A(Te(d),!0):Te(d);return Be(W,Ge,new d.constructor)}function Mo(d){var b=new d.constructor(d.source,re.exec(d));return b.lastIndex=d.lastIndex,b}function Lo(d,b,A){var W=b?A(Ke(d),!0):Ke(d);return Be(W,be,new d.constructor)}function l(d){return St?Object(St.call(d)):{}}function h(d,b){var A=b?Qr(d.buffer):d.buffer;return new d.constructor(A,d.byteOffset,d.length)}function x(d,b){var A=-1,W=d.length;for(b||(b=Array(W));++A<W;)b[A]=d[A];return b}function O(d,b,A,W){A||(A={});for(var it=-1,Ot=b.length;++it<Ot;){var rr=b[it],Rt=void 0;Hr(A,rr,Rt===void 0?d[rr]:Rt)}return A}function V(d,b){return O(d,Ve(d),b)}function he(d){return En(d,Vo,Ve)}function Z(d,b){var A=d.__data__;return No(b)?A[typeof b=="string"?"string":"hash"]:A.map}function oe(d,b){var A=gt(d,b);return jo(A)?A:void 0}var Ve=Ee?yt(Ee,Object):Gl,ze=Ro;($t&&ze(new $t(new ArrayBuffer(1)))!=E||_t&&ze(new _t)!=m||Ye&&ze(Ye.resolve())!=S||lt&&ze(new lt)!=$||We&&ze(new We)!=I)&&(ze=function(d){var b=ct.call(d),A=b==w?d.constructor:void 0,W=A?gr(A):void 0;if(W)switch(W){case At:return E;case ke:return m;case Xe:return S;case U:return $;case ue:return I}return b});function Tt(d){var b=d.length,A=d.constructor(b);return b&&typeof d[0]=="string"&&rt.call(d,"index")&&(A.index=d.index,A.input=d.input),A}function Ct(d){return typeof d.constructor=="function"&&!Kr(d)?Cn(Mt(d)):{}}function tr(d,b,A,W){var it=d.constructor;switch(b){case M:return Qr(d);case s:case c:return new it(+d);case E:return Do(d,W);case R:case F:case G:case K:case pe:case ve:case se:case N:case J:return h(d,W);case m:return Io(d,W,A);case v:case C:return new it(d);case T:return Mo(d);case $:return Lo(d,W,A);case P:return l(d)}}function Nt(d,b){return b=b??o,!!b&&(typeof d=="number"||ie.test(d))&&d>-1&&d%1==0&&d<b}function No(d){var b=typeof d;return b=="string"||b=="number"||b=="symbol"||b=="boolean"?d!=="__proto__":d===null}function An(d){return!!wt&&wt in d}function Kr(d){var b=d&&d.constructor,A=typeof b=="function"&&b.prototype||vt;return d===A}function gr(d){if(d!=null){try{return jt.call(d)}catch{}try{return d+""}catch{}}return""}function Vl(d){return Yr(d,!0,!0)}function ha(d,b){return d===b||d!==d&&b!==b}function zl(d){return Bl(d)&&rt.call(d,"callee")&&(!Lt.call(d,"callee")||ct.call(d)==i)}var Fo=Array.isArray;function ga(d){return d!=null&&Ul(d.length)&&!ya(d)}function Bl(d){return ql(d)&&ga(d)}var Wl=Wt||Hl;function ya(d){var b=Tn(d)?ct.call(d):"";return b==f||b==g}function Ul(d){return typeof d=="number"&&d>-1&&d%1==0&&d<=o}function Tn(d){var b=typeof d;return!!d&&(b=="object"||b=="function")}function ql(d){return!!d&&typeof d=="object"}function Vo(d){return ga(d)?Oo(d):kn(d)}function Gl(){return[]}function Hl(){return!1}e.exports=Vl})(xi,xi.exports);var cr=xi.exports,$i=function(){return $i=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},$i.apply(this,arguments)};function Ug(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 s(f){try{u(n.next(f))}catch(g){a(g)}}function c(f){try{u(n.throw(f))}catch(g){a(g)}}function u(f){f.done?i(f.value):o(f.value).then(s,c)}u((n=n.apply(e,[])).next())})}function qg(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:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(u){return function(f){return c([u,f])}}function c(u){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(r=0)),r;)try{if(n=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,o=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=t.call(e,r)}catch(f){u=[6,f],o=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function to(e,t,r,n,o){return Ug(this,void 0,void 0,function(){var i,a;return qg(this,function(s){switch(s.label){case 0:if(r===void 0)return[2];a=0,s.label=1;case 1:return a<r.length?[4,r[a](e,t,n,o,r)]:[3,4];case 2:if(i=s.sent(),i==="canceled")return[3,4];s.label=3;case 3:return a++,[3,1];case 4:return i!=="canceled"?[2,i]:[2]}})})}var _i=function(e,t){return t===void 0&&(t={}),e?{trackedAnalytics:$i({sdkCode:e.sdkCode,sdkSemver:e.sdkSemver,techVersion:e.techVersion},t)}:null},Gg=function(){function e(t,r,n,o){var i=this;this.isMounted=!0,this.imgElement=t,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var a=cr(r);to(t,a,n,this.htmlPluginState,o).then(function(s){if(i.isMounted){i.htmlPluginState.pluginEventSubscription.forEach(function(u){u()});var c=_i(o,s);i.imgElement.setAttribute("src",a.toURL(c))}})}return e.prototype.update=function(t,r,n){var o=this,i=cr(t);to(this.imgElement,i,r,this.htmlPluginState).then(function(a){if(o.isMounted){var s=_i(n,a);o.imgElement.setAttribute("src",i.toURL(s))}})},e.prototype.unmount=function(){this.isMounted=!1},e}();let Le=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}},Hg=class extends Error{constructor(t="Unsupported"){super(t)}};function Hi(e){return new Hg(e)}function Yg(){return this._qualifierModel||{error:Hi(`unsupported qualifier ${this.constructor.name}`)}}let Qg=class{constructor(){this._qualifierModel={}}toJson(){return Yg.apply(this)}},le=class extends Qg{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Le?this.qualifierValue=r:(this.qualifierValue=new Le,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}},zt=class extends le{constructor(t,r){let n;r?n=new Le([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}};function Kg(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Jg(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:Hi(`unsupported action ${this.constructor.name}`)}}let Xg=class{constructor(){this._actionModel={}}toJson(){return Jg.apply(this)}},Qt=class extends Xg{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(),Kg(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 zt(n)):this.qualifiers.set(r,new le(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new zt(t)):t instanceof zt&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}};class Yi extends Qt{constructor(t){super(),this.regionType=t,this._actionModel.regionType=t}}class bo extends Yi{constructor(){super("custom")}x(t){return this._actionModel.x=t,this.addQualifier(new le("x",t)),this}y(t){return this._actionModel.y=t,this.addQualifier(new le("y",t)),this}width(t){return this._actionModel.width=t,this.addQualifier(new le("w",t)),this}height(t){return this._actionModel.height=t,this.addQualifier(new le("h",t)),this}static fromJson(t){const r=new bo;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 Zg(){return new bo}function Mc(){return new Yi("faces")}function ey(){return new Yi("ocr_text")}class ty 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 le("e",`blur_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new le("e",`blur_region${t}`)),this.addQualifier(new le("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new le("e",`blur_faces${t}`))):this.addQualifier(new le("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(Mc()),n&&n.regionType==="ocr_text"&&o.region(ey()),n&&n.regionType==="custom"&&o.region(bo.fromJson(n)),o}}function Er(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const Lc={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},ry={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},Nc={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},Fc={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},ny={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},Vc={444:"CHROMA_444",420:"CHROMA_420"},oy={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},iy=Er(Vc);Er(oy);const ay=Er(Lc),sy=Er(ry),zc=Er(Nc);Er(Fc);Er(ny);class Bc extends Qt{constructor(t,r){super(),this._actionModel={},this._actionModel.actionType=zc[t]||t;const n=this.createEffectQualifier(t,r);this.addQualifier(n)}createEffectQualifier(t,r){let n;return r?n=new Le([t,`${r}`]).setDelimiter(":"):n=new Le(t),new le("e",n)}static fromJson(t){const{actionType:r,level:n,strength:o}=t,i=Nc[r]||r;return new this(i,n||o)}}class cy extends Bc{constructor(t,r){super(t,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=t,this._actionModel.actionType=zc[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 wo(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class ly 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 Le(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(t+=`:${new Le(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(t+=`:${new Le(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(t+=`:${new Le(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(t+=`:${new Le(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new le("e",t))}static fromJson(t){const{actionType:r,paths:n,cornersLevel:o,despeckleLevel:i,detailLevel:a,numOfColors:s}=t,c=new this;return n&&c.paths(n),o&&c.cornersLevel(o),i&&c.despeckleLevel(i),a&&c.detailsLevel(a),s&&c.numOfColors(s),c}}class uy extends cy{level(t){return this._actionModel.level=t,this.setLevel(t)}}class dy extends Qt{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new le("e",new Le("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new le("e",new Le(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(t){return this._actionModel.type="stripes",this._actionModel.stripesStrength=t,this.addQualifier(new le("e",new Le(["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 fy extends uy{color(t){return this._actionModel.color=t,this.addQualifier(new le("co",new Le(wo(t))))}static fromJson(t){const{actionType:r,level:n,color:o}=t,i=new this(r,n);return o&&i.color(o),i}}class py 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 le("e",`pixelate_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new le("e",`pixelate_region${t}`)),this.addQualifier(new le("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new le("e",`pixelate_faces${t}`))):this.addQualifier(new le("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(Mc()),r&&r.regionType==="custom"&&o.region(Zg()),o}}function hy(e){return new ty(e)}function gy(){return new Bc("grayscale")}function ps(e){return new fy("colorize",e)}function yy(){return new ly}function my(){return new dy}function vy(e){return new py(e)}let by=class extends Qt{constructor(t){super(),this._actionModel={},this.addQualifier(new le("b",new Le(wo(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:Hi(`unsupported action ${this.constructor.name}`)}}};function wy(e){const t=e;return"error"in t&&!!t.error}function xy(){return new zt("ignore_aspect_ratio")}function $y(){return new zt("lossy")}function _y(){return new zt("preserve_transparency")}function Sy(e){return new zt("progressive",e)}function Cy(){return new zt("region_relative")}function Ey(){return new zt("relative")}let Qi=class extends Le{constructor(t){super(t),this.val=t}getValue(){return this.val}},Wc=class extends Qt{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Qi?o=r.getValue():o=r,this._actionModel.actionType=sy[t],this._actionModel[n]=o,this.addQualifier(new le(t,r))}},ky=class extends zt{constructor(t){super("progressive",t)}},Si=class extends Wc{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag($y()),this}progressive(t){return t instanceof ky?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(Sy(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(_y()),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}},xo=class Uc{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 Uc?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 Si("q",t)),this}format(t){return this.addAction(new Si("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new by(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 zt(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(wy(n))return n;t.push(n)}return{actions:t}}};function gs(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 Ay extends Le{}class Ty extends Qt{constructor(t,r,n){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=ay[t]||t,this.addQualifier(new le("c",t)),r&&this.width(r),n&&this.height(n)}height(t){return this._actionModel.dimensions.height=t,this.addQualifier(new le("h",t))}width(t){return this._actionModel.dimensions.width=t,this.addQualifier(new le("w",t))}aspectRatio(t){if(t instanceof Ay)return this._actionModel.dimensions.aspectRatio=`${t}`,this.addQualifier(new le("ar",t));if(typeof t=="number"||typeof t=="string")return this._actionModel.dimensions.aspectRatio=gs(t),this.addQualifier(new le("ar",gs(t)));if(t instanceof zt)return this._actionModel.dimensions.aspectRatio=`${t.qualifierValue}`,this.addFlag(t)}relative(){return this._actionModel.relative=!0,this.addFlag(Ey())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(Cy())}static fromJson(t){const{actionType:r,dimensions:n,relative:o,regionRelative:i}=t,{aspectRatio:a,width:s,height:c}=n,u=Lc[r]||r,f=new this(u,s,c);return a&&f.aspectRatio(a==="ignore_aspect_ratio"?xy():a),o&&f.relative(),i&&f.regionRelative(),f}}class Ki extends le{constructor(t){super("g",new Le(t))}}class qc extends Ki{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}class Gc extends Ki{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}class Hc extends Ki{constructor(t){super(t)}}function Oy(e){return new Hc(e)}function Yc(...e){const t=[...e];return new Gc(t)}function Qc(){return new qc}class $o extends Le{constructor(t){super(),this.name=t}toString(){return this.name}}function Ry(){return new $o("ocr_text")}function jy(e){return e&&`${e}`.split(":")[0]==="auto"}function Py(e){const t=Ji(e);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(t)}function Ji(e){return`${e}`.replace("g_","")}function Dy(e){return{compass:Ji(e),gravityType:"direction"}}function Iy(e){return Ji(e)==="ocr_text"}function My(){return{gravityType:"ocr"}}function Ly(e){return`${e.qualifierValue}`.split(":")[0]==="auto"}function Ny(e){const r=e.toString().split("_"),n={object:r[0]};return r.length>1&&(r[1]==="avoid"?n.avoid=!0:n.weight=+r[1]),n}function Kc(e){let t;const r=e==="auto"?new qc: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(Ny)}}function Fy(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=Qc().autoFocus(...i);o.fallbackGravity=Kc(a)}return o}function Vy(e){const r=e.split(":").map(n=>new $o(n));return new Gc(r)}function zy(e){return Py(e)?Dy(e):Iy(e)?My():jy(e)||Ly(e)?Kc(e):Fy(typeof e=="string"?Vy(e):e)}class Xi extends Le{constructor(t,r){super(),this._weight=r,this.focusOn=t,this.shouldAvoid=!1}static focusOn(t,r){return new Xi(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 Jc extends Le{constructor(t){super(),this.val=t}toString(){return this.val}}function By(e){return e.gravityType==="direction"}function Wy(e){return e.gravityType==="ocr"}function Uy(e){return e.gravityType==="auto"}function qy(e){const{object:t,weight:r,avoid:n}=e,o=new Xi(new $o(t));return(r||r===0)&&o.weight(r),n&&o.avoid(),o}function Xc(e){const r=(e.autoFocus||[]).map(qy);return Qc().autoFocus(...r)}function Gy(e){const t=(e.focusOnObjects||[]).map(n=>new $o(n)),r=Yc(...t);if(e.fallbackGravity){const n=Xc(e.fallbackGravity);r.fallbackGravity(n)}return r}function Hy(e){return By(e)?new Hc(new Jc(e.compass)):Wy(e)?Yc(Ry()):Uy(e)?Xc(e):Gy(e)}class Zi extends Ty{gravity(t){this._actionModel.gravity=zy(t);const r=typeof t=="string"?new le("g",t):t;return this.addQualifier(r)}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.gravity&&r.gravity(Hy(t.gravity)),r}}class wn extends le{constructor(t){super("b"),t&&this.addValue(t)}}const Zc=100,Yy=0;class Qy extends wn{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}`:`:${Zc}:${this.brightnessLevel}`:"";return`b_blurred${t}${r}`}}var el=Qy;class ea extends wn{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...t){return this._palette=t.map(r=>wo(r)),this}}class tl extends ea{toString(){return`
|
|
540
551
|
b_auto:border
|
|
541
552
|
${this._contrast?"_contrast":""}
|
|
542
553
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
543
|
-
`.replace(/\s+/g,"")}}class
|
|
554
|
+
`.replace(/\s+/g,"")}}class rl extends ea{gradientColors(t){return this._gradientColors=t,this}gradientDirection(t){return this._gradientDirection=t,this}}class nl extends rl{toString(){return`
|
|
544
555
|
b_auto:border_gradient
|
|
545
556
|
${this._contrast?"_contrast":""}
|
|
546
557
|
${this._gradientColors?`:${this._gradientColors}`:""}
|
|
547
558
|
${this._gradientDirection?`:${this._gradientDirection}`:""}
|
|
548
559
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
549
|
-
`.replace(/\s+/g,"")}}class
|
|
560
|
+
`.replace(/\s+/g,"")}}class ol extends rl{toString(){return`
|
|
550
561
|
b_auto:predominant_gradient
|
|
551
562
|
${this._contrast?"_contrast":""}
|
|
552
563
|
${this._gradientColors?`:${this._gradientColors}`:""}
|
|
553
564
|
${this._gradientDirection?`:${this._gradientDirection}`:""}
|
|
554
565
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
555
|
-
`.replace(/\s+/g,"")}}class
|
|
566
|
+
`.replace(/\s+/g,"")}}class il extends ea{toString(){return`
|
|
556
567
|
b_auto:predominant
|
|
557
568
|
${this._contrast?"_contrast":""}
|
|
558
569
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
559
|
-
`.replace(/\s+/g,"")}}class Fc extends pn{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(t){return this._prompt=t,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return`b_gen_fill${this._prompt?`:prompt_${this._prompt}`:""}`}}function Vc(e){return`${e}`.replace("b_","")}function Sm(){return{backgroundType:"auto"}}function Em(e){const{intensityLevel:t,brightnessLevel:r}=e,n={backgroundType:"blurred"};return(t||t===0)&&(n.intensity=t),(r||r===0)&&(n.brightness=r),n}function Ni(e){const t=e._contrast,r=e._palette,n={backgroundType:""};return t&&(n.contrast=!0),r&&(n.palette=r),n}function Tm(e){return Object.assign(Object.assign({},Ni(e)),{backgroundType:"border"})}function zc(e){const t=e._gradientColors,r=`${e._gradientDirection}`,n=Ni(e);return t&&(n.gradientColors=t),r&&(n.gradientDirection=r),n}function Am(e){return Object.assign(Object.assign({},zc(e)),{backgroundType:"borderGradient"})}function Cm(e){return{backgroundType:"color",color:Vc(e)}}function km(e){return Object.assign(Object.assign({},Ni(e)),{backgroundType:"predominant"})}function Om(e){return Object.assign(Object.assign({},zc(e)),{backgroundType:"predominantGradient"})}function Rm(e){return Object.assign({backgroundType:e.getBackgroundType()},e.getPrompt()?{prompt:e.getPrompt()}:{})}function jm(e){return Vc(e)==="auto"?Sm():e instanceof Pc?Em(e):e instanceof Ic?Tm(e):e instanceof Lc?Am(e):e instanceof Nc?km(e):e instanceof Dc?Om(e):e instanceof Fc?Rm(e):Cm(e)}function Pm(){return new ji("svg")}function Fi(){return new ji("auto")}function Bc(){return new Ic}function Wc(){return new pn("auto")}function Uc(){return new Lc}function qc(){return new Dc}function Gc(){return new Nc}function Hc(e){return new pn(ao(e))}function Im(){return new Pc}function Yc(){return new Fc}const Qc={auto:Wc,border:Bc,borderGradient:Uc,predominantGradient:qc,predominant:Gc,color:Hc,blurred:Im,generativeFill:Yc};function Mm(e){const{brightness:t,intensity:r}=e,n=Qc.blurred();return n.brightness(t??xm),n.intensity(r??jc),n}function Xa(e,t){const{gradientColors:r,gradientDirection:n,contrast:o,palette:i}=t;return o&&e.contrast(),i&&e.palette(...i),r&&e.gradientColors(+r),n&&e.gradientDirection(n),e}function Za(e,t){const{contrast:r,palette:n}=t;return r&&e.contrast(),n&&e.palette(...n),e}function Lm(e,t){const{prompt:r}=t;return r&&e.prompt(r),e}function Dm(e){const{backgroundType:t}=e;switch(t){case"auto":return Wc();case"blurred":return Mm(e);case"border":return Za(Bc(),e);case"borderGradient":return Xa(Uc(),e);case"predominant":return Za(Gc(),e);case"predominantGradient":return Xa(qc(),e);case"generativeFill":return Lm(Yc(),e);default:return Hc(e.color)}}class Nm extends Li{background(t){return this._actionModel.background=jm(t),this.addQualifier(t)}offsetX(t){return this._actionModel.x=t,this.addQualifier(new Z("x",t))}offsetY(t){return this._actionModel.y=t,this.addQualifier(new Z("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.background&&r.background(Dm(t.background)),t.x&&r.offsetX(t.x),t.y&&r.offsetY(t.y),t.zoom&&r.zoom(t.zoom),r}}class Fm extends Li{x(t){return this._actionModel.x=t,this.addQualifier(new Z("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new Z("y",t))}zoom(t){return this._actionModel.zoom=t,this.addQualifier(new Z("z",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),t.zoom&&r.zoom(t.zoom),r}}class Vm extends Li{x(t){return this._actionModel.x=t,this.addQualifier(new Z("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new Z("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function zm(e,t){return new Fm("crop",e,t)}function Bm(e,t){return new Vm("fill",e,t)}function Wm(e,t){return new Nm("pad",e,t)}class Um extends xc{constructor(t){super("q",t.toString(),"level")}chromaSubSampling(t){this._actionModel.chromaSubSampling=bc[t];const r=new Me([this._actionModel.level,t]);return r.setDelimiter(":"),this.addQualifier(new Z("q",r))}quantization(t){this._actionModel.quantization=t;const r=new Me([this._actionModel.level,`qmax_${t}`]).setDelimiter(":");return this.addQualifier(new Z("q",r))}static fromJson(t){const{level:r,chromaSubSampling:n,quantization:o}=t,i=vc[r]||r,a=new this(i);if(n){const c=Pg[n.toUpperCase()];c&&a.chromaSubSampling(+c)}return o&&a.quantization(o),a}}function lo(e){return new li("f",e)}function uo(e){return new Um(e)}function qm(){return new Oc("north_east")}Qa(70).color("black"),Qa(40).color("white"),Wg(),qg();var Gm=new so().effect(Ug()).delivery(uo("auto")).delivery(lo(Pm())),Hm=new so().effect(Gg()).delivery(uo("auto")).delivery(lo(Fi())),Ym=new so().effect(Bg(2e3)).delivery(uo("auto")).delivery(lo(Fi())),Qm=new so().resize(Wm("iw_div_2").aspectRatio(1).background(Qc.auto())).resize(zm(1,1).gravity(om(qm()))).resize(Bm().height("ih").width("iw")).delivery(uo("auto")).delivery(lo(Fi())),es={vectorize:Gm,pixelate:Hm,blur:Ym,"predominant-color":Qm},ts="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",rs={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},ns="?_a=",Jm=function(){function e(t,r,n,o,i,a,c){var u=this;this.mimeType="video",this.mimeSubTypes=rs,this.videoElement=t,this.originalVideo=r,this.videoOptions=c,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var f=or(r);Un(t,r,o,this.htmlPluginState).then(function(){u.htmlPluginState.pluginEventSubscription.forEach(function(h){h()}),u.setVideoAttributes(i,a),u.handleSourceToVideo(f,n)})}return e.prototype.handleSourceToVideo=function(t,r){var n=this;if(r)this.generateUserSources(t,r);else{var o=["webm","mp4","ogv"];o.forEach(function(i){n.appendSourceTag(or(t),i)})}},e.prototype.generateUserSources=function(t,r){var n=this;r.map(function(o){var i=o.type,a=o.codecs,c=o.transcode;return n.appendSourceTag(or(t).transcode(c),i,n.buildMimeType(i,a))})},e.prototype.appendSourceTag=function(t,r,n){var o,i=document.createElement("source"),a=(o=this.videoOptions)===null||o===void 0?void 0:o.useFetchFormat;a&&t.format(r);var c=t.toURL(),u=c.split(ns),f=u[1]?"".concat(ns).concat(u[1]):"",h=a?"":".".concat(r);i.src="".concat(u[0]).concat(h).concat(f),i.type=n||"video/".concat(rs[r]||r),this.videoElement.appendChild(i)},e.prototype.buildMimeType=function(t,r){var n="".concat(this.mimeType,"/").concat(this.mimeSubTypes[t]||t);return r&&(n+="; codecs="+(Array.isArray(r)?r.join(", "):r)),n},e.prototype.setVideoAttributes=function(t,r){var n;if(t===void 0&&(t={}),r==="auto"){var o=or(this.originalVideo);t.poster=o.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else r&&(t.poster=(n=r.toURL)===null||n===void 0?void 0:n.call(r));for(var i=0,a=Object.entries(t);i<a.length;i++){var c=a[i],u=c[0],f=c[1];f&&this.videoElement.setAttribute(u,u==="poster"?f:"")}},e.prototype.update=function(t,r,n,o,i){var a=this;if(t!==this.originalVideo){for(var c=this.videoElement.getElementsByTagName("SOURCE");c[0];)c[0].parentNode.removeChild(c[0]);Un(this.videoElement,t,n,this.htmlPluginState).then(function(){a.setVideoAttributes(o,i),a.handleSourceToVideo(t,r),a.videoElement.load()})}},e}(),Km=typeof nr=="object"&&nr&&nr.Object===Object&&nr,Xm=typeof self=="object"&&self&&self.Object===Object&&self;Km||Xm||Function("return this")();function Vi(){return typeof window<"u"}function Zm(e){return e instanceof HTMLImageElement}function ey(e){var t={},r=t.rootMargin,n=r===void 0?"0px":r,o=t.threshold,i=o===void 0?.1:o;return ty.bind(null,n,i)}function ty(e,t,r,n,o,i){return e===void 0&&(e="0px"),t===void 0&&(t=.1),Vi()?new Promise(function(a){var c=function(){return a({lazyload:!0})},u=ny(r,c,e,t);o.cleanupCallbacks.push(function(){u(),a("canceled")})}):!1}function ry(){return window&&"IntersectionObserver"in window}function ny(e,t,r,n){try{if(!ry())return t(),function(){};var o=new IntersectionObserver(function(i){i.forEach(function(a){a.isIntersecting&&(o.unobserve(a.target),t())})},{rootMargin:r,threshold:n});return o.observe(e),function(){e&&o.observe(e)}}catch{t()}}function Jc(e){var t={},r=t.mode,n=r===void 0?"vectorize":r;return oy.bind(null,n)}function oy(e,t,r,n,o,i){es[e]||(e="vectorize");var a=es[e].actions,c=or(r);if(a.forEach(function(f){c.addAction(f)}),!Vi())return r.transformation=c.transformation,!0;if(Zm(t)){c.transformation.actions.forEach(function(f,h){f instanceof qt&&f.getActionTag()==="responsive"&&delete c.transformation.actions[h]});var u=ci(o,{placeholder:!0});return t.src=c.toURL(u),t.onerror=function(){t.src=ts},new Promise(function(f){t.onload=function(){f()}}).then(function(){return new Promise(function(f){n.cleanupCallbacks.push(function(){t.src=ts,f("canceled")});var h=new Image;h.src=r.toURL(u),h.onload=function(){f({placeholder:!0})},h.onerror=function(){f({placeholder:!0})}})})}}function iy(e,t,r){var n=or(t);if(e)for(var o=0;o<e.length;o++){var i=e[o](null,n);if(!i)break}return n.toURL(r?{trackedAnalytics:r}:null)}function qn(e){e.cleanupCallbacks.forEach(function(t){t()})}var ui=function(e,t){return ui=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},ui(e,t)};function Kc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ui(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Jr=function(){return Jr=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Jr.apply(this,arguments)};function Xc(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var Kr={exports:{}},ve={};/*
|
|
570
|
+
`.replace(/\s+/g,"")}}class al extends wn{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 sl(e){return`${e}`.replace("b_","")}function Ky(){return{backgroundType:"auto"}}function Jy(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 ta(e){const t=e._contrast,r=e._palette,n={backgroundType:""};return t&&(n.contrast=!0),r&&(n.palette=r),n}function Xy(e){return Object.assign(Object.assign({},ta(e)),{backgroundType:"border"})}function cl(e){const t=e._gradientColors,r=`${e._gradientDirection}`,n=ta(e);return t&&(n.gradientColors=t),r&&(n.gradientDirection=r),n}function Zy(e){return Object.assign(Object.assign({},cl(e)),{backgroundType:"borderGradient"})}function em(e){return{backgroundType:"color",color:sl(e)}}function tm(e){return Object.assign(Object.assign({},ta(e)),{backgroundType:"predominant"})}function rm(e){return Object.assign(Object.assign({},cl(e)),{backgroundType:"predominantGradient"})}function nm(e){return Object.assign({backgroundType:e.getBackgroundType()},e.getPrompt()?{prompt:e.getPrompt()}:{})}function om(e){return sl(e)==="auto"?Ky():e instanceof el?Jy(e):e instanceof tl?Xy(e):e instanceof nl?Zy(e):e instanceof il?tm(e):e instanceof ol?rm(e):e instanceof al?nm(e):em(e)}function im(){return new Qi("svg")}function ra(){return new Qi("auto")}function ll(){return new tl}function ul(){return new wn("auto")}function dl(){return new nl}function fl(){return new ol}function pl(){return new il}function hl(e){return new wn(wo(e))}function am(){return new el}function gl(){return new al}const yl={auto:ul,border:ll,borderGradient:dl,predominantGradient:fl,predominant:pl,color:hl,blurred:am,generativeFill:gl};function sm(e){const{brightness:t,intensity:r}=e,n=yl.blurred();return n.brightness(t??Yy),n.intensity(r??Zc),n}function ys(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 ms(e,t){const{contrast:r,palette:n}=t;return r&&e.contrast(),n&&e.palette(...n),e}function cm(e,t){const{prompt:r}=t;return r&&e.prompt(r),e}function lm(e){const{backgroundType:t}=e;switch(t){case"auto":return ul();case"blurred":return sm(e);case"border":return ms(ll(),e);case"borderGradient":return ys(dl(),e);case"predominant":return ms(pl(),e);case"predominantGradient":return ys(fl(),e);case"generativeFill":return cm(gl(),e);default:return hl(e.color)}}class um extends Zi{background(t){return this._actionModel.background=om(t),this.addQualifier(t)}offsetX(t){return this._actionModel.x=t,this.addQualifier(new le("x",t))}offsetY(t){return this._actionModel.y=t,this.addQualifier(new le("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.background&&r.background(lm(t.background)),t.x&&r.offsetX(t.x),t.y&&r.offsetY(t.y),t.zoom&&r.zoom(t.zoom),r}}class dm extends Zi{x(t){return this._actionModel.x=t,this.addQualifier(new le("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new le("y",t))}zoom(t){return this._actionModel.zoom=t,this.addQualifier(new le("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 fm extends Zi{x(t){return this._actionModel.x=t,this.addQualifier(new le("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new le("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 pm(e,t){return new dm("crop",e,t)}function hm(e,t){return new fm("fill",e,t)}function gm(e,t){return new um("pad",e,t)}class ym extends Wc{constructor(t){super("q",t.toString(),"level")}chromaSubSampling(t){this._actionModel.chromaSubSampling=Vc[t];const r=new Le([this._actionModel.level,t]);return r.setDelimiter(":"),this.addQualifier(new le("q",r))}quantization(t){this._actionModel.quantization=t;const r=new Le([this._actionModel.level,`qmax_${t}`]).setDelimiter(":");return this.addQualifier(new le("q",r))}static fromJson(t){const{level:r,chromaSubSampling:n,quantization:o}=t,i=Fc[r]||r,a=new this(i);if(n){const s=iy[n.toUpperCase()];s&&a.chromaSubSampling(+s)}return o&&a.quantization(o),a}}function _o(e){return new Si("f",e)}function So(e){return new ym(e)}function mm(){return new Jc("north_east")}ps(70).color("black"),ps(40).color("white"),gy(),my();var vm=new xo().effect(yy()).delivery(So("auto")).delivery(_o(im())),bm=new xo().effect(vy()).delivery(So("auto")).delivery(_o(ra())),wm=new xo().effect(hy(2e3)).delivery(So("auto")).delivery(_o(ra())),xm=new xo().resize(gm("iw_div_2").aspectRatio(1).background(yl.auto())).resize(pm(1,1).gravity(Oy(mm()))).resize(hm().height("ih").width("iw")).delivery(So("auto")).delivery(_o(ra())),vs={vectorize:vm,pixelate:bm,blur:wm,"predominant-color":xm},bs="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",ws={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},xs="?_a=",$m=function(){function e(t,r,n,o,i,a,s){var c=this;this.mimeType="video",this.mimeSubTypes=ws,this.videoElement=t,this.originalVideo=r,this.videoOptions=s,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var u=cr(r);to(t,r,o,this.htmlPluginState).then(function(){c.htmlPluginState.pluginEventSubscription.forEach(function(f){f()}),c.setVideoAttributes(i,a),c.handleSourceToVideo(u,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(cr(t),i)})}},e.prototype.generateUserSources=function(t,r){var n=this;r.map(function(o){var i=o.type,a=o.codecs,s=o.transcode;return n.appendSourceTag(cr(t).transcode(s),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 s=t.toURL(),c=s.split(xs),u=c[1]?"".concat(xs).concat(c[1]):"",f=a?"":".".concat(r);i.src="".concat(c[0]).concat(f).concat(u),i.type=n||"video/".concat(ws[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=cr(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 s=a[i],c=s[0],u=s[1];u&&this.videoElement.setAttribute(c,c==="poster"?u:"")}},e.prototype.update=function(t,r,n,o,i){var a=this;if(t!==this.originalVideo){for(var s=this.videoElement.getElementsByTagName("SOURCE");s[0];)s[0].parentNode.removeChild(s[0]);to(this.videoElement,t,n,this.htmlPluginState).then(function(){a.setVideoAttributes(o,i),a.handleSourceToVideo(t,r),a.videoElement.load()})}},e}(),_m=typeof sr=="object"&&sr&&sr.Object===Object&&sr,Sm=typeof self=="object"&&self&&self.Object===Object&&self;_m||Sm||Function("return this")();function na(){return typeof window<"u"}function Cm(e){return e instanceof HTMLImageElement}function Em(e){var t={},r=t.rootMargin,n=r===void 0?"0px":r,o=t.threshold,i=o===void 0?.1:o;return km.bind(null,n,i)}function km(e,t,r,n,o,i){return e===void 0&&(e="0px"),t===void 0&&(t=.1),na()?new Promise(function(a){var s=function(){return a({lazyload:!0})},c=Tm(r,s,e,t);o.cleanupCallbacks.push(function(){c(),a("canceled")})}):!1}function Am(){return window&&"IntersectionObserver"in window}function Tm(e,t,r,n){try{if(!Am())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 ml(e){var t={},r=t.mode,n=r===void 0?"vectorize":r;return Om.bind(null,n)}function Om(e,t,r,n,o,i){vs[e]||(e="vectorize");var a=vs[e].actions,s=cr(r);if(a.forEach(function(u){s.addAction(u)}),!na())return r.transformation=s.transformation,!0;if(Cm(t)){s.transformation.actions.forEach(function(u,f){u instanceof Qt&&u.getActionTag()==="responsive"&&delete s.transformation.actions[f]});var c=_i(o,{placeholder:!0});return t.src=s.toURL(c),t.onerror=function(){t.src=bs},new Promise(function(u){t.onload=function(){u()}}).then(function(){return new Promise(function(u){n.cleanupCallbacks.push(function(){t.src=bs,u("canceled")});var f=new Image;f.src=r.toURL(c),f.onload=function(){u({placeholder:!0})},f.onerror=function(){u({placeholder:!0})}})})}}function Rm(e,t,r){var n=cr(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 ro(e){e.cleanupCallbacks.forEach(function(t){t()})}var Ci=function(e,t){return Ci=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])},Ci(e,t)};function vl(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ci(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var nn=function(){return nn=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},nn.apply(this,arguments)};function bl(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 on={exports:{}},Se={};/*
|
|
560
571
|
object-assign
|
|
561
572
|
(c) Sindre Sorhus
|
|
562
573
|
@license MIT
|
|
563
|
-
*/var
|
|
574
|
+
*/var $s=Object.getOwnPropertySymbols,jm=Object.prototype.hasOwnProperty,Pm=Object.prototype.propertyIsEnumerable;function Dm(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function Im(){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 wl=Im()?Object.assign:function(e,t){for(var r,n=Dm(e),o,i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var a in r)jm.call(r,a)&&(n[a]=r[a]);if($s){o=$s(r);for(var s=0;s<o.length;s++)Pm.call(r,o[s])&&(n[o[s]]=r[o[s]])}}return n};/** @license React v16.14.0
|
|
564
575
|
* react.production.min.js
|
|
565
576
|
*
|
|
566
577
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
567
578
|
*
|
|
568
579
|
* This source code is licensed under the MIT license found in the
|
|
569
580
|
* LICENSE file in the root directory of this source tree.
|
|
570
|
-
*/var
|
|
581
|
+
*/var oa=wl,Kt=typeof Symbol=="function"&&Symbol.for,xn=Kt?Symbol.for("react.element"):60103,Mm=Kt?Symbol.for("react.portal"):60106,Lm=Kt?Symbol.for("react.fragment"):60107,Nm=Kt?Symbol.for("react.strict_mode"):60108,Fm=Kt?Symbol.for("react.profiler"):60114,Vm=Kt?Symbol.for("react.provider"):60109,zm=Kt?Symbol.for("react.context"):60110,Bm=Kt?Symbol.for("react.forward_ref"):60112,Wm=Kt?Symbol.for("react.suspense"):60113,Um=Kt?Symbol.for("react.memo"):60115,qm=Kt?Symbol.for("react.lazy"):60116,_s=typeof Symbol=="function"&&Symbol.iterator;function $n(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 xl={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$l={};function Gr(e,t,r){this.props=e,this.context=t,this.refs=$l,this.updater=r||xl}Gr.prototype.isReactComponent={};Gr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error($n(85));this.updater.enqueueSetState(this,e,t,"setState")};Gr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function _l(){}_l.prototype=Gr.prototype;function ia(e,t,r){this.props=e,this.context=t,this.refs=$l,this.updater=r||xl}var aa=ia.prototype=new _l;aa.constructor=ia;oa(aa,Gr.prototype);aa.isPureReactComponent=!0;var sa={current:null},Sl=Object.prototype.hasOwnProperty,Cl={key:!0,ref:!0,__self:!0,__source:!0};function El(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)Sl.call(t,n)&&!Cl.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(s===1)o.children=r;else if(1<s){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(n in s=e.defaultProps,s)o[n]===void 0&&(o[n]=s[n]);return{$$typeof:xn,type:e,key:i,ref:a,props:o,_owner:sa.current}}function Gm(e,t){return{$$typeof:xn,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ca(e){return typeof e=="object"&&e!==null&&e.$$typeof===xn}function Hm(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(r){return t[r]})}var kl=/\/+/g,no=[];function Al(e,t,r,n){if(no.length){var o=no.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 Tl(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>no.length&&no.push(e)}function Ei(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 xn:case Mm:i=!0}}if(i)return r(n,e,t===""?"."+Ko(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 s=t+Ko(o,a);i+=Ei(o,s,r,n)}else if(e===null||typeof e!="object"?s=null:(s=_s&&e[_s]||e["@@iterator"],s=typeof s=="function"?s:null),typeof s=="function")for(e=s.call(e),a=0;!(o=e.next()).done;)o=o.value,s=t+Ko(o,a++),i+=Ei(o,s,r,n);else if(o==="object")throw r=""+e,Error($n(31,r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r,""));return i}function ki(e,t,r){return e==null?0:Ei(e,"",t,r)}function Ko(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Hm(e.key):t.toString(36)}function Ym(e,t){e.func.call(e.context,t,e.count++)}function Qm(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?Ai(e,n,r,function(i){return i}):e!=null&&(ca(e)&&(e=Gm(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(kl,"$&/")+"/")+r)),n.push(e))}function Ai(e,t,r,n,o){var i="";r!=null&&(i=(""+r).replace(kl,"$&/")+"/"),t=Al(t,i,n,o),ki(e,Qm,t),Tl(t)}var Ol={current:null};function ir(){var e=Ol.current;if(e===null)throw Error($n(321));return e}var Km={ReactCurrentDispatcher:Ol,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:sa,IsSomeRendererActing:{current:!1},assign:oa};Se.Children={map:function(e,t,r){if(e==null)return e;var n=[];return Ai(e,n,null,t,r),n},forEach:function(e,t,r){if(e==null)return e;t=Al(null,null,t,r),ki(e,Ym,t),Tl(t)},count:function(e){return ki(e,function(){return null},null)},toArray:function(e){var t=[];return Ai(e,t,null,function(r){return r}),t},only:function(e){if(!ca(e))throw Error($n(143));return e}};Se.Component=Gr;Se.Fragment=Lm;Se.Profiler=Fm;Se.PureComponent=ia;Se.StrictMode=Nm;Se.Suspense=Wm;Se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Km;Se.cloneElement=function(e,t,r){if(e==null)throw Error($n(267,e));var n=oa({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=sa.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)Sl.call(t,c)&&!Cl.hasOwnProperty(c)&&(n[c]=t[c]===void 0&&s!==void 0?s[c]:t[c])}var c=arguments.length-2;if(c===1)n.children=r;else if(1<c){s=Array(c);for(var u=0;u<c;u++)s[u]=arguments[u+2];n.children=s}return{$$typeof:xn,type:e.type,key:o,ref:i,props:n,_owner:a}};Se.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:zm,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:Vm,_context:e},e.Consumer=e};Se.createElement=El;Se.createFactory=function(e){var t=El.bind(null,e);return t.type=e,t};Se.createRef=function(){return{current:null}};Se.forwardRef=function(e){return{$$typeof:Bm,render:e}};Se.isValidElement=ca;Se.lazy=function(e){return{$$typeof:qm,_ctor:e,_status:-1,_result:null}};Se.memo=function(e,t){return{$$typeof:Um,type:e,compare:t===void 0?null:t}};Se.useCallback=function(e,t){return ir().useCallback(e,t)};Se.useContext=function(e,t){return ir().useContext(e,t)};Se.useDebugValue=function(){};Se.useEffect=function(e,t){return ir().useEffect(e,t)};Se.useImperativeHandle=function(e,t,r){return ir().useImperativeHandle(e,t,r)};Se.useLayoutEffect=function(e,t){return ir().useLayoutEffect(e,t)};Se.useMemo=function(e,t){return ir().useMemo(e,t)};Se.useReducer=function(e,t,r){return ir().useReducer(e,t,r)};Se.useRef=function(e){return ir().useRef(e)};Se.useState=function(e){return ir().useState(e)};Se.version="16.14.0";var _e={},Jm="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Xm=Jm,Zm=Function.call.bind(Object.prototype.hasOwnProperty),Ti=function(){};if(process.env.NODE_ENV!=="production"){var ev=Xm,Oi={},tv=Zm;Ti=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function Rl(e,t,r,n,o){if(process.env.NODE_ENV!=="production"){for(var i in e)if(tv(e,i)){var a;try{if(typeof e[i]!="function"){var s=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 s.name="Invariant Violation",s}a=e[i](t,i,n,r,null,ev)}catch(u){a=u}if(a&&!(a instanceof Error)&&Ti((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 Oi)){Oi[a.message]=!0;var c=o?o():"";Ti("Failed "+r+" type: "+a.message+(c??""))}}}}Rl.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(Oi={})};var rv=Rl;/** @license React v16.14.0
|
|
571
582
|
* react.development.js
|
|
572
583
|
*
|
|
573
584
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
574
585
|
*
|
|
575
586
|
* This source code is licensed under the MIT license found in the
|
|
576
587
|
* LICENSE file in the root directory of this source tree.
|
|
577
|
-
*/process.env.NODE_ENV!=="production"&&function(){var e=
|
|
578
|
-
in `+(
|
|
579
|
-
in`)===0;if(!$){var M=ue.ReactDebugCurrentFrame,ie=M.getStackAddendum();ie!==""&&(p+="%s",y=y.concat([ie]))}var q=y.map(function(ze){return""+ze});q.unshift("Warning: "+p),Function.prototype.apply.call(console[s],console,q);try{var Q=0,Ve="Warning: "+p.replace(/%s/g,function(){return y[Q++]});throw new Error(Ve)}catch{}}}var tt={};function qe(s,p){{var y=s.constructor,$=y&&(y.displayName||y.name)||"ReactClass",M=$+"."+p;if(tt[M])return;Y("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",p,$),tt[M]=!0}}var Ge={isMounted:function(s){return!1},enqueueForceUpdate:function(s,p,y){qe(s,"forceUpdate")},enqueueReplaceState:function(s,p,y,$){qe(s,"replaceState")},enqueueSetState:function(s,p,y,$){qe(s,"setState")}},fe={};Object.freeze(fe);function xe(s,p,y){this.props=s,this.context=p,this.refs=fe,this.updater=y||Ge}xe.prototype.isReactComponent={},xe.prototype.setState=function(s,p){if(!(typeof s=="object"||typeof s=="function"||s==null))throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,s,p,"setState")},xe.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};{var Te={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Be=function(s,p){Object.defineProperty(xe.prototype,s,{get:function(){me("%s(...) is deprecated in plain JavaScript React classes. %s",p[0],p[1])}})};for(var Pe in Te)Te.hasOwnProperty(Pe)&&Be(Pe,Te[Pe])}function dt(){}dt.prototype=xe.prototype;function jt(s,p,y){this.props=s,this.context=p,this.refs=fe,this.updater=y||Ge}var Ae=jt.prototype=new dt;Ae.constructor=jt,e(Ae,xe.prototype),Ae.isPureReactComponent=!0;function ft(){var s={current:null};return Object.seal(s),s}var Je=Object.prototype.hasOwnProperty,pt={key:!0,ref:!0,__self:!0,__source:!0},pe,ht,gt;gt={};function mt(s){if(Je.call(s,"ref")){var p=Object.getOwnPropertyDescriptor(s,"ref").get;if(p&&p.isReactWarning)return!1}return s.ref!==void 0}function Ot(s){if(Je.call(s,"key")){var p=Object.getOwnPropertyDescriptor(s,"key").get;if(p&&p.isReactWarning)return!1}return s.key!==void 0}function rt(s,p){var y=function(){pe||(pe=!0,Y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",p))};y.isReactWarning=!0,Object.defineProperty(s,"key",{get:y,configurable:!0})}function st(s,p){var y=function(){ht||(ht=!0,Y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",p))};y.isReactWarning=!0,Object.defineProperty(s,"ref",{get:y,configurable:!0})}function yt(s){if(typeof s.ref=="string"&&he.current&&s.__self&&he.current.stateNode!==s.__self){var p=se(he.current.type);gt[p]||(Y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref',se(he.current.type),s.ref),gt[p]=!0)}}var Ke=function(s,p,y,$,M,ie,q){var Q={$$typeof:o,type:s,key:p,ref:y,props:q,_owner:ie};return Q._store={},Object.defineProperty(Q._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Q,"_self",{configurable:!1,enumerable:!1,writable:!1,value:$}),Object.defineProperty(Q,"_source",{configurable:!1,enumerable:!1,writable:!1,value:M}),Object.freeze&&(Object.freeze(Q.props),Object.freeze(Q)),Q};function $t(s,p,y){var $,M={},ie=null,q=null,Q=null,Ve=null;if(p!=null){mt(p)&&(q=p.ref,yt(p)),Ot(p)&&(ie=""+p.key),Q=p.__self===void 0?null:p.__self,Ve=p.__source===void 0?null:p.__source;for($ in p)Je.call(p,$)&&!pt.hasOwnProperty($)&&(M[$]=p[$])}var ze=arguments.length-2;if(ze===1)M.children=y;else if(ze>1){for(var Tt=Array(ze),_t=0;_t<ze;_t++)Tt[_t]=arguments[_t+2];Object.freeze&&Object.freeze(Tt),M.children=Tt}if(s&&s.defaultProps){var Kt=s.defaultProps;for($ in Kt)M[$]===void 0&&(M[$]=Kt[$])}if(ie||q){var Mt=typeof s=="function"?s.displayName||s.name||"Unknown":s;ie&&rt(M,Mt),q&&st(M,Mt)}return Ke(s,ie,q,Q,Ve,he.current,M)}function St(s,p){var y=Ke(s.type,p,s.ref,s._self,s._source,s._owner,s.props);return y}function Pt(s,p,y){if(s==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+s+".");var $,M=e({},s.props),ie=s.key,q=s.ref,Q=s._self,Ve=s._source,ze=s._owner;if(p!=null){mt(p)&&(q=p.ref,ze=he.current),Ot(p)&&(ie=""+p.key);var Tt;s.type&&s.type.defaultProps&&(Tt=s.type.defaultProps);for($ in p)Je.call(p,$)&&!pt.hasOwnProperty($)&&(p[$]===void 0&&Tt!==void 0?M[$]=Tt[$]:M[$]=p[$])}var _t=arguments.length-2;if(_t===1)M.children=y;else if(_t>1){for(var Kt=Array(_t),Mt=0;Mt<_t;Mt++)Kt[Mt]=arguments[Mt+2];M.children=Kt}return Ke(s.type,ie,q,Q,Ve,ze,M)}function He(s){return typeof s=="object"&&s!==null&&s.$$typeof===o}var It=".",nt=":";function $e(s){var p=/[=:]/g,y={"=":"=0",":":"=2"},$=(""+s).replace(p,function(M){return y[M]});return"$"+$}var Vt=!1,zt=/\/+/g;function vt(s){return(""+s).replace(zt,"$&/")}var bt=10,Ye=[];function ct(s,p,y,$){if(Ye.length){var M=Ye.pop();return M.result=s,M.keyPrefix=p,M.func=y,M.context=$,M.count=0,M}else return{result:s,keyPrefix:p,func:y,context:$,count:0}}function We(s){s.result=null,s.keyPrefix=null,s.func=null,s.context=null,s.count=0,Ye.length<bt&&Ye.push(s)}function Qe(s,p,y,$){var M=typeof s;(M==="undefined"||M==="boolean")&&(s=null);var ie=!1;if(s===null)ie=!0;else switch(M){case"string":case"number":ie=!0;break;case"object":switch(s.$$typeof){case o:case i:ie=!0}}if(ie)return y($,s,p===""?It+Se(s,0):p),1;var q,Q,Ve=0,ze=p===""?It:p+nt;if(Array.isArray(s))for(var Tt=0;Tt<s.length;Tt++)q=s[Tt],Q=ze+Se(q,Tt),Ve+=Qe(q,Q,y,$);else{var _t=I(s);if(typeof _t=="function"){_t===s.entries&&(Vt||me("Using Maps as children is deprecated and will be removed in a future major release. Consider converting children to an array of keyed ReactElements instead."),Vt=!0);for(var Kt=_t.call(s),Mt,So=0;!(Mt=Kt.next()).done;)q=Mt.value,Q=ze+Se(q,So++),Ve+=Qe(q,Q,y,$)}else if(M==="object"){var _n="";_n=" If you meant to render a collection of children, use an array instead."+ce.getStackAddendum();var Wr=""+s;throw Error("Objects are not valid as a React child (found: "+(Wr==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":Wr)+")."+_n)}}return Ve}function Et(s,p,y){return s==null?0:Qe(s,"",p,y)}function Se(s,p){return typeof s=="object"&&s!==null&&s.key!=null?$e(s.key):p.toString(36)}function Xe(s,p,y){var $=s.func,M=s.context;$.call(M,p,s.count++)}function V(s,p,y){if(s==null)return s;var $=ct(null,null,p,y);Et(s,Xe,$),We($)}function ee(s,p,y){var $=s.result,M=s.keyPrefix,ie=s.func,q=s.context,Q=ie.call(q,p,s.count++);Array.isArray(Q)?Ie(Q,$,y,function(Ve){return Ve}):Q!=null&&(He(Q)&&(Q=St(Q,M+(Q.key&&(!p||p.key!==Q.key)?vt(Q.key)+"/":"")+y)),$.push(Q))}function Ie(s,p,y,$,M){var ie="";y!=null&&(ie=vt(y)+"/");var q=ct(p,ie,$,M);Et(s,ee,q),We(q)}function wt(s,p,y){if(s==null)return s;var $=[];return Ie(s,$,null,p,y),$}function j(s){return Et(s,function(){return null},null)}function B(s){var p=[];return Ie(s,p,null,function(y){return y}),p}function U(s){if(!He(s))throw Error("React.Children.only expected to receive a single React element child.");return s}function Ce(s,p){p===void 0?p=null:p!==null&&typeof p!="function"&&Y("createContext: Expected the optional second argument to be a function. Instead received: %s",p);var y={$$typeof:h,_calculateChangedBits:p,_currentValue:s,_currentValue2:s,_threadCount:0,Provider:null,Consumer:null};y.Provider={$$typeof:f,_context:y};var $=!1,M=!1;{var ie={$$typeof:h,_context:y,_calculateChangedBits:y._calculateChangedBits};Object.defineProperties(ie,{Provider:{get:function(){return M||(M=!0,Y("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),y.Provider},set:function(q){y.Provider=q}},_currentValue:{get:function(){return y._currentValue},set:function(q){y._currentValue=q}},_currentValue2:{get:function(){return y._currentValue2},set:function(q){y._currentValue2=q}},_threadCount:{get:function(){return y._threadCount},set:function(q){y._threadCount=q}},Consumer:{get:function(){return $||($=!0,Y("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),y.Consumer}}}),y.Consumer=ie}return y._currentRenderer=null,y._currentRenderer2=null,y}function De(s){var p={$$typeof:P,_ctor:s,_status:-1,_result:null};{var y,$;Object.defineProperties(p,{defaultProps:{configurable:!0,get:function(){return y},set:function(M){Y("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),y=M,Object.defineProperty(p,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return $},set:function(M){Y("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),$=M,Object.defineProperty(p,"propTypes",{enumerable:!0})}}})}return p}function lt(s){return s!=null&&s.$$typeof===k?Y("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof s!="function"?Y("forwardRef requires a render function but was given %s.",s===null?"null":typeof s):s.length!==0&&s.length!==2&&Y("forwardRef render functions accept exactly two parameters: props and ref. %s",s.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),s!=null&&(s.defaultProps!=null||s.propTypes!=null)&&Y("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:_,render:s}}function ke(s){return typeof s=="string"||typeof s=="function"||s===a||s===m||s===u||s===c||s===v||s===S||typeof s=="object"&&s!==null&&(s.$$typeof===P||s.$$typeof===k||s.$$typeof===f||s.$$typeof===h||s.$$typeof===_||s.$$typeof===O||s.$$typeof===R||s.$$typeof===L||s.$$typeof===E)}function d(s,p){return ke(s)||Y("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s),{$$typeof:k,type:s,compare:p===void 0?null:p}}function w(){var s=be.current;if(s===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
588
|
+
*/process.env.NODE_ENV!=="production"&&function(){var e=wl,t=rv,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,s=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,f=n?Symbol.for("react.context"):60110,g=n?Symbol.for("react.concurrent_mode"):60111,m=n?Symbol.for("react.forward_ref"):60112,v=n?Symbol.for("react.suspense"):60113,w=n?Symbol.for("react.suspense_list"):60120,S=n?Symbol.for("react.memo"):60115,T=n?Symbol.for("react.lazy"):60116,$=n?Symbol.for("react.block"):60121,C=n?Symbol.for("react.fundamental"):60117,P=n?Symbol.for("react.responder"):60118,I=n?Symbol.for("react.scope"):60119,M=typeof Symbol=="function"&&Symbol.iterator,E="@@iterator";function R(l){if(l===null||typeof l!="object")return null;var h=M&&l[M]||l[E];return typeof h=="function"?h:null}var F={current:null},G={suspense:null},K={current:null},pe=/^(.*)[\\\/]/;function ve(l,h,x){var O="";if(h){var V=h.fileName,he=V.replace(pe,"");if(/^index\./.test(he)){var Z=V.match(pe);if(Z){var oe=Z[1];if(oe){var Ve=oe.replace(pe,"");he=Ve+"/"+he}}}O=" (at "+he+":"+h.lineNumber+")"}else x&&(O=" (created by "+x+")");return`
|
|
589
|
+
in `+(l||"Unknown")+O}var se=1;function N(l){return l._status===se?l._result:null}function J(l,h,x){var O=h.displayName||h.name||"";return l.displayName||(O!==""?x+"("+O+")":x)}function z(l){if(l==null)return null;if(typeof l.tag=="number"&&ne("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case a:return"Fragment";case i:return"Portal";case c:return"Profiler";case s:return"StrictMode";case v:return"Suspense";case w:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case f:return"Context.Consumer";case u:return"Context.Provider";case m:return J(l,l.render,"ForwardRef");case S:return z(l.type);case $:return z(l.render);case T:{var h=l,x=N(h);if(x)return z(x);break}}return null}var re={},B=null;function ie(l){B=l}re.getCurrentStack=null,re.getStackAddendum=function(){var l="";if(B){var h=z(B.type),x=B._owner;l+=ve(h,B._source,x&&z(x.type))}var O=re.getCurrentStack;return O&&(l+=O()||""),l};var H={current:!1},ye={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:G,ReactCurrentOwner:K,IsSomeRendererActing:H,assign:e};e(ye,{ReactDebugCurrentFrame:re,ReactComponentTreeHook:{}});function $e(l){{for(var h=arguments.length,x=new Array(h>1?h-1:0),O=1;O<h;O++)x[O-1]=arguments[O];st("warn",l,x)}}function ne(l){{for(var h=arguments.length,x=new Array(h>1?h-1:0),O=1;O<h;O++)x[O-1]=arguments[O];st("error",l,x)}}function st(l,h,x){{var O=x.length>0&&typeof x[x.length-1]=="string"&&x[x.length-1].indexOf(`
|
|
590
|
+
in`)===0;if(!O){var V=ye.ReactDebugCurrentFrame,he=V.getStackAddendum();he!==""&&(h+="%s",x=x.concat([he]))}var Z=x.map(function(ze){return""+ze});Z.unshift("Warning: "+h),Function.prototype.apply.call(console[l],console,Z);try{var oe=0,Ve="Warning: "+h.replace(/%s/g,function(){return x[oe++]});throw new Error(Ve)}catch{}}}var tt={};function qe(l,h){{var x=l.constructor,O=x&&(x.displayName||x.name)||"ReactClass",V=O+"."+h;if(tt[V])return;ne("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.",h,O),tt[V]=!0}}var Ge={isMounted:function(l){return!1},enqueueForceUpdate:function(l,h,x){qe(l,"forceUpdate")},enqueueReplaceState:function(l,h,x,O){qe(l,"replaceState")},enqueueSetState:function(l,h,x,O){qe(l,"setState")}},be={};Object.freeze(be);function Ce(l,h,x){this.props=l,this.context=h,this.refs=be,this.updater=x||Ge}Ce.prototype.isReactComponent={},Ce.prototype.setState=function(l,h){if(!(typeof l=="object"||typeof l=="function"||l==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,l,h,"setState")},Ce.prototype.forceUpdate=function(l){this.updater.enqueueForceUpdate(this,l,"forceUpdate")};{var Ae={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Be=function(l,h){Object.defineProperty(Ce.prototype,l,{get:function(){$e("%s(...) is deprecated in plain JavaScript React classes. %s",h[0],h[1])}})};for(var Ie in Ae)Ae.hasOwnProperty(Ie)&&Be(Ie,Ae[Ie])}function gt(){}gt.prototype=Ce.prototype;function It(l,h,x){this.props=l,this.context=h,this.refs=be,this.updater=x||Ge}var Te=It.prototype=new gt;Te.constructor=It,e(Te,Ce.prototype),Te.isPureReactComponent=!0;function yt(){var l={current:null};return Object.seal(l),l}var Ke=Object.prototype.hasOwnProperty,mt={key:!0,ref:!0,__self:!0,__source:!0},we,vt,bt;bt={};function wt(l){if(Ke.call(l,"ref")){var h=Object.getOwnPropertyDescriptor(l,"ref").get;if(h&&h.isReactWarning)return!1}return l.ref!==void 0}function jt(l){if(Ke.call(l,"key")){var h=Object.getOwnPropertyDescriptor(l,"key").get;if(h&&h.isReactWarning)return!1}return l.key!==void 0}function rt(l,h){var x=function(){we||(we=!0,ne("%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)",h))};x.isReactWarning=!0,Object.defineProperty(l,"key",{get:x,configurable:!0})}function ct(l,h){var x=function(){vt||(vt=!0,ne("%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)",h))};x.isReactWarning=!0,Object.defineProperty(l,"ref",{get:x,configurable:!0})}function xt(l){if(typeof l.ref=="string"&&K.current&&l.__self&&K.current.stateNode!==l.__self){var h=z(K.current.type);bt[h]||(ne('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',z(K.current.type),l.ref),bt[h]=!0)}}var Je=function(l,h,x,O,V,he,Z){var oe={$$typeof:o,type:l,key:h,ref:x,props:Z,_owner:he};return oe._store={},Object.defineProperty(oe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(oe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:O}),Object.defineProperty(oe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:V}),Object.freeze&&(Object.freeze(oe.props),Object.freeze(oe)),oe};function Et(l,h,x){var O,V={},he=null,Z=null,oe=null,Ve=null;if(h!=null){wt(h)&&(Z=h.ref,xt(h)),jt(h)&&(he=""+h.key),oe=h.__self===void 0?null:h.__self,Ve=h.__source===void 0?null:h.__source;for(O in h)Ke.call(h,O)&&!mt.hasOwnProperty(O)&&(V[O]=h[O])}var ze=arguments.length-2;if(ze===1)V.children=x;else if(ze>1){for(var Tt=Array(ze),Ct=0;Ct<ze;Ct++)Tt[Ct]=arguments[Ct+2];Object.freeze&&Object.freeze(Tt),V.children=Tt}if(l&&l.defaultProps){var tr=l.defaultProps;for(O in tr)V[O]===void 0&&(V[O]=tr[O])}if(he||Z){var Nt=typeof l=="function"?l.displayName||l.name||"Unknown":l;he&&rt(V,Nt),Z&&ct(V,Nt)}return Je(l,he,Z,oe,Ve,K.current,V)}function kt(l,h){var x=Je(l.type,h,l.ref,l._self,l._source,l._owner,l.props);return x}function Mt(l,h,x){if(l==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+l+".");var O,V=e({},l.props),he=l.key,Z=l.ref,oe=l._self,Ve=l._source,ze=l._owner;if(h!=null){wt(h)&&(Z=h.ref,ze=K.current),jt(h)&&(he=""+h.key);var Tt;l.type&&l.type.defaultProps&&(Tt=l.type.defaultProps);for(O in h)Ke.call(h,O)&&!mt.hasOwnProperty(O)&&(h[O]===void 0&&Tt!==void 0?V[O]=Tt[O]:V[O]=h[O])}var Ct=arguments.length-2;if(Ct===1)V.children=x;else if(Ct>1){for(var tr=Array(Ct),Nt=0;Nt<Ct;Nt++)tr[Nt]=arguments[Nt+2];V.children=tr}return Je(l.type,he,Z,oe,Ve,ze,V)}function He(l){return typeof l=="object"&&l!==null&&l.$$typeof===o}var Lt=".",nt=":";function Ee(l){var h=/[=:]/g,x={"=":"=0",":":"=2"},O=(""+l).replace(h,function(V){return x[V]});return"$"+O}var Wt=!1,Ut=/\/+/g;function $t(l){return(""+l).replace(Ut,"$&/")}var _t=10,Ye=[];function lt(l,h,x,O){if(Ye.length){var V=Ye.pop();return V.result=l,V.keyPrefix=h,V.func=x,V.context=O,V.count=0,V}else return{result:l,keyPrefix:h,func:x,context:O,count:0}}function We(l){l.result=null,l.keyPrefix=null,l.func=null,l.context=null,l.count=0,Ye.length<_t&&Ye.push(l)}function Qe(l,h,x,O){var V=typeof l;(V==="undefined"||V==="boolean")&&(l=null);var he=!1;if(l===null)he=!0;else switch(V){case"string":case"number":he=!0;break;case"object":switch(l.$$typeof){case o:case i:he=!0}}if(he)return x(O,l,h===""?Lt+ke(l,0):h),1;var Z,oe,Ve=0,ze=h===""?Lt:h+nt;if(Array.isArray(l))for(var Tt=0;Tt<l.length;Tt++)Z=l[Tt],oe=ze+ke(Z,Tt),Ve+=Qe(Z,oe,x,O);else{var Ct=R(l);if(typeof Ct=="function"){Ct===l.entries&&(Wt||$e("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."),Wt=!0);for(var tr=Ct.call(l),Nt,No=0;!(Nt=tr.next()).done;)Z=Nt.value,oe=ze+ke(Z,No++),Ve+=Qe(Z,oe,x,O)}else if(V==="object"){var An="";An=" If you meant to render a collection of children, use an array instead."+re.getStackAddendum();var Kr=""+l;throw Error("Objects are not valid as a React child (found: "+(Kr==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":Kr)+")."+An)}}return Ve}function At(l,h,x){return l==null?0:Qe(l,"",h,x)}function ke(l,h){return typeof l=="object"&&l!==null&&l.key!=null?Ee(l.key):h.toString(36)}function Xe(l,h,x){var O=l.func,V=l.context;O.call(V,h,l.count++)}function U(l,h,x){if(l==null)return l;var O=lt(null,null,h,x);At(l,Xe,O),We(O)}function ue(l,h,x){var O=l.result,V=l.keyPrefix,he=l.func,Z=l.context,oe=he.call(Z,h,l.count++);Array.isArray(oe)?Me(oe,O,x,function(Ve){return Ve}):oe!=null&&(He(oe)&&(oe=kt(oe,V+(oe.key&&(!h||h.key!==oe.key)?$t(oe.key)+"/":"")+x)),O.push(oe))}function Me(l,h,x,O,V){var he="";x!=null&&(he=$t(x)+"/");var Z=lt(h,he,O,V);At(l,ue,Z),We(Z)}function St(l,h,x){if(l==null)return l;var O=[];return Me(l,O,null,h,x),O}function L(l){return At(l,function(){return null},null)}function Y(l){var h=[];return Me(l,h,null,function(x){return x}),h}function X(l){if(!He(l))throw Error("React.Children.only expected to receive a single React element child.");return l}function Oe(l,h){h===void 0?h=null:h!==null&&typeof h!="function"&&ne("createContext: Expected the optional second argument to be a function. Instead received: %s",h);var x={$$typeof:f,_calculateChangedBits:h,_currentValue:l,_currentValue2:l,_threadCount:0,Provider:null,Consumer:null};x.Provider={$$typeof:u,_context:x};var O=!1,V=!1;{var he={$$typeof:f,_context:x,_calculateChangedBits:x._calculateChangedBits};Object.defineProperties(he,{Provider:{get:function(){return V||(V=!0,ne("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),x.Provider},set:function(Z){x.Provider=Z}},_currentValue:{get:function(){return x._currentValue},set:function(Z){x._currentValue=Z}},_currentValue2:{get:function(){return x._currentValue2},set:function(Z){x._currentValue2=Z}},_threadCount:{get:function(){return x._threadCount},set:function(Z){x._threadCount=Z}},Consumer:{get:function(){return O||(O=!0,ne("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),x.Consumer}}}),x.Consumer=he}return x._currentRenderer=null,x._currentRenderer2=null,x}function Ne(l){var h={$$typeof:T,_ctor:l,_status:-1,_result:null};{var x,O;Object.defineProperties(h,{defaultProps:{configurable:!0,get:function(){return x},set:function(V){ne("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."),x=V,Object.defineProperty(h,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return O},set:function(V){ne("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."),O=V,Object.defineProperty(h,"propTypes",{enumerable:!0})}}})}return h}function ut(l){return l!=null&&l.$$typeof===S?ne("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof l!="function"?ne("forwardRef requires a render function but was given %s.",l===null?"null":typeof l):l.length!==0&&l.length!==2&&ne("forwardRef render functions accept exactly two parameters: props and ref. %s",l.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),l!=null&&(l.defaultProps!=null||l.propTypes!=null)&&ne("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:m,render:l}}function Re(l){return typeof l=="string"||typeof l=="function"||l===a||l===g||l===c||l===s||l===v||l===w||typeof l=="object"&&l!==null&&(l.$$typeof===T||l.$$typeof===S||l.$$typeof===u||l.$$typeof===f||l.$$typeof===m||l.$$typeof===C||l.$$typeof===P||l.$$typeof===I||l.$$typeof===$)}function p(l,h){return Re(l)||ne("memo: The first argument must be a component. Instead received: %s",l===null?"null":typeof l),{$$typeof:S,type:l,compare:h===void 0?null:h}}function k(){var l=F.current;if(l===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:
|
|
580
591
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
581
592
|
2. You might be breaking the Rules of Hooks
|
|
582
593
|
3. You might have more than one copy of React in the same app
|
|
583
|
-
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return
|
|
594
|
+
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return l}function D(l,h){var x=k();if(h!==void 0&&ne("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",h,typeof h=="number"&&Array.isArray(arguments[2])?`
|
|
595
|
+
|
|
596
|
+
Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://fb.me/rules-of-hooks`:""),l._context!==void 0){var O=l._context;O.Consumer===l?ne("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?"):O.Provider===l&&ne("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return x.useContext(l,h)}function q(l){var h=k();return h.useState(l)}function ge(l,h,x){var O=k();return O.useReducer(l,h,x)}function fe(l){var h=k();return h.useRef(l)}function ce(l,h){var x=k();return x.useEffect(l,h)}function ae(l,h){var x=k();return x.useLayoutEffect(l,h)}function Fe(l,h){var x=k();return x.useCallback(l,h)}function Q(l,h){var x=k();return x.useMemo(l,h)}function me(l,h,x){var O=k();return O.useImperativeHandle(l,h,x)}function je(l,h){{var x=k();return x.useDebugValue(l,h)}}var Ze;Ze=!1;function er(){if(K.current){var l=z(K.current.type);if(l)return`
|
|
597
|
+
|
|
598
|
+
Check the render method of \``+l+"`."}return""}function ot(l){if(l!==void 0){var h=l.fileName.replace(/^.*[\\\/]/,""),x=l.lineNumber;return`
|
|
599
|
+
|
|
600
|
+
Check your code at `+h+":"+x+"."}return""}function To(l){return l!=null?ot(l.__source):""}var _n={};function Oo(l){var h=er();if(!h){var x=typeof l=="string"?l:l.displayName||l.name;x&&(h=`
|
|
601
|
+
|
|
602
|
+
Check the top-level render call using <`+x+">.")}return h}function Hr(l,h){if(!(!l._store||l._store.validated||l.key!=null)){l._store.validated=!0;var x=Oo(h);if(!_n[x]){_n[x]=!0;var O="";l&&l._owner&&l._owner!==K.current&&(O=" It was passed a child from "+z(l._owner.type)+"."),ie(l),ne('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',x,O),ie(null)}}}function hr(l,h){if(typeof l=="object"){if(Array.isArray(l))for(var x=0;x<l.length;x++){var O=l[x];He(O)&&Hr(O,h)}else if(He(l))l._store&&(l._store.validated=!0);else if(l){var V=R(l);if(typeof V=="function"&&V!==l.entries)for(var he=V.call(l),Z;!(Z=he.next()).done;)He(Z.value)&&Hr(Z.value,h)}}}function Sn(l){{var h=l.type;if(h==null||typeof h=="string")return;var x=z(h),O;if(typeof h=="function")O=h.propTypes;else if(typeof h=="object"&&(h.$$typeof===m||h.$$typeof===S))O=h.propTypes;else return;O?(ie(l),t(O,l.props,"prop",x,re.getStackAddendum),ie(null)):h.PropTypes!==void 0&&!Ze&&(Ze=!0,ne("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",x||"Unknown")),typeof h.getDefaultProps=="function"&&!h.getDefaultProps.isReactClassApproved&&ne("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Yr(l){{ie(l);for(var h=Object.keys(l.props),x=0;x<h.length;x++){var O=h[x];if(O!=="children"&&O!=="key"){ne("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",O);break}}l.ref!==null&&ne("Invalid attribute `ref` supplied to `React.Fragment`."),ie(null)}}function Cn(l,h,x){var O=Re(l);if(!O){var V="";(l===void 0||typeof l=="object"&&l!==null&&Object.keys(l).length===0)&&(V+=" 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 he=To(h);he?V+=he:V+=er();var Z;l===null?Z="null":Array.isArray(l)?Z="array":l!==void 0&&l.$$typeof===o?(Z="<"+(z(l.type)||"Unknown")+" />",V=" Did you accidentally export a JSX literal instead of a component?"):Z=typeof l,ne("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Z,V)}var oe=Et.apply(this,arguments);if(oe==null)return oe;if(O)for(var Ve=2;Ve<arguments.length;Ve++)hr(arguments[Ve],l);return l===a?Yr(oe):Sn(oe),oe}var En=!1;function Ro(l){var h=Cn.bind(null,l);return h.type=l,En||(En=!0,$e("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(h,"type",{enumerable:!1,get:function(){return $e("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:l}),l}}),h}function jo(l,h,x){for(var O=Mt.apply(this,arguments),V=2;V<arguments.length;V++)hr(arguments[V],O.type);return Sn(O),O}try{var kn=Object.freeze({}),Po=new Map([[kn,null]]),Qr=new Set([kn]);Po.set(0,0),Qr.add(0)}catch{}var Do=Cn,Io=jo,Mo=Ro,Lo={map:St,forEach:U,count:L,toArray:Y,only:X};_e.Children=Lo,_e.Component=Ce,_e.Fragment=a,_e.Profiler=c,_e.PureComponent=It,_e.StrictMode=s,_e.Suspense=v,_e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ye,_e.cloneElement=Io,_e.createContext=Oe,_e.createElement=Do,_e.createFactory=Mo,_e.createRef=yt,_e.forwardRef=ut,_e.isValidElement=He,_e.lazy=Ne,_e.memo=p,_e.useCallback=Fe,_e.useContext=D,_e.useDebugValue=je,_e.useEffect=ce,_e.useImperativeHandle=me,_e.useLayoutEffect=ae,_e.useMemo=Q,_e.useReducer=ge,_e.useRef=fe,_e.useState=q,_e.version=r}();process.env.NODE_ENV==="production"?on.exports=Se:on.exports=_e;var jr=on.exports,Jo={sdkSemver:"1.13.0",techVersion:jr.version,sdkCode:"J"},nv=function(e){vl(t,e);function t(r){var n=e.call(this,r)||this;return n.imageRef=jr.createRef(),n}return t.prototype.componentDidMount=function(){this.htmlLayerInstance=new Gg(this.imageRef.current,this.props.cldImg,this.props.plugins,Jo)},t.prototype.componentDidUpdate=function(){ro(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,Jo)},t.prototype.componentWillUnmount=function(){ro(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},t.prototype.render=function(){var r=this.props;r.cldImg,r.plugins;var n=bl(r,["cldImg","plugins"]);if(na())return jr.createElement("img",nn({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=Rm(this.props.plugins,this.props.cldImg,Jo);return jr.createElement("img",nn({},n,{src:o}))},t}(jr.Component),ov=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(e){vl(t,e);function t(r){var n=e.call(this,r)||this;return n.videoRef=on.exports.createRef(),n.attachRef=n.attachRef.bind(n),n}return t.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new $m(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(){ro(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},t.prototype.componentWillUnmount=function(){ro(this.htmlVideoLayerInstance.htmlPluginState)},t.prototype.getVideoAttributes=function(){var r=this,n={};return ov.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=bl(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return jr.createElement("video",nn({},n,{ref:this.attachRef}))},t})(on.exports.Component);const jl=(e,t,r=!1)=>{y.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 iv(e){return!(typeof e!="object"||e instanceof Array)}class av{filterOutNonSupportedKeys(t,r){const n=Object.create({});return iv(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 Ss=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class la extends av{constructor(t){super();const r=this.filterOutNonSupportedKeys(t,Ss);Object.assign(this,{secure:!0},r)}extend(t){const r=this.filterOutNonSupportedKeys(t,Ss);return new la(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 an{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 sv extends Error{constructor(t="Unsupported"){super(t)}}function ua(e){return new sv(e)}function cv(){return this._qualifierModel||{error:ua(`unsupported qualifier ${this.constructor.name}`)}}class lv{constructor(){this._qualifierModel={}}toJson(){return cv.apply(this)}}class Co extends lv{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof an?this.qualifierValue=r:(this.qualifierValue=new an,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 lr extends Co{constructor(t,r){let n;r?n=new an([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function uv(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function dv(){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:ua(`unsupported action ${this.constructor.name}`)}}class fv{constructor(){this._actionModel={}}toJson(){return dv.apply(this)}}class da extends fv{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(),uv(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 lr(n)):this.qualifiers.set(r,new Co(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new lr(t)):t instanceof lr&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}}function pv(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class hv extends da{constructor(t){super(),this._actionModel={},this.addQualifier(new Co("b",new an(pv(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}}class Cs{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:ua(`unsupported action ${this.constructor.name}`)}}}function gv(e){const t=e;return"error"in t&&!!t.error}function yv(){return new lr("lossy")}function mv(){return new lr("preserve_transparency")}function vv(e){return new lr("progressive",e)}class bv extends an{constructor(t){super(t),this.val=t}getValue(){return this.val}}function kr(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const wv={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},xv={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},$v={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},_v={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Sv={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},Cv={444:"CHROMA_444",420:"CHROMA_420"},Ev={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};kr(Cv);kr(Ev);kr(wv);const kv=kr(xv);kr($v);kr(_v);kr(Sv);class Av extends da{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof bv?o=r.getValue():o=r,this._actionModel.actionType=kv[t],this._actionModel[n]=o,this.addQualifier(new Co(t,r))}}class Tv extends lr{constructor(t){super("progressive",t)}}class oo extends Av{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(yv()),this}progressive(t){return t instanceof Tv?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(vv(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(mv()),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 Eo{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 Cs(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof Eo?this.actions=this.actions.concat(t.actions):this.actions.push(new Cs(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 oo("q",t)),this}format(t){return this.addAction(new oo("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 hv(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new da;let n=t;return typeof t=="string"&&(n=new lr(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(gv(n))return n;t.push(n)}return{actions:t}}}class Ov extends Eo{}class Rv extends Eo{}function jv(e){return e.match(/^https?:\//)}function Pv(e){return e.indexOf("/")<0}function Dv(e){return e.match(/^v[0-9]+/)}function Iv(e,t){const r=t.secure,n=t.privateCdn,o=t.cname,i=t.secureDistribution;return!r&&!o?`http://res.cloudinary.com/${e}`:r&&!i&&n?`https://${e}-res.cloudinary.com`:r&&!i?`https://res.cloudinary.com/${e}`:r&&i&&n?`https://${i}`:r&&i?`https://${i}/${e}`:!r&&o?`http://${o}/${e}`:"ERROR"}function Mv(e){return e||"image"}function Lv(e){return e||"upload"}function Nv(e,t,r){const n=r!==!1;return t?`v${t}`:Dv(e)||jv(e)||Pv(e)?"":n?"v1":""}function fa(e,t,r){let n=t>>0,o=String(r);return e.length>n?String(e):(n=n-e.length,n>o.length&&(o+=Fv(o,n/o.length)),o.slice(0,n)+String(e))}function Fv(e,t){let r=t,n="";for(;r>0;)n+=e,r--;return n}const Vv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",io={};let Es=0;Vv.split("").forEach(e=>{let t=Es.toString(2);t=fa(t,6,"0"),io[t]=e,Es++});function zv(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").reverse().join(".")}function Bv(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 fa(t,2,"0")}).join(".")}function ks(e){let t="";const n=e.split(".").length*6,o=zv(e),i=Bv(o);let s=parseInt(i.split(".").join("")).toString(2);if(s=fa(s,n,"0"),s.length%6!==0)throw"Version must be smaller than 43.21.26)";return s.match(/.{1,6}/g).forEach(c=>{t+=io[c]}),t}function Wv(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 qv(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 io[i]+io[a]}function Gv(){const e="0.0.0";if(typeof window<"u")return e;try{return process.versions.node||e}catch{return e}}function Hv(e){const t={techVersion:Gv(),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 As(e){const t=Hv(e),r=Wv(t);try{const n=Yv(r.techVersion),o=ks(r.sdkSemver),i=ks(n),a=qv(r.osVersion),s=r.feature,c=r.sdkCode,{product:u,osType:f}=r;return`D${u}${c}${o}${i}${f}${a}${s}`}catch{return"E"}}function Yv(e){const t=e.split(".");return`${t[0]}.${t[1]}`}const Ts={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class Qv{constructor(t,r={},n){this.setPublicID(t),this.setCloudConfig(r),this.setURLConfig(n)}setURLConfig(t){return this.urlConfig=new la(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=Mv(this.assetType),r=Lv(this.deliveryType),n=!!this.suffix,o=`${t}/${r}`,i=Ts[`${t}/${r}`],a=this.urlConfig.useRootPath,s=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(s&&o==="image/upload")return"iu";if(n){if(i)return i;throw new Error(`URL Suffix only supported for ${Object.keys(Ts).join(", ")}, Provided: ${o} instead`)}return o}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(t,r){if(!this.publicID)return"";this.validateAssetForURLCreation();const n=Iv(this.cloudName,this.urlConfig),o=t?t.toString():"",i=Nv(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(c=>c).join("/");{const s=[encodeURI(n),this.getResourceType(),this.getSignature(),encodeURI(o),i,encodeURI(a).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(f=>f).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),c=this.urlConfig.analytics!==!1&&!a.includes("?");let u="";if(typeof this.urlConfig.queryParams=="object")try{const f=new URLSearchParams(this.urlConfig.queryParams);c&&f.set("_a",As(r)),u=f.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 u=this.urlConfig.queryParams||"",c&&(u+=`${u.length>0?"&":""}_a=${As(r)}`);return u?`${s}?${u}`:s}}}class Pl extends Qv{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 oo("q",t)),this}format(t){return this.addAction(new oo("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 Kv extends Pl{constructor(t,r,n){super(t,r,n,new Ov)}}class Jv extends Pl{constructor(t,r,n){super(t,r,n,new Rv),this.assetType="video"}transcode(t){return this.transformation.transcode(t),this}videoEdit(t){return this.transformation.videoEdit(t),this}}class Xv{constructor(t){t&&(this.cloudinaryConfig=t)}image(t){return new Kv(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(t){return new Jv(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(t){return this.cloudinaryConfig=t,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const Zv=({publicId:e,format:t="webp"})=>{const r=y.useMemo(()=>new Xv({cloud:{cloudName:"fluid-attacks"}}),[]);return y.useMemo(()=>r.image(e).format(t),[r,e,t])},eb=({alt:e="img",height:t="",width:r="",plugins:n=[Em(),ml()],publicId:o})=>{const i=Zv({publicId:o});return _.jsx(nv,{alt:e,cldImg:i,height:t,plugins:n,width:r})},ko=y.memo(eb),tb=te.form`
|
|
603
|
+
${({theme:e})=>`
|
|
604
|
+
align-items: center;
|
|
605
|
+
background: ${e.palette.gray[50]};
|
|
606
|
+
backdrop-filter: blur(11px);
|
|
607
|
+
border-radius: ${e.spacing[1]};
|
|
608
|
+
box-shadow: ${e.shadows.md};
|
|
609
|
+
display: flex;
|
|
610
|
+
flex-direction: column;
|
|
611
|
+
justify-content: center;
|
|
612
|
+
padding: ${e.spacing[3]} ${e.spacing[2]};
|
|
613
|
+
width: 628px;
|
|
584
614
|
|
|
585
|
-
|
|
615
|
+
&::before {
|
|
616
|
+
background: ${e.palette.gradients["02"]} border-box;
|
|
617
|
+
border-radius: ${e.spacing[1]};
|
|
618
|
+
content: "";
|
|
619
|
+
position: absolute;
|
|
620
|
+
inset: 0;
|
|
621
|
+
border: 2px solid transparent;
|
|
622
|
+
mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
|
|
623
|
+
mask-composite: exclude;
|
|
624
|
+
}
|
|
586
625
|
|
|
587
|
-
|
|
626
|
+
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
627
|
+
width: 320px;
|
|
628
|
+
}
|
|
629
|
+
`}
|
|
630
|
+
`,rb=te.div`
|
|
631
|
+
align-items: flex-start;
|
|
632
|
+
align-self: stretch;
|
|
633
|
+
display: flex;
|
|
634
|
+
flex-direction: column;
|
|
635
|
+
gap: ${({theme:e})=>e.spacing[1.5]};
|
|
636
|
+
|
|
637
|
+
button[type="submit"] {
|
|
638
|
+
width: 100%;
|
|
588
639
|
|
|
589
|
-
|
|
640
|
+
> * {
|
|
641
|
+
text-align: center;
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
`,nb=te.div`
|
|
645
|
+
${({theme:e})=>`
|
|
646
|
+
align-items: flex-start;
|
|
647
|
+
align-self: stretch;
|
|
648
|
+
container-type: inline-size;
|
|
649
|
+
display: flex;
|
|
650
|
+
flex-direction: row;
|
|
651
|
+
gap: ${e.spacing[1]};
|
|
652
|
+
position: relative;
|
|
590
653
|
|
|
591
|
-
Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(!s._store||s._store.validated||s.key!=null)){s._store.validated=!0;var y=mo(p);if(!mn[y]){mn[y]=!0;var $="";s&&s._owner&&s._owner!==he.current&&($=" It was passed a child from "+se(s._owner.type)+"."),oe(s),Y('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',y,$),oe(null)}}}function lr(s,p){if(typeof s=="object"){if(Array.isArray(s))for(var y=0;y<s.length;y++){var $=s[y];He($)&&Vr($,p)}else if(He(s))s._store&&(s._store.validated=!0);else if(s){var M=I(s);if(typeof M=="function"&&M!==s.entries)for(var ie=M.call(s),q;!(q=ie.next()).done;)He(q.value)&&Vr(q.value,p)}}}function yn(s){{var p=s.type;if(p==null||typeof p=="string")return;var y=se(p),$;if(typeof p=="function")$=p.propTypes;else if(typeof p=="object"&&(p.$$typeof===_||p.$$typeof===k))$=p.propTypes;else return;$?(oe(s),t($,s.props,"prop",y,ce.getStackAddendum),oe(null)):p.PropTypes!==void 0&&!Ze&&(Ze=!0,Y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",y||"Unknown")),typeof p.getDefaultProps=="function"&&!p.getDefaultProps.isReactClassApproved&&Y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function zr(s){{oe(s);for(var p=Object.keys(s.props),y=0;y<p.length;y++){var $=p[y];if($!=="children"&&$!=="key"){Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",$);break}}s.ref!==null&&Y("Invalid attribute `ref` supplied to `React.Fragment`."),oe(null)}}function vn(s,p,y){var $=ke(s);if(!$){var M="";(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(M+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ie=go(p);ie?M+=ie:M+=Jt();var q;s===null?q="null":Array.isArray(s)?q="array":s!==void 0&&s.$$typeof===o?(q="<"+(se(s.type)||"Unknown")+" />",M=" Did you accidentally export a JSX literal instead of a component?"):q=typeof s,Y("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",q,M)}var Q=$t.apply(this,arguments);if(Q==null)return Q;if($)for(var Ve=2;Ve<arguments.length;Ve++)lr(arguments[Ve],s);return s===a?zr(Q):yn(Q),Q}var bn=!1;function yo(s){var p=vn.bind(null,s);return p.type=s,bn||(bn=!0,me("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(p,"type",{enumerable:!1,get:function(){return me("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:s}),s}}),p}function vo(s,p,y){for(var $=Pt.apply(this,arguments),M=2;M<arguments.length;M++)lr(arguments[M],$.type);return yn($),$}try{var wn=Object.freeze({}),bo=new Map([[wn,null]]),Br=new Set([wn]);bo.set(0,0),Br.add(0)}catch{}var wo=vn,_o=vo,xo=yo,$o={map:wt,forEach:V,count:j,toArray:B,only:U};ye.Children=$o,ye.Component=xe,ye.Fragment=a,ye.Profiler=u,ye.PureComponent=jt,ye.StrictMode=c,ye.Suspense=v,ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ue,ye.cloneElement=_o,ye.createContext=Ce,ye.createElement=wo,ye.createFactory=xo,ye.createRef=ft,ye.forwardRef=lt,ye.isValidElement=He,ye.lazy=De,ye.memo=d,ye.useCallback=Ne,ye.useContext=A,ye.useDebugValue=Oe,ye.useEffect=X,ye.useImperativeHandle=de,ye.useLayoutEffect=J,ye.useMemo=W,ye.useReducer=ae,ye.useRef=re,ye.useState=z,ye.version=r}();process.env.NODE_ENV==="production"?Kr.exports=ve:Kr.exports=ye;var Tr=Kr.exports,Do={sdkSemver:"1.13.0",techVersion:Tr.version,sdkCode:"J"},Ry=function(e){Kc(t,e);function t(r){var n=e.call(this,r)||this;return n.imageRef=Tr.createRef(),n}return t.prototype.componentDidMount=function(){this.htmlLayerInstance=new wg(this.imageRef.current,this.props.cldImg,this.props.plugins,Do)},t.prototype.componentDidUpdate=function(){qn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,Do)},t.prototype.componentWillUnmount=function(){qn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},t.prototype.render=function(){var r=this.props;r.cldImg,r.plugins;var n=Xc(r,["cldImg","plugins"]);if(Vi())return Tr.createElement("img",Jr({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=iy(this.props.plugins,this.props.cldImg,Do);return Tr.createElement("img",Jr({},n,{src:o}))},t}(Tr.Component),jy=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(e){Kc(t,e);function t(r){var n=e.call(this,r)||this;return n.videoRef=Kr.exports.createRef(),n.attachRef=n.attachRef.bind(n),n}return t.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new Jm(this.videoRef&&this.videoRef.current,this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster,{useFetchFormat:this.props.useFetchFormat})},t.prototype.componentDidUpdate=function(){qn(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},t.prototype.componentWillUnmount=function(){qn(this.htmlVideoLayerInstance.htmlPluginState)},t.prototype.getVideoAttributes=function(){var r=this,n={};return jy.forEach(function(o){o in r.props&&(n[o]=r.props[o])}),n},t.prototype.attachRef=function(r){this.videoRef.current=r;var n=this.props.innerRef;n&&(n instanceof Function?n(r):n.current=r)},t.prototype.render=function(){var r=this.props;r.cldVid,r.cldPoster,r.plugins,r.sources,r.innerRef,r.useFetchFormat;var n=Xc(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return Tr.createElement("video",Jr({},n,{ref:this.attachRef}))},t})(Kr.exports.Component);const Py=(e,t,r=!1)=>{b.useEffect(()=>{var o;const n=i=>{e&&!e.contains(i.target)&&t()};return r?(document.addEventListener("click",n,!0),()=>{document.removeEventListener("click",n,!0)}):((o=document.getElementById("root"))==null||o.addEventListener("click",n,!0),()=>{var i;(i=document.getElementById("root"))==null||i.removeEventListener("click",n,!0)})},[r,e,t])};function Iy(e){return!(typeof e!="object"||e instanceof Array)}class My{filterOutNonSupportedKeys(t,r){const n=Object.create({});return Iy(t)?(Object.keys(t).forEach(o=>{r.indexOf(o)>=0?n[o]=t[o]:console.warn("Warning - unsupported key provided to configuration: ",o)}),n):Object.create({})}}const as=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class Gi extends My{constructor(t){super();const r=this.filterOutNonSupportedKeys(t,as);Object.assign(this,{secure:!0},r)}extend(t){const r=this.filterOutNonSupportedKeys(t,as);return new Gi(Object.assign({},this,r))}setCname(t){return this.cname=t,this}setSecureDistribution(t){return this.secureDistribution=t,this}setPrivateCdn(t){return this.privateCdn=t,this}setSignUrl(t){return this.signUrl=t,this}setLongUrlSignature(t){return this.longUrlSignature=t,this}setShorten(t){return this.shorten=t,this}setUseRootPath(t){return this.useRootPath=t,this}setSecure(t){return this.secure=t,this}setForceVersion(t){return this.forceVersion=t,this}setQueryParams(t){return this.queryParams=t,this}}class Xr{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}}class Ly extends Error{constructor(t="Unsupported"){super(t)}}function Hi(e){return new Ly(e)}function Dy(){return this._qualifierModel||{error:Hi(`unsupported qualifier ${this.constructor.name}`)}}class Ny{constructor(){this._qualifierModel={}}toJson(){return Dy.apply(this)}}class fo extends Ny{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Xr?this.qualifierValue=r:(this.qualifierValue=new Xr,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}}class ir extends fo{constructor(t,r){let n;r?n=new Xr([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function Fy(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Vy(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:Hi(`unsupported action ${this.constructor.name}`)}}class zy{constructor(){this._actionModel={}}toJson(){return Vy.apply(this)}}class Yi extends zy{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),Fy(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new ir(n)):this.qualifiers.set(r,new fo(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new ir(t)):t instanceof ir&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}}function By(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class Wy extends Yi{constructor(t){super(),this._actionModel={},this.addQualifier(new fo("b",new Xr(By(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}}class ss{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:Hi(`unsupported action ${this.constructor.name}`)}}}function Uy(e){const t=e;return"error"in t&&!!t.error}function qy(){return new ir("lossy")}function Gy(){return new ir("preserve_transparency")}function Hy(e){return new ir("progressive",e)}class Yy extends Xr{constructor(t){super(t),this.val=t}getValue(){return this.val}}function xr(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const Qy={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},Jy={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},Ky={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},Xy={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Zy={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},ev={444:"CHROMA_444",420:"CHROMA_420"},tv={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};xr(ev);xr(tv);xr(Qy);const rv=xr(Jy);xr(Ky);xr(Xy);xr(Zy);class nv extends Yi{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Yy?o=r.getValue():o=r,this._actionModel.actionType=rv[t],this._actionModel[n]=o,this.addQualifier(new fo(t,r))}}class ov extends ir{constructor(t){super("progressive",t)}}class Hn extends nv{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(qy()),this}progressive(t){return t instanceof ov?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(Hy(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(Gy()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;let a;return r?a=new this("f",r):a=new this("f"),o&&(o.mode?a.progressive(o.mode):a.progressive()),n&&a.lossy(),i&&a.preserveTransparency(),a}}class po{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new ss(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof po?this.actions=this.actions.concat(t.actions):this.actions.push(new ss(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new Hn("q",t)),this}format(t){return this.addAction(new Hn("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new Wy(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new Yi;let n=t;return typeof t=="string"&&(n=new ir(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(Uy(n))return n;t.push(n)}return{actions:t}}}class iv extends po{}class av extends po{}function sv(e){return e.match(/^https?:\//)}function cv(e){return e.indexOf("/")<0}function lv(e){return e.match(/^v[0-9]+/)}function uv(e,t){const r=t.secure,n=t.privateCdn,o=t.cname,i=t.secureDistribution;return!r&&!o?`http://res.cloudinary.com/${e}`:r&&!i&&n?`https://${e}-res.cloudinary.com`:r&&!i?`https://res.cloudinary.com/${e}`:r&&i&&n?`https://${i}`:r&&i?`https://${i}/${e}`:!r&&o?`http://${o}/${e}`:"ERROR"}function dv(e){return e||"image"}function fv(e){return e||"upload"}function pv(e,t,r){const n=r!==!1;return t?`v${t}`:lv(e)||sv(e)||cv(e)?"":n?"v1":""}function Qi(e,t,r){let n=t>>0,o=String(r);return e.length>n?String(e):(n=n-e.length,n>o.length&&(o+=hv(o,n/o.length)),o.slice(0,n)+String(e))}function hv(e,t){let r=t,n="";for(;r>0;)n+=e,r--;return n}const gv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Yn={};let cs=0;gv.split("").forEach(e=>{let t=cs.toString(2);t=Qi(t,6,"0"),Yn[t]=e,cs++});function mv(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").reverse().join(".")}function yv(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").map(t=>{const r=+t;if(isNaN(r)||r<0)throw"Invalid version number provided";return Qi(t,2,"0")}).join(".")}function ls(e){let t="";const n=e.split(".").length*6,o=mv(e),i=yv(o);let c=parseInt(i.split(".").join("")).toString(2);if(c=Qi(c,n,"0"),c.length%6!==0)throw"Version must be smaller than 43.21.26)";return c.match(/.{1,6}/g).forEach(u=>{t+=Yn[u]}),t}function vv(e){const t={sdkSemver:e.sdkSemver,techVersion:e.techVersion,sdkCode:e.sdkCode,product:e.product,feature:"0",osType:e.osType,osVersion:e.osVersion};return e.accessibility&&(t.feature="D"),e.lazyload&&(t.feature="C"),e.responsive&&(t.feature="A"),e.placeholder&&(t.feature="B"),t}const bv="1.21.0";function wv(e){const[t,r]=e.split("."),n=parseInt(t).toString(2),o=parseInt(r).toString(2),i=n.padStart(6,"0"),a=o.padStart(6,"0");return Yn[i]+Yn[a]}function _v(){const e="0.0.0";if(typeof window<"u")return e;try{return process.versions.node||e}catch{return e}}function xv(e){const t={techVersion:_v(),sdkCode:"T",sdkSemver:bv.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return e?Object.assign(Object.assign({},t),e):t}function us(e){const t=xv(e),r=vv(t);try{const n=$v(r.techVersion),o=ls(r.sdkSemver),i=ls(n),a=wv(r.osVersion),c=r.feature,u=r.sdkCode,{product:f,osType:h}=r;return`D${f}${u}${o}${i}${h}${a}${c}`}catch{return"E"}}function $v(e){const t=e.split(".");return`${t[0]}.${t[1]}`}const ds={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class Sv{constructor(t,r={},n){this.setPublicID(t),this.setCloudConfig(r),this.setURLConfig(n)}setURLConfig(t){return this.urlConfig=new Gi(t),this}setCloudConfig(t){return this.cloudName=t.cloudName,this.apiKey=t.apiKey,this.apiSecret=t.apiSecret,this.authToken=t.authToken,this}setPublicID(t){return this.publicID=t?t.toString():"",this}setDeliveryType(t){return this.deliveryType=t,this}setSuffix(t){return this.suffix=t,this}setSignature(t){return this.signature=t,this}setVersion(t){return t&&(this.version=t),this}setAssetType(t){return t&&(this.assetType=t),this}sign(){return this}toURL(t={}){return this.createCloudinaryURL(null,t.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";const t=this.suffix&&this.suffix.indexOf(".")>=0,r=this.suffix&&this.suffix.indexOf("/")>=0;if(t||r)throw"`suffix`` should not include . or /"}getResourceType(){const t=dv(this.assetType),r=fv(this.deliveryType),n=!!this.suffix,o=`${t}/${r}`,i=ds[`${t}/${r}`],a=this.urlConfig.useRootPath,c=this.urlConfig.shorten;if(a){if(o==="image/upload")return"";throw new Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${o} instead`)}if(c&&o==="image/upload")return"iu";if(n){if(i)return i;throw new Error(`URL Suffix only supported for ${Object.keys(ds).join(", ")}, Provided: ${o} instead`)}return o}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(t,r){if(!this.publicID)return"";this.validateAssetForURLCreation();const n=uv(this.cloudName,this.urlConfig),o=t?t.toString():"",i=pv(this.publicID,this.version,this.urlConfig.forceVersion),a=this.publicID;if(typeof t=="string")return[n,this.getResourceType(),this.getSignature(),o,i,a.replace(/,/g,"%2C"),this.suffix].filter(u=>u).join("/");{const c=[encodeURI(n),this.getResourceType(),this.getSignature(),encodeURI(o),i,encodeURI(a).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(h=>h).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),u=this.urlConfig.analytics!==!1&&!a.includes("?");let f="";if(typeof this.urlConfig.queryParams=="object")try{const h=new URLSearchParams(this.urlConfig.queryParams);u&&h.set("_a",us(r)),f=h.toString()}catch{console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else f=this.urlConfig.queryParams||"",u&&(f+=`${f.length>0?"&":""}_a=${us(r)}`);return f?`${c}?${f}`:c}}}class dl extends Sv{constructor(t,r,n,o){super(t,r,n),this.transformation=o}animated(t){return this.transformation.animated(t),this}border(t){return this.transformation.border(t),this}reshape(t){return this.transformation.reshape(t),this}resize(t){return this.transformation.resize(t),this}quality(t){return this.addAction(new Hn("q",t)),this}format(t){return this.addAction(new Hn("f",t)),this}roundCorners(t){return this.transformation.roundCorners(t),this}overlay(t){return this.transformation.overlay(t),this}addVariable(t){return this.transformation.addVariable(t),this}conditional(t){return this.transformation.conditional(t),this}effect(t){return this.transformation.effect(t),this}adjust(t){return this.transformation.adjust(t),this}rotate(t){return this.transformation.rotate(t),this}namedTransformation(t){return this.transformation.namedTransformation(t),this}delivery(t){return this.transformation.delivery(t),this}backgroundColor(t){return this.transformation.backgroundColor(t),this}psdTools(t){return this.transformation.psdTools(t),this}extract(t){return this.transformation.extract(t),this}addFlag(t){return this.transformation.addFlag(t),this}customFunction(t){return this.transformation.customFunction(t),this}addAction(t){return this.transformation.addAction(t),this}addTransformation(t){return this.transformation.addTransformation(t),this}toString(){return this.transformation.toString()}underlay(t){return this.transformation.underlay(t),this}toURL(t={}){return this.createCloudinaryURL(this.transformation,t==null?void 0:t.trackedAnalytics)}}class Ev extends dl{constructor(t,r,n){super(t,r,n,new iv)}}class Tv extends dl{constructor(t,r,n){super(t,r,n,new av),this.assetType="video"}transcode(t){return this.transformation.transcode(t),this}videoEdit(t){return this.transformation.videoEdit(t),this}}class Av{constructor(t){t&&(this.cloudinaryConfig=t)}image(t){return new Ev(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(t){return new Tv(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(t){return this.cloudinaryConfig=t,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const Cv=({publicId:e,format:t="webp"})=>{const r=b.useMemo(()=>new Av({cloud:{cloudName:"fluid-attacks"}}),[]);return b.useMemo(()=>r.image(e).format(t),[r,e,t])},kv=({alt:e="img",height:t="",width:r="",plugins:n=[ey(),Jc()],publicId:o})=>{const i=Cv({publicId:o});return T.jsx(Ry,{alt:e,cldImg:i,height:t,plugins:n,width:r})},ho=b.memo(kv),Ov=ne.button`
|
|
654
|
+
&:has(> :nth-child(2)) {
|
|
655
|
+
> div {
|
|
656
|
+
display: flex;
|
|
657
|
+
width: 50%;
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
662
|
+
flex-direction: column;
|
|
663
|
+
}
|
|
664
|
+
`}
|
|
665
|
+
`,ob=({children:e,name:t,onSubmit:r,submitDisabled:n,submitLabel:o="Submit"})=>_.jsx(tb,{"aria-label":t,name:t,onSubmit:r,children:_.jsxs(rb,{children:[e,_.jsx(Gi,{disabled:n,type:"submit",children:o})]})});var fr=[["Afghanistan","af","93"],["Albania","al","355"],["Algeria","dz","213"],["Andorra","ad","376"],["Angola","ao","244"],["Antigua and Barbuda","ag","1268"],["Argentina","ar","54","(..) ........",0],["Armenia","am","374",".. ......"],["Aruba","aw","297"],["Australia","au","61",{default:". .... ....","/^4/":"... ... ...","/^5(?!50)/":"... ... ...","/^1(3|8)00/":".... ... ...","/^13/":".. .. ..","/^180/":"... ...."},0,[]],["Austria","at","43"],["Azerbaijan","az","994","(..) ... .. .."],["Bahamas","bs","1242"],["Bahrain","bh","973"],["Bangladesh","bd","880"],["Barbados","bb","1246"],["Belarus","by","375","(..) ... .. .."],["Belgium","be","32","... .. .. .."],["Belize","bz","501"],["Benin","bj","229"],["Bhutan","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina","ba","387"],["Botswana","bw","267"],["Brazil","br","55","(..) ........."],["British Indian Ocean Territory","io","246"],["Brunei","bn","673"],["Bulgaria","bg","359"],["Burkina Faso","bf","226"],["Burundi","bi","257"],["Cambodia","kh","855"],["Cameroon","cm","237"],["Canada","ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde","cv","238"],["Caribbean Netherlands","bq","599","",1],["Cayman Islands","ky","1","... ... ....",4,["345"]],["Central African Republic","cf","236"],["Chad","td","235"],["Chile","cl","56"],["China","cn","86","... .... ...."],["Colombia","co","57","... ... ...."],["Comoros","km","269"],["Congo","cd","243"],["Congo","cg","242"],["Costa Rica","cr","506","....-...."],["Côte d'Ivoire","ci","225",".. .. .. .. .."],["Croatia","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599","",0],["Cyprus","cy","357",".. ......"],["Czech Republic","cz","420","... ... ..."],["Denmark","dk","45",".. .. .. .."],["Djibouti","dj","253"],["Dominica","dm","1767"],["Dominican Republic","do","1","(...) ...-....",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt","eg","20"],["El Salvador","sv","503","....-...."],["Equatorial Guinea","gq","240"],["Eritrea","er","291"],["Estonia","ee","372",".... ......"],["Ethiopia","et","251"],["Fiji","fj","679"],["Finland","fi","358",".. ... .. .."],["France","fr","33",". .. .. .. .."],["French Guiana","gf","594"],["French Polynesia","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia","ge","995"],["Germany","de","49","... ........."],["Ghana","gh","233"],["Greece","gr","30"],["Greenland","gl","299",".. .. .."],["Grenada","gd","1473"],["Guadeloupe","gp","590","",0],["Guam","gu","1671"],["Guatemala","gt","502","....-...."],["Guinea","gn","224"],["Guinea-Bissau","gw","245"],["Guyana","gy","592"],["Haiti","ht","509","....-...."],["Honduras","hn","504"],["Hong Kong","hk","852",".... ...."],["Hungary","hu","36"],["Iceland","is","354","... ...."],["India","in","91",".....-....."],["Indonesia","id","62"],["Iran","ir","98","... ... ...."],["Iraq","iq","964"],["Ireland","ie","353",".. ......."],["Israel","il","972","... ... ...."],["Italy","it","39","... .......",0],["Jamaica","jm","1876"],["Japan","jp","81",".. .... ...."],["Jordan","jo","962"],["Kazakhstan","kz","7","... ...-..-..",0],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait","kw","965"],["Kyrgyzstan","kg","996","... ... ..."],["Laos","la","856"],["Latvia","lv","371",".. ... ..."],["Lebanon","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya","ly","218"],["Liechtenstein","li","423"],["Lithuania","lt","370"],["Luxembourg","lu","352"],["Macau","mo","853"],["Macedonia","mk","389"],["Madagascar","mg","261"],["Malawi","mw","265"],["Malaysia","my","60","..-....-...."],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania","mr","222"],["Mauritius","mu","230"],["Mexico","mx","52","... ... ....",0],["Micronesia","fm","691"],["Moldova","md","373","(..) ..-..-.."],["Monaco","mc","377"],["Mongolia","mn","976"],["Montenegro","me","382"],["Morocco","ma","212"],["Mozambique","mz","258"],["Myanmar","mm","95"],["Namibia","na","264"],["Nauru","nr","674"],["Nepal","np","977"],["Netherlands","nl","31",{"/^06/":"(.). .........","/^6/":". .........","/^0(10|13|14|15|20|23|24|26|30|33|35|36|38|40|43|44|45|46|50|53|55|58|70|71|72|73|74|75|76|77|78|79|82|84|85|87|88|91)/":"(.).. ........","/^(10|13|14|15|20|23|24|26|30|33|35|36|38|40|43|44|45|46|50|53|55|58|70|71|72|73|74|75|76|77|78|79|82|84|85|87|88|91)/":".. ........","/^0/":"(.)... .......",default:"... ......."}],["New Caledonia","nc","687"],["New Zealand","nz","64","...-...-...."],["Nicaragua","ni","505"],["Niger","ne","227"],["Nigeria","ng","234"],["North Korea","kp","850"],["Norway","no","47","... .. ..."],["Oman","om","968"],["Pakistan","pk","92","...-......."],["Palau","pw","680"],["Palestine","ps","970"],["Panama","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru","pe","51"],["Philippines","ph","63",".... ......."],["Poland","pl","48","...-...-..."],["Portugal","pt","351"],["Puerto Rico","pr","1","(...) ...-....",3,["787","939"]],["Qatar","qa","974"],["Réunion","re","262"],["Romania","ro","40"],["Russia","ru","7","(...) ...-..-..",1],["Rwanda","rw","250"],["Saint Kitts and Nevis","kn","1869"],["Saint Lucia","lc","1758"],["Saint Vincent and the Grenadines","vc","1784"],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe","st","239"],["Saudi Arabia","sa","966"],["Senegal","sn","221"],["Serbia","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65","....-...."],["Slovakia","sk","421"],["Slovenia","si","386"],["Solomon Islands","sb","677"],["Somalia","so","252"],["South Africa","za","27"],["South Korea","kr","82","... .... ...."],["South Sudan","ss","211"],["Spain","es","34","... ... ..."],["Sri Lanka","lk","94"],["Sudan","sd","249"],["Suriname","sr","597"],["Swaziland","sz","268"],["Sweden","se","46","... ... ..."],["Switzerland","ch","41",".. ... .. .."],["Syria","sy","963"],["Taiwan","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tonga","to","676"],["Trinidad and Tobago","tt","1868"],["Tunisia","tn","216"],["Turkey","tr","90","... ... .. .."],["Turkmenistan","tm","993"],["Tuvalu","tv","688"],["Uganda","ug","256"],["Ukraine","ua","380","(..) ... .. .."],["United Arab Emirates","ae","971"],["United Kingdom","gb","44",".... ......"],["United States","us","1","(...) ...-....",0],["Uruguay","uy","598"],["Uzbekistan","uz","998",".. ... .. .."],["Vanuatu","vu","678"],["Vatican City","va","39",".. .... ....",1],["Venezuela","ve","58"],["Vietnam","vn","84"],["Yemen","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"]],ib="react-international-phone-",Dl=(...e)=>e.filter(t=>!!t).join(" ").trim(),ab=(...e)=>Dl(...e).split(" ").map(t=>`${ib}${t}`).join(" "),ft=({addPrefix:e,rawClassNames:t})=>Dl(ab(...e),...t),sb=({value:e,mask:t,maskSymbol:r,offset:n=0,trimNonMaskCharsLeftover:o=!1})=>{if(e.length<n)return e;let i=e.slice(0,n),a=e.slice(n),s=i,c=0;for(let u of t.split("")){if(c>=a.length){if(!o&&u!==r){s+=u;continue}break}u===r?(s+=a[c],c+=1):s+=u}return s},Rr=e=>e?/^\d+$/.test(e):!1,Ao=e=>e.replace(/\D/g,""),cb=(e,t)=>{let r=e.style.display;r!=="block"&&(e.style.display="block");let n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),i=o.top-n.top,a=n.bottom-o.bottom;i>=0&&a>=0||(Math.abs(i)<Math.abs(a)?e.scrollTop+=i:e.scrollTop-=a),e.style.display=r},lb=()=>typeof window>"u"?!1:window.navigator.userAgent.toLowerCase().includes("macintosh"),ub=(e,t)=>{let r=t.disableDialCodeAndPrefix?!1:t.forceDialCode,n=t.disableDialCodeAndPrefix?!1:t.insertDialCodeOnEmpty,o=e,i=u=>t.trimNonDigitsEnd?u.trim():u;if(!o)return n&&!o.length||r?i(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`):i(o);if(o=Ao(o),o===t.dialCode&&!t.disableDialCodeAndPrefix)return i(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`);if(t.dialCode.startsWith(o)&&!t.disableDialCodeAndPrefix)return i(r?`${t.prefix}${t.dialCode}${t.charAfterDialCode}`:`${t.prefix}${o}`);if(!o.startsWith(t.dialCode)&&!t.disableDialCodeAndPrefix){if(r)return i(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`);if(o.length<t.dialCode.length)return i(`${t.prefix}${o}`)}let a=()=>{let u=t.dialCode.length,f=o.slice(0,u),g=o.slice(u);return{phoneLeftSide:f,phoneRightSide:g}},{phoneLeftSide:s,phoneRightSide:c}=a();return s=`${t.prefix}${s}${t.charAfterDialCode}`,c=sb({value:c,mask:t.mask,maskSymbol:t.maskChar,trimNonMaskCharsLeftover:t.trimNonDigitsEnd||t.disableDialCodeAndPrefix&&c.length===0}),t.disableDialCodeAndPrefix&&(s=""),i(`${s}${c}`)},db=({phoneBeforeInput:e,phoneAfterInput:t,phoneAfterFormatted:r,cursorPositionAfterInput:n,leftOffset:o=0,deletion:i})=>{if(n<o)return o;if(!e)return r.length;let a=null;for(let f=n-1;f>=0;f-=1)if(Rr(t[f])){a=f;break}if(a===null){for(let f=0;f<t.length;f+=1)if(Rr(r[f]))return f;return t.length}let s=0;for(let f=0;f<a;f+=1)Rr(t[f])&&(s+=1);let c=0,u=0;for(let f=0;f<r.length&&(c+=1,Rr(r[f])&&(u+=1),!(u>=s+1));f+=1);if(i!=="backward")for(;!Rr(r[c])&&c<r.length;)c+=1;return c},Un=({phone:e,prefix:t})=>e?`${t}${Ao(e)}`:"";function Ri({value:e,country:t,insertDialCodeOnEmpty:r,trimNonDigitsEnd:n,countries:o,prefix:i,charAfterDialCode:a,forceDialCode:s,disableDialCodeAndPrefix:c,defaultMask:u,countryGuessingEnabled:f,disableFormatting:g}){let m=e;c&&(m=m.startsWith(`${i}`)?m:`${i}${t.dialCode}${m}`);let v=f?wb({phone:m,countries:o,currentCountryIso2:t==null?void 0:t.iso2}):void 0,w=(v==null?void 0:v.country)??t,S=ub(m,{prefix:i,mask:vb({phone:m,country:w,defaultMask:u,disableFormatting:g}),maskChar:Il,dialCode:w.dialCode,trimNonDigitsEnd:n,charAfterDialCode:a,forceDialCode:s,insertDialCodeOnEmpty:r,disableDialCodeAndPrefix:c}),T=f&&!(v!=null&&v.fullDialCodeMatch)?t:w;return{phone:Un({phone:c?`${T.dialCode}${S}`:S,prefix:i}),inputValue:S,country:T}}var fb=e=>{if((e==null?void 0:e.toLocaleLowerCase().includes("delete"))??!1)return e!=null&&e.toLocaleLowerCase().includes("forward")?"forward":"backward"},pb=(e,{country:t,insertDialCodeOnEmpty:r,phoneBeforeInput:n,prefix:o,charAfterDialCode:i,forceDialCode:a,disableDialCodeAndPrefix:s,countryGuessingEnabled:c,defaultMask:u,disableFormatting:f,countries:g})=>{let m=e.nativeEvent,v=m.inputType,w=fb(v),S=!!(v!=null&&v.startsWith("insertFrom")),T=v==="insertText",$=(m==null?void 0:m.data)||void 0,C=e.target.value,P=e.target.selectionStart??0;if(v!=null&&v.includes("history"))return{inputValue:n,phone:Un({phone:n,prefix:o}),cursorPosition:n.length,country:t};if(T&&!Rr($)&&C!==o)return{inputValue:n,phone:Un({phone:s?`${t.dialCode}${n}`:n,prefix:o}),cursorPosition:P-(($==null?void 0:$.length)??0),country:t};if(a&&!C.startsWith(`${o}${t.dialCode}`)&&!S){let F=C?n:`${o}${t.dialCode}${i}`;return{inputValue:F,phone:Un({phone:F,prefix:o}),cursorPosition:o.length+t.dialCode.length+i.length,country:t}}let{phone:I,inputValue:M,country:E}=Ri({value:C,country:t,trimNonDigitsEnd:w==="backward",insertDialCodeOnEmpty:r,countryGuessingEnabled:c,countries:g,prefix:o,charAfterDialCode:i,forceDialCode:a,disableDialCodeAndPrefix:s,disableFormatting:f,defaultMask:u}),R=db({cursorPositionAfterInput:P,phoneBeforeInput:n,phoneAfterInput:C,phoneAfterFormatted:M,leftOffset:a?o.length+t.dialCode.length+i.length:0,deletion:w});return{phone:I,inputValue:M,cursorPosition:R,country:E}},hb=(e,t)=>{let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let o of r)if(e[o]!==t[o])return!1;return!0},gb=()=>{let e=y.useRef(),t=y.useRef(Date.now());return{check:()=>{let r=Date.now(),n=e.current?r-t.current:void 0;return e.current=t.current,t.current=r,n}}},yb={size:20,overrideLastItemDebounceMS:-1};function mb(e,t){let{size:r,overrideLastItemDebounceMS:n,onChange:o}={...yb,...t},[i,a]=y.useState(e),[s,c]=y.useState([i]),[u,f]=y.useState(0),g=gb();return[i,(m,v)=>{if(typeof m=="object"&&typeof i=="object"&&hb(m,i)||m===i)return;let w=n>0,S=g.check(),T=w&&S!==void 0?S>n:!0;if((v==null?void 0:v.overrideLastItem)!==void 0?v.overrideLastItem:!T)c($=>[...$.slice(0,u),m]);else{let $=s.length>=r;c(C=>[...C.slice($?1:0,u+1),m]),$||f(C=>C+1)}a(m),o==null||o(m)},()=>{if(u<=0)return{success:!1};let m=s[u-1];return a(m),f(v=>v-1),o==null||o(m),{success:!0,value:m}},()=>{if(u+1>=s.length)return{success:!1};let m=s[u+1];return a(m),f(v=>v+1),o==null||o(m),{success:!0,value:m}}]}var Il=".",Vt={defaultCountry:"us",value:"",prefix:"+",defaultMask:"............",charAfterDialCode:" ",historySaveDebounceMS:200,disableCountryGuess:!1,disableDialCodePrefill:!1,forceDialCode:!1,disableDialCodeAndPrefix:!1,disableFormatting:!1,countries:fr,preferredCountries:[]},Ml=({defaultCountry:e=Vt.defaultCountry,value:t=Vt.value,countries:r=Vt.countries,prefix:n=Vt.prefix,defaultMask:o=Vt.defaultMask,charAfterDialCode:i=Vt.charAfterDialCode,historySaveDebounceMS:a=Vt.historySaveDebounceMS,disableCountryGuess:s=Vt.disableCountryGuess,disableDialCodePrefill:c=Vt.disableDialCodePrefill,forceDialCode:u=Vt.forceDialCode,disableDialCodeAndPrefix:f=Vt.disableDialCodeAndPrefix,disableFormatting:g=Vt.disableFormatting,onChange:m,inputRef:v})=>{let w={countries:r,prefix:n,charAfterDialCode:i,forceDialCode:f?!1:u,disableDialCodeAndPrefix:f,defaultMask:o,countryGuessingEnabled:!s,disableFormatting:g},S=y.useRef(null),T=v||S,$=N=>{Promise.resolve().then(()=>{var J;typeof window>"u"||T.current!==(document==null?void 0:document.activeElement)||((J=T.current)==null||J.setSelectionRange(N,N))})},[{phone:C,inputValue:P,country:I},M,E,R]=mb(()=>{let N=Pr({value:e,field:"iso2",countries:r});N||console.error(`[react-international-phone]: can not find a country with "${e}" iso2 code`);let J=N||Pr({value:"us",field:"iso2",countries:r}),{phone:z,inputValue:re,country:B}=Ri({value:t,country:J,insertDialCodeOnEmpty:!c,...w});return $(re.length),{phone:z,inputValue:re,country:B.iso2}},{overrideLastItemDebounceMS:a,onChange:({inputValue:N,phone:J,country:z})=>{if(!m)return;let re=F(z);m({phone:J,inputValue:N,country:re})}}),F=y.useCallback(N=>Pr({value:N,field:"iso2",countries:r}),[r]),G=y.useMemo(()=>F(I),[I,F]);y.useEffect(()=>{let N=T.current;if(!N)return;let J=z=>{if(!z.key)return;let re=z.ctrlKey,B=z.metaKey,ie=z.shiftKey;if(z.key.toLowerCase()==="z"){if(lb()){if(!B)return}else if(!re)return;ie?R():E()}};return N.addEventListener("keydown",J),()=>{N.removeEventListener("keydown",J)}},[T,E,R]);let K=N=>{N.preventDefault();let{phone:J,inputValue:z,country:re,cursorPosition:B}=pb(N,{country:G,phoneBeforeInput:P,insertDialCodeOnEmpty:!1,...w});return M({inputValue:z,phone:J,country:re.iso2}),$(B),t},pe=(N,J={focusOnInput:!1})=>{let z=Pr({value:N,field:"iso2",countries:r});if(!z){console.error(`[react-international-phone]: can not find a country with "${N}" iso2 code`);return}let re=f?"":`${n}${z.dialCode}${i}`;M({inputValue:re,phone:`${n}${z.dialCode}`,country:z.iso2}),J.focusOnInput&&Promise.resolve().then(()=>{var B;(B=T.current)==null||B.focus()})},[ve,se]=y.useState(!1);return y.useEffect(()=>{if(!ve){se(!0),t!==C&&(m==null||m({inputValue:P,phone:C,country:G}));return}if(t===C)return;let{phone:N,inputValue:J,country:z}=Ri({value:t,country:G,insertDialCodeOnEmpty:!c,...w});M({phone:N,inputValue:J,country:z.iso2})},[t]),{phone:C,inputValue:P,country:G,setCountry:pe,handlePhoneValueChange:K,inputRef:T}},vb=({phone:e,country:t,defaultMask:r="............",disableFormatting:n=!1})=>{let o=t.format,i=s=>n?s.replace(new RegExp(`[^${Il}]`,"g"),""):s;if(!o)return i(r);if(typeof o=="string")return i(o);if(!o.default)return console.error(`[react-international-phone]: default mask for ${t.iso2} is not provided`),i(r);let a=Object.keys(o).find(s=>{if(s==="default")return!1;if(!(s.charAt(0)==="/"&&s.charAt(s.length-1)==="/"))return console.error(`[react-international-phone]: format regex "${s}" for ${t.iso2} is not valid`),!1;let c=new RegExp(s.substring(1,s.length-1)),u=e.replace(t.dialCode,"");return c.test(Ao(u))});return i(a?o[a]:o.default)},qt=e=>{let[t,r,n,o,i,a]=e;return{name:t,iso2:r,dialCode:n,format:o,priority:i,areaCodes:a}},bb=e=>`Field "${e}" is not supported`,Pr=({field:e,value:t,countries:r=fr})=>{if(["priority"].includes(e))throw new Error(bb(e));let n=r.find(o=>{let i=qt(o);return t===i[e]});if(n)return qt(n)},wb=({phone:e,countries:t=fr,currentCountryIso2:r})=>{var s;let n={country:void 0,fullDialCodeMatch:!1};if(!e)return n;let o=Ao(e);if(!o)return n;let i=n,a=({country:c,fullDialCodeMatch:u})=>{var m,v;let f=c.dialCode===((m=i.country)==null?void 0:m.dialCode),g=(c.priority??0)<(((v=i.country)==null?void 0:v.priority)??0);(!f||g)&&(i={country:c,fullDialCodeMatch:u})};for(let c of t){let u=qt(c),{dialCode:f,areaCodes:g}=u;if(o.startsWith(f)){let m=i.country?Number(f)>=Number(i.country.dialCode):!0;if(g){let v=o.substring(f.length);for(let w of g)if(v.startsWith(w))return{country:u,fullDialCodeMatch:!0}}(m||f===o||!i.fullDialCodeMatch)&&a({country:u,fullDialCodeMatch:!0})}i.fullDialCodeMatch||o.length<f.length&&f.startsWith(o)&&(!i.country||Number(f)<=Number(i.country.dialCode))&&a({country:u,fullDialCodeMatch:!1})}if(r){let c=Pr({value:r,field:"iso2",countries:t});if(!c)return i;let u=c?(f=>{if(!(f!=null&&f.areaCodes))return!1;let g=o.substring(f.dialCode.length);return f.areaCodes.some(m=>m.startsWith(g))})(c):!1;i&&((s=i.country)==null?void 0:s.dialCode)===c.dialCode&&i.country!==c&&i.fullDialCodeMatch&&(!c.areaCodes||u)&&(i={country:c,fullDialCodeMatch:!0})}return i},xb=(e,t)=>{let r=parseInt(e,16);return Number(r+t).toString(16)},$b="abcdefghijklmnopqrstuvwxyz",_b="1f1e6",Os=$b.split("").reduce((e,t,r)=>({...e,[t]:xb(_b,r)}),{}),Sb=e=>[Os[e[0]],Os[e[1]]].join("-"),ao=({iso2:e,size:t,src:r,protocol:n="https",disableLazyLoading:o,className:i,style:a,...s})=>{if(!e)return y.createElement("img",{className:ft({addPrefix:["flag-emoji"],rawClassNames:[i]}),width:t,height:t,...s});let c=()=>{if(r)return r;let u=Sb(e);return`${n}://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/svg/${u}.svg`};return y.createElement("img",{className:ft({addPrefix:["flag-emoji"],rawClassNames:[i]}),src:c(),width:t,height:t,draggable:!1,"data-country":e,loading:o?void 0:"lazy",style:{width:t,height:t,...a},alt:"",...s})},Cb=1e3,Eb=({show:e,dialCodePrefix:t="+",selectedCountry:r,countries:n=fr,preferredCountries:o=[],flags:i,onSelect:a,onClose:s,...c})=>{let u=y.useRef(null),f=y.useRef(),g=y.useMemo(()=>{if(!o||!o.length)return n;let E=[],R=[...n];for(let F of o){let G=R.findIndex(K=>qt(K).iso2===F);if(G!==-1){let K=R.splice(G,1)[0];E.push(K)}}return E.concat(R)},[n,o]),m=y.useRef({updatedAt:void 0,value:""}),v=E=>{let R=m.current.updatedAt&&new Date().getTime()-m.current.updatedAt.getTime()>Cb;m.current={value:R?E:`${m.current.value}${E}`,updatedAt:new Date};let F=g.findIndex(G=>qt(G).name.toLowerCase().startsWith(m.current.value));F!==-1&&T(F)},w=y.useCallback(E=>g.findIndex(R=>qt(R).iso2===E),[g]),[S,T]=y.useState(w(r)),$=()=>{f.current!==r&&T(w(r))},C=y.useCallback(E=>{T(w(E.iso2)),a==null||a(E)},[a,w]),P=E=>{let R=g.length-1,F=G=>E==="prev"?G-1:E==="next"?G+1:E==="last"?R:0;T(G=>{let K=F(G);return K<0?0:K>R?R:K})},I=E=>{if(E.stopPropagation(),E.key==="Enter"){E.preventDefault();let R=qt(g[S]);C(R);return}if(E.key==="Escape"){s==null||s();return}if(E.key==="ArrowUp"){E.preventDefault(),P("prev");return}if(E.key==="ArrowDown"){E.preventDefault(),P("next");return}if(E.key==="PageUp"){E.preventDefault(),P("first");return}if(E.key==="PageDown"){E.preventDefault(),P("last");return}E.key===" "&&E.preventDefault(),E.key.length===1&&!E.altKey&&!E.ctrlKey&&!E.metaKey&&v(E.key.toLocaleLowerCase())},M=y.useCallback(()=>{if(!u.current||S===void 0)return;let E=qt(g[S]).iso2;if(E===f.current)return;let R=u.current.querySelector(`[data-country="${E}"]`);R&&(cb(u.current,R),f.current=E)},[S,g]);return y.useEffect(()=>{M()},[S,M]),y.useEffect(()=>{u.current&&(e?u.current.focus():$())},[e]),y.useEffect(()=>{$()},[r]),y.createElement("ul",{ref:u,role:"listbox",className:ft({addPrefix:["country-selector-dropdown"],rawClassNames:[c.className]}),style:{display:e?"block":"none",...c.style},onKeyDown:I,onBlur:s,tabIndex:-1,"aria-activedescendant":`react-international-phone__${qt(g[S]).iso2}-option`},g.map((E,R)=>{let F=qt(E),G=F.iso2===r,K=R===S,pe=o.includes(F.iso2),ve=R===o.length-1,se=i==null?void 0:i.find(N=>N.iso2===F.iso2);return y.createElement(y.Fragment,{key:F.iso2},y.createElement("li",{"data-country":F.iso2,role:"option","aria-selected":G,"aria-label":`${F.name} ${t}${F.dialCode}`,id:`react-international-phone__${F.iso2}-option`,className:ft({addPrefix:["country-selector-dropdown__list-item",pe&&"country-selector-dropdown__list-item--preferred",G&&"country-selector-dropdown__list-item--selected",K&&"country-selector-dropdown__list-item--focused"],rawClassNames:[c.listItemClassName]}),onClick:()=>C(F),style:c.listItemStyle,title:F.name},y.createElement(ao,{iso2:F.iso2,src:se==null?void 0:se.src,className:ft({addPrefix:["country-selector-dropdown__list-item-flag-emoji"],rawClassNames:[c.listItemFlagClassName]}),style:c.listItemFlagStyle}),y.createElement("span",{className:ft({addPrefix:["country-selector-dropdown__list-item-country-name"],rawClassNames:[c.listItemCountryNameClassName]}),style:c.listItemCountryNameStyle},F.name),y.createElement("span",{className:ft({addPrefix:["country-selector-dropdown__list-item-dial-code"],rawClassNames:[c.listItemDialCodeClassName]}),style:c.listItemDialCodeStyle},t,F.dialCode)),ve?y.createElement("hr",{className:ft({addPrefix:["country-selector-dropdown__preferred-list-divider"],rawClassNames:[c.preferredListDividerClassName]}),style:c.preferredListDividerStyle}):null)}))},kb=({selectedCountry:e,onSelect:t,disabled:r,hideDropdown:n,countries:o=fr,preferredCountries:i=[],flags:a,renderButtonWrapper:s,...c})=>{let[u,f]=y.useState(!1),g=y.useMemo(()=>{if(e)return Pr({value:e,field:"iso2",countries:o})},[o,e]),m=y.useRef(null),v=S=>{S.key&&["ArrowUp","ArrowDown"].includes(S.key)&&(S.preventDefault(),f(!0))},w=()=>{var $;let S={title:g==null?void 0:g.name,onClick:()=>f(C=>!C),onMouseDown:C=>C.preventDefault(),onKeyDown:v,disabled:n||r,role:"combobox","aria-label":"Country selector","aria-haspopup":"listbox","aria-expanded":u},T=y.createElement("div",{className:ft({addPrefix:["country-selector-button__button-content"],rawClassNames:[c.buttonContentWrapperClassName]}),style:c.buttonContentWrapperStyle},y.createElement(ao,{iso2:e,src:($=a==null?void 0:a.find(C=>C.iso2===e))==null?void 0:$.src,className:ft({addPrefix:["country-selector-button__flag-emoji",r&&"country-selector-button__flag-emoji--disabled"],rawClassNames:[c.flagClassName]}),style:{visibility:e?"visible":"hidden",...c.flagStyle}}),!n&&y.createElement("div",{className:ft({addPrefix:["country-selector-button__dropdown-arrow",r&&"country-selector-button__dropdown-arrow--disabled",u&&"country-selector-button__dropdown-arrow--active"],rawClassNames:[c.dropdownArrowClassName]}),style:c.dropdownArrowStyle}));return s?s({children:T,rootProps:S}):y.createElement("button",{...S,type:"button",className:ft({addPrefix:["country-selector-button",u&&"country-selector-button--active",r&&"country-selector-button--disabled",n&&"country-selector-button--hide-dropdown"],rawClassNames:[c.buttonClassName]}),"data-country":e,style:c.buttonStyle},T)};return y.createElement("div",{className:ft({addPrefix:["country-selector"],rawClassNames:[c.className]}),style:c.style,ref:m},w(),y.createElement(Eb,{show:u,countries:o,preferredCountries:i,flags:a,onSelect:S=>{f(!1),t==null||t(S)},selectedCountry:e,onClose:()=>{f(!1)},...c.dropdownStyleProps}))},Ab=({dialCode:e,prefix:t,disabled:r,style:n,className:o})=>y.createElement("div",{className:ft({addPrefix:["dial-code-preview",r&&"dial-code-preview--disabled"],rawClassNames:[o]}),style:n},`${t}${e}`);y.forwardRef(({value:e,onChange:t,countries:r=fr,preferredCountries:n=[],hideDropdown:o,showDisabledDialCodeAndPrefix:i,disableFocusAfterCountrySelect:a,flags:s,style:c,className:u,inputStyle:f,inputClassName:g,countrySelectorStyleProps:m,dialCodePreviewStyleProps:v,inputProps:w,placeholder:S,disabled:T,name:$,onFocus:C,onBlur:P,required:I,autoFocus:M,...E},R)=>{let{phone:F,inputValue:G,inputRef:K,country:pe,setCountry:ve,handlePhoneValueChange:se}=Ml({value:e,countries:r,...E,onChange:J=>{t==null||t(J.phone,{country:J.country,inputValue:J.inputValue})}}),N=E.disableDialCodeAndPrefix&&i&&(pe==null?void 0:pe.dialCode);return y.useImperativeHandle(R,()=>K.current?Object.assign(K.current,{setCountry:ve,state:{phone:F,inputValue:G,country:pe}}):null,[K,ve,F,G,pe]),y.createElement("div",{ref:R,className:ft({addPrefix:["input-container"],rawClassNames:[u]}),style:c},y.createElement(kb,{onSelect:J=>ve(J.iso2,{focusOnInput:!a}),flags:s,selectedCountry:pe.iso2,countries:r,preferredCountries:n,disabled:T,hideDropdown:o,...m}),N&&y.createElement(Ab,{dialCode:pe.dialCode,prefix:E.prefix??"+",disabled:T,...v}),y.createElement("input",{onChange:se,value:G,type:"tel",ref:K,className:ft({addPrefix:["input",T&&"input--disabled"],rawClassNames:[g]}),placeholder:S,disabled:T,style:f,name:$,onFocus:C,onBlur:P,autoFocus:M,required:I,...w}))});const Tb=te.div`
|
|
666
|
+
${({theme:e})=>`
|
|
667
|
+
align-items: flex-start;
|
|
668
|
+
align-self: stretch;
|
|
669
|
+
display: flex;
|
|
670
|
+
gap: ${e.spacing[.5]};
|
|
671
|
+
width: 380px;
|
|
672
|
+
|
|
673
|
+
> button, div {
|
|
674
|
+
border: 1px solid ${e.palette.gray[300]};
|
|
675
|
+
border-radius: ${e.spacing[.25]};
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
&.disabled {
|
|
679
|
+
> button, div {
|
|
680
|
+
background: ${e.palette.gray[100]};
|
|
681
|
+
color: ${e.palette.gray[400]};
|
|
682
|
+
cursor: not-allowed;
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
&.error:not(.disabled) {
|
|
687
|
+
> button, div {
|
|
688
|
+
border: 1px solid ${e.palette.error[500]};
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
&:focus-within:not(.disabled, .error) {
|
|
693
|
+
> button, div {
|
|
694
|
+
background: ${e.palette.white};
|
|
695
|
+
border: 2px solid ${e.palette.black};
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
&:hover:not(:focus-within, .disabled, .error) {
|
|
700
|
+
> button, div {
|
|
701
|
+
background: ${e.palette.white};
|
|
702
|
+
border-color: ${e.palette.gray[600]};
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
@container (width < 320px) or (width < 600px) {
|
|
707
|
+
width: 100%;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
711
|
+
width: 250px;
|
|
712
|
+
}
|
|
713
|
+
`}
|
|
714
|
+
`,Ob=te.button`
|
|
715
|
+
${({theme:e})=>`
|
|
716
|
+
align-items: center;
|
|
717
|
+
background: inherit;
|
|
718
|
+
border-color: inherit;
|
|
719
|
+
display: flex;
|
|
720
|
+
gap: ${e.spacing[.25]};
|
|
721
|
+
height: 44px;
|
|
722
|
+
min-width: 67px;
|
|
723
|
+
padding: ${e.spacing[.625]} ${e.spacing[1]};
|
|
724
|
+
|
|
725
|
+
&:disabled {
|
|
726
|
+
background: ${e.palette.gray[100]};
|
|
727
|
+
cursor: not-allowed;
|
|
728
|
+
}
|
|
729
|
+
`}
|
|
730
|
+
`,Rb=te.ul`
|
|
731
|
+
${({theme:e})=>`
|
|
732
|
+
align-items: flex-start;
|
|
733
|
+
box-shadow: ${e.shadows.md};
|
|
734
|
+
display: flex;
|
|
735
|
+
flex-direction: column;
|
|
736
|
+
max-height: 190px;
|
|
737
|
+
overflow: hidden auto;
|
|
738
|
+
scrollbar-color: ${e.palette.gray[600]} ${e.palette.gray[100]};
|
|
739
|
+
scroll-padding: ${e.spacing[.5]};
|
|
740
|
+
scrollbar-width: thin;
|
|
741
|
+
width: max-content;
|
|
742
|
+
|
|
743
|
+
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
744
|
+
max-height: 150px;
|
|
745
|
+
}
|
|
746
|
+
`}
|
|
747
|
+
`,jb=te.li`
|
|
748
|
+
${({theme:e})=>`
|
|
749
|
+
align-items: center;
|
|
750
|
+
background: ${e.palette.white};
|
|
751
|
+
cursor: pointer;
|
|
752
|
+
display: inline-flex;
|
|
753
|
+
font-size: ${e.typography.text.sm};
|
|
754
|
+
gap: ${e.spacing[.5]};
|
|
755
|
+
height: 38px;
|
|
756
|
+
line-height: ${e.spacing[1.25]};
|
|
757
|
+
padding: ${e.spacing[.5]} ${e.spacing[1]};
|
|
758
|
+
width: 190px;
|
|
759
|
+
|
|
760
|
+
&:hover {
|
|
761
|
+
background: ${e.palette.gray[100]};
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
765
|
+
font-size: ${e.typography.text.xs};
|
|
766
|
+
height: 30px;
|
|
767
|
+
width: 160px;
|
|
768
|
+
}
|
|
769
|
+
`}
|
|
770
|
+
`,Pb=te.p`
|
|
771
|
+
color: ${({theme:e})=>e.palette.gray[800]};
|
|
772
|
+
font-size: inherit;
|
|
773
|
+
min-width: 55%;
|
|
774
|
+
overflow: hidden;
|
|
775
|
+
text-overflow: ellipsis;
|
|
776
|
+
white-space: nowrap;
|
|
777
|
+
`,Db=({htmlFor:e,label:t,mode:r="light",required:n,tooltip:o})=>{const i=`${e}-tooltip`,a=o!==void 0&&!Wn(o);return _.jsxs("label",{className:`flex gap-1 w-full ${r}`,htmlFor:e,children:[t,n&&_.jsx(ht,{icon:"asterisk",iconColor:j.palette.error[500],iconSize:"xxs"}),a?_.jsx(vo,{icon:"circle-info",id:i,place:"right",tip:o}):null]})},Ib=te.div`
|
|
778
|
+
${({theme:e})=>`
|
|
779
|
+
align-items: flex-start;
|
|
780
|
+
display: inline-flex;
|
|
781
|
+
flex-direction: column;
|
|
782
|
+
gap: ${e.spacing[.25]};
|
|
783
|
+
|
|
784
|
+
label {
|
|
785
|
+
color: ${e.palette.gray[800]};
|
|
786
|
+
|
|
787
|
+
&.dark {
|
|
788
|
+
color: ${e.palette.white};
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
> *:not(.error-msg) {
|
|
793
|
+
font-family: ${e.typography.type.primary};
|
|
794
|
+
font-size: ${e.typography.text.md};
|
|
795
|
+
font-style: normal;
|
|
796
|
+
font-weight: ${e.typography.weight.regular};
|
|
797
|
+
line-height: ${e.spacing[1.5]};
|
|
798
|
+
|
|
799
|
+
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
800
|
+
font-size: ${e.typography.text.sm};
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
`}
|
|
804
|
+
`,Ll=te.div`
|
|
805
|
+
${({theme:e})=>`
|
|
806
|
+
align-items: center;
|
|
807
|
+
display: flex;
|
|
808
|
+
border-radius: ${e.spacing[.25]};
|
|
809
|
+
border: 1px solid ${e.palette.gray[300]};
|
|
810
|
+
color: ${e.palette.gray[600]};
|
|
811
|
+
gap: ${e.spacing[.625]};
|
|
812
|
+
justify-content: space-between;
|
|
813
|
+
height: 44px;
|
|
814
|
+
padding: ${e.spacing[.625]} ${e.spacing[.75]};
|
|
815
|
+
width: 320px;
|
|
816
|
+
|
|
817
|
+
input {
|
|
818
|
+
background: inherit;
|
|
819
|
+
cursor: inherit;
|
|
820
|
+
outline: none;
|
|
821
|
+
width: 100%;
|
|
822
|
+
|
|
823
|
+
&::placeholder {
|
|
824
|
+
&.dark {
|
|
825
|
+
color: ${e.palette.gray[600]};
|
|
826
|
+
}
|
|
827
|
+
&.light {
|
|
828
|
+
color: ${e.palette.gray[400]};
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
span {
|
|
834
|
+
font-size: 14px;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
&.dark {
|
|
838
|
+
border: 1px solid ${e.palette.gray[700]};
|
|
839
|
+
color: ${e.palette.white};
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
&.disabled {
|
|
843
|
+
color: ${e.palette.gray[400]};
|
|
844
|
+
cursor: not-allowed;
|
|
845
|
+
|
|
846
|
+
&.dark {
|
|
847
|
+
background: ${e.palette.gray[700]};
|
|
848
|
+
}
|
|
849
|
+
&.light {
|
|
850
|
+
background: ${e.palette.gray[100]};
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
&.error:not(.disabled) {
|
|
855
|
+
border: 1px solid ${e.palette.error[500]};
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
&:focus-within:not(.disabled, .error) {
|
|
859
|
+
&.dark {
|
|
860
|
+
background: ${e.palette.black};
|
|
861
|
+
border: 2px solid ${e.palette.gray[400]};
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
&.light {
|
|
865
|
+
background: ${e.palette.white};
|
|
866
|
+
border: 2px solid ${e.palette.black};
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
&:hover:not(:focus-within, .disabled, .error) {
|
|
871
|
+
&.dark {
|
|
872
|
+
background: ${e.palette.black};
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
&.light {
|
|
876
|
+
background: ${e.palette.white};
|
|
877
|
+
border: 1px solid ${e.palette.gray[600]};
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
@container (width < 320px) or (width < 600px) {
|
|
882
|
+
width: 100%;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
886
|
+
width: 250px;
|
|
887
|
+
}
|
|
888
|
+
`}
|
|
889
|
+
`,pa=({children:e,error:t,htmlFor:r,label:n,mode:o,required:i,tooltip:a})=>_.jsxs(Ib,{children:[n===void 0?void 0:_.jsx(Db,{htmlFor:r,label:n,mode:o,required:i,tooltip:a}),e,t?_.jsx(at,{className:"error-msg",color:j.palette.error[500],display:"block",lineSpacing:1,size:"sm",sizeSm:"xs",children:t}):void 0]}),Mb=({disabled:e,error:t,id:r,label:n,mode:o="light",name:i,required:a,tooltip:s,value:c,...u})=>{const[f,g]=y.useState(!1),m=y.useRef(null),{refs:v,floatingStyles:w}=_f({placement:"bottom-start",whileElementsMounted:wc}),{inputValue:S,handlePhoneValueChange:T,inputRef:$,country:C,setCountry:P}=Ml({countries:fr,defaultCountry:"us",value:c?String(c):void 0}),I=y.useCallback(()=>{g(E=>!E)},[]),M=y.useCallback(E=>()=>{P(E),g(!1)},[P,g]);return jl(v.floating.current,()=>{g(!1)},!0),_.jsx(pa,{error:t,htmlFor:r,label:n,mode:o,required:a,tooltip:s,children:_.jsxs(Tb,{className:`${e?"disabled":""} ${t?"error":""}`,ref:m,children:[_.jsxs(Ob,{"aria-label":"country-selector","data-testid":"country-selector",disabled:e,id:"country-selector",onClick:I,ref:v.setReference,children:[_.jsx(ao,{iso2:C.iso2,size:"16px"}),_.jsx(ht,{icon:"angle-down",iconColor:j.palette.gray[400],iconSize:"xs",iconType:"fa-light"})]}),_.jsxs(Ll,{className:`light ${e?"disabled":""} ${t?"error":""}`,children:[_.jsx("input",{"aria-hidden":!1,"aria-invalid":t?"true":"false","aria-label":i??r,"aria-required":a,autoComplete:"off","data-testid":`${i??r}-input`,disabled:e,id:r,name:i,onChange:T,ref:$,type:"tel",value:S,...u}),t?_.jsx(ht,{icon:"exclamation-circle",iconClass:"error-icon",iconColor:j.palette.error[500],iconSize:"xs"}):void 0]}),f&&ji.createPortal(_.jsx(Rb,{ref:v.setFloating,style:w,children:fr.map(E=>{const{dialCode:R,iso2:F,name:G}=qt(E);return _.jsxs(jb,{onClick:M(F),value:F,children:[_.jsx(ao,{iso2:F,size:"16px"}),_.jsx(Pb,{children:G}),_.jsx(at,{color:j.palette.gray[400],size:"sm",sizeSm:"xs",textAlign:"end",children:"+"+R})]},F)})}),document.getElementById("root")??document.body)]})})},Lb=y.forwardRef(function({disabled:t,error:r,id:n,label:o,mode:i="light",name:a,required:s,tooltip:c,type:u="text",...f},g){return _.jsx(pa,{error:r,htmlFor:n,label:o,mode:i,required:s,tooltip:c,children:_.jsxs(Ll,{className:`${i} ${t?"disabled":""} ${r?"error":""}`,children:[_.jsx("input",{"aria-hidden":!1,"aria-invalid":r?"true":"false","aria-label":a??n,"aria-required":s,autoComplete:"off","data-testid":`${a??n}-input`,disabled:t,id:n,name:a,ref:g,type:u,...f}),r?_.jsx(ht,{icon:"exclamation-circle",iconClass:"error-icon",iconColor:j.palette.error[500],iconSize:"xs"}):void 0]})})}),Nb=te.button`
|
|
592
890
|
${({theme:e})=>`
|
|
593
891
|
align-items: center;
|
|
594
892
|
border-left: 3px solid transparent;
|
|
@@ -631,7 +929,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
631
929
|
}
|
|
632
930
|
}
|
|
633
931
|
`}
|
|
634
|
-
`,
|
|
932
|
+
`,Fb=te.div`
|
|
635
933
|
${({theme:e})=>`
|
|
636
934
|
align-items: center;
|
|
637
935
|
background-color: transparent;
|
|
@@ -661,7 +959,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
661
959
|
color: ${e.palette.gray[800]};
|
|
662
960
|
}
|
|
663
961
|
`}
|
|
664
|
-
`,
|
|
962
|
+
`,Vb=te.div`
|
|
665
963
|
${({theme:e})=>`
|
|
666
964
|
background-color: ${e.palette.white};
|
|
667
965
|
border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
|
|
@@ -676,7 +974,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
676
974
|
border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
|
|
677
975
|
}
|
|
678
976
|
`}
|
|
679
|
-
`,
|
|
977
|
+
`,zb=te.div`
|
|
680
978
|
${({theme:e})=>`
|
|
681
979
|
align-items: flex-start;
|
|
682
980
|
cursor: pointer;
|
|
@@ -698,13 +996,13 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
698
996
|
}
|
|
699
997
|
}
|
|
700
998
|
`}
|
|
701
|
-
`,
|
|
999
|
+
`,Bb=({disabled:e=!1,mode:t,onClick:r,text:n})=>_.jsx(Nb,{className:`${e&&"disabled"} ${t}`,disabled:e,onClick:r,children:_.jsx(at,{color:"inherit",size:"sm",sizeSm:"xs",children:n})}),Wb=[{text:"EN"},{text:"ES"}],Ub=({items:e,handleClick:t,mode:r="light"})=>{const n=e??Wb,[o,i]=y.useState(n[0].text),a=y.useCallback(s=>()=>{t(s.text),i(s.text)},[t]);return _.jsxs(zb,{children:[_.jsxs(Fb,{className:r,children:[_.jsx(ht,{icon:"globe",iconSize:"xs",iconType:"fa-light"}),o]}),_.jsx(Vb,{children:n.map((s,c)=>_.jsx(Bb,{disabled:s.disabled,mode:r,onClick:a(s),text:s.text},`${s.text}_${c}`))})]})},qb={company:{height:"83px",width:"460px"},footer:{height:"57px",width:"315px"},header:{height:"35px",width:"160px"},icon:{height:"40px",width:"40px"}},Gb=({publicId:e,variant:t})=>_.jsx(Pt,{...qb[t],children:_.jsx(ko,{alt:"logo",publicId:e})}),Hb=te.div`
|
|
702
1000
|
display: flex;
|
|
703
1001
|
height: 80px;
|
|
704
1002
|
max-width: 1440px;
|
|
705
1003
|
overflow: hidden;
|
|
706
1004
|
position: relative;
|
|
707
|
-
`,
|
|
1005
|
+
`,Rs=te.rect`
|
|
708
1006
|
height: 79px;
|
|
709
1007
|
width: 64px;
|
|
710
1008
|
flex-shrink: 0;
|
|
@@ -715,7 +1013,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
715
1013
|
background: linear-gradient(
|
|
716
1014
|
to right,
|
|
717
1015
|
#fff 57.21%,
|
|
718
|
-
|
|
1016
|
+
rgb(255 255 255 / 0%) 100.63%
|
|
719
1017
|
);
|
|
720
1018
|
left: 0;
|
|
721
1019
|
}
|
|
@@ -724,11 +1022,11 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
724
1022
|
background: linear-gradient(
|
|
725
1023
|
to left,
|
|
726
1024
|
#fff 57.21%,
|
|
727
|
-
|
|
1025
|
+
rgb(255 255 255 / 0%) 100.63%
|
|
728
1026
|
);
|
|
729
1027
|
right: 0;
|
|
730
1028
|
}
|
|
731
|
-
`,
|
|
1029
|
+
`,Yb=te.div`
|
|
732
1030
|
display: flex;
|
|
733
1031
|
gap: 40px;
|
|
734
1032
|
animation: clients-animation 50s linear infinite;
|
|
@@ -743,7 +1041,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
743
1041
|
transform: translateX(calc(-180px * 15));
|
|
744
1042
|
}
|
|
745
1043
|
}
|
|
746
|
-
`,
|
|
1044
|
+
`,Qb=["airs/clients-carousel/color/bancolombia","airs/clients-carousel/color/itau_colombia","airs/clients-carousel/color/lulo_bank","airs/clients-carousel/color/oxxo_international","airs/clients-carousel/color/interbank","airs/clients-carousel/color/global_bank","airs/clients-carousel/color/gesa","airs/clients-carousel/color/copa_airlines","airs/clients-carousel/color/consubanco","airs/clients-carousel/color/bantrab","airs/clients-carousel/color/banistmo","airs/clients-carousel/color/banco_internacional","airs/clients-carousel/color/banco_general","airs/clients-carousel/color/banbif","airs/clients-carousel/color/avianca"],Kb=({fusion:e=!1,logos:t=Qb})=>_.jsxs(Hb,{children:[e&&_.jsx(Rs,{className:"left"}),_.jsx(Yb,{children:[...t,...t].map((r,n)=>_.jsx(ko,{alt:`${r}-${n}`,height:"80px",plugins:[ml()],publicId:r,width:"140px"},`${r}-${n}`))}),e&&_.jsx(Rs,{className:"right"})]}),Jb=te.button`
|
|
747
1045
|
align-items: center;
|
|
748
1046
|
background-color: transparent;
|
|
749
1047
|
border: unset;
|
|
@@ -754,13 +1052,13 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
754
1052
|
padding: 0;
|
|
755
1053
|
|
|
756
1054
|
&:hover p {
|
|
757
|
-
color: ${
|
|
1055
|
+
color: ${j.palette.primary[200]};
|
|
758
1056
|
}
|
|
759
1057
|
|
|
760
1058
|
&:hover span {
|
|
761
|
-
color: ${
|
|
1059
|
+
color: ${j.palette.primary[200]};
|
|
762
1060
|
}
|
|
763
|
-
`,
|
|
1061
|
+
`,Xb=e=>e==="platform"?{normal:"sm",small:void 0}:{normal:"md",small:"sm"},Zb=({message:e,onClickButton:t,buttonText:r,buttonFontWeight:n="regular",icon:o,onClose:i,variant:a="web"})=>{const[s,c]=y.useState(!0),u=y.useCallback(()=>{c(!1),i==null||i()},[i]),f=Xb(a);return _.jsxs(Pt,{alignItems:"center",bgGradient:j.palette.gradients["01"],display:s?"flex":"none",id:"message-banner",justify:"space-between",padding:[.75,.75,.75,.75],children:[_.jsxs(Pt,{display:"flex",gap:.5,justify:"center",width:"100%",children:[_.jsx(Pt,{children:typeof e=="string"?_.jsx(at,{color:j.palette.white,display:"inline",size:f.normal,sizeSm:f.small,children:e}):e}),t?_.jsxs(Jb,{onClick:t,children:[_.jsx(at,{color:j.palette.white,fontWeight:n,size:f.normal,sizeSm:f.small,textDecoration:"underline",children:r}),_.jsx(ht,{icon:o??"arrow-right",iconColor:j.palette.white,iconSize:"xs",iconType:n==="bold"?"fa-regular":"fa-light"})]}):void 0]}),_.jsx(ht,{clickable:!0,hoverColor:j.palette.primary[200],icon:"close",iconColor:j.palette.white,iconSize:"xs",iconType:"fa-light",onClick:u})]})},e0=te(gn)`
|
|
764
1062
|
${({theme:e,$variant:t})=>`
|
|
765
1063
|
align-items: center;
|
|
766
1064
|
background: ${t==="error"?e.palette.primary[400]:e.palette.warning[500]};
|
|
@@ -773,26 +1071,26 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
773
1071
|
width: ${e.spacing[.5]};
|
|
774
1072
|
height: ${e.spacing[.5]};
|
|
775
1073
|
`}
|
|
776
|
-
`,
|
|
1074
|
+
`,t0=te.div`
|
|
777
1075
|
align-items: center;
|
|
778
1076
|
color: ${({theme:e})=>e.palette.white};
|
|
779
1077
|
display: flex;
|
|
780
1078
|
font-size: 6px;
|
|
781
1079
|
font-weight: ${({theme:e})=>e.typography.weight.bold};
|
|
782
1080
|
justify-content: center;
|
|
783
|
-
`,
|
|
1081
|
+
`,Nl=y.forwardRef(function({numberIndicator:t,show:r,variant:n="error",...o},i){return _.jsx(e0,{$variant:n,className:r?"flex":"hidden","data-testid":"notification-sign",ref:i,...o,children:t&&_.jsx(t0,{children:t<=9?t:9})})}),js={web:{normal:j.typography.text.md,sm:j.typography.text.sm},platform:{normal:j.typography.text.sm,sm:j.typography.text.sm}},r0=te.label`
|
|
784
1082
|
${({$disabled:e,$variant:t})=>{const r=e?300:600,n=e?"not-allowed":"pointer";return`
|
|
785
1083
|
display: flex;
|
|
786
1084
|
align-items: center;
|
|
787
|
-
font-family: ${
|
|
788
|
-
font-size: ${
|
|
789
|
-
font-weight: ${
|
|
790
|
-
line-height: ${
|
|
1085
|
+
font-family: ${j.typography.type.primary};
|
|
1086
|
+
font-size: ${js[t].normal};
|
|
1087
|
+
font-weight: ${j.typography.weight.regular};
|
|
1088
|
+
line-height: ${j.typography.text.lg};
|
|
791
1089
|
text-align: left;
|
|
792
1090
|
position: relative;
|
|
793
1091
|
cursor: ${n};
|
|
794
|
-
color: ${
|
|
795
|
-
gap: ${
|
|
1092
|
+
color: ${j.palette.gray[r]};
|
|
1093
|
+
gap: ${j.spacing[.5]};
|
|
796
1094
|
|
|
797
1095
|
input {
|
|
798
1096
|
position: absolute;
|
|
@@ -807,30 +1105,30 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
807
1105
|
left: 0;
|
|
808
1106
|
height: 16px;
|
|
809
1107
|
width: 16px;
|
|
810
|
-
background-color: ${
|
|
1108
|
+
background-color: ${j.palette.white};
|
|
811
1109
|
border-radius: 50%;
|
|
812
|
-
border: 1px solid ${
|
|
1110
|
+
border: 1px solid ${j.palette.gray[600]};
|
|
813
1111
|
}
|
|
814
1112
|
|
|
815
1113
|
input:disabled ~ .checkmark {
|
|
816
|
-
border: 1px solid ${
|
|
817
|
-
background-color: ${
|
|
1114
|
+
border: 1px solid ${j.palette.gray[300]};
|
|
1115
|
+
background-color: ${j.palette.white};
|
|
818
1116
|
cursor: not-allowed;
|
|
819
1117
|
}
|
|
820
1118
|
|
|
821
1119
|
input:not(:disabled):checked ~ .checkmark {
|
|
822
|
-
background-color: ${
|
|
823
|
-
border: 1px solid ${
|
|
1120
|
+
background-color: ${j.palette.white};
|
|
1121
|
+
border: 1px solid ${j.palette.primary[500]};
|
|
824
1122
|
}
|
|
825
1123
|
|
|
826
1124
|
input:not(:disabled):hover ~ .checkmark {
|
|
827
|
-
background-color: ${
|
|
828
|
-
box-shadow: 0 0 0 4px ${
|
|
1125
|
+
background-color: ${j.palette.white};
|
|
1126
|
+
box-shadow: 0 0 0 4px ${j.palette.gray[100]};
|
|
829
1127
|
}
|
|
830
1128
|
|
|
831
1129
|
input:not(:disabled):hover:checked ~ .checkmark {
|
|
832
|
-
background-color: ${
|
|
833
|
-
box-shadow: 0 0 0 4px ${
|
|
1130
|
+
background-color: ${j.palette.white};
|
|
1131
|
+
box-shadow: 0 0 0 4px ${j.palette.primary[50]};
|
|
834
1132
|
}
|
|
835
1133
|
|
|
836
1134
|
.checkmark::after {
|
|
@@ -842,7 +1140,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
842
1140
|
width: 8px;
|
|
843
1141
|
height: 8px;
|
|
844
1142
|
border-radius: 50%;
|
|
845
|
-
background: ${
|
|
1143
|
+
background: ${j.palette.primary[500]};
|
|
846
1144
|
}
|
|
847
1145
|
|
|
848
1146
|
input:checked ~ .checkmark::after {
|
|
@@ -850,14 +1148,14 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
850
1148
|
}
|
|
851
1149
|
|
|
852
1150
|
input:disabled:checked ~ .checkmark::after {
|
|
853
|
-
background-color: ${
|
|
1151
|
+
background-color: ${j.palette.gray[300]};
|
|
854
1152
|
}
|
|
855
1153
|
|
|
856
|
-
@media screen and (max-width: ${
|
|
857
|
-
font-size: ${
|
|
1154
|
+
@media screen and (max-width: ${j.breakpoints.mobile}) {
|
|
1155
|
+
font-size: ${js[t].sm};
|
|
858
1156
|
}
|
|
859
1157
|
`}}
|
|
860
|
-
`,
|
|
1158
|
+
`,n0=te.span.attrs({className:"checkmark"})``,o0=({defaultChecked:e=!1,disabled:t=!1,label:r,name:n,onChange:o,onClick:i,value:a,variant:s="web"})=>_.jsxs(r0,{$disabled:t,$variant:s,children:[_.jsx("input",{"aria-label":n,defaultChecked:e,disabled:t,name:n,onChange:o,onClick:i,type:"radio",value:a}),_.jsx(n0,{}),r??null]}),i0=te.a`
|
|
861
1159
|
${({theme:e})=>`
|
|
862
1160
|
align-items: center;
|
|
863
1161
|
display: flex;
|
|
@@ -902,7 +1200,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
902
1200
|
width: 270px;
|
|
903
1201
|
}
|
|
904
1202
|
`}
|
|
905
|
-
`,
|
|
1203
|
+
`,a0=te.div.attrs({className:"icon-wrap"})`
|
|
906
1204
|
${({theme:e})=>`
|
|
907
1205
|
align-items: center;
|
|
908
1206
|
background: ${e.palette.primary[25]};
|
|
@@ -917,7 +1215,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
917
1215
|
font-size: 20px;
|
|
918
1216
|
}
|
|
919
1217
|
`}
|
|
920
|
-
`,
|
|
1218
|
+
`,s0=te.div`
|
|
921
1219
|
${({theme:e})=>`
|
|
922
1220
|
align-items: flex-start;
|
|
923
1221
|
display: flex;
|
|
@@ -949,7 +1247,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
949
1247
|
width: 320px;
|
|
950
1248
|
}
|
|
951
1249
|
`}
|
|
952
|
-
`,
|
|
1250
|
+
`,c0=te.form`
|
|
953
1251
|
${({theme:e})=>`
|
|
954
1252
|
align-items: center;
|
|
955
1253
|
display: flex;
|
|
@@ -958,7 +1256,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
958
1256
|
padding: ${e.spacing[1]} ${e.spacing[1.5]};
|
|
959
1257
|
width: 100%;
|
|
960
1258
|
`}
|
|
961
|
-
`,
|
|
1259
|
+
`,l0=te.input`
|
|
962
1260
|
${({theme:e})=>`
|
|
963
1261
|
flex: 1 0 0;
|
|
964
1262
|
border: none;
|
|
@@ -984,7 +1282,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
984
1282
|
font-size: ${e.typography.text.sm};
|
|
985
1283
|
}
|
|
986
1284
|
`}
|
|
987
|
-
`,
|
|
1285
|
+
`,u0=te.button`
|
|
988
1286
|
${({theme:e})=>`
|
|
989
1287
|
align-items: center;
|
|
990
1288
|
border-radius: ${e.spacing[.5]};
|
|
@@ -1004,7 +1302,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
1004
1302
|
background-color: ${e.palette.gray[100]};
|
|
1005
1303
|
}
|
|
1006
1304
|
`}
|
|
1007
|
-
`,
|
|
1305
|
+
`,Xo=te.div.attrs({className:"dropdown"})`
|
|
1008
1306
|
${({theme:e,$empty:t=!1,$showHits:r=!1})=>`
|
|
1009
1307
|
align-items: flex-start;
|
|
1010
1308
|
align-self: stretch;
|
|
@@ -1047,7 +1345,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
1047
1345
|
height: ${e.spacing[.5]};
|
|
1048
1346
|
}
|
|
1049
1347
|
`}
|
|
1050
|
-
`,
|
|
1348
|
+
`,Zo=({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 _.jsxs(i0,{href:i,rel:"nofollow noopener noreferrer",children:[r&&_.jsx(a0,{children:_.jsx(ht,{icon:t,iconClass:"fill-gradient-01",iconSize:"sm",iconType:"fa-light"})}),_.jsx(at,{color:j.palette.gray[800],lineSpacing:1.5,size:"md",sizeSm:"sm",whiteSpace:"wrap",children:String(o)})]})},d0=[{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"},f0=({items:e,placeholder:t="Search",refine:r,query:n})=>{const[o,i]=y.useState(n),[a,s]=y.useState(!1),c=y.useRef(null),u=y.useRef(null),f=o.length>=2,g=y.useCallback($=>{i($),r($)},[r]),m=y.useCallback(()=>{g("")},[g]),v=y.useCallback(()=>{s(!0)},[]),w=y.useCallback($=>{g($.currentTarget.value)},[g]),S=y.useCallback($=>{$.preventDefault(),$.stopPropagation(),m(),u.current&&u.current.focus()},[m]),T=y.useCallback($=>{$.preventDefault(),$.stopPropagation(),u.current&&u.current.blur()},[]);return jl(c.current,()=>{m(),s(!1)},!0),_.jsxs(s0,{ref:c,children:[_.jsxs(c0,{action:"",noValidate:!0,onReset:S,onSubmit:T,role:"search",children:[_.jsxs("div",{className:"flex gap-2 w-full",children:[_.jsx("div",{className:"h-10 p-2",children:_.jsx(ht,{icon:"magnifying-glass",iconSize:"sm",iconType:"fa-light"})}),_.jsx(l0,{autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",maxLength:512,onChange:w,onFocus:v,placeholder:t,ref:u,spellCheck:!1,type:"search",value:o})]}),f&&_.jsx(u0,{type:"reset",children:_.jsx(ht,{icon:"xmark",iconSize:"sm",iconType:"fa-light"})})]}),a&&o.length<2&&_.jsxs(Xo,{children:[_.jsx(at,{color:j.palette.gray[400],fontWeight:"bold",lineSpacing:1.5,size:"md",sizeSm:"sm",children:"Suggested"}),_.jsx("div",{className:"flex flex-col items-start self-stretch",children:d0.map(({hit:$,icon:C},P)=>_.jsx(Zo,{hit:$,icon:C,showIcon:!0},`${C}-${P}`))}),_.jsx(at,{color:j.palette.gray[400],fontWeight:"bold",lineSpacing:1.5,size:"md",sizeSm:"sm",children:"Can’t find what you’re looking for?"}),_.jsx(Zo,{hit:Ps.hit,icon:Ps.icon,showIcon:!0})]}),f&&e.length>0&&_.jsxs(Xo,{$showHits:f,children:[_.jsx(at,{color:j.palette.gray[400],fontWeight:"bold",lineSpacing:1.5,size:"md",sizeSm:"sm",children:"Results"}),_.jsx("div",{className:"flex flex-col items-start self-stretch",children:e.map($=>_.jsx(Zo,{hit:$},$.objectID))})]}),f&&e.length===0&&_.jsx(Xo,{$empty:e.length===0,children:_.jsxs("div",{className:"items-center flex flex-col gap-4 py-[90px] w-full",children:[_.jsx(ko,{height:96,publicId:"airs/search-bar/empty-state-icon",width:96}),_.jsx(Fi,{display:"flex",size:"sm",sizeSm:"xs",textAlign:"center",children:"No results found"}),_.jsxs(at,{display:"flex",lineSpacing:1.5,size:"md",sizeSm:"sm",textAlign:"center",children:[`“${o}” did not match.`,_.jsx("br",{}),"Please try again."]}),_.jsx(Gi,{mode:"light",onClick:m,variant:"secondaryWeb",children:"Clear search"})]})})]})},p0=te.button`
|
|
1051
1349
|
${({theme:e})=>`
|
|
1052
1350
|
align-items: center;
|
|
1053
1351
|
color: ${e.palette.gray[500]};
|
|
@@ -1067,7 +1365,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
1067
1365
|
color: ${e.palette.gray[800]};
|
|
1068
1366
|
}
|
|
1069
1367
|
`}
|
|
1070
|
-
`,
|
|
1368
|
+
`,h0=te.div`
|
|
1071
1369
|
${({theme:e})=>`
|
|
1072
1370
|
align-items: center;
|
|
1073
1371
|
border-bottom: 2px solid ${e.palette.gray[200]};
|
|
@@ -1076,7 +1374,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
1076
1374
|
height: ${e.spacing[3]};
|
|
1077
1375
|
width: max-content;
|
|
1078
1376
|
`}
|
|
1079
|
-
`,
|
|
1377
|
+
`,g0=te(Yl.NavLink)`
|
|
1080
1378
|
${({theme:e})=>`
|
|
1081
1379
|
align-items: center;
|
|
1082
1380
|
background: transparent;
|
|
@@ -1113,7 +1411,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
1113
1411
|
}
|
|
1114
1412
|
}
|
|
1115
1413
|
`}
|
|
1116
|
-
`,
|
|
1414
|
+
`,y0=({items:e})=>_.jsx(h0,{children:e.map(({isActive:t,label:r,onClick:n},o)=>_.jsx(p0,{className:t?"active":"",onClick:n,type:"button",children:_.jsx(Fi,{color:"inherit",fontWeight:"semibold",size:"sm",sizeSm:"xs",children:r})},`${r}-${o}`))}),Fl=({label:e,id:t,isActive:r=!1,link:n,notificationSign:o,onClick:i,tooltip:a=""})=>_.jsx(vo,{display:"flex",id:`${t}-tooltip`,tip:a,children:_.jsxs(g0,{className:r?"active":"",id:t,onClick:i,to:n,children:[e,_.jsx(Nl,{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})]})}),m0=({items:e,borders:t=!0,box:r=!1})=>_.jsx(Pt,{bgColor:j.palette.white,border:r?"1px solid":void 0,borderBottom:t?`1px solid ${j.palette.gray[300]}`:void 0,borderColor:r?j.palette.gray[200]:void 0,borderRadius:r?j.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:s,onClick:c,tooltip:u})=>_.jsx(Fl,{id:n,isActive:o,label:a,link:i,notificationSign:s,onClick:c,tooltip:u},n))}),v0=te.div`
|
|
1117
1415
|
${({theme:e})=>`
|
|
1118
1416
|
align-items: center;
|
|
1119
1417
|
display: flex;
|
|
@@ -1143,7 +1441,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
1143
1441
|
width: 320px;
|
|
1144
1442
|
}
|
|
1145
1443
|
`}
|
|
1146
|
-
`,
|
|
1444
|
+
`,b0=te.button`
|
|
1147
1445
|
${({theme:e})=>`
|
|
1148
1446
|
align-items: center;
|
|
1149
1447
|
background: linear-gradient(
|
|
@@ -1172,4 +1470,4 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(s,p){if(!(
|
|
|
1172
1470
|
color: ${e.palette.white};
|
|
1173
1471
|
}
|
|
1174
1472
|
`}
|
|
1175
|
-
`,
|
|
1473
|
+
`,w0=({defaultSelection:e,options:t,handleClick:r})=>{const[n,o]=y.useState(e??t[0]),i=y.useCallback(a=>()=>{o(a),r(a)},[r]);return _.jsx(v0,{children:t.map((a,s)=>_.jsx(b0,{className:`${a.includes(n)&&"selected"}`,onClick:i(a),children:_.jsx(at,{color:"inherit",fontWeight:"bold",size:"md",sizeSm:"sm",textAlign:"center",children:a})},`${a}-${s}`))})};exports.Accordion=zd;exports.BaseButtonComponent=sc;exports.BaseComponent=gn;exports.BaseSpanComponent=cc;exports.BaseTextComponent=Ni;exports.Button=Gi;exports.Checkbox=Wg;exports.CloudImage=ko;exports.Container=Pt;exports.CustomThemeProvider=wd;exports.FixedTabs=y0;exports.Form=ob;exports.FormItem=nb;exports.Heading=Fi;exports.Icon=ht;exports.LanguageSelector=Ub;exports.Logo=Gb;exports.LogoCarousel=Kb;exports.MessageBanner=Zb;exports.NotificationSign=Nl;exports.OutlineContainer=pa;exports.PhoneInput=Mb;exports.ProgressBar=uc;exports.RadioButton=o0;exports.SearchBar=f0;exports.Tab=Fl;exports.Tabs=m0;exports.Text=at;exports.TextInput=Lb;exports.ToggleButton=w0;exports.Tooltip=vo;exports.getStyledConfig=hn;exports.hiddenProps=Ms;exports.icons=vd;exports.setBorder=un;exports.setDisplay=dn;exports.setInteraction=pn;exports.setMargin=cn;exports.setPadding=sn;exports.setPosition=ln;exports.setText=fn;exports.theme=j;exports.uniqueIcons=bd;exports.variantBuilder=Is;
|