"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6374],{36833:function(e,t,o){o.r(t),o.d(t,{Providers:function(){return tu}});var r=o(85893),n=o(36667),i=o(5152),a=o.n(i),d=o(41266),l=o(94142),p=o(90075),s=o(70917),c=o(19698),b=o(64186),x=o(70586);let{definePartsStyle:g,defineMultiStyleConfig:f}=(0,x.D)(b.aP.keys),u=g({container:{pr:8,pl:6,py:5,bg:"#A0AEC0",borderTopRightRadius:"12px",borderBottomRightRadius:"12px"},title:{fontWeight:500,fontSize:"16px",lineHeight:"20px",color:l.O9.primary},description:{fontWeight:300,fontSize:"14px",lineHeight:"16px"}}),h=f({baseStyle:u}),m=(0,x.k0)({bg:"linear-gradient(86.97deg, rgba(140, 110, 239, 0.65) 6.03%, rgba(140, 110, 239, 0.5) 94.29%);",transform:"matrix(1, 0, -0.22, 0.98, 0, 0)",fontSize:"10px",py:"2px",px:"8px",borderRadius:"4px",color:"#ECF5FF"}),y=(0,x.k0)({width:"fit-content",textTransform:"none",bg:l.O9.backgroundTransparent12,py:"1px",px:"8px",display:"flex",alignItems:"center",borderRadius:"8px",fontWeight:"normal",height:"fit-content",color:l.O9.textSecondary}),k=(0,x.k0)({width:"fit-content",textTransform:"none",bg:l.O9.backgroundTransparent12,py:"1px",px:"8px",display:"flex",alignItems:"center",gap:".35em",borderRadius:"8px",fontWeight:"normal",height:"fit-content",color:l.O9.textSecondary,"&::before":{content:'""',width:".5em",height:".5em",rounded:"full",bg:l.O9.priceFloatingUp,transform:"translateY(5%)"}}),O=(0,x.k0)({width:"fit-content",textTransform:"none",bg:l.O9.backgroundTransparent12,py:"1px",px:"8px",display:"flex",alignItems:"center",gap:".35em",borderRadius:"8px",fontWeight:"normal",height:"fit-content",color:l.O9.textSecondary,"&::before":{content:'""',width:".5em",height:".5em",rounded:"full",bg:l.O9.priceFloatingDown,transform:"translateY(5%)"}}),S={baseStyle:{fontWeight:"600",cursor:"pointer"},sizes:{xs:{height:"20px",paddingInline:"6px"},sm:{minHeight:"36px",minWidth:"100px"},md:{minHeight:"48px",minWidth:"180px"},lg:{minHeight:"60px",minWidth:"140px"}},variants:{solid:{background:l.O9.solidButtonBg,color:l.O9.textRevertPrimary,_hover:{background:l.O9.solidButtonHoverBg},_active:{background:l.O9.solidButtonHoverBg},"&:disabled:disabled":{opacity:"0.4",background:l.O9.solidButtonBg}},"solid-dark":{background:l.O9.backgroundDark,color:l.O9.textSecondary,_hover:{opacity:"0.9",background:l.O9.backgroundDark50},"&:disabled:disabled":{opacity:"0.5",background:l.O9.solidButtonBg}},capsule:{background:l.O9.backgroundDark,color:l.O9.textPrimary,border:"1px solid transparent",borderRadius:"100px",minWidth:"revert",minHeight:"revert",_hover:{background:l.O9.backgroundTransparent12},_active:{borderColor:"var(--active-border-color, ".concat(l.O9.secondary,")"),color:"var(--active-color, ".concat(l.O9.textPrimary,")")},"&:disabled:disabled":{opacity:"0.5",cursor:"not-allowed"}},"capsule-radio":{bg:l.O9.backgroundTransparent12,color:l.O9.textSecondary,border:"1px solid transparent",borderRadius:"100px",minWidth:"revert",minHeight:"revert",_hover:{background:l.O9.backgroundTransparent07},_active:{borderColor:"var(--active-border-color, ".concat(l.O9.selectActiveSecondary,")"),color:"var(--active-color, ".concat(l.O9.textPrimary,")"),fontWeight:500},"&:disabled:disabled":{opacity:"0.5",cursor:"not-allowed"}},"rect-rounded-radio":{background:l.O9.backgroundThemeLight,color:l.O9.secondary,borderRadius:"4px",minWidth:"revert",minHeight:"revert",_hover:{background:l.O9.secondary15},_active:{color:l.O9.textSecondary},"&:disabled:disabled":{opacity:"0.5",cursor:"not-allowed"}},outline:{borderColor:l.O9.secondary,borderRadius:14,color:l.O9.secondary,_hover:{opacity:"0.9",background:l.O9.outlineButtonBg},_active:{filter:"brightness(0.7)",opacity:"0.9",background:l.O9.outlineButtonBg},"&:disabled:disabled":{opacity:"0.5"}},ghost:{color:l.O9.textPrimary,minWidth:"revert",minHeight:"revert",_hover:{opacity:"0.9",background:l.O9.backgroundF9F9F9},_active:{filter:"brightness(0.7)",opacity:"0.9",background:l.O9.outlineButtonBg},"&:disabled:disabled":{opacity:"0.5"}},danger:{background:l.O9.textPink,color:l.O9.buttonSolidText,_hover:{opacity:"0.9",background:l.O9.textPink},_active:{filter:"brightness(0.7)",opacity:"0.9",background:l.O9.textPink},"&:disabled:disabled":{opacity:"0.5",background:l.O9.textPink}}}},{definePartsStyle:v,defineMultiStyleConfig:w}=(0,x.D)(b.SG.keys),z=v({container:{"--card-bg":l.O9.backgroundLight,px:8,py:12}}),R=w({variants:{unstyled:z},defaultProps:{variant:"unstyled"}}),{definePartsStyle:_,defineMultiStyleConfig:P}=(0,x.D)(b.TB.keys),W=_({icon:{color:l.O9.backgroundDark},control:{backgroundColor:l.O9.buttonBg01,borderWidth:"0",borderRadius:"4px",_checked:{backgroundColor:l.O9.secondary,borderColor:"transparent","&:hover":{backgroundColor:l.O9.secondary,borderColor:"transparent"}}}}),C=P({baseStyle:W}),T=(0,x.k0)({borderWidth:"1.5px",borderStyle:"solid",borderRadius:10,borderColor:l.O9.dividerBg}),B=(0,x.k0)({borderWidth:"2px",borderStyle:"dashed",borderColor:l.O9.dividerBg}),D=(0,x.fj)({variants:{solid:T,dash:B}}),{definePartsStyle:I,defineMultiStyleConfig:L}=(0,x.D)(b.iU.keys),M=I({dialog:{bg:l.O9.backgroundLight,borderRadius:["18px","12px"]},header:{padding:["12px 16px","16px 20px"]},closeButton:{transform:"scale(1.3)",top:["16px","26px"],right:["16px","20px"],color:l.O9.textSecondary},body:{paddingX:["16px","20px"],paddingY:["20px","26px"]},footer:{bg:l.O9.backgroundTransparent12,borderTopRadius:"none",borderBottomRadius:"inherit",color:l.O9.secondary,display:"flex",justifyContent:"center",py:["8px","14px"],pt:["14px",void 0],px:["16px","20px"]}}),H=I({dialog:{marginX:["unset","40px"],marginY:["unset","80px"],borderRadius:["0px","12px"]},closeButton:{}}),j=I({body:{paddingY:"0"},dialog:{pt:1,borderBottomRadius:"none",maxHeight:"90vh"},footer:{bg:"transparent"}}),G=L({baseStyle:M,variants:{flatScreenEdgePanel:H,popFromBottom:j}}),F=(0,x.fj)({baseStyle:(0,x.k0)({marginBottom:"0",fontSize:"14px",color:l.O9.textTertiary})}),{definePartsStyle:A,defineMultiStyleConfig:E}=(0,x.D)(b.X.keys),Y=A({field:{width:"210px",fontSize:"14px",bg:l.O9.backgroundTransparent12,borderRadius:"12px",border:"1px solid transparent",_hover:{bg:l.O9.backgroundTransparent07},_focus:{bg:l.O9.backgroundTransparent12,borderColor:l.O9.selectActive},_focusVisible:{bg:l.O9.backgroundTransparent12,borderColor:l.O9.selectActive},_placeholder:{color:l.O9.textTertiary,fontWeight:500},_invalid:{border:"1px solid red"}}}),q=A({field:{fontSize:"14px",bg:l.O9.backgroundDark,borderRadius:"999px",borderWidth:"0",_focus:{},_placeholder:{color:l.O9.textTertiary,fontWeight:500},_invalid:{border:"1px solid red"}}}),V=A({field:{fontSize:"xl",fontWeight:"medium",color:l.O9.textPrimary,bg:"transparent",padding:0,height:"auto",lineHeight:"normal",boxShadow:"none",borderRadius:0}}),N=A({field:{width:"210px",fontSize:"14px",bg:l.O9.backgroundLight,borderRadius:"12px",_hover:{bg:l.O9.backgroundLight},_focus:{bg:l.O9.backgroundLight},_focusVisible:{bg:l.O9.backgroundLight,borderColor:"transparent",boxShadow:"none"},_invalid:{border:"1px solid red"}}}),U=E({variants:{filled:Y,filledDark:q,clean:V,number:N},defaultProps:{variant:"filled"}}),X={variants:{outline:{textDecoration:"none","&:hover":{textDecoration:"none"}},highlight:{color:l.O9.textSeptenary,textDecoration:"underline"}},baseStyle:{fontWeight:500,color:l.O9.textLink,display:"inline"}},{definePartsStyle:J,defineMultiStyleConfig:$}=(0,x.D)(b.rk.keys),K=J({button:{fontSize:"20px"},list:{borderRadius:"20px"},divider:{mx:"20px",my:"12px"},item:{fontSize:"16px",fontWeight:"400"}}),Q=J({button:{fontSize:"20px"},list:{borderRadius:"20px",width:"min(100vw - 2 * 20px, 480px)",px:["20px","32px"],py:"24px",mx:"20px",boxShadow:[l.q.appMask,l.q.bigCard].join(",")},divider:{mx:"20px",my:"12px"},item:{fontSize:"16px",fontWeight:"400"}}),Z=J({button:{textAlign:"left",fontWeight:"500",fontSize:"14px",py:"11px",px:"14px",borderRadius:"8px",color:l.O9.textTertiary,_hover:{bg:l.O9.backgroundLight,color:l.O9.textSecondary},_expanded:{bg:l.O9.backgroundLight,color:l.O9.textSecondary}},list:{py:"4px",borderRadius:"8px",border:"1px solid",borderColor:l.O9.backgroundDark,overflow:"hidden",bg:l.O9.backgroundLight,zIndex:1050},divider:{borderColor:l.O9.textSecondary,opacity:.1,mx:"12px",my:"8px"},item:{fontWeight:"500",fontSize:"14px",color:l.O9.textPrimary,py:"10px",px:"20px",transition:"200ms",bg:"transparent",_hover:{color:l.O9.textPrimary,bg:l.O9.backgroundMedium},_focus:{color:l.O9.textSecondary,bg:l.O9.backgroundMedium}}}),ee=$({baseStyle:Z,sizes:{lg:K,"3xl":Q}});var et=o(25789);let{definePartsStyle:eo,defineMultiStyleConfig:er}=(0,x.D)(b.wl.keys),en=eo({closeButton:{top:["24px","28px"],right:["24px","32px"],width:"2em",height:"2em",color:l.O9.textSecondary},dialog:{bg:l.O9.backgroundLight,paddingInline:["20px","24px"],paddingBlock:"18px",borderRadius:["20px","12px"],maxHeight:["95%","90%"]},body:{padding:"0",overflow:"auto"},header:{padding:"0px",marginTop:["4px","10px"],marginBottom:["16px","18px"],fontSize:["lg","xl"],fontWeight:500},footer:{padding:"0px"}}),ei=eo({dialog:{width:"min(300px, 90vw)"}}),ea=eo({dialog:{width:"min(464px, 90vw)"}}),ed=eo({dialog:{width:"min(674px, 90vw)"},closeButton:{top:["24px","28px"]}}),el=eo({closeButton:{top:["24px","32px"],right:["24px","32px"],transform:"scale(1.3)"},dialog:{width:"min(674px, 90vw)",height:["100%","auto"]},header:{marginTop:["4px","10px"],marginBottom:["16px","18px"]}}),ep=eo({dialog:{width:"min(624px, 90vw)"}}),es=eo({dialog:{width:"min(720px, 90vw)"}}),ec=eo({dialog:{width:["100vw","min(464px, 90vw)"],maxWidth:"unset",height:["100%","unset"],maxHeight:["100%","80%"],borderRadius:["0","12px"],backgroundColor:l.O9.backgroundDark}}),eb=er({baseStyle:en,variants:{mobileFullPage:ec},sizes:{sm:ei,md:ea,lg:ed,xl:el,"2xl":ep,"3xl":es}});et.u_.defaultProps={isCentered:!0};let{definePartsStyle:ex,defineMultiStyleConfig:eg}=(0,x.D)(b.V1.keys),ef=ex({field:{width:"210px",fontSize:"14px",bg:l.O9.backgroundLight,borderRadius:"12px",_hover:{bg:l.O9.backgroundLight},_focus:{bg:l.O9.backgroundLight},_focusVisible:{bg:l.O9.backgroundLight,borderColor:"transparent",boxShadow:"none"},_invalid:{border:"1px solid red"}},stepperGroup:{display:"none"}}),eu=ex({field:{width:"210px",fontSize:"14px",bg:l.O9.backgroundDark,borderRadius:"12px",_hover:{bg:l.O9.backgroundDark},_focus:{bg:l.O9.backgroundDark},_focusVisible:{bg:l.O9.backgroundDark,borderColor:"transparent",boxShadow:"none"},_invalid:{border:"1px solid red"}}}),eh=ex({field:{fontSize:"xl",fontWeight:"medium",color:l.O9.textPrimary,bg:"transparent",padding:0,height:"auto",lineHeight:"normal",boxShadow:"none",borderRadius:0,_invalid:{border:"1px solid red"}}}),em=eg({variants:{filled:ef,filledDark:eu,clean:eh},defaultProps:{variant:"filled"}}),ey={baseStyle:{popper:{border:"none","--popper-arrow-size":"12px"},header:{border:"none",paddingBottom:"0",fontSize:"14px",fontWeight:"500",color:l.O9.textPrimary},body:{paddingTop:"0",fontSize:"12px",color:l.O9.textSecondary},content:{bg:l.O9.popoverBg,border:"none",width:"fit-content",maxWidth:"300px"},arrow:{boxShadow:"none !important",borderColor:l.O9.popoverBg,bg:"".concat(l.O9.popoverBg," !important")}}},{definePartsStyle:ek,defineMultiStyleConfig:eO}=(0,x.D)(b.Eb.keys),eS=ek({track:{bg:l.O9.backgroundDark,borderRadius:"100vw"},filledTrack:{bg:l.O9.filledProgressBg}}),ev=eO({baseStyle:eS}),{definePartsStyle:ew,defineMultiStyleConfig:ez}=(0,x.D)(b.q0.keys),eR=ew({container:{pb:4},filledTrack:{bg:l.O9.secondary},track:{bg:l.O9.backgroundDark},thumb:{bg:l.O9.secondary,boxSize:"24px",_active:{transform:"translateY(-50%)"}},mark:{color:l.O9.textSecondary,mt:"16px",fontSize:"12px",fontWeight:"500",transform:"translateX(var(--tx, 0))",bg:l.O9.backgroundTransparent12,borderRadius:"4px",py:"2px",px:"4px"}}),e_=ez({baseStyle:eR}),eP={baseStyle:{indicator:{"&[data-status=active]":{borderWidth:"0px",color:l.O9.backgroundDark},borderWidth:"transparent",bg:l.O9.primary},separator:{background:l.O9.primary}},sizes:{lg:{number:{fontSize:"md"},title:{fontSize:"sm"},description:{fontSize:"md"},separator:{marginLeft:"5px",marginTop:"7.5px"}}}},eW={baseStyle:{colorScheme:{color:l.O9.textSecondary}}},{definePartsStyle:eC,defineMultiStyleConfig:eT}=(0,x.D)(b.ke.keys),eB=eC({thumb:{bg:l.O9.switchOff,opacity:.5,_checked:{bg:l.O9.switchOn,opacity:1}},track:{bg:l.O9.backgroundTransparent12}}),eD=eC({container:{"--switch-track-width":"1.5em"},track:{width:"1.5em"}}),eI=eC({container:{"--switch-track-width":"2.25em"},track:{width:"2.25em"}}),eL=eC({container:{"--switch-track-width":"3.5em"},track:{width:"3.5em"}}),eM=eT({baseStyle:eB,sizes:{sm:eD,md:eI,lg:eL}}),{definePartsStyle:eH,defineMultiStyleConfig:ej}=(0,x.D)(b.l1.keys),eG=eH({thead:{th:{py:"10px","&:last-child td":{borderBottom:"none"}}},tbody:{}}),eF=ej({baseStyle:eG,defaultProps:{size:"sm"}}),{definePartsStyle:eA,defineMultiStyleConfig:eE}=(0,x.D)(b.nw.keys),eY=eA({root:{position:"relative"},tab:{position:"relative",color:l.O9.textSecondary,_selected:{color:l.O9.textPrimary,backgroundColor:"transparent"},transition:"150ms",border:"none !important"},tablist:{position:"relative",border:"none",borderBottom:"none"},indicator:{transitionDuration:"300ms !important",bg:l.O9.textSecondary}}),eq=eA(()=>({root:{position:"relative"},tab:{color:"rgba(171, 196, 255,.5)",fontWeight:"500",_selected:{color:l.O9.textSecondary},zIndex:"2"},tablist:{position:"relative",border:"none !important"},indicator:{zIndex:"1",h:"100%",bg:"rgba(171, 196, 255, 0.12)",borderRadius:["6px","md"]}})),eV=eA(()=>({root:{position:"relative"},tab:{color:l.O9.textSecondary,_selected:{color:l.O9.textPrimary},zIndex:"2"},tablist:{position:"relative",border:"none !important",borderBottom:"none"},indicator:{bottom:"1px",bgGradient:l.O9.brandGradient,height:"3px",borderRadius:"md"}})),eN=eA(()=>({root:{bg:l.O9.backgroundTransparent12,borderRadius:"14px",p:"4px",position:"relative"},tab:{color:l.O9.textPrimary,fontWeight:"500",_selected:{color:l.O9.textPrimary,fontWeight:"medium"},zIndex:"2"},tablist:{position:"relative"},indicator:{zIndex:"1",h:"100%",bg:l.O9.backgroundLight100,borderRadius:"10"}})),eU=eA(()=>({root:{bg:l.O9.backgroundDark,borderRadius:"8px",p:"4px",position:"relative"},tab:{color:l.O9.textSecondary,opacity:"0.5",fontWeight:"500",_selected:{color:l.O9.textSecondary,opacity:1,fontWeight:"medium"},zIndex:"2"},tablist:{position:"relative"},indicator:{zIndex:"1",h:"100%",bg:l.O9.backgroundTransparent12,borderRadius:"md"}})),eX=eA(e=>{let{colorMode:t}=e;return{root:{bg:l.O9.backgroundTransparent12,borderRadius:"27px",p:"4px",position:"relative"},tab:{color:l.O9.textSecondary,fontWeight:"500",_selected:{fontWeight:"500",color:l.O9.textRevertPrimary},zIndex:"2"},tablist:{position:"relative"},indicator:{zIndex:"1",h:"100%",bg:"light"===t?l.O9.solidButtonBg:l.O9.brandGradient,borderRadius:"27px"}}}),eJ=eA(e=>{let{colorScheme:t}=e;return{root:{bg:l.O9.backgroundLight,borderRadius:"8px",p:"4px",position:"relative"},tab:{color:l.O9.secondary,fontWeight:"500",px:"8px",_selected:{fontWeight:"500",color:l.O9.secondary},zIndex:"2"},tablist:{position:"relative"},indicator:{zIndex:"0",h:"100%",bg:l.O9.backgroundDark,borderRadius:"8px"}}}),e$=eA({tab:{color:l.O9.textSecondary,fontWeight:"400",bg:"transparent",py:"12px",px:"3%",mx:"3%",transitionDuration:"0ms",_selected:{fontWeight:"500",color:l.O9.textPrimary,bg:l.O9.backgroundLight,"&::before":{content:'""',position:"absolute",top:"0px",bottom:"0px",left:"-20px",width:"36px",background:"inherit",borderRadius:"10px 0px 0px 0px",transform:"skew(335deg)"},"&::after":{content:'""',position:"absolute",top:"0px",bottom:"0px",right:"-20px",width:"36px",background:"inherit",borderRadius:"0px 10px 0px 0px",transform:"skew(25deg)"}}},indicator:{bottom:"2px",bgGradient:l.O9.brandGradient,height:"2px",borderRadius:"md",transform:"scaleX(0.2)"},tablist:{bg:l.O9.tabFolderTabListBg}}),eK=eA(()=>({root:{bg:l.O9.backgroundTransparent12,borderRadius:"43px",p:"4px",position:"relative"},tab:{color:l.O9.textSecondary,fontWeight:"500",opacity:".5",_selected:{fontWeight:"500",color:l.O9.textSecondary,opacity:"1"}},tablist:{px:"8px"}})),eQ=eA(()=>({root:{bg:l.O9.backgroundTransparent12,borderRadius:"27px",p:"4px",position:"relative"},tab:{color:l.O9.textSecondary,fontWeight:"500",_selected:{fontWeight:"500"},zIndex:"2"},tablist:{position:"relative"},indicator:{zIndex:"1",h:"100%",bg:l.O9.switchOn,borderRadius:"27px"}})),eZ=eA({tab:{px:"4px",py:"2px",fontSize:"xs"}}),e0=eA({tab:{px:"4px",py:"2px",fontSize:"sm"}}),e9=eA({tab:{px:"16px",py:"4px",fontSize:"md"}}),e1=eA({tab:{px:"16px",py:"6px",fontSize:"lg"}}),e2=eA({tab:{px:"16px",py:"6px",fontSize:"xl"}}),e5=eE({baseStyle:eY,sizes:{xs:eZ,sm:e0,md:e9,lg:e1,xl:e2},defaultProps:{variant:"line",size:"sm"},variants:{line:eV,square:eq,squarePanel:eN,squarePanelDark:eU,rounded:eX,folder:e$,roundedLight:eJ,roundedPlain:eK,roundedSwitch:eQ}}),{definePartsStyle:e4,defineMultiStyleConfig:e6}=(0,x.D)(b.VM.keys),e8=e4({container:{bg:l.O9.backgroundTransparent12,color:l.O9.textSecondary,borderRadius:"21px"}}),e3=e4({container:{width:"fit-content",textTransform:"none",bg:l.O9.badgePurple,py:"1px",px:"8px",display:"flex",alignItems:"center",borderRadius:"8px",fontWeight:"normal",height:"fit-content",color:l.O9.textPrimary,transform:"skew(-10deg)"}}),e7=(0,x.k0)({px:"10px",py:"1px",fontSize:"14px"}),te=(0,x.k0)({px:"8px",py:"1px",fontSize:"12px"}),tt={sm:e4({container:te}),md:e4({container:e7})},to=e6({variants:{rounded:e8,parallelogram:e3},sizes:tt}),tr={variants:{dialogTitle:{fontSize:"20px",fontWeight:500,color:l.O9.textPrimary},title:{fontSize:"md",fontWeight:600,color:l.O9.textLight},subTitle:{fontSize:"md",fontWeight:600,color:l.O9.textLight},label:{fontSize:"xs",color:l.O9.textTertiary},error:{fontSize:"sm",fontWeight:400,color:l.O9.textPink}}};var tn=o(29498);let ti=(0,x.k0)({"--tooltip-bg":"revert !important","--tooltip-fg":"".concat(l.O9.textSecondary," !important"),fontSize:"14px",borderRadius:"8px",py:3,px:4}),ta=(0,x.k0)({py:"revert",px:"revert",borderRadius:"12px"});tn.u.defaultProps={hasArrow:!0,placement:"top"};let td=(0,x.fj)({baseStyle:ti,variants:{card:ta}});o(81537),o(16037),o(86728),o(63690),o(43618),o(1263),o(91250);let tl=(0,c.B1)({config:{initialColorMode:"light",useSystemColorMode:!1},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"20px",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},breakpoints:{sm:"48em",md:"90em",lg:"90em",xl:"90em","2xl":"96em","3xl":"104em"},components:{Divider:D,Avatar:{defaultProps:{variant:"sm",colorScheme:"blue"},baseStyle:{container:{bg:"transparent",color:"#fff"}}},Link:X,Button:S,Modal:eb,Drawer:G,Input:U,NumberInput:em,Tabs:e5,Checkbox:C,Menu:ee,Alert:h,Slider:e_,Card:R,Tooltip:td,Switch:eM,Stepper:eP,FormLabel:F,Progress:ev,Table:eF,Popover:ey,Badge:{variants:{crooked:m,ok:k,error:O,rounded:y}},Tag:to,Spinner:eW,Text:tr}}),tp=e=>{let{children:t}=e;return(0,r.jsxs)(p.x,{theme:tl,children:[(0,r.jsx)(s.xB,{styles:"\n html,\n body,\n #__next,\n .app {\n overflow: hidden; /* ensure web app's scrollbar will never exist*/\n height: 100%;\n }\n :root,body {\n --global-font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',\n 'Segoe UI Symbol';\n font-family: var(--global-font-family);\n font-feature-settings: 'ss04', 'tnum' 1;\n --chakra-fonts-heading: var(--global-font-family);\n --chakra-fonts-body: var(--global-font-family);\n --chakra-fonts-mono: var(--global-font-family);\n font-size: 16px;\n \n background: ".concat(l.O9.backgroundApp,";\n background-attachment: fixed;\n color: ").concat(l.O9.textPrimary,"\n }\n * {\n box-sizing: border-box;\n outline: none !important; /* without !important, the priority is not high enough */\n --chakra-shadows-outline: none !important;\n /* user-select: none; disable user-select so it is like a web app not web document */\n }\n :focus-visible {\n box-shadow: var(--chakra-shadows-outline);\n }\n input {\n font-weight: inherit;\n }\n\n input[type='number']::-webkit-outer-spin-button,\n input[type='number']::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n /* Firefox */\n input[type='number'] {\n -moz-appearance: textfield;\n }\n .chakra-icon {\n vertical-align: middle;\n line-height: 1;\n }\n\n\n @media (min-width: 48rem) { \n ::-webkit-scrollbar {\n background-color: transparent;\n width: 6px;\n height: 6px;\n }\n ::-webkit-scrollbar-thumb {\n background-color: ").concat(l.O9.scrollbarThumb,";\n border-radius: 8px;\n }\n ::-webkit-scrollbar-corner {\n background-color: transparent;\n }\n }\n\n // @font-face {\n // font-family: 'Space Grotesk';\n // src: url('/SpaceGrotesk[wght].woff2') format('woff2');\n // font-weight: 300;\n // }\n // @font-face {\n // font-family: 'Space Grotesk';\n // src: url('/SpaceGrotesk[wght].woff2') format('woff2');\n // font-weight: 400;\n // }\n // @font-face {\n // font-family: 'Space Grotesk';\n // src: url('/SpaceGrotesk[wght].woff2') format('woff2');\n // font-weight: 500;\n // }\n // @font-face {\n // font-family: 'Space Grotesk';\n // src: url('/SpaceGrotesk[wght].woff2') format('woff2');\n // font-weight: 700;\n // }\n // @font-face {\n // font-family: chillax;\n // src: url(/Chillax-Regular.woff2) format(\"woff2\"),\n // font-weight: 400;\n // font-display: swap;\n // font-style: normal\n // }\n\n // @font-face {\n // font-family: chillax;\n // src: url(/Chillax-Regular.woff2) format(\"woff2\")\n // font-weight: 500;\n // font-display: swap;\n // font-style: normal\n // }\n\n // @font-face {\n // font-family: chillax;\n // src: url(/assets/Chillax-Semibold.woff2) format(\"woff2\")\n // font-weight: 600;\n // font-display: swap;\n // font-style: normal\n // }\n\n // @font-face {\n // font-family: chillax;\n // src: url(/assets/Chillax-Semibold.woff2) format(\"woff2\")\n // font-weight: 700;\n // font-display: swap;\n // font-style: normal\n // }\n ")}),t]})};var ts=o(12916),tc=o(67294);function tb(e,t,o,r){return Object.entries(o).map(o=>{var n;let[i,a]=o,d=null===(n=a.match(/^var\((.*?)\)$/))||void 0===n?void 0:n[1];if(!d)return;let l=e[i],p=t[i];return"".concat(d,": ").concat("light"===r?l:p)})}let tx=e=>{let{children:t}=e,{colorMode:o}=(0,ts.If)(),n=(0,tc.useMemo)(()=>tb(l.C0,l._5,l.O9,o),[o]),i=(0,tc.useMemo)(()=>tb(l.s8,l.s8,l.J7,o),[o]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.xB,{styles:"\n :root {\n font-size: 16px;\n ".concat(n.join(";"),";\n ").concat(i.join(";"),"\n }\n ")}),t]})},tg=a()(()=>Promise.all([o.e(6496),o.e(3985)]).then(o.bind(o,83985)),{loadableGenerated:{webpack:()=>[83985]},ssr:!1}),tf={},tu=e=>{let{children:t}=e;return(0,r.jsx)(n.J$,{value:{onErrorRetry:(e,t,o,r,n)=>{var i,a;let{retryCount:l}=n;if(d.wH.has(null===(i=e.response)||void 0===i?void 0:i.status)||"ERR_NETWORK"===e.code)return;let p=(null===(a=e.message)||void 0===a?void 0:a.indexOf("429"))!==-1;l>=10||(tf[t]&&clearTimeout(tf[t]),tf[t]=window.setTimeout(()=>r({retryCount:l}),p?1e3*l:5e3))}},children:(0,r.jsx)(tp,{children:(0,r.jsx)(tx,{children:(0,r.jsx)(tg,{children:t})})})})}}}]);