@ukpc-lib/react 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/GlobalMenu/components/Dropdown.d.ts +8 -0
- package/dist/components/GlobalMenu/components/MenuItem.d.ts +11 -0
- package/dist/components/GlobalMenu/icons/IconCollapsed.d.ts +2 -0
- package/dist/components/GlobalMenu/icons/IconExpand.d.ts +2 -0
- package/dist/components/GlobalMenu/index.d.ts +1 -0
- package/dist/components/LanguageSwitcher/index.d.ts +1 -0
- package/dist/components/ShadownDom/index.d.ts +7 -0
- package/dist/components/Topbar/index.d.ts +6 -0
- package/dist/components/index.cjs +112 -4
- package/dist/components/index.js +14180 -3474
- package/dist/index.css +1 -1
- package/dist/share/index.cjs +7 -7
- package/dist/share/index.js +130 -130
- package/dist/{styled-f324a192.js → styled-0bf715a3.js} +20 -19
- package/dist/{styled-e695695c.cjs → styled-deb36a05.cjs} +16 -16
- package/package.json +8 -3
- package/web-components-bundle/global-menu/index.cjs +44 -14
- package/web-components-bundle/global-menu/index.js +7098 -7520
- package/web-components-bundle/global-topbar/index.cjs +2 -2
- package/web-components-bundle/global-topbar/index.js +184 -83
- package/web-components-bundle/motion-238f3a86.cjs +40 -0
- package/web-components-bundle/motion-ba32a3c8.js +10605 -0
- package/web-components-bundle/index-2a824d74.cjs +0 -40
- package/web-components-bundle/index-f1edf829.js +0 -6428
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
"use strict";const g=require("../index-2a824d74.cjs");var jr={},Po={exports:{}};(function(t){function e(n){return n&&n.__esModule?n:{default:n}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(Po);var Fr=Po.exports,zn={};function O(){return O=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},O.apply(this,arguments)}function Vt(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function To(t){if(!Vt(t))return t;const e={};return Object.keys(t).forEach(n=>{e[n]=To(t[n])}),e}function ft(t,e,n={clone:!0}){const r=n.clone?O({},t):t;return Vt(t)&&Vt(e)&&Object.keys(e).forEach(s=>{s!=="__proto__"&&(Vt(e[s])&&s in t&&Vt(t[s])?r[s]=ft(t[s],e[s],n):n.clone?r[s]=Vt(e[s])?To(e[s]):e[s]:r[s]=e[s])}),r}function ne(t){let e="https://mui.com/production-error/?code="+t;for(let n=1;n<arguments.length;n+=1)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+t+"; visit "+e+" for the full message."}function mt(t){if(typeof t!="string")throw new Error(ne(7));return t.charAt(0).toUpperCase()+t.slice(1)}function rl(...t){return t.reduce((e,n)=>n==null?e:function(...s){e.apply(this,s),n.apply(this,s)},()=>{})}function sl(t,e=166){let n;function r(...s){const o=()=>{t.apply(this,s)};clearTimeout(n),n=setTimeout(o,e)}return r.clear=()=>{clearTimeout(n)},r}function il(t,e){return()=>null}function ol(t,e){var n,r;return g.reactExports.isValidElement(t)&&e.indexOf((n=t.type.muiName)!=null?n:(r=t.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function Eo(t){return t&&t.ownerDocument||document}function al(t){return Eo(t).defaultView||window}function cl(t,e){return()=>null}function Co(t,e){typeof t=="function"?t(e):t&&(t.current=e)}const ll=typeof window<"u"?g.reactExports.useLayoutEffect:g.reactExports.useEffect,Ao=ll;let Vs=0;function ul(t){const[e,n]=g.reactExports.useState(t),r=t||e;return g.reactExports.useEffect(()=>{e==null&&(Vs+=1,n(`mui-${Vs}`))},[e]),r}const Ms=g.React["useId".toString()];function fl(t){if(Ms!==void 0){const e=Ms();return t??e}return ul(t)}function dl(t,e,n,r,s){return null}function hl({controlled:t,default:e,name:n,state:r="value"}){const{current:s}=g.reactExports.useRef(t!==void 0),[o,i]=g.reactExports.useState(e),a=s?t:o,c=g.reactExports.useCallback(l=>{s||i(l)},[]);return[a,c]}function pl(t){const e=g.reactExports.useRef(t);return Ao(()=>{e.current=t}),g.reactExports.useRef((...n)=>(0,e.current)(...n)).current}function ml(...t){return g.reactExports.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(n=>{Co(n,e)})},t)}let xn=!0,ur=!1,Ds;const gl={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function yl(t){const{type:e,tagName:n}=t;return!!(n==="INPUT"&&gl[e]&&!t.readOnly||n==="TEXTAREA"&&!t.readOnly||t.isContentEditable)}function xl(t){t.metaKey||t.altKey||t.ctrlKey||(xn=!0)}function Wn(){xn=!1}function bl(){this.visibilityState==="hidden"&&ur&&(xn=!0)}function vl(t){t.addEventListener("keydown",xl,!0),t.addEventListener("mousedown",Wn,!0),t.addEventListener("pointerdown",Wn,!0),t.addEventListener("touchstart",Wn,!0),t.addEventListener("visibilitychange",bl,!0)}function Sl(t){const{target:e}=t;try{return e.matches(":focus-visible")}catch{}return xn||yl(e)}function wl(){const t=g.reactExports.useCallback(s=>{s!=null&&vl(s.ownerDocument)},[]),e=g.reactExports.useRef(!1);function n(){return e.current?(ur=!0,window.clearTimeout(Ds),Ds=window.setTimeout(()=>{ur=!1},100),e.current=!1,!0):!1}function r(s){return Sl(s)?(e.current=!0,!0):!1}return{isFocusVisibleRef:e,onFocus:r,onBlur:n,ref:t}}function Ro(t,e){const n=O({},e);return Object.keys(t).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=O({},t[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const s=t[r]||{},o=e[r];n[r]={},!o||!Object.keys(o)?n[r]=s:!s||!Object.keys(s)?n[r]=o:(n[r]=O({},o),Object.keys(s).forEach(i=>{n[r][i]=Ro(s[i],o[i])}))}else n[r]===void 0&&(n[r]=t[r])}),n}function Pl(t,e,n=void 0){const r={};return Object.keys(t).forEach(s=>{r[s]=t[s].reduce((o,i)=>{if(i){const a=e(i);a!==""&&o.push(a),n&&n[i]&&o.push(n[i])}return o},[]).join(" ")}),r}const Ls=t=>t,Tl=()=>{let t=Ls;return{configure(e){t=e},generate(e){return t(e)},reset(){t=Ls}}},El=Tl(),Oo=El,Cl={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function ko(t,e,n="Mui"){const r=Cl[e];return r?`${n}-${r}`:`${Oo.generate(t)}-${e}`}function Al(t,e,n="Mui"){const r={};return e.forEach(s=>{r[s]=ko(t,s,n)}),r}function Ct(t,e){if(t==null)return{};var n={},r=Object.keys(t),s,o;for(o=0;o<r.length;o++)s=r[o],!(e.indexOf(s)>=0)&&(n[s]=t[s]);return n}function Vo(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(e=0;e<s;e++)t[e]&&(n=Vo(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function Rl(){for(var t,e,n=0,r="",s=arguments.length;n<s;n++)(t=arguments[n])&&(e=Vo(t))&&(r&&(r+=" "),r+=e);return r}function Mo(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var Ol=/^((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|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)-.*))$/,kl=Mo(function(t){return Ol.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91});function Vl(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Ml(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var Dl=function(){function t(n){var r=this;this._insertTag=function(s){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(s,o),r.tags.push(s)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(r){r.forEach(this._insertTag)},e.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ml(this));var s=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Vl(s);try{o.insertRule(r,o.cssRules.length)}catch{}}else s.appendChild(document.createTextNode(r));this.ctr++},e.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0},t}(),Y="-ms-",sn="-moz-",V="-webkit-",Do="comm",Br="rule",Ir="decl",Ll="@import",Lo="@keyframes",jl="@layer",Fl=Math.abs,bn=String.fromCharCode,Bl=Object.assign;function Il(t,e){return X(t,0)^45?(((e<<2^X(t,0))<<2^X(t,1))<<2^X(t,2))<<2^X(t,3):0}function jo(t){return t.trim()}function _l(t,e){return(t=e.exec(t))?t[0]:t}function M(t,e,n){return t.replace(e,n)}function fr(t,e){return t.indexOf(e)}function X(t,e){return t.charCodeAt(e)|0}function Te(t,e,n){return t.slice(e,n)}function dt(t){return t.length}function _r(t){return t.length}function ze(t,e){return e.push(t),t}function $l(t,e){return t.map(e).join("")}var vn=1,re=1,Fo=0,tt=0,K=0,ce="";function Sn(t,e,n,r,s,o,i){return{value:t,root:e,parent:n,type:r,props:s,children:o,line:vn,column:re,length:i,return:""}}function he(t,e){return Bl(Sn("",null,null,"",null,null,0),t,{length:-t.length},e)}function Nl(){return K}function Ul(){return K=tt>0?X(ce,--tt):0,re--,K===10&&(re=1,vn--),K}function rt(){return K=tt<Fo?X(ce,tt++):0,re++,K===10&&(re=1,vn++),K}function gt(){return X(ce,tt)}function qe(){return tt}function Me(t,e){return Te(ce,t,e)}function Ee(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Bo(t){return vn=re=1,Fo=dt(ce=t),tt=0,[]}function Io(t){return ce="",t}function Xe(t){return jo(Me(tt-1,dr(t===91?t+2:t===40?t+1:t)))}function zl(t){for(;(K=gt())&&K<33;)rt();return Ee(t)>2||Ee(K)>3?"":" "}function Wl(t,e){for(;--e&&rt()&&!(K<48||K>102||K>57&&K<65||K>70&&K<97););return Me(t,qe()+(e<6&>()==32&&rt()==32))}function dr(t){for(;rt();)switch(K){case t:return tt;case 34:case 39:t!==34&&t!==39&&dr(K);break;case 40:t===41&&dr(t);break;case 92:rt();break}return tt}function Hl(t,e){for(;rt()&&t+K!==47+10;)if(t+K===42+42&>()===47)break;return"/*"+Me(e,tt-1)+"*"+bn(t===47?t:rt())}function Kl(t){for(;!Ee(gt());)rt();return Me(t,tt)}function Gl(t){return Io(Ye("",null,null,null,[""],t=Bo(t),0,[0],t))}function Ye(t,e,n,r,s,o,i,a,c){for(var l=0,f=0,u=i,d=0,m=0,p=0,h=1,x=1,v=1,S=0,y="",w=s,P=o,E=r,T=y;x;)switch(p=S,S=rt()){case 40:if(p!=108&&X(T,u-1)==58){fr(T+=M(Xe(S),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:T+=Xe(S);break;case 9:case 10:case 13:case 32:T+=zl(p);break;case 92:T+=Wl(qe()-1,7);continue;case 47:switch(gt()){case 42:case 47:ze(ql(Hl(rt(),qe()),e,n),c);break;default:T+="/"}break;case 123*h:a[l++]=dt(T)*v;case 125*h:case 59:case 0:switch(S){case 0:case 125:x=0;case 59+f:v==-1&&(T=M(T,/\f/g,"")),m>0&&dt(T)-u&&ze(m>32?Fs(T+";",r,n,u-1):Fs(M(T," ","")+";",r,n,u-2),c);break;case 59:T+=";";default:if(ze(E=js(T,e,n,l,f,s,a,y,w=[],P=[],u),o),S===123)if(f===0)Ye(T,e,E,E,w,o,u,a,P);else switch(d===99&&X(T,3)===110?100:d){case 100:case 108:case 109:case 115:Ye(t,E,E,r&&ze(js(t,E,E,0,0,s,a,y,s,w=[],u),P),s,P,u,a,r?w:P);break;default:Ye(T,E,E,E,[""],P,0,a,P)}}l=f=m=0,h=v=1,y=T="",u=i;break;case 58:u=1+dt(T),m=p;default:if(h<1){if(S==123)--h;else if(S==125&&h++==0&&Ul()==125)continue}switch(T+=bn(S),S*h){case 38:v=f>0?1:(T+="\f",-1);break;case 44:a[l++]=(dt(T)-1)*v,v=1;break;case 64:gt()===45&&(T+=Xe(rt())),d=gt(),f=u=dt(y=T+=Kl(qe())),S++;break;case 45:p===45&&dt(T)==2&&(h=0)}}return o}function js(t,e,n,r,s,o,i,a,c,l,f){for(var u=s-1,d=s===0?o:[""],m=_r(d),p=0,h=0,x=0;p<r;++p)for(var v=0,S=Te(t,u+1,u=Fl(h=i[p])),y=t;v<m;++v)(y=jo(h>0?d[v]+" "+S:M(S,/&\f/g,d[v])))&&(c[x++]=y);return Sn(t,e,n,s===0?Br:a,c,l,f)}function ql(t,e,n){return Sn(t,e,n,Do,bn(Nl()),Te(t,2,-2),0)}function Fs(t,e,n,r){return Sn(t,e,n,Ir,Te(t,0,r),Te(t,r+1,-1),r)}function te(t,e){for(var n="",r=_r(t),s=0;s<r;s++)n+=e(t[s],s,t,e)||"";return n}function Xl(t,e,n,r){switch(t.type){case jl:if(t.children.length)break;case Ll:case Ir:return t.return=t.return||t.value;case Do:return"";case Lo:return t.return=t.value+"{"+te(t.children,r)+"}";case Br:t.value=t.props.join(",")}return dt(n=te(t.children,r))?t.return=t.value+"{"+n+"}":""}function Yl(t){var e=_r(t);return function(n,r,s,o){for(var i="",a=0;a<e;a++)i+=t[a](n,r,s,o)||"";return i}}function Jl(t){return function(e){e.root||(e=e.return)&&t(e)}}var Zl=function(e,n,r){for(var s=0,o=0;s=o,o=gt(),s===38&&o===12&&(n[r]=1),!Ee(o);)rt();return Me(e,tt)},Ql=function(e,n){var r=-1,s=44;do switch(Ee(s)){case 0:s===38&>()===12&&(n[r]=1),e[r]+=Zl(tt-1,n,r);break;case 2:e[r]+=Xe(s);break;case 4:if(s===44){e[++r]=gt()===58?"&\f":"",n[r]=e[r].length;break}default:e[r]+=bn(s)}while(s=rt());return e},tu=function(e,n){return Io(Ql(Bo(e),n))},Bs=new WeakMap,eu=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,r=e.parent,s=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!Bs.get(r))&&!s){Bs.set(e,!0);for(var o=[],i=tu(n,o),a=r.props,c=0,l=0;c<i.length;c++)for(var f=0;f<a.length;f++,l++)e.props[l]=o[c]?i[c].replace(/&\f/g,a[f]):a[f]+" "+i[c]}}},nu=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function _o(t,e){switch(Il(t,e)){case 5103:return V+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return V+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return V+t+sn+t+Y+t+t;case 6828:case 4268:return V+t+Y+t+t;case 6165:return V+t+Y+"flex-"+t+t;case 5187:return V+t+M(t,/(\w+).+(:[^]+)/,V+"box-$1$2"+Y+"flex-$1$2")+t;case 5443:return V+t+Y+"flex-item-"+M(t,/flex-|-self/,"")+t;case 4675:return V+t+Y+"flex-line-pack"+M(t,/align-content|flex-|-self/,"")+t;case 5548:return V+t+Y+M(t,"shrink","negative")+t;case 5292:return V+t+Y+M(t,"basis","preferred-size")+t;case 6060:return V+"box-"+M(t,"-grow","")+V+t+Y+M(t,"grow","positive")+t;case 4554:return V+M(t,/([^-])(transform)/g,"$1"+V+"$2")+t;case 6187:return M(M(M(t,/(zoom-|grab)/,V+"$1"),/(image-set)/,V+"$1"),t,"")+t;case 5495:case 3959:return M(t,/(image-set\([^]*)/,V+"$1$`$1");case 4968:return M(M(t,/(.+:)(flex-)?(.*)/,V+"box-pack:$3"+Y+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+V+t+t;case 4095:case 3583:case 4068:case 2532:return M(t,/(.+)-inline(.+)/,V+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(dt(t)-1-e>6)switch(X(t,e+1)){case 109:if(X(t,e+4)!==45)break;case 102:return M(t,/(.+:)(.+)-([^]+)/,"$1"+V+"$2-$3$1"+sn+(X(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~fr(t,"stretch")?_o(M(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(X(t,e+1)!==115)break;case 6444:switch(X(t,dt(t)-3-(~fr(t,"!important")&&10))){case 107:return M(t,":",":"+V)+t;case 101:return M(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+V+(X(t,14)===45?"inline-":"")+"box$3$1"+V+"$2$3$1"+Y+"$2box$3")+t}break;case 5936:switch(X(t,e+11)){case 114:return V+t+Y+M(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return V+t+Y+M(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return V+t+Y+M(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return V+t+Y+t+t}return t}var ru=function(e,n,r,s){if(e.length>-1&&!e.return)switch(e.type){case Ir:e.return=_o(e.value,e.length);break;case Lo:return te([he(e,{value:M(e.value,"@","@"+V)})],s);case Br:if(e.length)return $l(e.props,function(o){switch(_l(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return te([he(e,{props:[M(o,/:(read-\w+)/,":"+sn+"$1")]})],s);case"::placeholder":return te([he(e,{props:[M(o,/:(plac\w+)/,":"+V+"input-$1")]}),he(e,{props:[M(o,/:(plac\w+)/,":"+sn+"$1")]}),he(e,{props:[M(o,/:(plac\w+)/,Y+"input-$1")]})],s)}return""})}},su=[ru],iu=function(e){var n=e.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(h){var x=h.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var s=e.stylisPlugins||su,o={},i,a=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(h){for(var x=h.getAttribute("data-emotion").split(" "),v=1;v<x.length;v++)o[x[v]]=!0;a.push(h)});var c,l=[eu,nu];{var f,u=[Xl,Jl(function(h){f.insert(h)})],d=Yl(l.concat(s,u)),m=function(x){return te(Gl(x),d)};c=function(x,v,S,y){f=S,m(x?x+"{"+v.styles+"}":v.styles),y&&(p.inserted[v.name]=!0)}}var p={key:n,sheet:new Dl({key:n,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:c};return p.sheet.hydrate(a),p},ou=!0;function au(t,e,n){var r="";return n.split(" ").forEach(function(s){t[s]!==void 0?e.push(t[s]+";"):r+=s+" "}),r}var $o=function(e,n,r){var s=e.key+"-"+n.name;(r===!1||ou===!1)&&e.registered[s]===void 0&&(e.registered[s]=n.styles)},cu=function(e,n,r){$o(e,n,r);var s=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var o=n;do e.insert(n===o?"."+s:"",o,e.sheet,!0),o=o.next;while(o!==void 0)}};function lu(t){for(var e=0,n,r=0,s=t.length;s>=4;++r,s-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(s){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var uu={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},fu=/[A-Z]|^ms/g,du=/_EMO_([^_]+?)_([^]*?)_EMO_/g,No=function(e){return e.charCodeAt(1)===45},Is=function(e){return e!=null&&typeof e!="boolean"},Hn=Mo(function(t){return No(t)?t:t.replace(fu,"-$&").toLowerCase()}),_s=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(du,function(r,s,o){return ht={name:s,styles:o,next:ht},s})}return uu[e]!==1&&!No(e)&&typeof n=="number"&&n!==0?n+"px":n};function Ce(t,e,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return ht={name:n.name,styles:n.styles,next:ht},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)ht={name:r.name,styles:r.styles,next:ht},r=r.next;var s=n.styles+";";return s}return hu(t,e,n)}case"function":{if(t!==void 0){var o=ht,i=n(t);return ht=o,Ce(t,e,i)}break}}if(e==null)return n;var a=e[n];return a!==void 0?a:n}function hu(t,e,n){var r="";if(Array.isArray(n))for(var s=0;s<n.length;s++)r+=Ce(t,e,n[s])+";";else for(var o in n){var i=n[o];if(typeof i!="object")e!=null&&e[i]!==void 0?r+=o+"{"+e[i]+"}":Is(i)&&(r+=Hn(o)+":"+_s(o,i)+";");else if(Array.isArray(i)&&typeof i[0]=="string"&&(e==null||e[i[0]]===void 0))for(var a=0;a<i.length;a++)Is(i[a])&&(r+=Hn(o)+":"+_s(o,i[a])+";");else{var c=Ce(t,e,i);switch(o){case"animation":case"animationName":{r+=Hn(o)+":"+c+";";break}default:r+=o+"{"+c+"}"}}}return r}var $s=/label:\s*([^\s;\n{]+)\s*(;|$)/g,ht,pu=function(e,n,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var s=!0,o="";ht=void 0;var i=e[0];i==null||i.raw===void 0?(s=!1,o+=Ce(r,n,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Ce(r,n,e[a]),s&&(o+=i[a]);$s.lastIndex=0;for(var c="",l;(l=$s.exec(o))!==null;)c+="-"+l[1];var f=lu(o)+c;return{name:f,styles:o,next:ht}},mu=function(e){return e()},gu=g.React["useInsertionEffect"]?g.React["useInsertionEffect"]:!1,yu=gu||mu,Uo=g.reactExports.createContext(typeof HTMLElement<"u"?iu({key:"css"}):null);Uo.Provider;var xu=function(e){return g.reactExports.forwardRef(function(n,r){var s=g.reactExports.useContext(Uo);return e(n,s,r)})},zo=g.reactExports.createContext({}),bu=kl,vu=function(e){return e!=="theme"},Ns=function(e){return typeof e=="string"&&e.charCodeAt(0)>96?bu:vu},Us=function(e,n,r){var s;if(n){var o=n.shouldForwardProp;s=e.__emotion_forwardProp&&o?function(i){return e.__emotion_forwardProp(i)&&o(i)}:o}return typeof s!="function"&&r&&(s=e.__emotion_forwardProp),s},Su=function(e){var n=e.cache,r=e.serialized,s=e.isStringTag;return $o(n,r,s),yu(function(){return cu(n,r,s)}),null},wu=function t(e,n){var r=e.__emotion_real===e,s=r&&e.__emotion_base||e,o,i;n!==void 0&&(o=n.label,i=n.target);var a=Us(e,n,r),c=a||Ns(s),l=!c("as");return function(){var f=arguments,u=r&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(o!==void 0&&u.push("label:"+o+";"),f[0]==null||f[0].raw===void 0)u.push.apply(u,f);else{u.push(f[0][0]);for(var d=f.length,m=1;m<d;m++)u.push(f[m],f[0][m])}var p=xu(function(h,x,v){var S=l&&h.as||s,y="",w=[],P=h;if(h.theme==null){P={};for(var E in h)P[E]=h[E];P.theme=g.reactExports.useContext(zo)}typeof h.className=="string"?y=au(x.registered,w,h.className):h.className!=null&&(y=h.className+" ");var T=pu(u.concat(w),x.registered,P);y+=x.key+"-"+T.name,i!==void 0&&(y+=" "+i);var R=l&&a===void 0?Ns(S):c,D={};for(var A in h)l&&A==="as"||R(A)&&(D[A]=h[A]);return D.className=y,D.ref=v,g.reactExports.createElement(g.reactExports.Fragment,null,g.reactExports.createElement(Su,{cache:x,serialized:T,isStringTag:typeof S=="string"}),g.reactExports.createElement(S,D))});return p.displayName=o!==void 0?o:"Styled("+(typeof s=="string"?s:s.displayName||s.name||"Component")+")",p.defaultProps=e.defaultProps,p.__emotion_real=p,p.__emotion_base=s,p.__emotion_styles=u,p.__emotion_forwardProp=a,Object.defineProperty(p,"toString",{value:function(){return"."+i}}),p.withComponent=function(h,x){return t(h,O({},n,x,{shouldForwardProp:Us(p,x,!0)})).apply(void 0,u)},p}},Pu=["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","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","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","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],hr=wu.bind();Pu.forEach(function(t){hr[t]=hr(t)});/**
|
|
2
|
-
* @mui/styled-engine v5.15.4
|
|
3
|
-
*
|
|
4
|
-
* @license MIT
|
|
5
|
-
* This source code is licensed under the MIT license found in the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/function Tu(t,e){return hr(t,e)}const Eu=(t,e)=>{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))},Cu=["values","unit","step"],Au=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,r)=>n.val-r.val),e.reduce((n,r)=>O({},n,{[r.key]:r.val}),{})};function Ru(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=t,s=Ct(t,Cu),o=Au(e),i=Object.keys(o);function a(d){return`@media (min-width:${typeof e[d]=="number"?e[d]:d}${n})`}function c(d){return`@media (max-width:${(typeof e[d]=="number"?e[d]:d)-r/100}${n})`}function l(d,m){const p=i.indexOf(m);return`@media (min-width:${typeof e[d]=="number"?e[d]:d}${n}) and (max-width:${(p!==-1&&typeof e[i[p]]=="number"?e[i[p]]:m)-r/100}${n})`}function f(d){return i.indexOf(d)+1<i.length?l(d,i[i.indexOf(d)+1]):a(d)}function u(d){const m=i.indexOf(d);return m===0?a(i[1]):m===i.length-1?c(i[m]):l(d,i[i.indexOf(d)+1]).replace("@media","@media not all and")}return O({keys:i,values:o,up:a,down:c,between:l,only:f,not:u,unit:n},s)}const Ou={borderRadius:4},ku=Ou;function be(t,e){return e?ft(t,e,{clone:!1}):t}const $r={xs:0,sm:600,md:900,lg:1200,xl:1536},zs={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${$r[t]}px)`};function Tt(t,e,n){const r=t.theme||{};if(Array.isArray(e)){const o=r.breakpoints||zs;return e.reduce((i,a,c)=>(i[o.up(o.keys[c])]=n(e[c]),i),{})}if(typeof e=="object"){const o=r.breakpoints||zs;return Object.keys(e).reduce((i,a)=>{if(Object.keys(o.values||$r).indexOf(a)!==-1){const c=o.up(a);i[c]=n(e[a],a)}else{const c=a;i[c]=e[c]}return i},{})}return n(e)}function Vu(t={}){var e;return((e=t.keys)==null?void 0:e.reduce((r,s)=>{const o=t.up(s);return r[o]={},r},{}))||{}}function Mu(t,e){return t.reduce((n,r)=>{const s=n[r];return(!s||Object.keys(s).length===0)&&delete n[r],n},e)}function wn(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const r=`vars.${e}`.split(".").reduce((s,o)=>s&&s[o]?s[o]:null,t);if(r!=null)return r}return e.split(".").reduce((r,s)=>r&&r[s]!=null?r[s]:null,t)}function on(t,e,n,r=n){let s;return typeof t=="function"?s=t(n):Array.isArray(t)?s=t[n]||r:s=wn(t,n)||r,e&&(s=e(s,r,t)),s}function z(t){const{prop:e,cssProperty:n=t.prop,themeKey:r,transform:s}=t,o=i=>{if(i[e]==null)return null;const a=i[e],c=i.theme,l=wn(c,r)||{};return Tt(i,a,u=>{let d=on(l,s,u);return u===d&&typeof u=="string"&&(d=on(l,s,`${e}${u==="default"?"":mt(u)}`,u)),n===!1?d:{[n]:d}})};return o.propTypes={},o.filterProps=[e],o}function Du(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const Lu={m:"margin",p:"padding"},ju={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ws={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Fu=Du(t=>{if(t.length>2)if(Ws[t])t=Ws[t];else return[t];const[e,n]=t.split(""),r=Lu[e],s=ju[n]||"";return Array.isArray(s)?s.map(o=>r+o):[r+s]}),Nr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ur=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Nr,...Ur];function De(t,e,n,r){var s;const o=(s=wn(t,e,!1))!=null?s:n;return typeof o=="number"?i=>typeof i=="string"?i:o*i:Array.isArray(o)?i=>typeof i=="string"?i:o[i]:typeof o=="function"?o:()=>{}}function Wo(t){return De(t,"spacing",8)}function Le(t,e){if(typeof e=="string"||e==null)return e;const n=Math.abs(e),r=t(n);return e>=0?r:typeof r=="number"?-r:`-${r}`}function Bu(t,e){return n=>t.reduce((r,s)=>(r[s]=Le(e,n),r),{})}function Iu(t,e,n,r){if(e.indexOf(n)===-1)return null;const s=Fu(n),o=Bu(s,r),i=t[n];return Tt(t,i,o)}function Ho(t,e){const n=Wo(t.theme);return Object.keys(t).map(r=>Iu(t,e,r,n)).reduce(be,{})}function $(t){return Ho(t,Nr)}$.propTypes={};$.filterProps=Nr;function N(t){return Ho(t,Ur)}N.propTypes={};N.filterProps=Ur;function _u(t=8){if(t.mui)return t;const e=Wo({spacing:t}),n=(...r)=>(r.length===0?[1]:r).map(o=>{const i=e(o);return typeof i=="number"?`${i}px`:i}).join(" ");return n.mui=!0,n}function Pn(...t){const e=t.reduce((r,s)=>(s.filterProps.forEach(o=>{r[o]=s}),r),{}),n=r=>Object.keys(r).reduce((s,o)=>e[o]?be(s,e[o](r)):s,{});return n.propTypes={},n.filterProps=t.reduce((r,s)=>r.concat(s.filterProps),[]),n}function at(t){return typeof t!="number"?t:`${t}px solid`}function lt(t,e){return z({prop:t,themeKey:"borders",transform:e})}const $u=lt("border",at),Nu=lt("borderTop",at),Uu=lt("borderRight",at),zu=lt("borderBottom",at),Wu=lt("borderLeft",at),Hu=lt("borderColor"),Ku=lt("borderTopColor"),Gu=lt("borderRightColor"),qu=lt("borderBottomColor"),Xu=lt("borderLeftColor"),Yu=lt("outline",at),Ju=lt("outlineColor"),Tn=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=De(t.theme,"shape.borderRadius",4),n=r=>({borderRadius:Le(e,r)});return Tt(t,t.borderRadius,n)}return null};Tn.propTypes={};Tn.filterProps=["borderRadius"];Pn($u,Nu,Uu,zu,Wu,Hu,Ku,Gu,qu,Xu,Tn,Yu,Ju);const En=t=>{if(t.gap!==void 0&&t.gap!==null){const e=De(t.theme,"spacing",8),n=r=>({gap:Le(e,r)});return Tt(t,t.gap,n)}return null};En.propTypes={};En.filterProps=["gap"];const Cn=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=De(t.theme,"spacing",8),n=r=>({columnGap:Le(e,r)});return Tt(t,t.columnGap,n)}return null};Cn.propTypes={};Cn.filterProps=["columnGap"];const An=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=De(t.theme,"spacing",8),n=r=>({rowGap:Le(e,r)});return Tt(t,t.rowGap,n)}return null};An.propTypes={};An.filterProps=["rowGap"];const Zu=z({prop:"gridColumn"}),Qu=z({prop:"gridRow"}),tf=z({prop:"gridAutoFlow"}),ef=z({prop:"gridAutoColumns"}),nf=z({prop:"gridAutoRows"}),rf=z({prop:"gridTemplateColumns"}),sf=z({prop:"gridTemplateRows"}),of=z({prop:"gridTemplateAreas"}),af=z({prop:"gridArea"});Pn(En,Cn,An,Zu,Qu,tf,ef,nf,rf,sf,of,af);function ee(t,e){return e==="grey"?e:t}const cf=z({prop:"color",themeKey:"palette",transform:ee}),lf=z({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ee}),uf=z({prop:"backgroundColor",themeKey:"palette",transform:ee});Pn(cf,lf,uf);function nt(t){return t<=1&&t!==0?`${t*100}%`:t}const ff=z({prop:"width",transform:nt}),zr=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{var r,s;const o=((r=t.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||$r[n];return o?((s=t.theme)==null||(s=s.breakpoints)==null?void 0:s.unit)!=="px"?{maxWidth:`${o}${t.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:nt(n)}};return Tt(t,t.maxWidth,e)}return null};zr.filterProps=["maxWidth"];const df=z({prop:"minWidth",transform:nt}),hf=z({prop:"height",transform:nt}),pf=z({prop:"maxHeight",transform:nt}),mf=z({prop:"minHeight",transform:nt});z({prop:"size",cssProperty:"width",transform:nt});z({prop:"size",cssProperty:"height",transform:nt});const gf=z({prop:"boxSizing"});Pn(ff,zr,df,hf,pf,mf,gf);const yf={border:{themeKey:"borders",transform:at},borderTop:{themeKey:"borders",transform:at},borderRight:{themeKey:"borders",transform:at},borderBottom:{themeKey:"borders",transform:at},borderLeft:{themeKey:"borders",transform:at},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:at},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Tn},color:{themeKey:"palette",transform:ee},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ee},backgroundColor:{themeKey:"palette",transform:ee},p:{style:N},pt:{style:N},pr:{style:N},pb:{style:N},pl:{style:N},px:{style:N},py:{style:N},padding:{style:N},paddingTop:{style:N},paddingRight:{style:N},paddingBottom:{style:N},paddingLeft:{style:N},paddingX:{style:N},paddingY:{style:N},paddingInline:{style:N},paddingInlineStart:{style:N},paddingInlineEnd:{style:N},paddingBlock:{style:N},paddingBlockStart:{style:N},paddingBlockEnd:{style:N},m:{style:$},mt:{style:$},mr:{style:$},mb:{style:$},ml:{style:$},mx:{style:$},my:{style:$},margin:{style:$},marginTop:{style:$},marginRight:{style:$},marginBottom:{style:$},marginLeft:{style:$},marginX:{style:$},marginY:{style:$},marginInline:{style:$},marginInlineStart:{style:$},marginInlineEnd:{style:$},marginBlock:{style:$},marginBlockStart:{style:$},marginBlockEnd:{style:$},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:En},rowGap:{style:An},columnGap:{style:Cn},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:nt},maxWidth:{style:zr},minWidth:{transform:nt},height:{transform:nt},maxHeight:{transform:nt},minHeight:{transform:nt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Wr=yf;function xf(...t){const e=t.reduce((r,s)=>r.concat(Object.keys(s)),[]),n=new Set(e);return t.every(r=>n.size===Object.keys(r).length)}function bf(t,e){return typeof t=="function"?t(e):t}function vf(){function t(n,r,s,o){const i={[n]:r,theme:s},a=o[n];if(!a)return{[n]:r};const{cssProperty:c=n,themeKey:l,transform:f,style:u}=a;if(r==null)return null;if(l==="typography"&&r==="inherit")return{[n]:r};const d=wn(s,l)||{};return u?u(i):Tt(i,r,p=>{let h=on(d,f,p);return p===h&&typeof p=="string"&&(h=on(d,f,`${n}${p==="default"?"":mt(p)}`,p)),c===!1?h:{[c]:h}})}function e(n){var r;const{sx:s,theme:o={}}=n||{};if(!s)return null;const i=(r=o.unstable_sxConfig)!=null?r:Wr;function a(c){let l=c;if(typeof c=="function")l=c(o);else if(typeof c!="object")return c;if(!l)return null;const f=Vu(o.breakpoints),u=Object.keys(f);let d=f;return Object.keys(l).forEach(m=>{const p=bf(l[m],o);if(p!=null)if(typeof p=="object")if(i[m])d=be(d,t(m,p,o,i));else{const h=Tt({theme:o},p,x=>({[m]:x}));xf(h,p)?d[m]=e({sx:p,theme:o}):d=be(d,h)}else d=be(d,t(m,p,o,i))}),Mu(u,d)}return Array.isArray(s)?s.map(a):a(s)}return e}const Ko=vf();Ko.filterProps=["sx"];const Hr=Ko,Sf=["breakpoints","palette","spacing","shape"];function Kr(t={},...e){const{breakpoints:n={},palette:r={},spacing:s,shape:o={}}=t,i=Ct(t,Sf),a=Ru(n),c=_u(s);let l=ft({breakpoints:a,direction:"ltr",components:{},palette:O({mode:"light"},r),spacing:c,shape:O({},ku,o)},i);return l=e.reduce((f,u)=>ft(f,u),l),l.unstable_sxConfig=O({},Wr,i==null?void 0:i.unstable_sxConfig),l.unstable_sx=function(u){return Hr({sx:u,theme:this})},l}function wf(t){return Object.keys(t).length===0}function Pf(t=null){const e=g.reactExports.useContext(zo);return!e||wf(e)?t:e}const Tf=Kr();function Ef(t=Tf){return Pf(t)}const Cf=["variant"];function Hs(t){return t.length===0}function Go(t){const{variant:e}=t,n=Ct(t,Cf);let r=e||"";return Object.keys(n).sort().forEach(s=>{s==="color"?r+=Hs(r)?t[s]:mt(t[s]):r+=`${Hs(r)?s:mt(s)}${mt(t[s].toString())}`}),r}const Af=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Rf(t){return Object.keys(t).length===0}function Of(t){return typeof t=="string"&&t.charCodeAt(0)>96}const kf=(t,e)=>e.components&&e.components[t]&&e.components[t].styleOverrides?e.components[t].styleOverrides:null,an=t=>{let e=0;const n={};return t&&t.forEach(r=>{let s="";typeof r.props=="function"?(s=`callback${e}`,e+=1):s=Go(r.props),n[s]=r.style}),n},Vf=(t,e)=>{let n=[];return e&&e.components&&e.components[t]&&e.components[t].variants&&(n=e.components[t].variants),an(n)},cn=(t,e,n)=>{const{ownerState:r={}}=t,s=[];let o=0;return n&&n.forEach(i=>{let a=!0;if(typeof i.props=="function"){const c=O({},t,r);a=i.props(c)}else Object.keys(i.props).forEach(c=>{r[c]!==i.props[c]&&t[c]!==i.props[c]&&(a=!1)});a&&(typeof i.props=="function"?s.push(e[`callback${o}`]):s.push(e[Go(i.props)])),typeof i.props=="function"&&(o+=1)}),s},Mf=(t,e,n,r)=>{var s;const o=n==null||(s=n.components)==null||(s=s[r])==null?void 0:s.variants;return cn(t,e,o)};function Je(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const Df=Kr(),Lf=t=>t&&t.charAt(0).toLowerCase()+t.slice(1);function Ze({defaultTheme:t,theme:e,themeId:n}){return Rf(e)?t:e[n]||e}function jf(t){return t?(e,n)=>n[t]:null}const Ks=({styledArg:t,props:e,defaultTheme:n,themeId:r})=>{const s=t(O({},e,{theme:Ze(O({},e,{defaultTheme:n,themeId:r}))}));let o;if(s&&s.variants&&(o=s.variants,delete s.variants),o){const i=cn(e,an(o),o);return[s,...i]}return s};function Ff(t={}){const{themeId:e,defaultTheme:n=Df,rootShouldForwardProp:r=Je,slotShouldForwardProp:s=Je}=t,o=i=>Hr(O({},i,{theme:Ze(O({},i,{defaultTheme:n,themeId:e}))}));return o.__mui_systemSx=!0,(i,a={})=>{Eu(i,w=>w.filter(P=>!(P!=null&&P.__mui_systemSx)));const{name:c,slot:l,skipVariantsResolver:f,skipSx:u,overridesResolver:d=jf(Lf(l))}=a,m=Ct(a,Af),p=f!==void 0?f:l&&l!=="Root"&&l!=="root"||!1,h=u||!1;let x,v=Je;l==="Root"||l==="root"?v=r:l?v=s:Of(i)&&(v=void 0);const S=Tu(i,O({shouldForwardProp:v,label:x},m)),y=(w,...P)=>{const E=P?P.map(A=>{if(typeof A=="function"&&A.__emotion_real!==A)return W=>Ks({styledArg:A,props:W,defaultTheme:n,themeId:e});if(Vt(A)){let W=A,_;return A&&A.variants&&(_=A.variants,delete W.variants,W=Z=>{let F=A;return cn(Z,an(_),_).forEach(q=>{F=ft(F,q)}),F}),W}return A}):[];let T=w;if(Vt(w)){let A;w&&w.variants&&(A=w.variants,delete T.variants,T=W=>{let _=w;return cn(W,an(A),A).forEach(F=>{_=ft(_,F)}),_})}else typeof w=="function"&&w.__emotion_real!==w&&(T=A=>Ks({styledArg:w,props:A,defaultTheme:n,themeId:e}));c&&d&&E.push(A=>{const W=Ze(O({},A,{defaultTheme:n,themeId:e})),_=kf(c,W);if(_){const Z={};return Object.entries(_).forEach(([F,ut])=>{Z[F]=typeof ut=="function"?ut(O({},A,{theme:W})):ut}),d(A,Z)}return null}),c&&!p&&E.push(A=>{const W=Ze(O({},A,{defaultTheme:n,themeId:e}));return Mf(A,Vf(c,W),W,c)}),h||E.push(o);const R=E.length-P.length;if(Array.isArray(w)&&R>0){const A=new Array(R).fill("");T=[...w,...A],T.raw=[...w.raw,...A]}const D=S(T,...E);return i.muiName&&(D.muiName=i.muiName),D};return S.withConfig&&(y.withConfig=S.withConfig),y}}function Bf(t){const{theme:e,name:n,props:r}=t;return!e||!e.components||!e.components[n]||!e.components[n].defaultProps?r:Ro(e.components[n].defaultProps,r)}function If({props:t,name:e,defaultTheme:n,themeId:r}){let s=Ef(n);return r&&(s=s[r]||s),Bf({theme:s,name:e,props:t})}function qo(t,e=0,n=1){return Math.min(Math.max(e,t),n)}function _f(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,s)=>s<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function se(t){if(t.type)return t;if(t.charAt(0)==="#")return se(_f(t));const e=t.indexOf("("),n=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(ne(9,t));let r=t.substring(e+1,t.length-1),s;if(n==="color"){if(r=r.split(" "),s=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(s)===-1)throw new Error(ne(10,s))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:s}}function Gr(t){const{type:e,colorSpace:n}=t;let{values:r}=t;return e.indexOf("rgb")!==-1?r=r.map((s,o)=>o<3?parseInt(s,10):s):e.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),e.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${e}(${r})`}function $f(t){t=se(t);const{values:e}=t,n=e[0],r=e[1]/100,s=e[2]/100,o=r*Math.min(s,1-s),i=(l,f=(l+n/30)%12)=>s-o*Math.max(Math.min(f-3,9-f,1),-1);let a="rgb";const c=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return t.type==="hsla"&&(a+="a",c.push(e[3])),Gr({type:a,values:c})}function Gs(t){t=se(t);let e=t.type==="hsl"||t.type==="hsla"?se($f(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function Nf(t,e){const n=Gs(t),r=Gs(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Uf(t,e){if(t=se(t),e=qo(e),t.type.indexOf("hsl")!==-1)t.values[2]*=1-e;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]*=1-e;return Gr(t)}function zf(t,e){if(t=se(t),e=qo(e),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*e;else if(t.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return Gr(t)}function Wf(t,e){return O({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},e)}const Hf={black:"#000",white:"#fff"},Ae=Hf,Kf={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Gf=Kf,qf={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Ht=qf,Xf={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Kt=Xf,Yf={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},pe=Yf,Jf={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Gt=Jf,Zf={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},qt=Zf,Qf={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Xt=Qf,td=["mode","contrastThreshold","tonalOffset"],qs={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ae.white,default:Ae.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Kn={text:{primary:Ae.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ae.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Xs(t,e,n,r){const s=r.light||r,o=r.dark||r*1.5;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:e==="light"?t.light=zf(t.main,s):e==="dark"&&(t.dark=Uf(t.main,o)))}function ed(t="light"){return t==="dark"?{main:Gt[200],light:Gt[50],dark:Gt[400]}:{main:Gt[700],light:Gt[400],dark:Gt[800]}}function nd(t="light"){return t==="dark"?{main:Ht[200],light:Ht[50],dark:Ht[400]}:{main:Ht[500],light:Ht[300],dark:Ht[700]}}function rd(t="light"){return t==="dark"?{main:Kt[500],light:Kt[300],dark:Kt[700]}:{main:Kt[700],light:Kt[400],dark:Kt[800]}}function sd(t="light"){return t==="dark"?{main:qt[400],light:qt[300],dark:qt[700]}:{main:qt[700],light:qt[500],dark:qt[900]}}function id(t="light"){return t==="dark"?{main:Xt[400],light:Xt[300],dark:Xt[700]}:{main:Xt[800],light:Xt[500],dark:Xt[900]}}function od(t="light"){return t==="dark"?{main:pe[400],light:pe[300],dark:pe[700]}:{main:"#ed6c02",light:pe[500],dark:pe[900]}}function ad(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:r=.2}=t,s=Ct(t,td),o=t.primary||ed(e),i=t.secondary||nd(e),a=t.error||rd(e),c=t.info||sd(e),l=t.success||id(e),f=t.warning||od(e);function u(h){return Nf(h,Kn.text.primary)>=n?Kn.text.primary:qs.text.primary}const d=({color:h,name:x,mainShade:v=500,lightShade:S=300,darkShade:y=700})=>{if(h=O({},h),!h.main&&h[v]&&(h.main=h[v]),!h.hasOwnProperty("main"))throw new Error(ne(11,x?` (${x})`:"",v));if(typeof h.main!="string")throw new Error(ne(12,x?` (${x})`:"",JSON.stringify(h.main)));return Xs(h,"light",S,r),Xs(h,"dark",y,r),h.contrastText||(h.contrastText=u(h.main)),h},m={dark:Kn,light:qs};return ft(O({common:O({},Ae),mode:e,primary:d({color:o,name:"primary"}),secondary:d({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:a,name:"error"}),warning:d({color:f,name:"warning"}),info:d({color:c,name:"info"}),success:d({color:l,name:"success"}),grey:Gf,contrastThreshold:n,getContrastText:u,augmentColor:d,tonalOffset:r},m[e]),s)}const cd=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function ld(t){return Math.round(t*1e5)/1e5}const Ys={textTransform:"uppercase"},Js='"Roboto", "Helvetica", "Arial", sans-serif';function ud(t,e){const n=typeof e=="function"?e(t):e,{fontFamily:r=Js,fontSize:s=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:c=700,htmlFontSize:l=16,allVariants:f,pxToRem:u}=n,d=Ct(n,cd),m=s/14,p=u||(v=>`${v/l*m}rem`),h=(v,S,y,w,P)=>O({fontFamily:r,fontWeight:v,fontSize:p(S),lineHeight:y},r===Js?{letterSpacing:`${ld(w/S)}em`}:{},P,f),x={h1:h(o,96,1.167,-1.5),h2:h(o,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(a,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(a,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(a,14,1.75,.4,Ys),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,Ys),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ft(O({htmlFontSize:l,pxToRem:p,fontFamily:r,fontSize:s,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:c},x),d,{clone:!1})}const fd=.2,dd=.14,hd=.12;function j(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${fd})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${dd})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${hd})`].join(",")}const pd=["none",j(0,2,1,-1,0,1,1,0,0,1,3,0),j(0,3,1,-2,0,2,2,0,0,1,5,0),j(0,3,3,-2,0,3,4,0,0,1,8,0),j(0,2,4,-1,0,4,5,0,0,1,10,0),j(0,3,5,-1,0,5,8,0,0,1,14,0),j(0,3,5,-1,0,6,10,0,0,1,18,0),j(0,4,5,-2,0,7,10,1,0,2,16,1),j(0,5,5,-3,0,8,10,1,0,3,14,2),j(0,5,6,-3,0,9,12,1,0,3,16,2),j(0,6,6,-3,0,10,14,1,0,4,18,3),j(0,6,7,-4,0,11,15,1,0,4,20,3),j(0,7,8,-4,0,12,17,2,0,5,22,4),j(0,7,8,-4,0,13,19,2,0,5,24,4),j(0,7,9,-4,0,14,21,2,0,5,26,4),j(0,8,9,-5,0,15,22,2,0,6,28,5),j(0,8,10,-5,0,16,24,2,0,6,30,5),j(0,8,11,-5,0,17,26,2,0,6,32,5),j(0,9,11,-5,0,18,28,2,0,7,34,6),j(0,9,12,-6,0,19,29,2,0,7,36,6),j(0,10,13,-6,0,20,31,3,0,8,38,7),j(0,10,13,-6,0,21,33,3,0,8,40,7),j(0,10,14,-6,0,22,35,3,0,8,42,7),j(0,11,14,-7,0,23,36,3,0,9,44,8),j(0,11,15,-7,0,24,38,3,0,9,46,8)],md=pd,gd=["duration","easing","delay"],yd={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},xd={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Zs(t){return`${Math.round(t)}ms`}function bd(t){if(!t)return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function vd(t){const e=O({},yd,t.easing),n=O({},xd,t.duration);return O({getAutoHeightDuration:bd,create:(s=["all"],o={})=>{const{duration:i=n.standard,easing:a=e.easeInOut,delay:c=0}=o;return Ct(o,gd),(Array.isArray(s)?s:[s]).map(l=>`${l} ${typeof i=="string"?i:Zs(i)} ${a} ${typeof c=="string"?c:Zs(c)}`).join(",")}},t,{easing:e,duration:n})}const Sd={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},wd=Sd,Pd=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Td(t={},...e){const{mixins:n={},palette:r={},transitions:s={},typography:o={}}=t,i=Ct(t,Pd);if(t.vars)throw new Error(ne(18));const a=ad(r),c=Kr(t);let l=ft(c,{mixins:Wf(c.breakpoints,n),palette:a,shadows:md.slice(),typography:ud(a,o),transitions:vd(s),zIndex:O({},wd)});return l=ft(l,i),l=e.reduce((f,u)=>ft(f,u),l),l.unstable_sxConfig=O({},Wr,i==null?void 0:i.unstable_sxConfig),l.unstable_sx=function(u){return Hr({sx:u,theme:this})},l}const Ed=Td(),Xo=Ed,Yo="$$material";function Cd({props:t,name:e}){return If({props:t,name:e,defaultTheme:Xo,themeId:Yo})}const Ad=t=>Je(t)&&t!=="classes",Rd=Ff({themeId:Yo,defaultTheme:Xo,rootShouldForwardProp:Ad}),Od=Rd;function kd(t){return ko("MuiSvgIcon",t)}Al("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Vd=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Md=t=>{const{color:e,fontSize:n,classes:r}=t,s={root:["root",e!=="inherit"&&`color${mt(e)}`,`fontSize${mt(n)}`]};return Pl(s,kd,r)},Dd=Od("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="inherit"&&e[`color${mt(n.color)}`],e[`fontSize${mt(n.fontSize)}`]]}})(({theme:t,ownerState:e})=>{var n,r,s,o,i,a,c,l,f,u,d,m,p;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:e.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=t.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(s=t.transitions)==null||(s=s.duration)==null?void 0:s.shorter}),fontSize:{inherit:"inherit",small:((o=t.typography)==null||(i=o.pxToRem)==null?void 0:i.call(o,20))||"1.25rem",medium:((a=t.typography)==null||(c=a.pxToRem)==null?void 0:c.call(a,24))||"1.5rem",large:((l=t.typography)==null||(f=l.pxToRem)==null?void 0:f.call(l,35))||"2.1875rem"}[e.fontSize],color:(u=(d=(t.vars||t).palette)==null||(d=d[e.color])==null?void 0:d.main)!=null?u:{action:(m=(t.vars||t).palette)==null||(m=m.action)==null?void 0:m.active,disabled:(p=(t.vars||t).palette)==null||(p=p.action)==null?void 0:p.disabled,inherit:void 0}[e.color]}}),Jo=g.reactExports.forwardRef(function(e,n){const r=Cd({props:e,name:"MuiSvgIcon"}),{children:s,className:o,color:i="inherit",component:a="svg",fontSize:c="medium",htmlColor:l,inheritViewBox:f=!1,titleAccess:u,viewBox:d="0 0 24 24"}=r,m=Ct(r,Vd),p=g.reactExports.isValidElement(s)&&s.type==="svg",h=O({},r,{color:i,component:a,fontSize:c,instanceFontSize:e.fontSize,inheritViewBox:f,viewBox:d,hasSvgAsChild:p}),x={};f||(x.viewBox=d);const v=Md(h);return g.jsxRuntimeExports.jsxs(Dd,O({as:a,className:Rl(v.root,o),focusable:"false",color:l,"aria-hidden":u?void 0:!0,role:u?"img":void 0,ref:n},x,m,p&&s.props,{ownerState:h,children:[p?s.props.children:s,u?g.jsxRuntimeExports.jsx("title",{children:u}):null]}))});Jo.muiName="SvgIcon";const Qs=Jo;function Ld(t,e){function n(r,s){return g.jsxRuntimeExports.jsx(Qs,O({"data-testid":`${e}Icon`,ref:s},r,{children:t}))}return n.muiName=Qs.muiName,g.reactExports.memo(g.reactExports.forwardRef(n))}const jd={configure:t=>{Oo.configure(t)}},Fd=Object.freeze(Object.defineProperty({__proto__:null,capitalize:mt,createChainedFunction:rl,createSvgIcon:Ld,debounce:sl,deprecatedPropType:il,isMuiElement:ol,ownerDocument:Eo,ownerWindow:al,requirePropFactory:cl,setRef:Co,unstable_ClassNameGenerator:jd,unstable_useEnhancedEffect:Ao,unstable_useId:fl,unsupportedProp:dl,useControlled:hl,useEventCallback:pl,useForkRef:ml,useIsFocusVisible:wl},Symbol.toStringTag,{value:"Module"})),Bd=g.getAugmentedNamespace(Fd);var ti;function qr(){return ti||(ti=1,function(t){"use client";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e.createSvgIcon}});var e=Bd}(zn)),zn}var Id=Fr;Object.defineProperty(jr,"__esModule",{value:!0});var Zo=jr.default=void 0,_d=Id(qr()),$d=g.jsxRuntimeExports;Zo=jr.default=(0,_d.default)((0,$d.jsx)("path",{d:"m10 17 5-5-5-5z"}),"ArrowRight");var Xr={},Nd=Fr;Object.defineProperty(Xr,"__esModule",{value:!0});var Qo=Xr.default=void 0,Ud=Nd(qr()),zd=g.jsxRuntimeExports;Qo=Xr.default=(0,Ud.default)((0,zd.jsx)("path",{d:"M4 18h11c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0-5h8c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1M3 7c0 .55.45 1 1 1h11c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1m17.3 7.88L17.42 12l2.88-2.88c.39-.39.39-1.02 0-1.41a.9959.9959 0 0 0-1.41 0L15.3 11.3c-.39.39-.39 1.02 0 1.41l3.59 3.59c.39.39 1.02.39 1.41 0 .38-.39.39-1.03 0-1.42"}),"MenuOpenRounded");var Yr={},Wd=Fr;Object.defineProperty(Yr,"__esModule",{value:!0});var ta=Yr.default=void 0,Hd=Wd(qr()),Kd=g.jsxRuntimeExports;ta=Yr.default=(0,Hd.default)((0,Kd.jsx)("path",{d:"M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1M3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1"}),"MenuRounded");const ea=g.reactExports.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),Rn=g.reactExports.createContext({}),Jr=g.reactExports.createContext(null),On=typeof document<"u",Gd=On?g.reactExports.useLayoutEffect:g.reactExports.useEffect,na=g.reactExports.createContext({strict:!1}),Zr=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),qd="framerAppearId",ra="data-"+Zr(qd);function Xd(t,e,n,r){const{visualElement:s}=g.reactExports.useContext(Rn),o=g.reactExports.useContext(na),i=g.reactExports.useContext(Jr),a=g.reactExports.useContext(ea).reducedMotion,c=g.reactExports.useRef();r=r||o.renderer,!c.current&&r&&(c.current=r(t,{visualState:e,parent:s,props:n,presenceContext:i,blockInitialAnimation:i?i.initial===!1:!1,reducedMotionConfig:a}));const l=c.current;g.reactExports.useInsertionEffect(()=>{l&&l.update(n,i)});const f=g.reactExports.useRef(!!(n[ra]&&!window.HandoffComplete));return Gd(()=>{l&&(l.render(),f.current&&l.animationState&&l.animationState.animateChanges())}),g.reactExports.useEffect(()=>{l&&(l.updateFeatures(),!f.current&&l.animationState&&l.animationState.animateChanges(),f.current&&(f.current=!1,window.HandoffComplete=!0))}),l}function Yt(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function Yd(t,e,n){return g.reactExports.useCallback(r=>{r&&t.mount&&t.mount(r),e&&(r?e.mount(r):e.unmount()),n&&(typeof n=="function"?n(r):Yt(n)&&(n.current=r))},[e])}function Re(t){return typeof t=="string"||Array.isArray(t)}function kn(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const Qr=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ts=["initial",...Qr];function Vn(t){return kn(t.animate)||ts.some(e=>Re(t[e]))}function sa(t){return!!(Vn(t)||t.variants)}function Jd(t,e){if(Vn(t)){const{initial:n,animate:r}=t;return{initial:n===!1||Re(n)?n:void 0,animate:Re(r)?r:void 0}}return t.inherit!==!1?e:{}}function Zd(t){const{initial:e,animate:n}=Jd(t,g.reactExports.useContext(Rn));return g.reactExports.useMemo(()=>({initial:e,animate:n}),[ei(e),ei(n)])}function ei(t){return Array.isArray(t)?t.join(" "):t}const ni={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Oe={};for(const t in ni)Oe[t]={isEnabled:e=>ni[t].some(n=>!!e[n])};function Qd(t){for(const e in t)Oe[e]={...Oe[e],...t[e]}}const ia=g.reactExports.createContext({}),oa=g.reactExports.createContext({}),th=Symbol.for("motionComponentSymbol");function eh({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:r,Component:s}){t&&Qd(t);function o(a,c){let l;const f={...g.reactExports.useContext(ea),...a,layoutId:nh(a)},{isStatic:u}=f,d=Zd(a),m=r(a,u);if(!u&&On){d.visualElement=Xd(s,m,f,e);const p=g.reactExports.useContext(oa),h=g.reactExports.useContext(na).strict;d.visualElement&&(l=d.visualElement.loadFeatures(f,h,t,p))}return g.reactExports.createElement(Rn.Provider,{value:d},l&&d.visualElement?g.reactExports.createElement(l,{visualElement:d.visualElement,...f}):null,n(s,a,Yd(m,d.visualElement,c),m,u,d.visualElement))}const i=g.reactExports.forwardRef(o);return i[th]=s,i}function nh({layoutId:t}){const e=g.reactExports.useContext(ia).id;return e&&t!==void 0?e+"-"+t:t}function rh(t){function e(r,s={}){return eh(t(r,s))}if(typeof Proxy>"u")return e;const n=new Map;return new Proxy(e,{get:(r,s)=>(n.has(s)||n.set(s,e(s)),n.get(s))})}const sh=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function es(t){return typeof t!="string"||t.includes("-")?!1:!!(sh.indexOf(t)>-1||/[A-Z]/.test(t))}const ln={};function ih(t){Object.assign(ln,t)}const je=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ut=new Set(je);function aa(t,{layout:e,layoutId:n}){return Ut.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!ln[t]||t==="opacity")}const et=t=>!!(t&&t.getVelocity),oh={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ah=je.length;function ch(t,{enableHardwareAcceleration:e=!0,allowTransformNone:n=!0},r,s){let o="";for(let i=0;i<ah;i++){const a=je[i];if(t[a]!==void 0){const c=oh[a]||a;o+=`${c}(${t[a]}) `}}return e&&!t.z&&(o+="translateZ(0)"),o=o.trim(),s?o=s(t,r?"":o):n&&r&&(o="none"),o}const ca=t=>e=>typeof e=="string"&&e.startsWith(t),la=ca("--"),pr=ca("var(--"),lh=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,uh=(t,e)=>e&&typeof t=="number"?e.transform(t):t,Lt=(t,e,n)=>Math.min(Math.max(n,t),e),zt={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},ve={...zt,transform:t=>Lt(0,1,t)},We={...zt,default:1},Se=t=>Math.round(t*1e5)/1e5,Mn=/(-)?([\d]*\.?[\d])+/g,ua=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,fh=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Fe(t){return typeof t=="string"}const Be=t=>({test:e=>Fe(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Ot=Be("deg"),yt=Be("%"),C=Be("px"),dh=Be("vh"),hh=Be("vw"),ri={...yt,parse:t=>yt.parse(t)/100,transform:t=>yt.transform(t*100)},si={...zt,transform:Math.round},fa={borderWidth:C,borderTopWidth:C,borderRightWidth:C,borderBottomWidth:C,borderLeftWidth:C,borderRadius:C,radius:C,borderTopLeftRadius:C,borderTopRightRadius:C,borderBottomRightRadius:C,borderBottomLeftRadius:C,width:C,maxWidth:C,height:C,maxHeight:C,size:C,top:C,right:C,bottom:C,left:C,padding:C,paddingTop:C,paddingRight:C,paddingBottom:C,paddingLeft:C,margin:C,marginTop:C,marginRight:C,marginBottom:C,marginLeft:C,rotate:Ot,rotateX:Ot,rotateY:Ot,rotateZ:Ot,scale:We,scaleX:We,scaleY:We,scaleZ:We,skew:Ot,skewX:Ot,skewY:Ot,distance:C,translateX:C,translateY:C,translateZ:C,x:C,y:C,z:C,perspective:C,transformPerspective:C,opacity:ve,originX:ri,originY:ri,originZ:C,zIndex:si,fillOpacity:ve,strokeOpacity:ve,numOctaves:si};function ns(t,e,n,r){const{style:s,vars:o,transform:i,transformOrigin:a}=t;let c=!1,l=!1,f=!0;for(const u in e){const d=e[u];if(la(u)){o[u]=d;continue}const m=fa[u],p=uh(d,m);if(Ut.has(u)){if(c=!0,i[u]=p,!f)continue;d!==(m.default||0)&&(f=!1)}else u.startsWith("origin")?(l=!0,a[u]=p):s[u]=p}if(e.transform||(c||r?s.transform=ch(t.transform,n,f,r):s.transform&&(s.transform="none")),l){const{originX:u="50%",originY:d="50%",originZ:m=0}=a;s.transformOrigin=`${u} ${d} ${m}`}}const rs=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function da(t,e,n){for(const r in e)!et(e[r])&&!aa(r,n)&&(t[r]=e[r])}function ph({transformTemplate:t},e,n){return g.reactExports.useMemo(()=>{const r=rs();return ns(r,e,{enableHardwareAcceleration:!n},t),Object.assign({},r.vars,r.style)},[e])}function mh(t,e,n){const r=t.style||{},s={};return da(s,r,t),Object.assign(s,ph(t,e,n)),t.transformValues?t.transformValues(s):s}function gh(t,e,n){const r={},s=mh(t,e,n);return t.drag&&t.dragListener!==!1&&(r.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=s,r}const yh=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function un(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||yh.has(t)}let ha=t=>!un(t);function xh(t){t&&(ha=e=>e.startsWith("on")?!un(e):t(e))}try{xh(require("@emotion/is-prop-valid").default)}catch{}function bh(t,e,n){const r={};for(const s in t)s==="values"&&typeof t.values=="object"||(ha(s)||n===!0&&un(s)||!e&&!un(s)||t.draggable&&s.startsWith("onDrag"))&&(r[s]=t[s]);return r}function ii(t,e,n){return typeof t=="string"?t:C.transform(e+n*t)}function vh(t,e,n){const r=ii(e,t.x,t.width),s=ii(n,t.y,t.height);return`${r} ${s}`}const Sh={offset:"stroke-dashoffset",array:"stroke-dasharray"},wh={offset:"strokeDashoffset",array:"strokeDasharray"};function Ph(t,e,n=1,r=0,s=!0){t.pathLength=1;const o=s?Sh:wh;t[o.offset]=C.transform(-r);const i=C.transform(e),a=C.transform(n);t[o.array]=`${i} ${a}`}function ss(t,{attrX:e,attrY:n,attrScale:r,originX:s,originY:o,pathLength:i,pathSpacing:a=1,pathOffset:c=0,...l},f,u,d){if(ns(t,l,f,d),u){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:m,style:p,dimensions:h}=t;m.transform&&(h&&(p.transform=m.transform),delete m.transform),h&&(s!==void 0||o!==void 0||p.transform)&&(p.transformOrigin=vh(h,s!==void 0?s:.5,o!==void 0?o:.5)),e!==void 0&&(m.x=e),n!==void 0&&(m.y=n),r!==void 0&&(m.scale=r),i!==void 0&&Ph(m,i,a,c,!1)}const pa=()=>({...rs(),attrs:{}}),is=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Th(t,e,n,r){const s=g.reactExports.useMemo(()=>{const o=pa();return ss(o,e,{enableHardwareAcceleration:!1},is(r),t.transformTemplate),{...o.attrs,style:{...o.style}}},[e]);if(t.style){const o={};da(o,t.style,t),s.style={...o,...s.style}}return s}function Eh(t=!1){return(n,r,s,{latestValues:o},i)=>{const c=(es(n)?Th:gh)(r,o,i,n),f={...bh(r,typeof n=="string",t),...c,ref:s},{children:u}=r,d=g.reactExports.useMemo(()=>et(u)?u.get():u,[u]);return g.reactExports.createElement(n,{...f,children:d})}}function ma(t,{style:e,vars:n},r,s){Object.assign(t.style,e,s&&s.getProjectionStyles(r));for(const o in n)t.style.setProperty(o,n[o])}const ga=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function ya(t,e,n,r){ma(t,e,void 0,r);for(const s in e.attrs)t.setAttribute(ga.has(s)?s:Zr(s),e.attrs[s])}function os(t,e){const{style:n}=t,r={};for(const s in n)(et(n[s])||e.style&&et(e.style[s])||aa(s,t))&&(r[s]=n[s]);return r}function xa(t,e){const n=os(t,e);for(const r in t)if(et(t[r])||et(e[r])){const s=je.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[s]=t[r]}return n}function as(t,e,n,r={},s={}){return typeof e=="function"&&(e=e(n!==void 0?n:t.custom,r,s)),typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"&&(e=e(n!==void 0?n:t.custom,r,s)),e}function Ch(t){const e=g.reactExports.useRef(null);return e.current===null&&(e.current=t()),e.current}const fn=t=>Array.isArray(t),Ah=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),Rh=t=>fn(t)?t[t.length-1]||0:t;function Qe(t){const e=et(t)?t.get():t;return Ah(e)?e.toValue():e}function Oh({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},r,s,o){const i={latestValues:kh(r,s,o,t),renderState:e()};return n&&(i.mount=a=>n(r,a,i)),i}const ba=t=>(e,n)=>{const r=g.reactExports.useContext(Rn),s=g.reactExports.useContext(Jr),o=()=>Oh(t,e,r,s);return n?o():Ch(o)};function kh(t,e,n,r){const s={},o=r(t,{});for(const d in o)s[d]=Qe(o[d]);let{initial:i,animate:a}=t;const c=Vn(t),l=sa(t);e&&l&&!c&&t.inherit!==!1&&(i===void 0&&(i=e.initial),a===void 0&&(a=e.animate));let f=n?n.initial===!1:!1;f=f||i===!1;const u=f?a:i;return u&&typeof u!="boolean"&&!kn(u)&&(Array.isArray(u)?u:[u]).forEach(m=>{const p=as(t,m);if(!p)return;const{transitionEnd:h,transition:x,...v}=p;for(const S in v){let y=v[S];if(Array.isArray(y)){const w=f?y.length-1:0;y=y[w]}y!==null&&(s[S]=y)}for(const S in h)s[S]=h[S]}),s}const U=t=>t;class oi{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){const n=this.order.indexOf(e);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}function Vh(t){let e=new oi,n=new oi,r=0,s=!1,o=!1;const i=new WeakSet,a={schedule:(c,l=!1,f=!1)=>{const u=f&&s,d=u?e:n;return l&&i.add(c),d.add(c)&&u&&s&&(r=e.order.length),c},cancel:c=>{n.remove(c),i.delete(c)},process:c=>{if(s){o=!0;return}if(s=!0,[e,n]=[n,e],n.clear(),r=e.order.length,r)for(let l=0;l<r;l++){const f=e.order[l];f(c),i.has(f)&&(a.schedule(f),t())}s=!1,o&&(o=!1,a.process(c))}};return a}const He=["prepare","read","update","preRender","render","postRender"],Mh=40;function Dh(t,e){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=He.reduce((u,d)=>(u[d]=Vh(()=>n=!0),u),{}),i=u=>o[u].process(s),a=()=>{const u=performance.now();n=!1,s.delta=r?1e3/60:Math.max(Math.min(u-s.timestamp,Mh),1),s.timestamp=u,s.isProcessing=!0,He.forEach(i),s.isProcessing=!1,n&&e&&(r=!1,t(a))},c=()=>{n=!0,r=!0,s.isProcessing||t(a)};return{schedule:He.reduce((u,d)=>{const m=o[d];return u[d]=(p,h=!1,x=!1)=>(n||c(),m.schedule(p,h,x)),u},{}),cancel:u=>He.forEach(d=>o[d].cancel(u)),state:s,steps:o}}const{schedule:L,cancel:Et,state:J,steps:Gn}=Dh(typeof requestAnimationFrame<"u"?requestAnimationFrame:U,!0),Lh={useVisualState:ba({scrapeMotionValuesFromProps:xa,createRenderState:pa,onMount:(t,e,{renderState:n,latestValues:r})=>{L.read(()=>{try{n.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),L.render(()=>{ss(n,r,{enableHardwareAcceleration:!1},is(e.tagName),t.transformTemplate),ya(e,n)})}})},jh={useVisualState:ba({scrapeMotionValuesFromProps:os,createRenderState:rs})};function Fh(t,{forwardMotionProps:e=!1},n,r){return{...es(t)?Lh:jh,preloadedFeatures:n,useRender:Eh(e),createVisualElement:r,Component:t}}function bt(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}const va=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function Dn(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}const Bh=t=>e=>va(e)&&t(e,Dn(e));function vt(t,e,n,r){return bt(t,e,Bh(n),r)}const Ih=(t,e)=>n=>e(t(n)),Mt=(...t)=>t.reduce(Ih);function Sa(t){let e=null;return()=>{const n=()=>{e=null};return e===null?(e=t,n):!1}}const ai=Sa("dragHorizontal"),ci=Sa("dragVertical");function wa(t){let e=!1;if(t==="y")e=ci();else if(t==="x")e=ai();else{const n=ai(),r=ci();n&&r?e=()=>{n(),r()}:(n&&n(),r&&r())}return e}function Pa(){const t=wa(!0);return t?(t(),!1):!0}class Ft{constructor(e){this.isMounted=!1,this.node=e}update(){}}function li(t,e){const n="pointer"+(e?"enter":"leave"),r="onHover"+(e?"Start":"End"),s=(o,i)=>{if(o.pointerType==="touch"||Pa())return;const a=t.getProps();t.animationState&&a.whileHover&&t.animationState.setActive("whileHover",e),a[r]&&L.update(()=>a[r](o,i))};return vt(t.current,n,s,{passive:!t.getProps()[r]})}class _h extends Ft{mount(){this.unmount=Mt(li(this.node,!0),li(this.node,!1))}unmount(){}}class $h extends Ft{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Mt(bt(this.node.current,"focus",()=>this.onFocus()),bt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Ta=(t,e)=>e?t===e?!0:Ta(t,e.parentElement):!1;function qn(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,Dn(n))}class Nh extends Ft{constructor(){super(...arguments),this.removeStartListeners=U,this.removeEndListeners=U,this.removeAccessibleListeners=U,this.startPointerPress=(e,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),o=vt(window,"pointerup",(a,c)=>{if(!this.checkPressEnd())return;const{onTap:l,onTapCancel:f,globalTapTarget:u}=this.node.getProps();L.update(()=>{!u&&!Ta(this.node.current,a.target)?f&&f(a,c):l&&l(a,c)})},{passive:!(r.onTap||r.onPointerUp)}),i=vt(window,"pointercancel",(a,c)=>this.cancelPress(a,c),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Mt(o,i),this.startPress(e,n)},this.startAccessiblePress=()=>{const e=o=>{if(o.key!=="Enter"||this.isPressing)return;const i=a=>{a.key!=="Enter"||!this.checkPressEnd()||qn("up",(c,l)=>{const{onTap:f}=this.node.getProps();f&&L.update(()=>f(c,l))})};this.removeEndListeners(),this.removeEndListeners=bt(this.node.current,"keyup",i),qn("down",(a,c)=>{this.startPress(a,c)})},n=bt(this.node.current,"keydown",e),r=()=>{this.isPressing&&qn("cancel",(o,i)=>this.cancelPress(o,i))},s=bt(this.node.current,"blur",r);this.removeAccessibleListeners=Mt(n,s)}}startPress(e,n){this.isPressing=!0;const{onTapStart:r,whileTap:s}=this.node.getProps();s&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&L.update(()=>r(e,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Pa()}cancelPress(e,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&L.update(()=>r(e,n))}mount(){const e=this.node.getProps(),n=vt(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=bt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Mt(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const mr=new WeakMap,Xn=new WeakMap,Uh=t=>{const e=mr.get(t.target);e&&e(t)},zh=t=>{t.forEach(Uh)};function Wh({root:t,...e}){const n=t||document;Xn.has(n)||Xn.set(n,{});const r=Xn.get(n),s=JSON.stringify(e);return r[s]||(r[s]=new IntersectionObserver(zh,{root:t,...e})),r[s]}function Hh(t,e,n){const r=Wh(e);return mr.set(t,n),r.observe(t),()=>{mr.delete(t),r.unobserve(t)}}const Kh={some:0,all:1};class Gh extends Ft{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:o}=e,i={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:Kh[s]},a=c=>{const{isIntersecting:l}=c;if(this.isInView===l||(this.isInView=l,o&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:f,onViewportLeave:u}=this.node.getProps(),d=l?f:u;d&&d(c)};return Hh(this.node.current,i,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(qh(e,n))&&this.startObserver()}unmount(){}}function qh({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const Xh={inView:{Feature:Gh},tap:{Feature:Nh},focus:{Feature:$h},hover:{Feature:_h}};function Ea(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}function Yh(t){const e={};return t.values.forEach((n,r)=>e[r]=n.get()),e}function Jh(t){const e={};return t.values.forEach((n,r)=>e[r]=n.getVelocity()),e}function Ln(t,e,n){const r=t.getProps();return as(r,e,n!==void 0?n:r.custom,Yh(t),Jh(t))}let Zh=U,cs=U;const Dt=t=>t*1e3,St=t=>t/1e3,Qh={current:!1},Ca=t=>Array.isArray(t)&&typeof t[0]=="number";function Aa(t){return!!(!t||typeof t=="string"&&Ra[t]||Ca(t)||Array.isArray(t)&&t.every(Aa))}const xe=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`,Ra={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:xe([0,.65,.55,1]),circOut:xe([.55,0,1,.45]),backIn:xe([.31,.01,.66,-.59]),backOut:xe([.33,1.53,.69,.99])};function Oa(t){if(t)return Ca(t)?xe(t):Array.isArray(t)?t.map(Oa):Ra[t]}function tp(t,e,n,{delay:r=0,duration:s,repeat:o=0,repeatType:i="loop",ease:a,times:c}={}){const l={[e]:n};c&&(l.offset=c);const f=Oa(a);return Array.isArray(f)&&(l.easing=f),t.animate(l,{delay:r,duration:s,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:o+1,direction:i==="reverse"?"alternate":"normal"})}function ep(t,{repeat:e,repeatType:n="loop"}){const r=e&&n!=="loop"&&e%2===1?0:t.length-1;return t[r]}const ka=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,np=1e-7,rp=12;function sp(t,e,n,r,s){let o,i,a=0;do i=e+(n-e)/2,o=ka(i,r,s)-t,o>0?n=i:e=i;while(Math.abs(o)>np&&++a<rp);return i}function Ie(t,e,n,r){if(t===e&&n===r)return U;const s=o=>sp(o,0,1,t,n);return o=>o===0||o===1?o:ka(s(o),e,r)}const ip=Ie(.42,0,1,1),op=Ie(0,0,.58,1),Va=Ie(.42,0,.58,1),ap=t=>Array.isArray(t)&&typeof t[0]!="number",Ma=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Da=t=>e=>1-t(1-e),ls=t=>1-Math.sin(Math.acos(t)),La=Da(ls),cp=Ma(ls),ja=Ie(.33,1.53,.69,.99),us=Da(ja),lp=Ma(us),up=t=>(t*=2)<1?.5*us(t):.5*(2-Math.pow(2,-10*(t-1))),fp={linear:U,easeIn:ip,easeInOut:Va,easeOut:op,circIn:ls,circInOut:cp,circOut:La,backIn:us,backInOut:lp,backOut:ja,anticipate:up},ui=t=>{if(Array.isArray(t)){cs(t.length===4);const[e,n,r,s]=t;return Ie(e,n,r,s)}else if(typeof t=="string")return fp[t];return t},fs=(t,e)=>n=>!!(Fe(n)&&fh.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),Fa=(t,e,n)=>r=>{if(!Fe(r))return r;const[s,o,i,a]=r.match(Mn);return{[t]:parseFloat(s),[e]:parseFloat(o),[n]:parseFloat(i),alpha:a!==void 0?parseFloat(a):1}},dp=t=>Lt(0,255,t),Yn={...zt,transform:t=>Math.round(dp(t))},Nt={test:fs("rgb","red"),parse:Fa("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+Yn.transform(t)+", "+Yn.transform(e)+", "+Yn.transform(n)+", "+Se(ve.transform(r))+")"};function hp(t){let e="",n="",r="",s="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),s=t.substring(4,5),e+=e,n+=n,r+=r,s+=s),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const gr={test:fs("#"),parse:hp,transform:Nt.transform},Jt={test:fs("hsl","hue"),parse:Fa("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+yt.transform(Se(e))+", "+yt.transform(Se(n))+", "+Se(ve.transform(r))+")"},Q={test:t=>Nt.test(t)||gr.test(t)||Jt.test(t),parse:t=>Nt.test(t)?Nt.parse(t):Jt.test(t)?Jt.parse(t):gr.parse(t),transform:t=>Fe(t)?t:t.hasOwnProperty("red")?Nt.transform(t):Jt.transform(t)},I=(t,e,n)=>-n*t+n*e+t;function Jn(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function pp({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,e/=100,n/=100;let s=0,o=0,i=0;if(!e)s=o=i=n;else{const a=n<.5?n*(1+e):n+e-n*e,c=2*n-a;s=Jn(c,a,t+1/3),o=Jn(c,a,t),i=Jn(c,a,t-1/3)}return{red:Math.round(s*255),green:Math.round(o*255),blue:Math.round(i*255),alpha:r}}const Zn=(t,e,n)=>{const r=t*t;return Math.sqrt(Math.max(0,n*(e*e-r)+r))},mp=[gr,Nt,Jt],gp=t=>mp.find(e=>e.test(t));function fi(t){const e=gp(t);let n=e.parse(t);return e===Jt&&(n=pp(n)),n}const Ba=(t,e)=>{const n=fi(t),r=fi(e),s={...n};return o=>(s.red=Zn(n.red,r.red,o),s.green=Zn(n.green,r.green,o),s.blue=Zn(n.blue,r.blue,o),s.alpha=I(n.alpha,r.alpha,o),Nt.transform(s))};function yp(t){var e,n;return isNaN(t)&&Fe(t)&&(((e=t.match(Mn))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(ua))===null||n===void 0?void 0:n.length)||0)>0}const Ia={regex:lh,countKey:"Vars",token:"${v}",parse:U},_a={regex:ua,countKey:"Colors",token:"${c}",parse:Q.parse},$a={regex:Mn,countKey:"Numbers",token:"${n}",parse:zt.parse};function Qn(t,{regex:e,countKey:n,token:r,parse:s}){const o=t.tokenised.match(e);o&&(t["num"+n]=o.length,t.tokenised=t.tokenised.replace(e,r),t.values.push(...o.map(s)))}function dn(t){const e=t.toString(),n={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Qn(n,Ia),Qn(n,_a),Qn(n,$a),n}function Na(t){return dn(t).values}function Ua(t){const{values:e,numColors:n,numVars:r,tokenised:s}=dn(t),o=e.length;return i=>{let a=s;for(let c=0;c<o;c++)c<r?a=a.replace(Ia.token,i[c]):c<r+n?a=a.replace(_a.token,Q.transform(i[c])):a=a.replace($a.token,Se(i[c]));return a}}const xp=t=>typeof t=="number"?0:t;function bp(t){const e=Na(t);return Ua(t)(e.map(xp))}const jt={test:yp,parse:Na,createTransformer:Ua,getAnimatableNone:bp},za=(t,e)=>n=>`${n>0?e:t}`;function Wa(t,e){return typeof t=="number"?n=>I(t,e,n):Q.test(t)?Ba(t,e):t.startsWith("var(")?za(t,e):Ka(t,e)}const Ha=(t,e)=>{const n=[...t],r=n.length,s=t.map((o,i)=>Wa(o,e[i]));return o=>{for(let i=0;i<r;i++)n[i]=s[i](o);return n}},vp=(t,e)=>{const n={...t,...e},r={};for(const s in n)t[s]!==void 0&&e[s]!==void 0&&(r[s]=Wa(t[s],e[s]));return s=>{for(const o in r)n[o]=r[o](s);return n}},Ka=(t,e)=>{const n=jt.createTransformer(e),r=dn(t),s=dn(e);return r.numVars===s.numVars&&r.numColors===s.numColors&&r.numNumbers>=s.numNumbers?Mt(Ha(r.values,s.values),n):za(t,e)},ke=(t,e,n)=>{const r=e-t;return r===0?1:(n-t)/r},di=(t,e)=>n=>I(t,e,n);function Sp(t){return typeof t=="number"?di:typeof t=="string"?Q.test(t)?Ba:Ka:Array.isArray(t)?Ha:typeof t=="object"?vp:di}function wp(t,e,n){const r=[],s=n||Sp(t[0]),o=t.length-1;for(let i=0;i<o;i++){let a=s(t[i],t[i+1]);if(e){const c=Array.isArray(e)?e[i]||U:e;a=Mt(c,a)}r.push(a)}return r}function Ga(t,e,{clamp:n=!0,ease:r,mixer:s}={}){const o=t.length;if(cs(o===e.length),o===1)return()=>e[0];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const i=wp(e,r,s),a=i.length,c=l=>{let f=0;if(a>1)for(;f<t.length-2&&!(l<t[f+1]);f++);const u=ke(t[f],t[f+1],l);return i[f](u)};return n?l=>c(Lt(t[0],t[o-1],l)):c}function Pp(t,e){const n=t[t.length-1];for(let r=1;r<=e;r++){const s=ke(0,e,r);t.push(I(n,1,s))}}function Tp(t){const e=[0];return Pp(e,t.length-1),e}function Ep(t,e){return t.map(n=>n*e)}function Cp(t,e){return t.map(()=>e||Va).splice(0,t.length-1)}function hn({duration:t=300,keyframes:e,times:n,ease:r="easeInOut"}){const s=ap(r)?r.map(ui):ui(r),o={done:!1,value:e[0]},i=Ep(n&&n.length===e.length?n:Tp(e),t),a=Ga(i,e,{ease:Array.isArray(s)?s:Cp(e,s)});return{calculatedDuration:t,next:c=>(o.value=a(c),o.done=c>=t,o)}}function qa(t,e){return e?t*(1e3/e):0}const Ap=5;function Xa(t,e,n){const r=Math.max(e-Ap,0);return qa(n-t(r),e-r)}const tr=.001,Rp=.01,hi=10,Op=.05,kp=1;function Vp({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let s,o;Zh(t<=Dt(hi));let i=1-e;i=Lt(Op,kp,i),t=Lt(Rp,hi,St(t)),i<1?(s=l=>{const f=l*i,u=f*t,d=f-n,m=yr(l,i),p=Math.exp(-u);return tr-d/m*p},o=l=>{const u=l*i*t,d=u*n+n,m=Math.pow(i,2)*Math.pow(l,2)*t,p=Math.exp(-u),h=yr(Math.pow(l,2),i);return(-s(l)+tr>0?-1:1)*((d-m)*p)/h}):(s=l=>{const f=Math.exp(-l*t),u=(l-n)*t+1;return-tr+f*u},o=l=>{const f=Math.exp(-l*t),u=(n-l)*(t*t);return f*u});const a=5/t,c=Dp(s,o,a);if(t=Dt(t),isNaN(c))return{stiffness:100,damping:10,duration:t};{const l=Math.pow(c,2)*r;return{stiffness:l,damping:i*2*Math.sqrt(r*l),duration:t}}}const Mp=12;function Dp(t,e,n){let r=n;for(let s=1;s<Mp;s++)r=r-t(r)/e(r);return r}function yr(t,e){return t*Math.sqrt(1-e*e)}const Lp=["duration","bounce"],jp=["stiffness","damping","mass"];function pi(t,e){return e.some(n=>t[n]!==void 0)}function Fp(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!pi(t,jp)&&pi(t,Lp)){const n=Vp(t);e={...e,...n,mass:1},e.isResolvedFromDuration=!0}return e}function Ya({keyframes:t,restDelta:e,restSpeed:n,...r}){const s=t[0],o=t[t.length-1],i={done:!1,value:s},{stiffness:a,damping:c,mass:l,duration:f,velocity:u,isResolvedFromDuration:d}=Fp({...r,velocity:-St(r.velocity||0)}),m=u||0,p=c/(2*Math.sqrt(a*l)),h=o-s,x=St(Math.sqrt(a/l)),v=Math.abs(h)<5;n||(n=v?.01:2),e||(e=v?.005:.5);let S;if(p<1){const y=yr(x,p);S=w=>{const P=Math.exp(-p*x*w);return o-P*((m+p*x*h)/y*Math.sin(y*w)+h*Math.cos(y*w))}}else if(p===1)S=y=>o-Math.exp(-x*y)*(h+(m+x*h)*y);else{const y=x*Math.sqrt(p*p-1);S=w=>{const P=Math.exp(-p*x*w),E=Math.min(y*w,300);return o-P*((m+p*x*h)*Math.sinh(E)+y*h*Math.cosh(E))/y}}return{calculatedDuration:d&&f||null,next:y=>{const w=S(y);if(d)i.done=y>=f;else{let P=m;y!==0&&(p<1?P=Xa(S,y,w):P=0);const E=Math.abs(P)<=n,T=Math.abs(o-w)<=e;i.done=E&&T}return i.value=i.done?o:w,i}}}function mi({keyframes:t,velocity:e=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:i,min:a,max:c,restDelta:l=.5,restSpeed:f}){const u=t[0],d={done:!1,value:u},m=R=>a!==void 0&&R<a||c!==void 0&&R>c,p=R=>a===void 0?c:c===void 0||Math.abs(a-R)<Math.abs(c-R)?a:c;let h=n*e;const x=u+h,v=i===void 0?x:i(x);v!==x&&(h=v-u);const S=R=>-h*Math.exp(-R/r),y=R=>v+S(R),w=R=>{const D=S(R),A=y(R);d.done=Math.abs(D)<=l,d.value=d.done?v:A};let P,E;const T=R=>{m(d.value)&&(P=R,E=Ya({keyframes:[d.value,p(d.value)],velocity:Xa(y,R,d.value),damping:s,stiffness:o,restDelta:l,restSpeed:f}))};return T(0),{calculatedDuration:null,next:R=>{let D=!1;return!E&&P===void 0&&(D=!0,w(R),T(R)),P!==void 0&&R>P?E.next(R-P):(!D&&w(R),d)}}}const Bp=t=>{const e=({timestamp:n})=>t(n);return{start:()=>L.update(e,!0),stop:()=>Et(e),now:()=>J.isProcessing?J.timestamp:performance.now()}},gi=2e4;function yi(t){let e=0;const n=50;let r=t.next(e);for(;!r.done&&e<gi;)e+=n,r=t.next(e);return e>=gi?1/0:e}const Ip={decay:mi,inertia:mi,tween:hn,keyframes:hn,spring:Ya};function pn({autoplay:t=!0,delay:e=0,driver:n=Bp,keyframes:r,type:s="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:a="loop",onPlay:c,onStop:l,onComplete:f,onUpdate:u,...d}){let m=1,p=!1,h,x;const v=()=>{x=new Promise(B=>{h=B})};v();let S;const y=Ip[s]||hn;let w;y!==hn&&typeof r[0]!="number"&&(w=Ga([0,100],r,{clamp:!1}),r=[0,100]);const P=y({...d,keyframes:r});let E;a==="mirror"&&(E=y({...d,keyframes:[...r].reverse(),velocity:-(d.velocity||0)}));let T="idle",R=null,D=null,A=null;P.calculatedDuration===null&&o&&(P.calculatedDuration=yi(P));const{calculatedDuration:W}=P;let _=1/0,Z=1/0;W!==null&&(_=W+i,Z=_*(o+1)-i);let F=0;const ut=B=>{if(D===null)return;m>0&&(D=Math.min(D,B)),m<0&&(D=Math.min(B-Z/m,D)),R!==null?F=R:F=Math.round(B-D)*m;const fe=F-e*(m>=0?1:-1),As=m>=0?fe<0:fe>Z;F=Math.max(fe,0),T==="finished"&&R===null&&(F=Z);let Rs=F,Os=P;if(o){const Un=Math.min(F,Z)/_;let Ue=Math.floor(Un),Bt=Un%1;!Bt&&Un>=1&&(Bt=1),Bt===1&&Ue--,Ue=Math.min(Ue,o+1),!!(Ue%2)&&(a==="reverse"?(Bt=1-Bt,i&&(Bt-=i/_)):a==="mirror"&&(Os=E)),Rs=Lt(0,1,Bt)*_}const de=As?{done:!1,value:r[0]}:Os.next(Rs);w&&(de.value=w(de.value));let{done:ks}=de;!As&&W!==null&&(ks=m>=0?F>=Z:F<=0);const nl=R===null&&(T==="finished"||T==="running"&&ks);return u&&u(de.value),nl&&ue(),de},q=()=>{S&&S.stop(),S=void 0},At=()=>{T="idle",q(),h(),v(),D=A=null},ue=()=>{T="finished",f&&f(),q(),h()},Wt=()=>{if(p)return;S||(S=n(ut));const B=S.now();c&&c(),R!==null?D=B-R:(!D||T==="finished")&&(D=B),T==="finished"&&v(),A=D,R=null,T="running",S.start()};t&&Wt();const Cs={then(B,fe){return x.then(B,fe)},get time(){return St(F)},set time(B){B=Dt(B),F=B,R!==null||!S||m===0?R=B:D=S.now()-B/m},get duration(){const B=P.calculatedDuration===null?yi(P):P.calculatedDuration;return St(B)},get speed(){return m},set speed(B){B===m||!S||(m=B,Cs.time=St(F))},get state(){return T},play:Wt,pause:()=>{T="paused",R=F},stop:()=>{p=!0,T!=="idle"&&(T="idle",l&&l(),At())},cancel:()=>{A!==null&&ut(A),At()},complete:()=>{T="finished"},sample:B=>(D=0,ut(B))};return Cs}function _p(t){let e;return()=>(e===void 0&&(e=t()),e)}const $p=_p(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Np=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Ke=10,Up=2e4,zp=(t,e)=>e.type==="spring"||t==="backgroundColor"||!Aa(e.ease);function Wp(t,e,{onUpdate:n,onComplete:r,...s}){if(!($p()&&Np.has(e)&&!s.repeatDelay&&s.repeatType!=="mirror"&&s.damping!==0&&s.type!=="inertia"))return!1;let i=!1,a,c,l=!1;const f=()=>{c=new Promise(y=>{a=y})};f();let{keyframes:u,duration:d=300,ease:m,times:p}=s;if(zp(e,s)){const y=pn({...s,repeat:0,delay:0});let w={done:!1,value:u[0]};const P=[];let E=0;for(;!w.done&&E<Up;)w=y.sample(E),P.push(w.value),E+=Ke;p=void 0,u=P,d=E-Ke,m="linear"}const h=tp(t.owner.current,e,u,{...s,duration:d,ease:m,times:p}),x=()=>{l=!1,h.cancel()},v=()=>{l=!0,L.update(x),a(),f()};return h.onfinish=()=>{l||(t.set(ep(u,s)),r&&r(),v())},{then(y,w){return c.then(y,w)},attachTimeline(y){return h.timeline=y,h.onfinish=null,U},get time(){return St(h.currentTime||0)},set time(y){h.currentTime=Dt(y)},get speed(){return h.playbackRate},set speed(y){h.playbackRate=y},get duration(){return St(d)},play:()=>{i||(h.play(),Et(x))},pause:()=>h.pause(),stop:()=>{if(i=!0,h.playState==="idle")return;const{currentTime:y}=h;if(y){const w=pn({...s,autoplay:!1});t.setWithVelocity(w.sample(y-Ke).value,w.sample(y).value,Ke)}v()},complete:()=>{l||h.finish()},cancel:v}}function Hp({keyframes:t,delay:e,onUpdate:n,onComplete:r}){const s=()=>(n&&n(t[t.length-1]),r&&r(),{time:0,speed:1,duration:0,play:U,pause:U,stop:U,then:o=>(o(),Promise.resolve()),cancel:U,complete:U});return e?pn({keyframes:[0,1],duration:0,delay:e,onComplete:s}):s()}const Kp={type:"spring",stiffness:500,damping:25,restSpeed:10},Gp=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),qp={type:"keyframes",duration:.8},Xp={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Yp=(t,{keyframes:e})=>e.length>2?qp:Ut.has(t)?t.startsWith("scale")?Gp(e[1]):Kp:Xp,xr=(t,e)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(jt.test(e)||e==="0")&&!e.startsWith("url(")),Jp=new Set(["brightness","contrast","saturate","opacity"]);function Zp(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[r]=n.match(Mn)||[];if(!r)return t;const s=n.replace(r,"");let o=Jp.has(e)?1:0;return r!==n&&(o*=100),e+"("+o+s+")"}const Qp=/([a-z-]*)\(.*?\)/g,br={...jt,getAnimatableNone:t=>{const e=t.match(Qp);return e?e.map(Zp).join(" "):t}},tm={...fa,color:Q,backgroundColor:Q,outlineColor:Q,fill:Q,stroke:Q,borderColor:Q,borderTopColor:Q,borderRightColor:Q,borderBottomColor:Q,borderLeftColor:Q,filter:br,WebkitFilter:br},ds=t=>tm[t];function Ja(t,e){let n=ds(t);return n!==br&&(n=jt),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const Za=t=>/^0[^.\s]+$/.test(t);function em(t){if(typeof t=="number")return t===0;if(t!==null)return t==="none"||t==="0"||Za(t)}function nm(t,e,n,r){const s=xr(e,n);let o;Array.isArray(n)?o=[...n]:o=[null,n];const i=r.from!==void 0?r.from:t.get();let a;const c=[];for(let l=0;l<o.length;l++)o[l]===null&&(o[l]=l===0?i:o[l-1]),em(o[l])&&c.push(l),typeof o[l]=="string"&&o[l]!=="none"&&o[l]!=="0"&&(a=o[l]);if(s&&c.length&&a)for(let l=0;l<c.length;l++){const f=c[l];o[f]=Ja(e,a)}return o}function rm({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:s,repeat:o,repeatType:i,repeatDelay:a,from:c,elapsed:l,...f}){return!!Object.keys(f).length}function hs(t,e){return t[e]||t.default||t}const sm={skipAnimations:!1},ps=(t,e,n,r={})=>s=>{const o=hs(r,t)||{},i=o.delay||r.delay||0;let{elapsed:a=0}=r;a=a-Dt(i);const c=nm(e,t,n,o),l=c[0],f=c[c.length-1],u=xr(t,l),d=xr(t,f);let m={keyframes:c,velocity:e.getVelocity(),ease:"easeOut",...o,delay:-a,onUpdate:p=>{e.set(p),o.onUpdate&&o.onUpdate(p)},onComplete:()=>{s(),o.onComplete&&o.onComplete()}};if(rm(o)||(m={...m,...Yp(t,m)}),m.duration&&(m.duration=Dt(m.duration)),m.repeatDelay&&(m.repeatDelay=Dt(m.repeatDelay)),!u||!d||Qh.current||o.type===!1||sm.skipAnimations)return Hp(m);if(!r.isHandoff&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){const p=Wp(e,t,m);if(p)return p}return pn(m)};function mn(t){return!!(et(t)&&t.add)}const Qa=t=>/^\-?\d*\.?\d+$/.test(t);function ms(t,e){t.indexOf(e)===-1&&t.push(e)}function gs(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class ys{constructor(){this.subscriptions=[]}add(e){return ms(this.subscriptions,e),()=>gs(this.subscriptions,e)}notify(e,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](e,n,r);else for(let o=0;o<s;o++){const i=this.subscriptions[o];i&&i(e,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const im=t=>!isNaN(parseFloat(t));class om{constructor(e,n={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,s=!0)=>{this.prev=this.current,this.current=r;const{delta:o,timestamp:i}=J;this.lastUpdated!==i&&(this.timeDelta=o,this.lastUpdated=i,L.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),s&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>L.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=im(this.current),this.owner=n.owner}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new ys);const r=this.events[e].add(n);return e==="change"?()=>{r(),L.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,r){this.set(n),this.prev=e,this.timeDelta=r}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?qa(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ie(t,e){return new om(t,e)}const tc=t=>e=>e.test(t),am={test:t=>t==="auto",parse:t=>t},ec=[zt,C,yt,Ot,hh,dh,am],me=t=>ec.find(tc(t)),cm=[...ec,Q,jt],lm=t=>cm.find(tc(t));function um(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,ie(n))}function fm(t,e){const n=Ln(t,e);let{transitionEnd:r={},transition:s={},...o}=n?t.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const i in o){const a=Rh(o[i]);um(t,i,a)}}function dm(t,e,n){var r,s;const o=Object.keys(e).filter(a=>!t.hasValue(a)),i=o.length;if(i)for(let a=0;a<i;a++){const c=o[a],l=e[c];let f=null;Array.isArray(l)&&(f=l[0]),f===null&&(f=(s=(r=n[c])!==null&&r!==void 0?r:t.readValue(c))!==null&&s!==void 0?s:e[c]),f!=null&&(typeof f=="string"&&(Qa(f)||Za(f))?f=parseFloat(f):!lm(f)&&jt.test(l)&&(f=Ja(c,l)),t.addValue(c,ie(f,{owner:t})),n[c]===void 0&&(n[c]=f),f!==null&&t.setBaseTarget(c,f))}}function hm(t,e){return e?(e[t]||e.default||e).from:void 0}function pm(t,e,n){const r={};for(const s in t){const o=hm(s,e);if(o!==void 0)r[s]=o;else{const i=n.getValue(s);i&&(r[s]=i.get())}}return r}function mm({protectedKeys:t,needsAnimating:e},n){const r=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,r}function gm(t,e){const n=t.get();if(Array.isArray(e)){for(let r=0;r<e.length;r++)if(e[r]!==n)return!0}else return n!==e}function nc(t,e,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:o=t.getDefaultTransition(),transitionEnd:i,...a}=t.makeTargetAnimatable(e);const c=t.getValue("willChange");r&&(o=r);const l=[],f=s&&t.animationState&&t.animationState.getState()[s];for(const u in a){const d=t.getValue(u),m=a[u];if(!d||m===void 0||f&&mm(f,u))continue;const p={delay:n,elapsed:0,...hs(o||{},u)};if(window.HandoffAppearAnimations){const v=t.getProps()[ra];if(v){const S=window.HandoffAppearAnimations(v,u,d,L);S!==null&&(p.elapsed=S,p.isHandoff=!0)}}let h=!p.isHandoff&&!gm(d,m);if(p.type==="spring"&&(d.getVelocity()||p.velocity)&&(h=!1),d.animation&&(h=!1),h)continue;d.start(ps(u,d,m,t.shouldReduceMotion&&Ut.has(u)?{type:!1}:p));const x=d.animation;mn(c)&&(c.add(u),x.then(()=>c.remove(u))),l.push(x)}return i&&Promise.all(l).then(()=>{i&&fm(t,i)}),l}function vr(t,e,n={}){const r=Ln(t,e,n.custom);let{transition:s=t.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const o=r?()=>Promise.all(nc(t,r,n)):()=>Promise.resolve(),i=t.variantChildren&&t.variantChildren.size?(c=0)=>{const{delayChildren:l=0,staggerChildren:f,staggerDirection:u}=s;return ym(t,e,l+c,f,u,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[c,l]=a==="beforeChildren"?[o,i]:[i,o];return c().then(()=>l())}else return Promise.all([o(),i(n.delay)])}function ym(t,e,n=0,r=0,s=1,o){const i=[],a=(t.variantChildren.size-1)*r,c=s===1?(l=0)=>l*r:(l=0)=>a-l*r;return Array.from(t.variantChildren).sort(xm).forEach((l,f)=>{l.notify("AnimationStart",e),i.push(vr(l,e,{...o,delay:n+c(f)}).then(()=>l.notify("AnimationComplete",e)))}),Promise.all(i)}function xm(t,e){return t.sortNodePosition(e)}function bm(t,e,n={}){t.notify("AnimationStart",e);let r;if(Array.isArray(e)){const s=e.map(o=>vr(t,o,n));r=Promise.all(s)}else if(typeof e=="string")r=vr(t,e,n);else{const s=typeof e=="function"?Ln(t,e,n.custom):e;r=Promise.all(nc(t,s,n))}return r.then(()=>t.notify("AnimationComplete",e))}const vm=[...Qr].reverse(),Sm=Qr.length;function wm(t){return e=>Promise.all(e.map(({animation:n,options:r})=>bm(t,n,r)))}function Pm(t){let e=wm(t);const n=Em();let r=!0;const s=(c,l)=>{const f=Ln(t,l);if(f){const{transition:u,transitionEnd:d,...m}=f;c={...c,...m,...d}}return c};function o(c){e=c(t)}function i(c,l){const f=t.getProps(),u=t.getVariantContext(!0)||{},d=[],m=new Set;let p={},h=1/0;for(let v=0;v<Sm;v++){const S=vm[v],y=n[S],w=f[S]!==void 0?f[S]:u[S],P=Re(w),E=S===l?y.isActive:null;E===!1&&(h=v);let T=w===u[S]&&w!==f[S]&&P;if(T&&r&&t.manuallyAnimateOnMount&&(T=!1),y.protectedKeys={...p},!y.isActive&&E===null||!w&&!y.prevProp||kn(w)||typeof w=="boolean")continue;let D=Tm(y.prevProp,w)||S===l&&y.isActive&&!T&&P||v>h&&P,A=!1;const W=Array.isArray(w)?w:[w];let _=W.reduce(s,{});E===!1&&(_={});const{prevResolvedValues:Z={}}=y,F={...Z,..._},ut=q=>{D=!0,m.has(q)&&(A=!0,m.delete(q)),y.needsAnimating[q]=!0};for(const q in F){const At=_[q],ue=Z[q];if(p.hasOwnProperty(q))continue;let Wt=!1;fn(At)&&fn(ue)?Wt=!Ea(At,ue):Wt=At!==ue,Wt?At!==void 0?ut(q):m.add(q):At!==void 0&&m.has(q)?ut(q):y.protectedKeys[q]=!0}y.prevProp=w,y.prevResolvedValues=_,y.isActive&&(p={...p,..._}),r&&t.blockInitialAnimation&&(D=!1),D&&(!T||A)&&d.push(...W.map(q=>({animation:q,options:{type:S,...c}})))}if(m.size){const v={};m.forEach(S=>{const y=t.getBaseTarget(S);y!==void 0&&(v[S]=y)}),d.push({animation:v})}let x=!!d.length;return r&&(f.initial===!1||f.initial===f.animate)&&!t.manuallyAnimateOnMount&&(x=!1),r=!1,x?e(d):Promise.resolve()}function a(c,l,f){var u;if(n[c].isActive===l)return Promise.resolve();(u=t.variantChildren)===null||u===void 0||u.forEach(m=>{var p;return(p=m.animationState)===null||p===void 0?void 0:p.setActive(c,l)}),n[c].isActive=l;const d=i(f,c);for(const m in n)n[m].protectedKeys={};return d}return{animateChanges:i,setActive:a,setAnimateFunction:o,getState:()=>n}}function Tm(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Ea(e,t):!1}function It(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Em(){return{animate:It(!0),whileInView:It(),whileHover:It(),whileTap:It(),whileDrag:It(),whileFocus:It(),exit:It()}}class Cm extends Ft{constructor(e){super(e),e.animationState||(e.animationState=Pm(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),kn(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let Am=0;class Rm extends Ft{constructor(){super(...arguments),this.id=Am++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===s)return;const o=this.node.animationState.setActive("exit",!e,{custom:r??this.node.getProps().custom});n&&!e&&o.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const Om={animation:{Feature:Cm},exit:{Feature:Rm}},xi=(t,e)=>Math.abs(t-e);function km(t,e){const n=xi(t.x,e.x),r=xi(t.y,e.y);return Math.sqrt(n**2+r**2)}class rc{constructor(e,n,{transformPagePoint:r,contextWindow:s,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=nr(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,m=km(u.offset,{x:0,y:0})>=3;if(!d&&!m)return;const{point:p}=u,{timestamp:h}=J;this.history.push({...p,timestamp:h});const{onStart:x,onMove:v}=this.handlers;d||(x&&x(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,u)},this.handlePointerMove=(u,d)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=er(d,this.transformPagePoint),L.update(this.updatePoint,!0)},this.handlePointerUp=(u,d)=>{this.end();const{onEnd:m,onSessionEnd:p,resumeAnimation:h}=this.handlers;if(this.dragSnapToOrigin&&h&&h(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=nr(u.type==="pointercancel"?this.lastMoveEventInfo:er(d,this.transformPagePoint),this.history);this.startEvent&&m&&m(u,x),p&&p(u,x)},!va(e))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=s||window;const i=Dn(e),a=er(i,this.transformPagePoint),{point:c}=a,{timestamp:l}=J;this.history=[{...c,timestamp:l}];const{onSessionStart:f}=n;f&&f(e,nr(a,this.history)),this.removeListeners=Mt(vt(this.contextWindow,"pointermove",this.handlePointerMove),vt(this.contextWindow,"pointerup",this.handlePointerUp),vt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Et(this.updatePoint)}}function er(t,e){return e?{point:e(t.point)}:t}function bi(t,e){return{x:t.x-e.x,y:t.y-e.y}}function nr({point:t},e){return{point:t,delta:bi(t,sc(e)),offset:bi(t,Vm(e)),velocity:Mm(e,.1)}}function Vm(t){return t[0]}function sc(t){return t[t.length-1]}function Mm(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null;const s=sc(t);for(;n>=0&&(r=t[n],!(s.timestamp-r.timestamp>Dt(e)));)n--;if(!r)return{x:0,y:0};const o=St(s.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const i={x:(s.x-r.x)/o,y:(s.y-r.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function st(t){return t.max-t.min}function Sr(t,e=0,n=.01){return Math.abs(t-e)<=n}function vi(t,e,n,r=.5){t.origin=r,t.originPoint=I(e.min,e.max,t.origin),t.scale=st(n)/st(e),(Sr(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=I(n.min,n.max,t.origin)-t.originPoint,(Sr(t.translate)||isNaN(t.translate))&&(t.translate=0)}function we(t,e,n,r){vi(t.x,e.x,n.x,r?r.originX:void 0),vi(t.y,e.y,n.y,r?r.originY:void 0)}function Si(t,e,n){t.min=n.min+e.min,t.max=t.min+st(e)}function Dm(t,e,n){Si(t.x,e.x,n.x),Si(t.y,e.y,n.y)}function wi(t,e,n){t.min=e.min-n.min,t.max=t.min+st(e)}function Pe(t,e,n){wi(t.x,e.x,n.x),wi(t.y,e.y,n.y)}function Lm(t,{min:e,max:n},r){return e!==void 0&&t<e?t=r?I(e,t,r.min):Math.max(t,e):n!==void 0&&t>n&&(t=r?I(n,t,r.max):Math.min(t,n)),t}function Pi(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function jm(t,{top:e,left:n,bottom:r,right:s}){return{x:Pi(t.x,n,s),y:Pi(t.y,e,r)}}function Ti(t,e){let n=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,r]=[r,n]),{min:n,max:r}}function Fm(t,e){return{x:Ti(t.x,e.x),y:Ti(t.y,e.y)}}function Bm(t,e){let n=.5;const r=st(t),s=st(e);return s>r?n=ke(e.min,e.max-r,t.min):r>s&&(n=ke(t.min,t.max-s,e.min)),Lt(0,1,n)}function Im(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const wr=.35;function _m(t=wr){return t===!1?t=0:t===!0&&(t=wr),{x:Ei(t,"left","right"),y:Ei(t,"top","bottom")}}function Ei(t,e,n){return{min:Ci(t,e),max:Ci(t,n)}}function Ci(t,e){return typeof t=="number"?t:t[e]||0}const Ai=()=>({translate:0,scale:1,origin:0,originPoint:0}),Zt=()=>({x:Ai(),y:Ai()}),Ri=()=>({min:0,max:0}),H=()=>({x:Ri(),y:Ri()});function ot(t){return[t("x"),t("y")]}function ic({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function $m({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function Nm(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function rr(t){return t===void 0||t===1}function Pr({scale:t,scaleX:e,scaleY:n}){return!rr(t)||!rr(e)||!rr(n)}function _t(t){return Pr(t)||oc(t)||t.z||t.rotate||t.rotateX||t.rotateY}function oc(t){return Oi(t.x)||Oi(t.y)}function Oi(t){return t&&t!=="0%"}function gn(t,e,n){const r=t-n,s=e*r;return n+s}function ki(t,e,n,r,s){return s!==void 0&&(t=gn(t,s,r)),gn(t,n,r)+e}function Tr(t,e=0,n=1,r,s){t.min=ki(t.min,e,n,r,s),t.max=ki(t.max,e,n,r,s)}function ac(t,{x:e,y:n}){Tr(t.x,e.translate,e.scale,e.originPoint),Tr(t.y,n.translate,n.scale,n.originPoint)}function Um(t,e,n,r=!1){const s=n.length;if(!s)return;e.x=e.y=1;let o,i;for(let a=0;a<s;a++){o=n[a],i=o.projectionDelta;const c=o.instance;c&&c.style&&c.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Qt(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),i&&(e.x*=i.x.scale,e.y*=i.y.scale,ac(t,i)),r&&_t(o.latestValues)&&Qt(t,o.latestValues))}e.x=Vi(e.x),e.y=Vi(e.y)}function Vi(t){return Number.isInteger(t)||t>1.0000000000001||t<.999999999999?t:1}function kt(t,e){t.min=t.min+e,t.max=t.max+e}function Mi(t,e,[n,r,s]){const o=e[s]!==void 0?e[s]:.5,i=I(t.min,t.max,o);Tr(t,e[n],e[r],i,e.scale)}const zm=["x","scaleX","originX"],Wm=["y","scaleY","originY"];function Qt(t,e){Mi(t.x,e,zm),Mi(t.y,e,Wm)}function cc(t,e){return ic(Nm(t.getBoundingClientRect(),e))}function Hm(t,e,n){const r=cc(t,n),{scroll:s}=e;return s&&(kt(r.x,s.offset.x),kt(r.y,s.offset.y)),r}const lc=({current:t})=>t?t.ownerDocument.defaultView:null,Km=new WeakMap;class Gm{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=H(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const s=f=>{const{dragSnapToOrigin:u}=this.getProps();u?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Dn(f,"page").point)},o=(f,u)=>{const{drag:d,dragPropagation:m,onDragStart:p}=this.getProps();if(d&&!m&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=wa(d),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ot(x=>{let v=this.getAxisMotionValue(x).get()||0;if(yt.test(v)){const{projection:S}=this.visualElement;if(S&&S.layout){const y=S.layout.layoutBox[x];y&&(v=st(y)*(parseFloat(v)/100))}}this.originPoint[x]=v}),p&&L.update(()=>p(f,u),!1,!0);const{animationState:h}=this.visualElement;h&&h.setActive("whileDrag",!0)},i=(f,u)=>{const{dragPropagation:d,dragDirectionLock:m,onDirectionLock:p,onDrag:h}=this.getProps();if(!d&&!this.openGlobalLock)return;const{offset:x}=u;if(m&&this.currentDirection===null){this.currentDirection=qm(x),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",u.point,x),this.updateAxis("y",u.point,x),this.visualElement.render(),h&&h(f,u)},a=(f,u)=>this.stop(f,u),c=()=>ot(f=>{var u;return this.getAnimationState(f)==="paused"&&((u=this.getAxisMotionValue(f).animation)===null||u===void 0?void 0:u.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new rc(e,{onSessionStart:s,onStart:o,onMove:i,onSessionEnd:a,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:lc(this.visualElement)})}stop(e,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:s}=n;this.startAnimation(s);const{onDragEnd:o}=this.getProps();o&&L.update(()=>o(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,r){const{drag:s}=this.getProps();if(!r||!Ge(e,s,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(i=Lm(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:r}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,o=this.constraints;n&&Yt(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&s?this.constraints=jm(s.layoutBox,n):this.constraints=!1,this.elastic=_m(r),o!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&ot(i=>{this.getAxisMotionValue(i)&&(this.constraints[i]=Im(s.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!Yt(e))return!1;const r=e.current,{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const o=Hm(r,s.root,this.visualElement.getTransformPagePoint());let i=Fm(s.layout.layoutBox,o);if(n){const a=n($m(i));this.hasMutatedConstraints=!!a,a&&(i=ic(a))}return i}startAnimation(e){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),c=this.constraints||{},l=ot(f=>{if(!Ge(f,n,this.currentDirection))return;let u=c&&c[f]||{};i&&(u={min:0,max:0});const d=s?200:1e6,m=s?40:1e7,p={type:"inertia",velocity:r?e[f]:0,bounceStiffness:d,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...o,...u};return this.startAxisValueAnimation(f,p)});return Promise.all(l).then(a)}startAxisValueAnimation(e,n){const r=this.getAxisMotionValue(e);return r.start(ps(e,r,0,n))}stopAnimation(){ot(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){ot(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n="_drag"+e.toUpperCase(),r=this.visualElement.getProps(),s=r[n];return s||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){ot(n=>{const{drag:r}=this.getProps();if(!Ge(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,o=this.getAxisMotionValue(n);if(s&&s.layout){const{min:i,max:a}=s.layout.layoutBox[n];o.set(e[n]-I(i,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Yt(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};ot(i=>{const a=this.getAxisMotionValue(i);if(a){const c=a.get();s[i]=Bm({min:c,max:c},this.constraints[i])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),ot(i=>{if(!Ge(i,e,null))return;const a=this.getAxisMotionValue(i),{min:c,max:l}=this.constraints[i];a.set(I(c,l,s[i]))})}addListeners(){if(!this.visualElement.current)return;Km.set(this.visualElement,this);const e=this.visualElement.current,n=vt(e,"pointerdown",c=>{const{drag:l,dragListener:f=!0}=this.getProps();l&&f&&this.start(c)}),r=()=>{const{dragConstraints:c}=this.getProps();Yt(c)&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,o=s.addEventListener("measure",r);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),r();const i=bt(window,"resize",()=>this.scalePositionWithinConstraints()),a=s.addEventListener("didUpdate",({delta:c,hasLayoutChanged:l})=>{this.isDragging&&l&&(ot(f=>{const u=this.getAxisMotionValue(f);u&&(this.originPoint[f]+=c[f].translate,u.set(u.get()+c[f].translate))}),this.visualElement.render())});return()=>{i(),n(),o(),a&&a()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:o=!1,dragElastic:i=wr,dragMomentum:a=!0}=e;return{...e,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function Ge(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function qm(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class Xm extends Ft{constructor(e){super(e),this.removeGroupControls=U,this.removeListeners=U,this.controls=new Gm(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||U}unmount(){this.removeGroupControls(),this.removeListeners()}}const Di=t=>(e,n)=>{t&&L.update(()=>t(e,n))};class Ym extends Ft{constructor(){super(...arguments),this.removePointerDownListener=U}onPointerDown(e){this.session=new rc(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:lc(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:Di(e),onStart:Di(n),onMove:r,onEnd:(o,i)=>{delete this.session,s&&L.update(()=>s(o,i))}}}mount(){this.removePointerDownListener=vt(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function Jm(){const t=g.reactExports.useContext(Jr);if(t===null)return[!0,null];const{isPresent:e,onExitComplete:n,register:r}=t,s=g.reactExports.useId();return g.reactExports.useEffect(()=>r(s),[]),!e&&n?[!1,()=>n&&n(s)]:[!0]}const tn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Li(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const ge={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(C.test(t))t=parseFloat(t);else return t;const n=Li(t,e.target.x),r=Li(t,e.target.y);return`${n}% ${r}%`}},Zm={correct:(t,{treeScale:e,projectionDelta:n})=>{const r=t,s=jt.parse(t);if(s.length>5)return r;const o=jt.createTransformer(t),i=typeof s[0]!="number"?1:0,a=n.x.scale*e.x,c=n.y.scale*e.y;s[0+i]/=a,s[1+i]/=c;const l=I(a,c,.5);return typeof s[2+i]=="number"&&(s[2+i]/=l),typeof s[3+i]=="number"&&(s[3+i]/=l),o(s)}};class Qm extends g.React__default.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:o}=e;ih(tg),o&&(n.group&&n.group.add(o),r&&r.register&&s&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),tn.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:r,drag:s,isPresent:o}=this.props,i=r.projection;return i&&(i.isPresent=o,s||e.layoutDependency!==n||n===void 0?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||L.postRender(()=>{const a=i.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=e;s&&(s.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function uc(t){const[e,n]=Jm(),r=g.reactExports.useContext(ia);return g.React__default.createElement(Qm,{...t,layoutGroup:r,switchLayoutGroup:g.reactExports.useContext(oa),isPresent:e,safeToRemove:n})}const tg={borderRadius:{...ge,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ge,borderTopRightRadius:ge,borderBottomLeftRadius:ge,borderBottomRightRadius:ge,boxShadow:Zm},fc=["TopLeft","TopRight","BottomLeft","BottomRight"],eg=fc.length,ji=t=>typeof t=="string"?parseFloat(t):t,Fi=t=>typeof t=="number"||C.test(t);function ng(t,e,n,r,s,o){s?(t.opacity=I(0,n.opacity!==void 0?n.opacity:1,rg(r)),t.opacityExit=I(e.opacity!==void 0?e.opacity:1,0,sg(r))):o&&(t.opacity=I(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let i=0;i<eg;i++){const a=`border${fc[i]}Radius`;let c=Bi(e,a),l=Bi(n,a);if(c===void 0&&l===void 0)continue;c||(c=0),l||(l=0),c===0||l===0||Fi(c)===Fi(l)?(t[a]=Math.max(I(ji(c),ji(l),r),0),(yt.test(l)||yt.test(c))&&(t[a]+="%")):t[a]=l}(e.rotate||n.rotate)&&(t.rotate=I(e.rotate||0,n.rotate||0,r))}function Bi(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const rg=dc(0,.5,La),sg=dc(.5,.95,U);function dc(t,e,n){return r=>r<t?0:r>e?1:n(ke(t,e,r))}function Ii(t,e){t.min=e.min,t.max=e.max}function it(t,e){Ii(t.x,e.x),Ii(t.y,e.y)}function _i(t,e,n,r,s){return t-=e,t=gn(t,1/n,r),s!==void 0&&(t=gn(t,1/s,r)),t}function ig(t,e=0,n=1,r=.5,s,o=t,i=t){if(yt.test(e)&&(e=parseFloat(e),e=I(i.min,i.max,e/100)-i.min),typeof e!="number")return;let a=I(o.min,o.max,r);t===o&&(a-=e),t.min=_i(t.min,e,n,a,s),t.max=_i(t.max,e,n,a,s)}function $i(t,e,[n,r,s],o,i){ig(t,e[n],e[r],e[s],e.scale,o,i)}const og=["x","scaleX","originX"],ag=["y","scaleY","originY"];function Ni(t,e,n,r){$i(t.x,e,og,n?n.x:void 0,r?r.x:void 0),$i(t.y,e,ag,n?n.y:void 0,r?r.y:void 0)}function Ui(t){return t.translate===0&&t.scale===1}function hc(t){return Ui(t.x)&&Ui(t.y)}function cg(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}function pc(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function zi(t){return st(t.x)/st(t.y)}class lg{constructor(){this.members=[]}add(e){ms(this.members,e),e.scheduleRender()}remove(e){if(gs(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(s=>e===s);if(n===0)return!1;let r;for(let s=n;s>=0;s--){const o=this.members[s];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(e,n){const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,n&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:s}=e.options;s===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:r}=e;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Wi(t,e,n){let r="";const s=t.x.translate/e.x,o=t.y.translate/e.y;if((s||o)&&(r=`translate3d(${s}px, ${o}px, 0) `),(e.x!==1||e.y!==1)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),n){const{rotate:c,rotateX:l,rotateY:f}=n;c&&(r+=`rotate(${c}deg) `),l&&(r+=`rotateX(${l}deg) `),f&&(r+=`rotateY(${f}deg) `)}const i=t.x.scale*e.x,a=t.y.scale*e.y;return(i!==1||a!==1)&&(r+=`scale(${i}, ${a})`),r||"none"}const ug=(t,e)=>t.depth-e.depth;class fg{constructor(){this.children=[],this.isDirty=!1}add(e){ms(this.children,e),this.isDirty=!0}remove(e){gs(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(ug),this.isDirty=!1,this.children.forEach(e)}}function dg(t,e){const n=performance.now(),r=({timestamp:s})=>{const o=s-n;o>=e&&(Et(r),t(o-e))};return L.read(r,!0),()=>Et(r)}function hg(t){window.MotionDebug&&window.MotionDebug.record(t)}function pg(t){return t instanceof SVGElement&&t.tagName!=="svg"}function mg(t,e,n){const r=et(t)?t:ie(t);return r.start(ps("",r,e,n)),r.animation}const Hi=["","X","Y","Z"],gg={visibility:"hidden"},Ki=1e3;let yg=0;const $t={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function mc({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(i={},a=e==null?void 0:e()){this.id=yg++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,$t.totalNodes=$t.resolvedTargetDeltas=$t.recalculatedProjection=0,this.nodes.forEach(vg),this.nodes.forEach(Eg),this.nodes.forEach(Cg),this.nodes.forEach(Sg),hg($t)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new fg)}addEventListener(i,a){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new ys),this.eventHandlers.get(i).add(a)}notifyListeners(i,...a){const c=this.eventHandlers.get(i);c&&c.notify(...a)}hasListeners(i){return this.eventHandlers.has(i)}mount(i,a=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=pg(i),this.instance=i;const{layoutId:c,layout:l,visualElement:f}=this.options;if(f&&!f.current&&f.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),a&&(l||c)&&(this.isLayoutDirty=!0),t){let u;const d=()=>this.root.updateBlockedByResize=!1;t(i,()=>{this.root.updateBlockedByResize=!0,u&&u(),u=dg(d,250),tn.hasAnimatedSinceResize&&(tn.hasAnimatedSinceResize=!1,this.nodes.forEach(qi))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&f&&(c||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d,hasRelativeTargetChanged:m,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const h=this.options.transition||f.getDefaultTransition()||Vg,{onLayoutAnimationStart:x,onLayoutAnimationComplete:v}=f.getProps(),S=!this.targetLayout||!pc(this.targetLayout,p)||m,y=!d&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||y||d&&(S||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(u,y);const w={...hs(h,"layout"),onPlay:x,onComplete:v};(f.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w)}else d||qi(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Et(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Ag),this.animationId++)}getTransformTemplate(){const{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let f=0;f<this.path.length;f++){const u=this.path[f];u.shouldResetTransform=!0,u.updateScroll("snapshot"),u.options.layoutRoot&&u.willUpdate(!1)}const{layoutId:a,layout:c}=this.options;if(a===void 0&&!c)return;const l=this.getTransformTemplate();this.prevTransformTemplateValue=l?l(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Gi);return}this.isUpdating||this.nodes.forEach(Pg),this.isUpdating=!1,this.nodes.forEach(Tg),this.nodes.forEach(xg),this.nodes.forEach(bg),this.clearAllSnapshots();const a=performance.now();J.delta=Lt(0,1e3/60,a-J.timestamp),J.timestamp=a,J.isProcessing=!0,Gn.update.process(J),Gn.preRender.process(J),Gn.render.process(J),J.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(wg),this.sharedNodes.forEach(Rg)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,L.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){L.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const i=this.layout;this.layout=this.measure(!1),this.layoutCorrected=H(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,i?i.layoutBox:void 0)}updateScroll(i="measure"){let a=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(a=!1),a&&(this.scroll={animationId:this.root.animationId,phase:i,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!s)return;const i=this.isLayoutDirty||this.shouldResetTransform,a=this.projectionDelta&&!hc(this.projectionDelta),c=this.getTransformTemplate(),l=c?c(this.latestValues,""):void 0,f=l!==this.prevTransformTemplateValue;i&&(a||_t(this.latestValues)||f)&&(s(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){const a=this.measurePageBox();let c=this.removeElementScroll(a);return i&&(c=this.removeTransform(c)),Mg(c),{animationId:this.root.animationId,measuredBox:a,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:i}=this.options;if(!i)return H();const a=i.measureViewportBox(),{scroll:c}=this.root;return c&&(kt(a.x,c.offset.x),kt(a.y,c.offset.y)),a}removeElementScroll(i){const a=H();it(a,i);for(let c=0;c<this.path.length;c++){const l=this.path[c],{scroll:f,options:u}=l;if(l!==this.root&&f&&u.layoutScroll){if(f.isRoot){it(a,i);const{scroll:d}=this.root;d&&(kt(a.x,-d.offset.x),kt(a.y,-d.offset.y))}kt(a.x,f.offset.x),kt(a.y,f.offset.y)}}return a}applyTransform(i,a=!1){const c=H();it(c,i);for(let l=0;l<this.path.length;l++){const f=this.path[l];!a&&f.options.layoutScroll&&f.scroll&&f!==f.root&&Qt(c,{x:-f.scroll.offset.x,y:-f.scroll.offset.y}),_t(f.latestValues)&&Qt(c,f.latestValues)}return _t(this.latestValues)&&Qt(c,this.latestValues),c}removeTransform(i){const a=H();it(a,i);for(let c=0;c<this.path.length;c++){const l=this.path[c];if(!l.instance||!_t(l.latestValues))continue;Pr(l.latestValues)&&l.updateSnapshot();const f=H(),u=l.measurePageBox();it(f,u),Ni(a,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,f)}return _t(this.latestValues)&&Ni(a,this.latestValues),a}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==J.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){var a;const c=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=c.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=c.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=c.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==c;if(!(i||l&&this.isSharedProjectionDirty||this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:u,layoutId:d}=this.options;if(!(!this.layout||!(u||d))){if(this.resolvedRelativeTargetAt=J.timestamp,!this.targetDelta&&!this.relativeTarget){const m=this.getClosestProjectingParent();m&&m.layout&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=H(),this.relativeTargetOrigin=H(),Pe(this.relativeTargetOrigin,this.layout.layoutBox,m.layout.layoutBox),it(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=H(),this.targetWithTransforms=H()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Dm(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):it(this.target,this.layout.layoutBox),ac(this.target,this.targetDelta)):it(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const m=this.getClosestProjectingParent();m&&!!m.resumingFrom==!!this.resumingFrom&&!m.options.layoutScroll&&m.target&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=H(),this.relativeTargetOrigin=H(),Pe(this.relativeTargetOrigin,this.target,m.target),it(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}$t.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Pr(this.parent.latestValues)||oc(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var i;const a=this.getLead(),c=!!this.resumingFrom||this!==a;let l=!0;if((this.isProjectionDirty||!((i=this.parent)===null||i===void 0)&&i.isProjectionDirty)&&(l=!1),c&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===J.timestamp&&(l=!1),l)return;const{layout:f,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(f||u))return;it(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,m=this.treeScale.y;Um(this.layoutCorrected,this.treeScale,this.path,c),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox);const{target:p}=a;if(!p){this.projectionTransform&&(this.projectionDelta=Zt(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=Zt(),this.projectionDeltaWithTransform=Zt());const h=this.projectionTransform;we(this.projectionDelta,this.layoutCorrected,p,this.latestValues),this.projectionTransform=Wi(this.projectionDelta,this.treeScale),(this.projectionTransform!==h||this.treeScale.x!==d||this.treeScale.y!==m)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p)),$t.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),i){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(i,a=!1){const c=this.snapshot,l=c?c.latestValues:{},f={...this.latestValues},u=Zt();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const d=H(),m=c?c.source:void 0,p=this.layout?this.layout.source:void 0,h=m!==p,x=this.getStack(),v=!x||x.members.length<=1,S=!!(h&&!v&&this.options.crossfade===!0&&!this.path.some(kg));this.animationProgress=0;let y;this.mixTargetDelta=w=>{const P=w/1e3;Xi(u.x,i.x,P),Xi(u.y,i.y,P),this.setTargetDelta(u),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Pe(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Og(this.relativeTarget,this.relativeTargetOrigin,d,P),y&&cg(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=H()),it(y,this.relativeTarget)),h&&(this.animationValues=f,ng(f,l,this.latestValues,P,S,v)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Et(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=L.update(()=>{tn.hasAnimatedSinceResize=!0,this.currentAnimation=mg(0,Ki,{...i,onUpdate:a=>{this.mixTargetDelta(a),i.onUpdate&&i.onUpdate(a)},onComplete:()=>{i.onComplete&&i.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Ki),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:a,target:c,layout:l,latestValues:f}=i;if(!(!a||!c||!l)){if(this!==i&&this.layout&&l&&gc(this.options.animationType,this.layout.layoutBox,l.layoutBox)){c=this.target||H();const u=st(this.layout.layoutBox.x);c.x.min=i.target.x.min,c.x.max=c.x.min+u;const d=st(this.layout.layoutBox.y);c.y.min=i.target.y.min,c.y.max=c.y.min+d}it(a,c),Qt(a,f),we(this.projectionDeltaWithTransform,this.layoutCorrected,a,f)}}registerSharedNode(i,a){this.sharedNodes.has(i)||this.sharedNodes.set(i,new lg),this.sharedNodes.get(i).add(a);const l=a.options.initialPromotionConfig;a.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(a):void 0})}isLead(){const i=this.getStack();return i?i.lead===this:!0}getLead(){var i;const{layoutId:a}=this.options;return a?((i=this.getStack())===null||i===void 0?void 0:i.lead)||this:this}getPrevLead(){var i;const{layoutId:a}=this.options;return a?(i=this.getStack())===null||i===void 0?void 0:i.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:a,preserveFollowOpacity:c}={}){const l=this.getStack();l&&l.promote(this,c),i&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}resetRotation(){const{visualElement:i}=this.options;if(!i)return;let a=!1;const{latestValues:c}=i;if((c.rotate||c.rotateX||c.rotateY||c.rotateZ)&&(a=!0),!a)return;const l={};for(let f=0;f<Hi.length;f++){const u="rotate"+Hi[f];c[u]&&(l[u]=c[u],i.setStaticValue(u,0))}i.render();for(const f in l)i.setStaticValue(f,l[f]);i.scheduleRender()}getProjectionStyles(i){var a,c;if(!this.instance||this.isSVG)return;if(!this.isVisible)return gg;const l={visibility:""},f=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=Qe(i==null?void 0:i.pointerEvents)||"",l.transform=f?f(this.latestValues,""):"none",l;const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){const h={};return this.options.layoutId&&(h.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,h.pointerEvents=Qe(i==null?void 0:i.pointerEvents)||""),this.hasProjected&&!_t(this.latestValues)&&(h.transform=f?f({},""):"none",this.hasProjected=!1),h}const d=u.animationValues||u.latestValues;this.applyTransformsToTarget(),l.transform=Wi(this.projectionDeltaWithTransform,this.treeScale,d),f&&(l.transform=f(d,l.transform));const{x:m,y:p}=this.projectionDelta;l.transformOrigin=`${m.origin*100}% ${p.origin*100}% 0`,u.animationValues?l.opacity=u===this?(c=(a=d.opacity)!==null&&a!==void 0?a:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:l.opacity=u===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const h in ln){if(d[h]===void 0)continue;const{correct:x,applyTo:v}=ln[h],S=l.transform==="none"?d[h]:x(d[h],u);if(v){const y=v.length;for(let w=0;w<y;w++)l[v[w]]=S}else l[h]=S}return this.options.layoutId&&(l.pointerEvents=u===this?Qe(i==null?void 0:i.pointerEvents)||"":"none"),l}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>{var a;return(a=i.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(Gi),this.root.sharedNodes.clear()}}}function xg(t){t.updateLayout()}function bg(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:s}=t.layout,{animationType:o}=t.options,i=n.source!==t.layout.source;o==="size"?ot(u=>{const d=i?n.measuredBox[u]:n.layoutBox[u],m=st(d);d.min=r[u].min,d.max=d.min+m}):gc(o,n.layoutBox,r)&&ot(u=>{const d=i?n.measuredBox[u]:n.layoutBox[u],m=st(r[u]);d.max=d.min+m,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[u].max=t.relativeTarget[u].min+m)});const a=Zt();we(a,r,n.layoutBox);const c=Zt();i?we(c,t.applyTransform(s,!0),n.measuredBox):we(c,r,n.layoutBox);const l=!hc(a);let f=!1;if(!t.resumeFrom){const u=t.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:d,layout:m}=u;if(d&&m){const p=H();Pe(p,n.layoutBox,d.layoutBox);const h=H();Pe(h,r,m.layoutBox),pc(p,h)||(f=!0),u.options.layoutRoot&&(t.relativeTarget=h,t.relativeTargetOrigin=p,t.relativeParent=u)}}}t.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:c,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:f})}else if(t.isLead()){const{onExitComplete:r}=t.options;r&&r()}t.options.transition=void 0}function vg(t){$t.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Sg(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function wg(t){t.clearSnapshot()}function Gi(t){t.clearMeasurements()}function Pg(t){t.isLayoutDirty=!1}function Tg(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function qi(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Eg(t){t.resolveTargetDelta()}function Cg(t){t.calcProjection()}function Ag(t){t.resetRotation()}function Rg(t){t.removeLeadSnapshot()}function Xi(t,e,n){t.translate=I(e.translate,0,n),t.scale=I(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Yi(t,e,n,r){t.min=I(e.min,n.min,r),t.max=I(e.max,n.max,r)}function Og(t,e,n,r){Yi(t.x,e.x,n.x,r),Yi(t.y,e.y,n.y,r)}function kg(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Vg={duration:.45,ease:[.4,0,.1,1]},Ji=t=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(t),Zi=Ji("applewebkit/")&&!Ji("chrome/")?Math.round:U;function Qi(t){t.min=Zi(t.min),t.max=Zi(t.max)}function Mg(t){Qi(t.x),Qi(t.y)}function gc(t,e,n){return t==="position"||t==="preserve-aspect"&&!Sr(zi(e),zi(n),.2)}const Dg=mc({attachResizeListener:(t,e)=>bt(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),sr={current:void 0},yc=mc({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!sr.current){const t=new Dg({});t.mount(window),t.setOptions({layoutScroll:!0}),sr.current=t}return sr.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Lg={pan:{Feature:Ym},drag:{Feature:Xm,ProjectionNode:yc,MeasureLayout:uc}},jg=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Fg(t){const e=jg.exec(t);if(!e)return[,];const[,n,r]=e;return[n,r]}function Er(t,e,n=1){const[r,s]=Fg(t);if(!r)return;const o=window.getComputedStyle(e).getPropertyValue(r);if(o){const i=o.trim();return Qa(i)?parseFloat(i):i}else return pr(s)?Er(s,e,n+1):s}function Bg(t,{...e},n){const r=t.current;if(!(r instanceof Element))return{target:e,transitionEnd:n};n&&(n={...n}),t.values.forEach(s=>{const o=s.get();if(!pr(o))return;const i=Er(o,r);i&&s.set(i)});for(const s in e){const o=e[s];if(!pr(o))continue;const i=Er(o,r);i&&(e[s]=i,n||(n={}),n[s]===void 0&&(n[s]=o))}return{target:e,transitionEnd:n}}const Ig=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),xc=t=>Ig.has(t),_g=t=>Object.keys(t).some(xc),to=t=>t===zt||t===C,eo=(t,e)=>parseFloat(t.split(", ")[e]),no=(t,e)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const s=r.match(/^matrix3d\((.+)\)$/);if(s)return eo(s[1],e);{const o=r.match(/^matrix\((.+)\)$/);return o?eo(o[1],t):0}},$g=new Set(["x","y","z"]),Ng=je.filter(t=>!$g.has(t));function Ug(t){const e=[];return Ng.forEach(n=>{const r=t.getValue(n);r!==void 0&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),e.length&&t.render(),e}const oe={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:no(4,13),y:no(5,14)};oe.translateX=oe.x;oe.translateY=oe.y;const zg=(t,e,n)=>{const r=e.measureViewportBox(),s=e.current,o=getComputedStyle(s),{display:i}=o,a={};i==="none"&&e.setStaticValue("display",t.display||"block"),n.forEach(l=>{a[l]=oe[l](r,o)}),e.render();const c=e.measureViewportBox();return n.forEach(l=>{const f=e.getValue(l);f&&f.jump(a[l]),t[l]=oe[l](c,o)}),t},Wg=(t,e,n={},r={})=>{e={...e},r={...r};const s=Object.keys(e).filter(xc);let o=[],i=!1;const a=[];if(s.forEach(c=>{const l=t.getValue(c);if(!t.hasValue(c))return;let f=n[c],u=me(f);const d=e[c];let m;if(fn(d)){const p=d.length,h=d[0]===null?1:0;f=d[h],u=me(f);for(let x=h;x<p&&d[x]!==null;x++)m?cs(me(d[x])===m):m=me(d[x])}else m=me(d);if(u!==m)if(to(u)&&to(m)){const p=l.get();typeof p=="string"&&l.set(parseFloat(p)),typeof d=="string"?e[c]=parseFloat(d):Array.isArray(d)&&m===C&&(e[c]=d.map(parseFloat))}else u!=null&&u.transform&&(m!=null&&m.transform)&&(f===0||d===0)?f===0?l.set(m.transform(f)):e[c]=u.transform(d):(i||(o=Ug(t),i=!0),a.push(c),r[c]=r[c]!==void 0?r[c]:e[c],l.jump(d))}),a.length){const c=a.indexOf("height")>=0?window.pageYOffset:null,l=zg(e,t,a);return o.length&&o.forEach(([f,u])=>{t.getValue(f).set(u)}),t.render(),On&&c!==null&&window.scrollTo({top:c}),{target:l,transitionEnd:r}}else return{target:e,transitionEnd:r}};function Hg(t,e,n,r){return _g(e)?Wg(t,e,n,r):{target:e,transitionEnd:r}}const Kg=(t,e,n,r)=>{const s=Bg(t,e,r);return e=s.target,r=s.transitionEnd,Hg(t,e,n,r)},Cr={current:null},bc={current:!1};function Gg(){if(bc.current=!0,!!On)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Cr.current=t.matches;t.addListener(e),e()}else Cr.current=!1}function qg(t,e,n){const{willChange:r}=e;for(const s in e){const o=e[s],i=n[s];if(et(o))t.addValue(s,o),mn(r)&&r.add(s);else if(et(i))t.addValue(s,ie(o,{owner:t})),mn(r)&&r.remove(s);else if(i!==o)if(t.hasValue(s)){const a=t.getValue(s);!a.hasAnimated&&a.set(o)}else{const a=t.getStaticValue(s);t.addValue(s,ie(a!==void 0?a:o,{owner:t}))}}for(const s in n)e[s]===void 0&&t.removeValue(s);return e}const ro=new WeakMap,vc=Object.keys(Oe),Xg=vc.length,so=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Yg=ts.length;class Jg{constructor({parent:e,props:n,presenceContext:r,reducedMotionConfig:s,visualState:o},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>L.render(this.render,!1,!0);const{latestValues:a,renderState:c}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=c,this.parent=e,this.props=n,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=s,this.options=i,this.isControllingVariants=Vn(n),this.isVariantNode=sa(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:l,...f}=this.scrapeMotionValuesFromProps(n,{});for(const u in f){const d=f[u];a[u]!==void 0&&et(d)&&(d.set(a[u],!1),mn(l)&&l.add(u))}}scrapeMotionValuesFromProps(e,n){return{}}mount(e){this.current=e,ro.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),bc.current||Gg(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Cr.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){ro.delete(this.current),this.projection&&this.projection.unmount(),Et(this.notifyUpdate),Et(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,n){const r=Ut.has(e),s=n.on("change",i=>{this.latestValues[e]=i,this.props.onUpdate&&L.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{s(),o()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}loadFeatures({children:e,...n},r,s,o){let i,a;for(let c=0;c<Xg;c++){const l=vc[c],{isEnabled:f,Feature:u,ProjectionNode:d,MeasureLayout:m}=Oe[l];d&&(i=d),f(n)&&(!this.features[l]&&u&&(this.features[l]=new u(this)),m&&(a=m))}if((this.type==="html"||this.type==="svg")&&!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:c,layout:l,drag:f,dragConstraints:u,layoutScroll:d,layoutRoot:m}=n;this.projection.setOptions({layoutId:c,layout:l,alwaysMeasureLayout:!!f||u&&Yt(u),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof l=="string"?l:"both",initialPromotionConfig:o,layoutScroll:d,layoutRoot:m})}return a}updateFeatures(){for(const e in this.features){const n=this.features[e];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):H()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}makeTargetAnimatable(e,n=!0){return this.makeTargetAnimatableFromInstance(e,this.props,n)}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<so.length;r++){const s=so[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const o=e["on"+s];o&&(this.propEventSubscriptions[s]=this.on(s,o))}this.prevMotionValues=qg(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<Yg;r++){const s=ts[r],o=this.props[s];(Re(o)||o===!1)&&(n[s]=o)}return n}addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){n!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,n)),this.values.set(e,n),this.latestValues[e]=n.get()}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return r===void 0&&n!==void 0&&(r=ie(n,{owner:this}),this.addValue(e,r)),r}readValue(e){var n;return this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(n=this.getBaseTargetFromProps(this.props,e))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,e,this.options)}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;const{initial:r}=this.props,s=typeof r=="string"||typeof r=="object"?(n=as(this.props,r))===null||n===void 0?void 0:n[e]:void 0;if(r&&s!==void 0)return s;const o=this.getBaseTargetFromProps(this.props,e);return o!==void 0&&!et(o)?o:this.initialValues[e]!==void 0&&s===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new ys),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class Sc extends Jg{sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:r}){delete n[e],delete r[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:n,...r},{transformValues:s},o){let i=pm(r,e||{},this);if(s&&(n&&(n=s(n)),r&&(r=s(r)),i&&(i=s(i))),o){dm(this,r,i);const a=Kg(this,r,i,n);n=a.transitionEnd,r=a.target}return{transition:e,transitionEnd:n,...r}}}function Zg(t){return window.getComputedStyle(t)}class Qg extends Sc{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,n){if(Ut.has(n)){const r=ds(n);return r&&r.default||0}else{const r=Zg(e),s=(la(n)?r.getPropertyValue(n):r[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(e,{transformPagePoint:n}){return cc(e,n)}build(e,n,r,s){ns(e,n,r,s.transformTemplate)}scrapeMotionValuesFromProps(e,n){return os(e,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;et(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(e,n,r,s){ma(e,n,r,s)}}class t0 extends Sc{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(Ut.has(n)){const r=ds(n);return r&&r.default||0}return n=ga.has(n)?n:Zr(n),e.getAttribute(n)}measureInstanceViewportBox(){return H()}scrapeMotionValuesFromProps(e,n){return xa(e,n)}build(e,n,r,s){ss(e,n,r,this.isSVGTag,s.transformTemplate)}renderInstance(e,n,r,s){ya(e,n,r,s)}mount(e){this.isSVGTag=is(e.tagName),super.mount(e)}}const e0=(t,e)=>es(t)?new t0(e,{enableHardwareAcceleration:!1}):new Qg(e,{enableHardwareAcceleration:!0}),n0={layout:{ProjectionNode:yc,MeasureLayout:uc}},r0={...Om,...Xh,...Lg,...n0},xs=rh((t,e)=>Fh(t,e,r0,e0));/**
|
|
1
|
+
"use strict";const h=require("../motion-238f3a86.cjs");/**
|
|
8
2
|
* @remix-run/router v1.14.2
|
|
9
3
|
*
|
|
10
4
|
* Copyright (c) Remix Software Inc.
|
|
@@ -13,7 +7,7 @@
|
|
|
13
7
|
* LICENSE.md file in the root directory of this source tree.
|
|
14
8
|
*
|
|
15
9
|
* @license MIT
|
|
16
|
-
*/function
|
|
10
|
+
*/function Pt(){return Pt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Pt.apply(this,arguments)}var Je;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Je||(Je={}));const Mo="popstate";function Vl(e){e===void 0&&(e={});function t(n,o){let{pathname:i,search:s,hash:a}=n.location;return Tn("",{pathname:i,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function r(n,o){return typeof o=="string"?o:yr(o)}return ql(t,r,null,e)}function ve(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Hl(){return Math.random().toString(36).substr(2,8)}function Io(e,t){return{usr:e.state,key:e.key,idx:t}}function Tn(e,t,r,n){return r===void 0&&(r=null),Pt({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Mr(t):t,{state:r,key:t&&t.key||n||Hl()})}function yr(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function Mr(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function ql(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:i=!1}=n,s=o.history,a=Je.Pop,l=null,u=f();u==null&&(u=0,s.replaceState(Pt({},s.state,{idx:u}),""));function f(){return(s.state||{idx:null}).idx}function c(){a=Je.Pop;let g=f(),y=g==null?null:g-u;u=g,l&&l({action:a,location:d.location,delta:y})}function m(g,y){a=Je.Push;let b=Tn(d.location,g,y);r&&r(b,g),u=f()+1;let w=Io(b,u),E=d.createHref(b);try{s.pushState(w,"",E)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;o.location.assign(E)}i&&l&&l({action:a,location:d.location,delta:1})}function v(g,y){a=Je.Replace;let b=Tn(d.location,g,y);r&&r(b,g),u=f();let w=Io(b,u),E=d.createHref(b);s.replaceState(w,"",E),i&&l&&l({action:a,location:d.location,delta:0})}function p(g){let y=o.location.origin!=="null"?o.location.origin:o.location.href,b=typeof g=="string"?g:yr(g);return ve(y,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,y)}let d={get action(){return a},get location(){return e(o,s)},listen(g){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Mo,c),l=g,()=>{o.removeEventListener(Mo,c),l=null}},createHref(g){return t(o,g)},createURL:p,encodeLocation(g){let y=p(g);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:m,replace:v,go(g){return s.go(g)}};return d}var zo;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(zo||(zo={}));function Ss(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function Kl(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:o=""}=typeof e=="string"?Mr(e):e;return{pathname:r?r.startsWith("/")?r:Gl(r,t):t,search:Jl(n),hash:Yl(o)}}function Gl(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function ln(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Xl(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Es(e,t){let r=Xl(e);return t?r.map((n,o)=>o===e.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function ks(e,t,r,n){n===void 0&&(n=!1);let o;typeof e=="string"?o=Mr(e):(o=Pt({},e),ve(!o.pathname||!o.pathname.includes("?"),ln("?","pathname","search",o)),ve(!o.pathname||!o.pathname.includes("#"),ln("#","pathname","hash",o)),ve(!o.search||!o.search.includes("#"),ln("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=r;else{let c=t.length-1;if(!n&&s.startsWith("..")){let m=s.split("/");for(;m[0]==="..";)m.shift(),c-=1;o.pathname=m.join("/")}a=c>=0?t[c]:"/"}let l=Kl(o,a),u=s&&s!=="/"&&s.endsWith("/"),f=(i||s===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(u||f)&&(l.pathname+="/"),l}const Cs=e=>e.join("/").replace(/\/\/+/g,"/"),Jl=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Yl=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,Rs=["post","put","patch","delete"];new Set(Rs);const Zl=["get",...Rs];new Set(Zl);/**
|
|
17
11
|
* React Router v6.21.3
|
|
18
12
|
*
|
|
19
13
|
* Copyright (c) Remix Software Inc.
|
|
@@ -22,7 +16,7 @@
|
|
|
22
16
|
* LICENSE.md file in the root directory of this source tree.
|
|
23
17
|
*
|
|
24
18
|
* @license MIT
|
|
25
|
-
*/function
|
|
19
|
+
*/function vr(){return vr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},vr.apply(this,arguments)}const Os=h.reactExports.createContext(null),pt=h.reactExports.createContext(null),Zn=h.reactExports.createContext(null),Ir=h.reactExports.createContext({outlet:null,matches:[],isDataRoute:!1});function Ql(e,t){let{relative:r}=t===void 0?{}:t;zr()||ve(!1);let{basename:n,navigator:o}=h.reactExports.useContext(pt),{hash:i,pathname:s,search:a}=Ts(e,{relative:r}),l=s;return n!=="/"&&(l=s==="/"?n:Cs([n,s])),o.createHref({pathname:l,search:a,hash:i})}function zr(){return h.reactExports.useContext(Zn)!=null}function Lr(){return zr()||ve(!1),h.reactExports.useContext(Zn).location}function _s(e){h.reactExports.useContext(pt).static||h.reactExports.useLayoutEffect(e)}function eu(){let{isDataRoute:e}=h.reactExports.useContext(Ir);return e?iu():tu()}function tu(){zr()||ve(!1);let e=h.reactExports.useContext(Os),{basename:t,future:r,navigator:n}=h.reactExports.useContext(pt),{matches:o}=h.reactExports.useContext(Ir),{pathname:i}=Lr(),s=JSON.stringify(Es(o,r.v7_relativeSplatPath)),a=h.reactExports.useRef(!1);return _s(()=>{a.current=!0}),h.reactExports.useCallback(function(u,f){if(f===void 0&&(f={}),!a.current)return;if(typeof u=="number"){n.go(u);return}let c=ks(u,JSON.parse(s),i,f.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:Cs([t,c.pathname])),(f.replace?n.replace:n.push)(c,f.state,f)},[t,n,s,i,e])}function Ts(e,t){let{relative:r}=t===void 0?{}:t,{future:n}=h.reactExports.useContext(pt),{matches:o}=h.reactExports.useContext(Ir),{pathname:i}=Lr(),s=JSON.stringify(Es(o,n.v7_relativeSplatPath));return h.reactExports.useMemo(()=>ks(e,JSON.parse(s),i,r==="path"),[e,s,i,r])}var Ps=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Ps||{}),$s=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}($s||{});function ru(e){let t=h.reactExports.useContext(Os);return t||ve(!1),t}function nu(e){let t=h.reactExports.useContext(Ir);return t||ve(!1),t}function ou(e){let t=nu(),r=t.matches[t.matches.length-1];return r.route.id||ve(!1),r.route.id}function iu(){let{router:e}=ru(Ps.UseNavigateStable),t=ou($s.UseNavigateStable),r=h.reactExports.useRef(!1);return _s(()=>{r.current=!0}),h.reactExports.useCallback(function(o,i){i===void 0&&(i={}),r.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,vr({fromRouteId:t},i)))},[e,t])}function su(e){let{basename:t="/",children:r=null,location:n,navigationType:o=Je.Pop,navigator:i,static:s=!1,future:a}=e;zr()&&ve(!1);let l=t.replace(/^\/*/,"/"),u=h.reactExports.useMemo(()=>({basename:l,navigator:i,static:s,future:vr({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof n=="string"&&(n=Mr(n));let{pathname:f="/",search:c="",hash:m="",state:v=null,key:p="default"}=n,d=h.reactExports.useMemo(()=>{let g=Ss(f,l);return g==null?null:{location:{pathname:g,search:c,hash:m,state:v,key:p},navigationType:o}},[l,f,c,m,v,p,o]);return d==null?null:h.reactExports.createElement(pt.Provider,{value:u},h.reactExports.createElement(Zn.Provider,{children:r,value:d}))}new Promise(()=>{});/**
|
|
26
20
|
* React Router DOM v6.21.3
|
|
27
21
|
*
|
|
28
22
|
* Copyright (c) Remix Software Inc.
|
|
@@ -31,8 +25,44 @@
|
|
|
31
25
|
* LICENSE.md file in the root directory of this source tree.
|
|
32
26
|
*
|
|
33
27
|
* @license MIT
|
|
34
|
-
*/function Or(){return Or=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Or.apply(this,arguments)}function x0(t,e){if(t==null)return{};var n={},r=Object.keys(t),s,o;for(o=0;o<r.length;o++)s=r[o],!(e.indexOf(s)>=0)&&(n[s]=t[s]);return n}function b0(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function v0(t,e){return t.button===0&&(!e||e==="_self")&&!b0(t)}const S0=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],w0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",P0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,T0=g.reactExports.forwardRef(function(e,n){let{onClick:r,relative:s,reloadDocument:o,replace:i,state:a,target:c,to:l,preventScrollReset:f,unstable_viewTransition:u}=e,d=x0(e,S0),{basename:m}=g.reactExports.useContext(_e),p,h=!1;if(typeof l=="string"&&P0.test(l)&&(p=l,w0))try{let y=new URL(window.location.href),w=l.startsWith("//")?new URL(y.protocol+l):new URL(l),P=s0(w.pathname,m);w.origin===y.origin&&P!=null?l=P+w.search+w.hash:h=!0}catch{}let x=f0(l,{relative:s}),v=E0(l,{replace:i,state:a,target:c,preventScrollReset:f,relative:s,unstable_viewTransition:u});function S(y){r&&r(y),y.defaultPrevented||v(y)}return g.reactExports.createElement("a",Or({},d,{href:p||x,onClick:h||o?r:S,ref:n,target:c}))});var co;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(co||(co={}));var lo;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(lo||(lo={}));function E0(t,e){let{target:n,replace:r,state:s,preventScrollReset:o,relative:i,unstable_viewTransition:a}=e===void 0?{}:e,c=d0(),l=Fn(),f=kc(t,{relative:i});return g.reactExports.useCallback(u=>{if(v0(u,n)){u.preventDefault();let d=r!==void 0?r:oo(l)===oo(f);c(t,{replace:d,state:s,preventScrollReset:o,relative:i,unstable_viewTransition:a})}},[l,c,f,r,s,n,t,o,i,a])}function uo(t){for(;t.startsWith("/");)t=t.slice(1);return t}function Dc(t,e,n=[]){for(const r of t){if(console.log(r.path,e,r.path===e),uo(r.path||"")===uo(e))return[...n,r];if(r.children){const s=Dc(r.children,e,[...n,r]);if(s)return s}}return null}function C0(t){return g.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"20",fill:"none",viewBox:"0 0 18 20",...t,children:g.jsxRuntimeExports.jsx("path",{fill:"#E01B00",fillRule:"evenodd",d:"M.179 2.875A2.375 2.375 0 012.554.5h3.393a1.018 1.018 0 010 2.036H2.554a.34.34 0 00-.34.339v14.25c0 .187.152.34.34.34h3.393a1.018 1.018 0 110 2.035H2.554a2.375 2.375 0 01-2.375-2.375V2.875zm14.167 6.107h-7.72a1.018 1.018 0 000 2.036h7.72l-2.673 2.673a1.018 1.018 0 101.44 1.44l4.41-4.411a1.018 1.018 0 000-1.44l-4.41-4.41a1.018 1.018 0 10-1.44 1.439l2.673 2.673z",clipRule:"evenodd"})})}function Lc(t,e){return function(){return t.apply(e,arguments)}}const{toString:A0}=Object.prototype,{getPrototypeOf:vs}=Object,Bn=(t=>e=>{const n=A0.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),xt=t=>(t=t.toLowerCase(),e=>Bn(e)===t),In=t=>e=>typeof e===t,{isArray:le}=Array,Ve=In("undefined");function R0(t){return t!==null&&!Ve(t)&&t.constructor!==null&&!Ve(t.constructor)&&ct(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const jc=xt("ArrayBuffer");function O0(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&jc(t.buffer),e}const k0=In("string"),ct=In("function"),Fc=In("number"),_n=t=>t!==null&&typeof t=="object",V0=t=>t===!0||t===!1,en=t=>{if(Bn(t)!=="object")return!1;const e=vs(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},M0=xt("Date"),D0=xt("File"),L0=xt("Blob"),j0=xt("FileList"),F0=t=>_n(t)&&ct(t.pipe),B0=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||ct(t.append)&&((e=Bn(t))==="formdata"||e==="object"&&ct(t.toString)&&t.toString()==="[object FormData]"))},I0=xt("URLSearchParams"),_0=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function $e(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,s;if(typeof t!="object"&&(t=[t]),le(t))for(r=0,s=t.length;r<s;r++)e.call(null,t[r],r,t);else{const o=n?Object.getOwnPropertyNames(t):Object.keys(t),i=o.length;let a;for(r=0;r<i;r++)a=o[r],e.call(null,t[a],a,t)}}function Bc(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,s;for(;r-- >0;)if(s=n[r],e===s.toLowerCase())return s;return null}const Ic=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),_c=t=>!Ve(t)&&t!==Ic;function kr(){const{caseless:t}=_c(this)&&this||{},e={},n=(r,s)=>{const o=t&&Bc(e,s)||s;en(e[o])&&en(r)?e[o]=kr(e[o],r):en(r)?e[o]=kr({},r):le(r)?e[o]=r.slice():e[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&$e(arguments[r],n);return e}const $0=(t,e,n,{allOwnKeys:r}={})=>($e(e,(s,o)=>{n&&ct(s)?t[o]=Lc(s,n):t[o]=s},{allOwnKeys:r}),t),N0=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),U0=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},z0=(t,e,n,r)=>{let s,o,i;const a={};if(e=e||{},t==null)return e;do{for(s=Object.getOwnPropertyNames(t),o=s.length;o-- >0;)i=s[o],(!r||r(i,t,e))&&!a[i]&&(e[i]=t[i],a[i]=!0);t=n!==!1&&vs(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},W0=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},H0=t=>{if(!t)return null;if(le(t))return t;let e=t.length;if(!Fc(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},K0=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&vs(Uint8Array)),G0=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let s;for(;(s=r.next())&&!s.done;){const o=s.value;e.call(t,o[0],o[1])}},q0=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},X0=xt("HTMLFormElement"),Y0=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),fo=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),J0=xt("RegExp"),$c=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};$e(n,(s,o)=>{let i;(i=e(s,o,t))!==!1&&(r[o]=i||s)}),Object.defineProperties(t,r)},Z0=t=>{$c(t,(e,n)=>{if(ct(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(ct(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Q0=(t,e)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return le(t)?r(t):r(String(t).split(e)),n},ty=()=>{},ey=(t,e)=>(t=+t,Number.isFinite(t)?t:e),or="abcdefghijklmnopqrstuvwxyz",ho="0123456789",Nc={DIGIT:ho,ALPHA:or,ALPHA_DIGIT:or+or.toUpperCase()+ho},ny=(t=16,e=Nc.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function ry(t){return!!(t&&ct(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const sy=t=>{const e=new Array(10),n=(r,s)=>{if(_n(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[s]=r;const o=le(r)?[]:{};return $e(r,(i,a)=>{const c=n(i,s+1);!Ve(c)&&(o[a]=c)}),e[s]=void 0,o}}return r};return n(t,0)},iy=xt("AsyncFunction"),oy=t=>t&&(_n(t)||ct(t))&&ct(t.then)&&ct(t.catch),b={isArray:le,isArrayBuffer:jc,isBuffer:R0,isFormData:B0,isArrayBufferView:O0,isString:k0,isNumber:Fc,isBoolean:V0,isObject:_n,isPlainObject:en,isUndefined:Ve,isDate:M0,isFile:D0,isBlob:L0,isRegExp:J0,isFunction:ct,isStream:F0,isURLSearchParams:I0,isTypedArray:K0,isFileList:j0,forEach:$e,merge:kr,extend:$0,trim:_0,stripBOM:N0,inherits:U0,toFlatObject:z0,kindOf:Bn,kindOfTest:xt,endsWith:W0,toArray:H0,forEachEntry:G0,matchAll:q0,isHTMLForm:X0,hasOwnProperty:fo,hasOwnProp:fo,reduceDescriptors:$c,freezeMethods:Z0,toObjectSet:Q0,toCamelCase:Y0,noop:ty,toFiniteNumber:ey,findKey:Bc,global:Ic,isContextDefined:_c,ALPHABET:Nc,generateString:ny,isSpecCompliantForm:ry,toJSONObject:sy,isAsyncFn:iy,isThenable:oy};function k(t,e,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}b.inherits(k,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:b.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Uc=k.prototype,zc={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{zc[t]={value:t}});Object.defineProperties(k,zc);Object.defineProperty(Uc,"isAxiosError",{value:!0});k.from=(t,e,n,r,s,o)=>{const i=Object.create(Uc);return b.toFlatObject(t,i,function(c){return c!==Error.prototype},a=>a!=="isAxiosError"),k.call(i,t.message,e,n,r,s),i.cause=t,i.name=t.name,o&&Object.assign(i,o),i};const ay=null;function Vr(t){return b.isPlainObject(t)||b.isArray(t)}function Wc(t){return b.endsWith(t,"[]")?t.slice(0,-2):t}function po(t,e,n){return t?t.concat(e).map(function(s,o){return s=Wc(s),!n&&o?"["+s+"]":s}).join(n?".":""):e}function cy(t){return b.isArray(t)&&!t.some(Vr)}const ly=b.toFlatObject(b,{},null,function(e){return/^is[A-Z]/.test(e)});function $n(t,e,n){if(!b.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=b.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,x){return!b.isUndefined(x[h])});const r=n.metaTokens,s=n.visitor||f,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&b.isSpecCompliantForm(e);if(!b.isFunction(s))throw new TypeError("visitor must be a function");function l(p){if(p===null)return"";if(b.isDate(p))return p.toISOString();if(!c&&b.isBlob(p))throw new k("Blob is not supported. Use a Buffer instead.");return b.isArrayBuffer(p)||b.isTypedArray(p)?c&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function f(p,h,x){let v=p;if(p&&!x&&typeof p=="object"){if(b.endsWith(h,"{}"))h=r?h:h.slice(0,-2),p=JSON.stringify(p);else if(b.isArray(p)&&cy(p)||(b.isFileList(p)||b.endsWith(h,"[]"))&&(v=b.toArray(p)))return h=Wc(h),v.forEach(function(y,w){!(b.isUndefined(y)||y===null)&&e.append(i===!0?po([h],w,o):i===null?h:h+"[]",l(y))}),!1}return Vr(p)?!0:(e.append(po(x,h,o),l(p)),!1)}const u=[],d=Object.assign(ly,{defaultVisitor:f,convertValue:l,isVisitable:Vr});function m(p,h){if(!b.isUndefined(p)){if(u.indexOf(p)!==-1)throw Error("Circular reference detected in "+h.join("."));u.push(p),b.forEach(p,function(v,S){(!(b.isUndefined(v)||v===null)&&s.call(e,v,b.isString(S)?S.trim():S,h,d))===!0&&m(v,h?h.concat(S):[S])}),u.pop()}}if(!b.isObject(t))throw new TypeError("data must be an object");return m(t),e}function mo(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Ss(t,e){this._pairs=[],t&&$n(t,this,e)}const Hc=Ss.prototype;Hc.append=function(e,n){this._pairs.push([e,n])};Hc.toString=function(e){const n=e?function(r){return e.call(this,r,mo)}:mo;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function uy(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Kc(t,e,n){if(!e)return t;const r=n&&n.encode||uy,s=n&&n.serialize;let o;if(s?o=s(e,n):o=b.isURLSearchParams(e)?e.toString():new Ss(e,n).toString(r),o){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class fy{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){b.forEach(this.handlers,function(r){r!==null&&e(r)})}}const go=fy,Gc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},dy=typeof URLSearchParams<"u"?URLSearchParams:Ss,hy=typeof FormData<"u"?FormData:null,py=typeof Blob<"u"?Blob:null,my={isBrowser:!0,classes:{URLSearchParams:dy,FormData:hy,Blob:py},protocols:["http","https","file","blob","url","data"]},qc=typeof window<"u"&&typeof document<"u",gy=(t=>qc&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),yy=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),xy=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:qc,hasStandardBrowserEnv:gy,hasStandardBrowserWebWorkerEnv:yy},Symbol.toStringTag,{value:"Module"})),pt={...xy,...my};function by(t,e){return $n(t,new pt.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return pt.isNode&&b.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},e))}function vy(t){return b.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Sy(t){const e={},n=Object.keys(t);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],e[o]=t[o];return e}function Xc(t){function e(n,r,s,o){let i=n[o++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),c=o>=n.length;return i=!i&&b.isArray(s)?s.length:i,c?(b.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!a):((!s[i]||!b.isObject(s[i]))&&(s[i]=[]),e(n,r,s[i],o)&&b.isArray(s[i])&&(s[i]=Sy(s[i])),!a)}if(b.isFormData(t)&&b.isFunction(t.entries)){const n={};return b.forEachEntry(t,(r,s)=>{e(vy(r),s,n,0)}),n}return null}function wy(t,e,n){if(b.isString(t))try{return(e||JSON.parse)(t),b.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const ws={transitional:Gc,adapter:["xhr","http"],transformRequest:[function(e,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=b.isObject(e);if(o&&b.isHTMLForm(e)&&(e=new FormData(e)),b.isFormData(e))return s&&s?JSON.stringify(Xc(e)):e;if(b.isArrayBuffer(e)||b.isBuffer(e)||b.isStream(e)||b.isFile(e)||b.isBlob(e))return e;if(b.isArrayBufferView(e))return e.buffer;if(b.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return by(e,this.formSerializer).toString();if((a=b.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return $n(a?{"files[]":e}:e,c&&new c,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),wy(e)):e}],transformResponse:[function(e){const n=this.transitional||ws.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(e&&b.isString(e)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(a){if(i)throw a.name==="SyntaxError"?k.from(a,k.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:pt.classes.FormData,Blob:pt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};b.forEach(["delete","get","head","post","put","patch"],t=>{ws.headers[t]={}});const Ps=ws,Py=b.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ty=t=>{const e={};let n,r,s;return t&&t.split(`
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
`):" "+bo(o[0]):"as no adapter specified";throw new k("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Mr};function lr(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ne(null,t)}function vo(t){return lr(t),t.headers=Pt.from(t.headers),t.data=cr.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Zc.getAdapter(t.adapter||Ps.adapter)(t).then(function(r){return lr(t),r.data=cr.call(t,t.transformResponse,r),r.headers=Pt.from(r.headers),r},function(r){return Yc(r)||(lr(t),r&&r.response&&(r.response.data=cr.call(t,t.transformResponse,r.response),r.response.headers=Pt.from(r.response.headers))),Promise.reject(r)})}const So=t=>t instanceof Pt?t.toJSON():t;function ae(t,e){e=e||{};const n={};function r(l,f,u){return b.isPlainObject(l)&&b.isPlainObject(f)?b.merge.call({caseless:u},l,f):b.isPlainObject(f)?b.merge({},f):b.isArray(f)?f.slice():f}function s(l,f,u){if(b.isUndefined(f)){if(!b.isUndefined(l))return r(void 0,l,u)}else return r(l,f,u)}function o(l,f){if(!b.isUndefined(f))return r(void 0,f)}function i(l,f){if(b.isUndefined(f)){if(!b.isUndefined(l))return r(void 0,l)}else return r(void 0,f)}function a(l,f,u){if(u in e)return r(l,f);if(u in t)return r(void 0,l)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(l,f)=>s(So(l),So(f),!0)};return b.forEach(Object.keys(Object.assign({},t,e)),function(f){const u=c[f]||s,d=u(t[f],e[f],f);b.isUndefined(d)&&u!==a||(n[f]=d)}),n}const Qc="1.6.5",Ts={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Ts[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const wo={};Ts.transitional=function(e,n,r){function s(o,i){return"[Axios v"+Qc+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,a)=>{if(e===!1)throw new k(s(i," has been removed"+(n?" in "+n:"")),k.ERR_DEPRECATED);return n&&!wo[i]&&(wo[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(o,i,a):!0}};function _y(t,e,n){if(typeof t!="object")throw new k("options must be an object",k.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let s=r.length;for(;s-- >0;){const o=r[s],i=e[o];if(i){const a=t[o],c=a===void 0||i(a,o,t);if(c!==!0)throw new k("option "+o+" must be "+c,k.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new k("Unknown option "+o,k.ERR_BAD_OPTION)}}const Dr={assertOptions:_y,validators:Ts},Rt=Dr.validators;class yn{constructor(e){this.defaults=e,this.interceptors={request:new go,response:new go}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=ae(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&Dr.assertOptions(r,{silentJSONParsing:Rt.transitional(Rt.boolean),forcedJSONParsing:Rt.transitional(Rt.boolean),clarifyTimeoutError:Rt.transitional(Rt.boolean)},!1),s!=null&&(b.isFunction(s)?n.paramsSerializer={serialize:s}:Dr.assertOptions(s,{encode:Rt.function,serialize:Rt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&b.merge(o.common,o[n.method]);o&&b.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),n.headers=Pt.concat(i,o);const a=[];let c=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(c=c&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const l=[];this.interceptors.response.forEach(function(h){l.push(h.fulfilled,h.rejected)});let f,u=0,d;if(!c){const p=[vo.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,l),d=p.length,f=Promise.resolve(n);u<d;)f=f.then(p[u++],p[u++]);return f}d=a.length;let m=n;for(u=0;u<d;){const p=a[u++],h=a[u++];try{m=p(m)}catch(x){h.call(this,x);break}}try{f=vo.call(this,m)}catch(p){return Promise.reject(p)}for(u=0,d=l.length;u<d;)f=f.then(l[u++],l[u++]);return f}getUri(e){e=ae(this.defaults,e);const n=Jc(e.baseURL,e.url);return Kc(n,e.params,e.paramsSerializer)}}b.forEach(["delete","get","head","options"],function(e){yn.prototype[e]=function(n,r){return this.request(ae(r||{},{method:e,url:n,data:(r||{}).data}))}});b.forEach(["post","put","patch"],function(e){function n(r){return function(o,i,a){return this.request(ae(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}yn.prototype[e]=n(),yn.prototype[e+"Form"]=n(!0)});const rn=yn;class Es{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(a=>{r.subscribe(a),o=a}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},e(function(o,i,a){r.reason||(r.reason=new Ne(o,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new Es(function(s){e=s}),cancel:e}}}const $y=Es;function Ny(t){return function(n){return t.apply(null,n)}}function Uy(t){return b.isObject(t)&&t.isAxiosError===!0}const Lr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Lr).forEach(([t,e])=>{Lr[e]=t});const zy=Lr;function tl(t){const e=new rn(t),n=Lc(rn.prototype.request,e);return b.extend(n,rn.prototype,e,{allOwnKeys:!0}),b.extend(n,e,null,{allOwnKeys:!0}),n.create=function(s){return tl(ae(t,s))},n}const G=tl(Ps);G.Axios=rn;G.CanceledError=Ne;G.CancelToken=$y;G.isCancel=Yc;G.VERSION=Qc;G.toFormData=$n;G.AxiosError=k;G.Cancel=G.CanceledError;G.all=function(e){return Promise.all(e)};G.spread=Ny;G.isAxiosError=Uy;G.mergeConfig=ae;G.AxiosHeaders=Pt;G.formToJSON=t=>Xc(b.isHTMLForm(t)?new FormData(t):t);G.getAdapter=Zc.getAdapter;G.HttpStatusCode=zy;G.default=G;const Wy=G;function Hy(t){return g.jsxRuntimeExports.jsx(Ky,{...t})}function Ky(t){const{baseUrl:e,menuPath:n}=t;console.log("baseUrl:",e);const r=Fn();console.log("location:",r);const[s,o]=g.reactExports.useState([]),[i,a]=g.reactExports.useState(!1),c=(Dc(s,r.pathname)||[]).filter(S=>S.parentKey!==0),[l,f]=g.reactExports.useState({}),u=S=>{f({...l,[S]:!l[S]})};console.log("matchPaths:",c);const d=()=>{a(!i)};g.reactExports.useEffect(()=>{(async()=>{const y=e+(n||"/global-menu-config/api/v1/menu-items/user"),w=await Wy.get(y,{withCredentials:!0}).then(E=>E.data),P={};w.forEach(E=>{E.children&&(P[E.id]=!0)}),f(P),o(w.map(E=>({...E,parentKey:0})))})()},[e,n]);const[m,p]=g.reactExports.useState(!1),h=()=>{window.location.href=`${e}/authentication/logout?callbackUrl=${window.location.href}`},x=i?"collapsed":"expanded",v=S=>`${S} ${x}`;return g.jsxRuntimeExports.jsxs(xs.nav,{initial:{width:"18rem"},animate:{width:i?"5rem":"18rem"},transition:{duration:.3},className:v("side-bar"),children:[g.jsxRuntimeExports.jsx("div",{className:"h-[8px]"}),g.jsxRuntimeExports.jsx("div",{className:v("side-bar__toggle-btn"),children:g.jsxRuntimeExports.jsx("button",{className:"icon-btn",onClick:d,children:i?g.jsxRuntimeExports.jsx(ta,{}):g.jsxRuntimeExports.jsx(Qo,{})})}),g.jsxRuntimeExports.jsx("div",{id:"menu-items",className:v("mt-6 overflow-y-auto overflow-x-hidden flex-1"),children:s.map(S=>{const y=w=>c.some(P=>P.id===w);return g.jsxRuntimeExports.jsx(el,{item:S,isActive:y,isCollapsed:i,expanded:w=>l[w],toggleExpand:u},S.id)})}),g.jsxRuntimeExports.jsxs("div",{className:"w-full mt-10 mb-10",children:[g.jsxRuntimeExports.jsxs("button",{className:v("side-bar__logout-btn"),onClick:()=>p(!0),children:[g.jsxRuntimeExports.jsx(C0,{}),g.jsxRuntimeExports.jsx("span",{className:`ml-3 ${i?"hidden":""}`,children:"Logout"})]}),g.jsxRuntimeExports.jsx(g.LogoutConfirmModal,{isOpen:m,onClose:()=>p(!1),onConfirm:h})]})]})}function el({item:t,level:e=0,...n}){var x;const{isActive:r,isCollapsed:s,expanded:o,toggleExpand:i}=n,a=`level-${e}`,c=s?"collapsed":"expanded",l=r(t.id)?"active":"",f=(v,S=a)=>`${v} ${S} ${c} ${l}`,u=!!((x=t.children)!=null&&x.length),[d,m]=g.reactExports.useState(!1),p=g.reactExports.useRef();function h(v){var P;const{level:S,hovered:y,parentRef:w}=v;return!u||s&&S>=2&&!y?null:g.jsxRuntimeExports.jsx(Gy,{parentRef:w,onlyChild:!s||s&&S<2,children:g.jsxRuntimeExports.jsx(xs.div,{className:f("menu-item__dropdown",`level-${S}`),initial:{height:s?"auto":0},animate:{height:s||o(t.id)?"auto":0},transition:{duration:.2},children:(P=t.children)==null?void 0:P.map(E=>g.reactExports.createElement(el,{...n,key:E.id,item:E,level:S}))},+s)})}return g.jsxRuntimeExports.jsxs("div",{ref:p,className:f("menu-item__wrapper"),onMouseEnter:()=>s&&m(!0),onMouseLeave:()=>s&&m(!1),children:[g.jsxRuntimeExports.jsxs(T0,{to:u?"#":t.path||"#",style:{paddingLeft:`${s?"0.5rem":`${e*1}rem`}`},className:f("menu-item__link"),onClick:()=>{u&&!s&&i(t.id)},children:[e!==0&&g.jsxRuntimeExports.jsx("div",{className:f("menu-item__icon"),children:g.jsxRuntimeExports.jsx("img",{src:t.icon||"/",alt:" ",style:{height:24,maxHeight:24}})}),g.jsxRuntimeExports.jsx("span",{className:f("menu-item__label"),children:t.name}),u&&g.jsxRuntimeExports.jsx("div",{className:f("menu-item__icon-arrow__wrapper"),children:g.jsxRuntimeExports.jsx(Zo,{className:f(`menu-item__icon-arrow__icon ${o(t.id)?"open":"close"}`),fontSize:"small"})})]}),h({level:e+1,hovered:d,parentRef:p})]},t.id)}function Gy(t){const{children:e,parentRef:n,onlyChild:r}=t,[s,o]=g.reactExports.useState({top:0,left:0});return g.reactExports.useLayoutEffect(()=>{if(n.current){const i=n.current.getBoundingClientRect();o({top:i.top,left:i.left+i.width})}},[n]),r?e:g.reactDomExports.createPortal(g.jsxRuntimeExports.jsx(xs.div,{style:{position:"fixed",top:s.top,left:s.left},children:e}),document.body)}const qy=g.s(Hy,{props:{baseUrl:"string",menuPath:"string"}});customElements.define("global-menu",qy);
|
|
28
|
+
*/function Pn(){return Pn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Pn.apply(this,arguments)}function au(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function lu(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function uu(e,t){return e.button===0&&(!t||t==="_self")&&!lu(e)}const cu=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],fu="startTransition",Lo=h.React[fu];function du(e){let{basename:t,children:r,future:n,window:o}=e,i=h.reactExports.useRef();i.current==null&&(i.current=Vl({window:o,v5Compat:!0}));let s=i.current,[a,l]=h.reactExports.useState({action:s.action,location:s.location}),{v7_startTransition:u}=n||{},f=h.reactExports.useCallback(c=>{u&&Lo?Lo(()=>l(c)):l(c)},[l,u]);return h.reactExports.useLayoutEffect(()=>s.listen(f),[s,f]),h.reactExports.createElement(su,{basename:t,children:r,location:a.location,navigationType:a.action,navigator:s,future:n})}const pu=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",hu=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,mu=h.reactExports.forwardRef(function(t,r){let{onClick:n,relative:o,reloadDocument:i,replace:s,state:a,target:l,to:u,preventScrollReset:f,unstable_viewTransition:c}=t,m=au(t,cu),{basename:v}=h.reactExports.useContext(pt),p,d=!1;if(typeof u=="string"&&hu.test(u)&&(p=u,pu))try{let w=new URL(window.location.href),E=u.startsWith("//")?new URL(w.protocol+u):new URL(u),O=Ss(E.pathname,v);E.origin===w.origin&&O!=null?u=O+E.search+E.hash:d=!0}catch{}let g=Ql(u,{relative:o}),y=gu(u,{replace:s,state:a,target:l,preventScrollReset:f,relative:o,unstable_viewTransition:c});function b(w){n&&n(w),w.defaultPrevented||y(w)}return h.reactExports.createElement("a",Pn({},m,{href:p||g,onClick:d||i?n:b,ref:r,target:l}))});var Bo;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Bo||(Bo={}));var Do;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Do||(Do={}));function gu(e,t){let{target:r,replace:n,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,l=eu(),u=Lr(),f=Ts(e,{relative:s});return h.reactExports.useCallback(c=>{if(uu(c,r)){c.preventDefault();let m=n!==void 0?n:yr(u)===yr(f);l(e,{replace:m,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a})}},[u,l,f,n,o,r,e,i,s,a])}var yu=typeof global=="object"&&global&&global.Object===Object&&global;const vu=yu;var xu=typeof self=="object"&&self&&self.Object===Object&&self,bu=vu||xu||Function("return this")();const As=bu;var wu=As.Symbol;const xr=wu;var Fs=Object.prototype,Su=Fs.hasOwnProperty,Eu=Fs.toString,xt=xr?xr.toStringTag:void 0;function ku(e){var t=Su.call(e,xt),r=e[xt];try{e[xt]=void 0;var n=!0}catch{}var o=Eu.call(e);return n&&(t?e[xt]=r:delete e[xt]),o}var Cu=Object.prototype,Ru=Cu.toString;function Ou(e){return Ru.call(e)}var _u="[object Null]",Tu="[object Undefined]",Wo=xr?xr.toStringTag:void 0;function Pu(e){return e==null?e===void 0?Tu:_u:Wo&&Wo in Object(e)?ku(e):Ou(e)}function $u(e){return e!=null&&typeof e=="object"}var Au="[object Symbol]";function Fu(e){return typeof e=="symbol"||$u(e)&&Pu(e)==Au}var ju=/\s/;function Nu(e){for(var t=e.length;t--&&ju.test(e.charAt(t)););return t}var Mu=/^\s+/;function Iu(e){return e&&e.slice(0,Nu(e)+1).replace(Mu,"")}function br(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Uo=0/0,zu=/^[-+]0x[0-9a-f]+$/i,Lu=/^0b[01]+$/i,Bu=/^0o[0-7]+$/i,Du=parseInt;function Vo(e){if(typeof e=="number")return e;if(Fu(e))return Uo;if(br(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=br(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Iu(e);var r=Lu.test(e);return r||Bu.test(e)?Du(e.slice(2),r?2:8):zu.test(e)?Uo:+e}var Wu=function(){return As.Date.now()};const un=Wu;var Uu="Expected a function",Vu=Math.max,Hu=Math.min;function Zt(e,t,r){var n,o,i,s,a,l,u=0,f=!1,c=!1,m=!0;if(typeof e!="function")throw new TypeError(Uu);t=Vo(t)||0,br(r)&&(f=!!r.leading,c="maxWait"in r,i=c?Vu(Vo(r.maxWait)||0,t):i,m="trailing"in r?!!r.trailing:m);function v(k){var R=n,H=o;return n=o=void 0,u=k,s=e.apply(H,R),s}function p(k){return u=k,a=setTimeout(y,t),f?v(k):s}function d(k){var R=k-l,H=k-u,be=t-R;return c?Hu(be,i-H):be}function g(k){var R=k-l,H=k-u;return l===void 0||R>=t||R<0||c&&H>=i}function y(){var k=un();if(g(k))return b(k);a=setTimeout(y,d(k))}function b(k){return a=void 0,m&&n?v(k):(n=o=void 0,s)}function w(){a!==void 0&&clearTimeout(a),u=0,n=l=o=a=void 0}function E(){return a===void 0?s:b(un())}function O(){var k=un(),R=g(k);if(n=arguments,o=this,l=k,R){if(a===void 0)return p(l);if(c)return clearTimeout(a),a=setTimeout(y,t),v(l)}return a===void 0&&(a=setTimeout(y,t)),s}return O.cancel=w,O.flush=E,O}var qu="Expected a function";function Ku(e,t,r){var n=!0,o=!0;if(typeof e!="function")throw new TypeError(qu);return br(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),Zt(e,t,{leading:n,maxWait:t,trailing:o})}var Gu=!!(typeof window<"u"&&window.document&&window.document.createElement),Xu=Gu;const js=h.getDefaultExportFromCjs(Xu);var st=function(){return st=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},st.apply(this,arguments)},ot=null,Ho=null;js&&window.addEventListener("resize",function(){Ho!==window.devicePixelRatio&&(Ho=window.devicePixelRatio,ot=null)});function qo(){if(ot===null){if(typeof document>"u")return ot=0,ot;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var r=t.getBoundingClientRect().right;e.removeChild(t),ot=r}return ot}function Ns(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function Ms(e){return!e||!e.ownerDocument?document:e.ownerDocument}var Is=function(e){var t={},r=Array.prototype.reduce.call(e,function(n,o){var i=o.name.match(/data-simplebar-(.+)/);if(i){var s=i[1].replace(/\W+(.)/g,function(a,l){return l.toUpperCase()});switch(o.value){case"true":n[s]=!0;break;case"false":n[s]=!1;break;case void 0:n[s]=!0;break;default:n[s]=o.value}}return n},t);return r};function zs(e,t){var r;e&&(r=e.classList).add.apply(r,t.split(" "))}function Ls(e,t){e&&t.split(" ").forEach(function(r){e.classList.remove(r)})}function Bs(e){return".".concat(e.split(" ").join("."))}var Ju=Object.freeze({__proto__:null,getElementWindow:Ns,getElementDocument:Ms,getOptions:Is,addClasses:zs,removeClasses:Ls,classNamesToQuery:Bs}),Ie=Ns,cn=Ms,Yu=Is,ze=zs,Le=Ls,ee=Bs,qt=function(){function e(t,r){r===void 0&&(r={});var n=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var o=Ie(n.el);n.scrollXTicking||(o.requestAnimationFrame(n.scrollX),n.scrollXTicking=!0),n.scrollYTicking||(o.requestAnimationFrame(n.scrollY),n.scrollYTicking=!0),n.isScrolling||(n.isScrolling=!0,ze(n.el,n.classNames.scrolling)),n.showScrollbar("x"),n.showScrollbar("y"),n.onStopScrolling()},this.scrollX=function(){n.axis.x.isOverflowing&&n.positionScrollbar("x"),n.scrollXTicking=!1},this.scrollY=function(){n.axis.y.isOverflowing&&n.positionScrollbar("y"),n.scrollYTicking=!1},this._onStopScrolling=function(){Le(n.el,n.classNames.scrolling),n.options.autoHide&&(n.hideScrollbar("x"),n.hideScrollbar("y")),n.isScrolling=!1},this.onMouseEnter=function(){n.isMouseEntering||(ze(n.el,n.classNames.mouseEntered),n.showScrollbar("x"),n.showScrollbar("y"),n.isMouseEntering=!0),n.onMouseEntered()},this._onMouseEntered=function(){Le(n.el,n.classNames.mouseEntered),n.options.autoHide&&(n.hideScrollbar("x"),n.hideScrollbar("y")),n.isMouseEntering=!1},this._onMouseMove=function(o){n.mouseX=o.clientX,n.mouseY=o.clientY,(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseMoveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseMoveForAxis("y")},this.onMouseLeave=function(){n.onMouseMove.cancel(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseLeaveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseLeaveForAxis("y"),n.mouseX=-1,n.mouseY=-1},this._onWindowResize=function(){n.scrollbarWidth=n.getScrollbarWidth(),n.hideNativeScrollbar()},this.onPointerEvent=function(o){if(!(!n.axis.x.track.el||!n.axis.y.track.el||!n.axis.x.scrollbar.el||!n.axis.y.scrollbar.el)){var i,s;n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&(i=n.isWithinBounds(n.axis.x.track.rect)),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&(s=n.isWithinBounds(n.axis.y.track.rect)),(i||s)&&(o.stopPropagation(),o.type==="pointerdown"&&o.pointerType!=="touch"&&(i&&(n.axis.x.scrollbar.rect=n.axis.x.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.x.scrollbar.rect)?n.onDragStart(o,"x"):n.onTrackClick(o,"x")),s&&(n.axis.y.scrollbar.rect=n.axis.y.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.scrollbar.rect)?n.onDragStart(o,"y"):n.onTrackClick(o,"y"))))}},this.drag=function(o){var i,s,a,l,u,f,c,m,v,p,d;if(!(!n.draggedAxis||!n.contentWrapperEl)){var g,y=n.axis[n.draggedAxis].track,b=(s=(i=y.rect)===null||i===void 0?void 0:i[n.axis[n.draggedAxis].sizeAttr])!==null&&s!==void 0?s:0,w=n.axis[n.draggedAxis].scrollbar,E=(l=(a=n.contentWrapperEl)===null||a===void 0?void 0:a[n.axis[n.draggedAxis].scrollSizeAttr])!==null&&l!==void 0?l:0,O=parseInt((f=(u=n.elStyles)===null||u===void 0?void 0:u[n.axis[n.draggedAxis].sizeAttr])!==null&&f!==void 0?f:"0px",10);o.preventDefault(),o.stopPropagation(),n.draggedAxis==="y"?g=o.pageY:g=o.pageX;var k=g-((m=(c=y.rect)===null||c===void 0?void 0:c[n.axis[n.draggedAxis].offsetAttr])!==null&&m!==void 0?m:0)-n.axis[n.draggedAxis].dragOffset;k=n.draggedAxis==="x"&&n.isRtl?((p=(v=y.rect)===null||v===void 0?void 0:v[n.axis[n.draggedAxis].sizeAttr])!==null&&p!==void 0?p:0)-w.size-k:k;var R=k/(b-w.size),H=R*(E-O);n.draggedAxis==="x"&&n.isRtl&&(H=!((d=e.getRtlHelpers())===null||d===void 0)&&d.isScrollingToNegative?-H:H),n.contentWrapperEl[n.axis[n.draggedAxis].scrollOffsetAttr]=H}},this.onEndDrag=function(o){var i=cn(n.el),s=Ie(n.el);o.preventDefault(),o.stopPropagation(),Le(n.el,n.classNames.dragging),i.removeEventListener("mousemove",n.drag,!0),i.removeEventListener("mouseup",n.onEndDrag,!0),n.removePreventClickId=s.setTimeout(function(){i.removeEventListener("click",n.preventClick,!0),i.removeEventListener("dblclick",n.preventClick,!0),n.removePreventClickId=null})},this.preventClick=function(o){o.preventDefault(),o.stopPropagation()},this.el=t,this.options=st(st({},e.defaultOptions),r),this.classNames=st(st({},e.defaultOptions.classNames),r.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Ku(this._onMouseMove,64),this.onWindowResize=Zt(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Zt(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Zt(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var r=t.firstElementChild,n=r==null?void 0:r.firstElementChild;if(!n)return null;document.body.appendChild(r),r.scrollLeft=0;var o=e.getOffset(r),i=e.getOffset(n);r.scrollLeft=-999;var s=e.getOffset(n);return document.body.removeChild(r),e.rtlHelpers={isScrollOriginAtZero:o.left!==i.left,isScrollingToNegative:i.left!==s.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:qo()}catch{return qo()}},e.getOffset=function(t){var r=t.getBoundingClientRect(),n=cn(t),o=Ie(t);return{top:r.top+(o.pageYOffset||n.documentElement.scrollTop),left:r.left+(o.pageXOffset||n.documentElement.scrollLeft)}},e.prototype.init=function(){js&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,r;this.wrapperEl=this.el.querySelector(ee(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(ee(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(ee(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(ee(this.classNames.offset)),this.maskEl=this.el.querySelector(ee(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,ee(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(ee(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(ee(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(ee(this.classNames.track)).concat(ee(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(ee(this.classNames.track)).concat(ee(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(ee(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((r=this.axis.y.track.el)===null||r===void 0?void 0:r.querySelector(ee(this.classNames.scrollbar)))||null,this.options.autoHide||(ze(this.axis.x.scrollbar.el,this.classNames.visible),ze(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,r,n=Ie(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(r=this.contentWrapperEl)===null||r===void 0||r.addEventListener("scroll",this.onScroll),n.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var o=!1,i=n.ResizeObserver||ResizeObserver;this.resizeObserver=new i(function(){o&&n.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),n.requestAnimationFrame(function(){o=!0})}this.mutationObserver=new n.MutationObserver(function(){n.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=Ie(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var r=this.contentEl.offsetWidth,n=this.heightAutoObserverEl.offsetHeight<=1,o=this.heightAutoObserverEl.offsetWidth<=1||r>0,i=this.contentWrapperEl.offsetWidth,s=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var l=this.contentEl.scrollHeight,u=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=n?"auto":"100%",this.placeholderEl.style.width=o?"".concat(r||u,"px"):"auto",this.placeholderEl.style.height="".concat(l,"px");var f=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=r!==0&&u>r,this.axis.y.isOverflowing=l>f,this.axis.x.isOverflowing=s==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=a==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var c=this.axis.x.isOverflowing?this.scrollbarWidth:0,m=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&u>i-m,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&l>f-c,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var r,n;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var o=this.contentEl[this.axis[t].scrollSizeAttr],i=(n=(r=this.axis[t].track.el)===null||r===void 0?void 0:r[this.axis[t].offsetSizeAttr])!==null&&n!==void 0?n:0,s=i/o,a;return a=Math.max(~~(s*i),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(a=Math.min(a,this.options.scrollbarMaxSize)),a},e.prototype.positionScrollbar=function(t){var r,n,o;t===void 0&&(t="y");var i=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!i.el||!this.elStyles)){var s=this.contentWrapperEl[this.axis[t].scrollSizeAttr],a=((r=this.axis[t].track.el)===null||r===void 0?void 0:r[this.axis[t].offsetSizeAttr])||0,l=parseInt(this.elStyles[this.axis[t].sizeAttr],10),u=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];u=t==="x"&&this.isRtl&&(!((n=e.getRtlHelpers())===null||n===void 0)&&n.isScrollOriginAtZero)?-u:u,t==="x"&&this.isRtl&&(u=!((o=e.getRtlHelpers())===null||o===void 0)&&o.isScrollingToNegative?u:-u);var f=u/(s-l),c=~~((a-i.size)*f);c=t==="x"&&this.isRtl?-c+(a-i.size):c,i.el.style.transform=t==="x"?"translate3d(".concat(c,"px, 0, 0)"):"translate3d(0, ".concat(c,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var r=this.axis[t].track.el,n=this.axis[t].scrollbar.el;!r||!n||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(r.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(r.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?n.style.display="block":n.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(ze(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(Le(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var r=this.axis[t];!r.track.el||!r.scrollbar.el||(r.track.rect=r.track.el.getBoundingClientRect(),r.scrollbar.rect=r.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(r.track.rect)?(this.showScrollbar(t),ze(r.track.el,this.classNames.hover),this.isWithinBounds(r.scrollbar.rect)?ze(r.scrollbar.el,this.classNames.hover):Le(r.scrollbar.el,this.classNames.hover)):(Le(r.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),Le(this.axis[t].track.el,this.classNames.hover),Le(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,r){var n;r===void 0&&(r="y");var o=cn(this.el),i=Ie(this.el),s=this.axis[r].scrollbar,a=r==="y"?t.pageY:t.pageX;this.axis[r].dragOffset=a-(((n=s.rect)===null||n===void 0?void 0:n[this.axis[r].offsetAttr])||0),this.draggedAxis=r,ze(this.el,this.classNames.dragging),o.addEventListener("mousemove",this.drag,!0),o.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(o.addEventListener("click",this.preventClick,!0),o.addEventListener("dblclick",this.preventClick,!0)):(i.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,r){var n=this,o,i,s,a;r===void 0&&(r="y");var l=this.axis[r];if(!(!this.options.clickOnTrack||!l.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var u=Ie(this.el);this.axis[r].scrollbar.rect=l.scrollbar.el.getBoundingClientRect();var f=this.axis[r].scrollbar,c=(i=(o=f.rect)===null||o===void 0?void 0:o[this.axis[r].offsetAttr])!==null&&i!==void 0?i:0,m=parseInt((a=(s=this.elStyles)===null||s===void 0?void 0:s[this.axis[r].sizeAttr])!==null&&a!==void 0?a:"0px",10),v=this.contentWrapperEl[this.axis[r].scrollOffsetAttr],p=r==="y"?this.mouseY-c:this.mouseX-c,d=p<0?-1:1,g=d===-1?v-m:v+m,y=40,b=function(){n.contentWrapperEl&&(d===-1?v>g&&(v-=y,n.contentWrapperEl[n.axis[r].scrollOffsetAttr]=v,u.requestAnimationFrame(b)):v<g&&(v+=y,n.contentWrapperEl[n.axis[r].scrollOffsetAttr]=v,u.requestAnimationFrame(b)))};b()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=Ie(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,r){var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(o){return n.call(o,r)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=Yu,e.helpers=Ju,e}(),ae=function(){return ae=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},ae.apply(this,arguments)};function Zu(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 Ds=h.reactExports.forwardRef(function(e,t){var r=e.children,n=e.scrollableNodeProps,o=n===void 0?{}:n,i=Zu(e,["children","scrollableNodeProps"]),s=h.reactExports.useRef(),a=h.reactExports.useRef(),l=h.reactExports.useRef(),u={},f={};Object.keys(i).forEach(function(v){Object.prototype.hasOwnProperty.call(qt.defaultOptions,v)?u[v]=i[v]:f[v]=i[v]});var c=ae(ae({},qt.defaultOptions.classNames),u.classNames),m=ae(ae({},o),{className:"".concat(c.contentWrapper).concat(o.className?" ".concat(o.className):""),tabIndex:0,role:"region","aria-label":u.ariaLabel||qt.defaultOptions.ariaLabel});return h.reactExports.useEffect(function(){var v;return a.current=m.ref?m.ref.current:a.current,s.current&&(v=new qt(s.current,ae(ae(ae({},u),a.current&&{scrollableNode:a.current}),l.current&&{contentNode:l.current})),typeof t=="function"?t(v):t&&(t.current=v)),function(){v==null||v.unMount(),v=null,typeof t=="function"&&t(null)}},[]),h.reactExports.createElement("div",ae({"data-simplebar":"init",ref:s},f),h.reactExports.createElement("div",{className:c.wrapper},h.reactExports.createElement("div",{className:c.heightAutoObserverWrapperEl},h.reactExports.createElement("div",{className:c.heightAutoObserverEl})),h.reactExports.createElement("div",{className:c.mask},h.reactExports.createElement("div",{className:c.offset},typeof r=="function"?r({scrollableNodeRef:a,scrollableNodeProps:ae(ae({},m),{ref:a}),contentNodeRef:l,contentNodeProps:{className:c.contentEl,ref:l}}):h.reactExports.createElement("div",ae({},m),h.reactExports.createElement("div",{className:c.contentEl},r)))),h.reactExports.createElement("div",{className:c.placeholder})),h.reactExports.createElement("div",{className:"".concat(c.track," simplebar-horizontal")},h.reactExports.createElement("div",{className:c.scrollbar})),h.reactExports.createElement("div",{className:"".concat(c.track," simplebar-vertical")},h.reactExports.createElement("div",{className:c.scrollbar})))});Ds.displayName="SimpleBar";function Qu(e){const{children:t,parentRef:r,onlyChild:n}=e,[o,i]=h.reactExports.useState({top:0,left:0});return h.reactExports.useLayoutEffect(()=>{if(r.current){const s=r.current.getBoundingClientRect();i({top:s.top,left:s.left+s.width})}},[r]),n?t:h.reactDomExports.createPortal(h.jsxRuntimeExports.jsx(h.motion.div,{style:{position:"fixed",top:o.top,left:o.left},children:t}),document.body)}var Qn={},Ws={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Ws);var ec=Ws.exports,fn={};function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$.apply(this,arguments)}function Ue(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Us(e){if(!Ue(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Us(e[r])}),t}function xe(e,t,r={clone:!0}){const n=r.clone?$({},e):e;return Ue(e)&&Ue(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(Ue(t[o])&&o in e&&Ue(e[o])?n[o]=xe(e[o],t[o],r):r.clone?n[o]=Ue(t[o])?Us(t[o]):t[o]:n[o]=t[o])}),n}var Vs={exports:{}},tc="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",rc=tc,nc=rc;function Hs(){}function qs(){}qs.resetWarningCache=Hs;var oc=function(){function e(n,o,i,s,a,l){if(l!==nc){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:qs,resetWarningCache:Hs};return r.PropTypes=r,r};Vs.exports=oc();var ic=Vs.exports;const ye=h.getDefaultExportFromCjs(ic);function ut(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function _e(e){if(typeof e!="string")throw new Error(ut(7));return e.charAt(0).toUpperCase()+e.slice(1)}function sc(...e){return e.reduce((t,r)=>r==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function ac(e,t=166){let r;function n(...o){const i=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(i,t)}return n.clear=()=>{clearTimeout(r)},n}function lc(e,t){return()=>null}function uc(e,t){var r,n;return h.reactExports.isValidElement(e)&&t.indexOf((r=e.type.muiName)!=null?r:(n=e.type)==null||(n=n._payload)==null||(n=n.value)==null?void 0:n.muiName)!==-1}function Ks(e){return e&&e.ownerDocument||document}function cc(e){return Ks(e).defaultView||window}function fc(e,t){return()=>null}function Gs(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const dc=typeof window<"u"?h.reactExports.useLayoutEffect:h.reactExports.useEffect,Xs=dc;let Ko=0;function pc(e){const[t,r]=h.reactExports.useState(e),n=e||t;return h.reactExports.useEffect(()=>{t==null&&(Ko+=1,r(`mui-${Ko}`))},[t]),n}const Go=h.React["useId".toString()];function hc(e){if(Go!==void 0){const t=Go();return e??t}return pc(e)}function mc(e,t,r,n,o){return null}function gc({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=h.reactExports.useRef(e!==void 0),[i,s]=h.reactExports.useState(t),a=o?e:i,l=h.reactExports.useCallback(u=>{o||s(u)},[]);return[a,l]}function yc(e){const t=h.reactExports.useRef(e);return Xs(()=>{t.current=e}),h.reactExports.useRef((...r)=>(0,t.current)(...r)).current}function vc(...e){return h.reactExports.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{Gs(r,t)})},e)}let Br=!0,$n=!1,Xo;const xc={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function bc(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&xc[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function wc(e){e.metaKey||e.altKey||e.ctrlKey||(Br=!0)}function dn(){Br=!1}function Sc(){this.visibilityState==="hidden"&&$n&&(Br=!0)}function Ec(e){e.addEventListener("keydown",wc,!0),e.addEventListener("mousedown",dn,!0),e.addEventListener("pointerdown",dn,!0),e.addEventListener("touchstart",dn,!0),e.addEventListener("visibilitychange",Sc,!0)}function kc(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Br||bc(t)}function Cc(){const e=h.reactExports.useCallback(o=>{o!=null&&Ec(o.ownerDocument)},[]),t=h.reactExports.useRef(!1);function r(){return t.current?($n=!0,window.clearTimeout(Xo),Xo=window.setTimeout(()=>{$n=!1},100),t.current=!1,!0):!1}function n(o){return kc(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function Js(e,t){const r=$({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=$({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=$({},i),Object.keys(o).forEach(s=>{r[n][s]=Js(o[s],i[s])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Rc(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((i,s)=>{if(s){const a=t(s);a!==""&&i.push(a),r&&r[s]&&i.push(r[s])}return i},[]).join(" ")}),n}const Jo=e=>e,Oc=()=>{let e=Jo;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Jo}}},_c=Oc(),Ys=_c,Tc={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Zs(e,t,r="Mui"){const n=Tc[t];return n?`${r}-${n}`:`${Ys.generate(e)}-${t}`}function Pc(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Zs(e,o,r)}),n}function Me(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Qs(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Qs(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function $c(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Qs(e))&&(n&&(n+=" "),n+=t);return n}function ea(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ac=/^((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|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)-.*))$/,Fc=ea(function(e){return Ac.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function jc(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Nc(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Mc=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Nc(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=jc(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e}(),J="-ms-",wr="-moz-",j="-webkit-",ta="comm",eo="rule",to="decl",Ic="@import",ra="@keyframes",zc="@layer",Lc=Math.abs,Dr=String.fromCharCode,Bc=Object.assign;function Dc(e,t){return q(e,0)^45?(((t<<2^q(e,0))<<2^q(e,1))<<2^q(e,2))<<2^q(e,3):0}function na(e){return e.trim()}function Wc(e,t){return(e=t.exec(e))?e[0]:e}function N(e,t,r){return e.replace(t,r)}function An(e,t){return e.indexOf(t)}function q(e,t){return e.charCodeAt(t)|0}function $t(e,t,r){return e.slice(t,r)}function Ce(e){return e.length}function ro(e){return e.length}function Kt(e,t){return t.push(e),e}function Uc(e,t){return e.map(t).join("")}var Wr=1,ct=1,oa=0,ne=0,U=0,ht="";function Ur(e,t,r,n,o,i,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Wr,column:ct,length:s,return:""}}function bt(e,t){return Bc(Ur("",null,null,"",null,null,0),e,{length:-e.length},t)}function Vc(){return U}function Hc(){return U=ne>0?q(ht,--ne):0,ct--,U===10&&(ct=1,Wr--),U}function pe(){return U=ne<oa?q(ht,ne++):0,ct++,U===10&&(ct=1,Wr++),U}function Te(){return q(ht,ne)}function Qt(){return ne}function Bt(e,t){return $t(ht,e,t)}function At(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 ia(e){return Wr=ct=1,oa=Ce(ht=e),ne=0,[]}function sa(e){return ht="",e}function er(e){return na(Bt(ne-1,Fn(e===91?e+2:e===40?e+1:e)))}function qc(e){for(;(U=Te())&&U<33;)pe();return At(e)>2||At(U)>3?"":" "}function Kc(e,t){for(;--t&&pe()&&!(U<48||U>102||U>57&&U<65||U>70&&U<97););return Bt(e,Qt()+(t<6&&Te()==32&&pe()==32))}function Fn(e){for(;pe();)switch(U){case e:return ne;case 34:case 39:e!==34&&e!==39&&Fn(U);break;case 40:e===41&&Fn(e);break;case 92:pe();break}return ne}function Gc(e,t){for(;pe()&&e+U!==47+10;)if(e+U===42+42&&Te()===47)break;return"/*"+Bt(t,ne-1)+"*"+Dr(e===47?e:pe())}function Xc(e){for(;!At(Te());)pe();return Bt(e,ne)}function Jc(e){return sa(tr("",null,null,null,[""],e=ia(e),0,[0],e))}function tr(e,t,r,n,o,i,s,a,l){for(var u=0,f=0,c=s,m=0,v=0,p=0,d=1,g=1,y=1,b=0,w="",E=o,O=i,k=n,R=w;g;)switch(p=b,b=pe()){case 40:if(p!=108&&q(R,c-1)==58){An(R+=N(er(b),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:R+=er(b);break;case 9:case 10:case 13:case 32:R+=qc(p);break;case 92:R+=Kc(Qt()-1,7);continue;case 47:switch(Te()){case 42:case 47:Kt(Yc(Gc(pe(),Qt()),t,r),l);break;default:R+="/"}break;case 123*d:a[u++]=Ce(R)*y;case 125*d:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+f:y==-1&&(R=N(R,/\f/g,"")),v>0&&Ce(R)-c&&Kt(v>32?Zo(R+";",n,r,c-1):Zo(N(R," ","")+";",n,r,c-2),l);break;case 59:R+=";";default:if(Kt(k=Yo(R,t,r,u,f,o,a,w,E=[],O=[],c),i),b===123)if(f===0)tr(R,t,k,k,E,i,c,a,O);else switch(m===99&&q(R,3)===110?100:m){case 100:case 108:case 109:case 115:tr(e,k,k,n&&Kt(Yo(e,k,k,0,0,o,a,w,o,E=[],c),O),o,O,c,a,n?E:O);break;default:tr(R,k,k,k,[""],O,0,a,O)}}u=f=v=0,d=y=1,w=R="",c=s;break;case 58:c=1+Ce(R),v=p;default:if(d<1){if(b==123)--d;else if(b==125&&d++==0&&Hc()==125)continue}switch(R+=Dr(b),b*d){case 38:y=f>0?1:(R+="\f",-1);break;case 44:a[u++]=(Ce(R)-1)*y,y=1;break;case 64:Te()===45&&(R+=er(pe())),m=Te(),f=c=Ce(w=R+=Xc(Qt())),b++;break;case 45:p===45&&Ce(R)==2&&(d=0)}}return i}function Yo(e,t,r,n,o,i,s,a,l,u,f){for(var c=o-1,m=o===0?i:[""],v=ro(m),p=0,d=0,g=0;p<n;++p)for(var y=0,b=$t(e,c+1,c=Lc(d=s[p])),w=e;y<v;++y)(w=na(d>0?m[y]+" "+b:N(b,/&\f/g,m[y])))&&(l[g++]=w);return Ur(e,t,r,o===0?eo:a,l,u,f)}function Yc(e,t,r){return Ur(e,t,r,ta,Dr(Vc()),$t(e,2,-2),0)}function Zo(e,t,r,n){return Ur(e,t,r,to,$t(e,0,n),$t(e,n+1,-1),n)}function at(e,t){for(var r="",n=ro(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Zc(e,t,r,n){switch(e.type){case zc:if(e.children.length)break;case Ic:case to:return e.return=e.return||e.value;case ta:return"";case ra:return e.return=e.value+"{"+at(e.children,n)+"}";case eo:e.value=e.props.join(",")}return Ce(r=at(e.children,n))?e.return=e.value+"{"+r+"}":""}function Qc(e){var t=ro(e);return function(r,n,o,i){for(var s="",a=0;a<t;a++)s+=e[a](r,n,o,i)||"";return s}}function ef(e){return function(t){t.root||(t=t.return)&&e(t)}}var tf=function(t,r,n){for(var o=0,i=0;o=i,i=Te(),o===38&&i===12&&(r[n]=1),!At(i);)pe();return Bt(t,ne)},rf=function(t,r){var n=-1,o=44;do switch(At(o)){case 0:o===38&&Te()===12&&(r[n]=1),t[n]+=tf(ne-1,r,n);break;case 2:t[n]+=er(o);break;case 4:if(o===44){t[++n]=Te()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Dr(o)}while(o=pe());return t},nf=function(t,r){return sa(rf(ia(t),r))},Qo=new WeakMap,of=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Qo.get(n))&&!o){Qo.set(t,!0);for(var i=[],s=nf(r,i),a=n.props,l=0,u=0;l<s.length;l++)for(var f=0;f<a.length;f++,u++)t.props[u]=i[l]?s[l].replace(/&\f/g,a[f]):a[f]+" "+s[l]}}},sf=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function aa(e,t){switch(Dc(e,t)){case 5103:return j+"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 j+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return j+e+wr+e+J+e+e;case 6828:case 4268:return j+e+J+e+e;case 6165:return j+e+J+"flex-"+e+e;case 5187:return j+e+N(e,/(\w+).+(:[^]+)/,j+"box-$1$2"+J+"flex-$1$2")+e;case 5443:return j+e+J+"flex-item-"+N(e,/flex-|-self/,"")+e;case 4675:return j+e+J+"flex-line-pack"+N(e,/align-content|flex-|-self/,"")+e;case 5548:return j+e+J+N(e,"shrink","negative")+e;case 5292:return j+e+J+N(e,"basis","preferred-size")+e;case 6060:return j+"box-"+N(e,"-grow","")+j+e+J+N(e,"grow","positive")+e;case 4554:return j+N(e,/([^-])(transform)/g,"$1"+j+"$2")+e;case 6187:return N(N(N(e,/(zoom-|grab)/,j+"$1"),/(image-set)/,j+"$1"),e,"")+e;case 5495:case 3959:return N(e,/(image-set\([^]*)/,j+"$1$`$1");case 4968:return N(N(e,/(.+:)(flex-)?(.*)/,j+"box-pack:$3"+J+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+j+e+e;case 4095:case 3583:case 4068:case 2532:return N(e,/(.+)-inline(.+)/,j+"$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(Ce(e)-1-t>6)switch(q(e,t+1)){case 109:if(q(e,t+4)!==45)break;case 102:return N(e,/(.+:)(.+)-([^]+)/,"$1"+j+"$2-$3$1"+wr+(q(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~An(e,"stretch")?aa(N(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(q(e,t+1)!==115)break;case 6444:switch(q(e,Ce(e)-3-(~An(e,"!important")&&10))){case 107:return N(e,":",":"+j)+e;case 101:return N(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+j+(q(e,14)===45?"inline-":"")+"box$3$1"+j+"$2$3$1"+J+"$2box$3")+e}break;case 5936:switch(q(e,t+11)){case 114:return j+e+J+N(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return j+e+J+N(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return j+e+J+N(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return j+e+J+e+e}return e}var af=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case to:t.return=aa(t.value,t.length);break;case ra:return at([bt(t,{value:N(t.value,"@","@"+j)})],o);case eo:if(t.length)return Uc(t.props,function(i){switch(Wc(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return at([bt(t,{props:[N(i,/:(read-\w+)/,":"+wr+"$1")]})],o);case"::placeholder":return at([bt(t,{props:[N(i,/:(plac\w+)/,":"+j+"input-$1")]}),bt(t,{props:[N(i,/:(plac\w+)/,":"+wr+"$1")]}),bt(t,{props:[N(i,/:(plac\w+)/,J+"input-$1")]})],o)}return""})}},lf=[af],uf=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(d){var g=d.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(d),d.setAttribute("data-s",""))})}var o=t.stylisPlugins||lf,i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(d){for(var g=d.getAttribute("data-emotion").split(" "),y=1;y<g.length;y++)i[g[y]]=!0;a.push(d)});var l,u=[of,sf];{var f,c=[Zc,ef(function(d){f.insert(d)})],m=Qc(u.concat(o,c)),v=function(g){return at(Jc(g),m)};l=function(g,y,b,w){f=b,v(g?g+"{"+y.styles+"}":y.styles),w&&(p.inserted[y.name]=!0)}}var p={key:r,sheet:new Mc({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return p.sheet.hydrate(a),p},cf=!0;function ff(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):n+=o+" "}),n}var la=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||cf===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},df=function(t,r,n){la(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function pf(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var hf={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},mf=/[A-Z]|^ms/g,gf=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ua=function(t){return t.charCodeAt(1)===45},ei=function(t){return t!=null&&typeof t!="boolean"},pn=ea(function(e){return ua(e)?e:e.replace(mf,"-$&").toLowerCase()}),ti=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(gf,function(n,o,i){return Re={name:o,styles:i,next:Re},o})}return hf[t]!==1&&!ua(t)&&typeof r=="number"&&r!==0?r+"px":r};function Ft(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Re={name:r.name,styles:r.styles,next:Re},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Re={name:n.name,styles:n.styles,next:Re},n=n.next;var o=r.styles+";";return o}return yf(e,t,r)}case"function":{if(e!==void 0){var i=Re,s=r(e);return Re=i,Ft(e,t,s)}break}}if(t==null)return r;var a=t[r];return a!==void 0?a:r}function yf(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Ft(e,t,r[o])+";";else for(var i in r){var s=r[i];if(typeof s!="object")t!=null&&t[s]!==void 0?n+=i+"{"+t[s]+"}":ei(s)&&(n+=pn(i)+":"+ti(i,s)+";");else if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var a=0;a<s.length;a++)ei(s[a])&&(n+=pn(i)+":"+ti(i,s[a])+";");else{var l=Ft(e,t,s);switch(i){case"animation":case"animationName":{n+=pn(i)+":"+l+";";break}default:n+=i+"{"+l+"}"}}}return n}var ri=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Re,vf=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,i="";Re=void 0;var s=t[0];s==null||s.raw===void 0?(o=!1,i+=Ft(n,r,s)):i+=s[0];for(var a=1;a<t.length;a++)i+=Ft(n,r,t[a]),o&&(i+=s[a]);ri.lastIndex=0;for(var l="",u;(u=ri.exec(i))!==null;)l+="-"+u[1];var f=pf(i)+l;return{name:f,styles:i,next:Re}},xf=function(t){return t()},bf=h.React["useInsertionEffect"]?h.React["useInsertionEffect"]:!1,wf=bf||xf,ca=h.reactExports.createContext(typeof HTMLElement<"u"?uf({key:"css"}):null);ca.Provider;var Sf=function(t){return h.reactExports.forwardRef(function(r,n){var o=h.reactExports.useContext(ca);return t(r,o,n)})},fa=h.reactExports.createContext({}),Ef=Fc,kf=function(t){return t!=="theme"},ni=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Ef:kf},oi=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Cf=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return la(r,n,o),wf(function(){return df(r,n,o)}),null},Rf=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,s;r!==void 0&&(i=r.label,s=r.target);var a=oi(t,r,n),l=a||ni(o),u=!l("as");return function(){var f=arguments,c=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&c.push("label:"+i+";"),f[0]==null||f[0].raw===void 0)c.push.apply(c,f);else{c.push(f[0][0]);for(var m=f.length,v=1;v<m;v++)c.push(f[v],f[0][v])}var p=Sf(function(d,g,y){var b=u&&d.as||o,w="",E=[],O=d;if(d.theme==null){O={};for(var k in d)O[k]=d[k];O.theme=h.reactExports.useContext(fa)}typeof d.className=="string"?w=ff(g.registered,E,d.className):d.className!=null&&(w=d.className+" ");var R=vf(c.concat(E),g.registered,O);w+=g.key+"-"+R.name,s!==void 0&&(w+=" "+s);var H=u&&a===void 0?ni(b):l,be={};for(var F in d)u&&F==="as"||H(F)&&(be[F]=d[F]);return be.className=w,be.ref=y,h.reactExports.createElement(h.reactExports.Fragment,null,h.reactExports.createElement(Cf,{cache:g,serialized:R,isStringTag:typeof b=="string"}),h.reactExports.createElement(b,be))});return p.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",p.defaultProps=t.defaultProps,p.__emotion_real=p,p.__emotion_base=o,p.__emotion_styles=c,p.__emotion_forwardProp=a,Object.defineProperty(p,"toString",{value:function(){return"."+s}}),p.withComponent=function(d,g){return e(d,$({},r,g,{shouldForwardProp:oi(p,g,!0)})).apply(void 0,c)},p}},Of=["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","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","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","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],jn=Rf.bind();Of.forEach(function(e){jn[e]=jn(e)});/**
|
|
29
|
+
* @mui/styled-engine v5.15.4
|
|
30
|
+
*
|
|
31
|
+
* @license MIT
|
|
32
|
+
* This source code is licensed under the MIT license found in the
|
|
33
|
+
* LICENSE file in the root directory of this source tree.
|
|
34
|
+
*/function _f(e,t){return jn(e,t)}const Tf=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Pf=["values","unit","step"],$f=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>$({},r,{[n.key]:n.val}),{})};function Af(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=Me(e,Pf),i=$f(t),s=Object.keys(i);function a(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r})`}function l(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-n/100}${r})`}function u(m,v){const p=s.indexOf(v);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r}) and (max-width:${(p!==-1&&typeof t[s[p]]=="number"?t[s[p]]:v)-n/100}${r})`}function f(m){return s.indexOf(m)+1<s.length?u(m,s[s.indexOf(m)+1]):a(m)}function c(m){const v=s.indexOf(m);return v===0?a(s[1]):v===s.length-1?l(s[v]):u(m,s[s.indexOf(m)+1]).replace("@media","@media not all and")}return $({keys:s,values:i,up:a,down:l,between:u,only:f,not:c,unit:r},o)}const Ff={borderRadius:4},jf=Ff;function Ot(e,t){return t?xe(e,t,{clone:!1}):e}const no={xs:0,sm:600,md:900,lg:1200,xl:1536},ii={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${no[e]}px)`};function Fe(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||ii;return t.reduce((s,a,l)=>(s[i.up(i.keys[l])]=r(t[l]),s),{})}if(typeof t=="object"){const i=n.breakpoints||ii;return Object.keys(t).reduce((s,a)=>{if(Object.keys(i.values||no).indexOf(a)!==-1){const l=i.up(a);s[l]=r(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return r(t)}function Nf(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function Mf(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Vr(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function Sr(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Vr(e,r)||n,t&&(o=t(o,n,e)),o}function W(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,u=Vr(l,n)||{};return Fe(s,a,c=>{let m=Sr(u,o,c);return c===m&&typeof c=="string"&&(m=Sr(u,o,`${t}${c==="default"?"":_e(c)}`,c)),r===!1?m:{[r]:m}})};return i.propTypes={},i.filterProps=[t],i}function If(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const zf={m:"margin",p:"padding"},Lf={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},si={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Bf=If(e=>{if(e.length>2)if(si[e])e=si[e];else return[e];const[t,r]=e.split(""),n=zf[t],o=Lf[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),oo=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],io=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...oo,...io];function Dt(e,t,r,n){var o;const i=(o=Vr(e,t,!1))!=null?o:r;return typeof i=="number"?s=>typeof s=="string"?s:i*s:Array.isArray(i)?s=>typeof s=="string"?s:i[s]:typeof i=="function"?i:()=>{}}function da(e){return Dt(e,"spacing",8)}function Wt(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function Df(e,t){return r=>e.reduce((n,o)=>(n[o]=Wt(t,r),n),{})}function Wf(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=Bf(r),i=Df(o,n),s=e[r];return Fe(e,s,i)}function pa(e,t){const r=da(e.theme);return Object.keys(e).map(n=>Wf(e,t,n,r)).reduce(Ot,{})}function B(e){return pa(e,oo)}B.propTypes={};B.filterProps=oo;function D(e){return pa(e,io)}D.propTypes={};D.filterProps=io;function Uf(e=8){if(e.mui)return e;const t=da({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return r.mui=!0,r}function Hr(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?Ot(o,t[i](n)):o,{});return r.propTypes={},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function he(e){return typeof e!="number"?e:`${e}px solid`}function ge(e,t){return W({prop:e,themeKey:"borders",transform:t})}const Vf=ge("border",he),Hf=ge("borderTop",he),qf=ge("borderRight",he),Kf=ge("borderBottom",he),Gf=ge("borderLeft",he),Xf=ge("borderColor"),Jf=ge("borderTopColor"),Yf=ge("borderRightColor"),Zf=ge("borderBottomColor"),Qf=ge("borderLeftColor"),ed=ge("outline",he),td=ge("outlineColor"),qr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Dt(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:Wt(t,n)});return Fe(e,e.borderRadius,r)}return null};qr.propTypes={};qr.filterProps=["borderRadius"];Hr(Vf,Hf,qf,Kf,Gf,Xf,Jf,Yf,Zf,Qf,qr,ed,td);const Kr=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Dt(e.theme,"spacing",8),r=n=>({gap:Wt(t,n)});return Fe(e,e.gap,r)}return null};Kr.propTypes={};Kr.filterProps=["gap"];const Gr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Dt(e.theme,"spacing",8),r=n=>({columnGap:Wt(t,n)});return Fe(e,e.columnGap,r)}return null};Gr.propTypes={};Gr.filterProps=["columnGap"];const Xr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Dt(e.theme,"spacing",8),r=n=>({rowGap:Wt(t,n)});return Fe(e,e.rowGap,r)}return null};Xr.propTypes={};Xr.filterProps=["rowGap"];const rd=W({prop:"gridColumn"}),nd=W({prop:"gridRow"}),od=W({prop:"gridAutoFlow"}),id=W({prop:"gridAutoColumns"}),sd=W({prop:"gridAutoRows"}),ad=W({prop:"gridTemplateColumns"}),ld=W({prop:"gridTemplateRows"}),ud=W({prop:"gridTemplateAreas"}),cd=W({prop:"gridArea"});Hr(Kr,Gr,Xr,rd,nd,od,id,sd,ad,ld,ud,cd);function lt(e,t){return t==="grey"?t:e}const fd=W({prop:"color",themeKey:"palette",transform:lt}),dd=W({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:lt}),pd=W({prop:"backgroundColor",themeKey:"palette",transform:lt});Hr(fd,dd,pd);function de(e){return e<=1&&e!==0?`${e*100}%`:e}const hd=W({prop:"width",transform:de}),so=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||no[r];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:de(r)}};return Fe(e,e.maxWidth,t)}return null};so.filterProps=["maxWidth"];const md=W({prop:"minWidth",transform:de}),gd=W({prop:"height",transform:de}),yd=W({prop:"maxHeight",transform:de}),vd=W({prop:"minHeight",transform:de});W({prop:"size",cssProperty:"width",transform:de});W({prop:"size",cssProperty:"height",transform:de});const xd=W({prop:"boxSizing"});Hr(hd,so,md,gd,yd,vd,xd);const bd={border:{themeKey:"borders",transform:he},borderTop:{themeKey:"borders",transform:he},borderRight:{themeKey:"borders",transform:he},borderBottom:{themeKey:"borders",transform:he},borderLeft:{themeKey:"borders",transform:he},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:he},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:qr},color:{themeKey:"palette",transform:lt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:lt},backgroundColor:{themeKey:"palette",transform:lt},p:{style:D},pt:{style:D},pr:{style:D},pb:{style:D},pl:{style:D},px:{style:D},py:{style:D},padding:{style:D},paddingTop:{style:D},paddingRight:{style:D},paddingBottom:{style:D},paddingLeft:{style:D},paddingX:{style:D},paddingY:{style:D},paddingInline:{style:D},paddingInlineStart:{style:D},paddingInlineEnd:{style:D},paddingBlock:{style:D},paddingBlockStart:{style:D},paddingBlockEnd:{style:D},m:{style:B},mt:{style:B},mr:{style:B},mb:{style:B},ml:{style:B},mx:{style:B},my:{style:B},margin:{style:B},marginTop:{style:B},marginRight:{style:B},marginBottom:{style:B},marginLeft:{style:B},marginX:{style:B},marginY:{style:B},marginInline:{style:B},marginInlineStart:{style:B},marginInlineEnd:{style:B},marginBlock:{style:B},marginBlockStart:{style:B},marginBlockEnd:{style:B},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Kr},rowGap:{style:Xr},columnGap:{style:Gr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:de},maxWidth:{style:so},minWidth:{transform:de},height:{transform:de},maxHeight:{transform:de},minHeight:{transform:de},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},ao=bd;function wd(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Sd(e,t){return typeof e=="function"?e(t):e}function Ed(){function e(r,n,o,i){const s={[r]:n,theme:o},a=i[r];if(!a)return{[r]:n};const{cssProperty:l=r,themeKey:u,transform:f,style:c}=a;if(n==null)return null;if(u==="typography"&&n==="inherit")return{[r]:n};const m=Vr(o,u)||{};return c?c(s):Fe(s,n,p=>{let d=Sr(m,f,p);return p===d&&typeof p=="string"&&(d=Sr(m,f,`${r}${p==="default"?"":_e(p)}`,p)),l===!1?d:{[l]:d}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const s=(n=i.unstable_sxConfig)!=null?n:ao;function a(l){let u=l;if(typeof l=="function")u=l(i);else if(typeof l!="object")return l;if(!u)return null;const f=Nf(i.breakpoints),c=Object.keys(f);let m=f;return Object.keys(u).forEach(v=>{const p=Sd(u[v],i);if(p!=null)if(typeof p=="object")if(s[v])m=Ot(m,e(v,p,i,s));else{const d=Fe({theme:i},p,g=>({[v]:g}));wd(d,p)?m[v]=t({sx:p,theme:i}):m=Ot(m,d)}else m=Ot(m,e(v,p,i,s))}),Mf(c,m)}return Array.isArray(o)?o.map(a):a(o)}return t}const ha=Ed();ha.filterProps=["sx"];const lo=ha,kd=["breakpoints","palette","spacing","shape"];function uo(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,s=Me(e,kd),a=Af(r),l=Uf(o);let u=xe({breakpoints:a,direction:"ltr",components:{},palette:$({mode:"light"},n),spacing:l,shape:$({},jf,i)},s);return u=t.reduce((f,c)=>xe(f,c),u),u.unstable_sxConfig=$({},ao,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(c){return lo({sx:c,theme:this})},u}function Cd(e){return Object.keys(e).length===0}function Rd(e=null){const t=h.reactExports.useContext(fa);return!t||Cd(t)?e:t}const Od=uo();function _d(e=Od){return Rd(e)}const Td=["variant"];function ai(e){return e.length===0}function ma(e){const{variant:t}=e,r=Me(e,Td);let n=t||"";return Object.keys(r).sort().forEach(o=>{o==="color"?n+=ai(n)?e[o]:_e(e[o]):n+=`${ai(n)?o:_e(o)}${_e(e[o].toString())}`}),n}const Pd=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function $d(e){return Object.keys(e).length===0}function Ad(e){return typeof e=="string"&&e.charCodeAt(0)>96}const Fd=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,Er=e=>{let t=0;const r={};return e&&e.forEach(n=>{let o="";typeof n.props=="function"?(o=`callback${t}`,t+=1):o=ma(n.props),r[o]=n.style}),r},jd=(e,t)=>{let r=[];return t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants),Er(r)},kr=(e,t,r)=>{const{ownerState:n={}}=e,o=[];let i=0;return r&&r.forEach(s=>{let a=!0;if(typeof s.props=="function"){const l=$({},e,n);a=s.props(l)}else Object.keys(s.props).forEach(l=>{n[l]!==s.props[l]&&e[l]!==s.props[l]&&(a=!1)});a&&(typeof s.props=="function"?o.push(t[`callback${i}`]):o.push(t[ma(s.props)])),typeof s.props=="function"&&(i+=1)}),o},Nd=(e,t,r,n)=>{var o;const i=r==null||(o=r.components)==null||(o=o[n])==null?void 0:o.variants;return kr(e,t,i)};function rr(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Md=uo(),Id=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function nr({defaultTheme:e,theme:t,themeId:r}){return $d(t)?e:t[r]||t}function zd(e){return e?(t,r)=>r[e]:null}const li=({styledArg:e,props:t,defaultTheme:r,themeId:n})=>{const o=e($({},t,{theme:nr($({},t,{defaultTheme:r,themeId:n}))}));let i;if(o&&o.variants&&(i=o.variants,delete o.variants),i){const s=kr(t,Er(i),i);return[o,...s]}return o};function Ld(e={}){const{themeId:t,defaultTheme:r=Md,rootShouldForwardProp:n=rr,slotShouldForwardProp:o=rr}=e,i=s=>lo($({},s,{theme:nr($({},s,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(s,a={})=>{Tf(s,E=>E.filter(O=>!(O!=null&&O.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:f,skipSx:c,overridesResolver:m=zd(Id(u))}=a,v=Me(a,Pd),p=f!==void 0?f:u&&u!=="Root"&&u!=="root"||!1,d=c||!1;let g,y=rr;u==="Root"||u==="root"?y=n:u?y=o:Ad(s)&&(y=void 0);const b=_f(s,$({shouldForwardProp:y,label:g},v)),w=(E,...O)=>{const k=O?O.map(F=>{if(typeof F=="function"&&F.__emotion_real!==F)return oe=>li({styledArg:F,props:oe,defaultTheme:r,themeId:t});if(Ue(F)){let oe=F,we;return F&&F.variants&&(we=F.variants,delete oe.variants,oe=vt=>{let qe=F;return kr(vt,Er(we),we).forEach(Ul=>{qe=xe(qe,Ul)}),qe}),oe}return F}):[];let R=E;if(Ue(E)){let F;E&&E.variants&&(F=E.variants,delete R.variants,R=oe=>{let we=E;return kr(oe,Er(F),F).forEach(qe=>{we=xe(we,qe)}),we})}else typeof E=="function"&&E.__emotion_real!==E&&(R=F=>li({styledArg:E,props:F,defaultTheme:r,themeId:t}));l&&m&&k.push(F=>{const oe=nr($({},F,{defaultTheme:r,themeId:t})),we=Fd(l,oe);if(we){const vt={};return Object.entries(we).forEach(([qe,Ht])=>{vt[qe]=typeof Ht=="function"?Ht($({},F,{theme:oe})):Ht}),m(F,vt)}return null}),l&&!p&&k.push(F=>{const oe=nr($({},F,{defaultTheme:r,themeId:t}));return Nd(F,jd(l,oe),oe,l)}),d||k.push(i);const H=k.length-O.length;if(Array.isArray(E)&&H>0){const F=new Array(H).fill("");R=[...E,...F],R.raw=[...E.raw,...F]}const be=b(R,...k);return s.muiName&&(be.muiName=s.muiName),be};return b.withConfig&&(w.withConfig=b.withConfig),w}}function Bd(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:Js(t.components[r].defaultProps,n)}function Dd({props:e,name:t,defaultTheme:r,themeId:n}){let o=_d(r);return n&&(o=o[n]||o),Bd({theme:o,name:t,props:e})}function ga(e,t=0,r=1){return Math.min(Math.max(t,e),r)}function Wd(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function ft(e){if(e.type)return e;if(e.charAt(0)==="#")return ft(Wd(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(ut(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(ut(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}function co(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Ud(e){e=ft(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),s=(u,f=(u+r/30)%12)=>o-i*Math.max(Math.min(f-3,9-f,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),co({type:a,values:l})}function ui(e){e=ft(e);let t=e.type==="hsl"||e.type==="hsla"?ft(Ud(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Vd(e,t){const r=ui(e),n=ui(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Hd(e,t){if(e=ft(e),t=ga(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return co(e)}function qd(e,t){if(e=ft(e),t=ga(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return co(e)}function Kd(e,t){return $({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Gd={black:"#000",white:"#fff"},jt=Gd,Xd={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Jd=Xd,Yd={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Qe=Yd,Zd={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},et=Zd,Qd={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},wt=Qd,ep={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},tt=ep,tp={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},rt=tp,rp={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},nt=rp,np=["mode","contrastThreshold","tonalOffset"],ci={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:jt.white,default:jt.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},hn={text:{primary:jt.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:jt.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function fi(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=qd(e.main,o):t==="dark"&&(e.dark=Hd(e.main,i)))}function op(e="light"){return e==="dark"?{main:tt[200],light:tt[50],dark:tt[400]}:{main:tt[700],light:tt[400],dark:tt[800]}}function ip(e="light"){return e==="dark"?{main:Qe[200],light:Qe[50],dark:Qe[400]}:{main:Qe[500],light:Qe[300],dark:Qe[700]}}function sp(e="light"){return e==="dark"?{main:et[500],light:et[300],dark:et[700]}:{main:et[700],light:et[400],dark:et[800]}}function ap(e="light"){return e==="dark"?{main:rt[400],light:rt[300],dark:rt[700]}:{main:rt[700],light:rt[500],dark:rt[900]}}function lp(e="light"){return e==="dark"?{main:nt[400],light:nt[300],dark:nt[700]}:{main:nt[800],light:nt[500],dark:nt[900]}}function up(e="light"){return e==="dark"?{main:wt[400],light:wt[300],dark:wt[700]}:{main:"#ed6c02",light:wt[500],dark:wt[900]}}function cp(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=Me(e,np),i=e.primary||op(t),s=e.secondary||ip(t),a=e.error||sp(t),l=e.info||ap(t),u=e.success||lp(t),f=e.warning||up(t);function c(d){return Vd(d,hn.text.primary)>=r?hn.text.primary:ci.text.primary}const m=({color:d,name:g,mainShade:y=500,lightShade:b=300,darkShade:w=700})=>{if(d=$({},d),!d.main&&d[y]&&(d.main=d[y]),!d.hasOwnProperty("main"))throw new Error(ut(11,g?` (${g})`:"",y));if(typeof d.main!="string")throw new Error(ut(12,g?` (${g})`:"",JSON.stringify(d.main)));return fi(d,"light",b,n),fi(d,"dark",w,n),d.contrastText||(d.contrastText=c(d.main)),d},v={dark:hn,light:ci};return xe($({common:$({},jt),mode:t,primary:m({color:i,name:"primary"}),secondary:m({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:a,name:"error"}),warning:m({color:f,name:"warning"}),info:m({color:l,name:"info"}),success:m({color:u,name:"success"}),grey:Jd,contrastThreshold:r,getContrastText:c,augmentColor:m,tonalOffset:n},v[t]),o)}const fp=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function dp(e){return Math.round(e*1e5)/1e5}const di={textTransform:"uppercase"},pi='"Roboto", "Helvetica", "Arial", sans-serif';function pp(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=pi,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:f,pxToRem:c}=r,m=Me(r,fp),v=o/14,p=c||(y=>`${y/u*v}rem`),d=(y,b,w,E,O)=>$({fontFamily:n,fontWeight:y,fontSize:p(b),lineHeight:w},n===pi?{letterSpacing:`${dp(E/b)}em`}:{},O,f),g={h1:d(i,96,1.167,-1.5),h2:d(i,60,1.2,-.5),h3:d(s,48,1.167,0),h4:d(s,34,1.235,.25),h5:d(s,24,1.334,0),h6:d(a,20,1.6,.15),subtitle1:d(s,16,1.75,.15),subtitle2:d(a,14,1.57,.1),body1:d(s,16,1.5,.15),body2:d(s,14,1.43,.15),button:d(a,14,1.75,.4,di),caption:d(s,12,1.66,.4),overline:d(s,12,2.66,1,di),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return xe($({htmlFontSize:u,pxToRem:p,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:l},g),m,{clone:!1})}const hp=.2,mp=.14,gp=.12;function L(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${hp})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${mp})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${gp})`].join(",")}const yp=["none",L(0,2,1,-1,0,1,1,0,0,1,3,0),L(0,3,1,-2,0,2,2,0,0,1,5,0),L(0,3,3,-2,0,3,4,0,0,1,8,0),L(0,2,4,-1,0,4,5,0,0,1,10,0),L(0,3,5,-1,0,5,8,0,0,1,14,0),L(0,3,5,-1,0,6,10,0,0,1,18,0),L(0,4,5,-2,0,7,10,1,0,2,16,1),L(0,5,5,-3,0,8,10,1,0,3,14,2),L(0,5,6,-3,0,9,12,1,0,3,16,2),L(0,6,6,-3,0,10,14,1,0,4,18,3),L(0,6,7,-4,0,11,15,1,0,4,20,3),L(0,7,8,-4,0,12,17,2,0,5,22,4),L(0,7,8,-4,0,13,19,2,0,5,24,4),L(0,7,9,-4,0,14,21,2,0,5,26,4),L(0,8,9,-5,0,15,22,2,0,6,28,5),L(0,8,10,-5,0,16,24,2,0,6,30,5),L(0,8,11,-5,0,17,26,2,0,6,32,5),L(0,9,11,-5,0,18,28,2,0,7,34,6),L(0,9,12,-6,0,19,29,2,0,7,36,6),L(0,10,13,-6,0,20,31,3,0,8,38,7),L(0,10,13,-6,0,21,33,3,0,8,40,7),L(0,10,14,-6,0,22,35,3,0,8,42,7),L(0,11,14,-7,0,23,36,3,0,9,44,8),L(0,11,15,-7,0,24,38,3,0,9,46,8)],vp=yp,xp=["duration","easing","delay"],bp={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},wp={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function hi(e){return`${Math.round(e)}ms`}function Sp(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Ep(e){const t=$({},bp,e.easing),r=$({},wp,e.duration);return $({getAutoHeightDuration:Sp,create:(o=["all"],i={})=>{const{duration:s=r.standard,easing:a=t.easeInOut,delay:l=0}=i;return Me(i,xp),(Array.isArray(o)?o:[o]).map(u=>`${u} ${typeof s=="string"?s:hi(s)} ${a} ${typeof l=="string"?l:hi(l)}`).join(",")}},e,{easing:t,duration:r})}const kp={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Cp=kp,Rp=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Op(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,s=Me(e,Rp);if(e.vars)throw new Error(ut(18));const a=cp(n),l=uo(e);let u=xe(l,{mixins:Kd(l.breakpoints,r),palette:a,shadows:vp.slice(),typography:pp(a,i),transitions:Ep(o),zIndex:$({},Cp)});return u=xe(u,s),u=t.reduce((f,c)=>xe(f,c),u),u.unstable_sxConfig=$({},ao,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(c){return lo({sx:c,theme:this})},u}const _p=Op(),ya=_p,va="$$material";function Tp({props:e,name:t}){return Dd({props:e,name:t,defaultTheme:ya,themeId:va})}const Pp=e=>rr(e)&&e!=="classes",$p=Ld({themeId:va,defaultTheme:ya,rootShouldForwardProp:Pp}),Ap=$p;function Fp(e){return Zs("MuiSvgIcon",e)}Pc("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const jp=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Np=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${_e(t)}`,`fontSize${_e(r)}`]};return Rc(o,Fp,n)},Mp=Ap("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${_e(r.color)}`],t[`fontSize${_e(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,s,a,l,u,f,c,m,v,p;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(s=i.pxToRem)==null?void 0:s.call(i,20))||"1.25rem",medium:((a=e.typography)==null||(l=a.pxToRem)==null?void 0:l.call(a,24))||"1.5rem",large:((u=e.typography)==null||(f=u.pxToRem)==null?void 0:f.call(u,35))||"2.1875rem"}[t.fontSize],color:(c=(m=(e.vars||e).palette)==null||(m=m[t.color])==null?void 0:m.main)!=null?c:{action:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.active,disabled:(p=(e.vars||e).palette)==null||(p=p.action)==null?void 0:p.disabled,inherit:void 0}[t.color]}}),xa=h.reactExports.forwardRef(function(t,r){const n=Tp({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:f=!1,titleAccess:c,viewBox:m="0 0 24 24"}=n,v=Me(n,jp),p=h.reactExports.isValidElement(o)&&o.type==="svg",d=$({},n,{color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:m,hasSvgAsChild:p}),g={};f||(g.viewBox=m);const y=Np(d);return h.jsxRuntimeExports.jsxs(Mp,$({as:a,className:$c(y.root,i),focusable:"false",color:u,"aria-hidden":c?void 0:!0,role:c?"img":void 0,ref:r},g,v,p&&o.props,{ownerState:d,children:[p?o.props.children:o,c?h.jsxRuntimeExports.jsx("title",{children:c}):null]}))});xa.muiName="SvgIcon";const mi=xa;function Ip(e,t){function r(n,o){return h.jsxRuntimeExports.jsx(mi,$({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return r.muiName=mi.muiName,h.reactExports.memo(h.reactExports.forwardRef(r))}const zp={configure:e=>{Ys.configure(e)}},Lp=Object.freeze(Object.defineProperty({__proto__:null,capitalize:_e,createChainedFunction:sc,createSvgIcon:Ip,debounce:ac,deprecatedPropType:lc,isMuiElement:uc,ownerDocument:Ks,ownerWindow:cc,requirePropFactory:fc,setRef:Gs,unstable_ClassNameGenerator:zp,unstable_useEnhancedEffect:Xs,unstable_useId:hc,unsupportedProp:mc,useControlled:gc,useEventCallback:yc,useForkRef:vc,useIsFocusVisible:Cc},Symbol.toStringTag,{value:"Module"})),Bp=h.getAugmentedNamespace(Lp);var gi;function Dp(){return gi||(gi=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Bp}(fn)),fn}var Wp=ec;Object.defineProperty(Qn,"__esModule",{value:!0});var ba=Qn.default=void 0,Up=Wp(Dp()),Vp=h.jsxRuntimeExports;ba=Qn.default=(0,Up.default)((0,Vp.jsx)("path",{d:"m10 17 5-5-5-5z"}),"ArrowRight");function wa({item:e,level:t=0,...r}){var y;const{isActive:n,isCollapsed:o,expanded:i,toggleExpand:s}=r,a=`level-${t}`,l=o?"collapsed":"expanded",u=n(e.id)?"active":"",f=(b,w=a)=>`${b} ${w} ${l} ${u}`,c=!!((y=e.children)!=null&&y.length),[m,v]=h.reactExports.useState(!1),p=h.reactExports.useRef();function d(b){var k;const{level:w,hovered:E,parentRef:O}=b;return!c||o&&w>=2&&!E?null:h.jsxRuntimeExports.jsx(Qu,{parentRef:O,onlyChild:!o||o&&w<2,children:h.jsxRuntimeExports.jsx(h.motion.div,{className:f("menu-item__dropdown",`level-${w}`),initial:{height:o?"auto":0},animate:{height:o||i(e.id)?"auto":0},transition:{duration:.2},children:(k=e.children)==null?void 0:k.map(R=>h.reactExports.createElement(wa,{...r,key:R.id,item:R,level:w}))},+o)})}const g=c?"div":mu;return h.jsxRuntimeExports.jsxs("div",{ref:p,className:f("menu-item__wrapper"),onMouseEnter:()=>o&&v(!0),onMouseLeave:()=>o&&v(!1),children:[h.jsxRuntimeExports.jsxs(g,{to:c?"#":e.path||"#",style:{paddingLeft:`${o?"0.5rem":`${t*1}rem`}`},className:f("menu-item__link"),onClick:b=>{c&&(b.preventDefault(),o||s(e.id))},children:[t!==0&&h.jsxRuntimeExports.jsx(Hp,{cls:f,item:e}),h.jsxRuntimeExports.jsx("span",{className:f("menu-item__label"),children:e.name}),c&&h.jsxRuntimeExports.jsx("div",{className:f("menu-item__icon-arrow__wrapper"),children:h.jsxRuntimeExports.jsx(ba,{className:f(`menu-item__icon-arrow__icon ${i(e.id)?"open":"close"}`),fontSize:"small"})})]}),d({level:t+1,hovered:m,parentRef:p})]},e.id)}function Hp({item:e,cls:t}){var i;const[r,n]=h.reactExports.useState(!1),o=()=>{n(!0)};return h.jsxRuntimeExports.jsx("div",{className:t("menu-item__icon"),children:r?h.jsxRuntimeExports.jsx("div",{style:{width:24,height:24,backgroundColor:"#dadada",borderRadius:"5px",display:"flex",justifyContent:"center"},children:(i=e.name.trim().at(0))==null?void 0:i.toUpperCase()}):h.jsxRuntimeExports.jsx("img",{src:e.icon||"/",alt:" ",style:{height:24,maxHeight:24},onError:o})})}function yi(e){for(;e.startsWith("/");)e=e.slice(1);return e}function Sa(e,t,r=[]){for(const n of e){if(console.log(n.path,t,n.path===t),yi(n.path||"")===yi(t))return[...r,n];if(n.children){const o=Sa(n.children,t,[...r,n]);if(o)return o}}return null}function qp(e){return h.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"20",fill:"none",viewBox:"0 0 18 20",...e,children:h.jsxRuntimeExports.jsx("path",{fill:"#E01B00",fillRule:"evenodd",d:"M.179 2.875A2.375 2.375 0 012.554.5h3.393a1.018 1.018 0 010 2.036H2.554a.34.34 0 00-.34.339v14.25c0 .187.152.34.34.34h3.393a1.018 1.018 0 110 2.035H2.554a2.375 2.375 0 01-2.375-2.375V2.875zm14.167 6.107h-7.72a1.018 1.018 0 000 2.036h7.72l-2.673 2.673a1.018 1.018 0 101.44 1.44l4.41-4.411a1.018 1.018 0 000-1.44l-4.41-4.41a1.018 1.018 0 10-1.44 1.439l2.673 2.673z",clipRule:"evenodd"})})}function Ea(e,t){return function(){return e.apply(t,arguments)}}const{toString:Kp}=Object.prototype,{getPrototypeOf:fo}=Object,Jr=(e=>t=>{const r=Kp.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Pe=e=>(e=e.toLowerCase(),t=>Jr(t)===e),Yr=e=>t=>typeof t===e,{isArray:mt}=Array,Nt=Yr("undefined");function Gp(e){return e!==null&&!Nt(e)&&e.constructor!==null&&!Nt(e.constructor)&&me(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ka=Pe("ArrayBuffer");function Xp(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ka(e.buffer),t}const Jp=Yr("string"),me=Yr("function"),Ca=Yr("number"),Zr=e=>e!==null&&typeof e=="object",Yp=e=>e===!0||e===!1,or=e=>{if(Jr(e)!=="object")return!1;const t=fo(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Zp=Pe("Date"),Qp=Pe("File"),eh=Pe("Blob"),th=Pe("FileList"),rh=e=>Zr(e)&&me(e.pipe),nh=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||me(e.append)&&((t=Jr(e))==="formdata"||t==="object"&&me(e.toString)&&e.toString()==="[object FormData]"))},oh=Pe("URLSearchParams"),ih=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ut(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),mt(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{const i=r?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let a;for(n=0;n<s;n++)a=i[n],t.call(null,e[a],a,e)}}function Ra(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,o;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const Oa=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),_a=e=>!Nt(e)&&e!==Oa;function Nn(){const{caseless:e}=_a(this)&&this||{},t={},r=(n,o)=>{const i=e&&Ra(t,o)||o;or(t[i])&&or(n)?t[i]=Nn(t[i],n):or(n)?t[i]=Nn({},n):mt(n)?t[i]=n.slice():t[i]=n};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&Ut(arguments[n],r);return t}const sh=(e,t,r,{allOwnKeys:n}={})=>(Ut(t,(o,i)=>{r&&me(o)?e[i]=Ea(o,r):e[i]=o},{allOwnKeys:n}),e),ah=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),lh=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},uh=(e,t,r,n)=>{let o,i,s;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!n||n(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=r!==!1&&fo(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},ch=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},fh=e=>{if(!e)return null;if(mt(e))return e;let t=e.length;if(!Ca(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},dh=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&fo(Uint8Array)),ph=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},hh=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},mh=Pe("HTMLFormElement"),gh=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),vi=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),yh=Pe("RegExp"),Ta=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Ut(r,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(n[i]=s||o)}),Object.defineProperties(e,n)},vh=e=>{Ta(e,(t,r)=>{if(me(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(me(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},xh=(e,t)=>{const r={},n=o=>{o.forEach(i=>{r[i]=!0})};return mt(e)?n(e):n(String(e).split(t)),r},bh=()=>{},wh=(e,t)=>(e=+e,Number.isFinite(e)?e:t),mn="abcdefghijklmnopqrstuvwxyz",xi="0123456789",Pa={DIGIT:xi,ALPHA:mn,ALPHA_DIGIT:mn+mn.toUpperCase()+xi},Sh=(e=16,t=Pa.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function Eh(e){return!!(e&&me(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const kh=e=>{const t=new Array(10),r=(n,o)=>{if(Zr(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const i=mt(n)?[]:{};return Ut(n,(s,a)=>{const l=r(s,o+1);!Nt(l)&&(i[a]=l)}),t[o]=void 0,i}}return n};return r(e,0)},Ch=Pe("AsyncFunction"),Rh=e=>e&&(Zr(e)||me(e))&&me(e.then)&&me(e.catch),x={isArray:mt,isArrayBuffer:ka,isBuffer:Gp,isFormData:nh,isArrayBufferView:Xp,isString:Jp,isNumber:Ca,isBoolean:Yp,isObject:Zr,isPlainObject:or,isUndefined:Nt,isDate:Zp,isFile:Qp,isBlob:eh,isRegExp:yh,isFunction:me,isStream:rh,isURLSearchParams:oh,isTypedArray:dh,isFileList:th,forEach:Ut,merge:Nn,extend:sh,trim:ih,stripBOM:ah,inherits:lh,toFlatObject:uh,kindOf:Jr,kindOfTest:Pe,endsWith:ch,toArray:fh,forEachEntry:ph,matchAll:hh,isHTMLForm:mh,hasOwnProperty:vi,hasOwnProp:vi,reduceDescriptors:Ta,freezeMethods:vh,toObjectSet:xh,toCamelCase:gh,noop:bh,toFiniteNumber:wh,findKey:Ra,global:Oa,isContextDefined:_a,ALPHABET:Pa,generateString:Sh,isSpecCompliantForm:Eh,toJSONObject:kh,isAsyncFn:Ch,isThenable:Rh};function A(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}x.inherits(A,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:x.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const $a=A.prototype,Aa={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Aa[e]={value:e}});Object.defineProperties(A,Aa);Object.defineProperty($a,"isAxiosError",{value:!0});A.from=(e,t,r,n,o,i)=>{const s=Object.create($a);return x.toFlatObject(e,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),A.call(s,e.message,t,r,n,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const Oh=null;function Mn(e){return x.isPlainObject(e)||x.isArray(e)}function Fa(e){return x.endsWith(e,"[]")?e.slice(0,-2):e}function bi(e,t,r){return e?e.concat(t).map(function(o,i){return o=Fa(o),!r&&i?"["+o+"]":o}).join(r?".":""):t}function _h(e){return x.isArray(e)&&!e.some(Mn)}const Th=x.toFlatObject(x,{},null,function(t){return/^is[A-Z]/.test(t)});function Qr(e,t,r){if(!x.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=x.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(d,g){return!x.isUndefined(g[d])});const n=r.metaTokens,o=r.visitor||f,i=r.dots,s=r.indexes,l=(r.Blob||typeof Blob<"u"&&Blob)&&x.isSpecCompliantForm(t);if(!x.isFunction(o))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(x.isDate(p))return p.toISOString();if(!l&&x.isBlob(p))throw new A("Blob is not supported. Use a Buffer instead.");return x.isArrayBuffer(p)||x.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function f(p,d,g){let y=p;if(p&&!g&&typeof p=="object"){if(x.endsWith(d,"{}"))d=n?d:d.slice(0,-2),p=JSON.stringify(p);else if(x.isArray(p)&&_h(p)||(x.isFileList(p)||x.endsWith(d,"[]"))&&(y=x.toArray(p)))return d=Fa(d),y.forEach(function(w,E){!(x.isUndefined(w)||w===null)&&t.append(s===!0?bi([d],E,i):s===null?d:d+"[]",u(w))}),!1}return Mn(p)?!0:(t.append(bi(g,d,i),u(p)),!1)}const c=[],m=Object.assign(Th,{defaultVisitor:f,convertValue:u,isVisitable:Mn});function v(p,d){if(!x.isUndefined(p)){if(c.indexOf(p)!==-1)throw Error("Circular reference detected in "+d.join("."));c.push(p),x.forEach(p,function(y,b){(!(x.isUndefined(y)||y===null)&&o.call(t,y,x.isString(b)?b.trim():b,d,m))===!0&&v(y,d?d.concat(b):[b])}),c.pop()}}if(!x.isObject(e))throw new TypeError("data must be an object");return v(e),t}function wi(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function po(e,t){this._pairs=[],e&&Qr(e,this,t)}const ja=po.prototype;ja.append=function(t,r){this._pairs.push([t,r])};ja.toString=function(t){const r=t?function(n){return t.call(this,n,wi)}:wi;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Ph(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Na(e,t,r){if(!t)return e;const n=r&&r.encode||Ph,o=r&&r.serialize;let i;if(o?i=o(t,r):i=x.isURLSearchParams(t)?t.toString():new po(t,r).toString(n),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class $h{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){x.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Si=$h,Ma={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ah=typeof URLSearchParams<"u"?URLSearchParams:po,Fh=typeof FormData<"u"?FormData:null,jh=typeof Blob<"u"?Blob:null,Nh={isBrowser:!0,classes:{URLSearchParams:Ah,FormData:Fh,Blob:jh},protocols:["http","https","file","blob","url","data"]},Ia=typeof window<"u"&&typeof document<"u",Mh=(e=>Ia&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Ih=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),zh=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ia,hasStandardBrowserEnv:Mh,hasStandardBrowserWebWorkerEnv:Ih},Symbol.toStringTag,{value:"Module"})),Oe={...zh,...Nh};function Lh(e,t){return Qr(e,new Oe.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,i){return Oe.isNode&&x.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Bh(e){return x.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Dh(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}function za(e){function t(r,n,o,i){let s=r[i++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),l=i>=r.length;return s=!s&&x.isArray(o)?o.length:s,l?(x.hasOwnProp(o,s)?o[s]=[o[s],n]:o[s]=n,!a):((!o[s]||!x.isObject(o[s]))&&(o[s]=[]),t(r,n,o[s],i)&&x.isArray(o[s])&&(o[s]=Dh(o[s])),!a)}if(x.isFormData(e)&&x.isFunction(e.entries)){const r={};return x.forEachEntry(e,(n,o)=>{t(Bh(n),o,r,0)}),r}return null}function Wh(e,t,r){if(x.isString(e))try{return(t||JSON.parse)(e),x.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const ho={transitional:Ma,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,i=x.isObject(t);if(i&&x.isHTMLForm(t)&&(t=new FormData(t)),x.isFormData(t))return o&&o?JSON.stringify(za(t)):t;if(x.isArrayBuffer(t)||x.isBuffer(t)||x.isStream(t)||x.isFile(t)||x.isBlob(t))return t;if(x.isArrayBufferView(t))return t.buffer;if(x.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Lh(t,this.formSerializer).toString();if((a=x.isFileList(t))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Qr(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||o?(r.setContentType("application/json",!1),Wh(t)):t}],transformResponse:[function(t){const r=this.transitional||ho.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(t&&x.isString(t)&&(n&&!this.responseType||o)){const s=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?A.from(a,A.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Oe.classes.FormData,Blob:Oe.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};x.forEach(["delete","get","head","post","put","patch"],e=>{ho.headers[e]={}});const mo=ho,Uh=x.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Vh=e=>{const t={};let r,n,o;return e&&e.split(`
|
|
35
|
+
`).forEach(function(s){o=s.indexOf(":"),r=s.substring(0,o).trim().toLowerCase(),n=s.substring(o+1).trim(),!(!r||t[r]&&Uh[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Ei=Symbol("internals");function St(e){return e&&String(e).trim().toLowerCase()}function ir(e){return e===!1||e==null?e:x.isArray(e)?e.map(ir):String(e)}function Hh(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const qh=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function gn(e,t,r,n,o){if(x.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!x.isString(t)){if(x.isString(n))return t.indexOf(n)!==-1;if(x.isRegExp(n))return n.test(t)}}function Kh(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Gh(e,t){const r=x.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,i,s){return this[n].call(this,t,o,i,s)},configurable:!0})})}class en{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function i(a,l,u){const f=St(l);if(!f)throw new Error("header name must be a non-empty string");const c=x.findKey(o,f);(!c||o[c]===void 0||u===!0||u===void 0&&o[c]!==!1)&&(o[c||l]=ir(a))}const s=(a,l)=>x.forEach(a,(u,f)=>i(u,f,l));return x.isPlainObject(t)||t instanceof this.constructor?s(t,r):x.isString(t)&&(t=t.trim())&&!qh(t)?s(Vh(t),r):t!=null&&i(r,t,n),this}get(t,r){if(t=St(t),t){const n=x.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return Hh(o);if(x.isFunction(r))return r.call(this,o,n);if(x.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=St(t),t){const n=x.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||gn(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function i(s){if(s=St(s),s){const a=x.findKey(n,s);a&&(!r||gn(n,n[a],a,r))&&(delete n[a],o=!0)}}return x.isArray(t)?t.forEach(i):i(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const i=r[n];(!t||gn(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const r=this,n={};return x.forEach(this,(o,i)=>{const s=x.findKey(n,i);if(s){r[s]=ir(o),delete r[i];return}const a=t?Kh(i):String(i).trim();a!==i&&delete r[i],r[a]=ir(o),n[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return x.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&x.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
|
|
36
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[Ei]=this[Ei]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=St(s);n[a]||(Gh(o,s),n[a]=!0)}return x.isArray(t)?t.forEach(i):i(t),this}}en.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);x.reduceDescriptors(en.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});x.freezeMethods(en);const Ae=en;function yn(e,t){const r=this||mo,n=t||r,o=Ae.from(n.headers);let i=n.data;return x.forEach(e,function(a){i=a.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function La(e){return!!(e&&e.__CANCEL__)}function Vt(e,t,r){A.call(this,e??"canceled",A.ERR_CANCELED,t,r),this.name="CanceledError"}x.inherits(Vt,A,{__CANCEL__:!0});function Xh(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new A("Request failed with status code "+r.status,[A.ERR_BAD_REQUEST,A.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const Jh=Oe.hasStandardBrowserEnv?{write(e,t,r,n,o,i){const s=[e+"="+encodeURIComponent(t)];x.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),x.isString(n)&&s.push("path="+n),x.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Yh(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Zh(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ba(e,t){return e&&!Yh(t)?Zh(e,t):t}const Qh=Oe.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function o(i){let s=i;return t&&(r.setAttribute("href",s),s=r.href),r.setAttribute("href",s),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(s){const a=x.isString(s)?o(s):s;return a.protocol===n.protocol&&a.host===n.host}}():function(){return function(){return!0}}();function em(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function tm(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),f=n[i];s||(s=u),r[o]=l,n[o]=u;let c=i,m=0;for(;c!==o;)m+=r[c++],c=c%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-s<t)return;const v=f&&u-f;return v?Math.round(m*1e3/v):void 0}}function ki(e,t){let r=0;const n=tm(50,250);return o=>{const i=o.loaded,s=o.lengthComputable?o.total:void 0,a=i-r,l=n(a),u=i<=s;r=i;const f={loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&u?(s-i)/l:void 0,event:o};f[t?"download":"upload"]=!0,e(f)}}const rm=typeof XMLHttpRequest<"u",nm=rm&&function(e){return new Promise(function(r,n){let o=e.data;const i=Ae.from(e.headers).normalize();let{responseType:s,withXSRFToken:a}=e,l;function u(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let f;if(x.isFormData(o)){if(Oe.hasStandardBrowserEnv||Oe.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((f=i.getContentType())!==!1){const[d,...g]=f?f.split(";").map(y=>y.trim()).filter(Boolean):[];i.setContentType([d||"multipart/form-data",...g].join("; "))}}let c=new XMLHttpRequest;if(e.auth){const d=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(d+":"+g))}const m=Ba(e.baseURL,e.url);c.open(e.method.toUpperCase(),Na(m,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function v(){if(!c)return;const d=Ae.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),y={data:!s||s==="text"||s==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:d,config:e,request:c};Xh(function(w){r(w),u()},function(w){n(w),u()},y),c=null}if("onloadend"in c?c.onloadend=v:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(v)},c.onabort=function(){c&&(n(new A("Request aborted",A.ECONNABORTED,e,c)),c=null)},c.onerror=function(){n(new A("Network Error",A.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let g=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const y=e.transitional||Ma;e.timeoutErrorMessage&&(g=e.timeoutErrorMessage),n(new A(g,y.clarifyTimeoutError?A.ETIMEDOUT:A.ECONNABORTED,e,c)),c=null},Oe.hasStandardBrowserEnv&&(a&&x.isFunction(a)&&(a=a(e)),a||a!==!1&&Qh(m))){const d=e.xsrfHeaderName&&e.xsrfCookieName&&Jh.read(e.xsrfCookieName);d&&i.set(e.xsrfHeaderName,d)}o===void 0&&i.setContentType(null),"setRequestHeader"in c&&x.forEach(i.toJSON(),function(g,y){c.setRequestHeader(y,g)}),x.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),s&&s!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",ki(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",ki(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=d=>{c&&(n(!d||d.type?new Vt(null,e,c):d),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const p=em(m);if(p&&Oe.protocols.indexOf(p)===-1){n(new A("Unsupported protocol "+p+":",A.ERR_BAD_REQUEST,e));return}c.send(o||null)})},In={http:Oh,xhr:nm};x.forEach(In,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ci=e=>`- ${e}`,om=e=>x.isFunction(e)||e===null||e===!1,Da={getAdapter:e=>{e=x.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let i=0;i<t;i++){r=e[i];let s;if(n=r,!om(r)&&(n=In[(s=String(r)).toLowerCase()],n===void 0))throw new A(`Unknown adapter '${s}'`);if(n)break;o[s||"#"+i]=n}if(!n){const i=Object.entries(o).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since :
|
|
37
|
+
`+i.map(Ci).join(`
|
|
38
|
+
`):" "+Ci(i[0]):"as no adapter specified";throw new A("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return n},adapters:In};function vn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Vt(null,e)}function Ri(e){return vn(e),e.headers=Ae.from(e.headers),e.data=yn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Da.getAdapter(e.adapter||mo.adapter)(e).then(function(n){return vn(e),n.data=yn.call(e,e.transformResponse,n),n.headers=Ae.from(n.headers),n},function(n){return La(n)||(vn(e),n&&n.response&&(n.response.data=yn.call(e,e.transformResponse,n.response),n.response.headers=Ae.from(n.response.headers))),Promise.reject(n)})}const Oi=e=>e instanceof Ae?e.toJSON():e;function dt(e,t){t=t||{};const r={};function n(u,f,c){return x.isPlainObject(u)&&x.isPlainObject(f)?x.merge.call({caseless:c},u,f):x.isPlainObject(f)?x.merge({},f):x.isArray(f)?f.slice():f}function o(u,f,c){if(x.isUndefined(f)){if(!x.isUndefined(u))return n(void 0,u,c)}else return n(u,f,c)}function i(u,f){if(!x.isUndefined(f))return n(void 0,f)}function s(u,f){if(x.isUndefined(f)){if(!x.isUndefined(u))return n(void 0,u)}else return n(void 0,f)}function a(u,f,c){if(c in t)return n(u,f);if(c in e)return n(void 0,u)}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(u,f)=>o(Oi(u),Oi(f),!0)};return x.forEach(Object.keys(Object.assign({},e,t)),function(f){const c=l[f]||o,m=c(e[f],t[f],f);x.isUndefined(m)&&c!==a||(r[f]=m)}),r}const Wa="1.6.5",go={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{go[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const _i={};go.transitional=function(t,r,n){function o(i,s){return"[Axios v"+Wa+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,a)=>{if(t===!1)throw new A(o(s," has been removed"+(r?" in "+r:"")),A.ERR_DEPRECATED);return r&&!_i[s]&&(_i[s]=!0,console.warn(o(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,s,a):!0}};function im(e,t,r){if(typeof e!="object")throw new A("options must be an object",A.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],s=t[i];if(s){const a=e[i],l=a===void 0||s(a,i,e);if(l!==!0)throw new A("option "+i+" must be "+l,A.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new A("Unknown option "+i,A.ERR_BAD_OPTION)}}const zn={assertOptions:im,validators:go},Be=zn.validators;class Cr{constructor(t){this.defaults=t,this.interceptors={request:new Si,response:new Si}}request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=dt(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:i}=r;n!==void 0&&zn.assertOptions(n,{silentJSONParsing:Be.transitional(Be.boolean),forcedJSONParsing:Be.transitional(Be.boolean),clarifyTimeoutError:Be.transitional(Be.boolean)},!1),o!=null&&(x.isFunction(o)?r.paramsSerializer={serialize:o}:zn.assertOptions(o,{encode:Be.function,serialize:Be.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&x.merge(i.common,i[r.method]);i&&x.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),r.headers=Ae.concat(s,i);const a=[];let l=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(r)===!1||(l=l&&d.synchronous,a.unshift(d.fulfilled,d.rejected))});const u=[];this.interceptors.response.forEach(function(d){u.push(d.fulfilled,d.rejected)});let f,c=0,m;if(!l){const p=[Ri.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,u),m=p.length,f=Promise.resolve(r);c<m;)f=f.then(p[c++],p[c++]);return f}m=a.length;let v=r;for(c=0;c<m;){const p=a[c++],d=a[c++];try{v=p(v)}catch(g){d.call(this,g);break}}try{f=Ri.call(this,v)}catch(p){return Promise.reject(p)}for(c=0,m=u.length;c<m;)f=f.then(u[c++],u[c++]);return f}getUri(t){t=dt(this.defaults,t);const r=Ba(t.baseURL,t.url);return Na(r,t.params,t.paramsSerializer)}}x.forEach(["delete","get","head","options"],function(t){Cr.prototype[t]=function(r,n){return this.request(dt(n||{},{method:t,url:r,data:(n||{}).data}))}});x.forEach(["post","put","patch"],function(t){function r(n){return function(i,s,a){return this.request(dt(a||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}Cr.prototype[t]=r(),Cr.prototype[t+"Form"]=r(!0)});const sr=Cr;class yo{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(o=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](o);n._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{n.subscribe(a),i=a}).then(o);return s.cancel=function(){n.unsubscribe(i)},s},t(function(i,s,a){n.reason||(n.reason=new Vt(i,s,a),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new yo(function(o){t=o}),cancel:t}}}const sm=yo;function am(e){return function(r){return e.apply(null,r)}}function lm(e){return x.isObject(e)&&e.isAxiosError===!0}const Ln={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ln).forEach(([e,t])=>{Ln[t]=e});const um=Ln;function Ua(e){const t=new sr(e),r=Ea(sr.prototype.request,t);return x.extend(r,sr.prototype,t,{allOwnKeys:!0}),x.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return Ua(dt(e,o))},r}const V=Ua(mo);V.Axios=sr;V.CanceledError=Vt;V.CancelToken=sm;V.isCancel=La;V.VERSION=Wa;V.toFormData=Qr;V.AxiosError=A;V.Cancel=V.CanceledError;V.all=function(t){return Promise.all(t)};V.spread=am;V.isAxiosError=lm;V.mergeConfig=dt;V.AxiosHeaders=Ae;V.formToJSON=e=>za(x.isHTMLForm(e)?new FormData(e):e);V.getAdapter=Da.getAdapter;V.HttpStatusCode=um;V.default=V;const cm=V,fm=`[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}
|
|
39
|
+
`;var gt={};/**
|
|
40
|
+
* @license React
|
|
41
|
+
* react-dom-server-legacy.browser.production.min.js
|
|
42
|
+
*
|
|
43
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
44
|
+
*
|
|
45
|
+
* This source code is licensed under the MIT license found in the
|
|
46
|
+
* LICENSE file in the root directory of this source tree.
|
|
47
|
+
*/var Va=h.reactExports;function _(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 te=Object.prototype.hasOwnProperty,dm=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ti={},Pi={};function Ha(e){return te.call(Pi,e)?!0:te.call(Ti,e)?!1:dm.test(e)?Pi[e]=!0:(Ti[e]=!0,!1)}function Z(e,t,r,n,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var G={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){G[e]=new Z(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];G[t]=new Z(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){G[e]=new Z(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){G[e]=new Z(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){G[e]=new Z(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){G[e]=new Z(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){G[e]=new Z(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){G[e]=new Z(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){G[e]=new Z(e,5,!1,e.toLowerCase(),null,!1,!1)});var vo=/[\-:]([a-z])/g;function xo(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(vo,xo);G[t]=new Z(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(vo,xo);G[t]=new Z(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(vo,xo);G[t]=new Z(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){G[e]=new Z(e,1,!1,e.toLowerCase(),null,!1,!1)});G.xlinkHref=new Z("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){G[e]=new Z(e,1,!1,e.toLowerCase(),null,!0,!0)});var ar={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pm=["Webkit","ms","Moz","O"];Object.keys(ar).forEach(function(e){pm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ar[t]=ar[e]})});var hm=/["'&<>]/;function Y(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var t=hm.exec(e);if(t){var r="",n,o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}var mm=/([A-Z])/g,gm=/^ms-/,Bn=Array.isArray;function $e(e,t){return{insertionMode:e,selectedValue:t}}function ym(e,t,r){switch(t){case"select":return $e(1,r.value!=null?r.value:r.defaultValue);case"svg":return $e(2,null);case"math":return $e(3,null);case"foreignObject":return $e(1,null);case"table":return $e(4,null);case"thead":case"tbody":case"tfoot":return $e(5,null);case"colgroup":return $e(7,null);case"tr":return $e(6,null)}return 4<=e.insertionMode||e.insertionMode===0?$e(1,null):e}var $i=new Map;function qa(e,t,r){if(typeof r!="object")throw Error(_(62));t=!0;for(var n in r)if(te.call(r,n)){var o=r[n];if(o!=null&&typeof o!="boolean"&&o!==""){if(n.indexOf("--")===0){var i=Y(n);o=Y((""+o).trim())}else{i=n;var s=$i.get(i);s!==void 0||(s=Y(i.replace(mm,"-$1").toLowerCase().replace(gm,"-ms-")),$i.set(i,s)),i=s,o=typeof o=="number"?o===0||te.call(ar,n)?""+o:o+"px":Y((""+o).trim())}t?(t=!1,e.push(' style="',i,":",o)):e.push(";",i,":",o)}}t||e.push('"')}function ie(e,t,r,n){switch(r){case"style":qa(e,t,n);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N"){if(t=G.hasOwnProperty(r)?G[r]:null,t!==null){switch(typeof n){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(r=t.attributeName,t.type){case 3:n&&e.push(" ",r,'=""');break;case 4:n===!0?e.push(" ",r,'=""'):n!==!1&&e.push(" ",r,'="',Y(n),'"');break;case 5:isNaN(n)||e.push(" ",r,'="',Y(n),'"');break;case 6:!isNaN(n)&&1<=n&&e.push(" ",r,'="',Y(n),'"');break;default:t.sanitizeURL&&(n=""+n),e.push(" ",r,'="',Y(n),'"')}}else if(Ha(r)){switch(typeof n){case"function":case"symbol":return;case"boolean":if(t=r.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-")return}e.push(" ",r,'="',Y(n),'"')}}}function lr(e,t,r){if(t!=null){if(r!=null)throw Error(_(60));if(typeof t!="object"||!("__html"in t))throw Error(_(61));t=t.__html,t!=null&&e.push(""+t)}}function vm(e){var t="";return Va.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function xn(e,t,r,n){e.push(Se(r));var o=r=null,i;for(i in t)if(te.call(t,i)){var s=t[i];if(s!=null)switch(i){case"children":r=s;break;case"dangerouslySetInnerHTML":o=s;break;default:ie(e,n,i,s)}}return e.push(">"),lr(e,o,r),typeof r=="string"?(e.push(Y(r)),null):r}var xm=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ai=new Map;function Se(e){var t=Ai.get(e);if(t===void 0){if(!xm.test(e))throw Error(_(65,e));t="<"+e,Ai.set(e,t)}return t}function bm(e,t,r,n,o){switch(t){case"select":e.push(Se("select"));var i=null,s=null;for(f in r)if(te.call(r,f)){var a=r[f];if(a!=null)switch(f){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;case"defaultValue":case"value":break;default:ie(e,n,f,a)}}return e.push(">"),lr(e,s,i),i;case"option":s=o.selectedValue,e.push(Se("option"));var l=a=null,u=null,f=null;for(i in r)if(te.call(r,i)){var c=r[i];if(c!=null)switch(i){case"children":a=c;break;case"selected":u=c;break;case"dangerouslySetInnerHTML":f=c;break;case"value":l=c;default:ie(e,n,i,c)}}if(s!=null)if(r=l!==null?""+l:vm(a),Bn(s)){for(n=0;n<s.length;n++)if(""+s[n]===r){e.push(' selected=""');break}}else""+s===r&&e.push(' selected=""');else u&&e.push(' selected=""');return e.push(">"),lr(e,f,a),a;case"textarea":e.push(Se("textarea")),f=s=i=null;for(a in r)if(te.call(r,a)&&(l=r[a],l!=null))switch(a){case"children":f=l;break;case"value":i=l;break;case"defaultValue":s=l;break;case"dangerouslySetInnerHTML":throw Error(_(91));default:ie(e,n,a,l)}if(i===null&&s!==null&&(i=s),e.push(">"),f!=null){if(i!=null)throw Error(_(92));if(Bn(f)&&1<f.length)throw Error(_(93));i=""+f}return typeof i=="string"&&i[0]===`
|
|
48
|
+
`&&e.push(`
|
|
49
|
+
`),i!==null&&e.push(Y(""+i)),null;case"input":e.push(Se("input")),l=f=a=i=null;for(s in r)if(te.call(r,s)&&(u=r[s],u!=null))switch(s){case"children":case"dangerouslySetInnerHTML":throw Error(_(399,"input"));case"defaultChecked":l=u;break;case"defaultValue":a=u;break;case"checked":f=u;break;case"value":i=u;break;default:ie(e,n,s,u)}return f!==null?ie(e,n,"checked",f):l!==null&&ie(e,n,"checked",l),i!==null?ie(e,n,"value",i):a!==null&&ie(e,n,"value",a),e.push("/>"),null;case"menuitem":e.push(Se("menuitem"));for(var m in r)if(te.call(r,m)&&(i=r[m],i!=null))switch(m){case"children":case"dangerouslySetInnerHTML":throw Error(_(400));default:ie(e,n,m,i)}return e.push(">"),null;case"title":e.push(Se("title")),i=null;for(c in r)if(te.call(r,c)&&(s=r[c],s!=null))switch(c){case"children":i=s;break;case"dangerouslySetInnerHTML":throw Error(_(434));default:ie(e,n,c,s)}return e.push(">"),i;case"listing":case"pre":e.push(Se(t)),s=i=null;for(l in r)if(te.call(r,l)&&(a=r[l],a!=null))switch(l){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;default:ie(e,n,l,a)}if(e.push(">"),s!=null){if(i!=null)throw Error(_(60));if(typeof s!="object"||!("__html"in s))throw Error(_(61));r=s.__html,r!=null&&(typeof r=="string"&&0<r.length&&r[0]===`
|
|
50
|
+
`?e.push(`
|
|
51
|
+
`,r):e.push(""+r))}return typeof i=="string"&&i[0]===`
|
|
52
|
+
`&&e.push(`
|
|
53
|
+
`),i;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":e.push(Se(t));for(var v in r)if(te.call(r,v)&&(i=r[v],i!=null))switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(_(399,t));default:ie(e,n,v,i)}return e.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return xn(e,r,t,n);case"html":return o.insertionMode===0&&e.push("<!DOCTYPE html>"),xn(e,r,t,n);default:if(t.indexOf("-")===-1&&typeof r.is!="string")return xn(e,r,t,n);e.push(Se(t)),s=i=null;for(u in r)if(te.call(r,u)&&(a=r[u],a!=null))switch(u){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;case"style":qa(e,n,a);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Ha(u)&&typeof a!="function"&&typeof a!="symbol"&&e.push(" ",u,'="',Y(a),'"')}return e.push(">"),lr(e,s,i),i}}function Fi(e,t,r){if(e.push('<!--$?--><template id="'),r===null)throw Error(_(395));return e.push(r),e.push('"></template>')}function wm(e,t,r,n){switch(r.insertionMode){case 0:case 1:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 2:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 3:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 4:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 5:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');default:throw Error(_(397))}}function Sm(e,t){switch(t.insertionMode){case 0:case 1:return e.push("</div>");case 2:return e.push("</svg>");case 3:return e.push("</math>");case 4:return e.push("</table>");case 5:return e.push("</tbody></table>");case 6:return e.push("</tr></table>");case 7:return e.push("</colgroup></table>");default:throw Error(_(397))}}var Em=/[<\u2028\u2029]/g;function bn(e){return JSON.stringify(e).replace(Em,function(t){switch(t){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function km(e,t){return t=t===void 0?"":t,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:t+"P:",segmentPrefix:t+"S:",boundaryPrefix:t+"B:",idPrefix:t,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:e}}function ji(e,t,r,n){return r.generateStaticMarkup?(e.push(Y(t)),!1):(t===""?e=n:(n&&e.push("<!-- -->"),e.push(Y(t)),e=!0),e)}var _t=Object.assign,Cm=Symbol.for("react.element"),Ka=Symbol.for("react.portal"),Ga=Symbol.for("react.fragment"),Xa=Symbol.for("react.strict_mode"),Ja=Symbol.for("react.profiler"),Ya=Symbol.for("react.provider"),Za=Symbol.for("react.context"),Qa=Symbol.for("react.forward_ref"),el=Symbol.for("react.suspense"),tl=Symbol.for("react.suspense_list"),rl=Symbol.for("react.memo"),bo=Symbol.for("react.lazy"),Rm=Symbol.for("react.scope"),Om=Symbol.for("react.debug_trace_mode"),_m=Symbol.for("react.legacy_hidden"),Tm=Symbol.for("react.default_value"),Ni=Symbol.iterator;function Dn(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ga:return"Fragment";case Ka:return"Portal";case Ja:return"Profiler";case Xa:return"StrictMode";case el:return"Suspense";case tl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Za:return(e.displayName||"Context")+".Consumer";case Ya:return(e._context.displayName||"Context")+".Provider";case Qa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case rl:return t=e.displayName||null,t!==null?t:Dn(e.type)||"Memo";case bo:t=e._payload,e=e._init;try{return Dn(e(t))}catch{}}return null}var nl={};function Mi(e,t){if(e=e.contextTypes,!e)return nl;var r={},n;for(n in e)r[n]=t[n];return r}var Ye=null;function tn(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var r=t.parent;if(e===null){if(r!==null)throw Error(_(401))}else{if(r===null)throw Error(_(401));tn(e,r)}t.context._currentValue2=t.value}}function ol(e){e.context._currentValue2=e.parentValue,e=e.parent,e!==null&&ol(e)}function il(e){var t=e.parent;t!==null&&il(t),e.context._currentValue2=e.value}function sl(e,t){if(e.context._currentValue2=e.parentValue,e=e.parent,e===null)throw Error(_(402));e.depth===t.depth?tn(e,t):sl(e,t)}function al(e,t){var r=t.parent;if(r===null)throw Error(_(402));e.depth===r.depth?tn(e,r):al(e,r),t.context._currentValue2=t.value}function Rr(e){var t=Ye;t!==e&&(t===null?il(e):e===null?ol(t):t.depth===e.depth?tn(t,e):t.depth>e.depth?sl(t,e):al(t,e),Ye=e)}var Ii={isMounted:function(){return!1},enqueueSetState:function(e,t){e=e._reactInternals,e.queue!==null&&e.queue.push(t)},enqueueReplaceState:function(e,t){e=e._reactInternals,e.replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function zi(e,t,r,n){var o=e.state!==void 0?e.state:null;e.updater=Ii,e.props=r,e.state=o;var i={queue:[],replace:!1};e._reactInternals=i;var s=t.contextType;if(e.context=typeof s=="object"&&s!==null?s._currentValue2:n,s=t.getDerivedStateFromProps,typeof s=="function"&&(s=s(r,o),o=s==null?o:_t({},o,s),e.state=o),typeof t.getDerivedStateFromProps!="function"&&typeof e.getSnapshotBeforeUpdate!="function"&&(typeof e.UNSAFE_componentWillMount=="function"||typeof e.componentWillMount=="function"))if(t=e.state,typeof e.componentWillMount=="function"&&e.componentWillMount(),typeof e.UNSAFE_componentWillMount=="function"&&e.UNSAFE_componentWillMount(),t!==e.state&&Ii.enqueueReplaceState(e,e.state,null),i.queue!==null&&0<i.queue.length)if(t=i.queue,s=i.replace,i.queue=null,i.replace=!1,s&&t.length===1)e.state=t[0];else{for(i=s?t[0]:e.state,o=!0,s=s?1:0;s<t.length;s++){var a=t[s];a=typeof a=="function"?a.call(e,i,r,n):a,a!=null&&(o?(o=!1,i=_t({},i,a)):_t(i,a))}e.state=i}else i.queue=null}var Pm={id:1,overflow:""};function Wn(e,t,r){var n=e.id;e=e.overflow;var o=32-ur(n)-1;n&=~(1<<o),r+=1;var i=32-ur(t)+o;if(30<i){var s=o-o%5;return i=(n&(1<<s)-1).toString(32),n>>=s,o-=s,{id:1<<32-ur(t)+o|r<<o|n,overflow:i+e}}return{id:1<<i|r<<o|n,overflow:e}}var ur=Math.clz32?Math.clz32:Fm,$m=Math.log,Am=Math.LN2;function Fm(e){return e>>>=0,e===0?32:31-($m(e)/Am|0)|0}function jm(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Nm=typeof Object.is=="function"?Object.is:jm,je=null,wo=null,cr=null,M=null,Et=!1,Or=!1,Mt=0,Ve=null,rn=0;function Ke(){if(je===null)throw Error(_(321));return je}function Li(){if(0<rn)throw Error(_(312));return{memoizedState:null,queue:null,next:null}}function So(){return M===null?cr===null?(Et=!1,cr=M=Li()):(Et=!0,M=cr):M.next===null?(Et=!1,M=M.next=Li()):(Et=!0,M=M.next),M}function Eo(){wo=je=null,Or=!1,cr=null,rn=0,M=Ve=null}function ll(e,t){return typeof t=="function"?t(e):t}function Bi(e,t,r){if(je=Ke(),M=So(),Et){var n=M.queue;if(t=n.dispatch,Ve!==null&&(r=Ve.get(n),r!==void 0)){Ve.delete(n),n=M.memoizedState;do n=e(n,r.action),r=r.next;while(r!==null);return M.memoizedState=n,[n,t]}return[M.memoizedState,t]}return e=e===ll?typeof t=="function"?t():t:r!==void 0?r(t):t,M.memoizedState=e,e=M.queue={last:null,dispatch:null},e=e.dispatch=Mm.bind(null,je,e),[M.memoizedState,e]}function Di(e,t){if(je=Ke(),M=So(),t=t===void 0?null:t,M!==null){var r=M.memoizedState;if(r!==null&&t!==null){var n=r[1];e:if(n===null)n=!1;else{for(var o=0;o<n.length&&o<t.length;o++)if(!Nm(t[o],n[o])){n=!1;break e}n=!0}if(n)return r[0]}}return e=e(),M.memoizedState=[e,t],e}function Mm(e,t,r){if(25<=rn)throw Error(_(301));if(e===je)if(Or=!0,e={action:r,next:null},Ve===null&&(Ve=new Map),r=Ve.get(t),r===void 0)Ve.set(t,e);else{for(t=r;t.next!==null;)t=t.next;t.next=e}}function Im(){throw Error(_(394))}function Gt(){}var Wi={readContext:function(e){return e._currentValue2},useContext:function(e){return Ke(),e._currentValue2},useMemo:Di,useReducer:Bi,useRef:function(e){je=Ke(),M=So();var t=M.memoizedState;return t===null?(e={current:e},M.memoizedState=e):t},useState:function(e){return Bi(ll,e)},useInsertionEffect:Gt,useLayoutEffect:function(){},useCallback:function(e,t){return Di(function(){return e},t)},useImperativeHandle:Gt,useEffect:Gt,useDebugValue:Gt,useDeferredValue:function(e){return Ke(),e},useTransition:function(){return Ke(),[!1,Im]},useId:function(){var e=wo.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-ur(e)-1)).toString(32)+t;var r=fr;if(r===null)throw Error(_(404));return t=Mt++,e=":"+r.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return Ke(),t(e._source)},useSyncExternalStore:function(e,t,r){if(r===void 0)throw Error(_(407));return r()}},fr=null,wn=Va.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function zm(e){return console.error(e),null}function kt(){}function Lm(e,t,r,n,o,i,s,a,l){var u=[],f=new Set;return t={destination:null,responseState:t,progressiveChunkSize:n===void 0?12800:n,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:f,pingedTasks:u,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:o===void 0?zm:o,onAllReady:i===void 0?kt:i,onShellReady:s===void 0?kt:s,onShellError:a===void 0?kt:a,onFatalError:l===void 0?kt:l},r=_r(t,0,null,r,!1,!1),r.parentFlushed=!0,e=ko(t,e,null,r,f,nl,null,Pm),u.push(e),t}function ko(e,t,r,n,o,i,s,a){e.allPendingTasks++,r===null?e.pendingRootTasks++:r.pendingTasks++;var l={node:t,ping:function(){var u=e.pingedTasks;u.push(l),u.length===1&&fl(e)},blockedBoundary:r,blockedSegment:n,abortSet:o,legacyContext:i,context:s,treeContext:a};return o.add(l),l}function _r(e,t,r,n,o,i){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:n,boundary:r,lastPushedText:o,textEmbedded:i}}function It(e,t){if(e=e.onError(t),e!=null&&typeof e!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function Tr(e,t){var r=e.onShellError;r(t),r=e.onFatalError,r(t),e.destination!==null?(e.status=2,e.destination.destroy(t)):(e.status=1,e.fatalError=t)}function Ui(e,t,r,n,o){for(je={},wo=t,Mt=0,e=r(n,o);Or;)Or=!1,Mt=0,rn+=1,M=null,e=r(n,o);return Eo(),e}function Vi(e,t,r,n){var o=r.render(),i=n.childContextTypes;if(i!=null){var s=t.legacyContext;if(typeof r.getChildContext!="function")n=s;else{r=r.getChildContext();for(var a in r)if(!(a in i))throw Error(_(108,Dn(n)||"Unknown",a));n=_t({},s,r)}t.legacyContext=n,le(e,t,o),t.legacyContext=s}else le(e,t,o)}function Hi(e,t){if(e&&e.defaultProps){t=_t({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function Un(e,t,r,n,o){if(typeof r=="function")if(r.prototype&&r.prototype.isReactComponent){o=Mi(r,t.legacyContext);var i=r.contextType;i=new r(n,typeof i=="object"&&i!==null?i._currentValue2:o),zi(i,r,n,o),Vi(e,t,i,r)}else{i=Mi(r,t.legacyContext),o=Ui(e,t,r,n,i);var s=Mt!==0;if(typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0)zi(o,r,n,i),Vi(e,t,o,r);else if(s){n=t.treeContext,t.treeContext=Wn(n,1,0);try{le(e,t,o)}finally{t.treeContext=n}}else le(e,t,o)}else if(typeof r=="string"){switch(o=t.blockedSegment,i=bm(o.chunks,r,n,e.responseState,o.formatContext),o.lastPushedText=!1,s=o.formatContext,o.formatContext=ym(s,r,n),Vn(e,t,i),o.formatContext=s,r){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:o.chunks.push("</",r,">")}o.lastPushedText=!1}else{switch(r){case _m:case Om:case Xa:case Ja:case Ga:le(e,t,n.children);return;case tl:le(e,t,n.children);return;case Rm:throw Error(_(343));case el:e:{r=t.blockedBoundary,o=t.blockedSegment,i=n.fallback,n=n.children,s=new Set;var a={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s,errorDigest:null},l=_r(e,o.chunks.length,a,o.formatContext,!1,!1);o.children.push(l),o.lastPushedText=!1;var u=_r(e,0,null,o.formatContext,!1,!1);u.parentFlushed=!0,t.blockedBoundary=a,t.blockedSegment=u;try{if(Vn(e,t,n),e.responseState.generateStaticMarkup||u.lastPushedText&&u.textEmbedded&&u.chunks.push("<!-- -->"),u.status=1,Pr(a,u),a.pendingTasks===0)break e}catch(f){u.status=4,a.forceClientRender=!0,a.errorDigest=It(e,f)}finally{t.blockedBoundary=r,t.blockedSegment=o}t=ko(e,i,r,l,s,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if(typeof r=="object"&&r!==null)switch(r.$$typeof){case Qa:if(n=Ui(e,t,r.render,n,o),Mt!==0){r=t.treeContext,t.treeContext=Wn(r,1,0);try{le(e,t,n)}finally{t.treeContext=r}}else le(e,t,n);return;case rl:r=r.type,n=Hi(r,n),Un(e,t,r,n,o);return;case Ya:if(o=n.children,r=r._context,n=n.value,i=r._currentValue2,r._currentValue2=n,s=Ye,Ye=n={parent:s,depth:s===null?0:s.depth+1,context:r,parentValue:i,value:n},t.context=n,le(e,t,o),e=Ye,e===null)throw Error(_(403));n=e.parentValue,e.context._currentValue2=n===Tm?e.context._defaultValue:n,e=Ye=e.parent,t.context=e;return;case Za:n=n.children,n=n(r._currentValue2),le(e,t,n);return;case bo:o=r._init,r=o(r._payload),n=Hi(r,n),Un(e,t,r,n,void 0);return}throw Error(_(130,r==null?r:typeof r,""))}}function le(e,t,r){if(t.node=r,typeof r=="object"&&r!==null){switch(r.$$typeof){case Cm:Un(e,t,r.type,r.props,r.ref);return;case Ka:throw Error(_(257));case bo:var n=r._init;r=n(r._payload),le(e,t,r);return}if(Bn(r)){qi(e,t,r);return}if(r===null||typeof r!="object"?n=null:(n=Ni&&r[Ni]||r["@@iterator"],n=typeof n=="function"?n:null),n&&(n=n.call(r))){if(r=n.next(),!r.done){var o=[];do o.push(r.value),r=n.next();while(!r.done);qi(e,t,o)}return}throw e=Object.prototype.toString.call(r),Error(_(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}typeof r=="string"?(n=t.blockedSegment,n.lastPushedText=ji(t.blockedSegment.chunks,r,e.responseState,n.lastPushedText)):typeof r=="number"&&(n=t.blockedSegment,n.lastPushedText=ji(t.blockedSegment.chunks,""+r,e.responseState,n.lastPushedText))}function qi(e,t,r){for(var n=r.length,o=0;o<n;o++){var i=t.treeContext;t.treeContext=Wn(i,n,o);try{Vn(e,t,r[o])}finally{t.treeContext=i}}}function Vn(e,t,r){var n=t.blockedSegment.formatContext,o=t.legacyContext,i=t.context;try{return le(e,t,r)}catch(l){if(Eo(),typeof l=="object"&&l!==null&&typeof l.then=="function"){r=l;var s=t.blockedSegment,a=_r(e,s.chunks.length,null,s.formatContext,s.lastPushedText,!0);s.children.push(a),s.lastPushedText=!1,e=ko(e,t.node,t.blockedBoundary,a,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,r.then(e,e),t.blockedSegment.formatContext=n,t.legacyContext=o,t.context=i,Rr(i)}else throw t.blockedSegment.formatContext=n,t.legacyContext=o,t.context=i,Rr(i),l}}function Bm(e){var t=e.blockedBoundary;e=e.blockedSegment,e.status=3,cl(this,t,e)}function ul(e,t,r){var n=e.blockedBoundary;e.blockedSegment.status=3,n===null?(t.allPendingTasks--,t.status!==2&&(t.status=2,t.destination!==null&&t.destination.push(null))):(n.pendingTasks--,n.forceClientRender||(n.forceClientRender=!0,e=r===void 0?Error(_(432)):r,n.errorDigest=t.onError(e),n.parentFlushed&&t.clientRenderedBoundaries.push(n)),n.fallbackAbortableTasks.forEach(function(o){return ul(o,t,r)}),n.fallbackAbortableTasks.clear(),t.allPendingTasks--,t.allPendingTasks===0&&(n=t.onAllReady,n()))}function Pr(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null){var r=t.children[0];r.id=t.id,r.parentFlushed=!0,r.status===1&&Pr(e,r)}else e.completedSegments.push(t)}function cl(e,t,r){if(t===null){if(r.parentFlushed){if(e.completedRootSegment!==null)throw Error(_(389));e.completedRootSegment=r}e.pendingRootTasks--,e.pendingRootTasks===0&&(e.onShellError=kt,t=e.onShellReady,t())}else t.pendingTasks--,t.forceClientRender||(t.pendingTasks===0?(r.parentFlushed&&r.status===1&&Pr(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(Bm,e),t.fallbackAbortableTasks.clear()):r.parentFlushed&&r.status===1&&(Pr(t,r),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,e.allPendingTasks===0&&(e=e.onAllReady,e())}function fl(e){if(e.status!==2){var t=Ye,r=wn.current;wn.current=Wi;var n=fr;fr=e.responseState;try{var o=e.pingedTasks,i;for(i=0;i<o.length;i++){var s=o[i],a=e,l=s.blockedSegment;if(l.status===0){Rr(s.context);try{le(a,s,s.node),a.responseState.generateStaticMarkup||l.lastPushedText&&l.textEmbedded&&l.chunks.push("<!-- -->"),s.abortSet.delete(s),l.status=1,cl(a,s.blockedBoundary,l)}catch(p){if(Eo(),typeof p=="object"&&p!==null&&typeof p.then=="function"){var u=s.ping;p.then(u,u)}else{s.abortSet.delete(s),l.status=4;var f=s.blockedBoundary,c=p,m=It(a,c);if(f===null?Tr(a,c):(f.pendingTasks--,f.forceClientRender||(f.forceClientRender=!0,f.errorDigest=m,f.parentFlushed&&a.clientRenderedBoundaries.push(f))),a.allPendingTasks--,a.allPendingTasks===0){var v=a.onAllReady;v()}}}finally{}}}o.splice(0,i),e.destination!==null&&Co(e,e.destination)}catch(p){It(e,p),Tr(e,p)}finally{fr=n,wn.current=r,r===Wi&&Rr(t)}}}function Xt(e,t,r){switch(r.parentFlushed=!0,r.status){case 0:var n=r.id=e.nextSegmentId++;return r.lastPushedText=!1,r.textEmbedded=!1,e=e.responseState,t.push('<template id="'),t.push(e.placeholderPrefix),e=n.toString(16),t.push(e),t.push('"></template>');case 1:r.status=2;var o=!0;n=r.chunks;var i=0;r=r.children;for(var s=0;s<r.length;s++){for(o=r[s];i<o.index;i++)t.push(n[i]);o=nn(e,t,o)}for(;i<n.length-1;i++)t.push(n[i]);return i<n.length&&(o=t.push(n[i])),o;default:throw Error(_(390))}}function nn(e,t,r){var n=r.boundary;if(n===null)return Xt(e,t,r);if(n.parentFlushed=!0,n.forceClientRender)return e.responseState.generateStaticMarkup||(n=n.errorDigest,t.push("<!--$!-->"),t.push("<template"),n&&(t.push(' data-dgst="'),n=Y(n),t.push(n),t.push('"')),t.push("></template>")),Xt(e,t,r),e=e.responseState.generateStaticMarkup?!0:t.push("<!--/$-->"),e;if(0<n.pendingTasks){n.rootSegmentID=e.nextSegmentId++,0<n.completedSegments.length&&e.partialBoundaries.push(n);var o=e.responseState,i=o.nextSuspenseID++;return o=o.boundaryPrefix+i.toString(16),n=n.id=o,Fi(t,e.responseState,n),Xt(e,t,r),t.push("<!--/$-->")}if(n.byteSize>e.progressiveChunkSize)return n.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(n),Fi(t,e.responseState,n.id),Xt(e,t,r),t.push("<!--/$-->");if(e.responseState.generateStaticMarkup||t.push("<!--$-->"),r=n.completedSegments,r.length!==1)throw Error(_(391));return nn(e,t,r[0]),e=e.responseState.generateStaticMarkup?!0:t.push("<!--/$-->"),e}function Ki(e,t,r){return wm(t,e.responseState,r.formatContext,r.id),nn(e,t,r),Sm(t,r.formatContext)}function Gi(e,t,r){for(var n=r.completedSegments,o=0;o<n.length;o++)dl(e,t,r,n[o]);if(n.length=0,e=e.responseState,n=r.id,r=r.rootSegmentID,t.push(e.startInlineScript),e.sentCompleteBoundaryFunction?t.push('$RC("'):(e.sentCompleteBoundaryFunction=!0,t.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),n===null)throw Error(_(395));return r=r.toString(16),t.push(n),t.push('","'),t.push(e.segmentPrefix),t.push(r),t.push('")<\/script>')}function dl(e,t,r,n){if(n.status===2)return!0;var o=n.id;if(o===-1){if((n.id=r.rootSegmentID)===-1)throw Error(_(392));return Ki(e,t,n)}return Ki(e,t,n),e=e.responseState,t.push(e.startInlineScript),e.sentCompleteSegmentFunction?t.push('$RS("'):(e.sentCompleteSegmentFunction=!0,t.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),t.push(e.segmentPrefix),o=o.toString(16),t.push(o),t.push('","'),t.push(e.placeholderPrefix),t.push(o),t.push('")<\/script>')}function Co(e,t){try{var r=e.completedRootSegment;if(r!==null&&e.pendingRootTasks===0){nn(e,t,r),e.completedRootSegment=null;var n=e.responseState.bootstrapChunks;for(r=0;r<n.length-1;r++)t.push(n[r]);r<n.length&&t.push(n[r])}var o=e.clientRenderedBoundaries,i;for(i=0;i<o.length;i++){var s=o[i];n=t;var a=e.responseState,l=s.id,u=s.errorDigest,f=s.errorMessage,c=s.errorComponentStack;if(n.push(a.startInlineScript),a.sentClientRenderFunction?n.push('$RX("'):(a.sentClientRenderFunction=!0,n.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),l===null)throw Error(_(395));if(n.push(l),n.push('"'),u||f||c){n.push(",");var m=bn(u||"");n.push(m)}if(f||c){n.push(",");var v=bn(f||"");n.push(v)}if(c){n.push(",");var p=bn(c);n.push(p)}if(!n.push(")<\/script>")){e.destination=null,i++,o.splice(0,i);return}}o.splice(0,i);var d=e.completedBoundaries;for(i=0;i<d.length;i++)if(!Gi(e,t,d[i])){e.destination=null,i++,d.splice(0,i);return}d.splice(0,i);var g=e.partialBoundaries;for(i=0;i<g.length;i++){var y=g[i];e:{o=e,s=t;var b=y.completedSegments;for(a=0;a<b.length;a++)if(!dl(o,s,y,b[a])){a++,b.splice(0,a);var w=!1;break e}b.splice(0,a),w=!0}if(!w){e.destination=null,i++,g.splice(0,i);return}}g.splice(0,i);var E=e.completedBoundaries;for(i=0;i<E.length;i++)if(!Gi(e,t,E[i])){e.destination=null,i++,E.splice(0,i);return}E.splice(0,i)}finally{e.allPendingTasks===0&&e.pingedTasks.length===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&t.push(null)}}function Dm(e,t){try{var r=e.abortableTasks;r.forEach(function(n){return ul(n,e,t)}),r.clear(),e.destination!==null&&Co(e,e.destination)}catch(n){It(e,n),Tr(e,n)}}function Wm(){}function pl(e,t,r,n){var o=!1,i=null,s="",a={push:function(u){return u!==null&&(s+=u),!0},destroy:function(u){o=!0,i=u}},l=!1;if(e=Lm(e,km(r,t?t.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Wm,void 0,function(){l=!0},void 0,void 0),fl(e),Dm(e,n),e.status===1)e.status=2,a.destroy(e.fatalError);else if(e.status!==2&&e.destination===null){e.destination=a;try{Co(e,a)}catch(u){It(e,u),Tr(e,u)}}if(o)throw i;if(!l)throw Error(_(426));return s}gt.renderToNodeStream=function(){throw Error(_(207))};gt.renderToStaticMarkup=function(e,t){return pl(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')};gt.renderToStaticNodeStream=function(){throw Error(_(208))};gt.renderToString=function(e,t){return pl(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')};gt.version="18.2.0";var Ro={};/**
|
|
54
|
+
* @license React
|
|
55
|
+
* react-dom-server.browser.production.min.js
|
|
56
|
+
*
|
|
57
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
58
|
+
*
|
|
59
|
+
* This source code is licensed under the MIT license found in the
|
|
60
|
+
* LICENSE file in the root directory of this source tree.
|
|
61
|
+
*/var hl=h.reactExports;function T(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 ue=null,ce=0;function C(e,t){if(t.length!==0)if(512<t.length)0<ce&&(e.enqueue(new Uint8Array(ue.buffer,0,ce)),ue=new Uint8Array(512),ce=0),e.enqueue(t);else{var r=ue.length-ce;r<t.length&&(r===0?e.enqueue(ue):(ue.set(t.subarray(0,r),ce),e.enqueue(ue),t=t.subarray(r)),ue=new Uint8Array(512),ce=0),ue.set(t,ce),ce+=t.length}}function z(e,t){return C(e,t),!0}function Xi(e){ue&&0<ce&&(e.enqueue(new Uint8Array(ue.buffer,0,ce)),ue=null,ce=0)}var ml=new TextEncoder;function P(e){return ml.encode(e)}function S(e){return ml.encode(e)}function gl(e,t){typeof e.error=="function"?e.error(t):e.close()}var re=Object.prototype.hasOwnProperty,Um=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ji={},Yi={};function yl(e){return re.call(Yi,e)?!0:re.call(Ji,e)?!1:Um.test(e)?Yi[e]=!0:(Ji[e]=!0,!1)}function Q(e,t,r,n,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var X={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){X[e]=new Q(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];X[t]=new Q(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){X[e]=new Q(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){X[e]=new Q(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){X[e]=new Q(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){X[e]=new Q(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){X[e]=new Q(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){X[e]=new Q(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){X[e]=new Q(e,5,!1,e.toLowerCase(),null,!1,!1)});var Oo=/[\-:]([a-z])/g;function _o(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Oo,_o);X[t]=new Q(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Oo,_o);X[t]=new Q(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Oo,_o);X[t]=new Q(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){X[e]=new Q(e,1,!1,e.toLowerCase(),null,!1,!1)});X.xlinkHref=new Q("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){X[e]=new Q(e,1,!1,e.toLowerCase(),null,!0,!0)});var dr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Vm=["Webkit","ms","Moz","O"];Object.keys(dr).forEach(function(e){Vm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),dr[t]=dr[e]})});var Hm=/["'&<>]/;function K(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var t=Hm.exec(e);if(t){var r="",n,o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}var qm=/([A-Z])/g,Km=/^ms-/,Hn=Array.isArray,Gm=S("<script>"),Xm=S("<\/script>"),Jm=S('<script src="'),Ym=S('<script type="module" src="'),Zi=S('" async=""><\/script>'),Zm=/(<\/|<)(s)(cript)/gi;function Qm(e,t,r,n){return""+t+(r==="s"?"\\u0073":"\\u0053")+n}function e0(e,t,r,n,o){e=e===void 0?"":e,t=t===void 0?Gm:S('<script nonce="'+K(t)+'">');var i=[];if(r!==void 0&&i.push(t,P((""+r).replace(Zm,Qm)),Xm),n!==void 0)for(r=0;r<n.length;r++)i.push(Jm,P(K(n[r])),Zi);if(o!==void 0)for(n=0;n<o.length;n++)i.push(Ym,P(K(o[n])),Zi);return{bootstrapChunks:i,startInlineScript:t,placeholderPrefix:S(e+"P:"),segmentPrefix:S(e+"S:"),boundaryPrefix:e+"B:",idPrefix:e,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function Ee(e,t){return{insertionMode:e,selectedValue:t}}function t0(e){return Ee(e==="http://www.w3.org/2000/svg"?2:e==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function r0(e,t,r){switch(t){case"select":return Ee(1,r.value!=null?r.value:r.defaultValue);case"svg":return Ee(2,null);case"math":return Ee(3,null);case"foreignObject":return Ee(1,null);case"table":return Ee(4,null);case"thead":case"tbody":case"tfoot":return Ee(5,null);case"colgroup":return Ee(7,null);case"tr":return Ee(6,null)}return 4<=e.insertionMode||e.insertionMode===0?Ee(1,null):e}var To=S("<!-- -->");function Qi(e,t,r,n){return t===""?n:(n&&e.push(To),e.push(P(K(t))),!0)}var es=new Map,n0=S(' style="'),ts=S(":"),o0=S(";");function vl(e,t,r){if(typeof r!="object")throw Error(T(62));t=!0;for(var n in r)if(re.call(r,n)){var o=r[n];if(o!=null&&typeof o!="boolean"&&o!==""){if(n.indexOf("--")===0){var i=P(K(n));o=P(K((""+o).trim()))}else{i=n;var s=es.get(i);s!==void 0||(s=S(K(i.replace(qm,"-$1").toLowerCase().replace(Km,"-ms-"))),es.set(i,s)),i=s,o=typeof o=="number"?o===0||re.call(dr,n)?P(""+o):P(o+"px"):P(K((""+o).trim()))}t?(t=!1,e.push(n0,i,ts,o)):e.push(o0,i,ts,o)}}t||e.push(Ge)}var De=S(" "),it=S('="'),Ge=S('"'),rs=S('=""');function se(e,t,r,n){switch(r){case"style":vl(e,t,n);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N"){if(t=X.hasOwnProperty(r)?X[r]:null,t!==null){switch(typeof n){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(r=P(t.attributeName),t.type){case 3:n&&e.push(De,r,rs);break;case 4:n===!0?e.push(De,r,rs):n!==!1&&e.push(De,r,it,P(K(n)),Ge);break;case 5:isNaN(n)||e.push(De,r,it,P(K(n)),Ge);break;case 6:!isNaN(n)&&1<=n&&e.push(De,r,it,P(K(n)),Ge);break;default:t.sanitizeURL&&(n=""+n),e.push(De,r,it,P(K(n)),Ge)}}else if(yl(r)){switch(typeof n){case"function":case"symbol":return;case"boolean":if(t=r.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-")return}e.push(De,P(r),it,P(K(n)),Ge)}}}var We=S(">"),ns=S("/>");function pr(e,t,r){if(t!=null){if(r!=null)throw Error(T(60));if(typeof t!="object"||!("__html"in t))throw Error(T(61));t=t.__html,t!=null&&e.push(P(""+t))}}function i0(e){var t="";return hl.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}var Sn=S(' selected=""');function En(e,t,r,n){e.push(ke(r));var o=r=null,i;for(i in t)if(re.call(t,i)){var s=t[i];if(s!=null)switch(i){case"children":r=s;break;case"dangerouslySetInnerHTML":o=s;break;default:se(e,n,i,s)}}return e.push(We),pr(e,o,r),typeof r=="string"?(e.push(P(K(r))),null):r}var kn=S(`
|
|
62
|
+
`),s0=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,os=new Map;function ke(e){var t=os.get(e);if(t===void 0){if(!s0.test(e))throw Error(T(65,e));t=S("<"+e),os.set(e,t)}return t}var a0=S("<!DOCTYPE html>");function l0(e,t,r,n,o){switch(t){case"select":e.push(ke("select"));var i=null,s=null;for(f in r)if(re.call(r,f)){var a=r[f];if(a!=null)switch(f){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;case"defaultValue":case"value":break;default:se(e,n,f,a)}}return e.push(We),pr(e,s,i),i;case"option":s=o.selectedValue,e.push(ke("option"));var l=a=null,u=null,f=null;for(i in r)if(re.call(r,i)){var c=r[i];if(c!=null)switch(i){case"children":a=c;break;case"selected":u=c;break;case"dangerouslySetInnerHTML":f=c;break;case"value":l=c;default:se(e,n,i,c)}}if(s!=null)if(r=l!==null?""+l:i0(a),Hn(s)){for(n=0;n<s.length;n++)if(""+s[n]===r){e.push(Sn);break}}else""+s===r&&e.push(Sn);else u&&e.push(Sn);return e.push(We),pr(e,f,a),a;case"textarea":e.push(ke("textarea")),f=s=i=null;for(a in r)if(re.call(r,a)&&(l=r[a],l!=null))switch(a){case"children":f=l;break;case"value":i=l;break;case"defaultValue":s=l;break;case"dangerouslySetInnerHTML":throw Error(T(91));default:se(e,n,a,l)}if(i===null&&s!==null&&(i=s),e.push(We),f!=null){if(i!=null)throw Error(T(92));if(Hn(f)&&1<f.length)throw Error(T(93));i=""+f}return typeof i=="string"&&i[0]===`
|
|
63
|
+
`&&e.push(kn),i!==null&&e.push(P(K(""+i))),null;case"input":e.push(ke("input")),l=f=a=i=null;for(s in r)if(re.call(r,s)&&(u=r[s],u!=null))switch(s){case"children":case"dangerouslySetInnerHTML":throw Error(T(399,"input"));case"defaultChecked":l=u;break;case"defaultValue":a=u;break;case"checked":f=u;break;case"value":i=u;break;default:se(e,n,s,u)}return f!==null?se(e,n,"checked",f):l!==null&&se(e,n,"checked",l),i!==null?se(e,n,"value",i):a!==null&&se(e,n,"value",a),e.push(ns),null;case"menuitem":e.push(ke("menuitem"));for(var m in r)if(re.call(r,m)&&(i=r[m],i!=null))switch(m){case"children":case"dangerouslySetInnerHTML":throw Error(T(400));default:se(e,n,m,i)}return e.push(We),null;case"title":e.push(ke("title")),i=null;for(c in r)if(re.call(r,c)&&(s=r[c],s!=null))switch(c){case"children":i=s;break;case"dangerouslySetInnerHTML":throw Error(T(434));default:se(e,n,c,s)}return e.push(We),i;case"listing":case"pre":e.push(ke(t)),s=i=null;for(l in r)if(re.call(r,l)&&(a=r[l],a!=null))switch(l){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;default:se(e,n,l,a)}if(e.push(We),s!=null){if(i!=null)throw Error(T(60));if(typeof s!="object"||!("__html"in s))throw Error(T(61));r=s.__html,r!=null&&(typeof r=="string"&&0<r.length&&r[0]===`
|
|
64
|
+
`?e.push(kn,P(r)):e.push(P(""+r)))}return typeof i=="string"&&i[0]===`
|
|
65
|
+
`&&e.push(kn),i;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":e.push(ke(t));for(var v in r)if(re.call(r,v)&&(i=r[v],i!=null))switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(T(399,t));default:se(e,n,v,i)}return e.push(ns),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return En(e,r,t,n);case"html":return o.insertionMode===0&&e.push(a0),En(e,r,t,n);default:if(t.indexOf("-")===-1&&typeof r.is!="string")return En(e,r,t,n);e.push(ke(t)),s=i=null;for(u in r)if(re.call(r,u)&&(a=r[u],a!=null))switch(u){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;case"style":vl(e,n,a);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:yl(u)&&typeof a!="function"&&typeof a!="symbol"&&e.push(De,P(u),it,P(K(a)),Ge)}return e.push(We),pr(e,s,i),i}}var u0=S("</"),c0=S(">"),f0=S('<template id="'),d0=S('"></template>'),p0=S("<!--$-->"),h0=S('<!--$?--><template id="'),m0=S('"></template>'),g0=S("<!--$!-->"),y0=S("<!--/$-->"),v0=S("<template"),x0=S('"'),b0=S(' data-dgst="');S(' data-msg="');S(' data-stck="');var w0=S("></template>");function is(e,t,r){if(C(e,h0),r===null)throw Error(T(395));return C(e,r),z(e,m0)}var S0=S('<div hidden id="'),E0=S('">'),k0=S("</div>"),C0=S('<svg aria-hidden="true" style="display:none" id="'),R0=S('">'),O0=S("</svg>"),_0=S('<math aria-hidden="true" style="display:none" id="'),T0=S('">'),P0=S("</math>"),$0=S('<table hidden id="'),A0=S('">'),F0=S("</table>"),j0=S('<table hidden><tbody id="'),N0=S('">'),M0=S("</tbody></table>"),I0=S('<table hidden><tr id="'),z0=S('">'),L0=S("</tr></table>"),B0=S('<table hidden><colgroup id="'),D0=S('">'),W0=S("</colgroup></table>");function U0(e,t,r,n){switch(r.insertionMode){case 0:case 1:return C(e,S0),C(e,t.segmentPrefix),C(e,P(n.toString(16))),z(e,E0);case 2:return C(e,C0),C(e,t.segmentPrefix),C(e,P(n.toString(16))),z(e,R0);case 3:return C(e,_0),C(e,t.segmentPrefix),C(e,P(n.toString(16))),z(e,T0);case 4:return C(e,$0),C(e,t.segmentPrefix),C(e,P(n.toString(16))),z(e,A0);case 5:return C(e,j0),C(e,t.segmentPrefix),C(e,P(n.toString(16))),z(e,N0);case 6:return C(e,I0),C(e,t.segmentPrefix),C(e,P(n.toString(16))),z(e,z0);case 7:return C(e,B0),C(e,t.segmentPrefix),C(e,P(n.toString(16))),z(e,D0);default:throw Error(T(397))}}function V0(e,t){switch(t.insertionMode){case 0:case 1:return z(e,k0);case 2:return z(e,O0);case 3:return z(e,P0);case 4:return z(e,F0);case 5:return z(e,M0);case 6:return z(e,L0);case 7:return z(e,W0);default:throw Error(T(397))}}var H0=S('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),q0=S('$RS("'),K0=S('","'),G0=S('")<\/script>'),X0=S('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),J0=S('$RC("'),Y0=S('","'),Z0=S('")<\/script>'),Q0=S('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),eg=S('$RX("'),tg=S('"'),rg=S(")<\/script>"),Cn=S(","),ng=/[<\u2028\u2029]/g;function Rn(e){return JSON.stringify(e).replace(ng,function(t){switch(t){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Tt=Object.assign,og=Symbol.for("react.element"),xl=Symbol.for("react.portal"),bl=Symbol.for("react.fragment"),wl=Symbol.for("react.strict_mode"),Sl=Symbol.for("react.profiler"),El=Symbol.for("react.provider"),kl=Symbol.for("react.context"),Cl=Symbol.for("react.forward_ref"),Rl=Symbol.for("react.suspense"),Ol=Symbol.for("react.suspense_list"),_l=Symbol.for("react.memo"),Po=Symbol.for("react.lazy"),ig=Symbol.for("react.scope"),sg=Symbol.for("react.debug_trace_mode"),ag=Symbol.for("react.legacy_hidden"),lg=Symbol.for("react.default_value"),ss=Symbol.iterator;function qn(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case bl:return"Fragment";case xl:return"Portal";case Sl:return"Profiler";case wl:return"StrictMode";case Rl:return"Suspense";case Ol:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case kl:return(e.displayName||"Context")+".Consumer";case El:return(e._context.displayName||"Context")+".Provider";case Cl:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _l:return t=e.displayName||null,t!==null?t:qn(e.type)||"Memo";case Po:t=e._payload,e=e._init;try{return qn(e(t))}catch{}}return null}var Tl={};function as(e,t){if(e=e.contextTypes,!e)return Tl;var r={},n;for(n in e)r[n]=t[n];return r}var Ze=null;function on(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var r=t.parent;if(e===null){if(r!==null)throw Error(T(401))}else{if(r===null)throw Error(T(401));on(e,r)}t.context._currentValue=t.value}}function Pl(e){e.context._currentValue=e.parentValue,e=e.parent,e!==null&&Pl(e)}function $l(e){var t=e.parent;t!==null&&$l(t),e.context._currentValue=e.value}function Al(e,t){if(e.context._currentValue=e.parentValue,e=e.parent,e===null)throw Error(T(402));e.depth===t.depth?on(e,t):Al(e,t)}function Fl(e,t){var r=t.parent;if(r===null)throw Error(T(402));e.depth===r.depth?on(e,r):Fl(e,r),t.context._currentValue=t.value}function $r(e){var t=Ze;t!==e&&(t===null?$l(e):e===null?Pl(t):t.depth===e.depth?on(t,e):t.depth>e.depth?Al(t,e):Fl(t,e),Ze=e)}var ls={isMounted:function(){return!1},enqueueSetState:function(e,t){e=e._reactInternals,e.queue!==null&&e.queue.push(t)},enqueueReplaceState:function(e,t){e=e._reactInternals,e.replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function us(e,t,r,n){var o=e.state!==void 0?e.state:null;e.updater=ls,e.props=r,e.state=o;var i={queue:[],replace:!1};e._reactInternals=i;var s=t.contextType;if(e.context=typeof s=="object"&&s!==null?s._currentValue:n,s=t.getDerivedStateFromProps,typeof s=="function"&&(s=s(r,o),o=s==null?o:Tt({},o,s),e.state=o),typeof t.getDerivedStateFromProps!="function"&&typeof e.getSnapshotBeforeUpdate!="function"&&(typeof e.UNSAFE_componentWillMount=="function"||typeof e.componentWillMount=="function"))if(t=e.state,typeof e.componentWillMount=="function"&&e.componentWillMount(),typeof e.UNSAFE_componentWillMount=="function"&&e.UNSAFE_componentWillMount(),t!==e.state&&ls.enqueueReplaceState(e,e.state,null),i.queue!==null&&0<i.queue.length)if(t=i.queue,s=i.replace,i.queue=null,i.replace=!1,s&&t.length===1)e.state=t[0];else{for(i=s?t[0]:e.state,o=!0,s=s?1:0;s<t.length;s++){var a=t[s];a=typeof a=="function"?a.call(e,i,r,n):a,a!=null&&(o?(o=!1,i=Tt({},i,a)):Tt(i,a))}e.state=i}else i.queue=null}var ug={id:1,overflow:""};function Kn(e,t,r){var n=e.id;e=e.overflow;var o=32-hr(n)-1;n&=~(1<<o),r+=1;var i=32-hr(t)+o;if(30<i){var s=o-o%5;return i=(n&(1<<s)-1).toString(32),n>>=s,o-=s,{id:1<<32-hr(t)+o|r<<o|n,overflow:i+e}}return{id:1<<i|r<<o|n,overflow:e}}var hr=Math.clz32?Math.clz32:dg,cg=Math.log,fg=Math.LN2;function dg(e){return e>>>=0,e===0?32:31-(cg(e)/fg|0)|0}function pg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var hg=typeof Object.is=="function"?Object.is:pg,Ne=null,$o=null,mr=null,I=null,Ct=!1,Ar=!1,zt=0,He=null,sn=0;function Xe(){if(Ne===null)throw Error(T(321));return Ne}function cs(){if(0<sn)throw Error(T(312));return{memoizedState:null,queue:null,next:null}}function Ao(){return I===null?mr===null?(Ct=!1,mr=I=cs()):(Ct=!0,I=mr):I.next===null?(Ct=!1,I=I.next=cs()):(Ct=!0,I=I.next),I}function Fo(){$o=Ne=null,Ar=!1,mr=null,sn=0,I=He=null}function jl(e,t){return typeof t=="function"?t(e):t}function fs(e,t,r){if(Ne=Xe(),I=Ao(),Ct){var n=I.queue;if(t=n.dispatch,He!==null&&(r=He.get(n),r!==void 0)){He.delete(n),n=I.memoizedState;do n=e(n,r.action),r=r.next;while(r!==null);return I.memoizedState=n,[n,t]}return[I.memoizedState,t]}return e=e===jl?typeof t=="function"?t():t:r!==void 0?r(t):t,I.memoizedState=e,e=I.queue={last:null,dispatch:null},e=e.dispatch=mg.bind(null,Ne,e),[I.memoizedState,e]}function ds(e,t){if(Ne=Xe(),I=Ao(),t=t===void 0?null:t,I!==null){var r=I.memoizedState;if(r!==null&&t!==null){var n=r[1];e:if(n===null)n=!1;else{for(var o=0;o<n.length&&o<t.length;o++)if(!hg(t[o],n[o])){n=!1;break e}n=!0}if(n)return r[0]}}return e=e(),I.memoizedState=[e,t],e}function mg(e,t,r){if(25<=sn)throw Error(T(301));if(e===Ne)if(Ar=!0,e={action:r,next:null},He===null&&(He=new Map),r=He.get(t),r===void 0)He.set(t,e);else{for(t=r;t.next!==null;)t=t.next;t.next=e}}function gg(){throw Error(T(394))}function Jt(){}var ps={readContext:function(e){return e._currentValue},useContext:function(e){return Xe(),e._currentValue},useMemo:ds,useReducer:fs,useRef:function(e){Ne=Xe(),I=Ao();var t=I.memoizedState;return t===null?(e={current:e},I.memoizedState=e):t},useState:function(e){return fs(jl,e)},useInsertionEffect:Jt,useLayoutEffect:function(){},useCallback:function(e,t){return ds(function(){return e},t)},useImperativeHandle:Jt,useEffect:Jt,useDebugValue:Jt,useDeferredValue:function(e){return Xe(),e},useTransition:function(){return Xe(),[!1,gg]},useId:function(){var e=$o.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-hr(e)-1)).toString(32)+t;var r=gr;if(r===null)throw Error(T(404));return t=zt++,e=":"+r.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return Xe(),t(e._source)},useSyncExternalStore:function(e,t,r){if(r===void 0)throw Error(T(407));return r()}},gr=null,On=hl.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function yg(e){return console.error(e),null}function Rt(){}function vg(e,t,r,n,o,i,s,a,l){var u=[],f=new Set;return t={destination:null,responseState:t,progressiveChunkSize:n===void 0?12800:n,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:f,pingedTasks:u,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:o===void 0?yg:o,onAllReady:i===void 0?Rt:i,onShellReady:s===void 0?Rt:s,onShellError:a===void 0?Rt:a,onFatalError:l===void 0?Rt:l},r=Fr(t,0,null,r,!1,!1),r.parentFlushed=!0,e=jo(t,e,null,r,f,Tl,null,ug),u.push(e),t}function jo(e,t,r,n,o,i,s,a){e.allPendingTasks++,r===null?e.pendingRootTasks++:r.pendingTasks++;var l={node:t,ping:function(){var u=e.pingedTasks;u.push(l),u.length===1&&Il(e)},blockedBoundary:r,blockedSegment:n,abortSet:o,legacyContext:i,context:s,treeContext:a};return o.add(l),l}function Fr(e,t,r,n,o,i){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:n,boundary:r,lastPushedText:o,textEmbedded:i}}function Lt(e,t){if(e=e.onError(t),e!=null&&typeof e!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function jr(e,t){var r=e.onShellError;r(t),r=e.onFatalError,r(t),e.destination!==null?(e.status=2,gl(e.destination,t)):(e.status=1,e.fatalError=t)}function hs(e,t,r,n,o){for(Ne={},$o=t,zt=0,e=r(n,o);Ar;)Ar=!1,zt=0,sn+=1,I=null,e=r(n,o);return Fo(),e}function ms(e,t,r,n){var o=r.render(),i=n.childContextTypes;if(i!=null){var s=t.legacyContext;if(typeof r.getChildContext!="function")n=s;else{r=r.getChildContext();for(var a in r)if(!(a in i))throw Error(T(108,qn(n)||"Unknown",a));n=Tt({},s,r)}t.legacyContext=n,fe(e,t,o),t.legacyContext=s}else fe(e,t,o)}function gs(e,t){if(e&&e.defaultProps){t=Tt({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function Gn(e,t,r,n,o){if(typeof r=="function")if(r.prototype&&r.prototype.isReactComponent){o=as(r,t.legacyContext);var i=r.contextType;i=new r(n,typeof i=="object"&&i!==null?i._currentValue:o),us(i,r,n,o),ms(e,t,i,r)}else{i=as(r,t.legacyContext),o=hs(e,t,r,n,i);var s=zt!==0;if(typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0)us(o,r,n,i),ms(e,t,o,r);else if(s){n=t.treeContext,t.treeContext=Kn(n,1,0);try{fe(e,t,o)}finally{t.treeContext=n}}else fe(e,t,o)}else if(typeof r=="string"){switch(o=t.blockedSegment,i=l0(o.chunks,r,n,e.responseState,o.formatContext),o.lastPushedText=!1,s=o.formatContext,o.formatContext=r0(s,r,n),Xn(e,t,i),o.formatContext=s,r){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:o.chunks.push(u0,P(r),c0)}o.lastPushedText=!1}else{switch(r){case ag:case sg:case wl:case Sl:case bl:fe(e,t,n.children);return;case Ol:fe(e,t,n.children);return;case ig:throw Error(T(343));case Rl:e:{r=t.blockedBoundary,o=t.blockedSegment,i=n.fallback,n=n.children,s=new Set;var a={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s,errorDigest:null},l=Fr(e,o.chunks.length,a,o.formatContext,!1,!1);o.children.push(l),o.lastPushedText=!1;var u=Fr(e,0,null,o.formatContext,!1,!1);u.parentFlushed=!0,t.blockedBoundary=a,t.blockedSegment=u;try{if(Xn(e,t,n),u.lastPushedText&&u.textEmbedded&&u.chunks.push(To),u.status=1,Nr(a,u),a.pendingTasks===0)break e}catch(f){u.status=4,a.forceClientRender=!0,a.errorDigest=Lt(e,f)}finally{t.blockedBoundary=r,t.blockedSegment=o}t=jo(e,i,r,l,s,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if(typeof r=="object"&&r!==null)switch(r.$$typeof){case Cl:if(n=hs(e,t,r.render,n,o),zt!==0){r=t.treeContext,t.treeContext=Kn(r,1,0);try{fe(e,t,n)}finally{t.treeContext=r}}else fe(e,t,n);return;case _l:r=r.type,n=gs(r,n),Gn(e,t,r,n,o);return;case El:if(o=n.children,r=r._context,n=n.value,i=r._currentValue,r._currentValue=n,s=Ze,Ze=n={parent:s,depth:s===null?0:s.depth+1,context:r,parentValue:i,value:n},t.context=n,fe(e,t,o),e=Ze,e===null)throw Error(T(403));n=e.parentValue,e.context._currentValue=n===lg?e.context._defaultValue:n,e=Ze=e.parent,t.context=e;return;case kl:n=n.children,n=n(r._currentValue),fe(e,t,n);return;case Po:o=r._init,r=o(r._payload),n=gs(r,n),Gn(e,t,r,n,void 0);return}throw Error(T(130,r==null?r:typeof r,""))}}function fe(e,t,r){if(t.node=r,typeof r=="object"&&r!==null){switch(r.$$typeof){case og:Gn(e,t,r.type,r.props,r.ref);return;case xl:throw Error(T(257));case Po:var n=r._init;r=n(r._payload),fe(e,t,r);return}if(Hn(r)){ys(e,t,r);return}if(r===null||typeof r!="object"?n=null:(n=ss&&r[ss]||r["@@iterator"],n=typeof n=="function"?n:null),n&&(n=n.call(r))){if(r=n.next(),!r.done){var o=[];do o.push(r.value),r=n.next();while(!r.done);ys(e,t,o)}return}throw e=Object.prototype.toString.call(r),Error(T(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}typeof r=="string"?(n=t.blockedSegment,n.lastPushedText=Qi(t.blockedSegment.chunks,r,e.responseState,n.lastPushedText)):typeof r=="number"&&(n=t.blockedSegment,n.lastPushedText=Qi(t.blockedSegment.chunks,""+r,e.responseState,n.lastPushedText))}function ys(e,t,r){for(var n=r.length,o=0;o<n;o++){var i=t.treeContext;t.treeContext=Kn(i,n,o);try{Xn(e,t,r[o])}finally{t.treeContext=i}}}function Xn(e,t,r){var n=t.blockedSegment.formatContext,o=t.legacyContext,i=t.context;try{return fe(e,t,r)}catch(l){if(Fo(),typeof l=="object"&&l!==null&&typeof l.then=="function"){r=l;var s=t.blockedSegment,a=Fr(e,s.chunks.length,null,s.formatContext,s.lastPushedText,!0);s.children.push(a),s.lastPushedText=!1,e=jo(e,t.node,t.blockedBoundary,a,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,r.then(e,e),t.blockedSegment.formatContext=n,t.legacyContext=o,t.context=i,$r(i)}else throw t.blockedSegment.formatContext=n,t.legacyContext=o,t.context=i,$r(i),l}}function xg(e){var t=e.blockedBoundary;e=e.blockedSegment,e.status=3,Ml(this,t,e)}function Nl(e,t,r){var n=e.blockedBoundary;e.blockedSegment.status=3,n===null?(t.allPendingTasks--,t.status!==2&&(t.status=2,t.destination!==null&&t.destination.close())):(n.pendingTasks--,n.forceClientRender||(n.forceClientRender=!0,e=r===void 0?Error(T(432)):r,n.errorDigest=t.onError(e),n.parentFlushed&&t.clientRenderedBoundaries.push(n)),n.fallbackAbortableTasks.forEach(function(o){return Nl(o,t,r)}),n.fallbackAbortableTasks.clear(),t.allPendingTasks--,t.allPendingTasks===0&&(n=t.onAllReady,n()))}function Nr(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null){var r=t.children[0];r.id=t.id,r.parentFlushed=!0,r.status===1&&Nr(e,r)}else e.completedSegments.push(t)}function Ml(e,t,r){if(t===null){if(r.parentFlushed){if(e.completedRootSegment!==null)throw Error(T(389));e.completedRootSegment=r}e.pendingRootTasks--,e.pendingRootTasks===0&&(e.onShellError=Rt,t=e.onShellReady,t())}else t.pendingTasks--,t.forceClientRender||(t.pendingTasks===0?(r.parentFlushed&&r.status===1&&Nr(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(xg,e),t.fallbackAbortableTasks.clear()):r.parentFlushed&&r.status===1&&(Nr(t,r),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,e.allPendingTasks===0&&(e=e.onAllReady,e())}function Il(e){if(e.status!==2){var t=Ze,r=On.current;On.current=ps;var n=gr;gr=e.responseState;try{var o=e.pingedTasks,i;for(i=0;i<o.length;i++){var s=o[i],a=e,l=s.blockedSegment;if(l.status===0){$r(s.context);try{fe(a,s,s.node),l.lastPushedText&&l.textEmbedded&&l.chunks.push(To),s.abortSet.delete(s),l.status=1,Ml(a,s.blockedBoundary,l)}catch(p){if(Fo(),typeof p=="object"&&p!==null&&typeof p.then=="function"){var u=s.ping;p.then(u,u)}else{s.abortSet.delete(s),l.status=4;var f=s.blockedBoundary,c=p,m=Lt(a,c);if(f===null?jr(a,c):(f.pendingTasks--,f.forceClientRender||(f.forceClientRender=!0,f.errorDigest=m,f.parentFlushed&&a.clientRenderedBoundaries.push(f))),a.allPendingTasks--,a.allPendingTasks===0){var v=a.onAllReady;v()}}}finally{}}}o.splice(0,i),e.destination!==null&&No(e,e.destination)}catch(p){Lt(e,p),jr(e,p)}finally{gr=n,On.current=r,r===ps&&$r(t)}}}function Yt(e,t,r){switch(r.parentFlushed=!0,r.status){case 0:var n=r.id=e.nextSegmentId++;return r.lastPushedText=!1,r.textEmbedded=!1,e=e.responseState,C(t,f0),C(t,e.placeholderPrefix),e=P(n.toString(16)),C(t,e),z(t,d0);case 1:r.status=2;var o=!0;n=r.chunks;var i=0;r=r.children;for(var s=0;s<r.length;s++){for(o=r[s];i<o.index;i++)C(t,n[i]);o=an(e,t,o)}for(;i<n.length-1;i++)C(t,n[i]);return i<n.length&&(o=z(t,n[i])),o;default:throw Error(T(390))}}function an(e,t,r){var n=r.boundary;if(n===null)return Yt(e,t,r);if(n.parentFlushed=!0,n.forceClientRender)n=n.errorDigest,z(t,g0),C(t,v0),n&&(C(t,b0),C(t,P(K(n))),C(t,x0)),z(t,w0),Yt(e,t,r);else if(0<n.pendingTasks){n.rootSegmentID=e.nextSegmentId++,0<n.completedSegments.length&&e.partialBoundaries.push(n);var o=e.responseState,i=o.nextSuspenseID++;o=S(o.boundaryPrefix+i.toString(16)),n=n.id=o,is(t,e.responseState,n),Yt(e,t,r)}else if(n.byteSize>e.progressiveChunkSize)n.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(n),is(t,e.responseState,n.id),Yt(e,t,r);else{if(z(t,p0),r=n.completedSegments,r.length!==1)throw Error(T(391));an(e,t,r[0])}return z(t,y0)}function vs(e,t,r){return U0(t,e.responseState,r.formatContext,r.id),an(e,t,r),V0(t,r.formatContext)}function xs(e,t,r){for(var n=r.completedSegments,o=0;o<n.length;o++)zl(e,t,r,n[o]);if(n.length=0,e=e.responseState,n=r.id,r=r.rootSegmentID,C(t,e.startInlineScript),e.sentCompleteBoundaryFunction?C(t,J0):(e.sentCompleteBoundaryFunction=!0,C(t,X0)),n===null)throw Error(T(395));return r=P(r.toString(16)),C(t,n),C(t,Y0),C(t,e.segmentPrefix),C(t,r),z(t,Z0)}function zl(e,t,r,n){if(n.status===2)return!0;var o=n.id;if(o===-1){if((n.id=r.rootSegmentID)===-1)throw Error(T(392));return vs(e,t,n)}return vs(e,t,n),e=e.responseState,C(t,e.startInlineScript),e.sentCompleteSegmentFunction?C(t,q0):(e.sentCompleteSegmentFunction=!0,C(t,H0)),C(t,e.segmentPrefix),o=P(o.toString(16)),C(t,o),C(t,K0),C(t,e.placeholderPrefix),C(t,o),z(t,G0)}function No(e,t){ue=new Uint8Array(512),ce=0;try{var r=e.completedRootSegment;if(r!==null&&e.pendingRootTasks===0){an(e,t,r),e.completedRootSegment=null;var n=e.responseState.bootstrapChunks;for(r=0;r<n.length-1;r++)C(t,n[r]);r<n.length&&z(t,n[r])}var o=e.clientRenderedBoundaries,i;for(i=0;i<o.length;i++){var s=o[i];n=t;var a=e.responseState,l=s.id,u=s.errorDigest,f=s.errorMessage,c=s.errorComponentStack;if(C(n,a.startInlineScript),a.sentClientRenderFunction?C(n,eg):(a.sentClientRenderFunction=!0,C(n,Q0)),l===null)throw Error(T(395));C(n,l),C(n,tg),(u||f||c)&&(C(n,Cn),C(n,P(Rn(u||"")))),(f||c)&&(C(n,Cn),C(n,P(Rn(f||"")))),c&&(C(n,Cn),C(n,P(Rn(c)))),z(n,rg)}o.splice(0,i);var m=e.completedBoundaries;for(i=0;i<m.length;i++)xs(e,t,m[i]);m.splice(0,i),Xi(t),ue=new Uint8Array(512),ce=0;var v=e.partialBoundaries;for(i=0;i<v.length;i++){var p=v[i];e:{o=e,s=t;var d=p.completedSegments;for(a=0;a<d.length;a++)if(!zl(o,s,p,d[a])){a++,d.splice(0,a);var g=!1;break e}d.splice(0,a),g=!0}if(!g){e.destination=null,i++,v.splice(0,i);return}}v.splice(0,i);var y=e.completedBoundaries;for(i=0;i<y.length;i++)xs(e,t,y[i]);y.splice(0,i)}finally{Xi(t),e.allPendingTasks===0&&e.pingedTasks.length===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&t.close()}}function bs(e,t){try{var r=e.abortableTasks;r.forEach(function(n){return Nl(n,e,t)}),r.clear(),e.destination!==null&&No(e,e.destination)}catch(n){Lt(e,n),jr(e,n)}}Ro.renderToReadableStream=function(e,t){return new Promise(function(r,n){var o,i,s=new Promise(function(f,c){i=f,o=c}),a=vg(e,e0(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),t0(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,i,function(){var f=new ReadableStream({type:"bytes",pull:function(c){if(a.status===1)a.status=2,gl(c,a.fatalError);else if(a.status!==2&&a.destination===null){a.destination=c;try{No(a,c)}catch(m){Lt(a,m),jr(a,m)}}},cancel:function(){bs(a)}},{highWaterMark:0});f.allReady=s,r(f)},function(f){s.catch(function(){}),n(f)},o);if(t&&t.signal){var l=t.signal,u=function(){bs(a,l.reason),l.removeEventListener("abort",u)};l.addEventListener("abort",u)}Il(a)})};Ro.version="18.2.0";var yt,Ll;yt=gt,Ll=Ro;yt.version;var bg=yt.renderToString;yt.renderToStaticMarkup;yt.renderToNodeStream;yt.renderToStaticNodeStream;Ll.renderToReadableStream;var wg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Bl(e,t){return e(t={exports:{}},t.exports),t.exports}var Sg=Bl(function(e){(function(t){var r=function(g,y,b){if(!l(y)||f(y)||c(y)||m(y)||a(y))return y;var w,E=0,O=0;if(u(y))for(w=[],O=y.length;E<O;E++)w.push(r(g,y[E],b));else for(var k in w={},y)Object.prototype.hasOwnProperty.call(y,k)&&(w[g(k,b)]=r(g,y[k],b));return w},n=function(g){return v(g)?g:(g=g.replace(/[\-_\s]+(.)?/g,function(y,b){return b?b.toUpperCase():""})).substr(0,1).toLowerCase()+g.substr(1)},o=function(g){var y=n(g);return y.substr(0,1).toUpperCase()+y.substr(1)},i=function(g,y){return function(b,w){var E=(w=w||{}).separator||"_",O=w.split||/(?=[A-Z])/;return b.split(O).join(E)}(g,y).toLowerCase()},s=Object.prototype.toString,a=function(g){return typeof g=="function"},l=function(g){return g===Object(g)},u=function(g){return s.call(g)=="[object Array]"},f=function(g){return s.call(g)=="[object Date]"},c=function(g){return s.call(g)=="[object RegExp]"},m=function(g){return s.call(g)=="[object Boolean]"},v=function(g){return(g-=0)==g},p=function(g,y){var b=y&&"process"in y?y.process:y;return typeof b!="function"?g:function(w,E){return b(w,g,E)}},d={camelize:n,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(g,y){return r(p(n,y),g)},decamelizeKeys:function(g,y){return r(p(i,y),g,y)},pascalizeKeys:function(g,y){return r(p(o,y),g)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=d:t.humps=d})(wg)}).decamelize,Eg=function(e){if(Array.isArray(e))return e},kg=function(e,t){if(typeof Symbol<"u"&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(l){o=!0,i=l}finally{try{n||a.return==null||a.return()}finally{if(o)throw i}}return r}},ws=function(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},Cg=function(e,t){if(e){if(typeof e=="string")return ws(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ws(e,t):void 0}},Rg=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
66
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},Og=function(e,t){return Eg(e)||kg(e,t)||Cg(e,t)||Rg()},Dl=Bl(function(e){function t(){return e.exports=t=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])}return r},t.apply(this,arguments)}e.exports=t}),_g=function(e,t){if(e==null)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o},Wl=function(e,t){if(e==null)return{};var r,n,o=_g(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o},Tg=h.reactExports.createContext(null);function Jn(e){var t=e.children,r=Wl(e,["children"]);return typeof t!="string"&&(t=bg(t)),h.e.createElement("template",Dl({},r,{dangerouslySetInnerHTML:{__html:t}}))}function Yn(e){var t=e.root,r=e.children;return h.reactDomExports.createPortal(r,t)}function Pg(e){var t=h.reactExports.forwardRef(function(r,n){var o,i,s=r.mode,a=r.delegatesFocus,l=r.styleSheets,u=r.ssr,f=r.children,c=Wl(r,["mode","delegatesFocus","styleSheets","ssr","children"]),m=(i=h.reactExports.useRef((o=n)&&o.current),h.reactExports.useEffect(function(){o&&(o.current=i.current)},[o]),i),v=h.reactExports.useState(null),p=Og(v,2),d=p[0],g=p[1],y="node_".concat(s).concat(a);return h.reactExports.useLayoutEffect(function(){if(m.current)try{if(typeof n=="function"&&n(m.current),u){var b=m.current.shadowRoot;return void g(b)}var w=m.current.attachShadow({mode:s,delegatesFocus:a});l.length>0&&(w.adoptedStyleSheets=l),g(w)}catch(E){(function(O){var k=O.error,R=O.styleSheets,H=O.root;switch(k.name){case"NotSupportedError":R.length>0&&(H.adoptedStyleSheets=R);break;default:throw k}})({error:E,styleSheets:l,root:d})}},[n,m,l]),h.e.createElement(h.e.Fragment,null,h.e.createElement(e.tag,Dl({key:y,ref:m},c),(d||u)&&h.e.createElement(Tg.Provider,{value:d},u?h.e.createElement(Jn,{shadowroot:s,shadowrootmode:s},e.render({root:d,ssr:u,children:f})):h.e.createElement(Yn,{root:d},e.render({root:d,ssr:u,children:f})))))});return t.propTypes={mode:ye.oneOf(["open","closed"]),delegatesFocus:ye.bool,styleSheets:ye.arrayOf(ye.instanceOf(globalThis.CSSStyleSheet)),ssr:ye.bool,children:ye.node},t.defaultProps={mode:"open",delegatesFocus:!1,styleSheets:[],ssr:!1,children:null},t}Jn.propTypes={children:ye.oneOfType([ye.string,ye.node])},Jn.defaultProps={children:""},Yn.propTypes={root:ye.object.isRequired,children:ye.node},Yn.defaultProps={children:null};var _n=new Map;function $g(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(n){return n.children};return new Proxy(e,{get:function(n,o){var i=Sg(o,{separator:"-"}),s="".concat(t,"-").concat(i);return _n.has(s)||_n.set(s,Pg({tag:i,render:r})),_n.get(s)}})}var Ag=$g();const Fg=`@import"https://fonts.cdnfonts.com/css/tt-firs-neue-trl?styles=143111,143113,143105,143108,143110,143101,143099,143103,143097,143115";*,: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:TT Firs Neue Trl,sans-serif;-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-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;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}
|
|
67
|
+
`;function jg({children:e,styles:t=[]}){return h.jsxRuntimeExports.jsxs(Ag.div,{children:[[Fg,...t].map((r,n)=>h.jsxRuntimeExports.jsx("style",{type:"text/css",children:r},n)),e]})}function Ng(){return h.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:[h.jsxRuntimeExports.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M22 8.27V4.23C22 2.64 21.36 2 19.77 2h-4.04c-1.59 0-2.23.64-2.23 2.23v4.04c0 1.59.64 2.23 2.23 2.23h4.04c1.59 0 2.23-.64 2.23-2.23zM10.5 8.52V3.98C10.5 2.57 9.86 2 8.27 2H4.23C2.64 2 2 2.57 2 3.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97zM10.5 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23H4.23c-1.59 0-2.23.64-2.23 2.23v4.04C2 21.36 2.64 22 4.23 22h4.04c1.59 0 2.23-.64 2.23-2.23z"}),h.jsxRuntimeExports.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeWidth:"1.5",d:"M15 15.5h6M15 19.5h6"})]})}function Mg(){return h.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:h.jsxRuntimeExports.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M22 8.52V3.98C22 2.57 21.36 2 19.77 2h-4.04c-1.59 0-2.23.57-2.23 1.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97zM22 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23h-4.04c-1.59 0-2.23.64-2.23 2.23v4.04c0 1.59.64 2.23 2.23 2.23h4.04c1.59 0 2.23-.64 2.23-2.23zM10.5 8.52V3.98C10.5 2.57 9.86 2 8.27 2H4.23C2.64 2 2 2.57 2 3.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97zM10.5 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23H4.23c-1.59 0-2.23.64-2.23 2.23v4.04C2 21.36 2.64 22 4.23 22h4.04c1.59 0 2.23-.64 2.23-2.23z"})})}const Ig=`.side-bar{display:flex;flex-direction:column;max-width:18rem;height:calc(100vh - 64px);border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s;padding:8px}.side-bar.expanded{width:18rem}.side-bar.collapsed{width:64px;padding-left:4px;padding-right:4px}.side-bar__menu{margin-left:-8px;margin-right:-8px;padding-left:8px;padding-right:8px}.side-bar__menu.collapsed{margin-left:-4px;margin-right:-4px;padding-left:4px;padding-right:4px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:40px 0}.side-bar__logout-btn__text{margin-left:12px}.side-bar__logout-btn__text.collapsed{display:none}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:0 16px;min-height:48px;border-radius:.375rem}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__logout-btn.collapsed{justify-content:center}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%;margin-top:4px}.menu-item__wrapper:first-child,.menu-item__wrapper.collapsed{margin-top:0}.menu-item__wrapper.collapsed.level-1{margin-top:4px}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.active{background-color:#009d4f1a!important;color:#009d4f!important}.menu-item__link.level-0{height:auto}.menu-item__link.menu-item__link.collapsed.level-0{display:none}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0}.menu-item__icon.collapsed.level-1{width:100%}.menu-item__icon.collapsed.level-1>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:.5rem;padding-right:12px}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-1{text-align:center;margin-left:0;display:none}.menu-item__label.level-0{color:#85858a}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:-3px}.menu-item__icon-arrow__wrapper.expanded{right:0}.menu-item__icon-arrow__icon{transition:all .3s!important;color:#85858a}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(90deg)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:180px;max-width:180px;padding:4px;z-index:1200}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-1{height:48px}.menu-item__dropdown.collapsed.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{margin-top:4px;overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}
|
|
68
|
+
`;function zg(e){return h.jsxRuntimeExports.jsx(jg,{styles:[fm,Ig],children:h.jsxRuntimeExports.jsx(Lg,{...e})})}function Lg(e){const{baseUrl:t,menuPath:r,logout:n}=e,o=Lr(),[i,s]=h.reactExports.useState([]),[a,l]=h.reactExports.useState(!1),u=(Sa(i,o.pathname)||[]).filter(b=>b.parentKey!==0),[f,c]=h.reactExports.useState({}),m=b=>{c({...f,[b]:!f[b]})},v=()=>{l(!a)};h.reactExports.useEffect(()=>{(async()=>{const w=t+(r||"/global-menu-config/api/v1/menu-items/user"),E=await cm.get(w,{withCredentials:!0}).then(k=>k.data),O={};E.forEach(k=>{k.children&&(O[k.id]=!0)}),c(O),s(E.map(k=>({...k,parentKey:0})))})()},[t,r]);const[p,d]=h.reactExports.useState(!1),g=a?"collapsed":"expanded",y=b=>`${b} ${g}`;return h.jsxRuntimeExports.jsxs("div",{className:y("side-bar"),children:[h.jsxRuntimeExports.jsx("div",{className:y("side-bar__wrapper-toggle-btn"),children:h.jsxRuntimeExports.jsx("button",{className:"icon-btn side-bar__toggle-btn",onClick:v,children:a?h.jsxRuntimeExports.jsx(Ng,{}):h.jsxRuntimeExports.jsx(Mg,{})})}),h.jsxRuntimeExports.jsx(Ds,{className:y("side-bar__menu"),style:{marginTop:24,flex:1,overflow:"auto",height:"100%",overflowX:"hidden"},children:i.map(b=>{const w=E=>u.some(O=>O.id===E);return h.jsxRuntimeExports.jsx(wa,{item:b,isActive:w,isCollapsed:a,expanded:E=>f[E],toggleExpand:m},b.id)})}),h.jsxRuntimeExports.jsxs("div",{className:y("side-bar__wrap-btn-logout"),children:[h.jsxRuntimeExports.jsxs("button",{className:y("side-bar__logout-btn"),onClick:()=>d(!0),children:[h.jsxRuntimeExports.jsx(qp,{}),h.jsxRuntimeExports.jsx("span",{className:y("side-bar__logout-btn__text"),children:"Logout"})]}),h.jsxRuntimeExports.jsx(h.LogoutConfirmModal,{isOpen:p,onClose:()=>d(!1),onConfirm:n})]})]})}function Bg(e){return h.jsxRuntimeExports.jsx(du,{children:h.jsxRuntimeExports.jsx(zg,{...e})})}const Dg=h.s(Bg,{props:{baseUrl:"string",menuPath:"string",logout:"function"}});customElements.define("global-menu",Dg);
|