naturalizer-design-system 1.0.0

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.
Files changed (51) hide show
  1. package/README.md +166 -0
  2. package/dist/App.d.ts +3 -0
  3. package/dist/components/atoms/MSAvatar.d.ts +9 -0
  4. package/dist/components/atoms/MSBadge.d.ts +12 -0
  5. package/dist/components/atoms/MSButton.d.ts +11 -0
  6. package/dist/components/atoms/MSChip.d.ts +9 -0
  7. package/dist/components/atoms/MSDivider.d.ts +8 -0
  8. package/dist/components/atoms/MSInput.d.ts +14 -0
  9. package/dist/components/atoms/MSSekuritasLogo.d.ts +26 -0
  10. package/dist/components/atoms/MSTooltip.d.ts +6 -0
  11. package/dist/components/atoms/MSTypography.d.ts +12 -0
  12. package/dist/components/atoms/index.d.ts +9 -0
  13. package/dist/components/index.d.ts +4 -0
  14. package/dist/components/molecules/MSAlertBanner.d.ts +14 -0
  15. package/dist/components/molecules/MSCarousel.d.ts +37 -0
  16. package/dist/components/molecules/MSFormField.d.ts +11 -0
  17. package/dist/components/molecules/MSSearchBar.d.ts +9 -0
  18. package/dist/components/molecules/MSTable.d.ts +39 -0
  19. package/dist/components/molecules/index.d.ts +5 -0
  20. package/dist/components/pages/LandingPage.d.ts +2 -0
  21. package/dist/components/pages/demo/BackToTop.d.ts +8 -0
  22. package/dist/components/pages/demo/BrandNavbar.d.ts +7 -0
  23. package/dist/components/pages/demo/CodeSnippet.d.ts +7 -0
  24. package/dist/components/pages/demo/ColorPaletteShowcase.d.ts +2 -0
  25. package/dist/components/pages/demo/ColorSwatch.d.ts +7 -0
  26. package/dist/components/pages/demo/ComponentDocumentation.d.ts +2 -0
  27. package/dist/components/pages/demo/ComponentPlayground.d.ts +11 -0
  28. package/dist/components/pages/demo/DesignSystemLayout.d.ts +7 -0
  29. package/dist/components/pages/demo/HeroSection.d.ts +5 -0
  30. package/dist/components/pages/demo/IconShowcase.d.ts +2 -0
  31. package/dist/components/pages/demo/TypographyShowcase.d.ts +2 -0
  32. package/dist/components/pages/demo/UsageGuide.d.ts +2 -0
  33. package/dist/components/pages/demo/index.d.ts +12 -0
  34. package/dist/components/pages/index.d.ts +2 -0
  35. package/dist/components/templates/index.d.ts +1 -0
  36. package/dist/constants/colors.d.ts +27 -0
  37. package/dist/constants/index.d.ts +7 -0
  38. package/dist/constants/spacing.d.ts +29 -0
  39. package/dist/constants/typography.d.ts +99 -0
  40. package/dist/favicon.ico +0 -0
  41. package/dist/index.d.ts +13 -0
  42. package/dist/logo192.png +0 -0
  43. package/dist/logo512.png +0 -0
  44. package/dist/logo_small.svg +9 -0
  45. package/dist/main.d.ts +0 -0
  46. package/dist/mirae-design-system.cjs +599 -0
  47. package/dist/mirae-design-system.js +49487 -0
  48. package/dist/mstock_logo.svg +28 -0
  49. package/dist/theme/ThemeContext.d.ts +12 -0
  50. package/dist/theme/miraeTheme.d.ts +21 -0
  51. package/package.json +68 -0
@@ -0,0 +1,599 @@
1
+ "use strict";var gm=Object.defineProperty;var bm=(e,t,n)=>t in e?gm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var zr=(e,t,n)=>bm(e,typeof t!="symbol"?t+"":t,n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Dt=require("@mui/material/styles"),l=require("react/jsx-runtime"),xe=require("react"),ym=require("@emotion/styled"),ao=require("@emotion/react"),Zr=require("react-dom");function g1(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const T=g1(xe),xm=g1(Zr),de={orange:{name:"Mirae Asset Orange",role:"Main Color",pantone:"PANTONE 158C",cmyk:"C:0 M:60 Y:100 K:0",rgb:"R:245 G:130 B:32",hex:"#F58220",contrastText:"#FFFFFF",description:"Mirae Asset Orange should be used as the main color."},blue:{name:"Mirae Asset Blue",role:"Support Color",pantone:"PANTONE 295C",cmyk:"C:100 M:60 Y:0 K:40",rgb:"R:4 G:59 B:114",hex:"#043B72",contrastText:"#FFFFFF",description:"Mirae Asset Blue is used to support the main color."}},br=[{name:"Graph Orange Light",role:"Sub Color (Graph)",cmyk:"C:4 M:37 Y:60 K:0",rgb:"R:240 G:178 B:107",hex:"#F0B26B",contrastText:"#1E293B",description:"Tinted warm accent for data visualization"},{name:"Graph Orange Deep",role:"Sub Color (Graph)",cmyk:"C:1 M:72 Y:100 K:7",rgb:"R:203 G:96 B:21",hex:"#CB6015",contrastText:"#FFFFFF",description:"Deep amber accent for graphs and emphasis"},{name:"Graph Terra Cotta",role:"Sub Color (Graph)",cmyk:"C:22 M:66 Y:68 K:15",rgb:"R:174 G:99 B:78",hex:"#AD624E",contrastText:"#FFFFFF",description:"Warm earth tone for chart series"},{name:"Graph Neutral Gray",role:"Sub Color (Graph)",cmyk:"C:22 M:15 Y:15 K:40",rgb:"R:132 G:136 B:139",hex:"#84888B",contrastText:"#FFFFFF",description:"Balanced middle-gray for axis and comparisons"},{name:"Graph Cyan",role:"Sub Color (Graph)",cmyk:"C:88 M:0 Y:11 K:0",rgb:"R:0 G:169 B:206",hex:"#00A9CE",contrastText:"#FFFFFF",description:"Vibrant cyan for positive trends and metrics"},{name:"Graph Cerulean",role:"Sub Color (Graph)",cmyk:"C:100 M:22 Y:2 K:18",rgb:"R:0 G:134 B:184",hex:"#0086B8",contrastText:"#FFFFFF",description:"Deep cerulean for data series highlighting"},{name:"Graph Slate Blue",role:"Sub Color (Graph)",cmyk:"C:52 M:29 Y:10 K:0",rgb:"R:126 G:160 B:195",hex:"#7E9FC3",contrastText:"#0F172A",description:"Soft slate blue for background categories"},{name:"Graph Sky Blue",role:"Sub Color (Graph)",cmyk:"C:45 M:1 Y:0 K:1",rgb:"R:141 G:200 B:232",hex:"#8DC8E8",contrastText:"#0F172A",description:"Light atmospheric blue for area fills and secondary tags"}],yr=[{name:"Dark Slate Gray",role:"Sub Color (Digital Background/Line)",cmyk:"C:15 M:0 Y:0 K:80",rgb:"R:72 G:83 B:91",hex:"#48535B",contrastText:"#FFFFFF",description:"Primary digital dark background, headers, high contrast lines"},{name:"Warm Sand",role:"Sub Color (Digital Background/Line)",cmyk:"C:25 M:30 Y:40 K:0",rgb:"R:194 G:172 B:151",hex:"#C2AC97",contrastText:"#1E293B",description:"Warm neutral accent background or decorative borders"},{name:"Medium Gray",role:"Sub Color (Digital Background/Line)",cmyk:"C:22 M:15 Y:15 K:15",rgb:"R:132 G:136 B:139",hex:"#84888B",contrastText:"#FFFFFF",description:"Component borders, inactive elements, secondary lines"},{name:"Cool Gray",role:"Sub Color (Digital Background/Line)",cmyk:"C:15 M:8 Y:10 K:30",rgb:"R:160 G:166 B:168",hex:"#A0A6A8",contrastText:"#1E293B",description:"Subtle borders, divider lines, disabled states"},{name:"Light Warm Gray",role:"Sub Color (Digital Background/Line)",cmyk:"C:6 M:4 Y:7 K:15",rgb:"R:205 G:206 B:203",hex:"#CDCECB",contrastText:"#1E293B",description:"Card outlines, subtle dividers, inactive backgrounds"},{name:"Off White Sand",role:"Sub Color (Digital Background/Line)",cmyk:"C:4 M:3 Y:5 K:5",rgb:"R:229 G:228 B:225",hex:"#E5E4E1",contrastText:"#1E293B",description:"Secondary digital surface, container background"},{name:"Slate Cool White",role:"Sub Color (Digital Background/Line)",cmyk:"C:9 M:6 Y:3 K:0",rgb:"R:236 G:239 B:244",hex:"#ECEFF4",contrastText:"#1E293B",description:"Primary digital background, table rows, card backgrounds"}],vm={success:"#10B981",successLight:"#D1FAE5",warning:"#F59E0B",warningLight:"#FEF3C7",error:"#EF4444",errorLight:"#FEE2E2",info:"#0086B8",infoLight:"#E0F2FE"},ms={main:"'Spoqa Han Sans Neo', 'Spoqa Han Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",mono:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace"},ht={thin:100,light:300,regular:400,medium:500,bold:700},ul="Building on Principles",_t={display1:{fontSize:"3.5rem",lineHeight:1.15,fontWeight:ht.bold,letterSpacing:"-0.02em"},display2:{fontSize:"2.75rem",lineHeight:1.2,fontWeight:ht.bold,letterSpacing:"-0.015em"},h1:{fontSize:"2.25rem",lineHeight:1.25,fontWeight:ht.bold,letterSpacing:"-0.01em"},h2:{fontSize:"1.875rem",lineHeight:1.3,fontWeight:ht.bold,letterSpacing:"-0.01em"},h3:{fontSize:"1.5rem",lineHeight:1.35,fontWeight:ht.medium,letterSpacing:"-0.005em"},h4:{fontSize:"1.25rem",lineHeight:1.4,fontWeight:ht.medium,letterSpacing:"0em"},h5:{fontSize:"1.125rem",lineHeight:1.45,fontWeight:ht.medium,letterSpacing:"0em"},h6:{fontSize:"1rem",lineHeight:1.5,fontWeight:ht.medium,letterSpacing:"0em"},body1:{fontSize:"1rem",lineHeight:1.6,fontWeight:ht.regular,letterSpacing:"0.005em"},body2:{fontSize:"0.875rem",lineHeight:1.57,fontWeight:ht.regular,letterSpacing:"0.005em"},caption:{fontSize:"0.75rem",lineHeight:1.5,fontWeight:ht.light,letterSpacing:"0.02em"},overline:{fontSize:"0.6875rem",lineHeight:1.6,fontWeight:ht.medium,letterSpacing:"0.08em",textTransform:"uppercase"},button:{fontSize:"0.875rem",lineHeight:1.4,fontWeight:ht.medium,letterSpacing:"0.01em",textTransform:"none"}},km={xs:4,sm:8,md:16,lg:24,xl:32,xxl:48,xxxl:64},Sm={none:"0px",sm:"4px",md:"8px",lg:"12px",xl:"16px",full:"9999px"},Tm={none:"none",sm:"0 1px 2px 0 rgba(4, 59, 114, 0.05)",md:"0 4px 6px -1px rgba(4, 59, 114, 0.08), 0 2px 4px -2px rgba(4, 59, 114, 0.04)",lg:"0 10px 15px -3px rgba(4, 59, 114, 0.1), 0 4px 6px -4px rgba(4, 59, 114, 0.05)",xl:"0 20px 25px -5px rgba(4, 59, 114, 0.12), 0 8px 10px -6px rgba(4, 59, 114, 0.06)",orangeGlow:"0 8px 20px rgba(245, 130, 32, 0.28)",blueGlow:"0 8px 20px rgba(4, 59, 114, 0.28)"},b1=Dt.responsiveFontSizes(Dt.createTheme({palette:{mode:"light",primary:{main:de.orange.hex,light:"#F0B26B",dark:"#CB6015",contrastText:"#FFFFFF"},secondary:{main:de.blue.hex,light:"#0086B8",dark:"#022449",contrastText:"#FFFFFF"},background:{default:"#F8FAFC",paper:"#FFFFFF"},text:{primary:"#1E293B",secondary:"#64748B"},divider:"#ECEFF4",mirae:{orange:de.orange.hex,blue:de.blue.hex,graph:br.map(e=>e.hex),digital:yr.map(e=>e.hex)}},typography:{fontFamily:ms.main,h1:_t.h1,h2:_t.h2,h3:_t.h3,h4:_t.h4,h5:_t.h5,h6:_t.h6,body1:_t.body1,body2:_t.body2,caption:_t.caption,overline:_t.overline,button:_t.button},shape:{borderRadius:10},components:{MuiButton:{styleOverrides:{root:{textTransform:"none",fontWeight:ht.medium,borderRadius:"8px",padding:"8px 20px",boxShadow:"none",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)","&:hover":{boxShadow:"0 4px 12px rgba(245, 130, 32, 0.25)",transform:"translateY(-1px)"}},containedPrimary:{backgroundColor:de.orange.hex,color:"#FFFFFF","&:hover":{backgroundColor:"#E06F0F"}},containedSecondary:{backgroundColor:de.blue.hex,color:"#FFFFFF","&:hover":{backgroundColor:"#032B54",boxShadow:"0 4px 12px rgba(4, 59, 114, 0.25)"}},outlinedPrimary:{borderColor:de.orange.hex,color:de.orange.hex,"&:hover":{backgroundColor:"rgba(245, 130, 32, 0.06)",borderColor:"#CB6015"}},outlinedSecondary:{borderColor:de.blue.hex,color:de.blue.hex,"&:hover":{backgroundColor:"rgba(4, 59, 114, 0.06)",borderColor:"#043B72"}}}},MuiCard:{styleOverrides:{root:{borderRadius:12,border:"1px solid #ECEFF4",boxShadow:"0 2px 8px rgba(4, 59, 114, 0.04)",transition:"all 0.25s ease","&:hover":{boxShadow:"0 8px 24px rgba(4, 59, 114, 0.08)"}}}},MuiPaper:{styleOverrides:{root:{backgroundImage:"none"}}},MuiChip:{styleOverrides:{root:{borderRadius:6,fontWeight:ht.medium,fontSize:"0.8125rem"},colorPrimary:{backgroundColor:"rgba(245, 130, 32, 0.12)",color:"#CB6015",border:"1px solid rgba(245, 130, 32, 0.25)"},colorSecondary:{backgroundColor:"rgba(4, 59, 114, 0.08)",color:de.blue.hex,border:"1px solid rgba(4, 59, 114, 0.2)"}}},MuiTabs:{styleOverrides:{indicator:{backgroundColor:de.orange.hex,height:3,borderRadius:"3px 3px 0 0"}}},MuiTab:{styleOverrides:{root:{textTransform:"none",fontFamily:ms.main,fontWeight:ht.medium,fontSize:"0.9375rem",color:"#64748B","&.Mui-selected":{color:de.orange.hex,fontWeight:ht.bold}}}},MuiOutlinedInput:{styleOverrides:{root:{borderRadius:8,"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:de.orange.hex,borderWidth:2}}}}}})),y1=Dt.responsiveFontSizes(Dt.createTheme({palette:{mode:"dark",primary:{main:de.orange.hex,light:"#F0B26B",dark:"#CB6015",contrastText:"#FFFFFF"},secondary:{main:"#00A9CE",light:"#8DC8E8",dark:"#043B72",contrastText:"#FFFFFF"},background:{default:"#0B1320",paper:"#141E30"},text:{primary:"#F8FAFC",secondary:"#CBD5E1"},divider:"#1E293B",mirae:{orange:de.orange.hex,blue:de.blue.hex,graph:br.map(e=>e.hex),digital:yr.map(e=>e.hex)}},typography:{fontFamily:ms.main,h1:_t.h1,h2:_t.h2,h3:_t.h3,h4:_t.h4,h5:_t.h5,h6:_t.h6,body1:_t.body1,body2:_t.body2,caption:_t.caption,overline:_t.overline,button:_t.button},shape:{borderRadius:10},components:{MuiButton:{styleOverrides:{root:{textTransform:"none",fontWeight:ht.medium,borderRadius:"8px",padding:"8px 20px",boxShadow:"none"},containedPrimary:{backgroundColor:de.orange.hex,color:"#FFFFFF","&:hover":{backgroundColor:"#E06F0F"}}}},MuiCard:{styleOverrides:{root:{borderRadius:12,border:"1px solid #1E293B",backgroundColor:"#141E30"}}},MuiTabs:{styleOverrides:{indicator:{backgroundColor:de.orange.hex,height:3}}},MuiTab:{styleOverrides:{root:{textTransform:"none",fontFamily:ms.main,fontWeight:ht.medium,color:"#CBD5E1","&.Mui-selected":{color:de.orange.hex,fontWeight:ht.bold}}}}}}));var Uo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Cm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pl={exports:{}},Gs={exports:{}},ct={};/** @license React v16.13.1
2
+ * react-is.production.min.js
3
+ *
4
+ * Copyright (c) Facebook, Inc. and its affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */var tu;function wm(){if(tu)return ct;tu=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,p=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,k=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function C(j){if(typeof j=="object"&&j!==null){var R=j.$$typeof;switch(R){case t:switch(j=j.type,j){case p:case f:case r:case i:case a:case g:return j;default:switch(j=j&&j.$$typeof,j){case u:case h:case x:case m:case c:return j;default:return R}}case n:return R}}}function S(j){return C(j)===f}return ct.AsyncMode=p,ct.ConcurrentMode=f,ct.ContextConsumer=u,ct.ContextProvider=c,ct.Element=t,ct.ForwardRef=h,ct.Fragment=r,ct.Lazy=x,ct.Memo=m,ct.Portal=n,ct.Profiler=i,ct.StrictMode=a,ct.Suspense=g,ct.isAsyncMode=function(j){return S(j)||C(j)===p},ct.isConcurrentMode=S,ct.isContextConsumer=function(j){return C(j)===u},ct.isContextProvider=function(j){return C(j)===c},ct.isElement=function(j){return typeof j=="object"&&j!==null&&j.$$typeof===t},ct.isForwardRef=function(j){return C(j)===h},ct.isFragment=function(j){return C(j)===r},ct.isLazy=function(j){return C(j)===x},ct.isMemo=function(j){return C(j)===m},ct.isPortal=function(j){return C(j)===n},ct.isProfiler=function(j){return C(j)===i},ct.isStrictMode=function(j){return C(j)===a},ct.isSuspense=function(j){return C(j)===g},ct.isValidElementType=function(j){return typeof j=="string"||typeof j=="function"||j===r||j===f||j===i||j===a||j===g||j===y||typeof j=="object"&&j!==null&&(j.$$typeof===x||j.$$typeof===m||j.$$typeof===c||j.$$typeof===u||j.$$typeof===h||j.$$typeof===k||j.$$typeof===E||j.$$typeof===w||j.$$typeof===b)},ct.typeOf=C,ct}var ut={};/** @license React v16.13.1
9
+ * react-is.development.js
10
+ *
11
+ * Copyright (c) Facebook, Inc. and its affiliates.
12
+ *
13
+ * This source code is licensed under the MIT license found in the
14
+ * LICENSE file in the root directory of this source tree.
15
+ */var nu;function Im(){return nu||(nu=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,p=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,k=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function C(z){return typeof z=="string"||typeof z=="function"||z===r||z===f||z===i||z===a||z===g||z===y||typeof z=="object"&&z!==null&&(z.$$typeof===x||z.$$typeof===m||z.$$typeof===c||z.$$typeof===u||z.$$typeof===h||z.$$typeof===k||z.$$typeof===E||z.$$typeof===w||z.$$typeof===b)}function S(z){if(typeof z=="object"&&z!==null){var fe=z.$$typeof;switch(fe){case t:var re=z.type;switch(re){case p:case f:case r:case i:case a:case g:return re;default:var ke=re&&re.$$typeof;switch(ke){case u:case h:case x:case m:case c:return ke;default:return fe}}case n:return fe}}}var j=p,R=f,M=u,L=c,H=t,U=h,K=r,v=x,O=m,_=n,Y=i,F=a,X=g,te=!1;function ee(z){return te||(te=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),W(z)||S(z)===p}function W(z){return S(z)===f}function V(z){return S(z)===u}function pe(z){return S(z)===c}function ue(z){return typeof z=="object"&&z!==null&&z.$$typeof===t}function he(z){return S(z)===h}function A(z){return S(z)===r}function N(z){return S(z)===x}function $(z){return S(z)===m}function B(z){return S(z)===n}function G(z){return S(z)===i}function q(z){return S(z)===a}function oe(z){return S(z)===g}ut.AsyncMode=j,ut.ConcurrentMode=R,ut.ContextConsumer=M,ut.ContextProvider=L,ut.Element=H,ut.ForwardRef=U,ut.Fragment=K,ut.Lazy=v,ut.Memo=O,ut.Portal=_,ut.Profiler=Y,ut.StrictMode=F,ut.Suspense=X,ut.isAsyncMode=ee,ut.isConcurrentMode=W,ut.isContextConsumer=V,ut.isContextProvider=pe,ut.isElement=ue,ut.isForwardRef=he,ut.isFragment=A,ut.isLazy=N,ut.isMemo=$,ut.isPortal=B,ut.isProfiler=G,ut.isStrictMode=q,ut.isSuspense=oe,ut.isValidElementType=C,ut.typeOf=S}()),ut}var ou;function x1(){return ou||(ou=1,process.env.NODE_ENV==="production"?Gs.exports=wm():Gs.exports=Im()),Gs.exports}/*
16
+ object-assign
17
+ (c) Sindre Sorhus
18
+ @license MIT
19
+ */var $i,ru;function Em(){if(ru)return $i;ru=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function a(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var c={},u=0;u<10;u++)c["_"+String.fromCharCode(u)]=u;var p=Object.getOwnPropertyNames(c).map(function(h){return c[h]});if(p.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(h){f[h]=h}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return $i=a()?Object.assign:function(i,c){for(var u,p=r(i),f,h=1;h<arguments.length;h++){u=Object(arguments[h]);for(var g in u)t.call(u,g)&&(p[g]=u[g]);if(e){f=e(u);for(var y=0;y<f.length;y++)n.call(u,f[y])&&(p[f[y]]=u[f[y]])}}return p},$i}var Di,su;function Hl(){if(su)return Di;su=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Di=e,Di}var zi,au;function v1(){return au||(au=1,zi=Function.call.bind(Object.prototype.hasOwnProperty)),zi}var Vi,iu;function jm(){if(iu)return Vi;iu=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Hl(),n={},r=v1();e=function(i){var c="Warning: "+i;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}}}function a(i,c,u,p,f){if(process.env.NODE_ENV!=="production"){for(var h in i)if(r(i,h)){var g;try{if(typeof i[h]!="function"){var y=Error((p||"React class")+": "+u+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y.name="Invariant Violation",y}g=i[h](c,h,p,u,null,t)}catch(x){g=x}if(g&&!(g instanceof Error)&&e((p||"React class")+": type specification of "+u+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof g+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),g instanceof Error&&!(g.message in n)){n[g.message]=!0;var m=f?f():"";e("Failed "+u+" type: "+g.message+(m??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Vi=a,Vi}var Wi,lu;function Rm(){if(lu)return Wi;lu=1;var e=x1(),t=Em(),n=Hl(),r=v1(),a=jm(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(u){var p="Warning: "+u;typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}});function c(){return null}return Wi=function(u,p){var f=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function g(W){var V=W&&(f&&W[f]||W[h]);if(typeof V=="function")return V}var y="<<anonymous>>",m={array:E("array"),bigint:E("bigint"),bool:E("boolean"),func:E("function"),number:E("number"),object:E("object"),string:E("string"),symbol:E("symbol"),any:w(),arrayOf:C,element:S(),elementType:j(),instanceOf:R,node:U(),objectOf:L,oneOf:M,oneOfType:H,shape:v,exact:O};function x(W,V){return W===V?W!==0||1/W===1/V:W!==W&&V!==V}function b(W,V){this.message=W,this.data=V&&typeof V=="object"?V:{},this.stack=""}b.prototype=Error.prototype;function k(W){if(process.env.NODE_ENV!=="production")var V={},pe=0;function ue(A,N,$,B,G,q,oe){if(B=B||y,q=q||$,oe!==n){if(p){var z=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw z.name="Invariant Violation",z}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var fe=B+":"+$;!V[fe]&&pe<3&&(i("You are manually calling a React.PropTypes validation function for the `"+q+"` prop on `"+B+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),V[fe]=!0,pe++)}}return N[$]==null?A?N[$]===null?new b("The "+G+" `"+q+"` is marked as required "+("in `"+B+"`, but its value is `null`.")):new b("The "+G+" `"+q+"` is marked as required in "+("`"+B+"`, but its value is `undefined`.")):null:W(N,$,B,G,q)}var he=ue.bind(null,!1);return he.isRequired=ue.bind(null,!0),he}function E(W){function V(pe,ue,he,A,N,$){var B=pe[ue],G=F(B);if(G!==W){var q=X(B);return new b("Invalid "+A+" `"+N+"` of type "+("`"+q+"` supplied to `"+he+"`, expected ")+("`"+W+"`."),{expectedType:W})}return null}return k(V)}function w(){return k(c)}function C(W){function V(pe,ue,he,A,N){if(typeof W!="function")return new b("Property `"+N+"` of component `"+he+"` has invalid PropType notation inside arrayOf.");var $=pe[ue];if(!Array.isArray($)){var B=F($);return new b("Invalid "+A+" `"+N+"` of type "+("`"+B+"` supplied to `"+he+"`, expected an array."))}for(var G=0;G<$.length;G++){var q=W($,G,he,A,N+"["+G+"]",n);if(q instanceof Error)return q}return null}return k(V)}function S(){function W(V,pe,ue,he,A){var N=V[pe];if(!u(N)){var $=F(N);return new b("Invalid "+he+" `"+A+"` of type "+("`"+$+"` supplied to `"+ue+"`, expected a single ReactElement."))}return null}return k(W)}function j(){function W(V,pe,ue,he,A){var N=V[pe];if(!e.isValidElementType(N)){var $=F(N);return new b("Invalid "+he+" `"+A+"` of type "+("`"+$+"` supplied to `"+ue+"`, expected a single ReactElement type."))}return null}return k(W)}function R(W){function V(pe,ue,he,A,N){if(!(pe[ue]instanceof W)){var $=W.name||y,B=ee(pe[ue]);return new b("Invalid "+A+" `"+N+"` of type "+("`"+B+"` supplied to `"+he+"`, expected ")+("instance of `"+$+"`."))}return null}return k(V)}function M(W){if(!Array.isArray(W))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),c;function V(pe,ue,he,A,N){for(var $=pe[ue],B=0;B<W.length;B++)if(x($,W[B]))return null;var G=JSON.stringify(W,function(oe,z){var fe=X(z);return fe==="symbol"?String(z):z});return new b("Invalid "+A+" `"+N+"` of value `"+String($)+"` "+("supplied to `"+he+"`, expected one of "+G+"."))}return k(V)}function L(W){function V(pe,ue,he,A,N){if(typeof W!="function")return new b("Property `"+N+"` of component `"+he+"` has invalid PropType notation inside objectOf.");var $=pe[ue],B=F($);if(B!=="object")return new b("Invalid "+A+" `"+N+"` of type "+("`"+B+"` supplied to `"+he+"`, expected an object."));for(var G in $)if(r($,G)){var q=W($,G,he,A,N+"."+G,n);if(q instanceof Error)return q}return null}return k(V)}function H(W){if(!Array.isArray(W))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),c;for(var V=0;V<W.length;V++){var pe=W[V];if(typeof pe!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+te(pe)+" at index "+V+"."),c}function ue(he,A,N,$,B){for(var G=[],q=0;q<W.length;q++){var oe=W[q],z=oe(he,A,N,$,B,n);if(z==null)return null;z.data&&r(z.data,"expectedType")&&G.push(z.data.expectedType)}var fe=G.length>0?", expected one of type ["+G.join(", ")+"]":"";return new b("Invalid "+$+" `"+B+"` supplied to "+("`"+N+"`"+fe+"."))}return k(ue)}function U(){function W(V,pe,ue,he,A){return _(V[pe])?null:new b("Invalid "+he+" `"+A+"` supplied to "+("`"+ue+"`, expected a ReactNode."))}return k(W)}function K(W,V,pe,ue,he){return new b((W||"React class")+": "+V+" type `"+pe+"."+ue+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+he+"`.")}function v(W){function V(pe,ue,he,A,N){var $=pe[ue],B=F($);if(B!=="object")return new b("Invalid "+A+" `"+N+"` of type `"+B+"` "+("supplied to `"+he+"`, expected `object`."));for(var G in W){var q=W[G];if(typeof q!="function")return K(he,A,N,G,X(q));var oe=q($,G,he,A,N+"."+G,n);if(oe)return oe}return null}return k(V)}function O(W){function V(pe,ue,he,A,N){var $=pe[ue],B=F($);if(B!=="object")return new b("Invalid "+A+" `"+N+"` of type `"+B+"` "+("supplied to `"+he+"`, expected `object`."));var G=t({},pe[ue],W);for(var q in G){var oe=W[q];if(r(W,q)&&typeof oe!="function")return K(he,A,N,q,X(oe));if(!oe)return new b("Invalid "+A+" `"+N+"` key `"+q+"` supplied to `"+he+"`.\nBad object: "+JSON.stringify(pe[ue],null," ")+`
20
+ Valid keys: `+JSON.stringify(Object.keys(W),null," "));var z=oe($,q,he,A,N+"."+q,n);if(z)return z}return null}return k(V)}function _(W){switch(typeof W){case"number":case"string":case"undefined":return!0;case"boolean":return!W;case"object":if(Array.isArray(W))return W.every(_);if(W===null||u(W))return!0;var V=g(W);if(V){var pe=V.call(W),ue;if(V!==W.entries){for(;!(ue=pe.next()).done;)if(!_(ue.value))return!1}else for(;!(ue=pe.next()).done;){var he=ue.value;if(he&&!_(he[1]))return!1}}else return!1;return!0;default:return!1}}function Y(W,V){return W==="symbol"?!0:V?V["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&V instanceof Symbol:!1}function F(W){var V=typeof W;return Array.isArray(W)?"array":W instanceof RegExp?"object":Y(V,W)?"symbol":V}function X(W){if(typeof W>"u"||W===null)return""+W;var V=F(W);if(V==="object"){if(W instanceof Date)return"date";if(W instanceof RegExp)return"regexp"}return V}function te(W){var V=X(W);switch(V){case"array":case"object":return"an "+V;case"boolean":case"date":case"regexp":return"a "+V;default:return V}}function ee(W){return!W.constructor||!W.constructor.name?y:W.constructor.name}return m.checkPropTypes=a,m.resetWarningCache=a.resetWarningCache,m.PropTypes=m,m},Wi}var Hi,cu;function Om(){if(cu)return Hi;cu=1;var e=Hl();function t(){}function n(){}return n.resetWarningCache=t,Hi=function(){function r(c,u,p,f,h,g){if(g!==e){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}}r.isRequired=r;function a(){return r}var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:a,element:r,elementType:r,instanceOf:a,node:r,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i},Hi}if(process.env.NODE_ENV!=="production"){var Pm=x1(),Am=!0;pl.exports=Rm()(Pm.isElement,Am)}else pl.exports=Om()();var _m=pl.exports;const o=Cm(_m);function eo(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}function se(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":eo(7));return e.charAt(0).toUpperCase()+e.slice(1)}var dl={exports:{}},gt={};/**
21
+ * @license React
22
+ * react-is.production.js
23
+ *
24
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
25
+ *
26
+ * This source code is licensed under the MIT license found in the
27
+ * LICENSE file in the root directory of this source tree.
28
+ */var uu;function Nm(){if(uu)return gt;uu=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function x(b){if(typeof b=="object"&&b!==null){var k=b.$$typeof;switch(k){case e:switch(b=b.type,b){case n:case a:case r:case p:case f:case y:return b;default:switch(b=b&&b.$$typeof,b){case c:case u:case g:case h:return b;case i:return b;default:return k}}case t:return k}}}return gt.ContextConsumer=i,gt.ContextProvider=c,gt.Element=e,gt.ForwardRef=u,gt.Fragment=n,gt.Lazy=g,gt.Memo=h,gt.Portal=t,gt.Profiler=a,gt.StrictMode=r,gt.Suspense=p,gt.SuspenseList=f,gt.isContextConsumer=function(b){return x(b)===i},gt.isContextProvider=function(b){return x(b)===c},gt.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},gt.isForwardRef=function(b){return x(b)===u},gt.isFragment=function(b){return x(b)===n},gt.isLazy=function(b){return x(b)===g},gt.isMemo=function(b){return x(b)===h},gt.isPortal=function(b){return x(b)===t},gt.isProfiler=function(b){return x(b)===a},gt.isStrictMode=function(b){return x(b)===r},gt.isSuspense=function(b){return x(b)===p},gt.isSuspenseList=function(b){return x(b)===f},gt.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===a||b===r||b===p||b===f||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===h||b.$$typeof===c||b.$$typeof===i||b.$$typeof===u||b.$$typeof===m||b.getModuleId!==void 0)},gt.typeOf=x,gt}var bt={};/**
29
+ * @license React
30
+ * react-is.development.js
31
+ *
32
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
33
+ *
34
+ * This source code is licensed under the MIT license found in the
35
+ * LICENSE file in the root directory of this source tree.
36
+ */var pu;function Mm(){return pu||(pu=1,process.env.NODE_ENV!=="production"&&function(){function e(b){if(typeof b=="object"&&b!==null){var k=b.$$typeof;switch(k){case t:switch(b=b.type,b){case r:case i:case a:case f:case h:case m:return b;default:switch(b=b&&b.$$typeof,b){case u:case p:case y:case g:return b;case c:return b;default:return k}}case n:return k}}}var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),m=Symbol.for("react.view_transition"),x=Symbol.for("react.client.reference");bt.ContextConsumer=c,bt.ContextProvider=u,bt.Element=t,bt.ForwardRef=p,bt.Fragment=r,bt.Lazy=y,bt.Memo=g,bt.Portal=n,bt.Profiler=i,bt.StrictMode=a,bt.Suspense=f,bt.SuspenseList=h,bt.isContextConsumer=function(b){return e(b)===c},bt.isContextProvider=function(b){return e(b)===u},bt.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},bt.isForwardRef=function(b){return e(b)===p},bt.isFragment=function(b){return e(b)===r},bt.isLazy=function(b){return e(b)===y},bt.isMemo=function(b){return e(b)===g},bt.isPortal=function(b){return e(b)===n},bt.isProfiler=function(b){return e(b)===i},bt.isStrictMode=function(b){return e(b)===a},bt.isSuspense=function(b){return e(b)===f},bt.isSuspenseList=function(b){return e(b)===h},bt.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===i||b===a||b===f||b===h||typeof b=="object"&&b!==null&&(b.$$typeof===y||b.$$typeof===g||b.$$typeof===u||b.$$typeof===c||b.$$typeof===p||b.$$typeof===x||b.getModuleId!==void 0)},bt.typeOf=e}()),bt}process.env.NODE_ENV==="production"?dl.exports=Nm():dl.exports=Mm();var to=dl.exports;function Dn(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function k1(e){if(T.isValidElement(e)||to.isValidElementType(e)||!Dn(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=k1(e[n])}),t}function Jt(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return Dn(e)&&Dn(t)&&Object.keys(t).forEach(a=>{T.isValidElement(t[a])||to.isValidElementType(t[a])?r[a]=t[a]:Dn(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&Dn(e[a])?r[a]=Jt(e[a],t[a],n):n.clone?r[a]=Dn(t[a])?k1(t[a]):t[a]:r[a]=t[a]}),r}function rs(e,t){return t?Jt(e,t,{clone:!1}):e}const ko=process.env.NODE_ENV!=="production"?o.oneOfType([o.number,o.string,o.object,o.array]):{};function du(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,a)=>{var c,u;const i=/min-width:\s*([0-9.]+)/;return+(((c=r.match(i))==null?void 0:c[1])||0)-+(((u=a.match(i))==null?void 0:u[1])||0)});return n.length?n.reduce((r,a)=>{const i=t[a];return delete r[a],r[a]=i,r},{...t}):t}function Bm(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function Fm(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n){if(process.env.NODE_ENV!=="production")throw new Error(`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
37
+ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`);return null}const[,r,a]=n,i=Number.isNaN(+r)?r||0:+r;return e.containerQueries(a).up(i)}function Lm(e){const t=(i,c)=>i.replace("@media",c?`@container ${c}`:"@container");function n(i,c){i.up=(...u)=>t(e.breakpoints.up(...u),c),i.down=(...u)=>t(e.breakpoints.down(...u),c),i.between=(...u)=>t(e.breakpoints.between(...u),c),i.only=(...u)=>t(e.breakpoints.only(...u),c),i.not=(...u)=>{const p=t(e.breakpoints.not(...u),c);return p.includes("not all and")?p.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):p}}const r={},a=i=>(n(r,i),r);return n(a),{...e,containerQueries:a}}const za={xs:0,sm:600,md:900,lg:1200,xl:1536},fu={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${za[e]}px)`},$m={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:za[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function no(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||fu;return t.reduce((c,u,p)=>(c[i.up(i.keys[p])]=n(t[p]),c),{})}if(typeof t=="object"){const i=r.breakpoints||fu;return Object.keys(t).reduce((c,u)=>{if(Bm(i.keys,u)){const p=Fm(r.containerQueries?r:$m,u);p&&(c[p]=n(t[u],u))}else if(Object.keys(i.values||za).includes(u)){const p=i.up(u);c[p]=n(t[u],u)}else{const p=u;c[p]=t[p]}return c},{})}return n(t)}function Dm(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,a)=>{const i=e.up(a);return r[i]={},r},{}))||{}}function hu(e,t){return e.reduce((n,r)=>{const a=n[r];return(!a||Object.keys(a).length===0)&&delete n[r],n},t)}function Va(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((a,i)=>a&&a[i]?a[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,a)=>r&&r[a]!=null?r[a]:null,e)}function ga(e,t,n,r=n){let a;return typeof e=="function"?a=e(n):Array.isArray(e)?a=e[n]||r:a=Va(e,n)||r,t&&(a=t(a,r,e)),a}function Vt(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:a}=e,i=c=>{if(c[t]==null)return null;const u=c[t],p=c.theme,f=Va(p,r)||{};return no(c,u,g=>{let y=ga(f,a,g);return g===y&&typeof g=="string"&&(y=ga(f,a,`${t}${g==="default"?"":se(g)}`,g)),n===!1?y:{[n]:y}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:ko}:{},i.filterProps=[t],i}function zm(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Vm={m:"margin",p:"padding"},Wm={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},mu={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Hm=zm(e=>{if(e.length>2)if(mu[e])e=mu[e];else return[e];const[t,n]=e.split(""),r=Vm[t],a=Wm[n]||"";return Array.isArray(a)?a.map(i=>r+i):[r+a]}),Wa=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ha=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Um=[...Wa,...Ha];function js(e,t,n,r){const a=Va(e,t,!0)??n;return typeof a=="number"||typeof a=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${i}.`),typeof a=="string"?a.startsWith("var(")&&i===0?0:a.startsWith("var(")&&i===1?a:`calc(${i} * ${a})`:a*i):Array.isArray(a)?i=>{if(typeof i=="string")return i;const c=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(c)?c>a.length-1&&console.error([`MUI: The value provided (${c}) overflows.`,`The supported values are: ${JSON.stringify(a)}.`,`${c} > ${a.length-1}, you need to add the missing values.`].join(`
38
+ `)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
39
+ `)));const u=a[c];return i>=0?u:typeof u=="number"?-u:typeof u=="string"&&u.startsWith("var(")?`calc(-1 * ${u})`:`-${u}`}:typeof a=="function"?a:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${a}) is invalid.`,"It should be a number, an array or a function."].join(`
40
+ `)),()=>{})}function Ul(e){return js(e,"spacing",8,"spacing")}function Rs(e,t){return typeof t=="string"||t==null?t:e(t)}function qm(e,t){return n=>e.reduce((r,a)=>(r[a]=Rs(t,n),r),{})}function Gm(e,t,n,r){if(!t.includes(n))return null;const a=Hm(n),i=qm(a,r),c=e[n];return no(e,c,i)}function S1(e,t){const n=Ul(e.theme);return Object.keys(e).map(r=>Gm(e,t,r,n)).reduce(rs,{})}function Bt(e){return S1(e,Wa)}Bt.propTypes=process.env.NODE_ENV!=="production"?Wa.reduce((e,t)=>(e[t]=ko,e),{}):{};Bt.filterProps=Wa;function Ft(e){return S1(e,Ha)}Ft.propTypes=process.env.NODE_ENV!=="production"?Ha.reduce((e,t)=>(e[t]=ko,e),{}):{};Ft.filterProps=Ha;process.env.NODE_ENV!=="production"&&Um.reduce((e,t)=>(e[t]=ko,e),{});function Ua(...e){const t=e.reduce((r,a)=>(a.filterProps.forEach(i=>{r[i]=a}),r),{}),n=r=>Object.keys(r).reduce((a,i)=>t[i]?rs(a,t[i](r)):a,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,a)=>Object.assign(r,a.propTypes),{}):{},n.filterProps=e.reduce((r,a)=>r.concat(a.filterProps),[]),n}function vn(e){return typeof e!="number"?e:`${e}px solid`}function jn(e,t){return Vt({prop:e,themeKey:"borders",transform:t})}const Km=jn("border",vn),Ym=jn("borderTop",vn),Xm=jn("borderRight",vn),Jm=jn("borderBottom",vn),Zm=jn("borderLeft",vn),Qm=jn("borderColor"),eg=jn("borderTopColor"),tg=jn("borderRightColor"),ng=jn("borderBottomColor"),og=jn("borderLeftColor"),rg=jn("outline",vn),sg=jn("outlineColor"),qa=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=js(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:Rs(t,r)});return no(e,e.borderRadius,n)}return null};qa.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:ko}:{};qa.filterProps=["borderRadius"];Ua(Km,Ym,Xm,Jm,Zm,Qm,eg,tg,ng,og,qa,rg,sg);const Ga=e=>{if(e.gap!==void 0&&e.gap!==null){const t=js(e.theme,"spacing",8,"gap"),n=r=>({gap:Rs(t,r)});return no(e,e.gap,n)}return null};Ga.propTypes=process.env.NODE_ENV!=="production"?{gap:ko}:{};Ga.filterProps=["gap"];const Ka=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=js(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:Rs(t,r)});return no(e,e.columnGap,n)}return null};Ka.propTypes=process.env.NODE_ENV!=="production"?{columnGap:ko}:{};Ka.filterProps=["columnGap"];const Ya=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=js(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:Rs(t,r)});return no(e,e.rowGap,n)}return null};Ya.propTypes=process.env.NODE_ENV!=="production"?{rowGap:ko}:{};Ya.filterProps=["rowGap"];const ag=Vt({prop:"gridColumn"}),ig=Vt({prop:"gridRow"}),lg=Vt({prop:"gridAutoFlow"}),cg=Vt({prop:"gridAutoColumns"}),ug=Vt({prop:"gridAutoRows"}),pg=Vt({prop:"gridTemplateColumns"}),dg=Vt({prop:"gridTemplateRows"}),fg=Vt({prop:"gridTemplateAreas"}),hg=Vt({prop:"gridArea"});Ua(Ga,Ka,Ya,ag,ig,lg,cg,ug,pg,dg,fg,hg);function mr(e,t){return t==="grey"?t:e}const mg=Vt({prop:"color",themeKey:"palette",transform:mr}),gg=Vt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:mr}),bg=Vt({prop:"backgroundColor",themeKey:"palette",transform:mr});Ua(mg,gg,bg);function pn(e){return e<=1&&e!==0?`${e*100}%`:e}const yg=Vt({prop:"width",transform:pn}),ql=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var a,i,c,u,p;const r=((c=(i=(a=e.theme)==null?void 0:a.breakpoints)==null?void 0:i.values)==null?void 0:c[n])||za[n];return r?((p=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:p.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:pn(n)}};return no(e,e.maxWidth,t)}return null};ql.filterProps=["maxWidth"];const xg=Vt({prop:"minWidth",transform:pn}),vg=Vt({prop:"height",transform:pn}),kg=Vt({prop:"maxHeight",transform:pn}),Sg=Vt({prop:"minHeight",transform:pn});Vt({prop:"size",cssProperty:"width",transform:pn});Vt({prop:"size",cssProperty:"height",transform:pn});const Tg=Vt({prop:"boxSizing"});Ua(yg,ql,xg,vg,kg,Sg,Tg);const Os={border:{themeKey:"borders",transform:vn},borderTop:{themeKey:"borders",transform:vn},borderRight:{themeKey:"borders",transform:vn},borderBottom:{themeKey:"borders",transform:vn},borderLeft:{themeKey:"borders",transform:vn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:vn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:qa},color:{themeKey:"palette",transform:mr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:mr},backgroundColor:{themeKey:"palette",transform:mr},p:{style:Ft},pt:{style:Ft},pr:{style:Ft},pb:{style:Ft},pl:{style:Ft},px:{style:Ft},py:{style:Ft},padding:{style:Ft},paddingTop:{style:Ft},paddingRight:{style:Ft},paddingBottom:{style:Ft},paddingLeft:{style:Ft},paddingX:{style:Ft},paddingY:{style:Ft},paddingInline:{style:Ft},paddingInlineStart:{style:Ft},paddingInlineEnd:{style:Ft},paddingBlock:{style:Ft},paddingBlockStart:{style:Ft},paddingBlockEnd:{style:Ft},m:{style:Bt},mt:{style:Bt},mr:{style:Bt},mb:{style:Bt},ml:{style:Bt},mx:{style:Bt},my:{style:Bt},margin:{style:Bt},marginTop:{style:Bt},marginRight:{style:Bt},marginBottom:{style:Bt},marginLeft:{style:Bt},marginX:{style:Bt},marginY:{style:Bt},marginInline:{style:Bt},marginInlineStart:{style:Bt},marginInlineEnd:{style:Bt},marginBlock:{style:Bt},marginBlockStart:{style:Bt},marginBlockEnd:{style:Bt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Ga},rowGap:{style:Ya},columnGap:{style:Ka},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:pn},maxWidth:{style:ql},minWidth:{transform:pn},height:{transform:pn},maxHeight:{transform:pn},minHeight:{transform:pn},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Cg(...e){const t=e.reduce((r,a)=>r.concat(Object.keys(a)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function wg(e,t){return typeof e=="function"?e(t):e}function Ig(){function e(n,r,a,i){const c={[n]:r,theme:a},u=i[n];if(!u)return{[n]:r};const{cssProperty:p=n,themeKey:f,transform:h,style:g}=u;if(r==null)return null;if(f==="typography"&&r==="inherit")return{[n]:r};const y=Va(a,f)||{};return g?g(c):no(c,r,x=>{let b=ga(y,h,x);return x===b&&typeof x=="string"&&(b=ga(y,h,`${n}${x==="default"?"":se(x)}`,x)),p===!1?b:{[p]:b}})}function t(n){const{sx:r,theme:a={},nested:i}=n||{};if(!r)return null;const c=a.unstable_sxConfig??Os;function u(p){let f=p;if(typeof p=="function")f=p(a);else if(typeof p!="object")return p;if(!f)return null;const h=Dm(a.breakpoints),g=Object.keys(h);let y=h;return Object.keys(f).forEach(m=>{const x=wg(f[m],a);if(x!=null)if(typeof x=="object")if(c[m])y=rs(y,e(m,x,a,c));else{const b=no({theme:a},x,k=>({[m]:k}));Cg(b,x)?y[m]=t({sx:x,theme:a,nested:!0}):y=rs(y,b)}else y=rs(y,e(m,x,a,c))}),!i&&a.modularCssLayers?{"@layer sx":du(a,hu(g,y))}:du(a,hu(g,y))}return Array.isArray(r)?r.map(u):u(r)}return t}const qo=Ig();qo.filterProps=["sx"];const Eg=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??Os;return Object.keys(e).forEach(a=>{n[a]?t.systemProps[a]=e[a]:t.otherProps[a]=e[a]}),t};function Gl(e){const{sx:t,...n}=e,{systemProps:r,otherProps:a}=Eg(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...c)=>{const u=t(...c);return Dn(u)?{...r,...u}:r}:i={...r,...t},{...a,sx:i}}function jg(e){for(var t=0,n,r=0,a=e.length;a>=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Rg={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Og(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Pg=/[A-Z]|^ms/g,Ag=/_EMO_([^_]+?)_([^]*?)_EMO_/g,T1=function(t){return t.charCodeAt(1)===45},gu=function(t){return t!=null&&typeof t!="boolean"},Ui=Og(function(e){return T1(e)?e:e.replace(Pg,"-$&").toLowerCase()}),bu=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Ag,function(r,a,i){return co={name:a,styles:i,next:co},a})}return Rg[t]!==1&&!T1(t)&&typeof n=="number"&&n!==0?n+"px":n};function ba(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var a=n;if(a.anim===1)return co={name:a.name,styles:a.styles,next:co},a.name;var i=n;if(i.styles!==void 0){var c=i.next;if(c!==void 0)for(;c!==void 0;)co={name:c.name,styles:c.styles,next:co},c=c.next;var u=i.styles+";";return u}return _g(e,t,n)}}var p=n;return p}function _g(e,t,n){var r="";if(Array.isArray(n))for(var a=0;a<n.length;a++)r+=ba(e,t,n[a])+";";else for(var i in n){var c=n[i];if(typeof c!="object"){var u=c;gu(u)&&(r+=Ui(i)+":"+bu(i,u)+";")}else if(Array.isArray(c)&&typeof c[0]=="string"&&t==null)for(var p=0;p<c.length;p++)gu(c[p])&&(r+=Ui(i)+":"+bu(i,c[p])+";");else{var f=ba(e,t,c);switch(i){case"animation":case"animationName":{r+=Ui(i)+":"+f+";";break}default:r+=i+"{"+f+"}"}}}return r}var yu=/label:\s*([^\s;{]+)\s*(;|$)/g,co;function Ng(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,a="";co=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,a+=ba(n,t,i);else{var c=i;a+=c[0]}for(var u=1;u<e.length;u++)if(a+=ba(n,t,e[u]),r){var p=i;a+=p[u]}yu.lastIndex=0;for(var f="",h;(h=yu.exec(a))!==null;)f+="-"+h[1];var g=jg(a)+f;return{name:g,styles:a,next:co}}function Mg(e){return e==null||Object.keys(e).length===0}function C1(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?a=>t(Mg(a)?n:a):t;return l.jsx(ao.Global,{styles:r})}process.env.NODE_ENV!=="production"&&(C1.propTypes={defaultTheme:o.object,styles:o.oneOfType([o.array,o.string,o.object,o.func])});/**
41
+ * @mui/styled-engine v7.3.10
42
+ *
43
+ * @license MIT
44
+ * This source code is licensed under the MIT license found in the
45
+ * LICENSE file in the root directory of this source tree.
46
+ */function w1(e,t){const n=ym(e,t);return process.env.NODE_ENV!=="production"?(...r)=>{const a=typeof e=="string"?`"${e}"`:"component";return r.length===0?console.error([`MUI: Seems like you called \`styled(${a})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
47
+ `)):r.some(i=>i===void 0)&&console.error(`MUI: the styled(${a})(...args) API requires all its args to be defined.`),n(...r)}:n}function Bg(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const xu=[];function ho(e){return xu[0]=e,Ng(xu)}const Fg=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function Lg(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...a}=e,i=Fg(t),c=Object.keys(i);function u(y){return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${n})`}function p(y){return`@media (max-width:${(typeof t[y]=="number"?t[y]:y)-r/100}${n})`}function f(y,m){const x=c.indexOf(m);return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${n}) and (max-width:${(x!==-1&&typeof t[c[x]]=="number"?t[c[x]]:m)-r/100}${n})`}function h(y){return c.indexOf(y)+1<c.length?f(y,c[c.indexOf(y)+1]):u(y)}function g(y){const m=c.indexOf(y);return m===0?u(c[1]):m===c.length-1?p(c[m]):f(y,c[c.indexOf(y)+1]).replace("@media","@media not all and")}return{keys:c,values:i,up:u,down:p,between:f,only:h,not:g,unit:n,...a}}const $g={borderRadius:4};function I1(e=8,t=Ul({spacing:e})){if(e.mui)return e;const n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(i=>{const c=t(i);return typeof c=="number"?`${c}px`:c}).join(" "));return n.mui=!0,n}function Dg(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let a=n.getColorSchemeSelector(e);return a==="&"?t:((a.includes("data-")||a.includes("."))&&(a=`*:where(${a.replace(/\s*&$/,"")}) &`),{[a]:t})}return n.palette.mode===e?t:{}}function Ps(e={},...t){const{breakpoints:n={},palette:r={},spacing:a,shape:i={},...c}=e,u=Lg(n),p=I1(a);let f=Jt({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:p,shape:{...$g,...i}},c);return f=Lm(f),f.applyStyles=Dg,f=t.reduce((h,g)=>Jt(h,g),f),f.unstable_sxConfig={...Os,...c==null?void 0:c.unstable_sxConfig},f.unstable_sx=function(g){return qo({sx:g,theme:this})},f}function zg(e){return Object.keys(e).length===0}function Vg(e=null){const t=T.useContext(ao.ThemeContext);return!t||zg(t)?e:t}const Wg=Ps();function As(e=Wg){return Vg(e)}function qi(e){const t=ho(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function E1({styles:e,themeId:t,defaultTheme:n={}}){const r=As(n),a=t&&r[t]||r;let i=typeof e=="function"?e(a):e;return a.modularCssLayers&&(Array.isArray(i)?i=i.map(c=>qi(typeof c=="function"?c(a):c)):i=qi(i)),l.jsx(C1,{styles:i})}process.env.NODE_ENV!=="production"&&(E1.propTypes={defaultTheme:o.object,styles:o.oneOfType([o.array,o.func,o.number,o.object,o.string,o.bool]),themeId:o.string});const vu=e=>e,Hg=()=>{let e=vu;return{configure(t){e=t},generate(t){return e(t)},reset(){e=vu}}},j1=Hg();function R1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=R1(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ye(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=R1(e))&&(r&&(r+=" "),r+=t);return r}function Ug(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:a}=e,i=w1("div",{shouldForwardProp:u=>u!=="theme"&&u!=="sx"&&u!=="as"})(qo);return T.forwardRef(function(p,f){const h=As(n),{className:g,component:y="div",...m}=Gl(p);return l.jsx(i,{as:y,ref:f,className:ye(g,a?a(r):r),theme:t&&h[t]||h,...m})})}const qg={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function _e(e,t,n="Mui"){const r=qg[t];return r?`${n}-${r}`:`${j1.generate(e)}-${t}`}function Ne(e,t,n="Mui"){const r={};return t.forEach(a=>{r[a]=_e(e,a,n)}),r}function O1(e,t=""){return e.displayName||e.name||t}function ku(e,t,n){const r=O1(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function Gg(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return O1(e,"Component");if(typeof e=="object")switch(e.$$typeof){case to.ForwardRef:return ku(e,e.render,"ForwardRef");case to.Memo:return ku(e,e.type,"memo");default:return}}}function P1(e){const{variants:t,...n}=e,r={variants:t,style:ho(n),isProcessed:!0};return r.style===n||t&&t.forEach(a=>{typeof a.style!="function"&&(a.style=ho(a.style))}),r}const Kg=Ps();function Gi(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Bo(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Yg(e){return e?(t,n)=>n[e]:null}function Xg(e,t,n){e.theme=Qg(e.theme)?n:e.theme[t]||e.theme}function ia(e,t,n){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(a=>ia(e,a,n));if(Array.isArray(r==null?void 0:r.variants)){let a;if(r.isProcessed)a=n?Bo(r.style,n):r.style;else{const{variants:i,...c}=r;a=n?Bo(ho(c),n):c}return A1(e,r.variants,[a],n)}return r!=null&&r.isProcessed?n?Bo(ho(r.style),n):r.style:n?Bo(ho(r),n):r}function A1(e,t,n=[],r=void 0){var i;let a;e:for(let c=0;c<t.length;c+=1){const u=t[c];if(typeof u.props=="function"){if(a??(a={...e,...e.ownerState,ownerState:e.ownerState}),!u.props(a))continue}else for(const p in u.props)if(e[p]!==u.props[p]&&((i=e.ownerState)==null?void 0:i[p])!==u.props[p])continue e;typeof u.style=="function"?(a??(a={...e,...e.ownerState,ownerState:e.ownerState}),n.push(r?Bo(ho(u.style(a)),r):u.style(a))):n.push(r?Bo(ho(u.style),r):u.style)}return n}function _1(e={}){const{themeId:t,defaultTheme:n=Kg,rootShouldForwardProp:r=Gi,slotShouldForwardProp:a=Gi}=e;function i(u){Xg(u,t,n)}return(u,p={})=>{Bg(u,R=>R.filter(M=>M!==qo));const{name:f,slot:h,skipVariantsResolver:g,skipSx:y,overridesResolver:m=Yg(N1(h)),...x}=p,b=f&&f.startsWith("Mui")||h?"components":"custom",k=g!==void 0?g:h&&h!=="Root"&&h!=="root"||!1,E=y||!1;let w=Gi;h==="Root"||h==="root"?w=r:h?w=a:eb(u)&&(w=void 0);const C=w1(u,{shouldForwardProp:w,label:Zg(f,h),...x}),S=R=>{if(R.__emotion_real===R)return R;if(typeof R=="function")return function(L){return ia(L,R,L.theme.modularCssLayers?b:void 0)};if(Dn(R)){const M=P1(R);return function(H){return M.variants?ia(H,M,H.theme.modularCssLayers?b:void 0):H.theme.modularCssLayers?Bo(M.style,b):M.style}}return R},j=(...R)=>{const M=[],L=R.map(S),H=[];if(M.push(i),f&&m&&H.push(function(O){var X,te;const Y=(te=(X=O.theme.components)==null?void 0:X[f])==null?void 0:te.styleOverrides;if(!Y)return null;const F={};for(const ee in Y)F[ee]=ia(O,Y[ee],O.theme.modularCssLayers?"theme":void 0);return m(O,F)}),f&&!k&&H.push(function(O){var F,X;const _=O.theme,Y=(X=(F=_==null?void 0:_.components)==null?void 0:F[f])==null?void 0:X.variants;return Y?A1(O,Y,[],O.theme.modularCssLayers?"theme":void 0):null}),E||H.push(qo),Array.isArray(L[0])){const v=L.shift(),O=new Array(M.length).fill(""),_=new Array(H.length).fill("");let Y;Y=[...O,...v,..._],Y.raw=[...O,...v.raw,..._],M.unshift(Y)}const U=[...M,...L,...H],K=C(...U);return u.muiName&&(K.muiName=u.muiName),process.env.NODE_ENV!=="production"&&(K.displayName=Jg(f,h,u)),K};return C.withConfig&&(j.withConfig=C.withConfig),j}}function Jg(e,t,n){return e?`${e}${se(t||"")}`:`Styled(${Gg(n)})`}function Zg(e,t){let n;return process.env.NODE_ENV!=="production"&&e&&(n=`${e}-${N1(t||"Root")}`),n}function Qg(e){for(const t in e)return!1;return!0}function eb(e){return typeof e=="string"&&e.charCodeAt(0)>96}function N1(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const M1=_1();function xr(e,t,n=!1){const r={...t};for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)){const i=a;if(i==="components"||i==="slots")r[i]={...e[i],...r[i]};else if(i==="componentsProps"||i==="slotProps"){const c=e[i],u=t[i];if(!u)r[i]=c||{};else if(!c)r[i]=u;else{r[i]={...u};for(const p in c)if(Object.prototype.hasOwnProperty.call(c,p)){const f=p;r[i][f]=xr(c[f],u[f],n)}}}else i==="className"&&n&&t.className?r.className=ye(e==null?void 0:e.className,t==null?void 0:t.className):i==="style"&&n&&t.style?r.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:r[i]===void 0&&(r[i]=e[i])}return r}function tb(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:xr(t.components[n].defaultProps,r)}function B1({props:e,name:t,defaultTheme:n,themeId:r}){let a=As(n);return r&&(a=a[r]||a),tb({theme:a,name:t,props:e})}const fn=typeof window<"u"?T.useLayoutEffect:T.useEffect;function fr(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function Kl(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),fr(e,t,n)}function nb(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),n?`rgb${n.length===4?"a":""}(${n.map((r,a)=>a<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function xo(e){if(e.type)return e;if(e.charAt(0)==="#")return xo(nb(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
48
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:eo(9,e));let r=e.substring(t+1,e.length-1),a;if(n==="color"){if(r=r.split(" "),a=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(a))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${a}\` color space.
49
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:eo(10,a))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:a}}const ob=e=>{const t=xo(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Qr=(e,t)=>{try{return ob(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Xa(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((a,i)=>i<3?parseInt(a,10):a):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function F1(e){e=xo(e);const{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),c=(f,h=(f+n/30)%12)=>a-i*Math.max(Math.min(h-3,9-h,1),-1);let u="rgb";const p=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return e.type==="hsla"&&(u+="a",p.push(t[3])),Xa({type:u,values:p})}function fl(e){e=xo(e);let t=e.type==="hsl"||e.type==="hsla"?xo(F1(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Su(e,t){const n=fl(e),r=fl(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function ya(e,t){return e=xo(e),t=Kl(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Xa(e)}function Ro(e,t,n){try{return ya(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function Ja(e,t){if(e=xo(e),t=Kl(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Xa(e)}function pt(e,t,n){try{return Ja(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function Za(e,t){if(e=xo(e),t=Kl(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Xa(e)}function dt(e,t,n){try{return Za(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function hl(e,t=.15){return fl(e)>.5?Ja(e,t):Za(e,t)}function Ks(e,t,n){try{return hl(e,t)}catch{return e}}const rb="exact-prop: ​";function Yl(e){return process.env.NODE_ENV==="production"?e:{...e,[rb]:t=>{const n=Object.keys(t).filter(r=>!e.hasOwnProperty(r));return n.length>0?new Error(`The following props are not supported: ${n.map(r=>`\`${r}\``).join(", ")}. Please remove them.`):null}}}const sb=T.createContext();process.env.NODE_ENV!=="production"&&(o.node,o.bool);const er=()=>T.useContext(sb)??!1,ab=T.createContext(void 0);process.env.NODE_ENV!=="production"&&(o.node,o.object);function ib(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const a=t.components[n];return a.defaultProps?xr(a.defaultProps,r,t.components.mergeClassNameAndStyle):!a.styleOverrides&&!a.variants?xr(a,r,t.components.mergeClassNameAndStyle):r}function lb({props:e,name:t}){const n=T.useContext(ab);return ib({props:e,name:t,theme:{components:n}})}let Tu=0;function cb(e){const[t,n]=T.useState(e),r=e||t;return T.useEffect(()=>{t==null&&(Tu+=1,n(`mui-${Tu}`))},[t]),r}const ub={...T},Cu=ub.useId;function Go(e){if(Cu!==void 0){const t=Cu();return e??t}return cb(e)}const wu={theme:void 0};function pb(e){let t,n;return function(a){let i=t;return(i===void 0||a.theme!==n)&&(wu.theme=a.theme,i=P1(e(wu)),t=i,n=a.theme),i}}function db(e=""){function t(...r){if(!r.length)return"";const a=r[0];return typeof a=="string"&&!a.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${a}${t(...r.slice(1))})`:`, ${a}`}return(r,...a)=>`var(--${e?`${e}-`:""}${r}${t(...a)})`}const Iu=(e,t,n,r=[])=>{let a=e;t.forEach((i,c)=>{c===t.length-1?Array.isArray(a)?a[Number(i)]=n:a&&typeof a=="object"&&(a[i]=n):a&&typeof a=="object"&&(a[i]||(a[i]=r.includes(i)?[]:{}),a=a[i])})},fb=(e,t,n)=>{function r(a,i=[],c=[]){Object.entries(a).forEach(([u,p])=>{(!n||n&&!n([...i,u]))&&p!=null&&(typeof p=="object"&&Object.keys(p).length>0?r(p,[...i,u],Array.isArray(p)?[...c,u]:c):t([...i,u],p,c))})}r(e)},hb=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Ki(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},a={},i={},c={};return fb(e,(u,p,f)=>{if((typeof p=="string"||typeof p=="number")&&(!r||!r(u,p))){const h=`--${n?`${n}-`:""}${u.join("-")}`,g=hb(u,p);Object.assign(a,{[h]:g}),Iu(i,u,`var(${h})`,f),Iu(c,u,`var(${h}, ${g})`,f)}},u=>u[0]==="vars"),{css:a,vars:i,varsWithDefaults:c}}function mb(e,t={}){const{getSelector:n=E,disableCssColorScheme:r,colorSchemeSelector:a,enableContrastVars:i}=t,{colorSchemes:c={},components:u,defaultColorScheme:p="light",...f}=e,{vars:h,css:g,varsWithDefaults:y}=Ki(f,t);let m=y;const x={},{[p]:b,...k}=c;if(Object.entries(k||{}).forEach(([S,j])=>{const{vars:R,css:M,varsWithDefaults:L}=Ki(j,t);m=Jt(m,L),x[S]={css:M,vars:R}}),b){const{css:S,vars:j,varsWithDefaults:R}=Ki(b,t);m=Jt(m,R),x[p]={css:S,vars:j}}function E(S,j){var M,L;let R=a;if(a==="class"&&(R=".%s"),a==="data"&&(R="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(R=`[${a}="%s"]`),S){if(R==="media")return e.defaultColorScheme===S?":root":{[`@media (prefers-color-scheme: ${((L=(M=c[S])==null?void 0:M.palette)==null?void 0:L.mode)||S})`]:{":root":j}};if(R)return e.defaultColorScheme===S?`:root, ${R.replace("%s",String(S))}`:R.replace("%s",String(S))}return":root"}return{vars:m,generateThemeVars:()=>{let S={...h};return Object.entries(x).forEach(([,{vars:j}])=>{S=Jt(S,j)}),S},generateStyleSheets:()=>{var H,U;const S=[],j=e.defaultColorScheme||"light";function R(K,v){Object.keys(v).length&&S.push(typeof K=="string"?{[K]:{...v}}:K)}R(n(void 0,{...g}),g);const{[j]:M,...L}=x;if(M){const{css:K}=M,v=(U=(H=c[j])==null?void 0:H.palette)==null?void 0:U.mode,O=!r&&v?{colorScheme:v,...K}:{...K};R(n(j,{...O}),O)}return Object.entries(L).forEach(([K,{css:v}])=>{var Y,F;const O=(F=(Y=c[K])==null?void 0:Y.palette)==null?void 0:F.mode,_=!r&&O?{colorScheme:O,...v}:{...v};R(n(K,{..._}),_)}),i&&S.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),S}}}function gb(e){return function(n){return e==="media"?(process.env.NODE_ENV!=="production"&&n!=="light"&&n!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${n}'.`),`@media (prefers-color-scheme: ${n})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}function Me(e,t,n=void 0){const r={};for(const a in e){const i=e[a];let c="",u=!0;for(let p=0;p<i.length;p+=1){const f=i[p];f&&(c+=(u===!0?"":" ")+t(f),u=!1,n&&n[f]&&(c+=" "+n[f]))}r[a]=c}return r}const bb=Ps(),yb=M1("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${se(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),xb=e=>B1({props:e,name:"MuiContainer",defaultTheme:bb}),vb=(e,t)=>{const n=p=>_e(t,p),{classes:r,fixed:a,disableGutters:i,maxWidth:c}=e,u={root:["root",c&&`maxWidth${se(String(c))}`,a&&"fixed",i&&"disableGutters"]};return Me(u,n,r)};function kb(e={}){const{createStyledComponent:t=yb,useThemeProps:n=xb,componentName:r="MuiContainer"}=e,a=t(({theme:c,ownerState:u})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!u.disableGutters&&{paddingLeft:c.spacing(2),paddingRight:c.spacing(2),[c.breakpoints.up("sm")]:{paddingLeft:c.spacing(3),paddingRight:c.spacing(3)}}}),({theme:c,ownerState:u})=>u.fixed&&Object.keys(c.breakpoints.values).reduce((p,f)=>{const h=f,g=c.breakpoints.values[h];return g!==0&&(p[c.breakpoints.up(h)]={maxWidth:`${g}${c.breakpoints.unit}`}),p},{}),({theme:c,ownerState:u})=>({...u.maxWidth==="xs"&&{[c.breakpoints.up("xs")]:{maxWidth:Math.max(c.breakpoints.values.xs,444)}},...u.maxWidth&&u.maxWidth!=="xs"&&{[c.breakpoints.up(u.maxWidth)]:{maxWidth:`${c.breakpoints.values[u.maxWidth]}${c.breakpoints.unit}`}}})),i=T.forwardRef(function(u,p){const f=n(u),{className:h,component:g="div",disableGutters:y=!1,fixed:m=!1,maxWidth:x="lg",classes:b,...k}=f,E={...f,component:g,disableGutters:y,fixed:m,maxWidth:x},w=vb(E,r);return l.jsx(a,{as:g,ownerState:E,className:ye(w.root,h),ref:p,...k})});return process.env.NODE_ENV!=="production"&&(i.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,disableGutters:o.bool,fixed:o.bool,maxWidth:o.oneOfType([o.oneOf(["xs","sm","md","lg","xl",!1]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])}),i}function la(e,t){var n,r,a;return T.isValidElement(e)&&t.indexOf(e.type.muiName??((a=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:a.muiName))!==-1}const Sb=(e,t)=>e.filter(n=>t.includes(n)),_r=(e,t,n)=>{const r=e.keys[0];Array.isArray(t)?t.forEach((a,i)=>{n((c,u)=>{i<=e.keys.length-1&&(i===0?Object.assign(c,u):c[e.up(e.keys[i])]=u)},a)}):t&&typeof t=="object"?(Object.keys(t).length>e.keys.length?e.keys:Sb(e.keys,Object.keys(t))).forEach(i=>{if(e.keys.includes(i)){const c=t[i];c!==void 0&&n((u,p)=>{r===i?Object.assign(u,p):u[e.up(i)]=p},c)}}):(typeof t=="number"||typeof t=="string")&&n((a,i)=>{Object.assign(a,i)},t)};function xa(e){return`--Grid-${e}Spacing`}function Qa(e){return`--Grid-parent-${e}Spacing`}const Eu="--Grid-columns",gr="--Grid-parent-columns",Tb=({theme:e,ownerState:t})=>{const n={};return _r(e.breakpoints,t.size,(r,a)=>{let i={};a==="grow"&&(i={flexBasis:0,flexGrow:1,maxWidth:"100%"}),a==="auto"&&(i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof a=="number"&&(i={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${a} / var(${gr}) - (var(${gr}) - ${a}) * (var(${Qa("column")}) / var(${gr})))`}),r(n,i)}),n},Cb=({theme:e,ownerState:t})=>{const n={};return _r(e.breakpoints,t.offset,(r,a)=>{let i={};a==="auto"&&(i={marginLeft:"auto"}),typeof a=="number"&&(i={marginLeft:a===0?"0px":`calc(100% * ${a} / var(${gr}) + var(${Qa("column")}) * ${a} / var(${gr}))`}),r(n,i)}),n},wb=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={[Eu]:12};return _r(e.breakpoints,t.columns,(r,a)=>{const i=a??12;r(n,{[Eu]:i,"> *":{[gr]:i}})}),n},Ib=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return _r(e.breakpoints,t.rowSpacing,(r,a)=>{var c;const i=typeof a=="string"?a:(c=e.spacing)==null?void 0:c.call(e,a);r(n,{[xa("row")]:i,"> *":{[Qa("row")]:i}})}),n},Eb=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return _r(e.breakpoints,t.columnSpacing,(r,a)=>{var c;const i=typeof a=="string"?a:(c=e.spacing)==null?void 0:c.call(e,a);r(n,{[xa("column")]:i,"> *":{[Qa("column")]:i}})}),n},jb=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return _r(e.breakpoints,t.direction,(r,a)=>{r(n,{flexDirection:a})}),n},Rb=({ownerState:e})=>({minWidth:0,boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",...e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},gap:`var(${xa("row")}) var(${xa("column")})`}}),Ob=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{r!==!1&&r!==void 0&&t.push(`grid-${n}-${String(r)}`)}),t},Pb=(e,t="xs")=>{function n(r){return r===void 0?!1:typeof r=="string"&&!Number.isNaN(Number(r))||typeof r=="number"&&r>0}if(n(e))return[`spacing-${t}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const r=[];return Object.entries(e).forEach(([a,i])=>{n(i)&&r.push(`spacing-${a}-${String(i)}`)}),r}return[]},Ab=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`],_b=e=>["item","zeroMinWidth"].includes(e)?`The \`${e}\` prop has been removed and is no longer necessary. You can safely remove it.`:`The \`${e}\` prop has been removed. See https://v7.mui.com/material-ui/migration/upgrade-to-grid-v2/ for migration instructions.`,ju=[];function Nb(e,t){const n=[];e.item!==void 0&&(delete e.item,n.push("item")),e.zeroMinWidth!==void 0&&(delete e.zeroMinWidth,n.push("zeroMinWidth")),t.keys.forEach(r=>{e[r]!==void 0&&(n.push(r),delete e[r])}),process.env.NODE_ENV!=="production"&&n.forEach(r=>{ju.includes(r)||(ju.push(r),console.warn(`MUI Grid: ${_b(r)}
50
+ `))})}const Mb=Ps(),Bb=M1("div",{name:"MuiGrid",slot:"Root"});function Fb(e){return B1({props:e,name:"MuiGrid",defaultTheme:Mb})}function Lb(e={}){const{createStyledComponent:t=Bb,useThemeProps:n=Fb,useTheme:r=As,componentName:a="MuiGrid"}=e,i=(f,h)=>{const{container:g,direction:y,spacing:m,wrap:x,size:b}=f,k={root:["root",g&&"container",x!=="wrap"&&`wrap-xs-${String(x)}`,...Ab(y),...Ob(b),...g?Pb(m,h.breakpoints.keys[0]):[]]};return Me(k,E=>_e(a,E),{})};function c(f,h,g=()=>!0){const y={};return f===null||(Array.isArray(f)?f.forEach((m,x)=>{m!==null&&g(m)&&h.keys[x]&&(y[h.keys[x]]=m)}):typeof f=="object"?Object.keys(f).forEach(m=>{const x=f[m];x!=null&&g(x)&&(y[m]=x)}):y[h.keys[0]]=f),y}const u=t(wb,Eb,Ib,Tb,jb,Rb,Cb),p=T.forwardRef(function(h,g){const y=r(),m=n(h),x=Gl(m);Nb(x,y.breakpoints);const{className:b,children:k,columns:E=12,container:w=!1,component:C="div",direction:S="row",wrap:j="wrap",size:R={},offset:M={},spacing:L=0,rowSpacing:H=L,columnSpacing:U=L,unstable_level:K=0,...v}=x,O=c(R,y.breakpoints,V=>V!==!1),_=c(M,y.breakpoints),Y=h.columns??(K?void 0:E),F=h.spacing??(K?void 0:L),X=h.rowSpacing??h.spacing??(K?void 0:H),te=h.columnSpacing??h.spacing??(K?void 0:U),ee={...x,level:K,columns:Y,container:w,direction:S,wrap:j,spacing:F,rowSpacing:X,columnSpacing:te,size:O,offset:_},W=i(ee,y);return l.jsx(u,{ref:g,as:C,ownerState:ee,className:ye(W.root,b),...v,children:T.Children.map(k,V=>{var pe;return T.isValidElement(V)&&la(V,["Grid"])&&w&&V.props.container?T.cloneElement(V,{unstable_level:((pe=V.props)==null?void 0:pe.unstable_level)??K+1}):V})})});return process.env.NODE_ENV!=="production"&&(p.propTypes={children:o.node,className:o.string,columns:o.oneOfType([o.arrayOf(o.number),o.number,o.object]),columnSpacing:o.oneOfType([o.arrayOf(o.oneOfType([o.number,o.string])),o.number,o.object,o.string]),component:o.elementType,container:o.bool,direction:o.oneOfType([o.oneOf(["column-reverse","column","row-reverse","row"]),o.arrayOf(o.oneOf(["column-reverse","column","row-reverse","row"])),o.object]),offset:o.oneOfType([o.string,o.number,o.arrayOf(o.oneOfType([o.string,o.number])),o.object]),rowSpacing:o.oneOfType([o.arrayOf(o.oneOfType([o.number,o.string])),o.number,o.object,o.string]),size:o.oneOfType([o.string,o.bool,o.number,o.arrayOf(o.oneOfType([o.string,o.bool,o.number])),o.object]),spacing:o.oneOfType([o.arrayOf(o.oneOfType([o.number,o.string])),o.number,o.object,o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),wrap:o.oneOf(["nowrap","wrap-reverse","wrap"])}),p.muiName="Grid",p}const gs={black:"#000",white:"#fff"},$b={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},rr={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},sr={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Vr={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},ar={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},ir={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},lr={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function L1(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:gs.white,default:gs.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const $1=L1();function D1(){return{text:{primary:gs.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:gs.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const ml=D1();function Ru(e,t,n,r){const a=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Za(e.main,a):t==="dark"&&(e.dark=Ja(e.main,i)))}function Ou(e,t,n,r,a){const i=a.light||a,c=a.dark||a*1.5;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:n==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(i*100).toFixed(0)}%)`:n==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(c*100).toFixed(0)}%)`))}function Db(e="light"){return e==="dark"?{main:ar[200],light:ar[50],dark:ar[400]}:{main:ar[700],light:ar[400],dark:ar[800]}}function zb(e="light"){return e==="dark"?{main:rr[200],light:rr[50],dark:rr[400]}:{main:rr[500],light:rr[300],dark:rr[700]}}function Vb(e="light"){return e==="dark"?{main:sr[500],light:sr[300],dark:sr[700]}:{main:sr[700],light:sr[400],dark:sr[800]}}function Wb(e="light"){return e==="dark"?{main:ir[400],light:ir[300],dark:ir[700]}:{main:ir[700],light:ir[500],dark:ir[900]}}function Hb(e="light"){return e==="dark"?{main:lr[400],light:lr[300],dark:lr[700]}:{main:lr[800],light:lr[500],dark:lr[900]}}function Ub(e="light"){return e==="dark"?{main:Vr[400],light:Vr[300],dark:Vr[700]}:{main:"#ed6c02",light:Vr[500],dark:Vr[900]}}function qb(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Xl(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:a,...i}=e,c=e.primary||Db(t),u=e.secondary||zb(t),p=e.error||Vb(t),f=e.info||Wb(t),h=e.success||Hb(t),g=e.warning||Ub(t);function y(k){if(a)return qb(k);const E=Su(k,ml.text.primary)>=n?ml.text.primary:$1.text.primary;if(process.env.NODE_ENV!=="production"){const w=Su(k,E);w<3&&console.error([`MUI: The contrast ratio of ${w}:1 for ${E} on ${k}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
51
+ `))}return E}const m=({color:k,name:E,mainShade:w=500,lightShade:C=300,darkShade:S=700})=>{if(k={...k},!k.main&&k[w]&&(k.main=k[w]),!k.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${E?` (${E})`:""} provided to augmentColor(color) is invalid.
52
+ The color object needs to have a \`main\` property or a \`${w}\` property.`:eo(11,E?` (${E})`:"",w));if(typeof k.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${E?` (${E})`:""} provided to augmentColor(color) is invalid.
53
+ \`color.main\` should be a string, but \`${JSON.stringify(k.main)}\` was provided instead.
54
+
55
+ Did you intend to use one of the following approaches?
56
+
57
+ import { green } from "@mui/material/colors";
58
+
59
+ const theme1 = createTheme({ palette: {
60
+ primary: green,
61
+ } });
62
+
63
+ const theme2 = createTheme({ palette: {
64
+ primary: { main: green[500] },
65
+ } });`:eo(12,E?` (${E})`:"",JSON.stringify(k.main)));return a?(Ou(a,k,"light",C,r),Ou(a,k,"dark",S,r)):(Ru(k,"light",C,r),Ru(k,"dark",S,r)),k.contrastText||(k.contrastText=y(k.main)),k};let x;return t==="light"?x=L1():t==="dark"&&(x=D1()),process.env.NODE_ENV!=="production"&&(x||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Jt({common:{...gs},mode:t,primary:m({color:c,name:"primary"}),secondary:m({color:u,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:p,name:"error"}),warning:m({color:g,name:"warning"}),info:m({color:f,name:"info"}),success:m({color:h,name:"success"}),grey:$b,contrastThreshold:n,getContrastText:y,augmentColor:m,tonalOffset:r,...x},i)}function Gb(e){const t={};return Object.entries(e).forEach(r=>{const[a,i]=r;typeof i=="object"&&(t[a]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function Kb(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Yb(e){return Math.round(e*1e5)/1e5}const Pu={textTransform:"uppercase"},Au='"Roboto", "Helvetica", "Arial", sans-serif';function Xb(e,t){const{fontFamily:n=Au,fontSize:r=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:p=16,allVariants:f,pxToRem:h,...g}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof r!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof p!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const y=r/14,m=h||(k=>`${k/p*y}rem`),x=(k,E,w,C,S)=>({fontFamily:n,fontWeight:k,fontSize:m(E),lineHeight:w,...n===Au?{letterSpacing:`${Yb(C/E)}em`}:{},...S,...f}),b={h1:x(a,96,1.167,-1.5),h2:x(a,60,1.2,-.5),h3:x(i,48,1.167,0),h4:x(i,34,1.235,.25),h5:x(i,24,1.334,0),h6:x(c,20,1.6,.15),subtitle1:x(i,16,1.75,.15),subtitle2:x(c,14,1.57,.1),body1:x(i,16,1.5,.15),body2:x(i,14,1.43,.15),button:x(c,14,1.75,.4,Pu),caption:x(i,12,1.66,.4),overline:x(i,12,2.66,1,Pu),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Jt({htmlFontSize:p,pxToRem:m,fontFamily:n,fontSize:r,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:c,fontWeightBold:u,...b},g,{clone:!1})}const Jb=.2,Zb=.14,Qb=.12;function jt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Jb})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Zb})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Qb})`].join(",")}const ey=["none",jt(0,2,1,-1,0,1,1,0,0,1,3,0),jt(0,3,1,-2,0,2,2,0,0,1,5,0),jt(0,3,3,-2,0,3,4,0,0,1,8,0),jt(0,2,4,-1,0,4,5,0,0,1,10,0),jt(0,3,5,-1,0,5,8,0,0,1,14,0),jt(0,3,5,-1,0,6,10,0,0,1,18,0),jt(0,4,5,-2,0,7,10,1,0,2,16,1),jt(0,5,5,-3,0,8,10,1,0,3,14,2),jt(0,5,6,-3,0,9,12,1,0,3,16,2),jt(0,6,6,-3,0,10,14,1,0,4,18,3),jt(0,6,7,-4,0,11,15,1,0,4,20,3),jt(0,7,8,-4,0,12,17,2,0,5,22,4),jt(0,7,8,-4,0,13,19,2,0,5,24,4),jt(0,7,9,-4,0,14,21,2,0,5,26,4),jt(0,8,9,-5,0,15,22,2,0,6,28,5),jt(0,8,10,-5,0,16,24,2,0,6,30,5),jt(0,8,11,-5,0,17,26,2,0,6,32,5),jt(0,9,11,-5,0,18,28,2,0,7,34,6),jt(0,9,12,-6,0,19,29,2,0,7,36,6),jt(0,10,13,-6,0,20,31,3,0,8,38,7),jt(0,10,13,-6,0,21,33,3,0,8,40,7),jt(0,10,14,-6,0,22,35,3,0,8,42,7),jt(0,11,14,-7,0,23,36,3,0,9,44,8),jt(0,11,15,-7,0,24,38,3,0,9,46,8)],ty={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},z1={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function _u(e){return`${Math.round(e)}ms`}function ny(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function oy(e){const t={...ty,...e.easing},n={...z1,...e.duration};return{getAutoHeightDuration:ny,create:(a=["all"],i={})=>{const{duration:c=n.standard,easing:u=t.easeInOut,delay:p=0,...f}=i;if(process.env.NODE_ENV!=="production"){const h=y=>typeof y=="string",g=y=>!Number.isNaN(parseFloat(y));!h(a)&&!Array.isArray(a)&&console.error('MUI: Argument "props" must be a string or Array.'),!g(c)&&!h(c)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${c}.`),h(u)||console.error('MUI: Argument "easing" must be a string.'),!g(p)&&!h(p)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
66
+ `)),Object.keys(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(h=>`${h} ${typeof c=="string"?c:_u(c)} ${u} ${typeof p=="string"?p:_u(p)}`).join(",")},...e,easing:t,duration:n}}const ry={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function sy(e){return Dn(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function V1(e={}){const t={...e};function n(r){const a=Object.entries(r);for(let i=0;i<a.length;i++){const[c,u]=a[i];!sy(u)||c.startsWith("unstable_")?delete r[c]:Dn(u)&&(r[c]={...u},n(r[c]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
67
+
68
+ const theme = ${JSON.stringify(t,null,2)};
69
+
70
+ theme.breakpoints = createBreakpoints(theme.breakpoints || {});
71
+ theme.transitions = createTransitions(theme.transitions || {});
72
+
73
+ export default theme;`}function Nu(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const ay=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let r=0;r<t.length;r+=1)n+=+t[r];return n};function iy(e){Object.assign(e,{alpha(t,n){const r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${typeof n=="string"?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof n=="string"?`calc(${n})`:n})`:ya(t,ay(n))},lighten(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${Nu(n)})`:Za(t,n)},darken(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${Nu(n)})`:Ja(t,n)}})}function gl(e={},...t){const{breakpoints:n,mixins:r={},spacing:a,palette:i={},transitions:c={},typography:u={},shape:p,colorSpace:f,...h}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://v7.mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":eo(20));const g=Xl({...i,colorSpace:f}),y=Ps(e);let m=Jt(y,{mixins:Kb(y.breakpoints,r),palette:g,shadows:ey.slice(),typography:Xb(g,u),transitions:oy(c),zIndex:{...ry}});if(m=Jt(m,h),m=t.reduce((x,b)=>Jt(x,b),m),process.env.NODE_ENV!=="production"){const x=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],b=(k,E)=>{let w;for(w in k){const C=k[w];if(x.includes(w)&&Object.keys(C).length>0){if(process.env.NODE_ENV!=="production"){const S=_e("",w);console.error([`MUI: The \`${E}\` component increases the CSS specificity of the \`${w}\` internal state.`,"You can not override it like this: ",JSON.stringify(k,null,2),"",`Instead, you need to use the '&.${S}' syntax:`,JSON.stringify({root:{[`&.${S}`]:C}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
74
+ `))}k[w]={}}}};Object.keys(m.components).forEach(k=>{const E=m.components[k].styleOverrides;E&&k.startsWith("Mui")&&b(E,k)})}return m.unstable_sxConfig={...Os,...h==null?void 0:h.unstable_sxConfig},m.unstable_sx=function(b){return qo({sx:b,theme:this})},m.toRuntimeSource=V1,iy(m),m}function bl(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const ly=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=bl(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function W1(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function H1(e){return e==="dark"?ly:[]}function cy(e){const{palette:t={mode:"light"},opacity:n,overlays:r,colorSpace:a,...i}=e,c=Xl({...t,colorSpace:a});return{palette:c,opacity:{...W1(c.mode),...n},overlays:r||H1(c.mode),...i}}function uy(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const py=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],dy=e=>(t,n)=>{const r=e.rootSelector||":root",a=e.colorSchemeSelector;let i=a;if(a==="class"&&(i=".%s"),a==="data"&&(i="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(i=`[${a}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const c={};return py(e.cssVarPrefix).forEach(u=>{c[u]=n[u],delete n[u]}),i==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:c}}:i?{[i.replace("%s",t)]:c,[`${r}, ${i.replace("%s",t)}`]:n}:{[r]:{...n,...c}}}if(i&&i!=="media")return`${r}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(i)return i.replace("%s",String(t))}return r};function fy(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function ae(e,t,n){!e[t]&&n&&(e[t]=n)}function es(e){return typeof e!="string"||!e.startsWith("hsl")?e:F1(e)}function Xn(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Qr(es(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
75
+ To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function hy(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Ln=e=>{try{return e()}catch{}},my=(e="mui")=>db(e);function Yi(e,t,n,r,a){if(!n)return;n=n===!0?{}:n;const i=a==="dark"?"dark":"light";if(!r){t[a]=cy({...n,palette:{mode:i,...n==null?void 0:n.palette},colorSpace:e});return}const{palette:c,...u}=gl({...r,palette:{mode:i,...n==null?void 0:n.palette},colorSpace:e});return t[a]={...n,palette:c,opacity:{...W1(i),...n==null?void 0:n.opacity},overlays:(n==null?void 0:n.overlays)||H1(i)},u}function gy(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:a=!1,cssVarPrefix:i="mui",nativeColor:c=!1,shouldSkipGeneratingVar:u=uy,colorSchemeSelector:p=n.light&&n.dark?"media":void 0,rootSelector:f=":root",...h}=e,g=Object.keys(n)[0],y=r||(n.light&&g!=="light"?"light":g),m=my(i),{[y]:x,light:b,dark:k,...E}=n,w={...E};let C=x;if((y==="dark"&&!("dark"in n)||y==="light"&&!("light"in n))&&(C=!0),!C)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${y}\` option is either missing or invalid.`:eo(21,y));let S;c&&(S="oklch");const j=Yi(S,w,C,h,y);b&&!w.light&&Yi(S,w,b,void 0,"light"),k&&!w.dark&&Yi(S,w,k,void 0,"dark");let R={defaultColorScheme:y,...j,cssVarPrefix:i,colorSchemeSelector:p,rootSelector:f,getCssVar:m,colorSchemes:w,font:{...Gb(j.typography),...j.font},spacing:hy(h.spacing)};Object.keys(R.colorSchemes).forEach(K=>{const v=R.colorSchemes[K].palette,O=Y=>{const F=Y.split("-"),X=F[1],te=F[2];return m(Y,v[X][te])};v.mode==="light"&&(ae(v.common,"background","#fff"),ae(v.common,"onBackground","#000")),v.mode==="dark"&&(ae(v.common,"background","#000"),ae(v.common,"onBackground","#fff"));function _(Y,F,X){if(S){let te;return Y===Ro&&(te=`transparent ${((1-X)*100).toFixed(0)}%`),Y===pt&&(te=`#000 ${(X*100).toFixed(0)}%`),Y===dt&&(te=`#fff ${(X*100).toFixed(0)}%`),`color-mix(in ${S}, ${F}, ${te})`}return Y(F,X)}if(fy(v,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),v.mode==="light"){ae(v.Alert,"errorColor",_(pt,c?m("palette-error-light"):v.error.light,.6)),ae(v.Alert,"infoColor",_(pt,c?m("palette-info-light"):v.info.light,.6)),ae(v.Alert,"successColor",_(pt,c?m("palette-success-light"):v.success.light,.6)),ae(v.Alert,"warningColor",_(pt,c?m("palette-warning-light"):v.warning.light,.6)),ae(v.Alert,"errorFilledBg",O("palette-error-main")),ae(v.Alert,"infoFilledBg",O("palette-info-main")),ae(v.Alert,"successFilledBg",O("palette-success-main")),ae(v.Alert,"warningFilledBg",O("palette-warning-main")),ae(v.Alert,"errorFilledColor",Ln(()=>v.getContrastText(v.error.main))),ae(v.Alert,"infoFilledColor",Ln(()=>v.getContrastText(v.info.main))),ae(v.Alert,"successFilledColor",Ln(()=>v.getContrastText(v.success.main))),ae(v.Alert,"warningFilledColor",Ln(()=>v.getContrastText(v.warning.main))),ae(v.Alert,"errorStandardBg",_(dt,c?m("palette-error-light"):v.error.light,.9)),ae(v.Alert,"infoStandardBg",_(dt,c?m("palette-info-light"):v.info.light,.9)),ae(v.Alert,"successStandardBg",_(dt,c?m("palette-success-light"):v.success.light,.9)),ae(v.Alert,"warningStandardBg",_(dt,c?m("palette-warning-light"):v.warning.light,.9)),ae(v.Alert,"errorIconColor",O("palette-error-main")),ae(v.Alert,"infoIconColor",O("palette-info-main")),ae(v.Alert,"successIconColor",O("palette-success-main")),ae(v.Alert,"warningIconColor",O("palette-warning-main")),ae(v.AppBar,"defaultBg",O("palette-grey-100")),ae(v.Avatar,"defaultBg",O("palette-grey-400")),ae(v.Button,"inheritContainedBg",O("palette-grey-300")),ae(v.Button,"inheritContainedHoverBg",O("palette-grey-A100")),ae(v.Chip,"defaultBorder",O("palette-grey-400")),ae(v.Chip,"defaultAvatarColor",O("palette-grey-700")),ae(v.Chip,"defaultIconColor",O("palette-grey-700")),ae(v.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ae(v.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ae(v.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ae(v.LinearProgress,"primaryBg",_(dt,c?m("palette-primary-main"):v.primary.main,.62)),ae(v.LinearProgress,"secondaryBg",_(dt,c?m("palette-secondary-main"):v.secondary.main,.62)),ae(v.LinearProgress,"errorBg",_(dt,c?m("palette-error-main"):v.error.main,.62)),ae(v.LinearProgress,"infoBg",_(dt,c?m("palette-info-main"):v.info.main,.62)),ae(v.LinearProgress,"successBg",_(dt,c?m("palette-success-main"):v.success.main,.62)),ae(v.LinearProgress,"warningBg",_(dt,c?m("palette-warning-light"):v.warning.main,.62)),ae(v.Skeleton,"bg",S?_(Ro,c?m("palette-text-primary"):v.text.primary,.11):`rgba(${O("palette-text-primaryChannel")} / 0.11)`),ae(v.Slider,"primaryTrack",_(dt,c?m("palette-primary-main"):v.primary.main,.62)),ae(v.Slider,"secondaryTrack",_(dt,c?m("palette-secondary-main"):v.secondary.main,.62)),ae(v.Slider,"errorTrack",_(dt,c?m("palette-error-main"):v.error.main,.62)),ae(v.Slider,"infoTrack",_(dt,c?m("palette-info-main"):v.info.main,.62)),ae(v.Slider,"successTrack",_(dt,c?m("palette-success-main"):v.success.main,.62)),ae(v.Slider,"warningTrack",_(dt,c?m("palette-warning-main"):v.warning.main,.62));const Y=S?_(pt,c?m("palette-background-default"):v.background.default,.6825):Ks(v.background.default,.8);ae(v.SnackbarContent,"bg",Y),ae(v.SnackbarContent,"color",Ln(()=>S?ml.text.primary:v.getContrastText(Y))),ae(v.SpeedDialAction,"fabHoverBg",Ks(v.background.paper,.15)),ae(v.StepConnector,"border",O("palette-grey-400")),ae(v.StepContent,"border",O("palette-grey-400")),ae(v.Switch,"defaultColor",O("palette-common-white")),ae(v.Switch,"defaultDisabledColor",O("palette-grey-100")),ae(v.Switch,"primaryDisabledColor",_(dt,c?m("palette-primary-main"):v.primary.main,.62)),ae(v.Switch,"secondaryDisabledColor",_(dt,c?m("palette-secondary-main"):v.secondary.main,.62)),ae(v.Switch,"errorDisabledColor",_(dt,c?m("palette-error-main"):v.error.main,.62)),ae(v.Switch,"infoDisabledColor",_(dt,c?m("palette-info-main"):v.info.main,.62)),ae(v.Switch,"successDisabledColor",_(dt,c?m("palette-success-main"):v.success.main,.62)),ae(v.Switch,"warningDisabledColor",_(dt,c?m("palette-warning-main"):v.warning.main,.62)),ae(v.TableCell,"border",_(dt,Ro(c?m("palette-divider"):v.divider,1),.88)),ae(v.Tooltip,"bg",_(Ro,c?m("palette-grey-700"):v.grey[700],.92))}if(v.mode==="dark"){ae(v.Alert,"errorColor",_(dt,c?m("palette-error-light"):v.error.light,.6)),ae(v.Alert,"infoColor",_(dt,c?m("palette-info-light"):v.info.light,.6)),ae(v.Alert,"successColor",_(dt,c?m("palette-success-light"):v.success.light,.6)),ae(v.Alert,"warningColor",_(dt,c?m("palette-warning-light"):v.warning.light,.6)),ae(v.Alert,"errorFilledBg",O("palette-error-dark")),ae(v.Alert,"infoFilledBg",O("palette-info-dark")),ae(v.Alert,"successFilledBg",O("palette-success-dark")),ae(v.Alert,"warningFilledBg",O("palette-warning-dark")),ae(v.Alert,"errorFilledColor",Ln(()=>v.getContrastText(v.error.dark))),ae(v.Alert,"infoFilledColor",Ln(()=>v.getContrastText(v.info.dark))),ae(v.Alert,"successFilledColor",Ln(()=>v.getContrastText(v.success.dark))),ae(v.Alert,"warningFilledColor",Ln(()=>v.getContrastText(v.warning.dark))),ae(v.Alert,"errorStandardBg",_(pt,c?m("palette-error-light"):v.error.light,.9)),ae(v.Alert,"infoStandardBg",_(pt,c?m("palette-info-light"):v.info.light,.9)),ae(v.Alert,"successStandardBg",_(pt,c?m("palette-success-light"):v.success.light,.9)),ae(v.Alert,"warningStandardBg",_(pt,c?m("palette-warning-light"):v.warning.light,.9)),ae(v.Alert,"errorIconColor",O("palette-error-main")),ae(v.Alert,"infoIconColor",O("palette-info-main")),ae(v.Alert,"successIconColor",O("palette-success-main")),ae(v.Alert,"warningIconColor",O("palette-warning-main")),ae(v.AppBar,"defaultBg",O("palette-grey-900")),ae(v.AppBar,"darkBg",O("palette-background-paper")),ae(v.AppBar,"darkColor",O("palette-text-primary")),ae(v.Avatar,"defaultBg",O("palette-grey-600")),ae(v.Button,"inheritContainedBg",O("palette-grey-800")),ae(v.Button,"inheritContainedHoverBg",O("palette-grey-700")),ae(v.Chip,"defaultBorder",O("palette-grey-700")),ae(v.Chip,"defaultAvatarColor",O("palette-grey-300")),ae(v.Chip,"defaultIconColor",O("palette-grey-300")),ae(v.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ae(v.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ae(v.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ae(v.LinearProgress,"primaryBg",_(pt,c?m("palette-primary-main"):v.primary.main,.5)),ae(v.LinearProgress,"secondaryBg",_(pt,c?m("palette-secondary-main"):v.secondary.main,.5)),ae(v.LinearProgress,"errorBg",_(pt,c?m("palette-error-main"):v.error.main,.5)),ae(v.LinearProgress,"infoBg",_(pt,c?m("palette-info-main"):v.info.main,.5)),ae(v.LinearProgress,"successBg",_(pt,c?m("palette-success-main"):v.success.main,.5)),ae(v.LinearProgress,"warningBg",_(pt,c?m("palette-warning-main"):v.warning.main,.5)),ae(v.Skeleton,"bg",S?_(Ro,c?m("palette-text-primary"):v.text.primary,.13):`rgba(${O("palette-text-primaryChannel")} / 0.13)`),ae(v.Slider,"primaryTrack",_(pt,c?m("palette-primary-main"):v.primary.main,.5)),ae(v.Slider,"secondaryTrack",_(pt,c?m("palette-secondary-main"):v.secondary.main,.5)),ae(v.Slider,"errorTrack",_(pt,c?m("palette-error-main"):v.error.main,.5)),ae(v.Slider,"infoTrack",_(pt,c?m("palette-info-main"):v.info.main,.5)),ae(v.Slider,"successTrack",_(pt,c?m("palette-success-main"):v.success.main,.5)),ae(v.Slider,"warningTrack",_(pt,c?m("palette-warning-light"):v.warning.main,.5));const Y=S?_(dt,c?m("palette-background-default"):v.background.default,.985):Ks(v.background.default,.98);ae(v.SnackbarContent,"bg",Y),ae(v.SnackbarContent,"color",Ln(()=>S?$1.text.primary:v.getContrastText(Y))),ae(v.SpeedDialAction,"fabHoverBg",Ks(v.background.paper,.15)),ae(v.StepConnector,"border",O("palette-grey-600")),ae(v.StepContent,"border",O("palette-grey-600")),ae(v.Switch,"defaultColor",O("palette-grey-300")),ae(v.Switch,"defaultDisabledColor",O("palette-grey-600")),ae(v.Switch,"primaryDisabledColor",_(pt,c?m("palette-primary-main"):v.primary.main,.55)),ae(v.Switch,"secondaryDisabledColor",_(pt,c?m("palette-secondary-main"):v.secondary.main,.55)),ae(v.Switch,"errorDisabledColor",_(pt,c?m("palette-error-main"):v.error.main,.55)),ae(v.Switch,"infoDisabledColor",_(pt,c?m("palette-info-main"):v.info.main,.55)),ae(v.Switch,"successDisabledColor",_(pt,c?m("palette-success-main"):v.success.main,.55)),ae(v.Switch,"warningDisabledColor",_(pt,c?m("palette-warning-light"):v.warning.main,.55)),ae(v.TableCell,"border",_(pt,Ro(c?m("palette-divider"):v.divider,1),.68)),ae(v.Tooltip,"bg",_(Ro,c?m("palette-grey-700"):v.grey[700],.92))}c||(Xn(v.background,"default"),Xn(v.background,"paper"),Xn(v.common,"background"),Xn(v.common,"onBackground"),Xn(v,"divider")),Object.keys(v).forEach(Y=>{const F=v[Y];Y!=="tonalOffset"&&!c&&F&&typeof F=="object"&&(F.main&&ae(v[Y],"mainChannel",Qr(es(F.main))),F.light&&ae(v[Y],"lightChannel",Qr(es(F.light))),F.dark&&ae(v[Y],"darkChannel",Qr(es(F.dark))),F.contrastText&&ae(v[Y],"contrastTextChannel",Qr(es(F.contrastText))),Y==="text"&&(Xn(v[Y],"primary"),Xn(v[Y],"secondary")),Y==="action"&&(F.active&&Xn(v[Y],"active"),F.selected&&Xn(v[Y],"selected")))})}),R=t.reduce((K,v)=>Jt(K,v),R);const M={prefix:i,disableCssColorScheme:a,shouldSkipGeneratingVar:u,getSelector:dy(R),enableContrastVars:c},{vars:L,generateThemeVars:H,generateStyleSheets:U}=mb(R,M);return R.vars=L,Object.entries(R.colorSchemes[R.defaultColorScheme]).forEach(([K,v])=>{R[K]=v}),R.generateThemeVars=H,R.generateStyleSheets=U,R.generateSpacing=function(){return I1(h.spacing,Ul(this))},R.getColorSchemeSelector=gb(p),R.spacing=R.generateSpacing(),R.shouldSkipGeneratingVar=u,R.unstable_sxConfig={...Os,...h==null?void 0:h.unstable_sxConfig},R.unstable_sx=function(v){return qo({sx:v,theme:this})},R.toRuntimeSource=V1,R}function Mu(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Xl({...n===!0?{}:n.palette,mode:t})})}function U1(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:a=n?void 0:{light:!0},defaultColorScheme:i=n==null?void 0:n.mode,...c}=e,u=i||"light",p=a==null?void 0:a[u],f={...a,...n?{[u]:{...typeof p!="boolean"&&p,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return gl(e,...t);let h=n;"palette"in e||f[u]&&(f[u]!==!0?h=f[u].palette:u==="dark"&&(h={mode:"dark"}));const g=gl({...e,palette:h},...t);return g.defaultColorScheme=u,g.colorSchemes=f,g.palette.mode==="light"&&(g.colorSchemes.light={...f.light!==!0&&f.light,palette:g.palette},Mu(g,"dark",f.dark)),g.palette.mode==="dark"&&(g.colorSchemes.dark={...f.dark!==!0&&f.dark,palette:g.palette},Mu(g,"light",f.light)),g}return!n&&!("light"in f)&&u==="light"&&(f.light=!0),gy({...c,colorSchemes:f,defaultColorScheme:u,...typeof r!="boolean"&&r},...t)}const Jl=U1(),ei="$$material";function io(){const e=As(Jl);return process.env.NODE_ENV!=="production"&&T.useDebugValue(e),e[ei]||e}function q1(e){return l.jsx(E1,{...e,defaultTheme:Jl,themeId:ei})}process.env.NODE_ENV!=="production"&&(q1.propTypes={styles:o.oneOfType([o.array,o.func,o.number,o.object,o.string,o.bool])});function ti(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const on=e=>ti(e)&&e!=="classes",ce=_1({themeId:ei,defaultTheme:Jl,rootShouldForwardProp:on});function Zl(e){return function(n){return l.jsx(q1,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function by(){return Gl}process.env.NODE_ENV!=="production"&&(o.node,o.object.isRequired);function Le(e){return lb(e)}const yl=typeof Zl({})=="function",yy=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),xy=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),G1=(e,t=!1)=>{var i,c;const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([u,p])=>{var h,g;const f=e.getColorSchemeSelector(u);f.startsWith("@")?n[f]={":root":{colorScheme:(h=p.palette)==null?void 0:h.mode}}:n[f.replace(/\s*&/,"")]={colorScheme:(g=p.palette)==null?void 0:g.mode}});let r={html:yy(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...xy(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const a=(c=(i=e.components)==null?void 0:i.MuiCssBaseline)==null?void 0:c.styleOverrides;return a&&(r=[r,a]),r},ca="mui-ecs",vy=e=>{const t=G1(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${ca})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,a])=>{var c,u;const i=e.getColorSchemeSelector(r);i.startsWith("@")?n[i]={[`:root:not(:has(.${ca}))`]:{colorScheme:(c=a.palette)==null?void 0:c.mode}}:n[i.replace(/\s*&/,"")]={[`&:not(:has(.${ca}))`]:{colorScheme:(u=a.palette)==null?void 0:u.mode}}}),t},ky=Zl(yl?({theme:e,enableColorScheme:t})=>G1(e,t):({theme:e})=>vy(e));function K1(e){const t=Le({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return l.jsxs(T.Fragment,{children:[yl&&l.jsx(ky,{enableColorScheme:r}),!yl&&!r&&l.jsx("span",{className:ca,style:{display:"none"}}),n]})}process.env.NODE_ENV!=="production"&&(K1.propTypes={children:o.node,enableColorScheme:o.bool});const Y1=xe.createContext({mode:"light",setMode:()=>{},toggleTheme:()=>{}}),X1=()=>xe.useContext(Y1),Sy=({children:e})=>{const[t,n]=xe.useState(()=>{const c=localStorage.getItem("mirae_theme_mode");return c==="dark"||c==="light"?c:typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}),r=c=>{n(c),localStorage.setItem("mirae_theme_mode",c)},a=()=>{n(c=>{const u=c==="light"?"dark":"light";return localStorage.setItem("mirae_theme_mode",u),u})},i=xe.useMemo(()=>t==="light"?b1:y1,[t]);return xe.useEffect(()=>{document.body.dataset.theme=t},[t]),l.jsx(Y1.Provider,{value:{mode:t,setMode:r,toggleTheme:a},children:l.jsxs(Dt.ThemeProvider,{theme:i,children:[l.jsx(K1,{}),e]})})};function Bu(...e){return e.reduce((t,n)=>n==null?t:function(...a){t.apply(this,a),n.apply(this,a)},()=>{})}const Pe=pb;function Ty(e){return _e("MuiSvgIcon",e)}Ne("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Cy=e=>{const{color:t,fontSize:n,classes:r}=e,a={root:["root",t!=="inherit"&&`color${se(t)}`,`fontSize${se(n)}`]};return Me(a,Ty,r)},wy=ce("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${se(n.color)}`],t[`fontSize${se(n.fontSize)}`]]}})(Pe(({theme:e})=>{var t,n,r,a,i,c,u,p,f,h,g,y,m,x;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(a=(t=e.transitions)==null?void 0:t.create)==null?void 0:a.call(t,"fill",{duration:(r=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:b=>!b.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((c=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:c.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((p=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:p.call(u,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((h=(f=e.typography)==null?void 0:f.pxToRem)==null?void 0:h.call(f,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,b])=>b&&b.main).map(([b])=>{var k,E;return{props:{color:b},style:{color:(E=(k=(e.vars??e).palette)==null?void 0:k[b])==null?void 0:E.main}}}),{props:{color:"action"},style:{color:(y=(g=(e.vars??e).palette)==null?void 0:g.action)==null?void 0:y.active}},{props:{color:"disabled"},style:{color:(x=(m=(e.vars??e).palette)==null?void 0:m.action)==null?void 0:x.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),va=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiSvgIcon"}),{children:a,className:i,color:c="inherit",component:u="svg",fontSize:p="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:g,viewBox:y="0 0 24 24",...m}=r,x=T.isValidElement(a)&&a.type==="svg",b={...r,color:c,component:u,fontSize:p,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:y,hasSvgAsChild:x},k={};h||(k.viewBox=y);const E=Cy(b);return l.jsxs(wy,{as:u,className:ye(E.root,i),focusable:"false",color:f,"aria-hidden":g?void 0:!0,role:g?"img":void 0,ref:n,...k,...m,...x&&a.props,ownerState:b,children:[x?a.props.children:a,g?l.jsx("title",{children:g}):null]})});process.env.NODE_ENV!=="production"&&(va.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),o.string]),component:o.elementType,fontSize:o.oneOfType([o.oneOf(["inherit","large","medium","small"]),o.string]),htmlColor:o.string,inheritViewBox:o.bool,shapeRendering:o.string,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),titleAccess:o.string,viewBox:o.string});va.muiName="SvgIcon";function Q(e,t){function n(r,a){return l.jsx(va,{"data-testid":process.env.NODE_ENV!=="production"?`${t}Icon`:void 0,ref:a,...r,children:e})}return process.env.NODE_ENV!=="production"&&(n.displayName=`${t}Icon`),n.muiName=va.muiName,T.memo(T.forwardRef(n))}function ni(e,t=166){let n;function r(...a){const i=()=>{e.apply(this,a)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function Nt(e){return e&&e.ownerDocument||document}function Nn(e){return Nt(e).defaultView||window}function Iy(e,t){if(process.env.NODE_ENV==="production")return()=>()=>null;const n=t?{...t.propTypes}:null;return a=>(i,c,u,p,f,...h)=>{const g=f||c,y=n==null?void 0:n[g];if(y){const m=y(i,c,u,p,f,...h);if(m)return m}return typeof i[c]<"u"&&!i[a]?new Error(`The prop \`${g}\` of \`${e}\` can only be used together with the \`${a}\` prop.`):null}}function Fu(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function J1(e,t,n,r,a){if(process.env.NODE_ENV==="production")return null;const i=a||t;return typeof e[t]<"u"?new Error(`The prop \`${i}\` is not supported. Please remove it.`):null}function bs(e){const{controlled:t,default:n,name:r,state:a="value"}=e,{current:i}=T.useRef(t!==void 0),[c,u]=T.useState(n),p=i?t:c;if(process.env.NODE_ENV!=="production"){T.useEffect(()=>{i!==(t!==void 0)&&console.error([`MUI: A component is changing the ${i?"":"un"}controlled ${a} state of ${r} to be ${i?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
76
+ `))},[a,r,t]);const{current:h}=T.useRef(n);T.useEffect(()=>{!i&&JSON.stringify(n)!==JSON.stringify(h)&&console.error([`MUI: A component is changing the default ${a} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
77
+ `))},[JSON.stringify(n)])}const f=T.useCallback(h=>{i||u(h)},[]);return[p,f]}function qt(e){const t=T.useRef(e);return fn(()=>{t.current=e}),T.useRef((...n)=>(0,t.current)(...n)).current}function Mt(...e){const t=T.useRef(void 0),n=T.useCallback(r=>{const a=e.map(i=>{if(i==null)return null;if(typeof i=="function"){const c=i,u=c(r);return typeof u=="function"?u:()=>{c(null)}}return i.current=r,()=>{i.current=null}});return()=>{a.forEach(i=>i==null?void 0:i())}},e);return T.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=n(r))},e)}function Ey(e,t){const n=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&n>=65&&n<=90&&typeof t=="function"}function Z1(e,t){if(!e)return t;function n(c,u){const p={};return Object.keys(u).forEach(f=>{Ey(f,u[f])&&typeof c[f]=="function"&&(p[f]=(...h)=>{c[f](...h),u[f](...h)})}),p}if(typeof e=="function"||typeof t=="function")return c=>{const u=typeof t=="function"?t(c):t,p=typeof e=="function"?e({...c,...u}):e,f=ye(c==null?void 0:c.className,u==null?void 0:u.className,p==null?void 0:p.className),h=n(p,u);return{...u,...p,...h,...!!f&&{className:f},...(u==null?void 0:u.style)&&(p==null?void 0:p.style)&&{style:{...u.style,...p.style}},...(u==null?void 0:u.sx)&&(p==null?void 0:p.sx)&&{sx:[...Array.isArray(u.sx)?u.sx:[u.sx],...Array.isArray(p.sx)?p.sx:[p.sx]]}}};const r=t,a=n(e,r),i=ye(r==null?void 0:r.className,e==null?void 0:e.className);return{...t,...e,...a,...!!i&&{className:i},...(r==null?void 0:r.style)&&(e==null?void 0:e.style)&&{style:{...r.style,...e.style}},...(r==null?void 0:r.sx)&&(e==null?void 0:e.sx)&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}const gn=o.oneOfType([o.func,o.object]);function Cn(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||t(...r)}}function jy(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Ry(e,t,n,r,a){const i=e[t],c=a||t;if(i==null||typeof window>"u")return null;let u;return typeof i=="function"&&!jy(i)&&(u="Did you accidentally provide a plain function component instead?"),i===T.Fragment&&(u="Did you accidentally provide a React.Fragment instead?"),u!==void 0?new Error(`Invalid ${r} \`${c}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${u} For more information see https://v7.mui.com/r/caveat-with-refs-guide`):null}const oi=Cn(o.elementType,Ry);function vr(e){try{return e.matches(":focus-visible")}catch{process.env.NODE_ENV!=="production"&&!window.navigator.userAgent.includes("jsdom")&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
78
+ `))}return!1}const Lu={};function Q1(e,t){const n=T.useRef(Lu);return n.current===Lu&&(n.current=e(t)),n}class ka{constructor(){zr(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new ka}static use(){const t=Q1(ka.create).current,[n,r]=T.useState(!1);return t.shouldMount=n,t.setShouldMount=r,T.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=Py(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...t)})}stop(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...t)})}pulsate(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...t)})}}function Oy(){return ka.use()}function Py(){let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n}function xl(){return xl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xl.apply(null,arguments)}function ed(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function vl(e,t){return vl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},vl(e,t)}function td(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,vl(e,t)}const $u={disabled:!1};var Ay=process.env.NODE_ENV!=="production"?o.oneOfType([o.number,o.shape({enter:o.number,exit:o.number,appear:o.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&o.oneOfType([o.string,o.shape({enter:o.string,exit:o.string,active:o.string}),o.shape({enter:o.string,enterDone:o.string,enterActive:o.string,exit:o.string,exitDone:o.string,exitActive:o.string})]);const Sa=xe.createContext(null);var _y=function(t){return t.scrollTop},ts="unmounted",Ao="exited",_o="entering",hr="entered",kl="exiting",Rn=function(e){td(t,e);function t(r,a){var i;i=e.call(this,r,a)||this;var c=a,u=c&&!c.isMounting?r.enter:r.appear,p;return i.appearStatus=null,r.in?u?(p=Ao,i.appearStatus=_o):p=hr:r.unmountOnExit||r.mountOnEnter?p=ts:p=Ao,i.state={status:p},i.nextCallback=null,i}t.getDerivedStateFromProps=function(a,i){var c=a.in;return c&&i.status===ts?{status:Ao}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(a){var i=null;if(a!==this.props){var c=this.state.status;this.props.in?c!==_o&&c!==hr&&(i=_o):(c===_o||c===hr)&&(i=kl)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var a=this.props.timeout,i,c,u;return i=c=u=a,a!=null&&typeof a!="number"&&(i=a.exit,c=a.enter,u=a.appear!==void 0?a.appear:c),{exit:i,enter:c,appear:u}},n.updateStatus=function(a,i){if(a===void 0&&(a=!1),i!==null)if(this.cancelNextCallback(),i===_o){if(this.props.unmountOnExit||this.props.mountOnEnter){var c=this.props.nodeRef?this.props.nodeRef.current:Zr.findDOMNode(this);c&&_y(c)}this.performEnter(a)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ao&&this.setState({status:ts})},n.performEnter=function(a){var i=this,c=this.props.enter,u=this.context?this.context.isMounting:a,p=this.props.nodeRef?[u]:[Zr.findDOMNode(this),u],f=p[0],h=p[1],g=this.getTimeouts(),y=u?g.appear:g.enter;if(!a&&!c||$u.disabled){this.safeSetState({status:hr},function(){i.props.onEntered(f)});return}this.props.onEnter(f,h),this.safeSetState({status:_o},function(){i.props.onEntering(f,h),i.onTransitionEnd(y,function(){i.safeSetState({status:hr},function(){i.props.onEntered(f,h)})})})},n.performExit=function(){var a=this,i=this.props.exit,c=this.getTimeouts(),u=this.props.nodeRef?void 0:Zr.findDOMNode(this);if(!i||$u.disabled){this.safeSetState({status:Ao},function(){a.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:kl},function(){a.props.onExiting(u),a.onTransitionEnd(c.exit,function(){a.safeSetState({status:Ao},function(){a.props.onExited(u)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(a,i){i=this.setNextCallback(i),this.setState(a,i)},n.setNextCallback=function(a){var i=this,c=!0;return this.nextCallback=function(u){c&&(c=!1,i.nextCallback=null,a(u))},this.nextCallback.cancel=function(){c=!1},this.nextCallback},n.onTransitionEnd=function(a,i){this.setNextCallback(i);var c=this.props.nodeRef?this.props.nodeRef.current:Zr.findDOMNode(this),u=a==null&&!this.props.addEndListener;if(!c||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var p=this.props.nodeRef?[this.nextCallback]:[c,this.nextCallback],f=p[0],h=p[1];this.props.addEndListener(f,h)}a!=null&&setTimeout(this.nextCallback,a)},n.render=function(){var a=this.state.status;if(a===ts)return null;var i=this.props,c=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var u=ed(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return xe.createElement(Sa.Provider,{value:null},typeof c=="function"?c(a,u):xe.cloneElement(xe.Children.only(c),u))},t}(xe.Component);Rn.contextType=Sa;Rn.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:o.shape({current:typeof Element>"u"?o.any:function(e,t,n,r,a,i){var c=e[t];return o.instanceOf(c&&"ownerDocument"in c?c.ownerDocument.defaultView.Element:Element)(e,t,n,r,a,i)}}),children:o.oneOfType([o.func.isRequired,o.element.isRequired]).isRequired,in:o.bool,mountOnEnter:o.bool,unmountOnExit:o.bool,appear:o.bool,enter:o.bool,exit:o.bool,timeout:function(t){var n=Ay;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,a=new Array(r>1?r-1:0),i=1;i<r;i++)a[i-1]=arguments[i];return n.apply(void 0,[t].concat(a))},addEndListener:o.func,onEnter:o.func,onEntering:o.func,onEntered:o.func,onExit:o.func,onExiting:o.func,onExited:o.func}:{};function cr(){}Rn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:cr,onEntering:cr,onEntered:cr,onExit:cr,onExiting:cr,onExited:cr};Rn.UNMOUNTED=ts;Rn.EXITED=Ao;Rn.ENTERING=_o;Rn.ENTERED=hr;Rn.EXITING=kl;function Ny(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ql(e,t){var n=function(i){return t&&xe.isValidElement(i)?t(i):i},r=Object.create(null);return e&&xe.Children.map(e,function(a){return a}).forEach(function(a){r[a.key]=n(a)}),r}function My(e,t){e=e||{},t=t||{};function n(h){return h in t?t[h]:e[h]}var r=Object.create(null),a=[];for(var i in e)i in t?a.length&&(r[i]=a,a=[]):a.push(i);var c,u={};for(var p in t){if(r[p])for(c=0;c<r[p].length;c++){var f=r[p][c];u[r[p][c]]=n(f)}u[p]=n(p)}for(c=0;c<a.length;c++)u[a[c]]=n(a[c]);return u}function Fo(e,t,n){return n[t]!=null?n[t]:e.props[t]}function By(e,t){return Ql(e.children,function(n){return xe.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:Fo(n,"appear",e),enter:Fo(n,"enter",e),exit:Fo(n,"exit",e)})})}function Fy(e,t,n){var r=Ql(e.children),a=My(t,r);return Object.keys(a).forEach(function(i){var c=a[i];if(xe.isValidElement(c)){var u=i in t,p=i in r,f=t[i],h=xe.isValidElement(f)&&!f.props.in;p&&(!u||h)?a[i]=xe.cloneElement(c,{onExited:n.bind(null,c),in:!0,exit:Fo(c,"exit",e),enter:Fo(c,"enter",e)}):!p&&u&&!h?a[i]=xe.cloneElement(c,{in:!1}):p&&u&&xe.isValidElement(f)&&(a[i]=xe.cloneElement(c,{onExited:n.bind(null,c),in:f.props.in,exit:Fo(c,"exit",e),enter:Fo(c,"enter",e)}))}}),a}var Ly=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},$y={component:"div",childFactory:function(t){return t}},ec=function(e){td(t,e);function t(r,a){var i;i=e.call(this,r,a)||this;var c=i.handleExited.bind(Ny(i));return i.state={contextValue:{isMounting:!0},handleExited:c,firstRender:!0},i}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(a,i){var c=i.children,u=i.handleExited,p=i.firstRender;return{children:p?By(a,u):Fy(a,c,u),firstRender:!1}},n.handleExited=function(a,i){var c=Ql(this.props.children);a.key in c||(a.props.onExited&&a.props.onExited(i),this.mounted&&this.setState(function(u){var p=xl({},u.children);return delete p[a.key],{children:p}}))},n.render=function(){var a=this.props,i=a.component,c=a.childFactory,u=ed(a,["component","childFactory"]),p=this.state.contextValue,f=Ly(this.state.children).map(c);return delete u.appear,delete u.enter,delete u.exit,i===null?xe.createElement(Sa.Provider,{value:p},f):xe.createElement(Sa.Provider,{value:p},xe.createElement(i,u,f))},t}(xe.Component);ec.propTypes=process.env.NODE_ENV!=="production"?{component:o.any,children:o.node,appear:o.bool,enter:o.bool,exit:o.bool,childFactory:o.func}:{};ec.defaultProps=$y;const Dy=[];function zy(e){T.useEffect(e,Dy)}class ri{constructor(){zr(this,"currentId",null);zr(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});zr(this,"disposeEffect",()=>this.clear)}static create(){return new ri}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function uo(){const e=Q1(ri.create).current;return zy(e.disposeEffect),e}function nd(e){const{className:t,classes:n,pulsate:r=!1,rippleX:a,rippleY:i,rippleSize:c,in:u,onExited:p,timeout:f}=e,[h,g]=T.useState(!1),y=ye(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:c,height:c,top:-(c/2)+i,left:-(c/2)+a},x=ye(n.child,h&&n.childLeaving,r&&n.childPulsate);return!u&&!h&&g(!0),T.useEffect(()=>{if(!u&&p!=null){const b=setTimeout(p,f);return()=>{clearTimeout(b)}}},[p,u,f]),l.jsx("span",{className:y,style:m,children:l.jsx("span",{className:x})})}process.env.NODE_ENV!=="production"&&(nd.propTypes={classes:o.object.isRequired,className:o.string,in:o.bool,onExited:o.func,pulsate:o.bool,rippleSize:o.number,rippleX:o.number,rippleY:o.number,timeout:o.number.isRequired});const xn=Ne("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Sl=550,Vy=80,Wy=ao.keyframes`
79
+ 0% {
80
+ transform: scale(0);
81
+ opacity: 0.1;
82
+ }
83
+
84
+ 100% {
85
+ transform: scale(1);
86
+ opacity: 0.3;
87
+ }
88
+ `,Hy=ao.keyframes`
89
+ 0% {
90
+ opacity: 1;
91
+ }
92
+
93
+ 100% {
94
+ opacity: 0;
95
+ }
96
+ `,Uy=ao.keyframes`
97
+ 0% {
98
+ transform: scale(1);
99
+ }
100
+
101
+ 50% {
102
+ transform: scale(0.92);
103
+ }
104
+
105
+ 100% {
106
+ transform: scale(1);
107
+ }
108
+ `,qy=ce("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Gy=ce(nd,{name:"MuiTouchRipple",slot:"Ripple"})`
109
+ opacity: 0;
110
+ position: absolute;
111
+
112
+ &.${xn.rippleVisible} {
113
+ opacity: 0.3;
114
+ transform: scale(1);
115
+ animation-name: ${Wy};
116
+ animation-duration: ${Sl}ms;
117
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
118
+ }
119
+
120
+ &.${xn.ripplePulsate} {
121
+ animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
122
+ }
123
+
124
+ & .${xn.child} {
125
+ opacity: 1;
126
+ display: block;
127
+ width: 100%;
128
+ height: 100%;
129
+ border-radius: 50%;
130
+ background-color: currentColor;
131
+ }
132
+
133
+ & .${xn.childLeaving} {
134
+ opacity: 0;
135
+ animation-name: ${Hy};
136
+ animation-duration: ${Sl}ms;
137
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
138
+ }
139
+
140
+ & .${xn.childPulsate} {
141
+ position: absolute;
142
+ /* @noflip */
143
+ left: 0px;
144
+ top: 0;
145
+ animation-name: ${Uy};
146
+ animation-duration: 2500ms;
147
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
148
+ animation-iteration-count: infinite;
149
+ animation-delay: 200ms;
150
+ }
151
+ `,od=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiTouchRipple"}),{center:a=!1,classes:i={},className:c,...u}=r,[p,f]=T.useState([]),h=T.useRef(0),g=T.useRef(null);T.useEffect(()=>{g.current&&(g.current(),g.current=null)},[p]);const y=T.useRef(!1),m=uo(),x=T.useRef(null),b=T.useRef(null),k=T.useCallback(S=>{const{pulsate:j,rippleX:R,rippleY:M,rippleSize:L,cb:H}=S;f(U=>[...U,l.jsx(Gy,{classes:{ripple:ye(i.ripple,xn.ripple),rippleVisible:ye(i.rippleVisible,xn.rippleVisible),ripplePulsate:ye(i.ripplePulsate,xn.ripplePulsate),child:ye(i.child,xn.child),childLeaving:ye(i.childLeaving,xn.childLeaving),childPulsate:ye(i.childPulsate,xn.childPulsate)},timeout:Sl,pulsate:j,rippleX:R,rippleY:M,rippleSize:L},h.current)]),h.current+=1,g.current=H},[i]),E=T.useCallback((S={},j={},R=()=>{})=>{const{pulsate:M=!1,center:L=a||j.pulsate,fakeElement:H=!1}=j;if((S==null?void 0:S.type)==="mousedown"&&y.current){y.current=!1;return}(S==null?void 0:S.type)==="touchstart"&&(y.current=!0);const U=H?null:b.current,K=U?U.getBoundingClientRect():{width:0,height:0,left:0,top:0};let v,O,_;if(L||S===void 0||S.clientX===0&&S.clientY===0||!S.clientX&&!S.touches)v=Math.round(K.width/2),O=Math.round(K.height/2);else{const{clientX:Y,clientY:F}=S.touches&&S.touches.length>0?S.touches[0]:S;v=Math.round(Y-K.left),O=Math.round(F-K.top)}if(L)_=Math.sqrt((2*K.width**2+K.height**2)/3),_%2===0&&(_+=1);else{const Y=Math.max(Math.abs((U?U.clientWidth:0)-v),v)*2+2,F=Math.max(Math.abs((U?U.clientHeight:0)-O),O)*2+2;_=Math.sqrt(Y**2+F**2)}S!=null&&S.touches?x.current===null&&(x.current=()=>{k({pulsate:M,rippleX:v,rippleY:O,rippleSize:_,cb:R})},m.start(Vy,()=>{x.current&&(x.current(),x.current=null)})):k({pulsate:M,rippleX:v,rippleY:O,rippleSize:_,cb:R})},[a,k,m]),w=T.useCallback(()=>{E({},{pulsate:!0})},[E]),C=T.useCallback((S,j)=>{if(m.clear(),(S==null?void 0:S.type)==="touchend"&&x.current){x.current(),x.current=null,m.start(0,()=>{C(S,j)});return}x.current=null,f(R=>R.length>0?R.slice(1):R),g.current=j},[m]);return T.useImperativeHandle(n,()=>({pulsate:w,start:E,stop:C}),[w,E,C]),l.jsx(qy,{className:ye(xn.root,i.root,c),ref:b,...u,children:l.jsx(ec,{component:null,exit:!0,children:p})})});process.env.NODE_ENV!=="production"&&(od.propTypes={center:o.bool,classes:o.object,className:o.string});function Ky(e){return _e("MuiButtonBase",e)}const Yy=Ne("MuiButtonBase",["root","disabled","focusVisible"]),Xy=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:a}=e,c=Me({root:["root",t&&"disabled",n&&"focusVisible"]},Ky,a);return n&&r&&(c.root+=` ${r}`),c},Jy=ce("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Yy.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),wn=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiButtonBase"}),{action:a,centerRipple:i=!1,children:c,className:u,component:p="button",disabled:f=!1,disableRipple:h=!1,disableTouchRipple:g=!1,focusRipple:y=!1,focusVisibleClassName:m,LinkComponent:x="a",onBlur:b,onClick:k,onContextMenu:E,onDragLeave:w,onFocus:C,onFocusVisible:S,onKeyDown:j,onKeyUp:R,onMouseDown:M,onMouseLeave:L,onMouseUp:H,onTouchEnd:U,onTouchMove:K,onTouchStart:v,tabIndex:O=0,TouchRippleProps:_,touchRippleRef:Y,type:F,...X}=r,te=T.useRef(null),ee=Oy(),W=Mt(ee.ref,Y),[V,pe]=T.useState(!1);f&&V&&pe(!1),T.useImperativeHandle(a,()=>({focusVisible:()=>{pe(!0),te.current.focus()}}),[]);const ue=ee.shouldMount&&!h&&!f;T.useEffect(()=>{V&&y&&!h&&ee.pulsate()},[h,y,V,ee]);const he=Jn(ee,"start",M,g),A=Jn(ee,"stop",E,g),N=Jn(ee,"stop",w,g),$=Jn(ee,"stop",H,g),B=Jn(ee,"stop",Te=>{V&&Te.preventDefault(),L&&L(Te)},g),G=Jn(ee,"start",v,g),q=Jn(ee,"stop",U,g),oe=Jn(ee,"stop",K,g),z=Jn(ee,"stop",Te=>{vr(Te.target)||pe(!1),b&&b(Te)},!1),fe=qt(Te=>{te.current||(te.current=Te.currentTarget),vr(Te.target)&&(pe(!0),S&&S(Te)),C&&C(Te)}),re=()=>{const Te=te.current;return Te?Te.tagName==="BUTTON"?!1:!(Te.tagName==="A"&&Te.href):p&&p!=="button"},ke=qt(Te=>{y&&!Te.repeat&&V&&Te.key===" "&&ee.stop(Te,()=>{ee.start(Te)}),Te.target===Te.currentTarget&&re()&&Te.key===" "&&Te.preventDefault(),j&&j(Te),Te.target===Te.currentTarget&&re()&&Te.key==="Enter"&&!f&&(Te.preventDefault(),k&&k(Te))}),je=qt(Te=>{y&&Te.key===" "&&V&&!Te.defaultPrevented&&ee.stop(Te,()=>{ee.pulsate(Te)}),R&&R(Te),k&&Te.target===Te.currentTarget&&re()&&Te.key===" "&&!Te.defaultPrevented&&!f&&k(Te)});let be=p;be==="button"&&(X.href||X.to)&&(be=x);const Ee={};if(be==="button"){const Te=!!X.formAction;Ee.type=F===void 0&&!Te?"button":F,Ee.disabled=f}else!X.href&&!X.to&&(Ee.role="button"),f&&(Ee["aria-disabled"]=f);const ze=Mt(n,te),Ze={...r,centerRipple:i,component:p,disabled:f,disableRipple:h,disableTouchRipple:g,focusRipple:y,tabIndex:O,focusVisible:V},We=Xy(Ze);return l.jsxs(Jy,{as:be,className:ye(We.root,u),ownerState:Ze,onBlur:z,onClick:k,onContextMenu:A,onFocus:fe,onKeyDown:ke,onKeyUp:je,onMouseDown:he,onMouseLeave:B,onMouseUp:$,onDragLeave:N,onTouchEnd:q,onTouchMove:oe,onTouchStart:G,ref:ze,tabIndex:f?-1:O,type:F,...Ee,...X,children:[c,ue?l.jsx(od,{ref:W,center:i,..._}):null]})});function Jn(e,t,n,r=!1){return qt(a=>(n&&n(a),r||e[t](a),!0))}process.env.NODE_ENV!=="production"&&(wn.propTypes={action:gn,centerRipple:o.bool,children:o.node,classes:o.object,className:o.string,component:oi,disabled:o.bool,disableRipple:o.bool,disableTouchRipple:o.bool,focusRipple:o.bool,focusVisibleClassName:o.string,formAction:o.oneOfType([o.func,o.string]),href:o.any,LinkComponent:o.elementType,onBlur:o.func,onClick:o.func,onContextMenu:o.func,onDragLeave:o.func,onFocus:o.func,onFocusVisible:o.func,onKeyDown:o.func,onKeyUp:o.func,onMouseDown:o.func,onMouseLeave:o.func,onMouseUp:o.func,onTouchEnd:o.func,onTouchMove:o.func,onTouchStart:o.func,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),tabIndex:o.number,TouchRippleProps:o.object,touchRippleRef:o.oneOfType([o.func,o.shape({current:o.shape({pulsate:o.func.isRequired,start:o.func.isRequired,stop:o.func.isRequired})})]),type:o.oneOfType([o.oneOf(["button","reset","submit"]),o.string])});function Zy(e){return typeof e.main=="string"}function Qy(e,t=[]){if(!Zy(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function Et(e=[]){return([,t])=>t&&Qy(t,e)}function e0(e){return _e("MuiCircularProgress",e)}Ne("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Pn=44,Tl=ao.keyframes`
152
+ 0% {
153
+ transform: rotate(0deg);
154
+ }
155
+
156
+ 100% {
157
+ transform: rotate(360deg);
158
+ }
159
+ `,Cl=ao.keyframes`
160
+ 0% {
161
+ stroke-dasharray: 1px, 200px;
162
+ stroke-dashoffset: 0;
163
+ }
164
+
165
+ 50% {
166
+ stroke-dasharray: 100px, 200px;
167
+ stroke-dashoffset: -15px;
168
+ }
169
+
170
+ 100% {
171
+ stroke-dasharray: 1px, 200px;
172
+ stroke-dashoffset: -126px;
173
+ }
174
+ `,t0=typeof Tl!="string"?ao.css`
175
+ animation: ${Tl} 1.4s linear infinite;
176
+ `:null,n0=typeof Cl!="string"?ao.css`
177
+ animation: ${Cl} 1.4s ease-in-out infinite;
178
+ `:null,o0=e=>{const{classes:t,variant:n,color:r,disableShrink:a}=e,i={root:["root",n,`color${se(r)}`],svg:["svg"],track:["track"],circle:["circle",`circle${se(n)}`,a&&"circleDisableShrink"]};return Me(i,e0,t)},r0=ce("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${se(n.color)}`]]}})(Pe(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:t0||{animation:`${Tl} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Et()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),s0=ce("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),a0=ce("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${se(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Pe(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:n0||{animation:`${Cl} 1.4s ease-in-out infinite`}}]}))),i0=ce("circle",{name:"MuiCircularProgress",slot:"Track"})(Pe(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),_s=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiCircularProgress"}),{className:a,color:i="primary",disableShrink:c=!1,enableTrackSlot:u=!1,size:p=40,style:f,thickness:h=3.6,value:g=0,variant:y="indeterminate",...m}=r,x={...r,color:i,disableShrink:c,size:p,thickness:h,value:g,variant:y,enableTrackSlot:u},b=o0(x),k={},E={},w={};if(y==="determinate"){const C=2*Math.PI*((Pn-h)/2);k.strokeDasharray=C.toFixed(3),w["aria-valuenow"]=Math.round(g),k.strokeDashoffset=`${((100-g)/100*C).toFixed(3)}px`,E.transform="rotate(-90deg)"}return l.jsx(r0,{className:ye(b.root,a),style:{width:p,height:p,...E,...f},ownerState:x,ref:n,role:"progressbar",...w,...m,children:l.jsxs(s0,{className:b.svg,ownerState:x,viewBox:`${Pn/2} ${Pn/2} ${Pn} ${Pn}`,children:[u?l.jsx(i0,{className:b.track,ownerState:x,cx:Pn,cy:Pn,r:(Pn-h)/2,fill:"none",strokeWidth:h,"aria-hidden":"true"}):null,l.jsx(a0,{className:b.circle,style:k,ownerState:x,cx:Pn,cy:Pn,r:(Pn-h)/2,fill:"none",strokeWidth:h})]})})});process.env.NODE_ENV!=="production"&&(_s.propTypes={classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["inherit","primary","secondary","error","info","success","warning"]),o.string]),disableShrink:Cn(o.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),enableTrackSlot:o.bool,size:o.oneOfType([o.number,o.string]),style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),thickness:o.number,value:o.number,variant:o.oneOf(["determinate","indeterminate"])});function l0(e){return _e("MuiButton",e)}const Oo=Ne("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),rd=T.createContext({});process.env.NODE_ENV!=="production"&&(rd.displayName="ButtonGroupContext");const sd=T.createContext(void 0);process.env.NODE_ENV!=="production"&&(sd.displayName="ButtonGroupButtonContext");const c0=e=>{const{color:t,disableElevation:n,fullWidth:r,size:a,variant:i,loading:c,loadingPosition:u,classes:p}=e,f={root:["root",c&&"loading",i,`${i}${se(t)}`,`size${se(a)}`,`${i}Size${se(a)}`,`color${se(t)}`,n&&"disableElevation",r&&"fullWidth",c&&`loadingPosition${se(u)}`],startIcon:["icon","startIcon",`iconSize${se(a)}`],endIcon:["icon","endIcon",`iconSize${se(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},h=Me(f,l0,p);return{...p,...h}},ad=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],u0=ce(wn,{shouldForwardProp:e=>on(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${se(n.color)}`],t[`size${se(n.size)}`],t[`${n.variant}Size${se(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(Pe(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Oo.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:r})=>r.startIcon||r.loading&&r.loadingPosition==="start",style:{"&::before":{content:'"\\200b"',width:0,overflow:"hidden"}}},{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Oo.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Oo.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Oo.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Et()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Oo.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Oo.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${Oo.loading}`]:{color:"transparent"}}}]}})),p0=ce("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${se(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...ad]})),d0=ce("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${se(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...ad]})),f0=ce("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),Du=ce("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),kr=T.forwardRef(function(t,n){const r=T.useContext(rd),a=T.useContext(sd),i=xr(r,t),c=Le({props:i,name:"MuiButton"}),{children:u,color:p="primary",component:f="button",className:h,disabled:g=!1,disableElevation:y=!1,disableFocusRipple:m=!1,endIcon:x,focusVisibleClassName:b,fullWidth:k=!1,id:E,loading:w=null,loadingIndicator:C,loadingPosition:S="center",size:j="medium",startIcon:R,type:M,variant:L="text",...H}=c,U=Go(E),K=C??l.jsx(_s,{"aria-labelledby":U,color:"inherit",size:16}),v={...c,color:p,component:f,disabled:g,disableElevation:y,disableFocusRipple:m,fullWidth:k,loading:w,loadingIndicator:K,loadingPosition:S,size:j,type:M,variant:L},O=c0(v),_=(R||w&&S==="start")&&l.jsx(p0,{className:O.startIcon,ownerState:v,children:R||l.jsx(Du,{className:O.loadingIconPlaceholder,ownerState:v})}),Y=(x||w&&S==="end")&&l.jsx(d0,{className:O.endIcon,ownerState:v,children:x||l.jsx(Du,{className:O.loadingIconPlaceholder,ownerState:v})}),F=a||"",X=typeof w=="boolean"?l.jsx("span",{className:O.loadingWrapper,style:{display:"contents"},children:w&&l.jsx(f0,{className:O.loadingIndicator,ownerState:v,children:K})}):null,{root:te,...ee}=O;return l.jsxs(u0,{ownerState:v,className:ye(r.className,O.root,h,F),component:f,disabled:g||w,focusRipple:!m,focusVisibleClassName:ye(O.focusVisible,b),ref:n,type:M,id:w?U:E,...H,classes:ee,children:[_,S!=="end"&&X,u,S==="end"&&X,Y]})});process.env.NODE_ENV!=="production"&&(kr.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["inherit","primary","secondary","success","error","info","warning"]),o.string]),component:o.elementType,disabled:o.bool,disableElevation:o.bool,disableFocusRipple:o.bool,disableRipple:o.bool,endIcon:o.node,focusVisibleClassName:o.string,fullWidth:o.bool,href:o.string,id:o.string,loading:o.bool,loadingIndicator:o.node,loadingPosition:o.oneOf(["center","end","start"]),size:o.oneOfType([o.oneOf(["small","medium","large"]),o.string]),startIcon:o.node,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),type:o.oneOfType([o.oneOf(["button","reset","submit"]),o.string]),variant:o.oneOfType([o.oneOf(["contained","outlined","text"]),o.string])});const h0=Dt.styled(kr,{shouldForwardProp:e=>e!=="brandVariant"&&e!=="loading"})(({theme:e,brandVariant:t="primary"})=>{const n=e.palette.mode==="dark",r={fontFamily:e.typography.fontFamily,fontWeight:600,borderRadius:"8px",textTransform:"none",letterSpacing:"0.01em",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",display:"inline-flex",alignItems:"center",justifyContent:"center",gap:"8px"};switch(t){case"primary":return{...r,backgroundColor:de.orange.hex,color:"#FFFFFF","&:hover":{backgroundColor:"#E06F0F",boxShadow:"0 6px 16px rgba(245, 130, 32, 0.35)",transform:"translateY(-1px)"},"&:active":{transform:"translateY(0)"}};case"secondary":return{...r,backgroundColor:de.blue.hex,color:"#FFFFFF","&:hover":{backgroundColor:"#032B54",boxShadow:"0 6px 16px rgba(4, 59, 114, 0.35)",transform:"translateY(-1px)"},"&:active":{transform:"translateY(0)"}};case"outlined":return{...r,backgroundColor:"transparent",border:`1.5px solid ${de.orange.hex}`,color:de.orange.hex,"&:hover":{backgroundColor:n?"rgba(245, 130, 32, 0.12)":"rgba(245, 130, 32, 0.08)",borderColor:"#CB6015"}};case"soft":return{...r,backgroundColor:n?"rgba(245, 130, 32, 0.15)":"#FFF3E8",color:de.orange.hex,"&:hover":{backgroundColor:n?"rgba(245, 130, 32, 0.25)":"#FFE3CC"}};case"ghost":return{...r,backgroundColor:"transparent",color:n?"#E2E8F0":de.blue.hex,"&:hover":{backgroundColor:n?"rgba(255, 255, 255, 0.08)":"rgba(4, 59, 114, 0.06)"}};default:return r}}),Wt=xe.forwardRef(({children:e,brandVariant:t="primary",loading:n=!1,disabled:r,startIcon:a,...i},c)=>l.jsx(h0,{ref:c,brandVariant:t,disabled:r||n,startIcon:n?l.jsx(_s,{size:16,color:"inherit"}):a,...i,children:e}));Wt.displayName="MSButton";const m0=Wt;function g0(e){return _e("MuiTypography",e)}Ne("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const b0={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},y0=by(),x0=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:a,variant:i,classes:c}=e,u={root:["root",i,e.align!=="inherit"&&`align${se(t)}`,n&&"gutterBottom",r&&"noWrap",a&&"paragraph"]};return Me(u,g0,c)},v0=ce("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${se(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(Pe(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(e.palette).filter(Et()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${se(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),zu={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},ne=T.forwardRef(function(t,n){const{color:r,...a}=Le({props:t,name:"MuiTypography"}),i=!b0[r],c=y0({...a,...i&&{color:r}}),{align:u="inherit",className:p,component:f,gutterBottom:h=!1,noWrap:g=!1,paragraph:y=!1,variant:m="body1",variantMapping:x=zu,...b}=c,k={...c,align:u,color:r,className:p,component:f,gutterBottom:h,noWrap:g,paragraph:y,variant:m,variantMapping:x},E=f||(y?"p":x[m]||zu[m])||"span",w=x0(k);return l.jsx(v0,{as:E,ref:n,className:ye(w.root,p),...b,ownerState:k,style:{...u!=="inherit"&&{"--Typography-textAlign":u},...b.style}})});process.env.NODE_ENV!=="production"&&(ne.propTypes={align:o.oneOf(["center","inherit","justify","left","right"]),children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),o.string]),component:o.elementType,gutterBottom:o.bool,noWrap:o.bool,paragraph:o.bool,style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),o.string]),variantMapping:o.object});const k0=Dt.styled(ne,{shouldForwardProp:e=>e!=="weight"&&e!=="textColor"})(({theme:e,weight:t,textColor:n})=>{const r=()=>{if(t)return ht[t]},a=()=>{switch(n){case"orange":return de.orange.hex;case"blue":return e.palette.mode==="dark"?"#00A9CE":de.blue.hex;case"muted":return e.palette.text.secondary;case"white":return"#FFFFFF";default:return}};return{fontWeight:r(),color:a(),fontFamily:e.typography.fontFamily}}),id=({children:e,weight:t,textColor:n="default",...r})=>l.jsx(k0,{weight:t,textColor:n,...r,children:e}),S0=id,T0=Ne("MuiBox",["root"]),C0=U1(),J=Ug({themeId:ei,defaultTheme:C0,defaultClassName:T0.root,generateClassName:j1.generate});process.env.NODE_ENV!=="production"&&(J.propTypes={children:o.node,component:o.elementType,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const w0=Dt.styled(J)(({theme:e,variant:t,size:n})=>{const r=e.palette.mode==="dark",i=(()=>{switch(t){case"primary":return{bg:r?"rgba(245, 130, 32, 0.2)":"#FFF3E8",color:de.orange.hex,border:"rgba(245, 130, 32, 0.3)",dot:de.orange.hex};case"secondary":return{bg:r?"rgba(4, 59, 114, 0.3)":"rgba(4, 59, 114, 0.08)",color:r?"#7E9FC3":de.blue.hex,border:"rgba(4, 59, 114, 0.25)",dot:de.blue.hex};case"success":return{bg:r?"rgba(16, 185, 129, 0.2)":"#ECFDF5",color:"#059669",border:"rgba(16, 185, 129, 0.3)",dot:"#10B981"};case"warning":return{bg:r?"rgba(245, 158, 11, 0.2)":"#FFFBEB",color:"#D97706",border:"rgba(245, 158, 11, 0.3)",dot:"#F59E0B"};case"info":return{bg:r?"rgba(0, 169, 206, 0.2)":"#E0F2FE",color:"#0086B8",border:"rgba(0, 169, 206, 0.3)",dot:"#00A9CE"};case"neutral":default:return{bg:r?"rgba(255, 255, 255, 0.08)":"#ECEFF4",color:r?"#CBD5E1":"#48535B",border:"#CDCECB",dot:"#84888B"}}})();return{display:"inline-flex",alignItems:"center",gap:n==="sm"?4:6,padding:n==="sm"?"2px 8px":"4px 10px",borderRadius:"9999px",fontSize:n==="sm"?"0.75rem":"0.8125rem",fontWeight:600,backgroundColor:i.bg,color:i.color,border:`1px solid ${i.border}`,lineHeight:1.2,"& .badge-dot":{width:n==="sm"?6:8,height:n==="sm"?6:8,borderRadius:"50%",backgroundColor:i.dot}}}),Lt=({label:e,variant:t="primary",dot:n=!1,size:r="md"})=>l.jsxs(w0,{variant:t,size:r,children:[n&&l.jsx("span",{className:"badge-dot"}),e]}),I0=Lt,E0=Q(l.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function j0(e){return _e("MuiChip",e)}const et=Ne("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);function mo(e){return typeof e=="string"}function ld(e,t,n){return e===void 0||mo(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function cd(e,t,n){return typeof e=="function"?e(t,n):e}function Do(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function Vu(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function ud(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:a,className:i}=e;if(!t){const m=ye(n==null?void 0:n.className,i,a==null?void 0:a.className,r==null?void 0:r.className),x={...n==null?void 0:n.style,...a==null?void 0:a.style,...r==null?void 0:r.style},b={...n,...a,...r};return m.length>0&&(b.className=m),Object.keys(x).length>0&&(b.style=x),{props:b,internalRef:void 0}}const c=Do({...a,...r}),u=Vu(r),p=Vu(a),f=t(c),h=ye(f==null?void 0:f.className,n==null?void 0:n.className,i,a==null?void 0:a.className,r==null?void 0:r.className),g={...f==null?void 0:f.style,...n==null?void 0:n.style,...a==null?void 0:a.style,...r==null?void 0:r.style},y={...f,...n,...p,...u};return h.length>0&&(y.className=h),Object.keys(g).length>0&&(y.style=g),{props:y,internalRef:f.ref}}function Fe(e,t){const{className:n,elementType:r,ownerState:a,externalForwardedProps:i,internalForwardedProps:c,shouldForwardComponentProp:u=!1,...p}=t,{component:f,slots:h={[e]:void 0},slotProps:g={[e]:void 0},...y}=i,m=h[e]||r,x=cd(g[e],a),{props:{component:b,...k},internalRef:E}=ud({className:n,...p,externalForwardedProps:e==="root"?y:void 0,externalSlotProps:x}),w=Mt(E,x==null?void 0:x.ref,t.ref),C=e==="root"?b||f:b,S=ld(m,{...e==="root"&&!f&&!h[e]&&c,...e!=="root"&&!h[e]&&c,...k,...C&&!u&&{as:C},...C&&u&&{component:C},ref:w},a);return[m,S]}const R0=e=>{const{classes:t,disabled:n,size:r,color:a,iconColor:i,onDelete:c,clickable:u,variant:p}=e,f={root:["root",p,n&&"disabled",`size${se(r)}`,`color${se(a)}`,u&&"clickable",u&&`clickableColor${se(a)}`,c&&"deletable",c&&`deletableColor${se(a)}`,`${p}${se(a)}`],label:["label",`label${se(r)}`],avatar:["avatar",`avatar${se(r)}`,`avatarColor${se(a)}`],icon:["icon",`icon${se(r)}`,`iconColor${se(i)}`],deleteIcon:["deleteIcon",`deleteIcon${se(r)}`,`deleteIconColor${se(a)}`,`deleteIcon${se(p)}Color${se(a)}`]};return Me(f,j0,t)},O0=ce("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:a,clickable:i,onDelete:c,size:u,variant:p}=n;return[{[`& .${et.avatar}`]:t.avatar},{[`& .${et.avatar}`]:t[`avatar${se(u)}`]},{[`& .${et.avatar}`]:t[`avatarColor${se(r)}`]},{[`& .${et.icon}`]:t.icon},{[`& .${et.icon}`]:t[`icon${se(u)}`]},{[`& .${et.icon}`]:t[`iconColor${se(a)}`]},{[`& .${et.deleteIcon}`]:t.deleteIcon},{[`& .${et.deleteIcon}`]:t[`deleteIcon${se(u)}`]},{[`& .${et.deleteIcon}`]:t[`deleteIconColor${se(r)}`]},{[`& .${et.deleteIcon}`]:t[`deleteIcon${se(p)}Color${se(r)}`]},t.root,t[`size${se(u)}`],t[`color${se(r)}`],i&&t.clickable,i&&r!=="default"&&t[`clickableColor${se(r)}`],c&&t.deletable,c&&r!=="default"&&t[`deletableColor${se(r)}`],t[p],t[`${p}${se(r)}`]]}})(Pe(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,lineHeight:1.5,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${et.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${et.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${et.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${et.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${et.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${et.icon}`]:{marginLeft:5,marginRight:-6},[`& .${et.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.alpha((e.vars||e).palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.alpha((e.vars||e).palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${et.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${et.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Et(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${et.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${et.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${et.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${et.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}},...Object.entries(e.palette).filter(Et(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${et.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)},[`&.${et.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(Et(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${et.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${et.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${et.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${et.avatar}`]:{marginLeft:4},[`& .${et.avatarSmall}`]:{marginLeft:2},[`& .${et.icon}`]:{marginLeft:4},[`& .${et.iconSmall}`]:{marginLeft:2},[`& .${et.deleteIcon}`]:{marginRight:5},[`& .${et.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Et()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.alpha((e.vars||e).palette[n].main,.7)}`,[`&.${et.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${et.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.focusOpacity)},[`& .${et.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),P0=ce("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${se(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function Wu(e){return e.key==="Backspace"||e.key==="Delete"}const Ns=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiChip"}),{avatar:a,className:i,clickable:c,color:u="default",component:p,deleteIcon:f,disabled:h=!1,icon:g,label:y,onClick:m,onDelete:x,onKeyDown:b,onKeyUp:k,size:E="medium",variant:w="filled",tabIndex:C,skipFocusWhenDisabled:S=!1,slots:j={},slotProps:R={},...M}=r,L=T.useRef(null),H=Mt(L,n),U=N=>{N.stopPropagation(),x(N)},K=N=>{N.currentTarget===N.target&&Wu(N)&&N.preventDefault(),b&&b(N)},v=N=>{N.currentTarget===N.target&&x&&Wu(N)&&x(N),k&&k(N)},O=c!==!1&&m?!0:c,_=O||x?wn:p||"div",Y={...r,component:_,disabled:h,size:E,color:u,iconColor:T.isValidElement(g)&&g.props.color||u,onDelete:!!x,clickable:O,variant:w},F=R0(Y),X=_===wn?{component:p||"div",focusVisibleClassName:F.focusVisible,...x&&{disableRipple:!0}}:{};let te=null;x&&(te=f&&T.isValidElement(f)?T.cloneElement(f,{className:ye(f.props.className,F.deleteIcon),onClick:U}):l.jsx(E0,{className:F.deleteIcon,onClick:U}));let ee=null;a&&T.isValidElement(a)&&(ee=T.cloneElement(a,{className:ye(F.avatar,a.props.className)}));let W=null;g&&T.isValidElement(g)&&(W=T.cloneElement(g,{className:ye(F.icon,g.props.className)})),process.env.NODE_ENV!=="production"&&ee&&W&&console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one.");const V={slots:j,slotProps:R},[pe,ue]=Fe("root",{elementType:O0,externalForwardedProps:{...V,...M},ownerState:Y,shouldForwardComponentProp:!0,ref:H,className:ye(F.root,i),additionalProps:{disabled:O&&h?!0:void 0,tabIndex:S&&h?-1:C,...X},getSlotProps:N=>({...N,onClick:$=>{var B;(B=N.onClick)==null||B.call(N,$),m==null||m($)},onKeyDown:$=>{var B;(B=N.onKeyDown)==null||B.call(N,$),K($)},onKeyUp:$=>{var B;(B=N.onKeyUp)==null||B.call(N,$),v($)}})}),[he,A]=Fe("label",{elementType:P0,externalForwardedProps:V,ownerState:Y,className:F.label});return l.jsxs(pe,{as:_,...ue,children:[ee||W,l.jsx(he,{...A,children:y}),te]})});process.env.NODE_ENV!=="production"&&(Ns.propTypes={avatar:o.element,children:J1,classes:o.object,className:o.string,clickable:o.bool,color:o.oneOfType([o.oneOf(["default","primary","secondary","error","info","success","warning"]),o.string]),component:o.elementType,deleteIcon:o.element,disabled:o.bool,icon:o.element,label:o.node,onClick:o.func,onDelete:o.func,onKeyDown:o.func,onKeyUp:o.func,size:o.oneOfType([o.oneOf(["medium","small"]),o.string]),skipFocusWhenDisabled:o.bool,slotProps:o.shape({label:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({label:o.elementType,root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),tabIndex:o.number,variant:o.oneOfType([o.oneOf(["filled","outlined"]),o.string])});const pd=Q(l.jsx("path",{d:"m16 6 2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"}),"TrendingUp"),dd=Q(l.jsx("path",{d:"m16 18 2.29-2.29-4.88-4.88-4 4L2 7.41 3.41 6l6 6 4-4 6.3 6.29L22 12v6z"}),"TrendingDown"),A0=Dt.styled(Ns,{shouldForwardProp:e=>e!=="trend"&&e!=="brandColor"})(({theme:e,brandColor:t="orange"})=>{const n=e.palette.mode==="dark",a=(()=>{switch(t){case"orange":return{backgroundColor:n?"rgba(245, 130, 32, 0.15)":"#FFF3E8",color:n?"#F0B26B":de.orange.hex,borderColor:n?"rgba(245, 130, 32, 0.3)":"rgba(245, 130, 32, 0.25)"};case"blue":return{backgroundColor:n?"rgba(4, 59, 114, 0.25)":"rgba(4, 59, 114, 0.08)",color:n?"#7E9FC3":de.blue.hex,borderColor:n?"rgba(4, 59, 114, 0.4)":"rgba(4, 59, 114, 0.2)"};case"graph":return{backgroundColor:n?"rgba(0, 169, 206, 0.15)":"#E0F2FE",color:"#0086B8",borderColor:"rgba(0, 169, 206, 0.25)"};case"neutral":default:return{backgroundColor:n?"rgba(255, 255, 255, 0.08)":"#ECEFF4",color:n?"#CBD5E1":"#48535B",borderColor:"#CDCECB"}}})();return{fontWeight:600,borderRadius:"6px",border:`1px solid ${a.borderColor}`,backgroundColor:a.backgroundColor,color:a.color,transition:"all 0.2s ease","&:hover":{backgroundColor:n?"rgba(245, 130, 32, 0.25)":"#FFE6D1"},"& .MuiChip-icon":{color:"inherit"}}}),An=({trend:e,brandColor:t="orange",icon:n,...r})=>{let a=n;return e==="up"?a=l.jsx(pd,{fontSize:"small",sx:{color:"#10B981 !important"}}):e==="down"&&(a=l.jsx(dd,{fontSize:"small",sx:{color:"#EF4444 !important"}})),l.jsx(A0,{brandColor:t,icon:a,...r})},_0=An;function Ys(e){return parseInt(e,10)||0}const N0={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function M0(e){for(const t in e)return!1;return!0}function Hu(e){return M0(e)||e.outerHeightStyle===0&&!e.overflowing}const fd=T.forwardRef(function(t,n){const{onChange:r,maxRows:a,minRows:i=1,style:c,value:u,...p}=t,{current:f}=T.useRef(u!=null),h=T.useRef(null),g=Mt(n,h),y=T.useRef(null),m=T.useRef(null),x=T.useCallback(()=>{const C=h.current,S=m.current;if(!C||!S)return;const R=Nn(C).getComputedStyle(C);if(R.width==="0px")return{outerHeightStyle:0,overflowing:!1};S.style.width=R.width,S.value=C.value||t.placeholder||"x",S.value.slice(-1)===`
179
+ `&&(S.value+=" ");const M=R.boxSizing,L=Ys(R.paddingBottom)+Ys(R.paddingTop),H=Ys(R.borderBottomWidth)+Ys(R.borderTopWidth),U=S.scrollHeight;S.value="x";const K=S.scrollHeight;let v=U;i&&(v=Math.max(Number(i)*K,v)),a&&(v=Math.min(Number(a)*K,v)),v=Math.max(v,K);const O=v+(M==="border-box"?L+H:0),_=Math.abs(v-U)<=1;return{outerHeightStyle:O,overflowing:_}},[a,i,t.placeholder]),b=qt(()=>{const C=h.current,S=x();if(!C||!S||Hu(S))return!1;const j=S.outerHeightStyle;return y.current!=null&&y.current!==j}),k=T.useCallback(()=>{const C=h.current,S=x();if(!C||!S||Hu(S))return;const j=S.outerHeightStyle;y.current!==j&&(y.current=j,C.style.height=`${j}px`),C.style.overflow=S.overflowing?"hidden":""},[x]),E=T.useRef(-1);fn(()=>{const C=ni(k),S=h==null?void 0:h.current;if(!S)return;const j=Nn(S);j.addEventListener("resize",C);let R;return typeof ResizeObserver<"u"&&(R=new ResizeObserver(()=>{b()&&(R.unobserve(S),cancelAnimationFrame(E.current),k(),E.current=requestAnimationFrame(()=>{R.observe(S)}))}),R.observe(S)),()=>{C.clear(),cancelAnimationFrame(E.current),j.removeEventListener("resize",C),R&&R.disconnect()}},[x,k,b]),fn(()=>{k()});const w=C=>{f||k();const S=C.target,j=S.value.length,R=S.value.endsWith(`
180
+ `),M=S.selectionStart===j;R&&M&&S.setSelectionRange(j,j),r&&r(C)};return l.jsxs(T.Fragment,{children:[l.jsx("textarea",{value:u,onChange:w,ref:g,rows:i,style:c,...p}),l.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:m,tabIndex:-1,style:{...N0.shadow,...c,paddingTop:0,paddingBottom:0}})]})});process.env.NODE_ENV!=="production"&&(fd.propTypes={className:o.string,maxRows:o.oneOfType([o.number,o.string]),minRows:o.oneOfType([o.number,o.string]),onChange:o.func,placeholder:o.string,style:o.object,value:o.oneOfType([o.arrayOf(o.string),o.number,o.string])});function Nr({props:e,states:t,muiFormControl:n}){return t.reduce((r,a)=>(r[a]=e[a],n&&typeof e[a]>"u"&&(r[a]=n[a]),r),{})}const Ms=T.createContext(void 0);process.env.NODE_ENV!=="production"&&(Ms.displayName="FormControlContext");function So(){return T.useContext(Ms)}function Zn(e){var n;let t=e.activeElement;for(;((n=t==null?void 0:t.shadowRoot)==null?void 0:n.activeElement)!=null;)t=t.shadowRoot.activeElement;return t}function Uu(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ta(e,t=!1){return e&&(Uu(e.value)&&e.value!==""||t&&Uu(e.defaultValue)&&e.defaultValue!=="")}function B0(e){return e.startAdornment}function F0(e){return _e("MuiInputBase",e)}const Sr=Ne("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var qu;const wl="mui-auto-fill",Ca="mui-auto-fill-cancel",si=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${se(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},ai=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},L0=e=>{const{classes:t,color:n,disabled:r,error:a,endAdornment:i,focused:c,formControl:u,fullWidth:p,hiddenLabel:f,multiline:h,readOnly:g,size:y,startAdornment:m,type:x}=e,b={root:["root",`color${se(n)}`,r&&"disabled",a&&"error",p&&"fullWidth",c&&"focused",u&&"formControl",y&&y!=="medium"&&`size${se(y)}`,h&&"multiline",m&&"adornedStart",i&&"adornedEnd",f&&"hiddenLabel",g&&"readOnly"],input:["input",r&&"disabled",x==="search"&&"inputTypeSearch",h&&"inputMultiline",y==="small"&&"inputSizeSmall",f&&"inputHiddenLabel",m&&"inputAdornedStart",i&&"inputAdornedEnd",g&&"readOnly"]};return Me(b,F0,t)},ii=ce("div",{name:"MuiInputBase",slot:"Root",overridesResolver:si})(Pe(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Sr.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),li=ce("input",{name:"MuiInputBase",slot:"Input",overridesResolver:ai})(Pe(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Sr.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${Sr.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:i})=>!i.disableInjectingGlobalStyles,style:{animationName:Ca,animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:wl}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:i})=>i.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),Gu=Zl({[`@keyframes ${wl}`]:{from:{animationName:wl}},[`@keyframes ${Ca}`]:{from:{animationName:Ca}}}),Mr=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiInputBase"}),{"aria-describedby":a,autoComplete:i,autoFocus:c,className:u,color:p,components:f={},componentsProps:h={},defaultValue:g,disabled:y,disableInjectingGlobalStyles:m,endAdornment:x,error:b,fullWidth:k=!1,id:E,inputComponent:w="input",inputProps:C={},inputRef:S,margin:j,maxRows:R,minRows:M,multiline:L=!1,name:H,onBlur:U,onChange:K,onClick:v,onFocus:O,onKeyDown:_,onKeyUp:Y,placeholder:F,readOnly:X,renderSuffix:te,rows:ee,size:W,slotProps:V={},slots:pe={},startAdornment:ue,type:he="text",value:A,...N}=r,$=C.value!=null?C.value:A,{current:B}=T.useRef($!=null),G=T.useRef(),q=T.useCallback(Ce=>{process.env.NODE_ENV!=="production"&&Ce&&Ce.nodeName!=="INPUT"&&!Ce.focus&&console.error(["MUI: You have provided a `inputComponent` to the input component","that does not correctly handle the `ref` prop.","Make sure the `ref` prop is called with a HTMLInputElement."].join(`
181
+ `))},[]),oe=Mt(G,S,C.ref,q),[z,fe]=T.useState(!1),re=So();process.env.NODE_ENV!=="production"&&T.useEffect(()=>{if(re)return re.registerEffect()},[re]);const ke=Nr({props:r,muiFormControl:re,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ke.focused=re?re.focused:z,T.useEffect(()=>{!re&&y&&z&&(fe(!1),U&&U())},[re,y,z,U]);const je=re&&re.onFilled,be=re&&re.onEmpty,Ee=T.useCallback(Ce=>{Ta(Ce)?je&&je():be&&be()},[je,be]);fn(()=>{B&&Ee({value:$})},[$,Ee,B]),fn(()=>{if(!c)return;const Ce=G.current;if(!Ce)return;const Qe=Nt(Ce),Ke=Zn(Qe),nt=Ke==null||Ke===Qe.body||Ke===Qe.documentElement;Ce===Ke?re&&re.onFocus?re.onFocus():fe(!0):nt&&Ce.focus()},[c]);const ze=Ce=>{O&&O(Ce),C.onFocus&&C.onFocus(Ce),re&&re.onFocus?re.onFocus(Ce):fe(!0)},Ze=Ce=>{U&&U(Ce),C.onBlur&&C.onBlur(Ce),re&&re.onBlur?re.onBlur(Ce):fe(!1)},We=(Ce,...Qe)=>{if(!B){const Ke=Ce.target||G.current;if(Ke==null)throw new Error(process.env.NODE_ENV!=="production"?"MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":eo(1));Ee({value:Ke.value})}C.onChange&&C.onChange(Ce,...Qe),K&&K(Ce,...Qe)};T.useEffect(()=>{Ee(G.current)},[]);const Te=Ce=>{G.current&&Ce.currentTarget===Ce.target&&G.current.focus(),v&&v(Ce)};let xt=w,it=C;L&&xt==="input"&&(ee?(process.env.NODE_ENV!=="production"&&(M||R)&&console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),it={type:void 0,minRows:ee,maxRows:ee,...it}):it={type:void 0,maxRows:R,minRows:M,...it},xt=fd);const me=Ce=>{Ee(Ce.animationName===Ca?G.current:{value:"x"})};T.useEffect(()=>{re&&re.setAdornedStart(!!ue)},[re,ue]);const ge={...r,color:ke.color||"primary",disabled:ke.disabled,endAdornment:x,error:ke.error,focused:ke.focused,formControl:re,fullWidth:k,hiddenLabel:ke.hiddenLabel,multiline:L,size:ke.size,startAdornment:ue,type:he},Ie=L0(ge),De=pe.root||f.Root||ii,He=V.root||h.root||{},Re=pe.input||f.Input||li;return it={...it,...V.input??h.input},l.jsxs(T.Fragment,{children:[!m&&typeof Gu=="function"&&(qu||(qu=l.jsx(Gu,{}))),l.jsxs(De,{...He,ref:n,onClick:Te,...N,...!mo(De)&&{ownerState:{...ge,...He.ownerState}},className:ye(Ie.root,He.className,u,X&&"MuiInputBase-readOnly"),children:[ue,l.jsx(Ms.Provider,{value:null,children:l.jsx(Re,{"aria-invalid":ke.error,"aria-describedby":a,autoComplete:i,autoFocus:c,defaultValue:g,disabled:ke.disabled,id:E,onAnimationStart:me,name:H,placeholder:F,readOnly:X,required:ke.required,rows:ee,value:$,onKeyDown:_,onKeyUp:Y,type:he,...it,...!mo(Re)&&{as:xt,ownerState:{...ge,...it.ownerState}},ref:oe,className:ye(Ie.input,it.className,X&&"MuiInputBase-readOnly"),onBlur:Ze,onChange:We,onFocus:ze})}),x,te?te({...ke,startAdornment:ue}):null]})]})});process.env.NODE_ENV!=="production"&&(Mr.propTypes={"aria-describedby":o.string,autoComplete:o.string,autoFocus:o.bool,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["primary","secondary","error","info","success","warning"]),o.string]),components:o.shape({Input:o.elementType,Root:o.elementType}),componentsProps:o.shape({input:o.object,root:o.object}),defaultValue:o.any,disabled:o.bool,disableInjectingGlobalStyles:o.bool,endAdornment:o.node,error:o.bool,fullWidth:o.bool,id:o.string,inputComponent:oi,inputProps:o.object,inputRef:gn,margin:o.oneOf(["dense","none"]),maxRows:o.oneOfType([o.number,o.string]),minRows:o.oneOfType([o.number,o.string]),multiline:o.bool,name:o.string,onBlur:o.func,onChange:o.func,onClick:o.func,onFocus:o.func,onInvalid:o.func,onKeyDown:o.func,onKeyUp:o.func,placeholder:o.string,readOnly:o.bool,renderSuffix:o.func,required:o.bool,rows:o.oneOfType([o.number,o.string]),size:o.oneOfType([o.oneOf(["medium","small"]),o.string]),slotProps:o.shape({input:o.object,root:o.object}),slots:o.shape({input:o.elementType,root:o.elementType}),startAdornment:o.node,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),type:o.string,value:o.any});function $0(e){return _e("MuiInput",e)}const Wr={...Sr,...Ne("MuiInput",["root","underline","input"])},D0=e=>{const{classes:t,disableUnderline:n}=e,a=Me({root:["root",!n&&"underline"],input:["input"]},$0,t);return{...t,...a}},z0=ce(ii,{shouldForwardProp:e=>on(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...si(e,t),!n.disableUnderline&&t.underline]}})(Pe(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Wr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Wr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Wr.disabled}, .${Wr.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Wr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Et()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),V0=ce(li,{name:"MuiInput",slot:"Input",overridesResolver:ai})({}),ci=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiInput"}),{disableUnderline:a=!1,components:i={},componentsProps:c,fullWidth:u=!1,inputComponent:p="input",multiline:f=!1,slotProps:h,slots:g={},type:y="text",...m}=r,x=D0(r),k={root:{ownerState:{disableUnderline:a}}},E=h??c?Jt(h??c,k):k,w=g.root??i.Root??z0,C=g.input??i.Input??V0;return l.jsx(Mr,{slots:{root:w,input:C},slotProps:E,fullWidth:u,inputComponent:p,multiline:f,ref:n,type:y,...m,classes:x})});process.env.NODE_ENV!=="production"&&(ci.propTypes={autoComplete:o.string,autoFocus:o.bool,classes:o.object,color:o.oneOfType([o.oneOf(["primary","secondary"]),o.string]),components:o.shape({Input:o.elementType,Root:o.elementType}),componentsProps:o.shape({input:o.object,root:o.object}),defaultValue:o.any,disabled:o.bool,disableUnderline:o.bool,endAdornment:o.node,error:o.bool,fullWidth:o.bool,id:o.string,inputComponent:o.elementType,inputProps:o.object,inputRef:gn,margin:o.oneOf(["dense","none"]),maxRows:o.oneOfType([o.number,o.string]),minRows:o.oneOfType([o.number,o.string]),multiline:o.bool,name:o.string,onChange:o.func,placeholder:o.string,readOnly:o.bool,required:o.bool,rows:o.oneOfType([o.number,o.string]),slotProps:o.shape({input:o.object,root:o.object}),slots:o.shape({input:o.elementType,root:o.elementType}),startAdornment:o.node,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),type:o.string,value:o.any});ci.muiName="Input";function W0(e){return _e("MuiFilledInput",e)}const Po={...Sr,...Ne("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},H0=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:a,size:i,hiddenLabel:c,multiline:u}=e,p={root:["root",!n&&"underline",r&&"adornedStart",a&&"adornedEnd",i==="small"&&`size${se(i)}`,c&&"hiddenLabel",u&&"multiline"],input:["input"]},f=Me(p,W0,t);return{...t,...f}},U0=ce(ii,{shouldForwardProp:e=>on(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...si(e,t),!n.disableUnderline&&t.underline]}})(Pe(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Po.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Po.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:c})=>!c.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Po.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Po.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):n}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Po.disabled}, .${Po.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Po.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Et()).map(([c])=>{var u;return{props:{disableUnderline:!1,color:c},style:{"&::after":{borderBottom:`2px solid ${(u=(e.vars||e).palette[c])==null?void 0:u.main}`}}}}),{props:({ownerState:c})=>c.startAdornment,style:{paddingLeft:12}},{props:({ownerState:c})=>c.endAdornment,style:{paddingRight:12}},{props:({ownerState:c})=>c.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:c,size:u})=>c.multiline&&u==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:c})=>c.multiline&&c.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:c})=>c.multiline&&c.hiddenLabel&&c.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),q0=ce(li,{name:"MuiFilledInput",slot:"Input",overridesResolver:ai})(Pe(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),ui=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiFilledInput"}),{disableUnderline:a=!1,components:i={},componentsProps:c,fullWidth:u=!1,hiddenLabel:p,inputComponent:f="input",multiline:h=!1,slotProps:g,slots:y={},type:m="text",...x}=r,b={...r,disableUnderline:a,fullWidth:u,inputComponent:f,multiline:h,type:m},k=H0(r),E={root:{ownerState:b},input:{ownerState:b}},w=g??c?Jt(E,g??c):E,C=y.root??i.Root??U0,S=y.input??i.Input??q0;return l.jsx(Mr,{slots:{root:C,input:S},slotProps:w,fullWidth:u,inputComponent:f,multiline:h,ref:n,type:m,...x,classes:k})});process.env.NODE_ENV!=="production"&&(ui.propTypes={autoComplete:o.string,autoFocus:o.bool,classes:o.object,color:o.oneOfType([o.oneOf(["primary","secondary"]),o.string]),components:o.shape({Input:o.elementType,Root:o.elementType}),componentsProps:o.shape({input:o.object,root:o.object}),defaultValue:o.any,disabled:o.bool,disableUnderline:o.bool,endAdornment:o.node,error:o.bool,fullWidth:o.bool,hiddenLabel:o.bool,id:o.string,inputComponent:o.elementType,inputProps:o.object,inputRef:gn,margin:o.oneOf(["dense","none"]),maxRows:o.oneOfType([o.number,o.string]),minRows:o.oneOfType([o.number,o.string]),multiline:o.bool,name:o.string,onChange:o.func,placeholder:o.string,readOnly:o.bool,required:o.bool,rows:o.oneOfType([o.number,o.string]),slotProps:o.shape({input:o.object,root:o.object}),slots:o.shape({input:o.elementType,root:o.elementType}),startAdornment:o.node,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),type:o.string,value:o.any});ui.muiName="Input";var Ku;const G0=ce("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:on})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),K0=ce("legend",{name:"MuiNotchedOutlined",shouldForwardProp:on})(Pe(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function hd(e){const{children:t,classes:n,className:r,label:a,notched:i,...c}=e,u=a!=null&&a!=="",p={...e,notched:i,withLabel:u};return l.jsx(G0,{"aria-hidden":!0,className:r,ownerState:p,...c,children:l.jsx(K0,{ownerState:p,children:u?l.jsx("span",{children:a}):Ku||(Ku=l.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}process.env.NODE_ENV!=="production"&&(hd.propTypes={children:o.node,classes:o.object,className:o.string,label:o.node,notched:o.bool.isRequired,style:o.object});function Y0(e){return _e("MuiOutlinedInput",e)}const $n={...Sr,...Ne("MuiOutlinedInput",["root","notchedOutline","input"])},X0=e=>{const{classes:t}=e,r=Me({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Y0,t);return{...t,...r}},J0=ce(ii,{shouldForwardProp:e=>on(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:si})(Pe(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${$n.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${$n.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${$n.focused} .${$n.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Et()).map(([n])=>({props:{color:n},style:{[`&.${$n.focused} .${$n.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${$n.error} .${$n.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${$n.disabled} .${$n.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),Z0=ce(hd,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(Pe(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),Q0=ce(li,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:ai})(Pe(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),pi=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiOutlinedInput"}),{components:a={},fullWidth:i=!1,inputComponent:c="input",label:u,multiline:p=!1,notched:f,slots:h={},slotProps:g={},type:y="text",...m}=r,x=X0(r),b=So(),k=Nr({props:r,muiFormControl:b,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),E={...r,color:k.color||"primary",disabled:k.disabled,error:k.error,focused:k.focused,formControl:b,fullWidth:i,hiddenLabel:k.hiddenLabel,multiline:p,size:k.size,type:y},w=h.root??a.Root??J0,C=h.input??a.Input??Q0,[S,j]=Fe("notchedOutline",{elementType:Z0,className:x.notchedOutline,shouldForwardComponentProp:!0,ownerState:E,externalForwardedProps:{slots:h,slotProps:g},additionalProps:{label:u!=null&&u!==""&&k.required?l.jsxs(T.Fragment,{children:[u," ","*"]}):u}});return l.jsx(Mr,{slots:{root:w,input:C},slotProps:g,renderSuffix:R=>l.jsx(S,{...j,notched:typeof f<"u"?f:!!(R.startAdornment||R.filled||R.focused)}),fullWidth:i,inputComponent:c,multiline:p,ref:n,type:y,...m,classes:{...x,notchedOutline:null}})});process.env.NODE_ENV!=="production"&&(pi.propTypes={autoComplete:o.string,autoFocus:o.bool,classes:o.object,color:o.oneOfType([o.oneOf(["primary","secondary"]),o.string]),components:o.shape({Input:o.elementType,Root:o.elementType}),defaultValue:o.any,disabled:o.bool,endAdornment:o.node,error:o.bool,fullWidth:o.bool,id:o.string,inputComponent:o.elementType,inputProps:o.object,inputRef:gn,label:o.node,margin:o.oneOf(["dense","none"]),maxRows:o.oneOfType([o.number,o.string]),minRows:o.oneOfType([o.number,o.string]),multiline:o.bool,name:o.string,notched:o.bool,onChange:o.func,placeholder:o.string,readOnly:o.bool,required:o.bool,rows:o.oneOfType([o.number,o.string]),slotProps:o.shape({input:o.object,notchedOutline:o.oneOfType([o.func,o.object]),root:o.object}),slots:o.shape({input:o.elementType,notchedOutline:o.elementType,root:o.elementType}),startAdornment:o.node,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),type:o.string,value:o.any});pi.muiName="Input";function ex(e){return _e("MuiFormLabel",e)}const ss=Ne("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),tx=e=>{const{classes:t,color:n,focused:r,disabled:a,error:i,filled:c,required:u}=e,p={root:["root",`color${se(n)}`,a&&"disabled",i&&"error",c&&"filled",r&&"focused",u&&"required"],asterisk:["asterisk",i&&"error"]};return Me(p,ex,t)},nx=ce("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color==="secondary"&&t.colorSecondary,n.filled&&t.filled]}})(Pe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(Et()).map(([t])=>({props:{color:t},style:{[`&.${ss.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${ss.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${ss.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),ox=ce("span",{name:"MuiFormLabel",slot:"Asterisk"})(Pe(({theme:e})=>({[`&.${ss.error}`]:{color:(e.vars||e).palette.error.main}}))),md=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiFormLabel"}),{children:a,className:i,color:c,component:u="label",disabled:p,error:f,filled:h,focused:g,required:y,...m}=r,x=So(),b=Nr({props:r,muiFormControl:x,states:["color","required","focused","disabled","error","filled"]}),k={...r,color:b.color||"primary",component:u,disabled:b.disabled,error:b.error,filled:b.filled,focused:b.focused,required:b.required},E=tx(k);return l.jsxs(nx,{as:u,ownerState:k,className:ye(E.root,i),ref:n,...m,children:[a,b.required&&l.jsxs(ox,{ownerState:k,"aria-hidden":!0,className:E.asterisk,children:[" ","*"]})]})});process.env.NODE_ENV!=="production"&&(md.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["error","info","primary","secondary","success","warning"]),o.string]),component:o.elementType,disabled:o.bool,error:o.bool,filled:o.bool,focused:o.bool,required:o.bool,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function rx(e){return _e("MuiInputLabel",e)}Ne("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const sx=e=>{const{classes:t,formControl:n,size:r,shrink:a,disableAnimation:i,variant:c,required:u}=e,p={root:["root",n&&"formControl",!i&&"animated",a&&"shrink",r&&r!=="medium"&&`size${se(r)}`,c],asterisk:[u&&"asterisk"]},f=Me(p,rx,t);return{...t,...f}},ax=ce(md,{shouldForwardProp:e=>on(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ss.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(Pe(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),tc=T.forwardRef(function(t,n){const r=Le({name:"MuiInputLabel",props:t}),{disableAnimation:a=!1,margin:i,shrink:c,variant:u,className:p,...f}=r,h=So();let g=c;typeof g>"u"&&h&&(g=h.filled||h.focused||h.adornedStart);const y=Nr({props:r,muiFormControl:h,states:["size","variant","required","focused"]}),m={...r,disableAnimation:a,formControl:h,shrink:g,size:y.size,variant:y.variant,required:y.required,focused:y.focused},x=sx(m);return l.jsx(ax,{"data-shrink":g,ref:n,className:ye(x.root,p),...f,ownerState:m,classes:x})});process.env.NODE_ENV!=="production"&&(tc.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["error","info","primary","secondary","success","warning"]),o.string]),disableAnimation:o.bool,disabled:o.bool,error:o.bool,focused:o.bool,margin:o.oneOf(["dense"]),required:o.bool,shrink:o.bool,size:o.oneOfType([o.oneOf(["medium","small"]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOf(["filled","outlined","standard"])});function ix(e){return _e("MuiFormControl",e)}Ne("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const lx=e=>{const{classes:t,margin:n,fullWidth:r}=e,a={root:["root",n!=="none"&&`margin${se(n)}`,r&&"fullWidth"]};return Me(a,ix,t)},cx=ce("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`margin${se(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),nc=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiFormControl"}),{children:a,className:i,color:c="primary",component:u="div",disabled:p=!1,error:f=!1,focused:h,fullWidth:g=!1,hiddenLabel:y=!1,margin:m="none",required:x=!1,size:b="medium",variant:k="outlined",...E}=r,w={...r,color:c,component:u,disabled:p,error:f,fullWidth:g,hiddenLabel:y,margin:m,required:x,size:b,variant:k},C=lx(w),[S,j]=T.useState(()=>{let F=!1;return a&&T.Children.forEach(a,X=>{if(!la(X,["Input","Select"]))return;const te=la(X,["Select"])?X.props.input:X;te&&B0(te.props)&&(F=!0)}),F}),[R,M]=T.useState(()=>{let F=!1;return a&&T.Children.forEach(a,X=>{la(X,["Input","Select"])&&(Ta(X.props,!0)||Ta(X.props.inputProps,!0))&&(F=!0)}),F}),[L,H]=T.useState(!1);p&&L&&H(!1);const U=h!==void 0&&!p?h:L;let K;const v=T.useRef(!1);process.env.NODE_ENV!=="production"&&(K=()=>(v.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
182
+ `)),v.current=!0,()=>{v.current=!1}));const O=T.useCallback(()=>{M(!0)},[]),_=T.useCallback(()=>{M(!1)},[]),Y=T.useMemo(()=>({adornedStart:S,setAdornedStart:j,color:c,disabled:p,error:f,filled:R,focused:U,fullWidth:g,hiddenLabel:y,size:b,onBlur:()=>{H(!1)},onFocus:()=>{H(!0)},onEmpty:_,onFilled:O,registerEffect:K,required:x,variant:k}),[S,c,p,f,R,U,g,y,K,_,O,x,b,k]);return l.jsx(Ms.Provider,{value:Y,children:l.jsx(cx,{as:u,ownerState:w,className:ye(C.root,i),ref:n,...E,children:a})})});process.env.NODE_ENV!=="production"&&(nc.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["primary","secondary","error","info","success","warning"]),o.string]),component:o.elementType,disabled:o.bool,error:o.bool,focused:o.bool,fullWidth:o.bool,hiddenLabel:o.bool,margin:o.oneOf(["dense","none","normal"]),required:o.bool,size:o.oneOfType([o.oneOf(["medium","small"]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOf(["filled","outlined","standard"])});function ux(e){return _e("MuiFormHelperText",e)}const Yu=Ne("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var Xu;const px=e=>{const{classes:t,contained:n,size:r,disabled:a,error:i,filled:c,focused:u,required:p}=e,f={root:["root",a&&"disabled",i&&"error",r&&`size${se(r)}`,n&&"contained",u&&"focused",c&&"filled",p&&"required"]};return Me(f,ux,t)},dx=ce("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${se(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(Pe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Yu.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Yu.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),gd=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiFormHelperText"}),{children:a,className:i,component:c="p",disabled:u,error:p,filled:f,focused:h,margin:g,required:y,variant:m,...x}=r,b=So(),k=Nr({props:r,muiFormControl:b,states:["variant","size","disabled","error","filled","focused","required"]}),E={...r,component:c,contained:k.variant==="filled"||k.variant==="outlined",variant:k.variant,size:k.size,disabled:k.disabled,error:k.error,filled:k.filled,focused:k.focused,required:k.required};delete E.ownerState;const w=px(E);return l.jsx(dx,{as:c,className:ye(w.root,i),ref:n,...x,ownerState:E,children:a===" "?Xu||(Xu=l.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):a})});process.env.NODE_ENV!=="production"&&(gd.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,disabled:o.bool,error:o.bool,filled:o.bool,focused:o.bool,margin:o.oneOf(["dense"]),required:o.bool,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["filled","outlined","standard"]),o.string])});function To(e){var t;return parseInt(T.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}function oo(e,t,n,r,a){if(process.env.NODE_ENV==="production")return null;const i=e[t],c=a||t;return i==null?null:i&&i.nodeType!==1?new Error(`Invalid ${r} \`${c}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}function an(e){var g;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:a=!1,...i}=e,c=a?{}:cd(n,r),{props:u,internalRef:p}=ud({...i,externalSlotProps:c}),f=Mt(p,c==null?void 0:c.ref,(g=e.additionalProps)==null?void 0:g.ref);return ld(t,{...u,ref:f},r)}const wa=T.createContext({});process.env.NODE_ENV!=="production"&&(wa.displayName="ListContext");function fx(e){return _e("MuiList",e)}Ne("MuiList",["root","padding","dense","subheader"]);const hx=e=>{const{classes:t,disablePadding:n,dense:r,subheader:a}=e;return Me({root:["root",!n&&"padding",r&&"dense",a&&"subheader"]},fx,t)},mx=ce("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),bd=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiList"}),{children:a,className:i,component:c="ul",dense:u=!1,disablePadding:p=!1,subheader:f,...h}=r,g=T.useMemo(()=>({dense:u}),[u]),y={...r,component:c,dense:u,disablePadding:p},m=hx(y);return l.jsx(wa.Provider,{value:g,children:l.jsxs(mx,{as:c,className:ye(m.root,i),ref:n,ownerState:y,...h,children:[f,a]})})});process.env.NODE_ENV!=="production"&&(bd.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,dense:o.bool,disablePadding:o.bool,subheader:o.node,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function yd(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function Xi(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Ju(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function xd(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function Hr(e,t,n,r,a,i){let c=!1,u=a(e,t,t?n:!1);for(;u;){if(u===e.firstChild){if(c)return!1;c=!0}const p=r?!1:u.disabled||u.getAttribute("aria-disabled")==="true";if(!u.hasAttribute("tabindex")||!xd(u,i)||p)u=a(e,u,n);else return u.focus(),!0}return!1}const vd=T.forwardRef(function(t,n){const{actions:r,autoFocus:a=!1,autoFocusItem:i=!1,children:c,className:u,disabledItemsFocusable:p=!1,disableListWrap:f=!1,onKeyDown:h,variant:g="selectedMenu",...y}=t,m=T.useRef(null),x=T.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});fn(()=>{a&&m.current.focus()},[a]),T.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(C,{direction:S})=>{const j=!m.current.style.width;if(C.clientHeight<m.current.clientHeight&&j){const R=`${yd(Nn(C))}px`;m.current.style[S==="rtl"?"paddingLeft":"paddingRight"]=R,m.current.style.width=`calc(100% + ${R})`}return m.current}}),[]);const b=C=>{const S=m.current,j=C.key;if(C.ctrlKey||C.metaKey||C.altKey){h&&h(C);return}const M=Zn(Nt(S));if(j==="ArrowDown")C.preventDefault(),Hr(S,M,f,p,Xi);else if(j==="ArrowUp")C.preventDefault(),Hr(S,M,f,p,Ju);else if(j==="Home")C.preventDefault(),Hr(S,null,f,p,Xi);else if(j==="End")C.preventDefault(),Hr(S,null,f,p,Ju);else if(j.length===1){const L=x.current,H=j.toLowerCase(),U=performance.now();L.keys.length>0&&(U-L.lastTime>500?(L.keys=[],L.repeating=!0,L.previousKeyMatched=!0):L.repeating&&H!==L.keys[0]&&(L.repeating=!1)),L.lastTime=U,L.keys.push(H);const K=M&&!L.repeating&&xd(M,L);L.previousKeyMatched&&(K||Hr(S,M,!1,p,Xi,L))?C.preventDefault():L.previousKeyMatched=!1}h&&h(C)},k=Mt(m,n);let E=-1;T.Children.forEach(c,(C,S)=>{if(!T.isValidElement(C)){E===S&&(E+=1,E>=c.length&&(E=-1));return}process.env.NODE_ENV!=="production"&&to.isFragment(C)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
183
+ `)),C.props.disabled||(g==="selectedMenu"&&C.props.selected||E===-1)&&(E=S),E===S&&(C.props.disabled||C.props.muiSkipListHighlight||C.type.muiSkipListHighlight)&&(E+=1,E>=c.length&&(E=-1))});const w=T.Children.map(c,(C,S)=>{if(S===E){const j={};return i&&(j.autoFocus=!0),C.props.tabIndex===void 0&&g==="selectedMenu"&&(j.tabIndex=0),T.cloneElement(C,j)}return C});return l.jsx(bd,{role:"menu",ref:k,className:u,onKeyDown:b,tabIndex:a?0:-1,...y,children:w})});process.env.NODE_ENV!=="production"&&(vd.propTypes={autoFocus:o.bool,autoFocusItem:o.bool,children:o.node,className:o.string,disabledItemsFocusable:o.bool,disableListWrap:o.bool,onKeyDown:o.func,variant:o.oneOf(["menu","selectedMenu"])});function gx(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function kd(e,t,n,r){const a=e[t];if(a==null||!Number.isInteger(a)){const i=gx(a);return new RangeError(`Invalid ${r} \`${t}\` of type \`${i}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function Sd(e,t,n,r){return e[t]===void 0?null:kd(e,t,n,r)}function Il(){return null}Sd.isRequired=kd;Il.isRequired=Il;const as=process.env.NODE_ENV==="production"?Il:Sd;function Bs(){return!(/jsdom|HappyDOM/.test(window.navigator.userAgent)||process.env.NODE_ENV==="test")}function bx(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Td(e,t,n,r,a){const i=e[t],c=a||t;if(i==null||typeof window>"u")return null;let u;const p=i.type;return typeof p=="function"&&!bx(p)&&(u="Did you accidentally use a plain function component for an element instead?"),u!==void 0?new Error(`Invalid ${r} \`${c}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Co=Cn(o.element,Td);Co.isRequired=Cn(o.element.isRequired,Td);const oc=e=>e.scrollTop;function Rt(e,t){return n=>{if(t){const r=e.current;n===void 0?t(r):t(r,n)}}}function rc(e,t,n,r,a,i){const c=e==="exited"&&!t?r:n[e]||n.exited;return a||i?{...c,...a,...i}:c}function vo(e,t){const{timeout:n,easing:r,style:a={}}=e;return{duration:a.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:a.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:a.transitionDelay}}function is(e){return`scale(${e}, ${e**2})`}const yx={entering:{opacity:1,transform:is(1)},entered:{opacity:1,transform:"none"},exiting:{opacity:0,transform:is(.75)},exited:{opacity:0,transform:is(.75)}},xx={opacity:0,transform:is(.75),visibility:"hidden"},Tr=T.forwardRef(function(t,n){const{addEndListener:r,appear:a=!0,children:i,easing:c,in:u,onEnter:p,onEntered:f,onEntering:h,onExit:g,onExited:y,onExiting:m,style:x,timeout:b="auto",...k}=t,E=uo(),w=T.useRef(),C=io(),S=T.useRef(null),j=Mt(S,To(i),n),R=Rt(S,h),M=Rt(S,(O,_)=>{oc(O);const{duration:Y,delay:F,easing:X}=vo({style:x,timeout:b,easing:c},{mode:"enter"});let te;b==="auto"?(te=C.transitions.getAutoHeightDuration(O.clientHeight),w.current=te):te=Y,O.style.transition=[C.transitions.create("opacity",{duration:te,delay:F}),C.transitions.create("transform",{duration:te*.666,delay:F,easing:X})].join(","),p&&p(O,_)}),L=Rt(S,f),H=Rt(S,m),U=Rt(S,O=>{const{duration:_,delay:Y,easing:F}=vo({style:x,timeout:b,easing:c},{mode:"exit"});let X;b==="auto"?(X=C.transitions.getAutoHeightDuration(O.clientHeight),w.current=X):X=_,O.style.transition=[C.transitions.create("opacity",{duration:X,delay:Y}),C.transitions.create("transform",{duration:X*.666,delay:Y||X*.333,easing:F})].join(","),O.style.opacity=0,O.style.transform=is(.75),g&&g(O)}),K=Rt(S,O=>{O.style.transition="",y&&y(O)}),v=O=>{b==="auto"&&E.start(w.current||0,O),r&&r(S.current,O)};return l.jsx(Rn,{appear:a,in:u,nodeRef:S,onEnter:M,onEntered:L,onEntering:R,onExit:U,onExited:K,onExiting:H,addEndListener:v,timeout:b==="auto"?null:b,...k,children:(O,{ownerState:_,...Y})=>{const F=rc(O,u,yx,xx,x,i.props.style);return T.cloneElement(i,{style:F,ref:j,...Y})}})});process.env.NODE_ENV!=="production"&&(Tr.propTypes={addEndListener:o.func,appear:o.bool,children:Co.isRequired,easing:o.oneOfType([o.shape({enter:o.string,exit:o.string}),o.string]),in:o.bool,onEnter:o.func,onEntered:o.func,onEntering:o.func,onExit:o.func,onExited:o.func,onExiting:o.func,style:o.object,timeout:o.oneOfType([o.oneOf(["auto"]),o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})])});Tr&&(Tr.muiSupportAuto=!0);function vx(e){const t=Nt(e);return t.body===e?Nn(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ls(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Zu(e){return parseFloat(Nn(e).getComputedStyle(e).paddingRight)||0}function kx(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function Qu(e,t,n,r,a){const i=[t,n,...r];[].forEach.call(e.children,c=>{const u=!i.includes(c),p=!kx(c);u&&p&&ls(c,a)})}function Ji(e,t){let n=-1;return e.some((r,a)=>t(r)?(n=a,!0):!1),n}function Sx(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(vx(r)){const c=yd(Nn(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Zu(r)+c}px`;const u=Nt(r).querySelectorAll(".mui-fixed");[].forEach.call(u,p=>{n.push({value:p.style.paddingRight,property:"padding-right",el:p}),p.style.paddingRight=`${Zu(p)+c}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=Nt(r).body;else{const c=r.parentElement,u=Nn(r);i=(c==null?void 0:c.nodeName)==="HTML"&&u.getComputedStyle(c).overflowY==="scroll"?c:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:c,property:u})=>{i?c.style.setProperty(u,i):c.style.removeProperty(u)})}}function Tx(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Cx{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&ls(t.modalRef,!1);const a=Tx(n);Qu(n,t.mount,t.modalRef,a,!0);const i=Ji(this.containers,c=>c.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:a}),r)}mount(t,n){const r=Ji(this.containers,i=>i.modals.includes(t)),a=this.containers[r];a.restore||(a.restore=Sx(a,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const a=Ji(this.containers,c=>c.modals.includes(t)),i=this.containers[a];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&ls(t.modalRef,n),Qu(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(a,1);else{const c=i.modals[i.modals.length-1];c.modalRef&&ls(c.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function Cr(e,t){var r;if(!e||!t)return!1;if(e.contains(t))return!0;const n=(r=t.getRootNode)==null?void 0:r.call(t);if(n&&n instanceof ShadowRoot){let a=t;for(;a;){if(e===a)return!0;a=a.parentNode??a.host??null}}return!1}const ep="data-mui-focusable";function wx(e){return e?e.hasAttribute(ep)?e:e.querySelector(`[${ep}]`):null}const Ix=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Ex(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function jx(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function Rx(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||jx(e))}function Ox(e){const t=[],n=[];return Array.from(e.querySelectorAll(Ix)).forEach((r,a)=>{const i=Ex(r);i===-1||!Rx(r)||(i===0?t.push(r):n.push({documentOrder:a,tabIndex:i,node:r}))}),n.sort((r,a)=>r.tabIndex===a.tabIndex?r.documentOrder-a.documentOrder:r.tabIndex-a.tabIndex).map(r=>r.node).concat(t)}function Px(){return!0}function Ia(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:a=!1,getTabbable:i=Ox,isEnabled:c=Px,open:u}=e,p=T.useRef(!1),f=T.useRef(null),h=T.useRef(null),g=T.useRef(null),y=T.useRef(null),m=T.useRef(!1),x=T.useRef(null),b=Mt(To(t),x),k=T.useRef(null);T.useEffect(()=>{!u||!x.current||(m.current=!n)},[n,u]),T.useEffect(()=>{if(p.current=!1,!u||!x.current)return;const C=Nt(x.current),S=Zn(C),j=wx(x.current)??x.current;return Cr(x.current,S)||(j.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
184
+ `)),j.setAttribute("tabIndex","-1")),m.current&&j.focus()),()=>{a||(g.current&&g.current.focus&&(p.current=!0,g.current.focus()),g.current=null)}},[u]),T.useEffect(()=>{if(!u||!x.current)return;const C=Nt(x.current),S=M=>{if(k.current=M,r||!c()||M.key!=="Tab")return;Zn(C)===x.current&&M.shiftKey&&(p.current=!0,h.current&&h.current.focus())},j=()=>{var U,K;const M=x.current;if(M===null)return;const L=Zn(C);if(!C.hasFocus()||!c()||p.current){p.current=!1;return}if(Cr(M,L)||r&&L!==f.current&&L!==h.current)return;if(L!==y.current)y.current=null;else if(y.current!==null)return;if(!m.current)return;let H=[];if((L===f.current||L===h.current)&&(H=i(x.current)),H.length>0){const v=!!((U=k.current)!=null&&U.shiftKey&&((K=k.current)==null?void 0:K.key)==="Tab"),O=H[0],_=H[H.length-1];typeof O!="string"&&typeof _!="string"&&(v?_.focus():O.focus())}else M.focus()};C.addEventListener("focusin",j),C.addEventListener("keydown",S,!0);const R=setInterval(()=>{const M=Zn(C);M&&M.tagName==="BODY"&&j()},50);return()=>{clearInterval(R),C.removeEventListener("focusin",j),C.removeEventListener("keydown",S,!0)}},[n,r,a,c,u,i]);const E=C=>{g.current===null&&(g.current=C.relatedTarget),m.current=!0,y.current=C.target;const S=t.props.onFocus;S&&S(C)},w=C=>{g.current===null&&(g.current=C.relatedTarget),m.current=!0};return l.jsxs(T.Fragment,{children:[l.jsx("div",{tabIndex:u?0:-1,onFocus:w,ref:f,"data-testid":"sentinelStart"}),T.cloneElement(t,{ref:b,onFocus:E}),l.jsx("div",{tabIndex:u?0:-1,onFocus:w,ref:h,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(Ia.propTypes={children:Co,disableAutoFocus:o.bool,disableEnforceFocus:o.bool,disableRestoreFocus:o.bool,getTabbable:o.func,isEnabled:o.func,open:o.bool.isRequired});process.env.NODE_ENV!=="production"&&(Ia.propTypes=Yl(Ia.propTypes));function Ax(e){return typeof e=="function"?e():e}const ys=T.forwardRef(function(t,n){const{children:r,container:a,disablePortal:i=!1}=t,[c,u]=T.useState(null),p=Mt(T.isValidElement(r)?To(r):null,n);if(fn(()=>{i||u(Ax(a)||document.body)},[a,i]),fn(()=>{if(c&&!i)return Fu(n,c),()=>{Fu(n,null)}},[n,c,i]),i){if(T.isValidElement(r)){const f={ref:p};return T.cloneElement(r,f)}return r}return c&&xm.createPortal(r,c)});process.env.NODE_ENV!=="production"&&(ys.propTypes={children:o.node,container:o.oneOfType([oo,o.func]),disablePortal:o.bool});process.env.NODE_ENV!=="production"&&(ys.propTypes=Yl(ys.propTypes));const _x={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},Nx={opacity:0,visibility:"hidden"},Cd=T.forwardRef(function(t,n){const r=io(),a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:c=!0,children:u,easing:p,in:f,onEnter:h,onEntered:g,onEntering:y,onExit:m,onExited:x,onExiting:b,style:k,timeout:E=a,...w}=t,C=T.useRef(null),S=Mt(C,To(u),n),j=Rt(C,y),R=Rt(C,(v,O)=>{oc(v);const _=vo({style:k,timeout:E,easing:p},{mode:"enter"});v.style.transition=r.transitions.create("opacity",_),h&&h(v,O)}),M=Rt(C,g),L=Rt(C,b),H=Rt(C,v=>{const O=vo({style:k,timeout:E,easing:p},{mode:"exit"});v.style.transition=r.transitions.create("opacity",O),m&&m(v)}),U=Rt(C,v=>{v.style.transition="",x&&x(v)}),K=v=>{i&&i(C.current,v)};return l.jsx(Rn,{appear:c,in:f,nodeRef:C,onEnter:R,onEntered:M,onEntering:j,onExit:H,onExited:U,onExiting:L,addEndListener:K,timeout:E,...w,children:(v,{ownerState:O,..._})=>{const Y=rc(v,f,_x,Nx,k,u.props.style);return T.cloneElement(u,{style:Y,ref:S,..._})}})});process.env.NODE_ENV!=="production"&&(Cd.propTypes={addEndListener:o.func,appear:o.bool,children:Co.isRequired,easing:o.oneOfType([o.shape({enter:o.string,exit:o.string}),o.string]),in:o.bool,onEnter:o.func,onEntered:o.func,onEntering:o.func,onExit:o.func,onExited:o.func,onExiting:o.func,style:o.object,timeout:o.oneOfType([o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})])});function Mx(e){return _e("MuiBackdrop",e)}Ne("MuiBackdrop",["root","invisible"]);const Bx=e=>{const{classes:t,invisible:n}=e;return Me({root:["root",n&&"invisible"]},Mx,t)},Fx=ce("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),wd=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiBackdrop"}),{children:a,className:i,component:c="div",invisible:u=!1,open:p,components:f={},componentsProps:h={},slotProps:g={},slots:y={},TransitionComponent:m,transitionDuration:x,...b}=r,k={...r,component:c,invisible:u},E=Bx(k),w={transition:m,root:f.Root,...y},C={...h,...g},S={component:c,slots:w,slotProps:C},[j,R]=Fe("root",{elementType:Fx,externalForwardedProps:S,className:ye(E.root,i),ownerState:k}),[M,L]=Fe("transition",{elementType:Cd,externalForwardedProps:S,ownerState:k});return l.jsx(M,{in:p,timeout:x,...b,...L,children:l.jsx(j,{"aria-hidden":!0,...R,ref:n,children:a})})});process.env.NODE_ENV!=="production"&&(wd.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,components:o.shape({Root:o.elementType}),componentsProps:o.shape({root:o.object}),invisible:o.bool,open:o.bool.isRequired,slotProps:o.shape({root:o.oneOfType([o.func,o.object]),transition:o.oneOfType([o.func,o.object])}),slots:o.shape({root:o.elementType,transition:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),TransitionComponent:o.elementType,transitionDuration:o.oneOfType([o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})])});function Lx(e){return typeof e=="function"?e():e}function $x(e){return e?e.props.hasOwnProperty("in"):!1}const tp=()=>{},Xs=new Cx;function Dx(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:a=!1,onTransitionEnter:i,onTransitionExited:c,children:u,onClose:p,open:f,rootRef:h}=e,g=T.useRef({}),y=T.useRef(null),m=T.useRef(null),x=Mt(m,h),[b,k]=T.useState(!f),E=$x(u);let w=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(w=!1);const C=()=>Nt(y.current),S=()=>(g.current.modalRef=m.current,g.current.mount=y.current,g.current),j=()=>{Xs.mount(S(),{disableScrollLock:r}),m.current&&(m.current.scrollTop=0)},R=qt(()=>{const Y=Lx(t)||C().body;Xs.add(S(),Y),m.current&&j()}),M=()=>Xs.isTopModal(S()),L=qt(Y=>{y.current=Y,Y&&(f&&M()?j():m.current&&ls(m.current,w))}),H=T.useCallback(()=>{Xs.remove(S(),w)},[w]);T.useEffect(()=>()=>{H()},[H]),T.useEffect(()=>{f?R():(!E||!a)&&H()},[f,H,E,a,R]);const U=Y=>F=>{var X;(X=Y.onKeyDown)==null||X.call(Y,F),!(F.key!=="Escape"||F.which===229||!M())&&(n||(F.stopPropagation(),p&&p(F,"escapeKeyDown")))},K=Y=>F=>{var X;(X=Y.onClick)==null||X.call(Y,F),F.target===F.currentTarget&&p&&p(F,"backdropClick")};return{getRootProps:(Y={})=>{const F=Do(e);delete F.onTransitionEnter,delete F.onTransitionExited;const X={...F,...Y};return{role:"presentation",...X,onKeyDown:U(X),ref:x}},getBackdropProps:(Y={})=>{const F=Y;return{"aria-hidden":!0,...F,onClick:K(F),open:f}},getTransitionProps:()=>{const Y=()=>{k(!1),i&&i()},F=()=>{k(!0),c&&c(),a&&H()};return{onEnter:Bu(Y,(u==null?void 0:u.props.onEnter)??tp),onExited:Bu(F,(u==null?void 0:u.props.onExited)??tp)}},rootRef:x,portalRef:L,isTopModal:M,exited:b,hasTransition:E}}function zx(e){return _e("MuiModal",e)}Ne("MuiModal",["root","hidden","backdrop"]);const Vx=e=>{const{open:t,exited:n,classes:r}=e;return Me({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},zx,r)},Wx=ce("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Pe(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),Hx=ce(wd,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),Id=T.forwardRef(function(t,n){const r=Le({name:"MuiModal",props:t}),{BackdropComponent:a=Hx,BackdropProps:i,classes:c,className:u,closeAfterTransition:p=!1,children:f,container:h,component:g,components:y={},componentsProps:m={},disableAutoFocus:x=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:k=!1,disablePortal:E=!1,disableRestoreFocus:w=!1,disableScrollLock:C=!1,hideBackdrop:S=!1,keepMounted:j=!1,onClose:R,onTransitionEnter:M,onTransitionExited:L,open:H,slotProps:U={},slots:K={},theme:v,...O}=r,_={...r,closeAfterTransition:p,disableAutoFocus:x,disableEnforceFocus:b,disableEscapeKeyDown:k,disablePortal:E,disableRestoreFocus:w,disableScrollLock:C,hideBackdrop:S,keepMounted:j},{getRootProps:Y,getBackdropProps:F,getTransitionProps:X,portalRef:te,isTopModal:ee,exited:W,hasTransition:V}=Dx({..._,rootRef:n}),pe={..._,exited:W},ue=Vx(pe),he={};if(f.props.tabIndex===void 0&&(he.tabIndex="-1"),V){const{onEnter:q,onExited:oe}=X();he.onEnter=q,he.onExited=oe}const A={slots:{root:y.Root,backdrop:y.Backdrop,...K},slotProps:{...m,...U}},[N,$]=Fe("root",{ref:n,elementType:Wx,externalForwardedProps:{...A,...O,component:g},getSlotProps:Y,ownerState:pe,className:ye(u,ue==null?void 0:ue.root,!pe.open&&pe.exited&&(ue==null?void 0:ue.hidden))}),[B,G]=Fe("backdrop",{ref:i==null?void 0:i.ref,elementType:a,externalForwardedProps:A,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:q=>F({...q,onClick:oe=>{q!=null&&q.onClick&&q.onClick(oe)}}),className:ye(i==null?void 0:i.className,ue==null?void 0:ue.backdrop),ownerState:pe});return!j&&!H&&(!V||W)?null:l.jsx(ys,{ref:te,container:h,disablePortal:E,children:l.jsxs(N,{...$,children:[!S&&a?l.jsx(B,{...G}):null,l.jsx(Ia,{disableEnforceFocus:b,disableAutoFocus:x,disableRestoreFocus:w,isEnabled:ee,open:H,children:T.cloneElement(f,he)})]})})});process.env.NODE_ENV!=="production"&&(Id.propTypes={BackdropComponent:o.elementType,BackdropProps:o.object,children:Co.isRequired,classes:o.object,className:o.string,closeAfterTransition:o.bool,component:o.elementType,components:o.shape({Backdrop:o.elementType,Root:o.elementType}),componentsProps:o.shape({backdrop:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),container:o.oneOfType([oo,o.func]),disableAutoFocus:o.bool,disableEnforceFocus:o.bool,disableEscapeKeyDown:o.bool,disablePortal:o.bool,disableRestoreFocus:o.bool,disableScrollLock:o.bool,hideBackdrop:o.bool,keepMounted:o.bool,onClose:o.func,onTransitionEnter:o.func,onTransitionExited:o.func,open:o.bool.isRequired,slotProps:o.shape({backdrop:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({backdrop:o.elementType,root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function Ux(e){return _e("MuiPaper",e)}Ne("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const qx=e=>{const{square:t,elevation:n,variant:r,classes:a}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Me(i,Ux,a)},Gx=ce("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(Pe(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Br=T.forwardRef(function(t,n){var m;const r=Le({props:t,name:"MuiPaper"}),a=io(),{className:i,component:c="div",elevation:u=1,square:p=!1,variant:f="elevation",...h}=r,g={...r,component:c,elevation:u,square:p,variant:f},y=qx(g);return process.env.NODE_ENV!=="production"&&a.shadows[u]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${u}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${u}]\` is defined.`].join(`
185
+ `)),l.jsx(Gx,{as:c,ownerState:g,className:ye(y.root,i),ref:n,...h,style:{...f==="elevation"&&{"--Paper-shadow":(a.vars||a).shadows[u],...a.vars&&{"--Paper-overlay":(m=a.vars.overlays)==null?void 0:m[u]},...!a.vars&&a.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${ya("#fff",bl(u))}, ${ya("#fff",bl(u))})`}},...h.style}})});process.env.NODE_ENV!=="production"&&(Br.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,elevation:Cn(as,e=>{const{elevation:t,variant:n}=e;return t>0&&n==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:o.bool,style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["elevation","outlined"]),o.string])});function Kx(e){return _e("MuiPopover",e)}Ne("MuiPopover",["root","paper"]);function np(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function op(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function rp(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function ns(e){return typeof e=="function"?e():e}const Yx=e=>{const{classes:t}=e;return Me({root:["root"],paper:["paper"]},Kx,t)},Xx=ce(Id,{name:"MuiPopover",slot:"Root"})({}),Ed=ce(Br,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),jd=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiPopover"}),{action:a,anchorEl:i,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:p="anchorEl",children:f,className:h,container:g,elevation:y=8,marginThreshold:m=16,open:x,PaperProps:b={},slots:k={},slotProps:E={},transformOrigin:w={vertical:"top",horizontal:"left"},TransitionComponent:C,transitionDuration:S="auto",TransitionProps:j={},disableScrollLock:R=!1,...M}=r,L=T.useRef(),H={...r,anchorOrigin:c,anchorReference:p,elevation:y,marginThreshold:m,transformOrigin:w,TransitionComponent:C,transitionDuration:S,TransitionProps:j},U=Yx(H),K=T.useCallback(()=>{if(p==="anchorPosition")return process.env.NODE_ENV!=="production"&&(u||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),u;const q=ns(i),oe=q&&q.nodeType===1?q:Nt(L.current).body,z=oe.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const fe=oe.getBoundingClientRect();Bs()&&fe.top===0&&fe.left===0&&fe.right===0&&fe.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
186
+ `))}return{top:z.top+np(z,c.vertical),left:z.left+op(z,c.horizontal)}},[i,c.horizontal,c.vertical,u,p]),v=T.useCallback(q=>({vertical:np(q,w.vertical),horizontal:op(q,w.horizontal)}),[w.horizontal,w.vertical]),O=T.useCallback(q=>{const oe={width:q.offsetWidth,height:q.offsetHeight},z=v(oe);if(p==="none")return{top:null,left:null,transformOrigin:rp(z)};const fe=K();let re=fe.top-z.vertical,ke=fe.left-z.horizontal;const je=re+oe.height,be=ke+oe.width,Ee=Nn(ns(i)),ze=Ee.innerHeight-m,Ze=Ee.innerWidth-m;if(m!==null&&re<m){const We=re-m;re-=We,z.vertical+=We}else if(m!==null&&je>ze){const We=je-ze;re-=We,z.vertical+=We}if(process.env.NODE_ENV!=="production"&&oe.height>ze&&oe.height&&ze&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${oe.height-ze}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
187
+ `)),m!==null&&ke<m){const We=ke-m;ke-=We,z.horizontal+=We}else if(be>Ze){const We=be-Ze;ke-=We,z.horizontal+=We}return{top:`${Math.round(re)}px`,left:`${Math.round(ke)}px`,transformOrigin:rp(z)}},[i,p,K,v,m]),[_,Y]=T.useState(x),F=T.useCallback(()=>{const q=L.current;if(!q)return;const oe=O(q);oe.top!==null&&q.style.setProperty("top",oe.top),oe.left!==null&&(q.style.left=oe.left),q.style.transformOrigin=oe.transformOrigin,Y(!0)},[O]);T.useEffect(()=>(R&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F)),[i,R,F]);const X=()=>{F()},te=()=>{Y(!1)};T.useEffect(()=>{x&&F()}),T.useImperativeHandle(a,()=>x?{updatePosition:()=>{F()}}:null,[x,F]),T.useEffect(()=>{if(!x)return;const q=ni(()=>{F()}),oe=Nn(ns(i));return oe.addEventListener("resize",q),()=>{q.clear(),oe.removeEventListener("resize",q)}},[i,x,F]);let ee=S;const W={slots:{transition:C,...k},slotProps:{transition:j,paper:b,...E}},[V,pe]=Fe("transition",{elementType:Tr,externalForwardedProps:W,ownerState:H,getSlotProps:q=>({...q,onEntering:(oe,z)=>{var fe;(fe=q.onEntering)==null||fe.call(q,oe,z),X()},onExited:oe=>{var z;(z=q.onExited)==null||z.call(q,oe),te()}}),additionalProps:{appear:!0,in:x}});S==="auto"&&!V.muiSupportAuto&&(ee=void 0);const ue=g||(i?Nt(ns(i)).body:void 0),[he,{slots:A,slotProps:N,...$}]=Fe("root",{ref:n,elementType:Xx,externalForwardedProps:{...W,...M},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:k.backdrop},slotProps:{backdrop:Z1(typeof E.backdrop=="function"?E.backdrop(H):E.backdrop,{invisible:!0})},container:ue,open:x},ownerState:H,className:ye(U.root,h)}),[B,G]=Fe("paper",{ref:L,className:U.paper,elementType:Ed,externalForwardedProps:W,shouldForwardComponentProp:!0,additionalProps:{elevation:y,style:_?void 0:{opacity:0}},ownerState:H});return l.jsx(he,{...$,...!mo(he)&&{slots:A,slotProps:N,disableScrollLock:R},children:l.jsx(V,{...pe,timeout:ee,children:l.jsx(B,{...G,children:f})})})});process.env.NODE_ENV!=="production"&&(jd.propTypes={action:gn,anchorEl:Cn(o.oneOfType([oo,o.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const t=ns(e.anchorEl);if(t&&t.nodeType===1){const n=t.getBoundingClientRect();if(process.env.NODE_ENV!=="production"&&Bs()&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
188
+ `))}else return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.",`It should be an Element or PopoverVirtualElement instance but it's \`${t}\` instead.`].join(`
189
+ `))}return null}),anchorOrigin:o.shape({horizontal:o.oneOfType([o.oneOf(["center","left","right"]),o.number]).isRequired,vertical:o.oneOfType([o.oneOf(["bottom","center","top"]),o.number]).isRequired}),anchorPosition:o.shape({left:o.number.isRequired,top:o.number.isRequired}),anchorReference:o.oneOf(["anchorEl","anchorPosition","none"]),BackdropComponent:o.elementType,BackdropProps:o.object,children:o.node,classes:o.object,className:o.string,container:o.oneOfType([oo,o.func]),disableScrollLock:o.bool,elevation:as,marginThreshold:o.number,onClose:o.func,open:o.bool.isRequired,PaperProps:o.shape({component:oi}),slotProps:o.shape({backdrop:o.oneOfType([o.func,o.object]),paper:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object]),transition:o.oneOfType([o.func,o.object])}),slots:o.shape({backdrop:o.elementType,paper:o.elementType,root:o.elementType,transition:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),transformOrigin:o.shape({horizontal:o.oneOfType([o.oneOf(["center","left","right"]),o.number]).isRequired,vertical:o.oneOfType([o.oneOf(["bottom","center","top"]),o.number]).isRequired}),TransitionComponent:o.elementType,transitionDuration:o.oneOfType([o.oneOf(["auto"]),o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})]),TransitionProps:o.object});function Jx(e){return _e("MuiMenu",e)}Ne("MuiMenu",["root","paper","list"]);const Zx={vertical:"top",horizontal:"right"},Qx={vertical:"top",horizontal:"left"},e2=e=>{const{classes:t}=e;return Me({root:["root"],paper:["paper"],list:["list"]},Jx,t)},t2=ce(jd,{shouldForwardProp:e=>on(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),n2=ce(Ed,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),o2=ce(vd,{name:"MuiMenu",slot:"List"})({outline:0}),Rd=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiMenu"}),{autoFocus:a=!0,children:i,className:c,disableAutoFocusItem:u=!1,MenuListProps:p={},onClose:f,open:h,PaperProps:g={},PopoverClasses:y,transitionDuration:m="auto",TransitionProps:{onEntering:x,...b}={},variant:k="selectedMenu",slots:E={},slotProps:w={},...C}=r,S=er(),j={...r,autoFocus:a,disableAutoFocusItem:u,MenuListProps:p,onEntering:x,PaperProps:g,transitionDuration:m,TransitionProps:b,variant:k},R=e2(j),M=a&&!u&&h,L=T.useRef(null),H=(ee,W)=>{L.current&&L.current.adjustStyleForScrollbar(ee,{direction:S?"rtl":"ltr"}),x&&x(ee,W)},U=ee=>{ee.key==="Tab"&&(ee.preventDefault(),f&&f(ee,"tabKeyDown"))};let K=-1;T.Children.map(i,(ee,W)=>{T.isValidElement(ee)&&(process.env.NODE_ENV!=="production"&&to.isFragment(ee)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
190
+ `)),ee.props.disabled||(k==="selectedMenu"&&ee.props.selected||K===-1)&&(K=W))});const v={slots:E,slotProps:{list:p,transition:b,paper:g,...w}},O=an({elementType:E.root,externalSlotProps:w.root,ownerState:j,className:[R.root,c]}),[_,Y]=Fe("paper",{className:R.paper,elementType:n2,externalForwardedProps:v,shouldForwardComponentProp:!0,ownerState:j}),[F,X]=Fe("list",{className:ye(R.list,p.className),elementType:o2,shouldForwardComponentProp:!0,externalForwardedProps:v,getSlotProps:ee=>({...ee,onKeyDown:W=>{var V;U(W),(V=ee.onKeyDown)==null||V.call(ee,W)}}),ownerState:j}),te=typeof v.slotProps.transition=="function"?v.slotProps.transition(j):v.slotProps.transition;return l.jsx(t2,{onClose:f,anchorOrigin:{vertical:"bottom",horizontal:S?"right":"left"},transformOrigin:S?Zx:Qx,slots:{root:E.root,paper:_,backdrop:E.backdrop,...E.transition&&{transition:E.transition}},slotProps:{root:O,paper:Y,backdrop:typeof w.backdrop=="function"?w.backdrop(j):w.backdrop,transition:{...te,onEntering:(...ee)=>{var W;H(...ee),(W=te==null?void 0:te.onEntering)==null||W.call(te,...ee)}}},open:h,ref:n,transitionDuration:m,ownerState:j,...C,classes:y,children:l.jsx(F,{actions:L,autoFocus:a&&(K===-1||u),autoFocusItem:M,variant:k,...X,children:i})})});process.env.NODE_ENV!=="production"&&(Rd.propTypes={anchorEl:o.oneOfType([oo,o.func]),autoFocus:o.bool,children:o.node,classes:o.object,className:o.string,disableAutoFocusItem:o.bool,MenuListProps:o.object,onClose:o.func,open:o.bool.isRequired,PaperProps:o.object,PopoverClasses:o.object,slotProps:o.shape({backdrop:o.oneOfType([o.func,o.object]),list:o.oneOfType([o.func,o.object]),paper:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object]),transition:o.oneOfType([o.func,o.object])}),slots:o.shape({backdrop:o.elementType,list:o.elementType,paper:o.elementType,root:o.elementType,transition:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),transitionDuration:o.oneOfType([o.oneOf(["auto"]),o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})]),TransitionProps:o.object,variant:o.oneOf(["menu","selectedMenu"])});function r2(e){return _e("MuiNativeSelect",e)}const sc=Ne("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),s2=e=>{const{classes:t,variant:n,disabled:r,multiple:a,open:i,error:c}=e,u={select:["select",n,r&&"disabled",a&&"multiple",c&&"error"],icon:["icon",`icon${se(n)}`,i&&"iconOpen",r&&"disabled"]};return Me(u,r2,t)},Od=ce("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${sc.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),a2=ce(Od,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:on,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${sc.multiple}`]:t.multiple}]}})({}),Pd=ce("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${sc.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),i2=ce(Pd,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${se(n.variant)}`],n.open&&t.iconOpen]}})({}),Ad=T.forwardRef(function(t,n){const{className:r,disabled:a,error:i,IconComponent:c,inputRef:u,variant:p="standard",...f}=t,h={...t,disabled:a,variant:p,error:i},g=s2(h);return l.jsxs(T.Fragment,{children:[l.jsx(a2,{ownerState:h,className:ye(g.select,r),disabled:a,ref:u||n,...f}),t.multiple?null:l.jsx(i2,{as:c,ownerState:h,className:g.icon})]})});process.env.NODE_ENV!=="production"&&(Ad.propTypes={children:o.node,classes:o.object,className:o.string,disabled:o.bool,error:o.bool,IconComponent:o.elementType.isRequired,inputRef:gn,multiple:o.bool,name:o.string,onChange:o.func,value:o.any,variant:o.oneOf(["standard","outlined","filled"])});function _d(e){return _e("MuiSelect",e)}const Ur=Ne("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);function l2(e){return e?e.type==="mousedown"||e.type==="pointerdown"||e.type==="touchstart"?"pointer":e.type==="keydown"||e.type==="click"&&e.detail===0?"keyboard":null:null}function c2(e){return e==null||typeof e=="string"&&!e.trim()}function sp(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const ac=T.createContext(null);process.env.NODE_ENV!=="production"&&(ac.displayName="SelectFocusSourceContext");function u2(){return T.useContext(ac)}const p2=ac.Provider;var ap;const d2=ce(Od,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Ur.select}`]:t.select},{[`&.${Ur.select}`]:t[n.variant]},{[`&.${Ur.error}`]:t.error},{[`&.${Ur.multiple}`]:t.multiple}]}})({[`&.${Ur.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),f2=ce(Pd,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${se(n.variant)}`],n.open&&t.iconOpen]}})({}),h2=ce("input",{shouldForwardProp:e=>ti(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"}),m2=e=>{const{classes:t,variant:n,disabled:r,multiple:a,open:i,error:c}=e,u={select:["select",n,r&&"disabled",a&&"multiple",c&&"error"],icon:["icon",`icon${se(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Me(u,_d,t)},Nd=T.forwardRef(function(t,n){var rn,bn,st,mt;const{"aria-describedby":r,"aria-label":a,autoFocus:i,autoWidth:c,children:u,className:p,defaultOpen:f,defaultValue:h,disabled:g,displayEmpty:y,error:m=!1,IconComponent:x,inputRef:b,labelId:k,MenuProps:E={},multiple:w,name:C,onBlur:S,onChange:j,onClose:R,onFocus:M,onKeyDown:L,onMouseDown:H,onOpen:U,open:K,readOnly:v,renderValue:O,required:_,SelectDisplayProps:Y={},tabIndex:F,type:X,value:te,variant:ee="standard",...W}=t,[V,pe]=bs({controlled:te,default:h,name:"Select"}),[ue,he]=bs({controlled:K,default:f,name:"Select"}),A=T.useRef(null),N=T.useRef(null),[$,B]=T.useState(null),{current:G}=T.useRef(K!=null),[q,oe]=T.useState(),[z,fe]=T.useState(null),re=Mt(n,b),ke=T.useCallback(we=>{N.current=we,we&&B(we)},[]),je=$==null?void 0:$.parentNode;T.useImperativeHandle(re,()=>({focus:()=>{N.current.focus()},node:A.current,value:V}),[V]);const be=$!==null&&ue;T.useEffect(()=>{if(!be||!je||c||typeof ResizeObserver>"u")return;const we=new ResizeObserver(()=>{oe(je.clientWidth)});return we.observe(je),()=>{we.disconnect()}},[be,je,c]),T.useEffect(()=>{f&&ue&&$&&!G&&(oe(c?null:je.clientWidth),N.current.focus())},[$,c]),T.useEffect(()=>{i&&N.current.focus()},[i]),T.useEffect(()=>{if(!k)return;const we=Nt(N.current).getElementById(k);if(we){const Ue=()=>{getSelection().isCollapsed&&N.current.focus()};return we.addEventListener("click",Ue),()=>{we.removeEventListener("click",Ue)}}},[k]);const Ee=(we,Ue)=>{we?(fe(l2(Ue)),U&&U(Ue)):(fe(null),R&&R(Ue)),G||(oe(c?null:je.clientWidth),he(we))},ze=we=>{H==null||H(we),we.button===0&&(we.preventDefault(),N.current.focus(),Ee(!0,we))},Ze=we=>{Ee(!1,we)},We=T.Children.toArray(u),Te=we=>{const Ue=We.find(ot=>ot.props.value===we.target.value);Ue!==void 0&&(pe(Ue.props.value),j&&j(we,Ue))},xt=we=>Ue=>{let ot;if(Ue.currentTarget.hasAttribute("tabindex")){if(w){ot=Array.isArray(V)?V.slice():[];const Be=V.indexOf(we.props.value);Be===-1?ot.push(we.props.value):ot.splice(Be,1)}else ot=we.props.value;if(we.props.onClick&&we.props.onClick(Ue),V!==ot&&(pe(ot),j)){const Be=Ue.nativeEvent||Ue,St=new Be.constructor(Be.type,Be);Object.defineProperty(St,"target",{writable:!0,value:{value:ot,name:C}}),j(St,we)}w||Ee(!1,Ue)}},it=we=>{v||([" ","ArrowUp","ArrowDown","Enter"].includes(we.key)&&(we.preventDefault(),Ee(!0,we)),L==null||L(we))},me=we=>{!be&&S&&(Object.defineProperty(we,"target",{writable:!0,value:{value:V,name:C}}),S(we))};delete W["aria-invalid"];let ge,Ie;const De=[];let He=!1,Re=!1;(Ta({value:V})||y)&&(O?ge=O(V):He=!0);const Ce=We.map(we=>{if(!T.isValidElement(we))return null;process.env.NODE_ENV!=="production"&&to.isFragment(we)&&console.error(["MUI: The Select component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
191
+ `));let Ue;if(w){if(!Array.isArray(V))throw new Error(process.env.NODE_ENV!=="production"?"MUI: The `value` prop must be an array when using the `Select` component with `multiple`.":eo(2));Ue=V.some(ot=>sp(ot,we.props.value)),Ue&&He&&De.push(we.props.children)}else Ue=sp(V,we.props.value),Ue&&He&&(Ie=we.props.children);return Ue&&(Re=!0),T.cloneElement(we,{"aria-selected":Ue?"true":"false",onClick:xt(we),onKeyUp:ot=>{ot.key===" "&&ot.preventDefault(),we.props.onKeyUp&&we.props.onKeyUp(ot)},role:"option",selected:Ue,value:void 0,"data-value":we.props.value})});process.env.NODE_ENV!=="production"&&T.useEffect(()=>{if(!Re&&!w&&V!==""){const we=We.map(Ue=>Ue.props.value);console.warn([`MUI: You have provided an out-of-range value \`${V}\` for the select ${C?`(name="${C}") `:""}component.`,"Consider providing a value that matches one of the available options or ''.",`The available values are ${we.filter(Ue=>Ue!=null).map(Ue=>`\`${Ue}\``).join(", ")||'""'}.`].join(`
192
+ `))}},[Re,We,w,C,V]),He&&(w?De.length===0?ge=null:ge=De.reduce((we,Ue,ot)=>(we.push(Ue),ot<De.length-1&&we.push(", "),we),[]):ge=Ie);let Qe=q;!c&&G&&$&&(Qe=je.clientWidth);let Ke;typeof F<"u"?Ke=F:Ke=g?null:0;const nt=Y.id||(C?`mui-component-select-${C}`:void 0),At={...t,variant:ee,value:V,open:be,error:m},Zt=m2(At),Qt={...E.PaperProps,...typeof((rn=E.slotProps)==null?void 0:rn.paper)=="function"?E.slotProps.paper(At):(bn=E.slotProps)==null?void 0:bn.paper},en={...E.MenuListProps,...typeof((st=E.slotProps)==null?void 0:st.list)=="function"?E.slotProps.list(At):(mt=E.slotProps)==null?void 0:mt.list},Yt=Go();return l.jsxs(T.Fragment,{children:[l.jsx(d2,{as:"div",ref:ke,tabIndex:Ke,role:"combobox","aria-controls":be?Yt:void 0,"aria-disabled":g?"true":void 0,"aria-expanded":be?"true":"false","aria-haspopup":"listbox","aria-label":a,"aria-labelledby":[k,nt].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":_?"true":void 0,"aria-invalid":m?"true":void 0,onKeyDown:it,onMouseDown:g||v?null:ze,onBlur:me,onFocus:M,...Y,ownerState:At,className:ye(Y.className,Zt.select,p),id:nt,children:c2(ge)?ap||(ap=l.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):ge}),l.jsx(h2,{"aria-invalid":m,value:Array.isArray(V)?V.join(","):V,name:C,ref:A,"aria-hidden":!0,onChange:Te,tabIndex:-1,disabled:g,className:Zt.nativeInput,autoFocus:i,required:_,...W,ownerState:At}),l.jsx(f2,{as:x,className:Zt.icon,ownerState:At}),l.jsx(p2,{value:z,children:l.jsx(Rd,{id:`menu-${C||""}`,anchorEl:je,open:be,onClose:Ze,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...E,slotProps:{...E.slotProps,list:{"aria-labelledby":k,role:"listbox","aria-multiselectable":w?"true":void 0,disableListWrap:!0,id:Yt,...en},paper:{...Qt,style:{minWidth:Qe,...Qt!=null?Qt.style:null}}},children:Ce})})]})});process.env.NODE_ENV!=="production"&&(Nd.propTypes={"aria-describedby":o.string,"aria-label":o.string,autoFocus:o.bool,autoWidth:o.bool,children:o.node,classes:o.object,className:o.string,defaultOpen:o.bool,defaultValue:o.any,disabled:o.bool,displayEmpty:o.bool,error:o.bool,IconComponent:o.elementType.isRequired,inputRef:gn,labelId:o.string,MenuProps:o.object,multiple:o.bool,name:o.string,onBlur:o.func,onChange:o.func,onClose:o.func,onFocus:o.func,onOpen:o.func,open:o.bool,readOnly:o.bool,renderValue:o.func,required:o.bool,SelectDisplayProps:o.object,tabIndex:o.oneOfType([o.number,o.string]),type:o.any,value:o.any,variant:o.oneOf(["standard","outlined","filled"])});const g2=Q(l.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),b2=e=>{const{classes:t}=e,r=Me({root:["root"]},_d,t);return{...t,...r}},ic={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>on(e)&&e!=="variant"},y2=ce(ci,ic)(""),x2=ce(pi,ic)(""),v2=ce(ui,ic)(""),Fr=T.forwardRef(function(t,n){const r=Le({name:"MuiSelect",props:t}),{autoWidth:a=!1,children:i,classes:c={},className:u,defaultOpen:p=!1,displayEmpty:f=!1,IconComponent:h=g2,id:g,input:y,inputProps:m,label:x,labelId:b,MenuProps:k,multiple:E=!1,native:w=!1,onClose:C,onOpen:S,open:j,renderValue:R,SelectDisplayProps:M,variant:L="outlined",...H}=r,U=w?Ad:Nd,K=So(),v=Nr({props:r,muiFormControl:K,states:["variant","error"]}),O=v.variant||L,_={...r,variant:O,classes:c},Y=b2(_),{root:F,...X}=Y,te=y||{standard:l.jsx(y2,{ownerState:_}),outlined:l.jsx(x2,{label:x,ownerState:_}),filled:l.jsx(v2,{ownerState:_})}[O],ee=Mt(n,To(te));return l.jsx(T.Fragment,{children:T.cloneElement(te,{inputComponent:U,inputProps:{children:i,error:v.error,IconComponent:h,variant:O,type:void 0,multiple:E,...w?{id:g}:{autoWidth:a,defaultOpen:p,displayEmpty:f,labelId:b,MenuProps:k,onClose:C,onOpen:S,open:j,renderValue:R,SelectDisplayProps:{id:g,...M}},...m,classes:m?Jt(X,m.classes):X,...y?y.props.inputProps:{}},...(E&&w||f)&&O==="outlined"?{notched:!0}:{},ref:ee,className:ye(te.props.className,u,Y.root),...!y&&{variant:O},...H})})});process.env.NODE_ENV!=="production"&&(Fr.propTypes={autoWidth:o.bool,children:o.node,classes:o.object,className:o.string,defaultOpen:o.bool,defaultValue:o.any,displayEmpty:o.bool,IconComponent:o.elementType,id:o.string,input:o.element,inputProps:o.object,label:o.node,labelId:o.string,MenuProps:o.object,multiple:o.bool,native:o.bool,onChange:o.func,onClose:o.func,onOpen:o.func,open:o.bool,renderValue:o.func,SelectDisplayProps:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),value:o.oneOfType([o.oneOf([""]),o.any]),variant:o.oneOf(["filled","outlined","standard"])});Fr.muiName="Select";function k2(e){return _e("MuiTextField",e)}Ne("MuiTextField",["root"]);const S2={standard:ci,filled:ui,outlined:pi},T2=e=>{const{classes:t}=e;return Me({root:["root"]},k2,t)},C2=ce(nc,{name:"MuiTextField",slot:"Root"})({}),lc=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiTextField"}),{autoComplete:a,autoFocus:i=!1,children:c,className:u,color:p="primary",defaultValue:f,disabled:h=!1,error:g=!1,FormHelperTextProps:y,fullWidth:m=!1,helperText:x,id:b,InputLabelProps:k,inputProps:E,InputProps:w,inputRef:C,label:S,maxRows:j,minRows:R,multiline:M=!1,name:L,onBlur:H,onChange:U,onFocus:K,placeholder:v,required:O=!1,rows:_,select:Y=!1,SelectProps:F,slots:X={},slotProps:te={},type:ee,value:W,variant:V="outlined",...pe}=r,ue={...r,autoFocus:i,color:p,disabled:h,error:g,fullWidth:m,multiline:M,required:O,select:Y,variant:V},he=T2(ue);process.env.NODE_ENV!=="production"&&Y&&!c&&console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");const A=Go(b),N=x&&A?`${A}-helper-text`:void 0,$=S&&A?`${A}-label`:void 0,B=S2[V],G={slots:X,slotProps:{input:w,inputLabel:k,htmlInput:E,formHelperText:y,select:F,...te}},q={},oe=G.slotProps.inputLabel;V==="outlined"&&(oe&&typeof oe.shrink<"u"&&(q.notched=oe.shrink),q.label=S),Y&&((!F||!F.native)&&(q.id=void 0),q["aria-describedby"]=void 0);const[z,fe]=Fe("root",{elementType:C2,shouldForwardComponentProp:!0,externalForwardedProps:{...G,...pe},ownerState:ue,className:ye(he.root,u),ref:n,additionalProps:{disabled:h,error:g,fullWidth:m,required:O,color:p,variant:V}}),[re,ke]=Fe("input",{elementType:B,externalForwardedProps:G,additionalProps:q,ownerState:ue}),[je,be]=Fe("inputLabel",{elementType:tc,externalForwardedProps:G,ownerState:ue}),[Ee,ze]=Fe("htmlInput",{elementType:"input",externalForwardedProps:G,ownerState:ue}),[Ze,We]=Fe("formHelperText",{elementType:gd,externalForwardedProps:G,ownerState:ue}),[Te,xt]=Fe("select",{elementType:Fr,externalForwardedProps:G,ownerState:ue}),it=l.jsx(re,{"aria-describedby":N,autoComplete:a,autoFocus:i,defaultValue:f,fullWidth:m,multiline:M,name:L,rows:_,maxRows:j,minRows:R,type:ee,value:W,id:A,inputRef:C,onBlur:H,onChange:U,onFocus:K,placeholder:v,inputProps:ze,slots:{input:X.htmlInput?Ee:void 0},...ke});return l.jsxs(z,{...fe,children:[S!=null&&S!==""&&l.jsx(je,{htmlFor:A,id:$,...be,children:S}),Y?l.jsx(Te,{"aria-describedby":N,id:A,labelId:$,value:W,input:it,...xt,children:c}):it,x&&l.jsx(Ze,{id:N,...We,children:x})]})});process.env.NODE_ENV!=="production"&&(lc.propTypes={autoComplete:o.string,autoFocus:o.bool,children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["primary","secondary","error","info","success","warning"]),o.string]),defaultValue:o.any,disabled:o.bool,error:o.bool,FormHelperTextProps:o.object,fullWidth:o.bool,helperText:o.node,id:o.string,InputLabelProps:o.object,inputProps:o.object,InputProps:o.object,inputRef:gn,label:o.node,margin:o.oneOf(["dense","none","normal"]),maxRows:o.oneOfType([o.number,o.string]),minRows:o.oneOfType([o.number,o.string]),multiline:o.bool,name:o.string,onBlur:o.func,onChange:o.func,onFocus:o.func,placeholder:o.string,required:o.bool,rows:o.oneOfType([o.number,o.string]),select:o.bool,SelectProps:o.object,size:o.oneOfType([o.oneOf(["medium","small"]),o.string]),slotProps:o.shape({formHelperText:o.oneOfType([o.func,o.object]),htmlInput:o.oneOfType([o.func,o.object]),input:o.oneOfType([o.func,o.object]),inputLabel:o.oneOfType([o.func,o.object]),select:o.oneOfType([o.func,o.object])}),slots:o.shape({formHelperText:o.elementType,htmlInput:o.elementType,input:o.elementType,inputLabel:o.elementType,root:o.elementType,select:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),type:o.string,value:o.any,variant:o.oneOf(["filled","outlined","standard"])});function w2(e){return _e("MuiInputAdornment",e)}const ip=Ne("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var lp;const I2=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${se(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},E2=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:a,size:i,variant:c}=e,u={root:["root",n&&"disablePointerEvents",a&&`position${se(a)}`,c,r&&"hiddenLabel",i&&`size${se(i)}`]};return Me(u,w2,t)},j2=ce("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:I2})(Pe(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${ip.positionStart}&:not(.${ip.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),El=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiInputAdornment"}),{children:a,className:i,component:c="div",disablePointerEvents:u=!1,disableTypography:p=!1,position:f,variant:h,...g}=r,y=So()||{};let m=h;h&&y.variant&&process.env.NODE_ENV!=="production"&&h===y.variant&&console.error("MUI: The `InputAdornment` variant infers the variant prop you do not have to provide one."),y&&!m&&(m=y.variant);const x={...r,hiddenLabel:y.hiddenLabel,size:y.size,disablePointerEvents:u,position:f,variant:m},b=E2(x);return l.jsx(Ms.Provider,{value:null,children:l.jsx(j2,{as:c,ownerState:x,className:ye(b.root,i),ref:n,...g,children:typeof a=="string"&&!p?l.jsx(ne,{color:"textSecondary",children:a}):l.jsxs(T.Fragment,{children:[f==="start"?lp||(lp=l.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,a]})})})});process.env.NODE_ENV!=="production"&&(El.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,disablePointerEvents:o.bool,disableTypography:o.bool,position:o.oneOf(["end","start"]).isRequired,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOf(["filled","outlined","standard"])});function R2(e){return _e("MuiIconButton",e)}const cp=Ne("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),O2=e=>{const{classes:t,disabled:n,color:r,edge:a,size:i,loading:c}=e,u={root:["root",c&&"loading",n&&"disabled",r!=="default"&&`color${se(r)}`,a&&`edge${se(a)}`,`size${se(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return Me(u,R2,t)},P2=ce(wn,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!=="default"&&t[`color${se(n.color)}`],n.edge&&t[`edge${se(n.edge)}`],t[`size${se(n.size)}`]]}})(Pe(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Pe(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Et()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Et()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${cp.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${cp.loading}`]:{color:"transparent"}}))),A2=ce("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Ct=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiIconButton"}),{edge:a=!1,children:i,className:c,color:u="default",disabled:p=!1,disableFocusRipple:f=!1,size:h="medium",id:g,loading:y=null,loadingIndicator:m,...x}=r,b=Go(g),k=m??l.jsx(_s,{"aria-labelledby":b,color:"inherit",size:16}),E={...r,edge:a,color:u,disabled:p,disableFocusRipple:f,loading:y,loadingIndicator:k,size:h},w=O2(E);return l.jsxs(P2,{id:y?b:g,className:ye(w.root,c),centerRipple:!0,focusRipple:!f,disabled:p||y,ref:n,...x,ownerState:E,children:[typeof y=="boolean"&&l.jsx("span",{className:w.loadingWrapper,style:{display:"contents"},children:l.jsx(A2,{className:w.loadingIndicator,ownerState:E,children:y&&k})}),i]})});process.env.NODE_ENV!=="production"&&(Ct.propTypes={children:Cn(o.node,e=>T.Children.toArray(e.children).some(n=>T.isValidElement(n)&&n.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
193
+ `)):null),classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),o.string]),disabled:o.bool,disableFocusRipple:o.bool,disableRipple:o.bool,edge:o.oneOf(["end","start",!1]),id:o.string,loading:o.bool,loadingIndicator:o.node,size:o.oneOfType([o.oneOf(["small","medium","large"]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});var ln="top",In="bottom",En="right",cn="left",cc="auto",Fs=[ln,In,En,cn],wr="start",xs="end",_2="clippingParents",Md="viewport",qr="popper",N2="reference",up=Fs.reduce(function(e,t){return e.concat([t+"-"+wr,t+"-"+xs])},[]),Bd=[].concat(Fs,[cc]).reduce(function(e,t){return e.concat([t,t+"-"+wr,t+"-"+xs])},[]),M2="beforeRead",B2="read",F2="afterRead",L2="beforeMain",$2="main",D2="afterMain",z2="beforeWrite",V2="write",W2="afterWrite",H2=[M2,B2,F2,L2,$2,D2,z2,V2,W2];function qn(e){return e?(e.nodeName||"").toLowerCase():null}function hn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ko(e){var t=hn(e).Element;return e instanceof t||e instanceof Element}function Sn(e){var t=hn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function uc(e){if(typeof ShadowRoot>"u")return!1;var t=hn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function U2(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},a=t.attributes[n]||{},i=t.elements[n];!Sn(i)||!qn(i)||(Object.assign(i.style,r),Object.keys(a).forEach(function(c){var u=a[c];u===!1?i.removeAttribute(c):i.setAttribute(c,u===!0?"":u)}))})}function q2(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var a=t.elements[r],i=t.attributes[r]||{},c=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),u=c.reduce(function(p,f){return p[f]="",p},{});!Sn(a)||!qn(a)||(Object.assign(a.style,u),Object.keys(i).forEach(function(p){a.removeAttribute(p)}))})}}const G2={name:"applyStyles",enabled:!0,phase:"write",fn:U2,effect:q2,requires:["computeStyles"]};function Wn(e){return e.split("-")[0]}var zo=Math.max,Ea=Math.min,Ir=Math.round;function jl(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Fd(){return!/^((?!chrome|android).)*safari/i.test(jl())}function Er(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),a=1,i=1;t&&Sn(e)&&(a=e.offsetWidth>0&&Ir(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Ir(r.height)/e.offsetHeight||1);var c=Ko(e)?hn(e):window,u=c.visualViewport,p=!Fd()&&n,f=(r.left+(p&&u?u.offsetLeft:0))/a,h=(r.top+(p&&u?u.offsetTop:0))/i,g=r.width/a,y=r.height/i;return{width:g,height:y,top:h,right:f+g,bottom:h+y,left:f,x:f,y:h}}function pc(e){var t=Er(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Ld(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&uc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ro(e){return hn(e).getComputedStyle(e)}function K2(e){return["table","td","th"].indexOf(qn(e))>=0}function wo(e){return((Ko(e)?e.ownerDocument:e.document)||window.document).documentElement}function di(e){return qn(e)==="html"?e:e.assignedSlot||e.parentNode||(uc(e)?e.host:null)||wo(e)}function pp(e){return!Sn(e)||ro(e).position==="fixed"?null:e.offsetParent}function Y2(e){var t=/firefox/i.test(jl()),n=/Trident/i.test(jl());if(n&&Sn(e)){var r=ro(e);if(r.position==="fixed")return null}var a=di(e);for(uc(a)&&(a=a.host);Sn(a)&&["html","body"].indexOf(qn(a))<0;){var i=ro(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return a;a=a.parentNode}return null}function Ls(e){for(var t=hn(e),n=pp(e);n&&K2(n)&&ro(n).position==="static";)n=pp(n);return n&&(qn(n)==="html"||qn(n)==="body"&&ro(n).position==="static")?t:n||Y2(e)||t}function dc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function cs(e,t,n){return zo(e,Ea(t,n))}function X2(e,t,n){var r=cs(e,t,n);return r>n?n:r}function $d(){return{top:0,right:0,bottom:0,left:0}}function Dd(e){return Object.assign({},$d(),e)}function zd(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var J2=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Dd(typeof t!="number"?t:zd(t,Fs))};function Z2(e){var t,n=e.state,r=e.name,a=e.options,i=n.elements.arrow,c=n.modifiersData.popperOffsets,u=Wn(n.placement),p=dc(u),f=[cn,En].indexOf(u)>=0,h=f?"height":"width";if(!(!i||!c)){var g=J2(a.padding,n),y=pc(i),m=p==="y"?ln:cn,x=p==="y"?In:En,b=n.rects.reference[h]+n.rects.reference[p]-c[p]-n.rects.popper[h],k=c[p]-n.rects.reference[p],E=Ls(i),w=E?p==="y"?E.clientHeight||0:E.clientWidth||0:0,C=b/2-k/2,S=g[m],j=w-y[h]-g[x],R=w/2-y[h]/2+C,M=cs(S,R,j),L=p;n.modifiersData[r]=(t={},t[L]=M,t.centerOffset=M-R,t)}}function Q2(e){var t=e.state,n=e.options,r=n.element,a=r===void 0?"[data-popper-arrow]":r;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||Ld(t.elements.popper,a)&&(t.elements.arrow=a))}const ev={name:"arrow",enabled:!0,phase:"main",fn:Z2,effect:Q2,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function jr(e){return e.split("-")[1]}var tv={top:"auto",right:"auto",bottom:"auto",left:"auto"};function nv(e,t){var n=e.x,r=e.y,a=t.devicePixelRatio||1;return{x:Ir(n*a)/a||0,y:Ir(r*a)/a||0}}function dp(e){var t,n=e.popper,r=e.popperRect,a=e.placement,i=e.variation,c=e.offsets,u=e.position,p=e.gpuAcceleration,f=e.adaptive,h=e.roundOffsets,g=e.isFixed,y=c.x,m=y===void 0?0:y,x=c.y,b=x===void 0?0:x,k=typeof h=="function"?h({x:m,y:b}):{x:m,y:b};m=k.x,b=k.y;var E=c.hasOwnProperty("x"),w=c.hasOwnProperty("y"),C=cn,S=ln,j=window;if(f){var R=Ls(n),M="clientHeight",L="clientWidth";if(R===hn(n)&&(R=wo(n),ro(R).position!=="static"&&u==="absolute"&&(M="scrollHeight",L="scrollWidth")),R=R,a===ln||(a===cn||a===En)&&i===xs){S=In;var H=g&&R===j&&j.visualViewport?j.visualViewport.height:R[M];b-=H-r.height,b*=p?1:-1}if(a===cn||(a===ln||a===In)&&i===xs){C=En;var U=g&&R===j&&j.visualViewport?j.visualViewport.width:R[L];m-=U-r.width,m*=p?1:-1}}var K=Object.assign({position:u},f&&tv),v=h===!0?nv({x:m,y:b},hn(n)):{x:m,y:b};if(m=v.x,b=v.y,p){var O;return Object.assign({},K,(O={},O[S]=w?"0":"",O[C]=E?"0":"",O.transform=(j.devicePixelRatio||1)<=1?"translate("+m+"px, "+b+"px)":"translate3d("+m+"px, "+b+"px, 0)",O))}return Object.assign({},K,(t={},t[S]=w?b+"px":"",t[C]=E?m+"px":"",t.transform="",t))}function ov(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=r===void 0?!0:r,i=n.adaptive,c=i===void 0?!0:i,u=n.roundOffsets,p=u===void 0?!0:u,f={placement:Wn(t.placement),variation:jr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,dp(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:p})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,dp(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:p})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const rv={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ov,data:{}};var Js={passive:!0};function sv(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,i=a===void 0?!0:a,c=r.resize,u=c===void 0?!0:c,p=hn(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&f.forEach(function(h){h.addEventListener("scroll",n.update,Js)}),u&&p.addEventListener("resize",n.update,Js),function(){i&&f.forEach(function(h){h.removeEventListener("scroll",n.update,Js)}),u&&p.removeEventListener("resize",n.update,Js)}}const av={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:sv,data:{}};var iv={left:"right",right:"left",bottom:"top",top:"bottom"};function ua(e){return e.replace(/left|right|bottom|top/g,function(t){return iv[t]})}var lv={start:"end",end:"start"};function fp(e){return e.replace(/start|end/g,function(t){return lv[t]})}function fc(e){var t=hn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function hc(e){return Er(wo(e)).left+fc(e).scrollLeft}function cv(e,t){var n=hn(e),r=wo(e),a=n.visualViewport,i=r.clientWidth,c=r.clientHeight,u=0,p=0;if(a){i=a.width,c=a.height;var f=Fd();(f||!f&&t==="fixed")&&(u=a.offsetLeft,p=a.offsetTop)}return{width:i,height:c,x:u+hc(e),y:p}}function uv(e){var t,n=wo(e),r=fc(e),a=(t=e.ownerDocument)==null?void 0:t.body,i=zo(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),c=zo(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),u=-r.scrollLeft+hc(e),p=-r.scrollTop;return ro(a||n).direction==="rtl"&&(u+=zo(n.clientWidth,a?a.clientWidth:0)-i),{width:i,height:c,x:u,y:p}}function mc(e){var t=ro(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function Vd(e){return["html","body","#document"].indexOf(qn(e))>=0?e.ownerDocument.body:Sn(e)&&mc(e)?e:Vd(di(e))}function us(e,t){var n;t===void 0&&(t=[]);var r=Vd(e),a=r===((n=e.ownerDocument)==null?void 0:n.body),i=hn(r),c=a?[i].concat(i.visualViewport||[],mc(r)?r:[]):r,u=t.concat(c);return a?u:u.concat(us(di(c)))}function Rl(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function pv(e,t){var n=Er(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function hp(e,t,n){return t===Md?Rl(cv(e,n)):Ko(t)?pv(t,n):Rl(uv(wo(e)))}function dv(e){var t=us(di(e)),n=["absolute","fixed"].indexOf(ro(e).position)>=0,r=n&&Sn(e)?Ls(e):e;return Ko(r)?t.filter(function(a){return Ko(a)&&Ld(a,r)&&qn(a)!=="body"}):[]}function fv(e,t,n,r){var a=t==="clippingParents"?dv(e):[].concat(t),i=[].concat(a,[n]),c=i[0],u=i.reduce(function(p,f){var h=hp(e,f,r);return p.top=zo(h.top,p.top),p.right=Ea(h.right,p.right),p.bottom=Ea(h.bottom,p.bottom),p.left=zo(h.left,p.left),p},hp(e,c,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function Wd(e){var t=e.reference,n=e.element,r=e.placement,a=r?Wn(r):null,i=r?jr(r):null,c=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,p;switch(a){case ln:p={x:c,y:t.y-n.height};break;case In:p={x:c,y:t.y+t.height};break;case En:p={x:t.x+t.width,y:u};break;case cn:p={x:t.x-n.width,y:u};break;default:p={x:t.x,y:t.y}}var f=a?dc(a):null;if(f!=null){var h=f==="y"?"height":"width";switch(i){case wr:p[f]=p[f]-(t[h]/2-n[h]/2);break;case xs:p[f]=p[f]+(t[h]/2-n[h]/2);break}}return p}function vs(e,t){t===void 0&&(t={});var n=t,r=n.placement,a=r===void 0?e.placement:r,i=n.strategy,c=i===void 0?e.strategy:i,u=n.boundary,p=u===void 0?_2:u,f=n.rootBoundary,h=f===void 0?Md:f,g=n.elementContext,y=g===void 0?qr:g,m=n.altBoundary,x=m===void 0?!1:m,b=n.padding,k=b===void 0?0:b,E=Dd(typeof k!="number"?k:zd(k,Fs)),w=y===qr?N2:qr,C=e.rects.popper,S=e.elements[x?w:y],j=fv(Ko(S)?S:S.contextElement||wo(e.elements.popper),p,h,c),R=Er(e.elements.reference),M=Wd({reference:R,element:C,placement:a}),L=Rl(Object.assign({},C,M)),H=y===qr?L:R,U={top:j.top-H.top+E.top,bottom:H.bottom-j.bottom+E.bottom,left:j.left-H.left+E.left,right:H.right-j.right+E.right},K=e.modifiersData.offset;if(y===qr&&K){var v=K[a];Object.keys(U).forEach(function(O){var _=[En,In].indexOf(O)>=0?1:-1,Y=[ln,In].indexOf(O)>=0?"y":"x";U[O]+=v[Y]*_})}return U}function hv(e,t){t===void 0&&(t={});var n=t,r=n.placement,a=n.boundary,i=n.rootBoundary,c=n.padding,u=n.flipVariations,p=n.allowedAutoPlacements,f=p===void 0?Bd:p,h=jr(r),g=h?u?up:up.filter(function(x){return jr(x)===h}):Fs,y=g.filter(function(x){return f.indexOf(x)>=0});y.length===0&&(y=g);var m=y.reduce(function(x,b){return x[b]=vs(e,{placement:b,boundary:a,rootBoundary:i,padding:c})[Wn(b)],x},{});return Object.keys(m).sort(function(x,b){return m[x]-m[b]})}function mv(e){if(Wn(e)===cc)return[];var t=ua(e);return[fp(e),t,fp(t)]}function gv(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=n.mainAxis,i=a===void 0?!0:a,c=n.altAxis,u=c===void 0?!0:c,p=n.fallbackPlacements,f=n.padding,h=n.boundary,g=n.rootBoundary,y=n.altBoundary,m=n.flipVariations,x=m===void 0?!0:m,b=n.allowedAutoPlacements,k=t.options.placement,E=Wn(k),w=E===k,C=p||(w||!x?[ua(k)]:mv(k)),S=[k].concat(C).reduce(function(he,A){return he.concat(Wn(A)===cc?hv(t,{placement:A,boundary:h,rootBoundary:g,padding:f,flipVariations:x,allowedAutoPlacements:b}):A)},[]),j=t.rects.reference,R=t.rects.popper,M=new Map,L=!0,H=S[0],U=0;U<S.length;U++){var K=S[U],v=Wn(K),O=jr(K)===wr,_=[ln,In].indexOf(v)>=0,Y=_?"width":"height",F=vs(t,{placement:K,boundary:h,rootBoundary:g,altBoundary:y,padding:f}),X=_?O?En:cn:O?In:ln;j[Y]>R[Y]&&(X=ua(X));var te=ua(X),ee=[];if(i&&ee.push(F[v]<=0),u&&ee.push(F[X]<=0,F[te]<=0),ee.every(function(he){return he})){H=K,L=!1;break}M.set(K,ee)}if(L)for(var W=x?3:1,V=function(A){var N=S.find(function($){var B=M.get($);if(B)return B.slice(0,A).every(function(G){return G})});if(N)return H=N,"break"},pe=W;pe>0;pe--){var ue=V(pe);if(ue==="break")break}t.placement!==H&&(t.modifiersData[r]._skip=!0,t.placement=H,t.reset=!0)}}const bv={name:"flip",enabled:!0,phase:"main",fn:gv,requiresIfExists:["offset"],data:{_skip:!1}};function mp(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function gp(e){return[ln,En,In,cn].some(function(t){return e[t]>=0})}function yv(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,c=vs(t,{elementContext:"reference"}),u=vs(t,{altBoundary:!0}),p=mp(c,r),f=mp(u,a,i),h=gp(p),g=gp(f);t.modifiersData[n]={referenceClippingOffsets:p,popperEscapeOffsets:f,isReferenceHidden:h,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":g})}const xv={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:yv};function vv(e,t,n){var r=Wn(e),a=[cn,ln].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,c=i[0],u=i[1];return c=c||0,u=(u||0)*a,[cn,En].indexOf(r)>=0?{x:u,y:c}:{x:c,y:u}}function kv(e){var t=e.state,n=e.options,r=e.name,a=n.offset,i=a===void 0?[0,0]:a,c=Bd.reduce(function(h,g){return h[g]=vv(g,t.rects,i),h},{}),u=c[t.placement],p=u.x,f=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=p,t.modifiersData.popperOffsets.y+=f),t.modifiersData[r]=c}const Sv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:kv};function Tv(e){var t=e.state,n=e.name;t.modifiersData[n]=Wd({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Cv={name:"popperOffsets",enabled:!0,phase:"read",fn:Tv,data:{}};function wv(e){return e==="x"?"y":"x"}function Iv(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,i=a===void 0?!0:a,c=n.altAxis,u=c===void 0?!1:c,p=n.boundary,f=n.rootBoundary,h=n.altBoundary,g=n.padding,y=n.tether,m=y===void 0?!0:y,x=n.tetherOffset,b=x===void 0?0:x,k=vs(t,{boundary:p,rootBoundary:f,padding:g,altBoundary:h}),E=Wn(t.placement),w=jr(t.placement),C=!w,S=dc(E),j=wv(S),R=t.modifiersData.popperOffsets,M=t.rects.reference,L=t.rects.popper,H=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,U=typeof H=="number"?{mainAxis:H,altAxis:H}:Object.assign({mainAxis:0,altAxis:0},H),K=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,v={x:0,y:0};if(R){if(i){var O,_=S==="y"?ln:cn,Y=S==="y"?In:En,F=S==="y"?"height":"width",X=R[S],te=X+k[_],ee=X-k[Y],W=m?-L[F]/2:0,V=w===wr?M[F]:L[F],pe=w===wr?-L[F]:-M[F],ue=t.elements.arrow,he=m&&ue?pc(ue):{width:0,height:0},A=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:$d(),N=A[_],$=A[Y],B=cs(0,M[F],he[F]),G=C?M[F]/2-W-B-N-U.mainAxis:V-B-N-U.mainAxis,q=C?-M[F]/2+W+B+$+U.mainAxis:pe+B+$+U.mainAxis,oe=t.elements.arrow&&Ls(t.elements.arrow),z=oe?S==="y"?oe.clientTop||0:oe.clientLeft||0:0,fe=(O=K==null?void 0:K[S])!=null?O:0,re=X+G-fe-z,ke=X+q-fe,je=cs(m?Ea(te,re):te,X,m?zo(ee,ke):ee);R[S]=je,v[S]=je-X}if(u){var be,Ee=S==="x"?ln:cn,ze=S==="x"?In:En,Ze=R[j],We=j==="y"?"height":"width",Te=Ze+k[Ee],xt=Ze-k[ze],it=[ln,cn].indexOf(E)!==-1,me=(be=K==null?void 0:K[j])!=null?be:0,ge=it?Te:Ze-M[We]-L[We]-me+U.altAxis,Ie=it?Ze+M[We]+L[We]-me-U.altAxis:xt,De=m&&it?X2(ge,Ze,Ie):cs(m?ge:Te,Ze,m?Ie:xt);R[j]=De,v[j]=De-Ze}t.modifiersData[r]=v}}const Ev={name:"preventOverflow",enabled:!0,phase:"main",fn:Iv,requiresIfExists:["offset"]};function jv(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Rv(e){return e===hn(e)||!Sn(e)?fc(e):jv(e)}function Ov(e){var t=e.getBoundingClientRect(),n=Ir(t.width)/e.offsetWidth||1,r=Ir(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Pv(e,t,n){n===void 0&&(n=!1);var r=Sn(t),a=Sn(t)&&Ov(t),i=wo(t),c=Er(e,a,n),u={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(r||!r&&!n)&&((qn(t)!=="body"||mc(i))&&(u=Rv(t)),Sn(t)?(p=Er(t,!0),p.x+=t.clientLeft,p.y+=t.clientTop):i&&(p.x=hc(i))),{x:c.left+u.scrollLeft-p.x,y:c.top+u.scrollTop-p.y,width:c.width,height:c.height}}function Av(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function a(i){n.add(i.name);var c=[].concat(i.requires||[],i.requiresIfExists||[]);c.forEach(function(u){if(!n.has(u)){var p=t.get(u);p&&a(p)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||a(i)}),r}function _v(e){var t=Av(e);return H2.reduce(function(n,r){return n.concat(t.filter(function(a){return a.phase===r}))},[])}function Nv(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Mv(e){var t=e.reduce(function(n,r){var a=n[r.name];return n[r.name]=a?Object.assign({},a,r,{options:Object.assign({},a.options,r.options),data:Object.assign({},a.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var bp={placement:"bottom",modifiers:[],strategy:"absolute"};function yp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Bv(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,a=t.defaultOptions,i=a===void 0?bp:a;return function(u,p,f){f===void 0&&(f=i);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},bp,i),modifiersData:{},elements:{reference:u,popper:p},attributes:{},styles:{}},g=[],y=!1,m={state:h,setOptions:function(E){var w=typeof E=="function"?E(h.options):E;b(),h.options=Object.assign({},i,h.options,w),h.scrollParents={reference:Ko(u)?us(u):u.contextElement?us(u.contextElement):[],popper:us(p)};var C=_v(Mv([].concat(r,h.options.modifiers)));return h.orderedModifiers=C.filter(function(S){return S.enabled}),x(),m.update()},forceUpdate:function(){if(!y){var E=h.elements,w=E.reference,C=E.popper;if(yp(w,C)){h.rects={reference:Pv(w,Ls(C),h.options.strategy==="fixed"),popper:pc(C)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(U){return h.modifiersData[U.name]=Object.assign({},U.data)});for(var S=0;S<h.orderedModifiers.length;S++){if(h.reset===!0){h.reset=!1,S=-1;continue}var j=h.orderedModifiers[S],R=j.fn,M=j.options,L=M===void 0?{}:M,H=j.name;typeof R=="function"&&(h=R({state:h,options:L,name:H,instance:m})||h)}}}},update:Nv(function(){return new Promise(function(k){m.forceUpdate(),k(h)})}),destroy:function(){b(),y=!0}};if(!yp(u,p))return m;m.setOptions(f).then(function(k){!y&&f.onFirstUpdate&&f.onFirstUpdate(k)});function x(){h.orderedModifiers.forEach(function(k){var E=k.name,w=k.options,C=w===void 0?{}:w,S=k.effect;if(typeof S=="function"){var j=S({state:h,name:E,instance:m,options:C}),R=function(){};g.push(j||R)}})}function b(){g.forEach(function(k){return k()}),g=[]}return m}}var Fv=[av,Cv,rv,G2,Sv,bv,Ev,ev,xv],Lv=Bv({defaultModifiers:Fv});function $v(e){return _e("MuiPopper",e)}Ne("MuiPopper",["root"]);function Dv(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function ja(e){return typeof e=="function"?e():e}function fi(e){return e.nodeType!==void 0}function zv(e){return!fi(e)}const Vv=e=>{const{classes:t}=e;return Me({root:["root"]},$v,t)},Wv={},Hv=T.forwardRef(function(t,n){const{anchorEl:r,children:a,direction:i,disablePortal:c,modifiers:u,open:p,placement:f,popperOptions:h,popperRef:g,slotProps:y={},slots:m={},TransitionProps:x,ownerState:b,...k}=t,E=T.useRef(null),w=Mt(E,n),C=T.useRef(null),S=Mt(C,g),j=T.useRef(S);fn(()=>{j.current=S},[S]),T.useImperativeHandle(g,()=>C.current,[]);const R=Dv(f,i),[M,L]=T.useState(R),[H,U]=T.useState(ja(r));T.useEffect(()=>{C.current&&C.current.forceUpdate()}),T.useEffect(()=>{r&&U(ja(r))},[r]),fn(()=>{if(!H||!p)return;const Y=ee=>{L(ee.placement)};if(process.env.NODE_ENV!=="production"&&H&&fi(H)&&H.nodeType===1){const ee=H.getBoundingClientRect();Bs()&&ee.top===0&&ee.left===0&&ee.right===0&&ee.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
194
+ `))}let F=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:ee})=>{Y(ee)}}];u!=null&&(F=F.concat(u)),h&&h.modifiers!=null&&(F=F.concat(h.modifiers));const X=Lv(H,E.current,{placement:R,...h,modifiers:F});j.current(X);const te=E.current;return()=>{if(te){const{style:ee}=te,W=ee.position,V=ee.top,pe=ee.left,ue=ee.transform;X.destroy(),ee.position=W,ee.top=V,ee.left=pe,ee.transform=ue}else X.destroy();j.current(null)}},[H,c,u,p,h,R]);const K={placement:M};x!==null&&(K.TransitionProps=x);const v=Vv(t),O=m.root??"div",_=an({elementType:O,externalSlotProps:y.root,externalForwardedProps:k,additionalProps:{role:"tooltip",ref:w},ownerState:t,className:v.root});return l.jsx(O,{..._,children:typeof a=="function"?a(K):a})}),Hd=T.forwardRef(function(t,n){const{anchorEl:r,children:a,container:i,direction:c="ltr",disablePortal:u=!1,keepMounted:p=!1,modifiers:f,open:h,placement:g="bottom",popperOptions:y=Wv,popperRef:m,style:x,transition:b=!1,slotProps:k={},slots:E={},...w}=t,[C,S]=T.useState(!0),j=()=>{S(!1)},R=()=>{S(!0)};if(!p&&!h&&(!b||C))return null;let M;if(i)M=i;else if(r){const U=ja(r);M=U&&fi(U)?Nt(U).body:Nt(null).body}const L=!h&&p&&(!b||C)?"none":void 0,H=b?{in:h,onEnter:j,onExited:R}:void 0;return l.jsx(ys,{disablePortal:u,container:M,children:l.jsx(Hv,{anchorEl:r,direction:c,disablePortal:u,modifiers:f,ref:n,open:b?!C:h,placement:g,popperOptions:y,popperRef:m,slotProps:k,slots:E,...w,style:{position:"fixed",top:0,left:0,display:L,...x},TransitionProps:H,children:a})})});process.env.NODE_ENV!=="production"&&(Hd.propTypes={anchorEl:Cn(o.oneOfType([oo,o.object,o.func]),e=>{if(e.open){const t=ja(e.anchorEl);if(t&&fi(t)&&t.nodeType===1){const n=t.getBoundingClientRect();if(process.env.NODE_ENV!=="production"&&Bs()&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
195
+ `))}else if(!t||typeof t.getBoundingClientRect!="function"||zv(t)&&t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
196
+ `))}return null}),children:o.oneOfType([o.node,o.func]),container:o.oneOfType([oo,o.func]),direction:o.oneOf(["ltr","rtl"]),disablePortal:o.bool,keepMounted:o.bool,modifiers:o.arrayOf(o.shape({data:o.object,effect:o.func,enabled:o.bool,fn:o.func,name:o.any,options:o.object,phase:o.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:o.arrayOf(o.string),requiresIfExists:o.arrayOf(o.string)})),open:o.bool.isRequired,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:o.shape({modifiers:o.array,onFirstUpdate:o.func,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:o.oneOf(["absolute","fixed"])}),popperRef:gn,slotProps:o.shape({root:o.oneOfType([o.func,o.object])}),slots:o.shape({root:o.elementType}),transition:o.bool});const Uv=ce(Hd,{name:"MuiPopper",slot:"Root"})({}),gc=T.forwardRef(function(t,n){const r=er(),a=Le({props:t,name:"MuiPopper"}),{anchorEl:i,component:c,components:u,componentsProps:p,container:f,disablePortal:h,keepMounted:g,modifiers:y,open:m,placement:x,popperOptions:b,popperRef:k,transition:E,slots:w,slotProps:C,...S}=a,j=(w==null?void 0:w.root)??(u==null?void 0:u.Root),R={anchorEl:i,container:f,disablePortal:h,keepMounted:g,modifiers:y,open:m,placement:x,popperOptions:b,popperRef:k,transition:E,...S};return l.jsx(Uv,{as:c,direction:r?"rtl":"ltr",slots:{root:j},slotProps:C??p,...R,ref:n})});process.env.NODE_ENV!=="production"&&(gc.propTypes={anchorEl:o.oneOfType([oo,o.object,o.func]),children:o.oneOfType([o.node,o.func]),component:o.elementType,components:o.shape({Root:o.elementType}),componentsProps:o.shape({root:o.oneOfType([o.func,o.object])}),container:o.oneOfType([oo,o.func]),disablePortal:o.bool,keepMounted:o.bool,modifiers:o.arrayOf(o.shape({data:o.object,effect:o.func,enabled:o.bool,fn:o.func,name:o.any,options:o.object,phase:o.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:o.arrayOf(o.string),requiresIfExists:o.arrayOf(o.string)})),open:o.bool.isRequired,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:o.shape({modifiers:o.array,onFirstUpdate:o.func,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:o.oneOf(["absolute","fixed"])}),popperRef:gn,slotProps:o.shape({root:o.oneOfType([o.func,o.object])}),slots:o.shape({root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),transition:o.bool});function qv(e){return _e("MuiTooltip",e)}const Tt=Ne("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function Gv(e){return Math.round(e*1e5)/1e5}const Kv=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:a,placement:i}=e,c={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",a&&"touch",`tooltipPlacement${se(i.split("-")[0])}`],arrow:["arrow"]};return Me(c,qv,t)},Yv=ce(gc,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(Pe(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${Tt.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Tt.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Tt.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Tt.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Tt.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Tt.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Tt.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Tt.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),Xv=ce("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${se(n.placement.split("-")[0])}`]]}})(Pe(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:e.alpha(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,[`.${Tt.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Tt.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Tt.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Tt.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${Gv(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Tt.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Tt.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Tt.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Tt.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Tt.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Tt.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Tt.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Tt.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Tt.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Tt.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),Jv=ce("span",{name:"MuiTooltip",slot:"Arrow"})(Pe(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Zs=!1;const xp=new ri;let Gr={x:0,y:0};function Qs(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const Ht=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiTooltip"}),{arrow:a=!1,children:i,classes:c,components:u={},componentsProps:p={},describeChild:f=!1,disableFocusListener:h=!1,disableHoverListener:g=!1,disableInteractive:y=!1,disableTouchListener:m=!1,enterDelay:x=100,enterNextDelay:b=0,enterTouchDelay:k=700,followCursor:E=!1,id:w,leaveDelay:C=0,leaveTouchDelay:S=1500,onClose:j,onOpen:R,open:M,placement:L="bottom",PopperComponent:H,PopperProps:U={},slotProps:K={},slots:v={},title:O,TransitionComponent:_,TransitionProps:Y,...F}=r,X=T.isValidElement(i)?i:l.jsx("span",{children:i}),te=io(),ee=er(),[W,V]=T.useState(),[pe,ue]=T.useState(null),he=T.useRef(!1),A=y||E,N=uo(),$=uo(),B=uo(),G=uo(),[q,oe]=bs({controlled:M,default:!1,name:"Tooltip",state:"open"});let z=q;if(process.env.NODE_ENV!=="production"){const{current:Be}=T.useRef(M!==void 0);T.useEffect(()=>{W&&W.disabled&&!Be&&O!==""&&W.tagName.toLowerCase()==="button"&&console.warn(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
197
+ `))},[O,W,Be])}const fe=Go(w),re=T.useRef(),ke=qt(()=>{re.current!==void 0&&(document.body.style.WebkitUserSelect=re.current,re.current=void 0),G.clear()});T.useEffect(()=>ke,[ke]);const je=Be=>{xp.clear(),Zs=!0,oe(!0),R&&!z&&R(Be)},be=qt(Be=>{xp.start(800+C,()=>{Zs=!1}),oe(!1),j&&z&&j(Be),N.start(te.transitions.duration.shortest,()=>{he.current=!1})}),Ee=Be=>{he.current&&Be.type!=="touchstart"||(W&&W.removeAttribute("title"),$.clear(),B.clear(),x||Zs&&b?$.start(Zs?b:x,()=>{je(Be)}):je(Be))},ze=Be=>{$.clear(),B.start(C,()=>{be(Be)})},[,Ze]=T.useState(!1),We=Be=>{const St=(Be==null?void 0:Be.target)??W;if(!St||!vr(St)){Ze(!1);const Se=Be??new Event("blur");!Be&&St&&(Object.defineProperty(Se,"target",{value:St}),Object.defineProperty(Se,"currentTarget",{value:St})),ze(Se)}},Te=Be=>{W||V(Be.currentTarget),vr(Be.target)&&(Ze(!0),Ee(Be))},xt=Be=>{he.current=!0;const St=X.props;St.onTouchStart&&St.onTouchStart(Be)},it=Be=>{xt(Be),B.clear(),N.clear(),ke(),re.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",G.start(k,()=>{document.body.style.WebkitUserSelect=re.current,Ee(Be)})},me=Be=>{X.props.onTouchEnd&&X.props.onTouchEnd(Be),ke(),B.start(S,()=>{be(Be)})};T.useEffect(()=>{if(!z)return;function Be(St){St.key==="Escape"&&be(St)}return document.addEventListener("keydown",Be),()=>{document.removeEventListener("keydown",Be)}},[be,z]);const ge=Mt(To(X),V,n);!O&&O!==0&&(z=!1);const Ie=T.useRef(),De=Be=>{const St=X.props;St.onMouseMove&&St.onMouseMove(Be),Gr={x:Be.clientX,y:Be.clientY},Ie.current&&Ie.current.update()},He={},Re=typeof O=="string";f?(He.title=!z&&Re&&!g?O:null,He["aria-describedby"]=z?fe:null):(He["aria-label"]=Re?O:null,He["aria-labelledby"]=z&&!Re?fe:null);const Ce={...He,...F,...X.props,className:ye(F.className,X.props.className),onTouchStart:xt,ref:ge,...E?{onMouseMove:De}:{}};process.env.NODE_ENV!=="production"&&(Ce["data-mui-internal-clone-element"]=!0,T.useEffect(()=>{W&&!W.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
198
+ `))},[W]));const Qe={};m||(Ce.onTouchStart=it,Ce.onTouchEnd=me),g||(Ce.onMouseOver=Qs(Ee,Ce.onMouseOver),Ce.onMouseLeave=Qs(ze,Ce.onMouseLeave),A||(Qe.onMouseOver=Ee,Qe.onMouseLeave=ze)),h||(Ce.onFocus=Qs(Te,Ce.onFocus),Ce.onBlur=Qs(We,Ce.onBlur),A||(Qe.onFocus=Te,Qe.onBlur=We)),process.env.NODE_ENV!=="production"&&X.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${X.props.title}\` or the Tooltip component.`].join(`
199
+ `));const Ke={...r,isRtl:ee,arrow:a,disableInteractive:A,placement:L,PopperComponentProp:H,touch:he.current},nt=typeof K.popper=="function"?K.popper(Ke):K.popper,At=T.useMemo(()=>{var St,Se;let Be=[{name:"arrow",enabled:!!pe,options:{element:pe,padding:4}}];return(St=U.popperOptions)!=null&&St.modifiers&&(Be=Be.concat(U.popperOptions.modifiers)),(Se=nt==null?void 0:nt.popperOptions)!=null&&Se.modifiers&&(Be=Be.concat(nt.popperOptions.modifiers)),{...U.popperOptions,...nt==null?void 0:nt.popperOptions,modifiers:Be}},[pe,U.popperOptions,nt==null?void 0:nt.popperOptions]),Zt=Kv(Ke),Qt=typeof K.transition=="function"?K.transition(Ke):K.transition,en={slots:{popper:u.Popper,transition:u.Transition??_,tooltip:u.Tooltip,arrow:u.Arrow,...v},slotProps:{arrow:K.arrow??p.arrow,popper:{...U,...nt??p.popper},tooltip:K.tooltip??p.tooltip,transition:{...Y,...Qt??p.transition}}},[Yt,rn]=Fe("popper",{elementType:Yv,externalForwardedProps:en,ownerState:Ke,className:ye(Zt.popper,U==null?void 0:U.className)}),[bn,st]=Fe("transition",{elementType:Tr,externalForwardedProps:en,ownerState:Ke}),[mt,we]=Fe("tooltip",{elementType:Xv,className:Zt.tooltip,externalForwardedProps:en,ownerState:Ke}),[Ue,ot]=Fe("arrow",{elementType:Jv,className:Zt.arrow,externalForwardedProps:en,ownerState:Ke,ref:ue});return l.jsxs(T.Fragment,{children:[T.cloneElement(X,Ce),l.jsx(Yt,{as:H??gc,placement:L,anchorEl:E?{getBoundingClientRect:()=>({top:Gr.y,left:Gr.x,right:Gr.x,bottom:Gr.y,width:0,height:0})}:W,popperRef:Ie,open:W?z:!1,id:fe,transition:!0,...Qe,...rn,popperOptions:At,children:({TransitionProps:Be})=>l.jsx(bn,{timeout:te.transitions.duration.shorter,...Be,...st,children:l.jsxs(mt,{...we,children:[O,a?l.jsx(Ue,{...ot}):null]})})})]})});process.env.NODE_ENV!=="production"&&(Ht.propTypes={arrow:o.bool,children:Co.isRequired,classes:o.object,className:o.string,components:o.shape({Arrow:o.elementType,Popper:o.elementType,Tooltip:o.elementType,Transition:o.elementType}),componentsProps:o.shape({arrow:o.object,popper:o.object,tooltip:o.object,transition:o.object}),describeChild:o.bool,disableFocusListener:o.bool,disableHoverListener:o.bool,disableInteractive:o.bool,disableTouchListener:o.bool,enterDelay:o.number,enterNextDelay:o.number,enterTouchDelay:o.number,followCursor:o.bool,id:o.string,leaveDelay:o.number,leaveTouchDelay:o.number,onClose:o.func,onOpen:o.func,open:o.bool,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:o.elementType,PopperProps:o.object,slotProps:o.shape({arrow:o.oneOfType([o.func,o.object]),popper:o.oneOfType([o.func,o.object]),tooltip:o.oneOfType([o.func,o.object]),transition:o.oneOfType([o.func,o.object])}),slots:o.shape({arrow:o.elementType,popper:o.elementType,tooltip:o.elementType,transition:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),title:o.node,TransitionComponent:o.elementType,TransitionProps:o.object});const Zv=Dt.styled(lc,{shouldForwardProp:e=>e!=="focusColor"})(({theme:e,focusColor:t="orange"})=>{const n=e.palette.mode==="dark",r=t==="orange"?de.orange.hex:de.blue.hex;return{"& .MuiOutlinedInput-root":{borderRadius:"8px",backgroundColor:n?"#1E293B":"#FFFFFF",fontFamily:e.typography.fontFamily,fontSize:"0.9375rem",transition:"all 0.2s ease","& fieldset":{borderColor:n?"#334155":"#CDCECB"},"&:hover fieldset":{borderColor:r},"&.Mui-focused fieldset":{borderColor:r,borderWidth:2,boxShadow:`0 0 0 3px ${t==="orange"?"rgba(245, 130, 32, 0.15)":"rgba(4, 59, 114, 0.15)"}`}},"& .MuiInputLabel-root":{fontFamily:e.typography.fontFamily,fontSize:"0.9375rem","&.Mui-focused":{color:r,fontWeight:600}}}}),Yo=({focusColor:e="orange",prefixIcon:t,onPrefixClick:n,prefixAriaLabel:r,suffixIcon:a,onSuffixClick:i,suffixAriaLabel:c,InputProps:u,...p})=>{let f=u==null?void 0:u.startAdornment;if(t){const g=n?l.jsx(Ht,{title:r||"",arrow:!0,disableHoverListener:!r,children:l.jsx(Ct,{onClick:n,edge:"start",size:"small","aria-label":r||"toggle prefix",sx:{p:.5,mr:.5,color:"text.secondary",transition:"color 0.2s ease, transform 0.15s ease","&:hover":{color:e==="orange"?de.orange.hex:de.blue.hex,transform:"scale(1.08)"}},children:t})}):l.jsx(J,{sx:{display:"flex",alignItems:"center",color:"text.secondary",mr:1},children:t});f=l.jsx(El,{position:"start",children:g})}let h=u==null?void 0:u.endAdornment;if(a){const g=i?l.jsx(Ht,{title:c||"",arrow:!0,disableHoverListener:!c,children:l.jsx(Ct,{onClick:i,edge:"end",size:"small","aria-label":c||"toggle suffix",sx:{p:.5,ml:.5,color:"text.secondary",transition:"color 0.2s ease, transform 0.15s ease","&:hover":{color:e==="orange"?de.orange.hex:de.blue.hex,transform:"scale(1.08)"}},children:a})}):l.jsx(J,{sx:{display:"flex",alignItems:"center",color:"text.secondary",ml:1},children:a});h=l.jsx(El,{position:"end",children:g})}return l.jsx(Zv,{variant:"outlined",focusColor:e,size:"small",InputProps:{...u,...f?{startAdornment:f}:{},...h?{endAdornment:h}:{}},...p})},Qv=Yo,ek=Q(l.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 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function tk(e){return _e("MuiAvatar",e)}Ne("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const nk=e=>{const{classes:t,variant:n,colorDefault:r}=e;return Me({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},tk,t)},ok=ce("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(Pe(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]}))),rk=ce("img",{name:"MuiAvatar",slot:"Img"})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),sk=ce(ek,{name:"MuiAvatar",slot:"Fallback"})({width:"75%",height:"75%"});function ak({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[a,i]=T.useState(!1);return T.useEffect(()=>{if(!n&&!r)return;i(!1);let c=!0;const u=new Image;return u.onload=()=>{c&&i("loaded")},u.onerror=()=>{c&&i("error")},u.crossOrigin=e,u.referrerPolicy=t,u.src=n,r&&(u.srcset=r),()=>{c=!1}},[e,t,n,r]),a}const Ud=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiAvatar"}),{alt:a,children:i,className:c,component:u="div",slots:p={},slotProps:f={},imgProps:h,sizes:g,src:y,srcSet:m,variant:x="circular",...b}=r;let k=null;const E={...r,component:u,variant:x},w=ak({...h,...typeof f.img=="function"?f.img(E):f.img,src:y,srcSet:m}),C=y||m,S=C&&w!=="error";E.colorDefault=!S,delete E.ownerState;const j=nk(E),[R,M]=Fe("root",{ref:n,className:ye(j.root,c),elementType:ok,externalForwardedProps:{slots:p,slotProps:f,component:u,...b},ownerState:E}),[L,H]=Fe("img",{className:j.img,elementType:rk,externalForwardedProps:{slots:p,slotProps:{img:{...h,...f.img}}},additionalProps:{alt:a,src:y,srcSet:m,sizes:g},ownerState:E}),[U,K]=Fe("fallback",{className:j.fallback,elementType:sk,externalForwardedProps:{slots:p,slotProps:f},shouldForwardComponentProp:!0,ownerState:E});return S?k=l.jsx(L,{...H}):i||i===0?k=i:C&&a?k=a[0]:k=l.jsx(U,{...K}),l.jsx(R,{...M,children:k})});process.env.NODE_ENV!=="production"&&(Ud.propTypes={alt:o.string,children:o.node,classes:o.object,className:o.string,component:o.elementType,imgProps:o.object,sizes:o.string,slotProps:o.shape({fallback:o.oneOfType([o.func,o.object]),img:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({fallback:o.elementType,img:o.elementType,root:o.elementType}),src:o.string,srcSet:o.string,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["circular","rounded","square"]),o.string])});function qd(e){const t=T.useRef({});return T.useEffect(()=>{t.current=e}),t.current}function ik(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:a=!1}=e,i=qd({badgeContent:t,max:r});let c=n;n===!1&&t===0&&!a&&(c=!0);const{badgeContent:u,max:p=r}=c?i:e,f=u&&Number(u)>p?`${p}+`:u;return{badgeContent:u,invisible:c,max:p,displayValue:f}}function lk(e){return _e("MuiBadge",e)}const ck=Ne("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),Zi=10,Qi=4,uk=e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:a,variant:i,classes:c={}}=e,u={root:["root"],badge:["badge",i,r&&"invisible",`anchorOrigin${se(n.vertical)}${se(n.horizontal)}`,`anchorOrigin${se(n.vertical)}${se(n.horizontal)}${se(a)}`,`overlap${se(a)}`,t!=="default"&&`color${se(t)}`]};return Me(u,lk,c)},pk=ce("span",{name:"MuiBadge",slot:"Root"})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),dk=ce("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${se(n.anchorOrigin.vertical)}${se(n.anchorOrigin.horizontal)}${se(n.overlap)}`],n.color!=="default"&&t[`color${se(n.color)}`],n.invisible&&t.invisible]}})(Pe(({theme:e})=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:Zi*2,lineHeight:1,padding:"0 6px",height:Zi*2,borderRadius:Zi,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.entries(e.palette).filter(Et(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText}})),{props:{variant:"dot"},style:{borderRadius:Qi,height:Qi*2,minWidth:Qi*2,padding:0}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}},{style:({ownerState:t})=>{const{vertical:n,horizontal:r}=t.anchorOrigin,a=t.overlap==="circular"?"14%":0;return{"--Badge-translateX":r==="right"?"50%":"-50%","--Badge-translateY":n==="top"?"-50%":"50%",top:n==="top"?a:"initial",bottom:n==="bottom"?a:"initial",right:r==="right"?a:"initial",left:r==="left"?a:"initial",transform:"scale(1) translate(var(--Badge-translateX), var(--Badge-translateY))",transformOrigin:`${r==="right"?"100%":"0%"} ${n==="top"?"0%":"100%"}`,[`&.${ck.invisible}`]:{transform:"scale(0) translate(var(--Badge-translateX), var(--Badge-translateY))"}}}}]})));function vp(e){return{vertical:(e==null?void 0:e.vertical)??"top",horizontal:(e==null?void 0:e.horizontal)??"right"}}const Gd=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiBadge"}),{anchorOrigin:a,className:i,classes:c,component:u,components:p={},componentsProps:f={},children:h,overlap:g="rectangular",color:y="default",invisible:m=!1,max:x=99,badgeContent:b,slots:k,slotProps:E,showZero:w=!1,variant:C="standard",...S}=r,{badgeContent:j,invisible:R,max:M,displayValue:L}=ik({max:x,invisible:m,badgeContent:b,showZero:w}),H=qd({anchorOrigin:vp(a),color:y,overlap:g,variant:C,badgeContent:b}),U=R||j==null&&C!=="dot",{color:K=y,overlap:v=g,anchorOrigin:O,variant:_=C}=U?H:r,Y=vp(O),F=_!=="dot"?L:void 0,X={...r,badgeContent:j,invisible:U,max:M,displayValue:F,showZero:w,anchorOrigin:Y,color:K,overlap:v,variant:_},te=uk(X),ee={slots:{root:(k==null?void 0:k.root)??p.Root,badge:(k==null?void 0:k.badge)??p.Badge},slotProps:{root:(E==null?void 0:E.root)??f.root,badge:(E==null?void 0:E.badge)??f.badge}},[W,V]=Fe("root",{elementType:pk,externalForwardedProps:{...ee,...S},ownerState:X,className:ye(te.root,i),ref:n,additionalProps:{as:u}}),[pe,ue]=Fe("badge",{elementType:dk,externalForwardedProps:ee,ownerState:X,className:te.badge});return l.jsxs(W,{...V,children:[h,l.jsx(pe,{...ue,children:F})]})});process.env.NODE_ENV!=="production"&&(Gd.propTypes={anchorOrigin:o.shape({horizontal:o.oneOf(["left","right"]),vertical:o.oneOf(["bottom","top"])}),badgeContent:o.node,children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["default","primary","secondary","error","info","success","warning"]),o.string]),component:o.elementType,components:o.shape({Badge:o.elementType,Root:o.elementType}),componentsProps:o.shape({badge:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),invisible:o.bool,max:o.number,overlap:o.oneOf(["circular","rectangular"]),showZero:o.bool,slotProps:o.shape({badge:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({badge:o.elementType,root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["dot","standard"]),o.string])});const fk=Dt.styled(Gd)(({status:e})=>({"& .MuiBadge-badge":{backgroundColor:(()=>{switch(e){case"online":return"#10B981";case"busy":return de.orange.hex;case"offline":default:return"#84888B"}})(),boxShadow:"0 0 0 2px #FFFFFF","&::after":e==="online"?{position:"absolute",top:0,left:0,width:"100%",height:"100%",borderRadius:"50%",animation:"ripple 1.2s infinite ease-in-out",border:"1px solid currentColor",content:'""'}:void 0},"@keyframes ripple":{"0%":{transform:"scale(.8)",opacity:1},"100%":{transform:"scale(2.4)",opacity:0}}})),po=({status:e,brandMonogram:t=!1,sx:n,children:r,...a})=>{const i=l.jsx(Ud,{sx:{backgroundColor:t?de.blue.hex:void 0,color:t?de.orange.hex:void 0,fontWeight:t?700:void 0,fontSize:"0.875rem",width:36,height:36,border:`2px solid ${t?de.orange.hex:"transparent"}`,...n},...a,children:r});return e?l.jsx(fk,{overlap:"circular",anchorOrigin:{vertical:"bottom",horizontal:"right"},variant:"dot",status:e,children:i}):i},hk=po;function mk(e){return _e("MuiDivider",e)}const kp=Ne("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),gk=e=>{const{absolute:t,children:n,classes:r,flexItem:a,light:i,orientation:c,textAlign:u,variant:p}=e;return Me({root:["root",t&&"absolute",p,i&&"light",c==="vertical"&&"vertical",a&&"flexItem",n&&"withChildren",n&&c==="vertical"&&"withChildrenVertical",u==="right"&&c!=="vertical"&&"textAlignRight",u==="left"&&c!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",c==="vertical"&&"wrapperVertical"]},mk,r)},bk=ce("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(Pe(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.alpha((e.vars||e).palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),yk=ce("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(Pe(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),ks=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiDivider"}),{absolute:a=!1,children:i,className:c,orientation:u="horizontal",component:p=i||u==="vertical"?"div":"hr",flexItem:f=!1,light:h=!1,role:g=p!=="hr"?"separator":void 0,textAlign:y="center",variant:m="fullWidth",...x}=r,b={...r,absolute:a,component:p,flexItem:f,light:h,orientation:u,role:g,textAlign:y,variant:m},k=gk(b);return l.jsx(bk,{as:p,className:ye(k.root,c),role:g,ref:n,ownerState:b,"aria-orientation":g==="separator"&&(p!=="hr"||u==="vertical")?u:void 0,...x,children:i?l.jsx(yk,{className:k.wrapper,ownerState:b,children:i}):null})});ks&&(ks.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(ks.propTypes={absolute:o.bool,children:o.node,classes:o.object,className:o.string,component:o.elementType,flexItem:o.bool,light:o.bool,orientation:o.oneOf(["horizontal","vertical"]),role:o.string,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),textAlign:o.oneOf(["center","left","right"]),variant:o.oneOfType([o.oneOf(["fullWidth","inset","middle"]),o.string])});const xk=Dt.styled(ks,{shouldForwardProp:e=>e!=="colorVariant"})(({theme:e,colorVariant:t="subtle"})=>{const n=e.palette.mode==="dark";return{borderColor:(()=>{switch(t){case"orange":return"#F58220";case"blue":return"#043B72";case"dark":return n?"#48535B":"#84888B";case"medium":return n?"#334155":"#CDCECB";case"subtle":default:return n?"#1E293B":"#ECEFF4"}})(),transition:"border-color 0.2s ease"}}),Vo=({colorVariant:e="subtle",...t})=>l.jsx(xk,{colorVariant:e,...t}),vk=Vo,kk=Dt.styled(({className:e,...t})=>l.jsx(Ht,{...t,classes:{popper:e}}))(({theme:e})=>({[`& .${Tt.tooltip}`]:{backgroundColor:de.blue.hex,color:"#FFFFFF",boxShadow:"0 4px 12px rgba(4, 59, 114, 0.25)",fontSize:"0.75rem",fontWeight:500,borderRadius:"6px",padding:"6px 12px",fontFamily:e.typography.fontFamily,border:"1px solid rgba(245, 130, 32, 0.3)"},[`& .${Tt.arrow}`]:{color:de.blue.hex}})),Rr=e=>l.jsx(kk,{arrow:!0,...e}),Sk=Rr,Sp={horizontal:{title:"Logo Horizontal Resmi",badge:'variant="horizontal"',description:'Monogram "M" dua warna dengan wordmark MIRAE ASSET Sekuritas Indonesia.',specs:[{label:"Penempatan",value:"Header, Navbar & Kop Surat"},{label:"Format",value:"Vektor SVG Resmi"},{label:"Warna Brand",value:"Navy #043B72 & Orange #F58220"}]},stacked:{title:"Logo Stacked / Vertikal",badge:'variant="stacked"',description:'Monogram "M" di atas wordmark brand dalam tata letak vertikal terpusat.',specs:[{label:"Penempatan",value:"Splash Screen, Login & Profil"},{label:"Format",value:"Vektor SVG Resmi"},{label:"Orientasi",value:"Vertikal Simetris"}]},symbol:{title:"Monogram Simbol Resmi",badge:'variant="symbol"',description:'Simbol monogram "M" resmi dua warna tanpa wordmark teks.',specs:[{label:"Penempatan",value:"Favicon, Avatar & Compact Space"},{label:"Format",value:"Vektor SVG Resmi"},{label:"Dimensi",value:"Rasio Monogram 1.3:1"}]},mstock:{title:"Logo Aplikasi m.Stock",badge:'variant="mstock"',description:"Ikon kartu sudut membulat resmi aplikasi trading mobile m.Stock.",specs:[{label:"Penempatan",value:"Aplikasi Mobile & Integrasi Ekosistem"},{label:"Format",value:"Vektor SVG Resmi"},{label:"Style",value:"Rounded App Card (Corner Radius 7px)"}]}},Tk=Dt.styled(({className:e,...t})=>l.jsx(Ht,{...t,classes:{popper:e}}))(({theme:e})=>({[`& .${Tt.tooltip}`]:{backgroundColor:"#043B72",color:"#FFFFFF",boxShadow:"0 12px 32px rgba(4, 59, 114, 0.4), 0 4px 12px rgba(0, 0, 0, 0.25)",borderRadius:"10px",padding:"12px 16px",maxWidth:340,border:"1px solid rgba(245, 130, 32, 0.55)",fontFamily:e.typography.fontFamily},[`& .${Tt.arrow}`]:{color:"#043B72","&::before":{border:"1px solid rgba(245, 130, 32, 0.55)"}}})),zn=xe.forwardRef(({variant:e="horizontal",height:t=36,showVariantInfo:n=!0,infoPlacement:r="bottom",infoContent:a,sx:i,...c},u)=>{const f=Dt.useTheme().palette.mode==="dark",h=l.jsxs("svg",{width:"34",height:"26",viewBox:"0 0 26 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{display:"block",flexShrink:0},children:[l.jsx("mask",{id:"mask0_mirae_m",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"26",height:"20",children:l.jsx("path",{d:"M13.4867 11.4554C13.4867 11.4554 18.1397 0.917269 18.4983 0H25.5C25.5055 1.40184 24.5723 18.5871 24.5778 20H19.544L20.3781 5.99591C20.3781 5.99591 14.7084 19.1125 14.3308 20H10.3539L8.57198 5.99591C8.435 6.6295 6.55289 15.9887 5.52496 20H0.5C1.02232 18.2129 4.85674 1.02875 5.16189 0H11.9008L13.4867 11.4554Z",fill:"white"})}),l.jsxs("g",{mask:"url(#mask0_mirae_m)",children:[l.jsx("path",{d:"M25.75 8.5L1.75 11.25L4.75 -0.25H26L25.75 8.5Z",fill:"#043B72"}),l.jsx("path",{d:"M25.75 5L2.75 7.25L-0.25 20.5H25.5L25.75 5Z",fill:"#F58220"})]})]}),g=l.jsxs("svg",{width:typeof t=="number"?t*1.1:40,height:typeof t=="number"?t*1.1:40,viewBox:"0 0 86 86",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{display:"block",flexShrink:0},children:[l.jsxs("g",{clipPath:"url(#clip0_mstock)",children:[l.jsx("path",{d:"M77.7676 17.6584C77.7676 10.2083 71.7143 4.15503 64.2642 4.15503H21.5552C14.105 4.15503 8.05176 10.2083 8.05176 17.6584V54.4953H77.7935V17.6584H77.7676Z",fill:"white"}),l.jsx("path",{d:"M21.5552 73.8967H64.2901C71.7402 73.8967 77.7935 67.8434 77.7935 60.3933V54.4952H8.05176V60.3933C8.05176 67.8434 14.0791 73.8967 21.5552 73.8967Z",fill:"#F58220"}),l.jsx("path",{d:"M43.5692 33.5158C43.5692 33.5158 50.7348 17.1152 51.3039 15.6924H62.0911C62.0911 17.8653 60.6683 44.5876 60.6683 46.7864H52.9077L54.2011 25.0051C54.2011 25.0051 45.4576 45.3895 44.8885 46.7864H38.7576L36.0155 25.0051C35.8086 25.9881 32.9113 40.5521 31.3074 46.7864H23.5469C24.3488 44.0185 30.2727 17.2704 30.7383 15.6924H41.1116L43.5692 33.5158Z",fill:"#F58220"}),l.jsx("path",{d:"M27.0911 68.4902C26.522 68.4902 25.9787 68.3867 25.4355 68.1798C24.8922 67.9728 24.4266 67.6624 24.0386 67.2744L24.9957 66.1103C25.3061 66.3948 25.6424 66.6018 26.0046 66.7829C26.3667 66.9639 26.7548 67.0415 27.1169 67.0415C27.5567 67.0415 27.893 66.9639 28.0999 66.7829C28.3328 66.6018 28.4362 66.369 28.4362 66.0844C28.4362 65.9292 28.4104 65.7999 28.3328 65.6964C28.281 65.5929 28.1775 65.4894 28.0741 65.4118C27.9706 65.3342 27.8413 65.2566 27.686 65.179C27.5308 65.1014 27.3498 65.0238 27.1687 64.9462L26.0563 64.4806C25.8494 64.4029 25.6424 64.2736 25.4355 64.1443C25.2285 64.0149 25.0474 63.8597 24.8922 63.6786C24.737 63.4975 24.6077 63.2906 24.5042 63.0578C24.4007 62.825 24.349 62.5404 24.349 62.23C24.349 61.8937 24.4266 61.5833 24.5559 61.2728C24.6853 60.9624 24.8922 60.7296 25.1509 60.4968C25.4096 60.2898 25.72 60.1088 26.0563 59.9794C26.4185 59.8501 26.8065 59.7983 27.2204 59.7983C27.7119 59.7983 28.1775 59.9018 28.6432 60.0829C29.1088 60.264 29.4968 60.5227 29.8331 60.8848L28.9795 61.9454C28.7208 61.7385 28.4362 61.5574 28.1517 61.4281C27.8671 61.2987 27.5567 61.247 27.1945 61.247C26.8324 61.247 26.522 61.3246 26.315 61.4798C26.1081 61.635 25.9787 61.842 25.9787 62.1265C25.9787 62.2817 26.0046 62.4111 26.0822 62.5145C26.1598 62.618 26.2374 62.7215 26.3667 62.7991C26.4961 62.8767 26.6254 62.9543 26.7806 63.0319C26.9359 63.1095 27.1169 63.1613 27.298 63.2389L28.4104 63.7045C28.6691 63.808 28.9019 63.9373 29.1088 64.0667C29.3158 64.196 29.4968 64.3512 29.6521 64.5323C29.8073 64.7134 29.9107 64.9203 29.9883 65.1531C30.066 65.386 30.1177 65.6705 30.1177 65.9551C30.1177 66.2914 30.0401 66.6276 29.9107 66.9381C29.7814 67.2485 29.5745 67.5072 29.3158 67.74C29.0571 67.9728 28.7208 68.1539 28.3586 68.2832C27.9965 68.4126 27.5567 68.4902 27.0911 68.4902Z",fill:"white"}),l.jsx("path",{d:"M33.2735 61.3505H30.9194V59.9536H37.309V61.3505H34.9291V68.3092H33.2735V61.3505Z",fill:"white"}),l.jsx("path",{d:"M41.8618 68.4902C41.2927 68.4902 40.8012 68.3867 40.3355 68.1798C39.8699 67.9728 39.4819 67.6883 39.1456 67.3002C38.8093 66.9122 38.5506 66.4724 38.3695 65.9292C38.1884 65.386 38.1108 64.791 38.1108 64.0925C38.1108 63.4199 38.1884 62.7991 38.3695 62.2817C38.5506 61.7385 38.8093 61.2987 39.1456 60.9366C39.4819 60.5744 39.8699 60.2898 40.3355 60.0829C40.8012 59.9018 41.2927 59.7983 41.8618 59.7983C42.405 59.7983 42.9224 59.9018 43.388 60.0829C43.8537 60.2898 44.2417 60.5485 44.578 60.9366C44.9143 61.2987 45.173 61.7644 45.354 62.2817C45.5351 62.7991 45.6127 63.4199 45.6127 64.0925C45.6127 64.7651 45.5093 65.386 45.354 65.9292C45.173 66.4724 44.9143 66.9381 44.578 67.3002C44.2417 67.6883 43.8537 67.9728 43.388 68.1798C42.9224 68.3867 42.4309 68.4902 41.8618 68.4902ZM41.8618 67.0415C42.1722 67.0415 42.4568 66.9639 42.7154 66.8346C42.9741 66.7053 43.1811 66.4983 43.3622 66.2396C43.5432 65.9809 43.6726 65.6705 43.7761 65.3083C43.8795 64.9462 43.9054 64.5323 43.9054 64.0925C43.9054 63.1871 43.7243 62.4887 43.3622 61.9713C43 61.4539 42.5085 61.2211 41.8877 61.2211C41.2668 61.2211 40.7753 61.4798 40.4131 61.9713C40.051 62.4887 39.8699 63.1871 39.8699 64.0925C39.8699 64.5323 39.9216 64.9462 39.9992 65.3083C40.1027 65.6705 40.2321 65.9809 40.4131 66.2396C40.5942 66.4983 40.8012 66.6794 41.0599 66.8346C41.2927 66.9639 41.5514 67.0415 41.8618 67.0415Z",fill:"white"}),l.jsx("path",{d:"M50.8901 68.4902C50.3727 68.4902 49.8553 68.3867 49.3897 68.2056C48.9241 68.0246 48.5102 67.74 48.1739 67.3778C47.8376 67.0157 47.553 66.5759 47.3461 66.0327C47.1391 65.4894 47.0356 64.8686 47.0356 64.1701C47.0356 63.4717 47.1391 62.8767 47.3461 62.3335C47.553 61.7902 47.8376 61.3246 48.1997 60.9624C48.5619 60.5744 48.9758 60.2899 49.4414 60.1088C49.9071 59.9018 50.4244 59.8242 50.9418 59.8242C51.485 59.8242 51.9507 59.9277 52.3646 60.1346C52.7785 60.3416 53.1148 60.6003 53.3993 60.8848L52.5198 61.9454C52.3128 61.7385 52.08 61.5833 51.8213 61.4539C51.5626 61.3246 51.2781 61.247 50.9677 61.247C50.6572 61.247 50.3468 61.3246 50.0881 61.4539C49.8295 61.5833 49.5708 61.7644 49.3897 62.023C49.1827 62.2817 49.0275 62.5663 48.9241 62.9284C48.8206 63.2906 48.743 63.6786 48.743 64.1443C48.743 64.584 48.7947 64.9979 48.8982 65.3601C49.0017 65.7223 49.1569 66.0327 49.338 66.2914C49.519 66.55 49.7518 66.7311 50.0364 66.8605C50.2951 66.9898 50.6055 67.0674 50.9418 67.0674C51.304 67.0674 51.6144 66.9898 51.8989 66.8346C52.1835 66.6794 52.4422 66.4724 52.6491 66.2396L53.5287 67.2744C53.1924 67.6883 52.7785 67.9987 52.3387 68.2056C51.9248 68.3867 51.4333 68.4902 50.8901 68.4902Z",fill:"white"}),l.jsx("path",{d:"M55.1328 59.9536H56.8143V63.5752H56.8401L59.6081 59.9536H61.4447L58.9096 63.2389L61.9104 68.3092H60.0737L57.9008 64.5582L56.8143 65.981V68.3092H55.1328V59.9536Z",fill:"white"})]}),l.jsx("defs",{children:l.jsx("clipPath",{id:"clip0_mstock",children:l.jsx("rect",{x:"8",y:"4",width:"70",height:"70",rx:"7",fill:"white"})})})]}),y=Sp[e]||Sp.horizontal,m=a||l.jsxs(J,{sx:{display:"flex",flexDirection:"column",gap:1,p:.5,minWidth:260},children:[l.jsxs(J,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:1.5},children:[l.jsx(ne,{sx:{fontWeight:800,fontSize:"0.875rem",color:"#FFFFFF",letterSpacing:"0.01em"},children:y.title}),l.jsx(J,{sx:{px:.8,py:.25,bgcolor:"rgba(245, 130, 32, 0.25)",border:"1px solid rgba(245, 130, 32, 0.7)",borderRadius:"4px",fontFamily:"monospace",fontSize:"0.6875rem",fontWeight:700,color:"#FFA500",whiteSpace:"nowrap"},children:y.badge})]}),l.jsx(ne,{sx:{fontSize:"0.75rem",color:"rgba(255, 255, 255, 0.92)",lineHeight:1.45},children:y.description}),l.jsx(J,{sx:{display:"flex",flexDirection:"column",gap:.5,pt:1,borderTop:"1px solid rgba(255, 255, 255, 0.15)"},children:y.specs.map((b,k)=>l.jsxs(J,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:1},children:[l.jsxs(ne,{sx:{fontSize:"0.6875rem",color:"#94A3B8",fontWeight:500},children:[b.label,":"]}),l.jsx(ne,{sx:{fontSize:"0.6875rem",color:"#F1F5F9",fontWeight:600},children:b.value})]},k))})]});let x;return e==="mstock"?x=l.jsx(J,{ref:u,role:"img","aria-label":`Logo Mirae Asset Sekuritas variant ${e}`,tabIndex:0,sx:{display:"inline-flex",alignItems:"center",cursor:"pointer",outline:"none",borderRadius:"8px",transition:"transform 0.15s ease, filter 0.15s ease","&:hover, &:focus-visible":{transform:"scale(1.05)",filter:"drop-shadow(0 4px 12px rgba(245, 130, 32, 0.3))"},...i},...c,children:g}):e==="symbol"?x=l.jsx(J,{ref:u,role:"img","aria-label":`Logo Mirae Asset Sekuritas variant ${e}`,tabIndex:0,sx:{display:"inline-flex",alignItems:"center",cursor:"pointer",outline:"none",borderRadius:"4px",transition:"transform 0.15s ease, filter 0.15s ease","&:hover, &:focus-visible":{transform:"scale(1.06)",filter:"drop-shadow(0 2px 8px rgba(4, 59, 114, 0.3))"},...i},...c,children:h}):x=l.jsxs(J,{ref:u,role:"img","aria-label":`Logo Mirae Asset Sekuritas variant ${e}`,tabIndex:0,sx:{display:"inline-flex",alignItems:"center",flexDirection:e==="stacked"?"column":"row",gap:e==="stacked"?1:1.5,cursor:"pointer",userSelect:"none",outline:"none",borderRadius:"6px",transition:"opacity 0.15s ease","&:hover, &:focus-visible":{opacity:.9},...i},...c,children:[h,l.jsxs(J,{sx:{textAlign:e==="stacked"?"center":"left"},children:[l.jsxs(J,{sx:{display:"flex",alignItems:"baseline",gap:.6,lineHeight:1,letterSpacing:"0.04em"},children:[l.jsx(ne,{component:"span",sx:{fontWeight:900,fontSize:"1.25rem",color:f?"#FFFFFF":de.blue.hex,fontFamily:"'Spoqa Han Sans Neo', sans-serif",letterSpacing:"0.02em",lineHeight:1},children:"MIRAE"}),l.jsx(ne,{component:"span",sx:{fontWeight:900,fontSize:"1.25rem",color:de.orange.hex,fontFamily:"'Spoqa Han Sans Neo', sans-serif",letterSpacing:"0.02em",lineHeight:1},children:"ASSET"})]}),l.jsx(ne,{sx:{fontWeight:700,fontSize:"0.625rem",letterSpacing:"0.14em",textTransform:"uppercase",color:f?"#CBD5E1":"#48535B",lineHeight:1.4,display:"block",fontFamily:"'Spoqa Han Sans Neo', sans-serif"},children:"Sekuritas Indonesia"})]})]}),n?l.jsx(Tk,{title:m,placement:r,arrow:!0,enterDelay:0,leaveDelay:150,children:x}):x});zn.displayName="MSSekuritasLogo";const Ck=zn,bc=Q(l.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search"),wk=Q(l.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear"),Tp=Ne("MuiListItemIcon",["root","alignItemsFlexStart"]),Cp=Ne("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function Ik(e){return _e("MuiMenuItem",e)}const Kr=Ne("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);function Ek(e,t){if(t==null){e.focus();return}try{e.focus({focusVisible:t==="keyboard"})}catch{e.focus()}}const jk=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Rk=e=>{const{disabled:t,dense:n,divider:r,disableGutters:a,selected:i,classes:c}=e,p=Me({root:["root",n&&"dense",t&&"disabled",!a&&"gutters",r&&"divider",i&&"selected"]},Ik,c);return{...c,...p}},Ok=ce(wn,{shouldForwardProp:e=>on(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:jk})(Pe(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Kr.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${Kr.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${Kr.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${Kr.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Kr.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${kp.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${kp.inset}`]:{marginLeft:52},[`& .${Cp.root}`]:{marginTop:0,marginBottom:0},[`& .${Cp.inset}`]:{paddingLeft:36},[`& .${Tp.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${Tp.root} svg`]:{fontSize:"1.25rem"}}}]}))),hi=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiMenuItem"}),{autoFocus:a=!1,component:i="li",dense:c=!1,divider:u=!1,disableGutters:p=!1,focusVisibleClassName:f,role:h="menuitem",tabIndex:g,className:y,...m}=r,x=u2(),b=T.useContext(wa),k=T.useMemo(()=>({dense:c||b.dense||!1,disableGutters:p}),[b.dense,c,p]),E=T.useRef(null);fn(()=>{a&&(E.current?Ek(E.current,x):process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."))},[a]);const w={...r,dense:k.dense,divider:u,disableGutters:p},C=Rk(r),S=Mt(E,n),{root:j,...R}=C;let M;return r.disabled||(M=g!==void 0?g:-1),l.jsx(wa.Provider,{value:k,children:l.jsx(Ok,{ref:S,role:h,tabIndex:M,component:i,focusVisibleClassName:ye(C.focusVisible,f),className:ye(C.root,y),...m,ownerState:w,classes:R})})});process.env.NODE_ENV!=="production"&&(hi.propTypes={autoFocus:o.bool,children:o.node,classes:o.object,className:o.string,component:o.elementType,dense:o.bool,disabled:o.bool,disableGutters:o.bool,divider:o.bool,focusVisibleClassName:o.string,role:o.string,selected:o.bool,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),tabIndex:o.number});const Xo=({placeholder:e="Search components, guidelines...",categories:t=["All","Atoms","Molecules"],onSearch:n})=>{const[r,a]=xe.useState(""),[i,c]=xe.useState(t[0]||"All"),u=()=>{a(""),n==null||n("",i)},p=f=>{f.preventDefault(),n==null||n(r,i)};return l.jsxs(J,{component:"form",onSubmit:p,sx:{display:"flex",alignItems:"center",backgroundColor:f=>f.palette.mode==="dark"?"#1E293B":"#FFFFFF",border:"1.5px solid",borderColor:f=>f.palette.mode==="dark"?"#334155":"#ECEFF4",borderRadius:3,padding:"4px 8px",boxShadow:"0 2px 6px rgba(4, 59, 114, 0.04)",transition:"all 0.2s ease","&:focus-within":{borderColor:de.orange.hex,boxShadow:"0 0 0 3px rgba(245, 130, 32, 0.15)"}},children:[t.length>0&&l.jsx(Fr,{value:i,onChange:f=>c(f.target.value),size:"small",variant:"standard",disableUnderline:!0,sx:{fontSize:"0.8125rem",fontWeight:600,color:"text.secondary",mr:1,pl:1,borderRight:"1px solid",borderColor:"divider",pr:1,"& .MuiSelect-select":{paddingRight:"24px !important"}},children:t.map(f=>l.jsx(hi,{value:f,sx:{fontSize:"0.8125rem"},children:f},f))}),l.jsx(bc,{sx:{color:"text.secondary",mr:1,fontSize:20}}),l.jsx(Mr,{value:r,onChange:f=>{a(f.target.value),n==null||n(f.target.value,i)},placeholder:e,sx:{flex:1,fontSize:"0.9375rem"}}),r&&l.jsx(Ct,{size:"small",onClick:u,sx:{color:"text.secondary",p:.5},children:l.jsx(wk,{fontSize:"small"})})]})},Pk=Xo,Wo=({label:e,required:t=!1,hint:n,errorMessage:r,...a})=>{const i=!!r;return l.jsxs(J,{sx:{display:"flex",flexDirection:"column",gap:.75,width:"100%"},children:[l.jsxs(ne,{variant:"body2",sx:{fontWeight:600,color:"text.primary"},children:[e,t&&l.jsx(J,{component:"span",sx:{color:"error.main",ml:.5},children:"*"})]}),l.jsx(Yo,{error:i,...a}),(r||n)&&l.jsx(ne,{variant:"caption",sx:{color:i?"error.main":"text.secondary",fontSize:"0.75rem",mt:-.25},children:r||n})]})},Ak=Wo,Kd=Q(l.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Ol=Q(l.jsx("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"InfoOutlined"),_k=Q(l.jsx("path",{d:"M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"CheckCircleOutline"),Nk=Q([l.jsx("path",{d:"M12 5.99 19.53 19H4.47zM12 2 1 21h22z"},"0"),l.jsx("path",{d:"M13 16h-2v2h2zm0-6h-2v5h2z"},"1")],"WarningAmber"),Pl=Q(l.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.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"}),"ErrorOutline"),Ho=({type:e="orange",title:t,message:n,actionText:r,onAction:a,onClose:i})=>{const u=(()=>{switch(e){case"orange":return{bg:"#FFF7ED",border:de.orange.hex,color:"#9A3412",icon:l.jsx(Ol,{sx:{color:de.orange.hex}}),actionVariant:"primary"};case"blue":return{bg:"#F0F7FF",border:de.blue.hex,color:"#073663",icon:l.jsx(Ol,{sx:{color:de.blue.hex}}),actionVariant:"secondary"};case"success":return{bg:"#ECFDF5",border:"#10B981",color:"#065F46",icon:l.jsx(_k,{sx:{color:"#10B981"}}),actionVariant:"primary"};case"warning":return{bg:"#FFFBEB",border:"#F59E0B",color:"#92400E",icon:l.jsx(Nk,{sx:{color:"#F59E0B"}}),actionVariant:"primary"};case"error":return{bg:"#FEF2F2",border:"#EF4444",color:"#991B1B",icon:l.jsx(Pl,{sx:{color:"#EF4444"}}),actionVariant:"primary"}}})();return l.jsxs(J,{sx:{display:"flex",alignItems:"flex-start",gap:2,p:2,borderRadius:2.5,backgroundColor:u.bg,border:"1px solid",borderColor:u.border,color:u.color},children:[l.jsx(J,{sx:{mt:.25},children:u.icon}),l.jsxs(J,{sx:{flex:1},children:[l.jsx(ne,{variant:"subtitle2",sx:{fontWeight:700,color:"inherit"},children:t}),n&&l.jsx(ne,{variant:"body2",sx:{mt:.5,color:"inherit",opacity:.9},children:n}),r&&a&&l.jsx(J,{sx:{mt:1.5},children:l.jsx(Wt,{size:"small",brandVariant:u.actionVariant,onClick:a,children:r})})]}),i&&l.jsx(Ct,{size:"small",onClick:i,sx:{color:"inherit",opacity:.7},children:l.jsx(Kd,{fontSize:"small"})})]})},Mk=Ho;function Bk(e){return _e("MuiCard",e)}Ne("MuiCard",["root"]);const Fk=e=>{const{classes:t}=e;return Me({root:["root"]},Bk,t)},Lk=ce(Br,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),Xt=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiCard"}),{className:a,raised:i=!1,...c}=r,u={...r,raised:i},p=Fk(u);return l.jsx(Lk,{className:ye(p.root,a),elevation:i?8:void 0,ref:n,ownerState:u,...c})});process.env.NODE_ENV!=="production"&&(Xt.propTypes={children:o.node,classes:o.object,className:o.string,raised:Cn(o.bool,e=>e.raised&&e.variant==="outlined"?new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.'):null),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const yc=T.createContext();process.env.NODE_ENV!=="production"&&(yc.displayName="TableContext");function $k(e){return _e("MuiTable",e)}Ne("MuiTable",["root","stickyHeader"]);const Dk=e=>{const{classes:t,stickyHeader:n}=e;return Me({root:["root",n&&"stickyHeader"]},$k,t)},zk=ce("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(Pe(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:t})=>t.stickyHeader,style:{borderCollapse:"separate"}}]}))),wp="table",mi=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiTable"}),{className:a,component:i=wp,padding:c="normal",size:u="medium",stickyHeader:p=!1,...f}=r,h={...r,component:i,padding:c,size:u,stickyHeader:p},g=Dk(h),y=T.useMemo(()=>({padding:c,size:u,stickyHeader:p}),[c,u,p]);return l.jsx(yc.Provider,{value:y,children:l.jsx(zk,{as:i,role:i===wp?null:"table",ref:n,className:ye(g.root,a),ownerState:h,...f})})});process.env.NODE_ENV!=="production"&&(mi.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,padding:o.oneOf(["checkbox","none","normal"]),size:o.oneOfType([o.oneOf(["medium","small"]),o.string]),stickyHeader:o.bool,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const $s=T.createContext();process.env.NODE_ENV!=="production"&&($s.displayName="Tablelvl2Context");function Vk(e){return _e("MuiTableBody",e)}Ne("MuiTableBody",["root"]);const Wk=e=>{const{classes:t}=e;return Me({root:["root"]},Vk,t)},Hk=ce("tbody",{name:"MuiTableBody",slot:"Root"})({display:"table-row-group"}),Uk={variant:"body"},Ip="tbody",gi=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiTableBody"}),{className:a,component:i=Ip,...c}=r,u={...r,component:i},p=Wk(u);return l.jsx($s.Provider,{value:Uk,children:l.jsx(Hk,{className:ye(p.root,a),as:i,ref:n,role:i===Ip?null:"rowgroup",ownerState:u,...c})})});process.env.NODE_ENV!=="production"&&(gi.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function qk(e){return _e("MuiTableCell",e)}const Gk=Ne("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),Kk=e=>{const{classes:t,variant:n,align:r,padding:a,size:i,stickyHeader:c}=e,u={root:["root",n,c&&"stickyHeader",r!=="inherit"&&`align${se(r)}`,a!=="normal"&&`padding${se(a)}`,`size${se(i)}`]};return Me(u,qk,t)},Yk=ce("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${se(n.size)}`],n.padding!=="normal"&&t[`padding${se(n.padding)}`],n.align!=="inherit"&&t[`align${se(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(Pe(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid
200
+ ${e.palette.mode==="light"?e.lighten(e.alpha(e.palette.divider,1),.88):e.darken(e.alpha(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${Gk.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),kt=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiTableCell"}),{align:a="inherit",className:i,component:c,padding:u,scope:p,size:f,sortDirection:h,variant:g,...y}=r,m=T.useContext(yc),x=T.useContext($s),b=x&&x.variant==="head";let k;c?k=c:k=b?"th":"td";let E=p;k==="td"?E=void 0:!E&&b&&(E="col");const w=g||x&&x.variant,C={...r,align:a,component:k,padding:u||(m&&m.padding?m.padding:"normal"),size:f||(m&&m.size?m.size:"medium"),sortDirection:h,stickyHeader:w==="head"&&m&&m.stickyHeader,variant:w},S=Kk(C);let j=null;return h&&(j=h==="asc"?"ascending":"descending"),l.jsx(Yk,{as:k,ref:n,className:ye(S.root,i),"aria-sort":j,scope:E,ownerState:C,...y})});process.env.NODE_ENV!=="production"&&(kt.propTypes={align:o.oneOf(["center","inherit","justify","left","right"]),children:o.node,classes:o.object,className:o.string,component:o.elementType,padding:o.oneOf(["checkbox","none","normal"]),scope:o.string,size:o.oneOfType([o.oneOf(["medium","small"]),o.string]),sortDirection:o.oneOf(["asc","desc",!1]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["body","footer","head"]),o.string])});function Xk(e){return _e("MuiTableContainer",e)}Ne("MuiTableContainer",["root"]);const Jk=e=>{const{classes:t}=e;return Me({root:["root"]},Xk,t)},Zk=ce("div",{name:"MuiTableContainer",slot:"Root"})({width:"100%",overflowX:"auto"}),bi=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiTableContainer"}),{className:a,component:i="div",...c}=r,u={...r,component:i},p=Jk(u);return l.jsx(Zk,{ref:n,as:i,className:ye(p.root,a),ownerState:u,...c})});process.env.NODE_ENV!=="production"&&(bi.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function Qk(e){return _e("MuiTableHead",e)}Ne("MuiTableHead",["root"]);const e5=e=>{const{classes:t}=e;return Me({root:["root"]},Qk,t)},t5=ce("thead",{name:"MuiTableHead",slot:"Root"})({display:"table-header-group"}),n5={variant:"head"},Ep="thead",yi=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiTableHead"}),{className:a,component:i=Ep,...c}=r,u={...r,component:i},p=e5(u);return l.jsx($s.Provider,{value:n5,children:l.jsx(t5,{as:i,className:ye(p.root,a),ref:n,role:i===Ep?null:"rowgroup",ownerState:u,...c})})});process.env.NODE_ENV!=="production"&&(yi.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function o5(e){return _e("MuiTableRow",e)}const jp=Ne("MuiTableRow",["root","selected","hover","head","footer"]),r5=e=>{const{classes:t,selected:n,hover:r,head:a,footer:i}=e;return Me({root:["root",n&&"selected",r&&"hover",a&&"head",i&&"footer"]},o5,t)},s5=ce("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(Pe(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${jp.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${jp.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)}}}))),Rp="tr",Qn=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiTableRow"}),{className:a,component:i=Rp,hover:c=!1,selected:u=!1,...p}=r,f=T.useContext($s),h={...r,component:i,hover:c,selected:u,head:f&&f.variant==="head",footer:f&&f.variant==="footer"},g=r5(h);return l.jsx(s5,{as:i,ref:n,className:ye(g.root,a),role:i===Rp?null:"row",ownerState:h,...p})});process.env.NODE_ENV!=="production"&&(Qn.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,hover:o.bool,selected:o.bool,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function a5(e){return _e("MuiToolbar",e)}Ne("MuiToolbar",["root","gutters","regular","dense"]);const i5=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Me({root:["root",!n&&"gutters",r]},a5,t)},l5=ce("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(Pe(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),xc=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiToolbar"}),{className:a,component:i="div",disableGutters:c=!1,variant:u="regular",...p}=r,f={...r,component:i,disableGutters:c,variant:u},h=i5(f);return l.jsx(l5,{as:i,className:ye(h.root,a),ref:n,ownerState:f,...p})});process.env.NODE_ENV!=="production"&&(xc.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,disableGutters:o.bool,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["dense","regular"]),o.string])});const Yd=Q(l.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),Xd=Q(l.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),c5=Q(l.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),u5=Q(l.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage");function p5(e){return _e("MuiTablePaginationActions",e)}Ne("MuiTablePaginationActions",["root"]);const d5=e=>{const{classes:t}=e;return Me({root:["root"]},p5,t)},f5=ce("div",{name:"MuiTablePaginationActions",slot:"Root"})({}),Jd=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiTablePaginationActions"}),{backIconButtonProps:a,className:i,count:c,disabled:u=!1,getItemAriaLabel:p,nextIconButtonProps:f,onPageChange:h,page:g,rowsPerPage:y,showFirstButton:m,showLastButton:x,slots:b={},slotProps:k={},...E}=r,w=er(),S=d5(r),j=A=>{h(A,0)},R=A=>{h(A,g-1)},M=A=>{h(A,g+1)},L=A=>{h(A,Math.max(0,Math.ceil(c/y)-1))},H=b.firstButton??Ct,U=b.lastButton??Ct,K=b.nextButton??Ct,v=b.previousButton??Ct,O=b.firstButtonIcon??u5,_=b.lastButtonIcon??c5,Y=b.nextButtonIcon??Xd,F=b.previousButtonIcon??Yd,X=w?U:H,te=w?K:v,ee=w?v:K,W=w?H:U,V=w?k.lastButton:k.firstButton,pe=w?k.nextButton:k.previousButton,ue=w?k.previousButton:k.nextButton,he=w?k.firstButton:k.lastButton;return l.jsxs(f5,{ref:n,className:ye(S.root,i),...E,children:[m&&l.jsx(X,{onClick:j,disabled:u||g===0,"aria-label":p("first",g),title:p("first",g),...V,children:w?l.jsx(_,{...k.lastButtonIcon}):l.jsx(O,{...k.firstButtonIcon})}),l.jsx(te,{onClick:R,disabled:u||g===0,color:"inherit","aria-label":p("previous",g),title:p("previous",g),...pe??a,children:w?l.jsx(Y,{...k.nextButtonIcon}):l.jsx(F,{...k.previousButtonIcon})}),l.jsx(ee,{onClick:M,disabled:u||(c!==-1?g>=Math.ceil(c/y)-1:!1),color:"inherit","aria-label":p("next",g),title:p("next",g),...ue??f,children:w?l.jsx(F,{...k.previousButtonIcon}):l.jsx(Y,{...k.nextButtonIcon})}),x&&l.jsx(W,{onClick:L,disabled:u||g>=Math.ceil(c/y)-1,"aria-label":p("last",g),title:p("last",g),...he,children:w?l.jsx(O,{...k.firstButtonIcon}):l.jsx(_,{...k.lastButtonIcon})})]})});process.env.NODE_ENV!=="production"&&(Jd.propTypes={backIconButtonProps:o.object,children:o.node,classes:o.object,className:o.string,count:o.number.isRequired,disabled:o.bool,getItemAriaLabel:o.func.isRequired,nextIconButtonProps:o.object,onPageChange:o.func.isRequired,page:o.number.isRequired,rowsPerPage:o.number.isRequired,showFirstButton:o.bool.isRequired,showLastButton:o.bool.isRequired,slotProps:o.shape({firstButton:o.object,firstButtonIcon:o.object,lastButton:o.object,lastButtonIcon:o.object,nextButton:o.object,nextButtonIcon:o.object,previousButton:o.object,previousButtonIcon:o.object}),slots:o.shape({firstButton:o.elementType,firstButtonIcon:o.elementType,lastButton:o.elementType,lastButtonIcon:o.elementType,nextButton:o.elementType,nextButtonIcon:o.elementType,previousButton:o.elementType,previousButtonIcon:o.elementType})});function h5(e){return _e("MuiTablePagination",e)}const ps=Ne("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var Op;const m5=ce(kt,{name:"MuiTablePagination",slot:"Root"})(Pe(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),g5=ce(xc,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${ps.actions}`]:t.actions,...t.toolbar})})(Pe(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${ps.actions}`]:{flexShrink:0,marginLeft:20}}))),b5=ce("div",{name:"MuiTablePagination",slot:"Spacer"})({flex:"1 1 100%"}),y5=ce("p",{name:"MuiTablePagination",slot:"SelectLabel"})(Pe(({theme:e})=>({...e.typography.body2,flexShrink:0}))),x5=ce(Fr,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${ps.selectIcon}`]:t.selectIcon,[`& .${ps.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${ps.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),v5=ce(hi,{name:"MuiTablePagination",slot:"MenuItem"})({}),k5=ce("p",{name:"MuiTablePagination",slot:"DisplayedRows"})(Pe(({theme:e})=>({...e.typography.body2,flexShrink:0})));function S5({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function T5(e){return`Go to ${e} page`}const C5=e=>{const{classes:t}=e;return Me({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},h5,t)},Zd=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiTablePagination"}),{ActionsComponent:a=Jd,backIconButtonProps:i,colSpan:c,component:u=kt,count:p,disabled:f=!1,getItemAriaLabel:h=T5,labelDisplayedRows:g=S5,labelRowsPerPage:y="Rows per page:",nextIconButtonProps:m,onPageChange:x,onRowsPerPageChange:b,page:k,rowsPerPage:E,rowsPerPageOptions:w=[10,25,50,100],SelectProps:C={},showFirstButton:S=!1,showLastButton:j=!1,slotProps:R={},slots:M={},...L}=r,H=r,U=C5(H),K=(R==null?void 0:R.select)??C,v=K.native?"option":v5;let O;(u===kt||u==="td")&&(O=c||1e3);const _=Go(K.id),Y=Go(K.labelId),F=()=>p===-1?(k+1)*E:E===-1?p:Math.min(p,(k+1)*E),X={slots:M,slotProps:R},[te,ee]=Fe("root",{ref:n,className:U.root,elementType:m5,externalForwardedProps:{...X,component:u,...L},ownerState:H,additionalProps:{colSpan:O}}),[W,V]=Fe("toolbar",{className:U.toolbar,elementType:g5,externalForwardedProps:X,ownerState:H}),[pe,ue]=Fe("spacer",{className:U.spacer,elementType:b5,externalForwardedProps:X,ownerState:H}),[he,A]=Fe("selectLabel",{className:U.selectLabel,elementType:y5,externalForwardedProps:X,ownerState:H,additionalProps:{id:Y}}),[N,$]=Fe("select",{className:U.select,elementType:x5,externalForwardedProps:X,ownerState:H}),[B,G]=Fe("menuItem",{className:U.menuItem,elementType:v,externalForwardedProps:X,ownerState:H}),[q,oe]=Fe("displayedRows",{className:U.displayedRows,elementType:k5,externalForwardedProps:X,ownerState:H});return l.jsx(te,{...ee,children:l.jsxs(W,{...V,children:[l.jsx(pe,{...ue}),w.length>1&&l.jsx(he,{...A,children:y}),w.length>1&&l.jsx(N,{variant:"standard",...!K.variant&&{input:Op||(Op=l.jsx(Mr,{}))},value:E,onChange:b,id:_,labelId:Y,...K,classes:{...K.classes,root:ye(U.input,U.selectRoot,(K.classes||{}).root),select:ye(U.select,(K.classes||{}).select),icon:ye(U.selectIcon,(K.classes||{}).icon)},disabled:f,...$,children:w.map(z=>xe.createElement(B,{...G,key:z.label?z.label:z,value:z.value?z.value:z},z.label?z.label:z))}),l.jsx(q,{...oe,children:g({from:p===0?0:k*E+1,to:F(),count:p===-1?-1:p,page:k})}),l.jsx(a,{className:U.actions,backIconButtonProps:i,count:p,nextIconButtonProps:m,onPageChange:x,page:k,rowsPerPage:E,showFirstButton:S,showLastButton:j,slotProps:R.actions,slots:M.actions,getItemAriaLabel:h,disabled:f})]})})});process.env.NODE_ENV!=="production"&&(Zd.propTypes={ActionsComponent:o.elementType,backIconButtonProps:o.object,classes:o.object,colSpan:o.number,component:o.elementType,count:as.isRequired,disabled:o.bool,getItemAriaLabel:o.func,labelDisplayedRows:o.func,labelRowsPerPage:o.node,nextIconButtonProps:o.object,onPageChange:o.func.isRequired,onRowsPerPageChange:o.func,page:Cn(as.isRequired,e=>{const{count:t,page:n,rowsPerPage:r}=e;if(t===-1)return null;const a=Math.max(0,Math.ceil(t/r)-1);return n<0||n>a?new Error(`MUI: The page prop of a TablePagination is out of range (0 to ${a}, but page is ${n}).`):null}),rowsPerPage:as.isRequired,rowsPerPageOptions:o.arrayOf(o.oneOfType([o.number,o.shape({label:o.string.isRequired,value:o.number.isRequired})]).isRequired),SelectProps:o.object,showFirstButton:o.bool,showLastButton:o.bool,slotProps:o.shape({actions:o.shape({firstButton:o.object,firstButtonIcon:o.object,lastButton:o.object,lastButtonIcon:o.object,nextButton:o.object,nextButtonIcon:o.object,previousButton:o.object,previousButtonIcon:o.object}),displayedRows:o.oneOfType([o.func,o.object]),menuItem:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object]),select:o.object,selectLabel:o.oneOfType([o.func,o.object]),spacer:o.oneOfType([o.func,o.object]),toolbar:o.oneOfType([o.func,o.object])}),slots:o.shape({actions:o.shape({firstButton:o.elementType,firstButtonIcon:o.elementType,lastButton:o.elementType,lastButtonIcon:o.elementType,nextButton:o.elementType,nextButtonIcon:o.elementType,previousButton:o.elementType,previousButtonIcon:o.elementType}),displayedRows:o.elementType,menuItem:o.elementType,root:o.elementType,select:o.elementType,selectLabel:o.elementType,spacer:o.elementType,toolbar:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const w5=Q(l.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function I5(e){return _e("MuiTableSortLabel",e)}const el=Ne("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc","directionDesc","directionAsc"]),E5=e=>{const{classes:t,direction:n,active:r}=e,a={root:["root",r&&"active",`direction${se(n)}`],icon:["icon",`iconDirection${se(n)}`]};return Me(a,I5,t)},j5=ce(wn,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.active&&t.active]}})(Pe(({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${el.icon}`]:{opacity:.5}},[`&.${el.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${el.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}}))),R5=ce("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,t[`iconDirection${se(n.direction)}`]]}})(Pe(({theme:e})=>({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none",variants:[{props:{direction:"desc"},style:{transform:"rotate(0deg)"}},{props:{direction:"asc"},style:{transform:"rotate(180deg)"}}]}))),Qd=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiTableSortLabel"}),{active:a=!1,children:i,className:c,direction:u="asc",hideSortIcon:p=!1,IconComponent:f=w5,slots:h={},slotProps:g={},...y}=r,m={...r,active:a,direction:u,hideSortIcon:p,IconComponent:f},x=E5(m),b={slots:h,slotProps:g},[k,E]=Fe("root",{elementType:j5,externalForwardedProps:b,ownerState:m,className:ye(x.root,c),ref:n}),[w,C]=Fe("icon",{elementType:R5,externalForwardedProps:b,ownerState:m,className:x.icon});return l.jsxs(k,{disableRipple:!0,component:"span",...E,...y,children:[i,p&&!a?null:l.jsx(w,{as:f,...C})]})});process.env.NODE_ENV!=="production"&&(Qd.propTypes={active:o.bool,children:o.node,classes:o.object,className:o.string,direction:o.oneOf(["asc","desc"]),hideSortIcon:o.bool,IconComponent:o.elementType,slotProps:o.shape({icon:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({icon:o.elementType,root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function O5(e){return _e("PrivateSwitchBase",e)}Ne("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const P5=e=>{const{classes:t,checked:n,disabled:r,edge:a}=e,i={root:["root",n&&"checked",r&&"disabled",a&&`edge${se(a)}`],input:["input"]};return Me(i,O5,t)},A5=ce(wn,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),_5=ce("input",{name:"MuiSwitchBase",shouldForwardProp:on})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),ef=T.forwardRef(function(t,n){const{autoFocus:r,checked:a,checkedIcon:i,defaultChecked:c,disabled:u,disableFocusRipple:p=!1,edge:f=!1,icon:h,id:g,inputProps:y,inputRef:m,name:x,onBlur:b,onChange:k,onFocus:E,readOnly:w,required:C=!1,tabIndex:S,type:j,value:R,slots:M={},slotProps:L={},...H}=t,[U,K]=bs({controlled:a,default:!!c,name:"SwitchBase",state:"checked"}),v=So(),O=A=>{E&&E(A),v&&v.onFocus&&v.onFocus(A)},_=A=>{b&&b(A),v&&v.onBlur&&v.onBlur(A)},Y=A=>{if(A.nativeEvent.defaultPrevented||w)return;const N=A.target.checked;K(N),k&&k(A,N)};let F=u;v&&typeof F>"u"&&(F=v.disabled);const X=j==="checkbox"||j==="radio",te={...t,checked:U,disabled:F,disableFocusRipple:p,edge:f},ee=P5(te),W={slots:M,slotProps:{input:y,...L}},[V,pe]=Fe("root",{ref:n,elementType:A5,className:ee.root,shouldForwardComponentProp:!0,externalForwardedProps:{...W,component:"span",...H},getSlotProps:A=>({...A,onFocus:N=>{var $;($=A.onFocus)==null||$.call(A,N),O(N)},onBlur:N=>{var $;($=A.onBlur)==null||$.call(A,N),_(N)}}),ownerState:te,additionalProps:{centerRipple:!0,focusRipple:!p,role:void 0,tabIndex:null}}),[ue,he]=Fe("input",{ref:m,elementType:_5,className:ee.input,externalForwardedProps:W,getSlotProps:A=>({...A,onChange:N=>{var $;($=A.onChange)==null||$.call(A,N),Y(N)}}),ownerState:te,additionalProps:{autoFocus:r,checked:a,defaultChecked:c,disabled:F,id:X?g:void 0,name:x,readOnly:w,required:C,tabIndex:S,type:j,...j==="checkbox"&&R===void 0?{}:{value:R}}});return l.jsxs(V,{...pe,children:[l.jsx(ue,{...he}),U?i:h]})});process.env.NODE_ENV!=="production"&&(ef.propTypes={autoFocus:o.bool,checked:o.bool,checkedIcon:o.node.isRequired,classes:o.object,className:o.string,defaultChecked:o.bool,disabled:o.bool,disableFocusRipple:o.bool,edge:o.oneOf(["end","start",!1]),icon:o.node.isRequired,id:o.string,inputProps:o.object,inputRef:gn,name:o.string,onBlur:o.func,onChange:o.func,onFocus:o.func,readOnly:o.bool,required:o.bool,slotProps:o.shape({input:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({input:o.elementType,root:o.elementType}),sx:o.object,tabIndex:o.oneOfType([o.number,o.string]),type:o.string.isRequired,value:o.any});const N5=Q(l.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),M5=Q(l.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),B5=Q(l.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function F5(e){return _e("MuiCheckbox",e)}const tl=Ne("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),L5=e=>{const{classes:t,indeterminate:n,color:r,size:a}=e,i={root:["root",n&&"indeterminate",`color${se(r)}`,`size${se(a)}`]},c=Me(i,F5,t);return{...t,...c}},$5=ce(ef,{shouldForwardProp:e=>on(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${se(n.size)}`],n.color!=="default"&&t[`color${se(n.color)}`]]}})(Pe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Et()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Et()).map(([t])=>({props:{color:t},style:{[`&.${tl.checked}, &.${tl.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${tl.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),D5=l.jsx(M5,{}),z5=l.jsx(N5,{}),V5=l.jsx(B5,{}),Al=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiCheckbox"}),{checkedIcon:a=D5,color:i="primary",icon:c=z5,indeterminate:u=!1,indeterminateIcon:p=V5,inputProps:f,size:h="medium",disableRipple:g=!1,className:y,slots:m={},slotProps:x={},...b}=r,k=u?p:c,E=u?p:a,w={...r,disableRipple:g,color:i,indeterminate:u,size:h},C=L5(w),S=x.input??f,[j,R]=Fe("root",{ref:n,elementType:$5,className:ye(C.root,y),shouldForwardComponentProp:!0,externalForwardedProps:{slots:m,slotProps:x,...b},ownerState:w,additionalProps:{type:"checkbox",icon:T.cloneElement(k,{fontSize:k.props.fontSize??h}),checkedIcon:T.cloneElement(E,{fontSize:E.props.fontSize??h}),disableRipple:g,slots:m,slotProps:{input:Z1(typeof S=="function"?S(w):S,{"data-indeterminate":u,"aria-checked":u?"mixed":void 0})}}});return l.jsx(j,{...R,classes:C})});process.env.NODE_ENV!=="production"&&(Al.propTypes={checked:o.bool,checkedIcon:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["default","primary","secondary","error","info","success","warning"]),o.string]),defaultChecked:o.bool,disabled:o.bool,disableRipple:o.bool,icon:o.node,id:o.string,indeterminate:o.bool,indeterminateIcon:o.node,inputProps:o.object,onChange:o.func,required:o.bool,size:o.oneOfType([o.oneOf(["medium","small"]),o.string]),slotProps:o.shape({input:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({input:o.elementType,root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),value:o.any});const W5=Dt.styled(Qn,{shouldForwardProp:e=>e!=="striped"&&e!=="clickable"})(({theme:e,striped:t,clickable:n})=>{const r=e.palette.mode==="dark";return{cursor:n?"pointer":"default",transition:"background-color 0.15s ease",...t&&{"&:nth-of-type(odd)":{backgroundColor:r?"rgba(255, 255, 255, 0.02)":"rgba(236, 239, 244, 0.45)"}},"&:hover":{backgroundColor:r?"rgba(245, 130, 32, 0.08) !important":"rgba(245, 130, 32, 0.05) !important","& .ms-sticky-cell":{backgroundColor:r?"#232938 !important":"#FFF7EE !important"}},"&.Mui-selected, &.Mui-selected:hover":{backgroundColor:r?"rgba(245, 130, 32, 0.15) !important":"rgba(245, 130, 32, 0.1) !important","& .ms-sticky-cell":{backgroundColor:r?"#2E2722 !important":"#FFF1E0 !important"}}}}),Pp=Dt.styled(kt)(({theme:e,headerVariant:t})=>{const n=e.palette.mode==="dark",r=()=>{switch(t){case"blue":return"#043B72";case"dark":return n?"#0B1320":"#48535B";case"subtle":default:return n?"#1E293B":"#ECEFF4"}},a=()=>t==="blue"||t==="dark"?"#FFFFFF":n?"#CBD5E1":"#1E293B";return{backgroundColor:r(),color:a(),fontWeight:700,fontSize:"0.8125rem",letterSpacing:"0.03em",fontFamily:e.typography.fontFamily,borderBottom:n?"1px solid #334155":"1px solid #CDCECB",padding:"12px 16px","& .MuiTableSortLabel-root":{color:"inherit","&.Mui-active":{color:de.orange.hex},"& .MuiTableSortLabel-icon":{color:`${de.orange.hex} !important`}}}});function Or({columns:e,data:t,title:n,subtitle:r,searchable:a=!0,searchPlaceholder:i="Cari data...",selectable:c=!1,pagination:u=!0,rowsPerPageOptions:p=[5,10,25],defaultRowsPerPage:f=5,loading:h=!1,emptyText:g="Tidak ada data yang ditemukan",striped:y=!0,headerVariant:m="subtle",onRowClick:x,actions:b,borderRadius:k,sx:E,stickyFirstColumn:w=!0,stickyLastColumn:C=!1,showColumnCount:S=!0,minTableWidth:j}){const R=Dt.useTheme(),M=R.palette.mode==="dark",[L,H]=xe.useState(0),[U,K]=xe.useState(f),[v,O]=xe.useState(""),[_,Y]=xe.useState(""),[F,X]=xe.useState("asc"),[te,ee]=xe.useState([]),W=B=>{switch(B){case"blue":return"#043B72";case"dark":return M?"#0B1320":"#48535B";case"subtle":default:return M?"#1E293B":"#ECEFF4"}},V=(B,G,q)=>B?M?"#2E2722":"#FFF1E0":G&&q%2===1?M?"#0E1726":"#F8FAFC":M?"#141E30":"#FFFFFF",pe=xe.useMemo(()=>{if(!v)return t;const B=v.toLowerCase();return t.filter(G=>Object.values(G).some(q=>q!=null&&String(q).toLowerCase().includes(B)))},[t,v]),ue=xe.useMemo(()=>_?[...pe].sort((B,G)=>{const q=B[_],oe=G[_];if(q===oe)return 0;if(q==null)return 1;if(oe==null)return-1;const z=q<oe?-1:1;return F==="asc"?z:-z}):pe,[pe,_,F]),he=xe.useMemo(()=>{if(!u)return ue;const B=L*U;return ue.slice(B,B+U)},[ue,L,U,u]),A=B=>{X(_===B&&F==="asc"?"desc":"asc"),Y(B)},N=B=>{B.target.checked?ee(he.map((G,q)=>q)):ee([])},$=(B,G)=>{B.stopPropagation(),ee(q=>q.includes(G)?q.filter(oe=>oe!==G):[...q,G])};return l.jsxs(Xt,{sx:{...k!==void 0?{borderRadius:k}:{},border:"1px solid",borderColor:"divider",boxShadow:"0 2px 8px rgba(4, 59, 114, 0.04)",overflow:"hidden",...E},children:[(n||a||b)&&l.jsxs(J,{sx:{p:{xs:2,sm:2.5},display:"flex",flexDirection:{xs:"column",md:"row"},justifyContent:"space-between",alignItems:{xs:"stretch",md:"center"},gap:2,borderBottom:"1px solid",borderColor:"divider"},children:[n&&l.jsxs(J,{children:[l.jsxs(J,{sx:{display:"flex",alignItems:"center",gap:1.5,flexWrap:"wrap"},children:[l.jsx(ne,{variant:"h5",sx:{fontWeight:800},children:n}),S&&l.jsx(Lt,{label:`${e.length} Kolom`,variant:"neutral",size:"sm"}),w&&l.jsx(Lt,{label:"Kolom 1 Tersemat (Sticky)",variant:"primary",size:"sm"}),C&&l.jsx(Lt,{label:"Kolom Aksi Tersemat (Sticky)",variant:"secondary",size:"sm"})]}),r&&l.jsx(ne,{variant:"body2",sx:{color:"text.secondary",mt:.25},children:r})]}),l.jsxs(J,{sx:{display:"flex",alignItems:"center",gap:1.5,flexWrap:"wrap"},children:[a&&l.jsx(J,{sx:{minWidth:{xs:"100%",sm:280}},children:l.jsx(Xo,{placeholder:i,categories:[],onSearch:B=>{O(B),H(0)}})}),b]})]}),l.jsx(bi,{sx:{maxHeight:560,overflowX:"auto",position:"relative","&::-webkit-scrollbar":{height:8},"&::-webkit-scrollbar-track":{backgroundColor:M?"#0B1320":"#F1F5F9"},"&::-webkit-scrollbar-thumb":{backgroundColor:M?"#334155":"#CBD5E1",borderRadius:4,"&:hover":{backgroundColor:de.orange.hex}}},children:l.jsxs(mi,{stickyHeader:!0,sx:{minWidth:j||(e.length>5?Math.max(1200,e.length*140):"100%")},children:[l.jsx(yi,{children:l.jsxs(Qn,{children:[c&&l.jsx(Pp,{headerVariant:m,padding:"checkbox",sx:{width:48,minWidth:48,maxWidth:48,...w&&{position:"sticky",left:0,zIndex:6,backgroundColor:`${W(m)} !important`}},children:l.jsx(Al,{size:"small",indeterminate:te.length>0&&te.length<he.length,checked:he.length>0&&te.length===he.length,onChange:N,sx:{color:m==="subtle"?void 0:"rgba(255, 255, 255, 0.8) !important","&.Mui-checked":{color:`${de.orange.hex} !important`}}})}),e.map((B,G)=>{const q=G===0,oe=G===e.length-1,z=w&&q||B.sticky==="left",fe=C&&oe||B.sticky==="right",re=z||fe;return l.jsx(Pp,{align:B.align||"left",headerVariant:m,className:re?"ms-sticky-cell":void 0,style:{minWidth:B.minWidth},sx:{...z&&{position:"sticky",left:c?48:0,zIndex:5,backgroundColor:`${W(m)} !important`,borderRight:"1px solid",borderRightColor:M?"#334155":"#CDCECB",boxShadow:M?"4px 0 8px -2px rgba(0, 0, 0, 0.5)":"4px 0 8px -2px rgba(4, 59, 114, 0.08)"},...fe&&{position:"sticky",right:0,zIndex:5,backgroundColor:`${W(m)} !important`,borderLeft:"1px solid",borderLeftColor:M?"#334155":"#CDCECB",boxShadow:M?"-4px 0 8px -2px rgba(0, 0, 0, 0.5)":"-4px 0 8px -2px rgba(4, 59, 114, 0.08)"}},children:B.sortable?l.jsx(Qd,{active:_===B.id,direction:_===B.id?F:"asc",onClick:()=>A(B.id),children:B.label}):B.label},B.id)})]})}),l.jsx(gi,{children:h?l.jsx(Qn,{children:l.jsxs(kt,{colSpan:e.length+(c?1:0),sx:{textAlign:"center",py:6},children:[l.jsx(_s,{size:32,sx:{color:de.orange.hex,mb:1}}),l.jsx(ne,{variant:"body2",sx:{color:"text.secondary"},children:"Memuat data..."})]})}):he.length===0?l.jsx(Qn,{children:l.jsx(kt,{colSpan:e.length+(c?1:0),sx:{textAlign:"center",py:6},children:l.jsx(ne,{variant:"body2",sx:{color:"text.secondary"},children:g})})}):he.map((B,G)=>{const q=te.includes(G),oe=V(q,y,G);return l.jsxs(W5,{striped:y,clickable:!!x,selected:q,onClick:()=>x==null?void 0:x(B),children:[c&&l.jsx(kt,{padding:"checkbox",className:w?"ms-sticky-cell":void 0,sx:{width:48,minWidth:48,maxWidth:48,...w&&{position:"sticky",left:0,zIndex:3,backgroundColor:`${oe} !important`}},children:l.jsx(Al,{size:"small",checked:q,onClick:z=>$(z,G),sx:{"&.Mui-checked":{color:`${de.orange.hex} !important`}}})}),e.map((z,fe)=>{const re=fe===0,ke=fe===e.length-1,je=w&&re||z.sticky==="left",be=C&&ke||z.sticky==="right",Ee=je||be,ze=B[z.id];return l.jsx(kt,{align:z.align||"left",className:Ee?"ms-sticky-cell":void 0,sx:{fontSize:"0.875rem",fontFamily:R.typography.fontFamily,borderBottom:"1px solid",borderColor:"divider",py:1.5,minWidth:z.minWidth,...je&&{position:"sticky",left:c?48:0,zIndex:2,backgroundColor:`${oe} !important`,borderRight:"1px solid",borderRightColor:M?"#334155":"#E2E8F0",boxShadow:M?"4px 0 8px -2px rgba(0, 0, 0, 0.5)":"4px 0 8px -2px rgba(4, 59, 114, 0.08)"},...be&&{position:"sticky",right:0,zIndex:2,backgroundColor:`${oe} !important`,borderLeft:"1px solid",borderLeftColor:M?"#334155":"#E2E8F0",boxShadow:M?"-4px 0 8px -2px rgba(0, 0, 0, 0.5)":"-4px 0 8px -2px rgba(4, 59, 114, 0.08)"}},children:z.render?z.render(B,G):ze},z.id)})]},B.id||G)})})]})}),u&&l.jsx(Zd,{rowsPerPageOptions:p,component:"div",count:ue.length,rowsPerPage:U,page:L,onPageChange:(B,G)=>H(G),onRowsPerPageChange:B=>{K(parseInt(B.target.value,10)),H(0)},labelRowsPerPage:"Baris per halaman:",labelDisplayedRows:({from:B,to:G,count:q})=>`${B}–${G} dari ${q!==-1?q:`lebih dari ${G}`}`,sx:{borderTop:"1px solid",borderColor:"divider",fontSize:"0.8125rem","& .MuiTablePagination-select":{borderRadius:"6px"}}})]})}const H5=Or,U5=Q(l.jsx("path",{d:"M17.77 3.77 16 2 6 12l10 10 1.77-1.77L9.54 12z"}),"ArrowBackIosNew"),q5=Q(l.jsx("path",{d:"M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"}),"ArrowForwardIos"),G5=Q(l.jsx("path",{d:"M6 19h4V5H6zm8-14v14h4V5z"}),"Pause"),tf=Q(l.jsx("path",{d:"M8 5v14l11-7z"}),"PlayArrow"),Pr=({slides:e,autoplay:t=!0,interval:n=5e3,height:r={xs:440,sm:380,md:360}})=>{const a=e&&e.length>0?e:vc,[i,c]=xe.useState(0),[u,p]=xe.useState(!1),f=xe.useCallback(()=>{c(y=>(y+1)%a.length)},[a.length]),h=xe.useCallback(()=>{c(y=>(y-1+a.length)%a.length)},[a.length]);xe.useEffect(()=>{if(!t||u)return;const y=setInterval(()=>{f()},n);return()=>clearInterval(y)},[t,u,n,f]);const g=a[i]||a[0];return l.jsxs(Xt,{onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),sx:{position:"relative",borderRadius:{xs:3,sm:4},overflow:"hidden",border:"1px solid",borderColor:"divider",boxShadow:"0 16px 36px rgba(4, 59, 114, 0.12)",minHeight:r,height:"auto",display:"flex",flexDirection:"column",justifyContent:"center",backgroundColor:g.backgroundColor||"#043B72",color:"#FFFFFF",transition:"background-color 0.4s ease"},children:[l.jsxs(J,{sx:{position:"relative",zIndex:1,px:{xs:5.5,sm:7,md:8},pt:{xs:3.5,sm:4.5,md:5},pb:{xs:8,sm:6.5,md:5},maxWidth:860,boxSizing:"border-box",width:"100%"},children:[g.badge&&l.jsx(J,{sx:{mb:{xs:1.25,sm:2}},children:l.jsx(Lt,{label:g.badge,variant:g.badgeVariant||"primary",dot:!0})}),l.jsx(ne,{variant:"overline",sx:{color:de.orange.hex,fontWeight:800,letterSpacing:"0.12em",fontSize:{xs:"0.6875rem",sm:"0.75rem"},display:"block",mb:.5},children:g.subtitle}),l.jsx(ne,{variant:"h3",sx:{fontWeight:800,letterSpacing:"-0.02em",lineHeight:{xs:1.25,sm:1.2},fontSize:{xs:"1.35rem",sm:"1.8rem",md:"2.2rem",lg:"2.4rem"},mb:{xs:1.25,sm:1.5},color:"#FFFFFF",textShadow:"0 2px 8px rgba(0,0,0,0.3)"},children:g.title}),l.jsx(ne,{variant:"body1",sx:{color:"rgba(255, 255, 255, 0.9)",fontSize:{xs:"0.8125rem",sm:"0.925rem",md:"1rem"},lineHeight:1.6,mb:{xs:2,sm:2.5,md:3},maxWidth:680},children:g.description}),l.jsxs(J,{sx:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:{xs:1.5,sm:2}},children:[g.ctaText&&l.jsx(Wt,{brandVariant:"primary",size:"medium",onClick:g.onCtaClick,children:g.ctaText}),g.secondaryCtaText&&l.jsx(Wt,{brandVariant:"outlined",size:"medium",onClick:g.onSecondaryCtaClick,sx:{borderColor:"rgba(255, 255, 255, 0.6) !important",color:"#FFFFFF !important","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.1) !important",borderColor:"#FFFFFF !important"}},children:g.secondaryCtaText}),g.metrics&&l.jsx(J,{sx:{display:"flex",flexWrap:"wrap",gap:{xs:2,sm:3},mt:{xs:1,sm:0},ml:{xs:0,sm:1.5}},children:g.metrics.map(y=>l.jsxs(J,{children:[l.jsx(ne,{variant:"h6",sx:{fontWeight:800,color:"#FFFFFF",lineHeight:1.1,fontSize:{xs:"1.05rem",sm:"1.25rem"}},children:y.value}),l.jsx(ne,{variant:"caption",sx:{color:"rgba(255, 255, 255, 0.75)",fontSize:"0.6875rem"},children:y.label})]},y.label))})]})]}),l.jsx(Ct,{onClick:h,size:"small","aria-label":"Previous Slide",sx:{position:"absolute",left:{xs:6,sm:14},top:"50%",transform:"translateY(-50%)",backgroundColor:"rgba(0, 0, 0, 0.38)",backdropFilter:"blur(6px)",color:"#FFFFFF",width:{xs:32,sm:38},height:{xs:32,sm:38},"&:hover":{backgroundColor:"rgba(245, 130, 32, 0.9)"},zIndex:2},children:l.jsx(U5,{sx:{fontSize:{xs:13,sm:16}}})}),l.jsx(Ct,{onClick:f,size:"small","aria-label":"Next Slide",sx:{position:"absolute",right:{xs:6,sm:14},top:"50%",transform:"translateY(-50%)",backgroundColor:"rgba(0, 0, 0, 0.38)",backdropFilter:"blur(6px)",color:"#FFFFFF",width:{xs:32,sm:38},height:{xs:32,sm:38},"&:hover":{backgroundColor:"rgba(245, 130, 32, 0.9)"},zIndex:2},children:l.jsx(q5,{sx:{fontSize:{xs:13,sm:16}}})}),l.jsxs(J,{sx:{position:"absolute",bottom:{xs:12,sm:16},right:{xs:16,sm:24},display:"flex",alignItems:"center",gap:1.5,zIndex:2},children:[l.jsx(Ct,{size:"small",onClick:()=>p(!u),"aria-label":u?"Play autoplay":"Pause autoplay",sx:{color:"rgba(255, 255, 255, 0.7)",p:.5,"&:hover":{color:"#FFFFFF"}},children:u?l.jsx(tf,{fontSize:"small"}):l.jsx(G5,{fontSize:"small"})}),a.map((y,m)=>l.jsx(J,{onClick:()=>c(m),"aria-label":`Slide ${m+1}`,sx:{width:i===m?28:8,height:8,borderRadius:4,backgroundColor:i===m?de.orange.hex:"rgba(255, 255, 255, 0.4)",cursor:"pointer",transition:"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)","&:hover":{backgroundColor:i===m?de.orange.hex:"rgba(255, 255, 255, 0.8)"}}},m))]})]})},vc=[{id:"slide-1",badge:"Building on Principles",badgeVariant:"primary",subtitle:"PT MIRAE ASSET SEKURITAS INDONESIA",title:"Solusi Investasi Unggulan Terpercaya",description:"Memberdayakan investor institusional dan ritel melalui platform transaksi mutakhir DWP, didukung prinsip transparansi, objektivitas, dan keunggulan eksekusi.",ctaText:"Mulai Transaksi Saham",secondaryCtaText:"Jelajahi Riset",backgroundColor:"#043B72",metrics:[{label:"Total AUM",value:"Rp 148,6 T"},{label:"Investor Aktif",value:"24.8K+"}]},{id:"slide-2",badge:"Platform DWP 2.0",badgeVariant:"secondary",subtitle:"DIGITAL WEALTH PLATFORM",title:"Kecepatan Eksekusi & Manajemen Portofolio",description:"Akses data pasar real-time BEI, alokasi multi-aset dinamis, serta analisis risiko komprehensif dalam satu antarmuka terpadu berbasis Material-UI.",ctaText:"Buka Akun RDN",secondaryCtaText:"Demo Interaktif",backgroundColor:"#0B192C",metrics:[{label:"Latency",value:"< 25ms"},{label:"Uptime",value:"99.98%"}]},{id:"slide-3",badge:"Atomic Design System",badgeVariant:"warning",subtitle:"SISTEM DESAIN KORPORAT",title:"Standar Identitas Brand Resmi 2026",description:"Pustaka komponen modular lengkap berbasis palet desain warna PANTONE 158C Orange & 295C Blue, serta tipografi bilingual Spoqa Han Sans Neo.",ctaText:"Pelajari Komponen",secondaryCtaText:"Panduan Warna",backgroundColor:"#1E293B",metrics:[{label:"Komponen",value:"80+"},{label:"Palet Desain",value:"17 Warna"}]}],K5=[{id:"slide-1",badge:"Building on Principles",badgeVariant:"primary",subtitle:"PT MIRAE ASSET SEKURITAS INDONESIA",title:"Trusted Premier Investment Solutions",description:"Empowering institutional and retail investors through the cutting-edge DWP trading platform, anchored by transparency, objectivity, and superior execution.",ctaText:"Start Stock Trading",secondaryCtaText:"Explore Research",backgroundColor:"#043B72",metrics:[{label:"Total AUM",value:"Rp 148.6 T"},{label:"Active Investors",value:"24.8K+"}]},{id:"slide-2",badge:"DWP 2.0 Platform",badgeVariant:"secondary",subtitle:"DIGITAL WEALTH PLATFORM",title:"High-Speed Execution & Portfolio Management",description:"Real-time IDX market data access, dynamic multi-asset allocation, and comprehensive risk analytics in a unified Material-UI interface.",ctaText:"Open RDN Account",secondaryCtaText:"Interactive Demo",backgroundColor:"#0B192C",metrics:[{label:"Latency",value:"< 25ms"},{label:"Uptime",value:"99.98%"}]},{id:"slide-3",badge:"Atomic Design System",badgeVariant:"warning",subtitle:"CORPORATE DESIGN SYSTEM",title:"Official 2026 Brand Identity Standards",description:"Comprehensive modular component library powered by PANTONE 158C Orange & 295C Blue design palette, with bilingual Spoqa Han Sans Neo typography.",ctaText:"Explore Components",secondaryCtaText:"Color Guidelines",backgroundColor:"#1E293B",metrics:[{label:"Components",value:"80+"},{label:"Palette",value:"17 Colors"}]}],Y5=vc,X5=Pr;function J5(e){return _e("MuiAppBar",e)}Ne("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const Z5=e=>{const{color:t,position:n,classes:r}=e,a={root:["root",`color${se(t)}`,`position${se(n)}`]};return Me(a,J5,r)},Ap=(e,t)=>e?`${e.replace(")","")}, ${t})`:t,Q5=ce(Br,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${se(n.position)}`],t[`color${se(n.color)}`]]}})(Pe(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit",color:"var(--AppBar-color)"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(Et(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:t=>t.enableColorOnDark===!0&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:t=>t.enableColorOnDark===!1&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?Ap(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?Ap(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),nf=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiAppBar"}),{className:a,color:i="primary",enableColorOnDark:c=!1,position:u="fixed",...p}=r,f={...r,color:i,position:u,enableColorOnDark:c},h=Z5(f);return l.jsx(Q5,{square:!0,component:"header",ownerState:f,elevation:4,className:ye(h.root,a,u==="fixed"&&"mui-fixed"),ref:n,...p})});process.env.NODE_ENV!=="production"&&(nf.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["default","inherit","primary","secondary","transparent","error","info","success","warning"]),o.string]),elevation:o.number,enableColorOnDark:o.bool,position:o.oneOf(["absolute","fixed","relative","static","sticky"]),square:o.bool,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const eS=Q(l.jsx("path",{d:"M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12zM12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6c3.31 0 6 2.69 6 6s-2.69 6-6 6"}),"Brightness4"),tS=Q(l.jsx("path",{d:"M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12zM12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6m0-10c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4"}),"Brightness7"),of=Q(l.jsx("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu"),nS=Q(l.jsx("path",{d:"m12 5.69 5 4.5V18h-2v-6H9v6H7v-7.81zM12 3 2 12h3v8h6v-6h2v6h6v-8h3z"}),"HomeOutlined"),oS=Q([l.jsx("path",{d:"M12 22C6.49 22 2 17.51 2 12S6.49 2 12 2s10 4.04 10 9c0 3.31-2.69 6-6 6h-1.77c-.28 0-.5.22-.5.5 0 .12.05.23.13.33.41.47.64 1.06.64 1.67 0 1.38-1.12 2.5-2.5 2.5m0-18c-4.41 0-8 3.59-8 8s3.59 8 8 8c.28 0 .5-.22.5-.5 0-.16-.08-.28-.14-.35-.41-.46-.63-1.05-.63-1.65 0-1.38 1.12-2.5 2.5-2.5H16c2.21 0 4-1.79 4-4 0-3.86-3.59-7-8-7"},"0"),l.jsx("circle",{cx:"6.5",cy:"11.5",r:"1.5"},"1"),l.jsx("circle",{cx:"9.5",cy:"7.5",r:"1.5"},"2"),l.jsx("circle",{cx:"14.5",cy:"7.5",r:"1.5"},"3"),l.jsx("circle",{cx:"17.5",cy:"11.5",r:"1.5"},"4")],"PaletteOutlined"),rS=Q(l.jsx("path",{d:"M2.5 4v3h5v12h3V7h5V4zm19 5h-9v3h3v7h3v-7h3z"}),"TextFieldsOutlined"),sS=Q(l.jsx("path",{d:"m12 2-5.5 9h11zm0 3.84L13.93 9h-3.87zM17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5m0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5M3 21.5h8v-8H3zm2-6h4v4H5z"}),"CategoryOutlined"),aS=Q(l.jsx("path",{d:"m16.66 4.52 2.83 2.83-2.83 2.83-2.83-2.83zM9 5v4H5V5zm10 10v4h-4v-4zM9 15v4H5v-4zm7.66-13.31L11 7.34 16.66 13l5.66-5.66zM11 3H3v8h8zm10 10h-8v8h8zm-10 0H3v8h8z"}),"WidgetsOutlined"),rf=({currentTab:e,onTabChange:t,onMobileMenuOpen:n})=>{const r=Dt.useTheme(),{mode:a,toggleTheme:i}=X1(),c=a==="dark",u=[{id:"overview",label:"Ringkasan",icon:l.jsx(nS,{sx:{fontSize:18}})},{id:"colors",label:"Sistem Warna",icon:l.jsx(oS,{sx:{fontSize:18}})},{id:"typography",label:"Tipografi",icon:l.jsx(rS,{sx:{fontSize:18}})},{id:"icons",label:"Ikon",icon:l.jsx(sS,{sx:{fontSize:18}})},{id:"components",label:"Komponen UI",icon:l.jsx(aS,{sx:{fontSize:18}})}];return l.jsx(nf,{position:"sticky",elevation:0,sx:{backgroundColor:c?"rgba(11, 19, 32, 0.92)":"rgba(255, 255, 255, 0.92)",backdropFilter:"blur(16px)",borderBottom:"1px solid",borderColor:c?"#1E293B":"#ECEFF4",color:"text.primary",zIndex:r.zIndex.drawer+1,transition:"background-color 0.3s ease, border-color 0.3s ease"},children:l.jsxs(xc,{sx:{justifyContent:"space-between",px:{xs:2,md:4},minHeight:70},children:[l.jsxs(J,{sx:{display:"flex",alignItems:"center",gap:2},children:[n&&l.jsx(Ct,{edge:"start",color:"inherit",onClick:n,sx:{display:{md:"none"},mr:.5},children:l.jsx(of,{})}),l.jsx(zn,{variant:"horizontal",onClick:()=>t("overview")})]}),l.jsx(J,{sx:{display:{xs:"none",md:"flex"},alignItems:"center",gap:.75},children:u.map(p=>{const f=e===p.id;return l.jsx(kr,{startIcon:p.icon,onClick:()=>t(p.id),sx:{fontWeight:f?700:500,fontSize:"0.84rem",color:f?de.orange.hex:"text.primary",backgroundColor:f?c?"rgba(245, 130, 32, 0.15)":"rgba(245, 130, 32, 0.08)":"transparent",borderRadius:"8px",px:1.5,py:.75,transition:"all 0.2s ease","& .MuiButton-startIcon":{mr:.75,color:f?de.orange.hex:"text.secondary"},"&:hover":{backgroundColor:c?"rgba(255, 255, 255, 0.08)":"rgba(4, 59, 114, 0.06)"}},children:p.label},p.id)})}),l.jsx(J,{sx:{display:"flex",alignItems:"center",gap:1},children:l.jsx(Ht,{title:c?"Mode Terang":"Mode Gelap",children:l.jsx(Ct,{onClick:i,color:"inherit",sx:{border:"1px solid",borderColor:c?"#334155":"#ECEFF4",borderRadius:"8px",p:.9,transition:"all 0.2s","&:hover":{borderColor:de.orange.hex}},children:c?l.jsx(tS,{fontSize:"small",sx:{color:"#FBBF24"}}):l.jsx(eS,{fontSize:"small",sx:{color:de.blue.hex}})})})})]})})};function iS(e){return _e("MuiFab",e)}const _p=Ne("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),lS=e=>{const{color:t,variant:n,classes:r,size:a}=e,i={root:["root",n,`size${se(a)}`,t==="inherit"?"colorInherit":t]},c=Me(i,iS,r);return{...r,...c}},cS=ce(wn,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>on(e)||e==="classes",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${se(n.size)}`],n.color==="inherit"&&t.colorInherit,t[se(n.size)],t[n.color]]}})(Pe(({theme:e})=>{var t,n;return{...e.typography.button,minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.grey[900]:(n=(t=e.palette).getContrastText)==null?void 0:n.call(t,e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${_p.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},variants:[{props:{size:"small"},style:{width:40,height:40}},{props:{size:"medium"},style:{width:48,height:48}},{props:{variant:"extended"},style:{borderRadius:48/2,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48}},{props:{variant:"extended",size:"small"},style:{width:"auto",padding:"0 8px",borderRadius:34/2,minWidth:34,height:34}},{props:{variant:"extended",size:"medium"},style:{width:"auto",padding:"0 16px",borderRadius:40/2,minWidth:40,height:40}},{props:{color:"inherit"},style:{color:"inherit"}}]}}),Pe(({theme:e})=>({variants:[...Object.entries(e.palette).filter(Et(["dark","contrastText"])).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}}}}))]})),Pe(({theme:e})=>({[`&.${_p.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}))),sf=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiFab"}),{children:a,className:i,color:c="default",component:u="button",disabled:p=!1,disableFocusRipple:f=!1,focusVisibleClassName:h,size:g="large",variant:y="circular",...m}=r,x={...r,color:c,component:u,disabled:p,disableFocusRipple:f,size:g,variant:y},b=lS(x),{root:k,...E}=b;return l.jsx(cS,{className:ye(b.root,i),component:u,disabled:p,focusRipple:!f,focusVisibleClassName:ye(b.focusVisible,h),ownerState:x,ref:n,...m,classes:E,children:a})});process.env.NODE_ENV!=="production"&&(sf.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["default","error","info","inherit","primary","secondary","success","warning"]),o.string]),component:o.elementType,disabled:o.bool,disableFocusRipple:o.bool,disableRipple:o.bool,focusVisibleClassName:o.string,href:o.string,size:o.oneOfType([o.oneOf(["small","medium","large"]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["circular","extended"]),o.string])});const uS=Q(l.jsx("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp"),pS={entering:{transform:"none"},entered:{transform:"none"},exiting:{transform:"scale(0)"},exited:{transform:"scale(0)"}},dS={transform:"scale(0)",visibility:"hidden"},af=T.forwardRef(function(t,n){const r=io(),a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:c=!0,children:u,easing:p,in:f,onEnter:h,onEntered:g,onEntering:y,onExit:m,onExited:x,onExiting:b,style:k,timeout:E=a,...w}=t,C=T.useRef(null),S=Mt(C,To(u),n),j=Rt(C,y),R=Rt(C,(v,O)=>{oc(v);const _=vo({style:k,timeout:E,easing:p},{mode:"enter"});v.style.transition=r.transitions.create("transform",_),h&&h(v,O)}),M=Rt(C,g),L=Rt(C,b),H=Rt(C,v=>{const O=vo({style:k,timeout:E,easing:p},{mode:"exit"});v.style.transition=r.transitions.create("transform",O),m&&m(v)}),U=Rt(C,v=>{v.style.transition="",x&&x(v)}),K=v=>{i&&i(C.current,v)};return l.jsx(Rn,{appear:c,in:f,nodeRef:C,onEnter:R,onEntered:M,onEntering:j,onExit:H,onExited:U,onExiting:L,addEndListener:K,timeout:E,...w,children:(v,{ownerState:O,..._})=>{const Y=rc(v,f,pS,dS,k,u.props.style);return T.cloneElement(u,{style:Y,ref:S,..._})}})});process.env.NODE_ENV!=="production"&&(af.propTypes={addEndListener:o.func,appear:o.bool,children:Co.isRequired,easing:o.oneOfType([o.shape({enter:o.string,exit:o.string}),o.string]),in:o.bool,onEnter:o.func,onEntered:o.func,onEntering:o.func,onExit:o.func,onExited:o.func,onExiting:o.func,style:o.object,timeout:o.oneOfType([o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})])});const kc=({threshold:e=280,color:t="orange",size:n="medium",ariaLabel:r})=>{const[a,i]=xe.useState(!1);xe.useEffect(()=>{const h=()=>{const g=window.pageYOffset||document.documentElement.scrollTop;i(g>e)};return window.addEventListener("scroll",h,{passive:!0}),h(),()=>{window.removeEventListener("scroll",h)}},[e]);const c=()=>{window.scrollTo({top:0,behavior:"smooth"})},u=r||"Kembali ke atas",p=t==="orange"?de.orange.hex:de.blue.hex,f=t==="orange"?de.blue.hex:de.orange.hex;return l.jsx(af,{in:a,children:l.jsx(J,{role:"presentation",sx:{position:"fixed",bottom:{xs:20,md:32},right:{xs:20,md:32},zIndex:1300},children:l.jsx(Ht,{title:u,placement:"left",arrow:!0,children:l.jsx(sf,{onClick:c,size:n,"aria-label":u,sx:{backgroundColor:p,color:"#FFFFFF",boxShadow:`0 4px 16px ${t==="orange"?"rgba(245, 130, 32, 0.45)":"rgba(4, 59, 114, 0.45)"}`,transition:"all 0.25s cubic-bezier(0.4, 0, 0.2, 1)","&:hover":{backgroundColor:f,transform:"translateY(-3px) scale(1.06)",boxShadow:`0 8px 24px ${t==="orange"?"rgba(4, 59, 114, 0.45)":"rgba(245, 130, 32, 0.45)"}`},"&:active":{transform:"translateY(0) scale(0.96)"}},children:l.jsx(uS,{sx:{fontSize:n==="small"?22:28}})})})})})},lf=({currentTab:e,onTabChange:t,children:n})=>l.jsxs(J,{sx:{minHeight:"100vh",display:"flex",flexDirection:"column"},children:[l.jsx(rf,{currentTab:e,onTabChange:t}),l.jsx(J,{component:"main",sx:{flex:1},children:n}),l.jsx(kc,{})]}),Io=kb({createStyledComponent:ce("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${se(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>Le({props:e,name:"MuiContainer"})});process.env.NODE_ENV!=="production"&&(Io.propTypes={children:o.node,classes:o.object,component:o.elementType,disableGutters:o.bool,fixed:o.bool,maxWidth:o.oneOfType([o.oneOf(["xs","sm","md","lg","xl",!1]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const xi=Q(l.jsx("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy"),vi=Q(l.jsx("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),lo=({code:e,language:t="tsx",maxHeight:n})=>{const[r,a]=xe.useState(!1),i=()=>{navigator.clipboard.writeText(e),a(!0),setTimeout(()=>a(!1),2e3)};return l.jsxs(J,{sx:{position:"relative",borderRadius:2.5,backgroundColor:c=>c.palette.mode==="dark"?"#080E18":"#0F172A",color:"#F8FAFC",p:2.5,fontFamily:"monospace",fontSize:"0.84rem",overflowX:"auto",maxHeight:n||"none",overflowY:n?"auto":"visible",border:"1px solid",borderColor:c=>c.palette.mode==="dark"?"#1E293B":"#334155",boxShadow:"0 4px 16px rgba(0, 0, 0, 0.15)"},children:[l.jsx(Ht,{title:r?"Disalin!":"Salin Kode",arrow:!0,children:l.jsx(Ct,{size:"small",onClick:i,"aria-label":"copy code",sx:{position:"absolute",top:10,right:10,color:r?"#10B981":"#94A3B8",backgroundColor:"rgba(255, 255, 255, 0.08)","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.16)"}},children:r?l.jsx(vi,{fontSize:"small"}):l.jsx(xi,{fontSize:"small"})})}),l.jsx("pre",{style:{margin:0,lineHeight:1.6,paddingRight:40,fontFamily:"monospace"},children:l.jsx("code",{children:e})})]})},pa=({token:e,isPrimary:t=!1})=>{const[n,r]=xe.useState(!1),a=()=>{navigator.clipboard.writeText(e.hex),r(!0),setTimeout(()=>r(!1),2e3)};return l.jsxs(Xt,{sx:{overflow:"hidden",border:"1px solid",borderColor:t?"rgba(245, 130, 32, 0.4)":"divider",borderRadius:"12px",transition:"all 0.25s ease","&:hover":{transform:"translateY(-3px)",boxShadow:t?"0 12px 24px rgba(245, 130, 32, 0.18)":"0 8px 20px rgba(4, 59, 114, 0.1)"}},children:[l.jsxs(J,{sx:{height:t?130:96,backgroundColor:e.hex,position:"relative",display:"flex",flexDirection:"column",justifyContent:"space-between",p:1.5,color:e.contrastText},children:[l.jsxs(J,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-start"},children:[l.jsx(Lt,{label:e.role,size:"sm",variant:t?"primary":"neutral"}),l.jsx(Rr,{title:n?"Copied!":"Copy Hex",children:l.jsx(Ct,{size:"small",onClick:a,sx:{backgroundColor:"rgba(0, 0, 0, 0.25)",backdropFilter:"blur(4px)",color:"#FFFFFF","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.45)"}},children:n?l.jsx(vi,{fontSize:"small"}):l.jsx(xi,{fontSize:"small"})})})]}),l.jsx(ne,{variant:"h6",sx:{fontWeight:700,fontFamily:"monospace",letterSpacing:"0.05em",textShadow:"0 1px 2px rgba(0,0,0,0.3)"},children:e.hex})]}),l.jsxs(J,{sx:{p:2},children:[l.jsx(ne,{variant:"subtitle2",sx:{fontWeight:700,mb:.5},children:e.name}),e.pantone&&l.jsx(ne,{variant:"caption",sx:{display:"inline-block",px:1,py:.2,borderRadius:1,backgroundColor:"rgba(4, 59, 114, 0.08)",color:"#043B72",fontWeight:700,mb:1},children:e.pantone}),l.jsxs(J,{sx:{display:"flex",flexDirection:"column",gap:.4,mt:.5},children:[l.jsxs(ne,{variant:"caption",sx:{color:"text.secondary",fontFamily:"monospace"},children:[l.jsx("strong",{children:"CMYK:"})," ",e.cmyk]}),l.jsxs(ne,{variant:"caption",sx:{color:"text.secondary",fontFamily:"monospace"},children:[l.jsx("strong",{children:"RGB:"})," ",e.rgb]})]}),e.description&&l.jsx(ne,{variant:"caption",sx:{display:"block",mt:1,color:"text.secondary",fontSize:"0.75rem",lineHeight:1.4},children:e.description})]})]})},yt=Lb({createStyledComponent:ce("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.container&&t.container]}}),componentName:"MuiGrid",useThemeProps:e=>Le({props:e,name:"MuiGrid"}),useTheme:io});process.env.NODE_ENV!=="production"&&(yt.propTypes={children:o.node,columns:o.oneOfType([o.arrayOf(o.number),o.number,o.object]),columnSpacing:o.oneOfType([o.arrayOf(o.oneOfType([o.number,o.string])),o.number,o.object,o.string]),container:o.bool,direction:o.oneOfType([o.oneOf(["column-reverse","column","row-reverse","row"]),o.arrayOf(o.oneOf(["column-reverse","column","row-reverse","row"])),o.object]),offset:o.oneOfType([o.string,o.number,o.arrayOf(o.oneOfType([o.string,o.number])),o.object]),rowSpacing:o.oneOfType([o.arrayOf(o.oneOfType([o.number,o.string])),o.number,o.object,o.string]),size:o.oneOfType([o.string,o.bool,o.number,o.arrayOf(o.oneOfType([o.string,o.bool,o.number])),o.object]),spacing:o.oneOfType([o.arrayOf(o.oneOfType([o.number,o.string])),o.number,o.object,o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),unstable_level:o.number,wrap:o.oneOf(["nowrap","wrap-reverse","wrap"])});if(process.env.NODE_ENV!=="production"){const e=yt,t=Iy("Grid",e);e.propTypes={...e.propTypes,direction:t("container"),spacing:t("container"),wrap:t("container")}}function fS(e){return _e("MuiCollapse",e)}Ne("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const hS=e=>{const{orientation:t,classes:n}=e;return Me({root:["root",t],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",t],wrapperInner:["wrapperInner",t]},fS,n)},mS=ce("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(Pe(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:t})=>t.state==="exited"&&!t.in&&t.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),gS=ce("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),bS=ce("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Ra=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiCollapse"}),{addEndListener:a,children:i,className:c,collapsedSize:u="0px",component:p,easing:f,in:h,onEnter:g,onEntered:y,onEntering:m,onExit:x,onExited:b,onExiting:k,orientation:E="vertical",slots:w={},slotProps:C={},style:S,timeout:j=z1.standard,TransitionComponent:R=Rn,...M}=r,L={...r,orientation:E,collapsedSize:u},H=hS(L),U=io(),K=uo(),v=T.useRef(null),O=T.useRef(),_=typeof u=="number"?`${u}px`:u,Y=E==="horizontal",F=Y?"width":"height",X=T.useRef(null),te=Mt(n,X),ee=()=>v.current?v.current[Y?"clientWidth":"clientHeight"]:0,W=Rt(X,(re,ke)=>{v.current&&Y&&(v.current.style.position="absolute"),re.style[F]=_,g&&g(re,ke)}),V=Rt(X,(re,ke)=>{const je=ee();v.current&&Y&&(v.current.style.position="");const{duration:be,easing:Ee}=vo({style:S,timeout:j,easing:f},{mode:"enter"});if(j==="auto"){const ze=U.transitions.getAutoHeightDuration(je);re.style.transitionDuration=`${ze}ms`,O.current=ze}else re.style.transitionDuration=typeof be=="string"?be:`${be}ms`;re.style[F]=`${je}px`,re.style.transitionTimingFunction=Ee,m&&m(re,ke)}),pe=Rt(X,(re,ke)=>{re.style[F]="auto",y&&y(re,ke)}),ue=Rt(X,re=>{re.style[F]=`${ee()}px`,x&&x(re)}),he=Rt(X,b),A=Rt(X,re=>{const ke=ee(),{duration:je,easing:be}=vo({style:S,timeout:j,easing:f},{mode:"exit"});if(j==="auto"){const Ee=U.transitions.getAutoHeightDuration(ke);re.style.transitionDuration=`${Ee}ms`,O.current=Ee}else re.style.transitionDuration=typeof je=="string"?je:`${je}ms`;re.style[F]=_,re.style.transitionTimingFunction=be,k&&k(re)}),N=re=>{j==="auto"&&K.start(O.current||0,re),a&&a(X.current,re)},$={slots:w,slotProps:C,component:p},[B,G]=Fe("root",{ref:te,className:ye(H.root,c),elementType:mS,externalForwardedProps:$,ownerState:L,additionalProps:{style:{[Y?"minWidth":"minHeight"]:_,...S}}}),[q,oe]=Fe("wrapper",{ref:v,className:H.wrapper,elementType:gS,externalForwardedProps:$,ownerState:L}),[z,fe]=Fe("wrapperInner",{className:H.wrapperInner,elementType:bS,externalForwardedProps:$,ownerState:L});return l.jsx(R,{in:h,onEnter:W,onEntered:pe,onEntering:V,onExit:ue,onExited:he,onExiting:A,addEndListener:N,nodeRef:X,timeout:j==="auto"?null:j,...M,children:(re,{ownerState:ke,...je})=>{const be={...L,state:re};return l.jsx(B,{...G,className:ye(G.className,{entered:H.entered,exited:!h&&_==="0px"&&H.hidden}[re]),ownerState:be,...je,children:l.jsx(q,{...oe,ownerState:be,children:l.jsx(z,{...fe,ownerState:be,children:i})})})}})});process.env.NODE_ENV!=="production"&&(Ra.propTypes={addEndListener:o.func,children:o.node,classes:o.object,className:o.string,collapsedSize:o.oneOfType([o.number,o.string]),component:oi,easing:o.oneOfType([o.shape({enter:o.string,exit:o.string}),o.string]),in:o.bool,onEnter:o.func,onEntered:o.func,onEntering:o.func,onExit:o.func,onExited:o.func,onExiting:o.func,orientation:o.oneOf(["horizontal","vertical"]),slotProps:o.shape({root:o.oneOfType([o.func,o.object]),wrapper:o.oneOfType([o.func,o.object]),wrapperInner:o.oneOfType([o.func,o.object])}),slots:o.shape({root:o.elementType,wrapper:o.elementType,wrapperInner:o.elementType}),style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),timeout:o.oneOfType([o.oneOf(["auto"]),o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})])});Ra&&(Ra.muiSupportAuto=!0);const yS=Q(l.jsx("path",{d:"M12 5V2L8 6l4 4V7c3.31 0 6 2.69 6 6 0 2.97-2.17 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93 0-4.42-3.58-8-8-8m-6 8c0-1.65.67-3.15 1.76-4.24L6.34 7.34C4.9 8.79 4 10.79 4 13c0 4.08 3.05 7.44 7 7.93v-2.02c-2.83-.48-5-2.94-5-5.91"}),"RestartAlt");var P;(function(e){e[e.NONE=0]="NONE";const n=1;e[e._abstract=n]="_abstract";const r=n+1;e[e._accessor=r]="_accessor";const a=r+1;e[e._as=a]="_as";const i=a+1;e[e._assert=i]="_assert";const c=i+1;e[e._asserts=c]="_asserts";const u=c+1;e[e._async=u]="_async";const p=u+1;e[e._await=p]="_await";const f=p+1;e[e._checks=f]="_checks";const h=f+1;e[e._constructor=h]="_constructor";const g=h+1;e[e._declare=g]="_declare";const y=g+1;e[e._enum=y]="_enum";const m=y+1;e[e._exports=m]="_exports";const x=m+1;e[e._from=x]="_from";const b=x+1;e[e._get=b]="_get";const k=b+1;e[e._global=k]="_global";const E=k+1;e[e._implements=E]="_implements";const w=E+1;e[e._infer=w]="_infer";const C=w+1;e[e._interface=C]="_interface";const S=C+1;e[e._is=S]="_is";const j=S+1;e[e._keyof=j]="_keyof";const R=j+1;e[e._mixins=R]="_mixins";const M=R+1;e[e._module=M]="_module";const L=M+1;e[e._namespace=L]="_namespace";const H=L+1;e[e._of=H]="_of";const U=H+1;e[e._opaque=U]="_opaque";const K=U+1;e[e._out=K]="_out";const v=K+1;e[e._override=v]="_override";const O=v+1;e[e._private=O]="_private";const _=O+1;e[e._protected=_]="_protected";const Y=_+1;e[e._proto=Y]="_proto";const F=Y+1;e[e._public=F]="_public";const X=F+1;e[e._readonly=X]="_readonly";const te=X+1;e[e._require=te]="_require";const ee=te+1;e[e._satisfies=ee]="_satisfies";const W=ee+1;e[e._set=W]="_set";const V=W+1;e[e._static=V]="_static";const pe=V+1;e[e._symbol=pe]="_symbol";const ue=pe+1;e[e._type=ue]="_type";const he=ue+1;e[e._unique=he]="_unique";const A=he+1;e[e._using=A]="_using"})(P||(P={}));var s;(function(e){e[e.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";const n=16;e[e.IS_KEYWORD=n]="IS_KEYWORD";const r=32;e[e.IS_ASSIGN=r]="IS_ASSIGN";const a=64;e[e.IS_RIGHT_ASSOCIATIVE=a]="IS_RIGHT_ASSOCIATIVE";const i=128;e[e.IS_PREFIX=i]="IS_PREFIX";const c=256;e[e.IS_POSTFIX=c]="IS_POSTFIX";const u=512;e[e.IS_EXPRESSION_START=u]="IS_EXPRESSION_START";const p=512;e[e.num=p]="num";const f=1536;e[e.bigint=f]="bigint";const h=2560;e[e.decimal=h]="decimal";const g=3584;e[e.regexp=g]="regexp";const y=4608;e[e.string=y]="string";const m=5632;e[e.name=m]="name";const x=6144;e[e.eof=x]="eof";const b=7680;e[e.bracketL=b]="bracketL";const k=8192;e[e.bracketR=k]="bracketR";const E=9728;e[e.braceL=E]="braceL";const w=10752;e[e.braceBarL=w]="braceBarL";const C=11264;e[e.braceR=C]="braceR";const S=12288;e[e.braceBarR=S]="braceBarR";const j=13824;e[e.parenL=j]="parenL";const R=14336;e[e.parenR=R]="parenR";const M=15360;e[e.comma=M]="comma";const L=16384;e[e.semi=L]="semi";const H=17408;e[e.colon=H]="colon";const U=18432;e[e.doubleColon=U]="doubleColon";const K=19456;e[e.dot=K]="dot";const v=20480;e[e.question=v]="question";const O=21504;e[e.questionDot=O]="questionDot";const _=22528;e[e.arrow=_]="arrow";const Y=23552;e[e.template=Y]="template";const F=24576;e[e.ellipsis=F]="ellipsis";const X=25600;e[e.backQuote=X]="backQuote";const te=27136;e[e.dollarBraceL=te]="dollarBraceL";const ee=27648;e[e.at=ee]="at";const W=29184;e[e.hash=W]="hash";const V=29728;e[e.eq=V]="eq";const pe=30752;e[e.assign=pe]="assign";const ue=32640;e[e.preIncDec=ue]="preIncDec";const he=33664;e[e.postIncDec=he]="postIncDec";const A=34432;e[e.bang=A]="bang";const N=35456;e[e.tilde=N]="tilde";const $=35841;e[e.pipeline=$]="pipeline";const B=36866;e[e.nullishCoalescing=B]="nullishCoalescing";const G=37890;e[e.logicalOR=G]="logicalOR";const q=38915;e[e.logicalAND=q]="logicalAND";const oe=39940;e[e.bitwiseOR=oe]="bitwiseOR";const z=40965;e[e.bitwiseXOR=z]="bitwiseXOR";const fe=41990;e[e.bitwiseAND=fe]="bitwiseAND";const re=43015;e[e.equality=re]="equality";const ke=44040;e[e.lessThan=ke]="lessThan";const je=45064;e[e.greaterThan=je]="greaterThan";const be=46088;e[e.relationalOrEqual=be]="relationalOrEqual";const Ee=47113;e[e.bitShiftL=Ee]="bitShiftL";const ze=48137;e[e.bitShiftR=ze]="bitShiftR";const Ze=49802;e[e.plus=Ze]="plus";const We=50826;e[e.minus=We]="minus";const Te=51723;e[e.modulo=Te]="modulo";const xt=52235;e[e.star=xt]="star";const it=53259;e[e.slash=it]="slash";const me=54348;e[e.exponent=me]="exponent";const ge=55296;e[e.jsxName=ge]="jsxName";const Ie=56320;e[e.jsxText=Ie]="jsxText";const De=57344;e[e.jsxEmptyText=De]="jsxEmptyText";const He=58880;e[e.jsxTagStart=He]="jsxTagStart";const Re=59392;e[e.jsxTagEnd=Re]="jsxTagEnd";const Ce=60928;e[e.typeParameterStart=Ce]="typeParameterStart";const Qe=61440;e[e.nonNullAssertion=Qe]="nonNullAssertion";const Ke=62480;e[e._break=Ke]="_break";const nt=63504;e[e._case=nt]="_case";const At=64528;e[e._catch=At]="_catch";const Zt=65552;e[e._continue=Zt]="_continue";const Qt=66576;e[e._debugger=Qt]="_debugger";const en=67600;e[e._default=en]="_default";const Yt=68624;e[e._do=Yt]="_do";const rn=69648;e[e._else=rn]="_else";const bn=70672;e[e._finally=bn]="_finally";const st=71696;e[e._for=st]="_for";const mt=73232;e[e._function=mt]="_function";const we=73744;e[e._if=we]="_if";const Ue=74768;e[e._return=Ue]="_return";const ot=75792;e[e._switch=ot]="_switch";const Be=77456;e[e._throw=Be]="_throw";const St=77840;e[e._try=St]="_try";const Se=78864;e[e._var=Se]="_var";const Oe=79888;e[e._let=Oe]="_let";const Je=80912;e[e._const=Je]="_const";const rt=81936;e[e._while=rt]="_while";const vt=82960;e[e._with=vt]="_with";const sn=84496;e[e._new=sn]="_new";const On=85520;e[e._this=On]="_this";const Yn=86544;e[e._super=Yn]="_super";const or=87568;e[e._class=or]="_class";const jo=88080;e[e._extends=jo]="_extends";const Ri=89104;e[e._export=Ri]="_export";const Oi=90640;e[e._import=Oi]="_import";const Pi=91664;e[e._yield=Pi]="_yield";const Ai=92688;e[e._null=Ai]="_null";const _i=93712;e[e._true=_i]="_true";const Ni=94736;e[e._false=Ni]="_false";const Mi=95256;e[e._in=Mi]="_in";const Bi=96280;e[e._instanceof=Bi]="_instanceof";const Fi=97936;e[e._typeof=Fi]="_typeof";const Li=98960;e[e._void=Li]="_void";const em=99984;e[e._delete=em]="_delete";const tm=100880;e[e._async=tm]="_async";const nm=101904;e[e._get=nm]="_get";const om=102928;e[e._set=om]="_set";const rm=103952;e[e._declare=rm]="_declare";const sm=104976;e[e._readonly=sm]="_readonly";const am=106e3;e[e._abstract=am]="_abstract";const im=107024;e[e._static=im]="_static";const lm=107536;e[e._public=lm]="_public";const cm=108560;e[e._private=cm]="_private";const um=109584;e[e._protected=um]="_protected";const pm=110608;e[e._override=pm]="_override";const dm=112144;e[e._as=dm]="_as";const fm=113168;e[e._enum=fm]="_enum";const hm=114192;e[e._type=hm]="_type";const mm=115216;e[e._implements=mm]="_implements"})(s||(s={}));function xS(e){switch(e){case s.num:return"num";case s.bigint:return"bigint";case s.decimal:return"decimal";case s.regexp:return"regexp";case s.string:return"string";case s.name:return"name";case s.eof:return"eof";case s.bracketL:return"[";case s.bracketR:return"]";case s.braceL:return"{";case s.braceBarL:return"{|";case s.braceR:return"}";case s.braceBarR:return"|}";case s.parenL:return"(";case s.parenR:return")";case s.comma:return",";case s.semi:return";";case s.colon:return":";case s.doubleColon:return"::";case s.dot:return".";case s.question:return"?";case s.questionDot:return"?.";case s.arrow:return"=>";case s.template:return"template";case s.ellipsis:return"...";case s.backQuote:return"`";case s.dollarBraceL:return"${";case s.at:return"@";case s.hash:return"#";case s.eq:return"=";case s.assign:return"_=";case s.preIncDec:return"++/--";case s.postIncDec:return"++/--";case s.bang:return"!";case s.tilde:return"~";case s.pipeline:return"|>";case s.nullishCoalescing:return"??";case s.logicalOR:return"||";case s.logicalAND:return"&&";case s.bitwiseOR:return"|";case s.bitwiseXOR:return"^";case s.bitwiseAND:return"&";case s.equality:return"==/!=";case s.lessThan:return"<";case s.greaterThan:return">";case s.relationalOrEqual:return"<=/>=";case s.bitShiftL:return"<<";case s.bitShiftR:return">>/>>>";case s.plus:return"+";case s.minus:return"-";case s.modulo:return"%";case s.star:return"*";case s.slash:return"/";case s.exponent:return"**";case s.jsxName:return"jsxName";case s.jsxText:return"jsxText";case s.jsxEmptyText:return"jsxEmptyText";case s.jsxTagStart:return"jsxTagStart";case s.jsxTagEnd:return"jsxTagEnd";case s.typeParameterStart:return"typeParameterStart";case s.nonNullAssertion:return"nonNullAssertion";case s._break:return"break";case s._case:return"case";case s._catch:return"catch";case s._continue:return"continue";case s._debugger:return"debugger";case s._default:return"default";case s._do:return"do";case s._else:return"else";case s._finally:return"finally";case s._for:return"for";case s._function:return"function";case s._if:return"if";case s._return:return"return";case s._switch:return"switch";case s._throw:return"throw";case s._try:return"try";case s._var:return"var";case s._let:return"let";case s._const:return"const";case s._while:return"while";case s._with:return"with";case s._new:return"new";case s._this:return"this";case s._super:return"super";case s._class:return"class";case s._extends:return"extends";case s._export:return"export";case s._import:return"import";case s._yield:return"yield";case s._null:return"null";case s._true:return"true";case s._false:return"false";case s._in:return"in";case s._instanceof:return"instanceof";case s._typeof:return"typeof";case s._void:return"void";case s._delete:return"delete";case s._async:return"async";case s._get:return"get";case s._set:return"set";case s._declare:return"declare";case s._readonly:return"readonly";case s._abstract:return"abstract";case s._static:return"static";case s._public:return"public";case s._private:return"private";case s._protected:return"protected";case s._override:return"override";case s._as:return"as";case s._enum:return"enum";case s._type:return"type";case s._implements:return"implements";default:return""}}class Gn{constructor(t,n,r){this.startTokenIndex=t,this.endTokenIndex=n,this.isFunctionScope=r}}class vS{constructor(t,n,r,a,i,c,u,p,f,h,g,y,m){this.potentialArrowAt=t,this.noAnonFunctionType=n,this.inDisallowConditionalTypesContext=r,this.tokensLength=a,this.scopesLength=i,this.pos=c,this.type=u,this.contextualKeyword=p,this.start=f,this.end=h,this.isType=g,this.scopeDepth=y,this.error=m}}class tn{constructor(){tn.prototype.__init.call(this),tn.prototype.__init2.call(this),tn.prototype.__init3.call(this),tn.prototype.__init4.call(this),tn.prototype.__init5.call(this),tn.prototype.__init6.call(this),tn.prototype.__init7.call(this),tn.prototype.__init8.call(this),tn.prototype.__init9.call(this),tn.prototype.__init10.call(this),tn.prototype.__init11.call(this),tn.prototype.__init12.call(this),tn.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=s.eof}__init8(){this.contextualKeyword=P.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new vS(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(t){this.potentialArrowAt=t.potentialArrowAt,this.noAnonFunctionType=t.noAnonFunctionType,this.inDisallowConditionalTypesContext=t.inDisallowConditionalTypesContext,this.tokens.length=t.tokensLength,this.scopes.length=t.scopesLength,this.pos=t.pos,this.type=t.type,this.contextualKeyword=t.contextualKeyword,this.start=t.start,this.end=t.end,this.isType=t.isType,this.scopeDepth=t.scopeDepth,this.error=t.error}}var D;(function(e){e[e.backSpace=8]="backSpace";const n=10;e[e.lineFeed=n]="lineFeed";const r=9;e[e.tab=r]="tab";const a=13;e[e.carriageReturn=a]="carriageReturn";const i=14;e[e.shiftOut=i]="shiftOut";const c=32;e[e.space=c]="space";const u=33;e[e.exclamationMark=u]="exclamationMark";const p=34;e[e.quotationMark=p]="quotationMark";const f=35;e[e.numberSign=f]="numberSign";const h=36;e[e.dollarSign=h]="dollarSign";const g=37;e[e.percentSign=g]="percentSign";const y=38;e[e.ampersand=y]="ampersand";const m=39;e[e.apostrophe=m]="apostrophe";const x=40;e[e.leftParenthesis=x]="leftParenthesis";const b=41;e[e.rightParenthesis=b]="rightParenthesis";const k=42;e[e.asterisk=k]="asterisk";const E=43;e[e.plusSign=E]="plusSign";const w=44;e[e.comma=w]="comma";const C=45;e[e.dash=C]="dash";const S=46;e[e.dot=S]="dot";const j=47;e[e.slash=j]="slash";const R=48;e[e.digit0=R]="digit0";const M=49;e[e.digit1=M]="digit1";const L=50;e[e.digit2=L]="digit2";const H=51;e[e.digit3=H]="digit3";const U=52;e[e.digit4=U]="digit4";const K=53;e[e.digit5=K]="digit5";const v=54;e[e.digit6=v]="digit6";const O=55;e[e.digit7=O]="digit7";const _=56;e[e.digit8=_]="digit8";const Y=57;e[e.digit9=Y]="digit9";const F=58;e[e.colon=F]="colon";const X=59;e[e.semicolon=X]="semicolon";const te=60;e[e.lessThan=te]="lessThan";const ee=61;e[e.equalsTo=ee]="equalsTo";const W=62;e[e.greaterThan=W]="greaterThan";const V=63;e[e.questionMark=V]="questionMark";const pe=64;e[e.atSign=pe]="atSign";const ue=65;e[e.uppercaseA=ue]="uppercaseA";const he=66;e[e.uppercaseB=he]="uppercaseB";const A=67;e[e.uppercaseC=A]="uppercaseC";const N=68;e[e.uppercaseD=N]="uppercaseD";const $=69;e[e.uppercaseE=$]="uppercaseE";const B=70;e[e.uppercaseF=B]="uppercaseF";const G=71;e[e.uppercaseG=G]="uppercaseG";const q=72;e[e.uppercaseH=q]="uppercaseH";const oe=73;e[e.uppercaseI=oe]="uppercaseI";const z=74;e[e.uppercaseJ=z]="uppercaseJ";const fe=75;e[e.uppercaseK=fe]="uppercaseK";const re=76;e[e.uppercaseL=re]="uppercaseL";const ke=77;e[e.uppercaseM=ke]="uppercaseM";const je=78;e[e.uppercaseN=je]="uppercaseN";const be=79;e[e.uppercaseO=be]="uppercaseO";const Ee=80;e[e.uppercaseP=Ee]="uppercaseP";const ze=81;e[e.uppercaseQ=ze]="uppercaseQ";const Ze=82;e[e.uppercaseR=Ze]="uppercaseR";const We=83;e[e.uppercaseS=We]="uppercaseS";const Te=84;e[e.uppercaseT=Te]="uppercaseT";const xt=85;e[e.uppercaseU=xt]="uppercaseU";const it=86;e[e.uppercaseV=it]="uppercaseV";const me=87;e[e.uppercaseW=me]="uppercaseW";const ge=88;e[e.uppercaseX=ge]="uppercaseX";const Ie=89;e[e.uppercaseY=Ie]="uppercaseY";const De=90;e[e.uppercaseZ=De]="uppercaseZ";const He=91;e[e.leftSquareBracket=He]="leftSquareBracket";const Re=92;e[e.backslash=Re]="backslash";const Ce=93;e[e.rightSquareBracket=Ce]="rightSquareBracket";const Qe=94;e[e.caret=Qe]="caret";const Ke=95;e[e.underscore=Ke]="underscore";const nt=96;e[e.graveAccent=nt]="graveAccent";const At=97;e[e.lowercaseA=At]="lowercaseA";const Zt=98;e[e.lowercaseB=Zt]="lowercaseB";const Qt=99;e[e.lowercaseC=Qt]="lowercaseC";const en=100;e[e.lowercaseD=en]="lowercaseD";const Yt=101;e[e.lowercaseE=Yt]="lowercaseE";const rn=102;e[e.lowercaseF=rn]="lowercaseF";const bn=103;e[e.lowercaseG=bn]="lowercaseG";const st=104;e[e.lowercaseH=st]="lowercaseH";const mt=105;e[e.lowercaseI=mt]="lowercaseI";const we=106;e[e.lowercaseJ=we]="lowercaseJ";const Ue=107;e[e.lowercaseK=Ue]="lowercaseK";const ot=108;e[e.lowercaseL=ot]="lowercaseL";const Be=109;e[e.lowercaseM=Be]="lowercaseM";const St=110;e[e.lowercaseN=St]="lowercaseN";const Se=111;e[e.lowercaseO=Se]="lowercaseO";const Oe=112;e[e.lowercaseP=Oe]="lowercaseP";const Je=113;e[e.lowercaseQ=Je]="lowercaseQ";const rt=114;e[e.lowercaseR=rt]="lowercaseR";const vt=115;e[e.lowercaseS=vt]="lowercaseS";const sn=116;e[e.lowercaseT=sn]="lowercaseT";const On=117;e[e.lowercaseU=On]="lowercaseU";const Yn=118;e[e.lowercaseV=Yn]="lowercaseV";const or=119;e[e.lowercaseW=or]="lowercaseW";const jo=120;e[e.lowercaseX=jo]="lowercaseX";const Ri=121;e[e.lowercaseY=Ri]="lowercaseY";const Oi=122;e[e.lowercaseZ=Oi]="lowercaseZ";const Pi=123;e[e.leftCurlyBrace=Pi]="leftCurlyBrace";const Ai=124;e[e.verticalBar=Ai]="verticalBar";const _i=125;e[e.rightCurlyBrace=_i]="rightCurlyBrace";const Ni=126;e[e.tilde=Ni]="tilde";const Mi=160;e[e.nonBreakingSpace=Mi]="nonBreakingSpace";const Bi=5760;e[e.oghamSpaceMark=Bi]="oghamSpaceMark";const Fi=8232;e[e.lineSeparator=Fi]="lineSeparator";const Li=8233;e[e.paragraphSeparator=Li]="paragraphSeparator"})(D||(D={}));let ki,tt,at,d,ve,cf;function Ss(){return cf++}function kS(e){if("pos"in e){const t=TS(e.pos);e.message+=` (${t.line}:${t.column})`,e.loc=t}return e}class SS{constructor(t,n){this.line=t,this.column=n}}function TS(e){let t=1,n=1;for(let r=0;r<e;r++)ve.charCodeAt(r)===D.lineFeed?(t++,n=1):n++;return new SS(t,n)}function CS(e,t,n,r){ve=e,d=new tn,cf=1,ki=t,tt=n,at=r}function Ae(e){return d.contextualKeyword===e}function Sc(e){const t=zs();return t.type===s.name&&t.contextualKeyword===e}function Ut(e){return d.contextualKeyword===e&&Z(s.name)}function $t(e){Ut(e)||Ge()}function dn(){return I(s.eof)||I(s.braceR)||nn()}function nn(){const e=d.tokens[d.tokens.length-1],t=e?e.end:0;for(let n=t;n<d.start;n++){const r=ve.charCodeAt(n);if(r===D.lineFeed||r===D.carriageReturn||r===8232||r===8233)return!0}return!1}function uf(){const e=Tc();for(let t=d.end;t<e;t++){const n=ve.charCodeAt(t);if(n===D.lineFeed||n===D.carriageReturn||n===8232||n===8233)return!0}return!1}function Vn(){return Z(s.semi)||dn()}function wt(){Vn()||Ge('Unexpected token, expected ";"')}function ie(e){Z(e)||Ge(`Unexpected token, expected "${xS(e)}"`)}function Ge(e="Unexpected token",t=d.start){if(d.error)return;const n=new SyntaxError(e);n.pos=t,d.error=n,d.pos=ve.length,qe(s.eof)}const pf=[9,11,12,D.space,D.nonBreakingSpace,D.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],Np=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,df=new Uint8Array(65536);for(const e of pf)df[e]=1;function wS(e){if(e<48)return e===36;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}const Mn=new Uint8Array(65536);for(let e=0;e<128;e++)Mn[e]=wS(e)?1:0;for(let e=128;e<65536;e++)Mn[e]=1;for(const e of pf)Mn[e]=0;Mn[8232]=0;Mn[8233]=0;const Ds=Mn.slice();for(let e=D.digit0;e<=D.digit9;e++)Ds[e]=0;const Mp=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,P._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,P._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,P._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,P._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,P._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._break<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._case<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._catch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,P._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,(s._class<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,(s._const<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,P._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._continue<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,(s._debugger<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,(s._default<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._delete<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._do<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._else<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,(s._export<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,P._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,(s._extends<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._false<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,(s._finally<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,(s._for<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._function<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,P._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,(s._if<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,P._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,(s._import<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._in<<1)+1,-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,P._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._instanceof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,(s._let<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,P._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,(s._new<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._null<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,P._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,P._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,P._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._return<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,P._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,P._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,(s._super<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._switch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,(s._this<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,(s._throw<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._true<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._try<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._typeof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,P._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,(s._var<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._void<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._while<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(s._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);function IS(){let e=0,t=0,n=d.pos;for(;n<ve.length&&(t=ve.charCodeAt(n),!(t<D.lowercaseA||t>D.lowercaseZ));){const a=Mp[e+(t-D.lowercaseA)+1];if(a===-1)break;e=a,n++}const r=Mp[e];if(r>-1&&!Mn[t]){d.pos=n,r&1?qe(r>>>1):qe(s.name,r>>>1);return}for(;n<ve.length;){const a=ve.charCodeAt(n);if(Mn[a])n++;else if(a===D.backslash){if(n+=2,ve.charCodeAt(n)===D.leftCurlyBrace){for(;n<ve.length&&ve.charCodeAt(n)!==D.rightCurlyBrace;)n++;n++}}else if(a===D.atSign&&ve.charCodeAt(n+1)===D.atSign)n+=2;else break}d.pos=n,qe(s.name)}var $e;(function(e){e[e.Access=0]="Access";const n=1;e[e.ExportAccess=n]="ExportAccess";const r=n+1;e[e.TopLevelDeclaration=r]="TopLevelDeclaration";const a=r+1;e[e.FunctionScopedDeclaration=a]="FunctionScopedDeclaration";const i=a+1;e[e.BlockScopedDeclaration=i]="BlockScopedDeclaration";const c=i+1;e[e.ObjectShorthandTopLevelDeclaration=c]="ObjectShorthandTopLevelDeclaration";const u=c+1;e[e.ObjectShorthandFunctionScopedDeclaration=u]="ObjectShorthandFunctionScopedDeclaration";const p=u+1;e[e.ObjectShorthandBlockScopedDeclaration=p]="ObjectShorthandBlockScopedDeclaration";const f=p+1;e[e.ObjectShorthand=f]="ObjectShorthand";const h=f+1;e[e.ImportDeclaration=h]="ImportDeclaration";const g=h+1;e[e.ObjectKey=g]="ObjectKey";const y=g+1;e[e.ImportAccess=y]="ImportAccess"})($e||($e={}));var _n;(function(e){e[e.NoChildren=0]="NoChildren";const n=1;e[e.OneChild=n]="OneChild";const r=n+1;e[e.StaticChildren=r]="StaticChildren";const a=r+1;e[e.KeyAfterPropSpread=a]="KeyAfterPropSpread"})(_n||(_n={}));function ff(e){const t=e.identifierRole;return t===$e.TopLevelDeclaration||t===$e.FunctionScopedDeclaration||t===$e.BlockScopedDeclaration||t===$e.ObjectShorthandTopLevelDeclaration||t===$e.ObjectShorthandFunctionScopedDeclaration||t===$e.ObjectShorthandBlockScopedDeclaration}function ES(e){const t=e.identifierRole;return t===$e.FunctionScopedDeclaration||t===$e.BlockScopedDeclaration||t===$e.ObjectShorthandFunctionScopedDeclaration||t===$e.ObjectShorthandBlockScopedDeclaration}function hf(e){const t=e.identifierRole;return t===$e.TopLevelDeclaration||t===$e.ObjectShorthandTopLevelDeclaration||t===$e.ImportDeclaration}function jS(e){const t=e.identifierRole;return t===$e.TopLevelDeclaration||t===$e.BlockScopedDeclaration||t===$e.ObjectShorthandTopLevelDeclaration||t===$e.ObjectShorthandBlockScopedDeclaration}function RS(e){const t=e.identifierRole;return t===$e.FunctionScopedDeclaration||t===$e.ObjectShorthandFunctionScopedDeclaration}function OS(e){return e.identifierRole===$e.ObjectShorthandTopLevelDeclaration||e.identifierRole===$e.ObjectShorthandBlockScopedDeclaration||e.identifierRole===$e.ObjectShorthandFunctionScopedDeclaration}class Si{constructor(){this.type=d.type,this.contextualKeyword=d.contextualKeyword,this.start=d.start,this.end=d.end,this.scopeDepth=d.scopeDepth,this.isType=d.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}}function le(){d.tokens.push(new Si),yf()}function fo(){d.tokens.push(new Si),d.start=d.pos,GS()}function PS(){d.type===s.assign&&--d.pos,HS()}function Xe(e){for(let n=d.tokens.length-e;n<d.tokens.length;n++)d.tokens[n].isType=!0;const t=d.isType;return d.isType=!0,t}function Ye(e){d.isType=e}function Z(e){return I(e)?(le(),!0):!1}function mf(e){const t=d.isType;d.isType=!0,Z(e),d.isType=t}function I(e){return d.type===e}function Ot(){const e=d.snapshot();le();const t=d.type;return d.restoreFromSnapshot(e),t}class AS{constructor(t,n){this.type=t,this.contextualKeyword=n}}function zs(){const e=d.snapshot();le();const t=d.type,n=d.contextualKeyword;return d.restoreFromSnapshot(e),new AS(t,n)}function Tc(){return gf(d.pos)}function gf(e){Np.lastIndex=e;const t=Np.exec(ve);return e+t[0].length}function bf(){return ve.charCodeAt(Tc())}function yf(){if(vf(),d.start=d.pos,d.pos>=ve.length){const e=d.tokens;e.length>=2&&e[e.length-1].start>=ve.length&&e[e.length-2].start>=ve.length&&Ge("Unexpectedly reached the end of input."),qe(s.eof);return}_S(ve.charCodeAt(d.pos))}function _S(e){Ds[e]||e===D.backslash||e===D.atSign&&ve.charCodeAt(d.pos+1)===D.atSign?IS():Tf(e)}function NS(){for(;ve.charCodeAt(d.pos)!==D.asterisk||ve.charCodeAt(d.pos+1)!==D.slash;)if(d.pos++,d.pos>ve.length){Ge("Unterminated comment",d.pos-2);return}d.pos+=2}function xf(e){let t=ve.charCodeAt(d.pos+=e);if(d.pos<ve.length)for(;t!==D.lineFeed&&t!==D.carriageReturn&&t!==D.lineSeparator&&t!==D.paragraphSeparator&&++d.pos<ve.length;)t=ve.charCodeAt(d.pos)}function vf(){for(;d.pos<ve.length;){const e=ve.charCodeAt(d.pos);switch(e){case D.carriageReturn:ve.charCodeAt(d.pos+1)===D.lineFeed&&++d.pos;case D.lineFeed:case D.lineSeparator:case D.paragraphSeparator:++d.pos;break;case D.slash:switch(ve.charCodeAt(d.pos+1)){case D.asterisk:d.pos+=2,NS();break;case D.slash:xf(2);break;default:return}break;default:if(df[e])++d.pos;else return}}}function qe(e,t=P.NONE){d.end=d.pos,d.type=e,d.contextualKeyword=t}function MS(){const e=ve.charCodeAt(d.pos+1);if(e>=D.digit0&&e<=D.digit9){Cf(!0);return}e===D.dot&&ve.charCodeAt(d.pos+2)===D.dot?(d.pos+=3,qe(s.ellipsis)):(++d.pos,qe(s.dot))}function BS(){ve.charCodeAt(d.pos+1)===D.equalsTo?lt(s.assign,2):lt(s.slash,1)}function FS(e){let t=e===D.asterisk?s.star:s.modulo,n=1,r=ve.charCodeAt(d.pos+1);e===D.asterisk&&r===D.asterisk&&(n++,r=ve.charCodeAt(d.pos+2),t=s.exponent),r===D.equalsTo&&ve.charCodeAt(d.pos+2)!==D.greaterThan&&(n++,t=s.assign),lt(t,n)}function LS(e){const t=ve.charCodeAt(d.pos+1);if(t===e){ve.charCodeAt(d.pos+2)===D.equalsTo?lt(s.assign,3):lt(e===D.verticalBar?s.logicalOR:s.logicalAND,2);return}if(e===D.verticalBar){if(t===D.greaterThan){lt(s.pipeline,2);return}else if(t===D.rightCurlyBrace&&at){lt(s.braceBarR,2);return}}if(t===D.equalsTo){lt(s.assign,2);return}lt(e===D.verticalBar?s.bitwiseOR:s.bitwiseAND,1)}function $S(){ve.charCodeAt(d.pos+1)===D.equalsTo?lt(s.assign,2):lt(s.bitwiseXOR,1)}function DS(e){const t=ve.charCodeAt(d.pos+1);if(t===e){lt(s.preIncDec,2);return}t===D.equalsTo?lt(s.assign,2):e===D.plusSign?lt(s.plus,1):lt(s.minus,1)}function zS(){const e=ve.charCodeAt(d.pos+1);if(e===D.lessThan){if(ve.charCodeAt(d.pos+2)===D.equalsTo){lt(s.assign,3);return}d.isType?lt(s.lessThan,1):lt(s.bitShiftL,2);return}e===D.equalsTo?lt(s.relationalOrEqual,2):lt(s.lessThan,1)}function kf(){if(d.isType){lt(s.greaterThan,1);return}const e=ve.charCodeAt(d.pos+1);if(e===D.greaterThan){const t=ve.charCodeAt(d.pos+2)===D.greaterThan?3:2;if(ve.charCodeAt(d.pos+t)===D.equalsTo){lt(s.assign,t+1);return}lt(s.bitShiftR,t);return}e===D.equalsTo?lt(s.relationalOrEqual,2):lt(s.greaterThan,1)}function Sf(){d.type===s.greaterThan&&(d.pos-=1,kf())}function VS(e){const t=ve.charCodeAt(d.pos+1);if(t===D.equalsTo){lt(s.equality,ve.charCodeAt(d.pos+2)===D.equalsTo?3:2);return}if(e===D.equalsTo&&t===D.greaterThan){d.pos+=2,qe(s.arrow);return}lt(e===D.equalsTo?s.eq:s.bang,1)}function WS(){const e=ve.charCodeAt(d.pos+1),t=ve.charCodeAt(d.pos+2);e===D.questionMark&&!(at&&d.isType)?t===D.equalsTo?lt(s.assign,3):lt(s.nullishCoalescing,2):e===D.dot&&!(t>=D.digit0&&t<=D.digit9)?(d.pos+=2,qe(s.questionDot)):(++d.pos,qe(s.question))}function Tf(e){switch(e){case D.numberSign:++d.pos,qe(s.hash);return;case D.dot:MS();return;case D.leftParenthesis:++d.pos,qe(s.parenL);return;case D.rightParenthesis:++d.pos,qe(s.parenR);return;case D.semicolon:++d.pos,qe(s.semi);return;case D.comma:++d.pos,qe(s.comma);return;case D.leftSquareBracket:++d.pos,qe(s.bracketL);return;case D.rightSquareBracket:++d.pos,qe(s.bracketR);return;case D.leftCurlyBrace:at&&ve.charCodeAt(d.pos+1)===D.verticalBar?lt(s.braceBarL,2):(++d.pos,qe(s.braceL));return;case D.rightCurlyBrace:++d.pos,qe(s.braceR);return;case D.colon:ve.charCodeAt(d.pos+1)===D.colon?lt(s.doubleColon,2):(++d.pos,qe(s.colon));return;case D.questionMark:WS();return;case D.atSign:++d.pos,qe(s.at);return;case D.graveAccent:++d.pos,qe(s.backQuote);return;case D.digit0:{const t=ve.charCodeAt(d.pos+1);if(t===D.lowercaseX||t===D.uppercaseX||t===D.lowercaseO||t===D.uppercaseO||t===D.lowercaseB||t===D.uppercaseB){US();return}}case D.digit1:case D.digit2:case D.digit3:case D.digit4:case D.digit5:case D.digit6:case D.digit7:case D.digit8:case D.digit9:Cf(!1);return;case D.quotationMark:case D.apostrophe:qS(e);return;case D.slash:BS();return;case D.percentSign:case D.asterisk:FS(e);return;case D.verticalBar:case D.ampersand:LS(e);return;case D.caret:$S();return;case D.plusSign:case D.dash:DS(e);return;case D.lessThan:zS();return;case D.greaterThan:kf();return;case D.equalsTo:case D.exclamationMark:VS(e);return;case D.tilde:lt(s.tilde,1);return}Ge(`Unexpected character '${String.fromCharCode(e)}'`,d.pos)}function lt(e,t){d.pos+=t,qe(e)}function HS(){const e=d.pos;let t=!1,n=!1;for(;;){if(d.pos>=ve.length){Ge("Unterminated regular expression",e);return}const r=ve.charCodeAt(d.pos);if(t)t=!1;else{if(r===D.leftSquareBracket)n=!0;else if(r===D.rightSquareBracket&&n)n=!1;else if(r===D.slash&&!n)break;t=r===D.backslash}++d.pos}++d.pos,KS(),qe(s.regexp)}function nl(){for(;;){const e=ve.charCodeAt(d.pos);if(e>=D.digit0&&e<=D.digit9||e===D.underscore)d.pos++;else break}}function US(){for(d.pos+=2;;){const t=ve.charCodeAt(d.pos);if(t>=D.digit0&&t<=D.digit9||t>=D.lowercaseA&&t<=D.lowercaseF||t>=D.uppercaseA&&t<=D.uppercaseF||t===D.underscore)d.pos++;else break}ve.charCodeAt(d.pos)===D.lowercaseN?(++d.pos,qe(s.bigint)):qe(s.num)}function Cf(e){let t=!1,n=!1;e||nl();let r=ve.charCodeAt(d.pos);if(r===D.dot&&(++d.pos,nl(),r=ve.charCodeAt(d.pos)),(r===D.uppercaseE||r===D.lowercaseE)&&(r=ve.charCodeAt(++d.pos),(r===D.plusSign||r===D.dash)&&++d.pos,nl(),r=ve.charCodeAt(d.pos)),r===D.lowercaseN?(++d.pos,t=!0):r===D.lowercaseM&&(++d.pos,n=!0),t){qe(s.bigint);return}if(n){qe(s.decimal);return}qe(s.num)}function qS(e){for(d.pos++;;){if(d.pos>=ve.length){Ge("Unterminated string constant");return}const t=ve.charCodeAt(d.pos);if(t===D.backslash)d.pos++;else if(t===e)break;d.pos++}d.pos++,qe(s.string)}function GS(){for(;;){if(d.pos>=ve.length){Ge("Unterminated template");return}const e=ve.charCodeAt(d.pos);if(e===D.graveAccent||e===D.dollarSign&&ve.charCodeAt(d.pos+1)===D.leftCurlyBrace){if(d.pos===d.start&&I(s.template))if(e===D.dollarSign){d.pos+=2,qe(s.dollarBraceL);return}else{++d.pos,qe(s.backQuote);return}qe(s.template);return}e===D.backslash&&d.pos++,d.pos++}}function KS(){for(;d.pos<ve.length;){const e=ve.charCodeAt(d.pos);if(Mn[e])d.pos++;else if(e===D.backslash){if(d.pos+=2,ve.charCodeAt(d.pos)===D.leftCurlyBrace){for(;d.pos<ve.length&&ve.charCodeAt(d.pos)!==D.rightCurlyBrace;)d.pos++;d.pos++}}else break}}function Ts(e,t=e.currentIndex()){let n=t+1;if(ea(e,n)){const r=e.identifierNameAtIndex(t);return{isType:!1,leftName:r,rightName:r,endIndex:n}}if(n++,ea(e,n))return{isType:!0,leftName:null,rightName:null,endIndex:n};if(n++,ea(e,n))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:n};if(n++,ea(e,n))return{isType:!0,leftName:null,rightName:null,endIndex:n};throw new Error(`Unexpected import/export specifier at ${t}`)}function ea(e,t){const n=e.tokens[t];return n.type===s.braceR||n.type===s.comma}const YS=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp"," "],["iexcl","¡"],["cent","¢"],["pound","£"],["curren","¤"],["yen","¥"],["brvbar","¦"],["sect","§"],["uml","¨"],["copy","©"],["ordf","ª"],["laquo","«"],["not","¬"],["shy","­"],["reg","®"],["macr","¯"],["deg","°"],["plusmn","±"],["sup2","²"],["sup3","³"],["acute","´"],["micro","µ"],["para","¶"],["middot","·"],["cedil","¸"],["sup1","¹"],["ordm","º"],["raquo","»"],["frac14","¼"],["frac12","½"],["frac34","¾"],["iquest","¿"],["Agrave","À"],["Aacute","Á"],["Acirc","Â"],["Atilde","Ã"],["Auml","Ä"],["Aring","Å"],["AElig","Æ"],["Ccedil","Ç"],["Egrave","È"],["Eacute","É"],["Ecirc","Ê"],["Euml","Ë"],["Igrave","Ì"],["Iacute","Í"],["Icirc","Î"],["Iuml","Ï"],["ETH","Ð"],["Ntilde","Ñ"],["Ograve","Ò"],["Oacute","Ó"],["Ocirc","Ô"],["Otilde","Õ"],["Ouml","Ö"],["times","×"],["Oslash","Ø"],["Ugrave","Ù"],["Uacute","Ú"],["Ucirc","Û"],["Uuml","Ü"],["Yacute","Ý"],["THORN","Þ"],["szlig","ß"],["agrave","à"],["aacute","á"],["acirc","â"],["atilde","ã"],["auml","ä"],["aring","å"],["aelig","æ"],["ccedil","ç"],["egrave","è"],["eacute","é"],["ecirc","ê"],["euml","ë"],["igrave","ì"],["iacute","í"],["icirc","î"],["iuml","ï"],["eth","ð"],["ntilde","ñ"],["ograve","ò"],["oacute","ó"],["ocirc","ô"],["otilde","õ"],["ouml","ö"],["divide","÷"],["oslash","ø"],["ugrave","ù"],["uacute","ú"],["ucirc","û"],["uuml","ü"],["yacute","ý"],["thorn","þ"],["yuml","ÿ"],["OElig","Œ"],["oelig","œ"],["Scaron","Š"],["scaron","š"],["Yuml","Ÿ"],["fnof","ƒ"],["circ","ˆ"],["tilde","˜"],["Alpha","Α"],["Beta","Β"],["Gamma","Γ"],["Delta","Δ"],["Epsilon","Ε"],["Zeta","Ζ"],["Eta","Η"],["Theta","Θ"],["Iota","Ι"],["Kappa","Κ"],["Lambda","Λ"],["Mu","Μ"],["Nu","Ν"],["Xi","Ξ"],["Omicron","Ο"],["Pi","Π"],["Rho","Ρ"],["Sigma","Σ"],["Tau","Τ"],["Upsilon","Υ"],["Phi","Φ"],["Chi","Χ"],["Psi","Ψ"],["Omega","Ω"],["alpha","α"],["beta","β"],["gamma","γ"],["delta","δ"],["epsilon","ε"],["zeta","ζ"],["eta","η"],["theta","θ"],["iota","ι"],["kappa","κ"],["lambda","λ"],["mu","μ"],["nu","ν"],["xi","ξ"],["omicron","ο"],["pi","π"],["rho","ρ"],["sigmaf","ς"],["sigma","σ"],["tau","τ"],["upsilon","υ"],["phi","φ"],["chi","χ"],["psi","ψ"],["omega","ω"],["thetasym","ϑ"],["upsih","ϒ"],["piv","ϖ"],["ensp"," "],["emsp"," "],["thinsp"," "],["zwnj","‌"],["zwj","‍"],["lrm","‎"],["rlm","‏"],["ndash","–"],["mdash","—"],["lsquo","‘"],["rsquo","’"],["sbquo","‚"],["ldquo","“"],["rdquo","”"],["bdquo","„"],["dagger","†"],["Dagger","‡"],["bull","•"],["hellip","…"],["permil","‰"],["prime","′"],["Prime","″"],["lsaquo","‹"],["rsaquo","›"],["oline","‾"],["frasl","⁄"],["euro","€"],["image","ℑ"],["weierp","℘"],["real","ℜ"],["trade","™"],["alefsym","ℵ"],["larr","←"],["uarr","↑"],["rarr","→"],["darr","↓"],["harr","↔"],["crarr","↵"],["lArr","⇐"],["uArr","⇑"],["rArr","⇒"],["dArr","⇓"],["hArr","⇔"],["forall","∀"],["part","∂"],["exist","∃"],["empty","∅"],["nabla","∇"],["isin","∈"],["notin","∉"],["ni","∋"],["prod","∏"],["sum","∑"],["minus","−"],["lowast","∗"],["radic","√"],["prop","∝"],["infin","∞"],["ang","∠"],["and","∧"],["or","∨"],["cap","∩"],["cup","∪"],["int","∫"],["there4","∴"],["sim","∼"],["cong","≅"],["asymp","≈"],["ne","≠"],["equiv","≡"],["le","≤"],["ge","≥"],["sub","⊂"],["sup","⊃"],["nsub","⊄"],["sube","⊆"],["supe","⊇"],["oplus","⊕"],["otimes","⊗"],["perp","⊥"],["sdot","⋅"],["lceil","⌈"],["rceil","⌉"],["lfloor","⌊"],["rfloor","⌋"],["lang","〈"],["rang","〉"],["loz","◊"],["spades","♠"],["clubs","♣"],["hearts","♥"],["diams","♦"]]);function wf(e){const[t,n]=Bp(e.jsxPragma||"React.createElement"),[r,a]=Bp(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:n,fragmentBase:r,fragmentSuffix:a}}function Bp(e){let t=e.indexOf(".");return t===-1&&(t=e.length),[e.slice(0,t),e.slice(t)]}class Bn{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}class No extends Bn{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(t,n,r,a,i){super(),this.rootTransformer=t,this.tokens=n,this.importProcessor=r,this.nameManager=a,this.options=i,No.prototype.__init.call(this),No.prototype.__init2.call(this),No.prototype.__init3.call(this),No.prototype.__init4.call(this),No.prototype.__init5.call(this),this.jsxPragmaInfo=wf(i),this.isAutomaticRuntime=i.jsxRuntime==="automatic",this.jsxImportSource=i.jsxImportSource||"react"}process(){return this.tokens.matches1(s.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let t="";if(this.filenameVarName&&(t+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(const[n,r]of Object.entries(this.cjsAutomaticModuleNameResolutions))t+=`var ${r} = require("${n}");`;else{const{createElement:n,...r}=this.esmAutomaticImportNameResolutions;n&&(t+=`import {createElement as ${n}} from "${this.jsxImportSource}";`);const a=Object.entries(r).map(([i,c])=>`${i} as ${c}`).join(", ");if(a){const i=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");t+=`import {${a}} from "${i}";`}}return t}processJSXTag(){const{jsxRole:t,start:n}=this.tokens.currentToken(),r=this.options.production?null:this.getElementLocationCode(n);this.isAutomaticRuntime&&t!==_n.KeyAfterPropSpread?this.transformTagToJSXFunc(r,t):this.transformTagToCreateElement(r)}getElementLocationCode(t){return`lineNumber: ${this.getLineNumberForIndex(t)}`}getLineNumberForIndex(t){const n=this.tokens.code;for(;this.lastIndex<t&&this.lastIndex<n.length;)n[this.lastIndex]===`
201
+ `&&this.lastLineNumber++,this.lastIndex++;return this.lastLineNumber}transformTagToJSXFunc(t,n){const r=n===_n.StaticChildren;this.tokens.replaceToken(this.getJSXFuncInvocationCode(r));let a=null;if(this.tokens.matches1(s.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, {`),this.processAutomaticChildrenAndEndProps(n);else{if(this.processTagIntro(),this.tokens.appendCode(", {"),a=this.processProps(!0),this.tokens.matches2(s.slash,s.jsxTagEnd))this.tokens.appendCode("}");else if(this.tokens.matches1(s.jsxTagEnd))this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(n);else throw new Error("Expected either /> or > at the end of the tag.");a&&this.tokens.appendCode(`, ${a}`)}for(this.options.production||(a===null&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${r}, ${this.getDevSource(t)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(s.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(t){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(s.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(t),!this.tokens.matches2(s.slash,s.jsxTagEnd))if(this.tokens.matches1(s.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw new Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(s.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(t){return this.options.production?t?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{const{jsxPragmaInfo:t}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.base)||t.base}${t.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{const{jsxPragmaInfo:t}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.fragmentBase)||t.fragmentBase)+t.fragmentSuffix}}claimAutoImportedFuncInvocation(t,n){const r=this.claimAutoImportedName(t,n);return this.importProcessor?`${r}.call(void 0, `:`${r}(`}claimAutoImportedName(t,n){if(this.importProcessor){const r=this.jsxImportSource+n;return this.cjsAutomaticModuleNameResolutions[r]||(this.cjsAutomaticModuleNameResolutions[r]=this.importProcessor.getFreeIdentifierForPath(r)),`${this.cjsAutomaticModuleNameResolutions[r]}.${t}`}else return this.esmAutomaticImportNameResolutions[t]||(this.esmAutomaticImportNameResolutions[t]=this.nameManager.claimFreeName(`_${t}`)),this.esmAutomaticImportNameResolutions[t]}processTagIntro(){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType||!this.tokens.matches2AtIndex(t-1,s.jsxName,s.jsxName)&&!this.tokens.matches2AtIndex(t-1,s.greaterThan,s.jsxName)&&!this.tokens.matches1AtIndex(t,s.braceL)&&!this.tokens.matches1AtIndex(t,s.jsxTagEnd)&&!this.tokens.matches2AtIndex(t,s.slash,s.jsxTagEnd);)t++;if(t===this.tokens.currentIndex()+1){const n=this.tokens.identifierName();If(n)&&this.tokens.replaceToken(`'${n}'`)}for(;this.tokens.currentIndex()<t;)this.rootTransformer.processToken()}processPropsObjectWithDevInfo(t){const n=this.options.production?"":`__self: this, __source: ${this.getDevSource(t)}`;if(!this.tokens.matches1(s.jsxName)&&!this.tokens.matches1(s.braceL)){n?this.tokens.appendCode(`, {${n}}`):this.tokens.appendCode(", null");return}this.tokens.appendCode(", {"),this.processProps(!1),n?this.tokens.appendCode(` ${n}}`):this.tokens.appendCode("}")}processProps(t){let n=null;for(;;){if(this.tokens.matches2(s.jsxName,s.eq)){const r=this.tokens.identifierName();if(t&&r==="key"){n!==null&&this.tokens.appendCode(n.replace(/[^\n]/g,"")),this.tokens.removeToken(),this.tokens.removeToken();const a=this.tokens.snapshot();this.processPropValue(),n=this.tokens.dangerouslyGetAndRemoveCodeSinceSnapshot(a);continue}else this.processPropName(r),this.tokens.replaceToken(": "),this.processPropValue()}else if(this.tokens.matches1(s.jsxName)){const r=this.tokens.identifierName();this.processPropName(r),this.tokens.appendCode(": true")}else if(this.tokens.matches1(s.braceL))this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("");else break;this.tokens.appendCode(",")}return n}processPropName(t){t.includes("-")?this.tokens.replaceToken(`'${t}'`):this.tokens.copyToken()}processPropValue(){this.tokens.matches1(s.braceL)?(this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("")):this.tokens.matches1(s.jsxTagStart)?this.processJSXTag():this.processStringPropValue()}processStringPropValue(){const t=this.tokens.currentToken(),n=this.tokens.code.slice(t.start+1,t.end-1),r=Fp(n),a=JS(n);this.tokens.replaceToken(a+r)}processAutomaticChildrenAndEndProps(t){t===_n.StaticChildren?(this.tokens.appendCode(" children: ["),this.processChildren(!1),this.tokens.appendCode("]}")):(t===_n.OneChild&&this.tokens.appendCode(" children: "),this.processChildren(!1),this.tokens.appendCode("}"))}processChildren(t){let n=t;for(;;){if(this.tokens.matches2(s.jsxTagStart,s.slash))return;let r=!1;if(this.tokens.matches1(s.braceL))this.tokens.matches2(s.braceL,s.braceR)?(this.tokens.replaceToken(""),this.tokens.replaceToken("")):(this.tokens.replaceToken(n?", ":""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken(""),r=!0);else if(this.tokens.matches1(s.jsxTagStart))this.tokens.appendCode(n?", ":""),this.processJSXTag(),r=!0;else if(this.tokens.matches1(s.jsxText)||this.tokens.matches1(s.jsxEmptyText))r=this.processChildTextElement(n);else throw new Error("Unexpected token when processing JSX children.");r&&(n=!0)}}processChildTextElement(t){const n=this.tokens.currentToken(),r=this.tokens.code.slice(n.start,n.end),a=Fp(r),i=XS(r);return i==='""'?(this.tokens.replaceToken(a),!1):(this.tokens.replaceToken(`${t?", ":""}${i}${a}`),!0)}getDevSource(t){return`{fileName: ${this.getFilenameVarName()}, ${t}}`}getFilenameVarName(){return this.filenameVarName||(this.filenameVarName=this.nameManager.claimFreeName("_jsxFileName")),this.filenameVarName}}function If(e){const t=e.charCodeAt(0);return t>=D.lowercaseA&&t<=D.lowercaseZ}function XS(e){let t="",n="",r=!1,a=!1;for(let i=0;i<e.length;i++){const c=e[i];if(c===" "||c===" "||c==="\r")r||(n+=c);else if(c===`
202
+ `)n="",r=!0;else{if(a&&r&&(t+=" "),t+=n,n="",c==="&"){const{entity:u,newI:p}=Ef(e,i+1);i=p-1,t+=u}else t+=c;a=!0,r=!1}}return r||(t+=n),JSON.stringify(t)}function Fp(e){let t=0,n=0;for(const r of e)r===`
203
+ `?(t++,n=0):r===" "&&n++;return`
204
+ `.repeat(t)+" ".repeat(n)}function JS(e){let t="";for(let n=0;n<e.length;n++){const r=e[n];if(r===`
205
+ `)if(/\s/.test(e[n+1]))for(t+=" ";n<e.length&&/\s/.test(e[n+1]);)n++;else t+=`
206
+ `;else if(r==="&"){const{entity:a,newI:i}=Ef(e,n+1);t+=a,n=i-1}else t+=r}return JSON.stringify(t)}function Ef(e,t){let n="",r=0,a,i=t;if(e[i]==="#"){let c=10;i++;let u;if(e[i]==="x")for(c=16,i++,u=i;i<e.length&&QS(e.charCodeAt(i));)i++;else for(u=i;i<e.length&&ZS(e.charCodeAt(i));)i++;if(e[i]===";"){const p=e.slice(u,i);p&&(i++,a=String.fromCodePoint(parseInt(p,c)))}}else for(;i<e.length&&r++<10;){const c=e[i];if(i++,c===";"){a=YS.get(n);break}n+=c}return a?{entity:a,newI:i}:{entity:"&",newI:t}}function ZS(e){return e>=D.digit0&&e<=D.digit9}function QS(e){return e>=D.digit0&&e<=D.digit9||e>=D.lowercaseA&&e<=D.lowercaseF||e>=D.uppercaseA&&e<=D.uppercaseF}function jf(e,t){const n=wf(t),r=new Set;for(let a=0;a<e.tokens.length;a++){const i=e.tokens[a];if(i.type===s.name&&!i.isType&&(i.identifierRole===$e.Access||i.identifierRole===$e.ObjectShorthand||i.identifierRole===$e.ExportAccess)&&!i.shadowsGlobal&&r.add(e.identifierNameForToken(i)),i.type===s.jsxTagStart&&r.add(n.base),i.type===s.jsxTagStart&&a+1<e.tokens.length&&e.tokens[a+1].type===s.jsxTagEnd&&(r.add(n.base),r.add(n.fragmentBase)),i.type===s.jsxName&&i.identifierRole===$e.Access){const c=e.identifierNameForToken(i);(!If(c)||e.tokens[a+1].type===s.dot)&&r.add(e.identifierNameForToken(i))}}return r}class Mo{__init(){this.nonTypeIdentifiers=new Set}__init2(){this.importInfoByPath=new Map}__init3(){this.importsToReplace=new Map}__init4(){this.identifierReplacements=new Map}__init5(){this.exportBindingsByLocalName=new Map}constructor(t,n,r,a,i,c,u){this.nameManager=t,this.tokens=n,this.enableLegacyTypeScriptModuleInterop=r,this.options=a,this.isTypeScriptTransformEnabled=i,this.keepUnusedImports=c,this.helperManager=u,Mo.prototype.__init.call(this),Mo.prototype.__init2.call(this),Mo.prototype.__init3.call(this),Mo.prototype.__init4.call(this),Mo.prototype.__init5.call(this)}preprocessTokens(){for(let t=0;t<this.tokens.tokens.length;t++)this.tokens.matches1AtIndex(t,s._import)&&!this.tokens.matches3AtIndex(t,s._import,s.name,s.eq)&&this.preprocessImportAtIndex(t),this.tokens.matches1AtIndex(t,s._export)&&!this.tokens.matches2AtIndex(t,s._export,s.eq)&&this.preprocessExportAtIndex(t);this.generateImportReplacements()}pruneTypeOnlyImports(){this.nonTypeIdentifiers=jf(this.tokens,this.options);for(const[t,n]of this.importInfoByPath.entries()){if(n.hasBareImport||n.hasStarExport||n.exportStarNames.length>0||n.namedExports.length>0)continue;[...n.defaultNames,...n.wildcardNames,...n.namedImports.map(({localName:a})=>a)].every(a=>this.shouldAutomaticallyElideImportedName(a))&&this.importsToReplace.set(t,"")}}shouldAutomaticallyElideImportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(t)}generateImportReplacements(){for(const[t,n]of this.importInfoByPath.entries()){const{defaultNames:r,wildcardNames:a,namedImports:i,namedExports:c,exportStarNames:u,hasStarExport:p}=n;if(r.length===0&&a.length===0&&i.length===0&&c.length===0&&u.length===0&&!p){this.importsToReplace.set(t,`require('${t}');`);continue}const f=this.getFreeIdentifierForPath(t);let h;this.enableLegacyTypeScriptModuleInterop?h=f:h=a.length>0?a[0]:this.getFreeIdentifierForPath(t);let g=`var ${f} = require('${t}');`;if(a.length>0)for(const y of a){const m=this.enableLegacyTypeScriptModuleInterop?f:`${this.helperManager.getHelperName("interopRequireWildcard")}(${f})`;g+=` var ${y} = ${m};`}else u.length>0&&h!==f?g+=` var ${h} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${f});`:r.length>0&&h!==f&&(g+=` var ${h} = ${this.helperManager.getHelperName("interopRequireDefault")}(${f});`);for(const{importedName:y,localName:m}of c)g+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${f}, '${m}', '${y}');`;for(const y of u)g+=` exports.${y} = ${h};`;p&&(g+=` ${this.helperManager.getHelperName("createStarExport")}(${f});`),this.importsToReplace.set(t,g);for(const y of r)this.identifierReplacements.set(y,`${h}.default`);for(const{importedName:y,localName:m}of i)this.identifierReplacements.set(m,`${f}.${y}`)}}getFreeIdentifierForPath(t){const n=t.split("/"),a=n[n.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${a}`)}preprocessImportAtIndex(t){const n=[],r=[],a=[];if(t++,(this.tokens.matchesContextualAtIndex(t,P._type)||this.tokens.matches1AtIndex(t,s._typeof))&&!this.tokens.matches1AtIndex(t+1,s.comma)&&!this.tokens.matchesContextualAtIndex(t+1,P._from)||this.tokens.matches1AtIndex(t,s.parenL))return;if(this.tokens.matches1AtIndex(t,s.name)&&(n.push(this.tokens.identifierNameAtIndex(t)),t++,this.tokens.matches1AtIndex(t,s.comma)&&t++),this.tokens.matches1AtIndex(t,s.star)&&(t+=2,r.push(this.tokens.identifierNameAtIndex(t)),t++),this.tokens.matches1AtIndex(t,s.braceL)){const u=this.getNamedImports(t+1);t=u.newIndex;for(const p of u.namedImports)p.importedName==="default"?n.push(p.localName):a.push(p)}if(this.tokens.matchesContextualAtIndex(t,P._from)&&t++,!this.tokens.matches1AtIndex(t,s.string))throw new Error("Expected string token at the end of import statement.");const i=this.tokens.stringValueAtIndex(t),c=this.getImportInfo(i);c.defaultNames.push(...n),c.wildcardNames.push(...r),c.namedImports.push(...a),n.length===0&&r.length===0&&a.length===0&&(c.hasBareImport=!0)}preprocessExportAtIndex(t){if(this.tokens.matches2AtIndex(t,s._export,s._var)||this.tokens.matches2AtIndex(t,s._export,s._let)||this.tokens.matches2AtIndex(t,s._export,s._const))this.preprocessVarExportAtIndex(t);else if(this.tokens.matches2AtIndex(t,s._export,s._function)||this.tokens.matches2AtIndex(t,s._export,s._class)){const n=this.tokens.identifierNameAtIndex(t+2);this.addExportBinding(n,n)}else if(this.tokens.matches3AtIndex(t,s._export,s.name,s._function)){const n=this.tokens.identifierNameAtIndex(t+3);this.addExportBinding(n,n)}else this.tokens.matches2AtIndex(t,s._export,s.braceL)?this.preprocessNamedExportAtIndex(t):this.tokens.matches2AtIndex(t,s._export,s.star)&&this.preprocessExportStarAtIndex(t)}preprocessVarExportAtIndex(t){let n=0;for(let r=t+2;;r++)if(this.tokens.matches1AtIndex(r,s.braceL)||this.tokens.matches1AtIndex(r,s.dollarBraceL)||this.tokens.matches1AtIndex(r,s.bracketL))n++;else if(this.tokens.matches1AtIndex(r,s.braceR)||this.tokens.matches1AtIndex(r,s.bracketR))n--;else{if(n===0&&!this.tokens.matches1AtIndex(r,s.name))break;if(this.tokens.matches1AtIndex(1,s.eq)){const a=this.tokens.currentToken().rhsEndIndex;if(a==null)throw new Error("Expected = token with an end index.");r=a-1}else{const a=this.tokens.tokens[r];if(ff(a)){const i=this.tokens.identifierNameAtIndex(r);this.identifierReplacements.set(i,`exports.${i}`)}}}}preprocessNamedExportAtIndex(t){t+=2;const{newIndex:n,namedImports:r}=this.getNamedImports(t);if(t=n,this.tokens.matchesContextualAtIndex(t,P._from))t++;else{for(const{importedName:c,localName:u}of r)this.addExportBinding(c,u);return}if(!this.tokens.matches1AtIndex(t,s.string))throw new Error("Expected string token at the end of import statement.");const a=this.tokens.stringValueAtIndex(t);this.getImportInfo(a).namedExports.push(...r)}preprocessExportStarAtIndex(t){let n=null;if(this.tokens.matches3AtIndex(t,s._export,s.star,s._as)?(t+=3,n=this.tokens.identifierNameAtIndex(t),t+=2):t+=3,!this.tokens.matches1AtIndex(t,s.string))throw new Error("Expected string token at the end of star export statement.");const r=this.tokens.stringValueAtIndex(t),a=this.getImportInfo(r);n!==null?a.exportStarNames.push(n):a.hasStarExport=!0}getNamedImports(t){const n=[];for(;;){if(this.tokens.matches1AtIndex(t,s.braceR)){t++;break}const r=Ts(this.tokens,t);if(t=r.endIndex,r.isType||n.push({importedName:r.leftName,localName:r.rightName}),this.tokens.matches2AtIndex(t,s.comma,s.braceR)){t+=2;break}else if(this.tokens.matches1AtIndex(t,s.braceR)){t++;break}else if(this.tokens.matches1AtIndex(t,s.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[t])}`)}return{newIndex:t,namedImports:n}}getImportInfo(t){const n=this.importInfoByPath.get(t);if(n)return n;const r={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(t,r),r}addExportBinding(t,n){this.exportBindingsByLocalName.has(t)||this.exportBindingsByLocalName.set(t,[]),this.exportBindingsByLocalName.get(t).push(n)}claimImportCode(t){const n=this.importsToReplace.get(t);return this.importsToReplace.set(t,""),n||""}getIdentifierReplacement(t){return this.identifierReplacements.get(t)||null}resolveExportBinding(t){const n=this.exportBindingsByLocalName.get(t);return!n||n.length===0?null:n.map(r=>`exports.${r}`).join(" = ")}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}}var eT=44,tT=59,Lp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Rf=new Uint8Array(64),nT=new Uint8Array(128);for(let e=0;e<Lp.length;e++){const t=Lp.charCodeAt(e);Rf[e]=t,nT[t]=e}function Yr(e,t){do{let n=t&31;t>>>=5,t>0&&(n|=32),e.write(Rf[n])}while(t>0)}function Xr(e){return e<0?-e<<1|1:e<<1}var $p=1024*16,Dp=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}},oT=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array($p)}write(e){const{buffer:t}=this;t[this.pos++]=e,this.pos===$p&&(this.out+=Dp.decode(t),this.pos=0)}flush(){const{buffer:e,out:t,pos:n}=this;return n>0?t+Dp.decode(e.subarray(0,n)):t}};function rT(e){const t=new oT;let n=0,r=0,a=0,i=0;for(let c=0;c<e.length;c++){const u=e[c];if(c>0&&t.write(tT),u.length===0)continue;let p=0;for(let f=0;f<u.length;f++){const h=u[f];f>0&&t.write(eT),Yr(t,Xr(h[0]-p)),p=h[0],h.length!==1&&(Yr(t,Xr(h[1]-n)),Yr(t,Xr(h[2]-r)),Yr(t,Xr(h[3]-a)),n=h[1],r=h[2],a=h[3],h.length!==4&&(Yr(t,Xr(h[4]-i)),i=h[4]))}}return t.flush()}var sT={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Uo,function(){const n=/^[\w+.-]+:\/\//,r=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,a=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function i(w){return n.test(w)}function c(w){return w.startsWith("//")}function u(w){return w.startsWith("/")}function p(w){return w.startsWith("file:")}function f(w){return/^[.?#]/.test(w)}function h(w){const C=r.exec(w);return y(C[1],C[2]||"",C[3],C[4]||"",C[5]||"/",C[6]||"",C[7]||"")}function g(w){const C=a.exec(w),S=C[2];return y("file:","",C[1]||"","",u(S)?S:"/"+S,C[3]||"",C[4]||"")}function y(w,C,S,j,R,M,L){return{scheme:w,user:C,host:S,port:j,path:R,query:M,hash:L,type:7}}function m(w){if(c(w)){const S=h("http:"+w);return S.scheme="",S.type=6,S}if(u(w)){const S=h("http://foo.com"+w);return S.scheme="",S.host="",S.type=5,S}if(p(w))return g(w);if(i(w))return h(w);const C=h("http://foo.com/"+w);return C.scheme="",C.host="",C.type=w?w.startsWith("?")?3:w.startsWith("#")?2:4:1,C}function x(w){if(w.endsWith("/.."))return w;const C=w.lastIndexOf("/");return w.slice(0,C+1)}function b(w,C){k(C,C.type),w.path==="/"?w.path=C.path:w.path=x(C.path)+w.path}function k(w,C){const S=C<=4,j=w.path.split("/");let R=1,M=0,L=!1;for(let U=1;U<j.length;U++){const K=j[U];if(!K){L=!0;continue}if(L=!1,K!=="."){if(K===".."){M?(L=!0,M--,R--):S&&(j[R++]=K);continue}j[R++]=K,M++}}let H="";for(let U=1;U<R;U++)H+="/"+j[U];(!H||L&&!H.endsWith("/.."))&&(H+="/"),w.path=H}function E(w,C){if(!w&&!C)return"";const S=m(w);let j=S.type;if(C&&j!==7){const M=m(C),L=M.type;switch(j){case 1:S.hash=M.hash;case 2:S.query=M.query;case 3:case 4:b(S,M);case 5:S.user=M.user,S.host=M.host,S.port=M.port;case 6:S.scheme=M.scheme}L>j&&(j=L)}k(S,j);const R=S.query+S.hash;switch(j){case 2:case 3:return R;case 4:{const M=S.path.slice(1);return M?f(C||w)&&!f(M)?"./"+M+R:M+R:R||"."}case 5:return S.path+R;default:return S.scheme+"//"+S.user+S.host+S.port+S.path+R}}return E})})(sT);var ol=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function aT(e,t){return e._indexes[t]}function iT(e,t){const n=aT(e,t);if(n!==void 0)return n;const{array:r,_indexes:a}=e,i=r.push(t);return a[t]=i-1}var lT=0,cT=1,uT=2,pT=3,dT=4,Of=-1,fT=class{constructor({file:e,sourceRoot:t}={}){this._names=new ol,this._sources=new ol,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=t,this._ignoreList=new ol}};var rl=(e,t,n,r,a,i,c,u)=>gT(!0,e,t,n,r,a,i);function hT(e){const{_mappings:t,_sources:n,_sourcesContent:r,_names:a,_ignoreList:i}=e;return xT(t),{version:3,file:e.file||void 0,names:a.array,sourceRoot:e.sourceRoot||void 0,sources:n.array,sourcesContent:r,mappings:t,ignoreList:i.array}}function mT(e){const t=hT(e);return Object.assign({},t,{mappings:rT(t.mappings)})}function gT(e,t,n,r,a,i,c,u,p){const{_mappings:f,_sources:h,_sourcesContent:g,_names:y}=t,m=bT(f,n),x=yT(m,r);if(!a)return vT(m,x)?void 0:zp(m,x,[r]);const b=iT(h,a),k=Of;if(b===g.length&&(g[b]=null),!kT(m,x,b,i,c,k))return zp(m,x,[r,b,i,c])}function bT(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}function yT(e,t){let n=e.length;for(let r=n-1;r>=0;n=r--){const a=e[r];if(t>=a[lT])break}return n}function zp(e,t,n){for(let r=e.length;r>t;r--)e[r]=e[r-1];e[t]=n}function xT(e){const{length:t}=e;let n=t;for(let r=n-1;r>=0&&!(e[r].length>0);n=r,r--);n<t&&(e.length=n)}function vT(e,t){return t===0?!0:e[t-1].length===1}function kT(e,t,n,r,a,i){if(t===0)return!1;const c=e[t-1];return c.length===1?!1:n===c[cT]&&r===c[uT]&&a===c[pT]&&i===(c.length===5?c[dT]:Of)}function ST({code:e,mappings:t},n,r,a,i){const c=TT(a,i),u=new fT({file:r.compiledFilename});let p=0,f=t[0];for(;f===void 0&&p<t.length-1;)p++,f=t[p];let h=0,g=0;f!==g&&rl(u,h,0,n,h,0);for(let b=0;b<e.length;b++){if(b===f){const k=f-g,E=c[p];for(rl(u,h,k,n,h,E);(f===b||f===void 0)&&p<t.length-1;)p++,f=t[p]}e.charCodeAt(b)===D.lineFeed&&(h++,g=b+1,f!==g&&rl(u,h,0,n,h,0))}const{sourceRoot:y,sourcesContent:m,...x}=mT(u);return x}function TT(e,t){const n=new Array(t.length);let r=0,a=t[r].start,i=0;for(let c=0;c<e.length;c++)c===a&&(n[r]=a-i,r++,a=t[r].start),e.charCodeAt(c)===D.lineFeed&&(i=c+1);return n}const CT={require:`
207
+ import {createRequire as CREATE_REQUIRE_NAME} from "module";
208
+ const require = CREATE_REQUIRE_NAME(import.meta.url);
209
+ `,interopRequireWildcard:`
210
+ function interopRequireWildcard(obj) {
211
+ if (obj && obj.__esModule) {
212
+ return obj;
213
+ } else {
214
+ var newObj = {};
215
+ if (obj != null) {
216
+ for (var key in obj) {
217
+ if (Object.prototype.hasOwnProperty.call(obj, key)) {
218
+ newObj[key] = obj[key];
219
+ }
220
+ }
221
+ }
222
+ newObj.default = obj;
223
+ return newObj;
224
+ }
225
+ }
226
+ `,interopRequireDefault:`
227
+ function interopRequireDefault(obj) {
228
+ return obj && obj.__esModule ? obj : { default: obj };
229
+ }
230
+ `,createNamedExportFrom:`
231
+ function createNamedExportFrom(obj, localName, importedName) {
232
+ Object.defineProperty(exports, localName, {enumerable: true, configurable: true, get: () => obj[importedName]});
233
+ }
234
+ `,createStarExport:`
235
+ function createStarExport(obj) {
236
+ Object.keys(obj)
237
+ .filter((key) => key !== "default" && key !== "__esModule")
238
+ .forEach((key) => {
239
+ if (exports.hasOwnProperty(key)) {
240
+ return;
241
+ }
242
+ Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]});
243
+ });
244
+ }
245
+ `,nullishCoalesce:`
246
+ function nullishCoalesce(lhs, rhsFn) {
247
+ if (lhs != null) {
248
+ return lhs;
249
+ } else {
250
+ return rhsFn();
251
+ }
252
+ }
253
+ `,asyncNullishCoalesce:`
254
+ async function asyncNullishCoalesce(lhs, rhsFn) {
255
+ if (lhs != null) {
256
+ return lhs;
257
+ } else {
258
+ return await rhsFn();
259
+ }
260
+ }
261
+ `,optionalChain:`
262
+ function optionalChain(ops) {
263
+ let lastAccessLHS = undefined;
264
+ let value = ops[0];
265
+ let i = 1;
266
+ while (i < ops.length) {
267
+ const op = ops[i];
268
+ const fn = ops[i + 1];
269
+ i += 2;
270
+ if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
271
+ return undefined;
272
+ }
273
+ if (op === 'access' || op === 'optionalAccess') {
274
+ lastAccessLHS = value;
275
+ value = fn(value);
276
+ } else if (op === 'call' || op === 'optionalCall') {
277
+ value = fn((...args) => value.call(lastAccessLHS, ...args));
278
+ lastAccessLHS = undefined;
279
+ }
280
+ }
281
+ return value;
282
+ }
283
+ `,asyncOptionalChain:`
284
+ async function asyncOptionalChain(ops) {
285
+ let lastAccessLHS = undefined;
286
+ let value = ops[0];
287
+ let i = 1;
288
+ while (i < ops.length) {
289
+ const op = ops[i];
290
+ const fn = ops[i + 1];
291
+ i += 2;
292
+ if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
293
+ return undefined;
294
+ }
295
+ if (op === 'access' || op === 'optionalAccess') {
296
+ lastAccessLHS = value;
297
+ value = await fn(value);
298
+ } else if (op === 'call' || op === 'optionalCall') {
299
+ value = await fn((...args) => value.call(lastAccessLHS, ...args));
300
+ lastAccessLHS = undefined;
301
+ }
302
+ }
303
+ return value;
304
+ }
305
+ `,optionalChainDelete:`
306
+ function optionalChainDelete(ops) {
307
+ const result = OPTIONAL_CHAIN_NAME(ops);
308
+ return result == null ? true : result;
309
+ }
310
+ `,asyncOptionalChainDelete:`
311
+ async function asyncOptionalChainDelete(ops) {
312
+ const result = await ASYNC_OPTIONAL_CHAIN_NAME(ops);
313
+ return result == null ? true : result;
314
+ }
315
+ `};class Oa{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(t){this.nameManager=t,Oa.prototype.__init.call(this),Oa.prototype.__init2.call(this)}getHelperName(t){let n=this.helperNames[t];return n||(n=this.nameManager.claimFreeName(`_${t}`),this.helperNames[t]=n,n)}emitHelpers(){let t="";this.helperNames.optionalChainDelete&&this.getHelperName("optionalChain"),this.helperNames.asyncOptionalChainDelete&&this.getHelperName("asyncOptionalChain");for(const[n,r]of Object.entries(CT)){const a=this.helperNames[n];let i=r;n==="optionalChainDelete"?i=i.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain):n==="asyncOptionalChainDelete"?i=i.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain):n==="require"&&(this.createRequireName===null&&(this.createRequireName=this.nameManager.claimFreeName("_createRequire")),i=i.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)),a&&(t+=" ",t+=i.replace(n,a).replace(/\s+/g," ").trim())}return t}}function Vp(e,t,n){wT(e,n)&&IT(e,t,n)}function wT(e,t){for(const n of e.tokens)if(n.type===s.name&&!n.isType&&ES(n)&&t.has(e.identifierNameForToken(n)))return!0;return!1}function IT(e,t,n){const r=[];let a=t.length-1;for(let i=e.tokens.length-1;;i--){for(;r.length>0&&r[r.length-1].startTokenIndex===i+1;)r.pop();for(;a>=0&&t[a].endTokenIndex===i+1;)r.push(t[a]),a--;if(i<0)break;const c=e.tokens[i],u=e.identifierNameForToken(c);if(r.length>1&&!c.isType&&c.type===s.name&&n.has(u)){if(jS(c))Wp(r[r.length-1],e,u);else if(RS(c)){let p=r.length-1;for(;p>0&&!r[p].isFunctionScope;)p--;if(p<0)throw new Error("Did not find parent function scope.");Wp(r[p],e,u)}}}if(r.length>0)throw new Error("Expected empty scope stack after processing file.")}function Wp(e,t,n){for(let r=e.startTokenIndex;r<e.endTokenIndex;r++){const a=t.tokens[r];(a.type===s.name||a.type===s.jsxName)&&t.identifierNameForToken(a)===n&&(a.shadowsGlobal=!0)}}function ET(e,t){const n=[];for(const r of t)r.type===s.name&&n.push(e.slice(r.start,r.end));return n}class Cc{__init(){this.usedNames=new Set}constructor(t,n){Cc.prototype.__init.call(this),this.usedNames=new Set(ET(t,n))}claimFreeName(t){const n=this.findFreeName(t);return this.usedNames.add(n),n}findFreeName(t){if(!this.usedNames.has(t))return t;let n=2;for(;this.usedNames.has(t+String(n));)n++;return t+String(n)}}var ft={},_l={},Hn={},jT=Uo&&Uo.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var i in a)a.hasOwnProperty(i)&&(r[i]=a[i])},e(t,n)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(Hn,"__esModule",{value:!0});Hn.DetailContext=Hn.NoopContext=Hn.VError=void 0;var Pf=function(e){jT(t,e);function t(n,r){var a=e.call(this,r)||this;return a.path=n,Object.setPrototypeOf(a,t.prototype),a}return t}(Error);Hn.VError=Pf;var RT=function(){function e(){}return e.prototype.fail=function(t,n,r){return!1},e.prototype.unionResolver=function(){return this},e.prototype.createContext=function(){return this},e.prototype.resolveUnion=function(t){},e}();Hn.NoopContext=RT;var Af=function(){function e(){this._propNames=[""],this._messages=[null],this._score=0}return e.prototype.fail=function(t,n,r){return this._propNames.push(t),this._messages.push(n),this._score+=r,!1},e.prototype.unionResolver=function(){return new OT},e.prototype.resolveUnion=function(t){for(var n,r,a=t,i=null,c=0,u=a.contexts;c<u.length;c++){var p=u[c];(!i||p._score>=i._score)&&(i=p)}i&&i._score>0&&((n=this._propNames).push.apply(n,i._propNames),(r=this._messages).push.apply(r,i._messages))},e.prototype.getError=function(t){for(var n=[],r=this._propNames.length-1;r>=0;r--){var a=this._propNames[r];t+=typeof a=="number"?"["+a+"]":a?"."+a:"";var i=this._messages[r];i&&n.push(t+" "+i)}return new Pf(t,n.join("; "))},e.prototype.getErrorDetail=function(t){for(var n=[],r=this._propNames.length-1;r>=0;r--){var a=this._propNames[r];t+=typeof a=="number"?"["+a+"]":a?"."+a:"";var i=this._messages[r];i&&n.push({path:t,message:i})}for(var c=null,r=n.length-1;r>=0;r--)c&&(n[r].nested=[c]),c=n[r];return c},e}();Hn.DetailContext=Af;var OT=function(){function e(){this.contexts=[]}return e.prototype.createContext=function(){var t=new Af;return this.contexts.push(t),t},e}();(function(e){var t=Uo&&Uo.__extends||function(){var A=function(N,$){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(B,G){B.__proto__=G}||function(B,G){for(var q in G)G.hasOwnProperty(q)&&(B[q]=G[q])},A(N,$)};return function(N,$){A(N,$);function B(){this.constructor=N}N.prototype=$===null?Object.create($):(B.prototype=$.prototype,new B)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.basicTypes=e.BasicType=e.TParamList=e.TParam=e.param=e.TFunc=e.func=e.TProp=e.TOptional=e.opt=e.TIface=e.iface=e.TEnumLiteral=e.enumlit=e.TEnumType=e.enumtype=e.TIntersection=e.intersection=e.TUnion=e.union=e.TTuple=e.tuple=e.TArray=e.array=e.TLiteral=e.lit=e.TName=e.name=e.TType=void 0;var n=Hn,r=function(){function A(){}return A}();e.TType=r;function a(A){return typeof A=="string"?c(A):A}function i(A,N){var $=A[N];if(!$)throw new Error("Unknown type "+N);return $}function c(A){return new u(A)}e.name=c;var u=function(A){t(N,A);function N($){var B=A.call(this)||this;return B.name=$,B._failMsg="is not a "+$,B}return N.prototype.getChecker=function($,B,G){var q=this,oe=i($,this.name),z=oe.getChecker($,B,G);return oe instanceof te||oe instanceof N?z:function(fe,re){return z(fe,re)?!0:re.fail(null,q._failMsg,0)}},N}(r);e.TName=u;function p(A){return new f(A)}e.lit=p;var f=function(A){t(N,A);function N($){var B=A.call(this)||this;return B.value=$,B.name=JSON.stringify($),B._failMsg="is not "+B.name,B}return N.prototype.getChecker=function($,B){var G=this;return function(q,oe){return q===G.value?!0:oe.fail(null,G._failMsg,-1)}},N}(r);e.TLiteral=f;function h(A){return new g(a(A))}e.array=h;var g=function(A){t(N,A);function N($){var B=A.call(this)||this;return B.ttype=$,B}return N.prototype.getChecker=function($,B){var G=this.ttype.getChecker($,B);return function(q,oe){if(!Array.isArray(q))return oe.fail(null,"is not an array",0);for(var z=0;z<q.length;z++){var fe=G(q[z],oe);if(!fe)return oe.fail(z,null,1)}return!0}},N}(r);e.TArray=g;function y(){for(var A=[],N=0;N<arguments.length;N++)A[N]=arguments[N];return new m(A.map(function($){return a($)}))}e.tuple=y;var m=function(A){t(N,A);function N($){var B=A.call(this)||this;return B.ttypes=$,B}return N.prototype.getChecker=function($,B){var G=this.ttypes.map(function(oe){return oe.getChecker($,B)}),q=function(oe,z){if(!Array.isArray(oe))return z.fail(null,"is not an array",0);for(var fe=0;fe<G.length;fe++){var re=G[fe](oe[fe],z);if(!re)return z.fail(fe,null,1)}return!0};return B?function(oe,z){return q(oe,z)?oe.length<=G.length?!0:z.fail(G.length,"is extraneous",2):!1}:q},N}(r);e.TTuple=m;function x(){for(var A=[],N=0;N<arguments.length;N++)A[N]=arguments[N];return new b(A.map(function($){return a($)}))}e.union=x;var b=function(A){t(N,A);function N($){var B=A.call(this)||this;B.ttypes=$;var G=$.map(function(oe){return oe instanceof u||oe instanceof f?oe.name:null}).filter(function(oe){return oe}),q=$.length-G.length;return G.length?(q>0&&G.push(q+" more"),B._failMsg="is none of "+G.join(", ")):B._failMsg="is none of "+q+" types",B}return N.prototype.getChecker=function($,B){var G=this,q=this.ttypes.map(function(oe){return oe.getChecker($,B)});return function(oe,z){for(var fe=z.unionResolver(),re=0;re<q.length;re++){var ke=q[re](oe,fe.createContext());if(ke)return!0}return z.resolveUnion(fe),z.fail(null,G._failMsg,0)}},N}(r);e.TUnion=b;function k(){for(var A=[],N=0;N<arguments.length;N++)A[N]=arguments[N];return new E(A.map(function($){return a($)}))}e.intersection=k;var E=function(A){t(N,A);function N($){var B=A.call(this)||this;return B.ttypes=$,B}return N.prototype.getChecker=function($,B){var G=new Set,q=this.ttypes.map(function(oe){return oe.getChecker($,B,G)});return function(oe,z){var fe=q.every(function(re){return re(oe,z)});return fe?!0:z.fail(null,null,0)}},N}(r);e.TIntersection=E;function w(A){return new C(A)}e.enumtype=w;var C=function(A){t(N,A);function N($){var B=A.call(this)||this;return B.members=$,B.validValues=new Set,B._failMsg="is not a valid enum value",B.validValues=new Set(Object.keys($).map(function(G){return $[G]})),B}return N.prototype.getChecker=function($,B){var G=this;return function(q,oe){return G.validValues.has(q)?!0:oe.fail(null,G._failMsg,0)}},N}(r);e.TEnumType=C;function S(A,N){return new j(A,N)}e.enumlit=S;var j=function(A){t(N,A);function N($,B){var G=A.call(this)||this;return G.enumName=$,G.prop=B,G._failMsg="is not "+$+"."+B,G}return N.prototype.getChecker=function($,B){var G=this,q=i($,this.enumName);if(!(q instanceof C))throw new Error("Type "+this.enumName+" used in enumlit is not an enum type");var oe=q.members[this.prop];if(!q.members.hasOwnProperty(this.prop))throw new Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(z,fe){return z===oe?!0:fe.fail(null,G._failMsg,-1)}},N}(r);e.TEnumLiteral=j;function R(A){return Object.keys(A).map(function(N){return M(N,A[N])})}function M(A,N){return N instanceof K?new v(A,N.ttype,!0):new v(A,a(N),!1)}function L(A,N){return new H(A,R(N))}e.iface=L;var H=function(A){t(N,A);function N($,B){var G=A.call(this)||this;return G.bases=$,G.props=B,G.propSet=new Set(B.map(function(q){return q.name})),G}return N.prototype.getChecker=function($,B,G){var q=this,oe=this.bases.map(function(be){return i($,be).getChecker($,B)}),z=this.props.map(function(be){return be.ttype.getChecker($,B)}),fe=new n.NoopContext,re=this.props.map(function(be,Ee){return!be.isOpt&&!z[Ee](void 0,fe)}),ke=function(be,Ee){if(typeof be!="object"||be===null)return Ee.fail(null,"is not an object",0);for(var ze=0;ze<oe.length;ze++)if(!oe[ze](be,Ee))return!1;for(var ze=0;ze<z.length;ze++){var Ze=q.props[ze].name,We=be[Ze];if(We===void 0){if(re[ze])return Ee.fail(Ze,"is missing",1)}else{var Te=z[ze](We,Ee);if(!Te)return Ee.fail(Ze,null,1)}}return!0};if(!B)return ke;var je=this.propSet;return G&&(this.propSet.forEach(function(be){return G.add(be)}),je=G),function(be,Ee){if(!ke(be,Ee))return!1;for(var ze in be)if(!je.has(ze))return Ee.fail(ze,"is extraneous",2);return!0}},N}(r);e.TIface=H;function U(A){return new K(a(A))}e.opt=U;var K=function(A){t(N,A);function N($){var B=A.call(this)||this;return B.ttype=$,B}return N.prototype.getChecker=function($,B){var G=this.ttype.getChecker($,B);return function(q,oe){return q===void 0||G(q,oe)}},N}(r);e.TOptional=K;var v=function(){function A(N,$,B){this.name=N,this.ttype=$,this.isOpt=B}return A}();e.TProp=v;function O(A){for(var N=[],$=1;$<arguments.length;$++)N[$-1]=arguments[$];return new _(new X(N),a(A))}e.func=O;var _=function(A){t(N,A);function N($,B){var G=A.call(this)||this;return G.paramList=$,G.result=B,G}return N.prototype.getChecker=function($,B){return function(G,q){return typeof G=="function"?!0:q.fail(null,"is not a function",0)}},N}(r);e.TFunc=_;function Y(A,N,$){return new F(A,a(N),!!$)}e.param=Y;var F=function(){function A(N,$,B){this.name=N,this.ttype=$,this.isOpt=B}return A}();e.TParam=F;var X=function(A){t(N,A);function N($){var B=A.call(this)||this;return B.params=$,B}return N.prototype.getChecker=function($,B){var G=this,q=this.params.map(function(re){return re.ttype.getChecker($,B)}),oe=new n.NoopContext,z=this.params.map(function(re,ke){return!re.isOpt&&!q[ke](void 0,oe)}),fe=function(re,ke){if(!Array.isArray(re))return ke.fail(null,"is not an array",0);for(var je=0;je<q.length;je++){var be=G.params[je];if(re[je]===void 0){if(z[je])return ke.fail(be.name,"is missing",1)}else{var Ee=q[je](re[je],ke);if(!Ee)return ke.fail(be.name,null,1)}}return!0};return B?function(re,ke){return fe(re,ke)?re.length<=q.length?!0:ke.fail(q.length,"is extraneous",2):!1}:fe},N}(r);e.TParamList=X;var te=function(A){t(N,A);function N($,B){var G=A.call(this)||this;return G.validator=$,G.message=B,G}return N.prototype.getChecker=function($,B){var G=this;return function(q,oe){return G.validator(q)?!0:oe.fail(null,G.message,0)}},N}(r);e.BasicType=te,e.basicTypes={any:new te(function(A){return!0},"is invalid"),number:new te(function(A){return typeof A=="number"},"is not a number"),object:new te(function(A){return typeof A=="object"&&A},"is not an object"),boolean:new te(function(A){return typeof A=="boolean"},"is not a boolean"),string:new te(function(A){return typeof A=="string"},"is not a string"),symbol:new te(function(A){return typeof A=="symbol"},"is not a symbol"),void:new te(function(A){return A==null},"is not void"),undefined:new te(function(A){return A===void 0},"is not undefined"),null:new te(function(A){return A===null},"is not null"),never:new te(function(A){return!1},"is unexpected"),Date:new te(W("[object Date]"),"is not a Date"),RegExp:new te(W("[object RegExp]"),"is not a RegExp")};var ee=Object.prototype.toString;function W(A){return function(N){return typeof N=="object"&&N&&ee.call(N)===A}}typeof Buffer<"u"&&(e.basicTypes.Buffer=new te(function(A){return Buffer.isBuffer(A)},"is not a Buffer"));for(var V=function(A){e.basicTypes[A.name]=new te(function(N){return N instanceof A},"is not a "+A.name)},pe=0,ue=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];pe<ue.length;pe++){var he=ue[pe];V(he)}})(_l);(function(e){var t=Uo&&Uo.__spreadArrays||function(){for(var p=0,f=0,h=arguments.length;f<h;f++)p+=arguments[f].length;for(var g=Array(p),y=0,f=0;f<h;f++)for(var m=arguments[f],x=0,b=m.length;x<b;x++,y++)g[y]=m[x];return g};Object.defineProperty(e,"__esModule",{value:!0}),e.Checker=e.createCheckers=void 0;var n=_l,r=Hn,a=_l;Object.defineProperty(e,"TArray",{enumerable:!0,get:function(){return a.TArray}}),Object.defineProperty(e,"TEnumType",{enumerable:!0,get:function(){return a.TEnumType}}),Object.defineProperty(e,"TEnumLiteral",{enumerable:!0,get:function(){return a.TEnumLiteral}}),Object.defineProperty(e,"TFunc",{enumerable:!0,get:function(){return a.TFunc}}),Object.defineProperty(e,"TIface",{enumerable:!0,get:function(){return a.TIface}}),Object.defineProperty(e,"TLiteral",{enumerable:!0,get:function(){return a.TLiteral}}),Object.defineProperty(e,"TName",{enumerable:!0,get:function(){return a.TName}}),Object.defineProperty(e,"TOptional",{enumerable:!0,get:function(){return a.TOptional}}),Object.defineProperty(e,"TParam",{enumerable:!0,get:function(){return a.TParam}}),Object.defineProperty(e,"TParamList",{enumerable:!0,get:function(){return a.TParamList}}),Object.defineProperty(e,"TProp",{enumerable:!0,get:function(){return a.TProp}}),Object.defineProperty(e,"TTuple",{enumerable:!0,get:function(){return a.TTuple}}),Object.defineProperty(e,"TType",{enumerable:!0,get:function(){return a.TType}}),Object.defineProperty(e,"TUnion",{enumerable:!0,get:function(){return a.TUnion}}),Object.defineProperty(e,"TIntersection",{enumerable:!0,get:function(){return a.TIntersection}}),Object.defineProperty(e,"array",{enumerable:!0,get:function(){return a.array}}),Object.defineProperty(e,"enumlit",{enumerable:!0,get:function(){return a.enumlit}}),Object.defineProperty(e,"enumtype",{enumerable:!0,get:function(){return a.enumtype}}),Object.defineProperty(e,"func",{enumerable:!0,get:function(){return a.func}}),Object.defineProperty(e,"iface",{enumerable:!0,get:function(){return a.iface}}),Object.defineProperty(e,"lit",{enumerable:!0,get:function(){return a.lit}}),Object.defineProperty(e,"name",{enumerable:!0,get:function(){return a.name}}),Object.defineProperty(e,"opt",{enumerable:!0,get:function(){return a.opt}}),Object.defineProperty(e,"param",{enumerable:!0,get:function(){return a.param}}),Object.defineProperty(e,"tuple",{enumerable:!0,get:function(){return a.tuple}}),Object.defineProperty(e,"union",{enumerable:!0,get:function(){return a.union}}),Object.defineProperty(e,"intersection",{enumerable:!0,get:function(){return a.intersection}}),Object.defineProperty(e,"BasicType",{enumerable:!0,get:function(){return a.BasicType}});var i=Hn;Object.defineProperty(e,"VError",{enumerable:!0,get:function(){return i.VError}});function c(){for(var p=[],f=0;f<arguments.length;f++)p[f]=arguments[f];for(var h=Object.assign.apply(Object,t([{},n.basicTypes],p)),g={},y=0,m=p;y<m.length;y++)for(var x=m[y],b=0,k=Object.keys(x);b<k.length;b++){var E=k[b];g[E]=new u(h,x[E])}return g}e.createCheckers=c;var u=function(){function p(f,h,g){if(g===void 0&&(g="value"),this.suite=f,this.ttype=h,this._path=g,this.props=new Map,h instanceof n.TIface)for(var y=0,m=h.props;y<m.length;y++){var x=m[y];this.props.set(x.name,x.ttype)}this.checkerPlain=this.ttype.getChecker(f,!1),this.checkerStrict=this.ttype.getChecker(f,!0)}return p.prototype.setReportedPath=function(f){this._path=f},p.prototype.check=function(f){return this._doCheck(this.checkerPlain,f)},p.prototype.test=function(f){return this.checkerPlain(f,new r.NoopContext)},p.prototype.validate=function(f){return this._doValidate(this.checkerPlain,f)},p.prototype.strictCheck=function(f){return this._doCheck(this.checkerStrict,f)},p.prototype.strictTest=function(f){return this.checkerStrict(f,new r.NoopContext)},p.prototype.strictValidate=function(f){return this._doValidate(this.checkerStrict,f)},p.prototype.getProp=function(f){var h=this.props.get(f);if(!h)throw new Error("Type has no property "+f);return new p(this.suite,h,this._path+"."+f)},p.prototype.methodArgs=function(f){var h=this._getMethod(f);return new p(this.suite,h.paramList)},p.prototype.methodResult=function(f){var h=this._getMethod(f);return new p(this.suite,h.result)},p.prototype.getArgs=function(){if(!(this.ttype instanceof n.TFunc))throw new Error("getArgs() applied to non-function");return new p(this.suite,this.ttype.paramList)},p.prototype.getResult=function(){if(!(this.ttype instanceof n.TFunc))throw new Error("getResult() applied to non-function");return new p(this.suite,this.ttype.result)},p.prototype.getType=function(){return this.ttype},p.prototype._doCheck=function(f,h){var g=new r.NoopContext;if(!f(h,g)){var y=new r.DetailContext;throw f(h,y),y.getError(this._path)}},p.prototype._doValidate=function(f,h){var g=new r.NoopContext;if(f(h,g))return null;var y=new r.DetailContext;return f(h,y),y.getErrorDetail(this._path)},p.prototype._getMethod=function(f){var h=this.props.get(f);if(!h)throw new Error("Type has no property "+f);if(!(h instanceof n.TFunc))throw new Error("Property "+f+" is not a method");return h},p}();e.Checker=u})(ft);const PT=ft.union(ft.lit("jsx"),ft.lit("typescript"),ft.lit("flow"),ft.lit("imports"),ft.lit("react-hot-loader"),ft.lit("jest")),AT=ft.iface([],{compiledFilename:"string"}),_T=ft.iface([],{transforms:ft.array("Transform"),disableESTransforms:ft.opt("boolean"),jsxRuntime:ft.opt(ft.union(ft.lit("classic"),ft.lit("automatic"),ft.lit("preserve"))),production:ft.opt("boolean"),jsxImportSource:ft.opt("string"),jsxPragma:ft.opt("string"),jsxFragmentPragma:ft.opt("string"),keepUnusedImports:ft.opt("boolean"),preserveDynamicImport:ft.opt("boolean"),injectCreateRequireForImportRequire:ft.opt("boolean"),enableLegacyTypeScriptModuleInterop:ft.opt("boolean"),enableLegacyBabel5ModuleInterop:ft.opt("boolean"),sourceMapOptions:ft.opt("SourceMapOptions"),filePath:ft.opt("string")}),NT={Transform:PT,SourceMapOptions:AT,Options:_T},{Options:MT}=ft.createCheckers(NT);function BT(e){MT.strictCheck(e)}function _f(){le(),Kt(!1)}function Nf(e){le(),Ti(e)}function Eo(e){Ve(),wc(e)}function Pa(){Ve(),d.tokens[d.tokens.length-1].identifierRole=$e.ImportDeclaration}function wc(e){let t;d.scopeDepth===0?t=$e.TopLevelDeclaration:e?t=$e.BlockScopedDeclaration:t=$e.FunctionScopedDeclaration,d.tokens[d.tokens.length-1].identifierRole=t}function Ti(e){switch(d.type){case s._this:{const t=Xe(0);le(),Ye(t);return}case s._yield:case s.name:{d.type=s.name,Eo(e);return}case s.bracketL:{le(),Ic(s.bracketR,e,!0);return}case s.braceL:Fc(!0,e);return;default:Ge()}}function Ic(e,t,n=!1,r=!1,a=0){let i=!0,c=!1;const u=d.tokens.length;for(;!Z(e)&&!d.error;)if(i?i=!1:(ie(s.comma),d.tokens[d.tokens.length-1].contextId=a,!c&&d.tokens[u].isType&&(d.tokens[d.tokens.length-1].isType=!0,c=!0)),!(n&&I(s.comma))){if(Z(e))break;if(I(s.ellipsis)){Nf(t),Mf(),Z(s.comma),ie(e);break}else FT(r,t)}}function FT(e,t){e&&Ec([P._public,P._protected,P._private,P._readonly,P._override]),Aa(t),Mf(),Aa(t,!0)}function Mf(){at?t4():tt&&UC()}function Aa(e,t=!1){if(t||Ti(e),!Z(s.eq))return;const n=d.tokens.length-1;Kt(),d.tokens[n].rhsEndIndex=d.tokens.length}function Nl(){return I(s.name)}function LT(){return I(s.name)||!!(d.type&s.IS_KEYWORD)||I(s.string)||I(s.num)||I(s.bigint)||I(s.decimal)}function Bf(){const e=d.snapshot();return le(),(I(s.bracketL)||I(s.braceL)||I(s.star)||I(s.ellipsis)||I(s.hash)||LT())&&!nn()?!0:(d.restoreFromSnapshot(e),!1)}function Ec(e){for(;Ff(e)!==null;);}function Ff(e){if(!I(s.name))return null;const t=d.contextualKeyword;if(e.indexOf(t)!==-1&&Bf()){switch(t){case P._readonly:d.tokens[d.tokens.length-1].type=s._readonly;break;case P._abstract:d.tokens[d.tokens.length-1].type=s._abstract;break;case P._static:d.tokens[d.tokens.length-1].type=s._static;break;case P._public:d.tokens[d.tokens.length-1].type=s._public;break;case P._private:d.tokens[d.tokens.length-1].type=s._private;break;case P._protected:d.tokens[d.tokens.length-1].type=s._protected;break;case P._override:d.tokens[d.tokens.length-1].type=s._override;break;case P._declare:d.tokens[d.tokens.length-1].type=s._declare;break}return t}return null}function Vs(){for(Ve();Z(s.dot);)Ve()}function $T(){Vs(),!nn()&&I(s.lessThan)&&$r()}function DT(){le(),Ws()}function zT(){le()}function VT(){ie(s._typeof),I(s._import)?Lf():Vs(),!nn()&&I(s.lessThan)&&$r()}function Lf(){ie(s._import),ie(s.parenL),ie(s.string),ie(s.parenR),Z(s.dot)&&Vs(),I(s.lessThan)&&$r()}function WT(){Z(s._const);const e=Z(s._in),t=Ut(P._out);Z(s._const),(e||t)&&!I(s.name)?d.tokens[d.tokens.length-1].type=s.name:Ve(),Z(s._extends)&&Pt(),Z(s.eq)&&Pt()}function tr(){I(s.lessThan)&&Ci()}function Ci(){const e=Xe(0);for(I(s.lessThan)||I(s.typeParameterStart)?le():Ge();!Z(s.greaterThan)&&!d.error;)WT(),Z(s.comma);Ye(e)}function jc(e){const t=e===s.arrow;tr(),ie(s.parenL),d.scopeDepth++,HT(!1),d.scopeDepth--,(t||I(e))&&Cs(e)}function HT(e){Ic(s.parenR,e)}function _a(){Z(s.comma)||wt()}function Hp(){jc(s.colon),_a()}function UT(){const e=d.snapshot();le();const t=Z(s.name)&&I(s.colon);return d.restoreFromSnapshot(e),t}function $f(){if(!(I(s.bracketL)&&UT()))return!1;const e=Xe(0);return ie(s.bracketL),Ve(),Ws(),ie(s.bracketR),Lr(),_a(),Ye(e),!0}function Up(e){Z(s.question),!e&&(I(s.parenL)||I(s.lessThan))?(jc(s.colon),_a()):(Lr(),_a())}function qT(){if(I(s.parenL)||I(s.lessThan)){Hp();return}if(I(s._new)){le(),I(s.parenL)||I(s.lessThan)?Hp():Up(!1);return}const e=!!Ff([P._readonly]);$f()||((Ae(P._get)||Ae(P._set))&&Bf(),ws(-1),Up(e))}function GT(){Df()}function Df(){for(ie(s.braceL);!Z(s.braceR)&&!d.error;)qT()}function KT(){const e=d.snapshot(),t=YT();return d.restoreFromSnapshot(e),t}function YT(){return le(),Z(s.plus)||Z(s.minus)?Ae(P._readonly):(Ae(P._readonly)&&le(),!I(s.bracketL)||(le(),!Nl())?!1:(le(),I(s._in)))}function XT(){Ve(),ie(s._in),Pt()}function JT(){ie(s.braceL),I(s.plus)||I(s.minus)?(le(),$t(P._readonly)):Ut(P._readonly),ie(s.bracketL),XT(),Ut(P._as)&&Pt(),ie(s.bracketR),I(s.plus)||I(s.minus)?(le(),ie(s.question)):Z(s.question),pC(),wt(),ie(s.braceR)}function ZT(){for(ie(s.bracketL);!Z(s.bracketR)&&!d.error;)QT(),Z(s.comma)}function QT(){Z(s.ellipsis)?Pt():(Pt(),Z(s.question)),Z(s.colon)&&Pt()}function eC(){ie(s.parenL),Pt(),ie(s.parenR)}function tC(){for(fo(),fo();!I(s.backQuote)&&!d.error;)ie(s.dollarBraceL),Pt(),fo(),fo();le()}var go;(function(e){e[e.TSFunctionType=0]="TSFunctionType";const n=1;e[e.TSConstructorType=n]="TSConstructorType";const r=n+1;e[e.TSAbstractConstructorType=r]="TSAbstractConstructorType"})(go||(go={}));function sl(e){e===go.TSAbstractConstructorType&&$t(P._abstract),(e===go.TSConstructorType||e===go.TSAbstractConstructorType)&&ie(s._new);const t=d.inDisallowConditionalTypesContext;d.inDisallowConditionalTypesContext=!1,jc(s.arrow),d.inDisallowConditionalTypesContext=t}function nC(){switch(d.type){case s.name:$T();return;case s._void:case s._null:le();return;case s.string:case s.num:case s.bigint:case s.decimal:case s._true:case s._false:Ar();return;case s.minus:le(),Ar();return;case s._this:{zT(),Ae(P._is)&&!nn()&&DT();return}case s._typeof:VT();return;case s._import:Lf();return;case s.braceL:KT()?JT():GT();return;case s.bracketL:ZT();return;case s.parenL:eC();return;case s.backQuote:tC();return;default:if(d.type&s.IS_KEYWORD){le(),d.tokens[d.tokens.length-1].type=s.name;return}break}Ge()}function oC(){for(nC();!nn()&&Z(s.bracketL);)Z(s.bracketR)||(Pt(),ie(s.bracketR))}function rC(){if($t(P._infer),Ve(),I(s._extends)){const e=d.snapshot();ie(s._extends);const t=d.inDisallowConditionalTypesContext;d.inDisallowConditionalTypesContext=!0,Pt(),d.inDisallowConditionalTypesContext=t,(d.error||!d.inDisallowConditionalTypesContext&&I(s.question))&&d.restoreFromSnapshot(e)}}function Ml(){if(Ae(P._keyof)||Ae(P._unique)||Ae(P._readonly))le(),Ml();else if(Ae(P._infer))rC();else{const e=d.inDisallowConditionalTypesContext;d.inDisallowConditionalTypesContext=!1,oC(),d.inDisallowConditionalTypesContext=e}}function qp(){if(Z(s.bitwiseAND),Ml(),I(s.bitwiseAND))for(;Z(s.bitwiseAND);)Ml()}function sC(){if(Z(s.bitwiseOR),qp(),I(s.bitwiseOR))for(;Z(s.bitwiseOR);)qp()}function aC(){return I(s.lessThan)?!0:I(s.parenL)&&lC()}function iC(){if(I(s.name)||I(s._this))return le(),!0;if(I(s.braceL)||I(s.bracketL)){let e=1;for(le();e>0&&!d.error;)I(s.braceL)||I(s.bracketL)?e++:(I(s.braceR)||I(s.bracketR))&&e--,le();return!0}return!1}function lC(){const e=d.snapshot(),t=cC();return d.restoreFromSnapshot(e),t}function cC(){return le(),!!(I(s.parenR)||I(s.ellipsis)||iC()&&(I(s.colon)||I(s.comma)||I(s.question)||I(s.eq)||I(s.parenR)&&(le(),I(s.arrow))))}function Cs(e){const t=Xe(0);ie(e),dC()||Pt(),Ye(t)}function uC(){I(s.colon)&&Cs(s.colon)}function Lr(){I(s.colon)&&Ws()}function pC(){Z(s.colon)&&Pt()}function dC(){const e=d.snapshot();return Ae(P._asserts)?(le(),Ut(P._is)?(Pt(),!0):Nl()||I(s._this)?(le(),Ut(P._is)&&Pt(),!0):(d.restoreFromSnapshot(e),!1)):Nl()||I(s._this)?(le(),Ae(P._is)&&!nn()?(le(),Pt(),!0):(d.restoreFromSnapshot(e),!1)):!1}function Ws(){const e=Xe(0);ie(s.colon),Pt(),Ye(e)}function Pt(){if(Gp(),d.inDisallowConditionalTypesContext||nn()||!Z(s._extends))return;const e=d.inDisallowConditionalTypesContext;d.inDisallowConditionalTypesContext=!0,Gp(),d.inDisallowConditionalTypesContext=e,ie(s.question),Pt(),ie(s.colon),Pt()}function fC(){return Ae(P._abstract)&&Ot()===s._new}function Gp(){if(aC()){sl(go.TSFunctionType);return}if(I(s._new)){sl(go.TSConstructorType);return}else if(fC()){sl(go.TSAbstractConstructorType);return}sC()}function hC(){const e=Xe(1);Pt(),ie(s.greaterThan),Ye(e),Hs()}function mC(){if(Z(s.jsxTagStart)){d.tokens[d.tokens.length-1].type=s.typeParameterStart;const e=Xe(1);for(;!I(s.greaterThan)&&!d.error;)Pt(),Z(s.comma);Tn(),Ye(e)}}function zf(){for(;!I(s.braceL)&&!d.error;)gC(),Z(s.comma)}function gC(){Vs(),I(s.lessThan)&&$r()}function bC(){Eo(!1),tr(),Z(s._extends)&&zf(),Df()}function yC(){Eo(!1),tr(),ie(s.eq),Pt(),wt()}function xC(){if(I(s.string)?Ar():Ve(),Z(s.eq)){const e=d.tokens.length-1;Kt(),d.tokens[e].rhsEndIndex=d.tokens.length}}function Rc(){for(Eo(!1),ie(s.braceL);!Z(s.braceR)&&!d.error;)xC(),Z(s.comma)}function Oc(){ie(s.braceL),ji(s.braceR)}function Bl(){Eo(!1),Z(s.dot)?Bl():Oc()}function Vf(){Ae(P._global)?Ve():I(s.string)?so():Ge(),I(s.braceL)?Oc():wt()}function Fl(){Pa(),ie(s.eq),kC(),wt()}function vC(){return Ae(P._require)&&Ot()===s.parenL}function kC(){vC()?SC():Vs()}function SC(){$t(P._require),ie(s.parenL),I(s.string)||Ge(),Ar(),ie(s.parenR)}function TC(){if(Vn())return!1;switch(d.type){case s._function:{const e=Xe(1);le();const t=d.start;return Zo(t,!0),Ye(e),!0}case s._class:{const e=Xe(1);return Qo(!0,!1),Ye(e),!0}case s._const:if(I(s._const)&&Sc(P._enum)){const e=Xe(1);return ie(s._const),$t(P._enum),d.tokens[d.tokens.length-1].type=s._enum,Rc(),Ye(e),!0}case s._var:case s._let:{const e=Xe(1);return ha(d.type!==s._var),Ye(e),!0}case s.name:{const e=Xe(1),t=d.contextualKeyword;let n=!1;return t===P._global?(Vf(),n=!0):n=wi(t,!0),Ye(e),n}default:return!1}}function Kp(){return wi(d.contextualKeyword,!0)}function CC(e){switch(e){case P._declare:{const t=d.tokens.length-1;if(TC())return d.tokens[t].type=s._declare,!0;break}case P._global:if(I(s.braceL))return Oc(),!0;break;default:return wi(e,!1)}return!1}function wi(e,t){switch(e){case P._abstract:if(ur(t)&&I(s._class))return d.tokens[d.tokens.length-1].type=s._abstract,Qo(!0,!1),!0;break;case P._enum:if(ur(t)&&I(s.name))return d.tokens[d.tokens.length-1].type=s._enum,Rc(),!0;break;case P._interface:if(ur(t)&&I(s.name)){const n=Xe(t?2:1);return bC(),Ye(n),!0}break;case P._module:if(ur(t)){if(I(s.string)){const n=Xe(t?2:1);return Vf(),Ye(n),!0}else if(I(s.name)){const n=Xe(t?2:1);return Bl(),Ye(n),!0}}break;case P._namespace:if(ur(t)&&I(s.name)){const n=Xe(t?2:1);return Bl(),Ye(n),!0}break;case P._type:if(ur(t)&&I(s.name)){const n=Xe(t?2:1);return yC(),Ye(n),!0}break}return!1}function ur(e){return e?(le(),!0):!Vn()}function wC(){const e=d.snapshot();return Ci(),Dr(),uC(),ie(s.arrow),d.error?(d.restoreFromSnapshot(e),!1):(Us(!0),!0)}function Pc(){d.type===s.bitShiftL&&(d.pos-=1,qe(s.lessThan)),$r()}function $r(){const e=Xe(0);for(ie(s.lessThan);!I(s.greaterThan)&&!d.error;)Pt(),Z(s.comma);e?(ie(s.greaterThan),Ye(e)):(Ye(e),Sf(),ie(s.greaterThan),d.tokens[d.tokens.length-1].isType=!0)}function Wf(){if(I(s.name))switch(d.contextualKeyword){case P._abstract:case P._declare:case P._enum:case P._interface:case P._module:case P._namespace:case P._type:return!0}return!1}function IC(e,t){if(I(s.colon)&&Cs(s.colon),!I(s.braceL)&&Vn()){let n=d.tokens.length-1;for(;n>=0&&(d.tokens[n].start>=e||d.tokens[n].type===s._default||d.tokens[n].type===s._export);)d.tokens[n].isType=!0,n--;return}Us(!1,t)}function EC(e,t,n){if(!nn()&&Z(s.bang)){d.tokens[d.tokens.length-1].type=s.nonNullAssertion;return}if(I(s.lessThan)||I(s.bitShiftL)){const r=d.snapshot();if(!t&&Jf()&&wC())return;if(Pc(),!t&&Z(s.parenL)?(d.tokens[d.tokens.length-1].subscriptStartIndex=e,bo()):I(s.backQuote)?Bc():(d.type===s.greaterThan||d.type!==s.parenL&&d.type&s.IS_EXPRESSION_START&&!nn())&&Ge(),d.error)d.restoreFromSnapshot(r);else return}else!t&&I(s.questionDot)&&Ot()===s.lessThan&&(le(),d.tokens[e].isOptionalChainStart=!0,d.tokens[d.tokens.length-1].subscriptStartIndex=e,$r(),ie(s.parenL),bo());_c(e,t,n)}function jC(){if(Z(s._import))return Ae(P._type)&&Ot()!==s.eq&&$t(P._type),Fl(),!0;if(Z(s.eq))return Gt(),wt(),!0;if(Ut(P._as))return $t(P._namespace),Ve(),wt(),!0;if(Ae(P._type)){const e=Ot();(e===s.braceL||e===s.star)&&le()}return!1}function RC(){if(Ve(),I(s.comma)||I(s.braceR)){d.tokens[d.tokens.length-1].identifierRole=$e.ImportDeclaration;return}if(Ve(),I(s.comma)||I(s.braceR)){d.tokens[d.tokens.length-1].identifierRole=$e.ImportDeclaration,d.tokens[d.tokens.length-2].isType=!0,d.tokens[d.tokens.length-1].isType=!0;return}if(Ve(),I(s.comma)||I(s.braceR)){d.tokens[d.tokens.length-3].identifierRole=$e.ImportAccess,d.tokens[d.tokens.length-1].identifierRole=$e.ImportDeclaration;return}Ve(),d.tokens[d.tokens.length-3].identifierRole=$e.ImportAccess,d.tokens[d.tokens.length-1].identifierRole=$e.ImportDeclaration,d.tokens[d.tokens.length-4].isType=!0,d.tokens[d.tokens.length-3].isType=!0,d.tokens[d.tokens.length-2].isType=!0,d.tokens[d.tokens.length-1].isType=!0}function OC(){if(Ve(),I(s.comma)||I(s.braceR)){d.tokens[d.tokens.length-1].identifierRole=$e.ExportAccess;return}if(Ve(),I(s.comma)||I(s.braceR)){d.tokens[d.tokens.length-1].identifierRole=$e.ExportAccess,d.tokens[d.tokens.length-2].isType=!0,d.tokens[d.tokens.length-1].isType=!0;return}if(Ve(),I(s.comma)||I(s.braceR)){d.tokens[d.tokens.length-3].identifierRole=$e.ExportAccess;return}Ve(),d.tokens[d.tokens.length-3].identifierRole=$e.ExportAccess,d.tokens[d.tokens.length-4].isType=!0,d.tokens[d.tokens.length-3].isType=!0,d.tokens[d.tokens.length-2].isType=!0,d.tokens[d.tokens.length-1].isType=!0}function PC(){if(Ae(P._abstract)&&Ot()===s._class)return d.type=s._abstract,le(),Qo(!0,!0),!0;if(Ae(P._interface)){const e=Xe(2);return wi(P._interface,!0),Ye(e),!0}return!1}function AC(){if(d.type===s._const){const e=zs();if(e.type===s.name&&e.contextualKeyword===P._enum)return ie(s._const),$t(P._enum),d.tokens[d.tokens.length-1].type=s._enum,Rc(),!0}return!1}function _C(e){const t=d.tokens.length;Ec([P._abstract,P._readonly,P._declare,P._static,P._override]);const n=d.tokens.length;if($f()){const a=e?t-1:t;for(let i=a;i<n;i++)d.tokens[i].isType=!0;return!0}return!1}function NC(e){CC(e)||wt()}function MC(){const e=Ut(P._declare);e&&(d.tokens[d.tokens.length-1].type=s._declare);let t=!1;if(I(s.name))if(e){const n=Xe(2);t=Kp(),Ye(n)}else t=Kp();if(!t)if(e){const n=Xe(2);mn(!0),Ye(n)}else mn(!0)}function BC(e){if(e&&(I(s.lessThan)||I(s.bitShiftL))&&Pc(),Ut(P._implements)){d.tokens[d.tokens.length-1].type=s._implements;const t=Xe(1);zf(),Ye(t)}}function FC(){tr()}function LC(){tr()}function $C(){const e=Xe(0);nn()||Z(s.bang),Lr(),Ye(e)}function DC(){I(s.colon)&&Ws()}function zC(e,t){return ki?VC(e,t):WC(e,t)}function VC(e,t){if(!I(s.lessThan))return Un(e,t);const n=d.snapshot();let r=Un(e,t);if(d.error)d.restoreFromSnapshot(n);else return r;return d.type=s.typeParameterStart,Ci(),r=Un(e,t),r||Ge(),r}function WC(e,t){if(!I(s.lessThan))return Un(e,t);const n=d.snapshot();Ci();const r=Un(e,t);if(r||Ge(),d.error)d.restoreFromSnapshot(n);else return r;return Un(e,t)}function HC(){if(I(s.colon)){const e=d.snapshot();Cs(s.colon),dn()&&Ge(),I(s.arrow)||Ge(),d.error&&d.restoreFromSnapshot(e)}return Z(s.arrow)}function UC(){const e=Xe(0);Z(s.question),Lr(),Ye(e)}function qC(){(I(s.lessThan)||I(s.bitShiftL))&&Pc(),ch()}function GC(){let e=!1,t=!1;for(;;){if(d.pos>=ve.length){Ge("Unterminated JSX contents");return}const n=ve.charCodeAt(d.pos);if(n===D.lessThan||n===D.leftCurlyBrace){if(d.pos===d.start){if(n===D.lessThan){d.pos++,qe(s.jsxTagStart);return}Tf(n);return}qe(e&&!t?s.jsxEmptyText:s.jsxText);return}n===D.lineFeed?e=!0:n!==D.space&&n!==D.carriageReturn&&n!==D.tab&&(t=!0),d.pos++}}function KC(e){for(d.pos++;;){if(d.pos>=ve.length){Ge("Unterminated string constant");return}if(ve.charCodeAt(d.pos)===e){d.pos++;break}d.pos++}qe(s.string)}function YC(){let e;do{if(d.pos>ve.length){Ge("Unexpectedly reached the end of input.");return}e=ve.charCodeAt(++d.pos)}while(Mn[e]||e===D.dash);qe(s.jsxName)}function Ll(){Tn()}function Hf(e){if(Ll(),!Z(s.colon)){d.tokens[d.tokens.length-1].identifierRole=e;return}Ll()}function Uf(){const e=d.tokens.length;Hf($e.Access);let t=!1;for(;I(s.dot);)t=!0,Tn(),Ll();if(!t){const n=d.tokens[e],r=ve.charCodeAt(n.start);r>=D.lowercaseA&&r<=D.lowercaseZ&&(n.identifierRole=null)}}function XC(){switch(d.type){case s.braceL:le(),Gt(),Tn();return;case s.jsxTagStart:Gf(),Tn();return;case s.string:Tn();return;default:Ge("JSX value should be either an expression or a quoted JSX text")}}function JC(){ie(s.ellipsis),Gt()}function ZC(e){if(I(s.jsxTagEnd))return!1;Uf(),tt&&mC();let t=!1;for(;!I(s.slash)&&!I(s.jsxTagEnd)&&!d.error;){if(Z(s.braceL)){t=!0,ie(s.ellipsis),Kt(),Tn();continue}t&&d.end-d.start===3&&ve.charCodeAt(d.start)===D.lowercaseK&&ve.charCodeAt(d.start+1)===D.lowercaseE&&ve.charCodeAt(d.start+2)===D.lowercaseY&&(d.tokens[e].jsxRole=_n.KeyAfterPropSpread),Hf($e.ObjectKey),I(s.eq)&&(Tn(),XC())}const n=I(s.slash);return n&&Tn(),n}function QC(){I(s.jsxTagEnd)||Uf()}function qf(){const e=d.tokens.length-1;d.tokens[e].jsxRole=_n.NoChildren;let t=0;if(!ZC(e))for(pr();;)switch(d.type){case s.jsxTagStart:if(Tn(),I(s.slash)){Tn(),QC(),d.tokens[e].jsxRole!==_n.KeyAfterPropSpread&&(t===1?d.tokens[e].jsxRole=_n.OneChild:t>1&&(d.tokens[e].jsxRole=_n.StaticChildren));return}t++,qf(),pr();break;case s.jsxText:t++,pr();break;case s.jsxEmptyText:pr();break;case s.braceL:le(),I(s.ellipsis)?(JC(),pr(),t+=2):(I(s.braceR)||(t++,Gt()),pr());break;default:Ge();return}}function Gf(){Tn(),qf()}function Tn(){d.tokens.push(new Si),vf(),d.start=d.pos;const e=ve.charCodeAt(d.pos);if(Ds[e])YC();else if(e===D.quotationMark||e===D.apostrophe)KC(e);else switch(++d.pos,e){case D.greaterThan:qe(s.jsxTagEnd);break;case D.lessThan:qe(s.jsxTagStart);break;case D.slash:qe(s.slash);break;case D.equalsTo:qe(s.eq);break;case D.leftCurlyBrace:qe(s.braceL);break;case D.dot:qe(s.dot);break;case D.colon:qe(s.colon);break;default:Ge()}}function pr(){d.tokens.push(new Si),d.start=d.pos,GC()}function ew(e){if(I(s.question)){const t=Ot();if(t===s.colon||t===s.comma||t===s.parenR)return}Kf(e)}function tw(){mf(s.question),I(s.colon)&&(tt?Ws():at&&nr())}class nw{constructor(t){this.stop=t}}function Gt(e=!1){if(Kt(e),I(s.comma))for(;Z(s.comma);)Kt(e)}function Kt(e=!1,t=!1){return tt?zC(e,t):at?i4(e,t):Un(e,t)}function Un(e,t){if(I(s._yield))return yw(),!1;(I(s.parenL)||I(s.name)||I(s._yield))&&(d.potentialArrowAt=d.start);const n=ow(e);return t&&Mc(),d.type&s.IS_ASSIGN?(le(),Kt(e),!1):n}function ow(e){return sw(e)?!0:(rw(e),!1)}function rw(e){tt||at?ew(e):Kf(e)}function Kf(e){Z(s.question)&&(Kt(),ie(s.colon),Kt(e))}function sw(e){const t=d.tokens.length;return Hs()?!0:(da(t,-1,e),!1)}function da(e,t,n){if(tt&&(s._in&s.PRECEDENCE_MASK)>t&&!nn()&&(Ut(P._as)||Ut(P._satisfies))){const a=Xe(1);Pt(),Ye(a),Sf(),da(e,t,n);return}const r=d.type&s.PRECEDENCE_MASK;if(r>0&&(!n||!I(s._in))&&r>t){const a=d.type;le(),a===s.nullishCoalescing&&(d.tokens[d.tokens.length-1].nullishStartIndex=e);const i=d.tokens.length;Hs(),da(i,a&s.IS_RIGHT_ASSOCIATIVE?r-1:r,n),a===s.nullishCoalescing&&(d.tokens[e].numNullishCoalesceStarts++,d.tokens[d.tokens.length-1].numNullishCoalesceEnds++),da(e,t,n)}}function Hs(){if(tt&&!ki&&Z(s.lessThan))return hC(),!1;if(Ae(P._module)&&bf()===D.leftCurlyBrace&&!uf())return xw(),!1;if(d.type&s.IS_PREFIX)return le(),Hs(),!1;if(Yf())return!0;for(;d.type&s.IS_POSTFIX&&!dn();)d.type===s.preIncDec&&(d.type=s.postIncDec),le();return!1}function Yf(){const e=d.tokens.length;return so()?!0:(Ac(e),d.tokens.length>e&&d.tokens[e].isOptionalChainStart&&(d.tokens[d.tokens.length-1].isOptionalChainEnd=!0),!1)}function Ac(e,t=!1){at?c4(e,t):Xf(e,t)}function Xf(e,t=!1){const n=new nw(!1);do aw(e,t,n);while(!n.stop&&!d.error)}function aw(e,t,n){tt?EC(e,t,n):at?Ww(e,t,n):_c(e,t,n)}function _c(e,t,n){if(!t&&Z(s.doubleColon))Nc(),n.stop=!0,Ac(e,t);else if(I(s.questionDot)){if(d.tokens[e].isOptionalChainStart=!0,t&&Ot()===s.parenL){n.stop=!0;return}le(),d.tokens[d.tokens.length-1].subscriptStartIndex=e,Z(s.bracketL)?(Gt(),ie(s.bracketR)):Z(s.parenL)?bo():Na()}else if(Z(s.dot))d.tokens[d.tokens.length-1].subscriptStartIndex=e,Na();else if(Z(s.bracketL))d.tokens[d.tokens.length-1].subscriptStartIndex=e,Gt(),ie(s.bracketR);else if(!t&&I(s.parenL))if(Jf()){const r=d.snapshot(),a=d.tokens.length;le(),d.tokens[d.tokens.length-1].subscriptStartIndex=e;const i=Ss();d.tokens[d.tokens.length-1].contextId=i,bo(),d.tokens[d.tokens.length-1].contextId=i,iw()&&(d.restoreFromSnapshot(r),n.stop=!0,d.scopeDepth++,Dr(),lw(a))}else{le(),d.tokens[d.tokens.length-1].subscriptStartIndex=e;const r=Ss();d.tokens[d.tokens.length-1].contextId=r,bo(),d.tokens[d.tokens.length-1].contextId=r}else I(s.backQuote)?Bc():n.stop=!0}function Jf(){return d.tokens[d.tokens.length-1].contextualKeyword===P._async&&!dn()}function bo(){let e=!0;for(;!Z(s.parenR)&&!d.error;){if(e)e=!1;else if(ie(s.comma),Z(s.parenR))break;th(!1)}}function iw(){return I(s.colon)||I(s.arrow)}function lw(e){tt?DC():at&&a4(),ie(s.arrow),Is(e)}function Nc(){const e=d.tokens.length;so(),Ac(e,!0)}function so(){if(Z(s.modulo))return Ve(),!1;if(I(s.jsxText)||I(s.jsxEmptyText))return Ar(),!1;if(I(s.lessThan)&&ki)return d.type=s.jsxTagStart,Gf(),le(),!1;const e=d.potentialArrowAt===d.start;switch(d.type){case s.slash:case s.assign:PS();case s._super:case s._this:case s.regexp:case s.num:case s.bigint:case s.decimal:case s.string:case s._null:case s._true:case s._false:return le(),!1;case s._import:return le(),I(s.dot)&&(d.tokens[d.tokens.length-1].type=s.name,le(),Ve()),!1;case s.name:{const t=d.tokens.length,n=d.start,r=d.contextualKeyword;return Ve(),r===P._await?(bw(),!1):r===P._async&&I(s._function)&&!dn()?(le(),Zo(n,!1),!1):e&&r===P._async&&!dn()&&I(s.name)?(d.scopeDepth++,Eo(!1),ie(s.arrow),Is(t),!0):I(s._do)&&!dn()?(le(),yo(),!1):e&&!dn()&&I(s.arrow)?(d.scopeDepth++,wc(!1),ie(s.arrow),Is(t),!0):(d.tokens[d.tokens.length-1].identifierRole=$e.Access,!1)}case s._do:return le(),yo(),!1;case s.parenL:return Zf(e);case s.bracketL:return le(),eh(s.bracketR,!0),!1;case s.braceL:return Fc(!1,!1),!1;case s._function:return cw(),!1;case s.at:qc();case s._class:return Qo(!1),!1;case s._new:return pw(),!1;case s.backQuote:return Bc(),!1;case s.doubleColon:return le(),Nc(),!1;case s.hash:{const t=bf();return Ds[t]||t===D.backslash?Na():le(),!1}default:return Ge(),!1}}function Na(){Z(s.hash),Ve()}function cw(){const e=d.start;Ve(),Z(s.dot)&&Ve(),Zo(e,!1)}function Ar(){le()}function Ii(){ie(s.parenL),Gt(),ie(s.parenR)}function Zf(e){const t=d.snapshot(),n=d.tokens.length;ie(s.parenL);let r=!0;for(;!I(s.parenR)&&!d.error;){if(r)r=!1;else if(ie(s.comma),I(s.parenR))break;if(I(s.ellipsis)){Nf(!1),Mc();break}else Kt(!1,!0)}return ie(s.parenR),e&&uw()&&$l()?(d.restoreFromSnapshot(t),d.scopeDepth++,Dr(),$l(),Is(n),d.error?(d.restoreFromSnapshot(t),Zf(!1),!1):!0):!1}function uw(){return I(s.colon)||!dn()}function $l(){return tt?HC():at?l4():Z(s.arrow)}function Mc(){(tt||at)&&tw()}function pw(){if(ie(s._new),Z(s.dot)){Ve();return}dw(),at&&Hw(),Z(s.parenL)&&eh(s.parenR)}function dw(){Nc(),Z(s.questionDot)}function Bc(){for(fo(),fo();!I(s.backQuote)&&!d.error;)ie(s.dollarBraceL),Gt(),fo(),fo();le()}function Fc(e,t){const n=Ss();let r=!0;for(le(),d.tokens[d.tokens.length-1].contextId=n;!Z(s.braceR)&&!d.error;){if(r)r=!1;else if(ie(s.comma),Z(s.braceR))break;let a=!1;if(I(s.ellipsis)){const i=d.tokens.length;if(_f(),e&&(d.tokens.length===i+2&&wc(t),Z(s.braceR)))break;continue}e||(a=Z(s.star)),!e&&Ae(P._async)?(a&&Ge(),Ve(),I(s.colon)||I(s.parenL)||I(s.braceR)||I(s.eq)||I(s.comma)||(I(s.star)&&(le(),a=!0),ws(n))):ws(n),gw(e,t,n)}d.tokens[d.tokens.length-1].contextId=n}function fw(e){return!e&&(I(s.string)||I(s.num)||I(s.bracketL)||I(s.name)||!!(d.type&s.IS_KEYWORD))}function hw(e,t){const n=d.start;return I(s.parenL)?(e&&Ge(),Dl(n,!1),!0):fw(e)?(ws(t),Dl(n,!1),!0):!1}function mw(e,t){if(Z(s.colon)){e?Aa(t):Kt(!1);return}let n;e?d.scopeDepth===0?n=$e.ObjectShorthandTopLevelDeclaration:t?n=$e.ObjectShorthandBlockScopedDeclaration:n=$e.ObjectShorthandFunctionScopedDeclaration:n=$e.ObjectShorthand,d.tokens[d.tokens.length-1].identifierRole=n,Aa(t,!0)}function gw(e,t,n){tt?FC():at&&e4(),hw(e,n)||mw(e,t)}function ws(e){at&&Uc(),Z(s.bracketL)?(d.tokens[d.tokens.length-1].contextId=e,Kt(),ie(s.bracketR),d.tokens[d.tokens.length-1].contextId=e):(I(s.num)||I(s.string)||I(s.bigint)||I(s.decimal)?so():Na(),d.tokens[d.tokens.length-1].identifierRole=$e.ObjectKey,d.tokens[d.tokens.length-1].contextId=e)}function Dl(e,t){const n=Ss();d.scopeDepth++;const r=d.tokens.length;Dr(t,n),Qf(e,n);const i=d.tokens.length;d.scopes.push(new Gn(r,i,!0)),d.scopeDepth--}function Is(e){Us(!0);const t=d.tokens.length;d.scopes.push(new Gn(e,t,!0)),d.scopeDepth--}function Qf(e,t=0){tt?IC(e,t):at?Vw(t):Us(!1,t)}function Us(e,t=0){e&&!I(s.braceL)?Kt():yo(!0,t)}function eh(e,t=!1){let n=!0;for(;!Z(e)&&!d.error;){if(n)n=!1;else if(ie(s.comma),Z(e))break;th(t)}}function th(e){e&&I(s.comma)||(I(s.ellipsis)?(_f(),Mc()):I(s.question)?le():Kt(!1,!0))}function Ve(){le(),d.tokens[d.tokens.length-1].type=s.name}function bw(){Hs()}function yw(){le(),!I(s.semi)&&!dn()&&(Z(s.star),Kt())}function xw(){$t(P._module),ie(s.braceL),ji(s.braceR)}function vw(e){return(e.type===s.name||!!(e.type&s.IS_KEYWORD))&&e.contextualKeyword!==P._from}function Kn(e){const t=Xe(0);ie(e||s.colon),un(),Ye(t)}function Yp(){ie(s.modulo),$t(P._checks),Z(s.parenL)&&(Gt(),ie(s.parenR))}function Lc(){const e=Xe(0);ie(s.colon),I(s.modulo)?Yp():(un(),I(s.modulo)&&Yp()),Ye(e)}function kw(){le(),$c(!0)}function Sw(){le(),Ve(),I(s.lessThan)&&Fn(),ie(s.parenL),Vl(),ie(s.parenR),Lc(),wt()}function zl(){I(s._class)?kw():I(s._function)?Sw():I(s._var)?Tw():Ut(P._module)?Z(s.dot)?Iw():Cw():Ae(P._type)?Ew():Ae(P._opaque)?jw():Ae(P._interface)?Rw():I(s._export)?ww():Ge()}function Tw(){le(),sh(),wt()}function Cw(){for(I(s.string)?so():Ve(),ie(s.braceL);!I(s.braceR)&&!d.error;)I(s._import)?(le(),mh()):Ge();ie(s.braceR)}function ww(){ie(s._export),Z(s._default)?I(s._function)||I(s._class)?zl():(un(),wt()):I(s._var)||I(s._function)||I(s._class)||Ae(P._opaque)?zl():I(s.star)||I(s.braceL)||Ae(P._interface)||Ae(P._type)||Ae(P._opaque)?fh():Ge()}function Iw(){$t(P._exports),nr(),wt()}function Ew(){le(),zc()}function jw(){le(),Vc(!0)}function Rw(){le(),$c()}function $c(e=!1){if(Ei(),I(s.lessThan)&&Fn(),Z(s._extends))do fa();while(!e&&Z(s.comma));if(Ae(P._mixins)){le();do fa();while(Z(s.comma))}if(Ae(P._implements)){le();do fa();while(Z(s.comma))}Ma(e,!1,e)}function fa(){nh(!1),I(s.lessThan)&&Jo()}function Dc(){$c()}function Ei(){Ve()}function zc(){Ei(),I(s.lessThan)&&Fn(),Kn(s.eq),wt()}function Vc(e){$t(P._type),Ei(),I(s.lessThan)&&Fn(),I(s.colon)&&Kn(s.colon),e||Kn(s.eq),wt()}function Ow(){Uc(),sh(),Z(s.eq)&&un()}function Fn(){const e=Xe(0);I(s.lessThan)||I(s.typeParameterStart)?le():Ge();do Ow(),I(s.greaterThan)||ie(s.comma);while(!I(s.greaterThan)&&!d.error);ie(s.greaterThan),Ye(e)}function Jo(){const e=Xe(0);for(ie(s.lessThan);!I(s.greaterThan)&&!d.error;)un(),I(s.greaterThan)||ie(s.comma);ie(s.greaterThan),Ye(e)}function Pw(){if($t(P._interface),Z(s._extends))do fa();while(Z(s.comma));Ma(!1,!1,!1)}function Wc(){I(s.num)||I(s.string)?so():Ve()}function Aw(){Ot()===s.colon?(Wc(),Kn()):un(),ie(s.bracketR),Kn()}function _w(){Wc(),ie(s.bracketR),ie(s.bracketR),I(s.lessThan)||I(s.parenL)?Hc():(Z(s.question),Kn())}function Hc(){for(I(s.lessThan)&&Fn(),ie(s.parenL);!I(s.parenR)&&!I(s.ellipsis)&&!d.error;)Ba(),I(s.parenR)||ie(s.comma);Z(s.ellipsis)&&Ba(),ie(s.parenR),Kn()}function Nw(){Hc()}function Ma(e,t,n){let r;for(t&&I(s.braceBarL)?(ie(s.braceBarL),r=s.braceBarR):(ie(s.braceL),r=s.braceR);!I(r)&&!d.error;){if(n&&Ae(P._proto)){const a=Ot();a!==s.colon&&a!==s.question&&(le(),e=!1)}if(e&&Ae(P._static)){const a=Ot();a!==s.colon&&a!==s.question&&le()}if(Uc(),Z(s.bracketL))Z(s.bracketL)?_w():Aw();else if(I(s.parenL)||I(s.lessThan))Nw();else{if(Ae(P._get)||Ae(P._set)){const a=Ot();(a===s.name||a===s.string||a===s.num)&&le()}Mw()}Bw()}ie(r)}function Mw(){if(I(s.ellipsis)){if(ie(s.ellipsis),Z(s.comma)||Z(s.semi),I(s.braceR))return;un()}else Wc(),I(s.lessThan)||I(s.parenL)?Hc():(Z(s.question),Kn())}function Bw(){!Z(s.semi)&&!Z(s.comma)&&!I(s.braceR)&&!I(s.braceBarR)&&Ge()}function nh(e){for(e||Ve();Z(s.dot);)Ve()}function Fw(){nh(!0),I(s.lessThan)&&Jo()}function Lw(){ie(s._typeof),oh()}function $w(){for(ie(s.bracketL);d.pos<ve.length&&!I(s.bracketR)&&(un(),!I(s.bracketR));)ie(s.comma);ie(s.bracketR)}function Ba(){const e=Ot();e===s.colon||e===s.question?(Ve(),Z(s.question),Kn()):un()}function Vl(){for(;!I(s.parenR)&&!I(s.ellipsis)&&!d.error;)Ba(),I(s.parenR)||ie(s.comma);Z(s.ellipsis)&&Ba()}function oh(){let e=!1;const t=d.noAnonFunctionType;switch(d.type){case s.name:{if(Ae(P._interface)){Pw();return}Ve(),Fw();return}case s.braceL:Ma(!1,!1,!1);return;case s.braceBarL:Ma(!1,!0,!1);return;case s.bracketL:$w();return;case s.lessThan:Fn(),ie(s.parenL),Vl(),ie(s.parenR),ie(s.arrow),un();return;case s.parenL:if(le(),!I(s.parenR)&&!I(s.ellipsis))if(I(s.name)){const n=Ot();e=n!==s.question&&n!==s.colon}else e=!0;if(e)if(d.noAnonFunctionType=!1,un(),d.noAnonFunctionType=t,d.noAnonFunctionType||!(I(s.comma)||I(s.parenR)&&Ot()===s.arrow)){ie(s.parenR);return}else Z(s.comma);Vl(),ie(s.parenR),ie(s.arrow),un();return;case s.minus:le(),Ar();return;case s.string:case s.num:case s._true:case s._false:case s._null:case s._this:case s._void:case s.star:le();return;default:if(d.type===s._typeof){Lw();return}else if(d.type&s.IS_KEYWORD){le(),d.tokens[d.tokens.length-1].type=s.name;return}}Ge()}function Dw(){for(oh();!dn()&&(I(s.bracketL)||I(s.questionDot));)Z(s.questionDot),ie(s.bracketL),Z(s.bracketR)||(un(),ie(s.bracketR))}function rh(){Z(s.question)?rh():Dw()}function Xp(){rh(),!d.noAnonFunctionType&&Z(s.arrow)&&un()}function Jp(){for(Z(s.bitwiseAND),Xp();Z(s.bitwiseAND);)Xp()}function zw(){for(Z(s.bitwiseOR),Jp();Z(s.bitwiseOR);)Jp()}function un(){zw()}function nr(){Kn()}function sh(){Ve(),I(s.colon)&&nr()}function Uc(){(I(s.plus)||I(s.minus))&&(le(),d.tokens[d.tokens.length-1].isType=!0)}function Vw(e){I(s.colon)&&Lc(),Us(!1,e)}function Ww(e,t,n){if(I(s.questionDot)&&Ot()===s.lessThan){if(t){n.stop=!0;return}le(),Jo(),ie(s.parenL),bo();return}else if(!t&&I(s.lessThan)){const r=d.snapshot();if(Jo(),ie(s.parenL),bo(),d.error)d.restoreFromSnapshot(r);else return}_c(e,t,n)}function Hw(){if(I(s.lessThan)){const e=d.snapshot();Jo(),d.error&&d.restoreFromSnapshot(e)}}function Uw(){if(I(s.name)&&d.contextualKeyword===P._interface){const e=Xe(0);return le(),Dc(),Ye(e),!0}else if(Ae(P._enum))return ah(),!0;return!1}function qw(){return Ae(P._enum)?(ah(),!0):!1}function Gw(e){if(e===P._declare){if(I(s._class)||I(s.name)||I(s._function)||I(s._var)||I(s._export)){const t=Xe(1);zl(),Ye(t)}}else if(I(s.name)){if(e===P._interface){const t=Xe(1);Dc(),Ye(t)}else if(e===P._type){const t=Xe(1);zc(),Ye(t)}else if(e===P._opaque){const t=Xe(1);Vc(!1),Ye(t)}}wt()}function Kw(){return Ae(P._type)||Ae(P._interface)||Ae(P._opaque)||Ae(P._enum)}function Yw(){return I(s.name)&&(d.contextualKeyword===P._type||d.contextualKeyword===P._interface||d.contextualKeyword===P._opaque||d.contextualKeyword===P._enum)}function Xw(){if(Ae(P._type)){const e=Xe(1);le(),I(s.braceL)?(Gc(),Es()):zc(),Ye(e)}else if(Ae(P._opaque)){const e=Xe(1);le(),Vc(!1),Ye(e)}else if(Ae(P._interface)){const e=Xe(1);le(),Dc(),Ye(e)}else mn(!0)}function Jw(){return I(s.star)||Ae(P._type)&&Ot()===s.star}function Zw(){if(Ut(P._type)){const e=Xe(2);Wl(),Ye(e)}else Wl()}function Qw(e){if(e&&I(s.lessThan)&&Jo(),Ae(P._implements)){const t=Xe(0);le(),d.tokens[d.tokens.length-1].type=s._implements;do Ei(),I(s.lessThan)&&Jo();while(Z(s.comma));Ye(t)}}function e4(){I(s.lessThan)&&(Fn(),I(s.parenL)||Ge())}function t4(){const e=Xe(0);Z(s.question),I(s.colon)&&nr(),Ye(e)}function n4(){if(I(s._typeof)||Ae(P._type)){const e=zs();(vw(e)||e.type===s.braceL||e.type===s.star)&&le()}}function o4(){const e=d.contextualKeyword===P._type||d.type===s._typeof;e?le():Ve(),Ae(P._as)&&!Sc(P._as)?(Ve(),e&&!I(s.name)&&!(d.type&s.IS_KEYWORD)||Ve()):(e&&(I(s.name)||d.type&s.IS_KEYWORD)&&Ve(),Ut(P._as)&&Ve())}function r4(){if(I(s.lessThan)){const e=Xe(0);Fn(),Ye(e)}}function s4(){I(s.colon)&&nr()}function a4(){if(I(s.colon)){const e=d.noAnonFunctionType;d.noAnonFunctionType=!0,nr(),d.noAnonFunctionType=e}}function i4(e,t){if(I(s.lessThan)){const n=d.snapshot();let r=Un(e,t);if(d.error)d.restoreFromSnapshot(n),d.type=s.typeParameterStart;else return r;const a=Xe(0);if(Fn(),Ye(a),r=Un(e,t),r)return!0;Ge()}return Un(e,t)}function l4(){if(I(s.colon)){const e=Xe(0),t=d.snapshot(),n=d.noAnonFunctionType;d.noAnonFunctionType=!0,Lc(),d.noAnonFunctionType=n,dn()&&Ge(),I(s.arrow)||Ge(),d.error&&d.restoreFromSnapshot(t),Ye(e)}return Z(s.arrow)}function c4(e,t=!1){if(d.tokens[d.tokens.length-1].contextualKeyword===P._async&&I(s.lessThan)){const n=d.snapshot();if(u4()&&!d.error)return;d.restoreFromSnapshot(n)}Xf(e,t)}function u4(){d.scopeDepth++;const e=d.tokens.length;return Dr(),$l()?(Is(e),!0):!1}function ah(){$t(P._enum),d.tokens[d.tokens.length-1].type=s._enum,Ve(),p4()}function p4(){Ut(P._of)&&le(),ie(s.braceL),d4(),ie(s.braceR)}function d4(){for(;!I(s.braceR)&&!d.error&&!Z(s.ellipsis);)f4(),I(s.braceR)||ie(s.comma)}function f4(){Ve(),Z(s.eq)&&le()}function h4(){if(ji(s.eof),d.scopes.push(new Gn(0,d.tokens.length,!0)),d.scopeDepth!==0)throw new Error(`Invalid scope depth at end of file: ${d.scopeDepth}`);return new eI(d.tokens,d.scopes)}function mn(e){at&&Uw()||(I(s.at)&&qc(),m4(e))}function m4(e){if(tt&&AC())return;const t=d.type;switch(t){case s._break:case s._continue:b4();return;case s._debugger:y4();return;case s._do:x4();return;case s._for:v4();return;case s._function:if(Ot()===s.dot)break;e||Ge(),T4();return;case s._class:e||Ge(),Qo(!0);return;case s._if:C4();return;case s._return:w4();return;case s._switch:I4();return;case s._throw:E4();return;case s._try:R4();return;case s._let:case s._const:e||Ge();case s._var:ha(t!==s._var);return;case s._while:O4();return;case s.braceL:yo();return;case s.semi:P4();return;case s._export:case s._import:{const a=Ot();if(a===s.parenL||a===s.dot)break;le(),t===s._import?mh():fh();return}case s.name:if(d.contextualKeyword===P._async){const a=d.start,i=d.snapshot();if(le(),I(s._function)&&!dn()){ie(s._function),Zo(a,!0);return}else d.restoreFromSnapshot(i)}else if(d.contextualKeyword===P._using&&!uf()&&Ot()===s.name){ha(!0);return}else if(ih()){$t(P._await),ha(!0);return}}const n=d.tokens.length;Gt();let r=null;if(d.tokens.length===n+1){const a=d.tokens[d.tokens.length-1];a.type===s.name&&(r=a.contextualKeyword)}if(r==null){wt();return}Z(s.colon)?A4():_4(r)}function ih(){if(!Ae(P._await))return!1;const e=d.snapshot();return le(),!Ae(P._using)||nn()||(le(),!I(s.name)||nn())?(d.restoreFromSnapshot(e),!1):(d.restoreFromSnapshot(e),!0)}function qc(){for(;I(s.at);)lh()}function lh(){if(le(),Z(s.parenL))Gt(),ie(s.parenR);else{for(Ve();Z(s.dot);)Ve();g4()}}function g4(){tt?qC():ch()}function ch(){Z(s.parenL)&&bo()}function b4(){le(),Vn()||(Ve(),wt())}function y4(){le(),wt()}function x4(){le(),mn(!1),ie(s._while),Ii(),Z(s.semi)}function v4(){d.scopeDepth++;const e=d.tokens.length;S4();const t=d.tokens.length;d.scopes.push(new Gn(e,t,!1)),d.scopeDepth--}function k4(){return!(!Ae(P._using)||Sc(P._of))}function S4(){le();let e=!1;if(Ae(P._await)&&(e=!0,le()),ie(s.parenL),I(s.semi)){e&&Ge(),al();return}const t=ih();if(t||I(s._var)||I(s._let)||I(s._const)||k4()){if(t&&$t(P._await),le(),uh(!0,d.type!==s._var),I(s._in)||Ae(P._of)){Zp(e);return}al();return}if(Gt(!0),I(s._in)||Ae(P._of)){Zp(e);return}e&&Ge(),al()}function T4(){const e=d.start;le(),Zo(e,!0)}function C4(){le(),Ii(),mn(!1),Z(s._else)&&mn(!1)}function w4(){le(),Vn()||(Gt(),wt())}function I4(){le(),Ii(),d.scopeDepth++;const e=d.tokens.length;for(ie(s.braceL);!I(s.braceR)&&!d.error;)if(I(s._case)||I(s._default)){const n=I(s._case);le(),n&&Gt(),ie(s.colon)}else mn(!0);le();const t=d.tokens.length;d.scopes.push(new Gn(e,t,!1)),d.scopeDepth--}function E4(){le(),Gt(),wt()}function j4(){Ti(!0),tt&&Lr()}function R4(){if(le(),yo(),I(s._catch)){le();let e=null;if(I(s.parenL)&&(d.scopeDepth++,e=d.tokens.length,ie(s.parenL),j4(),ie(s.parenR)),yo(),e!=null){const t=d.tokens.length;d.scopes.push(new Gn(e,t,!1)),d.scopeDepth--}}Z(s._finally)&&yo()}function ha(e){le(),uh(!1,e),wt()}function O4(){le(),Ii(),mn(!1)}function P4(){le()}function A4(){mn(!0)}function _4(e){tt?NC(e):at?Gw(e):wt()}function yo(e=!1,t=0){const n=d.tokens.length;d.scopeDepth++,ie(s.braceL),t&&(d.tokens[d.tokens.length-1].contextId=t),ji(s.braceR),t&&(d.tokens[d.tokens.length-1].contextId=t);const r=d.tokens.length;d.scopes.push(new Gn(n,r,e)),d.scopeDepth--}function ji(e){for(;!Z(e)&&!d.error;)mn(!0)}function al(){ie(s.semi),I(s.semi)||Gt(),ie(s.semi),I(s.parenR)||Gt(),ie(s.parenR),mn(!1)}function Zp(e){e?Ut(P._of):le(),Gt(),ie(s.parenR),mn(!1)}function uh(e,t){for(;;){if(N4(t),Z(s.eq)){const n=d.tokens.length-1;Kt(e),d.tokens[n].rhsEndIndex=d.tokens.length}if(!Z(s.comma))break}}function N4(e){Ti(e),tt?$C():at&&s4()}function Zo(e,t,n=!1){I(s.star)&&le(),t&&!n&&!I(s.name)&&!I(s._yield)&&Ge();let r=null;I(s.name)&&(t||(r=d.tokens.length,d.scopeDepth++),Eo(!1));const a=d.tokens.length;d.scopeDepth++,Dr(),Qf(e);const i=d.tokens.length;d.scopes.push(new Gn(a,i,!0)),d.scopeDepth--,r!==null&&(d.scopes.push(new Gn(r,i,!0)),d.scopeDepth--)}function Dr(e=!1,t=0){tt?LC():at&&r4(),ie(s.parenL),t&&(d.tokens[d.tokens.length-1].contextId=t),Ic(s.parenR,!1,!1,e,t),t&&(d.tokens[d.tokens.length-1].contextId=t)}function Qo(e,t=!1){const n=Ss();le(),d.tokens[d.tokens.length-1].contextId=n,d.tokens[d.tokens.length-1].isExpression=!e;let r=null;e||(r=d.tokens.length,d.scopeDepth++),L4(e,t),$4();const a=d.tokens.length;if(M4(n),!d.error&&(d.tokens[a].contextId=n,d.tokens[d.tokens.length-1].contextId=n,r!==null)){const i=d.tokens.length;d.scopes.push(new Gn(r,i,!1)),d.scopeDepth--}}function ph(){return I(s.eq)||I(s.semi)||I(s.braceR)||I(s.bang)||I(s.colon)}function dh(){return I(s.parenL)||I(s.lessThan)}function M4(e){for(ie(s.braceL);!Z(s.braceR)&&!d.error;){if(Z(s.semi))continue;if(I(s.at)){lh();continue}const t=d.start;B4(t,e)}}function B4(e,t){tt&&Ec([P._declare,P._public,P._protected,P._private,P._override]);let n=!1;if(I(s.name)&&d.contextualKeyword===P._static){if(Ve(),dh()){os(e,!1);return}else if(ph()){ma();return}if(d.tokens[d.tokens.length-1].type=s._static,n=!0,I(s.braceL)){d.tokens[d.tokens.length-1].contextId=t,yo();return}}F4(e,n,t)}function F4(e,t,n){if(tt&&_C(t))return;if(Z(s.star)){Jr(n),os(e,!1);return}Jr(n);let r=!1;const a=d.tokens[d.tokens.length-1];a.contextualKeyword===P._constructor&&(r=!0),Qp(),dh()?os(e,r):ph()?ma():a.contextualKeyword===P._async&&!Vn()?(d.tokens[d.tokens.length-1].type=s._async,I(s.star)&&le(),Jr(n),Qp(),os(e,!1)):(a.contextualKeyword===P._get||a.contextualKeyword===P._set)&&!(Vn()&&I(s.star))?(a.contextualKeyword===P._get?d.tokens[d.tokens.length-1].type=s._get:d.tokens[d.tokens.length-1].type=s._set,Jr(n),os(e,!1)):a.contextualKeyword===P._accessor&&!Vn()?(Jr(n),ma()):Vn()?ma():Ge()}function os(e,t){tt?tr():at&&I(s.lessThan)&&Fn(),Dl(e,t)}function Jr(e){ws(e)}function Qp(){if(tt){const e=Xe(0);Z(s.question),Ye(e)}}function ma(){if(tt?(mf(s.bang),Lr()):at&&I(s.colon)&&nr(),I(s.eq)){const e=d.tokens.length;le(),Kt(),d.tokens[e].rhsEndIndex=d.tokens.length}wt()}function L4(e,t=!1){tt&&(!e||t)&&Ae(P._implements)||(I(s.name)&&Eo(!0),tt?tr():at&&I(s.lessThan)&&Fn())}function $4(){let e=!1;Z(s._extends)?(Yf(),e=!0):e=!1,tt?BC(e):at&&Qw(e)}function fh(){const e=d.tokens.length-1;tt&&jC()||(W4()?H4():V4()?(Ve(),I(s.comma)&&Ot()===s.star?(ie(s.comma),ie(s.star),$t(P._as),Ve()):hh(),Es()):Z(s._default)?D4():q4()?z4():(Gc(),Es()),d.tokens[e].rhsEndIndex=d.tokens.length)}function D4(){if(tt&&PC()||at&&qw())return;const e=d.start;Z(s._function)?Zo(e,!0,!0):Ae(P._async)&&Ot()===s._function?(Ut(P._async),Z(s._function),Zo(e,!0,!0)):I(s._class)?Qo(!0,!0):I(s.at)?(qc(),Qo(!0,!0)):(Kt(),wt())}function z4(){tt?MC():at?Xw():mn(!0)}function V4(){if(tt&&Wf())return!1;if(at&&Yw())return!1;if(I(s.name))return d.contextualKeyword!==P._async;if(!I(s._default))return!1;const e=Tc(),t=zs(),n=t.type===s.name&&t.contextualKeyword===P._from;if(t.type===s.comma)return!0;if(n){const r=ve.charCodeAt(gf(e+4));return r===D.quotationMark||r===D.apostrophe}return!1}function hh(){Z(s.comma)&&Gc()}function Es(){Ut(P._from)&&(so(),gh()),wt()}function W4(){return at?Jw():I(s.star)}function H4(){at?Zw():Wl()}function Wl(){ie(s.star),Ae(P._as)?U4():Es()}function U4(){le(),d.tokens[d.tokens.length-1].type=s._as,Ve(),hh(),Es()}function q4(){return tt&&Wf()||at&&Kw()||d.type===s._var||d.type===s._const||d.type===s._let||d.type===s._function||d.type===s._class||Ae(P._async)||I(s.at)}function Gc(){let e=!0;for(ie(s.braceL);!Z(s.braceR)&&!d.error;){if(e)e=!1;else if(ie(s.comma),Z(s.braceR))break;G4()}}function G4(){if(tt){OC();return}Ve(),d.tokens[d.tokens.length-1].identifierRole=$e.ExportAccess,Ut(P._as)&&Ve()}function K4(){const e=d.snapshot();return $t(P._module),Ut(P._from)?Ae(P._from)?(d.restoreFromSnapshot(e),!0):(d.restoreFromSnapshot(e),!1):I(s.comma)?(d.restoreFromSnapshot(e),!1):(d.restoreFromSnapshot(e),!0)}function Y4(){Ae(P._module)&&K4()&&le()}function mh(){if(tt&&I(s.name)&&Ot()===s.eq){Fl();return}if(tt&&Ae(P._type)){const e=zs();if(e.type===s.name&&e.contextualKeyword!==P._from){if($t(P._type),Ot()===s.eq){Fl();return}}else(e.type===s.star||e.type===s.braceL)&&$t(P._type)}I(s.string)||(Y4(),J4(),$t(P._from)),so(),gh(),wt()}function X4(){return I(s.name)}function e1(){Pa()}function J4(){at&&n4();let e=!0;if(!(X4()&&(e1(),!Z(s.comma)))){if(I(s.star)){le(),$t(P._as),e1();return}for(ie(s.braceL);!Z(s.braceR)&&!d.error;){if(e)e=!1;else if(Z(s.colon)&&Ge("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),ie(s.comma),Z(s.braceR))break;Z4()}}}function Z4(){if(tt){RC();return}if(at){o4();return}Pa(),Ae(P._as)&&(d.tokens[d.tokens.length-1].identifierRole=$e.ImportAccess,le(),Pa())}function gh(){(I(s._with)||Ae(P._assert)&&!nn())&&(le(),Fc(!1,!1))}function Q4(){return d.pos===0&&ve.charCodeAt(0)===D.numberSign&&ve.charCodeAt(1)===D.exclamationMark&&xf(2),yf(),h4()}class eI{constructor(t,n){this.tokens=t,this.scopes=n}}function tI(e,t,n,r){if(r&&n)throw new Error("Cannot combine flow and typescript plugins.");CS(e,t,n,r);const a=Q4();if(d.error)throw kS(d.error);return a}function nI(e){let t=e.currentIndex(),n=0;const r=e.currentToken();do{const a=e.tokens[t];if(a.isOptionalChainStart&&n++,a.isOptionalChainEnd&&n--,n+=a.numNullishCoalesceStarts,n-=a.numNullishCoalesceEnds,a.contextualKeyword===P._await&&a.identifierRole==null&&a.scopeDepth===r.scopeDepth)return!0;t+=1}while(n>0&&t<e.tokens.length);return!1}class ds{__init(){this.resultCode=""}__init2(){this.resultMappings=new Array(this.tokens.length)}__init3(){this.tokenIndex=0}constructor(t,n,r,a,i){this.code=t,this.tokens=n,this.isFlowEnabled=r,this.disableESTransforms=a,this.helperManager=i,ds.prototype.__init.call(this),ds.prototype.__init2.call(this),ds.prototype.__init3.call(this)}snapshot(){return{resultCode:this.resultCode,tokenIndex:this.tokenIndex}}restoreToSnapshot(t){this.resultCode=t.resultCode,this.tokenIndex=t.tokenIndex}dangerouslyGetAndRemoveCodeSinceSnapshot(t){const n=this.resultCode.slice(t.resultCode.length);return this.resultCode=t.resultCode,n}reset(){this.resultCode="",this.resultMappings=new Array(this.tokens.length),this.tokenIndex=0}matchesContextualAtIndex(t,n){return this.matches1AtIndex(t,s.name)&&this.tokens[t].contextualKeyword===n}identifierNameAtIndex(t){return this.identifierNameForToken(this.tokens[t])}identifierNameAtRelativeIndex(t){return this.identifierNameForToken(this.tokenAtRelativeIndex(t))}identifierName(){return this.identifierNameForToken(this.currentToken())}identifierNameForToken(t){return this.code.slice(t.start,t.end)}rawCodeForToken(t){return this.code.slice(t.start,t.end)}stringValueAtIndex(t){return this.stringValueForToken(this.tokens[t])}stringValue(){return this.stringValueForToken(this.currentToken())}stringValueForToken(t){return this.code.slice(t.start+1,t.end-1)}matches1AtIndex(t,n){return this.tokens[t].type===n}matches2AtIndex(t,n,r){return this.tokens[t].type===n&&this.tokens[t+1].type===r}matches3AtIndex(t,n,r,a){return this.tokens[t].type===n&&this.tokens[t+1].type===r&&this.tokens[t+2].type===a}matches1(t){return this.tokens[this.tokenIndex].type===t}matches2(t,n){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===n}matches3(t,n,r){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===n&&this.tokens[this.tokenIndex+2].type===r}matches4(t,n,r,a){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===n&&this.tokens[this.tokenIndex+2].type===r&&this.tokens[this.tokenIndex+3].type===a}matches5(t,n,r,a,i){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===n&&this.tokens[this.tokenIndex+2].type===r&&this.tokens[this.tokenIndex+3].type===a&&this.tokens[this.tokenIndex+4].type===i}matchesContextual(t){return this.matchesContextualAtIndex(this.tokenIndex,t)}matchesContextIdAndLabel(t,n){return this.matches1(t)&&this.currentToken().contextId===n}previousWhitespaceAndComments(){let t=this.code.slice(this.tokenIndex>0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex].start:this.code.length);return this.isFlowEnabled&&(t=t.replace(/@flow/g,"")),t}replaceToken(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}replaceTokenTrimmingLeftWhitespace(t){this.resultCode+=this.previousWhitespaceAndComments().replace(/[^\r\n]/g,""),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}removeInitialToken(){this.replaceToken("")}removeToken(){this.replaceTokenTrimmingLeftWhitespace("")}removeBalancedCode(){let t=0;for(;!this.isAtEnd();){if(this.matches1(s.braceL))t++;else if(this.matches1(s.braceR)){if(t===0)return;t--}this.removeToken()}}copyExpectedToken(t){if(this.tokens[this.tokenIndex].type!==t)throw new Error(`Expected token ${t}`);this.copyToken()}copyToken(){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}copyTokenWithPrefix(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultCode+=t,this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}appendTokenPrefix(){const t=this.currentToken();if((t.numNullishCoalesceStarts||t.isOptionalChainStart)&&(t.isAsyncOperation=nI(this)),!this.disableESTransforms){if(t.numNullishCoalesceStarts)for(let n=0;n<t.numNullishCoalesceStarts;n++)t.isAsyncOperation?(this.resultCode+="await ",this.resultCode+=this.helperManager.getHelperName("asyncNullishCoalesce")):this.resultCode+=this.helperManager.getHelperName("nullishCoalesce"),this.resultCode+="(";t.isOptionalChainStart&&(t.isAsyncOperation&&(this.resultCode+="await "),this.tokenIndex>0&&this.tokenAtRelativeIndex(-1).type===s._delete?t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete"):this.resultCode+=this.helperManager.getHelperName("optionalChainDelete"):t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain"):this.resultCode+=this.helperManager.getHelperName("optionalChain"),this.resultCode+="([")}}appendTokenSuffix(){const t=this.currentToken();if(t.isOptionalChainEnd&&!this.disableESTransforms&&(this.resultCode+="])"),t.numNullishCoalesceEnds&&!this.disableESTransforms)for(let n=0;n<t.numNullishCoalesceEnds;n++)this.resultCode+="))"}appendCode(t){this.resultCode+=t}currentToken(){return this.tokens[this.tokenIndex]}currentTokenCode(){const t=this.currentToken();return this.code.slice(t.start,t.end)}tokenAtRelativeIndex(t){return this.tokens[this.tokenIndex+t]}currentIndex(){return this.tokenIndex}nextToken(){if(this.tokenIndex===this.tokens.length)throw new Error("Unexpectedly reached end of input.");this.tokenIndex++}previousToken(){this.tokenIndex--}finish(){if(this.tokenIndex!==this.tokens.length)throw new Error("Tried to finish processing tokens before reaching the end.");return this.resultCode+=this.previousWhitespaceAndComments(),{code:this.resultCode,mappings:this.resultMappings}}isAtEnd(){return this.tokenIndex===this.tokens.length}}function oI(e,t,n,r){const a=t.snapshot(),i=rI(t);let c=[];const u=[],p=[];let f=null;const h=[],g=[],y=t.currentToken().contextId;if(y==null)throw new Error("Expected non-null class context ID on class open-brace.");for(t.nextToken();!t.matchesContextIdAndLabel(s.braceR,y);)if(t.matchesContextual(P._constructor)&&!t.currentToken().isType)({constructorInitializerStatements:c,constructorInsertPos:f}=t1(t));else if(t.matches1(s.semi))r||g.push({start:t.currentIndex(),end:t.currentIndex()+1}),t.nextToken();else if(t.currentToken().isType)t.nextToken();else{const m=t.currentIndex();let x=!1,b=!1,k=!1;for(;Fa(t.currentToken());)t.matches1(s._static)&&(x=!0),t.matches1(s.hash)&&(b=!0),(t.matches1(s._declare)||t.matches1(s._abstract))&&(k=!0),t.nextToken();if(x&&t.matches1(s.braceL)){il(t,y);continue}if(b){il(t,y);continue}if(t.matchesContextual(P._constructor)&&!t.currentToken().isType){({constructorInitializerStatements:c,constructorInsertPos:f}=t1(t));continue}const E=t.currentIndex();if(sI(t),t.matches1(s.lessThan)||t.matches1(s.parenL)){il(t,y);continue}for(;t.currentToken().isType;)t.nextToken();if(t.matches1(s.eq)){const w=t.currentIndex(),C=t.currentToken().rhsEndIndex;if(C==null)throw new Error("Expected rhsEndIndex on class field assignment.");for(t.nextToken();t.currentIndex()<C;)e.processToken();let S;x?(S=n.claimFreeName("__initStatic"),p.push(S)):(S=n.claimFreeName("__init"),u.push(S)),h.push({initializerName:S,equalsIndex:w,start:E,end:t.currentIndex()})}else(!r||k)&&g.push({start:m,end:t.currentIndex()})}return t.restoreToSnapshot(a),r?{headerInfo:i,constructorInitializerStatements:c,instanceInitializerNames:[],staticInitializerNames:[],constructorInsertPos:f,fields:[],rangesToRemove:g}:{headerInfo:i,constructorInitializerStatements:c,instanceInitializerNames:u,staticInitializerNames:p,constructorInsertPos:f,fields:h,rangesToRemove:g}}function il(e,t){for(e.nextToken();e.currentToken().contextId!==t;)e.nextToken();for(;Fa(e.tokenAtRelativeIndex(-1));)e.previousToken()}function rI(e){const t=e.currentToken(),n=t.contextId;if(n==null)throw new Error("Expected context ID on class token.");const r=t.isExpression;if(r==null)throw new Error("Expected isExpression on class token.");let a=null,i=!1;for(e.nextToken(),e.matches1(s.name)&&(a=e.identifierName());!e.matchesContextIdAndLabel(s.braceL,n);)e.matches1(s._extends)&&!e.currentToken().isType&&(i=!0),e.nextToken();return{isExpression:r,className:a,hasSuperclass:i}}function t1(e){const t=[];e.nextToken();const n=e.currentToken().contextId;if(n==null)throw new Error("Expected context ID on open-paren starting constructor params.");for(;!e.matchesContextIdAndLabel(s.parenR,n);)if(e.currentToken().contextId===n){if(e.nextToken(),Fa(e.currentToken())){for(e.nextToken();Fa(e.currentToken());)e.nextToken();const i=e.currentToken();if(i.type!==s.name)throw new Error("Expected identifier after access modifiers in constructor arg.");const c=e.identifierNameForToken(i);t.push(`this.${c} = ${c}`)}}else e.nextToken();for(e.nextToken();e.currentToken().isType;)e.nextToken();let r=e.currentIndex(),a=!1;for(;!e.matchesContextIdAndLabel(s.braceR,n);){if(!a&&e.matches2(s._super,s.parenL)){e.nextToken();const i=e.currentToken().contextId;if(i==null)throw new Error("Expected a context ID on the super call");for(;!e.matchesContextIdAndLabel(s.parenR,i);)e.nextToken();r=e.currentIndex(),a=!0}e.nextToken()}return e.nextToken(),{constructorInitializerStatements:t,constructorInsertPos:r}}function Fa(e){return[s._async,s._get,s._set,s.plus,s.minus,s._readonly,s._static,s._public,s._private,s._protected,s._override,s._abstract,s.star,s._declare,s.hash].includes(e.type)}function sI(e){if(e.matches1(s.bracketL)){const n=e.currentToken().contextId;if(n==null)throw new Error("Expected class context ID on computed name open bracket.");for(;!e.matchesContextIdAndLabel(s.bracketR,n);)e.nextToken();e.nextToken()}else e.nextToken()}function bh(e){if(e.removeInitialToken(),e.removeToken(),e.removeToken(),e.removeToken(),e.matches1(s.parenL))e.removeToken(),e.removeToken(),e.removeToken();else for(;e.matches1(s.dot);)e.removeToken(),e.removeToken()}const yh={typeDeclarations:new Set,valueDeclarations:new Set};function xh(e){const t=new Set,n=new Set;for(let r=0;r<e.tokens.length;r++){const a=e.tokens[r];a.type===s.name&&hf(a)&&(a.isType?t.add(e.identifierNameForToken(a)):n.add(e.identifierNameForToken(a)))}return{typeDeclarations:t,valueDeclarations:n}}function vh(e){let t=e.currentIndex();for(;!e.matches1AtIndex(t,s.braceR);)t++;return e.matchesContextualAtIndex(t+1,P._from)&&e.matches1AtIndex(t+2,s.string)}function Lo(e){(e.matches2(s._with,s.braceL)||e.matches2(s.name,s.braceL)&&e.matchesContextual(P._assert))&&(e.removeToken(),e.removeToken(),e.removeBalancedCode(),e.removeToken())}function kh(e,t,n,r){if(!e||t)return!1;const a=n.currentToken();if(a.rhsEndIndex==null)throw new Error("Expected non-null rhsEndIndex on export token.");const i=a.rhsEndIndex-n.currentIndex();if(i!==3&&!(i===4&&n.matches1AtIndex(a.rhsEndIndex-1,s.semi)))return!1;const c=n.tokenAtRelativeIndex(2);if(c.type!==s.name)return!1;const u=n.identifierNameForToken(c);return r.typeDeclarations.has(u)&&!r.valueDeclarations.has(u)}class fs extends Bn{__init(){this.hadExport=!1}__init2(){this.hadNamedExport=!1}__init3(){this.hadDefaultExport=!1}constructor(t,n,r,a,i,c,u,p,f,h,g,y){super(),this.rootTransformer=t,this.tokens=n,this.importProcessor=r,this.nameManager=a,this.helperManager=i,this.reactHotLoaderTransformer=c,this.enableLegacyBabel5ModuleInterop=u,this.enableLegacyTypeScriptModuleInterop=p,this.isTypeScriptTransformEnabled=f,this.isFlowTransformEnabled=h,this.preserveDynamicImport=g,this.keepUnusedImports=y,fs.prototype.__init.call(this),fs.prototype.__init2.call(this),fs.prototype.__init3.call(this),this.declarationInfo=f?xh(n):yh}getPrefixCode(){let t="";return this.hadExport&&(t+='Object.defineProperty(exports, "__esModule", {value: true});'),t}getSuffixCode(){return this.enableLegacyBabel5ModuleInterop&&this.hadDefaultExport&&!this.hadNamedExport?`
316
+ module.exports = exports.default;
317
+ `:""}process(){return this.tokens.matches3(s._import,s.name,s.eq)?this.processImportEquals():this.tokens.matches1(s._import)?(this.processImport(),!0):this.tokens.matches2(s._export,s.eq)?(this.tokens.replaceToken("module.exports"),!0):this.tokens.matches1(s._export)&&!this.tokens.currentToken().isType?(this.hadExport=!0,this.processExport()):this.tokens.matches2(s.name,s.postIncDec)&&this.processPostIncDec()?!0:this.tokens.matches1(s.name)||this.tokens.matches1(s.jsxName)?this.processIdentifier():this.tokens.matches1(s.eq)?this.processAssignment():this.tokens.matches1(s.assign)?this.processComplexAssignment():this.tokens.matches1(s.preIncDec)?this.processPreIncDec():!1}processImportEquals(){const t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.importProcessor.shouldAutomaticallyElideImportedName(t)?bh(this.tokens):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(s._import,s.parenL)){if(this.preserveDynamicImport){this.tokens.copyToken();return}const n=this.enableLegacyTypeScriptModuleInterop?"":`${this.helperManager.getHelperName("interopRequireWildcard")}(`;this.tokens.replaceToken(`Promise.resolve().then(() => ${n}require`);const r=this.tokens.currentToken().contextId;if(r==null)throw new Error("Expected context ID on dynamic import invocation.");for(this.tokens.copyToken();!this.tokens.matchesContextIdAndLabel(s.parenR,r);)this.rootTransformer.processToken();this.tokens.replaceToken(n?")))":"))");return}if(this.removeImportAndDetectIfShouldElide())this.tokens.removeToken();else{const n=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(n)),this.tokens.appendCode(this.importProcessor.claimImportCode(n))}Lo(this.tokens),this.tokens.matches1(s.semi)&&this.tokens.removeToken()}removeImportAndDetectIfShouldElide(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(P._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,s.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,P._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(s.name)||this.tokens.matches1(s.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(s.string))return!1;let t=!1,n=!1;for(;!this.tokens.matches1(s.string);)(!t&&this.tokens.matches1(s.braceL)||this.tokens.matches1(s.comma))&&(this.tokens.removeToken(),this.tokens.matches1(s.braceR)||(n=!0),(this.tokens.matches2(s.name,s.comma)||this.tokens.matches2(s.name,s.braceR)||this.tokens.matches4(s.name,s.name,s.name,s.comma)||this.tokens.matches4(s.name,s.name,s.name,s.braceR))&&(t=!0)),this.tokens.removeToken();return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!t:this.isFlowTransformEnabled?n&&!t:!1}removeRemainingImport(){for(;!this.tokens.matches1(s.string);)this.tokens.removeToken()}processIdentifier(){const t=this.tokens.currentToken();if(t.shadowsGlobal)return!1;if(t.identifierRole===$e.ObjectShorthand)return this.processObjectShorthand();if(t.identifierRole!==$e.Access)return!1;const n=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(t));if(!n)return!1;let r=this.tokens.currentIndex()+1;for(;r<this.tokens.tokens.length&&this.tokens.tokens[r].type===s.parenR;)r++;return this.tokens.tokens[r].type===s.parenL?this.tokens.tokenAtRelativeIndex(1).type===s.parenL&&this.tokens.tokenAtRelativeIndex(-1).type!==s._new?(this.tokens.replaceToken(`${n}.call(void 0, `),this.tokens.removeToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(s.parenR)):this.tokens.replaceToken(`(0, ${n})`):this.tokens.replaceToken(n),!0}processObjectShorthand(){const t=this.tokens.identifierName(),n=this.importProcessor.getIdentifierReplacement(t);return n?(this.tokens.replaceToken(`${t}: ${n}`),!0):!1}processExport(){if(this.tokens.matches2(s._export,s._enum)||this.tokens.matches3(s._export,s._const,s._enum))return this.hadNamedExport=!0,!1;if(this.tokens.matches2(s._export,s._default))return this.tokens.matches3(s._export,s._default,s._enum)?(this.hadDefaultExport=!0,!1):(this.processExportDefault(),!0);if(this.tokens.matches2(s._export,s.braceL))return this.processExportBindings(),!0;if(this.tokens.matches2(s._export,s.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,P._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(s.braceL)){for(;!this.tokens.matches1(s.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(s._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(P._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,s.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),Lo(this.tokens)),!0}if(this.hadNamedExport=!0,this.tokens.matches2(s._export,s._var)||this.tokens.matches2(s._export,s._let)||this.tokens.matches2(s._export,s._const))return this.processExportVar(),!0;if(this.tokens.matches2(s._export,s._function)||this.tokens.matches3(s._export,s.name,s._function))return this.processExportFunction(),!0;if(this.tokens.matches2(s._export,s._class)||this.tokens.matches3(s._export,s._abstract,s._class)||this.tokens.matches2(s._export,s.at))return this.processExportClass(),!0;if(this.tokens.matches2(s._export,s.star))return this.processExportStar(),!0;throw new Error("Unrecognized export syntax.")}processAssignment(){const t=this.tokens.currentIndex(),n=this.tokens.tokens[t-1];if(n.isType||n.type!==s.name||n.shadowsGlobal||t>=2&&this.tokens.matches1AtIndex(t-2,s.dot)||t>=2&&[s._var,s._let,s._const].includes(this.tokens.tokens[t-2].type))return!1;const r=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(n));return r?(this.tokens.copyToken(),this.tokens.appendCode(` ${r} =`),!0):!1}processComplexAssignment(){const t=this.tokens.currentIndex(),n=this.tokens.tokens[t-1];if(n.type!==s.name||n.shadowsGlobal||t>=2&&this.tokens.matches1AtIndex(t-2,s.dot))return!1;const r=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(n));return r?(this.tokens.appendCode(` = ${r}`),this.tokens.copyToken(),!0):!1}processPreIncDec(){const t=this.tokens.currentIndex(),n=this.tokens.tokens[t+1];if(n.type!==s.name||n.shadowsGlobal||t+2<this.tokens.tokens.length&&(this.tokens.matches1AtIndex(t+2,s.dot)||this.tokens.matches1AtIndex(t+2,s.bracketL)||this.tokens.matches1AtIndex(t+2,s.parenL)))return!1;const r=this.tokens.identifierNameForToken(n),a=this.importProcessor.resolveExportBinding(r);return a?(this.tokens.appendCode(`${a} = `),this.tokens.copyToken(),!0):!1}processPostIncDec(){const t=this.tokens.currentIndex(),n=this.tokens.tokens[t],r=this.tokens.tokens[t+1];if(n.type!==s.name||n.shadowsGlobal||t>=1&&this.tokens.matches1AtIndex(t-1,s.dot))return!1;const a=this.tokens.identifierNameForToken(n),i=this.importProcessor.resolveExportBinding(a);if(!i)return!1;const c=this.tokens.rawCodeForToken(r),u=this.importProcessor.getIdentifierReplacement(a)||a;if(c==="++")this.tokens.replaceToken(`(${u} = ${i} = ${u} + 1, ${u} - 1)`);else if(c==="--")this.tokens.replaceToken(`(${u} = ${i} = ${u} - 1, ${u} + 1)`);else throw new Error(`Unexpected operator: ${c}`);return this.tokens.removeToken(),!0}processExportDefault(){let t=!0;if(this.tokens.matches4(s._export,s._default,s._function,s.name)||this.tokens.matches5(s._export,s._default,s.name,s._function,s.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,P._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();const n=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${n};`)}else if(this.tokens.matches4(s._export,s._default,s._class,s.name)||this.tokens.matches5(s._export,s._default,s._abstract,s._class,s.name)||this.tokens.matches3(s._export,s._default,s.at)){this.tokens.removeInitialToken(),this.tokens.removeToken(),this.copyDecorators(),this.tokens.matches1(s._abstract)&&this.tokens.removeToken();const n=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${n};`)}else if(kh(this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))t=!1,this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){const n=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${n}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${n} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(n)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =");t&&(this.hadDefaultExport=!0)}copyDecorators(){for(;this.tokens.matches1(s.at);)if(this.tokens.copyToken(),this.tokens.matches1(s.parenL))this.tokens.copyExpectedToken(s.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(s.parenR);else{for(this.tokens.copyExpectedToken(s.name);this.tokens.matches1(s.dot);)this.tokens.copyExpectedToken(s.dot),this.tokens.copyExpectedToken(s.name);this.tokens.matches1(s.parenL)&&(this.tokens.copyExpectedToken(s.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(s.parenR))}}processExportVar(){this.isSimpleExportVar()?this.processSimpleExportVar():this.processComplexExportVar()}isSimpleExportVar(){let t=this.tokens.currentIndex();if(t++,t++,!this.tokens.matches1AtIndex(t,s.name))return!1;for(t++;t<this.tokens.tokens.length&&this.tokens.tokens[t].isType;)t++;return!!this.tokens.matches1AtIndex(t,s.eq)}processSimpleExportVar(){this.tokens.removeInitialToken(),this.tokens.copyToken();const t=this.tokens.identifierName();for(;!this.tokens.matches1(s.eq);)this.rootTransformer.processToken();const n=this.tokens.currentToken().rhsEndIndex;if(n==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<n;)this.rootTransformer.processToken();this.tokens.appendCode(`; exports.${t} = ${t}`)}processComplexExportVar(){this.tokens.removeInitialToken(),this.tokens.removeToken();const t=this.tokens.matches1(s.braceL);t&&this.tokens.appendCode("(");let n=0;for(;;)if(this.tokens.matches1(s.braceL)||this.tokens.matches1(s.dollarBraceL)||this.tokens.matches1(s.bracketL))n++,this.tokens.copyToken();else if(this.tokens.matches1(s.braceR)||this.tokens.matches1(s.bracketR))n--,this.tokens.copyToken();else{if(n===0&&!this.tokens.matches1(s.name)&&!this.tokens.currentToken().isType)break;if(this.tokens.matches1(s.eq)){const r=this.tokens.currentToken().rhsEndIndex;if(r==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<r;)this.rootTransformer.processToken()}else{const r=this.tokens.currentToken();if(ff(r)){const a=this.tokens.identifierName();let i=this.importProcessor.getIdentifierReplacement(a);if(i===null)throw new Error(`Expected a replacement for ${a} in \`export var\` syntax.`);OS(r)&&(i=`${a}: ${i}`),this.tokens.replaceToken(i)}else this.rootTransformer.processToken()}}if(t){const r=this.tokens.currentToken().rhsEndIndex;if(r==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<r;)this.rootTransformer.processToken();this.tokens.appendCode(")")}}processExportFunction(){this.tokens.replaceToken("");const t=this.processNamedFunction();this.tokens.appendCode(` exports.${t} = ${t};`)}processNamedFunction(){if(this.tokens.matches1(s._function))this.tokens.copyToken();else if(this.tokens.matches2(s.name,s._function)){if(!this.tokens.matchesContextual(P._async))throw new Error("Expected async keyword in function export.");this.tokens.copyToken(),this.tokens.copyToken()}if(this.tokens.matches1(s.star)&&this.tokens.copyToken(),!this.tokens.matches1(s.name))throw new Error("Expected identifier for exported function name.");const t=this.tokens.identifierName();if(this.tokens.copyToken(),this.tokens.currentToken().isType)for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return this.tokens.copyExpectedToken(s.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(s.parenR),this.rootTransformer.processPossibleTypeRange(),this.tokens.copyExpectedToken(s.braceL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(s.braceR),t}processExportClass(){this.tokens.removeInitialToken(),this.copyDecorators(),this.tokens.matches1(s._abstract)&&this.tokens.removeToken();const t=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.${t} = ${t};`)}processExportBindings(){this.tokens.removeInitialToken(),this.tokens.removeToken();const t=vh(this.tokens),n=[];for(;;){if(this.tokens.matches1(s.braceR)){this.tokens.removeToken();break}const r=Ts(this.tokens);for(;this.tokens.currentIndex()<r.endIndex;)this.tokens.removeToken();if(!(r.isType||!t&&this.shouldElideExportedIdentifier(r.leftName))){const i=r.rightName;i==="default"?this.hadDefaultExport=!0:this.hadNamedExport=!0;const c=r.leftName,u=this.importProcessor.getIdentifierReplacement(c);n.push(`exports.${i} = ${u||c};`)}if(this.tokens.matches1(s.braceR)){this.tokens.removeToken();break}if(this.tokens.matches2(s.comma,s.braceR)){this.tokens.removeToken(),this.tokens.removeToken();break}else if(this.tokens.matches1(s.comma))this.tokens.removeToken();else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.currentToken())}`)}if(this.tokens.matchesContextual(P._from)){this.tokens.removeToken();const r=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(r)),Lo(this.tokens)}else this.tokens.appendCode(n.join(" "));this.tokens.matches1(s.semi)&&this.tokens.removeToken()}processExportStar(){for(this.tokens.removeInitialToken();!this.tokens.matches1(s.string);)this.tokens.removeToken();const t=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(t)),Lo(this.tokens),this.tokens.matches1(s.semi)&&this.tokens.removeToken()}shouldElideExportedIdentifier(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.declarationInfo.valueDeclarations.has(t)}}class aI extends Bn{constructor(t,n,r,a,i,c,u,p){super(),this.tokens=t,this.nameManager=n,this.helperManager=r,this.reactHotLoaderTransformer=a,this.isTypeScriptTransformEnabled=i,this.isFlowTransformEnabled=c,this.keepUnusedImports=u,this.nonTypeIdentifiers=i&&!u?jf(t,p):new Set,this.declarationInfo=i&&!u?xh(t):yh,this.injectCreateRequireForImportRequire=!!p.injectCreateRequireForImportRequire}process(){if(this.tokens.matches3(s._import,s.name,s.eq))return this.processImportEquals();if(this.tokens.matches4(s._import,s.name,s.name,s.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,P._type)){this.tokens.removeInitialToken();for(let t=0;t<7;t++)this.tokens.removeToken();return!0}if(this.tokens.matches2(s._export,s.eq))return this.tokens.replaceToken("module.exports"),!0;if(this.tokens.matches5(s._export,s._import,s.name,s.name,s.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,P._type)){this.tokens.removeInitialToken();for(let t=0;t<8;t++)this.tokens.removeToken();return!0}if(this.tokens.matches1(s._import))return this.processImport();if(this.tokens.matches2(s._export,s._default))return this.processExportDefault();if(this.tokens.matches2(s._export,s.braceL))return this.processNamedExports();if(this.tokens.matches2(s._export,s.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,P._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(s.braceL)){for(;!this.tokens.matches1(s.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(s._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(P._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,s.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),Lo(this.tokens)),!0}return!1}processImportEquals(){const t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.shouldAutomaticallyElideImportedName(t)?bh(this.tokens):this.injectCreateRequireForImportRequire?(this.tokens.replaceToken("const"),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.replaceToken(this.helperManager.getHelperName("require"))):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(s._import,s.parenL))return!1;const t=this.tokens.snapshot();if(this.removeImportTypeBindings()){for(this.tokens.restoreToSnapshot(t);!this.tokens.matches1(s.string);)this.tokens.removeToken();this.tokens.removeToken(),Lo(this.tokens),this.tokens.matches1(s.semi)&&this.tokens.removeToken()}return!0}removeImportTypeBindings(){if(this.tokens.copyExpectedToken(s._import),this.tokens.matchesContextual(P._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,s.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,P._from))return!0;if(this.tokens.matches1(s.string))return this.tokens.copyToken(),!1;this.tokens.matchesContextual(P._module)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,P._from)&&this.tokens.copyToken();let t=!1,n=!1,r=!1;if(this.tokens.matches1(s.name)&&(this.shouldAutomaticallyElideImportedName(this.tokens.identifierName())?(this.tokens.removeToken(),this.tokens.matches1(s.comma)&&this.tokens.removeToken()):(t=!0,this.tokens.copyToken(),this.tokens.matches1(s.comma)&&(r=!0,this.tokens.removeToken()))),this.tokens.matches1(s.star))this.shouldAutomaticallyElideImportedName(this.tokens.identifierNameAtRelativeIndex(2))?(this.tokens.removeToken(),this.tokens.removeToken(),this.tokens.removeToken()):(r&&this.tokens.appendCode(","),t=!0,this.tokens.copyExpectedToken(s.star),this.tokens.copyExpectedToken(s.name),this.tokens.copyExpectedToken(s.name));else if(this.tokens.matches1(s.braceL)){for(r&&this.tokens.appendCode(","),this.tokens.copyToken();!this.tokens.matches1(s.braceR);){n=!0;const a=Ts(this.tokens);if(a.isType||this.shouldAutomaticallyElideImportedName(a.rightName)){for(;this.tokens.currentIndex()<a.endIndex;)this.tokens.removeToken();this.tokens.matches1(s.comma)&&this.tokens.removeToken()}else{for(t=!0;this.tokens.currentIndex()<a.endIndex;)this.tokens.copyToken();this.tokens.matches1(s.comma)&&this.tokens.copyToken()}}this.tokens.copyExpectedToken(s.braceR)}return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!t:this.isFlowTransformEnabled?n&&!t:!1}shouldAutomaticallyElideImportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(t)}processExportDefault(){if(kh(this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))return this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken(),!0;if(!(this.tokens.matches4(s._export,s._default,s._function,s.name)||this.tokens.matches5(s._export,s._default,s.name,s._function,s.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,P._async)||this.tokens.matches4(s._export,s._default,s._class,s.name)||this.tokens.matches5(s._export,s._default,s._abstract,s._class,s.name))&&this.reactHotLoaderTransformer){const n=this.nameManager.claimFreeName("_default");return this.tokens.replaceToken(`let ${n}; export`),this.tokens.copyToken(),this.tokens.appendCode(` ${n} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(n),!0}return!1}processNamedExports(){if(!this.isTypeScriptTransformEnabled)return!1;this.tokens.copyExpectedToken(s._export),this.tokens.copyExpectedToken(s.braceL);const t=vh(this.tokens);let n=!1;for(;!this.tokens.matches1(s.braceR);){const r=Ts(this.tokens);if(r.isType||!t&&this.shouldElideExportedName(r.leftName)){for(;this.tokens.currentIndex()<r.endIndex;)this.tokens.removeToken();this.tokens.matches1(s.comma)&&this.tokens.removeToken()}else{for(n=!0;this.tokens.currentIndex()<r.endIndex;)this.tokens.copyToken();this.tokens.matches1(s.comma)&&this.tokens.copyToken()}}return this.tokens.copyExpectedToken(s.braceR),!this.keepUnusedImports&&t&&!n&&(this.tokens.removeToken(),this.tokens.removeToken(),Lo(this.tokens)),!0}shouldElideExportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&this.declarationInfo.typeDeclarations.has(t)&&!this.declarationInfo.valueDeclarations.has(t)}}class iI extends Bn{constructor(t,n,r){super(),this.rootTransformer=t,this.tokens=n,this.isImportsTransformEnabled=r}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(s._enum)?(this.processEnum(),!0):this.tokens.matches2(s._export,s._enum)?(this.processNamedExportEnum(),!0):this.tokens.matches3(s._export,s._default,s._enum)?(this.processDefaultExportEnum(),!0):!1}processNamedExportEnum(){if(this.isImportsTransformEnabled){this.tokens.removeInitialToken();const t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.tokens.appendCode(` exports.${t} = ${t};`)}else this.tokens.copyToken(),this.processEnum()}processDefaultExportEnum(){this.tokens.removeInitialToken(),this.tokens.removeToken();const t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.isImportsTransformEnabled?this.tokens.appendCode(` exports.default = ${t};`):this.tokens.appendCode(` export default ${t};`)}processEnum(){this.tokens.replaceToken("const"),this.tokens.copyExpectedToken(s.name);let t=!1;this.tokens.matchesContextual(P._of)&&(this.tokens.removeToken(),t=this.tokens.matchesContextual(P._symbol),this.tokens.removeToken());const n=this.tokens.matches3(s.braceL,s.name,s.eq);this.tokens.appendCode(' = require("flow-enums-runtime")');const r=!t&&!n;for(this.tokens.replaceTokenTrimmingLeftWhitespace(r?".Mirrored([":"({");!this.tokens.matches1(s.braceR);){if(this.tokens.matches1(s.ellipsis)){this.tokens.removeToken();break}this.processEnumElement(t,n),this.tokens.matches1(s.comma)&&this.tokens.copyToken()}this.tokens.replaceToken(r?"]);":"});")}processEnumElement(t,n){if(t){const r=this.tokens.identifierName();this.tokens.copyToken(),this.tokens.appendCode(`: Symbol("${r}")`)}else n?(this.tokens.copyToken(),this.tokens.replaceTokenTrimmingLeftWhitespace(":"),this.tokens.copyToken()):this.tokens.replaceToken(`"${this.tokens.identifierName()}"`)}}function lI(e){let t,n=e[0],r=1;for(;r<e.length;){const a=e[r],i=e[r+1];if(r+=2,(a==="optionalAccess"||a==="optionalCall")&&n==null)return;a==="access"||a==="optionalAccess"?(t=n,n=i(n)):(a==="call"||a==="optionalCall")&&(n=i((...c)=>n.call(t,...c)),t=void 0)}return n}const ta="jest",cI=["mock","unmock","enableAutomock","disableAutomock"];class Kc extends Bn{__init(){this.hoistedFunctionNames=[]}constructor(t,n,r,a){super(),this.rootTransformer=t,this.tokens=n,this.nameManager=r,this.importProcessor=a,Kc.prototype.__init.call(this)}process(){return this.tokens.currentToken().scopeDepth===0&&this.tokens.matches4(s.name,s.dot,s.name,s.parenL)&&this.tokens.identifierName()===ta?lI([this,"access",t=>t.importProcessor,"optionalAccess",t=>t.getGlobalNames,"call",t=>t(),"optionalAccess",t=>t.has,"call",t=>t(ta)])?!1:this.extractHoistedCalls():!1}getHoistedCode(){return this.hoistedFunctionNames.length>0?this.hoistedFunctionNames.map(t=>`${t}();`).join(""):""}extractHoistedCalls(){this.tokens.removeToken();let t=!1;for(;this.tokens.matches3(s.dot,s.name,s.parenL);){const n=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(cI.includes(n)){const a=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(a),this.tokens.replaceToken(`function ${a}(){${ta}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(s.parenR),this.tokens.appendCode(";}"),t=!1}else t?this.tokens.copyToken():this.tokens.replaceToken(`${ta}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(s.parenR),t=!0}return!0}}class uI extends Bn{constructor(t){super(),this.tokens=t}process(){if(this.tokens.matches1(s.num)){const t=this.tokens.currentTokenCode();if(t.includes("_"))return this.tokens.replaceToken(t.replace(/_/g,"")),!0}return!1}}class pI extends Bn{constructor(t,n){super(),this.tokens=t,this.nameManager=n}process(){return this.tokens.matches2(s._catch,s.braceL)?(this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0):!1}}class dI extends Bn{constructor(t,n){super(),this.tokens=t,this.nameManager=n}process(){if(this.tokens.matches1(s.nullishCoalescing)){const r=this.tokens.currentToken();return this.tokens.tokens[r.nullishStartIndex].isAsyncOperation?this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => ("):this.tokens.replaceTokenTrimmingLeftWhitespace(", () => ("),!0}if(this.tokens.matches1(s._delete)&&this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0;const n=this.tokens.currentToken().subscriptStartIndex;if(n!=null&&this.tokens.tokens[n].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==s._super){const r=this.nameManager.claimFreeName("_");let a;if(n>0&&this.tokens.matches1AtIndex(n-1,s._delete)&&this.isLastSubscriptInChain()?a=`${r} => delete ${r}`:a=`${r} => ${r}`,this.tokens.tokens[n].isAsyncOperation&&(a=`async ${a}`),this.tokens.matches2(s.questionDot,s.parenL)||this.tokens.matches2(s.questionDot,s.lessThan))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${a}`);else if(this.tokens.matches2(s.questionDot,s.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${a}`);else if(this.tokens.matches1(s.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${a}.`);else if(this.tokens.matches1(s.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${a}.`);else if(this.tokens.matches1(s.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${a}[`);else if(this.tokens.matches1(s.parenL))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${a}(`);else throw new Error("Unexpected subscript operator in optional chain.");return!0}return!1}isLastSubscriptInChain(){let t=0;for(let n=this.tokens.currentIndex()+1;;n++){if(n>=this.tokens.tokens.length)throw new Error("Reached the end of the code while finding the end of the access chain.");if(this.tokens.tokens[n].isOptionalChainStart?t++:this.tokens.tokens[n].isOptionalChainEnd&&t--,t<0)return!0;if(t===0&&this.tokens.tokens[n].subscriptStartIndex!=null)return!1}}justSkippedSuper(){let t=0,n=this.tokens.currentIndex()-1;for(;;){if(n<0)throw new Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[n].isOptionalChainStart?t--:this.tokens.tokens[n].isOptionalChainEnd&&t++,t<0)return!1;if(t===0&&this.tokens.tokens[n].subscriptStartIndex!=null)return this.tokens.tokens[n-1].type===s._super;n--}}}class fI extends Bn{constructor(t,n,r,a){super(),this.rootTransformer=t,this.tokens=n,this.importProcessor=r,this.options=a}process(){const t=this.tokens.currentIndex();if(this.tokens.identifierName()==="createReactClass"){const n=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");return n?this.tokens.replaceToken(`(0, ${n})`):this.tokens.copyToken(),this.tryProcessCreateClassCall(t),!0}if(this.tokens.matches3(s.name,s.dot,s.name)&&this.tokens.identifierName()==="React"&&this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)==="createClass"){const n=this.importProcessor&&this.importProcessor.getIdentifierReplacement("React")||"React";return this.tokens.replaceToken(n),this.tokens.copyToken(),this.tokens.copyToken(),this.tryProcessCreateClassCall(t),!0}return!1}tryProcessCreateClassCall(t){const n=this.findDisplayName(t);n&&this.classNeedsDisplayName()&&(this.tokens.copyExpectedToken(s.parenL),this.tokens.copyExpectedToken(s.braceL),this.tokens.appendCode(`displayName: '${n}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(s.braceR),this.tokens.copyExpectedToken(s.parenR))}findDisplayName(t){return t<2?null:this.tokens.matches2AtIndex(t-2,s.name,s.eq)?this.tokens.identifierNameAtIndex(t-2):t>=2&&this.tokens.tokens[t-2].identifierRole===$e.ObjectKey?this.tokens.identifierNameAtIndex(t-2):this.tokens.matches2AtIndex(t-2,s._export,s._default)?this.getDisplayNameFromFilename():null}getDisplayNameFromFilename(){const n=(this.options.filePath||"unknown").split("/"),r=n[n.length-1],a=r.lastIndexOf("."),i=a===-1?r:r.slice(0,a);return i==="index"&&n[n.length-2]?n[n.length-2]:i}classNeedsDisplayName(){let t=this.tokens.currentIndex();if(!this.tokens.matches2(s.parenL,s.braceL))return!1;const n=t+1,r=this.tokens.tokens[n].contextId;if(r==null)throw new Error("Expected non-null context ID on object open-brace.");for(;t<this.tokens.tokens.length;t++){const a=this.tokens.tokens[t];if(a.type===s.braceR&&a.contextId===r){t++;break}if(this.tokens.identifierNameAtIndex(t)==="displayName"&&this.tokens.tokens[t].identifierRole===$e.ObjectKey&&a.contextId===r)return!1}if(t===this.tokens.tokens.length)throw new Error("Unexpected end of input when processing React class.");return this.tokens.matches1AtIndex(t,s.parenR)||this.tokens.matches2AtIndex(t,s.comma,s.parenR)}}class Yc extends Bn{__init(){this.extractedDefaultExportName=null}constructor(t,n){super(),this.tokens=t,this.filePath=n,Yc.prototype.__init.call(this)}setExtractedDefaultExportName(t){this.extractedDefaultExportName=t}getPrefixCode(){return`
318
+ (function () {
319
+ var enterModule = require('react-hot-loader').enterModule;
320
+ enterModule && enterModule(module);
321
+ })();`.replace(/\s+/g," ").trim()}getSuffixCode(){const t=new Set;for(const r of this.tokens.tokens)!r.isType&&hf(r)&&r.identifierRole!==$e.ImportDeclaration&&t.add(this.tokens.identifierNameForToken(r));const n=Array.from(t).map(r=>({variableName:r,uniqueLocalName:r}));return this.extractedDefaultExportName&&n.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"}),`
322
+ ;(function () {
323
+ var reactHotLoader = require('react-hot-loader').default;
324
+ var leaveModule = require('react-hot-loader').leaveModule;
325
+ if (!reactHotLoader) {
326
+ return;
327
+ }
328
+ ${n.map(({variableName:r,uniqueLocalName:a})=>` reactHotLoader.register(${r}, "${a}", ${JSON.stringify(this.filePath||"")});`).join(`
329
+ `)}
330
+ leaveModule(module);
331
+ })();`}process(){return!1}}const hI=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield","enum","implements","interface","let","package","private","protected","public","static","await","false","null","true"]);function n1(e){if(e.length===0||!Ds[e.charCodeAt(0)])return!1;for(let t=1;t<e.length;t++)if(!Mn[e.charCodeAt(t)])return!1;return!hI.has(e)}class mI extends Bn{constructor(t,n,r){super(),this.rootTransformer=t,this.tokens=n,this.isImportsTransformEnabled=r}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(s._public)||this.tokens.matches1(s._protected)||this.tokens.matches1(s._private)||this.tokens.matches1(s._abstract)||this.tokens.matches1(s._readonly)||this.tokens.matches1(s._override)||this.tokens.matches1(s.nonNullAssertion)?(this.tokens.removeInitialToken(),!0):this.tokens.matches1(s._enum)||this.tokens.matches2(s._const,s._enum)?(this.processEnum(),!0):this.tokens.matches2(s._export,s._enum)||this.tokens.matches3(s._export,s._const,s._enum)?(this.processEnum(!0),!0):!1}processEnum(t=!1){for(this.tokens.removeInitialToken();this.tokens.matches1(s._const)||this.tokens.matches1(s._enum);)this.tokens.removeToken();const n=this.tokens.identifierName();this.tokens.removeToken(),t&&!this.isImportsTransformEnabled&&this.tokens.appendCode("export "),this.tokens.appendCode(`var ${n}; (function (${n})`),this.tokens.copyExpectedToken(s.braceL),this.processEnumBody(n),this.tokens.copyExpectedToken(s.braceR),t&&this.isImportsTransformEnabled?this.tokens.appendCode(`)(${n} || (exports.${n} = ${n} = {}));`):this.tokens.appendCode(`)(${n} || (${n} = {}));`)}processEnumBody(t){let n=null;for(;!this.tokens.matches1(s.braceR);){const{nameStringCode:r,variableName:a}=this.extractEnumKeyInfo(this.tokens.currentToken());this.tokens.removeInitialToken(),this.tokens.matches3(s.eq,s.string,s.comma)||this.tokens.matches3(s.eq,s.string,s.braceR)?this.processStringLiteralEnumMember(t,r,a):this.tokens.matches1(s.eq)?this.processExplicitValueEnumMember(t,r,a):this.processImplicitValueEnumMember(t,r,a,n),this.tokens.matches1(s.comma)&&this.tokens.removeToken(),a!=null?n=a:n=`${t}[${r}]`}}extractEnumKeyInfo(t){if(t.type===s.name){const n=this.tokens.identifierNameForToken(t);return{nameStringCode:`"${n}"`,variableName:n1(n)?n:null}}else if(t.type===s.string){const n=this.tokens.stringValueForToken(t);return{nameStringCode:this.tokens.code.slice(t.start,t.end),variableName:n1(n)?n:null}}else throw new Error("Expected name or string at beginning of enum element.")}processStringLiteralEnumMember(t,n,r){r!=null?(this.tokens.appendCode(`const ${r}`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(`; ${t}[${n}] = ${r};`)):(this.tokens.appendCode(`${t}[${n}]`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(";"))}processExplicitValueEnumMember(t,n,r){const a=this.tokens.currentToken().rhsEndIndex;if(a==null)throw new Error("Expected rhsEndIndex on enum assign.");if(r!=null){for(this.tokens.appendCode(`const ${r}`),this.tokens.copyToken();this.tokens.currentIndex()<a;)this.rootTransformer.processToken();this.tokens.appendCode(`; ${t}[${t}[${n}] = ${r}] = ${n};`)}else{for(this.tokens.appendCode(`${t}[${t}[${n}]`),this.tokens.copyToken();this.tokens.currentIndex()<a;)this.rootTransformer.processToken();this.tokens.appendCode(`] = ${n};`)}}processImplicitValueEnumMember(t,n,r,a){let i=a!=null?`${a} + 1`:"0";r!=null&&(this.tokens.appendCode(`const ${r} = ${i}; `),i=r),this.tokens.appendCode(`${t}[${t}[${n}] = ${i}] = ${n};`)}}class La{__init(){this.transformers=[]}__init2(){this.generatedVariables=[]}constructor(t,n,r,a){La.prototype.__init.call(this),La.prototype.__init2.call(this),this.nameManager=t.nameManager,this.helperManager=t.helperManager;const{tokenProcessor:i,importProcessor:c}=t;this.tokens=i,this.isImportsTransformEnabled=n.includes("imports"),this.isReactHotLoaderTransformEnabled=n.includes("react-hot-loader"),this.disableESTransforms=!!a.disableESTransforms,a.disableESTransforms||(this.transformers.push(new dI(i,this.nameManager)),this.transformers.push(new uI(i)),this.transformers.push(new pI(i,this.nameManager))),n.includes("jsx")&&(a.jsxRuntime!=="preserve"&&this.transformers.push(new No(this,i,c,this.nameManager,a)),this.transformers.push(new fI(this,i,c,a)));let u=null;if(n.includes("react-hot-loader")){if(!a.filePath)throw new Error("filePath is required when using the react-hot-loader transform.");u=new Yc(i,a.filePath),this.transformers.push(u)}if(n.includes("imports")){if(c===null)throw new Error("Expected non-null importProcessor with imports transform enabled.");this.transformers.push(new fs(this,i,c,this.nameManager,this.helperManager,u,r,!!a.enableLegacyTypeScriptModuleInterop,n.includes("typescript"),n.includes("flow"),!!a.preserveDynamicImport,!!a.keepUnusedImports))}else this.transformers.push(new aI(i,this.nameManager,this.helperManager,u,n.includes("typescript"),n.includes("flow"),!!a.keepUnusedImports,a));n.includes("flow")&&this.transformers.push(new iI(this,i,n.includes("imports"))),n.includes("typescript")&&this.transformers.push(new mI(this,i,n.includes("imports"))),n.includes("jest")&&this.transformers.push(new Kc(this,i,this.nameManager,c))}transform(){this.tokens.reset(),this.processBalancedCode();let n=this.isImportsTransformEnabled?'"use strict";':"";for(const c of this.transformers)n+=c.getPrefixCode();n+=this.helperManager.emitHelpers(),n+=this.generatedVariables.map(c=>` var ${c};`).join("");for(const c of this.transformers)n+=c.getHoistedCode();let r="";for(const c of this.transformers)r+=c.getSuffixCode();const a=this.tokens.finish();let{code:i}=a;if(i.startsWith("#!")){let c=i.indexOf(`
332
+ `);return c===-1&&(c=i.length,i+=`
333
+ `),{code:i.slice(0,c+1)+n+i.slice(c+1)+r,mappings:this.shiftMappings(a.mappings,n.length)}}else return{code:n+i+r,mappings:this.shiftMappings(a.mappings,n.length)}}processBalancedCode(){let t=0,n=0;for(;!this.tokens.isAtEnd();){if(this.tokens.matches1(s.braceL)||this.tokens.matches1(s.dollarBraceL))t++;else if(this.tokens.matches1(s.braceR)){if(t===0)return;t--}if(this.tokens.matches1(s.parenL))n++;else if(this.tokens.matches1(s.parenR)){if(n===0)return;n--}this.processToken()}}processToken(){if(this.tokens.matches1(s._class)){this.processClass();return}for(const t of this.transformers)if(t.process())return;this.tokens.copyToken()}processNamedClass(){if(!this.tokens.matches2(s._class,s.name))throw new Error("Expected identifier for exported class name.");const t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),t}processClass(){const t=oI(this,this.tokens,this.nameManager,this.disableESTransforms),n=(t.headerInfo.isExpression||!t.headerInfo.className)&&t.staticInitializerNames.length+t.instanceInitializerNames.length>0;let r=t.headerInfo.className;n&&(r=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(r),this.tokens.appendCode(` (${r} =`));const i=this.tokens.currentToken().contextId;if(i==null)throw new Error("Expected class to have a context ID.");for(this.tokens.copyExpectedToken(s._class);!this.tokens.matchesContextIdAndLabel(s.braceL,i);)this.processToken();this.processClassBody(t,r);const c=t.staticInitializerNames.map(u=>`${r}.${u}()`);n?this.tokens.appendCode(`, ${c.map(u=>`${u}, `).join("")}${r})`):t.staticInitializerNames.length>0&&this.tokens.appendCode(` ${c.map(u=>`${u};`).join(" ")}`)}processClassBody(t,n){const{headerInfo:r,constructorInsertPos:a,constructorInitializerStatements:i,fields:c,instanceInitializerNames:u,rangesToRemove:p}=t;let f=0,h=0;const g=this.tokens.currentToken().contextId;if(g==null)throw new Error("Expected non-null context ID on class.");this.tokens.copyExpectedToken(s.braceL),this.isReactHotLoaderTransformEnabled&&this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");const y=i.length+u.length>0;if(a===null&&y){const m=this.makeConstructorInitCode(i,u,n);if(r.hasSuperclass){const x=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${x}) { super(...${x}); ${m}; }`)}else this.tokens.appendCode(`constructor() { ${m}; }`)}for(;!this.tokens.matchesContextIdAndLabel(s.braceR,g);)if(f<c.length&&this.tokens.currentIndex()===c[f].start){let m=!1;for(this.tokens.matches1(s.bracketL)?this.tokens.copyTokenWithPrefix(`${c[f].initializerName}() {this`):this.tokens.matches1(s.string)||this.tokens.matches1(s.num)?(this.tokens.copyTokenWithPrefix(`${c[f].initializerName}() {this[`),m=!0):this.tokens.copyTokenWithPrefix(`${c[f].initializerName}() {this.`);this.tokens.currentIndex()<c[f].end;)m&&this.tokens.currentIndex()===c[f].equalsIndex&&this.tokens.appendCode("]"),this.processToken();this.tokens.appendCode("}"),f++}else if(h<p.length&&this.tokens.currentIndex()>=p[h].start){for(this.tokens.currentIndex()<p[h].end&&this.tokens.removeInitialToken();this.tokens.currentIndex()<p[h].end;)this.tokens.removeToken();h++}else this.tokens.currentIndex()===a?(this.tokens.copyToken(),y&&this.tokens.appendCode(`;${this.makeConstructorInitCode(i,u,n)};`),this.processToken()):this.processToken();this.tokens.copyExpectedToken(s.braceR)}makeConstructorInitCode(t,n,r){return[...t,...n.map(a=>`${r}.prototype.${a}.call(this)`)].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(s.parenR,s.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType;)t++;if(this.tokens.matches1AtIndex(t,s.arrow)){for(this.tokens.removeInitialToken();this.tokens.currentIndex()<t;)this.tokens.removeToken();return this.tokens.replaceTokenTrimmingLeftWhitespace(") =>"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual(P._async)&&!this.tokens.matches1(s._async))return!1;const t=this.tokens.tokenAtRelativeIndex(1);if(t.type!==s.lessThan||!t.isType)return!1;let n=this.tokens.currentIndex()+1;for(;this.tokens.tokens[n].isType;)n++;if(this.tokens.matches1AtIndex(n,s.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()<n;)this.tokens.removeToken();return this.tokens.removeToken(),this.processBalancedCode(),this.processToken(),!0}return!1}processPossibleTypeRange(){if(this.tokens.currentToken().isType){for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return!0}return!1}shiftMappings(t,n){for(let r=0;r<t.length;r++){const a=t[r];a!==void 0&&(t[r]=a+n)}return t}}var gI={};(function(e){e.__esModule=!0,e.LinesAndColumns=void 0;var t=`
334
+ `,n="\r",r=function(){function a(i){this.string=i;for(var c=[0],u=0;u<i.length;)switch(i[u]){case t:u+=t.length,c.push(u);break;case n:u+=n.length,i[u]===t&&(u+=t.length),c.push(u);break;default:u++;break}this.offsets=c}return a.prototype.locationForIndex=function(i){if(i<0||i>this.string.length)return null;for(var c=0,u=this.offsets;u[c+1]<=i;)c++;var p=i-u[c];return{line:c,column:p}},a.prototype.indexForLocation=function(i){var c=i.line,u=i.column;return c<0||c>=this.offsets.length||u<0||u>this.lengthOfLine(c)?null:this.offsets[c]+u},a.prototype.lengthOfLine=function(i){var c=this.offsets[i],u=i===this.offsets.length-1?this.string.length:this.offsets[i+1];return u-c},a}();e.LinesAndColumns=r,e.default=r})(gI);function bI(e){const t=new Set;for(let n=0;n<e.tokens.length;n++)e.matches1AtIndex(n,s._import)&&!e.matches3AtIndex(n,s._import,s.name,s.eq)&&yI(e,n,t);return t}function yI(e,t,n){t++,!e.matches1AtIndex(t,s.parenL)&&(e.matches1AtIndex(t,s.name)&&(n.add(e.identifierNameAtIndex(t)),t++,e.matches1AtIndex(t,s.comma)&&t++),e.matches1AtIndex(t,s.star)&&(t+=2,n.add(e.identifierNameAtIndex(t)),t++),e.matches1AtIndex(t,s.braceL)&&(t++,xI(e,t,n)))}function xI(e,t,n){for(;;){if(e.matches1AtIndex(t,s.braceR))return;const r=Ts(e,t);if(t=r.endIndex,r.isType||n.add(r.rightName),e.matches2AtIndex(t,s.comma,s.braceR))return;if(e.matches1AtIndex(t,s.braceR))return;if(e.matches1AtIndex(t,s.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(e.tokens[t])}`)}}function vI(e,t){BT(t);try{const n=kI(e,t),a=new La(n,t.transforms,!!t.enableLegacyBabel5ModuleInterop,t).transform();let i={code:a.code};if(t.sourceMapOptions){if(!t.filePath)throw new Error("filePath must be specified when generating a source map.");i={...i,sourceMap:ST(a,t.filePath,t.sourceMapOptions,e,n.tokenProcessor.tokens)}}return i}catch(n){throw t.filePath&&(n.message=`Error transforming ${t.filePath}: ${n.message}`),n}}function kI(e,t){const n=t.transforms.includes("jsx"),r=t.transforms.includes("typescript"),a=t.transforms.includes("flow"),i=t.disableESTransforms===!0,c=tI(e,n,r,a),u=c.tokens,p=c.scopes,f=new Cc(e,u),h=new Oa(f),g=new ds(e,u,a,i,h),y=!!t.enableLegacyTypeScriptModuleInterop;let m=null;return t.transforms.includes("imports")?(m=new Mo(f,g,y,t,t.transforms.includes("typescript"),!!t.keepUnusedImports,h),m.preprocessTokens(),Vp(g,p,m.getGlobalNames()),t.transforms.includes("typescript")&&!t.keepUnusedImports&&m.pruneTypeOnlyImports()):t.transforms.includes("typescript")&&!t.keepUnusedImports&&Vp(g,p,bI(g)),{tokenProcessor:g,scopes:p,nameManager:f,importProcessor:m,helperManager:h}}const Sh=Q(l.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add"),Th=Q(l.jsx("path",{d:"M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"}),"Send"),Ch=Q(l.jsx("path",{d:"M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"}),"Download"),wh=Q(l.jsx("path",{d:"M21 18v1c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2V5c0-1.1.89-2 2-2h14c1.1 0 2 .9 2 2v1h-9c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2zm-9-2h10V8H12zm4-2.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5"}),"AccountBalanceWallet"),Ih=Q(l.jsx("path",{d:"m3.5 18.49 6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z"}),"ShowChart"),Eh=Q(l.jsx("path",{d:"M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11z"}),"Security"),Xc=Q(l.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility"),jh=Q(l.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff"),SI=Q(l.jsx("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2M9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9zm9 14H6V10h12zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2"}),"LockOutlined"),TI=Q(l.jsx("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m0 12H6V10h12zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2"}),"LockOpenOutlined"),CI=Q(l.jsx("path",{d:"M22 19h-6v-4h-2.68c-1.14 2.42-3.6 4-6.32 4-3.86 0-7-3.14-7-7s3.14-7 7-7c2.72 0 5.17 1.58 6.32 4H24v6h-2zm-4-2h2v-4h2v-2H11.94l-.23-.67C11.01 8.34 9.11 7 7 7c-2.76 0-5 2.24-5 5s2.24 5 5 5c2.11 0 4.01-1.34 4.71-3.33l.23-.67H18zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3m0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1"}),"VpnKeyOutlined"),hs=Q(l.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle"),Jc=Q(l.jsx("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");class wI extends xe.Component{constructor(t){super(t),this.state={hasError:!1,error:null,prevResetKey:t.resetKey}}static getDerivedStateFromProps(t,n){return t.resetKey!==n.prevResetKey?{hasError:!1,error:null,prevResetKey:t.resetKey}:null}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,n){console.warn("Playground component runtime error:",t,n)}render(){return this.state.hasError&&this.state.error?this.props.fallback(this.state.error):this.props.children}}const II={},Rh={React:xe,useState:xe.useState,useEffect:xe.useEffect,useMemo:xe.useMemo,useCallback:xe.useCallback,useRef:xe.useRef,useId:xe.useId,Box:J,Typography:ne,Card:Xt,Grid:yt,Chip:Ns,Button:kr,IconButton:Ct,Tooltip:Ht,Divider:ks,primaryColors:de,graphIllustrationColors:br,digitalBackgroundLineColors:yr,MSButton:Wt,MiraeButton:Wt,MSBadge:Lt,MiraeBadge:Lt,MSChip:An,MiraeChip:An,MSInput:Yo,MiraeInput:Yo,MSAvatar:po,MiraeAvatar:po,MSDivider:Vo,MiraeDivider:Vo,MSTooltip:Rr,MiraeTooltip:Rr,MSSekuritasLogo:zn,MiraeSekuritasLogo:zn,BackToTop:kc,MSFormField:Wo,FormField:Wo,MSSearchBar:Xo,SearchBar:Xo,MSAlertBanner:Ho,AlertBanner:Ho,MSTable:Or,MiraeTable:Or,MSCarousel:Pr,MiraeCarousel:Pr,AddIcon:Sh,SendIcon:Th,DownloadIcon:Ch,AccountBalanceWalletIcon:wh,ShowChartIcon:Ih,SecurityIcon:Eh,VisibilityIcon:Xc,VisibilityOffIcon:jh,LockOutlinedIcon:SI,LockOpenOutlinedIcon:TI,VpnKeyOutlinedIcon:CI,SearchIcon:bc,CheckCircleIcon:hs,ArrowForwardIcon:Jc};function EI(e,t){try{let n=e.trim();if(!n)return{element:null,error:"Kode tidak boleh kosong."};let r=null;const a=n.match(/export\s+(?:default\s+)?(?:async\s+)?(?:function|const|let|var|class)\s+([A-Za-z0-9_]+)/);a&&(r=a[1]),n=n.replace(/import\s+[\s\S]*?from\s+['"][^'"]+['"];?/g,""),n=n.replace(/import\s+['"][^'"]+['"];?/g,""),n=n.replace(/export\s+default\s+function\s*([A-Za-z0-9_]*)/g,(x,b)=>{const k=b||"__DefaultComponent__";return r||(r=k),`function ${k}`}),n=n.replace(/export\s+default\s+class\s*([A-Za-z0-9_]*)/g,(x,b)=>{const k=b||"__DefaultComponent__";return r||(r=k),`class ${k}`}),n=n.replace(/export\s+(async\s+)?(function|const|let|var|class)\s+/g,"$1$2 "),n=n.replace(/export\s*\{[^}]*\}\s*;?/g,""),n=n.replace(/export\s*\*\s*from\s*['"][^'"]+['"];?/g,""),n=n.replace(/export\s+default\s+([\s\S]+?)(?:;|$)/g,"const __default_export__ = $1;"),n=n.replace(/\bexport\s+default\b/g,""),n=n.replace(/\bexport\b/g,""),n=n.trim(),n.startsWith("<")&&(n=`function RenderedDemo() { return (${n}); }`,r="RenderedDemo");const i=vI(n,{transforms:["jsx","typescript"],jsxRuntime:"classic",production:!0}).code,u=[...n.matchAll(/(?:function\s+|const\s+|class\s+)([A-Z][A-Za-z0-9_]*)/g)].map(x=>x[1]).reverse(),p={...Rh,...t},f=Object.keys(p),h=Object.values(p),g=`
335
+ let __rendered = null;
336
+ const render = (comp) => { __rendered = comp; };
337
+ ${i}
338
+ if (__rendered) return __rendered;
339
+ if (typeof __default_export__ !== 'undefined') {
340
+ if (React.isValidElement(__default_export__)) return __default_export__;
341
+ if (typeof __default_export__ === 'function') return React.createElement(__default_export__);
342
+ }
343
+ ${r?`if (typeof ${r} !== 'undefined') return typeof ${r} === 'function' ? React.createElement(${r}) : ${r};
344
+ `:""}
345
+ ${u.map(x=>`if (typeof ${x} !== 'undefined') return typeof ${x} === 'function' ? React.createElement(${x}) : ${x};`).join(`
346
+ `)}
347
+ return null;
348
+ `;return{element:new Function(...f,g)(...h),error:null}}catch(n){return{element:null,error:(n==null?void 0:n.message)||String(n)}}}const jI=({initialCode:e,isOpen:t,onToggle:n,title:r,scope:a=II,previewMinHeight:i=140})=>{const[c,u]=xe.useState(t);xe.useEffect(()=>{t&&!c&&u(!0)},[t,c]);const[p,f]=xe.useState(e),[h,g]=xe.useState(e),[y,m]=xe.useState(!1),[x,b]=xe.useState(!1),k=xe.useRef(null);xe.useEffect(()=>{f(e),g(e),m(!1)},[e]),xe.useEffect(()=>{if(!c||p===h)return;m(!0);const R=setTimeout(()=>{g(p),m(!1)},250);return()=>clearTimeout(R)},[p,h,c]);const{element:E,error:w}=xe.useMemo(()=>c?EI(h,a):{element:null,error:null},[h,a,c]);E&&(k.current=E);const C=()=>{navigator.clipboard.writeText(p),b(!0),setTimeout(()=>b(!1),2e3)},S=()=>{f(e),g(e),m(!1)},j=R=>{if(R.key==="Tab"){R.preventDefault();const M=R.currentTarget,L=M.selectionStart,H=M.selectionEnd,U=p.substring(0,L)+" "+p.substring(H);f(U),setTimeout(()=>{M.selectionStart=M.selectionEnd=L+2},0)}};return!c&&!t?null:l.jsx(Ra,{in:t,timeout:380,unmountOnExit:!1,children:l.jsx(J,{sx:{mt:3,pt:2.5,borderTop:"1px dashed",borderColor:"divider"},children:l.jsxs(J,{sx:{borderRadius:3,border:"1px solid",borderColor:R=>R.palette.mode==="dark"?"#1E293B":"#CBD5E1",backgroundColor:R=>R.palette.mode==="dark"?"#080E18":"#0B132B",overflow:"hidden",boxShadow:"0 8px 30px rgba(0, 0, 0, 0.22)"},children:[l.jsxs(J,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",px:2.5,py:1.5,backgroundColor:R=>R.palette.mode==="dark"?"#0F172A":"#101B35",borderBottom:"1px solid",borderColor:R=>R.palette.mode==="dark"?"#1E293B":"#1E294B",flexWrap:"wrap",gap:1.5},children:[l.jsxs(J,{sx:{display:"flex",alignItems:"center",gap:1.5},children:[l.jsxs(J,{sx:{display:"flex",alignItems:"center",gap:.75,backgroundColor:"rgba(245, 130, 32, 0.15)",px:1.25,py:.4,borderRadius:1.5,border:"1px solid rgba(245, 130, 32, 0.3)"},children:[l.jsx(J,{sx:{width:7,height:7,borderRadius:"50%",backgroundColor:"#10B981",boxShadow:"0 0 8px #10B981"}}),l.jsx(ne,{sx:{color:de.orange.hex,fontSize:"0.75rem",fontWeight:700,letterSpacing:.5},children:"PLAYGROUND INTERAKTIF"})]}),r&&l.jsxs(ne,{variant:"caption",sx:{color:"#94A3B8",fontWeight:600},children:["· ",r]})]}),l.jsxs(J,{sx:{display:"flex",alignItems:"center",gap:1},children:[l.jsx(Ht,{title:"Kembalikan ke kode awal",arrow:!0,children:l.jsx(kr,{size:"small",onClick:S,startIcon:l.jsx(yS,{fontSize:"small"}),sx:{color:"#94A3B8",fontSize:"0.75rem",textTransform:"none",py:.3,px:1,"&:hover":{color:"#FFFFFF",backgroundColor:"rgba(255, 255, 255, 0.08)"}},children:"Reset"})}),l.jsx(Ht,{title:x?"Disalin!":"Salin Kode",arrow:!0,children:l.jsx(kr,{size:"small",onClick:C,startIcon:x?l.jsx(vi,{fontSize:"small",sx:{color:"#10B981"}}):l.jsx(xi,{fontSize:"small"}),sx:{color:x?"#10B981":"#94A3B8",fontSize:"0.75rem",textTransform:"none",py:.3,px:1,"&:hover":{color:"#FFFFFF",backgroundColor:"rgba(255, 255, 255, 0.08)"}},children:x?"Disalin":"Salin"})})]})]}),l.jsxs(J,{sx:{p:3,backgroundColor:R=>R.palette.mode==="dark"?"#0D1524":"#F8FAFC",borderBottom:"1px solid",borderColor:R=>R.palette.mode==="dark"?"#1E293B":"#E2E8F0",minHeight:i,display:"flex",flexDirection:"column",position:"relative"},children:[l.jsxs(J,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:2},children:[l.jsxs(ne,{variant:"caption",sx:{fontWeight:800,fontSize:"0.7rem",letterSpacing:1,textTransform:"uppercase",color:R=>R.palette.mode==="dark"?"#94A3B8":"#64748B",display:"flex",alignItems:"center",gap:.75},children:[l.jsx(tf,{sx:{fontSize:14,color:de.orange.hex}}),"Hasil Rendering Langsung (Real-time Live Preview)"]}),l.jsx(Ns,{size:"small",label:y?"⚡ Mengompilasi Perubahan...":w?"⚠️ Sintaks Belum Lengkap":"✓ Perubahan Langsung Terlihat",color:y?"info":w?"warning":"success",variant:"outlined",sx:{fontSize:"0.68rem",height:20,fontWeight:600}})]}),l.jsx(J,{sx:{flex:1,p:2.5,borderRadius:2,backgroundColor:R=>R.palette.mode==="dark"?"#141E33":"#FFFFFF",border:"1.5px dashed",borderColor:R=>R.palette.mode==="dark"?"#334155":"#CBD5E1",display:"flex",alignItems:"center",justifyContent:"center",width:"100%",overflowX:"auto"},children:l.jsx(wI,{resetKey:p,fallback:R=>l.jsxs(J,{sx:{p:2,borderRadius:1.5,backgroundColor:"rgba(239, 68, 68, 0.1)",border:"1px solid rgba(239, 68, 68, 0.3)",color:"#EF4444",display:"flex",alignItems:"center",gap:1,width:"100%"},children:[l.jsx(Pl,{fontSize:"small"}),l.jsxs(ne,{variant:"body2",sx:{fontFamily:"monospace",fontSize:"0.8rem"},children:["Runtime Error: ",R.message]})]}),children:E||k.current||l.jsx(ne,{variant:"body2",sx:{color:"text.secondary",fontStyle:"italic"},children:"Tidak ada komponen yang dirender."})})})]}),l.jsxs(J,{sx:{position:"relative",p:2},children:[l.jsxs(J,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:1,px:.5},children:[l.jsx(ne,{variant:"caption",sx:{fontWeight:700,fontSize:"0.7rem",letterSpacing:.75,textTransform:"uppercase",color:"#94A3B8"},children:"Editor Kode (Edit kode di bawah untuk mengubah tampilan langsung):"}),l.jsx(ne,{variant:"caption",sx:{color:"#64748B",fontSize:"0.7rem"},children:"Tab = 2 spaces"})]}),l.jsx(J,{component:"textarea",value:p,onChange:R=>f(R.target.value),onKeyDown:j,spellCheck:!1,rows:Math.min(18,Math.max(8,p.split(`
349
+ `).length+1)),sx:{width:"100%",backgroundColor:"transparent",color:"#F1F5F9",fontFamily:"'JetBrains Mono', 'Fira Code', 'Consolas', 'Courier New', monospace",fontSize:"0.835rem",lineHeight:1.6,border:"1px solid",borderColor:w?"#EF4444":"#1E293B",borderRadius:2,p:2,resize:"vertical",outline:"none",transition:"border-color 0.2s ease, box-shadow 0.2s ease",boxSizing:"border-box","&:focus":{borderColor:w?"#EF4444":de.orange.hex,boxShadow:`0 0 0 2px ${w?"rgba(239, 68, 68, 0.2)":"rgba(245, 130, 32, 0.2)"}`}}}),w&&l.jsxs(J,{sx:{mt:1,p:1.5,borderRadius:1.5,backgroundColor:"rgba(239, 68, 68, 0.12)",border:"1px solid rgba(239, 68, 68, 0.4)",color:"#FCA5A5",display:"flex",alignItems:"flex-start",gap:1},children:[l.jsx(Pl,{fontSize:"small",sx:{mt:.2,color:"#EF4444"}}),l.jsxs(J,{children:[l.jsx(ne,{variant:"caption",sx:{fontWeight:700,display:"block",color:"#EF4444"},children:"Sintaks Error Saat Mengetik:"}),l.jsx(ne,{variant:"caption",sx:{fontFamily:"monospace",fontSize:"0.78rem"},children:w})]})]})]})]})})})},Oh=Q(l.jsx("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10c1.38 0 2.5-1.12 2.5-2.5 0-.61-.23-1.2-.64-1.67-.08-.1-.13-.21-.13-.33 0-.28.22-.5.5-.5H16c3.31 0 6-2.69 6-6 0-4.96-4.49-9-10-9m5.5 11c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m-3-4c-.83 0-1.5-.67-1.5-1.5S13.67 6 14.5 6s1.5.67 1.5 1.5S15.33 9 14.5 9M5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S7.33 13 6.5 13 5 12.33 5 11.5m6-4c0 .83-.67 1.5-1.5 1.5S8 8.33 8 7.5 8.67 6 9.5 6s1.5.67 1.5 1.5"}),"Palette"),Ph=Q(l.jsx("path",{d:"M2.5 4v3h5v12h3V7h5V4zm19 5h-9v3h3v7h3v-7h3z"}),"TextFields"),Ah=Q(l.jsx("path",{d:"M13 13v8h8v-8zM3 21h8v-8H3zM3 3v8h8V3zm13.66-1.31L11 7.34 16.66 13l5.66-5.66z"}),"Widgets"),_h=({onNavigate:e})=>l.jsx(J,{sx:{position:"relative",overflow:"hidden",pt:{xs:6,md:9},pb:{xs:8,md:11},backgroundColor:t=>t.palette.mode==="dark"?"#0B1320":"#F8FAFC"},children:l.jsx(Io,{maxWidth:"lg",sx:{position:"relative",zIndex:1},children:l.jsxs(yt,{container:!0,spacing:5,alignItems:"center",children:[l.jsxs(yt,{size:{xs:12,md:7},children:[l.jsx(ne,{variant:"h1",sx:{fontWeight:800,letterSpacing:"-0.025em",lineHeight:1.15,fontSize:{xs:"2.2rem",sm:"2.9rem",md:"3.4rem"},mb:2},children:l.jsx(J,{component:"span",sx:{color:de.orange.hex},children:"Sistem Desain"})}),l.jsx(ne,{variant:"body1",sx:{color:"text.secondary",fontSize:{xs:"1rem",md:"1.125rem"},lineHeight:1.65,mb:4,maxWidth:580},children:"Membangun berdasarkan prinsip dengan arsitektur atomik. Dirancang dengan Mirae Asset Orange (#F58220), Mirae Asset Blue (#043B72), serta tipografi resmi Spoqa Han Sans Neo & Material-UI."}),l.jsx(J,{sx:{display:"flex",flexWrap:"wrap",gap:2,mb:4},children:l.jsx(Wt,{brandVariant:"primary",size:"large",endIcon:l.jsx(Jc,{}),onClick:()=>e("components"),children:"Komponen Atomik"})}),l.jsxs(J,{sx:{display:"flex",flexWrap:"wrap",gap:3,pt:1},children:[l.jsxs(J,{sx:{display:"flex",alignItems:"center",gap:1},children:[l.jsx(hs,{sx:{color:de.orange.hex,fontSize:18}}),l.jsx(ne,{variant:"body2",sx:{fontWeight:600},children:"Pantone Warna"})]}),l.jsxs(J,{sx:{display:"flex",alignItems:"center",gap:1},children:[l.jsx(hs,{sx:{color:de.blue.hex,fontSize:18}}),l.jsx(ne,{variant:"body2",sx:{fontWeight:600},children:"Spoqa Han Sans Neo (100–700)"})]}),l.jsxs(J,{sx:{display:"flex",alignItems:"center",gap:1},children:[l.jsx(hs,{sx:{color:"#10B981",fontSize:18}}),l.jsx(ne,{variant:"body2",sx:{fontWeight:600},children:"Struktur Folder Atomik"})]})]})]}),l.jsx(yt,{size:{xs:12,md:5},children:l.jsxs(Xt,{sx:{p:3,borderRadius:4,border:"1px solid",borderColor:t=>t.palette.mode==="dark"?"#334155":"rgba(245, 130, 32, 0.25)",boxShadow:"0 20px 40px rgba(4, 59, 114, 0.12)",background:t=>t.palette.mode==="dark"?"rgba(20, 30, 48, 0.88)":"rgba(255, 255, 255, 0.95)",backdropFilter:"blur(16px)"},children:[l.jsxs(J,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:2.5,pb:2,borderBottom:"1px solid",borderColor:"divider"},children:[l.jsx(ne,{variant:"subtitle2",sx:{fontWeight:700,color:"text.primary"},children:"Inti Identitas Brand"}),l.jsx(Lt,{label:"Spesifikasi Resmi",variant:"secondary",size:"sm"})]}),l.jsxs(J,{sx:{mb:3},children:[l.jsx(ne,{variant:"caption",sx:{color:"text.secondary",fontWeight:600,mb:1,display:"block"},children:"WARNA UTAMA BRAND"}),l.jsxs(J,{sx:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:1.5},children:[l.jsxs(J,{onClick:()=>e("colors"),sx:{p:2,borderRadius:2.5,backgroundColor:de.orange.hex,color:"#FFF",cursor:"pointer",transition:"all 0.2s","&:hover":{transform:"scale(1.02)"}},children:[l.jsx(ne,{variant:"caption",sx:{opacity:.85,fontWeight:700},children:"WARNA UTAMA"}),l.jsx(ne,{variant:"subtitle2",sx:{fontWeight:800},children:"Orange"}),l.jsx(ne,{variant:"caption",sx:{fontFamily:"monospace",fontWeight:700},children:"#F58220"})]}),l.jsxs(J,{onClick:()=>e("colors"),sx:{p:2,borderRadius:2.5,backgroundColor:de.blue.hex,color:"#FFF",cursor:"pointer",transition:"all 0.2s","&:hover":{transform:"scale(1.02)"}},children:[l.jsx(ne,{variant:"caption",sx:{opacity:.85,fontWeight:700},children:"WARNA PENDUKUNG"}),l.jsx(ne,{variant:"subtitle2",sx:{fontWeight:800},children:"Blue"}),l.jsx(ne,{variant:"caption",sx:{fontFamily:"monospace",fontWeight:700},children:"#043B72"})]})]})]}),l.jsxs(J,{onClick:()=>e("typography"),sx:{p:2,borderRadius:2.5,backgroundColor:t=>t.palette.mode==="dark"?"#1E293B":"#F8FAFC",border:"1px solid",borderColor:"divider",cursor:"pointer",mb:2.5,transition:"all 0.2s","&:hover":{borderColor:de.orange.hex}},children:[l.jsxs(J,{sx:{display:"flex",alignItems:"center",gap:1,mb:.5},children:[l.jsx(Ph,{sx:{color:de.orange.hex,fontSize:18}}),l.jsx(ne,{variant:"subtitle2",sx:{fontWeight:700},children:"Spoqa Han Sans Neo"})]}),l.jsx(ne,{variant:"caption",sx:{color:"text.secondary",display:"block",mb:1},children:"Thin (100) · Light (300) · Regular (400) · Medium (500) · Bold (700)"})]}),l.jsxs(J,{sx:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:1.5},children:[l.jsxs(J,{onClick:()=>e("colors"),sx:{p:1.5,borderRadius:2,border:"1px solid",borderColor:"divider",cursor:"pointer",display:"flex",alignItems:"center",gap:1,"&:hover":{borderColor:de.orange.hex}},children:[l.jsx(Oh,{sx:{color:de.orange.hex,fontSize:20}}),l.jsxs(J,{children:[l.jsx(ne,{variant:"caption",sx:{fontWeight:700,display:"block"},children:"Palet Warna"}),l.jsx(ne,{variant:"caption",sx:{color:"text.secondary",fontSize:"0.6875rem"},children:"17 Palet Desain Brand"})]})]}),l.jsxs(J,{onClick:()=>e("components"),sx:{p:1.5,borderRadius:2,border:"1px solid",borderColor:"divider",cursor:"pointer",display:"flex",alignItems:"center",gap:1,"&:hover":{borderColor:de.blue.hex}},children:[l.jsx(Ah,{sx:{color:de.blue.hex,fontSize:20}}),l.jsxs(J,{children:[l.jsx(ne,{variant:"caption",sx:{fontWeight:700,display:"block"},children:"UI Atomik"}),l.jsx(ne,{variant:"caption",sx:{color:"text.secondary",fontSize:"0.6875rem"},children:"Atoms & Molecules"})]})]})]})]})})]})})});function RI(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function OI(e,t,n,r={},a=()=>{}){const{ease:i=RI,duration:c=300}=r;let u=null;const p=t[e];let f=!1;const h=()=>{f=!0},g=y=>{if(f){a(new Error("Animation cancelled"));return}u===null&&(u=y);const m=Math.min(1,(y-u)/c);if(t[e]=i(m)*(n-p)+p,m>=1){requestAnimationFrame(()=>{a(null)});return}requestAnimationFrame(g)};return p===n?(a(new Error("Element already at target position")),h):(requestAnimationFrame(g),h)}const PI={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Nh(e){const{onChange:t,...n}=e,r=T.useRef(),a=T.useRef(null),i=()=>{r.current=a.current.offsetHeight-a.current.clientHeight};return fn(()=>{const c=ni(()=>{const p=r.current;i(),p!==r.current&&t(r.current)}),u=Nn(a.current);return u.addEventListener("resize",c),()=>{c.clear(),u.removeEventListener("resize",c)}},[t]),T.useEffect(()=>{i(),t(r.current)},[t]),l.jsx("div",{style:PI,...n,ref:a})}process.env.NODE_ENV!=="production"&&(Nh.propTypes={onChange:o.func.isRequired});function AI(e){return _e("MuiTabScrollButton",e)}const _I=Ne("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),NI=e=>{const{classes:t,orientation:n,disabled:r}=e;return Me({root:["root",n,r&&"disabled"]},AI,t)},MI=ce(wn,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${_I.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),Mh=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiTabScrollButton"}),{className:a,slots:i={},slotProps:c={},direction:u,orientation:p,disabled:f,...h}=r,g=er(),y={isRtl:g,...r},m=NI(y),x=i.StartScrollButtonIcon??Yd,b=i.EndScrollButtonIcon??Xd,k=an({elementType:x,externalSlotProps:c.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:y}),E=an({elementType:b,externalSlotProps:c.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:y});return l.jsx(MI,{component:"div",className:ye(m.root,a),ref:n,role:null,ownerState:y,tabIndex:null,...h,style:{...h.style,...p==="vertical"&&{"--TabScrollButton-svgRotate":`rotate(${g?-90:90}deg)`}},children:u==="left"?l.jsx(x,{...k}):l.jsx(b,{...E})})});process.env.NODE_ENV!=="production"&&(Mh.propTypes={children:o.node,classes:o.object,className:o.string,direction:o.oneOf(["left","right"]).isRequired,disabled:o.bool,orientation:o.oneOf(["horizontal","vertical"]).isRequired,slotProps:o.shape({endScrollButtonIcon:o.oneOfType([o.func,o.object]),startScrollButtonIcon:o.oneOfType([o.func,o.object])}),slots:o.shape({EndScrollButtonIcon:o.elementType,StartScrollButtonIcon:o.elementType}),style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function BI(e){return _e("MuiTabs",e)}const ll=Ne("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),o1=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,r1=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,na=(e,t,n)=>{let r=!1,a=n(e,t);for(;a;){if(a===e.firstChild){if(r)return;r=!0}const i=a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||i)a=n(e,a);else{a.focus();return}}},FI=e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:a,scrollableY:i,centered:c,scrollButtonsHideMobile:u,classes:p}=e;return Me({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",a&&"scrollableX",i&&"scrollableY"],list:["list","flexContainer",t&&"flexContainerVertical",t&&"vertical",c&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",u&&"scrollButtonsHideMobile"],scrollableX:[a&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},BI,p)},LI=ce("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ll.scrollButtons}`]:t.scrollButtons},{[`& .${ll.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(Pe(({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:t})=>t.vertical,style:{flexDirection:"column"}},{props:({ownerState:t})=>t.scrollButtonsHideMobile,style:{[`& .${ll.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]}))),$I=ce("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:e})=>e.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:e})=>e.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:e})=>e.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:e})=>e.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),DI=ce("div",{name:"MuiTabs",slot:"List",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.list,t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),zI=ce("span",{name:"MuiTabs",slot:"Indicator"})(Pe(({theme:e})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(e.vars||e).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(e.vars||e).palette.secondary.main}},{props:({ownerState:t})=>t.vertical,style:{height:"100%",width:2,right:0}}]}))),VI=ce(Nh)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),s1={};let a1=!1;const qs=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiTabs"}),a=io(),i=er(),{"aria-label":c,"aria-labelledby":u,action:p,centered:f=!1,children:h,className:g,component:y="div",allowScrollButtonsMobile:m=!1,indicatorColor:x="primary",onChange:b,orientation:k="horizontal",ScrollButtonComponent:E,scrollButtons:w="auto",selectionFollowsFocus:C,slots:S={},slotProps:j={},TabIndicatorProps:R={},TabScrollButtonProps:M={},textColor:L="primary",value:H,variant:U="standard",visibleScrollbar:K=!1,...v}=r,O=U==="scrollable",_=k==="vertical",Y=_?"scrollTop":"scrollLeft",F=_?"top":"left",X=_?"bottom":"right",te=_?"clientHeight":"clientWidth",ee=_?"height":"width",W={...r,component:y,allowScrollButtonsMobile:m,indicatorColor:x,orientation:k,vertical:_,scrollButtons:w,textColor:L,variant:U,visibleScrollbar:K,fixed:!O,hideScrollbar:O&&!K,scrollableX:O&&!_,scrollableY:O&&_,centered:f&&!O,scrollButtonsHideMobile:!m},V=FI(W),pe=an({elementType:S.StartScrollButtonIcon,externalSlotProps:j.startScrollButtonIcon,ownerState:W}),ue=an({elementType:S.EndScrollButtonIcon,externalSlotProps:j.endScrollButtonIcon,ownerState:W});process.env.NODE_ENV!=="production"&&f&&O&&console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');const[he,A]=T.useState(!1),[N,$]=T.useState(s1),[B,G]=T.useState(!1),[q,oe]=T.useState(!1),[z,fe]=T.useState(!1),[re,ke]=T.useState({overflow:"hidden",scrollbarWidth:0}),je=new Map,be=T.useRef(null),Ee=T.useRef(null),ze={slots:S,slotProps:{indicator:R,scrollButtons:M,...j}},Ze=()=>{const Se=be.current;let Oe;if(Se){const rt=Se.getBoundingClientRect();Oe={clientWidth:Se.clientWidth,scrollLeft:Se.scrollLeft,scrollTop:Se.scrollTop,scrollWidth:Se.scrollWidth,top:rt.top,bottom:rt.bottom,left:rt.left,right:rt.right}}let Je;if(Se&&H!==!1){const rt=Ee.current.children;if(rt.length>0){const vt=rt[je.get(H)];process.env.NODE_ENV!=="production"&&(vt||console.error(["MUI: The `value` provided to the Tabs component is invalid.",`None of the Tabs' children match with "${H}".`,je.keys?`You can provide one of the following values: ${Array.from(je.keys()).join(", ")}.`:null].join(`
350
+ `))),Je=vt?vt.getBoundingClientRect():null,process.env.NODE_ENV!=="production"&&Bs()&&!a1&&Je&&Je.width===0&&Je.height===0&&Oe.clientWidth!==0&&(Oe=null,console.error(["MUI: The `value` provided to the Tabs component is invalid.",`The Tab with this \`value\` ("${H}") is not part of the document layout.`,"Make sure the tab item is present in the document or that it's not `display: none`."].join(`
351
+ `)),a1=!0)}}return{tabsMeta:Oe,tabMeta:Je}},We=qt(()=>{const{tabsMeta:Se,tabMeta:Oe}=Ze();let Je=0,rt;_?(rt="top",Oe&&Se&&(Je=Oe.top-Se.top+Se.scrollTop)):(rt=i?"right":"left",Oe&&Se&&(Je=(i?-1:1)*(Oe[rt]-Se[rt]+Se.scrollLeft)));const vt={[rt]:Je,[ee]:Oe?Oe[ee]:0};if(typeof N[rt]!="number"||typeof N[ee]!="number")$(vt);else{const sn=Math.abs(N[rt]-vt[rt]),On=Math.abs(N[ee]-vt[ee]);(sn>=1||On>=1)&&$(vt)}}),Te=(Se,{animation:Oe=!0}={})=>{Oe?OI(Y,be.current,Se,{duration:a.transitions.duration.standard}):be.current[Y]=Se},xt=Se=>{let Oe=be.current[Y];_?Oe+=Se:Oe+=Se*(i?-1:1),Te(Oe)},it=()=>{const Se=be.current[te];let Oe=0;const Je=Array.from(Ee.current.children);for(let rt=0;rt<Je.length;rt+=1){const vt=Je[rt];if(Oe+vt[te]>Se){rt===0&&(Oe=Se);break}Oe+=vt[te]}return Oe},me=()=>{xt(-1*it())},ge=()=>{xt(it())},[Ie,{onChange:De,...He}]=Fe("scrollbar",{className:ye(V.scrollableX,V.hideScrollbar),elementType:VI,shouldForwardComponentProp:!0,externalForwardedProps:ze,ownerState:W}),Re=T.useCallback(Se=>{De==null||De(Se),ke({overflow:null,scrollbarWidth:Se})},[De]),[Ce,Qe]=Fe("scrollButtons",{className:ye(V.scrollButtons,M.className),elementType:Mh,externalForwardedProps:ze,ownerState:W,additionalProps:{orientation:k,slots:{StartScrollButtonIcon:S.startScrollButtonIcon||S.StartScrollButtonIcon,EndScrollButtonIcon:S.endScrollButtonIcon||S.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:pe,endScrollButtonIcon:ue}}}),Ke=()=>{const Se={};Se.scrollbarSizeListener=O?l.jsx(Ie,{...He,onChange:Re}):null;const Je=O&&(w==="auto"&&(B||q)||w===!0);return Se.scrollButtonStart=Je?l.jsx(Ce,{direction:i?"right":"left",onClick:me,disabled:!B,...Qe}):null,Se.scrollButtonEnd=Je?l.jsx(Ce,{direction:i?"left":"right",onClick:ge,disabled:!q,...Qe}):null,Se},nt=qt(Se=>{const{tabsMeta:Oe,tabMeta:Je}=Ze();if(!(!Je||!Oe)){if(Je[F]<Oe[F]){const rt=Oe[Y]+(Je[F]-Oe[F]);Te(rt,{animation:Se})}else if(Je[X]>Oe[X]){const rt=Oe[Y]+(Je[X]-Oe[X]);Te(rt,{animation:Se})}}}),At=qt(()=>{O&&w!==!1&&fe(!z)});T.useEffect(()=>{const Se=ni(()=>{be.current&&We()});let Oe;const Je=sn=>{sn.forEach(On=>{On.removedNodes.forEach(Yn=>{Oe==null||Oe.unobserve(Yn)}),On.addedNodes.forEach(Yn=>{Oe==null||Oe.observe(Yn)})}),Se(),At()},rt=Nn(be.current);rt.addEventListener("resize",Se);let vt;return typeof ResizeObserver<"u"&&(Oe=new ResizeObserver(Se),Array.from(Ee.current.children).forEach(sn=>{Oe.observe(sn)})),typeof MutationObserver<"u"&&(vt=new MutationObserver(Je),vt.observe(Ee.current,{childList:!0})),()=>{Se.clear(),rt.removeEventListener("resize",Se),vt==null||vt.disconnect(),Oe==null||Oe.disconnect()}},[We,At]),T.useEffect(()=>{const Se=Array.from(Ee.current.children),Oe=Se.length;if(typeof IntersectionObserver<"u"&&Oe>0&&O&&w!==!1){const Je=Se[0],rt=Se[Oe-1],vt={root:be.current,threshold:.99},sn=jo=>{G(!jo[0].isIntersecting)},On=new IntersectionObserver(sn,vt);On.observe(Je);const Yn=jo=>{oe(!jo[0].isIntersecting)},or=new IntersectionObserver(Yn,vt);return or.observe(rt),()=>{On.disconnect(),or.disconnect()}}},[O,w,z,h==null?void 0:h.length]),T.useEffect(()=>{A(!0)},[]),T.useEffect(()=>{We()}),T.useEffect(()=>{nt(s1!==N)},[nt,N]),T.useImperativeHandle(p,()=>({updateIndicator:We,updateScrollButtons:At}),[We,At]);const[Zt,Qt]=Fe("indicator",{className:ye(V.indicator,R.className),elementType:zI,externalForwardedProps:ze,ownerState:W,additionalProps:{style:N}}),en=l.jsx(Zt,{...Qt});let Yt=0;const rn=T.Children.map(h,Se=>{if(!T.isValidElement(Se))return null;process.env.NODE_ENV!=="production"&&to.isFragment(Se)&&console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
352
+ `));const Oe=Se.props.value===void 0?Yt:Se.props.value;je.set(Oe,Yt);const Je=Oe===H;return Yt+=1,T.cloneElement(Se,{fullWidth:U==="fullWidth",indicator:Je&&!he&&en,selected:Je,selectionFollowsFocus:C,onChange:b,textColor:L,value:Oe,...Yt===1&&H===!1&&!Se.props.tabIndex?{tabIndex:0}:{}})}),bn=Se=>{if(Se.altKey||Se.shiftKey||Se.ctrlKey||Se.metaKey)return;const Oe=Ee.current,Je=Zn(Nt(Oe));if((Je==null?void 0:Je.getAttribute("role"))!=="tab")return;let vt=k==="horizontal"?"ArrowLeft":"ArrowUp",sn=k==="horizontal"?"ArrowRight":"ArrowDown";switch(k==="horizontal"&&i&&(vt="ArrowRight",sn="ArrowLeft"),Se.key){case vt:Se.preventDefault(),na(Oe,Je,r1);break;case sn:Se.preventDefault(),na(Oe,Je,o1);break;case"Home":Se.preventDefault(),na(Oe,null,o1);break;case"End":Se.preventDefault(),na(Oe,null,r1);break}},st=Ke(),[mt,we]=Fe("root",{ref:n,className:ye(V.root,g),elementType:LI,externalForwardedProps:{...ze,...v,component:y},ownerState:W}),[Ue,ot]=Fe("scroller",{ref:be,className:V.scroller,elementType:$I,externalForwardedProps:ze,ownerState:W,additionalProps:{style:{overflow:re.overflow,[_?`margin${i?"Left":"Right"}`:"marginBottom"]:K?void 0:-re.scrollbarWidth}}}),[Be,St]=Fe("list",{ref:Ee,className:ye(V.list,V.flexContainer),elementType:DI,externalForwardedProps:ze,ownerState:W,getSlotProps:Se=>({...Se,onKeyDown:Oe=>{var Je;bn(Oe),(Je=Se.onKeyDown)==null||Je.call(Se,Oe)}})});return l.jsxs(mt,{...we,children:[st.scrollButtonStart,st.scrollbarSizeListener,l.jsxs(Ue,{...ot,children:[l.jsx(Be,{"aria-label":c,"aria-labelledby":u,"aria-orientation":k==="vertical"?"vertical":null,role:"tablist",...St,children:rn}),he&&en]}),st.scrollButtonEnd]})});process.env.NODE_ENV!=="production"&&(qs.propTypes={action:gn,allowScrollButtonsMobile:o.bool,"aria-label":o.string,"aria-labelledby":o.string,centered:o.bool,children:o.node,classes:o.object,className:o.string,component:o.elementType,indicatorColor:o.oneOfType([o.oneOf(["primary","secondary"]),o.string]),onChange:o.func,orientation:o.oneOf(["horizontal","vertical"]),ScrollButtonComponent:o.elementType,scrollButtons:o.oneOf(["auto",!1,!0]),selectionFollowsFocus:o.bool,slotProps:o.shape({endScrollButtonIcon:o.oneOfType([o.func,o.object]),indicator:o.oneOfType([o.func,o.object]),list:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object]),scrollbar:o.oneOfType([o.func,o.object]),scrollButtons:o.oneOfType([o.func,o.object]),scroller:o.oneOfType([o.func,o.object]),startScrollButtonIcon:o.oneOfType([o.func,o.object])}),slots:o.shape({endScrollButtonIcon:o.elementType,EndScrollButtonIcon:o.elementType,indicator:o.elementType,list:o.elementType,root:o.elementType,scrollbar:o.elementType,scrollButtons:o.elementType,scroller:o.elementType,startScrollButtonIcon:o.elementType,StartScrollButtonIcon:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),TabIndicatorProps:o.object,TabScrollButtonProps:o.object,textColor:o.oneOf(["inherit","primary","secondary"]),value:o.any,variant:o.oneOf(["fullWidth","scrollable","standard"]),visibleScrollbar:o.bool});function WI(e){return _e("MuiTab",e)}const yn=Ne("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),HI=e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:a,icon:i,label:c,selected:u,disabled:p}=e,f={root:["root",i&&c&&"labelIcon",`textColor${se(n)}`,r&&"fullWidth",a&&"wrapped",u&&"selected",p&&"disabled"],icon:["iconWrapper","icon"]};return Me(f,WI,t)},UI=ce(wn,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${se(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${yn.iconWrapper}`]:t.iconWrapper},{[`& .${yn.icon}`]:t.icon}]}})(Pe(({theme:e})=>({...e.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:t})=>t.label&&(t.iconPosition==="top"||t.iconPosition==="bottom"),style:{flexDirection:"column"}},{props:({ownerState:t})=>t.label&&t.iconPosition!=="top"&&t.iconPosition!=="bottom",style:{flexDirection:"row"}},{props:({ownerState:t})=>t.icon&&t.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="top",style:{[`& > .${yn.icon}`]:{marginBottom:6}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="bottom",style:{[`& > .${yn.icon}`]:{marginTop:6}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="start",style:{[`& > .${yn.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="end",style:{[`& > .${yn.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${yn.selected}`]:{opacity:1},[`&.${yn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${yn.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${yn.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${yn.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${yn.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:t})=>t.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:t})=>t.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]}))),zt=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiTab"}),{className:a,disabled:i=!1,disableFocusRipple:c=!1,fullWidth:u,icon:p,iconPosition:f="top",indicator:h,label:g,onChange:y,onClick:m,onFocus:x,selected:b,selectionFollowsFocus:k,textColor:E="inherit",value:w,wrapped:C=!1,...S}=r,j={...r,disabled:i,disableFocusRipple:c,selected:b,icon:!!p,iconPosition:f,label:!!g,fullWidth:u,textColor:E,wrapped:C},R=HI(j),M=p&&g&&T.isValidElement(p)?T.cloneElement(p,{className:ye(R.icon,p.props.className)}):p,L=U=>{!b&&y&&y(U,w),m&&m(U)},H=U=>{k&&!b&&y&&y(U,w),x&&x(U)};return l.jsxs(UI,{focusRipple:!c,className:ye(R.root,a),ref:n,role:"tab","aria-selected":b,disabled:i,onClick:L,onFocus:H,ownerState:j,tabIndex:b?0:-1,...S,children:[f==="top"||f==="start"?l.jsxs(T.Fragment,{children:[M,g]}):l.jsxs(T.Fragment,{children:[g,M]}),h]})});process.env.NODE_ENV!=="production"&&(zt.propTypes={children:J1,classes:o.object,className:o.string,disabled:o.bool,disableFocusRipple:o.bool,disableRipple:o.bool,icon:o.oneOfType([o.element,o.string]),iconPosition:o.oneOf(["bottom","end","start","top"]),label:o.node,onChange:o.func,onClick:o.func,onFocus:o.func,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),value:o.any,wrapped:o.bool});const qI=Q(l.jsx("path",{d:"M20 4H4c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m0 14H4V8h16zm-2-1h-6v-2h6zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4z"}),"Terminal"),GI=Q(l.jsx("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"}),"Code"),KI=Q(l.jsx("path",{d:"M10 10.02h5V21h-5zM17 21h3c1.1 0 2-.9 2-2v-9h-5zm3-18H5c-1.1 0-2 .9-2 2v3h19V5c0-1.1-.9-2-2-2M3 19c0 1.1.9 2 2 2h3V10H3z"}),"TableChart"),YI=Q(l.jsx("path",{d:"M2 7h4v10H2zm5 12h10V5H7zM18 7h4v10h-4z"}),"ViewCarousel"),Bh=Q(l.jsx("path",{d:"M12 7c-.55 0-1 .45-1 1v3H8c-.55 0-1 .45-1 1s.45 1 1 1h3v3c0 .55.45 1 1 1s1-.45 1-1v-3h3c.55 0 1-.45 1-1s-.45-1-1-1h-3V8c0-.55-.45-1-1-1m0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"AddCircleOutlineRounded"),Fh=Q(l.jsx("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5C19.17 14.87 15.79 17 12 17s-7.17-2.13-8.82-5.5C4.83 8.13 8.21 6 12 6m0-2C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4m0 5c1.38 0 2.5 1.12 2.5 2.5S13.38 14 12 14s-2.5-1.12-2.5-2.5S10.62 9 12 9m0-2c-2.48 0-4.5 2.02-4.5 4.5S9.52 16 12 16s4.5-2.02 4.5-4.5S14.48 7 12 7"}),"VisibilityOutlined"),Lh=Q(l.jsx("path",{d:"m14.06 9.02.92.92L5.92 19H5v-.92zM17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29m-3.6 3.19L3 17.25V21h3.75L17.81 9.94z"}),"EditOutlined"),$h=Q(l.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2zM9 9h6c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H9c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1m6.5-5-.71-.71c-.18-.18-.44-.29-.7-.29H9.91c-.26 0-.52.11-.7.29L8.5 4H6c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1z"}),"DeleteOutlineRounded"),XI=[{id:"ticker",label:"Kode",minWidth:90,sortable:!0,sticky:"left",render:e=>l.jsx(ne,{sx:{fontWeight:800,color:de.blue.hex},children:e.ticker})},{id:"name",label:"Nama Emiten",minWidth:180,sortable:!0},{id:"sector",label:"Sektor Industri",minWidth:160,sortable:!0},{id:"price",label:"Harga Terakhir",minWidth:120,align:"right",sortable:!0},{id:"change",label:"Perubahan",minWidth:110,align:"center",sortable:!0,render:e=>l.jsx(An,{label:e.change,trend:e.trend,size:"small"})},{id:"changeAmount",label:"Nominal (+/-)",minWidth:120,align:"right",render:e=>l.jsx(ne,{sx:{fontWeight:600,color:e.trend==="up"?"#10B981":"#EF4444",fontSize:"0.8125rem"},children:e.changeAmount})},{id:"volume",label:"Volume (Lot)",minWidth:120,align:"right",sortable:!0},{id:"turnover",label:"Nilai Transaksi",minWidth:130,align:"right",sortable:!0},{id:"actions",label:"Aksi",minWidth:180,align:"center",sticky:"right",render:e=>l.jsxs(J,{sx:{display:"inline-flex",alignItems:"center",gap:.5},children:[l.jsx(Ht,{title:"Tambah Transaksi",arrow:!0,placement:"top",children:l.jsx(Ct,{size:"small",onClick:t=>t.stopPropagation(),sx:{color:"#10B981",backgroundColor:"transparent",borderRadius:"6px",p:.65,"&:hover":{backgroundColor:"rgba(16, 185, 129, 0.12)"}},children:l.jsx(Bh,{fontSize:"small"})})}),l.jsx(Ht,{title:"Lihat Detail Saham",arrow:!0,placement:"top",children:l.jsx(Ct,{size:"small",onClick:t=>t.stopPropagation(),sx:{color:"#0284C7",backgroundColor:"transparent",borderRadius:"6px",p:.65,"&:hover":{backgroundColor:"rgba(2, 132, 199, 0.12)"}},children:l.jsx(Fh,{fontSize:"small"})})}),l.jsx(Ht,{title:"Ubah Data Emiten",arrow:!0,placement:"top",children:l.jsx(Ct,{size:"small",onClick:t=>t.stopPropagation(),sx:{color:de.orange.hex,backgroundColor:"transparent",borderRadius:"6px",p:.65,"&:hover":{backgroundColor:"rgba(245, 130, 32, 0.12)"}},children:l.jsx(Lh,{fontSize:"small"})})}),l.jsx(Ht,{title:"Hapus dari Daftar Pantau",arrow:!0,placement:"top",children:l.jsx(Ct,{size:"small",onClick:t=>t.stopPropagation(),sx:{color:"#EF4444",backgroundColor:"transparent",borderRadius:"6px",p:.65,"&:hover":{backgroundColor:"rgba(239, 68, 68, 0.12)"}},children:l.jsx($h,{fontSize:"small"})})})]})}],JI=[{id:"1",ticker:"BBCA",name:"Bank Central Asia Tbk",sector:"Finansial / Perbankan",price:"Rp 10.250",change:"+1.75%",changeAmount:"+Rp 175",trend:"up",volume:"482.109",turnover:"Rp 4,94 T"},{id:"2",ticker:"BBRI",name:"Bank Rakyat Indonesia Tbk",sector:"Finansial / Perbankan",price:"Rp 5.150",change:"+2.10%",changeAmount:"+Rp 100",trend:"up",volume:"621.840",turnover:"Rp 3,20 T"},{id:"3",ticker:"BMRI",name:"Bank Mandiri (Persero) Tbk",sector:"Finansial / Perbankan",price:"Rp 6.800",change:"-0.73%",changeAmount:"-Rp 50",trend:"down",volume:"315.420",turnover:"Rp 2,15 T"},{id:"4",ticker:"TLKM",name:"Telkom Indonesia Tbk",sector:"Telekomunikasi & Digital",price:"Rp 3.820",change:"+0.52%",changeAmount:"+Rp 20",trend:"up",volume:"298.110",turnover:"Rp 1,14 T"}],Dh=()=>{const[e,t]=xe.useState(0);return l.jsxs(J,{sx:{py:6},id:"usage-guide-section",children:[l.jsxs(J,{sx:{mb:4},children:[l.jsx(J,{sx:{display:"flex",alignItems:"center",gap:1,mb:1},children:l.jsx(Lt,{label:"Panduan Pengembang",variant:"primary",size:"sm"})}),l.jsx(ne,{variant:"h2",sx:{fontWeight:800,mb:1},children:"Cara Penggunaan Sistem Desain"}),l.jsx(ne,{variant:"body1",sx:{color:"text.secondary",maxWidth:740},children:"Panduan langkah-demi-langkah mengintegrasikan paket @mirae/design-system ke dalam proyek aplikasi web frontend (seperti console admin DWP, portal nasabah, atau web trading)."})]}),l.jsxs(Xt,{sx:{borderRadius:3.5,border:"1px solid",borderColor:"divider",overflow:"hidden",boxShadow:"0 4px 20px rgba(4, 59, 114, 0.05)"},children:[l.jsx(J,{sx:{borderBottom:"1px solid",borderColor:"divider",px:2,pt:1},children:l.jsxs(qs,{value:e,onChange:(f,h)=>t(h),variant:"scrollable",scrollButtons:"auto",children:[l.jsx(zt,{icon:l.jsx(qI,{sx:{fontSize:18}}),iconPosition:"start",label:"1. Instalasi"}),l.jsx(zt,{icon:l.jsx(GI,{sx:{fontSize:18}}),iconPosition:"start",label:"2. Setup Tema"}),l.jsx(zt,{icon:l.jsx(Oh,{sx:{fontSize:18}}),iconPosition:"start",label:"3. Palet Warna"}),l.jsx(zt,{icon:l.jsx(Ph,{sx:{fontSize:18}}),iconPosition:"start",label:"4. Tipografi & Font"}),l.jsx(zt,{icon:l.jsx(Ah,{sx:{fontSize:18}}),iconPosition:"start",label:"5. Komponen UI"}),l.jsx(zt,{icon:l.jsx(KI,{sx:{fontSize:18}}),iconPosition:"start",label:"6. Komponen Tabel"}),l.jsx(zt,{icon:l.jsx(YI,{sx:{fontSize:18}}),iconPosition:"start",label:"7. Hero / Carousel"})]})}),l.jsxs(J,{sx:{p:{xs:2.5,sm:3.5}},children:[e===0&&l.jsxs(J,{children:[l.jsx(ne,{variant:"h5",sx:{fontWeight:700,mb:1},children:"Langkah 1: Instalasi Paket"}),l.jsx(ne,{variant:"body2",sx:{color:"text.secondary",mb:2.5},children:"Instal paket dari repository GCP Artifact Registry atau npm internal, beserta dependensi utama Material-UI dan Emotion."}),l.jsx(lo,{code:`# Instal paket desain sistem dari GCP Artifact Registry / npm
353
+ npm install @mirae/design-system
354
+
355
+ # Pastikan peer dependencies terpasang di proyek Anda
356
+ npm install @mui/material @mui/icons-material @emotion/react @emotion/styled`,language:"bash"})]}),e===1&&l.jsxs(J,{children:[l.jsx(ne,{variant:"h5",sx:{fontWeight:700,mb:1},children:"Langkah 2: Inisialisasi Tema Material-UI"}),l.jsx(ne,{variant:"body2",sx:{color:"text.secondary",mb:2.5},children:"Bungkus komponen root aplikasi dengan AppThemeProvider untuk mengaktifkan warna resmi Mirae Asset, mode gelap/terang, dan styling bawaan."}),l.jsx(lo,{code:`// src/App.tsx atau src/main.tsx
357
+ import React from 'react';
358
+ import { AppThemeProvider, lightTheme, darkTheme } from '@mirae/design-system';
359
+
360
+ export function App() {
361
+ return (
362
+ // AppThemeProvider otomatis menyediakan mode terang/gelap & sinkronisasi localStorage
363
+ <AppThemeProvider>
364
+ <YourMainApplication />
365
+ </AppThemeProvider>
366
+ );
367
+ }
368
+
369
+ // Atau integrasikan langsung ke ThemeProvider MUI yang sudah ada:
370
+ // import { ThemeProvider } from '@mui/material/styles';
371
+ // <ThemeProvider theme={lightTheme}><YourApp /></ThemeProvider>`,language:"tsx"})]}),e===2&&l.jsxs(J,{children:[l.jsx(ne,{variant:"h5",sx:{fontWeight:700,mb:1},children:"Langkah 3: Palet Desain Brand Resmi"}),l.jsx(ne,{variant:"body2",sx:{color:"text.secondary",mb:2.5},children:"Akses langsung nilai HEX, RGB, CMYK warna PANTONE 158C Orange & 295C Blue, serta sub-warna resmi grafik dan latar digital dari @mirae/design-system/constants (atau alias @mirae/design-system/palette)."}),l.jsx(lo,{code:`// Mengakses Nilai Palet Warna Brand Resmi (dari /constants atau /palette)
372
+ import {
373
+ primaryColors,
374
+ graphIllustrationColors,
375
+ digitalBackgroundLineColors,
376
+ } from '@mirae/design-system/constants';
377
+
378
+ // 1. Warna Utama Brand (PANTONE 158C Orange & PANTONE 295C Blue)
379
+ console.log(primaryColors.orange.hex); // #F58220 (Warna Utama / Main Identity)
380
+ console.log(primaryColors.blue.hex); // #043B72 (Warna Pendukung / Support Identity)
381
+
382
+ // 2. Sub-Warna Grafik & Visualisasi Data (8 Warna Pelengkap)
383
+ // [#F0B26B, #CB6015, #AD624E, #84888B, #00A9CE, #0086B8, #7E9FC3, #8DC8E8]
384
+ console.log(graphIllustrationColors);
385
+
386
+ // 3. Sub-Warna Latar & Garis Digital (7 Warna Kontras UI)
387
+ // [#263852, #101B2B, #334155, #64748B, #94A3B8, #CBD5E1, #F1F5F9]
388
+ console.log(digitalBackgroundLineColors);`,language:"typescript"})]}),e===3&&l.jsxs(J,{children:[l.jsx(ne,{variant:"h5",sx:{fontWeight:700,mb:1},children:"Langkah 4: Tipografi & Font Resmi (Spoqa Han Sans Neo)"}),l.jsx(ne,{variant:"body2",sx:{color:"text.secondary",mb:2.5},children:"Panduan memuat stylesheet resmi Spoqa Han Sans Neo, serta mengakses konstanta bobot font resmi (Thin 100 s.d. Bold 700) dan skala tipografi dari @mirae/design-system/constants."}),l.jsx(lo,{code:`<!-- 1. Masukkan stylesheet resmi Spoqa Han Sans Neo pada index.html -->
389
+ <link rel="stylesheet" href="https://spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css" />
390
+
391
+ /* Atau impor langsung pada file index.css / global stylesheet */
392
+ @import url('https://spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css');
393
+
394
+ body {
395
+ font-family: 'Spoqa Han Sans Neo', 'Spoqa Han Sans', sans-serif;
396
+ }
397
+
398
+ // 2. Mengakses Token Bobot Font & Tipografi
399
+ import {
400
+ fontWeights,
401
+ fontFamilies,
402
+ typographyScale,
403
+ } from '@mirae/design-system/constants';
404
+
405
+ // Bobot Font Resmi Spoqa Han Sans Neo (100–700)
406
+ console.log(fontWeights.thin); // 100 (Thin)
407
+ console.log(fontWeights.light); // 300 (Light)
408
+ console.log(fontWeights.regular); // 400 (Regular)
409
+ console.log(fontWeights.medium); // 500 (Medium)
410
+ console.log(fontWeights.bold); // 700 (Bold)
411
+
412
+ // Skala Tipografi Resmi Material-UI
413
+ console.log(typographyScale.h1); // 48px, bold
414
+ console.log(typographyScale.body1); // 16px, regular`,language:"html"})]}),e===4&&l.jsxs(J,{children:[l.jsx(ne,{variant:"h5",sx:{fontWeight:700,mb:1},children:"Langkah 5: Penggunaan Komponen Atomik & Molekul"}),l.jsx(ne,{variant:"body2",sx:{color:"text.secondary",mb:2.5},children:"Impor tombol, badge, chip, input, dan logo resmi langsung dari pustaka @mirae/design-system."}),l.jsx(lo,{code:`// Contoh Penggunaan Komponen Atomik & Molekul
415
+ import React, { useState } from 'react';
416
+ import {
417
+ MiraeButton,
418
+ MiraeBadge,
419
+ MiraeChip,
420
+ MiraeInput,
421
+ FormField,
422
+ MiraeSekuritasLogo,
423
+ } from '@mirae/design-system';
424
+ import Visibility from '@mui/icons-material/Visibility';
425
+ import VisibilityOff from '@mui/icons-material/VisibilityOff';
426
+ import LockOutlined from '@mui/icons-material/LockOutlined';
427
+ import LockOpenOutlined from '@mui/icons-material/LockOpenOutlined';
428
+
429
+ export function DashboardHeader() {
430
+ const [showPassword, setShowPassword] = useState(false);
431
+
432
+ return (
433
+ <div style={{ display: 'flex', flexDirection: 'column', gap: 16 }}>
434
+ {/* 1. Logo Resmi Mirae Asset Sekuritas Indonesia */}
435
+ <MiraeSekuritasLogo variant="horizontal" showOjkBadge />
436
+
437
+ {/* 2. Tombol dengan warna brand utama (Orange #F58220 & Blue #043B72) */}
438
+ <div style={{ display: 'flex', gap: 8 }}>
439
+ <MiraeButton brandVariant="primary">Beli Saham</MiraeButton>
440
+ <MiraeButton brandVariant="secondary">Laporan Riset</MiraeButton>
441
+ <MiraeButton brandVariant="outlined">Pantau Pasar</MiraeButton>
442
+ </div>
443
+
444
+ {/* 3. Badge status & Chip tren finansial */}
445
+ <MiraeBadge label="Investor Terverifikasi" variant="secondary" dot />
446
+ <MiraeChip label="+14.8% YTD" trend="up" brandColor="orange" />
447
+
448
+ {/* 4. Input teks standar */}
449
+ <FormField label="Nomor Rekening RDN" placeholder="102-882-9910" focusColor="orange" required />
450
+
451
+ {/* 5. FormField Password dengan Prefix Icon Toggle Obscured */}
452
+ <FormField
453
+ label="Kata Sandi Portofolio / PIN Transaksi"
454
+ required
455
+ type={showPassword ? 'text' : 'password'}
456
+ placeholder="Masukkan kata sandi aman"
457
+ prefixIcon={showPassword ? <Visibility fontSize="small" /> : <VisibilityOff fontSize="small" />}
458
+ onPrefixClick={() => setShowPassword(!showPassword)}
459
+ prefixAriaLabel={showPassword ? 'Sembunyikan kata sandi' : 'Tampilkan kata sandi'}
460
+ hint="Klik ikon di kiri untuk toggle obscured (tampilkan/sembunyikan kata sandi)"
461
+ />
462
+ </div>
463
+ );
464
+ }`,language:"javascript"})]}),e===5&&l.jsxs(J,{children:[l.jsx(ne,{variant:"h5",sx:{fontWeight:700,mb:1},children:"Langkah 6: Penggunaan Komponen MSTable"}),l.jsx(ne,{variant:"body2",sx:{color:"text.secondary",mb:2.5},children:"Tabel data interaktif dengan sticky kolom pertama, penggeseran horizontal (scroll), pencarian instan, paginasi, dan seleksi baris."}),l.jsx(J,{sx:{mb:3},children:l.jsx(Or,{title:"Daftar Pantau Saham Unggulan (Watchlist)",columns:XI,data:JI,searchable:!0,pagination:!0,defaultRowsPerPage:5,headerVariant:"blue",striped:!0,stickyFirstColumn:!0,stickyLastColumn:!0,showColumnCount:!0})}),l.jsx(ne,{variant:"subtitle2",sx:{fontWeight:700,mb:1.5},children:"Contoh Kode Implementasi:"}),l.jsx(lo,{code:`// Contoh Penggunaan Komponen MiraeTable dengan Sticky Column & Action Buttons
465
+ import React from 'react';
466
+ import Box from '@mui/material/Box';
467
+ import IconButton from '@mui/material/IconButton';
468
+ import Tooltip from '@mui/material/Tooltip';
469
+ import AddCircleOutlineRoundedIcon from '@mui/icons-material/AddCircleOutlineRounded';
470
+ import VisibilityOutlinedIcon from '@mui/icons-material/VisibilityOutlined';
471
+ import EditOutlinedIcon from '@mui/icons-material/EditOutlined';
472
+ import DeleteOutlineRoundedIcon from '@mui/icons-material/DeleteOutlineRounded';
473
+ import { MiraeTable, MiraeChip } from '@mirae/design-system';
474
+
475
+ interface StockData {
476
+ id: string;
477
+ ticker: string;
478
+ name: string;
479
+ sector: string;
480
+ price: string;
481
+ change: string;
482
+ trend: 'up' | 'down';
483
+ volume: string;
484
+ }
485
+
486
+ export function WatchlistTable() {
487
+ const columns = [
488
+ { id: 'ticker', label: 'Kode', sortable: true, sticky: 'left' as const },
489
+ { id: 'name', label: 'Nama Emiten', sortable: true },
490
+ { id: 'sector', label: 'Sektor Industri', sortable: true },
491
+ { id: 'price', label: 'Harga Terakhir', align: 'right' as const, sortable: true },
492
+ {
493
+ id: 'change',
494
+ label: 'Perubahan',
495
+ render: (row: StockData) => (
496
+ <MiraeChip label={row.change} trend={row.trend} size="small" />
497
+ ),
498
+ },
499
+ { id: 'volume', label: 'Volume (Lot)', align: 'right' as const },
500
+ {
501
+ id: 'actions',
502
+ label: 'Aksi',
503
+ align: 'center' as const,
504
+ sticky: 'right' as const,
505
+ render: (row: StockData) => (
506
+ <Box sx={{ display: 'inline-flex', gap: 0.5 }}>
507
+ <Tooltip title="Tambah Transaksi" arrow placement="top">
508
+ <IconButton size="small" sx={{ color: '#10B981', '&:hover': { backgroundColor: 'rgba(16, 185, 129, 0.12)' } }}>
509
+ <AddCircleOutlineRoundedIcon fontSize="small" />
510
+ </IconButton>
511
+ </Tooltip>
512
+ <Tooltip title="Lihat Detail" arrow placement="top">
513
+ <IconButton size="small" sx={{ color: '#0284C7', '&:hover': { backgroundColor: 'rgba(2, 132, 199, 0.12)' } }}>
514
+ <VisibilityOutlinedIcon fontSize="small" />
515
+ </IconButton>
516
+ </Tooltip>
517
+ <Tooltip title="Ubah Data" arrow placement="top">
518
+ <IconButton size="small" sx={{ color: '#F58220', '&:hover': { backgroundColor: 'rgba(245, 130, 32, 0.12)' } }}>
519
+ <EditOutlinedIcon fontSize="small" />
520
+ </IconButton>
521
+ </Tooltip>
522
+ <Tooltip title="Hapus Data" arrow placement="top">
523
+ <IconButton size="small" sx={{ color: '#EF4444', '&:hover': { backgroundColor: 'rgba(239, 68, 68, 0.12)' } }}>
524
+ <DeleteOutlineRoundedIcon fontSize="small" />
525
+ </IconButton>
526
+ </Tooltip>
527
+ </Box>
528
+ ),
529
+ },
530
+ ];
531
+
532
+ const data: StockData[] = [
533
+ { id: '1', ticker: 'BBCA', name: 'Bank Central Asia Tbk', sector: 'Finansial', price: 'Rp 10.250', change: '+1.75%', trend: 'up', volume: '482.109' },
534
+ { id: '2', ticker: 'BBRI', name: 'Bank Rakyat Indonesia Tbk', sector: 'Finansial', price: 'Rp 5.150', change: '+2.10%', trend: 'up', volume: '621.840' },
535
+ ];
536
+
537
+ return (
538
+ <MiraeTable
539
+ title="Daftar Pantau Saham Unggulan"
540
+ columns={columns}
541
+ data={data}
542
+ searchable
543
+ pagination
544
+ headerVariant="blue"
545
+ striped
546
+ stickyFirstColumn={true}
547
+ stickyLastColumn={true}
548
+ showColumnCount={true}
549
+ />
550
+ );
551
+ }`,language:"tsx"})]}),e===6&&l.jsxs(J,{children:[l.jsx(ne,{variant:"h5",sx:{fontWeight:700,mb:1},children:"Langkah 7: Penggunaan Komponen Hero & Carousel"}),l.jsx(ne,{variant:"body2",sx:{color:"text.secondary",mb:2.5},children:"Komponen carousel responsif dengan autoplay otomatis, jeda saat kursor hover, indikator slide interaktif, tombol navigasi, dan metrik kinerja keuangan."}),l.jsx(J,{sx:{mb:3,borderRadius:2.5,overflow:"hidden"},children:l.jsx(Pr,{autoplay:!0,interval:5e3,height:{xs:340,sm:300,md:280}})}),l.jsx(ne,{variant:"subtitle2",sx:{fontWeight:700,mb:1.5},children:"Contoh Kode Implementasi:"}),l.jsx(lo,{code:`// Contoh Penggunaan Komponen MiraeCarousel / Hero Slider
552
+ import React from 'react';
553
+ import { MiraeCarousel, CarouselSlide } from '@mirae/design-system';
554
+
555
+ export function PromotionalHero() {
556
+ const slides: CarouselSlide[] = [
557
+ {
558
+ id: 'slide-1',
559
+ badge: 'Building on Principles',
560
+ badgeVariant: 'primary',
561
+ subtitle: 'PT MIRAE ASSET SEKURITAS INDONESIA',
562
+ title: 'Solusi Investasi Unggulan Terpercaya',
563
+ description: 'Platform transaksi saham & reksa dana mutakhir DWP dengan eksekusi cepat.',
564
+ ctaText: 'Mulai Transaksi',
565
+ secondaryCtaText: 'Riset Pasar',
566
+ backgroundColor: '#043B72',
567
+ metrics: [
568
+ { label: 'Total AUM', value: 'Rp 148,6 T' },
569
+ { label: 'Latency', value: '< 25ms' },
570
+ ],
571
+ },
572
+ {
573
+ id: 'slide-2',
574
+ badge: 'Platform DWP 2.0',
575
+ badgeVariant: 'secondary',
576
+ subtitle: 'DIGITAL WEALTH PLATFORM',
577
+ title: 'Kecepatan Eksekusi & Manajemen Portofolio',
578
+ description: 'Akses pasar real-time BEI dengan analisis risiko komprehensif.',
579
+ ctaText: 'Buka Rekening RDN',
580
+ secondaryCtaText: 'Demo Interaktif',
581
+ backgroundColor: '#0B192C',
582
+ metrics: [
583
+ { label: 'Latency', value: '< 25ms' },
584
+ { label: 'Uptime', value: '99.98%' },
585
+ ],
586
+ },
587
+ ];
588
+
589
+ return (
590
+ // Komponen banner hero responsif dengan navigasi panah, autoplay, dan indikator titik
591
+ <MiraeCarousel
592
+ slides={slides}
593
+ autoplay={true}
594
+ interval={5000}
595
+ height={{ xs: 440, sm: 380, md: 360 }}
596
+ />
597
+ );
598
+ }`,language:"tsx"})]})]})]})]})},zh=()=>{const[e,t]=xe.useState(0),[n,r]=xe.useState(""),a=[de.orange,de.blue],i=xe.useMemo(()=>n?a.filter(p=>p.name.toLowerCase().includes(n.toLowerCase())||p.hex.toLowerCase().includes(n.toLowerCase())):a,[n,a]),c=xe.useMemo(()=>n?br.filter(p=>p.name.toLowerCase().includes(n.toLowerCase())||p.hex.toLowerCase().includes(n.toLowerCase())):br,[n]),u=xe.useMemo(()=>n?yr.filter(p=>p.name.toLowerCase().includes(n.toLowerCase())||p.hex.toLowerCase().includes(n.toLowerCase())):yr,[n]);return l.jsx(J,{sx:{py:6},id:"colors-section",children:l.jsxs(Io,{maxWidth:"lg",children:[l.jsxs(J,{sx:{mb:4},children:[l.jsx(ne,{variant:"h2",sx:{fontWeight:800,mb:1},children:"Sistem Warna Resmi"}),l.jsx(ne,{variant:"body1",sx:{color:"text.secondary",maxWidth:740},children:"Diekstrak langsung dari Mirae Asset Brand Guide_Color.pdf. Menyajikan kecocokan PANTONE, CMYK, RGB, dan HEX untuk warna brand utama, grafik visualisasi data, serta latar dan garis digital."})]}),l.jsxs(Xt,{sx:{p:2.5,mb:4,borderRadius:3,backgroundColor:p=>p.palette.mode==="dark"?"rgba(245, 130, 32, 0.08)":"#FFF8F0",border:"1px solid",borderColor:"rgba(245, 130, 32, 0.3)",display:"flex",alignItems:"flex-start",gap:2},children:[l.jsx(Ol,{sx:{color:de.orange.hex,mt:.25}}),l.jsxs(J,{children:[l.jsx(ne,{variant:"subtitle2",sx:{fontWeight:700,color:"text.primary"},children:"Aturan Utama Brand"}),l.jsx(ne,{variant:"body2",sx:{color:"text.secondary",mt:.25},children:"Warna utama Mirae Asset adalah Mirae Asset Orange dan Mirae Asset Blue. Mirae Asset Orange digunakan sebagai warna utama, dan Mirae Asset Blue digunakan untuk mendukung warna utama."})]})]}),l.jsxs(J,{sx:{display:"flex",flexDirection:{xs:"column",md:"row"},justifyContent:"space-between",alignItems:{xs:"stretch",md:"center"},gap:2,mb:4,borderBottom:"1px solid",borderColor:"divider",pb:1},children:[l.jsxs(qs,{value:e,onChange:(p,f)=>t(f),variant:"scrollable",scrollButtons:"auto",children:[l.jsx(zt,{label:"Semua Warna"}),l.jsx(zt,{label:"Warna Utama (2)"}),l.jsx(zt,{label:"Grafik & Ilustrasi (8)"}),l.jsx(zt,{label:"Latar & Garis Digital (7)"})]}),l.jsx(J,{sx:{width:{xs:"100%",md:320}},children:l.jsx(Xo,{placeholder:"Cari berdasarkan HEX atau nama...",categories:[],onSearch:p=>r(p)})})]}),(e===0||e===1)&&i.length>0&&l.jsxs(J,{sx:{mb:6},children:[l.jsx(ne,{variant:"h5",sx:{fontWeight:700,mb:1,color:"text.primary"},children:"Warna Utama"}),l.jsx(ne,{variant:"body2",sx:{color:"text.secondary",mb:3},children:"Warna identitas utama yang digunakan di seluruh aplikasi, header, tombol aksi, dan logo."}),l.jsx(yt,{container:!0,spacing:3,children:i.map(p=>l.jsx(yt,{size:{xs:12,sm:6},children:l.jsx(pa,{token:p,isPrimary:!0})},p.hex))})]}),(e===0||e===2)&&c.length>0&&l.jsxs(J,{sx:{mb:6},children:[l.jsx(ne,{variant:"h5",sx:{fontWeight:700,mb:1,color:"text.primary"},children:"Warna Pendukung (Grafik / Ilustrasi)"}),l.jsx(ne,{variant:"body2",sx:{color:"text.secondary",mb:3},children:"Ketika membutuhkan warna ekstra untuk grafik atau ilustrasi, warna utama harus digunakan terlebih dahulu, kemudian memanfaatkan warna-warna di bawah ini."}),l.jsx(yt,{container:!0,spacing:2.5,children:c.map(p=>l.jsx(yt,{size:{xs:12,sm:6,md:3},children:l.jsx(pa,{token:p})},p.hex+p.name))})]}),(e===0||e===3)&&u.length>0&&l.jsxs(J,{sx:{mb:4},children:[l.jsx(ne,{variant:"h5",sx:{fontWeight:700,mb:1,color:"text.primary"},children:"Warna Pendukung (Latar & Garis Digital)"}),l.jsx(ne,{variant:"body2",sx:{color:"text.secondary",mb:3},children:"Digunakan di lingkungan digital sebagai warna latar belakang atau garis pembatas untuk memperjelas dan melengkapi konten utama."}),l.jsx(yt,{container:!0,spacing:2.5,children:u.map(p=>l.jsx(yt,{size:{xs:12,sm:6,md:3},children:l.jsx(pa,{token:p})},p.hex+p.name))})]})]})})},ZI={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function QI(e,t,n=(r,a)=>r===a){return e.length===t.length&&e.every((r,a)=>n(r,t[a]))}const e3=2;function dr(e,t,n,r,a){return n===1?Math.min(e+t,a):Math.max(e-t,r)}function Vh(e,t){return e-t}function i1(e,t){const{index:n}=e.reduce((r,a,i)=>{const c=Math.abs(t-a);return r===null||c<r.distance||c===r.distance?{distance:c,index:i}:r},null)??{};return n}function oa(e,t){if(t.current!==void 0&&e.changedTouches){const n=e;for(let r=0;r<n.changedTouches.length;r+=1){const a=n.changedTouches[r];if(a.identifier===t.current)return{x:a.clientX,y:a.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function $a(e,t,n){return(e-t)*100/(n-t)}function t3(e,t,n){return(n-t)*e+t}function n3(e){if(Math.abs(e)<1){const n=e.toExponential().split("e-"),r=n[0].split(".")[1];return(r?r.length:0)+parseInt(n[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}function o3(e,t,n){const r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(n3(t)))}function l1({values:e,newValue:t,index:n}){const r=e.slice();return r[n]=t,r.sort(Vh)}function ra({sliderRef:e,activeIndex:t,setActive:n}){var a;const r=Zn(Nt(e.current));(!Cr(e.current,r)||Number(r==null?void 0:r.getAttribute("data-index"))!==t)&&((a=e.current)==null||a.querySelector(`[type="range"][data-index="${t}"]`).focus()),n&&n(t)}function sa(e,t){return typeof e=="number"&&typeof t=="number"?e===t:typeof e=="object"&&typeof t=="object"?QI(e,t):!1}const r3={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}%`})}},s3=e=>e;let aa;function c1(){return aa===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?aa=CSS.supports("touch-action","none"):aa=!0),aa}function a3(e){const{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:a=!1,isRtl:i=!1,marks:c=!1,max:u=100,min:p=0,name:f,onChange:h,onChangeCommitted:g,orientation:y="horizontal",rootRef:m,scale:x=s3,step:b=1,shiftStep:k=10,tabIndex:E,value:w}=e,C=T.useRef(void 0),[S,j]=T.useState(-1),[R,M]=T.useState(-1),[L,H]=T.useState(!1),U=T.useRef(0),K=T.useRef(null),[v,O]=bs({controlled:w,default:n??p,name:"Slider"}),_=h&&((me,ge,Ie)=>{const De=me.nativeEvent||me,He=new De.constructor(De.type,De);Object.defineProperty(He,"target",{writable:!0,value:{value:ge,name:f}}),K.current=ge,h(He,ge,Ie)}),Y=Array.isArray(v);let F=Y?v.slice().sort(Vh):[v];F=F.map(me=>me==null?p:fr(me,p,u));const X=c===!0&&b!==null?[...Array(Math.floor((u-p)/b)+1)].map((me,ge)=>({value:p+b*ge})):c||[],te=X.map(me=>me.value),[ee,W]=T.useState(-1),V=T.useRef(null),pe=Mt(m,V),ue=me=>ge=>{var De;const Ie=Number(ge.currentTarget.getAttribute("data-index"));vr(ge.target)&&W(Ie),M(Ie),(De=me==null?void 0:me.onFocus)==null||De.call(me,ge)},he=me=>ge=>{var Ie;vr(ge.target)||W(-1),M(-1),(Ie=me==null?void 0:me.onBlur)==null||Ie.call(me,ge)},A=(me,ge)=>{const Ie=Number(me.currentTarget.getAttribute("data-index")),De=F[Ie],He=te.indexOf(De);let Re=ge;if(X&&b==null){const Ce=te[te.length-1];Re>=Ce?Re=Ce:Re<=te[0]?Re=te[0]:Re=Re<De?te[He-1]:te[He+1]}if(Re=fr(Re,p,u),Y){a&&(Re=fr(Re,F[Ie-1]||-1/0,F[Ie+1]||1/0));const Ce=Re;Re=l1({values:F,newValue:Re,index:Ie});let Qe=Ie;a||(Qe=Re.indexOf(Ce)),ra({sliderRef:V,activeIndex:Qe})}O(Re),W(Ie),_&&!sa(Re,v)&&_(me,Re,Ie),g&&g(me,K.current??Re)},N=me=>ge=>{var Ie;if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(ge.key)){ge.preventDefault();const De=Number(ge.currentTarget.getAttribute("data-index")),He=F[De];let Re=null;if(b!=null){const Ce=ge.shiftKey?k:b;switch(ge.key){case"ArrowUp":Re=dr(He,Ce,1,p,u);break;case"ArrowRight":Re=dr(He,Ce,i?-1:1,p,u);break;case"ArrowDown":Re=dr(He,Ce,-1,p,u);break;case"ArrowLeft":Re=dr(He,Ce,i?1:-1,p,u);break;case"PageUp":Re=dr(He,k,1,p,u);break;case"PageDown":Re=dr(He,k,-1,p,u);break;case"Home":Re=p;break;case"End":Re=u;break}}else if(X){const Ce=te[te.length-1],Qe=te.indexOf(He),Ke=[i?"ArrowRight":"ArrowLeft","ArrowDown","PageDown","Home"],nt=[i?"ArrowLeft":"ArrowRight","ArrowUp","PageUp","End"];Ke.includes(ge.key)?Qe===0?Re=te[0]:Re=te[Qe-1]:nt.includes(ge.key)&&(Qe===te.length-1?Re=Ce:Re=te[Qe+1])}Re!=null&&A(ge,Re)}(Ie=me==null?void 0:me.onKeyDown)==null||Ie.call(me,ge)};fn(()=>{var ge;const me=Zn(Nt(V.current));r&&Cr(V.current,me)&&((ge=document.activeElement)==null||ge.blur())},[r]),r&&S!==-1&&j(-1),r&&ee!==-1&&W(-1);const $=me=>ge=>{var Ie;(Ie=me.onChange)==null||Ie.call(me,ge),A(ge,ge.target.valueAsNumber)},B=T.useRef(void 0);let G=y;i&&y==="horizontal"&&(G+="-reverse");const q=({finger:me,move:ge=!1})=>{const{current:Ie}=V,{width:De,height:He,bottom:Re,left:Ce}=Ie.getBoundingClientRect();let Qe;G.startsWith("vertical")?Qe=(Re-me.y)/He:Qe=(me.x-Ce)/De,G.includes("-reverse")&&(Qe=1-Qe);let Ke;if(Ke=t3(Qe,p,u),b)Ke=o3(Ke,b,p);else{const At=i1(te,Ke);Ke=te[At]}Ke=fr(Ke,p,u);let nt=0;if(Y){ge?nt=B.current:nt=i1(F,Ke),a&&(Ke=fr(Ke,F[nt-1]||-1/0,F[nt+1]||1/0));const At=Ke;Ke=l1({values:F,newValue:Ke,index:nt}),a&&ge||(nt=Ke.indexOf(At),B.current=nt)}return{newValue:Ke,activeIndex:nt}},oe=qt(me=>{const ge=oa(me,C);if(!ge)return;if(U.current+=1,me.type==="mousemove"&&me.buttons===0){z(me);return}const{newValue:Ie,activeIndex:De}=q({finger:ge,move:!0});ra({sliderRef:V,activeIndex:De,setActive:j}),O(Ie),!L&&U.current>e3&&H(!0),_&&!sa(Ie,v)&&_(me,Ie,De)}),z=qt(me=>{const ge=oa(me,C);if(H(!1),!ge)return;const{newValue:Ie}=q({finger:ge,move:!0});j(-1),me.type==="touchend"&&M(-1),g&&g(me,K.current??Ie),C.current=void 0,re()}),fe=qt(me=>{if(r)return;c1()||me.preventDefault();const ge=me.changedTouches[0];ge!=null&&(C.current=ge.identifier);const Ie=oa(me,C);if(Ie!==!1){const{newValue:He,activeIndex:Re}=q({finger:Ie});ra({sliderRef:V,activeIndex:Re,setActive:j}),O(He),_&&!sa(He,v)&&_(me,He,Re)}U.current=0;const De=Nt(V.current);De.addEventListener("touchmove",oe,{passive:!0}),De.addEventListener("touchend",z,{passive:!0})}),re=T.useCallback(()=>{const me=Nt(V.current);me.removeEventListener("mousemove",oe),me.removeEventListener("mouseup",z),me.removeEventListener("touchmove",oe),me.removeEventListener("touchend",z)},[z,oe]);T.useEffect(()=>{const{current:me}=V;return me.addEventListener("touchstart",fe,{passive:c1()}),()=>{me.removeEventListener("touchstart",fe),re()}},[re,fe]),T.useEffect(()=>{r&&re()},[r,re]);const ke=me=>ge=>{var He;if((He=me.onMouseDown)==null||He.call(me,ge),r||ge.defaultPrevented||ge.button!==0)return;ge.preventDefault();const Ie=oa(ge,C);if(Ie!==!1){const{newValue:Re,activeIndex:Ce}=q({finger:Ie});ra({sliderRef:V,activeIndex:Ce,setActive:j}),O(Re),_&&!sa(Re,v)&&_(ge,Re,Ce)}U.current=0;const De=Nt(V.current);De.addEventListener("mousemove",oe,{passive:!0}),De.addEventListener("mouseup",z)},je=$a(Y?F[0]:p,p,u),be=$a(F[F.length-1],p,u)-je,Ee=(me={})=>{const ge=Do(me),Ie={onMouseDown:ke(ge||{})},De={...ge,...Ie};return{...me,ref:pe,...De}},ze=me=>ge=>{var De;(De=me.onMouseOver)==null||De.call(me,ge);const Ie=Number(ge.currentTarget.getAttribute("data-index"));M(Ie)},Ze=me=>ge=>{var Ie;(Ie=me.onMouseLeave)==null||Ie.call(me,ge),M(-1)},We=(me={})=>{const ge=Do(me),Ie={onMouseOver:ze(ge||{}),onMouseLeave:Ze(ge||{})};return{...me,...ge,...Ie}},Te=me=>({pointerEvents:S!==-1&&S!==me?"none":void 0});let xt;return y==="vertical"&&(xt=i?"vertical-rl":"vertical-lr"),{active:S,axis:G,axisProps:r3,dragging:L,focusedThumbIndex:ee,getHiddenInputProps:(me={})=>{const ge=Do(me),Ie={onChange:$(ge||{}),onFocus:ue(ge||{}),onBlur:he(ge||{}),onKeyDown:N(ge||{})},De={...ge,...Ie};return{tabIndex:E,"aria-labelledby":t,"aria-orientation":y,"aria-valuemax":x(u),"aria-valuemin":x(p),name:f,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":e.step??void 0,disabled:r,...me,...De,style:{...ZI,direction:i?"rtl":"ltr",width:"100%",height:"100%",writingMode:xt}}},getRootProps:Ee,getThumbProps:We,marks:X,open:R,range:Y,rootRef:pe,trackLeap:be,trackOffset:je,values:F,getThumbStyle:Te}}const i3=e=>!e||!mo(e);function l3(e){return _e("MuiSlider",e)}const kn=Ne("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"]),c3=e=>{const{open:t}=e;return{offset:ye(t&&kn.valueLabelOpen),circle:kn.valueLabelCircle,label:kn.valueLabelLabel}};function Wh(e){const{children:t,className:n,value:r}=e,a=c3(e);return t?T.cloneElement(t,{className:t.props.className},l.jsxs(T.Fragment,{children:[t.props.children,l.jsx("span",{className:ye(a.offset,n),"aria-hidden":!0,children:l.jsx("span",{className:a.circle,children:l.jsx("span",{className:a.label,children:r})})})]})):null}process.env.NODE_ENV!=="production"&&(Wh.propTypes={children:o.element.isRequired,className:o.string,value:o.node});function u1(e){return e}const u3=ce("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${se(n.color)}`],n.size!=="medium"&&t[`size${se(n.size)}`],n.marked&&t.marked,n.orientation==="vertical"&&t.vertical,n.track==="inverted"&&t.trackInverted,n.track===!1&&t.trackFalse]}})(Pe(({theme:e})=>({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${kn.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${kn.dragging}`]:{[`& .${kn.thumb}, & .${kn.track}`]:{transition:"none"}},variants:[...Object.entries(e.palette).filter(Et()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].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}}]}))),p3=ce("span",{name:"MuiSlider",slot:"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}}]}),d3=ce("span",{name:"MuiSlider",slot:"Track"})(Pe(({theme:e})=>({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.entries(e.palette).filter(Et()).map(([t])=>({props:{color:t,track:"inverted"},style:{...e.vars?{backgroundColor:e.vars.palette.Slider[`${t}Track`],borderColor:e.vars.palette.Slider[`${t}Track`]}:{backgroundColor:e.lighten(e.palette[t].main,.62),borderColor:e.lighten(e.palette[t].main,.62),...e.applyStyles("dark",{backgroundColor:e.darken(e.palette[t].main,.5)}),...e.applyStyles("dark",{borderColor:e.darken(e.palette[t].main,.5)})}}}))]}))),f3=ce("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${se(n.color)}`],n.size!=="medium"&&t[`thumbSize${se(n.size)}`]]}})(Pe(({theme:e})=>({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%)"},[`&.${kn.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.entries(e.palette).filter(Et()).map(([t])=>({props:{color:t},style:{[`&:hover, &.${kn.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.alpha((e.vars||e).palette[t].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${kn.active}`]:{boxShadow:`0px 0px 0px 14px ${e.alpha((e.vars||e).palette[t].main,.16)}`}}}))]}))),Hh=ce(Wh,{name:"MuiSlider",slot:"ValueLabel"})(Pe(({theme:e})=>({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%"},[`&.${kn.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%"},[`&.${kn.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"}}]})));process.env.NODE_ENV!=="production"&&(Hh.propTypes={children:o.element.isRequired,index:o.number.isRequired,open:o.bool.isRequired,value:o.node});const h3=ce("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>ti(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})(Pe(({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}}]}))),m3=ce("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>ti(e)&&e!=="markLabelActive"})(Pe(({theme:e})=>({...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}}]}))),g3=e=>{const{disabled:t,dragging:n,marked:r,orientation:a,track:i,classes:c,color:u,size:p}=e,f={root:["root",t&&"disabled",n&&"dragging",r&&"marked",a==="vertical"&&"vertical",i==="inverted"&&"trackInverted",i===!1&&"trackFalse",u&&`color${se(u)}`,p&&`size${se(p)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",p&&`thumbSize${se(p)}`,u&&`thumbColor${se(u)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Me(f,l3,c)},b3=({children:e})=>e,Zc=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiSlider"}),a=er(),{"aria-label":i,"aria-valuetext":c,"aria-labelledby":u,component:p="span",components:f={},componentsProps:h={},color:g="primary",classes:y,className:m,disableSwap:x=!1,disabled:b=!1,getAriaLabel:k,getAriaValueText:E,marks:w=!1,max:C=100,min:S=0,name:j,onChange:R,onChangeCommitted:M,orientation:L="horizontal",shiftStep:H=10,size:U="medium",step:K=1,scale:v=u1,slotProps:O,slots:_,tabIndex:Y,track:F="normal",value:X,valueLabelDisplay:te="off",valueLabelFormat:ee=u1,...W}=r,V={...r,isRtl:a,max:C,min:S,classes:y,disabled:b,disableSwap:x,orientation:L,marks:w,color:g,size:U,step:K,shiftStep:H,scale:v,track:F,valueLabelDisplay:te,valueLabelFormat:ee},{axisProps:pe,getRootProps:ue,getHiddenInputProps:he,getThumbProps:A,open:N,active:$,axis:B,focusedThumbIndex:G,range:q,dragging:oe,marks:z,values:fe,trackOffset:re,trackLeap:ke,getThumbStyle:je}=a3({...V,rootRef:n});V.marked=z.length>0&&z.some(st=>st.label),V.dragging=oe,V.focusedThumbIndex=G;const be=g3(V),Ee=(_==null?void 0:_.root)??f.Root??u3,ze=(_==null?void 0:_.rail)??f.Rail??p3,Ze=(_==null?void 0:_.track)??f.Track??d3,We=(_==null?void 0:_.thumb)??f.Thumb??f3,Te=(_==null?void 0:_.valueLabel)??f.ValueLabel??Hh,xt=(_==null?void 0:_.mark)??f.Mark??h3,it=(_==null?void 0:_.markLabel)??f.MarkLabel??m3,me=(_==null?void 0:_.input)??f.Input??"input",ge=(O==null?void 0:O.root)??h.root,Ie=(O==null?void 0:O.rail)??h.rail,De=(O==null?void 0:O.track)??h.track,He=(O==null?void 0:O.thumb)??h.thumb,Re=(O==null?void 0:O.valueLabel)??h.valueLabel,Ce=(O==null?void 0:O.mark)??h.mark,Qe=(O==null?void 0:O.markLabel)??h.markLabel,Ke=(O==null?void 0:O.input)??h.input,nt=an({elementType:Ee,getSlotProps:ue,externalSlotProps:ge,externalForwardedProps:W,additionalProps:{...i3(Ee)&&{as:p}},ownerState:{...V,...ge==null?void 0:ge.ownerState},className:[be.root,m]}),At=an({elementType:ze,externalSlotProps:Ie,ownerState:V,className:be.rail}),Zt=an({elementType:Ze,externalSlotProps:De,additionalProps:{style:{...pe[B].offset(re),...pe[B].leap(ke)}},ownerState:{...V,...De==null?void 0:De.ownerState},className:be.track}),Qt=an({elementType:We,getSlotProps:A,externalSlotProps:He,ownerState:{...V,...He==null?void 0:He.ownerState},className:be.thumb}),en=an({elementType:Te,externalSlotProps:Re,ownerState:{...V,...Re==null?void 0:Re.ownerState},className:be.valueLabel}),Yt=an({elementType:xt,externalSlotProps:Ce,ownerState:V,className:be.mark}),rn=an({elementType:it,externalSlotProps:Qe,ownerState:V,className:be.markLabel}),bn=an({elementType:me,getSlotProps:he,externalSlotProps:Ke,ownerState:V});return l.jsxs(Ee,{...nt,children:[l.jsx(ze,{...At}),l.jsx(Ze,{...Zt}),z.filter(st=>st.value>=S&&st.value<=C).map((st,mt)=>{const we=$a(st.value,S,C),Ue=pe[B].offset(we);let ot;return F===!1?ot=fe.includes(st.value):ot=F==="normal"&&(q?st.value>=fe[0]&&st.value<=fe[fe.length-1]:st.value<=fe[0])||F==="inverted"&&(q?st.value<=fe[0]||st.value>=fe[fe.length-1]:st.value>=fe[0]),l.jsxs(T.Fragment,{children:[l.jsx(xt,{"data-index":mt,...Yt,...!mo(xt)&&{markActive:ot},style:{...Ue,...Yt.style},className:ye(Yt.className,ot&&be.markActive)}),st.label!=null?l.jsx(it,{"aria-hidden":!0,"data-index":mt,...rn,...!mo(it)&&{markLabelActive:ot},style:{...Ue,...rn.style},className:ye(be.markLabel,rn.className,ot&&be.markLabelActive),children:st.label}):null]},mt)}),fe.map((st,mt)=>{const we=$a(st,S,C),Ue=pe[B].offset(we),ot=te==="off"?b3:Te;return l.jsx(ot,{...!mo(ot)&&{valueLabelFormat:ee,valueLabelDisplay:te,value:typeof ee=="function"?ee(v(st),mt):ee,index:mt,open:N===mt||$===mt||te==="on",disabled:b},...en,children:l.jsx(We,{"data-index":mt,...Qt,className:ye(be.thumb,Qt.className,$===mt&&be.active,G===mt&&be.focusVisible),style:{...Ue,...je(mt),...Qt.style},children:l.jsx(me,{"data-index":mt,"aria-label":k?k(mt):i,"aria-valuenow":v(st),"aria-labelledby":u,"aria-valuetext":E?E(v(st),mt):c,value:fe[mt],...bn})})},mt)})]})});process.env.NODE_ENV!=="production"&&(Zc.propTypes={"aria-label":Cn(o.string,e=>Array.isArray(e.value||e.defaultValue)&&e["aria-label"]!=null?new Error("MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider."):null),"aria-labelledby":o.string,"aria-valuetext":Cn(o.string,e=>Array.isArray(e.value||e.defaultValue)&&e["aria-valuetext"]!=null?new Error("MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider."):null),children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["primary","secondary","error","info","success","warning"]),o.string]),components:o.shape({Input:o.elementType,Mark:o.elementType,MarkLabel:o.elementType,Rail:o.elementType,Root:o.elementType,Thumb:o.elementType,Track:o.elementType,ValueLabel:o.elementType}),componentsProps:o.shape({input:o.oneOfType([o.func,o.object]),mark:o.oneOfType([o.func,o.object]),markLabel:o.oneOfType([o.func,o.object]),rail:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object]),thumb:o.oneOfType([o.func,o.object]),track:o.oneOfType([o.func,o.object]),valueLabel:o.oneOfType([o.func,o.shape({children:o.element,className:o.string,open:o.bool,style:o.object,value:o.node,valueLabelDisplay:o.oneOf(["auto","off","on"])})])}),defaultValue:o.oneOfType([o.arrayOf(o.number),o.number]),disabled:o.bool,disableSwap:o.bool,getAriaLabel:o.func,getAriaValueText:o.func,marks:o.oneOfType([o.arrayOf(o.shape({label:o.node,value:o.number.isRequired})),o.bool]),max:o.number,min:o.number,name:o.string,onChange:o.func,onChangeCommitted:o.func,orientation:o.oneOf(["horizontal","vertical"]),scale:o.func,shiftStep:o.number,size:o.oneOfType([o.oneOf(["small","medium"]),o.string]),slotProps:o.shape({input:o.oneOfType([o.func,o.object]),mark:o.oneOfType([o.func,o.object]),markLabel:o.oneOfType([o.func,o.object]),rail:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object]),thumb:o.oneOfType([o.func,o.object]),track:o.oneOfType([o.func,o.object]),valueLabel:o.oneOfType([o.func,o.shape({children:o.element,className:o.string,open:o.bool,style:o.object,value:o.node,valueLabelDisplay:o.oneOf(["auto","off","on"])})])}),slots:o.shape({input:o.elementType,mark:o.elementType,markLabel:o.elementType,rail:o.elementType,root:o.elementType,thumb:o.elementType,track:o.elementType,valueLabel:o.elementType}),step:o.number,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),tabIndex:o.number,track:o.oneOf(["inverted","normal",!1]),value:o.oneOfType([o.arrayOf(o.number),o.number]),valueLabelDisplay:o.oneOf(["auto","off","on"]),valueLabelFormat:o.oneOfType([o.func,o.string])});function y3(e){return _e("MuiToggleButton",e)}const $o=Ne("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),Qc=T.createContext({});process.env.NODE_ENV!=="production"&&(Qc.displayName="ToggleButtonGroupContext");const eu=T.createContext(void 0);process.env.NODE_ENV!=="production"&&(eu.displayName="ToggleButtonGroupButtonContext");function x3(e,t){return t===void 0||e===void 0?!1:Array.isArray(t)?t.includes(e):e===t}const v3=e=>{const{classes:t,fullWidth:n,selected:r,disabled:a,size:i,color:c}=e,u={root:["root",r&&"selected",a&&"disabled",n&&"fullWidth",`size${se(i)}`,c]};return Me(u,y3,t)},k3=ce(wn,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`size${se(n.size)}`]]}})(Pe(({theme:e})=>({...e.typography.button,borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active,[`&.${$o.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${$o.selected}`]:{color:(e.vars||e).palette.text.primary,backgroundColor:e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.selectedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.text.primary,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.selectedOpacity)}}}}},...Object.entries(e.palette).filter(Et()).map(([t])=>({props:{color:t},style:{[`&.${$o.selected}`]:{color:(e.vars||e).palette[t].main,backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.selectedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.selectedOpacity)}}}}})),{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{padding:7,fontSize:e.typography.pxToRem(13)}},{props:{size:"large"},style:{padding:15,fontSize:e.typography.pxToRem(15)}}]}))),Uh=T.forwardRef(function(t,n){const{value:r,...a}=T.useContext(Qc),i=T.useContext(eu),c=xr({...a,selected:x3(t.value,r)},t),u=Le({props:c,name:"MuiToggleButton"}),{children:p,className:f,color:h="standard",disabled:g=!1,disableFocusRipple:y=!1,fullWidth:m=!1,onChange:x,onClick:b,selected:k,size:E="medium",value:w,...C}=u,S={...u,color:h,disabled:g,disableFocusRipple:y,fullWidth:m,size:E},j=v3(S),R=L=>{b&&(b(L,w),L.defaultPrevented)||x&&x(L,w)},M=i||"";return l.jsx(k3,{className:ye(a.className,j.root,f,M),disabled:g,focusRipple:!y,ref:n,onClick:R,onChange:x,value:w,ownerState:S,"aria-pressed":k,...C,children:p})});process.env.NODE_ENV!=="production"&&(Uh.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["standard","primary","secondary","error","info","success","warning"]),o.string]),disabled:o.bool,disableFocusRipple:o.bool,disableRipple:o.bool,fullWidth:o.bool,onChange:o.func,onClick:o.func,selected:o.bool,size:o.oneOfType([o.oneOf(["small","medium","large"]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),value:o.any.isRequired});function S3(e){return T.Children.toArray(e).filter(t=>T.isValidElement(t))}function T3(e){return _e("MuiToggleButtonGroup",e)}const It=Ne("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),C3=e=>{const{classes:t,orientation:n,fullWidth:r,disabled:a}=e,i={root:["root",n,r&&"fullWidth"],grouped:["grouped",`grouped${se(n)}`,a&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return Me(i,T3,t)},w3=ce("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${It.grouped}`]:t.grouped},{[`& .${It.grouped}`]:t[`grouped${se(n.orientation)}`]},{[`& .${It.firstButton}`]:t.firstButton},{[`& .${It.lastButton}`]:t.lastButton},{[`& .${It.middleButton}`]:t.middleButton},t.root,n.orientation==="vertical"&&t.vertical,n.fullWidth&&t.fullWidth]}})(Pe(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${It.grouped}`]:{[`&.${It.selected} + .${It.grouped}.${It.selected}`]:{borderTop:0,marginTop:0}},[`& .${It.firstButton},& .${It.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${It.lastButton},& .${It.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${It.lastButton}.${$o.disabled},& .${It.middleButton}.${$o.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${It.grouped}`]:{[`&.${It.selected} + .${It.grouped}.${It.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${It.firstButton},& .${It.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${It.lastButton},& .${It.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${It.lastButton}.${$o.disabled},& .${It.middleButton}.${$o.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),qh=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiToggleButtonGroup"}),{children:a,className:i,color:c="standard",disabled:u=!1,exclusive:p=!1,fullWidth:f=!1,onChange:h,orientation:g="horizontal",size:y="medium",value:m,...x}=r,b={...r,disabled:u,fullWidth:f,orientation:g,size:y},k=C3(b),E=T.useCallback((M,L)=>{if(!h)return;const H=m&&m.indexOf(L);let U;m&&H>=0?(U=m.slice(),U.splice(H,1)):U=m?m.concat(L):[L],h(M,U)},[h,m]),w=T.useCallback((M,L)=>{h&&h(M,m===L?null:L)},[h,m]),C=T.useMemo(()=>({className:k.grouped,onChange:p?w:E,value:m,size:y,fullWidth:f,color:c,disabled:u}),[k.grouped,p,w,E,m,y,f,c,u]),S=S3(a),j=S.length,R=M=>{const L=M===0,H=M===j-1;return L&&H?"":L?k.firstButton:H?k.lastButton:k.middleButton};return l.jsx(w3,{role:"group",className:ye(k.root,i),ref:n,ownerState:b,...x,children:l.jsx(Qc.Provider,{value:C,children:S.map((M,L)=>(process.env.NODE_ENV!=="production"&&to.isFragment(M)&&console.error(["MUI: The ToggleButtonGroup component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
599
+ `)),l.jsx(eu.Provider,{value:R(L),children:M},L)))})})});process.env.NODE_ENV!=="production"&&(qh.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["standard","primary","secondary","error","info","success","warning"]),o.string]),disabled:o.bool,exclusive:o.bool,fullWidth:o.bool,onChange:o.func,orientation:o.oneOf(["horizontal","vertical"]),size:o.oneOfType([o.oneOf(["small","medium","large"]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),value:o.any});const Gh=()=>{const[e,t]=xe.useState("Building on Principles"),[n,r]=xe.useState(36),[a,i]=xe.useState(ht.bold),[c,u]=xe.useState("Body 1"),[p,f]=xe.useState(!0),h=[{label:"Thin (100)",weight:ht.thin,name:"SpoqaHanSans Thin"},{label:"Light (300)",weight:ht.light,name:"SpoqaHanSans Light"},{label:"Regular (400)",weight:ht.regular,name:"SpoqaHanSans Regular"},{label:"Medium (500)",weight:ht.medium,name:"SpoqaHanSans Medium"},{label:"Bold (700)",weight:ht.bold,name:"SpoqaHanSans Bold"}],g=[{level:"Display 1",size:"56px (3.5rem)",pxSize:56,weight:"700 (Bold)",numericWeight:700,lineHeight:"1.15",numericLineHeight:1.15,letterSpacing:"-0.02em",sample:"Building on Principles",usageId:"Hero banner utama, headline landing page promosi besar",usageEn:"Primary hero banners, main landing page headlines",paragraphId:"Prinsip investasi jangka panjang Mirae Asset berlandaskan integritas, inovasi, dan dedikasi kepada setiap nasabah. Mengintegrasikan teknologi modern demi pertumbuhan finansial.",paragraphEn:"Mirae Asset’s long-term investment principles are grounded in integrity, innovation, and dedication to every client. Integrating cutting-edge digital technology for financial growth."},{level:"Heading 1",size:"36px (2.25rem)",pxSize:36,weight:"700 (Bold)",numericWeight:700,lineHeight:"1.25",numericLineHeight:1.25,letterSpacing:"-0.01em",sample:"PT Mirae Asset Sekuritas Indonesia",usageId:"Judul halaman utama portal, judul modul fitur utama",usageEn:"Main portal page titles, major feature module headers",paragraphId:"Sebagai pelopor inovasi pasar modal, Mirae Asset Sekuritas Indonesia menyediakan ekosistem terintegrasi untuk wealth management, perbankan investasi, dan transaksi saham daring yang andal.",paragraphEn:"As a capital market innovation pioneer, PT Mirae Asset Sekuritas Indonesia delivers an integrated ecosystem for wealth management, investment banking, and reliable online equity trading."},{level:"Heading 2",size:"30px (1.875rem)",pxSize:30,weight:"700 (Bold)",numericWeight:700,lineHeight:"1.3",numericLineHeight:1.3,letterSpacing:"-0.01em",sample:"Investment Banking & Wealth Management",usageId:"Judul seksi konten utama, ringkasan portofolio, sub-halaman dashboard",usageEn:"Major section headings, portfolio summaries, dashboard sub-pages",paragraphId:"Kami mengutamakan kepentingan nasabah dengan strategi alokasi aset yang matang dan analisis pasar komprehensif. Solusi keuangan dirancang khusus untuk memenuhi tujuan jangka panjang.",paragraphEn:"We put client interests first through disciplined asset allocation strategies and comprehensive market intelligence, tailored precisely to meet long-term financial milestones."},{level:"Heading 3",size:"24px (1.5rem)",pxSize:24,weight:"500 (Medium)",numericWeight:500,lineHeight:"1.35",numericLineHeight:1.35,letterSpacing:"-0.005em",sample:"Client First & Objectivity",usageId:"Judul kartu metrik finansial, judul dialog / modal popup",usageEn:"Financial metric card titles, modal / dialog headers",paragraphId:"Nilai objektivitas dan transparansi memandu setiap rekomendasi riset kami. Analis berdedikasi memantau dinamika makroekonomi global demi mengidentifikasi peluang investasi terbaik.",paragraphEn:"Objectivity and transparency guide all our research recommendations. Dedicated analysts actively track global macroeconomic trends to uncover premier investment opportunities."},{level:"Heading 4",size:"20px (1.25rem)",pxSize:20,weight:"500 (Medium)",numericWeight:500,lineHeight:"1.4",numericLineHeight:1.4,letterSpacing:"0em",sample:"Asset Allocation Strategy",usageId:"Judul tabel data, header widget grafik, sub-seksi formulir",usageEn:"Data table titles, chart widget headers, form sub-sections",paragraphId:"Distribusi portofolio yang terukur antara instrumen ekuitas, pendapatan tetap, dan reksa dana memperkuat ketahanan investasi terhadap volatilitas pasar jangka pendek.",paragraphEn:"Balanced portfolio allocation across equities, fixed income instruments, and mutual funds strengthens resilience against short-term market volatility."},{level:"Body 1",size:"16px (1rem)",pxSize:16,weight:"400 (Regular)",numericWeight:400,lineHeight:"1.6",numericLineHeight:1.6,letterSpacing:"0.005em",sample:"Mirae Asset believes in changing the future through investment.",usageId:"Teks bacaan panjang, artikel riset emiten, deskripsi informasi produk",usageEn:"Long-form reading body, equity research articles, product descriptions",paragraphId:"Mirae Asset Sekuritas Indonesia berkomitmen menyediakan solusi keuangan yang komprehensif dan terpercaya bagi seluruh investor. Penerapan nilai tinggi baris (line-height) 1.6 ini memberikan ruang baca vertikal yang lapang dan seimbang, sehingga mata pengguna tidak mudah lelah ketika membaca artikel panjang, riset emiten, maupun laporan prospektus berkala di berbagai ukuran layar perangkat.",paragraphEn:"Mirae Asset Sekuritas Indonesia is committed to providing comprehensive, trustworthy financial solutions for all investors. Applying a 1.6 line-height ratio creates generous vertical breathing room, preventing ocular fatigue during prolonged reading of financial analyses, market commentary, and periodic prospectus documents across diverse screen sizes."},{level:"Body 2",size:"14px (0.875rem)",pxSize:14,weight:"400 (Regular)",numericWeight:400,lineHeight:"1.57",numericLineHeight:1.57,letterSpacing:"0.005em",sample:"Terdaftar dan diawasi oleh Otoritas Jasa Keuangan (OJK).",usageId:"Label formulir input, baris data tabel, deskripsi ringkas, teks bantuan UI",usageEn:"Form input labels, table cell rows, compact descriptions, UI helper text",paragraphId:"PT Mirae Asset Sekuritas Indonesia berizin dan diawasi oleh Otoritas Jasa Keuangan (OJK) serta merupakan anggota Bursa Efek Indonesia (BEI). Kepatuhan terhadap regulasi dan tata kelola yang baik menjadi pondasi utama kami dalam menjaga integritas, keamanan transaksi, dan kerahasiaan data seluruh nasabah.",paragraphEn:"PT Mirae Asset Sekuritas Indonesia is licensed and supervised by the Financial Services Authority (OJK) and is a member of the Indonesia Stock Exchange (IDX). Strict regulatory compliance and corporate governance are fundamental to safeguarding transaction integrity and client confidentiality."},{level:"Caption",size:"12px (0.75rem)",pxSize:12,weight:"300 (Light)",numericWeight:300,lineHeight:"1.5",numericLineHeight:1.5,letterSpacing:"0.02em",sample:"※ Arial or Noto Sans is a suitable alternative.",usageId:"Catatan kaki, disclaimer regulasi OJK/BEI, metadata timestamp",usageEn:"Footnotes, legal & regulatory disclaimers (OJK/IDX), metadata timestamps",paragraphId:"Keterangan dan catatan kaki: Investasi melalui instrumen pasar modal mengandung risiko penurunan nilai pokok investasi. Kinerja historis masa lalu tidak serta-merta menjamin hasil investasi di masa mendatang. Calon investor diimbau membaca dan memahami prospektus penawaran umum secara saksama sebelum mengambil keputusan investasi.",paragraphEn:"Footnote and disclaimer: Capital market investments entail inherent market risks, including the potential fluctuation of principal value. Historical performance does not guarantee future results. Prospective investors are strongly advised to review the offering prospectus thoroughly prior to making any investment decision."},{level:"Overline",size:"11px (0.6875rem)",pxSize:11,weight:"500 (Medium)",numericWeight:500,lineHeight:"1.6",numericLineHeight:1.6,letterSpacing:"0.08em",textTransform:"uppercase",sample:"MIRAE ASSET SEKURITAS INDONESIA",usageId:"Label kategori huruf kapital, penanda status badge uppercase, stepper alur",usageEn:"Uppercase category labels, all-caps status tags, process stepper labels",paragraphId:"DIVISI RISET PASAR MODAL — STANDAR BAKU DOKUMENTASI SISTEM ELEKTRONIK DAN KONSOL ADMIN PORTAL TRANSAKSI KEUANGAN REPUBLIK INDONESIA.",paragraphEn:"CAPITAL MARKETS RESEARCH DIVISION — OFFICIAL ELECTRONIC SYSTEM DOCUMENTATION AND FINANCIAL TRANSACTION PORTAL GUIDELINES INDONESIA."}],y=g.find(m=>m.level===c)||g[5];return l.jsx(J,{sx:{py:6},id:"typography-section",children:l.jsxs(Io,{maxWidth:"lg",children:[l.jsxs(J,{sx:{mb:4},children:[l.jsx(ne,{variant:"h2",sx:{fontWeight:800,mb:1},children:"Spoqa Han Sans Neo"}),l.jsx(ne,{variant:"body1",sx:{color:"text.secondary",maxWidth:760},children:"Typeface utama Mirae Asset adalah Spoqa Han Sans Neo. Merupakan font kustom turunan keluarga Noto, dioptimalkan untuk keterbacaan tinggi di antarmuka digital online maupun cetak."})]}),l.jsxs(yt,{container:!0,spacing:3,sx:{mb:5},children:[l.jsx(yt,{size:{xs:12,md:8},children:l.jsxs(Xt,{sx:{p:3,borderRadius:3,border:"1px solid",borderColor:"divider",backgroundColor:m=>m.palette.mode==="dark"?"rgba(4, 59, 114, 0.15)":"#F0F7FF"},children:[l.jsx(ne,{variant:"subtitle2",sx:{fontWeight:700,color:m=>m.palette.mode==="dark"?"#38BDF8":de.blue.hex,mb:1},children:"Kebijakan Tipografi Panduan Brand"}),l.jsx(ne,{variant:"body2",sx:{color:"text.secondary",lineHeight:1.65},children:"Spoqa Han Sans, tipografi utama Mirae Asset, dapat digunakan oleh seluruh pengguna tanpa lisensi tambahan. Ketebalan font dapat digunakan sesuai dengan karakteristik media yang diterapkan."})]})}),l.jsx(yt,{size:{xs:12,md:4},children:l.jsxs(Xt,{sx:{p:3,borderRadius:3,border:"1px solid",borderColor:"divider",height:"100%"},children:[l.jsx(ne,{variant:"subtitle2",sx:{fontWeight:700,mb:1},children:"Alternatif Resmi"}),l.jsx(ne,{variant:"body2",sx:{color:"text.secondary",mb:1.5},children:"Jika Spoqa Han Sans Neo tidak tersedia:"}),l.jsxs(J,{sx:{display:"flex",gap:1},children:[l.jsx(Lt,{label:"Noto Sans",variant:"neutral"}),l.jsx(Lt,{label:"Arial",variant:"neutral"}),l.jsx(Lt,{label:"sans-serif",variant:"neutral"})]})]})})]}),l.jsxs(Xt,{sx:{p:3.5,mb:6,borderRadius:3,border:"1px solid",borderColor:"divider",boxShadow:"0 8px 24px rgba(4, 59, 114, 0.06)"},children:[l.jsx(ne,{variant:"h5",sx:{fontWeight:700,mb:3},children:"Uji Coba Teks Interaktif"}),l.jsxs(yt,{container:!0,spacing:3,alignItems:"center",sx:{mb:4},children:[l.jsx(yt,{size:{xs:12,md:6},children:l.jsx(lc,{fullWidth:!0,label:"Pratinjau Teks Sampel",value:e,onChange:m=>t(m.target.value),size:"small",variant:"outlined"})}),l.jsxs(yt,{size:{xs:12,md:6},children:[l.jsxs(ne,{variant:"caption",sx:{color:"text.secondary",fontWeight:600,mb:.5,display:"block"},children:["Ukuran Font: ",n,"px"]}),l.jsx(Zc,{value:n,min:14,max:64,onChange:(m,x)=>r(x),sx:{color:de.orange.hex}})]}),l.jsxs(yt,{size:{xs:12},children:[l.jsx(ne,{variant:"caption",sx:{color:"text.secondary",fontWeight:600,mb:1,display:"block"},children:"Pilihan Ketebalan Font"}),l.jsx(qh,{value:a,exclusive:!0,onChange:(m,x)=>x&&i(x),size:"small",sx:{flexWrap:"wrap"},children:h.map(m=>l.jsx(Uh,{value:m.weight,sx:{px:2,textTransform:"none"},children:m.label},m.weight))})]})]}),l.jsx(J,{sx:{p:4,borderRadius:2.5,backgroundColor:m=>m.palette.mode==="dark"?"#0B1320":"#F8FAFC",border:"1px solid",borderColor:"divider",minHeight:140,display:"flex",alignItems:"center",overflowX:"auto"},children:l.jsx(ne,{sx:{fontFamily:"'Spoqa Han Sans Neo', sans-serif",fontSize:`${n}px`,fontWeight:a,lineHeight:1.25,color:m=>a===ht.bold?de.orange.hex:m.palette.text.primary,transition:"all 0.15s ease"},children:e||ul})})]}),l.jsx(ne,{variant:"h5",sx:{fontWeight:700,mb:2},children:"Variasi Ketebalan Resmi"}),l.jsx(Xt,{sx:{p:3,mb:6,borderRadius:3,border:"1px solid",borderColor:"divider"},children:h.map((m,x)=>l.jsxs(J,{sx:{py:2,borderBottom:x<h.length-1?"1px solid":"none",borderColor:"divider",display:"flex",flexDirection:{xs:"column",sm:"row"},justifyContent:"space-between",alignItems:{xs:"flex-start",sm:"center"},gap:1},children:[l.jsxs(J,{sx:{width:220},children:[l.jsx(ne,{variant:"subtitle2",sx:{fontWeight:700},children:m.name}),l.jsxs(ne,{variant:"caption",sx:{color:"text.secondary"},children:["Weight: ",m.weight]})]}),l.jsx(ne,{sx:{fontFamily:"'Spoqa Han Sans Neo', sans-serif",fontWeight:m.weight,fontSize:{xs:"1.25rem",sm:"1.5rem"},color:b=>m.weight===700?b.palette.mode==="dark"?"#38BDF8":de.blue.hex:"text.primary"},children:e||ul})]},m.weight))}),l.jsxs(J,{sx:{mb:2},children:[l.jsx(ne,{variant:"h5",sx:{fontWeight:700,mb:1},children:"Skala Tipografi Sistem Desain"}),l.jsx(ne,{variant:"body2",sx:{color:"text.secondary"},children:"Pratinjau ritme spasi vertikal dan keterbacaan paragraf multi-baris untuk setiap skala tipografi."})]}),l.jsxs(Xt,{sx:{p:{xs:2.5,md:3.5},mb:4,borderRadius:3,border:"1px solid",borderColor:"divider",boxShadow:"0 8px 24px rgba(4, 59, 114, 0.05)"},children:[l.jsxs(yt,{container:!0,spacing:2.5,alignItems:"center",sx:{mb:3},children:[l.jsx(yt,{size:{xs:12,sm:6,md:5},children:l.jsxs(nc,{fullWidth:!0,size:"small",children:[l.jsx(tc,{id:"scale-select-label",children:"Pilih Skala Tipografi"}),l.jsx(Fr,{labelId:"scale-select-label",id:"scale-select",value:c,label:"Pilih Skala Tipografi",onChange:m=>u(m.target.value),sx:{fontWeight:600},children:g.map(m=>l.jsx(hi,{value:m.level,children:l.jsxs(J,{sx:{display:"flex",justifyContent:"space-between",width:"100%",alignItems:"center",gap:2},children:[l.jsx(ne,{sx:{fontWeight:600,fontSize:"0.875rem"},children:m.level}),l.jsxs(ne,{sx:{fontSize:"0.75rem",color:"text.secondary",fontFamily:"monospace"},children:[m.size," · LH ",m.lineHeight]})]})},m.level))})]})}),l.jsx(yt,{size:{xs:12,sm:6,md:7},children:l.jsxs(J,{sx:{display:"flex",flexWrap:"wrap",gap:1.5,alignItems:"center"},children:[l.jsxs(J,{sx:{px:1.5,py:.75,borderRadius:2,bgcolor:m=>m.palette.mode==="dark"?"rgba(245, 130, 32, 0.15)":"#FFF7ED",border:"1px solid",borderColor:m=>m.palette.mode==="dark"?"rgba(245, 130, 32, 0.3)":"#FED7AA"},children:[l.jsx(ne,{variant:"caption",sx:{color:"text.secondary",display:"block",fontSize:"0.7rem"},children:"Tinggi Baris"}),l.jsxs(ne,{variant:"subtitle2",sx:{fontWeight:800,color:de.orange.hex,fontFamily:"monospace"},children:[y.lineHeight," (",Math.round(y.pxSize*y.numericLineHeight),"px)"]})]}),l.jsxs(J,{sx:{px:1.5,py:.75,borderRadius:2,bgcolor:m=>m.palette.mode==="dark"?"rgba(4, 59, 114, 0.25)":"#EFF6FF",border:"1px solid",borderColor:m=>m.palette.mode==="dark"?"rgba(56, 189, 248, 0.3)":"#BFDBFE"},children:[l.jsx(ne,{variant:"caption",sx:{color:"text.secondary",display:"block",fontSize:"0.7rem"},children:"Ukuran"}),l.jsx(ne,{variant:"subtitle2",sx:{fontWeight:700,color:m=>m.palette.mode==="dark"?"#38BDF8":de.blue.hex,fontFamily:"monospace"},children:y.size})]}),l.jsxs(J,{sx:{px:1.5,py:.75,borderRadius:2,bgcolor:"action.hover",border:"1px solid",borderColor:"divider"},children:[l.jsx(ne,{variant:"caption",sx:{color:"text.secondary",display:"block",fontSize:"0.7rem"},children:"Ketebalan"}),l.jsx(ne,{variant:"subtitle2",sx:{fontWeight:600},children:y.weight})]})]})})]}),l.jsxs(J,{sx:{position:"relative",p:{xs:2.5,md:4},borderRadius:2.5,border:"1px solid",borderColor:m=>m.palette.mode==="dark"?"rgba(255,255,255,0.08)":"rgba(4, 59, 114, 0.12)",backgroundColor:m=>m.palette.mode==="dark"?"#0B1320":"#FAFBFD",overflow:"hidden",transition:"all 0.2s ease",...p&&{backgroundImage:m=>{const x=Math.round(y.pxSize*y.numericLineHeight),b=m.palette.mode==="dark"?"rgba(56, 189, 248, 0.08)":"rgba(245, 130, 32, 0.12)";return`repeating-linear-gradient(0deg, transparent, transparent ${x-1}px, ${b} ${x-1}px, ${b} ${x}px)`},backgroundSize:`100% ${Math.round(y.pxSize*y.numericLineHeight)}px`}},children:[l.jsxs(J,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:2,flexWrap:"wrap",gap:1},children:[l.jsxs(ne,{variant:"caption",sx:{fontWeight:700,letterSpacing:"0.05em",textTransform:"uppercase",color:de.orange.hex},children:["Spesimen Visual Tinggi Baris (Line Height) — ",y.level]}),l.jsxs(ne,{variant:"caption",sx:{color:"text.secondary",fontFamily:"monospace"},children:["font-size: ",y.pxSize,"px · line-height: ",y.lineHeight," (",Math.round(y.pxSize*y.numericLineHeight),"px)"]})]}),l.jsx(ne,{component:"p",sx:{fontFamily:"'Spoqa Han Sans Neo', sans-serif",fontSize:`${y.pxSize}px`,lineHeight:y.numericLineHeight,fontWeight:y.numericWeight,letterSpacing:y.letterSpacing,textTransform:y.textTransform||"none",color:"text.primary",wordBreak:"break-word",maxWidth:"100%",m:0},children:y.paragraphId})]})]}),l.jsx(bi,{component:Xt,sx:{borderRadius:1,border:"1px solid",borderColor:"divider"},children:l.jsxs(mi,{children:[l.jsx(yi,{sx:{backgroundColor:m=>m.palette.mode==="dark"?"#1E293B":"#F8FAFC"},children:l.jsxs(Qn,{children:[l.jsx(kt,{sx:{fontWeight:700},children:"Tingkat"}),l.jsx(kt,{sx:{fontWeight:700},children:"Ukuran"}),l.jsx(kt,{sx:{fontWeight:700},children:"Ketebalan"}),l.jsx(kt,{sx:{fontWeight:700},children:"Tinggi Baris"}),l.jsx(kt,{sx:{fontWeight:700},children:"Rekomendasi Penggunaan"})]})}),l.jsx(gi,{children:g.map(m=>l.jsxs(Qn,{hover:!0,children:[l.jsx(kt,{sx:{fontWeight:600},children:m.level}),l.jsx(kt,{sx:{fontFamily:"monospace",fontSize:"0.8125rem"},children:m.size}),l.jsx(kt,{children:m.weight}),l.jsx(kt,{sx:{fontFamily:"monospace"},children:m.lineHeight}),l.jsx(kt,{sx:{fontSize:"0.875rem",color:"text.secondary"},children:m.usageId})]},m.level))})]})})]})})};function I3(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:a,resumeHideDuration:i}=e,c=uo();T.useEffect(()=>{if(!a)return;function E(w){w.defaultPrevented||w.key==="Escape"&&(r==null||r(w,"escapeKeyDown"))}return document.addEventListener("keydown",E),()=>{document.removeEventListener("keydown",E)}},[a,r]);const u=qt((E,w)=>{r==null||r(E,w)}),p=qt(E=>{!r||E==null||c.start(E,()=>{u(null,"timeout")})});T.useEffect(()=>(a&&p(t),c.clear),[a,t,p,c]);const f=E=>{r==null||r(E,"clickaway")},h=c.clear,g=T.useCallback(()=>{t!=null&&p(i??t*.5)},[t,i,p]),y=E=>w=>{const C=E.onBlur;C==null||C(w),g()},m=E=>w=>{const C=E.onFocus;C==null||C(w),h()},x=E=>w=>{const C=E.onMouseEnter;C==null||C(w),h()},b=E=>w=>{const C=E.onMouseLeave;C==null||C(w),g()};return T.useEffect(()=>{if(!n&&a)return window.addEventListener("focus",g),window.addEventListener("blur",h),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",h)}},[n,a,g,h]),{getRootProps:(E={})=>{const w={...Do(e),...Do(E)};return{role:"presentation",...E,...w,onBlur:y(w),onFocus:m(w),onMouseEnter:x(w),onMouseLeave:b(w)}},onClickAway:f}}function p1(e){return e.substring(2).toLowerCase()}function E3(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function Da(e){const{children:t,disableReactTree:n=!1,mouseEvent:r="onClick",onClickAway:a,touchEvent:i="onTouchEnd"}=e,c=T.useRef(!1),u=T.useRef(null),p=T.useRef(!1),f=T.useRef(!1);T.useEffect(()=>(setTimeout(()=>{p.current=!0},0),()=>{p.current=!1}),[]);const h=Mt(To(t),u),g=qt(x=>{const b=f.current;f.current=!1;const k=Nt(u.current);if(!p.current||!u.current||"clientX"in x&&E3(x,k))return;if(c.current){c.current=!1;return}let E;x.composedPath?E=x.composedPath().includes(u.current):E=!Cr(k.documentElement,x.target)||Cr(u.current,x.target),!E&&(n||!b)&&a(x)}),y=x=>b=>{f.current=!0;const k=t.props[x];k&&k(b)},m={ref:h};return i!==!1&&(m[i]=y(i)),T.useEffect(()=>{if(i!==!1){const x=p1(i),b=Nt(u.current),k=()=>{c.current=!0};return b.addEventListener(x,g),b.addEventListener("touchmove",k),()=>{b.removeEventListener(x,g),b.removeEventListener("touchmove",k)}}},[g,i]),r!==!1&&(m[r]=y(r)),T.useEffect(()=>{if(r!==!1){const x=p1(r),b=Nt(u.current);return b.addEventListener(x,g),()=>{b.removeEventListener(x,g)}}},[g,r]),T.cloneElement(t,m)}process.env.NODE_ENV!=="production"&&(Da.propTypes={children:Co.isRequired,disableReactTree:o.bool,mouseEvent:o.oneOf(["onClick","onMouseDown","onMouseUp","onPointerDown","onPointerUp",!1]),onClickAway:o.func.isRequired,touchEvent:o.oneOf(["onTouchEnd","onTouchStart",!1])});process.env.NODE_ENV!=="production"&&(Da.propTypes=Yl(Da.propTypes));function j3(e){return _e("MuiSnackbarContent",e)}Ne("MuiSnackbarContent",["root","message","action"]);const R3=e=>{const{classes:t}=e;return Me({root:["root"],action:["action"],message:["message"]},j3,t)},O3=ce(Br,{name:"MuiSnackbarContent",slot:"Root"})(Pe(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98;return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(hl(e.palette.background.default,t)),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:hl(e.palette.background.default,t),display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),P3=ce("div",{name:"MuiSnackbarContent",slot:"Message"})({padding:"8px 0"}),A3=ce("div",{name:"MuiSnackbarContent",slot:"Action"})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),Kh=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiSnackbarContent"}),{action:a,className:i,message:c,role:u="alert",...p}=r,f=r,h=R3(f);return l.jsxs(O3,{role:u,elevation:6,className:ye(h.root,i),ownerState:f,ref:n,...p,children:[l.jsx(P3,{className:h.message,ownerState:f,children:c}),a?l.jsx(A3,{className:h.action,ownerState:f,children:a}):null]})});process.env.NODE_ENV!=="production"&&(Kh.propTypes={action:o.node,classes:o.object,className:o.string,message:o.node,role:o.string,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function _3(e){return _e("MuiSnackbar",e)}Ne("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const N3=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${se(n.vertical)}${se(n.horizontal)}`]};return Me(r,_3,t)},M3=ce("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${se(n.anchorOrigin.vertical)}${se(n.anchorOrigin.horizontal)}`]]}})(Pe(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:t})=>t.anchorOrigin.vertical==="top",style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:t})=>t.anchorOrigin.vertical!=="top",style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="center",style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),Yh=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiSnackbar"}),a=io(),i={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{action:c,anchorOrigin:{vertical:u,horizontal:p}={vertical:"bottom",horizontal:"left"},autoHideDuration:f=null,children:h,className:g,ClickAwayListenerProps:y,ContentProps:m,disableWindowBlurListener:x=!1,message:b,onBlur:k,onClose:E,onFocus:w,onMouseEnter:C,onMouseLeave:S,open:j,resumeHideDuration:R,slots:M={},slotProps:L={},TransitionComponent:H,transitionDuration:U=i,TransitionProps:{onEnter:K,onExited:v,...O}={},..._}=r,Y={...r,anchorOrigin:{vertical:u,horizontal:p},autoHideDuration:f,disableWindowBlurListener:x,TransitionComponent:H,transitionDuration:U},F=N3(Y),{getRootProps:X,onClickAway:te}=I3(Y),[ee,W]=T.useState(!0),V=fe=>{W(!0),v&&v(fe)},pe=(fe,re)=>{W(!1),K&&K(fe,re)},ue={slots:{transition:H,...M},slotProps:{content:m,clickAwayListener:y,transition:O,...L}},[he,A]=Fe("root",{ref:n,className:[F.root,g],elementType:M3,getSlotProps:X,externalForwardedProps:{...ue,..._},ownerState:Y}),[N,{ownerState:$,...B}]=Fe("clickAwayListener",{elementType:Da,externalForwardedProps:ue,getSlotProps:fe=>({onClickAway:(...re)=>{var je;const ke=re[0];(je=fe.onClickAway)==null||je.call(fe,...re),!(ke!=null&&ke.defaultMuiPrevented)&&te(...re)}}),ownerState:Y}),[G,q]=Fe("content",{elementType:Kh,shouldForwardComponentProp:!0,externalForwardedProps:ue,additionalProps:{message:b,action:c},ownerState:Y}),[oe,z]=Fe("transition",{elementType:Tr,externalForwardedProps:ue,getSlotProps:fe=>({onEnter:(...re)=>{var ke;(ke=fe.onEnter)==null||ke.call(fe,...re),pe(...re)},onExited:(...re)=>{var ke;(ke=fe.onExited)==null||ke.call(fe,...re),V(...re)}}),additionalProps:{appear:!0,in:j,timeout:U,direction:u==="top"?"down":"up"},ownerState:Y});return!j&&ee?null:l.jsx(N,{...B,...M.clickAwayListener&&{ownerState:$},children:l.jsx(he,{...A,children:l.jsx(oe,{...z,children:h||l.jsx(G,{...q})})})})});process.env.NODE_ENV!=="production"&&(Yh.propTypes={action:o.node,anchorOrigin:o.shape({horizontal:o.oneOf(["center","left","right"]).isRequired,vertical:o.oneOf(["bottom","top"]).isRequired}),autoHideDuration:o.number,children:o.element,classes:o.object,className:o.string,ClickAwayListenerProps:o.object,ContentProps:o.object,disableWindowBlurListener:o.bool,key:()=>null,message:o.node,onBlur:o.func,onClose:o.func,onFocus:o.func,onMouseEnter:o.func,onMouseLeave:o.func,open:o.bool,resumeHideDuration:o.number,slotProps:o.shape({clickAwayListener:o.oneOfType([o.func,o.object]),content:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object]),transition:o.oneOfType([o.func,o.object])}),slots:o.shape({clickAwayListener:o.elementType,content:o.elementType,root:o.elementType,transition:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),TransitionComponent:o.elementType,transitionDuration:o.oneOfType([o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})]),TransitionProps:o.object});function B3(e){return _e("MuiAlert",e)}const d1=Ne("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),F3=Q(l.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),L3=Q(l.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),$3=Q(l.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),D3=Q(l.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),z3=Q(l.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),V3=e=>{const{variant:t,color:n,severity:r,classes:a}=e,i={root:["root",`color${se(n||r)}`,`${t}${se(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Me(i,B3,a)},W3=ce(Br,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${se(n.color||n.severity)}`]]}})(Pe(({theme:e})=>{const t=e.palette.mode==="light"?e.darken:e.lighten,n=e.palette.mode==="light"?e.lighten:e.darken;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(Et(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${d1.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(Et(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${d1.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(Et(["dark"])).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)}}}))]}})),H3=ce("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),U3=ce("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),q3=ce("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),f1={success:l.jsx(F3,{fontSize:"inherit"}),warning:l.jsx(L3,{fontSize:"inherit"}),error:l.jsx($3,{fontSize:"inherit"}),info:l.jsx(D3,{fontSize:"inherit"})},Xh=T.forwardRef(function(t,n){const r=Le({props:t,name:"MuiAlert"}),{action:a,children:i,className:c,closeText:u="Close",color:p,components:f={},componentsProps:h={},icon:g,iconMapping:y=f1,onClose:m,role:x="alert",severity:b="success",slotProps:k={},slots:E={},variant:w="standard",...C}=r,S={...r,color:p,severity:b,variant:w,colorSeverity:p||b},j=V3(S),R={slots:{closeButton:f.CloseButton,closeIcon:f.CloseIcon,...E},slotProps:{...h,...k}},[M,L]=Fe("root",{ref:n,shouldForwardComponentProp:!0,className:ye(j.root,c),elementType:W3,externalForwardedProps:{...R,...C},ownerState:S,additionalProps:{role:x,elevation:0}}),[H,U]=Fe("icon",{className:j.icon,elementType:H3,externalForwardedProps:R,ownerState:S}),[K,v]=Fe("message",{className:j.message,elementType:U3,externalForwardedProps:R,ownerState:S}),[O,_]=Fe("action",{className:j.action,elementType:q3,externalForwardedProps:R,ownerState:S}),[Y,F]=Fe("closeButton",{elementType:Ct,externalForwardedProps:R,ownerState:S}),[X,te]=Fe("closeIcon",{elementType:z3,externalForwardedProps:R,ownerState:S});return l.jsxs(M,{...L,children:[g!==!1?l.jsx(H,{...U,children:g||y[b]||f1[b]}):null,l.jsx(K,{...v,children:i}),a!=null?l.jsx(O,{..._,children:a}):null,a==null&&m?l.jsx(O,{..._,children:l.jsx(Y,{size:"small","aria-label":u,title:u,color:"inherit",onClick:m,...F,children:l.jsx(X,{fontSize:"small",...te})})}):null]})});process.env.NODE_ENV!=="production"&&(Xh.propTypes={action:o.node,children:o.node,classes:o.object,className:o.string,closeText:o.string,color:o.oneOfType([o.oneOf(["error","info","success","warning"]),o.string]),components:o.shape({CloseButton:o.elementType,CloseIcon:o.elementType}),componentsProps:o.shape({closeButton:o.object,closeIcon:o.object}),icon:o.node,iconMapping:o.shape({error:o.node,info:o.node,success:o.node,warning:o.node}),onClose:o.func,role:o.string,severity:o.oneOfType([o.oneOf(["error","info","success","warning"]),o.string]),slotProps:o.shape({action:o.oneOfType([o.func,o.object]),closeButton:o.oneOfType([o.func,o.object]),closeIcon:o.oneOfType([o.func,o.object]),icon:o.oneOfType([o.func,o.object]),message:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({action:o.elementType,closeButton:o.elementType,closeIcon:o.elementType,icon:o.elementType,message:o.elementType,root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["filled","outlined","standard"]),o.string])});const G3=Q(l.jsx("path",{d:"M4 10h3v7H4zm6.5 0h3v7h-3zM2 19h20v3H2zm15-9h3v7h-3zm-5-9L2 6v2h20V6z"}),"AccountBalance"),K3=Q(l.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m.88 15.76V19h-1.75v-1.29c-.74-.18-2.39-.77-3.02-2.96l1.65-.67c.06.22.58 2.09 2.4 2.09.93 0 1.98-.48 1.98-1.61 0-.96-.7-1.46-2.28-2.03-1.1-.39-3.35-1.03-3.35-3.31 0-.1.01-2.4 2.62-2.96V5h1.75v1.24c1.84.32 2.51 1.79 2.66 2.23l-1.58.67c-.11-.35-.59-1.34-1.9-1.34-.7 0-1.81.37-1.81 1.39 0 .95.86 1.31 2.64 1.9 2.4.83 3.01 2.05 3.01 3.45 0 2.63-2.5 3.13-3.02 3.22"}),"Paid"),Y3=Q(l.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1.41 16.09V20h-2.67v-1.93c-1.71-.36-3.16-1.46-3.27-3.4h1.96c.1 1.05.82 1.87 2.65 1.87 1.96 0 2.4-.98 2.4-1.59 0-.83-.44-1.61-2.67-2.14-2.48-.6-4.18-1.62-4.18-3.67 0-1.72 1.39-2.84 3.11-3.21V4h2.67v1.95c1.86.45 2.79 1.86 2.85 3.39H14.3c-.05-1.11-.64-1.87-2.22-1.87-1.5 0-2.4.68-2.4 1.64 0 .84.65 1.39 2.67 1.91s4.18 1.39 4.18 3.91c-.01 1.83-1.38 2.83-3.12 3.16"}),"MonetizationOn"),X3=Q(l.jsx("path",{d:"m19.83 7.5-2.27-2.27c.07-.42.18-.81.32-1.15.08-.18.12-.37.12-.58 0-.83-.67-1.5-1.5-1.5-1.64 0-3.09.79-4 2h-5C4.46 4 2 6.46 2 9.5S4.5 21 4.5 21H10v-2h2v2h5.5l1.68-5.59 2.82-.94V7.5zM13 9H8V7h5zm3 2c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1"}),"Savings"),J3=Q(l.jsx("path",{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2m0 14H4v-6h16zm0-10H4V6h16z"}),"CreditCard"),Z3=Q([l.jsx("path",{d:"M19.5 3.5 18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2v14H3v3c0 1.66 1.34 3 3 3h12c1.66 0 3-1.34 3-3V2zM19 19c0 .55-.45 1-1 1s-1-.45-1-1v-3H8V5h11z"},"0"),l.jsx("path",{d:"M9 7h6v2H9zm7 0h2v2h-2zm-7 3h6v2H9zm7 0h2v2h-2z"},"1")],"ReceiptLong"),Q3=Q(l.jsx("path",{d:"M12.89 11.1c-1.78-.59-2.64-.96-2.64-1.9 0-1.02 1.11-1.39 1.81-1.39 1.31 0 1.79.99 1.9 1.34l1.58-.67c-.15-.45-.82-1.92-2.54-2.24V5h-2v1.26c-2.48.56-2.49 2.86-2.49 2.96 0 2.27 2.25 2.91 3.35 3.31 1.58.56 2.28 1.07 2.28 2.03 0 1.13-1.05 1.61-1.98 1.61-1.82 0-2.34-1.87-2.4-2.09l-1.66.67c.63 2.19 2.28 2.78 2.9 2.96V19h2v-1.24c.4-.09 2.9-.59 2.9-3.22 0-1.39-.61-2.61-3.01-3.44M3 21H1v-6h6v2H4.52c1.61 2.41 4.36 4 7.48 4 4.97 0 9-4.03 9-9h2c0 6.08-4.92 11-11 11-3.72 0-7.01-1.85-9-4.67zm-2-9C1 5.92 5.92 1 12 1c3.72 0 7.01 1.85 9 4.67V3h2v6h-6V7h2.48C17.87 4.59 15.12 3 12 3c-4.97 0-9 4.03-9 9z"}),"CurrencyExchange"),eE=Q(l.jsx("path",{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2m-8 6H8v1h3c.55 0 1 .45 1 1v3c0 .55-.45 1-1 1h-1v1H8v-1H6v-2h4v-1H7c-.55 0-1-.45-1-1V9c0-.55.45-1 1-1h1V7h2v1h2zm4 6.25-2-2h4zM14 10l2-2 2 2z"}),"PriceChange"),tE=Q(l.jsx("path",{d:"M7.5 11C9.43 11 11 9.43 11 7.5S9.43 4 7.5 4 4 5.57 4 7.5 5.57 11 7.5 11m0-5C8.33 6 9 6.67 9 7.5S8.33 9 7.5 9 6 8.33 6 7.5 6.67 6 7.5 6M4.0025 18.5832 18.59 3.9955l1.4142 1.4143L5.4167 19.9974zM16.5 13c-1.93 0-3.5 1.57-3.5 3.5s1.57 3.5 3.5 3.5 3.5-1.57 3.5-3.5-1.57-3.5-3.5-3.5m0 5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5"}),"Percent"),nE=Q(l.jsx("path",{d:"M23 8c0 1.1-.9 2-2 2-.18 0-.35-.02-.51-.07l-3.56 3.55c.05.16.07.34.07.52 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.36.07-.52l-2.55-2.55c-.16.05-.34.07-.52.07s-.36-.02-.52-.07l-4.55 4.56c.05.16.07.33.07.51 0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.18 0 .35.02.51.07l4.56-4.55C8.02 9.36 8 9.18 8 9c0-1.1.9-2 2-2s2 .9 2 2c0 .18-.02.36-.07.52l2.55 2.55c.16-.05.34-.07.52-.07s.36.02.52.07l3.55-3.56C19.02 8.35 19 8.18 19 8c0-1.1.9-2 2-2s2 .9 2 2"}),"Timeline"),oE=Q(l.jsx("path",{d:"M11 2v20c-5.07-.5-9-4.79-9-10s3.93-9.5 9-10m2.03 0v8.99H22c-.47-4.74-4.24-8.52-8.97-8.99m0 11.01V22c4.74-.47 8.5-4.25 8.97-8.99z"}),"PieChart"),rE=Q(l.jsx("path",{d:"M4 9h4v11H4zm12 4h4v7h-4zm-6-9h4v16h-4z"}),"BarChart"),sE=Q(l.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M9 17H7v-5h2zm4 0h-2v-3h2zm0-5h-2v-2h2zm4 5h-2V7h2z"}),"Analytics"),aE=Q(l.jsx("path",{d:"M17 2H7c-1.1 0-2 .9-2 2v2c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 4H7V4h10zm3 16H4c-1.1 0-2-.9-2-2v-1h20v1c0 1.1-.9 2-2 2m-1.47-11.81C18.21 9.47 17.49 9 16.7 9H7.3c-.79 0-1.51.47-1.83 1.19L2 18h20zM9.5 16h-1c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h1c.28 0 .5.22.5.5s-.22.5-.5.5m0-2h-1c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h1c.28 0 .5.22.5.5s-.22.5-.5.5m0-2h-1c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h1c.28 0 .5.22.5.5s-.22.5-.5.5m3 4h-1c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h1c.28 0 .5.22.5.5s-.22.5-.5.5m0-2h-1c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h1c.28 0 .5.22.5.5s-.22.5-.5.5m0-2h-1c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h1c.28 0 .5.22.5.5s-.22.5-.5.5m3 4h-1c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h1c.28 0 .5.22.5.5s-.22.5-.5.5m0-2h-1c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h1c.28 0 .5.22.5.5s-.22.5-.5.5m0-2h-1c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h1c.28 0 .5.22.5.5s-.22.5-.5.5"}),"PointOfSale"),iE=Q(l.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5.97 4.06L14.09 6l1.41 1.41L16.91 6l1.06 1.06-1.41 1.41 1.41 1.41-1.06 1.06-1.41-1.4-1.41 1.41-1.06-1.06 1.41-1.41zm-6.78.66h5v1.5h-5zM11.5 16h-2v2H8v-2H6v-1.5h2v-2h1.5v2h2zm6.5 1.25h-5v-1.5h5zm0-2.5h-5v-1.5h5z"}),"Calculate"),lE=Q(l.jsx("path",{d:"M9 4H7v2H5v12h2v2h2v-2h2V6H9zm10 4h-2V4h-2v4h-2v7h2v5h2v-5h2z"}),"CandlestickChart"),cE=Q(l.jsx("path",{d:"M19 13H5v-2h14z"}),"Remove"),uE=Q(l.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit"),pE=Q(l.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete"),dE=Q(l.jsx("path",{d:"M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"}),"FilterList"),fE=Q(l.jsx("path",{d:"M3 18h6v-2H3zM3 6v2h18V6zm0 7h12v-2H3z"}),"Sort"),hE=Q(l.jsx("path",{d:"M5 20h14v-2H5zm0-10h4v6h6v-6h4l-7-7z"}),"Upload"),mE=Q(l.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.92s2.92-1.31 2.92-2.92-1.31-2.92-2.92-2.92"}),"Share"),gE=Q(l.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh"),bE=Q(l.jsx("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"}),"Save"),yE=Q(l.jsx("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1z"}),"Lock"),xE=Q(l.jsx("path",{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m0 12H6V10h12z"}),"LockOpen"),vE=Q(l.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings"),kE=Q(l.jsx("path",{d:"M3 17v2h6v-2zM3 5v2h10V5zm10 16v-2h8v-2h-8v-2h-2v6zM7 9v2H3v2h4v2h2V9zm14 4v-2H11v2zm-6-4h2V7h4V5h-4V3h-2z"}),"Tune"),SE=Q(l.jsx("path",{d:"M13 3h-2v10h2zm4.83 2.17-1.42 1.42C17.99 7.86 19 9.81 19 12c0 3.87-3.13 7-7 7s-7-3.13-7-7c0-2.19 1.01-4.14 2.58-5.42L6.17 5.17C4.23 6.82 3 9.26 3 12c0 4.97 4.03 9 9 9s9-4.03 9-9c0-2.74-1.23-5.18-3.17-6.83"}),"PowerSettingsNew"),TE=Q(l.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack"),CE=Q(l.jsx("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward"),wE=Q(l.jsx("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward"),IE=Q(l.jsx("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight"),EE=Q(l.jsx("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft"),jE=Q(l.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),RE=Q(l.jsx("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess"),OE=Q(l.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreVert"),PE=Q(l.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz"),AE=Q(l.jsx("path",{d:"M4 8h4V4H4zm6 12h4v-4h-4zm-6 0h4v-4H4zm0-6h4v-4H4zm6 0h4v-4h-4zm6-10v4h4V4zm-6 4h4V4h-4zm6 6h4v-4h-4zm0 6h4v-4h-4z"}),"Apps"),_E=Q(l.jsx("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"}),"Home"),NE=Q(l.jsx("path",{d:"M3 13h8V3H3zm0 8h8v-6H3zm10 0h8V11h-8zm0-18v6h8V3z"}),"Dashboard"),ME=Q(l.jsx("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"}),"Folder"),BE=Q(l.jsx("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}),"Launch"),FE=Q(l.jsx("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}),"OpenInNew"),LE=Q(l.jsx("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning"),$E=Q(l.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error"),DE=Q(l.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info"),zE=Q(l.jsx("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutline"),VE=Q(l.jsx("path",{d:"m23 12-2.44-2.79.34-3.69-3.61-.82-1.89-3.2L12 2.96 8.6 1.5 6.71 4.69 3.1 5.5l.34 3.7L1 12l2.44 2.79-.34 3.7 3.61.82L8.6 22.5l3.4-1.47 3.4 1.46 1.89-3.19 3.61-.82-.34-3.69zm-12.91 4.72-3.8-3.81 1.48-1.48 2.32 2.33 5.85-5.87 1.48 1.48z"}),"Verified"),WE=Q(l.jsx("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2m6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1z"}),"Notifications"),HE=Q(l.jsx("path",{d:"M7.58 4.08 6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42m12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02 1.45 3.39 3.77 3.54 6.42M18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18q.15-.36.15-.78h-4c.01 1.1.9 2 2.01 2"}),"NotificationsActive"),UE=Q(l.jsx("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),qE=Q(l.jsx("path",{d:"M1 21h4V9H1zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73z"}),"ThumbUp"),GE=Q(l.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"}),"Sync"),KE=Q(l.jsx("path",{d:"M22 5.18 10.59 16.6l-4.24-4.24 1.41-1.41 2.83 2.83 10-10zm-2.21 5.04c.13.57.21 1.17.21 1.78 0 4.42-3.58 8-8 8s-8-3.58-8-8 3.58-8 8-8c1.58 0 3.04.46 4.28 1.25l1.44-1.44C16.1 2.67 14.13 2 12 2 6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-1.19-.22-2.33-.6-3.39z"}),"TaskAlt"),YE=Q(l.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"),XE=Q(l.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6m0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20"}),"AccountCircle"),JE=Q(l.jsx("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"}),"Group"),ZE=Q(l.jsx("path",{d:"M12 7V3H2v18h20V7zM6 19H4v-2h2zm0-4H4v-2h2zm0-4H4V9h2zm0-4H4V5h2zm4 12H8v-2h2zm0-4H8v-2h2zm0-4H8V9h2zm0-4H8V5h2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8zm-2-8h-2v2h2zm0 4h-2v2h2z"}),"Business"),QE=Q(l.jsx("path",{d:"M12 7V3H2v18h20V7zm-2 12H4v-2h6zm0-4H4v-2h6zm0-4H4V9h6zm0-4H4V5h6zm10 12h-8V9h8zm-2-8h-4v2h4zm0 4h-4v2h4z"}),"CorporateFare"),e6=Q(l.jsx("path",{d:"M20 7h-5V4c0-1.1-.9-2-2-2h-2c-1.1 0-2 .9-2 2v3H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2M9 12c.83 0 1.5.67 1.5 1.5S9.83 15 9 15s-1.5-.67-1.5-1.5S8.17 12 9 12m3 6H6v-.75c0-1 2-1.5 3-1.5s3 .5 3 1.5zm1-9h-2V4h2zm5 7.5h-4V15h4zm0-3h-4V12h4z"}),"Badge"),t6=Q(l.jsx("path",{d:"M21 8V7l-3 2-3-2v1l3 2zm1-5H2C.9 3 0 3.9 0 5v14c0 1.1.9 2 2 2h20c1.1 0 1.99-.9 1.99-2L24 5c0-1.1-.9-2-2-2M8 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3m6 12H2v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1zm8-6h-8V6h8z"}),"ContactMail"),n6=Q(l.jsx("path",{d:"M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02z"}),"Phone"),o6=Q(l.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Email"),r6=Q([l.jsx("path",{d:"M21 12.22C21 6.73 16.74 3 12 3c-4.69 0-9 3.65-9 9.28-.6.34-1 .98-1 1.72v2c0 1.1.9 2 2 2h1v-6.1c0-3.87 3.13-7 7-7s7 3.13 7 7V19h-8v2h8c1.1 0 2-.9 2-2v-1.22c.59-.31 1-.92 1-1.64v-2.3c0-.7-.41-1.31-1-1.62"},"0"),l.jsx("circle",{cx:"9",cy:"13",r:"1"},"1"),l.jsx("circle",{cx:"15",cy:"13",r:"1"},"2"),l.jsx("path",{d:"M18 11.03C17.52 8.18 15.04 6 12.05 6c-3.03 0-6.29 2.51-6.03 6.45 2.47-1.01 4.33-3.21 4.86-5.89 1.31 2.63 4 4.44 7.12 4.47"},"3")],"SupportAgent"),h1=[{name:"Trending Up",componentName:"TrendingUpIcon",category:"finance",tags:["gain","profit","stock","growth","bullish"],icon:pd},{name:"Trending Down",componentName:"TrendingDownIcon",category:"finance",tags:["loss","pullback","decline","bearish"],icon:dd},{name:"Account Balance",componentName:"AccountBalanceIcon",category:"finance",tags:["bank","institution","fund"],icon:G3},{name:"Wallet",componentName:"AccountBalanceWalletIcon",category:"finance",tags:["portfolio","cash","money","rdn"],icon:wh},{name:"Paid",componentName:"PaidIcon",category:"finance",tags:["currency","dollar","coin"],icon:K3},{name:"Monetization",componentName:"MonetizationOnIcon",category:"finance",tags:["money","gold","asset"],icon:Y3},{name:"Savings",componentName:"SavingsIcon",category:"finance",tags:["piggybank","deposit","interest"],icon:X3},{name:"Credit Card",componentName:"CreditCardIcon",category:"finance",tags:["payment","card","visa"],icon:J3},{name:"Receipt Long",componentName:"ReceiptLongIcon",category:"finance",tags:["transaction","history","invoice"],icon:Z3},{name:"Currency Exchange",componentName:"CurrencyExchangeIcon",category:"finance",tags:["forex","swap","convert"],icon:Q3},{name:"Price Change",componentName:"PriceChangeIcon",category:"finance",tags:["market","fluctuation"],icon:eE},{name:"Percent",componentName:"PercentIcon",category:"finance",tags:["rate","yield","ratio"],icon:tE},{name:"Show Chart",componentName:"ShowChartIcon",category:"finance",tags:["graph","line","analysis"],icon:Ih},{name:"Timeline",componentName:"TimelineIcon",category:"finance",tags:["historical","track","trend"],icon:nE},{name:"Pie Chart",componentName:"PieChartIcon",category:"finance",tags:["allocation","donut","breakdown"],icon:oE},{name:"Bar Chart",componentName:"BarChartIcon",category:"finance",tags:["volume","histogram","comparison"],icon:rE},{name:"Analytics",componentName:"AnalyticsIcon",category:"finance",tags:["metrics","report","stats"],icon:sE},{name:"Point Of Sale",componentName:"PointOfSaleIcon",category:"finance",tags:["terminal","checkout"],icon:aE},{name:"Calculate",componentName:"CalculateIcon",category:"finance",tags:["calculator","math","nav"],icon:iE},{name:"Candlestick Chart",componentName:"CandlestickChartIcon",category:"finance",tags:["trading","technical","ohlc"],icon:lE},{name:"Search",componentName:"SearchIcon",category:"actions",tags:["find","lookup","query"],icon:bc},{name:"Add",componentName:"AddIcon",category:"actions",tags:["create","new","plus"],icon:Sh},{name:"Remove",componentName:"RemoveIcon",category:"actions",tags:["minus","decrease"],icon:cE},{name:"Edit",componentName:"EditIcon",category:"actions",tags:["pencil","modify","update"],icon:uE},{name:"Delete",componentName:"DeleteIcon",category:"actions",tags:["trash","remove","clear"],icon:pE},{name:"Filter List",componentName:"FilterListIcon",category:"actions",tags:["funnel","criteria"],icon:dE},{name:"Sort",componentName:"SortIcon",category:"actions",tags:["order","arrange"],icon:fE},{name:"Download",componentName:"DownloadIcon",category:"actions",tags:["export","save","file"],icon:Ch},{name:"Upload",componentName:"UploadIcon",category:"actions",tags:["import","file"],icon:hE},{name:"Share",componentName:"ShareIcon",category:"actions",tags:["social","forward"],icon:mE},{name:"Copy",componentName:"ContentCopyIcon",category:"actions",tags:["clipboard","duplicate"],icon:xi},{name:"Refresh",componentName:"RefreshIcon",category:"actions",tags:["reload","sync"],icon:gE},{name:"Send",componentName:"SendIcon",category:"actions",tags:["submit","paperplane"],icon:Th},{name:"Save",componentName:"SaveIcon",category:"actions",tags:["diskette","keep"],icon:bE},{name:"Visibility",componentName:"VisibilityIcon",category:"actions",tags:["eye","show","view"],icon:Xc},{name:"Visibility Off",componentName:"VisibilityOffIcon",category:"actions",tags:["hide","eye-off"],icon:jh},{name:"Lock",componentName:"LockIcon",category:"actions",tags:["secure","pin","password"],icon:yE},{name:"Lock Open",componentName:"LockOpenIcon",category:"actions",tags:["unlocked","access"],icon:xE},{name:"Settings",componentName:"SettingsIcon",category:"actions",tags:["gear","config","preferences"],icon:vE},{name:"Tune",componentName:"TuneIcon",category:"actions",tags:["slider","adjust"],icon:kE},{name:"Power Settings",componentName:"PowerSettingsNewIcon",category:"actions",tags:["logout","shutdown","exit"],icon:SE},{name:"Check",componentName:"CheckIcon",category:"actions",tags:["done","tick","accept"],icon:vi},{name:"Arrow Forward",componentName:"ArrowForwardIcon",category:"navigation",tags:["right","next","go"],icon:Jc},{name:"Arrow Back",componentName:"ArrowBackIcon",category:"navigation",tags:["left","previous","return"],icon:TE},{name:"Arrow Upward",componentName:"ArrowUpwardIcon",category:"navigation",tags:["top","ascend"],icon:CE},{name:"Arrow Downward",componentName:"ArrowDownwardIcon",category:"navigation",tags:["bottom","descend"],icon:wE},{name:"Chevron Right",componentName:"ChevronRightIcon",category:"navigation",tags:["caret","next"],icon:IE},{name:"Chevron Left",componentName:"ChevronLeftIcon",category:"navigation",tags:["caret","back"],icon:EE},{name:"Expand More",componentName:"ExpandMoreIcon",category:"navigation",tags:["dropdown","down"],icon:jE},{name:"Expand Less",componentName:"ExpandLessIcon",category:"navigation",tags:["collapse","up"],icon:RE},{name:"Menu",componentName:"MenuIcon",category:"navigation",tags:["hamburger","sidebar"],icon:of},{name:"Close",componentName:"CloseIcon",category:"navigation",tags:["dismiss","x"],icon:Kd},{name:"More Vert",componentName:"MoreVertIcon",category:"navigation",tags:["dots","kebab","options"],icon:OE},{name:"More Horiz",componentName:"MoreHorizIcon",category:"navigation",tags:["dots","meatball"],icon:PE},{name:"Apps",componentName:"AppsIcon",category:"navigation",tags:["grid","modules"],icon:AE},{name:"Home",componentName:"HomeIcon",category:"navigation",tags:["main","root"],icon:_E},{name:"Dashboard",componentName:"DashboardIcon",category:"navigation",tags:["console","overview"],icon:NE},{name:"Folder",componentName:"FolderIcon",category:"navigation",tags:["directory","files"],icon:ME},{name:"Launch",componentName:"LaunchIcon",category:"navigation",tags:["external","link"],icon:BE},{name:"Open In New",componentName:"OpenInNewIcon",category:"navigation",tags:["window","tab"],icon:FE},{name:"Check Circle",componentName:"CheckCircleIcon",category:"status",tags:["success","complete","valid"],icon:hs},{name:"Warning",componentName:"WarningIcon",category:"status",tags:["alert","caution","attention"],icon:LE},{name:"Error",componentName:"ErrorIcon",category:"status",tags:["danger","problem","fail"],icon:$E},{name:"Info",componentName:"InfoIcon",category:"status",tags:["details","notice","about"],icon:DE},{name:"Help Outline",componentName:"HelpOutlineIcon",category:"status",tags:["question","faq","support"],icon:zE},{name:"Verified",componentName:"VerifiedIcon",category:"status",tags:["badge","ojk","trust","official"],icon:VE},{name:"Security",componentName:"SecurityIcon",category:"status",tags:["shield","protection","safe"],icon:Eh},{name:"Notifications",componentName:"NotificationsIcon",category:"status",tags:["bell","alarm","notice"],icon:WE},{name:"Notifications Active",componentName:"NotificationsActiveIcon",category:"status",tags:["ring","unread"],icon:HE},{name:"Star",componentName:"StarIcon",category:"status",tags:["favorite","rating","watchlist"],icon:UE},{name:"Thumb Up",componentName:"ThumbUpIcon",category:"status",tags:["like","approve"],icon:qE},{name:"Sync",componentName:"SyncIcon",category:"status",tags:["synchronize","refresh","auto"],icon:GE},{name:"Task Alt",componentName:"TaskAltIcon",category:"status",tags:["completed","settled"],icon:KE},{name:"Person",componentName:"PersonIcon",category:"user",tags:["profile","account","client"],icon:YE},{name:"Account Circle",componentName:"AccountCircleIcon",category:"user",tags:["avatar","user"],icon:XE},{name:"Group",componentName:"GroupIcon",category:"user",tags:["users","team","committee"],icon:JE},{name:"Business",componentName:"BusinessIcon",category:"user",tags:["company","enterprise","corporate"],icon:ZE},{name:"Corporate Fare",componentName:"CorporateFareIcon",category:"user",tags:["headquarters","building"],icon:QE},{name:"Badge",componentName:"BadgeIcon",category:"user",tags:["employee","id-card","officer"],icon:e6},{name:"Contact Mail",componentName:"ContactMailIcon",category:"user",tags:["address","card"],icon:t6},{name:"Phone",componentName:"PhoneIcon",category:"user",tags:["call","contact","hotline","1588-6800"],icon:n6},{name:"Email",componentName:"EmailIcon",category:"user",tags:["message","inbox"],icon:o6},{name:"Support Agent",componentName:"SupportAgentIcon",category:"user",tags:["helpdesk","customer-service"],icon:r6}],Jh=()=>{const[e,t]=xe.useState("all"),[n,r]=xe.useState(""),[a,i]=xe.useState(28),[c,u]=xe.useState("orange"),[p,f]=xe.useState(!1),[h,g]=xe.useState(""),y=xe.useMemo(()=>h1.filter(b=>{if(!(e==="all"||b.category===e))return!1;if(!n.trim())return!0;const E=n.toLowerCase(),w=b.name.toLowerCase().includes(E),C=b.componentName.toLowerCase().includes(E),S=b.tags.some(j=>j.toLowerCase().includes(E));return w||C||S}),[e,n]),m=()=>{switch(c){case"orange":return de.orange.hex;case"blue":return de.blue.hex;case"green":return"#10B981";case"slate":default:return}},x=b=>{const k=`import ${b} from '@mui/icons-material/${b.replace(/Icon$/,"")}';`;navigator.clipboard.writeText(k),g(k),f(!0)};return l.jsx(J,{sx:{py:6},id:"icons-section",children:l.jsxs(Io,{maxWidth:"lg",children:[l.jsxs(J,{sx:{mb:4},children:[l.jsx(ne,{variant:"h2",sx:{fontWeight:800,mb:1},children:"Ikon Brand & UI"}),l.jsx(ne,{variant:"body1",sx:{color:"text.secondary",maxWidth:740},children:"Koleksi ikon Material-UI yang telah diselaraskan dengan identitas visual Mirae Asset Sekuritas Indonesia."})]}),l.jsxs(Xt,{sx:{p:3,mb:4,borderRadius:3.5,border:"1px solid",borderColor:"divider",boxShadow:"0 4px 16px rgba(4, 59, 114, 0.04)"},children:[l.jsxs(yt,{container:!0,spacing:3,alignItems:"center",children:[l.jsx(yt,{size:{xs:12,md:5},children:l.jsx(Xo,{placeholder:"Cari ikon berdasarkan nama atau kata kunci...",categories:[],onSearch:b=>r(b)})}),l.jsx(yt,{size:{xs:12,sm:6,md:3.5},children:l.jsxs(J,{sx:{px:1},children:[l.jsxs(ne,{variant:"caption",sx:{color:"text.secondary",fontWeight:600,display:"block",mb:.5},children:["Ukuran Ikon: ",a,"px"]}),l.jsx(Zc,{value:a,min:18,max:48,step:2,onChange:(b,k)=>i(k),sx:{color:de.orange.hex}})]})}),l.jsxs(yt,{size:{xs:12,sm:6,md:3.5},children:[l.jsx(ne,{variant:"caption",sx:{color:"text.secondary",fontWeight:600,display:"block",mb:1},children:"Warna Ikon"}),l.jsxs(J,{sx:{display:"flex",gap:1},children:[l.jsx(Wt,{size:"small",brandVariant:c==="orange"?"primary":"ghost",onClick:()=>u("orange"),children:"Orange"}),l.jsx(Wt,{size:"small",brandVariant:c==="blue"?"secondary":"ghost",onClick:()=>u("blue"),children:"Blue"}),l.jsx(Wt,{size:"small",brandVariant:c==="slate"?"primary":"ghost",onClick:()=>u("slate"),children:"Theme"})]})]})]}),l.jsx(J,{sx:{borderTop:"1px solid",borderColor:"divider",mt:3,pt:1},children:l.jsxs(qs,{value:e,onChange:(b,k)=>t(k),variant:"scrollable",scrollButtons:"auto",children:[l.jsx(zt,{value:"all",label:`Semua (${h1.length})`}),l.jsx(zt,{value:"finance",label:"Finansial"}),l.jsx(zt,{value:"actions",label:"Aksi"}),l.jsx(zt,{value:"navigation",label:"Navigasi"}),l.jsx(zt,{value:"status",label:"Status"}),l.jsx(zt,{value:"user",label:"Pengguna"})]})})]}),l.jsxs(J,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:2.5},children:[l.jsxs(ne,{variant:"body2",sx:{color:"text.secondary",fontWeight:600},children:["Menampilkan: ",l.jsx("strong",{children:y.length})]}),l.jsx(ne,{variant:"caption",sx:{color:"text.secondary"},children:"Klik ikon untuk menyalin kode impor JSX"})]}),l.jsx(yt,{container:!0,spacing:2,children:y.map(b=>{const k=b.icon;return l.jsx(yt,{size:{xs:6,sm:4,md:3,lg:2.4},children:l.jsx(Ht,{title:`Klik untuk salin: import ${b.componentName}`,arrow:!0,children:l.jsxs(Xt,{onClick:()=>x(b.componentName),sx:{p:2,borderRadius:3,border:"1px solid",borderColor:"divider",textAlign:"center",cursor:"pointer",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",display:"flex",flexDirection:"column",alignItems:"center",gap:1.5,"&:hover":{transform:"translateY(-4px)",borderColor:de.orange.hex,boxShadow:"0 8px 20px rgba(245, 130, 32, 0.15)"}},children:[l.jsx(J,{sx:{width:56,height:56,borderRadius:2,backgroundColor:E=>E.palette.mode==="dark"?"#1E293B":"#F8FAFC",display:"flex",alignItems:"center",justifyContent:"center",color:m()},children:l.jsx(k,{sx:{fontSize:a}})}),l.jsxs(J,{sx:{width:"100%",overflow:"hidden"},children:[l.jsx(ne,{variant:"body2",noWrap:!0,sx:{fontWeight:700,fontSize:"0.8125rem"},children:b.name}),l.jsx(ne,{variant:"caption",noWrap:!0,sx:{display:"block",color:"text.secondary",fontFamily:"monospace",fontSize:"0.6875rem"},children:b.componentName})]})]})})},b.componentName)})}),y.length===0&&l.jsxs(J,{sx:{textAlign:"center",py:8},children:[l.jsxs(ne,{variant:"h6",sx:{color:"text.secondary",mb:1},children:['Tidak ada ikon yang cocok dengan "',n,'"']}),l.jsxs(ne,{variant:"body2",sx:{color:"text.secondary"},children:["Coba gunakan kata kunci lain seperti ",l.jsx("em",{children:"chart"}),", ",l.jsx("em",{children:"arrow"}),", ",l.jsx("em",{children:"wallet"}),", atau ",l.jsx("em",{children:"user"}),"."]})]}),l.jsx(Yh,{open:p,autoHideDuration:3e3,onClose:()=>f(!1),anchorOrigin:{vertical:"bottom",horizontal:"center"},children:l.jsxs(Xh,{severity:"success",onClose:()=>f(!1),sx:{fontWeight:600},children:["Disalin ke clipboard: ",l.jsx("code",{style:{marginLeft:6},children:h})]})})]})})},s6=Q(l.jsx("path",{d:"M22 9v6c0 1.1-.9 2-2 2h-1v-2h1V9H4v6h6v2H4c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2h16c1.1 0 2 .9 2 2m-7.5 10 1.09-2.41L18 15.5l-2.41-1.09L14.5 12l-1.09 2.41L11 15.5l2.41 1.09zm2.5-5 .62-1.38L19 12l-1.38-.62L17 10l-.62 1.38L15 12l1.38.62zm-2.5 5 1.09-2.41L18 15.5l-2.41-1.09L14.5 12l-1.09 2.41L11 15.5l2.41 1.09zm2.5-5 .62-1.38L19 12l-1.38-.62L17 10l-.62 1.38L15 12l1.38.62z"}),"SmartButtonOutlined"),m1=Q([l.jsx("path",{d:"M23 11.99 20.56 9.2l.34-3.69-3.61-.82L15.4 1.5 12 2.96 8.6 1.5 6.71 4.69 3.1 5.5l.34 3.7L1 11.99l2.44 2.79-.34 3.7 3.61.82 1.89 3.2 3.4-1.47 3.4 1.46 1.89-3.19 3.61-.82-.34-3.69zm-3.95 1.48-.56.65.08.85.18 1.95-1.9.43-.84.19-.44.74-.99 1.68-1.78-.77-.8-.34-.79.34-1.78.77-.99-1.67-.44-.74-.84-.19-1.9-.43.18-1.96.08-.85-.56-.65L3.67 12l1.29-1.48.56-.65-.09-.86-.18-1.94 1.9-.43.84-.19.44-.74.99-1.68 1.78.77.8.34.79-.34 1.78-.77.99 1.68.44.74.84.19 1.9.43-.18 1.95-.08.85.56.65 1.29 1.47z"},"0"),l.jsx("path",{d:"m10.09 13.75-2.32-2.33-1.48 1.49 3.8 3.81 7.34-7.36-1.48-1.49z"},"1")],"VerifiedOutlined"),a6=Q(l.jsx("path",{d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12zM16 17H5V7h11l3.55 5z"}),"LabelOutlined"),i6=Q(l.jsx("path",{d:"M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2M11 16l4-4-4-4v3H1v2h10zM21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2M11 16l4-4-4-4v3H1v2h10z"}),"InputOutlined"),l6=Q([l.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M7.35 18.5C8.66 17.56 10.26 17 12 17s3.34.56 4.65 1.5c-1.31.94-2.91 1.5-4.65 1.5s-3.34-.56-4.65-1.5m10.79-1.38C16.45 15.8 14.32 15 12 15s-4.45.8-6.14 2.12C4.7 15.73 4 13.95 4 12c0-4.42 3.58-8 8-8s8 3.58 8 8c0 1.95-.7 3.73-1.86 5.12"},"0"),l.jsx("path",{d:"M12 6c-1.93 0-3.5 1.57-3.5 3.5S10.07 13 12 13s3.5-1.57 3.5-3.5S13.93 6 12 6m0 5c-.83 0-1.5-.67-1.5-1.5S11.17 8 12 8s1.5.67 1.5 1.5S12.83 11 12 11"},"1")],"AccountCircleOutlined"),c6=Q(l.jsx("path",{d:"M19 13H5v-2h14z"}),"RemoveOutlined"),u6=Q(l.jsx("path",{d:"M19 2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h4l3 3 3-3h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 16h-4.83l-.59.59L12 20.17l-1.59-1.59-.58-.58H5V4h14zm-8-3h2v2h-2zm1-8c1.1 0 2 .9 2 2 0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4S8 6.79 8 9h2c0-1.1.9-2 2-2"}),"LiveHelpOutlined"),p6=Q(l.jsx("path",{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H5.17L4 17.17V4h16zM11 5h2v6h-2zm0 8h2v2h-2z"}),"AnnouncementOutlined"),d6=Q(l.jsx("path",{d:"M3 10h11v2H3zm0-2h11V6H3zm0 8h7v-2H3zm15.01-3.13.71-.71c.39-.39 1.02-.39 1.41 0l.71.71c.39.39.39 1.02 0 1.41l-.71.71zm-.71.71-5.3 5.3V21h2.12l5.3-5.3z"}),"EditNoteOutlined"),f6=Q(l.jsx("path",{d:"M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 2v3H5V5zm-5 14h-5v-9h5zM5 10h3v9H5zm12 9v-9h3v9z"}),"TableChartOutlined"),h6=Q(l.jsx("path",{d:"M2 7h4v10H2zm5 12h10V5H7zM9 7h6v10H9zm9 0h4v10h-4z"}),"ViewCarouselOutlined"),m6=({rows:e})=>{const n=Dt.useTheme().palette.mode==="dark";return l.jsx(bi,{sx:{borderRadius:2,border:"1px solid",borderColor:"divider",overflow:"auto"},children:l.jsxs(mi,{size:"small",children:[l.jsx(yi,{children:l.jsxs(Qn,{sx:{backgroundColor:n?"rgba(4, 59, 114, 0.25)":"rgba(4, 59, 114, 0.06)"},children:[l.jsx(kt,{sx:{fontWeight:700,fontSize:"0.8125rem",whiteSpace:"nowrap"},children:"Parameter"}),l.jsx(kt,{sx:{fontWeight:700,fontSize:"0.8125rem",whiteSpace:"nowrap"},children:"Tipe"}),l.jsx(kt,{sx:{fontWeight:700,fontSize:"0.8125rem",whiteSpace:"nowrap"},children:"Nilai Default"}),l.jsx(kt,{sx:{fontWeight:700,fontSize:"0.8125rem"},children:"Keterangan"})]})}),l.jsx(gi,{children:e.map((r,a)=>l.jsxs(Qn,{sx:{backgroundColor:a%2===0?"transparent":n?"rgba(255,255,255,0.02)":"rgba(0,0,0,0.015)","&:last-child td":{borderBottom:0}},children:[l.jsx(kt,{children:l.jsx("code",{style:{backgroundColor:n?"rgba(245,130,32,0.12)":"#FFF3E8",color:de.orange.hex,padding:"2px 6px",borderRadius:4,fontSize:"0.8125rem",fontWeight:600,fontFamily:"'JetBrains Mono', 'Fira Code', monospace"},children:r.name})}),l.jsx(kt,{children:l.jsx("code",{style:{backgroundColor:n?"rgba(4,59,114,0.2)":"rgba(4,59,114,0.06)",color:n?"#7E9FC3":de.blue.hex,padding:"2px 6px",borderRadius:4,fontSize:"0.75rem",fontFamily:"'JetBrains Mono', 'Fira Code', monospace"},children:r.type})}),l.jsx(kt,{children:l.jsx(ne,{variant:"caption",sx:{fontFamily:"'JetBrains Mono', 'Fira Code', monospace",fontSize:"0.75rem",color:r.defaultValue==="—"?"text.disabled":"text.secondary"},children:r.defaultValue})}),l.jsx(kt,{children:l.jsx(ne,{variant:"caption",sx:{color:"text.secondary",fontSize:"0.8125rem"},children:r.description})})]},r.name))})]})})},g6=({doc:e})=>{const n=Dt.useTheme().palette.mode==="dark";return l.jsxs(Xt,{id:`component-${e.id}`,sx:{borderRadius:3,border:"1px solid",borderColor:"divider",overflow:"hidden",boxShadow:"0 2px 12px rgba(0,0,0,0.04)",transition:"box-shadow 0.3s ease","&:hover":{boxShadow:n?"0 4px 24px rgba(245,130,32,0.08)":"0 4px 24px rgba(4,59,114,0.08)"}},children:[l.jsxs(J,{sx:{display:"flex",alignItems:"center",gap:1.5,px:3,py:2,borderBottom:"1px solid",borderColor:"divider",backgroundColor:n?"rgba(4,59,114,0.08)":"rgba(4,59,114,0.02)"},children:[l.jsx(J,{sx:{display:"flex",alignItems:"center",justifyContent:"center",width:36,height:36,borderRadius:"10px",backgroundColor:n?"rgba(245,130,32,0.15)":"#FFF3E8",color:de.orange.hex},children:e.icon}),l.jsxs(J,{sx:{flex:1},children:[l.jsx(ne,{variant:"h6",sx:{fontWeight:700,fontSize:"1rem",lineHeight:1.3},children:e.name}),l.jsx(ne,{variant:"caption",sx:{color:"text.secondary"},children:e.description})]}),l.jsx(Lt,{label:e.category==="atom"?"Atom":"Molecule",variant:e.category==="atom"?"primary":"secondary",size:"sm"})]}),l.jsx(J,{sx:{px:3,py:3,backgroundColor:n?"rgba(255,255,255,0.02)":"#FAFBFC",borderBottom:"1px solid",borderColor:"divider",minHeight:80,display:"flex",alignItems:"center",justifyContent:"center"},children:l.jsx(J,{sx:{display:"flex",flexWrap:"wrap",gap:2,alignItems:"center",justifyContent:"center",width:"100%"},children:e.preview})}),l.jsxs(J,{sx:{px:3,py:2.5},children:[l.jsx(ne,{variant:"subtitle2",sx:{fontWeight:700,mb:1.5,display:"flex",alignItems:"center",gap:.75,fontSize:"0.8125rem",color:"text.secondary"},children:l.jsx(Ns,{label:`${e.props.length} Parameter`,size:"small",sx:{fontWeight:700,fontSize:"0.6875rem",height:22,backgroundColor:n?"rgba(245,130,32,0.12)":"#FFF3E8",color:de.orange.hex}})}),l.jsx(m6,{rows:e.props})]})]})},b6=[{id:"ticker",label:"Kode Saham",minWidth:110,sortable:!0,sticky:"left",render:e=>l.jsx(ne,{sx:{fontWeight:800,color:de.blue.hex,fontFamily:"'JetBrains Mono', 'Fira Code', monospace",fontSize:"0.875rem"},children:e.ticker})},{id:"name",label:"Nama Emiten",minWidth:200,sortable:!0},{id:"sector",label:"Sektor Industri",minWidth:160,sortable:!0},{id:"price",label:"Harga Terakhir",minWidth:120,align:"right",sortable:!0},{id:"change",label:"Perubahan (%)",minWidth:120,align:"center",sortable:!0,render:e=>l.jsx(An,{label:e.change,trend:e.trend,size:"small"})},{id:"changeAmount",label:"Nominal (+/-)",minWidth:120,align:"right",sortable:!0,render:e=>l.jsx(ne,{sx:{fontWeight:600,color:e.trend==="up"?"#10B981":"#EF4444",fontSize:"0.8125rem"},children:e.changeAmount})},{id:"openPrice",label:"Pembukaan",minWidth:110,align:"right",sortable:!0},{id:"highPrice",label:"Tertinggi (H)",minWidth:110,align:"right",sortable:!0},{id:"lowPrice",label:"Terendah (L)",minWidth:110,align:"right",sortable:!0},{id:"volume",label:"Volume (Lot)",minWidth:120,align:"right",sortable:!0},{id:"turnover",label:"Nilai Transaksi",minWidth:130,align:"right",sortable:!0},{id:"marketCap",label:"Kapitalisasi Pasar",minWidth:150,align:"right",sortable:!0},{id:"per",label:"P/E (PER)",minWidth:90,align:"right",sortable:!0},{id:"pbv",label:"PBV",minWidth:80,align:"right",sortable:!0},{id:"foreignNet",label:"Net Foreign (Asing)",minWidth:150,align:"right",sortable:!0,render:e=>l.jsx(ne,{sx:{fontWeight:600,color:e.foreignTrend==="up"?"#10B981":"#EF4444",fontSize:"0.8125rem"},children:e.foreignNet})},{id:"actions",label:"Aksi",minWidth:180,align:"center",sticky:"right",render:e=>l.jsxs(J,{sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",gap:.5},children:[l.jsx(Ht,{title:"Tambah Transaksi",arrow:!0,placement:"top",children:l.jsx(Ct,{size:"small","aria-label":`Tambah transaksi ${e.ticker}`,onClick:t=>{t.stopPropagation()},sx:{color:"#10B981",backgroundColor:"transparent",borderRadius:"6px",p:.65,transition:"all 0.18s ease-in-out","&:hover":{backgroundColor:"rgba(16, 185, 129, 0.12)",transform:"translateY(-1px)"}},children:l.jsx(Bh,{fontSize:"small"})})}),l.jsx(Ht,{title:"Lihat Detail Saham",arrow:!0,placement:"top",children:l.jsx(Ct,{size:"small","aria-label":`Lihat detail ${e.ticker}`,onClick:t=>{t.stopPropagation()},sx:{color:"#0284C7",backgroundColor:"transparent",borderRadius:"6px",p:.65,transition:"all 0.18s ease-in-out","&:hover":{backgroundColor:"rgba(2, 132, 199, 0.12)",transform:"translateY(-1px)"}},children:l.jsx(Fh,{fontSize:"small"})})}),l.jsx(Ht,{title:"Ubah Data Emiten",arrow:!0,placement:"top",children:l.jsx(Ct,{size:"small","aria-label":`Ubah data ${e.ticker}`,onClick:t=>{t.stopPropagation()},sx:{color:de.orange.hex,backgroundColor:"transparent",borderRadius:"6px",p:.65,transition:"all 0.18s ease-in-out","&:hover":{backgroundColor:"rgba(245, 130, 32, 0.12)",transform:"translateY(-1px)"}},children:l.jsx(Lh,{fontSize:"small"})})}),l.jsx(Ht,{title:"Hapus dari Daftar Pantau",arrow:!0,placement:"top",children:l.jsx(Ct,{size:"small","aria-label":`Hapus ${e.ticker}`,onClick:t=>{t.stopPropagation()},sx:{color:"#EF4444",backgroundColor:"transparent",borderRadius:"6px",p:.65,transition:"all 0.18s ease-in-out","&:hover":{backgroundColor:"rgba(239, 68, 68, 0.12)",transform:"translateY(-1px)"}},children:l.jsx($h,{fontSize:"small"})})})]})}],y6=[{id:"1",ticker:"BBCA",name:"Bank Central Asia Tbk",sector:"Finansial / Perbankan",price:"Rp 10.250",change:"+1.75%",changeAmount:"+Rp 175",trend:"up",openPrice:"Rp 10.100",highPrice:"Rp 10.300",lowPrice:"Rp 10.075",volume:"482.109",turnover:"Rp 4,94 T",marketCap:"Rp 1.263 T",per:"14.2x",pbv:"4.8x",foreignNet:"+Rp 142,5 M",foreignTrend:"up"},{id:"2",ticker:"BBRI",name:"Bank Rakyat Indonesia Tbk",sector:"Finansial / Perbankan",price:"Rp 5.150",change:"+2.10%",changeAmount:"+Rp 100",trend:"up",openPrice:"Rp 5.075",highPrice:"Rp 5.200",lowPrice:"Rp 5.050",volume:"621.840",turnover:"Rp 3,20 T",marketCap:"Rp 780 T",per:"12.8x",pbv:"2.3x",foreignNet:"+Rp 98,2 M",foreignTrend:"up"},{id:"3",ticker:"BMRI",name:"Bank Mandiri (Persero) Tbk",sector:"Finansial / Perbankan",price:"Rp 6.800",change:"-0.73%",changeAmount:"-Rp 50",trend:"down",openPrice:"Rp 6.875",highPrice:"Rp 6.900",lowPrice:"Rp 6.775",volume:"315.420",turnover:"Rp 2,15 T",marketCap:"Rp 634 T",per:"11.5x",pbv:"2.1x",foreignNet:"-Rp 34,1 M",foreignTrend:"down"},{id:"4",ticker:"TLKM",name:"Telkom Indonesia Tbk",sector:"Telekomunikasi & Digital",price:"Rp 3.820",change:"+0.52%",changeAmount:"+Rp 20",trend:"up",openPrice:"Rp 3.800",highPrice:"Rp 3.860",lowPrice:"Rp 3.790",volume:"298.110",turnover:"Rp 1,14 T",marketCap:"Rp 378 T",per:"15.6x",pbv:"2.8x",foreignNet:"+Rp 45,7 M",foreignTrend:"up"},{id:"5",ticker:"ASII",name:"Astra International Tbk",sector:"Konglomerasi & Otomotif",price:"Rp 5.200",change:"-1.42%",changeAmount:"-Rp 75",trend:"down",openPrice:"Rp 5.300",highPrice:"Rp 5.325",lowPrice:"Rp 5.175",volume:"184.950",turnover:"Rp 962 M",marketCap:"Rp 210 T",per:"8.4x",pbv:"1.1x",foreignNet:"-Rp 21,3 M",foreignTrend:"down"},{id:"6",ticker:"BBNI",name:"Bank Negara Indonesia Tbk",sector:"Finansial / Perbankan",price:"Rp 5.400",change:"+1.41%",changeAmount:"+Rp 75",trend:"up",openPrice:"Rp 5.350",highPrice:"Rp 5.450",lowPrice:"Rp 5.325",volume:"245.300",turnover:"Rp 1,32 T",marketCap:"Rp 201 T",per:"9.8x",pbv:"1.3x",foreignNet:"+Rp 52,4 M",foreignTrend:"up"},{id:"7",ticker:"UNVR",name:"Unilever Indonesia Tbk",sector:"Barang Konsumen Primer",price:"Rp 2.450",change:"-0.81%",changeAmount:"-Rp 20",trend:"down",openPrice:"Rp 2.480",highPrice:"Rp 2.500",lowPrice:"Rp 2.430",volume:"142.600",turnover:"Rp 349 M",marketCap:"Rp 93 T",per:"22.4x",pbv:"18.2x",foreignNet:"-Rp 12,8 M",foreignTrend:"down"},{id:"8",ticker:"ICBP",name:"Indofood CBP Sukses Makmur Tbk",sector:"Makanan & Minuman Olahan",price:"Rp 11.600",change:"+0.87%",changeAmount:"+Rp 100",trend:"up",openPrice:"Rp 11.500",highPrice:"Rp 11.725",lowPrice:"Rp 11.450",volume:"118.400",turnover:"Rp 1,37 T",marketCap:"Rp 135 T",per:"16.1x",pbv:"3.2x",foreignNet:"+Rp 31,9 M",foreignTrend:"up"}],x6=()=>[{id:"ms-button",name:"MSButton",description:"Tombol interaktif dengan varian brand resmi Mirae Asset",icon:l.jsx(s6,{fontSize:"small"}),category:"atom",preview:l.jsxs(J,{sx:{display:"flex",flexWrap:"wrap",gap:1.5,alignItems:"center"},children:[l.jsx(Wt,{brandVariant:"primary",size:"small",children:"Primary"}),l.jsx(Wt,{brandVariant:"secondary",size:"small",children:"Secondary"}),l.jsx(Wt,{brandVariant:"outlined",size:"small",children:"Outlined"}),l.jsx(Wt,{brandVariant:"soft",size:"small",children:"Soft"}),l.jsx(Wt,{brandVariant:"ghost",size:"small",children:"Ghost"}),l.jsx(Wt,{brandVariant:"primary",size:"small",loading:!0,children:"Loading"})]}),props:[{name:"brandVariant",type:"'primary' | 'secondary' | 'outlined' | 'soft' | 'ghost'",defaultValue:"'primary'",description:"Varian warna brand tombol"},{name:"loading",type:"boolean",defaultValue:"false",description:"Tampilkan spinner loading"},{name:"disabled",type:"boolean",defaultValue:"false",description:"Nonaktifkan tombol"},{name:"size",type:"'small' | 'medium' | 'large'",defaultValue:"'medium'",description:"Ukuran tombol"},{name:"startIcon",type:"ReactNode",defaultValue:"—",description:"Ikon di awal tombol"},{name:"endIcon",type:"ReactNode",defaultValue:"—",description:"Ikon di akhir tombol"},{name:"onClick",type:"() => void",defaultValue:"—",description:"Callback saat tombol ditekan"}]},{id:"ms-badge",name:"MSBadge",description:"Label status dengan dot indikator dan varian warna",icon:l.jsx(m1,{fontSize:"small"}),category:"atom",preview:l.jsxs(J,{sx:{display:"flex",flexWrap:"wrap",gap:1.5,alignItems:"center"},children:[l.jsx(Lt,{label:"Primary",variant:"primary",dot:!0}),l.jsx(Lt,{label:"Secondary",variant:"secondary",dot:!0}),l.jsx(Lt,{label:"Success",variant:"success",dot:!0}),l.jsx(Lt,{label:"Warning",variant:"warning",dot:!0}),l.jsx(Lt,{label:"Info",variant:"info",dot:!0}),l.jsx(Lt,{label:"Neutral",variant:"neutral"}),l.jsx(Lt,{label:"SM",variant:"primary",size:"sm"})]}),props:[{name:"label",type:"ReactNode",defaultValue:"—",description:"Teks label badge"},{name:"variant",type:"'primary' | 'secondary' | 'success' | 'warning' | 'info' | 'neutral'",defaultValue:"'primary'",description:"Varian warna badge"},{name:"dot",type:"boolean",defaultValue:"false",description:"Tampilkan titik indikator status"},{name:"size",type:"'sm' | 'md'",defaultValue:"'md'",description:"Ukuran badge"}]},{id:"ms-chip",name:"MSChip",description:"Chip dengan indikator tren naik/turun dan warna brand",icon:l.jsx(a6,{fontSize:"small"}),category:"atom",preview:l.jsxs(J,{sx:{display:"flex",flexWrap:"wrap",gap:1.5,alignItems:"center"},children:[l.jsx(An,{label:"+14.8% YTD",trend:"up",brandColor:"orange"}),l.jsx(An,{label:"-3.2% MTD",trend:"down",brandColor:"orange"}),l.jsx(An,{label:"BBCA",brandColor:"blue"}),l.jsx(An,{label:"Graph",brandColor:"graph"}),l.jsx(An,{label:"Neutral",brandColor:"neutral"})]}),props:[{name:"label",type:"string",defaultValue:"—",description:"Teks label chip"},{name:"trend",type:"'up' | 'down'",defaultValue:"—",description:"Arah tren (ikon panah)"},{name:"brandColor",type:"'orange' | 'blue' | 'graph' | 'neutral'",defaultValue:"'orange'",description:"Skema warna brand"},{name:"size",type:"'small' | 'medium'",defaultValue:"'medium'",description:"Ukuran chip"},{name:"icon",type:"ReactNode",defaultValue:"—",description:"Ikon kustom (ditimpa oleh trend)"}]},{id:"ms-input",name:"MSInput",description:"Input teks dengan prefix/suffix ikon dan warna fokus brand",icon:l.jsx(i6,{fontSize:"small"}),category:"atom",preview:l.jsxs(J,{sx:{display:"flex",flexWrap:"wrap",gap:2,alignItems:"flex-start",width:"100%",maxWidth:500},children:[l.jsx(Yo,{placeholder:"Orange focus",focusColor:"orange",fullWidth:!0}),l.jsx(Yo,{placeholder:"With prefix icon",focusColor:"blue",prefixIcon:l.jsx(Xc,{fontSize:"small"}),fullWidth:!0})]}),props:[{name:"focusColor",type:"'orange' | 'blue'",defaultValue:"'orange'",description:"Warna border saat fokus"},{name:"prefixIcon",type:"ReactNode",defaultValue:"—",description:"Ikon di awal input"},{name:"onPrefixClick",type:"() => void",defaultValue:"—",description:"Callback klik ikon prefix"},{name:"prefixAriaLabel",type:"string",defaultValue:"—",description:"Aria-label ikon prefix"},{name:"suffixIcon",type:"ReactNode",defaultValue:"—",description:"Ikon di akhir input"},{name:"onSuffixClick",type:"() => void",defaultValue:"—",description:"Callback klik ikon suffix"},{name:"suffixAriaLabel",type:"string",defaultValue:"—",description:"Aria-label ikon suffix"}]},{id:"ms-avatar",name:"MSAvatar",description:"Avatar pengguna dengan indikator status online/offline",icon:l.jsx(l6,{fontSize:"small"}),category:"atom",preview:l.jsxs(J,{sx:{display:"flex",gap:3,alignItems:"center"},children:[l.jsx(po,{status:"online",brandMonogram:!0,children:"MA"}),l.jsx(po,{status:"busy",brandMonogram:!0,children:"BZ"}),l.jsx(po,{status:"offline",children:"OF"}),l.jsx(po,{brandMonogram:!0,children:"DS"})]}),props:[{name:"status",type:"'online' | 'offline' | 'busy'",defaultValue:"—",description:"Indikator status kehadiran"},{name:"brandMonogram",type:"boolean",defaultValue:"false",description:"Tampilkan gaya monogram brand Mirae"}]},{id:"ms-divider",name:"MSDivider",description:"Garis pemisah dengan varian warna brand",icon:l.jsx(c6,{fontSize:"small"}),category:"atom",preview:l.jsxs(J,{sx:{width:"100%",display:"flex",flexDirection:"column",gap:1.5},children:[l.jsxs(J,{sx:{display:"flex",alignItems:"center",gap:1},children:[l.jsx(ne,{variant:"caption",sx:{color:"text.secondary",minWidth:60},children:"subtle"}),l.jsx(J,{sx:{flex:1},children:l.jsx(Vo,{colorVariant:"subtle"})})]}),l.jsxs(J,{sx:{display:"flex",alignItems:"center",gap:1},children:[l.jsx(ne,{variant:"caption",sx:{color:"text.secondary",minWidth:60},children:"orange"}),l.jsx(J,{sx:{flex:1},children:l.jsx(Vo,{colorVariant:"orange"})})]}),l.jsxs(J,{sx:{display:"flex",alignItems:"center",gap:1},children:[l.jsx(ne,{variant:"caption",sx:{color:"text.secondary",minWidth:60},children:"blue"}),l.jsx(J,{sx:{flex:1},children:l.jsx(Vo,{colorVariant:"blue"})})]})]}),props:[{name:"colorVariant",type:"'subtle' | 'medium' | 'dark' | 'orange' | 'blue'",defaultValue:"'subtle'",description:"Varian warna garis pemisah"}]},{id:"ms-tooltip",name:"MSTooltip",description:"Tooltip bergaya brand dengan warna blue PANTONE 295C",icon:l.jsx(u6,{fontSize:"small"}),category:"atom",preview:l.jsx(J,{sx:{display:"flex",gap:2,alignItems:"center"},children:l.jsx(Rr,{title:"Ini adalah tooltip brand Mirae",children:l.jsx(Wt,{brandVariant:"outlined",size:"small",children:"Arahkan kursor ke sini"})})}),props:[{name:"title",type:"ReactNode",defaultValue:"—",description:"Konten teks tooltip"},{name:"placement",type:"string",defaultValue:"'bottom'",description:"Posisi tooltip"},{name:"arrow",type:"boolean",defaultValue:"true",description:"Tampilkan panah tooltip"}]},{id:"ms-sekuritas-logo",name:"MSSekuritasLogo",description:"Logo resmi PT Mirae Asset Sekuritas Indonesia & ikon aplikasi m.Stock dilengkapi info window jenis varian otomatis saat kursor diarahkan (hover).",icon:l.jsx(m1,{fontSize:"small"}),category:"atom",preview:l.jsxs(J,{sx:{display:"flex",flexWrap:"wrap",gap:4,alignItems:"center"},children:[l.jsx(zn,{variant:"horizontal",showOjkBadge:!0}),l.jsx(zn,{variant:"stacked"}),l.jsx(zn,{variant:"symbol"}),l.jsx(zn,{variant:"mstock",height:42})]}),props:[{name:"variant",type:"'horizontal' | 'stacked' | 'symbol' | 'mstock'",defaultValue:"'horizontal'",description:"Varian tata letak logo resmi"},{name:"showVariantInfo",type:"boolean",defaultValue:"true",description:"Menampilkan info window popover spesifikasi & tipe varian saat mouse diarahkan"},{name:"infoPlacement",type:"'top' | 'bottom' | 'left' | 'right'",defaultValue:"'bottom'",description:"Posisi info window tooltip"},{name:"showOjkBadge",type:"boolean",defaultValue:"false",description:"Tampilkan teks Terdaftar & Diawasi OJK"},{name:"height",type:"number | string",defaultValue:"36",description:"Tinggi logo atau ikon m.Stock"}]},{id:"ms-form-field",name:"MSFormField",description:"Input field lengkap dengan label, required indicator, hint, dan error message",icon:l.jsx(d6,{fontSize:"small"}),category:"molecule",preview:l.jsxs(J,{sx:{display:"flex",flexDirection:"column",gap:2,width:"100%",maxWidth:400},children:[l.jsx(Wo,{label:"Nomor Rekening RDN",placeholder:"102-882-9910",focusColor:"orange",required:!0}),l.jsx(Wo,{label:"Kata Sandi",type:"password",placeholder:"••••••••",focusColor:"blue",hint:"Minimal 8 karakter",required:!0}),l.jsx(Wo,{label:"Email",placeholder:"user@example.com",errorMessage:"Email tidak valid"})]}),props:[{name:"label",type:"string",defaultValue:"—",description:"Label teks di atas input"},{name:"required",type:"boolean",defaultValue:"false",description:"Tampilkan tanda * wajib diisi"},{name:"hint",type:"string",defaultValue:"—",description:"Teks petunjuk di bawah input"},{name:"errorMessage",type:"string",defaultValue:"—",description:"Pesan error (menimpa hint)"},{name:"...MSInputProps",type:"—",defaultValue:"—",description:"Semua properti MSInput"}]},{id:"ms-alert-banner",name:"MSAlertBanner",description:"Banner notifikasi dengan tipe pesan dan tombol aksi",icon:l.jsx(p6,{fontSize:"small"}),category:"molecule",preview:l.jsxs(J,{sx:{display:"flex",flexDirection:"column",gap:1.5,width:"100%"},children:[l.jsx(Ho,{type:"orange",title:"Informasi Penting",message:"Transaksi berhasil diproses."}),l.jsx(Ho,{type:"blue",title:"Pembaruan Sistem",message:"Versi baru tersedia.",actionText:"Perbarui"}),l.jsx(Ho,{type:"error",title:"Error",message:"Koneksi terputus."})]}),props:[{name:"type",type:"'orange' | 'blue' | 'success' | 'warning' | 'error'",defaultValue:"'orange'",description:"Tipe pesan / warna banner"},{name:"title",type:"string",defaultValue:"—",description:"Judul pesan"},{name:"message",type:"string",defaultValue:"—",description:"Isi pesan deskriptif"},{name:"actionText",type:"string",defaultValue:"—",description:"Teks tombol aksi"},{name:"onAction",type:"() => void",defaultValue:"—",description:"Callback saat tombol aksi ditekan"},{name:"onClose",type:"() => void",defaultValue:"—",description:"Callback saat banner ditutup"}]},{id:"ms-table",name:"MSTable",description:"Tabel data interaktif dengan pencarian, paginasi, sorting, dan seleksi baris",icon:l.jsx(f6,{fontSize:"small"}),category:"molecule",preview:l.jsx(J,{sx:{width:"100%"},children:l.jsx(Or,{title:"Daftar Pantau Saham Unggulan (Watchlist)",subtitle:"Data pergerakan harga real-time Bursa Efek Indonesia dengan kolom tersemat (sticky) kiri & kanan",columns:b6,data:y6,searchable:!0,searchPlaceholder:"Cari kode saham, nama emiten, atau sektor...",pagination:!0,defaultRowsPerPage:5,headerVariant:"blue",striped:!0,stickyFirstColumn:!0,stickyLastColumn:!0,showColumnCount:!0})}),props:[{name:"columns",type:"MSTableColumn<T>[]",defaultValue:"—",description:"Definisi kolom tabel (id, label, render, sortable, sticky)"},{name:"data",type:"T[]",defaultValue:"—",description:"Array data baris tabel"},{name:"title",type:"string",defaultValue:"—",description:"Judul tabel"},{name:"searchable",type:"boolean",defaultValue:"false",description:"Tampilkan bilah pencarian"},{name:"selectable",type:"boolean",defaultValue:"false",description:"Aktifkan seleksi baris (checkbox)"},{name:"pagination",type:"boolean",defaultValue:"false",description:"Aktifkan paginasi"},{name:"striped",type:"boolean",defaultValue:"false",description:"Baris bergaris-garis (zebra)"},{name:"headerVariant",type:"'subtle' | 'blue' | 'dark'",defaultValue:"'subtle'",description:"Varian warna header"},{name:"stickyFirstColumn",type:"boolean",defaultValue:"false",description:"Kolom pertama tetap saat scroll horizontal"},{name:"stickyLastColumn",type:"boolean",defaultValue:"false",description:"Kolom terakhir (aksi) tetap saat scroll horizontal"},{name:"loading",type:"boolean",defaultValue:"false",description:"Tampilkan spinner loading"},{name:"onRowClick",type:"(row: T) => void",defaultValue:"—",description:"Callback saat baris diklik"}]},{id:"ms-carousel",name:"MSCarousel",description:"Banner hero carousel responsif dengan autoplay dan navigasi slide",icon:l.jsx(h6,{fontSize:"small"}),category:"molecule",preview:l.jsx(J,{sx:{width:"100%",borderRadius:2,overflow:"hidden"},children:l.jsx(Pr,{autoplay:!0,interval:5e3,height:{xs:320,sm:300,md:300}})}),props:[{name:"slides",type:"MSCarouselSlide[]",defaultValue:"—",description:"Array slide carousel (badge, title, description, CTA, metrics)"},{name:"autoplay",type:"boolean",defaultValue:"true",description:"Aktifkan putar otomatis"},{name:"interval",type:"number",defaultValue:"5000",description:"Interval antar slide (ms)"},{name:"height",type:"number | string | { xs, sm, md, lg }",defaultValue:"{ xs: 440, sm: 380, md: 360 }",description:"Tinggi carousel responsif"}]}],Zh=()=>{Dt.useTheme().palette.mode;const t=x6(),[n,r]=xe.useState(0),a=t.filter(u=>n===1?u.category==="atom":n===2?u.category==="molecule":!0),i=t.filter(u=>u.category==="atom").length,c=t.filter(u=>u.category==="molecule").length;return l.jsxs(Io,{maxWidth:"lg",sx:{py:5},children:[l.jsxs(J,{sx:{mb:4},children:[l.jsx(ne,{variant:"h2",sx:{fontWeight:800,mb:1},children:"Komponen UI"}),l.jsx(ne,{variant:"body1",sx:{color:"text.secondary",maxWidth:720},children:"Katalog lengkap semua komponen UI yang tersedia pada @mirae/design-system. Setiap komponen dilengkapi preview visual dan tabel parameter lengkap (nama, tipe, nilai default, keterangan)."})]}),l.jsx(J,{sx:{mb:3,display:"flex",alignItems:"center",gap:2,flexWrap:"wrap"},children:l.jsxs(qs,{value:n,onChange:(u,p)=>r(p),sx:{"& .MuiTab-root":{textTransform:"none",fontWeight:600,fontSize:"0.875rem",minHeight:40}},children:[l.jsx(zt,{label:`Semua (${t.length})`}),l.jsx(zt,{label:`Atoms (${i})`}),l.jsx(zt,{label:`Molecules (${c})`})]})}),l.jsx(J,{sx:{display:"flex",flexDirection:"column",gap:3},children:a.map(u=>l.jsx(g6,{doc:u},u.id))})]})},Qh=["overview","colors","typography","icons","components"],cl=()=>{if(typeof window>"u")return"overview";const e=window.location.hash.replace(/^#\/?/,"").toLowerCase();return Qh.includes(e)?e:"overview"};class v6 extends xe.Component{constructor(t){super(t),this.state={hasError:!1,error:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,n){console.error("Page rendering error caught by boundary:",t,n)}render(){var t;return this.state.hasError?l.jsx(Io,{maxWidth:"md",sx:{py:10,textAlign:"center"},children:l.jsxs(J,{sx:{p:4,borderRadius:3,border:"1px solid",borderColor:"error.main",backgroundColor:n=>n.palette.mode==="dark"?"rgba(239, 68, 68, 0.1)":"#FEF2F2"},children:[l.jsx(ne,{variant:"h5",sx:{fontWeight:800,color:"error.main",mb:1.5},children:"Terjadi Kesalahan Saat Memuat Halaman"}),l.jsx(ne,{variant:"body2",sx:{color:"text.secondary",mb:3},children:((t=this.state.error)==null?void 0:t.message)||"Halaman gagal ditampilkan. Silakan kembali ke ringkasan."}),l.jsx(Wt,{brandVariant:"primary",onClick:()=>{this.setState({hasError:!1,error:null}),this.props.onReset()},children:"Kembali ke Ringkasan"})]})}):this.props.children}}const k6=()=>{const[e,t]=xe.useState(()=>cl());xe.useEffect(()=>{const a=()=>{const c=cl();t(c),window.scrollTo({top:0,behavior:"smooth"})},i=cl();return window.location.hash!==`#${i}`&&window.history.replaceState({tab:i},"",`#${i}`),window.addEventListener("popstate",a),window.addEventListener("hashchange",a),()=>{window.removeEventListener("popstate",a),window.removeEventListener("hashchange",a)}},[]);const n=xe.useCallback(a=>{const i=Qh.includes(a)?a:"overview";(e!==i||window.location.hash!==`#${i}`)&&(window.history.pushState({tab:i},"",`#${i}`),t(i),window.scrollTo({top:0,behavior:"smooth"}))},[e]),r=()=>{switch(e){case"colors":return l.jsx(zh,{});case"typography":return l.jsx(Gh,{});case"icons":return l.jsx(Jh,{});case"components":return l.jsx(Zh,{});case"overview":default:return l.jsxs(l.Fragment,{children:[l.jsx(_h,{onNavigate:n}),l.jsx(Io,{maxWidth:"lg",children:l.jsx(Dh,{})})]})}};return l.jsx(lf,{currentTab:e,onTabChange:n,children:l.jsx(v6,{onReset:()=>n("overview"),children:r()})})};exports.AlertBanner=Mk;exports.AppThemeProvider=Sy;exports.BackToTop=kc;exports.BrandNavbar=rf;exports.CodeSnippet=lo;exports.ColorPaletteShowcase=zh;exports.ColorSwatch=pa;exports.ComponentDocumentation=Zh;exports.ComponentPlayground=jI;exports.DesignSystemLayout=lf;exports.FormField=Ak;exports.HeroSection=_h;exports.IconShowcase=Jh;exports.LandingPage=k6;exports.MSAlertBanner=Ho;exports.MSAvatar=po;exports.MSBadge=Lt;exports.MSButton=Wt;exports.MSCarousel=Pr;exports.MSChip=An;exports.MSDivider=Vo;exports.MSFormField=Wo;exports.MSInput=Yo;exports.MSSearchBar=Xo;exports.MSSekuritasLogo=zn;exports.MSTable=Or;exports.MSTooltip=Rr;exports.MSTypography=id;exports.MiraeAvatar=hk;exports.MiraeBadge=I0;exports.MiraeButton=m0;exports.MiraeCarousel=X5;exports.MiraeChip=_0;exports.MiraeDivider=vk;exports.MiraeInput=Qv;exports.MiraeSekuritasLogo=Ck;exports.MiraeTable=H5;exports.MiraeTooltip=Sk;exports.MiraeTypography=S0;exports.SearchBar=Pk;exports.TypographyShowcase=Gh;exports.UsageGuide=Dh;exports.brandMotto=ul;exports.darkTheme=y1;exports.defaultPlaygroundScope=Rh;exports.defaultSlides=Y5;exports.defaultSlidesEn=K5;exports.defaultSlidesId=vc;exports.digitalBackgroundLineColors=yr;exports.fontFamilies=ms;exports.fontWeights=ht;exports.graphIllustrationColors=br;exports.lightTheme=b1;exports.primaryColors=de;exports.radii=Sm;exports.semanticColors=vm;exports.shadows=Tm;exports.spacing=km;exports.typographyScale=_t;exports.useAppTheme=X1;