@dcl/jump-site 0.4.3 → 1.1.1-23306513054.commit-ab06ce4
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/assets/{auto-track-DJimE3qb.js → auto-track-RqrZImt9.js} +1 -1
- package/assets/{fortmatic-8stnLsAV.js → fortmatic-DytHfiDm.js} +1 -1
- package/assets/{index-DAI5t1VC.js → index--jlP-3tg.js} +1 -1
- package/assets/{index-Ckzgh1a3.js → index-BzZvflDN.js} +2 -2
- package/assets/{index-B1Y1u8xg.js → index-C2nZaPk5.js} +5 -5
- package/assets/{index-DRDCv7Km.js → index-D6fnRbNQ.js} +1 -1
- package/assets/{index-D9AM0LIe.js → index-Dld7H9KQ.js} +1 -1
- package/assets/{index-BiZl7sUe.js → index-HLOZg80i.js} +1 -1
- package/assets/{index-CPz8x8xb.js → index-RmXXYSUq.js} +1 -1
- package/assets/{index-DKnrndCW.js → index-eH0dKEg4.js} +2 -2
- package/assets/{index.es-wwIEW5bf.js → index.es-CbbmPKRo.js} +4 -4
- package/assets/{index.umd-CwARINbh.js → index.umd-C0H0PNXs.js} +1 -1
- package/assets/{secp256k1-CUjkw4EU.js → secp256k1-_62WuYrd.js} +1 -1
- package/index.html +1 -1
- package/package.json +3 -3
|
@@ -254,7 +254,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
254
254
|
top: 0;
|
|
255
255
|
}
|
|
256
256
|
`),z9e,(t.vars||t).palette.action.hover)),oc=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiSkeleton"}),{animation:i="pulse",className:o,component:a="span",height:s,style:l,variant:c="text",width:d}=n,f=vt(n,$9e),p=Q({},n,{animation:i,component:a,variant:c,hasChildren:!!f.children}),m=H9e(p);return u.jsx(q9e,Q({as:a,ref:r,className:mt(m.root,o),ownerState:p},f,{style:Q({width:d,height:s},l)}))});function W9e(e,t,r=(n,i)=>n===i){return e.length===t.length&&e.every((n,i)=>r(n,t[i]))}const G9e=2;function AJ(e,t){return e-t}function nU(e,t){var r;const{index:n}=(r=e.reduce((i,o,a)=>{const s=Math.abs(t-o);return i===null||s<i.distance||s===i.distance?{distance:s,index:a}:i},null))!=null?r:{};return n}function u5(e,t){if(t.current!==void 0&&e.changedTouches){const r=e;for(let n=0;n<r.changedTouches.length;n+=1){const i=r.changedTouches[n];if(i.identifier===t.current)return{x:i.clientX,y:i.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function pb(e,t,r){return(e-t)*100/(r-t)}function K9e(e,t,r){return(r-t)*e+t}function Y9e(e){if(Math.abs(e)<1){const r=e.toExponential().split("e-"),n=r[0].split(".")[1];return(n?n.length:0)+parseInt(r[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}function Z9e(e,t,r){const n=Math.round((e-r)/t)*t+r;return Number(n.toFixed(Y9e(t)))}function iU({values:e,newValue:t,index:r}){const n=e.slice();return n[r]=t,n.sort(AJ)}function d5({sliderRef:e,activeIndex:t,setActive:r}){var n,i;const o=ui(e.current);if(!((n=e.current)!=null&&n.contains(o.activeElement))||Number(o==null||(i=o.activeElement)==null?void 0:i.getAttribute("data-index"))!==t){var a;(a=e.current)==null||a.querySelector(`[type="range"][data-index="${t}"]`).focus()}r&&r(t)}function f5(e,t){return typeof e=="number"&&typeof t=="number"?e===t:typeof e=="object"&&typeof t=="object"?W9e(e,t):!1}const J9e={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},X9e=e=>e;let p5;function oU(){return p5===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?p5=CSS.supports("touch-action","none"):p5=!0),p5}function Q9e(e){const{"aria-labelledby":t,defaultValue:r,disabled:n=!1,disableSwap:i=!1,isRtl:o=!1,marks:a=!1,max:s=100,min:l=0,name:c,onChange:d,onChangeCommitted:f,orientation:p="horizontal",rootRef:m,scale:v=X9e,step:g=1,shiftStep:b=10,tabIndex:h,value:y}=e,w=F.useRef(),[T,R]=F.useState(-1),[S,I]=F.useState(-1),[U,D]=F.useState(!1),q=F.useRef(0),[W,J]=y8({controlled:y,default:r??l,name:"Slider"}),$=d&&((Le,be,je)=>{const Pt=Le.nativeEvent||Le,at=new Pt.constructor(Pt.type,Pt);Object.defineProperty(at,"target",{writable:!0,value:{value:be,name:c}}),d(at,be,je)}),M=Array.isArray(W);let O=M?W.slice().sort(AJ):[W];O=O.map(Le=>Le==null?l:t1(Le,l,s));const N=a===!0&&g!==null?[...Array(Math.floor((s-l)/g)+1)].map((Le,be)=>({value:l+g*be})):a||[],H=N.map(Le=>Le.value),{isFocusVisibleRef:V,onBlur:K,onFocus:j,ref:A}=Xy(),[x,C]=F.useState(-1),E=F.useRef(),_=Ii(A,E),P=Ii(m,_),G=Le=>be=>{var je;const Pt=Number(be.currentTarget.getAttribute("data-index"));j(be),V.current===!0&&C(Pt),I(Pt),Le==null||(je=Le.onFocus)==null||je.call(Le,be)},z=Le=>be=>{var je;K(be),V.current===!1&&C(-1),I(-1),Le==null||(je=Le.onBlur)==null||je.call(Le,be)},Z=(Le,be)=>{const je=Number(Le.currentTarget.getAttribute("data-index")),Pt=O[je],at=H.indexOf(Pt);let ut=be;if(N&&g==null){const ir=H[H.length-1];ut>ir?ut=ir:ut<H[0]?ut=H[0]:ut=ut<Pt?H[at-1]:H[at+1]}if(ut=t1(ut,l,s),M){i&&(ut=t1(ut,O[je-1]||-1/0,O[je+1]||1/0));const ir=ut;ut=iU({values:O,newValue:ut,index:je});let $e=je;i||($e=ut.indexOf(ir)),d5({sliderRef:E,activeIndex:$e})}J(ut),C(je),$&&!f5(ut,W)&&$(Le,ut,je),f&&f(Le,ut)},ie=Le=>be=>{var je;if(g!==null){const Pt=Number(be.currentTarget.getAttribute("data-index")),at=O[Pt];let ut=null;(be.key==="ArrowLeft"||be.key==="ArrowDown")&&be.shiftKey||be.key==="PageDown"?ut=Math.max(at-b,l):((be.key==="ArrowRight"||be.key==="ArrowUp")&&be.shiftKey||be.key==="PageUp")&&(ut=Math.min(at+b,s)),ut!==null&&(Z(be,ut),be.preventDefault())}Le==null||(je=Le.onKeyDown)==null||je.call(Le,be)};Ol(()=>{if(n&&E.current.contains(document.activeElement)){var Le;(Le=document.activeElement)==null||Le.blur()}},[n]),n&&T!==-1&&R(-1),n&&x!==-1&&C(-1);const ge=Le=>be=>{var je;(je=Le.onChange)==null||je.call(Le,be),Z(be,be.target.valueAsNumber)},ye=F.useRef();let Ie=p;o&&p==="horizontal"&&(Ie+="-reverse");const _e=({finger:Le,move:be=!1})=>{const{current:je}=E,{width:Pt,height:at,bottom:ut,left:ir}=je.getBoundingClientRect();let $e;Ie.indexOf("vertical")===0?$e=(ut-Le.y)/at:$e=(Le.x-ir)/Pt,Ie.indexOf("-reverse")!==-1&&($e=1-$e);let Be;if(Be=K9e($e,l,s),g)Be=Z9e(Be,g,l);else{const yt=nU(H,Be);Be=H[yt]}Be=t1(Be,l,s);let Bt=0;if(M){be?Bt=ye.current:Bt=nU(O,Be),i&&(Be=t1(Be,O[Bt-1]||-1/0,O[Bt+1]||1/0));const yt=Be;Be=iU({values:O,newValue:Be,index:Bt}),i&&be||(Bt=Be.indexOf(yt),ye.current=Bt)}return{newValue:Be,activeIndex:Bt}},Se=Xi(Le=>{const be=u5(Le,w);if(!be)return;if(q.current+=1,Le.type==="mousemove"&&Le.buttons===0){We(Le);return}const{newValue:je,activeIndex:Pt}=_e({finger:be,move:!0});d5({sliderRef:E,activeIndex:Pt,setActive:R}),J(je),!U&&q.current>G9e&&D(!0),$&&!f5(je,W)&&$(Le,je,Pt)}),We=Xi(Le=>{const be=u5(Le,w);if(D(!1),!be)return;const{newValue:je}=_e({finger:be,move:!0});R(-1),Le.type==="touchend"&&I(-1),f&&f(Le,je),w.current=void 0,He()}),Ye=Xi(Le=>{if(n)return;oU()||Le.preventDefault();const be=Le.changedTouches[0];be!=null&&(w.current=be.identifier);const je=u5(Le,w);if(je!==!1){const{newValue:at,activeIndex:ut}=_e({finger:je});d5({sliderRef:E,activeIndex:ut,setActive:R}),J(at),$&&!f5(at,W)&&$(Le,at,ut)}q.current=0;const Pt=ui(E.current);Pt.addEventListener("touchmove",Se,{passive:!0}),Pt.addEventListener("touchend",We,{passive:!0})}),He=F.useCallback(()=>{const Le=ui(E.current);Le.removeEventListener("mousemove",Se),Le.removeEventListener("mouseup",We),Le.removeEventListener("touchmove",Se),Le.removeEventListener("touchend",We)},[We,Se]);F.useEffect(()=>{const{current:Le}=E;return Le.addEventListener("touchstart",Ye,{passive:oU()}),()=>{Le.removeEventListener("touchstart",Ye),He()}},[He,Ye]),F.useEffect(()=>{n&&He()},[n,He]);const tr=Le=>be=>{var je;if((je=Le.onMouseDown)==null||je.call(Le,be),n||be.defaultPrevented||be.button!==0)return;be.preventDefault();const Pt=u5(be,w);if(Pt!==!1){const{newValue:ut,activeIndex:ir}=_e({finger:Pt});d5({sliderRef:E,activeIndex:ir,setActive:R}),J(ut),$&&!f5(ut,W)&&$(be,ut,ir)}q.current=0;const at=ui(E.current);at.addEventListener("mousemove",Se,{passive:!0}),at.addEventListener("mouseup",We)},ke=pb(M?O[0]:l,l,s),st=pb(O[O.length-1],l,s)-ke,lt=(Le={})=>{const be=M1(Le),je={onMouseDown:tr(be||{})},Pt=Q({},be,je);return Q({},Le,{ref:P},Pt)},nt=Le=>be=>{var je;(je=Le.onMouseOver)==null||je.call(Le,be);const Pt=Number(be.currentTarget.getAttribute("data-index"));I(Pt)},it=Le=>be=>{var je;(je=Le.onMouseLeave)==null||je.call(Le,be),I(-1)};return{active:T,axis:Ie,axisProps:J9e,dragging:U,focusedThumbIndex:x,getHiddenInputProps:(Le={})=>{var be;const je=M1(Le),Pt={onChange:ge(je||{}),onFocus:G(je||{}),onBlur:z(je||{}),onKeyDown:ie(je||{})},at=Q({},je,Pt);return Q({tabIndex:h,"aria-labelledby":t,"aria-orientation":p,"aria-valuemax":v(s),"aria-valuemin":v(l),name:c,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":(be=e.step)!=null?be:void 0,disabled:n},Le,at,{style:Q({},W2e,{direction:o?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:lt,getThumbProps:(Le={})=>{const be=M1(Le),je={onMouseOver:nt(be||{}),onMouseLeave:it(be||{})};return Q({},Le,be,je)},marks:N,open:S,range:M,rootRef:P,trackLeap:st,trackOffset:ke,values:O,getThumbStyle:Le=>({pointerEvents:T!==-1&&T!==Le?"none":void 0})}}const ebe=e=>!e||!G0(e);function tbe(e){return Ar("MuiSlider",e)}const Ss=Er("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),rbe=e=>{const{open:t}=e;return{offset:mt(t&&Ss.valueLabelOpen),circle:Ss.valueLabelCircle,label:Ss.valueLabelLabel}};function nbe(e){const{children:t,className:r,value:n}=e,i=rbe(e);return t?F.cloneElement(t,{className:mt(t.props.className)},u.jsxs(F.Fragment,{children:[t.props.children,u.jsx("span",{className:mt(i.offset,r),"aria-hidden":!0,children:u.jsx("span",{className:i.circle,children:u.jsx("span",{className:i.label,children:n})})})]})):null}const ibe=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function aU(e){return e}const obe=Ee("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`color${qe(r.color)}`],r.size!=="medium"&&t[`size${qe(r.size)}`],r.marked&&t.marked,r.orientation==="vertical"&&t.vertical,r.track==="inverted"&&t.trackInverted,r.track===!1&&t.trackFalse]}})(({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${Ss.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${Ss.dragging}`]:{[`& .${Ss.thumb}, & .${Ss.track}`]:{transition:"none"}},variants:[...Object.keys(((t=e.vars)!=null?t:e).palette).filter(r=>{var n;return((n=e.vars)!=null?n:e).palette[r].main}).map(r=>({props:{color:r},style:{color:(e.vars||e).palette[r].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}}),abe=Ee("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),sbe=Ee("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>{var t;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(r=>{var n;return((n=e.vars)!=null?n:e).palette[r].main}).map(r=>({props:{color:r,track:"inverted"},style:Q({},e.vars?{backgroundColor:e.vars.palette.Slider[`${r}Track`],borderColor:e.vars.palette.Slider[`${r}Track`]}:Q({backgroundColor:my(e.palette[r].main,.62),borderColor:my(e.palette[r].main,.62)},e.applyStyles("dark",{backgroundColor:hy(e.palette[r].main,.5)}),e.applyStyles("dark",{borderColor:hy(e.palette[r].main,.5)})))}))]}}),lbe=Ee("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.thumb,t[`thumbColor${qe(r.color)}`],r.size!=="medium"&&t[`thumbSize${qe(r.size)}`]]}})(({theme:e})=>{var t;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${Ss.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(r=>{var n;return((n=e.vars)!=null?n:e).palette[r].main}).map(r=>({props:{color:r},style:{[`&:hover, &.${Ss.focusVisible}`]:Q({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[r].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${fn(e.palette[r].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${Ss.active}`]:Q({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[r].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${fn(e.palette[r].main,.16)}`})}}))]}}),cbe=Ee(nbe,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e})=>Q({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${Ss.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${Ss.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})),ube=Ee("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>yI(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:r}=e;return[t.mark,r&&t.markActive]}})(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]})),dbe=Ee("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>yI(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e})=>Q({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]})),fbe=e=>{const{disabled:t,dragging:r,marked:n,orientation:i,track:o,classes:a,color:s,size:l}=e,c={root:["root",t&&"disabled",r&&"dragging",n&&"marked",i==="vertical"&&"vertical",o==="inverted"&&"trackInverted",o===!1&&"trackFalse",s&&`color${qe(s)}`,l&&`size${qe(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${qe(l)}`,s&&`thumbColor${qe(s)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Rr(c,tbe,a)},pbe=({children:e})=>e,hbe=F.forwardRef(function(t,r){var n,i,o,a,s,l,c,d,f,p,m,v,g,b,h,y,w,T,R,S,I,U,D,q;const W=Tr({props:t,name:"MuiSlider"}),J=Qy(),{"aria-label":$,"aria-valuetext":M,"aria-labelledby":O,component:N="span",components:H={},componentsProps:V={},color:K="primary",classes:j,className:A,disableSwap:x=!1,disabled:C=!1,getAriaLabel:E,getAriaValueText:_,marks:P=!1,max:G=100,min:z=0,orientation:Z="horizontal",shiftStep:ie=10,size:ge="medium",step:ye=1,scale:Ie=aU,slotProps:_e,slots:Se,track:We="normal",valueLabelDisplay:Ye="off",valueLabelFormat:He=aU}=W,tr=vt(W,ibe),ke=Q({},W,{isRtl:J,max:G,min:z,classes:j,disabled:C,disableSwap:x,orientation:Z,marks:P,color:K,size:ge,step:ye,shiftStep:ie,scale:Ie,track:We,valueLabelDisplay:Ye,valueLabelFormat:He}),{axisProps:st,getRootProps:lt,getHiddenInputProps:nt,getThumbProps:it,open:ht,active:Et,axis:Ot,focusedThumbIndex:Le,range:be,dragging:je,marks:Pt,values:at,trackOffset:ut,trackLeap:ir,getThumbStyle:$e}=Q9e(Q({},ke,{rootRef:r}));ke.marked=Pt.length>0&&Pt.some(kr=>kr.label),ke.dragging=je,ke.focusedThumbIndex=Le;const Be=fbe(ke),Bt=(n=(i=Se==null?void 0:Se.root)!=null?i:H.Root)!=null?n:obe,yt=(o=(a=Se==null?void 0:Se.rail)!=null?a:H.Rail)!=null?o:abe,$t=(s=(l=Se==null?void 0:Se.track)!=null?l:H.Track)!=null?s:sbe,cn=(c=(d=Se==null?void 0:Se.thumb)!=null?d:H.Thumb)!=null?c:lbe,rr=(f=(p=Se==null?void 0:Se.valueLabel)!=null?p:H.ValueLabel)!=null?f:cbe,xt=(m=(v=Se==null?void 0:Se.mark)!=null?v:H.Mark)!=null?m:ube,Qr=(g=(b=Se==null?void 0:Se.markLabel)!=null?b:H.MarkLabel)!=null?g:dbe,cr=(h=(y=Se==null?void 0:Se.input)!=null?y:H.Input)!=null?h:"input",se=(w=_e==null?void 0:_e.root)!=null?w:V.root,ee=(T=_e==null?void 0:_e.rail)!=null?T:V.rail,ae=(R=_e==null?void 0:_e.track)!=null?R:V.track,pe=(S=_e==null?void 0:_e.thumb)!=null?S:V.thumb,Ce=(I=_e==null?void 0:_e.valueLabel)!=null?I:V.valueLabel,Te=(U=_e==null?void 0:_e.mark)!=null?U:V.mark,Ue=(D=_e==null?void 0:_e.markLabel)!=null?D:V.markLabel,et=(q=_e==null?void 0:_e.input)!=null?q:V.input,Je=vi({elementType:Bt,getSlotProps:lt,externalSlotProps:se,externalForwardedProps:tr,additionalProps:Q({},ebe(Bt)&&{as:N}),ownerState:Q({},ke,se==null?void 0:se.ownerState),className:[Be.root,A]}),tt=vi({elementType:yt,externalSlotProps:ee,ownerState:ke,className:Be.rail}),qt=vi({elementType:$t,externalSlotProps:ae,additionalProps:{style:Q({},st[Ot].offset(ut),st[Ot].leap(ir))},ownerState:Q({},ke,ae==null?void 0:ae.ownerState),className:Be.track}),_t=vi({elementType:cn,getSlotProps:it,externalSlotProps:pe,ownerState:Q({},ke,pe==null?void 0:pe.ownerState),className:Be.thumb}),At=vi({elementType:rr,externalSlotProps:Ce,ownerState:Q({},ke,Ce==null?void 0:Ce.ownerState),className:Be.valueLabel}),Kr=vi({elementType:xt,externalSlotProps:Te,ownerState:ke,className:Be.mark}),Wt=vi({elementType:Qr,externalSlotProps:Ue,ownerState:ke,className:Be.markLabel}),lr=vi({elementType:cr,getSlotProps:nt,externalSlotProps:et,ownerState:ke});return u.jsxs(Bt,Q({},Je,{children:[u.jsx(yt,Q({},tt)),u.jsx($t,Q({},qt)),Pt.filter(kr=>kr.value>=z&&kr.value<=G).map((kr,Yt)=>{const Nr=pb(kr.value,z,G),fi=st[Ot].offset(Nr);let nn;return We===!1?nn=at.indexOf(kr.value)!==-1:nn=We==="normal"&&(be?kr.value>=at[0]&&kr.value<=at[at.length-1]:kr.value<=at[0])||We==="inverted"&&(be?kr.value<=at[0]||kr.value>=at[at.length-1]:kr.value>=at[0]),u.jsxs(F.Fragment,{children:[u.jsx(xt,Q({"data-index":Yt},Kr,!G0(xt)&&{markActive:nn},{style:Q({},fi,Kr.style),className:mt(Kr.className,nn&&Be.markActive)})),kr.label!=null?u.jsx(Qr,Q({"aria-hidden":!0,"data-index":Yt},Wt,!G0(Qr)&&{markLabelActive:nn},{style:Q({},fi,Wt.style),className:mt(Be.markLabel,Wt.className,nn&&Be.markLabelActive),children:kr.label})):null]},Yt)}),at.map((kr,Yt)=>{const Nr=pb(kr,z,G),fi=st[Ot].offset(Nr),nn=Ye==="off"?pbe:rr;return u.jsx(nn,Q({},!G0(nn)&&{valueLabelFormat:He,valueLabelDisplay:Ye,value:typeof He=="function"?He(Ie(kr),Yt):He,index:Yt,open:ht===Yt||Et===Yt||Ye==="on",disabled:C},At,{children:u.jsx(cn,Q({"data-index":Yt},_t,{className:mt(Be.thumb,_t.className,Et===Yt&&Be.active,Le===Yt&&Be.focusVisible),style:Q({},fi,$e(Yt),_t.style),children:u.jsx(cr,Q({"data-index":Yt,"aria-label":E?E(Yt):$,"aria-valuenow":Ie(kr),"aria-labelledby":O,"aria-valuetext":_?_(Ie(kr),Yt):M,value:at[Yt]},lr))}))}),Yt)})]}))});function mbe(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:r=!1,onClose:n,open:i,resumeHideDuration:o}=e,a=b1();F.useEffect(()=>{if(!i)return;function h(y){y.defaultPrevented||(y.key==="Escape"||y.key==="Esc")&&(n==null||n(y,"escapeKeyDown"))}return document.addEventListener("keydown",h),()=>{document.removeEventListener("keydown",h)}},[i,n]);const s=Xi((h,y)=>{n==null||n(h,y)}),l=Xi(h=>{!n||h==null||a.start(h,()=>{s(null,"timeout")})});F.useEffect(()=>(i&&l(t),a.clear),[i,t,l,a]);const c=h=>{n==null||n(h,"clickaway")},d=a.clear,f=F.useCallback(()=>{t!=null&&l(o??t*.5)},[t,o,l]),p=h=>y=>{const w=h.onBlur;w==null||w(y),f()},m=h=>y=>{const w=h.onFocus;w==null||w(y),d()},v=h=>y=>{const w=h.onMouseEnter;w==null||w(y),d()},g=h=>y=>{const w=h.onMouseLeave;w==null||w(y),f()};return F.useEffect(()=>{if(!r&&i)return window.addEventListener("focus",f),window.addEventListener("blur",d),()=>{window.removeEventListener("focus",f),window.removeEventListener("blur",d)}},[r,i,f,d]),{getRootProps:(h={})=>{const y=Q({},M1(e),M1(h));return Q({role:"presentation"},h,y,{onBlur:p(y),onFocus:m(y),onMouseEnter:v(y),onMouseLeave:g(y)})},onClickAway:c}}function gbe(e){return Ar("MuiSnackbarContent",e)}Er("MuiSnackbarContent",["root","message","action"]);const ybe=["action","className","message","role"],vbe=e=>{const{classes:t}=e;return Rr({root:["root"],action:["action"],message:["message"]},gbe,t)},bbe=Ee(sp,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,r=_ge(e.palette.background.default,t);return Q({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(r),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:r,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),_be=Ee("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),Ebe=Ee("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),xbe=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiSnackbarContent"}),{action:i,className:o,message:a,role:s="alert"}=n,l=vt(n,ybe),c=n,d=vbe(c);return u.jsxs(bbe,Q({role:s,square:!0,elevation:6,className:mt(d.root,o),ownerState:c,ref:r},l,{children:[u.jsx(_be,{className:d.message,ownerState:c,children:a}),i?u.jsx(Ebe,{className:d.action,ownerState:c,children:i}):null]}))});function wbe(e){return Ar("MuiSnackbar",e)}Er("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const Cbe=["onEnter","onExited"],Sbe=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],Abe=e=>{const{classes:t,anchorOrigin:r}=e,n={root:["root",`anchorOrigin${qe(r.vertical)}${qe(r.horizontal)}`]};return Rr(n,wbe,t)},sU=Ee("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`anchorOrigin${qe(r.anchorOrigin.vertical)}${qe(r.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>{const r={left:"50%",right:"auto",transform:"translateX(-50%)"};return Q({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},t.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},t.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},t.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:Q({},t.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},t.anchorOrigin.horizontal==="center"&&r,t.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},t.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),Tbe=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiSnackbar"}),i=_i(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{action:a,anchorOrigin:{vertical:s,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:c=null,children:d,className:f,ClickAwayListenerProps:p,ContentProps:m,disableWindowBlurListener:v=!1,message:g,open:b,TransitionComponent:h=_h,transitionDuration:y=o,TransitionProps:{onEnter:w,onExited:T}={}}=n,R=vt(n.TransitionProps,Cbe),S=vt(n,Sbe),I=Q({},n,{anchorOrigin:{vertical:s,horizontal:l},autoHideDuration:c,disableWindowBlurListener:v,TransitionComponent:h,transitionDuration:y}),U=Abe(I),{getRootProps:D,onClickAway:q}=mbe(Q({},I)),[W,J]=F.useState(!0),$=vi({elementType:sU,getSlotProps:D,externalForwardedProps:S,ownerState:I,additionalProps:{ref:r},className:[U.root,f]}),M=N=>{J(!0),T&&T(N)},O=(N,H)=>{J(!1),w&&w(N,H)};return!b&&W?null:u.jsx(E4e,Q({onClickAway:q},p,{children:u.jsx(sU,Q({},$,{children:u.jsx(h,Q({appear:!0,in:b,timeout:y,direction:s==="top"?"down":"up",onEnter:O,onExited:M},R,{children:d||u.jsx(xbe,Q({message:g,action:a},m))}))}))}))});function Mbe(e){return Ar("MuiTooltip",e)}const Bd=Er("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Rbe=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function Ibe(e){return Math.round(e*1e5)/1e5}const Obe=e=>{const{classes:t,disableInteractive:r,arrow:n,touch:i,placement:o}=e,a={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",i&&"touch",`tooltipPlacement${qe(o.split("-")[0])}`],arrow:["arrow"]};return Rr(a,Mbe,t)},Pbe=Ee(gJ,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(({theme:e,ownerState:t,open:r})=>Q({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Bd.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Bd.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Bd.arrow}`]:Q({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Bd.arrow}`]:Q({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),Lbe=Ee("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${qe(r.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>Q({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:fn(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${Ibe(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Bd.popper}[data-popper-placement*="left"] &`]:Q({transformOrigin:"right center"},t.isRtl?Q({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Q({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Bd.popper}[data-popper-placement*="right"] &`]:Q({transformOrigin:"left center"},t.isRtl?Q({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Q({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Bd.popper}[data-popper-placement*="top"] &`]:Q({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Bd.popper}[data-popper-placement*="bottom"] &`]:Q({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),kbe=Ee("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:fn(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let h5=!1;const lU=new Jy;let d2={x:0,y:0};function m5(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}const o3=F.forwardRef(function(t,r){var n,i,o,a,s,l,c,d,f,p,m,v,g,b,h,y,w,T,R;const S=Tr({props:t,name:"MuiTooltip"}),{arrow:I=!1,children:U,components:D={},componentsProps:q={},describeChild:W=!1,disableFocusListener:J=!1,disableHoverListener:$=!1,disableInteractive:M=!1,disableTouchListener:O=!1,enterDelay:N=100,enterNextDelay:H=0,enterTouchDelay:V=700,followCursor:K=!1,id:j,leaveDelay:A=0,leaveTouchDelay:x=1500,onClose:C,onOpen:E,open:_,placement:P="bottom",PopperComponent:G,PopperProps:z={},slotProps:Z={},slots:ie={},title:ge,TransitionComponent:ye=_h,TransitionProps:Ie}=S,_e=vt(S,Rbe),Se=F.isValidElement(U)?U:u.jsx("span",{children:U}),We=_i(),Ye=Qy(),[He,tr]=F.useState(),[ke,st]=F.useState(null),lt=F.useRef(!1),nt=M||K,it=b1(),ht=b1(),Et=b1(),Ot=b1(),[Le,be]=y8({controlled:_,default:!1,name:"Tooltip",state:"open"});let je=Le;const Pt=LZ(j),at=F.useRef(),ut=Xi(()=>{at.current!==void 0&&(document.body.style.WebkitUserSelect=at.current,at.current=void 0),Ot.clear()});F.useEffect(()=>ut,[ut]);const ir=Qt=>{lU.clear(),h5=!0,be(!0),E&&!je&&E(Qt)},$e=Xi(Qt=>{lU.start(800+A,()=>{h5=!1}),be(!1),C&&je&&C(Qt),it.start(We.transitions.duration.shortest,()=>{lt.current=!1})}),Be=Qt=>{lt.current&&Qt.type!=="touchstart"||(He&&He.removeAttribute("title"),ht.clear(),Et.clear(),N||h5&&H?ht.start(h5?H:N,()=>{ir(Qt)}):ir(Qt))},Bt=Qt=>{ht.clear(),Et.start(A,()=>{$e(Qt)})},{isFocusVisibleRef:yt,onBlur:$t,onFocus:cn,ref:rr}=Xy(),[,xt]=F.useState(!1),Qr=Qt=>{$t(Qt),yt.current===!1&&(xt(!1),Bt(Qt))},cr=Qt=>{He||tr(Qt.currentTarget),cn(Qt),yt.current===!0&&(xt(!0),Be(Qt))},se=Qt=>{lt.current=!0;const Gn=Se.props;Gn.onTouchStart&&Gn.onTouchStart(Qt)},ee=Qt=>{se(Qt),Et.clear(),it.clear(),ut(),at.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Ot.start(V,()=>{document.body.style.WebkitUserSelect=at.current,Be(Qt)})},ae=Qt=>{Se.props.onTouchEnd&&Se.props.onTouchEnd(Qt),ut(),Et.start(x,()=>{$e(Qt)})};F.useEffect(()=>{if(!je)return;function Qt(Gn){(Gn.key==="Escape"||Gn.key==="Esc")&&$e(Gn)}return document.addEventListener("keydown",Qt),()=>{document.removeEventListener("keydown",Qt)}},[$e,je]);const pe=Ii(Se.ref,rr,tr,r);!ge&&ge!==0&&(je=!1);const Ce=F.useRef(),Te=Qt=>{const Gn=Se.props;Gn.onMouseMove&&Gn.onMouseMove(Qt),d2={x:Qt.clientX,y:Qt.clientY},Ce.current&&Ce.current.update()},Ue={},et=typeof ge=="string";W?(Ue.title=!je&&et&&!$?ge:null,Ue["aria-describedby"]=je?Pt:null):(Ue["aria-label"]=et?ge:null,Ue["aria-labelledby"]=je&&!et?Pt:null);const Je=Q({},Ue,_e,Se.props,{className:mt(_e.className,Se.props.className),onTouchStart:se,ref:pe},K?{onMouseMove:Te}:{}),tt={};O||(Je.onTouchStart=ee,Je.onTouchEnd=ae),$||(Je.onMouseOver=m5(Be,Je.onMouseOver),Je.onMouseLeave=m5(Bt,Je.onMouseLeave),nt||(tt.onMouseOver=Be,tt.onMouseLeave=Bt)),J||(Je.onFocus=m5(cr,Je.onFocus),Je.onBlur=m5(Qr,Je.onBlur),nt||(tt.onFocus=cr,tt.onBlur=Qr));const qt=F.useMemo(()=>{var Qt;let Gn=[{name:"arrow",enabled:!!ke,options:{element:ke,padding:4}}];return(Qt=z.popperOptions)!=null&&Qt.modifiers&&(Gn=Gn.concat(z.popperOptions.modifiers)),Q({},z.popperOptions,{modifiers:Gn})},[ke,z]),_t=Q({},S,{isRtl:Ye,arrow:I,disableInteractive:nt,placement:P,PopperComponentProp:G,touch:lt.current}),At=Obe(_t),Kr=(n=(i=ie.popper)!=null?i:D.Popper)!=null?n:Pbe,Wt=(o=(a=(s=ie.transition)!=null?s:D.Transition)!=null?a:ye)!=null?o:_h,lr=(l=(c=ie.tooltip)!=null?c:D.Tooltip)!=null?l:Lbe,kr=(d=(f=ie.arrow)!=null?f:D.Arrow)!=null?d:kbe,Yt=M0(Kr,Q({},z,(p=Z.popper)!=null?p:q.popper,{className:mt(At.popper,z==null?void 0:z.className,(m=(v=Z.popper)!=null?v:q.popper)==null?void 0:m.className)}),_t),Nr=M0(Wt,Q({},Ie,(g=Z.transition)!=null?g:q.transition),_t),fi=M0(lr,Q({},(b=Z.tooltip)!=null?b:q.tooltip,{className:mt(At.tooltip,(h=(y=Z.tooltip)!=null?y:q.tooltip)==null?void 0:h.className)}),_t),nn=M0(kr,Q({},(w=Z.arrow)!=null?w:q.arrow,{className:mt(At.arrow,(T=(R=Z.arrow)!=null?R:q.arrow)==null?void 0:T.className)}),_t);return u.jsxs(F.Fragment,{children:[F.cloneElement(Se,Je),u.jsx(Kr,Q({as:G??gJ,placement:P,anchorEl:K?{getBoundingClientRect:()=>({top:d2.y,left:d2.x,right:d2.x,bottom:d2.y,width:0,height:0})}:He,popperRef:Ce,open:He?je:!1,id:Pt,transition:!0},tt,Yt,{popperOptions:qt,children:({TransitionProps:Qt})=>u.jsx(Wt,Q({timeout:We.transitions.duration.shorter},Qt,Nr,{children:u.jsxs(lr,Q({},fi,{children:[ge,I?u.jsx(kr,Q({},nn,{ref:st})):null]}))}))}))]})});function Nbe(e){return Ar("MuiSwitch",e)}const Go=Er("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),jbe=["className","color","edge","size","sx"],Dbe=e=>{const{classes:t,edge:r,size:n,color:i,checked:o,disabled:a}=e,s={root:["root",r&&`edge${qe(r)}`,`size${qe(n)}`],switchBase:["switchBase",`color${qe(i)}`,o&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=Rr(s,Nbe,t);return Q({},t,l)},Bbe=Ee("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.edge&&t[`edge${qe(r.edge)}`],t[`size${qe(r.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${Go.thumb}`]:{width:16,height:16},[`& .${Go.switchBase}`]:{padding:4,[`&.${Go.checked}`]:{transform:"translateX(16px)"}}}}]}),Fbe=Ee(d4e,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.switchBase,{[`& .${Go.input}`]:t.input},r.color!=="default"&&t[`color${qe(r.color)}`]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${Go.checked}`]:{transform:"translateX(20px)"},[`&.${Go.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${Go.checked} + .${Go.track}`]:{opacity:.5},[`&.${Go.disabled} + .${Go.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${Go.input}`]:{left:"-100%",width:"300%"}}),({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:fn(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(([,t])=>t.main&&t.light).map(([t])=>({props:{color:t},style:{[`&.${Go.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:fn(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Go.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?my(e.palette[t].main,.62):hy(e.palette[t].main,.55)}`}},[`&.${Go.checked} + .${Go.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]})),Ube=Ee("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`})),$be=Ee("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),Hbe=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiSwitch"}),{className:i,color:o="primary",edge:a=!1,size:s="medium",sx:l}=n,c=vt(n,jbe),d=Q({},n,{color:o,edge:a,size:s}),f=Dbe(d),p=u.jsx($be,{className:f.thumb,ownerState:d});return u.jsxs(Bbe,{className:mt(f.root,i),sx:l,ownerState:d,children:[u.jsx(Fbe,Q({type:"checkbox",icon:p,checkedIcon:p,ref:r,ownerState:d},c,{classes:Q({},f,{root:f.switchBase})})),u.jsx(Ube,{className:f.track,ownerState:d})]})});function Vbe(e){return Ar("MuiTab",e)}const pd=Er("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),zbe=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],qbe=e=>{const{classes:t,textColor:r,fullWidth:n,wrapped:i,icon:o,label:a,selected:s,disabled:l}=e,c={root:["root",o&&a&&"labelIcon",`textColor${qe(r)}`,n&&"fullWidth",i&&"wrapped",s&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]};return Rr(c,Vbe,t)},Wbe=Ee(Pl,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.label&&r.icon&&t.labelIcon,t[`textColor${qe(r.textColor)}`],r.fullWidth&&t.fullWidth,r.wrapped&&t.wrapped,{[`& .${pd.iconWrapper}`]:t.iconWrapper}]}})(({theme:e,ownerState:t})=>Q({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${pd.iconWrapper}`]:Q({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${pd.selected}`]:{opacity:1},[`&.${pd.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${pd.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${pd.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${pd.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${pd.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),cU=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiTab"}),{className:i,disabled:o=!1,disableFocusRipple:a=!1,fullWidth:s,icon:l,iconPosition:c="top",indicator:d,label:f,onChange:p,onClick:m,onFocus:v,selected:g,selectionFollowsFocus:b,textColor:h="inherit",value:y,wrapped:w=!1}=n,T=vt(n,zbe),R=Q({},n,{disabled:o,disableFocusRipple:a,selected:g,icon:!!l,iconPosition:c,label:!!f,fullWidth:s,textColor:h,wrapped:w}),S=qbe(R),I=l&&f&&F.isValidElement(l)?F.cloneElement(l,{className:mt(S.iconWrapper,l.props.className)}):l,U=q=>{!g&&p&&p(q,y),m&&m(q)},D=q=>{b&&!g&&p&&p(q,y),v&&v(q)};return u.jsxs(Wbe,Q({focusRipple:!a,className:mt(S.root,i),ref:r,role:"tab","aria-selected":g,disabled:o,onClick:U,onFocus:D,ownerState:R,tabIndex:g?0:-1},T,{children:[c==="top"||c==="start"?u.jsxs(F.Fragment,{children:[I,f]}):u.jsxs(F.Fragment,{children:[f,I]}),d]}))}),TJ=F.createContext();function Gbe(e){return Ar("MuiTable",e)}Er("MuiTable",["root","stickyHeader"]);const Kbe=["className","component","padding","size","stickyHeader"],Ybe=e=>{const{classes:t,stickyHeader:r}=e;return Rr({root:["root",r&&"stickyHeader"]},Gbe,t)},Zbe=Ee("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>Q({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":Q({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),uU="table",Jbe=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiTable"}),{className:i,component:o=uU,padding:a="normal",size:s="medium",stickyHeader:l=!1}=n,c=vt(n,Kbe),d=Q({},n,{component:o,padding:a,size:s,stickyHeader:l}),f=Ybe(d),p=F.useMemo(()=>({padding:a,size:s,stickyHeader:l}),[a,s,l]);return u.jsx(TJ.Provider,{value:p,children:u.jsx(Zbe,Q({as:o,role:o===uU?null:"table",ref:r,className:mt(f.root,i),ownerState:d},c))})}),w8=F.createContext();function Xbe(e){return Ar("MuiTableBody",e)}Er("MuiTableBody",["root"]);const Qbe=["className","component"],e6e=e=>{const{classes:t}=e;return Rr({root:["root"]},Xbe,t)},t6e=Ee("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),r6e={variant:"body"},dU="tbody",n6e=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiTableBody"}),{className:i,component:o=dU}=n,a=vt(n,Qbe),s=Q({},n,{component:o}),l=e6e(s);return u.jsx(w8.Provider,{value:r6e,children:u.jsx(t6e,Q({className:mt(l.root,i),as:o,ref:r,role:o===dU?null:"rowgroup",ownerState:s},a))})});function i6e(e){return Ar("MuiTableCell",e)}const o6e=Er("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),a6e=["align","className","component","padding","scope","size","sortDirection","variant"],s6e=e=>{const{classes:t,variant:r,align:n,padding:i,size:o,stickyHeader:a}=e,s={root:["root",r,a&&"stickyHeader",n!=="inherit"&&`align${qe(n)}`,i!=="normal"&&`padding${qe(i)}`,`size${qe(o)}`]};return Rr(s,i6e,t)},l6e=Ee("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${qe(r.size)}`],r.padding!=="normal"&&t[`padding${qe(r.padding)}`],r.align!=="inherit"&&t[`align${qe(r.align)}`],r.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>Q({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid
|
|
257
|
-
${e.palette.mode==="light"?my(fn(e.palette.divider,1),.88):hy(fn(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${o6e.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),c6e=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiTableCell"}),{align:i="inherit",className:o,component:a,padding:s,scope:l,size:c,sortDirection:d,variant:f}=n,p=vt(n,a6e),m=F.useContext(TJ),v=F.useContext(w8),g=v&&v.variant==="head";let b;a?b=a:b=g?"th":"td";let h=l;b==="td"?h=void 0:!h&&g&&(h="col");const y=f||v&&v.variant,w=Q({},n,{align:i,component:b,padding:s||(m&&m.padding?m.padding:"normal"),size:c||(m&&m.size?m.size:"medium"),sortDirection:d,stickyHeader:y==="head"&&m&&m.stickyHeader,variant:y}),T=s6e(w);let R=null;return d&&(R=d==="asc"?"ascending":"descending"),u.jsx(l6e,Q({as:b,ref:r,className:mt(T.root,o),"aria-sort":R,scope:h,ownerState:w},p))});function u6e(e){return Ar("MuiTableContainer",e)}Er("MuiTableContainer",["root"]);const d6e=["className","component"],f6e=e=>{const{classes:t}=e;return Rr({root:["root"]},u6e,t)},p6e=Ee("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),h6e=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiTableContainer"}),{className:i,component:o="div"}=n,a=vt(n,d6e),s=Q({},n,{component:o}),l=f6e(s);return u.jsx(p6e,Q({ref:r,as:o,className:mt(l.root,i),ownerState:s},a))});function m6e(e){return Ar("MuiTableHead",e)}Er("MuiTableHead",["root"]);const g6e=["className","component"],y6e=e=>{const{classes:t}=e;return Rr({root:["root"]},m6e,t)},v6e=Ee("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),b6e={variant:"head"},fU="thead",_6e=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiTableHead"}),{className:i,component:o=fU}=n,a=vt(n,g6e),s=Q({},n,{component:o}),l=y6e(s);return u.jsx(w8.Provider,{value:b6e,children:u.jsx(v6e,Q({as:o,className:mt(l.root,i),ref:r,role:o===fU?null:"rowgroup",ownerState:s},a))})});function E6e(e){return Ar("MuiToolbar",e)}Er("MuiToolbar",["root","gutters","regular","dense"]);const x6e=["className","component","disableGutters","variant"],w6e=e=>{const{classes:t,disableGutters:r,variant:n}=e;return Rr({root:["root",!r&&"gutters",n]},E6e,t)},C6e=Ee("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.variant]]}})(({theme:e,ownerState:t})=>Q({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),S6e=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:a=!1,variant:s="regular"}=n,l=vt(n,x6e),c=Q({},n,{component:o,disableGutters:a,variant:s}),d=w6e(c);return u.jsx(C6e,Q({as:o,className:mt(d.root,i),ref:r,ownerState:c},l))}),A6e=ap(u.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),T6e=ap(u.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function M6e(e){return Ar("MuiTableRow",e)}const pU=Er("MuiTableRow",["root","selected","hover","head","footer"]),R6e=["className","component","hover","selected"],I6e=e=>{const{classes:t,selected:r,hover:n,head:i,footer:o}=e;return Rr({root:["root",r&&"selected",n&&"hover",i&&"head",o&&"footer"]},M6e,t)},O6e=Ee("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.head&&t.head,r.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${pU.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${pU.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:fn(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:fn(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),hU="tr",MJ=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiTableRow"}),{className:i,component:o=hU,hover:a=!1,selected:s=!1}=n,l=vt(n,R6e),c=F.useContext(w8),d=Q({},n,{component:o,hover:a,selected:s,head:c&&c.variant==="head",footer:c&&c.variant==="footer"}),f=I6e(d);return u.jsx(O6e,Q({as:o,ref:r,className:mt(f.root,i),role:o===hU?null:"row",ownerState:d},l))});function P6e(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function L6e(e,t,r,n={},i=()=>{}){const{ease:o=P6e,duration:a=300}=n;let s=null;const l=t[e];let c=!1;const d=()=>{c=!0},f=p=>{if(c){i(new Error("Animation cancelled"));return}s===null&&(s=p);const m=Math.min(1,(p-s)/a);if(t[e]=o(m)*(r-l)+l,m>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(f)};return l===r?(i(new Error("Element already at target position")),d):(requestAnimationFrame(f),d)}const k6e=["onChange"],N6e={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function j6e(e){const{onChange:t}=e,r=vt(e,k6e),n=F.useRef(),i=F.useRef(null),o=()=>{n.current=i.current.offsetHeight-i.current.clientHeight};return Ol(()=>{const a=g8(()=>{const l=n.current;o(),l!==n.current&&t(n.current)}),s=df(i.current);return s.addEventListener("resize",a),()=>{a.clear(),s.removeEventListener("resize",a)}},[t]),F.useEffect(()=>{o(),t(n.current)},[t]),u.jsx("div",Q({style:N6e,ref:i},r))}function D6e(e){return Ar("MuiTabScrollButton",e)}const B6e=Er("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),F6e=["className","slots","slotProps","direction","orientation","disabled"],U6e=e=>{const{classes:t,orientation:r,disabled:n}=e;return Rr({root:["root",r,n&&"disabled"]},D6e,t)},$6e=Ee(Pl,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.orientation&&t[r.orientation]]}})(({ownerState:e})=>Q({width:40,flexShrink:0,opacity:.8,[`&.${B6e.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),H6e=F.forwardRef(function(t,r){var n,i;const o=Tr({props:t,name:"MuiTabScrollButton"}),{className:a,slots:s={},slotProps:l={},direction:c}=o,d=vt(o,F6e),f=Qy(),p=Q({isRtl:f},o),m=U6e(p),v=(n=s.StartScrollButtonIcon)!=null?n:A6e,g=(i=s.EndScrollButtonIcon)!=null?i:T6e,b=vi({elementType:v,externalSlotProps:l.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:p}),h=vi({elementType:g,externalSlotProps:l.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:p});return u.jsx($6e,Q({component:"div",className:mt(m.root,a),ref:r,role:null,ownerState:p,tabIndex:null},d,{children:c==="left"?u.jsx(v,Q({},b)):u.jsx(g,Q({},h))}))});function V6e(e){return Ar("MuiTabs",e)}const lE=Er("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),z6e=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],mU=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,gU=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,g5=(e,t,r)=>{let n=!1,i=r(e,t);for(;i;){if(i===e.firstChild){if(n)return;n=!0}const o=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||o)i=r(e,i);else{i.focus();return}}},q6e=e=>{const{vertical:t,fixed:r,hideScrollbar:n,scrollableX:i,scrollableY:o,centered:a,scrollButtonsHideMobile:s,classes:l}=e;return Rr({root:["root",t&&"vertical"],scroller:["scroller",r&&"fixed",n&&"hideScrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},V6e,l)},W6e=Ee("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${lE.scrollButtons}`]:t.scrollButtons},{[`& .${lE.scrollButtons}`]:r.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,r.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>Q({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${lE.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),G6e=Ee("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.scroller,r.fixed&&t.fixed,r.hideScrollbar&&t.hideScrollbar,r.scrollableX&&t.scrollableX,r.scrollableY&&t.scrollableY]}})(({ownerState:e})=>Q({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),K6e=Ee("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.flexContainer,r.vertical&&t.flexContainerVertical,r.centered&&t.centered]}})(({ownerState:e})=>Q({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),Y6e=Ee("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>Q({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),Z6e=Ee(j6e)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),yU={},J6e=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiTabs"}),i=_i(),o=Qy(),{"aria-label":a,"aria-labelledby":s,action:l,centered:c=!1,children:d,className:f,component:p="div",allowScrollButtonsMobile:m=!1,indicatorColor:v="primary",onChange:g,orientation:b="horizontal",ScrollButtonComponent:h=H6e,scrollButtons:y="auto",selectionFollowsFocus:w,slots:T={},slotProps:R={},TabIndicatorProps:S={},TabScrollButtonProps:I={},textColor:U="primary",value:D,variant:q="standard",visibleScrollbar:W=!1}=n,J=vt(n,z6e),$=q==="scrollable",M=b==="vertical",O=M?"scrollTop":"scrollLeft",N=M?"top":"left",H=M?"bottom":"right",V=M?"clientHeight":"clientWidth",K=M?"height":"width",j=Q({},n,{component:p,allowScrollButtonsMobile:m,indicatorColor:v,orientation:b,vertical:M,scrollButtons:y,textColor:U,variant:q,visibleScrollbar:W,fixed:!$,hideScrollbar:$&&!W,scrollableX:$&&!M,scrollableY:$&&M,centered:c&&!$,scrollButtonsHideMobile:!m}),A=q6e(j),x=vi({elementType:T.StartScrollButtonIcon,externalSlotProps:R.startScrollButtonIcon,ownerState:j}),C=vi({elementType:T.EndScrollButtonIcon,externalSlotProps:R.endScrollButtonIcon,ownerState:j}),[E,_]=F.useState(!1),[P,G]=F.useState(yU),[z,Z]=F.useState(!1),[ie,ge]=F.useState(!1),[ye,Ie]=F.useState(!1),[_e,Se]=F.useState({overflow:"hidden",scrollbarWidth:0}),We=new Map,Ye=F.useRef(null),He=F.useRef(null),tr=()=>{const $e=Ye.current;let Be;if($e){const yt=$e.getBoundingClientRect();Be={clientWidth:$e.clientWidth,scrollLeft:$e.scrollLeft,scrollTop:$e.scrollTop,scrollLeftNormalized:q2e($e,o?"rtl":"ltr"),scrollWidth:$e.scrollWidth,top:yt.top,bottom:yt.bottom,left:yt.left,right:yt.right}}let Bt;if($e&&D!==!1){const yt=He.current.children;if(yt.length>0){const $t=yt[We.get(D)];Bt=$t?$t.getBoundingClientRect():null}}return{tabsMeta:Be,tabMeta:Bt}},ke=Xi(()=>{const{tabsMeta:$e,tabMeta:Be}=tr();let Bt=0,yt;if(M)yt="top",Be&&$e&&(Bt=Be.top-$e.top+$e.scrollTop);else if(yt=o?"right":"left",Be&&$e){const cn=o?$e.scrollLeftNormalized+$e.clientWidth-$e.scrollWidth:$e.scrollLeft;Bt=(o?-1:1)*(Be[yt]-$e[yt]+cn)}const $t={[yt]:Bt,[K]:Be?Be[K]:0};if(isNaN(P[yt])||isNaN(P[K]))G($t);else{const cn=Math.abs(P[yt]-$t[yt]),rr=Math.abs(P[K]-$t[K]);(cn>=1||rr>=1)&&G($t)}}),st=($e,{animation:Be=!0}={})=>{Be?L6e(O,Ye.current,$e,{duration:i.transitions.duration.standard}):Ye.current[O]=$e},lt=$e=>{let Be=Ye.current[O];M?Be+=$e:(Be+=$e*(o?-1:1),Be*=o&&NZ()==="reverse"?-1:1),st(Be)},nt=()=>{const $e=Ye.current[V];let Be=0;const Bt=Array.from(He.current.children);for(let yt=0;yt<Bt.length;yt+=1){const $t=Bt[yt];if(Be+$t[V]>$e){yt===0&&(Be=$e);break}Be+=$t[V]}return Be},it=()=>{lt(-1*nt())},ht=()=>{lt(nt())},Et=F.useCallback($e=>{Se({overflow:null,scrollbarWidth:$e})},[]),Ot=()=>{const $e={};$e.scrollbarSizeListener=$?u.jsx(Z6e,{onChange:Et,className:mt(A.scrollableX,A.hideScrollbar)}):null;const Bt=$&&(y==="auto"&&(z||ie)||y===!0);return $e.scrollButtonStart=Bt?u.jsx(h,Q({slots:{StartScrollButtonIcon:T.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:x},orientation:b,direction:o?"right":"left",onClick:it,disabled:!z},I,{className:mt(A.scrollButtons,I.className)})):null,$e.scrollButtonEnd=Bt?u.jsx(h,Q({slots:{EndScrollButtonIcon:T.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:C},orientation:b,direction:o?"left":"right",onClick:ht,disabled:!ie},I,{className:mt(A.scrollButtons,I.className)})):null,$e},Le=Xi($e=>{const{tabsMeta:Be,tabMeta:Bt}=tr();if(!(!Bt||!Be)){if(Bt[N]<Be[N]){const yt=Be[O]+(Bt[N]-Be[N]);st(yt,{animation:$e})}else if(Bt[H]>Be[H]){const yt=Be[O]+(Bt[H]-Be[H]);st(yt,{animation:$e})}}}),be=Xi(()=>{$&&y!==!1&&Ie(!ye)});F.useEffect(()=>{const $e=g8(()=>{Ye.current&&ke()});let Be;const Bt=cn=>{cn.forEach(rr=>{rr.removedNodes.forEach(xt=>{var Qr;(Qr=Be)==null||Qr.unobserve(xt)}),rr.addedNodes.forEach(xt=>{var Qr;(Qr=Be)==null||Qr.observe(xt)})}),$e(),be()},yt=df(Ye.current);yt.addEventListener("resize",$e);let $t;return typeof ResizeObserver<"u"&&(Be=new ResizeObserver($e),Array.from(He.current.children).forEach(cn=>{Be.observe(cn)})),typeof MutationObserver<"u"&&($t=new MutationObserver(Bt),$t.observe(He.current,{childList:!0})),()=>{var cn,rr;$e.clear(),yt.removeEventListener("resize",$e),(cn=$t)==null||cn.disconnect(),(rr=Be)==null||rr.disconnect()}},[ke,be]),F.useEffect(()=>{const $e=Array.from(He.current.children),Be=$e.length;if(typeof IntersectionObserver<"u"&&Be>0&&$&&y!==!1){const Bt=$e[0],yt=$e[Be-1],$t={root:Ye.current,threshold:.99},cn=cr=>{Z(!cr[0].isIntersecting)},rr=new IntersectionObserver(cn,$t);rr.observe(Bt);const xt=cr=>{ge(!cr[0].isIntersecting)},Qr=new IntersectionObserver(xt,$t);return Qr.observe(yt),()=>{rr.disconnect(),Qr.disconnect()}}},[$,y,ye,d==null?void 0:d.length]),F.useEffect(()=>{_(!0)},[]),F.useEffect(()=>{ke()}),F.useEffect(()=>{Le(yU!==P)},[Le,P]),F.useImperativeHandle(l,()=>({updateIndicator:ke,updateScrollButtons:be}),[ke,be]);const je=u.jsx(Y6e,Q({},S,{className:mt(A.indicator,S.className),ownerState:j,style:Q({},P,S.style)}));let Pt=0;const at=F.Children.map(d,$e=>{if(!F.isValidElement($e))return null;const Be=$e.props.value===void 0?Pt:$e.props.value;We.set(Be,Pt);const Bt=Be===D;return Pt+=1,F.cloneElement($e,Q({fullWidth:q==="fullWidth",indicator:Bt&&!E&&je,selected:Bt,selectionFollowsFocus:w,onChange:g,textColor:U,value:Be},Pt===1&&D===!1&&!$e.props.tabIndex?{tabIndex:0}:{}))}),ut=$e=>{const Be=He.current,Bt=ui(Be).activeElement;if(Bt.getAttribute("role")!=="tab")return;let $t=b==="horizontal"?"ArrowLeft":"ArrowUp",cn=b==="horizontal"?"ArrowRight":"ArrowDown";switch(b==="horizontal"&&o&&($t="ArrowRight",cn="ArrowLeft"),$e.key){case $t:$e.preventDefault(),g5(Be,Bt,gU);break;case cn:$e.preventDefault(),g5(Be,Bt,mU);break;case"Home":$e.preventDefault(),g5(Be,null,mU);break;case"End":$e.preventDefault(),g5(Be,null,gU);break}},ir=Ot();return u.jsxs(W6e,Q({className:mt(A.root,f),ownerState:j,ref:r,as:p},J,{children:[ir.scrollButtonStart,ir.scrollbarSizeListener,u.jsxs(G6e,{className:A.scroller,ownerState:j,style:{overflow:_e.overflow,[M?`margin${o?"Left":"Right"}`:"marginBottom"]:W?void 0:-_e.scrollbarWidth},ref:Ye,children:[u.jsx(K6e,{"aria-label":a,"aria-labelledby":s,"aria-orientation":b==="vertical"?"vertical":null,className:A.flexContainer,ownerState:j,onKeyDown:ut,ref:He,role:"tablist",children:at}),E&&je]}),ir.scrollButtonEnd]}))}),X6e="https://cdn.decentraland.org/@dcl/jump-site/0.4.3/assets/RoobertPRO-Bold-BLoSpx-h.otf",Q6e="https://cdn.decentraland.org/@dcl/jump-site/0.4.3/assets/RoobertPRO-Bold-zQ2qeH97.ttf",e8e=e=>({MuiCssBaseline:{styleOverrides:{"@font-face":{fontFamily:"DecentralandHero",src:`url(${Q6e}) format("truetype"), url(${X6e}) format("otf")`,fontStyle:"Sans-serif",fontWeight:"700"},body:{"& ::-webkit-scrollbar-track":{background:"rgba(0, 0, 0, .1)",borderRadius:0},"& ::-webkit-scrollbar-thumb":{cursor:"pointer",borderRadius:"5px",background:"rgba(0, 0, 0, .25)",webkitTransition:"color .2s ease",transition:"color .2s ease"},"& ::-webkit-scrollbar":{webkitAppearance:"none",width:"10px",height:"10px"}}}},MuiAppBar:{styleOverrides:{root:{backdropFilter:"saturate(180%) blur(20px);",transition:"box-Shadow 200ms cubic-bezier(0,1, 0.15, 1), background-image 200ms cubic-bezier(0,1, 0.15, 1)",backgroundImage:"none",backgroundColor:e.mode==="dark"?"rgba(24,20,26, 0.9)":"rgba(255,255,255, 0.9)"}}},MuiButton:{styleOverrides:{root:{"&.MuiButton-sizeLarge.MuiButton-containedPrimary":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{background:"#FF2D55",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-contrast)",background:"var(--mui-palette-primary-main)",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-primary-contrast)",padding:"0",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-contrast)",background:"var(--mui-palette-primary-light)",boxShadow:"var(--mui-shadows-2)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"#FEE9EC",background:"var(--mui-palette-_components-alert-error-color)",boxShadow:"none"}},"&.MuiButton-sizeLarge.MuiButton-containedInherit":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-text-_states-selected)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"#716B7C",boxShadow:"var(--mui-shadows-2)",opacity:"1"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-containedInherit (white)":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"#CFCDD4",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"#ECEBED",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-common-black_states-selected)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",boxShadow:"var(--mui-shadows-2)",opacity:"1"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-containedSecondary":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-main)",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-main)",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",opacity:"0.16",background:"var(--mui-palette-secondary-contrast)",padding:"0",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-light)",boxShadow:"var(--mui-shadows-2)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)",background:"#A09BA8",boxShadow:"none"}},"&.MuiButton-sizeLarge.MuiButton-containedError":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-error-contrast)",padding:"0",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-containedWarning":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-warning-contrast)",padding:"0",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-containedInfo":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-info-contrast)",padding:"0",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-containedSuccess":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-success-contrast)",padding:"0",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-containedPrimary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{background:"#FF2D55",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-contrast)",background:"var(--mui-palette-primary-main)",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-primary-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"#FEE9EC",background:"var(--mui-palette-_components-alert-error-color)",boxShadow:"none"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-contrast)",background:"var(--mui-palette-primary-light)",boxShadow:"var(--mui-shadows-2)"}},"&.MuiButton-sizeMedium.MuiButton-containedInherit":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-text-_states-selected)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"#716B7C",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeMedium.MuiButton-containedInherit (white)":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"#CFCDD4",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"#ECEBED",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-common-black_states-selected)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeMedium.MuiButton-containedSecondary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-main)",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-main)",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",opacity:"0.16",background:"var(--mui-palette-secondary-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)",background:"#A09BA8",boxShadow:"none"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-light)",boxShadow:"var(--mui-shadows-2)"}},"&.MuiButton-sizeMedium.MuiButton-containedError":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-error-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeMedium.MuiButton-containedWarning":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-warning-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeMedium.MuiButton-containedInfo":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-info-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeMedium.MuiButton-containedSuccess":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-success-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeSmall.MuiButton-containedPrimary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{background:"#FF2D55",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-contrast)",background:"var(--mui-palette-primary-main)",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-primary-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"#FEE9EC",background:"var(--mui-palette-_components-alert-error-color)",boxShadow:"none"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-contrast)",background:"var(--mui-palette-primary-light)",boxShadow:"var(--mui-shadows-2)"}},"&.MuiButton-sizeSmall.MuiButton-containedInherit":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-text-_states-selected)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"#716B7C",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeSmall.MuiButton-containedInherit (white)":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"#CFCDD4",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"#ECEBED",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-common-black_states-selected)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeSmall.MuiButton-containedSecondary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-main)",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-main)",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",opacity:"0.16",background:"var(--mui-palette-secondary-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)",background:"#A09BA8",boxShadow:"none"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-light)",boxShadow:"var(--mui-shadows-2)"}},"&.MuiButton-sizeSmall.MuiButton-containedError":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-error-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeSmall.MuiButton-containedWarning":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-warning-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeSmall.MuiButton-containedInfo":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-info-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeSmall.MuiButton-containedSuccess":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-success-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeLarge.MuiButton-outlinedPrimary":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-main)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-primary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedInherit":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"none",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"none",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-text-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"var(--mui-palette-action-hover)",opacity:"1",boxShadow:"none"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedInherit (white)":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-common-white_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedSecondary":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-secondary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedError":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-main)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-error-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedWarning":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-main)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-warning-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedInfo":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-main)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-info-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedSuccess":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-main)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-success-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedPrimary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-main)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-primary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-main)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedInherit":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"none",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"none",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-text-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"var(--mui-palette-action-hover)",opacity:"1",boxShadow:"none"}},"&.MuiButton-sizeMedium.MuiButton-outlinedInherit (white)":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-common-white_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedSecondary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-secondary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedError":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-main)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-error-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-main)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedWarning":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-main)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-warning-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-main)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedInfo":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-main)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-info-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-main)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedSuccess":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-main)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-success-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-main)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedPrimary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-main)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-primary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-main)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedInherit":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"none",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"none",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-text-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"var(--mui-palette-action-hover)",opacity:"1",boxShadow:"none"}},"&.MuiButton-sizeSmall.MuiButton-outlinedInherit (white)":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-common-white_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedSecondary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-secondary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedError":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-main)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-error-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-main)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedWarning":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-main)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-warning-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-main)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedInfo":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-main)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-info-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-main)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedSuccess":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-main)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-success-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-main)"}},"&.MuiButton-sizeMedium.MuiButton-textPrimary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-main)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-primary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textInherit":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-text-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textInherit (white)":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-common-white_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textSecondary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-secondary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textError":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-main)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-error-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textWarning":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-main)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-warning-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textInfo":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-main)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-info-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textSuccess":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-main)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-success-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textPrimary":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-main)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-primary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textInherit":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-text-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textInherit (white)":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-common-white_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textSecondary":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-secondary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textError":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-main)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-error-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textWarning":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-main)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-warning-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textInfo":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-main)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-info-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textSuccess":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-main)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-success-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textPrimary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-main)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-primary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textInherit":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-text-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textInherit (white)":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-common-white_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textSecondary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-secondary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textError":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-main)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-error-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textWarning":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-main)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-warning-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textInfo":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-main)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-info-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textSuccess":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-main)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-success-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}}}}},MuiPaper:{styleOverrides:{root:{backgroundColor:e.background.paper},elevation0:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(0)}), rgba(255, 255, 255, ${er(0)}))`:"none"},elevation1:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(1)}), rgba(255, 255, 255, ${er(1)}))`:"none"},elevation2:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(2)}), rgba(255, 255, 255, ${er(2)}))`:"none"},elevation3:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(3)}), rgba(255, 255, 255, ${er(3)}))`:"none"},elevation4:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(4)}), rgba(255, 255, 255, ${er(4)}))`:"none"},elevation5:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(5)}), rgba(255, 255, 255, ${er(5)}))`:"none"},elevation6:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(6)}), rgba(255, 255, 255, ${er(6)}))`:"none"},elevation7:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(7)}), rgba(255, 255, 255, ${er(7)}))`:"none"},elevation8:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(8)}), rgba(255, 255, 255, ${er(8)}))`:"none"},elevation9:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(9)}), rgba(255, 255, 255, ${er(9)}))`:"none"},elevation10:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(10)}), rgba(255, 255, 255, ${er(10)}))`:"none"},elevation11:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(11)}), rgba(255, 255, 255, ${er(11)}))`:"none"},elevation12:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(12)}), rgba(255, 255, 255, ${er(12)}))`:"none"},elevation13:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(13)}), rgba(255, 255, 255, ${er(13)}))`:"none"},elevation14:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(14)}), rgba(255, 255, 255, ${er(14)}))`:"none"},elevation15:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(15)}), rgba(255, 255, 255, ${er(15)}))`:"none"},elevation16:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(16)}), rgba(255, 255, 255, ${er(16)}))`:"none"},elevation17:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(17)}), rgba(255, 255, 255, ${er(17)}))`:"none"},elevation18:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(18)}), rgba(255, 255, 255, ${er(18)}))`:"none"},elevation19:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(19)}), rgba(255, 255, 255, ${er(19)}))`:"none"},elevation20:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(20)}), rgba(255, 255, 255, ${er(20)}))`:"none"},elevation21:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(21)}), rgba(255, 255, 255, ${er(21)}))`:"none"},elevation22:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(22)}), rgba(255, 255, 255, ${er(22)}))`:"none"},elevation23:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(23)}), rgba(255, 255, 255, ${er(23)}))`:"none"},elevation24:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(24)}), rgba(255, 255, 255, ${er(24)}))`:"none"}}},MuiTabs:{styleOverrides:{root:{borderBottom:`${e.divider} solid 1px`,minHeight:"30px"}}},MuiTab:{styleOverrides:{root:{textTransform:"capitalize",color:e.text.secondary,fontWeight:400,"&.Mui-selected":{color:e.text.primary,fontWeight:600}}}}}),t8e=ve.memo(e=>u.jsxs(Rye,{theme:e.theme,children:[u.jsx(S4e,{}),e.children]})),r8e={h1:{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600},h2:{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600},h3:{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600},h4:{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:500},h5:{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:500},h6:{fontFamily:"Inter, Helvetica, Arial, sans-serif"},body1:{fontFamily:"Inter, Helvetica, Arial, sans-serif"},body2:{fontFamily:"Inter, Helvetica, Arial, sans-serif"},subtitle1:{fontFamily:"Inter, Helvetica, Arial, sans-serif"},subtitle2:{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600},overline:{fontFamily:"Inter, Helvetica, Arial, sans-serif"},caption:{fontFamily:"Inter, Helvetica, Arial, sans-serif"}};function RJ(e){return{palette:JZ(xF[e].palette),typography:r8e,shape:{borderRadius:6},breakpoints:{values:{xs:768,sm:991,md:1024,lg:1280,xl:1500}},components:e8e(xF[e].palette)}}vI(RJ("light"));const n8e=vI(RJ("dark"));var Fd={},C8={},cE={},$f={},vU;function i8e(){if(vU)return $f;vU=1,Object.defineProperty($f,"__esModule",{value:!0}),$f.getEnvFromQueryParam=$f.getEnvFromTLD=void 0;const e=OI();function t(n){const{host:i}=n;return i.endsWith(".org")||i.endsWith(".co")?e.Env.PRODUCTION:i.endsWith(".today")||i.endsWith(".net")?e.Env.STAGING:i.endsWith(".io")||i.endsWith(".zone")?e.Env.DEVELOPMENT:null}$f.getEnvFromTLD=t;function r(n){const i=new URLSearchParams(n.search),o=i.get("ENV")||i.get("env");if(o){const a=o.toLowerCase();if((0,e.isEnv)(a))return a}return null}return $f.getEnvFromQueryParam=r,$f}var bU;function OI(){return bU||(bU=1,function(e){var t={VITE_SEGMENT_DEV_API_KEY:"UJLmm39XefLTcE55pRdWiwBT1JoTs6OI",VITE_SEGMENT_PRD_API_KEY:"uMHQo9dBTi626Bv11I3RxcH3Jui8lKMm"};Object.defineProperty(e,"__esModule",{value:!0}),e.getEnv=e.getDefaultEnv=e.parseEnvVar=e.isEnv=e.getEnvList=e.Env=void 0;const r=i8e();var n;(function(c){c.DEVELOPMENT="dev",c.STAGING="stg",c.PRODUCTION="prod"})(n=e.Env||(e.Env={}));function i(){return Object.values(n)}e.getEnvList=i;function o(c){return i().includes(c)}e.isEnv=o;function a(c){if(o(c))return c;throw new Error(`Invalid value for DCL_DEFAULT_ENV. Found "${c}", possible values are ${i().map(d=>`"${d}"`).join(", ")}.`)}e.parseEnvVar=a;function s(c={}){const{DCL_DEFAULT_ENV:d,REACT_APP_DCL_DEFAULT_ENV:f,VITE_DCL_DEFAULT_ENV:p,GATSBY_DCL_DEFAULT_ENV:m}=c;if(d&&f&&d!==f)throw new Error("You have defined both DCL_DEFAULT_ENV and REACT_APP_DCL_DEFAULT_ENV with different values");if(d&&p&&d!==p)throw new Error("You have defined both DCL_DEFAULT_ENV and VITE_DCL_DEFAULT_ENV with different values");if(d&&m&&d!==m)throw new Error("You have defined both DCL_DEFAULT_ENV and GATSBY_DCL_DEFAULT_ENV with different values");if(f&&m&&f!==m)throw new Error("You have defined both REACT_APP_DCL_DEFAULT_ENV and GATSBY_DCL_DEFAULT_ENV with different values");return d?a(d):f?a(f):p?a(p):m?a(m):n.PRODUCTION}e.getDefaultEnv=s;function l(c){if(typeof window<"u"){const f=(0,r.getEnvFromQueryParam)(window.location);if(f)return f;const p=(0,r.getEnvFromTLD)(window.location);if(p)return p}return s(typeof c>"u"&&typeof process=="object"&&typeof t=="object"?t:c)}e.getEnv=l}(cE)),cE}Object.defineProperty(C8,"__esModule",{value:!0});C8.createConfig=void 0;const o8e=OI();function a8e(e,t){const r=(0,o8e.getEnv)(t==null?void 0:t.systemEnvVariables),n=e[r];return{get:(i,o="")=>{if(!n)throw new Error(`Could not find a config for env=${r}`);return i in n?n[i]:o},is:i=>r===i,getEnv:()=>r}}C8.createConfig=a8e;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getEnv=e.Env=e.createConfig=void 0;var t=C8;Object.defineProperty(e,"createConfig",{enumerable:!0,get:function(){return t.createConfig}});var r=OI();Object.defineProperty(e,"Env",{enumerable:!0,get:function(){return r.Env}}),Object.defineProperty(e,"getEnv",{enumerable:!0,get:function(){return r.getEnv}})})(Fd);const s8e="11155111",l8e="development",c8e="jump",u8e="dcl-locale",d8e="https://decentraland.zone/jump",f8e="/auth",p8e="https://decentraland.zone",h8e="https://decentraland.zone/profile/",m8e="https://peer.decentraland.zone",g8e="https://places.decentraland.zone",y8e="https://places.decentraland.zone/api",v8e="https://decentraland.zone/events/",b8e="https://events.decentraland.zone/api",_8e="https://dcl.gg/discord",E8e="https://github.com/decentraland",x8e="https://twitter.com/decentraland",w8e="https://www.instagram.com/decentraland_foundation/",C8e="https://www.youtube.com/@decentraland_foundation",S8e="https://www.tiktok.com/@decentraland_fdn",A8e="https://www.linkedin.com/company/decentralandorg",T8e="https://decentraland.zone/marketplace/",M8e="https://decentraland.zone/create/",R8e="https://docs.decentraland.org/",I8e="https://decentraland.zone/blog/",O8e="https://decentraland.zone/help/",P8e="https://decentraland.zone/dao/",L8e="https://docs.decentraland.org/player/general/faq/",k8e="mailto:hello@decentraland.org",N8e="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",j8e="https://worlds-content-server.decentraland.zone/world",D8e="https://decentraland.zone/auth/login/?redirectTo=https%3A%2F%2Fdecentraland.org%2Fdownload",B8e="https://decentraland.zone/download",F8e={CHAIN_ID:s8e,ENVIRONMENT:l8e,LOCAL_STORAGE_KEY:c8e,STORAGE_LOCALE_KEY:u8e,JUMP_IN_URL:d8e,AUTH_URL:f8e,HOME_URL:p8e,PROFILE_URL:h8e,PEER_URL:m8e,PLACES_URL:g8e,PLACES_API_URL:y8e,EVENTS_URL:v8e,EVENTS_API_URL:b8e,DISCORD_URL:_8e,GITHUB_URL:E8e,X_URL:x8e,INSTAGRAM_URL:w8e,YOUTUBE_URL:C8e,TIKTOK_URL:S8e,LINKEDIN_URL:A8e,MARKETPLACE_URL:T8e,CREATE_URL:M8e,DOCS_URL:R8e,BLOG_URL:I8e,SUPPORT_URL:O8e,DAO_URL:P8e,FAQ_URL:L8e,EMAIL_HELLO_URL:k8e,BEEHIIV_SUBSCRIBE_URL:N8e,WORLD_CONTENT_API_URL:j8e,ONBOARDING_URL:D8e,DOWNLOAD_URL:B8e},U8e="1",$8e="production",H8e="jump",V8e="dcl-locale",z8e="https://decentraland.org/jump",q8e="https://decentraland.org",W8e="/auth",G8e="https://decentraland.org/profile/",K8e="https://peer.decentraland.org",Y8e="https://places.decentraland.org",Z8e="https://places.decentraland.org/api",J8e="https://decentraland.org/events/",X8e="https://events.decentraland.org/api",Q8e="https://dcl.gg/discord",e7e="https://github.com/decentraland",t7e="https://twitter.com/decentraland",r7e="https://www.instagram.com/decentraland_foundation/",n7e="https://www.youtube.com/@decentraland_foundation",i7e="https://www.tiktok.com/@decentraland_fdn",o7e="https://www.linkedin.com/company/decentralandorg",a7e="https://decentraland.org/marketplace/",s7e="https://decentraland.org/create/",l7e="https://docs.decentraland.org/",c7e="https://decentraland.org/blog/",u7e="https://decentraland.org/help/",d7e="https://decentraland.org/dao/",f7e="https://docs.decentraland.org/player/general/faq/",p7e="mailto:hello@decentraland.org",h7e="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",m7e="https://worlds-content-server.decentraland.org/world",g7e="https://decentraland.org/auth/login/?redirectTo=https%3A%2F%2Fdecentraland.org%2Fdownload",y7e="https://decentraland.org/download",v7e={CHAIN_ID:U8e,ENVIRONMENT:$8e,LOCAL_STORAGE_KEY:H8e,STORAGE_LOCALE_KEY:V8e,JUMP_IN_URL:z8e,HOME_URL:q8e,AUTH_URL:W8e,PROFILE_URL:G8e,PEER_URL:K8e,PLACES_URL:Y8e,PLACES_API_URL:Z8e,EVENTS_URL:J8e,EVENTS_API_URL:X8e,DISCORD_URL:Q8e,GITHUB_URL:e7e,X_URL:t7e,INSTAGRAM_URL:r7e,YOUTUBE_URL:n7e,TIKTOK_URL:i7e,LINKEDIN_URL:o7e,MARKETPLACE_URL:a7e,CREATE_URL:s7e,DOCS_URL:l7e,BLOG_URL:c7e,SUPPORT_URL:u7e,DAO_URL:d7e,FAQ_URL:f7e,EMAIL_HELLO_URL:p7e,BEEHIIV_SUBSCRIBE_URL:h7e,WORLD_CONTENT_API_URL:m7e,ONBOARDING_URL:g7e,DOWNLOAD_URL:y7e};var uE={VITE_SEGMENT_DEV_API_KEY:"UJLmm39XefLTcE55pRdWiwBT1JoTs6OI",VITE_SEGMENT_PRD_API_KEY:"uMHQo9dBTi626Bv11I3RxcH3Jui8lKMm"};const jr=Fd.createConfig({[Fd.Env.DEVELOPMENT]:{...F8e,SEGMENT_API_KEY:uE.VITE_SEGMENT_DEV_API_KEY},[Fd.Env.PRODUCTION]:{...v7e,SEGMENT_API_KEY:uE.VITE_SEGMENT_PRD_API_KEY}},{systemEnvVariables:{REACT_APP_DCL_DEFAULT_ENV:uE.VITE_REACT_APP_DCL_DEFAULT_ENV??"dev"}}),b7e="modulepreload",_7e=function(e){return"https://cdn.decentraland.org/@dcl/jump-site/0.4.3/"+e},_U={},Eh=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.all(r.map(s=>{if(s=_7e(s),s in _U)return;_U[s]=!0;const l=s.endsWith(".css"),c=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${c}`))return;const d=document.createElement("link");if(d.rel=l?"stylesheet":b7e,l||(d.as="script",d.crossOrigin=""),d.href=s,a&&d.setAttribute("nonce",a),document.head.appendChild(d),l)return new Promise((f,p)=>{d.addEventListener("load",f),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${s}`)))})}))}return i.then(()=>t()).catch(o=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o})};var E7e=" daum[ /]| deusu/| yadirectfetcher|(?:^|[^g])news(?!sapphire)|(?<! (?:channel/|google/))google(?!(app|/google| pixel))|(?<! cu)bots?(?:\\b|_)|(?<!(?:lib))http|(?<![hg]m)score|@[a-z][\\w-]+\\.|\\(\\)|\\.com\\b|\\btime/|\\||^<|^[\\w \\.\\-\\(?:\\):%]+(?:/v?\\d+(?:\\.\\d+)?(?:\\.\\d{1,10})*?)?(?:,|$)|^[^ ]{50,}$|^\\d+\\b|^\\w*search\\b|^\\w+/[\\w\\(\\)]*$|^active|^ad muncher|^amaya|^avsdevicesdk/|^biglotron|^bot|^bw/|^clamav[ /]|^client/|^cobweb/|^custom|^ddg[_-]android|^discourse|^dispatch/\\d|^downcast/|^duckduckgo|^email|^facebook|^getright/|^gozilla/|^hobbit|^hotzonu|^hwcdn/|^igetter/|^jeode/|^jetty/|^jigsaw|^microsoft bits|^movabletype|^mozilla/\\d\\.\\d\\s[\\w\\.-]+$|^mozilla/\\d\\.\\d\\s\\(compatible;?(?:\\s\\w+\\/\\d+\\.\\d+)?\\)$|^navermailapp|^netsurf|^offline|^openai/|^owler|^php|^postman|^python|^rank|^read|^reed|^rest|^rss|^snapchat|^space bison|^svn|^swcd |^taringa|^thumbor/|^track|^w3c|^webbandit/|^webcopier|^wget|^whatsapp|^wordpress|^xenu link sleuth|^yahoo|^yandex|^zdm/\\d|^zoom marketplace/|^{{.*}}$|adscanner/|analyzer|archive|ask jeeves/teoma|audit|bit\\.ly/|bluecoat drtr|browsex|burpcollaborator|capture|catch|check\\b|checker|chrome-lighthouse|chromeframe|classifier|cloudflare|convertify|cookiehubscan|crawl|cypress/|dareboost|datanyze|dejaclick|detect|dmbrowser|download|evc-batch/|exaleadcloudview|feed|firephp|functionize|gomezagent|headless|httrack|hubspot marketing grader|hydra|ibisbrowser|infrawatch|insight|inspect|iplabel|ips-agent|java(?!;)|jsjcw_scanner|library|linkcheck|mail\\.ru/|manager|measure|neustar wpm|node|nutch|offbyone|optimize|pageburst|pagespeed|parser|perl|phantomjs|pingdom|powermarks|preview|proxy|ptst[ /]\\d|retriever|rexx;|rigor|rss\\b|scanner\\.|scrape|server|sogou|sparkler/|speedcurve|spider|splash|statuscake|supercleaner|synapse|synthetic|tools|torrent|transcoder|url|validator|virtuoso|wappalyzer|webglance|webkit2png|whatcms/|zgrab",x7e=/bot|crawl|http|lighthouse|scan|search|spider/i,f2;function w7e(){if(f2 instanceof RegExp)return f2;try{f2=new RegExp(E7e,"i")}catch{f2=x7e}return f2}function C7e(e){return!!e&&w7e().test(e)}const IJ=F.createContext(null),S7e=({writeKey:e,userId:t,traits:r,children:n})=>{const i=F.useRef(null),[o,a]=F.useState(!1);F.useEffect(()=>((async()=>{if(!e){console.log("[Analytics] No writeKey provided");return}const c=navigator.userAgent;if(C7e(c)){console.log("[Analytics] Skipping load: bot detected");return}try{const{AnalyticsBrowser:f}=await Eh(async()=>{const{AnalyticsBrowser:p}=await import("./index-DKnrndCW.js").then(m=>m.q);return{AnalyticsBrowser:p}},[]);i.current=f.load({writeKey:e}),t&&i.current.identify(t,r),a(!0)}catch(f){console.error("[Analytics] Failed to initialize:",f)}})(),()=>{i.current=null,a(!1)}),[e,t,r]);const s=i.current&&o?{isInitialized:!0,track:(l,c)=>{var d;(d=i.current)==null||d.track(l,c)},identify:(l,c)=>{var d;(d=i.current)==null||d.identify(l,c)},page:(l,c)=>{var d;(d=i.current)==null||d.page(l,c)}}:{isInitialized:!1};return u.jsx(IJ.Provider,{value:s,children:n})};var Re={},OJ={},PJ={},LJ={},Qe={},NC={exports:{}},kJ={},Is={},xh={},pm={},gr={},wh={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends t{constructor(y){if(super(),!e.IDENTIFIER.test(y))throw new Error("CodeGen: name must be a valid identifier");this.str=y}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class n extends t{constructor(y){super(),this._items=typeof y=="string"?[y]:y}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const y=this._items[0];return y===""||y==='""'}get str(){var y;return(y=this._str)!==null&&y!==void 0?y:this._str=this._items.reduce((w,T)=>`${w}${T}`,"")}get names(){var y;return(y=this._names)!==null&&y!==void 0?y:this._names=this._items.reduce((w,T)=>(T instanceof r&&(w[T.str]=(w[T.str]||0)+1),w),{})}}e._Code=n,e.nil=new n("");function i(h,...y){const w=[h[0]];let T=0;for(;T<y.length;)s(w,y[T]),w.push(h[++T]);return new n(w)}e._=i;const o=new n("+");function a(h,...y){const w=[m(h[0])];let T=0;for(;T<y.length;)w.push(o),s(w,y[T]),w.push(o,m(h[++T]));return l(w),new n(w)}e.str=a;function s(h,y){y instanceof n?h.push(...y._items):y instanceof r?h.push(y):h.push(f(y))}e.addCodeArg=s;function l(h){let y=1;for(;y<h.length-1;){if(h[y]===o){const w=c(h[y-1],h[y+1]);if(w!==void 0){h.splice(y-1,3,w);continue}h[y++]="+"}y++}}function c(h,y){if(y==='""')return h;if(h==='""')return y;if(typeof h=="string")return y instanceof r||h[h.length-1]!=='"'?void 0:typeof y!="string"?`${h.slice(0,-1)}${y}"`:y[0]==='"'?h.slice(0,-1)+y.slice(1):void 0;if(typeof y=="string"&&y[0]==='"'&&!(h instanceof r))return`"${h}${y.slice(1)}`}function d(h,y){return y.emptyStr()?h:h.emptyStr()?y:a`${h}${y}`}e.strConcat=d;function f(h){return typeof h=="number"||typeof h=="boolean"||h===null?h:m(Array.isArray(h)?h.join(","):h)}function p(h){return new n(m(h))}e.stringify=p;function m(h){return JSON.stringify(h).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=m;function v(h){return typeof h=="string"&&e.IDENTIFIER.test(h)?new n(`.${h}`):i`[${h}]`}e.getProperty=v;function g(h){if(typeof h=="string"&&e.IDENTIFIER.test(h))return new n(`${h}`);throw new Error(`CodeGen: invalid export name: ${h}, use explicit $id name mapping`)}e.getEsmExportName=g;function b(h){return new n(h.toString())}e.regexpCode=b})(wh);var jC={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=wh;class r extends Error{constructor(c){super(`CodeGen: "code" for ${c} not defined`),this.value=c.value}}var n;(function(l){l[l.Started=0]="Started",l[l.Completed=1]="Completed"})(n||(e.UsedValueState=n={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class i{constructor({prefixes:c,parent:d}={}){this._names={},this._prefixes=c,this._parent=d}toName(c){return c instanceof t.Name?c:this.name(c)}name(c){return new t.Name(this._newName(c))}_newName(c){const d=this._names[c]||this._nameGroup(c);return`${c}${d.index++}`}_nameGroup(c){var d,f;if(!((f=(d=this._parent)===null||d===void 0?void 0:d._prefixes)===null||f===void 0)&&f.has(c)||this._prefixes&&!this._prefixes.has(c))throw new Error(`CodeGen: prefix "${c}" is not allowed in this scope`);return this._names[c]={prefix:c,index:0}}}e.Scope=i;class o extends t.Name{constructor(c,d){super(d),this.prefix=c}setValue(c,{property:d,itemIndex:f}){this.value=c,this.scopePath=(0,t._)`.${new t.Name(d)}[${f}]`}}e.ValueScopeName=o;const a=(0,t._)`\n`;class s extends i{constructor(c){super(c),this._values={},this._scope=c.scope,this.opts={...c,_n:c.lines?a:t.nil}}get(){return this._scope}name(c){return new o(c,this._newName(c))}value(c,d){var f;if(d.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const p=this.toName(c),{prefix:m}=p,v=(f=d.key)!==null&&f!==void 0?f:d.ref;let g=this._values[m];if(g){const y=g.get(v);if(y)return y}else g=this._values[m]=new Map;g.set(v,p);const b=this._scope[m]||(this._scope[m]=[]),h=b.length;return b[h]=d.ref,p.setValue(d,{property:m,itemIndex:h}),p}getValue(c,d){const f=this._values[c];if(f)return f.get(d)}scopeRefs(c,d=this._values){return this._reduceValues(d,f=>{if(f.scopePath===void 0)throw new Error(`CodeGen: name "${f}" has no value`);return(0,t._)`${c}${f.scopePath}`})}scopeCode(c=this._values,d,f){return this._reduceValues(c,p=>{if(p.value===void 0)throw new Error(`CodeGen: name "${p}" has no value`);return p.value.code},d,f)}_reduceValues(c,d,f={},p){let m=t.nil;for(const v in c){const g=c[v];if(!g)continue;const b=f[v]=f[v]||new Map;g.forEach(h=>{if(b.has(h))return;b.set(h,n.Started);let y=d(h);if(y){const w=this.opts.es5?e.varKinds.var:e.varKinds.const;m=(0,t._)`${m}${w} ${h} = ${y};${this.opts._n}`}else if(y=p==null?void 0:p(h))m=(0,t._)`${m}${y}${this.opts._n}`;else throw new r(h);b.set(h,n.Completed)})}return m}}e.ValueScope=s})(jC);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=wh,r=jC;var n=wh;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var i=jC;Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return i.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return i.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return i.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return i.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class o{optimizeNodes(){return this}optimizeNames(E,_){return this}}class a extends o{constructor(E,_,P){super(),this.varKind=E,this.name=_,this.rhs=P}render({es5:E,_n:_}){const P=E?r.varKinds.var:this.varKind,G=this.rhs===void 0?"":` = ${this.rhs}`;return`${P} ${this.name}${G};`+_}optimizeNames(E,_){if(E[this.name.str])return this.rhs&&(this.rhs=M(this.rhs,E,_)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class s extends o{constructor(E,_,P){super(),this.lhs=E,this.rhs=_,this.sideEffects=P}render({_n:E}){return`${this.lhs} = ${this.rhs};`+E}optimizeNames(E,_){if(!(this.lhs instanceof t.Name&&!E[this.lhs.str]&&!this.sideEffects))return this.rhs=M(this.rhs,E,_),this}get names(){const E=this.lhs instanceof t.Name?{}:{...this.lhs.names};return $(E,this.rhs)}}class l extends s{constructor(E,_,P,G){super(E,P,G),this.op=_}render({_n:E}){return`${this.lhs} ${this.op}= ${this.rhs};`+E}}class c extends o{constructor(E){super(),this.label=E,this.names={}}render({_n:E}){return`${this.label}:`+E}}class d extends o{constructor(E){super(),this.label=E,this.names={}}render({_n:E}){return`break${this.label?` ${this.label}`:""};`+E}}class f extends o{constructor(E){super(),this.error=E}render({_n:E}){return`throw ${this.error};`+E}get names(){return this.error.names}}class p extends o{constructor(E){super(),this.code=E}render({_n:E}){return`${this.code};`+E}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(E,_){return this.code=M(this.code,E,_),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class m extends o{constructor(E=[]){super(),this.nodes=E}render(E){return this.nodes.reduce((_,P)=>_+P.render(E),"")}optimizeNodes(){const{nodes:E}=this;let _=E.length;for(;_--;){const P=E[_].optimizeNodes();Array.isArray(P)?E.splice(_,1,...P):P?E[_]=P:E.splice(_,1)}return E.length>0?this:void 0}optimizeNames(E,_){const{nodes:P}=this;let G=P.length;for(;G--;){const z=P[G];z.optimizeNames(E,_)||(O(E,z.names),P.splice(G,1))}return P.length>0?this:void 0}get names(){return this.nodes.reduce((E,_)=>J(E,_.names),{})}}class v extends m{render(E){return"{"+E._n+super.render(E)+"}"+E._n}}class g extends m{}class b extends v{}b.kind="else";class h extends v{constructor(E,_){super(_),this.condition=E}render(E){let _=`if(${this.condition})`+super.render(E);return this.else&&(_+="else "+this.else.render(E)),_}optimizeNodes(){super.optimizeNodes();const E=this.condition;if(E===!0)return this.nodes;let _=this.else;if(_){const P=_.optimizeNodes();_=this.else=Array.isArray(P)?new b(P):P}if(_)return E===!1?_ instanceof h?_:_.nodes:this.nodes.length?this:new h(N(E),_ instanceof h?[_]:_.nodes);if(!(E===!1||!this.nodes.length))return this}optimizeNames(E,_){var P;if(this.else=(P=this.else)===null||P===void 0?void 0:P.optimizeNames(E,_),!!(super.optimizeNames(E,_)||this.else))return this.condition=M(this.condition,E,_),this}get names(){const E=super.names;return $(E,this.condition),this.else&&J(E,this.else.names),E}}h.kind="if";class y extends v{}y.kind="for";class w extends y{constructor(E){super(),this.iteration=E}render(E){return`for(${this.iteration})`+super.render(E)}optimizeNames(E,_){if(super.optimizeNames(E,_))return this.iteration=M(this.iteration,E,_),this}get names(){return J(super.names,this.iteration.names)}}class T extends y{constructor(E,_,P,G){super(),this.varKind=E,this.name=_,this.from=P,this.to=G}render(E){const _=E.es5?r.varKinds.var:this.varKind,{name:P,from:G,to:z}=this;return`for(${_} ${P}=${G}; ${P}<${z}; ${P}++)`+super.render(E)}get names(){const E=$(super.names,this.from);return $(E,this.to)}}class R extends y{constructor(E,_,P,G){super(),this.loop=E,this.varKind=_,this.name=P,this.iterable=G}render(E){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(E)}optimizeNames(E,_){if(super.optimizeNames(E,_))return this.iterable=M(this.iterable,E,_),this}get names(){return J(super.names,this.iterable.names)}}class S extends v{constructor(E,_,P){super(),this.name=E,this.args=_,this.async=P}render(E){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(E)}}S.kind="func";class I extends m{render(E){return"return "+super.render(E)}}I.kind="return";class U extends v{render(E){let _="try"+super.render(E);return this.catch&&(_+=this.catch.render(E)),this.finally&&(_+=this.finally.render(E)),_}optimizeNodes(){var E,_;return super.optimizeNodes(),(E=this.catch)===null||E===void 0||E.optimizeNodes(),(_=this.finally)===null||_===void 0||_.optimizeNodes(),this}optimizeNames(E,_){var P,G;return super.optimizeNames(E,_),(P=this.catch)===null||P===void 0||P.optimizeNames(E,_),(G=this.finally)===null||G===void 0||G.optimizeNames(E,_),this}get names(){const E=super.names;return this.catch&&J(E,this.catch.names),this.finally&&J(E,this.finally.names),E}}class D extends v{constructor(E){super(),this.error=E}render(E){return`catch(${this.error})`+super.render(E)}}D.kind="catch";class q extends v{render(E){return"finally"+super.render(E)}}q.kind="finally";class W{constructor(E,_={}){this._values={},this._blockStarts=[],this._constants={},this.opts={..._,_n:_.lines?`
|
|
257
|
+
${e.palette.mode==="light"?my(fn(e.palette.divider,1),.88):hy(fn(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${o6e.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),c6e=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiTableCell"}),{align:i="inherit",className:o,component:a,padding:s,scope:l,size:c,sortDirection:d,variant:f}=n,p=vt(n,a6e),m=F.useContext(TJ),v=F.useContext(w8),g=v&&v.variant==="head";let b;a?b=a:b=g?"th":"td";let h=l;b==="td"?h=void 0:!h&&g&&(h="col");const y=f||v&&v.variant,w=Q({},n,{align:i,component:b,padding:s||(m&&m.padding?m.padding:"normal"),size:c||(m&&m.size?m.size:"medium"),sortDirection:d,stickyHeader:y==="head"&&m&&m.stickyHeader,variant:y}),T=s6e(w);let R=null;return d&&(R=d==="asc"?"ascending":"descending"),u.jsx(l6e,Q({as:b,ref:r,className:mt(T.root,o),"aria-sort":R,scope:h,ownerState:w},p))});function u6e(e){return Ar("MuiTableContainer",e)}Er("MuiTableContainer",["root"]);const d6e=["className","component"],f6e=e=>{const{classes:t}=e;return Rr({root:["root"]},u6e,t)},p6e=Ee("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),h6e=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiTableContainer"}),{className:i,component:o="div"}=n,a=vt(n,d6e),s=Q({},n,{component:o}),l=f6e(s);return u.jsx(p6e,Q({ref:r,as:o,className:mt(l.root,i),ownerState:s},a))});function m6e(e){return Ar("MuiTableHead",e)}Er("MuiTableHead",["root"]);const g6e=["className","component"],y6e=e=>{const{classes:t}=e;return Rr({root:["root"]},m6e,t)},v6e=Ee("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),b6e={variant:"head"},fU="thead",_6e=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiTableHead"}),{className:i,component:o=fU}=n,a=vt(n,g6e),s=Q({},n,{component:o}),l=y6e(s);return u.jsx(w8.Provider,{value:b6e,children:u.jsx(v6e,Q({as:o,className:mt(l.root,i),ref:r,role:o===fU?null:"rowgroup",ownerState:s},a))})});function E6e(e){return Ar("MuiToolbar",e)}Er("MuiToolbar",["root","gutters","regular","dense"]);const x6e=["className","component","disableGutters","variant"],w6e=e=>{const{classes:t,disableGutters:r,variant:n}=e;return Rr({root:["root",!r&&"gutters",n]},E6e,t)},C6e=Ee("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.variant]]}})(({theme:e,ownerState:t})=>Q({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),S6e=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:a=!1,variant:s="regular"}=n,l=vt(n,x6e),c=Q({},n,{component:o,disableGutters:a,variant:s}),d=w6e(c);return u.jsx(C6e,Q({as:o,className:mt(d.root,i),ref:r,ownerState:c},l))}),A6e=ap(u.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),T6e=ap(u.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function M6e(e){return Ar("MuiTableRow",e)}const pU=Er("MuiTableRow",["root","selected","hover","head","footer"]),R6e=["className","component","hover","selected"],I6e=e=>{const{classes:t,selected:r,hover:n,head:i,footer:o}=e;return Rr({root:["root",r&&"selected",n&&"hover",i&&"head",o&&"footer"]},M6e,t)},O6e=Ee("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.head&&t.head,r.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${pU.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${pU.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:fn(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:fn(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),hU="tr",MJ=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiTableRow"}),{className:i,component:o=hU,hover:a=!1,selected:s=!1}=n,l=vt(n,R6e),c=F.useContext(w8),d=Q({},n,{component:o,hover:a,selected:s,head:c&&c.variant==="head",footer:c&&c.variant==="footer"}),f=I6e(d);return u.jsx(O6e,Q({as:o,ref:r,className:mt(f.root,i),role:o===hU?null:"row",ownerState:d},l))});function P6e(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function L6e(e,t,r,n={},i=()=>{}){const{ease:o=P6e,duration:a=300}=n;let s=null;const l=t[e];let c=!1;const d=()=>{c=!0},f=p=>{if(c){i(new Error("Animation cancelled"));return}s===null&&(s=p);const m=Math.min(1,(p-s)/a);if(t[e]=o(m)*(r-l)+l,m>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(f)};return l===r?(i(new Error("Element already at target position")),d):(requestAnimationFrame(f),d)}const k6e=["onChange"],N6e={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function j6e(e){const{onChange:t}=e,r=vt(e,k6e),n=F.useRef(),i=F.useRef(null),o=()=>{n.current=i.current.offsetHeight-i.current.clientHeight};return Ol(()=>{const a=g8(()=>{const l=n.current;o(),l!==n.current&&t(n.current)}),s=df(i.current);return s.addEventListener("resize",a),()=>{a.clear(),s.removeEventListener("resize",a)}},[t]),F.useEffect(()=>{o(),t(n.current)},[t]),u.jsx("div",Q({style:N6e,ref:i},r))}function D6e(e){return Ar("MuiTabScrollButton",e)}const B6e=Er("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),F6e=["className","slots","slotProps","direction","orientation","disabled"],U6e=e=>{const{classes:t,orientation:r,disabled:n}=e;return Rr({root:["root",r,n&&"disabled"]},D6e,t)},$6e=Ee(Pl,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.orientation&&t[r.orientation]]}})(({ownerState:e})=>Q({width:40,flexShrink:0,opacity:.8,[`&.${B6e.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),H6e=F.forwardRef(function(t,r){var n,i;const o=Tr({props:t,name:"MuiTabScrollButton"}),{className:a,slots:s={},slotProps:l={},direction:c}=o,d=vt(o,F6e),f=Qy(),p=Q({isRtl:f},o),m=U6e(p),v=(n=s.StartScrollButtonIcon)!=null?n:A6e,g=(i=s.EndScrollButtonIcon)!=null?i:T6e,b=vi({elementType:v,externalSlotProps:l.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:p}),h=vi({elementType:g,externalSlotProps:l.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:p});return u.jsx($6e,Q({component:"div",className:mt(m.root,a),ref:r,role:null,ownerState:p,tabIndex:null},d,{children:c==="left"?u.jsx(v,Q({},b)):u.jsx(g,Q({},h))}))});function V6e(e){return Ar("MuiTabs",e)}const lE=Er("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),z6e=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],mU=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,gU=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,g5=(e,t,r)=>{let n=!1,i=r(e,t);for(;i;){if(i===e.firstChild){if(n)return;n=!0}const o=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||o)i=r(e,i);else{i.focus();return}}},q6e=e=>{const{vertical:t,fixed:r,hideScrollbar:n,scrollableX:i,scrollableY:o,centered:a,scrollButtonsHideMobile:s,classes:l}=e;return Rr({root:["root",t&&"vertical"],scroller:["scroller",r&&"fixed",n&&"hideScrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},V6e,l)},W6e=Ee("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${lE.scrollButtons}`]:t.scrollButtons},{[`& .${lE.scrollButtons}`]:r.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,r.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>Q({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${lE.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),G6e=Ee("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.scroller,r.fixed&&t.fixed,r.hideScrollbar&&t.hideScrollbar,r.scrollableX&&t.scrollableX,r.scrollableY&&t.scrollableY]}})(({ownerState:e})=>Q({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),K6e=Ee("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.flexContainer,r.vertical&&t.flexContainerVertical,r.centered&&t.centered]}})(({ownerState:e})=>Q({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),Y6e=Ee("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>Q({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),Z6e=Ee(j6e)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),yU={},J6e=F.forwardRef(function(t,r){const n=Tr({props:t,name:"MuiTabs"}),i=_i(),o=Qy(),{"aria-label":a,"aria-labelledby":s,action:l,centered:c=!1,children:d,className:f,component:p="div",allowScrollButtonsMobile:m=!1,indicatorColor:v="primary",onChange:g,orientation:b="horizontal",ScrollButtonComponent:h=H6e,scrollButtons:y="auto",selectionFollowsFocus:w,slots:T={},slotProps:R={},TabIndicatorProps:S={},TabScrollButtonProps:I={},textColor:U="primary",value:D,variant:q="standard",visibleScrollbar:W=!1}=n,J=vt(n,z6e),$=q==="scrollable",M=b==="vertical",O=M?"scrollTop":"scrollLeft",N=M?"top":"left",H=M?"bottom":"right",V=M?"clientHeight":"clientWidth",K=M?"height":"width",j=Q({},n,{component:p,allowScrollButtonsMobile:m,indicatorColor:v,orientation:b,vertical:M,scrollButtons:y,textColor:U,variant:q,visibleScrollbar:W,fixed:!$,hideScrollbar:$&&!W,scrollableX:$&&!M,scrollableY:$&&M,centered:c&&!$,scrollButtonsHideMobile:!m}),A=q6e(j),x=vi({elementType:T.StartScrollButtonIcon,externalSlotProps:R.startScrollButtonIcon,ownerState:j}),C=vi({elementType:T.EndScrollButtonIcon,externalSlotProps:R.endScrollButtonIcon,ownerState:j}),[E,_]=F.useState(!1),[P,G]=F.useState(yU),[z,Z]=F.useState(!1),[ie,ge]=F.useState(!1),[ye,Ie]=F.useState(!1),[_e,Se]=F.useState({overflow:"hidden",scrollbarWidth:0}),We=new Map,Ye=F.useRef(null),He=F.useRef(null),tr=()=>{const $e=Ye.current;let Be;if($e){const yt=$e.getBoundingClientRect();Be={clientWidth:$e.clientWidth,scrollLeft:$e.scrollLeft,scrollTop:$e.scrollTop,scrollLeftNormalized:q2e($e,o?"rtl":"ltr"),scrollWidth:$e.scrollWidth,top:yt.top,bottom:yt.bottom,left:yt.left,right:yt.right}}let Bt;if($e&&D!==!1){const yt=He.current.children;if(yt.length>0){const $t=yt[We.get(D)];Bt=$t?$t.getBoundingClientRect():null}}return{tabsMeta:Be,tabMeta:Bt}},ke=Xi(()=>{const{tabsMeta:$e,tabMeta:Be}=tr();let Bt=0,yt;if(M)yt="top",Be&&$e&&(Bt=Be.top-$e.top+$e.scrollTop);else if(yt=o?"right":"left",Be&&$e){const cn=o?$e.scrollLeftNormalized+$e.clientWidth-$e.scrollWidth:$e.scrollLeft;Bt=(o?-1:1)*(Be[yt]-$e[yt]+cn)}const $t={[yt]:Bt,[K]:Be?Be[K]:0};if(isNaN(P[yt])||isNaN(P[K]))G($t);else{const cn=Math.abs(P[yt]-$t[yt]),rr=Math.abs(P[K]-$t[K]);(cn>=1||rr>=1)&&G($t)}}),st=($e,{animation:Be=!0}={})=>{Be?L6e(O,Ye.current,$e,{duration:i.transitions.duration.standard}):Ye.current[O]=$e},lt=$e=>{let Be=Ye.current[O];M?Be+=$e:(Be+=$e*(o?-1:1),Be*=o&&NZ()==="reverse"?-1:1),st(Be)},nt=()=>{const $e=Ye.current[V];let Be=0;const Bt=Array.from(He.current.children);for(let yt=0;yt<Bt.length;yt+=1){const $t=Bt[yt];if(Be+$t[V]>$e){yt===0&&(Be=$e);break}Be+=$t[V]}return Be},it=()=>{lt(-1*nt())},ht=()=>{lt(nt())},Et=F.useCallback($e=>{Se({overflow:null,scrollbarWidth:$e})},[]),Ot=()=>{const $e={};$e.scrollbarSizeListener=$?u.jsx(Z6e,{onChange:Et,className:mt(A.scrollableX,A.hideScrollbar)}):null;const Bt=$&&(y==="auto"&&(z||ie)||y===!0);return $e.scrollButtonStart=Bt?u.jsx(h,Q({slots:{StartScrollButtonIcon:T.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:x},orientation:b,direction:o?"right":"left",onClick:it,disabled:!z},I,{className:mt(A.scrollButtons,I.className)})):null,$e.scrollButtonEnd=Bt?u.jsx(h,Q({slots:{EndScrollButtonIcon:T.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:C},orientation:b,direction:o?"left":"right",onClick:ht,disabled:!ie},I,{className:mt(A.scrollButtons,I.className)})):null,$e},Le=Xi($e=>{const{tabsMeta:Be,tabMeta:Bt}=tr();if(!(!Bt||!Be)){if(Bt[N]<Be[N]){const yt=Be[O]+(Bt[N]-Be[N]);st(yt,{animation:$e})}else if(Bt[H]>Be[H]){const yt=Be[O]+(Bt[H]-Be[H]);st(yt,{animation:$e})}}}),be=Xi(()=>{$&&y!==!1&&Ie(!ye)});F.useEffect(()=>{const $e=g8(()=>{Ye.current&&ke()});let Be;const Bt=cn=>{cn.forEach(rr=>{rr.removedNodes.forEach(xt=>{var Qr;(Qr=Be)==null||Qr.unobserve(xt)}),rr.addedNodes.forEach(xt=>{var Qr;(Qr=Be)==null||Qr.observe(xt)})}),$e(),be()},yt=df(Ye.current);yt.addEventListener("resize",$e);let $t;return typeof ResizeObserver<"u"&&(Be=new ResizeObserver($e),Array.from(He.current.children).forEach(cn=>{Be.observe(cn)})),typeof MutationObserver<"u"&&($t=new MutationObserver(Bt),$t.observe(He.current,{childList:!0})),()=>{var cn,rr;$e.clear(),yt.removeEventListener("resize",$e),(cn=$t)==null||cn.disconnect(),(rr=Be)==null||rr.disconnect()}},[ke,be]),F.useEffect(()=>{const $e=Array.from(He.current.children),Be=$e.length;if(typeof IntersectionObserver<"u"&&Be>0&&$&&y!==!1){const Bt=$e[0],yt=$e[Be-1],$t={root:Ye.current,threshold:.99},cn=cr=>{Z(!cr[0].isIntersecting)},rr=new IntersectionObserver(cn,$t);rr.observe(Bt);const xt=cr=>{ge(!cr[0].isIntersecting)},Qr=new IntersectionObserver(xt,$t);return Qr.observe(yt),()=>{rr.disconnect(),Qr.disconnect()}}},[$,y,ye,d==null?void 0:d.length]),F.useEffect(()=>{_(!0)},[]),F.useEffect(()=>{ke()}),F.useEffect(()=>{Le(yU!==P)},[Le,P]),F.useImperativeHandle(l,()=>({updateIndicator:ke,updateScrollButtons:be}),[ke,be]);const je=u.jsx(Y6e,Q({},S,{className:mt(A.indicator,S.className),ownerState:j,style:Q({},P,S.style)}));let Pt=0;const at=F.Children.map(d,$e=>{if(!F.isValidElement($e))return null;const Be=$e.props.value===void 0?Pt:$e.props.value;We.set(Be,Pt);const Bt=Be===D;return Pt+=1,F.cloneElement($e,Q({fullWidth:q==="fullWidth",indicator:Bt&&!E&&je,selected:Bt,selectionFollowsFocus:w,onChange:g,textColor:U,value:Be},Pt===1&&D===!1&&!$e.props.tabIndex?{tabIndex:0}:{}))}),ut=$e=>{const Be=He.current,Bt=ui(Be).activeElement;if(Bt.getAttribute("role")!=="tab")return;let $t=b==="horizontal"?"ArrowLeft":"ArrowUp",cn=b==="horizontal"?"ArrowRight":"ArrowDown";switch(b==="horizontal"&&o&&($t="ArrowRight",cn="ArrowLeft"),$e.key){case $t:$e.preventDefault(),g5(Be,Bt,gU);break;case cn:$e.preventDefault(),g5(Be,Bt,mU);break;case"Home":$e.preventDefault(),g5(Be,null,mU);break;case"End":$e.preventDefault(),g5(Be,null,gU);break}},ir=Ot();return u.jsxs(W6e,Q({className:mt(A.root,f),ownerState:j,ref:r,as:p},J,{children:[ir.scrollButtonStart,ir.scrollbarSizeListener,u.jsxs(G6e,{className:A.scroller,ownerState:j,style:{overflow:_e.overflow,[M?`margin${o?"Left":"Right"}`:"marginBottom"]:W?void 0:-_e.scrollbarWidth},ref:Ye,children:[u.jsx(K6e,{"aria-label":a,"aria-labelledby":s,"aria-orientation":b==="vertical"?"vertical":null,className:A.flexContainer,ownerState:j,onKeyDown:ut,ref:He,role:"tablist",children:at}),E&&je]}),ir.scrollButtonEnd]}))}),X6e="https://cdn.decentraland.org/@dcl/jump-site/1.1.1-23306513054.commit-ab06ce4/assets/RoobertPRO-Bold-BLoSpx-h.otf",Q6e="https://cdn.decentraland.org/@dcl/jump-site/1.1.1-23306513054.commit-ab06ce4/assets/RoobertPRO-Bold-zQ2qeH97.ttf",e8e=e=>({MuiCssBaseline:{styleOverrides:{"@font-face":{fontFamily:"DecentralandHero",src:`url(${Q6e}) format("truetype"), url(${X6e}) format("otf")`,fontStyle:"Sans-serif",fontWeight:"700"},body:{"& ::-webkit-scrollbar-track":{background:"rgba(0, 0, 0, .1)",borderRadius:0},"& ::-webkit-scrollbar-thumb":{cursor:"pointer",borderRadius:"5px",background:"rgba(0, 0, 0, .25)",webkitTransition:"color .2s ease",transition:"color .2s ease"},"& ::-webkit-scrollbar":{webkitAppearance:"none",width:"10px",height:"10px"}}}},MuiAppBar:{styleOverrides:{root:{backdropFilter:"saturate(180%) blur(20px);",transition:"box-Shadow 200ms cubic-bezier(0,1, 0.15, 1), background-image 200ms cubic-bezier(0,1, 0.15, 1)",backgroundImage:"none",backgroundColor:e.mode==="dark"?"rgba(24,20,26, 0.9)":"rgba(255,255,255, 0.9)"}}},MuiButton:{styleOverrides:{root:{"&.MuiButton-sizeLarge.MuiButton-containedPrimary":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{background:"#FF2D55",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-contrast)",background:"var(--mui-palette-primary-main)",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-primary-contrast)",padding:"0",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-contrast)",background:"var(--mui-palette-primary-light)",boxShadow:"var(--mui-shadows-2)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"#FEE9EC",background:"var(--mui-palette-_components-alert-error-color)",boxShadow:"none"}},"&.MuiButton-sizeLarge.MuiButton-containedInherit":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-text-_states-selected)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"#716B7C",boxShadow:"var(--mui-shadows-2)",opacity:"1"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-containedInherit (white)":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"#CFCDD4",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"#ECEBED",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-common-black_states-selected)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",boxShadow:"var(--mui-shadows-2)",opacity:"1"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-containedSecondary":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-main)",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-main)",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",opacity:"0.16",background:"var(--mui-palette-secondary-contrast)",padding:"0",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-light)",boxShadow:"var(--mui-shadows-2)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)",background:"#A09BA8",boxShadow:"none"}},"&.MuiButton-sizeLarge.MuiButton-containedError":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-error-contrast)",padding:"0",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-containedWarning":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-warning-contrast)",padding:"0",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-containedInfo":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-info-contrast)",padding:"0",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-containedSuccess":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-success-contrast)",padding:"0",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-containedPrimary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{background:"#FF2D55",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-contrast)",background:"var(--mui-palette-primary-main)",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-primary-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"#FEE9EC",background:"var(--mui-palette-_components-alert-error-color)",boxShadow:"none"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-contrast)",background:"var(--mui-palette-primary-light)",boxShadow:"var(--mui-shadows-2)"}},"&.MuiButton-sizeMedium.MuiButton-containedInherit":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-text-_states-selected)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"#716B7C",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeMedium.MuiButton-containedInherit (white)":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"#CFCDD4",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"#ECEBED",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-common-black_states-selected)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeMedium.MuiButton-containedSecondary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-main)",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-main)",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",opacity:"0.16",background:"var(--mui-palette-secondary-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)",background:"#A09BA8",boxShadow:"none"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-light)",boxShadow:"var(--mui-shadows-2)"}},"&.MuiButton-sizeMedium.MuiButton-containedError":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-error-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeMedium.MuiButton-containedWarning":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-warning-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeMedium.MuiButton-containedInfo":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-info-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeMedium.MuiButton-containedSuccess":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-success-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeSmall.MuiButton-containedPrimary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{background:"#FF2D55",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-contrast)",background:"var(--mui-palette-primary-main)",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-primary-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"#FEE9EC",background:"var(--mui-palette-_components-alert-error-color)",boxShadow:"none"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-contrast)",background:"var(--mui-palette-primary-light)",boxShadow:"var(--mui-shadows-2)"}},"&.MuiButton-sizeSmall.MuiButton-containedInherit":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-text-_states-selected)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"#716B7C",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeSmall.MuiButton-containedInherit (white)":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"#CFCDD4",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"#ECEBED",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-common-black_states-selected)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeSmall.MuiButton-containedSecondary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-main)",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-main)",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",opacity:"0.16",background:"var(--mui-palette-secondary-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)",background:"#A09BA8",boxShadow:"none"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-light)",boxShadow:"var(--mui-shadows-2)"}},"&.MuiButton-sizeSmall.MuiButton-containedError":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-error-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeSmall.MuiButton-containedWarning":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-warning-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeSmall.MuiButton-containedInfo":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-info-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeSmall.MuiButton-containedSuccess":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-success-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeLarge.MuiButton-outlinedPrimary":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-main)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-primary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedInherit":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"none",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"none",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-text-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"var(--mui-palette-action-hover)",opacity:"1",boxShadow:"none"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedInherit (white)":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-common-white_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedSecondary":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-secondary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedError":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-main)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-error-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedWarning":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-main)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-warning-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedInfo":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-main)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-info-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedSuccess":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-main)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-success-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedPrimary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-main)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-primary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-main)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedInherit":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"none",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"none",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-text-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"var(--mui-palette-action-hover)",opacity:"1",boxShadow:"none"}},"&.MuiButton-sizeMedium.MuiButton-outlinedInherit (white)":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-common-white_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedSecondary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-secondary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedError":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-main)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-error-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-main)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedWarning":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-main)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-warning-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-main)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedInfo":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-main)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-info-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-main)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedSuccess":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-main)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-success-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-main)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedPrimary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-main)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-primary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-main)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedInherit":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"none",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"none",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-text-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"var(--mui-palette-action-hover)",opacity:"1",boxShadow:"none"}},"&.MuiButton-sizeSmall.MuiButton-outlinedInherit (white)":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-common-white_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedSecondary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-secondary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedError":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-main)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-error-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-main)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedWarning":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-main)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-warning-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-main)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedInfo":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-main)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-info-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-main)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedSuccess":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-main)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-success-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-main)"}},"&.MuiButton-sizeMedium.MuiButton-textPrimary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-main)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-primary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textInherit":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-text-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textInherit (white)":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-common-white_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textSecondary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-secondary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textError":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-main)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-error-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textWarning":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-main)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-warning-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textInfo":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-main)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-info-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textSuccess":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-main)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-success-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textPrimary":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-main)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-primary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textInherit":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-text-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textInherit (white)":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-common-white_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textSecondary":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-secondary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textError":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-main)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-error-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textWarning":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-main)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-warning-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textInfo":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-main)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-info-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textSuccess":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-main)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-success-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textPrimary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-main)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-primary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textInherit":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-text-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textInherit (white)":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-common-white_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textSecondary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-secondary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textError":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-main)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-error-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textWarning":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-main)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-warning-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textInfo":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-main)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-info-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textSuccess":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-main)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-success-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}}}}},MuiPaper:{styleOverrides:{root:{backgroundColor:e.background.paper},elevation0:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(0)}), rgba(255, 255, 255, ${er(0)}))`:"none"},elevation1:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(1)}), rgba(255, 255, 255, ${er(1)}))`:"none"},elevation2:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(2)}), rgba(255, 255, 255, ${er(2)}))`:"none"},elevation3:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(3)}), rgba(255, 255, 255, ${er(3)}))`:"none"},elevation4:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(4)}), rgba(255, 255, 255, ${er(4)}))`:"none"},elevation5:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(5)}), rgba(255, 255, 255, ${er(5)}))`:"none"},elevation6:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(6)}), rgba(255, 255, 255, ${er(6)}))`:"none"},elevation7:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(7)}), rgba(255, 255, 255, ${er(7)}))`:"none"},elevation8:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(8)}), rgba(255, 255, 255, ${er(8)}))`:"none"},elevation9:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(9)}), rgba(255, 255, 255, ${er(9)}))`:"none"},elevation10:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(10)}), rgba(255, 255, 255, ${er(10)}))`:"none"},elevation11:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(11)}), rgba(255, 255, 255, ${er(11)}))`:"none"},elevation12:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(12)}), rgba(255, 255, 255, ${er(12)}))`:"none"},elevation13:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(13)}), rgba(255, 255, 255, ${er(13)}))`:"none"},elevation14:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(14)}), rgba(255, 255, 255, ${er(14)}))`:"none"},elevation15:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(15)}), rgba(255, 255, 255, ${er(15)}))`:"none"},elevation16:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(16)}), rgba(255, 255, 255, ${er(16)}))`:"none"},elevation17:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(17)}), rgba(255, 255, 255, ${er(17)}))`:"none"},elevation18:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(18)}), rgba(255, 255, 255, ${er(18)}))`:"none"},elevation19:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(19)}), rgba(255, 255, 255, ${er(19)}))`:"none"},elevation20:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(20)}), rgba(255, 255, 255, ${er(20)}))`:"none"},elevation21:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(21)}), rgba(255, 255, 255, ${er(21)}))`:"none"},elevation22:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(22)}), rgba(255, 255, 255, ${er(22)}))`:"none"},elevation23:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(23)}), rgba(255, 255, 255, ${er(23)}))`:"none"},elevation24:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${er(24)}), rgba(255, 255, 255, ${er(24)}))`:"none"}}},MuiTabs:{styleOverrides:{root:{borderBottom:`${e.divider} solid 1px`,minHeight:"30px"}}},MuiTab:{styleOverrides:{root:{textTransform:"capitalize",color:e.text.secondary,fontWeight:400,"&.Mui-selected":{color:e.text.primary,fontWeight:600}}}}}),t8e=ve.memo(e=>u.jsxs(Rye,{theme:e.theme,children:[u.jsx(S4e,{}),e.children]})),r8e={h1:{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600},h2:{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600},h3:{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600},h4:{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:500},h5:{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:500},h6:{fontFamily:"Inter, Helvetica, Arial, sans-serif"},body1:{fontFamily:"Inter, Helvetica, Arial, sans-serif"},body2:{fontFamily:"Inter, Helvetica, Arial, sans-serif"},subtitle1:{fontFamily:"Inter, Helvetica, Arial, sans-serif"},subtitle2:{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600},overline:{fontFamily:"Inter, Helvetica, Arial, sans-serif"},caption:{fontFamily:"Inter, Helvetica, Arial, sans-serif"}};function RJ(e){return{palette:JZ(xF[e].palette),typography:r8e,shape:{borderRadius:6},breakpoints:{values:{xs:768,sm:991,md:1024,lg:1280,xl:1500}},components:e8e(xF[e].palette)}}vI(RJ("light"));const n8e=vI(RJ("dark"));var Fd={},C8={},cE={},$f={},vU;function i8e(){if(vU)return $f;vU=1,Object.defineProperty($f,"__esModule",{value:!0}),$f.getEnvFromQueryParam=$f.getEnvFromTLD=void 0;const e=OI();function t(n){const{host:i}=n;return i.endsWith(".org")||i.endsWith(".co")?e.Env.PRODUCTION:i.endsWith(".today")||i.endsWith(".net")?e.Env.STAGING:i.endsWith(".io")||i.endsWith(".zone")?e.Env.DEVELOPMENT:null}$f.getEnvFromTLD=t;function r(n){const i=new URLSearchParams(n.search),o=i.get("ENV")||i.get("env");if(o){const a=o.toLowerCase();if((0,e.isEnv)(a))return a}return null}return $f.getEnvFromQueryParam=r,$f}var bU;function OI(){return bU||(bU=1,function(e){var t={VITE_SEGMENT_DEV_API_KEY:"UJLmm39XefLTcE55pRdWiwBT1JoTs6OI",VITE_SEGMENT_PRD_API_KEY:"uMHQo9dBTi626Bv11I3RxcH3Jui8lKMm"};Object.defineProperty(e,"__esModule",{value:!0}),e.getEnv=e.getDefaultEnv=e.parseEnvVar=e.isEnv=e.getEnvList=e.Env=void 0;const r=i8e();var n;(function(c){c.DEVELOPMENT="dev",c.STAGING="stg",c.PRODUCTION="prod"})(n=e.Env||(e.Env={}));function i(){return Object.values(n)}e.getEnvList=i;function o(c){return i().includes(c)}e.isEnv=o;function a(c){if(o(c))return c;throw new Error(`Invalid value for DCL_DEFAULT_ENV. Found "${c}", possible values are ${i().map(d=>`"${d}"`).join(", ")}.`)}e.parseEnvVar=a;function s(c={}){const{DCL_DEFAULT_ENV:d,REACT_APP_DCL_DEFAULT_ENV:f,VITE_DCL_DEFAULT_ENV:p,GATSBY_DCL_DEFAULT_ENV:m}=c;if(d&&f&&d!==f)throw new Error("You have defined both DCL_DEFAULT_ENV and REACT_APP_DCL_DEFAULT_ENV with different values");if(d&&p&&d!==p)throw new Error("You have defined both DCL_DEFAULT_ENV and VITE_DCL_DEFAULT_ENV with different values");if(d&&m&&d!==m)throw new Error("You have defined both DCL_DEFAULT_ENV and GATSBY_DCL_DEFAULT_ENV with different values");if(f&&m&&f!==m)throw new Error("You have defined both REACT_APP_DCL_DEFAULT_ENV and GATSBY_DCL_DEFAULT_ENV with different values");return d?a(d):f?a(f):p?a(p):m?a(m):n.PRODUCTION}e.getDefaultEnv=s;function l(c){if(typeof window<"u"){const f=(0,r.getEnvFromQueryParam)(window.location);if(f)return f;const p=(0,r.getEnvFromTLD)(window.location);if(p)return p}return s(typeof c>"u"&&typeof process=="object"&&typeof t=="object"?t:c)}e.getEnv=l}(cE)),cE}Object.defineProperty(C8,"__esModule",{value:!0});C8.createConfig=void 0;const o8e=OI();function a8e(e,t){const r=(0,o8e.getEnv)(t==null?void 0:t.systemEnvVariables),n=e[r];return{get:(i,o="")=>{if(!n)throw new Error(`Could not find a config for env=${r}`);return i in n?n[i]:o},is:i=>r===i,getEnv:()=>r}}C8.createConfig=a8e;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getEnv=e.Env=e.createConfig=void 0;var t=C8;Object.defineProperty(e,"createConfig",{enumerable:!0,get:function(){return t.createConfig}});var r=OI();Object.defineProperty(e,"Env",{enumerable:!0,get:function(){return r.Env}}),Object.defineProperty(e,"getEnv",{enumerable:!0,get:function(){return r.getEnv}})})(Fd);const s8e="11155111",l8e="development",c8e="jump",u8e="dcl-locale",d8e="https://decentraland.zone/jump",f8e="/auth",p8e="https://decentraland.zone",h8e="https://decentraland.zone/profile/",m8e="https://peer.decentraland.zone",g8e="https://places.decentraland.zone",y8e="https://places.decentraland.zone/api",v8e="https://decentraland.zone/events/",b8e="https://events.decentraland.zone/api",_8e="https://dcl.gg/discord",E8e="https://github.com/decentraland",x8e="https://twitter.com/decentraland",w8e="https://www.instagram.com/decentraland_foundation/",C8e="https://www.youtube.com/@decentraland_foundation",S8e="https://www.tiktok.com/@decentraland_fdn",A8e="https://www.linkedin.com/company/decentralandorg",T8e="https://decentraland.zone/marketplace/",M8e="https://decentraland.zone/create/",R8e="https://docs.decentraland.org/",I8e="https://decentraland.zone/blog/",O8e="https://decentraland.zone/help/",P8e="https://decentraland.zone/dao/",L8e="https://docs.decentraland.org/player/general/faq/",k8e="mailto:hello@decentraland.org",N8e="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",j8e="https://worlds-content-server.decentraland.zone/world",D8e="https://decentraland.zone/auth/login/?redirectTo=https%3A%2F%2Fdecentraland.org%2Fdownload",B8e="https://decentraland.zone/download",F8e={CHAIN_ID:s8e,ENVIRONMENT:l8e,LOCAL_STORAGE_KEY:c8e,STORAGE_LOCALE_KEY:u8e,JUMP_IN_URL:d8e,AUTH_URL:f8e,HOME_URL:p8e,PROFILE_URL:h8e,PEER_URL:m8e,PLACES_URL:g8e,PLACES_API_URL:y8e,EVENTS_URL:v8e,EVENTS_API_URL:b8e,DISCORD_URL:_8e,GITHUB_URL:E8e,X_URL:x8e,INSTAGRAM_URL:w8e,YOUTUBE_URL:C8e,TIKTOK_URL:S8e,LINKEDIN_URL:A8e,MARKETPLACE_URL:T8e,CREATE_URL:M8e,DOCS_URL:R8e,BLOG_URL:I8e,SUPPORT_URL:O8e,DAO_URL:P8e,FAQ_URL:L8e,EMAIL_HELLO_URL:k8e,BEEHIIV_SUBSCRIBE_URL:N8e,WORLD_CONTENT_API_URL:j8e,ONBOARDING_URL:D8e,DOWNLOAD_URL:B8e},U8e="1",$8e="production",H8e="jump",V8e="dcl-locale",z8e="https://decentraland.org/jump",q8e="https://decentraland.org",W8e="/auth",G8e="https://decentraland.org/profile/",K8e="https://peer.decentraland.org",Y8e="https://places.decentraland.org",Z8e="https://places.decentraland.org/api",J8e="https://decentraland.org/events/",X8e="https://events.decentraland.org/api",Q8e="https://dcl.gg/discord",e7e="https://github.com/decentraland",t7e="https://twitter.com/decentraland",r7e="https://www.instagram.com/decentraland_foundation/",n7e="https://www.youtube.com/@decentraland_foundation",i7e="https://www.tiktok.com/@decentraland_fdn",o7e="https://www.linkedin.com/company/decentralandorg",a7e="https://decentraland.org/marketplace/",s7e="https://decentraland.org/create/",l7e="https://docs.decentraland.org/",c7e="https://decentraland.org/blog/",u7e="https://decentraland.org/help/",d7e="https://decentraland.org/dao/",f7e="https://docs.decentraland.org/player/general/faq/",p7e="mailto:hello@decentraland.org",h7e="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",m7e="https://worlds-content-server.decentraland.org/world",g7e="https://decentraland.org/auth/login/?redirectTo=https%3A%2F%2Fdecentraland.org%2Fdownload",y7e="https://decentraland.org/download",v7e={CHAIN_ID:U8e,ENVIRONMENT:$8e,LOCAL_STORAGE_KEY:H8e,STORAGE_LOCALE_KEY:V8e,JUMP_IN_URL:z8e,HOME_URL:q8e,AUTH_URL:W8e,PROFILE_URL:G8e,PEER_URL:K8e,PLACES_URL:Y8e,PLACES_API_URL:Z8e,EVENTS_URL:J8e,EVENTS_API_URL:X8e,DISCORD_URL:Q8e,GITHUB_URL:e7e,X_URL:t7e,INSTAGRAM_URL:r7e,YOUTUBE_URL:n7e,TIKTOK_URL:i7e,LINKEDIN_URL:o7e,MARKETPLACE_URL:a7e,CREATE_URL:s7e,DOCS_URL:l7e,BLOG_URL:c7e,SUPPORT_URL:u7e,DAO_URL:d7e,FAQ_URL:f7e,EMAIL_HELLO_URL:p7e,BEEHIIV_SUBSCRIBE_URL:h7e,WORLD_CONTENT_API_URL:m7e,ONBOARDING_URL:g7e,DOWNLOAD_URL:y7e};var uE={VITE_SEGMENT_DEV_API_KEY:"UJLmm39XefLTcE55pRdWiwBT1JoTs6OI",VITE_SEGMENT_PRD_API_KEY:"uMHQo9dBTi626Bv11I3RxcH3Jui8lKMm"};const jr=Fd.createConfig({[Fd.Env.DEVELOPMENT]:{...F8e,SEGMENT_API_KEY:uE.VITE_SEGMENT_DEV_API_KEY},[Fd.Env.PRODUCTION]:{...v7e,SEGMENT_API_KEY:uE.VITE_SEGMENT_PRD_API_KEY}},{systemEnvVariables:{REACT_APP_DCL_DEFAULT_ENV:uE.VITE_REACT_APP_DCL_DEFAULT_ENV??"dev"}}),b7e="modulepreload",_7e=function(e){return"https://cdn.decentraland.org/@dcl/jump-site/1.1.1-23306513054.commit-ab06ce4/"+e},_U={},Eh=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.all(r.map(s=>{if(s=_7e(s),s in _U)return;_U[s]=!0;const l=s.endsWith(".css"),c=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${c}`))return;const d=document.createElement("link");if(d.rel=l?"stylesheet":b7e,l||(d.as="script",d.crossOrigin=""),d.href=s,a&&d.setAttribute("nonce",a),document.head.appendChild(d),l)return new Promise((f,p)=>{d.addEventListener("load",f),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${s}`)))})}))}return i.then(()=>t()).catch(o=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o})};var E7e=" daum[ /]| deusu/| yadirectfetcher|(?:^|[^g])news(?!sapphire)|(?<! (?:channel/|google/))google(?!(app|/google| pixel))|(?<! cu)bots?(?:\\b|_)|(?<!(?:lib))http|(?<![hg]m)score|@[a-z][\\w-]+\\.|\\(\\)|\\.com\\b|\\btime/|\\||^<|^[\\w \\.\\-\\(?:\\):%]+(?:/v?\\d+(?:\\.\\d+)?(?:\\.\\d{1,10})*?)?(?:,|$)|^[^ ]{50,}$|^\\d+\\b|^\\w*search\\b|^\\w+/[\\w\\(\\)]*$|^active|^ad muncher|^amaya|^avsdevicesdk/|^biglotron|^bot|^bw/|^clamav[ /]|^client/|^cobweb/|^custom|^ddg[_-]android|^discourse|^dispatch/\\d|^downcast/|^duckduckgo|^email|^facebook|^getright/|^gozilla/|^hobbit|^hotzonu|^hwcdn/|^igetter/|^jeode/|^jetty/|^jigsaw|^microsoft bits|^movabletype|^mozilla/\\d\\.\\d\\s[\\w\\.-]+$|^mozilla/\\d\\.\\d\\s\\(compatible;?(?:\\s\\w+\\/\\d+\\.\\d+)?\\)$|^navermailapp|^netsurf|^offline|^openai/|^owler|^php|^postman|^python|^rank|^read|^reed|^rest|^rss|^snapchat|^space bison|^svn|^swcd |^taringa|^thumbor/|^track|^w3c|^webbandit/|^webcopier|^wget|^whatsapp|^wordpress|^xenu link sleuth|^yahoo|^yandex|^zdm/\\d|^zoom marketplace/|^{{.*}}$|adscanner/|analyzer|archive|ask jeeves/teoma|audit|bit\\.ly/|bluecoat drtr|browsex|burpcollaborator|capture|catch|check\\b|checker|chrome-lighthouse|chromeframe|classifier|cloudflare|convertify|cookiehubscan|crawl|cypress/|dareboost|datanyze|dejaclick|detect|dmbrowser|download|evc-batch/|exaleadcloudview|feed|firephp|functionize|gomezagent|headless|httrack|hubspot marketing grader|hydra|ibisbrowser|infrawatch|insight|inspect|iplabel|ips-agent|java(?!;)|jsjcw_scanner|library|linkcheck|mail\\.ru/|manager|measure|neustar wpm|node|nutch|offbyone|optimize|pageburst|pagespeed|parser|perl|phantomjs|pingdom|powermarks|preview|proxy|ptst[ /]\\d|retriever|rexx;|rigor|rss\\b|scanner\\.|scrape|server|sogou|sparkler/|speedcurve|spider|splash|statuscake|supercleaner|synapse|synthetic|tools|torrent|transcoder|url|validator|virtuoso|wappalyzer|webglance|webkit2png|whatcms/|zgrab",x7e=/bot|crawl|http|lighthouse|scan|search|spider/i,f2;function w7e(){if(f2 instanceof RegExp)return f2;try{f2=new RegExp(E7e,"i")}catch{f2=x7e}return f2}function C7e(e){return!!e&&w7e().test(e)}const IJ=F.createContext(null),S7e=({writeKey:e,userId:t,traits:r,children:n})=>{const i=F.useRef(null),[o,a]=F.useState(!1);F.useEffect(()=>((async()=>{if(!e){console.log("[Analytics] No writeKey provided");return}const c=navigator.userAgent;if(C7e(c)){console.log("[Analytics] Skipping load: bot detected");return}try{const{AnalyticsBrowser:f}=await Eh(async()=>{const{AnalyticsBrowser:p}=await import("./index-eH0dKEg4.js").then(m=>m.q);return{AnalyticsBrowser:p}},[]);i.current=f.load({writeKey:e}),t&&i.current.identify(t,r),a(!0)}catch(f){console.error("[Analytics] Failed to initialize:",f)}})(),()=>{i.current=null,a(!1)}),[e,t,r]);const s=i.current&&o?{isInitialized:!0,track:(l,c)=>{var d;(d=i.current)==null||d.track(l,c)},identify:(l,c)=>{var d;(d=i.current)==null||d.identify(l,c)},page:(l,c)=>{var d;(d=i.current)==null||d.page(l,c)}}:{isInitialized:!1};return u.jsx(IJ.Provider,{value:s,children:n})};var Re={},OJ={},PJ={},LJ={},Qe={},NC={exports:{}},kJ={},Is={},xh={},pm={},gr={},wh={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends t{constructor(y){if(super(),!e.IDENTIFIER.test(y))throw new Error("CodeGen: name must be a valid identifier");this.str=y}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class n extends t{constructor(y){super(),this._items=typeof y=="string"?[y]:y}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const y=this._items[0];return y===""||y==='""'}get str(){var y;return(y=this._str)!==null&&y!==void 0?y:this._str=this._items.reduce((w,T)=>`${w}${T}`,"")}get names(){var y;return(y=this._names)!==null&&y!==void 0?y:this._names=this._items.reduce((w,T)=>(T instanceof r&&(w[T.str]=(w[T.str]||0)+1),w),{})}}e._Code=n,e.nil=new n("");function i(h,...y){const w=[h[0]];let T=0;for(;T<y.length;)s(w,y[T]),w.push(h[++T]);return new n(w)}e._=i;const o=new n("+");function a(h,...y){const w=[m(h[0])];let T=0;for(;T<y.length;)w.push(o),s(w,y[T]),w.push(o,m(h[++T]));return l(w),new n(w)}e.str=a;function s(h,y){y instanceof n?h.push(...y._items):y instanceof r?h.push(y):h.push(f(y))}e.addCodeArg=s;function l(h){let y=1;for(;y<h.length-1;){if(h[y]===o){const w=c(h[y-1],h[y+1]);if(w!==void 0){h.splice(y-1,3,w);continue}h[y++]="+"}y++}}function c(h,y){if(y==='""')return h;if(h==='""')return y;if(typeof h=="string")return y instanceof r||h[h.length-1]!=='"'?void 0:typeof y!="string"?`${h.slice(0,-1)}${y}"`:y[0]==='"'?h.slice(0,-1)+y.slice(1):void 0;if(typeof y=="string"&&y[0]==='"'&&!(h instanceof r))return`"${h}${y.slice(1)}`}function d(h,y){return y.emptyStr()?h:h.emptyStr()?y:a`${h}${y}`}e.strConcat=d;function f(h){return typeof h=="number"||typeof h=="boolean"||h===null?h:m(Array.isArray(h)?h.join(","):h)}function p(h){return new n(m(h))}e.stringify=p;function m(h){return JSON.stringify(h).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=m;function v(h){return typeof h=="string"&&e.IDENTIFIER.test(h)?new n(`.${h}`):i`[${h}]`}e.getProperty=v;function g(h){if(typeof h=="string"&&e.IDENTIFIER.test(h))return new n(`${h}`);throw new Error(`CodeGen: invalid export name: ${h}, use explicit $id name mapping`)}e.getEsmExportName=g;function b(h){return new n(h.toString())}e.regexpCode=b})(wh);var jC={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=wh;class r extends Error{constructor(c){super(`CodeGen: "code" for ${c} not defined`),this.value=c.value}}var n;(function(l){l[l.Started=0]="Started",l[l.Completed=1]="Completed"})(n||(e.UsedValueState=n={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class i{constructor({prefixes:c,parent:d}={}){this._names={},this._prefixes=c,this._parent=d}toName(c){return c instanceof t.Name?c:this.name(c)}name(c){return new t.Name(this._newName(c))}_newName(c){const d=this._names[c]||this._nameGroup(c);return`${c}${d.index++}`}_nameGroup(c){var d,f;if(!((f=(d=this._parent)===null||d===void 0?void 0:d._prefixes)===null||f===void 0)&&f.has(c)||this._prefixes&&!this._prefixes.has(c))throw new Error(`CodeGen: prefix "${c}" is not allowed in this scope`);return this._names[c]={prefix:c,index:0}}}e.Scope=i;class o extends t.Name{constructor(c,d){super(d),this.prefix=c}setValue(c,{property:d,itemIndex:f}){this.value=c,this.scopePath=(0,t._)`.${new t.Name(d)}[${f}]`}}e.ValueScopeName=o;const a=(0,t._)`\n`;class s extends i{constructor(c){super(c),this._values={},this._scope=c.scope,this.opts={...c,_n:c.lines?a:t.nil}}get(){return this._scope}name(c){return new o(c,this._newName(c))}value(c,d){var f;if(d.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const p=this.toName(c),{prefix:m}=p,v=(f=d.key)!==null&&f!==void 0?f:d.ref;let g=this._values[m];if(g){const y=g.get(v);if(y)return y}else g=this._values[m]=new Map;g.set(v,p);const b=this._scope[m]||(this._scope[m]=[]),h=b.length;return b[h]=d.ref,p.setValue(d,{property:m,itemIndex:h}),p}getValue(c,d){const f=this._values[c];if(f)return f.get(d)}scopeRefs(c,d=this._values){return this._reduceValues(d,f=>{if(f.scopePath===void 0)throw new Error(`CodeGen: name "${f}" has no value`);return(0,t._)`${c}${f.scopePath}`})}scopeCode(c=this._values,d,f){return this._reduceValues(c,p=>{if(p.value===void 0)throw new Error(`CodeGen: name "${p}" has no value`);return p.value.code},d,f)}_reduceValues(c,d,f={},p){let m=t.nil;for(const v in c){const g=c[v];if(!g)continue;const b=f[v]=f[v]||new Map;g.forEach(h=>{if(b.has(h))return;b.set(h,n.Started);let y=d(h);if(y){const w=this.opts.es5?e.varKinds.var:e.varKinds.const;m=(0,t._)`${m}${w} ${h} = ${y};${this.opts._n}`}else if(y=p==null?void 0:p(h))m=(0,t._)`${m}${y}${this.opts._n}`;else throw new r(h);b.set(h,n.Completed)})}return m}}e.ValueScope=s})(jC);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=wh,r=jC;var n=wh;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var i=jC;Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return i.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return i.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return i.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return i.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class o{optimizeNodes(){return this}optimizeNames(E,_){return this}}class a extends o{constructor(E,_,P){super(),this.varKind=E,this.name=_,this.rhs=P}render({es5:E,_n:_}){const P=E?r.varKinds.var:this.varKind,G=this.rhs===void 0?"":` = ${this.rhs}`;return`${P} ${this.name}${G};`+_}optimizeNames(E,_){if(E[this.name.str])return this.rhs&&(this.rhs=M(this.rhs,E,_)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class s extends o{constructor(E,_,P){super(),this.lhs=E,this.rhs=_,this.sideEffects=P}render({_n:E}){return`${this.lhs} = ${this.rhs};`+E}optimizeNames(E,_){if(!(this.lhs instanceof t.Name&&!E[this.lhs.str]&&!this.sideEffects))return this.rhs=M(this.rhs,E,_),this}get names(){const E=this.lhs instanceof t.Name?{}:{...this.lhs.names};return $(E,this.rhs)}}class l extends s{constructor(E,_,P,G){super(E,P,G),this.op=_}render({_n:E}){return`${this.lhs} ${this.op}= ${this.rhs};`+E}}class c extends o{constructor(E){super(),this.label=E,this.names={}}render({_n:E}){return`${this.label}:`+E}}class d extends o{constructor(E){super(),this.label=E,this.names={}}render({_n:E}){return`break${this.label?` ${this.label}`:""};`+E}}class f extends o{constructor(E){super(),this.error=E}render({_n:E}){return`throw ${this.error};`+E}get names(){return this.error.names}}class p extends o{constructor(E){super(),this.code=E}render({_n:E}){return`${this.code};`+E}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(E,_){return this.code=M(this.code,E,_),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class m extends o{constructor(E=[]){super(),this.nodes=E}render(E){return this.nodes.reduce((_,P)=>_+P.render(E),"")}optimizeNodes(){const{nodes:E}=this;let _=E.length;for(;_--;){const P=E[_].optimizeNodes();Array.isArray(P)?E.splice(_,1,...P):P?E[_]=P:E.splice(_,1)}return E.length>0?this:void 0}optimizeNames(E,_){const{nodes:P}=this;let G=P.length;for(;G--;){const z=P[G];z.optimizeNames(E,_)||(O(E,z.names),P.splice(G,1))}return P.length>0?this:void 0}get names(){return this.nodes.reduce((E,_)=>J(E,_.names),{})}}class v extends m{render(E){return"{"+E._n+super.render(E)+"}"+E._n}}class g extends m{}class b extends v{}b.kind="else";class h extends v{constructor(E,_){super(_),this.condition=E}render(E){let _=`if(${this.condition})`+super.render(E);return this.else&&(_+="else "+this.else.render(E)),_}optimizeNodes(){super.optimizeNodes();const E=this.condition;if(E===!0)return this.nodes;let _=this.else;if(_){const P=_.optimizeNodes();_=this.else=Array.isArray(P)?new b(P):P}if(_)return E===!1?_ instanceof h?_:_.nodes:this.nodes.length?this:new h(N(E),_ instanceof h?[_]:_.nodes);if(!(E===!1||!this.nodes.length))return this}optimizeNames(E,_){var P;if(this.else=(P=this.else)===null||P===void 0?void 0:P.optimizeNames(E,_),!!(super.optimizeNames(E,_)||this.else))return this.condition=M(this.condition,E,_),this}get names(){const E=super.names;return $(E,this.condition),this.else&&J(E,this.else.names),E}}h.kind="if";class y extends v{}y.kind="for";class w extends y{constructor(E){super(),this.iteration=E}render(E){return`for(${this.iteration})`+super.render(E)}optimizeNames(E,_){if(super.optimizeNames(E,_))return this.iteration=M(this.iteration,E,_),this}get names(){return J(super.names,this.iteration.names)}}class T extends y{constructor(E,_,P,G){super(),this.varKind=E,this.name=_,this.from=P,this.to=G}render(E){const _=E.es5?r.varKinds.var:this.varKind,{name:P,from:G,to:z}=this;return`for(${_} ${P}=${G}; ${P}<${z}; ${P}++)`+super.render(E)}get names(){const E=$(super.names,this.from);return $(E,this.to)}}class R extends y{constructor(E,_,P,G){super(),this.loop=E,this.varKind=_,this.name=P,this.iterable=G}render(E){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(E)}optimizeNames(E,_){if(super.optimizeNames(E,_))return this.iterable=M(this.iterable,E,_),this}get names(){return J(super.names,this.iterable.names)}}class S extends v{constructor(E,_,P){super(),this.name=E,this.args=_,this.async=P}render(E){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(E)}}S.kind="func";class I extends m{render(E){return"return "+super.render(E)}}I.kind="return";class U extends v{render(E){let _="try"+super.render(E);return this.catch&&(_+=this.catch.render(E)),this.finally&&(_+=this.finally.render(E)),_}optimizeNodes(){var E,_;return super.optimizeNodes(),(E=this.catch)===null||E===void 0||E.optimizeNodes(),(_=this.finally)===null||_===void 0||_.optimizeNodes(),this}optimizeNames(E,_){var P,G;return super.optimizeNames(E,_),(P=this.catch)===null||P===void 0||P.optimizeNames(E,_),(G=this.finally)===null||G===void 0||G.optimizeNames(E,_),this}get names(){const E=super.names;return this.catch&&J(E,this.catch.names),this.finally&&J(E,this.finally.names),E}}class D extends v{constructor(E){super(),this.error=E}render(E){return`catch(${this.error})`+super.render(E)}}D.kind="catch";class q extends v{render(E){return"finally"+super.render(E)}}q.kind="finally";class W{constructor(E,_={}){this._values={},this._blockStarts=[],this._constants={},this.opts={..._,_n:_.lines?`
|
|
258
258
|
`:""},this._extScope=E,this._scope=new r.Scope({parent:E}),this._nodes=[new g]}toString(){return this._root.render(this.opts)}name(E){return this._scope.name(E)}scopeName(E){return this._extScope.name(E)}scopeValue(E,_){const P=this._extScope.value(E,_);return(this._values[P.prefix]||(this._values[P.prefix]=new Set)).add(P),P}getScopeValue(E,_){return this._extScope.getValue(E,_)}scopeRefs(E){return this._extScope.scopeRefs(E,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(E,_,P,G){const z=this._scope.toName(_);return P!==void 0&&G&&(this._constants[z.str]=P),this._leafNode(new a(E,z,P)),z}const(E,_,P){return this._def(r.varKinds.const,E,_,P)}let(E,_,P){return this._def(r.varKinds.let,E,_,P)}var(E,_,P){return this._def(r.varKinds.var,E,_,P)}assign(E,_,P){return this._leafNode(new s(E,_,P))}add(E,_){return this._leafNode(new l(E,e.operators.ADD,_))}code(E){return typeof E=="function"?E():E!==t.nil&&this._leafNode(new p(E)),this}object(...E){const _=["{"];for(const[P,G]of E)_.length>1&&_.push(","),_.push(P),(P!==G||this.opts.es5)&&(_.push(":"),(0,t.addCodeArg)(_,G));return _.push("}"),new t._Code(_)}if(E,_,P){if(this._blockNode(new h(E)),_&&P)this.code(_).else().code(P).endIf();else if(_)this.code(_).endIf();else if(P)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(E){return this._elseNode(new h(E))}else(){return this._elseNode(new b)}endIf(){return this._endBlockNode(h,b)}_for(E,_){return this._blockNode(E),_&&this.code(_).endFor(),this}for(E,_){return this._for(new w(E),_)}forRange(E,_,P,G,z=this.opts.es5?r.varKinds.var:r.varKinds.let){const Z=this._scope.toName(E);return this._for(new T(z,Z,_,P),()=>G(Z))}forOf(E,_,P,G=r.varKinds.const){const z=this._scope.toName(E);if(this.opts.es5){const Z=_ instanceof t.Name?_:this.var("_arr",_);return this.forRange("_i",0,(0,t._)`${Z}.length`,ie=>{this.var(z,(0,t._)`${Z}[${ie}]`),P(z)})}return this._for(new R("of",G,z,_),()=>P(z))}forIn(E,_,P,G=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(E,(0,t._)`Object.keys(${_})`,P);const z=this._scope.toName(E);return this._for(new R("in",G,z,_),()=>P(z))}endFor(){return this._endBlockNode(y)}label(E){return this._leafNode(new c(E))}break(E){return this._leafNode(new d(E))}return(E){const _=new I;if(this._blockNode(_),this.code(E),_.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(I)}try(E,_,P){if(!_&&!P)throw new Error('CodeGen: "try" without "catch" and "finally"');const G=new U;if(this._blockNode(G),this.code(E),_){const z=this.name("e");this._currNode=G.catch=new D(z),_(z)}return P&&(this._currNode=G.finally=new q,this.code(P)),this._endBlockNode(D,q)}throw(E){return this._leafNode(new f(E))}block(E,_){return this._blockStarts.push(this._nodes.length),E&&this.code(E).endBlock(_),this}endBlock(E){const _=this._blockStarts.pop();if(_===void 0)throw new Error("CodeGen: not in self-balancing block");const P=this._nodes.length-_;if(P<0||E!==void 0&&P!==E)throw new Error(`CodeGen: wrong number of nodes: ${P} vs ${E} expected`);return this._nodes.length=_,this}func(E,_=t.nil,P,G){return this._blockNode(new S(E,_,P)),G&&this.code(G).endFunc(),this}endFunc(){return this._endBlockNode(S)}optimize(E=1){for(;E-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(E){return this._currNode.nodes.push(E),this}_blockNode(E){this._currNode.nodes.push(E),this._nodes.push(E)}_endBlockNode(E,_){const P=this._currNode;if(P instanceof E||_&&P instanceof _)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${_?`${E.kind}/${_.kind}`:E.kind}"`)}_elseNode(E){const _=this._currNode;if(!(_ instanceof h))throw new Error('CodeGen: "else" without "if"');return this._currNode=_.else=E,this}get _root(){return this._nodes[0]}get _currNode(){const E=this._nodes;return E[E.length-1]}set _currNode(E){const _=this._nodes;_[_.length-1]=E}}e.CodeGen=W;function J(C,E){for(const _ in E)C[_]=(C[_]||0)+(E[_]||0);return C}function $(C,E){return E instanceof t._CodeOrName?J(C,E.names):C}function M(C,E,_){if(C instanceof t.Name)return P(C);if(!G(C))return C;return new t._Code(C._items.reduce((z,Z)=>(Z instanceof t.Name&&(Z=P(Z)),Z instanceof t._Code?z.push(...Z._items):z.push(Z),z),[]));function P(z){const Z=_[z.str];return Z===void 0||E[z.str]!==1?z:(delete E[z.str],Z)}function G(z){return z instanceof t._Code&&z._items.some(Z=>Z instanceof t.Name&&E[Z.str]===1&&_[Z.str]!==void 0)}}function O(C,E){for(const _ in E)C[_]=(C[_]||0)-(E[_]||0)}function N(C){return typeof C=="boolean"||typeof C=="number"||C===null?!C:(0,t._)`!${x(C)}`}e.not=N;const H=A(e.operators.AND);function V(...C){return C.reduce(H)}e.and=V;const K=A(e.operators.OR);function j(...C){return C.reduce(K)}e.or=j;function A(C){return(E,_)=>E===t.nil?_:_===t.nil?E:(0,t._)`${x(E)} ${C} ${x(_)}`}function x(C){return C instanceof t.Name?C:(0,t._)`(${C})`}})(gr);var wt={};Object.defineProperty(wt,"__esModule",{value:!0});wt.checkStrictMode=wt.getErrorPath=wt.Type=wt.useFunc=wt.setEvaluated=wt.evaluatedPropsToName=wt.mergeEvaluated=wt.eachItem=wt.unescapeJsonPointer=wt.escapeJsonPointer=wt.escapeFragment=wt.unescapeFragment=wt.schemaRefOrVal=wt.schemaHasRulesButRef=wt.schemaHasRules=wt.checkUnknownRules=wt.alwaysValidSchema=wt.toHash=void 0;const kn=gr,A7e=wh;function T7e(e){const t={};for(const r of e)t[r]=!0;return t}wt.toHash=T7e;function M7e(e,t){return typeof t=="boolean"?t:Object.keys(t).length===0?!0:(NJ(e,t),!jJ(t,e.self.RULES.all))}wt.alwaysValidSchema=M7e;function NJ(e,t=e.schema){const{opts:r,self:n}=e;if(!r.strictSchema||typeof t=="boolean")return;const i=n.RULES.keywords;for(const o in t)i[o]||FJ(e,`unknown keyword: "${o}"`)}wt.checkUnknownRules=NJ;function jJ(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(t[r])return!0;return!1}wt.schemaHasRules=jJ;function R7e(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(r!=="$ref"&&t.all[r])return!0;return!1}wt.schemaHasRulesButRef=R7e;function I7e({topSchemaRef:e,schemaPath:t},r,n,i){if(!i){if(typeof r=="number"||typeof r=="boolean")return r;if(typeof r=="string")return(0,kn._)`${r}`}return(0,kn._)`${e}${t}${(0,kn.getProperty)(n)}`}wt.schemaRefOrVal=I7e;function O7e(e){return DJ(decodeURIComponent(e))}wt.unescapeFragment=O7e;function P7e(e){return encodeURIComponent(PI(e))}wt.escapeFragment=P7e;function PI(e){return typeof e=="number"?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}wt.escapeJsonPointer=PI;function DJ(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}wt.unescapeJsonPointer=DJ;function L7e(e,t){if(Array.isArray(e))for(const r of e)t(r);else t(e)}wt.eachItem=L7e;function EU({mergeNames:e,mergeToName:t,mergeValues:r,resultToName:n}){return(i,o,a,s)=>{const l=a===void 0?o:a instanceof kn.Name?(o instanceof kn.Name?e(i,o,a):t(i,o,a),a):o instanceof kn.Name?(t(i,a,o),o):r(o,a);return s===kn.Name&&!(l instanceof kn.Name)?n(i,l):l}}wt.mergeEvaluated={props:EU({mergeNames:(e,t,r)=>e.if((0,kn._)`${r} !== true && ${t} !== undefined`,()=>{e.if((0,kn._)`${t} === true`,()=>e.assign(r,!0),()=>e.assign(r,(0,kn._)`${r} || {}`).code((0,kn._)`Object.assign(${r}, ${t})`))}),mergeToName:(e,t,r)=>e.if((0,kn._)`${r} !== true`,()=>{t===!0?e.assign(r,!0):(e.assign(r,(0,kn._)`${r} || {}`),LI(e,r,t))}),mergeValues:(e,t)=>e===!0?!0:{...e,...t},resultToName:BJ}),items:EU({mergeNames:(e,t,r)=>e.if((0,kn._)`${r} !== true && ${t} !== undefined`,()=>e.assign(r,(0,kn._)`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`)),mergeToName:(e,t,r)=>e.if((0,kn._)`${r} !== true`,()=>e.assign(r,t===!0?!0:(0,kn._)`${r} > ${t} ? ${r} : ${t}`)),mergeValues:(e,t)=>e===!0?!0:Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})};function BJ(e,t){if(t===!0)return e.var("props",!0);const r=e.var("props",(0,kn._)`{}`);return t!==void 0&&LI(e,r,t),r}wt.evaluatedPropsToName=BJ;function LI(e,t,r){Object.keys(r).forEach(n=>e.assign((0,kn._)`${t}${(0,kn.getProperty)(n)}`,!0))}wt.setEvaluated=LI;const xU={};function k7e(e,t){return e.scopeValue("func",{ref:t,code:xU[t.code]||(xU[t.code]=new A7e._Code(t.code))})}wt.useFunc=k7e;var DC;(function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"})(DC||(wt.Type=DC={}));function N7e(e,t,r){if(e instanceof kn.Name){const n=t===DC.Num;return r?n?(0,kn._)`"[" + ${e} + "]"`:(0,kn._)`"['" + ${e} + "']"`:n?(0,kn._)`"/" + ${e}`:(0,kn._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,kn.getProperty)(e).toString():"/"+PI(e)}wt.getErrorPath=N7e;function FJ(e,t,r=e.opts.strictSchema){if(r){if(t=`strict mode: ${t}`,r===!0)throw new Error(t);e.self.logger.warn(t)}}wt.checkStrictMode=FJ;var jl={};Object.defineProperty(jl,"__esModule",{value:!0});const Po=gr,j7e={data:new Po.Name("data"),valCxt:new Po.Name("valCxt"),instancePath:new Po.Name("instancePath"),parentData:new Po.Name("parentData"),parentDataProperty:new Po.Name("parentDataProperty"),rootData:new Po.Name("rootData"),dynamicAnchors:new Po.Name("dynamicAnchors"),vErrors:new Po.Name("vErrors"),errors:new Po.Name("errors"),this:new Po.Name("this"),self:new Po.Name("self"),scope:new Po.Name("scope"),json:new Po.Name("json"),jsonPos:new Po.Name("jsonPos"),jsonLen:new Po.Name("jsonLen"),jsonPart:new Po.Name("jsonPart")};jl.default=j7e;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=gr,r=wt,n=jl;e.keywordError={message:({keyword:b})=>(0,t.str)`must pass "${b}" keyword validation`},e.keyword$DataError={message:({keyword:b,schemaType:h})=>h?(0,t.str)`"${b}" keyword must be ${h} ($data)`:(0,t.str)`"${b}" keyword is invalid ($data)`};function i(b,h=e.keywordError,y,w){const{it:T}=b,{gen:R,compositeRule:S,allErrors:I}=T,U=f(b,h,y);w??(S||I)?l(R,U):c(T,(0,t._)`[${U}]`)}e.reportError=i;function o(b,h=e.keywordError,y){const{it:w}=b,{gen:T,compositeRule:R,allErrors:S}=w,I=f(b,h,y);l(T,I),R||S||c(w,n.default.vErrors)}e.reportExtraError=o;function a(b,h){b.assign(n.default.errors,h),b.if((0,t._)`${n.default.vErrors} !== null`,()=>b.if(h,()=>b.assign((0,t._)`${n.default.vErrors}.length`,h),()=>b.assign(n.default.vErrors,null)))}e.resetErrorsCount=a;function s({gen:b,keyword:h,schemaValue:y,data:w,errsCount:T,it:R}){if(T===void 0)throw new Error("ajv implementation error");const S=b.name("err");b.forRange("i",T,n.default.errors,I=>{b.const(S,(0,t._)`${n.default.vErrors}[${I}]`),b.if((0,t._)`${S}.instancePath === undefined`,()=>b.assign((0,t._)`${S}.instancePath`,(0,t.strConcat)(n.default.instancePath,R.errorPath))),b.assign((0,t._)`${S}.schemaPath`,(0,t.str)`${R.errSchemaPath}/${h}`),R.opts.verbose&&(b.assign((0,t._)`${S}.schema`,y),b.assign((0,t._)`${S}.data`,w))})}e.extendErrors=s;function l(b,h){const y=b.const("err",h);b.if((0,t._)`${n.default.vErrors} === null`,()=>b.assign(n.default.vErrors,(0,t._)`[${y}]`),(0,t._)`${n.default.vErrors}.push(${y})`),b.code((0,t._)`${n.default.errors}++`)}function c(b,h){const{gen:y,validateName:w,schemaEnv:T}=b;T.$async?y.throw((0,t._)`new ${b.ValidationError}(${h})`):(y.assign((0,t._)`${w}.errors`,h),y.return(!1))}const d={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function f(b,h,y){const{createErrors:w}=b.it;return w===!1?(0,t._)`{}`:p(b,h,y)}function p(b,h,y={}){const{gen:w,it:T}=b,R=[m(T,y),v(b,y)];return g(b,h,R),w.object(...R)}function m({errorPath:b},{instancePath:h}){const y=h?(0,t.str)`${b}${(0,r.getErrorPath)(h,r.Type.Str)}`:b;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,y)]}function v({keyword:b,it:{errSchemaPath:h}},{schemaPath:y,parentSchema:w}){let T=w?h:(0,t.str)`${h}/${b}`;return y&&(T=(0,t.str)`${T}${(0,r.getErrorPath)(y,r.Type.Str)}`),[d.schemaPath,T]}function g(b,{params:h,message:y},w){const{keyword:T,data:R,schemaValue:S,it:I}=b,{opts:U,propertyName:D,topSchemaRef:q,schemaPath:W}=I;w.push([d.keyword,T],[d.params,typeof h=="function"?h(b):h||(0,t._)`{}`]),U.messages&&w.push([d.message,typeof y=="function"?y(b):y]),U.verbose&&w.push([d.schema,S],[d.parentSchema,(0,t._)`${q}${W}`],[n.default.data,R]),D&&w.push([d.propertyName,D])}})(pm);Object.defineProperty(xh,"__esModule",{value:!0});xh.boolOrEmptySchema=xh.topBoolOrEmptySchema=void 0;const D7e=pm,B7e=gr,F7e=jl,U7e={message:"boolean schema is false"};function $7e(e){const{gen:t,schema:r,validateName:n}=e;r===!1?UJ(e,!1):typeof r=="object"&&r.$async===!0?t.return(F7e.default.data):(t.assign((0,B7e._)`${n}.errors`,null),t.return(!0))}xh.topBoolOrEmptySchema=$7e;function H7e(e,t){const{gen:r,schema:n}=e;n===!1?(r.var(t,!1),UJ(e)):r.var(t,!0)}xh.boolOrEmptySchema=H7e;function UJ(e,t){const{gen:r,data:n}=e,i={gen:r,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,D7e.reportError)(i,U7e,void 0,t)}var $i={},$1={};Object.defineProperty($1,"__esModule",{value:!0});$1.getRules=$1.isJSONType=void 0;const V7e=["string","number","integer","boolean","null","object","array"],z7e=new Set(V7e);function q7e(e){return typeof e=="string"&&z7e.has(e)}$1.isJSONType=q7e;function W7e(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}$1.getRules=W7e;var pu={};Object.defineProperty(pu,"__esModule",{value:!0});pu.shouldUseRule=pu.shouldUseGroup=pu.schemaHasRulesForType=void 0;function G7e({schema:e,self:t},r){const n=t.RULES.types[r];return n&&n!==!0&&$J(e,n)}pu.schemaHasRulesForType=G7e;function $J(e,t){return t.rules.some(r=>HJ(e,r))}pu.shouldUseGroup=$J;function HJ(e,t){var r;return e[t.keyword]!==void 0||((r=t.definition.implements)===null||r===void 0?void 0:r.some(n=>e[n]!==void 0))}pu.shouldUseRule=HJ;Object.defineProperty($i,"__esModule",{value:!0});$i.reportTypeError=$i.checkDataTypes=$i.checkDataType=$i.coerceAndCheckDataType=$i.getJSONTypes=$i.getSchemaTypes=$i.DataType=void 0;const K7e=$1,Y7e=pu,Z7e=pm,Or=gr,VJ=wt;var K0;(function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"})(K0||($i.DataType=K0={}));function J7e(e){const t=zJ(e.type);if(t.includes("null")){if(e.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&e.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');e.nullable===!0&&t.push("null")}return t}$i.getSchemaTypes=J7e;function zJ(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(K7e.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}$i.getJSONTypes=zJ;function X7e(e,t){const{gen:r,data:n,opts:i}=e,o=Q7e(t,i.coerceTypes),a=t.length>0&&!(o.length===0&&t.length===1&&(0,Y7e.schemaHasRulesForType)(e,t[0]));if(a){const s=kI(t,n,i.strictNumbers,K0.Wrong);r.if(s,()=>{o.length?e_e(e,t,o):NI(e)})}return a}$i.coerceAndCheckDataType=X7e;const qJ=new Set(["string","number","integer","boolean","null"]);function Q7e(e,t){return t?e.filter(r=>qJ.has(r)||t==="array"&&r==="array"):[]}function e_e(e,t,r){const{gen:n,data:i,opts:o}=e,a=n.let("dataType",(0,Or._)`typeof ${i}`),s=n.let("coerced",(0,Or._)`undefined`);o.coerceTypes==="array"&&n.if((0,Or._)`${a} == 'object' && Array.isArray(${i}) && ${i}.length == 1`,()=>n.assign(i,(0,Or._)`${i}[0]`).assign(a,(0,Or._)`typeof ${i}`).if(kI(t,i,o.strictNumbers),()=>n.assign(s,i))),n.if((0,Or._)`${s} !== undefined`);for(const c of r)(qJ.has(c)||c==="array"&&o.coerceTypes==="array")&&l(c);n.else(),NI(e),n.endIf(),n.if((0,Or._)`${s} !== undefined`,()=>{n.assign(i,s),t_e(e,s)});function l(c){switch(c){case"string":n.elseIf((0,Or._)`${a} == "number" || ${a} == "boolean"`).assign(s,(0,Or._)`"" + ${i}`).elseIf((0,Or._)`${i} === null`).assign(s,(0,Or._)`""`);return;case"number":n.elseIf((0,Or._)`${a} == "boolean" || ${i} === null
|
|
259
259
|
|| (${a} == "string" && ${i} && ${i} == +${i})`).assign(s,(0,Or._)`+${i}`);return;case"integer":n.elseIf((0,Or._)`${a} === "boolean" || ${i} === null
|
|
260
260
|
|| (${a} === "string" && ${i} && ${i} == +${i} && !(${i} % 1))`).assign(s,(0,Or._)`+${i}`);return;case"boolean":n.elseIf((0,Or._)`${i} === "false" || ${i} === 0 || ${i} === null`).assign(s,!1).elseIf((0,Or._)`${i} === "true" || ${i} === 1`).assign(s,!0);return;case"null":n.elseIf((0,Or._)`${i} === "" || ${i} === 0 || ${i} === false`),n.assign(s,null);return;case"array":n.elseIf((0,Or._)`${a} === "string" || ${a} === "number"
|
|
@@ -269,7 +269,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
269
269
|
|| ${a} === "boolean" || ${i} === null`).assign(s,(0,Pr._)`[${i}]`)}}}function hAe({gen:e,parentData:t,parentDataProperty:r},n){e.if((0,Pr._)`${t} !== undefined`,()=>e.assign((0,Pr._)`${t}[${r}]`,n))}function NS(e,t,r,n=Z0.Correct){const i=n===Z0.Correct?Pr.operators.EQ:Pr.operators.NEQ;let o;switch(e){case"null":return(0,Pr._)`${t} ${i} null`;case"array":o=(0,Pr._)`Array.isArray(${t})`;break;case"object":o=(0,Pr._)`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":o=a((0,Pr._)`!(${t} % 1) && !isNaN(${t})`);break;case"number":o=a();break;default:return(0,Pr._)`typeof ${t} ${i} ${e}`}return n===Z0.Correct?o:(0,Pr.not)(o);function a(s=Pr.nil){return(0,Pr.and)((0,Pr._)`typeof ${t} == "number"`,s,r?(0,Pr._)`isFinite(${t})`:Pr.nil)}}Hi.checkDataType=NS;function QO(e,t,r,n){if(e.length===1)return NS(e[0],t,r,n);let i;const o=(0,hee.toHash)(e);if(o.array&&o.object){const a=(0,Pr._)`typeof ${t} != "object"`;i=o.null?a:(0,Pr._)`!${t} || ${a}`,delete o.null,delete o.array,delete o.object}else i=Pr.nil;o.number&&delete o.integer;for(const a in o)i=(0,Pr.and)(i,NS(a,t,r,n));return i}Hi.checkDataTypes=QO;const mAe={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>typeof e=="string"?(0,Pr._)`{type: ${e}}`:(0,Pr._)`{type: ${t}}`};function eP(e){const t=gAe(e);(0,cAe.reportError)(t,mAe)}Hi.reportTypeError=eP;function gAe(e){const{gen:t,data:r,schema:n}=e,i=(0,hee.schemaRefOrVal)(e,n,"type");return{gen:t,keyword:"type",data:r,schema:n.type,schemaCode:i,schemaValue:i,parentSchema:n,params:{},it:e}}var z8={};Object.defineProperty(z8,"__esModule",{value:!0});z8.assignDefaults=void 0;const Vp=yr,yAe=Ct;function vAe(e,t){const{properties:r,items:n}=e.schema;if(t==="object"&&r)for(const i in r)r$(e,i,r[i].default);else t==="array"&&Array.isArray(n)&&n.forEach((i,o)=>r$(e,o,i.default))}z8.assignDefaults=vAe;function r$(e,t,r){const{gen:n,compositeRule:i,data:o,opts:a}=e;if(r===void 0)return;const s=(0,Vp._)`${o}${(0,Vp.getProperty)(t)}`;if(i){(0,yAe.checkStrictMode)(e,`default is ignored for: ${s}`);return}let l=(0,Vp._)`${s} === undefined`;a.useDefaults==="empty"&&(l=(0,Vp._)`${l} || ${s} === null || ${s} === ""`),n.if(l,(0,Vp._)`${s} = ${(0,Vp.stringify)(r)}`)}var fc={},Vr={};Object.defineProperty(Vr,"__esModule",{value:!0});Vr.validateUnion=Vr.validateArray=Vr.usePattern=Vr.callValidateCode=Vr.schemaProperties=Vr.allSchemaProperties=Vr.noPropertyInData=Vr.propertyInData=Vr.isOwnProperty=Vr.hasPropFunc=Vr.reportMissingProp=Vr.checkMissingProp=Vr.checkReportMissingProp=void 0;const Jn=yr,tP=Ct,gd=Bl,bAe=Ct;function _Ae(e,t){const{gen:r,data:n,it:i}=e;r.if(nP(r,n,t,i.opts.ownProperties),()=>{e.setParams({missingProperty:(0,Jn._)`${t}`},!0),e.error()})}Vr.checkReportMissingProp=_Ae;function EAe({gen:e,data:t,it:{opts:r}},n,i){return(0,Jn.or)(...n.map(o=>(0,Jn.and)(nP(e,t,o,r.ownProperties),(0,Jn._)`${i} = ${o}`)))}Vr.checkMissingProp=EAe;function xAe(e,t){e.setParams({missingProperty:t},!0),e.error()}Vr.reportMissingProp=xAe;function yee(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,Jn._)`Object.prototype.hasOwnProperty`})}Vr.hasPropFunc=yee;function rP(e,t,r){return(0,Jn._)`${yee(e)}.call(${t}, ${r})`}Vr.isOwnProperty=rP;function wAe(e,t,r,n){const i=(0,Jn._)`${t}${(0,Jn.getProperty)(r)} !== undefined`;return n?(0,Jn._)`${i} && ${rP(e,t,r)}`:i}Vr.propertyInData=wAe;function nP(e,t,r,n){const i=(0,Jn._)`${t}${(0,Jn.getProperty)(r)} === undefined`;return n?(0,Jn.or)(i,(0,Jn.not)(rP(e,t,r))):i}Vr.noPropertyInData=nP;function vee(e){return e?Object.keys(e).filter(t=>t!=="__proto__"):[]}Vr.allSchemaProperties=vee;function CAe(e,t){return vee(t).filter(r=>!(0,tP.alwaysValidSchema)(e,t[r]))}Vr.schemaProperties=CAe;function SAe({schemaCode:e,data:t,it:{gen:r,topSchemaRef:n,schemaPath:i,errorPath:o},it:a},s,l,c){const d=c?(0,Jn._)`${e}, ${t}, ${n}${i}`:t,f=[[gd.default.instancePath,(0,Jn.strConcat)(gd.default.instancePath,o)],[gd.default.parentData,a.parentData],[gd.default.parentDataProperty,a.parentDataProperty],[gd.default.rootData,gd.default.rootData]];a.opts.dynamicRef&&f.push([gd.default.dynamicAnchors,gd.default.dynamicAnchors]);const p=(0,Jn._)`${d}, ${r.object(...f)}`;return l!==Jn.nil?(0,Jn._)`${s}.call(${l}, ${p})`:(0,Jn._)`${s}(${p})`}Vr.callValidateCode=SAe;const AAe=(0,Jn._)`new RegExp`;function TAe({gen:e,it:{opts:t}},r){const n=t.unicodeRegExp?"u":"",{regExp:i}=t.code,o=i(r,n);return e.scopeValue("pattern",{key:o.toString(),ref:o,code:(0,Jn._)`${i.code==="new RegExp"?AAe:(0,bAe.useFunc)(e,i)}(${r}, ${n})`})}Vr.usePattern=TAe;function MAe(e){const{gen:t,data:r,keyword:n,it:i}=e,o=t.name("valid");if(i.allErrors){const s=t.let("valid",!0);return a(()=>t.assign(s,!1)),s}return t.var(o,!0),a(()=>t.break()),o;function a(s){const l=t.const("len",(0,Jn._)`${r}.length`);t.forRange("i",0,l,c=>{e.subschema({keyword:n,dataProp:c,dataPropType:tP.Type.Num},o),t.if((0,Jn.not)(o),s)})}}Vr.validateArray=MAe;function RAe(e){const{gen:t,schema:r,keyword:n,it:i}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(r.some(l=>(0,tP.alwaysValidSchema)(i,l))&&!i.opts.unevaluated)return;const a=t.let("valid",!1),s=t.name("_valid");t.block(()=>r.forEach((l,c)=>{const d=e.subschema({keyword:n,schemaProp:c,compositeRule:!0},s);t.assign(a,(0,Jn._)`${a} || ${s}`),e.mergeValidEvaluated(d,s)||t.if((0,Jn.not)(a))})),e.result(a,()=>e.reset(),()=>e.error(!0))}Vr.validateUnion=RAe;Object.defineProperty(fc,"__esModule",{value:!0});fc.validateKeywordUsage=fc.validSchemaType=fc.funcKeywordCode=fc.macroKeywordCode=void 0;const Xo=yr,o1=Bl,IAe=Vr,OAe=bm;function PAe(e,t){const{gen:r,keyword:n,schema:i,parentSchema:o,it:a}=e,s=t.macro.call(a.self,i,o,a),l=bee(r,n,s);a.opts.validateSchema!==!1&&a.self.validateSchema(s,!0);const c=r.name("valid");e.subschema({schema:s,schemaPath:Xo.nil,errSchemaPath:`${a.errSchemaPath}/${n}`,topSchemaRef:l,compositeRule:!0},c),e.pass(c,()=>e.error(!0))}fc.macroKeywordCode=PAe;function LAe(e,t){var r;const{gen:n,keyword:i,schema:o,parentSchema:a,$data:s,it:l}=e;NAe(l,t);const c=!s&&t.compile?t.compile.call(l.self,o,a,l):t.validate,d=bee(n,i,c),f=n.let("valid");e.block$data(f,p),e.ok((r=t.valid)!==null&&r!==void 0?r:f);function p(){if(t.errors===!1)g(),t.modifying&&n$(e),b(()=>e.error());else{const h=t.async?m():v();t.modifying&&n$(e),b(()=>kAe(e,h))}}function m(){const h=n.let("ruleErrs",null);return n.try(()=>g((0,Xo._)`await `),y=>n.assign(f,!1).if((0,Xo._)`${y} instanceof ${l.ValidationError}`,()=>n.assign(h,(0,Xo._)`${y}.errors`),()=>n.throw(y))),h}function v(){const h=(0,Xo._)`${d}.errors`;return n.assign(h,null),g(Xo.nil),h}function g(h=t.async?(0,Xo._)`await `:Xo.nil){const y=l.opts.passContext?o1.default.this:o1.default.self,w=!("compile"in t&&!s||t.schema===!1);n.assign(f,(0,Xo._)`${h}${(0,IAe.callValidateCode)(e,d,y,w)}`,t.modifying)}function b(h){var y;n.if((0,Xo.not)((y=t.valid)!==null&&y!==void 0?y:f),h)}}fc.funcKeywordCode=LAe;function n$(e){const{gen:t,data:r,it:n}=e;t.if(n.parentData,()=>t.assign(r,(0,Xo._)`${n.parentData}[${n.parentDataProperty}]`))}function kAe(e,t){const{gen:r}=e;r.if((0,Xo._)`Array.isArray(${t})`,()=>{r.assign(o1.default.vErrors,(0,Xo._)`${o1.default.vErrors} === null ? ${t} : ${o1.default.vErrors}.concat(${t})`).assign(o1.default.errors,(0,Xo._)`${o1.default.vErrors}.length`),(0,OAe.extendErrors)(e)},()=>e.error())}function NAe({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}function bee(e,t,r){if(r===void 0)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword",typeof r=="function"?{ref:r}:{ref:r,code:(0,Xo.stringify)(r)})}function jAe(e,t,r=!1){return!t.length||t.some(n=>n==="array"?Array.isArray(e):n==="object"?e&&typeof e=="object"&&!Array.isArray(e):typeof e==n||r&&typeof e>"u")}fc.validSchemaType=jAe;function DAe({schema:e,opts:t,self:r,errSchemaPath:n},i,o){if(Array.isArray(i.keyword)?!i.keyword.includes(o):i.keyword!==o)throw new Error("ajv implementation error");const a=i.dependencies;if(a!=null&&a.some(s=>!Object.prototype.hasOwnProperty.call(e,s)))throw new Error(`parent schema must have dependencies of ${o}: ${a.join(",")}`);if(i.validateSchema&&!i.validateSchema(e[o])){const l=`keyword "${o}" value is invalid at path "${n}": `+r.errorsText(i.validateSchema.errors);if(t.validateSchema==="log")r.logger.error(l);else throw new Error(l)}}fc.validateKeywordUsage=DAe;var ef={};Object.defineProperty(ef,"__esModule",{value:!0});ef.extendSubschemaMode=ef.extendSubschemaData=ef.getSubschema=void 0;const sc=yr,_ee=Ct;function BAe(e,{keyword:t,schemaProp:r,schema:n,schemaPath:i,errSchemaPath:o,topSchemaRef:a}){if(t!==void 0&&n!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(t!==void 0){const s=e.schema[t];return r===void 0?{schema:s,schemaPath:(0,sc._)`${e.schemaPath}${(0,sc.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:s[r],schemaPath:(0,sc._)`${e.schemaPath}${(0,sc.getProperty)(t)}${(0,sc.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,_ee.escapeFragment)(r)}`}}if(n!==void 0){if(i===void 0||o===void 0||a===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:n,schemaPath:i,topSchemaRef:a,errSchemaPath:o}}throw new Error('either "keyword" or "schema" must be passed')}ef.getSubschema=BAe;function FAe(e,t,{dataProp:r,dataPropType:n,data:i,dataTypes:o,propertyName:a}){if(i!==void 0&&r!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:s}=t;if(r!==void 0){const{errorPath:c,dataPathArr:d,opts:f}=t,p=s.let("data",(0,sc._)`${t.data}${(0,sc.getProperty)(r)}`,!0);l(p),e.errorPath=(0,sc.str)`${c}${(0,_ee.getErrorPath)(r,n,f.jsPropertySyntax)}`,e.parentDataProperty=(0,sc._)`${r}`,e.dataPathArr=[...d,e.parentDataProperty]}if(i!==void 0){const c=i instanceof sc.Name?i:s.let("data",i,!0);l(c),a!==void 0&&(e.propertyName=a)}o&&(e.dataTypes=o);function l(c){e.data=c,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,c]}}ef.extendSubschemaData=FAe;function UAe(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:n,createErrors:i,allErrors:o}){n!==void 0&&(e.compositeRule=n),i!==void 0&&(e.createErrors=i),o!==void 0&&(e.allErrors=o),e.jtdDiscriminator=t,e.jtdMetadata=r}ef.extendSubschemaMode=UAe;var bo={},Eee={exports:{}},$d=Eee.exports=function(e,t,r){typeof t=="function"&&(r=t,t={}),r=t.cb||r;var n=typeof r=="function"?r:r.pre||function(){},i=r.post||function(){};U4(t,n,i,e,"",e)};$d.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};$d.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};$d.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};$d.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function U4(e,t,r,n,i,o,a,s,l,c){if(n&&typeof n=="object"&&!Array.isArray(n)){t(n,i,o,a,s,l,c);for(var d in n){var f=n[d];if(Array.isArray(f)){if(d in $d.arrayKeywords)for(var p=0;p<f.length;p++)U4(e,t,r,f[p],i+"/"+d+"/"+p,o,i,d,n,p)}else if(d in $d.propsKeywords){if(f&&typeof f=="object")for(var m in f)U4(e,t,r,f[m],i+"/"+d+"/"+$Ae(m),o,i,d,n,m)}else(d in $d.keywords||e.allKeys&&!(d in $d.skipKeywords))&&U4(e,t,r,f,i+"/"+d,o,i,d,n)}r(n,i,o,a,s,l,c)}}function $Ae(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}var HAe=Eee.exports;Object.defineProperty(bo,"__esModule",{value:!0});bo.getSchemaRefs=bo.resolveUrl=bo.normalizeId=bo._getFullPath=bo.getFullPath=bo.inlineRef=void 0;const VAe=Ct,zAe=ed,qAe=HAe,WAe=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function GAe(e,t=!0){return typeof e=="boolean"?!0:t===!0?!jS(e):t?xee(e)<=t:!1}bo.inlineRef=GAe;const KAe=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function jS(e){for(const t in e){if(KAe.has(t))return!0;const r=e[t];if(Array.isArray(r)&&r.some(jS)||typeof r=="object"&&jS(r))return!0}return!1}function xee(e){let t=0;for(const r in e){if(r==="$ref")return 1/0;if(t++,!WAe.has(r)&&(typeof e[r]=="object"&&(0,VAe.eachItem)(e[r],n=>t+=xee(n)),t===1/0))return 1/0}return t}function wee(e,t="",r){r!==!1&&(t=J0(t));const n=e.parse(t);return Cee(e,n)}bo.getFullPath=wee;function Cee(e,t){return e.serialize(t).split("#")[0]+"#"}bo._getFullPath=Cee;const YAe=/#\/?$/;function J0(e){return e?e.replace(YAe,""):""}bo.normalizeId=J0;function ZAe(e,t,r){return r=J0(r),e.resolve(t,r)}bo.resolveUrl=ZAe;const JAe=/^[a-z_][-a-z0-9._]*$/i;function XAe(e,t){if(typeof e=="boolean")return{};const{schemaId:r,uriResolver:n}=this.opts,i=J0(e[r]||t),o={"":i},a=wee(n,i,!1),s={},l=new Set;return qAe(e,{allKeys:!0},(f,p,m,v)=>{if(v===void 0)return;const g=a+p;let b=o[v];typeof f[r]=="string"&&(b=h.call(this,f[r])),y.call(this,f.$anchor),y.call(this,f.$dynamicAnchor),o[p]=b;function h(w){const T=this.opts.uriResolver.resolve;if(w=J0(b?T(b,w):w),l.has(w))throw d(w);l.add(w);let R=this.refs[w];return typeof R=="string"&&(R=this.refs[R]),typeof R=="object"?c(f,R.schema,w):w!==J0(g)&&(w[0]==="#"?(c(f,s[w],w),s[w]=f):this.refs[w]=g),w}function y(w){if(typeof w=="string"){if(!JAe.test(w))throw new Error(`invalid anchor "${w}"`);h.call(this,`#${w}`)}}}),s;function c(f,p,m){if(p!==void 0&&!zAe(f,p))throw d(m)}function d(f){return new Error(`reference "${f}" resolves to more than one schema`)}}bo.getSchemaRefs=XAe;Object.defineProperty(Os,"__esModule",{value:!0});Os.getData=Os.KeywordCxt=Os.validateFunctionCode=void 0;const See=Ah,i$=Hi,iP=mu,_b=Hi,QAe=z8,Eg=fc,xE=ef,Vt=yr,hr=Bl,eTe=bo,gu=Ct,m2=bm;function tTe(e){if(Mee(e)&&(Ree(e),Tee(e))){iTe(e);return}Aee(e,()=>(0,See.topBoolOrEmptySchema)(e))}Os.validateFunctionCode=tTe;function Aee({gen:e,validateName:t,schema:r,schemaEnv:n,opts:i},o){i.code.es5?e.func(t,(0,Vt._)`${hr.default.data}, ${hr.default.valCxt}`,n.$async,()=>{e.code((0,Vt._)`"use strict"; ${o$(r,i)}`),nTe(e,i),e.code(o)}):e.func(t,(0,Vt._)`${hr.default.data}, ${rTe(i)}`,n.$async,()=>e.code(o$(r,i)).code(o))}function rTe(e){return(0,Vt._)`{${hr.default.instancePath}="", ${hr.default.parentData}, ${hr.default.parentDataProperty}, ${hr.default.rootData}=${hr.default.data}${e.dynamicRef?(0,Vt._)`, ${hr.default.dynamicAnchors}={}`:Vt.nil}}={}`}function nTe(e,t){e.if(hr.default.valCxt,()=>{e.var(hr.default.instancePath,(0,Vt._)`${hr.default.valCxt}.${hr.default.instancePath}`),e.var(hr.default.parentData,(0,Vt._)`${hr.default.valCxt}.${hr.default.parentData}`),e.var(hr.default.parentDataProperty,(0,Vt._)`${hr.default.valCxt}.${hr.default.parentDataProperty}`),e.var(hr.default.rootData,(0,Vt._)`${hr.default.valCxt}.${hr.default.rootData}`),t.dynamicRef&&e.var(hr.default.dynamicAnchors,(0,Vt._)`${hr.default.valCxt}.${hr.default.dynamicAnchors}`)},()=>{e.var(hr.default.instancePath,(0,Vt._)`""`),e.var(hr.default.parentData,(0,Vt._)`undefined`),e.var(hr.default.parentDataProperty,(0,Vt._)`undefined`),e.var(hr.default.rootData,hr.default.data),t.dynamicRef&&e.var(hr.default.dynamicAnchors,(0,Vt._)`{}`)})}function iTe(e){const{schema:t,opts:r,gen:n}=e;Aee(e,()=>{r.$comment&&t.$comment&&Oee(e),cTe(e),n.let(hr.default.vErrors,null),n.let(hr.default.errors,0),r.unevaluated&&oTe(e),Iee(e),fTe(e)})}function oTe(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",(0,Vt._)`${r}.evaluated`),t.if((0,Vt._)`${e.evaluated}.dynamicProps`,()=>t.assign((0,Vt._)`${e.evaluated}.props`,(0,Vt._)`undefined`)),t.if((0,Vt._)`${e.evaluated}.dynamicItems`,()=>t.assign((0,Vt._)`${e.evaluated}.items`,(0,Vt._)`undefined`))}function o$(e,t){const r=typeof e=="object"&&e[t.schemaId];return r&&(t.code.source||t.code.process)?(0,Vt._)`/*# sourceURL=${r} */`:Vt.nil}function aTe(e,t){if(Mee(e)&&(Ree(e),Tee(e))){sTe(e,t);return}(0,See.boolOrEmptySchema)(e,t)}function Tee({schema:e,self:t}){if(typeof e=="boolean")return!e;for(const r in e)if(t.RULES.all[r])return!0;return!1}function Mee(e){return typeof e.schema!="boolean"}function sTe(e,t){const{schema:r,gen:n,opts:i}=e;i.$comment&&r.$comment&&Oee(e),uTe(e),dTe(e);const o=n.const("_errs",hr.default.errors);Iee(e,o),n.var(t,(0,Vt._)`${o} === ${hr.default.errors}`)}function Ree(e){(0,gu.checkUnknownRules)(e),lTe(e)}function Iee(e,t){if(e.opts.jtd)return a$(e,[],!1,t);const r=(0,i$.getSchemaTypes)(e.schema),n=(0,i$.coerceAndCheckDataType)(e,r);a$(e,r,!n,t)}function lTe(e){const{schema:t,errSchemaPath:r,opts:n,self:i}=e;t.$ref&&n.ignoreKeywordsWithRef&&(0,gu.schemaHasRulesButRef)(t,i.RULES)&&i.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}function cTe(e){const{schema:t,opts:r}=e;t.default!==void 0&&r.useDefaults&&r.strictSchema&&(0,gu.checkStrictMode)(e,"default is ignored in the schema root")}function uTe(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,eTe.resolveUrl)(e.opts.uriResolver,e.baseId,t))}function dTe(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}function Oee({gen:e,schemaEnv:t,schema:r,errSchemaPath:n,opts:i}){const o=r.$comment;if(i.$comment===!0)e.code((0,Vt._)`${hr.default.self}.logger.log(${o})`);else if(typeof i.$comment=="function"){const a=(0,Vt.str)`${n}/$comment`,s=e.scopeValue("root",{ref:t.root});e.code((0,Vt._)`${hr.default.self}.opts.$comment(${o}, ${a}, ${s}.schema)`)}}function fTe(e){const{gen:t,schemaEnv:r,validateName:n,ValidationError:i,opts:o}=e;r.$async?t.if((0,Vt._)`${hr.default.errors} === 0`,()=>t.return(hr.default.data),()=>t.throw((0,Vt._)`new ${i}(${hr.default.vErrors})`)):(t.assign((0,Vt._)`${n}.errors`,hr.default.vErrors),o.unevaluated&&pTe(e),t.return((0,Vt._)`${hr.default.errors} === 0`))}function pTe({gen:e,evaluated:t,props:r,items:n}){r instanceof Vt.Name&&e.assign((0,Vt._)`${t}.props`,r),n instanceof Vt.Name&&e.assign((0,Vt._)`${t}.items`,n)}function a$(e,t,r,n){const{gen:i,schema:o,data:a,allErrors:s,opts:l,self:c}=e,{RULES:d}=c;if(o.$ref&&(l.ignoreKeywordsWithRef||!(0,gu.schemaHasRulesButRef)(o,d))){i.block(()=>kee(e,"$ref",d.all.$ref.definition));return}l.jtd||hTe(e,t),i.block(()=>{for(const p of d.rules)f(p);f(d.post)});function f(p){(0,iP.shouldUseGroup)(o,p)&&(p.type?(i.if((0,_b.checkDataType)(p.type,a,l.strictNumbers)),s$(e,p),t.length===1&&t[0]===p.type&&r&&(i.else(),(0,_b.reportTypeError)(e)),i.endIf()):s$(e,p),s||i.if((0,Vt._)`${hr.default.errors} === ${n||0}`))}}function s$(e,t){const{gen:r,schema:n,opts:{useDefaults:i}}=e;i&&(0,QAe.assignDefaults)(e,t.type),r.block(()=>{for(const o of t.rules)(0,iP.shouldUseRule)(n,o)&&kee(e,o.keyword,o.definition,t.type)})}function hTe(e,t){e.schemaEnv.meta||!e.opts.strictTypes||(mTe(e,t),e.opts.allowUnionTypes||gTe(e,t),yTe(e,e.dataTypes))}function mTe(e,t){if(t.length){if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach(r=>{Pee(e.dataTypes,r)||oP(e,`type "${r}" not allowed by context "${e.dataTypes.join(",")}"`)}),bTe(e,t)}}function gTe(e,t){t.length>1&&!(t.length===2&&t.includes("null"))&&oP(e,"use allowUnionTypes to allow union type keyword")}function yTe(e,t){const r=e.self.RULES.all;for(const n in r){const i=r[n];if(typeof i=="object"&&(0,iP.shouldUseRule)(e.schema,i)){const{type:o}=i.definition;o.length&&!o.some(a=>vTe(t,a))&&oP(e,`missing type "${o.join(",")}" for keyword "${n}"`)}}}function vTe(e,t){return e.includes(t)||t==="number"&&e.includes("integer")}function Pee(e,t){return e.includes(t)||t==="integer"&&e.includes("number")}function bTe(e,t){const r=[];for(const n of e.dataTypes)Pee(t,n)?r.push(n):t.includes("integer")&&n==="number"&&r.push("integer");e.dataTypes=r}function oP(e,t){const r=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${r}" (strictTypes)`,(0,gu.checkStrictMode)(e,t,e.opts.strictTypes)}let Lee=class{constructor(t,r,n){if((0,Eg.validateKeywordUsage)(t,r,n),this.gen=t.gen,this.allErrors=t.allErrors,this.keyword=n,this.data=t.data,this.schema=t.schema[n],this.$data=r.$data&&t.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,gu.schemaRefOrVal)(t,this.schema,n,this.$data),this.schemaType=r.schemaType,this.parentSchema=t.schema,this.params={},this.it=t,this.def=r,this.$data)this.schemaCode=t.gen.const("vSchema",Nee(this.$data,t));else if(this.schemaCode=this.schemaValue,!(0,Eg.validSchemaType)(this.schema,r.schemaType,r.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(r.schemaType)}`);("code"in r?r.trackErrors:r.errors!==!1)&&(this.errsCount=t.gen.const("_errs",hr.default.errors))}result(t,r,n){this.failResult((0,Vt.not)(t),r,n)}failResult(t,r,n){this.gen.if(t),n?n():this.error(),r?(this.gen.else(),r(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(t,r){this.failResult((0,Vt.not)(t),void 0,r)}fail(t){if(t===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(t),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(t){if(!this.$data)return this.fail(t);const{schemaCode:r}=this;this.fail((0,Vt._)`${r} !== undefined && (${(0,Vt.or)(this.invalid$data(),t)})`)}error(t,r,n){if(r){this.setParams(r),this._error(t,n),this.setParams({});return}this._error(t,n)}_error(t,r){(t?m2.reportExtraError:m2.reportError)(this,this.def.error,r)}$dataError(){(0,m2.reportError)(this,this.def.$dataError||m2.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,m2.resetErrorsCount)(this.gen,this.errsCount)}ok(t){this.allErrors||this.gen.if(t)}setParams(t,r){r?Object.assign(this.params,t):this.params=t}block$data(t,r,n=Vt.nil){this.gen.block(()=>{this.check$data(t,n),r()})}check$data(t=Vt.nil,r=Vt.nil){if(!this.$data)return;const{gen:n,schemaCode:i,schemaType:o,def:a}=this;n.if((0,Vt.or)((0,Vt._)`${i} === undefined`,r)),t!==Vt.nil&&n.assign(t,!0),(o.length||a.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),t!==Vt.nil&&n.assign(t,!1)),n.else()}invalid$data(){const{gen:t,schemaCode:r,schemaType:n,def:i,it:o}=this;return(0,Vt.or)(a(),s());function a(){if(n.length){if(!(r instanceof Vt.Name))throw new Error("ajv implementation error");const l=Array.isArray(n)?n:[n];return(0,Vt._)`${(0,_b.checkDataTypes)(l,r,o.opts.strictNumbers,_b.DataType.Wrong)}`}return Vt.nil}function s(){if(i.validateSchema){const l=t.scopeValue("validate$data",{ref:i.validateSchema});return(0,Vt._)`!${l}(${r})`}return Vt.nil}}subschema(t,r){const n=(0,xE.getSubschema)(this.it,t);(0,xE.extendSubschemaData)(n,this.it,t),(0,xE.extendSubschemaMode)(n,t);const i={...this.it,...n,items:void 0,props:void 0};return aTe(i,r),i}mergeEvaluated(t,r){const{it:n,gen:i}=this;n.opts.unevaluated&&(n.props!==!0&&t.props!==void 0&&(n.props=gu.mergeEvaluated.props(i,t.props,n.props,r)),n.items!==!0&&t.items!==void 0&&(n.items=gu.mergeEvaluated.items(i,t.items,n.items,r)))}mergeValidEvaluated(t,r){const{it:n,gen:i}=this;if(n.opts.unevaluated&&(n.props!==!0||n.items!==!0))return i.if(r,()=>this.mergeEvaluated(t,Vt.Name)),!0}};Os.KeywordCxt=Lee;function kee(e,t,r,n){const i=new Lee(e,r,t);"code"in r?r.code(i,n):i.$data&&r.validate?(0,Eg.funcKeywordCode)(i,r):"macro"in r?(0,Eg.macroKeywordCode)(i,r):(r.compile||r.validate)&&(0,Eg.funcKeywordCode)(i,r)}const _Te=/^\/(?:[^~]|~0|~1)*$/,ETe=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Nee(e,{dataLevel:t,dataNames:r,dataPathArr:n}){let i,o;if(e==="")return hr.default.rootData;if(e[0]==="/"){if(!_Te.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);i=e,o=hr.default.rootData}else{const c=ETe.exec(e);if(!c)throw new Error(`Invalid JSON-pointer: ${e}`);const d=+c[1];if(i=c[2],i==="#"){if(d>=t)throw new Error(l("property/index",d));return n[t-d]}if(d>t)throw new Error(l("data",d));if(o=r[t-d],!i)return o}let a=o;const s=i.split("/");for(const c of s)c&&(o=(0,Vt._)`${o}${(0,Vt.getProperty)((0,gu.unescapeJsonPointer)(c))}`,a=(0,Vt._)`${a} && ${o}`);return a;function l(c,d){return`Cannot access ${c} ${d} levels up, current level is ${t}`}}Os.getData=Nee;var d3={};Object.defineProperty(d3,"__esModule",{value:!0});let xTe=class extends Error{constructor(t){super("validation failed"),this.errors=t,this.ajv=this.validation=!0}};d3.default=xTe;var _m={};Object.defineProperty(_m,"__esModule",{value:!0});const wE=bo;let wTe=class extends Error{constructor(t,r,n,i){super(i||`can't resolve reference ${n} from id ${r}`),this.missingRef=(0,wE.resolveUrl)(t,r,n),this.missingSchema=(0,wE.normalizeId)((0,wE.getFullPath)(t,this.missingRef))}};_m.default=wTe;var Ea={};Object.defineProperty(Ea,"__esModule",{value:!0});Ea.resolveSchema=Ea.getCompilingSchema=Ea.resolveRef=Ea.compileSchema=Ea.SchemaEnv=void 0;const Xs=yr,CTe=d3,Vf=Bl,_l=bo,l$=Ct,STe=Os;let q8=class{constructor(t){var r;this.refs={},this.dynamicAnchors={};let n;typeof t.schema=="object"&&(n=t.schema),this.schema=t.schema,this.schemaId=t.schemaId,this.root=t.root||this,this.baseId=(r=t.baseId)!==null&&r!==void 0?r:(0,_l.normalizeId)(n==null?void 0:n[t.schemaId||"$id"]),this.schemaPath=t.schemaPath,this.localRefs=t.localRefs,this.meta=t.meta,this.$async=n==null?void 0:n.$async,this.refs={}}};Ea.SchemaEnv=q8;function aP(e){const t=jee.call(this,e);if(t)return t;const r=(0,_l.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:n,lines:i}=this.opts.code,{ownProperties:o}=this.opts,a=new Xs.CodeGen(this.scope,{es5:n,lines:i,ownProperties:o});let s;e.$async&&(s=a.scopeValue("Error",{ref:CTe.default,code:(0,Xs._)`require("ajv/dist/runtime/validation_error").default`}));const l=a.scopeName("validate");e.validateName=l;const c={gen:a,allErrors:this.opts.allErrors,data:Vf.default.data,parentData:Vf.default.parentData,parentDataProperty:Vf.default.parentDataProperty,dataNames:[Vf.default.data],dataPathArr:[Xs.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:a.scopeValue("schema",this.opts.code.source===!0?{ref:e.schema,code:(0,Xs.stringify)(e.schema)}:{ref:e.schema}),validateName:l,ValidationError:s,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:Xs.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,Xs._)`""`,opts:this.opts,self:this};let d;try{this._compilations.add(e),(0,STe.validateFunctionCode)(c),a.optimize(this.opts.code.optimize);const f=a.toString();d=`${a.scopeRefs(Vf.default.scope)}return ${f}`,this.opts.code.process&&(d=this.opts.code.process(d,e));const m=new Function(`${Vf.default.self}`,`${Vf.default.scope}`,d)(this,this.scope.get());if(this.scope.value(l,{ref:m}),m.errors=null,m.schema=e.schema,m.schemaEnv=e,e.$async&&(m.$async=!0),this.opts.code.source===!0&&(m.source={validateName:l,validateCode:f,scopeValues:a._values}),this.opts.unevaluated){const{props:v,items:g}=c;m.evaluated={props:v instanceof Xs.Name?void 0:v,items:g instanceof Xs.Name?void 0:g,dynamicProps:v instanceof Xs.Name,dynamicItems:g instanceof Xs.Name},m.source&&(m.source.evaluated=(0,Xs.stringify)(m.evaluated))}return e.validate=m,e}catch(f){throw delete e.validate,delete e.validateName,d&&this.logger.error("Error compiling schema, function code:",d),f}finally{this._compilations.delete(e)}}Ea.compileSchema=aP;function ATe(e,t,r){var n;r=(0,_l.resolveUrl)(this.opts.uriResolver,t,r);const i=e.refs[r];if(i)return i;let o=RTe.call(this,e,r);if(o===void 0){const a=(n=e.localRefs)===null||n===void 0?void 0:n[r],{schemaId:s}=this.opts;a&&(o=new q8({schema:a,schemaId:s,root:e,baseId:t}))}if(o!==void 0)return e.refs[r]=TTe.call(this,o)}Ea.resolveRef=ATe;function TTe(e){return(0,_l.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:aP.call(this,e)}function jee(e){for(const t of this._compilations)if(MTe(t,e))return t}Ea.getCompilingSchema=jee;function MTe(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function RTe(e,t){let r;for(;typeof(r=this.refs[t])=="string";)t=r;return r||this.schemas[t]||W8.call(this,e,t)}function W8(e,t){const r=this.opts.uriResolver.parse(t),n=(0,_l._getFullPath)(this.opts.uriResolver,r);let i=(0,_l.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&n===i)return CE.call(this,r,e);const o=(0,_l.normalizeId)(n),a=this.refs[o]||this.schemas[o];if(typeof a=="string"){const s=W8.call(this,e,a);return typeof(s==null?void 0:s.schema)!="object"?void 0:CE.call(this,r,s)}if(typeof(a==null?void 0:a.schema)=="object"){if(a.validate||aP.call(this,a),o===(0,_l.normalizeId)(t)){const{schema:s}=a,{schemaId:l}=this.opts,c=s[l];return c&&(i=(0,_l.resolveUrl)(this.opts.uriResolver,i,c)),new q8({schema:s,schemaId:l,root:e,baseId:i})}return CE.call(this,r,a)}}Ea.resolveSchema=W8;const ITe=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function CE(e,{baseId:t,schema:r,root:n}){var i;if(((i=e.fragment)===null||i===void 0?void 0:i[0])!=="/")return;for(const s of e.fragment.slice(1).split("/")){if(typeof r=="boolean")return;const l=r[(0,l$.unescapeFragment)(s)];if(l===void 0)return;r=l;const c=typeof r=="object"&&r[this.opts.schemaId];!ITe.has(s)&&c&&(t=(0,_l.resolveUrl)(this.opts.uriResolver,t,c))}let o;if(typeof r!="boolean"&&r.$ref&&!(0,l$.schemaHasRulesButRef)(r,this.RULES)){const s=(0,_l.resolveUrl)(this.opts.uriResolver,t,r.$ref);o=W8.call(this,n,s)}const{schemaId:a}=this.opts;if(o=o||new q8({schema:r,schemaId:a,root:n,baseId:t}),o.schema!==o.root.schema)return o}const OTe="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",PTe="Meta-schema for $data reference (JSON AnySchema extension proposal)",LTe="object",kTe=["$data"],NTe={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},jTe=!1,DTe={$id:OTe,description:PTe,type:LTe,required:kTe,properties:NTe,additionalProperties:jTe};var sP={};Object.defineProperty(sP,"__esModule",{value:!0});const Dee=WI;Dee.code='require("ajv/dist/runtime/uri").default';sP.default=Dee;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=Os;Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var r=yr;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const n=d3,i=_m,o=V1,a=Ea,s=yr,l=bo,c=Hi,d=Ct,f=DTe,p=sP,m=(j,A)=>new RegExp(j,A);m.code="new RegExp";const v=["removeAdditional","useDefaults","coerceTypes"],g=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),b={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},h={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},y=200;function w(j){var A,x,C,E,_,P,G,z,Z,ie,ge,ye,Ie,_e,Se,We,Ye,He,tr,ke,st,lt,nt,it,ht;const Et=j.strict,Ot=(A=j.code)===null||A===void 0?void 0:A.optimize,Le=Ot===!0||Ot===void 0?1:Ot||0,be=(C=(x=j.code)===null||x===void 0?void 0:x.regExp)!==null&&C!==void 0?C:m,je=(E=j.uriResolver)!==null&&E!==void 0?E:p.default;return{strictSchema:(P=(_=j.strictSchema)!==null&&_!==void 0?_:Et)!==null&&P!==void 0?P:!0,strictNumbers:(z=(G=j.strictNumbers)!==null&&G!==void 0?G:Et)!==null&&z!==void 0?z:!0,strictTypes:(ie=(Z=j.strictTypes)!==null&&Z!==void 0?Z:Et)!==null&&ie!==void 0?ie:"log",strictTuples:(ye=(ge=j.strictTuples)!==null&&ge!==void 0?ge:Et)!==null&&ye!==void 0?ye:"log",strictRequired:(_e=(Ie=j.strictRequired)!==null&&Ie!==void 0?Ie:Et)!==null&&_e!==void 0?_e:!1,code:j.code?{...j.code,optimize:Le,regExp:be}:{optimize:Le,regExp:be},loopRequired:(Se=j.loopRequired)!==null&&Se!==void 0?Se:y,loopEnum:(We=j.loopEnum)!==null&&We!==void 0?We:y,meta:(Ye=j.meta)!==null&&Ye!==void 0?Ye:!0,messages:(He=j.messages)!==null&&He!==void 0?He:!0,inlineRefs:(tr=j.inlineRefs)!==null&&tr!==void 0?tr:!0,schemaId:(ke=j.schemaId)!==null&&ke!==void 0?ke:"$id",addUsedSchema:(st=j.addUsedSchema)!==null&&st!==void 0?st:!0,validateSchema:(lt=j.validateSchema)!==null&<!==void 0?lt:!0,validateFormats:(nt=j.validateFormats)!==null&&nt!==void 0?nt:!0,unicodeRegExp:(it=j.unicodeRegExp)!==null&&it!==void 0?it:!0,int32range:(ht=j.int32range)!==null&&ht!==void 0?ht:!0,uriResolver:je}}class T{constructor(A={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,A=this.opts={...A,...w(A)};const{es5:x,lines:C}=this.opts.code;this.scope=new s.ValueScope({scope:{},prefixes:g,es5:x,lines:C}),this.logger=J(A.logger);const E=A.validateFormats;A.validateFormats=!1,this.RULES=(0,o.getRules)(),R.call(this,b,A,"NOT SUPPORTED"),R.call(this,h,A,"DEPRECATED","warn"),this._metaOpts=q.call(this),A.formats&&U.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),A.keywords&&D.call(this,A.keywords),typeof A.meta=="object"&&this.addMetaSchema(A.meta),I.call(this),A.validateFormats=E}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:A,meta:x,schemaId:C}=this.opts;let E=f;C==="id"&&(E={...f},E.id=E.$id,delete E.$id),x&&A&&this.addMetaSchema(E,E[C],!1)}defaultMeta(){const{meta:A,schemaId:x}=this.opts;return this.opts.defaultMeta=typeof A=="object"?A[x]||A:void 0}validate(A,x){let C;if(typeof A=="string"){if(C=this.getSchema(A),!C)throw new Error(`no schema with key or ref "${A}"`)}else C=this.compile(A);const E=C(x);return"$async"in C||(this.errors=C.errors),E}compile(A,x){const C=this._addSchema(A,x);return C.validate||this._compileSchemaEnv(C)}compileAsync(A,x){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:C}=this.opts;return E.call(this,A,x);async function E(ie,ge){await _.call(this,ie.$schema);const ye=this._addSchema(ie,ge);return ye.validate||P.call(this,ye)}async function _(ie){ie&&!this.getSchema(ie)&&await E.call(this,{$ref:ie},!0)}async function P(ie){try{return this._compileSchemaEnv(ie)}catch(ge){if(!(ge instanceof i.default))throw ge;return G.call(this,ge),await z.call(this,ge.missingSchema),P.call(this,ie)}}function G({missingSchema:ie,missingRef:ge}){if(this.refs[ie])throw new Error(`AnySchema ${ie} is loaded but ${ge} cannot be resolved`)}async function z(ie){const ge=await Z.call(this,ie);this.refs[ie]||await _.call(this,ge.$schema),this.refs[ie]||this.addSchema(ge,ie,x)}async function Z(ie){const ge=this._loading[ie];if(ge)return ge;try{return await(this._loading[ie]=C(ie))}finally{delete this._loading[ie]}}}addSchema(A,x,C,E=this.opts.validateSchema){if(Array.isArray(A)){for(const P of A)this.addSchema(P,void 0,C,E);return this}let _;if(typeof A=="object"){const{schemaId:P}=this.opts;if(_=A[P],_!==void 0&&typeof _!="string")throw new Error(`schema ${P} must be string`)}return x=(0,l.normalizeId)(x||_),this._checkUnique(x),this.schemas[x]=this._addSchema(A,C,x,E,!0),this}addMetaSchema(A,x,C=this.opts.validateSchema){return this.addSchema(A,x,!0,C),this}validateSchema(A,x){if(typeof A=="boolean")return!0;let C;if(C=A.$schema,C!==void 0&&typeof C!="string")throw new Error("$schema must be a string");if(C=C||this.opts.defaultMeta||this.defaultMeta(),!C)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const E=this.validate(C,A);if(!E&&x){const _="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(_);else throw new Error(_)}return E}getSchema(A){let x;for(;typeof(x=S.call(this,A))=="string";)A=x;if(x===void 0){const{schemaId:C}=this.opts,E=new a.SchemaEnv({schema:{},schemaId:C});if(x=a.resolveSchema.call(this,E,A),!x)return;this.refs[A]=x}return x.validate||this._compileSchemaEnv(x)}removeSchema(A){if(A instanceof RegExp)return this._removeAllSchemas(this.schemas,A),this._removeAllSchemas(this.refs,A),this;switch(typeof A){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const x=S.call(this,A);return typeof x=="object"&&this._cache.delete(x.schema),delete this.schemas[A],delete this.refs[A],this}case"object":{const x=A;this._cache.delete(x);let C=A[this.opts.schemaId];return C&&(C=(0,l.normalizeId)(C),delete this.schemas[C],delete this.refs[C]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(A){for(const x of A)this.addKeyword(x);return this}addKeyword(A,x){let C;if(typeof A=="string")C=A,typeof x=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),x.keyword=C);else if(typeof A=="object"&&x===void 0){if(x=A,C=x.keyword,Array.isArray(C)&&!C.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(M.call(this,C,x),!x)return(0,d.eachItem)(C,_=>O.call(this,_)),this;H.call(this,x);const E={...x,type:(0,c.getJSONTypes)(x.type),schemaType:(0,c.getJSONTypes)(x.schemaType)};return(0,d.eachItem)(C,E.type.length===0?_=>O.call(this,_,E):_=>E.type.forEach(P=>O.call(this,_,E,P))),this}getKeyword(A){const x=this.RULES.all[A];return typeof x=="object"?x.definition:!!x}removeKeyword(A){const{RULES:x}=this;delete x.keywords[A],delete x.all[A];for(const C of x.rules){const E=C.rules.findIndex(_=>_.keyword===A);E>=0&&C.rules.splice(E,1)}return this}addFormat(A,x){return typeof x=="string"&&(x=new RegExp(x)),this.formats[A]=x,this}errorsText(A=this.errors,{separator:x=", ",dataVar:C="data"}={}){return!A||A.length===0?"No errors":A.map(E=>`${C}${E.instancePath} ${E.message}`).reduce((E,_)=>E+x+_)}$dataMetaSchema(A,x){const C=this.RULES.all;A=JSON.parse(JSON.stringify(A));for(const E of x){const _=E.split("/").slice(1);let P=A;for(const G of _)P=P[G];for(const G in C){const z=C[G];if(typeof z!="object")continue;const{$data:Z}=z.definition,ie=P[G];Z&&ie&&(P[G]=K(ie))}}return A}_removeAllSchemas(A,x){for(const C in A){const E=A[C];(!x||x.test(C))&&(typeof E=="string"?delete A[C]:E&&!E.meta&&(this._cache.delete(E.schema),delete A[C]))}}_addSchema(A,x,C,E=this.opts.validateSchema,_=this.opts.addUsedSchema){let P;const{schemaId:G}=this.opts;if(typeof A=="object")P=A[G];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof A!="boolean")throw new Error("schema must be object or boolean")}let z=this._cache.get(A);if(z!==void 0)return z;C=(0,l.normalizeId)(P||C);const Z=l.getSchemaRefs.call(this,A,C);return z=new a.SchemaEnv({schema:A,schemaId:G,meta:x,baseId:C,localRefs:Z}),this._cache.set(z.schema,z),_&&!C.startsWith("#")&&(C&&this._checkUnique(C),this.refs[C]=z),E&&this.validateSchema(A,!0),z}_checkUnique(A){if(this.schemas[A]||this.refs[A])throw new Error(`schema with key or id "${A}" already exists`)}_compileSchemaEnv(A){if(A.meta?this._compileMetaSchema(A):a.compileSchema.call(this,A),!A.validate)throw new Error("ajv implementation error");return A.validate}_compileMetaSchema(A){const x=this.opts;this.opts=this._metaOpts;try{a.compileSchema.call(this,A)}finally{this.opts=x}}}T.ValidationError=n.default,T.MissingRefError=i.default,e.default=T;function R(j,A,x,C="error"){for(const E in j){const _=E;_ in A&&this.logger[C](`${x}: option ${E}. ${j[_]}`)}}function S(j){return j=(0,l.normalizeId)(j),this.schemas[j]||this.refs[j]}function I(){const j=this.opts.schemas;if(j)if(Array.isArray(j))this.addSchema(j);else for(const A in j)this.addSchema(j[A],A)}function U(){for(const j in this.opts.formats){const A=this.opts.formats[j];A&&this.addFormat(j,A)}}function D(j){if(Array.isArray(j)){this.addVocabulary(j);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const A in j){const x=j[A];x.keyword||(x.keyword=A),this.addKeyword(x)}}function q(){const j={...this.opts};for(const A of v)delete j[A];return j}const W={log(){},warn(){},error(){}};function J(j){if(j===!1)return W;if(j===void 0)return console;if(j.log&&j.warn&&j.error)return j;throw new Error("logger must implement log, warn and error methods")}const $=/^[a-z_$][a-z0-9_$:-]*$/i;function M(j,A){const{RULES:x}=this;if((0,d.eachItem)(j,C=>{if(x.keywords[C])throw new Error(`Keyword ${C} is already defined`);if(!$.test(C))throw new Error(`Keyword ${C} has invalid name`)}),!!A&&A.$data&&!("code"in A||"validate"in A))throw new Error('$data keyword must have "code" or "validate" function')}function O(j,A,x){var C;const E=A==null?void 0:A.post;if(x&&E)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:_}=this;let P=E?_.post:_.rules.find(({type:z})=>z===x);if(P||(P={type:x,rules:[]},_.rules.push(P)),_.keywords[j]=!0,!A)return;const G={keyword:j,definition:{...A,type:(0,c.getJSONTypes)(A.type),schemaType:(0,c.getJSONTypes)(A.schemaType)}};A.before?N.call(this,P,G,A.before):P.rules.push(G),_.all[j]=G,(C=A.implements)===null||C===void 0||C.forEach(z=>this.addKeyword(z))}function N(j,A,x){const C=j.rules.findIndex(E=>E.keyword===x);C>=0?j.rules.splice(C,0,A):(j.rules.push(A),this.logger.warn(`rule ${x} is not defined`))}function H(j){let{metaSchema:A}=j;A!==void 0&&(j.$data&&this.opts.$data&&(A=K(A)),j.validateSchema=this.compile(A,!0))}const V={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function K(j){return{anyOf:[j,V]}}})(oee);var lP={},cP={},uP={};Object.defineProperty(uP,"__esModule",{value:!0});const BTe={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};uP.default=BTe;var z1={};Object.defineProperty(z1,"__esModule",{value:!0});z1.callRef=z1.getValidate=void 0;const FTe=_m,c$=Vr,ga=yr,zp=Bl,u$=Ea,w5=Ct,UTe={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:r,it:n}=e,{baseId:i,schemaEnv:o,validateName:a,opts:s,self:l}=n,{root:c}=o;if((r==="#"||r==="#/")&&i===c.baseId)return f();const d=u$.resolveRef.call(l,c,i,r);if(d===void 0)throw new FTe.default(n.opts.uriResolver,i,r);if(d instanceof u$.SchemaEnv)return p(d);return m(d);function f(){if(o===c)return $4(e,a,o,o.$async);const v=t.scopeValue("root",{ref:c});return $4(e,(0,ga._)`${v}.validate`,c,c.$async)}function p(v){const g=Bee(e,v);$4(e,g,v,v.$async)}function m(v){const g=t.scopeValue("schema",s.code.source===!0?{ref:v,code:(0,ga.stringify)(v)}:{ref:v}),b=t.name("valid"),h=e.subschema({schema:v,dataTypes:[],schemaPath:ga.nil,topSchemaRef:g,errSchemaPath:r},b);e.mergeEvaluated(h),e.ok(b)}}};function Bee(e,t){const{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):(0,ga._)`${r.scopeValue("wrapper",{ref:t})}.validate`}z1.getValidate=Bee;function $4(e,t,r,n){const{gen:i,it:o}=e,{allErrors:a,schemaEnv:s,opts:l}=o,c=l.passContext?zp.default.this:ga.nil;n?d():f();function d(){if(!s.$async)throw new Error("async schema referenced by sync schema");const v=i.let("valid");i.try(()=>{i.code((0,ga._)`await ${(0,c$.callValidateCode)(e,t,c)}`),m(t),a||i.assign(v,!0)},g=>{i.if((0,ga._)`!(${g} instanceof ${o.ValidationError})`,()=>i.throw(g)),p(g),a||i.assign(v,!1)}),e.ok(v)}function f(){e.result((0,c$.callValidateCode)(e,t,c),()=>m(t),()=>p(t))}function p(v){const g=(0,ga._)`${v}.errors`;i.assign(zp.default.vErrors,(0,ga._)`${zp.default.vErrors} === null ? ${g} : ${zp.default.vErrors}.concat(${g})`),i.assign(zp.default.errors,(0,ga._)`${zp.default.vErrors}.length`)}function m(v){var g;if(!o.opts.unevaluated)return;const b=(g=r==null?void 0:r.validate)===null||g===void 0?void 0:g.evaluated;if(o.props!==!0)if(b&&!b.dynamicProps)b.props!==void 0&&(o.props=w5.mergeEvaluated.props(i,b.props,o.props));else{const h=i.var("props",(0,ga._)`${v}.evaluated.props`);o.props=w5.mergeEvaluated.props(i,h,o.props,ga.Name)}if(o.items!==!0)if(b&&!b.dynamicItems)b.items!==void 0&&(o.items=w5.mergeEvaluated.items(i,b.items,o.items));else{const h=i.var("items",(0,ga._)`${v}.evaluated.items`);o.items=w5.mergeEvaluated.items(i,h,o.items,ga.Name)}}}z1.callRef=$4;z1.default=UTe;Object.defineProperty(cP,"__esModule",{value:!0});const $Te=uP,HTe=z1,VTe=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",$Te.default,HTe.default];cP.default=VTe;var dP={},fP={};Object.defineProperty(fP,"__esModule",{value:!0});const Eb=yr,yd=Eb.operators,xb={maximum:{okStr:"<=",ok:yd.LTE,fail:yd.GT},minimum:{okStr:">=",ok:yd.GTE,fail:yd.LT},exclusiveMaximum:{okStr:"<",ok:yd.LT,fail:yd.GTE},exclusiveMinimum:{okStr:">",ok:yd.GT,fail:yd.LTE}},zTe={message:({keyword:e,schemaCode:t})=>(0,Eb.str)`must be ${xb[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,Eb._)`{comparison: ${xb[e].okStr}, limit: ${t}}`},qTe={keyword:Object.keys(xb),type:"number",schemaType:"number",$data:!0,error:zTe,code(e){const{keyword:t,data:r,schemaCode:n}=e;e.fail$data((0,Eb._)`${r} ${xb[t].fail} ${n} || isNaN(${r})`)}};fP.default=qTe;var pP={};Object.defineProperty(pP,"__esModule",{value:!0});const xg=yr,WTe={message:({schemaCode:e})=>(0,xg.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,xg._)`{multipleOf: ${e}}`},GTe={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:WTe,code(e){const{gen:t,data:r,schemaCode:n,it:i}=e,o=i.opts.multipleOfPrecision,a=t.let("res"),s=o?(0,xg._)`Math.abs(Math.round(${a}) - ${a}) > 1e-${o}`:(0,xg._)`${a} !== parseInt(${a})`;e.fail$data((0,xg._)`(${n} === 0 || (${a} = ${r}/${n}, ${s}))`)}};pP.default=GTe;var hP={},mP={};Object.defineProperty(mP,"__esModule",{value:!0});function Fee(e){const t=e.length;let r=0,n=0,i;for(;n<t;)r++,i=e.charCodeAt(n++),i>=55296&&i<=56319&&n<t&&(i=e.charCodeAt(n),(i&64512)===56320&&n++);return r}mP.default=Fee;Fee.code='require("ajv/dist/runtime/ucs2length").default';Object.defineProperty(hP,"__esModule",{value:!0});const a1=yr,KTe=Ct,YTe=mP,ZTe={message({keyword:e,schemaCode:t}){const r=e==="maxLength"?"more":"fewer";return(0,a1.str)`must NOT have ${r} than ${t} characters`},params:({schemaCode:e})=>(0,a1._)`{limit: ${e}}`},JTe={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:ZTe,code(e){const{keyword:t,data:r,schemaCode:n,it:i}=e,o=t==="maxLength"?a1.operators.GT:a1.operators.LT,a=i.opts.unicode===!1?(0,a1._)`${r}.length`:(0,a1._)`${(0,KTe.useFunc)(e.gen,YTe.default)}(${r})`;e.fail$data((0,a1._)`${a} ${o} ${n}`)}};hP.default=JTe;var gP={};Object.defineProperty(gP,"__esModule",{value:!0});const XTe=Vr,wb=yr,QTe={message:({schemaCode:e})=>(0,wb.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,wb._)`{pattern: ${e}}`},eMe={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:QTe,code(e){const{data:t,$data:r,schema:n,schemaCode:i,it:o}=e,a=o.opts.unicodeRegExp?"u":"",s=r?(0,wb._)`(new RegExp(${i}, ${a}))`:(0,XTe.usePattern)(e,n);e.fail$data((0,wb._)`!${s}.test(${t})`)}};gP.default=eMe;var yP={};Object.defineProperty(yP,"__esModule",{value:!0});const wg=yr,tMe={message({keyword:e,schemaCode:t}){const r=e==="maxProperties"?"more":"fewer";return(0,wg.str)`must NOT have ${r} than ${t} properties`},params:({schemaCode:e})=>(0,wg._)`{limit: ${e}}`},rMe={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:tMe,code(e){const{keyword:t,data:r,schemaCode:n}=e,i=t==="maxProperties"?wg.operators.GT:wg.operators.LT;e.fail$data((0,wg._)`Object.keys(${r}).length ${i} ${n}`)}};yP.default=rMe;var vP={};Object.defineProperty(vP,"__esModule",{value:!0});const g2=Vr,Cg=yr,nMe=Ct,iMe={message:({params:{missingProperty:e}})=>(0,Cg.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,Cg._)`{missingProperty: ${e}}`},oMe={keyword:"required",type:"object",schemaType:"array",$data:!0,error:iMe,code(e){const{gen:t,schema:r,schemaCode:n,data:i,$data:o,it:a}=e,{opts:s}=a;if(!o&&r.length===0)return;const l=r.length>=s.loopRequired;if(a.allErrors?c():d(),s.strictRequired){const m=e.parentSchema.properties,{definedProperties:v}=e.it;for(const g of r)if((m==null?void 0:m[g])===void 0&&!v.has(g)){const b=a.schemaEnv.baseId+a.errSchemaPath,h=`required property "${g}" is not defined at "${b}" (strictRequired)`;(0,nMe.checkStrictMode)(a,h,a.opts.strictRequired)}}function c(){if(l||o)e.block$data(Cg.nil,f);else for(const m of r)(0,g2.checkReportMissingProp)(e,m)}function d(){const m=t.let("missing");if(l||o){const v=t.let("valid",!0);e.block$data(v,()=>p(m,v)),e.ok(v)}else t.if((0,g2.checkMissingProp)(e,r,m)),(0,g2.reportMissingProp)(e,m),t.else()}function f(){t.forOf("prop",n,m=>{e.setParams({missingProperty:m}),t.if((0,g2.noPropertyInData)(t,i,m,s.ownProperties),()=>e.error())})}function p(m,v){e.setParams({missingProperty:m}),t.forOf(m,n,()=>{t.assign(v,(0,g2.propertyInData)(t,i,m,s.ownProperties)),t.if((0,Cg.not)(v),()=>{e.error(),t.break()})},Cg.nil)}}};vP.default=oMe;var bP={};Object.defineProperty(bP,"__esModule",{value:!0});const Sg=yr,aMe={message({keyword:e,schemaCode:t}){const r=e==="maxItems"?"more":"fewer";return(0,Sg.str)`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>(0,Sg._)`{limit: ${e}}`},sMe={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:aMe,code(e){const{keyword:t,data:r,schemaCode:n}=e,i=t==="maxItems"?Sg.operators.GT:Sg.operators.LT;e.fail$data((0,Sg._)`${r}.length ${i} ${n}`)}};bP.default=sMe;var _P={},f3={};Object.defineProperty(f3,"__esModule",{value:!0});const Uee=ed;Uee.code='require("ajv/dist/runtime/equal").default';f3.default=Uee;Object.defineProperty(_P,"__esModule",{value:!0});const SE=Hi,po=yr,lMe=Ct,cMe=f3,uMe={message:({params:{i:e,j:t}})=>(0,po.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>(0,po._)`{i: ${e}, j: ${t}}`},dMe={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:uMe,code(e){const{gen:t,data:r,$data:n,schema:i,parentSchema:o,schemaCode:a,it:s}=e;if(!n&&!i)return;const l=t.let("valid"),c=o.items?(0,SE.getSchemaTypes)(o.items):[];e.block$data(l,d,(0,po._)`${a} === false`),e.ok(l);function d(){const v=t.let("i",(0,po._)`${r}.length`),g=t.let("j");e.setParams({i:v,j:g}),t.assign(l,!0),t.if((0,po._)`${v} > 1`,()=>(f()?p:m)(v,g))}function f(){return c.length>0&&!c.some(v=>v==="object"||v==="array")}function p(v,g){const b=t.name("item"),h=(0,SE.checkDataTypes)(c,b,s.opts.strictNumbers,SE.DataType.Wrong),y=t.const("indices",(0,po._)`{}`);t.for((0,po._)`;${v}--;`,()=>{t.let(b,(0,po._)`${r}[${v}]`),t.if(h,(0,po._)`continue`),c.length>1&&t.if((0,po._)`typeof ${b} == "string"`,(0,po._)`${b} += "_"`),t.if((0,po._)`typeof ${y}[${b}] == "number"`,()=>{t.assign(g,(0,po._)`${y}[${b}]`),e.error(),t.assign(l,!1).break()}).code((0,po._)`${y}[${b}] = ${v}`)})}function m(v,g){const b=(0,lMe.useFunc)(t,cMe.default),h=t.name("outer");t.label(h).for((0,po._)`;${v}--;`,()=>t.for((0,po._)`${g} = ${v}; ${g}--;`,()=>t.if((0,po._)`${b}(${r}[${v}], ${r}[${g}])`,()=>{e.error(),t.assign(l,!1).break(h)})))}}};_P.default=dMe;var EP={};Object.defineProperty(EP,"__esModule",{value:!0});const DS=yr,fMe=Ct,pMe=f3,hMe={message:"must be equal to constant",params:({schemaCode:e})=>(0,DS._)`{allowedValue: ${e}}`},mMe={keyword:"const",$data:!0,error:hMe,code(e){const{gen:t,data:r,$data:n,schemaCode:i,schema:o}=e;n||o&&typeof o=="object"?e.fail$data((0,DS._)`!${(0,fMe.useFunc)(t,pMe.default)}(${r}, ${i})`):e.fail((0,DS._)`${o} !== ${r}`)}};EP.default=mMe;var xP={};Object.defineProperty(xP,"__esModule",{value:!0});const W2=yr,gMe=Ct,yMe=f3,vMe={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,W2._)`{allowedValues: ${e}}`},bMe={keyword:"enum",schemaType:"array",$data:!0,error:vMe,code(e){const{gen:t,data:r,$data:n,schema:i,schemaCode:o,it:a}=e;if(!n&&i.length===0)throw new Error("enum must have non-empty array");const s=i.length>=a.opts.loopEnum;let l;const c=()=>l??(l=(0,gMe.useFunc)(t,yMe.default));let d;if(s||n)d=t.let("valid"),e.block$data(d,f);else{if(!Array.isArray(i))throw new Error("ajv implementation error");const m=t.const("vSchema",o);d=(0,W2.or)(...i.map((v,g)=>p(m,g)))}e.pass(d);function f(){t.assign(d,!1),t.forOf("v",o,m=>t.if((0,W2._)`${c()}(${r}, ${m})`,()=>t.assign(d,!0).break()))}function p(m,v){const g=i[v];return typeof g=="object"&&g!==null?(0,W2._)`${c()}(${r}, ${m}[${v}])`:(0,W2._)`${r} === ${g}`}}};xP.default=bMe;Object.defineProperty(dP,"__esModule",{value:!0});const _Me=fP,EMe=pP,xMe=hP,wMe=gP,CMe=yP,SMe=vP,AMe=bP,TMe=_P,MMe=EP,RMe=xP,IMe=[_Me.default,EMe.default,xMe.default,wMe.default,CMe.default,SMe.default,AMe.default,TMe.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},MMe.default,RMe.default];dP.default=IMe;var wP={},Em={};Object.defineProperty(Em,"__esModule",{value:!0});Em.validateAdditionalItems=void 0;const s1=yr,BS=Ct,OMe={message:({params:{len:e}})=>(0,s1.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,s1._)`{limit: ${e}}`},PMe={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:OMe,code(e){const{parentSchema:t,it:r}=e,{items:n}=t;if(!Array.isArray(n)){(0,BS.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas');return}$ee(e,n)}};function $ee(e,t){const{gen:r,schema:n,data:i,keyword:o,it:a}=e;a.items=!0;const s=r.const("len",(0,s1._)`${i}.length`);if(n===!1)e.setParams({len:t.length}),e.pass((0,s1._)`${s} <= ${t.length}`);else if(typeof n=="object"&&!(0,BS.alwaysValidSchema)(a,n)){const c=r.var("valid",(0,s1._)`${s} <= ${t.length}`);r.if((0,s1.not)(c),()=>l(c)),e.ok(c)}function l(c){r.forRange("i",t.length,s,d=>{e.subschema({keyword:o,dataProp:d,dataPropType:BS.Type.Num},c),a.allErrors||r.if((0,s1.not)(c),()=>r.break())})}}Em.validateAdditionalItems=$ee;Em.default=PMe;var CP={},xm={};Object.defineProperty(xm,"__esModule",{value:!0});xm.validateTuple=void 0;const d$=yr,H4=Ct,LMe=Vr,kMe={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:r}=e;if(Array.isArray(t))return Hee(e,"additionalItems",t);r.items=!0,!(0,H4.alwaysValidSchema)(r,t)&&e.ok((0,LMe.validateArray)(e))}};function Hee(e,t,r=e.schema){const{gen:n,parentSchema:i,data:o,keyword:a,it:s}=e;d(i),s.opts.unevaluated&&r.length&&s.items!==!0&&(s.items=H4.mergeEvaluated.items(n,r.length,s.items));const l=n.name("valid"),c=n.const("len",(0,d$._)`${o}.length`);r.forEach((f,p)=>{(0,H4.alwaysValidSchema)(s,f)||(n.if((0,d$._)`${c} > ${p}`,()=>e.subschema({keyword:a,schemaProp:p,dataProp:p},l)),e.ok(l))});function d(f){const{opts:p,errSchemaPath:m}=s,v=r.length,g=v===f.minItems&&(v===f.maxItems||f[t]===!1);if(p.strictTuples&&!g){const b=`"${a}" is ${v}-tuple, but minItems or maxItems/${t} are not specified or different at path "${m}"`;(0,H4.checkStrictMode)(s,b,p.strictTuples)}}}xm.validateTuple=Hee;xm.default=kMe;Object.defineProperty(CP,"__esModule",{value:!0});const NMe=xm,jMe={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,NMe.validateTuple)(e,"items")};CP.default=jMe;var SP={};Object.defineProperty(SP,"__esModule",{value:!0});const f$=yr,DMe=Ct,BMe=Vr,FMe=Em,UMe={message:({params:{len:e}})=>(0,f$.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,f$._)`{limit: ${e}}`},$Me={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:UMe,code(e){const{schema:t,parentSchema:r,it:n}=e,{prefixItems:i}=r;n.items=!0,!(0,DMe.alwaysValidSchema)(n,t)&&(i?(0,FMe.validateAdditionalItems)(e,i):e.ok((0,BMe.validateArray)(e)))}};SP.default=$Me;var AP={};Object.defineProperty(AP,"__esModule",{value:!0});const fs=yr,C5=Ct,HMe={message:({params:{min:e,max:t}})=>t===void 0?(0,fs.str)`must contain at least ${e} valid item(s)`:(0,fs.str)`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>t===void 0?(0,fs._)`{minContains: ${e}}`:(0,fs._)`{minContains: ${e}, maxContains: ${t}}`},VMe={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:HMe,code(e){const{gen:t,schema:r,parentSchema:n,data:i,it:o}=e;let a,s;const{minContains:l,maxContains:c}=n;o.opts.next?(a=l===void 0?1:l,s=c):a=1;const d=t.const("len",(0,fs._)`${i}.length`);if(e.setParams({min:a,max:s}),s===void 0&&a===0){(0,C5.checkStrictMode)(o,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(s!==void 0&&a>s){(0,C5.checkStrictMode)(o,'"minContains" > "maxContains" is always invalid'),e.fail();return}if((0,C5.alwaysValidSchema)(o,r)){let g=(0,fs._)`${d} >= ${a}`;s!==void 0&&(g=(0,fs._)`${g} && ${d} <= ${s}`),e.pass(g);return}o.items=!0;const f=t.name("valid");s===void 0&&a===1?m(f,()=>t.if(f,()=>t.break())):a===0?(t.let(f,!0),s!==void 0&&t.if((0,fs._)`${i}.length > 0`,p)):(t.let(f,!1),p()),e.result(f,()=>e.reset());function p(){const g=t.name("_valid"),b=t.let("count",0);m(g,()=>t.if(g,()=>v(b)))}function m(g,b){t.forRange("i",0,d,h=>{e.subschema({keyword:"contains",dataProp:h,dataPropType:C5.Type.Num,compositeRule:!0},g),b()})}function v(g){t.code((0,fs._)`${g}++`),s===void 0?t.if((0,fs._)`${g} >= ${a}`,()=>t.assign(f,!0).break()):(t.if((0,fs._)`${g} > ${s}`,()=>t.assign(f,!1).break()),a===1?t.assign(f,!0):t.if((0,fs._)`${g} >= ${a}`,()=>t.assign(f,!0)))}}};AP.default=VMe;var Vee={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=yr,r=Ct,n=Vr;e.error={message:({params:{property:l,depsCount:c,deps:d}})=>{const f=c===1?"property":"properties";return(0,t.str)`must have ${f} ${d} when property ${l} is present`},params:({params:{property:l,depsCount:c,deps:d,missingProperty:f}})=>(0,t._)`{property: ${l},
|
|
270
270
|
missingProperty: ${f},
|
|
271
271
|
depsCount: ${c},
|
|
272
|
-
deps: ${d}}`};const i={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(l){const[c,d]=o(l);a(l,c),s(l,d)}};function o({schema:l}){const c={},d={};for(const f in l){if(f==="__proto__")continue;const p=Array.isArray(l[f])?c:d;p[f]=l[f]}return[c,d]}function a(l,c=l.schema){const{gen:d,data:f,it:p}=l;if(Object.keys(c).length===0)return;const m=d.let("missing");for(const v in c){const g=c[v];if(g.length===0)continue;const b=(0,n.propertyInData)(d,f,v,p.opts.ownProperties);l.setParams({property:v,depsCount:g.length,deps:g.join(", ")}),p.allErrors?d.if(b,()=>{for(const h of g)(0,n.checkReportMissingProp)(l,h)}):(d.if((0,t._)`${b} && (${(0,n.checkMissingProp)(l,g,m)})`),(0,n.reportMissingProp)(l,m),d.else())}}e.validatePropertyDeps=a;function s(l,c=l.schema){const{gen:d,data:f,keyword:p,it:m}=l,v=d.name("valid");for(const g in c)(0,r.alwaysValidSchema)(m,c[g])||(d.if((0,n.propertyInData)(d,f,g,m.opts.ownProperties),()=>{const b=l.subschema({keyword:p,schemaProp:g},v);l.mergeValidEvaluated(b,v)},()=>d.var(v,!0)),l.ok(v))}e.validateSchemaDeps=s,e.default=i})(Vee);var TP={};Object.defineProperty(TP,"__esModule",{value:!0});const zee=yr,zMe=Ct,qMe={message:"property name must be valid",params:({params:e})=>(0,zee._)`{propertyName: ${e.propertyName}}`},WMe={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:qMe,code(e){const{gen:t,schema:r,data:n,it:i}=e;if((0,zMe.alwaysValidSchema)(i,r))return;const o=t.name("valid");t.forIn("key",n,a=>{e.setParams({propertyName:a}),e.subschema({keyword:"propertyNames",data:a,dataTypes:["string"],propertyName:a,compositeRule:!0},o),t.if((0,zee.not)(o),()=>{e.error(!0),i.allErrors||t.break()})}),e.ok(o)}};TP.default=WMe;var G8={};Object.defineProperty(G8,"__esModule",{value:!0});const S5=Vr,ol=yr,GMe=Bl,A5=Ct,KMe={message:"must NOT have additional properties",params:({params:e})=>(0,ol._)`{additionalProperty: ${e.additionalProperty}}`},YMe={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:KMe,code(e){const{gen:t,schema:r,parentSchema:n,data:i,errsCount:o,it:a}=e;if(!o)throw new Error("ajv implementation error");const{allErrors:s,opts:l}=a;if(a.props=!0,l.removeAdditional!=="all"&&(0,A5.alwaysValidSchema)(a,r))return;const c=(0,S5.allSchemaProperties)(n.properties),d=(0,S5.allSchemaProperties)(n.patternProperties);f(),e.ok((0,ol._)`${o} === ${GMe.default.errors}`);function f(){t.forIn("key",i,b=>{!c.length&&!d.length?v(b):t.if(p(b),()=>v(b))})}function p(b){let h;if(c.length>8){const y=(0,A5.schemaRefOrVal)(a,n.properties,"properties");h=(0,S5.isOwnProperty)(t,y,b)}else c.length?h=(0,ol.or)(...c.map(y=>(0,ol._)`${b} === ${y}`)):h=ol.nil;return d.length&&(h=(0,ol.or)(h,...d.map(y=>(0,ol._)`${(0,S5.usePattern)(e,y)}.test(${b})`))),(0,ol.not)(h)}function m(b){t.code((0,ol._)`delete ${i}[${b}]`)}function v(b){if(l.removeAdditional==="all"||l.removeAdditional&&r===!1){m(b);return}if(r===!1){e.setParams({additionalProperty:b}),e.error(),s||t.break();return}if(typeof r=="object"&&!(0,A5.alwaysValidSchema)(a,r)){const h=t.name("valid");l.removeAdditional==="failing"?(g(b,h,!1),t.if((0,ol.not)(h),()=>{e.reset(),m(b)})):(g(b,h),s||t.if((0,ol.not)(h),()=>t.break()))}}function g(b,h,y){const w={keyword:"additionalProperties",dataProp:b,dataPropType:A5.Type.Str};y===!1&&Object.assign(w,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(w,h)}}};G8.default=YMe;var MP={};Object.defineProperty(MP,"__esModule",{value:!0});const ZMe=Os,p$=Vr,AE=Ct,h$=G8,JMe={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,parentSchema:n,data:i,it:o}=e;o.opts.removeAdditional==="all"&&n.additionalProperties===void 0&&h$.default.code(new ZMe.KeywordCxt(o,h$.default,"additionalProperties"));const a=(0,p$.allSchemaProperties)(r);for(const f of a)o.definedProperties.add(f);o.opts.unevaluated&&a.length&&o.props!==!0&&(o.props=AE.mergeEvaluated.props(t,(0,AE.toHash)(a),o.props));const s=a.filter(f=>!(0,AE.alwaysValidSchema)(o,r[f]));if(s.length===0)return;const l=t.name("valid");for(const f of s)c(f)?d(f):(t.if((0,p$.propertyInData)(t,i,f,o.opts.ownProperties)),d(f),o.allErrors||t.else().var(l,!0),t.endIf()),e.it.definedProperties.add(f),e.ok(l);function c(f){return o.opts.useDefaults&&!o.compositeRule&&r[f].default!==void 0}function d(f){e.subschema({keyword:"properties",schemaProp:f,dataProp:f},l)}}};MP.default=JMe;var RP={};Object.defineProperty(RP,"__esModule",{value:!0});const m$=Vr,T5=yr,g$=Ct,y$=Ct,XMe={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,data:n,parentSchema:i,it:o}=e,{opts:a}=o,s=(0,m$.allSchemaProperties)(r),l=s.filter(g=>(0,g$.alwaysValidSchema)(o,r[g]));if(s.length===0||l.length===s.length&&(!o.opts.unevaluated||o.props===!0))return;const c=a.strictSchema&&!a.allowMatchingProperties&&i.properties,d=t.name("valid");o.props!==!0&&!(o.props instanceof T5.Name)&&(o.props=(0,y$.evaluatedPropsToName)(t,o.props));const{props:f}=o;p();function p(){for(const g of s)c&&m(g),o.allErrors?v(g):(t.var(d,!0),v(g),t.if(d))}function m(g){for(const b in c)new RegExp(g).test(b)&&(0,g$.checkStrictMode)(o,`property ${b} matches pattern ${g} (use allowMatchingProperties)`)}function v(g){t.forIn("key",n,b=>{t.if((0,T5._)`${(0,m$.usePattern)(e,g)}.test(${b})`,()=>{const h=l.includes(g);h||e.subschema({keyword:"patternProperties",schemaProp:g,dataProp:b,dataPropType:y$.Type.Str},d),o.opts.unevaluated&&f!==!0?t.assign((0,T5._)`${f}[${b}]`,!0):!h&&!o.allErrors&&t.if((0,T5.not)(d),()=>t.break())})})}}};RP.default=XMe;var IP={};Object.defineProperty(IP,"__esModule",{value:!0});const QMe=Ct,eRe={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:r,it:n}=e;if((0,QMe.alwaysValidSchema)(n,r)){e.fail();return}const i=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),e.failResult(i,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};IP.default=eRe;var OP={};Object.defineProperty(OP,"__esModule",{value:!0});const tRe=Vr,rRe={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:tRe.validateUnion,error:{message:"must match a schema in anyOf"}};OP.default=rRe;var PP={};Object.defineProperty(PP,"__esModule",{value:!0});const V4=yr,nRe=Ct,iRe={message:"must match exactly one schema in oneOf",params:({params:e})=>(0,V4._)`{passingSchemas: ${e.passing}}`},oRe={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:iRe,code(e){const{gen:t,schema:r,parentSchema:n,it:i}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(i.opts.discriminator&&n.discriminator)return;const o=r,a=t.let("valid",!1),s=t.let("passing",null),l=t.name("_valid");e.setParams({passing:s}),t.block(c),e.result(a,()=>e.reset(),()=>e.error(!0));function c(){o.forEach((d,f)=>{let p;(0,nRe.alwaysValidSchema)(i,d)?t.var(l,!0):p=e.subschema({keyword:"oneOf",schemaProp:f,compositeRule:!0},l),f>0&&t.if((0,V4._)`${l} && ${a}`).assign(a,!1).assign(s,(0,V4._)`[${s}, ${f}]`).else(),t.if(l,()=>{t.assign(a,!0),t.assign(s,f),p&&e.mergeEvaluated(p,V4.Name)})})}}};PP.default=oRe;var LP={};Object.defineProperty(LP,"__esModule",{value:!0});const aRe=Ct,sRe={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:r,it:n}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const i=t.name("valid");r.forEach((o,a)=>{if((0,aRe.alwaysValidSchema)(n,o))return;const s=e.subschema({keyword:"allOf",schemaProp:a},i);e.ok(i),e.mergeEvaluated(s)})}};LP.default=sRe;var kP={};Object.defineProperty(kP,"__esModule",{value:!0});const Cb=yr,qee=Ct,lRe={message:({params:e})=>(0,Cb.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,Cb._)`{failingKeyword: ${e.ifClause}}`},cRe={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:lRe,code(e){const{gen:t,parentSchema:r,it:n}=e;r.then===void 0&&r.else===void 0&&(0,qee.checkStrictMode)(n,'"if" without "then" and "else" is ignored');const i=v$(n,"then"),o=v$(n,"else");if(!i&&!o)return;const a=t.let("valid",!0),s=t.name("_valid");if(l(),e.reset(),i&&o){const d=t.let("ifClause");e.setParams({ifClause:d}),t.if(s,c("then",d),c("else",d))}else i?t.if(s,c("then")):t.if((0,Cb.not)(s),c("else"));e.pass(a,()=>e.error(!0));function l(){const d=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},s);e.mergeEvaluated(d)}function c(d,f){return()=>{const p=e.subschema({keyword:d},s);t.assign(a,s),e.mergeValidEvaluated(p,a),f?t.assign(f,(0,Cb._)`${d}`):e.setParams({ifClause:d})}}}};function v$(e,t){const r=e.schema[t];return r!==void 0&&!(0,qee.alwaysValidSchema)(e,r)}kP.default=cRe;var NP={};Object.defineProperty(NP,"__esModule",{value:!0});const uRe=Ct,dRe={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){t.if===void 0&&(0,uRe.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};NP.default=dRe;Object.defineProperty(wP,"__esModule",{value:!0});const fRe=Em,pRe=CP,hRe=xm,mRe=SP,gRe=AP,yRe=Vee,vRe=TP,bRe=G8,_Re=MP,ERe=RP,xRe=IP,wRe=OP,CRe=PP,SRe=LP,ARe=kP,TRe=NP;function MRe(e=!1){const t=[xRe.default,wRe.default,CRe.default,SRe.default,ARe.default,TRe.default,vRe.default,bRe.default,yRe.default,_Re.default,ERe.default];return e?t.push(pRe.default,mRe.default):t.push(fRe.default,hRe.default),t.push(gRe.default),t}wP.default=MRe;var jP={},DP={};Object.defineProperty(DP,"__esModule",{value:!0});const wi=yr,RRe={message:({schemaCode:e})=>(0,wi.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,wi._)`{format: ${e}}`},IRe={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:RRe,code(e,t){const{gen:r,data:n,$data:i,schema:o,schemaCode:a,it:s}=e,{opts:l,errSchemaPath:c,schemaEnv:d,self:f}=s;if(!l.validateFormats)return;i?p():m();function p(){const v=r.scopeValue("formats",{ref:f.formats,code:l.code.formats}),g=r.const("fDef",(0,wi._)`${v}[${a}]`),b=r.let("fType"),h=r.let("format");r.if((0,wi._)`typeof ${g} == "object" && !(${g} instanceof RegExp)`,()=>r.assign(b,(0,wi._)`${g}.type || "string"`).assign(h,(0,wi._)`${g}.validate`),()=>r.assign(b,(0,wi._)`"string"`).assign(h,g)),e.fail$data((0,wi.or)(y(),w()));function y(){return l.strictSchema===!1?wi.nil:(0,wi._)`${a} && !${h}`}function w(){const T=d.$async?(0,wi._)`(${g}.async ? await ${h}(${n}) : ${h}(${n}))`:(0,wi._)`${h}(${n})`,R=(0,wi._)`(typeof ${h} == "function" ? ${T} : ${h}.test(${n}))`;return(0,wi._)`${h} && ${h} !== true && ${b} === ${t} && !${R}`}}function m(){const v=f.formats[o];if(!v){y();return}if(v===!0)return;const[g,b,h]=w(v);g===t&&e.pass(T());function y(){if(l.strictSchema===!1){f.logger.warn(R());return}throw new Error(R());function R(){return`unknown format "${o}" ignored in schema at path "${c}"`}}function w(R){const S=R instanceof RegExp?(0,wi.regexpCode)(R):l.code.formats?(0,wi._)`${l.code.formats}${(0,wi.getProperty)(o)}`:void 0,I=r.scopeValue("formats",{key:o,ref:R,code:S});return typeof R=="object"&&!(R instanceof RegExp)?[R.type||"string",R.validate,(0,wi._)`${I}.validate`]:["string",R,I]}function T(){if(typeof v=="object"&&!(v instanceof RegExp)&&v.async){if(!d.$async)throw new Error("async format in sync schema");return(0,wi._)`await ${h}(${n})`}return typeof b=="function"?(0,wi._)`${h}(${n})`:(0,wi._)`${h}.test(${n})`}}}};DP.default=IRe;Object.defineProperty(jP,"__esModule",{value:!0});const ORe=DP,PRe=[ORe.default];jP.default=PRe;var Mh={};Object.defineProperty(Mh,"__esModule",{value:!0});Mh.contentVocabulary=Mh.metadataVocabulary=void 0;Mh.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];Mh.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"];Object.defineProperty(lP,"__esModule",{value:!0});const LRe=cP,kRe=dP,NRe=wP,jRe=jP,b$=Mh,DRe=[LRe.default,kRe.default,(0,NRe.default)(),jRe.default,b$.metadataVocabulary,b$.contentVocabulary];lP.default=DRe;var BP={},K8={};Object.defineProperty(K8,"__esModule",{value:!0});K8.DiscrError=void 0;var _$;(function(e){e.Tag="tag",e.Mapping="mapping"})(_$||(K8.DiscrError=_$={}));Object.defineProperty(BP,"__esModule",{value:!0});const c0=yr,FS=K8,E$=Ea,BRe=_m,FRe=Ct,URe={message:({params:{discrError:e,tagName:t}})=>e===FS.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>(0,c0._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`},$Re={keyword:"discriminator",type:"object",schemaType:"object",error:URe,code(e){const{gen:t,data:r,schema:n,parentSchema:i,it:o}=e,{oneOf:a}=i;if(!o.opts.discriminator)throw new Error("discriminator: requires discriminator option");const s=n.propertyName;if(typeof s!="string")throw new Error("discriminator: requires propertyName");if(n.mapping)throw new Error("discriminator: mapping is not supported");if(!a)throw new Error("discriminator: requires oneOf keyword");const l=t.let("valid",!1),c=t.const("tag",(0,c0._)`${r}${(0,c0.getProperty)(s)}`);t.if((0,c0._)`typeof ${c} == "string"`,()=>d(),()=>e.error(!1,{discrError:FS.DiscrError.Tag,tag:c,tagName:s})),e.ok(l);function d(){const m=p();t.if(!1);for(const v in m)t.elseIf((0,c0._)`${c} === ${v}`),t.assign(l,f(m[v]));t.else(),e.error(!1,{discrError:FS.DiscrError.Mapping,tag:c,tagName:s}),t.endIf()}function f(m){const v=t.name("valid"),g=e.subschema({keyword:"oneOf",schemaProp:m},v);return e.mergeEvaluated(g,c0.Name),v}function p(){var m;const v={},g=h(i);let b=!0;for(let T=0;T<a.length;T++){let R=a[T];if(R!=null&&R.$ref&&!(0,FRe.schemaHasRulesButRef)(R,o.self.RULES)){const I=R.$ref;if(R=E$.resolveRef.call(o.self,o.schemaEnv.root,o.baseId,I),R instanceof E$.SchemaEnv&&(R=R.schema),R===void 0)throw new BRe.default(o.opts.uriResolver,o.baseId,I)}const S=(m=R==null?void 0:R.properties)===null||m===void 0?void 0:m[s];if(typeof S!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${s}"`);b=b&&(g||h(R)),y(S,T)}if(!b)throw new Error(`discriminator: "${s}" must be required`);return v;function h({required:T}){return Array.isArray(T)&&T.includes(s)}function y(T,R){if(T.const)w(T.const,R);else if(T.enum)for(const S of T.enum)w(S,R);else throw new Error(`discriminator: "properties/${s}" must have "const" or "enum"`)}function w(T,R){if(typeof T!="string"||T in v)throw new Error(`discriminator: "${s}" values must be unique strings`);v[T]=R}}}};BP.default=$Re;const HRe="http://json-schema.org/draft-07/schema#",VRe="http://json-schema.org/draft-07/schema#",zRe="Core schema meta-schema",qRe={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},WRe=["object","boolean"],GRe={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},KRe={$schema:HRe,$id:VRe,title:zRe,definitions:qRe,type:WRe,properties:GRe,default:!0};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const r=oee,n=lP,i=BP,o=KRe,a=["/properties"],s="http://json-schema.org/draft-07/schema";class l extends r.default{_addVocabularies(){super._addVocabularies(),n.default.forEach(v=>this.addVocabulary(v)),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const v=this.opts.$data?this.$dataMetaSchema(o,a):o;this.addMetaSchema(v,s,!1),this.refs["http://json-schema.org/schema"]=s}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(s)?s:void 0)}}t.Ajv=l,e.exports=t=l,e.exports.Ajv=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var c=Os;Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return c.KeywordCxt}});var d=yr;Object.defineProperty(t,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return d.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return d.CodeGen}});var f=d3;Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return f.default}});var p=_m;Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return p.default}})})(PS,PS.exports);var Wee=PS.exports,US={exports:{}},$S={exports:{}},HS={exports:{}},VS={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=yr,n=["undefined","string","number","object","function","boolean","symbol"];function i(){return{keyword:"typeof",schemaType:["string","array"],code(o){const{data:a,schema:s,schemaValue:l}=o;o.fail(typeof s=="string"?(0,r._)`typeof ${a} != ${s}`:(0,r._)`${l}.indexOf(typeof ${a}) < 0`)},metaSchema:{anyOf:[{type:"string",enum:n},{type:"array",items:{type:"string",enum:n}}]}}}t.default=i,e.exports=i})(VS,VS.exports);var YRe=VS.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(YRe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(HS,HS.exports);var ZRe=HS.exports,zS={exports:{}},qS={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r={Object,Array,Function,Number,String,Date,RegExp};typeof Buffer<"u"&&(r.Buffer=Buffer),typeof Promise<"u"&&(r.Promise=Promise);const n=Object.assign(i,{CONSTRUCTORS:r});function i(){return{keyword:"instanceof",schemaType:["string","array"],compile(a){if(typeof a=="string"){const s=o(a);return l=>l instanceof s}if(Array.isArray(a)){const s=a.map(o);return l=>{for(const c of s)if(l instanceof c)return!0;return!1}}throw new Error("ajv implementation error")},metaSchema:{anyOf:[{type:"string"},{type:"array",items:{type:"string"}}]}}}function o(a){const s=r[a];if(s)return s;throw new Error(`invalid "instanceof" keyword value ${a}`)}t.default=n,e.exports=n})(qS,qS.exports);var JRe=qS.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(JRe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(zS,zS.exports);var XRe=zS.exports,WS={exports:{}},GS={exports:{}},Y8={};Object.defineProperty(Y8,"__esModule",{value:!0});function QRe(e){return()=>({keyword:e,type:"number",schemaType:"array",macro:function([r,n]){return t(r,n),e==="range"?{minimum:r,maximum:n}:{exclusiveMinimum:r,exclusiveMaximum:n}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}});function t(r,n){if(r>n||e==="exclusiveRange"&&r===n)throw new Error("There are no numbers in range")}}Y8.default=QRe;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const i=(0,r(Y8).default)("range");t.default=i,e.exports=i})(GS,GS.exports);var eIe=GS.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(eIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(WS,WS.exports);var tIe=WS.exports,KS={exports:{}},YS={exports:{}};(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const i=(0,r(Y8).default)("exclusiveRange");t.default=i,e.exports=i})(YS,YS.exports);var rIe=YS.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(rIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(KS,KS.exports);var nIe=KS.exports,ZS={exports:{}},JS={exports:{}},Bu={};Object.defineProperty(Bu,"__esModule",{value:!0});Bu.usePattern=Bu.metaSchemaRef=void 0;const iIe=yr,oIe="http://json-schema.org/schema";function aIe({defaultMeta:e}={}){return e===!1?{}:{$ref:e||oIe}}Bu.metaSchemaRef=aIe;function sIe({gen:e,it:{opts:t}},r,n=t.unicodeRegExp?"u":""){const i=new RegExp(r,n);return e.scopeValue("pattern",{key:i.toString(),ref:i,code:(0,iIe._)`new RegExp(${r}, ${n})`})}Bu.usePattern=sIe;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=yr,n=Bu,i={type:"object",properties:{pattern:{type:"string"},flags:{type:"string",nullable:!0}},required:["pattern"],additionalProperties:!1},o=/^\/(.*)\/([gimuy]*)$/;function a(){return{keyword:"regexp",type:"string",schemaType:["string","object"],code(s){const{data:l,schema:c}=s,d=f(c);s.pass((0,r._)`${d}.test(${l})`);function f(p){if(typeof p=="object")return(0,n.usePattern)(s,p.pattern,p.flags);const m=o.exec(p);if(m)return(0,n.usePattern)(s,m[1],m[2]);throw new Error("cannot parse string into RegExp")}},metaSchema:{anyOf:[{type:"string"},i]}}}t.default=a,e.exports=a})(JS,JS.exports);var lIe=JS.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(lIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(ZS,ZS.exports);var cIe=ZS.exports,XS={exports:{}},QS={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=yr,n={trimStart:l=>l.trimStart(),trimEnd:l=>l.trimEnd(),trimLeft:l=>l.trimStart(),trimRight:l=>l.trimEnd(),trim:l=>l.trim(),toLowerCase:l=>l.toLowerCase(),toUpperCase:l=>l.toUpperCase(),toEnumCase:(l,c)=>(c==null?void 0:c.hash[s(l)])||l},i=Object.assign(o,{transform:n});function o(){return{keyword:"transform",schemaType:"array",before:"enum",code(l){const{gen:c,data:d,schema:f,parentSchema:p,it:m}=l,{parentData:v,parentDataProperty:g}=m,b=f;if(!b.length)return;let h;if(b.includes("toEnumCase")){const w=a(p);h=c.scopeValue("obj",{ref:w,code:(0,r.stringify)(w)})}c.if((0,r._)`typeof ${d} == "string" && ${v} !== undefined`,()=>{c.assign(d,y(b.slice())),c.assign((0,r._)`${v}[${g}]`,d)});function y(w){if(!w.length)return d;const T=w.pop();if(!(T in n))throw new Error(`transform: unknown transformation ${T}`);const R=c.scopeValue("func",{ref:n[T],code:(0,r._)`require("ajv-keywords/dist/definitions/transform").transform${(0,r.getProperty)(T)}`}),S=y(w);return h&&T==="toEnumCase"?(0,r._)`${R}(${S}, ${h})`:(0,r._)`${R}(${S})`}},metaSchema:{type:"array",items:{type:"string",enum:Object.keys(n)}}}}function a(l){const c={hash:{}};if(!l.enum)throw new Error('transform: "toEnumCase" requires "enum"');for(const d of l.enum){if(typeof d!="string")continue;const f=s(d);if(c.hash[f])throw new Error('transform: "toEnumCase" requires all lowercased "enum" values to be unique');c.hash[f]=d}return c}function s(l){return l.toLowerCase()}t.default=i,e.exports=i})(QS,QS.exports);var uIe=QS.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(uIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(XS,XS.exports);var dIe=XS.exports,eA={exports:{}},tA={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=ed,n=["number","integer","string","boolean","null"];function i(){return{keyword:"uniqueItemProperties",type:"array",schemaType:"array",compile(a,s){const l=o(a,s);return c=>{if(c.length<=1)return!0;for(let d=0;d<a.length;d++){const f=a[d];if(l[d]){const p={};for(const m of c){if(!m||typeof m!="object")continue;let v=m[f];if(!(v&&typeof v=="object")){if(typeof v=="string"&&(v='"'+v),p[v])return!1;p[v]=!0}}}else for(let p=c.length;p--;){const m=c[p];if(!(!m||typeof m!="object"))for(let v=p;v--;){const g=c[v];if(g&&typeof g=="object"&&r(m[f],g[f]))return!1}}}return!0}},metaSchema:{type:"array",items:{type:"string"}}}}t.default=i;function o(a,s){return a.map(l=>{var c,d,f;const p=(f=(d=(c=s.items)===null||c===void 0?void 0:c.properties)===null||d===void 0?void 0:d[l])===null||f===void 0?void 0:f.type;return Array.isArray(p)?!p.includes("object")&&!p.includes("array"):n.includes(p)})}e.exports=i})(tA,tA.exports);var fIe=tA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(fIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(eA,eA.exports);var pIe=eA.exports,rA={exports:{}},nA={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});function r(){return{keyword:"allRequired",type:"object",schemaType:"boolean",macro(n,i){if(!n)return!0;const o=Object.keys(i.properties);return o.length===0?!0:{required:o}},dependencies:["properties"]}}t.default=r,e.exports=r})(nA,nA.exports);var hIe=nA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(hIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(rA,rA.exports);var mIe=rA.exports,iA={exports:{}},oA={exports:{}},Z8={};Object.defineProperty(Z8,"__esModule",{value:!0});function gIe(e){return()=>({keyword:e,type:"object",schemaType:"array",macro(t){return t.length===0?!0:t.length===1?{required:t}:{[e==="anyRequired"?"anyOf":"oneOf"]:t.map(n=>({required:[n]}))}},metaSchema:{type:"array",items:{type:"string"}}})}Z8.default=gIe;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const i=(0,r(Z8).default)("anyRequired");t.default=i,e.exports=i})(oA,oA.exports);var yIe=oA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(yIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(iA,iA.exports);var vIe=iA.exports,aA={exports:{}},sA={exports:{}};(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const i=(0,r(Z8).default)("oneRequired");t.default=i,e.exports=i})(sA,sA.exports);var bIe=sA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(bIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(aA,aA.exports);var _Ie=aA.exports,lA={exports:{}},cA={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=yr,n=Bu,i={message:({params:{missingPattern:a}})=>(0,r.str)`should have property matching pattern '${a}'`,params:({params:{missingPattern:a}})=>(0,r._)`{missingPattern: ${a}}`};function o(){return{keyword:"patternRequired",type:"object",schemaType:"array",error:i,code(a){const{gen:s,schema:l,data:c}=a;if(l.length===0)return;const d=s.let("valid",!0);for(const p of l)f(p);function f(p){const m=s.let("matched",!1);s.forIn("key",c,v=>{s.assign(m,(0,r._)`${(0,n.usePattern)(a,p)}.test(${v})`),s.if(m,()=>s.break())}),a.setParams({missingPattern:p}),s.assign(d,(0,r.and)(d,m)),a.pass(d)}},metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:!0}}}t.default=o,e.exports=o})(cA,cA.exports);var EIe=cA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(EIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(lA,lA.exports);var xIe=lA.exports,uA={exports:{}},dA={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});function r(){return{keyword:"prohibited",type:"object",schemaType:"array",macro:function(n){return n.length===0?!0:n.length===1?{not:{required:n}}:{not:{anyOf:n.map(i=>({required:[i]}))}}},metaSchema:{type:"array",items:{type:"string"}}}}t.default=r,e.exports=r})(dA,dA.exports);var wIe=dA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(wIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(uA,uA.exports);var CIe=uA.exports,fA={exports:{}},pA={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=Bu;function n(a){return{keyword:"deepProperties",type:"object",schemaType:"object",macro:function(s){const l=[];for(const c in s)l.push(i(c,s[c]));return{allOf:l}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:(0,r.metaSchemaRef)(a)}}}t.default=n;function i(a,s){const l=a.split("/"),c={};let d=c;for(let f=1;f<l.length;f++){let p=l[f];const m=f===l.length-1;p=o(p);const v=d.properties={};let g;if(/[0-9]+/.test(p)){let b=+p;for(g=d.items=[],d.type=["object","array"];b--;)g.push({})}else d.type="object";d=m?s:{},v[p]=d,g&&g.push(d)}return c}function o(a){return a.replace(/~1/g,"/").replace(/~0/g,"~")}e.exports=n})(pA,pA.exports);var SIe=pA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(SIe),i=(o,a)=>o.addKeyword((0,n.default)(a));t.default=i,e.exports=i})(fA,fA.exports);var AIe=fA.exports,hA={exports:{}},mA={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=yr;function n(){return{keyword:"deepRequired",type:"object",schemaType:"array",code(o){const{schema:a,data:s}=o,l=a.map(d=>(0,r._)`(${c(d)}) === undefined`);o.fail((0,r.or)(...l));function c(d){if(d==="")throw new Error("empty JSON pointer not allowed");const f=d.split("/");let p=s;const m=f.map((v,g)=>g?p=(0,r._)`${p}${(0,r.getProperty)(i(v))}`:p);return(0,r.and)(...m)}},metaSchema:{type:"array",items:{type:"string",format:"json-pointer"}}}}t.default=n;function i(o){return o.replace(/~1/g,"/").replace(/~0/g,"~")}e.exports=n})(mA,mA.exports);var TIe=mA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(TIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(hA,hA.exports);var MIe=hA.exports,gA={exports:{}},yA={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r={},n={timestamp:()=>()=>Date.now(),datetime:()=>()=>new Date().toISOString(),date:()=>()=>new Date().toISOString().slice(0,10),time:()=>()=>new Date().toISOString().slice(11),random:()=>()=>Math.random(),randomint:d=>{var f;const p=(f=d==null?void 0:d.max)!==null&&f!==void 0?f:2;return()=>Math.floor(Math.random()*p)},seq:d=>{var f;const p=(f=d==null?void 0:d.name)!==null&&f!==void 0?f:"";return r[p]||(r[p]=0),()=>r[p]++}},i=Object.assign(o,{DEFAULTS:n});function o(){return{keyword:"dynamicDefaults",type:"object",schemaType:["string","object"],modifying:!0,valid:!0,compile(d,f,p){if(!p.opts.useDefaults||p.compositeRule)return()=>!0;const m={};for(const g in d)m[g]=a(d[g]);const v=p.opts.useDefaults==="empty";return g=>{for(const b in d)(g[b]===void 0||v&&(g[b]===null||g[b]===""))&&(g[b]=m[b]());return!0}},metaSchema:{type:"object",additionalProperties:{anyOf:[{type:"string"},{type:"object",additionalProperties:!1,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}]}}}}function a(d){return typeof d=="object"?s(d):l(d)}function s({func:d,args:f}){const p=n[d];return c(d,p),p(f)}function l(d=""){const f=n[d];return c(d,f),f()}function c(d,f){if(!f)throw new Error(`invalid "dynamicDefaults" keyword property value: ${d}`)}t.default=i,e.exports=i})(yA,yA.exports);var RIe=yA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(RIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(gA,gA.exports);var IIe=gA.exports,vA={exports:{}},bA={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=yr,n=Bu,i={message:({params:{schemaProp:a}})=>a?(0,r.str)`should match case "${a}" schema`:(0,r.str)`should match default case schema`,params:({params:{schemaProp:a}})=>a?(0,r._)`{failingCase: ${a}}`:(0,r._)`{failingDefault: true}`};function o(a){const s=(0,n.metaSchemaRef)(a);return[{keyword:"select",schemaType:["string","number","boolean","null"],$data:!0,error:i,dependencies:["selectCases"],code(l){const{gen:c,schemaCode:d,parentSchema:f}=l;l.block$data(r.nil,()=>{const p=c.let("valid",!0),m=c.name("_valid"),v=c.const("value",(0,r._)`${d} === null ? "null" : ${d}`);c.if(!1);for(const g in f.selectCases){l.setParams({schemaProp:g}),c.elseIf((0,r._)`"" + ${v} == ${g}`);const b=l.subschema({keyword:"selectCases",schemaProp:g},m);l.mergeEvaluated(b,r.Name),c.assign(p,m)}if(c.else(),f.selectDefault!==void 0){l.setParams({schemaProp:void 0});const g=l.subschema({keyword:"selectDefault"},m);l.mergeEvaluated(g,r.Name),c.assign(p,m)}c.endIf(),l.pass(p)})}},{keyword:"selectCases",dependencies:["select"],metaSchema:{type:"object",additionalProperties:s}},{keyword:"selectDefault",dependencies:["select","selectCases"],metaSchema:s}]}t.default=o,e.exports=o})(bA,bA.exports);var OIe=bA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(OIe),i=(o,a)=>((0,n.default)(a).forEach(s=>o.addKeyword(s)),o);t.default=i,e.exports=i})(vA,vA.exports);var PIe=vA.exports;(function(e,t){var r=X&&X.__importDefault||function(T){return T&&T.__esModule?T:{default:T}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(ZRe),i=r(XRe),o=r(tIe),a=r(nIe),s=r(cIe),l=r(dIe),c=r(pIe),d=r(mIe),f=r(vIe),p=r(_Ie),m=r(xIe),v=r(CIe),g=r(AIe),b=r(MIe),h=r(IIe),y=r(PIe),w={typeof:n.default,instanceof:i.default,range:o.default,exclusiveRange:a.default,regexp:s.default,transform:l.default,uniqueItemProperties:c.default,allRequired:d.default,anyRequired:f.default,oneRequired:p.default,patternRequired:m.default,prohibited:v.default,deepProperties:g.default,deepRequired:b.default,dynamicDefaults:h.default,select:y.default};t.default=w,e.exports=w})($S,$S.exports);var LIe=$S.exports;(function(e,t){var r=X&&X.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(LIe),i=(a,s)=>{if(Array.isArray(s)){for(const l of s)o(l)(a);return a}if(s)return o(s)(a),a;for(s in n.default)o(s)(a);return a};i.get=o;function o(a){const s=n.default[a];if(!s)throw new Error("Unknown keyword "+a);return s}t.default=i,e.exports=i,e.exports.default=i})(US,US.exports);var kIe=US.exports,_A={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=Wee,n=yr,i=Th,o=Os,a=bm,s=Bl,l="errorMessage",c=new r.Name("emUsed"),d={required:"missingProperty",dependencies:"property",dependentRequired:"property"},f=/\$\{[^}]+\}/,p=/\$\{([^}]+)\}/g,m=/^""\s*\+\s*|\s*\+\s*""$/g;function v(b){return{keyword:l,schemaType:["string","object"],post:!0,code(h){const{gen:y,data:w,schema:T,schemaValue:R,it:S}=h;if(S.createErrors===!1)return;const I=T,U=n.strConcat(s.default.instancePath,S.errorPath);y.if(r._`${s.default.errors} > 0`,()=>{if(typeof I=="object"){const[C,E]=q(I);E&&W(E),C&&J(C),$(D(I))}const x=typeof I=="string"?I:I._;x&&M(x),b.keepErrors||O()});function D({properties:x,items:C}){const E={};if(x){E.props={};for(const _ in x)E.props[_]=[]}if(C){E.items={};for(let _=0;_<C.length;_++)E.items[_]=[]}return E}function q(x){let C,E;for(const _ in x){if(_==="properties"||_==="items")continue;const P=x[_];if(typeof P=="object"){C||(C={});const G=C[_]={};for(const z in P)G[z]=[]}else E||(E={}),E[_]=[]}return[C,E]}function W(x){const C=y.const("emErrors",r.stringify(x)),E=y.const("templates",K(x,T));y.forOf("err",s.default.vErrors,z=>y.if(N(z,C),()=>y.code(r._`${C}[${z}.keyword].push(${z})`).assign(r._`${z}.${c}`,!0)));const{singleError:_}=b;if(_){const z=y.let("message",r._`""`),Z=y.let("paramsErrors",r._`[]`);P(ie=>{y.if(z,()=>y.code(r._`${z} += ${typeof _=="string"?_:";"}`)),y.code(r._`${z} += ${G(ie)}`),y.assign(Z,r._`${Z}.concat(${C}[${ie}])`)}),a.reportError(h,{message:z,params:r._`{errors: ${Z}}`})}else P(z=>a.reportError(h,{message:G(z),params:r._`{errors: ${C}[${z}]}`}));function P(z){y.forIn("key",C,Z=>y.if(r._`${C}[${Z}].length`,()=>z(Z)))}function G(z){return r._`${z} in ${E} ? ${E}[${z}]() : ${R}[${z}]`}}function J(x){const C=y.const("emErrors",r.stringify(x)),E=[];for(const Z in x)E.push([Z,K(x[Z],T[Z])]);const _=y.const("templates",y.object(...E)),P=y.scopeValue("obj",{ref:d,code:r.stringify(d)}),G=y.let("emPropParams"),z=y.let("emParamsErrors");y.forOf("err",s.default.vErrors,Z=>y.if(N(Z,C),()=>{y.assign(G,r._`${P}[${Z}.keyword]`),y.assign(z,r._`${C}[${Z}.keyword][${Z}.params[${G}]]`),y.if(z,()=>y.code(r._`${z}.push(${Z})`).assign(r._`${Z}.${c}`,!0))})),y.forIn("key",C,Z=>y.forIn("keyProp",r._`${C}[${Z}]`,ie=>{y.assign(z,r._`${C}[${Z}][${ie}]`),y.if(r._`${z}.length`,()=>{const ge=y.const("tmpl",r._`${_}[${Z}] && ${_}[${Z}][${ie}]`);a.reportError(h,{message:r._`${ge} ? ${ge}() : ${R}[${Z}][${ie}]`,params:r._`{errors: ${z}}`})})}))}function $(x){const{props:C,items:E}=x;if(!C&&!E)return;const _=r._`typeof ${w} == "object"`,P=r._`Array.isArray(${w})`,G=y.let("emErrors");let z,Z;const ie=y.let("templates");C&&E?(z=y.let("emChildKwd"),y.if(_),y.if(P,()=>{ge(E,T.items),y.assign(z,r.str`items`)},()=>{ge(C,T.properties),y.assign(z,r.str`properties`)}),Z=r._`[${z}]`):E?(y.if(P),ge(E,T.items),Z=r._`.items`):C&&(y.if(n.and(_,n.not(P))),ge(C,T.properties),Z=r._`.properties`),y.forOf("err",s.default.vErrors,ye=>H(ye,G,Ie=>y.code(r._`${G}[${Ie}].push(${ye})`).assign(r._`${ye}.${c}`,!0))),y.forIn("key",G,ye=>y.if(r._`${G}[${ye}].length`,()=>{a.reportError(h,{message:r._`${ye} in ${ie} ? ${ie}[${ye}]() : ${R}${Z}[${ye}]`,params:r._`{errors: ${G}[${ye}]}`}),y.assign(r._`${s.default.vErrors}[${s.default.errors}-1].instancePath`,r._`${U} + "/" + ${ye}.replace(/~/g, "~0").replace(/\\//g, "~1")`)})),y.endIf();function ge(ye,Ie){y.assign(G,r.stringify(ye)),y.assign(ie,K(ye,Ie))}}function M(x){const C=y.const("emErrs",r._`[]`);y.forOf("err",s.default.vErrors,E=>y.if(V(E),()=>y.code(r._`${C}.push(${E})`).assign(r._`${E}.${c}`,!0))),y.if(r._`${C}.length`,()=>a.reportError(h,{message:j(x),params:r._`{errors: ${C}}`}))}function O(){const x=y.const("emErrs",r._`[]`);y.forOf("err",s.default.vErrors,C=>y.if(r._`!${C}.${c}`,()=>y.code(r._`${x}.push(${C})`))),y.assign(s.default.vErrors,x).assign(s.default.errors,r._`${x}.length`)}function N(x,C){return n.and(r._`${x}.keyword !== ${l}`,r._`!${x}.${c}`,r._`${x}.instancePath === ${U}`,r._`${x}.keyword in ${C}`,r._`${x}.schemaPath.indexOf(${S.errSchemaPath}) === 0`,r._`/^\\/[^\\/]*$/.test(${x}.schemaPath.slice(${S.errSchemaPath.length}))`)}function H(x,C,E){y.if(n.and(r._`${x}.keyword !== ${l}`,r._`!${x}.${c}`,r._`${x}.instancePath.indexOf(${U}) === 0`),()=>{const _=y.scopeValue("pattern",{ref:/^\/([^/]*)(?:\/|$)/,code:r._`new RegExp("^\\\/([^/]*)(?:\\\/|$)")`}),P=y.const("emMatches",r._`${_}.exec(${x}.instancePath.slice(${U}.length))`),G=y.const("emChild",r._`${P} && ${P}[1].replace(/~1/g, "/").replace(/~0/g, "~")`);y.if(r._`${G} !== undefined && ${G} in ${C}`,()=>E(G))})}function V(x){return n.and(r._`${x}.keyword !== ${l}`,r._`!${x}.${c}`,n.or(r._`${x}.instancePath === ${U}`,n.and(r._`${x}.instancePath.indexOf(${U}) === 0`,r._`${x}.instancePath[${U}.length] === "/"`)),r._`${x}.schemaPath.indexOf(${S.errSchemaPath}) === 0`,r._`${x}.schemaPath[${S.errSchemaPath}.length] === "/"`)}function K(x,C){const E=[];for(const _ in x){const P=C[_];f.test(P)&&E.push([_,A(P)])}return y.object(...E)}function j(x){return f.test(x)?new i._Code(i.safeStringify(x).replace(p,(C,E)=>`" + JSON.stringify(${o.getData(E,S)}) + "`).replace(m,"")):r.stringify(x)}function A(x){return r._`function(){return ${j(x)}}`}},metaSchema:{anyOf:[{type:"string"},{type:"object",properties:{properties:{$ref:"#/$defs/stringMap"},items:{$ref:"#/$defs/stringList"},required:{$ref:"#/$defs/stringOrMap"},dependencies:{$ref:"#/$defs/stringOrMap"}},additionalProperties:{type:"string"}}],$defs:{stringMap:{type:"object",additionalProperties:{type:"string"}},stringOrMap:{anyOf:[{type:"string"},{$ref:"#/$defs/stringMap"}]},stringList:{type:"array",items:{type:"string"}}}}}}const g=(b,h={})=>{if(!b.opts.allErrors)throw new Error("ajv-errors: Ajv option allErrors must be true");if(b.opts.jsPropertySyntax)throw new Error("ajv-errors: ajv option jsPropertySyntax is not supported");return b.addKeyword(v(h))};t.default=g,e.exports=g,e.exports.default=g})(_A,_A.exports);var NIe=_A.exports,FP=X&&X.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ct,"__esModule",{value:!0});ct.validateType=ct.generateLazyValidator=ct.Ajv=void 0;const Gee=FP(Wee);ct.Ajv=Gee.default;const jIe=FP(kIe),DIe=FP(NIe);function BIe(e,t){let r=null;const n=(i,o)=>{if(!r){const a=new Gee.default({$data:!0,allErrors:!0});(0,jIe.default)(a),(0,DIe.default)(a,{singleError:!0}),t==null||t.forEach(s=>a.addKeyword(s)),r=a.compile(e),Object.defineProperty(n,"errors",{get(){return r==null?void 0:r.errors}})}return r(i,o)};return n}ct.generateLazyValidator=BIe;function FIe(e,t){return e.validate(t)}ct.validateType=FIe;var TE={},x$;function Kee(){return x$||(x$=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getChainId=e.ChainName=void 0;const t=ct,r=qs();var n;(function(o){o.ETHEREUM_MAINNET="Ethereum Mainnet",o.ETHEREUM_ROPSTEN="Ropsten",o.ETHEREUM_RINKEBY="Rinkeby",o.ETHEREUM_GOERLI="Goerli",o.ETHEREUM_KOVAN="Kovan",o.ETHEREUM_SEPOLIA="Sepolia",o.MATIC_MAINNET="Polygon",o.MATIC_MUMBAI="Mumbai",o.MATIC_AMOY="Amoy",o.AVALANCHE_MAINNET="Avalanche",o.BINANCE_MAINNET="Binance Smart Chain",o.ARBITRUM_MAINNET="Arbitrum",o.OPTIMISM_MAINNET="Optimism",o.FANTOM_MAINNET="Fantom"})(n=e.ChainName||(e.ChainName={}));function i(o){switch(o){case n.ETHEREUM_MAINNET:return r.ChainId.ETHEREUM_MAINNET;case n.ETHEREUM_ROPSTEN:return r.ChainId.ETHEREUM_ROPSTEN;case n.ETHEREUM_RINKEBY:return r.ChainId.ETHEREUM_RINKEBY;case n.ETHEREUM_GOERLI:return r.ChainId.ETHEREUM_GOERLI;case n.ETHEREUM_KOVAN:return r.ChainId.ETHEREUM_KOVAN;case n.ETHEREUM_SEPOLIA:return r.ChainId.ETHEREUM_SEPOLIA;case n.MATIC_MAINNET:return r.ChainId.MATIC_MAINNET;case n.MATIC_MUMBAI:return r.ChainId.MATIC_MUMBAI;case n.MATIC_AMOY:return r.ChainId.MATIC_AMOY;case n.AVALANCHE_MAINNET:return r.ChainId.AVALANCHE_MAINNET;case n.BINANCE_MAINNET:return r.ChainId.BSC_MAINNET;case n.ARBITRUM_MAINNET:return r.ChainId.ARBITRUM_MAINNET;case n.OPTIMISM_MAINNET:return r.ChainId.OPTIMISM_MAINNET;case n.FANTOM_MAINNET:return r.ChainId.FANTOM_MAINNET;default:return null}}e.getChainId=i,function(o){o.schema={type:"string",enum:Object.values(o)},o.validate=(0,t.generateLazyValidator)(o.schema)}(n=e.ChainName||(e.ChainName={}))}(TE)),TE}var zs={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Network=void 0;const t=ct;(function(r){r.ETHEREUM="ETHEREUM",r.MATIC="MATIC",r.AVALANCHE="AVALANCHE",r.BSC="BINANCE SMART CHAIN",r.OPTIMISM="OPTIMISM",r.ARBITRUM="ARBITRUM",r.FANTOM="FANTOM"})(e.Network||(e.Network={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.Network||(e.Network={}))})(zs);var w$;function qs(){return w$||(w$=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getNetwork=e.getNetworkMapping=e.getURNProtocol=e.getChainName=e.ChainId=void 0;const t=ct,r=Kee(),n=zs;var i;(function(c){c[c.ETHEREUM_MAINNET=1]="ETHEREUM_MAINNET",c[c.ETHEREUM_ROPSTEN=3]="ETHEREUM_ROPSTEN",c[c.ETHEREUM_RINKEBY=4]="ETHEREUM_RINKEBY",c[c.ETHEREUM_GOERLI=5]="ETHEREUM_GOERLI",c[c.ETHEREUM_KOVAN=42]="ETHEREUM_KOVAN",c[c.ETHEREUM_SEPOLIA=11155111]="ETHEREUM_SEPOLIA",c[c.MATIC_MAINNET=137]="MATIC_MAINNET",c[c.MATIC_MUMBAI=80001]="MATIC_MUMBAI",c[c.MATIC_AMOY=80002]="MATIC_AMOY",c[c.BSC_MAINNET=56]="BSC_MAINNET",c[c.OPTIMISM_MAINNET=10]="OPTIMISM_MAINNET",c[c.ARBITRUM_MAINNET=42161]="ARBITRUM_MAINNET",c[c.FANTOM_MAINNET=250]="FANTOM_MAINNET",c[c.AVALANCHE_MAINNET=43114]="AVALANCHE_MAINNET"})(i=e.ChainId||(e.ChainId={}));function o(c){switch(c){case i.ETHEREUM_MAINNET:return r.ChainName.ETHEREUM_MAINNET;case i.ETHEREUM_ROPSTEN:return r.ChainName.ETHEREUM_ROPSTEN;case i.ETHEREUM_RINKEBY:return r.ChainName.ETHEREUM_RINKEBY;case i.ETHEREUM_GOERLI:return r.ChainName.ETHEREUM_GOERLI;case i.ETHEREUM_KOVAN:return r.ChainName.ETHEREUM_KOVAN;case i.ETHEREUM_SEPOLIA:return r.ChainName.ETHEREUM_SEPOLIA;case i.MATIC_MAINNET:return r.ChainName.MATIC_MAINNET;case i.MATIC_MUMBAI:return r.ChainName.MATIC_MUMBAI;case i.MATIC_AMOY:return r.ChainName.MATIC_AMOY;case i.BSC_MAINNET:return r.ChainName.BINANCE_MAINNET;case i.ARBITRUM_MAINNET:return r.ChainName.ARBITRUM_MAINNET;case i.OPTIMISM_MAINNET:return r.ChainName.OPTIMISM_MAINNET;case i.FANTOM_MAINNET:return r.ChainName.FANTOM_MAINNET;case i.AVALANCHE_MAINNET:return r.ChainName.AVALANCHE_MAINNET;default:return null}}e.getChainName=o;function a(c){switch(c){case i.ETHEREUM_MAINNET:return"ethereum";case i.ETHEREUM_ROPSTEN:return"ropsten";case i.ETHEREUM_RINKEBY:return"rinkeby";case i.ETHEREUM_GOERLI:return"goerli";case i.ETHEREUM_KOVAN:return"kovan";case i.ETHEREUM_SEPOLIA:return"sepolia";case i.MATIC_MAINNET:return"matic";case i.MATIC_MUMBAI:return"mumbai";case i.MATIC_AMOY:return"amoy";default:return""}}e.getURNProtocol=a;function s(c){const d={[n.Network.BSC]:i.BSC_MAINNET,[n.Network.OPTIMISM]:i.OPTIMISM_MAINNET,[n.Network.ARBITRUM]:i.ARBITRUM_MAINNET,[n.Network.FANTOM]:i.FANTOM_MAINNET,[n.Network.AVALANCHE]:i.AVALANCHE_MAINNET};switch(c){case i.ETHEREUM_MAINNET:return Object.assign({[n.Network.ETHEREUM]:i.ETHEREUM_MAINNET,[n.Network.MATIC]:i.MATIC_MAINNET},d);case i.ETHEREUM_ROPSTEN:return Object.assign({[n.Network.ETHEREUM]:i.ETHEREUM_ROPSTEN,[n.Network.MATIC]:i.MATIC_MUMBAI},d);case i.ETHEREUM_RINKEBY:return Object.assign({[n.Network.ETHEREUM]:i.ETHEREUM_RINKEBY,[n.Network.MATIC]:i.MATIC_MUMBAI},d);case i.ETHEREUM_GOERLI:return Object.assign({[n.Network.ETHEREUM]:i.ETHEREUM_GOERLI,[n.Network.MATIC]:i.MATIC_MUMBAI},d);case i.ETHEREUM_KOVAN:return Object.assign({[n.Network.ETHEREUM]:i.ETHEREUM_KOVAN,[n.Network.MATIC]:i.MATIC_MUMBAI},d);case i.ETHEREUM_SEPOLIA:return Object.assign({[n.Network.ETHEREUM]:i.ETHEREUM_SEPOLIA,[n.Network.MATIC]:i.MATIC_AMOY},d);case i.MATIC_MAINNET:return Object.assign({[n.Network.ETHEREUM]:i.MATIC_MAINNET,[n.Network.MATIC]:i.MATIC_MAINNET},d);case i.MATIC_MUMBAI:return Object.assign({[n.Network.ETHEREUM]:i.MATIC_MUMBAI,[n.Network.MATIC]:i.MATIC_MUMBAI},d);case i.MATIC_AMOY:return Object.assign({[n.Network.ETHEREUM]:i.MATIC_AMOY,[n.Network.MATIC]:i.MATIC_AMOY},d);default:return Object.assign({[n.Network.ETHEREUM]:i.ETHEREUM_MAINNET,[n.Network.MATIC]:i.MATIC_MAINNET},d)}}e.getNetworkMapping=s;function l(c){switch(c){case i.ETHEREUM_MAINNET:case i.ETHEREUM_ROPSTEN:case i.ETHEREUM_GOERLI:case i.ETHEREUM_KOVAN:case i.ETHEREUM_RINKEBY:case i.ETHEREUM_SEPOLIA:return n.Network.ETHEREUM;case i.MATIC_MAINNET:case i.MATIC_MUMBAI:case i.MATIC_AMOY:return n.Network.MATIC;case i.BSC_MAINNET:return n.Network.BSC;case i.OPTIMISM_MAINNET:return n.Network.OPTIMISM;case i.ARBITRUM_MAINNET:return n.Network.ARBITRUM;case i.FANTOM_MAINNET:return n.Network.FANTOM;case i.AVALANCHE_MAINNET:return n.Network.AVALANCHE}}e.getNetwork=l,function(c){c.schema={type:"number",enum:Object.values(c)},c.validate=(0,t.generateLazyValidator)(c.schema)}(i=e.ChainId||(e.ChainId={}))}(EE)),EE}var Mr=qs(),$r={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ProviderType=void 0;const t=ct;(function(r){r.INJECTED="injected",r.MAGIC="magic",r.MAGIC_TEST="magic_test",r.FORTMATIC="formatic",r.NETWORK="network",r.WALLET_CONNECT="wallet_connect",r.WALLET_CONNECT_V2="wallet_connect_v2",r.WALLET_LINK="wallet_link",r.METAMASK_MOBILE="metamask_mobile",r.AUTH_SERVER="auth_server"})(e.ProviderType||(e.ProviderType={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.ProviderType||(e.ProviderType={}))})($r);var su;(function(e){e.Update="Web3ReactUpdate",e.Error="Web3ReactError",e.Deactivate="Web3ReactDeactivate"})(su||(su={}));function no(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}var UIe=no;no.EventEmitter=no;no.prototype._events=void 0;no.prototype._maxListeners=void 0;no.defaultMaxListeners=10;no.prototype.setMaxListeners=function(e){if(!$Ie(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this};no.prototype.emit=function(e){var t,r,n,i,o,a;if(this._events||(this._events={}),e==="error"&&(!this._events.error||by(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var s=new Error('Uncaught, unspecified "error" event. ('+t+")");throw s.context=t,s}if(r=this._events[e],Yee(r))return!1;if(Fu(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:i=Array.prototype.slice.call(arguments,1),r.apply(this,i)}else if(by(r))for(i=Array.prototype.slice.call(arguments,1),a=r.slice(),n=a.length,o=0;o<n;o++)a[o].apply(this,i);return!0};no.prototype.addListener=function(e,t){var r;if(!Fu(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,Fu(t.listener)?t.listener:t),this._events[e]?by(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,by(this._events[e])&&!this._events[e].warned&&(Yee(this._maxListeners)?r=no.defaultMaxListeners:r=this._maxListeners,r&&r>0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),typeof console.trace=="function"&&console.trace())),this};no.prototype.on=no.prototype.addListener;no.prototype.once=function(e,t){if(!Fu(t))throw TypeError("listener must be a function");var r=!1;function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}return n.listener=t,this.on(e,n),this};no.prototype.removeListener=function(e,t){var r,n,i,o;if(!Fu(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],i=r.length,n=-1,r===t||Fu(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(by(r)){for(o=i;o-- >0;)if(r[o]===t||r[o].listener&&r[o].listener===t){n=o;break}if(n<0)return this;r.length===1?(r.length=0,delete this._events[e]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this};no.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[e]&&delete this._events[e],this;if(arguments.length===0){for(t in this._events)t!=="removeListener"&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],Fu(r))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this};no.prototype.listeners=function(e){var t;return!this._events||!this._events[e]?t=[]:Fu(this._events[e])?t=[this._events[e]]:t=this._events[e].slice(),t};no.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(Fu(t))return 1;if(t)return t.length}return 0};no.listenerCount=function(e,t){return e.listenerCount(t)};function Fu(e){return typeof e=="function"}function $Ie(e){return typeof e=="number"}function by(e){return typeof e=="object"&&e!==null}function Yee(e){return e===void 0}function HIe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var cp=function(e){HIe(t,e);function t(n){var i,o=n===void 0?{}:n,a=o.supportedChainIds;return i=e.call(this)||this,i.supportedChainIds=a,i}var r=t.prototype;return r.emitUpdate=function(i){this.emit(su.Update,i)},r.emitError=function(i){this.emit(su.Error,i)},r.emitDeactivate=function(){this.emit(su.Deactivate)},t}(UIe.EventEmitter),yu={},Zee={},Jee={},Xee={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SceneUpdate=e.SCENE_UPDATE=void 0;const t=ct;e.SCENE_UPDATE="SCENE_UPDATE",function(r){r.schema={type:"object",properties:{type:{type:"string",enum:[e.SCENE_UPDATE]},payload:{type:"object",properties:{sceneId:{type:"string"},sceneType:{type:"string"}},additionalProperties:!1,required:["sceneId","sceneType"]}},required:["payload","type"]},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.SceneUpdate||(e.SceneUpdate={}))})(Xee);var Qee={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Update=e.UPDATE=void 0;const t=ct;e.UPDATE="update",function(r){r.schema={type:"object",properties:{type:{type:"string",enum:[e.UPDATE]}},required:["type"]},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.Update||(e.Update={}))})(Qee);(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(Xee,e),r(Qee,e)})(Jee);var ete={},tte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ProjectType=void 0;const t=ct;(function(r){r.SCENE="scene",r.SMART_ITEM="smart-item",r.PORTABLE_EXPERIENCE="portable-experience",r.LIBRARY="library"})(e.ProjectType||(e.ProjectType={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.ProjectType||(e.ProjectType={}))})(tte);var rte={},p3={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Rarity=void 0;const t=ct;(function(r){r.UNIQUE="unique",r.MYTHIC="mythic",r.EXOTIC="exotic",r.LEGENDARY="legendary",r.EPIC="epic",r.RARE="rare",r.UNCOMMON="uncommon",r.COMMON="common"})(e.Rarity||(e.Rarity={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema);const n={[r.UNIQUE]:1,[r.MYTHIC]:10,[r.EXOTIC]:50,[r.LEGENDARY]:100,[r.EPIC]:1e3,[r.RARE]:5e3,[r.UNCOMMON]:1e4,[r.COMMON]:1e5},i={[r.UNIQUE]:"#FFE617",[r.MYTHIC]:"#FB7DE3",[r.EXOTIC]:"#E4FFB8",[r.LEGENDARY]:"#A657ED",[r.EPIC]:"#6397F2",[r.RARE]:"#3AD682",[r.UNCOMMON]:"#FF8563",[r.COMMON]:"#D4E0E0"},o={[r.UNIQUE]:"#FFB626",[r.MYTHIC]:"#FF63E1",[r.EXOTIC]:"#CAFF73",[r.LEGENDARY]:"#842DDA",[r.EPIC]:"#3D85E6",[r.RARE]:"#36CF75",[r.UNCOMMON]:"#ED6D4F",[r.COMMON]:"#ABC1C1"};function a(d){return n[d]}r.getMaxSupply=a;function s(d){return o[d]}r.getColor=s;function l(){return[r.UNIQUE,r.MYTHIC,r.EXOTIC,r.LEGENDARY,r.EPIC,r.RARE,r.UNCOMMON,r.COMMON]}r.getRarities=l;function c(d){return[i[d],o[d]]}r.getGradient=c}(e.Rarity||(e.Rarity={}))})(p3);var Tf={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.WearableCategory=void 0;const t=ct;(function(r){r.EYEBROWS="eyebrows",r.EYES="eyes",r.FACIAL_HAIR="facial_hair",r.HAIR="hair",r.BODY_SHAPE="body_shape",r.MOUTH="mouth",r.UPPER_BODY="upper_body",r.LOWER_BODY="lower_body",r.FEET="feet",r.EARRING="earring",r.EYEWEAR="eyewear",r.HAT="hat",r.HELMET="helmet",r.MASK="mask",r.TIARA="tiara",r.TOP_HEAD="top_head",r.SKIN="skin",r.HANDS_WEAR="hands_wear"})(e.WearableCategory||(e.WearableCategory={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.WearableCategory||(e.WearableCategory={}))})(Tf);var J8={},X8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.BodyShape=void 0;const t=ct;(function(r){r.MALE="urn:decentraland:off-chain:base-avatars:BaseMale",r.FEMALE="urn:decentraland:off-chain:base-avatars:BaseFemale"})(e.BodyShape||(e.BodyShape={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.BodyShape||(e.BodyShape={}))})(X8);var Q8={},UP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.BodyPartCategory=void 0;const t=ct;(function(r){r.HEAD="head",r.HANDS="hands"})(e.BodyPartCategory||(e.BodyPartCategory={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.BodyPartCategory||(e.BodyPartCategory={}))})(UP);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.HideableWearableCategory=void 0;const t=Tf,r=ct,n=UP;(function(i){i.schema={oneOf:[Object.assign({},t.WearableCategory.schema),Object.assign({},n.BodyPartCategory.schema)]},i.validate=(0,r.generateLazyValidator)(i.schema)})(e.HideableWearableCategory||(e.HideableWearableCategory={}))})(Q8);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.WearableRepresentation=void 0;const t=ct,r=X8,n=Q8;(function(i){i.schema={type:"object",properties:{bodyShapes:{type:"array",items:r.BodyShape.schema,minItems:1,uniqueItems:!0},mainFile:{type:"string",minLength:1},contents:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0,contains:{const:{$data:"2/mainFile"}}},overrideHides:{type:"array",items:n.HideableWearableCategory.schema},overrideReplaces:{type:"array",items:n.HideableWearableCategory.schema}},required:["bodyShapes","mainFile","contents","overrideHides","overrideReplaces"]},i.validate=(0,t.generateLazyValidator)(i.schema)})(e.WearableRepresentation||(e.WearableRepresentation={}))})(J8);var e7={},nte={},$P={},Mf={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.IPFSv1=e.IPFSv2=e.EthAddress=e.Color3=void 0;const t=ct;(function(r){r.schema={type:"object",required:["r","g","b"],properties:{r:{type:"number",minimum:0,maximum:1},g:{type:"number",minimum:0,maximum:1},b:{type:"number",minimum:0,maximum:1}}};const n=(0,t.generateLazyValidator)(r.schema);r.validate=i=>n(i)})(e.Color3||(e.Color3={})),function(r){r.schema={type:"string",pattern:"^0x[a-fA-F0-9]{40}$"};const n=new RegExp(r.schema.pattern);r.validate=i=>n.test(i)}(e.EthAddress||(e.EthAddress={})),function(r){r.schema={type:"string",pattern:"^(ba)[a-zA-Z0-9]{57}$"};const n=new RegExp(r.schema.pattern);r.validate=i=>n.test(i)}(e.IPFSv2||(e.IPFSv2={})),function(r){r.schema={type:"string",pattern:"^(Qm)[a-zA-Z0-9]{44}$"};const n=new RegExp(r.schema.pattern);r.validate=i=>n.test(i)}(e.IPFSv1||(e.IPFSv1={}))})(Mf);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Avatar=e.Link=e.LinkUrl=e.AvatarInfo=e.Snapshots=void 0;const t=Tf,r=Mf,n=ct;var i;(function(l){l.schema={type:"object",required:["face256","body"],properties:{face256:r.IPFSv2.schema,body:r.IPFSv2.schema}},l.validate=(0,n.generateLazyValidator)(l.schema)})(i=e.Snapshots||(e.Snapshots={}));var o;(function(l){l.schema={type:"object",required:["bodyShape","eyes","hair","skin"],properties:{bodyShape:{type:"string"},eyes:{type:"object",required:["color"],properties:{color:r.Color3.schema}},hair:{type:"object",required:["color"],properties:{color:r.Color3.schema}},skin:{type:"object",required:["color"],properties:{color:r.Color3.schema}},wearables:{type:"array",items:{type:"string"}},forceRender:{type:"array",nullable:!0,items:t.WearableCategory.schema},emotes:{type:"array",items:{type:"object",properties:{slot:{type:"number"},urn:{type:"string"}},required:["slot","urn"]},nullable:!0},snapshots:i.schema},additionalProperties:!0},l.validate=(0,n.generateLazyValidator)(l.schema)})(o=e.AvatarInfo||(e.AvatarInfo={}));var a;(function(l){l.schema={type:"string",maxLength:2083,pattern:"^(?:https?):\\/\\/[^\\s/$.?#].[^\\s]*$"};const c=new RegExp(l.schema.pattern,"i");l.validate=d=>c.test(d)})(a=e.LinkUrl||(e.LinkUrl={}));var s;(function(l){l.schema={type:"object",required:["title","url"],properties:{title:{type:"string"},url:a.schema}}})(s=e.Link||(e.Link={})),function(l){l.schema={type:"object",required:["name","description","ethAddress","version","tutorialStep","avatar","hasClaimedName"],properties:{userId:{type:"string"},name:{type:"string"},description:{type:"string"},links:{type:"array",maxItems:5,items:s.schema,nullable:!0},country:{nullable:!0,type:"string"},employmentStatus:{nullable:!0,type:"string"},gender:{nullable:!0,type:"string"},pronouns:{nullable:!0,type:"string"},relationshipStatus:{nullable:!0,type:"string"},sexualOrientation:{nullable:!0,type:"string"},language:{nullable:!0,type:"string"},profession:{nullable:!0,type:"string"},birthdate:{nullable:!0,type:"number"},realName:{nullable:!0,type:"string"},hobbies:{nullable:!0,type:"string"},ethAddress:r.EthAddress.schema,version:{type:"number"},tutorialStep:{type:"number"},email:{type:"string",nullable:!0},blocked:{type:"array",items:{type:"string"},nullable:!0},muted:{type:"array",items:{type:"string"},nullable:!0},interests:{type:"array",items:{type:"string"},nullable:!0},hasClaimedName:{type:"boolean"},hasConnectedWeb3:{type:"boolean",nullable:!0},avatar:o.schema},additionalProperties:!0},l.validate=(0,n.generateLazyValidator)(l.schema)}(e.Avatar||(e.Avatar={}))})($P);var ite={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Profile=void 0;const t=ct,r=$P;(function(n){n.schema={type:"object",required:["avatars"],properties:{avatars:{type:"array",items:r.Avatar.schema}},additionalProperties:!0},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.Profile||(e.Profile={}))})(ite);(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r($P,e),r(ite,e)})(nte);var ote={},HP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.FeatureToggles=e.portableExperiencesToggles=e.toggles=void 0;const t=ct;e.toggles=["enabled","disabled"],e.portableExperiencesToggles=[...e.toggles,"hideUi"],function(r){r.schema={type:"object",properties:{voiceChat:{type:"string",enum:e.toggles,nullable:!0},portableExperiences:{type:"string",enum:e.portableExperiencesToggles,nullable:!0,errorMessage:`valid options are ${e.portableExperiencesToggles.join(", ")}`}},errorMessage:`valid options are ${e.toggles.join(", ")}`,required:[]},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.FeatureToggles||(e.FeatureToggles={}))})(HP);var VP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.WorldConfiguration=void 0;const t=ct;(function(r){r.schema={type:"object",properties:{name:{type:"string",nullable:!0},skybox:{type:"number",nullable:!0},minimapVisible:{type:"boolean",nullable:!0},miniMapConfig:{type:"object",nullable:!0,properties:{visible:{type:"boolean",nullable:!0},dataImage:{type:"string",nullable:!0},estateImage:{type:"string",nullable:!0}}},skyboxConfig:{type:"object",nullable:!0,properties:{fixedTime:{type:"number",nullable:!0},textures:{type:"array",nullable:!0,items:{type:"string"},oneOf:[{minItems:0,maxItems:0},{minItems:1,maxItems:1},{minItems:6,maxItems:6}],errorMessage:"customSkybox must be an array of 0, 1 or 6 strings"}}},fixedAdapter:{type:"string",nullable:!0},placesConfig:{type:"object",nullable:!0,properties:{optOut:{type:"boolean",nullable:!0}}}},required:[]},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.WorldConfiguration||(e.WorldConfiguration={}))})(VP);var zP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SceneParcels=void 0;const t=ct;(function(r){r.schema={description:'Describes a scene, a set of parcels whose content is treated as the same entity. A list of parcels is listed, for which one of them is considered the "base" for positioning purposes.',type:"object",properties:{base:{type:"string",pattern:"^-?[0-9]+,-?[0-9]+$"},parcels:{type:"array",items:{type:"string",pattern:"^-?[0-9]+,-?[0-9]+$"},minItems:1}},additionalProperties:!0,required:["base","parcels"]},r.schemaValidator=(0,t.generateLazyValidator)(r.schema),r.validate=n=>r.schemaValidator(n)&&n.parcels.includes(n.base)})(e.SceneParcels||(e.SceneParcels={}))})(zP);var ate={},wm={};Object.defineProperty(wm,"__esModule",{value:!0});wm.displayableProperties=void 0;wm.displayableProperties={menuBarIcon:{description:"Name of the file used as icon for the MenuBar",type:"string",nullable:!0}};var qP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Source=void 0;const t=ct;(function(r){r.schema={type:"object",properties:{version:{type:"number",nullable:!0},origin:{type:"string"},projectId:{type:"string"},point:{type:"object",properties:{x:{type:"integer"},y:{type:"integer"}},nullable:!0,required:["x","y"]},rotation:{type:"string",enum:["north","east","south","west"],nullable:!0},layout:{type:"object",properties:{rows:{type:"integer"},cols:{type:"integer"}},nullable:!0,required:["rows","cols"]},isEmpty:{type:"boolean",nullable:!0}},additionalProperties:!0,required:["origin","projectId"]},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.Source||(e.Source={}))})(qP);var WP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SpawnPoint=void 0;const t=ct;(function(r){r.schema={type:"object",properties:{name:{type:"string",nullable:!0},position:{type:"object",oneOf:[{$ref:"#single-position"},{$ref:"#multi-position"}],required:["x","y","z"]},default:{type:"boolean",nullable:!0},cameraTarget:{type:"object",properties:{x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y","z"],nullable:!0}},required:["position"],definitions:{"single-position":{$id:"#single-position",type:"object",properties:{x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y","z"]},"multi-position":{$id:"#multi-position",type:"object",properties:{x:{type:"array",items:{type:"number"},minItems:1},y:{type:"array",items:{type:"number"},minItems:1},z:{type:"array",items:{type:"number"},minItems:1}},required:["x","y","z"]}}},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.SpawnPoint||(e.SpawnPoint={}))})(WP);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Scene=e.RequiredPermission=void 0;const t=ct,r=wm,n=HP,i=zP,o=qP,a=WP,s=VP;var l;(function(c){c.ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE="ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE",c.ALLOW_TO_TRIGGER_AVATAR_EMOTE="ALLOW_TO_TRIGGER_AVATAR_EMOTE",c.ALLOW_MEDIA_HOSTNAMES="ALLOW_MEDIA_HOSTNAMES",c.USE_WEB3_API="USE_WEB3_API",c.USE_FETCH="USE_FETCH",c.USE_WEBSOCKET="USE_WEBSOCKET",c.OPEN_EXTERNAL_LINK="OPEN_EXTERNAL_LINK"})(l=e.RequiredPermission||(e.RequiredPermission={})),function(c){c.schema={type:"object",properties:Object.assign(Object.assign({isPortableExperience:{description:"Define the current scene as a Portable Experience",type:"boolean",nullable:!0},main:{description:"File that contains the entry point of the scene's code",type:"string",minLength:1},scene:i.SceneParcels.schema},r.displayableProperties),{display:{description:"Information related to how should this land be displayed apart from the normal rendering of the scene",type:"object",properties:{title:{description:"A name so other users can identify what the contents of this land should be",type:"string",nullable:!0},favicon:{description:"DEPRECATED. Allow the land owner to set up a favicon to this land",type:"string",nullable:!0},description:{description:"A description that will be shown on client's nav map when the scene is selected",type:"string",nullable:!0},navmapThumbnail:{type:"string",nullable:!0}},nullable:!0,required:[]},owner:{type:"string",nullable:!0},contact:{description:"Describe different ways of contacting the land owner",type:"object",properties:{name:{type:"string",nullable:!0},email:{type:"string",nullable:!0},im:{type:"string",nullable:!0},url:{type:"string",nullable:!0}},nullable:!0,required:[]},tags:{type:"array",items:{type:"string",minLength:1},nullable:!0},source:Object.assign(Object.assign({},o.Source.schema),{nullable:!0}),spawnPoints:{type:"array",items:a.SpawnPoint.schema,nullable:!0},requiredPermissions:{type:"array",items:{type:"string",enum:Object.values(l)},uniqueItems:!0,nullable:!0},featureToggles:Object.assign(Object.assign({},n.FeatureToggles.schema),{nullable:!0}),worldConfiguration:Object.assign(Object.assign({},s.WorldConfiguration.schema),{nullable:!0}),allowedMediaHostnames:{type:"array",items:{type:"string"},nullable:!0}}),additionalProperties:!0,required:["main","scene"],dependencies:{requiredPermissions:{if:{properties:{requiredPermissions:{type:"array",contains:{const:l.ALLOW_MEDIA_HOSTNAMES}}}},then:{properties:{allowedMediaHostnames:{type:"array",items:{type:"string"},nullable:!1,minItems:1}},required:["allowedMediaHostnames"]},else:{properties:{allowedMediaHostnames:{type:["null","array"],nullable:!0,maxItems:0}}}}}},c.validate=(0,t.generateLazyValidator)(c.schema)}(e.Scene||(e.Scene={}))})(ate);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SpawnPoint=e.Source=e.RequiredPermission=e.Scene=e.SceneParcels=e.WorldConfiguration=e.FeatureToggles=void 0;var t=HP;Object.defineProperty(e,"FeatureToggles",{enumerable:!0,get:function(){return t.FeatureToggles}});var r=VP;Object.defineProperty(e,"WorldConfiguration",{enumerable:!0,get:function(){return r.WorldConfiguration}});var n=zP;Object.defineProperty(e,"SceneParcels",{enumerable:!0,get:function(){return n.SceneParcels}});var i=ate;Object.defineProperty(e,"Scene",{enumerable:!0,get:function(){return i.Scene}}),Object.defineProperty(e,"RequiredPermission",{enumerable:!0,get:function(){return i.RequiredPermission}});var o=qP;Object.defineProperty(e,"Source",{enumerable:!0,get:function(){return o.Source}});var a=WP;Object.defineProperty(e,"SpawnPoint",{enumerable:!0,get:function(){return a.SpawnPoint}})})(ote);var ME={},GP={},KP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Locale=void 0;const t=ct;(function(r){r.EN="en",r.ES="es"})(e.Locale||(e.Locale={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.Locale||(e.Locale={}))})(KP);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.I18N=void 0;const t=ct,r=KP;(function(n){n.schema={type:"object",properties:{code:r.Locale.schema,text:{type:"string"}},additionalProperties:!0,required:["code","text"]},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.I18N||(e.I18N={}))})(GP);var YP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Metrics=void 0;const t=ct;(function(r){r.schema={type:"object",properties:{triangles:{type:"number"},materials:{type:"number"},textures:{type:"number"},meshes:{type:"number"},bodies:{type:"number"},entities:{type:"number"}},required:["triangles","materials","textures","meshes","bodies","entities"]},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.Metrics||(e.Metrics={}))})(YP);var t7={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isStandard=e.standardProperties=void 0;const t=p3,r=ct;e.standardProperties={collectionAddress:{type:"string",nullable:!1},rarity:t.Rarity.schema};const n={type:"object",properties:Object.assign({},e.standardProperties),required:["collectionAddress","rarity"]},i=(0,r.generateLazyValidator)(n);function o(a){return i(a)}e.isStandard=o})(t7);var r7={},ZP={},ste={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.MerkleProof=void 0;const t=ct;(function(r){r.schema={type:"object",properties:{proof:{type:"array",items:{type:"string"}},index:{type:"number"},hashingKeys:{type:"array",items:{type:"string"}},entityHash:{type:"string"}},required:["entityHash","hashingKeys","index","proof"],additionalProperties:!0},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.MerkleProof||(e.MerkleProof={}))})(ste);(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(ste,e)})(ZP);var n7={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.createMappingsHelper=e.AddMappingError=e.Mappings=e.Mapping=e.MultipleMapping=e.RangeMapping=e.AnyMapping=e.SingleMapping=e.ContractNetwork=e.MappingType=void 0;const t=ct;var r;(function(f){f.SINGLE="single",f.ANY="any",f.MULTIPLE="multiple",f.RANGE="range"})(r=e.MappingType||(e.MappingType={}));var n;(function(f){f.MAINNET="mainnet",f.MATIC="matic",f.SEPOLIA="sepolia",f.AMOY="amoy"})(n=e.ContractNetwork||(e.ContractNetwork={}));var i;(function(f){f.schema={type:"object",properties:{type:{type:"string",const:r.SINGLE},id:{type:"string",pattern:"^[0-9]+$"}},required:["type","id"],additionalProperties:!1},f.validate=(0,t.generateLazyValidator)(f.schema)})(i=e.SingleMapping||(e.SingleMapping={}));var o;(function(f){f.schema={type:"object",properties:{type:{type:"string",const:r.ANY}},required:["type"],additionalProperties:!1},f.validate=(0,t.generateLazyValidator)(f.schema)})(o=e.AnyMapping||(e.AnyMapping={}));var a;(function(f){f._fromLessThanOrEqualTo={keyword:"_fromLessThanOrEqualTo",validate:function(m,v){if(!v||!v.from||!v.to)return!1;let{to:g,from:b}=v;return(typeof b!="bigint"||typeof g!="bigint")&&(b=BigInt(b),g=BigInt(g)),b<=g},errors:!1},f.schema={type:"object",properties:{type:{type:"string",const:r.RANGE},from:{type:"string",pattern:"^[0-9]+$"},to:{type:"string",pattern:"^[0-9]+$"}},required:["type","from","to"],additionalProperties:!1,_fromLessThanOrEqualTo:!0},f.validate=(0,t.generateLazyValidator)(f.schema,[f._fromLessThanOrEqualTo])})(a=e.RangeMapping||(e.RangeMapping={}));var s;(function(f){f.schema={type:"object",properties:{type:{type:"string",const:r.MULTIPLE},ids:{type:"array",items:{type:"string",pattern:"^[0-9]+$"},minItems:1,uniqueItems:!0}},required:["type","ids"],additionalProperties:!1},f.validate=(0,t.generateLazyValidator)(f.schema)})(s=e.MultipleMapping||(e.MultipleMapping={}));var l;(function(f){f.schema={type:"object",properties:{type:{type:"string",enum:Object.values(r)}},required:["type"],oneOf:[i.schema,o.schema,a.schema,s.schema]},f.validate=(0,t.generateLazyValidator)(f.schema,[a._fromLessThanOrEqualTo])})(l=e.Mapping||(e.Mapping={})),function(f){f._isMappingsValid={keyword:"_isMappingsValid",validate:function(m,v){try{d(v)}catch{return!1}return!0},errors:!1},f.innerSchema={type:"object",patternProperties:{"^0x[0-9a-fA-F]{40}$":{type:"array",items:l.schema}},minProperties:1,required:[],additionalProperties:!1};const p=Object.values(n).reduce((m,v)=>(m[v]=f.innerSchema,m),{});f.schema={type:"object",properties:p,minProperties:1,additionalProperties:!1,_isMappingsValid:!0},f.validate=(0,t.generateLazyValidator)(f.schema,[a._fromLessThanOrEqualTo,f._isMappingsValid])}(e.Mappings||(e.Mappings={}));class c extends Error{constructor(p,m,v){super(p),this.existingMapping=m,this.conflictingMapping=v}}e.AddMappingError=c;function d(f={}){const p={};for(const[R,S]of Object.entries(f)){p[R]={};for(const[I,U]of Object.entries(S))for(const D of U)w(R,I,D)}function m(){return JSON.parse(JSON.stringify(p))}function v(R,S,I){const U=BigInt(R);return U>=BigInt(S)&&U<=BigInt(I)}function g(R,S){switch(S.type){case r.SINGLE:return R.id===S.id;case r.MULTIPLE:return S.ids.includes(R.id);case r.RANGE:return v(R.id,S.from,S.to);default:return!1}}function b(R,S){switch(S.type){case r.SINGLE:return R.ids.includes(S.id);case r.MULTIPLE:return R.ids.some(I=>S.ids.includes(I));case r.RANGE:return R.ids.some(I=>v(I,S.from,S.to));default:return!1}}function h(R,S){switch(S.type){case r.SINGLE:return v(S.id,R.from,R.to);case r.MULTIPLE:return S.ids.some(I=>v(I,R.from,R.to));case r.RANGE:return BigInt(R.from)<=BigInt(S.to)&&BigInt(R.to)>=BigInt(S.from)}}function y(R,S){if(R.type===r.ANY||S.type===r.ANY)return!0;switch(R.type){case r.SINGLE:return g(R,S);case r.MULTIPLE:return b(R,S);case r.RANGE:return h(R,S)}}function w(R,S,I){var U,D;const q=S.toLowerCase();p[R]=(U=p[R])!==null&&U!==void 0?U:{},p[R][q]=(D=p[R][q])!==null&&D!==void 0?D:[];for(const W of p[R][q])if(y(W,I))throw new c(`Cannot add mapping to contract ${q} on network ${R} because it overlaps with existing mapping`,W,I);p[R][q].push(I)}function T(R,S,I){var U;return!((U=p[R])===null||U===void 0)&&U[S]?p[R][S].some(D=>{switch(D.type){case r.SINGLE:return D.id===I;case r.ANY:return!0;case r.MULTIPLE:return D.ids.includes(I);case r.RANGE:return BigInt(I)>=BigInt(D.from)&&BigInt(I)<=BigInt(D.to)}}):!1}return{addMapping:w,getMappings:m,includesNft:T}}e.createMappingsHelper=d})(n7);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isThirdParty=e.schema=void 0;const t=ct,r=ZP,n=n7;e.schema={type:"object",properties:{merkleProof:r.MerkleProof.schema,content:{type:"object",nullable:!1,additionalProperties:{type:"string"},required:[]},mappings:Object.assign({nullable:!0},n.Mappings.schema)},required:["merkleProof","content"],_containsHashingKeys:!0};const i={keyword:"_containsHashingKeys",validate:function(s,l){var c;const d=l;return!((c=d==null?void 0:d.merkleProof)===null||c===void 0)&&c.hashingKeys?d.merkleProof.hashingKeys.every(f=>d.hasOwnProperty(f)):!1},errors:!1},o=(0,t.generateLazyValidator)(e.schema,[i,n.RangeMapping._fromLessThanOrEqualTo,n.Mappings._isMappingsValid]);function a(s){return o(s)}e.isThirdParty=a})(r7);var lte={},cte={},wl={};Object.defineProperty(wl,"__esModule",{value:!0});wl.isBaseEmote=wl.isBaseAvatar=wl.requiredBaseItemProps=wl.baseItemProperties=void 0;const VIe=GP,zIe=YP,qIe=wm;wl.baseItemProperties=Object.assign(Object.assign({},qIe.displayableProperties),{id:{type:"string"},name:{type:"string"},description:{type:"string"},i18n:{type:"array",items:VIe.I18N.schema,minItems:1,uniqueItemProperties:["code"],errorMessage:'${0#} array should not have duplicates for "code"'},thumbnail:{type:"string"},image:{type:"string"},metrics:Object.assign(Object.assign({},zIe.Metrics.schema),{nullable:!0})});wl.requiredBaseItemProps=["id","name","description","i18n","thumbnail","image"];function WIe(e){if(!e||!e.id)return!1;const t=e.id.split(":"),r=t[1]==="decentraland",n=t[3]==="base-avatars";return t.length===5&&r&&n}wl.isBaseAvatar=WIe;function GIe(e){if(!e||!e.id)return!1;const t=e.id.split(":");return t.length===5&&t[1]==="decentraland"&&t[3]==="base-emotes"}wl.isBaseEmote=GIe;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Wearable=void 0;const t=ct,r=Tf,n=J8,i=wl,o=t7,a=r7,s=Q8,l=n7;(function(c){c.schema={type:"object",properties:Object.assign(Object.assign(Object.assign(Object.assign({},i.baseItemProperties),o.standardProperties),a.schema.properties.thirdPartyProps),{data:{type:"object",properties:{replaces:{type:"array",items:s.HideableWearableCategory.schema},hides:{type:"array",items:s.HideableWearableCategory.schema},tags:{type:"array",items:{type:"string",minLength:1}},representations:{type:"array",items:n.WearableRepresentation.schema,minItems:1},category:r.WearableCategory.schema,removesDefaultHiding:{type:"array",nullable:!0,items:s.HideableWearableCategory.schema},blockVrmExport:{type:"boolean",nullable:!0},outlineCompatible:{type:"boolean",nullable:!0}},required:["replaces","hides","tags","representations","category"]}}),additionalProperties:!0,required:[],oneOf:[{required:["id","i18n"],prohibited:["merkleProof","content","collectionAddress","rarity","mappings"],_isBaseAvatar:!0},{required:[...i.requiredBaseItemProps,"data","collectionAddress","rarity"],prohibited:["merkleProof","content","mappings"]},{required:[...i.requiredBaseItemProps,"data","merkleProof","content"],prohibited:["collectionAddress","rarity"],_isThirdParty:!0}],errorMessage:{oneOf:"either standard XOR thirdparty properties conditions must be met"}};const d={keyword:"_isThirdParty",validate:(p,m)=>!p||(0,a.isThirdParty)(m),errors:!1},f={keyword:"_isBaseAvatar",validate:(p,m)=>!p||(0,i.isBaseAvatar)(m),errors:!1};c.validate=(0,t.generateLazyValidator)(c.schema,[d,f,l.RangeMapping._fromLessThanOrEqualTo,l.Mappings._isMappingsValid])})(e.Wearable||(e.Wearable={}))})(cte);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.HideableWearableCategory=e.BodyPartCategory=e.WearableCategory=e.Wearable=e.WearableRepresentation=void 0;var t=J8;Object.defineProperty(e,"WearableRepresentation",{enumerable:!0,get:function(){return t.WearableRepresentation}});var r=cte;Object.defineProperty(e,"Wearable",{enumerable:!0,get:function(){return r.Wearable}});var n=Tf;Object.defineProperty(e,"WearableCategory",{enumerable:!0,get:function(){return n.WearableCategory}});var i=UP;Object.defineProperty(e,"BodyPartCategory",{enumerable:!0,get:function(){return i.BodyPartCategory}});var o=Q8;Object.defineProperty(e,"HideableWearableCategory",{enumerable:!0,get:function(){return o.HideableWearableCategory}})})(lte);var RE={},IE={},JP={},XP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EmoteCategory=void 0;const t=ct;(function(r){r.DANCE="dance",r.STUNT="stunt",r.GREETINGS="greetings",r.FUN="fun",r.POSES="poses",r.REACTIONS="reactions",r.HORROR="horror",r.MISCELLANEOUS="miscellaneous"})(e.EmoteCategory||(e.EmoteCategory={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.EmoteCategory||(e.EmoteCategory={}))})(XP);var QP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EmoteRepresentationADR74=void 0;const t=ct,r=X8;(function(n){n.schema={type:"object",properties:{bodyShapes:{type:"array",items:r.BodyShape.schema,minItems:1,uniqueItems:!0},mainFile:{type:"string",minLength:1},contents:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0,contains:{const:{$data:"2/mainFile"}},errorMessage:{contains:"contents should contain mainFile: ${1/mainFile}"}}},required:["bodyShapes","mainFile","contents"]},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.EmoteRepresentationADR74||(e.EmoteRepresentationADR74={}))})(QP);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EmoteDataADR74=void 0;const t=XP,r=ct,n=QP;(function(i){i.schema={type:"object",properties:{tags:{type:"array",items:{type:"string",minLength:1}},representations:{type:"array",items:n.EmoteRepresentationADR74.schema,minItems:1},category:t.EmoteCategory.schema,loop:{type:"boolean"}},required:["category","tags","representations","loop"],additionalProperties:!0},i.validate=(0,r.generateLazyValidator)(i.schema)})(e.EmoteDataADR74||(e.EmoteDataADR74={}))})(JP);var C$;function KIe(){return C$||(C$=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Emote=void 0;const t=dte(),r=ct,n=wl,i=t7,o=r7,a=JP;(function(s){s.schema={type:"object",properties:Object.assign(Object.assign(Object.assign(Object.assign({},n.baseItemProperties),i.standardProperties),o.schema.properties),{emoteDataADR74:a.EmoteDataADR74.schema}),additionalProperties:!0,required:[...n.requiredBaseItemProps],oneOf:[{required:["emoteDataADR74"],oneOf:[{required:["id","i18n"],prohibited:["merkleProof","content","collectionAddress","rarity"],_isBaseEmote:!0},{required:["collectionAddress","rarity"],prohibited:["merkleProof","content"],errorMessage:"standard properties conditions are not met"},{required:["merkleProof","content","id","name","description","i18n","image","thumbnail","emoteDataADR74"],_isThirdParty:!0,prohibited:["collectionAddress","rarity"],errorMessage:"thirdparty properties conditions are not met"}],errorMessage:{oneOf:"emote should have either standard or thirdparty properties"}}],errorMessage:{oneOf:'emote should have "emoteDataADR74" and match its schema'}};const l={keyword:"_isThirdParty",validate:(d,f)=>!d||(0,t.isThirdParty)(f),errors:!1},c={keyword:"_isBaseEmote",validate:(d,f)=>!d||(0,n.isBaseEmote)(f),errors:!1};s.validate=(0,r.generateLazyValidator)(s.schema,[l,c,t.RangeMapping._fromLessThanOrEqualTo,t.Mappings._isMappingsValid])})(e.Emote||(e.Emote={}))}(IE)),IE}var ute={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EmotePlayMode=void 0;const t=ct;(function(r){r.SIMPLE="simple",r.LOOP="loop"})(e.EmotePlayMode||(e.EmotePlayMode={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.EmotePlayMode||(e.EmotePlayMode={}))})(ute);var S$;function YIe(){return S$||(S$=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EmotePlayMode=e.EmoteCategory=e.EmoteDataADR74=e.EmoteRepresentationADR74=e.Emote=void 0;var t=KIe();Object.defineProperty(e,"Emote",{enumerable:!0,get:function(){return t.Emote}});var r=QP;Object.defineProperty(e,"EmoteRepresentationADR74",{enumerable:!0,get:function(){return r.EmoteRepresentationADR74}});var n=JP;Object.defineProperty(e,"EmoteDataADR74",{enumerable:!0,get:function(){return n.EmoteDataADR74}});var i=XP;Object.defineProperty(e,"EmoteCategory",{enumerable:!0,get:function(){return i.EmoteCategory}});var o=ute;Object.defineProperty(e,"EmotePlayMode",{enumerable:!0,get:function(){return o.EmotePlayMode}})}(RE)),RE}var A$;function dte(){return A$||(A$=1,function(e){var t=X&&X.__createBinding||(Object.create?function(c,d,f,p){p===void 0&&(p=f);var m=Object.getOwnPropertyDescriptor(d,f);(!m||("get"in m?!d.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return d[f]}}),Object.defineProperty(c,p,m)}:function(c,d,f,p){p===void 0&&(p=f),c[p]=d[f]}),r=X&&X.__exportStar||function(c,d){for(var f in c)f!=="default"&&!Object.prototype.hasOwnProperty.call(d,f)&&t(d,c,f)};Object.defineProperty(e,"__esModule",{value:!0}),e.isThirdParty=e.isStandard=e.BodyShape=e.Metrics=e.Locale=e.I18N=void 0;var n=GP;Object.defineProperty(e,"I18N",{enumerable:!0,get:function(){return n.I18N}});var i=KP;Object.defineProperty(e,"Locale",{enumerable:!0,get:function(){return i.Locale}});var o=YP;Object.defineProperty(e,"Metrics",{enumerable:!0,get:function(){return o.Metrics}});var a=X8;Object.defineProperty(e,"BodyShape",{enumerable:!0,get:function(){return a.BodyShape}});var s=t7;Object.defineProperty(e,"isStandard",{enumerable:!0,get:function(){return s.isStandard}});var l=r7;Object.defineProperty(e,"isThirdParty",{enumerable:!0,get:function(){return l.isThirdParty}}),r(n7,e),r(lte,e),r(YIe(),e)}(ME)),ME}var fte={},h3={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.AuthChain=e.AuthLink=e.AuthLinkType=void 0;const t=ct;var r;(function(i){i.SIGNER="SIGNER",i.ECDSA_PERSONAL_EPHEMERAL="ECDSA_EPHEMERAL",i.ECDSA_PERSONAL_SIGNED_ENTITY="ECDSA_SIGNED_ENTITY",i.ECDSA_EIP_1654_EPHEMERAL="ECDSA_EIP_1654_EPHEMERAL",i.ECDSA_EIP_1654_SIGNED_ENTITY="ECDSA_EIP_1654_SIGNED_ENTITY"})(r=e.AuthLinkType||(e.AuthLinkType={}));var n;(function(i){i.schema={type:"object",properties:{type:{type:"string",enum:Object.values(r)},payload:{type:"string"},signature:{type:"string",nullable:!0}},required:["payload","type"],if:{properties:{type:{not:{const:r.SIGNER}}}},then:{required:["signature"]},else:{oneOf:[{properties:{signature:{type:"string",const:""}},required:["signature"]},{properties:{signature:{type:"null"}}}]}},i.validate=(0,t.generateLazyValidator)(i.schema)})(n=e.AuthLink||(e.AuthLink={})),function(i){i.schema={type:"array",items:n.schema,minItems:1},i.validate=(0,t.generateLazyValidator)(i.schema)}(e.AuthChain||(e.AuthChain={}))})(h3);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PointerChangesSyncDeployment=e.SnapshotSyncDeployment=void 0;const t=Mf,r=h3,n=ct;(function(i){i.schema={type:"object",properties:{entityId:{type:"string"},entityType:{type:"string"},pointers:{type:"array",items:{type:"string"},minItems:1},authChain:r.AuthChain.schema,entityTimestamp:{type:"number",minimum:0}},oneOf:[{properties:{entityId:t.IPFSv1.schema}},{properties:{entityId:t.IPFSv2.schema}}],required:["entityId","entityType","pointers","entityTimestamp","authChain"]},i.validate=(0,n.generateLazyValidator)(i.schema)})(e.SnapshotSyncDeployment||(e.SnapshotSyncDeployment={})),function(i){i.schema={type:"object",properties:{entityId:{type:"string"},entityType:{type:"string"},pointers:{type:"array",items:{type:"string"},minItems:1},authChain:r.AuthChain.schema,entityTimestamp:{type:"number",minimum:0},localTimestamp:{type:"number",minimum:0}},oneOf:[{properties:{entityId:t.IPFSv1.schema}},{properties:{entityId:t.IPFSv2.schema}}],required:["entityId","entityType","pointers","localTimestamp","entityTimestamp","authChain"]},i.validate=(0,n.generateLazyValidator)(i.schema)}(e.PointerChangesSyncDeployment||(e.PointerChangesSyncDeployment={}))})(fte);var eL={},tL={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ContentMapping=void 0;const t=Mf,r=ct;(function(n){n.schema={type:"object",properties:{file:{type:"string",minLength:1},hash:{type:"string",oneOf:[t.IPFSv1.schema,t.IPFSv2.schema]}},required:["file","hash"]},n.validate=(0,r.generateLazyValidator)(n.schema)})(e.ContentMapping||(e.ContentMapping={}))})(tL);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Entity=e.EntityType=void 0;const t=Mf,r=tL,n=ct;(function(i){i.SCENE="scene",i.PROFILE="profile",i.WEARABLE="wearable",i.STORE="store",i.EMOTE="emote",i.OUTFITS="outfits"})(e.EntityType||(e.EntityType={})),function(i){i.schema={type:"object",properties:{version:{type:"string",enum:["v3"]},id:{type:"string",oneOf:[t.IPFSv1.schema,t.IPFSv2.schema]},type:{type:"string"},pointers:{type:"array",items:{type:"string",minLength:1}},timestamp:{type:"number",minimum:0},content:{type:"array",items:r.ContentMapping.schema},metadata:{type:"object",nullable:!0}},required:["version","id","type","pointers","timestamp","content"]},i.validate=(0,n.generateLazyValidator)(i.schema)}(e.Entity||(e.Entity={}))})(eL);var pte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DeploymentWithAuthChain=void 0;const t=h3,r=ct;(function(n){n.schema={type:"object",properties:{entityId:{type:"string"},entityType:{type:"string"},pointers:{type:"array",items:{type:"string"},minItems:1},localTimestamp:{type:"number",minimum:0},authChain:t.AuthChain.schema},required:["entityId","entityType","pointers","localTimestamp","authChain"]},n.validate=(0,r.generateLazyValidator)(n.schema)})(e.DeploymentWithAuthChain||(e.DeploymentWithAuthChain={}))})(pte);var hte={},mte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Outfits=e.Outfit=void 0;const t=Tf,r=Mf,n=ct;var i;(function(o){o.schema={type:"object",required:["bodyShape","eyes","hair","skin","wearables"],properties:{bodyShape:{type:"string"},eyes:{type:"object",required:["color"],properties:{color:r.Color3.schema}},hair:{type:"object",required:["color"],properties:{color:r.Color3.schema}},skin:{type:"object",required:["color"],properties:{color:r.Color3.schema}},wearables:{type:"array",items:{type:"string"}},forceRender:{type:"array",nullable:!0,items:t.WearableCategory.schema}},additionalProperties:!0},o.validate=(0,n.generateLazyValidator)(o.schema)})(i=e.Outfit||(e.Outfit={})),function(o){o.schema={type:"object",required:["outfits","namesForExtraSlots"],properties:{outfits:{type:"array",items:{type:"object",required:["slot","outfit"],properties:{slot:{type:"number"},outfit:i.schema}}},namesForExtraSlots:{type:"array",uniqueItems:!0,items:{type:"string"}}},additionalProperties:!0},o.validate=(0,n.generateLazyValidator)(o.schema)}(e.Outfits||(e.Outfits={}))})(mte);(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(mte,e)})(hte);var gte={},rL={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.NotificationType=void 0,function(t){t.BADGE_GRANTED="badge_granted",t.BID_ACCEPTED="bid_accepted",t.BID_RECEIVED="bid_received",t.EVENTS_STARTED="events_started",t.EVENTS_STARTS_SOON="events_starts_soon",t.GOVERNANCE_ANNOUNCEMENT="governance_announcement",t.GOVERNANCE_AUTHORED_PROPOSAL_FINISHED="governance_authored_proposal_finished",t.GOVERNANCE_COAUTHOR_REQUESTED="governance_coauthor_requested",t.GOVERNANCE_CLIFF_ENDED="governance_cliff_ended",t.GOVERNANCE_NEW_COMMENT_ON_PROJECT_UPDATE="governance_new_comment_on_project_update",t.GOVERNANCE_NEW_COMMENT_ON_PROPOSAL="governance_new_comment_on_proposal",t.GOVERNANCE_PROPOSAL_ENACTED="governance_proposal_enacted",t.GOVERNANCE_VOTING_ENDED_VOTER="governance_voting_ended_voter",t.GOVERNANCE_PITCH_PASSED="governance_pitch_passed",t.GOVERNANCE_TENDER_PASSED="governance_tender_passed",t.GOVERNANCE_WHALE_VOTE="governance_whale_vote",t.GOVERNANCE_VOTED_ON_BEHALF="governance_voted_on_behalf",t.ITEM_SOLD="item_sold",t.ITEM_PUBLISHED="item_published",t.LAND_RENTAL_ENDED="rental_ended",t.LAND_RENTED="rental_started",t.REWARD_ASSIGNED="reward_assignment",t.REWARD_CAMPAIGN_OUT_OF_FUNDS="reward_campaign_out_of_funds",t.REWARD_CAMPAIGN_GAS_PRICE_HIGHER_THAN_EXPECTED="reward_campaign_gas_price_higher_than_expected",t.REWARD_CAMPAIGN_OUT_OF_STOCK="reward_campaign_out_of_stock",t.REWARD_DELAYED="reward_delayed",t.REWARD_IN_PROGRESS="reward_in_progress",t.ROYALTIES_EARNED="royalties_earned",t.SOCIAL_SERVICE_FRIENDSHIP_REQUEST="social_service_friendship_request",t.SOCIAL_SERVICE_FRIENDSHIP_ACCEPTED="social_service_friendship_accepted",t.WORLDS_ACCESS_RESTORED="worlds_access_restored",t.WORLDS_ACCESS_RESTRICTED="worlds_access_restricted",t.WORLDS_MISSING_RESOURCES="worlds_missing_resources",t.WORLDS_PERMISSION_GRANTED="worlds_permission_granted",t.WORLDS_PERMISSION_REVOKED="worlds_permission_revoked"}(e.NotificationType||(e.NotificationType={}))})(rL);var yte={},nL={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SubscriptionDetails=void 0;const t=ct,r=rL,n={type:"object",required:["email","in_app"],properties:{email:{type:"boolean"},in_app:{type:"boolean"}}},i=Object.values(r.NotificationType).reduce((o,a)=>(o[a]=n,o),{});(function(o){o.schema={type:"object",required:["ignore_all_email","ignore_all_in_app","message_type"],properties:{ignore_all_email:{type:"boolean"},ignore_all_in_app:{type:"boolean"},message_type:{type:"object",required:Object.values(r.NotificationType),additionalProperties:!1,properties:i}}},o.validate=(0,t.generateLazyValidator)(o.schema)})(e.SubscriptionDetails||(e.SubscriptionDetails={}))})(nL);var iL={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Email=void 0,function(t){t.schema={type:"string",pattern:"^[\\w\\-\\.]+@([\\w-]+\\.)+[\\w-]{2,}$"};const r=new RegExp(t.schema.pattern);t.validate=n=>r.test(n)}(e.Email||(e.Email={}))})(iL);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Subscription=void 0;const t=ct,r=nL,n=Mf,i=iL;(function(o){o.schema={type:"object",required:["address","details"],properties:{address:n.EthAddress.schema,email:Object.assign(Object.assign({},i.Email.schema),{nullable:!0}),details:r.SubscriptionDetails.schema}},o.validate=(0,t.generateLazyValidator)(o.schema)})(e.Subscription||(e.Subscription={}))})(yte);(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(rL,e),r(yte,e),r(nL,e)})(gte);var vte={},up={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Events=void 0,function(t){(function(r){r.BLOCKCHAIN="blockchain",r.CATALYST_DEPLOYMENT="catalyst-deployment",r.WORLD="world",r.CLIENT="client",r.MARKETPLACE="marketplace",r.REWARDS="rewards",r.BADGE="badge",r.ASSET_BUNDLE="asset-bundle",r.SOCIAL_SERVICE="social-service"})(t.Type||(t.Type={})),function(r){(function(n){n.BID_ACCEPTED="bid-accepted",n.ITEM_SOLD="item-sold",n.RENTAL_ENDED="land-rental-ended",n.RENTAL_STARTED="land-rental-started",n.ROYALTIES_EARNED="royalties-earned",n.COLLECTION_CREATED="collection-created",n.ITEM_PUBLISHED="item-published"})(r.Blockchain||(r.Blockchain={})),function(n){n.BID_RECEIVED="bid-received"}(r.Marketplace||(r.Marketplace={})),function(n){n.SCENE="scene",n.PROFILE="profile",n.WEARABLE="wearable",n.STORE="store",n.EMOTE="emote",n.OUTFITS="outfits"}(r.CatalystDeployment||(r.CatalystDeployment={})),function(n){n.DEPLOYMENT="deployment"}(r.Worlds||(r.Worlds={})),function(n){n.MOVE_TO_PARCEL="move-to-parcel",n.USED_EMOTE="used-emote",n.PASSPORT_OPENED="passport-opened",n.WALKED_DISTANCE="walked-distance",n.VERTICAL_HEIGHT_REACHED="vertical-height-reached"}(r.Client||(r.Client={})),function(n){n.REWARD_IN_PROGRESS="reward-in-progress",n.REWARD_ASSIGNED="reward-assigned",n.CAMPAIGN_OUT_OF_FUNDS="campaign-out-of-funds",n.CAMPAIGN_GAS_PRICE_HIGHER_THAN_EXPECTED="campaign-gas-price-higher-than-expected",n.CAMPAIGN_OUT_OF_STOCK="campaign-out-of-stock",n.REWARD_DELAYED="reward-delayed"}(r.Rewards||(r.Rewards={})),function(n){n.GRANTED="badge-granted"}(r.Badge||(r.Badge={})),function(n){n.CONVERTED="converted",n.MANUALLY_QUEUED="manually-queued"}(r.AssetBundle||(r.AssetBundle={})),function(n){n.FRIENDSHIP_REQUEST="friendship-request",n.FRIENDSHIP_ACCEPTED="friendship-accepted"}(r.SocialService||(r.SocialService={}))}(t.SubType||(t.SubType={}))}(e.Events||(e.Events={}))})(up);var bte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CollectionCreatedEvent=e.RoyaltiesEarnedEvent=e.RentalStartedEvent=e.RentalEndedEvent=e.ItemPublishedEvent=e.ItemSoldEvent=e.BidAcceptedEvent=void 0;const t=ct,r=up;(function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.BLOCKCHAIN},subType:{type:"string",const:r.Events.SubType.Blockchain.BID_ACCEPTED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{address:{type:"string"},image:{type:"string"},seller:{type:"string"},category:{type:"string"},rarity:{type:"string",nullable:!0},link:{type:"string"},nftName:{type:"string",nullable:!0},price:{type:"string"},title:{type:"string"},description:{type:"string"},network:{type:"string"}},required:["address","image","seller","category","link","price","title","network"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!0},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.BidAcceptedEvent||(e.BidAcceptedEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.BLOCKCHAIN},subType:{type:"string",const:r.Events.SubType.Blockchain.ITEM_SOLD},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{address:{type:"string"},image:{type:"string"},buyer:{type:"string"},seller:{type:"string"},category:{type:"string"},rarity:{type:"string",nullable:!0},link:{type:"string"},nftName:{type:"string",nullable:!0},tokenId:{type:"string"},network:{type:"string"},title:{type:"string"},description:{type:"string"}},required:["address","image","seller","category","link","network","title","description"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!1},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.ItemSoldEvent||(e.ItemSoldEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.BLOCKCHAIN},subType:{type:"string",const:r.Events.SubType.Blockchain.ITEM_PUBLISHED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{creator:{type:"string"},category:{type:"string"},rarity:{type:"string",nullable:!0},itemId:{type:"string"},network:{type:"string"},urn:{type:"string"}},required:["creator","category","itemId","network","urn"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!1},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.ItemPublishedEvent||(e.ItemPublishedEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.BLOCKCHAIN},subType:{type:"string",const:r.Events.SubType.Blockchain.RENTAL_ENDED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{address:{type:"string"},contract:{type:"string"},land:{type:"string",nullable:!0},lessor:{type:"string"},tenant:{type:"string"},operator:{type:"string"},startedAt:{type:"string"},endedAt:{type:"string"},tokenId:{type:"string"},link:{type:"string"},title:{type:"string"},description:{type:"string",nullable:!0}},required:["address","contract","lessor","tenant","operator","startedAt","endedAt","tokenId","link","title"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!1},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.RentalEndedEvent||(e.RentalEndedEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.BLOCKCHAIN},subType:{type:"string",const:r.Events.SubType.Blockchain.RENTAL_STARTED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{address:{type:"string"},contract:{type:"string"},land:{type:"string",nullable:!0},lessor:{type:"string"},tenant:{type:"string"},operator:{type:"string"},startedAt:{type:"string"},endedAt:{type:"string"},tokenId:{type:"string"},link:{type:"string"},title:{type:"string"},description:{type:"string",nullable:!0}},required:["address","contract","lessor","tenant","operator","startedAt","endedAt","tokenId","link","title"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!1},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.RentalStartedEvent||(e.RentalStartedEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.BLOCKCHAIN},subType:{type:"string",const:r.Events.SubType.Blockchain.ROYALTIES_EARNED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{address:{type:"string"},image:{type:"string"},category:{type:"string"},rarity:{type:"string",nullable:!0},link:{type:"string"},nftName:{type:"string",nullable:!0},royaltiesCut:{type:"string"},royaltiesCollector:{type:"string"},network:{type:"string"},title:{type:"string"},description:{type:"string",nullable:!0}},required:["address","image","category","link","royaltiesCut","royaltiesCollector","network","title"]}},required:["type","subType","metadata"],additionalProperties:!1},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.RoyaltiesEarnedEvent||(e.RoyaltiesEarnedEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.BLOCKCHAIN},subType:{type:"string",const:r.Events.SubType.Blockchain.COLLECTION_CREATED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{creator:{type:"string"},name:{type:"string"}},required:["creator","name"]}},required:["type","subType","metadata"],additionalProperties:!1},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.CollectionCreatedEvent||(e.CollectionCreatedEvent={}))})(bte);var _te={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CatalystDeploymentEvent=void 0;const t=h3,r=ct,n=eL,i=up;(function(o){o.schema={type:"object",properties:{type:{type:"string",const:i.Events.Type.CATALYST_DEPLOYMENT},subType:{type:"string",enum:Object.values(i.Events.SubType.CatalystDeployment)},key:{type:"string"},timestamp:{type:"number",minimum:1},entity:n.Entity.schema,authChain:t.AuthChain.schema},required:["type","subType","entity","authChain","key","timestamp"],additionalProperties:!1},o.validate=(0,r.generateLazyValidator)(o.schema)})(e.CatalystDeploymentEvent||(e.CatalystDeploymentEvent={}))})(_te);var Ete={};Object.defineProperty(Ete,"__esModule",{value:!0});var xte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.BidReceivedEvent=void 0;const t=ct,r=up;(function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.MARKETPLACE},subType:{type:"string",const:r.Events.SubType.Marketplace.BID_RECEIVED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{address:{type:"string"},image:{type:"string"},seller:{type:"string"},category:{type:"string"},rarity:{type:"string",nullable:!0},link:{type:"string"},nftName:{type:"string",nullable:!0},price:{type:"string"},title:{type:"string"},description:{type:"string"},network:{type:"string"}},required:["address","image","seller","category","link","price","title","network"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!1},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.BidReceivedEvent||(e.BidReceivedEvent={}))})(xte);var wte={},i7={};Object.defineProperty(i7,"__esModule",{value:!0});i7.createEventSchema=void 0;function ZIe(e,t,r){return{type:"object",properties:{type:{type:"string",const:e},subType:{type:"string",const:t},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:r},required:["type","subType","key","timestamp","metadata"],additionalProperties:!1}}i7.createEventSchema=ZIe;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.RewardDelayedEvent=e.CampaignOutOfStockEvent=e.CampaignGasPriceHigherThanExpectedEvent=e.CampaignOutOfFundsEvent=e.RewardAssignedEvent=e.RewardInProgressEvent=void 0;const t=ct,r=up,n=i7,i={type:"object",properties:{title:{type:"string"},description:{type:"string"},link:{type:"string",nullable:!0},beneficiary:{type:"string"},tokenName:{type:"string"},tokenImage:{type:"string"},tokenRarity:{type:"string",nullable:!0},tokenCategory:{type:"string",nullable:!0}},required:["title","description","beneficiary","tokenName","tokenImage"],additionalProperties:!1},o={type:"object",properties:{title:{type:"string"},description:{type:"string"},link:{type:"string",nullable:!0},owner:{type:"string"},campaignId:{type:"string"},campaignName:{type:"string"}},required:["title","description","owner","campaignId","campaignName"],additionalProperties:!1};(function(a){a.schema=(0,n.createEventSchema)(r.Events.Type.REWARDS,r.Events.SubType.Rewards.REWARD_IN_PROGRESS,i),a.validate=(0,t.generateLazyValidator)(a.schema)})(e.RewardInProgressEvent||(e.RewardInProgressEvent={})),function(a){a.schema=(0,n.createEventSchema)(r.Events.Type.REWARDS,r.Events.SubType.Rewards.REWARD_ASSIGNED,i),a.validate=(0,t.generateLazyValidator)(a.schema)}(e.RewardAssignedEvent||(e.RewardAssignedEvent={})),function(a){a.schema=(0,n.createEventSchema)(r.Events.Type.REWARDS,r.Events.SubType.Rewards.CAMPAIGN_OUT_OF_FUNDS,o),a.validate=(0,t.generateLazyValidator)(a.schema)}(e.CampaignOutOfFundsEvent||(e.CampaignOutOfFundsEvent={})),function(a){a.schema=(0,n.createEventSchema)(r.Events.Type.REWARDS,r.Events.SubType.Rewards.CAMPAIGN_GAS_PRICE_HIGHER_THAN_EXPECTED,o),a.validate=(0,t.generateLazyValidator)(a.schema)}(e.CampaignGasPriceHigherThanExpectedEvent||(e.CampaignGasPriceHigherThanExpectedEvent={})),function(a){a.schema=(0,n.createEventSchema)(r.Events.Type.REWARDS,r.Events.SubType.Rewards.CAMPAIGN_OUT_OF_STOCK,o),a.validate=(0,t.generateLazyValidator)(a.schema)}(e.CampaignOutOfStockEvent||(e.CampaignOutOfStockEvent={})),function(a){a.schema=(0,n.createEventSchema)(r.Events.Type.REWARDS,r.Events.SubType.Rewards.REWARD_DELAYED,i),a.validate=(0,t.generateLazyValidator)(a.schema)}(e.RewardDelayedEvent||(e.RewardDelayedEvent={}))})(wte);var Cte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.FriendshipAcceptedEvent=e.FriendshipRequestEvent=e.AssetBundleConversionManuallyQueuedEvent=e.AssetBundleConversionFinishedEvent=e.BadgeGrantedEvent=void 0;const t=ct,r=up;(function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.BADGE},subType:{type:"string",const:r.Events.SubType.Badge.GRANTED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{badgeId:{type:"string"},badgeTierName:{type:"string",nullable:!0},badgeName:{type:"string"},badgeImageUrl:{type:"string"},address:{type:"string"}},required:["badgeId","badgeName","badgeImageUrl","address"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!0},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.BadgeGrantedEvent||(e.BadgeGrantedEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.ASSET_BUNDLE},subType:{type:"string",const:r.Events.SubType.AssetBundle.CONVERTED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{entityId:{type:"string"},platform:{type:"string",enum:["windows","mac","webgl"]},statusCode:{type:"number"},isLods:{type:"boolean"},isWorld:{type:"boolean"}},required:["entityId","platform","statusCode","isLods","isWorld"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!0},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.AssetBundleConversionFinishedEvent||(e.AssetBundleConversionFinishedEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.ASSET_BUNDLE},subType:{type:"string",const:r.Events.SubType.AssetBundle.MANUALLY_QUEUED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{entityId:{type:"string"},platform:{type:"string",enum:["windows","mac","webgl"]},isLods:{type:"boolean"},isPriority:{type:"boolean"}},required:["entityId","platform","isLods"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!0},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.AssetBundleConversionManuallyQueuedEvent||(e.AssetBundleConversionManuallyQueuedEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.SOCIAL_SERVICE},subType:{type:"string",const:r.Events.SubType.SocialService.FRIENDSHIP_REQUEST},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{sender:{type:"object",properties:{address:{type:"string"},name:{type:"string"},profileImageUrl:{type:"string"}},required:["address","name","profileImageUrl"]},receiver:{type:"object",properties:{address:{type:"string"}},required:["address"]},message:{type:"string",nullable:!0}},required:["sender"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!0},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.FriendshipRequestEvent||(e.FriendshipRequestEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.SOCIAL_SERVICE},subType:{type:"string",const:r.Events.SubType.SocialService.FRIENDSHIP_ACCEPTED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{sender:{type:"object",properties:{address:{type:"string"},name:{type:"string"},profileImageUrl:{type:"string"}},required:["address","name","profileImageUrl"]},receiver:{type:"object",properties:{address:{type:"string"}},required:["address"]}},required:["sender"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!0},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.FriendshipAcceptedEvent||(e.FriendshipAcceptedEvent={}))})(Cte);(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(up,e),r(bte,e),r(_te,e),r(Ete,e),r(xte,e),r(wte,e),r(Cte,e)})(vte);(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(nte,e),r(ote,e),r(dte(),e),r(wm,e),r(ZP,e),r(fte,e),r(eL,e),r(pte,e),r(hte,e),r(gte,e),r(vte,e)})(e7);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.WearableJson=void 0;const t=p3,r=Tf,n=J8,i=ct,o=e7;(function(a){a.schema={type:"object",properties:{description:{type:"string"},rarity:Object.assign(Object.assign({},t.Rarity.schema),{nullable:!0}),name:{type:"string"},data:{type:"object",properties:{replaces:{type:"array",items:r.WearableCategory.schema},hides:{type:"array",items:r.WearableCategory.schema},tags:{type:"array",items:{type:"string",minLength:1}},representations:{type:"array",items:n.WearableRepresentation.schema,minItems:1},category:r.WearableCategory.schema,removesDefaultHiding:{type:"array",nullable:!0,items:o.HideableWearableCategory.schema},blockVrmExport:{type:"boolean",nullable:!0},outlineCompatible:{type:"boolean",nullable:!0}},required:["replaces","hides","tags","representations","category"]}},additionalProperties:!0,required:["description","name","data"]},a.validate=(0,i.generateLazyValidator)(a.schema)})(e.WearableJson||(e.WearableJson={}))})(rte);(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(tte,e),r(rte,e)})(ete);(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(Jee,e),r(ete,e)})(Zee);var Ste={},Ate={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Account=e.AccountSortBy=void 0;const t=ct;(function(r){r.MOST_SALES="most_sales",r.MOST_PURCHASES="most_purchases",r.MOST_SPENT="most_spent",r.MOST_EARNED="most_earned",r.MOST_ROYALTIES="most_royalties",r.MOST_COLLECTIONS="most_collections"})(e.AccountSortBy||(e.AccountSortBy={})),function(r){r.schema={type:"object",properties:{id:{type:"string"},address:{type:"string"},sales:{type:"integer"},purchases:{type:"integer"},spent:{type:"string"},earned:{type:"string"},royalties:{type:"string"},collections:{type:"number"}},required:["id","address","sales","purchases","spent","earned","royalties","collections"]},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.Account||(e.Account={}))})(Ate);var Tte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Collection=e.CollectionSortBy=void 0;const t=ct,r=qs(),n=zs;(function(i){i.NEWEST="newest",i.NAME="name",i.RECENTLY_REVIEWED="recently_reviewed",i.RECENTLY_LISTED="recently_listed",i.SIZE="size"})(e.CollectionSortBy||(e.CollectionSortBy={})),function(i){i.schema={type:"object",properties:{urn:{type:"string"},creator:{type:"string"},name:{type:"string"},contractAddress:{type:"string"},size:{type:"integer"},isOnSale:{type:"boolean"},createdAt:{type:"integer"},updatedAt:{type:"integer"},reviewedAt:{type:"integer"},network:n.Network.schema,chainId:r.ChainId.schema,firstListedAt:{type:"integer",nullable:!0}},required:["urn","creator","name","contractAddress","isOnSale","size","createdAt","updatedAt","reviewedAt","network","chainId"]},i.validate=(0,t.generateLazyValidator)(i.schema)}(e.Collection||(e.Collection={}))})(Tte);var Mte={},m3={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.NFTCategory=void 0;const t=ct;(function(r){r.PARCEL="parcel",r.ESTATE="estate",r.WEARABLE="wearable",r.ENS="ens",r.EMOTE="emote"})(e.NFTCategory||(e.NFTCategory={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.NFTCategory||(e.NFTCategory={}))})(m3);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Contract=e.ContractSortBy=void 0;const t=ct,r=qs(),n=zs,i=m3;(function(o){o.NAME="name"})(e.ContractSortBy||(e.ContractSortBy={})),function(o){o.schema={type:"object",properties:{name:{type:"string"},address:{type:"string"},category:i.NFTCategory.schema,network:n.Network.schema,chainId:r.ChainId.schema},required:["name","address","category","network","chainId"]},o.validate=(0,t.generateLazyValidator)(o.schema)}(e.Contract||(e.Contract={}))})(Mte);var Rte={},oL={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.NFT=e.NFTSortBy=void 0;const t=ct,r=qs(),n=e7,i=zs,o=m3,a=p3,s=Tf;(function(l){l.NAME="name",l.NEWEST="newest",l.RECENTLY_LISTED="recently_listed",l.RECENTLY_SOLD="recently_sold",l.CHEAPEST="cheapest",l.RENTAL_LISTING_DATE="rental_listing_date",l.RENTAL_DATE="rented_date",l.MAX_RENTAL_PRICE="max_rental_price",l.MIN_RENTAL_PRICE="min_rental_price"})(e.NFTSortBy||(e.NFTSortBy={})),function(l){l.schema={type:"object",properties:{id:{type:"string"},tokenId:{type:"string"},contractAddress:{type:"string"},activeOrderId:{type:"string",nullable:!0},utility:{type:"string",nullable:!0},openRentalId:{type:"string",nullable:!0},owner:{type:"string"},name:{type:"string"},image:{type:"string"},url:{type:"string"},data:{type:"object",nullable:!1,properties:{parcel:{type:"object",properties:{description:{type:["string"],nullable:!0},x:{type:"string"},y:{type:"string"},estate:{type:"object",properties:{tokenId:{type:"string"},name:{type:"string"}},required:["tokenId","name"],nullable:!0}},required:["description","x","y","estate"],nullable:!0},estate:{type:"object",properties:{description:{type:["string"],nullable:!0},size:{type:"integer"},parcels:{type:"array",items:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},required:["x","y"]}}},required:["description","size","parcels"],nullable:!0},wearable:{type:"object",properties:{bodyShapes:{type:"array",items:n.BodyShape.schema},category:s.WearableCategory.schema,description:{type:"string"},rarity:a.Rarity.schema,isSmart:{type:"boolean"}},required:["bodyShapes","category","description","rarity","isSmart"],nullable:!0},ens:{type:"object",properties:{subdomain:{type:"string"}},required:["subdomain"],nullable:!0},emote:{type:"object",properties:{bodyShapes:{type:"array",items:n.BodyShape.schema},category:n.EmoteCategory.schema,description:{type:"string"},rarity:a.Rarity.schema,loop:{type:"boolean"},hasSound:{type:"boolean"},hasGeometry:{type:"boolean"}},required:["bodyShapes","category","description","rarity","loop"],nullable:!0}},required:[]},issuedId:{type:"string",nullable:!0},itemId:{type:"string",nullable:!0},category:o.NFTCategory.schema,network:i.Network.schema,chainId:r.ChainId.schema,createdAt:{type:"integer"},updatedAt:{type:"integer"},soldAt:{type:"integer"},urn:{type:"string",nullable:!0}},required:["id","tokenId","contractAddress","activeOrderId","openRentalId","owner","name","image","url","data","issuedId","itemId","category","network","chainId","createdAt","updatedAt","soldAt"]},l.validate=(0,t.generateLazyValidator)(l.schema)}(e.NFT||(e.NFT={}))})(oL);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Item=e.ItemSortBy=void 0;const t=ct,r=qs(),n=zs,i=oL,o=m3;(function(a){a.NAME="name",a.NEWEST="newest",a.RECENTLY_REVIEWED="recently_reviewed",a.RECENTLY_SOLD="recently_sold",a.RECENTLY_LISTED="recently_listed",a.CHEAPEST="cheapest"})(e.ItemSortBy||(e.ItemSortBy={})),function(a){a.schema={type:"object",properties:{id:{type:"string"},name:{type:"string"},thumbnail:{type:"string"},url:{type:"string"},category:o.NFTCategory.schema,contractAddress:{type:"string"},itemId:{type:"string"},rarity:{type:"string"},price:{type:"string"},available:{type:"integer"},isOnSale:{type:"boolean"},creator:{type:"string"},beneficiary:{type:"string",nullable:!0},tradeId:{type:"string",nullable:!0},data:i.NFT.schema.properties.data,network:n.Network.schema,chainId:r.ChainId.schema,urn:{type:"string"},createdAt:{type:"integer"},updatedAt:{type:"integer"},reviewedAt:{type:"integer"},soldAt:{type:"integer"},firstListedAt:{type:"integer",nullable:!0},picks:{type:"object",properties:{pickedByUser:{type:"boolean",nullable:!0},count:{type:"integer"}},required:["count"],nullable:!0},minPrice:{type:"string",nullable:!0},utility:{type:"string",nullable:!0},minListingPrice:{type:"string",nullable:!0},maxListingPrice:{type:"string",nullable:!0},listings:{type:"integer",nullable:!0},owners:{type:"integer",nullable:!0},tradeExpiresAt:{type:"integer",nullable:!0}},required:["id","name","thumbnail","url","category","contractAddress","itemId","rarity","price","available","isOnSale","creator","data","network","chainId","createdAt","updatedAt","soldAt"]},a.validate=(0,t.generateLazyValidator)(a.schema)}(e.Item||(e.Item={}))})(Rte);var o7={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ListingStatus=void 0;const t=ct;(function(r){r.OPEN="open",r.SOLD="sold",r.CANCELLED="cancelled"})(e.ListingStatus||(e.ListingStatus={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.ListingStatus||(e.ListingStatus={}))})(o7);var Ite={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.MetaTransaction=void 0;const t=ct;(function(r){r.schema={type:"object",properties:{from:{type:"string"},params:{type:"array",items:[{type:"string"},{type:"string"}],additionalItems:!1,minItems:2}},additionalProperties:!1,required:["from","params"]},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.MetaTransaction||(e.MetaTransaction={}))})(Ite);var Ote={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Mint=e.MintSortBy=void 0;const t=ct,r=qs(),n=zs;(function(i){i.RECENTLY_MINTED="recently_minted",i.MOST_EXPENSIVE="most_expensive"})(e.MintSortBy||(e.MintSortBy={})),function(i){i.schema={type:"object",properties:{id:{type:"string"},creator:{type:"string"},beneficiary:{type:"string"},minter:{type:"string"},price:{type:"string",nullable:!0},contractAddress:{type:"string"},tokenId:{type:"string"},itemId:{type:"string"},issuedId:{type:"string"},timestamp:{type:"integer"},network:n.Network.schema,chainId:r.ChainId.schema},required:["id","creator","beneficiary","minter","itemId","tokenId","issuedId","contractAddress","price","timestamp","network","chainId"]},i.validate=(0,t.generateLazyValidator)(i.schema)}(e.Mint||(e.Mint={}))})(Ote);var Pte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CatalogSortDirection=e.CatalogSortBy=void 0,function(t){t.NEWEST="newest",t.RECENTLY_SOLD="recently_sold",t.CHEAPEST="cheapest",t.MOST_EXPENSIVE="most_expensive",t.RECENTLY_LISTED="recently_listed"}(e.CatalogSortBy||(e.CatalogSortBy={})),function(t){t.ASC="asc",t.DESC="desc"}(e.CatalogSortDirection||(e.CatalogSortDirection={}))})(Pte);var Lte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Order=e.OrderSortBy=void 0;const t=ct,r=qs(),n=o7,i=zs;(function(o){o.RECENTLY_LISTED="recently_listed",o.RECENTLY_UPDATED="recently_updated",o.CHEAPEST="cheapest",o.ISSUED_ID_ASC="issued_id_asc",o.ISSUED_ID_DESC="issued_id_desc",o.OLDEST="oldest"})(e.OrderSortBy||(e.OrderSortBy={})),function(o){o.schema={type:"object",properties:{id:{type:"string"},marketplaceAddress:{type:"string"},contractAddress:{type:"string"},tokenId:{type:"string"},owner:{type:"string"},buyer:{type:["string"],nullable:!0},price:{type:"string"},status:n.ListingStatus.schema,network:i.Network.schema,chainId:r.ChainId.schema,expiresAt:{type:"integer"},createdAt:{type:"integer"},updatedAt:{type:"integer"},issuedId:{type:"string"},tradeId:{type:"string",nullable:!0}},required:["id","marketplaceAddress","contractAddress","tokenId","owner","buyer","price","status","network","chainId","expiresAt","createdAt","updatedAt"]},o.validate=(0,t.generateLazyValidator)(o.schema)}(e.Order||(e.Order={}))})(Lte);var aL={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SaleType=void 0;const t=ct;(function(r){r.ORDER="order",r.BID="bid",r.MINT="mint"})(e.SaleType||(e.SaleType={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.SaleType||(e.SaleType={}))})(aL);var kte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Sale=e.SaleSortBy=void 0;const t=ct,r=qs(),n=aL,i=zs;(function(o){o.RECENTLY_SOLD="recently_sold",o.MOST_EXPENSIVE="most_expensive"})(e.SaleSortBy||(e.SaleSortBy={})),function(o){o.schema={type:"object",properties:{id:{type:"string"},type:n.SaleType.schema,buyer:{type:"string"},seller:{type:"string"},price:{type:"string"},contractAddress:{type:"string"},tokenId:{type:"string"},itemId:{type:"string"},txHash:{type:"string"},timestamp:{type:"integer"},network:i.Network.schema,chainId:r.ChainId.schema},required:["id","buyer","seller","itemId","tokenId","price","contractAddress","timestamp","txHash","network","chainId"]},o.validate=(0,t.generateLazyValidator)(o.schema)}(e.Sale||(e.Sale={}))})(kte);var Nte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.RentalListingCreation=e.PeriodCreation=e.RentalsListingsSortBy=e.RentalsListingsFilterByCategory=e.RentalsListingSortDirection=e.RentalStatus=void 0;const t=ct,r=qs(),n=zs;(function(o){o.OPEN="open",o.CANCELLED="cancelled",o.EXECUTED="executed",o.CLAIMED="claimed"})(e.RentalStatus||(e.RentalStatus={})),function(o){o.ASC="asc",o.DESC="desc"}(e.RentalsListingSortDirection||(e.RentalsListingSortDirection={})),function(o){o.PARCEL="parcel",o.ESTATE="estate"}(e.RentalsListingsFilterByCategory||(e.RentalsListingsFilterByCategory={})),function(o){o.LAND_CREATION_DATE="land_creation_date",o.RENTAL_LISTING_DATE="rental_listing_date",o.RENTAL_DATE="rented_date",o.NAME="name",o.MAX_RENTAL_PRICE="max_rental_price",o.MIN_RENTAL_PRICE="min_rental_price"}(e.RentalsListingsSortBy||(e.RentalsListingsSortBy={}));var i;(function(o){o.schema={type:"object",properties:{minDays:{type:"integer",minimum:0,maximum:2147483647},maxDays:{type:"integer",minimum:0,maximum:2147483647},pricePerDay:{type:"string",pattern:"^[0-9]+$"}},additionalProperties:!1,required:["minDays","maxDays","pricePerDay"]},o.validate=(0,t.generateLazyValidator)(o.schema)})(i=e.PeriodCreation||(e.PeriodCreation={})),function(o){o.schema={type:"object",properties:{network:n.Network.schema,chainId:r.ChainId.schema,expiration:{type:"number",minimum:0},signature:{type:"string",minLength:1},tokenId:{type:"string",minLength:1},nonces:{type:"array",minItems:3,maxItems:3,items:{minLength:1,type:"string",pattern:"^[0-9]+$"}},contractAddress:{type:"string",pattern:"^0x[a-fA-F0-9]{40}$"},rentalContractAddress:{type:"string",pattern:"^0x[a-fA-F0-9]{40}$"},periods:{type:"array",minItems:1,maxItems:100,uniqueItems:!0,items:i.schema},target:{type:"string",pattern:"^0x[a-fA-F0-9]{40}$"}},additionalProperties:!1,required:["network","chainId","expiration","signature","nonces","tokenId","contractAddress","rentalContractAddress","periods","target"]},o.validate=(0,t.generateLazyValidator)(o.schema)}(e.RentalListingCreation||(e.RentalListingCreation={}))})(Nte);var jte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.AnalyticsDayDataSortBy=void 0,function(t){t.DATE="date",t.MOST_SALES="most_sales"}(e.AnalyticsDayDataSortBy||(e.AnalyticsDayDataSortBy={}))})(jte);var Dte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Store=void 0;const t=ct;(function(r){r.schema={type:"object",properties:{id:{type:"string"},version:{type:"number"},owner:{type:"string"},description:{type:"string"},links:{type:"array",items:{type:"object",properties:{name:{type:"string"},url:{type:"string"}},required:["name","url"]}},images:{type:"array",items:{type:"object",properties:{name:{type:"string"},file:{type:"string"}},required:["name","file"]}}},required:["id","version","owner","description","links","images"]},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.Store||(e.Store={}))})(Dte);var Bte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.GenderFilterOption=e.WearableGender=void 0;const t=ct;(function(r){r.MALE="male",r.FEMALE="female"})(e.WearableGender||(e.WearableGender={})),function(r){r.MALE="male",r.FEMALE="female",r.UNISEX="unisex"}(e.GenderFilterOption||(e.GenderFilterOption={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.WearableGender||(e.WearableGender={}))})(Bte);var Fte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.World=e.isInsideWorldLimits=e.getWorld=void 0;const t=ct;function r(){return{validWorldRanges:[{xMin:-150,yMin:-150,xMax:150,yMax:150},{xMin:62,yMin:151,xMax:162,yMax:158},{xMin:151,yMin:144,xMax:162,yMax:150},{xMin:151,yMin:59,xMax:163,yMax:143}]}}e.getWorld=r;function n(i,o){const a=r().validWorldRanges;for(const s of a)if(i>=s.xMin&&i<=s.xMax&&o>=s.yMin&&o<=s.yMax)return!0;return!1}e.isInsideWorldLimits=n,function(i){i.schema={type:"object",required:["validWorldRanges"],properties:{validWorldRanges:{type:"array",default:[{xMin:-150,yMin:-150,xMax:150,yMax:150}],items:{type:"object",required:["xMin","yMin","xMax","yMax"],properties:{xMin:{type:"integer"},yMin:{type:"integer"},xMax:{type:"integer"},yMax:{type:"integer"}}}}},additionalProperties:!1},i.validate=(0,t.generateLazyValidator)(i.schema)}(e.World||(e.World={}))})(Fte);var Ute={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Bid=e.BidSortBy=void 0;const t=ct,r=qs(),n=o7,i=zs;(function(o){o.RECENTLY_OFFERED="recently_offered",o.RECENTLY_UPDATED="recently_updated",o.MOST_EXPENSIVE="most_expensive"})(e.BidSortBy||(e.BidSortBy={})),function(o){const a={type:"object",properties:{id:{type:"string"},bidder:{type:"string"},seller:{type:"string"},price:{type:"string"},fingerprint:{type:"string"},status:n.ListingStatus.schema,contractAddress:{type:"string"},network:i.Network.schema,chainId:r.ChainId.schema,expiresAt:{type:"integer"},createdAt:{type:"integer"},updatedAt:{type:"integer"}},required:["id","bidder","seller","price","fingerprint","status","contractAddress","network","chainId","expiresAt","createdAt","updatedAt"]};o.schema={type:"object",required:[],oneOf:[{properties:Object.assign(Object.assign({},a.properties),{tradeId:{type:"string"},tokenId:{type:"string"}}),required:[...a.required,"tradeId","tokenId"]},{type:"object",properties:Object.assign(Object.assign({},a.properties),{tradeId:{type:"string"},itemId:{type:"string"}}),required:[...a.required,"tradeId","itemId"]},{type:"object",properties:Object.assign(Object.assign({},a.properties),{bidAddress:{type:"string"},blockchainId:{type:"string"},blockNumber:{type:"string"},tokenId:{type:"string"}}),required:[...a.required,"bidAddress","blockchainId","blockNumber","tokenId"]}]},o.validate=(0,t.generateLazyValidator)(o.schema)}(e.Bid||(e.Bid={}))})(Ute);var $te={};Object.defineProperty($te,"__esModule",{value:!0});var Hte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.TradeAssetDirection=e.TradeAssetType=e.TradeType=void 0,function(t){t.BID="bid",t.PUBLIC_NFT_ORDER="public_nft_order",t.PUBLIC_ITEM_ORDER="public_item_order"}(e.TradeType||(e.TradeType={})),function(t){t[t.ERC20=1]="ERC20",t[t.USD_PEGGED_MANA=2]="USD_PEGGED_MANA",t[t.ERC721=3]="ERC721",t[t.COLLECTION_ITEM=4]="COLLECTION_ITEM"}(e.TradeAssetType||(e.TradeAssetType={})),function(t){t.SENT="sent",t.RECEIVED="received"}(e.TradeAssetDirection||(e.TradeAssetDirection={}))})(Hte);var Vte={},zte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PreviewCamera=void 0;const t=ct;(function(r){r.STATIC="static",r.INTERACTIVE="interactive"})(e.PreviewCamera||(e.PreviewCamera={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.PreviewCamera||(e.PreviewCamera={}))})(zte);var qte={};Object.defineProperty(qte,"__esModule",{value:!0});var Wte={};Object.defineProperty(Wte,"__esModule",{value:!0});var Gte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PreviewEmoteEventType=void 0;const t=ct;(function(r){r.ANIMATION_PLAY="animation_play",r.ANIMATION_PAUSE="animation_pause",r.ANIMATION_LOOP="animation_loop",r.ANIMATION_END="animation_end",r.ANIMATION_PLAYING="animation_playing"})(e.PreviewEmoteEventType||(e.PreviewEmoteEventType={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.PreviewEmoteEventType||(e.PreviewEmoteEventType={}))})(Gte);var Kte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PreviewEmote=void 0;const t=ct;(function(r){r.IDLE="idle",r.WALK="walk",r.RUN="run",r.JUMP="jump",r.CLAP="clap",r.DAB="dab",r.DANCE="dance",r.FASHION="fashion",r.FASHION_2="fashion-2",r.FASHION_3="fashion-3",r.FASHION_4="fashion-4",r.LOVE="love",r.MONEY="money",r.FIST_PUMP="fist-pump",r.HEAD_EXPLODE="head-explode",r.WAVE="wave"})(e.PreviewEmote||(e.PreviewEmote={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.PreviewEmote||(e.PreviewEmote={}))})(Kte);var Yte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.sendMessage=e.PreviewMessageType=void 0;const t=ct;(function(n){n.READY="ready",n.LOAD="load",n.ERROR="error",n.UPDATE="update",n.CONTROLLER_REQUEST="controller_request",n.CONTROLLER_RESPONSE="controller_response",n.EMOTE_EVENT="emote_event"})(e.PreviewMessageType||(e.PreviewMessageType={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.PreviewMessageType||(e.PreviewMessageType={}));const r=(n,i,o,a="*")=>{const s={type:i,payload:o};n.postMessage(s,a)};e.sendMessage=r})(Yte);var Zte={};Object.defineProperty(Zte,"__esModule",{value:!0});var Jte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PreviewProjection=void 0;const t=ct;(function(r){r.ORTHOGRAPHIC="orthographic",r.PERSPECTIVE="perspective"})(e.PreviewProjection||(e.PreviewProjection={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.PreviewProjection||(e.PreviewProjection={}))})(Jte);var Xte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PreviewType=void 0;const t=ct;(function(r){r.TEXTURE="texture",r.WEARABLE="wearable",r.AVATAR="avatar"})(e.PreviewType||(e.PreviewType={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.PreviewType||(e.PreviewType={}))})(Xte);var Qte={};Object.defineProperty(Qte,"__esModule",{value:!0});var ere={};Object.defineProperty(ere,"__esModule",{value:!0});var tre={};Object.defineProperty(tre,"__esModule",{value:!0});var rre={};Object.defineProperty(rre,"__esModule",{value:!0});var nre={};Object.defineProperty(nre,"__esModule",{value:!0});var ire={};Object.defineProperty(ire,"__esModule",{value:!0});var ore={};Object.defineProperty(ore,"__esModule",{value:!0});var are={};Object.defineProperty(are,"__esModule",{value:!0});(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(zte,e),r(qte,e),r(Wte,e),r(Gte,e),r(Kte,e),r(Yte,e),r(Zte,e),r(Jte,e),r(Xte,e),r(Qte,e),r(ere,e),r(tre,e),r(rre,e),r(nre,e),r(ire,e),r(ore,e),r(are,e)})(Vte);var sre={},a7={};Object.defineProperty(a7,"__esModule",{value:!0});a7.isSysLink=void 0;const JIe=e=>e!==null&&typeof e=="object"&&"sys"in e&&"id"in e.sys;a7.isSysLink=JIe;var s7={};Object.defineProperty(s7,"__esModule",{value:!0});s7.ContentfulLocale=void 0;var EA;(function(e){e.enUS="en-US",e.es="es",e.zh="zh"})(EA||(EA={}));s7.ContentfulLocale=EA;var lre={};Object.defineProperty(lre,"__esModule",{value:!0});(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(a7,e),r(s7,e),r(lre,e)})(sre);(function(e){var t=X&&X.__createBinding||(Object.create?function(q,W,J,$){$===void 0&&($=J);var M=Object.getOwnPropertyDescriptor(W,J);(!M||("get"in M?!W.__esModule:M.writable||M.configurable))&&(M={enumerable:!0,get:function(){return W[J]}}),Object.defineProperty(q,$,M)}:function(q,W,J,$){$===void 0&&($=J),q[$]=W[J]}),r=X&&X.__exportStar||function(q,W){for(var J in q)J!=="default"&&!Object.prototype.hasOwnProperty.call(W,J)&&t(W,q,J)};Object.defineProperty(e,"__esModule",{value:!0}),e.isInsideWorldLimits=e.getWorld=e.World=e.GenderFilterOption=e.WearableGender=e.Store=e.AnalyticsDayDataSortBy=e.PeriodCreation=e.RentalListingCreation=e.RentalsListingsSortBy=e.RentalsListingsFilterByCategory=e.RentalsListingSortDirection=e.RentalStatus=e.SaleSortBy=e.Sale=e.SaleType=e.Rarity=e.ProviderType=e.OrderSortBy=e.Order=e.CatalogSortDirection=e.CatalogSortBy=e.NFTSortBy=e.NFT=e.NFTCategory=e.Network=e.MintSortBy=e.Mint=e.MetaTransaction=e.ListingStatus=e.ItemSortBy=e.Item=e.ContractSortBy=e.Contract=e.CollectionSortBy=e.Collection=e.getChainId=e.ChainName=e.getURNProtocol=e.getChainName=e.ChainId=e.AccountSortBy=e.Account=void 0;var n=Ate;Object.defineProperty(e,"Account",{enumerable:!0,get:function(){return n.Account}}),Object.defineProperty(e,"AccountSortBy",{enumerable:!0,get:function(){return n.AccountSortBy}});var i=qs();Object.defineProperty(e,"ChainId",{enumerable:!0,get:function(){return i.ChainId}}),Object.defineProperty(e,"getChainName",{enumerable:!0,get:function(){return i.getChainName}}),Object.defineProperty(e,"getURNProtocol",{enumerable:!0,get:function(){return i.getURNProtocol}});var o=Kee();Object.defineProperty(e,"ChainName",{enumerable:!0,get:function(){return o.ChainName}}),Object.defineProperty(e,"getChainId",{enumerable:!0,get:function(){return o.getChainId}});var a=Tte;Object.defineProperty(e,"Collection",{enumerable:!0,get:function(){return a.Collection}}),Object.defineProperty(e,"CollectionSortBy",{enumerable:!0,get:function(){return a.CollectionSortBy}});var s=Mte;Object.defineProperty(e,"Contract",{enumerable:!0,get:function(){return s.Contract}}),Object.defineProperty(e,"ContractSortBy",{enumerable:!0,get:function(){return s.ContractSortBy}});var l=Rte;Object.defineProperty(e,"Item",{enumerable:!0,get:function(){return l.Item}}),Object.defineProperty(e,"ItemSortBy",{enumerable:!0,get:function(){return l.ItemSortBy}});var c=o7;Object.defineProperty(e,"ListingStatus",{enumerable:!0,get:function(){return c.ListingStatus}});var d=Ite;Object.defineProperty(e,"MetaTransaction",{enumerable:!0,get:function(){return d.MetaTransaction}});var f=Ote;Object.defineProperty(e,"Mint",{enumerable:!0,get:function(){return f.Mint}}),Object.defineProperty(e,"MintSortBy",{enumerable:!0,get:function(){return f.MintSortBy}});var p=zs;Object.defineProperty(e,"Network",{enumerable:!0,get:function(){return p.Network}});var m=m3;Object.defineProperty(e,"NFTCategory",{enumerable:!0,get:function(){return m.NFTCategory}});var v=oL;Object.defineProperty(e,"NFT",{enumerable:!0,get:function(){return v.NFT}}),Object.defineProperty(e,"NFTSortBy",{enumerable:!0,get:function(){return v.NFTSortBy}});var g=Pte;Object.defineProperty(e,"CatalogSortBy",{enumerable:!0,get:function(){return g.CatalogSortBy}}),Object.defineProperty(e,"CatalogSortDirection",{enumerable:!0,get:function(){return g.CatalogSortDirection}});var b=Lte;Object.defineProperty(e,"Order",{enumerable:!0,get:function(){return b.Order}}),Object.defineProperty(e,"OrderSortBy",{enumerable:!0,get:function(){return b.OrderSortBy}});var h=$r;Object.defineProperty(e,"ProviderType",{enumerable:!0,get:function(){return h.ProviderType}});var y=p3;Object.defineProperty(e,"Rarity",{enumerable:!0,get:function(){return y.Rarity}});var w=aL;Object.defineProperty(e,"SaleType",{enumerable:!0,get:function(){return w.SaleType}});var T=kte;Object.defineProperty(e,"Sale",{enumerable:!0,get:function(){return T.Sale}}),Object.defineProperty(e,"SaleSortBy",{enumerable:!0,get:function(){return T.SaleSortBy}});var R=Nte;Object.defineProperty(e,"RentalStatus",{enumerable:!0,get:function(){return R.RentalStatus}}),Object.defineProperty(e,"RentalsListingSortDirection",{enumerable:!0,get:function(){return R.RentalsListingSortDirection}}),Object.defineProperty(e,"RentalsListingsFilterByCategory",{enumerable:!0,get:function(){return R.RentalsListingsFilterByCategory}}),Object.defineProperty(e,"RentalsListingsSortBy",{enumerable:!0,get:function(){return R.RentalsListingsSortBy}}),Object.defineProperty(e,"RentalListingCreation",{enumerable:!0,get:function(){return R.RentalListingCreation}}),Object.defineProperty(e,"PeriodCreation",{enumerable:!0,get:function(){return R.PeriodCreation}});var S=jte;Object.defineProperty(e,"AnalyticsDayDataSortBy",{enumerable:!0,get:function(){return S.AnalyticsDayDataSortBy}});var I=Dte;Object.defineProperty(e,"Store",{enumerable:!0,get:function(){return I.Store}});var U=Bte;Object.defineProperty(e,"WearableGender",{enumerable:!0,get:function(){return U.WearableGender}}),Object.defineProperty(e,"GenderFilterOption",{enumerable:!0,get:function(){return U.GenderFilterOption}});var D=Fte;Object.defineProperty(e,"World",{enumerable:!0,get:function(){return D.World}}),Object.defineProperty(e,"getWorld",{enumerable:!0,get:function(){return D.getWorld}}),Object.defineProperty(e,"isInsideWorldLimits",{enumerable:!0,get:function(){return D.isInsideWorldLimits}}),r(Ute,e),r($te,e),r(Hte,e),r(Vte,e),r(sre,e)})(Ste);var cre={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.LinkerAuthorization=void 0;const t=ct;(function(r){r.schema={type:"object",properties:{name:{type:"string"},desc:{type:"string"},startDate:{type:"string",nullable:!0},endDate:{type:"string",nullable:!0},contactInfo:{type:"object",properties:{name:{type:"string"}},required:["name"]},onlyDev:{type:"boolean",nullable:!0},addresses:{type:"array",items:{type:"string"},minItems:1},plots:{type:"array",items:{type:"string"},minItems:1}},required:["name","desc","contactInfo","addresses","plots"]},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.LinkerAuthorization||(e.LinkerAuthorization={}))})(cre);(function(e){var t=X&&X.__createBinding||(Object.create?function(a,s,l,c){c===void 0&&(c=l);var d=Object.getOwnPropertyDescriptor(s,l);(!d||("get"in d?!s.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return s[l]}}),Object.defineProperty(a,c,d)}:function(a,s,l,c){c===void 0&&(c=l),a[c]=s[l]}),r=X&&X.__setModuleDefault||(Object.create?function(a,s){Object.defineProperty(a,"default",{enumerable:!0,value:s})}:function(a,s){a.default=s}),n=X&&X.__importStar||function(a){if(a&&a.__esModule)return a;var s={};if(a!=null)for(var l in a)l!=="default"&&Object.prototype.hasOwnProperty.call(a,l)&&t(s,a,l);return r(s,a),s},i=X&&X.__exportStar||function(a,s){for(var l in a)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&t(s,a,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.sdk=void 0;const o=n(Zee);e.sdk=o,i(ct,e),i(Ste,e),i(e7,e),i(Mf,e),i(cre,e),i(h3,e),i(tL,e),i(iL,e)})(yu);const XIe=Object.freeze({storageKey:"decentraland-connect-storage-key",[$r.ProviderType.INJECTED]:{},[$r.ProviderType.FORTMATIC]:{apiKeys:{[Mr.ChainId.ETHEREUM_MAINNET]:"pk_live_F8E24DF8DD5BCBC5",[Mr.ChainId.ETHEREUM_SEPOLIA]:"pk_test_5B728BEFE5C10911"},urls:e1($r.ProviderType.FORTMATIC)},[$r.ProviderType.NETWORK]:{urls:e1($r.ProviderType.NETWORK)},[$r.ProviderType.WALLET_LINK]:{appName:"Decentraland",urls:e1($r.ProviderType.WALLET_LINK)},[$r.ProviderType.WALLET_CONNECT_V2]:{projectId:"61570c542c2d66c659492e5b24a41522",urls:e1($r.ProviderType.WALLET_CONNECT_V2),chains:{[Mr.ChainId.ETHEREUM_MAINNET]:{chains:[Mr.ChainId.ETHEREUM_MAINNET],optionalChains:[Mr.ChainId.MATIC_MAINNET,Mr.ChainId.ARBITRUM_MAINNET,Mr.ChainId.OPTIMISM_MAINNET,Mr.ChainId.AVALANCHE_MAINNET,Mr.ChainId.BSC_MAINNET,Mr.ChainId.FANTOM_MAINNET]},[Mr.ChainId.ETHEREUM_SEPOLIA]:{chains:[Mr.ChainId.ETHEREUM_SEPOLIA],optionalChains:[Mr.ChainId.MATIC_AMOY]}}},[$r.ProviderType.MAGIC]:{apiKey:"pk_live_212568025B158355",urls:e1($r.ProviderType.MAGIC),chains:[Mr.ChainId.ETHEREUM_MAINNET,Mr.ChainId.ETHEREUM_SEPOLIA,Mr.ChainId.MATIC_MAINNET,Mr.ChainId.MATIC_AMOY,Mr.ChainId.OPTIMISM_MAINNET,Mr.ChainId.ARBITRUM_MAINNET,Mr.ChainId.AVALANCHE_MAINNET,Mr.ChainId.BSC_MAINNET,Mr.ChainId.FANTOM_MAINNET]},[$r.ProviderType.MAGIC_TEST]:{apiKey:"pk_live_CE856A4938B36648",urls:e1($r.ProviderType.MAGIC),chains:[Mr.ChainId.ETHEREUM_MAINNET,Mr.ChainId.ETHEREUM_SEPOLIA,Mr.ChainId.MATIC_MAINNET,Mr.ChainId.MATIC_AMOY,Mr.ChainId.OPTIMISM_MAINNET,Mr.ChainId.ARBITRUM_MAINNET,Mr.ChainId.AVALANCHE_MAINNET,Mr.ChainId.BSC_MAINNET,Mr.ChainId.FANTOM_MAINNET]}});function vu(){return XIe}function e1(e){const t={[Mr.ChainId.ETHEREUM_MAINNET]:"https://rpc.decentraland.org/mainnet",[Mr.ChainId.ETHEREUM_SEPOLIA]:"https://rpc.decentraland.org/sepolia",[Mr.ChainId.MATIC_MAINNET]:"https://rpc.decentraland.org/polygon",[Mr.ChainId.MATIC_AMOY]:"https://rpc.decentraland.org/amoy",[Mr.ChainId.ARBITRUM_MAINNET]:"https://rpc.decentraland.org/arbitrum",[Mr.ChainId.OPTIMISM_MAINNET]:"https://rpc.decentraland.org/optimism",[Mr.ChainId.AVALANCHE_MAINNET]:"https://rpc.decentraland.org/avalanche",[Mr.ChainId.BSC_MAINNET]:"https://rpc.decentraland.org/binance",[Mr.ChainId.FANTOM_MAINNET]:"https://rpc.decentraland.org/fantom"};let r="";switch(e){case $r.ProviderType.WALLET_LINK:r="walletlink";break;case $r.ProviderType.FORTMATIC:r="fortmatic";break;case $r.ProviderType.MAGIC:r="magic";break;case $r.ProviderType.MAGIC_TEST:r="magic";break;case $r.ProviderType.WALLET_CONNECT_V2:r="walletconnect-v2";break;case $r.ProviderType.AUTH_SERVER:r="auth-server";break}if(r)for(const n in t)t[n]+=`?project=${r}`;return t}class QIe extends cp{constructor(t){const r=vu()[yu.ProviderType.FORTMATIC],n=Object.keys(r.apiKeys).map(i=>Number(i));if(!n.includes(t))throw new Error(`Invariant error: Unsupported chainId ${t}`);super({supportedChainIds:n}),this.apiKey=r.apiKeys[t],this.chainId=t,this.rpcUrl=r.urls[t]}async activate(){if(!this.fortmatic){const{default:r}=await Eh(async()=>{const{default:n}=await import("./fortmatic-8stnLsAV.js").then(i=>i.f);return{default:n}},[]);this.fortmatic=new r(this.apiKey,{rpcUrl:this.rpcUrl,chainId:this.chainId})}const t=await this.fortmatic.getProvider().enable().then(r=>r[0]);return{provider:this.fortmatic.getProvider(),chainId:this.chainId,account:t}}getApiKey(){return this.apiKey}async getProvider(){return this.fortmatic.getProvider()}async getChainId(){return this.chainId}async getAccount(){return this.fortmatic.getProvider().send("eth_accounts").then(t=>t[0])}deactivate(){}close(){return this.fortmatic.user.logout()}}function xA(){return xA=Object.assign||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},xA.apply(this,arguments)}function sL(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function wA(e){return wA=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wA(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Sb(e,t)}function eOe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function z4(e,t,r){return eOe()?z4=Reflect.construct:z4=function(i,o,a){var s=[null];s.push.apply(s,o);var l=Function.bind.apply(i,s),c=new l;return a&&Sb(c,a.prototype),c},z4.apply(null,arguments)}function tOe(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ab(e){var t=typeof Map=="function"?new Map:void 0;return Ab=function(n){if(n===null||!tOe(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return z4(n,arguments,wA(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Sb(i,n)},Ab(e)}function M5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}typeof Symbol<"u"&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator")));typeof Symbol<"u"&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));function qp(e,t){try{var r=e()}catch(n){return t(n)}return r&&r.then?r.then(void 0,t):r}function Kl(e){return e.hasOwnProperty("result")?e.result:e}var OE=function(e){sL(t,e);function t(){var r;return r=e.call(this)||this,r.name=r.constructor.name,r.message="No Ethereum provider was found on window.ethereum.",r}return t}(Ab(Error)),rOe=function(e){sL(t,e);function t(){var r;return r=e.call(this)||this,r.name=r.constructor.name,r.message="The user rejected the request.",r}return t}(Ab(Error)),nOe=function(e){sL(t,e);function t(n){var i;return i=e.call(this,n)||this,i.handleNetworkChanged=i.handleNetworkChanged.bind(M5(i)),i.handleChainChanged=i.handleChainChanged.bind(M5(i)),i.handleAccountsChanged=i.handleAccountsChanged.bind(M5(i)),i.handleClose=i.handleClose.bind(M5(i)),i}var r=t.prototype;return r.handleChainChanged=function(i){this.emitUpdate({chainId:i,provider:window.ethereum})},r.handleAccountsChanged=function(i){i.length===0?this.emitDeactivate():this.emitUpdate({account:i[0]})},r.handleClose=function(i,o){this.emitDeactivate()},r.handleNetworkChanged=function(i){this.emitUpdate({chainId:i,provider:window.ethereum})},r.activate=function(){try{var i=function(d){if(o)return d;function f(){return xA({provider:window.ethereum},s?{account:s}:{})}var p=function(){if(!s)return Promise.resolve(window.ethereum.enable().then(function(m){return m&&Kl(m)[0]})).then(function(m){s=m})}();return p&&p.then?p.then(f):f(p)},o=!1,a=this;if(!window.ethereum)throw new OE;window.ethereum.on&&(window.ethereum.on("chainChanged",a.handleChainChanged),window.ethereum.on("accountsChanged",a.handleAccountsChanged),window.ethereum.on("close",a.handleClose),window.ethereum.on("networkChanged",a.handleNetworkChanged)),window.ethereum.isMetaMask&&(window.ethereum.autoRefreshOnNetworkChange=!1);var s,l=qp(function(){return Promise.resolve(window.ethereum.send("eth_requestAccounts").then(function(c){return Kl(c)[0]})).then(function(c){s=c})},function(c){if(c.code===4001)throw new rOe});return Promise.resolve(l&&l.then?l.then(i):i(l))}catch(c){return Promise.reject(c)}},r.getProvider=function(){try{return Promise.resolve(window.ethereum)}catch(i){return Promise.reject(i)}},r.getChainId=function(){try{var i=function(){function l(){if(!o)try{o=Kl(window.ethereum.send({method:"net_version"}))}catch{}return o||(window.ethereum.isDapper?o=Kl(window.ethereum.cachedResults.net_version):o=window.ethereum.chainId||window.ethereum.netVersion||window.ethereum.networkVersion||window.ethereum._chainId),o}var c=function(){if(!o){var d=qp(function(){return Promise.resolve(window.ethereum.send("net_version").then(Kl)).then(function(f){o=f})},function(){});if(d&&d.then)return d.then(function(){})}}();return c&&c.then?c.then(l):l(c)};if(!window.ethereum)throw new OE;var o,a=qp(function(){return Promise.resolve(window.ethereum.send("eth_chainId").then(Kl)).then(function(s){o=s})},function(){});return Promise.resolve(a&&a.then?a.then(i):i(a))}catch(s){return Promise.reject(s)}},r.getAccount=function(){try{var i=function(){function l(){return o||(o=Kl(window.ethereum.send({method:"eth_accounts"}))[0]),o}var c=function(){if(!o){var d=qp(function(){return Promise.resolve(window.ethereum.enable().then(function(f){return Kl(f)[0]})).then(function(f){o=f})},function(){});if(d&&d.then)return d.then(function(){})}}();return c&&c.then?c.then(l):l(c)};if(!window.ethereum)throw new OE;var o,a=qp(function(){return Promise.resolve(window.ethereum.send("eth_accounts").then(function(s){return Kl(s)[0]})).then(function(s){o=s})},function(){});return Promise.resolve(a&&a.then?a.then(i):i(a))}catch(s){return Promise.reject(s)}},r.deactivate=function(){window.ethereum&&window.ethereum.removeListener&&(window.ethereum.removeListener("chainChanged",this.handleChainChanged),window.ethereum.removeListener("accountsChanged",this.handleAccountsChanged),window.ethereum.removeListener("close",this.handleClose),window.ethereum.removeListener("networkChanged",this.handleNetworkChanged))},r.isAuthorized=function(){try{return window.ethereum?Promise.resolve(qp(function(){return Promise.resolve(window.ethereum.send("eth_accounts").then(function(i){return Kl(i).length>0}))},function(){return!1})):Promise.resolve(!1)}catch(i){return Promise.reject(i)}},t}(cp);class iOe extends Error{constructor(){super("There was an error unlocking your wallet. Please be sure your wallet is unlocked and try again."),this.name="ErrorUnlockingWallet"}}const oOe=60*1e3;class aOe extends nOe{constructor(t){super({supportedChainIds:[t]})}async activate(){const t=new Promise((n,i)=>{setTimeout(()=>{i(new iOe)},oOe)}),r=super.activate();return Promise.race([r,t])}}var sOe="Invariant failed";function T$(e,t){throw new Error(sOe)}function ure(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_y(e,t)}function CA(e){return CA=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},CA(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},_y(e,t)}function lOe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function q4(e,t,r){return lOe()?q4=Reflect.construct:q4=function(i,o,a){var s=[null];s.push.apply(s,o);var l=Function.bind.apply(i,s),c=new l;return a&&_y(c,a.prototype),c},q4.apply(null,arguments)}function cOe(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function SA(e){var t=typeof Map=="function"?new Map:void 0;return SA=function(n){if(n===null||!cOe(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return q4(n,arguments,CA(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),_y(i,n)},SA(e)}var PE=function(e){ure(t,e);function t(r,n,i){var o;return o=e.call(this)||this,o.code=n,o.data=i,o.name=o.constructor.name,o.message=r,o}return t}(SA(Error)),uOe=function(t,r){var n=this,i=this;this.isMetaMask=!1,this.sendAsync=function(a,s){console.log("sendAsync",a.method,a.params),i.request(a.method,a.params).then(function(l){return s(null,{jsonrpc:"2.0",id:a.id,result:l})}).catch(function(l){return s(l,null)})},this.request=function(a,s){try{return typeof a!="string"&&(s=a.params,a=a.method),Promise.resolve(fetch(n.url,{method:"POST",body:JSON.stringify({jsonrpc:"2.0",id:1,method:a,params:s}),headers:{"Content-Type":"application/json"}})).then(function(l){if(!l.ok)throw new PE(l.status+": "+l.statusText,-32e3);return Promise.resolve(l.json()).then(function(c){if("error"in c){var d,f,p;throw new PE(c==null||(d=c.error)==null?void 0:d.message,c==null||(f=c.error)==null?void 0:f.code,c==null||(p=c.error)==null?void 0:p.data)}else{if("result"in c)return c.result;throw new PE("Received unexpected JSON-RPC response to "+a+" request.",-32e3,c)}})})}catch(l){return Promise.reject(l)}},this.chainId=t,this.url=r;var o=new URL(r);this.host=o.host,this.path=o.pathname},dOe=function(e){ure(t,e);function t(n){var i,o=n.urls,a=n.defaultChainId;return a||Object.keys(o).length===1||T$(),i=e.call(this,{supportedChainIds:Object.keys(o).map(function(s){return Number(s)})})||this,i.currentChainId=a||Number(Object.keys(o)[0]),i.providers=Object.keys(o).reduce(function(s,l){return s[Number(l)]=new uOe(Number(l),o[Number(l)]),s},{}),i}var r=t.prototype;return r.activate=function(){try{var i=this;return Promise.resolve({provider:i.providers[i.currentChainId],chainId:i.currentChainId,account:null})}catch(o){return Promise.reject(o)}},r.getProvider=function(){try{var i=this;return Promise.resolve(i.providers[i.currentChainId])}catch(o){return Promise.reject(o)}},r.getChainId=function(){try{var i=this;return Promise.resolve(i.currentChainId)}catch(o){return Promise.reject(o)}},r.getAccount=function(){return Promise.resolve(null)},r.deactivate=function(){},r.changeChainId=function(i){Object.keys(this.providers).includes(i.toString())||T$(),this.currentChainId=i,this.emitUpdate({provider:this.providers[this.currentChainId],chainId:i})},t}(cp);class fOe extends dOe{constructor(t){super({urls:vu()[$r.ProviderType.NETWORK].urls,defaultChainId:t})}}function AA(){return AA=Object.assign||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},AA.apply(this,arguments)}function pOe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,TA(e,t)}function TA(e,t){return TA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},TA(e,t)}function M$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var hOe=1,mOe=function(e){pOe(t,e);function t(n){var i,o=n.url,a=n.appName,s=n.appLogoUrl,l=n.darkMode,c=n.supportedChainIds;return i=e.call(this,{supportedChainIds:c})||this,i.url=o,i.appName=a,i.appLogoUrl=s,i.darkMode=l||!1,i.handleChainChanged=i.handleChainChanged.bind(M$(i)),i.handleAccountsChanged=i.handleAccountsChanged.bind(M$(i)),i}var r=t.prototype;return r.activate=function(){try{var i=this,o=function(){return Promise.resolve(i.provider.request({method:"eth_requestAccounts"})).then(function(l){var c=l[0];return i.provider.on("chainChanged",i.handleChainChanged),i.provider.on("accountsChanged",i.handleAccountsChanged),{provider:i.provider,account:c}})},a=function(){if(window.ethereum&&window.ethereum.isCoinbaseWallet===!0)i.provider=window.ethereum;else{var s=function(){if(!i.walletLink)return Promise.resolve(Eh(()=>import("./index-DAI5t1VC.js").then(l=>l.i),[]).then(function(l){var c;return(c=l==null?void 0:l.default)!=null?c:l})).then(function(l){i.walletLink=new l(AA({appName:i.appName,darkMode:i.darkMode},i.appLogoUrl?{appLogoUrl:i.appLogoUrl}:{})),i.provider=i.walletLink.makeWeb3Provider(i.url,hOe)})}();if(s&&s.then)return s.then(function(){})}}();return Promise.resolve(a&&a.then?a.then(o):o(a))}catch(s){return Promise.reject(s)}},r.getProvider=function(){try{var i=this;return Promise.resolve(i.provider)}catch(o){return Promise.reject(o)}},r.getChainId=function(){try{var i=this;return Promise.resolve(i.provider.chainId)}catch(o){return Promise.reject(o)}},r.getAccount=function(){try{var i=this;return Promise.resolve(i.provider.request({method:"eth_requestAccounts"})).then(function(o){return o[0]})}catch(o){return Promise.reject(o)}},r.deactivate=function(){this.provider.removeListener("chainChanged",this.handleChainChanged),this.provider.removeListener("accountsChanged",this.handleAccountsChanged)},r.close=function(){try{var i=this;return i.provider.close(),i.emitDeactivate(),Promise.resolve()}catch(o){return Promise.reject(o)}},r.handleChainChanged=function(i){this.emitUpdate({chainId:i})},r.handleAccountsChanged=function(i){this.emitUpdate({account:i[0]})},t}(cp);class gOe extends mOe{constructor(t){const r=vu()[yu.ProviderType.WALLET_LINK];super({url:r.urls[t],appName:r.appName,supportedChainIds:[t]})}}class pc extends cp{constructor(t){super({supportedChainIds:(()=>{const{chains:r,optionalChains:n}=pc.configuration.chains[t];return[...r,...n]})()}),this.desiredChainId=t,this.activate=async()=>{const r=await Eh(()=>import("./index.es-wwIEW5bf.js").then(i=>i.i),[]).then(i=>{const{chains:o,optionalChains:a}=pc.configuration.chains[this.desiredChainId];return i.default.init({projectId:pc.configuration.projectId,rpcMap:pc.configuration.urls,chains:o,optionalChains:a,showQrModal:!0,disableProviderPing:!0,qrModalOptions:{themeVariables:{"--wcm-z-index":"3000"}},methods:["eth_sendTransaction","personal_sign"],optionalMethods:["eth_accounts","eth_requestAccounts","eth_sign","eth_signTypedData_v4","wallet_switchEthereumChain","wallet_addEthereumChain"],events:["chainChanged","accountsChanged"],optionalEvents:["disconnect"]})}),n=await r.enable();return r.on("accountsChanged",this.handleAccountsChanged),r.on("chainChanged",this.handleChainChanged),r.on("disconnect",this.handleDisconnect),this.provider=r,{chainId:r.chainId,account:n[0],provider:r}},this.getProvider=async()=>{if(!this.provider)throw new Error("Provider is undefined");return this.provider},this.getChainId=async()=>{if(!this.provider)throw new Error("Provider is undefined");return this.provider.chainId},this.getAccount=async()=>{if(!this.provider)throw new Error("Provider is undefined");return this.provider.accounts[0]},this.getWalletName=()=>{var r,n;return(n=(r=this.provider)==null?void 0:r.session)==null?void 0:n.peer.metadata.name},this.deactivate=()=>{},this.close=async()=>{if(this.provider)return this.provider.removeListener("accountsChanged",this.handleAccountsChanged).removeListener("chainChanged",this.handleChainChanged).removeListener("disconnect",this.handleDisconnect).disconnect()},this.handleAccountsChanged=r=>{this.emitUpdate({account:r[0]})},this.handleChainChanged=r=>{this.emitUpdate({chainId:r})},this.handleDisconnect=()=>{if(!this.provider)throw new Error("Provider is undefined");return this.emitDeactivate()}}}pc.configuration=vu()[yu.ProviderType.WALLET_CONNECT_V2];pc.clearStorage=e=>{e.removeRegExp(new RegExp("^wc@2:"))};class dre extends cp{constructor(t,r=!1){super({supportedChainIds:vu()[yu.ProviderType.MAGIC].chains}),this.isTest=r,this.activate=async()=>{if(this.magic=await this.buildMagicInstance(this.chainId),!await this.magic.user.isLoggedIn())throw new Error("Magic: user isn't logged in");const i=await this.getProvider(),o=await i.request({method:"eth_accounts"});return this.account=o[0]??null,{provider:i,chainId:this.chainId,account:this.account}},this.getProvider=async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");const n=await this.magic.wallet.getProvider();return{...n,isMagic:!0,request:new Proxy(n.request,{apply:async(i,o,a)=>{var s,l,c;if(((s=a[0])==null?void 0:s.method)==="wallet_switchEthereumChain")try{const d=parseInt((c=(l=a[0])==null?void 0:l.params[0])==null?void 0:c.chainId,16);return this.supportedChainIds&&!this.supportedChainIds.includes(d)?{code:2020202,message:"Unsupported Magic ChainId"}:(this.magic=await this.buildMagicInstance(d),this.emitUpdate({chainId:d}),null)}catch{return{code:2020201,message:"Error changing the Magic ChainId"}}return i.bind(n)(...a)}}),sendAsync:new Proxy(n.send,{apply:async(i,o,a)=>i.bind(n)(...a)})}},this.getChainId=async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.chainId},this.getAccount=async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.account},this.deactivate=()=>{},this.buildMagicInstance=async n=>{const{Magic:i}=await Eh(async()=>{const{Magic:s}=await import("./index-hYuGvrPG.js");return{Magic:s}},__vite__mapDeps([0,1])),{OAuthExtension:o}=await Eh(async()=>{const{OAuthExtension:s}=await import("./index-CjLG8mEj.js");return{OAuthExtension:s}},__vite__mapDeps([2,1])),a=vu()[this.isTest?yu.ProviderType.MAGIC_TEST:yu.ProviderType.MAGIC];return new i(a.apiKey,{extensions:[new o],network:{rpcUrl:a.urls[n],chainId:n}})},this.chainId=t,this.account=null}close(){if(!this.magic)throw new Error("Magic: instance was not initialized");return this.magic.user.logout()}}class yOe extends dre{constructor(t){super(t,!0)}}var lL={exports:{}};const vOe={},bOe=Object.freeze(Object.defineProperty({__proto__:null,default:vOe},Symbol.toStringTag,{value:"Module"})),fre=Nc(bOe);lL.exports;(function(e){(function(t,r){function n($,M){if(!$)throw new Error(M||"Assertion failed")}function i($,M){$.super_=M;var O=function(){};O.prototype=M.prototype,$.prototype=new O,$.prototype.constructor=$}function o($,M,O){if(o.isBN($))return $;this.negative=0,this.words=null,this.length=0,this.red=null,$!==null&&((M==="le"||M==="be")&&(O=M,M=10),this._init($||0,M||10,O||"be"))}typeof t=="object"?t.exports=o:r.BN=o,o.BN=o,o.wordSize=26;var a;try{typeof window<"u"&&typeof window.Buffer<"u"?a=window.Buffer:a=fre.Buffer}catch{}o.isBN=function(M){return M instanceof o?!0:M!==null&&typeof M=="object"&&M.constructor.wordSize===o.wordSize&&Array.isArray(M.words)},o.max=function(M,O){return M.cmp(O)>0?M:O},o.min=function(M,O){return M.cmp(O)<0?M:O},o.prototype._init=function(M,O,N){if(typeof M=="number")return this._initNumber(M,O,N);if(typeof M=="object")return this._initArray(M,O,N);O==="hex"&&(O=16),n(O===(O|0)&&O>=2&&O<=36),M=M.toString().replace(/\s+/g,"");var H=0;M[0]==="-"&&(H++,this.negative=1),H<M.length&&(O===16?this._parseHex(M,H,N):(this._parseBase(M,O,H),N==="le"&&this._initArray(this.toArray(),O,N)))},o.prototype._initNumber=function(M,O,N){M<0&&(this.negative=1,M=-M),M<67108864?(this.words=[M&67108863],this.length=1):M<4503599627370496?(this.words=[M&67108863,M/67108864&67108863],this.length=2):(n(M<9007199254740992),this.words=[M&67108863,M/67108864&67108863,1],this.length=3),N==="le"&&this._initArray(this.toArray(),O,N)},o.prototype._initArray=function(M,O,N){if(n(typeof M.length=="number"),M.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(M.length/3),this.words=new Array(this.length);for(var H=0;H<this.length;H++)this.words[H]=0;var V,K,j=0;if(N==="be")for(H=M.length-1,V=0;H>=0;H-=3)K=M[H]|M[H-1]<<8|M[H-2]<<16,this.words[V]|=K<<j&67108863,this.words[V+1]=K>>>26-j&67108863,j+=24,j>=26&&(j-=26,V++);else if(N==="le")for(H=0,V=0;H<M.length;H+=3)K=M[H]|M[H+1]<<8|M[H+2]<<16,this.words[V]|=K<<j&67108863,this.words[V+1]=K>>>26-j&67108863,j+=24,j>=26&&(j-=26,V++);return this._strip()};function s($,M){var O=$.charCodeAt(M);if(O>=48&&O<=57)return O-48;if(O>=65&&O<=70)return O-55;if(O>=97&&O<=102)return O-87;n(!1,"Invalid character in "+$)}function l($,M,O){var N=s($,O);return O-1>=M&&(N|=s($,O-1)<<4),N}o.prototype._parseHex=function(M,O,N){this.length=Math.ceil((M.length-O)/6),this.words=new Array(this.length);for(var H=0;H<this.length;H++)this.words[H]=0;var V=0,K=0,j;if(N==="be")for(H=M.length-1;H>=O;H-=2)j=l(M,O,H)<<V,this.words[K]|=j&67108863,V>=18?(V-=18,K+=1,this.words[K]|=j>>>26):V+=8;else{var A=M.length-O;for(H=A%2===0?O+1:O;H<M.length;H+=2)j=l(M,O,H)<<V,this.words[K]|=j&67108863,V>=18?(V-=18,K+=1,this.words[K]|=j>>>26):V+=8}this._strip()};function c($,M,O,N){for(var H=0,V=0,K=Math.min($.length,O),j=M;j<K;j++){var A=$.charCodeAt(j)-48;H*=N,A>=49?V=A-49+10:A>=17?V=A-17+10:V=A,n(A>=0&&V<N,"Invalid character"),H+=V}return H}o.prototype._parseBase=function(M,O,N){this.words=[0],this.length=1;for(var H=0,V=1;V<=67108863;V*=O)H++;H--,V=V/O|0;for(var K=M.length-N,j=K%H,A=Math.min(K,K-j)+N,x=0,C=N;C<A;C+=H)x=c(M,C,C+H,O),this.imuln(V),this.words[0]+x<67108864?this.words[0]+=x:this._iaddn(x);if(j!==0){var E=1;for(x=c(M,C,M.length,O),C=0;C<j;C++)E*=O;this.imuln(E),this.words[0]+x<67108864?this.words[0]+=x:this._iaddn(x)}this._strip()},o.prototype.copy=function(M){M.words=new Array(this.length);for(var O=0;O<this.length;O++)M.words[O]=this.words[O];M.length=this.length,M.negative=this.negative,M.red=this.red};function d($,M){$.words=M.words,$.length=M.length,$.negative=M.negative,$.red=M.red}if(o.prototype._move=function(M){d(M,this)},o.prototype.clone=function(){var M=new o(null);return this.copy(M),M},o.prototype._expand=function(M){for(;this.length<M;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},o.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch{o.prototype.inspect=f}else o.prototype.inspect=f;function f(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var p=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],m=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(M,O){M=M||10,O=O|0||1;var N;if(M===16||M==="hex"){N="";for(var H=0,V=0,K=0;K<this.length;K++){var j=this.words[K],A=((j<<H|V)&16777215).toString(16);V=j>>>24-H&16777215,H+=2,H>=26&&(H-=26,K--),V!==0||K!==this.length-1?N=p[6-A.length]+A+N:N=A+N}for(V!==0&&(N=V.toString(16)+N);N.length%O!==0;)N="0"+N;return this.negative!==0&&(N="-"+N),N}if(M===(M|0)&&M>=2&&M<=36){var x=m[M],C=v[M];N="";var E=this.clone();for(E.negative=0;!E.isZero();){var _=E.modrn(C).toString(M);E=E.idivn(C),E.isZero()?N=_+N:N=p[x-_.length]+_+N}for(this.isZero()&&(N="0"+N);N.length%O!==0;)N="0"+N;return this.negative!==0&&(N="-"+N),N}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var M=this.words[0];return this.length===2?M+=this.words[1]*67108864:this.length===3&&this.words[2]===1?M+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-M:M},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(M,O){return this.toArrayLike(a,M,O)}),o.prototype.toArray=function(M,O){return this.toArrayLike(Array,M,O)};var g=function(M,O){return M.allocUnsafe?M.allocUnsafe(O):new M(O)};o.prototype.toArrayLike=function(M,O,N){this._strip();var H=this.byteLength(),V=N||Math.max(1,H);n(H<=V,"byte array longer than desired length"),n(V>0,"Requested array length <= 0");var K=g(M,V),j=O==="le"?"LE":"BE";return this["_toArrayLike"+j](K,H),K},o.prototype._toArrayLikeLE=function(M,O){for(var N=0,H=0,V=0,K=0;V<this.length;V++){var j=this.words[V]<<K|H;M[N++]=j&255,N<M.length&&(M[N++]=j>>8&255),N<M.length&&(M[N++]=j>>16&255),K===6?(N<M.length&&(M[N++]=j>>24&255),H=0,K=0):(H=j>>>24,K+=2)}if(N<M.length)for(M[N++]=H;N<M.length;)M[N++]=0},o.prototype._toArrayLikeBE=function(M,O){for(var N=M.length-1,H=0,V=0,K=0;V<this.length;V++){var j=this.words[V]<<K|H;M[N--]=j&255,N>=0&&(M[N--]=j>>8&255),N>=0&&(M[N--]=j>>16&255),K===6?(N>=0&&(M[N--]=j>>24&255),H=0,K=0):(H=j>>>24,K+=2)}if(N>=0)for(M[N--]=H;N>=0;)M[N--]=0},Math.clz32?o.prototype._countBits=function(M){return 32-Math.clz32(M)}:o.prototype._countBits=function(M){var O=M,N=0;return O>=4096&&(N+=13,O>>>=13),O>=64&&(N+=7,O>>>=7),O>=8&&(N+=4,O>>>=4),O>=2&&(N+=2,O>>>=2),N+O},o.prototype._zeroBits=function(M){if(M===0)return 26;var O=M,N=0;return O&8191||(N+=13,O>>>=13),O&127||(N+=7,O>>>=7),O&15||(N+=4,O>>>=4),O&3||(N+=2,O>>>=2),O&1||N++,N},o.prototype.bitLength=function(){var M=this.words[this.length-1],O=this._countBits(M);return(this.length-1)*26+O};function b($){for(var M=new Array($.bitLength()),O=0;O<M.length;O++){var N=O/26|0,H=O%26;M[O]=$.words[N]>>>H&1}return M}o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var M=0,O=0;O<this.length;O++){var N=this._zeroBits(this.words[O]);if(M+=N,N!==26)break}return M},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(M){return this.negative!==0?this.abs().inotn(M).iaddn(1):this.clone()},o.prototype.fromTwos=function(M){return this.testn(M-1)?this.notn(M).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return this.negative!==0},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(M){for(;this.length<M.length;)this.words[this.length++]=0;for(var O=0;O<M.length;O++)this.words[O]=this.words[O]|M.words[O];return this._strip()},o.prototype.ior=function(M){return n((this.negative|M.negative)===0),this.iuor(M)},o.prototype.or=function(M){return this.length>M.length?this.clone().ior(M):M.clone().ior(this)},o.prototype.uor=function(M){return this.length>M.length?this.clone().iuor(M):M.clone().iuor(this)},o.prototype.iuand=function(M){var O;this.length>M.length?O=M:O=this;for(var N=0;N<O.length;N++)this.words[N]=this.words[N]&M.words[N];return this.length=O.length,this._strip()},o.prototype.iand=function(M){return n((this.negative|M.negative)===0),this.iuand(M)},o.prototype.and=function(M){return this.length>M.length?this.clone().iand(M):M.clone().iand(this)},o.prototype.uand=function(M){return this.length>M.length?this.clone().iuand(M):M.clone().iuand(this)},o.prototype.iuxor=function(M){var O,N;this.length>M.length?(O=this,N=M):(O=M,N=this);for(var H=0;H<N.length;H++)this.words[H]=O.words[H]^N.words[H];if(this!==O)for(;H<O.length;H++)this.words[H]=O.words[H];return this.length=O.length,this._strip()},o.prototype.ixor=function(M){return n((this.negative|M.negative)===0),this.iuxor(M)},o.prototype.xor=function(M){return this.length>M.length?this.clone().ixor(M):M.clone().ixor(this)},o.prototype.uxor=function(M){return this.length>M.length?this.clone().iuxor(M):M.clone().iuxor(this)},o.prototype.inotn=function(M){n(typeof M=="number"&&M>=0);var O=Math.ceil(M/26)|0,N=M%26;this._expand(O),N>0&&O--;for(var H=0;H<O;H++)this.words[H]=~this.words[H]&67108863;return N>0&&(this.words[H]=~this.words[H]&67108863>>26-N),this._strip()},o.prototype.notn=function(M){return this.clone().inotn(M)},o.prototype.setn=function(M,O){n(typeof M=="number"&&M>=0);var N=M/26|0,H=M%26;return this._expand(N+1),O?this.words[N]=this.words[N]|1<<H:this.words[N]=this.words[N]&~(1<<H),this._strip()},o.prototype.iadd=function(M){var O;if(this.negative!==0&&M.negative===0)return this.negative=0,O=this.isub(M),this.negative^=1,this._normSign();if(this.negative===0&&M.negative!==0)return M.negative=0,O=this.isub(M),M.negative=1,O._normSign();var N,H;this.length>M.length?(N=this,H=M):(N=M,H=this);for(var V=0,K=0;K<H.length;K++)O=(N.words[K]|0)+(H.words[K]|0)+V,this.words[K]=O&67108863,V=O>>>26;for(;V!==0&&K<N.length;K++)O=(N.words[K]|0)+V,this.words[K]=O&67108863,V=O>>>26;if(this.length=N.length,V!==0)this.words[this.length]=V,this.length++;else if(N!==this)for(;K<N.length;K++)this.words[K]=N.words[K];return this},o.prototype.add=function(M){var O;return M.negative!==0&&this.negative===0?(M.negative=0,O=this.sub(M),M.negative^=1,O):M.negative===0&&this.negative!==0?(this.negative=0,O=M.sub(this),this.negative=1,O):this.length>M.length?this.clone().iadd(M):M.clone().iadd(this)},o.prototype.isub=function(M){if(M.negative!==0){M.negative=0;var O=this.iadd(M);return M.negative=1,O._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(M),this.negative=1,this._normSign();var N=this.cmp(M);if(N===0)return this.negative=0,this.length=1,this.words[0]=0,this;var H,V;N>0?(H=this,V=M):(H=M,V=this);for(var K=0,j=0;j<V.length;j++)O=(H.words[j]|0)-(V.words[j]|0)+K,K=O>>26,this.words[j]=O&67108863;for(;K!==0&&j<H.length;j++)O=(H.words[j]|0)+K,K=O>>26,this.words[j]=O&67108863;if(K===0&&j<H.length&&H!==this)for(;j<H.length;j++)this.words[j]=H.words[j];return this.length=Math.max(this.length,j),H!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(M){return this.clone().isub(M)};function h($,M,O){O.negative=M.negative^$.negative;var N=$.length+M.length|0;O.length=N,N=N-1|0;var H=$.words[0]|0,V=M.words[0]|0,K=H*V,j=K&67108863,A=K/67108864|0;O.words[0]=j;for(var x=1;x<N;x++){for(var C=A>>>26,E=A&67108863,_=Math.min(x,M.length-1),P=Math.max(0,x-$.length+1);P<=_;P++){var G=x-P|0;H=$.words[G]|0,V=M.words[P]|0,K=H*V+E,C+=K/67108864|0,E=K&67108863}O.words[x]=E|0,A=C|0}return A!==0?O.words[x]=A|0:O.length--,O._strip()}var y=function(M,O,N){var H=M.words,V=O.words,K=N.words,j=0,A,x,C,E=H[0]|0,_=E&8191,P=E>>>13,G=H[1]|0,z=G&8191,Z=G>>>13,ie=H[2]|0,ge=ie&8191,ye=ie>>>13,Ie=H[3]|0,_e=Ie&8191,Se=Ie>>>13,We=H[4]|0,Ye=We&8191,He=We>>>13,tr=H[5]|0,ke=tr&8191,st=tr>>>13,lt=H[6]|0,nt=lt&8191,it=lt>>>13,ht=H[7]|0,Et=ht&8191,Ot=ht>>>13,Le=H[8]|0,be=Le&8191,je=Le>>>13,Pt=H[9]|0,at=Pt&8191,ut=Pt>>>13,ir=V[0]|0,$e=ir&8191,Be=ir>>>13,Bt=V[1]|0,yt=Bt&8191,$t=Bt>>>13,cn=V[2]|0,rr=cn&8191,xt=cn>>>13,Qr=V[3]|0,cr=Qr&8191,se=Qr>>>13,ee=V[4]|0,ae=ee&8191,pe=ee>>>13,Ce=V[5]|0,Te=Ce&8191,Ue=Ce>>>13,et=V[6]|0,Je=et&8191,tt=et>>>13,qt=V[7]|0,_t=qt&8191,At=qt>>>13,Kr=V[8]|0,Wt=Kr&8191,lr=Kr>>>13,kr=V[9]|0,Yt=kr&8191,Nr=kr>>>13;N.negative=M.negative^O.negative,N.length=19,A=Math.imul(_,$e),x=Math.imul(_,Be),x=x+Math.imul(P,$e)|0,C=Math.imul(P,Be);var fi=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(fi>>>26)|0,fi&=67108863,A=Math.imul(z,$e),x=Math.imul(z,Be),x=x+Math.imul(Z,$e)|0,C=Math.imul(Z,Be),A=A+Math.imul(_,yt)|0,x=x+Math.imul(_,$t)|0,x=x+Math.imul(P,yt)|0,C=C+Math.imul(P,$t)|0;var nn=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(nn>>>26)|0,nn&=67108863,A=Math.imul(ge,$e),x=Math.imul(ge,Be),x=x+Math.imul(ye,$e)|0,C=Math.imul(ye,Be),A=A+Math.imul(z,yt)|0,x=x+Math.imul(z,$t)|0,x=x+Math.imul(Z,yt)|0,C=C+Math.imul(Z,$t)|0,A=A+Math.imul(_,rr)|0,x=x+Math.imul(_,xt)|0,x=x+Math.imul(P,rr)|0,C=C+Math.imul(P,xt)|0;var Qt=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,A=Math.imul(_e,$e),x=Math.imul(_e,Be),x=x+Math.imul(Se,$e)|0,C=Math.imul(Se,Be),A=A+Math.imul(ge,yt)|0,x=x+Math.imul(ge,$t)|0,x=x+Math.imul(ye,yt)|0,C=C+Math.imul(ye,$t)|0,A=A+Math.imul(z,rr)|0,x=x+Math.imul(z,xt)|0,x=x+Math.imul(Z,rr)|0,C=C+Math.imul(Z,xt)|0,A=A+Math.imul(_,cr)|0,x=x+Math.imul(_,se)|0,x=x+Math.imul(P,cr)|0,C=C+Math.imul(P,se)|0;var Gn=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,A=Math.imul(Ye,$e),x=Math.imul(Ye,Be),x=x+Math.imul(He,$e)|0,C=Math.imul(He,Be),A=A+Math.imul(_e,yt)|0,x=x+Math.imul(_e,$t)|0,x=x+Math.imul(Se,yt)|0,C=C+Math.imul(Se,$t)|0,A=A+Math.imul(ge,rr)|0,x=x+Math.imul(ge,xt)|0,x=x+Math.imul(ye,rr)|0,C=C+Math.imul(ye,xt)|0,A=A+Math.imul(z,cr)|0,x=x+Math.imul(z,se)|0,x=x+Math.imul(Z,cr)|0,C=C+Math.imul(Z,se)|0,A=A+Math.imul(_,ae)|0,x=x+Math.imul(_,pe)|0,x=x+Math.imul(P,ae)|0,C=C+Math.imul(P,pe)|0;var ja=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(ja>>>26)|0,ja&=67108863,A=Math.imul(ke,$e),x=Math.imul(ke,Be),x=x+Math.imul(st,$e)|0,C=Math.imul(st,Be),A=A+Math.imul(Ye,yt)|0,x=x+Math.imul(Ye,$t)|0,x=x+Math.imul(He,yt)|0,C=C+Math.imul(He,$t)|0,A=A+Math.imul(_e,rr)|0,x=x+Math.imul(_e,xt)|0,x=x+Math.imul(Se,rr)|0,C=C+Math.imul(Se,xt)|0,A=A+Math.imul(ge,cr)|0,x=x+Math.imul(ge,se)|0,x=x+Math.imul(ye,cr)|0,C=C+Math.imul(ye,se)|0,A=A+Math.imul(z,ae)|0,x=x+Math.imul(z,pe)|0,x=x+Math.imul(Z,ae)|0,C=C+Math.imul(Z,pe)|0,A=A+Math.imul(_,Te)|0,x=x+Math.imul(_,Ue)|0,x=x+Math.imul(P,Te)|0,C=C+Math.imul(P,Ue)|0;var Cp=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Cp>>>26)|0,Cp&=67108863,A=Math.imul(nt,$e),x=Math.imul(nt,Be),x=x+Math.imul(it,$e)|0,C=Math.imul(it,Be),A=A+Math.imul(ke,yt)|0,x=x+Math.imul(ke,$t)|0,x=x+Math.imul(st,yt)|0,C=C+Math.imul(st,$t)|0,A=A+Math.imul(Ye,rr)|0,x=x+Math.imul(Ye,xt)|0,x=x+Math.imul(He,rr)|0,C=C+Math.imul(He,xt)|0,A=A+Math.imul(_e,cr)|0,x=x+Math.imul(_e,se)|0,x=x+Math.imul(Se,cr)|0,C=C+Math.imul(Se,se)|0,A=A+Math.imul(ge,ae)|0,x=x+Math.imul(ge,pe)|0,x=x+Math.imul(ye,ae)|0,C=C+Math.imul(ye,pe)|0,A=A+Math.imul(z,Te)|0,x=x+Math.imul(z,Ue)|0,x=x+Math.imul(Z,Te)|0,C=C+Math.imul(Z,Ue)|0,A=A+Math.imul(_,Je)|0,x=x+Math.imul(_,tt)|0,x=x+Math.imul(P,Je)|0,C=C+Math.imul(P,tt)|0;var Da=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Da>>>26)|0,Da&=67108863,A=Math.imul(Et,$e),x=Math.imul(Et,Be),x=x+Math.imul(Ot,$e)|0,C=Math.imul(Ot,Be),A=A+Math.imul(nt,yt)|0,x=x+Math.imul(nt,$t)|0,x=x+Math.imul(it,yt)|0,C=C+Math.imul(it,$t)|0,A=A+Math.imul(ke,rr)|0,x=x+Math.imul(ke,xt)|0,x=x+Math.imul(st,rr)|0,C=C+Math.imul(st,xt)|0,A=A+Math.imul(Ye,cr)|0,x=x+Math.imul(Ye,se)|0,x=x+Math.imul(He,cr)|0,C=C+Math.imul(He,se)|0,A=A+Math.imul(_e,ae)|0,x=x+Math.imul(_e,pe)|0,x=x+Math.imul(Se,ae)|0,C=C+Math.imul(Se,pe)|0,A=A+Math.imul(ge,Te)|0,x=x+Math.imul(ge,Ue)|0,x=x+Math.imul(ye,Te)|0,C=C+Math.imul(ye,Ue)|0,A=A+Math.imul(z,Je)|0,x=x+Math.imul(z,tt)|0,x=x+Math.imul(Z,Je)|0,C=C+Math.imul(Z,tt)|0,A=A+Math.imul(_,_t)|0,x=x+Math.imul(_,At)|0,x=x+Math.imul(P,_t)|0,C=C+Math.imul(P,At)|0;var Sp=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Sp>>>26)|0,Sp&=67108863,A=Math.imul(be,$e),x=Math.imul(be,Be),x=x+Math.imul(je,$e)|0,C=Math.imul(je,Be),A=A+Math.imul(Et,yt)|0,x=x+Math.imul(Et,$t)|0,x=x+Math.imul(Ot,yt)|0,C=C+Math.imul(Ot,$t)|0,A=A+Math.imul(nt,rr)|0,x=x+Math.imul(nt,xt)|0,x=x+Math.imul(it,rr)|0,C=C+Math.imul(it,xt)|0,A=A+Math.imul(ke,cr)|0,x=x+Math.imul(ke,se)|0,x=x+Math.imul(st,cr)|0,C=C+Math.imul(st,se)|0,A=A+Math.imul(Ye,ae)|0,x=x+Math.imul(Ye,pe)|0,x=x+Math.imul(He,ae)|0,C=C+Math.imul(He,pe)|0,A=A+Math.imul(_e,Te)|0,x=x+Math.imul(_e,Ue)|0,x=x+Math.imul(Se,Te)|0,C=C+Math.imul(Se,Ue)|0,A=A+Math.imul(ge,Je)|0,x=x+Math.imul(ge,tt)|0,x=x+Math.imul(ye,Je)|0,C=C+Math.imul(ye,tt)|0,A=A+Math.imul(z,_t)|0,x=x+Math.imul(z,At)|0,x=x+Math.imul(Z,_t)|0,C=C+Math.imul(Z,At)|0,A=A+Math.imul(_,Wt)|0,x=x+Math.imul(_,lr)|0,x=x+Math.imul(P,Wt)|0,C=C+Math.imul(P,lr)|0;var Ap=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Ap>>>26)|0,Ap&=67108863,A=Math.imul(at,$e),x=Math.imul(at,Be),x=x+Math.imul(ut,$e)|0,C=Math.imul(ut,Be),A=A+Math.imul(be,yt)|0,x=x+Math.imul(be,$t)|0,x=x+Math.imul(je,yt)|0,C=C+Math.imul(je,$t)|0,A=A+Math.imul(Et,rr)|0,x=x+Math.imul(Et,xt)|0,x=x+Math.imul(Ot,rr)|0,C=C+Math.imul(Ot,xt)|0,A=A+Math.imul(nt,cr)|0,x=x+Math.imul(nt,se)|0,x=x+Math.imul(it,cr)|0,C=C+Math.imul(it,se)|0,A=A+Math.imul(ke,ae)|0,x=x+Math.imul(ke,pe)|0,x=x+Math.imul(st,ae)|0,C=C+Math.imul(st,pe)|0,A=A+Math.imul(Ye,Te)|0,x=x+Math.imul(Ye,Ue)|0,x=x+Math.imul(He,Te)|0,C=C+Math.imul(He,Ue)|0,A=A+Math.imul(_e,Je)|0,x=x+Math.imul(_e,tt)|0,x=x+Math.imul(Se,Je)|0,C=C+Math.imul(Se,tt)|0,A=A+Math.imul(ge,_t)|0,x=x+Math.imul(ge,At)|0,x=x+Math.imul(ye,_t)|0,C=C+Math.imul(ye,At)|0,A=A+Math.imul(z,Wt)|0,x=x+Math.imul(z,lr)|0,x=x+Math.imul(Z,Wt)|0,C=C+Math.imul(Z,lr)|0,A=A+Math.imul(_,Yt)|0,x=x+Math.imul(_,Nr)|0,x=x+Math.imul(P,Yt)|0,C=C+Math.imul(P,Nr)|0;var Tp=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Tp>>>26)|0,Tp&=67108863,A=Math.imul(at,yt),x=Math.imul(at,$t),x=x+Math.imul(ut,yt)|0,C=Math.imul(ut,$t),A=A+Math.imul(be,rr)|0,x=x+Math.imul(be,xt)|0,x=x+Math.imul(je,rr)|0,C=C+Math.imul(je,xt)|0,A=A+Math.imul(Et,cr)|0,x=x+Math.imul(Et,se)|0,x=x+Math.imul(Ot,cr)|0,C=C+Math.imul(Ot,se)|0,A=A+Math.imul(nt,ae)|0,x=x+Math.imul(nt,pe)|0,x=x+Math.imul(it,ae)|0,C=C+Math.imul(it,pe)|0,A=A+Math.imul(ke,Te)|0,x=x+Math.imul(ke,Ue)|0,x=x+Math.imul(st,Te)|0,C=C+Math.imul(st,Ue)|0,A=A+Math.imul(Ye,Je)|0,x=x+Math.imul(Ye,tt)|0,x=x+Math.imul(He,Je)|0,C=C+Math.imul(He,tt)|0,A=A+Math.imul(_e,_t)|0,x=x+Math.imul(_e,At)|0,x=x+Math.imul(Se,_t)|0,C=C+Math.imul(Se,At)|0,A=A+Math.imul(ge,Wt)|0,x=x+Math.imul(ge,lr)|0,x=x+Math.imul(ye,Wt)|0,C=C+Math.imul(ye,lr)|0,A=A+Math.imul(z,Yt)|0,x=x+Math.imul(z,Nr)|0,x=x+Math.imul(Z,Yt)|0,C=C+Math.imul(Z,Nr)|0;var nd=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(nd>>>26)|0,nd&=67108863,A=Math.imul(at,rr),x=Math.imul(at,xt),x=x+Math.imul(ut,rr)|0,C=Math.imul(ut,xt),A=A+Math.imul(be,cr)|0,x=x+Math.imul(be,se)|0,x=x+Math.imul(je,cr)|0,C=C+Math.imul(je,se)|0,A=A+Math.imul(Et,ae)|0,x=x+Math.imul(Et,pe)|0,x=x+Math.imul(Ot,ae)|0,C=C+Math.imul(Ot,pe)|0,A=A+Math.imul(nt,Te)|0,x=x+Math.imul(nt,Ue)|0,x=x+Math.imul(it,Te)|0,C=C+Math.imul(it,Ue)|0,A=A+Math.imul(ke,Je)|0,x=x+Math.imul(ke,tt)|0,x=x+Math.imul(st,Je)|0,C=C+Math.imul(st,tt)|0,A=A+Math.imul(Ye,_t)|0,x=x+Math.imul(Ye,At)|0,x=x+Math.imul(He,_t)|0,C=C+Math.imul(He,At)|0,A=A+Math.imul(_e,Wt)|0,x=x+Math.imul(_e,lr)|0,x=x+Math.imul(Se,Wt)|0,C=C+Math.imul(Se,lr)|0,A=A+Math.imul(ge,Yt)|0,x=x+Math.imul(ge,Nr)|0,x=x+Math.imul(ye,Yt)|0,C=C+Math.imul(ye,Nr)|0;var Mp=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Mp>>>26)|0,Mp&=67108863,A=Math.imul(at,cr),x=Math.imul(at,se),x=x+Math.imul(ut,cr)|0,C=Math.imul(ut,se),A=A+Math.imul(be,ae)|0,x=x+Math.imul(be,pe)|0,x=x+Math.imul(je,ae)|0,C=C+Math.imul(je,pe)|0,A=A+Math.imul(Et,Te)|0,x=x+Math.imul(Et,Ue)|0,x=x+Math.imul(Ot,Te)|0,C=C+Math.imul(Ot,Ue)|0,A=A+Math.imul(nt,Je)|0,x=x+Math.imul(nt,tt)|0,x=x+Math.imul(it,Je)|0,C=C+Math.imul(it,tt)|0,A=A+Math.imul(ke,_t)|0,x=x+Math.imul(ke,At)|0,x=x+Math.imul(st,_t)|0,C=C+Math.imul(st,At)|0,A=A+Math.imul(Ye,Wt)|0,x=x+Math.imul(Ye,lr)|0,x=x+Math.imul(He,Wt)|0,C=C+Math.imul(He,lr)|0,A=A+Math.imul(_e,Yt)|0,x=x+Math.imul(_e,Nr)|0,x=x+Math.imul(Se,Yt)|0,C=C+Math.imul(Se,Nr)|0;var Gm=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Gm>>>26)|0,Gm&=67108863,A=Math.imul(at,ae),x=Math.imul(at,pe),x=x+Math.imul(ut,ae)|0,C=Math.imul(ut,pe),A=A+Math.imul(be,Te)|0,x=x+Math.imul(be,Ue)|0,x=x+Math.imul(je,Te)|0,C=C+Math.imul(je,Ue)|0,A=A+Math.imul(Et,Je)|0,x=x+Math.imul(Et,tt)|0,x=x+Math.imul(Ot,Je)|0,C=C+Math.imul(Ot,tt)|0,A=A+Math.imul(nt,_t)|0,x=x+Math.imul(nt,At)|0,x=x+Math.imul(it,_t)|0,C=C+Math.imul(it,At)|0,A=A+Math.imul(ke,Wt)|0,x=x+Math.imul(ke,lr)|0,x=x+Math.imul(st,Wt)|0,C=C+Math.imul(st,lr)|0,A=A+Math.imul(Ye,Yt)|0,x=x+Math.imul(Ye,Nr)|0,x=x+Math.imul(He,Yt)|0,C=C+Math.imul(He,Nr)|0;var Km=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Km>>>26)|0,Km&=67108863,A=Math.imul(at,Te),x=Math.imul(at,Ue),x=x+Math.imul(ut,Te)|0,C=Math.imul(ut,Ue),A=A+Math.imul(be,Je)|0,x=x+Math.imul(be,tt)|0,x=x+Math.imul(je,Je)|0,C=C+Math.imul(je,tt)|0,A=A+Math.imul(Et,_t)|0,x=x+Math.imul(Et,At)|0,x=x+Math.imul(Ot,_t)|0,C=C+Math.imul(Ot,At)|0,A=A+Math.imul(nt,Wt)|0,x=x+Math.imul(nt,lr)|0,x=x+Math.imul(it,Wt)|0,C=C+Math.imul(it,lr)|0,A=A+Math.imul(ke,Yt)|0,x=x+Math.imul(ke,Nr)|0,x=x+Math.imul(st,Yt)|0,C=C+Math.imul(st,Nr)|0;var Ff=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Ff>>>26)|0,Ff&=67108863,A=Math.imul(at,Je),x=Math.imul(at,tt),x=x+Math.imul(ut,Je)|0,C=Math.imul(ut,tt),A=A+Math.imul(be,_t)|0,x=x+Math.imul(be,At)|0,x=x+Math.imul(je,_t)|0,C=C+Math.imul(je,At)|0,A=A+Math.imul(Et,Wt)|0,x=x+Math.imul(Et,lr)|0,x=x+Math.imul(Ot,Wt)|0,C=C+Math.imul(Ot,lr)|0,A=A+Math.imul(nt,Yt)|0,x=x+Math.imul(nt,Nr)|0,x=x+Math.imul(it,Yt)|0,C=C+Math.imul(it,Nr)|0;var Ym=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Ym>>>26)|0,Ym&=67108863,A=Math.imul(at,_t),x=Math.imul(at,At),x=x+Math.imul(ut,_t)|0,C=Math.imul(ut,At),A=A+Math.imul(be,Wt)|0,x=x+Math.imul(be,lr)|0,x=x+Math.imul(je,Wt)|0,C=C+Math.imul(je,lr)|0,A=A+Math.imul(Et,Yt)|0,x=x+Math.imul(Et,Nr)|0,x=x+Math.imul(Ot,Yt)|0,C=C+Math.imul(Ot,Nr)|0;var id=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(id>>>26)|0,id&=67108863,A=Math.imul(at,Wt),x=Math.imul(at,lr),x=x+Math.imul(ut,Wt)|0,C=Math.imul(ut,lr),A=A+Math.imul(be,Yt)|0,x=x+Math.imul(be,Nr)|0,x=x+Math.imul(je,Yt)|0,C=C+Math.imul(je,Nr)|0;var Uf=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Uf>>>26)|0,Uf&=67108863,A=Math.imul(at,Yt),x=Math.imul(at,Nr),x=x+Math.imul(ut,Yt)|0,C=Math.imul(ut,Nr);var Rp=(j+A|0)+((x&8191)<<13)|0;return j=(C+(x>>>13)|0)+(Rp>>>26)|0,Rp&=67108863,K[0]=fi,K[1]=nn,K[2]=Qt,K[3]=Gn,K[4]=ja,K[5]=Cp,K[6]=Da,K[7]=Sp,K[8]=Ap,K[9]=Tp,K[10]=nd,K[11]=Mp,K[12]=Gm,K[13]=Km,K[14]=Ff,K[15]=Ym,K[16]=id,K[17]=Uf,K[18]=Rp,j!==0&&(K[19]=j,N.length++),N};Math.imul||(y=h);function w($,M,O){O.negative=M.negative^$.negative,O.length=$.length+M.length;for(var N=0,H=0,V=0;V<O.length-1;V++){var K=H;H=0;for(var j=N&67108863,A=Math.min(V,M.length-1),x=Math.max(0,V-$.length+1);x<=A;x++){var C=V-x,E=$.words[C]|0,_=M.words[x]|0,P=E*_,G=P&67108863;K=K+(P/67108864|0)|0,G=G+j|0,j=G&67108863,K=K+(G>>>26)|0,H+=K>>>26,K&=67108863}O.words[V]=j,N=K,K=H}return N!==0?O.words[V]=N:O.length--,O._strip()}function T($,M,O){return w($,M,O)}o.prototype.mulTo=function(M,O){var N,H=this.length+M.length;return this.length===10&&M.length===10?N=y(this,M,O):H<63?N=h(this,M,O):H<1024?N=w(this,M,O):N=T(this,M,O),N},o.prototype.mul=function(M){var O=new o(null);return O.words=new Array(this.length+M.length),this.mulTo(M,O)},o.prototype.mulf=function(M){var O=new o(null);return O.words=new Array(this.length+M.length),T(this,M,O)},o.prototype.imul=function(M){return this.clone().mulTo(M,this)},o.prototype.imuln=function(M){var O=M<0;O&&(M=-M),n(typeof M=="number"),n(M<67108864);for(var N=0,H=0;H<this.length;H++){var V=(this.words[H]|0)*M,K=(V&67108863)+(N&67108863);N>>=26,N+=V/67108864|0,N+=K>>>26,this.words[H]=K&67108863}return N!==0&&(this.words[H]=N,this.length++),this.length=M===0?1:this.length,O?this.ineg():this},o.prototype.muln=function(M){return this.clone().imuln(M)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(M){var O=b(M);if(O.length===0)return new o(1);for(var N=this,H=0;H<O.length&&O[H]===0;H++,N=N.sqr());if(++H<O.length)for(var V=N.sqr();H<O.length;H++,V=V.sqr())O[H]!==0&&(N=N.mul(V));return N},o.prototype.iushln=function(M){n(typeof M=="number"&&M>=0);var O=M%26,N=(M-O)/26,H=67108863>>>26-O<<26-O,V;if(O!==0){var K=0;for(V=0;V<this.length;V++){var j=this.words[V]&H,A=(this.words[V]|0)-j<<O;this.words[V]=A|K,K=j>>>26-O}K&&(this.words[V]=K,this.length++)}if(N!==0){for(V=this.length-1;V>=0;V--)this.words[V+N]=this.words[V];for(V=0;V<N;V++)this.words[V]=0;this.length+=N}return this._strip()},o.prototype.ishln=function(M){return n(this.negative===0),this.iushln(M)},o.prototype.iushrn=function(M,O,N){n(typeof M=="number"&&M>=0);var H;O?H=(O-O%26)/26:H=0;var V=M%26,K=Math.min((M-V)/26,this.length),j=67108863^67108863>>>V<<V,A=N;if(H-=K,H=Math.max(0,H),A){for(var x=0;x<K;x++)A.words[x]=this.words[x];A.length=K}if(K!==0)if(this.length>K)for(this.length-=K,x=0;x<this.length;x++)this.words[x]=this.words[x+K];else this.words[0]=0,this.length=1;var C=0;for(x=this.length-1;x>=0&&(C!==0||x>=H);x--){var E=this.words[x]|0;this.words[x]=C<<26-V|E>>>V,C=E&j}return A&&C!==0&&(A.words[A.length++]=C),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(M,O,N){return n(this.negative===0),this.iushrn(M,O,N)},o.prototype.shln=function(M){return this.clone().ishln(M)},o.prototype.ushln=function(M){return this.clone().iushln(M)},o.prototype.shrn=function(M){return this.clone().ishrn(M)},o.prototype.ushrn=function(M){return this.clone().iushrn(M)},o.prototype.testn=function(M){n(typeof M=="number"&&M>=0);var O=M%26,N=(M-O)/26,H=1<<O;if(this.length<=N)return!1;var V=this.words[N];return!!(V&H)},o.prototype.imaskn=function(M){n(typeof M=="number"&&M>=0);var O=M%26,N=(M-O)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=N)return this;if(O!==0&&N++,this.length=Math.min(N,this.length),O!==0){var H=67108863^67108863>>>O<<O;this.words[this.length-1]&=H}return this._strip()},o.prototype.maskn=function(M){return this.clone().imaskn(M)},o.prototype.iaddn=function(M){return n(typeof M=="number"),n(M<67108864),M<0?this.isubn(-M):this.negative!==0?this.length===1&&(this.words[0]|0)<=M?(this.words[0]=M-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(M),this.negative=1,this):this._iaddn(M)},o.prototype._iaddn=function(M){this.words[0]+=M;for(var O=0;O<this.length&&this.words[O]>=67108864;O++)this.words[O]-=67108864,O===this.length-1?this.words[O+1]=1:this.words[O+1]++;return this.length=Math.max(this.length,O+1),this},o.prototype.isubn=function(M){if(n(typeof M=="number"),n(M<67108864),M<0)return this.iaddn(-M);if(this.negative!==0)return this.negative=0,this.iaddn(M),this.negative=1,this;if(this.words[0]-=M,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var O=0;O<this.length&&this.words[O]<0;O++)this.words[O]+=67108864,this.words[O+1]-=1;return this._strip()},o.prototype.addn=function(M){return this.clone().iaddn(M)},o.prototype.subn=function(M){return this.clone().isubn(M)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(M,O,N){var H=M.length+N,V;this._expand(H);var K,j=0;for(V=0;V<M.length;V++){K=(this.words[V+N]|0)+j;var A=(M.words[V]|0)*O;K-=A&67108863,j=(K>>26)-(A/67108864|0),this.words[V+N]=K&67108863}for(;V<this.length-N;V++)K=(this.words[V+N]|0)+j,j=K>>26,this.words[V+N]=K&67108863;if(j===0)return this._strip();for(n(j===-1),j=0,V=0;V<this.length;V++)K=-(this.words[V]|0)+j,j=K>>26,this.words[V]=K&67108863;return this.negative=1,this._strip()},o.prototype._wordDiv=function(M,O){var N=this.length-M.length,H=this.clone(),V=M,K=V.words[V.length-1]|0,j=this._countBits(K);N=26-j,N!==0&&(V=V.ushln(N),H.iushln(N),K=V.words[V.length-1]|0);var A=H.length-V.length,x;if(O!=="mod"){x=new o(null),x.length=A+1,x.words=new Array(x.length);for(var C=0;C<x.length;C++)x.words[C]=0}var E=H.clone()._ishlnsubmul(V,1,A);E.negative===0&&(H=E,x&&(x.words[A]=1));for(var _=A-1;_>=0;_--){var P=(H.words[V.length+_]|0)*67108864+(H.words[V.length+_-1]|0);for(P=Math.min(P/K|0,67108863),H._ishlnsubmul(V,P,_);H.negative!==0;)P--,H.negative=0,H._ishlnsubmul(V,1,_),H.isZero()||(H.negative^=1);x&&(x.words[_]=P)}return x&&x._strip(),H._strip(),O!=="div"&&N!==0&&H.iushrn(N),{div:x||null,mod:H}},o.prototype.divmod=function(M,O,N){if(n(!M.isZero()),this.isZero())return{div:new o(0),mod:new o(0)};var H,V,K;return this.negative!==0&&M.negative===0?(K=this.neg().divmod(M,O),O!=="mod"&&(H=K.div.neg()),O!=="div"&&(V=K.mod.neg(),N&&V.negative!==0&&V.iadd(M)),{div:H,mod:V}):this.negative===0&&M.negative!==0?(K=this.divmod(M.neg(),O),O!=="mod"&&(H=K.div.neg()),{div:H,mod:K.mod}):this.negative&M.negative?(K=this.neg().divmod(M.neg(),O),O!=="div"&&(V=K.mod.neg(),N&&V.negative!==0&&V.isub(M)),{div:K.div,mod:V}):M.length>this.length||this.cmp(M)<0?{div:new o(0),mod:this}:M.length===1?O==="div"?{div:this.divn(M.words[0]),mod:null}:O==="mod"?{div:null,mod:new o(this.modrn(M.words[0]))}:{div:this.divn(M.words[0]),mod:new o(this.modrn(M.words[0]))}:this._wordDiv(M,O)},o.prototype.div=function(M){return this.divmod(M,"div",!1).div},o.prototype.mod=function(M){return this.divmod(M,"mod",!1).mod},o.prototype.umod=function(M){return this.divmod(M,"mod",!0).mod},o.prototype.divRound=function(M){var O=this.divmod(M);if(O.mod.isZero())return O.div;var N=O.div.negative!==0?O.mod.isub(M):O.mod,H=M.ushrn(1),V=M.andln(1),K=N.cmp(H);return K<0||V===1&&K===0?O.div:O.div.negative!==0?O.div.isubn(1):O.div.iaddn(1)},o.prototype.modrn=function(M){var O=M<0;O&&(M=-M),n(M<=67108863);for(var N=(1<<26)%M,H=0,V=this.length-1;V>=0;V--)H=(N*H+(this.words[V]|0))%M;return O?-H:H},o.prototype.modn=function(M){return this.modrn(M)},o.prototype.idivn=function(M){var O=M<0;O&&(M=-M),n(M<=67108863);for(var N=0,H=this.length-1;H>=0;H--){var V=(this.words[H]|0)+N*67108864;this.words[H]=V/M|0,N=V%M}return this._strip(),O?this.ineg():this},o.prototype.divn=function(M){return this.clone().idivn(M)},o.prototype.egcd=function(M){n(M.negative===0),n(!M.isZero());var O=this,N=M.clone();O.negative!==0?O=O.umod(M):O=O.clone();for(var H=new o(1),V=new o(0),K=new o(0),j=new o(1),A=0;O.isEven()&&N.isEven();)O.iushrn(1),N.iushrn(1),++A;for(var x=N.clone(),C=O.clone();!O.isZero();){for(var E=0,_=1;!(O.words[0]&_)&&E<26;++E,_<<=1);if(E>0)for(O.iushrn(E);E-- >0;)(H.isOdd()||V.isOdd())&&(H.iadd(x),V.isub(C)),H.iushrn(1),V.iushrn(1);for(var P=0,G=1;!(N.words[0]&G)&&P<26;++P,G<<=1);if(P>0)for(N.iushrn(P);P-- >0;)(K.isOdd()||j.isOdd())&&(K.iadd(x),j.isub(C)),K.iushrn(1),j.iushrn(1);O.cmp(N)>=0?(O.isub(N),H.isub(K),V.isub(j)):(N.isub(O),K.isub(H),j.isub(V))}return{a:K,b:j,gcd:N.iushln(A)}},o.prototype._invmp=function(M){n(M.negative===0),n(!M.isZero());var O=this,N=M.clone();O.negative!==0?O=O.umod(M):O=O.clone();for(var H=new o(1),V=new o(0),K=N.clone();O.cmpn(1)>0&&N.cmpn(1)>0;){for(var j=0,A=1;!(O.words[0]&A)&&j<26;++j,A<<=1);if(j>0)for(O.iushrn(j);j-- >0;)H.isOdd()&&H.iadd(K),H.iushrn(1);for(var x=0,C=1;!(N.words[0]&C)&&x<26;++x,C<<=1);if(x>0)for(N.iushrn(x);x-- >0;)V.isOdd()&&V.iadd(K),V.iushrn(1);O.cmp(N)>=0?(O.isub(N),H.isub(V)):(N.isub(O),V.isub(H))}var E;return O.cmpn(1)===0?E=H:E=V,E.cmpn(0)<0&&E.iadd(M),E},o.prototype.gcd=function(M){if(this.isZero())return M.abs();if(M.isZero())return this.abs();var O=this.clone(),N=M.clone();O.negative=0,N.negative=0;for(var H=0;O.isEven()&&N.isEven();H++)O.iushrn(1),N.iushrn(1);do{for(;O.isEven();)O.iushrn(1);for(;N.isEven();)N.iushrn(1);var V=O.cmp(N);if(V<0){var K=O;O=N,N=K}else if(V===0||N.cmpn(1)===0)break;O.isub(N)}while(!0);return N.iushln(H)},o.prototype.invm=function(M){return this.egcd(M).a.umod(M)},o.prototype.isEven=function(){return(this.words[0]&1)===0},o.prototype.isOdd=function(){return(this.words[0]&1)===1},o.prototype.andln=function(M){return this.words[0]&M},o.prototype.bincn=function(M){n(typeof M=="number");var O=M%26,N=(M-O)/26,H=1<<O;if(this.length<=N)return this._expand(N+1),this.words[N]|=H,this;for(var V=H,K=N;V!==0&&K<this.length;K++){var j=this.words[K]|0;j+=V,V=j>>>26,j&=67108863,this.words[K]=j}return V!==0&&(this.words[K]=V,this.length++),this},o.prototype.isZero=function(){return this.length===1&&this.words[0]===0},o.prototype.cmpn=function(M){var O=M<0;if(this.negative!==0&&!O)return-1;if(this.negative===0&&O)return 1;this._strip();var N;if(this.length>1)N=1;else{O&&(M=-M),n(M<=67108863,"Number is too big");var H=this.words[0]|0;N=H===M?0:H<M?-1:1}return this.negative!==0?-N|0:N},o.prototype.cmp=function(M){if(this.negative!==0&&M.negative===0)return-1;if(this.negative===0&&M.negative!==0)return 1;var O=this.ucmp(M);return this.negative!==0?-O|0:O},o.prototype.ucmp=function(M){if(this.length>M.length)return 1;if(this.length<M.length)return-1;for(var O=0,N=this.length-1;N>=0;N--){var H=this.words[N]|0,V=M.words[N]|0;if(H!==V){H<V?O=-1:H>V&&(O=1);break}}return O},o.prototype.gtn=function(M){return this.cmpn(M)===1},o.prototype.gt=function(M){return this.cmp(M)===1},o.prototype.gten=function(M){return this.cmpn(M)>=0},o.prototype.gte=function(M){return this.cmp(M)>=0},o.prototype.ltn=function(M){return this.cmpn(M)===-1},o.prototype.lt=function(M){return this.cmp(M)===-1},o.prototype.lten=function(M){return this.cmpn(M)<=0},o.prototype.lte=function(M){return this.cmp(M)<=0},o.prototype.eqn=function(M){return this.cmpn(M)===0},o.prototype.eq=function(M){return this.cmp(M)===0},o.red=function(M){return new W(M)},o.prototype.toRed=function(M){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),M.convertTo(this)._forceRed(M)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(M){return this.red=M,this},o.prototype.forceRed=function(M){return n(!this.red,"Already a number in reduction context"),this._forceRed(M)},o.prototype.redAdd=function(M){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,M)},o.prototype.redIAdd=function(M){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,M)},o.prototype.redSub=function(M){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,M)},o.prototype.redISub=function(M){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,M)},o.prototype.redShl=function(M){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,M)},o.prototype.redMul=function(M){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,M),this.red.mul(this,M)},o.prototype.redIMul=function(M){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,M),this.red.imul(this,M)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(M){return n(this.red&&!M.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,M)};var R={k256:null,p224:null,p192:null,p25519:null};function S($,M){this.name=$,this.p=new o(M,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}S.prototype._tmp=function(){var M=new o(null);return M.words=new Array(Math.ceil(this.n/13)),M},S.prototype.ireduce=function(M){var O=M,N;do this.split(O,this.tmp),O=this.imulK(O),O=O.iadd(this.tmp),N=O.bitLength();while(N>this.n);var H=N<this.n?-1:O.ucmp(this.p);return H===0?(O.words[0]=0,O.length=1):H>0?O.isub(this.p):O.strip!==void 0?O.strip():O._strip(),O},S.prototype.split=function(M,O){M.iushrn(this.n,0,O)},S.prototype.imulK=function(M){return M.imul(this.k)};function I(){S.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i(I,S),I.prototype.split=function(M,O){for(var N=4194303,H=Math.min(M.length,9),V=0;V<H;V++)O.words[V]=M.words[V];if(O.length=H,M.length<=9){M.words[0]=0,M.length=1;return}var K=M.words[9];for(O.words[O.length++]=K&N,V=10;V<M.length;V++){var j=M.words[V]|0;M.words[V-10]=(j&N)<<4|K>>>22,K=j}K>>>=22,M.words[V-10]=K,K===0&&M.length>10?M.length-=10:M.length-=9},I.prototype.imulK=function(M){M.words[M.length]=0,M.words[M.length+1]=0,M.length+=2;for(var O=0,N=0;N<M.length;N++){var H=M.words[N]|0;O+=H*977,M.words[N]=O&67108863,O=H*64+(O/67108864|0)}return M.words[M.length-1]===0&&(M.length--,M.words[M.length-1]===0&&M.length--),M};function U(){S.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i(U,S);function D(){S.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i(D,S);function q(){S.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i(q,S),q.prototype.imulK=function(M){for(var O=0,N=0;N<M.length;N++){var H=(M.words[N]|0)*19+O,V=H&67108863;H>>>=26,M.words[N]=V,O=H}return O!==0&&(M.words[M.length++]=O),M},o._prime=function(M){if(R[M])return R[M];var O;if(M==="k256")O=new I;else if(M==="p224")O=new U;else if(M==="p192")O=new D;else if(M==="p25519")O=new q;else throw new Error("Unknown prime "+M);return R[M]=O,O};function W($){if(typeof $=="string"){var M=o._prime($);this.m=M.p,this.prime=M}else n($.gtn(1),"modulus must be greater than 1"),this.m=$,this.prime=null}W.prototype._verify1=function(M){n(M.negative===0,"red works only with positives"),n(M.red,"red works only with red numbers")},W.prototype._verify2=function(M,O){n((M.negative|O.negative)===0,"red works only with positives"),n(M.red&&M.red===O.red,"red works only with red numbers")},W.prototype.imod=function(M){return this.prime?this.prime.ireduce(M)._forceRed(this):(d(M,M.umod(this.m)._forceRed(this)),M)},W.prototype.neg=function(M){return M.isZero()?M.clone():this.m.sub(M)._forceRed(this)},W.prototype.add=function(M,O){this._verify2(M,O);var N=M.add(O);return N.cmp(this.m)>=0&&N.isub(this.m),N._forceRed(this)},W.prototype.iadd=function(M,O){this._verify2(M,O);var N=M.iadd(O);return N.cmp(this.m)>=0&&N.isub(this.m),N},W.prototype.sub=function(M,O){this._verify2(M,O);var N=M.sub(O);return N.cmpn(0)<0&&N.iadd(this.m),N._forceRed(this)},W.prototype.isub=function(M,O){this._verify2(M,O);var N=M.isub(O);return N.cmpn(0)<0&&N.iadd(this.m),N},W.prototype.shl=function(M,O){return this._verify1(M),this.imod(M.ushln(O))},W.prototype.imul=function(M,O){return this._verify2(M,O),this.imod(M.imul(O))},W.prototype.mul=function(M,O){return this._verify2(M,O),this.imod(M.mul(O))},W.prototype.isqr=function(M){return this.imul(M,M.clone())},W.prototype.sqr=function(M){return this.mul(M,M)},W.prototype.sqrt=function(M){if(M.isZero())return M.clone();var O=this.m.andln(3);if(n(O%2===1),O===3){var N=this.m.add(new o(1)).iushrn(2);return this.pow(M,N)}for(var H=this.m.subn(1),V=0;!H.isZero()&&H.andln(1)===0;)V++,H.iushrn(1);n(!H.isZero());var K=new o(1).toRed(this),j=K.redNeg(),A=this.m.subn(1).iushrn(1),x=this.m.bitLength();for(x=new o(2*x*x).toRed(this);this.pow(x,A).cmp(j)!==0;)x.redIAdd(j);for(var C=this.pow(x,H),E=this.pow(M,H.addn(1).iushrn(1)),_=this.pow(M,H),P=V;_.cmp(K)!==0;){for(var G=_,z=0;G.cmp(K)!==0;z++)G=G.redSqr();n(z<P);var Z=this.pow(C,new o(1).iushln(P-z-1));E=E.redMul(Z),C=Z.redSqr(),_=_.redMul(C),P=z}return E},W.prototype.invm=function(M){var O=M._invmp(this.m);return O.negative!==0?(O.negative=0,this.imod(O).redNeg()):this.imod(O)},W.prototype.pow=function(M,O){if(O.isZero())return new o(1).toRed(this);if(O.cmpn(1)===0)return M.clone();var N=4,H=new Array(1<<N);H[0]=new o(1).toRed(this),H[1]=M;for(var V=2;V<H.length;V++)H[V]=this.mul(H[V-1],M);var K=H[0],j=0,A=0,x=O.bitLength()%26;for(x===0&&(x=26),V=O.length-1;V>=0;V--){for(var C=O.words[V],E=x-1;E>=0;E--){var _=C>>E&1;if(K!==H[0]&&(K=this.sqr(K)),_===0&&j===0){A=0;continue}j<<=1,j|=_,A++,!(A!==N&&(V!==0||E!==0))&&(K=this.mul(K,H[j]),A=0,j=0)}x=26}return K},W.prototype.convertTo=function(M){var O=M.umod(this.m);return O===M?O.clone():O},W.prototype.convertFrom=function(M){var O=M.clone();return O.red=null,O},o.mont=function(M){return new J(M)};function J($){W.call(this,$),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}i(J,W),J.prototype.convertTo=function(M){return this.imod(M.ushln(this.shift))},J.prototype.convertFrom=function(M){var O=this.imod(M.mul(this.rinv));return O.red=null,O},J.prototype.imul=function(M,O){if(M.isZero()||O.isZero())return M.words[0]=0,M.length=1,M;var N=M.imul(O),H=N.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=N.isub(H).iushrn(this.shift),K=V;return V.cmp(this.m)>=0?K=V.isub(this.m):V.cmpn(0)<0&&(K=V.iadd(this.m)),K._forceRed(this)},J.prototype.mul=function(M,O){if(M.isZero()||O.isZero())return new o(0)._forceRed(this);var N=M.mul(O),H=N.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=N.isub(H).iushrn(this.shift),K=V;return V.cmp(this.m)>=0?K=V.isub(this.m):V.cmpn(0)<0&&(K=V.iadd(this.m)),K._forceRed(this)},J.prototype.invm=function(M){var O=this.imod(M._invmp(this.m).mul(this.r2));return O._forceRed(this)}})(e,X)})(lL);var _Oe=lL.exports;const fr=_f(_Oe),EOe="logger/5.8.0";let R$=!1,I$=!1;const W4={debug:1,default:2,info:2,warning:3,error:4,off:5};let O$=W4.default,LE=null;function xOe(){try{const e=[];if(["NFD","NFC","NFKD","NFKC"].forEach(t=>{try{if("test".normalize(t)!=="test")throw new Error("bad normalize")}catch{e.push(t)}}),e.length)throw new Error("missing "+e.join(", "));if("é".normalize("NFD")!=="é")throw new Error("broken implementation")}catch(e){return e.message}return null}const P$=xOe();var MA;(function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"})(MA||(MA={}));var dl;(function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"})(dl||(dl={}));const L$="0123456789abcdef";class Me{constructor(t){Object.defineProperty(this,"version",{enumerable:!0,value:t,writable:!1})}_log(t,r){const n=t.toLowerCase();W4[n]==null&&this.throwArgumentError("invalid log level name","logLevel",t),!(O$>W4[n])&&console.log.apply(console,r)}debug(...t){this._log(Me.levels.DEBUG,t)}info(...t){this._log(Me.levels.INFO,t)}warn(...t){this._log(Me.levels.WARNING,t)}makeError(t,r,n){if(I$)return this.makeError("censored error",r,{});r||(r=Me.errors.UNKNOWN_ERROR),n||(n={});const i=[];Object.keys(n).forEach(l=>{const c=n[l];try{if(c instanceof Uint8Array){let d="";for(let f=0;f<c.length;f++)d+=L$[c[f]>>4],d+=L$[c[f]&15];i.push(l+"=Uint8Array(0x"+d+")")}else i.push(l+"="+JSON.stringify(c))}catch{i.push(l+"="+JSON.stringify(n[l].toString()))}}),i.push(`code=${r}`),i.push(`version=${this.version}`);const o=t;let a="";switch(r){case dl.NUMERIC_FAULT:{a="NUMERIC_FAULT";const l=t;switch(l){case"overflow":case"underflow":case"division-by-zero":a+="-"+l;break;case"negative-power":case"negative-width":a+="-unsupported";break;case"unbound-bitwise-result":a+="-unbound-result";break}break}case dl.CALL_EXCEPTION:case dl.INSUFFICIENT_FUNDS:case dl.MISSING_NEW:case dl.NONCE_EXPIRED:case dl.REPLACEMENT_UNDERPRICED:case dl.TRANSACTION_REPLACED:case dl.UNPREDICTABLE_GAS_LIMIT:a=r;break}a&&(t+=" [ See: https://links.ethers.org/v5-errors-"+a+" ]"),i.length&&(t+=" ("+i.join(", ")+")");const s=new Error(t);return s.reason=o,s.code=r,Object.keys(n).forEach(function(l){s[l]=n[l]}),s}throwError(t,r,n){throw this.makeError(t,r,n)}throwArgumentError(t,r,n){return this.throwError(t,Me.errors.INVALID_ARGUMENT,{argument:r,value:n})}assert(t,r,n,i){t||this.throwError(r,n,i)}assertArgument(t,r,n,i){t||this.throwArgumentError(r,n,i)}checkNormalize(t){P$&&this.throwError("platform missing String.prototype.normalize",Me.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:P$})}checkSafeUint53(t,r){typeof t=="number"&&(r==null&&(r="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(r,Me.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(r,Me.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}checkArgumentCount(t,r,n){n?n=": "+n:n="",t<r&&this.throwError("missing argument"+n,Me.errors.MISSING_ARGUMENT,{count:t,expectedCount:r}),t>r&&this.throwError("too many arguments"+n,Me.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:r})}checkNew(t,r){(t===Object||t==null)&&this.throwError("missing new",Me.errors.MISSING_NEW,{name:r.name})}checkAbstract(t,r){t===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",Me.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):(t===Object||t==null)&&this.throwError("missing new",Me.errors.MISSING_NEW,{name:r.name})}static globalLogger(){return LE||(LE=new Me(EOe)),LE}static setCensorship(t,r){if(!t&&r&&this.globalLogger().throwError("cannot permanently disable censorship",Me.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),R$){if(!t)return;this.globalLogger().throwError("error censorship permanent",Me.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}I$=!!t,R$=!!r}static setLogLevel(t){const r=W4[t.toLowerCase()];if(r==null){Me.globalLogger().warn("invalid log level - "+t);return}O$=r}static from(t){return new Me(t)}}Me.errors=dl;Me.levels=MA;const wOe="bytes/5.8.0",gi=new Me(wOe);function pre(e){return!!e.toHexString}function X0(e){return e.slice||(e.slice=function(){const t=Array.prototype.slice.call(arguments);return X0(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function l7(e){return Bn(e)&&!(e.length%2)||c7(e)}function k$(e){return typeof e=="number"&&e==e&&e%1===0}function c7(e){if(e==null)return!1;if(e.constructor===Uint8Array)return!0;if(typeof e=="string"||!k$(e.length)||e.length<0)return!1;for(let t=0;t<e.length;t++){const r=e[t];if(!k$(r)||r<0||r>=256)return!1}return!0}function ft(e,t){if(t||(t={}),typeof e=="number"){gi.checkSafeUint53(e,"invalid arrayify value");const r=[];for(;e;)r.unshift(e&255),e=parseInt(String(e/256));return r.length===0&&r.push(0),X0(new Uint8Array(r))}if(t.allowMissingPrefix&&typeof e=="string"&&e.substring(0,2)!=="0x"&&(e="0x"+e),pre(e)&&(e=e.toHexString()),Bn(e)){let r=e.substring(2);r.length%2&&(t.hexPad==="left"?r="0"+r:t.hexPad==="right"?r+="0":gi.throwArgumentError("hex data is odd-length","value",e));const n=[];for(let i=0;i<r.length;i+=2)n.push(parseInt(r.substring(i,i+2),16));return X0(new Uint8Array(n))}return c7(e)?X0(new Uint8Array(e)):gi.throwArgumentError("invalid arrayify value","value",e)}function ia(e){const t=e.map(i=>ft(i)),r=t.reduce((i,o)=>i+o.length,0),n=new Uint8Array(r);return t.reduce((i,o)=>(n.set(o,i),i+o.length),0),X0(n)}function bu(e){let t=ft(e);if(t.length===0)return t;let r=0;for(;r<t.length&&t[r]===0;)r++;return r&&(t=t.slice(r)),t}function COe(e,t){e=ft(e),e.length>t&&gi.throwArgumentError("value out of range","value",arguments[0]);const r=new Uint8Array(t);return r.set(e,t-e.length),X0(r)}function Bn(e,t){return!(typeof e!="string"||!e.match(/^0x[0-9A-Fa-f]*$/)||t&&e.length!==2+2*t)}const kE="0123456789abcdef";function Tt(e,t){if(t||(t={}),typeof e=="number"){gi.checkSafeUint53(e,"invalid hexlify value");let r="";for(;e;)r=kE[e&15]+r,e=Math.floor(e/16);return r.length?(r.length%2&&(r="0"+r),"0x"+r):"0x00"}if(typeof e=="bigint")return e=e.toString(16),e.length%2?"0x0"+e:"0x"+e;if(t.allowMissingPrefix&&typeof e=="string"&&e.substring(0,2)!=="0x"&&(e="0x"+e),pre(e))return e.toHexString();if(Bn(e))return e.length%2&&(t.hexPad==="left"?e="0x0"+e.substring(2):t.hexPad==="right"?e+="0":gi.throwArgumentError("hex data is odd-length","value",e)),e.toLowerCase();if(c7(e)){let r="0x";for(let n=0;n<e.length;n++){let i=e[n];r+=kE[(i&240)>>4]+kE[i&15]}return r}return gi.throwArgumentError("invalid hexlify value","value",e)}function q1(e){if(typeof e!="string")e=Tt(e);else if(!Bn(e)||e.length%2)return null;return(e.length-2)/2}function Zi(e,t,r){return typeof e!="string"?e=Tt(e):(!Bn(e)||e.length%2)&&gi.throwArgumentError("invalid hexData","value",e),t=2+2*t,r!=null?"0x"+e.substring(t,2+2*r):"0x"+e.substring(t)}function Ya(e){let t="0x";return e.forEach(r=>{t+=Tt(r).substring(2)}),t}function cL(e){const t=SOe(Tt(e,{hexPad:"left"}));return t==="0x"?"0x0":t}function SOe(e){typeof e!="string"&&(e=Tt(e)),Bn(e)||gi.throwArgumentError("invalid hex string","value",e),e=e.substring(2);let t=0;for(;t<e.length&&e[t]==="0";)t++;return"0x"+e.substring(t)}function bi(e,t){for(typeof e!="string"?e=Tt(e):Bn(e)||gi.throwArgumentError("invalid hex string","value",e),e.length>2*t+2&&gi.throwArgumentError("value out of range","value",arguments[1]);e.length<2*t+2;)e="0x0"+e.substring(2);return e}function Cm(e){const t={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(l7(e)){let r=ft(e);r.length===64?(t.v=27+(r[32]>>7),r[32]&=127,t.r=Tt(r.slice(0,32)),t.s=Tt(r.slice(32,64))):r.length===65?(t.r=Tt(r.slice(0,32)),t.s=Tt(r.slice(32,64)),t.v=r[64]):gi.throwArgumentError("invalid signature string","signature",e),t.v<27&&(t.v===0||t.v===1?t.v+=27:gi.throwArgumentError("signature invalid v byte","signature",e)),t.recoveryParam=1-t.v%2,t.recoveryParam&&(r[32]|=128),t._vs=Tt(r.slice(32,64))}else{if(t.r=e.r,t.s=e.s,t.v=e.v,t.recoveryParam=e.recoveryParam,t._vs=e._vs,t._vs!=null){const i=COe(ft(t._vs),32);t._vs=Tt(i);const o=i[0]>=128?1:0;t.recoveryParam==null?t.recoveryParam=o:t.recoveryParam!==o&&gi.throwArgumentError("signature recoveryParam mismatch _vs","signature",e),i[0]&=127;const a=Tt(i);t.s==null?t.s=a:t.s!==a&&gi.throwArgumentError("signature v mismatch _vs","signature",e)}if(t.recoveryParam==null)t.v==null?gi.throwArgumentError("signature missing v and recoveryParam","signature",e):t.v===0||t.v===1?t.recoveryParam=t.v:t.recoveryParam=1-t.v%2;else if(t.v==null)t.v=27+t.recoveryParam;else{const i=t.v===0||t.v===1?t.v:1-t.v%2;t.recoveryParam!==i&&gi.throwArgumentError("signature recoveryParam mismatch v","signature",e)}t.r==null||!Bn(t.r)?gi.throwArgumentError("signature missing or invalid r","signature",e):t.r=bi(t.r,32),t.s==null||!Bn(t.s)?gi.throwArgumentError("signature missing or invalid s","signature",e):t.s=bi(t.s,32);const r=ft(t.s);r[0]>=128&&gi.throwArgumentError("signature s out of range","signature",e),t.recoveryParam&&(r[0]|=128);const n=Tt(r);t._vs&&(Bn(t._vs)||gi.throwArgumentError("signature invalid _vs","signature",e),t._vs=bi(t._vs,32)),t._vs==null?t._vs=n:t._vs!==n&&gi.throwArgumentError("signature _vs mismatch v and s","signature",e)}return t.yParityAndS=t._vs,t.compact=t.r+t.yParityAndS.substring(2),t}function N$(e){return e=Cm(e),Tt(ia([e.r,e.s,e.recoveryParam?"0x1c":"0x1b"]))}const AOe="bignumber/5.8.0";var Tb=fr.BN;const Xc=new Me(AOe),NE={},j$=9007199254740991;let D$=!1;class Ft{constructor(t,r){t!==NE&&Xc.throwError("cannot call constructor directly; use BigNumber.from",Me.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=r,this._isBigNumber=!0,Object.freeze(this)}fromTwos(t){return pa(en(this).fromTwos(t))}toTwos(t){return pa(en(this).toTwos(t))}abs(){return this._hex[0]==="-"?Ft.from(this._hex.substring(1)):this}add(t){return pa(en(this).add(en(t)))}sub(t){return pa(en(this).sub(en(t)))}div(t){return Ft.from(t).isZero()&&ss("division-by-zero","div"),pa(en(this).div(en(t)))}mul(t){return pa(en(this).mul(en(t)))}mod(t){const r=en(t);return r.isNeg()&&ss("division-by-zero","mod"),pa(en(this).umod(r))}pow(t){const r=en(t);return r.isNeg()&&ss("negative-power","pow"),pa(en(this).pow(r))}and(t){const r=en(t);return(this.isNegative()||r.isNeg())&&ss("unbound-bitwise-result","and"),pa(en(this).and(r))}or(t){const r=en(t);return(this.isNegative()||r.isNeg())&&ss("unbound-bitwise-result","or"),pa(en(this).or(r))}xor(t){const r=en(t);return(this.isNegative()||r.isNeg())&&ss("unbound-bitwise-result","xor"),pa(en(this).xor(r))}mask(t){return(this.isNegative()||t<0)&&ss("negative-width","mask"),pa(en(this).maskn(t))}shl(t){return(this.isNegative()||t<0)&&ss("negative-width","shl"),pa(en(this).shln(t))}shr(t){return(this.isNegative()||t<0)&&ss("negative-width","shr"),pa(en(this).shrn(t))}eq(t){return en(this).eq(en(t))}lt(t){return en(this).lt(en(t))}lte(t){return en(this).lte(en(t))}gt(t){return en(this).gt(en(t))}gte(t){return en(this).gte(en(t))}isNegative(){return this._hex[0]==="-"}isZero(){return en(this).isZero()}toNumber(){try{return en(this).toNumber()}catch{ss("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch{}return Xc.throwError("this platform does not support BigInt",Me.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?D$||(D$=!0,Xc.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?Xc.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",Me.errors.UNEXPECTED_ARGUMENT,{}):Xc.throwError("BigNumber.toString does not accept parameters",Me.errors.UNEXPECTED_ARGUMENT,{})),en(this).toString(10)}toHexString(){return this._hex}toJSON(t){return{type:"BigNumber",hex:this.toHexString()}}static from(t){if(t instanceof Ft)return t;if(typeof t=="string")return t.match(/^-?0x[0-9a-f]+$/i)?new Ft(NE,Ey(t)):t.match(/^-?[0-9]+$/)?new Ft(NE,Ey(new Tb(t))):Xc.throwArgumentError("invalid BigNumber string","value",t);if(typeof t=="number")return t%1&&ss("underflow","BigNumber.from",t),(t>=j$||t<=-j$)&&ss("overflow","BigNumber.from",t),Ft.from(String(t));const r=t;if(typeof r=="bigint")return Ft.from(r.toString());if(c7(r))return Ft.from(Tt(r));if(r)if(r.toHexString){const n=r.toHexString();if(typeof n=="string")return Ft.from(n)}else{let n=r._hex;if(n==null&&r.type==="BigNumber"&&(n=r.hex),typeof n=="string"&&(Bn(n)||n[0]==="-"&&Bn(n.substring(1))))return Ft.from(n)}return Xc.throwArgumentError("invalid BigNumber value","value",t)}static isBigNumber(t){return!!(t&&t._isBigNumber)}}function Ey(e){if(typeof e!="string")return Ey(e.toString(16));if(e[0]==="-")return e=e.substring(1),e[0]==="-"&&Xc.throwArgumentError("invalid hex","value",e),e=Ey(e),e==="0x00"?e:"-"+e;if(e.substring(0,2)!=="0x"&&(e="0x"+e),e==="0x")return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&e.substring(0,4)==="0x00";)e="0x"+e.substring(4);return e}function pa(e){return Ft.from(Ey(e))}function en(e){const t=Ft.from(e).toHexString();return t[0]==="-"?new Tb("-"+t.substring(3),16):new Tb(t.substring(2),16)}function ss(e,t,r){const n={fault:e,operation:t};return r!=null&&(n.value=r),Xc.throwError(e,Me.errors.NUMERIC_FAULT,n)}function TOe(e){return new Tb(e,36).toString(16)}const MOe="properties/5.8.0";var ROe=function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(d){try{c(n.next(d))}catch(f){a(f)}}function l(d){try{c(n.throw(d))}catch(f){a(f)}}function c(d){d.done?o(d.value):i(d.value).then(s,l)}c((n=n.apply(e,t||[])).next())})};const Mb=new Me(MOe);function Ut(e,t,r){Object.defineProperty(e,t,{enumerable:!0,value:r,writable:!1})}function G2(e,t){for(let r=0;r<32;r++){if(e[t])return e[t];if(!e.prototype||typeof e.prototype!="object")break;e=Object.getPrototypeOf(e.prototype).constructor}return null}function Ki(e){return ROe(this,void 0,void 0,function*(){const t=Object.keys(e).map(n=>{const i=e[n];return Promise.resolve(i).then(o=>({key:n,value:o}))});return(yield Promise.all(t)).reduce((n,i)=>(n[i.key]=i.value,n),{})})}function hre(e,t){(!e||typeof e!="object")&&Mb.throwArgumentError("invalid object","object",e),Object.keys(e).forEach(r=>{t[r]||Mb.throwArgumentError("invalid object key - "+r,"transaction:"+r,e)})}function Ca(e){const t={};for(const r in e)t[r]=e[r];return t}const IOe={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function mre(e){if(e==null||IOe[typeof e])return!0;if(Array.isArray(e)||typeof e=="object"){if(!Object.isFrozen(e))return!1;const t=Object.keys(e);for(let r=0;r<t.length;r++){let n=null;try{n=e[t[r]]}catch{continue}if(!mre(n))return!1}return!0}return Mb.throwArgumentError(`Cannot deepCopy ${typeof e}`,"object",e)}function OOe(e){if(mre(e))return e;if(Array.isArray(e))return Object.freeze(e.map(t=>xy(t)));if(typeof e=="object"){const t={};for(const r in e){const n=e[r];n!==void 0&&Ut(t,r,xy(n))}return t}return Mb.throwArgumentError(`Cannot deepCopy ${typeof e}`,"object",e)}function xy(e){return OOe(e)}class uL{constructor(t){for(const r in t)this[r]=xy(t[r])}}var gre={exports:{}};/**
|
|
272
|
+
deps: ${d}}`};const i={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(l){const[c,d]=o(l);a(l,c),s(l,d)}};function o({schema:l}){const c={},d={};for(const f in l){if(f==="__proto__")continue;const p=Array.isArray(l[f])?c:d;p[f]=l[f]}return[c,d]}function a(l,c=l.schema){const{gen:d,data:f,it:p}=l;if(Object.keys(c).length===0)return;const m=d.let("missing");for(const v in c){const g=c[v];if(g.length===0)continue;const b=(0,n.propertyInData)(d,f,v,p.opts.ownProperties);l.setParams({property:v,depsCount:g.length,deps:g.join(", ")}),p.allErrors?d.if(b,()=>{for(const h of g)(0,n.checkReportMissingProp)(l,h)}):(d.if((0,t._)`${b} && (${(0,n.checkMissingProp)(l,g,m)})`),(0,n.reportMissingProp)(l,m),d.else())}}e.validatePropertyDeps=a;function s(l,c=l.schema){const{gen:d,data:f,keyword:p,it:m}=l,v=d.name("valid");for(const g in c)(0,r.alwaysValidSchema)(m,c[g])||(d.if((0,n.propertyInData)(d,f,g,m.opts.ownProperties),()=>{const b=l.subschema({keyword:p,schemaProp:g},v);l.mergeValidEvaluated(b,v)},()=>d.var(v,!0)),l.ok(v))}e.validateSchemaDeps=s,e.default=i})(Vee);var TP={};Object.defineProperty(TP,"__esModule",{value:!0});const zee=yr,zMe=Ct,qMe={message:"property name must be valid",params:({params:e})=>(0,zee._)`{propertyName: ${e.propertyName}}`},WMe={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:qMe,code(e){const{gen:t,schema:r,data:n,it:i}=e;if((0,zMe.alwaysValidSchema)(i,r))return;const o=t.name("valid");t.forIn("key",n,a=>{e.setParams({propertyName:a}),e.subschema({keyword:"propertyNames",data:a,dataTypes:["string"],propertyName:a,compositeRule:!0},o),t.if((0,zee.not)(o),()=>{e.error(!0),i.allErrors||t.break()})}),e.ok(o)}};TP.default=WMe;var G8={};Object.defineProperty(G8,"__esModule",{value:!0});const S5=Vr,ol=yr,GMe=Bl,A5=Ct,KMe={message:"must NOT have additional properties",params:({params:e})=>(0,ol._)`{additionalProperty: ${e.additionalProperty}}`},YMe={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:KMe,code(e){const{gen:t,schema:r,parentSchema:n,data:i,errsCount:o,it:a}=e;if(!o)throw new Error("ajv implementation error");const{allErrors:s,opts:l}=a;if(a.props=!0,l.removeAdditional!=="all"&&(0,A5.alwaysValidSchema)(a,r))return;const c=(0,S5.allSchemaProperties)(n.properties),d=(0,S5.allSchemaProperties)(n.patternProperties);f(),e.ok((0,ol._)`${o} === ${GMe.default.errors}`);function f(){t.forIn("key",i,b=>{!c.length&&!d.length?v(b):t.if(p(b),()=>v(b))})}function p(b){let h;if(c.length>8){const y=(0,A5.schemaRefOrVal)(a,n.properties,"properties");h=(0,S5.isOwnProperty)(t,y,b)}else c.length?h=(0,ol.or)(...c.map(y=>(0,ol._)`${b} === ${y}`)):h=ol.nil;return d.length&&(h=(0,ol.or)(h,...d.map(y=>(0,ol._)`${(0,S5.usePattern)(e,y)}.test(${b})`))),(0,ol.not)(h)}function m(b){t.code((0,ol._)`delete ${i}[${b}]`)}function v(b){if(l.removeAdditional==="all"||l.removeAdditional&&r===!1){m(b);return}if(r===!1){e.setParams({additionalProperty:b}),e.error(),s||t.break();return}if(typeof r=="object"&&!(0,A5.alwaysValidSchema)(a,r)){const h=t.name("valid");l.removeAdditional==="failing"?(g(b,h,!1),t.if((0,ol.not)(h),()=>{e.reset(),m(b)})):(g(b,h),s||t.if((0,ol.not)(h),()=>t.break()))}}function g(b,h,y){const w={keyword:"additionalProperties",dataProp:b,dataPropType:A5.Type.Str};y===!1&&Object.assign(w,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(w,h)}}};G8.default=YMe;var MP={};Object.defineProperty(MP,"__esModule",{value:!0});const ZMe=Os,p$=Vr,AE=Ct,h$=G8,JMe={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,parentSchema:n,data:i,it:o}=e;o.opts.removeAdditional==="all"&&n.additionalProperties===void 0&&h$.default.code(new ZMe.KeywordCxt(o,h$.default,"additionalProperties"));const a=(0,p$.allSchemaProperties)(r);for(const f of a)o.definedProperties.add(f);o.opts.unevaluated&&a.length&&o.props!==!0&&(o.props=AE.mergeEvaluated.props(t,(0,AE.toHash)(a),o.props));const s=a.filter(f=>!(0,AE.alwaysValidSchema)(o,r[f]));if(s.length===0)return;const l=t.name("valid");for(const f of s)c(f)?d(f):(t.if((0,p$.propertyInData)(t,i,f,o.opts.ownProperties)),d(f),o.allErrors||t.else().var(l,!0),t.endIf()),e.it.definedProperties.add(f),e.ok(l);function c(f){return o.opts.useDefaults&&!o.compositeRule&&r[f].default!==void 0}function d(f){e.subschema({keyword:"properties",schemaProp:f,dataProp:f},l)}}};MP.default=JMe;var RP={};Object.defineProperty(RP,"__esModule",{value:!0});const m$=Vr,T5=yr,g$=Ct,y$=Ct,XMe={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,data:n,parentSchema:i,it:o}=e,{opts:a}=o,s=(0,m$.allSchemaProperties)(r),l=s.filter(g=>(0,g$.alwaysValidSchema)(o,r[g]));if(s.length===0||l.length===s.length&&(!o.opts.unevaluated||o.props===!0))return;const c=a.strictSchema&&!a.allowMatchingProperties&&i.properties,d=t.name("valid");o.props!==!0&&!(o.props instanceof T5.Name)&&(o.props=(0,y$.evaluatedPropsToName)(t,o.props));const{props:f}=o;p();function p(){for(const g of s)c&&m(g),o.allErrors?v(g):(t.var(d,!0),v(g),t.if(d))}function m(g){for(const b in c)new RegExp(g).test(b)&&(0,g$.checkStrictMode)(o,`property ${b} matches pattern ${g} (use allowMatchingProperties)`)}function v(g){t.forIn("key",n,b=>{t.if((0,T5._)`${(0,m$.usePattern)(e,g)}.test(${b})`,()=>{const h=l.includes(g);h||e.subschema({keyword:"patternProperties",schemaProp:g,dataProp:b,dataPropType:y$.Type.Str},d),o.opts.unevaluated&&f!==!0?t.assign((0,T5._)`${f}[${b}]`,!0):!h&&!o.allErrors&&t.if((0,T5.not)(d),()=>t.break())})})}}};RP.default=XMe;var IP={};Object.defineProperty(IP,"__esModule",{value:!0});const QMe=Ct,eRe={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:r,it:n}=e;if((0,QMe.alwaysValidSchema)(n,r)){e.fail();return}const i=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),e.failResult(i,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};IP.default=eRe;var OP={};Object.defineProperty(OP,"__esModule",{value:!0});const tRe=Vr,rRe={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:tRe.validateUnion,error:{message:"must match a schema in anyOf"}};OP.default=rRe;var PP={};Object.defineProperty(PP,"__esModule",{value:!0});const V4=yr,nRe=Ct,iRe={message:"must match exactly one schema in oneOf",params:({params:e})=>(0,V4._)`{passingSchemas: ${e.passing}}`},oRe={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:iRe,code(e){const{gen:t,schema:r,parentSchema:n,it:i}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(i.opts.discriminator&&n.discriminator)return;const o=r,a=t.let("valid",!1),s=t.let("passing",null),l=t.name("_valid");e.setParams({passing:s}),t.block(c),e.result(a,()=>e.reset(),()=>e.error(!0));function c(){o.forEach((d,f)=>{let p;(0,nRe.alwaysValidSchema)(i,d)?t.var(l,!0):p=e.subschema({keyword:"oneOf",schemaProp:f,compositeRule:!0},l),f>0&&t.if((0,V4._)`${l} && ${a}`).assign(a,!1).assign(s,(0,V4._)`[${s}, ${f}]`).else(),t.if(l,()=>{t.assign(a,!0),t.assign(s,f),p&&e.mergeEvaluated(p,V4.Name)})})}}};PP.default=oRe;var LP={};Object.defineProperty(LP,"__esModule",{value:!0});const aRe=Ct,sRe={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:r,it:n}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const i=t.name("valid");r.forEach((o,a)=>{if((0,aRe.alwaysValidSchema)(n,o))return;const s=e.subschema({keyword:"allOf",schemaProp:a},i);e.ok(i),e.mergeEvaluated(s)})}};LP.default=sRe;var kP={};Object.defineProperty(kP,"__esModule",{value:!0});const Cb=yr,qee=Ct,lRe={message:({params:e})=>(0,Cb.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,Cb._)`{failingKeyword: ${e.ifClause}}`},cRe={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:lRe,code(e){const{gen:t,parentSchema:r,it:n}=e;r.then===void 0&&r.else===void 0&&(0,qee.checkStrictMode)(n,'"if" without "then" and "else" is ignored');const i=v$(n,"then"),o=v$(n,"else");if(!i&&!o)return;const a=t.let("valid",!0),s=t.name("_valid");if(l(),e.reset(),i&&o){const d=t.let("ifClause");e.setParams({ifClause:d}),t.if(s,c("then",d),c("else",d))}else i?t.if(s,c("then")):t.if((0,Cb.not)(s),c("else"));e.pass(a,()=>e.error(!0));function l(){const d=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},s);e.mergeEvaluated(d)}function c(d,f){return()=>{const p=e.subschema({keyword:d},s);t.assign(a,s),e.mergeValidEvaluated(p,a),f?t.assign(f,(0,Cb._)`${d}`):e.setParams({ifClause:d})}}}};function v$(e,t){const r=e.schema[t];return r!==void 0&&!(0,qee.alwaysValidSchema)(e,r)}kP.default=cRe;var NP={};Object.defineProperty(NP,"__esModule",{value:!0});const uRe=Ct,dRe={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){t.if===void 0&&(0,uRe.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};NP.default=dRe;Object.defineProperty(wP,"__esModule",{value:!0});const fRe=Em,pRe=CP,hRe=xm,mRe=SP,gRe=AP,yRe=Vee,vRe=TP,bRe=G8,_Re=MP,ERe=RP,xRe=IP,wRe=OP,CRe=PP,SRe=LP,ARe=kP,TRe=NP;function MRe(e=!1){const t=[xRe.default,wRe.default,CRe.default,SRe.default,ARe.default,TRe.default,vRe.default,bRe.default,yRe.default,_Re.default,ERe.default];return e?t.push(pRe.default,mRe.default):t.push(fRe.default,hRe.default),t.push(gRe.default),t}wP.default=MRe;var jP={},DP={};Object.defineProperty(DP,"__esModule",{value:!0});const wi=yr,RRe={message:({schemaCode:e})=>(0,wi.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,wi._)`{format: ${e}}`},IRe={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:RRe,code(e,t){const{gen:r,data:n,$data:i,schema:o,schemaCode:a,it:s}=e,{opts:l,errSchemaPath:c,schemaEnv:d,self:f}=s;if(!l.validateFormats)return;i?p():m();function p(){const v=r.scopeValue("formats",{ref:f.formats,code:l.code.formats}),g=r.const("fDef",(0,wi._)`${v}[${a}]`),b=r.let("fType"),h=r.let("format");r.if((0,wi._)`typeof ${g} == "object" && !(${g} instanceof RegExp)`,()=>r.assign(b,(0,wi._)`${g}.type || "string"`).assign(h,(0,wi._)`${g}.validate`),()=>r.assign(b,(0,wi._)`"string"`).assign(h,g)),e.fail$data((0,wi.or)(y(),w()));function y(){return l.strictSchema===!1?wi.nil:(0,wi._)`${a} && !${h}`}function w(){const T=d.$async?(0,wi._)`(${g}.async ? await ${h}(${n}) : ${h}(${n}))`:(0,wi._)`${h}(${n})`,R=(0,wi._)`(typeof ${h} == "function" ? ${T} : ${h}.test(${n}))`;return(0,wi._)`${h} && ${h} !== true && ${b} === ${t} && !${R}`}}function m(){const v=f.formats[o];if(!v){y();return}if(v===!0)return;const[g,b,h]=w(v);g===t&&e.pass(T());function y(){if(l.strictSchema===!1){f.logger.warn(R());return}throw new Error(R());function R(){return`unknown format "${o}" ignored in schema at path "${c}"`}}function w(R){const S=R instanceof RegExp?(0,wi.regexpCode)(R):l.code.formats?(0,wi._)`${l.code.formats}${(0,wi.getProperty)(o)}`:void 0,I=r.scopeValue("formats",{key:o,ref:R,code:S});return typeof R=="object"&&!(R instanceof RegExp)?[R.type||"string",R.validate,(0,wi._)`${I}.validate`]:["string",R,I]}function T(){if(typeof v=="object"&&!(v instanceof RegExp)&&v.async){if(!d.$async)throw new Error("async format in sync schema");return(0,wi._)`await ${h}(${n})`}return typeof b=="function"?(0,wi._)`${h}(${n})`:(0,wi._)`${h}.test(${n})`}}}};DP.default=IRe;Object.defineProperty(jP,"__esModule",{value:!0});const ORe=DP,PRe=[ORe.default];jP.default=PRe;var Mh={};Object.defineProperty(Mh,"__esModule",{value:!0});Mh.contentVocabulary=Mh.metadataVocabulary=void 0;Mh.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];Mh.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"];Object.defineProperty(lP,"__esModule",{value:!0});const LRe=cP,kRe=dP,NRe=wP,jRe=jP,b$=Mh,DRe=[LRe.default,kRe.default,(0,NRe.default)(),jRe.default,b$.metadataVocabulary,b$.contentVocabulary];lP.default=DRe;var BP={},K8={};Object.defineProperty(K8,"__esModule",{value:!0});K8.DiscrError=void 0;var _$;(function(e){e.Tag="tag",e.Mapping="mapping"})(_$||(K8.DiscrError=_$={}));Object.defineProperty(BP,"__esModule",{value:!0});const c0=yr,FS=K8,E$=Ea,BRe=_m,FRe=Ct,URe={message:({params:{discrError:e,tagName:t}})=>e===FS.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>(0,c0._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`},$Re={keyword:"discriminator",type:"object",schemaType:"object",error:URe,code(e){const{gen:t,data:r,schema:n,parentSchema:i,it:o}=e,{oneOf:a}=i;if(!o.opts.discriminator)throw new Error("discriminator: requires discriminator option");const s=n.propertyName;if(typeof s!="string")throw new Error("discriminator: requires propertyName");if(n.mapping)throw new Error("discriminator: mapping is not supported");if(!a)throw new Error("discriminator: requires oneOf keyword");const l=t.let("valid",!1),c=t.const("tag",(0,c0._)`${r}${(0,c0.getProperty)(s)}`);t.if((0,c0._)`typeof ${c} == "string"`,()=>d(),()=>e.error(!1,{discrError:FS.DiscrError.Tag,tag:c,tagName:s})),e.ok(l);function d(){const m=p();t.if(!1);for(const v in m)t.elseIf((0,c0._)`${c} === ${v}`),t.assign(l,f(m[v]));t.else(),e.error(!1,{discrError:FS.DiscrError.Mapping,tag:c,tagName:s}),t.endIf()}function f(m){const v=t.name("valid"),g=e.subschema({keyword:"oneOf",schemaProp:m},v);return e.mergeEvaluated(g,c0.Name),v}function p(){var m;const v={},g=h(i);let b=!0;for(let T=0;T<a.length;T++){let R=a[T];if(R!=null&&R.$ref&&!(0,FRe.schemaHasRulesButRef)(R,o.self.RULES)){const I=R.$ref;if(R=E$.resolveRef.call(o.self,o.schemaEnv.root,o.baseId,I),R instanceof E$.SchemaEnv&&(R=R.schema),R===void 0)throw new BRe.default(o.opts.uriResolver,o.baseId,I)}const S=(m=R==null?void 0:R.properties)===null||m===void 0?void 0:m[s];if(typeof S!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${s}"`);b=b&&(g||h(R)),y(S,T)}if(!b)throw new Error(`discriminator: "${s}" must be required`);return v;function h({required:T}){return Array.isArray(T)&&T.includes(s)}function y(T,R){if(T.const)w(T.const,R);else if(T.enum)for(const S of T.enum)w(S,R);else throw new Error(`discriminator: "properties/${s}" must have "const" or "enum"`)}function w(T,R){if(typeof T!="string"||T in v)throw new Error(`discriminator: "${s}" values must be unique strings`);v[T]=R}}}};BP.default=$Re;const HRe="http://json-schema.org/draft-07/schema#",VRe="http://json-schema.org/draft-07/schema#",zRe="Core schema meta-schema",qRe={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},WRe=["object","boolean"],GRe={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},KRe={$schema:HRe,$id:VRe,title:zRe,definitions:qRe,type:WRe,properties:GRe,default:!0};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const r=oee,n=lP,i=BP,o=KRe,a=["/properties"],s="http://json-schema.org/draft-07/schema";class l extends r.default{_addVocabularies(){super._addVocabularies(),n.default.forEach(v=>this.addVocabulary(v)),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const v=this.opts.$data?this.$dataMetaSchema(o,a):o;this.addMetaSchema(v,s,!1),this.refs["http://json-schema.org/schema"]=s}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(s)?s:void 0)}}t.Ajv=l,e.exports=t=l,e.exports.Ajv=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var c=Os;Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return c.KeywordCxt}});var d=yr;Object.defineProperty(t,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return d.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return d.CodeGen}});var f=d3;Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return f.default}});var p=_m;Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return p.default}})})(PS,PS.exports);var Wee=PS.exports,US={exports:{}},$S={exports:{}},HS={exports:{}},VS={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=yr,n=["undefined","string","number","object","function","boolean","symbol"];function i(){return{keyword:"typeof",schemaType:["string","array"],code(o){const{data:a,schema:s,schemaValue:l}=o;o.fail(typeof s=="string"?(0,r._)`typeof ${a} != ${s}`:(0,r._)`${l}.indexOf(typeof ${a}) < 0`)},metaSchema:{anyOf:[{type:"string",enum:n},{type:"array",items:{type:"string",enum:n}}]}}}t.default=i,e.exports=i})(VS,VS.exports);var YRe=VS.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(YRe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(HS,HS.exports);var ZRe=HS.exports,zS={exports:{}},qS={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r={Object,Array,Function,Number,String,Date,RegExp};typeof Buffer<"u"&&(r.Buffer=Buffer),typeof Promise<"u"&&(r.Promise=Promise);const n=Object.assign(i,{CONSTRUCTORS:r});function i(){return{keyword:"instanceof",schemaType:["string","array"],compile(a){if(typeof a=="string"){const s=o(a);return l=>l instanceof s}if(Array.isArray(a)){const s=a.map(o);return l=>{for(const c of s)if(l instanceof c)return!0;return!1}}throw new Error("ajv implementation error")},metaSchema:{anyOf:[{type:"string"},{type:"array",items:{type:"string"}}]}}}function o(a){const s=r[a];if(s)return s;throw new Error(`invalid "instanceof" keyword value ${a}`)}t.default=n,e.exports=n})(qS,qS.exports);var JRe=qS.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(JRe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(zS,zS.exports);var XRe=zS.exports,WS={exports:{}},GS={exports:{}},Y8={};Object.defineProperty(Y8,"__esModule",{value:!0});function QRe(e){return()=>({keyword:e,type:"number",schemaType:"array",macro:function([r,n]){return t(r,n),e==="range"?{minimum:r,maximum:n}:{exclusiveMinimum:r,exclusiveMaximum:n}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}});function t(r,n){if(r>n||e==="exclusiveRange"&&r===n)throw new Error("There are no numbers in range")}}Y8.default=QRe;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const i=(0,r(Y8).default)("range");t.default=i,e.exports=i})(GS,GS.exports);var eIe=GS.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(eIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(WS,WS.exports);var tIe=WS.exports,KS={exports:{}},YS={exports:{}};(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const i=(0,r(Y8).default)("exclusiveRange");t.default=i,e.exports=i})(YS,YS.exports);var rIe=YS.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(rIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(KS,KS.exports);var nIe=KS.exports,ZS={exports:{}},JS={exports:{}},Bu={};Object.defineProperty(Bu,"__esModule",{value:!0});Bu.usePattern=Bu.metaSchemaRef=void 0;const iIe=yr,oIe="http://json-schema.org/schema";function aIe({defaultMeta:e}={}){return e===!1?{}:{$ref:e||oIe}}Bu.metaSchemaRef=aIe;function sIe({gen:e,it:{opts:t}},r,n=t.unicodeRegExp?"u":""){const i=new RegExp(r,n);return e.scopeValue("pattern",{key:i.toString(),ref:i,code:(0,iIe._)`new RegExp(${r}, ${n})`})}Bu.usePattern=sIe;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=yr,n=Bu,i={type:"object",properties:{pattern:{type:"string"},flags:{type:"string",nullable:!0}},required:["pattern"],additionalProperties:!1},o=/^\/(.*)\/([gimuy]*)$/;function a(){return{keyword:"regexp",type:"string",schemaType:["string","object"],code(s){const{data:l,schema:c}=s,d=f(c);s.pass((0,r._)`${d}.test(${l})`);function f(p){if(typeof p=="object")return(0,n.usePattern)(s,p.pattern,p.flags);const m=o.exec(p);if(m)return(0,n.usePattern)(s,m[1],m[2]);throw new Error("cannot parse string into RegExp")}},metaSchema:{anyOf:[{type:"string"},i]}}}t.default=a,e.exports=a})(JS,JS.exports);var lIe=JS.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(lIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(ZS,ZS.exports);var cIe=ZS.exports,XS={exports:{}},QS={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=yr,n={trimStart:l=>l.trimStart(),trimEnd:l=>l.trimEnd(),trimLeft:l=>l.trimStart(),trimRight:l=>l.trimEnd(),trim:l=>l.trim(),toLowerCase:l=>l.toLowerCase(),toUpperCase:l=>l.toUpperCase(),toEnumCase:(l,c)=>(c==null?void 0:c.hash[s(l)])||l},i=Object.assign(o,{transform:n});function o(){return{keyword:"transform",schemaType:"array",before:"enum",code(l){const{gen:c,data:d,schema:f,parentSchema:p,it:m}=l,{parentData:v,parentDataProperty:g}=m,b=f;if(!b.length)return;let h;if(b.includes("toEnumCase")){const w=a(p);h=c.scopeValue("obj",{ref:w,code:(0,r.stringify)(w)})}c.if((0,r._)`typeof ${d} == "string" && ${v} !== undefined`,()=>{c.assign(d,y(b.slice())),c.assign((0,r._)`${v}[${g}]`,d)});function y(w){if(!w.length)return d;const T=w.pop();if(!(T in n))throw new Error(`transform: unknown transformation ${T}`);const R=c.scopeValue("func",{ref:n[T],code:(0,r._)`require("ajv-keywords/dist/definitions/transform").transform${(0,r.getProperty)(T)}`}),S=y(w);return h&&T==="toEnumCase"?(0,r._)`${R}(${S}, ${h})`:(0,r._)`${R}(${S})`}},metaSchema:{type:"array",items:{type:"string",enum:Object.keys(n)}}}}function a(l){const c={hash:{}};if(!l.enum)throw new Error('transform: "toEnumCase" requires "enum"');for(const d of l.enum){if(typeof d!="string")continue;const f=s(d);if(c.hash[f])throw new Error('transform: "toEnumCase" requires all lowercased "enum" values to be unique');c.hash[f]=d}return c}function s(l){return l.toLowerCase()}t.default=i,e.exports=i})(QS,QS.exports);var uIe=QS.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(uIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(XS,XS.exports);var dIe=XS.exports,eA={exports:{}},tA={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=ed,n=["number","integer","string","boolean","null"];function i(){return{keyword:"uniqueItemProperties",type:"array",schemaType:"array",compile(a,s){const l=o(a,s);return c=>{if(c.length<=1)return!0;for(let d=0;d<a.length;d++){const f=a[d];if(l[d]){const p={};for(const m of c){if(!m||typeof m!="object")continue;let v=m[f];if(!(v&&typeof v=="object")){if(typeof v=="string"&&(v='"'+v),p[v])return!1;p[v]=!0}}}else for(let p=c.length;p--;){const m=c[p];if(!(!m||typeof m!="object"))for(let v=p;v--;){const g=c[v];if(g&&typeof g=="object"&&r(m[f],g[f]))return!1}}}return!0}},metaSchema:{type:"array",items:{type:"string"}}}}t.default=i;function o(a,s){return a.map(l=>{var c,d,f;const p=(f=(d=(c=s.items)===null||c===void 0?void 0:c.properties)===null||d===void 0?void 0:d[l])===null||f===void 0?void 0:f.type;return Array.isArray(p)?!p.includes("object")&&!p.includes("array"):n.includes(p)})}e.exports=i})(tA,tA.exports);var fIe=tA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(fIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(eA,eA.exports);var pIe=eA.exports,rA={exports:{}},nA={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});function r(){return{keyword:"allRequired",type:"object",schemaType:"boolean",macro(n,i){if(!n)return!0;const o=Object.keys(i.properties);return o.length===0?!0:{required:o}},dependencies:["properties"]}}t.default=r,e.exports=r})(nA,nA.exports);var hIe=nA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(hIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(rA,rA.exports);var mIe=rA.exports,iA={exports:{}},oA={exports:{}},Z8={};Object.defineProperty(Z8,"__esModule",{value:!0});function gIe(e){return()=>({keyword:e,type:"object",schemaType:"array",macro(t){return t.length===0?!0:t.length===1?{required:t}:{[e==="anyRequired"?"anyOf":"oneOf"]:t.map(n=>({required:[n]}))}},metaSchema:{type:"array",items:{type:"string"}}})}Z8.default=gIe;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const i=(0,r(Z8).default)("anyRequired");t.default=i,e.exports=i})(oA,oA.exports);var yIe=oA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(yIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(iA,iA.exports);var vIe=iA.exports,aA={exports:{}},sA={exports:{}};(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const i=(0,r(Z8).default)("oneRequired");t.default=i,e.exports=i})(sA,sA.exports);var bIe=sA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(bIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(aA,aA.exports);var _Ie=aA.exports,lA={exports:{}},cA={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=yr,n=Bu,i={message:({params:{missingPattern:a}})=>(0,r.str)`should have property matching pattern '${a}'`,params:({params:{missingPattern:a}})=>(0,r._)`{missingPattern: ${a}}`};function o(){return{keyword:"patternRequired",type:"object",schemaType:"array",error:i,code(a){const{gen:s,schema:l,data:c}=a;if(l.length===0)return;const d=s.let("valid",!0);for(const p of l)f(p);function f(p){const m=s.let("matched",!1);s.forIn("key",c,v=>{s.assign(m,(0,r._)`${(0,n.usePattern)(a,p)}.test(${v})`),s.if(m,()=>s.break())}),a.setParams({missingPattern:p}),s.assign(d,(0,r.and)(d,m)),a.pass(d)}},metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:!0}}}t.default=o,e.exports=o})(cA,cA.exports);var EIe=cA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(EIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(lA,lA.exports);var xIe=lA.exports,uA={exports:{}},dA={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});function r(){return{keyword:"prohibited",type:"object",schemaType:"array",macro:function(n){return n.length===0?!0:n.length===1?{not:{required:n}}:{not:{anyOf:n.map(i=>({required:[i]}))}}},metaSchema:{type:"array",items:{type:"string"}}}}t.default=r,e.exports=r})(dA,dA.exports);var wIe=dA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(wIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(uA,uA.exports);var CIe=uA.exports,fA={exports:{}},pA={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=Bu;function n(a){return{keyword:"deepProperties",type:"object",schemaType:"object",macro:function(s){const l=[];for(const c in s)l.push(i(c,s[c]));return{allOf:l}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:(0,r.metaSchemaRef)(a)}}}t.default=n;function i(a,s){const l=a.split("/"),c={};let d=c;for(let f=1;f<l.length;f++){let p=l[f];const m=f===l.length-1;p=o(p);const v=d.properties={};let g;if(/[0-9]+/.test(p)){let b=+p;for(g=d.items=[],d.type=["object","array"];b--;)g.push({})}else d.type="object";d=m?s:{},v[p]=d,g&&g.push(d)}return c}function o(a){return a.replace(/~1/g,"/").replace(/~0/g,"~")}e.exports=n})(pA,pA.exports);var SIe=pA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(SIe),i=(o,a)=>o.addKeyword((0,n.default)(a));t.default=i,e.exports=i})(fA,fA.exports);var AIe=fA.exports,hA={exports:{}},mA={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=yr;function n(){return{keyword:"deepRequired",type:"object",schemaType:"array",code(o){const{schema:a,data:s}=o,l=a.map(d=>(0,r._)`(${c(d)}) === undefined`);o.fail((0,r.or)(...l));function c(d){if(d==="")throw new Error("empty JSON pointer not allowed");const f=d.split("/");let p=s;const m=f.map((v,g)=>g?p=(0,r._)`${p}${(0,r.getProperty)(i(v))}`:p);return(0,r.and)(...m)}},metaSchema:{type:"array",items:{type:"string",format:"json-pointer"}}}}t.default=n;function i(o){return o.replace(/~1/g,"/").replace(/~0/g,"~")}e.exports=n})(mA,mA.exports);var TIe=mA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(TIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(hA,hA.exports);var MIe=hA.exports,gA={exports:{}},yA={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r={},n={timestamp:()=>()=>Date.now(),datetime:()=>()=>new Date().toISOString(),date:()=>()=>new Date().toISOString().slice(0,10),time:()=>()=>new Date().toISOString().slice(11),random:()=>()=>Math.random(),randomint:d=>{var f;const p=(f=d==null?void 0:d.max)!==null&&f!==void 0?f:2;return()=>Math.floor(Math.random()*p)},seq:d=>{var f;const p=(f=d==null?void 0:d.name)!==null&&f!==void 0?f:"";return r[p]||(r[p]=0),()=>r[p]++}},i=Object.assign(o,{DEFAULTS:n});function o(){return{keyword:"dynamicDefaults",type:"object",schemaType:["string","object"],modifying:!0,valid:!0,compile(d,f,p){if(!p.opts.useDefaults||p.compositeRule)return()=>!0;const m={};for(const g in d)m[g]=a(d[g]);const v=p.opts.useDefaults==="empty";return g=>{for(const b in d)(g[b]===void 0||v&&(g[b]===null||g[b]===""))&&(g[b]=m[b]());return!0}},metaSchema:{type:"object",additionalProperties:{anyOf:[{type:"string"},{type:"object",additionalProperties:!1,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}]}}}}function a(d){return typeof d=="object"?s(d):l(d)}function s({func:d,args:f}){const p=n[d];return c(d,p),p(f)}function l(d=""){const f=n[d];return c(d,f),f()}function c(d,f){if(!f)throw new Error(`invalid "dynamicDefaults" keyword property value: ${d}`)}t.default=i,e.exports=i})(yA,yA.exports);var RIe=yA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(RIe),i=o=>o.addKeyword((0,n.default)());t.default=i,e.exports=i})(gA,gA.exports);var IIe=gA.exports,vA={exports:{}},bA={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=yr,n=Bu,i={message:({params:{schemaProp:a}})=>a?(0,r.str)`should match case "${a}" schema`:(0,r.str)`should match default case schema`,params:({params:{schemaProp:a}})=>a?(0,r._)`{failingCase: ${a}}`:(0,r._)`{failingDefault: true}`};function o(a){const s=(0,n.metaSchemaRef)(a);return[{keyword:"select",schemaType:["string","number","boolean","null"],$data:!0,error:i,dependencies:["selectCases"],code(l){const{gen:c,schemaCode:d,parentSchema:f}=l;l.block$data(r.nil,()=>{const p=c.let("valid",!0),m=c.name("_valid"),v=c.const("value",(0,r._)`${d} === null ? "null" : ${d}`);c.if(!1);for(const g in f.selectCases){l.setParams({schemaProp:g}),c.elseIf((0,r._)`"" + ${v} == ${g}`);const b=l.subschema({keyword:"selectCases",schemaProp:g},m);l.mergeEvaluated(b,r.Name),c.assign(p,m)}if(c.else(),f.selectDefault!==void 0){l.setParams({schemaProp:void 0});const g=l.subschema({keyword:"selectDefault"},m);l.mergeEvaluated(g,r.Name),c.assign(p,m)}c.endIf(),l.pass(p)})}},{keyword:"selectCases",dependencies:["select"],metaSchema:{type:"object",additionalProperties:s}},{keyword:"selectDefault",dependencies:["select","selectCases"],metaSchema:s}]}t.default=o,e.exports=o})(bA,bA.exports);var OIe=bA.exports;(function(e,t){var r=X&&X.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(OIe),i=(o,a)=>((0,n.default)(a).forEach(s=>o.addKeyword(s)),o);t.default=i,e.exports=i})(vA,vA.exports);var PIe=vA.exports;(function(e,t){var r=X&&X.__importDefault||function(T){return T&&T.__esModule?T:{default:T}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(ZRe),i=r(XRe),o=r(tIe),a=r(nIe),s=r(cIe),l=r(dIe),c=r(pIe),d=r(mIe),f=r(vIe),p=r(_Ie),m=r(xIe),v=r(CIe),g=r(AIe),b=r(MIe),h=r(IIe),y=r(PIe),w={typeof:n.default,instanceof:i.default,range:o.default,exclusiveRange:a.default,regexp:s.default,transform:l.default,uniqueItemProperties:c.default,allRequired:d.default,anyRequired:f.default,oneRequired:p.default,patternRequired:m.default,prohibited:v.default,deepProperties:g.default,deepRequired:b.default,dynamicDefaults:h.default,select:y.default};t.default=w,e.exports=w})($S,$S.exports);var LIe=$S.exports;(function(e,t){var r=X&&X.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(LIe),i=(a,s)=>{if(Array.isArray(s)){for(const l of s)o(l)(a);return a}if(s)return o(s)(a),a;for(s in n.default)o(s)(a);return a};i.get=o;function o(a){const s=n.default[a];if(!s)throw new Error("Unknown keyword "+a);return s}t.default=i,e.exports=i,e.exports.default=i})(US,US.exports);var kIe=US.exports,_A={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=Wee,n=yr,i=Th,o=Os,a=bm,s=Bl,l="errorMessage",c=new r.Name("emUsed"),d={required:"missingProperty",dependencies:"property",dependentRequired:"property"},f=/\$\{[^}]+\}/,p=/\$\{([^}]+)\}/g,m=/^""\s*\+\s*|\s*\+\s*""$/g;function v(b){return{keyword:l,schemaType:["string","object"],post:!0,code(h){const{gen:y,data:w,schema:T,schemaValue:R,it:S}=h;if(S.createErrors===!1)return;const I=T,U=n.strConcat(s.default.instancePath,S.errorPath);y.if(r._`${s.default.errors} > 0`,()=>{if(typeof I=="object"){const[C,E]=q(I);E&&W(E),C&&J(C),$(D(I))}const x=typeof I=="string"?I:I._;x&&M(x),b.keepErrors||O()});function D({properties:x,items:C}){const E={};if(x){E.props={};for(const _ in x)E.props[_]=[]}if(C){E.items={};for(let _=0;_<C.length;_++)E.items[_]=[]}return E}function q(x){let C,E;for(const _ in x){if(_==="properties"||_==="items")continue;const P=x[_];if(typeof P=="object"){C||(C={});const G=C[_]={};for(const z in P)G[z]=[]}else E||(E={}),E[_]=[]}return[C,E]}function W(x){const C=y.const("emErrors",r.stringify(x)),E=y.const("templates",K(x,T));y.forOf("err",s.default.vErrors,z=>y.if(N(z,C),()=>y.code(r._`${C}[${z}.keyword].push(${z})`).assign(r._`${z}.${c}`,!0)));const{singleError:_}=b;if(_){const z=y.let("message",r._`""`),Z=y.let("paramsErrors",r._`[]`);P(ie=>{y.if(z,()=>y.code(r._`${z} += ${typeof _=="string"?_:";"}`)),y.code(r._`${z} += ${G(ie)}`),y.assign(Z,r._`${Z}.concat(${C}[${ie}])`)}),a.reportError(h,{message:z,params:r._`{errors: ${Z}}`})}else P(z=>a.reportError(h,{message:G(z),params:r._`{errors: ${C}[${z}]}`}));function P(z){y.forIn("key",C,Z=>y.if(r._`${C}[${Z}].length`,()=>z(Z)))}function G(z){return r._`${z} in ${E} ? ${E}[${z}]() : ${R}[${z}]`}}function J(x){const C=y.const("emErrors",r.stringify(x)),E=[];for(const Z in x)E.push([Z,K(x[Z],T[Z])]);const _=y.const("templates",y.object(...E)),P=y.scopeValue("obj",{ref:d,code:r.stringify(d)}),G=y.let("emPropParams"),z=y.let("emParamsErrors");y.forOf("err",s.default.vErrors,Z=>y.if(N(Z,C),()=>{y.assign(G,r._`${P}[${Z}.keyword]`),y.assign(z,r._`${C}[${Z}.keyword][${Z}.params[${G}]]`),y.if(z,()=>y.code(r._`${z}.push(${Z})`).assign(r._`${Z}.${c}`,!0))})),y.forIn("key",C,Z=>y.forIn("keyProp",r._`${C}[${Z}]`,ie=>{y.assign(z,r._`${C}[${Z}][${ie}]`),y.if(r._`${z}.length`,()=>{const ge=y.const("tmpl",r._`${_}[${Z}] && ${_}[${Z}][${ie}]`);a.reportError(h,{message:r._`${ge} ? ${ge}() : ${R}[${Z}][${ie}]`,params:r._`{errors: ${z}}`})})}))}function $(x){const{props:C,items:E}=x;if(!C&&!E)return;const _=r._`typeof ${w} == "object"`,P=r._`Array.isArray(${w})`,G=y.let("emErrors");let z,Z;const ie=y.let("templates");C&&E?(z=y.let("emChildKwd"),y.if(_),y.if(P,()=>{ge(E,T.items),y.assign(z,r.str`items`)},()=>{ge(C,T.properties),y.assign(z,r.str`properties`)}),Z=r._`[${z}]`):E?(y.if(P),ge(E,T.items),Z=r._`.items`):C&&(y.if(n.and(_,n.not(P))),ge(C,T.properties),Z=r._`.properties`),y.forOf("err",s.default.vErrors,ye=>H(ye,G,Ie=>y.code(r._`${G}[${Ie}].push(${ye})`).assign(r._`${ye}.${c}`,!0))),y.forIn("key",G,ye=>y.if(r._`${G}[${ye}].length`,()=>{a.reportError(h,{message:r._`${ye} in ${ie} ? ${ie}[${ye}]() : ${R}${Z}[${ye}]`,params:r._`{errors: ${G}[${ye}]}`}),y.assign(r._`${s.default.vErrors}[${s.default.errors}-1].instancePath`,r._`${U} + "/" + ${ye}.replace(/~/g, "~0").replace(/\\//g, "~1")`)})),y.endIf();function ge(ye,Ie){y.assign(G,r.stringify(ye)),y.assign(ie,K(ye,Ie))}}function M(x){const C=y.const("emErrs",r._`[]`);y.forOf("err",s.default.vErrors,E=>y.if(V(E),()=>y.code(r._`${C}.push(${E})`).assign(r._`${E}.${c}`,!0))),y.if(r._`${C}.length`,()=>a.reportError(h,{message:j(x),params:r._`{errors: ${C}}`}))}function O(){const x=y.const("emErrs",r._`[]`);y.forOf("err",s.default.vErrors,C=>y.if(r._`!${C}.${c}`,()=>y.code(r._`${x}.push(${C})`))),y.assign(s.default.vErrors,x).assign(s.default.errors,r._`${x}.length`)}function N(x,C){return n.and(r._`${x}.keyword !== ${l}`,r._`!${x}.${c}`,r._`${x}.instancePath === ${U}`,r._`${x}.keyword in ${C}`,r._`${x}.schemaPath.indexOf(${S.errSchemaPath}) === 0`,r._`/^\\/[^\\/]*$/.test(${x}.schemaPath.slice(${S.errSchemaPath.length}))`)}function H(x,C,E){y.if(n.and(r._`${x}.keyword !== ${l}`,r._`!${x}.${c}`,r._`${x}.instancePath.indexOf(${U}) === 0`),()=>{const _=y.scopeValue("pattern",{ref:/^\/([^/]*)(?:\/|$)/,code:r._`new RegExp("^\\\/([^/]*)(?:\\\/|$)")`}),P=y.const("emMatches",r._`${_}.exec(${x}.instancePath.slice(${U}.length))`),G=y.const("emChild",r._`${P} && ${P}[1].replace(/~1/g, "/").replace(/~0/g, "~")`);y.if(r._`${G} !== undefined && ${G} in ${C}`,()=>E(G))})}function V(x){return n.and(r._`${x}.keyword !== ${l}`,r._`!${x}.${c}`,n.or(r._`${x}.instancePath === ${U}`,n.and(r._`${x}.instancePath.indexOf(${U}) === 0`,r._`${x}.instancePath[${U}.length] === "/"`)),r._`${x}.schemaPath.indexOf(${S.errSchemaPath}) === 0`,r._`${x}.schemaPath[${S.errSchemaPath}.length] === "/"`)}function K(x,C){const E=[];for(const _ in x){const P=C[_];f.test(P)&&E.push([_,A(P)])}return y.object(...E)}function j(x){return f.test(x)?new i._Code(i.safeStringify(x).replace(p,(C,E)=>`" + JSON.stringify(${o.getData(E,S)}) + "`).replace(m,"")):r.stringify(x)}function A(x){return r._`function(){return ${j(x)}}`}},metaSchema:{anyOf:[{type:"string"},{type:"object",properties:{properties:{$ref:"#/$defs/stringMap"},items:{$ref:"#/$defs/stringList"},required:{$ref:"#/$defs/stringOrMap"},dependencies:{$ref:"#/$defs/stringOrMap"}},additionalProperties:{type:"string"}}],$defs:{stringMap:{type:"object",additionalProperties:{type:"string"}},stringOrMap:{anyOf:[{type:"string"},{$ref:"#/$defs/stringMap"}]},stringList:{type:"array",items:{type:"string"}}}}}}const g=(b,h={})=>{if(!b.opts.allErrors)throw new Error("ajv-errors: Ajv option allErrors must be true");if(b.opts.jsPropertySyntax)throw new Error("ajv-errors: ajv option jsPropertySyntax is not supported");return b.addKeyword(v(h))};t.default=g,e.exports=g,e.exports.default=g})(_A,_A.exports);var NIe=_A.exports,FP=X&&X.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ct,"__esModule",{value:!0});ct.validateType=ct.generateLazyValidator=ct.Ajv=void 0;const Gee=FP(Wee);ct.Ajv=Gee.default;const jIe=FP(kIe),DIe=FP(NIe);function BIe(e,t){let r=null;const n=(i,o)=>{if(!r){const a=new Gee.default({$data:!0,allErrors:!0});(0,jIe.default)(a),(0,DIe.default)(a,{singleError:!0}),t==null||t.forEach(s=>a.addKeyword(s)),r=a.compile(e),Object.defineProperty(n,"errors",{get(){return r==null?void 0:r.errors}})}return r(i,o)};return n}ct.generateLazyValidator=BIe;function FIe(e,t){return e.validate(t)}ct.validateType=FIe;var TE={},x$;function Kee(){return x$||(x$=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getChainId=e.ChainName=void 0;const t=ct,r=qs();var n;(function(o){o.ETHEREUM_MAINNET="Ethereum Mainnet",o.ETHEREUM_ROPSTEN="Ropsten",o.ETHEREUM_RINKEBY="Rinkeby",o.ETHEREUM_GOERLI="Goerli",o.ETHEREUM_KOVAN="Kovan",o.ETHEREUM_SEPOLIA="Sepolia",o.MATIC_MAINNET="Polygon",o.MATIC_MUMBAI="Mumbai",o.MATIC_AMOY="Amoy",o.AVALANCHE_MAINNET="Avalanche",o.BINANCE_MAINNET="Binance Smart Chain",o.ARBITRUM_MAINNET="Arbitrum",o.OPTIMISM_MAINNET="Optimism",o.FANTOM_MAINNET="Fantom"})(n=e.ChainName||(e.ChainName={}));function i(o){switch(o){case n.ETHEREUM_MAINNET:return r.ChainId.ETHEREUM_MAINNET;case n.ETHEREUM_ROPSTEN:return r.ChainId.ETHEREUM_ROPSTEN;case n.ETHEREUM_RINKEBY:return r.ChainId.ETHEREUM_RINKEBY;case n.ETHEREUM_GOERLI:return r.ChainId.ETHEREUM_GOERLI;case n.ETHEREUM_KOVAN:return r.ChainId.ETHEREUM_KOVAN;case n.ETHEREUM_SEPOLIA:return r.ChainId.ETHEREUM_SEPOLIA;case n.MATIC_MAINNET:return r.ChainId.MATIC_MAINNET;case n.MATIC_MUMBAI:return r.ChainId.MATIC_MUMBAI;case n.MATIC_AMOY:return r.ChainId.MATIC_AMOY;case n.AVALANCHE_MAINNET:return r.ChainId.AVALANCHE_MAINNET;case n.BINANCE_MAINNET:return r.ChainId.BSC_MAINNET;case n.ARBITRUM_MAINNET:return r.ChainId.ARBITRUM_MAINNET;case n.OPTIMISM_MAINNET:return r.ChainId.OPTIMISM_MAINNET;case n.FANTOM_MAINNET:return r.ChainId.FANTOM_MAINNET;default:return null}}e.getChainId=i,function(o){o.schema={type:"string",enum:Object.values(o)},o.validate=(0,t.generateLazyValidator)(o.schema)}(n=e.ChainName||(e.ChainName={}))}(TE)),TE}var zs={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Network=void 0;const t=ct;(function(r){r.ETHEREUM="ETHEREUM",r.MATIC="MATIC",r.AVALANCHE="AVALANCHE",r.BSC="BINANCE SMART CHAIN",r.OPTIMISM="OPTIMISM",r.ARBITRUM="ARBITRUM",r.FANTOM="FANTOM"})(e.Network||(e.Network={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.Network||(e.Network={}))})(zs);var w$;function qs(){return w$||(w$=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getNetwork=e.getNetworkMapping=e.getURNProtocol=e.getChainName=e.ChainId=void 0;const t=ct,r=Kee(),n=zs;var i;(function(c){c[c.ETHEREUM_MAINNET=1]="ETHEREUM_MAINNET",c[c.ETHEREUM_ROPSTEN=3]="ETHEREUM_ROPSTEN",c[c.ETHEREUM_RINKEBY=4]="ETHEREUM_RINKEBY",c[c.ETHEREUM_GOERLI=5]="ETHEREUM_GOERLI",c[c.ETHEREUM_KOVAN=42]="ETHEREUM_KOVAN",c[c.ETHEREUM_SEPOLIA=11155111]="ETHEREUM_SEPOLIA",c[c.MATIC_MAINNET=137]="MATIC_MAINNET",c[c.MATIC_MUMBAI=80001]="MATIC_MUMBAI",c[c.MATIC_AMOY=80002]="MATIC_AMOY",c[c.BSC_MAINNET=56]="BSC_MAINNET",c[c.OPTIMISM_MAINNET=10]="OPTIMISM_MAINNET",c[c.ARBITRUM_MAINNET=42161]="ARBITRUM_MAINNET",c[c.FANTOM_MAINNET=250]="FANTOM_MAINNET",c[c.AVALANCHE_MAINNET=43114]="AVALANCHE_MAINNET"})(i=e.ChainId||(e.ChainId={}));function o(c){switch(c){case i.ETHEREUM_MAINNET:return r.ChainName.ETHEREUM_MAINNET;case i.ETHEREUM_ROPSTEN:return r.ChainName.ETHEREUM_ROPSTEN;case i.ETHEREUM_RINKEBY:return r.ChainName.ETHEREUM_RINKEBY;case i.ETHEREUM_GOERLI:return r.ChainName.ETHEREUM_GOERLI;case i.ETHEREUM_KOVAN:return r.ChainName.ETHEREUM_KOVAN;case i.ETHEREUM_SEPOLIA:return r.ChainName.ETHEREUM_SEPOLIA;case i.MATIC_MAINNET:return r.ChainName.MATIC_MAINNET;case i.MATIC_MUMBAI:return r.ChainName.MATIC_MUMBAI;case i.MATIC_AMOY:return r.ChainName.MATIC_AMOY;case i.BSC_MAINNET:return r.ChainName.BINANCE_MAINNET;case i.ARBITRUM_MAINNET:return r.ChainName.ARBITRUM_MAINNET;case i.OPTIMISM_MAINNET:return r.ChainName.OPTIMISM_MAINNET;case i.FANTOM_MAINNET:return r.ChainName.FANTOM_MAINNET;case i.AVALANCHE_MAINNET:return r.ChainName.AVALANCHE_MAINNET;default:return null}}e.getChainName=o;function a(c){switch(c){case i.ETHEREUM_MAINNET:return"ethereum";case i.ETHEREUM_ROPSTEN:return"ropsten";case i.ETHEREUM_RINKEBY:return"rinkeby";case i.ETHEREUM_GOERLI:return"goerli";case i.ETHEREUM_KOVAN:return"kovan";case i.ETHEREUM_SEPOLIA:return"sepolia";case i.MATIC_MAINNET:return"matic";case i.MATIC_MUMBAI:return"mumbai";case i.MATIC_AMOY:return"amoy";default:return""}}e.getURNProtocol=a;function s(c){const d={[n.Network.BSC]:i.BSC_MAINNET,[n.Network.OPTIMISM]:i.OPTIMISM_MAINNET,[n.Network.ARBITRUM]:i.ARBITRUM_MAINNET,[n.Network.FANTOM]:i.FANTOM_MAINNET,[n.Network.AVALANCHE]:i.AVALANCHE_MAINNET};switch(c){case i.ETHEREUM_MAINNET:return Object.assign({[n.Network.ETHEREUM]:i.ETHEREUM_MAINNET,[n.Network.MATIC]:i.MATIC_MAINNET},d);case i.ETHEREUM_ROPSTEN:return Object.assign({[n.Network.ETHEREUM]:i.ETHEREUM_ROPSTEN,[n.Network.MATIC]:i.MATIC_MUMBAI},d);case i.ETHEREUM_RINKEBY:return Object.assign({[n.Network.ETHEREUM]:i.ETHEREUM_RINKEBY,[n.Network.MATIC]:i.MATIC_MUMBAI},d);case i.ETHEREUM_GOERLI:return Object.assign({[n.Network.ETHEREUM]:i.ETHEREUM_GOERLI,[n.Network.MATIC]:i.MATIC_MUMBAI},d);case i.ETHEREUM_KOVAN:return Object.assign({[n.Network.ETHEREUM]:i.ETHEREUM_KOVAN,[n.Network.MATIC]:i.MATIC_MUMBAI},d);case i.ETHEREUM_SEPOLIA:return Object.assign({[n.Network.ETHEREUM]:i.ETHEREUM_SEPOLIA,[n.Network.MATIC]:i.MATIC_AMOY},d);case i.MATIC_MAINNET:return Object.assign({[n.Network.ETHEREUM]:i.MATIC_MAINNET,[n.Network.MATIC]:i.MATIC_MAINNET},d);case i.MATIC_MUMBAI:return Object.assign({[n.Network.ETHEREUM]:i.MATIC_MUMBAI,[n.Network.MATIC]:i.MATIC_MUMBAI},d);case i.MATIC_AMOY:return Object.assign({[n.Network.ETHEREUM]:i.MATIC_AMOY,[n.Network.MATIC]:i.MATIC_AMOY},d);default:return Object.assign({[n.Network.ETHEREUM]:i.ETHEREUM_MAINNET,[n.Network.MATIC]:i.MATIC_MAINNET},d)}}e.getNetworkMapping=s;function l(c){switch(c){case i.ETHEREUM_MAINNET:case i.ETHEREUM_ROPSTEN:case i.ETHEREUM_GOERLI:case i.ETHEREUM_KOVAN:case i.ETHEREUM_RINKEBY:case i.ETHEREUM_SEPOLIA:return n.Network.ETHEREUM;case i.MATIC_MAINNET:case i.MATIC_MUMBAI:case i.MATIC_AMOY:return n.Network.MATIC;case i.BSC_MAINNET:return n.Network.BSC;case i.OPTIMISM_MAINNET:return n.Network.OPTIMISM;case i.ARBITRUM_MAINNET:return n.Network.ARBITRUM;case i.FANTOM_MAINNET:return n.Network.FANTOM;case i.AVALANCHE_MAINNET:return n.Network.AVALANCHE}}e.getNetwork=l,function(c){c.schema={type:"number",enum:Object.values(c)},c.validate=(0,t.generateLazyValidator)(c.schema)}(i=e.ChainId||(e.ChainId={}))}(EE)),EE}var Mr=qs(),$r={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ProviderType=void 0;const t=ct;(function(r){r.INJECTED="injected",r.MAGIC="magic",r.MAGIC_TEST="magic_test",r.FORTMATIC="formatic",r.NETWORK="network",r.WALLET_CONNECT="wallet_connect",r.WALLET_CONNECT_V2="wallet_connect_v2",r.WALLET_LINK="wallet_link",r.METAMASK_MOBILE="metamask_mobile",r.AUTH_SERVER="auth_server"})(e.ProviderType||(e.ProviderType={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.ProviderType||(e.ProviderType={}))})($r);var su;(function(e){e.Update="Web3ReactUpdate",e.Error="Web3ReactError",e.Deactivate="Web3ReactDeactivate"})(su||(su={}));function no(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}var UIe=no;no.EventEmitter=no;no.prototype._events=void 0;no.prototype._maxListeners=void 0;no.defaultMaxListeners=10;no.prototype.setMaxListeners=function(e){if(!$Ie(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this};no.prototype.emit=function(e){var t,r,n,i,o,a;if(this._events||(this._events={}),e==="error"&&(!this._events.error||by(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var s=new Error('Uncaught, unspecified "error" event. ('+t+")");throw s.context=t,s}if(r=this._events[e],Yee(r))return!1;if(Fu(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:i=Array.prototype.slice.call(arguments,1),r.apply(this,i)}else if(by(r))for(i=Array.prototype.slice.call(arguments,1),a=r.slice(),n=a.length,o=0;o<n;o++)a[o].apply(this,i);return!0};no.prototype.addListener=function(e,t){var r;if(!Fu(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,Fu(t.listener)?t.listener:t),this._events[e]?by(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,by(this._events[e])&&!this._events[e].warned&&(Yee(this._maxListeners)?r=no.defaultMaxListeners:r=this._maxListeners,r&&r>0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),typeof console.trace=="function"&&console.trace())),this};no.prototype.on=no.prototype.addListener;no.prototype.once=function(e,t){if(!Fu(t))throw TypeError("listener must be a function");var r=!1;function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}return n.listener=t,this.on(e,n),this};no.prototype.removeListener=function(e,t){var r,n,i,o;if(!Fu(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],i=r.length,n=-1,r===t||Fu(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(by(r)){for(o=i;o-- >0;)if(r[o]===t||r[o].listener&&r[o].listener===t){n=o;break}if(n<0)return this;r.length===1?(r.length=0,delete this._events[e]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this};no.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[e]&&delete this._events[e],this;if(arguments.length===0){for(t in this._events)t!=="removeListener"&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],Fu(r))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this};no.prototype.listeners=function(e){var t;return!this._events||!this._events[e]?t=[]:Fu(this._events[e])?t=[this._events[e]]:t=this._events[e].slice(),t};no.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(Fu(t))return 1;if(t)return t.length}return 0};no.listenerCount=function(e,t){return e.listenerCount(t)};function Fu(e){return typeof e=="function"}function $Ie(e){return typeof e=="number"}function by(e){return typeof e=="object"&&e!==null}function Yee(e){return e===void 0}function HIe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var cp=function(e){HIe(t,e);function t(n){var i,o=n===void 0?{}:n,a=o.supportedChainIds;return i=e.call(this)||this,i.supportedChainIds=a,i}var r=t.prototype;return r.emitUpdate=function(i){this.emit(su.Update,i)},r.emitError=function(i){this.emit(su.Error,i)},r.emitDeactivate=function(){this.emit(su.Deactivate)},t}(UIe.EventEmitter),yu={},Zee={},Jee={},Xee={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SceneUpdate=e.SCENE_UPDATE=void 0;const t=ct;e.SCENE_UPDATE="SCENE_UPDATE",function(r){r.schema={type:"object",properties:{type:{type:"string",enum:[e.SCENE_UPDATE]},payload:{type:"object",properties:{sceneId:{type:"string"},sceneType:{type:"string"}},additionalProperties:!1,required:["sceneId","sceneType"]}},required:["payload","type"]},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.SceneUpdate||(e.SceneUpdate={}))})(Xee);var Qee={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Update=e.UPDATE=void 0;const t=ct;e.UPDATE="update",function(r){r.schema={type:"object",properties:{type:{type:"string",enum:[e.UPDATE]}},required:["type"]},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.Update||(e.Update={}))})(Qee);(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(Xee,e),r(Qee,e)})(Jee);var ete={},tte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ProjectType=void 0;const t=ct;(function(r){r.SCENE="scene",r.SMART_ITEM="smart-item",r.PORTABLE_EXPERIENCE="portable-experience",r.LIBRARY="library"})(e.ProjectType||(e.ProjectType={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.ProjectType||(e.ProjectType={}))})(tte);var rte={},p3={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Rarity=void 0;const t=ct;(function(r){r.UNIQUE="unique",r.MYTHIC="mythic",r.EXOTIC="exotic",r.LEGENDARY="legendary",r.EPIC="epic",r.RARE="rare",r.UNCOMMON="uncommon",r.COMMON="common"})(e.Rarity||(e.Rarity={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema);const n={[r.UNIQUE]:1,[r.MYTHIC]:10,[r.EXOTIC]:50,[r.LEGENDARY]:100,[r.EPIC]:1e3,[r.RARE]:5e3,[r.UNCOMMON]:1e4,[r.COMMON]:1e5},i={[r.UNIQUE]:"#FFE617",[r.MYTHIC]:"#FB7DE3",[r.EXOTIC]:"#E4FFB8",[r.LEGENDARY]:"#A657ED",[r.EPIC]:"#6397F2",[r.RARE]:"#3AD682",[r.UNCOMMON]:"#FF8563",[r.COMMON]:"#D4E0E0"},o={[r.UNIQUE]:"#FFB626",[r.MYTHIC]:"#FF63E1",[r.EXOTIC]:"#CAFF73",[r.LEGENDARY]:"#842DDA",[r.EPIC]:"#3D85E6",[r.RARE]:"#36CF75",[r.UNCOMMON]:"#ED6D4F",[r.COMMON]:"#ABC1C1"};function a(d){return n[d]}r.getMaxSupply=a;function s(d){return o[d]}r.getColor=s;function l(){return[r.UNIQUE,r.MYTHIC,r.EXOTIC,r.LEGENDARY,r.EPIC,r.RARE,r.UNCOMMON,r.COMMON]}r.getRarities=l;function c(d){return[i[d],o[d]]}r.getGradient=c}(e.Rarity||(e.Rarity={}))})(p3);var Tf={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.WearableCategory=void 0;const t=ct;(function(r){r.EYEBROWS="eyebrows",r.EYES="eyes",r.FACIAL_HAIR="facial_hair",r.HAIR="hair",r.BODY_SHAPE="body_shape",r.MOUTH="mouth",r.UPPER_BODY="upper_body",r.LOWER_BODY="lower_body",r.FEET="feet",r.EARRING="earring",r.EYEWEAR="eyewear",r.HAT="hat",r.HELMET="helmet",r.MASK="mask",r.TIARA="tiara",r.TOP_HEAD="top_head",r.SKIN="skin",r.HANDS_WEAR="hands_wear"})(e.WearableCategory||(e.WearableCategory={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.WearableCategory||(e.WearableCategory={}))})(Tf);var J8={},X8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.BodyShape=void 0;const t=ct;(function(r){r.MALE="urn:decentraland:off-chain:base-avatars:BaseMale",r.FEMALE="urn:decentraland:off-chain:base-avatars:BaseFemale"})(e.BodyShape||(e.BodyShape={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.BodyShape||(e.BodyShape={}))})(X8);var Q8={},UP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.BodyPartCategory=void 0;const t=ct;(function(r){r.HEAD="head",r.HANDS="hands"})(e.BodyPartCategory||(e.BodyPartCategory={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.BodyPartCategory||(e.BodyPartCategory={}))})(UP);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.HideableWearableCategory=void 0;const t=Tf,r=ct,n=UP;(function(i){i.schema={oneOf:[Object.assign({},t.WearableCategory.schema),Object.assign({},n.BodyPartCategory.schema)]},i.validate=(0,r.generateLazyValidator)(i.schema)})(e.HideableWearableCategory||(e.HideableWearableCategory={}))})(Q8);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.WearableRepresentation=void 0;const t=ct,r=X8,n=Q8;(function(i){i.schema={type:"object",properties:{bodyShapes:{type:"array",items:r.BodyShape.schema,minItems:1,uniqueItems:!0},mainFile:{type:"string",minLength:1},contents:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0,contains:{const:{$data:"2/mainFile"}}},overrideHides:{type:"array",items:n.HideableWearableCategory.schema},overrideReplaces:{type:"array",items:n.HideableWearableCategory.schema}},required:["bodyShapes","mainFile","contents","overrideHides","overrideReplaces"]},i.validate=(0,t.generateLazyValidator)(i.schema)})(e.WearableRepresentation||(e.WearableRepresentation={}))})(J8);var e7={},nte={},$P={},Mf={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.IPFSv1=e.IPFSv2=e.EthAddress=e.Color3=void 0;const t=ct;(function(r){r.schema={type:"object",required:["r","g","b"],properties:{r:{type:"number",minimum:0,maximum:1},g:{type:"number",minimum:0,maximum:1},b:{type:"number",minimum:0,maximum:1}}};const n=(0,t.generateLazyValidator)(r.schema);r.validate=i=>n(i)})(e.Color3||(e.Color3={})),function(r){r.schema={type:"string",pattern:"^0x[a-fA-F0-9]{40}$"};const n=new RegExp(r.schema.pattern);r.validate=i=>n.test(i)}(e.EthAddress||(e.EthAddress={})),function(r){r.schema={type:"string",pattern:"^(ba)[a-zA-Z0-9]{57}$"};const n=new RegExp(r.schema.pattern);r.validate=i=>n.test(i)}(e.IPFSv2||(e.IPFSv2={})),function(r){r.schema={type:"string",pattern:"^(Qm)[a-zA-Z0-9]{44}$"};const n=new RegExp(r.schema.pattern);r.validate=i=>n.test(i)}(e.IPFSv1||(e.IPFSv1={}))})(Mf);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Avatar=e.Link=e.LinkUrl=e.AvatarInfo=e.Snapshots=void 0;const t=Tf,r=Mf,n=ct;var i;(function(l){l.schema={type:"object",required:["face256","body"],properties:{face256:r.IPFSv2.schema,body:r.IPFSv2.schema}},l.validate=(0,n.generateLazyValidator)(l.schema)})(i=e.Snapshots||(e.Snapshots={}));var o;(function(l){l.schema={type:"object",required:["bodyShape","eyes","hair","skin"],properties:{bodyShape:{type:"string"},eyes:{type:"object",required:["color"],properties:{color:r.Color3.schema}},hair:{type:"object",required:["color"],properties:{color:r.Color3.schema}},skin:{type:"object",required:["color"],properties:{color:r.Color3.schema}},wearables:{type:"array",items:{type:"string"}},forceRender:{type:"array",nullable:!0,items:t.WearableCategory.schema},emotes:{type:"array",items:{type:"object",properties:{slot:{type:"number"},urn:{type:"string"}},required:["slot","urn"]},nullable:!0},snapshots:i.schema},additionalProperties:!0},l.validate=(0,n.generateLazyValidator)(l.schema)})(o=e.AvatarInfo||(e.AvatarInfo={}));var a;(function(l){l.schema={type:"string",maxLength:2083,pattern:"^(?:https?):\\/\\/[^\\s/$.?#].[^\\s]*$"};const c=new RegExp(l.schema.pattern,"i");l.validate=d=>c.test(d)})(a=e.LinkUrl||(e.LinkUrl={}));var s;(function(l){l.schema={type:"object",required:["title","url"],properties:{title:{type:"string"},url:a.schema}}})(s=e.Link||(e.Link={})),function(l){l.schema={type:"object",required:["name","description","ethAddress","version","tutorialStep","avatar","hasClaimedName"],properties:{userId:{type:"string"},name:{type:"string"},description:{type:"string"},links:{type:"array",maxItems:5,items:s.schema,nullable:!0},country:{nullable:!0,type:"string"},employmentStatus:{nullable:!0,type:"string"},gender:{nullable:!0,type:"string"},pronouns:{nullable:!0,type:"string"},relationshipStatus:{nullable:!0,type:"string"},sexualOrientation:{nullable:!0,type:"string"},language:{nullable:!0,type:"string"},profession:{nullable:!0,type:"string"},birthdate:{nullable:!0,type:"number"},realName:{nullable:!0,type:"string"},hobbies:{nullable:!0,type:"string"},ethAddress:r.EthAddress.schema,version:{type:"number"},tutorialStep:{type:"number"},email:{type:"string",nullable:!0},blocked:{type:"array",items:{type:"string"},nullable:!0},muted:{type:"array",items:{type:"string"},nullable:!0},interests:{type:"array",items:{type:"string"},nullable:!0},hasClaimedName:{type:"boolean"},hasConnectedWeb3:{type:"boolean",nullable:!0},avatar:o.schema},additionalProperties:!0},l.validate=(0,n.generateLazyValidator)(l.schema)}(e.Avatar||(e.Avatar={}))})($P);var ite={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Profile=void 0;const t=ct,r=$P;(function(n){n.schema={type:"object",required:["avatars"],properties:{avatars:{type:"array",items:r.Avatar.schema}},additionalProperties:!0},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.Profile||(e.Profile={}))})(ite);(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r($P,e),r(ite,e)})(nte);var ote={},HP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.FeatureToggles=e.portableExperiencesToggles=e.toggles=void 0;const t=ct;e.toggles=["enabled","disabled"],e.portableExperiencesToggles=[...e.toggles,"hideUi"],function(r){r.schema={type:"object",properties:{voiceChat:{type:"string",enum:e.toggles,nullable:!0},portableExperiences:{type:"string",enum:e.portableExperiencesToggles,nullable:!0,errorMessage:`valid options are ${e.portableExperiencesToggles.join(", ")}`}},errorMessage:`valid options are ${e.toggles.join(", ")}`,required:[]},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.FeatureToggles||(e.FeatureToggles={}))})(HP);var VP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.WorldConfiguration=void 0;const t=ct;(function(r){r.schema={type:"object",properties:{name:{type:"string",nullable:!0},skybox:{type:"number",nullable:!0},minimapVisible:{type:"boolean",nullable:!0},miniMapConfig:{type:"object",nullable:!0,properties:{visible:{type:"boolean",nullable:!0},dataImage:{type:"string",nullable:!0},estateImage:{type:"string",nullable:!0}}},skyboxConfig:{type:"object",nullable:!0,properties:{fixedTime:{type:"number",nullable:!0},textures:{type:"array",nullable:!0,items:{type:"string"},oneOf:[{minItems:0,maxItems:0},{minItems:1,maxItems:1},{minItems:6,maxItems:6}],errorMessage:"customSkybox must be an array of 0, 1 or 6 strings"}}},fixedAdapter:{type:"string",nullable:!0},placesConfig:{type:"object",nullable:!0,properties:{optOut:{type:"boolean",nullable:!0}}}},required:[]},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.WorldConfiguration||(e.WorldConfiguration={}))})(VP);var zP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SceneParcels=void 0;const t=ct;(function(r){r.schema={description:'Describes a scene, a set of parcels whose content is treated as the same entity. A list of parcels is listed, for which one of them is considered the "base" for positioning purposes.',type:"object",properties:{base:{type:"string",pattern:"^-?[0-9]+,-?[0-9]+$"},parcels:{type:"array",items:{type:"string",pattern:"^-?[0-9]+,-?[0-9]+$"},minItems:1}},additionalProperties:!0,required:["base","parcels"]},r.schemaValidator=(0,t.generateLazyValidator)(r.schema),r.validate=n=>r.schemaValidator(n)&&n.parcels.includes(n.base)})(e.SceneParcels||(e.SceneParcels={}))})(zP);var ate={},wm={};Object.defineProperty(wm,"__esModule",{value:!0});wm.displayableProperties=void 0;wm.displayableProperties={menuBarIcon:{description:"Name of the file used as icon for the MenuBar",type:"string",nullable:!0}};var qP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Source=void 0;const t=ct;(function(r){r.schema={type:"object",properties:{version:{type:"number",nullable:!0},origin:{type:"string"},projectId:{type:"string"},point:{type:"object",properties:{x:{type:"integer"},y:{type:"integer"}},nullable:!0,required:["x","y"]},rotation:{type:"string",enum:["north","east","south","west"],nullable:!0},layout:{type:"object",properties:{rows:{type:"integer"},cols:{type:"integer"}},nullable:!0,required:["rows","cols"]},isEmpty:{type:"boolean",nullable:!0}},additionalProperties:!0,required:["origin","projectId"]},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.Source||(e.Source={}))})(qP);var WP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SpawnPoint=void 0;const t=ct;(function(r){r.schema={type:"object",properties:{name:{type:"string",nullable:!0},position:{type:"object",oneOf:[{$ref:"#single-position"},{$ref:"#multi-position"}],required:["x","y","z"]},default:{type:"boolean",nullable:!0},cameraTarget:{type:"object",properties:{x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y","z"],nullable:!0}},required:["position"],definitions:{"single-position":{$id:"#single-position",type:"object",properties:{x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y","z"]},"multi-position":{$id:"#multi-position",type:"object",properties:{x:{type:"array",items:{type:"number"},minItems:1},y:{type:"array",items:{type:"number"},minItems:1},z:{type:"array",items:{type:"number"},minItems:1}},required:["x","y","z"]}}},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.SpawnPoint||(e.SpawnPoint={}))})(WP);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Scene=e.RequiredPermission=void 0;const t=ct,r=wm,n=HP,i=zP,o=qP,a=WP,s=VP;var l;(function(c){c.ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE="ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE",c.ALLOW_TO_TRIGGER_AVATAR_EMOTE="ALLOW_TO_TRIGGER_AVATAR_EMOTE",c.ALLOW_MEDIA_HOSTNAMES="ALLOW_MEDIA_HOSTNAMES",c.USE_WEB3_API="USE_WEB3_API",c.USE_FETCH="USE_FETCH",c.USE_WEBSOCKET="USE_WEBSOCKET",c.OPEN_EXTERNAL_LINK="OPEN_EXTERNAL_LINK"})(l=e.RequiredPermission||(e.RequiredPermission={})),function(c){c.schema={type:"object",properties:Object.assign(Object.assign({isPortableExperience:{description:"Define the current scene as a Portable Experience",type:"boolean",nullable:!0},main:{description:"File that contains the entry point of the scene's code",type:"string",minLength:1},scene:i.SceneParcels.schema},r.displayableProperties),{display:{description:"Information related to how should this land be displayed apart from the normal rendering of the scene",type:"object",properties:{title:{description:"A name so other users can identify what the contents of this land should be",type:"string",nullable:!0},favicon:{description:"DEPRECATED. Allow the land owner to set up a favicon to this land",type:"string",nullable:!0},description:{description:"A description that will be shown on client's nav map when the scene is selected",type:"string",nullable:!0},navmapThumbnail:{type:"string",nullable:!0}},nullable:!0,required:[]},owner:{type:"string",nullable:!0},contact:{description:"Describe different ways of contacting the land owner",type:"object",properties:{name:{type:"string",nullable:!0},email:{type:"string",nullable:!0},im:{type:"string",nullable:!0},url:{type:"string",nullable:!0}},nullable:!0,required:[]},tags:{type:"array",items:{type:"string",minLength:1},nullable:!0},source:Object.assign(Object.assign({},o.Source.schema),{nullable:!0}),spawnPoints:{type:"array",items:a.SpawnPoint.schema,nullable:!0},requiredPermissions:{type:"array",items:{type:"string",enum:Object.values(l)},uniqueItems:!0,nullable:!0},featureToggles:Object.assign(Object.assign({},n.FeatureToggles.schema),{nullable:!0}),worldConfiguration:Object.assign(Object.assign({},s.WorldConfiguration.schema),{nullable:!0}),allowedMediaHostnames:{type:"array",items:{type:"string"},nullable:!0}}),additionalProperties:!0,required:["main","scene"],dependencies:{requiredPermissions:{if:{properties:{requiredPermissions:{type:"array",contains:{const:l.ALLOW_MEDIA_HOSTNAMES}}}},then:{properties:{allowedMediaHostnames:{type:"array",items:{type:"string"},nullable:!1,minItems:1}},required:["allowedMediaHostnames"]},else:{properties:{allowedMediaHostnames:{type:["null","array"],nullable:!0,maxItems:0}}}}}},c.validate=(0,t.generateLazyValidator)(c.schema)}(e.Scene||(e.Scene={}))})(ate);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SpawnPoint=e.Source=e.RequiredPermission=e.Scene=e.SceneParcels=e.WorldConfiguration=e.FeatureToggles=void 0;var t=HP;Object.defineProperty(e,"FeatureToggles",{enumerable:!0,get:function(){return t.FeatureToggles}});var r=VP;Object.defineProperty(e,"WorldConfiguration",{enumerable:!0,get:function(){return r.WorldConfiguration}});var n=zP;Object.defineProperty(e,"SceneParcels",{enumerable:!0,get:function(){return n.SceneParcels}});var i=ate;Object.defineProperty(e,"Scene",{enumerable:!0,get:function(){return i.Scene}}),Object.defineProperty(e,"RequiredPermission",{enumerable:!0,get:function(){return i.RequiredPermission}});var o=qP;Object.defineProperty(e,"Source",{enumerable:!0,get:function(){return o.Source}});var a=WP;Object.defineProperty(e,"SpawnPoint",{enumerable:!0,get:function(){return a.SpawnPoint}})})(ote);var ME={},GP={},KP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Locale=void 0;const t=ct;(function(r){r.EN="en",r.ES="es"})(e.Locale||(e.Locale={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.Locale||(e.Locale={}))})(KP);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.I18N=void 0;const t=ct,r=KP;(function(n){n.schema={type:"object",properties:{code:r.Locale.schema,text:{type:"string"}},additionalProperties:!0,required:["code","text"]},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.I18N||(e.I18N={}))})(GP);var YP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Metrics=void 0;const t=ct;(function(r){r.schema={type:"object",properties:{triangles:{type:"number"},materials:{type:"number"},textures:{type:"number"},meshes:{type:"number"},bodies:{type:"number"},entities:{type:"number"}},required:["triangles","materials","textures","meshes","bodies","entities"]},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.Metrics||(e.Metrics={}))})(YP);var t7={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isStandard=e.standardProperties=void 0;const t=p3,r=ct;e.standardProperties={collectionAddress:{type:"string",nullable:!1},rarity:t.Rarity.schema};const n={type:"object",properties:Object.assign({},e.standardProperties),required:["collectionAddress","rarity"]},i=(0,r.generateLazyValidator)(n);function o(a){return i(a)}e.isStandard=o})(t7);var r7={},ZP={},ste={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.MerkleProof=void 0;const t=ct;(function(r){r.schema={type:"object",properties:{proof:{type:"array",items:{type:"string"}},index:{type:"number"},hashingKeys:{type:"array",items:{type:"string"}},entityHash:{type:"string"}},required:["entityHash","hashingKeys","index","proof"],additionalProperties:!0},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.MerkleProof||(e.MerkleProof={}))})(ste);(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(ste,e)})(ZP);var n7={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.createMappingsHelper=e.AddMappingError=e.Mappings=e.Mapping=e.MultipleMapping=e.RangeMapping=e.AnyMapping=e.SingleMapping=e.ContractNetwork=e.MappingType=void 0;const t=ct;var r;(function(f){f.SINGLE="single",f.ANY="any",f.MULTIPLE="multiple",f.RANGE="range"})(r=e.MappingType||(e.MappingType={}));var n;(function(f){f.MAINNET="mainnet",f.MATIC="matic",f.SEPOLIA="sepolia",f.AMOY="amoy"})(n=e.ContractNetwork||(e.ContractNetwork={}));var i;(function(f){f.schema={type:"object",properties:{type:{type:"string",const:r.SINGLE},id:{type:"string",pattern:"^[0-9]+$"}},required:["type","id"],additionalProperties:!1},f.validate=(0,t.generateLazyValidator)(f.schema)})(i=e.SingleMapping||(e.SingleMapping={}));var o;(function(f){f.schema={type:"object",properties:{type:{type:"string",const:r.ANY}},required:["type"],additionalProperties:!1},f.validate=(0,t.generateLazyValidator)(f.schema)})(o=e.AnyMapping||(e.AnyMapping={}));var a;(function(f){f._fromLessThanOrEqualTo={keyword:"_fromLessThanOrEqualTo",validate:function(m,v){if(!v||!v.from||!v.to)return!1;let{to:g,from:b}=v;return(typeof b!="bigint"||typeof g!="bigint")&&(b=BigInt(b),g=BigInt(g)),b<=g},errors:!1},f.schema={type:"object",properties:{type:{type:"string",const:r.RANGE},from:{type:"string",pattern:"^[0-9]+$"},to:{type:"string",pattern:"^[0-9]+$"}},required:["type","from","to"],additionalProperties:!1,_fromLessThanOrEqualTo:!0},f.validate=(0,t.generateLazyValidator)(f.schema,[f._fromLessThanOrEqualTo])})(a=e.RangeMapping||(e.RangeMapping={}));var s;(function(f){f.schema={type:"object",properties:{type:{type:"string",const:r.MULTIPLE},ids:{type:"array",items:{type:"string",pattern:"^[0-9]+$"},minItems:1,uniqueItems:!0}},required:["type","ids"],additionalProperties:!1},f.validate=(0,t.generateLazyValidator)(f.schema)})(s=e.MultipleMapping||(e.MultipleMapping={}));var l;(function(f){f.schema={type:"object",properties:{type:{type:"string",enum:Object.values(r)}},required:["type"],oneOf:[i.schema,o.schema,a.schema,s.schema]},f.validate=(0,t.generateLazyValidator)(f.schema,[a._fromLessThanOrEqualTo])})(l=e.Mapping||(e.Mapping={})),function(f){f._isMappingsValid={keyword:"_isMappingsValid",validate:function(m,v){try{d(v)}catch{return!1}return!0},errors:!1},f.innerSchema={type:"object",patternProperties:{"^0x[0-9a-fA-F]{40}$":{type:"array",items:l.schema}},minProperties:1,required:[],additionalProperties:!1};const p=Object.values(n).reduce((m,v)=>(m[v]=f.innerSchema,m),{});f.schema={type:"object",properties:p,minProperties:1,additionalProperties:!1,_isMappingsValid:!0},f.validate=(0,t.generateLazyValidator)(f.schema,[a._fromLessThanOrEqualTo,f._isMappingsValid])}(e.Mappings||(e.Mappings={}));class c extends Error{constructor(p,m,v){super(p),this.existingMapping=m,this.conflictingMapping=v}}e.AddMappingError=c;function d(f={}){const p={};for(const[R,S]of Object.entries(f)){p[R]={};for(const[I,U]of Object.entries(S))for(const D of U)w(R,I,D)}function m(){return JSON.parse(JSON.stringify(p))}function v(R,S,I){const U=BigInt(R);return U>=BigInt(S)&&U<=BigInt(I)}function g(R,S){switch(S.type){case r.SINGLE:return R.id===S.id;case r.MULTIPLE:return S.ids.includes(R.id);case r.RANGE:return v(R.id,S.from,S.to);default:return!1}}function b(R,S){switch(S.type){case r.SINGLE:return R.ids.includes(S.id);case r.MULTIPLE:return R.ids.some(I=>S.ids.includes(I));case r.RANGE:return R.ids.some(I=>v(I,S.from,S.to));default:return!1}}function h(R,S){switch(S.type){case r.SINGLE:return v(S.id,R.from,R.to);case r.MULTIPLE:return S.ids.some(I=>v(I,R.from,R.to));case r.RANGE:return BigInt(R.from)<=BigInt(S.to)&&BigInt(R.to)>=BigInt(S.from)}}function y(R,S){if(R.type===r.ANY||S.type===r.ANY)return!0;switch(R.type){case r.SINGLE:return g(R,S);case r.MULTIPLE:return b(R,S);case r.RANGE:return h(R,S)}}function w(R,S,I){var U,D;const q=S.toLowerCase();p[R]=(U=p[R])!==null&&U!==void 0?U:{},p[R][q]=(D=p[R][q])!==null&&D!==void 0?D:[];for(const W of p[R][q])if(y(W,I))throw new c(`Cannot add mapping to contract ${q} on network ${R} because it overlaps with existing mapping`,W,I);p[R][q].push(I)}function T(R,S,I){var U;return!((U=p[R])===null||U===void 0)&&U[S]?p[R][S].some(D=>{switch(D.type){case r.SINGLE:return D.id===I;case r.ANY:return!0;case r.MULTIPLE:return D.ids.includes(I);case r.RANGE:return BigInt(I)>=BigInt(D.from)&&BigInt(I)<=BigInt(D.to)}}):!1}return{addMapping:w,getMappings:m,includesNft:T}}e.createMappingsHelper=d})(n7);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isThirdParty=e.schema=void 0;const t=ct,r=ZP,n=n7;e.schema={type:"object",properties:{merkleProof:r.MerkleProof.schema,content:{type:"object",nullable:!1,additionalProperties:{type:"string"},required:[]},mappings:Object.assign({nullable:!0},n.Mappings.schema)},required:["merkleProof","content"],_containsHashingKeys:!0};const i={keyword:"_containsHashingKeys",validate:function(s,l){var c;const d=l;return!((c=d==null?void 0:d.merkleProof)===null||c===void 0)&&c.hashingKeys?d.merkleProof.hashingKeys.every(f=>d.hasOwnProperty(f)):!1},errors:!1},o=(0,t.generateLazyValidator)(e.schema,[i,n.RangeMapping._fromLessThanOrEqualTo,n.Mappings._isMappingsValid]);function a(s){return o(s)}e.isThirdParty=a})(r7);var lte={},cte={},wl={};Object.defineProperty(wl,"__esModule",{value:!0});wl.isBaseEmote=wl.isBaseAvatar=wl.requiredBaseItemProps=wl.baseItemProperties=void 0;const VIe=GP,zIe=YP,qIe=wm;wl.baseItemProperties=Object.assign(Object.assign({},qIe.displayableProperties),{id:{type:"string"},name:{type:"string"},description:{type:"string"},i18n:{type:"array",items:VIe.I18N.schema,minItems:1,uniqueItemProperties:["code"],errorMessage:'${0#} array should not have duplicates for "code"'},thumbnail:{type:"string"},image:{type:"string"},metrics:Object.assign(Object.assign({},zIe.Metrics.schema),{nullable:!0})});wl.requiredBaseItemProps=["id","name","description","i18n","thumbnail","image"];function WIe(e){if(!e||!e.id)return!1;const t=e.id.split(":"),r=t[1]==="decentraland",n=t[3]==="base-avatars";return t.length===5&&r&&n}wl.isBaseAvatar=WIe;function GIe(e){if(!e||!e.id)return!1;const t=e.id.split(":");return t.length===5&&t[1]==="decentraland"&&t[3]==="base-emotes"}wl.isBaseEmote=GIe;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Wearable=void 0;const t=ct,r=Tf,n=J8,i=wl,o=t7,a=r7,s=Q8,l=n7;(function(c){c.schema={type:"object",properties:Object.assign(Object.assign(Object.assign(Object.assign({},i.baseItemProperties),o.standardProperties),a.schema.properties.thirdPartyProps),{data:{type:"object",properties:{replaces:{type:"array",items:s.HideableWearableCategory.schema},hides:{type:"array",items:s.HideableWearableCategory.schema},tags:{type:"array",items:{type:"string",minLength:1}},representations:{type:"array",items:n.WearableRepresentation.schema,minItems:1},category:r.WearableCategory.schema,removesDefaultHiding:{type:"array",nullable:!0,items:s.HideableWearableCategory.schema},blockVrmExport:{type:"boolean",nullable:!0},outlineCompatible:{type:"boolean",nullable:!0}},required:["replaces","hides","tags","representations","category"]}}),additionalProperties:!0,required:[],oneOf:[{required:["id","i18n"],prohibited:["merkleProof","content","collectionAddress","rarity","mappings"],_isBaseAvatar:!0},{required:[...i.requiredBaseItemProps,"data","collectionAddress","rarity"],prohibited:["merkleProof","content","mappings"]},{required:[...i.requiredBaseItemProps,"data","merkleProof","content"],prohibited:["collectionAddress","rarity"],_isThirdParty:!0}],errorMessage:{oneOf:"either standard XOR thirdparty properties conditions must be met"}};const d={keyword:"_isThirdParty",validate:(p,m)=>!p||(0,a.isThirdParty)(m),errors:!1},f={keyword:"_isBaseAvatar",validate:(p,m)=>!p||(0,i.isBaseAvatar)(m),errors:!1};c.validate=(0,t.generateLazyValidator)(c.schema,[d,f,l.RangeMapping._fromLessThanOrEqualTo,l.Mappings._isMappingsValid])})(e.Wearable||(e.Wearable={}))})(cte);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.HideableWearableCategory=e.BodyPartCategory=e.WearableCategory=e.Wearable=e.WearableRepresentation=void 0;var t=J8;Object.defineProperty(e,"WearableRepresentation",{enumerable:!0,get:function(){return t.WearableRepresentation}});var r=cte;Object.defineProperty(e,"Wearable",{enumerable:!0,get:function(){return r.Wearable}});var n=Tf;Object.defineProperty(e,"WearableCategory",{enumerable:!0,get:function(){return n.WearableCategory}});var i=UP;Object.defineProperty(e,"BodyPartCategory",{enumerable:!0,get:function(){return i.BodyPartCategory}});var o=Q8;Object.defineProperty(e,"HideableWearableCategory",{enumerable:!0,get:function(){return o.HideableWearableCategory}})})(lte);var RE={},IE={},JP={},XP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EmoteCategory=void 0;const t=ct;(function(r){r.DANCE="dance",r.STUNT="stunt",r.GREETINGS="greetings",r.FUN="fun",r.POSES="poses",r.REACTIONS="reactions",r.HORROR="horror",r.MISCELLANEOUS="miscellaneous"})(e.EmoteCategory||(e.EmoteCategory={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.EmoteCategory||(e.EmoteCategory={}))})(XP);var QP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EmoteRepresentationADR74=void 0;const t=ct,r=X8;(function(n){n.schema={type:"object",properties:{bodyShapes:{type:"array",items:r.BodyShape.schema,minItems:1,uniqueItems:!0},mainFile:{type:"string",minLength:1},contents:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0,contains:{const:{$data:"2/mainFile"}},errorMessage:{contains:"contents should contain mainFile: ${1/mainFile}"}}},required:["bodyShapes","mainFile","contents"]},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.EmoteRepresentationADR74||(e.EmoteRepresentationADR74={}))})(QP);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EmoteDataADR74=void 0;const t=XP,r=ct,n=QP;(function(i){i.schema={type:"object",properties:{tags:{type:"array",items:{type:"string",minLength:1}},representations:{type:"array",items:n.EmoteRepresentationADR74.schema,minItems:1},category:t.EmoteCategory.schema,loop:{type:"boolean"}},required:["category","tags","representations","loop"],additionalProperties:!0},i.validate=(0,r.generateLazyValidator)(i.schema)})(e.EmoteDataADR74||(e.EmoteDataADR74={}))})(JP);var C$;function KIe(){return C$||(C$=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Emote=void 0;const t=dte(),r=ct,n=wl,i=t7,o=r7,a=JP;(function(s){s.schema={type:"object",properties:Object.assign(Object.assign(Object.assign(Object.assign({},n.baseItemProperties),i.standardProperties),o.schema.properties),{emoteDataADR74:a.EmoteDataADR74.schema}),additionalProperties:!0,required:[...n.requiredBaseItemProps],oneOf:[{required:["emoteDataADR74"],oneOf:[{required:["id","i18n"],prohibited:["merkleProof","content","collectionAddress","rarity"],_isBaseEmote:!0},{required:["collectionAddress","rarity"],prohibited:["merkleProof","content"],errorMessage:"standard properties conditions are not met"},{required:["merkleProof","content","id","name","description","i18n","image","thumbnail","emoteDataADR74"],_isThirdParty:!0,prohibited:["collectionAddress","rarity"],errorMessage:"thirdparty properties conditions are not met"}],errorMessage:{oneOf:"emote should have either standard or thirdparty properties"}}],errorMessage:{oneOf:'emote should have "emoteDataADR74" and match its schema'}};const l={keyword:"_isThirdParty",validate:(d,f)=>!d||(0,t.isThirdParty)(f),errors:!1},c={keyword:"_isBaseEmote",validate:(d,f)=>!d||(0,n.isBaseEmote)(f),errors:!1};s.validate=(0,r.generateLazyValidator)(s.schema,[l,c,t.RangeMapping._fromLessThanOrEqualTo,t.Mappings._isMappingsValid])})(e.Emote||(e.Emote={}))}(IE)),IE}var ute={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EmotePlayMode=void 0;const t=ct;(function(r){r.SIMPLE="simple",r.LOOP="loop"})(e.EmotePlayMode||(e.EmotePlayMode={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.EmotePlayMode||(e.EmotePlayMode={}))})(ute);var S$;function YIe(){return S$||(S$=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EmotePlayMode=e.EmoteCategory=e.EmoteDataADR74=e.EmoteRepresentationADR74=e.Emote=void 0;var t=KIe();Object.defineProperty(e,"Emote",{enumerable:!0,get:function(){return t.Emote}});var r=QP;Object.defineProperty(e,"EmoteRepresentationADR74",{enumerable:!0,get:function(){return r.EmoteRepresentationADR74}});var n=JP;Object.defineProperty(e,"EmoteDataADR74",{enumerable:!0,get:function(){return n.EmoteDataADR74}});var i=XP;Object.defineProperty(e,"EmoteCategory",{enumerable:!0,get:function(){return i.EmoteCategory}});var o=ute;Object.defineProperty(e,"EmotePlayMode",{enumerable:!0,get:function(){return o.EmotePlayMode}})}(RE)),RE}var A$;function dte(){return A$||(A$=1,function(e){var t=X&&X.__createBinding||(Object.create?function(c,d,f,p){p===void 0&&(p=f);var m=Object.getOwnPropertyDescriptor(d,f);(!m||("get"in m?!d.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return d[f]}}),Object.defineProperty(c,p,m)}:function(c,d,f,p){p===void 0&&(p=f),c[p]=d[f]}),r=X&&X.__exportStar||function(c,d){for(var f in c)f!=="default"&&!Object.prototype.hasOwnProperty.call(d,f)&&t(d,c,f)};Object.defineProperty(e,"__esModule",{value:!0}),e.isThirdParty=e.isStandard=e.BodyShape=e.Metrics=e.Locale=e.I18N=void 0;var n=GP;Object.defineProperty(e,"I18N",{enumerable:!0,get:function(){return n.I18N}});var i=KP;Object.defineProperty(e,"Locale",{enumerable:!0,get:function(){return i.Locale}});var o=YP;Object.defineProperty(e,"Metrics",{enumerable:!0,get:function(){return o.Metrics}});var a=X8;Object.defineProperty(e,"BodyShape",{enumerable:!0,get:function(){return a.BodyShape}});var s=t7;Object.defineProperty(e,"isStandard",{enumerable:!0,get:function(){return s.isStandard}});var l=r7;Object.defineProperty(e,"isThirdParty",{enumerable:!0,get:function(){return l.isThirdParty}}),r(n7,e),r(lte,e),r(YIe(),e)}(ME)),ME}var fte={},h3={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.AuthChain=e.AuthLink=e.AuthLinkType=void 0;const t=ct;var r;(function(i){i.SIGNER="SIGNER",i.ECDSA_PERSONAL_EPHEMERAL="ECDSA_EPHEMERAL",i.ECDSA_PERSONAL_SIGNED_ENTITY="ECDSA_SIGNED_ENTITY",i.ECDSA_EIP_1654_EPHEMERAL="ECDSA_EIP_1654_EPHEMERAL",i.ECDSA_EIP_1654_SIGNED_ENTITY="ECDSA_EIP_1654_SIGNED_ENTITY"})(r=e.AuthLinkType||(e.AuthLinkType={}));var n;(function(i){i.schema={type:"object",properties:{type:{type:"string",enum:Object.values(r)},payload:{type:"string"},signature:{type:"string",nullable:!0}},required:["payload","type"],if:{properties:{type:{not:{const:r.SIGNER}}}},then:{required:["signature"]},else:{oneOf:[{properties:{signature:{type:"string",const:""}},required:["signature"]},{properties:{signature:{type:"null"}}}]}},i.validate=(0,t.generateLazyValidator)(i.schema)})(n=e.AuthLink||(e.AuthLink={})),function(i){i.schema={type:"array",items:n.schema,minItems:1},i.validate=(0,t.generateLazyValidator)(i.schema)}(e.AuthChain||(e.AuthChain={}))})(h3);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PointerChangesSyncDeployment=e.SnapshotSyncDeployment=void 0;const t=Mf,r=h3,n=ct;(function(i){i.schema={type:"object",properties:{entityId:{type:"string"},entityType:{type:"string"},pointers:{type:"array",items:{type:"string"},minItems:1},authChain:r.AuthChain.schema,entityTimestamp:{type:"number",minimum:0}},oneOf:[{properties:{entityId:t.IPFSv1.schema}},{properties:{entityId:t.IPFSv2.schema}}],required:["entityId","entityType","pointers","entityTimestamp","authChain"]},i.validate=(0,n.generateLazyValidator)(i.schema)})(e.SnapshotSyncDeployment||(e.SnapshotSyncDeployment={})),function(i){i.schema={type:"object",properties:{entityId:{type:"string"},entityType:{type:"string"},pointers:{type:"array",items:{type:"string"},minItems:1},authChain:r.AuthChain.schema,entityTimestamp:{type:"number",minimum:0},localTimestamp:{type:"number",minimum:0}},oneOf:[{properties:{entityId:t.IPFSv1.schema}},{properties:{entityId:t.IPFSv2.schema}}],required:["entityId","entityType","pointers","localTimestamp","entityTimestamp","authChain"]},i.validate=(0,n.generateLazyValidator)(i.schema)}(e.PointerChangesSyncDeployment||(e.PointerChangesSyncDeployment={}))})(fte);var eL={},tL={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ContentMapping=void 0;const t=Mf,r=ct;(function(n){n.schema={type:"object",properties:{file:{type:"string",minLength:1},hash:{type:"string",oneOf:[t.IPFSv1.schema,t.IPFSv2.schema]}},required:["file","hash"]},n.validate=(0,r.generateLazyValidator)(n.schema)})(e.ContentMapping||(e.ContentMapping={}))})(tL);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Entity=e.EntityType=void 0;const t=Mf,r=tL,n=ct;(function(i){i.SCENE="scene",i.PROFILE="profile",i.WEARABLE="wearable",i.STORE="store",i.EMOTE="emote",i.OUTFITS="outfits"})(e.EntityType||(e.EntityType={})),function(i){i.schema={type:"object",properties:{version:{type:"string",enum:["v3"]},id:{type:"string",oneOf:[t.IPFSv1.schema,t.IPFSv2.schema]},type:{type:"string"},pointers:{type:"array",items:{type:"string",minLength:1}},timestamp:{type:"number",minimum:0},content:{type:"array",items:r.ContentMapping.schema},metadata:{type:"object",nullable:!0}},required:["version","id","type","pointers","timestamp","content"]},i.validate=(0,n.generateLazyValidator)(i.schema)}(e.Entity||(e.Entity={}))})(eL);var pte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DeploymentWithAuthChain=void 0;const t=h3,r=ct;(function(n){n.schema={type:"object",properties:{entityId:{type:"string"},entityType:{type:"string"},pointers:{type:"array",items:{type:"string"},minItems:1},localTimestamp:{type:"number",minimum:0},authChain:t.AuthChain.schema},required:["entityId","entityType","pointers","localTimestamp","authChain"]},n.validate=(0,r.generateLazyValidator)(n.schema)})(e.DeploymentWithAuthChain||(e.DeploymentWithAuthChain={}))})(pte);var hte={},mte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Outfits=e.Outfit=void 0;const t=Tf,r=Mf,n=ct;var i;(function(o){o.schema={type:"object",required:["bodyShape","eyes","hair","skin","wearables"],properties:{bodyShape:{type:"string"},eyes:{type:"object",required:["color"],properties:{color:r.Color3.schema}},hair:{type:"object",required:["color"],properties:{color:r.Color3.schema}},skin:{type:"object",required:["color"],properties:{color:r.Color3.schema}},wearables:{type:"array",items:{type:"string"}},forceRender:{type:"array",nullable:!0,items:t.WearableCategory.schema}},additionalProperties:!0},o.validate=(0,n.generateLazyValidator)(o.schema)})(i=e.Outfit||(e.Outfit={})),function(o){o.schema={type:"object",required:["outfits","namesForExtraSlots"],properties:{outfits:{type:"array",items:{type:"object",required:["slot","outfit"],properties:{slot:{type:"number"},outfit:i.schema}}},namesForExtraSlots:{type:"array",uniqueItems:!0,items:{type:"string"}}},additionalProperties:!0},o.validate=(0,n.generateLazyValidator)(o.schema)}(e.Outfits||(e.Outfits={}))})(mte);(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(mte,e)})(hte);var gte={},rL={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.NotificationType=void 0,function(t){t.BADGE_GRANTED="badge_granted",t.BID_ACCEPTED="bid_accepted",t.BID_RECEIVED="bid_received",t.EVENTS_STARTED="events_started",t.EVENTS_STARTS_SOON="events_starts_soon",t.GOVERNANCE_ANNOUNCEMENT="governance_announcement",t.GOVERNANCE_AUTHORED_PROPOSAL_FINISHED="governance_authored_proposal_finished",t.GOVERNANCE_COAUTHOR_REQUESTED="governance_coauthor_requested",t.GOVERNANCE_CLIFF_ENDED="governance_cliff_ended",t.GOVERNANCE_NEW_COMMENT_ON_PROJECT_UPDATE="governance_new_comment_on_project_update",t.GOVERNANCE_NEW_COMMENT_ON_PROPOSAL="governance_new_comment_on_proposal",t.GOVERNANCE_PROPOSAL_ENACTED="governance_proposal_enacted",t.GOVERNANCE_VOTING_ENDED_VOTER="governance_voting_ended_voter",t.GOVERNANCE_PITCH_PASSED="governance_pitch_passed",t.GOVERNANCE_TENDER_PASSED="governance_tender_passed",t.GOVERNANCE_WHALE_VOTE="governance_whale_vote",t.GOVERNANCE_VOTED_ON_BEHALF="governance_voted_on_behalf",t.ITEM_SOLD="item_sold",t.ITEM_PUBLISHED="item_published",t.LAND_RENTAL_ENDED="rental_ended",t.LAND_RENTED="rental_started",t.REWARD_ASSIGNED="reward_assignment",t.REWARD_CAMPAIGN_OUT_OF_FUNDS="reward_campaign_out_of_funds",t.REWARD_CAMPAIGN_GAS_PRICE_HIGHER_THAN_EXPECTED="reward_campaign_gas_price_higher_than_expected",t.REWARD_CAMPAIGN_OUT_OF_STOCK="reward_campaign_out_of_stock",t.REWARD_DELAYED="reward_delayed",t.REWARD_IN_PROGRESS="reward_in_progress",t.ROYALTIES_EARNED="royalties_earned",t.SOCIAL_SERVICE_FRIENDSHIP_REQUEST="social_service_friendship_request",t.SOCIAL_SERVICE_FRIENDSHIP_ACCEPTED="social_service_friendship_accepted",t.WORLDS_ACCESS_RESTORED="worlds_access_restored",t.WORLDS_ACCESS_RESTRICTED="worlds_access_restricted",t.WORLDS_MISSING_RESOURCES="worlds_missing_resources",t.WORLDS_PERMISSION_GRANTED="worlds_permission_granted",t.WORLDS_PERMISSION_REVOKED="worlds_permission_revoked"}(e.NotificationType||(e.NotificationType={}))})(rL);var yte={},nL={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SubscriptionDetails=void 0;const t=ct,r=rL,n={type:"object",required:["email","in_app"],properties:{email:{type:"boolean"},in_app:{type:"boolean"}}},i=Object.values(r.NotificationType).reduce((o,a)=>(o[a]=n,o),{});(function(o){o.schema={type:"object",required:["ignore_all_email","ignore_all_in_app","message_type"],properties:{ignore_all_email:{type:"boolean"},ignore_all_in_app:{type:"boolean"},message_type:{type:"object",required:Object.values(r.NotificationType),additionalProperties:!1,properties:i}}},o.validate=(0,t.generateLazyValidator)(o.schema)})(e.SubscriptionDetails||(e.SubscriptionDetails={}))})(nL);var iL={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Email=void 0,function(t){t.schema={type:"string",pattern:"^[\\w\\-\\.]+@([\\w-]+\\.)+[\\w-]{2,}$"};const r=new RegExp(t.schema.pattern);t.validate=n=>r.test(n)}(e.Email||(e.Email={}))})(iL);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Subscription=void 0;const t=ct,r=nL,n=Mf,i=iL;(function(o){o.schema={type:"object",required:["address","details"],properties:{address:n.EthAddress.schema,email:Object.assign(Object.assign({},i.Email.schema),{nullable:!0}),details:r.SubscriptionDetails.schema}},o.validate=(0,t.generateLazyValidator)(o.schema)})(e.Subscription||(e.Subscription={}))})(yte);(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(rL,e),r(yte,e),r(nL,e)})(gte);var vte={},up={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Events=void 0,function(t){(function(r){r.BLOCKCHAIN="blockchain",r.CATALYST_DEPLOYMENT="catalyst-deployment",r.WORLD="world",r.CLIENT="client",r.MARKETPLACE="marketplace",r.REWARDS="rewards",r.BADGE="badge",r.ASSET_BUNDLE="asset-bundle",r.SOCIAL_SERVICE="social-service"})(t.Type||(t.Type={})),function(r){(function(n){n.BID_ACCEPTED="bid-accepted",n.ITEM_SOLD="item-sold",n.RENTAL_ENDED="land-rental-ended",n.RENTAL_STARTED="land-rental-started",n.ROYALTIES_EARNED="royalties-earned",n.COLLECTION_CREATED="collection-created",n.ITEM_PUBLISHED="item-published"})(r.Blockchain||(r.Blockchain={})),function(n){n.BID_RECEIVED="bid-received"}(r.Marketplace||(r.Marketplace={})),function(n){n.SCENE="scene",n.PROFILE="profile",n.WEARABLE="wearable",n.STORE="store",n.EMOTE="emote",n.OUTFITS="outfits"}(r.CatalystDeployment||(r.CatalystDeployment={})),function(n){n.DEPLOYMENT="deployment"}(r.Worlds||(r.Worlds={})),function(n){n.MOVE_TO_PARCEL="move-to-parcel",n.USED_EMOTE="used-emote",n.PASSPORT_OPENED="passport-opened",n.WALKED_DISTANCE="walked-distance",n.VERTICAL_HEIGHT_REACHED="vertical-height-reached"}(r.Client||(r.Client={})),function(n){n.REWARD_IN_PROGRESS="reward-in-progress",n.REWARD_ASSIGNED="reward-assigned",n.CAMPAIGN_OUT_OF_FUNDS="campaign-out-of-funds",n.CAMPAIGN_GAS_PRICE_HIGHER_THAN_EXPECTED="campaign-gas-price-higher-than-expected",n.CAMPAIGN_OUT_OF_STOCK="campaign-out-of-stock",n.REWARD_DELAYED="reward-delayed"}(r.Rewards||(r.Rewards={})),function(n){n.GRANTED="badge-granted"}(r.Badge||(r.Badge={})),function(n){n.CONVERTED="converted",n.MANUALLY_QUEUED="manually-queued"}(r.AssetBundle||(r.AssetBundle={})),function(n){n.FRIENDSHIP_REQUEST="friendship-request",n.FRIENDSHIP_ACCEPTED="friendship-accepted"}(r.SocialService||(r.SocialService={}))}(t.SubType||(t.SubType={}))}(e.Events||(e.Events={}))})(up);var bte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CollectionCreatedEvent=e.RoyaltiesEarnedEvent=e.RentalStartedEvent=e.RentalEndedEvent=e.ItemPublishedEvent=e.ItemSoldEvent=e.BidAcceptedEvent=void 0;const t=ct,r=up;(function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.BLOCKCHAIN},subType:{type:"string",const:r.Events.SubType.Blockchain.BID_ACCEPTED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{address:{type:"string"},image:{type:"string"},seller:{type:"string"},category:{type:"string"},rarity:{type:"string",nullable:!0},link:{type:"string"},nftName:{type:"string",nullable:!0},price:{type:"string"},title:{type:"string"},description:{type:"string"},network:{type:"string"}},required:["address","image","seller","category","link","price","title","network"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!0},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.BidAcceptedEvent||(e.BidAcceptedEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.BLOCKCHAIN},subType:{type:"string",const:r.Events.SubType.Blockchain.ITEM_SOLD},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{address:{type:"string"},image:{type:"string"},buyer:{type:"string"},seller:{type:"string"},category:{type:"string"},rarity:{type:"string",nullable:!0},link:{type:"string"},nftName:{type:"string",nullable:!0},tokenId:{type:"string"},network:{type:"string"},title:{type:"string"},description:{type:"string"}},required:["address","image","seller","category","link","network","title","description"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!1},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.ItemSoldEvent||(e.ItemSoldEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.BLOCKCHAIN},subType:{type:"string",const:r.Events.SubType.Blockchain.ITEM_PUBLISHED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{creator:{type:"string"},category:{type:"string"},rarity:{type:"string",nullable:!0},itemId:{type:"string"},network:{type:"string"},urn:{type:"string"}},required:["creator","category","itemId","network","urn"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!1},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.ItemPublishedEvent||(e.ItemPublishedEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.BLOCKCHAIN},subType:{type:"string",const:r.Events.SubType.Blockchain.RENTAL_ENDED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{address:{type:"string"},contract:{type:"string"},land:{type:"string",nullable:!0},lessor:{type:"string"},tenant:{type:"string"},operator:{type:"string"},startedAt:{type:"string"},endedAt:{type:"string"},tokenId:{type:"string"},link:{type:"string"},title:{type:"string"},description:{type:"string",nullable:!0}},required:["address","contract","lessor","tenant","operator","startedAt","endedAt","tokenId","link","title"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!1},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.RentalEndedEvent||(e.RentalEndedEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.BLOCKCHAIN},subType:{type:"string",const:r.Events.SubType.Blockchain.RENTAL_STARTED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{address:{type:"string"},contract:{type:"string"},land:{type:"string",nullable:!0},lessor:{type:"string"},tenant:{type:"string"},operator:{type:"string"},startedAt:{type:"string"},endedAt:{type:"string"},tokenId:{type:"string"},link:{type:"string"},title:{type:"string"},description:{type:"string",nullable:!0}},required:["address","contract","lessor","tenant","operator","startedAt","endedAt","tokenId","link","title"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!1},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.RentalStartedEvent||(e.RentalStartedEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.BLOCKCHAIN},subType:{type:"string",const:r.Events.SubType.Blockchain.ROYALTIES_EARNED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{address:{type:"string"},image:{type:"string"},category:{type:"string"},rarity:{type:"string",nullable:!0},link:{type:"string"},nftName:{type:"string",nullable:!0},royaltiesCut:{type:"string"},royaltiesCollector:{type:"string"},network:{type:"string"},title:{type:"string"},description:{type:"string",nullable:!0}},required:["address","image","category","link","royaltiesCut","royaltiesCollector","network","title"]}},required:["type","subType","metadata"],additionalProperties:!1},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.RoyaltiesEarnedEvent||(e.RoyaltiesEarnedEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.BLOCKCHAIN},subType:{type:"string",const:r.Events.SubType.Blockchain.COLLECTION_CREATED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{creator:{type:"string"},name:{type:"string"}},required:["creator","name"]}},required:["type","subType","metadata"],additionalProperties:!1},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.CollectionCreatedEvent||(e.CollectionCreatedEvent={}))})(bte);var _te={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CatalystDeploymentEvent=void 0;const t=h3,r=ct,n=eL,i=up;(function(o){o.schema={type:"object",properties:{type:{type:"string",const:i.Events.Type.CATALYST_DEPLOYMENT},subType:{type:"string",enum:Object.values(i.Events.SubType.CatalystDeployment)},key:{type:"string"},timestamp:{type:"number",minimum:1},entity:n.Entity.schema,authChain:t.AuthChain.schema},required:["type","subType","entity","authChain","key","timestamp"],additionalProperties:!1},o.validate=(0,r.generateLazyValidator)(o.schema)})(e.CatalystDeploymentEvent||(e.CatalystDeploymentEvent={}))})(_te);var Ete={};Object.defineProperty(Ete,"__esModule",{value:!0});var xte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.BidReceivedEvent=void 0;const t=ct,r=up;(function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.MARKETPLACE},subType:{type:"string",const:r.Events.SubType.Marketplace.BID_RECEIVED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{address:{type:"string"},image:{type:"string"},seller:{type:"string"},category:{type:"string"},rarity:{type:"string",nullable:!0},link:{type:"string"},nftName:{type:"string",nullable:!0},price:{type:"string"},title:{type:"string"},description:{type:"string"},network:{type:"string"}},required:["address","image","seller","category","link","price","title","network"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!1},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.BidReceivedEvent||(e.BidReceivedEvent={}))})(xte);var wte={},i7={};Object.defineProperty(i7,"__esModule",{value:!0});i7.createEventSchema=void 0;function ZIe(e,t,r){return{type:"object",properties:{type:{type:"string",const:e},subType:{type:"string",const:t},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:r},required:["type","subType","key","timestamp","metadata"],additionalProperties:!1}}i7.createEventSchema=ZIe;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.RewardDelayedEvent=e.CampaignOutOfStockEvent=e.CampaignGasPriceHigherThanExpectedEvent=e.CampaignOutOfFundsEvent=e.RewardAssignedEvent=e.RewardInProgressEvent=void 0;const t=ct,r=up,n=i7,i={type:"object",properties:{title:{type:"string"},description:{type:"string"},link:{type:"string",nullable:!0},beneficiary:{type:"string"},tokenName:{type:"string"},tokenImage:{type:"string"},tokenRarity:{type:"string",nullable:!0},tokenCategory:{type:"string",nullable:!0}},required:["title","description","beneficiary","tokenName","tokenImage"],additionalProperties:!1},o={type:"object",properties:{title:{type:"string"},description:{type:"string"},link:{type:"string",nullable:!0},owner:{type:"string"},campaignId:{type:"string"},campaignName:{type:"string"}},required:["title","description","owner","campaignId","campaignName"],additionalProperties:!1};(function(a){a.schema=(0,n.createEventSchema)(r.Events.Type.REWARDS,r.Events.SubType.Rewards.REWARD_IN_PROGRESS,i),a.validate=(0,t.generateLazyValidator)(a.schema)})(e.RewardInProgressEvent||(e.RewardInProgressEvent={})),function(a){a.schema=(0,n.createEventSchema)(r.Events.Type.REWARDS,r.Events.SubType.Rewards.REWARD_ASSIGNED,i),a.validate=(0,t.generateLazyValidator)(a.schema)}(e.RewardAssignedEvent||(e.RewardAssignedEvent={})),function(a){a.schema=(0,n.createEventSchema)(r.Events.Type.REWARDS,r.Events.SubType.Rewards.CAMPAIGN_OUT_OF_FUNDS,o),a.validate=(0,t.generateLazyValidator)(a.schema)}(e.CampaignOutOfFundsEvent||(e.CampaignOutOfFundsEvent={})),function(a){a.schema=(0,n.createEventSchema)(r.Events.Type.REWARDS,r.Events.SubType.Rewards.CAMPAIGN_GAS_PRICE_HIGHER_THAN_EXPECTED,o),a.validate=(0,t.generateLazyValidator)(a.schema)}(e.CampaignGasPriceHigherThanExpectedEvent||(e.CampaignGasPriceHigherThanExpectedEvent={})),function(a){a.schema=(0,n.createEventSchema)(r.Events.Type.REWARDS,r.Events.SubType.Rewards.CAMPAIGN_OUT_OF_STOCK,o),a.validate=(0,t.generateLazyValidator)(a.schema)}(e.CampaignOutOfStockEvent||(e.CampaignOutOfStockEvent={})),function(a){a.schema=(0,n.createEventSchema)(r.Events.Type.REWARDS,r.Events.SubType.Rewards.REWARD_DELAYED,i),a.validate=(0,t.generateLazyValidator)(a.schema)}(e.RewardDelayedEvent||(e.RewardDelayedEvent={}))})(wte);var Cte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.FriendshipAcceptedEvent=e.FriendshipRequestEvent=e.AssetBundleConversionManuallyQueuedEvent=e.AssetBundleConversionFinishedEvent=e.BadgeGrantedEvent=void 0;const t=ct,r=up;(function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.BADGE},subType:{type:"string",const:r.Events.SubType.Badge.GRANTED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{badgeId:{type:"string"},badgeTierName:{type:"string",nullable:!0},badgeName:{type:"string"},badgeImageUrl:{type:"string"},address:{type:"string"}},required:["badgeId","badgeName","badgeImageUrl","address"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!0},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.BadgeGrantedEvent||(e.BadgeGrantedEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.ASSET_BUNDLE},subType:{type:"string",const:r.Events.SubType.AssetBundle.CONVERTED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{entityId:{type:"string"},platform:{type:"string",enum:["windows","mac","webgl"]},statusCode:{type:"number"},isLods:{type:"boolean"},isWorld:{type:"boolean"}},required:["entityId","platform","statusCode","isLods","isWorld"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!0},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.AssetBundleConversionFinishedEvent||(e.AssetBundleConversionFinishedEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.ASSET_BUNDLE},subType:{type:"string",const:r.Events.SubType.AssetBundle.MANUALLY_QUEUED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{entityId:{type:"string"},platform:{type:"string",enum:["windows","mac","webgl"]},isLods:{type:"boolean"},isPriority:{type:"boolean"}},required:["entityId","platform","isLods"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!0},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.AssetBundleConversionManuallyQueuedEvent||(e.AssetBundleConversionManuallyQueuedEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.SOCIAL_SERVICE},subType:{type:"string",const:r.Events.SubType.SocialService.FRIENDSHIP_REQUEST},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{sender:{type:"object",properties:{address:{type:"string"},name:{type:"string"},profileImageUrl:{type:"string"}},required:["address","name","profileImageUrl"]},receiver:{type:"object",properties:{address:{type:"string"}},required:["address"]},message:{type:"string",nullable:!0}},required:["sender"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!0},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.FriendshipRequestEvent||(e.FriendshipRequestEvent={})),function(n){n.schema={type:"object",properties:{type:{type:"string",const:r.Events.Type.SOCIAL_SERVICE},subType:{type:"string",const:r.Events.SubType.SocialService.FRIENDSHIP_ACCEPTED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{sender:{type:"object",properties:{address:{type:"string"},name:{type:"string"},profileImageUrl:{type:"string"}},required:["address","name","profileImageUrl"]},receiver:{type:"object",properties:{address:{type:"string"}},required:["address"]}},required:["sender"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!0},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.FriendshipAcceptedEvent||(e.FriendshipAcceptedEvent={}))})(Cte);(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(up,e),r(bte,e),r(_te,e),r(Ete,e),r(xte,e),r(wte,e),r(Cte,e)})(vte);(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(nte,e),r(ote,e),r(dte(),e),r(wm,e),r(ZP,e),r(fte,e),r(eL,e),r(pte,e),r(hte,e),r(gte,e),r(vte,e)})(e7);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.WearableJson=void 0;const t=p3,r=Tf,n=J8,i=ct,o=e7;(function(a){a.schema={type:"object",properties:{description:{type:"string"},rarity:Object.assign(Object.assign({},t.Rarity.schema),{nullable:!0}),name:{type:"string"},data:{type:"object",properties:{replaces:{type:"array",items:r.WearableCategory.schema},hides:{type:"array",items:r.WearableCategory.schema},tags:{type:"array",items:{type:"string",minLength:1}},representations:{type:"array",items:n.WearableRepresentation.schema,minItems:1},category:r.WearableCategory.schema,removesDefaultHiding:{type:"array",nullable:!0,items:o.HideableWearableCategory.schema},blockVrmExport:{type:"boolean",nullable:!0},outlineCompatible:{type:"boolean",nullable:!0}},required:["replaces","hides","tags","representations","category"]}},additionalProperties:!0,required:["description","name","data"]},a.validate=(0,i.generateLazyValidator)(a.schema)})(e.WearableJson||(e.WearableJson={}))})(rte);(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(tte,e),r(rte,e)})(ete);(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(Jee,e),r(ete,e)})(Zee);var Ste={},Ate={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Account=e.AccountSortBy=void 0;const t=ct;(function(r){r.MOST_SALES="most_sales",r.MOST_PURCHASES="most_purchases",r.MOST_SPENT="most_spent",r.MOST_EARNED="most_earned",r.MOST_ROYALTIES="most_royalties",r.MOST_COLLECTIONS="most_collections"})(e.AccountSortBy||(e.AccountSortBy={})),function(r){r.schema={type:"object",properties:{id:{type:"string"},address:{type:"string"},sales:{type:"integer"},purchases:{type:"integer"},spent:{type:"string"},earned:{type:"string"},royalties:{type:"string"},collections:{type:"number"}},required:["id","address","sales","purchases","spent","earned","royalties","collections"]},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.Account||(e.Account={}))})(Ate);var Tte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Collection=e.CollectionSortBy=void 0;const t=ct,r=qs(),n=zs;(function(i){i.NEWEST="newest",i.NAME="name",i.RECENTLY_REVIEWED="recently_reviewed",i.RECENTLY_LISTED="recently_listed",i.SIZE="size"})(e.CollectionSortBy||(e.CollectionSortBy={})),function(i){i.schema={type:"object",properties:{urn:{type:"string"},creator:{type:"string"},name:{type:"string"},contractAddress:{type:"string"},size:{type:"integer"},isOnSale:{type:"boolean"},createdAt:{type:"integer"},updatedAt:{type:"integer"},reviewedAt:{type:"integer"},network:n.Network.schema,chainId:r.ChainId.schema,firstListedAt:{type:"integer",nullable:!0}},required:["urn","creator","name","contractAddress","isOnSale","size","createdAt","updatedAt","reviewedAt","network","chainId"]},i.validate=(0,t.generateLazyValidator)(i.schema)}(e.Collection||(e.Collection={}))})(Tte);var Mte={},m3={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.NFTCategory=void 0;const t=ct;(function(r){r.PARCEL="parcel",r.ESTATE="estate",r.WEARABLE="wearable",r.ENS="ens",r.EMOTE="emote"})(e.NFTCategory||(e.NFTCategory={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.NFTCategory||(e.NFTCategory={}))})(m3);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Contract=e.ContractSortBy=void 0;const t=ct,r=qs(),n=zs,i=m3;(function(o){o.NAME="name"})(e.ContractSortBy||(e.ContractSortBy={})),function(o){o.schema={type:"object",properties:{name:{type:"string"},address:{type:"string"},category:i.NFTCategory.schema,network:n.Network.schema,chainId:r.ChainId.schema},required:["name","address","category","network","chainId"]},o.validate=(0,t.generateLazyValidator)(o.schema)}(e.Contract||(e.Contract={}))})(Mte);var Rte={},oL={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.NFT=e.NFTSortBy=void 0;const t=ct,r=qs(),n=e7,i=zs,o=m3,a=p3,s=Tf;(function(l){l.NAME="name",l.NEWEST="newest",l.RECENTLY_LISTED="recently_listed",l.RECENTLY_SOLD="recently_sold",l.CHEAPEST="cheapest",l.RENTAL_LISTING_DATE="rental_listing_date",l.RENTAL_DATE="rented_date",l.MAX_RENTAL_PRICE="max_rental_price",l.MIN_RENTAL_PRICE="min_rental_price"})(e.NFTSortBy||(e.NFTSortBy={})),function(l){l.schema={type:"object",properties:{id:{type:"string"},tokenId:{type:"string"},contractAddress:{type:"string"},activeOrderId:{type:"string",nullable:!0},utility:{type:"string",nullable:!0},openRentalId:{type:"string",nullable:!0},owner:{type:"string"},name:{type:"string"},image:{type:"string"},url:{type:"string"},data:{type:"object",nullable:!1,properties:{parcel:{type:"object",properties:{description:{type:["string"],nullable:!0},x:{type:"string"},y:{type:"string"},estate:{type:"object",properties:{tokenId:{type:"string"},name:{type:"string"}},required:["tokenId","name"],nullable:!0}},required:["description","x","y","estate"],nullable:!0},estate:{type:"object",properties:{description:{type:["string"],nullable:!0},size:{type:"integer"},parcels:{type:"array",items:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},required:["x","y"]}}},required:["description","size","parcels"],nullable:!0},wearable:{type:"object",properties:{bodyShapes:{type:"array",items:n.BodyShape.schema},category:s.WearableCategory.schema,description:{type:"string"},rarity:a.Rarity.schema,isSmart:{type:"boolean"}},required:["bodyShapes","category","description","rarity","isSmart"],nullable:!0},ens:{type:"object",properties:{subdomain:{type:"string"}},required:["subdomain"],nullable:!0},emote:{type:"object",properties:{bodyShapes:{type:"array",items:n.BodyShape.schema},category:n.EmoteCategory.schema,description:{type:"string"},rarity:a.Rarity.schema,loop:{type:"boolean"},hasSound:{type:"boolean"},hasGeometry:{type:"boolean"}},required:["bodyShapes","category","description","rarity","loop"],nullable:!0}},required:[]},issuedId:{type:"string",nullable:!0},itemId:{type:"string",nullable:!0},category:o.NFTCategory.schema,network:i.Network.schema,chainId:r.ChainId.schema,createdAt:{type:"integer"},updatedAt:{type:"integer"},soldAt:{type:"integer"},urn:{type:"string",nullable:!0}},required:["id","tokenId","contractAddress","activeOrderId","openRentalId","owner","name","image","url","data","issuedId","itemId","category","network","chainId","createdAt","updatedAt","soldAt"]},l.validate=(0,t.generateLazyValidator)(l.schema)}(e.NFT||(e.NFT={}))})(oL);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Item=e.ItemSortBy=void 0;const t=ct,r=qs(),n=zs,i=oL,o=m3;(function(a){a.NAME="name",a.NEWEST="newest",a.RECENTLY_REVIEWED="recently_reviewed",a.RECENTLY_SOLD="recently_sold",a.RECENTLY_LISTED="recently_listed",a.CHEAPEST="cheapest"})(e.ItemSortBy||(e.ItemSortBy={})),function(a){a.schema={type:"object",properties:{id:{type:"string"},name:{type:"string"},thumbnail:{type:"string"},url:{type:"string"},category:o.NFTCategory.schema,contractAddress:{type:"string"},itemId:{type:"string"},rarity:{type:"string"},price:{type:"string"},available:{type:"integer"},isOnSale:{type:"boolean"},creator:{type:"string"},beneficiary:{type:"string",nullable:!0},tradeId:{type:"string",nullable:!0},data:i.NFT.schema.properties.data,network:n.Network.schema,chainId:r.ChainId.schema,urn:{type:"string"},createdAt:{type:"integer"},updatedAt:{type:"integer"},reviewedAt:{type:"integer"},soldAt:{type:"integer"},firstListedAt:{type:"integer",nullable:!0},picks:{type:"object",properties:{pickedByUser:{type:"boolean",nullable:!0},count:{type:"integer"}},required:["count"],nullable:!0},minPrice:{type:"string",nullable:!0},utility:{type:"string",nullable:!0},minListingPrice:{type:"string",nullable:!0},maxListingPrice:{type:"string",nullable:!0},listings:{type:"integer",nullable:!0},owners:{type:"integer",nullable:!0},tradeExpiresAt:{type:"integer",nullable:!0}},required:["id","name","thumbnail","url","category","contractAddress","itemId","rarity","price","available","isOnSale","creator","data","network","chainId","createdAt","updatedAt","soldAt"]},a.validate=(0,t.generateLazyValidator)(a.schema)}(e.Item||(e.Item={}))})(Rte);var o7={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ListingStatus=void 0;const t=ct;(function(r){r.OPEN="open",r.SOLD="sold",r.CANCELLED="cancelled"})(e.ListingStatus||(e.ListingStatus={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.ListingStatus||(e.ListingStatus={}))})(o7);var Ite={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.MetaTransaction=void 0;const t=ct;(function(r){r.schema={type:"object",properties:{from:{type:"string"},params:{type:"array",items:[{type:"string"},{type:"string"}],additionalItems:!1,minItems:2}},additionalProperties:!1,required:["from","params"]},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.MetaTransaction||(e.MetaTransaction={}))})(Ite);var Ote={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Mint=e.MintSortBy=void 0;const t=ct,r=qs(),n=zs;(function(i){i.RECENTLY_MINTED="recently_minted",i.MOST_EXPENSIVE="most_expensive"})(e.MintSortBy||(e.MintSortBy={})),function(i){i.schema={type:"object",properties:{id:{type:"string"},creator:{type:"string"},beneficiary:{type:"string"},minter:{type:"string"},price:{type:"string",nullable:!0},contractAddress:{type:"string"},tokenId:{type:"string"},itemId:{type:"string"},issuedId:{type:"string"},timestamp:{type:"integer"},network:n.Network.schema,chainId:r.ChainId.schema},required:["id","creator","beneficiary","minter","itemId","tokenId","issuedId","contractAddress","price","timestamp","network","chainId"]},i.validate=(0,t.generateLazyValidator)(i.schema)}(e.Mint||(e.Mint={}))})(Ote);var Pte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CatalogSortDirection=e.CatalogSortBy=void 0,function(t){t.NEWEST="newest",t.RECENTLY_SOLD="recently_sold",t.CHEAPEST="cheapest",t.MOST_EXPENSIVE="most_expensive",t.RECENTLY_LISTED="recently_listed"}(e.CatalogSortBy||(e.CatalogSortBy={})),function(t){t.ASC="asc",t.DESC="desc"}(e.CatalogSortDirection||(e.CatalogSortDirection={}))})(Pte);var Lte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Order=e.OrderSortBy=void 0;const t=ct,r=qs(),n=o7,i=zs;(function(o){o.RECENTLY_LISTED="recently_listed",o.RECENTLY_UPDATED="recently_updated",o.CHEAPEST="cheapest",o.ISSUED_ID_ASC="issued_id_asc",o.ISSUED_ID_DESC="issued_id_desc",o.OLDEST="oldest"})(e.OrderSortBy||(e.OrderSortBy={})),function(o){o.schema={type:"object",properties:{id:{type:"string"},marketplaceAddress:{type:"string"},contractAddress:{type:"string"},tokenId:{type:"string"},owner:{type:"string"},buyer:{type:["string"],nullable:!0},price:{type:"string"},status:n.ListingStatus.schema,network:i.Network.schema,chainId:r.ChainId.schema,expiresAt:{type:"integer"},createdAt:{type:"integer"},updatedAt:{type:"integer"},issuedId:{type:"string"},tradeId:{type:"string",nullable:!0}},required:["id","marketplaceAddress","contractAddress","tokenId","owner","buyer","price","status","network","chainId","expiresAt","createdAt","updatedAt"]},o.validate=(0,t.generateLazyValidator)(o.schema)}(e.Order||(e.Order={}))})(Lte);var aL={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SaleType=void 0;const t=ct;(function(r){r.ORDER="order",r.BID="bid",r.MINT="mint"})(e.SaleType||(e.SaleType={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.SaleType||(e.SaleType={}))})(aL);var kte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Sale=e.SaleSortBy=void 0;const t=ct,r=qs(),n=aL,i=zs;(function(o){o.RECENTLY_SOLD="recently_sold",o.MOST_EXPENSIVE="most_expensive"})(e.SaleSortBy||(e.SaleSortBy={})),function(o){o.schema={type:"object",properties:{id:{type:"string"},type:n.SaleType.schema,buyer:{type:"string"},seller:{type:"string"},price:{type:"string"},contractAddress:{type:"string"},tokenId:{type:"string"},itemId:{type:"string"},txHash:{type:"string"},timestamp:{type:"integer"},network:i.Network.schema,chainId:r.ChainId.schema},required:["id","buyer","seller","itemId","tokenId","price","contractAddress","timestamp","txHash","network","chainId"]},o.validate=(0,t.generateLazyValidator)(o.schema)}(e.Sale||(e.Sale={}))})(kte);var Nte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.RentalListingCreation=e.PeriodCreation=e.RentalsListingsSortBy=e.RentalsListingsFilterByCategory=e.RentalsListingSortDirection=e.RentalStatus=void 0;const t=ct,r=qs(),n=zs;(function(o){o.OPEN="open",o.CANCELLED="cancelled",o.EXECUTED="executed",o.CLAIMED="claimed"})(e.RentalStatus||(e.RentalStatus={})),function(o){o.ASC="asc",o.DESC="desc"}(e.RentalsListingSortDirection||(e.RentalsListingSortDirection={})),function(o){o.PARCEL="parcel",o.ESTATE="estate"}(e.RentalsListingsFilterByCategory||(e.RentalsListingsFilterByCategory={})),function(o){o.LAND_CREATION_DATE="land_creation_date",o.RENTAL_LISTING_DATE="rental_listing_date",o.RENTAL_DATE="rented_date",o.NAME="name",o.MAX_RENTAL_PRICE="max_rental_price",o.MIN_RENTAL_PRICE="min_rental_price"}(e.RentalsListingsSortBy||(e.RentalsListingsSortBy={}));var i;(function(o){o.schema={type:"object",properties:{minDays:{type:"integer",minimum:0,maximum:2147483647},maxDays:{type:"integer",minimum:0,maximum:2147483647},pricePerDay:{type:"string",pattern:"^[0-9]+$"}},additionalProperties:!1,required:["minDays","maxDays","pricePerDay"]},o.validate=(0,t.generateLazyValidator)(o.schema)})(i=e.PeriodCreation||(e.PeriodCreation={})),function(o){o.schema={type:"object",properties:{network:n.Network.schema,chainId:r.ChainId.schema,expiration:{type:"number",minimum:0},signature:{type:"string",minLength:1},tokenId:{type:"string",minLength:1},nonces:{type:"array",minItems:3,maxItems:3,items:{minLength:1,type:"string",pattern:"^[0-9]+$"}},contractAddress:{type:"string",pattern:"^0x[a-fA-F0-9]{40}$"},rentalContractAddress:{type:"string",pattern:"^0x[a-fA-F0-9]{40}$"},periods:{type:"array",minItems:1,maxItems:100,uniqueItems:!0,items:i.schema},target:{type:"string",pattern:"^0x[a-fA-F0-9]{40}$"}},additionalProperties:!1,required:["network","chainId","expiration","signature","nonces","tokenId","contractAddress","rentalContractAddress","periods","target"]},o.validate=(0,t.generateLazyValidator)(o.schema)}(e.RentalListingCreation||(e.RentalListingCreation={}))})(Nte);var jte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.AnalyticsDayDataSortBy=void 0,function(t){t.DATE="date",t.MOST_SALES="most_sales"}(e.AnalyticsDayDataSortBy||(e.AnalyticsDayDataSortBy={}))})(jte);var Dte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Store=void 0;const t=ct;(function(r){r.schema={type:"object",properties:{id:{type:"string"},version:{type:"number"},owner:{type:"string"},description:{type:"string"},links:{type:"array",items:{type:"object",properties:{name:{type:"string"},url:{type:"string"}},required:["name","url"]}},images:{type:"array",items:{type:"object",properties:{name:{type:"string"},file:{type:"string"}},required:["name","file"]}}},required:["id","version","owner","description","links","images"]},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.Store||(e.Store={}))})(Dte);var Bte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.GenderFilterOption=e.WearableGender=void 0;const t=ct;(function(r){r.MALE="male",r.FEMALE="female"})(e.WearableGender||(e.WearableGender={})),function(r){r.MALE="male",r.FEMALE="female",r.UNISEX="unisex"}(e.GenderFilterOption||(e.GenderFilterOption={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.WearableGender||(e.WearableGender={}))})(Bte);var Fte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.World=e.isInsideWorldLimits=e.getWorld=void 0;const t=ct;function r(){return{validWorldRanges:[{xMin:-150,yMin:-150,xMax:150,yMax:150},{xMin:62,yMin:151,xMax:162,yMax:158},{xMin:151,yMin:144,xMax:162,yMax:150},{xMin:151,yMin:59,xMax:163,yMax:143}]}}e.getWorld=r;function n(i,o){const a=r().validWorldRanges;for(const s of a)if(i>=s.xMin&&i<=s.xMax&&o>=s.yMin&&o<=s.yMax)return!0;return!1}e.isInsideWorldLimits=n,function(i){i.schema={type:"object",required:["validWorldRanges"],properties:{validWorldRanges:{type:"array",default:[{xMin:-150,yMin:-150,xMax:150,yMax:150}],items:{type:"object",required:["xMin","yMin","xMax","yMax"],properties:{xMin:{type:"integer"},yMin:{type:"integer"},xMax:{type:"integer"},yMax:{type:"integer"}}}}},additionalProperties:!1},i.validate=(0,t.generateLazyValidator)(i.schema)}(e.World||(e.World={}))})(Fte);var Ute={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Bid=e.BidSortBy=void 0;const t=ct,r=qs(),n=o7,i=zs;(function(o){o.RECENTLY_OFFERED="recently_offered",o.RECENTLY_UPDATED="recently_updated",o.MOST_EXPENSIVE="most_expensive"})(e.BidSortBy||(e.BidSortBy={})),function(o){const a={type:"object",properties:{id:{type:"string"},bidder:{type:"string"},seller:{type:"string"},price:{type:"string"},fingerprint:{type:"string"},status:n.ListingStatus.schema,contractAddress:{type:"string"},network:i.Network.schema,chainId:r.ChainId.schema,expiresAt:{type:"integer"},createdAt:{type:"integer"},updatedAt:{type:"integer"}},required:["id","bidder","seller","price","fingerprint","status","contractAddress","network","chainId","expiresAt","createdAt","updatedAt"]};o.schema={type:"object",required:[],oneOf:[{properties:Object.assign(Object.assign({},a.properties),{tradeId:{type:"string"},tokenId:{type:"string"}}),required:[...a.required,"tradeId","tokenId"]},{type:"object",properties:Object.assign(Object.assign({},a.properties),{tradeId:{type:"string"},itemId:{type:"string"}}),required:[...a.required,"tradeId","itemId"]},{type:"object",properties:Object.assign(Object.assign({},a.properties),{bidAddress:{type:"string"},blockchainId:{type:"string"},blockNumber:{type:"string"},tokenId:{type:"string"}}),required:[...a.required,"bidAddress","blockchainId","blockNumber","tokenId"]}]},o.validate=(0,t.generateLazyValidator)(o.schema)}(e.Bid||(e.Bid={}))})(Ute);var $te={};Object.defineProperty($te,"__esModule",{value:!0});var Hte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.TradeAssetDirection=e.TradeAssetType=e.TradeType=void 0,function(t){t.BID="bid",t.PUBLIC_NFT_ORDER="public_nft_order",t.PUBLIC_ITEM_ORDER="public_item_order"}(e.TradeType||(e.TradeType={})),function(t){t[t.ERC20=1]="ERC20",t[t.USD_PEGGED_MANA=2]="USD_PEGGED_MANA",t[t.ERC721=3]="ERC721",t[t.COLLECTION_ITEM=4]="COLLECTION_ITEM"}(e.TradeAssetType||(e.TradeAssetType={})),function(t){t.SENT="sent",t.RECEIVED="received"}(e.TradeAssetDirection||(e.TradeAssetDirection={}))})(Hte);var Vte={},zte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PreviewCamera=void 0;const t=ct;(function(r){r.STATIC="static",r.INTERACTIVE="interactive"})(e.PreviewCamera||(e.PreviewCamera={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.PreviewCamera||(e.PreviewCamera={}))})(zte);var qte={};Object.defineProperty(qte,"__esModule",{value:!0});var Wte={};Object.defineProperty(Wte,"__esModule",{value:!0});var Gte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PreviewEmoteEventType=void 0;const t=ct;(function(r){r.ANIMATION_PLAY="animation_play",r.ANIMATION_PAUSE="animation_pause",r.ANIMATION_LOOP="animation_loop",r.ANIMATION_END="animation_end",r.ANIMATION_PLAYING="animation_playing"})(e.PreviewEmoteEventType||(e.PreviewEmoteEventType={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.PreviewEmoteEventType||(e.PreviewEmoteEventType={}))})(Gte);var Kte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PreviewEmote=void 0;const t=ct;(function(r){r.IDLE="idle",r.WALK="walk",r.RUN="run",r.JUMP="jump",r.CLAP="clap",r.DAB="dab",r.DANCE="dance",r.FASHION="fashion",r.FASHION_2="fashion-2",r.FASHION_3="fashion-3",r.FASHION_4="fashion-4",r.LOVE="love",r.MONEY="money",r.FIST_PUMP="fist-pump",r.HEAD_EXPLODE="head-explode",r.WAVE="wave"})(e.PreviewEmote||(e.PreviewEmote={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.PreviewEmote||(e.PreviewEmote={}))})(Kte);var Yte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.sendMessage=e.PreviewMessageType=void 0;const t=ct;(function(n){n.READY="ready",n.LOAD="load",n.ERROR="error",n.UPDATE="update",n.CONTROLLER_REQUEST="controller_request",n.CONTROLLER_RESPONSE="controller_response",n.EMOTE_EVENT="emote_event"})(e.PreviewMessageType||(e.PreviewMessageType={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.PreviewMessageType||(e.PreviewMessageType={}));const r=(n,i,o,a="*")=>{const s={type:i,payload:o};n.postMessage(s,a)};e.sendMessage=r})(Yte);var Zte={};Object.defineProperty(Zte,"__esModule",{value:!0});var Jte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PreviewProjection=void 0;const t=ct;(function(r){r.ORTHOGRAPHIC="orthographic",r.PERSPECTIVE="perspective"})(e.PreviewProjection||(e.PreviewProjection={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.PreviewProjection||(e.PreviewProjection={}))})(Jte);var Xte={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PreviewType=void 0;const t=ct;(function(r){r.TEXTURE="texture",r.WEARABLE="wearable",r.AVATAR="avatar"})(e.PreviewType||(e.PreviewType={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.PreviewType||(e.PreviewType={}))})(Xte);var Qte={};Object.defineProperty(Qte,"__esModule",{value:!0});var ere={};Object.defineProperty(ere,"__esModule",{value:!0});var tre={};Object.defineProperty(tre,"__esModule",{value:!0});var rre={};Object.defineProperty(rre,"__esModule",{value:!0});var nre={};Object.defineProperty(nre,"__esModule",{value:!0});var ire={};Object.defineProperty(ire,"__esModule",{value:!0});var ore={};Object.defineProperty(ore,"__esModule",{value:!0});var are={};Object.defineProperty(are,"__esModule",{value:!0});(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(zte,e),r(qte,e),r(Wte,e),r(Gte,e),r(Kte,e),r(Yte,e),r(Zte,e),r(Jte,e),r(Xte,e),r(Qte,e),r(ere,e),r(tre,e),r(rre,e),r(nre,e),r(ire,e),r(ore,e),r(are,e)})(Vte);var sre={},a7={};Object.defineProperty(a7,"__esModule",{value:!0});a7.isSysLink=void 0;const JIe=e=>e!==null&&typeof e=="object"&&"sys"in e&&"id"in e.sys;a7.isSysLink=JIe;var s7={};Object.defineProperty(s7,"__esModule",{value:!0});s7.ContentfulLocale=void 0;var EA;(function(e){e.enUS="en-US",e.es="es",e.zh="zh"})(EA||(EA={}));s7.ContentfulLocale=EA;var lre={};Object.defineProperty(lre,"__esModule",{value:!0});(function(e){var t=X&&X.__createBinding||(Object.create?function(n,i,o,a){a===void 0&&(a=o);var s=Object.getOwnPropertyDescriptor(i,o);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(n,a,s)}:function(n,i,o,a){a===void 0&&(a=o),n[a]=i[o]}),r=X&&X.__exportStar||function(n,i){for(var o in n)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,n,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(a7,e),r(s7,e),r(lre,e)})(sre);(function(e){var t=X&&X.__createBinding||(Object.create?function(q,W,J,$){$===void 0&&($=J);var M=Object.getOwnPropertyDescriptor(W,J);(!M||("get"in M?!W.__esModule:M.writable||M.configurable))&&(M={enumerable:!0,get:function(){return W[J]}}),Object.defineProperty(q,$,M)}:function(q,W,J,$){$===void 0&&($=J),q[$]=W[J]}),r=X&&X.__exportStar||function(q,W){for(var J in q)J!=="default"&&!Object.prototype.hasOwnProperty.call(W,J)&&t(W,q,J)};Object.defineProperty(e,"__esModule",{value:!0}),e.isInsideWorldLimits=e.getWorld=e.World=e.GenderFilterOption=e.WearableGender=e.Store=e.AnalyticsDayDataSortBy=e.PeriodCreation=e.RentalListingCreation=e.RentalsListingsSortBy=e.RentalsListingsFilterByCategory=e.RentalsListingSortDirection=e.RentalStatus=e.SaleSortBy=e.Sale=e.SaleType=e.Rarity=e.ProviderType=e.OrderSortBy=e.Order=e.CatalogSortDirection=e.CatalogSortBy=e.NFTSortBy=e.NFT=e.NFTCategory=e.Network=e.MintSortBy=e.Mint=e.MetaTransaction=e.ListingStatus=e.ItemSortBy=e.Item=e.ContractSortBy=e.Contract=e.CollectionSortBy=e.Collection=e.getChainId=e.ChainName=e.getURNProtocol=e.getChainName=e.ChainId=e.AccountSortBy=e.Account=void 0;var n=Ate;Object.defineProperty(e,"Account",{enumerable:!0,get:function(){return n.Account}}),Object.defineProperty(e,"AccountSortBy",{enumerable:!0,get:function(){return n.AccountSortBy}});var i=qs();Object.defineProperty(e,"ChainId",{enumerable:!0,get:function(){return i.ChainId}}),Object.defineProperty(e,"getChainName",{enumerable:!0,get:function(){return i.getChainName}}),Object.defineProperty(e,"getURNProtocol",{enumerable:!0,get:function(){return i.getURNProtocol}});var o=Kee();Object.defineProperty(e,"ChainName",{enumerable:!0,get:function(){return o.ChainName}}),Object.defineProperty(e,"getChainId",{enumerable:!0,get:function(){return o.getChainId}});var a=Tte;Object.defineProperty(e,"Collection",{enumerable:!0,get:function(){return a.Collection}}),Object.defineProperty(e,"CollectionSortBy",{enumerable:!0,get:function(){return a.CollectionSortBy}});var s=Mte;Object.defineProperty(e,"Contract",{enumerable:!0,get:function(){return s.Contract}}),Object.defineProperty(e,"ContractSortBy",{enumerable:!0,get:function(){return s.ContractSortBy}});var l=Rte;Object.defineProperty(e,"Item",{enumerable:!0,get:function(){return l.Item}}),Object.defineProperty(e,"ItemSortBy",{enumerable:!0,get:function(){return l.ItemSortBy}});var c=o7;Object.defineProperty(e,"ListingStatus",{enumerable:!0,get:function(){return c.ListingStatus}});var d=Ite;Object.defineProperty(e,"MetaTransaction",{enumerable:!0,get:function(){return d.MetaTransaction}});var f=Ote;Object.defineProperty(e,"Mint",{enumerable:!0,get:function(){return f.Mint}}),Object.defineProperty(e,"MintSortBy",{enumerable:!0,get:function(){return f.MintSortBy}});var p=zs;Object.defineProperty(e,"Network",{enumerable:!0,get:function(){return p.Network}});var m=m3;Object.defineProperty(e,"NFTCategory",{enumerable:!0,get:function(){return m.NFTCategory}});var v=oL;Object.defineProperty(e,"NFT",{enumerable:!0,get:function(){return v.NFT}}),Object.defineProperty(e,"NFTSortBy",{enumerable:!0,get:function(){return v.NFTSortBy}});var g=Pte;Object.defineProperty(e,"CatalogSortBy",{enumerable:!0,get:function(){return g.CatalogSortBy}}),Object.defineProperty(e,"CatalogSortDirection",{enumerable:!0,get:function(){return g.CatalogSortDirection}});var b=Lte;Object.defineProperty(e,"Order",{enumerable:!0,get:function(){return b.Order}}),Object.defineProperty(e,"OrderSortBy",{enumerable:!0,get:function(){return b.OrderSortBy}});var h=$r;Object.defineProperty(e,"ProviderType",{enumerable:!0,get:function(){return h.ProviderType}});var y=p3;Object.defineProperty(e,"Rarity",{enumerable:!0,get:function(){return y.Rarity}});var w=aL;Object.defineProperty(e,"SaleType",{enumerable:!0,get:function(){return w.SaleType}});var T=kte;Object.defineProperty(e,"Sale",{enumerable:!0,get:function(){return T.Sale}}),Object.defineProperty(e,"SaleSortBy",{enumerable:!0,get:function(){return T.SaleSortBy}});var R=Nte;Object.defineProperty(e,"RentalStatus",{enumerable:!0,get:function(){return R.RentalStatus}}),Object.defineProperty(e,"RentalsListingSortDirection",{enumerable:!0,get:function(){return R.RentalsListingSortDirection}}),Object.defineProperty(e,"RentalsListingsFilterByCategory",{enumerable:!0,get:function(){return R.RentalsListingsFilterByCategory}}),Object.defineProperty(e,"RentalsListingsSortBy",{enumerable:!0,get:function(){return R.RentalsListingsSortBy}}),Object.defineProperty(e,"RentalListingCreation",{enumerable:!0,get:function(){return R.RentalListingCreation}}),Object.defineProperty(e,"PeriodCreation",{enumerable:!0,get:function(){return R.PeriodCreation}});var S=jte;Object.defineProperty(e,"AnalyticsDayDataSortBy",{enumerable:!0,get:function(){return S.AnalyticsDayDataSortBy}});var I=Dte;Object.defineProperty(e,"Store",{enumerable:!0,get:function(){return I.Store}});var U=Bte;Object.defineProperty(e,"WearableGender",{enumerable:!0,get:function(){return U.WearableGender}}),Object.defineProperty(e,"GenderFilterOption",{enumerable:!0,get:function(){return U.GenderFilterOption}});var D=Fte;Object.defineProperty(e,"World",{enumerable:!0,get:function(){return D.World}}),Object.defineProperty(e,"getWorld",{enumerable:!0,get:function(){return D.getWorld}}),Object.defineProperty(e,"isInsideWorldLimits",{enumerable:!0,get:function(){return D.isInsideWorldLimits}}),r(Ute,e),r($te,e),r(Hte,e),r(Vte,e),r(sre,e)})(Ste);var cre={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.LinkerAuthorization=void 0;const t=ct;(function(r){r.schema={type:"object",properties:{name:{type:"string"},desc:{type:"string"},startDate:{type:"string",nullable:!0},endDate:{type:"string",nullable:!0},contactInfo:{type:"object",properties:{name:{type:"string"}},required:["name"]},onlyDev:{type:"boolean",nullable:!0},addresses:{type:"array",items:{type:"string"},minItems:1},plots:{type:"array",items:{type:"string"},minItems:1}},required:["name","desc","contactInfo","addresses","plots"]},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.LinkerAuthorization||(e.LinkerAuthorization={}))})(cre);(function(e){var t=X&&X.__createBinding||(Object.create?function(a,s,l,c){c===void 0&&(c=l);var d=Object.getOwnPropertyDescriptor(s,l);(!d||("get"in d?!s.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return s[l]}}),Object.defineProperty(a,c,d)}:function(a,s,l,c){c===void 0&&(c=l),a[c]=s[l]}),r=X&&X.__setModuleDefault||(Object.create?function(a,s){Object.defineProperty(a,"default",{enumerable:!0,value:s})}:function(a,s){a.default=s}),n=X&&X.__importStar||function(a){if(a&&a.__esModule)return a;var s={};if(a!=null)for(var l in a)l!=="default"&&Object.prototype.hasOwnProperty.call(a,l)&&t(s,a,l);return r(s,a),s},i=X&&X.__exportStar||function(a,s){for(var l in a)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&t(s,a,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.sdk=void 0;const o=n(Zee);e.sdk=o,i(ct,e),i(Ste,e),i(e7,e),i(Mf,e),i(cre,e),i(h3,e),i(tL,e),i(iL,e)})(yu);const XIe=Object.freeze({storageKey:"decentraland-connect-storage-key",[$r.ProviderType.INJECTED]:{},[$r.ProviderType.FORTMATIC]:{apiKeys:{[Mr.ChainId.ETHEREUM_MAINNET]:"pk_live_F8E24DF8DD5BCBC5",[Mr.ChainId.ETHEREUM_SEPOLIA]:"pk_test_5B728BEFE5C10911"},urls:e1($r.ProviderType.FORTMATIC)},[$r.ProviderType.NETWORK]:{urls:e1($r.ProviderType.NETWORK)},[$r.ProviderType.WALLET_LINK]:{appName:"Decentraland",urls:e1($r.ProviderType.WALLET_LINK)},[$r.ProviderType.WALLET_CONNECT_V2]:{projectId:"61570c542c2d66c659492e5b24a41522",urls:e1($r.ProviderType.WALLET_CONNECT_V2),chains:{[Mr.ChainId.ETHEREUM_MAINNET]:{chains:[Mr.ChainId.ETHEREUM_MAINNET],optionalChains:[Mr.ChainId.MATIC_MAINNET,Mr.ChainId.ARBITRUM_MAINNET,Mr.ChainId.OPTIMISM_MAINNET,Mr.ChainId.AVALANCHE_MAINNET,Mr.ChainId.BSC_MAINNET,Mr.ChainId.FANTOM_MAINNET]},[Mr.ChainId.ETHEREUM_SEPOLIA]:{chains:[Mr.ChainId.ETHEREUM_SEPOLIA],optionalChains:[Mr.ChainId.MATIC_AMOY]}}},[$r.ProviderType.MAGIC]:{apiKey:"pk_live_212568025B158355",urls:e1($r.ProviderType.MAGIC),chains:[Mr.ChainId.ETHEREUM_MAINNET,Mr.ChainId.ETHEREUM_SEPOLIA,Mr.ChainId.MATIC_MAINNET,Mr.ChainId.MATIC_AMOY,Mr.ChainId.OPTIMISM_MAINNET,Mr.ChainId.ARBITRUM_MAINNET,Mr.ChainId.AVALANCHE_MAINNET,Mr.ChainId.BSC_MAINNET,Mr.ChainId.FANTOM_MAINNET]},[$r.ProviderType.MAGIC_TEST]:{apiKey:"pk_live_CE856A4938B36648",urls:e1($r.ProviderType.MAGIC),chains:[Mr.ChainId.ETHEREUM_MAINNET,Mr.ChainId.ETHEREUM_SEPOLIA,Mr.ChainId.MATIC_MAINNET,Mr.ChainId.MATIC_AMOY,Mr.ChainId.OPTIMISM_MAINNET,Mr.ChainId.ARBITRUM_MAINNET,Mr.ChainId.AVALANCHE_MAINNET,Mr.ChainId.BSC_MAINNET,Mr.ChainId.FANTOM_MAINNET]}});function vu(){return XIe}function e1(e){const t={[Mr.ChainId.ETHEREUM_MAINNET]:"https://rpc.decentraland.org/mainnet",[Mr.ChainId.ETHEREUM_SEPOLIA]:"https://rpc.decentraland.org/sepolia",[Mr.ChainId.MATIC_MAINNET]:"https://rpc.decentraland.org/polygon",[Mr.ChainId.MATIC_AMOY]:"https://rpc.decentraland.org/amoy",[Mr.ChainId.ARBITRUM_MAINNET]:"https://rpc.decentraland.org/arbitrum",[Mr.ChainId.OPTIMISM_MAINNET]:"https://rpc.decentraland.org/optimism",[Mr.ChainId.AVALANCHE_MAINNET]:"https://rpc.decentraland.org/avalanche",[Mr.ChainId.BSC_MAINNET]:"https://rpc.decentraland.org/binance",[Mr.ChainId.FANTOM_MAINNET]:"https://rpc.decentraland.org/fantom"};let r="";switch(e){case $r.ProviderType.WALLET_LINK:r="walletlink";break;case $r.ProviderType.FORTMATIC:r="fortmatic";break;case $r.ProviderType.MAGIC:r="magic";break;case $r.ProviderType.MAGIC_TEST:r="magic";break;case $r.ProviderType.WALLET_CONNECT_V2:r="walletconnect-v2";break;case $r.ProviderType.AUTH_SERVER:r="auth-server";break}if(r)for(const n in t)t[n]+=`?project=${r}`;return t}class QIe extends cp{constructor(t){const r=vu()[yu.ProviderType.FORTMATIC],n=Object.keys(r.apiKeys).map(i=>Number(i));if(!n.includes(t))throw new Error(`Invariant error: Unsupported chainId ${t}`);super({supportedChainIds:n}),this.apiKey=r.apiKeys[t],this.chainId=t,this.rpcUrl=r.urls[t]}async activate(){if(!this.fortmatic){const{default:r}=await Eh(async()=>{const{default:n}=await import("./fortmatic-DytHfiDm.js").then(i=>i.f);return{default:n}},[]);this.fortmatic=new r(this.apiKey,{rpcUrl:this.rpcUrl,chainId:this.chainId})}const t=await this.fortmatic.getProvider().enable().then(r=>r[0]);return{provider:this.fortmatic.getProvider(),chainId:this.chainId,account:t}}getApiKey(){return this.apiKey}async getProvider(){return this.fortmatic.getProvider()}async getChainId(){return this.chainId}async getAccount(){return this.fortmatic.getProvider().send("eth_accounts").then(t=>t[0])}deactivate(){}close(){return this.fortmatic.user.logout()}}function xA(){return xA=Object.assign||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},xA.apply(this,arguments)}function sL(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function wA(e){return wA=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wA(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Sb(e,t)}function eOe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function z4(e,t,r){return eOe()?z4=Reflect.construct:z4=function(i,o,a){var s=[null];s.push.apply(s,o);var l=Function.bind.apply(i,s),c=new l;return a&&Sb(c,a.prototype),c},z4.apply(null,arguments)}function tOe(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ab(e){var t=typeof Map=="function"?new Map:void 0;return Ab=function(n){if(n===null||!tOe(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return z4(n,arguments,wA(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Sb(i,n)},Ab(e)}function M5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}typeof Symbol<"u"&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator")));typeof Symbol<"u"&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));function qp(e,t){try{var r=e()}catch(n){return t(n)}return r&&r.then?r.then(void 0,t):r}function Kl(e){return e.hasOwnProperty("result")?e.result:e}var OE=function(e){sL(t,e);function t(){var r;return r=e.call(this)||this,r.name=r.constructor.name,r.message="No Ethereum provider was found on window.ethereum.",r}return t}(Ab(Error)),rOe=function(e){sL(t,e);function t(){var r;return r=e.call(this)||this,r.name=r.constructor.name,r.message="The user rejected the request.",r}return t}(Ab(Error)),nOe=function(e){sL(t,e);function t(n){var i;return i=e.call(this,n)||this,i.handleNetworkChanged=i.handleNetworkChanged.bind(M5(i)),i.handleChainChanged=i.handleChainChanged.bind(M5(i)),i.handleAccountsChanged=i.handleAccountsChanged.bind(M5(i)),i.handleClose=i.handleClose.bind(M5(i)),i}var r=t.prototype;return r.handleChainChanged=function(i){this.emitUpdate({chainId:i,provider:window.ethereum})},r.handleAccountsChanged=function(i){i.length===0?this.emitDeactivate():this.emitUpdate({account:i[0]})},r.handleClose=function(i,o){this.emitDeactivate()},r.handleNetworkChanged=function(i){this.emitUpdate({chainId:i,provider:window.ethereum})},r.activate=function(){try{var i=function(d){if(o)return d;function f(){return xA({provider:window.ethereum},s?{account:s}:{})}var p=function(){if(!s)return Promise.resolve(window.ethereum.enable().then(function(m){return m&&Kl(m)[0]})).then(function(m){s=m})}();return p&&p.then?p.then(f):f(p)},o=!1,a=this;if(!window.ethereum)throw new OE;window.ethereum.on&&(window.ethereum.on("chainChanged",a.handleChainChanged),window.ethereum.on("accountsChanged",a.handleAccountsChanged),window.ethereum.on("close",a.handleClose),window.ethereum.on("networkChanged",a.handleNetworkChanged)),window.ethereum.isMetaMask&&(window.ethereum.autoRefreshOnNetworkChange=!1);var s,l=qp(function(){return Promise.resolve(window.ethereum.send("eth_requestAccounts").then(function(c){return Kl(c)[0]})).then(function(c){s=c})},function(c){if(c.code===4001)throw new rOe});return Promise.resolve(l&&l.then?l.then(i):i(l))}catch(c){return Promise.reject(c)}},r.getProvider=function(){try{return Promise.resolve(window.ethereum)}catch(i){return Promise.reject(i)}},r.getChainId=function(){try{var i=function(){function l(){if(!o)try{o=Kl(window.ethereum.send({method:"net_version"}))}catch{}return o||(window.ethereum.isDapper?o=Kl(window.ethereum.cachedResults.net_version):o=window.ethereum.chainId||window.ethereum.netVersion||window.ethereum.networkVersion||window.ethereum._chainId),o}var c=function(){if(!o){var d=qp(function(){return Promise.resolve(window.ethereum.send("net_version").then(Kl)).then(function(f){o=f})},function(){});if(d&&d.then)return d.then(function(){})}}();return c&&c.then?c.then(l):l(c)};if(!window.ethereum)throw new OE;var o,a=qp(function(){return Promise.resolve(window.ethereum.send("eth_chainId").then(Kl)).then(function(s){o=s})},function(){});return Promise.resolve(a&&a.then?a.then(i):i(a))}catch(s){return Promise.reject(s)}},r.getAccount=function(){try{var i=function(){function l(){return o||(o=Kl(window.ethereum.send({method:"eth_accounts"}))[0]),o}var c=function(){if(!o){var d=qp(function(){return Promise.resolve(window.ethereum.enable().then(function(f){return Kl(f)[0]})).then(function(f){o=f})},function(){});if(d&&d.then)return d.then(function(){})}}();return c&&c.then?c.then(l):l(c)};if(!window.ethereum)throw new OE;var o,a=qp(function(){return Promise.resolve(window.ethereum.send("eth_accounts").then(function(s){return Kl(s)[0]})).then(function(s){o=s})},function(){});return Promise.resolve(a&&a.then?a.then(i):i(a))}catch(s){return Promise.reject(s)}},r.deactivate=function(){window.ethereum&&window.ethereum.removeListener&&(window.ethereum.removeListener("chainChanged",this.handleChainChanged),window.ethereum.removeListener("accountsChanged",this.handleAccountsChanged),window.ethereum.removeListener("close",this.handleClose),window.ethereum.removeListener("networkChanged",this.handleNetworkChanged))},r.isAuthorized=function(){try{return window.ethereum?Promise.resolve(qp(function(){return Promise.resolve(window.ethereum.send("eth_accounts").then(function(i){return Kl(i).length>0}))},function(){return!1})):Promise.resolve(!1)}catch(i){return Promise.reject(i)}},t}(cp);class iOe extends Error{constructor(){super("There was an error unlocking your wallet. Please be sure your wallet is unlocked and try again."),this.name="ErrorUnlockingWallet"}}const oOe=60*1e3;class aOe extends nOe{constructor(t){super({supportedChainIds:[t]})}async activate(){const t=new Promise((n,i)=>{setTimeout(()=>{i(new iOe)},oOe)}),r=super.activate();return Promise.race([r,t])}}var sOe="Invariant failed";function T$(e,t){throw new Error(sOe)}function ure(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_y(e,t)}function CA(e){return CA=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},CA(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},_y(e,t)}function lOe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function q4(e,t,r){return lOe()?q4=Reflect.construct:q4=function(i,o,a){var s=[null];s.push.apply(s,o);var l=Function.bind.apply(i,s),c=new l;return a&&_y(c,a.prototype),c},q4.apply(null,arguments)}function cOe(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function SA(e){var t=typeof Map=="function"?new Map:void 0;return SA=function(n){if(n===null||!cOe(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return q4(n,arguments,CA(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),_y(i,n)},SA(e)}var PE=function(e){ure(t,e);function t(r,n,i){var o;return o=e.call(this)||this,o.code=n,o.data=i,o.name=o.constructor.name,o.message=r,o}return t}(SA(Error)),uOe=function(t,r){var n=this,i=this;this.isMetaMask=!1,this.sendAsync=function(a,s){console.log("sendAsync",a.method,a.params),i.request(a.method,a.params).then(function(l){return s(null,{jsonrpc:"2.0",id:a.id,result:l})}).catch(function(l){return s(l,null)})},this.request=function(a,s){try{return typeof a!="string"&&(s=a.params,a=a.method),Promise.resolve(fetch(n.url,{method:"POST",body:JSON.stringify({jsonrpc:"2.0",id:1,method:a,params:s}),headers:{"Content-Type":"application/json"}})).then(function(l){if(!l.ok)throw new PE(l.status+": "+l.statusText,-32e3);return Promise.resolve(l.json()).then(function(c){if("error"in c){var d,f,p;throw new PE(c==null||(d=c.error)==null?void 0:d.message,c==null||(f=c.error)==null?void 0:f.code,c==null||(p=c.error)==null?void 0:p.data)}else{if("result"in c)return c.result;throw new PE("Received unexpected JSON-RPC response to "+a+" request.",-32e3,c)}})})}catch(l){return Promise.reject(l)}},this.chainId=t,this.url=r;var o=new URL(r);this.host=o.host,this.path=o.pathname},dOe=function(e){ure(t,e);function t(n){var i,o=n.urls,a=n.defaultChainId;return a||Object.keys(o).length===1||T$(),i=e.call(this,{supportedChainIds:Object.keys(o).map(function(s){return Number(s)})})||this,i.currentChainId=a||Number(Object.keys(o)[0]),i.providers=Object.keys(o).reduce(function(s,l){return s[Number(l)]=new uOe(Number(l),o[Number(l)]),s},{}),i}var r=t.prototype;return r.activate=function(){try{var i=this;return Promise.resolve({provider:i.providers[i.currentChainId],chainId:i.currentChainId,account:null})}catch(o){return Promise.reject(o)}},r.getProvider=function(){try{var i=this;return Promise.resolve(i.providers[i.currentChainId])}catch(o){return Promise.reject(o)}},r.getChainId=function(){try{var i=this;return Promise.resolve(i.currentChainId)}catch(o){return Promise.reject(o)}},r.getAccount=function(){return Promise.resolve(null)},r.deactivate=function(){},r.changeChainId=function(i){Object.keys(this.providers).includes(i.toString())||T$(),this.currentChainId=i,this.emitUpdate({provider:this.providers[this.currentChainId],chainId:i})},t}(cp);class fOe extends dOe{constructor(t){super({urls:vu()[$r.ProviderType.NETWORK].urls,defaultChainId:t})}}function AA(){return AA=Object.assign||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},AA.apply(this,arguments)}function pOe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,TA(e,t)}function TA(e,t){return TA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},TA(e,t)}function M$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var hOe=1,mOe=function(e){pOe(t,e);function t(n){var i,o=n.url,a=n.appName,s=n.appLogoUrl,l=n.darkMode,c=n.supportedChainIds;return i=e.call(this,{supportedChainIds:c})||this,i.url=o,i.appName=a,i.appLogoUrl=s,i.darkMode=l||!1,i.handleChainChanged=i.handleChainChanged.bind(M$(i)),i.handleAccountsChanged=i.handleAccountsChanged.bind(M$(i)),i}var r=t.prototype;return r.activate=function(){try{var i=this,o=function(){return Promise.resolve(i.provider.request({method:"eth_requestAccounts"})).then(function(l){var c=l[0];return i.provider.on("chainChanged",i.handleChainChanged),i.provider.on("accountsChanged",i.handleAccountsChanged),{provider:i.provider,account:c}})},a=function(){if(window.ethereum&&window.ethereum.isCoinbaseWallet===!0)i.provider=window.ethereum;else{var s=function(){if(!i.walletLink)return Promise.resolve(Eh(()=>import("./index--jlP-3tg.js").then(l=>l.i),[]).then(function(l){var c;return(c=l==null?void 0:l.default)!=null?c:l})).then(function(l){i.walletLink=new l(AA({appName:i.appName,darkMode:i.darkMode},i.appLogoUrl?{appLogoUrl:i.appLogoUrl}:{})),i.provider=i.walletLink.makeWeb3Provider(i.url,hOe)})}();if(s&&s.then)return s.then(function(){})}}();return Promise.resolve(a&&a.then?a.then(o):o(a))}catch(s){return Promise.reject(s)}},r.getProvider=function(){try{var i=this;return Promise.resolve(i.provider)}catch(o){return Promise.reject(o)}},r.getChainId=function(){try{var i=this;return Promise.resolve(i.provider.chainId)}catch(o){return Promise.reject(o)}},r.getAccount=function(){try{var i=this;return Promise.resolve(i.provider.request({method:"eth_requestAccounts"})).then(function(o){return o[0]})}catch(o){return Promise.reject(o)}},r.deactivate=function(){this.provider.removeListener("chainChanged",this.handleChainChanged),this.provider.removeListener("accountsChanged",this.handleAccountsChanged)},r.close=function(){try{var i=this;return i.provider.close(),i.emitDeactivate(),Promise.resolve()}catch(o){return Promise.reject(o)}},r.handleChainChanged=function(i){this.emitUpdate({chainId:i})},r.handleAccountsChanged=function(i){this.emitUpdate({account:i[0]})},t}(cp);class gOe extends mOe{constructor(t){const r=vu()[yu.ProviderType.WALLET_LINK];super({url:r.urls[t],appName:r.appName,supportedChainIds:[t]})}}class pc extends cp{constructor(t){super({supportedChainIds:(()=>{const{chains:r,optionalChains:n}=pc.configuration.chains[t];return[...r,...n]})()}),this.desiredChainId=t,this.activate=async()=>{const r=await Eh(()=>import("./index.es-CbbmPKRo.js").then(i=>i.i),[]).then(i=>{const{chains:o,optionalChains:a}=pc.configuration.chains[this.desiredChainId];return i.default.init({projectId:pc.configuration.projectId,rpcMap:pc.configuration.urls,chains:o,optionalChains:a,showQrModal:!0,disableProviderPing:!0,qrModalOptions:{themeVariables:{"--wcm-z-index":"3000"}},methods:["eth_sendTransaction","personal_sign"],optionalMethods:["eth_accounts","eth_requestAccounts","eth_sign","eth_signTypedData_v4","wallet_switchEthereumChain","wallet_addEthereumChain"],events:["chainChanged","accountsChanged"],optionalEvents:["disconnect"]})}),n=await r.enable();return r.on("accountsChanged",this.handleAccountsChanged),r.on("chainChanged",this.handleChainChanged),r.on("disconnect",this.handleDisconnect),this.provider=r,{chainId:r.chainId,account:n[0],provider:r}},this.getProvider=async()=>{if(!this.provider)throw new Error("Provider is undefined");return this.provider},this.getChainId=async()=>{if(!this.provider)throw new Error("Provider is undefined");return this.provider.chainId},this.getAccount=async()=>{if(!this.provider)throw new Error("Provider is undefined");return this.provider.accounts[0]},this.getWalletName=()=>{var r,n;return(n=(r=this.provider)==null?void 0:r.session)==null?void 0:n.peer.metadata.name},this.deactivate=()=>{},this.close=async()=>{if(this.provider)return this.provider.removeListener("accountsChanged",this.handleAccountsChanged).removeListener("chainChanged",this.handleChainChanged).removeListener("disconnect",this.handleDisconnect).disconnect()},this.handleAccountsChanged=r=>{this.emitUpdate({account:r[0]})},this.handleChainChanged=r=>{this.emitUpdate({chainId:r})},this.handleDisconnect=()=>{if(!this.provider)throw new Error("Provider is undefined");return this.emitDeactivate()}}}pc.configuration=vu()[yu.ProviderType.WALLET_CONNECT_V2];pc.clearStorage=e=>{e.removeRegExp(new RegExp("^wc@2:"))};class dre extends cp{constructor(t,r=!1){super({supportedChainIds:vu()[yu.ProviderType.MAGIC].chains}),this.isTest=r,this.activate=async()=>{if(this.magic=await this.buildMagicInstance(this.chainId),!await this.magic.user.isLoggedIn())throw new Error("Magic: user isn't logged in");const i=await this.getProvider(),o=await i.request({method:"eth_accounts"});return this.account=o[0]??null,{provider:i,chainId:this.chainId,account:this.account}},this.getProvider=async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");const n=await this.magic.wallet.getProvider();return{...n,isMagic:!0,request:new Proxy(n.request,{apply:async(i,o,a)=>{var s,l,c;if(((s=a[0])==null?void 0:s.method)==="wallet_switchEthereumChain")try{const d=parseInt((c=(l=a[0])==null?void 0:l.params[0])==null?void 0:c.chainId,16);return this.supportedChainIds&&!this.supportedChainIds.includes(d)?{code:2020202,message:"Unsupported Magic ChainId"}:(this.magic=await this.buildMagicInstance(d),this.emitUpdate({chainId:d}),null)}catch{return{code:2020201,message:"Error changing the Magic ChainId"}}return i.bind(n)(...a)}}),sendAsync:new Proxy(n.send,{apply:async(i,o,a)=>i.bind(n)(...a)})}},this.getChainId=async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.chainId},this.getAccount=async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.account},this.deactivate=()=>{},this.buildMagicInstance=async n=>{const{Magic:i}=await Eh(async()=>{const{Magic:s}=await import("./index-hYuGvrPG.js");return{Magic:s}},__vite__mapDeps([0,1])),{OAuthExtension:o}=await Eh(async()=>{const{OAuthExtension:s}=await import("./index-CjLG8mEj.js");return{OAuthExtension:s}},__vite__mapDeps([2,1])),a=vu()[this.isTest?yu.ProviderType.MAGIC_TEST:yu.ProviderType.MAGIC];return new i(a.apiKey,{extensions:[new o],network:{rpcUrl:a.urls[n],chainId:n}})},this.chainId=t,this.account=null}close(){if(!this.magic)throw new Error("Magic: instance was not initialized");return this.magic.user.logout()}}class yOe extends dre{constructor(t){super(t,!0)}}var lL={exports:{}};const vOe={},bOe=Object.freeze(Object.defineProperty({__proto__:null,default:vOe},Symbol.toStringTag,{value:"Module"})),fre=Nc(bOe);lL.exports;(function(e){(function(t,r){function n($,M){if(!$)throw new Error(M||"Assertion failed")}function i($,M){$.super_=M;var O=function(){};O.prototype=M.prototype,$.prototype=new O,$.prototype.constructor=$}function o($,M,O){if(o.isBN($))return $;this.negative=0,this.words=null,this.length=0,this.red=null,$!==null&&((M==="le"||M==="be")&&(O=M,M=10),this._init($||0,M||10,O||"be"))}typeof t=="object"?t.exports=o:r.BN=o,o.BN=o,o.wordSize=26;var a;try{typeof window<"u"&&typeof window.Buffer<"u"?a=window.Buffer:a=fre.Buffer}catch{}o.isBN=function(M){return M instanceof o?!0:M!==null&&typeof M=="object"&&M.constructor.wordSize===o.wordSize&&Array.isArray(M.words)},o.max=function(M,O){return M.cmp(O)>0?M:O},o.min=function(M,O){return M.cmp(O)<0?M:O},o.prototype._init=function(M,O,N){if(typeof M=="number")return this._initNumber(M,O,N);if(typeof M=="object")return this._initArray(M,O,N);O==="hex"&&(O=16),n(O===(O|0)&&O>=2&&O<=36),M=M.toString().replace(/\s+/g,"");var H=0;M[0]==="-"&&(H++,this.negative=1),H<M.length&&(O===16?this._parseHex(M,H,N):(this._parseBase(M,O,H),N==="le"&&this._initArray(this.toArray(),O,N)))},o.prototype._initNumber=function(M,O,N){M<0&&(this.negative=1,M=-M),M<67108864?(this.words=[M&67108863],this.length=1):M<4503599627370496?(this.words=[M&67108863,M/67108864&67108863],this.length=2):(n(M<9007199254740992),this.words=[M&67108863,M/67108864&67108863,1],this.length=3),N==="le"&&this._initArray(this.toArray(),O,N)},o.prototype._initArray=function(M,O,N){if(n(typeof M.length=="number"),M.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(M.length/3),this.words=new Array(this.length);for(var H=0;H<this.length;H++)this.words[H]=0;var V,K,j=0;if(N==="be")for(H=M.length-1,V=0;H>=0;H-=3)K=M[H]|M[H-1]<<8|M[H-2]<<16,this.words[V]|=K<<j&67108863,this.words[V+1]=K>>>26-j&67108863,j+=24,j>=26&&(j-=26,V++);else if(N==="le")for(H=0,V=0;H<M.length;H+=3)K=M[H]|M[H+1]<<8|M[H+2]<<16,this.words[V]|=K<<j&67108863,this.words[V+1]=K>>>26-j&67108863,j+=24,j>=26&&(j-=26,V++);return this._strip()};function s($,M){var O=$.charCodeAt(M);if(O>=48&&O<=57)return O-48;if(O>=65&&O<=70)return O-55;if(O>=97&&O<=102)return O-87;n(!1,"Invalid character in "+$)}function l($,M,O){var N=s($,O);return O-1>=M&&(N|=s($,O-1)<<4),N}o.prototype._parseHex=function(M,O,N){this.length=Math.ceil((M.length-O)/6),this.words=new Array(this.length);for(var H=0;H<this.length;H++)this.words[H]=0;var V=0,K=0,j;if(N==="be")for(H=M.length-1;H>=O;H-=2)j=l(M,O,H)<<V,this.words[K]|=j&67108863,V>=18?(V-=18,K+=1,this.words[K]|=j>>>26):V+=8;else{var A=M.length-O;for(H=A%2===0?O+1:O;H<M.length;H+=2)j=l(M,O,H)<<V,this.words[K]|=j&67108863,V>=18?(V-=18,K+=1,this.words[K]|=j>>>26):V+=8}this._strip()};function c($,M,O,N){for(var H=0,V=0,K=Math.min($.length,O),j=M;j<K;j++){var A=$.charCodeAt(j)-48;H*=N,A>=49?V=A-49+10:A>=17?V=A-17+10:V=A,n(A>=0&&V<N,"Invalid character"),H+=V}return H}o.prototype._parseBase=function(M,O,N){this.words=[0],this.length=1;for(var H=0,V=1;V<=67108863;V*=O)H++;H--,V=V/O|0;for(var K=M.length-N,j=K%H,A=Math.min(K,K-j)+N,x=0,C=N;C<A;C+=H)x=c(M,C,C+H,O),this.imuln(V),this.words[0]+x<67108864?this.words[0]+=x:this._iaddn(x);if(j!==0){var E=1;for(x=c(M,C,M.length,O),C=0;C<j;C++)E*=O;this.imuln(E),this.words[0]+x<67108864?this.words[0]+=x:this._iaddn(x)}this._strip()},o.prototype.copy=function(M){M.words=new Array(this.length);for(var O=0;O<this.length;O++)M.words[O]=this.words[O];M.length=this.length,M.negative=this.negative,M.red=this.red};function d($,M){$.words=M.words,$.length=M.length,$.negative=M.negative,$.red=M.red}if(o.prototype._move=function(M){d(M,this)},o.prototype.clone=function(){var M=new o(null);return this.copy(M),M},o.prototype._expand=function(M){for(;this.length<M;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},o.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch{o.prototype.inspect=f}else o.prototype.inspect=f;function f(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var p=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],m=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(M,O){M=M||10,O=O|0||1;var N;if(M===16||M==="hex"){N="";for(var H=0,V=0,K=0;K<this.length;K++){var j=this.words[K],A=((j<<H|V)&16777215).toString(16);V=j>>>24-H&16777215,H+=2,H>=26&&(H-=26,K--),V!==0||K!==this.length-1?N=p[6-A.length]+A+N:N=A+N}for(V!==0&&(N=V.toString(16)+N);N.length%O!==0;)N="0"+N;return this.negative!==0&&(N="-"+N),N}if(M===(M|0)&&M>=2&&M<=36){var x=m[M],C=v[M];N="";var E=this.clone();for(E.negative=0;!E.isZero();){var _=E.modrn(C).toString(M);E=E.idivn(C),E.isZero()?N=_+N:N=p[x-_.length]+_+N}for(this.isZero()&&(N="0"+N);N.length%O!==0;)N="0"+N;return this.negative!==0&&(N="-"+N),N}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var M=this.words[0];return this.length===2?M+=this.words[1]*67108864:this.length===3&&this.words[2]===1?M+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-M:M},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(M,O){return this.toArrayLike(a,M,O)}),o.prototype.toArray=function(M,O){return this.toArrayLike(Array,M,O)};var g=function(M,O){return M.allocUnsafe?M.allocUnsafe(O):new M(O)};o.prototype.toArrayLike=function(M,O,N){this._strip();var H=this.byteLength(),V=N||Math.max(1,H);n(H<=V,"byte array longer than desired length"),n(V>0,"Requested array length <= 0");var K=g(M,V),j=O==="le"?"LE":"BE";return this["_toArrayLike"+j](K,H),K},o.prototype._toArrayLikeLE=function(M,O){for(var N=0,H=0,V=0,K=0;V<this.length;V++){var j=this.words[V]<<K|H;M[N++]=j&255,N<M.length&&(M[N++]=j>>8&255),N<M.length&&(M[N++]=j>>16&255),K===6?(N<M.length&&(M[N++]=j>>24&255),H=0,K=0):(H=j>>>24,K+=2)}if(N<M.length)for(M[N++]=H;N<M.length;)M[N++]=0},o.prototype._toArrayLikeBE=function(M,O){for(var N=M.length-1,H=0,V=0,K=0;V<this.length;V++){var j=this.words[V]<<K|H;M[N--]=j&255,N>=0&&(M[N--]=j>>8&255),N>=0&&(M[N--]=j>>16&255),K===6?(N>=0&&(M[N--]=j>>24&255),H=0,K=0):(H=j>>>24,K+=2)}if(N>=0)for(M[N--]=H;N>=0;)M[N--]=0},Math.clz32?o.prototype._countBits=function(M){return 32-Math.clz32(M)}:o.prototype._countBits=function(M){var O=M,N=0;return O>=4096&&(N+=13,O>>>=13),O>=64&&(N+=7,O>>>=7),O>=8&&(N+=4,O>>>=4),O>=2&&(N+=2,O>>>=2),N+O},o.prototype._zeroBits=function(M){if(M===0)return 26;var O=M,N=0;return O&8191||(N+=13,O>>>=13),O&127||(N+=7,O>>>=7),O&15||(N+=4,O>>>=4),O&3||(N+=2,O>>>=2),O&1||N++,N},o.prototype.bitLength=function(){var M=this.words[this.length-1],O=this._countBits(M);return(this.length-1)*26+O};function b($){for(var M=new Array($.bitLength()),O=0;O<M.length;O++){var N=O/26|0,H=O%26;M[O]=$.words[N]>>>H&1}return M}o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var M=0,O=0;O<this.length;O++){var N=this._zeroBits(this.words[O]);if(M+=N,N!==26)break}return M},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(M){return this.negative!==0?this.abs().inotn(M).iaddn(1):this.clone()},o.prototype.fromTwos=function(M){return this.testn(M-1)?this.notn(M).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return this.negative!==0},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(M){for(;this.length<M.length;)this.words[this.length++]=0;for(var O=0;O<M.length;O++)this.words[O]=this.words[O]|M.words[O];return this._strip()},o.prototype.ior=function(M){return n((this.negative|M.negative)===0),this.iuor(M)},o.prototype.or=function(M){return this.length>M.length?this.clone().ior(M):M.clone().ior(this)},o.prototype.uor=function(M){return this.length>M.length?this.clone().iuor(M):M.clone().iuor(this)},o.prototype.iuand=function(M){var O;this.length>M.length?O=M:O=this;for(var N=0;N<O.length;N++)this.words[N]=this.words[N]&M.words[N];return this.length=O.length,this._strip()},o.prototype.iand=function(M){return n((this.negative|M.negative)===0),this.iuand(M)},o.prototype.and=function(M){return this.length>M.length?this.clone().iand(M):M.clone().iand(this)},o.prototype.uand=function(M){return this.length>M.length?this.clone().iuand(M):M.clone().iuand(this)},o.prototype.iuxor=function(M){var O,N;this.length>M.length?(O=this,N=M):(O=M,N=this);for(var H=0;H<N.length;H++)this.words[H]=O.words[H]^N.words[H];if(this!==O)for(;H<O.length;H++)this.words[H]=O.words[H];return this.length=O.length,this._strip()},o.prototype.ixor=function(M){return n((this.negative|M.negative)===0),this.iuxor(M)},o.prototype.xor=function(M){return this.length>M.length?this.clone().ixor(M):M.clone().ixor(this)},o.prototype.uxor=function(M){return this.length>M.length?this.clone().iuxor(M):M.clone().iuxor(this)},o.prototype.inotn=function(M){n(typeof M=="number"&&M>=0);var O=Math.ceil(M/26)|0,N=M%26;this._expand(O),N>0&&O--;for(var H=0;H<O;H++)this.words[H]=~this.words[H]&67108863;return N>0&&(this.words[H]=~this.words[H]&67108863>>26-N),this._strip()},o.prototype.notn=function(M){return this.clone().inotn(M)},o.prototype.setn=function(M,O){n(typeof M=="number"&&M>=0);var N=M/26|0,H=M%26;return this._expand(N+1),O?this.words[N]=this.words[N]|1<<H:this.words[N]=this.words[N]&~(1<<H),this._strip()},o.prototype.iadd=function(M){var O;if(this.negative!==0&&M.negative===0)return this.negative=0,O=this.isub(M),this.negative^=1,this._normSign();if(this.negative===0&&M.negative!==0)return M.negative=0,O=this.isub(M),M.negative=1,O._normSign();var N,H;this.length>M.length?(N=this,H=M):(N=M,H=this);for(var V=0,K=0;K<H.length;K++)O=(N.words[K]|0)+(H.words[K]|0)+V,this.words[K]=O&67108863,V=O>>>26;for(;V!==0&&K<N.length;K++)O=(N.words[K]|0)+V,this.words[K]=O&67108863,V=O>>>26;if(this.length=N.length,V!==0)this.words[this.length]=V,this.length++;else if(N!==this)for(;K<N.length;K++)this.words[K]=N.words[K];return this},o.prototype.add=function(M){var O;return M.negative!==0&&this.negative===0?(M.negative=0,O=this.sub(M),M.negative^=1,O):M.negative===0&&this.negative!==0?(this.negative=0,O=M.sub(this),this.negative=1,O):this.length>M.length?this.clone().iadd(M):M.clone().iadd(this)},o.prototype.isub=function(M){if(M.negative!==0){M.negative=0;var O=this.iadd(M);return M.negative=1,O._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(M),this.negative=1,this._normSign();var N=this.cmp(M);if(N===0)return this.negative=0,this.length=1,this.words[0]=0,this;var H,V;N>0?(H=this,V=M):(H=M,V=this);for(var K=0,j=0;j<V.length;j++)O=(H.words[j]|0)-(V.words[j]|0)+K,K=O>>26,this.words[j]=O&67108863;for(;K!==0&&j<H.length;j++)O=(H.words[j]|0)+K,K=O>>26,this.words[j]=O&67108863;if(K===0&&j<H.length&&H!==this)for(;j<H.length;j++)this.words[j]=H.words[j];return this.length=Math.max(this.length,j),H!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(M){return this.clone().isub(M)};function h($,M,O){O.negative=M.negative^$.negative;var N=$.length+M.length|0;O.length=N,N=N-1|0;var H=$.words[0]|0,V=M.words[0]|0,K=H*V,j=K&67108863,A=K/67108864|0;O.words[0]=j;for(var x=1;x<N;x++){for(var C=A>>>26,E=A&67108863,_=Math.min(x,M.length-1),P=Math.max(0,x-$.length+1);P<=_;P++){var G=x-P|0;H=$.words[G]|0,V=M.words[P]|0,K=H*V+E,C+=K/67108864|0,E=K&67108863}O.words[x]=E|0,A=C|0}return A!==0?O.words[x]=A|0:O.length--,O._strip()}var y=function(M,O,N){var H=M.words,V=O.words,K=N.words,j=0,A,x,C,E=H[0]|0,_=E&8191,P=E>>>13,G=H[1]|0,z=G&8191,Z=G>>>13,ie=H[2]|0,ge=ie&8191,ye=ie>>>13,Ie=H[3]|0,_e=Ie&8191,Se=Ie>>>13,We=H[4]|0,Ye=We&8191,He=We>>>13,tr=H[5]|0,ke=tr&8191,st=tr>>>13,lt=H[6]|0,nt=lt&8191,it=lt>>>13,ht=H[7]|0,Et=ht&8191,Ot=ht>>>13,Le=H[8]|0,be=Le&8191,je=Le>>>13,Pt=H[9]|0,at=Pt&8191,ut=Pt>>>13,ir=V[0]|0,$e=ir&8191,Be=ir>>>13,Bt=V[1]|0,yt=Bt&8191,$t=Bt>>>13,cn=V[2]|0,rr=cn&8191,xt=cn>>>13,Qr=V[3]|0,cr=Qr&8191,se=Qr>>>13,ee=V[4]|0,ae=ee&8191,pe=ee>>>13,Ce=V[5]|0,Te=Ce&8191,Ue=Ce>>>13,et=V[6]|0,Je=et&8191,tt=et>>>13,qt=V[7]|0,_t=qt&8191,At=qt>>>13,Kr=V[8]|0,Wt=Kr&8191,lr=Kr>>>13,kr=V[9]|0,Yt=kr&8191,Nr=kr>>>13;N.negative=M.negative^O.negative,N.length=19,A=Math.imul(_,$e),x=Math.imul(_,Be),x=x+Math.imul(P,$e)|0,C=Math.imul(P,Be);var fi=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(fi>>>26)|0,fi&=67108863,A=Math.imul(z,$e),x=Math.imul(z,Be),x=x+Math.imul(Z,$e)|0,C=Math.imul(Z,Be),A=A+Math.imul(_,yt)|0,x=x+Math.imul(_,$t)|0,x=x+Math.imul(P,yt)|0,C=C+Math.imul(P,$t)|0;var nn=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(nn>>>26)|0,nn&=67108863,A=Math.imul(ge,$e),x=Math.imul(ge,Be),x=x+Math.imul(ye,$e)|0,C=Math.imul(ye,Be),A=A+Math.imul(z,yt)|0,x=x+Math.imul(z,$t)|0,x=x+Math.imul(Z,yt)|0,C=C+Math.imul(Z,$t)|0,A=A+Math.imul(_,rr)|0,x=x+Math.imul(_,xt)|0,x=x+Math.imul(P,rr)|0,C=C+Math.imul(P,xt)|0;var Qt=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,A=Math.imul(_e,$e),x=Math.imul(_e,Be),x=x+Math.imul(Se,$e)|0,C=Math.imul(Se,Be),A=A+Math.imul(ge,yt)|0,x=x+Math.imul(ge,$t)|0,x=x+Math.imul(ye,yt)|0,C=C+Math.imul(ye,$t)|0,A=A+Math.imul(z,rr)|0,x=x+Math.imul(z,xt)|0,x=x+Math.imul(Z,rr)|0,C=C+Math.imul(Z,xt)|0,A=A+Math.imul(_,cr)|0,x=x+Math.imul(_,se)|0,x=x+Math.imul(P,cr)|0,C=C+Math.imul(P,se)|0;var Gn=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,A=Math.imul(Ye,$e),x=Math.imul(Ye,Be),x=x+Math.imul(He,$e)|0,C=Math.imul(He,Be),A=A+Math.imul(_e,yt)|0,x=x+Math.imul(_e,$t)|0,x=x+Math.imul(Se,yt)|0,C=C+Math.imul(Se,$t)|0,A=A+Math.imul(ge,rr)|0,x=x+Math.imul(ge,xt)|0,x=x+Math.imul(ye,rr)|0,C=C+Math.imul(ye,xt)|0,A=A+Math.imul(z,cr)|0,x=x+Math.imul(z,se)|0,x=x+Math.imul(Z,cr)|0,C=C+Math.imul(Z,se)|0,A=A+Math.imul(_,ae)|0,x=x+Math.imul(_,pe)|0,x=x+Math.imul(P,ae)|0,C=C+Math.imul(P,pe)|0;var ja=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(ja>>>26)|0,ja&=67108863,A=Math.imul(ke,$e),x=Math.imul(ke,Be),x=x+Math.imul(st,$e)|0,C=Math.imul(st,Be),A=A+Math.imul(Ye,yt)|0,x=x+Math.imul(Ye,$t)|0,x=x+Math.imul(He,yt)|0,C=C+Math.imul(He,$t)|0,A=A+Math.imul(_e,rr)|0,x=x+Math.imul(_e,xt)|0,x=x+Math.imul(Se,rr)|0,C=C+Math.imul(Se,xt)|0,A=A+Math.imul(ge,cr)|0,x=x+Math.imul(ge,se)|0,x=x+Math.imul(ye,cr)|0,C=C+Math.imul(ye,se)|0,A=A+Math.imul(z,ae)|0,x=x+Math.imul(z,pe)|0,x=x+Math.imul(Z,ae)|0,C=C+Math.imul(Z,pe)|0,A=A+Math.imul(_,Te)|0,x=x+Math.imul(_,Ue)|0,x=x+Math.imul(P,Te)|0,C=C+Math.imul(P,Ue)|0;var Cp=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Cp>>>26)|0,Cp&=67108863,A=Math.imul(nt,$e),x=Math.imul(nt,Be),x=x+Math.imul(it,$e)|0,C=Math.imul(it,Be),A=A+Math.imul(ke,yt)|0,x=x+Math.imul(ke,$t)|0,x=x+Math.imul(st,yt)|0,C=C+Math.imul(st,$t)|0,A=A+Math.imul(Ye,rr)|0,x=x+Math.imul(Ye,xt)|0,x=x+Math.imul(He,rr)|0,C=C+Math.imul(He,xt)|0,A=A+Math.imul(_e,cr)|0,x=x+Math.imul(_e,se)|0,x=x+Math.imul(Se,cr)|0,C=C+Math.imul(Se,se)|0,A=A+Math.imul(ge,ae)|0,x=x+Math.imul(ge,pe)|0,x=x+Math.imul(ye,ae)|0,C=C+Math.imul(ye,pe)|0,A=A+Math.imul(z,Te)|0,x=x+Math.imul(z,Ue)|0,x=x+Math.imul(Z,Te)|0,C=C+Math.imul(Z,Ue)|0,A=A+Math.imul(_,Je)|0,x=x+Math.imul(_,tt)|0,x=x+Math.imul(P,Je)|0,C=C+Math.imul(P,tt)|0;var Da=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Da>>>26)|0,Da&=67108863,A=Math.imul(Et,$e),x=Math.imul(Et,Be),x=x+Math.imul(Ot,$e)|0,C=Math.imul(Ot,Be),A=A+Math.imul(nt,yt)|0,x=x+Math.imul(nt,$t)|0,x=x+Math.imul(it,yt)|0,C=C+Math.imul(it,$t)|0,A=A+Math.imul(ke,rr)|0,x=x+Math.imul(ke,xt)|0,x=x+Math.imul(st,rr)|0,C=C+Math.imul(st,xt)|0,A=A+Math.imul(Ye,cr)|0,x=x+Math.imul(Ye,se)|0,x=x+Math.imul(He,cr)|0,C=C+Math.imul(He,se)|0,A=A+Math.imul(_e,ae)|0,x=x+Math.imul(_e,pe)|0,x=x+Math.imul(Se,ae)|0,C=C+Math.imul(Se,pe)|0,A=A+Math.imul(ge,Te)|0,x=x+Math.imul(ge,Ue)|0,x=x+Math.imul(ye,Te)|0,C=C+Math.imul(ye,Ue)|0,A=A+Math.imul(z,Je)|0,x=x+Math.imul(z,tt)|0,x=x+Math.imul(Z,Je)|0,C=C+Math.imul(Z,tt)|0,A=A+Math.imul(_,_t)|0,x=x+Math.imul(_,At)|0,x=x+Math.imul(P,_t)|0,C=C+Math.imul(P,At)|0;var Sp=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Sp>>>26)|0,Sp&=67108863,A=Math.imul(be,$e),x=Math.imul(be,Be),x=x+Math.imul(je,$e)|0,C=Math.imul(je,Be),A=A+Math.imul(Et,yt)|0,x=x+Math.imul(Et,$t)|0,x=x+Math.imul(Ot,yt)|0,C=C+Math.imul(Ot,$t)|0,A=A+Math.imul(nt,rr)|0,x=x+Math.imul(nt,xt)|0,x=x+Math.imul(it,rr)|0,C=C+Math.imul(it,xt)|0,A=A+Math.imul(ke,cr)|0,x=x+Math.imul(ke,se)|0,x=x+Math.imul(st,cr)|0,C=C+Math.imul(st,se)|0,A=A+Math.imul(Ye,ae)|0,x=x+Math.imul(Ye,pe)|0,x=x+Math.imul(He,ae)|0,C=C+Math.imul(He,pe)|0,A=A+Math.imul(_e,Te)|0,x=x+Math.imul(_e,Ue)|0,x=x+Math.imul(Se,Te)|0,C=C+Math.imul(Se,Ue)|0,A=A+Math.imul(ge,Je)|0,x=x+Math.imul(ge,tt)|0,x=x+Math.imul(ye,Je)|0,C=C+Math.imul(ye,tt)|0,A=A+Math.imul(z,_t)|0,x=x+Math.imul(z,At)|0,x=x+Math.imul(Z,_t)|0,C=C+Math.imul(Z,At)|0,A=A+Math.imul(_,Wt)|0,x=x+Math.imul(_,lr)|0,x=x+Math.imul(P,Wt)|0,C=C+Math.imul(P,lr)|0;var Ap=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Ap>>>26)|0,Ap&=67108863,A=Math.imul(at,$e),x=Math.imul(at,Be),x=x+Math.imul(ut,$e)|0,C=Math.imul(ut,Be),A=A+Math.imul(be,yt)|0,x=x+Math.imul(be,$t)|0,x=x+Math.imul(je,yt)|0,C=C+Math.imul(je,$t)|0,A=A+Math.imul(Et,rr)|0,x=x+Math.imul(Et,xt)|0,x=x+Math.imul(Ot,rr)|0,C=C+Math.imul(Ot,xt)|0,A=A+Math.imul(nt,cr)|0,x=x+Math.imul(nt,se)|0,x=x+Math.imul(it,cr)|0,C=C+Math.imul(it,se)|0,A=A+Math.imul(ke,ae)|0,x=x+Math.imul(ke,pe)|0,x=x+Math.imul(st,ae)|0,C=C+Math.imul(st,pe)|0,A=A+Math.imul(Ye,Te)|0,x=x+Math.imul(Ye,Ue)|0,x=x+Math.imul(He,Te)|0,C=C+Math.imul(He,Ue)|0,A=A+Math.imul(_e,Je)|0,x=x+Math.imul(_e,tt)|0,x=x+Math.imul(Se,Je)|0,C=C+Math.imul(Se,tt)|0,A=A+Math.imul(ge,_t)|0,x=x+Math.imul(ge,At)|0,x=x+Math.imul(ye,_t)|0,C=C+Math.imul(ye,At)|0,A=A+Math.imul(z,Wt)|0,x=x+Math.imul(z,lr)|0,x=x+Math.imul(Z,Wt)|0,C=C+Math.imul(Z,lr)|0,A=A+Math.imul(_,Yt)|0,x=x+Math.imul(_,Nr)|0,x=x+Math.imul(P,Yt)|0,C=C+Math.imul(P,Nr)|0;var Tp=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Tp>>>26)|0,Tp&=67108863,A=Math.imul(at,yt),x=Math.imul(at,$t),x=x+Math.imul(ut,yt)|0,C=Math.imul(ut,$t),A=A+Math.imul(be,rr)|0,x=x+Math.imul(be,xt)|0,x=x+Math.imul(je,rr)|0,C=C+Math.imul(je,xt)|0,A=A+Math.imul(Et,cr)|0,x=x+Math.imul(Et,se)|0,x=x+Math.imul(Ot,cr)|0,C=C+Math.imul(Ot,se)|0,A=A+Math.imul(nt,ae)|0,x=x+Math.imul(nt,pe)|0,x=x+Math.imul(it,ae)|0,C=C+Math.imul(it,pe)|0,A=A+Math.imul(ke,Te)|0,x=x+Math.imul(ke,Ue)|0,x=x+Math.imul(st,Te)|0,C=C+Math.imul(st,Ue)|0,A=A+Math.imul(Ye,Je)|0,x=x+Math.imul(Ye,tt)|0,x=x+Math.imul(He,Je)|0,C=C+Math.imul(He,tt)|0,A=A+Math.imul(_e,_t)|0,x=x+Math.imul(_e,At)|0,x=x+Math.imul(Se,_t)|0,C=C+Math.imul(Se,At)|0,A=A+Math.imul(ge,Wt)|0,x=x+Math.imul(ge,lr)|0,x=x+Math.imul(ye,Wt)|0,C=C+Math.imul(ye,lr)|0,A=A+Math.imul(z,Yt)|0,x=x+Math.imul(z,Nr)|0,x=x+Math.imul(Z,Yt)|0,C=C+Math.imul(Z,Nr)|0;var nd=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(nd>>>26)|0,nd&=67108863,A=Math.imul(at,rr),x=Math.imul(at,xt),x=x+Math.imul(ut,rr)|0,C=Math.imul(ut,xt),A=A+Math.imul(be,cr)|0,x=x+Math.imul(be,se)|0,x=x+Math.imul(je,cr)|0,C=C+Math.imul(je,se)|0,A=A+Math.imul(Et,ae)|0,x=x+Math.imul(Et,pe)|0,x=x+Math.imul(Ot,ae)|0,C=C+Math.imul(Ot,pe)|0,A=A+Math.imul(nt,Te)|0,x=x+Math.imul(nt,Ue)|0,x=x+Math.imul(it,Te)|0,C=C+Math.imul(it,Ue)|0,A=A+Math.imul(ke,Je)|0,x=x+Math.imul(ke,tt)|0,x=x+Math.imul(st,Je)|0,C=C+Math.imul(st,tt)|0,A=A+Math.imul(Ye,_t)|0,x=x+Math.imul(Ye,At)|0,x=x+Math.imul(He,_t)|0,C=C+Math.imul(He,At)|0,A=A+Math.imul(_e,Wt)|0,x=x+Math.imul(_e,lr)|0,x=x+Math.imul(Se,Wt)|0,C=C+Math.imul(Se,lr)|0,A=A+Math.imul(ge,Yt)|0,x=x+Math.imul(ge,Nr)|0,x=x+Math.imul(ye,Yt)|0,C=C+Math.imul(ye,Nr)|0;var Mp=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Mp>>>26)|0,Mp&=67108863,A=Math.imul(at,cr),x=Math.imul(at,se),x=x+Math.imul(ut,cr)|0,C=Math.imul(ut,se),A=A+Math.imul(be,ae)|0,x=x+Math.imul(be,pe)|0,x=x+Math.imul(je,ae)|0,C=C+Math.imul(je,pe)|0,A=A+Math.imul(Et,Te)|0,x=x+Math.imul(Et,Ue)|0,x=x+Math.imul(Ot,Te)|0,C=C+Math.imul(Ot,Ue)|0,A=A+Math.imul(nt,Je)|0,x=x+Math.imul(nt,tt)|0,x=x+Math.imul(it,Je)|0,C=C+Math.imul(it,tt)|0,A=A+Math.imul(ke,_t)|0,x=x+Math.imul(ke,At)|0,x=x+Math.imul(st,_t)|0,C=C+Math.imul(st,At)|0,A=A+Math.imul(Ye,Wt)|0,x=x+Math.imul(Ye,lr)|0,x=x+Math.imul(He,Wt)|0,C=C+Math.imul(He,lr)|0,A=A+Math.imul(_e,Yt)|0,x=x+Math.imul(_e,Nr)|0,x=x+Math.imul(Se,Yt)|0,C=C+Math.imul(Se,Nr)|0;var Gm=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Gm>>>26)|0,Gm&=67108863,A=Math.imul(at,ae),x=Math.imul(at,pe),x=x+Math.imul(ut,ae)|0,C=Math.imul(ut,pe),A=A+Math.imul(be,Te)|0,x=x+Math.imul(be,Ue)|0,x=x+Math.imul(je,Te)|0,C=C+Math.imul(je,Ue)|0,A=A+Math.imul(Et,Je)|0,x=x+Math.imul(Et,tt)|0,x=x+Math.imul(Ot,Je)|0,C=C+Math.imul(Ot,tt)|0,A=A+Math.imul(nt,_t)|0,x=x+Math.imul(nt,At)|0,x=x+Math.imul(it,_t)|0,C=C+Math.imul(it,At)|0,A=A+Math.imul(ke,Wt)|0,x=x+Math.imul(ke,lr)|0,x=x+Math.imul(st,Wt)|0,C=C+Math.imul(st,lr)|0,A=A+Math.imul(Ye,Yt)|0,x=x+Math.imul(Ye,Nr)|0,x=x+Math.imul(He,Yt)|0,C=C+Math.imul(He,Nr)|0;var Km=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Km>>>26)|0,Km&=67108863,A=Math.imul(at,Te),x=Math.imul(at,Ue),x=x+Math.imul(ut,Te)|0,C=Math.imul(ut,Ue),A=A+Math.imul(be,Je)|0,x=x+Math.imul(be,tt)|0,x=x+Math.imul(je,Je)|0,C=C+Math.imul(je,tt)|0,A=A+Math.imul(Et,_t)|0,x=x+Math.imul(Et,At)|0,x=x+Math.imul(Ot,_t)|0,C=C+Math.imul(Ot,At)|0,A=A+Math.imul(nt,Wt)|0,x=x+Math.imul(nt,lr)|0,x=x+Math.imul(it,Wt)|0,C=C+Math.imul(it,lr)|0,A=A+Math.imul(ke,Yt)|0,x=x+Math.imul(ke,Nr)|0,x=x+Math.imul(st,Yt)|0,C=C+Math.imul(st,Nr)|0;var Ff=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Ff>>>26)|0,Ff&=67108863,A=Math.imul(at,Je),x=Math.imul(at,tt),x=x+Math.imul(ut,Je)|0,C=Math.imul(ut,tt),A=A+Math.imul(be,_t)|0,x=x+Math.imul(be,At)|0,x=x+Math.imul(je,_t)|0,C=C+Math.imul(je,At)|0,A=A+Math.imul(Et,Wt)|0,x=x+Math.imul(Et,lr)|0,x=x+Math.imul(Ot,Wt)|0,C=C+Math.imul(Ot,lr)|0,A=A+Math.imul(nt,Yt)|0,x=x+Math.imul(nt,Nr)|0,x=x+Math.imul(it,Yt)|0,C=C+Math.imul(it,Nr)|0;var Ym=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Ym>>>26)|0,Ym&=67108863,A=Math.imul(at,_t),x=Math.imul(at,At),x=x+Math.imul(ut,_t)|0,C=Math.imul(ut,At),A=A+Math.imul(be,Wt)|0,x=x+Math.imul(be,lr)|0,x=x+Math.imul(je,Wt)|0,C=C+Math.imul(je,lr)|0,A=A+Math.imul(Et,Yt)|0,x=x+Math.imul(Et,Nr)|0,x=x+Math.imul(Ot,Yt)|0,C=C+Math.imul(Ot,Nr)|0;var id=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(id>>>26)|0,id&=67108863,A=Math.imul(at,Wt),x=Math.imul(at,lr),x=x+Math.imul(ut,Wt)|0,C=Math.imul(ut,lr),A=A+Math.imul(be,Yt)|0,x=x+Math.imul(be,Nr)|0,x=x+Math.imul(je,Yt)|0,C=C+Math.imul(je,Nr)|0;var Uf=(j+A|0)+((x&8191)<<13)|0;j=(C+(x>>>13)|0)+(Uf>>>26)|0,Uf&=67108863,A=Math.imul(at,Yt),x=Math.imul(at,Nr),x=x+Math.imul(ut,Yt)|0,C=Math.imul(ut,Nr);var Rp=(j+A|0)+((x&8191)<<13)|0;return j=(C+(x>>>13)|0)+(Rp>>>26)|0,Rp&=67108863,K[0]=fi,K[1]=nn,K[2]=Qt,K[3]=Gn,K[4]=ja,K[5]=Cp,K[6]=Da,K[7]=Sp,K[8]=Ap,K[9]=Tp,K[10]=nd,K[11]=Mp,K[12]=Gm,K[13]=Km,K[14]=Ff,K[15]=Ym,K[16]=id,K[17]=Uf,K[18]=Rp,j!==0&&(K[19]=j,N.length++),N};Math.imul||(y=h);function w($,M,O){O.negative=M.negative^$.negative,O.length=$.length+M.length;for(var N=0,H=0,V=0;V<O.length-1;V++){var K=H;H=0;for(var j=N&67108863,A=Math.min(V,M.length-1),x=Math.max(0,V-$.length+1);x<=A;x++){var C=V-x,E=$.words[C]|0,_=M.words[x]|0,P=E*_,G=P&67108863;K=K+(P/67108864|0)|0,G=G+j|0,j=G&67108863,K=K+(G>>>26)|0,H+=K>>>26,K&=67108863}O.words[V]=j,N=K,K=H}return N!==0?O.words[V]=N:O.length--,O._strip()}function T($,M,O){return w($,M,O)}o.prototype.mulTo=function(M,O){var N,H=this.length+M.length;return this.length===10&&M.length===10?N=y(this,M,O):H<63?N=h(this,M,O):H<1024?N=w(this,M,O):N=T(this,M,O),N},o.prototype.mul=function(M){var O=new o(null);return O.words=new Array(this.length+M.length),this.mulTo(M,O)},o.prototype.mulf=function(M){var O=new o(null);return O.words=new Array(this.length+M.length),T(this,M,O)},o.prototype.imul=function(M){return this.clone().mulTo(M,this)},o.prototype.imuln=function(M){var O=M<0;O&&(M=-M),n(typeof M=="number"),n(M<67108864);for(var N=0,H=0;H<this.length;H++){var V=(this.words[H]|0)*M,K=(V&67108863)+(N&67108863);N>>=26,N+=V/67108864|0,N+=K>>>26,this.words[H]=K&67108863}return N!==0&&(this.words[H]=N,this.length++),this.length=M===0?1:this.length,O?this.ineg():this},o.prototype.muln=function(M){return this.clone().imuln(M)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(M){var O=b(M);if(O.length===0)return new o(1);for(var N=this,H=0;H<O.length&&O[H]===0;H++,N=N.sqr());if(++H<O.length)for(var V=N.sqr();H<O.length;H++,V=V.sqr())O[H]!==0&&(N=N.mul(V));return N},o.prototype.iushln=function(M){n(typeof M=="number"&&M>=0);var O=M%26,N=(M-O)/26,H=67108863>>>26-O<<26-O,V;if(O!==0){var K=0;for(V=0;V<this.length;V++){var j=this.words[V]&H,A=(this.words[V]|0)-j<<O;this.words[V]=A|K,K=j>>>26-O}K&&(this.words[V]=K,this.length++)}if(N!==0){for(V=this.length-1;V>=0;V--)this.words[V+N]=this.words[V];for(V=0;V<N;V++)this.words[V]=0;this.length+=N}return this._strip()},o.prototype.ishln=function(M){return n(this.negative===0),this.iushln(M)},o.prototype.iushrn=function(M,O,N){n(typeof M=="number"&&M>=0);var H;O?H=(O-O%26)/26:H=0;var V=M%26,K=Math.min((M-V)/26,this.length),j=67108863^67108863>>>V<<V,A=N;if(H-=K,H=Math.max(0,H),A){for(var x=0;x<K;x++)A.words[x]=this.words[x];A.length=K}if(K!==0)if(this.length>K)for(this.length-=K,x=0;x<this.length;x++)this.words[x]=this.words[x+K];else this.words[0]=0,this.length=1;var C=0;for(x=this.length-1;x>=0&&(C!==0||x>=H);x--){var E=this.words[x]|0;this.words[x]=C<<26-V|E>>>V,C=E&j}return A&&C!==0&&(A.words[A.length++]=C),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(M,O,N){return n(this.negative===0),this.iushrn(M,O,N)},o.prototype.shln=function(M){return this.clone().ishln(M)},o.prototype.ushln=function(M){return this.clone().iushln(M)},o.prototype.shrn=function(M){return this.clone().ishrn(M)},o.prototype.ushrn=function(M){return this.clone().iushrn(M)},o.prototype.testn=function(M){n(typeof M=="number"&&M>=0);var O=M%26,N=(M-O)/26,H=1<<O;if(this.length<=N)return!1;var V=this.words[N];return!!(V&H)},o.prototype.imaskn=function(M){n(typeof M=="number"&&M>=0);var O=M%26,N=(M-O)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=N)return this;if(O!==0&&N++,this.length=Math.min(N,this.length),O!==0){var H=67108863^67108863>>>O<<O;this.words[this.length-1]&=H}return this._strip()},o.prototype.maskn=function(M){return this.clone().imaskn(M)},o.prototype.iaddn=function(M){return n(typeof M=="number"),n(M<67108864),M<0?this.isubn(-M):this.negative!==0?this.length===1&&(this.words[0]|0)<=M?(this.words[0]=M-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(M),this.negative=1,this):this._iaddn(M)},o.prototype._iaddn=function(M){this.words[0]+=M;for(var O=0;O<this.length&&this.words[O]>=67108864;O++)this.words[O]-=67108864,O===this.length-1?this.words[O+1]=1:this.words[O+1]++;return this.length=Math.max(this.length,O+1),this},o.prototype.isubn=function(M){if(n(typeof M=="number"),n(M<67108864),M<0)return this.iaddn(-M);if(this.negative!==0)return this.negative=0,this.iaddn(M),this.negative=1,this;if(this.words[0]-=M,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var O=0;O<this.length&&this.words[O]<0;O++)this.words[O]+=67108864,this.words[O+1]-=1;return this._strip()},o.prototype.addn=function(M){return this.clone().iaddn(M)},o.prototype.subn=function(M){return this.clone().isubn(M)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(M,O,N){var H=M.length+N,V;this._expand(H);var K,j=0;for(V=0;V<M.length;V++){K=(this.words[V+N]|0)+j;var A=(M.words[V]|0)*O;K-=A&67108863,j=(K>>26)-(A/67108864|0),this.words[V+N]=K&67108863}for(;V<this.length-N;V++)K=(this.words[V+N]|0)+j,j=K>>26,this.words[V+N]=K&67108863;if(j===0)return this._strip();for(n(j===-1),j=0,V=0;V<this.length;V++)K=-(this.words[V]|0)+j,j=K>>26,this.words[V]=K&67108863;return this.negative=1,this._strip()},o.prototype._wordDiv=function(M,O){var N=this.length-M.length,H=this.clone(),V=M,K=V.words[V.length-1]|0,j=this._countBits(K);N=26-j,N!==0&&(V=V.ushln(N),H.iushln(N),K=V.words[V.length-1]|0);var A=H.length-V.length,x;if(O!=="mod"){x=new o(null),x.length=A+1,x.words=new Array(x.length);for(var C=0;C<x.length;C++)x.words[C]=0}var E=H.clone()._ishlnsubmul(V,1,A);E.negative===0&&(H=E,x&&(x.words[A]=1));for(var _=A-1;_>=0;_--){var P=(H.words[V.length+_]|0)*67108864+(H.words[V.length+_-1]|0);for(P=Math.min(P/K|0,67108863),H._ishlnsubmul(V,P,_);H.negative!==0;)P--,H.negative=0,H._ishlnsubmul(V,1,_),H.isZero()||(H.negative^=1);x&&(x.words[_]=P)}return x&&x._strip(),H._strip(),O!=="div"&&N!==0&&H.iushrn(N),{div:x||null,mod:H}},o.prototype.divmod=function(M,O,N){if(n(!M.isZero()),this.isZero())return{div:new o(0),mod:new o(0)};var H,V,K;return this.negative!==0&&M.negative===0?(K=this.neg().divmod(M,O),O!=="mod"&&(H=K.div.neg()),O!=="div"&&(V=K.mod.neg(),N&&V.negative!==0&&V.iadd(M)),{div:H,mod:V}):this.negative===0&&M.negative!==0?(K=this.divmod(M.neg(),O),O!=="mod"&&(H=K.div.neg()),{div:H,mod:K.mod}):this.negative&M.negative?(K=this.neg().divmod(M.neg(),O),O!=="div"&&(V=K.mod.neg(),N&&V.negative!==0&&V.isub(M)),{div:K.div,mod:V}):M.length>this.length||this.cmp(M)<0?{div:new o(0),mod:this}:M.length===1?O==="div"?{div:this.divn(M.words[0]),mod:null}:O==="mod"?{div:null,mod:new o(this.modrn(M.words[0]))}:{div:this.divn(M.words[0]),mod:new o(this.modrn(M.words[0]))}:this._wordDiv(M,O)},o.prototype.div=function(M){return this.divmod(M,"div",!1).div},o.prototype.mod=function(M){return this.divmod(M,"mod",!1).mod},o.prototype.umod=function(M){return this.divmod(M,"mod",!0).mod},o.prototype.divRound=function(M){var O=this.divmod(M);if(O.mod.isZero())return O.div;var N=O.div.negative!==0?O.mod.isub(M):O.mod,H=M.ushrn(1),V=M.andln(1),K=N.cmp(H);return K<0||V===1&&K===0?O.div:O.div.negative!==0?O.div.isubn(1):O.div.iaddn(1)},o.prototype.modrn=function(M){var O=M<0;O&&(M=-M),n(M<=67108863);for(var N=(1<<26)%M,H=0,V=this.length-1;V>=0;V--)H=(N*H+(this.words[V]|0))%M;return O?-H:H},o.prototype.modn=function(M){return this.modrn(M)},o.prototype.idivn=function(M){var O=M<0;O&&(M=-M),n(M<=67108863);for(var N=0,H=this.length-1;H>=0;H--){var V=(this.words[H]|0)+N*67108864;this.words[H]=V/M|0,N=V%M}return this._strip(),O?this.ineg():this},o.prototype.divn=function(M){return this.clone().idivn(M)},o.prototype.egcd=function(M){n(M.negative===0),n(!M.isZero());var O=this,N=M.clone();O.negative!==0?O=O.umod(M):O=O.clone();for(var H=new o(1),V=new o(0),K=new o(0),j=new o(1),A=0;O.isEven()&&N.isEven();)O.iushrn(1),N.iushrn(1),++A;for(var x=N.clone(),C=O.clone();!O.isZero();){for(var E=0,_=1;!(O.words[0]&_)&&E<26;++E,_<<=1);if(E>0)for(O.iushrn(E);E-- >0;)(H.isOdd()||V.isOdd())&&(H.iadd(x),V.isub(C)),H.iushrn(1),V.iushrn(1);for(var P=0,G=1;!(N.words[0]&G)&&P<26;++P,G<<=1);if(P>0)for(N.iushrn(P);P-- >0;)(K.isOdd()||j.isOdd())&&(K.iadd(x),j.isub(C)),K.iushrn(1),j.iushrn(1);O.cmp(N)>=0?(O.isub(N),H.isub(K),V.isub(j)):(N.isub(O),K.isub(H),j.isub(V))}return{a:K,b:j,gcd:N.iushln(A)}},o.prototype._invmp=function(M){n(M.negative===0),n(!M.isZero());var O=this,N=M.clone();O.negative!==0?O=O.umod(M):O=O.clone();for(var H=new o(1),V=new o(0),K=N.clone();O.cmpn(1)>0&&N.cmpn(1)>0;){for(var j=0,A=1;!(O.words[0]&A)&&j<26;++j,A<<=1);if(j>0)for(O.iushrn(j);j-- >0;)H.isOdd()&&H.iadd(K),H.iushrn(1);for(var x=0,C=1;!(N.words[0]&C)&&x<26;++x,C<<=1);if(x>0)for(N.iushrn(x);x-- >0;)V.isOdd()&&V.iadd(K),V.iushrn(1);O.cmp(N)>=0?(O.isub(N),H.isub(V)):(N.isub(O),V.isub(H))}var E;return O.cmpn(1)===0?E=H:E=V,E.cmpn(0)<0&&E.iadd(M),E},o.prototype.gcd=function(M){if(this.isZero())return M.abs();if(M.isZero())return this.abs();var O=this.clone(),N=M.clone();O.negative=0,N.negative=0;for(var H=0;O.isEven()&&N.isEven();H++)O.iushrn(1),N.iushrn(1);do{for(;O.isEven();)O.iushrn(1);for(;N.isEven();)N.iushrn(1);var V=O.cmp(N);if(V<0){var K=O;O=N,N=K}else if(V===0||N.cmpn(1)===0)break;O.isub(N)}while(!0);return N.iushln(H)},o.prototype.invm=function(M){return this.egcd(M).a.umod(M)},o.prototype.isEven=function(){return(this.words[0]&1)===0},o.prototype.isOdd=function(){return(this.words[0]&1)===1},o.prototype.andln=function(M){return this.words[0]&M},o.prototype.bincn=function(M){n(typeof M=="number");var O=M%26,N=(M-O)/26,H=1<<O;if(this.length<=N)return this._expand(N+1),this.words[N]|=H,this;for(var V=H,K=N;V!==0&&K<this.length;K++){var j=this.words[K]|0;j+=V,V=j>>>26,j&=67108863,this.words[K]=j}return V!==0&&(this.words[K]=V,this.length++),this},o.prototype.isZero=function(){return this.length===1&&this.words[0]===0},o.prototype.cmpn=function(M){var O=M<0;if(this.negative!==0&&!O)return-1;if(this.negative===0&&O)return 1;this._strip();var N;if(this.length>1)N=1;else{O&&(M=-M),n(M<=67108863,"Number is too big");var H=this.words[0]|0;N=H===M?0:H<M?-1:1}return this.negative!==0?-N|0:N},o.prototype.cmp=function(M){if(this.negative!==0&&M.negative===0)return-1;if(this.negative===0&&M.negative!==0)return 1;var O=this.ucmp(M);return this.negative!==0?-O|0:O},o.prototype.ucmp=function(M){if(this.length>M.length)return 1;if(this.length<M.length)return-1;for(var O=0,N=this.length-1;N>=0;N--){var H=this.words[N]|0,V=M.words[N]|0;if(H!==V){H<V?O=-1:H>V&&(O=1);break}}return O},o.prototype.gtn=function(M){return this.cmpn(M)===1},o.prototype.gt=function(M){return this.cmp(M)===1},o.prototype.gten=function(M){return this.cmpn(M)>=0},o.prototype.gte=function(M){return this.cmp(M)>=0},o.prototype.ltn=function(M){return this.cmpn(M)===-1},o.prototype.lt=function(M){return this.cmp(M)===-1},o.prototype.lten=function(M){return this.cmpn(M)<=0},o.prototype.lte=function(M){return this.cmp(M)<=0},o.prototype.eqn=function(M){return this.cmpn(M)===0},o.prototype.eq=function(M){return this.cmp(M)===0},o.red=function(M){return new W(M)},o.prototype.toRed=function(M){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),M.convertTo(this)._forceRed(M)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(M){return this.red=M,this},o.prototype.forceRed=function(M){return n(!this.red,"Already a number in reduction context"),this._forceRed(M)},o.prototype.redAdd=function(M){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,M)},o.prototype.redIAdd=function(M){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,M)},o.prototype.redSub=function(M){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,M)},o.prototype.redISub=function(M){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,M)},o.prototype.redShl=function(M){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,M)},o.prototype.redMul=function(M){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,M),this.red.mul(this,M)},o.prototype.redIMul=function(M){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,M),this.red.imul(this,M)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(M){return n(this.red&&!M.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,M)};var R={k256:null,p224:null,p192:null,p25519:null};function S($,M){this.name=$,this.p=new o(M,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}S.prototype._tmp=function(){var M=new o(null);return M.words=new Array(Math.ceil(this.n/13)),M},S.prototype.ireduce=function(M){var O=M,N;do this.split(O,this.tmp),O=this.imulK(O),O=O.iadd(this.tmp),N=O.bitLength();while(N>this.n);var H=N<this.n?-1:O.ucmp(this.p);return H===0?(O.words[0]=0,O.length=1):H>0?O.isub(this.p):O.strip!==void 0?O.strip():O._strip(),O},S.prototype.split=function(M,O){M.iushrn(this.n,0,O)},S.prototype.imulK=function(M){return M.imul(this.k)};function I(){S.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i(I,S),I.prototype.split=function(M,O){for(var N=4194303,H=Math.min(M.length,9),V=0;V<H;V++)O.words[V]=M.words[V];if(O.length=H,M.length<=9){M.words[0]=0,M.length=1;return}var K=M.words[9];for(O.words[O.length++]=K&N,V=10;V<M.length;V++){var j=M.words[V]|0;M.words[V-10]=(j&N)<<4|K>>>22,K=j}K>>>=22,M.words[V-10]=K,K===0&&M.length>10?M.length-=10:M.length-=9},I.prototype.imulK=function(M){M.words[M.length]=0,M.words[M.length+1]=0,M.length+=2;for(var O=0,N=0;N<M.length;N++){var H=M.words[N]|0;O+=H*977,M.words[N]=O&67108863,O=H*64+(O/67108864|0)}return M.words[M.length-1]===0&&(M.length--,M.words[M.length-1]===0&&M.length--),M};function U(){S.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i(U,S);function D(){S.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i(D,S);function q(){S.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i(q,S),q.prototype.imulK=function(M){for(var O=0,N=0;N<M.length;N++){var H=(M.words[N]|0)*19+O,V=H&67108863;H>>>=26,M.words[N]=V,O=H}return O!==0&&(M.words[M.length++]=O),M},o._prime=function(M){if(R[M])return R[M];var O;if(M==="k256")O=new I;else if(M==="p224")O=new U;else if(M==="p192")O=new D;else if(M==="p25519")O=new q;else throw new Error("Unknown prime "+M);return R[M]=O,O};function W($){if(typeof $=="string"){var M=o._prime($);this.m=M.p,this.prime=M}else n($.gtn(1),"modulus must be greater than 1"),this.m=$,this.prime=null}W.prototype._verify1=function(M){n(M.negative===0,"red works only with positives"),n(M.red,"red works only with red numbers")},W.prototype._verify2=function(M,O){n((M.negative|O.negative)===0,"red works only with positives"),n(M.red&&M.red===O.red,"red works only with red numbers")},W.prototype.imod=function(M){return this.prime?this.prime.ireduce(M)._forceRed(this):(d(M,M.umod(this.m)._forceRed(this)),M)},W.prototype.neg=function(M){return M.isZero()?M.clone():this.m.sub(M)._forceRed(this)},W.prototype.add=function(M,O){this._verify2(M,O);var N=M.add(O);return N.cmp(this.m)>=0&&N.isub(this.m),N._forceRed(this)},W.prototype.iadd=function(M,O){this._verify2(M,O);var N=M.iadd(O);return N.cmp(this.m)>=0&&N.isub(this.m),N},W.prototype.sub=function(M,O){this._verify2(M,O);var N=M.sub(O);return N.cmpn(0)<0&&N.iadd(this.m),N._forceRed(this)},W.prototype.isub=function(M,O){this._verify2(M,O);var N=M.isub(O);return N.cmpn(0)<0&&N.iadd(this.m),N},W.prototype.shl=function(M,O){return this._verify1(M),this.imod(M.ushln(O))},W.prototype.imul=function(M,O){return this._verify2(M,O),this.imod(M.imul(O))},W.prototype.mul=function(M,O){return this._verify2(M,O),this.imod(M.mul(O))},W.prototype.isqr=function(M){return this.imul(M,M.clone())},W.prototype.sqr=function(M){return this.mul(M,M)},W.prototype.sqrt=function(M){if(M.isZero())return M.clone();var O=this.m.andln(3);if(n(O%2===1),O===3){var N=this.m.add(new o(1)).iushrn(2);return this.pow(M,N)}for(var H=this.m.subn(1),V=0;!H.isZero()&&H.andln(1)===0;)V++,H.iushrn(1);n(!H.isZero());var K=new o(1).toRed(this),j=K.redNeg(),A=this.m.subn(1).iushrn(1),x=this.m.bitLength();for(x=new o(2*x*x).toRed(this);this.pow(x,A).cmp(j)!==0;)x.redIAdd(j);for(var C=this.pow(x,H),E=this.pow(M,H.addn(1).iushrn(1)),_=this.pow(M,H),P=V;_.cmp(K)!==0;){for(var G=_,z=0;G.cmp(K)!==0;z++)G=G.redSqr();n(z<P);var Z=this.pow(C,new o(1).iushln(P-z-1));E=E.redMul(Z),C=Z.redSqr(),_=_.redMul(C),P=z}return E},W.prototype.invm=function(M){var O=M._invmp(this.m);return O.negative!==0?(O.negative=0,this.imod(O).redNeg()):this.imod(O)},W.prototype.pow=function(M,O){if(O.isZero())return new o(1).toRed(this);if(O.cmpn(1)===0)return M.clone();var N=4,H=new Array(1<<N);H[0]=new o(1).toRed(this),H[1]=M;for(var V=2;V<H.length;V++)H[V]=this.mul(H[V-1],M);var K=H[0],j=0,A=0,x=O.bitLength()%26;for(x===0&&(x=26),V=O.length-1;V>=0;V--){for(var C=O.words[V],E=x-1;E>=0;E--){var _=C>>E&1;if(K!==H[0]&&(K=this.sqr(K)),_===0&&j===0){A=0;continue}j<<=1,j|=_,A++,!(A!==N&&(V!==0||E!==0))&&(K=this.mul(K,H[j]),A=0,j=0)}x=26}return K},W.prototype.convertTo=function(M){var O=M.umod(this.m);return O===M?O.clone():O},W.prototype.convertFrom=function(M){var O=M.clone();return O.red=null,O},o.mont=function(M){return new J(M)};function J($){W.call(this,$),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}i(J,W),J.prototype.convertTo=function(M){return this.imod(M.ushln(this.shift))},J.prototype.convertFrom=function(M){var O=this.imod(M.mul(this.rinv));return O.red=null,O},J.prototype.imul=function(M,O){if(M.isZero()||O.isZero())return M.words[0]=0,M.length=1,M;var N=M.imul(O),H=N.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=N.isub(H).iushrn(this.shift),K=V;return V.cmp(this.m)>=0?K=V.isub(this.m):V.cmpn(0)<0&&(K=V.iadd(this.m)),K._forceRed(this)},J.prototype.mul=function(M,O){if(M.isZero()||O.isZero())return new o(0)._forceRed(this);var N=M.mul(O),H=N.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=N.isub(H).iushrn(this.shift),K=V;return V.cmp(this.m)>=0?K=V.isub(this.m):V.cmpn(0)<0&&(K=V.iadd(this.m)),K._forceRed(this)},J.prototype.invm=function(M){var O=this.imod(M._invmp(this.m).mul(this.r2));return O._forceRed(this)}})(e,X)})(lL);var _Oe=lL.exports;const fr=_f(_Oe),EOe="logger/5.8.0";let R$=!1,I$=!1;const W4={debug:1,default:2,info:2,warning:3,error:4,off:5};let O$=W4.default,LE=null;function xOe(){try{const e=[];if(["NFD","NFC","NFKD","NFKC"].forEach(t=>{try{if("test".normalize(t)!=="test")throw new Error("bad normalize")}catch{e.push(t)}}),e.length)throw new Error("missing "+e.join(", "));if("é".normalize("NFD")!=="é")throw new Error("broken implementation")}catch(e){return e.message}return null}const P$=xOe();var MA;(function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"})(MA||(MA={}));var dl;(function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"})(dl||(dl={}));const L$="0123456789abcdef";class Me{constructor(t){Object.defineProperty(this,"version",{enumerable:!0,value:t,writable:!1})}_log(t,r){const n=t.toLowerCase();W4[n]==null&&this.throwArgumentError("invalid log level name","logLevel",t),!(O$>W4[n])&&console.log.apply(console,r)}debug(...t){this._log(Me.levels.DEBUG,t)}info(...t){this._log(Me.levels.INFO,t)}warn(...t){this._log(Me.levels.WARNING,t)}makeError(t,r,n){if(I$)return this.makeError("censored error",r,{});r||(r=Me.errors.UNKNOWN_ERROR),n||(n={});const i=[];Object.keys(n).forEach(l=>{const c=n[l];try{if(c instanceof Uint8Array){let d="";for(let f=0;f<c.length;f++)d+=L$[c[f]>>4],d+=L$[c[f]&15];i.push(l+"=Uint8Array(0x"+d+")")}else i.push(l+"="+JSON.stringify(c))}catch{i.push(l+"="+JSON.stringify(n[l].toString()))}}),i.push(`code=${r}`),i.push(`version=${this.version}`);const o=t;let a="";switch(r){case dl.NUMERIC_FAULT:{a="NUMERIC_FAULT";const l=t;switch(l){case"overflow":case"underflow":case"division-by-zero":a+="-"+l;break;case"negative-power":case"negative-width":a+="-unsupported";break;case"unbound-bitwise-result":a+="-unbound-result";break}break}case dl.CALL_EXCEPTION:case dl.INSUFFICIENT_FUNDS:case dl.MISSING_NEW:case dl.NONCE_EXPIRED:case dl.REPLACEMENT_UNDERPRICED:case dl.TRANSACTION_REPLACED:case dl.UNPREDICTABLE_GAS_LIMIT:a=r;break}a&&(t+=" [ See: https://links.ethers.org/v5-errors-"+a+" ]"),i.length&&(t+=" ("+i.join(", ")+")");const s=new Error(t);return s.reason=o,s.code=r,Object.keys(n).forEach(function(l){s[l]=n[l]}),s}throwError(t,r,n){throw this.makeError(t,r,n)}throwArgumentError(t,r,n){return this.throwError(t,Me.errors.INVALID_ARGUMENT,{argument:r,value:n})}assert(t,r,n,i){t||this.throwError(r,n,i)}assertArgument(t,r,n,i){t||this.throwArgumentError(r,n,i)}checkNormalize(t){P$&&this.throwError("platform missing String.prototype.normalize",Me.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:P$})}checkSafeUint53(t,r){typeof t=="number"&&(r==null&&(r="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(r,Me.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(r,Me.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}checkArgumentCount(t,r,n){n?n=": "+n:n="",t<r&&this.throwError("missing argument"+n,Me.errors.MISSING_ARGUMENT,{count:t,expectedCount:r}),t>r&&this.throwError("too many arguments"+n,Me.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:r})}checkNew(t,r){(t===Object||t==null)&&this.throwError("missing new",Me.errors.MISSING_NEW,{name:r.name})}checkAbstract(t,r){t===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",Me.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):(t===Object||t==null)&&this.throwError("missing new",Me.errors.MISSING_NEW,{name:r.name})}static globalLogger(){return LE||(LE=new Me(EOe)),LE}static setCensorship(t,r){if(!t&&r&&this.globalLogger().throwError("cannot permanently disable censorship",Me.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),R$){if(!t)return;this.globalLogger().throwError("error censorship permanent",Me.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}I$=!!t,R$=!!r}static setLogLevel(t){const r=W4[t.toLowerCase()];if(r==null){Me.globalLogger().warn("invalid log level - "+t);return}O$=r}static from(t){return new Me(t)}}Me.errors=dl;Me.levels=MA;const wOe="bytes/5.8.0",gi=new Me(wOe);function pre(e){return!!e.toHexString}function X0(e){return e.slice||(e.slice=function(){const t=Array.prototype.slice.call(arguments);return X0(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function l7(e){return Bn(e)&&!(e.length%2)||c7(e)}function k$(e){return typeof e=="number"&&e==e&&e%1===0}function c7(e){if(e==null)return!1;if(e.constructor===Uint8Array)return!0;if(typeof e=="string"||!k$(e.length)||e.length<0)return!1;for(let t=0;t<e.length;t++){const r=e[t];if(!k$(r)||r<0||r>=256)return!1}return!0}function ft(e,t){if(t||(t={}),typeof e=="number"){gi.checkSafeUint53(e,"invalid arrayify value");const r=[];for(;e;)r.unshift(e&255),e=parseInt(String(e/256));return r.length===0&&r.push(0),X0(new Uint8Array(r))}if(t.allowMissingPrefix&&typeof e=="string"&&e.substring(0,2)!=="0x"&&(e="0x"+e),pre(e)&&(e=e.toHexString()),Bn(e)){let r=e.substring(2);r.length%2&&(t.hexPad==="left"?r="0"+r:t.hexPad==="right"?r+="0":gi.throwArgumentError("hex data is odd-length","value",e));const n=[];for(let i=0;i<r.length;i+=2)n.push(parseInt(r.substring(i,i+2),16));return X0(new Uint8Array(n))}return c7(e)?X0(new Uint8Array(e)):gi.throwArgumentError("invalid arrayify value","value",e)}function ia(e){const t=e.map(i=>ft(i)),r=t.reduce((i,o)=>i+o.length,0),n=new Uint8Array(r);return t.reduce((i,o)=>(n.set(o,i),i+o.length),0),X0(n)}function bu(e){let t=ft(e);if(t.length===0)return t;let r=0;for(;r<t.length&&t[r]===0;)r++;return r&&(t=t.slice(r)),t}function COe(e,t){e=ft(e),e.length>t&&gi.throwArgumentError("value out of range","value",arguments[0]);const r=new Uint8Array(t);return r.set(e,t-e.length),X0(r)}function Bn(e,t){return!(typeof e!="string"||!e.match(/^0x[0-9A-Fa-f]*$/)||t&&e.length!==2+2*t)}const kE="0123456789abcdef";function Tt(e,t){if(t||(t={}),typeof e=="number"){gi.checkSafeUint53(e,"invalid hexlify value");let r="";for(;e;)r=kE[e&15]+r,e=Math.floor(e/16);return r.length?(r.length%2&&(r="0"+r),"0x"+r):"0x00"}if(typeof e=="bigint")return e=e.toString(16),e.length%2?"0x0"+e:"0x"+e;if(t.allowMissingPrefix&&typeof e=="string"&&e.substring(0,2)!=="0x"&&(e="0x"+e),pre(e))return e.toHexString();if(Bn(e))return e.length%2&&(t.hexPad==="left"?e="0x0"+e.substring(2):t.hexPad==="right"?e+="0":gi.throwArgumentError("hex data is odd-length","value",e)),e.toLowerCase();if(c7(e)){let r="0x";for(let n=0;n<e.length;n++){let i=e[n];r+=kE[(i&240)>>4]+kE[i&15]}return r}return gi.throwArgumentError("invalid hexlify value","value",e)}function q1(e){if(typeof e!="string")e=Tt(e);else if(!Bn(e)||e.length%2)return null;return(e.length-2)/2}function Zi(e,t,r){return typeof e!="string"?e=Tt(e):(!Bn(e)||e.length%2)&&gi.throwArgumentError("invalid hexData","value",e),t=2+2*t,r!=null?"0x"+e.substring(t,2+2*r):"0x"+e.substring(t)}function Ya(e){let t="0x";return e.forEach(r=>{t+=Tt(r).substring(2)}),t}function cL(e){const t=SOe(Tt(e,{hexPad:"left"}));return t==="0x"?"0x0":t}function SOe(e){typeof e!="string"&&(e=Tt(e)),Bn(e)||gi.throwArgumentError("invalid hex string","value",e),e=e.substring(2);let t=0;for(;t<e.length&&e[t]==="0";)t++;return"0x"+e.substring(t)}function bi(e,t){for(typeof e!="string"?e=Tt(e):Bn(e)||gi.throwArgumentError("invalid hex string","value",e),e.length>2*t+2&&gi.throwArgumentError("value out of range","value",arguments[1]);e.length<2*t+2;)e="0x0"+e.substring(2);return e}function Cm(e){const t={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(l7(e)){let r=ft(e);r.length===64?(t.v=27+(r[32]>>7),r[32]&=127,t.r=Tt(r.slice(0,32)),t.s=Tt(r.slice(32,64))):r.length===65?(t.r=Tt(r.slice(0,32)),t.s=Tt(r.slice(32,64)),t.v=r[64]):gi.throwArgumentError("invalid signature string","signature",e),t.v<27&&(t.v===0||t.v===1?t.v+=27:gi.throwArgumentError("signature invalid v byte","signature",e)),t.recoveryParam=1-t.v%2,t.recoveryParam&&(r[32]|=128),t._vs=Tt(r.slice(32,64))}else{if(t.r=e.r,t.s=e.s,t.v=e.v,t.recoveryParam=e.recoveryParam,t._vs=e._vs,t._vs!=null){const i=COe(ft(t._vs),32);t._vs=Tt(i);const o=i[0]>=128?1:0;t.recoveryParam==null?t.recoveryParam=o:t.recoveryParam!==o&&gi.throwArgumentError("signature recoveryParam mismatch _vs","signature",e),i[0]&=127;const a=Tt(i);t.s==null?t.s=a:t.s!==a&&gi.throwArgumentError("signature v mismatch _vs","signature",e)}if(t.recoveryParam==null)t.v==null?gi.throwArgumentError("signature missing v and recoveryParam","signature",e):t.v===0||t.v===1?t.recoveryParam=t.v:t.recoveryParam=1-t.v%2;else if(t.v==null)t.v=27+t.recoveryParam;else{const i=t.v===0||t.v===1?t.v:1-t.v%2;t.recoveryParam!==i&&gi.throwArgumentError("signature recoveryParam mismatch v","signature",e)}t.r==null||!Bn(t.r)?gi.throwArgumentError("signature missing or invalid r","signature",e):t.r=bi(t.r,32),t.s==null||!Bn(t.s)?gi.throwArgumentError("signature missing or invalid s","signature",e):t.s=bi(t.s,32);const r=ft(t.s);r[0]>=128&&gi.throwArgumentError("signature s out of range","signature",e),t.recoveryParam&&(r[0]|=128);const n=Tt(r);t._vs&&(Bn(t._vs)||gi.throwArgumentError("signature invalid _vs","signature",e),t._vs=bi(t._vs,32)),t._vs==null?t._vs=n:t._vs!==n&&gi.throwArgumentError("signature _vs mismatch v and s","signature",e)}return t.yParityAndS=t._vs,t.compact=t.r+t.yParityAndS.substring(2),t}function N$(e){return e=Cm(e),Tt(ia([e.r,e.s,e.recoveryParam?"0x1c":"0x1b"]))}const AOe="bignumber/5.8.0";var Tb=fr.BN;const Xc=new Me(AOe),NE={},j$=9007199254740991;let D$=!1;class Ft{constructor(t,r){t!==NE&&Xc.throwError("cannot call constructor directly; use BigNumber.from",Me.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=r,this._isBigNumber=!0,Object.freeze(this)}fromTwos(t){return pa(en(this).fromTwos(t))}toTwos(t){return pa(en(this).toTwos(t))}abs(){return this._hex[0]==="-"?Ft.from(this._hex.substring(1)):this}add(t){return pa(en(this).add(en(t)))}sub(t){return pa(en(this).sub(en(t)))}div(t){return Ft.from(t).isZero()&&ss("division-by-zero","div"),pa(en(this).div(en(t)))}mul(t){return pa(en(this).mul(en(t)))}mod(t){const r=en(t);return r.isNeg()&&ss("division-by-zero","mod"),pa(en(this).umod(r))}pow(t){const r=en(t);return r.isNeg()&&ss("negative-power","pow"),pa(en(this).pow(r))}and(t){const r=en(t);return(this.isNegative()||r.isNeg())&&ss("unbound-bitwise-result","and"),pa(en(this).and(r))}or(t){const r=en(t);return(this.isNegative()||r.isNeg())&&ss("unbound-bitwise-result","or"),pa(en(this).or(r))}xor(t){const r=en(t);return(this.isNegative()||r.isNeg())&&ss("unbound-bitwise-result","xor"),pa(en(this).xor(r))}mask(t){return(this.isNegative()||t<0)&&ss("negative-width","mask"),pa(en(this).maskn(t))}shl(t){return(this.isNegative()||t<0)&&ss("negative-width","shl"),pa(en(this).shln(t))}shr(t){return(this.isNegative()||t<0)&&ss("negative-width","shr"),pa(en(this).shrn(t))}eq(t){return en(this).eq(en(t))}lt(t){return en(this).lt(en(t))}lte(t){return en(this).lte(en(t))}gt(t){return en(this).gt(en(t))}gte(t){return en(this).gte(en(t))}isNegative(){return this._hex[0]==="-"}isZero(){return en(this).isZero()}toNumber(){try{return en(this).toNumber()}catch{ss("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch{}return Xc.throwError("this platform does not support BigInt",Me.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?D$||(D$=!0,Xc.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?Xc.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",Me.errors.UNEXPECTED_ARGUMENT,{}):Xc.throwError("BigNumber.toString does not accept parameters",Me.errors.UNEXPECTED_ARGUMENT,{})),en(this).toString(10)}toHexString(){return this._hex}toJSON(t){return{type:"BigNumber",hex:this.toHexString()}}static from(t){if(t instanceof Ft)return t;if(typeof t=="string")return t.match(/^-?0x[0-9a-f]+$/i)?new Ft(NE,Ey(t)):t.match(/^-?[0-9]+$/)?new Ft(NE,Ey(new Tb(t))):Xc.throwArgumentError("invalid BigNumber string","value",t);if(typeof t=="number")return t%1&&ss("underflow","BigNumber.from",t),(t>=j$||t<=-j$)&&ss("overflow","BigNumber.from",t),Ft.from(String(t));const r=t;if(typeof r=="bigint")return Ft.from(r.toString());if(c7(r))return Ft.from(Tt(r));if(r)if(r.toHexString){const n=r.toHexString();if(typeof n=="string")return Ft.from(n)}else{let n=r._hex;if(n==null&&r.type==="BigNumber"&&(n=r.hex),typeof n=="string"&&(Bn(n)||n[0]==="-"&&Bn(n.substring(1))))return Ft.from(n)}return Xc.throwArgumentError("invalid BigNumber value","value",t)}static isBigNumber(t){return!!(t&&t._isBigNumber)}}function Ey(e){if(typeof e!="string")return Ey(e.toString(16));if(e[0]==="-")return e=e.substring(1),e[0]==="-"&&Xc.throwArgumentError("invalid hex","value",e),e=Ey(e),e==="0x00"?e:"-"+e;if(e.substring(0,2)!=="0x"&&(e="0x"+e),e==="0x")return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&e.substring(0,4)==="0x00";)e="0x"+e.substring(4);return e}function pa(e){return Ft.from(Ey(e))}function en(e){const t=Ft.from(e).toHexString();return t[0]==="-"?new Tb("-"+t.substring(3),16):new Tb(t.substring(2),16)}function ss(e,t,r){const n={fault:e,operation:t};return r!=null&&(n.value=r),Xc.throwError(e,Me.errors.NUMERIC_FAULT,n)}function TOe(e){return new Tb(e,36).toString(16)}const MOe="properties/5.8.0";var ROe=function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(d){try{c(n.next(d))}catch(f){a(f)}}function l(d){try{c(n.throw(d))}catch(f){a(f)}}function c(d){d.done?o(d.value):i(d.value).then(s,l)}c((n=n.apply(e,t||[])).next())})};const Mb=new Me(MOe);function Ut(e,t,r){Object.defineProperty(e,t,{enumerable:!0,value:r,writable:!1})}function G2(e,t){for(let r=0;r<32;r++){if(e[t])return e[t];if(!e.prototype||typeof e.prototype!="object")break;e=Object.getPrototypeOf(e.prototype).constructor}return null}function Ki(e){return ROe(this,void 0,void 0,function*(){const t=Object.keys(e).map(n=>{const i=e[n];return Promise.resolve(i).then(o=>({key:n,value:o}))});return(yield Promise.all(t)).reduce((n,i)=>(n[i.key]=i.value,n),{})})}function hre(e,t){(!e||typeof e!="object")&&Mb.throwArgumentError("invalid object","object",e),Object.keys(e).forEach(r=>{t[r]||Mb.throwArgumentError("invalid object key - "+r,"transaction:"+r,e)})}function Ca(e){const t={};for(const r in e)t[r]=e[r];return t}const IOe={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function mre(e){if(e==null||IOe[typeof e])return!0;if(Array.isArray(e)||typeof e=="object"){if(!Object.isFrozen(e))return!1;const t=Object.keys(e);for(let r=0;r<t.length;r++){let n=null;try{n=e[t[r]]}catch{continue}if(!mre(n))return!1}return!0}return Mb.throwArgumentError(`Cannot deepCopy ${typeof e}`,"object",e)}function OOe(e){if(mre(e))return e;if(Array.isArray(e))return Object.freeze(e.map(t=>xy(t)));if(typeof e=="object"){const t={};for(const r in e){const n=e[r];n!==void 0&&Ut(t,r,xy(n))}return t}return Mb.throwArgumentError(`Cannot deepCopy ${typeof e}`,"object",e)}function xy(e){return OOe(e)}class uL{constructor(t){for(const r in t)this[r]=xy(t[r])}}var gre={exports:{}};/**
|
|
273
273
|
* [js-sha3]{@link https://github.com/emn178/js-sha3}
|
|
274
274
|
*
|
|
275
275
|
* @version 0.8.0
|
|
@@ -891,12 +891,12 @@ ${yit}
|
|
|
891
891
|
}
|
|
892
892
|
100% {
|
|
893
893
|
transform: translate(1px, -2px) rotate(-1deg);
|
|
894
|
-
}`,y0t=de(RI,{shouldForwardProp:e=>e!=="active"})(({active:e,theme:t})=>({...e?{animation:`${g0t} 0.8s`,animationIterationCount:4}:{},"&:hover":{backgroundColor:"transparent"},"& .MuiBadge-badge":{transform:"scale(0.8) translate(40%, 60%)"},[t.breakpoints.down("sm")]:{marginLeft:t.spacing(1)}})),v0t=de(Pe)(({theme:e})=>({height:"30.625px","&:hover":{backgroundColor:e.palette.action.hover,borderRadius:"50%",cursor:"pointer"}})),b0t=ve.memo(e=>{const{isOpen:t,items:r,isLoading:n,locale:i,isOnboarding:o,activeTab:a,renderProfile:s,onClick:l,onChangeTab:c,onBegin:d,onClose:f}=e,p=F.useMemo(()=>r.filter(h=>!h.read).length,[r]),[m,v]=F.useState(null),g=F.useCallback(h=>{l(h),v(h.currentTarget)},[]),b=F.useCallback(h=>{f(h),v(null)},[]);return u.jsxs(u.Fragment,{children:[u.jsx(y0t,{active:p>0,onClick:g,badgeContent:p,color:"primary",anchorOrigin:{vertical:"top",horizontal:"right"},invisible:p===0,children:t?u.jsx(zct,{fontSize:"large",color:"primary"}):u.jsx(v0t,{children:u.jsx(qct,{fontSize:"large",color:"primary"})})}),t&&u.jsx(m0t,{isOpen:t,items:r,isLoading:n,locale:i,isOnboarding:o,activeTab:a,onChangeTab:c,onBegin:d,onClose:b,renderProfile:s,anchorEl:m})]})}),fW=ve.memo(e=>u.jsx(Ze,{...e,children:u.jsxs("svg",{width:"256",height:"256",viewBox:"0 0 256 256",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[u.jsx("path",{d:"M25.5371 184.328C16.718 180.685 12.5221 170.582 16.1653 161.763L29.8558 128.622L16.1025 95.5076C12.4426 86.6954 16.6194 76.5848 25.4316 72.9248L58.5462 59.1716L72.2367 26.0312C75.8799 17.212 85.9827 13.0162 94.8018 16.6594L127.942 30.3498L161.057 16.5966C169.869 12.9367 179.98 17.1135 183.639 25.9257L197.393 59.0402L230.533 72.7308C239.352 76.374 243.548 86.4767 239.905 95.2958L226.215 128.436L239.968 161.551C243.628 170.363 239.451 180.474 230.639 184.134L197.524 197.887L183.834 231.027C180.19 239.846 170.088 244.042 161.269 240.399L128.128 226.709L95.0135 240.462C86.2013 244.122 76.0907 239.945 72.4307 231.133L58.6775 198.018L25.5371 184.328Z",fill:"url(#paint0_linear_1048_15924)"}),u.jsx("path",{d:"M39.4715 176.904C31.9127 173.782 28.3165 165.123 31.439 157.564L43.173 129.16L31.3852 100.777C28.2483 93.2245 31.8282 84.5587 39.3811 81.4219L67.7634 69.634L79.4974 41.2296C82.62 33.6708 91.279 30.0746 98.8377 33.1971L127.242 44.9312L155.624 33.1434C163.177 30.0065 171.843 33.5863 174.98 41.1392L186.768 69.5215L215.172 81.2555C222.731 84.3781 226.327 93.0371 223.205 100.596L211.471 129L223.258 157.383C226.395 164.935 222.815 173.601 215.262 176.738L186.88 188.526L175.146 216.93C172.024 224.489 163.365 228.085 155.806 224.963L127.401 213.229L99.0192 225.017C91.4664 228.153 82.8006 224.574 79.6637 217.021L67.8759 188.638L39.4715 176.904Z",fill:"url(#paint1_linear_1048_15924)"}),u.jsx("path",{d:"M54.4478 168.591C48.116 165.975 45.1036 158.722 47.7192 152.39L57.5484 128.596L47.6741 104.822C45.0465 98.4947 48.0452 91.2357 54.372 88.6081L78.147 78.7338L87.9762 54.9403C90.5919 48.6086 97.8452 45.5961 104.177 48.2118L127.97 58.041L151.745 48.1667C158.072 45.539 165.331 48.5378 167.959 54.8646L177.833 78.6395L201.627 88.4687C207.958 91.0844 210.971 98.3377 208.355 104.669L198.526 128.463L208.4 152.238C211.028 158.565 208.029 165.824 201.702 168.451L177.927 178.326L168.098 202.119C165.483 208.451 158.229 211.463 151.897 208.848L128.104 199.018L104.329 208.893C98.0022 211.52 90.7432 208.522 88.1155 202.195L78.2413 178.42L54.4478 168.591Z",fill:"url(#paint2_linear_1048_15924)"}),u.jsx("path",{d:"M62.1592 164.392C56.491 162.05 53.7942 155.557 56.1357 149.889L64.9349 128.589L56.0954 107.305C53.7431 101.641 56.4276 95.1432 62.0914 92.7908L83.3749 83.9513L92.1741 62.6512C94.5157 56.983 101.009 54.2862 106.677 56.6278L127.977 65.4269L149.261 56.5874C154.925 54.2351 161.423 56.9196 163.775 62.5834L172.615 83.8669L193.915 92.6661C199.583 95.0077 202.28 101.501 199.938 107.169L191.139 128.469L199.979 149.753C202.331 155.417 199.646 161.915 193.983 164.267L172.699 173.107L163.9 194.407C161.558 200.075 155.065 202.772 149.397 200.43L128.097 191.631L106.813 200.471C101.149 202.823 94.6511 200.138 92.2988 194.475L83.4593 173.191L62.1592 164.392Z",fill:"url(#paint3_linear_1048_15924)"}),u.jsx("path",{d:"M62.1592 164.392C56.491 162.05 53.7942 155.557 56.1357 149.889L64.9349 128.589L56.0954 107.305C53.7431 101.641 56.4276 95.1432 62.0914 92.7908L83.3749 83.9513L92.1741 62.6512C94.5157 56.983 101.009 54.2862 106.677 56.6278L127.977 65.4269L149.261 56.5874C154.925 54.2351 161.423 56.9196 163.775 62.5834L172.615 83.8669L193.915 92.6661C199.583 95.0077 202.28 101.501 199.938 107.169L191.139 128.469L199.979 149.753C202.331 155.417 199.646 161.915 193.983 164.267L172.699 173.107L163.9 194.407C161.558 200.075 155.065 202.772 149.397 200.43L128.097 191.631L106.813 200.471C101.149 202.823 94.6511 200.138 92.2988 194.475L83.4593 173.191L62.1592 164.392Z",fill:"url(#paint4_linear_1048_15924)"}),u.jsx("ellipse",{cx:"71.8039",cy:"43.6779",rx:"4.2556",ry:"4.37564",transform:"rotate(29.3032 71.8039 43.6779)",fill:"white"}),u.jsx("ellipse",{cx:"79.7278",cy:"28.2715",rx:"4.80667",ry:"9.80885",transform:"rotate(29.3032 79.7278 28.2715)",fill:"white"}),u.jsx("path",{opacity:"0.8",fillRule:"evenodd",clipRule:"evenodd",d:"M151.392 93.1941L151.381 92.0695C151.252 79.4163 140.711 69.2321 127.796 69.3636C114.88 69.4951 104.549 79.8919 104.678 92.545L104.689 93.6697L96.1087 93.757C93.0489 93.7882 90.5044 96.0762 90.2087 99.0624L83.3993 167.822C83.0553 171.295 85.8595 174.293 89.4189 174.257L168.873 173.448C172.441 173.411 175.187 170.342 174.757 166.868L166.271 98.265C165.904 95.2956 163.318 93.0727 160.267 93.1037L151.392 93.1941ZM138.208 92.2036C138.152 86.6465 133.53 82.2212 127.927 82.2783C122.324 82.3353 117.794 86.8538 117.85 92.4109L117.862 93.5355L138.22 93.3282L138.208 92.2036ZM151.506 104.348L151.578 111.392C151.614 114.958 148.694 117.879 145.057 117.917C141.419 117.954 138.441 115.093 138.405 111.526L138.333 104.482L117.975 104.689L118.047 111.734C118.083 115.3 115.164 118.221 111.527 118.258C107.889 118.295 104.911 115.434 104.875 111.868L104.803 104.823L101.064 104.861L95.3026 163.042L162.738 162.356L155.557 104.306L151.506 104.348Z",fill:"url(#paint5_linear_1048_15924)"}),u.jsxs("defs",{children:[u.jsxs("linearGradient",{id:"paint0_linear_1048_15924",x1:"211.108",y1:"218.484",x2:"77.4791",y2:"27.1647",gradientUnits:"userSpaceOnUse",children:[u.jsx("stop",{stopColor:"#9BFFFF"}),u.jsx("stop",{offset:"0.5",stopColor:"#B8B9FF"}),u.jsx("stop",{offset:"0.885",stopColor:"#FFCBFF"}),u.jsx("stop",{offset:"1",stopColor:"#FDFCFF"})]}),u.jsxs("linearGradient",{id:"paint1_linear_1048_15924",x1:"225.88",y1:"218.975",x2:"71.9492",y2:"33.3822",gradientUnits:"userSpaceOnUse",children:[u.jsx("stop",{stopColor:"#5285BF"}),u.jsx("stop",{offset:"1",stopColor:"#AE66F0"})]}),u.jsxs("linearGradient",{id:"paint2_linear_1048_15924",x1:"195.385",y1:"221.054",x2:"91.1662",y2:"16.6319",gradientUnits:"userSpaceOnUse",children:[u.jsx("stop",{stopColor:"#9BFFFF"}),u.jsx("stop",{offset:"0.5",stopColor:"#B8B9FF"}),u.jsx("stop",{offset:"1",stopColor:"#FFCBFF"})]}),u.jsxs("linearGradient",{id:"paint3_linear_1048_15924",x1:"103.148",y1:"42.8184",x2:"132.876",y2:"134.167",gradientUnits:"userSpaceOnUse",children:[u.jsx("stop",{stopColor:"white"}),u.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),u.jsxs("linearGradient",{id:"paint4_linear_1048_15924",x1:"109.14",y1:"55.9116",x2:"124.459",y2:"109.497",gradientUnits:"userSpaceOnUse",children:[u.jsx("stop",{stopColor:"white"}),u.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),u.jsxs("linearGradient",{id:"paint5_linear_1048_15924",x1:"129.146",y1:"173.852",x2:"128.082",y2:"69.3607",gradientUnits:"userSpaceOnUse",children:[u.jsx("stop",{stopColor:"#6141A6"}),u.jsx("stop",{offset:"1",stopColor:"#6C84FF"})]})]})]})})),_0t=de("div")(e=>{const{theme:t}=e;return{display:"flex",flexDirection:"column",gap:"4px",alignItems:"flex-end",fontSize:t.typography.subtitle2.fontSize,"& svg":{fontSize:t.typography.subtitle2.fontSize},"& > div":{display:"flex",flexDirection:"row",alignItems:"center"},[t.breakpoints.down("sm")]:{alignItems:"flex-start"}}}),E0t=de(Cn)(e=>{const{theme:t}=e;return{"&.MuiButton-root.MuiButton-textPrimary":{fontSize:t.typography.caption.fontSize,padding:0,marginRight:"4px","&:hover":{backgroundColor:"transparent"}},"&:hover":{backgroundColor:"transparent"}}}),x0t=de(Jt)({lineHeight:"inherit"}),w0t=de(Pe)(e=>{const{theme:t}=e;return{color:"#A0ABFF",fontWeight:600,alignSelf:"flex-end",gap:"8px","& svg":{marginTop:"0px"},[t.breakpoints.down("sm")]:{alignSelf:"flex-start"}}}),pW=de(Pe)({display:"flex",cursor:"pointer",alignItems:"center",gap:"2px","& svg":{width:"16px",height:"16px"}}),C0t=de("div")({display:"flex",flexDirection:"column",gap:"2px",fontFamily:"Inter, Helvetica, Arial, sans-serif"}),S0t=de("span")(({theme:e})=>({color:e.palette.primary.main,fontSize:e.typography.caption.fontSize,fontWeight:600,lineHeight:"24px",textTransform:"uppercase",fontFamily:e.typography.fontFamily})),A0t=ve.memo(e=>{const{manaBalances:t,creditsBalance:r,i18n:n,onClickBalance:i}=e,o=r&&r.expiresAt<Date.now(),a=r&&r.expiresAt<Date.now()+1e3*60*60*24*5,s=r?Math.max(0,Math.floor((r.expiresAt-Date.now())/(1e3*60*60*24))):void 0;return u.jsxs(_0t,{children:[u.jsx(Pe,{children:t&&Object.keys(t).map(l=>u.jsx(K3,{network:l,href:ot.get("ACCOUNT_URL"),onClick:i,primary:l===Re.Network.ETHEREUM,children:u.jsx(x0t,{variant:"subtitle2",children:Number(t[l].toFixed(2)).toLocaleString()})},l))}),r!==void 0&&!o&&u.jsx(w0t,{children:u.jsx(u.Fragment,{children:r.balance===0?u.jsxs(u.Fragment,{children:[u.jsx(E0t,{variant:"text",onClick:()=>{window.open(`${ot.get("BLOG_URL")}announcements/marketplace-credits-earn-weekly-rewards-to-power-up-your-look?utm_org=dcl&utm_source=marketplace&utm_medium=organic&utm_campaign=marketplacecredits`,"_blank","noopener noreferrer")},children:(n==null?void 0:n.getCredits)||"Earn Credits"}),u.jsxs(pW,{children:[u.jsx(fW,{}),r.balance]})]}):r.balance>0?u.jsxs(u.Fragment,{children:[a&&u.jsx(S0t,{children:n==null?void 0:n.creditsExpiringSoon}),s!==void 0&&u.jsx(o3,{title:u.jsxs(C0t,{children:[u.jsx("span",{children:n==null?void 0:n.creditsExpiringIn(s===0?"< 1":s.toString())}),u.jsx("span",{children:n==null?void 0:n.creditsValue})]}),placement:"top-start",children:u.jsxs(pW,{children:[u.jsx(fW,{}),r.balance]})})]}):null})})]})});var vl;(function(e){e.ACTIVITY="activity",e.ACCOUNT="account",e.MY_ASSETS="my_assets",e.PROFILE="profile",e.SIGN_IN="sign_in",e.SIGN_OUT="sign_out",e.GUEST="guest",e.MARKETPLACE_AUTHORIZATIONS="marketplace_authorizations",e.DOWNLOAD="download",e.BALANCE="balance",e.INVITE_FRIENDS="invite_friends"})(vl||(vl={}));var Gj={},T0t=Ir;Object.defineProperty(Gj,"__esModule",{value:!0});var ade=Gj.default=void 0,M0t=T0t(Dr()),R0t=u;ade=Gj.default=(0,M0t.default)((0,R0t.jsx)("path",{d:"M13.26 3C8.17 2.86 4 6.95 4 12H2.21c-.45 0-.67.54-.35.85l2.79 2.8c.2.2.51.2.71 0l2.79-2.8c.31-.31.09-.85-.36-.85H6c0-3.9 3.18-7.05 7.1-7 3.72.05 6.85 3.18 6.9 6.9.05 3.91-3.1 7.1-7 7.1-1.61 0-3.1-.55-4.28-1.48-.4-.31-.96-.28-1.32.08-.42.42-.39 1.13.08 1.49C9 20.29 10.91 21 13 21c5.05 0 9.14-4.17 9-9.26-.13-4.69-4.05-8.61-8.74-8.74m-.51 5c-.41 0-.75.34-.75.75v3.68c0 .35.19.68.49.86l3.12 1.85c.36.21.82.09 1.03-.26.21-.36.09-.82-.26-1.03l-2.88-1.71v-3.4c0-.4-.34-.74-.75-.74"}),"HistoryRounded");const I0t="https://cdn.decentraland.org/@dcl/jump-site/0.4.3/assets/man-default1-BEO13leF.png",O0t=de(Pe)(e=>{const{theme:t}=e;return{display:"flex",position:"relative",textAlign:"left",outline:"none",justifyContent:"flex-end",alignItems:"center",height:"66px",[t.breakpoints.up("sm")]:{"& > *":{marginLeft:"16px"}}}}),P0t=de(ade)(e=>{const{theme:t}=e;return{"& path":{fill:t.palette.icon}}}),L0t=de(Pe)(e=>{const{theme:t}=e;return{cursor:"pointer",marginLeft:"16px",marginRight:"16px",[t.breakpoints.down("sm")]:{marginRight:"0"}}}),k0t=de(sp)(e=>{const{theme:t}=e;return{height:"607px",width:"561px",display:"flex",flexDirection:"row",justifyContent:"flex-start",overflow:"hidden",[t.breakpoints.down("sm")]:{position:"fixed",flexDirection:"column-reverse",top:"66px",left:0,paddingLeft:"25px",paddingRight:"22px",width:"100vw",height:"calc(100vh - 66px)"}}}),N0t=de(Pe)(e=>{const{theme:t}=e;return{height:"100%",width:"330px",[t.breakpoints.down("sm")]:{width:"100%"}}}),j0t=de(Pe)(e=>{var n,i;const{avatar:t}=e;let r={height:"100%",width:"100%",backgroundRepeat:"no-repeat",backgroundSize:"80%",backgroundImage:`url(${I0t})`,backgroundPosition:"bottom center"};return(i=(n=t==null?void 0:t.avatar)==null?void 0:n.snapshots)!=null&&i.body&&(r={...r,backgroundSize:"contain",backgroundImage:`url("${t.avatar.snapshots.body}")`}),r}),D0t=de(Pe)(e=>{const{theme:t}=e;return{height:"100%",width:"331px",display:"flex",flexDirection:"column",[t.breakpoints.down("sm")]:{width:"100%"}}}),B0t=de(II)(e=>{const{theme:t}=e;return{height:"720px",width:"561px",display:"flex",flexDirection:"column",justifyContent:"flex-start","& .MuiPaper-root .MuiList-root":{paddingTop:0,paddingBottom:0},[t.breakpoints.down("sm")]:{marginLeft:"25px",marginRight:"22px",width:"calc(100% - 25px - 22px)",height:"auto"}}}),F0t=de(Pe)({display:"flex",alignItems:"flex-start",padding:"64px 0 47px",flexDirection:"column"}),U0t=de(Jt)(e=>{const{theme:t}=e;return{color:t.palette.text.primary}}),$0t=de("span")(e=>{const{theme:t}=e;return{color:t.palette.text.secondary,marginLeft:"12px",fontSize:"20px",fontStyle:"normal",fontWeight:"400",lineHeight:"18px"}}),H0t=de(Pe)(e=>{const{theme:t}=e;return{height:"330px",display:"flex",flexDirection:"column",justifyContent:"flex-start",margin:"0 55px 0 0",[t.breakpoints.down("sm")]:{margin:"0"}}}),j2=de(SJ)(e=>{const{theme:t}=e;return{borderBottomColor:t.palette.text.primary,borderBottomWidth:"1px",borderBottomStyle:"solid",color:t.palette.text.primary,paddingLeft:0,paddingRight:0,flex:1,width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"}}),V0t=de(Jt)({display:"flex",alignItems:"center"}),z0t=de(Pe)({marginLeft:"12px",display:"flex",alignItems:"center"}),D2=de(g9e)(e=>{const{theme:t}=e;return{color:t.palette.text.primary,"&.MuiListItemIcon-root":{minWidth:0}}}),q0t=de(Pe)(e=>{const{theme:t}=e;return{color:t.palette.text.primary,fontWeight:"600",height:"24px",lineHeight:"18px",margin:"auto 55px 48px 0",display:"flex",justifyContent:"flex-end",alignItems:"center",cursor:"pointer","& svg":{marginLeft:"16px"},[t.breakpoints.down("sm")]:{position:"absolute",bottom:"0",right:"0"}}}),hW=e=>{const{avatar:t,address:r,i18n:n,trackingId:i,onClickMarketplaceAuthorization:o,onClickMyAssets:a,onClickProfile:s,onClickSignOut:l,onClickAccount:c,onClickUserMenuItem:d,balances:f}=e,p=T3(),m=F.useCallback(T=>{d&&d(T,{type:vl.MY_ASSETS,track_uuid:i,url:ot.get("MARKETPLACE_MY_ASSETS_URL")}),setTimeout(()=>{a?a(T):window.open(`${ot.get("MARKETPLACE_MY_ASSETS_URL")}`,"_blank","noopener")},d?300:0)},[a,d,i]),v=F.useCallback(T=>{d&&d(T,{type:vl.MARKETPLACE_AUTHORIZATIONS,track_uuid:i,url:ot.get("MARKETPLACE_SETTINGS_URL")}),setTimeout(()=>{o?o(T):window.open(`${ot.get("MARKETPLACE_SETTINGS_URL")}`,"_blank","noopener")},d?300:0)},[o,d,i]),g=F.useCallback(T=>{d&&d(T,{type:vl.PROFILE,track_uuid:i,url:ot.get("PROFILE_URL")}),setTimeout(()=>{s?s(T):window.open(ot.get("PROFILE_URL"),"_blank","noopener")},d?300:0)},[s,d,i]),b=F.useCallback(T=>{d&&d(T,{type:vl.ACCOUNT,track_uuid:i,url:ot.get("ACCOUNT_URL")}),setTimeout(()=>{c?c(T):window.open(ot.get("ACCOUNT_URL"),"_blank","noopener")},d?300:0)},[c,d,i]),h=F.useCallback(T=>{d&&d(T,{type:vl.INVITE_FRIENDS,track_uuid:i,url:`${ot.get("PROFILE_URL")}/accounts/${w}/referral`}),setTimeout(()=>{window.open(`${ot.get("PROFILE_URL")}/accounts/${w}/referral`,"_blank","noopener")},d?300:0)},[d,i]),y=F.useCallback(T=>{d&&d(T,{type:vl.SIGN_OUT,track_uuid:i}),l&&l(T,i||"")},[l,d,i]),w=F.useMemo(()=>(t==null?void 0:t.ethAddress)||r,[t,r]);return u.jsxs(k0t,{elevation:0,children:[u.jsx(N0t,{children:u.jsx(j0t,{avatar:t})}),u.jsxs(D0t,{children:[u.jsxs(F0t,{children:[u.jsxs(U0t,{variant:"h4",children:[(t==null?void 0:t.name)||n.guest," ",!(t!=null&&t.hasClaimedName)&&w&&u.jsxs($0t,{children:["#",w.substring(w.length-4)]})]}),p&&f]}),u.jsxs(H0t,{children:[u.jsxs(j2,{onClick:h,children:[u.jsxs(V0t,{variant:"h6",children:[n.inviteFriends,u.jsx(z0t,{children:u.jsx(Xct,{})})]}),u.jsx(D2,{children:u.jsx(h0,{})})]}),u.jsxs(j2,{onClick:g,children:[u.jsx(Jt,{variant:"h6",children:n.viewProfile}),u.jsx(D2,{children:u.jsx(h0,{})})]}),u.jsxs(j2,{onClick:m,children:[u.jsx(Jt,{variant:"h6",children:n.myAssets}),u.jsx(D2,{children:u.jsx(h0,{})})]}),u.jsxs(j2,{onClick:b,children:[u.jsx(Jt,{variant:"h6",children:n.account}),u.jsx(D2,{children:u.jsx(h0,{})})]}),u.jsxs(j2,{onClick:v,children:[u.jsx(Jt,{variant:"h6",children:n.marketplaceAuthorizations}),u.jsx(D2,{children:u.jsx(h0,{})})]})]}),u.jsxs(q0t,{onClick:y,children:[u.jsx(Jt,{variant:"h6",children:n.signOut}),u.jsx(Zue,{})]})]})]})},W0t=ve.memo(e=>{const{manaBalances:t,creditsBalance:r,avatar:n,hasActivity:i,isOpen:o,trackingId:a,notifications:s,onClickActivity:l,onClickBalance:c,onClickClose:d,onClickUserMenuItem:f,onClickToggle:p,...m}=e,[v,g]=F.useState(null),b=T3(),h=F.useMemo(()=>{var R,S,I,U;return u.jsx(A0t,{manaBalances:t,creditsBalance:r,onClickBalance:c,i18n:{getCredits:(R=m.i18n)==null?void 0:R.getCredits,creditsExpiringSoon:(S=m.i18n)==null?void 0:S.creditsExpiringSoon,creditsExpiringIn:(I=m.i18n)==null?void 0:I.creditsExpiringIn,creditsValue:(U=m.i18n)==null?void 0:U.creditsValue}})},[t,r]),y=F.useCallback(R=>{f&&f(R,{type:vl.ACTIVITY,track_uuid:a,url:`${ot.get("MARKETPLACE_URL")}/activity`}),setTimeout(()=>{l?l(R):window.open(`${ot.get("MARKETPLACE_URL")}/activity`,"_blank","noopener")},l?300:0)},[l,f,a]),w=F.useCallback(R=>{p&&p(R),g(R.currentTarget)},[p]),T=F.useCallback(()=>{d&&d()},[d]);return u.jsxs(O0t,{children:[s&&u.jsx(b0t,{...s}),!b&&u.jsx(ku,{"aria-label":"activity",onClick:y,children:u.jsx(RI,{color:"secondary",variant:"dot",invisible:!i,children:u.jsx(P0t,{})})}),!b&&h,u.jsx(L0t,{onClick:w,children:u.jsx(M3,{size:"medium",avatar:n})}),u.jsxs(Pe,{onMouseLeave:T,onScroll:b?void 0:T,children:[!b&&u.jsx(B0t,{anchorEl:v,open:!!o,onClose:T,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:u.jsx(hW,{onClickUserMenuItem:f,avatar:n,trackingId:a,...m})}),b&&o&&u.jsx(hW,{balances:h,onClickUserMenuItem:f,avatar:n,trackingId:a,...m})]})]})}),G0t=de(Pe)({display:"flex",position:"relative",textAlign:"left",outline:"none",alignItems:"center",zIndex:e3.appBar}),K0t=de(Pe)({display:"flex",alignItems:"center",height:"100%"}),Y0t=de(Cn)({height:"46px",minWidth:"90px"}),Z0t=ve.memo(e=>{const{isSignedIn:t,isSigningIn:r,isDisconnecting:n,manaBalances:i,i18n:o=Yue,hideDownloadButton:a,hideSignInButton:s,cdnLinks:l,getIdentityId:c,onClickSignIn:d,onClickBalance:f,onClickOpen:p,onClickUserMenuItem:m,loadingCdnLinks:v=!1,shouldDownloadBeforeRedirect:g,...b}=e,[h,y]=F.useState(!1),[w,T]=F.useState(void 0),R=F.useCallback(D=>{const q=xdt();y(W=>(W||T(q),!W&&p&&p(D,q),!W))},[y,p]),S=F.useCallback(()=>{y(!1)},[y]),I=F.useCallback(D=>{D.preventDefault(),m&&m(D,{type:vl.SIGN_IN,track_uuid:w||void 0,url:ot.get("MARKETPLACE_URL")}),d&&d(D)},[d,m,w]),U=F.useCallback((D,q)=>{D.preventDefault(),m&&m(D,{type:vl.BALANCE}),setTimeout(()=>{f?f(D,q):window.open(ot.get("ACCOUNT_URL"),"_blank","noopener")},m?300:0)},[f,m,w]);return u.jsx(G0t,{children:n?u.jsx(K0t,{children:u.jsx(_s,{size:20})}):u.jsxs(u.Fragment,{children:[!s&&t&&u.jsx(W0t,{...b,manaBalances:i,trackingId:w,isOpen:h,i18n:o,onClickToggle:R,onClickClose:S,onClickUserMenuItem:m,onClickBalance:U}),!s&&!t?u.jsx(Y0t,{variant:"outlined",color:"inherit",disabled:r,onClick:I,children:r?u.jsx(_s,{size:20,color:"inherit"}):o.signIn}):null,!a&&u.jsx(Due,{label:o.download,onClick:m,trackingId:w,loadingCdnLinks:v,cdnLinks:l,getIdentityId:c,shouldDownloadBeforeRedirect:g})]})})}),J0t=de(Pe)(e=>{const{theme:t}=e;return{display:"flex",flexFlow:"column nowrap",justifyContent:"center",height:"100%",flexWrap:"nowrap",marginRight:"56px",flex:1,maxWidth:"350px","&:hover":{borderBottomColor:"blue"},[t.breakpoints.down("sm")]:{maxWidth:"100%",width:"100%"}}});de(Jt)(()=>({fontSize:"18px",fontWeight:600,lineHeight:"18px",marginBottom:"6px","&:hover":{color:"blue"}}));const fw=e=>{const{children:t,title:r}=e;return u.jsxs(J0t,{children:[!!r&&u.jsx(Jt,{variant:"body2",children:r}),t]})};var Kj={},X0t=Ir;Object.defineProperty(Kj,"__esModule",{value:!0});var Yj=Kj.default=void 0,Q0t=X0t(Dr()),eht=u;Yj=Kj.default=(0,Q0t.default)((0,eht.jsx)("path",{d:"M6 7c0 .55.45 1 1 1h7.59l-8.88 8.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L16 9.41V17c0 .55.45 1 1 1s1-.45 1-1V7c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1"}),"ArrowOutwardRounded");const tht=de(Pe,{shouldForwardProp:e=>e!=="isExternal"})(e=>{const{isExternal:t,theme:r}=e;let n={};return t&&(n={backgroundImage:`url(${Yj})`}),{display:"flex",padding:0,width:"100%",borderBottomColor:r.palette.text.secondary,color:r.palette.text.secondary,borderBottomStyle:"solid",marginBottom:"6px",paddingBottom:"16px",height:"77.5px",cursor:"pointer",marginTop:"52px",position:"relative",...n,"&:nth-child(n+2)":{marginTop:"32px"},"&:hover":{borderBottomColor:r.palette.text.primary,color:r.palette.text.primary},[r.breakpoints.down("sm")]:{color:r.palette.text.primary,borderBottomColor:r.palette.text.primary}}}),rht=de(Rn,{shouldForwardProp:e=>e!=="isExternal"})(e=>{const{isExternal:t}=e;return{textDecoration:"none",color:"inherit","&:hover":{color:"inherit"},...t&&{paddingRight:"32px"}}}),nht=de(Jt)(()=>({fontSize:"18px",fontWeight:600,lineHeight:"18px",marginBottom:"6px",textDecoration:"none",color:"inherit","&:hover":{color:"inherit"}})),iht=de(Jt)(()=>({fontSize:"14px",fontWeight:400,lineHeight:"18px",textDecoration:"none",color:"inherit","&:hover":{color:"inherit"}})),oht=de(Yj)({position:"absolute",right:0,top:"50%",transform:"translateY(-50%)"}),pw=e=>{const{title:t,description:r,href:n,isExternal:i,eventTrackingName:o,onClickMenuOption:a}=e,s=F.useCallback(l=>{l.preventDefault(),a&&a(l,{eventTrackingName:o,url:n,isExternal:i}),setTimeout(()=>{window.open(n,i?"_blank":"_self","noopener")},a?300:0)},[a,o,n,i]);return u.jsx(tht,{isExternal:i,"aria-label":"submenu item",children:u.jsxs(rht,{href:n,onClick:s,isExternal:i,"aria-label":`${t} - ${i?"opens in new tab":"opens in same tab"}`,children:[u.jsx(nht,{"aria-label":t,children:t}),u.jsx(iht,{"aria-label":r,children:r}),i&&u.jsx(oht,{"aria-label":"external link icon"})]})})},aht="https://cdn.decentraland.org/@dcl/jump-site/0.4.3/assets/create-submenu-DEFVbrc5.png",sht="https://cdn.decentraland.org/@dcl/jump-site/0.4.3/assets/explore-submenu-KVl6Dc-h.png",lht="https://cdn.decentraland.org/@dcl/jump-site/0.4.3/assets/governance-submenu-CXxLX9nT.png",cht="https://cdn.decentraland.org/@dcl/jump-site/0.4.3/assets/learn-submenu-Xs1jOwfy.png",uht="https://cdn.decentraland.org/@dcl/jump-site/0.4.3/assets/marketplace-submenu-CjxTqNhj.png",dht=de(Pe)(e=>{const{theme:t}=e;return{[t.breakpoints.down("sm")]:{position:"absolute",zIndex:e3.modal}}}),fht=de(Pe,{shouldForwardProp:e=>!["active","section","isMobile"].includes(e)})(e=>{const{active:t,section:r,theme:n}=e;let i,o,a;const s={opacity:1,top:"-200%",width:"100%",backgroundSize:"100% 100%",backgroundPosition:"0px 0px, 0px 0px",position:"fixed",zIndex:1099,left:0,paddingLeft:"370px",paddingRight:"48px",height:"328px",minHeight:"calc(390px + 64px)",boxShadow:"none",backgroundRepeat:"no-repeat",display:"flex",alignItems:"center",paddingTop:"64px",backgroundColor:n.palette.background.default,transition:`${n.transitions.create(["box-shadow","height"],{duration:n.transitions.duration.shorter,easing:n.transitions.easing.easeInOut})}, ${n.transitions.create(["top","left"],{duration:n.transitions.duration.complex,easing:"cubic-bezier(1, 0, 0.15, 1)"})}`};switch(t&&(i={opacity:1,top:0,zIndex:1099,boxShadow:n.shadows[20]},o={left:0}),r){case Ga.MARKETPLACE:i={...i,backgroundImage:"radial-gradient(350px 200px at 400px 120%,#691fa933 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #691fa933 0%, #073aff00 100%)"},a={backgroundImage:`url(${uht})`};break;case Ga.CREATE:i={...i,backgroundImage:"radial-gradient(350px 200px at 400px 120%,#ff743933 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #ff743933 0%, #073aff00 100%)"},a={backgroundImage:`url(${aht})`};break;case Ga.EXPLORE:i={...i,backgroundImage:"radial-gradient(350px 200px at 400px 120%,#3dd0ff33 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #3dd0ff33 0%, #073aff00 100%)"},a={backgroundImage:`url(${sht})`};break;case Ga.LEARN:i={...i,backgroundImage:"radial-gradient(350px 200px at 400px 120%,#a6746433 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #a6746433 0%, #073aff00 100%)"},a={backgroundImage:`url(${cht})`};break;case Ga.GOVERNANCE:i={...i,backgroundImage:"radial-gradient(350px 200px at 400px 120%,#ff3dec33 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #ff3dec33 0%, #073aff00 100%)"},a={backgroundImage:`url(${lht})`};break}return{...s,...i,"&::after":{content:'""',position:"absolute",width:"370px",height:"calc(100% - 64px)",top:"64px",backgroundRepeat:"no-repeat",backgroundPosition:"bottom center",left:0,backgroundSize:"auto 90%",...a,[n.breakpoints.between("sm","lg")]:{backgroundImage:"none"}},[n.breakpoints.down("lg")]:{paddingLeft:"48px","&::after":{content:"none"}},[n.breakpoints.down("sm")]:{top:"64px",left:"150%",height:"100vh",padding:"0 25px",margin:0,alignItems:"flex-start",boxShadow:"none",backgroundColor:n.palette.background.default,...o,"&::after":{content:"none"}}}}),pht=de(Pe)(e=>{const{theme:t}=e;return{width:"100%",display:"flex",alignItems:"flex-start",height:"fit-content",[t.breakpoints.down("sm")]:{flexDirection:"column"}}}),hht=de(Cn)({padding:"0"}),mW=e=>{const{selectedMenu:t,onToggleShowSubMenu:r,onClickMenuOption:n,isMobile:i,submenus:o}=e;return u.jsx(dht,{children:Object.keys(o).map(a=>{const s=a,l=o[s];return u.jsx(fht,{onMouseEnter:c=>!i&&r(c,!0,s),onMouseLeave:c=>!i&&r(c,!1,s),active:t===s,section:s,isMobile:i,"aria-label":`${s.toLowerCase()} submenu section`,children:u.jsxs(pht,{children:[i&&u.jsx(hht,{variant:"text",color:"inherit",onClick:c=>r(c,!1,s),startIcon:u.jsx(TN,{}),"aria-label":"back to main menu",children:"Back"}),u.jsx(fw,{title:l.column1Title,children:l.column1.map((c,d)=>u.jsx(pw,{isExternal:c.isExternal,title:c.title,description:c.description,href:c.url,eventTrackingName:c.eventTrackingName,onClickMenuOption:n},d))}),u.jsx(fw,{title:l.column2Title,children:l.column2.map((c,d)=>u.jsx(pw,{isExternal:c.isExternal,title:c.title,description:c.description,href:c.url,eventTrackingName:c.eventTrackingName,onClickMenuOption:n},d))}),!!l.column3&&u.jsx(fw,{title:l.column3Title,children:l.column3.map((c,d)=>u.jsx(pw,{isExternal:c.isExternal,title:c.title,description:c.description,href:c.url,eventTrackingName:c.eventTrackingName,onClickMenuOption:n},d))})]})},a)})})},mht=de(T3e,{shouldForwardProp:e=>!["isSubmenuOpen","isMobileOpen"].includes(e)})(e=>{const{isSubmenuOpen:t,isMobileOpen:r}=e;let n;return(t||r)&&(n={boxShadow:"none",backgroundImage:"none"}),{...n}}),gW=de(Rn,{shouldForwardProp:e=>e!=="isMobile"})(e=>{const{isMobile:t}=e;let r;return t&&(r={zIndex:e3.appBar}),{height:"36px",...r}}),ght=de(Pe)(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",[e.breakpoints.down("sm")]:{display:"none"}})),yht=de(Pe)({display:"flex",justifyContent:"space-between",width:"100%",alignItems:"center",height:"66px"}),vht=de(Pe)({width:"85px",display:"flex",alignItems:"center",height:"66px",justifyContent:"space-between"}),bht=de(Pe)({display:"flex",alignItems:"center"}),_ht=de(Cn)({height:"32px",width:"32px",minWidth:"32px",position:"relative",padding:0,"&:hover":{backgroundColor:"transparent"}}),yW=de("span",{shouldForwardProp:e=>e!=="isOpen"&&e!=="active"})(e=>{const{isOpen:t,theme:r}=e;let n;return t&&(n={"&:nth-of-type(1)":{top:"50%",left:"50%",transform:"translate(-50%, -50%) rotate(45deg)",width:"33.94px"},"&:nth-of-type(2)":{top:"50%",left:"50%",transform:"translate(-50%, -50%) rotate(-45deg)",width:"33.94px"}}),{transition:"all 0.3s ease",height:"2px",width:"100%",backgroundColor:r.palette.text.primary,position:"absolute","&:nth-of-type(1)":{top:"8px",left:0},"&:nth-of-type(2)":{top:"21px",left:0},...n}}),Eht=de(x8)(()=>({"& .MuiBackdrop-root.MuiModal-backdrop":{backgroundColor:"transparent"}})),vW=de(Gue)(({theme:e})=>({width:e.spacing(4.5),height:e.spacing(4.5),[e.breakpoints.down("sm")]:{width:e.spacing(4),height:e.spacing(4)}})),xht=ve.memo(e=>{const{activePage:t,chains:r,chainBeingConfirmed:n,onSelectChain:i,selectedChain:o,isSignedIn:a,i18nNavbar:s=mdt,i18nUserMenu:l=Yue,i18nChainSelector:c=gdt,submenuItems:d=ydt,onClickNavbarItem:f,...p}=e,[m,v]=F.useState(!1),[g,b]=F.useState(),[h,y]=F.useState(!1),w=T3(),T=F.useCallback((U,D,q)=>{v(D),b(D&&q)},[v,b]),R=F.useCallback((U,D)=>{f&&f(U,D)},[f]),S=F.useCallback((U,D)=>{D||v(!1),y(D)},[v,y]),I=F.useCallback((U,D)=>{p.onClickOpen&&p.onClickOpen(U,D),S(U,!1)},[p.onClickOpen,S]);return u.jsxs(u.Fragment,{children:[u.jsx(mht,{isSubmenuOpen:m,isMobileOpen:h,"aria-label":"navigation bar",children:u.jsx(S6e,{children:u.jsxs(yht,{children:[u.jsx(wqe,{children:u.jsxs(vht,{children:[u.jsx(gW,{isMobile:!0,href:"https://decentraland.org","aria-label":"Decentraland home",children:u.jsx(vW,{})}),u.jsxs(_ht,{"aria-label":"toggle menu",onClick:U=>S(U,!h),children:[u.jsx(yW,{isOpen:h,"aria-label":"menu bar"}),u.jsx(yW,{isOpen:h,"aria-label":"menu bar"})]})]})}),u.jsxs(ght,{children:[u.jsx(gW,{href:"https://decentraland.org","aria-label":"Decentraland home",children:u.jsx(vW,{})}),u.jsx(Kq,{activePage:t,onToggleShowSubMenu:T,i18n:s,isMobile:!1,"aria-label":"main navigation menu"})]}),u.jsxs(bht,{children:[a&&i&&(r!=null&&r.length)&&o?u.jsx(gWe,{chains:r,selectedChain:o,chainBeingConfirmed:n,i18n:c,onSelectChain:i,"aria-label":"blockchain network selector"}):null,u.jsx(Z0t,{...p,onClickOpen:w?I:p.onClickOpen,isSignedIn:a,i18n:l,"aria-label":"user menu"})]})]})})}),u.jsx(mW,{selectedMenu:g,onToggleShowSubMenu:T,onClickMenuOption:R,submenus:d,"aria-label":"submenu navigation"}),u.jsx(Eht,{open:w&&h,onClose:U=>S(U,!1),"aria-label":"mobile menu",children:u.jsxs(u.Fragment,{children:[u.jsx(Kq,{activePage:t,onToggleShowSubMenu:T,isOpenOnMobile:h,i18n:s,isMobile:!0,"aria-label":"main mobile navigation menu"}),u.jsx(mW,{selectedMenu:g,onToggleShowSubMenu:T,onClickMenuOption:R,isMobile:w,submenus:d,"aria-label":"mobile submenu navigation"})]})})]})});var sde={},qm={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return t}});var t=function(r){return r.DOCUMENT="document",r.PARAGRAPH="paragraph",r.HEADING_1="heading-1",r.HEADING_2="heading-2",r.HEADING_3="heading-3",r.HEADING_4="heading-4",r.HEADING_5="heading-5",r.HEADING_6="heading-6",r.OL_LIST="ordered-list",r.UL_LIST="unordered-list",r.LIST_ITEM="list-item",r.HR="hr",r.QUOTE="blockquote",r.EMBEDDED_ENTRY="embedded-entry-block",r.EMBEDDED_ASSET="embedded-asset-block",r.EMBEDDED_RESOURCE="embedded-resource-block",r.TABLE="table",r.TABLE_ROW="table-row",r.TABLE_CELL="table-cell",r.TABLE_HEADER_CELL="table-header-cell",r}({})})(qm);var J3={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return t}});var t=function(r){return r.ASSET_HYPERLINK="asset-hyperlink",r.EMBEDDED_ENTRY="embedded-entry-inline",r.EMBEDDED_RESOURCE="embedded-resource-inline",r.ENTRY_HYPERLINK="entry-hyperlink",r.HYPERLINK="hyperlink",r.RESOURCE_HYPERLINK="resource-hyperlink",r}({})})(J3);var Zj={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return t}});var t=function(r){return r.BOLD="bold",r.ITALIC="italic",r.UNDERLINE="underline",r.CODE="code",r.SUPERSCRIPT="superscript",r.SUBSCRIPT="subscript",r.STRIKETHROUGH="strikethrough",r}({})})(Zj);var Jj={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(S,I){for(var U in I)Object.defineProperty(S,U,{enumerable:!0,get:Object.getOwnPropertyDescriptor(I,U).get})}t(e,{get CONTAINERS(){return h},get HEADINGS(){return y},get LIST_ITEM_BLOCKS(){return m},get TABLE_BLOCKS(){return v},get TEXT_CONTAINERS(){return w},get TOP_LEVEL_BLOCKS(){return p},get V1_MARKS(){return R},get V1_NODE_TYPES(){return T},get VOID_BLOCKS(){return g}});var r=qm,n=J3,i=Zj;function o(S,I){(I==null||I>S.length)&&(I=S.length);for(var U=0,D=new Array(I);U<I;U++)D[U]=S[U];return D}function a(S){if(Array.isArray(S))return o(S)}function s(S,I,U){return I in S?Object.defineProperty(S,I,{value:U,enumerable:!0,configurable:!0,writable:!0}):S[I]=U,S}function l(S){if(typeof Symbol<"u"&&S[Symbol.iterator]!=null||S["@@iterator"]!=null)return Array.from(S)}function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(S){return a(S)||l(S)||f(S)||c()}function f(S,I){if(S){if(typeof S=="string")return o(S,I);var U=Object.prototype.toString.call(S).slice(8,-1);if(U==="Object"&&S.constructor&&(U=S.constructor.name),U==="Map"||U==="Set")return Array.from(U);if(U==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(U))return o(S,I)}}var p=[r.BLOCKS.PARAGRAPH,r.BLOCKS.HEADING_1,r.BLOCKS.HEADING_2,r.BLOCKS.HEADING_3,r.BLOCKS.HEADING_4,r.BLOCKS.HEADING_5,r.BLOCKS.HEADING_6,r.BLOCKS.OL_LIST,r.BLOCKS.UL_LIST,r.BLOCKS.HR,r.BLOCKS.QUOTE,r.BLOCKS.EMBEDDED_ENTRY,r.BLOCKS.EMBEDDED_ASSET,r.BLOCKS.EMBEDDED_RESOURCE,r.BLOCKS.TABLE],m=[r.BLOCKS.PARAGRAPH,r.BLOCKS.HEADING_1,r.BLOCKS.HEADING_2,r.BLOCKS.HEADING_3,r.BLOCKS.HEADING_4,r.BLOCKS.HEADING_5,r.BLOCKS.HEADING_6,r.BLOCKS.OL_LIST,r.BLOCKS.UL_LIST,r.BLOCKS.HR,r.BLOCKS.QUOTE,r.BLOCKS.EMBEDDED_ENTRY,r.BLOCKS.EMBEDDED_ASSET,r.BLOCKS.EMBEDDED_RESOURCE],v=[r.BLOCKS.TABLE,r.BLOCKS.TABLE_ROW,r.BLOCKS.TABLE_CELL,r.BLOCKS.TABLE_HEADER_CELL],g=[r.BLOCKS.HR,r.BLOCKS.EMBEDDED_ENTRY,r.BLOCKS.EMBEDDED_ASSET,r.BLOCKS.EMBEDDED_RESOURCE],b,h=(b={},s(b,r.BLOCKS.OL_LIST,[r.BLOCKS.LIST_ITEM]),s(b,r.BLOCKS.UL_LIST,[r.BLOCKS.LIST_ITEM]),s(b,r.BLOCKS.LIST_ITEM,m),s(b,r.BLOCKS.QUOTE,[r.BLOCKS.PARAGRAPH]),s(b,r.BLOCKS.TABLE,[r.BLOCKS.TABLE_ROW]),s(b,r.BLOCKS.TABLE_ROW,[r.BLOCKS.TABLE_CELL,r.BLOCKS.TABLE_HEADER_CELL]),s(b,r.BLOCKS.TABLE_CELL,[r.BLOCKS.PARAGRAPH,r.BLOCKS.UL_LIST,r.BLOCKS.OL_LIST]),s(b,r.BLOCKS.TABLE_HEADER_CELL,[r.BLOCKS.PARAGRAPH]),b),y=[r.BLOCKS.HEADING_1,r.BLOCKS.HEADING_2,r.BLOCKS.HEADING_3,r.BLOCKS.HEADING_4,r.BLOCKS.HEADING_5,r.BLOCKS.HEADING_6],w=[r.BLOCKS.PARAGRAPH].concat(d(y)),T=[r.BLOCKS.DOCUMENT,r.BLOCKS.PARAGRAPH,r.BLOCKS.HEADING_1,r.BLOCKS.HEADING_2,r.BLOCKS.HEADING_3,r.BLOCKS.HEADING_4,r.BLOCKS.HEADING_5,r.BLOCKS.HEADING_6,r.BLOCKS.OL_LIST,r.BLOCKS.UL_LIST,r.BLOCKS.LIST_ITEM,r.BLOCKS.HR,r.BLOCKS.QUOTE,r.BLOCKS.EMBEDDED_ENTRY,r.BLOCKS.EMBEDDED_ASSET,n.INLINES.HYPERLINK,n.INLINES.ENTRY_HYPERLINK,n.INLINES.ASSET_HYPERLINK,n.INLINES.EMBEDDED_ENTRY,"text"],R=[i.MARKS.BOLD,i.MARKS.CODE,i.MARKS.ITALIC,i.MARKS.UNDERLINE]})(Jj);var lde={};Object.defineProperty(lde,"__esModule",{value:!0});var cde={};Object.defineProperty(cde,"__esModule",{value:!0});var ude={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return r}});var t=qm,r={nodeType:t.BLOCKS.DOCUMENT,data:{},content:[{nodeType:t.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}})(ude);var dde={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(h,y){for(var w in y)Object.defineProperty(h,w,{enumerable:!0,get:Object.getOwnPropertyDescriptor(y,w).get})}t(e,{get isBlock(){return f},get isEmptyParagraph(){return m},get isInline(){return d},get isText(){return p},get stripEmptyTrailingParagraphFromDocument(){return b}});var r=qm,n=J3;function i(h,y,w){return y in h?Object.defineProperty(h,y,{value:w,enumerable:!0,configurable:!0,writable:!0}):h[y]=w,h}function o(h){for(var y=1;y<arguments.length;y++){var w=arguments[y]!=null?arguments[y]:{},T=Object.keys(w);typeof Object.getOwnPropertySymbols=="function"&&(T=T.concat(Object.getOwnPropertySymbols(w).filter(function(R){return Object.getOwnPropertyDescriptor(w,R).enumerable}))),T.forEach(function(R){i(h,R,w[R])})}return h}function a(h,y){var w=Object.keys(h);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(h);w.push.apply(w,T)}return w}function s(h,y){return y=y??{},Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(y)):a(Object(y)).forEach(function(w){Object.defineProperty(h,w,Object.getOwnPropertyDescriptor(y,w))}),h}function l(h){"@swc/helpers - typeof";return h&&typeof Symbol<"u"&&h.constructor===Symbol?"symbol":typeof h}function c(h,y){var w=!0,T=!1,R=void 0;try{for(var S=Object.keys(h)[Symbol.iterator](),I;!(w=(I=S.next()).done);w=!0){var U=I.value;if(y===h[U])return!0}}catch(D){T=!0,R=D}finally{try{!w&&S.return!=null&&S.return()}finally{if(T)throw R}}return!1}function d(h){return c(n.INLINES,h.nodeType)}function f(h){return c(r.BLOCKS,h.nodeType)}function p(h){return h.nodeType==="text"}function m(h){if(h.nodeType!==r.BLOCKS.PARAGRAPH||h.content.length!==1)return!1;var y=h.content[0];return y.nodeType==="text"&&y.value===""}function v(h){return h!=null&&(typeof h>"u"?"undefined":l(h))==="object"&&"content"in h&&Array.isArray(h.content)}var g=2;function b(h){if(!v(h)||h.content.length<g)return h;var y=h.content[h.content.length-1];return m(y)?s(o({},h),{content:h.content.slice(0,-1)}):h}})(dde);var fde={},p_={},wht=e=>{if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype},pde={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(v,g){for(var b in g)Object.defineProperty(v,b,{enumerable:!0,get:Object.getOwnPropertyDescriptor(g,b).get})}t(e,{get enumError(){return f},get maxSizeError(){return d},get minSizeError(){return c},get requiredPropertyError(){return m},get typeMismatchError(){return l},get unknownPropertyError(){return p}});function r(v,g){(g==null||g>v.length)&&(g=v.length);for(var b=0,h=new Array(g);b<g;b++)h[b]=v[b];return h}function n(v){if(Array.isArray(v))return r(v)}function i(v){if(typeof Symbol<"u"&&v[Symbol.iterator]!=null||v["@@iterator"]!=null)return Array.from(v)}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(v){return n(v)||i(v)||s(v)||o()}function s(v,g){if(v){if(typeof v=="string")return r(v,g);var b=Object.prototype.toString.call(v).slice(8,-1);if(b==="Object"&&v.constructor&&(b=v.constructor.name),b==="Map"||b==="Set")return Array.from(b);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return r(v,g)}}var l=function(v){var g=v.path,b=v.property,h=v.typeName,y=v.value;return{details:'The type of "'.concat(b,'" is incorrect, expected type: ').concat(h),name:"type",path:g.toArray(),type:h,value:y}},c=function(v){var g=v.min,b=v.value,h=v.path;return{name:"size",min:g,path:h.toArray(),details:"Size must be at least ".concat(g),value:b}},d=function(v){var g=v.max,b=v.value,h=v.path;return{name:"size",max:g,path:h.toArray(),details:"Size must be at most ".concat(g),value:b}},f=function(v){var g=v.expected,b=v.value,h=v.path;return{details:"Value must be one of expected values",name:"in",expected:a(g).sort(),path:h.toArray(),value:b}},p=function(v){var g=v.property,b=v.path;return{details:'The property "'.concat(g,'" is not expected'),name:"unexpected",path:b.toArray()}},m=function(v){var g=v.property,b=v.path;return{details:'The property "'.concat(g,'" is required here'),name:"required",path:b.toArray()}}})(pde);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ObjectAssertion",{enumerable:!0,get:function(){return v}});var t=c(wht),r=pde;function n(g,b){(b==null||b>g.length)&&(b=g.length);for(var h=0,y=new Array(b);h<b;h++)y[h]=g[h];return y}function i(g){if(Array.isArray(g))return n(g)}function o(g,b){if(!(g instanceof b))throw new TypeError("Cannot call a class as a function")}function a(g,b){for(var h=0;h<b.length;h++){var y=b[h];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(g,y.key,y)}}function s(g,b,h){return b&&a(g.prototype,b),g}function l(g,b,h){return b in g?Object.defineProperty(g,b,{value:h,enumerable:!0,configurable:!0,writable:!0}):g[b]=h,g}function c(g){return g&&g.__esModule?g:{default:g}}function d(g){if(typeof Symbol<"u"&&g[Symbol.iterator]!=null||g["@@iterator"]!=null)return Array.from(g)}function f(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(g){return i(g)||d(g)||m(g)||f()}function m(g,b){if(g){if(typeof g=="string")return n(g,b);var h=Object.prototype.toString.call(g).slice(8,-1);if(h==="Object"&&g.constructor&&(h=g.constructor.name),h==="Map"||h==="Set")return Array.from(h);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return n(g,b)}}var v=function(){function g(b,h){var y=this,w=this;o(this,g),l(this,"obj",void 0),l(this,"path",void 0),l(this,"_errors",void 0),l(this,"catch",void 0),l(this,"exists",void 0),l(this,"object",void 0),l(this,"string",void 0),l(this,"number",void 0),l(this,"array",void 0),l(this,"enum",void 0),l(this,"empty",void 0),l(this,"minLength",void 0),l(this,"noAdditionalProperties",void 0),l(this,"each",void 0),this.obj=b,this.path=h,this._errors=[],this.catch=function(){for(var T=arguments.length,R=new Array(T),S=0;S<T;S++)R[S]=arguments[S];var I;(I=w._errors).push.apply(I,p(R))},this.exists=function(T){return T in y.obj?!0:(y.catch((0,r.requiredPropertyError)({property:T,path:y.path.of(T)})),!1)},this.object=function(T){var R=T?y.obj[T]:y.obj;if(T&&!y.exists(T))return!1;if((0,t.default)(R))return!0;var S=T?y.path.of(T):y.path,I,U=(I=T??y.path.last())!==null&&I!==void 0?I:"value";return y.catch((0,r.typeMismatchError)({typeName:"Object",property:U,path:S,value:R})),!1},this.string=function(T){var R=y.obj[T];return T&&!y.exists(T)?!1:typeof R=="string"?!0:(y.catch((0,r.typeMismatchError)({typeName:"String",property:T,path:y.path.of(T),value:R})),!1)},this.number=function(T,R){var S=y.obj[T];return R&&!(T in y.obj)?!0:y.exists(T)?typeof S=="number"&&!Number.isNaN(S)?!0:(y.catch((0,r.typeMismatchError)({typeName:"Number",property:T,path:y.path.of(T),value:S})),!1):!1},this.array=function(T){var R=y.obj[T];return T&&!y.exists(T)?!1:Array.isArray(R)?!0:(y.catch((0,r.typeMismatchError)({typeName:"Array",property:T,path:y.path.of(T),value:R})),!1)},this.enum=function(T,R){var S=y.obj[T];return typeof S=="string"&&R.includes(S)?!0:(y.catch((0,r.enumError)({expected:R,value:S,path:y.path.of(T)})),!1)},this.empty=function(T){if(!y.array(T))return!1;var R=y.obj[T];return R.length===0?!0:(y.catch((0,r.maxSizeError)({max:0,value:R,path:y.path.of(T)})),!1)},this.minLength=function(T,R){if(!y.array(T))return!1;var S=y.obj[T];return S.length>=R?!0:(y.catch((0,r.minSizeError)({min:R,value:S,path:y.path.of(T)})),!1)},this.noAdditionalProperties=function(T){var R=Object.keys(y.obj).sort().filter(function(S){return!T.includes(S)});return R.forEach(function(S){return y.catch((0,r.unknownPropertyError)({property:S,path:y.path.of(S)}))}),R.length===0},this.each=function(T,R){if(y.array(T)){var S=y.obj[T],I=!1;S.forEach(function(U,D){if(!I){var q=R(U,y.path.of(T).of(D));q.length>0&&(I=!0),y.catch.apply(y,p(q))}})}}}return s(g,[{key:"errors",get:function(){var h=this,y=function(w){return JSON.stringify({details:w.details,path:w.path})};return this._errors.filter(function(w,T){return h._errors.findIndex(function(R){return y(w)===y(R)})===T})}}]),g}()})(p_);var hde={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(W,J){for(var $ in J)Object.defineProperty(W,$,{enumerable:!0,get:Object.getOwnPropertyDescriptor(J,$).get})}t(e,{get EntityLinkAssertion(){return I},get HyperLinkAssertion(){return U},get NodeAssertion(){return S},get VOID_CONTENT(){return R},get assert(){return D},get assertLink(){return q}});var r=p_;function n(W,J){(J==null||J>W.length)&&(J=W.length);for(var $=0,M=new Array(J);$<J;$++)M[$]=W[$];return M}function i(W){if(Array.isArray(W))return n(W)}function o(W){if(W===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return W}function a(W,J,$){return J=f(J),g(W,T()?Reflect.construct(J,$||[],f(W).constructor):J.apply(W,$))}function s(W,J){if(!(W instanceof J))throw new TypeError("Cannot call a class as a function")}function l(W,J){for(var $=0;$<J.length;$++){var M=J[$];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(W,M.key,M)}}function c(W,J,$){return J&&l(W.prototype,J),W}function d(W,J,$){return J in W?Object.defineProperty(W,J,{value:$,enumerable:!0,configurable:!0,writable:!0}):W[J]=$,W}function f(W){return f=Object.setPrototypeOf?Object.getPrototypeOf:function($){return $.__proto__||Object.getPrototypeOf($)},f(W)}function p(W,J){if(typeof J!="function"&&J!==null)throw new TypeError("Super expression must either be null or a function");W.prototype=Object.create(J&&J.prototype,{constructor:{value:W,writable:!0,configurable:!0}}),J&&b(W,J)}function m(W){if(typeof Symbol<"u"&&W[Symbol.iterator]!=null||W["@@iterator"]!=null)return Array.from(W)}function v(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(W,J){return J&&(y(J)==="object"||typeof J=="function")?J:o(W)}function b(W,J){return b=Object.setPrototypeOf||function(M,O){return M.__proto__=O,M},b(W,J)}function h(W){return i(W)||m(W)||w(W)||v()}function y(W){"@swc/helpers - typeof";return W&&typeof Symbol<"u"&&W.constructor===Symbol?"symbol":typeof W}function w(W,J){if(W){if(typeof W=="string")return n(W,J);var $=Object.prototype.toString.call(W).slice(8,-1);if($==="Object"&&W.constructor&&($=W.constructor.name),$==="Map"||$==="Set")return Array.from($);if($==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($))return n(W,J)}}function T(){try{var W=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(T=function(){return!!W})()}var R=[],S=function(){function W(J,$){s(this,W),d(this,"contentRule",void 0),d(this,"validateData",void 0),this.contentRule=J,this.validateData=$}return c(W,[{key:"assert",value:function($,M){var O=new r.ObjectAssertion($,M);if(!O.object())return O.errors;O.noAdditionalProperties(["nodeType","data","content"]);var N=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule($,M),H=N.nodeTypes,V=N.min,K=V===void 0?0:V;if(H.length===0&&K>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(K," with no nodeTypes"));if(O.minLength("content",K),H.length===0?O.empty("content"):O.each("content",function(_,P){var G=new r.ObjectAssertion(_,P);return G.object()&&G.enum("nodeType",H),G.errors}),O.object("data")){var j,A,x,C,E=(C=(A=(x=this).validateData)===null||A===void 0?void 0:A.call(x,$.data,M.of("data")))!==null&&C!==void 0?C:[];(j=O).catch.apply(j,h(E))}return O.errors}}]),W}(),I=function(W){p(J,W);function J($,M){s(this,J);var O;return O=a(this,J,[M,function(N,H){return o(O).assertLink(N,H)}]),d(O,"linkType",void 0),d(O,"type",void 0),d(O,"assertLink",void 0),O.linkType=$,O.assertLink=function(N,H){var V=new r.ObjectAssertion(N,H);if(V.object("target")){var K,j=new r.ObjectAssertion(N.target.sys,H.of("target").of("sys"));j.object()&&(j.enum("type",[O.type]),j.enum("linkType",[O.linkType]),O.type==="Link"?(j.string("id"),j.noAdditionalProperties(["type","linkType","id"])):O.type==="ResourceLink"&&(j.string("urn"),j.noAdditionalProperties(["type","linkType","urn"]))),(K=V).catch.apply(K,h(j.errors))}return V.noAdditionalProperties(["target"]),V.errors},O.type=O.linkType.startsWith("Contentful:")?"ResourceLink":"Link",O}return J}(S),U=function(W){p(J,W);function J(){s(this,J);var $;return $=a(this,J,[["text"],function(M,O){return o($).assertLink(M,O)}]),d($,"assertLink",function(M,O){var N=new r.ObjectAssertion(M,O);return N.string("uri"),N.noAdditionalProperties(["uri"]),N.errors}),$}return J}(S),D=function(W,J){return new S(W,J)},q=function(W,J){return new I(W,J)}})(hde);var mde={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return c}});function t(d,f){(f==null||f>d.length)&&(f=d.length);for(var p=0,m=new Array(f);p<f;p++)m[p]=d[p];return m}function r(d){if(Array.isArray(d))return t(d)}function n(d,f){if(!(d instanceof f))throw new TypeError("Cannot call a class as a function")}function i(d,f,p){return f in d?Object.defineProperty(d,f,{value:p,enumerable:!0,configurable:!0,writable:!0}):d[f]=p,d}function o(d){if(typeof Symbol<"u"&&d[Symbol.iterator]!=null||d["@@iterator"]!=null)return Array.from(d)}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(d){return r(d)||o(d)||l(d)||a()}function l(d,f){if(d){if(typeof d=="string")return t(d,f);var p=Object.prototype.toString.call(d).slice(8,-1);if(p==="Object"&&d.constructor&&(p=d.constructor.name),p==="Map"||p==="Set")return Array.from(p);if(p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p))return t(d,f)}}var c=function d(){var f=this,p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];n(this,d),i(this,"path",void 0),i(this,"of",void 0),i(this,"isRoot",void 0),i(this,"last",void 0),i(this,"toArray",void 0),this.path=p,this.of=function(m){return new d(s(f.path).concat([m]))},this.isRoot=function(){return f.path.length===0},this.last=function(){return f.path[f.path.length-1]},this.toArray=function(){return f.path}}})(mde);var gde={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assertText",{enumerable:!0,get:function(){return r}});var t=p_;function r(n,i){var o=new t.ObjectAssertion(n,i);return o.object()&&(o.noAdditionalProperties(["nodeType","data","value","marks"]),o.object("data"),o.each("marks",function(a,s){var l=new t.ObjectAssertion(a,s);return l.object()&&l.string("type"),l.errors}),o.string("value")),o.errors}})(gde);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"validateRichTextDocument",{enumerable:!0,get:function(){return S}});var t=qm,r=J3,n=Jj,i=p_,o=hde,a=mde,s=gde;function l(I,U){(U==null||U>I.length)&&(U=I.length);for(var D=0,q=new Array(U);D<U;D++)q[D]=I[D];return q}function c(I){if(Array.isArray(I))return l(I)}function d(I,U,D){return U in I?Object.defineProperty(I,U,{value:D,enumerable:!0,configurable:!0,writable:!0}):I[U]=D,I}function f(I){if(typeof Symbol<"u"&&I[Symbol.iterator]!=null||I["@@iterator"]!=null)return Array.from(I)}function p(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(I){return c(I)||f(I)||v(I)||p()}function v(I,U){if(I){if(typeof I=="string")return l(I,U);var D=Object.prototype.toString.call(I).slice(8,-1);if(D==="Object"&&I.constructor&&(D=I.constructor.name),D==="Map"||D==="Set")return Array.from(D);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return l(I,U)}}var g=(0,o.assert)(m(Object.values(r.INLINES)).concat(["text"]).sort()),b=(0,o.assert)([t.BLOCKS.LIST_ITEM]),h=(0,o.assertLink)("Entry",o.VOID_CONTENT),y=(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.PARAGRAPH],min:1}},function(I,U){var D=new i.ObjectAssertion(I,U);return D.noAdditionalProperties(["colspan","rowspan"]),D.number("colspan",!0),D.number("rowspan",!0),D.errors}),w,T=(w={},d(w,t.BLOCKS.DOCUMENT,(0,o.assert)(n.TOP_LEVEL_BLOCKS)),d(w,t.BLOCKS.PARAGRAPH,g),d(w,t.BLOCKS.HEADING_1,g),d(w,t.BLOCKS.HEADING_2,g),d(w,t.BLOCKS.HEADING_3,g),d(w,t.BLOCKS.HEADING_4,g),d(w,t.BLOCKS.HEADING_5,g),d(w,t.BLOCKS.HEADING_6,g),d(w,t.BLOCKS.QUOTE,(0,o.assert)(n.CONTAINERS[t.BLOCKS.QUOTE])),d(w,t.BLOCKS.EMBEDDED_ENTRY,h),d(w,t.BLOCKS.EMBEDDED_ASSET,(0,o.assertLink)("Asset",o.VOID_CONTENT)),d(w,t.BLOCKS.EMBEDDED_RESOURCE,(0,o.assertLink)("Contentful:Entry",o.VOID_CONTENT)),d(w,t.BLOCKS.HR,(0,o.assert)(o.VOID_CONTENT)),d(w,t.BLOCKS.OL_LIST,b),d(w,t.BLOCKS.UL_LIST,b),d(w,t.BLOCKS.LIST_ITEM,(0,o.assert)(m(n.LIST_ITEM_BLOCKS).sort())),d(w,t.BLOCKS.TABLE,(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_ROW],min:1}})),d(w,t.BLOCKS.TABLE_ROW,(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],min:1}})),d(w,t.BLOCKS.TABLE_CELL,y),d(w,t.BLOCKS.TABLE_HEADER_CELL,y),d(w,r.INLINES.HYPERLINK,new o.HyperLinkAssertion),d(w,r.INLINES.EMBEDDED_ENTRY,h),d(w,r.INLINES.EMBEDDED_RESOURCE,(0,o.assertLink)("Contentful:Entry",o.VOID_CONTENT)),d(w,r.INLINES.ENTRY_HYPERLINK,(0,o.assertLink)("Entry",["text"])),d(w,r.INLINES.ASSET_HYPERLINK,(0,o.assertLink)("Asset",["text"])),d(w,r.INLINES.RESOURCE_HYPERLINK,(0,o.assertLink)("Contentful:Entry",["text"])),w);function R(I,U){if(I.nodeType==="text")return(0,s.assertText)(I,U);var D=T[I.nodeType].assert(I,U);if(D.length>0)return D;var q=new i.ObjectAssertion(I,U);return q.each("content",function(W,J){return R(W,J)}),q.errors}var S=function(I){var U=new a.Path,D=new i.ObjectAssertion(I,U);return D.object()&&D.enum("nodeType",[t.BLOCKS.DOCUMENT]),D.errors.length>0?D.errors:R(I,U)}})(fde);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(f,p){for(var m in p)Object.defineProperty(f,m,{enumerable:!0,get:Object.getOwnPropertyDescriptor(p,m).get})}t(e,{get BLOCKS(){return r.BLOCKS},get EMPTY_DOCUMENT(){return o.EMPTY_DOCUMENT},get INLINES(){return n.INLINES},get MARKS(){return i.MARKS},get helpers(){return a},get validateRichTextDocument(){return s.validateRichTextDocument}});var r=qm,n=J3,i=Zj;l(Jj,e),l(lde,e),l(cde,e);var o=ude,a=d(dde),s=fde;function l(f,p){return Object.keys(f).forEach(function(m){m!=="default"&&!Object.prototype.hasOwnProperty.call(p,m)&&Object.defineProperty(p,m,{enumerable:!0,get:function(){return f[m]}})}),f}function c(f){if(typeof WeakMap!="function")return null;var p=new WeakMap,m=new WeakMap;return(c=function(v){return v?m:p})(f)}function d(f,p){if(f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var m=c(p);if(m&&m.has(f))return m.get(f);var v={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in f)if(b!=="default"&&Object.prototype.hasOwnProperty.call(f,b)){var h=g?Object.getOwnPropertyDescriptor(f,b):null;h&&(h.get||h.set)?Object.defineProperty(v,b,h):v[b]=f[b]}return v.default=f,m&&m.set(f,v),v}})(sde);var wn=F,Jr=sde;var Ln,qc;Ln={},Ln[Jr.BLOCKS.DOCUMENT]=function(e,t){return t},Ln[Jr.BLOCKS.PARAGRAPH]=function(e,t){return wn.createElement("p",null,t)},Ln[Jr.BLOCKS.HEADING_1]=function(e,t){return wn.createElement("h1",null,t)},Ln[Jr.BLOCKS.HEADING_2]=function(e,t){return wn.createElement("h2",null,t)},Ln[Jr.BLOCKS.HEADING_3]=function(e,t){return wn.createElement("h3",null,t)},Ln[Jr.BLOCKS.HEADING_4]=function(e,t){return wn.createElement("h4",null,t)},Ln[Jr.BLOCKS.HEADING_5]=function(e,t){return wn.createElement("h5",null,t)},Ln[Jr.BLOCKS.HEADING_6]=function(e,t){return wn.createElement("h6",null,t)},Ln[Jr.BLOCKS.EMBEDDED_ENTRY]=function(e,t){return wn.createElement("div",null,t)},Ln[Jr.BLOCKS.EMBEDDED_RESOURCE]=function(e,t){return wn.createElement("div",null,t)},Ln[Jr.BLOCKS.UL_LIST]=function(e,t){return wn.createElement("ul",null,t)},Ln[Jr.BLOCKS.OL_LIST]=function(e,t){return wn.createElement("ol",null,t)},Ln[Jr.BLOCKS.LIST_ITEM]=function(e,t){return wn.createElement("li",null,t)},Ln[Jr.BLOCKS.QUOTE]=function(e,t){return wn.createElement("blockquote",null,t)},Ln[Jr.BLOCKS.HR]=function(){return wn.createElement("hr",null)},Ln[Jr.BLOCKS.TABLE]=function(e,t){return wn.createElement("table",null,wn.createElement("tbody",null,t))},Ln[Jr.BLOCKS.TABLE_ROW]=function(e,t){return wn.createElement("tr",null,t)},Ln[Jr.BLOCKS.TABLE_HEADER_CELL]=function(e,t){return wn.createElement("th",null,t)},Ln[Jr.BLOCKS.TABLE_CELL]=function(e,t){return wn.createElement("td",null,t)},Ln[Jr.INLINES.ASSET_HYPERLINK]=function(e){return hw(Jr.INLINES.ASSET_HYPERLINK,e)},Ln[Jr.INLINES.ENTRY_HYPERLINK]=function(e){return hw(Jr.INLINES.ENTRY_HYPERLINK,e)},Ln[Jr.INLINES.RESOURCE_HYPERLINK]=function(e){return bW(Jr.INLINES.RESOURCE_HYPERLINK,e)},Ln[Jr.INLINES.EMBEDDED_ENTRY]=function(e){return hw(Jr.INLINES.EMBEDDED_ENTRY,e)},Ln[Jr.INLINES.EMBEDDED_RESOURCE]=function(e,t){return bW(Jr.INLINES.EMBEDDED_RESOURCE,e)},Ln[Jr.INLINES.HYPERLINK]=function(e,t){return wn.createElement("a",{href:e.data.uri},t)};qc={},qc[Jr.MARKS.BOLD]=function(e){return wn.createElement("b",null,e)},qc[Jr.MARKS.ITALIC]=function(e){return wn.createElement("i",null,e)},qc[Jr.MARKS.UNDERLINE]=function(e){return wn.createElement("u",null,e)},qc[Jr.MARKS.CODE]=function(e){return wn.createElement("code",null,e)},qc[Jr.MARKS.SUPERSCRIPT]=function(e){return wn.createElement("sup",null,e)},qc[Jr.MARKS.SUBSCRIPT]=function(e){return wn.createElement("sub",null,e)},qc[Jr.MARKS.STRIKETHROUGH]=function(e){return wn.createElement("s",null,e)};function hw(e,t){return wn.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function bW(e,t){return wn.createElement("span",{key:t.data.target.sys.urn},"type: ",t.nodeType," urn: ",t.data.target.sys.urn)}de(Pe)({display:"flex",justifyContent:"center",alignItems:"center",width:"100%"});de(Pe,{shouldForwardProp:e=>e!=="background"})(e=>{const{theme:t,background:r}=e;return{width:"100%",overflow:"hidden",display:"flex",padding:"2rem",justifyContent:"space-between",flexDirection:"row",backgroundImage:`url(${r})`,backgroundSize:"cover",backgroundPosition:"center",alignItems:"center",[t.breakpoints.down("sm")]:{flexDirection:"column-reverse"}}});de(Pe)({display:"flex",flexDirection:"row",flexGrow:1,marginRight:"20px"});de(Pe)(e=>{const{theme:t}=e;return{display:"flex",flexDirection:"column",gap:"0.1rem",[t.breakpoints.down("sm")]:{padding:"1rem"}}});de("img")(e=>{const{theme:t}=e;return{flexShrink:0,maxWidth:"400px",[t.breakpoints.down("sm")]:{maxWidth:"300px",marginBottom:"1rem"}}});de(Jt)(e=>{const{theme:t}=e;return{margin:0,color:"#fff",fontSize:"28px",textTransform:"uppercase",fontWeight:800,[t.breakpoints.down("sm")]:{fontSize:"24px"}}});de(Pe)(e=>{const{theme:t}=e;return{color:yn.white,fontSize:"19px","& p":{margin:0,padding:0},[t.breakpoints.down("sm")]:{fontSize:"16px"}}});de(Pe)({display:"flex",marginTop:"1rem"});de(Cn)({textTransform:"uppercase",minWidth:"300px"});var _W=Object.prototype.toString,yde=function(t){var r=_W.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&_W.call(t.callee)==="[object Function]"),n},mw,EW;function Cht(){if(EW)return mw;EW=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=yde,i=Object.prototype.propertyIsEnumerable,o=!i.call({toString:null},"toString"),a=i.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(p){var m=p.constructor;return m&&m.prototype===p},c={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if(typeof window>"u")return!1;for(var p in window)try{if(!c["$"+p]&&t.call(window,p)&&window[p]!==null&&typeof window[p]=="object")try{l(window[p])}catch{return!0}}catch{return!0}return!1}(),f=function(p){if(typeof window>"u"||!d)return l(p);try{return l(p)}catch{return!1}};e=function(m){var v=m!==null&&typeof m=="object",g=r.call(m)==="[object Function]",b=n(m),h=v&&r.call(m)==="[object String]",y=[];if(!v&&!g&&!b)throw new TypeError("Object.keys called on a non-object");var w=a&&g;if(h&&m.length>0&&!t.call(m,0))for(var T=0;T<m.length;++T)y.push(String(T));if(b&&m.length>0)for(var R=0;R<m.length;++R)y.push(String(R));else for(var S in m)!(w&&S==="prototype")&&t.call(m,S)&&y.push(String(S));if(o)for(var I=f(m),U=0;U<s.length;++U)!(I&&s[U]==="constructor")&&t.call(m,s[U])&&y.push(s[U]);return y}}return mw=e,mw}var Sht=Array.prototype.slice,Aht=yde,xW=Object.keys,S9=xW?function(t){return xW(t)}:Cht(),wW=Object.keys;S9.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(n){return Aht(n)?wW(Sht.call(n)):wW(n)})}else Object.keys=S9;return Object.keys||S9};var vde=S9,A9=Object.defineProperty||!1;if(A9)try{A9({},"a",{value:1})}catch{A9=!1}var h_=A9,bde=SyntaxError,Ep=TypeError,Tht=Object.getOwnPropertyDescriptor,T9=Tht;if(T9)try{T9([],"length")}catch{T9=null}var Wm=T9,CW=h_,Mht=bde,o0=Ep,SW=Wm,Xj=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new o0("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new o0("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new o0("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new o0("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new o0("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new o0("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,a=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,l=!!SW&&SW(t,r);if(CW)CW(t,r,{configurable:a===null&&l?l.configurable:!a,enumerable:i===null&&l?l.enumerable:!i,value:n,writable:o===null&&l?l.writable:!o});else if(s||!i&&!o&&!a)t[r]=n;else throw new Mht("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},$M=h_,_de=function(){return!!$M};_de.hasArrayLengthDefineBug=function(){if(!$M)return null;try{return $M([],"length",{value:1}).length!==1}catch{return!0}};var Qj=_de,Rht=vde,Iht=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Oht=Object.prototype.toString,Pht=Array.prototype.concat,AW=Xj,Lht=function(e){return typeof e=="function"&&Oht.call(e)==="[object Function]"},Ede=Qj(),kht=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!Lht(n)||!n())return}Ede?AW(e,t,r,!0):AW(e,t,r)},xde=function(e,t){var r=arguments.length>2?arguments[2]:{},n=Rht(t);Iht&&(n=Pht.call(n,Object.getOwnPropertySymbols(t)));for(var i=0;i<n.length;i+=1)kht(e,n[i],t[n[i]],r[n[i]])};xde.supportsDescriptors=!!Ede;var xp=xde,wde={exports:{}},eD=Object,Cde=Error,Nht=EvalError,jht=RangeError,Dht=ReferenceError,Bht=URIError,Fht=Math.abs,Uht=Math.floor,$ht=Math.max,Hht=Math.min,Vht=Math.pow,zht=Math.round,qht=Number.isNaN||function(t){return t!==t},Wht=qht,Ght=function(t){return Wht(t)||t===0?t:t<0?-1:1},m_=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var o in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==i||s.enumerable!==!0)return!1}return!0},TW=typeof Symbol<"u"&&Symbol,Kht=m_,tD=function(){return typeof TW!="function"||typeof Symbol!="function"||typeof TW("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Kht()},Sde=typeof Reflect<"u"&&Reflect.getPrototypeOf||null,Yht=eD,Ade=Yht.getPrototypeOf||null,gw,MW;function Zht(){if(MW)return gw;MW=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(l,c){for(var d=[],f=0;f<l.length;f+=1)d[f]=l[f];for(var p=0;p<c.length;p+=1)d[p+l.length]=c[p];return d},o=function(l,c){for(var d=[],f=c,p=0;f<l.length;f+=1,p+=1)d[p]=l[f];return d},a=function(s,l){for(var c="",d=0;d<s.length;d+=1)c+=s[d],d+1<s.length&&(c+=l);return c};return gw=function(l){var c=this;if(typeof c!="function"||t.apply(c)!==n)throw new TypeError(e+c);for(var d=o(arguments,1),f,p=function(){if(this instanceof f){var h=c.apply(this,i(d,arguments));return Object(h)===h?h:this}return c.apply(l,i(d,arguments))},m=r(0,c.length-d.length),v=[],g=0;g<m;g++)v[g]="$"+g;if(f=Function("binder","return function ("+a(v,",")+"){ return binder.apply(this,arguments); }")(p),c.prototype){var b=function(){};b.prototype=c.prototype,f.prototype=new b,b.prototype=null}return f},gw}var yw,RW;function X3(){if(RW)return yw;RW=1;var e=Zht();return yw=Function.prototype.bind||e,yw}var vw,IW;function rD(){return IW||(IW=1,vw=Function.prototype.call),vw}var bw,OW;function nD(){return OW||(OW=1,bw=Function.prototype.apply),bw}var Jht=typeof Reflect<"u"&&Reflect&&Reflect.apply,Xht=X3(),Qht=nD(),emt=rD(),tmt=Jht,Tde=tmt||Xht.call(emt,Qht),rmt=X3(),nmt=Ep,imt=rD(),omt=Tde,iD=function(t){if(t.length<1||typeof t[0]!="function")throw new nmt("a function is required");return omt(rmt,imt,t)},amt=iD,PW=Wm,Mde;try{Mde=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var _w=!!Mde&&PW&&PW(Object.prototype,"__proto__"),Rde=Object,LW=Rde.getPrototypeOf,smt=_w&&typeof _w.get=="function"?amt([_w.get]):typeof LW=="function"?function(t){return LW(t==null?t:Rde(t))}:!1,kW=Sde,NW=Ade,jW=smt,Ide=kW?function(t){return kW(t)}:NW?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return NW(t)}:jW?function(t){return jW(t)}:null,lmt=Function.prototype.call,cmt=Object.prototype.hasOwnProperty,umt=X3(),Ode=umt.call(lmt,cmt),Zr,dmt=eD,fmt=Cde,pmt=Nht,hmt=jht,mmt=Dht,im=bde,oh=Ep,gmt=Bht,ymt=Fht,vmt=Uht,bmt=$ht,_mt=Hht,Emt=Vht,xmt=zht,wmt=Ght,Pde=Function,Ew=function(e){try{return Pde('"use strict"; return ('+e+").constructor;")()}catch{}},jy=Wm,Cmt=h_,xw=function(){throw new oh},Smt=jy?function(){try{return arguments.callee,xw}catch{try{return jy(arguments,"callee").get}catch{return xw}}}():xw,a0=tD(),Gi=Ide,Amt=Ade,Tmt=Sde,Lde=nD(),Q3=rD(),m0={},Mmt=typeof Uint8Array>"u"||!Gi?Zr:Gi(Uint8Array),k1={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Zr:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Zr:ArrayBuffer,"%ArrayIteratorPrototype%":a0&&Gi?Gi([][Symbol.iterator]()):Zr,"%AsyncFromSyncIteratorPrototype%":Zr,"%AsyncFunction%":m0,"%AsyncGenerator%":m0,"%AsyncGeneratorFunction%":m0,"%AsyncIteratorPrototype%":m0,"%Atomics%":typeof Atomics>"u"?Zr:Atomics,"%BigInt%":typeof BigInt>"u"?Zr:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Zr:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Zr:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Zr:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":fmt,"%eval%":eval,"%EvalError%":pmt,"%Float16Array%":typeof Float16Array>"u"?Zr:Float16Array,"%Float32Array%":typeof Float32Array>"u"?Zr:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Zr:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Zr:FinalizationRegistry,"%Function%":Pde,"%GeneratorFunction%":m0,"%Int8Array%":typeof Int8Array>"u"?Zr:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Zr:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Zr:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":a0&&Gi?Gi(Gi([][Symbol.iterator]())):Zr,"%JSON%":typeof JSON=="object"?JSON:Zr,"%Map%":typeof Map>"u"?Zr:Map,"%MapIteratorPrototype%":typeof Map>"u"||!a0||!Gi?Zr:Gi(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":dmt,"%Object.getOwnPropertyDescriptor%":jy,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Zr:Promise,"%Proxy%":typeof Proxy>"u"?Zr:Proxy,"%RangeError%":hmt,"%ReferenceError%":mmt,"%Reflect%":typeof Reflect>"u"?Zr:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Zr:Set,"%SetIteratorPrototype%":typeof Set>"u"||!a0||!Gi?Zr:Gi(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Zr:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":a0&&Gi?Gi(""[Symbol.iterator]()):Zr,"%Symbol%":a0?Symbol:Zr,"%SyntaxError%":im,"%ThrowTypeError%":Smt,"%TypedArray%":Mmt,"%TypeError%":oh,"%Uint8Array%":typeof Uint8Array>"u"?Zr:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Zr:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Zr:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Zr:Uint32Array,"%URIError%":gmt,"%WeakMap%":typeof WeakMap>"u"?Zr:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Zr:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Zr:WeakSet,"%Function.prototype.call%":Q3,"%Function.prototype.apply%":Lde,"%Object.defineProperty%":Cmt,"%Object.getPrototypeOf%":Amt,"%Math.abs%":ymt,"%Math.floor%":vmt,"%Math.max%":bmt,"%Math.min%":_mt,"%Math.pow%":Emt,"%Math.round%":xmt,"%Math.sign%":wmt,"%Reflect.getPrototypeOf%":Tmt};if(Gi)try{null.error}catch(e){var Rmt=Gi(Gi(e));k1["%Error.prototype%"]=Rmt}var Imt=function e(t){var r;if(t==="%AsyncFunction%")r=Ew("async function () {}");else if(t==="%GeneratorFunction%")r=Ew("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Ew("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Gi&&(r=Gi(i.prototype))}return k1[t]=r,r},DW={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ev=X3(),v6=Ode,Omt=ev.call(Q3,Array.prototype.concat),Pmt=ev.call(Lde,Array.prototype.splice),BW=ev.call(Q3,String.prototype.replace),b6=ev.call(Q3,String.prototype.slice),Lmt=ev.call(Q3,RegExp.prototype.exec),kmt=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Nmt=/\\(\\)?/g,jmt=function(t){var r=b6(t,0,1),n=b6(t,-1);if(r==="%"&&n!=="%")throw new im("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new im("invalid intrinsic syntax, expected opening `%`");var i=[];return BW(t,kmt,function(o,a,s,l){i[i.length]=s?BW(l,Nmt,"$1"):a||o}),i},Dmt=function(t,r){var n=t,i;if(v6(DW,n)&&(i=DW[n],n="%"+i[0]+"%"),v6(k1,n)){var o=k1[n];if(o===m0&&(o=Imt(n)),typeof o>"u"&&!r)throw new oh("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new im("intrinsic "+t+" does not exist!")},wp=function(t,r){if(typeof t!="string"||t.length===0)throw new oh("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new oh('"allowMissing" argument must be a boolean');if(Lmt(/^%?[^%]*%?$/,t)===null)throw new im("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=jmt(t),i=n.length>0?n[0]:"",o=Dmt("%"+i+"%",r),a=o.name,s=o.value,l=!1,c=o.alias;c&&(i=c[0],Pmt(n,Omt([0,1],c)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],m=b6(p,0,1),v=b6(p,-1);if((m==='"'||m==="'"||m==="`"||v==='"'||v==="'"||v==="`")&&m!==v)throw new im("property names with quotes must have matching quotes");if((p==="constructor"||!f)&&(l=!0),i+="."+p,a="%"+i+"%",v6(k1,a))s=k1[a];else if(s!=null){if(!(p in s)){if(!r)throw new oh("base intrinsic for "+t+" exists, but the property is not available.");return}if(jy&&d+1>=n.length){var g=jy(s,p);f=!!g,f&&"get"in g&&!("originalValue"in g.get)?s=g.get:s=s[p]}else f=v6(s,p),s=s[p];f&&!l&&(k1[a]=s)}}return s},Bmt=wp,FW=Xj,Fmt=Qj(),UW=Wm,$W=Ep,Umt=Bmt("%Math.floor%"),$mt=function(t,r){if(typeof t!="function")throw new $W("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||Umt(r)!==r)throw new $W("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,o=!0;if("length"in t&&UW){var a=UW(t,"length");a&&!a.configurable&&(i=!1),a&&!a.writable&&(o=!1)}return(i||o||!n)&&(Fmt?FW(t,"length",r,!0,!0):FW(t,"length",r)),t},Hmt=X3(),Vmt=nD(),zmt=Tde,qmt=function(){return zmt(Hmt,Vmt,arguments)};(function(e){var t=$mt,r=h_,n=iD,i=qmt;e.exports=function(a){var s=n(arguments),l=a.length-(arguments.length-1);return t(s,1+(l>0?l:0),!0)},r?r(e.exports,"apply",{value:i}):e.exports.apply=i})(wde);var g_=wde.exports,kde=wp,Nde=iD,Wmt=Nde([kde("%String.prototype.indexOf%")]),rd=function(t,r){var n=kde(t,!!r);return typeof n=="function"&&Wmt(t,".prototype.")>-1?Nde([n]):n},Gmt=vde,jde=m_(),Dde=rd,M9=eD,Kmt=Dde("Array.prototype.push"),HW=Dde("Object.prototype.propertyIsEnumerable"),Ymt=jde?M9.getOwnPropertySymbols:null,Bde=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=M9(t);if(arguments.length===1)return n;for(var i=1;i<arguments.length;++i){var o=M9(arguments[i]),a=Gmt(o),s=jde&&(M9.getOwnPropertySymbols||Ymt);if(s)for(var l=s(o),c=0;c<l.length;++c){var d=l[c];HW(o,d)&&Kmt(a,d)}for(var f=0;f<a.length;++f){var p=a[f];if(HW(o,p)){var m=o[p];n[p]=m}}}return n},ww=Bde,Zmt=function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),r={},n=0;n<t.length;++n)r[t[n]]=t[n];var i=Object.assign({},r),o="";for(var a in i)o+=a;return e!==o},Jmt=function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch{return e[1]==="y"}return!1},Fde=function(){return!Object.assign||Zmt()||Jmt()?ww:Object.assign},Xmt=xp,Qmt=Fde,e2t=function(){var t=Qmt();return Xmt(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t},t2t=xp,r2t=g_,n2t=Bde,Ude=Fde,i2t=e2t,o2t=r2t.apply(Ude()),a2t=function(t,r){return o2t(Object,arguments)};t2t(a2t,{getPolyfill:Ude,implementation:n2t,shim:i2t});var $de=wp,Hde=g_,s2t=Hde($de("String.prototype.indexOf")),Vde=function(t,r){var n=$de(t,!!r);return typeof n=="function"&&s2t(t,".prototype.")>-1?Hde(n):n},Dy=function(){return typeof(function(){}).name=="string"},Hg=Object.getOwnPropertyDescriptor;if(Hg)try{Hg([],"length")}catch{Hg=null}Dy.functionsHaveConfigurableNames=function(){if(!Dy()||!Hg)return!1;var t=Hg(function(){},"name");return!!t&&!!t.configurable};var l2t=Function.prototype.bind;Dy.boundFunctionsHaveNames=function(){return Dy()&&typeof l2t=="function"&&(function(){}).bind().name!==""};var c2t=Dy,VW=Xj,u2t=Qj(),d2t=c2t.functionsHaveConfigurableNames(),f2t=Ep,p2t=function(t,r){if(typeof t!="function")throw new f2t("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return(!n||d2t)&&(u2t?VW(t,"name",r,!0,!0):VW(t,"name",r)),t},h2t=p2t,m2t=Ep,g2t=Object,zde=h2t(function(){if(this==null||this!==g2t(this))throw new m2t("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.unicodeSets&&(t+="v"),this.sticky&&(t+="y"),t},"get flags",!0),y2t=zde,v2t=xp.supportsDescriptors,b2t=Object.getOwnPropertyDescriptor,qde=function(){if(v2t&&/a/mig.flags==="gim"){var t=b2t(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var r="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){r+="d"}}),Object.defineProperty(n,"sticky",{get:function(){r+="y"}}),t.get.call(n),r==="dy")return t.get}}return y2t},_2t=xp.supportsDescriptors,E2t=qde,x2t=Wm,w2t=Object.defineProperty,C2t=Cde,zW=Ide,S2t=/a/,A2t=function(){if(!_2t||!zW)throw new C2t("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=E2t(),r=zW(S2t),n=x2t(r,"flags");return(!n||n.get!==t)&&w2t(r,"flags",{configurable:!0,enumerable:!1,get:t}),t},T2t=xp,M2t=g_,R2t=zde,Wde=qde,I2t=A2t,O2t=M2t(Wde());T2t(O2t,{getPolyfill:Wde,implementation:R2t,shim:I2t});var P2t=m_,y_=function(){return P2t()&&!!Symbol.toStringTag},L2t=wp,tv=rd;L2t("%Map%",!0);tv("Map.prototype.get",!0);tv("Map.prototype.set",!0);tv("Map.prototype.has",!0);tv("Map.prototype.delete",!0);tv("Map.prototype.size",!0);var k2t=wp,v_=rd;k2t("%WeakMap%",!0);v_("WeakMap.prototype.get",!0);v_("WeakMap.prototype.set",!0);v_("WeakMap.prototype.has",!0);v_("WeakMap.prototype.delete",!0);var Gde=rd;Gde("String.prototype.valueOf");Gde("Object.prototype.toString");y_();if(!(tD()||m_())){var qW=wp,N2t=qW("%Map%",!0),j2t=qW("%Set%",!0),nl=Vde;nl("Array.prototype.push"),nl("String.prototype.charCodeAt"),nl("String.prototype.slice"),!N2t&&!j2t||(nl("Map.prototype.forEach",!0),nl("Set.prototype.forEach",!0),(typeof process>"u"||!process.versions||!process.versions.node)&&(nl("Map.prototype.iterator",!0),nl("Set.prototype.iterator",!0)),nl("Map.prototype.@@iterator",!0)||nl("Map.prototype._es6-shim iterator_",!0),nl("Set.prototype.@@iterator",!0)||nl("Set.prototype._es6-shim iterator_",!0))}var WW=function(e){return e!==e},Kde=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||WW(t)&&WW(r))},D2t=Kde,Yde=function(){return typeof Object.is=="function"?Object.is:D2t},B2t=Yde,F2t=xp,U2t=function(){var t=B2t();return F2t(Object,{is:t},{is:function(){return Object.is!==t}}),t},$2t=xp,H2t=g_,V2t=Kde,Zde=Yde,z2t=U2t,q2t=H2t(Zde(),Object);$2t(q2t,{getPolyfill:Zde,implementation:V2t,shim:z2t});var GW=rd,W2t=y_(),G2t=Ode,K2t=Wm,HM;if(W2t){var Y2t=GW("RegExp.prototype.exec"),KW={},Cw=function(){throw KW},YW={toString:Cw,valueOf:Cw};typeof Symbol.toPrimitive=="symbol"&&(YW[Symbol.toPrimitive]=Cw),HM=function(t){if(!t||typeof t!="object")return!1;var r=K2t(t,"lastIndex"),n=r&&G2t(r,"value");if(!n)return!1;try{Y2t(t,YW)}catch(i){return i===KW}}}else{var Z2t=GW("Object.prototype.toString"),J2t="[object RegExp]";HM=function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:Z2t(t)===J2t}}var X2t=HM,Jde=rd;Jde("Number.prototype.toString");Jde("Object.prototype.toString");y_();var Xde=rd;Xde("Boolean.prototype.toString");Xde("Object.prototype.toString");y_();var Sw,ZW;function Q2t(){if(ZW)return Sw;ZW=1;var e=rd,t=X2t,r=e("RegExp.prototype.exec"),n=Ep;return Sw=function(o){if(!t(o))throw new n("`regex` must be a RegExp");return function(s){return r(o,s)!==null}},Sw}var Qde=rd;Qde("Object.prototype.toString");var egt=tD(),tgt=Q2t();egt&&(Qde("Symbol.prototype.toString"),tgt(/^Symbol\(.*\)$/));var JW=typeof BigInt<"u"&&BigInt,rgt=function(){return typeof JW=="function"&&typeof BigInt=="function"&&typeof JW(42)=="bigint"&&typeof BigInt(42)=="bigint"};rgt();var Fc=Vde,ngt=wp;Fc("SharedArrayBuffer.prototype.byteLength",!0);Fc("Date.prototype.getTime");Fc("Object.prototype.toString");ngt("%Set%",!0);Fc("Map.prototype.has",!0);Fc("Map.prototype.get",!0);Fc("Map.prototype.size",!0);Fc("Set.prototype.add",!0);Fc("Set.prototype.delete",!0);Fc("Set.prototype.has",!0);Fc("Set.prototype.size",!0);var oD={};Object.defineProperty(oD,"__esModule",{value:!0});function efe(){let e,t;const r=new Promise((n,i)=>{e=o=>{n(o),r.isPending=!1},t=o=>{i(o),r.isPending=!1}}).catch(n=>Promise.reject(n));return r.resolve=e,r.reject=t,"finally"in r||(r.finally=n=>{r.then(n),r.catch(n)}),r.isPending=!0,r}oD.future=efe;oD.default=efe;const XW=new Map,igt=new Map,tfe=new Map,_6=new Map;function VM(e){if(e.data&&e.data.type)try{switch(e.data.type){case E1.PreviewMessageType.CONTROLLER_RESPONSE:{const t=e.data.payload,{id:r}=t,n=XW.get(r);n&&(XW.delete(r),t.ok?n.resolve(t.result):t.ok===!1&&n.reject(new Error(t.error)));break}case E1.PreviewMessageType.EMOTE_EVENT:{const t=e.data.payload,{type:r,payload:n}=t,i=e.source?igt.get(e.source):null;i&&r&&i.emit(r,n);break}case E1.PreviewMessageType.LOAD:{e.source&&(tfe.set(e.source,!0),(_6.get(e.source)||[]).filter(n=>{var i;return((i=n.data)==null?void 0:i.type)!==E1.PreviewMessageType.LOAD}).forEach(VM),_6.delete(e.source));break}default:}}catch(t){console.error("Error processing WearablePreview message:",t)}}const ogt=e=>{var r;if(((r=e.data)==null?void 0:r.type)===E1.PreviewMessageType.LOAD){VM(e);return}if(!(e.source?tfe.get(e.source):!1)&&e.source){const n=_6.get(e.source)||[];n.push(e),_6.set(e.source,n);return}VM(e)};typeof window<"u"&&window.addEventListener("message",ogt,!1);de("iframe")({background:"transparent",border:0,width:"100%",height:"100%"});de(Pe)(({theme:e})=>({display:"flex",position:"absolute",width:"100%",bottom:0,margin:`${e.spacing(2)} 0`,padding:`0 ${e.spacing(3)}`,gap:e.spacing(2)}));de(u_)(({theme:e})=>({width:56,height:44,padding:0,minWidth:"unset",background:"rgba(0, 0, 0, 0.64) !important","& svg":{marginLeft:e.spacing(.5)}}));de(u_)(({theme:e,muted:t})=>({marginLeft:e.spacing(2.5),minWidth:25,background:"none",padding:0,opacity:t?.5:1}));de("input")(({theme:e})=>({flex:1,width:"100%",background:"none",WebkitAppearance:"none","&:focus":{outline:"none"},"&::-webkit-slider-thumb":{WebkitAppearance:"none",width:24,height:24,borderRadius:10,backgroundColor:"#736e7d",overflow:"visible",cursor:"pointer",paddingBottom:e.spacing(.625),marginTop:e.spacing(-.5)},"&::-moz-range-thumb":{width:24,height:24,borderRadius:20,backgroundColor:"#736e7d",overflow:"visible",cursor:"pointer",border:"none"},"&::-ms-thumb":{width:24,height:24,borderRadius:20,backgroundColor:"#736e7d",overflow:"visible",cursor:"pointer"},"&::-webkit-slider-runnable-track":{width:300,height:15,background:"rgba(115, 110, 125, 0.32)",border:"none",borderRadius:10},"&::-moz-range-track":{width:"100%",height:15,borderRadius:10,cursor:"pointer",background:"rgba(115, 110, 125, 0.32)"}}));de("div")({display:"flex",alignItems:"center"});de("input")({width:56,height:44,borderRadius:5,background:"transparent",border:"1px solid rgba(115, 110, 125, 0.4)",color:"white",textAlign:"center","&:focus-visible":{outline:"1px solid"}});de(Cn)(({theme:e})=>({gap:e.spacing(1)}));de(EJ)(({theme:e})=>({height:"calc(100% + 8px)",marginTop:e.spacing(-.5),borderColor:e.palette.common.white}));de(_h)(({placement:e})=>({transformOrigin:e==="bottom"?"center top":"center bottom"}));var Vg;(function(e){e.TOP="top",e.BOTTOM="bottom",e.CENTER="center"})(Vg||(Vg={}));var E6;(function(e){e.LEFT="left",e.RIGHT="right"})(E6||(E6={}));de(Pe)(({horizontalPosition:e=Vg.CENTER,verticalPosition:t=E6.RIGHT})=>({position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",...e===Vg.TOP?{justifyContent:"flex-start"}:e===Vg.BOTTOM?{justifyContent:"flex-end"}:{justifyContent:"center"},...t===E6.RIGHT?{justifyContent:"flex-end"}:{justifyContent:"flex-start"},pointerEvents:"none","& > *":{pointerEvents:"auto"}}));de(Pe)({display:"flex",alignItems:"center",flexDirection:"column"});de(Pe)({display:"flex",alignItems:"center",color:"#736e7d"});de(hbe)(({theme:e})=>({height:256,color:"#736e7d","& .MuiSlider-rail":{width:2,opacity:1,backgroundColor:"#000000",paddingBottom:e.spacing(4)},"& .MuiSlider-track":{width:2,border:"none",backgroundColor:"#000000"},"& .MuiSlider-thumb":{height:32,width:8,borderRadius:4,backgroundColor:"#736e7d",translate:"0px 16px",boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.16), inset 0px 1px 0px rgba(255, 255, 255, 0.16)","&:focus, &:hover, &.Mui-active, &.Mui-focusVisible":{boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.16), inset 0px 1px 0px rgba(255, 255, 255, 0.16)"},"&::before":{display:"none"}}}));var zM;(function(e){e.LEFT="left",e.RIGHT="right"})(zM||(zM={}));de("div")(({position:e})=>({display:"flex",flexDirection:"column",position:"absolute",top:"12px",...e===zM.LEFT?{left:"12px"}:{right:"12px"}}));de(u_)({width:"32px",height:"32px",minWidth:"unset",padding:0,backgroundColor:"rgba(0, 0, 0, 0.64) !important",borderRadius:0,display:"flex",justifyContent:"center",alignItems:"center","&:hover":{transform:"none"},"& i.icon":{margin:"0 !important"}});const agt={decentraland:"Decentraland"},sgt={normal:"tiny",large:"small",huge:"medium",massive:"massive"},lgt={normal:3,large:5,huge:8,massive:30},cgt=F.memo(e=>{const{isDecentraland:t,avatar:r,inline:n=!0,address:i,size:o="normal",rounded:a=!1,as:s,...l}=e,c=F.useMemo(()=>sgt[o],[o]),d=F.useMemo(()=>lgt[o],[o]);return t?u.jsx(Gue,{size:o}):r?u.jsx(M3,{size:c,inline:n,avatar:r}):u.jsx(Fqe,{seed:i,scale:d,rounded:a,as:s,...l})}),ugt=de("span")(({theme:e,inline:t=!0,size:r="normal"})=>({display:t?"inline-flex":"flex",gap:r!=="normal"?e.spacing(1):e.spacing(.5),alignItems:"center",verticalAlign:"top"})),QW=de("span",{shouldForwardProp:e=>e!=="highlightName"})(({theme:e,size:t="normal",highlightName:r=!1})=>{const n=t!=="normal"?e.typography.h6:e.typography.body1;return{fontSize:n.fontSize,fontWeight:r?600:n.fontWeight,lineHeight:n.lineHeight}}),dgt=de(Pe)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",gap:e.spacing(.5)}));de(ku)(({theme:e})=>({padding:e.spacing(.25),color:e.palette.text.secondary,"&:hover":{color:e.palette.text.primary}}));de(CN)({fontSize:"0.875em"});F.memo(e=>{const{address:t,avatar:r,textOnly:n,imageOnly:i,hasPopup:o,size:a="normal",inline:s=!0,sliceAddressBy:l=6,shortenAddress:c=!1,showBothNameAndAddress:d=!1,isDecentraland:f,as:p=ve.Fragment,i18n:m=agt,showCopyButton:v,highlightName:g=!1,...b}=e,h=Math.max(Math.min(l,42),6),y=r&&r.name,w=!f&&!y,T=F.useMemo(()=>{if(f)return m.decentraland;if(!y)return c?t:t.slice(0,h);if(r.hasClaimedName)return r.name;const I=t?`#${t.slice(-4)}`:"";return r.name.endsWith(I)?r.name:r.name+I},[r,t,h,c,f]),R=p,S=u.jsxs(ugt,{...e,size:a,inline:s,children:[n?null:u.jsx(R,{...b,children:u.jsx(cgt,{...e})}),i?null:u.jsx(R,{...b,children:d&&y?u.jsxs(dgt,{children:[u.jsx(QW,{size:a,highlightName:g,children:T}),u.jsx(Wb,{value:t,shorten:c,showCopyButton:v})]}):u.jsx(QW,{size:a,highlightName:g,children:w?u.jsx(Wb,{value:t,shorten:c,showCopyButton:v}):T})})]});return o?u.jsx(o3,{title:w?t:T,placement:"top",arrow:!0,children:S}):S});const fgt={home:"Home",privacy_policy:"Privacy Policy",terms_of_use:"Terms of Use",content_policy:"Content Policy",code_of_ethics:"Code of Ethics",copyright:"© 2025 Decentraland"},pgt={home:"Inicio",privacy_policy:"Política de Privacidad",terms_of_use:"Términos de Uso",content_policy:"Política de Contenido",code_of_ethics:"Código de Ética",copyright:"© 2025 Decentraland"},hgt={home:"Accueil",privacy_policy:"Politique de Confidentialité",terms_of_use:"Conditions d'Utilisation",content_policy:"Politique de Contenu",code_of_ethics:"Code d'Éthique",copyright:"© 2025 Decentraland"},mgt={home:"首页",privacy_policy:"隐私政策",terms_of_use:"使用条款",content_policy:"内容政策",code_of_ethics:"道德准则",copyright:"© 2025 Decentraland"},ggt={home:"홈",privacy_policy:"개인정보 보호정책",terms_of_use:"이용약관",content_policy:"컨텐츠 정책",code_of_ethics:"윤리 강령",copyright:"© 2025 Decentraland"},ygt={home:"ホーム",privacy_policy:"プライバシーポリシー",terms_of_use:"利用規約",content_policy:"コンテンツポリシー",code_of_ethics:"倫理規定",copyright:"© 2025 Decentraland"},eG={en:fgt,es:pgt,fr:hgt,zh:mgt,ko:ggt,ja:ygt},vgt=de(Cn)(({theme:e})=>({minWidth:"auto",padding:e.spacing(.5,1),color:e.palette.text.secondary,fontSize:e.typography.body2.fontSize,textTransform:"none",fontWeight:"normal","&:hover":{backgroundColor:"transparent",color:e.palette.primary.main}})),bgt=de(SJ)(({theme:e})=>({fontSize:e.typography.body2.fontSize,minHeight:"auto",padding:e.spacing(1,2)})),tG=de("span")({marginRight:8,display:"inline-flex",alignItems:"center"}),_gt=ve.memo(e=>{const{languages:t,selectedLanguage:r,onLanguageChange:n}=e,[i,o]=F.useState(null),a=!!i,s=f=>{o(f.currentTarget)},l=()=>{o(null)},c=f=>{n(f),l()},d=t.find(f=>f.code===r);return u.jsxs("div",{children:[u.jsx(vgt,{onClick:s,endIcon:u.jsx(Aqe,{}),"aria-controls":a?"language-menu":void 0,"aria-haspopup":"true","aria-expanded":a?"true":void 0,children:d&&u.jsxs(u.Fragment,{children:[u.jsx(tG,{children:d.flag}),d.code.toUpperCase()]})}),u.jsx(II,{id:"language-menu",anchorEl:i,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"},open:a,onClose:l,MenuListProps:{"aria-labelledby":"language-button"},children:t.map(f=>u.jsxs(bgt,{onClick:()=>c(f.code),selected:f.code===r,children:[u.jsx(tG,{children:f.flag}),f.name]},f.code))})]})});var iu;(function(e){e.EN="en",e.ES="es",e.FR="fr",e.ZH="zh",e.KO="ko",e.JA="ja"})(iu||(iu={}));const Egt=de("footer")(({theme:e})=>({backgroundColor:e.palette.background.paper,borderTop:`1px solid ${e.palette.divider}`,padding:e.spacing(4,0),marginTop:"auto"})),xgt=de(Pe)(({theme:e})=>({maxWidth:1200,margin:"0 auto",padding:e.spacing(0,2),display:"flex",justifyContent:"space-between",flexWrap:"wrap",gap:e.spacing(2),minHeight:"60px",[e.breakpoints.down("lg")]:{flexDirection:"column"}})),rG=de(Pe)(({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(2),[e.breakpoints.down("lg")]:{flexDirection:"column",gap:e.spacing(1)}})),wgt=de(Pe)({display:"flex",alignItems:"center"}),Cgt=de(Pe)(({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(2),flexWrap:"wrap",[e.breakpoints.down("lg")]:{justifyContent:"center",gap:e.spacing(2)}})),rfe=de("a")(({theme:e})=>({color:e.palette.text.secondary,textDecoration:"none",fontSize:e.typography.body2.fontSize,fontFamily:e.typography.fontFamily,transition:"color 0.2s ease","&:hover":{color:e.palette.primary.main,textDecoration:"underline"}})),Sgt=de(Pe)(({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(3),[e.breakpoints.down("lg")]:{gap:e.spacing(2)}})),Agt=de(Jt)(({theme:e})=>({color:e.palette.text.secondary,whiteSpace:"nowrap",[e.breakpoints.down("lg")]:{textAlign:"center"}})),Tgt=de(rfe)(({theme:e})=>({width:e.spacing(2.5),height:e.spacing(2.5)})),Mgt=[{code:iu.EN,name:"English",flag:"🇺🇸"},{code:iu.ES,name:"Español",flag:"🇪🇸"},{code:iu.FR,name:"Français",flag:"🇫🇷"},{code:iu.ZH,name:"中文",flag:"🇨🇳"},{code:iu.KO,name:"한국어",flag:"🇰🇷"},{code:iu.JA,name:"日本語",flag:"🇯🇵"}],Rgt=[{name:"Discord",href:ot.get("DISCORD_URL"),icon:u.jsx(Hue,{fontSize:"small"})},{name:"Reddit",href:ot.get("REDDIT_URL"),icon:u.jsx(aut,{fontSize:"small"})},{name:"GitHub",href:ot.get("GITHUB_URL"),icon:u.jsx(out,{fontSize:"small"})},{name:"X",href:ot.get("X_URL"),icon:u.jsx(lut,{fontSize:"small"})}];ve.memo(e=>{const{languages:t=Mgt,selectedLanguage:r=iu.EN,onLanguageChange:n,hideSocialNetworks:i=!1}=e,o=eG[r]||eG.en,a=[{label:o.home,href:"/"},{label:o.privacy_policy,href:ot.get("PRIVACY_POLICY_URL")},{label:o.terms_of_use,href:ot.get("TERMS_OF_USE_URL")},{label:o.content_policy,href:ot.get("CONTENT_POLICY_URL")},{label:o.code_of_ethics,href:ot.get("CODE_OF_ETHICS_URL")}],s=l=>{n==null||n(l)};return u.jsx(Egt,{children:u.jsxs(xgt,{children:[u.jsxs(rG,{children:[u.jsx(wgt,{children:u.jsx(_gt,{languages:t,selectedLanguage:r,onLanguageChange:s})}),u.jsx(Cgt,{children:a.map((l,c)=>u.jsx(rfe,{href:l.href,children:l.label},c))})]}),u.jsxs(rG,{children:[!i&&u.jsx(Sgt,{children:Rgt.map((l,c)=>u.jsx(Tgt,{href:l.href,target:"_blank",rel:"noopener noreferrer",title:l.name,children:l.icon},c))}),u.jsx(Agt,{variant:"body2",children:o.copyright})]})]})})});const Fa={stayUpdatedWith:"Stay updated with",decentraland:"Decentraland",resources:"Resources",marketplace:"Marketplace",creatorHub:"Creator Hub",docs:"Docs",events:"Events",blog:"Blog",connect:"Connect",support:"Support",email:"Email",dao:"DAO",faq:"FAQ"},Igt=Ee("footer")(({theme:e})=>({display:"flex",justifyContent:"space-between",backgroundColor:e.palette.background.default,zIndex:11,height:"475px",position:"relative",paddingTop:e.spacing(12),paddingLeft:e.spacing(20),paddingRight:e.spacing(20),[e.breakpoints.down("xl")]:{paddingLeft:e.spacing(10),paddingRight:e.spacing(10)},[e.breakpoints.down("md")]:{paddingLeft:e.spacing(6.75),paddingRight:e.spacing(6.75)},[e.breakpoints.down("xs")]:{flexDirection:"column",alignItems:"center",paddingLeft:e.spacing(1),paddingRight:e.spacing(1),height:"630px"}})),Ogt=Ee(Pe)(({theme:e})=>({display:"flex",width:"710px",justifyContent:"space-around",[e.breakpoints.down("xs")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3),width:"100%"}})),nG=Ee(Pe)({display:"flex",flexDirection:"column"}),iG=Ee(Jt)(({theme:e})=>({color:e.palette.text.secondary,textTransform:"uppercase",marginBottom:e.spacing(2),marginLeft:e.spacing(.625),fontWeight:500})),Wc=Ee(Cn)(({theme:e})=>({cursor:"pointer",justifyContent:"flex-start",marginBottom:e.spacing(.5),"&.MuiButton-sizeMedium.MuiButton-textSecondary:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:e.palette.text.primary,textTransform:"capitalize","& .MuiButton-startIcon svg.MuiSvgIcon-root":{color:e.palette.text.secondary}},"&.MuiButton-sizeMedium.MuiButton-textSecondary:not(.Mui-disabled):not(.Mui-focusVisible):hover":{textTransform:"capitalize"},"&:hover":{backgroundColor:"transparent"},[e.breakpoints.down("xs")]:{"&.MuiButton-sizeMedium.MuiButton-textSecondary:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{fontSize:"24px",fontWeight:700,lineHeight:"32px","& .MuiButton-startIcon svg.MuiSvgIcon-root":{fontSize:"24px"}}}})),Pgt=Ee(Pe)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",width:"470px",[e.breakpoints.down("xs")]:{width:"100%",paddingLeft:e.spacing(2),paddingRight:e.spacing(2),alignItems:"center"}})),Lgt=Ee(Jt)(({theme:e})=>({color:e.palette.text.disabled,[e.breakpoints.down("md")]:{fontSize:"1.25rem"},[e.breakpoints.down("xs")]:{paddingLeft:e.spacing(1),paddingRight:e.spacing(1),fontSize:"1.5rem"}})),kgt=Ee(Jt)(({theme:e})=>({color:"#fff",marginBottom:e.spacing(2),fontFamily:"DecentralandHero",[e.breakpoints.down("md")]:{fontSize:"2rem"},[e.breakpoints.down("xs")]:{paddingLeft:e.spacing(1),paddingRight:e.spacing(1),marginBottom:e.spacing(3),fontSize:"2.5rem"}})),Ngt=Ee("iframe")({width:"100%",border:"none",height:"125px"}),jgt=Ee(Pe)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",marginBottom:e.spacing(2),width:"100%",[e.breakpoints.down("xs")]:{display:"none"}})),Dgt=Ee(Pe)({display:"flex",width:"80%",justifyContent:"space-between"}),Kf=Ee(Rn)({cursor:"pointer",fontSize:"32px",color:"#fff","&:hover":{color:"#fff"}});ve.memo(e=>{const{subscriptionSrc:t,hideSubscription:r=!1,hideDiscord:n=!1,hideGithub:i=!1,hideX:o=!1,hideInstagram:a=!1,hideYoutube:s=!1,hideTiktok:l=!1,hideLinkedin:c=!1,hideMarketplace:d=!1,hideCreatorHub:f=!1,hideDocs:p=!1,hideEvents:m=!1,hideBlog:v=!1,hideSupport:g=!1,hideEmail:b=!1,hideDao:h=!1,hideFaq:y=!1,onLinkClick:w,trackingContext:T}=e,R=ot.get("BEEHIV_SUBSCRIPTION_URL"),S=t??R,I=ot.get("DISCORD_URL"),U=ot.get("GITHUB_URL"),D=ot.get("X_URL"),q=ot.get("INSTAGRAM_URL"),W=ot.get("YOUTUBE_URL"),J=ot.get("TIKTOK_URL"),$=ot.get("LINKEDIN_URL"),M=ot.get("MARKETPLACE_URL"),O=ot.get("CREATE_URL"),N=ot.get("DOCS_URL"),H=ot.get("EVENTS_URL"),V=ot.get("BLOG_URL"),K=ot.get("SUPPORT_URL"),j=ot.get("EMAIL_HELLO_URL"),A=ot.get("DAO_URL"),x=ot.get("FAQ_URL"),C=F.useCallback(_=>{if(w){_.preventDefault(),w(_);const P=_.currentTarget.href;setTimeout(()=>{window.location.href=P},500)}},[w]),E=pp();return u.jsxs(Igt,{children:[u.jsxs(Pgt,{children:[u.jsx(Lgt,{variant:E?"h3":"h4",children:Fa.stayUpdatedWith}),u.jsx(kgt,{variant:E?"h1":"h2",children:Fa.decentraland}),!r&&S&&u.jsx(Ngt,{src:S,"data-test-id":"beehiiv-embed"}),u.jsx(jgt,{children:u.jsxs(Dgt,{children:[!n&&I&&u.jsx(Kf,{href:I,onClick:C,target:"_blank",rel:"noopener noreferrer","data-place":T,children:u.jsx(Hue,{fontSize:"inherit"})}),!i&&U&&u.jsx(Kf,{href:U,onClick:C,target:"_blank",rel:"noopener noreferrer","data-place":T,children:u.jsx(eN,{fontSize:"inherit"})}),!o&&D&&u.jsx(Kf,{href:D,onClick:C,target:"_blank",rel:"noopener noreferrer","data-place":T,children:u.jsx(_N,{fontSize:"inherit"})}),!a&&q&&u.jsx(Kf,{href:q,onClick:C,target:"_blank",rel:"noopener noreferrer","data-place":T,children:u.jsx(lN,{fontSize:"inherit"})}),!s&&W&&u.jsx(Kf,{href:W,onClick:C,target:"_blank",rel:"noopener noreferrer","data-place":T,children:u.jsx(xN,{fontSize:"inherit"})}),!l&&J&&u.jsx(Kf,{href:J,onClick:C,target:"_blank",rel:"noopener noreferrer","data-place":T,children:u.jsx(sut,{fontSize:"inherit"})}),!c&&$&&u.jsx(Kf,{href:$,onClick:C,target:"_blank",rel:"noopener noreferrer","data-place":T,children:u.jsx(uN,{fontSize:"inherit"})})]})})]}),u.jsxs(Ogt,{children:[u.jsxs(nG,{children:[u.jsx(iG,{variant:"body1",children:Fa.resources}),!d&&M&&u.jsx(Wc,{variant:"text",color:"secondary",startIcon:u.jsx(fN,{sx:{transform:"scaleX(-1)"}}),href:M,onClick:C,"data-place":T,children:Fa.marketplace}),!f&&O&&u.jsx(Wc,{variant:"text",color:"secondary",startIcon:u.jsx(rN,{}),href:O,onClick:C,"data-place":T,children:Fa.creatorHub}),!p&&N&&u.jsx(Wc,{variant:"text",color:"secondary",startIcon:u.jsx(aN,{}),href:N,onClick:C,"data-place":T,children:Fa.docs}),!m&&H&&u.jsx(Wc,{variant:"text",color:"secondary",startIcon:u.jsx(Xk,{}),href:H,onClick:C,"data-place":T,children:Fa.events}),!v&&V&&u.jsx(Wc,{variant:"text",color:"secondary",startIcon:u.jsx(Zk,{}),href:V,onClick:C,"data-place":T,children:Fa.blog})]}),u.jsxs(nG,{children:[u.jsx(iG,{variant:"body1",children:Fa.connect}),!g&&K&&u.jsx(Wc,{variant:"text",color:"secondary",startIcon:u.jsx(vN,{}),href:K,onClick:C,"data-place":T,children:Fa.support}),!b&&j&&u.jsx(Wc,{variant:"text",color:"secondary",startIcon:u.jsx(hN,{}),href:j,onClick:C,"data-place":T,children:Fa.email}),!h&&A&&u.jsx(Wc,{variant:"text",color:"secondary",startIcon:u.jsx(gN,{}),href:A,onClick:C,"data-place":T,children:Fa.dao}),!y&&x&&u.jsx(Wc,{variant:"text",color:"secondary",startIcon:u.jsx(iN,{}),href:x,onClick:C,"data-place":T,children:Fa.faq})]})]})]})});const Bgt={rarities:{[Re.Rarity.COMMON]:"Common",[Re.Rarity.UNCOMMON]:"Uncommon",[Re.Rarity.RARE]:"Rare",[Re.Rarity.EPIC]:"Epic",[Re.Rarity.LEGENDARY]:"Legendary",[Re.Rarity.EXOTIC]:"Exotic",[Re.Rarity.MYTHIC]:"Mythic",[Re.Rarity.UNIQUE]:"Unique"},raritiesDescription:{[Re.Rarity.COMMON]:"This is the common rarity",[Re.Rarity.UNCOMMON]:"This is the uncommon rarity",[Re.Rarity.RARE]:"This is the rare rarity",[Re.Rarity.EPIC]:"This is the epic rarity",[Re.Rarity.LEGENDARY]:"This is the legendary rarity",[Re.Rarity.EXOTIC]:"This is the exotic rarity",[Re.Rarity.MYTHIC]:"This is the mythic rarity",[Re.Rarity.UNIQUE]:"This is the unique rarity"}},Fgt=de(yJ)(e=>{const{theme:t,rarity:r,size:n="medium",square:i=!1}=e,o={small:{fontSize:t.typography.caption.fontSize,fontWeight:t.typography.caption.fontWeight,lineHeight:t.typography.caption.lineHeight},medium:{fontSize:t.typography.body2.fontSize,fontWeight:t.typography.body2.fontWeight,lineHeight:t.typography.body2.lineHeight}};return{backgroundColor:t.palette.rarities[r],color:t.palette.raritiesText[r],textTransform:"uppercase",...i?{borderRadius:"5px",height:n==="small"?t.spacing(3):t.spacing(3.25)}:{},...o[n],":hover":{backgroundColor:t.palette.rarities[r]}}}),Ugt=ve.memo(e=>{const{rarity:t,size:r="medium",square:n=!1,withTooltip:i=!1,onClick:o=()=>{},i18n:a=Bgt}=e,s=u.jsx(Fgt,{rarity:t,label:a.rarities[t],size:r,square:n,onClick:o});return i?u.jsx(o3,{title:a.raritiesDescription[t],placement:"top",arrow:!0,children:s}):s}),$gt=de("div")(({rarity:e})=>{const[t,r]=Re.Rarity.getGradient(e);return{display:"flex",alignItems:"center",justifyContent:"center",height:"inherit",width:"inherit",margin:"auto",backgroundImage:`radial-gradient(${t}, ${r})`}}),Hgt=de("img")({magin:"auto",maxHeight:"100%"}),Vgt=ve.memo(e=>{const{rarity:t,name:r,src:n,...i}=e;return u.jsx($gt,{rarity:t,...i,children:u.jsx(Hgt,{src:n,alt:r})})}),nfe=de(Vgt)(({theme:e})=>({borderRadius:`${e.spacing(1)} ${e.spacing(1)} 0 0`,height:e.spacing(26),transition:"height 0.3s ease-in-out",[e.breakpoints.down("sm")]:{height:e.spacing(15)}})),zgt=de(_J)(({theme:e})=>({display:"flex",flex:1,flexDirection:"column",flexFlow:"column nowrap",alignItems:"flex-start",gap:e.spacing(.25),minHeight:e.spacing(20)})),qgt=de(Pe)({display:"flex",flexDirection:"column",alignItems:"flex-start",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"}),Wgt=de(Jt)({fontWeight:600,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",maxWidth:"100%"}),Ggt=de(Wb)(({theme:e})=>({fontSize:e.typography.body2.fontSize,fontWeight:e.typography.body2.fontWeight,lineHeight:e.typography.body2.lineHeight,color:e.palette.text.secondary})),ife=de(Pe)(({theme:e})=>({flex:1,display:"flex",alignItems:"center",gap:e.spacing(.5),[e.breakpoints.up("sm")]:{height:e.spacing(0),opacity:0,overflow:"hidden",transition:"height 0.1s ease-in-out, opacity 0.6s ease-in-out"}})),Kgt=de(Pe)({flex:1,display:"flex",alignItems:"center"}),ofe=de(Pe)(({theme:e})=>({flex:1,[e.breakpoints.up("sm")]:{height:e.spacing(0),opacity:0,overflow:"hidden",transition:"height 0.1s ease-in-out, opacity 0.6s ease-in-out"}})),Ygt=de(bJ)(({theme:e,withShadow:t})=>({height:e.spacing(45),transition:"transform 0.1s ease-in-out, box-shadow 0.3s ease-in-out, height 0.1s ease-in-out",borderRadius:e.spacing(1),width:e.spacing(36),maxWidth:"100%",position:"relative",display:"flex",flexDirection:"column",padding:0,overflow:"hidden","&:hover":{transition:"transform 0.1s ease-in-out, box-shadow 0.3s ease-in-out, height 0.3s ease-in-out",height:e.spacing(46),padding:e.spacing(0),borderRadius:e.spacing(1),boxShadow:t?`0px 0px 20px 6px ${ul(e.palette.mode==="dark"?e.palette.common.white:e.palette.common.black,.37)}`:"none",[`${ofe}, ${ife}`]:{height:"auto",opacity:1,transition:"height 0.3s ease-in-out, opacity 0.6s ease-in-out"},[`${nfe}`]:{height:e.spacing(20),transition:"height 0.1s ease-in-out"}}})),Zgt=ve.memo(e=>{const{price:t,asset:r}=e;return u.jsxs(Kgt,{children:[u.jsx(K3,{size:"large",network:r.network}),u.jsx(Jt,{variant:"h4",children:t})]})});ve.memo(e=>{const{asset:t,imageSrc:r,price:n,owners:i,extraInformation:o,action:a,actionIcon:s,withShadow:l,i18n:c}=e;return u.jsxs(Ygt,{withShadow:l,children:[u.jsx(nfe,{className:"AssetImageContainer",name:t.name,rarity:t.rarity,src:r}),u.jsxs(zgt,{children:[u.jsxs(qgt,{children:[u.jsx(Wgt,{variant:"body1",children:t.name}),t.network===Re.Network.MATIC&&u.jsx(Ggt,{value:t.creator})]}),u.jsxs(ife,{className:"CatalogItemInformationContainer",children:[u.jsx(Jt,{variant:"body2",children:a}),s]}),n?u.jsx(Zgt,{price:n,asset:t}):i,o&&u.jsx(ofe,{className:"ExtraInformationContainer",children:o}),u.jsx(Ugt,{square:!0,rarity:t.rarity,i18n:c})]})]})});const sf="#a0abff",Jgt="rgba(160, 171, 255, 0.15)",Xgt=jc({"0%":{backgroundPosition:"300% 0%"},"100%":{backgroundPosition:"0% 0%"}});de(Pe)(({theme:e,active:t,showLearnMore:r})=>({display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",padding:`${e.spacing(.5)} ${e.spacing(2.25)}`,paddingLeft:e.spacing(.5),borderRadius:e.spacing(1),border:"1px solid",borderColor:t?sf:Jgt,transition:"all 0.2s ease",marginBottom:e.spacing(2),position:"relative",gap:r?e.spacing(1.5):0,...t?{}:{"&::before":{content:'""',position:"absolute",inset:"-2px",borderRadius:e.spacing(1.25),background:`linear-gradient(90deg, transparent, transparent, ${sf}, ${sf}, transparent, transparent)`,backgroundSize:"300% 100%",animation:`${Xgt} 6s linear infinite`,WebkitMask:`
|
|
894
|
+
}`,y0t=de(RI,{shouldForwardProp:e=>e!=="active"})(({active:e,theme:t})=>({...e?{animation:`${g0t} 0.8s`,animationIterationCount:4}:{},"&:hover":{backgroundColor:"transparent"},"& .MuiBadge-badge":{transform:"scale(0.8) translate(40%, 60%)"},[t.breakpoints.down("sm")]:{marginLeft:t.spacing(1)}})),v0t=de(Pe)(({theme:e})=>({height:"30.625px","&:hover":{backgroundColor:e.palette.action.hover,borderRadius:"50%",cursor:"pointer"}})),b0t=ve.memo(e=>{const{isOpen:t,items:r,isLoading:n,locale:i,isOnboarding:o,activeTab:a,renderProfile:s,onClick:l,onChangeTab:c,onBegin:d,onClose:f}=e,p=F.useMemo(()=>r.filter(h=>!h.read).length,[r]),[m,v]=F.useState(null),g=F.useCallback(h=>{l(h),v(h.currentTarget)},[]),b=F.useCallback(h=>{f(h),v(null)},[]);return u.jsxs(u.Fragment,{children:[u.jsx(y0t,{active:p>0,onClick:g,badgeContent:p,color:"primary",anchorOrigin:{vertical:"top",horizontal:"right"},invisible:p===0,children:t?u.jsx(zct,{fontSize:"large",color:"primary"}):u.jsx(v0t,{children:u.jsx(qct,{fontSize:"large",color:"primary"})})}),t&&u.jsx(m0t,{isOpen:t,items:r,isLoading:n,locale:i,isOnboarding:o,activeTab:a,onChangeTab:c,onBegin:d,onClose:b,renderProfile:s,anchorEl:m})]})}),fW=ve.memo(e=>u.jsx(Ze,{...e,children:u.jsxs("svg",{width:"256",height:"256",viewBox:"0 0 256 256",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[u.jsx("path",{d:"M25.5371 184.328C16.718 180.685 12.5221 170.582 16.1653 161.763L29.8558 128.622L16.1025 95.5076C12.4426 86.6954 16.6194 76.5848 25.4316 72.9248L58.5462 59.1716L72.2367 26.0312C75.8799 17.212 85.9827 13.0162 94.8018 16.6594L127.942 30.3498L161.057 16.5966C169.869 12.9367 179.98 17.1135 183.639 25.9257L197.393 59.0402L230.533 72.7308C239.352 76.374 243.548 86.4767 239.905 95.2958L226.215 128.436L239.968 161.551C243.628 170.363 239.451 180.474 230.639 184.134L197.524 197.887L183.834 231.027C180.19 239.846 170.088 244.042 161.269 240.399L128.128 226.709L95.0135 240.462C86.2013 244.122 76.0907 239.945 72.4307 231.133L58.6775 198.018L25.5371 184.328Z",fill:"url(#paint0_linear_1048_15924)"}),u.jsx("path",{d:"M39.4715 176.904C31.9127 173.782 28.3165 165.123 31.439 157.564L43.173 129.16L31.3852 100.777C28.2483 93.2245 31.8282 84.5587 39.3811 81.4219L67.7634 69.634L79.4974 41.2296C82.62 33.6708 91.279 30.0746 98.8377 33.1971L127.242 44.9312L155.624 33.1434C163.177 30.0065 171.843 33.5863 174.98 41.1392L186.768 69.5215L215.172 81.2555C222.731 84.3781 226.327 93.0371 223.205 100.596L211.471 129L223.258 157.383C226.395 164.935 222.815 173.601 215.262 176.738L186.88 188.526L175.146 216.93C172.024 224.489 163.365 228.085 155.806 224.963L127.401 213.229L99.0192 225.017C91.4664 228.153 82.8006 224.574 79.6637 217.021L67.8759 188.638L39.4715 176.904Z",fill:"url(#paint1_linear_1048_15924)"}),u.jsx("path",{d:"M54.4478 168.591C48.116 165.975 45.1036 158.722 47.7192 152.39L57.5484 128.596L47.6741 104.822C45.0465 98.4947 48.0452 91.2357 54.372 88.6081L78.147 78.7338L87.9762 54.9403C90.5919 48.6086 97.8452 45.5961 104.177 48.2118L127.97 58.041L151.745 48.1667C158.072 45.539 165.331 48.5378 167.959 54.8646L177.833 78.6395L201.627 88.4687C207.958 91.0844 210.971 98.3377 208.355 104.669L198.526 128.463L208.4 152.238C211.028 158.565 208.029 165.824 201.702 168.451L177.927 178.326L168.098 202.119C165.483 208.451 158.229 211.463 151.897 208.848L128.104 199.018L104.329 208.893C98.0022 211.52 90.7432 208.522 88.1155 202.195L78.2413 178.42L54.4478 168.591Z",fill:"url(#paint2_linear_1048_15924)"}),u.jsx("path",{d:"M62.1592 164.392C56.491 162.05 53.7942 155.557 56.1357 149.889L64.9349 128.589L56.0954 107.305C53.7431 101.641 56.4276 95.1432 62.0914 92.7908L83.3749 83.9513L92.1741 62.6512C94.5157 56.983 101.009 54.2862 106.677 56.6278L127.977 65.4269L149.261 56.5874C154.925 54.2351 161.423 56.9196 163.775 62.5834L172.615 83.8669L193.915 92.6661C199.583 95.0077 202.28 101.501 199.938 107.169L191.139 128.469L199.979 149.753C202.331 155.417 199.646 161.915 193.983 164.267L172.699 173.107L163.9 194.407C161.558 200.075 155.065 202.772 149.397 200.43L128.097 191.631L106.813 200.471C101.149 202.823 94.6511 200.138 92.2988 194.475L83.4593 173.191L62.1592 164.392Z",fill:"url(#paint3_linear_1048_15924)"}),u.jsx("path",{d:"M62.1592 164.392C56.491 162.05 53.7942 155.557 56.1357 149.889L64.9349 128.589L56.0954 107.305C53.7431 101.641 56.4276 95.1432 62.0914 92.7908L83.3749 83.9513L92.1741 62.6512C94.5157 56.983 101.009 54.2862 106.677 56.6278L127.977 65.4269L149.261 56.5874C154.925 54.2351 161.423 56.9196 163.775 62.5834L172.615 83.8669L193.915 92.6661C199.583 95.0077 202.28 101.501 199.938 107.169L191.139 128.469L199.979 149.753C202.331 155.417 199.646 161.915 193.983 164.267L172.699 173.107L163.9 194.407C161.558 200.075 155.065 202.772 149.397 200.43L128.097 191.631L106.813 200.471C101.149 202.823 94.6511 200.138 92.2988 194.475L83.4593 173.191L62.1592 164.392Z",fill:"url(#paint4_linear_1048_15924)"}),u.jsx("ellipse",{cx:"71.8039",cy:"43.6779",rx:"4.2556",ry:"4.37564",transform:"rotate(29.3032 71.8039 43.6779)",fill:"white"}),u.jsx("ellipse",{cx:"79.7278",cy:"28.2715",rx:"4.80667",ry:"9.80885",transform:"rotate(29.3032 79.7278 28.2715)",fill:"white"}),u.jsx("path",{opacity:"0.8",fillRule:"evenodd",clipRule:"evenodd",d:"M151.392 93.1941L151.381 92.0695C151.252 79.4163 140.711 69.2321 127.796 69.3636C114.88 69.4951 104.549 79.8919 104.678 92.545L104.689 93.6697L96.1087 93.757C93.0489 93.7882 90.5044 96.0762 90.2087 99.0624L83.3993 167.822C83.0553 171.295 85.8595 174.293 89.4189 174.257L168.873 173.448C172.441 173.411 175.187 170.342 174.757 166.868L166.271 98.265C165.904 95.2956 163.318 93.0727 160.267 93.1037L151.392 93.1941ZM138.208 92.2036C138.152 86.6465 133.53 82.2212 127.927 82.2783C122.324 82.3353 117.794 86.8538 117.85 92.4109L117.862 93.5355L138.22 93.3282L138.208 92.2036ZM151.506 104.348L151.578 111.392C151.614 114.958 148.694 117.879 145.057 117.917C141.419 117.954 138.441 115.093 138.405 111.526L138.333 104.482L117.975 104.689L118.047 111.734C118.083 115.3 115.164 118.221 111.527 118.258C107.889 118.295 104.911 115.434 104.875 111.868L104.803 104.823L101.064 104.861L95.3026 163.042L162.738 162.356L155.557 104.306L151.506 104.348Z",fill:"url(#paint5_linear_1048_15924)"}),u.jsxs("defs",{children:[u.jsxs("linearGradient",{id:"paint0_linear_1048_15924",x1:"211.108",y1:"218.484",x2:"77.4791",y2:"27.1647",gradientUnits:"userSpaceOnUse",children:[u.jsx("stop",{stopColor:"#9BFFFF"}),u.jsx("stop",{offset:"0.5",stopColor:"#B8B9FF"}),u.jsx("stop",{offset:"0.885",stopColor:"#FFCBFF"}),u.jsx("stop",{offset:"1",stopColor:"#FDFCFF"})]}),u.jsxs("linearGradient",{id:"paint1_linear_1048_15924",x1:"225.88",y1:"218.975",x2:"71.9492",y2:"33.3822",gradientUnits:"userSpaceOnUse",children:[u.jsx("stop",{stopColor:"#5285BF"}),u.jsx("stop",{offset:"1",stopColor:"#AE66F0"})]}),u.jsxs("linearGradient",{id:"paint2_linear_1048_15924",x1:"195.385",y1:"221.054",x2:"91.1662",y2:"16.6319",gradientUnits:"userSpaceOnUse",children:[u.jsx("stop",{stopColor:"#9BFFFF"}),u.jsx("stop",{offset:"0.5",stopColor:"#B8B9FF"}),u.jsx("stop",{offset:"1",stopColor:"#FFCBFF"})]}),u.jsxs("linearGradient",{id:"paint3_linear_1048_15924",x1:"103.148",y1:"42.8184",x2:"132.876",y2:"134.167",gradientUnits:"userSpaceOnUse",children:[u.jsx("stop",{stopColor:"white"}),u.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),u.jsxs("linearGradient",{id:"paint4_linear_1048_15924",x1:"109.14",y1:"55.9116",x2:"124.459",y2:"109.497",gradientUnits:"userSpaceOnUse",children:[u.jsx("stop",{stopColor:"white"}),u.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),u.jsxs("linearGradient",{id:"paint5_linear_1048_15924",x1:"129.146",y1:"173.852",x2:"128.082",y2:"69.3607",gradientUnits:"userSpaceOnUse",children:[u.jsx("stop",{stopColor:"#6141A6"}),u.jsx("stop",{offset:"1",stopColor:"#6C84FF"})]})]})]})})),_0t=de("div")(e=>{const{theme:t}=e;return{display:"flex",flexDirection:"column",gap:"4px",alignItems:"flex-end",fontSize:t.typography.subtitle2.fontSize,"& svg":{fontSize:t.typography.subtitle2.fontSize},"& > div":{display:"flex",flexDirection:"row",alignItems:"center"},[t.breakpoints.down("sm")]:{alignItems:"flex-start"}}}),E0t=de(Cn)(e=>{const{theme:t}=e;return{"&.MuiButton-root.MuiButton-textPrimary":{fontSize:t.typography.caption.fontSize,padding:0,marginRight:"4px","&:hover":{backgroundColor:"transparent"}},"&:hover":{backgroundColor:"transparent"}}}),x0t=de(Jt)({lineHeight:"inherit"}),w0t=de(Pe)(e=>{const{theme:t}=e;return{color:"#A0ABFF",fontWeight:600,alignSelf:"flex-end",gap:"8px","& svg":{marginTop:"0px"},[t.breakpoints.down("sm")]:{alignSelf:"flex-start"}}}),pW=de(Pe)({display:"flex",cursor:"pointer",alignItems:"center",gap:"2px","& svg":{width:"16px",height:"16px"}}),C0t=de("div")({display:"flex",flexDirection:"column",gap:"2px",fontFamily:"Inter, Helvetica, Arial, sans-serif"}),S0t=de("span")(({theme:e})=>({color:e.palette.primary.main,fontSize:e.typography.caption.fontSize,fontWeight:600,lineHeight:"24px",textTransform:"uppercase",fontFamily:e.typography.fontFamily})),A0t=ve.memo(e=>{const{manaBalances:t,creditsBalance:r,i18n:n,onClickBalance:i}=e,o=r&&r.expiresAt<Date.now(),a=r&&r.expiresAt<Date.now()+1e3*60*60*24*5,s=r?Math.max(0,Math.floor((r.expiresAt-Date.now())/(1e3*60*60*24))):void 0;return u.jsxs(_0t,{children:[u.jsx(Pe,{children:t&&Object.keys(t).map(l=>u.jsx(K3,{network:l,href:ot.get("ACCOUNT_URL"),onClick:i,primary:l===Re.Network.ETHEREUM,children:u.jsx(x0t,{variant:"subtitle2",children:Number(t[l].toFixed(2)).toLocaleString()})},l))}),r!==void 0&&!o&&u.jsx(w0t,{children:u.jsx(u.Fragment,{children:r.balance===0?u.jsxs(u.Fragment,{children:[u.jsx(E0t,{variant:"text",onClick:()=>{window.open(`${ot.get("BLOG_URL")}announcements/marketplace-credits-earn-weekly-rewards-to-power-up-your-look?utm_org=dcl&utm_source=marketplace&utm_medium=organic&utm_campaign=marketplacecredits`,"_blank","noopener noreferrer")},children:(n==null?void 0:n.getCredits)||"Earn Credits"}),u.jsxs(pW,{children:[u.jsx(fW,{}),r.balance]})]}):r.balance>0?u.jsxs(u.Fragment,{children:[a&&u.jsx(S0t,{children:n==null?void 0:n.creditsExpiringSoon}),s!==void 0&&u.jsx(o3,{title:u.jsxs(C0t,{children:[u.jsx("span",{children:n==null?void 0:n.creditsExpiringIn(s===0?"< 1":s.toString())}),u.jsx("span",{children:n==null?void 0:n.creditsValue})]}),placement:"top-start",children:u.jsxs(pW,{children:[u.jsx(fW,{}),r.balance]})})]}):null})})]})});var vl;(function(e){e.ACTIVITY="activity",e.ACCOUNT="account",e.MY_ASSETS="my_assets",e.PROFILE="profile",e.SIGN_IN="sign_in",e.SIGN_OUT="sign_out",e.GUEST="guest",e.MARKETPLACE_AUTHORIZATIONS="marketplace_authorizations",e.DOWNLOAD="download",e.BALANCE="balance",e.INVITE_FRIENDS="invite_friends"})(vl||(vl={}));var Gj={},T0t=Ir;Object.defineProperty(Gj,"__esModule",{value:!0});var ade=Gj.default=void 0,M0t=T0t(Dr()),R0t=u;ade=Gj.default=(0,M0t.default)((0,R0t.jsx)("path",{d:"M13.26 3C8.17 2.86 4 6.95 4 12H2.21c-.45 0-.67.54-.35.85l2.79 2.8c.2.2.51.2.71 0l2.79-2.8c.31-.31.09-.85-.36-.85H6c0-3.9 3.18-7.05 7.1-7 3.72.05 6.85 3.18 6.9 6.9.05 3.91-3.1 7.1-7 7.1-1.61 0-3.1-.55-4.28-1.48-.4-.31-.96-.28-1.32.08-.42.42-.39 1.13.08 1.49C9 20.29 10.91 21 13 21c5.05 0 9.14-4.17 9-9.26-.13-4.69-4.05-8.61-8.74-8.74m-.51 5c-.41 0-.75.34-.75.75v3.68c0 .35.19.68.49.86l3.12 1.85c.36.21.82.09 1.03-.26.21-.36.09-.82-.26-1.03l-2.88-1.71v-3.4c0-.4-.34-.74-.75-.74"}),"HistoryRounded");const I0t="https://cdn.decentraland.org/@dcl/jump-site/1.1.1-23306513054.commit-ab06ce4/assets/man-default1-BEO13leF.png",O0t=de(Pe)(e=>{const{theme:t}=e;return{display:"flex",position:"relative",textAlign:"left",outline:"none",justifyContent:"flex-end",alignItems:"center",height:"66px",[t.breakpoints.up("sm")]:{"& > *":{marginLeft:"16px"}}}}),P0t=de(ade)(e=>{const{theme:t}=e;return{"& path":{fill:t.palette.icon}}}),L0t=de(Pe)(e=>{const{theme:t}=e;return{cursor:"pointer",marginLeft:"16px",marginRight:"16px",[t.breakpoints.down("sm")]:{marginRight:"0"}}}),k0t=de(sp)(e=>{const{theme:t}=e;return{height:"607px",width:"561px",display:"flex",flexDirection:"row",justifyContent:"flex-start",overflow:"hidden",[t.breakpoints.down("sm")]:{position:"fixed",flexDirection:"column-reverse",top:"66px",left:0,paddingLeft:"25px",paddingRight:"22px",width:"100vw",height:"calc(100vh - 66px)"}}}),N0t=de(Pe)(e=>{const{theme:t}=e;return{height:"100%",width:"330px",[t.breakpoints.down("sm")]:{width:"100%"}}}),j0t=de(Pe)(e=>{var n,i;const{avatar:t}=e;let r={height:"100%",width:"100%",backgroundRepeat:"no-repeat",backgroundSize:"80%",backgroundImage:`url(${I0t})`,backgroundPosition:"bottom center"};return(i=(n=t==null?void 0:t.avatar)==null?void 0:n.snapshots)!=null&&i.body&&(r={...r,backgroundSize:"contain",backgroundImage:`url("${t.avatar.snapshots.body}")`}),r}),D0t=de(Pe)(e=>{const{theme:t}=e;return{height:"100%",width:"331px",display:"flex",flexDirection:"column",[t.breakpoints.down("sm")]:{width:"100%"}}}),B0t=de(II)(e=>{const{theme:t}=e;return{height:"720px",width:"561px",display:"flex",flexDirection:"column",justifyContent:"flex-start","& .MuiPaper-root .MuiList-root":{paddingTop:0,paddingBottom:0},[t.breakpoints.down("sm")]:{marginLeft:"25px",marginRight:"22px",width:"calc(100% - 25px - 22px)",height:"auto"}}}),F0t=de(Pe)({display:"flex",alignItems:"flex-start",padding:"64px 0 47px",flexDirection:"column"}),U0t=de(Jt)(e=>{const{theme:t}=e;return{color:t.palette.text.primary}}),$0t=de("span")(e=>{const{theme:t}=e;return{color:t.palette.text.secondary,marginLeft:"12px",fontSize:"20px",fontStyle:"normal",fontWeight:"400",lineHeight:"18px"}}),H0t=de(Pe)(e=>{const{theme:t}=e;return{height:"330px",display:"flex",flexDirection:"column",justifyContent:"flex-start",margin:"0 55px 0 0",[t.breakpoints.down("sm")]:{margin:"0"}}}),j2=de(SJ)(e=>{const{theme:t}=e;return{borderBottomColor:t.palette.text.primary,borderBottomWidth:"1px",borderBottomStyle:"solid",color:t.palette.text.primary,paddingLeft:0,paddingRight:0,flex:1,width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"}}),V0t=de(Jt)({display:"flex",alignItems:"center"}),z0t=de(Pe)({marginLeft:"12px",display:"flex",alignItems:"center"}),D2=de(g9e)(e=>{const{theme:t}=e;return{color:t.palette.text.primary,"&.MuiListItemIcon-root":{minWidth:0}}}),q0t=de(Pe)(e=>{const{theme:t}=e;return{color:t.palette.text.primary,fontWeight:"600",height:"24px",lineHeight:"18px",margin:"auto 55px 48px 0",display:"flex",justifyContent:"flex-end",alignItems:"center",cursor:"pointer","& svg":{marginLeft:"16px"},[t.breakpoints.down("sm")]:{position:"absolute",bottom:"0",right:"0"}}}),hW=e=>{const{avatar:t,address:r,i18n:n,trackingId:i,onClickMarketplaceAuthorization:o,onClickMyAssets:a,onClickProfile:s,onClickSignOut:l,onClickAccount:c,onClickUserMenuItem:d,balances:f}=e,p=T3(),m=F.useCallback(T=>{d&&d(T,{type:vl.MY_ASSETS,track_uuid:i,url:ot.get("MARKETPLACE_MY_ASSETS_URL")}),setTimeout(()=>{a?a(T):window.open(`${ot.get("MARKETPLACE_MY_ASSETS_URL")}`,"_blank","noopener")},d?300:0)},[a,d,i]),v=F.useCallback(T=>{d&&d(T,{type:vl.MARKETPLACE_AUTHORIZATIONS,track_uuid:i,url:ot.get("MARKETPLACE_SETTINGS_URL")}),setTimeout(()=>{o?o(T):window.open(`${ot.get("MARKETPLACE_SETTINGS_URL")}`,"_blank","noopener")},d?300:0)},[o,d,i]),g=F.useCallback(T=>{d&&d(T,{type:vl.PROFILE,track_uuid:i,url:ot.get("PROFILE_URL")}),setTimeout(()=>{s?s(T):window.open(ot.get("PROFILE_URL"),"_blank","noopener")},d?300:0)},[s,d,i]),b=F.useCallback(T=>{d&&d(T,{type:vl.ACCOUNT,track_uuid:i,url:ot.get("ACCOUNT_URL")}),setTimeout(()=>{c?c(T):window.open(ot.get("ACCOUNT_URL"),"_blank","noopener")},d?300:0)},[c,d,i]),h=F.useCallback(T=>{d&&d(T,{type:vl.INVITE_FRIENDS,track_uuid:i,url:`${ot.get("PROFILE_URL")}/accounts/${w}/referral`}),setTimeout(()=>{window.open(`${ot.get("PROFILE_URL")}/accounts/${w}/referral`,"_blank","noopener")},d?300:0)},[d,i]),y=F.useCallback(T=>{d&&d(T,{type:vl.SIGN_OUT,track_uuid:i}),l&&l(T,i||"")},[l,d,i]),w=F.useMemo(()=>(t==null?void 0:t.ethAddress)||r,[t,r]);return u.jsxs(k0t,{elevation:0,children:[u.jsx(N0t,{children:u.jsx(j0t,{avatar:t})}),u.jsxs(D0t,{children:[u.jsxs(F0t,{children:[u.jsxs(U0t,{variant:"h4",children:[(t==null?void 0:t.name)||n.guest," ",!(t!=null&&t.hasClaimedName)&&w&&u.jsxs($0t,{children:["#",w.substring(w.length-4)]})]}),p&&f]}),u.jsxs(H0t,{children:[u.jsxs(j2,{onClick:h,children:[u.jsxs(V0t,{variant:"h6",children:[n.inviteFriends,u.jsx(z0t,{children:u.jsx(Xct,{})})]}),u.jsx(D2,{children:u.jsx(h0,{})})]}),u.jsxs(j2,{onClick:g,children:[u.jsx(Jt,{variant:"h6",children:n.viewProfile}),u.jsx(D2,{children:u.jsx(h0,{})})]}),u.jsxs(j2,{onClick:m,children:[u.jsx(Jt,{variant:"h6",children:n.myAssets}),u.jsx(D2,{children:u.jsx(h0,{})})]}),u.jsxs(j2,{onClick:b,children:[u.jsx(Jt,{variant:"h6",children:n.account}),u.jsx(D2,{children:u.jsx(h0,{})})]}),u.jsxs(j2,{onClick:v,children:[u.jsx(Jt,{variant:"h6",children:n.marketplaceAuthorizations}),u.jsx(D2,{children:u.jsx(h0,{})})]})]}),u.jsxs(q0t,{onClick:y,children:[u.jsx(Jt,{variant:"h6",children:n.signOut}),u.jsx(Zue,{})]})]})]})},W0t=ve.memo(e=>{const{manaBalances:t,creditsBalance:r,avatar:n,hasActivity:i,isOpen:o,trackingId:a,notifications:s,onClickActivity:l,onClickBalance:c,onClickClose:d,onClickUserMenuItem:f,onClickToggle:p,...m}=e,[v,g]=F.useState(null),b=T3(),h=F.useMemo(()=>{var R,S,I,U;return u.jsx(A0t,{manaBalances:t,creditsBalance:r,onClickBalance:c,i18n:{getCredits:(R=m.i18n)==null?void 0:R.getCredits,creditsExpiringSoon:(S=m.i18n)==null?void 0:S.creditsExpiringSoon,creditsExpiringIn:(I=m.i18n)==null?void 0:I.creditsExpiringIn,creditsValue:(U=m.i18n)==null?void 0:U.creditsValue}})},[t,r]),y=F.useCallback(R=>{f&&f(R,{type:vl.ACTIVITY,track_uuid:a,url:`${ot.get("MARKETPLACE_URL")}/activity`}),setTimeout(()=>{l?l(R):window.open(`${ot.get("MARKETPLACE_URL")}/activity`,"_blank","noopener")},l?300:0)},[l,f,a]),w=F.useCallback(R=>{p&&p(R),g(R.currentTarget)},[p]),T=F.useCallback(()=>{d&&d()},[d]);return u.jsxs(O0t,{children:[s&&u.jsx(b0t,{...s}),!b&&u.jsx(ku,{"aria-label":"activity",onClick:y,children:u.jsx(RI,{color:"secondary",variant:"dot",invisible:!i,children:u.jsx(P0t,{})})}),!b&&h,u.jsx(L0t,{onClick:w,children:u.jsx(M3,{size:"medium",avatar:n})}),u.jsxs(Pe,{onMouseLeave:T,onScroll:b?void 0:T,children:[!b&&u.jsx(B0t,{anchorEl:v,open:!!o,onClose:T,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:u.jsx(hW,{onClickUserMenuItem:f,avatar:n,trackingId:a,...m})}),b&&o&&u.jsx(hW,{balances:h,onClickUserMenuItem:f,avatar:n,trackingId:a,...m})]})]})}),G0t=de(Pe)({display:"flex",position:"relative",textAlign:"left",outline:"none",alignItems:"center",zIndex:e3.appBar}),K0t=de(Pe)({display:"flex",alignItems:"center",height:"100%"}),Y0t=de(Cn)({height:"46px",minWidth:"90px"}),Z0t=ve.memo(e=>{const{isSignedIn:t,isSigningIn:r,isDisconnecting:n,manaBalances:i,i18n:o=Yue,hideDownloadButton:a,hideSignInButton:s,cdnLinks:l,getIdentityId:c,onClickSignIn:d,onClickBalance:f,onClickOpen:p,onClickUserMenuItem:m,loadingCdnLinks:v=!1,shouldDownloadBeforeRedirect:g,...b}=e,[h,y]=F.useState(!1),[w,T]=F.useState(void 0),R=F.useCallback(D=>{const q=xdt();y(W=>(W||T(q),!W&&p&&p(D,q),!W))},[y,p]),S=F.useCallback(()=>{y(!1)},[y]),I=F.useCallback(D=>{D.preventDefault(),m&&m(D,{type:vl.SIGN_IN,track_uuid:w||void 0,url:ot.get("MARKETPLACE_URL")}),d&&d(D)},[d,m,w]),U=F.useCallback((D,q)=>{D.preventDefault(),m&&m(D,{type:vl.BALANCE}),setTimeout(()=>{f?f(D,q):window.open(ot.get("ACCOUNT_URL"),"_blank","noopener")},m?300:0)},[f,m,w]);return u.jsx(G0t,{children:n?u.jsx(K0t,{children:u.jsx(_s,{size:20})}):u.jsxs(u.Fragment,{children:[!s&&t&&u.jsx(W0t,{...b,manaBalances:i,trackingId:w,isOpen:h,i18n:o,onClickToggle:R,onClickClose:S,onClickUserMenuItem:m,onClickBalance:U}),!s&&!t?u.jsx(Y0t,{variant:"outlined",color:"inherit",disabled:r,onClick:I,children:r?u.jsx(_s,{size:20,color:"inherit"}):o.signIn}):null,!a&&u.jsx(Due,{label:o.download,onClick:m,trackingId:w,loadingCdnLinks:v,cdnLinks:l,getIdentityId:c,shouldDownloadBeforeRedirect:g})]})})}),J0t=de(Pe)(e=>{const{theme:t}=e;return{display:"flex",flexFlow:"column nowrap",justifyContent:"center",height:"100%",flexWrap:"nowrap",marginRight:"56px",flex:1,maxWidth:"350px","&:hover":{borderBottomColor:"blue"},[t.breakpoints.down("sm")]:{maxWidth:"100%",width:"100%"}}});de(Jt)(()=>({fontSize:"18px",fontWeight:600,lineHeight:"18px",marginBottom:"6px","&:hover":{color:"blue"}}));const fw=e=>{const{children:t,title:r}=e;return u.jsxs(J0t,{children:[!!r&&u.jsx(Jt,{variant:"body2",children:r}),t]})};var Kj={},X0t=Ir;Object.defineProperty(Kj,"__esModule",{value:!0});var Yj=Kj.default=void 0,Q0t=X0t(Dr()),eht=u;Yj=Kj.default=(0,Q0t.default)((0,eht.jsx)("path",{d:"M6 7c0 .55.45 1 1 1h7.59l-8.88 8.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L16 9.41V17c0 .55.45 1 1 1s1-.45 1-1V7c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1"}),"ArrowOutwardRounded");const tht=de(Pe,{shouldForwardProp:e=>e!=="isExternal"})(e=>{const{isExternal:t,theme:r}=e;let n={};return t&&(n={backgroundImage:`url(${Yj})`}),{display:"flex",padding:0,width:"100%",borderBottomColor:r.palette.text.secondary,color:r.palette.text.secondary,borderBottomStyle:"solid",marginBottom:"6px",paddingBottom:"16px",height:"77.5px",cursor:"pointer",marginTop:"52px",position:"relative",...n,"&:nth-child(n+2)":{marginTop:"32px"},"&:hover":{borderBottomColor:r.palette.text.primary,color:r.palette.text.primary},[r.breakpoints.down("sm")]:{color:r.palette.text.primary,borderBottomColor:r.palette.text.primary}}}),rht=de(Rn,{shouldForwardProp:e=>e!=="isExternal"})(e=>{const{isExternal:t}=e;return{textDecoration:"none",color:"inherit","&:hover":{color:"inherit"},...t&&{paddingRight:"32px"}}}),nht=de(Jt)(()=>({fontSize:"18px",fontWeight:600,lineHeight:"18px",marginBottom:"6px",textDecoration:"none",color:"inherit","&:hover":{color:"inherit"}})),iht=de(Jt)(()=>({fontSize:"14px",fontWeight:400,lineHeight:"18px",textDecoration:"none",color:"inherit","&:hover":{color:"inherit"}})),oht=de(Yj)({position:"absolute",right:0,top:"50%",transform:"translateY(-50%)"}),pw=e=>{const{title:t,description:r,href:n,isExternal:i,eventTrackingName:o,onClickMenuOption:a}=e,s=F.useCallback(l=>{l.preventDefault(),a&&a(l,{eventTrackingName:o,url:n,isExternal:i}),setTimeout(()=>{window.open(n,i?"_blank":"_self","noopener")},a?300:0)},[a,o,n,i]);return u.jsx(tht,{isExternal:i,"aria-label":"submenu item",children:u.jsxs(rht,{href:n,onClick:s,isExternal:i,"aria-label":`${t} - ${i?"opens in new tab":"opens in same tab"}`,children:[u.jsx(nht,{"aria-label":t,children:t}),u.jsx(iht,{"aria-label":r,children:r}),i&&u.jsx(oht,{"aria-label":"external link icon"})]})})},aht="https://cdn.decentraland.org/@dcl/jump-site/1.1.1-23306513054.commit-ab06ce4/assets/create-submenu-DEFVbrc5.png",sht="https://cdn.decentraland.org/@dcl/jump-site/1.1.1-23306513054.commit-ab06ce4/assets/explore-submenu-KVl6Dc-h.png",lht="https://cdn.decentraland.org/@dcl/jump-site/1.1.1-23306513054.commit-ab06ce4/assets/governance-submenu-CXxLX9nT.png",cht="https://cdn.decentraland.org/@dcl/jump-site/1.1.1-23306513054.commit-ab06ce4/assets/learn-submenu-Xs1jOwfy.png",uht="https://cdn.decentraland.org/@dcl/jump-site/1.1.1-23306513054.commit-ab06ce4/assets/marketplace-submenu-CjxTqNhj.png",dht=de(Pe)(e=>{const{theme:t}=e;return{[t.breakpoints.down("sm")]:{position:"absolute",zIndex:e3.modal}}}),fht=de(Pe,{shouldForwardProp:e=>!["active","section","isMobile"].includes(e)})(e=>{const{active:t,section:r,theme:n}=e;let i,o,a;const s={opacity:1,top:"-200%",width:"100%",backgroundSize:"100% 100%",backgroundPosition:"0px 0px, 0px 0px",position:"fixed",zIndex:1099,left:0,paddingLeft:"370px",paddingRight:"48px",height:"328px",minHeight:"calc(390px + 64px)",boxShadow:"none",backgroundRepeat:"no-repeat",display:"flex",alignItems:"center",paddingTop:"64px",backgroundColor:n.palette.background.default,transition:`${n.transitions.create(["box-shadow","height"],{duration:n.transitions.duration.shorter,easing:n.transitions.easing.easeInOut})}, ${n.transitions.create(["top","left"],{duration:n.transitions.duration.complex,easing:"cubic-bezier(1, 0, 0.15, 1)"})}`};switch(t&&(i={opacity:1,top:0,zIndex:1099,boxShadow:n.shadows[20]},o={left:0}),r){case Ga.MARKETPLACE:i={...i,backgroundImage:"radial-gradient(350px 200px at 400px 120%,#691fa933 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #691fa933 0%, #073aff00 100%)"},a={backgroundImage:`url(${uht})`};break;case Ga.CREATE:i={...i,backgroundImage:"radial-gradient(350px 200px at 400px 120%,#ff743933 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #ff743933 0%, #073aff00 100%)"},a={backgroundImage:`url(${aht})`};break;case Ga.EXPLORE:i={...i,backgroundImage:"radial-gradient(350px 200px at 400px 120%,#3dd0ff33 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #3dd0ff33 0%, #073aff00 100%)"},a={backgroundImage:`url(${sht})`};break;case Ga.LEARN:i={...i,backgroundImage:"radial-gradient(350px 200px at 400px 120%,#a6746433 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #a6746433 0%, #073aff00 100%)"},a={backgroundImage:`url(${cht})`};break;case Ga.GOVERNANCE:i={...i,backgroundImage:"radial-gradient(350px 200px at 400px 120%,#ff3dec33 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #ff3dec33 0%, #073aff00 100%)"},a={backgroundImage:`url(${lht})`};break}return{...s,...i,"&::after":{content:'""',position:"absolute",width:"370px",height:"calc(100% - 64px)",top:"64px",backgroundRepeat:"no-repeat",backgroundPosition:"bottom center",left:0,backgroundSize:"auto 90%",...a,[n.breakpoints.between("sm","lg")]:{backgroundImage:"none"}},[n.breakpoints.down("lg")]:{paddingLeft:"48px","&::after":{content:"none"}},[n.breakpoints.down("sm")]:{top:"64px",left:"150%",height:"100vh",padding:"0 25px",margin:0,alignItems:"flex-start",boxShadow:"none",backgroundColor:n.palette.background.default,...o,"&::after":{content:"none"}}}}),pht=de(Pe)(e=>{const{theme:t}=e;return{width:"100%",display:"flex",alignItems:"flex-start",height:"fit-content",[t.breakpoints.down("sm")]:{flexDirection:"column"}}}),hht=de(Cn)({padding:"0"}),mW=e=>{const{selectedMenu:t,onToggleShowSubMenu:r,onClickMenuOption:n,isMobile:i,submenus:o}=e;return u.jsx(dht,{children:Object.keys(o).map(a=>{const s=a,l=o[s];return u.jsx(fht,{onMouseEnter:c=>!i&&r(c,!0,s),onMouseLeave:c=>!i&&r(c,!1,s),active:t===s,section:s,isMobile:i,"aria-label":`${s.toLowerCase()} submenu section`,children:u.jsxs(pht,{children:[i&&u.jsx(hht,{variant:"text",color:"inherit",onClick:c=>r(c,!1,s),startIcon:u.jsx(TN,{}),"aria-label":"back to main menu",children:"Back"}),u.jsx(fw,{title:l.column1Title,children:l.column1.map((c,d)=>u.jsx(pw,{isExternal:c.isExternal,title:c.title,description:c.description,href:c.url,eventTrackingName:c.eventTrackingName,onClickMenuOption:n},d))}),u.jsx(fw,{title:l.column2Title,children:l.column2.map((c,d)=>u.jsx(pw,{isExternal:c.isExternal,title:c.title,description:c.description,href:c.url,eventTrackingName:c.eventTrackingName,onClickMenuOption:n},d))}),!!l.column3&&u.jsx(fw,{title:l.column3Title,children:l.column3.map((c,d)=>u.jsx(pw,{isExternal:c.isExternal,title:c.title,description:c.description,href:c.url,eventTrackingName:c.eventTrackingName,onClickMenuOption:n},d))})]})},a)})})},mht=de(T3e,{shouldForwardProp:e=>!["isSubmenuOpen","isMobileOpen"].includes(e)})(e=>{const{isSubmenuOpen:t,isMobileOpen:r}=e;let n;return(t||r)&&(n={boxShadow:"none",backgroundImage:"none"}),{...n}}),gW=de(Rn,{shouldForwardProp:e=>e!=="isMobile"})(e=>{const{isMobile:t}=e;let r;return t&&(r={zIndex:e3.appBar}),{height:"36px",...r}}),ght=de(Pe)(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",[e.breakpoints.down("sm")]:{display:"none"}})),yht=de(Pe)({display:"flex",justifyContent:"space-between",width:"100%",alignItems:"center",height:"66px"}),vht=de(Pe)({width:"85px",display:"flex",alignItems:"center",height:"66px",justifyContent:"space-between"}),bht=de(Pe)({display:"flex",alignItems:"center"}),_ht=de(Cn)({height:"32px",width:"32px",minWidth:"32px",position:"relative",padding:0,"&:hover":{backgroundColor:"transparent"}}),yW=de("span",{shouldForwardProp:e=>e!=="isOpen"&&e!=="active"})(e=>{const{isOpen:t,theme:r}=e;let n;return t&&(n={"&:nth-of-type(1)":{top:"50%",left:"50%",transform:"translate(-50%, -50%) rotate(45deg)",width:"33.94px"},"&:nth-of-type(2)":{top:"50%",left:"50%",transform:"translate(-50%, -50%) rotate(-45deg)",width:"33.94px"}}),{transition:"all 0.3s ease",height:"2px",width:"100%",backgroundColor:r.palette.text.primary,position:"absolute","&:nth-of-type(1)":{top:"8px",left:0},"&:nth-of-type(2)":{top:"21px",left:0},...n}}),Eht=de(x8)(()=>({"& .MuiBackdrop-root.MuiModal-backdrop":{backgroundColor:"transparent"}})),vW=de(Gue)(({theme:e})=>({width:e.spacing(4.5),height:e.spacing(4.5),[e.breakpoints.down("sm")]:{width:e.spacing(4),height:e.spacing(4)}})),xht=ve.memo(e=>{const{activePage:t,chains:r,chainBeingConfirmed:n,onSelectChain:i,selectedChain:o,isSignedIn:a,i18nNavbar:s=mdt,i18nUserMenu:l=Yue,i18nChainSelector:c=gdt,submenuItems:d=ydt,onClickNavbarItem:f,...p}=e,[m,v]=F.useState(!1),[g,b]=F.useState(),[h,y]=F.useState(!1),w=T3(),T=F.useCallback((U,D,q)=>{v(D),b(D&&q)},[v,b]),R=F.useCallback((U,D)=>{f&&f(U,D)},[f]),S=F.useCallback((U,D)=>{D||v(!1),y(D)},[v,y]),I=F.useCallback((U,D)=>{p.onClickOpen&&p.onClickOpen(U,D),S(U,!1)},[p.onClickOpen,S]);return u.jsxs(u.Fragment,{children:[u.jsx(mht,{isSubmenuOpen:m,isMobileOpen:h,"aria-label":"navigation bar",children:u.jsx(S6e,{children:u.jsxs(yht,{children:[u.jsx(wqe,{children:u.jsxs(vht,{children:[u.jsx(gW,{isMobile:!0,href:"https://decentraland.org","aria-label":"Decentraland home",children:u.jsx(vW,{})}),u.jsxs(_ht,{"aria-label":"toggle menu",onClick:U=>S(U,!h),children:[u.jsx(yW,{isOpen:h,"aria-label":"menu bar"}),u.jsx(yW,{isOpen:h,"aria-label":"menu bar"})]})]})}),u.jsxs(ght,{children:[u.jsx(gW,{href:"https://decentraland.org","aria-label":"Decentraland home",children:u.jsx(vW,{})}),u.jsx(Kq,{activePage:t,onToggleShowSubMenu:T,i18n:s,isMobile:!1,"aria-label":"main navigation menu"})]}),u.jsxs(bht,{children:[a&&i&&(r!=null&&r.length)&&o?u.jsx(gWe,{chains:r,selectedChain:o,chainBeingConfirmed:n,i18n:c,onSelectChain:i,"aria-label":"blockchain network selector"}):null,u.jsx(Z0t,{...p,onClickOpen:w?I:p.onClickOpen,isSignedIn:a,i18n:l,"aria-label":"user menu"})]})]})})}),u.jsx(mW,{selectedMenu:g,onToggleShowSubMenu:T,onClickMenuOption:R,submenus:d,"aria-label":"submenu navigation"}),u.jsx(Eht,{open:w&&h,onClose:U=>S(U,!1),"aria-label":"mobile menu",children:u.jsxs(u.Fragment,{children:[u.jsx(Kq,{activePage:t,onToggleShowSubMenu:T,isOpenOnMobile:h,i18n:s,isMobile:!0,"aria-label":"main mobile navigation menu"}),u.jsx(mW,{selectedMenu:g,onToggleShowSubMenu:T,onClickMenuOption:R,isMobile:w,submenus:d,"aria-label":"mobile submenu navigation"})]})})]})});var sde={},qm={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return t}});var t=function(r){return r.DOCUMENT="document",r.PARAGRAPH="paragraph",r.HEADING_1="heading-1",r.HEADING_2="heading-2",r.HEADING_3="heading-3",r.HEADING_4="heading-4",r.HEADING_5="heading-5",r.HEADING_6="heading-6",r.OL_LIST="ordered-list",r.UL_LIST="unordered-list",r.LIST_ITEM="list-item",r.HR="hr",r.QUOTE="blockquote",r.EMBEDDED_ENTRY="embedded-entry-block",r.EMBEDDED_ASSET="embedded-asset-block",r.EMBEDDED_RESOURCE="embedded-resource-block",r.TABLE="table",r.TABLE_ROW="table-row",r.TABLE_CELL="table-cell",r.TABLE_HEADER_CELL="table-header-cell",r}({})})(qm);var J3={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return t}});var t=function(r){return r.ASSET_HYPERLINK="asset-hyperlink",r.EMBEDDED_ENTRY="embedded-entry-inline",r.EMBEDDED_RESOURCE="embedded-resource-inline",r.ENTRY_HYPERLINK="entry-hyperlink",r.HYPERLINK="hyperlink",r.RESOURCE_HYPERLINK="resource-hyperlink",r}({})})(J3);var Zj={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return t}});var t=function(r){return r.BOLD="bold",r.ITALIC="italic",r.UNDERLINE="underline",r.CODE="code",r.SUPERSCRIPT="superscript",r.SUBSCRIPT="subscript",r.STRIKETHROUGH="strikethrough",r}({})})(Zj);var Jj={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(S,I){for(var U in I)Object.defineProperty(S,U,{enumerable:!0,get:Object.getOwnPropertyDescriptor(I,U).get})}t(e,{get CONTAINERS(){return h},get HEADINGS(){return y},get LIST_ITEM_BLOCKS(){return m},get TABLE_BLOCKS(){return v},get TEXT_CONTAINERS(){return w},get TOP_LEVEL_BLOCKS(){return p},get V1_MARKS(){return R},get V1_NODE_TYPES(){return T},get VOID_BLOCKS(){return g}});var r=qm,n=J3,i=Zj;function o(S,I){(I==null||I>S.length)&&(I=S.length);for(var U=0,D=new Array(I);U<I;U++)D[U]=S[U];return D}function a(S){if(Array.isArray(S))return o(S)}function s(S,I,U){return I in S?Object.defineProperty(S,I,{value:U,enumerable:!0,configurable:!0,writable:!0}):S[I]=U,S}function l(S){if(typeof Symbol<"u"&&S[Symbol.iterator]!=null||S["@@iterator"]!=null)return Array.from(S)}function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(S){return a(S)||l(S)||f(S)||c()}function f(S,I){if(S){if(typeof S=="string")return o(S,I);var U=Object.prototype.toString.call(S).slice(8,-1);if(U==="Object"&&S.constructor&&(U=S.constructor.name),U==="Map"||U==="Set")return Array.from(U);if(U==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(U))return o(S,I)}}var p=[r.BLOCKS.PARAGRAPH,r.BLOCKS.HEADING_1,r.BLOCKS.HEADING_2,r.BLOCKS.HEADING_3,r.BLOCKS.HEADING_4,r.BLOCKS.HEADING_5,r.BLOCKS.HEADING_6,r.BLOCKS.OL_LIST,r.BLOCKS.UL_LIST,r.BLOCKS.HR,r.BLOCKS.QUOTE,r.BLOCKS.EMBEDDED_ENTRY,r.BLOCKS.EMBEDDED_ASSET,r.BLOCKS.EMBEDDED_RESOURCE,r.BLOCKS.TABLE],m=[r.BLOCKS.PARAGRAPH,r.BLOCKS.HEADING_1,r.BLOCKS.HEADING_2,r.BLOCKS.HEADING_3,r.BLOCKS.HEADING_4,r.BLOCKS.HEADING_5,r.BLOCKS.HEADING_6,r.BLOCKS.OL_LIST,r.BLOCKS.UL_LIST,r.BLOCKS.HR,r.BLOCKS.QUOTE,r.BLOCKS.EMBEDDED_ENTRY,r.BLOCKS.EMBEDDED_ASSET,r.BLOCKS.EMBEDDED_RESOURCE],v=[r.BLOCKS.TABLE,r.BLOCKS.TABLE_ROW,r.BLOCKS.TABLE_CELL,r.BLOCKS.TABLE_HEADER_CELL],g=[r.BLOCKS.HR,r.BLOCKS.EMBEDDED_ENTRY,r.BLOCKS.EMBEDDED_ASSET,r.BLOCKS.EMBEDDED_RESOURCE],b,h=(b={},s(b,r.BLOCKS.OL_LIST,[r.BLOCKS.LIST_ITEM]),s(b,r.BLOCKS.UL_LIST,[r.BLOCKS.LIST_ITEM]),s(b,r.BLOCKS.LIST_ITEM,m),s(b,r.BLOCKS.QUOTE,[r.BLOCKS.PARAGRAPH]),s(b,r.BLOCKS.TABLE,[r.BLOCKS.TABLE_ROW]),s(b,r.BLOCKS.TABLE_ROW,[r.BLOCKS.TABLE_CELL,r.BLOCKS.TABLE_HEADER_CELL]),s(b,r.BLOCKS.TABLE_CELL,[r.BLOCKS.PARAGRAPH,r.BLOCKS.UL_LIST,r.BLOCKS.OL_LIST]),s(b,r.BLOCKS.TABLE_HEADER_CELL,[r.BLOCKS.PARAGRAPH]),b),y=[r.BLOCKS.HEADING_1,r.BLOCKS.HEADING_2,r.BLOCKS.HEADING_3,r.BLOCKS.HEADING_4,r.BLOCKS.HEADING_5,r.BLOCKS.HEADING_6],w=[r.BLOCKS.PARAGRAPH].concat(d(y)),T=[r.BLOCKS.DOCUMENT,r.BLOCKS.PARAGRAPH,r.BLOCKS.HEADING_1,r.BLOCKS.HEADING_2,r.BLOCKS.HEADING_3,r.BLOCKS.HEADING_4,r.BLOCKS.HEADING_5,r.BLOCKS.HEADING_6,r.BLOCKS.OL_LIST,r.BLOCKS.UL_LIST,r.BLOCKS.LIST_ITEM,r.BLOCKS.HR,r.BLOCKS.QUOTE,r.BLOCKS.EMBEDDED_ENTRY,r.BLOCKS.EMBEDDED_ASSET,n.INLINES.HYPERLINK,n.INLINES.ENTRY_HYPERLINK,n.INLINES.ASSET_HYPERLINK,n.INLINES.EMBEDDED_ENTRY,"text"],R=[i.MARKS.BOLD,i.MARKS.CODE,i.MARKS.ITALIC,i.MARKS.UNDERLINE]})(Jj);var lde={};Object.defineProperty(lde,"__esModule",{value:!0});var cde={};Object.defineProperty(cde,"__esModule",{value:!0});var ude={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return r}});var t=qm,r={nodeType:t.BLOCKS.DOCUMENT,data:{},content:[{nodeType:t.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}})(ude);var dde={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(h,y){for(var w in y)Object.defineProperty(h,w,{enumerable:!0,get:Object.getOwnPropertyDescriptor(y,w).get})}t(e,{get isBlock(){return f},get isEmptyParagraph(){return m},get isInline(){return d},get isText(){return p},get stripEmptyTrailingParagraphFromDocument(){return b}});var r=qm,n=J3;function i(h,y,w){return y in h?Object.defineProperty(h,y,{value:w,enumerable:!0,configurable:!0,writable:!0}):h[y]=w,h}function o(h){for(var y=1;y<arguments.length;y++){var w=arguments[y]!=null?arguments[y]:{},T=Object.keys(w);typeof Object.getOwnPropertySymbols=="function"&&(T=T.concat(Object.getOwnPropertySymbols(w).filter(function(R){return Object.getOwnPropertyDescriptor(w,R).enumerable}))),T.forEach(function(R){i(h,R,w[R])})}return h}function a(h,y){var w=Object.keys(h);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(h);w.push.apply(w,T)}return w}function s(h,y){return y=y??{},Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(y)):a(Object(y)).forEach(function(w){Object.defineProperty(h,w,Object.getOwnPropertyDescriptor(y,w))}),h}function l(h){"@swc/helpers - typeof";return h&&typeof Symbol<"u"&&h.constructor===Symbol?"symbol":typeof h}function c(h,y){var w=!0,T=!1,R=void 0;try{for(var S=Object.keys(h)[Symbol.iterator](),I;!(w=(I=S.next()).done);w=!0){var U=I.value;if(y===h[U])return!0}}catch(D){T=!0,R=D}finally{try{!w&&S.return!=null&&S.return()}finally{if(T)throw R}}return!1}function d(h){return c(n.INLINES,h.nodeType)}function f(h){return c(r.BLOCKS,h.nodeType)}function p(h){return h.nodeType==="text"}function m(h){if(h.nodeType!==r.BLOCKS.PARAGRAPH||h.content.length!==1)return!1;var y=h.content[0];return y.nodeType==="text"&&y.value===""}function v(h){return h!=null&&(typeof h>"u"?"undefined":l(h))==="object"&&"content"in h&&Array.isArray(h.content)}var g=2;function b(h){if(!v(h)||h.content.length<g)return h;var y=h.content[h.content.length-1];return m(y)?s(o({},h),{content:h.content.slice(0,-1)}):h}})(dde);var fde={},p_={},wht=e=>{if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype},pde={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(v,g){for(var b in g)Object.defineProperty(v,b,{enumerable:!0,get:Object.getOwnPropertyDescriptor(g,b).get})}t(e,{get enumError(){return f},get maxSizeError(){return d},get minSizeError(){return c},get requiredPropertyError(){return m},get typeMismatchError(){return l},get unknownPropertyError(){return p}});function r(v,g){(g==null||g>v.length)&&(g=v.length);for(var b=0,h=new Array(g);b<g;b++)h[b]=v[b];return h}function n(v){if(Array.isArray(v))return r(v)}function i(v){if(typeof Symbol<"u"&&v[Symbol.iterator]!=null||v["@@iterator"]!=null)return Array.from(v)}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(v){return n(v)||i(v)||s(v)||o()}function s(v,g){if(v){if(typeof v=="string")return r(v,g);var b=Object.prototype.toString.call(v).slice(8,-1);if(b==="Object"&&v.constructor&&(b=v.constructor.name),b==="Map"||b==="Set")return Array.from(b);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return r(v,g)}}var l=function(v){var g=v.path,b=v.property,h=v.typeName,y=v.value;return{details:'The type of "'.concat(b,'" is incorrect, expected type: ').concat(h),name:"type",path:g.toArray(),type:h,value:y}},c=function(v){var g=v.min,b=v.value,h=v.path;return{name:"size",min:g,path:h.toArray(),details:"Size must be at least ".concat(g),value:b}},d=function(v){var g=v.max,b=v.value,h=v.path;return{name:"size",max:g,path:h.toArray(),details:"Size must be at most ".concat(g),value:b}},f=function(v){var g=v.expected,b=v.value,h=v.path;return{details:"Value must be one of expected values",name:"in",expected:a(g).sort(),path:h.toArray(),value:b}},p=function(v){var g=v.property,b=v.path;return{details:'The property "'.concat(g,'" is not expected'),name:"unexpected",path:b.toArray()}},m=function(v){var g=v.property,b=v.path;return{details:'The property "'.concat(g,'" is required here'),name:"required",path:b.toArray()}}})(pde);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ObjectAssertion",{enumerable:!0,get:function(){return v}});var t=c(wht),r=pde;function n(g,b){(b==null||b>g.length)&&(b=g.length);for(var h=0,y=new Array(b);h<b;h++)y[h]=g[h];return y}function i(g){if(Array.isArray(g))return n(g)}function o(g,b){if(!(g instanceof b))throw new TypeError("Cannot call a class as a function")}function a(g,b){for(var h=0;h<b.length;h++){var y=b[h];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(g,y.key,y)}}function s(g,b,h){return b&&a(g.prototype,b),g}function l(g,b,h){return b in g?Object.defineProperty(g,b,{value:h,enumerable:!0,configurable:!0,writable:!0}):g[b]=h,g}function c(g){return g&&g.__esModule?g:{default:g}}function d(g){if(typeof Symbol<"u"&&g[Symbol.iterator]!=null||g["@@iterator"]!=null)return Array.from(g)}function f(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(g){return i(g)||d(g)||m(g)||f()}function m(g,b){if(g){if(typeof g=="string")return n(g,b);var h=Object.prototype.toString.call(g).slice(8,-1);if(h==="Object"&&g.constructor&&(h=g.constructor.name),h==="Map"||h==="Set")return Array.from(h);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return n(g,b)}}var v=function(){function g(b,h){var y=this,w=this;o(this,g),l(this,"obj",void 0),l(this,"path",void 0),l(this,"_errors",void 0),l(this,"catch",void 0),l(this,"exists",void 0),l(this,"object",void 0),l(this,"string",void 0),l(this,"number",void 0),l(this,"array",void 0),l(this,"enum",void 0),l(this,"empty",void 0),l(this,"minLength",void 0),l(this,"noAdditionalProperties",void 0),l(this,"each",void 0),this.obj=b,this.path=h,this._errors=[],this.catch=function(){for(var T=arguments.length,R=new Array(T),S=0;S<T;S++)R[S]=arguments[S];var I;(I=w._errors).push.apply(I,p(R))},this.exists=function(T){return T in y.obj?!0:(y.catch((0,r.requiredPropertyError)({property:T,path:y.path.of(T)})),!1)},this.object=function(T){var R=T?y.obj[T]:y.obj;if(T&&!y.exists(T))return!1;if((0,t.default)(R))return!0;var S=T?y.path.of(T):y.path,I,U=(I=T??y.path.last())!==null&&I!==void 0?I:"value";return y.catch((0,r.typeMismatchError)({typeName:"Object",property:U,path:S,value:R})),!1},this.string=function(T){var R=y.obj[T];return T&&!y.exists(T)?!1:typeof R=="string"?!0:(y.catch((0,r.typeMismatchError)({typeName:"String",property:T,path:y.path.of(T),value:R})),!1)},this.number=function(T,R){var S=y.obj[T];return R&&!(T in y.obj)?!0:y.exists(T)?typeof S=="number"&&!Number.isNaN(S)?!0:(y.catch((0,r.typeMismatchError)({typeName:"Number",property:T,path:y.path.of(T),value:S})),!1):!1},this.array=function(T){var R=y.obj[T];return T&&!y.exists(T)?!1:Array.isArray(R)?!0:(y.catch((0,r.typeMismatchError)({typeName:"Array",property:T,path:y.path.of(T),value:R})),!1)},this.enum=function(T,R){var S=y.obj[T];return typeof S=="string"&&R.includes(S)?!0:(y.catch((0,r.enumError)({expected:R,value:S,path:y.path.of(T)})),!1)},this.empty=function(T){if(!y.array(T))return!1;var R=y.obj[T];return R.length===0?!0:(y.catch((0,r.maxSizeError)({max:0,value:R,path:y.path.of(T)})),!1)},this.minLength=function(T,R){if(!y.array(T))return!1;var S=y.obj[T];return S.length>=R?!0:(y.catch((0,r.minSizeError)({min:R,value:S,path:y.path.of(T)})),!1)},this.noAdditionalProperties=function(T){var R=Object.keys(y.obj).sort().filter(function(S){return!T.includes(S)});return R.forEach(function(S){return y.catch((0,r.unknownPropertyError)({property:S,path:y.path.of(S)}))}),R.length===0},this.each=function(T,R){if(y.array(T)){var S=y.obj[T],I=!1;S.forEach(function(U,D){if(!I){var q=R(U,y.path.of(T).of(D));q.length>0&&(I=!0),y.catch.apply(y,p(q))}})}}}return s(g,[{key:"errors",get:function(){var h=this,y=function(w){return JSON.stringify({details:w.details,path:w.path})};return this._errors.filter(function(w,T){return h._errors.findIndex(function(R){return y(w)===y(R)})===T})}}]),g}()})(p_);var hde={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(W,J){for(var $ in J)Object.defineProperty(W,$,{enumerable:!0,get:Object.getOwnPropertyDescriptor(J,$).get})}t(e,{get EntityLinkAssertion(){return I},get HyperLinkAssertion(){return U},get NodeAssertion(){return S},get VOID_CONTENT(){return R},get assert(){return D},get assertLink(){return q}});var r=p_;function n(W,J){(J==null||J>W.length)&&(J=W.length);for(var $=0,M=new Array(J);$<J;$++)M[$]=W[$];return M}function i(W){if(Array.isArray(W))return n(W)}function o(W){if(W===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return W}function a(W,J,$){return J=f(J),g(W,T()?Reflect.construct(J,$||[],f(W).constructor):J.apply(W,$))}function s(W,J){if(!(W instanceof J))throw new TypeError("Cannot call a class as a function")}function l(W,J){for(var $=0;$<J.length;$++){var M=J[$];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(W,M.key,M)}}function c(W,J,$){return J&&l(W.prototype,J),W}function d(W,J,$){return J in W?Object.defineProperty(W,J,{value:$,enumerable:!0,configurable:!0,writable:!0}):W[J]=$,W}function f(W){return f=Object.setPrototypeOf?Object.getPrototypeOf:function($){return $.__proto__||Object.getPrototypeOf($)},f(W)}function p(W,J){if(typeof J!="function"&&J!==null)throw new TypeError("Super expression must either be null or a function");W.prototype=Object.create(J&&J.prototype,{constructor:{value:W,writable:!0,configurable:!0}}),J&&b(W,J)}function m(W){if(typeof Symbol<"u"&&W[Symbol.iterator]!=null||W["@@iterator"]!=null)return Array.from(W)}function v(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(W,J){return J&&(y(J)==="object"||typeof J=="function")?J:o(W)}function b(W,J){return b=Object.setPrototypeOf||function(M,O){return M.__proto__=O,M},b(W,J)}function h(W){return i(W)||m(W)||w(W)||v()}function y(W){"@swc/helpers - typeof";return W&&typeof Symbol<"u"&&W.constructor===Symbol?"symbol":typeof W}function w(W,J){if(W){if(typeof W=="string")return n(W,J);var $=Object.prototype.toString.call(W).slice(8,-1);if($==="Object"&&W.constructor&&($=W.constructor.name),$==="Map"||$==="Set")return Array.from($);if($==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($))return n(W,J)}}function T(){try{var W=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(T=function(){return!!W})()}var R=[],S=function(){function W(J,$){s(this,W),d(this,"contentRule",void 0),d(this,"validateData",void 0),this.contentRule=J,this.validateData=$}return c(W,[{key:"assert",value:function($,M){var O=new r.ObjectAssertion($,M);if(!O.object())return O.errors;O.noAdditionalProperties(["nodeType","data","content"]);var N=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule($,M),H=N.nodeTypes,V=N.min,K=V===void 0?0:V;if(H.length===0&&K>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(K," with no nodeTypes"));if(O.minLength("content",K),H.length===0?O.empty("content"):O.each("content",function(_,P){var G=new r.ObjectAssertion(_,P);return G.object()&&G.enum("nodeType",H),G.errors}),O.object("data")){var j,A,x,C,E=(C=(A=(x=this).validateData)===null||A===void 0?void 0:A.call(x,$.data,M.of("data")))!==null&&C!==void 0?C:[];(j=O).catch.apply(j,h(E))}return O.errors}}]),W}(),I=function(W){p(J,W);function J($,M){s(this,J);var O;return O=a(this,J,[M,function(N,H){return o(O).assertLink(N,H)}]),d(O,"linkType",void 0),d(O,"type",void 0),d(O,"assertLink",void 0),O.linkType=$,O.assertLink=function(N,H){var V=new r.ObjectAssertion(N,H);if(V.object("target")){var K,j=new r.ObjectAssertion(N.target.sys,H.of("target").of("sys"));j.object()&&(j.enum("type",[O.type]),j.enum("linkType",[O.linkType]),O.type==="Link"?(j.string("id"),j.noAdditionalProperties(["type","linkType","id"])):O.type==="ResourceLink"&&(j.string("urn"),j.noAdditionalProperties(["type","linkType","urn"]))),(K=V).catch.apply(K,h(j.errors))}return V.noAdditionalProperties(["target"]),V.errors},O.type=O.linkType.startsWith("Contentful:")?"ResourceLink":"Link",O}return J}(S),U=function(W){p(J,W);function J(){s(this,J);var $;return $=a(this,J,[["text"],function(M,O){return o($).assertLink(M,O)}]),d($,"assertLink",function(M,O){var N=new r.ObjectAssertion(M,O);return N.string("uri"),N.noAdditionalProperties(["uri"]),N.errors}),$}return J}(S),D=function(W,J){return new S(W,J)},q=function(W,J){return new I(W,J)}})(hde);var mde={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return c}});function t(d,f){(f==null||f>d.length)&&(f=d.length);for(var p=0,m=new Array(f);p<f;p++)m[p]=d[p];return m}function r(d){if(Array.isArray(d))return t(d)}function n(d,f){if(!(d instanceof f))throw new TypeError("Cannot call a class as a function")}function i(d,f,p){return f in d?Object.defineProperty(d,f,{value:p,enumerable:!0,configurable:!0,writable:!0}):d[f]=p,d}function o(d){if(typeof Symbol<"u"&&d[Symbol.iterator]!=null||d["@@iterator"]!=null)return Array.from(d)}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(d){return r(d)||o(d)||l(d)||a()}function l(d,f){if(d){if(typeof d=="string")return t(d,f);var p=Object.prototype.toString.call(d).slice(8,-1);if(p==="Object"&&d.constructor&&(p=d.constructor.name),p==="Map"||p==="Set")return Array.from(p);if(p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p))return t(d,f)}}var c=function d(){var f=this,p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];n(this,d),i(this,"path",void 0),i(this,"of",void 0),i(this,"isRoot",void 0),i(this,"last",void 0),i(this,"toArray",void 0),this.path=p,this.of=function(m){return new d(s(f.path).concat([m]))},this.isRoot=function(){return f.path.length===0},this.last=function(){return f.path[f.path.length-1]},this.toArray=function(){return f.path}}})(mde);var gde={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assertText",{enumerable:!0,get:function(){return r}});var t=p_;function r(n,i){var o=new t.ObjectAssertion(n,i);return o.object()&&(o.noAdditionalProperties(["nodeType","data","value","marks"]),o.object("data"),o.each("marks",function(a,s){var l=new t.ObjectAssertion(a,s);return l.object()&&l.string("type"),l.errors}),o.string("value")),o.errors}})(gde);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"validateRichTextDocument",{enumerable:!0,get:function(){return S}});var t=qm,r=J3,n=Jj,i=p_,o=hde,a=mde,s=gde;function l(I,U){(U==null||U>I.length)&&(U=I.length);for(var D=0,q=new Array(U);D<U;D++)q[D]=I[D];return q}function c(I){if(Array.isArray(I))return l(I)}function d(I,U,D){return U in I?Object.defineProperty(I,U,{value:D,enumerable:!0,configurable:!0,writable:!0}):I[U]=D,I}function f(I){if(typeof Symbol<"u"&&I[Symbol.iterator]!=null||I["@@iterator"]!=null)return Array.from(I)}function p(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(I){return c(I)||f(I)||v(I)||p()}function v(I,U){if(I){if(typeof I=="string")return l(I,U);var D=Object.prototype.toString.call(I).slice(8,-1);if(D==="Object"&&I.constructor&&(D=I.constructor.name),D==="Map"||D==="Set")return Array.from(D);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return l(I,U)}}var g=(0,o.assert)(m(Object.values(r.INLINES)).concat(["text"]).sort()),b=(0,o.assert)([t.BLOCKS.LIST_ITEM]),h=(0,o.assertLink)("Entry",o.VOID_CONTENT),y=(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.PARAGRAPH],min:1}},function(I,U){var D=new i.ObjectAssertion(I,U);return D.noAdditionalProperties(["colspan","rowspan"]),D.number("colspan",!0),D.number("rowspan",!0),D.errors}),w,T=(w={},d(w,t.BLOCKS.DOCUMENT,(0,o.assert)(n.TOP_LEVEL_BLOCKS)),d(w,t.BLOCKS.PARAGRAPH,g),d(w,t.BLOCKS.HEADING_1,g),d(w,t.BLOCKS.HEADING_2,g),d(w,t.BLOCKS.HEADING_3,g),d(w,t.BLOCKS.HEADING_4,g),d(w,t.BLOCKS.HEADING_5,g),d(w,t.BLOCKS.HEADING_6,g),d(w,t.BLOCKS.QUOTE,(0,o.assert)(n.CONTAINERS[t.BLOCKS.QUOTE])),d(w,t.BLOCKS.EMBEDDED_ENTRY,h),d(w,t.BLOCKS.EMBEDDED_ASSET,(0,o.assertLink)("Asset",o.VOID_CONTENT)),d(w,t.BLOCKS.EMBEDDED_RESOURCE,(0,o.assertLink)("Contentful:Entry",o.VOID_CONTENT)),d(w,t.BLOCKS.HR,(0,o.assert)(o.VOID_CONTENT)),d(w,t.BLOCKS.OL_LIST,b),d(w,t.BLOCKS.UL_LIST,b),d(w,t.BLOCKS.LIST_ITEM,(0,o.assert)(m(n.LIST_ITEM_BLOCKS).sort())),d(w,t.BLOCKS.TABLE,(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_ROW],min:1}})),d(w,t.BLOCKS.TABLE_ROW,(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],min:1}})),d(w,t.BLOCKS.TABLE_CELL,y),d(w,t.BLOCKS.TABLE_HEADER_CELL,y),d(w,r.INLINES.HYPERLINK,new o.HyperLinkAssertion),d(w,r.INLINES.EMBEDDED_ENTRY,h),d(w,r.INLINES.EMBEDDED_RESOURCE,(0,o.assertLink)("Contentful:Entry",o.VOID_CONTENT)),d(w,r.INLINES.ENTRY_HYPERLINK,(0,o.assertLink)("Entry",["text"])),d(w,r.INLINES.ASSET_HYPERLINK,(0,o.assertLink)("Asset",["text"])),d(w,r.INLINES.RESOURCE_HYPERLINK,(0,o.assertLink)("Contentful:Entry",["text"])),w);function R(I,U){if(I.nodeType==="text")return(0,s.assertText)(I,U);var D=T[I.nodeType].assert(I,U);if(D.length>0)return D;var q=new i.ObjectAssertion(I,U);return q.each("content",function(W,J){return R(W,J)}),q.errors}var S=function(I){var U=new a.Path,D=new i.ObjectAssertion(I,U);return D.object()&&D.enum("nodeType",[t.BLOCKS.DOCUMENT]),D.errors.length>0?D.errors:R(I,U)}})(fde);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(f,p){for(var m in p)Object.defineProperty(f,m,{enumerable:!0,get:Object.getOwnPropertyDescriptor(p,m).get})}t(e,{get BLOCKS(){return r.BLOCKS},get EMPTY_DOCUMENT(){return o.EMPTY_DOCUMENT},get INLINES(){return n.INLINES},get MARKS(){return i.MARKS},get helpers(){return a},get validateRichTextDocument(){return s.validateRichTextDocument}});var r=qm,n=J3,i=Zj;l(Jj,e),l(lde,e),l(cde,e);var o=ude,a=d(dde),s=fde;function l(f,p){return Object.keys(f).forEach(function(m){m!=="default"&&!Object.prototype.hasOwnProperty.call(p,m)&&Object.defineProperty(p,m,{enumerable:!0,get:function(){return f[m]}})}),f}function c(f){if(typeof WeakMap!="function")return null;var p=new WeakMap,m=new WeakMap;return(c=function(v){return v?m:p})(f)}function d(f,p){if(f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var m=c(p);if(m&&m.has(f))return m.get(f);var v={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in f)if(b!=="default"&&Object.prototype.hasOwnProperty.call(f,b)){var h=g?Object.getOwnPropertyDescriptor(f,b):null;h&&(h.get||h.set)?Object.defineProperty(v,b,h):v[b]=f[b]}return v.default=f,m&&m.set(f,v),v}})(sde);var wn=F,Jr=sde;var Ln,qc;Ln={},Ln[Jr.BLOCKS.DOCUMENT]=function(e,t){return t},Ln[Jr.BLOCKS.PARAGRAPH]=function(e,t){return wn.createElement("p",null,t)},Ln[Jr.BLOCKS.HEADING_1]=function(e,t){return wn.createElement("h1",null,t)},Ln[Jr.BLOCKS.HEADING_2]=function(e,t){return wn.createElement("h2",null,t)},Ln[Jr.BLOCKS.HEADING_3]=function(e,t){return wn.createElement("h3",null,t)},Ln[Jr.BLOCKS.HEADING_4]=function(e,t){return wn.createElement("h4",null,t)},Ln[Jr.BLOCKS.HEADING_5]=function(e,t){return wn.createElement("h5",null,t)},Ln[Jr.BLOCKS.HEADING_6]=function(e,t){return wn.createElement("h6",null,t)},Ln[Jr.BLOCKS.EMBEDDED_ENTRY]=function(e,t){return wn.createElement("div",null,t)},Ln[Jr.BLOCKS.EMBEDDED_RESOURCE]=function(e,t){return wn.createElement("div",null,t)},Ln[Jr.BLOCKS.UL_LIST]=function(e,t){return wn.createElement("ul",null,t)},Ln[Jr.BLOCKS.OL_LIST]=function(e,t){return wn.createElement("ol",null,t)},Ln[Jr.BLOCKS.LIST_ITEM]=function(e,t){return wn.createElement("li",null,t)},Ln[Jr.BLOCKS.QUOTE]=function(e,t){return wn.createElement("blockquote",null,t)},Ln[Jr.BLOCKS.HR]=function(){return wn.createElement("hr",null)},Ln[Jr.BLOCKS.TABLE]=function(e,t){return wn.createElement("table",null,wn.createElement("tbody",null,t))},Ln[Jr.BLOCKS.TABLE_ROW]=function(e,t){return wn.createElement("tr",null,t)},Ln[Jr.BLOCKS.TABLE_HEADER_CELL]=function(e,t){return wn.createElement("th",null,t)},Ln[Jr.BLOCKS.TABLE_CELL]=function(e,t){return wn.createElement("td",null,t)},Ln[Jr.INLINES.ASSET_HYPERLINK]=function(e){return hw(Jr.INLINES.ASSET_HYPERLINK,e)},Ln[Jr.INLINES.ENTRY_HYPERLINK]=function(e){return hw(Jr.INLINES.ENTRY_HYPERLINK,e)},Ln[Jr.INLINES.RESOURCE_HYPERLINK]=function(e){return bW(Jr.INLINES.RESOURCE_HYPERLINK,e)},Ln[Jr.INLINES.EMBEDDED_ENTRY]=function(e){return hw(Jr.INLINES.EMBEDDED_ENTRY,e)},Ln[Jr.INLINES.EMBEDDED_RESOURCE]=function(e,t){return bW(Jr.INLINES.EMBEDDED_RESOURCE,e)},Ln[Jr.INLINES.HYPERLINK]=function(e,t){return wn.createElement("a",{href:e.data.uri},t)};qc={},qc[Jr.MARKS.BOLD]=function(e){return wn.createElement("b",null,e)},qc[Jr.MARKS.ITALIC]=function(e){return wn.createElement("i",null,e)},qc[Jr.MARKS.UNDERLINE]=function(e){return wn.createElement("u",null,e)},qc[Jr.MARKS.CODE]=function(e){return wn.createElement("code",null,e)},qc[Jr.MARKS.SUPERSCRIPT]=function(e){return wn.createElement("sup",null,e)},qc[Jr.MARKS.SUBSCRIPT]=function(e){return wn.createElement("sub",null,e)},qc[Jr.MARKS.STRIKETHROUGH]=function(e){return wn.createElement("s",null,e)};function hw(e,t){return wn.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function bW(e,t){return wn.createElement("span",{key:t.data.target.sys.urn},"type: ",t.nodeType," urn: ",t.data.target.sys.urn)}de(Pe)({display:"flex",justifyContent:"center",alignItems:"center",width:"100%"});de(Pe,{shouldForwardProp:e=>e!=="background"})(e=>{const{theme:t,background:r}=e;return{width:"100%",overflow:"hidden",display:"flex",padding:"2rem",justifyContent:"space-between",flexDirection:"row",backgroundImage:`url(${r})`,backgroundSize:"cover",backgroundPosition:"center",alignItems:"center",[t.breakpoints.down("sm")]:{flexDirection:"column-reverse"}}});de(Pe)({display:"flex",flexDirection:"row",flexGrow:1,marginRight:"20px"});de(Pe)(e=>{const{theme:t}=e;return{display:"flex",flexDirection:"column",gap:"0.1rem",[t.breakpoints.down("sm")]:{padding:"1rem"}}});de("img")(e=>{const{theme:t}=e;return{flexShrink:0,maxWidth:"400px",[t.breakpoints.down("sm")]:{maxWidth:"300px",marginBottom:"1rem"}}});de(Jt)(e=>{const{theme:t}=e;return{margin:0,color:"#fff",fontSize:"28px",textTransform:"uppercase",fontWeight:800,[t.breakpoints.down("sm")]:{fontSize:"24px"}}});de(Pe)(e=>{const{theme:t}=e;return{color:yn.white,fontSize:"19px","& p":{margin:0,padding:0},[t.breakpoints.down("sm")]:{fontSize:"16px"}}});de(Pe)({display:"flex",marginTop:"1rem"});de(Cn)({textTransform:"uppercase",minWidth:"300px"});var _W=Object.prototype.toString,yde=function(t){var r=_W.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&_W.call(t.callee)==="[object Function]"),n},mw,EW;function Cht(){if(EW)return mw;EW=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=yde,i=Object.prototype.propertyIsEnumerable,o=!i.call({toString:null},"toString"),a=i.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(p){var m=p.constructor;return m&&m.prototype===p},c={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if(typeof window>"u")return!1;for(var p in window)try{if(!c["$"+p]&&t.call(window,p)&&window[p]!==null&&typeof window[p]=="object")try{l(window[p])}catch{return!0}}catch{return!0}return!1}(),f=function(p){if(typeof window>"u"||!d)return l(p);try{return l(p)}catch{return!1}};e=function(m){var v=m!==null&&typeof m=="object",g=r.call(m)==="[object Function]",b=n(m),h=v&&r.call(m)==="[object String]",y=[];if(!v&&!g&&!b)throw new TypeError("Object.keys called on a non-object");var w=a&&g;if(h&&m.length>0&&!t.call(m,0))for(var T=0;T<m.length;++T)y.push(String(T));if(b&&m.length>0)for(var R=0;R<m.length;++R)y.push(String(R));else for(var S in m)!(w&&S==="prototype")&&t.call(m,S)&&y.push(String(S));if(o)for(var I=f(m),U=0;U<s.length;++U)!(I&&s[U]==="constructor")&&t.call(m,s[U])&&y.push(s[U]);return y}}return mw=e,mw}var Sht=Array.prototype.slice,Aht=yde,xW=Object.keys,S9=xW?function(t){return xW(t)}:Cht(),wW=Object.keys;S9.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(n){return Aht(n)?wW(Sht.call(n)):wW(n)})}else Object.keys=S9;return Object.keys||S9};var vde=S9,A9=Object.defineProperty||!1;if(A9)try{A9({},"a",{value:1})}catch{A9=!1}var h_=A9,bde=SyntaxError,Ep=TypeError,Tht=Object.getOwnPropertyDescriptor,T9=Tht;if(T9)try{T9([],"length")}catch{T9=null}var Wm=T9,CW=h_,Mht=bde,o0=Ep,SW=Wm,Xj=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new o0("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new o0("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new o0("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new o0("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new o0("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new o0("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,a=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,l=!!SW&&SW(t,r);if(CW)CW(t,r,{configurable:a===null&&l?l.configurable:!a,enumerable:i===null&&l?l.enumerable:!i,value:n,writable:o===null&&l?l.writable:!o});else if(s||!i&&!o&&!a)t[r]=n;else throw new Mht("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},$M=h_,_de=function(){return!!$M};_de.hasArrayLengthDefineBug=function(){if(!$M)return null;try{return $M([],"length",{value:1}).length!==1}catch{return!0}};var Qj=_de,Rht=vde,Iht=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Oht=Object.prototype.toString,Pht=Array.prototype.concat,AW=Xj,Lht=function(e){return typeof e=="function"&&Oht.call(e)==="[object Function]"},Ede=Qj(),kht=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!Lht(n)||!n())return}Ede?AW(e,t,r,!0):AW(e,t,r)},xde=function(e,t){var r=arguments.length>2?arguments[2]:{},n=Rht(t);Iht&&(n=Pht.call(n,Object.getOwnPropertySymbols(t)));for(var i=0;i<n.length;i+=1)kht(e,n[i],t[n[i]],r[n[i]])};xde.supportsDescriptors=!!Ede;var xp=xde,wde={exports:{}},eD=Object,Cde=Error,Nht=EvalError,jht=RangeError,Dht=ReferenceError,Bht=URIError,Fht=Math.abs,Uht=Math.floor,$ht=Math.max,Hht=Math.min,Vht=Math.pow,zht=Math.round,qht=Number.isNaN||function(t){return t!==t},Wht=qht,Ght=function(t){return Wht(t)||t===0?t:t<0?-1:1},m_=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var o in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==i||s.enumerable!==!0)return!1}return!0},TW=typeof Symbol<"u"&&Symbol,Kht=m_,tD=function(){return typeof TW!="function"||typeof Symbol!="function"||typeof TW("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Kht()},Sde=typeof Reflect<"u"&&Reflect.getPrototypeOf||null,Yht=eD,Ade=Yht.getPrototypeOf||null,gw,MW;function Zht(){if(MW)return gw;MW=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(l,c){for(var d=[],f=0;f<l.length;f+=1)d[f]=l[f];for(var p=0;p<c.length;p+=1)d[p+l.length]=c[p];return d},o=function(l,c){for(var d=[],f=c,p=0;f<l.length;f+=1,p+=1)d[p]=l[f];return d},a=function(s,l){for(var c="",d=0;d<s.length;d+=1)c+=s[d],d+1<s.length&&(c+=l);return c};return gw=function(l){var c=this;if(typeof c!="function"||t.apply(c)!==n)throw new TypeError(e+c);for(var d=o(arguments,1),f,p=function(){if(this instanceof f){var h=c.apply(this,i(d,arguments));return Object(h)===h?h:this}return c.apply(l,i(d,arguments))},m=r(0,c.length-d.length),v=[],g=0;g<m;g++)v[g]="$"+g;if(f=Function("binder","return function ("+a(v,",")+"){ return binder.apply(this,arguments); }")(p),c.prototype){var b=function(){};b.prototype=c.prototype,f.prototype=new b,b.prototype=null}return f},gw}var yw,RW;function X3(){if(RW)return yw;RW=1;var e=Zht();return yw=Function.prototype.bind||e,yw}var vw,IW;function rD(){return IW||(IW=1,vw=Function.prototype.call),vw}var bw,OW;function nD(){return OW||(OW=1,bw=Function.prototype.apply),bw}var Jht=typeof Reflect<"u"&&Reflect&&Reflect.apply,Xht=X3(),Qht=nD(),emt=rD(),tmt=Jht,Tde=tmt||Xht.call(emt,Qht),rmt=X3(),nmt=Ep,imt=rD(),omt=Tde,iD=function(t){if(t.length<1||typeof t[0]!="function")throw new nmt("a function is required");return omt(rmt,imt,t)},amt=iD,PW=Wm,Mde;try{Mde=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var _w=!!Mde&&PW&&PW(Object.prototype,"__proto__"),Rde=Object,LW=Rde.getPrototypeOf,smt=_w&&typeof _w.get=="function"?amt([_w.get]):typeof LW=="function"?function(t){return LW(t==null?t:Rde(t))}:!1,kW=Sde,NW=Ade,jW=smt,Ide=kW?function(t){return kW(t)}:NW?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return NW(t)}:jW?function(t){return jW(t)}:null,lmt=Function.prototype.call,cmt=Object.prototype.hasOwnProperty,umt=X3(),Ode=umt.call(lmt,cmt),Zr,dmt=eD,fmt=Cde,pmt=Nht,hmt=jht,mmt=Dht,im=bde,oh=Ep,gmt=Bht,ymt=Fht,vmt=Uht,bmt=$ht,_mt=Hht,Emt=Vht,xmt=zht,wmt=Ght,Pde=Function,Ew=function(e){try{return Pde('"use strict"; return ('+e+").constructor;")()}catch{}},jy=Wm,Cmt=h_,xw=function(){throw new oh},Smt=jy?function(){try{return arguments.callee,xw}catch{try{return jy(arguments,"callee").get}catch{return xw}}}():xw,a0=tD(),Gi=Ide,Amt=Ade,Tmt=Sde,Lde=nD(),Q3=rD(),m0={},Mmt=typeof Uint8Array>"u"||!Gi?Zr:Gi(Uint8Array),k1={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Zr:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Zr:ArrayBuffer,"%ArrayIteratorPrototype%":a0&&Gi?Gi([][Symbol.iterator]()):Zr,"%AsyncFromSyncIteratorPrototype%":Zr,"%AsyncFunction%":m0,"%AsyncGenerator%":m0,"%AsyncGeneratorFunction%":m0,"%AsyncIteratorPrototype%":m0,"%Atomics%":typeof Atomics>"u"?Zr:Atomics,"%BigInt%":typeof BigInt>"u"?Zr:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Zr:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Zr:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Zr:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":fmt,"%eval%":eval,"%EvalError%":pmt,"%Float16Array%":typeof Float16Array>"u"?Zr:Float16Array,"%Float32Array%":typeof Float32Array>"u"?Zr:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Zr:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Zr:FinalizationRegistry,"%Function%":Pde,"%GeneratorFunction%":m0,"%Int8Array%":typeof Int8Array>"u"?Zr:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Zr:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Zr:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":a0&&Gi?Gi(Gi([][Symbol.iterator]())):Zr,"%JSON%":typeof JSON=="object"?JSON:Zr,"%Map%":typeof Map>"u"?Zr:Map,"%MapIteratorPrototype%":typeof Map>"u"||!a0||!Gi?Zr:Gi(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":dmt,"%Object.getOwnPropertyDescriptor%":jy,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Zr:Promise,"%Proxy%":typeof Proxy>"u"?Zr:Proxy,"%RangeError%":hmt,"%ReferenceError%":mmt,"%Reflect%":typeof Reflect>"u"?Zr:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Zr:Set,"%SetIteratorPrototype%":typeof Set>"u"||!a0||!Gi?Zr:Gi(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Zr:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":a0&&Gi?Gi(""[Symbol.iterator]()):Zr,"%Symbol%":a0?Symbol:Zr,"%SyntaxError%":im,"%ThrowTypeError%":Smt,"%TypedArray%":Mmt,"%TypeError%":oh,"%Uint8Array%":typeof Uint8Array>"u"?Zr:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Zr:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Zr:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Zr:Uint32Array,"%URIError%":gmt,"%WeakMap%":typeof WeakMap>"u"?Zr:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Zr:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Zr:WeakSet,"%Function.prototype.call%":Q3,"%Function.prototype.apply%":Lde,"%Object.defineProperty%":Cmt,"%Object.getPrototypeOf%":Amt,"%Math.abs%":ymt,"%Math.floor%":vmt,"%Math.max%":bmt,"%Math.min%":_mt,"%Math.pow%":Emt,"%Math.round%":xmt,"%Math.sign%":wmt,"%Reflect.getPrototypeOf%":Tmt};if(Gi)try{null.error}catch(e){var Rmt=Gi(Gi(e));k1["%Error.prototype%"]=Rmt}var Imt=function e(t){var r;if(t==="%AsyncFunction%")r=Ew("async function () {}");else if(t==="%GeneratorFunction%")r=Ew("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Ew("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Gi&&(r=Gi(i.prototype))}return k1[t]=r,r},DW={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ev=X3(),v6=Ode,Omt=ev.call(Q3,Array.prototype.concat),Pmt=ev.call(Lde,Array.prototype.splice),BW=ev.call(Q3,String.prototype.replace),b6=ev.call(Q3,String.prototype.slice),Lmt=ev.call(Q3,RegExp.prototype.exec),kmt=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Nmt=/\\(\\)?/g,jmt=function(t){var r=b6(t,0,1),n=b6(t,-1);if(r==="%"&&n!=="%")throw new im("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new im("invalid intrinsic syntax, expected opening `%`");var i=[];return BW(t,kmt,function(o,a,s,l){i[i.length]=s?BW(l,Nmt,"$1"):a||o}),i},Dmt=function(t,r){var n=t,i;if(v6(DW,n)&&(i=DW[n],n="%"+i[0]+"%"),v6(k1,n)){var o=k1[n];if(o===m0&&(o=Imt(n)),typeof o>"u"&&!r)throw new oh("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new im("intrinsic "+t+" does not exist!")},wp=function(t,r){if(typeof t!="string"||t.length===0)throw new oh("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new oh('"allowMissing" argument must be a boolean');if(Lmt(/^%?[^%]*%?$/,t)===null)throw new im("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=jmt(t),i=n.length>0?n[0]:"",o=Dmt("%"+i+"%",r),a=o.name,s=o.value,l=!1,c=o.alias;c&&(i=c[0],Pmt(n,Omt([0,1],c)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],m=b6(p,0,1),v=b6(p,-1);if((m==='"'||m==="'"||m==="`"||v==='"'||v==="'"||v==="`")&&m!==v)throw new im("property names with quotes must have matching quotes");if((p==="constructor"||!f)&&(l=!0),i+="."+p,a="%"+i+"%",v6(k1,a))s=k1[a];else if(s!=null){if(!(p in s)){if(!r)throw new oh("base intrinsic for "+t+" exists, but the property is not available.");return}if(jy&&d+1>=n.length){var g=jy(s,p);f=!!g,f&&"get"in g&&!("originalValue"in g.get)?s=g.get:s=s[p]}else f=v6(s,p),s=s[p];f&&!l&&(k1[a]=s)}}return s},Bmt=wp,FW=Xj,Fmt=Qj(),UW=Wm,$W=Ep,Umt=Bmt("%Math.floor%"),$mt=function(t,r){if(typeof t!="function")throw new $W("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||Umt(r)!==r)throw new $W("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,o=!0;if("length"in t&&UW){var a=UW(t,"length");a&&!a.configurable&&(i=!1),a&&!a.writable&&(o=!1)}return(i||o||!n)&&(Fmt?FW(t,"length",r,!0,!0):FW(t,"length",r)),t},Hmt=X3(),Vmt=nD(),zmt=Tde,qmt=function(){return zmt(Hmt,Vmt,arguments)};(function(e){var t=$mt,r=h_,n=iD,i=qmt;e.exports=function(a){var s=n(arguments),l=a.length-(arguments.length-1);return t(s,1+(l>0?l:0),!0)},r?r(e.exports,"apply",{value:i}):e.exports.apply=i})(wde);var g_=wde.exports,kde=wp,Nde=iD,Wmt=Nde([kde("%String.prototype.indexOf%")]),rd=function(t,r){var n=kde(t,!!r);return typeof n=="function"&&Wmt(t,".prototype.")>-1?Nde([n]):n},Gmt=vde,jde=m_(),Dde=rd,M9=eD,Kmt=Dde("Array.prototype.push"),HW=Dde("Object.prototype.propertyIsEnumerable"),Ymt=jde?M9.getOwnPropertySymbols:null,Bde=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=M9(t);if(arguments.length===1)return n;for(var i=1;i<arguments.length;++i){var o=M9(arguments[i]),a=Gmt(o),s=jde&&(M9.getOwnPropertySymbols||Ymt);if(s)for(var l=s(o),c=0;c<l.length;++c){var d=l[c];HW(o,d)&&Kmt(a,d)}for(var f=0;f<a.length;++f){var p=a[f];if(HW(o,p)){var m=o[p];n[p]=m}}}return n},ww=Bde,Zmt=function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),r={},n=0;n<t.length;++n)r[t[n]]=t[n];var i=Object.assign({},r),o="";for(var a in i)o+=a;return e!==o},Jmt=function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch{return e[1]==="y"}return!1},Fde=function(){return!Object.assign||Zmt()||Jmt()?ww:Object.assign},Xmt=xp,Qmt=Fde,e2t=function(){var t=Qmt();return Xmt(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t},t2t=xp,r2t=g_,n2t=Bde,Ude=Fde,i2t=e2t,o2t=r2t.apply(Ude()),a2t=function(t,r){return o2t(Object,arguments)};t2t(a2t,{getPolyfill:Ude,implementation:n2t,shim:i2t});var $de=wp,Hde=g_,s2t=Hde($de("String.prototype.indexOf")),Vde=function(t,r){var n=$de(t,!!r);return typeof n=="function"&&s2t(t,".prototype.")>-1?Hde(n):n},Dy=function(){return typeof(function(){}).name=="string"},Hg=Object.getOwnPropertyDescriptor;if(Hg)try{Hg([],"length")}catch{Hg=null}Dy.functionsHaveConfigurableNames=function(){if(!Dy()||!Hg)return!1;var t=Hg(function(){},"name");return!!t&&!!t.configurable};var l2t=Function.prototype.bind;Dy.boundFunctionsHaveNames=function(){return Dy()&&typeof l2t=="function"&&(function(){}).bind().name!==""};var c2t=Dy,VW=Xj,u2t=Qj(),d2t=c2t.functionsHaveConfigurableNames(),f2t=Ep,p2t=function(t,r){if(typeof t!="function")throw new f2t("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return(!n||d2t)&&(u2t?VW(t,"name",r,!0,!0):VW(t,"name",r)),t},h2t=p2t,m2t=Ep,g2t=Object,zde=h2t(function(){if(this==null||this!==g2t(this))throw new m2t("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.unicodeSets&&(t+="v"),this.sticky&&(t+="y"),t},"get flags",!0),y2t=zde,v2t=xp.supportsDescriptors,b2t=Object.getOwnPropertyDescriptor,qde=function(){if(v2t&&/a/mig.flags==="gim"){var t=b2t(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var r="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){r+="d"}}),Object.defineProperty(n,"sticky",{get:function(){r+="y"}}),t.get.call(n),r==="dy")return t.get}}return y2t},_2t=xp.supportsDescriptors,E2t=qde,x2t=Wm,w2t=Object.defineProperty,C2t=Cde,zW=Ide,S2t=/a/,A2t=function(){if(!_2t||!zW)throw new C2t("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=E2t(),r=zW(S2t),n=x2t(r,"flags");return(!n||n.get!==t)&&w2t(r,"flags",{configurable:!0,enumerable:!1,get:t}),t},T2t=xp,M2t=g_,R2t=zde,Wde=qde,I2t=A2t,O2t=M2t(Wde());T2t(O2t,{getPolyfill:Wde,implementation:R2t,shim:I2t});var P2t=m_,y_=function(){return P2t()&&!!Symbol.toStringTag},L2t=wp,tv=rd;L2t("%Map%",!0);tv("Map.prototype.get",!0);tv("Map.prototype.set",!0);tv("Map.prototype.has",!0);tv("Map.prototype.delete",!0);tv("Map.prototype.size",!0);var k2t=wp,v_=rd;k2t("%WeakMap%",!0);v_("WeakMap.prototype.get",!0);v_("WeakMap.prototype.set",!0);v_("WeakMap.prototype.has",!0);v_("WeakMap.prototype.delete",!0);var Gde=rd;Gde("String.prototype.valueOf");Gde("Object.prototype.toString");y_();if(!(tD()||m_())){var qW=wp,N2t=qW("%Map%",!0),j2t=qW("%Set%",!0),nl=Vde;nl("Array.prototype.push"),nl("String.prototype.charCodeAt"),nl("String.prototype.slice"),!N2t&&!j2t||(nl("Map.prototype.forEach",!0),nl("Set.prototype.forEach",!0),(typeof process>"u"||!process.versions||!process.versions.node)&&(nl("Map.prototype.iterator",!0),nl("Set.prototype.iterator",!0)),nl("Map.prototype.@@iterator",!0)||nl("Map.prototype._es6-shim iterator_",!0),nl("Set.prototype.@@iterator",!0)||nl("Set.prototype._es6-shim iterator_",!0))}var WW=function(e){return e!==e},Kde=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||WW(t)&&WW(r))},D2t=Kde,Yde=function(){return typeof Object.is=="function"?Object.is:D2t},B2t=Yde,F2t=xp,U2t=function(){var t=B2t();return F2t(Object,{is:t},{is:function(){return Object.is!==t}}),t},$2t=xp,H2t=g_,V2t=Kde,Zde=Yde,z2t=U2t,q2t=H2t(Zde(),Object);$2t(q2t,{getPolyfill:Zde,implementation:V2t,shim:z2t});var GW=rd,W2t=y_(),G2t=Ode,K2t=Wm,HM;if(W2t){var Y2t=GW("RegExp.prototype.exec"),KW={},Cw=function(){throw KW},YW={toString:Cw,valueOf:Cw};typeof Symbol.toPrimitive=="symbol"&&(YW[Symbol.toPrimitive]=Cw),HM=function(t){if(!t||typeof t!="object")return!1;var r=K2t(t,"lastIndex"),n=r&&G2t(r,"value");if(!n)return!1;try{Y2t(t,YW)}catch(i){return i===KW}}}else{var Z2t=GW("Object.prototype.toString"),J2t="[object RegExp]";HM=function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:Z2t(t)===J2t}}var X2t=HM,Jde=rd;Jde("Number.prototype.toString");Jde("Object.prototype.toString");y_();var Xde=rd;Xde("Boolean.prototype.toString");Xde("Object.prototype.toString");y_();var Sw,ZW;function Q2t(){if(ZW)return Sw;ZW=1;var e=rd,t=X2t,r=e("RegExp.prototype.exec"),n=Ep;return Sw=function(o){if(!t(o))throw new n("`regex` must be a RegExp");return function(s){return r(o,s)!==null}},Sw}var Qde=rd;Qde("Object.prototype.toString");var egt=tD(),tgt=Q2t();egt&&(Qde("Symbol.prototype.toString"),tgt(/^Symbol\(.*\)$/));var JW=typeof BigInt<"u"&&BigInt,rgt=function(){return typeof JW=="function"&&typeof BigInt=="function"&&typeof JW(42)=="bigint"&&typeof BigInt(42)=="bigint"};rgt();var Fc=Vde,ngt=wp;Fc("SharedArrayBuffer.prototype.byteLength",!0);Fc("Date.prototype.getTime");Fc("Object.prototype.toString");ngt("%Set%",!0);Fc("Map.prototype.has",!0);Fc("Map.prototype.get",!0);Fc("Map.prototype.size",!0);Fc("Set.prototype.add",!0);Fc("Set.prototype.delete",!0);Fc("Set.prototype.has",!0);Fc("Set.prototype.size",!0);var oD={};Object.defineProperty(oD,"__esModule",{value:!0});function efe(){let e,t;const r=new Promise((n,i)=>{e=o=>{n(o),r.isPending=!1},t=o=>{i(o),r.isPending=!1}}).catch(n=>Promise.reject(n));return r.resolve=e,r.reject=t,"finally"in r||(r.finally=n=>{r.then(n),r.catch(n)}),r.isPending=!0,r}oD.future=efe;oD.default=efe;const XW=new Map,igt=new Map,tfe=new Map,_6=new Map;function VM(e){if(e.data&&e.data.type)try{switch(e.data.type){case E1.PreviewMessageType.CONTROLLER_RESPONSE:{const t=e.data.payload,{id:r}=t,n=XW.get(r);n&&(XW.delete(r),t.ok?n.resolve(t.result):t.ok===!1&&n.reject(new Error(t.error)));break}case E1.PreviewMessageType.EMOTE_EVENT:{const t=e.data.payload,{type:r,payload:n}=t,i=e.source?igt.get(e.source):null;i&&r&&i.emit(r,n);break}case E1.PreviewMessageType.LOAD:{e.source&&(tfe.set(e.source,!0),(_6.get(e.source)||[]).filter(n=>{var i;return((i=n.data)==null?void 0:i.type)!==E1.PreviewMessageType.LOAD}).forEach(VM),_6.delete(e.source));break}default:}}catch(t){console.error("Error processing WearablePreview message:",t)}}const ogt=e=>{var r;if(((r=e.data)==null?void 0:r.type)===E1.PreviewMessageType.LOAD){VM(e);return}if(!(e.source?tfe.get(e.source):!1)&&e.source){const n=_6.get(e.source)||[];n.push(e),_6.set(e.source,n);return}VM(e)};typeof window<"u"&&window.addEventListener("message",ogt,!1);de("iframe")({background:"transparent",border:0,width:"100%",height:"100%"});de(Pe)(({theme:e})=>({display:"flex",position:"absolute",width:"100%",bottom:0,margin:`${e.spacing(2)} 0`,padding:`0 ${e.spacing(3)}`,gap:e.spacing(2)}));de(u_)(({theme:e})=>({width:56,height:44,padding:0,minWidth:"unset",background:"rgba(0, 0, 0, 0.64) !important","& svg":{marginLeft:e.spacing(.5)}}));de(u_)(({theme:e,muted:t})=>({marginLeft:e.spacing(2.5),minWidth:25,background:"none",padding:0,opacity:t?.5:1}));de("input")(({theme:e})=>({flex:1,width:"100%",background:"none",WebkitAppearance:"none","&:focus":{outline:"none"},"&::-webkit-slider-thumb":{WebkitAppearance:"none",width:24,height:24,borderRadius:10,backgroundColor:"#736e7d",overflow:"visible",cursor:"pointer",paddingBottom:e.spacing(.625),marginTop:e.spacing(-.5)},"&::-moz-range-thumb":{width:24,height:24,borderRadius:20,backgroundColor:"#736e7d",overflow:"visible",cursor:"pointer",border:"none"},"&::-ms-thumb":{width:24,height:24,borderRadius:20,backgroundColor:"#736e7d",overflow:"visible",cursor:"pointer"},"&::-webkit-slider-runnable-track":{width:300,height:15,background:"rgba(115, 110, 125, 0.32)",border:"none",borderRadius:10},"&::-moz-range-track":{width:"100%",height:15,borderRadius:10,cursor:"pointer",background:"rgba(115, 110, 125, 0.32)"}}));de("div")({display:"flex",alignItems:"center"});de("input")({width:56,height:44,borderRadius:5,background:"transparent",border:"1px solid rgba(115, 110, 125, 0.4)",color:"white",textAlign:"center","&:focus-visible":{outline:"1px solid"}});de(Cn)(({theme:e})=>({gap:e.spacing(1)}));de(EJ)(({theme:e})=>({height:"calc(100% + 8px)",marginTop:e.spacing(-.5),borderColor:e.palette.common.white}));de(_h)(({placement:e})=>({transformOrigin:e==="bottom"?"center top":"center bottom"}));var Vg;(function(e){e.TOP="top",e.BOTTOM="bottom",e.CENTER="center"})(Vg||(Vg={}));var E6;(function(e){e.LEFT="left",e.RIGHT="right"})(E6||(E6={}));de(Pe)(({horizontalPosition:e=Vg.CENTER,verticalPosition:t=E6.RIGHT})=>({position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",...e===Vg.TOP?{justifyContent:"flex-start"}:e===Vg.BOTTOM?{justifyContent:"flex-end"}:{justifyContent:"center"},...t===E6.RIGHT?{justifyContent:"flex-end"}:{justifyContent:"flex-start"},pointerEvents:"none","& > *":{pointerEvents:"auto"}}));de(Pe)({display:"flex",alignItems:"center",flexDirection:"column"});de(Pe)({display:"flex",alignItems:"center",color:"#736e7d"});de(hbe)(({theme:e})=>({height:256,color:"#736e7d","& .MuiSlider-rail":{width:2,opacity:1,backgroundColor:"#000000",paddingBottom:e.spacing(4)},"& .MuiSlider-track":{width:2,border:"none",backgroundColor:"#000000"},"& .MuiSlider-thumb":{height:32,width:8,borderRadius:4,backgroundColor:"#736e7d",translate:"0px 16px",boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.16), inset 0px 1px 0px rgba(255, 255, 255, 0.16)","&:focus, &:hover, &.Mui-active, &.Mui-focusVisible":{boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.16), inset 0px 1px 0px rgba(255, 255, 255, 0.16)"},"&::before":{display:"none"}}}));var zM;(function(e){e.LEFT="left",e.RIGHT="right"})(zM||(zM={}));de("div")(({position:e})=>({display:"flex",flexDirection:"column",position:"absolute",top:"12px",...e===zM.LEFT?{left:"12px"}:{right:"12px"}}));de(u_)({width:"32px",height:"32px",minWidth:"unset",padding:0,backgroundColor:"rgba(0, 0, 0, 0.64) !important",borderRadius:0,display:"flex",justifyContent:"center",alignItems:"center","&:hover":{transform:"none"},"& i.icon":{margin:"0 !important"}});const agt={decentraland:"Decentraland"},sgt={normal:"tiny",large:"small",huge:"medium",massive:"massive"},lgt={normal:3,large:5,huge:8,massive:30},cgt=F.memo(e=>{const{isDecentraland:t,avatar:r,inline:n=!0,address:i,size:o="normal",rounded:a=!1,as:s,...l}=e,c=F.useMemo(()=>sgt[o],[o]),d=F.useMemo(()=>lgt[o],[o]);return t?u.jsx(Gue,{size:o}):r?u.jsx(M3,{size:c,inline:n,avatar:r}):u.jsx(Fqe,{seed:i,scale:d,rounded:a,as:s,...l})}),ugt=de("span")(({theme:e,inline:t=!0,size:r="normal"})=>({display:t?"inline-flex":"flex",gap:r!=="normal"?e.spacing(1):e.spacing(.5),alignItems:"center",verticalAlign:"top"})),QW=de("span",{shouldForwardProp:e=>e!=="highlightName"})(({theme:e,size:t="normal",highlightName:r=!1})=>{const n=t!=="normal"?e.typography.h6:e.typography.body1;return{fontSize:n.fontSize,fontWeight:r?600:n.fontWeight,lineHeight:n.lineHeight}}),dgt=de(Pe)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",gap:e.spacing(.5)}));de(ku)(({theme:e})=>({padding:e.spacing(.25),color:e.palette.text.secondary,"&:hover":{color:e.palette.text.primary}}));de(CN)({fontSize:"0.875em"});F.memo(e=>{const{address:t,avatar:r,textOnly:n,imageOnly:i,hasPopup:o,size:a="normal",inline:s=!0,sliceAddressBy:l=6,shortenAddress:c=!1,showBothNameAndAddress:d=!1,isDecentraland:f,as:p=ve.Fragment,i18n:m=agt,showCopyButton:v,highlightName:g=!1,...b}=e,h=Math.max(Math.min(l,42),6),y=r&&r.name,w=!f&&!y,T=F.useMemo(()=>{if(f)return m.decentraland;if(!y)return c?t:t.slice(0,h);if(r.hasClaimedName)return r.name;const I=t?`#${t.slice(-4)}`:"";return r.name.endsWith(I)?r.name:r.name+I},[r,t,h,c,f]),R=p,S=u.jsxs(ugt,{...e,size:a,inline:s,children:[n?null:u.jsx(R,{...b,children:u.jsx(cgt,{...e})}),i?null:u.jsx(R,{...b,children:d&&y?u.jsxs(dgt,{children:[u.jsx(QW,{size:a,highlightName:g,children:T}),u.jsx(Wb,{value:t,shorten:c,showCopyButton:v})]}):u.jsx(QW,{size:a,highlightName:g,children:w?u.jsx(Wb,{value:t,shorten:c,showCopyButton:v}):T})})]});return o?u.jsx(o3,{title:w?t:T,placement:"top",arrow:!0,children:S}):S});const fgt={home:"Home",privacy_policy:"Privacy Policy",terms_of_use:"Terms of Use",content_policy:"Content Policy",code_of_ethics:"Code of Ethics",copyright:"© 2025 Decentraland"},pgt={home:"Inicio",privacy_policy:"Política de Privacidad",terms_of_use:"Términos de Uso",content_policy:"Política de Contenido",code_of_ethics:"Código de Ética",copyright:"© 2025 Decentraland"},hgt={home:"Accueil",privacy_policy:"Politique de Confidentialité",terms_of_use:"Conditions d'Utilisation",content_policy:"Politique de Contenu",code_of_ethics:"Code d'Éthique",copyright:"© 2025 Decentraland"},mgt={home:"首页",privacy_policy:"隐私政策",terms_of_use:"使用条款",content_policy:"内容政策",code_of_ethics:"道德准则",copyright:"© 2025 Decentraland"},ggt={home:"홈",privacy_policy:"개인정보 보호정책",terms_of_use:"이용약관",content_policy:"컨텐츠 정책",code_of_ethics:"윤리 강령",copyright:"© 2025 Decentraland"},ygt={home:"ホーム",privacy_policy:"プライバシーポリシー",terms_of_use:"利用規約",content_policy:"コンテンツポリシー",code_of_ethics:"倫理規定",copyright:"© 2025 Decentraland"},eG={en:fgt,es:pgt,fr:hgt,zh:mgt,ko:ggt,ja:ygt},vgt=de(Cn)(({theme:e})=>({minWidth:"auto",padding:e.spacing(.5,1),color:e.palette.text.secondary,fontSize:e.typography.body2.fontSize,textTransform:"none",fontWeight:"normal","&:hover":{backgroundColor:"transparent",color:e.palette.primary.main}})),bgt=de(SJ)(({theme:e})=>({fontSize:e.typography.body2.fontSize,minHeight:"auto",padding:e.spacing(1,2)})),tG=de("span")({marginRight:8,display:"inline-flex",alignItems:"center"}),_gt=ve.memo(e=>{const{languages:t,selectedLanguage:r,onLanguageChange:n}=e,[i,o]=F.useState(null),a=!!i,s=f=>{o(f.currentTarget)},l=()=>{o(null)},c=f=>{n(f),l()},d=t.find(f=>f.code===r);return u.jsxs("div",{children:[u.jsx(vgt,{onClick:s,endIcon:u.jsx(Aqe,{}),"aria-controls":a?"language-menu":void 0,"aria-haspopup":"true","aria-expanded":a?"true":void 0,children:d&&u.jsxs(u.Fragment,{children:[u.jsx(tG,{children:d.flag}),d.code.toUpperCase()]})}),u.jsx(II,{id:"language-menu",anchorEl:i,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"},open:a,onClose:l,MenuListProps:{"aria-labelledby":"language-button"},children:t.map(f=>u.jsxs(bgt,{onClick:()=>c(f.code),selected:f.code===r,children:[u.jsx(tG,{children:f.flag}),f.name]},f.code))})]})});var iu;(function(e){e.EN="en",e.ES="es",e.FR="fr",e.ZH="zh",e.KO="ko",e.JA="ja"})(iu||(iu={}));const Egt=de("footer")(({theme:e})=>({backgroundColor:e.palette.background.paper,borderTop:`1px solid ${e.palette.divider}`,padding:e.spacing(4,0),marginTop:"auto"})),xgt=de(Pe)(({theme:e})=>({maxWidth:1200,margin:"0 auto",padding:e.spacing(0,2),display:"flex",justifyContent:"space-between",flexWrap:"wrap",gap:e.spacing(2),minHeight:"60px",[e.breakpoints.down("lg")]:{flexDirection:"column"}})),rG=de(Pe)(({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(2),[e.breakpoints.down("lg")]:{flexDirection:"column",gap:e.spacing(1)}})),wgt=de(Pe)({display:"flex",alignItems:"center"}),Cgt=de(Pe)(({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(2),flexWrap:"wrap",[e.breakpoints.down("lg")]:{justifyContent:"center",gap:e.spacing(2)}})),rfe=de("a")(({theme:e})=>({color:e.palette.text.secondary,textDecoration:"none",fontSize:e.typography.body2.fontSize,fontFamily:e.typography.fontFamily,transition:"color 0.2s ease","&:hover":{color:e.palette.primary.main,textDecoration:"underline"}})),Sgt=de(Pe)(({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(3),[e.breakpoints.down("lg")]:{gap:e.spacing(2)}})),Agt=de(Jt)(({theme:e})=>({color:e.palette.text.secondary,whiteSpace:"nowrap",[e.breakpoints.down("lg")]:{textAlign:"center"}})),Tgt=de(rfe)(({theme:e})=>({width:e.spacing(2.5),height:e.spacing(2.5)})),Mgt=[{code:iu.EN,name:"English",flag:"🇺🇸"},{code:iu.ES,name:"Español",flag:"🇪🇸"},{code:iu.FR,name:"Français",flag:"🇫🇷"},{code:iu.ZH,name:"中文",flag:"🇨🇳"},{code:iu.KO,name:"한국어",flag:"🇰🇷"},{code:iu.JA,name:"日本語",flag:"🇯🇵"}],Rgt=[{name:"Discord",href:ot.get("DISCORD_URL"),icon:u.jsx(Hue,{fontSize:"small"})},{name:"Reddit",href:ot.get("REDDIT_URL"),icon:u.jsx(aut,{fontSize:"small"})},{name:"GitHub",href:ot.get("GITHUB_URL"),icon:u.jsx(out,{fontSize:"small"})},{name:"X",href:ot.get("X_URL"),icon:u.jsx(lut,{fontSize:"small"})}];ve.memo(e=>{const{languages:t=Mgt,selectedLanguage:r=iu.EN,onLanguageChange:n,hideSocialNetworks:i=!1}=e,o=eG[r]||eG.en,a=[{label:o.home,href:"/"},{label:o.privacy_policy,href:ot.get("PRIVACY_POLICY_URL")},{label:o.terms_of_use,href:ot.get("TERMS_OF_USE_URL")},{label:o.content_policy,href:ot.get("CONTENT_POLICY_URL")},{label:o.code_of_ethics,href:ot.get("CODE_OF_ETHICS_URL")}],s=l=>{n==null||n(l)};return u.jsx(Egt,{children:u.jsxs(xgt,{children:[u.jsxs(rG,{children:[u.jsx(wgt,{children:u.jsx(_gt,{languages:t,selectedLanguage:r,onLanguageChange:s})}),u.jsx(Cgt,{children:a.map((l,c)=>u.jsx(rfe,{href:l.href,children:l.label},c))})]}),u.jsxs(rG,{children:[!i&&u.jsx(Sgt,{children:Rgt.map((l,c)=>u.jsx(Tgt,{href:l.href,target:"_blank",rel:"noopener noreferrer",title:l.name,children:l.icon},c))}),u.jsx(Agt,{variant:"body2",children:o.copyright})]})]})})});const Fa={stayUpdatedWith:"Stay updated with",decentraland:"Decentraland",resources:"Resources",marketplace:"Marketplace",creatorHub:"Creator Hub",docs:"Docs",events:"Events",blog:"Blog",connect:"Connect",support:"Support",email:"Email",dao:"DAO",faq:"FAQ"},Igt=Ee("footer")(({theme:e})=>({display:"flex",justifyContent:"space-between",backgroundColor:e.palette.background.default,zIndex:11,height:"475px",position:"relative",paddingTop:e.spacing(12),paddingLeft:e.spacing(20),paddingRight:e.spacing(20),[e.breakpoints.down("xl")]:{paddingLeft:e.spacing(10),paddingRight:e.spacing(10)},[e.breakpoints.down("md")]:{paddingLeft:e.spacing(6.75),paddingRight:e.spacing(6.75)},[e.breakpoints.down("xs")]:{flexDirection:"column",alignItems:"center",paddingLeft:e.spacing(1),paddingRight:e.spacing(1),height:"630px"}})),Ogt=Ee(Pe)(({theme:e})=>({display:"flex",width:"710px",justifyContent:"space-around",[e.breakpoints.down("xs")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3),width:"100%"}})),nG=Ee(Pe)({display:"flex",flexDirection:"column"}),iG=Ee(Jt)(({theme:e})=>({color:e.palette.text.secondary,textTransform:"uppercase",marginBottom:e.spacing(2),marginLeft:e.spacing(.625),fontWeight:500})),Wc=Ee(Cn)(({theme:e})=>({cursor:"pointer",justifyContent:"flex-start",marginBottom:e.spacing(.5),"&.MuiButton-sizeMedium.MuiButton-textSecondary:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:e.palette.text.primary,textTransform:"capitalize","& .MuiButton-startIcon svg.MuiSvgIcon-root":{color:e.palette.text.secondary}},"&.MuiButton-sizeMedium.MuiButton-textSecondary:not(.Mui-disabled):not(.Mui-focusVisible):hover":{textTransform:"capitalize"},"&:hover":{backgroundColor:"transparent"},[e.breakpoints.down("xs")]:{"&.MuiButton-sizeMedium.MuiButton-textSecondary:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{fontSize:"24px",fontWeight:700,lineHeight:"32px","& .MuiButton-startIcon svg.MuiSvgIcon-root":{fontSize:"24px"}}}})),Pgt=Ee(Pe)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",width:"470px",[e.breakpoints.down("xs")]:{width:"100%",paddingLeft:e.spacing(2),paddingRight:e.spacing(2),alignItems:"center"}})),Lgt=Ee(Jt)(({theme:e})=>({color:e.palette.text.disabled,[e.breakpoints.down("md")]:{fontSize:"1.25rem"},[e.breakpoints.down("xs")]:{paddingLeft:e.spacing(1),paddingRight:e.spacing(1),fontSize:"1.5rem"}})),kgt=Ee(Jt)(({theme:e})=>({color:"#fff",marginBottom:e.spacing(2),fontFamily:"DecentralandHero",[e.breakpoints.down("md")]:{fontSize:"2rem"},[e.breakpoints.down("xs")]:{paddingLeft:e.spacing(1),paddingRight:e.spacing(1),marginBottom:e.spacing(3),fontSize:"2.5rem"}})),Ngt=Ee("iframe")({width:"100%",border:"none",height:"125px"}),jgt=Ee(Pe)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",marginBottom:e.spacing(2),width:"100%",[e.breakpoints.down("xs")]:{display:"none"}})),Dgt=Ee(Pe)({display:"flex",width:"80%",justifyContent:"space-between"}),Kf=Ee(Rn)({cursor:"pointer",fontSize:"32px",color:"#fff","&:hover":{color:"#fff"}});ve.memo(e=>{const{subscriptionSrc:t,hideSubscription:r=!1,hideDiscord:n=!1,hideGithub:i=!1,hideX:o=!1,hideInstagram:a=!1,hideYoutube:s=!1,hideTiktok:l=!1,hideLinkedin:c=!1,hideMarketplace:d=!1,hideCreatorHub:f=!1,hideDocs:p=!1,hideEvents:m=!1,hideBlog:v=!1,hideSupport:g=!1,hideEmail:b=!1,hideDao:h=!1,hideFaq:y=!1,onLinkClick:w,trackingContext:T}=e,R=ot.get("BEEHIV_SUBSCRIPTION_URL"),S=t??R,I=ot.get("DISCORD_URL"),U=ot.get("GITHUB_URL"),D=ot.get("X_URL"),q=ot.get("INSTAGRAM_URL"),W=ot.get("YOUTUBE_URL"),J=ot.get("TIKTOK_URL"),$=ot.get("LINKEDIN_URL"),M=ot.get("MARKETPLACE_URL"),O=ot.get("CREATE_URL"),N=ot.get("DOCS_URL"),H=ot.get("EVENTS_URL"),V=ot.get("BLOG_URL"),K=ot.get("SUPPORT_URL"),j=ot.get("EMAIL_HELLO_URL"),A=ot.get("DAO_URL"),x=ot.get("FAQ_URL"),C=F.useCallback(_=>{if(w){_.preventDefault(),w(_);const P=_.currentTarget.href;setTimeout(()=>{window.location.href=P},500)}},[w]),E=pp();return u.jsxs(Igt,{children:[u.jsxs(Pgt,{children:[u.jsx(Lgt,{variant:E?"h3":"h4",children:Fa.stayUpdatedWith}),u.jsx(kgt,{variant:E?"h1":"h2",children:Fa.decentraland}),!r&&S&&u.jsx(Ngt,{src:S,"data-test-id":"beehiiv-embed"}),u.jsx(jgt,{children:u.jsxs(Dgt,{children:[!n&&I&&u.jsx(Kf,{href:I,onClick:C,target:"_blank",rel:"noopener noreferrer","data-place":T,children:u.jsx(Hue,{fontSize:"inherit"})}),!i&&U&&u.jsx(Kf,{href:U,onClick:C,target:"_blank",rel:"noopener noreferrer","data-place":T,children:u.jsx(eN,{fontSize:"inherit"})}),!o&&D&&u.jsx(Kf,{href:D,onClick:C,target:"_blank",rel:"noopener noreferrer","data-place":T,children:u.jsx(_N,{fontSize:"inherit"})}),!a&&q&&u.jsx(Kf,{href:q,onClick:C,target:"_blank",rel:"noopener noreferrer","data-place":T,children:u.jsx(lN,{fontSize:"inherit"})}),!s&&W&&u.jsx(Kf,{href:W,onClick:C,target:"_blank",rel:"noopener noreferrer","data-place":T,children:u.jsx(xN,{fontSize:"inherit"})}),!l&&J&&u.jsx(Kf,{href:J,onClick:C,target:"_blank",rel:"noopener noreferrer","data-place":T,children:u.jsx(sut,{fontSize:"inherit"})}),!c&&$&&u.jsx(Kf,{href:$,onClick:C,target:"_blank",rel:"noopener noreferrer","data-place":T,children:u.jsx(uN,{fontSize:"inherit"})})]})})]}),u.jsxs(Ogt,{children:[u.jsxs(nG,{children:[u.jsx(iG,{variant:"body1",children:Fa.resources}),!d&&M&&u.jsx(Wc,{variant:"text",color:"secondary",startIcon:u.jsx(fN,{sx:{transform:"scaleX(-1)"}}),href:M,onClick:C,"data-place":T,children:Fa.marketplace}),!f&&O&&u.jsx(Wc,{variant:"text",color:"secondary",startIcon:u.jsx(rN,{}),href:O,onClick:C,"data-place":T,children:Fa.creatorHub}),!p&&N&&u.jsx(Wc,{variant:"text",color:"secondary",startIcon:u.jsx(aN,{}),href:N,onClick:C,"data-place":T,children:Fa.docs}),!m&&H&&u.jsx(Wc,{variant:"text",color:"secondary",startIcon:u.jsx(Xk,{}),href:H,onClick:C,"data-place":T,children:Fa.events}),!v&&V&&u.jsx(Wc,{variant:"text",color:"secondary",startIcon:u.jsx(Zk,{}),href:V,onClick:C,"data-place":T,children:Fa.blog})]}),u.jsxs(nG,{children:[u.jsx(iG,{variant:"body1",children:Fa.connect}),!g&&K&&u.jsx(Wc,{variant:"text",color:"secondary",startIcon:u.jsx(vN,{}),href:K,onClick:C,"data-place":T,children:Fa.support}),!b&&j&&u.jsx(Wc,{variant:"text",color:"secondary",startIcon:u.jsx(hN,{}),href:j,onClick:C,"data-place":T,children:Fa.email}),!h&&A&&u.jsx(Wc,{variant:"text",color:"secondary",startIcon:u.jsx(gN,{}),href:A,onClick:C,"data-place":T,children:Fa.dao}),!y&&x&&u.jsx(Wc,{variant:"text",color:"secondary",startIcon:u.jsx(iN,{}),href:x,onClick:C,"data-place":T,children:Fa.faq})]})]})]})});const Bgt={rarities:{[Re.Rarity.COMMON]:"Common",[Re.Rarity.UNCOMMON]:"Uncommon",[Re.Rarity.RARE]:"Rare",[Re.Rarity.EPIC]:"Epic",[Re.Rarity.LEGENDARY]:"Legendary",[Re.Rarity.EXOTIC]:"Exotic",[Re.Rarity.MYTHIC]:"Mythic",[Re.Rarity.UNIQUE]:"Unique"},raritiesDescription:{[Re.Rarity.COMMON]:"This is the common rarity",[Re.Rarity.UNCOMMON]:"This is the uncommon rarity",[Re.Rarity.RARE]:"This is the rare rarity",[Re.Rarity.EPIC]:"This is the epic rarity",[Re.Rarity.LEGENDARY]:"This is the legendary rarity",[Re.Rarity.EXOTIC]:"This is the exotic rarity",[Re.Rarity.MYTHIC]:"This is the mythic rarity",[Re.Rarity.UNIQUE]:"This is the unique rarity"}},Fgt=de(yJ)(e=>{const{theme:t,rarity:r,size:n="medium",square:i=!1}=e,o={small:{fontSize:t.typography.caption.fontSize,fontWeight:t.typography.caption.fontWeight,lineHeight:t.typography.caption.lineHeight},medium:{fontSize:t.typography.body2.fontSize,fontWeight:t.typography.body2.fontWeight,lineHeight:t.typography.body2.lineHeight}};return{backgroundColor:t.palette.rarities[r],color:t.palette.raritiesText[r],textTransform:"uppercase",...i?{borderRadius:"5px",height:n==="small"?t.spacing(3):t.spacing(3.25)}:{},...o[n],":hover":{backgroundColor:t.palette.rarities[r]}}}),Ugt=ve.memo(e=>{const{rarity:t,size:r="medium",square:n=!1,withTooltip:i=!1,onClick:o=()=>{},i18n:a=Bgt}=e,s=u.jsx(Fgt,{rarity:t,label:a.rarities[t],size:r,square:n,onClick:o});return i?u.jsx(o3,{title:a.raritiesDescription[t],placement:"top",arrow:!0,children:s}):s}),$gt=de("div")(({rarity:e})=>{const[t,r]=Re.Rarity.getGradient(e);return{display:"flex",alignItems:"center",justifyContent:"center",height:"inherit",width:"inherit",margin:"auto",backgroundImage:`radial-gradient(${t}, ${r})`}}),Hgt=de("img")({magin:"auto",maxHeight:"100%"}),Vgt=ve.memo(e=>{const{rarity:t,name:r,src:n,...i}=e;return u.jsx($gt,{rarity:t,...i,children:u.jsx(Hgt,{src:n,alt:r})})}),nfe=de(Vgt)(({theme:e})=>({borderRadius:`${e.spacing(1)} ${e.spacing(1)} 0 0`,height:e.spacing(26),transition:"height 0.3s ease-in-out",[e.breakpoints.down("sm")]:{height:e.spacing(15)}})),zgt=de(_J)(({theme:e})=>({display:"flex",flex:1,flexDirection:"column",flexFlow:"column nowrap",alignItems:"flex-start",gap:e.spacing(.25),minHeight:e.spacing(20)})),qgt=de(Pe)({display:"flex",flexDirection:"column",alignItems:"flex-start",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"}),Wgt=de(Jt)({fontWeight:600,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",maxWidth:"100%"}),Ggt=de(Wb)(({theme:e})=>({fontSize:e.typography.body2.fontSize,fontWeight:e.typography.body2.fontWeight,lineHeight:e.typography.body2.lineHeight,color:e.palette.text.secondary})),ife=de(Pe)(({theme:e})=>({flex:1,display:"flex",alignItems:"center",gap:e.spacing(.5),[e.breakpoints.up("sm")]:{height:e.spacing(0),opacity:0,overflow:"hidden",transition:"height 0.1s ease-in-out, opacity 0.6s ease-in-out"}})),Kgt=de(Pe)({flex:1,display:"flex",alignItems:"center"}),ofe=de(Pe)(({theme:e})=>({flex:1,[e.breakpoints.up("sm")]:{height:e.spacing(0),opacity:0,overflow:"hidden",transition:"height 0.1s ease-in-out, opacity 0.6s ease-in-out"}})),Ygt=de(bJ)(({theme:e,withShadow:t})=>({height:e.spacing(45),transition:"transform 0.1s ease-in-out, box-shadow 0.3s ease-in-out, height 0.1s ease-in-out",borderRadius:e.spacing(1),width:e.spacing(36),maxWidth:"100%",position:"relative",display:"flex",flexDirection:"column",padding:0,overflow:"hidden","&:hover":{transition:"transform 0.1s ease-in-out, box-shadow 0.3s ease-in-out, height 0.3s ease-in-out",height:e.spacing(46),padding:e.spacing(0),borderRadius:e.spacing(1),boxShadow:t?`0px 0px 20px 6px ${ul(e.palette.mode==="dark"?e.palette.common.white:e.palette.common.black,.37)}`:"none",[`${ofe}, ${ife}`]:{height:"auto",opacity:1,transition:"height 0.3s ease-in-out, opacity 0.6s ease-in-out"},[`${nfe}`]:{height:e.spacing(20),transition:"height 0.1s ease-in-out"}}})),Zgt=ve.memo(e=>{const{price:t,asset:r}=e;return u.jsxs(Kgt,{children:[u.jsx(K3,{size:"large",network:r.network}),u.jsx(Jt,{variant:"h4",children:t})]})});ve.memo(e=>{const{asset:t,imageSrc:r,price:n,owners:i,extraInformation:o,action:a,actionIcon:s,withShadow:l,i18n:c}=e;return u.jsxs(Ygt,{withShadow:l,children:[u.jsx(nfe,{className:"AssetImageContainer",name:t.name,rarity:t.rarity,src:r}),u.jsxs(zgt,{children:[u.jsxs(qgt,{children:[u.jsx(Wgt,{variant:"body1",children:t.name}),t.network===Re.Network.MATIC&&u.jsx(Ggt,{value:t.creator})]}),u.jsxs(ife,{className:"CatalogItemInformationContainer",children:[u.jsx(Jt,{variant:"body2",children:a}),s]}),n?u.jsx(Zgt,{price:n,asset:t}):i,o&&u.jsx(ofe,{className:"ExtraInformationContainer",children:o}),u.jsx(Ugt,{square:!0,rarity:t.rarity,i18n:c})]})]})});const sf="#a0abff",Jgt="rgba(160, 171, 255, 0.15)",Xgt=jc({"0%":{backgroundPosition:"300% 0%"},"100%":{backgroundPosition:"0% 0%"}});de(Pe)(({theme:e,active:t,showLearnMore:r})=>({display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",padding:`${e.spacing(.5)} ${e.spacing(2.25)}`,paddingLeft:e.spacing(.5),borderRadius:e.spacing(1),border:"1px solid",borderColor:t?sf:Jgt,transition:"all 0.2s ease",marginBottom:e.spacing(2),position:"relative",gap:r?e.spacing(1.5):0,...t?{}:{"&::before":{content:'""',position:"absolute",inset:"-2px",borderRadius:e.spacing(1.25),background:`linear-gradient(90deg, transparent, transparent, ${sf}, ${sf}, transparent, transparent)`,backgroundSize:"300% 100%",animation:`${Xgt} 6s linear infinite`,WebkitMask:`
|
|
895
895
|
linear-gradient(#fff 0 0) content-box,
|
|
896
896
|
linear-gradient(#fff 0 0)
|
|
897
897
|
`,WebkitMaskComposite:"xor",mask:`
|
|
898
898
|
linear-gradient(#fff 0 0) content-box,
|
|
899
899
|
linear-gradient(#fff 0 0)
|
|
900
|
-
`,maskComposite:"exclude",padding:"2px",pointerEvents:"none",zIndex:1}}}));de(Pe)(({theme:e,active:t})=>({position:"relative",display:"flex",alignItems:"center",gap:e.spacing(1.5),paddingLeft:e.spacing(1.5),"& .MuiSwitch-root.MuiSwitch-sizeMedium":{marginLeft:e.spacing(-1.5)},...t&&{"& .MuiSwitch-thumb":{backgroundColor:`${sf} !important`},"& .Mui-checked + .MuiSwitch-track":{backgroundColor:`${sf} !important`}}}));de("span")(({theme:e,active:t})=>({fontSize:"15px",fontWeight:500,color:t?sf:e.palette.text.primary,transition:"color 0.2s ease"}));de("span")(({theme:e,active:t})=>({fontSize:"15px",color:t?sf:e.palette.text.primary,transition:"color 0.2s ease"}));de("span")({fontWeight:600,color:sf,cursor:"pointer",transition:"color 0.2s ease"});de(Pe)(({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(.5)}));de(Pe)(({show:e})=>({position:"absolute",left:"-175px",bottom:"-200px",width:"500px",height:"500px",opacity:e?1:0,pointerEvents:"none"}));de(Cn)(({theme:e})=>({color:e.palette.primary.main,textTransform:"uppercase"}));de(Hbe)({"& .MuiSwitch-switchBase":{"&:hover":{backgroundColor:"transparent"}}});const Qgt=Ee(bJ)(({theme:e,withShadow:t,borderColor:r})=>({borderRadius:e.spacing(2),boxSizing:"border-box",maxWidth:e.spacing(75),backgroundColor:"transparent",position:"relative",overflow:"visible",transition:[e.transitions.create("transform",{duration:e.transitions.duration.complex}),e.transitions.create("box-shadow",{duration:e.transitions.duration.complex}),e.transitions.create(["height","min-height"],{duration:e.transitions.duration.complex})],...r&&{"&::before":{content:'""',position:"absolute",inset:0,borderRadius:e.spacing(2),background:r,mask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",maskComposite:"exclude",padding:e.spacing(.5),pointerEvents:"none",zIndex:1}},[e.breakpoints.up("sm")]:{"&:hover":{boxShadow:t?`0px 0px 20px 6px ${ul("#DD56FF",.37)}`:"none",transition:[e.transitions.create("transform",{duration:e.transitions.duration.complex}),e.transitions.create("box-shadow",{duration:e.transitions.duration.complex}),e.transitions.create(["height","min-height"],{duration:e.transitions.duration.complex})].join(", ")}}})),eyt=Ee(K5e)(({theme:e,hasVisibleButton:t})=>({borderRadius:e.spacing(2),overflow:"hidden",height:t?e.spacing(60):e.spacing(52),display:"flex",flexDirection:"column",position:"relative",backgroundColor:"transparent","&:hover .MuiCardActionArea-focusHighlight":{opacity:0},[e.breakpoints.down("sm")]:{height:"auto"}})),tyt=Ee(Pe)({position:"relative",flexShrink:0,width:"100%"}),ryt=Ee(o4e)(({theme:e,shrinkOnHover:t})=>({height:t?e.spacing(32):e.spacing(35),width:"100%",borderRadius:`${e.spacing(2)} ${e.spacing(2)} 0 0`,backgroundSize:"cover",...t&&{[e.breakpoints.up("sm")]:{transition:e.transitions.create("height",{duration:e.transitions.duration.complex}),".MuiCardActionArea-root:hover &":{height:e.spacing(28)}}},[e.breakpoints.down("sm")]:{height:e.spacing(28)}})),nyt=Ee(Pe)(({theme:e})=>({position:"absolute",top:-15,left:-15,zIndex:11,[e.breakpoints.down("sm")]:{top:-8,left:-8}})),iyt=Ee(Pe)(({theme:e})=>({position:"absolute",top:e.spacing(2),left:e.spacing(2),right:e.spacing(2),display:"flex",alignItems:"center",justifyContent:"space-between",gap:e.spacing(1),zIndex:10,pointerEvents:"none","& > *":{pointerEvents:"auto"}})),oyt=Ee(Pe)(({theme:e,showOnHover:t})=>({padding:e.spacing(1,1),minWidth:e.spacing(4),height:e.spacing(4),maxWidth:"45%",backgroundColor:e.palette.background.default,color:e.palette.text.primary,borderRadius:e.spacing(1),display:"flex",alignItems:"center",justifyContent:"center",fontSize:e.typography.subtitle1.fontSize,fontWeight:e.typography.fontWeightBold,overflow:"hidden","& > *":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,maxWidth:"100%"},...t&&{[e.breakpoints.up("sm")]:{opacity:0,visibility:"hidden",transition:[e.transitions.create("opacity",{duration:e.transitions.duration.complex}),e.transitions.create("visibility",{duration:e.transitions.duration.complex})].join(", "),".MuiCardActionArea-root:hover &":{opacity:1,visibility:"visible"}}}})),ayt=Ee(Pe)(({theme:e,showOnHover:t})=>({marginLeft:"auto",padding:e.spacing(1,2),height:e.spacing(4),maxWidth:"45%",backgroundColor:e.palette.background.default,color:e.palette.text.primary,borderRadius:e.spacing(1.5),display:"flex",alignItems:"center",justifyContent:"center",fontSize:e.typography.body1.fontSize,overflow:"hidden","& > *":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,maxWidth:"100%"},...t&&{[e.breakpoints.up("sm")]:{opacity:0,visibility:"hidden",transition:[e.transitions.create("opacity",{duration:e.transitions.duration.complex}),e.transitions.create("visibility",{duration:e.transitions.duration.complex})].join(", "),".MuiCardActionArea-root:hover &":{opacity:1,visibility:"visible"}}}})),syt=Ee(_J)(({theme:e})=>({backgroundColor:e.palette.mode==="dark"?"rgba(0, 0, 0, 0.4)":"rgba(255, 255, 255, 0.4)",borderRadius:`0 0 ${e.spacing(2)} ${e.spacing(2)}`,display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",flex:"1 1 auto",minHeight:e.spacing(20)})),lyt=Ee(Pe)({display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-word"}),cyt=Ee(Pe)(({theme:e})=>({display:"flex",flexDirection:"column",height:"100%",justifyContent:"space-between",gap:e.spacing(1),[e.breakpoints.down("sm")]:{flexDirection:"row",alignItems:"center",gap:e.spacing(2)}})),uyt=Ee(Pe)(({theme:e,showOnHover:t})=>({display:"flex",gap:e.spacing(1),alignItems:"center",flex:"1 1 auto",maxWidth:"50%",overflow:"hidden",[e.breakpoints.down("sm")]:{maxWidth:"100%"},...t&&{[e.breakpoints.up("sm")]:{opacity:0,height:0,transition:[e.transitions.create("opacity",{duration:e.transitions.duration.complex}),e.transitions.create("height",{duration:e.transitions.duration.complex})].join(", "),".MuiCardActionArea-root:hover &":{opacity:1,height:"auto"}}}})),dyt=Ee(Pe)({flex:1,minWidth:0,overflow:"hidden","& .MuiTypography-root":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}),fyt=Ee(Rn)(({theme:e})=>({textDecoration:"none",fontWeight:e.typography.fontWeightBold,"&:hover":{textDecoration:"none"}})),pyt=Ee(Pe)(({theme:e})=>({display:"flex",gap:e.spacing(1),alignItems:"center",justifyContent:"space-between",flex:1,minWidth:0})),hyt=Ee(Pe)(({theme:e,showOnHover:t})=>({flex:"1 1 auto",minWidth:0,maxWidth:"50%",display:"flex",justifyContent:"flex-end",...t&&{opacity:0,height:0,overflow:"hidden",transform:"translateX(20px)",transition:[e.transitions.create("opacity",{duration:e.transitions.duration.complex}),e.transitions.create("height",{duration:e.transitions.duration.complex}),e.transitions.create("transform",{duration:e.transitions.duration.complex})].join(", "),".MuiCardActionArea-root:hover &":{opacity:1,height:"auto",transform:"translateX(0)"}},[e.breakpoints.down("sm")]:{display:"none"}})),myt=Ee(yJ)(({theme:e})=>({backgroundColor:e.palette.mode==="dark"?"rgba(0, 0, 0, 0.4)":"rgba(255, 255, 255, 0.4)",color:e.palette.text.primary,cursor:"pointer",borderRadius:e.spacing(1),maxWidth:"100%","& .MuiChip-label":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},"& path:last-child":{fill:e.palette.text.primary}})),gyt=Ee(Pe)(({theme:e,showOnHover:t})=>({...t&&{[e.breakpoints.up("sm")]:{opacity:0,height:0,overflow:"hidden",transform:"translateY(20px)",transition:[e.transitions.create("opacity",{duration:e.transitions.duration.complex}),e.transitions.create("height",{duration:e.transitions.duration.complex}),e.transitions.create("transform",{duration:e.transitions.duration.complex})].join(", "),".MuiCardActionArea-root:hover &":{opacity:1,height:"auto",transform:"translateY(0)"}}},[e.breakpoints.down("sm")]:{display:"none"}})),yyt=Ee(Pe)({width:"100%"}),vyt=F.memo(e=>{const{image:t,sceneName:r,avatar:n,coordinates:i,withShadow:o,cornerBadge:a,borderColor:s,leftBadge:l,rightBadge:c,showOnHover:d=[],onJumpInTrack:f,onClick:p}=e,v=(i==null?void 0:i.includes(".eth.dcl"))?`https://decentraland.org/jump?realm=${i}`:`https://decentraland.org/jump?position=${i}`,g=h=>d.includes(h),b=!g("jumpInButton");return u.jsxs(Qgt,{withShadow:o,borderColor:s,children:[a&&u.jsx(nyt,{children:a}),u.jsxs(eyt,{hasVisibleButton:b,onClick:p,children:[(l!==void 0||c!==void 0)&&u.jsxs(iyt,{children:[l!==void 0&&u.jsx(oyt,{showOnHover:g("leftBadge"),children:u.jsx(Pe,{component:"span",children:l})}),c!==void 0&&u.jsx(ayt,{showOnHover:g("rightBadge"),children:u.jsx(Pe,{component:"span",children:c})})]}),u.jsx(tyt,{children:u.jsx(ryt,{image:t,shrinkOnHover:g("jumpInButton")})}),u.jsx(syt,{children:u.jsxs(cyt,{children:[u.jsxs(yyt,{children:[u.jsx(lyt,{children:u.jsx(Jt,{variant:"h6",component:"div",gutterBottom:!0,children:r})}),u.jsxs(pyt,{children:[u.jsxs(uyt,{showOnHover:g("avatar"),children:[u.jsx(M3,{size:"small",avatar:n}),u.jsx(dyt,{children:u.jsxs(Jt,{variant:"body2",children:["by"," ",u.jsx(fyt,{href:`https://decentraland.org/profile/accounts/${n==null?void 0:n.ethAddress}`,children:n==null?void 0:n.name})]})})]}),i&&u.jsx(hyt,{showOnHover:g("location"),children:u.jsx(myt,{label:i,size:"small",icon:u.jsx(d_,{}),onClick:()=>{window.open(v,"_blank")}})})]})]}),u.jsx(gyt,{showOnHover:g("jumpInButton"),children:u.jsx(Wue,{position:i,variant:"button",onTrack:f,modalProps:{title:"Download Decentraland to Jump In",description:"Once you've installed and launched Decentraland, you can jump straight to the scene in-world!",buttonLabel:"Download"}})})]})})]})]})});vyt.displayName="SceneCard";var aD={},byt=Ir;Object.defineProperty(aD,"__esModule",{value:!0});var afe=aD.default=void 0,_yt=byt(Dr()),Eyt=u;afe=aD.default=(0,_yt.default)((0,Eyt.jsx)("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward");var sD={},xyt=Ir;Object.defineProperty(sD,"__esModule",{value:!0});var sfe=sD.default=void 0,wyt=xyt(Dr()),Cyt=u;sfe=sD.default=(0,wyt.default)((0,Cyt.jsx)("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward");const Syt=Ee(Pe)(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"flex-end",position:"relative",width:"100%",minWidth:e.spacing(16),"& .jump-in-button":{opacity:0,visibility:"hidden",position:"absolute",right:0,height:40},"tr:hover & .jump-in-button":{opacity:1,visibility:"visible"},[e.breakpoints.down("sm")]:{minWidth:"auto",justifyContent:"center","& .jump-in-button":{display:"none"}}})),Ayt=Ee(Pe)(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"center",width:"fit-content",padding:e.spacing(.5),borderRadius:e.spacing(1),backgroundColor:"rgba(0, 0, 0, 0.5)",fontWeight:e.typography.fontWeightBold,"tr:hover &":{opacity:0},[e.breakpoints.down("sm")]:{"tr:hover &":{opacity:1}}})),Tyt=Ee(Pe)(({theme:e,isPositive:t})=>{const r=t?e.palette.success.main:e.palette.error.main;return{display:"flex",alignItems:"center",color:r,fontSize:"12px",fontWeight:e.typography.fontWeightBold,"& .MuiSvgIcon-root":{fill:r}}}),lfe=F.memo(e=>{const{positionChange:t,location:r,onJumpInTrack:n}=e,i=t!==void 0&&t!==0,o=t!==void 0&&t>0,a=o?sfe:afe;return u.jsxs(Syt,{children:[i&&u.jsx(Ayt,{children:u.jsxs(Tyt,{isPositive:o,children:[u.jsx(a,{fontSize:"small"}),Math.abs(t)]})}),u.jsx(Wue,{variant:"button",buttonProps:{className:"jump-in-button"},onTrack:n,modalProps:{title:"Download Decentraland to Jump In",description:"Once you've installed and launched Decentraland, you can jump straight to the scene in-world!",buttonLabel:"Download"},desktopAppOptions:r.includes(".dcl")?{realm:r}:{position:r}})]})});lfe.displayName="ActionRow";const cfe=F.memo(e=>{const{avatar:t}=e;return u.jsx(ose,{avatar:t})});cfe.displayName="AvatarRow";const Myt=Ee(Pe)(({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(.5),"& path:last-child":{fill:e.palette.text.primary}})),Ryt=Ee(Rn)(({theme:e})=>({textDecoration:"none",color:e.palette.primary.main,fontWeight:e.typography.fontWeightBold,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap","&:hover":{textDecoration:"none"}})),ufe=F.memo(e=>{const{location:t}=e,n=(t==null?void 0:t.includes(".dcl.eth"))?`https://decentraland.org/jump?realm=${t}`:`https://decentraland.org/jump?position=${t}`;return u.jsxs(Myt,{children:[u.jsx(d_,{}),u.jsx(Ryt,{href:n,target:"_blank",rel:"noopener noreferrer",children:t})]})});ufe.displayName="LocationRow";const Iyt=Ee(Pe)(({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(1),minWidth:0,overflow:"hidden"})),Oyt=Ee("img")(({theme:e})=>({width:"auto",height:e.spacing(8.75),borderRadius:`${e.spacing(2)} 0 0 ${e.spacing(2)}`,objectFit:"cover",flexShrink:0,[e.breakpoints.down("xs")]:{height:e.spacing(7.5),width:"auto"}})),Pyt=Ee(Pe)(({theme:e})=>({display:"flex",flexDirection:"column",gap:e.spacing(.5),flex:1,minWidth:0,overflow:"hidden",[e.breakpoints.down("xs")]:{paddingRight:e.spacing(2)}})),Lyt=Ee(Jt)(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",[e.breakpoints.down("xs")]:{fontSize:"14px"}})),kyt=Ee(Pe)(({theme:e})=>({display:"none",[e.breakpoints.down("xs")]:{display:"flex",flexDirection:"row",alignItems:"center",gap:e.spacing(.5),fontSize:"12px",minWidth:0,overflow:"hidden"}})),Nyt=Ee(Pe)(({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(.5),minWidth:0,overflow:"hidden",flexShrink:1})),jyt=Ee(Rn)(({theme:e})=>({fontSize:"12px",textDecoration:"none",fontWeight:e.typography.fontWeightBold,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap","&:hover":{textDecoration:"none"}})),Dyt=Ee(Pe)(({theme:e})=>({display:"flex",alignItems:"center",gap:0,fontSize:"12px",color:e.palette.text.secondary,minWidth:0,overflow:"hidden",flexShrink:1,"& path:last-child":{fill:e.palette.text.primary}})),Byt=Ee(Jt)({fontSize:"12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),dfe=F.memo(e=>{const{name:t,thumbnail:r,creator:n,location:i}=e;return u.jsxs(Iyt,{children:[u.jsx(Oyt,{src:r,alt:t}),u.jsxs(Pyt,{children:[u.jsx(Lyt,{children:t}),u.jsxs(kyt,{children:[n&&u.jsxs(Nyt,{children:[u.jsx(M3,{size:"tiny",avatar:n}),u.jsxs(Jt,{component:"span",fontSize:"12px",children:["By"," "]}),u.jsx(jyt,{href:`https://decentraland.org/profile/accounts/${n.ethAddress}`,children:n.name})]}),i&&u.jsxs(Dyt,{children:[u.jsx(d_,{}),u.jsx(Byt,{children:i})]})]})]})]})});dfe.displayName="SceneRow";const Fyt=Ee(h6e)(({theme:e})=>({paddingLeft:e.spacing(3),paddingRight:e.spacing(3),[e.breakpoints.down("sm")]:{paddingLeft:e.spacing(1),paddingRight:e.spacing(1)}})),Uyt=Ee(Jbe)(({theme:e})=>({width:"100%",tableLayout:"fixed",borderCollapse:"separate",borderSpacing:`0 ${e.spacing(1)}`})),$yt=Ee(_6e)(({theme:e})=>({"& .MuiTableCell-root":{backgroundColor:"rgba(0, 0, 0, 0.7)",textAlign:"left",...e.typography.overline,fontSize:"12px",color:e.palette.text.primary},"& .MuiTableCell-root:only-of-type":{borderRadius:e.spacing(2)},"& .MuiTableCell-root:first-of-type:not(:only-of-type)":{borderRadius:e.spacing(2,0,0,2)},"& .MuiTableCell-root:last-of-type:not(:only-of-type)":{borderRadius:e.spacing(0,2,2,0)},[e.breakpoints.down("xs")]:{display:"none"}})),Hyt=Ee(MJ)(({theme:e})=>({height:"20px","& .MuiTableCell-root":{padding:e.spacing(.5,2),borderBottom:"none"}})),Vyt=Ee(n6e,{shouldForwardProp:e=>e!=="hoverEffect"})(({theme:e,hoverEffect:t=!0})=>({borderTop:`${e.spacing(1)} solid transparent`,"& .MuiTableCell-root":{backgroundColor:t?"rgba(0, 0, 0, 0.4)":"rgba(0, 0, 0, 0.7)",borderBottom:"none",textAlign:"left"},"& tr td:only-of-type, & tr th:only-of-type":{borderRadius:e.spacing(2)},"& tr td:first-of-type:not(:only-of-type), & tr th:first-of-type:not(:only-of-type)":{borderRadius:e.spacing(2,0,0,2)},"& tr td:last-of-type:not(:only-of-type), & tr th:last-of-type:not(:only-of-type)":{borderRadius:e.spacing(0,2,2,0)},"& tr":{borderRadius:e.spacing(2),transition:e.transitions.create("box-shadow",{duration:e.transitions.duration.shorter}),...t&&{"&:hover":{boxShadow:`0px 0px 20px 6px ${ul("#DD56FF",.37)}`}}},[e.breakpoints.down("xs")]:{"& tr:hover":{boxShadow:"none"}}})),oG=e=>typeof e=="object"&&("mobile"in e||"desktop"in e),aG=Ee(c6e)(({theme:e,$cellWidth:t,$cellPadding:r,$hasBorder:n})=>{const i=t&&oG(t)?t.desktop:t,o=t&&oG(t)?t.mobile:void 0;return{overflow:n?"visible":"hidden",...i&&{width:i},...r!==void 0&&{padding:r},[e.breakpoints.down("xs")]:{width:o??"auto"},...n&&{position:"relative"}}}),zyt=Ee(MJ,{shouldForwardProp:e=>e!=="mobileClickable"&&e!=="withBorder"})(({theme:e,mobileClickable:t,withBorder:r})=>({...t&&{[e.breakpoints.down("sm")]:{cursor:"pointer","&:active":{opacity:.7}}},...r&&{position:"relative"}})),qyt=Ee(Pe)(({theme:e,$borderColor:t,$width:r})=>({position:"absolute",top:0,left:0,width:r||"100%",height:"100%",borderRadius:e.spacing(2),pointerEvents:"none",zIndex:1,"&::before":{content:'""',position:"absolute",top:0,left:0,width:"100%",height:"100%",borderRadius:e.spacing(2),padding:"3px",boxSizing:"border-box",background:t,WebkitMask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",mask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite:"xor",maskComposite:"exclude",pointerEvents:"none"}})),Wyt=({borderColor:e})=>{const t=F.useRef(null),[r,n]=F.useState(0);return F.useEffect(()=>{const i=()=>{var s;const o=(s=t.current)==null?void 0:s.closest("td"),a=o==null?void 0:o.closest("tr");a&&n(a.offsetWidth)};return i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),u.jsx(qyt,{ref:t,$borderColor:e,$width:r})},ffe=e=>{const{columns:t,rows:r,hoverEffect:n=!0,headerVisible:i=!0,onMobileRowClick:o}=e,a=pp(),s=a?t.filter(c=>!c.hideOnMobile):t,l=F.useCallback((c,d)=>{a&&o&&o(c,d)},[a,o]);return u.jsx(Fyt,{children:u.jsxs(Uyt,{"aria-label":"table",children:[i&&u.jsx($yt,{children:u.jsx(Hyt,{children:s.map(c=>u.jsx(aG,{$cellWidth:c.width,$cellPadding:c.cellPadding,children:c.header},c.id))})}),u.jsx(Vyt,{hoverEffect:n,children:r.map((c,d)=>u.jsx(zyt,{mobileClickable:!!o,withBorder:!!c.borderColor,onClick:()=>l(c,d),children:s.map((f,p)=>u.jsxs(aG,{$cellWidth:f.width,$cellPadding:f.cellPadding,$hasBorder:p===0&&!!c.borderColor,children:[p===0&&c.borderColor&&u.jsx(Wyt,{borderColor:c.borderColor}),f.render(c,d)]},f.id))},c.key))})]})})};ffe.displayName="Table";const Gyt=F.memo(ffe),Kyt=F.memo(e=>{const{rows:t,headerVisible:r=!0,onMobileRowClick:n,onJumpInTrack:i}=e,o=F.useMemo(()=>[{id:"scene",header:"Scene Name",width:{desktop:"40%",mobile:"100%"},cellPadding:0,render:a=>u.jsx(dfe,{name:a.sceneName,thumbnail:a.thumbnail,creator:a.creator,location:a.location})},{id:"creator",header:"Creator",hideOnMobile:!0,render:a=>u.jsx(cfe,{avatar:a.creator})},{id:"location",header:"Location",hideOnMobile:!0,render:a=>u.jsx(ufe,{location:a.location})},{id:"action",header:"",hideOnMobile:!0,render:a=>u.jsx(lfe,{positionChange:a.positionChange,location:a.location,onJumpInTrack:s=>i==null?void 0:i(s,a)})}],[i]);return u.jsx(Gyt,{columns:o,rows:t,headerVisible:r,onMobileRowClick:n})});Kyt.displayName="ScenesTable";const Yyt=Ee(Pe)(({theme:e})=>({width:50,height:50,borderRadius:e.spacing(2),background:tJ.flare,padding:3,[e.breakpoints.down("sm")]:{width:38,height:38,borderRadius:e.spacing(1.5)}})),Zyt=Ee(Pe)(({theme:e})=>({width:"100%",height:"100%",borderRadius:e.spacing(1.5),backgroundColor:e.palette.background.default,display:"flex",alignItems:"center",justifyContent:"center",fontSize:e.typography.h6.fontSize,fontWeight:e.typography.fontWeightBold,color:e.palette.text.primary,[e.breakpoints.down("sm")]:{borderRadius:e.spacing(1),fontSize:e.typography.body2.fontSize}})),Jyt=Ee(Pe)(({theme:e})=>({background:tJ.cerise,borderRadius:12,padding:e.spacing(1,1.5),display:"flex",alignItems:"center",justifyContent:"center"})),Xyt=Ee(Jt)(({theme:e})=>({color:"#fff",fontWeight:e.typography.fontWeightBold,fontSize:20,textTransform:"uppercase",letterSpacing:e.typography.overline.letterSpacing,[e.breakpoints.down("sm")]:{fontSize:14}})),Qyt=F.memo(({value:e})=>u.jsx(Yyt,{children:u.jsx(Zyt,{children:e})}));Qyt.displayName="NumberBadge";const e3t=F.memo(({text:e})=>u.jsx(Jyt,{children:u.jsx(Xyt,{children:e})}));e3t.displayName="TextBadge";const t3t=Ee(Ze)(()=>({"& path":{fill:"#fff"}})),r3t=e=>u.jsx(t3t,{...e,children:u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"29",viewBox:"0 0 40 29",children:u.jsx("g",{fill:"none",fillRule:"evenodd",children:u.jsx("path",{d:"M14.48 0c-.53.002-4.917.129-9.544 3.62 0 0-4.936 9.018-4.936 20.123 0 0 2.88 5.013 10.454 5.257 0 0 1.268-1.532 2.297-2.855-4.353-1.323-5.999-4.073-5.999-4.073s.343.244.96.592c.034 0 .069.035.137.07.103.07.206.104.309.174.857.487 1.713.87 2.502 1.183 1.405.592 3.085 1.114 5.038 1.497 2.571.488 5.587.662 8.878.035 1.61-.313 3.256-.766 4.97-1.497a19.5 19.5 0 0 0 3.942-2.054s-1.714 2.82-6.204 4.108a270.224 270.224 0 0 0 2.262 2.785C37.12 28.722 40 23.708 40 23.743c0-11.105-4.936-20.122-4.936-20.122C30.163-.104 25.467 0 25.467 0l-.48.556c5.827 1.776 8.535 4.387 8.535 4.387a28.178 28.178 0 0 0-10.317-3.307 28.558 28.558 0 0 0-6.924.07c-.206 0-.377.034-.583.069-1.2.14-4.113.557-7.78 2.193-1.268.557-2.023.975-2.023.975s2.811-2.75 8.98-4.526L14.534 0h-.054zm-.872 12.847c1.953 0 3.53 1.705 3.496 3.829 0 2.124-1.543 3.83-3.496 3.83-1.92 0-3.497-1.706-3.497-3.83s1.543-3.83 3.497-3.83zm12.51 0c1.92 0 3.496 1.705 3.496 3.829s-1.542 3.83-3.496 3.83c-1.92 0-3.496-1.706-3.496-3.83s1.542-3.83 3.496-3.83z"})})})}),n3t=Ee(Ze)(()=>({"& path":{fill:"#fff"}})),i3t=e=>u.jsx(n3t,{...e,children:u.jsx("svg",{width:"33",height:"33",viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:u.jsx("path",{d:"M16.82 2.44385C8.9107 2.44385 2.5 8.85455 2.5 16.7638C2.5 24.6732 8.9107 31.0838 16.82 31.0838C24.7293 31.0838 31.14 24.6732 31.14 16.7638C31.14 8.85455 24.7293 2.44385 16.82 2.44385ZM24.3696 14.799C22.8977 14.8656 21.5956 14.3794 20.3201 13.5635C20.3001 13.7666 20.2768 13.9165 20.2768 14.0664C20.2735 15.8813 20.2834 17.693 20.2735 19.508C20.2568 22.5684 18.0655 24.803 14.8885 25.0095C12.3475 25.176 9.8032 22.9647 9.40357 20.2439C8.92735 16.9936 11.6715 13.9565 14.9484 14.1163C15.1249 14.1263 15.3014 14.1596 15.5079 14.1862C15.5079 15.1487 15.5079 16.0812 15.5079 17.0769C15.3514 17.0769 15.1982 17.0835 15.045 17.0769C13.563 16.997 12.3808 18.0227 12.3275 19.438C12.2776 20.7868 13.3366 21.9524 14.6587 22.0023C16.154 22.0589 17.3062 21.0099 17.3129 19.518C17.3329 15.8913 17.3195 12.2647 17.3195 8.63475C17.3195 8.37499 17.3195 8.11523 17.3195 7.82217C18.3552 7.82217 19.2877 7.82217 20.2235 7.82217C20.5066 10.3032 21.9386 11.612 24.363 11.9517C24.3696 12.8875 24.3696 13.8099 24.3696 14.799Z",fill:"#FCFCFC"})})}),o3t=Ee("footer")(()=>{const e=_i();return{display:"flex",justifyContent:"space-between",backgroundColor:e.palette.background.default,zIndex:5,height:"475px",position:"relative",paddingTop:"96px",paddingLeft:"160px",paddingRight:"160px",[e.breakpoints.down("xl")]:{paddingLeft:"80px",paddingRight:"80px"},[e.breakpoints.down("md")]:{paddingLeft:"54px",paddingRight:"54px"},[e.breakpoints.down("sm")]:{flexDirection:"column",alignItems:"stretch",paddingLeft:"0px",paddingRight:"0px",paddingTop:"32px",paddingBottom:"32px",height:"auto",width:"calc(100vw - 64px)",marginLeft:"auto",marginRight:"auto"}}}),a3t=Ee(Pe)(()=>({display:"flex",width:"710px",justifyContent:"space-around",[_i().breakpoints.down("sm")]:{width:"100%",paddingLeft:"24px",paddingRight:"24px",paddingTop:0,justifyContent:"space-between",gap:"32px",marginBottom:"120px"}})),sG=Ee(Pe)({display:"flex",flexDirection:"column"}),lG=Ee(Jt)(()=>({color:_i().palette.text.secondary,textTransform:"uppercase",marginBottom:"16px",marginLeft:"5px",fontWeight:500})),Gc=Ee(Cn)(()=>{const e=_i();return{cursor:"pointer",justifyContent:"flex-start",marginBottom:"4px","&.MuiButton-sizeMedium.MuiButton-textSecondary:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:e.palette.text.primary,textTransform:"capitalize","& .MuiButton-startIcon svg.MuiSvgIcon-root":{color:e.palette.text.secondary}},"&.MuiButton-sizeMedium.MuiButton-textSecondary:not(.Mui-disabled):not(.Mui-focusVisible):hover":{textTransform:"capitalize"},"&:hover":{backgroundColor:"transparent"},[e.breakpoints.down("sm")]:{"&.MuiButton-sizeMedium.MuiButton-textSecondary:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{fontSize:"16px",fontWeight:400,lineHeight:"24px",padding:"4px 8px",minHeight:"auto","& .MuiButton-startIcon svg.MuiSvgIcon-root":{fontSize:"16px"}}}}}),s3t=Ee(Pe)(()=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",width:"470px",[_i().breakpoints.down("sm")]:{width:"100%",paddingLeft:"24px",paddingRight:"24px",paddingBottom:"24px",alignItems:"center",textAlign:"center"}})),l3t=Ee(Jt)(()=>{const e=_i();return{color:e.palette.text.disabled,[e.breakpoints.down("sm")]:{fontSize:"1.8rem",paddingLeft:"8px",paddingRight:"8px"}}}),c3t=Ee(Jt)(()=>({color:"#fff",marginBottom:"16px",fontFamily:"DecentralandHero",[_i().breakpoints.down("sm")]:{fontSize:"3rem",marginBottom:"16px"}})),u3t=Ee("iframe")(()=>({width:"100%",border:"none",height:"125px",[_i().breakpoints.down("sm")]:{height:"55px"}})),d3t=Ee(Pe)(()=>({display:"flex",flexDirection:"column",alignItems:"flex-start",marginBottom:"16px",width:"100%",[_i().breakpoints.down("xs")]:{display:"none"}})),f3t=Ee(Pe)({display:"flex",width:"80%",justifyContent:"space-between"}),Yf=Ee(Rn)({cursor:"pointer",fontSize:"32px",color:"#fff","&:hover":{color:"#fff"}}),p3t=F.memo(()=>{const e=hp(),t=$7(),r=F.useCallback(o=>{o.preventDefault();const a=o.currentTarget.href;t.track(lu.CLICK_FOOTER_SOCIAL,{href:a}),setTimeout(()=>{window.location.href=a},500)},[t]),n=F.useCallback(o=>{o.preventDefault();const a=o.currentTarget.href;t.track(lu.CLICK_FOOTER_SOCIAL,{href:a})},[t]),i=pp();return u.jsxs(o3t,{children:[u.jsxs(s3t,{children:[u.jsx(l3t,{variant:i?"h3":"h4",children:e("footer.subscribe.stay_updated_with")}),u.jsx(c3t,{variant:i?"h1":"h2",children:e("footer.subscribe.decentraland")}),u.jsx(u3t,{src:jr.get("BEEHIIV_SUBSCRIBE_URL"),"data-test-id":"beehiiv-embed"}),u.jsx(d3t,{children:u.jsxs(f3t,{children:[u.jsx(Yf,{href:jr.get("DISCORD_URL"),onClick:n,target:"_blank",rel:"noopener noreferrer","data-place":"Landing Footer",children:u.jsx(r3t,{fontSize:"inherit"})}),u.jsx(Yf,{href:jr.get("GITHUB_URL"),onClick:n,target:"_blank",rel:"noopener noreferrer","data-place":"Landing Footer",children:u.jsx(eN,{fontSize:"inherit"})}),u.jsx(Yf,{href:jr.get("X_URL"),onClick:n,target:"_blank",rel:"noopener noreferrer","data-place":"Landing Footer",children:u.jsx(_N,{fontSize:"inherit"})}),u.jsx(Yf,{href:jr.get("INSTAGRAM_URL"),onClick:n,target:"_blank",rel:"noopener noreferrer","data-place":"Landing Footer",children:u.jsx(lN,{fontSize:"inherit"})}),u.jsx(Yf,{href:jr.get("YOUTUBE_URL"),onClick:n,target:"_blank",rel:"noopener noreferrer","data-place":"Landing Footer",children:u.jsx(xN,{fontSize:"inherit"})}),u.jsx(Yf,{href:jr.get("TIKTOK_URL"),onClick:n,target:"_blank",rel:"noopener noreferrer","data-place":"Landing Footer",children:u.jsx(i3t,{fontSize:"inherit"})}),u.jsx(Yf,{href:jr.get("LINKEDIN_URL"),onClick:n,target:"_blank",rel:"noopener noreferrer","data-place":"Landing Footer",children:u.jsx(uN,{fontSize:"inherit"})})]})})]}),u.jsxs(a3t,{children:[u.jsxs(sG,{children:[u.jsx(lG,{variant:"body1",children:e("footer.social.resources")}),u.jsx(Gc,{variant:"text",color:"secondary",startIcon:u.jsx(fN,{sx:{transform:"scaleX(-1)"}}),href:jr.get("MARKETPLACE_URL"),onClick:r,"data-place":"Landing Footer",children:e("footer.social.marketplace")}),u.jsx(Gc,{variant:"text",color:"secondary",startIcon:u.jsx(rN,{}),href:jr.get("CREATE_URL"),onClick:r,"data-place":"Landing Footer",children:e("footer.social.creator_hub")}),u.jsx(Gc,{variant:"text",color:"secondary",startIcon:u.jsx(aN,{}),href:jr.get("DOCS_URL"),onClick:r,"data-place":"Landing Footer",children:e("footer.social.docs")}),u.jsx(Gc,{variant:"text",color:"secondary",startIcon:u.jsx(Xk,{}),href:jr.get("EVENTS_URL"),onClick:r,"data-place":"Landing Footer",children:e("footer.social.events")}),u.jsx(Gc,{variant:"text",color:"secondary",startIcon:u.jsx(Zk,{}),href:jr.get("BLOG_URL"),onClick:r,"data-place":"Landing Footer",children:e("footer.social.blog")})]}),u.jsxs(sG,{children:[u.jsx(lG,{variant:"body1",children:e("footer.social.connect")}),u.jsx(Gc,{variant:"text",color:"secondary",startIcon:u.jsx(vN,{}),href:jr.get("SUPPORT_URL"),onClick:r,"data-place":"Landing Footer",children:e("footer.social.support")}),u.jsx(Gc,{variant:"text",color:"secondary",startIcon:u.jsx(hN,{}),href:jr.get("EMAIL_HELLO_URL"),onClick:r,"data-place":"Landing Footer",children:e("footer.social.email")}),u.jsx(Gc,{variant:"text",color:"secondary",startIcon:u.jsx(gN,{}),href:jr.get("DAO_URL"),onClick:r,"data-place":"Landing Footer",children:e("footer.social.dao")}),u.jsx(Gc,{variant:"text",color:"secondary",startIcon:u.jsx(iN,{}),href:jr.get("FAQ_URL"),onClick:r,"data-place":"Landing Footer",children:e("footer.social.faq")})]})]})]})}),h3t={Windows:{amd64:"https://explorer-artifacts.decentraland.org/launcher-rust/Decentraland_installer.exe"},macOS:{amd64:"https://explorer-artifacts.decentraland.org/launcher/dcl/Decentraland%20Outdated-mac-x64.dmg",arm64:"https://explorer-artifacts.decentraland.org/launcher-rust/Decentraland_installer.dmg"}},m3t=e=>{const{avatar:t,wallet:r,isSignedIn:n,signIn:i,signOut:o}=w3();return u.jsx(xht,{...e,activePage:"",address:r,avatar:t,isSignedIn:n,onClickSignIn:i,onClickSignOut:o,cdnLinks:h3t})},g3t=F.memo(()=>u.jsxs(u.Fragment,{children:[u.jsx(m3t,{}),u.jsx("main",{style:{marginTop:"66px"},children:u.jsx(Z0e,{})}),u.jsx(p3t,{})]}));var lD={},y3t=Ir;Object.defineProperty(lD,"__esModule",{value:!0});var pfe=lD.default=void 0,v3t=y3t(Dr()),b3t=u;pfe=lD.default=(0,v3t.default)((0,b3t.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check");var cD={},_3t=Ir;Object.defineProperty(cD,"__esModule",{value:!0});var qM=cD.default=void 0,E3t=_3t(Dr()),x3t=u;qM=cD.default=(0,E3t.default)((0,x3t.jsx)("path",{d:"M19 4h-1V3c0-.55-.45-1-1-1s-1 .45-1 1v1H8V3c0-.55-.45-1-1-1s-1 .45-1 1v1H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 15c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V9h14zM7 11h2v2H7zm4 0h2v2h-2zm4 0h2v2h-2z"}),"DateRangeRounded");var uD={},w3t=Ir;Object.defineProperty(uD,"__esModule",{value:!0});var x6=uD.default=void 0,C3t=w3t(Dr()),S3t=u;x6=uD.default=(0,C3t.default)((0,S3t.jsx)("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92"}),"Share");var dD={},A3t=Ir;Object.defineProperty(dD,"__esModule",{value:!0});var WM=dD.default=void 0,T3t=A3t(Dr()),M3t=u;WM=dD.default=(0,T3t.default)((0,M3t.jsx)("path",{d:"m19.65 9.04-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0L9.19 8.63l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.67-3.18c.67-.58.32-1.68-.56-1.75M12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarBorderRounded");var fD={},R3t=Ir;Object.defineProperty(fD,"__esModule",{value:!0});var By=fD.default=void 0,I3t=R3t(Dr()),O3t=u;By=fD.default=(0,I3t.default)((0,O3t.jsx)("path",{d:"m12 17.27 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.72 3.67-3.18c.67-.58.31-1.68-.57-1.75l-4.83-.41-1.89-4.46c-.34-.81-1.5-.81-1.84 0L9.19 8.63l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08z"}),"StarRounded");const P3t="x-identity-auth-chain-",L3t="x-identity-timestamp",k3t="x-identity-metadata";function N3t(e,t,r,n={}){const i=new URL(e).pathname,o={...r,headers:{...j3t((r==null?void 0:r.method)??"get",i,{origin:location.origin,...n},a=>Ty.Authenticator.signPayload(t,a)),...r==null?void 0:r.headers}};return fetch(e,o)}function j3t(e,t,r,n){const i={},o=D3t(e,t,JSON.stringify(r),n);return o.authChain.forEach((a,s)=>{i[`${P3t}${s}`]=JSON.stringify(a)}),i[L3t]=o.timestamp.toString(),i[k3t]=o.metadata,i}function D3t(e,t,r,n){const i=Date.now(),a=[e.toLowerCase(),t.toLowerCase(),i.toString(),r].join(":").toLowerCase();return{authChain:n(a),metadata:r,timestamp:i}}function B3t(e,t){return function(n,i,o={}){try{if(t&&e){const a=ff.localStorageGetIdentity(e);if(a&&a.expiration){const s=new Date(a.expiration);if(new Date().getTime()<=s.getTime())return N3t(n,a,i||{},o)}}return fetch(n,i)}catch(a){return console.warn("Error in authenticatedFetch, falling back to regular fetch:",a),fetch(n,i)}}}const F3t=()=>{const{wallet:e,isSignedIn:t}=w3();return F.useCallback((n,i,o={})=>B3t(e,t)(n,i,o),[e,t])},U3t="0,0",hfe="main",$3t=e=>{const t=e,r=e.replace(".",","),[n,i]=r.split(",").map(o=>{const a=Number(o);return isNaN(a)?0:a});return{original:t,coordinates:[n,i]}},mfe=()=>{const[e]=nhe();return F.useMemo(()=>{const t=e.get("position")??U3t,r=e.get("realm")??hfe,n=e.get("id");return{position:$3t(t),realm:r,id:n}},[e])};function H3t(e){const{isSignedIn:t}=w3();return(...r)=>{if(!t){window.location.href=`${jr.get("AUTH_URL")}/login?redirectTo=${encodeURIComponent(window.location.href)}`;return}return e(...r)}}const V3t=e=>{const t=e.base_position.split(",").map(Number);return{id:e.id,type:"place",title:e.title,user_name:e.owner||e.contact_name||"Unknown",coordinates:t,image:e.image,description:e.description,user_count:e.user_count||0,favorites:e.favorites,scene_name:e.title,url:e.url,position:t.join(","),realm:e.world?e.world_name:void 0}},z3t=e=>{const r=new Date(e.next_start_at).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",timeZoneName:"short"}),i=new Date(e.next_finish_at).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",timeZoneName:"short"});return{id:e.id,type:"event",title:e.name,user_name:e.user_name,user:e.user,coordinates:e.coordinates,image:e.image,description:e.description,start_at:r,finish_at:i,recurrent:e.recurrent,total_attendees:e.total_attendees,attending:e.attending,live:e.live,scene_name:e.scene_name,url:e.url,position:e.coordinates.join(","),realm:e.world&&e.server?e.server:void 0}},q3t=e=>{const t=-new Date().getTimezoneOffset()/60,n=`UTC${t>=0?"+":""}${t}`,i={month:"short",day:"numeric",hour:"numeric",minute:"2-digit",hour12:!0,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},o=e.toLocaleDateString("en-US",i),[a,s]=o.split(", ");return`${a} - ${s} (${n})`},W3t=e=>{const r=Math.floor((new Date().getTime()-e.getTime())/1e3),n=60,i=n*60,o=i*24,a=o*7,s=o*30,l=o*365;return r<n?{key:"event.time_ago.just_now",value:0}:r<i?{key:"event.time_ago.minutes_ago",value:Math.floor(r/n)}:r<o?{key:"event.time_ago.hours_ago",value:Math.floor(r/i)}:r<a?{key:"event.time_ago.days_ago",value:Math.floor(r/o)}:r<s?{key:"event.time_ago.weeks_ago",value:Math.floor(r/a)}:r<l?{key:"event.time_ago.months_ago",value:Math.floor(r/s)}:{key:"event.time_ago.years_ago",value:Math.floor(r/l)}},gfe=e=>{const t=new Date(e);if(t>new Date)return q3t(t);const{key:n,value:i}=W3t(t);return`${KT("event.time_ago.started")} ${KT(n,{value:i})}`},Fy=e=>{if(!(e!=null&&e.start_at)||!(e!=null&&e.finish_at))return!1;const t=new Date(e.start_at),r=new Date(e.finish_at);return new Date>r&&r>t};class G3t{constructor(t){this.baseUrl=jr.get("EVENTS_API_URL"),this.authenticatedFetch=t}async fetchEvents(t,r=fetch){try{let n=`${this.baseUrl}/events`;const i=new URLSearchParams;t!=null&&t.position&&i.set("position",`${t.position[0]},${t.position[1]}`),t!=null&&t.realm&&i.set("world_names[]",t.realm),i.toString()&&(n+=`?${i.toString()}`);const o=await r(n);if(!o.ok)throw new Error(`HTTP error! status: ${o.status}`);return await o.json()}catch(n){throw console.error("Error fetching events:",n),n}}async fetchEventsByPosition(t,r=fetch){return this.fetchEvents({position:t},r)}async fetchEventsByRealm(t,r=fetch){return this.fetchEvents({realm:t},r)}async fetchEvent(t,r=fetch){try{const n=await r(`${this.baseUrl}/events/${t}`);if(!n.ok){if(n.status===404)return null;throw new Error(`HTTP error! status: ${n.status}`)}const i=await n.json();return i.ok?i.data:null}catch(n){throw console.error("Error fetching event:",n),n}}async attendee(t){if(!this.authenticatedFetch)throw new Error("Authentication required: attendee operation requires authenticated fetch");try{const r=await this.authenticatedFetch(`${this.baseUrl}/events/${t}/attendees`,{method:"POST",headers:{"Content-Type":"application/json"}});if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);return await r.json()}catch(r){throw console.error("Error attending event:",r),r}}async unattendee(t){if(!this.authenticatedFetch)throw new Error("Authentication required: unattendee operation requires authenticated fetch");try{const r=await this.authenticatedFetch(`${this.baseUrl}/events/${t}/attendees`,{method:"DELETE",headers:{"Content-Type":"application/json"}});if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);return await r.json()}catch(r){throw console.error("Error unattending event:",r),r}}}class yfe{constructor(){this.peerUrl=jr.get("PEER_URL")}async fetchSceneEntity(t){try{const r=await fetch(`${this.peerUrl}/content/entities/active`,{method:"POST",headers:{Accept:"*/*","Content-Type":"application/json"},body:JSON.stringify({pointers:[t]})});if(!r.ok)return{ok:!1,error:`HTTP ${r.status}: ${r.statusText}`};const n=await r.json();return!n||n.length===0?{ok:!1,error:"No scene found at this position"}:{ok:!0,data:n[0]}}catch(r){return{ok:!1,error:r instanceof Error?r.message:"Unknown error occurred"}}}async fetchSceneDeployment(t){try{const r=await fetch(`${this.peerUrl}/content/deployments/?entityId=${t}`,{method:"GET",headers:{Accept:"*/*"}});if(!r.ok)return{ok:!1,error:`HTTP ${r.status}: ${r.statusText}`};const n=await r.json();return!n.deployments||n.deployments.length===0?{ok:!1,error:"No deployment found for this entity"}:{ok:!0,data:n.deployments[0]}}catch(r){return{ok:!1,error:r instanceof Error?r.message:"Unknown error occurred"}}}async fetchUserProfile(t){try{const r=await fetch(`${this.peerUrl}/lambdas/profiles`,{method:"POST",headers:{Accept:"*/*","Content-Type":"application/json"},body:JSON.stringify({ids:[t]})});if(!r.ok)return{ok:!1,error:`HTTP ${r.status}: ${r.statusText}`};const n=await r.json();return!n||n.length===0?{ok:!1,error:"No profile found for this address"}:{ok:!0,data:n[0]}}catch(r){return{ok:!1,error:r instanceof Error?r.message:"Unknown error occurred"}}}async fetchSceneDeployerInfo(t){var r,n,i,o,a,s,l,c,d,f,p,m,v,g;try{const b=await this.fetchSceneEntity(t);if(!b.ok||!b.data)return{ok:!1,error:b.error||"Failed to fetch entity"};const h=await this.fetchSceneDeployment(b.data.id);if(!h.ok||!h.data)return{ok:!1,error:h.error||"Failed to fetch deployment"};const y=await this.fetchUserProfile(h.data.deployedBy);if(!y.ok||!y.data)return{ok:!1,error:y.error||"Failed to fetch profile"};const w=y.data.avatars[0],T=h.data,R=b.data;return{ok:!0,data:{deployerAddress:T.deployedBy,deployerName:(w==null?void 0:w.name)||(w==null?void 0:w.realName)||"Unknown",deployerAvatar:(n=(r=w==null?void 0:w.avatar)==null?void 0:r.snapshots)==null?void 0:n.face256,sceneTitle:((o=(i=R.metadata)==null?void 0:i.display)==null?void 0:o.title)||((s=(a=T.metadata)==null?void 0:a.display)==null?void 0:s.title),sceneDescription:((c=(l=R.metadata)==null?void 0:l.display)==null?void 0:c.description)||((f=(d=T.metadata)==null?void 0:d.display)==null?void 0:f.description),contactName:((m=(p=R.metadata)==null?void 0:p.contact)==null?void 0:m.name)||((g=(v=T.metadata)==null?void 0:v.contact)==null?void 0:g.name)}}}catch(b){return{ok:!1,error:b instanceof Error?b.message:"Unknown error occurred"}}}async fetchCreator(t){var o,a;const r=await this.fetchUserProfile(t);if(!r.ok||!r.data)return{ok:!1,error:r.error||"Failed to fetch profile"};const n=r.data.avatars[0];return{ok:!0,data:{user_name:(n==null?void 0:n.name)||(n==null?void 0:n.realName)||"Unknown",user:t,avatar:(a=(o=n==null?void 0:n.avatar)==null?void 0:o.snapshots)==null?void 0:a.face256}}}}function cG(e){var t;return!!((t=e==null?void 0:e.match(/^[a-zA-Z0-9.]+\.eth$/))!=null&&t.length)}class K3t{constructor(t){this.baseUrl=jr.get("PLACES_API_URL"),this.authenticatedFetch=t}async fetchPlaces(t,r){const n=r||this.authenticatedFetch||fetch;try{let i=this.baseUrl;t!=null&&t.realm&&cG(t.realm)?i=`${this.baseUrl}/worlds?names=${t.realm.toLowerCase()}`:t!=null&&t.position?i=`${this.baseUrl}/places/?positions=${t.position[0]},${t.position[1]}`:i=`${this.baseUrl}/places`;const o=await n(i);if(!o.ok)throw new Error(`HTTP error! status: ${o.status}`);return await o.json()}catch(i){throw console.error("Error fetching places:",i),i}}async fetchPlacesByRealm(t,r){if(!cG(t))throw new Error("Invalid realm name. Must be an ENS name (ending with .eth)");return this.fetchPlaces({realm:t},r)}async fetchPlace(t,r){const n=r||this.authenticatedFetch||fetch;try{const i=await n(`${this.baseUrl}/places/${t}`);if(!i.ok){if(i.status===404)return null;throw new Error(`HTTP error! status: ${i.status}`)}const o=await i.json();return o.ok?o.data:null}catch(i){throw console.error("Error fetching place:",i),i}}}const R9=async(e,t=fetch)=>new K3t().fetchPlaces(e,t);jr.get("PLACES_URL","");function vfe(e){var t;return!!((t=e==null?void 0:e.match(/^[a-zA-Z0-9.]+\.eth$/))!=null&&t.length)}async function Y3t(e){try{const t=e.replace(/\/$/,""),n=/\/about$/i.test(t)?t:`${t}/about`,i=await fetch(n);if(!i.ok)return!1;const o=await i.json();return o.healthy&&o.acceptingUsers}catch{return!1}}const Z3t=async(e,t)=>{let r=!1,n=!1;const i=()=>{r=!0},o=()=>{n=!0};window.addEventListener("blur",i),e.addEventListener("mouseup",o);const a=document.createElement("iframe");return a.setAttribute("style","display: none"),a.src=t,document.body.appendChild(a),new Promise(s=>{setTimeout(()=>{window.removeEventListener("blur",i),e.removeEventListener("mouseup",o),document.body.removeChild(a),!n&&e.matches(":hover")&&i(),s(r)},500)})},J3t="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%3e%3cpath%20d='M23.9535%2046.5C27.6473%2046.5%2031.1733%2045.6667%2034.2795%2044.0834H13.6274C16.7336%2045.6667%2020.1756%2046.5%2023.9535%2046.5Z'%20fill='%23FCFCFC'/%3e%3cpath%20d='M23.9535%201.5C11.5287%201.5%201.37054%2011.5%201.37054%2023.9167C1.37054%2026.6667%201.87425%2029.3333%202.79772%2031.75L11.5287%2021.3333L16.5657%2015.25L28.8226%2029.9167L32.3486%2025.6667L41.5833%2036.6667H42.3388C44.9413%2033%2046.3685%2028.5833%2046.3685%2023.8333C46.5364%2011.5%2036.3783%201.5%2023.9535%201.5ZM16.4818%2013.25C14.7188%2013.25%2013.3756%2011.8333%2013.3756%2010.1667C13.3756%208.5%2014.8028%207.08333%2016.4818%207.08333C18.2448%207.08333%2019.588%208.5%2019.588%2010.1667C19.588%2011.8333%2018.2448%2013.25%2016.4818%2013.25ZM32.8523%2023.3333C29.4103%2023.3333%2026.6399%2020.5833%2026.6399%2017.1667C26.6399%2013.75%2029.4103%2011%2032.8523%2011C36.2943%2011%2039.0647%2013.75%2039.0647%2017.1667C39.1487%2020.5833%2036.2943%2023.3333%2032.8523%2023.3333Z'%20fill='%23FCFCFC'/%3e%3cpath%20d='M9.76567%2041.6666H37.8894C38.8129%2040.9166%2039.8203%2039.9999%2040.4079%2039.3333H7.24713C8.08665%2040.1666%208.92616%2040.9999%209.76567%2041.6666Z'%20fill='%23FCFCFC'/%3e%3cpath%20d='M25.3806%2034.0834H3.55328C4.05699%2035.0834%204.64465%2036%205.23231%2036.9167H22.9461L25.3806%2034.0834Z'%20fill='%23FCFCFC'/%3e%3cpath%20d='M17.1534%2019.4166V31.8333H27.4795L17.1534%2019.4166Z'%20fill='%23FCFCFC'/%3e%3cpath%20d='M33.1042%2037.0833H38.9808L33.1042%2030V37.0833Z'%20fill='%23FCFCFC'/%3e%3c/svg%3e",X3t=de(H7)({".MuiPaper-root":{background:"linear-gradient(332deg, rgba(131, 14, 91, 0.95) 3%, rgba(46, 1, 62, 0.95) 35%)",position:"relative",borderRadius:16,maxWidth:"90%",margin:16,minHeight:"auto"}}),Q3t=de(Pe)({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:24,padding:32,textAlign:"center"}),evt=de("h2")({fontSize:24,fontWeight:600,textAlign:"center",margin:0,lineHeight:1.2,color:"white"}),tvt=de("p")({fontSize:16,lineHeight:1.5,textAlign:"center",margin:0,color:"white",opacity:.8}),rvt=de(ku)({position:"absolute",top:14,right:14,"&:hover":{backgroundColor:"#31282814"},svg:{color:"white"}}),nvt=({open:e,onClose:t})=>u.jsx(X3t,{open:e,size:"tiny",children:u.jsxs(Q3t,{children:[u.jsx(rvt,{onClick:t,children:u.jsx(Sqe,{})}),u.jsx("img",{src:J3t,alt:"Decentraland Logo",width:"64",height:"64"}),u.jsx(evt,{children:"Switch to a Computer to Use Decentraland"}),u.jsx(tvt,{children:"Enter your email to get a download reminder message for when you're back at your computer. This also signs you up for Decentraland's newsletter for the latest news and events"}),u.jsx("iframe",{src:"https://embeds.beehiiv.com/d7d652da-adc8-422f-9176-4b653a244020?slim=true","data-test-id":"beehiiv-embed",height:"52",frameBorder:"0",scrolling:"no",width:"100%",style:{margin:0,borderRadius:"0px !important",backgroundColor:"transparent"}})]})}),ivt=de(ku)({backgroundColor:"#FF2D55",border:"1px solid #FCFCFC4D",width:"36px",height:"36px",borderRadius:"8px",padding:0,"&:hover":{backgroundColor:"#E02347",borderColor:"#FCFCFC"},"&:focus":{backgroundColor:"#E02347",borderColor:"#FCFCFC"}}),uG=de("svg")(({iconSize:e="large"})=>{const r={tiny:{width:20,height:20},small:{width:22,height:22},medium:{width:22,height:22},large:{width:24,height:24},full:{width:"100%",height:"100%"}}[e];return{width:r.width,height:r.height,fill:"none"}}),ovt="0,0",avt="main",bfe=({position:e,realm:t,sceneData:r,onlyIcon:n=!1,size:i="large",children:o,...a})=>{var T,R,S;const[,s]=Ij(),{track:l}=$7(),[c,d]=F.useState(!1),f=hp(),p=jr.get("ONBOARDING_URL"),m=jr.get("DOWNLOAD_URL"),{isSignedIn:v}=w3(),g=((T=s==null?void 0:s.os)==null?void 0:T.name)??"unknown",b=((S=(R=s==null?void 0:s.cpu)==null?void 0:R.architecture)==null?void 0:S.toLowerCase())??"unknown",h=!!(s!=null&&s.mobile),y=F.useCallback(async I=>{if(h){d(!0),l(lu.CLICK_JUMP_IN_MOBILE,{osName:g,arch:b});return}const{target:U}=I,D=new URL("decentraland://");t&&t!==avt&&D.searchParams.set("realm",t),e!==ovt&&D.searchParams.set("position",e),l(lu.CLICK_JUMP_IN,{deepLink:D.toString(),osName:g,arch:b}),await Z3t(U,D.toString())||(l(lu.CLIENT_NOT_INSTALLED,{osName:g,arch:b}),v?window.open(m,"_self"):window.open(p,"_self"))},[t,e,g,b,h,l,v,m,p]),w=F.useCallback(()=>{l(lu.CLICK_MOBILE_DISCLAIMER_MODAL_CLOSE,{osName:g,arch:b}),d(!1)},[g,b,l]);return u.jsxs(u.Fragment,{children:[n?u.jsx(ivt,{onClick:y,"aria-label":"Jump in to Decentraland",...a,children:u.jsx(uG,{iconSize:"full",viewBox:"0 0 25 24",xmlns:"http://www.w3.org/2000/svg",children:u.jsx("path",{d:"M19.2111 11.065L14.534 6.39027C13.7002 5.55695 12.2971 6.14637 12.2971 7.32523V8.86994C12.2564 8.86994 12.2361 8.86994 12.1954 8.86994H7.75895C7.00654 8.86994 6.39648 9.45936 6.39648 10.2114V13.7683C6.39648 14.5203 7.00654 15.1301 7.75895 15.1301H12.1751C12.2158 15.1301 12.2361 15.1301 12.2768 15.1301V16.6748C12.2768 17.8536 13.7002 18.4431 14.5137 17.6097L19.1908 12.935C19.7195 12.4065 19.7195 11.5732 19.2111 11.065Z",fill:"white"})})}):u.jsx(Cn,{variant:"contained",size:i,onMouseDown:y,...a,children:u.jsxs(u.Fragment,{children:[u.jsx(Jt,{variant:"body1",sx:I=>({fontSize:i==="medium"?13:15,fontWeight:600,marginRight:1,[I.breakpoints.down("xs")]:{fontSize:i==="medium"?14:16}}),children:o??f("components.jump_in_button.jump_in")}),u.jsxs(uG,{iconSize:i,viewBox:"0 0 25 24",xmlns:"http://www.w3.org/2000/svg",children:[u.jsx("rect",{x:"1.25",y:"0.75",width:"22.5",height:"22.5",rx:"7.25",stroke:"#FCFCFC",strokeOpacity:"0.3",strokeWidth:"1.5"}),u.jsx("path",{d:"M19.2111 11.065L14.534 6.39027C13.7002 5.55695 12.2971 6.14637 12.2971 7.32523V8.86994C12.2564 8.86994 12.2361 8.86994 12.1954 8.86994H7.75895C7.00654 8.86994 6.39648 9.45936 6.39648 10.2114V13.7683C6.39648 14.5203 7.00654 15.1301 7.75895 15.1301H12.1751C12.2158 15.1301 12.2361 15.1301 12.2768 15.1301V16.6748C12.2768 17.8536 13.7002 18.4431 14.5137 17.6097L19.1908 12.935C19.7195 12.4065 19.7195 11.5732 19.2111 11.065Z",fill:"white"})]})]})}),u.jsx(nvt,{open:c,onClose:w})]})},svt="https://cdn.decentraland.org/@dcl/jump-site/0.4.3/assets/background--i0ipWGU.webp",pD=de(Pe)(e=>{const t=e.theme;return{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:"calc(100vh - 64px)",padding:32,backgroundImage:`url(${svt})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",width:"100%",boxSizing:"border-box",[t.breakpoints.down("sm")]:{paddingTop:0,paddingBottom:0,minHeight:"calc(100vh - 210px)",alignItems:"stretch",width:"auto",margin:0,padding:0,overflowX:"hidden"}}});var hD={},lvt=Ir;Object.defineProperty(hD,"__esModule",{value:!0});var mD=hD.default=void 0,cvt=lvt(Dr()),dG=u;mD=hD.default=(0,cvt.default)([(0,dG.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),(0,dG.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"AccessTime");var gD={},uvt=Ir;Object.defineProperty(gD,"__esModule",{value:!0});var yD=gD.default=void 0,dvt=uvt(Dr()),fvt=u;yD=gD.default=(0,dvt.default)((0,fvt.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2"}),"CircleRounded");var vD={},pvt=Ir;Object.defineProperty(vD,"__esModule",{value:!0});var bD=vD.default=void 0,hvt=pvt(Dr()),mvt=u;bD=vD.default=(0,hvt.default)((0,mvt.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"}),"Person");var _D={},gvt=Ir;Object.defineProperty(_D,"__esModule",{value:!0});var ED=_D.default=void 0,yvt=gvt(Dr()),vvt=u;ED=_D.default=(0,yvt.default)((0,vvt.jsx)("path",{d:"M12 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m6-1.8C18 6.57 15.35 4 12 4s-6 2.57-6 6.2c0 2.34 1.95 5.44 6 9.14 4.05-3.7 6-6.8 6-9.14M12 2c4.2 0 8 3.22 8 8.2 0 3.32-2.67 7.25-8 11.8-5.33-4.55-8-8.48-8-11.8C4 5.22 7.8 2 12 2"}),"PlaceOutlined");const _fe="https://cdn.decentraland.org/@dcl/jump-site/0.4.3/assets/card-creator-placeholder-BobX3Kvq.webp",bvt="https://cdn.decentraland.org/@dcl/jump-site/0.4.3/assets/card-events-placeholder-bdYGw8BY.webp",_vt="https://cdn.decentraland.org/@dcl/jump-site/0.4.3/assets/card-places-placeholder-DtbWTTXg.webp",Efe=({width:e=16,height:t=12,color:r="#FCFCFC"})=>u.jsxs("svg",{width:e,height:t,viewBox:"0 0 16 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[u.jsx("circle",{cx:"7.79575",cy:"5.99967",r:"1.90317",fill:r}),u.jsx("path",{d:"M10.4466 3.19928C11.1889 3.90207 11.6519 4.89681 11.6519 5.99969C11.6519 7.10257 11.1889 8.09731 10.4466 8.8001M5.14549 3.19928C4.40322 3.90207 3.94019 4.89681 3.94019 5.99969C3.94019 7.10257 4.40322 8.09731 5.14549 8.8001",stroke:r,strokeLinecap:"round",strokeLinejoin:"round"}),u.jsx("path",{d:"M12.3984 1C13.7468 2.24189 14.5916 4.02229 14.5916 6C14.5916 7.97771 13.7468 9.75811 12.3984 11M3.19325 1C1.84481 2.24189 1 4.02229 1 6C1 7.97771 1.84481 9.75811 3.19325 11",stroke:r,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),Evt=de("div")(({$maxHeight:e,$hasGradient:t,$gradientColor:r})=>({position:"relative",height:`${e}px`,"&::after":{content:'""',position:"absolute",bottom:-1,left:0,right:3,height:24,background:`linear-gradient(transparent, ${r})`,pointerEvents:"none",zIndex:1,opacity:t?1:0,transition:"opacity 0.2s ease"}})),xvt=de("div")({position:"absolute",top:0,left:0,right:0,bottom:0,overflowY:"auto",paddingRight:4,"&::-webkit-scrollbar":{width:3,opacity:0,transition:"opacity 0.2s ease"},"&::-webkit-scrollbar-track":{backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:"transparent",borderRadius:2},"&:hover":{"&::-webkit-scrollbar":{opacity:1},"&::-webkit-scrollbar-track":{backgroundColor:"rgba(255, 255, 255, 0.1)"},"&::-webkit-scrollbar-thumb":{backgroundColor:"rgba(255, 255, 255, 0.3)","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.5)"}}}}),xfe=({children:e,maxHeight:t,gradientColor:r})=>{const n=F.useRef(null),[i,o]=F.useState(!1),[a,s]=F.useState(!1);return F.useEffect(()=>{const l=()=>{const m=n.current;if(!m)return;m.style.height="auto";const v=m.scrollHeight;m.style.height="",o(v>t)},c=()=>{const m=n.current;if(!m)return;const v=m.scrollTop+m.clientHeight>=m.scrollHeight-1;s(v)},d=setTimeout(()=>{l(),c()},500),f=new ResizeObserver(()=>{l()}),p=n.current;return p&&(f.observe(p),p.addEventListener("scroll",c)),()=>{clearTimeout(d),f.disconnect(),p==null||p.removeEventListener("scroll",c)}},[t,e]),u.jsx(Evt,{$maxHeight:t,$hasGradient:i&&!a,$gradientColor:r,children:u.jsx(xvt,{ref:n,children:e})})},fG=Ee(Pe)(({theme:e})=>({display:"flex",height:608,width:"100%",minWidth:1118,maxWidth:1448,overflow:"hidden",borderRadius:16,boxShadow:"0 8px 32px rgba(0, 0, 0, 0.12)",[e.breakpoints.down("xl")]:{maxWidth:"100%",minWidth:"100%"},[e.breakpoints.down("md")]:{height:490,width:"calc(100% - 64px)",minWidth:"auto",margin:"0 32px"}})),pG=Ee(Pe)(({theme:e})=>({position:"relative",flexGrow:1,maxWidth:724,overflow:"hidden",[e.breakpoints.down("md")]:{height:"100%"}})),hG=Ee(Pe)(({theme:e})=>({display:"flex",flexDirection:"column",justifyContent:"flex-start",flexGrow:1,maxWidth:724,padding:"60px 60px 48px 48px",backgroundColor:"#380A4D",[e.breakpoints.down("md")]:{padding:20},[e.breakpoints.down("sm")]:{padding:16}})),wfe=Ee("img")({width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"}),GM=Ee(Pe)(({backgroundColor:e="#FF2D55"})=>({position:"absolute",top:16,left:16,backgroundColor:e,color:"#161518",padding:"8px 16px",borderRadius:8,display:"flex",alignItems:"center",gap:8,fontSize:14,fontWeight:700,backdropFilter:"blur(4px)"})),mG=Ee(Pe)({display:"flex",flexGrow:1,flexDirection:"column",marginBottom:30}),wvt=Ee("h2")(({theme:e})=>({fontSize:48,fontWeight:600,margin:0,color:"#ffffff",lineHeight:1.17,display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden",[e.breakpoints.down("md")]:{fontSize:40},[e.breakpoints.down("sm")]:{fontSize:32}})),Cfe=Ee(Pe)({display:"flex",alignItems:"center",gap:8,fontSize:20,fontWeight:500,color:"#FF2D55",marginBottom:"24px"}),Sfe=Ee("span")({color:"#ffffff"}),Afe=Ee(Pe)(({eventHasEnded:e,theme:t})=>({display:"inline-flex",alignItems:"center",padding:"4px 8px",gap:"8px",fontSize:16,fontWeight:400,lineHeight:1.75,letterSpacing:0,color:e?"#fcfcfc":"#ffffff",backgroundColor:e?"#716B7C":"#00000066",textTransform:e?"uppercase":"none",borderRadius:"8px",backdropFilter:"blur(4px)",width:"fit-content",[t.breakpoints.down("md")]:{fontSize:14}})),Tfe=Ee(Pe)({display:"inline-flex",alignItems:"center",padding:"4px 8px",gap:"8px",fontSize:16,fontWeight:400,lineHeight:1.75,letterSpacing:0,color:"#ffffff",backgroundColor:"#00000066",borderRadius:"8px",backdropFilter:"blur(4px)",width:"fit-content"}),Cvt=Ee(Pe)({position:"absolute",top:0,left:0,right:0,bottom:0,fontSize:20,color:"#ffffff",lineHeight:1.6,letterSpacing:0,margin:0,overflowY:"auto",paddingRight:4,"&::-webkit-scrollbar":{width:4,opacity:0,transition:"opacity 0.2s ease"},"&::-webkit-scrollbar-track":{backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:"transparent",borderRadius:2},"&:hover":{"&::-webkit-scrollbar":{opacity:1},"&::-webkit-scrollbar-track":{backgroundColor:"rgba(255, 255, 255, 0.1)"},"&::-webkit-scrollbar-thumb":{backgroundColor:"rgba(255, 255, 255, 0.3)","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.5)"}}}}),Mfe=Ee(Pe)({display:"flex",alignItems:"center",justifyContent:"center",height:"100%",width:"100%",backgroundColor:"rgba(56, 10, 77, 0.6)"}),Rfe=Ee("img")({display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#f0f0f0",flexShrink:0,objectFit:"cover",width:32,height:32,overflow:"hidden",borderRadius:"33.65px",borderWidth:"2.29px",borderStyle:"solid",borderColor:"#ffffff"}),Ife=Ee("a")({color:"#FF2D55",textDecoration:"none",fontSize:20,fontWeight:500,transition:"color 0.2s ease, text-decoration 0.2s ease","&:hover":{color:"#FF4D75",textDecoration:"underline"},"&:focus":{outline:"2px solid #FF2D55",outlineOffset:2,borderRadius:4}}),Svt=e=>`${e[0]}, ${e[1]}`,Avt=F.memo(({data:e,isLoading:t=!1,children:r,creator:n})=>{var h,y,w;const i=hp(),{isSignedIn:o}=w3(),a=jr.get("ONBOARDING_URL"),s=jr.get("DOWNLOAD_URL"),[,l]=Ij(),{track:c}=$7(),d=((h=l==null?void 0:l.os)==null?void 0:h.name)??"unknown",f=((w=(y=l==null?void 0:l.cpu)==null?void 0:y.architecture)==null?void 0:w.toLowerCase())??"unknown",p=F.useCallback(async()=>{if(!e)return;console.log("Jumping in to realm",e.realm,"and position",e.position);const T=await UM({realm:e.realm,position:e.position});T&&c(lu.CLICK_JUMP_IN),T||(c(lu.CLIENT_NOT_INSTALLED,{osName:d,arch:f}),o?window.open(s,"_self"):window.open(a,"_self"))},[o,s,a,UM,c,e==null?void 0:e.realm,e==null?void 0:e.position,d,f]);if(t||!e)return u.jsxs(fG,{children:[u.jsx(pG,{children:u.jsx(Mfe,{children:u.jsx(_s,{disableShrink:!0})})}),u.jsx(hG,{children:u.jsxs(mG,{style:{gap:12},children:[u.jsx(oc,{variant:"text",animation:"wave",sx:{fontSize:28,fontWeight:700,marginBottom:"12px"}}),u.jsx(oc,{variant:"text",animation:"wave",sx:{fontSize:16,marginBottom:"8px"}}),u.jsx(oc,{variant:"text",animation:"wave",sx:{fontSize:16,marginBottom:"8px"}}),u.jsx(oc,{variant:"text",animation:"wave",sx:{fontSize:16,marginBottom:"16px"}}),u.jsx(oc,{variant:"rectangular",animation:"wave",sx:{height:80}})]})})]});const m=e.type==="event",v=(n==null?void 0:n.user_name)||e.user_name,g=(n==null?void 0:n.user)||e.user,b=(n==null?void 0:n.avatar)||_fe;return u.jsxs(fG,{children:[u.jsxs(pG,{children:[u.jsx(wfe,{src:e.image||(m?bvt:_vt),alt:i(m?"card.accessibility.event_image":"card.accessibility.place_image",{title:e.title})}),m&&u.jsx(GM,{backgroundColor:e.live?"#FF2D55":"#FCFCFC",style:{color:e.live?"white":"#161518"},children:e.live?u.jsxs(u.Fragment,{children:[u.jsx(Efe,{}),i("card.event.live")," +",e.user_count||0]}):u.jsxs(u.Fragment,{children:[u.jsx(By,{sx:{fontSize:16,color:"#FF2D55"}}),"+",e.total_attendees]})}),!m&&e.user_count&&e.user_count>0?u.jsxs(GM,{backgroundColor:"#FCFCFC",children:[u.jsx(yD,{sx:{fontSize:16,color:"#00A146"}}),u.jsx(bD,{sx:{fontSize:16,color:"#161518"}}),e.user_count]}):null]}),u.jsxs(hG,{children:[u.jsxs(mG,{children:[u.jsx(wvt,{style:{marginBottom:"16px"},children:e.title}),u.jsxs(Cfe,{children:[u.jsx(Rfe,{src:b,alt:i("card.accessibility.creator_avatar",{userName:v})}),u.jsxs(Sfe,{children:[i("card.creator.by")," "]}),g?u.jsx(Ife,{href:`${jr.get("PROFILE_URL")}accounts/${g}`,target:"_blank",rel:"noopener noreferrer","aria-label":i("card.accessibility.user_profile_link",{userName:v}),children:v}):v]}),u.jsxs(Pe,{sx:{display:"flex",gap:"8px",flexWrap:"wrap",marginBottom:"48px"},children:[m&&e.start_at&&u.jsxs(Afe,{eventHasEnded:Fy(e),children:[u.jsx(mD,{sx:{fontSize:16}}),Fy(e)?i("event.has_ended"):gfe(e.start_at)]}),u.jsxs(Tfe,{children:[u.jsx(ED,{sx:{fontSize:16}}),(e==null?void 0:e.realm)??Svt(e.coordinates),m&&!(e!=null&&e.live)&&u.jsx(Cn,{variant:"contained",size:"large",fullWidth:!0,endIcon:u.jsx(y6,{}),onClick:p,children:i("components.jump_in_button.jump_in")})]})]}),u.jsx(xfe,{maxHeight:128,gradientColor:"#380A4D",children:e.description||i("card.place.default_description")})]}),r,!r&&(!m||e.live)&&u.jsx(Cn,{variant:"contained",size:"large",fullWidth:!0,endIcon:u.jsx(y6,{}),onClick:p,children:i("components.jump_in_button.jump_in")})]})]})}),Tvt=de("div")(e=>({position:"fixed",bottom:0,left:0,right:0,padding:"16px 24px 32px 24px",background:"linear-gradient(100.12deg, #130119 0%, #320524 100%)",borderTop:"1px solid rgba(255, 255, 255, 0.1)",zIndex:1e3,display:"none",[e.theme.breakpoints.down("md")]:{display:"block"}})),Mvt=de(Cn)({backgroundColor:"#FF2D55",color:"#ffffff",borderRadius:"12px",height:"56px",fontSize:"16px",fontWeight:600,textTransform:"none",boxShadow:"0 4px 16px rgba(255, 45, 85, 0.3)",border:"none","&:hover":{backgroundColor:"#E02347",boxShadow:"0 6px 20px rgba(255, 45, 85, 0.4)"},"&:focus":{backgroundColor:"#E02347",boxShadow:"0 6px 20px rgba(255, 45, 85, 0.4)",outline:"2px solid #ffffff",outlineOffset:"2px"},"&:active":{backgroundColor:"#C01E3F",transform:"translateY(1px)"},"& .MuiButton-startIcon":{marginRight:"8px","& svg":{fontSize:"20px"}}}),Rvt=({url:e,title:t})=>{const r=hp(),n=F.useCallback(async()=>{const i=e||window.location.href,o=t||document.title;if(navigator.share)try{await navigator.share({title:o,url:i})}catch{await navigator.clipboard.writeText(i)}else try{await navigator.clipboard.writeText(i)}catch(a){console.error("Failed to copy to clipboard:",a)}},[e,t]);return u.jsxs(Tvt,{children:[u.jsx(Jt,{variant:"h6",align:"center",mb:"8px",sx:{textWrapStyle:"balance"},children:r("share.button.switch_to_computer")}),u.jsx(Mvt,{variant:"contained",onClick:n,startIcon:u.jsx(x6,{}),fullWidth:!0,children:u.jsx(Jt,{variant:"body1",sx:{fontWeight:600,fontSize:16},children:r("share.button.text")})})]})},gG=de("div")({display:"flex",flexDirection:"column",width:"100%",background:"linear-gradient(96.05deg, #2E013E 36.2%, #7F0D59 100.69%)",paddingBottom:"25px"}),yG=de("div")({position:"relative",width:"100%",height:"250px",overflow:"hidden"}),vG=de("div")({display:"flex",flexDirection:"column",padding:"32px 24px 0px 24px"}),bG=de("div")({position:"fixed",bottom:-1,left:0,right:0,minHeight:"115px",padding:"32px 24px 32px 24px",background:"linear-gradient(100.12deg, #130119 0%, #320524 100%)",borderTop:"1px solid rgba(255, 255, 255, 0.1)",zIndex:1e3,display:"flex",flexDirection:"row",gap:"12px",backdropFilter:"blur(8px)",boxShadow:"0 -4px 16px rgba(0, 0, 0, 0.2)"}),_G=de(GM)(()=>({padding:"6px 12px",borderRadius:6,gap:6,fontSize:12})),EG=de("div")({display:"flex",flexDirection:"column",gap:12}),Ivt=de("h1")({fontSize:28,fontWeight:600,margin:0,color:"#ffffff",lineHeight:1.2,marginBottom:16}),Ovt=de(Cfe)({gap:6,fontSize:16,marginBottom:16}),Pvt=de(Afe)(()=>({gap:"6px",fontSize:14,lineHeight:1.5,borderRadius:"6px"})),Lvt=de(Tfe)({gap:"6px",fontSize:14,lineHeight:1.5,borderRadius:"6px"});de(Cvt)({fontSize:16,lineHeight:1.5,"&::-webkit-scrollbar":{width:3}});const kvt=de(Rfe)({width:24,height:24,borderRadius:"50%",borderWidth:"1.5px"}),Nvt=de(Ife)({fontSize:16}),jvt=e=>`${e[0]}, ${e[1]}`,Dvt=F.memo(({data:e,isLoading:t=!1,children:r,creator:n,stickyContent:i})=>{const o=hp();if(t)return u.jsxs(gG,{children:[u.jsx(yG,{children:u.jsx(Mfe,{children:u.jsx(_s,{disableShrink:!0})})}),u.jsx(vG,{style:{paddingBottom:"175px"},children:u.jsxs(EG,{children:[u.jsx(oc,{variant:"text",animation:"wave",sx:{fontSize:24,fontWeight:700,marginBottom:"8px"}}),u.jsx(oc,{variant:"text",animation:"wave",sx:{fontSize:14,marginBottom:"6px"}}),u.jsx(oc,{variant:"text",animation:"wave",sx:{fontSize:14,marginBottom:"6px"}}),u.jsx(oc,{variant:"text",animation:"wave",sx:{fontSize:14,marginBottom:"12px"}}),u.jsx(oc,{variant:"rectangular",animation:"wave",sx:{height:60}})]})}),i&&u.jsx(bG,{children:i})]});const a=e.type==="event",s=(n==null?void 0:n.user_name)||e.user_name,l=(n==null?void 0:n.user)||e.user,c=(n==null?void 0:n.avatar)||_fe;return u.jsxs(gG,{children:[u.jsxs(yG,{children:[u.jsx(wfe,{src:e.image,alt:o(a?"card.accessibility.event_image":"card.accessibility.place_image",{title:e.title})}),a&&u.jsx(_G,{backgroundColor:e.live?"#FF2D55":"#FCFCFC",style:{color:e.live?"white":"#161518"},children:e.live?u.jsxs(u.Fragment,{children:[u.jsx(Efe,{}),o("card.event.live")," +",e.user_count||0]}):u.jsxs(u.Fragment,{children:[u.jsx(By,{sx:{fontSize:14,color:"#FF2D55"}}),"+",e.total_attendees]})}),!a&&e.user_count&&e.user_count>0?u.jsxs(_G,{backgroundColor:"#FCFCFC",children:[u.jsx(yD,{sx:{fontSize:14},htmlColor:"#00A146"}),u.jsx(bD,{sx:{fontSize:14}}),e.user_count]}):null]}),u.jsx(vG,{children:u.jsxs(EG,{children:[u.jsx(Ivt,{children:e.title}),u.jsxs(Ovt,{children:[u.jsx(kvt,{src:c,alt:o("card.accessibility.creator_avatar",{userName:s})}),u.jsxs(Sfe,{children:[o("card.creator.by")," "]}),l?u.jsx(Nvt,{href:`${jr.get("PROFILE_URL")}accounts/${l}`,target:"_blank",rel:"noopener noreferrer","aria-label":o("card.accessibility.user_profile_link",{userName:s}),children:s}):u.jsx("span",{style:{color:"#FF2D55",fontSize:16,fontWeight:500},children:s})]}),u.jsxs(Pe,{sx:{display:"flex",gap:"8px",flexWrap:"wrap",marginBottom:"12px"},children:[a&&e.start_at&&u.jsxs(Pvt,{eventHasEnded:Fy(e),children:[u.jsx(mD,{sx:{fontSize:16}}),Fy(e)?o("event.has_ended"):gfe(e.start_at)]}),u.jsxs(Lvt,{children:[u.jsx(ED,{sx:{fontSize:16}}),(e==null?void 0:e.realm)??jvt(e.coordinates)]})]}),u.jsx(xfe,{maxHeight:250,gradientColor:"#2E013E",children:e.description})]})}),u.jsx(bG,{children:r||u.jsx(Rvt,{url:e==null?void 0:e.url,title:e==null?void 0:e.title})})]})}),Ofe=F.memo(({data:e,isLoading:t=!1,children:r,creator:n})=>pp()?u.jsx(Dvt,{data:e,isLoading:t,creator:n,children:r}):u.jsx(Avt,{data:e,isLoading:t,creator:n,children:r})),xG=de("div")(({isMobile:e})=>({display:"flex",flexDirection:e?"column":"row",alignItems:e?"stretch":"center",width:"100%",gap:e?12:16,float:"left"})),Aw=de("div")(({isMobile:e})=>({display:"flex",gap:e?12:16,width:"100%",alignItems:"center"}));de("div")(({isMobile:e})=>({flex:e?"1 1 0%":"none",minWidth:e?0:"auto"}));function Pfe(e){const t=new URL(`${jr.get("JUMP_IN_URL")}/events/`),r=[e.x||0,e.y||0].join(",");return t.searchParams.set("position",r),t.toString()}function wG(e){const t=e.getUTCFullYear(),r=String(e.getUTCMonth()+1).padStart(2,"0"),n=String(e.getUTCDate()).padStart(2,"0"),i=String(e.getUTCHours()).padStart(2,"0"),o=String(e.getUTCMinutes()).padStart(2,"0"),a=String(e.getUTCSeconds()).padStart(2,"0");return`${t}${r}${n}T${i}${o}${a}Z`}function Bvt(e){if(!e)return null;const t=Pfe(e),r=new URLSearchParams;r.set("text",e.name);const n=KT("components.button.get_google_calendar.jump_in");e.description&&t?r.set("details",`${e.description}
|
|
900
|
+
`,maskComposite:"exclude",padding:"2px",pointerEvents:"none",zIndex:1}}}));de(Pe)(({theme:e,active:t})=>({position:"relative",display:"flex",alignItems:"center",gap:e.spacing(1.5),paddingLeft:e.spacing(1.5),"& .MuiSwitch-root.MuiSwitch-sizeMedium":{marginLeft:e.spacing(-1.5)},...t&&{"& .MuiSwitch-thumb":{backgroundColor:`${sf} !important`},"& .Mui-checked + .MuiSwitch-track":{backgroundColor:`${sf} !important`}}}));de("span")(({theme:e,active:t})=>({fontSize:"15px",fontWeight:500,color:t?sf:e.palette.text.primary,transition:"color 0.2s ease"}));de("span")(({theme:e,active:t})=>({fontSize:"15px",color:t?sf:e.palette.text.primary,transition:"color 0.2s ease"}));de("span")({fontWeight:600,color:sf,cursor:"pointer",transition:"color 0.2s ease"});de(Pe)(({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(.5)}));de(Pe)(({show:e})=>({position:"absolute",left:"-175px",bottom:"-200px",width:"500px",height:"500px",opacity:e?1:0,pointerEvents:"none"}));de(Cn)(({theme:e})=>({color:e.palette.primary.main,textTransform:"uppercase"}));de(Hbe)({"& .MuiSwitch-switchBase":{"&:hover":{backgroundColor:"transparent"}}});const Qgt=Ee(bJ)(({theme:e,withShadow:t,borderColor:r})=>({borderRadius:e.spacing(2),boxSizing:"border-box",maxWidth:e.spacing(75),backgroundColor:"transparent",position:"relative",overflow:"visible",transition:[e.transitions.create("transform",{duration:e.transitions.duration.complex}),e.transitions.create("box-shadow",{duration:e.transitions.duration.complex}),e.transitions.create(["height","min-height"],{duration:e.transitions.duration.complex})],...r&&{"&::before":{content:'""',position:"absolute",inset:0,borderRadius:e.spacing(2),background:r,mask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",maskComposite:"exclude",padding:e.spacing(.5),pointerEvents:"none",zIndex:1}},[e.breakpoints.up("sm")]:{"&:hover":{boxShadow:t?`0px 0px 20px 6px ${ul("#DD56FF",.37)}`:"none",transition:[e.transitions.create("transform",{duration:e.transitions.duration.complex}),e.transitions.create("box-shadow",{duration:e.transitions.duration.complex}),e.transitions.create(["height","min-height"],{duration:e.transitions.duration.complex})].join(", ")}}})),eyt=Ee(K5e)(({theme:e,hasVisibleButton:t})=>({borderRadius:e.spacing(2),overflow:"hidden",height:t?e.spacing(60):e.spacing(52),display:"flex",flexDirection:"column",position:"relative",backgroundColor:"transparent","&:hover .MuiCardActionArea-focusHighlight":{opacity:0},[e.breakpoints.down("sm")]:{height:"auto"}})),tyt=Ee(Pe)({position:"relative",flexShrink:0,width:"100%"}),ryt=Ee(o4e)(({theme:e,shrinkOnHover:t})=>({height:t?e.spacing(32):e.spacing(35),width:"100%",borderRadius:`${e.spacing(2)} ${e.spacing(2)} 0 0`,backgroundSize:"cover",...t&&{[e.breakpoints.up("sm")]:{transition:e.transitions.create("height",{duration:e.transitions.duration.complex}),".MuiCardActionArea-root:hover &":{height:e.spacing(28)}}},[e.breakpoints.down("sm")]:{height:e.spacing(28)}})),nyt=Ee(Pe)(({theme:e})=>({position:"absolute",top:-15,left:-15,zIndex:11,[e.breakpoints.down("sm")]:{top:-8,left:-8}})),iyt=Ee(Pe)(({theme:e})=>({position:"absolute",top:e.spacing(2),left:e.spacing(2),right:e.spacing(2),display:"flex",alignItems:"center",justifyContent:"space-between",gap:e.spacing(1),zIndex:10,pointerEvents:"none","& > *":{pointerEvents:"auto"}})),oyt=Ee(Pe)(({theme:e,showOnHover:t})=>({padding:e.spacing(1,1),minWidth:e.spacing(4),height:e.spacing(4),maxWidth:"45%",backgroundColor:e.palette.background.default,color:e.palette.text.primary,borderRadius:e.spacing(1),display:"flex",alignItems:"center",justifyContent:"center",fontSize:e.typography.subtitle1.fontSize,fontWeight:e.typography.fontWeightBold,overflow:"hidden","& > *":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,maxWidth:"100%"},...t&&{[e.breakpoints.up("sm")]:{opacity:0,visibility:"hidden",transition:[e.transitions.create("opacity",{duration:e.transitions.duration.complex}),e.transitions.create("visibility",{duration:e.transitions.duration.complex})].join(", "),".MuiCardActionArea-root:hover &":{opacity:1,visibility:"visible"}}}})),ayt=Ee(Pe)(({theme:e,showOnHover:t})=>({marginLeft:"auto",padding:e.spacing(1,2),height:e.spacing(4),maxWidth:"45%",backgroundColor:e.palette.background.default,color:e.palette.text.primary,borderRadius:e.spacing(1.5),display:"flex",alignItems:"center",justifyContent:"center",fontSize:e.typography.body1.fontSize,overflow:"hidden","& > *":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,maxWidth:"100%"},...t&&{[e.breakpoints.up("sm")]:{opacity:0,visibility:"hidden",transition:[e.transitions.create("opacity",{duration:e.transitions.duration.complex}),e.transitions.create("visibility",{duration:e.transitions.duration.complex})].join(", "),".MuiCardActionArea-root:hover &":{opacity:1,visibility:"visible"}}}})),syt=Ee(_J)(({theme:e})=>({backgroundColor:e.palette.mode==="dark"?"rgba(0, 0, 0, 0.4)":"rgba(255, 255, 255, 0.4)",borderRadius:`0 0 ${e.spacing(2)} ${e.spacing(2)}`,display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",flex:"1 1 auto",minHeight:e.spacing(20)})),lyt=Ee(Pe)({display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-word"}),cyt=Ee(Pe)(({theme:e})=>({display:"flex",flexDirection:"column",height:"100%",justifyContent:"space-between",gap:e.spacing(1),[e.breakpoints.down("sm")]:{flexDirection:"row",alignItems:"center",gap:e.spacing(2)}})),uyt=Ee(Pe)(({theme:e,showOnHover:t})=>({display:"flex",gap:e.spacing(1),alignItems:"center",flex:"1 1 auto",maxWidth:"50%",overflow:"hidden",[e.breakpoints.down("sm")]:{maxWidth:"100%"},...t&&{[e.breakpoints.up("sm")]:{opacity:0,height:0,transition:[e.transitions.create("opacity",{duration:e.transitions.duration.complex}),e.transitions.create("height",{duration:e.transitions.duration.complex})].join(", "),".MuiCardActionArea-root:hover &":{opacity:1,height:"auto"}}}})),dyt=Ee(Pe)({flex:1,minWidth:0,overflow:"hidden","& .MuiTypography-root":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}),fyt=Ee(Rn)(({theme:e})=>({textDecoration:"none",fontWeight:e.typography.fontWeightBold,"&:hover":{textDecoration:"none"}})),pyt=Ee(Pe)(({theme:e})=>({display:"flex",gap:e.spacing(1),alignItems:"center",justifyContent:"space-between",flex:1,minWidth:0})),hyt=Ee(Pe)(({theme:e,showOnHover:t})=>({flex:"1 1 auto",minWidth:0,maxWidth:"50%",display:"flex",justifyContent:"flex-end",...t&&{opacity:0,height:0,overflow:"hidden",transform:"translateX(20px)",transition:[e.transitions.create("opacity",{duration:e.transitions.duration.complex}),e.transitions.create("height",{duration:e.transitions.duration.complex}),e.transitions.create("transform",{duration:e.transitions.duration.complex})].join(", "),".MuiCardActionArea-root:hover &":{opacity:1,height:"auto",transform:"translateX(0)"}},[e.breakpoints.down("sm")]:{display:"none"}})),myt=Ee(yJ)(({theme:e})=>({backgroundColor:e.palette.mode==="dark"?"rgba(0, 0, 0, 0.4)":"rgba(255, 255, 255, 0.4)",color:e.palette.text.primary,cursor:"pointer",borderRadius:e.spacing(1),maxWidth:"100%","& .MuiChip-label":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},"& path:last-child":{fill:e.palette.text.primary}})),gyt=Ee(Pe)(({theme:e,showOnHover:t})=>({...t&&{[e.breakpoints.up("sm")]:{opacity:0,height:0,overflow:"hidden",transform:"translateY(20px)",transition:[e.transitions.create("opacity",{duration:e.transitions.duration.complex}),e.transitions.create("height",{duration:e.transitions.duration.complex}),e.transitions.create("transform",{duration:e.transitions.duration.complex})].join(", "),".MuiCardActionArea-root:hover &":{opacity:1,height:"auto",transform:"translateY(0)"}}},[e.breakpoints.down("sm")]:{display:"none"}})),yyt=Ee(Pe)({width:"100%"}),vyt=F.memo(e=>{const{image:t,sceneName:r,avatar:n,coordinates:i,withShadow:o,cornerBadge:a,borderColor:s,leftBadge:l,rightBadge:c,showOnHover:d=[],onJumpInTrack:f,onClick:p}=e,v=(i==null?void 0:i.includes(".eth.dcl"))?`https://decentraland.org/jump?realm=${i}`:`https://decentraland.org/jump?position=${i}`,g=h=>d.includes(h),b=!g("jumpInButton");return u.jsxs(Qgt,{withShadow:o,borderColor:s,children:[a&&u.jsx(nyt,{children:a}),u.jsxs(eyt,{hasVisibleButton:b,onClick:p,children:[(l!==void 0||c!==void 0)&&u.jsxs(iyt,{children:[l!==void 0&&u.jsx(oyt,{showOnHover:g("leftBadge"),children:u.jsx(Pe,{component:"span",children:l})}),c!==void 0&&u.jsx(ayt,{showOnHover:g("rightBadge"),children:u.jsx(Pe,{component:"span",children:c})})]}),u.jsx(tyt,{children:u.jsx(ryt,{image:t,shrinkOnHover:g("jumpInButton")})}),u.jsx(syt,{children:u.jsxs(cyt,{children:[u.jsxs(yyt,{children:[u.jsx(lyt,{children:u.jsx(Jt,{variant:"h6",component:"div",gutterBottom:!0,children:r})}),u.jsxs(pyt,{children:[u.jsxs(uyt,{showOnHover:g("avatar"),children:[u.jsx(M3,{size:"small",avatar:n}),u.jsx(dyt,{children:u.jsxs(Jt,{variant:"body2",children:["by"," ",u.jsx(fyt,{href:`https://decentraland.org/profile/accounts/${n==null?void 0:n.ethAddress}`,children:n==null?void 0:n.name})]})})]}),i&&u.jsx(hyt,{showOnHover:g("location"),children:u.jsx(myt,{label:i,size:"small",icon:u.jsx(d_,{}),onClick:()=>{window.open(v,"_blank")}})})]})]}),u.jsx(gyt,{showOnHover:g("jumpInButton"),children:u.jsx(Wue,{position:i,variant:"button",onTrack:f,modalProps:{title:"Download Decentraland to Jump In",description:"Once you've installed and launched Decentraland, you can jump straight to the scene in-world!",buttonLabel:"Download"}})})]})})]})]})});vyt.displayName="SceneCard";var aD={},byt=Ir;Object.defineProperty(aD,"__esModule",{value:!0});var afe=aD.default=void 0,_yt=byt(Dr()),Eyt=u;afe=aD.default=(0,_yt.default)((0,Eyt.jsx)("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward");var sD={},xyt=Ir;Object.defineProperty(sD,"__esModule",{value:!0});var sfe=sD.default=void 0,wyt=xyt(Dr()),Cyt=u;sfe=sD.default=(0,wyt.default)((0,Cyt.jsx)("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward");const Syt=Ee(Pe)(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"flex-end",position:"relative",width:"100%",minWidth:e.spacing(16),"& .jump-in-button":{opacity:0,visibility:"hidden",position:"absolute",right:0,height:40},"tr:hover & .jump-in-button":{opacity:1,visibility:"visible"},[e.breakpoints.down("sm")]:{minWidth:"auto",justifyContent:"center","& .jump-in-button":{display:"none"}}})),Ayt=Ee(Pe)(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"center",width:"fit-content",padding:e.spacing(.5),borderRadius:e.spacing(1),backgroundColor:"rgba(0, 0, 0, 0.5)",fontWeight:e.typography.fontWeightBold,"tr:hover &":{opacity:0},[e.breakpoints.down("sm")]:{"tr:hover &":{opacity:1}}})),Tyt=Ee(Pe)(({theme:e,isPositive:t})=>{const r=t?e.palette.success.main:e.palette.error.main;return{display:"flex",alignItems:"center",color:r,fontSize:"12px",fontWeight:e.typography.fontWeightBold,"& .MuiSvgIcon-root":{fill:r}}}),lfe=F.memo(e=>{const{positionChange:t,location:r,onJumpInTrack:n}=e,i=t!==void 0&&t!==0,o=t!==void 0&&t>0,a=o?sfe:afe;return u.jsxs(Syt,{children:[i&&u.jsx(Ayt,{children:u.jsxs(Tyt,{isPositive:o,children:[u.jsx(a,{fontSize:"small"}),Math.abs(t)]})}),u.jsx(Wue,{variant:"button",buttonProps:{className:"jump-in-button"},onTrack:n,modalProps:{title:"Download Decentraland to Jump In",description:"Once you've installed and launched Decentraland, you can jump straight to the scene in-world!",buttonLabel:"Download"},desktopAppOptions:r.includes(".dcl")?{realm:r}:{position:r}})]})});lfe.displayName="ActionRow";const cfe=F.memo(e=>{const{avatar:t}=e;return u.jsx(ose,{avatar:t})});cfe.displayName="AvatarRow";const Myt=Ee(Pe)(({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(.5),"& path:last-child":{fill:e.palette.text.primary}})),Ryt=Ee(Rn)(({theme:e})=>({textDecoration:"none",color:e.palette.primary.main,fontWeight:e.typography.fontWeightBold,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap","&:hover":{textDecoration:"none"}})),ufe=F.memo(e=>{const{location:t}=e,n=(t==null?void 0:t.includes(".dcl.eth"))?`https://decentraland.org/jump?realm=${t}`:`https://decentraland.org/jump?position=${t}`;return u.jsxs(Myt,{children:[u.jsx(d_,{}),u.jsx(Ryt,{href:n,target:"_blank",rel:"noopener noreferrer",children:t})]})});ufe.displayName="LocationRow";const Iyt=Ee(Pe)(({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(1),minWidth:0,overflow:"hidden"})),Oyt=Ee("img")(({theme:e})=>({width:"auto",height:e.spacing(8.75),borderRadius:`${e.spacing(2)} 0 0 ${e.spacing(2)}`,objectFit:"cover",flexShrink:0,[e.breakpoints.down("xs")]:{height:e.spacing(7.5),width:"auto"}})),Pyt=Ee(Pe)(({theme:e})=>({display:"flex",flexDirection:"column",gap:e.spacing(.5),flex:1,minWidth:0,overflow:"hidden",[e.breakpoints.down("xs")]:{paddingRight:e.spacing(2)}})),Lyt=Ee(Jt)(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",[e.breakpoints.down("xs")]:{fontSize:"14px"}})),kyt=Ee(Pe)(({theme:e})=>({display:"none",[e.breakpoints.down("xs")]:{display:"flex",flexDirection:"row",alignItems:"center",gap:e.spacing(.5),fontSize:"12px",minWidth:0,overflow:"hidden"}})),Nyt=Ee(Pe)(({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(.5),minWidth:0,overflow:"hidden",flexShrink:1})),jyt=Ee(Rn)(({theme:e})=>({fontSize:"12px",textDecoration:"none",fontWeight:e.typography.fontWeightBold,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap","&:hover":{textDecoration:"none"}})),Dyt=Ee(Pe)(({theme:e})=>({display:"flex",alignItems:"center",gap:0,fontSize:"12px",color:e.palette.text.secondary,minWidth:0,overflow:"hidden",flexShrink:1,"& path:last-child":{fill:e.palette.text.primary}})),Byt=Ee(Jt)({fontSize:"12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),dfe=F.memo(e=>{const{name:t,thumbnail:r,creator:n,location:i}=e;return u.jsxs(Iyt,{children:[u.jsx(Oyt,{src:r,alt:t}),u.jsxs(Pyt,{children:[u.jsx(Lyt,{children:t}),u.jsxs(kyt,{children:[n&&u.jsxs(Nyt,{children:[u.jsx(M3,{size:"tiny",avatar:n}),u.jsxs(Jt,{component:"span",fontSize:"12px",children:["By"," "]}),u.jsx(jyt,{href:`https://decentraland.org/profile/accounts/${n.ethAddress}`,children:n.name})]}),i&&u.jsxs(Dyt,{children:[u.jsx(d_,{}),u.jsx(Byt,{children:i})]})]})]})]})});dfe.displayName="SceneRow";const Fyt=Ee(h6e)(({theme:e})=>({paddingLeft:e.spacing(3),paddingRight:e.spacing(3),[e.breakpoints.down("sm")]:{paddingLeft:e.spacing(1),paddingRight:e.spacing(1)}})),Uyt=Ee(Jbe)(({theme:e})=>({width:"100%",tableLayout:"fixed",borderCollapse:"separate",borderSpacing:`0 ${e.spacing(1)}`})),$yt=Ee(_6e)(({theme:e})=>({"& .MuiTableCell-root":{backgroundColor:"rgba(0, 0, 0, 0.7)",textAlign:"left",...e.typography.overline,fontSize:"12px",color:e.palette.text.primary},"& .MuiTableCell-root:only-of-type":{borderRadius:e.spacing(2)},"& .MuiTableCell-root:first-of-type:not(:only-of-type)":{borderRadius:e.spacing(2,0,0,2)},"& .MuiTableCell-root:last-of-type:not(:only-of-type)":{borderRadius:e.spacing(0,2,2,0)},[e.breakpoints.down("xs")]:{display:"none"}})),Hyt=Ee(MJ)(({theme:e})=>({height:"20px","& .MuiTableCell-root":{padding:e.spacing(.5,2),borderBottom:"none"}})),Vyt=Ee(n6e,{shouldForwardProp:e=>e!=="hoverEffect"})(({theme:e,hoverEffect:t=!0})=>({borderTop:`${e.spacing(1)} solid transparent`,"& .MuiTableCell-root":{backgroundColor:t?"rgba(0, 0, 0, 0.4)":"rgba(0, 0, 0, 0.7)",borderBottom:"none",textAlign:"left"},"& tr td:only-of-type, & tr th:only-of-type":{borderRadius:e.spacing(2)},"& tr td:first-of-type:not(:only-of-type), & tr th:first-of-type:not(:only-of-type)":{borderRadius:e.spacing(2,0,0,2)},"& tr td:last-of-type:not(:only-of-type), & tr th:last-of-type:not(:only-of-type)":{borderRadius:e.spacing(0,2,2,0)},"& tr":{borderRadius:e.spacing(2),transition:e.transitions.create("box-shadow",{duration:e.transitions.duration.shorter}),...t&&{"&:hover":{boxShadow:`0px 0px 20px 6px ${ul("#DD56FF",.37)}`}}},[e.breakpoints.down("xs")]:{"& tr:hover":{boxShadow:"none"}}})),oG=e=>typeof e=="object"&&("mobile"in e||"desktop"in e),aG=Ee(c6e)(({theme:e,$cellWidth:t,$cellPadding:r,$hasBorder:n})=>{const i=t&&oG(t)?t.desktop:t,o=t&&oG(t)?t.mobile:void 0;return{overflow:n?"visible":"hidden",...i&&{width:i},...r!==void 0&&{padding:r},[e.breakpoints.down("xs")]:{width:o??"auto"},...n&&{position:"relative"}}}),zyt=Ee(MJ,{shouldForwardProp:e=>e!=="mobileClickable"&&e!=="withBorder"})(({theme:e,mobileClickable:t,withBorder:r})=>({...t&&{[e.breakpoints.down("sm")]:{cursor:"pointer","&:active":{opacity:.7}}},...r&&{position:"relative"}})),qyt=Ee(Pe)(({theme:e,$borderColor:t,$width:r})=>({position:"absolute",top:0,left:0,width:r||"100%",height:"100%",borderRadius:e.spacing(2),pointerEvents:"none",zIndex:1,"&::before":{content:'""',position:"absolute",top:0,left:0,width:"100%",height:"100%",borderRadius:e.spacing(2),padding:"3px",boxSizing:"border-box",background:t,WebkitMask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",mask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite:"xor",maskComposite:"exclude",pointerEvents:"none"}})),Wyt=({borderColor:e})=>{const t=F.useRef(null),[r,n]=F.useState(0);return F.useEffect(()=>{const i=()=>{var s;const o=(s=t.current)==null?void 0:s.closest("td"),a=o==null?void 0:o.closest("tr");a&&n(a.offsetWidth)};return i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),u.jsx(qyt,{ref:t,$borderColor:e,$width:r})},ffe=e=>{const{columns:t,rows:r,hoverEffect:n=!0,headerVisible:i=!0,onMobileRowClick:o}=e,a=pp(),s=a?t.filter(c=>!c.hideOnMobile):t,l=F.useCallback((c,d)=>{a&&o&&o(c,d)},[a,o]);return u.jsx(Fyt,{children:u.jsxs(Uyt,{"aria-label":"table",children:[i&&u.jsx($yt,{children:u.jsx(Hyt,{children:s.map(c=>u.jsx(aG,{$cellWidth:c.width,$cellPadding:c.cellPadding,children:c.header},c.id))})}),u.jsx(Vyt,{hoverEffect:n,children:r.map((c,d)=>u.jsx(zyt,{mobileClickable:!!o,withBorder:!!c.borderColor,onClick:()=>l(c,d),children:s.map((f,p)=>u.jsxs(aG,{$cellWidth:f.width,$cellPadding:f.cellPadding,$hasBorder:p===0&&!!c.borderColor,children:[p===0&&c.borderColor&&u.jsx(Wyt,{borderColor:c.borderColor}),f.render(c,d)]},f.id))},c.key))})]})})};ffe.displayName="Table";const Gyt=F.memo(ffe),Kyt=F.memo(e=>{const{rows:t,headerVisible:r=!0,onMobileRowClick:n,onJumpInTrack:i}=e,o=F.useMemo(()=>[{id:"scene",header:"Scene Name",width:{desktop:"40%",mobile:"100%"},cellPadding:0,render:a=>u.jsx(dfe,{name:a.sceneName,thumbnail:a.thumbnail,creator:a.creator,location:a.location})},{id:"creator",header:"Creator",hideOnMobile:!0,render:a=>u.jsx(cfe,{avatar:a.creator})},{id:"location",header:"Location",hideOnMobile:!0,render:a=>u.jsx(ufe,{location:a.location})},{id:"action",header:"",hideOnMobile:!0,render:a=>u.jsx(lfe,{positionChange:a.positionChange,location:a.location,onJumpInTrack:s=>i==null?void 0:i(s,a)})}],[i]);return u.jsx(Gyt,{columns:o,rows:t,headerVisible:r,onMobileRowClick:n})});Kyt.displayName="ScenesTable";const Yyt=Ee(Pe)(({theme:e})=>({width:50,height:50,borderRadius:e.spacing(2),background:tJ.flare,padding:3,[e.breakpoints.down("sm")]:{width:38,height:38,borderRadius:e.spacing(1.5)}})),Zyt=Ee(Pe)(({theme:e})=>({width:"100%",height:"100%",borderRadius:e.spacing(1.5),backgroundColor:e.palette.background.default,display:"flex",alignItems:"center",justifyContent:"center",fontSize:e.typography.h6.fontSize,fontWeight:e.typography.fontWeightBold,color:e.palette.text.primary,[e.breakpoints.down("sm")]:{borderRadius:e.spacing(1),fontSize:e.typography.body2.fontSize}})),Jyt=Ee(Pe)(({theme:e})=>({background:tJ.cerise,borderRadius:12,padding:e.spacing(1,1.5),display:"flex",alignItems:"center",justifyContent:"center"})),Xyt=Ee(Jt)(({theme:e})=>({color:"#fff",fontWeight:e.typography.fontWeightBold,fontSize:20,textTransform:"uppercase",letterSpacing:e.typography.overline.letterSpacing,[e.breakpoints.down("sm")]:{fontSize:14}})),Qyt=F.memo(({value:e})=>u.jsx(Yyt,{children:u.jsx(Zyt,{children:e})}));Qyt.displayName="NumberBadge";const e3t=F.memo(({text:e})=>u.jsx(Jyt,{children:u.jsx(Xyt,{children:e})}));e3t.displayName="TextBadge";const t3t=Ee(Ze)(()=>({"& path":{fill:"#fff"}})),r3t=e=>u.jsx(t3t,{...e,children:u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"29",viewBox:"0 0 40 29",children:u.jsx("g",{fill:"none",fillRule:"evenodd",children:u.jsx("path",{d:"M14.48 0c-.53.002-4.917.129-9.544 3.62 0 0-4.936 9.018-4.936 20.123 0 0 2.88 5.013 10.454 5.257 0 0 1.268-1.532 2.297-2.855-4.353-1.323-5.999-4.073-5.999-4.073s.343.244.96.592c.034 0 .069.035.137.07.103.07.206.104.309.174.857.487 1.713.87 2.502 1.183 1.405.592 3.085 1.114 5.038 1.497 2.571.488 5.587.662 8.878.035 1.61-.313 3.256-.766 4.97-1.497a19.5 19.5 0 0 0 3.942-2.054s-1.714 2.82-6.204 4.108a270.224 270.224 0 0 0 2.262 2.785C37.12 28.722 40 23.708 40 23.743c0-11.105-4.936-20.122-4.936-20.122C30.163-.104 25.467 0 25.467 0l-.48.556c5.827 1.776 8.535 4.387 8.535 4.387a28.178 28.178 0 0 0-10.317-3.307 28.558 28.558 0 0 0-6.924.07c-.206 0-.377.034-.583.069-1.2.14-4.113.557-7.78 2.193-1.268.557-2.023.975-2.023.975s2.811-2.75 8.98-4.526L14.534 0h-.054zm-.872 12.847c1.953 0 3.53 1.705 3.496 3.829 0 2.124-1.543 3.83-3.496 3.83-1.92 0-3.497-1.706-3.497-3.83s1.543-3.83 3.497-3.83zm12.51 0c1.92 0 3.496 1.705 3.496 3.829s-1.542 3.83-3.496 3.83c-1.92 0-3.496-1.706-3.496-3.83s1.542-3.83 3.496-3.83z"})})})}),n3t=Ee(Ze)(()=>({"& path":{fill:"#fff"}})),i3t=e=>u.jsx(n3t,{...e,children:u.jsx("svg",{width:"33",height:"33",viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:u.jsx("path",{d:"M16.82 2.44385C8.9107 2.44385 2.5 8.85455 2.5 16.7638C2.5 24.6732 8.9107 31.0838 16.82 31.0838C24.7293 31.0838 31.14 24.6732 31.14 16.7638C31.14 8.85455 24.7293 2.44385 16.82 2.44385ZM24.3696 14.799C22.8977 14.8656 21.5956 14.3794 20.3201 13.5635C20.3001 13.7666 20.2768 13.9165 20.2768 14.0664C20.2735 15.8813 20.2834 17.693 20.2735 19.508C20.2568 22.5684 18.0655 24.803 14.8885 25.0095C12.3475 25.176 9.8032 22.9647 9.40357 20.2439C8.92735 16.9936 11.6715 13.9565 14.9484 14.1163C15.1249 14.1263 15.3014 14.1596 15.5079 14.1862C15.5079 15.1487 15.5079 16.0812 15.5079 17.0769C15.3514 17.0769 15.1982 17.0835 15.045 17.0769C13.563 16.997 12.3808 18.0227 12.3275 19.438C12.2776 20.7868 13.3366 21.9524 14.6587 22.0023C16.154 22.0589 17.3062 21.0099 17.3129 19.518C17.3329 15.8913 17.3195 12.2647 17.3195 8.63475C17.3195 8.37499 17.3195 8.11523 17.3195 7.82217C18.3552 7.82217 19.2877 7.82217 20.2235 7.82217C20.5066 10.3032 21.9386 11.612 24.363 11.9517C24.3696 12.8875 24.3696 13.8099 24.3696 14.799Z",fill:"#FCFCFC"})})}),o3t=Ee("footer")(()=>{const e=_i();return{display:"flex",justifyContent:"space-between",backgroundColor:e.palette.background.default,zIndex:5,height:"475px",position:"relative",paddingTop:"96px",paddingLeft:"160px",paddingRight:"160px",[e.breakpoints.down("xl")]:{paddingLeft:"80px",paddingRight:"80px"},[e.breakpoints.down("md")]:{paddingLeft:"54px",paddingRight:"54px"},[e.breakpoints.down("sm")]:{flexDirection:"column",alignItems:"stretch",paddingLeft:"0px",paddingRight:"0px",paddingTop:"32px",paddingBottom:"32px",height:"auto",width:"calc(100vw - 64px)",marginLeft:"auto",marginRight:"auto"}}}),a3t=Ee(Pe)(()=>({display:"flex",width:"710px",justifyContent:"space-around",[_i().breakpoints.down("sm")]:{width:"100%",paddingLeft:"24px",paddingRight:"24px",paddingTop:0,justifyContent:"space-between",gap:"32px",marginBottom:"120px"}})),sG=Ee(Pe)({display:"flex",flexDirection:"column"}),lG=Ee(Jt)(()=>({color:_i().palette.text.secondary,textTransform:"uppercase",marginBottom:"16px",marginLeft:"5px",fontWeight:500})),Gc=Ee(Cn)(()=>{const e=_i();return{cursor:"pointer",justifyContent:"flex-start",marginBottom:"4px","&.MuiButton-sizeMedium.MuiButton-textSecondary:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:e.palette.text.primary,textTransform:"capitalize","& .MuiButton-startIcon svg.MuiSvgIcon-root":{color:e.palette.text.secondary}},"&.MuiButton-sizeMedium.MuiButton-textSecondary:not(.Mui-disabled):not(.Mui-focusVisible):hover":{textTransform:"capitalize"},"&:hover":{backgroundColor:"transparent"},[e.breakpoints.down("sm")]:{"&.MuiButton-sizeMedium.MuiButton-textSecondary:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{fontSize:"16px",fontWeight:400,lineHeight:"24px",padding:"4px 8px",minHeight:"auto","& .MuiButton-startIcon svg.MuiSvgIcon-root":{fontSize:"16px"}}}}}),s3t=Ee(Pe)(()=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",width:"470px",[_i().breakpoints.down("sm")]:{width:"100%",paddingLeft:"24px",paddingRight:"24px",paddingBottom:"24px",alignItems:"center",textAlign:"center"}})),l3t=Ee(Jt)(()=>{const e=_i();return{color:e.palette.text.disabled,[e.breakpoints.down("sm")]:{fontSize:"1.8rem",paddingLeft:"8px",paddingRight:"8px"}}}),c3t=Ee(Jt)(()=>({color:"#fff",marginBottom:"16px",fontFamily:"DecentralandHero",[_i().breakpoints.down("sm")]:{fontSize:"3rem",marginBottom:"16px"}})),u3t=Ee("iframe")(()=>({width:"100%",border:"none",height:"125px",[_i().breakpoints.down("sm")]:{height:"55px"}})),d3t=Ee(Pe)(()=>({display:"flex",flexDirection:"column",alignItems:"flex-start",marginBottom:"16px",width:"100%",[_i().breakpoints.down("xs")]:{display:"none"}})),f3t=Ee(Pe)({display:"flex",width:"80%",justifyContent:"space-between"}),Yf=Ee(Rn)({cursor:"pointer",fontSize:"32px",color:"#fff","&:hover":{color:"#fff"}}),p3t=F.memo(()=>{const e=hp(),t=$7(),r=F.useCallback(o=>{o.preventDefault();const a=o.currentTarget.href;t.track(lu.CLICK_FOOTER_SOCIAL,{href:a}),setTimeout(()=>{window.location.href=a},500)},[t]),n=F.useCallback(o=>{o.preventDefault();const a=o.currentTarget.href;t.track(lu.CLICK_FOOTER_SOCIAL,{href:a})},[t]),i=pp();return u.jsxs(o3t,{children:[u.jsxs(s3t,{children:[u.jsx(l3t,{variant:i?"h3":"h4",children:e("footer.subscribe.stay_updated_with")}),u.jsx(c3t,{variant:i?"h1":"h2",children:e("footer.subscribe.decentraland")}),u.jsx(u3t,{src:jr.get("BEEHIIV_SUBSCRIBE_URL"),"data-test-id":"beehiiv-embed"}),u.jsx(d3t,{children:u.jsxs(f3t,{children:[u.jsx(Yf,{href:jr.get("DISCORD_URL"),onClick:n,target:"_blank",rel:"noopener noreferrer","data-place":"Landing Footer",children:u.jsx(r3t,{fontSize:"inherit"})}),u.jsx(Yf,{href:jr.get("GITHUB_URL"),onClick:n,target:"_blank",rel:"noopener noreferrer","data-place":"Landing Footer",children:u.jsx(eN,{fontSize:"inherit"})}),u.jsx(Yf,{href:jr.get("X_URL"),onClick:n,target:"_blank",rel:"noopener noreferrer","data-place":"Landing Footer",children:u.jsx(_N,{fontSize:"inherit"})}),u.jsx(Yf,{href:jr.get("INSTAGRAM_URL"),onClick:n,target:"_blank",rel:"noopener noreferrer","data-place":"Landing Footer",children:u.jsx(lN,{fontSize:"inherit"})}),u.jsx(Yf,{href:jr.get("YOUTUBE_URL"),onClick:n,target:"_blank",rel:"noopener noreferrer","data-place":"Landing Footer",children:u.jsx(xN,{fontSize:"inherit"})}),u.jsx(Yf,{href:jr.get("TIKTOK_URL"),onClick:n,target:"_blank",rel:"noopener noreferrer","data-place":"Landing Footer",children:u.jsx(i3t,{fontSize:"inherit"})}),u.jsx(Yf,{href:jr.get("LINKEDIN_URL"),onClick:n,target:"_blank",rel:"noopener noreferrer","data-place":"Landing Footer",children:u.jsx(uN,{fontSize:"inherit"})})]})})]}),u.jsxs(a3t,{children:[u.jsxs(sG,{children:[u.jsx(lG,{variant:"body1",children:e("footer.social.resources")}),u.jsx(Gc,{variant:"text",color:"secondary",startIcon:u.jsx(fN,{sx:{transform:"scaleX(-1)"}}),href:jr.get("MARKETPLACE_URL"),onClick:r,"data-place":"Landing Footer",children:e("footer.social.marketplace")}),u.jsx(Gc,{variant:"text",color:"secondary",startIcon:u.jsx(rN,{}),href:jr.get("CREATE_URL"),onClick:r,"data-place":"Landing Footer",children:e("footer.social.creator_hub")}),u.jsx(Gc,{variant:"text",color:"secondary",startIcon:u.jsx(aN,{}),href:jr.get("DOCS_URL"),onClick:r,"data-place":"Landing Footer",children:e("footer.social.docs")}),u.jsx(Gc,{variant:"text",color:"secondary",startIcon:u.jsx(Xk,{}),href:jr.get("EVENTS_URL"),onClick:r,"data-place":"Landing Footer",children:e("footer.social.events")}),u.jsx(Gc,{variant:"text",color:"secondary",startIcon:u.jsx(Zk,{}),href:jr.get("BLOG_URL"),onClick:r,"data-place":"Landing Footer",children:e("footer.social.blog")})]}),u.jsxs(sG,{children:[u.jsx(lG,{variant:"body1",children:e("footer.social.connect")}),u.jsx(Gc,{variant:"text",color:"secondary",startIcon:u.jsx(vN,{}),href:jr.get("SUPPORT_URL"),onClick:r,"data-place":"Landing Footer",children:e("footer.social.support")}),u.jsx(Gc,{variant:"text",color:"secondary",startIcon:u.jsx(hN,{}),href:jr.get("EMAIL_HELLO_URL"),onClick:r,"data-place":"Landing Footer",children:e("footer.social.email")}),u.jsx(Gc,{variant:"text",color:"secondary",startIcon:u.jsx(gN,{}),href:jr.get("DAO_URL"),onClick:r,"data-place":"Landing Footer",children:e("footer.social.dao")}),u.jsx(Gc,{variant:"text",color:"secondary",startIcon:u.jsx(iN,{}),href:jr.get("FAQ_URL"),onClick:r,"data-place":"Landing Footer",children:e("footer.social.faq")})]})]})]})}),h3t={Windows:{amd64:"https://explorer-artifacts.decentraland.org/launcher-rust/Decentraland_installer.exe"},macOS:{amd64:"https://explorer-artifacts.decentraland.org/launcher/dcl/Decentraland%20Outdated-mac-x64.dmg",arm64:"https://explorer-artifacts.decentraland.org/launcher-rust/Decentraland_installer.dmg"}},m3t=e=>{const{avatar:t,wallet:r,isSignedIn:n,signIn:i,signOut:o}=w3();return u.jsx(xht,{...e,activePage:"",address:r,avatar:t,isSignedIn:n,onClickSignIn:i,onClickSignOut:o,cdnLinks:h3t})},g3t=F.memo(()=>u.jsxs(u.Fragment,{children:[u.jsx(m3t,{}),u.jsx("main",{style:{marginTop:"66px"},children:u.jsx(Z0e,{})}),u.jsx(p3t,{})]}));var lD={},y3t=Ir;Object.defineProperty(lD,"__esModule",{value:!0});var pfe=lD.default=void 0,v3t=y3t(Dr()),b3t=u;pfe=lD.default=(0,v3t.default)((0,b3t.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check");var cD={},_3t=Ir;Object.defineProperty(cD,"__esModule",{value:!0});var qM=cD.default=void 0,E3t=_3t(Dr()),x3t=u;qM=cD.default=(0,E3t.default)((0,x3t.jsx)("path",{d:"M19 4h-1V3c0-.55-.45-1-1-1s-1 .45-1 1v1H8V3c0-.55-.45-1-1-1s-1 .45-1 1v1H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 15c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V9h14zM7 11h2v2H7zm4 0h2v2h-2zm4 0h2v2h-2z"}),"DateRangeRounded");var uD={},w3t=Ir;Object.defineProperty(uD,"__esModule",{value:!0});var x6=uD.default=void 0,C3t=w3t(Dr()),S3t=u;x6=uD.default=(0,C3t.default)((0,S3t.jsx)("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92"}),"Share");var dD={},A3t=Ir;Object.defineProperty(dD,"__esModule",{value:!0});var WM=dD.default=void 0,T3t=A3t(Dr()),M3t=u;WM=dD.default=(0,T3t.default)((0,M3t.jsx)("path",{d:"m19.65 9.04-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0L9.19 8.63l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.67-3.18c.67-.58.32-1.68-.56-1.75M12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarBorderRounded");var fD={},R3t=Ir;Object.defineProperty(fD,"__esModule",{value:!0});var By=fD.default=void 0,I3t=R3t(Dr()),O3t=u;By=fD.default=(0,I3t.default)((0,O3t.jsx)("path",{d:"m12 17.27 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.72 3.67-3.18c.67-.58.31-1.68-.57-1.75l-4.83-.41-1.89-4.46c-.34-.81-1.5-.81-1.84 0L9.19 8.63l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08z"}),"StarRounded");const P3t="x-identity-auth-chain-",L3t="x-identity-timestamp",k3t="x-identity-metadata";function N3t(e,t,r,n={}){const i=new URL(e).pathname,o={...r,headers:{...j3t((r==null?void 0:r.method)??"get",i,{origin:location.origin,...n},a=>Ty.Authenticator.signPayload(t,a)),...r==null?void 0:r.headers}};return fetch(e,o)}function j3t(e,t,r,n){const i={},o=D3t(e,t,JSON.stringify(r),n);return o.authChain.forEach((a,s)=>{i[`${P3t}${s}`]=JSON.stringify(a)}),i[L3t]=o.timestamp.toString(),i[k3t]=o.metadata,i}function D3t(e,t,r,n){const i=Date.now(),a=[e.toLowerCase(),t.toLowerCase(),i.toString(),r].join(":").toLowerCase();return{authChain:n(a),metadata:r,timestamp:i}}function B3t(e,t){return function(n,i,o={}){try{if(t&&e){const a=ff.localStorageGetIdentity(e);if(a&&a.expiration){const s=new Date(a.expiration);if(new Date().getTime()<=s.getTime())return N3t(n,a,i||{},o)}}return fetch(n,i)}catch(a){return console.warn("Error in authenticatedFetch, falling back to regular fetch:",a),fetch(n,i)}}}const F3t=()=>{const{wallet:e,isSignedIn:t}=w3();return F.useCallback((n,i,o={})=>B3t(e,t)(n,i,o),[e,t])},U3t="0,0",hfe="main",$3t=e=>{const t=e,r=e.replace(".",","),[n,i]=r.split(",").map(o=>{const a=Number(o);return isNaN(a)?0:a});return{original:t,coordinates:[n,i]}},mfe=()=>{const[e]=nhe();return F.useMemo(()=>{const t=e.get("position")??U3t,r=e.get("realm")??hfe,n=e.get("id");return{position:$3t(t),realm:r,id:n}},[e])};function H3t(e){const{isSignedIn:t}=w3();return(...r)=>{if(!t){window.location.href=`${jr.get("AUTH_URL")}/login?redirectTo=${encodeURIComponent(window.location.href)}`;return}return e(...r)}}const V3t=e=>{const t=e.base_position.split(",").map(Number);return{id:e.id,type:"place",title:e.title,user_name:e.owner||e.contact_name||"Unknown",coordinates:t,image:e.image,description:e.description,user_count:e.user_count||0,favorites:e.favorites,scene_name:e.title,url:e.url,position:t.join(","),realm:e.world?e.world_name:void 0}},z3t=e=>{const r=new Date(e.next_start_at).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",timeZoneName:"short"}),i=new Date(e.next_finish_at).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",timeZoneName:"short"});return{id:e.id,type:"event",title:e.name,user_name:e.user_name,user:e.user,coordinates:e.coordinates,image:e.image,description:e.description,start_at:r,finish_at:i,recurrent:e.recurrent,total_attendees:e.total_attendees,attending:e.attending,live:e.live,scene_name:e.scene_name,url:e.url,position:e.coordinates.join(","),realm:e.world&&e.server?e.server:void 0}},q3t=e=>{const t=-new Date().getTimezoneOffset()/60,n=`UTC${t>=0?"+":""}${t}`,i={month:"short",day:"numeric",hour:"numeric",minute:"2-digit",hour12:!0,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},o=e.toLocaleDateString("en-US",i),[a,s]=o.split(", ");return`${a} - ${s} (${n})`},W3t=e=>{const r=Math.floor((new Date().getTime()-e.getTime())/1e3),n=60,i=n*60,o=i*24,a=o*7,s=o*30,l=o*365;return r<n?{key:"event.time_ago.just_now",value:0}:r<i?{key:"event.time_ago.minutes_ago",value:Math.floor(r/n)}:r<o?{key:"event.time_ago.hours_ago",value:Math.floor(r/i)}:r<a?{key:"event.time_ago.days_ago",value:Math.floor(r/o)}:r<s?{key:"event.time_ago.weeks_ago",value:Math.floor(r/a)}:r<l?{key:"event.time_ago.months_ago",value:Math.floor(r/s)}:{key:"event.time_ago.years_ago",value:Math.floor(r/l)}},gfe=e=>{const t=new Date(e);if(t>new Date)return q3t(t);const{key:n,value:i}=W3t(t);return`${KT("event.time_ago.started")} ${KT(n,{value:i})}`},Fy=e=>{if(!(e!=null&&e.start_at)||!(e!=null&&e.finish_at))return!1;const t=new Date(e.start_at),r=new Date(e.finish_at);return new Date>r&&r>t};class G3t{constructor(t){this.baseUrl=jr.get("EVENTS_API_URL"),this.authenticatedFetch=t}async fetchEvents(t,r=fetch){try{let n=`${this.baseUrl}/events`;const i=new URLSearchParams;t!=null&&t.position&&i.set("position",`${t.position[0]},${t.position[1]}`),t!=null&&t.realm&&i.set("world_names[]",t.realm),i.toString()&&(n+=`?${i.toString()}`);const o=await r(n);if(!o.ok)throw new Error(`HTTP error! status: ${o.status}`);return await o.json()}catch(n){throw console.error("Error fetching events:",n),n}}async fetchEventsByPosition(t,r=fetch){return this.fetchEvents({position:t},r)}async fetchEventsByRealm(t,r=fetch){return this.fetchEvents({realm:t},r)}async fetchEvent(t,r=fetch){try{const n=await r(`${this.baseUrl}/events/${t}`);if(!n.ok){if(n.status===404)return null;throw new Error(`HTTP error! status: ${n.status}`)}const i=await n.json();return i.ok?i.data:null}catch(n){throw console.error("Error fetching event:",n),n}}async attendee(t){if(!this.authenticatedFetch)throw new Error("Authentication required: attendee operation requires authenticated fetch");try{const r=await this.authenticatedFetch(`${this.baseUrl}/events/${t}/attendees`,{method:"POST",headers:{"Content-Type":"application/json"}});if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);return await r.json()}catch(r){throw console.error("Error attending event:",r),r}}async unattendee(t){if(!this.authenticatedFetch)throw new Error("Authentication required: unattendee operation requires authenticated fetch");try{const r=await this.authenticatedFetch(`${this.baseUrl}/events/${t}/attendees`,{method:"DELETE",headers:{"Content-Type":"application/json"}});if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);return await r.json()}catch(r){throw console.error("Error unattending event:",r),r}}}class yfe{constructor(){this.peerUrl=jr.get("PEER_URL")}async fetchSceneEntity(t){try{const r=await fetch(`${this.peerUrl}/content/entities/active`,{method:"POST",headers:{Accept:"*/*","Content-Type":"application/json"},body:JSON.stringify({pointers:[t]})});if(!r.ok)return{ok:!1,error:`HTTP ${r.status}: ${r.statusText}`};const n=await r.json();return!n||n.length===0?{ok:!1,error:"No scene found at this position"}:{ok:!0,data:n[0]}}catch(r){return{ok:!1,error:r instanceof Error?r.message:"Unknown error occurred"}}}async fetchSceneDeployment(t){try{const r=await fetch(`${this.peerUrl}/content/deployments/?entityId=${t}`,{method:"GET",headers:{Accept:"*/*"}});if(!r.ok)return{ok:!1,error:`HTTP ${r.status}: ${r.statusText}`};const n=await r.json();return!n.deployments||n.deployments.length===0?{ok:!1,error:"No deployment found for this entity"}:{ok:!0,data:n.deployments[0]}}catch(r){return{ok:!1,error:r instanceof Error?r.message:"Unknown error occurred"}}}async fetchUserProfile(t){try{const r=await fetch(`${this.peerUrl}/lambdas/profiles`,{method:"POST",headers:{Accept:"*/*","Content-Type":"application/json"},body:JSON.stringify({ids:[t]})});if(!r.ok)return{ok:!1,error:`HTTP ${r.status}: ${r.statusText}`};const n=await r.json();return!n||n.length===0?{ok:!1,error:"No profile found for this address"}:{ok:!0,data:n[0]}}catch(r){return{ok:!1,error:r instanceof Error?r.message:"Unknown error occurred"}}}async fetchSceneDeployerInfo(t){var r,n,i,o,a,s,l,c,d,f,p,m,v,g;try{const b=await this.fetchSceneEntity(t);if(!b.ok||!b.data)return{ok:!1,error:b.error||"Failed to fetch entity"};const h=await this.fetchSceneDeployment(b.data.id);if(!h.ok||!h.data)return{ok:!1,error:h.error||"Failed to fetch deployment"};const y=await this.fetchUserProfile(h.data.deployedBy);if(!y.ok||!y.data)return{ok:!1,error:y.error||"Failed to fetch profile"};const w=y.data.avatars[0],T=h.data,R=b.data;return{ok:!0,data:{deployerAddress:T.deployedBy,deployerName:(w==null?void 0:w.name)||(w==null?void 0:w.realName)||"Unknown",deployerAvatar:(n=(r=w==null?void 0:w.avatar)==null?void 0:r.snapshots)==null?void 0:n.face256,sceneTitle:((o=(i=R.metadata)==null?void 0:i.display)==null?void 0:o.title)||((s=(a=T.metadata)==null?void 0:a.display)==null?void 0:s.title),sceneDescription:((c=(l=R.metadata)==null?void 0:l.display)==null?void 0:c.description)||((f=(d=T.metadata)==null?void 0:d.display)==null?void 0:f.description),contactName:((m=(p=R.metadata)==null?void 0:p.contact)==null?void 0:m.name)||((g=(v=T.metadata)==null?void 0:v.contact)==null?void 0:g.name)}}}catch(b){return{ok:!1,error:b instanceof Error?b.message:"Unknown error occurred"}}}async fetchCreator(t){var o,a;const r=await this.fetchUserProfile(t);if(!r.ok||!r.data)return{ok:!1,error:r.error||"Failed to fetch profile"};const n=r.data.avatars[0];return{ok:!0,data:{user_name:(n==null?void 0:n.name)||(n==null?void 0:n.realName)||"Unknown",user:t,avatar:(a=(o=n==null?void 0:n.avatar)==null?void 0:o.snapshots)==null?void 0:a.face256}}}}function cG(e){var t;return!!((t=e==null?void 0:e.match(/^[a-zA-Z0-9.]+\.eth$/))!=null&&t.length)}class K3t{constructor(t){this.baseUrl=jr.get("PLACES_API_URL"),this.authenticatedFetch=t}async fetchPlaces(t,r){const n=r||this.authenticatedFetch||fetch;try{let i=this.baseUrl;t!=null&&t.realm&&cG(t.realm)?i=`${this.baseUrl}/worlds?names=${t.realm.toLowerCase()}`:t!=null&&t.position?i=`${this.baseUrl}/places/?positions=${t.position[0]},${t.position[1]}`:i=`${this.baseUrl}/places`;const o=await n(i);if(!o.ok)throw new Error(`HTTP error! status: ${o.status}`);return await o.json()}catch(i){throw console.error("Error fetching places:",i),i}}async fetchPlacesByRealm(t,r){if(!cG(t))throw new Error("Invalid realm name. Must be an ENS name (ending with .eth)");return this.fetchPlaces({realm:t},r)}async fetchPlace(t,r){const n=r||this.authenticatedFetch||fetch;try{const i=await n(`${this.baseUrl}/places/${t}`);if(!i.ok){if(i.status===404)return null;throw new Error(`HTTP error! status: ${i.status}`)}const o=await i.json();return o.ok?o.data:null}catch(i){throw console.error("Error fetching place:",i),i}}}const R9=async(e,t=fetch)=>new K3t().fetchPlaces(e,t);jr.get("PLACES_URL","");function vfe(e){var t;return!!((t=e==null?void 0:e.match(/^[a-zA-Z0-9.]+\.eth$/))!=null&&t.length)}async function Y3t(e){try{const t=e.replace(/\/$/,""),n=/\/about$/i.test(t)?t:`${t}/about`,i=await fetch(n);if(!i.ok)return!1;const o=await i.json();return o.healthy&&o.acceptingUsers}catch{return!1}}const Z3t=async(e,t)=>{let r=!1,n=!1;const i=()=>{r=!0},o=()=>{n=!0};window.addEventListener("blur",i),e.addEventListener("mouseup",o);const a=document.createElement("iframe");return a.setAttribute("style","display: none"),a.src=t,document.body.appendChild(a),new Promise(s=>{setTimeout(()=>{window.removeEventListener("blur",i),e.removeEventListener("mouseup",o),document.body.removeChild(a),!n&&e.matches(":hover")&&i(),s(r)},500)})},J3t="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%3e%3cpath%20d='M23.9535%2046.5C27.6473%2046.5%2031.1733%2045.6667%2034.2795%2044.0834H13.6274C16.7336%2045.6667%2020.1756%2046.5%2023.9535%2046.5Z'%20fill='%23FCFCFC'/%3e%3cpath%20d='M23.9535%201.5C11.5287%201.5%201.37054%2011.5%201.37054%2023.9167C1.37054%2026.6667%201.87425%2029.3333%202.79772%2031.75L11.5287%2021.3333L16.5657%2015.25L28.8226%2029.9167L32.3486%2025.6667L41.5833%2036.6667H42.3388C44.9413%2033%2046.3685%2028.5833%2046.3685%2023.8333C46.5364%2011.5%2036.3783%201.5%2023.9535%201.5ZM16.4818%2013.25C14.7188%2013.25%2013.3756%2011.8333%2013.3756%2010.1667C13.3756%208.5%2014.8028%207.08333%2016.4818%207.08333C18.2448%207.08333%2019.588%208.5%2019.588%2010.1667C19.588%2011.8333%2018.2448%2013.25%2016.4818%2013.25ZM32.8523%2023.3333C29.4103%2023.3333%2026.6399%2020.5833%2026.6399%2017.1667C26.6399%2013.75%2029.4103%2011%2032.8523%2011C36.2943%2011%2039.0647%2013.75%2039.0647%2017.1667C39.1487%2020.5833%2036.2943%2023.3333%2032.8523%2023.3333Z'%20fill='%23FCFCFC'/%3e%3cpath%20d='M9.76567%2041.6666H37.8894C38.8129%2040.9166%2039.8203%2039.9999%2040.4079%2039.3333H7.24713C8.08665%2040.1666%208.92616%2040.9999%209.76567%2041.6666Z'%20fill='%23FCFCFC'/%3e%3cpath%20d='M25.3806%2034.0834H3.55328C4.05699%2035.0834%204.64465%2036%205.23231%2036.9167H22.9461L25.3806%2034.0834Z'%20fill='%23FCFCFC'/%3e%3cpath%20d='M17.1534%2019.4166V31.8333H27.4795L17.1534%2019.4166Z'%20fill='%23FCFCFC'/%3e%3cpath%20d='M33.1042%2037.0833H38.9808L33.1042%2030V37.0833Z'%20fill='%23FCFCFC'/%3e%3c/svg%3e",X3t=de(H7)({".MuiPaper-root":{background:"linear-gradient(332deg, rgba(131, 14, 91, 0.95) 3%, rgba(46, 1, 62, 0.95) 35%)",position:"relative",borderRadius:16,maxWidth:"90%",margin:16,minHeight:"auto"}}),Q3t=de(Pe)({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:24,padding:32,textAlign:"center"}),evt=de("h2")({fontSize:24,fontWeight:600,textAlign:"center",margin:0,lineHeight:1.2,color:"white"}),tvt=de("p")({fontSize:16,lineHeight:1.5,textAlign:"center",margin:0,color:"white",opacity:.8}),rvt=de(ku)({position:"absolute",top:14,right:14,"&:hover":{backgroundColor:"#31282814"},svg:{color:"white"}}),nvt=({open:e,onClose:t})=>u.jsx(X3t,{open:e,size:"tiny",children:u.jsxs(Q3t,{children:[u.jsx(rvt,{onClick:t,children:u.jsx(Sqe,{})}),u.jsx("img",{src:J3t,alt:"Decentraland Logo",width:"64",height:"64"}),u.jsx(evt,{children:"Switch to a Computer to Use Decentraland"}),u.jsx(tvt,{children:"Enter your email to get a download reminder message for when you're back at your computer. This also signs you up for Decentraland's newsletter for the latest news and events"}),u.jsx("iframe",{src:"https://embeds.beehiiv.com/d7d652da-adc8-422f-9176-4b653a244020?slim=true","data-test-id":"beehiiv-embed",height:"52",frameBorder:"0",scrolling:"no",width:"100%",style:{margin:0,borderRadius:"0px !important",backgroundColor:"transparent"}})]})}),ivt=de(ku)({backgroundColor:"#FF2D55",border:"1px solid #FCFCFC4D",width:"36px",height:"36px",borderRadius:"8px",padding:0,"&:hover":{backgroundColor:"#E02347",borderColor:"#FCFCFC"},"&:focus":{backgroundColor:"#E02347",borderColor:"#FCFCFC"}}),uG=de("svg")(({iconSize:e="large"})=>{const r={tiny:{width:20,height:20},small:{width:22,height:22},medium:{width:22,height:22},large:{width:24,height:24},full:{width:"100%",height:"100%"}}[e];return{width:r.width,height:r.height,fill:"none"}}),ovt="0,0",avt="main",bfe=({position:e,realm:t,sceneData:r,onlyIcon:n=!1,size:i="large",children:o,...a})=>{var T,R,S;const[,s]=Ij(),{track:l}=$7(),[c,d]=F.useState(!1),f=hp(),p=jr.get("ONBOARDING_URL"),m=jr.get("DOWNLOAD_URL"),{isSignedIn:v}=w3(),g=((T=s==null?void 0:s.os)==null?void 0:T.name)??"unknown",b=((S=(R=s==null?void 0:s.cpu)==null?void 0:R.architecture)==null?void 0:S.toLowerCase())??"unknown",h=!!(s!=null&&s.mobile),y=F.useCallback(async I=>{if(h){d(!0),l(lu.CLICK_JUMP_IN_MOBILE,{osName:g,arch:b});return}const{target:U}=I,D=new URL("decentraland://");t&&t!==avt&&D.searchParams.set("realm",t),e!==ovt&&D.searchParams.set("position",e),l(lu.CLICK_JUMP_IN,{deepLink:D.toString(),osName:g,arch:b}),await Z3t(U,D.toString())||(l(lu.CLIENT_NOT_INSTALLED,{osName:g,arch:b}),v?window.open(m,"_self"):window.open(p,"_self"))},[t,e,g,b,h,l,v,m,p]),w=F.useCallback(()=>{l(lu.CLICK_MOBILE_DISCLAIMER_MODAL_CLOSE,{osName:g,arch:b}),d(!1)},[g,b,l]);return u.jsxs(u.Fragment,{children:[n?u.jsx(ivt,{onClick:y,"aria-label":"Jump in to Decentraland",...a,children:u.jsx(uG,{iconSize:"full",viewBox:"0 0 25 24",xmlns:"http://www.w3.org/2000/svg",children:u.jsx("path",{d:"M19.2111 11.065L14.534 6.39027C13.7002 5.55695 12.2971 6.14637 12.2971 7.32523V8.86994C12.2564 8.86994 12.2361 8.86994 12.1954 8.86994H7.75895C7.00654 8.86994 6.39648 9.45936 6.39648 10.2114V13.7683C6.39648 14.5203 7.00654 15.1301 7.75895 15.1301H12.1751C12.2158 15.1301 12.2361 15.1301 12.2768 15.1301V16.6748C12.2768 17.8536 13.7002 18.4431 14.5137 17.6097L19.1908 12.935C19.7195 12.4065 19.7195 11.5732 19.2111 11.065Z",fill:"white"})})}):u.jsx(Cn,{variant:"contained",size:i,onMouseDown:y,...a,children:u.jsxs(u.Fragment,{children:[u.jsx(Jt,{variant:"body1",sx:I=>({fontSize:i==="medium"?13:15,fontWeight:600,marginRight:1,[I.breakpoints.down("xs")]:{fontSize:i==="medium"?14:16}}),children:o??f("components.jump_in_button.jump_in")}),u.jsxs(uG,{iconSize:i,viewBox:"0 0 25 24",xmlns:"http://www.w3.org/2000/svg",children:[u.jsx("rect",{x:"1.25",y:"0.75",width:"22.5",height:"22.5",rx:"7.25",stroke:"#FCFCFC",strokeOpacity:"0.3",strokeWidth:"1.5"}),u.jsx("path",{d:"M19.2111 11.065L14.534 6.39027C13.7002 5.55695 12.2971 6.14637 12.2971 7.32523V8.86994C12.2564 8.86994 12.2361 8.86994 12.1954 8.86994H7.75895C7.00654 8.86994 6.39648 9.45936 6.39648 10.2114V13.7683C6.39648 14.5203 7.00654 15.1301 7.75895 15.1301H12.1751C12.2158 15.1301 12.2361 15.1301 12.2768 15.1301V16.6748C12.2768 17.8536 13.7002 18.4431 14.5137 17.6097L19.1908 12.935C19.7195 12.4065 19.7195 11.5732 19.2111 11.065Z",fill:"white"})]})]})}),u.jsx(nvt,{open:c,onClose:w})]})},svt="https://cdn.decentraland.org/@dcl/jump-site/1.1.1-23306513054.commit-ab06ce4/assets/background--i0ipWGU.webp",pD=de(Pe)(e=>{const t=e.theme;return{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:"calc(100vh - 64px)",padding:32,backgroundImage:`url(${svt})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",width:"100%",boxSizing:"border-box",[t.breakpoints.down("sm")]:{paddingTop:0,paddingBottom:0,minHeight:"calc(100vh - 210px)",alignItems:"stretch",width:"auto",margin:0,padding:0,overflowX:"hidden"}}});var hD={},lvt=Ir;Object.defineProperty(hD,"__esModule",{value:!0});var mD=hD.default=void 0,cvt=lvt(Dr()),dG=u;mD=hD.default=(0,cvt.default)([(0,dG.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),(0,dG.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"AccessTime");var gD={},uvt=Ir;Object.defineProperty(gD,"__esModule",{value:!0});var yD=gD.default=void 0,dvt=uvt(Dr()),fvt=u;yD=gD.default=(0,dvt.default)((0,fvt.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2"}),"CircleRounded");var vD={},pvt=Ir;Object.defineProperty(vD,"__esModule",{value:!0});var bD=vD.default=void 0,hvt=pvt(Dr()),mvt=u;bD=vD.default=(0,hvt.default)((0,mvt.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"}),"Person");var _D={},gvt=Ir;Object.defineProperty(_D,"__esModule",{value:!0});var ED=_D.default=void 0,yvt=gvt(Dr()),vvt=u;ED=_D.default=(0,yvt.default)((0,vvt.jsx)("path",{d:"M12 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m6-1.8C18 6.57 15.35 4 12 4s-6 2.57-6 6.2c0 2.34 1.95 5.44 6 9.14 4.05-3.7 6-6.8 6-9.14M12 2c4.2 0 8 3.22 8 8.2 0 3.32-2.67 7.25-8 11.8-5.33-4.55-8-8.48-8-11.8C4 5.22 7.8 2 12 2"}),"PlaceOutlined");const _fe="https://cdn.decentraland.org/@dcl/jump-site/1.1.1-23306513054.commit-ab06ce4/assets/card-creator-placeholder-BobX3Kvq.webp",bvt="https://cdn.decentraland.org/@dcl/jump-site/1.1.1-23306513054.commit-ab06ce4/assets/card-events-placeholder-bdYGw8BY.webp",_vt="https://cdn.decentraland.org/@dcl/jump-site/1.1.1-23306513054.commit-ab06ce4/assets/card-places-placeholder-DtbWTTXg.webp",Efe=({width:e=16,height:t=12,color:r="#FCFCFC"})=>u.jsxs("svg",{width:e,height:t,viewBox:"0 0 16 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[u.jsx("circle",{cx:"7.79575",cy:"5.99967",r:"1.90317",fill:r}),u.jsx("path",{d:"M10.4466 3.19928C11.1889 3.90207 11.6519 4.89681 11.6519 5.99969C11.6519 7.10257 11.1889 8.09731 10.4466 8.8001M5.14549 3.19928C4.40322 3.90207 3.94019 4.89681 3.94019 5.99969C3.94019 7.10257 4.40322 8.09731 5.14549 8.8001",stroke:r,strokeLinecap:"round",strokeLinejoin:"round"}),u.jsx("path",{d:"M12.3984 1C13.7468 2.24189 14.5916 4.02229 14.5916 6C14.5916 7.97771 13.7468 9.75811 12.3984 11M3.19325 1C1.84481 2.24189 1 4.02229 1 6C1 7.97771 1.84481 9.75811 3.19325 11",stroke:r,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),Evt=de("div")(({$maxHeight:e,$hasGradient:t,$gradientColor:r})=>({position:"relative",height:`${e}px`,"&::after":{content:'""',position:"absolute",bottom:-1,left:0,right:3,height:24,background:`linear-gradient(transparent, ${r})`,pointerEvents:"none",zIndex:1,opacity:t?1:0,transition:"opacity 0.2s ease"}})),xvt=de("div")({position:"absolute",top:0,left:0,right:0,bottom:0,overflowY:"auto",paddingRight:4,"&::-webkit-scrollbar":{width:3,opacity:0,transition:"opacity 0.2s ease"},"&::-webkit-scrollbar-track":{backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:"transparent",borderRadius:2},"&:hover":{"&::-webkit-scrollbar":{opacity:1},"&::-webkit-scrollbar-track":{backgroundColor:"rgba(255, 255, 255, 0.1)"},"&::-webkit-scrollbar-thumb":{backgroundColor:"rgba(255, 255, 255, 0.3)","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.5)"}}}}),xfe=({children:e,maxHeight:t,gradientColor:r})=>{const n=F.useRef(null),[i,o]=F.useState(!1),[a,s]=F.useState(!1);return F.useEffect(()=>{const l=()=>{const m=n.current;if(!m)return;m.style.height="auto";const v=m.scrollHeight;m.style.height="",o(v>t)},c=()=>{const m=n.current;if(!m)return;const v=m.scrollTop+m.clientHeight>=m.scrollHeight-1;s(v)},d=setTimeout(()=>{l(),c()},500),f=new ResizeObserver(()=>{l()}),p=n.current;return p&&(f.observe(p),p.addEventListener("scroll",c)),()=>{clearTimeout(d),f.disconnect(),p==null||p.removeEventListener("scroll",c)}},[t,e]),u.jsx(Evt,{$maxHeight:t,$hasGradient:i&&!a,$gradientColor:r,children:u.jsx(xvt,{ref:n,children:e})})},fG=Ee(Pe)(({theme:e})=>({display:"flex",height:608,width:"100%",minWidth:1118,maxWidth:1448,overflow:"hidden",borderRadius:16,boxShadow:"0 8px 32px rgba(0, 0, 0, 0.12)",[e.breakpoints.down("xl")]:{maxWidth:"100%",minWidth:"100%"},[e.breakpoints.down("md")]:{height:490,width:"calc(100% - 64px)",minWidth:"auto",margin:"0 32px"}})),pG=Ee(Pe)(({theme:e})=>({position:"relative",flexGrow:1,maxWidth:724,overflow:"hidden",[e.breakpoints.down("md")]:{height:"100%"}})),hG=Ee(Pe)(({theme:e})=>({display:"flex",flexDirection:"column",justifyContent:"flex-start",flexGrow:1,maxWidth:724,padding:"60px 60px 48px 48px",backgroundColor:"#380A4D",[e.breakpoints.down("md")]:{padding:20},[e.breakpoints.down("sm")]:{padding:16}})),wfe=Ee("img")({width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"}),GM=Ee(Pe)(({backgroundColor:e="#FF2D55"})=>({position:"absolute",top:16,left:16,backgroundColor:e,color:"#161518",padding:"8px 16px",borderRadius:8,display:"flex",alignItems:"center",gap:8,fontSize:14,fontWeight:700,backdropFilter:"blur(4px)"})),mG=Ee(Pe)({display:"flex",flexGrow:1,flexDirection:"column",marginBottom:30}),wvt=Ee("h2")(({theme:e})=>({fontSize:48,fontWeight:600,margin:0,color:"#ffffff",lineHeight:1.17,display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden",[e.breakpoints.down("md")]:{fontSize:40},[e.breakpoints.down("sm")]:{fontSize:32}})),Cfe=Ee(Pe)({display:"flex",alignItems:"center",gap:8,fontSize:20,fontWeight:500,color:"#FF2D55",marginBottom:"24px"}),Sfe=Ee("span")({color:"#ffffff"}),Afe=Ee(Pe)(({eventHasEnded:e,theme:t})=>({display:"inline-flex",alignItems:"center",padding:"4px 8px",gap:"8px",fontSize:16,fontWeight:400,lineHeight:1.75,letterSpacing:0,color:e?"#fcfcfc":"#ffffff",backgroundColor:e?"#716B7C":"#00000066",textTransform:e?"uppercase":"none",borderRadius:"8px",backdropFilter:"blur(4px)",width:"fit-content",[t.breakpoints.down("md")]:{fontSize:14}})),Tfe=Ee(Pe)({display:"inline-flex",alignItems:"center",padding:"4px 8px",gap:"8px",fontSize:16,fontWeight:400,lineHeight:1.75,letterSpacing:0,color:"#ffffff",backgroundColor:"#00000066",borderRadius:"8px",backdropFilter:"blur(4px)",width:"fit-content"}),Cvt=Ee(Pe)({position:"absolute",top:0,left:0,right:0,bottom:0,fontSize:20,color:"#ffffff",lineHeight:1.6,letterSpacing:0,margin:0,overflowY:"auto",paddingRight:4,"&::-webkit-scrollbar":{width:4,opacity:0,transition:"opacity 0.2s ease"},"&::-webkit-scrollbar-track":{backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:"transparent",borderRadius:2},"&:hover":{"&::-webkit-scrollbar":{opacity:1},"&::-webkit-scrollbar-track":{backgroundColor:"rgba(255, 255, 255, 0.1)"},"&::-webkit-scrollbar-thumb":{backgroundColor:"rgba(255, 255, 255, 0.3)","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.5)"}}}}),Mfe=Ee(Pe)({display:"flex",alignItems:"center",justifyContent:"center",height:"100%",width:"100%",backgroundColor:"rgba(56, 10, 77, 0.6)"}),Rfe=Ee("img")({display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#f0f0f0",flexShrink:0,objectFit:"cover",width:32,height:32,overflow:"hidden",borderRadius:"33.65px",borderWidth:"2.29px",borderStyle:"solid",borderColor:"#ffffff"}),Ife=Ee("a")({color:"#FF2D55",textDecoration:"none",fontSize:20,fontWeight:500,transition:"color 0.2s ease, text-decoration 0.2s ease","&:hover":{color:"#FF4D75",textDecoration:"underline"},"&:focus":{outline:"2px solid #FF2D55",outlineOffset:2,borderRadius:4}}),Svt=e=>`${e[0]}, ${e[1]}`,Avt=F.memo(({data:e,isLoading:t=!1,children:r,creator:n})=>{var h,y,w;const i=hp(),{isSignedIn:o}=w3(),a=jr.get("ONBOARDING_URL"),s=jr.get("DOWNLOAD_URL"),[,l]=Ij(),{track:c}=$7(),d=((h=l==null?void 0:l.os)==null?void 0:h.name)??"unknown",f=((w=(y=l==null?void 0:l.cpu)==null?void 0:y.architecture)==null?void 0:w.toLowerCase())??"unknown",p=F.useCallback(async()=>{if(!e)return;console.log("Jumping in to realm",e.realm,"and position",e.position);const T=await UM({realm:e.realm,position:e.position});T&&c(lu.CLICK_JUMP_IN),T||(c(lu.CLIENT_NOT_INSTALLED,{osName:d,arch:f}),o?window.open(s,"_self"):window.open(a,"_self"))},[o,s,a,UM,c,e==null?void 0:e.realm,e==null?void 0:e.position,d,f]);if(t||!e)return u.jsxs(fG,{children:[u.jsx(pG,{children:u.jsx(Mfe,{children:u.jsx(_s,{disableShrink:!0})})}),u.jsx(hG,{children:u.jsxs(mG,{style:{gap:12},children:[u.jsx(oc,{variant:"text",animation:"wave",sx:{fontSize:28,fontWeight:700,marginBottom:"12px"}}),u.jsx(oc,{variant:"text",animation:"wave",sx:{fontSize:16,marginBottom:"8px"}}),u.jsx(oc,{variant:"text",animation:"wave",sx:{fontSize:16,marginBottom:"8px"}}),u.jsx(oc,{variant:"text",animation:"wave",sx:{fontSize:16,marginBottom:"16px"}}),u.jsx(oc,{variant:"rectangular",animation:"wave",sx:{height:80}})]})})]});const m=e.type==="event",v=(n==null?void 0:n.user_name)||e.user_name,g=(n==null?void 0:n.user)||e.user,b=(n==null?void 0:n.avatar)||_fe;return u.jsxs(fG,{children:[u.jsxs(pG,{children:[u.jsx(wfe,{src:e.image||(m?bvt:_vt),alt:i(m?"card.accessibility.event_image":"card.accessibility.place_image",{title:e.title})}),m&&u.jsx(GM,{backgroundColor:e.live?"#FF2D55":"#FCFCFC",style:{color:e.live?"white":"#161518"},children:e.live?u.jsxs(u.Fragment,{children:[u.jsx(Efe,{}),i("card.event.live")," +",e.user_count||0]}):u.jsxs(u.Fragment,{children:[u.jsx(By,{sx:{fontSize:16,color:"#FF2D55"}}),"+",e.total_attendees]})}),!m&&e.user_count&&e.user_count>0?u.jsxs(GM,{backgroundColor:"#FCFCFC",children:[u.jsx(yD,{sx:{fontSize:16,color:"#00A146"}}),u.jsx(bD,{sx:{fontSize:16,color:"#161518"}}),e.user_count]}):null]}),u.jsxs(hG,{children:[u.jsxs(mG,{children:[u.jsx(wvt,{style:{marginBottom:"16px"},children:e.title}),u.jsxs(Cfe,{children:[u.jsx(Rfe,{src:b,alt:i("card.accessibility.creator_avatar",{userName:v})}),u.jsxs(Sfe,{children:[i("card.creator.by")," "]}),g?u.jsx(Ife,{href:`${jr.get("PROFILE_URL")}accounts/${g}`,target:"_blank",rel:"noopener noreferrer","aria-label":i("card.accessibility.user_profile_link",{userName:v}),children:v}):v]}),u.jsxs(Pe,{sx:{display:"flex",gap:"8px",flexWrap:"wrap",marginBottom:"48px"},children:[m&&e.start_at&&u.jsxs(Afe,{eventHasEnded:Fy(e),children:[u.jsx(mD,{sx:{fontSize:16}}),Fy(e)?i("event.has_ended"):gfe(e.start_at)]}),u.jsxs(Tfe,{children:[u.jsx(ED,{sx:{fontSize:16}}),(e==null?void 0:e.realm)??Svt(e.coordinates),m&&!(e!=null&&e.live)&&u.jsx(Cn,{variant:"contained",size:"large",fullWidth:!0,endIcon:u.jsx(y6,{}),onClick:p,children:i("components.jump_in_button.jump_in")})]})]}),u.jsx(xfe,{maxHeight:128,gradientColor:"#380A4D",children:e.description||i("card.place.default_description")})]}),r,!r&&(!m||e.live)&&u.jsx(Cn,{variant:"contained",size:"large",fullWidth:!0,endIcon:u.jsx(y6,{}),onClick:p,children:i("components.jump_in_button.jump_in")})]})]})}),Tvt=de("div")(e=>({position:"fixed",bottom:0,left:0,right:0,padding:"16px 24px 32px 24px",background:"linear-gradient(100.12deg, #130119 0%, #320524 100%)",borderTop:"1px solid rgba(255, 255, 255, 0.1)",zIndex:1e3,display:"none",[e.theme.breakpoints.down("md")]:{display:"block"}})),Mvt=de(Cn)({backgroundColor:"#FF2D55",color:"#ffffff",borderRadius:"12px",height:"56px",fontSize:"16px",fontWeight:600,textTransform:"none",boxShadow:"0 4px 16px rgba(255, 45, 85, 0.3)",border:"none","&:hover":{backgroundColor:"#E02347",boxShadow:"0 6px 20px rgba(255, 45, 85, 0.4)"},"&:focus":{backgroundColor:"#E02347",boxShadow:"0 6px 20px rgba(255, 45, 85, 0.4)",outline:"2px solid #ffffff",outlineOffset:"2px"},"&:active":{backgroundColor:"#C01E3F",transform:"translateY(1px)"},"& .MuiButton-startIcon":{marginRight:"8px","& svg":{fontSize:"20px"}}}),Rvt=({url:e,title:t})=>{const r=hp(),n=F.useCallback(async()=>{const i=e||window.location.href,o=t||document.title;if(navigator.share)try{await navigator.share({title:o,url:i})}catch{await navigator.clipboard.writeText(i)}else try{await navigator.clipboard.writeText(i)}catch(a){console.error("Failed to copy to clipboard:",a)}},[e,t]);return u.jsxs(Tvt,{children:[u.jsx(Jt,{variant:"h6",align:"center",mb:"8px",sx:{textWrapStyle:"balance"},children:r("share.button.switch_to_computer")}),u.jsx(Mvt,{variant:"contained",onClick:n,startIcon:u.jsx(x6,{}),fullWidth:!0,children:u.jsx(Jt,{variant:"body1",sx:{fontWeight:600,fontSize:16},children:r("share.button.text")})})]})},gG=de("div")({display:"flex",flexDirection:"column",width:"100%",background:"linear-gradient(96.05deg, #2E013E 36.2%, #7F0D59 100.69%)",paddingBottom:"25px"}),yG=de("div")({position:"relative",width:"100%",height:"250px",overflow:"hidden"}),vG=de("div")({display:"flex",flexDirection:"column",padding:"32px 24px 0px 24px"}),bG=de("div")({position:"fixed",bottom:-1,left:0,right:0,minHeight:"115px",padding:"32px 24px 32px 24px",background:"linear-gradient(100.12deg, #130119 0%, #320524 100%)",borderTop:"1px solid rgba(255, 255, 255, 0.1)",zIndex:1e3,display:"flex",flexDirection:"row",gap:"12px",backdropFilter:"blur(8px)",boxShadow:"0 -4px 16px rgba(0, 0, 0, 0.2)"}),_G=de(GM)(()=>({padding:"6px 12px",borderRadius:6,gap:6,fontSize:12})),EG=de("div")({display:"flex",flexDirection:"column",gap:12}),Ivt=de("h1")({fontSize:28,fontWeight:600,margin:0,color:"#ffffff",lineHeight:1.2,marginBottom:16}),Ovt=de(Cfe)({gap:6,fontSize:16,marginBottom:16}),Pvt=de(Afe)(()=>({gap:"6px",fontSize:14,lineHeight:1.5,borderRadius:"6px"})),Lvt=de(Tfe)({gap:"6px",fontSize:14,lineHeight:1.5,borderRadius:"6px"});de(Cvt)({fontSize:16,lineHeight:1.5,"&::-webkit-scrollbar":{width:3}});const kvt=de(Rfe)({width:24,height:24,borderRadius:"50%",borderWidth:"1.5px"}),Nvt=de(Ife)({fontSize:16}),jvt=e=>`${e[0]}, ${e[1]}`,Dvt=F.memo(({data:e,isLoading:t=!1,children:r,creator:n,stickyContent:i})=>{const o=hp();if(t)return u.jsxs(gG,{children:[u.jsx(yG,{children:u.jsx(Mfe,{children:u.jsx(_s,{disableShrink:!0})})}),u.jsx(vG,{style:{paddingBottom:"175px"},children:u.jsxs(EG,{children:[u.jsx(oc,{variant:"text",animation:"wave",sx:{fontSize:24,fontWeight:700,marginBottom:"8px"}}),u.jsx(oc,{variant:"text",animation:"wave",sx:{fontSize:14,marginBottom:"6px"}}),u.jsx(oc,{variant:"text",animation:"wave",sx:{fontSize:14,marginBottom:"6px"}}),u.jsx(oc,{variant:"text",animation:"wave",sx:{fontSize:14,marginBottom:"12px"}}),u.jsx(oc,{variant:"rectangular",animation:"wave",sx:{height:60}})]})}),i&&u.jsx(bG,{children:i})]});const a=e.type==="event",s=(n==null?void 0:n.user_name)||e.user_name,l=(n==null?void 0:n.user)||e.user,c=(n==null?void 0:n.avatar)||_fe;return u.jsxs(gG,{children:[u.jsxs(yG,{children:[u.jsx(wfe,{src:e.image,alt:o(a?"card.accessibility.event_image":"card.accessibility.place_image",{title:e.title})}),a&&u.jsx(_G,{backgroundColor:e.live?"#FF2D55":"#FCFCFC",style:{color:e.live?"white":"#161518"},children:e.live?u.jsxs(u.Fragment,{children:[u.jsx(Efe,{}),o("card.event.live")," +",e.user_count||0]}):u.jsxs(u.Fragment,{children:[u.jsx(By,{sx:{fontSize:14,color:"#FF2D55"}}),"+",e.total_attendees]})}),!a&&e.user_count&&e.user_count>0?u.jsxs(_G,{backgroundColor:"#FCFCFC",children:[u.jsx(yD,{sx:{fontSize:14},htmlColor:"#00A146"}),u.jsx(bD,{sx:{fontSize:14}}),e.user_count]}):null]}),u.jsx(vG,{children:u.jsxs(EG,{children:[u.jsx(Ivt,{children:e.title}),u.jsxs(Ovt,{children:[u.jsx(kvt,{src:c,alt:o("card.accessibility.creator_avatar",{userName:s})}),u.jsxs(Sfe,{children:[o("card.creator.by")," "]}),l?u.jsx(Nvt,{href:`${jr.get("PROFILE_URL")}accounts/${l}`,target:"_blank",rel:"noopener noreferrer","aria-label":o("card.accessibility.user_profile_link",{userName:s}),children:s}):u.jsx("span",{style:{color:"#FF2D55",fontSize:16,fontWeight:500},children:s})]}),u.jsxs(Pe,{sx:{display:"flex",gap:"8px",flexWrap:"wrap",marginBottom:"12px"},children:[a&&e.start_at&&u.jsxs(Pvt,{eventHasEnded:Fy(e),children:[u.jsx(mD,{sx:{fontSize:16}}),Fy(e)?o("event.has_ended"):gfe(e.start_at)]}),u.jsxs(Lvt,{children:[u.jsx(ED,{sx:{fontSize:16}}),(e==null?void 0:e.realm)??jvt(e.coordinates)]})]}),u.jsx(xfe,{maxHeight:250,gradientColor:"#2E013E",children:e.description})]})}),u.jsx(bG,{children:r||u.jsx(Rvt,{url:e==null?void 0:e.url,title:e==null?void 0:e.title})})]})}),Ofe=F.memo(({data:e,isLoading:t=!1,children:r,creator:n})=>pp()?u.jsx(Dvt,{data:e,isLoading:t,creator:n,children:r}):u.jsx(Avt,{data:e,isLoading:t,creator:n,children:r})),xG=de("div")(({isMobile:e})=>({display:"flex",flexDirection:e?"column":"row",alignItems:e?"stretch":"center",width:"100%",gap:e?12:16,float:"left"})),Aw=de("div")(({isMobile:e})=>({display:"flex",gap:e?12:16,width:"100%",alignItems:"center"}));de("div")(({isMobile:e})=>({flex:e?"1 1 0%":"none",minWidth:e?0:"auto"}));function Pfe(e){const t=new URL(`${jr.get("JUMP_IN_URL")}/events/`),r=[e.x||0,e.y||0].join(",");return t.searchParams.set("position",r),t.toString()}function wG(e){const t=e.getUTCFullYear(),r=String(e.getUTCMonth()+1).padStart(2,"0"),n=String(e.getUTCDate()).padStart(2,"0"),i=String(e.getUTCHours()).padStart(2,"0"),o=String(e.getUTCMinutes()).padStart(2,"0"),a=String(e.getUTCSeconds()).padStart(2,"0");return`${t}${r}${n}T${i}${o}${a}Z`}function Bvt(e){if(!e)return null;const t=Pfe(e),r=new URLSearchParams;r.set("text",e.name);const n=KT("components.button.get_google_calendar.jump_in");e.description&&t?r.set("details",`${e.description}
|
|
901
901
|
|
|
902
|
-
${n}: ${t}`):e.description?r.set("details",e.description):t&&r.set("details",`${n}: ${t}`);const i=new Date(e.start_at),o=new Date(e.finish_at),a=[wG(i),wG(o)];return r.set("dates",a.join("/")),`https://calendar.google.com/calendar/r/eventedit?${r.toString()}`}const Fvt=e=>{const t=F.useMemo(()=>new G3t(e),[e]),r=F.useMemo(()=>new yfe,[]);return{eventsApi:t,peerApi:r}},Uvt=F.memo(()=>{const{position:e,realm:t,id:r}=mfe(),n=zR(),[i,o]=F.useState([]),[a,s]=F.useState({user_name:"",user:"",avatar:""}),[l,c]=F.useState([]),[d,f]=F.useState(!0),[p,m]=F.useState({calendar:!1,interested:!1,share:!1}),[v,g]=F.useState({open:!1,eventTitle:"",action:"added",autoHideDuration:null}),b=hp(),h=pp(),y=F3t(),{eventsApi:w,peerApi:T}=Fvt(y),R=F.useCallback(async()=>{f(!0);try{let M={ok:!1,data:[]},O=null;if(r){const N=await w.fetchEvent(r);N&&(M={ok:!0,data:[N]},N.world&&N.server?O=await R9({realm:N.server}):N.coordinates&&(O=await R9({position:[N.coordinates[0],N.coordinates[1]]})))}else{const N=t&&t!=="main"?{realm:t}:{position:e.coordinates};[M,O]=await Promise.all([w.fetchEvents(N),R9(N)])}if(M.ok&&M.data.length>0){c(M.data);const N=await T.fetchCreator(M.data[0].user);N.ok&&N.data&&s(N.data);const H=M.data.map(V=>{const K=z3t(V);if(K.live&&(O!=null&&O.ok)){const j=O.data.find(A=>A.title===V.scene_name||A.base_position===V.coordinates.join(","));j&&(K.user_count=j.user_count||0)}return K});o(H)}else n("/events/invalid")}catch(M){console.error("Error fetching event data:",M),n("/events/invalid")}finally{f(!1)}},[e.coordinates,t,r,w,T,n]);F.useEffect(()=>{R()},[R]);const S=H3t(F.useCallback(async()=>{var M;if((M=i[0])!=null&&M.id){m(O=>({...O,interested:!0}));try{i[0].attending?(await w.unattendee(i[0].id)).ok&&(o(N=>N.map(H=>H.id===i[0].id?{...H,attending:!1}:H)),g({open:!0,eventTitle:i[0].title,action:"removed",autoHideDuration:4e3})):(await w.attendee(i[0].id)).ok&&(o(N=>N.map(H=>H.id===i[0].id?{...H,attending:!0}:H)),g({open:!0,eventTitle:i[0].title,action:"added",autoHideDuration:4e3}))}catch(O){console.error("Error updating attendance:",O)}finally{m(O=>({...O,interested:!1}))}}},[i,w])),I=F.useCallback(async()=>{if(!(!i[0]||!l[0])){m(M=>({...M,calendar:!0}));try{const M=Bvt(l[0]);M&&window.open(M,"_blank","noopener,noreferrer")}catch(M){console.error("Error opening calendar:",M)}finally{m(M=>({...M,calendar:!1}))}}},[i,l]),U=F.useCallback(async()=>{m(M=>({...M,share:!0}));try{await navigator.share({title:l[0].name,text:l[0].description,url:Pfe(l[0])})}catch(M){console.error("Error sharing:",M)}finally{m(M=>({...M,share:!1}))}},[l]),D=F.useCallback(()=>{g(M=>({...M,open:!1}))},[]),q=i[0],W=(q==null?void 0:q.start_at)&&(q==null?void 0:q.total_attendees)!==void 0,J=Fy(q),$=!d&&W&&!(q!=null&&q.live);return u.jsxs(pD,{children:[u.jsx(Ofe,{isLoading:d,data:q,creator:a,children:$&&!h?u.jsx(xG,{isMobile:!1,children:J?u.jsxs(u.Fragment,{children:[u.jsx(Cn,{variant:"contained",color:"secondary",href:jr.get("EVENTS_URL"),size:"large",fullWidth:!0,sx:{color:"#161518 !important"},children:b("events_page.explore_events_button")}),u.jsx(bfe,{realm:q.realm,position:q.position,sceneData:q,size:"large",fullWidth:!0,children:b("events_page.jump_in_button")})]}):u.jsxs(u.Fragment,{children:[u.jsx(Cn,{variant:"outlined",color:"primary",startIcon:p.calendar?u.jsx(_s,{size:16,sx:{color:"#FCFCFC"}}):u.jsx(qM,{sx:{fontSize:16}}),"aria-label":b("card.accessibility.add_to_calendar_button"),disabled:p.calendar,onClick:I,sx:{color:"#FCFCFC",borderColor:"#FCFCFC",borderRadius:2,textTransform:"none",fontWeight:600,fontSize:14,px:3,py:1,"&:hover":{backgroundColor:"#4A0F5F",borderColor:"#FCFCFC",color:"#FCFCFC !important"},"&:disabled":{color:"#FCFCFC",borderColor:"#FCFCFC",opacity:.7}},children:b("card.event.add_to_calendar")}),u.jsx(Cn,{variant:"outlined",startIcon:p.interested?u.jsx(_s,{size:16,sx:{color:q.attending?"#FF2D55":"#161518"}}):q.attending?u.jsx(By,{sx:{fontSize:16}}):u.jsx(WM,{sx:{fontSize:16}}),"aria-label":b("card.accessibility.interested_button"),disabled:p.interested,onClick:S,sx:{backgroundColor:"#FCFCFC",color:q.attending?"#FF2D55":"#161518",borderColor:q.attending?"#FF2D55":"#E0E0E0",borderRadius:2,textTransform:"none",fontWeight:600,fontSize:14,px:3,py:1,"&:hover":{backgroundColor:"#F5F5F5",borderColor:q.attending?"#FF2D55":"#CCCCCC",color:q.attending?"#FF2D55 !important":"#161518 !important"},"&:disabled":{backgroundColor:"#FCFCFC",color:q.attending?"#FF2D55":"#161518",borderColor:q.attending?"#FF2D55":"#E0E0E0",opacity:.7}},children:b("card.event.interested")}),u.jsx(Cn,{variant:"outlined","aria-label":b("card.accessibility.share_button"),disabled:p.share,onClick:U,sx:{backgroundColor:"#FCFCFC",color:"#161518",borderColor:"#E0E0E0",borderRadius:2,minWidth:"auto",width:48,height:40,p:0,"&:hover":{backgroundColor:"#F5F5F5",borderColor:"#FF2D55"},"&:disabled":{backgroundColor:"#FCFCFC",color:"#161518",borderColor:"#E0E0E0",opacity:.7}},children:p.share?u.jsx(_s,{size:16,sx:{color:"#FF2D55"}}):u.jsx(x6,{sx:{fontSize:16,color:"#FF2D55"}})})]})}):$&&h?u.jsx(xG,{isMobile:!0,children:J?u.jsx(Aw,{isMobile:!0,children:u.jsx(Cn,{variant:"contained",color:"secondary",href:jr.get("EVENTS_URL"),size:"large",fullWidth:!0,sx:{color:"#161518 !important"},children:b("events_page.explore_events_button")})}):u.jsxs(u.Fragment,{children:[u.jsx(Aw,{isMobile:!0,children:u.jsx(Cn,{variant:"outlined",color:"primary",startIcon:p.calendar?u.jsx(_s,{size:16,sx:{color:"#FCFCFC"}}):u.jsx(qM,{sx:{fontSize:16}}),"aria-label":b("card.accessibility.add_to_calendar_button"),disabled:p.calendar,onClick:I,sx:{color:"#FCFCFC",borderColor:"#FCFCFC",borderRadius:2,textTransform:"none",fontWeight:600,fontSize:14,px:3,py:1,width:"100%","&:hover":{backgroundColor:"#4A0F5F",borderColor:"#FCFCFC",color:"#FCFCFC !important"},"&:disabled":{color:"#FCFCFC",borderColor:"#FCFCFC",opacity:.7}},children:b("card.event.add_to_calendar")})}),u.jsxs(Aw,{isMobile:!0,children:[u.jsx(Cn,{variant:"outlined",startIcon:p.interested?u.jsx(_s,{size:16,sx:{color:q.attending?"#FF2D55":"#161518"}}):q.attending?u.jsx(By,{sx:{fontSize:16}}):u.jsx(WM,{sx:{fontSize:16}}),"aria-label":b("card.accessibility.interested_button"),disabled:p.interested,onClick:S,sx:{backgroundColor:"#FCFCFC",color:q.attending?"#FF2D55":"#161518",borderColor:q.attending?"#FF2D55":"#E0E0E0",borderRadius:2,textTransform:"none",fontWeight:600,fontSize:14,px:3,py:1,flex:1,"&:hover":{backgroundColor:"#F5F5F5",borderColor:q.attending?"#FF2D55":"#CCCCCC",color:q.attending?"#FF2D55 !important":"#161518 !important"},"&:disabled":{backgroundColor:"#FCFCFC",color:q.attending?"#FF2D55":"#161518",borderColor:q.attending?"#FF2D55":"#E0E0E0",opacity:.7}},children:b("card.event.interested")}),u.jsx(ku,{"aria-label":b("card.accessibility.share_button"),disabled:p.share,onClick:U,sx:{backgroundColor:"#FCFCFC",color:"#161518",borderColor:"#E0E0E0",borderRadius:2,minWidth:"auto",height:40,width:40,p:0,"&:hover":{backgroundColor:"#F5F5F5",borderColor:"#FF2D55"},"&:disabled":{backgroundColor:"#FCFCFC",color:"#161518",borderColor:"#E0E0E0",opacity:.7}},children:p.share?u.jsx(_s,{size:16,sx:{color:"#FF2D55"}}):u.jsx(x6,{sx:{fontSize:16,color:"#FF2D55"}})})]})]})}):null}),u.jsx(Tbe,{open:v.open,autoHideDuration:v.autoHideDuration,onClose:D,anchorOrigin:{vertical:"bottom",horizontal:"center"},sx:{bottom:h?"160px":0},children:u.jsxs(Pe,{sx:{display:"flex",alignItems:"center",gap:"12px",backgroundColor:"#000000",color:"white",borderRadius:"12px",px:2,py:"12px",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.3)"},children:[u.jsx(pfe,{sx:{fontSize:20,color:"white"}}),u.jsxs(Jt,{variant:"body2",sx:{fontSize:14,fontWeight:600},children:[b(v.action==="added"?"event.snackbar.added_to_my_events":"event.snackbar.removed_from_my_events",{eventTitle:v.eventTitle})," ",u.jsx(Jt,{component:"a",href:"https://decentraland.org/events/me/",target:"_blank",rel:"noopener noreferrer",sx:{color:"#FF2D55",fontSize:14,fontWeight:600,textDecoration:"none",cursor:"pointer","&:hover":{textDecoration:"underline"}},children:b("event.snackbar.my_events")})]})]})})]})});var xD={},$vt=Ir;Object.defineProperty(xD,"__esModule",{value:!0});var Lfe=xD.default=void 0,Hvt=$vt(Dr()),Vvt=u;Lfe=xD.default=(0,Hvt.default)((0,Vvt.jsx)("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"}),"Home");const zvt=de(Cn)({"&:hover":{backgroundColor:"transparent",textDecoration:"none"},"&:focus":{backgroundColor:"transparent",textDecoration:"none"},padding:0,minWidth:"auto"}),qvt=({children:e,...t})=>u.jsx(zvt,{variant:"text",color:"primary",...t,children:e}),Wvt="https://cdn.decentraland.org/@dcl/jump-site/0.4.3/assets/background-invalid-events-page-4wvWf0ma.webp",Gvt="https://cdn.decentraland.org/@dcl/jump-site/0.4.3/assets/background-invalid-places-page-HmsH9QxH.webp",Kvt=de(pD)(({isEventPage:e,isMobile:t,theme:r})=>({justifyContent:"center",position:"relative",overflow:"hidden",backgroundImage:`${t?"linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0))":"linear-gradient(104.62deg, #7106A0 17.97%, rgba(113, 6, 160, 0) 75.95%)"}, url(${e?Wvt:Gvt})`,backgroundSize:"cover",backgroundPosition:"center",[r.breakpoints.down("sm")]:{minHeight:"calc(100vh - 150px)",justifyContent:"flex-start",padding:"50px 18px 0 18px"}})),Yvt=de(Pe)(({theme:e})=>({display:"flex",flexDirection:"column",justifyContent:"center",borderRadius:"24px",padding:"48px",backgroundColor:"#36044CF2",width:"691px",[e.breakpoints.down("sm")]:{width:"100%",padding:"48px 24px",alignSelf:"center"}})),Zvt=de("div")({position:"fixed",display:"flex",flexDirection:"column",gap:"16px",bottom:-1,left:0,right:0,padding:24,background:"linear-gradient(100.12deg, #130119 0%, #320524 100%)",borderTop:"1px solid rgba(255, 255, 255, 0.1)",zIndex:1e3}),CG=F.memo(({isEventPage:e=!1})=>{const t=hp(),r=pp();return u.jsxs(Kvt,{isEventPage:e,isMobile:r,children:[u.jsxs(Yvt,{children:[u.jsx(Jt,{variant:"h3",mb:"24px",children:t("invalid_page.title")}),u.jsx(Jt,{variant:"h6",mb:"48px",children:t(r?"invalid_page.message_mobile":"invalid_page.message")}),r?null:u.jsx(bfe,{position:"0,0",size:"large",fullWidth:!0,sx:{marginBottom:"16px"},children:t("invalid_page.jump_in_button")}),e?u.jsx(Cn,{variant:"contained",color:"secondary",href:jr.get("EVENTS_URL"),size:"large",fullWidth:!0,sx:{marginBottom:"16px",color:"#161518 !important"},children:t("events_page.explore_events_button")}):null,u.jsx(Jt,{variant:r?"h6":"subtitle1",color:"white",textAlign:"center",children:t("invalid_page.learn_more",{a:n=>u.jsx(qvt,{variant:"text",color:"primary",href:jr.get("HOME_URL"),target:"_blank",rel:"noopener noreferrer",disableRipple:!0,sx:{fontWeight:"inherit !important",fontSize:"inherit !important",lineHeight:"inherit !important",letterSpacing:"inherit !important",textTransform:"none !important",verticalAlign:"inherit !important"},children:n})})})]}),r&&u.jsx(Zvt,{children:u.jsx(Cn,{variant:"contained",color:"primary",href:jr.get("HOME_URL"),size:"large",fullWidth:!0,startIcon:u.jsx(Lfe,{}),children:t("invalid_page.go_home_button")})})]})});class Jvt{constructor(){this.baseUrl=jr.get("WORLD_CONTENT_API_URL")}async fetchWorldContentAbout(t,r){const n=r||fetch;try{if(!(t!=null&&t.world))return{ok:!1,error:"World parameter is required"};if(!vfe(t.world))return{ok:!1,error:"Invalid world name. Must be an ENS name (ending with .eth)"};const i=`${this.baseUrl}/${t.world.toLowerCase()}/about`,o=await n(i);return o.ok?{ok:!0,data:await o.json()}:{ok:!1,error:`HTTP error! status: ${o.status}`}}catch(i){const o=i instanceof Error?i.message:"Unknown error occurred";return console.error("Error fetching world content about:",o),{ok:!1,error:o}}}}const Xvt=async(e,t=fetch)=>{const n=await new Jvt().fetchWorldContentAbout(e,t);if(!n.ok)throw new Error(n.error||"Failed to fetch world content about");return n.data},Qvt=()=>{const e=F.useCallback(n=>/^[a-zA-Z][a-zA-Z\d+\-.]*:\/\//.test(n)?n:`https://${n}`,[]),t=F.useCallback(async n=>{if(vfe(n))try{const o=await Xvt({world:n});return o.healthy&&o.acceptingUsers}catch{return!1}else return await Y3t(n)},[]);return{validateRealmOrWorld:F.useCallback(async n=>{if(!n||n===hfe)return{isValid:!0,validatedRealmOrWorld:n};try{return await t(n)?{isValid:!0,validatedRealmOrWorld:n}:{isValid:!1,error:`The realm ${n} is not healthy or not accepting users`}}catch(i){return{isValid:!1,error:i instanceof Error?i.message:"Unknown validation error"}}},[e,t])}},SG=new yfe,AG=F.memo(()=>{const e=zR(),{position:t,realm:r}=mfe(),{validateRealmOrWorld:n}=Qvt(),[i,o]=F.useState([]),[a,s]=F.useState({user_name:"",user:"",avatar:""}),[l,c]=F.useState(!0);console.log("Parameters",t,r);const d=F.useMemo(()=>(f,p)=>({id:"generic-place",type:"place",title:p||"",user_name:"Unknown",coordinates:f,image:void 0,description:`Welcome to ${p}! Explore this virtual world and discover amazing places.`,user_count:0,favorites:0,scene_name:"Decentraland",position:f.join(","),realm:p}),[]);return F.useEffect(()=>{(async()=>{var p,m;c(!0);try{let v;if(r){const b=await n(r);if(!b.isValid)throw new Error(b.error);v=b.validatedRealmOrWorld}const g=await R9({position:t.coordinates,realm:v});if(g.ok&&g.data.length>0){const b=g.data.map(V3t);o(b);const h=await SG.fetchSceneDeployerInfo(b[0].coordinates.join(","));if(h.ok&&h.data)s({user_name:h.data.deployerName,user:h.data.deployerAddress,avatar:h.data.deployerAvatar});else if(b[0].user_name){const y=await SG.fetchUserProfile(b[0].user_name);y.ok&&y.data&&s({user_name:y.data.avatars[0].name,user:y.data.avatars[0].userId,avatar:(m=(p=y.data.avatars[0].avatar)==null?void 0:p.snapshots)==null?void 0:m.face256})}}else{const b=d(t.coordinates,v);o([b])}}catch{e("/places/invalid")}finally{c(!1)}})()},[t.coordinates,r,e,n]),u.jsx(pD,{children:u.jsx(Ofe,{data:i[0],creator:a,isLoading:l})})});function e5t(){const e=qy(),{page:t}=$7();F.useEffect(()=>{t(e.pathname)},[e,t])}const t5t=F.memo(()=>(e5t(),u.jsx(X0e,{children:u.jsxs(Kc,{element:u.jsx(g3t,{}),children:[u.jsxs(Kc,{path:"/places",children:[u.jsx(Kc,{index:!0,element:u.jsx(AG,{})}),u.jsx(Kc,{path:"invalid",element:u.jsx(CG,{isEventPage:!1})})]}),u.jsxs(Kc,{path:"/events",children:[u.jsx(Kc,{index:!0,element:u.jsx(Uvt,{})}),u.jsx(Kc,{path:"invalid",element:u.jsx(CG,{isEventPage:!0})})]}),u.jsx(Kc,{path:"*",element:u.jsx(AG,{})})]})}))),r5t=/^decentraland.(zone|org|today)$/.test(window.location.host)?"/jump":"/",n5t=e=>t=>Koe(t,e);HY(document.getElementById("root")).render(u.jsx(F.StrictMode,{children:u.jsx(rhe,{basename:r5t,children:u.jsx(t8e,{theme:n8e,children:u.jsx(Mze,{messages:YT,supportedLocales:dze(YT),defaultLocale:"en",storageKey:jr.get("STORAGE_LOCALE_KEY","dcl-locale"),children:u.jsx(S7e,{writeKey:jr.get("SEGMENT_API_KEY"),children:u.jsx(PHe,{config:{defaultChainId:jr.get("CHAIN_ID"),authUrl:jr.get("AUTH_URL"),basePath:"/jump",shouldUseBasePath:Goe,fetchAvatar:n5t(jr.get("PEER_URL")),debug:!1},children:u.jsx(t5t,{})})})})})})}));export{ka as _,kt as a,Nm as b,xs as c,nae as d,iae as e,X as f,Eh as g,Nc as h,NPe as i,_f as j,_Oe as k,UIe as l,fre as r,g5t as t};
|
|
902
|
+
${n}: ${t}`):e.description?r.set("details",e.description):t&&r.set("details",`${n}: ${t}`);const i=new Date(e.start_at),o=new Date(e.finish_at),a=[wG(i),wG(o)];return r.set("dates",a.join("/")),`https://calendar.google.com/calendar/r/eventedit?${r.toString()}`}const Fvt=e=>{const t=F.useMemo(()=>new G3t(e),[e]),r=F.useMemo(()=>new yfe,[]);return{eventsApi:t,peerApi:r}},Uvt=F.memo(()=>{const{position:e,realm:t,id:r}=mfe(),n=zR(),[i,o]=F.useState([]),[a,s]=F.useState({user_name:"",user:"",avatar:""}),[l,c]=F.useState([]),[d,f]=F.useState(!0),[p,m]=F.useState({calendar:!1,interested:!1,share:!1}),[v,g]=F.useState({open:!1,eventTitle:"",action:"added",autoHideDuration:null}),b=hp(),h=pp(),y=F3t(),{eventsApi:w,peerApi:T}=Fvt(y),R=F.useCallback(async()=>{f(!0);try{let M={ok:!1,data:[]},O=null;if(r){const N=await w.fetchEvent(r);N&&(M={ok:!0,data:[N]},N.world&&N.server?O=await R9({realm:N.server}):N.coordinates&&(O=await R9({position:[N.coordinates[0],N.coordinates[1]]})))}else{const N=t&&t!=="main"?{realm:t}:{position:e.coordinates};[M,O]=await Promise.all([w.fetchEvents(N),R9(N)])}if(M.ok&&M.data.length>0){c(M.data);const N=await T.fetchCreator(M.data[0].user);N.ok&&N.data&&s(N.data);const H=M.data.map(V=>{const K=z3t(V);if(K.live&&(O!=null&&O.ok)){const j=O.data.find(A=>A.title===V.scene_name||A.base_position===V.coordinates.join(","));j&&(K.user_count=j.user_count||0)}return K});o(H)}else n("/events/invalid")}catch(M){console.error("Error fetching event data:",M),n("/events/invalid")}finally{f(!1)}},[e.coordinates,t,r,w,T,n]);F.useEffect(()=>{R()},[R]);const S=H3t(F.useCallback(async()=>{var M;if((M=i[0])!=null&&M.id){m(O=>({...O,interested:!0}));try{i[0].attending?(await w.unattendee(i[0].id)).ok&&(o(N=>N.map(H=>H.id===i[0].id?{...H,attending:!1}:H)),g({open:!0,eventTitle:i[0].title,action:"removed",autoHideDuration:4e3})):(await w.attendee(i[0].id)).ok&&(o(N=>N.map(H=>H.id===i[0].id?{...H,attending:!0}:H)),g({open:!0,eventTitle:i[0].title,action:"added",autoHideDuration:4e3}))}catch(O){console.error("Error updating attendance:",O)}finally{m(O=>({...O,interested:!1}))}}},[i,w])),I=F.useCallback(async()=>{if(!(!i[0]||!l[0])){m(M=>({...M,calendar:!0}));try{const M=Bvt(l[0]);M&&window.open(M,"_blank","noopener,noreferrer")}catch(M){console.error("Error opening calendar:",M)}finally{m(M=>({...M,calendar:!1}))}}},[i,l]),U=F.useCallback(async()=>{m(M=>({...M,share:!0}));try{await navigator.share({title:l[0].name,text:l[0].description,url:Pfe(l[0])})}catch(M){console.error("Error sharing:",M)}finally{m(M=>({...M,share:!1}))}},[l]),D=F.useCallback(()=>{g(M=>({...M,open:!1}))},[]),q=i[0],W=(q==null?void 0:q.start_at)&&(q==null?void 0:q.total_attendees)!==void 0,J=Fy(q),$=!d&&W&&!(q!=null&&q.live);return u.jsxs(pD,{children:[u.jsx(Ofe,{isLoading:d,data:q,creator:a,children:$&&!h?u.jsx(xG,{isMobile:!1,children:J?u.jsxs(u.Fragment,{children:[u.jsx(Cn,{variant:"contained",color:"secondary",href:jr.get("EVENTS_URL"),size:"large",fullWidth:!0,sx:{color:"#161518 !important"},children:b("events_page.explore_events_button")}),u.jsx(bfe,{realm:q.realm,position:q.position,sceneData:q,size:"large",fullWidth:!0,children:b("events_page.jump_in_button")})]}):u.jsxs(u.Fragment,{children:[u.jsx(Cn,{variant:"outlined",color:"primary",startIcon:p.calendar?u.jsx(_s,{size:16,sx:{color:"#FCFCFC"}}):u.jsx(qM,{sx:{fontSize:16}}),"aria-label":b("card.accessibility.add_to_calendar_button"),disabled:p.calendar,onClick:I,sx:{color:"#FCFCFC",borderColor:"#FCFCFC",borderRadius:2,textTransform:"none",fontWeight:600,fontSize:14,px:3,py:1,"&:hover":{backgroundColor:"#4A0F5F",borderColor:"#FCFCFC",color:"#FCFCFC !important"},"&:disabled":{color:"#FCFCFC",borderColor:"#FCFCFC",opacity:.7}},children:b("card.event.add_to_calendar")}),u.jsx(Cn,{variant:"outlined",startIcon:p.interested?u.jsx(_s,{size:16,sx:{color:q.attending?"#FF2D55":"#161518"}}):q.attending?u.jsx(By,{sx:{fontSize:16}}):u.jsx(WM,{sx:{fontSize:16}}),"aria-label":b("card.accessibility.interested_button"),disabled:p.interested,onClick:S,sx:{backgroundColor:"#FCFCFC",color:q.attending?"#FF2D55":"#161518",borderColor:q.attending?"#FF2D55":"#E0E0E0",borderRadius:2,textTransform:"none",fontWeight:600,fontSize:14,px:3,py:1,"&:hover":{backgroundColor:"#F5F5F5",borderColor:q.attending?"#FF2D55":"#CCCCCC",color:q.attending?"#FF2D55 !important":"#161518 !important"},"&:disabled":{backgroundColor:"#FCFCFC",color:q.attending?"#FF2D55":"#161518",borderColor:q.attending?"#FF2D55":"#E0E0E0",opacity:.7}},children:b("card.event.interested")}),u.jsx(Cn,{variant:"outlined","aria-label":b("card.accessibility.share_button"),disabled:p.share,onClick:U,sx:{backgroundColor:"#FCFCFC",color:"#161518",borderColor:"#E0E0E0",borderRadius:2,minWidth:"auto",width:48,height:40,p:0,"&:hover":{backgroundColor:"#F5F5F5",borderColor:"#FF2D55"},"&:disabled":{backgroundColor:"#FCFCFC",color:"#161518",borderColor:"#E0E0E0",opacity:.7}},children:p.share?u.jsx(_s,{size:16,sx:{color:"#FF2D55"}}):u.jsx(x6,{sx:{fontSize:16,color:"#FF2D55"}})})]})}):$&&h?u.jsx(xG,{isMobile:!0,children:J?u.jsx(Aw,{isMobile:!0,children:u.jsx(Cn,{variant:"contained",color:"secondary",href:jr.get("EVENTS_URL"),size:"large",fullWidth:!0,sx:{color:"#161518 !important"},children:b("events_page.explore_events_button")})}):u.jsxs(u.Fragment,{children:[u.jsx(Aw,{isMobile:!0,children:u.jsx(Cn,{variant:"outlined",color:"primary",startIcon:p.calendar?u.jsx(_s,{size:16,sx:{color:"#FCFCFC"}}):u.jsx(qM,{sx:{fontSize:16}}),"aria-label":b("card.accessibility.add_to_calendar_button"),disabled:p.calendar,onClick:I,sx:{color:"#FCFCFC",borderColor:"#FCFCFC",borderRadius:2,textTransform:"none",fontWeight:600,fontSize:14,px:3,py:1,width:"100%","&:hover":{backgroundColor:"#4A0F5F",borderColor:"#FCFCFC",color:"#FCFCFC !important"},"&:disabled":{color:"#FCFCFC",borderColor:"#FCFCFC",opacity:.7}},children:b("card.event.add_to_calendar")})}),u.jsxs(Aw,{isMobile:!0,children:[u.jsx(Cn,{variant:"outlined",startIcon:p.interested?u.jsx(_s,{size:16,sx:{color:q.attending?"#FF2D55":"#161518"}}):q.attending?u.jsx(By,{sx:{fontSize:16}}):u.jsx(WM,{sx:{fontSize:16}}),"aria-label":b("card.accessibility.interested_button"),disabled:p.interested,onClick:S,sx:{backgroundColor:"#FCFCFC",color:q.attending?"#FF2D55":"#161518",borderColor:q.attending?"#FF2D55":"#E0E0E0",borderRadius:2,textTransform:"none",fontWeight:600,fontSize:14,px:3,py:1,flex:1,"&:hover":{backgroundColor:"#F5F5F5",borderColor:q.attending?"#FF2D55":"#CCCCCC",color:q.attending?"#FF2D55 !important":"#161518 !important"},"&:disabled":{backgroundColor:"#FCFCFC",color:q.attending?"#FF2D55":"#161518",borderColor:q.attending?"#FF2D55":"#E0E0E0",opacity:.7}},children:b("card.event.interested")}),u.jsx(ku,{"aria-label":b("card.accessibility.share_button"),disabled:p.share,onClick:U,sx:{backgroundColor:"#FCFCFC",color:"#161518",borderColor:"#E0E0E0",borderRadius:2,minWidth:"auto",height:40,width:40,p:0,"&:hover":{backgroundColor:"#F5F5F5",borderColor:"#FF2D55"},"&:disabled":{backgroundColor:"#FCFCFC",color:"#161518",borderColor:"#E0E0E0",opacity:.7}},children:p.share?u.jsx(_s,{size:16,sx:{color:"#FF2D55"}}):u.jsx(x6,{sx:{fontSize:16,color:"#FF2D55"}})})]})]})}):null}),u.jsx(Tbe,{open:v.open,autoHideDuration:v.autoHideDuration,onClose:D,anchorOrigin:{vertical:"bottom",horizontal:"center"},sx:{bottom:h?"160px":0},children:u.jsxs(Pe,{sx:{display:"flex",alignItems:"center",gap:"12px",backgroundColor:"#000000",color:"white",borderRadius:"12px",px:2,py:"12px",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.3)"},children:[u.jsx(pfe,{sx:{fontSize:20,color:"white"}}),u.jsxs(Jt,{variant:"body2",sx:{fontSize:14,fontWeight:600},children:[b(v.action==="added"?"event.snackbar.added_to_my_events":"event.snackbar.removed_from_my_events",{eventTitle:v.eventTitle})," ",u.jsx(Jt,{component:"a",href:"https://decentraland.org/events/me/",target:"_blank",rel:"noopener noreferrer",sx:{color:"#FF2D55",fontSize:14,fontWeight:600,textDecoration:"none",cursor:"pointer","&:hover":{textDecoration:"underline"}},children:b("event.snackbar.my_events")})]})]})})]})});var xD={},$vt=Ir;Object.defineProperty(xD,"__esModule",{value:!0});var Lfe=xD.default=void 0,Hvt=$vt(Dr()),Vvt=u;Lfe=xD.default=(0,Hvt.default)((0,Vvt.jsx)("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"}),"Home");const zvt=de(Cn)({"&:hover":{backgroundColor:"transparent",textDecoration:"none"},"&:focus":{backgroundColor:"transparent",textDecoration:"none"},padding:0,minWidth:"auto"}),qvt=({children:e,...t})=>u.jsx(zvt,{variant:"text",color:"primary",...t,children:e}),Wvt="https://cdn.decentraland.org/@dcl/jump-site/1.1.1-23306513054.commit-ab06ce4/assets/background-invalid-events-page-4wvWf0ma.webp",Gvt="https://cdn.decentraland.org/@dcl/jump-site/1.1.1-23306513054.commit-ab06ce4/assets/background-invalid-places-page-HmsH9QxH.webp",Kvt=de(pD)(({isEventPage:e,isMobile:t,theme:r})=>({justifyContent:"center",position:"relative",overflow:"hidden",backgroundImage:`${t?"linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0))":"linear-gradient(104.62deg, #7106A0 17.97%, rgba(113, 6, 160, 0) 75.95%)"}, url(${e?Wvt:Gvt})`,backgroundSize:"cover",backgroundPosition:"center",[r.breakpoints.down("sm")]:{minHeight:"calc(100vh - 150px)",justifyContent:"flex-start",padding:"50px 18px 0 18px"}})),Yvt=de(Pe)(({theme:e})=>({display:"flex",flexDirection:"column",justifyContent:"center",borderRadius:"24px",padding:"48px",backgroundColor:"#36044CF2",width:"691px",[e.breakpoints.down("sm")]:{width:"100%",padding:"48px 24px",alignSelf:"center"}})),Zvt=de("div")({position:"fixed",display:"flex",flexDirection:"column",gap:"16px",bottom:-1,left:0,right:0,padding:24,background:"linear-gradient(100.12deg, #130119 0%, #320524 100%)",borderTop:"1px solid rgba(255, 255, 255, 0.1)",zIndex:1e3}),CG=F.memo(({isEventPage:e=!1})=>{const t=hp(),r=pp();return u.jsxs(Kvt,{isEventPage:e,isMobile:r,children:[u.jsxs(Yvt,{children:[u.jsx(Jt,{variant:"h3",mb:"24px",children:t("invalid_page.title")}),u.jsx(Jt,{variant:"h6",mb:"48px",children:t(r?"invalid_page.message_mobile":"invalid_page.message")}),r?null:u.jsx(bfe,{position:"0,0",size:"large",fullWidth:!0,sx:{marginBottom:"16px"},children:t("invalid_page.jump_in_button")}),e?u.jsx(Cn,{variant:"contained",color:"secondary",href:jr.get("EVENTS_URL"),size:"large",fullWidth:!0,sx:{marginBottom:"16px",color:"#161518 !important"},children:t("events_page.explore_events_button")}):null,u.jsx(Jt,{variant:r?"h6":"subtitle1",color:"white",textAlign:"center",children:t("invalid_page.learn_more",{a:n=>u.jsx(qvt,{variant:"text",color:"primary",href:jr.get("HOME_URL"),target:"_blank",rel:"noopener noreferrer",disableRipple:!0,sx:{fontWeight:"inherit !important",fontSize:"inherit !important",lineHeight:"inherit !important",letterSpacing:"inherit !important",textTransform:"none !important",verticalAlign:"inherit !important"},children:n})})})]}),r&&u.jsx(Zvt,{children:u.jsx(Cn,{variant:"contained",color:"primary",href:jr.get("HOME_URL"),size:"large",fullWidth:!0,startIcon:u.jsx(Lfe,{}),children:t("invalid_page.go_home_button")})})]})});class Jvt{constructor(){this.baseUrl=jr.get("WORLD_CONTENT_API_URL")}async fetchWorldContentAbout(t,r){const n=r||fetch;try{if(!(t!=null&&t.world))return{ok:!1,error:"World parameter is required"};if(!vfe(t.world))return{ok:!1,error:"Invalid world name. Must be an ENS name (ending with .eth)"};const i=`${this.baseUrl}/${t.world.toLowerCase()}/about`,o=await n(i);return o.ok?{ok:!0,data:await o.json()}:{ok:!1,error:`HTTP error! status: ${o.status}`}}catch(i){const o=i instanceof Error?i.message:"Unknown error occurred";return console.error("Error fetching world content about:",o),{ok:!1,error:o}}}}const Xvt=async(e,t=fetch)=>{const n=await new Jvt().fetchWorldContentAbout(e,t);if(!n.ok)throw new Error(n.error||"Failed to fetch world content about");return n.data},Qvt=()=>{const e=F.useCallback(n=>/^[a-zA-Z][a-zA-Z\d+\-.]*:\/\//.test(n)?n:`https://${n}`,[]),t=F.useCallback(async n=>{if(vfe(n))try{const o=await Xvt({world:n});return o.healthy&&o.acceptingUsers}catch{return!1}else return await Y3t(n)},[]);return{validateRealmOrWorld:F.useCallback(async n=>{if(!n||n===hfe)return{isValid:!0,validatedRealmOrWorld:n};try{return await t(n)?{isValid:!0,validatedRealmOrWorld:n}:{isValid:!1,error:`The realm ${n} is not healthy or not accepting users`}}catch(i){return{isValid:!1,error:i instanceof Error?i.message:"Unknown validation error"}}},[e,t])}},SG=new yfe,AG=F.memo(()=>{const e=zR(),{position:t,realm:r}=mfe(),{validateRealmOrWorld:n}=Qvt(),[i,o]=F.useState([]),[a,s]=F.useState({user_name:"",user:"",avatar:""}),[l,c]=F.useState(!0);console.log("Parameters",t,r);const d=F.useMemo(()=>(f,p)=>({id:"generic-place",type:"place",title:p||"",user_name:"Unknown",coordinates:f,image:void 0,description:`Welcome to ${p}! Explore this virtual world and discover amazing places.`,user_count:0,favorites:0,scene_name:"Decentraland",position:f.join(","),realm:p}),[]);return F.useEffect(()=>{(async()=>{var p,m;c(!0);try{let v;if(r){const b=await n(r);if(!b.isValid)throw new Error(b.error);v=b.validatedRealmOrWorld}const g=await R9({position:t.coordinates,realm:v});if(g.ok&&g.data.length>0){const b=g.data.map(V3t);o(b);const h=await SG.fetchSceneDeployerInfo(b[0].coordinates.join(","));if(h.ok&&h.data)s({user_name:h.data.deployerName,user:h.data.deployerAddress,avatar:h.data.deployerAvatar});else if(b[0].user_name){const y=await SG.fetchUserProfile(b[0].user_name);y.ok&&y.data&&s({user_name:y.data.avatars[0].name,user:y.data.avatars[0].userId,avatar:(m=(p=y.data.avatars[0].avatar)==null?void 0:p.snapshots)==null?void 0:m.face256})}}else{const b=d(t.coordinates,v);o([b])}}catch{e("/places/invalid")}finally{c(!1)}})()},[t.coordinates,r,e,n]),u.jsx(pD,{children:u.jsx(Ofe,{data:i[0],creator:a,isLoading:l})})});function e5t(){const e=qy(),{page:t}=$7();F.useEffect(()=>{t(e.pathname)},[e,t])}const t5t=F.memo(()=>(e5t(),u.jsx(X0e,{children:u.jsxs(Kc,{element:u.jsx(g3t,{}),children:[u.jsxs(Kc,{path:"/places",children:[u.jsx(Kc,{index:!0,element:u.jsx(AG,{})}),u.jsx(Kc,{path:"invalid",element:u.jsx(CG,{isEventPage:!1})})]}),u.jsxs(Kc,{path:"/events",children:[u.jsx(Kc,{index:!0,element:u.jsx(Uvt,{})}),u.jsx(Kc,{path:"invalid",element:u.jsx(CG,{isEventPage:!0})})]}),u.jsx(Kc,{path:"*",element:u.jsx(AG,{})})]})}))),r5t=/^decentraland.(zone|org|today)$/.test(window.location.host)?"/jump":"/",n5t=e=>t=>Koe(t,e);HY(document.getElementById("root")).render(u.jsx(F.StrictMode,{children:u.jsx(rhe,{basename:r5t,children:u.jsx(t8e,{theme:n8e,children:u.jsx(Mze,{messages:YT,supportedLocales:dze(YT),defaultLocale:"en",storageKey:jr.get("STORAGE_LOCALE_KEY","dcl-locale"),children:u.jsx(S7e,{writeKey:jr.get("SEGMENT_API_KEY"),children:u.jsx(PHe,{config:{defaultChainId:jr.get("CHAIN_ID"),authUrl:jr.get("AUTH_URL"),basePath:"/jump",shouldUseBasePath:Goe,fetchAvatar:n5t(jr.get("PEER_URL")),debug:!1},children:u.jsx(t5t,{})})})})})})}));export{ka as _,kt as a,Nm as b,xs as c,nae as d,iae as e,X as f,Eh as g,Nc as h,NPe as i,_f as j,_Oe as k,UIe as l,fre as r,g5t as t};
|