@twinmatrix/ui-sdk 0.0.1

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 (169) hide show
  1. package/README.md +49 -0
  2. package/THEME_CUSTOMIZATION.md +221 -0
  3. package/lib/cjs/index.js +224 -0
  4. package/lib/esm/index.js +224 -0
  5. package/lib/types/index.d.ts +33 -0
  6. package/lib/types/index.d.ts.map +1 -0
  7. package/lib/types/internal/alerts/AlertItem.d.ts +9 -0
  8. package/lib/types/internal/alerts/AlertItem.d.ts.map +1 -0
  9. package/lib/types/internal/alerts/AlertsList.d.ts +12 -0
  10. package/lib/types/internal/alerts/AlertsList.d.ts.map +1 -0
  11. package/lib/types/internal/alerts/index.d.ts +5 -0
  12. package/lib/types/internal/alerts/index.d.ts.map +1 -0
  13. package/lib/types/internal/alerts/types.d.ts +11 -0
  14. package/lib/types/internal/alerts/types.d.ts.map +1 -0
  15. package/lib/types/internal/alerts/utils.d.ts +2 -0
  16. package/lib/types/internal/alerts/utils.d.ts.map +1 -0
  17. package/lib/types/internal/charts/Chart.d.ts +28 -0
  18. package/lib/types/internal/charts/Chart.d.ts.map +1 -0
  19. package/lib/types/internal/charts/WidgetContainer.d.ts +16 -0
  20. package/lib/types/internal/charts/WidgetContainer.d.ts.map +1 -0
  21. package/lib/types/internal/charts/index.d.ts +5 -0
  22. package/lib/types/internal/charts/index.d.ts.map +1 -0
  23. package/lib/types/internal/stores/themeStore.d.ts +13 -0
  24. package/lib/types/internal/stores/themeStore.d.ts.map +1 -0
  25. package/lib/types/internal/theme/index.d.ts +26 -0
  26. package/lib/types/internal/theme/index.d.ts.map +1 -0
  27. package/lib/types/internal/theme/theme.d.ts +113 -0
  28. package/lib/types/internal/theme/theme.d.ts.map +1 -0
  29. package/lib/types/internal/theme/useAppTheme.d.ts +2 -0
  30. package/lib/types/internal/theme/useAppTheme.d.ts.map +1 -0
  31. package/lib/types/internal/ui/BottomBar.d.ts +9 -0
  32. package/lib/types/internal/ui/BottomBar.d.ts.map +1 -0
  33. package/lib/types/internal/ui/Button.d.ts +17 -0
  34. package/lib/types/internal/ui/Button.d.ts.map +1 -0
  35. package/lib/types/internal/ui/Card.d.ts +52 -0
  36. package/lib/types/internal/ui/Card.d.ts.map +1 -0
  37. package/lib/types/internal/ui/Dropdown.d.ts +12 -0
  38. package/lib/types/internal/ui/Dropdown.d.ts.map +1 -0
  39. package/lib/types/internal/ui/Modal.d.ts +45 -0
  40. package/lib/types/internal/ui/Modal.d.ts.map +1 -0
  41. package/lib/types/internal/ui/Panel.d.ts +30 -0
  42. package/lib/types/internal/ui/Panel.d.ts.map +1 -0
  43. package/lib/types/internal/ui/RadioButton.d.ts +13 -0
  44. package/lib/types/internal/ui/RadioButton.d.ts.map +1 -0
  45. package/lib/types/internal/ui/SidePanel.d.ts +10 -0
  46. package/lib/types/internal/ui/SidePanel.d.ts.map +1 -0
  47. package/lib/types/internal/ui/ThemeEditor.d.ts +21 -0
  48. package/lib/types/internal/ui/ThemeEditor.d.ts.map +1 -0
  49. package/lib/types/internal/ui/TopBar.d.ts +64 -0
  50. package/lib/types/internal/ui/TopBar.d.ts.map +1 -0
  51. package/lib/types/internal/ui/bottombar/Item.d.ts +9 -0
  52. package/lib/types/internal/ui/bottombar/Item.d.ts.map +1 -0
  53. package/lib/types/internal/ui/bottombar/Root.d.ts +8 -0
  54. package/lib/types/internal/ui/bottombar/Root.d.ts.map +1 -0
  55. package/lib/types/internal/ui/bottombar/styles.d.ts +19 -0
  56. package/lib/types/internal/ui/bottombar/styles.d.ts.map +1 -0
  57. package/lib/types/internal/ui/dropdown/Group.d.ts +9 -0
  58. package/lib/types/internal/ui/dropdown/Group.d.ts.map +1 -0
  59. package/lib/types/internal/ui/dropdown/Item.d.ts +12 -0
  60. package/lib/types/internal/ui/dropdown/Item.d.ts.map +1 -0
  61. package/lib/types/internal/ui/dropdown/Menu.d.ts +12 -0
  62. package/lib/types/internal/ui/dropdown/Menu.d.ts.map +1 -0
  63. package/lib/types/internal/ui/dropdown/Root.d.ts +11 -0
  64. package/lib/types/internal/ui/dropdown/Root.d.ts.map +1 -0
  65. package/lib/types/internal/ui/dropdown/Trigger.d.ts +11 -0
  66. package/lib/types/internal/ui/dropdown/Trigger.d.ts.map +1 -0
  67. package/lib/types/internal/ui/dropdown/styles.d.ts +67 -0
  68. package/lib/types/internal/ui/dropdown/styles.d.ts.map +1 -0
  69. package/lib/types/internal/ui/sidepanel/Body.d.ts +15 -0
  70. package/lib/types/internal/ui/sidepanel/Body.d.ts.map +1 -0
  71. package/lib/types/internal/ui/sidepanel/DrawerPanel.d.ts +13 -0
  72. package/lib/types/internal/ui/sidepanel/DrawerPanel.d.ts.map +1 -0
  73. package/lib/types/internal/ui/sidepanel/Footer.d.ts +5 -0
  74. package/lib/types/internal/ui/sidepanel/Footer.d.ts.map +1 -0
  75. package/lib/types/internal/ui/sidepanel/Header.d.ts +10 -0
  76. package/lib/types/internal/ui/sidepanel/Header.d.ts.map +1 -0
  77. package/lib/types/internal/ui/sidepanel/SidePanel.d.ts +11 -0
  78. package/lib/types/internal/ui/sidepanel/SidePanel.d.ts.map +1 -0
  79. package/lib/types/internal/ui/topbar/Actions.d.ts +5 -0
  80. package/lib/types/internal/ui/topbar/Actions.d.ts.map +1 -0
  81. package/lib/types/internal/ui/topbar/Badge.d.ts +5 -0
  82. package/lib/types/internal/ui/topbar/Badge.d.ts.map +1 -0
  83. package/lib/types/internal/ui/topbar/Divider.d.ts +5 -0
  84. package/lib/types/internal/ui/topbar/Divider.d.ts.map +1 -0
  85. package/lib/types/internal/ui/topbar/IconButton.d.ts +10 -0
  86. package/lib/types/internal/ui/topbar/IconButton.d.ts.map +1 -0
  87. package/lib/types/internal/ui/topbar/LevelSelector.d.ts +6 -0
  88. package/lib/types/internal/ui/topbar/LevelSelector.d.ts.map +1 -0
  89. package/lib/types/internal/ui/topbar/LocationSelector.d.ts +9 -0
  90. package/lib/types/internal/ui/topbar/LocationSelector.d.ts.map +1 -0
  91. package/lib/types/internal/ui/topbar/Logo.d.ts +8 -0
  92. package/lib/types/internal/ui/topbar/Logo.d.ts.map +1 -0
  93. package/lib/types/internal/ui/topbar/Root.d.ts +12 -0
  94. package/lib/types/internal/ui/topbar/Root.d.ts.map +1 -0
  95. package/lib/types/internal/ui/topbar/Section.d.ts +11 -0
  96. package/lib/types/internal/ui/topbar/Section.d.ts.map +1 -0
  97. package/lib/types/internal/ui/topbar/SelectBase.d.ts +19 -0
  98. package/lib/types/internal/ui/topbar/SelectBase.d.ts.map +1 -0
  99. package/lib/types/internal/ui/topbar/Spacer.d.ts +3 -0
  100. package/lib/types/internal/ui/topbar/Spacer.d.ts.map +1 -0
  101. package/lib/types/internal/ui/topbar/Title.d.ts +5 -0
  102. package/lib/types/internal/ui/topbar/Title.d.ts.map +1 -0
  103. package/lib/types/internal/ui/topbar/ToggleGroup.d.ts +14 -0
  104. package/lib/types/internal/ui/topbar/ToggleGroup.d.ts.map +1 -0
  105. package/lib/types/internal/ui/topbar/addons/BackButton.d.ts +6 -0
  106. package/lib/types/internal/ui/topbar/addons/BackButton.d.ts.map +1 -0
  107. package/lib/types/internal/ui/topbar/addons/EventsBar.d.ts +17 -0
  108. package/lib/types/internal/ui/topbar/addons/EventsBar.d.ts.map +1 -0
  109. package/lib/types/internal/ui/topbar/addons/LevelSelect.d.ts +6 -0
  110. package/lib/types/internal/ui/topbar/addons/LevelSelect.d.ts.map +1 -0
  111. package/lib/types/internal/ui/topbar/addons/ListTypeToggle.d.ts +6 -0
  112. package/lib/types/internal/ui/topbar/addons/ListTypeToggle.d.ts.map +1 -0
  113. package/lib/types/internal/ui/topbar/addons/LocationSelect.d.ts +9 -0
  114. package/lib/types/internal/ui/topbar/addons/LocationSelect.d.ts.map +1 -0
  115. package/lib/types/internal/ui/topbar/addons/SidebarToggleButton.d.ts +6 -0
  116. package/lib/types/internal/ui/topbar/addons/SidebarToggleButton.d.ts.map +1 -0
  117. package/lib/types/internal/ui/topbar/addons/ThemeToggleButton.d.ts +5 -0
  118. package/lib/types/internal/ui/topbar/addons/ThemeToggleButton.d.ts.map +1 -0
  119. package/lib/types/internal/ui/topbar/addons/TimelineToggleButton.d.ts +6 -0
  120. package/lib/types/internal/ui/topbar/addons/TimelineToggleButton.d.ts.map +1 -0
  121. package/lib/types/internal/ui/topbar/styles.d.ts +148 -0
  122. package/lib/types/internal/ui/topbar/styles.d.ts.map +1 -0
  123. package/lib/types/internal/utils/colorShades.d.ts +12 -0
  124. package/lib/types/internal/utils/colorShades.d.ts.map +1 -0
  125. package/lib/types/internal/webrtc/WebRTCManager.d.ts +28 -0
  126. package/lib/types/internal/webrtc/WebRTCManager.d.ts.map +1 -0
  127. package/lib/types/internal/webrtc/WebRTCStreamPlayer.d.ts +8 -0
  128. package/lib/types/internal/webrtc/WebRTCStreamPlayer.d.ts.map +1 -0
  129. package/lib/types/layout/DashboardBottomRegion.d.ts +17 -0
  130. package/lib/types/layout/DashboardBottomRegion.d.ts.map +1 -0
  131. package/lib/types/layout/DashboardMain.d.ts +16 -0
  132. package/lib/types/layout/DashboardMain.d.ts.map +1 -0
  133. package/lib/types/layout/DashboardMobileDrawer.d.ts +38 -0
  134. package/lib/types/layout/DashboardMobileDrawer.d.ts.map +1 -0
  135. package/lib/types/layout/DashboardShell.d.ts +18 -0
  136. package/lib/types/layout/DashboardShell.d.ts.map +1 -0
  137. package/lib/types/layout/DashboardSidePanel.d.ts +30 -0
  138. package/lib/types/layout/DashboardSidePanel.d.ts.map +1 -0
  139. package/lib/types/layout/index.d.ts +21 -0
  140. package/lib/types/layout/index.d.ts.map +1 -0
  141. package/lib/types/types/generic.d.ts +73 -0
  142. package/lib/types/types/generic.d.ts.map +1 -0
  143. package/lib/types/types/index.d.ts +7 -0
  144. package/lib/types/types/index.d.ts.map +1 -0
  145. package/lib/types/ui/index.d.ts +21 -0
  146. package/lib/types/ui/index.d.ts.map +1 -0
  147. package/lib/types/widgets/AIAnalysisPanel.d.ts +33 -0
  148. package/lib/types/widgets/AIAnalysisPanel.d.ts.map +1 -0
  149. package/lib/types/widgets/AlertCameraChart.d.ts +18 -0
  150. package/lib/types/widgets/AlertCameraChart.d.ts.map +1 -0
  151. package/lib/types/widgets/AlertSeverityChart.d.ts +20 -0
  152. package/lib/types/widgets/AlertSeverityChart.d.ts.map +1 -0
  153. package/lib/types/widgets/AlertTimelineChart.d.ts +18 -0
  154. package/lib/types/widgets/AlertTimelineChart.d.ts.map +1 -0
  155. package/lib/types/widgets/AlertTriggerChart.d.ts +18 -0
  156. package/lib/types/widgets/AlertTriggerChart.d.ts.map +1 -0
  157. package/lib/types/widgets/AlertsPanel.d.ts +22 -0
  158. package/lib/types/widgets/AlertsPanel.d.ts.map +1 -0
  159. package/lib/types/widgets/CameraStreamWidget.d.ts +39 -0
  160. package/lib/types/widgets/CameraStreamWidget.d.ts.map +1 -0
  161. package/lib/types/widgets/ChatbotPanel.d.ts +16 -0
  162. package/lib/types/widgets/ChatbotPanel.d.ts.map +1 -0
  163. package/lib/types/widgets/RecentActivityFeed.d.ts +18 -0
  164. package/lib/types/widgets/RecentActivityFeed.d.ts.map +1 -0
  165. package/lib/types/widgets/TopCamerasList.d.ts +17 -0
  166. package/lib/types/widgets/TopCamerasList.d.ts.map +1 -0
  167. package/lib/types/widgets/index.d.ts +27 -0
  168. package/lib/types/widgets/index.d.ts.map +1 -0
  169. package/package.json +70 -0
@@ -0,0 +1,224 @@
1
+ import{jsx as e,jsxs as t,Fragment as o}from"react/jsx-runtime";import{create as n}from"zustand";import*as r from"react";import i,{createContext as a,useRef as s,useLayoutEffect as l,useEffect as c,useContext as p,useId as d,useCallback as u,useMemo as f,Fragment as m,createElement as h,useInsertionEffect as g,forwardRef as y,Component as b,Children as v,isValidElement as x,cloneElement as w,useState as S}from"react";import{Icon as T}from"@iconify/react";import{Chart as O,CategoryScale as C,LinearScale as k,RadialLinearScale as E,BarElement as P,LineElement as N,PointElement as R,ArcElement as M,Tooltip as $,Legend as j,Filler as I}from"chart.js";import{Scatter as A,Bubble as L,PolarArea as B,Radar as D,Doughnut as z,Pie as V,Line as F,Bar as W}from"react-chartjs-2";import*as _ from"react-dom";import H from"react-dom";var q=function(t){var o=t.children,n=t.fullScreen,r=void 0===n||n,i=t.gap,a=void 0===i?0:i,s=t.background,l=t.topOffset,c=void 0===l?0:l,p=t.className,d=void 0===p?"":p,u=t.style,f=Object.assign({width:r?"100vw":"100%",height:r?"100vh":"100%",position:"relative",display:"flex",flexDirection:"column",overflow:"hidden",gap:a>0?"".concat(a,"px"):void 0,background:s,marginTop:c>0?"".concat(c,"px"):void 0},u);return e("div",{className:"dashboard-shell ".concat(d),style:f,children:o})},U=function(o){var n=o.children,r=o.overlayLayers,i=o.className,a=void 0===i?"":i,s=o.style,l=Object.assign({flex:1,position:"relative",overflow:"hidden"},s);return t("div",{className:"dashboard-main ".concat(a),style:l,children:[n,r&&e("div",{className:"dashboard-main-overlays",style:{position:"absolute",inset:0,pointerEvents:"none"},children:e("div",{style:{pointerEvents:"auto"},children:r})})]})};function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=Array(t);o<t;o++)n[o]=e[o];return n}function K(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Q(n.key),n)}}function X(e,t,o){return(t=Q(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Y(){
2
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
3
+ var e,t,o="function"==typeof Symbol?Symbol:{},n=o.iterator||"@@iterator",r=o.toStringTag||"@@toStringTag";function i(o,n,r,i){var l=n&&n.prototype instanceof s?n:s,c=Object.create(l.prototype);return Z(c,"_invoke",function(o,n,r){var i,s,l,c=0,p=r||[],d=!1,u={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,o){return i=t,s=0,l=e,u.n=o,a}};function f(o,n){for(s=o,l=n,t=0;!d&&c&&!r&&t<p.length;t++){var r,i=p[t],f=u.p,m=i[2];o>3?(r=m===n)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((r=o<2&&f<i[1])?(s=0,u.v=n,u.n=i[1]):f<m&&(r=o<3||i[0]>n||n>m)&&(i[4]=o,i[5]=n,u.n=m,s=0))}if(r||o>1)return a;throw d=!0,n}return function(r,p,m){if(c>1)throw TypeError("Generator is already running");for(d&&1===p&&f(p,m),s=p,l=m;(t=s<2?e:l)||!d;){i||(s?s<3?(s>1&&(u.n=-1),f(s,l)):u.n=l:u.v=l);try{if(c=2,i){if(s||(r="next"),t=i[r]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+r+"' method"),s=1);i=e}else if((t=(d=u.n<0)?l:o.call(n,u))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(o,r,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var p=[][n]?t(t([][n]())):(Z(t={},n,function(){return this}),t),d=c.prototype=s.prototype=Object.create(p);function u(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Z(e,r,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,Z(d,"constructor",c),Z(c,"constructor",l),l.displayName="GeneratorFunction",Z(c,r,"GeneratorFunction"),Z(d),Z(d,r,"Generator"),Z(d,n,function(){return this}),Z(d,"toString",function(){return"[object Generator]"}),(Y=function(){return{w:i,m:u}})()}function Z(e,t,o,n){var r=Object.defineProperty;try{r({},"",{})}catch(e){r=0}Z=function(e,t,o,n){function i(t,o){Z(e,t,function(e){return this._invoke(t,o,e)})}t?r?r(e,t,{value:o,enumerable:!n,configurable:!n,writable:!n}):e[t]=o:(i("next",0),i("throw",1),i("return",2))},Z(e,t,o,n)}function J(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,i,a,s=[],l=!0,c=!1;try{if(i=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;l=!1}else for(;!(l=(n=i.call(o)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=o.return&&(a=o.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||te(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,"string");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function ee(e){return ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ee(e)}function te(e,t){if(e){if("string"==typeof e)return G(e,t);var o={}.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?G(e,t):void 0}}var oe="#7393B3",ne="#B2BEB5",re="#FFFFFF",ie={surface:{app:"#f1f5f9",topbar:"#1e293b",panel:"#f8fafc",card:"#e5e9ec",modal:"#ffffff",control:"#e2e8f0",neutral:"#cbd5e1",backdrop:"rgba(15, 23, 42, 0.5)",hover:"rgba(15, 23, 42, 0.08)"},text:{primary:"#0f172a",muted:"#B2BEB5",onAccent:re,inverted:"#ffffff"},accent:{primary:oe,secondary:ne},semantic:{success:"#22c55e",warning:"#f59e0b",critical:"#ef4444",info:"#3b82f6"},border:{subtle:"rgba(0,0,0,0.12)",strong:"rgba(0,0,0,0.2)"},chart:{grid:"rgba(148,163,184,0.2)",text:"#0f172a"},state:{hover:"rgba(0,0,0,0.08)",active:"rgba(0,0,0,0.12)",focus:oe}},ae={surface:{app:"#0f172a",topbar:"#1e293b",panel:"#1e293b",card:"#334155",modal:"#1e293b",control:"rgba(255, 255, 255, 0.08)",backdrop:"rgba(0, 0, 0, 0.6)",neutral:"#334155",hover:"rgba(255, 255, 255, 0.08)"},text:{primary:"#f1f5f9",muted:"#94a3b8",onAccent:re,inverted:"#0f172a"},accent:{primary:oe,secondary:ne},semantic:{success:"#22c55e",warning:"#fbbf24",critical:"#f87171",info:"#60a5fa"},border:{subtle:"rgba(255,255,255,0.08)",strong:"rgba(255,255,255,0.14)"},chart:{grid:"rgba(226,232,240,0.2)",text:"#e2e8f0"},state:{hover:"rgba(255,255,255,0.06)",active:"rgba(255,255,255,0.12)",focus:oe}};function se(e,t){var o=Object.assign({},e);for(var n in t){var r=t[n];if(r&&"object"===ee(r)&&!Array.isArray(r)){var i=o[n];i&&"object"===ee(i)&&!Array.isArray(i)?o[n]=se(i,r):o[n]=r}else void 0!==r&&(o[n]=r)}return o}var le=function(){var e,t;return e="light"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"dark")?ie:ae,(t=(arguments.length>1?arguments[1]:void 0)||null)?Object.assign(Object.assign({},e),{surface:t.surface?Object.assign(Object.assign({},e.surface),t.surface):e.surface,text:t.text?Object.assign(Object.assign({},e.text),t.text):e.text,accent:t.accent?Object.assign(Object.assign({},e.accent),t.accent):e.accent,semantic:t.semantic?Object.assign(Object.assign({},e.semantic),t.semantic):e.semantic,border:t.border?Object.assign(Object.assign({},e.border),t.border):e.border,chart:t.chart?Object.assign(Object.assign({},e.chart),t.chart):e.chart,state:t.state?Object.assign(Object.assign({},e.state),t.state):e.state}):e},ce=function(e,t){fe.getState().setCustomThemeOverride(e,t)},pe=function(e){e.light&&ce("light",e.light),e.dark&&ce("dark",e.dark)},de=function(e){fe.getState().resetThemeOverride(e)},ue=function(){return"light"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"dark")?ie:ae},fe=n(function(e){return{mode:"dark",customLightThemeOverride:null,customDarkThemeOverride:null,setMode:function(t){return e({mode:t})},toggleMode:function(){return e(function(e){return{mode:"light"===e.mode?"dark":"light"}})},setCustomThemeOverride:function(t,o){return e(function(e){return"light"===t?{customLightThemeOverride:se(e.customLightThemeOverride||{},o)}:{customDarkThemeOverride:se(e.customDarkThemeOverride||{},o)}})},resetThemeOverride:function(t){return e(function(e){return t?"light"===t?{customLightThemeOverride:null}:"dark"===t?{customDarkThemeOverride:null}:e:{customLightThemeOverride:null,customDarkThemeOverride:null}})}}}),me=function(){var e=fe(function(e){return e.mode}),t=fe(function(e){return e.customLightThemeOverride}),o=fe(function(e){return e.customDarkThemeOverride});return le(e,"light"===e?t:o)};const he=a({}),ge="undefined"!=typeof window,ye=ge?l:c,be=a(null);function ve(e,t){-1===e.indexOf(t)&&e.push(t)}function xe(e,t){const o=e.indexOf(t);o>-1&&e.splice(o,1)}const we=(e,t,o)=>o>t?t:o<e?e:o;let Se=()=>{},Te=()=>{};"undefined"!=typeof process&&"production"!==process.env?.NODE_ENV&&(Se=(e,t,o)=>{},Te=(e,t,o)=>{if(!e)throw new Error(function(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}(t,o))});const Oe={},Ce=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function ke(e){return"object"==typeof e&&null!==e}const Ee=e=>/^0[^.\s]+$/u.test(e);function Pe(e){let t;return()=>(void 0===t&&(t=e()),t)}const Ne=e=>e,Re=(e,t)=>o=>t(e(o)),Me=(...e)=>e.reduce(Re),$e=(e,t,o)=>{const n=t-e;return 0===n?1:(o-e)/n};class je{constructor(){this.subscriptions=[]}add(e){return ve(this.subscriptions,e),()=>xe(this.subscriptions,e)}notify(e,t,o){const n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,o);else for(let r=0;r<n;r++){const n=this.subscriptions[r];n&&n(e,t,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ie=e=>1e3*e,Ae=e=>e/1e3;function Le(e,t){return t?e*(1e3/t):0}const Be=new Set;function De(e,t,o){e||Be.has(t)||Be.add(t)}const ze=(e,t,o)=>(((1-3*o+3*t)*e+(3*o-6*t))*e+3*t)*e;function Ve(e,t,o,n){if(e===t&&o===n)return Ne;return r=>0===r||1===r?r:ze(function(e,t,o,n,r){let i,a,s=0;do{a=t+(o-t)/2,i=ze(a,n,r)-e,i>0?o=a:t=a}while(Math.abs(i)>1e-7&&++s<12);return a}(r,0,1,e,o),t,n)}const Fe=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,We=e=>t=>1-e(1-t),_e=Ve(.33,1.53,.69,.99),He=We(_e),qe=Fe(He),Ue=e=>(e*=2)<1?.5*He(e):.5*(2-Math.pow(2,-10*(e-1))),Ge=e=>1-Math.sin(Math.acos(e)),Ke=We(Ge),Xe=Fe(Ge),Ye=Ve(.42,0,1,1),Ze=Ve(0,0,.58,1),Je=Ve(.42,0,.58,1),Qe=e=>Array.isArray(e)&&"number"==typeof e[0],et={linear:Ne,easeIn:Ye,easeInOut:Je,easeOut:Ze,circIn:Ge,circInOut:Xe,circOut:Ke,backIn:He,backInOut:qe,backOut:_e,anticipate:Ue},tt=e=>{if(Qe(e)){Te(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,o,n,r]=e;return Ve(t,o,n,r)}return(e=>"string"==typeof e)(e)?(Te(void 0!==et[e],`Invalid easing type '${e}'`,"invalid-easing-type"),et[e]):e},ot=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],nt={value:null,addProjectionMetrics:null};function rt(e,t){let o=!1,n=!0;const r={delta:0,timestamp:0,isProcessing:!1},i=()=>o=!0,a=ot.reduce((e,o)=>(e[o]=function(e,t){let o=new Set,n=new Set,r=!1,i=!1;const a=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1},l=0;function c(t){a.has(t)&&(p.schedule(t),e()),l++,t(s)}const p={schedule:(e,t=!1,i=!1)=>{const s=i&&r?o:n;return t&&a.add(e),s.has(e)||s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{s=e,r?i=!0:(r=!0,[o,n]=[n,o],o.forEach(c),t&&nt.value&&nt.value.frameloop[t].push(l),l=0,o.clear(),r=!1,i&&(i=!1,p.process(e)))}};return p}(i,t?o:void 0),e),{}),{setup:s,read:l,resolveKeyframes:c,preUpdate:p,update:d,preRender:u,render:f,postRender:m}=a,h=()=>{const i=Oe.useManualTiming?r.timestamp:performance.now();o=!1,Oe.useManualTiming||(r.delta=n?1e3/60:Math.max(Math.min(i-r.timestamp,40),1)),r.timestamp=i,r.isProcessing=!0,s.process(r),l.process(r),c.process(r),p.process(r),d.process(r),u.process(r),f.process(r),m.process(r),r.isProcessing=!1,o&&t&&(n=!1,e(h))};return{schedule:ot.reduce((t,i)=>{const s=a[i];return t[i]=(t,i=!1,a=!1)=>(o||(o=!0,n=!0,r.isProcessing||e(h)),s.schedule(t,i,a)),t},{}),cancel:e=>{for(let t=0;t<ot.length;t++)a[ot[t]].cancel(e)},state:r,steps:a}}const{schedule:it,cancel:at,state:st,steps:lt}=rt("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:Ne,!0);let ct;function pt(){ct=void 0}const dt={now:()=>(void 0===ct&&dt.set(st.isProcessing||Oe.useManualTiming?st.timestamp:performance.now()),ct),set:e=>{ct=e,queueMicrotask(pt)}},ut={layout:0,mainThread:0,waapi:0},ft=e=>t=>"string"==typeof t&&t.startsWith(e),mt=ft("--"),ht=ft("var(--"),gt=e=>!!ht(e)&&yt.test(e.split("/*")[0].trim()),yt=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function bt(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}const vt={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},xt={...vt,transform:e=>we(0,1,e)},wt={...vt,default:1},St=e=>Math.round(1e5*e)/1e5,Tt=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,Ot=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ct=(e,t)=>o=>Boolean("string"==typeof o&&Ot.test(o)&&o.startsWith(e)||t&&!function(e){return null==e}(o)&&Object.prototype.hasOwnProperty.call(o,t)),kt=(e,t,o)=>n=>{if("string"!=typeof n)return n;const[r,i,a,s]=n.match(Tt);return{[e]:parseFloat(r),[t]:parseFloat(i),[o]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Et={...vt,transform:e=>Math.round((e=>we(0,255,e))(e))},Pt={test:Ct("rgb","red"),parse:kt("red","green","blue"),transform:({red:e,green:t,blue:o,alpha:n=1})=>"rgba("+Et.transform(e)+", "+Et.transform(t)+", "+Et.transform(o)+", "+St(xt.transform(n))+")"},Nt={test:Ct("#"),parse:function(e){let t="",o="",n="",r="";return e.length>5?(t=e.substring(1,3),o=e.substring(3,5),n=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),o=e.substring(2,3),n=e.substring(3,4),r=e.substring(4,5),t+=t,o+=o,n+=n,r+=r),{red:parseInt(t,16),green:parseInt(o,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:Pt.transform},Rt=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Mt=Rt("deg"),$t=Rt("%"),jt=Rt("px"),It=Rt("vh"),At=Rt("vw"),Lt=(()=>({...$t,parse:e=>$t.parse(e)/100,transform:e=>$t.transform(100*e)}))(),Bt={test:Ct("hsl","hue"),parse:kt("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:o,alpha:n=1})=>"hsla("+Math.round(e)+", "+$t.transform(St(t))+", "+$t.transform(St(o))+", "+St(xt.transform(n))+")"},Dt={test:e=>Pt.test(e)||Nt.test(e)||Bt.test(e),parse:e=>Pt.test(e)?Pt.parse(e):Bt.test(e)?Bt.parse(e):Nt.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?Pt.transform(e):Bt.transform(e),getAnimatableNone:e=>{const t=Dt.parse(e);return t.alpha=0,Dt.transform(t)}},zt=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Vt="number",Ft="color",Wt=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function _t(e){const t=e.toString(),o=[],n={color:[],number:[],var:[]},r=[];let i=0;const a=t.replace(Wt,e=>(Dt.test(e)?(n.color.push(i),r.push(Ft),o.push(Dt.parse(e))):e.startsWith("var(")?(n.var.push(i),r.push("var"),o.push(e)):(n.number.push(i),r.push(Vt),o.push(parseFloat(e))),++i,"${}")).split("${}");return{values:o,split:a,indexes:n,types:r}}function Ht(e){return _t(e).values}function qt(e){const{split:t,types:o}=_t(e),n=t.length;return e=>{let r="";for(let i=0;i<n;i++)if(r+=t[i],void 0!==e[i]){const t=o[i];r+=t===Vt?St(e[i]):t===Ft?Dt.transform(e[i]):e[i]}return r}}const Ut=e=>"number"==typeof e?0:Dt.test(e)?Dt.getAnimatableNone(e):e,Gt={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(Tt)?.length||0)+(e.match(zt)?.length||0)>0},parse:Ht,createTransformer:qt,getAnimatableNone:function(e){const t=Ht(e);return qt(e)(t.map(Ut))}};function Kt(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(t-e)*o:o<.5?t:o<2/3?e+(t-e)*(2/3-o)*6:e}function Xt(e,t){return o=>o>0?t:e}const Yt=(e,t,o)=>e+(t-e)*o,Zt=(e,t,o)=>{const n=e*e,r=o*(t*t-n)+n;return r<0?0:Math.sqrt(r)},Jt=[Nt,Pt,Bt];function Qt(e){const t=(e=>Jt.find(t=>t.test(e)))(e);if(Se(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!Boolean(t))return!1;let o=t.parse(e);return t===Bt&&(o=function({hue:e,saturation:t,lightness:o,alpha:n}){e/=360,o/=100;let r=0,i=0,a=0;if(t/=100){const n=o<.5?o*(1+t):o+t-o*t,s=2*o-n;r=Kt(s,n,e+1/3),i=Kt(s,n,e),a=Kt(s,n,e-1/3)}else r=i=a=o;return{red:Math.round(255*r),green:Math.round(255*i),blue:Math.round(255*a),alpha:n}}(o)),o}const eo=(e,t)=>{const o=Qt(e),n=Qt(t);if(!o||!n)return Xt(e,t);const r={...o};return e=>(r.red=Zt(o.red,n.red,e),r.green=Zt(o.green,n.green,e),r.blue=Zt(o.blue,n.blue,e),r.alpha=Yt(o.alpha,n.alpha,e),Pt.transform(r))},to=new Set(["none","hidden"]);function oo(e,t){return o=>Yt(e,t,o)}function no(e){return"number"==typeof e?oo:"string"==typeof e?gt(e)?Xt:Dt.test(e)?eo:ao:Array.isArray(e)?ro:"object"==typeof e?Dt.test(e)?eo:io:Xt}function ro(e,t){const o=[...e],n=o.length,r=e.map((e,o)=>no(e)(e,t[o]));return e=>{for(let t=0;t<n;t++)o[t]=r[t](e);return o}}function io(e,t){const o={...e,...t},n={};for(const r in o)void 0!==e[r]&&void 0!==t[r]&&(n[r]=no(e[r])(e[r],t[r]));return e=>{for(const t in n)o[t]=n[t](e);return o}}const ao=(e,t)=>{const o=Gt.createTransformer(t),n=_t(e),r=_t(t);return n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length?to.has(e)&&!r.values.length||to.has(t)&&!n.values.length?function(e,t){return to.has(e)?o=>o<=0?e:t:o=>o>=1?t:e}(e,t):Me(ro(function(e,t){const o=[],n={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){const i=t.types[r],a=e.indexes[i][n[i]],s=e.values[a]??0;o[r]=s,n[i]++}return o}(n,r),r.values),o):(Se(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Xt(e,t))};function so(e,t,o){return"number"==typeof e&&"number"==typeof t&&"number"==typeof o?Yt(e,t,o):no(e)(e,t)}const lo=e=>{const t=({timestamp:t})=>e(t);return{start:(e=!0)=>it.update(t,e),stop:()=>at(t),now:()=>st.isProcessing?st.timestamp:dt.now()}},co=(e,t,o=10)=>{let n="";const r=Math.max(Math.round(t/o),2);for(let t=0;t<r;t++)n+=Math.round(1e4*e(t/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},po=2e4;function uo(e){let t=0,o=e.next(t);for(;!o.done&&t<po;)t+=50,o=e.next(t);return t>=po?1/0:t}function fo(e,t,o){const n=Math.max(t-5,0);return Le(o-e(n),t-n)}const mo=.01,ho=2,go=.005,yo=.5;const bo=12;function vo(e,t){return e*Math.sqrt(1-t*t)}const xo=["duration","bounce"],wo=["stiffness","damping","mass"];function So(e,t){return t.some(t=>void 0!==e[t])}function To(e=.3,t=.3){const o="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:n,restDelta:r}=o;const i=o.keyframes[0],a=o.keyframes[o.keyframes.length-1],s={done:!1,value:i},{stiffness:l,damping:c,mass:p,duration:d,velocity:u,isResolvedFromDuration:f}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!So(e,wo)&&So(e,xo))if(e.visualDuration){const o=e.visualDuration,n=2*Math.PI/(1.2*o),r=n*n,i=2*we(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:1,stiffness:r,damping:i}}else{const o=function({duration:e=800,bounce:t=.3,velocity:o=0,mass:n=1}){let r,i;Se(e<=Ie(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-t;a=we(.05,1,a),e=we(.01,10,Ae(e)),a<1?(r=t=>{const n=t*a,r=n*e;return.001-(n-o)/vo(t,a)*Math.exp(-r)},i=t=>{const n=t*a*e,i=n*o+o,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-n),c=vo(Math.pow(t,2),a);return(.001-r(t)>0?-1:1)*((i-s)*l)/c}):(r=t=>Math.exp(-t*e)*((t-o)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(o-t)));const s=function(e,t,o){let n=o;for(let o=1;o<bo;o++)n-=e(n)/t(n);return n}(r,i,5/e);if(e=Ie(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*n;return{stiffness:t,damping:2*a*Math.sqrt(n*t),duration:e}}}(e);t={...t,...o,mass:1},t.isResolvedFromDuration=!0}return t}({...o,velocity:-Ae(o.velocity||0)}),m=u||0,h=c/(2*Math.sqrt(l*p)),g=a-i,y=Ae(Math.sqrt(l/p)),b=Math.abs(g)<5;let v;if(n||(n=b?mo:ho),r||(r=b?go:yo),h<1){const e=vo(y,h);v=t=>{const o=Math.exp(-h*y*t);return a-o*((m+h*y*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}}else if(1===h)v=e=>a-Math.exp(-y*e)*(g+(m+y*g)*e);else{const e=y*Math.sqrt(h*h-1);v=t=>{const o=Math.exp(-h*y*t),n=Math.min(e*t,300);return a-o*((m+h*y*g)*Math.sinh(n)+e*g*Math.cosh(n))/e}}const x={calculatedDuration:f&&d||null,next:e=>{const t=v(e);if(f)s.done=e>=d;else{let o=0===e?m:0;h<1&&(o=0===e?Ie(m):fo(v,e,t));const i=Math.abs(o)<=n,l=Math.abs(a-t)<=r;s.done=i&&l}return s.value=s.done?a:t,s},toString:()=>{const e=Math.min(uo(x),po),t=co(t=>x.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return x}function Oo({keyframes:e,velocity:t=0,power:o=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:p}){const d=e[0],u={done:!1,value:d},f=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let m=o*t;const h=d+m,g=void 0===a?h:a(h);g!==h&&(m=g-d);const y=e=>-m*Math.exp(-e/n),b=e=>g+y(e),v=e=>{const t=y(e),o=b(e);u.done=Math.abs(t)<=c,u.value=u.done?g:o};let x,w;const S=e=>{(e=>void 0!==s&&e<s||void 0!==l&&e>l)(u.value)&&(x=e,w=To({keyframes:[u.value,f(u.value)],velocity:fo(b,e,u.value),damping:r,stiffness:i,restDelta:c,restSpeed:p}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==x||(t=!0,v(e),S(e)),void 0!==x&&e>=x?w.next(e-x):(!t&&v(e),u)}}}function Co(e,t){return e.map(()=>t||Je).splice(0,e.length-1)}function ko({duration:e=300,keyframes:t,times:o,ease:n="easeInOut"}){const r=(e=>Array.isArray(e)&&"number"!=typeof e[0])(n)?n.map(tt):tt(n),i={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(o&&o.length===t.length?o:function(e){const t=[0];return function(e,t){const o=e[e.length-1];for(let n=1;n<=t;n++){const r=$e(0,t,n);e.push(Yt(o,1,r))}}(t,e.length-1),t}(t),e),s=function(e,t,{clamp:o=!0,ease:n,mixer:r}={}){const i=e.length;if(Te(i===t.length,"Both input and output ranges must be the same length","range-length"),1===i)return()=>t[0];if(2===i&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=function(e,t,o){const n=[],r=o||Oe.mix||so,i=e.length-1;for(let o=0;o<i;o++){let i=r(e[o],e[o+1]);if(t){const e=Array.isArray(t)?t[o]||Ne:t;i=Me(e,i)}n.push(i)}return n}(t,n,r),l=s.length,c=o=>{if(a&&o<e[0])return t[0];let n=0;if(l>1)for(;n<e.length-2&&!(o<e[n+1]);n++);const r=$e(e[n],e[n+1],o);return s[n](r)};return o?t=>c(we(e[0],e[i-1],t)):c}(a,t,{ease:Array.isArray(r)?r:Co(t,r)});return{calculatedDuration:e,next:t=>(i.value=s(t),i.done=t>=e,i)}}To.applyToOptions=e=>{const t=function(e,t=100){const o=To({...e,keyframes:[0,t]}),n=Math.min(uo(o),po);return{type:"keyframes",ease:e=>o.next(n*e).value/t,duration:Ae(n)}}(e,100);return e.ease=t.ease,e.duration=Ie(t.duration),e.type="keyframes",e};const Eo=e=>null!==e;function Po(e,{repeat:t,repeatType:o="loop"},n,r=1){const i=e.filter(Eo),a=r<0||t&&"loop"!==o&&t%2==1?0:i.length-1;return a&&void 0!==n?n:i[a]}const No={decay:Oo,inertia:Oo,tween:ko,keyframes:ko,spring:To};function Ro(e){"string"==typeof e.type&&(e.type=No[e.type])}class Mo{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}const $o=e=>e/100;class jo extends Mo{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:e}=this.options;e&&e.updatedAt!==dt.now()&&this.tick(dt.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},ut.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){const{options:e}=this;Ro(e);const{type:t=ko,repeat:o=0,repeatDelay:n=0,repeatType:r,velocity:i=0}=e;let{keyframes:a}=e;const s=t||ko;"production"!==process.env.NODE_ENV&&s!==ko&&Te(a.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${a}`,"spring-two-frames"),s!==ko&&"number"!=typeof a[0]&&(this.mixKeyframes=Me($o,so(a[0],a[1])),a=[0,100]);const l=s({...e,keyframes:a});"mirror"===r&&(this.mirroredGenerator=s({...e,keyframes:[...a].reverse(),velocity:-i})),null===l.calculatedDuration&&(l.calculatedDuration=uo(l));const{calculatedDuration:c}=l;this.calculatedDuration=c,this.resolvedDuration=c+n,this.totalDuration=this.resolvedDuration*(o+1)-n,this.generator=l}updateTime(e){const t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){const{generator:o,totalDuration:n,mixKeyframes:r,mirroredGenerator:i,resolvedDuration:a,calculatedDuration:s}=this;if(null===this.startTime)return o.next(0);const{delay:l=0,keyframes:c,repeat:p,repeatType:d,repeatDelay:u,type:f,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-n/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);const g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>n;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let b=this.currentTime,v=o;if(p){const e=Math.min(this.currentTime,n)/a;let t=Math.floor(e),o=e%1;!o&&e>=1&&(o=1),1===o&&t--,t=Math.min(t,p+1),Boolean(t%2)&&("reverse"===d?(o=1-o,u&&(o-=u/a)):"mirror"===d&&(v=i)),b=we(0,1,o)*a}const x=y?{done:!1,value:c[0]}:v.next(b);r&&(x.value=r(x.value));let{done:w}=x;y||null===s||(w=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);const S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return S&&f!==Oo&&(x.value=Po(c,this.options,h,this.speed)),m&&m(x.value),S&&this.finish(),x}then(e,t){return this.finished.then(e,t)}get duration(){return Ae(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+Ae(e)}get time(){return Ae(this.currentTime)}set time(e){e=Ie(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(dt.now());const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=Ae(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=lo,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();const o=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=o):null!==this.holdTime?this.startTime=o-this.holdTime:this.startTime||(this.startTime=t??o),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(dt.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,ut.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}const Io=e=>180*e/Math.PI,Ao=e=>{const t=Io(Math.atan2(e[1],e[0]));return Bo(t)},Lo={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Ao,rotateZ:Ao,skewX:e=>Io(Math.atan(e[1])),skewY:e=>Io(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Bo=e=>((e%=360)<0&&(e+=360),e),Do=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),zo=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Vo={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Do,scaleY:zo,scale:e=>(Do(e)+zo(e))/2,rotateX:e=>Bo(Io(Math.atan2(e[6],e[5]))),rotateY:e=>Bo(Io(Math.atan2(-e[2],e[0]))),rotateZ:Ao,rotate:Ao,skewX:e=>Io(Math.atan(e[4])),skewY:e=>Io(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Fo(e){return e.includes("scale")?1:0}function Wo(e,t){if(!e||"none"===e)return Fo(t);const o=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,r;if(o)n=Vo,r=o;else{const t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=Lo,r=t}if(!r)return Fo(t);const i=n[t],a=r[1].split(",").map(_o);return"function"==typeof i?i(a):a[i]}function _o(e){return parseFloat(e.trim())}const Ho=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],qo=(()=>new Set(Ho))(),Uo=e=>e===vt||e===jt,Go=new Set(["x","y","z"]),Ko=Ho.filter(e=>!Go.has(e)),Xo={width:({x:e},{paddingLeft:t="0",paddingRight:o="0"})=>e.max-e.min-parseFloat(t)-parseFloat(o),height:({y:e},{paddingTop:t="0",paddingBottom:o="0"})=>e.max-e.min-parseFloat(t)-parseFloat(o),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Wo(t,"x"),y:(e,{transform:t})=>Wo(t,"y")};Xo.translateX=Xo.x,Xo.translateY=Xo.y;const Yo=new Set;let Zo=!1,Jo=!1,Qo=!1;function en(){if(Jo){const e=Array.from(Yo).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),o=new Map;t.forEach(e=>{const t=function(e){const t=[];return Ko.forEach(o=>{const n=e.getValue(o);void 0!==n&&(t.push([o,n.get()]),n.set(o.startsWith("scale")?1:0))}),t}(e);t.length&&(o.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();const t=o.get(e);t&&t.forEach(([t,o])=>{e.getValue(t)?.set(o)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}Jo=!1,Zo=!1,Yo.forEach(e=>e.complete(Qo)),Yo.clear()}function tn(){Yo.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Jo=!0)})}class on{constructor(e,t,o,n,r,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=o,this.motionValue=n,this.element=r,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(Yo.add(this),Zo||(Zo=!0,it.read(tn),it.resolveKeyframes(en))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:o,motionValue:n}=this;if(null===e[0]){const r=n?.get(),i=e[e.length-1];if(void 0!==r)e[0]=r;else if(o&&t){const n=o.readValue(t,i);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=i),n&&void 0===r&&n.set(e[0])}!function(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Yo.delete(this)}cancel(){"scheduled"===this.state&&(Yo.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}const nn=Pe(()=>void 0!==window.ScrollTimeline),rn={};function an(e,t){const o=Pe(e);return()=>rn[t]??o()}const sn=an(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),ln=([e,t,o,n])=>`cubic-bezier(${e}, ${t}, ${o}, ${n})`,cn={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ln([0,.65,.55,1]),circOut:ln([.55,0,1,.45]),backIn:ln([.31,.01,.66,-.59]),backOut:ln([.33,1.53,.69,.99])};function pn(e,t){return e?"function"==typeof e?sn()?co(e,t):"ease-out":Qe(e)?ln(e):Array.isArray(e)?e.map(e=>pn(e,t)||cn.easeOut):cn[e]:void 0}function dn(e,t,o,{delay:n=0,duration:r=300,repeat:i=0,repeatType:a="loop",ease:s="easeOut",times:l}={},c=void 0){const p={[t]:o};l&&(p.offset=l);const d=pn(s,r);Array.isArray(d)&&(p.easing=d);const u={delay:n,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"};return c&&(u.pseudoElement=c),e.animate(p,u)}function un(e){return"function"==typeof e&&"applyToOptions"in e}class fn extends Mo{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:o,keyframes:n,pseudoElement:r,allowFlatten:i=!1,finalKeyframe:a,onComplete:s}=e;this.isPseudoElement=Boolean(r),this.allowFlatten=i,this.options=e,Te("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return un(e)&&sn()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=dn(t,o,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const e=Po(n,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(e):function(e,t,o){(e=>e.startsWith("--"))(t)?e.style.setProperty(t,o):e.style[t]=o}(t,o,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return Ae(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+Ae(e)}get time(){return Ae(Number(this.animation.currentTime)||0)}set time(e){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ie(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&nn()?(this.animation.timeline=e,Ne):t(this)}}const mn={anticipate:Ue,backInOut:qe,circInOut:Xe};class hn extends fn{constructor(e){var t;"string"==typeof(t=e).ease&&t.ease in mn&&(t.ease=mn[t.ease]),Ro(e),super(e),void 0!==e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:t,onUpdate:o,onComplete:n,element:r,...i}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);const a=new jo({...i,autoplay:!1}),s=Math.max(10,dt.now()-this.startTime),l=we(0,10,s-10);t.setWithVelocity(a.sample(Math.max(0,s-l)).value,a.sample(s).value,l),a.stop()}}const gn=(e,t)=>!("zIndex"===t||"number"!=typeof e&&!Array.isArray(e)&&("string"!=typeof e||!Gt.test(e)&&"0"!==e||e.startsWith("url(")));function yn(e){e.duration=0,e.type="keyframes"}const bn=new Set(["opacity","clipPath","filter","transform"]),vn=Pe(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class xn extends Mo{constructor({autoplay:e=!0,delay:t=0,type:o="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:i="loop",keyframes:a,name:s,motionValue:l,element:c,...p}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=dt.now();const d={autoplay:e,delay:t,type:o,repeat:n,repeatDelay:r,repeatType:i,name:s,motionValue:l,element:c,...p},u=c?.KeyframeResolver||on;this.keyframeResolver=new u(a,(e,t,o)=>this.onKeyframesResolved(e,t,d,!o),s,l,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,o,n){this.keyframeResolver=void 0;const{name:r,type:i,velocity:a,delay:s,isHandoff:l,onUpdate:c}=o;this.resolvedAt=dt.now(),function(e,t,o,n){const r=e[0];if(null===r)return!1;if("display"===t||"visibility"===t)return!0;const i=e[e.length-1],a=gn(r,t),s=gn(i,t);return Se(a===s,`You are trying to animate ${t} from "${r}" to "${i}". "${a?i:r}" is not an animatable value.`,"value-not-animatable"),!(!a||!s)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let o=0;o<e.length;o++)if(e[o]!==t)return!0}(e)||("spring"===o||un(o))&&n)}(e,r,i,a)||(!Oe.instantAnimations&&s||c?.(Po(e,o,t)),e[0]=e[e.length-1],yn(o),o.repeat=0);const p={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...o,keyframes:e},d=!l&&function(e){const{motionValue:t,name:o,repeatDelay:n,repeatType:r,damping:i,type:a}=e,s=t?.owner?.current;if(!(s instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=t.owner.getProps();return vn()&&o&&bn.has(o)&&("transform"!==o||!c)&&!l&&!n&&"mirror"!==r&&0!==i&&"inertia"!==a}(p)?new hn({...p,element:p.motionValue.owner.current}):new jo(p);d.finished.then(()=>this.notifyFinished()).catch(Ne),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Qo=!0,tn(),en(),Qo=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const wn=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Sn(e,t,o=1){Te(o<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[n,r]=function(e){const t=wn.exec(e);if(!t)return[,];const[,o,n,r]=t;return[`--${o??n}`,r]}(e);if(!n)return;const i=window.getComputedStyle(t).getPropertyValue(n);if(i){const e=i.trim();return Ce(e)?parseFloat(e):e}return gt(r)?Sn(r,t,o+1):r}function Tn(e,t){return e?.[t]??e?.default??e}const On=new Set(["width","height","top","left","right","bottom",...Ho]),Cn=e=>t=>t.test(e),kn=[vt,jt,$t,Mt,At,It,{test:e=>"auto"===e,parse:e=>e}],En=e=>kn.find(Cn(e));function Pn(e){return"number"==typeof e?0===e:null===e||"none"===e||"0"===e||Ee(e)}const Nn=new Set(["brightness","contrast","saturate","opacity"]);function Rn(e){const[t,o]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[n]=o.match(Tt)||[];if(!n)return e;const r=o.replace(n,"");let i=Nn.has(t)?1:0;return n!==o&&(i*=100),t+"("+i+r+")"}const Mn=/\b([a-z-]*)\(.*?\)/gu,$n={...Gt,getAnimatableNone:e=>{const t=e.match(Mn);return t?t.map(Rn).join(" "):e}},jn={...vt,transform:Math.round},In={borderWidth:jt,borderTopWidth:jt,borderRightWidth:jt,borderBottomWidth:jt,borderLeftWidth:jt,borderRadius:jt,radius:jt,borderTopLeftRadius:jt,borderTopRightRadius:jt,borderBottomRightRadius:jt,borderBottomLeftRadius:jt,width:jt,maxWidth:jt,height:jt,maxHeight:jt,top:jt,right:jt,bottom:jt,left:jt,inset:jt,insetBlock:jt,insetBlockStart:jt,insetBlockEnd:jt,insetInline:jt,insetInlineStart:jt,insetInlineEnd:jt,padding:jt,paddingTop:jt,paddingRight:jt,paddingBottom:jt,paddingLeft:jt,paddingBlock:jt,paddingBlockStart:jt,paddingBlockEnd:jt,paddingInline:jt,paddingInlineStart:jt,paddingInlineEnd:jt,margin:jt,marginTop:jt,marginRight:jt,marginBottom:jt,marginLeft:jt,marginBlock:jt,marginBlockStart:jt,marginBlockEnd:jt,marginInline:jt,marginInlineStart:jt,marginInlineEnd:jt,backgroundPositionX:jt,backgroundPositionY:jt,rotate:Mt,rotateX:Mt,rotateY:Mt,rotateZ:Mt,scale:wt,scaleX:wt,scaleY:wt,scaleZ:wt,skew:Mt,skewX:Mt,skewY:Mt,distance:jt,translateX:jt,translateY:jt,translateZ:jt,x:jt,y:jt,z:jt,perspective:jt,transformPerspective:jt,opacity:xt,originX:Lt,originY:Lt,originZ:jt,zIndex:jn,fillOpacity:xt,strokeOpacity:xt,numOctaves:jn},An={...In,color:Dt,backgroundColor:Dt,outlineColor:Dt,fill:Dt,stroke:Dt,borderColor:Dt,borderTopColor:Dt,borderRightColor:Dt,borderBottomColor:Dt,borderLeftColor:Dt,filter:$n,WebkitFilter:$n},Ln=e=>An[e];function Bn(e,t){let o=Ln(e);return o!==$n&&(o=Gt),o.getAnimatableNone?o.getAnimatableNone(t):void 0}const Dn=new Set(["auto","none","0"]);class zn extends on{constructor(e,t,o,n,r){super(e,t,o,n,r,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:o}=this;if(!t||!t.current)return;super.readKeyframes();for(let o=0;o<e.length;o++){let n=e[o];if("string"==typeof n&&(n=n.trim(),gt(n))){const r=Sn(n,t.current);void 0!==r&&(e[o]=r),o===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!On.has(o)||2!==e.length)return;const[n,r]=e,i=En(n),a=En(r);if(bt(n)!==bt(r)&&Xo[o])this.needsMeasurement=!0;else if(i!==a)if(Uo(i)&&Uo(a))for(let t=0;t<e.length;t++){const o=e[t];"string"==typeof o&&(e[t]=parseFloat(o))}else Xo[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,o=[];for(let t=0;t<e.length;t++)(null===e[t]||Pn(e[t]))&&o.push(t);o.length&&function(e,t,o){let n,r=0;for(;r<e.length&&!n;){const t=e[r];"string"==typeof t&&!Dn.has(t)&&_t(t).values.length&&(n=e[r]),r++}if(n&&o)for(const r of t)e[r]=Bn(o,n)}(e,o,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:o}=this;if(!e||!e.current)return;"height"===o&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Xo[o](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const n=t[t.length-1];void 0!==n&&e.getValue(o,n).jump(n,!1)}measureEndState(){const{element:e,name:t,unresolvedKeyframes:o}=this;if(!e||!e.current)return;const n=e.getValue(t);n&&n.jump(this.measuredOrigin,!1);const r=o.length-1,i=o[r];o[r]=Xo[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==i&&void 0===this.finalKeyframe&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,o])=>{e.getValue(t).set(o)}),this.resolveNoneKeyframes()}}const Vn=(e,t)=>t&&"number"==typeof e?t.transform(e):e;class Fn{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{const t=dt.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=dt.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return"production"!==process.env.NODE_ENV&&De(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new je);const o=this.events[e].add(t);return"change"===e?()=>{o(),it.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,o){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-o}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=dt.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return Le(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Wn(e,t){return new Fn(e,t)}const{schedule:_n,cancel:Hn}=rt(queueMicrotask,!1),qn={x:!1,y:!1};function Un(){return qn.x||qn.y}function Gn(e,t){const o=function(e){if(e instanceof EventTarget)return[e];if("string"==typeof e){let t=document;const o=t.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}(e),n=new AbortController;return[o,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function Kn(e){return!("touch"===e.pointerType||Un())}const Xn=(e,t)=>!!t&&(e===t||Xn(e,t.parentElement)),Yn=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,Zn=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Jn(e){return Zn.has(e.tagName)||!0===e.isContentEditable}const Qn=new WeakSet;function er(e){return t=>{"Enter"===t.key&&e(t)}}function tr(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function or(e){return Yn(e)&&!Un()}function nr(e){return ke(e)&&"ownerSVGElement"in e}const rr=e=>Boolean(e&&e.getVelocity),ir=[...kn,Dt,Gt],ar=a({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),sr=a({strict:!1}),lr={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},cr={};for(const e in lr)cr[e]={isEnabled:t=>lr[e].some(e=>!!t[e])};const pr=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function dr(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||pr.has(e)}let ur=e=>!dr(e);try{"function"==typeof(fr=require("@emotion/is-prop-valid").default)&&(ur=e=>e.startsWith("on")?!dr(e):fr(e))}catch{}var fr;const mr=a({});function hr(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function gr(e){return"string"==typeof e||Array.isArray(e)}const yr=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],br=["initial",...yr];function vr(e){return hr(e.animate)||br.some(t=>gr(e[t]))}function xr(e){return Boolean(vr(e)||e.variants)}function wr(e){return Array.isArray(e)?e.join(" "):e}function Sr(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Tr={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!jt.test(e))return e;e=parseFloat(e)}return`${Sr(e,t.target.x)}% ${Sr(e,t.target.y)}%`}},Or={correct:(e,{treeScale:t,projectionDelta:o})=>{const n=e,r=Gt.parse(e);if(r.length>5)return n;const i=Gt.createTransformer(e),a="number"!=typeof r[0]?1:0,s=o.x.scale*t.x,l=o.y.scale*t.y;r[0+a]/=s,r[1+a]/=l;const c=Yt(s,l,.5);return"number"==typeof r[2+a]&&(r[2+a]/=c),"number"==typeof r[3+a]&&(r[3+a]/=c),i(r)}},Cr={borderRadius:{...Tr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Tr,borderTopRightRadius:Tr,borderBottomLeftRadius:Tr,borderBottomRightRadius:Tr,boxShadow:Or};function kr(e,{layout:t,layoutId:o}){return qo.has(e)||e.startsWith("origin")||(t||void 0!==o)&&(!!Cr[e]||"opacity"===e)}const Er={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Pr=Ho.length;function Nr(e,t,o){const{style:n,vars:r,transformOrigin:i}=e;let a=!1,s=!1;for(const e in t){const o=t[e];if(qo.has(e))a=!0;else if(mt(e))r[e]=o;else{const t=Vn(o,In[e]);e.startsWith("origin")?(s=!0,i[e]=t):n[e]=t}}if(t.transform||(a||o?n.transform=function(e,t,o){let n="",r=!0;for(let i=0;i<Pr;i++){const a=Ho[i],s=e[a];if(void 0===s)continue;let l=!0;if(l="number"==typeof s?s===(a.startsWith("scale")?1:0):0===parseFloat(s),!l||o){const e=Vn(s,In[a]);l||(r=!1,n+=`${Er[a]||a}(${e}) `),o&&(t[a]=e)}}return n=n.trim(),o?n=o(t,r?"":n):r&&(n="none"),n}(t,e.transform,o):n.transform&&(n.transform="none")),s){const{originX:e="50%",originY:t="50%",originZ:o=0}=i;n.transformOrigin=`${e} ${t} ${o}`}}function Rr(e,t,o){for(const n in t)rr(t[n])||kr(n,o)||(e[n]=t[n])}function Mr(e,t){const o={},n=function(e,t){const o={};return Rr(o,e.style||{},e),Object.assign(o,function({transformTemplate:e},t){return f(()=>{const o={style:{},transform:{},transformOrigin:{},vars:{}};return Nr(o,t,e),Object.assign({},o.vars,o.style)},[t])}(e,t)),o}(e,t);return e.drag&&!1!==e.dragListener&&(o.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(o.tabIndex=0),o.style=n,o}const $r={offset:"stroke-dashoffset",array:"stroke-dasharray"},jr={offset:"strokeDashoffset",array:"strokeDasharray"},Ir=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Ar(e,{attrX:t,attrY:o,attrScale:n,pathLength:r,pathSpacing:i=1,pathOffset:a=0,...s},l,c,p){if(Nr(e,s,c),l)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:d,style:u}=e;d.transform&&(u.transform=d.transform,delete d.transform),(u.transform||d.transformOrigin)&&(u.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),u.transform&&(u.transformBox=p?.transformBox??"fill-box",delete d.transformBox);for(const e of Ir)void 0!==d[e]&&(u[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==o&&(d.y=o),void 0!==n&&(d.scale=n),void 0!==r&&function(e,t,o=1,n=0,r=!0){e.pathLength=1;const i=r?$r:jr;e[i.offset]=jt.transform(-n);const a=jt.transform(t),s=jt.transform(o);e[i.array]=`${a} ${s}`}(d,r,i,a,!1)}const Lr=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Br(e,t,o,n){const r=f(()=>{const o={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Ar(o,t,Lr(n),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const t={};Rr(t,e.style,e),r.style={...t,...r.style}}return r}const Dr=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function zr(e){return"string"==typeof e&&!e.includes("-")&&!!(Dr.indexOf(e)>-1||/[A-Z]/u.test(e))}function Vr(e,t,o,{latestValues:n},r,i=!1,a){const s=(a??zr(e)?Br:Mr)(t,n,r,e),l=function(e,t,o){const n={};for(const r in e)"values"===r&&"object"==typeof e.values||(ur(r)||!0===o&&dr(r)||!t&&!dr(r)||e.draggable&&r.startsWith("onDrag"))&&(n[r]=e[r]);return n}(t,"string"==typeof e,i),c=e!==m?{...l,...s,ref:o}:{},{children:p}=t,d=f(()=>rr(p)?p.get():p,[p]);return h(e,{...c,children:d})}function Fr(e){const t=[{},{}];return e?.values.forEach((e,o)=>{t[0][o]=e.get(),t[1][o]=e.getVelocity()}),t}function Wr(e,t,o,n){if("function"==typeof t){const[r,i]=Fr(n);t=t(void 0!==o?o:e.custom,r,i)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[r,i]=Fr(n);t=t(void 0!==o?o:e.custom,r,i)}return t}function _r(e){return rr(e)?e.get():e}function Hr(e,t,o,n){const r={},i=n(e,{});for(const e in i)r[e]=_r(i[e]);let{initial:a,animate:s}=e;const l=vr(e),c=xr(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let p=!!o&&!1===o.initial;p=p||!1===a;const d=p?s:a;if(d&&"boolean"!=typeof d&&!hr(d)){const t=Array.isArray(d)?d:[d];for(let o=0;o<t.length;o++){const n=Wr(e,t[o]);if(n){const{transitionEnd:e,transition:t,...o}=n;for(const e in o){let t=o[e];Array.isArray(t)&&(t=t[p?t.length-1:0]),null!==t&&(r[e]=t)}for(const t in e)r[t]=e[t]}}}return r}const qr=e=>(t,o)=>{const n=p(mr),r=p(be),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t},o,n,r){return{latestValues:Hr(o,n,r,e),renderState:t()}}(e,t,n,r);return o?i():function(e){const t=s(null);return null===t.current&&(t.current=e()),t.current}(i)};function Ur(e,t,o){const{style:n}=e,r={};for(const i in n)(rr(n[i])||t.style&&rr(t.style[i])||kr(i,e)||void 0!==o?.getValue(i)?.liveStyle)&&(r[i]=n[i]);return r}const Gr=qr({scrapeMotionValuesFromProps:Ur,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{}})});function Kr(e,t,o){const n=Ur(e,t,o);for(const o in e)(rr(e[o])||rr(t[o]))&&(n[-1!==Ho.indexOf(o)?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o]=e[o]);return n}const Xr=qr({scrapeMotionValuesFromProps:Kr,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}})}),Yr=Symbol.for("motionComponentSymbol");function Zr(e,t,o){const n=s(o);g(()=>{n.current=o});const r=s(null);return u(o=>{o&&e.onMount?.(o),t&&(o?t.mount(o):t.unmount());const i=n.current;if("function"==typeof i)if(o){const e=i(o);"function"==typeof e&&(r.current=e)}else r.current?(r.current(),r.current=null):i(o);else i&&(i.current=o)},[t])}const Jr=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Qr="data-"+Jr("framerAppearId"),ei=a({});function ti(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function oi(e,t,o,n,r,i){const{visualElement:a}=p(mr),l=p(sr),d=p(be),u=p(ar).reducedMotion,f=s(null);n=n||l.renderer,!f.current&&n&&(f.current=n(e,{visualState:t,parent:a,props:o,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:u,isSVG:i}));const m=f.current,h=p(ei);!m||m.projection||!r||"html"!==m.type&&"svg"!==m.type||function(e,t,o,n){const{layoutId:r,layout:i,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:c,layoutCrossfade:p}=t;e.projection=new o(e.latestValues,t["data-framer-portal-id"]?void 0:ni(e.parent)),e.projection.setOptions({layoutId:r,layout:i,alwaysMeasureLayout:Boolean(a)||s&&ti(s),visualElement:e,animationType:"string"==typeof i?i:"both",initialPromotionConfig:n,crossfade:p,layoutScroll:l,layoutRoot:c})}(f.current,o,r,h);const y=s(!1);g(()=>{m&&y.current&&m.update(o,d)});const b=o[Qr],v=s(Boolean(b)&&!window.MotionHandoffIsComplete?.(b)&&window.MotionHasOptimisedAnimation?.(b));return ye(()=>{m&&(y.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),c(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(b)}),v.current=!1),m.enteringChildren=void 0)}),m}function ni(e){if(e)return!1!==e.options.allowProjection?e.projection:ni(e.parent)}function ri(o,{forwardMotionProps:n=!1,type:r}={},i,a){i&&function(e){for(const t in e)cr[t]={...cr[t],...e[t]}}(i);const s=r?"svg"===r:zr(o),l=s?Xr:Gr;function c(r,c){let d;const u={...p(ar),...r,layoutId:ii(r)},{isStatic:m}=u,h=function(e){const{initial:t,animate:o}=function(e,t){if(vr(e)){const{initial:t,animate:o}=e;return{initial:!1===t||gr(t)?t:void 0,animate:gr(o)?o:void 0}}return!1!==e.inherit?t:{}}(e,p(mr));return f(()=>({initial:t,animate:o}),[wr(t),wr(o)])}(r),g=l(r,m);if(!m&&ge){!function(e,t){const o=p(sr).strict;if("production"!==process.env.NODE_ENV&&t&&o){const t="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Se(!1,t,"lazy-strict-mode"):Te(!1,t,"lazy-strict-mode")}}(u,i);const e=function(e){const{drag:t,layout:o}=cr;if(!t&&!o)return{};const n={...t,...o};return{MeasureLayout:t?.isEnabled(e)||o?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(u);d=e.MeasureLayout,h.visualElement=oi(o,g,u,a,e.ProjectionNode,s)}return t(mr.Provider,{value:h,children:[d&&h.visualElement?e(d,{visualElement:h.visualElement,...u}):null,Vr(o,r,Zr(g,h.visualElement,c),g,m,n,s)]})}c.displayName=`motion.${"string"==typeof o?o:`create(${o.displayName??o.name??""})`}`;const d=y(c);return d[Yr]=o,d}function ii({layoutId:e}){const t=p(he).id;return t&&void 0!==e?t+"-"+e:e}function ai(e,t){if("undefined"==typeof Proxy)return ri;const o=new Map,n=(o,n)=>ri(o,n,e,t);return new Proxy((e,t)=>("production"!==process.env.NODE_ENV&&De(!1,"motion() is deprecated. Use motion.create() instead."),n(e,t)),{get:(r,i)=>"create"===i?n:(o.has(i)||o.set(i,ri(i,void 0,e,t)),o.get(i))})}function si({top:e,left:t,right:o,bottom:n}){return{x:{min:t,max:o},y:{min:e,max:n}}}function li(e){return void 0===e||1===e}function ci({scale:e,scaleX:t,scaleY:o}){return!li(e)||!li(t)||!li(o)}function pi(e){return ci(e)||di(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function di(e){return ui(e.x)||ui(e.y)}function ui(e){return e&&"0%"!==e}function fi(e,t,o){return o+t*(e-o)}function mi(e,t,o,n,r){return void 0!==r&&(e=fi(e,r,n)),fi(e,o,n)+t}function hi(e,t=0,o=1,n,r){e.min=mi(e.min,t,o,n,r),e.max=mi(e.max,t,o,n,r)}function gi(e,{x:t,y:o}){hi(e.x,t.translate,t.scale,t.originPoint),hi(e.y,o.translate,o.scale,o.originPoint)}const yi=.999999999999,bi=1.0000000000001;function vi(e,t){e.min=e.min+t,e.max=e.max+t}function xi(e,t,o,n,r=.5){hi(e,t,o,Yt(e.min,e.max,r),n)}function wi(e,t){xi(e.x,t.x,t.scaleX,t.scale,t.originX),xi(e.y,t.y,t.scaleY,t.scale,t.originY)}function Si(e,t){return si(function(e,t){if(!t)return e;const o=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:o.y,left:o.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}const Ti=()=>({x:{min:0,max:0},y:{min:0,max:0}}),Oi={current:null},Ci={current:!1},ki=new WeakMap,Ei=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Pi{scrapeMotionValuesFromProps(e,t,o){return{}}constructor({parent:e,props:t,presenceContext:o,reducedMotionConfig:n,blockInitialAnimation:r,visualState:i},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=on,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=dt.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,it.render(this.render,!1,!0))};const{latestValues:s,renderState:l}=i;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=o,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=a,this.blockInitialAnimation=Boolean(r),this.isControllingVariants=vr(t),this.isVariantNode=xr(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:c,...p}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in p){const t=p[e];void 0!==s[e]&&rr(t)&&t.set(s[e])}}mount(e){this.current=e,ki.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(Ci.current||function(){if(Ci.current=!0,ge)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Oi.current=e.matches;e.addEventListener("change",t),t()}else Oi.current=!1}(),this.shouldReduceMotion=Oi.current),"production"!==process.env.NODE_ENV&&De(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),at(this.notifyUpdate),at(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const o=qo.has(e);o&&this.onBindTransform&&this.onBindTransform();const n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&it.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{n(),r&&r(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in cr){const t=cr[e];if(!t)continue;const{isEnabled:o,Feature:n}=t;if(!this.features[e]&&n&&o(this.props)&&(this.features[e]=new n(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Ei.length;t++){const o=Ei[t];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const n=e["on"+o];n&&(this.propEventSubscriptions[o]=this.on(o,n))}this.prevMotionValues=function(e,t,o){for(const n in t){const r=t[n],i=o[n];if(rr(r))e.addValue(n,r);else if(rr(i))e.addValue(n,Wn(r,{owner:e}));else if(i!==r)if(e.hasValue(n)){const t=e.getValue(n);!0===t.liveStyle?t.jump(r):t.hasAnimated||t.set(r)}else{const t=e.getStaticValue(n);e.addValue(n,Wn(void 0!==t?t:r,{owner:e}))}}for(const n in o)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const o=this.values.get(e);t!==o&&(o&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let o=this.values.get(e);return void 0===o&&void 0!==t&&(o=Wn(null===t?void 0:t,{owner:this}),this.addValue(e,o)),o}readValue(e,t){let o=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=o&&("string"==typeof o&&(Ce(o)||Ee(o))?o=parseFloat(o):!(e=>ir.find(Cn(e)))(o)&&Gt.test(t)&&(o=Bn(e,t)),this.setBaseTarget(e,rr(o)?o.get():o)),rr(o)?o.get():o}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){const{initial:t}=this.props;let o;if("string"==typeof t||"object"==typeof t){const n=Wr(this.props,t,this.presenceContext?.custom);n&&(o=n[e])}if(t&&void 0!==o)return o;const n=this.getBaseTargetFromProps(this.props,e);return void 0===n||rr(n)?void 0!==this.initialValues[e]&&void 0===o?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new je),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){_n.render(this.render)}}class Ni extends Pi{constructor(){super(...arguments),this.KeyframeResolver=zn}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:o}){delete t[e],delete o[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;rr(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function Ri(e,{style:t,vars:o},n,r){const i=e.style;let a;for(a in t)i[a]=t[a];for(a in r?.applyProjectionStyles(i,n),o)i.setProperty(a,o[a])}class Mi extends Ni{constructor(){super(...arguments),this.type="html",this.renderInstance=Ri}readValueFromInstance(e,t){if(qo.has(t))return this.projection?.isProjecting?Fo(t):((e,t)=>{const{transform:o="none"}=getComputedStyle(e);return Wo(o,t)})(e,t);{const n=(o=e,window.getComputedStyle(o)),r=(mt(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}var o}measureInstanceViewportBox(e,{transformPagePoint:t}){return Si(e,t)}build(e,t,o){Nr(e,t,o.transformTemplate)}scrapeMotionValuesFromProps(e,t,o){return Ur(e,t,o)}}const $i=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);class ji extends Ni{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ti}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(qo.has(t)){const e=Ln(t);return e&&e.default||0}return t=$i.has(t)?t:Jr(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,o){return Kr(e,t,o)}build(e,t,o){Ar(e,t,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(e,t,o,n){!function(e,t,o,n){Ri(e,t,void 0,n);for(const o in t.attrs)e.setAttribute($i.has(o)?o:Jr(o),t.attrs[o])}(e,t,0,n)}mount(e){this.isSVGTag=Lr(e.tagName),super.mount(e)}}const Ii=(e,t)=>t.isSVG??zr(e)?new ji(t):new Mi(t,{allowProjection:e!==m});function Ai(e,t,o){const n=e.getProps();return Wr(n,t,void 0!==o?o:n.custom,e)}const Li=e=>Array.isArray(e);function Bi(e,t,o){e.hasValue(t)?e.getValue(t).set(o):e.addValue(t,Wn(o))}function Di(e){return Li(e)?e[e.length-1]||0:e}function zi(e,t){const o=e.getValue("willChange");if(n=o,Boolean(rr(n)&&n.add))return o.add(t);if(!o&&Oe.WillChange){const o=new Oe.WillChange("auto");e.addValue("willChange",o),o.add(t)}var n}function Vi(e){return e.props[Qr]}const Fi=e=>null!==e,Wi={type:"spring",stiffness:500,damping:25,restSpeed:10},_i={type:"keyframes",duration:.8},Hi={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},qi=(e,t,o,n={},r,i)=>a=>{const s=Tn(n,e)||{},l=s.delay||n.delay||0;let{elapsed:c=0}=n;c-=Ie(l);const p={keyframes:Array.isArray(o)?o:[null,o],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-c,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:i?void 0:r};(function({when:e,delay:t,delayChildren:o,staggerChildren:n,staggerDirection:r,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:c,...p}){return!!Object.keys(p).length})(s)||Object.assign(p,((e,{keyframes:t})=>t.length>2?_i:qo.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Wi:Hi)(e,p)),p.duration&&(p.duration=Ie(p.duration)),p.repeatDelay&&(p.repeatDelay=Ie(p.repeatDelay)),void 0!==p.from&&(p.keyframes[0]=p.from);let d=!1;if((!1===p.type||0===p.duration&&!p.repeatDelay)&&(yn(p),0===p.delay&&(d=!0)),(Oe.instantAnimations||Oe.skipAnimations)&&(d=!0,yn(p),p.delay=0),p.allowFlatten=!s.type&&!s.ease,d&&!i&&void 0!==t.get()){const e=function(e,{repeat:t,repeatType:o="loop"},n){const r=e.filter(Fi),i=t&&"loop"!==o&&t%2==1?0:r.length-1;return i&&void 0!==n?n:r[i]}(p.keyframes,s);if(void 0!==e)return void it.update(()=>{p.onUpdate(e),p.onComplete()})}return s.isSync?new jo(p):new xn(p)};function Ui({protectedKeys:e,needsAnimating:t},o){const n=e.hasOwnProperty(o)&&!0!==t[o];return t[o]=!1,n}function Gi(e,t,{delay:o=0,transitionOverride:n,type:r}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:a,...s}=t;n&&(i=n);const l=[],c=r&&e.animationState&&e.animationState.getState()[r];for(const t in s){const n=e.getValue(t,e.latestValues[t]??null),r=s[t];if(void 0===r||c&&Ui(c,t))continue;const a={delay:o,...Tn(i||{},t)},p=n.get();if(void 0!==p&&!n.isAnimating&&!Array.isArray(r)&&r===p&&!a.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){const o=Vi(e);if(o){const e=window.MotionHandoffAnimation(o,t,it);null!==e&&(a.startTime=e,d=!0)}}zi(e,t),n.start(qi(t,n,r,e.shouldReduceMotion&&On.has(t)?{type:!1}:a,e,d));const u=n.animation;u&&l.push(u)}return a&&Promise.all(l).then(()=>{it.update(()=>{a&&function(e,t){const o=Ai(e,t);let{transitionEnd:n={},transition:r={},...i}=o||{};i={...i,...n};for(const t in i)Bi(e,t,Di(i[t]))}(e,a)})}),l}function Ki(e,t,o,n=0,r=1){const i=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),a=e.size,s=(a-1)*n;return"function"==typeof o?o(i,a):1===r?i*n:s-i*n}function Xi(e,t,o={}){const n=Ai(e,t,"exit"===o.type?e.presenceContext?.custom:void 0);let{transition:r=e.getDefaultTransition()||{}}=n||{};o.transitionOverride&&(r=o.transitionOverride);const i=n?()=>Promise.all(Gi(e,n,o)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(n=0)=>{const{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=r;return function(e,t,o=0,n=0,r=0,i=1,a){const s=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),s.push(Xi(l,t,{...a,delay:o+("function"==typeof n?0:n)+Ki(e.variantChildren,l,n,r,i)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(s)}(e,t,n,i,a,s,o)}:()=>Promise.resolve(),{when:s}=r;if(s){const[e,t]="beforeChildren"===s?[i,a]:[a,i];return e().then(()=>t())}return Promise.all([i(),a(o.delay)])}function Yi(e,t){if(!Array.isArray(t))return!1;const o=t.length;if(o!==e.length)return!1;for(let n=0;n<o;n++)if(t[n]!==e[n])return!1;return!0}const Zi=br.length;function Ji(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&Ji(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let o=0;o<Zi;o++){const n=br[o],r=e.props[n];(gr(r)||!1===r)&&(t[n]=r)}return t}const Qi=[...yr].reverse(),ea=yr.length;function ta(e){let t=function(e){return t=>Promise.all(t.map(({animation:t,options:o})=>function(e,t,o={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t)){const r=t.map(t=>Xi(e,t,o));n=Promise.all(r)}else if("string"==typeof t)n=Xi(e,t,o);else{const r="function"==typeof t?Ai(e,t,o.custom):t;n=Promise.all(Gi(e,r,o))}return n.then(()=>{e.notify("AnimationComplete",t)})}(e,t,o)))}(e),o=ra(),n=!0;const r=t=>(o,n)=>{const r=Ai(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(r){const{transition:e,transitionEnd:t,...n}=r;o={...o,...n,...t}}return o};function i(i){const{props:a}=e,s=Ji(e.parent)||{},l=[],c=new Set;let p={},d=1/0;for(let t=0;t<ea;t++){const u=Qi[t],f=o[u],m=void 0!==a[u]?a[u]:s[u],h=gr(m),g=u===i?f.isActive:null;!1===g&&(d=t);let y=m===s[u]&&m!==a[u]&&h;if(y&&n&&e.manuallyAnimateOnMount&&(y=!1),f.protectedKeys={...p},!f.isActive&&null===g||!m&&!f.prevProp||hr(m)||"boolean"==typeof m)continue;const b=oa(f.prevProp,m);let v=b||u===i&&f.isActive&&!y&&h||t>d&&h,x=!1;const w=Array.isArray(m)?m:[m];let S=w.reduce(r(u),{});!1===g&&(S={});const{prevResolvedValues:T={}}=f,O={...T,...S},C=t=>{v=!0,c.has(t)&&(x=!0,c.delete(t)),f.needsAnimating[t]=!0;const o=e.getValue(t);o&&(o.liveStyle=!1)};for(const e in O){const t=S[e],o=T[e];if(p.hasOwnProperty(e))continue;let n=!1;n=Li(t)&&Li(o)?!Yi(t,o):t!==o,n?null!=t?C(e):c.add(e):void 0!==t&&c.has(e)?C(e):f.protectedKeys[e]=!0}f.prevProp=m,f.prevResolvedValues=S,f.isActive&&(p={...p,...S}),n&&e.blockInitialAnimation&&(v=!1);const k=y&&b;v&&(!k||x)&&l.push(...w.map(t=>{const o={type:u};if("string"==typeof t&&n&&!k&&e.manuallyAnimateOnMount&&e.parent){const{parent:n}=e,r=Ai(n,t);if(n.enteringChildren&&r){const{delayChildren:t}=r.transition||{};o.delay=Ki(n.enteringChildren,e,t)}}return{animation:t,options:o}}))}if(c.size){const t={};if("boolean"!=typeof a.initial){const o=Ai(e,Array.isArray(a.initial)?a.initial[0]:a.initial);o&&o.transition&&(t.transition=o.transition)}c.forEach(o=>{const n=e.getBaseTarget(o),r=e.getValue(o);r&&(r.liveStyle=!0),t[o]=n??null}),l.push({animation:t})}let u=Boolean(l.length);return!n||!1!==a.initial&&a.initial!==a.animate||e.manuallyAnimateOnMount||(u=!1),n=!1,u?t(l):Promise.resolve()}return{animateChanges:i,setActive:function(t,n){if(o[t].isActive===n)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,n)),o[t].isActive=n;const r=i(t);for(const e in o)o[e].protectedKeys={};return r},setAnimateFunction:function(o){t=o(e)},getState:()=>o,reset:()=>{o=ra()}}}function oa(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Yi(t,e)}function na(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ra(){return{animate:na(!0),whileInView:na(),whileHover:na(),whileTap:na(),whileDrag:na(),whileFocus:na(),exit:na()}}class ia{constructor(e){this.isMounted=!1,this.node=e}update(){}}let aa=0;const sa={animation:{Feature:class extends ia{constructor(e){super(e),e.animationState||(e.animationState=ta(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();hr(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends ia{constructor(){super(...arguments),this.id=aa++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===o)return;const n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>{t(this.id)})}mount(){const{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function la(e,t,o,n={passive:!0}){return e.addEventListener(t,o,n),()=>e.removeEventListener(t,o)}function ca(e){return{point:{x:e.pageX,y:e.pageY}}}function pa(e,t,o,n){return la(e,t,(e=>t=>Yn(t)&&e(t,ca(t)))(o),n)}function da(e){return e.max-e.min}function ua(e,t,o,n=.5){e.origin=n,e.originPoint=Yt(t.min,t.max,e.origin),e.scale=da(o)/da(t),e.translate=Yt(o.min,o.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function fa(e,t,o,n){ua(e.x,t.x,o.x,n?n.originX:void 0),ua(e.y,t.y,o.y,n?n.originY:void 0)}function ma(e,t,o){e.min=o.min+t.min,e.max=e.min+da(t)}function ha(e,t,o){e.min=t.min-o.min,e.max=e.min+da(t)}function ga(e,t,o){ha(e.x,t.x,o.x),ha(e.y,t.y,o.y)}function ya(e){return[e("x"),e("y")]}const ba=({current:e})=>e?e.ownerDocument.defaultView:null,va=(e,t)=>Math.abs(e-t),xa=new Set(["auto","scroll"]);class wa{constructor(e,t,{transformPagePoint:o,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:i=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=Oa(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,o=function(e,t){const o=va(e.x,t.x),n=va(e.y,t.y);return Math.sqrt(o**2+n**2)}(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!o)return;const{point:n}=e,{timestamp:r}=st;this.history.push({...n,timestamp:r});const{onStart:i,onMove:a}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Sa(t,this.transformPagePoint),it.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:o,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(!this.dragSnapToOrigin&&this.startEvent||r&&r(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=Oa("pointercancel"===e.type?this.lastMoveEventInfo:Sa(t,this.transformPagePoint),this.history);this.startEvent&&o&&o(e,i),n&&n(e,i)},!Yn(e))return;this.dragSnapToOrigin=r,this.handlers=t,this.transformPagePoint=o,this.distanceThreshold=i,this.contextWindow=n||window;const s=Sa(ca(e),this.transformPagePoint),{point:l}=s,{timestamp:c}=st;this.history=[{...l,timestamp:c}];const{onSessionStart:p}=t;p&&p(e,Oa(s,this.history)),this.removeListeners=Me(pa(this.contextWindow,"pointermove",this.handlePointerMove),pa(this.contextWindow,"pointerup",this.handlePointerUp),pa(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(e){let t=e.parentElement;for(;t;){const e=getComputedStyle(t);(xa.has(e.overflowX)||xa.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){const t=this.scrollPositions.get(e);if(!t)return;const o=e===window,n=o?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},r=n.x-t.x,i=n.y-t.y;0===r&&0===i||(o?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r,this.lastMoveEventInfo.point.y+=i):this.history.length>0&&(this.history[0].x-=r,this.history[0].y-=i),this.scrollPositions.set(e,n),it.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),at(this.updatePoint)}}function Sa(e,t){return t?{point:t(e.point)}:e}function Ta(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Oa({point:e},t){return{point:e,delta:Ta(e,ka(t)),offset:Ta(e,Ca(t)),velocity:Ea(t,.1)}}function Ca(e){return e[0]}function ka(e){return e[e.length-1]}function Ea(e,t){if(e.length<2)return{x:0,y:0};let o=e.length-1,n=null;const r=ka(e);for(;o>=0&&(n=e[o],!(r.timestamp-n.timestamp>Ie(t)));)o--;if(!n)return{x:0,y:0};const i=Ae(r.timestamp-n.timestamp);if(0===i)return{x:0,y:0};const a={x:(r.x-n.x)/i,y:(r.y-n.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Pa(e,t,o){return{min:void 0!==t?e.min+t:void 0,max:void 0!==o?e.max+o-(e.max-e.min):void 0}}function Na(e,t){let o=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([o,n]=[n,o]),{min:o,max:n}}const Ra=.35;function Ma(e,t,o){return{min:$a(e,t),max:$a(e,o)}}function $a(e,t){return"number"==typeof e?e:e[t]||0}const ja=new WeakMap;class Ia{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:o}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:r}=this.getProps();this.panSession=new wa(e,{onSessionStart:e=>{t?(this.stopAnimation(),this.snapToCursor(ca(e).point)):this.pauseAnimation()},onStart:(e,t)=>{this.stopAnimation();const{drag:o,dragPropagation:n,onDragStart:r}=this.getProps();if(o&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(i=o)||"y"===i?qn[i]?null:(qn[i]=!0,()=>{qn[i]=!1}):qn.x||qn.y?null:(qn.x=qn.y=!0,()=>{qn.x=qn.y=!1}),!this.openDragLock))return;var i;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ya(e=>{let t=this.getAxisMotionValue(e).get()||0;if($t.test(t)){const{projection:o}=this.visualElement;if(o&&o.layout){const n=o.layout.layoutBox[e];n&&(t=da(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),r&&it.postRender(()=>r(e,t)),zi(this.visualElement,"transform");const{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},onMove:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;const{dragPropagation:o,dragDirectionLock:n,onDirectionLock:r,onDrag:i}=this.getProps();if(!o&&!this.openDragLock)return;const{offset:a}=t;if(n&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let o=null;return Math.abs(e.y)>t?o="y":Math.abs(e.x)>t&&(o="x"),o}(a),void(null!==this.currentDirection&&r&&r(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>ya(e=>"paused"===this.getAnimationState(e)&&this.getAxisMotionValue(e).animation?.play())},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,distanceThreshold:o,contextWindow:ba(this.visualElement),element:this.visualElement.current})}stop(e,t){const o=e||this.latestPointerEvent,n=t||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!o)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&it.postRender(()=>a(o,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,o){const{drag:n}=this.getProps();if(!o||!Aa(e,n,this.currentDirection))return;const r=this.getAxisMotionValue(e);let i=this.originPoint[e]+o[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:o},n){return void 0!==t&&e<t?e=n?Yt(t,e,n.min):Math.max(e,t):void 0!==o&&e>o&&(e=n?Yt(o,e,n.max):Math.min(e,o)),e}(i,this.constraints[e],this.elastic[e])),r.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&ti(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!o)&&function(e,{top:t,left:o,bottom:n,right:r}){return{x:Pa(e.x,o,r),y:Pa(e.y,t,n)}}(o.layoutBox,e),this.elastic=function(e=Ra){return!1===e?e=0:!0===e&&(e=Ra),{x:Ma(e,"left","right"),y:Ma(e,"top","bottom")}}(t),n!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&ya(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const o={};return void 0!==t.min&&(o.min=t.min-e.min),void 0!==t.max&&(o.max=t.max-e.min),o}(o.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!ti(e))return!1;const o=e.current;Te(null!==o,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const r=function(e,t,o){const n=Si(e,o),{scroll:r}=t;return r&&(vi(n.x,r.offset.x),vi(n.y,r.offset.y)),n}(o,n.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:Na(e.x,t.x),y:Na(e.y,t.y)}}(n.layout.layoutBox,r);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=si(e))}return i}startAnimation(e){const{drag:t,dragMomentum:o,dragElastic:n,dragTransition:r,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=ya(a=>{if(!Aa(a,t,this.currentDirection))return;let l=s&&s[a]||{};i&&(l={min:0,max:0});const c=n?200:1e6,p=n?40:1e7,d={type:"inertia",velocity:o?e[a]:0,bounceStiffness:c,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const o=this.getAxisMotionValue(e);return zi(this.visualElement,e),o.start(qi(e,o,0,t,this.visualElement,!1))}stopAnimation(){ya(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){ya(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,o=this.visualElement.getProps();return o[t]||this.visualElement.getValue(e,(o.initial?o.initial[e]:void 0)||0)}snapToCursor(e){ya(t=>{const{drag:o}=this.getProps();if(!Aa(t,o,this.currentDirection))return;const{projection:n}=this.visualElement,r=this.getAxisMotionValue(t);if(n&&n.layout){const{min:o,max:i}=n.layout.layoutBox[t],a=r.get()||0;r.set(e[t]-Yt(o,i,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:o}=this.visualElement;if(!ti(t)||!o||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};ya(e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const o=t.get();n[e]=function(e,t){let o=.5;const n=da(e),r=da(t);return r>n?o=$e(t.min,t.max-n,e.min):n>r&&(o=$e(e.min,e.max-r,t.min)),we(0,1,o)}({min:o,max:o},this.constraints[e])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),ya(t=>{if(!Aa(t,e,null))return;const o=this.getAxisMotionValue(t),{min:r,max:i}=this.constraints[t];o.set(Yt(r,i,n[t]))})}addListeners(){if(!this.visualElement.current)return;ja.set(this.visualElement,this);const e=pa(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:o=!0}=this.getProps();t&&o&&!Jn(e.target)&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();ti(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,n=o.addEventListener("measure",t);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),it.read(t);const r=la(window,"resize",()=>this.scalePositionWithinConstraints()),i=o.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(ya(t=>{const o=this.getAxisMotionValue(t);o&&(this.originPoint[t]+=e[t].translate,o.set(o.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),e(),n(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:o=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:i=Ra,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:o,dragPropagation:n,dragConstraints:r,dragElastic:i,dragMomentum:a}}}function Aa(e,t,o){return!(!0!==t&&t!==e||null!==o&&o!==e)}const La=e=>(t,o)=>{e&&it.postRender(()=>e(t,o))},Ba={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let Da=!1;class za extends b{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:o,layoutId:n}=this.props,{projection:r}=e;r&&(t.group&&t.group.add(r),o&&o.register&&n&&o.register(r),Da&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Ba.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:o,drag:n,isPresent:r}=this.props,{projection:i}=o;return i?(i.isPresent=r,Da=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==r?i.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?i.promote():i.relegate()||it.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),_n.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:o}=this.props,{projection:n}=e;Da=!0,n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),o&&o.deregister&&o.deregister(n))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Va(t){const[o,n]=function(e=!0){const t=p(be);if(null===t)return[!0,null];const{isPresent:o,onExitComplete:n,register:r}=t,i=d();c(()=>{if(e)return r(i)},[e]);const a=u(()=>e&&n&&n(i),[i,n,e]);return!o&&n?[!1,a]:[!0]}(),r=p(he);return e(za,{...t,layoutGroup:r,switchLayoutGroup:p(ei),isPresent:o,safeToRemove:n})}const Fa=(e,t)=>e.depth-t.depth;class Wa{constructor(){this.children=[],this.isDirty=!1}add(e){ve(this.children,e),this.isDirty=!0}remove(e){xe(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Fa),this.isDirty=!1,this.children.forEach(e)}}const _a=["TopLeft","TopRight","BottomLeft","BottomRight"],Ha=_a.length,qa=e=>"string"==typeof e?parseFloat(e):e,Ua=e=>"number"==typeof e||jt.test(e);function Ga(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Ka=Ya(0,.5,Ke),Xa=Ya(.5,.95,Ne);function Ya(e,t,o){return n=>n<e?0:n>t?1:o($e(e,t,n))}function Za(e,t){e.min=t.min,e.max=t.max}function Ja(e,t){Za(e.x,t.x),Za(e.y,t.y)}function Qa(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function es(e,t,o,n,r){return e=fi(e-=t,1/o,n),void 0!==r&&(e=fi(e,1/r,n)),e}function ts(e,t,[o,n,r],i,a){!function(e,t=0,o=1,n=.5,r,i=e,a=e){if($t.test(t)&&(t=parseFloat(t),t=Yt(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=Yt(i.min,i.max,n);e===i&&(s-=t),e.min=es(e.min,t,o,s,r),e.max=es(e.max,t,o,s,r)}(e,t[o],t[n],t[r],t.scale,i,a)}const os=["x","scaleX","originX"],ns=["y","scaleY","originY"];function rs(e,t,o,n){ts(e.x,t,os,o?o.x:void 0,n?n.x:void 0),ts(e.y,t,ns,o?o.y:void 0,n?n.y:void 0)}function is(e){return 0===e.translate&&1===e.scale}function as(e){return is(e.x)&&is(e.y)}function ss(e,t){return e.min===t.min&&e.max===t.max}function ls(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function cs(e,t){return ls(e.x,t.x)&&ls(e.y,t.y)}function ps(e){return da(e.x)/da(e.y)}function ds(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class us{constructor(){this.members=[]}add(e){ve(this.members,e),e.scheduleRender()}remove(e){if(xe(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let o;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){o=t;break}}return!!o&&(this.promote(o),!0)}promote(e,t){const o=this.lead;if(e!==o&&(this.prevLead=o,this.lead=e,e.show(),o)){o.instance&&o.scheduleRender(),e.scheduleRender(),e.resumeFrom=o,t&&(e.resumeFrom.preserveOpacity=!0),o.snapshot&&(e.snapshot=o.snapshot,e.snapshot.latestValues=o.animationValues||o.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:n}=e.options;!1===n&&o.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:o}=e;t.onExitComplete&&t.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const fs={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ms=["","X","Y","Z"];let hs=0;function gs(e,t,o,n){const{latestValues:r}=t;r[e]&&(o[e]=r[e],t.setStaticValue(e,0),n&&(n[e]=0))}function ys(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const o=Vi(t);if(window.MotionHasOptimisedAnimation(o,"transform")){const{layout:t,layoutId:n}=e.options;window.MotionCancelOptimisedAnimation(o,"transform",it,!(t||n))}const{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&ys(n)}function bs({attachResizeListener:e,defaultParent:t,measureScroll:o,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(e={},o=t?.()){this.id=hs++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,nt.value&&(fs.nodes=fs.calculatedTargetDeltas=fs.calculatedProjections=0),this.nodes.forEach(ws),this.nodes.forEach(Ps),this.nodes.forEach(Ns),this.nodes.forEach(Ss),nt.addProjectionMetrics&&nt.addProjectionMetrics(fs)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=o?o.root||o:this,this.path=o?[...o.path,o]:[],this.parent=o,this.depth=o?o.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Wa)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new je),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const o=this.eventHandlers.get(e);o&&o.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;var o;this.isSVG=nr(t)&&!(nr(o=t)&&"svg"===o.tagName),this.instance=t;const{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let o,n=0;const r=()=>this.root.updateBlockedByResize=!1;it.read(()=>{n=window.innerWidth}),e(t,()=>{const e=window.innerWidth;e!==n&&(n=e,this.root.updateBlockedByResize=!0,o&&o(),o=function(e){const t=dt.now(),o=({timestamp:n})=>{const r=n-t;r>=250&&(at(o),e(r-250))};return it.setup(o,!0),()=>at(o)}(r),Ba.hasAnimatedSinceResize&&(Ba.hasAnimatedSinceResize=!1,this.nodes.forEach(Es)))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&i&&(n||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:o,layout:n})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||i.getDefaultTransition()||As,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=i.getProps(),l=!this.targetLayout||!cs(this.targetLayout,n),c=!t&&o;if(this.options.layoutRoot||this.resumeFrom||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const t={...Tn(r,"layout"),onPlay:a,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,c)}else t||Es(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),at(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Rs),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&ys(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:o}=this.options;if(void 0===t&&!o)return;const n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Os);if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(Cs);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ks),this.nodes.forEach(vs),this.nodes.forEach(xs)):this.nodes.forEach(Cs),this.clearAllSnapshots();const e=dt.now();st.delta=we(0,1e3/60,e-st.timestamp),st.timestamp=e,st.isProcessing=!0,lt.update.process(st),lt.preRender.process(st),lt.render.process(st),st.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,_n.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Ts),this.sharedNodes.forEach(Ms)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,it.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){it.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||da(this.snapshot.measuredBox.x)||da(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();const e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){const t=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:o(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!r)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!as(this.projectionDelta),o=this.getTransformTemplate(),n=o?o(this.latestValues,""):void 0,i=n!==this.prevTransformTemplateValue;e&&this.instance&&(t||pi(this.latestValues)||i)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let o=this.removeElementScroll(t);var n;return e&&(o=this.removeTransform(o)),Ds((n=o).x),Ds(n.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:o,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox();if(!this.scroll?.wasRoot&&!this.path.some(Vs)){const{scroll:e}=this.root;e&&(vi(t.x,e.offset.x),vi(t.y,e.offset.y))}return t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};if(Ja(t,e),this.scroll?.wasRoot)return t;for(let o=0;o<this.path.length;o++){const n=this.path[o],{scroll:r,options:i}=n;n!==this.root&&r&&i.layoutScroll&&(r.wasRoot&&Ja(t,e),vi(t.x,r.offset.x),vi(t.y,r.offset.y))}return t}applyTransform(e,t=!1){const o={x:{min:0,max:0},y:{min:0,max:0}};Ja(o,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&wi(o,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),pi(n.latestValues)&&wi(o,n.latestValues)}return pi(this.latestValues)&&wi(o,this.latestValues),o}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Ja(t,e);for(let e=0;e<this.path.length;e++){const o=this.path[e];if(!o.instance)continue;if(!pi(o.latestValues))continue;ci(o.latestValues)&&o.updateSnapshot();const n=Ti();Ja(n,o.measurePageBox()),rs(t,o.latestValues,o.snapshot?o.snapshot.layoutBox:void 0,n)}return pi(this.latestValues)&&rs(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==st.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){const t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);const o=Boolean(this.resumingFrom)||this!==t;if(!(e||o&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:n,layoutId:r}=this.options;if(!this.layout||!n&&!r)return;this.resolvedRelativeTargetAt=st.timestamp;const i=this.getClosestProjectingParent();var a,s,l;i&&this.linkedParentVersion!==i.layoutVersion&&!i.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(i&&i.layout?this.createRelativeTarget(i,this.layout.layoutBox,i.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,ma(a.x,s.x,l.x),ma(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Ja(this.target,this.layout.layoutBox),gi(this.target,this.targetDelta)):Ja(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,i&&Boolean(i.resumingFrom)===Boolean(this.resumingFrom)&&!i.options.layoutScroll&&i.target&&1!==this.animationProgress?this.createRelativeTarget(i,this.target,i.target):this.relativeParent=this.relativeTarget=void 0),nt.value&&fs.calculatedTargetDeltas++)}getClosestProjectingParent(){if(this.parent&&!ci(this.parent.latestValues)&&!di(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,o){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},ga(this.relativeTargetOrigin,t,o),Ja(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const e=this.getLead(),t=Boolean(this.resumingFrom)||this!==e;let o=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(o=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(o=!1),this.resolvedRelativeTargetAt===st.timestamp&&(o=!1),o)return;const{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!n&&!r)return;Ja(this.layoutCorrected,this.layout.layoutBox);const i=this.treeScale.x,a=this.treeScale.y;!function(e,t,o,n=!1){const r=o.length;if(!r)return;let i,a;t.x=t.y=1;for(let s=0;s<r;s++){i=o[s],a=i.projectionDelta;const{visualElement:r}=i.options;r&&r.props.style&&"contents"===r.props.style.display||(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&wi(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,gi(e,a)),n&&pi(i.latestValues)&&wi(e,i.latestValues))}t.x<bi&&t.x>yi&&(t.x=1),t.y<bi&&t.y>yi&&(t.y=1)}(this.layoutCorrected,this.treeScale,this.path,t),!e.layout||e.target||1===this.treeScale.x&&1===this.treeScale.y||(e.target=e.layout.layoutBox,e.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:s}=e;s?(this.projectionDelta&&this.prevProjectionDelta?(Qa(this.prevProjectionDelta.x,this.projectionDelta.x),Qa(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),fa(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.treeScale.x===i&&this.treeScale.y===a&&ds(this.projectionDelta.x,this.prevProjectionDelta.x)&&ds(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s)),nt.value&&fs.calculatedProjections++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(e,t=!1){const o=this.snapshot,n=o?o.latestValues:{},r={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(o?o.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,p=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(Is));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const o=t/1e3;$s(i.x,e.x,o),$s(i.y,e.y,o),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ga(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,o,n){js(e.x,t.x,o.x,n),js(e.y,t.y,o.y,n)}(this.relativeTarget,this.relativeTargetOrigin,a,o),d&&function(e,t){return ss(e.x,t.x)&&ss(e.y,t.y)}(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Ja(d,this.relativeTarget)),s&&(this.animationValues=r,function(e,t,o,n,r,i){r?(e.opacity=Yt(0,o.opacity??1,Ka(n)),e.opacityExit=Yt(t.opacity??1,0,Xa(n))):i&&(e.opacity=Yt(t.opacity??1,o.opacity??1,n));for(let r=0;r<Ha;r++){const i=`border${_a[r]}Radius`;let a=Ga(t,i),s=Ga(o,i);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||Ua(a)===Ua(s)?(e[i]=Math.max(Yt(qa(a),qa(s),n),0),($t.test(s)||$t.test(a))&&(e[i]+="%")):e[i]=s)}(t.rotate||o.rotate)&&(e.rotate=Yt(t.rotate||0,o.rotate||0,n))}(r,n,this.latestValues,o,p,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=o},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(at(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=it.update(()=>{Ba.hasAnimatedSinceResize=!0,ut.layout++,this.motionValue||(this.motionValue=Wn(0)),this.currentAnimation=function(e,t,o){const n=rr(e)?e:Wn(e);return n.start(qi("",n,[0,1e3],o)),n.animation}(this.motionValue,0,{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{ut.layout--},onComplete:()=>{ut.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:o,layout:n,latestValues:r}=e;if(t&&o&&n){if(this!==e&&this.layout&&n&&zs(this.options.animationType,this.layout.layoutBox,n.layoutBox)){o=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=da(this.layout.layoutBox.x);o.x.min=e.target.x.min,o.x.max=o.x.min+t;const n=da(this.layout.layoutBox.y);o.y.min=e.target.y.min,o.y.max=o.y.min+n}Ja(t,o),wi(t,r),fa(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new us),this.sharedNodes.get(e).add(t);const o=t.options.initialPromotionConfig;t.promote({transition:o?o.transition:void 0,preserveFollowOpacity:o&&o.shouldPreserveFollowOpacity?o.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){const{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){const{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:o}={}){const n=this.getStack();n&&n.promote(this,o),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:o}=e;if((o.z||o.rotate||o.rotateX||o.rotateY||o.rotateZ||o.skewX||o.skewY)&&(t=!0),!t)return;const n={};o.z&&gs("z",e,n,this.animationValues);for(let t=0;t<ms.length;t++)gs(`rotate${ms[t]}`,e,n,this.animationValues),gs(`skew${ms[t]}`,e,n,this.animationValues);e.render();for(const t in n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(e.visibility="hidden");const o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=_r(t?.pointerEvents)||"",void(e.transform=o?o(this.latestValues,""):"none");const n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target)return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=_r(t?.pointerEvents)||""),void(this.hasProjected&&!pi(this.latestValues)&&(e.transform=o?o({},""):"none",this.hasProjected=!1));e.visibility="";const r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let i=function(e,t,o){let n="";const r=e.x.translate/t.x,i=e.y.translate/t.y,a=o?.z||0;if((r||i||a)&&(n=`translate3d(${r}px, ${i}px, ${a}px) `),1===t.x&&1===t.y||(n+=`scale(${1/t.x}, ${1/t.y}) `),o){const{transformPerspective:e,rotate:t,rotateX:r,rotateY:i,skewX:a,skewY:s}=o;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),r&&(n+=`rotateX(${r}deg) `),i&&(n+=`rotateY(${i}deg) `),a&&(n+=`skewX(${a}deg) `),s&&(n+=`skewY(${s}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return 1===s&&1===l||(n+=`scale(${s}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);o&&(i=o(r,i)),e.transform=i;const{x:a,y:s}=this.projectionDelta;e.transformOrigin=`${100*a.origin}% ${100*s.origin}% 0`,n.animationValues?e.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:e.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0;for(const t in Cr){if(void 0===r[t])continue;const{correct:o,applyTo:a,isCSSVariable:s}=Cr[t],l="none"===i?r[t]:o(r[t],n);if(a){const t=a.length;for(let o=0;o<t;o++)e[a[o]]=l}else s?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=n===this?_r(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Os),this.root.sharedNodes.clear()}}}function vs(e){e.updateLayout()}function xs(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:n}=e.layout,{animationType:r}=e.options,i=t.source!==e.layout.source;"size"===r?ya(e=>{const n=i?t.measuredBox[e]:t.layoutBox[e],r=da(n);n.min=o[e].min,n.max=n.min+r}):zs(r,t.layoutBox,o)&&ya(n=>{const r=i?t.measuredBox[n]:t.layoutBox[n],a=da(o[n]);r.max=r.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};fa(a,o,t.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?fa(s,e.applyTransform(n,!0),t.measuredBox):fa(s,o,t.layoutBox);const l=!as(a);let c=!1;if(!e.resumeFrom){const n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){const{snapshot:r,layout:i}=n;if(r&&i){const a={x:{min:0,max:0},y:{min:0,max:0}};ga(a,t.layoutBox,r.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};ga(s,o,i.layoutBox),cs(a,s)||(c=!0),n.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:t,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function ws(e){nt.value&&fs.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Ss(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Ts(e){e.clearSnapshot()}function Os(e){e.clearMeasurements()}function Cs(e){e.isLayoutDirty=!1}function ks(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Es(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Ps(e){e.resolveTargetDelta()}function Ns(e){e.calcProjection()}function Rs(e){e.resetSkewAndRotation()}function Ms(e){e.removeLeadSnapshot()}function $s(e,t,o){e.translate=Yt(t.translate,0,o),e.scale=Yt(t.scale,1,o),e.origin=t.origin,e.originPoint=t.originPoint}function js(e,t,o,n){e.min=Yt(t.min,o.min,n),e.max=Yt(t.max,o.max,n)}function Is(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const As={duration:.45,ease:[.4,0,.1,1]},Ls=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Bs=Ls("applewebkit/")&&!Ls("chrome/")?Math.round:Ne;function Ds(e){e.min=Bs(e.min),e.max=Bs(e.max)}function zs(e,t,o){return"position"===e||"preserve-aspect"===e&&(n=ps(t),r=ps(o),!(Math.abs(n-r)<=.2));var n,r}function Vs(e){return e!==e.root&&e.scroll?.wasRoot}const Fs=bs({attachResizeListener:(e,t)=>la(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ws={current:void 0},_s=bs({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ws.current){const e=new Fs({});e.mount(window),e.setOptions({layoutScroll:!0}),Ws.current=e}return Ws.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Hs={pan:{Feature:class extends ia{constructor(){super(...arguments),this.removePointerDownListener=Ne}onPointerDown(e){this.session=new wa(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ba(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:o,onPanEnd:n}=this.node.getProps();return{onSessionStart:La(e),onStart:La(t),onMove:o,onEnd:(e,t)=>{delete this.session,n&&it.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=pa(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends ia{constructor(e){super(e),this.removeGroupControls=Ne,this.removeListeners=Ne,this.controls=new Ia(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ne}update(){const{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:_s,MeasureLayout:Va}};function qs(e,t,o){const{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===o);const r=n["onHover"+o];r&&it.postRender(()=>r(t,ca(t)))}function Us(e,t,o){const{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===o);const r=n["onTap"+("End"===o?"":o)];r&&it.postRender(()=>r(t,ca(t)))}const Gs=new WeakMap,Ks=new WeakMap,Xs=e=>{const t=Gs.get(e.target);t&&t(e)},Ys=e=>{e.forEach(Xs)};const Zs={some:0,all:1},Js={inView:{Feature:class extends ia{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:o,amount:n="some",once:r}=e,i={root:t?t.current:void 0,rootMargin:o,threshold:"number"==typeof n?n:Zs[n]};return function(e,t,o){const n=function({root:e,...t}){const o=e||document;Ks.has(o)||Ks.set(o,{});const n=Ks.get(o),r=JSON.stringify(t);return n[r]||(n[r]=new IntersectionObserver(Ys,{root:e,...t})),n[r]}(t);return Gs.set(e,o),n.observe(e),()=>{Gs.delete(e),n.unobserve(e)}}(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,r&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:o,onViewportLeave:n}=this.node.getProps(),i=t?o:n;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node,o=["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return o=>e[o]!==t[o]}(e,t));o&&this.startObserver()}unmount(){}}},tap:{Feature:class extends ia{mount(){const{current:e}=this.node;e&&(this.unmount=function(e,t,o={}){const[n,r,i]=Gn(e,o),a=e=>{const n=e.currentTarget;if(!or(e))return;Qn.add(n);const i=t(n,e),a=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),Qn.has(n)&&Qn.delete(n),or(e)&&"function"==typeof i&&i(e,{success:t})},s=e=>{a(e,n===window||n===document||o.useGlobalTarget||Xn(n,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",s,r),window.addEventListener("pointercancel",l,r)};return n.forEach(e=>{var t;(o.useGlobalTarget?window:e).addEventListener("pointerdown",a,r),ke(t=e)&&"offsetHeight"in t&&(e.addEventListener("focus",e=>((e,t)=>{const o=e.currentTarget;if(!o)return;const n=er(()=>{if(Qn.has(o))return;tr(o,"down");const e=er(()=>{tr(o,"up")});o.addEventListener("keyup",e,t),o.addEventListener("blur",()=>tr(o,"cancel"),t)});o.addEventListener("keydown",n,t),o.addEventListener("blur",()=>o.removeEventListener("keydown",n),t)})(e,r)),Jn(e)||e.hasAttribute("tabindex")||(e.tabIndex=0))}),i}(e,(e,t)=>(Us(this.node,t,"Start"),(e,{success:t})=>Us(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends ia{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Me(la(this.node.current,"focus",()=>this.onFocus()),la(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends ia{mount(){const{current:e}=this.node;e&&(this.unmount=function(e,t,o={}){const[n,r,i]=Gn(e,o),a=e=>{if(!Kn(e))return;const{target:o}=e,n=t(o,e);if("function"!=typeof n||!o)return;const i=e=>{Kn(e)&&(n(e),o.removeEventListener("pointerleave",i))};o.addEventListener("pointerleave",i,r)};return n.forEach(e=>{e.addEventListener("pointerenter",a,r)}),i}(e,(e,t)=>(qs(this.node,t,"Start"),e=>qs(this.node,e,"End"))))}unmount(){}}}},Qs=ai({...sa,...Js,...Hs,layout:{ProjectionNode:_s,MeasureLayout:Va}},Ii);var el={SidePanel:function(t){var o=t.side,n=void 0===o?"right":o,r=t.width,i=void 0===r?288:r,a=t.isOpen,s=t.children,l=t.className,c=void 0===l?"":l,p=t.style,d=288===i?"w-72":"",u=288!==i?{width:"".concat(i,"px")}:{},f=me();return e("div",{className:"fixed top-[74px] ".concat("left"===n?"left-2":"right-2"," h-[calc(100%-64px)] overflow-y-auto scrollbar-hide transform transition-transform duration-300 z-20 ").concat(d," ").concat(c,"\n ").concat(a?"translate-x-0":"left"===n?"-translate-x-full":"translate-x-full","\n "),style:Object.assign(Object.assign(Object.assign({},u),{pointerEvents:a?"auto":"none",backgroundColor:f.surface.panel,color:f.text.primary}),p),children:e("div",{className:"p-4",children:s})})},DrawerPanel:function(n){var r=n.side,i=void 0===r?"right":r,a=n.isOpen,s=n.onClose,l=n.children,c=n.className,p=void 0===c?"":c,d=n.style,u=n.width,f=void 0===u?360:u,m=n.overlayColor;return t(o,{children:[a&&e("div",{className:"drawer-overlay",onClick:s,style:{position:"fixed",inset:0,background:void 0===m?"rgba(0,0,0,0.4)":m,zIndex:1200}}),e("aside",{className:"drawer-panel ".concat(p),style:Object.assign(X(X(X(X(X(X(X(X({position:"fixed",top:0,bottom:0},i,0),"width",f),"background","#fff"),"boxShadow","right"===i?"-2px 0 12px rgba(0,0,0,0.12)":"2px 0 12px rgba(0,0,0,0.12)"),"transform",a?"translateX(0)":"right"===i?"translateX(".concat(f,"px)"):"translateX(-".concat(f,"px)")),"transition","transform 0.2s ease"),"zIndex",1201),"overflow","hidden"),d),children:l})]})},Header:function(o){var n=o.title,r=o.actions,i=o.onClose,a=o.delay,s=void 0===a?.1:a,l=o.side,c=void 0===l?"left":l,p=me(),d="left"===c?"-100%":"100%";return t(Qs.div,{initial:{x:d},animate:{x:0},transition:{type:"spring",stiffness:50,delay:s},className:"text-lg font-medium leading-6 px-4 py-2 rounded-lg capitalize mb-4 text-center relative w-full",style:{color:p.text.primary,backgroundColor:p.surface.card},children:[i&&e("button",{type:"button",onClick:i,className:"absolute top-2 right-2 text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200","aria-label":"Close panel",children:"×"}),n&&e("span",{children:n}),r&&e("div",{className:"mt-2",children:r})]})},Body:function(t){var o,n,r=t.children,i=t.delay,a=void 0===i?.2:i,s=t.side,l=void 0===s?"left":s,c=t.className,p=void 0===c?"":c,d=t.style,u=t.useMotion,f=void 0===u||u,m=t.spacing,h=void 0===m||m,g=me(),y="left"===l?"-100%":"100%",b=h?{display:"flex",flexDirection:"column",gap:"object"===ee(h)&&null!==(o=h.gap)&&void 0!==o?o:12,paddingBottom:"object"===ee(h)&&null!==(n=h.paddingBottom)&&void 0!==n?n:24}:{},v=e("div",{className:p,style:Object.assign(Object.assign({color:g.text.primary},b),d),children:r});return f?e(Qs.div,{initial:{x:y},animate:{x:0},transition:{type:"spring",stiffness:50,delay:a},children:v}):v},Footer:function(t){var o=t.children,n=me();return e("div",{className:"sidepanel-footer",style:{padding:"12px 16px",borderTop:"1px solid ".concat(n.border.subtle),background:n.surface.control,color:n.text.primary},children:o})}},tl=function(o){var n=o.side,r=o.width,i=void 0===r?288:r,a=o.isOpen,s=o.title,l=o.headerActions,c=o.children,p=o.bodyProps,d=o.onClose,u=o.className,f=void 0===u?"":u,m=o.style;return t(el.SidePanel,{side:n,width:i,isOpen:a,className:f,style:m,children:[s&&e(el.Header,{title:s,actions:l,onClose:d,side:n}),e(el.Body,{side:n,className:null==p?void 0:p.className,style:null==p?void 0:p.style,useMotion:null==p?void 0:p.useMotion,spacing:null==p?void 0:p.spacing,children:c})]})},ol=function(t){var o=t.children,n=t.leftOffset,r=void 0===n?0:n,i=t.rightOffset,a=void 0===i?0:i,s=t.className,l=void 0===s?"":s,c=t.style,p=Object.assign({position:"absolute",bottom:0,left:r,right:a,zIndex:100,transition:"left 0.3s ease, right 0.3s ease"},c);return e("div",{className:"dashboard-bottom-region ".concat(l),style:p,children:o})},nl=function(n){var r=n.isOpen,i=n.activeSide,a=n.onSelectSide,s=n.onClose,l=n.left,c=n.right,p=n.bodySpacing,d=void 0===p?{gap:16,paddingBottom:24}:p,u=me(),f="left"===i,m=f?l:c;return t(o,{children:[r&&e("div",{style:{position:"fixed",inset:0,background:u.surface.backdrop,zIndex:1400,paddingBottom:"20px"},onClick:s}),t("div",{style:{position:"fixed",left:0,right:0,bottom:0,transform:r?"translateY(0)":"translateY(110%)",transition:"transform 0.25s ease",background:u.surface.panel,borderTopLeftRadius:16,borderTopRightRadius:16,boxShadow:"0 -12px 32px rgba(0,0,0,0.18)",zIndex:1401,maxHeight:"90vh",display:"flex",flexDirection:"column"},children:[t("div",{style:{padding:"12px 16px",display:"flex",gap:8,alignItems:"center",borderBottom:"1px solid ".concat(u.border.subtle)},children:[e("button",{style:{flex:1,padding:"10px 12px",borderRadius:12,border:f?"2px solid ".concat(u.accent.primary):"1px solid ".concat(u.border.subtle),background:f?"".concat(u.accent.primary,"1a"):u.surface.control,color:u.text.primary,fontWeight:600},onClick:function(){return a("left")},children:l.title}),e("button",{style:{flex:1,padding:"10px 12px",borderRadius:12,border:f?"1px solid ".concat(u.border.subtle):"2px solid ".concat(u.accent.primary),background:f?u.surface.control:"".concat(u.accent.primary,"1a"),color:u.text.primary,fontWeight:600},onClick:function(){return a("right")},children:c.title}),e("button",{onClick:s,style:{padding:"10px 10px",borderRadius:12,border:"1px solid ".concat(u.border.subtle),background:u.surface.control,color:u.text.primary,fontWeight:600,display:"inline-flex",alignItems:"center",justifyContent:"center",gap:6},"aria-label":"Close drawer",children:"✕"})]}),t(el.Body,{side:"left",useMotion:!1,spacing:d,style:{overflowY:"auto",padding:"16px 16px 24px",flex:1},className:"mobile-drawer-content",children:[e("style",{children:"\n .mobile-drawer-content::-webkit-scrollbar {\n display: none;\n }\n .mobile-drawer-content {\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* IE 10+ */\n }\n "}),m.content]})]})]})},rl=function(o){var n=o.title,r=o.description,i=o.actions,a=o.footer,s=o.isLoading,l=o.empty,c=o.children;o.variant;var p=o.containerMinHeight,d=o.bodyMinHeight,u=void 0===d?220:d,f=o.showBody,m=void 0===f||f,h=me(),g=h.surface.card,y="1px solid ".concat(h.border.subtle),b=h.text.primary,v=h.text.muted,x=h.text.primary;return t("div",{className:"widget-container",style:{border:y,borderRadius:12,background:g,boxShadow:"0 4px 14px rgba(0,0,0,0.04)",display:"flex",flexDirection:"column",minHeight:null!=p?p:u+140},children:[(n||i||r)&&t("div",{style:{padding:"12px 16px",borderBottom:"1px solid ".concat(h.border.subtle),display:"flex",flexDirection:"column",gap:6},children:[t("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:8},children:[n&&e("h3",{style:{margin:0,fontSize:16,fontWeight:600,color:b},children:n}),i&&e("div",{style:{display:"flex",gap:8},children:i})]}),r&&e("p",{style:{margin:0,color:v,fontSize:13},children:r})]}),m&&e("div",{style:{padding:"12px 16px",flex:1,minHeight:u},children:e("div",s?{style:{height:"100%",display:"flex",alignItems:"center",justifyContent:"center",color:v,fontSize:14},children:"Loading..."}:l?{style:{height:"100%",display:"flex",alignItems:"center",justifyContent:"center",color:v,fontSize:14},children:"No data available"}:{style:{color:x},children:c})}),a&&e("div",{style:{borderTop:"1px solid ".concat(h.border.subtle),padding:"12px 16px"},children:a})]})},il=function(o){var n=o.alert,r=o.onClick,i=me(),a={Severe:{dot:i.semantic.critical,bg:"".concat(i.semantic.critical,"1f"),text:i.semantic.critical},Medium:{dot:i.semantic.warning,bg:"".concat(i.semantic.warning,"1f"),text:i.semantic.warning},Normal:{dot:i.semantic.success,bg:"".concat(i.semantic.success,"1f"),text:i.semantic.success},Info:{dot:i.semantic.info,bg:"".concat(i.semantic.info,"1f"),text:i.semantic.info}},s=a[n.severity]||a.Info;return t("div",{onClick:function(){return null==r?void 0:r(n)},style:{display:"flex",alignItems:"flex-start",gap:10,padding:"10px 12px",borderRadius:10,background:s.bg,cursor:r?"pointer":"default"},children:[e("span",{style:{width:10,height:10,borderRadius:"50%",background:s.dot,marginTop:5,flexShrink:0}}),t("div",{style:{flex:1},children:[e("div",{style:{color:i.text.primary,fontSize:13,lineHeight:1.45},children:n.message}),t("div",{style:{display:"flex",gap:8,alignItems:"center",marginTop:4},children:[e("span",{style:{color:i.text.muted,fontSize:12},children:n.time}),e("span",{style:{color:s.text,fontSize:12,fontWeight:600},children:n.severity})]})]})]})},al=function(n){n.title;var r=n.alerts,i=n.emptyText,a=void 0===i?"There are currently no active alerts.":i,s=n.onAlertClick,l=n.maxHeight,c=void 0===l?320:l,p=me();return t(o,{children:[e("style",{children:"\n .custom-scrollbar::-webkit-scrollbar {\n display: none;\n }\n .custom-scrollbar {\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* IE 10+ */\n }\n "}),e("div",{style:{display:"flex",flexDirection:"column",gap:10,maxHeight:c,overflowY:"auto",scrollbarWidth:"none",msOverflowStyle:"none"},className:"custom-scrollbar",children:0===r.length?e("div",{style:{color:p.text.muted,fontSize:13,padding:"12px 10px",borderRadius:10,background:p.surface.control},children:a}):r.map(function(t){return e(il,{alert:t,onClick:s},t.id)})})]})},sl=function(t){var o=t.items,n=t.onItemClick,r=t.variant,i=void 0===r?"light":r,a=t.maxItems,s=void 0===a?30:a,l=t.title,c=void 0===l?"Alerts":l,p=t.description,d=void 0===p?"Critical and warning events":p,u=t.emptyMessage,m=void 0===u?"There are currently no active alerts.":u,h=f(function(){var e=function(e){return function(e){if(Array.isArray(e))return G(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||te(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o).sort(function(e,t){var o=new Date(e.timestamp||0).getTime(),n=new Date(t.timestamp||0).getTime();return o&&n?n-o:0});return e.slice(0,s).map(function(e){return{id:e.id,message:e.message,time:e.time,severity:e.severity,category:e.category}})},[o,s]);return e(rl,{title:c,description:d,variant:i,children:e(al,{alerts:h,onAlertClick:function(e){if(n){var t=o.find(function(t){return String(t.id)===String(e.id)});t&&n(t)}},maxHeight:220,emptyText:m})})},ll=function(o){var n,r,i=o.insights,a=o.statistics,s=o.topCategories,l=void 0===s?[]:s,c=o.variant,p=void 0===c?"light":c,d=o.isLoading,u=void 0!==d&&d,f=o.title,m=void 0===f?"AI Analysis":f,h=o.description,g=void 0===h?"Insights and recommendations":h,y=o.topCategoriesLabel,b=void 0===y?"Top Alert Types":y,v=o.insightsLabel,x=void 0===v?"Insights & Recommendations":v,w=o.emptyMessage,S=void 0===w?"No data available for analysis":w,O=o.emptyHint,C=me(),k=null!==(n=null==a?void 0:a.totalCount)&&void 0!==n?n:0,E=null!==(r=null==a?void 0:a.criticalCount)&&void 0!==r?r:0,P=k>0||i.length>0||l.length>0,N={critical:C.semantic.critical,warning:C.semantic.warning,success:C.semantic.success,info:C.semantic.info},R={critical:"".concat(C.semantic.critical,"14"),warning:"".concat(C.semantic.warning,"14"),success:"".concat(C.semantic.success,"14"),criticalStrong:"".concat(C.semantic.critical,"1f")},M=function(e){var t;return null!==(t=N[e])&&void 0!==t?t:C.text.muted};return e(rl,{title:m,description:g,isLoading:u,variant:p,bodyMinHeight:300,children:t("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[k>0&&t("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"12px"},children:[t("div",{style:{padding:"12px",borderRadius:"8px",backgroundColor:C.surface.control,border:"1px solid ".concat(C.border.subtle)},children:[e("div",{style:{fontSize:"24px",fontWeight:600,color:C.text.primary,marginBottom:"4px"},children:k}),e("div",{style:{fontSize:"12px",color:C.text.muted},children:"Total"})]}),E>=0&&t("div",{style:{padding:"12px",borderRadius:"8px",backgroundColor:E>0?R.criticalStrong:C.surface.control,border:"1px solid ".concat(E>0?N.critical:C.border.subtle)},children:[e("div",{style:{fontSize:"24px",fontWeight:600,color:E>0?N.critical:C.text.primary,marginBottom:"4px"},children:E}),e("div",{style:{fontSize:"12px",color:C.text.muted},children:"Critical"})]})]}),l.length>0&&t("div",{children:[e("div",{style:{fontSize:"13px",fontWeight:600,color:C.text.primary,marginBottom:"8px"},children:b}),e("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:l.map(function(o){var n;return t("div",{style:{display:"flex",alignItems:"center",gap:"10px",padding:"10px",borderRadius:"6px",backgroundColor:C.surface.control,border:"1px solid ".concat(C.border.subtle)},children:[e(T,{icon:null!==(n=o.icon)&&void 0!==n?n:"mdi:alert",width:20,height:20,style:{color:M(o.severity)}}),t("div",{style:{flex:1},children:[e("div",{style:{fontSize:"13px",fontWeight:500,color:C.text.primary},children:o.label}),t("div",{style:{fontSize:"11px",color:C.text.muted},children:[o.count," (",o.percentage,"%)"]})]})]},o.label)})})]}),i.length>0&&t("div",{children:[e("div",{style:{fontSize:"13px",fontWeight:600,color:C.text.primary,marginBottom:"8px"},children:x}),e("div",{style:{display:"flex",flexDirection:"column",gap:"10px"},children:i.map(function(o,n){var r,i,a,s;return t("div",{style:{display:"flex",gap:"12px",padding:"12px",borderRadius:"8px",backgroundColor:null!==(r=R[o.type])&&void 0!==r?r:C.surface.control,border:"1px solid ".concat(null!==(i=N[o.type])&&void 0!==i?i:C.border.subtle)},children:[e(T,{icon:null!==(a=o.icon)&&void 0!==a?a:"mdi:information",width:20,height:20,style:{color:null!==(s=N[o.type])&&void 0!==s?s:N.info,flexShrink:0,marginTop:"2px"}}),t("div",{style:{flex:1},children:[e("div",{style:{fontSize:"13px",fontWeight:600,color:C.text.primary,marginBottom:"4px"},children:o.title}),e("div",{style:{fontSize:"12px",color:C.text.muted,lineHeight:1.5},children:o.message})]})]},n)})})]}),!P&&!u&&t("div",{style:{textAlign:"center",padding:"24px",color:C.text.muted},children:[e(T,{icon:"mdi:chart-line",width:48,height:48,style:{color:C.text.muted,opacity:.5,marginBottom:"12px"}}),e("div",{style:{fontSize:"14px"},children:S}),O&&e("div",{style:{fontSize:"12px",marginTop:"4px"},children:O})]})]})})};function cl(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]])}return o}"function"==typeof SuppressedError&&SuppressedError;var pl=function(t){var o=t.variant,n=void 0===o?"primary":o,r=t.size,i=void 0===r?"medium":r,a=t.children,s=t.bgColor,l=t.textColor,c=t.borderColor,p=cl(t,["variant","size","children","bgColor","textColor","borderColor"]),d=me(),u="dark"===fe(function(e){return e.mode})?d.text.primary:function(e){var t=e.replace("#","");return(.299*parseInt(t.slice(0,2),16)+.587*parseInt(t.slice(2,4),16)+.114*parseInt(t.slice(4,6),16))/255<.5}(d.accent.primary)?d.text.onAccent||"#ffffff":d.accent.primary,f={primary:{backgroundColor:null!=s?s:d.accent.primary,color:null!=l?l:d.text.onAccent,border:c?"2px solid ".concat(c):"none"},secondary:{backgroundColor:null!=s?s:d.accent.secondary,color:null!=l?l:d.text.onAccent,border:c?"2px solid ".concat(c):"none"},outline:{backgroundColor:null!=s?s:"transparent",color:null!=l?l:u,border:"2px solid ".concat(null!=c?c:u)},ghost:{backgroundColor:"transparent",color:"inherit",border:"none",padding:0,boxShadow:"none"}};return e("button",Object.assign({style:Object.assign(Object.assign(Object.assign({},{border:"none",borderRadius:"4px",cursor:"pointer",fontWeight:500,transition:"all 0.2s"}),f[n]),{small:{padding:"6px 12px",fontSize:"12px"},medium:{padding:"10px 20px",fontSize:"14px"},large:{padding:"14px 28px",fontSize:"16px"}}[i])},p,{children:a}))},dl=function(o){var n=o.variant,r=void 0===n?"light":n,i=o.onOpenChat,a=o.title,s=void 0===a?"Chatbot":a,l=o.description,c=void 0===l?"Ask for summaries or actions":l,p=o.placeholderText,d=void 0===p?'Try: "Summarize alerts for the last hour" or "Show top 3 congested zones".':p,u=o.buttonLabel,f=void 0===u?"Open Chat":u;return e(rl,{title:s,description:c,isLoading:!1,variant:r,children:t("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[e("p",{style:{marginTop:0,marginBottom:8},children:d}),e(pl,{variant:"primary",size:"small",style:{width:"100%"},onClick:function(){return i?i():void 0},children:f})]})})};O.register(C,k,E,P,N,R,M,$,j,I);var ul=function(t){var o=t.height;return e("div",{style:{height:null!=o?o:220,display:"flex",alignItems:"center",justifyContent:"center",color:"#64748b",fontSize:14},children:"Loading chart..."})},fl=function(t){var o=t.height;return e("div",{style:{height:null!=o?o:220,display:"flex",alignItems:"center",justifyContent:"center",color:"#94a3b8",fontSize:14},children:"No data available"})},ml=function(t){var o=t.type,n=t.data,r=t.options,i=t.height,a=t.width,s=t.isLoading,l=t.empty,c=t.theme,p=t.className,d=t.style,u=me(),m=f(function(){return{palette:{primary:u.accent.primary,secondary:u.accent.secondary,muted:u.accent.primary,grid:u.chart.grid,text:u.chart.text},lineWidth:2,pointRadius:3,fontFamily:"Inter, system-ui, -apple-system, sans-serif"}},[u.accent.primary,u.accent.secondary,u.chart.grid,u.chart.text]),h=f(function(){return function(e,t){var o,n,r;return{palette:Object.assign(Object.assign({},e.palette),(null==t?void 0:t.palette)||{}),lineWidth:null!==(o=null==t?void 0:t.lineWidth)&&void 0!==o?o:e.lineWidth,pointRadius:null!==(n=null==t?void 0:t.pointRadius)&&void 0!==n?n:e.pointRadius,fontFamily:null!==(r=null==t?void 0:t.fontFamily)&&void 0!==r?r:e.fontFamily}}(m,c)},[m,c]),g=f(function(){var e={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!0,labels:{color:h.palette.text,font:{family:h.fontFamily}}},tooltip:{enabled:!0,titleColor:h.palette.text,bodyColor:h.palette.text,backgroundColor:"#fff",borderColor:h.palette.grid,borderWidth:1}},scales:{x:{grid:{color:h.palette.grid},ticks:{color:h.palette.text,font:{family:h.fontFamily}}},y:{grid:{color:h.palette.grid},ticks:{color:h.palette.text,font:{family:h.fontFamily}}}}};return Object.assign(Object.assign({},e),r||{})},[h,r]),y=Object.assign({height:null!=i?i:220,width:a},d);if(s)return e(ul,{height:i});if(l)return e(fl,{height:i});var b={data:n,options:g};switch(o){case"bar":return e(W,Object.assign({className:p,style:y},b));case"line":return e(F,Object.assign({className:p,style:y},b));case"pie":return e(V,Object.assign({className:p,style:y},b));case"doughnut":return e(z,Object.assign({className:p,style:y},b));case"radar":return e(D,Object.assign({className:p,style:y},b));case"polarArea":return e(B,Object.assign({className:p,style:y},b));case"bubble":return e(L,Object.assign({className:p,style:y},b));case"scatter":return e(A,Object.assign({className:p,style:y},b));default:return e("div",{style:y,children:"Unsupported chart type"})}},hl=function(e,t){var o=parseInt(e.replace("#",""),16),n=Math.round(2.55*t),r=Math.max(0,Math.min(255,(o>>16)+n)),i=Math.max(0,Math.min(255,(o>>8&255)+n)),a=Math.max(0,Math.min(255,(255&o)+n));return"#".concat((16777216+65536*r+256*i+a).toString(16).slice(1))},gl=function(e,t){var o=parseInt(e.replace("#",""),16),n=Math.round(2.55*t),r=Math.max(0,Math.min(255,(o>>16)-n)),i=Math.max(0,Math.min(255,(o>>8&255)-n)),a=Math.max(0,Math.min(255,(255&o)-n));return"#".concat((16777216+65536*r+256*i+a).toString(16).slice(1))},yl=function(e,t){if(t<=0)return[];if(1===t)return[e];for(var o=[],n=100/(t-1),r=0;r<t;r++){var i=r*n;i<=50?o.push(hl(e,50-i)):o.push(gl(e,i-50))}return o},bl=function(t){var o=t.data,n=t.variant,r=void 0===n?"dark":n,a=t.title,s=void 0===a?"Alerts by Trigger Type":a,l=t.description,c=void 0===l?"Distribution of alerts by trigger":l,p=me(),d=0===o.values.length,u=i.useMemo(function(){var e;return e=o.colors?Array.isArray(o.colors)?o.labels.map(function(e,t){return o.colors[t]||yl(p.accent.primary,o.labels.length)[t]}):o.labels.map(function(e){return o.colors[e]||yl(p.accent.primary,o.labels.length)[o.labels.indexOf(e)]}):yl(p.accent.primary,o.labels.length),{labels:o.labels,datasets:[{label:"Alerts by Trigger",data:o.values,backgroundColor:e,borderColor:p.border.subtle,borderWidth:1}]}},[o,p.accent.primary,p.border.subtle]);return e(rl,{title:s,description:c,variant:r,empty:d,bodyMinHeight:220,children:!d&&e(ml,{type:"doughnut",data:u,options:{plugins:{legend:{display:!1}},scales:{x:{display:!1},y:{display:!1}}}})})},vl=function(t){var o=t.data,n=t.variant,r=void 0===n?"dark":n,a=t.title,s=void 0===a?"Top Cameras by Alerts":a,l=t.description,c=void 0===l?"Cameras with most alerts":l,p=me(),d=0===o.values.length,u=i.useMemo(function(){var e;return e=o.colors?Array.isArray(o.colors)?o.labels.map(function(e,t){return o.colors[t]||yl(p.accent.primary,o.labels.length)[t]}):o.labels.map(function(e){return o.colors[e]||yl(p.accent.primary,o.labels.length)[o.labels.indexOf(e)]}):yl(p.accent.primary,o.labels.length),{labels:o.labels,datasets:[{label:"Alert Count",data:o.values,backgroundColor:e,borderColor:p.border.subtle,borderWidth:1}]}},[o,p.accent.primary,p.border.subtle]);return e(rl,{title:s,description:c,variant:r,empty:d,bodyMinHeight:220,children:!d&&e(ml,{type:"bar",data:u})})},xl=function(t){var o=t.data,n=t.variant,r=void 0===n?"dark":n,a=t.title,s=void 0===a?"Alerts Timeline":a,l=t.description,c=void 0===l?"Alerts over time":l,p=me(),d=0===o.values.length,u=i.useMemo(function(){var e,t;return e=o.colors?Array.isArray(o.colors)?o.colors[0]||p.accent.primary:o.colors[o.labels[0]]||p.accent.primary:p.accent.primary,t="".concat(e,"26"),{labels:o.labels,datasets:[{label:"Alerts",data:o.values,borderColor:e,backgroundColor:t,tension:.3,fill:!0}]}},[o,p.accent.primary]);return e(rl,{title:s,description:c,variant:r,empty:d,bodyMinHeight:220,children:!d&&e(ml,{type:"line",data:u})})},wl=function(t){var o=t.data,n=t.variant,r=void 0===n?"dark":n,a=t.title,s=void 0===a?"Alert Severity Distribution":a,l=t.description,c=void 0===l?"Distribution by severity level":l,p=me(),d=0===o.values.length,u={Severe:p.semantic.critical,Critical:p.semantic.critical,Medium:p.semantic.warning,Warning:p.semantic.warning,Normal:p.semantic.success,Success:p.semantic.success,Info:p.semantic.info},f=i.useMemo(function(){var e=o.labels.map(function(e,t){var n;if(o.colors){var r=Array.isArray(o.colors)?o.colors[t]:o.colors[e];if(r)return r}return null!==(n=u[e])&&void 0!==n?n:p.accent.primary});return{labels:o.labels,datasets:[{label:"Alert Severity",data:o.values,backgroundColor:e,borderColor:p.border.subtle,borderWidth:1}]}},[o,p.semantic,p.accent.primary,p.border.subtle]);return e(rl,{title:s,description:c,variant:r,empty:d,bodyMinHeight:220,children:!d&&e(ml,{type:"bar",data:f})})},Sl=function(o){var n=o.items,r=o.variant,i=void 0===r?"dark":r,a=o.onItemClick,s=o.title,l=o.description,c=void 0===l?"Top sources by activity count":l,p=me(),d=0===n.length,u=null!=s?s:n.length>0?"Top ".concat(n.length," Sources"):"Top Sources";return e(rl,{title:u,description:c,variant:i,empty:d,bodyMinHeight:180,children:!d&&e("div",{style:{display:"flex",flexDirection:"column",gap:8},children:n.map(function(o,r){return t("div",{onClick:function(){return null==a?void 0:a(o.id)},style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 12px",borderRadius:8,backgroundColor:p.surface.control,border:"1px solid ".concat(p.border.subtle),cursor:a?"pointer":"default",transition:"background-color 0.2s"},onMouseEnter:function(e){a&&(e.currentTarget.style.backgroundColor=p.surface.hover)},onMouseLeave:function(e){e.currentTarget.style.backgroundColor=p.surface.control},children:[t("div",{style:{flex:1},children:[t("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:4},children:[e("span",{style:{width:20,height:20,borderRadius:"50%",backgroundColor:yl(p.accent.primary,n.length)[r],display:"flex",alignItems:"center",justifyContent:"center",color:p.text.primary,fontSize:11,fontWeight:600,flexShrink:0},children:r+1}),e("span",{style:{color:p.text.primary,fontSize:14,fontWeight:500},children:o.name})]}),o.lastActivity&&t("div",{style:{fontSize:12,color:p.text.muted,marginLeft:28},children:["Last: ",o.lastActivity]})]}),e("div",{style:{padding:"4px 10px",borderRadius:12,backgroundColor:"".concat(p.text.inverted,"1f"),color:p.text.muted,fontSize:13,fontWeight:600,minWidth:40,textAlign:"center"},children:o.count})]},o.id)})})})},Tl=function(o){var n=o.items,r=o.variant,i=void 0===r?"dark":r,a=o.maxItems,s=void 0===a?10:a,l=o.onItemClick,c=o.title,p=void 0===c?"Recent Activity":c,d=o.description,u=void 0===d?"Latest events":d,m=me(),h=f(function(){return n.slice().sort(function(e,t){var o=new Date(e.timestamp||0).getTime();return new Date(t.timestamp||0).getTime()-o}).slice(0,s)},[n,s]),g=0===h.length,y={Severe:m.semantic.critical,Medium:m.semantic.warning,Info:m.semantic.info,Normal:m.semantic.success};return e(rl,{title:p,description:u,variant:i,empty:g,bodyMinHeight:220,children:!g&&e("div",{style:{display:"flex",flexDirection:"column",gap:8},children:h.map(function(o){var n,r,i=(n=o.severity,null!==(r=y[n])&&void 0!==r?r:y.Normal);return t("div",{onClick:function(){return null==l?void 0:l(o.id)},style:{display:"flex",flexDirection:"column",gap:4,padding:"10px 12px",borderRadius:8,backgroundColor:m.surface.control,border:"1px solid ".concat(m.border.subtle),cursor:l?"pointer":"default",transition:"background-color 0.2s"},onMouseEnter:function(e){l&&(e.currentTarget.style.backgroundColor=m.surface.hover)},onMouseLeave:function(e){e.currentTarget.style.backgroundColor=m.surface.control},children:[t("div",{style:{display:"flex",alignItems:"center",gap:8},children:[e("span",{style:{width:8,height:8,borderRadius:"50%",backgroundColor:i,flexShrink:0}}),e("span",{style:{color:m.text.primary,fontSize:13,fontWeight:500,flex:1},children:o.message}),e("span",{style:{fontSize:11,color:m.text.muted,fontWeight:500},children:o.time})]}),o.category&&e("div",{style:{fontSize:12,color:m.text.muted,marginLeft:16},children:o.category})]},o.id)})})})};const Ol={black:"#000",white:"#fff"},Cl="#d32f2f",kl="#42a5f5",El="#0288d1",Pl={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"};function Nl(e,...t){const o=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>o.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${o} for the full message.`}var Rl="$$material";function Ml(){return Ml=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},Ml.apply(null,arguments)}var $l=function(){function e(e){var t=this;this._insertTag=function(e){var o;o=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,o),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{o.insertRule(e,o.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),jl="-ms-",Il="-moz-",Al="-webkit-",Ll="comm",Bl="rule",Dl="decl",zl="@keyframes",Vl=Math.abs,Fl=String.fromCharCode,Wl=Object.assign;function _l(e){return e.trim()}function Hl(e,t,o){return e.replace(t,o)}function ql(e,t){return e.indexOf(t)}function Ul(e,t){return 0|e.charCodeAt(t)}function Gl(e,t,o){return e.slice(t,o)}function Kl(e){return e.length}function Xl(e){return e.length}function Yl(e,t){return t.push(e),e}var Zl=1,Jl=1,Ql=0,ec=0,tc=0,oc="";function nc(e,t,o,n,r,i,a){return{value:e,root:t,parent:o,type:n,props:r,children:i,line:Zl,column:Jl,length:a,return:""}}function rc(e,t){return Wl(nc("",null,null,"",null,null,0),e,{length:-e.length},t)}function ic(){return tc=ec>0?Ul(oc,--ec):0,Jl--,10===tc&&(Jl=1,Zl--),tc}function ac(){return tc=ec<Ql?Ul(oc,ec++):0,Jl++,10===tc&&(Jl=1,Zl++),tc}function sc(){return Ul(oc,ec)}function lc(){return ec}function cc(e,t){return Gl(oc,e,t)}function pc(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function dc(e){return Zl=Jl=1,Ql=Kl(oc=e),ec=0,[]}function uc(e){return oc="",e}function fc(e){return _l(cc(ec-1,gc(91===e?e+2:40===e?e+1:e)))}function mc(e){for(;(tc=sc())&&tc<33;)ac();return pc(e)>2||pc(tc)>3?"":" "}function hc(e,t){for(;--t&&ac()&&!(tc<48||tc>102||tc>57&&tc<65||tc>70&&tc<97););return cc(e,lc()+(t<6&&32==sc()&&32==ac()))}function gc(e){for(;ac();)switch(tc){case e:return ec;case 34:case 39:34!==e&&39!==e&&gc(tc);break;case 40:41===e&&gc(e);break;case 92:ac()}return ec}function yc(e,t){for(;ac()&&e+tc!==57&&(e+tc!==84||47!==sc()););return"/*"+cc(t,ec-1)+"*"+Fl(47===e?e:ac())}function bc(e){for(;!pc(sc());)ac();return cc(e,ec)}function vc(e){return uc(xc("",null,null,null,[""],e=dc(e),0,[0],e))}function xc(e,t,o,n,r,i,a,s,l){for(var c=0,p=0,d=a,u=0,f=0,m=0,h=1,g=1,y=1,b=0,v="",x=r,w=i,S=n,T=v;g;)switch(m=b,b=ac()){case 40:if(108!=m&&58==Ul(T,d-1)){-1!=ql(T+=Hl(fc(b),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:T+=fc(b);break;case 9:case 10:case 13:case 32:T+=mc(m);break;case 92:T+=hc(lc()-1,7);continue;case 47:switch(sc()){case 42:case 47:Yl(Sc(yc(ac(),lc()),t,o),l);break;default:T+="/"}break;case 123*h:s[c++]=Kl(T)*y;case 125*h:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+p:-1==y&&(T=Hl(T,/\f/g,"")),f>0&&Kl(T)-d&&Yl(f>32?Tc(T+";",n,o,d-1):Tc(Hl(T," ","")+";",n,o,d-2),l);break;case 59:T+=";";default:if(Yl(S=wc(T,t,o,c,p,r,s,v,x=[],w=[],d),i),123===b)if(0===p)xc(T,t,S,S,x,i,d,s,w);else switch(99===u&&110===Ul(T,3)?100:u){case 100:case 108:case 109:case 115:xc(e,S,S,n&&Yl(wc(e,S,S,0,0,r,s,v,r,x=[],d),w),r,w,d,s,n?x:w);break;default:xc(T,S,S,S,[""],w,0,s,w)}}c=p=f=0,h=y=1,v=T="",d=a;break;case 58:d=1+Kl(T),f=m;default:if(h<1)if(123==b)--h;else if(125==b&&0==h++&&125==ic())continue;switch(T+=Fl(b),b*h){case 38:y=p>0?1:(T+="\f",-1);break;case 44:s[c++]=(Kl(T)-1)*y,y=1;break;case 64:45===sc()&&(T+=fc(ac())),u=sc(),p=d=Kl(v=T+=bc(lc())),b++;break;case 45:45===m&&2==Kl(T)&&(h=0)}}return i}function wc(e,t,o,n,r,i,a,s,l,c,p){for(var d=r-1,u=0===r?i:[""],f=Xl(u),m=0,h=0,g=0;m<n;++m)for(var y=0,b=Gl(e,d+1,d=Vl(h=a[m])),v=e;y<f;++y)(v=_l(h>0?u[y]+" "+b:Hl(b,/&\f/g,u[y])))&&(l[g++]=v);return nc(e,t,o,0===r?Bl:s,l,c,p)}function Sc(e,t,o){return nc(e,t,o,Ll,Fl(tc),Gl(e,2,-2),0)}function Tc(e,t,o,n){return nc(e,t,o,Dl,Gl(e,0,n),Gl(e,n+1,-1),n)}function Oc(e,t){for(var o="",n=Xl(e),r=0;r<n;r++)o+=t(e[r],r,e,t)||"";return o}function Cc(e,t,o,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Dl:return e.return=e.return||e.value;case Ll:return"";case zl:return e.return=e.value+"{"+Oc(e.children,n)+"}";case Bl:e.value=e.props.join(",")}return Kl(o=Oc(e.children,n))?e.return=e.value+"{"+o+"}":""}function kc(e){var t=Object.create(null);return function(o){return void 0===t[o]&&(t[o]=e(o)),t[o]}}var Ec=function(e,t,o){for(var n=0,r=0;n=r,r=sc(),38===n&&12===r&&(t[o]=1),!pc(r);)ac();return cc(e,ec)},Pc=new WeakMap,Nc=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,o=e.parent,n=e.column===o.column&&e.line===o.line;"rule"!==o.type;)if(!(o=o.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Pc.get(o))&&!n){Pc.set(e,!0);for(var r=[],i=function(e,t){return uc(function(e,t){var o=-1,n=44;do{switch(pc(n)){case 0:38===n&&12===sc()&&(t[o]=1),e[o]+=Ec(ec-1,t,o);break;case 2:e[o]+=fc(n);break;case 4:if(44===n){e[++o]=58===sc()?"&\f":"",t[o]=e[o].length;break}default:e[o]+=Fl(n)}}while(n=ac());return e}(dc(e),t))}(t,r),a=o.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=r[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},Rc=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Mc(e,t){switch(function(e,t){return 45^Ul(e,0)?(((t<<2^Ul(e,0))<<2^Ul(e,1))<<2^Ul(e,2))<<2^Ul(e,3):0}(e,t)){case 5103:return Al+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Al+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Al+e+Il+e+jl+e+e;case 6828:case 4268:return Al+e+jl+e+e;case 6165:return Al+e+jl+"flex-"+e+e;case 5187:return Al+e+Hl(e,/(\w+).+(:[^]+)/,Al+"box-$1$2"+jl+"flex-$1$2")+e;case 5443:return Al+e+jl+"flex-item-"+Hl(e,/flex-|-self/,"")+e;case 4675:return Al+e+jl+"flex-line-pack"+Hl(e,/align-content|flex-|-self/,"")+e;case 5548:return Al+e+jl+Hl(e,"shrink","negative")+e;case 5292:return Al+e+jl+Hl(e,"basis","preferred-size")+e;case 6060:return Al+"box-"+Hl(e,"-grow","")+Al+e+jl+Hl(e,"grow","positive")+e;case 4554:return Al+Hl(e,/([^-])(transform)/g,"$1"+Al+"$2")+e;case 6187:return Hl(Hl(Hl(e,/(zoom-|grab)/,Al+"$1"),/(image-set)/,Al+"$1"),e,"")+e;case 5495:case 3959:return Hl(e,/(image-set\([^]*)/,Al+"$1$`$1");case 4968:return Hl(Hl(e,/(.+:)(flex-)?(.*)/,Al+"box-pack:$3"+jl+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Al+e+e;case 4095:case 3583:case 4068:case 2532:return Hl(e,/(.+)-inline(.+)/,Al+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Kl(e)-1-t>6)switch(Ul(e,t+1)){case 109:if(45!==Ul(e,t+4))break;case 102:return Hl(e,/(.+:)(.+)-([^]+)/,"$1"+Al+"$2-$3$1"+Il+(108==Ul(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ql(e,"stretch")?Mc(Hl(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ul(e,t+1))break;case 6444:switch(Ul(e,Kl(e)-3-(~ql(e,"!important")&&10))){case 107:return Hl(e,":",":"+Al)+e;case 101:return Hl(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Al+(45===Ul(e,14)?"inline-":"")+"box$3$1"+Al+"$2$3$1"+jl+"$2box$3")+e}break;case 5936:switch(Ul(e,t+11)){case 114:return Al+e+jl+Hl(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Al+e+jl+Hl(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Al+e+jl+Hl(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Al+e+jl+e+e}return e}var $c=[function(e,t,o,n){if(e.length>-1&&!e.return)switch(e.type){case Dl:e.return=Mc(e.value,e.length);break;case zl:return Oc([rc(e,{value:Hl(e.value,"@","@"+Al)})],n);case Bl:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return Oc([rc(e,{props:[Hl(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return Oc([rc(e,{props:[Hl(t,/:(plac\w+)/,":"+Al+"input-$1")]}),rc(e,{props:[Hl(t,/:(plac\w+)/,":-moz-$1")]}),rc(e,{props:[Hl(t,/:(plac\w+)/,jl+"input-$1")]})],n)}return""})}}],jc=function(e){var t=e.key;if("css"===t){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var n,r,i=e.stylisPlugins||$c,a={},s=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),o=1;o<t.length;o++)a[t[o]]=!0;s.push(e)});var l,c,p=[Cc,(c=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&c(e)})],d=function(e){var t=Xl(e);return function(o,n,r,i){for(var a="",s=0;s<t;s++)a+=e[s](o,n,r,i)||"";return a}}([Nc,Rc].concat(i,p));r=function(e,t,o,n){l=o,function(e){Oc(vc(e),d)}(e?e+"{"+t.styles+"}":t.styles),n&&(u.inserted[t.name]=!0)};var u={key:t,sheet:new $l({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:r};return u.sheet.hydrate(s),u},Ic={},Ac={get exports(){return Ic},set exports(e){Ic=e}},Lc={},Bc="function"==typeof Symbol&&Symbol.for,Dc=Bc?Symbol.for("react.element"):60103,zc=Bc?Symbol.for("react.portal"):60106,Vc=Bc?Symbol.for("react.fragment"):60107,Fc=Bc?Symbol.for("react.strict_mode"):60108,Wc=Bc?Symbol.for("react.profiler"):60114,_c=Bc?Symbol.for("react.provider"):60109,Hc=Bc?Symbol.for("react.context"):60110,qc=Bc?Symbol.for("react.async_mode"):60111,Uc=Bc?Symbol.for("react.concurrent_mode"):60111,Gc=Bc?Symbol.for("react.forward_ref"):60112,Kc=Bc?Symbol.for("react.suspense"):60113,Xc=Bc?Symbol.for("react.suspense_list"):60120,Yc=Bc?Symbol.for("react.memo"):60115,Zc=Bc?Symbol.for("react.lazy"):60116,Jc=Bc?Symbol.for("react.block"):60121,Qc=Bc?Symbol.for("react.fundamental"):60117,ep=Bc?Symbol.for("react.responder"):60118,tp=Bc?Symbol.for("react.scope"):60119;function op(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Dc:switch(e=e.type){case qc:case Uc:case Vc:case Wc:case Fc:case Kc:return e;default:switch(e=e&&e.$$typeof){case Hc:case Gc:case Zc:case Yc:case _c:return e;default:return t}}case zc:return t}}}function np(e){return op(e)===Uc}Lc.AsyncMode=qc,Lc.ConcurrentMode=Uc,Lc.ContextConsumer=Hc,Lc.ContextProvider=_c,Lc.Element=Dc,Lc.ForwardRef=Gc,Lc.Fragment=Vc,Lc.Lazy=Zc,Lc.Memo=Yc,Lc.Portal=zc,Lc.Profiler=Wc,Lc.StrictMode=Fc,Lc.Suspense=Kc,Lc.isAsyncMode=function(e){return np(e)||op(e)===qc},Lc.isConcurrentMode=np,Lc.isContextConsumer=function(e){return op(e)===Hc},Lc.isContextProvider=function(e){return op(e)===_c},Lc.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Dc},Lc.isForwardRef=function(e){return op(e)===Gc},Lc.isFragment=function(e){return op(e)===Vc},Lc.isLazy=function(e){return op(e)===Zc},Lc.isMemo=function(e){return op(e)===Yc},Lc.isPortal=function(e){return op(e)===zc},Lc.isProfiler=function(e){return op(e)===Wc},Lc.isStrictMode=function(e){return op(e)===Fc},Lc.isSuspense=function(e){return op(e)===Kc},Lc.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Vc||e===Uc||e===Wc||e===Fc||e===Kc||e===Xc||"object"==typeof e&&null!==e&&(e.$$typeof===Zc||e.$$typeof===Yc||e.$$typeof===_c||e.$$typeof===Hc||e.$$typeof===Gc||e.$$typeof===Qc||e.$$typeof===ep||e.$$typeof===tp||e.$$typeof===Jc)},Lc.typeOf=op;var rp,ip={};
4
+ /** @license React v16.13.1
5
+ * react-is.development.js
6
+ *
7
+ * Copyright (c) Facebook, Inc. and its affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var u=e.$$typeof;switch(u){case t:var h=e.type;switch(h){case l:case c:case n:case i:case r:case d:return h;default:var g=h&&h.$$typeof;switch(g){case s:case p:case m:case f:case a:return g;default:return u}}case o:return u}}}var x=l,w=c,S=s,T=a,O=t,C=p,k=n,E=m,P=f,N=o,R=i,M=r,$=d,j=!1;function I(e){return v(e)===c}ip.AsyncMode=x,ip.ConcurrentMode=w,ip.ContextConsumer=S,ip.ContextProvider=T,ip.Element=O,ip.ForwardRef=C,ip.Fragment=k,ip.Lazy=E,ip.Memo=P,ip.Portal=N,ip.Profiler=R,ip.StrictMode=M,ip.Suspense=$,ip.isAsyncMode=function(e){return j||(j=!0),I(e)||v(e)===l},ip.isConcurrentMode=I,ip.isContextConsumer=function(e){return v(e)===s},ip.isContextProvider=function(e){return v(e)===a},ip.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ip.isForwardRef=function(e){return v(e)===p},ip.isFragment=function(e){return v(e)===n},ip.isLazy=function(e){return v(e)===m},ip.isMemo=function(e){return v(e)===f},ip.isPortal=function(e){return v(e)===o},ip.isProfiler=function(e){return v(e)===i},ip.isStrictMode=function(e){return v(e)===r},ip.isSuspense=function(e){return v(e)===d},ip.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===i||e===r||e===d||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===p||e.$$typeof===g||e.$$typeof===y||e.$$typeof===b||e.$$typeof===h)},ip.typeOf=v}(),rp=Ac,"production"===process.env.NODE_ENV?rp.exports=Lc:rp.exports=ip;var ap=Ic,sp={};function lp(e,t,o){var n="";return o.split(" ").forEach(function(o){void 0!==e[o]?t.push(e[o]+";"):o&&(n+=o+" ")}),n}sp[ap.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},sp[ap.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var cp=function(e,t,o){var n=e.key+"-"+t.name;!1===o&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},pp=function(e,t,o){cp(e,t,o);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r=t;do{e.insert(t===r?"."+n:"",r,e.sheet,!0),r=r.next}while(void 0!==r)}},dp={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},up=/[A-Z]|^ms/g,fp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,mp=function(e){return 45===e.charCodeAt(1)},hp=function(e){return null!=e&&"boolean"!=typeof e},gp=kc(function(e){return mp(e)?e:e.replace(up,"-$&").toLowerCase()}),yp=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(fp,function(e,t,o){return vp={name:t,styles:o,next:vp},t})}return 1===dp[e]||mp(e)||"number"!=typeof t||0===t?t:t+"px"};function bp(e,t,o){if(null==o)return"";var n=o;if(void 0!==n.__emotion_styles)return n;switch(typeof o){case"boolean":return"";case"object":var r=o;if(1===r.anim)return vp={name:r.name,styles:r.styles,next:vp},r.name;var i=o;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)vp={name:a.name,styles:a.styles,next:vp},a=a.next;return i.styles+";"}return function(e,t,o){var n="";if(Array.isArray(o))for(var r=0;r<o.length;r++)n+=bp(e,t,o[r])+";";else for(var i in o){var a=o[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":hp(s)&&(n+=gp(i)+":"+yp(i,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=bp(e,t,a);switch(i){case"animation":case"animationName":n+=gp(i)+":"+l+";";break;default:n+=i+"{"+l+"}"}}else for(var c=0;c<a.length;c++)hp(a[c])&&(n+=gp(i)+":"+yp(i,a[c])+";")}return n}(e,t,o);case"function":if(void 0!==e){var s=vp,l=o(e);return vp=s,bp(e,t,l)}}var c=o;if(null==t)return c;var p=t[c];return void 0!==p?p:c}var vp,xp=/label:\s*([^\s;{]+)\s*(;|$)/g;function wp(e,t,o){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,r="";vp=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,r+=bp(o,t,i)):r+=i[0];for(var a=1;a<e.length;a++)r+=bp(o,t,e[a]),n&&(r+=i[a]);xp.lastIndex=0;for(var s,l="";null!==(s=xp.exec(r));)l+="-"+s[1];var c=function(e){for(var t,o=0,n=0,r=e.length;r>=4;++n,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),o=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&o)+(59797*(o>>>16)<<16);switch(r){case 3:o^=(255&e.charCodeAt(n+2))<<16;case 2:o^=(255&e.charCodeAt(n+1))<<8;case 1:o=1540483477*(65535&(o^=255&e.charCodeAt(n)))+(59797*(o>>>16)<<16)}return(((o=1540483477*(65535&(o^=o>>>13))+(59797*(o>>>16)<<16))^o>>>15)>>>0).toString(36)}(r)+l;return{name:c,styles:r,next:vp}}var Sp=!!r.useInsertionEffect&&r.useInsertionEffect,Tp=Sp||function(e){return e()},Op=Sp||r.useLayoutEffect,Cp=r.createContext("undefined"!=typeof HTMLElement?jc({key:"css"}):null);Cp.Provider;var kp,Ep,Pp=function(e){return y(function(t,o){var n=p(Cp);return e(t,n,o)})},Np=r.createContext({}),Rp={}.hasOwnProperty,Mp="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",$p=function(e){var t=e.cache,o=e.serialized,n=e.isStringTag;return cp(t,o,n),Tp(function(){return pp(t,o,n)}),null},jp=Pp(function(e,t,o){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var i=e[Mp],a=[n],s="";"string"==typeof e.className?s=lp(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=wp(a,void 0,r.useContext(Np));s+=t.key+"-"+l.name;var c={};for(var p in e)Rp.call(e,p)&&"css"!==p&&p!==Mp&&(c[p]=e[p]);return c.className=s,o&&(c.ref=o),r.createElement(r.Fragment,null,r.createElement($p,{cache:t,serialized:l,isStringTag:"string"==typeof i}),r.createElement(i,c))}),Ip=function(e,t){var o=arguments;if(null==t||!Rp.call(t,"css"))return r.createElement.apply(void 0,o);var n=o.length,i=new Array(n);i[0]=jp,i[1]=function(e,t){var o={};for(var n in t)Rp.call(t,n)&&(o[n]=t[n]);return o[Mp]=e,o}(e,t);for(var a=2;a<n;a++)i[a]=o[a];return r.createElement.apply(null,i)};kp=Ip||(Ip={}),Ep||(Ep=kp.JSX||(kp.JSX={}));var Ap=Pp(function(e,t){var o=wp([e.styles],void 0,r.useContext(Np)),n=r.useRef();return Op(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+o.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),r.hydrate([a])),n.current=[r,i],function(){r.flush()}},[t]),Op(function(){var e=n.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==o.next&&pp(t,o.next,!0),r.tags.length){var i=r.tags[r.tags.length-1].nextElementSibling;r.before=i,r.flush()}t.insert("",o,r,!1)}},[t,o.name]),null});function Lp(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return wp(t)}function Bp(){var e=Lp.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var Dp=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,zp=kc(function(e){return Dp.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),Vp=function(e){return"theme"!==e},Fp=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?zp:Vp},Wp=function(e,t,o){var n;if(t){var r=t.shouldForwardProp;n=e.__emotion_forwardProp&&r?function(t){return e.__emotion_forwardProp(t)&&r(t)}:r}return"function"!=typeof n&&o&&(n=e.__emotion_forwardProp),n},_p=function(e){var t=e.cache,o=e.serialized,n=e.isStringTag;return cp(t,o,n),Tp(function(){return pp(t,o,n)}),null},Hp=function e(t,o){var n,i,a=t.__emotion_real===t,s=a&&t.__emotion_base||t;void 0!==o&&(n=o.label,i=o.target);var l=Wp(t,o,a),c=l||Fp(s),p=!c("as");return function(){var d=arguments,u=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&u.push("label:"+n+";"),null==d[0]||void 0===d[0].raw)u.push.apply(u,d);else{var f=d[0];u.push(f[0]);for(var m=d.length,h=1;h<m;h++)u.push(d[h],f[h])}var g=Pp(function(e,t,o){var n=p&&e.as||s,a="",d=[],f=e;if(null==e.theme){for(var m in f={},e)f[m]=e[m];f.theme=r.useContext(Np)}"string"==typeof e.className?a=lp(t.registered,d,e.className):null!=e.className&&(a=e.className+" ");var h=wp(u.concat(d),t.registered,f);a+=t.key+"-"+h.name,void 0!==i&&(a+=" "+i);var g=p&&void 0===l?Fp(n):c,y={};for(var b in e)p&&"as"===b||g(b)&&(y[b]=e[b]);return y.className=a,o&&(y.ref=o),r.createElement(r.Fragment,null,r.createElement(_p,{cache:t,serialized:h,isStringTag:"string"==typeof n}),r.createElement(n,y))});return g.displayName=void 0!==n?n:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=s,g.__emotion_styles=u,g.__emotion_forwardProp=l,Object.defineProperty(g,"toString",{value:function(){return"."+i}}),g.withComponent=function(t,n){return e(t,Ml({},o,n,{shouldForwardProp:Wp(g,n,!0)})).apply(void 0,u)},g}}.bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){Hp[e]=Hp(e)});var qp={},Up={get exports(){return qp},set exports(e){qp=e}},Gp={},Kp={get exports(){return Gp},set exports(e){Gp=e}},Xp={},Yp="function"==typeof Symbol&&Symbol.for,Zp=Yp?Symbol.for("react.element"):60103,Jp=Yp?Symbol.for("react.portal"):60106,Qp=Yp?Symbol.for("react.fragment"):60107,ed=Yp?Symbol.for("react.strict_mode"):60108,td=Yp?Symbol.for("react.profiler"):60114,od=Yp?Symbol.for("react.provider"):60109,nd=Yp?Symbol.for("react.context"):60110,rd=Yp?Symbol.for("react.async_mode"):60111,id=Yp?Symbol.for("react.concurrent_mode"):60111,ad=Yp?Symbol.for("react.forward_ref"):60112,sd=Yp?Symbol.for("react.suspense"):60113,ld=Yp?Symbol.for("react.suspense_list"):60120,cd=Yp?Symbol.for("react.memo"):60115,pd=Yp?Symbol.for("react.lazy"):60116,dd=Yp?Symbol.for("react.block"):60121,ud=Yp?Symbol.for("react.fundamental"):60117,fd=Yp?Symbol.for("react.responder"):60118,md=Yp?Symbol.for("react.scope"):60119;function hd(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Zp:switch(e=e.type){case rd:case id:case Qp:case td:case ed:case sd:return e;default:switch(e=e&&e.$$typeof){case nd:case ad:case pd:case cd:case od:return e;default:return t}}case Jp:return t}}}function gd(e){return hd(e)===id}Xp.AsyncMode=rd,Xp.ConcurrentMode=id,Xp.ContextConsumer=nd,Xp.ContextProvider=od,Xp.Element=Zp,Xp.ForwardRef=ad,Xp.Fragment=Qp,Xp.Lazy=pd,Xp.Memo=cd,Xp.Portal=Jp,Xp.Profiler=td,Xp.StrictMode=ed,Xp.Suspense=sd,Xp.isAsyncMode=function(e){return gd(e)||hd(e)===rd},Xp.isConcurrentMode=gd,Xp.isContextConsumer=function(e){return hd(e)===nd},Xp.isContextProvider=function(e){return hd(e)===od},Xp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Zp},Xp.isForwardRef=function(e){return hd(e)===ad},Xp.isFragment=function(e){return hd(e)===Qp},Xp.isLazy=function(e){return hd(e)===pd},Xp.isMemo=function(e){return hd(e)===cd},Xp.isPortal=function(e){return hd(e)===Jp},Xp.isProfiler=function(e){return hd(e)===td},Xp.isStrictMode=function(e){return hd(e)===ed},Xp.isSuspense=function(e){return hd(e)===sd},Xp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Qp||e===id||e===td||e===ed||e===sd||e===ld||"object"==typeof e&&null!==e&&(e.$$typeof===pd||e.$$typeof===cd||e.$$typeof===od||e.$$typeof===nd||e.$$typeof===ad||e.$$typeof===ud||e.$$typeof===fd||e.$$typeof===md||e.$$typeof===dd)},Xp.typeOf=hd;var yd={};
12
+ /** @license React v16.13.1
13
+ * react-is.development.js
14
+ *
15
+ * Copyright (c) Facebook, Inc. and its affiliates.
16
+ *
17
+ * This source code is licensed under the MIT license found in the
18
+ * LICENSE file in the root directory of this source tree.
19
+ */"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var u=e.$$typeof;switch(u){case t:var h=e.type;switch(h){case l:case c:case n:case i:case r:case d:return h;default:var g=h&&h.$$typeof;switch(g){case s:case p:case m:case f:case a:return g;default:return u}}case o:return u}}}var x=l,w=c,S=s,T=a,O=t,C=p,k=n,E=m,P=f,N=o,R=i,M=r,$=d,j=!1;function I(e){return v(e)===c}yd.AsyncMode=x,yd.ConcurrentMode=w,yd.ContextConsumer=S,yd.ContextProvider=T,yd.Element=O,yd.ForwardRef=C,yd.Fragment=k,yd.Lazy=E,yd.Memo=P,yd.Portal=N,yd.Profiler=R,yd.StrictMode=M,yd.Suspense=$,yd.isAsyncMode=function(e){return j||(j=!0),I(e)||v(e)===l},yd.isConcurrentMode=I,yd.isContextConsumer=function(e){return v(e)===s},yd.isContextProvider=function(e){return v(e)===a},yd.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},yd.isForwardRef=function(e){return v(e)===p},yd.isFragment=function(e){return v(e)===n},yd.isLazy=function(e){return v(e)===m},yd.isMemo=function(e){return v(e)===f},yd.isPortal=function(e){return v(e)===o},yd.isProfiler=function(e){return v(e)===i},yd.isStrictMode=function(e){return v(e)===r},yd.isSuspense=function(e){return v(e)===d},yd.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===i||e===r||e===d||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===p||e.$$typeof===g||e.$$typeof===y||e.$$typeof===b||e.$$typeof===h)},yd.typeOf=v}(),function(e){"production"===process.env.NODE_ENV?e.exports=Xp:e.exports=yd}(Kp);
20
+ /*
21
+ object-assign
22
+ (c) Sindre Sorhus
23
+ @license MIT
24
+ */
25
+ var bd=Object.getOwnPropertySymbols,vd=Object.prototype.hasOwnProperty,xd=Object.prototype.propertyIsEnumerable,wd=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;var n=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==n.join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var o,n,r=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),i=1;i<arguments.length;i++){for(var a in o=Object(arguments[i]))vd.call(o,a)&&(r[a]=o[a]);if(bd){n=bd(o);for(var s=0;s<n.length;s++)xd.call(o,n[s])&&(r[n[s]]=o[n[s]])}}return r},Sd="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Td=Function.call.bind(Object.prototype.hasOwnProperty),Od=function(){};if("production"!==process.env.NODE_ENV){var Cd=Sd,kd={},Ed=Td;Od=function(e){var t="Warning: "+e;try{throw new Error(t)}catch(e){}}}function Pd(e,t,o,n,r){if("production"!==process.env.NODE_ENV)for(var i in e)if(Ed(e,i)){var a;try{if("function"!=typeof e[i]){var s=Error((n||"React class")+": "+o+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}a=e[i](t,i,n,o,null,Cd)}catch(e){a=e}if(!a||a instanceof Error||Od((n||"React class")+": type specification of "+o+" `"+i+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in kd)){kd[a.message]=!0;var l=r?r():"";Od("Failed "+o+" type: "+a.message+(null!=l?l:""))}}}Pd.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(kd={})};var Nd=Gp,Rd=wd,Md=Sd,$d=Td,jd=Pd,Id=function(){};function Ad(){return null}"production"!==process.env.NODE_ENV&&(Id=function(e){var t="Warning: "+e;try{throw new Error(t)}catch(e){}});var Ld=Sd;function Bd(){}function Dd(){}if(Dd.resetWarningCache=Bd,"production"!==process.env.NODE_ENV){var zd=Gp;Up.exports=function(e){var t="function"==typeof Symbol&&Symbol.iterator,o="<<anonymous>>",n={array:s("array"),bigint:s("bigint"),bool:s("boolean"),func:s("function"),number:s("number"),object:s("object"),string:s("string"),symbol:s("symbol"),any:a(Ad),arrayOf:function(e){return a(function(t,o,n,r,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var s=t[o];if(!Array.isArray(s))return new i("Invalid "+r+" `"+a+"` of type `"+p(s)+"` supplied to `"+n+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,n,r,a+"["+l+"]",Md);if(c instanceof Error)return c}return null})},element:a(function(t,o,n,r,a){var s=t[o];return e(s)?null:new i("Invalid "+r+" `"+a+"` of type `"+p(s)+"` supplied to `"+n+"`, expected a single ReactElement.")}),elementType:a(function(e,t,o,n,r){var a=e[t];return Nd.isValidElementType(a)?null:new i("Invalid "+n+" `"+r+"` of type `"+p(a)+"` supplied to `"+o+"`, expected a single ReactElement type.")}),instanceOf:function(e){return a(function(t,n,r,a,s){if(!(t[n]instanceof e)){var l=e.name||o;return new i("Invalid "+a+" `"+s+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:o)+"` supplied to `"+r+"`, expected instance of `"+l+"`.")}var c;return null})},node:a(function(e,t,o,n,r){return c(e[t])?null:new i("Invalid "+n+" `"+r+"` supplied to `"+o+"`, expected a ReactNode.")}),objectOf:function(e){return a(function(t,o,n,r,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var s=t[o],l=p(s);if("object"!==l)return new i("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+n+"`, expected an object.");for(var c in s)if($d(s,c)){var d=e(s,c,n,r,a+"."+c,Md);if(d instanceof Error)return d}return null})},oneOf:function(e){return Array.isArray(e)?a(function(t,o,n,a,s){for(var l=t[o],c=0;c<e.length;c++)if(r(l,e[c]))return null;var p=JSON.stringify(e,function(e,t){return"symbol"===d(t)?String(t):t});return new i("Invalid "+a+" `"+s+"` of value `"+String(l)+"` supplied to `"+n+"`, expected one of "+p+".")}):("production"!==process.env.NODE_ENV&&Id(arguments.length>1?"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]).":"Invalid argument supplied to oneOf, expected an array."),Ad)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&Id("Invalid argument supplied to oneOfType, expected an instance of array."),Ad;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return Id("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+u(o)+" at index "+t+"."),Ad}return a(function(t,o,n,r,a){for(var s=[],l=0;l<e.length;l++){var c=(0,e[l])(t,o,n,r,a,Md);if(null==c)return null;c.data&&$d(c.data,"expectedType")&&s.push(c.data.expectedType)}return new i("Invalid "+r+" `"+a+"` supplied to `"+n+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")})},shape:function(e){return a(function(t,o,n,r,a){var s=t[o],c=p(s);if("object"!==c)return new i("Invalid "+r+" `"+a+"` of type `"+c+"` supplied to `"+n+"`, expected `object`.");for(var u in e){var f=e[u];if("function"!=typeof f)return l(n,r,a,u,d(f));var m=f(s,u,n,r,a+"."+u,Md);if(m)return m}return null})},exact:function(e){return a(function(t,o,n,r,a){var s=t[o],c=p(s);if("object"!==c)return new i("Invalid "+r+" `"+a+"` of type `"+c+"` supplied to `"+n+"`, expected `object`.");var u=Rd({},t[o],e);for(var f in u){var m=e[f];if($d(e,f)&&"function"!=typeof m)return l(n,r,a,f,d(m));if(!m)return new i("Invalid "+r+" `"+a+"` key `"+f+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(t[o],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=m(s,f,n,r,a+"."+f,Md);if(h)return h}return null})}};function r(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function i(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function a(e){if("production"!==process.env.NODE_ENV);function t(t,n,r,a,s,l,c){if(a=a||o,l=l||r,c!==Md){var p=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 p.name="Invariant Violation",p}return null==n[r]?t?null===n[r]?new i("The "+s+" `"+l+"` is marked as required in `"+a+"`, but its value is `null`."):new i("The "+s+" `"+l+"` is marked as required in `"+a+"`, but its value is `undefined`."):null:e(n,r,a,s,l)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function s(e){return a(function(t,o,n,r,a,s){var l=t[o];return p(l)!==e?new i("Invalid "+r+" `"+a+"` of type `"+d(l)+"` supplied to `"+n+"`, expected `"+e+"`.",{expectedType:e}):null})}function l(e,t,o,n,r){return new i((e||"React class")+": "+t+" type `"+o+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function c(o){switch(typeof o){case"number":case"string":case"undefined":return!0;case"boolean":return!o;case"object":if(Array.isArray(o))return o.every(c);if(null===o||e(o))return!0;var n=function(e){var o=e&&(t&&e[t]||e["@@iterator"]);if("function"==typeof o)return o}(o);if(!n)return!1;var r,i=n.call(o);if(n!==o.entries){for(;!(r=i.next()).done;)if(!c(r.value))return!1}else for(;!(r=i.next()).done;){var a=r.value;if(a&&!c(a[1]))return!1}return!0;default:return!1}}function p(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function d(e){if(null==e)return""+e;var t=p(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function u(e){var t=d(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return i.prototype=Error.prototype,n.checkPropTypes=jd,n.resetWarningCache=jd.resetWarningCache,n.PropTypes=n,n}(zd.isElement)}else Up.exports=function(){function e(e,t,o,n,r,i){if(i!==Ld){var a=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 a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Dd,resetWarningCache:Bd};return o.PropTypes=o,o}();let Vd;if("object"==typeof document&&(Vd=document.querySelector('[name="emotion-insertion-point"]'),!Vd)){Vd=document.createElement("meta"),Vd.setAttribute("name","emotion-insertion-point"),Vd.setAttribute("content","");const e=document.querySelector("head");e&&e.prepend(Vd)}function Fd(t){const{styles:o,defaultTheme:n={}}=t;return e(Ap,{styles:"function"==typeof o?e=>{return o(null==(t=e)||0===Object.keys(t).length?n:e);var t}:o})}
26
+ /**
27
+ * @mui/styled-engine v7.3.7
28
+ *
29
+ * @license MIT
30
+ * This source code is licensed under the MIT license found in the
31
+ * LICENSE file in the root directory of this source tree.
32
+ */
33
+ function Wd(e,t){const o=Hp(e,t);return"production"!==process.env.NODE_ENV?(...e)=>(0===e.length||e.some(e=>void 0===e),o(...e)):o}"production"!==process.env.NODE_ENV&&(qp.node,qp.bool,qp.bool),"production"!==process.env.NODE_ENV&&(Fd.propTypes={defaultTheme:qp.object,styles:qp.oneOfType([qp.array,qp.string,qp.object,qp.func])});const _d=[];function Hd(e){return _d[0]=e,wp(_d)}var qd={},Ud={get exports(){return qd},set exports(e){qd=e}},Gd={},Kd=Symbol.for("react.transitional.element"),Xd=Symbol.for("react.portal"),Yd=Symbol.for("react.fragment"),Zd=Symbol.for("react.strict_mode"),Jd=Symbol.for("react.profiler"),Qd=Symbol.for("react.consumer"),eu=Symbol.for("react.context"),tu=Symbol.for("react.forward_ref"),ou=Symbol.for("react.suspense"),nu=Symbol.for("react.suspense_list"),ru=Symbol.for("react.memo"),iu=Symbol.for("react.lazy"),au=Symbol.for("react.view_transition"),su=Symbol.for("react.client.reference");function lu(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Kd:switch(e=e.type){case Yd:case Jd:case Zd:case ou:case nu:case au:return e;default:switch(e=e&&e.$$typeof){case eu:case tu:case iu:case ru:case Qd:return e;default:return t}}case Xd:return t}}}Gd.ContextConsumer=Qd,Gd.ContextProvider=eu,Gd.Element=Kd,Gd.ForwardRef=tu,Gd.Fragment=Yd,Gd.Lazy=iu,Gd.Memo=ru,Gd.Portal=Xd,Gd.Profiler=Jd,Gd.StrictMode=Zd,Gd.Suspense=ou,Gd.SuspenseList=nu,Gd.isContextConsumer=function(e){return lu(e)===Qd},Gd.isContextProvider=function(e){return lu(e)===eu},Gd.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Kd},Gd.isForwardRef=function(e){return lu(e)===tu},Gd.isFragment=function(e){return lu(e)===Yd},Gd.isLazy=function(e){return lu(e)===iu},Gd.isMemo=function(e){return lu(e)===ru},Gd.isPortal=function(e){return lu(e)===Xd},Gd.isProfiler=function(e){return lu(e)===Jd},Gd.isStrictMode=function(e){return lu(e)===Zd},Gd.isSuspense=function(e){return lu(e)===ou},Gd.isSuspenseList=function(e){return lu(e)===nu},Gd.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Yd||e===Jd||e===Zd||e===ou||e===nu||"object"==typeof e&&null!==e&&(e.$$typeof===iu||e.$$typeof===ru||e.$$typeof===eu||e.$$typeof===Qd||e.$$typeof===tu||e.$$typeof===su||void 0!==e.getModuleId)},Gd.typeOf=lu;var cu={};
34
+ /**
35
+ * @license React
36
+ * react-is.development.js
37
+ *
38
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
39
+ *
40
+ * This source code is licensed under the MIT license found in the
41
+ * LICENSE file in the root directory of this source tree.
42
+ */function pu(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function du(e){if(r.isValidElement(e)||qd.isValidElementType(e)||!pu(e))return e;const t={};return Object.keys(e).forEach(o=>{t[o]=du(e[o])}),t}function uu(e,t,o={clone:!0}){const n=o.clone?{...e}:e;return pu(e)&&pu(t)&&Object.keys(t).forEach(i=>{r.isValidElement(t[i])||qd.isValidElementType(t[i])?n[i]=t[i]:pu(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&pu(e[i])?n[i]=uu(e[i],t[i],o):o.clone?n[i]=pu(t[i])?du(t[i]):t[i]:n[i]=t[i]}),n}function fu(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:n=5,...r}=e,i=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${o})`}function c(e,r){const i=a.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:r)-n/100}${o})`}return{keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:o,...r}}function mu(e,t){if(!e.containerQueries)return t;const o=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{const o=/min-width:\s*([0-9.]+)/;return+(e.match(o)?.[1]||0)-+(t.match(o)?.[1]||0)});return o.length?o.reduce((e,o)=>{const n=t[o];return delete e[o],e[o]=n,e},{...t}):t}"production"!==process.env.NODE_ENV&&function(){function e(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case n:case i:case r:case c:case p:case f:return e;default:switch(e=e&&e.$$typeof){case s:case l:case u:case d:case a:return e;default:return m}}case o:return m}}}var t=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");cu.ContextConsumer=a,cu.ContextProvider=s,cu.Element=t,cu.ForwardRef=l,cu.Fragment=n,cu.Lazy=u,cu.Memo=d,cu.Portal=o,cu.Profiler=i,cu.StrictMode=r,cu.Suspense=c,cu.SuspenseList=p,cu.isContextConsumer=function(t){return e(t)===a},cu.isContextProvider=function(t){return e(t)===s},cu.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},cu.isForwardRef=function(t){return e(t)===l},cu.isFragment=function(t){return e(t)===n},cu.isLazy=function(t){return e(t)===u},cu.isMemo=function(t){return e(t)===d},cu.isPortal=function(t){return e(t)===o},cu.isProfiler=function(t){return e(t)===i},cu.isStrictMode=function(t){return e(t)===r},cu.isSuspense=function(t){return e(t)===c},cu.isSuspenseList=function(t){return e(t)===p},cu.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===i||e===r||e===c||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===u||e.$$typeof===d||e.$$typeof===s||e.$$typeof===a||e.$$typeof===l||e.$$typeof===m||void 0!==e.getModuleId)},cu.typeOf=e}(),function(e){"production"===process.env.NODE_ENV?e.exports=Gd:e.exports=cu}(Ud);const hu={borderRadius:4},gu="production"!==process.env.NODE_ENV?qp.oneOfType([qp.number,qp.string,qp.object,qp.array]):{};function yu(e,t){return t?uu(e,t,{clone:!1}):e}const bu={xs:0,sm:600,md:900,lg:1200,xl:1536},vu={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${bu[e]}px)`},xu={containerQueries:e=>({up:t=>{let o="number"==typeof t?t:bu[t]||t;return"number"==typeof o&&(o=`${o}px`),e?`@container ${e} (min-width:${o})`:`@container (min-width:${o})`}})};function wu(e,t,o){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||vu;return t.reduce((n,r,i)=>(n[e.up(e.keys[i])]=o(t[i]),n),{})}if("object"==typeof t){const e=n.breakpoints||vu;return Object.keys(t).reduce((r,i)=>{if(a=e.keys,"@"===(s=i)||s.startsWith("@")&&(a.some(e=>s.startsWith(`@${e}`))||s.match(/^@\d/))){const e=function(e,t){const o=t.match(/^@([^/]+)?\/?(.+)?$/);if(!o){if("production"!==process.env.NODE_ENV)throw new Error("production"!==process.env.NODE_ENV?`MUI: The provided shorthand (${t}) is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.\nFor example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Nl(18,`(${t})`));return null}const[,n,r]=o,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(r).up(i)}(n.containerQueries?n:xu,i);e&&(r[e]=o(t[i],i))}else if(Object.keys(e.values||bu).includes(i))r[e.up(i)]=o(t[i],i);else{const e=i;r[e]=t[e]}var a,s;return r},{})}return o(t)}function Su(e={}){const t=e.keys?.reduce((t,o)=>(t[e.up(o)]={},t),{});return t||{}}function Tu(e,t){return e.reduce((e,t)=>{const o=e[t];return(!o||0===Object.keys(o).length)&&delete e[t],e},t)}function Ou({values:e,breakpoints:t,base:o}){const n=o||function(e,t){if("object"!=typeof e)return{};const o={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n<e.length&&(o[t]=!0)}):n.forEach(t=>{null!=e[t]&&(o[t]=!0)}),o}(e,t),r=Object.keys(n);if(0===r.length)return e;let i;return r.reduce((t,o,n)=>(Array.isArray(e)?(t[o]=null!=e[n]?e[n]:e[i],i=n):"object"==typeof e?(t[o]=null!=e[o]?e[o]:e[i],i=o):t[o]=e,t),{})}function Cu(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Nl(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ku(e,t,o=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&o){const o=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=o)return o}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function Eu(e,t,o,n=o){let r;return r="function"==typeof e?e(o):Array.isArray(e)?e[o]||n:ku(e,o)||n,t&&(r=t(r,n,e)),r}function Pu(e){const{prop:t,cssProperty:o=e.prop,themeKey:n,transform:r}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=ku(e.theme,n)||{};return wu(e,i,e=>{let n=Eu(a,r,e);return e===n&&"string"==typeof e&&(n=Eu(a,r,`${t}${"default"===e?"":Cu(e)}`,e)),!1===o?n:{[o]:n}})};return i.propTypes="production"!==process.env.NODE_ENV?{[t]:gu}:{},i.filterProps=[t],i}const Nu={m:"margin",p:"padding"},Ru={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Mu={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},$u=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!Mu[e])return[e];e=Mu[e]}const[t,o]=e.split(""),n=Nu[t],r=Ru[o]||"";return Array.isArray(r)?r.map(e=>n+e):[n+r]})(t)),e[t])}(),ju=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Iu=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Au=[...ju,...Iu];function Lu(e,t,o,n){const r=ku(e,t,!0)??o;return"number"==typeof r||"string"==typeof r?e=>"string"==typeof e?e:(process.env.NODE_ENV,"string"==typeof r?r.startsWith("var(")&&0===e?0:r.startsWith("var(")&&1===e?r:`calc(${e} * ${r})`:r*e):Array.isArray(r)?e=>{if("string"==typeof e)return e;const t=Math.abs(e);"production"!==process.env.NODE_ENV&&Number.isInteger(t)&&r.length;const o=r[t];return e>=0?o:"number"==typeof o?-o:"string"==typeof o&&o.startsWith("var(")?`calc(-1 * ${o})`:`-${o}`}:"function"==typeof r?r:(process.env.NODE_ENV,()=>{})}function Bu(e){return Lu(e,"spacing",8)}function Du(e,t){return"string"==typeof t||null==t?t:e(t)}function zu(e,t){const o=Bu(e.theme);return Object.keys(e).map(n=>function(e,t,o,n){if(!t.includes(o))return null;const r=function(e,t){return o=>e.reduce((e,n)=>(e[n]=Du(t,o),e),{})}($u(o),n);return wu(e,e[o],r)}(e,t,n,o)).reduce(yu,{})}function Vu(e){return zu(e,ju)}function Fu(e){return zu(e,Iu)}function Wu(e){return zu(e,Au)}function _u(e=8,t=Bu({spacing:e})){if(e.mui)return e;const o=(...e)=>("production"!==process.env.NODE_ENV&&e.length,(0===e.length?[1]:e).map(e=>{const o=t(e);return"number"==typeof o?`${o}px`:o}).join(" "));return o.mui=!0,o}function Hu(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(o=>{e[o]=t}),e),{}),o=e=>Object.keys(e).reduce((o,n)=>t[n]?yu(o,t[n](e)):o,{});return o.propTypes="production"!==process.env.NODE_ENV?e.reduce((e,t)=>Object.assign(e,t.propTypes),{}):{},o.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),o}function qu(e){return"number"!=typeof e?e:`${e}px solid`}function Uu(e,t){return Pu({prop:e,themeKey:"borders",transform:t})}Vu.propTypes="production"!==process.env.NODE_ENV?ju.reduce((e,t)=>(e[t]=gu,e),{}):{},Vu.filterProps=ju,Fu.propTypes="production"!==process.env.NODE_ENV?Iu.reduce((e,t)=>(e[t]=gu,e),{}):{},Fu.filterProps=Iu,Wu.propTypes="production"!==process.env.NODE_ENV?Au.reduce((e,t)=>(e[t]=gu,e),{}):{},Wu.filterProps=Au;const Gu=Uu("border",qu),Ku=Uu("borderTop",qu),Xu=Uu("borderRight",qu),Yu=Uu("borderBottom",qu),Zu=Uu("borderLeft",qu),Ju=Uu("borderColor"),Qu=Uu("borderTopColor"),ef=Uu("borderRightColor"),tf=Uu("borderBottomColor"),of=Uu("borderLeftColor"),nf=Uu("outline",qu),rf=Uu("outlineColor"),af=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Lu(e.theme,"shape.borderRadius",4),o=e=>({borderRadius:Du(t,e)});return wu(e,e.borderRadius,o)}return null};af.propTypes="production"!==process.env.NODE_ENV?{borderRadius:gu}:{},af.filterProps=["borderRadius"];const sf=Hu(Gu,Ku,Xu,Yu,Zu,Ju,Qu,ef,tf,of,af,nf,rf),lf=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Lu(e.theme,"spacing",8),o=e=>({gap:Du(t,e)});return wu(e,e.gap,o)}return null};lf.propTypes="production"!==process.env.NODE_ENV?{gap:gu}:{},lf.filterProps=["gap"];const cf=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Lu(e.theme,"spacing",8),o=e=>({columnGap:Du(t,e)});return wu(e,e.columnGap,o)}return null};cf.propTypes="production"!==process.env.NODE_ENV?{columnGap:gu}:{},cf.filterProps=["columnGap"];const pf=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Lu(e.theme,"spacing",8),o=e=>({rowGap:Du(t,e)});return wu(e,e.rowGap,o)}return null};pf.propTypes="production"!==process.env.NODE_ENV?{rowGap:gu}:{},pf.filterProps=["rowGap"];const df=Hu(lf,cf,pf,Pu({prop:"gridColumn"}),Pu({prop:"gridRow"}),Pu({prop:"gridAutoFlow"}),Pu({prop:"gridAutoColumns"}),Pu({prop:"gridAutoRows"}),Pu({prop:"gridTemplateColumns"}),Pu({prop:"gridTemplateRows"}),Pu({prop:"gridTemplateAreas"}),Pu({prop:"gridArea"}));function uf(e,t){return"grey"===t?t:e}const ff=Hu(Pu({prop:"color",themeKey:"palette",transform:uf}),Pu({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:uf}),Pu({prop:"backgroundColor",themeKey:"palette",transform:uf}));function mf(e){return e<=1&&0!==e?100*e+"%":e}const hf=Pu({prop:"width",transform:mf}),gf=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const o=e.theme?.breakpoints?.values?.[t]||bu[t];return o?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:mf(t)}};return wu(e,e.maxWidth,t)}return null};gf.filterProps=["maxWidth"];const yf=Pu({prop:"minWidth",transform:mf}),bf=Pu({prop:"height",transform:mf}),vf=Pu({prop:"maxHeight",transform:mf}),xf=Pu({prop:"minHeight",transform:mf});Pu({prop:"size",cssProperty:"width",transform:mf}),Pu({prop:"size",cssProperty:"height",transform:mf});const wf=Hu(hf,gf,yf,bf,vf,xf,Pu({prop:"boxSizing"})),Sf={border:{themeKey:"borders",transform:qu},borderTop:{themeKey:"borders",transform:qu},borderRight:{themeKey:"borders",transform:qu},borderBottom:{themeKey:"borders",transform:qu},borderLeft:{themeKey:"borders",transform:qu},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:qu},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:af},color:{themeKey:"palette",transform:uf},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:uf},backgroundColor:{themeKey:"palette",transform:uf},p:{style:Fu},pt:{style:Fu},pr:{style:Fu},pb:{style:Fu},pl:{style:Fu},px:{style:Fu},py:{style:Fu},padding:{style:Fu},paddingTop:{style:Fu},paddingRight:{style:Fu},paddingBottom:{style:Fu},paddingLeft:{style:Fu},paddingX:{style:Fu},paddingY:{style:Fu},paddingInline:{style:Fu},paddingInlineStart:{style:Fu},paddingInlineEnd:{style:Fu},paddingBlock:{style:Fu},paddingBlockStart:{style:Fu},paddingBlockEnd:{style:Fu},m:{style:Vu},mt:{style:Vu},mr:{style:Vu},mb:{style:Vu},ml:{style:Vu},mx:{style:Vu},my:{style:Vu},margin:{style:Vu},marginTop:{style:Vu},marginRight:{style:Vu},marginBottom:{style:Vu},marginLeft:{style:Vu},marginX:{style:Vu},marginY:{style:Vu},marginInline:{style:Vu},marginInlineStart:{style:Vu},marginInlineEnd:{style:Vu},marginBlock:{style:Vu},marginBlockStart:{style:Vu},marginBlockEnd:{style:Vu},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:lf},rowGap:{style:pf},columnGap:{style:cf},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:mf},maxWidth:{style:gf},minWidth:{transform:mf},height:{transform:mf},maxHeight:{transform:mf},minHeight:{transform:mf},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"}},Tf=function(){function e(e,t,o,n){const r={[e]:t,theme:o},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const p=ku(o,s)||{};return c?c(r):wu(r,t,t=>{let o=Eu(p,l,t);return t===o&&"string"==typeof t&&(o=Eu(p,l,`${e}${"default"===t?"":Cu(t)}`,t)),!1===a?o:{[a]:o}})}return function t(o){const{sx:n,theme:r={},nested:i}=o||{};if(!n)return null;const a=r.unstable_sxConfig??Sf;function s(o){let n=o;if("function"==typeof o)n=o(r);else if("object"!=typeof o)return o;if(!n)return null;const s=Su(r.breakpoints),l=Object.keys(s);let c=s;return Object.keys(n).forEach(o=>{const i=function(e,t){return"function"==typeof e?e(t):e}(n[o],r);if(null!=i)if("object"==typeof i)if(a[o])c=yu(c,e(o,i,r,a));else{const e=wu({theme:r},i,e=>({[o]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),o=new Set(t);return e.every(e=>o.size===Object.keys(e).length)}(e,i)?c=yu(c,e):c[o]=t({sx:i,theme:r,nested:!0})}else c=yu(c,e(o,i,r,a))}),!i&&r.modularCssLayers?{"@layer sx":mu(r,Tu(l,c))}:mu(r,Tu(l,c))}return Array.isArray(n)?n.map(s):s(n)}}();function Of(e,t){const o=this;if(o.vars){if(!o.colorSchemes?.[e]||"function"!=typeof o.getColorSchemeSelector)return{};let n=o.getColorSchemeSelector(e);return"&"===n?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return o.palette.mode===e?t:{}}function Cf(e={},...t){const{breakpoints:o={},palette:n={},spacing:r,shape:i={},...a}=e;let s=uu({breakpoints:fu(o),direction:"ltr",components:{},palette:{mode:"light",...n},spacing:_u(r),shape:{...hu,...i}},a);return s=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function o(o,n){o.up=(...o)=>t(e.breakpoints.up(...o),n),o.down=(...o)=>t(e.breakpoints.down(...o),n),o.between=(...o)=>t(e.breakpoints.between(...o),n),o.only=(...o)=>t(e.breakpoints.only(...o),n),o.not=(...o)=>{const r=t(e.breakpoints.not(...o),n);return r.includes("not all and")?r.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):r}}const n={},r=e=>(o(n,e),n);return o(r),{...e,containerQueries:r}}(s),s.applyStyles=Of,s=t.reduce((e,t)=>uu(e,t),s),s.unstable_sxConfig={...Sf,...a?.unstable_sxConfig},s.unstable_sx=function(e){return Tf({sx:e,theme:this})},s}function kf(e=null){const t=r.useContext(Np);return t&&(o=t,0!==Object.keys(o).length)?t:e;var o}Tf.filterProps=["sx"];const Ef=Cf();function Pf(e=Ef){return kf(e)}function Nf(e){const t=Hd(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Rf({styles:t,themeId:o,defaultTheme:n={}}){const r=Pf(n),i=o&&r[o]||r;let a="function"==typeof t?t(i):t;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>Nf("function"==typeof e?e(i):e)):Nf(a)),e(Fd,{styles:a})}"production"!==process.env.NODE_ENV&&(Rf.propTypes={defaultTheme:qp.object,styles:qp.oneOfType([qp.array,qp.func,qp.number,qp.object,qp.string,qp.bool]),themeId:qp.string});var Mf=Hu(Pu({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),Pu({prop:"display"}),Pu({prop:"overflow"}),Pu({prop:"textOverflow"}),Pu({prop:"visibility"}),Pu({prop:"whiteSpace"}));const $f=Hu(Pu({prop:"flexBasis"}),Pu({prop:"flexDirection"}),Pu({prop:"flexWrap"}),Pu({prop:"justifyContent"}),Pu({prop:"alignItems"}),Pu({prop:"alignContent"}),Pu({prop:"order"}),Pu({prop:"flex"}),Pu({prop:"flexGrow"}),Pu({prop:"flexShrink"}),Pu({prop:"alignSelf"}),Pu({prop:"justifyItems"}),Pu({prop:"justifySelf"}));var jf=Hu(Pu({prop:"position"}),Pu({prop:"zIndex",themeKey:"zIndex"}),Pu({prop:"top"}),Pu({prop:"right"}),Pu({prop:"bottom"}),Pu({prop:"left"}));const If=Pu({prop:"boxShadow",themeKey:"shadows"}),Af=Pu({prop:"fontFamily",themeKey:"typography"}),Lf=Pu({prop:"fontSize",themeKey:"typography"}),Bf=Pu({prop:"fontStyle",themeKey:"typography"}),Df=Pu({prop:"fontWeight",themeKey:"typography"}),zf=Pu({prop:"letterSpacing"}),Vf=Pu({prop:"textTransform"}),Ff=Pu({prop:"lineHeight"}),Wf=Pu({prop:"textAlign"}),_f=Hu(Pu({prop:"typography",cssProperty:!1,themeKey:"typography"}),Af,Lf,Bf,Df,zf,Ff,Wf,Vf);function Hf(e){const{sx:t,...o}=e,{systemProps:n,otherProps:r}=(e=>{const t={systemProps:{},otherProps:{}},o=e?.theme?.unstable_sxConfig??Sf;return Object.keys(e).forEach(n=>{o[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t})(o);let i;return i=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const o=t(...e);return pu(o)?{...n,...o}:n}:{...n,...t},{...r,sx:i}}const qf={borders:sf.filterProps,display:Mf.filterProps,flexbox:$f.filterProps,grid:df.filterProps,positions:jf.filterProps,palette:ff.filterProps,shadows:If.filterProps,sizing:wf.filterProps,spacing:Wu.filterProps,typography:_f.filterProps},Uf={borders:sf,display:Mf,flexbox:$f,grid:df,positions:jf,palette:ff,shadows:If,sizing:wf,spacing:Wu,typography:_f};Object.keys(qf).reduce((e,t)=>(qf[t].forEach(o=>{e[o]=Uf[t]}),e),{});const Gf=e=>e,Kf=(()=>{let e=Gf;return{configure(t){e=t},generate:t=>e(t),reset(){e=Gf}}})();function Xf(e){var t,o,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(o=Xf(e[t]))&&(n&&(n+=" "),n+=o)}else for(o in e)e[o]&&(n&&(n+=" "),n+=o);return n}function Yf(){for(var e,t,o=0,n="",r=arguments.length;o<r;o++)(e=arguments[o])&&(t=Xf(e))&&(n&&(n+=" "),n+=t);return n}function Zf(t={}){const{themeId:o,defaultTheme:n,defaultClassName:i="MuiBox-root",generateClassName:a}=t,s=Wd("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Tf);return r.forwardRef(function(t,r){const l=Pf(n),{className:c,component:p="div",...d}=Hf(t);return e(s,{as:p,ref:r,className:Yf(c,a?a(i):i),theme:o&&l[o]||l,...d})})}const Jf={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 Qf(e,t,o="Mui"){const n=Jf[t];return n?`${o}-${n}`:`${Kf.generate(e)}-${t}`}function em(e,t,o="Mui"){const n={};return t.forEach(t=>{n[t]=Qf(e,t,o)}),n}const tm=Zf({defaultClassName:em("MuiBox",["root"]).root,generateClassName:Kf.generate});function om(e,t=""){return e.displayName||e.name||t}function nm(e,t,o){const n=om(t);return e.displayName||(""!==n?`${o}(${n})`:o)}function rm(e){const{variants:t,...o}=e,n={variants:t,style:Hd(o),isProcessed:!0};return n.style===o||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=Hd(e.style))}),n}"production"!==process.env.NODE_ENV&&(tm.propTypes={children:qp.node,component:qp.elementType,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const im=Cf();function am(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function sm(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function lm(e){return e?(t,o)=>o[e]:null}function cm(e,t,o){const n="function"==typeof t?t(e):t;if(Array.isArray(n))return n.flatMap(t=>cm(e,t,o));if(Array.isArray(n?.variants)){let t;if(n.isProcessed)t=o?sm(n.style,o):n.style;else{const{variants:e,...r}=n;t=o?sm(Hd(r),o):r}return pm(e,n.variants,[t],o)}return n?.isProcessed?o?sm(Hd(n.style),o):n.style:o?sm(Hd(n),o):n}function pm(e,t,o=[],n=void 0){let r;e:for(let i=0;i<t.length;i+=1){const a=t[i];if("function"==typeof a.props){if(r??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(r))continue}else for(const t in a.props)if(e[t]!==a.props[t]&&e.ownerState?.[t]!==a.props[t])continue e;"function"==typeof a.style?(r??={...e,...e.ownerState,ownerState:e.ownerState},o.push(n?sm(Hd(a.style(r)),n):a.style(r))):o.push(n?sm(Hd(a.style),n):a.style)}return o}function dm(e={}){const{themeId:t,defaultTheme:o=im,rootShouldForwardProp:n=am,slotShouldForwardProp:r=am}=e;function i(e){!function(e,t,o){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?o:e.theme[t]||e.theme}(e,t,o)}return(e,t={})=>{!function(e){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=(e=>e.filter(e=>e!==Tf))(e.__emotion_styles))}(e);const{name:o,slot:a,skipVariantsResolver:s,skipSx:l,overridesResolver:c=lm(fm(a)),...p}=t,d=o&&o.startsWith("Mui")||a?"components":"custom",u=void 0!==s?s:a&&"Root"!==a&&"root"!==a||!1,f=l||!1;let m=am;"Root"===a||"root"===a?m=n:a?m=r:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);const h=Wd(e,{shouldForwardProp:m,label:um(o,a),...p}),g=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return cm(t,e,t.theme.modularCssLayers?d:void 0)};if(pu(e)){const t=rm(e);return function(e){return t.variants?cm(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?sm(t.style,d):t.style}}return e},y=(...t)=>{const n=[],r=t.map(g),s=[];if(n.push(i),o&&c&&s.push(function(e){const t=e.theme,n=t.components?.[o]?.styleOverrides;if(!n)return null;const r={};for(const t in n)r[t]=cm(e,n[t],e.theme.modularCssLayers?"theme":void 0);return c(e,r)}),o&&!u&&s.push(function(e){const t=e.theme,n=t?.components?.[o]?.variants;return n?pm(e,n,[],e.theme.modularCssLayers?"theme":void 0):null}),f||s.push(Tf),Array.isArray(r[0])){const e=r.shift(),t=new Array(n.length).fill(""),o=new Array(s.length).fill("");let i;i=[...t,...e,...o],i.raw=[...t,...e.raw,...o],n.unshift(i)}const l=[...n,...r,...s],p=h(...l);return e.muiName&&(p.muiName=e.muiName),"production"!==process.env.NODE_ENV&&(p.displayName=function(e,t,o){return e?`${e}${Cu(t||"")}`:`Styled(${function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return om(e,"Component");if("object"==typeof e)switch(e.$$typeof){case qd.ForwardRef:return nm(e,e.render,"ForwardRef");case qd.Memo:return nm(e,e.type,"memo");default:return}}}(o)})`}(o,a,e)),p};return h.withConfig&&(y.withConfig=h.withConfig),y}}function um(e,t){let o;return"production"!==process.env.NODE_ENV&&e&&(o=`${e}-${fm(t||"Root")}`),o}function fm(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}const mm=dm();function hm(e,t,o=!1){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const i=r;if("components"===i||"slots"===i)n[i]={...e[i],...n[i]};else if("componentsProps"===i||"slotProps"===i){const r=e[i],a=t[i];if(a)if(r){n[i]={...a};for(const e in r)if(Object.prototype.hasOwnProperty.call(r,e)){const t=e;n[i][t]=hm(r[t],a[t],o)}}else n[i]=a;else n[i]=r||{}}else"className"===i&&o&&t.className?n.className=Yf(e?.className,t?.className):"style"===i&&o&&t.style?n.style={...e?.style,...t?.style}:void 0===n[i]&&(n[i]=e[i])}return n}function gm({props:e,name:t,defaultTheme:o,themeId:n}){let r=Pf(o);return n&&(r=r[n]||r),function(e){const{theme:t,name:o,props:n}=e;return t&&t.components&&t.components[o]&&t.components[o].defaultProps?hm(t.components[o].defaultProps,n):n}({theme:r,name:t,props:e})}const ym="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function bm(e,t=Number.MIN_SAFE_INTEGER,o=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,o))}function vm(e,t=0,o=1){return process.env.NODE_ENV,bm(e,t,o)}function xm(e){if(e.type)return e;if("#"===e.charAt(0))return xm(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let o=e.match(t);return o&&1===o[0].length&&(o=o.map(e=>e+e)),"production"!==process.env.NODE_ENV&&(e.length,e.trim().length),o?`rgb${4===o.length?"a":""}(${o.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),o=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Nl(9,e));let n,r=e.substring(t+1,e.length-1);if("color"===o){if(r=r.split(" "),n=r.shift(),4===r.length&&"/"===r[3].charAt(0)&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${n}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Nl(10,n))}else r=r.split(",");return r=r.map(e=>parseFloat(e)),{type:o,values:r,colorSpace:n}}const wm=(e,t)=>{try{return(e=>{const t=xm(e);return t.values.slice(0,3).map((e,o)=>t.type.includes("hsl")&&0!==o?`${e}%`:e).join(" ")})(e)}catch(o){return t&&process.env.NODE_ENV,e}};function Sm(e){const{type:t,colorSpace:o}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=t.includes("color")?`${o} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function Tm(e){e=xm(e);const{values:t}=e,o=t[0],n=t[1]/100,r=t[2]/100,i=n*Math.min(r,1-r),a=(e,t=(e+o/30)%12)=>r-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),Sm({type:s,values:l})}function Om(e){let t="hsl"===(e=xm(e)).type||"hsla"===e.type?xm(Tm(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Cm(e,t){const o=Om(e),n=Om(t);return(Math.max(o,n)+.05)/(Math.min(o,n)+.05)}function km(e,t){return e=xm(e),t=vm(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Sm(e)}function Em(e,t,o){try{return km(e,t)}catch(t){return o&&process.env.NODE_ENV,e}}function Pm(e,t){if(e=xm(e),t=vm(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-t;return Sm(e)}function Nm(e,t,o){try{return Pm(e,t)}catch(t){return o&&process.env.NODE_ENV,e}}function Rm(e,t){if(e=xm(e),t=vm(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*t;else if(e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*t;return Sm(e)}function Mm(e,t,o){try{return Rm(e,t)}catch(t){return o&&process.env.NODE_ENV,e}}function $m(e,t=.15){return Om(e)>.5?Pm(e,t):Rm(e,t)}function jm(e,t,o){try{return $m(e,t)}catch(t){return o&&process.env.NODE_ENV,e}}const Im="exact-prop: ​";function Am(e){return"production"===process.env.NODE_ENV?e:{...e,[Im]:t=>{const o=Object.keys(t).filter(t=>!e.hasOwnProperty(t));return o.length>0?new Error(`The following props are not supported: ${o.map(e=>`\`${e}\``).join(", ")}. Please remove them.`):null}}}const Lm=r.createContext(null);function Bm(){const e=r.useContext(Lm);return"production"!==process.env.NODE_ENV&&r.useDebugValue(e),e}"production"!==process.env.NODE_ENV&&(Lm.displayName="ThemeContext");var Dm="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function zm(t){const{children:o,theme:n}=t,i=Bm();process.env.NODE_ENV;const a=r.useMemo(()=>{const e=null===i?{...n}:function(e,t){if("function"==typeof t){const o=t(e);return process.env.NODE_ENV,o}return{...e,...t}}(i,n);return null!=e&&(e[Dm]=null!==i),e},[n,i]);return e(Lm.Provider,{value:a,children:o})}"production"!==process.env.NODE_ENV&&(zm.propTypes={children:qp.node,theme:qp.oneOfType([qp.object,qp.func]).isRequired}),"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&(zm.propTypes=Am(zm.propTypes));const Vm=r.createContext();function Fm({value:t,...o}){return e(Vm.Provider,{value:t??!0,...o})}"production"!==process.env.NODE_ENV&&(Fm.propTypes={children:qp.node,value:qp.bool});const Wm=()=>r.useContext(Vm)??!1,_m=r.createContext(void 0);function Hm({value:t,children:o}){return e(_m.Provider,{value:t,children:o})}"production"!==process.env.NODE_ENV&&(Hm.propTypes={children:qp.node,value:qp.object});let qm=0;const Um={...r}.useId;function Gm(e){if(void 0!==Um){const t=Um();return e??t}return function(e){const[t,o]=r.useState(e),n=e||t;return r.useEffect(()=>{null==t&&(qm+=1,o(`mui-${qm}`))},[t]),n}(e)}const Km={};function Xm(e,t,o,n=!1){return r.useMemo(()=>{const r=e&&t[e]||t;if("function"==typeof o){const i=o(r),a=e?{...t,[e]:i}:i;return n?()=>a:a}return e?{...t,[e]:o}:{...t,...o}},[e,t,o,n])}function Ym(o){const{children:n,theme:r,themeId:i}=o,a=kf(Km),s=Bm()||Km;"production"!==process.env.NODE_ENV&&(null===a&&"function"==typeof r||i&&a&&a[i]);const l=Xm(i,a,r),c=Xm(i,s,r,!0),p="rtl"===(i?l[i]:l).direction,d=function(t){const o=kf(),n=Gm()||"",{modularCssLayers:r}=t;let i="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return i=r&&null===o?"string"==typeof r?r.replace(/mui(?!\.)/g,i):`@layer ${i};`:"",ym(()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(i){if(t&&t.hasAttribute?.("data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===n)return;const o=document.createElement("style");o.setAttribute("data-mui-layer-order",n),o.textContent=i,e.prepend(o)}else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[i,n]),i?e(Rf,{styles:i}):null}(l);return e(zm,{theme:c,children:e(Np.Provider,{value:l,children:e(Fm,{value:p,children:t(Hm,{value:i?l[i].components:l.components,children:[d,n]})})})})}"production"!==process.env.NODE_ENV&&(Ym.propTypes={children:qp.node,theme:qp.oneOfType([qp.func,qp.object]).isRequired,themeId:qp.string}),"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&(Ym.propTypes=Am(Ym.propTypes));const Zm={theme:void 0},Jm="mode",Qm="color-scheme";function eh(e=""){function t(...o){if(!o.length)return"";const n=o[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${e?`${e}-`:""}${n}${t(...o.slice(1))})`}return(o,...n)=>`var(--${e?`${e}-`:""}${o}${t(...n)})`}const th=(e,t,o,n=[])=>{let r=e;t.forEach((e,i)=>{i===t.length-1?Array.isArray(r)?r[Number(e)]=o:r&&"object"==typeof r&&(r[e]=o):r&&"object"==typeof r&&(r[e]||(r[e]=n.includes(e)?[]:{}),r=r[e])})};function oh(e,t){const{prefix:o,shouldSkipGeneratingVar:n}=t||{},r={},i={},a={};var s,l;return s=(e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||n&&n(e,t))){const n=`--${o?`${o}-`:""}${e.join("-")}`,l=((e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(r,{[n]:l}),th(i,e,`var(${n})`,s),th(a,e,`var(${n}, ${l})`,s)}},l=e=>"vars"===e[0],function e(t,o=[],n=[]){Object.entries(t).forEach(([t,r])=>{(!l||l&&!l([...o,t]))&&null!=r&&("object"==typeof r&&Object.keys(r).length>0?e(r,[...o,t],Array.isArray(r)?[...n,t]:n):s([...o,t],r,n))})}(e),{css:r,vars:i,varsWithDefaults:a}}function nh(e,t,o=void 0){const n={};for(const r in e){const i=e[r];let a="",s=!0;for(let e=0;e<i.length;e+=1){const n=i[e];n&&(a+=(!0===s?"":" ")+t(n),s=!1,o&&o[n]&&(a+=" "+o[n]))}n[r]=a}return n}const rh=Cf(),ih=mm("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`maxWidth${Cu(String(o.maxWidth))}`],o.fixed&&t.fixed,o.disableGutters&&t.disableGutters]}}),ah=e=>gm({props:e,name:"MuiContainer",defaultTheme:rh});function sh(t={}){const{createStyledComponent:o=ih,useThemeProps:n=ah,componentName:i="MuiContainer"}=t,a=o(({theme:e,ownerState:t})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}}),({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce((t,o)=>{const n=o,r=e.breakpoints.values[n];return 0!==r&&(t[e.breakpoints.up(n)]={maxWidth:`${r}${e.breakpoints.unit}`}),t},{}),({theme:e,ownerState:t})=>({..."xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},...t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}}})),s=r.forwardRef(function(t,o){const r=n(t),{className:s,component:l="div",disableGutters:c=!1,fixed:p=!1,maxWidth:d="lg",classes:u,...f}=r,m={...r,component:l,disableGutters:c,fixed:p,maxWidth:d},h=((e,t)=>{const{classes:o,fixed:n,disableGutters:r,maxWidth:i}=e;return nh({root:["root",i&&`maxWidth${Cu(String(i))}`,n&&"fixed",r&&"disableGutters"]},e=>Qf(t,e),o)})(m,i);return e(a,{as:l,ownerState:m,className:Yf(h.root,s),ref:o,...f})});return"production"!==process.env.NODE_ENV&&(s.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,disableGutters:qp.bool,fixed:qp.bool,maxWidth:qp.oneOfType([qp.oneOf(["xs","sm","md","lg","xl",!1]),qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),s}const lh=sh();function ch(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)}"production"!==process.env.NODE_ENV&&(lh.propTypes={children:qp.node,classes:qp.object,component:qp.elementType,disableGutters:qp.bool,fixed:qp.bool,maxWidth:qp.oneOfType([qp.oneOf(["xs","sm","md","lg","xl",!1]),qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"]);const ph=(e,t,o)=>{const n=e.keys[0];var r,i;Array.isArray(t)?t.forEach((t,n)=>{o((t,o)=>{n<=e.keys.length-1&&(0===n?Object.assign(t,o):t[e.up(e.keys[n])]=o)},t)}):t&&"object"==typeof t?(Object.keys(t).length>e.keys.length?e.keys:(r=e.keys,i=Object.keys(t),r.filter(e=>i.includes(e)))).forEach(r=>{if(e.keys.includes(r)){const i=t[r];void 0!==i&&o((t,o)=>{n===r?Object.assign(t,o):t[e.up(r)]=o},i)}}):"number"!=typeof t&&"string"!=typeof t||o((e,t)=>{Object.assign(e,t)},t)};function dh(e){return`--Grid-${e}Spacing`}function uh(e){return`--Grid-parent-${e}Spacing`}const fh="--Grid-columns",mh="--Grid-parent-columns",hh=({theme:e,ownerState:t})=>{const o={};return ph(e.breakpoints,t.size,(e,t)=>{let n={};"grow"===t&&(n={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===t&&(n={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof t&&(n={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${t} / var(${mh}) - (var(${mh}) - ${t}) * (var(${uh("column")}) / var(${mh})))`}),e(o,n)}),o},gh=({theme:e,ownerState:t})=>{const o={};return ph(e.breakpoints,t.offset,(e,t)=>{let n={};"auto"===t&&(n={marginLeft:"auto"}),"number"==typeof t&&(n={marginLeft:0===t?"0px":`calc(100% * ${t} / var(${mh}) + var(${uh("column")}) * ${t} / var(${mh}))`}),e(o,n)}),o},yh=({theme:e,ownerState:t})=>{if(!t.container)return{};const o={[fh]:12};return ph(e.breakpoints,t.columns,(e,t)=>{const n=t??12;e(o,{[fh]:n,"> *":{[mh]:n}})}),o},bh=({theme:e,ownerState:t})=>{if(!t.container)return{};const o={};return ph(e.breakpoints,t.rowSpacing,(t,n)=>{const r="string"==typeof n?n:e.spacing?.(n);t(o,{[dh("row")]:r,"> *":{[uh("row")]:r}})}),o},vh=({theme:e,ownerState:t})=>{if(!t.container)return{};const o={};return ph(e.breakpoints,t.columnSpacing,(t,n)=>{const r="string"==typeof n?n:e.spacing?.(n);t(o,{[dh("column")]:r,"> *":{[uh("column")]:r}})}),o},xh=({theme:e,ownerState:t})=>{if(!t.container)return{};const o={};return ph(e.breakpoints,t.direction,(e,t)=>{e(o,{flexDirection:t})}),o},wh=({ownerState:e})=>({minWidth:0,boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",...e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap},gap:`var(${dh("row")}) var(${dh("column")})`}}),Sh=e=>{const t=[];return Object.entries(e).forEach(([e,o])=>{!1!==o&&void 0!==o&&t.push(`grid-${e}-${String(o)}`)}),t},Th=(e,t="xs")=>{function o(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(o(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){const t=[];return Object.entries(e).forEach(([e,n])=>{o(n)&&t.push(`spacing-${e}-${String(n)}`)}),t}return[]},Oh=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map(([e,t])=>`direction-${e}-${t}`):[`direction-xs-${String(e)}`],Ch=[],kh=Cf(),Eh=mm("div",{name:"MuiGrid",slot:"Root"});function Ph(e){return gm({props:e,name:"MuiGrid",defaultTheme:kh})}function Nh(t={}){const{createStyledComponent:o=Eh,useThemeProps:n=Ph,useTheme:i=Pf,componentName:a="MuiGrid"}=t;function s(e,t,o=()=>!0){const n={};return null===e||(Array.isArray(e)?e.forEach((e,r)=>{null!==e&&o(e)&&t.keys[r]&&(n[t.keys[r]]=e)}):"object"==typeof e?Object.keys(e).forEach(t=>{const r=e[t];null!=r&&o(r)&&(n[t]=r)}):n[t.keys[0]]=e),n}const l=o(yh,vh,bh,hh,xh,wh,gh),c=r.forwardRef(function(t,o){const c=i(),p=Hf(n(t));!function(e,t){const o=[];void 0!==e.item&&(delete e.item,o.push("item")),void 0!==e.zeroMinWidth&&(delete e.zeroMinWidth,o.push("zeroMinWidth")),t.keys.forEach(t=>{void 0!==e[t]&&(o.push(t),delete e[t])}),"production"!==process.env.NODE_ENV&&o.forEach(e=>{Ch.includes(e)||Ch.push(e)})}(p,c.breakpoints);const{className:d,children:u,columns:f=12,container:m=!1,component:h="div",direction:g="row",wrap:y="wrap",size:b={},offset:v={},spacing:x=0,rowSpacing:w=x,columnSpacing:S=x,unstable_level:T=0,...O}=p,C=s(b,c.breakpoints,e=>!1!==e),k=s(v,c.breakpoints),E=t.columns??(T?void 0:f),P=t.spacing??(T?void 0:x),N=t.rowSpacing??t.spacing??(T?void 0:w),R=t.columnSpacing??t.spacing??(T?void 0:S),M={...p,level:T,columns:E,container:m,direction:g,wrap:y,spacing:P,rowSpacing:N,columnSpacing:R,size:C,offset:k},$=((e,t)=>{const{container:o,direction:n,spacing:r,wrap:i,size:s}=e;return nh({root:["root",o&&"container","wrap"!==i&&`wrap-xs-${String(i)}`,...Oh(n),...Sh(s),...o?Th(r,t.breakpoints.keys[0]):[]]},e=>Qf(a,e),{})})(M,c);return e(l,{ref:o,as:h,ownerState:M,className:Yf($.root,d),...O,children:r.Children.map(u,e=>r.isValidElement(e)&&ch(e,["Grid"])&&m&&e.props.container?r.cloneElement(e,{unstable_level:e.props?.unstable_level??T+1}):e)})});return"production"!==process.env.NODE_ENV&&(c.propTypes={children:qp.node,className:qp.string,columns:qp.oneOfType([qp.arrayOf(qp.number),qp.number,qp.object]),columnSpacing:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.number,qp.string])),qp.number,qp.object,qp.string]),component:qp.elementType,container:qp.bool,direction:qp.oneOfType([qp.oneOf(["column-reverse","column","row-reverse","row"]),qp.arrayOf(qp.oneOf(["column-reverse","column","row-reverse","row"])),qp.object]),offset:qp.oneOfType([qp.string,qp.number,qp.arrayOf(qp.oneOfType([qp.string,qp.number])),qp.object]),rowSpacing:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.number,qp.string])),qp.number,qp.object,qp.string]),size:qp.oneOfType([qp.string,qp.bool,qp.number,qp.arrayOf(qp.oneOfType([qp.string,qp.bool,qp.number])),qp.object]),spacing:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.number,qp.string])),qp.number,qp.object,qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),wrap:qp.oneOf(["nowrap","wrap-reverse","wrap"])}),c.muiName="Grid",c}const Rh=Nh();"production"!==process.env.NODE_ENV&&(Rh.propTypes={children:qp.node,columns:qp.oneOfType([qp.arrayOf(qp.number),qp.number,qp.object]),columnSpacing:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.number,qp.string])),qp.number,qp.object,qp.string]),container:qp.bool,direction:qp.oneOfType([qp.oneOf(["column-reverse","column","row-reverse","row"]),qp.arrayOf(qp.oneOf(["column-reverse","column","row-reverse","row"])),qp.object]),offset:qp.oneOfType([qp.string,qp.number,qp.arrayOf(qp.oneOfType([qp.string,qp.number])),qp.object]),rowSpacing:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.number,qp.string])),qp.number,qp.object,qp.string]),size:qp.oneOfType([qp.string,qp.bool,qp.number,qp.arrayOf(qp.oneOfType([qp.string,qp.bool,qp.number])),qp.object]),spacing:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.number,qp.string])),qp.number,qp.object,qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),unstable_level:qp.number,wrap:qp.oneOf(["nowrap","wrap-reverse","wrap"])});const Mh=["auto","grow",1,2,3,4,5,6,7,8,9,10,11,12];em("MuiGrid",["root","container","item",...[0,1,2,3,4,5,6,7,8,9,10].map(e=>`spacing-xs-${e}`),...["column-reverse","column","row-reverse","row"].map(e=>`direction-xs-${e}`),...["nowrap","wrap-reverse","wrap"].map(e=>`wrap-xs-${e}`),...Mh.map(e=>`grid-xs-${e}`),...Mh.map(e=>`grid-sm-${e}`),...Mh.map(e=>`grid-md-${e}`),...Mh.map(e=>`grid-lg-${e}`),...Mh.map(e=>`grid-xl-${e}`)]);const $h=Cf(),jh=mm("div",{name:"MuiStack",slot:"Root"});function Ih(e){return gm({props:e,name:"MuiStack",defaultTheme:$h})}function Ah(e,t){const o=r.Children.toArray(e).filter(Boolean);return o.reduce((e,n,i)=>(e.push(n),i<o.length-1&&e.push(r.cloneElement(t,{key:`separator-${i}`})),e),[])}const Lh=({ownerState:e,theme:t})=>{let o={display:"flex",flexDirection:"column",...wu({theme:t},Ou({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e}))};if(e.spacing){const n=Bu(t),r=Object.keys(t.breakpoints.values).reduce((t,o)=>(("object"==typeof e.spacing&&null!=e.spacing[o]||"object"==typeof e.direction&&null!=e.direction[o])&&(t[o]=!0),t),{}),i=Ou({values:e.direction,base:r}),a=Ou({values:e.spacing,base:r});"object"==typeof i&&Object.keys(i).forEach((e,t,o)=>{if(!i[e]){const n=t>0?i[o[t-1]]:"column";i[e]=n}}),o=uu(o,wu({theme:t},a,(t,o)=>{return e.useFlexGap?{gap:Du(n,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${r=o?i[o]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[r]}`]:Du(n,t)}};var r}))}return o=function(e,...t){const o=Su(e),n=[o,...t].reduce((e,t)=>uu(e,t),{});return Tu(Object.keys(o),n)}(t.breakpoints,o),o};function Bh(t={}){const{createStyledComponent:o=jh,useThemeProps:n=Ih,componentName:i="MuiStack"}=t,a=o(Lh),s=r.forwardRef(function(t,o){const r=Hf(n(t)),{component:s="div",direction:l="column",spacing:c=0,divider:p,children:d,className:u,useFlexGap:f=!1,...m}=r,h={direction:l,spacing:c,useFlexGap:f},g=nh({root:["root"]},e=>Qf(i,e),{});return e(a,{as:s,ownerState:h,ref:o,className:Yf(g.root,u),...m,children:p?Ah(d,p):d})});return"production"!==process.env.NODE_ENV&&(s.propTypes={children:qp.node,direction:qp.oneOfType([qp.oneOf(["column-reverse","column","row-reverse","row"]),qp.arrayOf(qp.oneOf(["column-reverse","column","row-reverse","row"])),qp.object]),divider:qp.node,spacing:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.number,qp.string])),qp.number,qp.object,qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),s}const Dh=Bh();function zh(){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:Ol.white,default:Ol.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}}}"production"!==process.env.NODE_ENV&&(Dh.propTypes={children:qp.node,component:qp.elementType,direction:qp.oneOfType([qp.oneOf(["column-reverse","column","row-reverse","row"]),qp.arrayOf(qp.oneOf(["column-reverse","column","row-reverse","row"])),qp.object]),divider:qp.node,spacing:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.number,qp.string])),qp.number,qp.object,qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),useFlexGap:qp.bool}),em("MuiStack",["root"]);const Vh=zh();function Fh(){return{text:{primary:Ol.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:Ol.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 Wh=Fh();function _h(e,t,o,n){const r=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(o)?e[t]=e[o]:"light"===t?e.light=Rm(e.main,r):"dark"===t&&(e.dark=Pm(e.main,i)))}function Hh(e,t,o,n,r){const i=r.light||r,a=r.dark||1.5*r;t[o]||(t.hasOwnProperty(n)?t[o]=t[n]:"light"===o?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(100*i).toFixed(0)}%)`:"dark"===o&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(100*a).toFixed(0)}%)`))}function qh(e){const{mode:t="light",contrastThreshold:o=3,tonalOffset:n=.2,colorSpace:r,...i}=e,a=e.primary||function(e="light"){return"dark"===e?{main:"#90caf9",light:"#e3f2fd",dark:kl}:{main:"#1976d2",light:kl,dark:"#1565c0"}}(t),s=e.secondary||function(e="light"){return"dark"===e?{main:"#ce93d8",light:"#f3e5f5",dark:"#ab47bc"}:{main:"#9c27b0",light:"#ba68c8",dark:"#7b1fa2"}}(t),l=e.error||function(e="light"){return"dark"===e?{main:"#f44336",light:"#e57373",dark:Cl}:{main:Cl,light:"#ef5350",dark:"#c62828"}}(t),c=e.info||function(e="light"){return"dark"===e?{main:"#29b6f6",light:"#4fc3f7",dark:El}:{main:El,light:"#03a9f4",dark:"#01579b"}}(t),p=e.success||function(e="light"){return"dark"===e?{main:"#66bb6a",light:"#81c784",dark:"#388e3c"}:{main:"#2e7d32",light:"#4caf50",dark:"#1b5e20"}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:"#ffa726",light:"#ffb74d",dark:"#f57c00"}:{main:"#ed6c02",light:"#ff9800",dark:"#e65100"}}(t);function u(e){if(r)return function(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}(e);const t=Cm(e,Wh.text.primary)>=o?Wh.text.primary:Vh.text.primary;return"production"!==process.env.NODE_ENV&&Cm(e,t),t}const f=({color:e,name:t,mainShade:o=500,lightShade:i=300,darkShade:a=700})=>{if(!(e={...e}).main&&e[o]&&(e.main=e[o]),!e.hasOwnProperty("main"))throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${o}\` property.`:Nl(11,t?` (${t})`:"",o));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@mui/material/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });`:Nl(12,t?` (${t})`:"",JSON.stringify(e.main)));return r?(Hh(r,e,"light",i,n),Hh(r,e,"dark",a,n)):(_h(e,"light",i,n),_h(e,"dark",a,n)),e.contrastText||(e.contrastText=u(e.main)),e};let m;return"light"===t?m=zh():"dark"===t&&(m=Fh()),process.env.NODE_ENV,uu({common:{...Ol},mode:t,primary:f({color:a,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:l,name:"error"}),warning:f({color:d,name:"warning"}),info:f({color:c,name:"info"}),success:f({color:p,name:"success"}),grey:Pl,contrastThreshold:o,getContrastText:u,augmentColor:f,tonalOffset:n,...m},i)}function Uh(e){const t={};return Object.entries(e).forEach(e=>{const[o,n]=e;"object"==typeof n&&(t[o]=`${n.fontStyle?`${n.fontStyle} `:""}${n.fontVariant?`${n.fontVariant} `:""}${n.fontWeight?`${n.fontWeight} `:""}${n.fontStretch?`${n.fontStretch} `:""}${n.fontSize||""}${n.lineHeight?`/${n.lineHeight} `:""}${n.fontFamily||""}`)}),t}const Gh={textTransform:"uppercase"},Kh='"Roboto", "Helvetica", "Arial", sans-serif';function Xh(e,t){const{fontFamily:o=Kh,fontSize:n=14,fontWeightLight:r=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:c,pxToRem:p,...d}="function"==typeof t?t(e):t;process.env.NODE_ENV;const u=n/14,f=p||(e=>e/l*u+"rem"),m=(e,t,n,r,i)=>{return{fontFamily:o,fontWeight:e,fontSize:f(t),lineHeight:n,...o===Kh?{letterSpacing:(a=r/t,Math.round(1e5*a)/1e5+"em")}:{},...i,...c};var a},h={h1:m(r,96,1.167,-1.5),h2:m(r,60,1.2,-.5),h3:m(i,48,1.167,0),h4:m(i,34,1.235,.25),h5:m(i,24,1.334,0),h6:m(a,20,1.6,.15),subtitle1:m(i,16,1.75,.15),subtitle2:m(a,14,1.57,.1),body1:m(i,16,1.5,.15),body2:m(i,14,1.43,.15),button:m(a,14,1.75,.4,Gh),caption:m(i,12,1.66,.4),overline:m(i,12,2.66,1,Gh),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return uu({htmlFontSize:l,pxToRem:f,fontFamily:o,fontSize:n,fontWeightLight:r,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...h},d,{clone:!1})}function Yh(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Zh=["none",Yh(0,2,1,-1,0,1,1,0,0,1,3,0),Yh(0,3,1,-2,0,2,2,0,0,1,5,0),Yh(0,3,3,-2,0,3,4,0,0,1,8,0),Yh(0,2,4,-1,0,4,5,0,0,1,10,0),Yh(0,3,5,-1,0,5,8,0,0,1,14,0),Yh(0,3,5,-1,0,6,10,0,0,1,18,0),Yh(0,4,5,-2,0,7,10,1,0,2,16,1),Yh(0,5,5,-3,0,8,10,1,0,3,14,2),Yh(0,5,6,-3,0,9,12,1,0,3,16,2),Yh(0,6,6,-3,0,10,14,1,0,4,18,3),Yh(0,6,7,-4,0,11,15,1,0,4,20,3),Yh(0,7,8,-4,0,12,17,2,0,5,22,4),Yh(0,7,8,-4,0,13,19,2,0,5,24,4),Yh(0,7,9,-4,0,14,21,2,0,5,26,4),Yh(0,8,9,-5,0,15,22,2,0,6,28,5),Yh(0,8,10,-5,0,16,24,2,0,6,30,5),Yh(0,8,11,-5,0,17,26,2,0,6,32,5),Yh(0,9,11,-5,0,18,28,2,0,7,34,6),Yh(0,9,12,-6,0,19,29,2,0,7,36,6),Yh(0,10,13,-6,0,20,31,3,0,8,38,7),Yh(0,10,13,-6,0,21,33,3,0,8,40,7),Yh(0,10,14,-6,0,22,35,3,0,8,42,7),Yh(0,11,14,-7,0,23,36,3,0,9,44,8),Yh(0,11,15,-7,0,24,38,3,0,9,46,8)],Jh={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)"},Qh={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function eg(e){return`${Math.round(e)}ms`}function tg(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function og(e){const t={...Jh,...e.easing},o={...Qh,...e.duration};return{getAutoHeightDuration:tg,create:(e=["all"],n={})=>{const{duration:r=o.standard,easing:i=t.easeInOut,delay:a=0,...s}=n;if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,o=e=>!Number.isNaN(parseFloat(e));!t(e)&&Array.isArray(e),!o(r)&&t(r),t(i),!o(a)&&t(a),Object.keys(s).length}return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof r?r:eg(r)} ${i} ${"string"==typeof a?a:eg(a)}`).join(",")},...e,easing:t,duration:o}}const ng={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function rg(e){return pu(e)||void 0===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e||Array.isArray(e)}function ig(e={}){const t={...e};return function e(t){const o=Object.entries(t);for(let n=0;n<o.length;n++){const[r,i]=o[n];!rg(i)||r.startsWith("unstable_")?delete t[r]:pu(i)&&(t[r]={...i},e(t[r]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}function ag(e){return"number"==typeof e?`${(100*e).toFixed(0)}%`:`calc((${e}) * 100%)`}function sg(e={},...t){const{breakpoints:o,mixins:n={},spacing:r,palette:i={},transitions:a={},typography:s={},shape:l,colorSpace:c,...p}=e;if(e.vars&&void 0===e.generateThemeVars)throw new Error("production"!==process.env.NODE_ENV?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":Nl(20));const d=qh({...i,colorSpace:c}),u=Cf(e);let f=uu(u,{mixins:(m=u.breakpoints,h=n,{toolbar:{minHeight:56,[m.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[m.up("sm")]:{minHeight:64}},...h}),palette:d,shadows:Zh.slice(),typography:Xh(d,s),transitions:og(a),zIndex:{...ng}});var m,h,g;if(f=uu(f,p),f=t.reduce((e,t)=>uu(e,t),f),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,o)=>{let n;for(n in t){const o=t[n];e.includes(n)&&Object.keys(o).length>0&&("production"!==process.env.NODE_ENV&&Qf("",n),t[n]={})}};Object.keys(f.components).forEach(e=>{const o=f.components[e].styleOverrides;o&&e.startsWith("Mui")&&t(o,e)})}return f.unstable_sxConfig={...Sf,...p?.unstable_sxConfig},f.unstable_sx=function(e){return Tf({sx:e,theme:this})},f.toRuntimeSource=ig,g=f,Object.assign(g,{alpha(e,t){const o=this||g;return o.colorSpace?`oklch(from ${e} l c h / ${"string"==typeof t?`calc(${t})`:t})`:o.vars?`rgba(${e.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${"string"==typeof t?`calc(${t})`:t})`:km(e,(e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let o=0;for(let e=0;e<t.length;e+=1)o+=+t[e];return o})(t))},lighten(e,t){const o=this||g;return o.colorSpace?`color-mix(in ${o.colorSpace}, ${e}, #fff ${ag(t)})`:Rm(e,t)},darken(e,t){const o=this||g;return o.colorSpace?`color-mix(in ${o.colorSpace}, ${e}, #000 ${ag(t)})`:Pm(e,t)}}),f}function lg(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}const cg=[...Array(25)].map((e,t)=>{if(0===t)return"none";const o=lg(t);return`linear-gradient(rgba(255 255 255 / ${o}), rgba(255 255 255 / ${o}))`});function pg(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function dg(e){return"dark"===e?cg:[]}function ug(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var fg=e=>(t,o)=>{const n=e.rootSelector||":root",r=e.colorSchemeSelector;let i=r;if("class"===r&&(i=".%s"),"data"===r&&(i="[data-%s]"),r?.startsWith("data-")&&!r.includes("%s")&&(i=`[${r}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const r={};return(a=e.cssVarPrefix,[...[...Array(25)].map((e,t)=>`--${a?`${a}-`:""}overlays-${t}`),`--${a?`${a}-`:""}palette-AppBar-darkBg`,`--${a?`${a}-`:""}palette-AppBar-darkColor`]).forEach(e=>{r[e]=o[e],delete o[e]}),"media"===i?{[n]:o,"@media (prefers-color-scheme: dark)":{[n]:r}}:i?{[i.replace("%s",t)]:r,[`${n}, ${i.replace("%s",t)}`]:o}:{[n]:{...o,...r}}}if(i&&"media"!==i)return`${n}, ${i.replace("%s",String(t))}`}else if(t){if("media"===i)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:o}};if(i)return i.replace("%s",String(t))}var a;return n};function mg(e,t,o){!e[t]&&o&&(e[t]=o)}function hg(e){return"string"==typeof e&&e.startsWith("hsl")?Tm(e):e}function gg(e,t){`${t}Channel`in e||(e[`${t}Channel`]=wm(hg(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().\nTo 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.`))}const yg=e=>{try{return e()}catch(e){}};function bg(e,t,o,n,r){if(!o)return;o=!0===o?{}:o;const i="dark"===r?"dark":"light";if(!n)return void(t[r]=function(e){const{palette:t={mode:"light"},opacity:o,overlays:n,colorSpace:r,...i}=e,a=qh({...t,colorSpace:r});return{palette:a,opacity:{...pg(a.mode),...o},overlays:n||dg(a.mode),...i}}({...o,palette:{mode:i,...o?.palette},colorSpace:e}));const{palette:a,...s}=sg({...n,palette:{mode:i,...o?.palette},colorSpace:e});return t[r]={...o,palette:a,opacity:{...pg(i),...o?.opacity},overlays:o?.overlays||dg(i)},s}function vg(e,t,o){e.colorSchemes&&o&&(e.colorSchemes[t]={...!0!==o&&o,palette:qh({...!0===o?{}:o.palette,mode:t})})}function xg(e={},...t){const{palette:o,cssVariables:n=!1,colorSchemes:r=(o?void 0:{light:!0}),defaultColorScheme:i=o?.mode,...a}=e,s=i||"light",l=r?.[s],c={...r,...o?{[s]:{..."boolean"!=typeof l&&l,palette:o}}:void 0};if(!1===n){if(!("colorSchemes"in e))return sg(e,...t);let n=o;"palette"in e||c[s]&&(!0!==c[s]?n=c[s].palette:"dark"===s&&(n={mode:"dark"}));const r=sg({...e,palette:n},...t);return r.defaultColorScheme=s,r.colorSchemes=c,"light"===r.palette.mode&&(r.colorSchemes.light={...!0!==c.light&&c.light,palette:r.palette},vg(r,"dark",c.dark)),"dark"===r.palette.mode&&(r.colorSchemes.dark={...!0!==c.dark&&c.dark,palette:r.palette},vg(r,"light",c.light)),r}return o||"light"in c||"light"!==s||(c.light=!0),function(e={},...t){const{colorSchemes:o={light:!0},defaultColorScheme:n,disableCssColorScheme:r=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:s=ug,colorSchemeSelector:l=(o.light&&o.dark?"media":void 0),rootSelector:c=":root",...p}=e,d=Object.keys(o)[0],u=n||(o.light&&"light"!==d?"light":d),f=((e="mui")=>eh(e))(i),{[u]:m,light:h,dark:g,...y}=o,b={...y};let v,x=m;if(("dark"===u&&!("dark"in o)||"light"===u&&!("light"in o))&&(x=!0),!x)throw new Error("production"!==process.env.NODE_ENV?`MUI: The \`colorSchemes.${u}\` option is either missing or invalid.`:Nl(21,u));a&&(v="oklch");const w=bg(v,b,x,p,u);h&&!b.light&&bg(v,b,h,void 0,"light"),g&&!b.dark&&bg(v,b,g,void 0,"dark");let S={defaultColorScheme:u,...w,cssVarPrefix:i,colorSchemeSelector:l,rootSelector:c,getCssVar:f,colorSchemes:b,font:{...Uh(w.typography),...w.font},spacing:(T=p.spacing,"number"==typeof T?`${T}px`:"string"==typeof T||"function"==typeof T||Array.isArray(T)?T:"8px")};var T;Object.keys(S.colorSchemes).forEach(e=>{const t=S.colorSchemes[e].palette,o=e=>{const o=e.split("-"),n=o[1],r=o[2];return f(e,t[n][r])};function n(e,t,o){if(v){let n;return e===Em&&(n=`transparent ${(100*(1-o)).toFixed(0)}%`),e===Nm&&(n=`#000 ${(100*o).toFixed(0)}%`),e===Mm&&(n=`#fff ${(100*o).toFixed(0)}%`),`color-mix(in ${v}, ${t}, ${n})`}return e(t,o)}var r;if("light"===t.mode&&(mg(t.common,"background","#fff"),mg(t.common,"onBackground","#000")),"dark"===t.mode&&(mg(t.common,"background","#000"),mg(t.common,"onBackground","#fff")),r=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(e=>{r[e]||(r[e]={})}),"light"===t.mode){mg(t.Alert,"errorColor",n(Nm,t.error.light,.6)),mg(t.Alert,"infoColor",n(Nm,t.info.light,.6)),mg(t.Alert,"successColor",n(Nm,t.success.light,.6)),mg(t.Alert,"warningColor",n(Nm,t.warning.light,.6)),mg(t.Alert,"errorFilledBg",o("palette-error-main")),mg(t.Alert,"infoFilledBg",o("palette-info-main")),mg(t.Alert,"successFilledBg",o("palette-success-main")),mg(t.Alert,"warningFilledBg",o("palette-warning-main")),mg(t.Alert,"errorFilledColor",yg(()=>t.getContrastText(t.error.main))),mg(t.Alert,"infoFilledColor",yg(()=>t.getContrastText(t.info.main))),mg(t.Alert,"successFilledColor",yg(()=>t.getContrastText(t.success.main))),mg(t.Alert,"warningFilledColor",yg(()=>t.getContrastText(t.warning.main))),mg(t.Alert,"errorStandardBg",n(Mm,t.error.light,.9)),mg(t.Alert,"infoStandardBg",n(Mm,t.info.light,.9)),mg(t.Alert,"successStandardBg",n(Mm,t.success.light,.9)),mg(t.Alert,"warningStandardBg",n(Mm,t.warning.light,.9)),mg(t.Alert,"errorIconColor",o("palette-error-main")),mg(t.Alert,"infoIconColor",o("palette-info-main")),mg(t.Alert,"successIconColor",o("palette-success-main")),mg(t.Alert,"warningIconColor",o("palette-warning-main")),mg(t.AppBar,"defaultBg",o("palette-grey-100")),mg(t.Avatar,"defaultBg",o("palette-grey-400")),mg(t.Button,"inheritContainedBg",o("palette-grey-300")),mg(t.Button,"inheritContainedHoverBg",o("palette-grey-A100")),mg(t.Chip,"defaultBorder",o("palette-grey-400")),mg(t.Chip,"defaultAvatarColor",o("palette-grey-700")),mg(t.Chip,"defaultIconColor",o("palette-grey-700")),mg(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),mg(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),mg(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),mg(t.LinearProgress,"primaryBg",n(Mm,t.primary.main,.62)),mg(t.LinearProgress,"secondaryBg",n(Mm,t.secondary.main,.62)),mg(t.LinearProgress,"errorBg",n(Mm,t.error.main,.62)),mg(t.LinearProgress,"infoBg",n(Mm,t.info.main,.62)),mg(t.LinearProgress,"successBg",n(Mm,t.success.main,.62)),mg(t.LinearProgress,"warningBg",n(Mm,t.warning.main,.62)),mg(t.Skeleton,"bg",v?n(Em,t.text.primary,.11):`rgba(${o("palette-text-primaryChannel")} / 0.11)`),mg(t.Slider,"primaryTrack",n(Mm,t.primary.main,.62)),mg(t.Slider,"secondaryTrack",n(Mm,t.secondary.main,.62)),mg(t.Slider,"errorTrack",n(Mm,t.error.main,.62)),mg(t.Slider,"infoTrack",n(Mm,t.info.main,.62)),mg(t.Slider,"successTrack",n(Mm,t.success.main,.62)),mg(t.Slider,"warningTrack",n(Mm,t.warning.main,.62));const e=v?n(Nm,t.background.default,.6825):jm(t.background.default,.8);mg(t.SnackbarContent,"bg",e),mg(t.SnackbarContent,"color",yg(()=>v?Wh.text.primary:t.getContrastText(e))),mg(t.SpeedDialAction,"fabHoverBg",jm(t.background.paper,.15)),mg(t.StepConnector,"border",o("palette-grey-400")),mg(t.StepContent,"border",o("palette-grey-400")),mg(t.Switch,"defaultColor",o("palette-common-white")),mg(t.Switch,"defaultDisabledColor",o("palette-grey-100")),mg(t.Switch,"primaryDisabledColor",n(Mm,t.primary.main,.62)),mg(t.Switch,"secondaryDisabledColor",n(Mm,t.secondary.main,.62)),mg(t.Switch,"errorDisabledColor",n(Mm,t.error.main,.62)),mg(t.Switch,"infoDisabledColor",n(Mm,t.info.main,.62)),mg(t.Switch,"successDisabledColor",n(Mm,t.success.main,.62)),mg(t.Switch,"warningDisabledColor",n(Mm,t.warning.main,.62)),mg(t.TableCell,"border",n(Mm,n(Em,t.divider,1),.88)),mg(t.Tooltip,"bg",n(Em,t.grey[700],.92))}if("dark"===t.mode){mg(t.Alert,"errorColor",n(Mm,t.error.light,.6)),mg(t.Alert,"infoColor",n(Mm,t.info.light,.6)),mg(t.Alert,"successColor",n(Mm,t.success.light,.6)),mg(t.Alert,"warningColor",n(Mm,t.warning.light,.6)),mg(t.Alert,"errorFilledBg",o("palette-error-dark")),mg(t.Alert,"infoFilledBg",o("palette-info-dark")),mg(t.Alert,"successFilledBg",o("palette-success-dark")),mg(t.Alert,"warningFilledBg",o("palette-warning-dark")),mg(t.Alert,"errorFilledColor",yg(()=>t.getContrastText(t.error.dark))),mg(t.Alert,"infoFilledColor",yg(()=>t.getContrastText(t.info.dark))),mg(t.Alert,"successFilledColor",yg(()=>t.getContrastText(t.success.dark))),mg(t.Alert,"warningFilledColor",yg(()=>t.getContrastText(t.warning.dark))),mg(t.Alert,"errorStandardBg",n(Nm,t.error.light,.9)),mg(t.Alert,"infoStandardBg",n(Nm,t.info.light,.9)),mg(t.Alert,"successStandardBg",n(Nm,t.success.light,.9)),mg(t.Alert,"warningStandardBg",n(Nm,t.warning.light,.9)),mg(t.Alert,"errorIconColor",o("palette-error-main")),mg(t.Alert,"infoIconColor",o("palette-info-main")),mg(t.Alert,"successIconColor",o("palette-success-main")),mg(t.Alert,"warningIconColor",o("palette-warning-main")),mg(t.AppBar,"defaultBg",o("palette-grey-900")),mg(t.AppBar,"darkBg",o("palette-background-paper")),mg(t.AppBar,"darkColor",o("palette-text-primary")),mg(t.Avatar,"defaultBg",o("palette-grey-600")),mg(t.Button,"inheritContainedBg",o("palette-grey-800")),mg(t.Button,"inheritContainedHoverBg",o("palette-grey-700")),mg(t.Chip,"defaultBorder",o("palette-grey-700")),mg(t.Chip,"defaultAvatarColor",o("palette-grey-300")),mg(t.Chip,"defaultIconColor",o("palette-grey-300")),mg(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),mg(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),mg(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),mg(t.LinearProgress,"primaryBg",n(Nm,t.primary.main,.5)),mg(t.LinearProgress,"secondaryBg",n(Nm,t.secondary.main,.5)),mg(t.LinearProgress,"errorBg",n(Nm,t.error.main,.5)),mg(t.LinearProgress,"infoBg",n(Nm,t.info.main,.5)),mg(t.LinearProgress,"successBg",n(Nm,t.success.main,.5)),mg(t.LinearProgress,"warningBg",n(Nm,t.warning.main,.5)),mg(t.Skeleton,"bg",v?n(Em,t.text.primary,.13):`rgba(${o("palette-text-primaryChannel")} / 0.13)`),mg(t.Slider,"primaryTrack",n(Nm,t.primary.main,.5)),mg(t.Slider,"secondaryTrack",n(Nm,t.secondary.main,.5)),mg(t.Slider,"errorTrack",n(Nm,t.error.main,.5)),mg(t.Slider,"infoTrack",n(Nm,t.info.main,.5)),mg(t.Slider,"successTrack",n(Nm,t.success.main,.5)),mg(t.Slider,"warningTrack",n(Nm,t.warning.main,.5));const e=v?n(Mm,t.background.default,.985):jm(t.background.default,.98);mg(t.SnackbarContent,"bg",e),mg(t.SnackbarContent,"color",yg(()=>v?Vh.text.primary:t.getContrastText(e))),mg(t.SpeedDialAction,"fabHoverBg",jm(t.background.paper,.15)),mg(t.StepConnector,"border",o("palette-grey-600")),mg(t.StepContent,"border",o("palette-grey-600")),mg(t.Switch,"defaultColor",o("palette-grey-300")),mg(t.Switch,"defaultDisabledColor",o("palette-grey-600")),mg(t.Switch,"primaryDisabledColor",n(Nm,t.primary.main,.55)),mg(t.Switch,"secondaryDisabledColor",n(Nm,t.secondary.main,.55)),mg(t.Switch,"errorDisabledColor",n(Nm,t.error.main,.55)),mg(t.Switch,"infoDisabledColor",n(Nm,t.info.main,.55)),mg(t.Switch,"successDisabledColor",n(Nm,t.success.main,.55)),mg(t.Switch,"warningDisabledColor",n(Nm,t.warning.main,.55)),mg(t.TableCell,"border",n(Nm,n(Em,t.divider,1),.68)),mg(t.Tooltip,"bg",n(Em,t.grey[700],.92))}gg(t.background,"default"),gg(t.background,"paper"),gg(t.common,"background"),gg(t.common,"onBackground"),gg(t,"divider"),Object.keys(t).forEach(e=>{const o=t[e];"tonalOffset"!==e&&o&&"object"==typeof o&&(o.main&&mg(t[e],"mainChannel",wm(hg(o.main))),o.light&&mg(t[e],"lightChannel",wm(hg(o.light))),o.dark&&mg(t[e],"darkChannel",wm(hg(o.dark))),o.contrastText&&mg(t[e],"contrastTextChannel",wm(hg(o.contrastText))),"text"===e&&(gg(t[e],"primary"),gg(t[e],"secondary")),"action"===e&&(o.active&&gg(t[e],"active"),o.selected&&gg(t[e],"selected")))})}),S=t.reduce((e,t)=>uu(e,t),S);const O={prefix:i,disableCssColorScheme:r,shouldSkipGeneratingVar:s,getSelector:fg(S),enableContrastVars:a},{vars:C,generateThemeVars:k,generateStyleSheets:E}=function(e,t={}){const{getSelector:o=y,disableCssColorScheme:n,colorSchemeSelector:r,enableContrastVars:i}=t,{colorSchemes:a={},components:s,defaultColorScheme:l="light",...c}=e,{vars:p,css:d,varsWithDefaults:u}=oh(c,t);let f=u;const m={},{[l]:h,...g}=a;if(Object.entries(g||{}).forEach(([e,o])=>{const{vars:n,css:r,varsWithDefaults:i}=oh(o,t);f=uu(f,i),m[e]={css:r,vars:n}}),h){const{css:e,vars:o,varsWithDefaults:n}=oh(h,t);f=uu(f,n),m[l]={css:e,vars:o}}function y(t,o){let n=r;if("class"===r&&(n=".%s"),"data"===r&&(n="[data-%s]"),r?.startsWith("data-")&&!r.includes("%s")&&(n=`[${r}="%s"]`),t){if("media"===n){if(e.defaultColorScheme===t)return":root";const n=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${n})`]:{":root":o}}}if(n)return e.defaultColorScheme===t?`:root, ${n.replace("%s",String(t))}`:n.replace("%s",String(t))}return":root"}return{vars:f,generateThemeVars:()=>{let e={...p};return Object.entries(m).forEach(([,{vars:t}])=>{e=uu(e,t)}),e},generateStyleSheets:()=>{const t=[],r=e.defaultColorScheme||"light";function s(e,o){Object.keys(o).length&&t.push("string"==typeof e?{[e]:{...o}}:e)}s(o(void 0,{...d}),d);const{[r]:l,...c}=m;if(l){const{css:e}=l,t=a[r]?.palette?.mode,i=!n&&t?{colorScheme:t,...e}:{...e};s(o(r,{...i}),i)}return Object.entries(c).forEach(([e,{css:t}])=>{const r=a[e]?.palette?.mode,i=!n&&r?{colorScheme:r,...t}:{...t};s(o(e,{...i}),i)}),i&&t.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)"}}),t}}}(S,O);return S.vars=C,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([e,t])=>{S[e]=t}),S.generateThemeVars=k,S.generateStyleSheets=E,S.generateSpacing=function(){return _u(p.spacing,Bu(this))},S.getColorSchemeSelector=function(e){return function(t){return"media"===e?(process.env.NODE_ENV,`@media (prefers-color-scheme: ${t})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(l),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=s,S.unstable_sxConfig={...Sf,...p?.unstable_sxConfig},S.unstable_sx=function(e){return Tf({sx:e,theme:this})},S.toRuntimeSource=ig,S}({...a,colorSchemes:c,defaultColorScheme:s,..."boolean"!=typeof n&&n},...t)}const wg=xg();function Sg(){const e=Pf(wg);return"production"!==process.env.NODE_ENV&&r.useDebugValue(e),e[Rl]||e}function Tg(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Og=e=>Tg(e)&&"classes"!==e,Cg=dm({themeId:Rl,defaultTheme:wg,rootShouldForwardProp:Og});function kg(...e){return e.reduce((e,t)=>null==t?e:function(...o){e.apply(this,o),t.apply(this,o)},()=>{})}function Eg(t){return e(Rf,{...t,defaultTheme:wg,themeId:Rl})}"production"!==process.env.NODE_ENV&&(qp.string,qp.string,qp.string,qp.string,qp.string,qp.oneOf(["dark","light","system"]),qp.string,qp.string),function(e){const{themeId:t,theme:o={},modeStorageKey:n=Jm,colorSchemeStorageKey:i=Qm,disableTransitionOnChange:a=!1,defaultColorScheme:s,resolveTheme:l}=e,c=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(c.displayName="ColorSchemeContext");"production"!==process.env.NODE_ENV&&(qp.node,qp.any,qp.string,qp.string,qp.bool,qp.bool,qp.bool,qp.any,qp.bool,qp.string,qp.bool,qp.func,qp.any,qp.object);"string"==typeof s||s.light,"string"==typeof s||s.dark}({themeId:Rl,theme:()=>xg({cssVariables:!0}),colorSchemeStorageKey:"mui-color-scheme",modeStorageKey:"mui-mode",defaultColorScheme:{light:"light",dark:"dark"},resolveTheme:e=>{const t={...e,typography:Xh(e.palette,e.typography)};return t.unstable_sx=function(e){return Tf({sx:e,theme:this})},t}}),"production"!==process.env.NODE_ENV&&(Eg.propTypes={styles:qp.oneOfType([qp.array,qp.func,qp.number,qp.object,qp.string,qp.bool])});const Pg=function(e){let t,o;return function(n){let r=t;return void 0!==r&&n.theme===o||(Zm.theme=n.theme,r=rm(e(Zm)),t=r,o=n.theme),r}};function Ng(e){return function({props:e,name:t}){return function(e){const{theme:t,name:o,props:n}=e;if(!t||!t.components||!t.components[o])return n;const r=t.components[o];return r.defaultProps?hm(r.defaultProps,n,t.components.mergeClassNameAndStyle):r.styleOverrides||r.variants?n:hm(r,n,t.components.mergeClassNameAndStyle)}({props:e,name:t,theme:{components:r.useContext(_m)}})}(e)}function Rg(e){return Qf("MuiSvgIcon",e)}"production"!==process.env.NODE_ENV&&(qp.node,qp.object.isRequired),em("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Mg=Cg("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"inherit"!==o.color&&t[`color${Cu(o.color)}`],t[`fontSize${Cu(o.fontSize)}`]]}})(Pg(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),$g=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiSvgIcon"}),{children:a,className:s,color:l="inherit",component:c="svg",fontSize:p="medium",htmlColor:d,inheritViewBox:u=!1,titleAccess:f,viewBox:m="0 0 24 24",...h}=i,g=r.isValidElement(a)&&"svg"===a.type,y={...i,color:l,component:c,fontSize:p,instanceFontSize:o.fontSize,inheritViewBox:u,viewBox:m,hasSvgAsChild:g},b={};u||(b.viewBox=m);const v=(e=>{const{color:t,fontSize:o,classes:n}=e;return nh({root:["root","inherit"!==t&&`color${Cu(t)}`,`fontSize${Cu(o)}`]},Rg,n)})(y);return t(Mg,{as:c,className:Yf(v.root,s),focusable:"false",color:d,"aria-hidden":!f||void 0,role:f?"img":void 0,ref:n,...b,...h,...g&&a.props,ownerState:y,children:[g?a.props.children:a,f?e("title",{children:f}):null]})});function jg(t,o){function n(n,r){return e($g,{"data-testid":"production"!==process.env.NODE_ENV?`${o}Icon`:void 0,ref:r,...n,children:t})}return"production"!==process.env.NODE_ENV&&(n.displayName=`${o}Icon`),n.muiName=$g.muiName,r.memo(r.forwardRef(n))}function Ig(e,t=166){let o;function n(...n){clearTimeout(o),o=setTimeout(()=>{e.apply(this,n)},t)}return n.clear=()=>{clearTimeout(o)},n}function Ag(e){return e&&e.ownerDocument||document}function Lg(e){return Ag(e).defaultView||window}function Bg(e,t){if("production"===process.env.NODE_ENV)return()=>()=>null;const o=t?{...t.propTypes}:null;return t=>(n,r,i,a,s,...l)=>{const c=s||r,p=o?.[c];if(p){const e=p(n,r,i,a,s,...l);if(e)return e}return void 0===n[r]||n[t]?null:new Error(`The prop \`${c}\` of \`${e}\` can only be used together with the \`${t}\` prop.`)}}function Dg(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function zg(e,t,o,n,r){if("production"===process.env.NODE_ENV)return null;const i=r||t;return void 0!==e[t]?new Error(`The prop \`${i}\` is not supported. Please remove it.`):null}function Vg(e){const{controlled:t,default:o,name:n,state:i="value"}=e,{current:a}=r.useRef(void 0!==t),[s,l]=r.useState(o),c=a?t:s;if("production"!==process.env.NODE_ENV){r.useEffect(()=>{},[i,n,t]);const{current:e}=r.useRef(o);r.useEffect(()=>{!a&&(JSON.stringify(o),JSON.stringify(e))},[JSON.stringify(o)])}return[c,r.useCallback(e=>{a||l(e)},[])]}function Fg(e){const t=r.useRef(e);return ym(()=>{t.current=e}),r.useRef((...e)=>(0,t.current)(...e)).current}function Wg(...e){const t=r.useRef(void 0),o=r.useCallback(t=>{const o=e.map(e=>{if(null==e)return null;if("function"==typeof e){const o=e,n=o(t);return"function"==typeof n?n:()=>{o(null)}}return e.current=t,()=>{e.current=null}});return()=>{o.forEach(e=>e?.())}},e);return r.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=o(e))},e)}function _g(e,t){if(!e)return t;function o(e,t){const o={};return Object.keys(t).forEach(n=>{(function(e,t){const o=e.charCodeAt(2);return"o"===e[0]&&"n"===e[1]&&o>=65&&o<=90&&"function"==typeof t})(n,t[n])&&"function"==typeof e[n]&&(o[n]=(...o)=>{e[n](...o),t[n](...o)})}),o}if("function"==typeof e||"function"==typeof t)return n=>{const r="function"==typeof t?t(n):t,i="function"==typeof e?e({...n,...r}):e,a=Yf(n?.className,r?.className,i?.className),s=o(i,r);return{...r,...i,...s,...!!a&&{className:a},...r?.style&&i?.style&&{style:{...r.style,...i.style}},...r?.sx&&i?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(i.sx)?i.sx:[i.sx]]}}};const n=t,r=o(e,n),i=Yf(n?.className,e?.className);return{...t,...e,...r,...!!i&&{className:i},...n?.style&&e?.style&&{style:{...n.style,...e.style}},...n?.sx&&e?.sx&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function Hg(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...o){return e(...o)||t(...o)}}function qg(e,t){if(null==e)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;o[n]=e[n]}return o}function Ug(e,t){return Ug=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ug(e,t)}function Gg(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ug(e,t)}function Kg(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}"production"!==process.env.NODE_ENV&&($g.propTypes={children:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),qp.string]),component:qp.elementType,fontSize:qp.oneOfType([qp.oneOf(["inherit","large","medium","small"]),qp.string]),htmlColor:qp.string,inheritViewBox:qp.bool,shapeRendering:qp.string,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),titleAccess:qp.string,viewBox:qp.string}),$g.muiName="SvgIcon";var Xg="production"!==process.env.NODE_ENV?qp.oneOfType([qp.number,qp.shape({enter:qp.number,exit:qp.number,appear:qp.number}).isRequired]):null,Yg="production"!==process.env.NODE_ENV?qp.oneOfType([qp.string,qp.shape({enter:qp.string,exit:qp.string,active:qp.string}),qp.shape({enter:qp.string,enterDone:qp.string,enterActive:qp.string,exit:qp.string,exitDone:qp.string,exitActive:qp.string})]):null,Zg=i.createContext(null),Jg=function(e){return e.scrollTop},Qg="unmounted",ey="exited",ty="entering",oy="entered",ny="exiting",ry=function(e){function t(t,o){var n;n=e.call(this,t,o)||this;var r,i=o&&!o.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(r=ey,n.appearStatus=ty):r=oy:r=t.unmountOnExit||t.mountOnEnter?Qg:ey,n.state={status:r},n.nextCallback=null,n}Gg(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Qg?{status:ey}:null};var o=t.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var o=this.state.status;this.props.in?o!==ty&&o!==oy&&(t=ty):o!==ty&&o!==oy||(t=ny)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,o,n=this.props.timeout;return e=t=o=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,o=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:o}},o.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===ty){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:H.findDOMNode(this);o&&Jg(o)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ey&&this.setState({status:Qg})},o.performEnter=function(e){var t=this,o=this.props.enter,n=this.context?this.context.isMounting:e,r=this.props.nodeRef?[n]:[H.findDOMNode(this),n],i=r[0],a=r[1],s=this.getTimeouts(),l=n?s.appear:s.enter;e||o?(this.props.onEnter(i,a),this.safeSetState({status:ty},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:oy},function(){t.props.onEntered(i,a)})})})):this.safeSetState({status:oy},function(){t.props.onEntered(i)})},o.performExit=function(){var e=this,t=this.props.exit,o=this.getTimeouts(),n=this.props.nodeRef?void 0:H.findDOMNode(this);t?(this.props.onExit(n),this.safeSetState({status:ny},function(){e.props.onExiting(n),e.onTransitionEnd(o.exit,function(){e.safeSetState({status:ey},function(){e.props.onExited(n)})})})):this.safeSetState({status:ey},function(){e.props.onExited(n)})},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,o=!0;return this.nextCallback=function(n){o&&(o=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var o=this.props.nodeRef?this.props.nodeRef.current:H.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(o&&!n){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],i=r[0],a=r[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===Qg)return null;var t=this.props,o=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var n=qg(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return i.createElement(Zg.Provider,{value:null},"function"==typeof o?o(e,n):i.cloneElement(i.Children.only(o),n))},t}(i.Component);function iy(){}ry.contextType=Zg,ry.propTypes="production"!==process.env.NODE_ENV?{nodeRef:qp.shape({current:"undefined"==typeof Element?qp.any:function(e,t,o,n,r,i){var a=e[t];return qp.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,o,n,r,i)}}),children:qp.oneOfType([qp.func.isRequired,qp.element.isRequired]).isRequired,in:qp.bool,mountOnEnter:qp.bool,unmountOnExit:qp.bool,appear:qp.bool,enter:qp.bool,exit:qp.bool,timeout:function(e){var t=Xg;e.addEndListener||(t=t.isRequired);for(var o=arguments.length,n=new Array(o>1?o-1:0),r=1;r<o;r++)n[r-1]=arguments[r];return t.apply(void 0,[e].concat(n))},addEndListener:qp.func,onEnter:qp.func,onEntering:qp.func,onEntered:qp.func,onExit:qp.func,onExiting:qp.func,onExited:qp.func}:{},ry.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:iy,onEntering:iy,onEntered:iy,onExit:iy,onExiting:iy,onExited:iy},ry.UNMOUNTED=Qg,ry.EXITED=ey,ry.ENTERING=ty,ry.ENTERED=oy,ry.EXITING=ny;var ay=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return n=t,void((o=e).classList?o.classList.remove(n):"string"==typeof o.className?o.className=Kg(o.className,n):o.setAttribute("class",Kg(o.className&&o.className.baseVal||"",n)));var o,n})},sy=function(e){function t(){for(var t,o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return(t=e.call.apply(e,[this].concat(n))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,o){var n=t.resolveArguments(e,o),r=n[0],i=n[1];t.removeClasses(r,"exit"),t.addClass(r,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,o)},t.onEntering=function(e,o){var n=t.resolveArguments(e,o),r=n[0],i=n[1]?"appear":"enter";t.addClass(r,i,"active"),t.props.onEntering&&t.props.onEntering(e,o)},t.onEntered=function(e,o){var n=t.resolveArguments(e,o),r=n[0],i=n[1]?"appear":"enter";t.removeClasses(r,i),t.addClass(r,i,"done"),t.props.onEntered&&t.props.onEntered(e,o)},t.onExit=function(e){var o=t.resolveArguments(e)[0];t.removeClasses(o,"appear"),t.removeClasses(o,"enter"),t.addClass(o,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var o=t.resolveArguments(e)[0];t.addClass(o,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var o=t.resolveArguments(e)[0];t.removeClasses(o,"exit"),t.addClass(o,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,o){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,o]},t.getClassNames=function(e){var o=t.props.classNames,n="string"==typeof o,r=n?(n&&o?o+"-":"")+e:o[e];return{baseClassName:r,activeClassName:n?r+"-active":o[e+"Active"],doneClassName:n?r+"-done":o[e+"Done"]}},t}Gg(t,e);var o=t.prototype;return o.addClass=function(e,t,o){var n=this.getClassNames(t)[o+"ClassName"],r=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===o&&r&&(n+=" "+r),"active"===o&&e&&Jg(e),n&&(this.appliedClasses[t][o]=n,function(e,t){e&&t&&t.split(" ").forEach(function(t){return n=t,void((o=e).classList?o.classList.add(n):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(o,n)||("string"==typeof o.className?o.className=o.className+" "+n:o.setAttribute("class",(o.className&&o.className.baseVal||"")+" "+n)));var o,n})}(e,n))},o.removeClasses=function(e,t){var o=this.appliedClasses[t],n=o.base,r=o.active,i=o.done;this.appliedClasses[t]={},n&&ay(e,n),r&&ay(e,r),i&&ay(e,i)},o.render=function(){var e=this.props;e.classNames;var t=qg(e,["classNames"]);return i.createElement(ry,Ml({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(i.Component);function ly(e,t){var o=Object.create(null);return e&&v.map(e,function(e){return e}).forEach(function(e){o[e.key]=function(e){return t&&x(e)?t(e):e}(e)}),o}function cy(e,t,o){return null!=o[t]?o[t]:e.props[t]}function py(e,t,o){var n=ly(e.children),r=function(e,t){function o(o){return o in t?t[o]:e[o]}e=e||{},t=t||{};var n,r=Object.create(null),i=[];for(var a in e)a in t?i.length&&(r[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(r[l])for(n=0;n<r[l].length;n++){var c=r[l][n];s[r[l][n]]=o(c)}s[l]=o(l)}for(n=0;n<i.length;n++)s[i[n]]=o(i[n]);return s}(t,n);return Object.keys(r).forEach(function(i){var a=r[i];if(x(a)){var s=i in t,l=i in n,c=t[i],p=x(c)&&!c.props.in;!l||s&&!p?l||!s||p?l&&s&&x(c)&&(r[i]=w(a,{onExited:o.bind(null,a),in:c.props.in,exit:cy(a,"exit",e),enter:cy(a,"enter",e)})):r[i]=w(a,{in:!1}):r[i]=w(a,{onExited:o.bind(null,a),in:!0,exit:cy(a,"exit",e),enter:cy(a,"enter",e)})}}),r}sy.defaultProps={classNames:""},sy.propTypes="production"!==process.env.NODE_ENV?Ml({},ry.propTypes,{classNames:Yg,onEnter:qp.func,onEntering:qp.func,onEntered:qp.func,onExit:qp.func,onExiting:qp.func,onExited:qp.func}):{};var dy,uy,fy=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},my=function(e){function t(t,o){var n,r=(n=e.call(this,t,o)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:r,firstRender:!0},n}Gg(t,e);var o=t.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var o,n,r=t.children,i=t.handleExited;return{children:t.firstRender?(o=e,n=i,ly(o.children,function(e){return w(e,{onExited:n.bind(null,e),in:!0,appear:cy(e,"appear",o),enter:cy(e,"enter",o),exit:cy(e,"exit",o)})})):py(e,r,i),firstRender:!1}},o.handleExited=function(e,t){var o=ly(this.props.children);e.key in o||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var o=Ml({},t.children);return delete o[e.key],{children:o}}))},o.render=function(){var e=this.props,t=e.component,o=e.childFactory,n=qg(e,["component","childFactory"]),r=this.state.contextValue,a=fy(this.state.children).map(o);return delete n.appear,delete n.enter,delete n.exit,null===t?i.createElement(Zg.Provider,{value:r},a):i.createElement(Zg.Provider,{value:r},i.createElement(t,n,a))},t}(i.Component);my.propTypes="production"!==process.env.NODE_ENV?{component:qp.any,children:qp.node,appear:qp.bool,enter:qp.bool,exit:qp.bool,childFactory:qp.func}:{},my.defaultProps={component:"div",childFactory:function(e){return e}},(function(e){function t(){for(var t,o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return(t=e.call.apply(e,[this].concat(n))||this).handleEnter=function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];return t.handleLifecycle("onEnter",0,o)},t.handleEntering=function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];return t.handleLifecycle("onEntering",0,o)},t.handleEntered=function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];return t.handleLifecycle("onEntered",0,o)},t.handleExit=function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];return t.handleLifecycle("onExit",1,o)},t.handleExiting=function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];return t.handleLifecycle("onExiting",1,o)},t.handleExited=function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];return t.handleLifecycle("onExited",1,o)},t}Gg(t,e);var o=t.prototype;return o.handleLifecycle=function(e,t,o){var n,r=this.props.children,a=i.Children.toArray(r)[t];if(a.props[e]&&(n=a.props)[e].apply(n,o),this.props[e]){var s=a.props.nodeRef?void 0:H.findDOMNode(this);this.props[e](s)}},o.render=function(){var e=this.props,t=e.children,o=e.in,n=qg(e,["children","in"]),r=i.Children.toArray(t),a=r[0],s=r[1];return delete n.onEnter,delete n.onEntering,delete n.onEntered,delete n.onExit,delete n.onExiting,delete n.onExited,i.createElement(my,n,o?i.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):i.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(i.Component)).propTypes="production"!==process.env.NODE_ENV?{in:qp.bool.isRequired,children:function(e,t){return 2!==i.Children.count(e[t])?new Error('"'+t+'" must be exactly two transition components.'):null}}:{};var hy="out-in",gy="in-out",yy=function(e,t,o){return function(){var n;e.props[t]&&(n=e.props)[t].apply(n,arguments),o()}},by=((dy={})[hy]=function(e){var t=e.current,o=e.changeState;return i.cloneElement(t,{in:!1,onExited:yy(t,"onExited",function(){o(ty,null)})})},dy[gy]=function(e){var t=e.current,o=e.changeState,n=e.children;return[t,i.cloneElement(n,{in:!0,onEntered:yy(n,"onEntered",function(){o(ty)})})]},dy),vy=((uy={})[hy]=function(e){var t=e.children,o=e.changeState;return i.cloneElement(t,{in:!0,onEntered:yy(t,"onEntered",function(){o(oy,i.cloneElement(t,{in:!0}))})})},uy[gy]=function(e){var t=e.current,o=e.children,n=e.changeState;return[i.cloneElement(t,{in:!1,onExited:yy(t,"onExited",function(){n(oy,i.cloneElement(o,{in:!0}))})}),i.cloneElement(o,{in:!0})]},uy),xy=function(e){function t(){for(var t,o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return(t=e.call.apply(e,[this].concat(n))||this).state={status:oy,current:null},t.appeared=!1,t.changeState=function(e,o){void 0===o&&(o=t.state.current),t.setState({status:e,current:o})},t}Gg(t,e);var o=t.prototype;return o.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===ty&&e.mode===gy?{status:ty}:!t.current||((o=t.current)===(n=e.children)||i.isValidElement(o)&&i.isValidElement(n)&&null!=o.key&&o.key===n.key)?{current:i.cloneElement(e.children,{in:!0})}:{status:ny};var o,n},o.render=function(){var e,t=this.props,o=t.children,n=t.mode,r=this.state,a=r.status,s=r.current,l={children:o,current:s,changeState:this.changeState,status:a};switch(a){case ty:e=vy[n](l);break;case ny:e=by[n](l);break;case oy:e=s}return i.createElement(Zg.Provider,{value:{isMounting:!this.appeared}},e)},t}(i.Component);xy.propTypes="production"!==process.env.NODE_ENV?{mode:qp.oneOf([gy,hy]),children:qp.oneOfType([qp.element.isRequired])}:{},xy.defaultProps={mode:hy};const wy={};function Sy(e,t){const o=r.useRef(wy);return o.current===wy&&(o.current=e(t)),o}const Ty=[];class Oy{static create(){return new Oy}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Cy(){const e=Sy(Oy.create).current;var t;return t=e.disposeEffect,r.useEffect(t,Ty),e}var ky=Hg(qp.elementType,function(e,t,o,n,i){const a=e[t],s=i||t;if(null==a||"undefined"==typeof window)return null;let l;return"function"!=typeof a||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(a)||(l="Did you accidentally provide a plain function component instead?"),a===r.Fragment&&(l="Did you accidentally provide a React.Fragment instead?"),void 0!==l?new Error(`Invalid ${n} \`${s}\` supplied to \`${o}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null});const Ey=e=>e.scrollTop;function Py(e,t){const{timeout:o,easing:n,style:r={}}=e;return{duration:r.transitionDuration??("number"==typeof o?o:o[t.mode]||0),easing:r.transitionTimingFunction??("object"==typeof n?n[t.mode]:n),delay:r.transitionDelay}}function Ny(e){return"string"==typeof e}function Ry(e,t,o){return void 0===e||Ny(e)?t:{...t,ownerState:{...t.ownerState,...o}}}function My(e,t,o){return"function"==typeof e?e(t,o):e}function $y(e,t=[]){if(void 0===e)return{};const o={};return Object.keys(e).filter(o=>o.match(/^on[A-Z]/)&&"function"==typeof e[o]&&!t.includes(o)).forEach(t=>{o[t]=e[t]}),o}function jy(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(o=>{t[o]=e[o]}),t}function Iy(e){const{getSlotProps:t,additionalProps:o,externalSlotProps:n,externalForwardedProps:r,className:i}=e;if(!t){const e=Yf(o?.className,i,r?.className,n?.className),t={...o?.style,...r?.style,...n?.style},a={...o,...r,...n};return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=$y({...r,...n}),s=jy(n),l=jy(r),c=t(a),p=Yf(c?.className,o?.className,i,r?.className,n?.className),d={...c?.style,...o?.style,...r?.style,...n?.style},u={...c,...o,...l,...s};return p.length>0&&(u.className=p),Object.keys(d).length>0&&(u.style=d),{props:u,internalRef:c.ref}}function Ay(e,t){const{className:o,elementType:n,ownerState:r,externalForwardedProps:i,internalForwardedProps:a,shouldForwardComponentProp:s=!1,...l}=t,{component:c,slots:p={[e]:void 0},slotProps:d={[e]:void 0},...u}=i,f=p[e]||n,m=My(d[e],r),{props:{component:h,...g},internalRef:y}=Iy({className:o,...l,externalForwardedProps:"root"===e?u:void 0,externalSlotProps:m}),b=Wg(y,m?.ref,t.ref),v="root"===e?h||c:h;return[f,Ry(f,{..."root"===e&&!c&&!p[e]&&a,..."root"!==e&&!p[e]&&a,...g,...v&&!s&&{as:v},...v&&s&&{component:v},ref:b},r)]}function Ly(e){return Qf("MuiCollapse",e)}em("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const By=Cg("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],"entered"===o.state&&t.entered,"exited"===o.state&&!o.in&&"0px"===o.collapsedSize&&t.hidden]}})(Pg(({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:e})=>"exited"===e.state&&!e.in&&"0px"===e.collapsedSize,style:{visibility:"hidden"}}]}))),Dy=Cg("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),zy=Cg("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Vy=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiCollapse"}),{addEndListener:i,children:a,className:s,collapsedSize:l="0px",component:c,easing:p,in:d,onEnter:u,onEntered:f,onEntering:m,onExit:h,onExited:g,onExiting:y,orientation:b="vertical",slots:v={},slotProps:x={},style:w,timeout:S=Qh.standard,TransitionComponent:T=ry,...O}=n,C={...n,orientation:b,collapsedSize:l},k=(e=>{const{orientation:t,classes:o}=e;return nh({root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]},Ly,o)})(C),E=Sg(),P=Cy(),N=r.useRef(null),R=r.useRef(),M="number"==typeof l?`${l}px`:l,$="horizontal"===b,j=$?"width":"height",I=r.useRef(null),A=Wg(o,I),L=e=>t=>{if(e){const o=I.current;void 0===t?e(o):e(o,t)}},B=()=>N.current?N.current[$?"clientWidth":"clientHeight"]:0,D=L((e,t)=>{N.current&&$&&(N.current.style.position="absolute"),e.style[j]=M,u&&u(e,t)}),z=L((e,t)=>{const o=B();N.current&&$&&(N.current.style.position="");const{duration:n,easing:r}=Py({style:w,timeout:S,easing:p},{mode:"enter"});if("auto"===S){const t=E.transitions.getAutoHeightDuration(o);e.style.transitionDuration=`${t}ms`,R.current=t}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[j]=`${o}px`,e.style.transitionTimingFunction=r,m&&m(e,t)}),V=L((e,t)=>{e.style[j]="auto",f&&f(e,t)}),F=L(e=>{e.style[j]=`${B()}px`,h&&h(e)}),W=L(g),_=L(e=>{const t=B(),{duration:o,easing:n}=Py({style:w,timeout:S,easing:p},{mode:"exit"});if("auto"===S){const o=E.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${o}ms`,R.current=o}else e.style.transitionDuration="string"==typeof o?o:`${o}ms`;e.style[j]=M,e.style.transitionTimingFunction=n,y&&y(e)}),H={slots:v,slotProps:x,component:c},[q,U]=Ay("root",{ref:A,className:Yf(k.root,s),elementType:By,externalForwardedProps:H,ownerState:C,additionalProps:{style:{[$?"minWidth":"minHeight"]:M,...w}}}),[G,K]=Ay("wrapper",{ref:N,className:k.wrapper,elementType:Dy,externalForwardedProps:H,ownerState:C}),[X,Y]=Ay("wrapperInner",{className:k.wrapperInner,elementType:zy,externalForwardedProps:H,ownerState:C});return e(T,{in:d,onEnter:D,onEntered:V,onEntering:z,onExit:F,onExited:W,onExiting:_,addEndListener:e=>{"auto"===S&&P.start(R.current||0,e),i&&i(I.current,e)},nodeRef:I,timeout:"auto"===S?null:S,...O,children:(t,{ownerState:o,...n})=>{const r={...C,state:t};return e(q,{...U,className:Yf(U.className,{entered:k.entered,exited:!d&&"0px"===M&&k.hidden}[t]),ownerState:r,...n,children:e(G,{...K,ownerState:r,children:e(X,{...Y,ownerState:r,children:a})})})}})});function Fy(e,t,o,n){const r=e[t];if(null==r||!Number.isInteger(r)){const e=function(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 null===e?"null":e.constructor.name;default:return t}}(r);return new RangeError(`Invalid ${n} \`${t}\` of type \`${e}\` supplied to \`${o}\`, expected \`integer\`.`)}return null}function Wy(e,t,o,n){return void 0===e[t]?null:Fy(e,t,o,n)}function _y(){return null}"production"!==process.env.NODE_ENV&&(Vy.propTypes={addEndListener:qp.func,children:qp.node,classes:qp.object,className:qp.string,collapsedSize:qp.oneOfType([qp.number,qp.string]),component:ky,easing:qp.oneOfType([qp.shape({enter:qp.string,exit:qp.string}),qp.string]),in:qp.bool,onEnter:qp.func,onEntered:qp.func,onEntering:qp.func,onExit:qp.func,onExited:qp.func,onExiting:qp.func,orientation:qp.oneOf(["horizontal","vertical"]),slotProps:qp.shape({root:qp.oneOfType([qp.func,qp.object]),wrapper:qp.oneOfType([qp.func,qp.object]),wrapperInner:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({root:qp.elementType,wrapper:qp.elementType,wrapperInner:qp.elementType}),style:qp.object,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),timeout:qp.oneOfType([qp.oneOf(["auto"]),qp.number,qp.shape({appear:qp.number,enter:qp.number,exit:qp.number})])}),Vy&&(Vy.muiSupportAuto=!0),Wy.isRequired=Fy,_y.isRequired=_y;const Hy="production"===process.env.NODE_ENV?_y:Wy;function qy(e){return Qf("MuiPaper",e)}em("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 Uy=Cg("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],!o.square&&t.rounded,"elevation"===o.variant&&t[`elevation${o.elevation}`]]}})(Pg(({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:e})=>!e.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)"}}]}))),Gy=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiPaper"}),r=Sg(),{className:i,component:a="div",elevation:s=1,square:l=!1,variant:c="elevation",...p}=n,d={...n,component:a,elevation:s,square:l,variant:c},u=(e=>{const{square:t,elevation:o,variant:n,classes:r}=e;return nh({root:["root",n,!t&&"rounded","elevation"===n&&`elevation${o}`]},qy,r)})(d);return"production"!==process.env.NODE_ENV&&r.shadows[s],e(Uy,{as:a,ownerState:d,className:Yf(u.root,i),ref:o,...p,style:{..."elevation"===c&&{"--Paper-shadow":(r.vars||r).shadows[s],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[s]},...!r.vars&&"dark"===r.palette.mode&&{"--Paper-overlay":`linear-gradient(${km("#fff",lg(s))}, ${km("#fff",lg(s))})`}},...p.style}})});"production"!==process.env.NODE_ENV&&(Gy.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,elevation:Hg(Hy,e=>{const{elevation:t,variant:o}=e;return t>0&&"outlined"===o?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${o}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:qp.bool,style:qp.object,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),variant:qp.oneOfType([qp.oneOf(["elevation","outlined"]),qp.string])});const Ky=r.createContext({});function Xy(e){return Qf("MuiAccordion",e)}"production"!==process.env.NODE_ENV&&(Ky.displayName="AccordionContext");const Yy=em("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"]),Zy=Cg(Gy,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${Yy.region}`]:t.region},t.root,!o.square&&t.rounded,!o.disableGutters&&t.gutters]}})(Pg(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${Yy.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${Yy.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),Pg(({theme:e})=>({variants:[{props:e=>!e.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:e=>!e.disableGutters,style:{[`&.${Yy.expanded}`]:{margin:"16px 0"}}}]}))),Jy=Cg("h3",{name:"MuiAccordion",slot:"Heading"})({all:"unset"}),Qy=Cg("div",{name:"MuiAccordion",slot:"Region"})({}),eb=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiAccordion"}),{children:a,className:s,defaultExpanded:l=!1,disabled:c=!1,disableGutters:p=!1,expanded:d,onChange:u,slots:f={},slotProps:m={},TransitionComponent:h,TransitionProps:g,...y}=i,[b,v]=Vg({controlled:d,default:l,name:"Accordion",state:"expanded"}),x=r.useCallback(e=>{v(!b),u&&u(e,!b)},[b,u,v]),[w,...S]=r.Children.toArray(a),T=r.useMemo(()=>({expanded:b,disabled:c,disableGutters:p,toggle:x}),[b,c,p,x]),O={...i,disabled:c,disableGutters:p,expanded:b},C=(e=>{const{classes:t,square:o,expanded:n,disabled:r,disableGutters:i}=e;return nh({root:["root",!o&&"rounded",n&&"expanded",r&&"disabled",!i&&"gutters"],heading:["heading"],region:["region"]},Xy,t)})(O),k={slots:{transition:h,...f},slotProps:{transition:g,...m}},[E,P]=Ay("root",{elementType:Zy,externalForwardedProps:{...k,...y},className:Yf(C.root,s),shouldForwardComponentProp:!0,ownerState:O,ref:n}),[N,R]=Ay("heading",{elementType:Jy,externalForwardedProps:k,className:C.heading,ownerState:O}),[M,$]=Ay("transition",{elementType:Vy,externalForwardedProps:k,ownerState:O}),[j,I]=Ay("region",{elementType:Qy,externalForwardedProps:k,ownerState:O,className:C.region,additionalProps:{"aria-labelledby":w.props.id,id:w.props["aria-controls"],role:"region"}});return t(E,{...P,children:[e(N,{...R,children:e(Ky.Provider,{value:T,children:w})}),e(M,{in:b,timeout:"auto",...$,children:e(j,{...I,children:S})})]})});function tb(e){return Qf("MuiAccordionActions",e)}"production"!==process.env.NODE_ENV&&(eb.propTypes={children:Hg(qp.node.isRequired,e=>{const t=r.Children.toArray(e.children)[0];return qd.isFragment(t)?new Error("MUI: The Accordion doesn't accept a Fragment as a child. Consider providing an array instead."):r.isValidElement(t)?null:new Error("MUI: Expected the first child of Accordion to be a valid element.")}),classes:qp.object,className:qp.string,defaultExpanded:qp.bool,disabled:qp.bool,disableGutters:qp.bool,expanded:qp.bool,onChange:qp.func,slotProps:qp.shape({heading:qp.oneOfType([qp.func,qp.object]),region:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object]),transition:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({heading:qp.elementType,region:qp.elementType,root:qp.elementType,transition:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),TransitionComponent:qp.elementType,TransitionProps:qp.object}),em("MuiAccordionActions",["root","spacing"]);const ob=Cg("div",{name:"MuiAccordionActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",variants:[{props:e=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),nb=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiAccordionActions"}),{className:r,disableSpacing:i=!1,...a}=n,s={...n,disableSpacing:i},l=(e=>{const{classes:t,disableSpacing:o}=e;return nh({root:["root",!o&&"spacing"]},tb,t)})(s);return e(ob,{className:Yf(l.root,r),ref:o,ownerState:s,...a})});function rb(e){return Qf("MuiAccordionDetails",e)}"production"!==process.env.NODE_ENV&&(nb.propTypes={children:qp.node,classes:qp.object,className:qp.string,disableSpacing:qp.bool,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("MuiAccordionDetails",["root"]);const ib=Cg("div",{name:"MuiAccordionDetails",slot:"Root"})(Pg(({theme:e})=>({padding:e.spacing(1,2,2)}))),ab=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiAccordionDetails"}),{className:r,...i}=n,a=n,s=(e=>{const{classes:t}=e;return nh({root:["root"]},rb,t)})(a);return e(ib,{className:Yf(s.root,r),ref:o,ownerState:a,...i})});"production"!==process.env.NODE_ENV&&(ab.propTypes={children:qp.node,classes:qp.object,className:qp.string,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const sb=qp.oneOfType([qp.func,qp.object]);function lb(e){try{return e.matches(":focus-visible")}catch(e){"production"!==process.env.NODE_ENV&&window.navigator.userAgent.includes("jsdom")}return!1}class cb{static create(){return new cb}static use(){const e=Sy(cb.create).current,[t,o]=r.useState(!1);return e.shouldMount=t,e.setShouldMount=o,r.useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;const o=new Promise((o,n)=>{e=o,t=n});return o.resolve=e,o.reject=t,o}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}function pb(t){const{className:o,classes:n,pulsate:i=!1,rippleX:a,rippleY:s,rippleSize:l,in:c,onExited:p,timeout:d}=t,[u,f]=r.useState(!1),m=Yf(o,n.ripple,n.rippleVisible,i&&n.ripplePulsate),h={width:l,height:l,top:-l/2+s,left:-l/2+a},g=Yf(n.child,u&&n.childLeaving,i&&n.childPulsate);return c||u||f(!0),r.useEffect(()=>{if(!c&&null!=p){const e=setTimeout(p,d);return()=>{clearTimeout(e)}}},[p,c,d]),e("span",{className:m,style:h,children:e("span",{className:g})})}"production"!==process.env.NODE_ENV&&(pb.propTypes={classes:qp.object.isRequired,className:qp.string,in:qp.bool,onExited:qp.func,pulsate:qp.bool,rippleSize:qp.number,rippleX:qp.number,rippleY:qp.number,timeout:qp.number.isRequired});const db=em("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),ub=Bp`
43
+ 0% {
44
+ transform: scale(0);
45
+ opacity: 0.1;
46
+ }
47
+
48
+ 100% {
49
+ transform: scale(1);
50
+ opacity: 0.3;
51
+ }
52
+ `,fb=Bp`
53
+ 0% {
54
+ opacity: 1;
55
+ }
56
+
57
+ 100% {
58
+ opacity: 0;
59
+ }
60
+ `,mb=Bp`
61
+ 0% {
62
+ transform: scale(1);
63
+ }
64
+
65
+ 50% {
66
+ transform: scale(0.92);
67
+ }
68
+
69
+ 100% {
70
+ transform: scale(1);
71
+ }
72
+ `,hb=Cg("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),gb=Cg(pb,{name:"MuiTouchRipple",slot:"Ripple"})`
73
+ opacity: 0;
74
+ position: absolute;
75
+
76
+ &.${db.rippleVisible} {
77
+ opacity: 0.3;
78
+ transform: scale(1);
79
+ animation-name: ${ub};
80
+ animation-duration: ${550}ms;
81
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
82
+ }
83
+
84
+ &.${db.ripplePulsate} {
85
+ animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
86
+ }
87
+
88
+ & .${db.child} {
89
+ opacity: 1;
90
+ display: block;
91
+ width: 100%;
92
+ height: 100%;
93
+ border-radius: 50%;
94
+ background-color: currentColor;
95
+ }
96
+
97
+ & .${db.childLeaving} {
98
+ opacity: 0;
99
+ animation-name: ${fb};
100
+ animation-duration: ${550}ms;
101
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
102
+ }
103
+
104
+ & .${db.childPulsate} {
105
+ position: absolute;
106
+ /* @noflip */
107
+ left: 0px;
108
+ top: 0;
109
+ animation-name: ${mb};
110
+ animation-duration: 2500ms;
111
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
112
+ animation-iteration-count: infinite;
113
+ animation-delay: 200ms;
114
+ }
115
+ `,yb=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:a={},className:s,...l}=n,[c,p]=r.useState([]),d=r.useRef(0),u=r.useRef(null);r.useEffect(()=>{u.current&&(u.current(),u.current=null)},[c]);const f=r.useRef(!1),m=Cy(),h=r.useRef(null),g=r.useRef(null),y=r.useCallback(t=>{const{pulsate:o,rippleX:n,rippleY:r,rippleSize:i,cb:s}=t;p(t=>[...t,e(gb,{classes:{ripple:Yf(a.ripple,db.ripple),rippleVisible:Yf(a.rippleVisible,db.rippleVisible),ripplePulsate:Yf(a.ripplePulsate,db.ripplePulsate),child:Yf(a.child,db.child),childLeaving:Yf(a.childLeaving,db.childLeaving),childPulsate:Yf(a.childPulsate,db.childPulsate)},timeout:550,pulsate:o,rippleX:n,rippleY:r,rippleSize:i},d.current)]),d.current+=1,u.current=s},[a]),b=r.useCallback((e={},t={},o=()=>{})=>{const{pulsate:n=!1,center:r=i||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===e?.type&&f.current)return void(f.current=!1);"touchstart"===e?.type&&(f.current=!0);const s=a?null:g.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,p,d;if(r||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),p=Math.round(l.height/2);else{const{clientX:t,clientY:o}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),p=Math.round(o-l.top)}if(r)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-p),p)+2;d=Math.sqrt(e**2+t**2)}e?.touches?null===h.current&&(h.current=()=>{y({pulsate:n,rippleX:c,rippleY:p,rippleSize:d,cb:o})},m.start(80,()=>{h.current&&(h.current(),h.current=null)})):y({pulsate:n,rippleX:c,rippleY:p,rippleSize:d,cb:o})},[i,y,m]),v=r.useCallback(()=>{b({},{pulsate:!0})},[b]),x=r.useCallback((e,t)=>{if(m.clear(),"touchend"===e?.type&&h.current)return h.current(),h.current=null,void m.start(0,()=>{x(e,t)});h.current=null,p(e=>e.length>0?e.slice(1):e),u.current=t},[m]);return r.useImperativeHandle(o,()=>({pulsate:v,start:b,stop:x}),[v,b,x]),e(hb,{className:Yf(db.root,a.root,s),ref:g,...l,children:e(my,{component:null,exit:!0,children:c})})});function bb(e){return Qf("MuiButtonBase",e)}"production"!==process.env.NODE_ENV&&(yb.propTypes={center:qp.bool,classes:qp.object,className:qp.string});const vb=em("MuiButtonBase",["root","disabled","focusVisible"]),xb=Cg("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"},[`&.${vb.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),wb=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiButtonBase"}),{action:a,centerRipple:s=!1,children:l,className:c,component:p="button",disabled:d=!1,disableRipple:u=!1,disableTouchRipple:f=!1,focusRipple:m=!1,focusVisibleClassName:h,LinkComponent:g="a",onBlur:y,onClick:b,onContextMenu:v,onDragLeave:x,onFocus:w,onFocusVisible:S,onKeyDown:T,onKeyUp:O,onMouseDown:C,onMouseLeave:k,onMouseUp:E,onTouchEnd:P,onTouchMove:N,onTouchStart:R,tabIndex:M=0,TouchRippleProps:$,touchRippleRef:j,type:I,...A}=i,L=r.useRef(null),B=cb.use(),D=Wg(B.ref,j),[z,V]=r.useState(!1);d&&z&&V(!1),r.useImperativeHandle(a,()=>({focusVisible:()=>{V(!0),L.current.focus()}}),[]);const F=B.shouldMount&&!u&&!d;r.useEffect(()=>{z&&m&&!u&&B.pulsate()},[u,m,z,B]);const W=Sb(B,"start",C,f),_=Sb(B,"stop",v,f),H=Sb(B,"stop",x,f),q=Sb(B,"stop",E,f),U=Sb(B,"stop",e=>{z&&e.preventDefault(),k&&k(e)},f),G=Sb(B,"start",R,f),K=Sb(B,"stop",P,f),X=Sb(B,"stop",N,f),Y=Sb(B,"stop",e=>{lb(e.target)||V(!1),y&&y(e)},!1),Z=Fg(e=>{L.current||(L.current=e.currentTarget),lb(e.target)&&(V(!0),S&&S(e)),w&&w(e)}),J=()=>{const e=L.current;return p&&"button"!==p&&!("A"===e.tagName&&e.href)},Q=Fg(e=>{m&&!e.repeat&&z&&" "===e.key&&B.stop(e,()=>{B.start(e)}),e.target===e.currentTarget&&J()&&" "===e.key&&e.preventDefault(),T&&T(e),e.target===e.currentTarget&&J()&&"Enter"===e.key&&!d&&(e.preventDefault(),b&&b(e))}),ee=Fg(e=>{m&&" "===e.key&&z&&!e.defaultPrevented&&B.stop(e,()=>{B.pulsate(e)}),O&&O(e),b&&e.target===e.currentTarget&&J()&&" "===e.key&&!e.defaultPrevented&&b(e)});let te=p;"button"===te&&(A.href||A.to)&&(te=g);const oe={};if("button"===te){const e=!!A.formAction;oe.type=void 0!==I||e?I:"button",oe.disabled=d}else A.href||A.to||(oe.role="button"),d&&(oe["aria-disabled"]=d);const ne=Wg(n,L),re={...i,centerRipple:s,component:p,disabled:d,disableRipple:u,disableTouchRipple:f,focusRipple:m,tabIndex:M,focusVisible:z},ie=(e=>{const{disabled:t,focusVisible:o,focusVisibleClassName:n,classes:r}=e,i=nh({root:["root",t&&"disabled",o&&"focusVisible"]},bb,r);return o&&n&&(i.root+=` ${n}`),i})(re);return t(xb,{as:te,className:Yf(ie.root,c),ownerState:re,onBlur:Y,onClick:b,onContextMenu:_,onFocus:Z,onKeyDown:Q,onKeyUp:ee,onMouseDown:W,onMouseLeave:U,onMouseUp:q,onDragLeave:H,onTouchEnd:K,onTouchMove:X,onTouchStart:G,ref:ne,tabIndex:d?-1:M,type:I,...oe,...A,children:[l,F?e(yb,{ref:D,center:s,...$}):null]})});function Sb(e,t,o,n=!1){return Fg(r=>(o&&o(r),n||e[t](r),!0))}function Tb(e){return Qf("MuiAccordionSummary",e)}"production"!==process.env.NODE_ENV&&(wb.propTypes={action:sb,centerRipple:qp.bool,children:qp.node,classes:qp.object,className:qp.string,component:ky,disabled:qp.bool,disableRipple:qp.bool,disableTouchRipple:qp.bool,focusRipple:qp.bool,focusVisibleClassName:qp.string,formAction:qp.oneOfType([qp.func,qp.string]),href:qp.any,LinkComponent:qp.elementType,onBlur:qp.func,onClick:qp.func,onContextMenu:qp.func,onDragLeave:qp.func,onFocus:qp.func,onFocusVisible:qp.func,onKeyDown:qp.func,onKeyUp:qp.func,onMouseDown:qp.func,onMouseLeave:qp.func,onMouseUp:qp.func,onTouchEnd:qp.func,onTouchMove:qp.func,onTouchStart:qp.func,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),tabIndex:qp.number,TouchRippleProps:qp.object,touchRippleRef:qp.oneOfType([qp.func,qp.shape({current:qp.shape({pulsate:qp.func.isRequired,start:qp.func.isRequired,stop:qp.func.isRequired})})]),type:qp.oneOfType([qp.oneOf(["button","reset","submit"]),qp.string])});const Ob=em("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),Cb=Cg(wb,{name:"MuiAccordionSummary",slot:"Root"})(Pg(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{display:"flex",width:"100%",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${Ob.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ob.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${Ob.disabled})`]:{cursor:"pointer"},variants:[{props:e=>!e.disableGutters,style:{[`&.${Ob.expanded}`]:{minHeight:64}}}]}})),kb=Cg("span",{name:"MuiAccordionSummary",slot:"Content"})(Pg(({theme:e})=>({display:"flex",textAlign:"start",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${Ob.expanded}`]:{margin:"20px 0"}}}]}))),Eb=Cg("span",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper"})(Pg(({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${Ob.expanded}`]:{transform:"rotate(180deg)"}}))),Pb=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiAccordionSummary"}),{children:a,className:s,expandIcon:l,focusVisibleClassName:c,onClick:p,slots:d,slotProps:u,...f}=i,{disabled:m=!1,disableGutters:h,expanded:g,toggle:y}=r.useContext(Ky),b={...i,expanded:g,disabled:m,disableGutters:h},v=(e=>{const{classes:t,expanded:o,disabled:n,disableGutters:r}=e;return nh({root:["root",o&&"expanded",n&&"disabled",!r&&"gutters"],focusVisible:["focusVisible"],content:["content",o&&"expanded",!r&&"contentGutters"],expandIconWrapper:["expandIconWrapper",o&&"expanded"]},Tb,t)})(b),x={slots:d,slotProps:u},[w,S]=Ay("root",{ref:n,shouldForwardComponentProp:!0,className:Yf(v.root,s),elementType:Cb,externalForwardedProps:{...x,...f},ownerState:b,additionalProps:{focusRipple:!1,disableRipple:!0,disabled:m,"aria-expanded":g,focusVisibleClassName:Yf(v.focusVisible,c)},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),(e=>{y&&y(e),p&&p(e)})(t)}})}),[T,O]=Ay("content",{className:v.content,elementType:kb,externalForwardedProps:x,ownerState:b}),[C,k]=Ay("expandIconWrapper",{className:v.expandIconWrapper,elementType:Eb,externalForwardedProps:x,ownerState:b});return t(w,{...S,children:[e(T,{...O,children:a}),l&&e(C,{...k,children:l})]})});function Nb(e=[]){return([,t])=>t&&function(e,t=[]){if(!function(e){return"string"==typeof e.main}(e))return!1;for(const o of t)if(!e.hasOwnProperty(o)||"string"!=typeof e[o])return!1;return!0}(t,e)}function Rb(e){return Qf("MuiAlert",e)}"production"!==process.env.NODE_ENV&&(Pb.propTypes={children:qp.node,classes:qp.object,className:qp.string,expandIcon:qp.node,focusVisibleClassName:qp.string,onClick:qp.func,slotProps:qp.shape({content:qp.oneOfType([qp.func,qp.object]),expandIconWrapper:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({content:qp.elementType,expandIconWrapper:qp.elementType,root:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const Mb=em("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function $b(e){return Qf("MuiCircularProgress",e)}em("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const jb=44,Ib=Bp`
116
+ 0% {
117
+ transform: rotate(0deg);
118
+ }
119
+
120
+ 100% {
121
+ transform: rotate(360deg);
122
+ }
123
+ `,Ab=Bp`
124
+ 0% {
125
+ stroke-dasharray: 1px, 200px;
126
+ stroke-dashoffset: 0;
127
+ }
128
+
129
+ 50% {
130
+ stroke-dasharray: 100px, 200px;
131
+ stroke-dashoffset: -15px;
132
+ }
133
+
134
+ 100% {
135
+ stroke-dasharray: 1px, 200px;
136
+ stroke-dashoffset: -126px;
137
+ }
138
+ `,Lb="string"!=typeof Ib?Lp`
139
+ animation: ${Ib} 1.4s linear infinite;
140
+ `:null,Bb="string"!=typeof Ab?Lp`
141
+ animation: ${Ab} 1.4s ease-in-out infinite;
142
+ `:null,Db=Cg("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`color${Cu(o.color)}`]]}})(Pg(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:Lb||{animation:`${Ib} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Nb()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),zb=Cg("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),Vb=Cg("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.circle,t[`circle${Cu(o.variant)}`],o.disableShrink&&t.circleDisableShrink]}})(Pg(({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:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:Bb||{animation:`${Ab} 1.4s ease-in-out infinite`}}]}))),Fb=Cg("circle",{name:"MuiCircularProgress",slot:"Track"})(Pg(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),Wb=r.forwardRef(function(o,n){const r=Ng({props:o,name:"MuiCircularProgress"}),{className:i,color:a="primary",disableShrink:s=!1,enableTrackSlot:l=!1,size:c=40,style:p,thickness:d=3.6,value:u=0,variant:f="indeterminate",...m}=r,h={...r,color:a,disableShrink:s,size:c,thickness:d,value:u,variant:f,enableTrackSlot:l},g=(e=>{const{classes:t,variant:o,color:n,disableShrink:r}=e;return nh({root:["root",o,`color${Cu(n)}`],svg:["svg"],track:["track"],circle:["circle",`circle${Cu(o)}`,r&&"circleDisableShrink"]},$b,t)})(h),y={},b={},v={};if("determinate"===f){const e=2*Math.PI*((jb-d)/2);y.strokeDasharray=e.toFixed(3),v["aria-valuenow"]=Math.round(u),y.strokeDashoffset=`${((100-u)/100*e).toFixed(3)}px`,b.transform="rotate(-90deg)"}return e(Db,{className:Yf(g.root,i),style:{width:c,height:c,...b,...p},ownerState:h,ref:n,role:"progressbar",...v,...m,children:t(zb,{className:g.svg,ownerState:h,viewBox:"22 22 44 44",children:[l?e(Fb,{className:g.track,ownerState:h,cx:jb,cy:jb,r:(jb-d)/2,fill:"none",strokeWidth:d,"aria-hidden":"true"}):null,e(Vb,{className:g.circle,style:y,ownerState:h,cx:jb,cy:jb,r:(jb-d)/2,fill:"none",strokeWidth:d})]})})});function _b(e){return Qf("MuiIconButton",e)}"production"!==process.env.NODE_ENV&&(Wb.propTypes={classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["inherit","primary","secondary","error","info","success","warning"]),qp.string]),disableShrink:Hg(qp.bool,e=>e.disableShrink&&e.variant&&"indeterminate"!==e.variant?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),enableTrackSlot:qp.bool,size:qp.oneOfType([qp.number,qp.string]),style:qp.object,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),thickness:qp.number,value:qp.number,variant:qp.oneOf(["determinate","indeterminate"])});const Hb=em("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),qb=Cg(wb,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.loading&&t.loading,"default"!==o.color&&t[`color${Cu(o.color)}`],o.edge&&t[`edge${Cu(o.edge)}`],t[`size${Cu(o.size)}`]]}})(Pg(({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:e=>!e.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}}]})),Pg(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Nb()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Nb()).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)}}],[`&.${Hb.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${Hb.loading}`]:{color:"transparent"}}))),Ub=Cg("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"}}]})),Gb=r.forwardRef(function(o,n){const r=Ng({props:o,name:"MuiIconButton"}),{edge:i=!1,children:a,className:s,color:l="default",disabled:c=!1,disableFocusRipple:p=!1,size:d="medium",id:u,loading:f=null,loadingIndicator:m,...h}=r,g=Gm(u),y=m??e(Wb,{"aria-labelledby":g,color:"inherit",size:16}),b={...r,edge:i,color:l,disabled:c,disableFocusRipple:p,loading:f,loadingIndicator:y,size:d},v=(e=>{const{classes:t,disabled:o,color:n,edge:r,size:i,loading:a}=e;return nh({root:["root",a&&"loading",o&&"disabled","default"!==n&&`color${Cu(n)}`,r&&`edge${Cu(r)}`,`size${Cu(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},_b,t)})(b);return t(qb,{id:f?g:u,className:Yf(v.root,s),centerRipple:!0,focusRipple:!p,disabled:c||f,ref:n,...h,ownerState:b,children:["boolean"==typeof f&&e("span",{className:v.loadingWrapper,style:{display:"contents"},children:e(Ub,{className:v.loadingIndicator,ownerState:b,children:f&&y})}),a]})});"production"!==process.env.NODE_ENV&&(Gb.propTypes={children:Hg(qp.node,e=>r.Children.toArray(e.children).some(e=>r.isValidElement(e)&&e.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("\n")):null),classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),qp.string]),disabled:qp.bool,disableFocusRipple:qp.bool,disableRipple:qp.bool,edge:qp.oneOf(["end","start",!1]),id:qp.string,loading:qp.bool,loadingIndicator:qp.node,size:qp.oneOfType([qp.oneOf(["small","medium","large"]),qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});var Kb=jg(e("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"),Xb=jg(e("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Yb=jg(e("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"),Zb=jg(e("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"),Jb=jg(e("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");const Qb=Cg(Gy,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`${o.variant}${Cu(o.color||o.severity)}`]]}})(Pg(({theme:e})=>{const t="light"===e.palette.mode?e.darken:e.lighten,o="light"===e.palette.mode?e.lighten:e.darken;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(Nb(["light"])).map(([n])=>({props:{colorSeverity:n,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${n}StandardBg`]:o(e.palette[n].light,.9),[`& .${Mb.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(Nb(["light"])).map(([o])=>({props:{colorSeverity:o,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${o}Color`]:t(e.palette[o].light,.6),border:`1px solid ${(e.vars||e).palette[o].light}`,[`& .${Mb.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:e.palette[o].main}}})),...Object.entries(e.palette).filter(Nb(["dark"])).map(([t])=>({props:{colorSeverity:t,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${t}FilledColor`],backgroundColor:e.vars.palette.Alert[`${t}FilledBg`]}:{backgroundColor:"dark"===e.palette.mode?e.palette[t].dark:e.palette[t].main,color:e.palette.getContrastText(e.palette[t].main)}}}))]}})),ev=Cg("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),tv=Cg("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),ov=Cg("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),nv={success:e(Kb,{fontSize:"inherit"}),warning:e(Xb,{fontSize:"inherit"}),error:e(Yb,{fontSize:"inherit"}),info:e(Zb,{fontSize:"inherit"})},rv=r.forwardRef(function(o,n){const r=Ng({props:o,name:"MuiAlert"}),{action:i,children:a,className:s,closeText:l="Close",color:c,components:p={},componentsProps:d={},icon:u,iconMapping:f=nv,onClose:m,role:h="alert",severity:g="success",slotProps:y={},slots:b={},variant:v="standard",...x}=r,w={...r,color:c,severity:g,variant:v,colorSeverity:c||g},S=(e=>{const{variant:t,color:o,severity:n,classes:r}=e;return nh({root:["root",`color${Cu(o||n)}`,`${t}${Cu(o||n)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]},Rb,r)})(w),T={slots:{closeButton:p.CloseButton,closeIcon:p.CloseIcon,...b},slotProps:{...d,...y}},[O,C]=Ay("root",{ref:n,shouldForwardComponentProp:!0,className:Yf(S.root,s),elementType:Qb,externalForwardedProps:{...T,...x},ownerState:w,additionalProps:{role:h,elevation:0}}),[k,E]=Ay("icon",{className:S.icon,elementType:ev,externalForwardedProps:T,ownerState:w}),[P,N]=Ay("message",{className:S.message,elementType:tv,externalForwardedProps:T,ownerState:w}),[R,M]=Ay("action",{className:S.action,elementType:ov,externalForwardedProps:T,ownerState:w}),[$,j]=Ay("closeButton",{elementType:Gb,externalForwardedProps:T,ownerState:w}),[I,A]=Ay("closeIcon",{elementType:Jb,externalForwardedProps:T,ownerState:w});return t(O,{...C,children:[!1!==u?e(k,{...E,children:u||f[g]}):null,e(P,{...N,children:a}),null!=i?e(R,{...M,children:i}):null,null==i&&m?e(R,{...M,children:e($,{size:"small","aria-label":l,title:l,color:"inherit",onClick:m,...j,children:e(I,{fontSize:"small",...A})})}):null]})});function iv(e){return Qf("MuiTypography",e)}"production"!==process.env.NODE_ENV&&(rv.propTypes={action:qp.node,children:qp.node,classes:qp.object,className:qp.string,closeText:qp.string,color:qp.oneOfType([qp.oneOf(["error","info","success","warning"]),qp.string]),components:qp.shape({CloseButton:qp.elementType,CloseIcon:qp.elementType}),componentsProps:qp.shape({closeButton:qp.object,closeIcon:qp.object}),icon:qp.node,iconMapping:qp.shape({error:qp.node,info:qp.node,success:qp.node,warning:qp.node}),onClose:qp.func,role:qp.string,severity:qp.oneOfType([qp.oneOf(["error","info","success","warning"]),qp.string]),slotProps:qp.shape({action:qp.oneOfType([qp.func,qp.object]),closeButton:qp.oneOfType([qp.func,qp.object]),closeIcon:qp.oneOfType([qp.func,qp.object]),icon:qp.oneOfType([qp.func,qp.object]),message:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({action:qp.elementType,closeButton:qp.elementType,closeIcon:qp.elementType,icon:qp.elementType,message:qp.elementType,root:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),variant:qp.oneOfType([qp.oneOf(["filled","outlined","standard"]),qp.string])});const av=em("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),sv={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},lv=Hf,cv=Cg("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.variant&&t[o.variant],"inherit"!==o.align&&t[`align${Cu(o.align)}`],o.noWrap&&t.noWrap,o.gutterBottom&&t.gutterBottom,o.paragraph&&t.paragraph]}})(Pg(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([e,t])=>"inherit"!==e&&t&&"object"==typeof t).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter(Nb()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>"string"==typeof e).map(([t])=>({props:{color:`text${Cu(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>"inherit"!==e.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),pv={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},dv=r.forwardRef(function(t,o){const{color:n,...r}=Ng({props:t,name:"MuiTypography"}),i=lv({...r,...!sv[n]&&{color:n}}),{align:a="inherit",className:s,component:l,gutterBottom:c=!1,noWrap:p=!1,paragraph:d=!1,variant:u="body1",variantMapping:f=pv,...m}=i,h={...i,align:a,color:n,className:s,component:l,gutterBottom:c,noWrap:p,paragraph:d,variant:u,variantMapping:f},g=l||(d?"p":f[u]||pv[u])||"span",y=(e=>{const{align:t,gutterBottom:o,noWrap:n,paragraph:r,variant:i,classes:a}=e;return nh({root:["root",i,"inherit"!==e.align&&`align${Cu(t)}`,o&&"gutterBottom",n&&"noWrap",r&&"paragraph"]},iv,a)})(h);return e(cv,{as:g,ref:o,className:Yf(y.root,s),...m,ownerState:h,style:{..."inherit"!==a&&{"--Typography-textAlign":a},...m.style}})});function uv(e){return Qf("MuiAlertTitle",e)}"production"!==process.env.NODE_ENV&&(dv.propTypes={align:qp.oneOf(["center","inherit","justify","left","right"]),children:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),qp.string]),component:qp.elementType,gutterBottom:qp.bool,noWrap:qp.bool,paragraph:qp.bool,style:qp.object,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),variant:qp.oneOfType([qp.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),qp.string]),variantMapping:qp.object}),em("MuiAlertTitle",["root"]);const fv=Cg(dv,{name:"MuiAlertTitle",slot:"Root"})(Pg(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),mv=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiAlertTitle"}),{className:r,...i}=n,a=n,s=(e=>{const{classes:t}=e;return nh({root:["root"]},uv,t)})(a);return e(fv,{gutterBottom:!0,component:"div",ownerState:a,ref:o,className:Yf(s.root,r),...i})});function hv(e){return Qf("MuiAppBar",e)}"production"!==process.env.NODE_ENV&&(mv.propTypes={children:qp.node,classes:qp.object,className:qp.string,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const gv=(e,t)=>e?`${e?.replace(")","")}, ${t})`:t,yv=Cg(Gy,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`position${Cu(o.position)}`],t[`color${Cu(o.color)}`]]}})(Pg(({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(Nb(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:e=>!0===e.enableColorOnDark&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:e=>!1===e.enableColorOnDark&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?gv(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?gv(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"})}}]}))),bv=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiAppBar"}),{className:r,color:i="primary",enableColorOnDark:a=!1,position:s="fixed",...l}=n,c={...n,color:i,position:s,enableColorOnDark:a},p=(e=>{const{color:t,position:o,classes:n}=e;return nh({root:["root",`color${Cu(t)}`,`position${Cu(o)}`]},hv,n)})(c);return e(yv,{square:!0,component:"header",ownerState:c,elevation:4,className:Yf(p.root,r,"fixed"===s&&"mui-fixed"),ref:o,...l})});function vv(e){const t=r.useRef({});return r.useEffect(()=>{t.current=e}),t.current}function xv({array1:e,array2:t,parser:o=e=>e}){return e&&t&&e.length===t.length&&e.every((e,n)=>o(e)===o(t[n]))}function wv(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}"production"!==process.env.NODE_ENV&&(bv.propTypes={children:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["default","inherit","primary","secondary","transparent","error","info","success","warning"]),qp.string]),elevation:qp.number,enableColorOnDark:qp.bool,position:qp.oneOf(["absolute","fixed","relative","static","sticky"]),square:qp.bool,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const Sv=function(e={}){const{ignoreAccents:t=!0,ignoreCase:o=!0,limit:n,matchFrom:r="any",stringify:i,trim:a=!1}=e;return(e,{inputValue:s,getOptionLabel:l})=>{let c=a?s.trim():s;o&&(c=c.toLowerCase()),t&&(c=wv(c));const p=c?e.filter(e=>{let n=(i||l)(e);return o&&(n=n.toLowerCase()),t&&(n=wv(n)),"start"===r?n.startsWith(c):n.includes(c)}):e;return"number"==typeof n?p.slice(0,n):p}}(),Tv=e=>null!==e.current&&e.current.parentElement?.contains(document.activeElement),Ov=[];function Cv(e,t,o,n){if(t||null==e||n)return"";const r=o(e);return"string"==typeof r?r:""}function kv(e,t,o,n,r){if("production"===process.env.NODE_ENV)return null;const i=e[t],a=r||t;return null==i?null:i&&1!==i.nodeType?new Error(`Invalid ${n} \`${a}\` supplied to \`${o}\`. Expected an HTMLElement.`):null}var Ev="top",Pv="bottom",Nv="right",Rv="left",Mv="auto",$v=[Ev,Pv,Nv,Rv],jv="start",Iv="end",Av="viewport",Lv="popper",Bv=$v.reduce(function(e,t){return e.concat([t+"-"+jv,t+"-"+Iv])},[]),Dv=[].concat($v,[Mv]).reduce(function(e,t){return e.concat([t,t+"-"+jv,t+"-"+Iv])},[]),zv=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Vv(e){return e?(e.nodeName||"").toLowerCase():null}function Fv(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Wv(e){return e instanceof Fv(e).Element||e instanceof Element}function _v(e){return e instanceof Fv(e).HTMLElement||e instanceof HTMLElement}function Hv(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Fv(e).ShadowRoot||e instanceof ShadowRoot)}var qv={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var o=t.styles[e]||{},n=t.attributes[e]||{},r=t.elements[e];_v(r)&&Vv(r)&&(Object.assign(r.style,o),Object.keys(n).forEach(function(e){var t=n[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach(function(e){var n=t.elements[e],r=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:o[e]).reduce(function(e,t){return e[t]="",e},{});_v(n)&&Vv(n)&&(Object.assign(n.style,i),Object.keys(r).forEach(function(e){n.removeAttribute(e)}))})}},requires:["computeStyles"]};function Uv(e){return e.split("-")[0]}var Gv=Math.max,Kv=Math.min,Xv=Math.round;function Yv(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Zv(){return!/^((?!chrome|android).)*safari/i.test(Yv())}function Jv(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=!1);var n=e.getBoundingClientRect(),r=1,i=1;t&&_v(e)&&(r=e.offsetWidth>0&&Xv(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Xv(n.height)/e.offsetHeight||1);var a=(Wv(e)?Fv(e):window).visualViewport,s=!Zv()&&o,l=(n.left+(s&&a?a.offsetLeft:0))/r,c=(n.top+(s&&a?a.offsetTop:0))/i,p=n.width/r,d=n.height/i;return{width:p,height:d,top:c,right:l+p,bottom:c+d,left:l,x:l,y:c}}function Qv(e){var t=Jv(e),o=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:n}}function ex(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&Hv(o)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function tx(e){return Fv(e).getComputedStyle(e)}function ox(e){return["table","td","th"].indexOf(Vv(e))>=0}function nx(e){return((Wv(e)?e.ownerDocument:e.document)||window.document).documentElement}function rx(e){return"html"===Vv(e)?e:e.assignedSlot||e.parentNode||(Hv(e)?e.host:null)||nx(e)}function ix(e){return _v(e)&&"fixed"!==tx(e).position?e.offsetParent:null}function ax(e){for(var t=Fv(e),o=ix(e);o&&ox(o)&&"static"===tx(o).position;)o=ix(o);return o&&("html"===Vv(o)||"body"===Vv(o)&&"static"===tx(o).position)?t:o||function(e){var t=/firefox/i.test(Yv());if(/Trident/i.test(Yv())&&_v(e)&&"fixed"===tx(e).position)return null;var o=rx(e);for(Hv(o)&&(o=o.host);_v(o)&&["html","body"].indexOf(Vv(o))<0;){var n=tx(o);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return o;o=o.parentNode}return null}(e)||t}function sx(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function lx(e,t,o){return Gv(e,Kv(t,o))}function cx(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function px(e,t){return t.reduce(function(t,o){return t[o]=e,t},{})}var dx={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,o=e.state,n=e.name,r=e.options,i=o.elements.arrow,a=o.modifiersData.popperOffsets,s=Uv(o.placement),l=sx(s),c=[Rv,Nv].indexOf(s)>=0?"height":"width";if(i&&a){var p=function(e,t){return cx("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:px(e,$v))}(r.padding,o),d=Qv(i),u="y"===l?Ev:Rv,f="y"===l?Pv:Nv,m=o.rects.reference[c]+o.rects.reference[l]-a[l]-o.rects.popper[c],h=a[l]-o.rects.reference[l],g=ax(i),y=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=m/2-h/2,v=p[u],x=y-d[c]-p[f],w=y/2-d[c]/2+b,S=lx(v,w,x),T=l;o.modifiersData[n]=((t={})[T]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,o=e.options.element,n=void 0===o?"[data-popper-arrow]":o;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&ex(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ux(e){return e.split("-")[1]}var fx={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mx(e){var t,o=e.popper,n=e.popperRect,r=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,p=e.roundOffsets,d=e.isFixed,u=a.x,f=void 0===u?0:u,m=a.y,h=void 0===m?0:m,g="function"==typeof p?p({x:f,y:h}):{x:f,y:h};f=g.x,h=g.y;var y=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),v=Rv,x=Ev,w=window;if(c){var S=ax(o),T="clientHeight",O="clientWidth";S===Fv(o)&&"static"!==tx(S=nx(o)).position&&"absolute"===s&&(T="scrollHeight",O="scrollWidth"),(r===Ev||(r===Rv||r===Nv)&&i===Iv)&&(x=Pv,h-=(d&&S===w&&w.visualViewport?w.visualViewport.height:S[T])-n.height,h*=l?1:-1),r!==Rv&&(r!==Ev&&r!==Pv||i!==Iv)||(v=Nv,f-=(d&&S===w&&w.visualViewport?w.visualViewport.width:S[O])-n.width,f*=l?1:-1)}var C,k=Object.assign({position:s},c&&fx),E=!0===p?function(e,t){var o=e.x,n=e.y,r=t.devicePixelRatio||1;return{x:Xv(o*r)/r||0,y:Xv(n*r)/r||0}}({x:f,y:h},Fv(o)):{x:f,y:h};return f=E.x,h=E.y,l?Object.assign({},k,((C={})[x]=b?"0":"",C[v]=y?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+h+"px)":"translate3d("+f+"px, "+h+"px, 0)",C)):Object.assign({},k,((t={})[x]=b?h+"px":"",t[v]=y?f+"px":"",t.transform="",t))}var hx={passive:!0},gx={left:"right",right:"left",bottom:"top",top:"bottom"};function yx(e){return e.replace(/left|right|bottom|top/g,function(e){return gx[e]})}var bx={start:"end",end:"start"};function vx(e){return e.replace(/start|end/g,function(e){return bx[e]})}function xx(e){var t=Fv(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function wx(e){return Jv(nx(e)).left+xx(e).scrollLeft}function Sx(e){var t=tx(e),o=t.overflow,n=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+r+n)}function Tx(e){return["html","body","#document"].indexOf(Vv(e))>=0?e.ownerDocument.body:_v(e)&&Sx(e)?e:Tx(rx(e))}function Ox(e,t){var o;void 0===t&&(t=[]);var n=Tx(e),r=n===(null==(o=e.ownerDocument)?void 0:o.body),i=Fv(n),a=r?[i].concat(i.visualViewport||[],Sx(n)?n:[]):n,s=t.concat(a);return r?s:s.concat(Ox(rx(a)))}function Cx(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function kx(e,t,o){return t===Av?Cx(function(e,t){var o=Fv(e),n=nx(e),r=o.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(r){i=r.width,a=r.height;var c=Zv();(c||!c&&"fixed"===t)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:i,height:a,x:s+wx(e),y:l}}(e,o)):Wv(t)?function(e,t){var o=Jv(e,!1,"fixed"===t);return o.top=o.top+e.clientTop,o.left=o.left+e.clientLeft,o.bottom=o.top+e.clientHeight,o.right=o.left+e.clientWidth,o.width=e.clientWidth,o.height=e.clientHeight,o.x=o.left,o.y=o.top,o}(t,o):Cx(function(e){var t,o=nx(e),n=xx(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=Gv(o.scrollWidth,o.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Gv(o.scrollHeight,o.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-n.scrollLeft+wx(e),l=-n.scrollTop;return"rtl"===tx(r||o).direction&&(s+=Gv(o.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(nx(e)))}function Ex(e){var t,o=e.reference,n=e.element,r=e.placement,i=r?Uv(r):null,a=r?ux(r):null,s=o.x+o.width/2-n.width/2,l=o.y+o.height/2-n.height/2;switch(i){case Ev:t={x:s,y:o.y-n.height};break;case Pv:t={x:s,y:o.y+o.height};break;case Nv:t={x:o.x+o.width,y:l};break;case Rv:t={x:o.x-n.width,y:l};break;default:t={x:o.x,y:o.y}}var c=i?sx(i):null;if(null!=c){var p="y"===c?"height":"width";switch(a){case jv:t[c]=t[c]-(o[p]/2-n[p]/2);break;case Iv:t[c]=t[c]+(o[p]/2-n[p]/2)}}return t}function Px(e,t){void 0===t&&(t={});var o=t,n=o.placement,r=void 0===n?e.placement:n,i=o.strategy,a=void 0===i?e.strategy:i,s=o.boundary,l=void 0===s?"clippingParents":s,c=o.rootBoundary,p=void 0===c?Av:c,d=o.elementContext,u=void 0===d?Lv:d,f=o.altBoundary,m=void 0!==f&&f,h=o.padding,g=void 0===h?0:h,y=cx("number"!=typeof g?g:px(g,$v)),b=u===Lv?"reference":Lv,v=e.rects.popper,x=e.elements[m?b:u],w=function(e,t,o,n){var r="clippingParents"===t?function(e){var t=Ox(rx(e)),o=["absolute","fixed"].indexOf(tx(e).position)>=0&&_v(e)?ax(e):e;return Wv(o)?t.filter(function(e){return Wv(e)&&ex(e,o)&&"body"!==Vv(e)}):[]}(e):[].concat(t),i=[].concat(r,[o]),a=i[0],s=i.reduce(function(t,o){var r=kx(e,o,n);return t.top=Gv(r.top,t.top),t.right=Kv(r.right,t.right),t.bottom=Kv(r.bottom,t.bottom),t.left=Gv(r.left,t.left),t},kx(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(Wv(x)?x:x.contextElement||nx(e.elements.popper),l,p,a),S=Jv(e.elements.reference),T=Ex({reference:S,element:v,strategy:"absolute",placement:r}),O=Cx(Object.assign({},v,T)),C=u===Lv?O:S,k={top:w.top-C.top+y.top,bottom:C.bottom-w.bottom+y.bottom,left:w.left-C.left+y.left,right:C.right-w.right+y.right},E=e.modifiersData.offset;if(u===Lv&&E){var P=E[r];Object.keys(k).forEach(function(e){var t=[Nv,Pv].indexOf(e)>=0?1:-1,o=[Ev,Pv].indexOf(e)>=0?"y":"x";k[e]+=P[o]*t})}return k}function Nx(e,t){void 0===t&&(t={});var o=t,n=o.placement,r=o.boundary,i=o.rootBoundary,a=o.padding,s=o.flipVariations,l=o.allowedAutoPlacements,c=void 0===l?Dv:l,p=ux(n),d=p?s?Bv:Bv.filter(function(e){return ux(e)===p}):$v,u=d.filter(function(e){return c.indexOf(e)>=0});0===u.length&&(u=d);var f=u.reduce(function(t,o){return t[o]=Px(e,{placement:o,boundary:r,rootBoundary:i,padding:a})[Uv(o)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}var Rx={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var r=o.mainAxis,i=void 0===r||r,a=o.altAxis,s=void 0===a||a,l=o.fallbackPlacements,c=o.padding,p=o.boundary,d=o.rootBoundary,u=o.altBoundary,f=o.flipVariations,m=void 0===f||f,h=o.allowedAutoPlacements,g=t.options.placement,y=Uv(g),b=l||(y!==g&&m?function(e){if(Uv(e)===Mv)return[];var t=yx(e);return[vx(e),t,vx(t)]}(g):[yx(g)]),v=[g].concat(b).reduce(function(e,o){return e.concat(Uv(o)===Mv?Nx(t,{placement:o,boundary:p,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:h}):o)},[]),x=t.rects.reference,w=t.rects.popper,S=new Map,T=!0,O=v[0],C=0;C<v.length;C++){var k=v[C],E=Uv(k),P=ux(k)===jv,N=[Ev,Pv].indexOf(E)>=0,R=N?"width":"height",M=Px(t,{placement:k,boundary:p,rootBoundary:d,altBoundary:u,padding:c}),$=N?P?Nv:Rv:P?Pv:Ev;x[R]>w[R]&&($=yx($));var j=yx($),I=[];if(i&&I.push(M[E]<=0),s&&I.push(M[$]<=0,M[j]<=0),I.every(function(e){return e})){O=k,T=!1;break}S.set(k,I)}if(T)for(var A=function(e){var t=v.find(function(t){var o=S.get(t);if(o)return o.slice(0,e).every(function(e){return e})});if(t)return O=t,"break"},L=m?3:1;L>0&&"break"!==A(L);L--);t.placement!==O&&(t.modifiersData[n]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Mx(e,t,o){return void 0===o&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function $x(e){return[Ev,Nv,Pv,Rv].some(function(t){return e[t]>=0})}var jx={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,o=e.options,n=e.name,r=o.offset,i=void 0===r?[0,0]:r,a=Dv.reduce(function(e,o){return e[o]=function(e,t,o){var n=Uv(e),r=[Rv,Ev].indexOf(n)>=0?-1:1,i="function"==typeof o?o(Object.assign({},t,{placement:e})):o,a=i[0],s=i[1];return a=a||0,s=(s||0)*r,[Rv,Nv].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}(o,t.rects,i),e},{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}},Ix={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,n=e.name,r=o.mainAxis,i=void 0===r||r,a=o.altAxis,s=void 0!==a&&a,l=o.boundary,c=o.rootBoundary,p=o.altBoundary,d=o.padding,u=o.tether,f=void 0===u||u,m=o.tetherOffset,h=void 0===m?0:m,g=Px(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:p}),y=Uv(t.placement),b=ux(t.placement),v=!b,x=sx(y),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,T=t.rects.reference,O=t.rects.popper,C="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,k="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(S){if(i){var N,R="y"===x?Ev:Rv,M="y"===x?Pv:Nv,$="y"===x?"height":"width",j=S[x],I=j+g[R],A=j-g[M],L=f?-O[$]/2:0,B=b===jv?T[$]:O[$],D=b===jv?-O[$]:-T[$],z=t.elements.arrow,V=f&&z?Qv(z):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=F[R],_=F[M],H=lx(0,T[$],V[$]),q=v?T[$]/2-L-H-W-k.mainAxis:B-H-W-k.mainAxis,U=v?-T[$]/2+L+H+_+k.mainAxis:D+H+_+k.mainAxis,G=t.elements.arrow&&ax(t.elements.arrow),K=G?"y"===x?G.clientTop||0:G.clientLeft||0:0,X=null!=(N=null==E?void 0:E[x])?N:0,Y=j+U-X,Z=lx(f?Kv(I,j+q-X-K):I,j,f?Gv(A,Y):A);S[x]=Z,P[x]=Z-j}if(s){var J,Q="x"===x?Ev:Rv,ee="x"===x?Pv:Nv,te=S[w],oe="y"===w?"height":"width",ne=te+g[Q],re=te-g[ee],ie=-1!==[Ev,Rv].indexOf(y),ae=null!=(J=null==E?void 0:E[w])?J:0,se=ie?ne:te-T[oe]-O[oe]-ae+k.altAxis,le=ie?te+T[oe]+O[oe]-ae-k.altAxis:re,ce=f&&ie?function(e,t,o){var n=lx(e,t,o);return n>o?o:n}(se,te,le):lx(f?se:ne,te,f?le:re);S[w]=ce,P[w]=ce-te}t.modifiersData[n]=P}},requiresIfExists:["offset"]};function Ax(e,t,o){void 0===o&&(o=!1);var n=_v(t),r=_v(t)&&function(e){var t=e.getBoundingClientRect(),o=Xv(t.width)/e.offsetWidth||1,n=Xv(t.height)/e.offsetHeight||1;return 1!==o||1!==n}(t),i=nx(t),a=Jv(e,r,o),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!o)&&(("body"!==Vv(t)||Sx(i))&&(s=function(e){return e!==Fv(e)&&_v(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:xx(e);var t}(t)),_v(t)?((l=Jv(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=wx(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Lx(e){var t=new Map,o=new Set,n=[];function r(e){o.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!o.has(e)){var n=t.get(e);n&&r(n)}}),n.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){o.has(e.name)||r(e)}),n}var Bx={placement:"bottom",modifiers:[],strategy:"absolute"};function Dx(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function zx(e){void 0===e&&(e={});var t=e,o=t.defaultModifiers,n=void 0===o?[]:o,r=t.defaultOptions,i=void 0===r?Bx:r;return function(e,t,o){void 0===o&&(o=i);var r,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Bx,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,p={state:s,setOptions:function(o){var r="function"==typeof o?o(s.options):o;d(),s.options=Object.assign({},i,s.options,r),s.scrollParents={reference:Wv(e)?Ox(e):e.contextElement?Ox(e.contextElement):[],popper:Ox(t)};var a,c,u=function(e){var t=Lx(e);return zv.reduce(function(e,o){return e.concat(t.filter(function(e){return e.phase===o}))},[])}((a=[].concat(n,s.options.modifiers),c=a.reduce(function(e,t){var o=e[t.name];return e[t.name]=o?Object.assign({},o,t,{options:Object.assign({},o.options,t.options),data:Object.assign({},o.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return s.orderedModifiers=u.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,o=e.options,n=void 0===o?{}:o,r=e.effect;if("function"==typeof r){var i=r({state:s,name:t,instance:p,options:n});l.push(i||function(){})}}),p.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,o=e.popper;if(Dx(t,o)){s.rects={reference:Ax(t,ax(o),"fixed"===s.options.strategy),popper:Qv(o)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var n=0;n<s.orderedModifiers.length;n++)if(!0!==s.reset){var r=s.orderedModifiers[n],i=r.fn,a=r.options,l=void 0===a?{}:a,d=r.name;"function"==typeof i&&(s=i({state:s,options:l,name:d,instance:p})||s)}else s.reset=!1,n=-1}}},update:(r=function(){return new Promise(function(e){p.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(r())})})),a}),destroy:function(){d(),c=!0}};if(!Dx(e,t))return p;function d(){l.forEach(function(e){return e()}),l=[]}return p.setOptions(o).then(function(e){!c&&o.onFirstUpdate&&o.onFirstUpdate(e)}),p}}var Vx=zx({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,o=e.instance,n=e.options,r=n.scroll,i=void 0===r||r,a=n.resize,s=void 0===a||a,l=Fv(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",o.update,hx)}),s&&l.addEventListener("resize",o.update,hx),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",o.update,hx)}),s&&l.removeEventListener("resize",o.update,hx)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,o=e.name;t.modifiersData[o]=Ex({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,o=e.options,n=o.gpuAcceleration,r=void 0===n||n,i=o.adaptive,a=void 0===i||i,s=o.roundOffsets,l=void 0===s||s,c={placement:Uv(t.placement),variation:ux(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,mx(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,mx(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},qv,jx,Rx,Ix,dx,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,o=e.name,n=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,a=Px(t,{elementContext:"reference"}),s=Px(t,{altBoundary:!0}),l=Mx(a,n),c=Mx(s,r,i),p=$x(l),d=$x(c);t.modifiersData[o]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":d})}}]});function Fx(e){const{elementType:t,externalSlotProps:o,ownerState:n,skipResolvingSlotProps:r=!1,...i}=e,a=r?{}:My(o,n),{props:s,internalRef:l}=Iy({...i,externalSlotProps:a});return Ry(t,{...s,ref:Wg(l,a?.ref,e.additionalProps?.ref)},n)}function Wx(e){return parseInt(r.version,10)>=19?e?.props?.ref||null:e?.ref||null}const _x=r.forwardRef(function(e,t){const{children:o,container:n,disablePortal:i=!1}=e,[a,s]=r.useState(null),l=Wg(r.isValidElement(o)?Wx(o):null,t);if(ym(()=>{i||s(function(e){return"function"==typeof e?e():e}(n)||document.body)},[n,i]),ym(()=>{if(a&&!i)return Dg(t,a),()=>{Dg(t,null)}},[t,a,i]),i){if(r.isValidElement(o)){const e={ref:l};return r.cloneElement(o,e)}return o}return a?_.createPortal(o,a):a});function Hx(e){return Qf("MuiPopper",e)}function qx(e){return"function"==typeof e?e():e}function Ux(e){return void 0!==e.nodeType}"production"!==process.env.NODE_ENV&&(_x.propTypes={children:qp.node,container:qp.oneOfType([kv,qp.func]),disablePortal:qp.bool}),"production"!==process.env.NODE_ENV&&(_x.propTypes=Am(_x.propTypes)),em("MuiPopper",["root"]);const Gx={},Kx=r.forwardRef(function(t,o){const{anchorEl:n,children:i,direction:a,disablePortal:s,modifiers:l,open:c,placement:p,popperOptions:d,popperRef:u,slotProps:f={},slots:m={},TransitionProps:h,ownerState:g,...y}=t,b=r.useRef(null),v=Wg(b,o),x=r.useRef(null),w=Wg(x,u),S=r.useRef(w);ym(()=>{S.current=w},[w]),r.useImperativeHandle(u,()=>x.current,[]);const T=function(e,t){if("ltr"===t)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}}(p,a),[O,C]=r.useState(T),[k,E]=r.useState(qx(n));r.useEffect(()=>{x.current&&x.current.forceUpdate()}),r.useEffect(()=>{n&&E(qx(n))},[n]),ym(()=>{if(!k||!c)return;if("production"!==process.env.NODE_ENV&&k&&Ux(k)&&1===k.nodeType){const e=k.getBoundingClientRect();"test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&e.bottom}let e=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{C(e.placement)}}];null!=l&&(e=e.concat(l)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));const t=Vx(k,b.current,{placement:T,...d,modifiers:e});return S.current(t),()=>{t.destroy(),S.current(null)}},[k,s,l,c,d,T]);const P={placement:O};null!==h&&(P.TransitionProps=h);const N=(e=>{const{classes:t}=e;return nh({root:["root"]},Hx,t)})(t),R=m.root??"div",M=Fx({elementType:R,externalSlotProps:f.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:v},ownerState:t,className:N.root});return e(R,{...M,children:"function"==typeof i?i(P):i})}),Xx=r.forwardRef(function(t,o){const{anchorEl:n,children:i,container:a,direction:s="ltr",disablePortal:l=!1,keepMounted:c=!1,modifiers:p,open:d,placement:u="bottom",popperOptions:f=Gx,popperRef:m,style:h,transition:g=!1,slotProps:y={},slots:b={},...v}=t,[x,w]=r.useState(!0);if(!c&&!d&&(!g||x))return null;let S;if(a)S=a;else if(n){const e=qx(n);S=e&&Ux(e)?Ag(e).body:Ag(null).body}return e(_x,{disablePortal:l,container:S,children:e(Kx,{anchorEl:n,direction:s,disablePortal:l,modifiers:p,ref:o,open:g?!x:d,placement:u,popperOptions:f,popperRef:m,slotProps:y,slots:b,...v,style:{position:"fixed",top:0,left:0,display:d||!c||g&&!x?void 0:"none",...h},TransitionProps:g?{in:d,onEnter:()=>{w(!1)},onExited:()=>{w(!0)}}:void 0,children:i})})});"production"!==process.env.NODE_ENV&&(Xx.propTypes={anchorEl:Hg(qp.oneOfType([kv,qp.object,qp.func]),e=>{if(e.open){const t=qx(e.anchorEl);if(t&&Ux(t)&&1===t.nodeType){const e=t.getBoundingClientRect();if("test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom)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("\n"))}else if(!t||"function"!=typeof t.getBoundingClientRect||!Ux(t)&&null!=t.contextElement&&1!==t.contextElement.nodeType)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("\n"))}return null}),children:qp.oneOfType([qp.node,qp.func]),container:qp.oneOfType([kv,qp.func]),direction:qp.oneOf(["ltr","rtl"]),disablePortal:qp.bool,keepMounted:qp.bool,modifiers:qp.arrayOf(qp.shape({data:qp.object,effect:qp.func,enabled:qp.bool,fn:qp.func,name:qp.any,options:qp.object,phase:qp.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:qp.arrayOf(qp.string),requiresIfExists:qp.arrayOf(qp.string)})),open:qp.bool.isRequired,placement:qp.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:qp.shape({modifiers:qp.array,onFirstUpdate:qp.func,placement:qp.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:qp.oneOf(["absolute","fixed"])}),popperRef:sb,slotProps:qp.shape({root:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({root:qp.elementType}),transition:qp.bool});const Yx=Cg(Xx,{name:"MuiPopper",slot:"Root"})({}),Zx=r.forwardRef(function(t,o){const n=Wm(),r=Ng({props:t,name:"MuiPopper"}),{anchorEl:i,component:a,components:s,componentsProps:l,container:c,disablePortal:p,keepMounted:d,modifiers:u,open:f,placement:m,popperOptions:h,popperRef:g,transition:y,slots:b,slotProps:v,...x}=r,w={anchorEl:i,container:c,disablePortal:p,keepMounted:d,modifiers:u,open:f,placement:m,popperOptions:h,popperRef:g,transition:y,...x};return e(Yx,{as:a,direction:n?"rtl":"ltr",slots:{root:b?.root??s?.Root},slotProps:v??l,...w,ref:o})});function Jx(e){return Qf("MuiListSubheader",e)}"production"!==process.env.NODE_ENV&&(Zx.propTypes={anchorEl:qp.oneOfType([kv,qp.object,qp.func]),children:qp.oneOfType([qp.node,qp.func]),component:qp.elementType,components:qp.shape({Root:qp.elementType}),componentsProps:qp.shape({root:qp.oneOfType([qp.func,qp.object])}),container:qp.oneOfType([kv,qp.func]),disablePortal:qp.bool,keepMounted:qp.bool,modifiers:qp.arrayOf(qp.shape({data:qp.object,effect:qp.func,enabled:qp.bool,fn:qp.func,name:qp.any,options:qp.object,phase:qp.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:qp.arrayOf(qp.string),requiresIfExists:qp.arrayOf(qp.string)})),open:qp.bool.isRequired,placement:qp.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:qp.shape({modifiers:qp.array,onFirstUpdate:qp.func,placement:qp.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:qp.oneOf(["absolute","fixed"])}),popperRef:sb,slotProps:qp.shape({root:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({root:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),transition:qp.bool}),em("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const Qx=Cg("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"default"!==o.color&&t[`color${Cu(o.color)}`],!o.disableGutters&&t.gutters,o.inset&&t.inset,!o.disableSticky&&t.sticky]}})(Pg(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:72}},{props:({ownerState:e})=>!e.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),ew=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiListSubheader"}),{className:r,color:i="default",component:a="li",disableGutters:s=!1,disableSticky:l=!1,inset:c=!1,...p}=n,d={...n,color:i,component:a,disableGutters:s,disableSticky:l,inset:c},u=(e=>{const{classes:t,color:o,disableGutters:n,inset:r,disableSticky:i}=e;return nh({root:["root","default"!==o&&`color${Cu(o)}`,!n&&"gutters",r&&"inset",!i&&"sticky"]},Jx,t)})(d);return e(Qx,{as:a,className:Yf(u.root,r),ref:o,ownerState:d,...p})});ew&&(ew.muiSkipListHighlight=!0),"production"!==process.env.NODE_ENV&&(ew.propTypes={children:qp.node,classes:qp.object,className:qp.string,color:qp.oneOf(["default","inherit","primary"]),component:qp.elementType,disableGutters:qp.bool,disableSticky:qp.bool,inset:qp.bool,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});var tw=jg(e("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 ow(e){return Qf("MuiChip",e)}const nw=em("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"]),rw=Cg("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e,{color:n,iconColor:r,clickable:i,onDelete:a,size:s,variant:l}=o;return[{[`& .${nw.avatar}`]:t.avatar},{[`& .${nw.avatar}`]:t[`avatar${Cu(s)}`]},{[`& .${nw.avatar}`]:t[`avatarColor${Cu(n)}`]},{[`& .${nw.icon}`]:t.icon},{[`& .${nw.icon}`]:t[`icon${Cu(s)}`]},{[`& .${nw.icon}`]:t[`iconColor${Cu(r)}`]},{[`& .${nw.deleteIcon}`]:t.deleteIcon},{[`& .${nw.deleteIcon}`]:t[`deleteIcon${Cu(s)}`]},{[`& .${nw.deleteIcon}`]:t[`deleteIconColor${Cu(n)}`]},{[`& .${nw.deleteIcon}`]:t[`deleteIcon${Cu(l)}Color${Cu(n)}`]},t.root,t[`size${Cu(s)}`],t[`color${Cu(n)}`],i&&t.clickable,i&&"default"!==n&&t[`clickableColor${Cu(n)}`],a&&t.deletable,a&&"default"!==n&&t[`deletableColor${Cu(n)}`],t[l],t[`${l}${Cu(n)}`]]}})(Pg(({theme:e})=>{const t="light"===e.palette.mode?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:16,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",[`&.${nw.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${nw.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${nw.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${nw.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${nw.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${nw.icon}`]:{marginLeft:5,marginRight:-6},[`& .${nw.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,[`& .${nw.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${nw.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Nb(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${nw.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}})),{props:e=>e.iconColor===e.color,style:{[`& .${nw.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{[`& .${nw.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${nw.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(Nb(["dark"])).map(([t])=>({props:{color:t,onDelete:!0},style:{[`&.${nw.focusVisible}`]:{background:(e.vars||e).palette[t].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}`)},[`&.${nw.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(Nb(["dark"])).map(([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${nw.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${nw.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${nw.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${nw.avatar}`]:{marginLeft:4},[`& .${nw.avatarSmall}`]:{marginLeft:2},[`& .${nw.icon}`]:{marginLeft:4},[`& .${nw.iconSmall}`]:{marginLeft:2},[`& .${nw.deleteIcon}`]:{marginRight:5},[`& .${nw.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Nb()).map(([t])=>({props:{variant:"outlined",color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.alpha((e.vars||e).palette[t].main,.7)}`,[`&.${nw.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${nw.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.focusOpacity)},[`& .${nw.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}}))]}})),iw=Cg("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:o}=e,{size:n}=o;return[t.label,t[`label${Cu(n)}`]]}})({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 aw(e){return"Backspace"===e.key||"Delete"===e.key}const sw=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiChip"}),{avatar:a,className:s,clickable:l,color:c="default",component:p,deleteIcon:d,disabled:u=!1,icon:f,label:m,onClick:h,onDelete:g,onKeyDown:y,onKeyUp:b,size:v="medium",variant:x="filled",tabIndex:w,skipFocusWhenDisabled:S=!1,slots:T={},slotProps:O={},...C}=i,k=Wg(r.useRef(null),n),E=e=>{e.stopPropagation(),g&&g(e)},P=!(!1===l||!h)||l,N=P||g?wb:p||"div",R={...i,component:N,disabled:u,size:v,color:c,iconColor:r.isValidElement(f)&&f.props.color||c,onDelete:!!g,clickable:P,variant:x},M=(e=>{const{classes:t,disabled:o,size:n,color:r,iconColor:i,onDelete:a,clickable:s,variant:l}=e;return nh({root:["root",l,o&&"disabled",`size${Cu(n)}`,`color${Cu(r)}`,s&&"clickable",s&&`clickableColor${Cu(r)}`,a&&"deletable",a&&`deletableColor${Cu(r)}`,`${l}${Cu(r)}`],label:["label",`label${Cu(n)}`],avatar:["avatar",`avatar${Cu(n)}`,`avatarColor${Cu(r)}`],icon:["icon",`icon${Cu(n)}`,`iconColor${Cu(i)}`],deleteIcon:["deleteIcon",`deleteIcon${Cu(n)}`,`deleteIconColor${Cu(r)}`,`deleteIcon${Cu(l)}Color${Cu(r)}`]},ow,t)})(R),$=N===wb?{component:p||"div",focusVisibleClassName:M.focusVisible,...g&&{disableRipple:!0}}:{};let j=null;g&&(j=d&&r.isValidElement(d)?r.cloneElement(d,{className:Yf(d.props.className,M.deleteIcon),onClick:E}):e(tw,{className:M.deleteIcon,onClick:E}));let I=null;a&&r.isValidElement(a)&&(I=r.cloneElement(a,{className:Yf(M.avatar,a.props.className)}));let A=null;f&&r.isValidElement(f)&&(A=r.cloneElement(f,{className:Yf(M.icon,f.props.className)})),process.env.NODE_ENV;const L={slots:T,slotProps:O},[B,D]=Ay("root",{elementType:rw,externalForwardedProps:{...L,...C},ownerState:R,shouldForwardComponentProp:!0,ref:k,className:Yf(M.root,s),additionalProps:{disabled:!(!P||!u)||void 0,tabIndex:S&&u?-1:w,...$},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),h?.(t)},onKeyDown:t=>{e.onKeyDown?.(t),(e=>{e.currentTarget===e.target&&aw(e)&&e.preventDefault(),y&&y(e)})(t)},onKeyUp:t=>{e.onKeyUp?.(t),(e=>{e.currentTarget===e.target&&g&&aw(e)&&g(e),b&&b(e)})(t)}})}),[z,V]=Ay("label",{elementType:iw,externalForwardedProps:L,ownerState:R,className:M.label});return t(B,{as:N,...D,children:[I||A,e(z,{...V,children:m}),j]})});function lw(e){return parseInt(e,10)||0}"production"!==process.env.NODE_ENV&&(sw.propTypes={avatar:qp.element,children:zg,classes:qp.object,className:qp.string,clickable:qp.bool,color:qp.oneOfType([qp.oneOf(["default","primary","secondary","error","info","success","warning"]),qp.string]),component:qp.elementType,deleteIcon:qp.element,disabled:qp.bool,icon:qp.element,label:qp.node,onClick:qp.func,onDelete:qp.func,onKeyDown:qp.func,onKeyUp:qp.func,size:qp.oneOfType([qp.oneOf(["medium","small"]),qp.string]),skipFocusWhenDisabled:qp.bool,slotProps:qp.shape({label:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({label:qp.elementType,root:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),tabIndex:qp.number,variant:qp.oneOfType([qp.oneOf(["filled","outlined"]),qp.string])});const cw={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function pw(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const dw=r.forwardRef(function(o,n){const{onChange:i,maxRows:a,minRows:s=1,style:l,value:c,...p}=o,{current:d}=r.useRef(null!=c),u=r.useRef(null),f=Wg(n,u),m=r.useRef(null),h=r.useRef(null),g=r.useCallback(()=>{const e=u.current,t=h.current;if(!e||!t)return;const n=Lg(e).getComputedStyle(e);if("0px"===n.width)return{outerHeightStyle:0,overflowing:!1};t.style.width=n.width,t.value=e.value||o.placeholder||"x","\n"===t.value.slice(-1)&&(t.value+=" ");const r=n.boxSizing,i=lw(n.paddingBottom)+lw(n.paddingTop),l=lw(n.borderBottomWidth)+lw(n.borderTopWidth),c=t.scrollHeight;t.value="x";const p=t.scrollHeight;let d=c;return s&&(d=Math.max(Number(s)*p,d)),a&&(d=Math.min(Number(a)*p,d)),d=Math.max(d,p),{outerHeightStyle:d+("border-box"===r?i+l:0),overflowing:Math.abs(d-c)<=1}},[a,s,o.placeholder]),y=Fg(()=>{const e=u.current,t=g();if(!e||!t||pw(t))return!1;const o=t.outerHeightStyle;return null!=m.current&&m.current!==o}),b=r.useCallback(()=>{const e=u.current,t=g();if(!e||!t||pw(t))return;const o=t.outerHeightStyle;m.current!==o&&(m.current=o,e.style.height=`${o}px`),e.style.overflow=t.overflowing?"hidden":""},[g]),v=r.useRef(-1);return ym(()=>{const e=Ig(b),t=u?.current;if(!t)return;const o=Lg(t);let n;return o.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(()=>{y()&&(n.unobserve(t),cancelAnimationFrame(v.current),b(),v.current=requestAnimationFrame(()=>{n.observe(t)}))}),n.observe(t)),()=>{e.clear(),cancelAnimationFrame(v.current),o.removeEventListener("resize",e),n&&n.disconnect()}},[g,b,y]),ym(()=>{b()}),t(r.Fragment,{children:[e("textarea",{value:c,onChange:e=>{d||b();const t=e.target,o=t.value.length,n=t.value.endsWith("\n"),r=t.selectionStart===o;n&&r&&t.setSelectionRange(o,o),i&&i(e)},ref:f,rows:s,style:l,...p}),e("textarea",{"aria-hidden":!0,className:o.className,readOnly:!0,ref:h,tabIndex:-1,style:{...cw,...l,paddingTop:0,paddingBottom:0}})]})});function uw({props:e,states:t,muiFormControl:o}){return t.reduce((t,n)=>(t[n]=e[n],o&&void 0===e[n]&&(t[n]=o[n]),t),{})}"production"!==process.env.NODE_ENV&&(dw.propTypes={className:qp.string,maxRows:qp.oneOfType([qp.number,qp.string]),minRows:qp.oneOfType([qp.number,qp.string]),onChange:qp.func,placeholder:qp.string,style:qp.object,value:qp.oneOfType([qp.arrayOf(qp.string),qp.number,qp.string])});const fw=r.createContext(void 0);function mw(){return r.useContext(fw)}function hw(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function gw(e,t=!1){return e&&(hw(e.value)&&""!==e.value||t&&hw(e.defaultValue)&&""!==e.defaultValue)}function yw(e){return Qf("MuiInputBase",e)}"production"!==process.env.NODE_ENV&&(fw.displayName="FormControlContext");const bw=em("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var vw;const xw=(e,t)=>{const{ownerState:o}=e;return[t.root,o.formControl&&t.formControl,o.startAdornment&&t.adornedStart,o.endAdornment&&t.adornedEnd,o.error&&t.error,"small"===o.size&&t.sizeSmall,o.multiline&&t.multiline,o.color&&t[`color${Cu(o.color)}`],o.fullWidth&&t.fullWidth,o.hiddenLabel&&t.hiddenLabel]},ww=(e,t)=>{const{ownerState:o}=e;return[t.input,"small"===o.size&&t.inputSizeSmall,o.multiline&&t.inputMultiline,"search"===o.type&&t.inputTypeSearch,o.startAdornment&&t.inputAdornedStart,o.endAdornment&&t.inputAdornedEnd,o.hiddenLabel&&t.inputHiddenLabel]},Sw=Cg("div",{name:"MuiInputBase",slot:"Root",overridesResolver:xw})(Pg(({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",[`&.${bw.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]}))),Tw=Cg("input",{name:"MuiInputBase",slot:"Input",overridesResolver:ww})(Pg(({theme:e})=>{const t="light"===e.palette.mode,o={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},n={opacity:"0 !important"},r=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":o,"&::-moz-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${bw.formControl} &`]:{"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus::-webkit-input-placeholder":r,"&:focus::-moz-placeholder":r,"&:focus::-ms-input-placeholder":r},[`&.${bw.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),Ow=function(t){return function(o){return e(Eg,{styles:"function"==typeof t?e=>t({theme:e,...o}):t})}}({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Cw=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiInputBase"}),{"aria-describedby":a,autoComplete:s,autoFocus:l,className:c,color:p,components:d={},componentsProps:u={},defaultValue:f,disabled:m,disableInjectingGlobalStyles:h,endAdornment:g,error:y,fullWidth:b=!1,id:v,inputComponent:x="input",inputProps:w={},inputRef:S,margin:T,maxRows:O,minRows:C,multiline:k=!1,name:E,onBlur:P,onChange:N,onClick:R,onFocus:M,onKeyDown:$,onKeyUp:j,placeholder:I,readOnly:A,renderSuffix:L,rows:B,size:D,slotProps:z={},slots:V={},startAdornment:F,type:W="text",value:_,...H}=i,q=null!=w.value?w.value:_,{current:U}=r.useRef(null!=q),G=r.useRef(),K=r.useCallback(e=>{"production"!==process.env.NODE_ENV&&e&&"INPUT"!==e.nodeName&&e.focus},[]),X=Wg(G,S,w.ref,K),[Y,Z]=r.useState(!1),J=mw();"production"!==process.env.NODE_ENV&&r.useEffect(()=>{if(J)return J.registerEffect()},[J]);const Q=uw({props:i,muiFormControl:J,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Q.focused=J?J.focused:Y,r.useEffect(()=>{!J&&m&&Y&&(Z(!1),P&&P())},[J,m,Y,P]);const ee=J&&J.onFilled,te=J&&J.onEmpty,oe=r.useCallback(e=>{gw(e)?ee&&ee():te&&te()},[ee,te]);ym(()=>{U&&oe({value:q})},[q,oe,U]),r.useEffect(()=>{oe(G.current)},[]);let ne=x,re=w;k&&"input"===ne&&(B?(process.env.NODE_ENV,re={type:void 0,minRows:B,maxRows:B,...re}):re={type:void 0,maxRows:O,minRows:C,...re},ne=dw),r.useEffect(()=>{J&&J.setAdornedStart(Boolean(F))},[J,F]);const ie={...i,color:Q.color||"primary",disabled:Q.disabled,endAdornment:g,error:Q.error,focused:Q.focused,formControl:J,fullWidth:b,hiddenLabel:Q.hiddenLabel,multiline:k,size:Q.size,startAdornment:F,type:W},ae=(e=>{const{classes:t,color:o,disabled:n,error:r,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:p,readOnly:d,size:u,startAdornment:f,type:m}=e;return nh({root:["root",`color${Cu(o)}`,n&&"disabled",r&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",u&&"medium"!==u&&`size${Cu(u)}`,p&&"multiline",f&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",n&&"disabled","search"===m&&"inputTypeSearch",p&&"inputMultiline","small"===u&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},yw,t)})(ie),se=V.root||d.Root||Sw,le=z.root||u.root||{},ce=V.input||d.Input||Tw;return re={...re,...z.input??u.input},t(r.Fragment,{children:[!h&&"function"==typeof Ow&&(vw||(vw=e(Ow,{}))),t(se,{...le,ref:n,onClick:e=>{G.current&&e.currentTarget===e.target&&G.current.focus(),R&&R(e)},...H,...!Ny(se)&&{ownerState:{...ie,...le.ownerState}},className:Yf(ae.root,le.className,c,A&&"MuiInputBase-readOnly"),children:[F,e(fw.Provider,{value:null,children:e(ce,{"aria-invalid":Q.error,"aria-describedby":a,autoComplete:s,autoFocus:l,defaultValue:f,disabled:Q.disabled,id:v,onAnimationStart:e=>{oe("mui-auto-fill-cancel"===e.animationName?G.current:{value:"x"})},name:E,placeholder:I,readOnly:A,required:Q.required,rows:B,value:q,onKeyDown:$,onKeyUp:j,type:W,...re,...!Ny(ce)&&{as:ne,ownerState:{...ie,...re.ownerState}},ref:X,className:Yf(ae.input,re.className,A&&"MuiInputBase-readOnly"),onBlur:e=>{P&&P(e),w.onBlur&&w.onBlur(e),J&&J.onBlur?J.onBlur(e):Z(!1)},onChange:(e,...t)=>{if(!U){const t=e.target||G.current;if(null==t)throw new Error("production"!==process.env.NODE_ENV?"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.":Nl(1));oe({value:t.value})}w.onChange&&w.onChange(e,...t),N&&N(e,...t)},onFocus:e=>{M&&M(e),w.onFocus&&w.onFocus(e),J&&J.onFocus?J.onFocus(e):Z(!0)}})}),g,L?L({...Q,startAdornment:F}):null]})]})});function kw(e){return Qf("MuiInput",e)}"production"!==process.env.NODE_ENV&&(Cw.propTypes={"aria-describedby":qp.string,autoComplete:qp.string,autoFocus:qp.bool,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["primary","secondary","error","info","success","warning"]),qp.string]),components:qp.shape({Input:qp.elementType,Root:qp.elementType}),componentsProps:qp.shape({input:qp.object,root:qp.object}),defaultValue:qp.any,disabled:qp.bool,disableInjectingGlobalStyles:qp.bool,endAdornment:qp.node,error:qp.bool,fullWidth:qp.bool,id:qp.string,inputComponent:ky,inputProps:qp.object,inputRef:sb,margin:qp.oneOf(["dense","none"]),maxRows:qp.oneOfType([qp.number,qp.string]),minRows:qp.oneOfType([qp.number,qp.string]),multiline:qp.bool,name:qp.string,onBlur:qp.func,onChange:qp.func,onClick:qp.func,onFocus:qp.func,onInvalid:qp.func,onKeyDown:qp.func,onKeyUp:qp.func,placeholder:qp.string,readOnly:qp.bool,renderSuffix:qp.func,required:qp.bool,rows:qp.oneOfType([qp.number,qp.string]),size:qp.oneOfType([qp.oneOf(["medium","small"]),qp.string]),slotProps:qp.shape({input:qp.object,root:qp.object}),slots:qp.shape({input:qp.elementType,root:qp.elementType}),startAdornment:qp.node,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),type:qp.string,value:qp.any});const Ew={...bw,...em("MuiInput",["root","underline","input"])};function Pw(e){return Qf("MuiOutlinedInput",e)}const Nw={...bw,...em("MuiOutlinedInput",["root","notchedOutline","input"])};function Rw(e){return Qf("MuiFilledInput",e)}const Mw={...bw,...em("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])};var $w=jg(e("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function jw(e){return Qf("MuiAutocomplete",e)}const Iw=em("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var Aw,Lw;const Bw=Cg("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e,{fullWidth:n,hasClearIcon:r,hasPopupIcon:i,inputFocused:a,size:s}=o;return[{[`& .${Iw.tag}`]:t.tag},{[`& .${Iw.tag}`]:t[`tagSize${Cu(s)}`]},{[`& .${Iw.inputRoot}`]:t.inputRoot},{[`& .${Iw.input}`]:t.input},{[`& .${Iw.input}`]:a&&t.inputFocused},t.root,n&&t.fullWidth,i&&t.hasPopupIcon,r&&t.hasClearIcon]}})({[`&.${Iw.focused} .${Iw.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Iw.clearIndicator}`]:{visibility:"visible"}},[`& .${Iw.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Iw.inputRoot}`]:{[`.${Iw.hasPopupIcon}&, .${Iw.hasClearIcon}&`]:{paddingRight:30},[`.${Iw.hasPopupIcon}.${Iw.hasClearIcon}&`]:{paddingRight:56},[`& .${Iw.input}`]:{width:0,minWidth:30}},[`& .${Ew.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Ew.root}.${bw.sizeSmall}`]:{[`& .${Ew.input}`]:{padding:"2px 4px 3px 0"}},[`& .${Nw.root}`]:{padding:9,[`.${Iw.hasPopupIcon}&, .${Iw.hasClearIcon}&`]:{paddingRight:39},[`.${Iw.hasPopupIcon}.${Iw.hasClearIcon}&`]:{paddingRight:65},[`& .${Iw.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Iw.endAdornment}`]:{right:9}},[`& .${Nw.root}.${bw.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Iw.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Mw.root}`]:{paddingTop:19,paddingLeft:8,[`.${Iw.hasPopupIcon}&, .${Iw.hasClearIcon}&`]:{paddingRight:39},[`.${Iw.hasPopupIcon}.${Iw.hasClearIcon}&`]:{paddingRight:65},[`& .${Mw.input}`]:{padding:"7px 4px"},[`& .${Iw.endAdornment}`]:{right:9}},[`& .${Mw.root}.${bw.sizeSmall}`]:{paddingBottom:1,[`& .${Mw.input}`]:{padding:"2.5px 4px"}},[`& .${bw.hiddenLabel}`]:{paddingTop:8},[`& .${Mw.root}.${bw.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Iw.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Mw.root}.${bw.hiddenLabel}.${bw.sizeSmall}`]:{[`& .${Iw.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Iw.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Iw.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Iw.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Iw.inputRoot}`]:{flexWrap:"wrap"}}}]}),Dw=Cg("div",{name:"MuiAutocomplete",slot:"EndAdornment"})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),zw=Cg(Gb,{name:"MuiAutocomplete",slot:"ClearIndicator"})({marginRight:-2,padding:4,visibility:"hidden"}),Vw=Cg(Gb,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.popupIndicator,o.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),Fw=Cg(Zx,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${Iw.option}`]:t.option},t.popper,o.disablePortal&&t.popperDisablePortal]}})(Pg(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),Ww=Cg(Gy,{name:"MuiAutocomplete",slot:"Paper"})(Pg(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),_w=Cg("div",{name:"MuiAutocomplete",slot:"Loading"})(Pg(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),Hw=Cg("div",{name:"MuiAutocomplete",slot:"NoOptions"})(Pg(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),qw=Cg("ul",{name:"MuiAutocomplete",slot:"Listbox"})(Pg(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Iw.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Iw.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Iw.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${Iw.focused}`]:{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.vars||e).palette.action.selected}},[`&.${Iw.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}}}))),Uw=Cg(ew,{name:"MuiAutocomplete",slot:"GroupLabel"})(Pg(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),Gw=Cg("ul",{name:"MuiAutocomplete",slot:"GroupUl"})({padding:0,[`& .${Iw.option}`]:{paddingLeft:24}}),Kw=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiAutocomplete"}),{autoComplete:a=!1,autoHighlight:s=!1,autoSelect:l=!1,blurOnSelect:c=!1,ChipProps:p,className:d,clearIcon:u=Aw||(Aw=e(Jb,{fontSize:"small"})),clearOnBlur:f=!i.freeSolo,clearOnEscape:m=!1,clearText:h="Clear",closeText:g="Close",componentsProps:y,defaultValue:b=(i.multiple?[]:null),disableClearable:v=!1,disableCloseOnSelect:x=!1,disabled:w=!1,disabledItemsFocusable:S=!1,disableListWrap:T=!1,disablePortal:O=!1,filterOptions:C,filterSelectedOptions:k=!1,forcePopupIcon:E="auto",freeSolo:P=!1,fullWidth:N=!1,getLimitTagsText:R=e=>`+${e}`,getOptionDisabled:M,getOptionKey:$,getOptionLabel:j,isOptionEqualToValue:I,groupBy:A,handleHomeEndKeys:L=!i.freeSolo,id:B,includeInputInList:D=!1,inputValue:z,limitTags:V=-1,ListboxComponent:F,ListboxProps:W,loading:_=!1,loadingText:H="Loading…",multiple:q=!1,noOptionsText:U="No options",onChange:G,onClose:K,onHighlightChange:X,onInputChange:Y,onOpen:Z,open:J,openOnFocus:Q=!1,openText:ee="Open",options:te,PaperComponent:oe,PopperComponent:ne,popupIcon:re=Lw||(Lw=e($w,{})),readOnly:ie=!1,renderGroup:ae,renderInput:se,renderOption:le,renderTags:ce,renderValue:pe,selectOnFocus:de=!i.freeSolo,size:ue="medium",slots:fe={},slotProps:me={},value:he,...ge}=i,{getRootProps:ye,getInputProps:be,getInputLabelProps:ve,getPopupIndicatorProps:xe,getClearProps:we,getItemProps:Se,getListboxProps:Te,getOptionProps:Oe,value:Ce,dirty:ke,expanded:Ee,id:Pe,popupOpen:Ne,focused:Re,focusedItem:Me,anchorEl:$e,setAnchorEl:je,inputValue:Ie,groupedOptions:Ae}=function(e){const{unstable_isActiveElementInListbox:t=Tv,unstable_classNamePrefix:o="Mui",autoComplete:n=!1,autoHighlight:i=!1,autoSelect:a=!1,blurOnSelect:s=!1,clearOnBlur:l=!e.freeSolo,clearOnEscape:c=!1,componentName:p="useAutocomplete",defaultValue:d=(e.multiple?Ov:null),disableClearable:u=!1,disableCloseOnSelect:f=!1,disabled:m,disabledItemsFocusable:h=!1,disableListWrap:g=!1,filterOptions:y=Sv,filterSelectedOptions:b=!1,freeSolo:v=!1,getOptionDisabled:x,getOptionKey:w,getOptionLabel:S=e=>e.label??e,groupBy:T,handleHomeEndKeys:O=!e.freeSolo,id:C,includeInputInList:k=!1,inputValue:E,isOptionEqualToValue:P=(e,t)=>e===t,multiple:N=!1,onChange:R,onClose:M,onHighlightChange:$,onInputChange:j,onOpen:I,open:A,openOnFocus:L=!1,options:B,readOnly:D=!1,renderValue:z,selectOnFocus:V=!e.freeSolo,value:F}=e,W=Gm(C);let _=S;_=e=>{const t=S(e);return"string"!=typeof t?(process.env.NODE_ENV,String(t)):t};const H=r.useRef(!1),q=r.useRef(!0),U=r.useRef(null),G=r.useRef(null),[K,X]=r.useState(null),[Y,Z]=r.useState(-1),J=i?0:-1,Q=r.useRef(J),ee=r.useRef(Cv(d??F,N,_)).current,[te,oe]=Vg({controlled:F,default:d,name:p}),[ne,re]=Vg({controlled:E,default:ee,name:p,state:"inputValue"}),[ie,ae]=r.useState(!1),se=r.useCallback((e,t,o)=>{if(!(N?te.length<t.length:null!==t)&&!l)return;const n=Cv(t,N,_,z);ne!==n&&(re(n),j&&j(e,n,o))},[_,ne,N,j,re,l,te,z]),[le,ce]=Vg({controlled:A,default:!1,name:p,state:"open"}),[pe,de]=r.useState(!0),ue=!N&&null!=te&&ne===_(te),fe=le&&!D,me=fe?y(B.filter(e=>!b||!(N?te:[te]).some(t=>null!==t&&P(e,t))),{inputValue:ue&&pe?"":ne,getOptionLabel:_}):[],he=vv({filteredOptions:me,value:te,inputValue:ne});r.useEffect(()=>{const e=te!==he.value;ie&&!e||v&&!e||se(null,te,"reset")},[te,se,ie,he.value,v]);const ge=le&&me.length>0&&!D,ye=Fg(e=>{if(-1===e)U.current.focus();else{const t=z?"data-item-index":"data-tag-index";K.querySelector(`[${t}="${e}"]`).focus()}});r.useEffect(()=>{N&&Y>te.length-1&&(Z(-1),ye(-1))},[te,N,Y,ye]);const be=Fg(({event:e,index:t,reason:n})=>{if(Q.current=t,-1===t?U.current.removeAttribute("aria-activedescendant"):U.current.setAttribute("aria-activedescendant",`${W}-option-${t}`),$&&["mouse","keyboard","touch"].includes(n)&&$(e,-1===t?null:me[t],n),!G.current)return;const r=G.current.querySelector(`[role="option"].${o}-focused`);r&&(r.classList.remove(`${o}-focused`),r.classList.remove(`${o}-focusVisible`));let i=G.current;if("listbox"!==G.current.getAttribute("role")&&(i=G.current.parentElement.querySelector('[role="listbox"]')),!i)return;if(-1===t)return void(i.scrollTop=0);const a=G.current.querySelector(`[data-option-index="${t}"]`);if(a&&(a.classList.add(`${o}-focused`),"keyboard"===n&&a.classList.add(`${o}-focusVisible`),i.scrollHeight>i.clientHeight&&"mouse"!==n&&"touch"!==n)){const e=a,t=i.clientHeight+i.scrollTop,o=e.offsetTop+e.offsetHeight;o>t?i.scrollTop=o-i.clientHeight:e.offsetTop-e.offsetHeight*(T?1.3:0)<i.scrollTop&&(i.scrollTop=e.offsetTop-e.offsetHeight*(T?1.3:0))}}),ve=Fg(({event:e,diff:t,direction:o="next",reason:r})=>{if(!fe)return;const i=function(e,t){if(!G.current||e<0||e>=me.length)return-1;let o=e;for(;;){const n=G.current.querySelector(`[data-option-index="${o}"]`),r=!h&&(!n||n.disabled||"true"===n.getAttribute("aria-disabled"));if(n&&n.hasAttribute("tabindex")&&!r)return o;if(o="next"===t?(o+1)%me.length:(o-1+me.length)%me.length,o===e)return-1}}((()=>{const e=me.length-1;if("reset"===t)return J;if("start"===t)return 0;if("end"===t)return e;const o=Q.current+t;return o<0?-1===o&&k?-1:g&&-1!==Q.current||Math.abs(t)>1?0:e:o>e?o===e+1&&k?-1:g||Math.abs(t)>1?e:0:o})(),o);if(be({index:i,reason:r,event:e}),n&&"reset"!==t)if(-1===i)U.current.value=ne;else{const e=_(me[i]);U.current.value=e,0===e.toLowerCase().indexOf(ne.toLowerCase())&&ne.length>0&&U.current.setSelectionRange(ne.length,e.length)}}),xe=!xv({array1:he.filteredOptions,array2:me,parser:_}),we=r.useCallback(()=>{if(!fe)return;const e=(()=>{if(-1!==Q.current&&!xv({array1:he.filteredOptions,array2:me,parser:_})&&he.inputValue===ne&&(N?te.length===he.value.length&&he.value.every((e,t)=>_(te[t])===_(e)):(e=he.value,t=te,(e?_(e):"")===(t?_(t):"")))){const e=he.filteredOptions[Q.current];if(e)return me.findIndex(t=>_(t)===_(e))}var e,t;return-1})();if(-1!==e)return void(Q.current=e);const t=N?te[0]:te;if(0!==me.length&&null!=t){if(G.current){if(null!=t){const e=me[Q.current];if(N&&e&&-1!==te.findIndex(t=>P(e,t)))return;const o=me.findIndex(e=>P(e,t));return void(-1===o?ve({diff:"reset"}):be({index:o}))}Q.current>=me.length-1?be({index:me.length-1}):be({index:Q.current})}}else ve({diff:"reset"})},[me.length,!N&&te,ve,be,fe,ne,N]),Se=Fg(e=>{Dg(G,e),e&&we()});"production"!==process.env.NODE_ENV&&r.useEffect(()=>{U.current&&"INPUT"===U.current.nodeName||U.current&&U.current.nodeName},[p]),r.useEffect(()=>{(xe||fe)&&we()},[we,xe,fe]);const Te=e=>{le||(ce(!0),de(!0),I&&I(e))},Oe=(e,t)=>{le&&(ce(!1),M&&M(e,t))},Ce=(e,t,o,n)=>{if(N){if(te.length===t.length&&te.every((e,o)=>e===t[o]))return}else if(te===t)return;R&&R(e,t,o,n),oe(t)},ke=r.useRef(!1),Ee=(e,t,o="selectOption",n="options")=>{let r=o,i=t;if(N){i=Array.isArray(te)?te.slice():[],"production"!==process.env.NODE_ENV&&i.filter(e=>P(t,e)).length;const e=i.findIndex(e=>P(t,e));-1===e?i.push(t):"freeSolo"!==n&&(i.splice(e,1),r="removeOption")}se(e,i,r),Ce(e,i,r,{option:t}),f||e&&(e.ctrlKey||e.metaKey)||Oe(e,r),(!0===s||"touch"===s&&ke.current||"mouse"===s&&!ke.current)&&U.current.blur()},Pe=(e,t)=>{if(!N)return;""===ne&&Oe(e,"toggleInput");let o=Y;-1===Y&&"previous"===t?(o=te.length-1,v&&""!==ne&&(re(""),j&&j(e,"","reset"))):(o+="next"===t?1:-1,o<0&&(o=0),o===te.length&&(o=-1)),o=function(e,t){if(-1===e)return-1;let o=e;for(;;){if("next"===t&&o===te.length||"previous"===t&&-1===o)return-1;const e=z?"data-item-index":"data-tag-index",n=K.querySelector(`[${e}="${o}"]`);if(n&&n.hasAttribute("tabindex")&&!n.disabled&&"true"!==n.getAttribute("aria-disabled"))return o;o+="next"===t?1:-1}}(o,t),Z(o),ye(o)},Ne=e=>{H.current=!0,re(""),j&&j(e,"","clear"),Ce(e,N?[]:null,"clear")},Re=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1===Y||["ArrowLeft","ArrowRight"].includes(t.key)||(Z(-1),ye(-1)),229!==t.which))switch(t.key){case"Home":fe&&O&&(t.preventDefault(),ve({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":fe&&O&&(t.preventDefault(),ve({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),ve({diff:-5,direction:"previous",reason:"keyboard",event:t}),Te(t);break;case"PageDown":t.preventDefault(),ve({diff:5,direction:"next",reason:"keyboard",event:t}),Te(t);break;case"ArrowDown":t.preventDefault(),ve({diff:1,direction:"next",reason:"keyboard",event:t}),Te(t);break;case"ArrowUp":t.preventDefault(),ve({diff:-1,direction:"previous",reason:"keyboard",event:t}),Te(t);break;case"ArrowLeft":{const e=U.current;if(!e||0!==e.selectionStart||0!==e.selectionEnd)return;!N&&z&&null!=te?(v&&""!==ne&&(re(""),j&&j(t,"","reset")),Z(0),ye(0)):Pe(t,"previous");break}case"ArrowRight":!N&&z?(Z(-1),ye(-1)):Pe(t,"next");break;case"Enter":if(-1!==Q.current&&fe){const e=me[Q.current],o=!!x&&x(e);if(t.preventDefault(),o)return;Ee(t,e,"selectOption"),n&&U.current.setSelectionRange(U.current.value.length,U.current.value.length)}else v&&""!==ne&&!1===ue&&(N&&t.preventDefault(),Ee(t,ne,"createOption","freeSolo"));break;case"Escape":fe?(t.preventDefault(),t.stopPropagation(),Oe(t,"escape")):c&&(""!==ne||N&&te.length>0||z)&&(t.preventDefault(),t.stopPropagation(),Ne(t));break;case"Backspace":if(N&&!D&&""===ne&&te.length>0){const e=-1===Y?te.length-1:Y,o=te.slice();o.splice(e,1),Ce(t,o,"removeOption",{option:te[e]})}N||!z||D||""!==ne||Ce(t,null,"removeOption",{option:te});break;case"Delete":if(N&&!D&&""===ne&&te.length>0&&-1!==Y){const e=Y,o=te.slice();o.splice(e,1),Ce(t,o,"removeOption",{option:te[e]})}N||!z||D||""!==ne||Ce(t,null,"removeOption",{option:te})}},Me=e=>{ae(!0),-1!==Y&&(Z(-1),ye(-1)),L&&!H.current&&Te(e)},$e=e=>{t(G)?U.current.focus():(ae(!1),q.current=!0,H.current=!1,a&&-1!==Q.current&&fe?Ee(e,me[Q.current],"blur"):a&&v&&""!==ne?Ee(e,ne,"blur","freeSolo"):l&&se(e,te,"blur"),Oe(e,"blur"))},je=e=>{const t=e.target.value;ne!==t&&(re(t),de(!1),j&&j(e,t,"input")),""===t?u||N||z||Ce(e,null,"clear"):Te(e)},Ie=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Q.current!==t&&be({event:e,index:t,reason:"mouse"})},Ae=e=>{be({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),ke.current=!0},Le=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Ee(e,me[t],"selectOption"),ke.current=!1},Be=e=>t=>{const o=te.slice();o.splice(e,1),Ce(t,o,"removeOption",{option:te[e]})},De=e=>{Ce(e,null,"removeOption",{option:te})},ze=e=>{le?Oe(e,"toggleInput"):Te(e)},Ve=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==W&&e.preventDefault()},Fe=e=>{e.currentTarget.contains(e.target)&&(U.current.focus(),V&&q.current&&U.current.selectionEnd-U.current.selectionStart===0&&U.current.select(),q.current=!1)},We=e=>{m||""!==ne&&le||ze(e)};let _e=v&&ne.length>0;_e=_e||(N?te.length>0:null!==te);let He=me;if(T){const e=new Map;let t=!1;He=me.reduce((o,n,r)=>{const i=T(n);return o.length>0&&o[o.length-1].group===i?o[o.length-1].options.push(n):("production"!==process.env.NODE_ENV&&(e.get(i)&&!t&&(t=!0),e.set(i,!0)),o.push({key:r,index:r,group:i,options:[n]})),o},[])}return m&&ie&&$e(),{getRootProps:(e={})=>({...e,onKeyDown:Re(e),onMouseDown:Ve,onClick:Fe}),getInputLabelProps:()=>({id:`${W}-label`,htmlFor:W}),getInputProps:()=>({id:W,value:ne,onBlur:$e,onFocus:Me,onChange:je,onMouseDown:We,"aria-activedescendant":fe?"":null,"aria-autocomplete":n?"both":"list","aria-controls":ge?`${W}-listbox`:void 0,"aria-expanded":ge,autoComplete:"off",ref:U,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:m}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Ne}),getItemProps:({index:e=0}={})=>({...N&&{key:e},...z?{"data-item-index":e}:{"data-tag-index":e},tabIndex:-1,...!D&&{onDelete:N?Be(e):De}}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:ze}),getTagProps:({index:e})=>({key:e,"data-tag-index":e,tabIndex:-1,...!D&&{onDelete:Be(e)}}),getListboxProps:()=>({role:"listbox",id:`${W}-listbox`,"aria-labelledby":`${W}-label`,ref:Se,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const o=(N?te:[te]).some(e=>null!=e&&P(t,e)),n=!!x&&x(t);return{key:w?.(t)??_(t),tabIndex:-1,role:"option",id:`${W}-option-${e}`,onMouseMove:Ie,onClick:Le,onTouchStart:Ae,"data-option-index":e,"aria-disabled":n,"aria-selected":o}},id:W,inputValue:ne,value:te,dirty:_e,expanded:fe&&K,popupOpen:fe,focused:ie||-1!==Y,anchorEl:K,setAnchorEl:X,focusedItem:Y,focusedTag:Y,groupedOptions:He}}({...i,componentName:"Autocomplete"}),Le=!v&&!w&&ke&&!ie,Be=(!P||!0===E)&&!1!==E,{onMouseDown:De}=be(),{ref:ze,...Ve}=Te(),Fe=j||(e=>e.label??e),We={...i,disablePortal:O,expanded:Ee,focused:Re,fullWidth:N,getOptionLabel:Fe,hasClearIcon:Le,hasPopupIcon:Be,inputFocused:-1===Me,popupOpen:Ne,size:ue},_e=(e=>{const{classes:t,disablePortal:o,expanded:n,focused:r,fullWidth:i,hasClearIcon:a,hasPopupIcon:s,inputFocused:l,popupOpen:c,size:p}=e;return nh({root:["root",n&&"expanded",r&&"focused",i&&"fullWidth",a&&"hasClearIcon",s&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${Cu(p)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",o&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]},jw,t)})(We),He={slots:{paper:oe,popper:ne,...fe},slotProps:{chip:p,listbox:W,...y,...me}},[qe,Ue]=Ay("listbox",{elementType:qw,externalForwardedProps:He,ownerState:We,className:_e.listbox,additionalProps:Ve,ref:ze}),[Ge,Ke]=Ay("paper",{elementType:Gy,externalForwardedProps:He,ownerState:We,className:_e.paper}),[Xe,Ye]=Ay("popper",{elementType:Zx,externalForwardedProps:He,ownerState:We,className:_e.popper,additionalProps:{disablePortal:O,style:{width:$e?$e.clientWidth:null},role:"presentation",anchorEl:$e,open:Ne}});let Ze;const Je=e=>({className:_e.tag,disabled:w,...Se(e)});if(q?Ce.length>0&&(Ze=ce?ce(Ce,Je,We):pe?pe(Ce,Je,We):Ce.map((t,o)=>{const{key:n,...r}=Je({index:o});return e(sw,{label:Fe(t),size:ue,...r,...He.slotProps.chip},n)})):pe&&null!=Ce&&(Ze=pe(Ce,Je,We)),V>-1&&Array.isArray(Ze)){const t=Ze.length-V;!Re&&t>0&&(Ze=Ze.splice(0,V),Ze.push(e("span",{className:_e.tag,children:R(t)},Ze.length)))}const Qe=ae||(o=>t("li",{children:[e(Uw,{className:_e.groupLabel,ownerState:We,component:"div",children:o.group}),e(Gw,{className:_e.groupUl,ownerState:We,children:o.children})]},o.key)),et=le||((t,o)=>{const{key:n,...r}=t;return e("li",{...r,children:Fe(o)},n)}),tt=(e,t)=>{const o=Oe({option:e,index:t});return et({...o,className:_e.option},e,{selected:o["aria-selected"],index:t,inputValue:Ie},We)},ot=He.slotProps.clearIndicator,nt=He.slotProps.popupIndicator;return t(r.Fragment,{children:[e(Bw,{ref:n,className:Yf(_e.root,d),ownerState:We,...ye(ge),children:se({id:Pe,disabled:w,fullWidth:!0,size:"small"===ue?"small":void 0,InputLabelProps:ve(),InputProps:{ref:je,className:_e.inputRoot,startAdornment:Ze,onMouseDown:e=>{e.target===e.currentTarget&&De(e)},...(Le||Be)&&{endAdornment:t(Dw,{className:_e.endAdornment,ownerState:We,children:[Le?e(zw,{...we(),"aria-label":h,title:h,ownerState:We,...ot,className:Yf(_e.clearIndicator,ot?.className),children:u}):null,Be?e(Vw,{...xe(),disabled:w,"aria-label":Ne?g:ee,title:Ne?g:ee,ownerState:We,...nt,className:Yf(_e.popupIndicator,nt?.className),children:re}):null]})}},inputProps:{className:_e.input,disabled:w,readOnly:ie,...be()}})}),$e?e(Fw,{as:Xe,...Ye,children:t(Ww,{as:Ge,...Ke,children:[_&&0===Ae.length?e(_w,{className:_e.loading,ownerState:We,children:H}):null,0!==Ae.length||P||_?null:e(Hw,{className:_e.noOptions,ownerState:We,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:U}),Ae.length>0?e(qe,{as:F,...Ue,children:Ae.map((e,t)=>A?Qe({key:e.key,group:e.group,children:e.options.map((t,o)=>tt(t,e.index+o))}):tt(e,t))}):null]})}):null]})});"production"!==process.env.NODE_ENV&&(Kw.propTypes={autoComplete:qp.bool,autoHighlight:qp.bool,autoSelect:qp.bool,blurOnSelect:qp.oneOfType([qp.oneOf(["mouse","touch"]),qp.bool]),ChipProps:qp.object,classes:qp.object,className:qp.string,clearIcon:qp.node,clearOnBlur:qp.bool,clearOnEscape:qp.bool,clearText:qp.string,closeText:qp.string,componentsProps:qp.shape({clearIndicator:qp.object,paper:qp.object,popper:qp.object,popupIndicator:qp.object}),defaultValue:Hg(qp.any,e=>e.multiple&&void 0!==e.defaultValue&&!Array.isArray(e.defaultValue)?new Error(["MUI: The Autocomplete expects the `defaultValue` prop to be an array when `multiple={true}` or undefined.",`However, ${e.defaultValue} was provided.`].join("\n")):null),disableClearable:qp.bool,disableCloseOnSelect:qp.bool,disabled:qp.bool,disabledItemsFocusable:qp.bool,disableListWrap:qp.bool,disablePortal:qp.bool,filterOptions:qp.func,filterSelectedOptions:qp.bool,forcePopupIcon:qp.oneOfType([qp.oneOf(["auto"]),qp.bool]),freeSolo:qp.bool,fullWidth:qp.bool,getLimitTagsText:qp.func,getOptionDisabled:qp.func,getOptionKey:qp.func,getOptionLabel:qp.func,groupBy:qp.func,handleHomeEndKeys:qp.bool,id:qp.string,includeInputInList:qp.bool,inputValue:qp.string,isOptionEqualToValue:qp.func,limitTags:Hy,ListboxComponent:qp.elementType,ListboxProps:qp.object,loading:qp.bool,loadingText:qp.node,multiple:qp.bool,noOptionsText:qp.node,onChange:qp.func,onClose:qp.func,onHighlightChange:qp.func,onInputChange:qp.func,onKeyDown:qp.func,onOpen:qp.func,open:qp.bool,openOnFocus:qp.bool,openText:qp.string,options:qp.array.isRequired,PaperComponent:qp.elementType,PopperComponent:qp.elementType,popupIcon:qp.node,readOnly:qp.bool,renderGroup:qp.func,renderInput:qp.func.isRequired,renderOption:qp.func,renderTags:qp.func,renderValue:qp.func,selectOnFocus:qp.bool,size:qp.oneOfType([qp.oneOf(["small","medium"]),qp.string]),slotProps:qp.shape({chip:qp.oneOfType([qp.func,qp.object]),clearIndicator:qp.oneOfType([qp.func,qp.object]),listbox:qp.oneOfType([qp.func,qp.object]),paper:qp.oneOfType([qp.func,qp.object]),popper:qp.oneOfType([qp.func,qp.object]),popupIndicator:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({listbox:qp.elementType,paper:qp.elementType,popper:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),value:Hg(qp.any,e=>e.multiple&&void 0!==e.value&&!Array.isArray(e.value)?new Error(["MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.",`However, ${e.value} was provided.`].join("\n")):null)});var Xw=jg(e("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 Yw(e){return Qf("MuiAvatar",e)}const Zw=em("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),Jw=Cg("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],o.colorDefault&&t.colorDefault]}})(Pg(({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]})}}}]}))),Qw=Cg("img",{name:"MuiAvatar",slot:"Img"})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),eS=Cg(Xw,{name:"MuiAvatar",slot:"Fallback"})({width:"75%",height:"75%"}),tS=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiAvatar"}),{alt:i,children:a,className:s,component:l="div",slots:c={},slotProps:p={},imgProps:d,sizes:u,src:f,srcSet:m,variant:h="circular",...g}=n;let y=null;const b={...n,component:l,variant:h},v=function({crossOrigin:e,referrerPolicy:t,src:o,srcSet:n}){const[i,a]=r.useState(!1);return r.useEffect(()=>{if(!o&&!n)return;a(!1);let r=!0;const i=new Image;return i.onload=()=>{r&&a("loaded")},i.onerror=()=>{r&&a("error")},i.crossOrigin=e,i.referrerPolicy=t,i.src=o,n&&(i.srcset=n),()=>{r=!1}},[e,t,o,n]),i}({...d,..."function"==typeof p.img?p.img(b):p.img,src:f,srcSet:m}),x=f||m,w=x&&"error"!==v;b.colorDefault=!w,delete b.ownerState;const S=(e=>{const{classes:t,variant:o,colorDefault:n}=e;return nh({root:["root",o,n&&"colorDefault"],img:["img"],fallback:["fallback"]},Yw,t)})(b),[T,O]=Ay("root",{ref:o,className:Yf(S.root,s),elementType:Jw,externalForwardedProps:{slots:c,slotProps:p,component:l,...g},ownerState:b}),[C,k]=Ay("img",{className:S.img,elementType:Qw,externalForwardedProps:{slots:c,slotProps:{img:{...d,...p.img}}},additionalProps:{alt:i,src:f,srcSet:m,sizes:u},ownerState:b}),[E,P]=Ay("fallback",{className:S.fallback,elementType:eS,externalForwardedProps:{slots:c,slotProps:p},shouldForwardComponentProp:!0,ownerState:b});return y=w?e(C,{...k}):a||0===a?a:x&&i?i[0]:e(E,{...P}),e(T,{...O,children:y})});function oS(e){return Qf("MuiAvatarGroup",e)}"production"!==process.env.NODE_ENV&&(tS.propTypes={alt:qp.string,children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,imgProps:qp.object,sizes:qp.string,slotProps:qp.shape({fallback:qp.oneOfType([qp.func,qp.object]),img:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({fallback:qp.elementType,img:qp.elementType,root:qp.elementType}),src:qp.string,srcSet:qp.string,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),variant:qp.oneOfType([qp.oneOf(["circular","rounded","square"]),qp.string])});const nS=em("MuiAvatarGroup",["root","avatar"]),rS={small:-16,medium:-8},iS=Cg("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,t)=>[{[`& .${nS.avatar}`]:t.avatar},t.root]})(Pg(({theme:e})=>({display:"flex",flexDirection:"row-reverse",[`& .${Zw.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:"var(--AvatarGroup-spacing, -8px)","&:last-child":{marginLeft:0}}}))),aS=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiAvatarGroup"}),{children:a,className:s,component:l="div",componentsProps:c,max:p=5,renderSurplus:d,slotProps:u={},slots:f={},spacing:m="medium",total:h,variant:g="circular",...y}=i;let b=p<2?2:p;const v={...i,max:p,spacing:m,component:l,variant:g},x=(e=>{const{classes:t}=e;return nh({root:["root"],avatar:["avatar"]},oS,t)})(v),w=r.Children.toArray(a).filter(e=>("production"!==process.env.NODE_ENV&&qd.isFragment(e),r.isValidElement(e))),S=h||w.length;S===b&&(b+=1),b=Math.min(S+1,b);const T=Math.min(w.length,b-1),O=Math.max(S-b,S-T,0),C=d?d(O):`+${O}`;let k;k=v.spacing&&void 0!==rS[v.spacing]?rS[v.spacing]:0===v.spacing?0:-v.spacing||rS.medium;const E={slots:f,slotProps:{surplus:u.additionalAvatar??c?.additionalAvatar,...c,...u}},[P,N]=Ay("surplus",{elementType:tS,externalForwardedProps:E,className:x.avatar,ownerState:v,additionalProps:{variant:g}});return t(iS,{as:l,ownerState:v,className:Yf(x.root,s),ref:n,...y,style:{"--AvatarGroup-spacing":`${k}px`,...y.style},children:[O?e(P,{...N,children:C}):null,w.slice(0,T).reverse().map(e=>r.cloneElement(e,{className:Yf(e.props.className,x.avatar),variant:e.props.variant||g}))]})});function sS(e,t,o,n,r){const i=e[t],a=r||t;if(null==i||"undefined"==typeof window)return null;let s;const l=i.type;return"function"!=typeof l||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(l)||(s="Did you accidentally use a plain function component for an element instead?"),void 0!==s?new Error(`Invalid ${n} \`${a}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}"production"!==process.env.NODE_ENV&&(aS.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,componentsProps:qp.shape({additionalAvatar:qp.object}),max:Hg(qp.number,e=>e.max<2?new Error(["MUI: The prop `max` should be equal to 2 or above.","A value below is clamped to 2."].join("\n")):null),renderSurplus:qp.func,slotProps:qp.shape({additionalAvatar:qp.object,surplus:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({surplus:qp.elementType}),spacing:qp.oneOfType([qp.oneOf(["medium","small"]),qp.number]),style:qp.object,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),total:qp.number,variant:qp.oneOfType([qp.oneOf(["circular","rounded","square"]),qp.string])});const lS=Hg(qp.element,sS);lS.isRequired=Hg(qp.element.isRequired,sS);const cS={entering:{opacity:1},entered:{opacity:1}},pS=r.forwardRef(function(t,o){const n=Sg(),i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,easing:c,in:p,onEnter:d,onEntered:u,onEntering:f,onExit:m,onExited:h,onExiting:g,style:y,timeout:b=i,TransitionComponent:v=ry,...x}=t,w=r.useRef(null),S=Wg(w,Wx(l),o),T=e=>t=>{if(e){const o=w.current;void 0===t?e(o):e(o,t)}},O=T(f),C=T((e,t)=>{Ey(e);const o=Py({style:y,timeout:b,easing:c},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",o),e.style.transition=n.transitions.create("opacity",o),d&&d(e,t)}),k=T(u),E=T(g),P=T(e=>{const t=Py({style:y,timeout:b,easing:c},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),m&&m(e)}),N=T(h);return e(v,{appear:s,in:p,nodeRef:w,onEnter:C,onEntered:k,onEntering:O,onExit:P,onExited:N,onExiting:E,addEndListener:e=>{a&&a(w.current,e)},timeout:b,...x,children:(e,{ownerState:t,...o})=>r.cloneElement(l,{style:{opacity:0,visibility:"exited"!==e||p?void 0:"hidden",...cS[e],...y,...l.props.style},ref:S,...o})})});function dS(e){return Qf("MuiBackdrop",e)}"production"!==process.env.NODE_ENV&&(pS.propTypes={addEndListener:qp.func,appear:qp.bool,children:lS.isRequired,easing:qp.oneOfType([qp.shape({enter:qp.string,exit:qp.string}),qp.string]),in:qp.bool,onEnter:qp.func,onEntered:qp.func,onEntering:qp.func,onExit:qp.func,onExited:qp.func,onExiting:qp.func,style:qp.object,timeout:qp.oneOfType([qp.number,qp.shape({appear:qp.number,enter:qp.number,exit:qp.number})])}),em("MuiBackdrop",["root","invisible"]);const uS=Cg("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.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"}}]}),fS=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiBackdrop"}),{children:r,className:i,component:a="div",invisible:s=!1,open:l,components:c={},componentsProps:p={},slotProps:d={},slots:u={},TransitionComponent:f,transitionDuration:m,...h}=n,g={...n,component:a,invisible:s},y=(e=>{const{classes:t,invisible:o}=e;return nh({root:["root",o&&"invisible"]},dS,t)})(g),b={component:a,slots:{transition:f,root:c.Root,...u},slotProps:{...p,...d}},[v,x]=Ay("root",{elementType:uS,externalForwardedProps:b,className:Yf(y.root,i),ownerState:g}),[w,S]=Ay("transition",{elementType:pS,externalForwardedProps:b,ownerState:g});return e(w,{in:l,timeout:m,...h,...S,children:e(v,{"aria-hidden":!0,...x,ref:o,children:r})})});function mS(e){return Qf("MuiBadge",e)}"production"!==process.env.NODE_ENV&&(fS.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,components:qp.shape({Root:qp.elementType}),componentsProps:qp.shape({root:qp.object}),invisible:qp.bool,open:qp.bool.isRequired,slotProps:qp.shape({root:qp.oneOfType([qp.func,qp.object]),transition:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({root:qp.elementType,transition:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),TransitionComponent:qp.elementType,transitionDuration:qp.oneOfType([qp.number,qp.shape({appear:qp.number,enter:qp.number,exit:qp.number})])});const hS=em("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"]),gS=Cg("span",{name:"MuiBadge",slot:"Root"})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),yS=Cg("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.badge,t[o.variant],t[`anchorOrigin${Cu(o.anchorOrigin.vertical)}${Cu(o.anchorOrigin.horizontal)}${Cu(o.overlap)}`],"default"!==o.color&&t[`color${Cu(o.color)}`],o.invisible&&t.invisible]}})(Pg(({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:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.entries(e.palette).filter(Nb(["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:4,height:8,minWidth:8,padding:0}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${hS.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${hS.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${hS.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${hS.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${hS.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${hS.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${hS.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${hS.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]})));function bS(e){return{vertical:e?.vertical??"top",horizontal:e?.horizontal??"right"}}const vS=r.forwardRef(function(o,n){const r=Ng({props:o,name:"MuiBadge"}),{anchorOrigin:i,className:a,classes:s,component:l,components:c={},componentsProps:p={},children:d,overlap:u="rectangular",color:f="default",invisible:m=!1,max:h=99,badgeContent:g,slots:y,slotProps:b,showZero:v=!1,variant:x="standard",...w}=r,{badgeContent:S,invisible:T,max:O,displayValue:C}=function(e){const{badgeContent:t,invisible:o=!1,max:n=99,showZero:r=!1}=e,i=vv({badgeContent:t,max:n});let a=o;!1!==o||0!==t||r||(a=!0);const{badgeContent:s,max:l=n}=a?i:e;return{badgeContent:s,invisible:a,max:l,displayValue:s&&Number(s)>l?`${l}+`:s}}({max:h,invisible:m,badgeContent:g,showZero:v}),k=vv({anchorOrigin:bS(i),color:f,overlap:u,variant:x,badgeContent:g}),E=T||null==S&&"dot"!==x,{color:P=f,overlap:N=u,anchorOrigin:R,variant:M=x}=E?k:r,$=bS(R),j="dot"!==M?C:void 0,I={...r,badgeContent:S,invisible:E,max:O,displayValue:j,showZero:v,anchorOrigin:$,color:P,overlap:N,variant:M},A=(e=>{const{color:t,anchorOrigin:o,invisible:n,overlap:r,variant:i,classes:a={}}=e;return nh({root:["root"],badge:["badge",i,n&&"invisible",`anchorOrigin${Cu(o.vertical)}${Cu(o.horizontal)}`,`anchorOrigin${Cu(o.vertical)}${Cu(o.horizontal)}${Cu(r)}`,`overlap${Cu(r)}`,"default"!==t&&`color${Cu(t)}`]},mS,a)})(I),L={slots:{root:y?.root??c.Root,badge:y?.badge??c.Badge},slotProps:{root:b?.root??p.root,badge:b?.badge??p.badge}},[B,D]=Ay("root",{elementType:gS,externalForwardedProps:{...L,...w},ownerState:I,className:Yf(A.root,a),ref:n,additionalProps:{as:l}}),[z,V]=Ay("badge",{elementType:yS,externalForwardedProps:L,ownerState:I,className:A.badge});return t(B,{...D,children:[d,e(z,{...V,children:j})]})});function xS(e){return Qf("MuiBottomNavigation",e)}"production"!==process.env.NODE_ENV&&(vS.propTypes={anchorOrigin:qp.shape({horizontal:qp.oneOf(["left","right"]),vertical:qp.oneOf(["bottom","top"])}),badgeContent:qp.node,children:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["default","primary","secondary","error","info","success","warning"]),qp.string]),component:qp.elementType,components:qp.shape({Badge:qp.elementType,Root:qp.elementType}),componentsProps:qp.shape({badge:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object])}),invisible:qp.bool,max:qp.number,overlap:qp.oneOf(["circular","rectangular"]),showZero:qp.bool,slotProps:qp.shape({badge:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({badge:qp.elementType,root:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),variant:qp.oneOfType([qp.oneOf(["dot","standard"]),qp.string])}),em("MuiBottomNavigation",["root"]);const wS=Cg("div",{name:"MuiBottomNavigation",slot:"Root"})(Pg(({theme:e})=>({display:"flex",justifyContent:"center",height:56,backgroundColor:(e.vars||e).palette.background.paper}))),SS=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiBottomNavigation"}),{children:i,className:a,component:s="div",onChange:l,showLabels:c=!1,value:p,...d}=n,u={...n,component:s,showLabels:c},f=(e=>{const{classes:t}=e;return nh({root:["root"]},xS,t)})(u);return e(wS,{as:s,className:Yf(f.root,a),ref:o,ownerState:u,...d,children:r.Children.map(i,(e,t)=>{if(!r.isValidElement(e))return null;"production"!==process.env.NODE_ENV&&qd.isFragment(e);const o=void 0===e.props.value?t:e.props.value;return r.cloneElement(e,{selected:o===p,showLabel:void 0!==e.props.showLabel?e.props.showLabel:c,value:o,onChange:l})})})});function TS(e){return Qf("MuiBottomNavigationAction",e)}"production"!==process.env.NODE_ENV&&(SS.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,onChange:qp.func,showLabels:qp.bool,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),value:qp.any});const OS=em("MuiBottomNavigationAction",["root","iconOnly","selected","label"]),CS=Cg(wb,{name:"MuiBottomNavigationAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.showLabel&&!o.selected&&t.iconOnly]}})(Pg(({theme:e})=>({transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),padding:"0px 12px",minWidth:80,maxWidth:168,color:(e.vars||e).palette.text.secondary,flexDirection:"column",flex:"1",[`&.${OS.selected}`]:{color:(e.vars||e).palette.primary.main},variants:[{props:({showLabel:e,selected:t})=>!e&&!t,style:{paddingTop:14}},{props:({showLabel:e,selected:t,label:o})=>!e&&!t&&!o,style:{paddingTop:0}}]}))),kS=Cg("span",{name:"MuiBottomNavigationAction",slot:"Label"})(Pg(({theme:e})=>({fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s",[`&.${OS.selected}`]:{fontSize:e.typography.pxToRem(14)},variants:[{props:({showLabel:e,selected:t})=>!e&&!t,style:{opacity:0,transitionDelay:"0s"}}]}))),ES=r.forwardRef(function(o,n){const r=Ng({props:o,name:"MuiBottomNavigationAction"}),{className:i,icon:a,label:s,onChange:l,onClick:c,selected:p,showLabel:d,value:u,slots:f={},slotProps:m={},...h}=r,g=r,y=(e=>{const{classes:t,showLabel:o,selected:n}=e;return nh({root:["root",!o&&!n&&"iconOnly",n&&"selected"],label:["label",!o&&!n&&"iconOnly",n&&"selected"]},TS,t)})(g),b={slots:f,slotProps:m},[v,x]=Ay("root",{elementType:CS,externalForwardedProps:{...b,...h},shouldForwardComponentProp:!0,ownerState:g,ref:n,className:Yf(y.root,i),additionalProps:{focusRipple:!0},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),(e=>{l&&l(e,u),c&&c(e)})(t)}})}),[w,S]=Ay("label",{elementType:kS,externalForwardedProps:b,ownerState:g,className:y.label});return t(v,{...x,children:[a,e(w,{...S,children:s})]})});"production"!==process.env.NODE_ENV&&(ES.propTypes={children:zg,classes:qp.object,className:qp.string,icon:qp.node,label:qp.node,onChange:qp.func,onClick:qp.func,showLabel:qp.bool,slotProps:qp.shape({label:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({label:qp.elementType,root:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),value:qp.any});const PS=em("MuiBox",["root"]),NS=xg(),RS=Zf({themeId:Rl,defaultTheme:NS,defaultClassName:PS.root,generateClassName:Kf.generate});"production"!==process.env.NODE_ENV&&(RS.propTypes={children:qp.node,component:qp.elementType,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});var MS=jg(e("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");const $S=Cg(wb,{name:"MuiBreadcrumbCollapsed"})(Pg(({theme:e})=>({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`,..."light"===e.palette.mode?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},borderRadius:2,"&:hover, &:focus":{..."light"===e.palette.mode?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}},"&:active":{boxShadow:e.shadows[0],..."light"===e.palette.mode?{backgroundColor:$m(e.palette.grey[200],.12)}:{backgroundColor:$m(e.palette.grey[600],.12)}}}))),jS=Cg(MS)({width:24,height:16});function IS(t){const{slots:o={},slotProps:n={},...r}=t,i=t;return e("li",{children:e($S,{focusRipple:!0,...r,ownerState:i,children:e(jS,{as:o.CollapsedIcon,ownerState:i,...n.collapsedIcon})})})}function AS(e){return Qf("MuiBreadcrumbs",e)}"production"!==process.env.NODE_ENV&&(IS.propTypes={slotProps:qp.shape({collapsedIcon:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({CollapsedIcon:qp.elementType}),sx:qp.object});const LS=em("MuiBreadcrumbs",["root","ol","li","separator"]),BS=Cg(dv,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${LS.li}`]:t.li},t.root]})({}),DS=Cg("ol",{name:"MuiBreadcrumbs",slot:"Ol"})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),zS=Cg("li",{name:"MuiBreadcrumbs",slot:"Separator"})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function VS(t,o,n,r){return t.reduce((i,a,s)=>(s<t.length-1?i=i.concat(a,e(zS,{"aria-hidden":!0,className:o,ownerState:r,children:n},`separator-${s}`)):i.push(a),i),[])}const FS=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiBreadcrumbs"}),{children:i,className:a,component:s="nav",slots:l={},slotProps:c={},expandText:p="Show path",itemsAfterCollapse:d=1,itemsBeforeCollapse:u=1,maxItems:f=8,separator:m="/",...h}=n,[g,y]=r.useState(!1),b={...n,component:s,expanded:g,expandText:p,itemsAfterCollapse:d,itemsBeforeCollapse:u,maxItems:f,separator:m},v=(e=>{const{classes:t}=e;return nh({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},AS,t)})(b),x=Fx({elementType:l.CollapsedIcon,externalSlotProps:c.collapsedIcon,ownerState:b}),w=r.useRef(null),S=r.Children.toArray(i).filter(e=>("production"!==process.env.NODE_ENV&&qd.isFragment(e),r.isValidElement(e))).map((t,o)=>e("li",{className:v.li,children:t},`child-${o}`));return e(BS,{ref:o,component:s,color:"textSecondary",className:Yf(v.root,a),ownerState:b,...h,children:e(DS,{className:v.ol,ref:w,ownerState:b,children:VS(g||f&&S.length<=f?S:(t=>u+d>=t.length?(process.env.NODE_ENV,t):[...t.slice(0,u),e(IS,{"aria-label":p,slots:{CollapsedIcon:l.CollapsedIcon},slotProps:{collapsedIcon:x},onClick:()=>{y(!0);const e=w.current.querySelector("a[href],button,[tabindex]");e&&e.focus()}},"ellipsis"),...t.slice(t.length-d,t.length)])(S),v.separator,m,b)})})});function WS(e){return Qf("MuiButton",e)}"production"!==process.env.NODE_ENV&&(FS.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,expandText:qp.string,itemsAfterCollapse:Hy,itemsBeforeCollapse:Hy,maxItems:Hy,separator:qp.node,slotProps:qp.shape({collapsedIcon:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({CollapsedIcon:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const _S=em("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"]),HS=r.createContext({});"production"!==process.env.NODE_ENV&&(HS.displayName="ButtonGroupContext");const qS=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(qS.displayName="ButtonGroupButtonContext");const US=[{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}}}],GS=Cg(wb,{shouldForwardProp:e=>Og(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`${o.variant}${Cu(o.color)}`],t[`size${Cu(o.size)}`],t[`${o.variant}Size${Cu(o.size)}`],"inherit"===o.color&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth,o.loading&&t.loading]}})(Pg(({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],o="light"===e.palette.mode?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"},[`&.${_S.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{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]},[`&.${_S.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${_S.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)",[`&.${_S.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(Nb()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].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:o,"--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"},[`&.${_S.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${_S.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}),[`&.${_S.loading}`]:{color:"transparent"}}}]}})),KS=Cg("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.startIcon,o.loading&&t.startIconLoadingStart,t[`iconSize${Cu(o.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}},...US]})),XS=Cg("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.endIcon,o.loading&&t.endIconLoadingEnd,t[`iconSize${Cu(o.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}},...US]})),YS=Cg("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}}]})),ZS=Cg("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),JS=r.forwardRef(function(o,n){const i=r.useContext(HS),a=r.useContext(qS),s=Ng({props:hm(i,o),name:"MuiButton"}),{children:l,color:c="primary",component:p="button",className:d,disabled:u=!1,disableElevation:f=!1,disableFocusRipple:m=!1,endIcon:h,focusVisibleClassName:g,fullWidth:y=!1,id:b,loading:v=null,loadingIndicator:x,loadingPosition:w="center",size:S="medium",startIcon:T,type:O,variant:C="text",...k}=s,E=Gm(b),P=x??e(Wb,{"aria-labelledby":E,color:"inherit",size:16}),N={...s,color:c,component:p,disabled:u,disableElevation:f,disableFocusRipple:m,fullWidth:y,loading:v,loadingIndicator:P,loadingPosition:w,size:S,type:O,variant:C},R=(e=>{const{color:t,disableElevation:o,fullWidth:n,size:r,variant:i,loading:a,loadingPosition:s,classes:l}=e,c=nh({root:["root",a&&"loading",i,`${i}${Cu(t)}`,`size${Cu(r)}`,`${i}Size${Cu(r)}`,`color${Cu(t)}`,o&&"disableElevation",n&&"fullWidth",a&&`loadingPosition${Cu(s)}`],startIcon:["icon","startIcon",`iconSize${Cu(r)}`],endIcon:["icon","endIcon",`iconSize${Cu(r)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},WS,l);return{...l,...c}})(N),M=(T||v&&"start"===w)&&e(KS,{className:R.startIcon,ownerState:N,children:T||e(ZS,{className:R.loadingIconPlaceholder,ownerState:N})}),$=(h||v&&"end"===w)&&e(XS,{className:R.endIcon,ownerState:N,children:h||e(ZS,{className:R.loadingIconPlaceholder,ownerState:N})}),j=a||"",I="boolean"==typeof v?e("span",{className:R.loadingWrapper,style:{display:"contents"},children:v&&e(YS,{className:R.loadingIndicator,ownerState:N,children:P})}):null;return t(GS,{ownerState:N,className:Yf(i.className,R.root,d,j),component:p,disabled:u||v,focusRipple:!m,focusVisibleClassName:Yf(R.focusVisible,g),ref:n,type:O,id:v?E:b,...k,classes:R,children:[M,"end"!==w&&I,l,"end"===w&&I,$]})});function QS(e){return r.Children.toArray(e).filter(e=>r.isValidElement(e))}function eT(e){return Qf("MuiButtonGroup",e)}"production"!==process.env.NODE_ENV&&(JS.propTypes={children:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["inherit","primary","secondary","success","error","info","warning"]),qp.string]),component:qp.elementType,disabled:qp.bool,disableElevation:qp.bool,disableFocusRipple:qp.bool,disableRipple:qp.bool,endIcon:qp.node,focusVisibleClassName:qp.string,fullWidth:qp.bool,href:qp.string,id:qp.string,loading:qp.bool,loadingIndicator:qp.node,loadingPosition:qp.oneOf(["center","end","start"]),size:qp.oneOfType([qp.oneOf(["small","medium","large"]),qp.string]),startIcon:qp.node,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),type:qp.oneOfType([qp.oneOf(["button","reset","submit"]),qp.string]),variant:qp.oneOfType([qp.oneOf(["contained","outlined","text"]),qp.string])});const tT=em("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","horizontal","vertical","colorPrimary","colorSecondary","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]),oT=Cg("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${tT.grouped}`]:t.grouped},{[`& .${tT.grouped}`]:t[`grouped${Cu(o.orientation)}`]},{[`& .${tT.grouped}`]:t[`grouped${Cu(o.variant)}`]},{[`& .${tT.grouped}`]:t[`grouped${Cu(o.variant)}${Cu(o.orientation)}`]},{[`& .${tT.grouped}`]:t[`grouped${Cu(o.variant)}${Cu(o.color)}`]},{[`& .${tT.firstButton}`]:t.firstButton},{[`& .${tT.lastButton}`]:t.lastButton},{[`& .${tT.middleButton}`]:t.middleButton},t.root,t[o.variant],!0===o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth,"vertical"===o.orientation&&t.vertical]}})(Pg(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{variant:"contained"},style:{boxShadow:(e.vars||e).shadows[2],[`& .${tT.grouped}`]:{boxShadow:"none","&:hover":{boxShadow:"none"}}}},{props:{disableElevation:!0},style:{boxShadow:"none"}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${tT.lastButton},& .${tT.middleButton}`]:{borderTopRightRadius:0,borderTopLeftRadius:0},[`& .${tT.firstButton},& .${tT.middleButton}`]:{borderBottomRightRadius:0,borderBottomLeftRadius:0}}},{props:{orientation:"horizontal"},style:{[`& .${tT.firstButton},& .${tT.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${tT.lastButton},& .${tT.middleButton}`]:{borderTopLeftRadius:0,borderBottomLeftRadius:0}}},{props:{variant:"text",orientation:"horizontal"},style:{[`& .${tT.firstButton},& .${tT.middleButton}`]:{borderRight:e.vars?`1px solid ${e.alpha(e.vars.palette.common.onBackground,.23)}`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${tT.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"text",orientation:"vertical"},style:{[`& .${tT.firstButton},& .${tT.middleButton}`]:{borderBottom:e.vars?`1px solid ${e.alpha(e.vars.palette.common.onBackground,.23)}`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${tT.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter(Nb()).flatMap(([t])=>[{props:{variant:"text",color:t},style:{[`& .${tT.firstButton},& .${tT.middleButton}`]:{borderColor:e.alpha((e.vars||e).palette[t].main,.5)}}}]),{props:{variant:"outlined",orientation:"horizontal"},style:{[`& .${tT.firstButton},& .${tT.middleButton}`]:{borderRightColor:"transparent","&:hover":{borderRightColor:"currentColor"}},[`& .${tT.lastButton},& .${tT.middleButton}`]:{marginLeft:-1}}},{props:{variant:"outlined",orientation:"vertical"},style:{[`& .${tT.firstButton},& .${tT.middleButton}`]:{borderBottomColor:"transparent","&:hover":{borderBottomColor:"currentColor"}},[`& .${tT.lastButton},& .${tT.middleButton}`]:{marginTop:-1}}},{props:{variant:"contained",orientation:"horizontal"},style:{[`& .${tT.firstButton},& .${tT.middleButton}`]:{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${tT.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"contained",orientation:"vertical"},style:{[`& .${tT.firstButton},& .${tT.middleButton}`]:{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${tT.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter(Nb(["dark"])).map(([t])=>({props:{variant:"contained",color:t},style:{[`& .${tT.firstButton},& .${tT.middleButton}`]:{borderColor:(e.vars||e).palette[t].dark}}}))],[`& .${tT.grouped}`]:{minWidth:40}}))),nT=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiButtonGroup"}),{children:i,className:a,color:s="primary",component:l="div",disabled:c=!1,disableElevation:p=!1,disableFocusRipple:d=!1,disableRipple:u=!1,fullWidth:f=!1,orientation:m="horizontal",size:h="medium",variant:g="outlined",...y}=n,b={...n,color:s,component:l,disabled:c,disableElevation:p,disableFocusRipple:d,disableRipple:u,fullWidth:f,orientation:m,size:h,variant:g},v=(e=>{const{classes:t,color:o,disabled:n,disableElevation:r,fullWidth:i,orientation:a,variant:s}=e;return nh({root:["root",s,a,i&&"fullWidth",r&&"disableElevation",`color${Cu(o)}`],grouped:["grouped",`grouped${Cu(a)}`,`grouped${Cu(s)}`,`grouped${Cu(s)}${Cu(a)}`,`grouped${Cu(s)}${Cu(o)}`,n&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]},eT,t)})(b),x=r.useMemo(()=>({className:v.grouped,color:s,disabled:c,disableElevation:p,disableFocusRipple:d,disableRipple:u,fullWidth:f,size:h,variant:g}),[s,c,p,d,u,f,h,g,v.grouped]),w=QS(i),S=w.length,T=e=>{const t=0===e,o=e===S-1;return t&&o?"":t?v.firstButton:o?v.lastButton:v.middleButton};return e(oT,{as:l,role:"group",className:Yf(v.root,a),ref:o,ownerState:b,...y,children:e(HS.Provider,{value:x,children:w.map((t,o)=>e(qS.Provider,{value:T(o),children:t},o))})})});function rT(e){return Qf("MuiCard",e)}"production"!==process.env.NODE_ENV&&(nT.propTypes={children:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["inherit","primary","secondary","error","info","success","warning"]),qp.string]),component:qp.elementType,disabled:qp.bool,disableElevation:qp.bool,disableFocusRipple:qp.bool,disableRipple:qp.bool,fullWidth:qp.bool,orientation:qp.oneOf(["horizontal","vertical"]),size:qp.oneOfType([qp.oneOf(["small","medium","large"]),qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),variant:qp.oneOfType([qp.oneOf(["contained","outlined","text"]),qp.string])}),em("MuiCard",["root"]);const iT=Cg(Gy,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),aT=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiCard"}),{className:r,raised:i=!1,...a}=n,s={...n,raised:i},l=(e=>{const{classes:t}=e;return nh({root:["root"]},rT,t)})(s);return e(iT,{className:Yf(l.root,r),elevation:i?8:void 0,ref:o,ownerState:s,...a})});function sT(e){return Qf("MuiCardActionArea",e)}"production"!==process.env.NODE_ENV&&(aT.propTypes={children:qp.node,classes:qp.object,className:qp.string,raised:Hg(qp.bool,e=>e.raised&&"outlined"===e.variant?new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.'):null),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const lT=em("MuiCardActionArea",["root","focusVisible","focusHighlight"]),cT=Cg(wb,{name:"MuiCardActionArea",slot:"Root"})(Pg(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${lT.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${lT.focusVisible} .${lT.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),pT=Cg("span",{name:"MuiCardActionArea",slot:"FocusHighlight"})(Pg(({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}))),dT=r.forwardRef(function(o,n){const r=Ng({props:o,name:"MuiCardActionArea"}),{children:i,className:a,focusVisibleClassName:s,slots:l={},slotProps:c={},...p}=r,d=r,u=(e=>{const{classes:t}=e;return nh({root:["root"],focusHighlight:["focusHighlight"]},sT,t)})(d),f={slots:l,slotProps:c},[m,h]=Ay("root",{elementType:cT,externalForwardedProps:{...f,...p},shouldForwardComponentProp:!0,ownerState:d,ref:n,className:Yf(u.root,a),additionalProps:{focusVisibleClassName:Yf(s,u.focusVisible)}}),[g,y]=Ay("focusHighlight",{elementType:pT,externalForwardedProps:f,ownerState:d,className:u.focusHighlight});return t(m,{...h,children:[i,e(g,{...y})]})});function uT(e){return Qf("MuiCardActions",e)}"production"!==process.env.NODE_ENV&&(dT.propTypes={children:qp.node,classes:qp.object,className:qp.string,focusVisibleClassName:qp.string,slotProps:qp.shape({focusHighlight:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({focusHighlight:qp.elementType,root:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("MuiCardActions",["root","spacing"]);const fT=Cg("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,variants:[{props:{disableSpacing:!1},style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),mT=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiCardActions"}),{disableSpacing:r=!1,className:i,...a}=n,s={...n,disableSpacing:r},l=(e=>{const{classes:t,disableSpacing:o}=e;return nh({root:["root",!o&&"spacing"]},uT,t)})(s);return e(fT,{className:Yf(l.root,i),ownerState:s,ref:o,...a})});function hT(e){return Qf("MuiCardContent",e)}"production"!==process.env.NODE_ENV&&(mT.propTypes={children:qp.node,classes:qp.object,className:qp.string,disableSpacing:qp.bool,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("MuiCardContent",["root"]);const gT=Cg("div",{name:"MuiCardContent",slot:"Root"})({padding:16,"&:last-child":{paddingBottom:24}}),yT=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiCardContent"}),{className:r,component:i="div",...a}=n,s={...n,component:i},l=(e=>{const{classes:t}=e;return nh({root:["root"]},hT,t)})(s);return e(gT,{as:i,className:Yf(l.root,r),ownerState:s,ref:o,...a})});function bT(e){return Qf("MuiCardHeader",e)}"production"!==process.env.NODE_ENV&&(yT.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const vT=em("MuiCardHeader",["root","avatar","action","content","title","subheader"]),xT=Cg("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>[{[`& .${vT.title}`]:t.title},{[`& .${vT.subheader}`]:t.subheader},t.root]})({display:"flex",alignItems:"center",padding:16}),wT=Cg("div",{name:"MuiCardHeader",slot:"Avatar"})({display:"flex",flex:"0 0 auto",marginRight:16}),ST=Cg("div",{name:"MuiCardHeader",slot:"Action"})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),TT=Cg("div",{name:"MuiCardHeader",slot:"Content"})({flex:"1 1 auto",[`.${av.root}:where(& .${vT.title})`]:{display:"block"},[`.${av.root}:where(& .${vT.subheader})`]:{display:"block"}}),OT=r.forwardRef(function(o,n){const r=Ng({props:o,name:"MuiCardHeader"}),{action:i,avatar:a,component:s="div",disableTypography:l=!1,subheader:c,subheaderTypographyProps:p,title:d,titleTypographyProps:u,slots:f={},slotProps:m={},...h}=r,g={...r,component:s,disableTypography:l},y=(e=>{const{classes:t}=e;return nh({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},bT,t)})(g),b={slots:f,slotProps:{title:u,subheader:p,...m}};let v=d;const[x,w]=Ay("title",{className:y.title,elementType:dv,externalForwardedProps:b,ownerState:g,additionalProps:{variant:a?"body2":"h5",component:"span"}});null==v||v.type===dv||l||(v=e(x,{...w,children:v}));let S=c;const[T,O]=Ay("subheader",{className:y.subheader,elementType:dv,externalForwardedProps:b,ownerState:g,additionalProps:{variant:a?"body2":"body1",color:"textSecondary",component:"span"}});null==S||S.type===dv||l||(S=e(T,{...O,children:S}));const[C,k]=Ay("root",{ref:n,className:y.root,elementType:xT,externalForwardedProps:{...b,...h,component:s},ownerState:g}),[E,P]=Ay("avatar",{className:y.avatar,elementType:wT,externalForwardedProps:b,ownerState:g}),[N,R]=Ay("content",{className:y.content,elementType:TT,externalForwardedProps:b,ownerState:g}),[M,$]=Ay("action",{className:y.action,elementType:ST,externalForwardedProps:b,ownerState:g});return t(C,{...k,children:[a&&e(E,{...P,children:a}),t(N,{...R,children:[v,S]}),i&&e(M,{...$,children:i})]})});function CT(e){return Qf("MuiCardMedia",e)}"production"!==process.env.NODE_ENV&&(OT.propTypes={action:qp.node,avatar:qp.node,children:qp.node,classes:qp.object,component:qp.elementType,disableTypography:qp.bool,slotProps:qp.shape({action:qp.oneOfType([qp.func,qp.object]),avatar:qp.oneOfType([qp.func,qp.object]),content:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object]),subheader:qp.oneOfType([qp.func,qp.object]),title:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({action:qp.elementType,avatar:qp.elementType,content:qp.elementType,root:qp.elementType,subheader:qp.elementType,title:qp.elementType}),subheader:qp.node,subheaderTypographyProps:qp.object,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),title:qp.node,titleTypographyProps:qp.object}),em("MuiCardMedia",["root","media","img"]);const kT=Cg("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e,{isMediaComponent:n,isImageComponent:r}=o;return[t.root,n&&t.media,r&&t.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),ET=["video","audio","picture","iframe","img"],PT=["picture","img"],NT=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiCardMedia"}),{children:r,className:i,component:a="div",image:s,src:l,style:c,...p}=n,d=ET.includes(a),u=!d&&s?{backgroundImage:`url("${s}")`,...c}:c,f={...n,component:a,isMediaComponent:d,isImageComponent:PT.includes(a)},m=(e=>{const{classes:t,isMediaComponent:o,isImageComponent:n}=e;return nh({root:["root",o&&"media",n&&"img"]},CT,t)})(f);return e(kT,{className:Yf(m.root,i),as:a,role:!d&&s?"img":void 0,ref:o,style:u,ownerState:f,src:d?s||l:void 0,...p,children:r})});function RT(e){return Qf("PrivateSwitchBase",e)}"production"!==process.env.NODE_ENV&&(NT.propTypes={children:Hg(qp.node,e=>e.children||e.image||e.src||e.component?null:new Error("MUI: Either `children`, `image`, `src` or `component` prop must be specified.")),classes:qp.object,className:qp.string,component:qp.elementType,image:qp.string,src:qp.string,style:qp.object,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const MT=Cg(wb,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>"start"===e&&"small"!==t.size,style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>"end"===e&&"small"!==t.size,style:{marginRight:-12}}]}),$T=Cg("input",{name:"MuiSwitchBase",shouldForwardProp:Og})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),jT=r.forwardRef(function(o,n){const{autoFocus:r,checked:i,checkedIcon:a,defaultChecked:s,disabled:l,disableFocusRipple:c=!1,edge:p=!1,icon:d,id:u,inputProps:f,inputRef:m,name:h,onBlur:g,onChange:y,onFocus:b,readOnly:v,required:x=!1,tabIndex:w,type:S,value:T,slots:O={},slotProps:C={},...k}=o,[E,P]=Vg({controlled:i,default:Boolean(s),name:"SwitchBase",state:"checked"}),N=mw();let R=l;N&&void 0===R&&(R=N.disabled);const M="checkbox"===S||"radio"===S,$={...o,checked:E,disabled:R,disableFocusRipple:c,edge:p},j=(e=>{const{classes:t,checked:o,disabled:n,edge:r}=e;return nh({root:["root",o&&"checked",n&&"disabled",r&&`edge${Cu(r)}`],input:["input"]},RT,t)})($),I={slots:O,slotProps:{input:f,...C}},[A,L]=Ay("root",{ref:n,elementType:MT,className:j.root,shouldForwardComponentProp:!0,externalForwardedProps:{...I,component:"span",...k},getSlotProps:e=>({...e,onFocus:t=>{e.onFocus?.(t),(e=>{b&&b(e),N&&N.onFocus&&N.onFocus(e)})(t)},onBlur:t=>{e.onBlur?.(t),(e=>{g&&g(e),N&&N.onBlur&&N.onBlur(e)})(t)}}),ownerState:$,additionalProps:{centerRipple:!0,focusRipple:!c,disabled:R,role:void 0,tabIndex:null}}),[B,D]=Ay("input",{ref:m,elementType:$T,className:j.input,externalForwardedProps:I,getSlotProps:e=>({...e,onChange:t=>{e.onChange?.(t),(e=>{if(e.nativeEvent.defaultPrevented||v)return;const t=e.target.checked;P(t),y&&y(e,t)})(t)}}),ownerState:$,additionalProps:{autoFocus:r,checked:i,defaultChecked:s,disabled:R,id:M?u:void 0,name:h,readOnly:v,required:x,tabIndex:w,type:S,..."checkbox"===S&&void 0===T?{}:{value:T}}});return t(A,{...L,children:[e(B,{...D}),E?a:d]})});"production"!==process.env.NODE_ENV&&(jT.propTypes={autoFocus:qp.bool,checked:qp.bool,checkedIcon:qp.node.isRequired,classes:qp.object,className:qp.string,defaultChecked:qp.bool,disabled:qp.bool,disableFocusRipple:qp.bool,edge:qp.oneOf(["end","start",!1]),icon:qp.node.isRequired,id:qp.string,inputProps:qp.object,inputRef:sb,name:qp.string,onBlur:qp.func,onChange:qp.func,onFocus:qp.func,readOnly:qp.bool,required:qp.bool,slotProps:qp.shape({input:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({input:qp.elementType,root:qp.elementType}),sx:qp.object,tabIndex:qp.oneOfType([qp.number,qp.string]),type:qp.string.isRequired,value:qp.any});var IT=jg(e("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"),AT=jg(e("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"),LT=jg(e("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 BT(e){return Qf("MuiCheckbox",e)}const DT=em("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),zT=Cg(jT,{shouldForwardProp:e=>Og(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.indeterminate&&t.indeterminate,t[`size${Cu(o.size)}`],"default"!==o.color&&t[`color${Cu(o.color)}`]]}})(Pg(({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(Nb()).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(Nb()).map(([t])=>({props:{color:t},style:{[`&.${DT.checked}, &.${DT.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${DT.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),VT=e(AT,{}),FT=e(IT,{}),WT=e(LT,{}),_T=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiCheckbox"}),{checkedIcon:i=VT,color:a="primary",icon:s=FT,indeterminate:l=!1,indeterminateIcon:c=WT,inputProps:p,size:d="medium",disableRipple:u=!1,className:f,slots:m={},slotProps:h={},...g}=n,y=l?c:s,b=l?c:i,v={...n,disableRipple:u,color:a,indeterminate:l,size:d},x=(e=>{const{classes:t,indeterminate:o,color:n,size:r}=e,i=nh({root:["root",o&&"indeterminate",`color${Cu(n)}`,`size${Cu(r)}`]},BT,t);return{...t,...i}})(v),w=h.input??p,[S,T]=Ay("root",{ref:o,elementType:zT,className:Yf(x.root,f),shouldForwardComponentProp:!0,externalForwardedProps:{slots:m,slotProps:h,...g},ownerState:v,additionalProps:{type:"checkbox",icon:r.cloneElement(y,{fontSize:y.props.fontSize??d}),checkedIcon:r.cloneElement(b,{fontSize:b.props.fontSize??d}),disableRipple:u,slots:m,slotProps:{input:_g("function"==typeof w?w(v):w,{"data-indeterminate":l})}}});return e(S,{...T,classes:x})});function HT(e){return e.substring(2).toLowerCase()}function qT(e){const{children:t,disableReactTree:o=!1,mouseEvent:n="onClick",onClickAway:i,touchEvent:a="onTouchEnd"}=e,s=r.useRef(!1),l=r.useRef(null),c=r.useRef(!1),p=r.useRef(!1);r.useEffect(()=>(setTimeout(()=>{c.current=!0},0),()=>{c.current=!1}),[]);const d=Wg(Wx(t),l),u=Fg(e=>{const t=p.current;p.current=!1;const n=Ag(l.current);if(!c.current||!l.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,n))return;if(s.current)return void(s.current=!1);let r;r=e.composedPath?e.composedPath().includes(l.current):!n.documentElement.contains(e.target)||l.current.contains(e.target),r||!o&&t||i(e)}),f=e=>o=>{p.current=!0;const n=t.props[e];n&&n(o)},m={ref:d};return!1!==a&&(m[a]=f(a)),r.useEffect(()=>{if(!1!==a){const e=HT(a),t=Ag(l.current),o=()=>{s.current=!0};return t.addEventListener(e,u),t.addEventListener("touchmove",o),()=>{t.removeEventListener(e,u),t.removeEventListener("touchmove",o)}}},[u,a]),!1!==n&&(m[n]=f(n)),r.useEffect(()=>{if(!1!==n){const e=HT(n),t=Ag(l.current);return t.addEventListener(e,u),()=>{t.removeEventListener(e,u)}}},[u,n]),r.cloneElement(t,m)}"production"!==process.env.NODE_ENV&&(_T.propTypes={checked:qp.bool,checkedIcon:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["default","primary","secondary","error","info","success","warning"]),qp.string]),defaultChecked:qp.bool,disabled:qp.bool,disableRipple:qp.bool,icon:qp.node,id:qp.string,indeterminate:qp.bool,indeterminateIcon:qp.node,inputProps:qp.object,onChange:qp.func,required:qp.bool,size:qp.oneOfType([qp.oneOf(["medium","small"]),qp.string]),slotProps:qp.shape({input:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({input:qp.elementType,root:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),value:qp.any}),"production"!==process.env.NODE_ENV&&(qT.propTypes={children:lS.isRequired,disableReactTree:qp.bool,mouseEvent:qp.oneOf(["onClick","onMouseDown","onMouseUp","onPointerDown","onPointerUp",!1]),onClickAway:qp.func.isRequired,touchEvent:qp.oneOf(["onTouchEnd","onTouchStart",!1])}),"production"!==process.env.NODE_ENV&&(qT.propTypes=Am(qT.propTypes));const UT=sh({createStyledComponent:Cg("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`maxWidth${Cu(String(o.maxWidth))}`],o.fixed&&t.fixed,o.disableGutters&&t.disableGutters]}}),useThemeProps:e=>Ng({props:e,name:"MuiContainer"})});"production"!==process.env.NODE_ENV&&(UT.propTypes={children:qp.node,classes:qp.object,component:qp.elementType,disableGutters:qp.bool,fixed:qp.bool,maxWidth:qp.oneOfType([qp.oneOf(["xs","sm","md","lg","xl",!1]),qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"]);const GT=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),KT=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}});function XT(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function YT(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function ZT(e){return parseFloat(Lg(e).getComputedStyle(e).paddingRight)||0}function JT(e,t,o,n,r){const i=[t,o,...n];[].forEach.call(e.children,e=>{const t=!i.includes(e),o=!function(e){const t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),o="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||o}(e);t&&o&&YT(e,r)})}function QT(e,t){let o=-1;return e.some((e,n)=>!!t(e)&&(o=n,!0)),o}function eO(e){let t=e.activeElement;for(;null!=t?.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t}"production"!==process.env.NODE_ENV&&(qp.node,qp.bool);const tO=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function oO(e){const t=[],o=[];return Array.from(e.querySelectorAll(tO)).forEach((e,n)=>{const r=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==r&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let o=t(`[name="${e.name}"]:checked`);return o||(o=t(`[name="${e.name}"]`)),o!==e}(e))}(e)&&(0===r?t.push(e):o.push({documentOrder:n,tabIndex:r,node:e}))}),o.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function nO(){return!0}function rO(o){const{children:n,disableAutoFocus:i=!1,disableEnforceFocus:a=!1,disableRestoreFocus:s=!1,getTabbable:l=oO,isEnabled:c=nO,open:p}=o,d=r.useRef(!1),u=r.useRef(null),f=r.useRef(null),m=r.useRef(null),h=r.useRef(null),g=r.useRef(!1),y=r.useRef(null),b=Wg(Wx(n),y),v=r.useRef(null);r.useEffect(()=>{p&&y.current&&(g.current=!i)},[i,p]),r.useEffect(()=>{if(!p||!y.current)return;const e=eO(Ag(y.current));return y.current.contains(e)||(y.current.hasAttribute("tabIndex")||(process.env.NODE_ENV,y.current.setAttribute("tabIndex","-1")),g.current&&y.current.focus()),()=>{s||(m.current&&m.current.focus&&(d.current=!0,m.current.focus()),m.current=null)}},[p]),r.useEffect(()=>{if(!p||!y.current)return;const e=Ag(y.current),t=t=>{v.current=t,!a&&c()&&"Tab"===t.key&&eO(e)===y.current&&t.shiftKey&&(d.current=!0,f.current&&f.current.focus())},o=()=>{const t=y.current;if(null===t)return;const o=eO(e);if(!e.hasFocus()||!c()||d.current)return void(d.current=!1);if(t.contains(o))return;if(a&&o!==u.current&&o!==f.current)return;if(o!==h.current)h.current=null;else if(null!==h.current)return;if(!g.current)return;let n=[];if(o!==u.current&&o!==f.current||(n=l(y.current)),n.length>0){const e=Boolean(v.current?.shiftKey&&"Tab"===v.current?.key),t=n[0],o=n[n.length-1];"string"!=typeof t&&"string"!=typeof o&&(e?o.focus():t.focus())}else t.focus()};e.addEventListener("focusin",o),e.addEventListener("keydown",t,!0);const n=setInterval(()=>{const t=eO(e);t&&"BODY"===t.tagName&&o()},50);return()=>{clearInterval(n),e.removeEventListener("focusin",o),e.removeEventListener("keydown",t,!0)}},[i,a,s,c,p,l]);const x=e=>{null===m.current&&(m.current=e.relatedTarget),g.current=!0};return t(r.Fragment,{children:[e("div",{tabIndex:p?0:-1,onFocus:x,ref:u,"data-testid":"sentinelStart"}),r.cloneElement(n,{ref:b,onFocus:e=>{null===m.current&&(m.current=e.relatedTarget),g.current=!0,h.current=e.target;const t=n.props.onFocus;t&&t(e)}}),e("div",{tabIndex:p?0:-1,onFocus:x,ref:f,"data-testid":"sentinelEnd"})]})}"production"!==process.env.NODE_ENV&&(rO.propTypes={children:lS,disableAutoFocus:qp.bool,disableEnforceFocus:qp.bool,disableRestoreFocus:qp.bool,getTabbable:qp.func,isEnabled:qp.func,open:qp.bool.isRequired}),"production"!==process.env.NODE_ENV&&(rO.propTypes=Am(rO.propTypes));const iO=()=>{},aO=new class{constructor(){this.modals=[],this.containers=[]}add(e,t){let o=this.modals.indexOf(e);if(-1!==o)return o;o=this.modals.length,this.modals.push(e),e.modalRef&&YT(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);JT(t,e.mount,e.modalRef,n,!0);const r=QT(this.containers,e=>e.container===t);return-1!==r?(this.containers[r].modals.push(e),o):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),o)}mount(e,t){const o=QT(this.containers,t=>t.modals.includes(e)),n=this.containers[o];n.restore||(n.restore=function(e,t){const o=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=Ag(e);return t.body===e?Lg(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=XT(Lg(n));o.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${ZT(n)+e}px`;const t=Ag(n).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{o.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${ZT(t)+e}px`})}let e;if(n.parentNode instanceof DocumentFragment)e=Ag(n).body;else{const t=n.parentElement,o=Lg(n);e="HTML"===t?.nodeName&&"scroll"===o.getComputedStyle(t).overflowY?t:n}o.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{o.forEach(({value:e,el:t,property:o})=>{e?t.style.setProperty(o,e):t.style.removeProperty(o)})}}(n,t))}remove(e,t=!0){const o=this.modals.indexOf(e);if(-1===o)return o;const n=QT(this.containers,t=>t.modals.includes(e)),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(o,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&YT(e.modalRef,t),JT(r.container,e.mount,e.modalRef,r.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=r.modals[r.modals.length-1];e.modalRef&&YT(e.modalRef,!1)}return o}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function sO(e){return Qf("MuiModal",e)}em("MuiModal",["root","hidden","backdrop"]);const lO=Cg("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.open&&o.exited&&t.hidden]}})(Pg(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),cO=Cg(fS,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),pO=r.forwardRef(function(o,n){const i=Ng({name:"MuiModal",props:o}),{BackdropComponent:a=cO,BackdropProps:s,classes:l,className:c,closeAfterTransition:p=!1,children:d,container:u,component:f,components:m={},componentsProps:h={},disableAutoFocus:g=!1,disableEnforceFocus:y=!1,disableEscapeKeyDown:b=!1,disablePortal:v=!1,disableRestoreFocus:x=!1,disableScrollLock:w=!1,hideBackdrop:S=!1,keepMounted:T=!1,onClose:O,onTransitionEnter:C,onTransitionExited:k,open:E,slotProps:P={},slots:N={},theme:R,...M}=i,$={...i,closeAfterTransition:p,disableAutoFocus:g,disableEnforceFocus:y,disableEscapeKeyDown:b,disablePortal:v,disableRestoreFocus:x,disableScrollLock:w,hideBackdrop:S,keepMounted:T},{getRootProps:j,getBackdropProps:I,getTransitionProps:A,portalRef:L,isTopModal:B,exited:D,hasTransition:z}=function(e){const{container:t,disableEscapeKeyDown:o=!1,disableScrollLock:n=!1,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:c,open:p,rootRef:d}=e,u=r.useRef({}),f=r.useRef(null),m=r.useRef(null),h=Wg(m,d),[g,y]=r.useState(!p),b=function(e){return!!e&&e.props.hasOwnProperty("in")}(l);let v=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(v=!1);const x=()=>(u.current.modalRef=m.current,u.current.mount=f.current,u.current),w=()=>{aO.mount(x(),{disableScrollLock:n}),m.current&&(m.current.scrollTop=0)},S=Fg(()=>{const e=function(e){return"function"==typeof e?e():e}(t)||Ag(f.current).body;aO.add(x(),e),m.current&&w()}),T=()=>aO.isTopModal(x()),O=Fg(e=>{f.current=e,e&&(p&&T()?w():m.current&&YT(m.current,v))}),C=r.useCallback(()=>{aO.remove(x(),v)},[v]);r.useEffect(()=>()=>{C()},[C]),r.useEffect(()=>{p?S():b&&i||C()},[p,C,b,i,S]);const k=e=>t=>{e.onKeyDown?.(t),"Escape"===t.key&&229!==t.which&&T()&&(o||(t.stopPropagation(),c&&c(t,"escapeKeyDown")))},E=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&c&&c(t,"backdropClick")};return{getRootProps:(t={})=>{const o=$y(e);delete o.onTransitionEnter,delete o.onTransitionExited;const n={...o,...t};return{role:"presentation",...n,onKeyDown:k(n),ref:h}},getBackdropProps:(e={})=>{const t=e;return{"aria-hidden":!0,...t,onClick:E(t),open:p}},getTransitionProps:()=>({onEnter:kg(()=>{y(!1),a&&a()},l?.props.onEnter??iO),onExited:kg(()=>{y(!0),s&&s(),i&&C()},l?.props.onExited??iO)}),rootRef:h,portalRef:O,isTopModal:T,exited:g,hasTransition:b}}({...$,rootRef:n}),V={...$,exited:D},F=(e=>{const{open:t,exited:o,classes:n}=e;return nh({root:["root",!t&&o&&"hidden"],backdrop:["backdrop"]},sO,n)})(V),W={};if(void 0===d.props.tabIndex&&(W.tabIndex="-1"),z){const{onEnter:e,onExited:t}=A();W.onEnter=e,W.onExited=t}const _={slots:{root:m.Root,backdrop:m.Backdrop,...N},slotProps:{...h,...P}},[H,q]=Ay("root",{ref:n,elementType:lO,externalForwardedProps:{..._,...M,component:f},getSlotProps:j,ownerState:V,className:Yf(c,F?.root,!V.open&&V.exited&&F?.hidden)}),[U,G]=Ay("backdrop",{ref:s?.ref,elementType:a,externalForwardedProps:_,shouldForwardComponentProp:!0,additionalProps:s,getSlotProps:e=>I({...e,onClick:t=>{e?.onClick&&e.onClick(t)}}),className:Yf(s?.className,F?.backdrop),ownerState:V});return T||E||z&&!D?e(_x,{ref:L,container:u,disablePortal:v,children:t(H,{...q,children:[!S&&a?e(U,{...G}):null,e(rO,{disableEnforceFocus:y,disableAutoFocus:g,disableRestoreFocus:x,isEnabled:B,open:E,children:r.cloneElement(d,W)})]})}):null});function dO(e){return Qf("MuiDialog",e)}"production"!==process.env.NODE_ENV&&(pO.propTypes={BackdropComponent:qp.elementType,BackdropProps:qp.object,children:lS.isRequired,classes:qp.object,className:qp.string,closeAfterTransition:qp.bool,component:qp.elementType,components:qp.shape({Backdrop:qp.elementType,Root:qp.elementType}),componentsProps:qp.shape({backdrop:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object])}),container:qp.oneOfType([kv,qp.func]),disableAutoFocus:qp.bool,disableEnforceFocus:qp.bool,disableEscapeKeyDown:qp.bool,disablePortal:qp.bool,disableRestoreFocus:qp.bool,disableScrollLock:qp.bool,hideBackdrop:qp.bool,keepMounted:qp.bool,onClose:qp.func,onTransitionEnter:qp.func,onTransitionExited:qp.func,open:qp.bool.isRequired,slotProps:qp.shape({backdrop:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({backdrop:qp.elementType,root:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const uO=em("MuiDialog",["root","backdrop","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),fO=r.createContext({});"production"!==process.env.NODE_ENV&&(fO.displayName="DialogContext");const mO=Cg(fS,{name:"MuiDialog",slot:"Backdrop"})({zIndex:-1}),hO=Cg(pO,{name:"MuiDialog",slot:"Root"})({"@media print":{position:"absolute !important"}}),gO=Cg("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.container,t[`scroll${Cu(o.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),yO=Cg(Gy,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.paper,t[`scrollPaper${Cu(o.scroll)}`],t[`paperWidth${Cu(String(o.maxWidth))}`],o.fullWidth&&t.paperFullWidth,o.fullScreen&&t.paperFullScreen]}})(Pg(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:e})=>!e.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${uO.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(e=>"xs"!==e).map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${uO.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:e})=>e.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${uO.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),bO=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiDialog"}),i=Sg(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":s,"aria-labelledby":l,"aria-modal":c=!0,BackdropComponent:p,BackdropProps:d,children:u,className:f,disableEscapeKeyDown:m=!1,fullScreen:h=!1,fullWidth:g=!1,maxWidth:y="sm",onClick:b,onClose:v,open:x,PaperComponent:w=Gy,PaperProps:S={},scroll:T="paper",slots:O={},slotProps:C={},TransitionComponent:k=pS,transitionDuration:E=a,TransitionProps:P,...N}=n,R={...n,disableEscapeKeyDown:m,fullScreen:h,fullWidth:g,maxWidth:y,scroll:T},M=(e=>{const{classes:t,scroll:o,maxWidth:n,fullWidth:r,fullScreen:i}=e;return nh({root:["root"],backdrop:["backdrop"],container:["container",`scroll${Cu(o)}`],paper:["paper",`paperScroll${Cu(o)}`,`paperWidth${Cu(String(n))}`,r&&"paperFullWidth",i&&"paperFullScreen"]},dO,t)})(R),$=r.useRef(),j=Gm(l),I=r.useMemo(()=>({titleId:j}),[j]),A={slots:{transition:k,...O},slotProps:{transition:P,paper:S,backdrop:d,...C}},[L,B]=Ay("root",{elementType:hO,shouldForwardComponentProp:!0,externalForwardedProps:A,ownerState:R,className:Yf(M.root,f),ref:o}),[D,z]=Ay("backdrop",{elementType:mO,shouldForwardComponentProp:!0,externalForwardedProps:A,ownerState:R,className:M.backdrop}),[V,F]=Ay("paper",{elementType:yO,shouldForwardComponentProp:!0,externalForwardedProps:A,ownerState:R,className:Yf(M.paper,S.className)}),[W,_]=Ay("container",{elementType:gO,externalForwardedProps:A,ownerState:R,className:M.container}),[H,q]=Ay("transition",{elementType:pS,externalForwardedProps:A,ownerState:R,additionalProps:{appear:!0,in:x,timeout:E,role:"presentation"}});return e(L,{closeAfterTransition:!0,slots:{backdrop:D},slotProps:{backdrop:{transitionDuration:E,as:p,...z}},disableEscapeKeyDown:m,onClose:v,open:x,onClick:e=>{b&&b(e),$.current&&($.current=null,v&&v(e,"backdropClick"))},...B,...N,children:e(H,{...q,children:e(W,{onMouseDown:e=>{$.current=e.target===e.currentTarget},..._,children:e(V,{as:w,elevation:24,role:"dialog","aria-describedby":s,"aria-labelledby":j,"aria-modal":c,...F,children:e(fO.Provider,{value:I,children:u})})})})})});function vO(e){return Qf("MuiDialogActions",e)}"production"!==process.env.NODE_ENV&&(bO.propTypes={"aria-describedby":qp.string,"aria-labelledby":qp.string,"aria-modal":qp.oneOfType([qp.oneOf(["false","true"]),qp.bool]),BackdropComponent:qp.elementType,BackdropProps:qp.object,children:qp.node,classes:qp.object,className:qp.string,disableEscapeKeyDown:qp.bool,fullScreen:qp.bool,fullWidth:qp.bool,maxWidth:qp.oneOfType([qp.oneOf(["xs","sm","md","lg","xl",!1]),qp.string]),onClick:qp.func,onClose:qp.func,open:qp.bool.isRequired,PaperComponent:qp.elementType,PaperProps:qp.object,scroll:qp.oneOf(["body","paper"]),slotProps:qp.shape({backdrop:qp.oneOfType([qp.func,qp.object]),container:qp.oneOfType([qp.func,qp.object]),paper:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object]),transition:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({backdrop:qp.elementType,container:qp.elementType,paper:qp.elementType,root:qp.elementType,transition:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),TransitionComponent:qp.elementType,transitionDuration:qp.oneOfType([qp.number,qp.shape({appear:qp.number,enter:qp.number,exit:qp.number})]),TransitionProps:qp.object}),em("MuiDialogActions",["root","spacing"]);const xO=Cg("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),wO=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiDialogActions"}),{className:r,disableSpacing:i=!1,...a}=n,s={...n,disableSpacing:i},l=(e=>{const{classes:t,disableSpacing:o}=e;return nh({root:["root",!o&&"spacing"]},vO,t)})(s);return e(xO,{className:Yf(l.root,r),ownerState:s,ref:o,...a})});function SO(e){return Qf("MuiDialogContent",e)}function TO(e){return Qf("MuiDialogTitle",e)}"production"!==process.env.NODE_ENV&&(wO.propTypes={children:qp.node,classes:qp.object,className:qp.string,disableSpacing:qp.bool,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("MuiDialogContent",["root","dividers"]);const OO=em("MuiDialogTitle",["root"]),CO=Cg("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.dividers&&t.dividers]}})(Pg(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:e})=>e.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>!e.dividers,style:{[`.${OO.root} + &`]:{paddingTop:0}}}]}))),kO=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiDialogContent"}),{className:r,dividers:i=!1,...a}=n,s={...n,dividers:i},l=(e=>{const{classes:t,dividers:o}=e;return nh({root:["root",o&&"dividers"]},SO,t)})(s);return e(CO,{className:Yf(l.root,r),ownerState:s,ref:o,...a})});function EO(e){return Qf("MuiDialogContentText",e)}"production"!==process.env.NODE_ENV&&(kO.propTypes={children:qp.node,classes:qp.object,className:qp.string,dividers:qp.bool,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("MuiDialogContentText",["root"]);const PO=Cg(dv,{shouldForwardProp:e=>Og(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root"})({}),NO=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiDialogContentText"}),{children:r,className:i,...a}=n,s=(e=>{const{classes:t}=e,o=nh({root:["root"]},EO,t);return{...t,...o}})(a);return e(PO,{component:"p",variant:"body1",color:"textSecondary",ref:o,ownerState:a,className:Yf(s.root,i),...n,classes:s})});"production"!==process.env.NODE_ENV&&(NO.propTypes={children:qp.node,classes:qp.object,className:qp.string,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const RO=Cg(dv,{name:"MuiDialogTitle",slot:"Root"})({padding:"16px 24px",flex:"0 0 auto"}),MO=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiDialogTitle"}),{className:i,id:a,...s}=n,l=n,c=(e=>{const{classes:t}=e;return nh({root:["root"]},TO,t)})(l),{titleId:p=a}=r.useContext(fO);return e(RO,{component:"h2",className:Yf(c.root,i),ownerState:l,ref:o,variant:"h6",id:a??p,...s})});function $O(e){return Qf("MuiDivider",e)}"production"!==process.env.NODE_ENV&&(MO.propTypes={children:qp.node,classes:qp.object,className:qp.string,id:qp.string,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const jO=em("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),IO=Cg("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.absolute&&t.absolute,t[o.variant],o.light&&t.light,"vertical"===o.orientation&&t.vertical,o.flexItem&&t.flexItem,o.children&&t.withChildren,o.children&&"vertical"===o.orientation&&t.withChildrenVertical,"right"===o.textAlign&&"vertical"!==o.orientation&&t.textAlignRight,"left"===o.textAlign&&"vertical"!==o.orientation&&t.textAlignLeft]}})(Pg(({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:e})=>!!e.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:e})=>e.children&&"vertical"!==e.orientation,style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:e})=>"vertical"===e.orientation&&e.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:e})=>"right"===e.textAlign&&"vertical"!==e.orientation,style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:e})=>"left"===e.textAlign&&"vertical"!==e.orientation,style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),AO=Cg("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.wrapper,"vertical"===o.orientation&&t.wrapperVertical]}})(Pg(({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)`}}]}))),LO=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiDivider"}),{absolute:r=!1,children:i,className:a,orientation:s="horizontal",component:l=(i||"vertical"===s?"div":"hr"),flexItem:c=!1,light:p=!1,role:d=("hr"!==l?"separator":void 0),textAlign:u="center",variant:f="fullWidth",...m}=n,h={...n,absolute:r,component:l,flexItem:c,light:p,orientation:s,role:d,textAlign:u,variant:f},g=(e=>{const{absolute:t,children:o,classes:n,flexItem:r,light:i,orientation:a,textAlign:s,variant:l}=e;return nh({root:["root",t&&"absolute",l,i&&"light","vertical"===a&&"vertical",r&&"flexItem",o&&"withChildren",o&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},$O,n)})(h);return e(IO,{as:l,className:Yf(g.root,a),role:d,ref:o,ownerState:h,"aria-orientation":"separator"!==d||"hr"===l&&"vertical"!==s?void 0:s,...m,children:i?e(AO,{className:g.wrapper,ownerState:h,children:i}):null})});function BO(e){return"function"==typeof e?e():e}function DO(e,t,o){const n=function(e,t,o){const n=t.getBoundingClientRect(),r=o&&o.getBoundingClientRect(),i=Lg(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const e=i.getComputedStyle(t);a=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(a&&"none"!==a&&"string"==typeof a){const e=a.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?r?`translateX(${r.right+s-n.left}px)`:`translateX(${i.innerWidth+s-n.left}px)`:"right"===e?r?`translateX(-${n.right-r.left-s}px)`:`translateX(-${n.left+n.width-s}px)`:"up"===e?r?`translateY(${r.bottom+l-n.top}px)`:`translateY(${i.innerHeight+l-n.top}px)`:r?`translateY(-${n.top-r.top+n.height-l}px)`:`translateY(-${n.top+n.height-l}px)`}(e,t,BO(o));n&&(t.style.webkitTransform=n,t.style.transform=n)}LO&&(LO.muiSkipListHighlight=!0),"production"!==process.env.NODE_ENV&&(LO.propTypes={absolute:qp.bool,children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,flexItem:qp.bool,light:qp.bool,orientation:qp.oneOf(["horizontal","vertical"]),role:qp.string,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),textAlign:qp.oneOf(["center","left","right"]),variant:qp.oneOfType([qp.oneOf(["fullWidth","inset","middle"]),qp.string])});const zO=r.forwardRef(function(t,o){const n=Sg(),i={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},a={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:s,appear:l=!0,children:c,container:p,direction:d="down",easing:u=i,in:f,onEnter:m,onEntered:h,onEntering:g,onExit:y,onExited:b,onExiting:v,style:x,timeout:w=a,TransitionComponent:S=ry,...T}=t,O=r.useRef(null),C=Wg(Wx(c),O,o),k=e=>t=>{e&&(void 0===t?e(O.current):e(O.current,t))},E=k((e,t)=>{DO(d,e,p),Ey(e),m&&m(e,t)}),P=k((e,t)=>{const o=Py({timeout:w,style:x,easing:u},{mode:"enter"});e.style.webkitTransition=n.transitions.create("-webkit-transform",{...o}),e.style.transition=n.transitions.create("transform",{...o}),e.style.webkitTransform="none",e.style.transform="none",g&&g(e,t)}),N=k(h),R=k(v),M=k(e=>{const t=Py({timeout:w,style:x,easing:u},{mode:"exit"});e.style.webkitTransition=n.transitions.create("-webkit-transform",t),e.style.transition=n.transitions.create("transform",t),DO(d,e,p),y&&y(e)}),$=k(e=>{e.style.webkitTransition="",e.style.transition="",b&&b(e)}),j=r.useCallback(()=>{O.current&&DO(d,O.current,p)},[d,p]);return r.useEffect(()=>{if(f||"down"===d||"right"===d)return;const e=Ig(()=>{O.current&&DO(d,O.current,p)}),t=Lg(O.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[d,f,p]),r.useEffect(()=>{f||j()},[f,j]),e(S,{nodeRef:O,onEnter:E,onEntered:N,onEntering:P,onExit:M,onExited:$,onExiting:R,addEndListener:e=>{s&&s(O.current,e)},appear:l,in:f,timeout:w,...T,children:(e,{ownerState:t,...o})=>r.cloneElement(c,{ref:C,style:{visibility:"exited"!==e||f?void 0:"hidden",...x,...c.props.style},...o})})});function VO(e){return Qf("MuiDrawer",e)}"production"!==process.env.NODE_ENV&&(zO.propTypes={addEndListener:qp.func,appear:qp.bool,children:lS.isRequired,container:Hg(qp.oneOfType([kv,qp.func]),e=>{if(e.open){const t=BO(e.container);if(t&&1===t.nodeType){const e=t.getBoundingClientRect();if("test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom)return new Error(["MUI: The `container` 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("\n"))}else if(!t||"function"!=typeof t.getBoundingClientRect||null!=t.contextElement&&1!==t.contextElement.nodeType)return new Error(["MUI: The `container` prop provided to the component is invalid.","It should be an HTML element instance."].join("\n"))}return null}),direction:qp.oneOf(["down","left","right","up"]),easing:qp.oneOfType([qp.shape({enter:qp.string,exit:qp.string}),qp.string]),in:qp.bool,onEnter:qp.func,onEntered:qp.func,onEntering:qp.func,onExit:qp.func,onExited:qp.func,onExiting:qp.func,style:qp.object,timeout:qp.oneOfType([qp.number,qp.shape({appear:qp.number,enter:qp.number,exit:qp.number})])}),em("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const FO=(e,t)=>{const{ownerState:o}=e;return[t.root,("permanent"===o.variant||"persistent"===o.variant)&&t.docked,t.modal]},WO=Cg(pO,{name:"MuiDrawer",slot:"Root",overridesResolver:FO})(Pg(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),_O=Cg("div",{shouldForwardProp:Og,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:FO})({flex:"0 0 auto"}),HO=Cg(Gy,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.paper,t[`paperAnchor${Cu(o.anchor)}`],"temporary"!==o.variant&&t[`paperAnchorDocked${Cu(o.anchor)}`]]}})(Pg(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:e})=>"left"===e.anchor&&"temporary"!==e.variant,style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"top"===e.anchor&&"temporary"!==e.variant,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"right"===e.anchor&&"temporary"!==e.variant,style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"bottom"===e.anchor&&"temporary"!==e.variant,style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),qO={left:"right",right:"left",top:"down",bottom:"up"};function UO(e){return["left","right"].includes(e)}function GO({direction:e},t){return"rtl"===e&&UO(t)?qO[t]:t}const KO=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiDrawer"}),i=Sg(),a=Wm(),s={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{anchor:l="left",BackdropProps:c,children:p,className:d,elevation:u=16,hideBackdrop:f=!1,ModalProps:{BackdropProps:m,...h}={},onClose:g,open:y=!1,PaperProps:b={},SlideProps:v,TransitionComponent:x,transitionDuration:w=s,variant:S="temporary",slots:T={},slotProps:O={},...C}=n,k=r.useRef(!1);r.useEffect(()=>{k.current=!0},[]);const E=GO({direction:a?"rtl":"ltr"},l),P=l,N={...n,anchor:P,elevation:u,open:y,variant:S,...C},R=(e=>{const{classes:t,anchor:o,variant:n}=e;return nh({root:["root",`anchor${Cu(o)}`],docked:[("permanent"===n||"persistent"===n)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${Cu(o)}`,"temporary"!==n&&`paperAnchorDocked${Cu(o)}`]},VO,t)})(N),M={slots:{transition:x,...T},slotProps:{paper:b,transition:v,...O,backdrop:_g(O.backdrop||{...c,...m},{transitionDuration:w})}},[$,j]=Ay("root",{ref:o,elementType:WO,className:Yf(R.root,R.modal,d),shouldForwardComponentProp:!0,ownerState:N,externalForwardedProps:{...M,...C,...h},additionalProps:{open:y,onClose:g,hideBackdrop:f,slots:{backdrop:M.slots.backdrop},slotProps:{backdrop:M.slotProps.backdrop}}}),[I,A]=Ay("paper",{elementType:HO,shouldForwardComponentProp:!0,className:Yf(R.paper,b.className),ownerState:N,externalForwardedProps:M,additionalProps:{elevation:"temporary"===S?u:0,square:!0,..."temporary"===S&&{role:"dialog","aria-modal":"true"}}}),[L,B]=Ay("docked",{elementType:_O,ref:o,className:Yf(R.root,R.docked,d),ownerState:N,externalForwardedProps:M,additionalProps:C}),[D,z]=Ay("transition",{elementType:zO,ownerState:N,externalForwardedProps:M,additionalProps:{in:y,direction:qO[E],timeout:w,appear:k.current}}),V=e(I,{...A,children:p});if("permanent"===S)return e(L,{...B,children:V});const F=e(D,{...z,children:V});return"persistent"===S?e(L,{...B,children:F}):e($,{...j,children:F})});function XO(e){return Qf("MuiFab",e)}"production"!==process.env.NODE_ENV&&(KO.propTypes={anchor:qp.oneOf(["bottom","left","right","top"]),BackdropProps:qp.object,children:qp.node,classes:qp.object,className:qp.string,elevation:Hy,hideBackdrop:qp.bool,ModalProps:qp.object,onClose:qp.func,open:qp.bool,PaperProps:qp.object,SlideProps:qp.object,slotProps:qp.shape({backdrop:qp.oneOfType([qp.func,qp.object]),docked:qp.oneOfType([qp.func,qp.object]),paper:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object]),transition:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({backdrop:qp.elementType,docked:qp.elementType,paper:qp.elementType,root:qp.elementType,transition:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),transitionDuration:qp.oneOfType([qp.number,qp.shape({appear:qp.number,enter:qp.number,exit:qp.number})]),variant:qp.oneOf(["permanent","persistent","temporary"])});const YO=em("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),ZO=Cg(wb,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>Og(e)||"classes"===e,overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`size${Cu(o.size)}`],"inherit"===o.color&&t.colorInherit,t[Cu(o.size)],t[o.color]]}})(Pg(({theme:e})=>({...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]:e.palette.getContrastText?.(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"},[`&.${YO.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:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48}},{props:{variant:"extended",size:"small"},style:{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34}},{props:{variant:"extended",size:"medium"},style:{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40}},{props:{color:"inherit"},style:{color:"inherit"}}]})),Pg(({theme:e})=>({variants:[...Object.entries(e.palette).filter(Nb(["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}}}}))]})),Pg(({theme:e})=>({[`&.${YO.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}))),JO=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiFab"}),{children:r,className:i,color:a="default",component:s="button",disabled:l=!1,disableFocusRipple:c=!1,focusVisibleClassName:p,size:d="large",variant:u="circular",...f}=n,m={...n,color:a,component:s,disabled:l,disableFocusRipple:c,size:d,variant:u},h=(e=>{const{color:t,variant:o,classes:n,size:r}=e,i=nh({root:["root",o,`size${Cu(r)}`,"inherit"===t?"colorInherit":t]},XO,n);return{...n,...i}})(m);return e(ZO,{className:Yf(h.root,i),component:s,disabled:l,focusRipple:!c,focusVisibleClassName:Yf(h.focusVisible,p),ownerState:m,ref:o,...f,classes:h,children:r})});"production"!==process.env.NODE_ENV&&(JO.propTypes={children:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["default","error","info","inherit","primary","secondary","success","warning"]),qp.string]),component:qp.elementType,disabled:qp.bool,disableFocusRipple:qp.bool,disableRipple:qp.bool,focusVisibleClassName:qp.string,href:qp.string,size:qp.oneOfType([qp.oneOf(["small","medium","large"]),qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),variant:qp.oneOfType([qp.oneOf(["circular","extended"]),qp.string])});const QO=Cg(Sw,{shouldForwardProp:e=>Og(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[...xw(e,t),!o.disableUnderline&&t.underline]}})(Pg(({theme:e})=>{const t="light"===e.palette.mode,o=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",n=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",r=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:n,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:r,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:n}},[`&.${Mw.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:n},[`&.${Mw.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:e})=>!e.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"},[`&.${Mw.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Mw.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):o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Mw.disabled}, .${Mw.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Mw.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Nb()).map(([t])=>({props:{disableUnderline:!1,color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}})),{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:12}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:12}},{props:({ownerState:e})=>e.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}}]}})),eC=Cg(Tw,{name:"MuiFilledInput",slot:"Input",overridesResolver:ww})(Pg(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?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:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),tC=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiFilledInput"}),{disableUnderline:r=!1,components:i={},componentsProps:a,fullWidth:s=!1,hiddenLabel:l,inputComponent:c="input",multiline:p=!1,slotProps:d,slots:u={},type:f="text",...m}=n,h={...n,disableUnderline:r,fullWidth:s,inputComponent:c,multiline:p,type:f},g=(e=>{const{classes:t,disableUnderline:o,startAdornment:n,endAdornment:r,size:i,hiddenLabel:a,multiline:s}=e,l=nh({root:["root",!o&&"underline",n&&"adornedStart",r&&"adornedEnd","small"===i&&`size${Cu(i)}`,a&&"hiddenLabel",s&&"multiline"],input:["input"]},Rw,t);return{...t,...l}})(n),y={root:{ownerState:h},input:{ownerState:h}},b=d??a?uu(y,d??a):y,v=u.root??i.Root??QO,x=u.input??i.Input??eC;return e(Cw,{slots:{root:v,input:x},slotProps:b,fullWidth:s,inputComponent:c,multiline:p,ref:o,type:f,...m,classes:g})});function oC(e){return Qf("MuiFormControl",e)}"production"!==process.env.NODE_ENV&&(tC.propTypes={autoComplete:qp.string,autoFocus:qp.bool,classes:qp.object,color:qp.oneOfType([qp.oneOf(["primary","secondary"]),qp.string]),components:qp.shape({Input:qp.elementType,Root:qp.elementType}),componentsProps:qp.shape({input:qp.object,root:qp.object}),defaultValue:qp.any,disabled:qp.bool,disableUnderline:qp.bool,endAdornment:qp.node,error:qp.bool,fullWidth:qp.bool,hiddenLabel:qp.bool,id:qp.string,inputComponent:qp.elementType,inputProps:qp.object,inputRef:sb,margin:qp.oneOf(["dense","none"]),maxRows:qp.oneOfType([qp.number,qp.string]),minRows:qp.oneOfType([qp.number,qp.string]),multiline:qp.bool,name:qp.string,onChange:qp.func,placeholder:qp.string,readOnly:qp.bool,required:qp.bool,rows:qp.oneOfType([qp.number,qp.string]),slotProps:qp.shape({input:qp.object,root:qp.object}),slots:qp.shape({input:qp.elementType,root:qp.elementType}),startAdornment:qp.node,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),type:qp.string,value:qp.any}),tC.muiName="Input",em("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const nC=Cg("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`margin${Cu(o.margin)}`],o.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%"}}]}),rC=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiFormControl"}),{children:i,className:a,color:s="primary",component:l="div",disabled:c=!1,error:p=!1,focused:d,fullWidth:u=!1,hiddenLabel:f=!1,margin:m="none",required:h=!1,size:g="medium",variant:y="outlined",...b}=n,v={...n,color:s,component:l,disabled:c,error:p,fullWidth:u,hiddenLabel:f,margin:m,required:h,size:g,variant:y},x=(e=>{const{classes:t,margin:o,fullWidth:n}=e;return nh({root:["root","none"!==o&&`margin${Cu(o)}`,n&&"fullWidth"]},oC,t)})(v),[w,S]=r.useState(()=>{let e=!1;return i&&r.Children.forEach(i,t=>{if(!ch(t,["Input","Select"]))return;const o=ch(t,["Select"])?t.props.input:t;o&&o.props.startAdornment&&(e=!0)}),e}),[T,O]=r.useState(()=>{let e=!1;return i&&r.Children.forEach(i,t=>{ch(t,["Input","Select"])&&(gw(t.props,!0)||gw(t.props.inputProps,!0))&&(e=!0)}),e}),[C,k]=r.useState(!1);c&&C&&k(!1);const E=void 0===d||c?C:d;let P;const N=r.useRef(!1);"production"!==process.env.NODE_ENV&&(P=()=>(N.current,N.current=!0,()=>{N.current=!1}));const R=r.useCallback(()=>{O(!0)},[]),M=r.useCallback(()=>{O(!1)},[]),$=r.useMemo(()=>({adornedStart:w,setAdornedStart:S,color:s,disabled:c,error:p,filled:T,focused:E,fullWidth:u,hiddenLabel:f,size:g,onBlur:()=>{k(!1)},onFocus:()=>{k(!0)},onEmpty:M,onFilled:R,registerEffect:P,required:h,variant:y}),[w,s,c,p,T,E,u,f,P,M,R,h,g,y]);return e(fw.Provider,{value:$,children:e(nC,{as:l,ownerState:v,className:Yf(x.root,a),ref:o,...b,children:i})})});function iC(e){return Qf("MuiFormControlLabel",e)}"production"!==process.env.NODE_ENV&&(rC.propTypes={children:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["primary","secondary","error","info","success","warning"]),qp.string]),component:qp.elementType,disabled:qp.bool,error:qp.bool,focused:qp.bool,fullWidth:qp.bool,hiddenLabel:qp.bool,margin:qp.oneOf(["dense","none","normal"]),required:qp.bool,size:qp.oneOfType([qp.oneOf(["medium","small"]),qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),variant:qp.oneOf(["filled","outlined","standard"])});const aC=em("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),sC=Cg("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${aC.label}`]:t.label},t.root,t[`labelPlacement${Cu(o.labelPlacement)}`]]}})(Pg(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${aC.disabled}`]:{cursor:"default"},[`& .${aC.label}`]:{[`&.${aC.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:e})=>"start"===e||"top"===e||"bottom"===e,style:{marginLeft:16}}]}))),lC=Cg("span",{name:"MuiFormControlLabel",slot:"Asterisk"})(Pg(({theme:e})=>({[`&.${aC.error}`]:{color:(e.vars||e).palette.error.main}}))),cC=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiFormControlLabel"}),{checked:a,className:s,componentsProps:l={},control:c,disabled:p,disableTypography:d,inputRef:u,label:f,labelPlacement:m="end",name:h,onChange:g,required:y,slots:b={},slotProps:v={},value:x,...w}=i,S=mw(),T=p??c.props.disabled??S?.disabled,O=y??c.props.required,C={disabled:T,required:O};["checked","name","onChange","value","inputRef"].forEach(e=>{void 0===c.props[e]&&void 0!==i[e]&&(C[e]=i[e])});const k=uw({props:i,muiFormControl:S,states:["error"]}),E={...i,disabled:T,labelPlacement:m,required:O,error:k.error},P=(e=>{const{classes:t,disabled:o,labelPlacement:n,error:r,required:i}=e;return nh({root:["root",o&&"disabled",`labelPlacement${Cu(n)}`,r&&"error",i&&"required"],label:["label",o&&"disabled"],asterisk:["asterisk",r&&"error"]},iC,t)})(E),N={slots:b,slotProps:{...l,...v}},[R,M]=Ay("typography",{elementType:dv,externalForwardedProps:N,ownerState:E});let $=f;return null==$||$.type===dv||d||($=e(R,{component:"span",...M,className:Yf(P.label,M?.className),children:$})),t(sC,{className:Yf(P.root,s),ownerState:E,ref:n,...w,children:[r.cloneElement(c,C),O?t("div",{children:[$,t(lC,{ownerState:E,"aria-hidden":!0,className:P.asterisk,children:[" ","*"]})]}):$]})});function pC(e){return Qf("MuiFormGroup",e)}"production"!==process.env.NODE_ENV&&(cC.propTypes={checked:qp.bool,classes:qp.object,className:qp.string,componentsProps:qp.shape({typography:qp.object}),control:qp.element.isRequired,disabled:qp.bool,disableTypography:qp.bool,inputRef:sb,label:qp.node,labelPlacement:qp.oneOf(["bottom","end","start","top"]),name:qp.string,onChange:qp.func,required:qp.bool,slotProps:qp.shape({typography:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({typography:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),value:qp.any}),em("MuiFormGroup",["root","row","error"]);const dC=Cg("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),uC=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiFormGroup"}),{className:r,row:i=!1,...a}=n,s=uw({props:n,muiFormControl:mw(),states:["error"]}),l={...n,row:i,error:s.error},c=(e=>{const{classes:t,row:o,error:n}=e;return nh({root:["root",o&&"row",n&&"error"]},pC,t)})(l);return e(dC,{className:Yf(c.root,r),ownerState:l,ref:o,...a})});function fC(e){return Qf("MuiFormHelperText",e)}"production"!==process.env.NODE_ENV&&(uC.propTypes={children:qp.node,classes:qp.object,className:qp.string,row:qp.bool,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const mC=em("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var hC;const gC=Cg("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.size&&t[`size${Cu(o.size)}`],o.contained&&t.contained,o.filled&&t.filled]}})(Pg(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${mC.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${mC.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]}))),yC=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiFormHelperText"}),{children:r,className:i,component:a="p",disabled:s,error:l,filled:c,focused:p,margin:d,required:u,variant:f,...m}=n,h=uw({props:n,muiFormControl:mw(),states:["variant","size","disabled","error","filled","focused","required"]}),g={...n,component:a,contained:"filled"===h.variant||"outlined"===h.variant,variant:h.variant,size:h.size,disabled:h.disabled,error:h.error,filled:h.filled,focused:h.focused,required:h.required};delete g.ownerState;const y=(e=>{const{classes:t,contained:o,size:n,disabled:r,error:i,filled:a,focused:s,required:l}=e;return nh({root:["root",r&&"disabled",i&&"error",n&&`size${Cu(n)}`,o&&"contained",s&&"focused",a&&"filled",l&&"required"]},fC,t)})(g);return e(gC,{as:a,className:Yf(y.root,i),ref:o,...m,ownerState:g,children:" "===r?hC||(hC=e("span",{className:"notranslate","aria-hidden":!0,children:"​"})):r})});function bC(e){return Qf("MuiFormLabel",e)}"production"!==process.env.NODE_ENV&&(yC.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,disabled:qp.bool,error:qp.bool,filled:qp.bool,focused:qp.bool,margin:qp.oneOf(["dense"]),required:qp.bool,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),variant:qp.oneOfType([qp.oneOf(["filled","outlined","standard"]),qp.string])});const vC=em("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),xC=Cg("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"secondary"===o.color&&t.colorSecondary,o.filled&&t.filled]}})(Pg(({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(Nb()).map(([t])=>({props:{color:t},style:{[`&.${vC.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${vC.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${vC.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),wC=Cg("span",{name:"MuiFormLabel",slot:"Asterisk"})(Pg(({theme:e})=>({[`&.${vC.error}`]:{color:(e.vars||e).palette.error.main}}))),SC=r.forwardRef(function(e,o){const n=Ng({props:e,name:"MuiFormLabel"}),{children:r,className:i,color:a,component:s="label",disabled:l,error:c,filled:p,focused:d,required:u,...f}=n,m=uw({props:n,muiFormControl:mw(),states:["color","required","focused","disabled","error","filled"]}),h={...n,color:m.color||"primary",component:s,disabled:m.disabled,error:m.error,filled:m.filled,focused:m.focused,required:m.required},g=(e=>{const{classes:t,color:o,focused:n,disabled:r,error:i,filled:a,required:s}=e;return nh({root:["root",`color${Cu(o)}`,r&&"disabled",i&&"error",a&&"filled",n&&"focused",s&&"required"],asterisk:["asterisk",i&&"error"]},bC,t)})(h);return t(xC,{as:s,ownerState:h,className:Yf(g.root,i),ref:o,...f,children:[r,m.required&&t(wC,{ownerState:h,"aria-hidden":!0,className:g.asterisk,children:[" ","*"]})]})});"production"!==process.env.NODE_ENV&&(SC.propTypes={children:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["error","info","primary","secondary","success","warning"]),qp.string]),component:qp.elementType,disabled:qp.bool,error:qp.bool,filled:qp.bool,focused:qp.bool,required:qp.bool,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const TC=r.createContext();function OC(e){return Qf("MuiGridLegacy",e)}"production"!==process.env.NODE_ENV&&(TC.displayName="GridLegacyContext");const CC=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],kC=em("MuiGridLegacy",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map(e=>`spacing-xs-${e}`),...["column-reverse","column","row-reverse","row"].map(e=>`direction-xs-${e}`),...["nowrap","wrap-reverse","wrap"].map(e=>`wrap-xs-${e}`),...CC.map(e=>`grid-xs-${e}`),...CC.map(e=>`grid-sm-${e}`),...CC.map(e=>`grid-md-${e}`),...CC.map(e=>`grid-lg-${e}`),...CC.map(e=>`grid-xl-${e}`)]);let EC=!1;function PC({breakpoints:e,values:t}){let o="";Object.keys(t).forEach(e=>{""===o&&0!==t[e]&&(o=e)});const n=Object.keys(e).sort((t,o)=>e[t]-e[o]);return n.slice(0,n.indexOf(o))}const NC=Cg("div",{name:"MuiGridLegacy",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e,{container:n,direction:r,item:i,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:c}=o;let p=[];n&&(p=function(e,t,o={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[o[`spacing-xs-${String(e)}`]];const n=[];return t.forEach(t=>{const r=e[t];Number(r)>0&&n.push(o[`spacing-${t}-${String(r)}`])}),n}(a,c,t));const d=[];return c.forEach(e=>{const n=o[e];n&&d.push(t[`grid-${e}-${String(n)}`])}),[t.root,n&&t.container,i&&t.item,l&&t.zeroMinWidth,...p,"row"!==r&&t[`direction-xs-${String(r)}`],"wrap"!==s&&t[`wrap-xs-${String(s)}`],...d]}})(({ownerState:e})=>({boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...e.item&&{margin:0},...e.zeroMinWidth&&{minWidth:0},..."wrap"!==e.wrap&&{flexWrap:e.wrap}}),function({theme:e,ownerState:t}){return wu({theme:e},Ou({values:t.direction,breakpoints:e.breakpoints.values}),e=>{const t={flexDirection:e};return e.startsWith("column")&&(t[`& > .${kC.item}`]={maxWidth:"none"}),t})},function({theme:e,ownerState:t}){const{container:o,rowSpacing:n}=t;let r={};if(o&&0!==n){const t=Ou({values:n,breakpoints:e.breakpoints.values});let o;"object"==typeof t&&(o=PC({breakpoints:e.breakpoints.values,values:t})),r=wu({theme:e},t,(t,n)=>{const r=e.spacing(t);return"0px"!==r?{marginTop:`calc(-1 * ${r})`,[`& > .${kC.item}`]:{paddingTop:r}}:o?.includes(n)?{}:{marginTop:0,[`& > .${kC.item}`]:{paddingTop:0}}})}return r},function({theme:e,ownerState:t}){const{container:o,columnSpacing:n}=t;let r={};if(o&&0!==n){const t=Ou({values:n,breakpoints:e.breakpoints.values});let o;"object"==typeof t&&(o=PC({breakpoints:e.breakpoints.values,values:t})),r=wu({theme:e},t,(t,n)=>{const r=e.spacing(t);return"0px"!==r?{width:`calc(100% + ${r})`,marginLeft:`calc(-1 * ${r})`,[`& > .${kC.item}`]:{paddingLeft:r}}:o?.includes(n)?{}:{width:"100%",marginLeft:0,[`& > .${kC.item}`]:{paddingLeft:0}}})}return r},function({theme:e,ownerState:t}){let o;return e.breakpoints.keys.reduce((n,r)=>{let i={};if(t[r]&&(o=t[r]),!o)return n;if(!0===o)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===o)i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const a=Ou({values:t.columns,breakpoints:e.breakpoints.values}),s="object"==typeof a?a[r]:a;if(null==s)return n;const l=Math.round(o/s*1e8)/1e6+"%";let c={};if(t.container&&t.item&&0!==t.columnSpacing){const o=e.spacing(t.columnSpacing);if("0px"!==o){const e=`calc(${l} + ${o})`;c={flexBasis:e,maxWidth:e}}}i={flexBasis:l,flexGrow:0,maxWidth:l,...c}}return 0===e.breakpoints.values[r]?Object.assign(n,i):n[e.breakpoints.up(r)]=i,n},{})}),RC=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiGridLegacy"}),{breakpoints:i}=Sg(),a=Hf(n),{className:s,columns:l,columnSpacing:c,component:p="div",container:d=!1,direction:u="row",item:f=!1,rowSpacing:m,spacing:h=0,wrap:g="wrap",zeroMinWidth:y=!1,...b}=a;r.useEffect(()=>{EC||"development"!==process.env.NODE_ENV||(EC=!0)},[]);const v=m||h,x=c||h,w=r.useContext(TC),S=d?l||12:w,T={},O={...b};i.keys.forEach(e=>{null!=b[e]&&(T[e]=b[e],delete O[e])});const C={...a,columns:S,container:d,direction:u,item:f,rowSpacing:v,columnSpacing:x,wrap:g,zeroMinWidth:y,spacing:h,...T,breakpoints:i.keys},k=(e=>{const{classes:t,container:o,direction:n,item:r,spacing:i,wrap:a,zeroMinWidth:s,breakpoints:l}=e;let c=[];o&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const o=[];return t.forEach(t=>{const n=e[t];if(Number(n)>0){const e=`spacing-${t}-${String(n)}`;o.push(e)}}),o}(i,l));const p=[];return l.forEach(t=>{const o=e[t];o&&p.push(`grid-${t}-${String(o)}`)}),nh({root:["root",o&&"container",r&&"item",s&&"zeroMinWidth",...c,"row"!==n&&`direction-xs-${String(n)}`,"wrap"!==a&&`wrap-xs-${String(a)}`,...p]},OC,t)})(C);return e(TC.Provider,{value:S,children:e(NC,{ownerState:C,className:Yf(k.root,s),as:p,ref:o,...O})})});if("production"!==process.env.NODE_ENV&&(RC.propTypes={children:qp.node,classes:qp.object,className:qp.string,columns:qp.oneOfType([qp.arrayOf(qp.number),qp.number,qp.object]),columnSpacing:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.number,qp.string])),qp.number,qp.object,qp.string]),component:qp.elementType,container:qp.bool,direction:qp.oneOfType([qp.oneOf(["column-reverse","column","row-reverse","row"]),qp.arrayOf(qp.oneOf(["column-reverse","column","row-reverse","row"])),qp.object]),item:qp.bool,lg:qp.oneOfType([qp.oneOf(["auto"]),qp.number,qp.bool]),md:qp.oneOfType([qp.oneOf(["auto"]),qp.number,qp.bool]),rowSpacing:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.number,qp.string])),qp.number,qp.object,qp.string]),sm:qp.oneOfType([qp.oneOf(["auto"]),qp.number,qp.bool]),spacing:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.number,qp.string])),qp.number,qp.object,qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),wrap:qp.oneOf(["nowrap","wrap-reverse","wrap"]),xl:qp.oneOfType([qp.oneOf(["auto"]),qp.number,qp.bool]),xs:qp.oneOfType([qp.oneOf(["auto"]),qp.number,qp.bool]),zeroMinWidth:qp.bool}),"production"!==process.env.NODE_ENV){const e=Bg("GridLegacy",RC);RC.propTypes={...RC.propTypes,direction:e("container"),lg:e("item"),md:e("item"),sm:e("item"),spacing:e("container"),wrap:e("container"),xs:e("item"),zeroMinWidth:e("item")}}const MC=Nh({createStyledComponent:Cg("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.container&&t.container]}}),componentName:"MuiGrid",useThemeProps:e=>Ng({props:e,name:"MuiGrid"}),useTheme:Sg});if("production"!==process.env.NODE_ENV&&(MC.propTypes={children:qp.node,columns:qp.oneOfType([qp.arrayOf(qp.number),qp.number,qp.object]),columnSpacing:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.number,qp.string])),qp.number,qp.object,qp.string]),container:qp.bool,direction:qp.oneOfType([qp.oneOf(["column-reverse","column","row-reverse","row"]),qp.arrayOf(qp.oneOf(["column-reverse","column","row-reverse","row"])),qp.object]),offset:qp.oneOfType([qp.string,qp.number,qp.arrayOf(qp.oneOfType([qp.string,qp.number])),qp.object]),rowSpacing:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.number,qp.string])),qp.number,qp.object,qp.string]),size:qp.oneOfType([qp.string,qp.bool,qp.number,qp.arrayOf(qp.oneOfType([qp.string,qp.bool,qp.number])),qp.object]),spacing:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.number,qp.string])),qp.number,qp.object,qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),unstable_level:qp.number,wrap:qp.oneOf(["nowrap","wrap-reverse","wrap"])}),"production"!==process.env.NODE_ENV){const e=MC,t=Bg("Grid",e);e.propTypes={...e.propTypes,direction:t("container"),spacing:t("container"),wrap:t("container")}}const $C=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function jC(e){return`scale(${e}, ${e**2})`}em("MuiGrid",["root","container",...[0,1,2,3,4,5,6,7,8,9,10].map(e=>`spacing-xs-${e}`),...["column-reverse","column","row-reverse","row"].map(e=>`direction-xs-${e}`),...["nowrap","wrap-reverse","wrap"].map(e=>`wrap-xs-${e}`),...$C.map(e=>`grid-xs-${e}`),...$C.map(e=>`grid-sm-${e}`),...$C.map(e=>`grid-md-${e}`),...$C.map(e=>`grid-lg-${e}`),...$C.map(e=>`grid-xl-${e}`)]);const IC={entering:{opacity:1,transform:jC(1)},entered:{opacity:1,transform:"none"}},AC="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),LC=r.forwardRef(function(t,o){const{addEndListener:n,appear:i=!0,children:a,easing:s,in:l,onEnter:c,onEntered:p,onEntering:d,onExit:u,onExited:f,onExiting:m,style:h,timeout:g="auto",TransitionComponent:y=ry,...b}=t,v=Cy(),x=r.useRef(),w=Sg(),S=r.useRef(null),T=Wg(S,Wx(a),o),O=e=>t=>{if(e){const o=S.current;void 0===t?e(o):e(o,t)}},C=O(d),k=O((e,t)=>{Ey(e);const{duration:o,delay:n,easing:r}=Py({style:h,timeout:g,easing:s},{mode:"enter"});let i;"auto"===g?(i=w.transitions.getAutoHeightDuration(e.clientHeight),x.current=i):i=o,e.style.transition=[w.transitions.create("opacity",{duration:i,delay:n}),w.transitions.create("transform",{duration:AC?i:.666*i,delay:n,easing:r})].join(","),c&&c(e,t)}),E=O(p),P=O(m),N=O(e=>{const{duration:t,delay:o,easing:n}=Py({style:h,timeout:g,easing:s},{mode:"exit"});let r;"auto"===g?(r=w.transitions.getAutoHeightDuration(e.clientHeight),x.current=r):r=t,e.style.transition=[w.transitions.create("opacity",{duration:r,delay:o}),w.transitions.create("transform",{duration:AC?r:.666*r,delay:AC?o:o||.333*r,easing:n})].join(","),e.style.opacity=0,e.style.transform=jC(.75),u&&u(e)}),R=O(f);return e(y,{appear:i,in:l,nodeRef:S,onEnter:k,onEntered:E,onEntering:C,onExit:N,onExited:R,onExiting:P,addEndListener:e=>{"auto"===g&&v.start(x.current||0,e),n&&n(S.current,e)},timeout:"auto"===g?null:g,...b,children:(e,{ownerState:t,...o})=>r.cloneElement(a,{style:{opacity:0,transform:jC(.75),visibility:"exited"!==e||l?void 0:"hidden",...IC[e],...h,...a.props.style},ref:T,...o})})});function BC(e){return Qf("MuiIcon",e)}"production"!==process.env.NODE_ENV&&(LC.propTypes={addEndListener:qp.func,appear:qp.bool,children:lS.isRequired,easing:qp.oneOfType([qp.shape({enter:qp.string,exit:qp.string}),qp.string]),in:qp.bool,onEnter:qp.func,onEntered:qp.func,onEntering:qp.func,onExit:qp.func,onExited:qp.func,onExiting:qp.func,style:qp.object,timeout:qp.oneOfType([qp.oneOf(["auto"]),qp.number,qp.shape({appear:qp.number,enter:qp.number,exit:qp.number})])}),LC&&(LC.muiSupportAuto=!0),em("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const DC=Cg("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"inherit"!==o.color&&t[`color${Cu(o.color)}`],t[`fontSize${Cu(o.fontSize)}`]]}})(Pg(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,variants:[{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography.pxToRem(20)}},{props:{fontSize:"medium"},style:{fontSize:e.typography.pxToRem(24)}},{props:{fontSize:"large"},style:{fontSize:e.typography.pxToRem(36)}},{props:{color:"action"},style:{color:(e.vars||e).palette.action.active}},{props:{color:"disabled"},style:{color:(e.vars||e).palette.action.disabled}},{props:{color:"inherit"},style:{color:void 0}},...Object.entries(e.palette).filter(Nb()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),zC=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiIcon"}),{baseClassName:r="material-icons",className:i,color:a="inherit",component:s="span",fontSize:l="medium",...c}=n,p={...n,baseClassName:r,color:a,component:s,fontSize:l},d=(e=>{const{color:t,fontSize:o,classes:n}=e;return nh({root:["root","inherit"!==t&&`color${Cu(t)}`,`fontSize${Cu(o)}`]},BC,n)})(p);return e(DC,{as:s,className:Yf(r,"notranslate",d.root,i),ownerState:p,"aria-hidden":!0,ref:o,...c})});function VC(e){return Qf("MuiImageList",e)}"production"!==process.env.NODE_ENV&&(zC.propTypes={baseClassName:qp.string,children:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),qp.string]),component:qp.elementType,fontSize:qp.oneOfType([qp.oneOf(["inherit","large","medium","small"]),qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),zC.muiName="Icon",em("MuiImageList",["root","masonry","quilted","standard","woven"]);const FC=r.createContext({});"production"!==process.env.NODE_ENV&&(FC.displayName="ImageListContext");const WC=Cg("ul",{name:"MuiImageList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant]]}})({display:"grid",overflowY:"auto",listStyle:"none",padding:0,WebkitOverflowScrolling:"touch",variants:[{props:{variant:"masonry"},style:{display:"block"}}]}),_C=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiImageList"}),{children:i,className:a,cols:s=2,component:l="ul",rowHeight:c="auto",gap:p=4,style:d,variant:u="standard",...f}=n,m=r.useMemo(()=>({rowHeight:c,gap:p,variant:u}),[c,p,u]),h="masonry"===u?{columnCount:s,columnGap:p,...d}:{gridTemplateColumns:`repeat(${s}, 1fr)`,gap:p,...d},g={...n,component:l,gap:p,rowHeight:c,variant:u},y=(e=>{const{classes:t,variant:o}=e;return nh({root:["root",o]},VC,t)})(g);return e(WC,{as:l,className:Yf(y.root,y[u],a),ref:o,style:h,ownerState:g,...f,children:e(FC.Provider,{value:m,children:i})})});function HC(e){return Qf("MuiImageListItem",e)}"production"!==process.env.NODE_ENV&&(_C.propTypes={children:qp.node.isRequired,classes:qp.object,className:qp.string,cols:Hy,component:qp.elementType,gap:qp.number,rowHeight:qp.oneOfType([qp.oneOf(["auto"]),qp.number]),style:qp.object,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),variant:qp.oneOfType([qp.oneOf(["masonry","quilted","standard","woven"]),qp.string])});const qC=em("MuiImageListItem",["root","img","standard","woven","masonry","quilted"]),UC=Cg("li",{name:"MuiImageListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${qC.img}`]:t.img},t.root,t[o.variant]]}})({display:"block",position:"relative",[`& .${qC.img}`]:{objectFit:"cover",width:"100%",height:"100%",display:"block"},variants:[{props:{variant:"standard"},style:{display:"flex",flexDirection:"column"}},{props:{variant:"woven"},style:{height:"100%",alignSelf:"center","&:nth-of-type(even)":{height:"70%"}}},{props:{variant:"standard"},style:{[`& .${qC.img}`]:{height:"auto",flexGrow:1}}}]}),GC=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiImageListItem"}),{children:i,className:a,cols:s=1,component:l="li",rows:c=1,style:p,...d}=n,{rowHeight:u="auto",gap:f,variant:m}=r.useContext(FC);let h="auto";"woven"===m?h=void 0:"auto"!==u&&(h=u*c+f*(c-1));const g={...n,cols:s,component:l,gap:f,rowHeight:u,rows:c,variant:m},y=(e=>{const{classes:t,variant:o}=e;return nh({root:["root",o],img:["img"]},HC,t)})(g);return e(UC,{as:l,className:Yf(y.root,y[m],a),ref:o,style:{height:h,gridColumnEnd:"masonry"!==m?`span ${s}`:void 0,gridRowEnd:"masonry"!==m?`span ${c}`:void 0,marginBottom:"masonry"===m?f:void 0,breakInside:"masonry"===m?"avoid":void 0,...p},ownerState:g,...d,children:r.Children.map(i,e=>r.isValidElement(e)?("production"!==process.env.NODE_ENV&&qd.isFragment(e),"img"===e.type||ch(e,["Image"])?r.cloneElement(e,{className:Yf(y.img,e.props.className)}):e):null)})});function KC(e){return Qf("MuiImageListItemBar",e)}"production"!==process.env.NODE_ENV&&(GC.propTypes={children:qp.node,classes:qp.object,className:qp.string,cols:Hy,component:qp.elementType,rows:Hy,style:qp.object,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("MuiImageListItemBar",["root","positionBottom","positionTop","positionBelow","actionPositionLeft","actionPositionRight","titleWrap","titleWrapBottom","titleWrapTop","titleWrapBelow","titleWrapActionPosLeft","titleWrapActionPosRight","title","subtitle","actionIcon","actionIconActionPosLeft","actionIconActionPosRight"]);const XC=Cg("div",{name:"MuiImageListItemBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`position${Cu(o.position)}`]]}})(Pg(({theme:e})=>({position:"absolute",left:0,right:0,background:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",fontFamily:e.typography.fontFamily,variants:[{props:{position:"bottom"},style:{bottom:0}},{props:{position:"top"},style:{top:0}},{props:{position:"below"},style:{position:"relative",background:"transparent",alignItems:"normal"}}]}))),YC=Cg("div",{name:"MuiImageListItemBar",slot:"TitleWrap",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.titleWrap,t[`titleWrap${Cu(o.position)}`],o.actionIcon&&t[`titleWrapActionPos${Cu(o.actionPosition)}`]]}})(Pg(({theme:e})=>({flexGrow:1,padding:"12px 16px",color:(e.vars||e).palette.common.white,overflow:"hidden",variants:[{props:{position:"below"},style:{padding:"6px 0 12px",color:"inherit"}},{props:({ownerState:e})=>e.actionIcon&&"left"===e.actionPosition,style:{paddingLeft:0}},{props:({ownerState:e})=>e.actionIcon&&"right"===e.actionPosition,style:{paddingRight:0}}]}))),ZC=Cg("div",{name:"MuiImageListItemBar",slot:"Title"})(Pg(({theme:e})=>({fontSize:e.typography.pxToRem(16),lineHeight:"24px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}))),JC=Cg("div",{name:"MuiImageListItemBar",slot:"Subtitle"})(Pg(({theme:e})=>({fontSize:e.typography.pxToRem(12),lineHeight:1,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}))),QC=Cg("div",{name:"MuiImageListItemBar",slot:"ActionIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.actionIcon,t[`actionIconActionPos${Cu(o.actionPosition)}`]]}})({variants:[{props:{actionPosition:"left"},style:{order:-1}}]}),ek=r.forwardRef(function(o,n){const r=Ng({props:o,name:"MuiImageListItemBar"}),{actionIcon:i,actionPosition:a="right",className:s,subtitle:l,title:c,position:p="bottom",...d}=r,u={...r,position:p,actionPosition:a},f=(e=>{const{classes:t,position:o,actionIcon:n,actionPosition:r}=e;return nh({root:["root",`position${Cu(o)}`,`actionPosition${Cu(r)}`],titleWrap:["titleWrap",`titleWrap${Cu(o)}`,n&&`titleWrapActionPos${Cu(r)}`],title:["title"],subtitle:["subtitle"],actionIcon:["actionIcon",`actionIconActionPos${Cu(r)}`]},KC,t)})(u);return t(XC,{ownerState:u,className:Yf(f.root,s),ref:n,...d,children:[t(YC,{ownerState:u,className:f.titleWrap,children:[e(ZC,{className:f.title,children:c}),l?e(JC,{className:f.subtitle,children:l}):null]}),i?e(QC,{ownerState:u,className:f.actionIcon,children:i}):null]})});"production"!==process.env.NODE_ENV&&(ek.propTypes={actionIcon:qp.node,actionPosition:qp.oneOf(["left","right"]),children:qp.node,classes:qp.object,className:qp.string,position:qp.oneOf(["below","bottom","top"]),subtitle:qp.node,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),title:qp.node});const tk=Cg(Sw,{shouldForwardProp:e=>Og(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[...xw(e,t),!o.disableUnderline&&t.underline]}})(Pg(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:e})=>e.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:e})=>!e.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"},[`&.${Ew.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ew.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Ew.disabled}, .${Ew.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${Ew.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Nb()).map(([t])=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))]}})),ok=Cg(Tw,{name:"MuiInput",slot:"Input",overridesResolver:ww})({}),nk=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiInput"}),{disableUnderline:r=!1,components:i={},componentsProps:a,fullWidth:s=!1,inputComponent:l="input",multiline:c=!1,slotProps:p,slots:d={},type:u="text",...f}=n,m=(e=>{const{classes:t,disableUnderline:o}=e,n=nh({root:["root",!o&&"underline"],input:["input"]},kw,t);return{...t,...n}})(n),h={root:{ownerState:{disableUnderline:r}}},g=p??a?uu(p??a,h):h,y=d.root??i.Root??tk,b=d.input??i.Input??ok;return e(Cw,{slots:{root:y,input:b},slotProps:g,fullWidth:s,inputComponent:l,multiline:c,ref:o,type:u,...f,classes:m})});function rk(e){return Qf("MuiInputAdornment",e)}"production"!==process.env.NODE_ENV&&(nk.propTypes={autoComplete:qp.string,autoFocus:qp.bool,classes:qp.object,color:qp.oneOfType([qp.oneOf(["primary","secondary"]),qp.string]),components:qp.shape({Input:qp.elementType,Root:qp.elementType}),componentsProps:qp.shape({input:qp.object,root:qp.object}),defaultValue:qp.any,disabled:qp.bool,disableUnderline:qp.bool,endAdornment:qp.node,error:qp.bool,fullWidth:qp.bool,id:qp.string,inputComponent:qp.elementType,inputProps:qp.object,inputRef:sb,margin:qp.oneOf(["dense","none"]),maxRows:qp.oneOfType([qp.number,qp.string]),minRows:qp.oneOfType([qp.number,qp.string]),multiline:qp.bool,name:qp.string,onChange:qp.func,placeholder:qp.string,readOnly:qp.bool,required:qp.bool,rows:qp.oneOfType([qp.number,qp.string]),slotProps:qp.shape({input:qp.object,root:qp.object}),slots:qp.shape({input:qp.elementType,root:qp.elementType}),startAdornment:qp.node,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),type:qp.string,value:qp.any}),nk.muiName="Input";const ik=em("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var ak;const sk=Cg("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`position${Cu(o.position)}`],!0===o.disablePointerEvents&&t.disablePointerEvents,t[o.variant]]}})(Pg(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${ik.positionStart}&:not(.${ik.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),lk=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiInputAdornment"}),{children:a,className:s,component:l="div",disablePointerEvents:c=!1,disableTypography:p=!1,position:d,variant:u,...f}=i,m=mw()||{};let h=u;u&&m.variant&&"production"!==process.env.NODE_ENV&&m.variant,m&&!h&&(h=m.variant);const g={...i,hiddenLabel:m.hiddenLabel,size:m.size,disablePointerEvents:c,position:d,variant:h},y=(e=>{const{classes:t,disablePointerEvents:o,hiddenLabel:n,position:r,size:i,variant:a}=e;return nh({root:["root",o&&"disablePointerEvents",r&&`position${Cu(r)}`,a,n&&"hiddenLabel",i&&`size${Cu(i)}`]},rk,t)})(g);return e(fw.Provider,{value:null,children:e(sk,{as:l,ownerState:g,className:Yf(y.root,s),ref:n,...f,children:"string"!=typeof a||p?t(r.Fragment,{children:["start"===d?ak||(ak=e("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,a]}):e(dv,{color:"textSecondary",children:a})})})});function ck(e){return Qf("MuiInputLabel",e)}"production"!==process.env.NODE_ENV&&(lk.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,disablePointerEvents:qp.bool,disableTypography:qp.bool,position:qp.oneOf(["end","start"]).isRequired,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),variant:qp.oneOf(["filled","outlined","standard"])}),em("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const pk=Cg(SC,{shouldForwardProp:e=>Og(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${vC.asterisk}`]:t.asterisk},t.root,o.formControl&&t.formControl,"small"===o.size&&t.sizeSmall,o.shrink&&t.shrink,!o.disableAnimation&&t.animated,o.focused&&t.focused,t[o.variant]]}})(Pg(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:e})=>e.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:e})=>e.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:e})=>!e.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:e,ownerState:t})=>"filled"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:e,ownerState:t,size:o})=>"filled"===e&&t.shrink&&"small"===o,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:e,ownerState:t})=>"outlined"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),dk=r.forwardRef(function(t,o){const n=Ng({name:"MuiInputLabel",props:t}),{disableAnimation:r=!1,margin:i,shrink:a,variant:s,className:l,...c}=n,p=mw();let d=a;void 0===d&&p&&(d=p.filled||p.focused||p.adornedStart);const u=uw({props:n,muiFormControl:p,states:["size","variant","required","focused"]}),f={...n,disableAnimation:r,formControl:p,shrink:d,size:u.size,variant:u.variant,required:u.required,focused:u.focused},m=(e=>{const{classes:t,formControl:o,size:n,shrink:r,disableAnimation:i,variant:a,required:s}=e,l=nh({root:["root",o&&"formControl",!i&&"animated",r&&"shrink",n&&"medium"!==n&&`size${Cu(n)}`,a],asterisk:[s&&"asterisk"]},ck,t);return{...t,...l}})(f);return e(pk,{"data-shrink":d,ref:o,className:Yf(m.root,l),...c,ownerState:f,classes:m})});function uk(e){return Qf("MuiLinearProgress",e)}"production"!==process.env.NODE_ENV&&(dk.propTypes={children:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["error","info","primary","secondary","success","warning"]),qp.string]),disableAnimation:qp.bool,disabled:qp.bool,error:qp.bool,focused:qp.bool,margin:qp.oneOf(["dense"]),required:qp.bool,shrink:qp.bool,size:qp.oneOfType([qp.oneOf(["medium","small"]),qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),variant:qp.oneOf(["filled","outlined","standard"])}),em("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const fk=Bp`
143
+ 0% {
144
+ left: -35%;
145
+ right: 100%;
146
+ }
147
+
148
+ 60% {
149
+ left: 100%;
150
+ right: -90%;
151
+ }
152
+
153
+ 100% {
154
+ left: 100%;
155
+ right: -90%;
156
+ }
157
+ `,mk="string"!=typeof fk?Lp`
158
+ animation: ${fk} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
159
+ `:null,hk=Bp`
160
+ 0% {
161
+ left: -200%;
162
+ right: 100%;
163
+ }
164
+
165
+ 60% {
166
+ left: 107%;
167
+ right: -8%;
168
+ }
169
+
170
+ 100% {
171
+ left: 107%;
172
+ right: -8%;
173
+ }
174
+ `,gk="string"!=typeof hk?Lp`
175
+ animation: ${hk} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
176
+ `:null,yk=Bp`
177
+ 0% {
178
+ opacity: 1;
179
+ background-position: 0 -23px;
180
+ }
181
+
182
+ 60% {
183
+ opacity: 0;
184
+ background-position: 0 -23px;
185
+ }
186
+
187
+ 100% {
188
+ opacity: 1;
189
+ background-position: -200px -23px;
190
+ }
191
+ `,bk="string"!=typeof yk?Lp`
192
+ animation: ${yk} 3s infinite linear;
193
+ `:null,vk=(e,t)=>e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?e.lighten(e.palette[t].main,.62):e.darken(e.palette[t].main,.5),xk=Cg("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`color${Cu(o.color)}`],t[o.variant]]}})(Pg(({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter(Nb()).map(([t])=>({props:{color:t},style:{backgroundColor:vk(e,t)}})),{props:({ownerState:e})=>"inherit"===e.color&&"buffer"!==e.variant,style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]}))),wk=Cg("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.dashed,t[`dashedColor${Cu(o.color)}`]]}})(Pg(({theme:e})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(e.palette).filter(Nb()).map(([t])=>{const o=vk(e,t);return{props:{color:t},style:{backgroundImage:`radial-gradient(${o} 0%, ${o} 16%, transparent 42%)`}}})]})),bk||{animation:`${yk} 3s infinite linear`}),Sk=Cg("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.bar,t.bar1,t[`barColor${Cu(o.color)}`],("indeterminate"===o.variant||"query"===o.variant)&&t.bar1Indeterminate,"determinate"===o.variant&&t.bar1Determinate,"buffer"===o.variant&&t.bar1Buffer]}})(Pg(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(e.palette).filter(Nb()).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main}})),{props:{variant:"determinate"},style:{transition:"transform .4s linear"}},{props:{variant:"buffer"},style:{zIndex:1,transition:"transform .4s linear"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:{width:"auto"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:mk||{animation:`${fk} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),Tk=Cg("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.bar,t.bar2,t[`barColor${Cu(o.color)}`],("indeterminate"===o.variant||"query"===o.variant)&&t.bar2Indeterminate,"buffer"===o.variant&&t.bar2Buffer]}})(Pg(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(e.palette).filter(Nb()).map(([t])=>({props:{color:t},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[t].main}})),{props:({ownerState:e})=>"buffer"!==e.variant&&"inherit"!==e.color,style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:e})=>"buffer"!==e.variant&&"inherit"===e.color,style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(e.palette).filter(Nb()).map(([t])=>({props:{color:t,variant:"buffer"},style:{backgroundColor:vk(e,t),transition:"transform .4s linear"}})),{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:{width:"auto"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:gk||{animation:`${hk} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),Ok=r.forwardRef(function(o,n){const r=Ng({props:o,name:"MuiLinearProgress"}),{className:i,color:a="primary",value:s,valueBuffer:l,variant:c="indeterminate",...p}=r,d={...r,color:a,variant:c},u=(e=>{const{classes:t,variant:o,color:n}=e;return nh({root:["root",`color${Cu(n)}`,o],dashed:["dashed",`dashedColor${Cu(n)}`],bar1:["bar","bar1",`barColor${Cu(n)}`,("indeterminate"===o||"query"===o)&&"bar1Indeterminate","determinate"===o&&"bar1Determinate","buffer"===o&&"bar1Buffer"],bar2:["bar","bar2","buffer"!==o&&`barColor${Cu(n)}`,"buffer"===o&&`color${Cu(n)}`,("indeterminate"===o||"query"===o)&&"bar2Indeterminate","buffer"===o&&"bar2Buffer"]},uk,t)})(d),f=Wm(),m={},h={bar1:{},bar2:{}};if("determinate"===c||"buffer"===c)if(void 0!==s){m["aria-valuenow"]=Math.round(s),m["aria-valuemin"]=0,m["aria-valuemax"]=100;let e=s-100;f&&(e=-e),h.bar1.transform=`translateX(${e}%)`}else process.env.NODE_ENV;if("buffer"===c)if(void 0!==l){let e=(l||0)-100;f&&(e=-e),h.bar2.transform=`translateX(${e}%)`}else process.env.NODE_ENV;return t(xk,{className:Yf(u.root,i),ownerState:d,role:"progressbar",...m,ref:n,...p,children:["buffer"===c?e(wk,{className:u.dashed,ownerState:d}):null,e(Sk,{className:u.bar1,ownerState:d,style:h.bar1}),"determinate"===c?null:e(Tk,{className:u.bar2,ownerState:d,style:h.bar2})]})});function Ck(e){return Qf("MuiLink",e)}"production"!==process.env.NODE_ENV&&(Ok.propTypes={classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["inherit","primary","secondary"]),qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),value:qp.number,valueBuffer:qp.number,variant:qp.oneOf(["buffer","determinate","indeterminate","query"])});const kk=em("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),Ek=({theme:e,ownerState:t})=>{const o=t.color;if("colorSpace"in e&&e.colorSpace){const n=ku(e,`palette.${o}.main`)||ku(e,`palette.${o}`)||t.color;return e.alpha(n,.4)}const n=ku(e,`palette.${o}.main`,!1)||ku(e,`palette.${o}`,!1)||t.color,r=ku(e,`palette.${o}.mainChannel`)||ku(e,`palette.${o}Channel`);return"vars"in e&&r?`rgba(${r} / 0.4)`:km(n,.4)},Pk={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Nk=Cg(dv,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`underline${Cu(o.underline)}`],"button"===o.component&&t.button]}})(Pg(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:e,ownerState:t})=>"always"===e&&"inherit"!==t.color,style:{textDecorationColor:"var(--Link-underlineColor)"}},{props:({underline:e,ownerState:t})=>"always"===e&&"inherit"===t.color,style:e.colorSpace?{textDecorationColor:e.alpha("currentColor",.4)}:null},...Object.entries(e.palette).filter(Nb()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${kk.focusVisible}`]:{outline:"auto"}}}]}))),Rk=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiLink"}),i=Sg(),{className:a,color:s="primary",component:l="a",onBlur:c,onFocus:p,TypographyClasses:d,underline:u="always",variant:f="inherit",sx:m,...h}=n,[g,y]=r.useState(!1),b={...n,color:s,component:l,focusVisible:g,underline:u,variant:f},v=(e=>{const{classes:t,component:o,focusVisible:n,underline:r}=e;return nh({root:["root",`underline${Cu(r)}`,"button"===o&&"button",n&&"focusVisible"]},Ck,t)})(b);return e(Nk,{color:s,className:Yf(v.root,a),classes:d,component:l,onBlur:e=>{lb(e.target)||y(!1),c&&c(e)},onFocus:e=>{lb(e.target)&&y(!0),p&&p(e)},ref:o,ownerState:b,variant:f,...h,sx:[...void 0===Pk[s]?[{color:s}]:[],...Array.isArray(m)?m:[m]],style:{...h.style,..."always"===u&&"inherit"!==s&&!Pk[s]&&{"--Link-underlineColor":Ek({theme:i,ownerState:b})}}})});"production"!==process.env.NODE_ENV&&(Rk.propTypes={children:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),qp.string]),component:ky,onBlur:qp.func,onFocus:qp.func,style:qp.object,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),TypographyClasses:qp.object,underline:qp.oneOf(["always","hover","none"]),variant:qp.oneOfType([qp.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),qp.string])});const Mk=r.createContext({});function $k(e){return Qf("MuiList",e)}"production"!==process.env.NODE_ENV&&(Mk.displayName="ListContext"),em("MuiList",["root","padding","dense","subheader"]);const jk=Cg("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.disablePadding&&t.padding,o.dense&&t.dense,o.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}}]}),Ik=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiList"}),{children:a,className:s,component:l="ul",dense:c=!1,disablePadding:p=!1,subheader:d,...u}=i,f=r.useMemo(()=>({dense:c}),[c]),m={...i,component:l,dense:c,disablePadding:p},h=(e=>{const{classes:t,disablePadding:o,dense:n,subheader:r}=e;return nh({root:["root",!o&&"padding",n&&"dense",r&&"subheader"]},$k,t)})(m);return e(Mk.Provider,{value:f,children:t(jk,{as:l,className:Yf(h.root,s),ref:n,ownerState:m,...u,children:[d,a]})})});function Ak(e){return Qf("MuiListItem",e)}function Lk(e){return Qf("MuiListItemButton",e)}"production"!==process.env.NODE_ENV&&(Ik.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,dense:qp.bool,disablePadding:qp.bool,subheader:qp.node,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);const Bk=em("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),Dk=Cg(wb,{shouldForwardProp:e=>Og(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.dense&&t.dense,"flex-start"===o.alignItems&&t.alignItemsFlexStart,o.divider&&t.divider,!o.disableGutters&&t.gutters]}})(Pg(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Bk.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${Bk.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${Bk.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)}},[`&.${Bk.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Bk.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.dense,style:{paddingTop:4,paddingBottom:4}}]}))),zk=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiListItemButton"}),{alignItems:i="center",autoFocus:a=!1,component:s="div",children:l,dense:c=!1,disableGutters:p=!1,divider:d=!1,focusVisibleClassName:u,selected:f=!1,className:m,...h}=n,g=r.useContext(Mk),y=r.useMemo(()=>({dense:c||g.dense||!1,alignItems:i,disableGutters:p}),[i,g.dense,c,p]),b=r.useRef(null);ym(()=>{a&&(b.current?b.current.focus():process.env.NODE_ENV)},[a]);const v={...n,alignItems:i,dense:y.dense,disableGutters:p,divider:d,selected:f},x=(e=>{const{alignItems:t,classes:o,dense:n,disabled:r,disableGutters:i,divider:a,selected:s}=e,l=nh({root:["root",n&&"dense",!i&&"gutters",a&&"divider",r&&"disabled","flex-start"===t&&"alignItemsFlexStart",s&&"selected"]},Lk,o);return{...o,...l}})(v),w=Wg(b,o);return e(Mk.Provider,{value:y,children:e(Dk,{ref:w,href:h.href||h.to,component:(h.href||h.to)&&"div"===s?"button":s,focusVisibleClassName:Yf(x.focusVisible,u),ownerState:v,className:Yf(x.root,m),...h,classes:x,children:l})})});function Vk(e){return Qf("MuiListItemSecondaryAction",e)}"production"!==process.env.NODE_ENV&&(zk.propTypes={alignItems:qp.oneOf(["center","flex-start"]),autoFocus:qp.bool,children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,dense:qp.bool,disabled:qp.bool,disableGutters:qp.bool,divider:qp.bool,focusVisibleClassName:qp.string,href:qp.string,selected:qp.bool,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("MuiListItemSecondaryAction",["root","disableGutters"]);const Fk=Cg("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),Wk=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiListItemSecondaryAction"}),{className:i,...a}=n,s=r.useContext(Mk),l={...n,disableGutters:s.disableGutters},c=(e=>{const{disableGutters:t,classes:o}=e;return nh({root:["root",t&&"disableGutters"]},Vk,o)})(l);return e(Fk,{className:Yf(c.root,i),ownerState:l,ref:o,...a})});"production"!==process.env.NODE_ENV&&(Wk.propTypes={children:qp.node,classes:qp.object,className:qp.string,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),Wk.muiName="ListItemSecondaryAction";const _k=Cg("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.dense&&t.dense,"flex-start"===o.alignItems&&t.alignItemsFlexStart,o.divider&&t.divider,!o.disableGutters&&t.gutters,!o.disablePadding&&t.padding,o.hasSecondaryAction&&t.secondaryAction]}})(Pg(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>!e.disablePadding&&e.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:e})=>!e.disablePadding&&!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>!e.disablePadding&&!!e.secondaryAction,style:{paddingRight:48}},{props:({ownerState:e})=>!!e.secondaryAction,style:{[`& > .${Bk.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>e.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:e})=>e.hasSecondaryAction,style:{paddingRight:48}}]}))),Hk=Cg("li",{name:"MuiListItem",slot:"Container"})({position:"relative"}),qk=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiListItem"}),{alignItems:a="center",children:s,className:l,component:c,components:p={},componentsProps:d={},ContainerComponent:u="li",ContainerProps:{className:f,...m}={},dense:h=!1,disableGutters:g=!1,disablePadding:y=!1,divider:b=!1,secondaryAction:v,slotProps:x={},slots:w={},...S}=i,T=r.useContext(Mk),O=r.useMemo(()=>({dense:h||T.dense||!1,alignItems:a,disableGutters:g}),[a,T.dense,h,g]),C=r.useRef(null),k=r.Children.toArray(s),E=k.length&&ch(k[k.length-1],["ListItemSecondaryAction"]),P={...i,alignItems:a,dense:O.dense,disableGutters:g,disablePadding:y,divider:b,hasSecondaryAction:E},N=(e=>{const{alignItems:t,classes:o,dense:n,disableGutters:r,disablePadding:i,divider:a,hasSecondaryAction:s}=e;return nh({root:["root",n&&"dense",!r&&"gutters",!i&&"padding",a&&"divider","flex-start"===t&&"alignItemsFlexStart",s&&"secondaryAction"],container:["container"],secondaryAction:["secondaryAction"]},Ak,o)})(P),R=Wg(C,n),M={slots:w,slotProps:x},[$,j]=Ay("secondaryAction",{elementType:Wk,externalForwardedProps:M,ownerState:P,className:N.secondaryAction}),I=w.root||p.Root||_k,A=x.root||d.root||{},L={className:Yf(N.root,A.className,l),...S};let B=c||"li";return E?(B=L.component||c?B:"div","li"===u&&("li"===B?B="div":"li"===L.component&&(L.component="div")),e(Mk.Provider,{value:O,children:t(Hk,{as:u,className:Yf(N.container,f),ref:R,ownerState:P,...m,children:[e(I,{...A,...!Ny(I)&&{as:B,ownerState:{...P,...A.ownerState}},...L,children:k}),k.pop()]})})):e(Mk.Provider,{value:O,children:t(I,{...A,as:B,ref:R,...!Ny(I)&&{ownerState:{...P,...A.ownerState}},...L,children:[k,v&&e($,{...j,children:v})]})})});function Uk(e){return Qf("MuiListItemAvatar",e)}"production"!==process.env.NODE_ENV&&(qk.propTypes={alignItems:qp.oneOf(["center","flex-start"]),children:Hg(qp.node,e=>{const t=r.Children.toArray(e.children);let o=-1;for(let e=t.length-1;e>=0;e-=1)if(ch(t[e],["ListItemSecondaryAction"])){o=e;break}return-1!==o&&o!==t.length-1?new Error("MUI: You used an element after ListItemSecondaryAction. For ListItem to detect that it has a secondary action you must pass it as the last child to ListItem."):null}),classes:qp.object,className:qp.string,component:qp.elementType,components:qp.shape({Root:qp.elementType}),componentsProps:qp.shape({root:qp.object}),ContainerComponent:ky,ContainerProps:qp.object,dense:qp.bool,disableGutters:qp.bool,disablePadding:qp.bool,divider:qp.bool,secondaryAction:qp.node,slotProps:qp.shape({root:qp.object,secondaryAction:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({root:qp.elementType,secondaryAction:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("MuiListItemAvatar",["root","alignItemsFlexStart"]);const Gk=Cg("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"flex-start"===o.alignItems&&t.alignItemsFlexStart]}})({minWidth:56,flexShrink:0,variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}),Kk=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiListItemAvatar"}),{className:i,...a}=n,s=r.useContext(Mk),l={...n,alignItems:s.alignItems},c=(e=>{const{alignItems:t,classes:o}=e;return nh({root:["root","flex-start"===t&&"alignItemsFlexStart"]},Uk,o)})(l);return e(Gk,{className:Yf(c.root,i),ownerState:l,ref:o,...a})});function Xk(e){return Qf("MuiListItemIcon",e)}"production"!==process.env.NODE_ENV&&(Kk.propTypes={children:qp.node,classes:qp.object,className:qp.string,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const Yk=em("MuiListItemIcon",["root","alignItemsFlexStart"]),Zk=Cg("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"flex-start"===o.alignItems&&t.alignItemsFlexStart]}})(Pg(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),Jk=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiListItemIcon"}),{className:i,...a}=n,s=r.useContext(Mk),l={...n,alignItems:s.alignItems},c=(e=>{const{alignItems:t,classes:o}=e;return nh({root:["root","flex-start"===t&&"alignItemsFlexStart"]},Xk,o)})(l);return e(Zk,{className:Yf(c.root,i),ownerState:l,ref:o,...a})});function Qk(e){return Qf("MuiListItemText",e)}"production"!==process.env.NODE_ENV&&(Jk.propTypes={children:qp.node,classes:qp.object,className:qp.string,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const eE=em("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),tE=Cg("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${eE.primary}`]:t.primary},{[`& .${eE.secondary}`]:t.secondary},t.root,o.inset&&t.inset,o.primary&&o.secondary&&t.multiline,o.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${av.root}:where(& .${eE.primary})`]:{display:"block"},[`.${av.root}:where(& .${eE.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),oE=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiListItemText"}),{children:a,className:s,disableTypography:l=!1,inset:c=!1,primary:p,primaryTypographyProps:d,secondary:u,secondaryTypographyProps:f,slots:m={},slotProps:h={},...g}=i,{dense:y}=r.useContext(Mk);let b=null!=p?p:a,v=u;const x={...i,disableTypography:l,inset:c,primary:!!b,secondary:!!v,dense:y},w=(e=>{const{classes:t,inset:o,primary:n,secondary:r,dense:i}=e;return nh({root:["root",o&&"inset",i&&"dense",n&&r&&"multiline"],primary:["primary"],secondary:["secondary"]},Qk,t)})(x),S={slots:m,slotProps:{primary:d,secondary:f,...h}},[T,O]=Ay("root",{className:Yf(w.root,s),elementType:tE,externalForwardedProps:{...S,...g},ownerState:x,ref:n}),[C,k]=Ay("primary",{className:w.primary,elementType:dv,externalForwardedProps:S,ownerState:x}),[E,P]=Ay("secondary",{className:w.secondary,elementType:dv,externalForwardedProps:S,ownerState:x});return null==b||b.type===dv||l||(b=e(C,{variant:y?"body2":"body1",component:k?.variant?void 0:"span",...k,children:b})),null==v||v.type===dv||l||(v=e(E,{variant:"body2",color:"textSecondary",...P,children:v})),t(T,{...O,children:[b,v]})});function nE(e,t,o){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:o?null:e.firstChild}function rE(e,t,o){return e===t?o?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:o?null:e.lastChild}function iE(e,t){if(void 0===t)return!0;let o=e.innerText;return void 0===o&&(o=e.textContent),o=o.trim().toLowerCase(),0!==o.length&&(t.repeating?o[0]===t.keys[0]:o.startsWith(t.keys.join("")))}function aE(e,t,o,n,r,i){let a=!1,s=r(e,t,!!t&&o);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&iE(s,i)&&!t)return s.focus(),!0;s=r(e,s,o)}return!1}"production"!==process.env.NODE_ENV&&(oE.propTypes={children:qp.node,classes:qp.object,className:qp.string,disableTypography:qp.bool,inset:qp.bool,primary:qp.node,primaryTypographyProps:qp.object,secondary:qp.node,secondaryTypographyProps:qp.object,slotProps:qp.shape({primary:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object]),secondary:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({primary:qp.elementType,root:qp.elementType,secondary:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const sE=r.forwardRef(function(t,o){const{actions:n,autoFocus:i=!1,autoFocusItem:a=!1,children:s,className:l,disabledItemsFocusable:c=!1,disableListWrap:p=!1,onKeyDown:d,variant:u="selectedMenu",...f}=t,m=r.useRef(null),h=r.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});ym(()=>{i&&m.current.focus()},[i]),r.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const o=!m.current.style.width;if(e.clientHeight<m.current.clientHeight&&o){const o=`${XT(Lg(e))}px`;m.current.style["rtl"===t?"paddingLeft":"paddingRight"]=o,m.current.style.width=`calc(100% + ${o})`}return m.current}}),[]);const g=Wg(m,o);let y=-1;r.Children.forEach(s,(e,t)=>{r.isValidElement(e)?("production"!==process.env.NODE_ENV&&qd.isFragment(e),e.props.disabled||("selectedMenu"===u&&e.props.selected||-1===y)&&(y=t),y===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(y+=1,y>=s.length&&(y=-1))):y===t&&(y+=1,y>=s.length&&(y=-1))});const b=r.Children.map(s,(e,t)=>{if(t===y){const t={};return a&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===u&&(t.tabIndex=0),r.cloneElement(e,t)}return e});return e(Ik,{role:"menu",ref:g,className:l,onKeyDown:e=>{const t=m.current,o=e.key;if(e.ctrlKey||e.metaKey||e.altKey)return void(d&&d(e));const n=eO(Ag(t));if("ArrowDown"===o)e.preventDefault(),aE(t,n,p,c,nE);else if("ArrowUp"===o)e.preventDefault(),aE(t,n,p,c,rE);else if("Home"===o)e.preventDefault(),aE(t,null,p,c,nE);else if("End"===o)e.preventDefault(),aE(t,null,p,c,rE);else if(1===o.length){const r=h.current,i=o.toLowerCase(),a=performance.now();r.keys.length>0&&(a-r.lastTime>500?(r.keys=[],r.repeating=!0,r.previousKeyMatched=!0):r.repeating&&i!==r.keys[0]&&(r.repeating=!1)),r.lastTime=a,r.keys.push(i);const s=n&&!r.repeating&&iE(n,r);r.previousKeyMatched&&(s||aE(t,n,!1,c,nE,r))?e.preventDefault():r.previousKeyMatched=!1}d&&d(e)},tabIndex:i?0:-1,...f,children:b})});function lE(e){return Qf("MuiPopover",e)}function cE(e,t){let o=0;return"number"==typeof t?o=t:"center"===t?o=e.height/2:"bottom"===t&&(o=e.height),o}function pE(e,t){let o=0;return"number"==typeof t?o=t:"center"===t?o=e.width/2:"right"===t&&(o=e.width),o}function dE(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function uE(e){return"function"==typeof e?e():e}"production"!==process.env.NODE_ENV&&(sE.propTypes={autoFocus:qp.bool,autoFocusItem:qp.bool,children:qp.node,className:qp.string,disabledItemsFocusable:qp.bool,disableListWrap:qp.bool,onKeyDown:qp.func,variant:qp.oneOf(["menu","selectedMenu"])}),em("MuiPopover",["root","paper"]);const fE=Cg(pO,{name:"MuiPopover",slot:"Root"})({}),mE=Cg(Gy,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),hE=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiPopover"}),{action:i,anchorEl:a,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:c="anchorEl",children:p,className:d,container:u,elevation:f=8,marginThreshold:m=16,open:h,PaperProps:g={},slots:y={},slotProps:b={},transformOrigin:v={vertical:"top",horizontal:"left"},TransitionComponent:x,transitionDuration:w="auto",TransitionProps:S={},disableScrollLock:T=!1,...O}=n,C=r.useRef(),k={...n,anchorOrigin:s,anchorReference:c,elevation:f,marginThreshold:m,transformOrigin:v,TransitionComponent:x,transitionDuration:w,TransitionProps:S},E=(e=>{const{classes:t}=e;return nh({root:["root"],paper:["paper"]},lE,t)})(k),P=r.useCallback(()=>{if("anchorPosition"===c)return process.env.NODE_ENV,l;const e=uE(a),t=e&&1===e.nodeType?e:Ag(C.current).body,o=t.getBoundingClientRect();if("production"!==process.env.NODE_ENV){const e=t.getBoundingClientRect();"test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&e.bottom}return{top:o.top+cE(o,s.vertical),left:o.left+pE(o,s.horizontal)}},[a,s.horizontal,s.vertical,l,c]),N=r.useCallback(e=>({vertical:cE(e,v.vertical),horizontal:pE(e,v.horizontal)}),[v.horizontal,v.vertical]),R=r.useCallback(e=>{const t={width:e.offsetWidth,height:e.offsetHeight},o=N(t);if("none"===c)return{top:null,left:null,transformOrigin:dE(o)};const n=P();let r=n.top-o.vertical,i=n.left-o.horizontal;const s=r+t.height,l=i+t.width,p=Lg(uE(a)),d=p.innerHeight-m,u=p.innerWidth-m;if(null!==m&&r<m){const e=r-m;r-=e,o.vertical+=e}else if(null!==m&&s>d){const e=s-d;r-=e,o.vertical+=e}if(process.env.NODE_ENV,null!==m&&i<m){const e=i-m;i-=e,o.horizontal+=e}else if(l>u){const e=l-u;i-=e,o.horizontal+=e}return{top:`${Math.round(r)}px`,left:`${Math.round(i)}px`,transformOrigin:dE(o)}},[a,c,P,N,m]),[M,$]=r.useState(h),j=r.useCallback(()=>{const e=C.current;if(!e)return;const t=R(e);null!==t.top&&e.style.setProperty("top",t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,$(!0)},[R]);r.useEffect(()=>(T&&window.addEventListener("scroll",j),()=>window.removeEventListener("scroll",j)),[a,T,j]),r.useEffect(()=>{h&&j()}),r.useImperativeHandle(i,()=>h?{updatePosition:()=>{j()}}:null,[h,j]),r.useEffect(()=>{if(!h)return;const e=Ig(()=>{j()}),t=Lg(uE(a));return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[a,h,j]);let I=w;const A={slots:{transition:x,...y},slotProps:{transition:S,paper:g,...b}},[L,B]=Ay("transition",{elementType:LC,externalForwardedProps:A,ownerState:k,getSlotProps:e=>({...e,onEntering:(t,o)=>{e.onEntering?.(t,o),j()},onExited:t=>{e.onExited?.(t),$(!1)}}),additionalProps:{appear:!0,in:h}});"auto"!==w||L.muiSupportAuto||(I=void 0);const D=u||(a?Ag(uE(a)).body:void 0),[z,{slots:V,slotProps:F,...W}]=Ay("root",{ref:o,elementType:fE,externalForwardedProps:{...A,...O},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:y.backdrop},slotProps:{backdrop:_g("function"==typeof b.backdrop?b.backdrop(k):b.backdrop,{invisible:!0})},container:D,open:h},ownerState:k,className:Yf(E.root,d)}),[_,H]=Ay("paper",{ref:C,className:E.paper,elementType:mE,externalForwardedProps:A,shouldForwardComponentProp:!0,additionalProps:{elevation:f,style:M?void 0:{opacity:0}},ownerState:k});return e(z,{...W,...!Ny(z)&&{slots:V,slotProps:F,disableScrollLock:T},children:e(L,{...B,timeout:I,children:e(_,{...H,children:p})})})});function gE(e){return Qf("MuiMenu",e)}"production"!==process.env.NODE_ENV&&(hE.propTypes={action:sb,anchorEl:Hg(qp.oneOfType([kv,qp.func]),e=>{if(e.open&&(!e.anchorReference||"anchorEl"===e.anchorReference)){const t=uE(e.anchorEl);if(!t||1!==t.nodeType)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("\n"));{const e=t.getBoundingClientRect();if("test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom)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("\n"))}}return null}),anchorOrigin:qp.shape({horizontal:qp.oneOfType([qp.oneOf(["center","left","right"]),qp.number]).isRequired,vertical:qp.oneOfType([qp.oneOf(["bottom","center","top"]),qp.number]).isRequired}),anchorPosition:qp.shape({left:qp.number.isRequired,top:qp.number.isRequired}),anchorReference:qp.oneOf(["anchorEl","anchorPosition","none"]),BackdropComponent:qp.elementType,BackdropProps:qp.object,children:qp.node,classes:qp.object,className:qp.string,container:qp.oneOfType([kv,qp.func]),disableScrollLock:qp.bool,elevation:Hy,marginThreshold:qp.number,onClose:qp.func,open:qp.bool.isRequired,PaperProps:qp.shape({component:ky}),slotProps:qp.shape({backdrop:qp.oneOfType([qp.func,qp.object]),paper:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object]),transition:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({backdrop:qp.elementType,paper:qp.elementType,root:qp.elementType,transition:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),transformOrigin:qp.shape({horizontal:qp.oneOfType([qp.oneOf(["center","left","right"]),qp.number]).isRequired,vertical:qp.oneOfType([qp.oneOf(["bottom","center","top"]),qp.number]).isRequired}),TransitionComponent:qp.elementType,transitionDuration:qp.oneOfType([qp.oneOf(["auto"]),qp.number,qp.shape({appear:qp.number,enter:qp.number,exit:qp.number})]),TransitionProps:qp.object}),em("MuiMenu",["root","paper","list"]);const yE={vertical:"top",horizontal:"right"},bE={vertical:"top",horizontal:"left"},vE=Cg(hE,{shouldForwardProp:e=>Og(e)||"classes"===e,name:"MuiMenu",slot:"Root"})({}),xE=Cg(mE,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),wE=Cg(sE,{name:"MuiMenu",slot:"List"})({outline:0}),SE=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:s,disableAutoFocusItem:l=!1,MenuListProps:c={},onClose:p,open:d,PaperProps:u={},PopoverClasses:f,transitionDuration:m="auto",TransitionProps:{onEntering:h,...g}={},variant:y="selectedMenu",slots:b={},slotProps:v={},...x}=n,w=Wm(),S={...n,autoFocus:i,disableAutoFocusItem:l,MenuListProps:c,onEntering:h,PaperProps:u,transitionDuration:m,TransitionProps:g,variant:y},T=(e=>{const{classes:t}=e;return nh({root:["root"],paper:["paper"],list:["list"]},gE,t)})(S),O=i&&!l&&d,C=r.useRef(null);let k=-1;r.Children.map(a,(e,t)=>{r.isValidElement(e)&&("production"!==process.env.NODE_ENV&&qd.isFragment(e),e.props.disabled||("selectedMenu"===y&&e.props.selected||-1===k)&&(k=t))});const E={slots:b,slotProps:{list:c,transition:g,paper:u,...v}},P=Fx({elementType:b.root,externalSlotProps:v.root,ownerState:S,className:[T.root,s]}),[N,R]=Ay("paper",{className:T.paper,elementType:xE,externalForwardedProps:E,shouldForwardComponentProp:!0,ownerState:S}),[M,$]=Ay("list",{className:Yf(T.list,c.className),elementType:wE,shouldForwardComponentProp:!0,externalForwardedProps:E,getSlotProps:e=>({...e,onKeyDown:t=>{(e=>{"Tab"===e.key&&(e.preventDefault(),p&&p(e,"tabKeyDown"))})(t),e.onKeyDown?.(t)}}),ownerState:S}),j="function"==typeof E.slotProps.transition?E.slotProps.transition(S):E.slotProps.transition;return e(vE,{onClose:p,anchorOrigin:{vertical:"bottom",horizontal:w?"right":"left"},transformOrigin:w?yE:bE,slots:{root:b.root,paper:N,backdrop:b.backdrop,...b.transition&&{transition:b.transition}},slotProps:{root:P,paper:R,backdrop:"function"==typeof v.backdrop?v.backdrop(S):v.backdrop,transition:{...j,onEntering:(...e)=>{((e,t)=>{C.current&&C.current.adjustStyleForScrollbar(e,{direction:w?"rtl":"ltr"}),h&&h(e,t)})(...e),j?.onEntering?.(...e)}}},open:d,ref:o,transitionDuration:m,ownerState:S,...x,classes:f,children:e(M,{actions:C,autoFocus:i&&(-1===k||l),autoFocusItem:O,variant:y,...$,children:a})})});function TE(e){return Qf("MuiMenuItem",e)}"production"!==process.env.NODE_ENV&&(SE.propTypes={anchorEl:qp.oneOfType([kv,qp.func]),autoFocus:qp.bool,children:qp.node,classes:qp.object,className:qp.string,disableAutoFocusItem:qp.bool,MenuListProps:qp.object,onClose:qp.func,open:qp.bool.isRequired,PaperProps:qp.object,PopoverClasses:qp.object,slotProps:qp.shape({backdrop:qp.oneOfType([qp.func,qp.object]),list:qp.oneOfType([qp.func,qp.object]),paper:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object]),transition:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({backdrop:qp.elementType,list:qp.elementType,paper:qp.elementType,root:qp.elementType,transition:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),transitionDuration:qp.oneOfType([qp.oneOf(["auto"]),qp.number,qp.shape({appear:qp.number,enter:qp.number,exit:qp.number})]),TransitionProps:qp.object,variant:qp.oneOf(["menu","selectedMenu"])});const OE=em("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),CE=Cg(wb,{shouldForwardProp:e=>Og(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.dense&&t.dense,o.divider&&t.divider,!o.disableGutters&&t.gutters]}})(Pg(({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"}},[`&.${OE.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${OE.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${OE.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)}},[`&.${OE.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${OE.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${jO.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${jO.inset}`]:{marginLeft:52},[`& .${eE.root}`]:{marginTop:0,marginBottom:0},[`& .${eE.inset}`]:{paddingLeft:36},[`& .${Yk.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>!e.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:e})=>e.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${Yk.root} svg`]:{fontSize:"1.25rem"}}}]}))),kE=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiMenuItem"}),{autoFocus:i=!1,component:a="li",dense:s=!1,divider:l=!1,disableGutters:c=!1,focusVisibleClassName:p,role:d="menuitem",tabIndex:u,className:f,...m}=n,h=r.useContext(Mk),g=r.useMemo(()=>({dense:s||h.dense||!1,disableGutters:c}),[h.dense,s,c]),y=r.useRef(null);ym(()=>{i&&(y.current?y.current.focus():process.env.NODE_ENV)},[i]);const b={...n,dense:g.dense,divider:l,disableGutters:c},v=(e=>{const{disabled:t,dense:o,divider:n,disableGutters:r,selected:i,classes:a}=e,s=nh({root:["root",o&&"dense",t&&"disabled",!r&&"gutters",n&&"divider",i&&"selected"]},TE,a);return{...a,...s}})(n),x=Wg(y,o);let w;return n.disabled||(w=void 0!==u?u:-1),e(Mk.Provider,{value:g,children:e(CE,{ref:x,role:d,tabIndex:w,component:a,focusVisibleClassName:Yf(v.focusVisible,p),className:Yf(v.root,f),...m,ownerState:b,classes:v})})});function EE(e){return Qf("MuiMobileStepper",e)}"production"!==process.env.NODE_ENV&&(kE.propTypes={autoFocus:qp.bool,children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,dense:qp.bool,disabled:qp.bool,disableGutters:qp.bool,divider:qp.bool,focusVisibleClassName:qp.string,role:qp.string,selected:qp.bool,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),tabIndex:qp.number}),em("MuiMobileStepper",["root","positionBottom","positionTop","positionStatic","dots","dot","dotActive","progress"]);const PE=Cg(Gy,{name:"MuiMobileStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`position${Cu(o.position)}`]]}})(Pg(({theme:e})=>({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",background:(e.vars||e).palette.background.default,padding:8,variants:[{props:({position:e})=>"top"===e||"bottom"===e,style:{position:"fixed",left:0,right:0,zIndex:(e.vars||e).zIndex.mobileStepper}},{props:{position:"top"},style:{top:0}},{props:{position:"bottom"},style:{bottom:0}}]}))),NE=Cg("div",{name:"MuiMobileStepper",slot:"Dots"})({variants:[{props:{variant:"dots"},style:{display:"flex",flexDirection:"row"}}]}),RE=Cg("div",{name:"MuiMobileStepper",slot:"Dot",shouldForwardProp:e=>Tg(e)&&"dotActive"!==e,overridesResolver:(e,t)=>{const{dotActive:o}=e;return[t.dot,o&&t.dotActive]}})(Pg(({theme:e})=>({variants:[{props:{variant:"dots"},style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),backgroundColor:(e.vars||e).palette.action.disabled,borderRadius:"50%",width:8,height:8,margin:"0 2px"}},{props:{variant:"dots",dotActive:!0},style:{backgroundColor:(e.vars||e).palette.primary.main}}]}))),ME=Cg(Ok,{name:"MuiMobileStepper",slot:"Progress"})({variants:[{props:{variant:"progress"},style:{width:"50%"}}]}),$E=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiMobileStepper"}),{activeStep:a=0,backButton:s,className:l,LinearProgressProps:c,nextButton:p,position:d="bottom",steps:u,variant:f="dots",slots:m={},slotProps:h={},...g}=i,y={...i,activeStep:a,position:d,variant:f};let b;"progress"===f&&(b=1===u?100:Math.ceil(a/(u-1)*100));const v=(e=>{const{classes:t,position:o}=e;return nh({root:["root",`position${Cu(o)}`],dots:["dots"],dot:["dot"],dotActive:["dotActive"],progress:["progress"]},EE,t)})(y),x={slots:m,slotProps:{progress:c,...h}},[w,S]=Ay("root",{ref:n,elementType:PE,shouldForwardComponentProp:!0,className:Yf(v.root,l),externalForwardedProps:{...x,...g},ownerState:y,additionalProps:{square:!0,elevation:0}}),[T,O]=Ay("dots",{className:v.dots,elementType:NE,externalForwardedProps:x,ownerState:y}),[C,k]=Ay("dot",{elementType:RE,externalForwardedProps:x,ownerState:y}),[E,P]=Ay("progress",{className:v.progress,elementType:ME,shouldForwardComponentProp:!0,externalForwardedProps:x,ownerState:y,additionalProps:{value:b,variant:"determinate"}});return t(w,{...S,children:[s,"text"===f&&t(r.Fragment,{children:[a+1," / ",u]}),"dots"===f&&e(T,{...O,children:[...new Array(u)].map((t,o)=>e(C,{...k,className:Yf(v.dot,k.className,o===a&&v.dotActive),dotActive:o===a},o))}),"progress"===f&&e(E,{...P}),p]})});function jE(e){return Qf("MuiNativeSelect",e)}"production"!==process.env.NODE_ENV&&($E.propTypes={activeStep:Hy,backButton:qp.node,classes:qp.object,className:qp.string,LinearProgressProps:qp.object,nextButton:qp.node,position:qp.oneOf(["bottom","static","top"]),slotProps:qp.shape({dot:qp.oneOfType([qp.func,qp.object]),dots:qp.oneOfType([qp.func,qp.object]),progress:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({dot:qp.elementType,dots:qp.elementType,progress:qp.elementType,root:qp.elementType}),steps:Hy.isRequired,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),variant:qp.oneOf(["dots","progress","text"])});const IE=em("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),AE=Cg("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${IE.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:e})=>"filled"!==e.variant&&"outlined"!==e.variant,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}}}]})),LE=Cg(AE,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Og,overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.select,t[o.variant],o.error&&t.error,{[`&.${IE.multiple}`]:t.multiple}]}})({}),BE=Cg("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${IE.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),DE=Cg(BE,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.icon,o.variant&&t[`icon${Cu(o.variant)}`],o.open&&t.iconOpen]}})({}),zE=r.forwardRef(function(o,n){const{className:i,disabled:a,error:s,IconComponent:l,inputRef:c,variant:p="standard",...d}=o,u={...o,disabled:a,variant:p,error:s},f=(e=>{const{classes:t,variant:o,disabled:n,multiple:r,open:i,error:a}=e;return nh({select:["select",o,n&&"disabled",r&&"multiple",a&&"error"],icon:["icon",`icon${Cu(o)}`,i&&"iconOpen",n&&"disabled"]},jE,t)})(u);return t(r.Fragment,{children:[e(LE,{ownerState:u,className:Yf(f.select,i),disabled:a,ref:c||n,...d}),o.multiple?null:e(DE,{as:l,ownerState:u,className:f.icon})]})});"production"!==process.env.NODE_ENV&&(zE.propTypes={children:qp.node,classes:qp.object,className:qp.string,disabled:qp.bool,error:qp.bool,IconComponent:qp.elementType.isRequired,inputRef:sb,multiple:qp.bool,name:qp.string,onChange:qp.func,value:qp.any,variant:qp.oneOf(["standard","outlined","filled"])});const VE=e(nk,{}),FE=r.forwardRef(function(t,o){const n=Ng({name:"MuiNativeSelect",props:t}),{className:i,children:a,classes:s={},IconComponent:l=$w,input:c=VE,inputProps:p,variant:d,...u}=n,f=uw({props:n,muiFormControl:mw(),states:["variant"]}),m=(e=>{const{classes:t}=e;return nh({root:["root"]},jE,t)})({...n,classes:s}),{root:h,...g}=s;return e(r.Fragment,{children:r.cloneElement(c,{inputComponent:zE,inputProps:{children:a,classes:g,IconComponent:l,variant:f.variant,type:void 0,...p,...c?c.props.inputProps:{}},ref:o,...u,className:Yf(m.root,c.props.className,i)})})});function WE(e){const{children:t,defer:o=!1,fallback:n=null}=e,[i,a]=r.useState(!1);return ym(()=>{o||a(!0)},[o]),r.useEffect(()=>{o&&a(!0)},[o]),i?t:n}var _E;"production"!==process.env.NODE_ENV&&(FE.propTypes={children:qp.node,classes:qp.object,className:qp.string,IconComponent:qp.elementType,input:qp.element,inputProps:qp.object,onChange:qp.func,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),value:qp.any,variant:qp.oneOf(["filled","outlined","standard"])}),FE.muiName="Select","production"!==process.env.NODE_ENV&&(WE.propTypes={children:qp.node,defer:qp.bool,fallback:qp.node}),"production"!==process.env.NODE_ENV&&(WE.propTypes=Am(WE.propTypes));const HE=Cg("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:Og})({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%"}),qE=Cg("legend",{name:"MuiNotchedOutlined",shouldForwardProp:Og})(Pg(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.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:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function UE(t){const{children:o,classes:n,className:r,label:i,notched:a,...s}=t,l=null!=i&&""!==i,c={...t,notched:a,withLabel:l};return e(HE,{"aria-hidden":!0,className:r,ownerState:c,...s,children:e(qE,{ownerState:c,children:l?e("span",{children:i}):_E||(_E=e("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}"production"!==process.env.NODE_ENV&&(UE.propTypes={children:qp.node,classes:qp.object,className:qp.string,label:qp.node,notched:qp.bool.isRequired,style:qp.object});const GE=Cg(Sw,{shouldForwardProp:e=>Og(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:xw})(Pg(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Nw.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Nw.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${Nw.focused} .${Nw.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Nb()).map(([t])=>({props:{color:t},style:{[`&.${Nw.focused} .${Nw.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Nw.error} .${Nw.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Nw.disabled} .${Nw.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:14}},{props:({ownerState:e})=>e.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{padding:"8.5px 14px"}}]}})),KE=Cg(UE,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(Pg(({theme:e})=>{const t="light"===e.palette.mode?"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}})),XE=Cg(Tw,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:ww})(Pg(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?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:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]}))),YE=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiOutlinedInput"}),{components:a={},fullWidth:s=!1,inputComponent:l="input",label:c,multiline:p=!1,notched:d,slots:u={},slotProps:f={},type:m="text",...h}=i,g=(e=>{const{classes:t}=e,o=nh({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Pw,t);return{...t,...o}})(i),y=mw(),b=uw({props:i,muiFormControl:y,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),v={...i,color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:y,fullWidth:s,hiddenLabel:b.hiddenLabel,multiline:p,size:b.size,type:m},x=u.root??a.Root??GE,w=u.input??a.Input??XE,[S,T]=Ay("notchedOutline",{elementType:KE,className:g.notchedOutline,shouldForwardComponentProp:!0,ownerState:v,externalForwardedProps:{slots:u,slotProps:f},additionalProps:{label:null!=c&&""!==c&&b.required?t(r.Fragment,{children:[c," ","*"]}):c}});return e(Cw,{slots:{root:x,input:w},slotProps:f,renderSuffix:t=>e(S,{...T,notched:void 0!==d?d:Boolean(t.startAdornment||t.filled||t.focused)}),fullWidth:s,inputComponent:l,multiline:p,ref:n,type:m,...h,classes:{...g,notchedOutline:null}})});function ZE(e){return Qf("MuiPagination",e)}function JE(e){return Qf("MuiPaginationItem",e)}"production"!==process.env.NODE_ENV&&(YE.propTypes={autoComplete:qp.string,autoFocus:qp.bool,classes:qp.object,color:qp.oneOfType([qp.oneOf(["primary","secondary"]),qp.string]),components:qp.shape({Input:qp.elementType,Root:qp.elementType}),defaultValue:qp.any,disabled:qp.bool,endAdornment:qp.node,error:qp.bool,fullWidth:qp.bool,id:qp.string,inputComponent:qp.elementType,inputProps:qp.object,inputRef:sb,label:qp.node,margin:qp.oneOf(["dense","none"]),maxRows:qp.oneOfType([qp.number,qp.string]),minRows:qp.oneOfType([qp.number,qp.string]),multiline:qp.bool,name:qp.string,notched:qp.bool,onChange:qp.func,placeholder:qp.string,readOnly:qp.bool,required:qp.bool,rows:qp.oneOfType([qp.number,qp.string]),slotProps:qp.shape({input:qp.object,notchedOutline:qp.oneOfType([qp.func,qp.object]),root:qp.object}),slots:qp.shape({input:qp.elementType,notchedOutline:qp.elementType,root:qp.elementType}),startAdornment:qp.node,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),type:qp.string,value:qp.any}),YE.muiName="Input",em("MuiPagination",["root","ul","outlined","text"]);const QE=em("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]);var eP=jg(e("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),tP=jg(e("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),oP=jg(e("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),nP=jg(e("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext");const rP=(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`size${Cu(o.size)}`],"text"===o.variant&&t[`text${Cu(o.color)}`],"outlined"===o.variant&&t[`outlined${Cu(o.color)}`],"rounded"===o.shape&&t.rounded,"page"===o.type&&t.page,("start-ellipsis"===o.type||"end-ellipsis"===o.type)&&t.ellipsis,("previous"===o.type||"next"===o.type)&&t.previousNext,("first"===o.type||"last"===o.type)&&t.firstLast]},iP=Cg("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:rP})(Pg(({theme:e})=>({...e.typography.body2,borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${QE.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:{size:"small"},style:{minWidth:26,borderRadius:13,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)}}]}))),aP=Cg(wb,{name:"MuiPaginationItem",slot:"Root",overridesResolver:rP})(Pg(({theme:e})=>({...e.typography.body2,borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${QE.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${QE.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${QE.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${QE.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},[`&.${QE.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}},variants:[{props:{size:"small"},style:{minWidth:26,height:26,borderRadius:13,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,height:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)}},{props:{shape:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"outlined"},style:{border:e.vars?`1px solid ${e.alpha(e.vars.palette.common.onBackground,.23)}`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${QE.selected}`]:{[`&.${QE.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}}}},{props:{variant:"text"},style:{[`&.${QE.selected}`]:{[`&.${QE.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}},...Object.entries(e.palette).filter(Nb(["dark","contrastText"])).map(([t])=>({props:{variant:"text",color:t},style:{[`&.${QE.selected}`]:{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}},[`&.${QE.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark},[`&.${QE.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}})),...Object.entries(e.palette).filter(Nb(["light"])).map(([t])=>({props:{variant:"outlined",color:t},style:{[`&.${QE.selected}`]:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.alpha((e.vars||e).palette[t].main,.5)}`,backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.activatedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,`${(e.vars||e).palette.action.activatedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${QE.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,`${(e.vars||e).palette.action.activatedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}}}))]}))),sP=Cg("div",{name:"MuiPaginationItem",slot:"Icon"})(Pg(({theme:e})=>({fontSize:e.typography.pxToRem(20),margin:"0 -8px",variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(22)}}]}))),lP=r.forwardRef(function(o,n){const r=Ng({props:o,name:"MuiPaginationItem"}),{className:i,color:a="standard",component:s,components:l={},disabled:c=!1,page:p,selected:d=!1,shape:u="circular",size:f="medium",slots:m={},slotProps:h={},type:g="page",variant:y="text",...b}=r,v={...r,color:a,disabled:c,selected:d,shape:u,size:f,type:g,variant:y},x=Wm(),w=(e=>{const{classes:t,color:o,disabled:n,selected:r,size:i,shape:a,type:s,variant:l}=e;return nh({root:["root",`size${Cu(i)}`,l,a,"standard"!==o&&`color${Cu(o)}`,"standard"!==o&&`${l}${Cu(o)}`,n&&"disabled",r&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[s]],icon:["icon"]},JE,t)})(v),S={slots:{previous:m.previous??l.previous,next:m.next??l.next,first:m.first??l.first,last:m.last??l.last},slotProps:h},[T,O]=Ay("previous",{elementType:oP,externalForwardedProps:S,ownerState:v}),[C,k]=Ay("next",{elementType:nP,externalForwardedProps:S,ownerState:v}),[E,P]=Ay("first",{elementType:eP,externalForwardedProps:S,ownerState:v}),[N,R]=Ay("last",{elementType:tP,externalForwardedProps:S,ownerState:v}),M=x?{previous:"next",next:"previous",first:"last",last:"first"}[g]:g,$={previous:T,next:C,first:E,last:N}[M],j={previous:O,next:k,first:P,last:R}[M];return"start-ellipsis"===g||"end-ellipsis"===g?e(iP,{ref:n,ownerState:v,className:Yf(w.root,i),children:"…"}):t(aP,{ref:n,ownerState:v,component:s,disabled:c,className:Yf(w.root,i),...b,children:["page"===g&&p,$?e(sP,{...j,className:w.icon,as:$}):null]})});"production"!==process.env.NODE_ENV&&(lP.propTypes={children:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["primary","secondary","standard"]),qp.string]),component:qp.elementType,components:qp.shape({first:qp.elementType,last:qp.elementType,next:qp.elementType,previous:qp.elementType}),disabled:qp.bool,page:qp.node,selected:qp.bool,shape:qp.oneOf(["circular","rounded"]),size:qp.oneOfType([qp.oneOf(["small","medium","large"]),qp.string]),slotProps:qp.shape({first:qp.oneOfType([qp.func,qp.object]),last:qp.oneOfType([qp.func,qp.object]),next:qp.oneOfType([qp.func,qp.object]),previous:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({first:qp.elementType,last:qp.elementType,next:qp.elementType,previous:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),type:qp.oneOf(["end-ellipsis","first","last","next","page","previous","start-ellipsis"]),variant:qp.oneOfType([qp.oneOf(["outlined","text"]),qp.string])});const cP=Cg("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant]]}})({}),pP=Cg("ul",{name:"MuiPagination",slot:"Ul"})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function dP(e,t,o){return"page"===e?`${o?"":"Go to "}page ${t}`:`Go to ${e} page`}const uP=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiPagination"}),{boundaryCount:r=1,className:i,color:a="standard",count:s=1,defaultPage:l=1,disabled:c=!1,getItemAriaLabel:p=dP,hideNextButton:d=!1,hidePrevButton:u=!1,onChange:f,page:m,renderItem:h=t=>e(lP,{...t}),shape:g="circular",showFirstButton:y=!1,showLastButton:b=!1,siblingCount:v=1,size:x="medium",variant:w="text",...S}=n,{items:T}=function(e={}){const{boundaryCount:t=1,componentName:o="usePagination",count:n=1,defaultPage:r=1,disabled:i=!1,hideNextButton:a=!1,hidePrevButton:s=!1,onChange:l,page:c,showFirstButton:p=!1,showLastButton:d=!1,siblingCount:u=1,...f}=e,[m,h]=Vg({controlled:c,default:r,name:o,state:"page"}),g=(e,t)=>{c||h(t),l&&l(e,t)},y=(e,t)=>{const o=t-e+1;return Array.from({length:o},(t,o)=>e+o)},b=y(1,Math.min(t,n)),v=y(Math.max(n-t+1,t+1),n),x=Math.max(Math.min(m-u,n-t-2*u-1),t+2),w=Math.min(Math.max(m+u,t+2*u+2),n-t-1),S=[...p?["first"]:[],...s?[]:["previous"],...b,...x>t+2?["start-ellipsis"]:t+1<n-t?[t+1]:[],...y(x,w),...w<n-t-1?["end-ellipsis"]:n-t>t?[n-t]:[],...v,...a?[]:["next"],...d?["last"]:[]],T=e=>{switch(e){case"first":return 1;case"previous":return m-1;case"next":return m+1;case"last":return n;default:return null}};return{items:S.map(e=>"number"==typeof e?{onClick:t=>{g(t,e)},type:"page",page:e,selected:e===m,disabled:i,"aria-current":e===m?"page":void 0}:{onClick:t=>{g(t,T(e))},type:e,page:T(e),selected:!1,disabled:i||!e.includes("ellipsis")&&("next"===e||"last"===e?m>=n:m<=1)}),...f}}({...n,componentName:"Pagination"}),O={...n,boundaryCount:r,color:a,count:s,defaultPage:l,disabled:c,getItemAriaLabel:p,hideNextButton:d,hidePrevButton:u,renderItem:h,shape:g,showFirstButton:y,showLastButton:b,siblingCount:v,size:x,variant:w},C=(e=>{const{classes:t,variant:o}=e;return nh({root:["root",o],ul:["ul"]},ZE,t)})(O);return e(cP,{"aria-label":"pagination navigation",className:Yf(C.root,i),ownerState:O,ref:o,...S,children:e(pP,{className:C.ul,ownerState:O,children:T.map((t,o)=>e("li",{children:h({...t,color:a,"aria-label":p(t.type,t.page,t.selected),shape:g,size:x,variant:w})},o))})})});"production"!==process.env.NODE_ENV&&(uP.propTypes={boundaryCount:Hy,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["primary","secondary","standard"]),qp.string]),count:Hy,defaultPage:Hy,disabled:qp.bool,getItemAriaLabel:qp.func,hideNextButton:qp.bool,hidePrevButton:qp.bool,onChange:qp.func,page:Hy,renderItem:qp.func,shape:qp.oneOf(["circular","rounded"]),showFirstButton:qp.bool,showLastButton:qp.bool,siblingCount:Hy,size:qp.oneOfType([qp.oneOf(["small","medium","large"]),qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),variant:qp.oneOfType([qp.oneOf(["outlined","text"]),qp.string])});var fP=jg(e("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),mP=jg(e("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");const hP=Cg("span",{name:"MuiRadioButtonIcon",shouldForwardProp:Og})({position:"relative",display:"flex"}),gP=Cg(fP,{name:"MuiRadioButtonIcon"})({transform:"scale(1)"}),yP=Cg(mP,{name:"MuiRadioButtonIcon"})(Pg(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function bP(o){const{checked:n=!1,classes:r={},fontSize:i}=o,a={...o,checked:n};return t(hP,{className:r.root,ownerState:a,children:[e(gP,{fontSize:i,className:r.background,ownerState:a}),e(yP,{fontSize:i,className:r.dot,ownerState:a})]})}"production"!==process.env.NODE_ENV&&(bP.propTypes={checked:qp.bool,classes:qp.object,fontSize:qp.oneOf(["small","medium"])});const vP=r.createContext(void 0);function xP(e){return Qf("MuiRadio",e)}"production"!==process.env.NODE_ENV&&(vP.displayName="RadioGroupContext");const wP=em("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),SP=Cg(jT,{shouldForwardProp:e=>Og(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"medium"!==o.size&&t[`size${Cu(o.size)}`],t[`color${Cu(o.color)}`]]}})(Pg(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${wP.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Nb()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Nb()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${wP.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),TP=e(bP,{checked:!0}),OP=e(bP,{}),CP=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiRadio"}),{checked:i,checkedIcon:a=TP,color:s="primary",icon:l=OP,name:c,onChange:p,size:d="medium",className:u,disabled:f,disableRipple:m=!1,slots:h={},slotProps:g={},inputProps:y,...b}=n,v=mw();let x=f;v&&void 0===x&&(x=v.disabled),x??=!1;const w={...n,disabled:x,disableRipple:m,color:s,size:d},S=(e=>{const{classes:t,color:o,size:n}=e,r={root:["root",`color${Cu(o)}`,"medium"!==n&&`size${Cu(n)}`]};return{...t,...nh(r,xP,t)}})(w),T=r.useContext(vP);let O=i;const C=kg(p,T&&T.onChange);let k=c;T&&(void 0===O&&(O=function(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}(T.value,n.value)),void 0===k&&(k=T.name));const E=g.input??y,[P,N]=Ay("root",{ref:o,elementType:SP,className:Yf(S.root,u),shouldForwardComponentProp:!0,externalForwardedProps:{slots:h,slotProps:g,...b},getSlotProps:e=>({...e,onChange:(t,...o)=>{e.onChange?.(t,...o),C(t,...o)}}),ownerState:w,additionalProps:{type:"radio",icon:r.cloneElement(l,{fontSize:l.props.fontSize??d}),checkedIcon:r.cloneElement(a,{fontSize:a.props.fontSize??d}),disabled:x,name:k,checked:O,slots:h,slotProps:{input:"function"==typeof E?E(w):E}}});return e(P,{...N,classes:S})});function kP(e){return Qf("MuiRadioGroup",e)}"production"!==process.env.NODE_ENV&&(CP.propTypes={checked:qp.bool,checkedIcon:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["default","primary","secondary","error","info","success","warning"]),qp.string]),disabled:qp.bool,disableRipple:qp.bool,icon:qp.node,id:qp.string,inputProps:qp.object,inputRef:sb,name:qp.string,onChange:qp.func,required:qp.bool,size:qp.oneOfType([qp.oneOf(["medium","small"]),qp.string]),slotProps:qp.shape({input:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({input:qp.elementType,root:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),value:qp.any}),em("MuiRadioGroup",["root","row","error"]);const EP=r.forwardRef(function(t,o){const{actions:n,children:i,className:a,defaultValue:s,name:l,onChange:c,value:p,...d}=t,u=r.useRef(null),f=(e=>{const{classes:t,row:o,error:n}=e;return nh({root:["root",o&&"row",n&&"error"]},kP,t)})(t),[m,h]=Vg({controlled:p,default:s,name:"RadioGroup"});r.useImperativeHandle(n,()=>({focus:()=>{let e=u.current.querySelector("input:not(:disabled):checked");e||(e=u.current.querySelector("input:not(:disabled)")),e&&e.focus()}}),[]);const g=Wg(o,u),y=Gm(l),b=r.useMemo(()=>({name:y,onChange(e){h(e.target.value),c&&c(e,e.target.value)},value:m}),[y,c,h,m]);return e(vP.Provider,{value:b,children:e(uC,{role:"radiogroup",ref:g,className:Yf(f.root,a),...d,children:i})})});"production"!==process.env.NODE_ENV&&(EP.propTypes={children:qp.node,className:qp.string,defaultValue:qp.any,name:qp.string,onChange:qp.func,value:qp.any});const PP={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};var NP=jg(e("path",{d:"M12 17.27L18.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"),RP=jg(e("path",{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarBorder");function MP(e){return Qf("MuiRating",e)}const $P=em("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);function jP(e,t){if(null==e)return e;const o=Math.round(e/t)*t;return Number(o.toFixed(function(e){const t=e.toString().split(".")[1];return t?t.length:0}(t)))}const IP=Cg("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${$P.visuallyHidden}`]:t.visuallyHidden},t.root,t[`size${Cu(o.size)}`],o.readOnly&&t.readOnly]}})(Pg(({theme:e})=>({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",[`&.${$P.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${$P.focusVisible} .${$P.iconActive}`]:{outline:"1px solid #999"},[`& .${$P.visuallyHidden}`]:PP,variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(30)}},{props:({ownerState:e})=>e.readOnly,style:{pointerEvents:"none"}}]}))),AP=Cg("label",{name:"MuiRating",slot:"Label",overridesResolver:({ownerState:e},t)=>[t.label,e.emptyValueFocused&&t.labelEmptyValueActive]})({cursor:"inherit",variants:[{props:({ownerState:e})=>e.emptyValueFocused,style:{top:0,bottom:0,position:"absolute",outline:"1px solid #999",width:"100%"}}]}),LP=Cg("span",{name:"MuiRating",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.icon,o.iconEmpty&&t.iconEmpty,o.iconFilled&&t.iconFilled,o.iconHover&&t.iconHover,o.iconFocus&&t.iconFocus,o.iconActive&&t.iconActive]}})(Pg(({theme:e})=>({display:"flex",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),pointerEvents:"none",variants:[{props:({ownerState:e})=>e.iconActive,style:{transform:"scale(1.2)"}},{props:({ownerState:e})=>e.iconEmpty,style:{color:(e.vars||e).palette.action.disabled}}]}))),BP=Cg("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>Tg(e)&&"iconActive"!==e,overridesResolver:(e,t)=>{const{iconActive:o}=e;return[t.decimal,o&&t.iconActive]}})({position:"relative",variants:[{props:({iconActive:e})=>e,style:{transform:"scale(1.2)"}}]});function DP(t){const{value:o,...n}=t;return e("span",{...n})}function zP(o){const{classes:n,disabled:i,emptyIcon:a,focus:s,getLabelText:l,highlightSelectedOnly:c,hover:p,icon:d,IconContainerComponent:u,isActive:f,itemValue:m,labelProps:h,name:g,onBlur:y,onChange:b,onClick:v,onFocus:x,readOnly:w,ownerState:S,ratingValue:T,ratingValueRounded:O,slots:C={},slotProps:k={}}=o,E=c?m===T:m<=T,P=m<=p,N=m<=s,R=m===O,M=`${g}-${Gm()}`,$={slots:C,slotProps:k},[j,I]=Ay("icon",{elementType:LP,className:Yf(n.icon,E?n.iconFilled:n.iconEmpty,P&&n.iconHover,N&&n.iconFocus,f&&n.iconActive),externalForwardedProps:$,ownerState:{...S,iconEmpty:!E,iconFilled:E,iconHover:P,iconFocus:N,iconActive:f},additionalProps:{value:m},internalForwardedProps:{as:u}}),[A,L]=Ay("label",{elementType:AP,externalForwardedProps:$,ownerState:{...S,emptyValueFocused:void 0},additionalProps:{style:h?.style,htmlFor:M}}),B=e(j,{...I,children:a&&!E?a:d});return w?e("span",{...h,children:B}):t(r.Fragment,{children:[t(A,{...L,children:[B,e("span",{className:n.visuallyHidden,children:l(m)})]}),e("input",{className:n.visuallyHidden,onFocus:x,onBlur:y,onChange:b,onClick:v,disabled:i,value:m,id:M,type:"radio",name:g,checked:R})]})}"production"!==process.env.NODE_ENV&&(DP.propTypes={value:qp.number.isRequired}),"production"!==process.env.NODE_ENV&&(zP.propTypes={classes:qp.object.isRequired,disabled:qp.bool.isRequired,emptyIcon:qp.node,focus:qp.number.isRequired,getLabelText:qp.func.isRequired,highlightSelectedOnly:qp.bool.isRequired,hover:qp.number.isRequired,icon:qp.node,IconContainerComponent:qp.elementType.isRequired,isActive:qp.bool.isRequired,itemValue:qp.number.isRequired,labelProps:qp.object,name:qp.string,onBlur:qp.func.isRequired,onChange:qp.func.isRequired,onClick:qp.func.isRequired,onFocus:qp.func.isRequired,ownerState:qp.object.isRequired,ratingValue:qp.number,ratingValueRounded:qp.number,readOnly:qp.bool.isRequired,slotProps:qp.object,slots:qp.object});const VP=e(NP,{fontSize:"inherit"}),FP=e(RP,{fontSize:"inherit"});function WP(e){return`${e||"0"} Star${1!==e?"s":""}`}const _P=r.forwardRef(function(o,n){const i=Ng({name:"MuiRating",props:o}),{component:a="span",className:s,defaultValue:l=null,disabled:c=!1,emptyIcon:p=FP,emptyLabelText:d="Empty",getLabelText:u=WP,highlightSelectedOnly:f=!1,icon:m=VP,IconContainerComponent:g=DP,max:y=5,name:b,onChange:v,onChangeActive:x,onMouseLeave:w,onMouseMove:S,precision:T=1,readOnly:O=!1,size:C="medium",value:k,slots:E={},slotProps:P={},...N}=i,R=Gm(b),[M,$]=Vg({controlled:k,default:l,name:"Rating"}),j=jP(M,T),I=Wm(),[{hover:A,focus:L},B]=r.useState({hover:-1,focus:-1});let D=j;-1!==A&&(D=A),-1!==L&&(D=L);const[z,V]=r.useState(!1),F=r.useRef(),W=Wg(F,n),_=e=>{let t=""===e.target.value?null:parseFloat(e.target.value);-1!==A&&(t=A),$(t),v&&v(e,t)},H=e=>{0===e.clientX&&0===e.clientY||(B({hover:-1,focus:-1}),$(null),v&&parseFloat(e.target.value)===j&&v(e,null))},q=e=>{lb(e.target)&&V(!0);const t=parseFloat(e.target.value);B(e=>({hover:e.hover,focus:t}))},U=e=>{-1===A&&(lb(e.target)||V(!1),B(e=>({hover:e.hover,focus:-1})))},[G,K]=r.useState(!1),X={...i,component:a,defaultValue:l,disabled:c,emptyIcon:p,emptyLabelText:d,emptyValueFocused:G,focusVisible:z,getLabelText:u,icon:m,IconContainerComponent:g,max:y,precision:T,readOnly:O,size:C},Y=(e=>{const{classes:t,size:o,readOnly:n,disabled:r,emptyValueFocused:i,focusVisible:a}=e;return nh({root:["root",`size${Cu(o)}`,r&&"disabled",a&&"focusVisible",n&&"readOnly"],label:["label","pristine"],labelEmptyValue:[i&&"labelEmptyValueActive"],icon:["icon"],iconEmpty:["iconEmpty"],iconFilled:["iconFilled"],iconHover:["iconHover"],iconFocus:["iconFocus"],iconActive:["iconActive"],decimal:["decimal"],visuallyHidden:["visuallyHidden"]},MP,t)})(X),Z={slots:E,slotProps:P},[J,Q]=Ay("root",{ref:W,className:Yf(Y.root,s),elementType:IP,externalForwardedProps:{...Z,...N,component:a},getSlotProps:e=>({...e,onMouseMove:t=>{(e=>{S&&S(e);const t=F.current,{right:o,left:n,width:r}=t.getBoundingClientRect();let i;i=I?(o-e.clientX)/r:(e.clientX-n)/r;let a=jP(y*i+T/2,T);a=bm(a,T,y),B(e=>e.hover===a&&e.focus===a?e:{hover:a,focus:a}),V(!1),x&&A!==a&&x(e,a)})(t),e.onMouseMove?.(t)},onMouseLeave:t=>{(e=>{w&&w(e),B({hover:-1,focus:-1}),x&&-1!==A&&x(e,-1)})(t),e.onMouseLeave?.(t)}}),ownerState:X,additionalProps:{role:O?"img":null,"aria-label":O?u(D):null}}),[ee,te]=Ay("label",{className:Yf(Y.label,Y.labelEmptyValue),elementType:AP,externalForwardedProps:Z,ownerState:X}),[oe,ne]=Ay("decimal",{className:Y.decimal,elementType:BP,externalForwardedProps:Z,ownerState:X});return t(J,{...Q,children:[Array.from(new Array(y)).map((t,o)=>{const n=o+1,r={classes:Y,disabled:c,emptyIcon:p,focus:L,getLabelText:u,highlightSelectedOnly:f,hover:A,icon:m,IconContainerComponent:g,name:R,onBlur:U,onChange:_,onClick:H,onFocus:q,ratingValue:D,ratingValueRounded:j,readOnly:O,ownerState:X,slots:E,slotProps:P},i=n===Math.ceil(D)&&(-1!==A||-1!==L);if(T<1){const t=Array.from(new Array(1/T));return h(oe,{...ne,key:n,className:Yf(ne.className,i&&Y.iconActive),iconActive:i},t.map((o,i)=>{const a=jP(n-1+(i+1)*T,T);return e(zP,{...r,isActive:!1,itemValue:a,labelProps:{style:t.length-1===i?{}:{width:a===D?(i+1)*T*100+"%":"0%",overflow:"hidden",position:"absolute"}}},a)}))}return e(zP,{...r,isActive:i,itemValue:n},n)}),!O&&!c&&t(ee,{...te,children:[e("input",{className:Y.visuallyHidden,value:"",id:`${R}-empty`,type:"radio",name:R,checked:null==j,onFocus:()=>K(!0),onBlur:()=>K(!1),onChange:_}),e("span",{className:Y.visuallyHidden,children:d})]})]})});function HP(e){return Qf("MuiScopedCssBaseline",e)}"production"!==process.env.NODE_ENV&&(_P.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,defaultValue:qp.number,disabled:qp.bool,emptyIcon:qp.node,emptyLabelText:qp.node,getLabelText:qp.func,highlightSelectedOnly:qp.bool,icon:qp.node,IconContainerComponent:qp.elementType,max:qp.number,name:qp.string,onChange:qp.func,onChangeActive:qp.func,onMouseLeave:qp.func,onMouseMove:qp.func,precision:Hg(qp.number,e=>e.precision<.1?new Error(["MUI: The prop `precision` should be above 0.1.","A value below this limit has an imperceptible impact."].join("\n")):null),readOnly:qp.bool,size:qp.oneOfType([qp.oneOf(["small","medium","large"]),qp.string]),slotProps:qp.shape({decimal:qp.oneOfType([qp.func,qp.object]),icon:qp.oneOfType([qp.func,qp.object]),label:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({decimal:qp.elementType,icon:qp.elementType,label:qp.elementType,root:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),value:qp.number}),em("MuiScopedCssBaseline",["root"]);const qP=Cg("div",{name:"MuiScopedCssBaseline",slot:"Root"})(Pg(({theme:e})=>{const t={};return e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([o,n])=>{const r=e.getColorSchemeSelector(o);r.startsWith("@")?t[r]={colorScheme:n.palette?.mode}:t[`&${r.replace(/\s*&/,"")}`]={colorScheme:n.palette?.mode}}),{...GT(e,!1),...KT(e),"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:e.typography.fontWeightBold},variants:[{props:{enableColorScheme:!0},style:e.vars?t:{colorScheme:e.palette.mode}}]}})),UP=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiScopedCssBaseline"}),{className:r,component:i="div",enableColorScheme:a,...s}=n,l={...n,component:i},c=(e=>{const{classes:t}=e;return nh({root:["root"]},HP,t)})(l);return e(qP,{as:i,className:Yf(c.root,r),ref:o,ownerState:l,...s})});function GP(e){return Qf("MuiSelect",e)}"production"!==process.env.NODE_ENV&&(UP.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,enableColorScheme:qp.bool,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const KP=em("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var XP;const YP=Cg(AE,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`&.${KP.select}`]:t.select},{[`&.${KP.select}`]:t[o.variant]},{[`&.${KP.error}`]:t.error},{[`&.${KP.multiple}`]:t.multiple}]}})({[`&.${KP.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),ZP=Cg(BE,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.icon,o.variant&&t[`icon${Cu(o.variant)}`],o.open&&t.iconOpen]}})({}),JP=Cg("input",{shouldForwardProp:e=>Tg(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function QP(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function eN(e){return null==e||"string"==typeof e&&!e.trim()}const tN=r.forwardRef(function(o,n){const{"aria-describedby":i,"aria-label":a,autoFocus:s,autoWidth:l,children:c,className:p,defaultOpen:d,defaultValue:u,disabled:f,displayEmpty:m,error:h=!1,IconComponent:g,inputRef:y,labelId:b,MenuProps:v={},multiple:x,name:w,onBlur:S,onChange:T,onClose:O,onFocus:C,onKeyDown:k,onMouseDown:E,onOpen:P,open:N,readOnly:R,renderValue:M,required:$,SelectDisplayProps:j={},tabIndex:I,type:A,value:L,variant:B="standard",...D}=o,[z,V]=Vg({controlled:L,default:u,name:"Select"}),[F,W]=Vg({controlled:N,default:d,name:"Select"}),_=r.useRef(null),H=r.useRef(null),[q,U]=r.useState(null),{current:G}=r.useRef(null!=N),[K,X]=r.useState(),Y=Wg(n,y),Z=r.useCallback(e=>{H.current=e,e&&U(e)},[]),J=q?.parentNode;r.useImperativeHandle(Y,()=>({focus:()=>{H.current.focus()},node:_.current,value:z}),[z]);const Q=null!==q&&F;r.useEffect(()=>{if(!Q||!J||l)return;if("undefined"==typeof ResizeObserver)return;const e=new ResizeObserver(()=>{X(J.clientWidth)});return e.observe(J),()=>{e.disconnect()}},[Q,J,l]),r.useEffect(()=>{d&&F&&q&&!G&&(X(l?null:J.clientWidth),H.current.focus())},[q,l]),r.useEffect(()=>{s&&H.current.focus()},[s]),r.useEffect(()=>{if(!b)return;const e=Ag(H.current).getElementById(b);if(e){const t=()=>{getSelection().isCollapsed&&H.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}},[b]);const ee=(e,t)=>{e?P&&P(t):O&&O(t),G||(X(l?null:J.clientWidth),W(e))},te=r.Children.toArray(c),oe=e=>t=>{let o;if(t.currentTarget.hasAttribute("tabindex")){if(x){o=Array.isArray(z)?z.slice():[];const t=z.indexOf(e.props.value);-1===t?o.push(e.props.value):o.splice(t,1)}else o=e.props.value;if(e.props.onClick&&e.props.onClick(t),z!==o&&(V(o),T)){const n=t.nativeEvent||t,r=new n.constructor(n.type,n);Object.defineProperty(r,"target",{writable:!0,value:{value:o,name:w}}),T(r,e)}x||ee(!1,t)}};let ne,re;delete D["aria-invalid"];const ie=[];let ae=!1,se=!1;(gw({value:z})||m)&&(M?ne=M(z):ae=!0);const le=te.map(e=>{if(!r.isValidElement(e))return null;let t;if("production"!==process.env.NODE_ENV&&qd.isFragment(e),x){if(!Array.isArray(z))throw new Error("production"!==process.env.NODE_ENV?"MUI: The `value` prop must be an array when using the `Select` component with `multiple`.":Nl(2));t=z.some(t=>QP(t,e.props.value)),t&&ae&&ie.push(e.props.children)}else t=QP(z,e.props.value),t&&ae&&(re=e.props.children);return t&&(se=!0),r.cloneElement(e,{"aria-selected":t?"true":"false",onClick:oe(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})});"production"!==process.env.NODE_ENV&&r.useEffect(()=>{se||x||""===z||te.map(e=>e.props.value)},[se,te,x,w,z]),ae&&(ne=x?0===ie.length?null:ie.reduce((e,t,o)=>(e.push(t),o<ie.length-1&&e.push(", "),e),[]):re);let ce,pe=K;!l&&G&&q&&(pe=J.clientWidth),ce=void 0!==I?I:f?null:0;const de=j.id||(w?`mui-component-select-${w}`:void 0),ue={...o,variant:B,value:z,open:Q,error:h},fe=(e=>{const{classes:t,variant:o,disabled:n,multiple:r,open:i,error:a}=e;return nh({select:["select",o,n&&"disabled",r&&"multiple",a&&"error"],icon:["icon",`icon${Cu(o)}`,i&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]},GP,t)})(ue),me={...v.PaperProps,..."function"==typeof v.slotProps?.paper?v.slotProps.paper(ue):v.slotProps?.paper},he={...v.MenuListProps,..."function"==typeof v.slotProps?.list?v.slotProps.list(ue):v.slotProps?.list},ge=Gm();return t(r.Fragment,{children:[e(YP,{as:"div",ref:Z,tabIndex:ce,role:"combobox","aria-controls":Q?ge:void 0,"aria-disabled":f?"true":void 0,"aria-expanded":Q?"true":"false","aria-haspopup":"listbox","aria-label":a,"aria-labelledby":[b,de].filter(Boolean).join(" ")||void 0,"aria-describedby":i,"aria-required":$?"true":void 0,"aria-invalid":h?"true":void 0,onKeyDown:e=>{R||([" ","ArrowUp","ArrowDown","Enter"].includes(e.key)&&(e.preventDefault(),ee(!0,e)),k?.(e))},onMouseDown:f||R?null:e=>{E?.(e),0===e.button&&(e.preventDefault(),H.current.focus(),ee(!0,e))},onBlur:e=>{!Q&&S&&(Object.defineProperty(e,"target",{writable:!0,value:{value:z,name:w}}),S(e))},onFocus:C,...j,ownerState:ue,className:Yf(j.className,fe.select,p),id:de,children:eN(ne)?XP||(XP=e("span",{className:"notranslate","aria-hidden":!0,children:"​"})):ne}),e(JP,{"aria-invalid":h,value:Array.isArray(z)?z.join(","):z,name:w,ref:_,"aria-hidden":!0,onChange:e=>{const t=te.find(t=>t.props.value===e.target.value);void 0!==t&&(V(t.props.value),T&&T(e,t))},tabIndex:-1,disabled:f,className:fe.nativeInput,autoFocus:s,required:$,...D,ownerState:ue}),e(ZP,{as:g,className:fe.icon,ownerState:ue}),e(SE,{id:`menu-${w||""}`,anchorEl:J,open:Q,onClose:e=>{ee(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...v,slotProps:{...v.slotProps,list:{"aria-labelledby":b,role:"listbox","aria-multiselectable":x?"true":void 0,disableListWrap:!0,id:ge,...he},paper:{...me,style:{minWidth:pe,...null!=me?me.style:null}}},children:le})]})});"production"!==process.env.NODE_ENV&&(tN.propTypes={"aria-describedby":qp.string,"aria-label":qp.string,autoFocus:qp.bool,autoWidth:qp.bool,children:qp.node,classes:qp.object,className:qp.string,defaultOpen:qp.bool,defaultValue:qp.any,disabled:qp.bool,displayEmpty:qp.bool,error:qp.bool,IconComponent:qp.elementType.isRequired,inputRef:sb,labelId:qp.string,MenuProps:qp.object,multiple:qp.bool,name:qp.string,onBlur:qp.func,onChange:qp.func,onClose:qp.func,onFocus:qp.func,onOpen:qp.func,open:qp.bool,readOnly:qp.bool,renderValue:qp.func,required:qp.bool,SelectDisplayProps:qp.object,tabIndex:qp.oneOfType([qp.number,qp.string]),type:qp.any,value:qp.any,variant:qp.oneOf(["standard","outlined","filled"])});const oN={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>Og(e)&&"variant"!==e},nN=Cg(nk,oN)(""),rN=Cg(YE,oN)(""),iN=Cg(tC,oN)(""),aN=r.forwardRef(function(t,o){const n=Ng({name:"MuiSelect",props:t}),{autoWidth:i=!1,children:a,classes:s={},className:l,defaultOpen:c=!1,displayEmpty:p=!1,IconComponent:d=$w,id:u,input:f,inputProps:m,label:h,labelId:g,MenuProps:y,multiple:b=!1,native:v=!1,onClose:x,onOpen:w,open:S,renderValue:T,SelectDisplayProps:O,variant:C="outlined",...k}=n,E=v?zE:tN,P=uw({props:n,muiFormControl:mw(),states:["variant","error"]}),N=P.variant||C,R={...n,variant:N,classes:s},M=(e=>{const{classes:t}=e,o=nh({root:["root"]},GP,t);return{...t,...o}})(R),{root:$,...j}=M,I=f||{standard:e(nN,{ownerState:R}),outlined:e(rN,{label:h,ownerState:R}),filled:e(iN,{ownerState:R})}[N],A=Wg(o,Wx(I));return e(r.Fragment,{children:r.cloneElement(I,{inputComponent:E,inputProps:{children:a,error:P.error,IconComponent:d,variant:N,type:void 0,multiple:b,...v?{id:u}:{autoWidth:i,defaultOpen:c,displayEmpty:p,labelId:g,MenuProps:y,onClose:x,onOpen:w,open:S,renderValue:T,SelectDisplayProps:{id:u,...O}},...m,classes:m?uu(j,m.classes):j,...f?f.props.inputProps:{}},...(b&&v||p)&&"outlined"===N?{notched:!0}:{},ref:A,className:Yf(I.props.className,l,M.root),...!f&&{variant:N},...k})})});function sN(e){return Qf("MuiSkeleton",e)}"production"!==process.env.NODE_ENV&&(aN.propTypes={autoWidth:qp.bool,children:qp.node,classes:qp.object,className:qp.string,defaultOpen:qp.bool,defaultValue:qp.any,displayEmpty:qp.bool,IconComponent:qp.elementType,id:qp.string,input:qp.element,inputProps:qp.object,label:qp.node,labelId:qp.string,MenuProps:qp.object,multiple:qp.bool,native:qp.bool,onChange:qp.func,onClose:qp.func,onOpen:qp.func,open:qp.bool,renderValue:qp.func,SelectDisplayProps:qp.object,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),value:qp.oneOfType([qp.oneOf([""]),qp.any]),variant:qp.oneOf(["filled","outlined","standard"])}),aN.muiName="Select",em("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const lN=Bp`
194
+ 0% {
195
+ opacity: 1;
196
+ }
197
+
198
+ 50% {
199
+ opacity: 0.4;
200
+ }
201
+
202
+ 100% {
203
+ opacity: 1;
204
+ }
205
+ `,cN=Bp`
206
+ 0% {
207
+ transform: translateX(-100%);
208
+ }
209
+
210
+ 50% {
211
+ /* +0.5s of delay between each loop */
212
+ transform: translateX(100%);
213
+ }
214
+
215
+ 100% {
216
+ transform: translateX(100%);
217
+ }
218
+ `,pN="string"!=typeof lN?Lp`
219
+ animation: ${lN} 2s ease-in-out 0.5s infinite;
220
+ `:null,dN="string"!=typeof cN?Lp`
221
+ &::after {
222
+ animation: ${cN} 2s linear 0.5s infinite;
223
+ }
224
+ `:null,uN=Cg("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],!1!==o.animation&&t[o.animation],o.hasChildren&&t.withChildren,o.hasChildren&&!o.width&&t.fitContent,o.hasChildren&&!o.height&&t.heightAuto]}})(Pg(({theme:e})=>{const t=(o=e.shape.borderRadius,String(o).match(/[\d.\-+]*\s*(.*)/)[1]||"px");var o;const n=function(e){return parseFloat(e)}(e.shape.borderRadius);return{display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:e.alpha(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${n}${t}/${Math.round(n/.6*10)/10}${t}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:({ownerState:e})=>e.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:e})=>e.hasChildren&&!e.width,style:{maxWidth:"fit-content"}},{props:({ownerState:e})=>e.hasChildren&&!e.height,style:{height:"auto"}},{props:{animation:"pulse"},style:pN||{animation:`${lN} 2s ease-in-out 0.5s infinite`}},{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient(\n 90deg,\n transparent,\n ${(e.vars||e).palette.action.hover},\n transparent\n )`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:dN||{"&::after":{animation:`${cN} 2s linear 0.5s infinite`}}}]}})),fN=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiSkeleton"}),{animation:r="pulse",className:i,component:a="span",height:s,style:l,variant:c="text",width:p,...d}=n,u={...n,animation:r,component:a,variant:c,hasChildren:Boolean(d.children)},f=(e=>{const{classes:t,variant:o,animation:n,hasChildren:r,width:i,height:a}=e;return nh({root:["root",o,n,r&&"withChildren",r&&!i&&"fitContent",r&&!a&&"heightAuto"]},sN,t)})(u);return e(uN,{as:a,ref:o,className:Yf(f.root,i),ownerState:u,...d,style:{width:p,height:s,...l}})});function mN(e,t,o,n,r){return 1===o?Math.min(e+t,r):Math.max(e-t,n)}function hN(e,t){return e-t}function gN(e,t){const{index:o}=e.reduce((e,o,n)=>{const r=Math.abs(t-o);return null===e||r<e.distance||r===e.distance?{distance:r,index:n}:e},null)??{};return o}function yN(e,t){if(void 0!==t.current&&e.changedTouches){const o=e;for(let e=0;e<o.changedTouches.length;e+=1){const n=o.changedTouches[e];if(n.identifier===t.current)return{x:n.clientX,y:n.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function bN(e,t,o){return 100*(e-t)/(o-t)}function vN({values:e,newValue:t,index:o}){const n=e.slice();return n[o]=t,n.sort(hN)}function xN({sliderRef:e,activeIndex:t,setActive:o}){const n=Ag(e.current);e.current?.contains(n.activeElement)&&Number(n?.activeElement?.getAttribute("data-index"))===t||e.current?.querySelector(`[type="range"][data-index="${t}"]`).focus(),o&&o(t)}function wN(e,t){return"number"==typeof e&&"number"==typeof t?e===t:"object"==typeof e&&"object"==typeof t&&function(e,t,o=(e,t)=>e===t){return e.length===t.length&&e.every((e,n)=>o(e,t[n]))}(e,t)}"production"!==process.env.NODE_ENV&&(fN.propTypes={animation:qp.oneOf(["pulse","wave",!1]),children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,height:qp.oneOfType([qp.number,qp.string]),style:qp.object,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),variant:qp.oneOfType([qp.oneOf(["circular","rectangular","rounded","text"]),qp.string]),width:qp.oneOfType([qp.number,qp.string])});const SN={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}%`})}},TN=e=>e;let ON;function CN(){return void 0===ON&&(ON="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),ON}function kN(e){const{"aria-labelledby":t,defaultValue:o,disabled:n=!1,disableSwap:i=!1,isRtl:a=!1,marks:s=!1,max:l=100,min:c=0,name:p,onChange:d,onChangeCommitted:u,orientation:f="horizontal",rootRef:m,scale:h=TN,step:g=1,shiftStep:y=10,tabIndex:b,value:v}=e,x=r.useRef(void 0),[w,S]=r.useState(-1),[T,O]=r.useState(-1),[C,k]=r.useState(!1),E=r.useRef(0),P=r.useRef(null),[N,R]=Vg({controlled:v,default:o??c,name:"Slider"}),M=d&&((e,t,o)=>{const n=e.nativeEvent||e,r=new n.constructor(n.type,n);Object.defineProperty(r,"target",{writable:!0,value:{value:t,name:p}}),P.current=t,d(r,t,o)}),$=Array.isArray(N);let j=$?N.slice().sort(hN):[N];j=j.map(e=>null==e?c:bm(e,c,l));const I=!0===s&&null!==g?[...Array(Math.floor((l-c)/g)+1)].map((e,t)=>({value:c+g*t})):s||[],A=I.map(e=>e.value),[L,B]=r.useState(-1),D=r.useRef(null),z=Wg(m,D),V=e=>t=>{const o=Number(t.currentTarget.getAttribute("data-index"));lb(t.target)&&B(o),O(o),e?.onFocus?.(t)},F=e=>t=>{lb(t.target)||B(-1),O(-1),e?.onBlur?.(t)},W=(e,t)=>{const o=Number(e.currentTarget.getAttribute("data-index")),n=j[o],r=A.indexOf(n);let a=t;if(I&&null==g){const e=A[A.length-1];a=a>=e?e:a<=A[0]?A[0]:a<n?A[r-1]:A[r+1]}if(a=bm(a,c,l),$){i&&(a=bm(a,j[o-1]||-1/0,j[o+1]||1/0));const e=a;a=vN({values:j,newValue:a,index:o});let t=o;i||(t=a.indexOf(e)),xN({sliderRef:D,activeIndex:t})}R(a),B(o),M&&!wN(a,N)&&M(e,a,o),u&&u(e,P.current??a)},_=e=>t=>{if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(t.key)){t.preventDefault();const e=Number(t.currentTarget.getAttribute("data-index")),o=j[e];let n=null;if(null!=g){const e=t.shiftKey?y:g;switch(t.key){case"ArrowUp":n=mN(o,e,1,c,l);break;case"ArrowRight":n=mN(o,e,a?-1:1,c,l);break;case"ArrowDown":n=mN(o,e,-1,c,l);break;case"ArrowLeft":n=mN(o,e,a?1:-1,c,l);break;case"PageUp":n=mN(o,y,1,c,l);break;case"PageDown":n=mN(o,y,-1,c,l);break;case"Home":n=c;break;case"End":n=l}}else if(I){const e=A[A.length-1],r=A.indexOf(o),i=[a?"ArrowLeft":"ArrowRight","ArrowUp","PageUp","End"];[a?"ArrowRight":"ArrowLeft","ArrowDown","PageDown","Home"].includes(t.key)?n=0===r?A[0]:A[r-1]:i.includes(t.key)&&(n=r===A.length-1?e:A[r+1])}null!=n&&W(t,n)}e?.onKeyDown?.(t)};ym(()=>{n&&D.current.contains(document.activeElement)&&document.activeElement?.blur()},[n]),n&&-1!==w&&S(-1),n&&-1!==L&&B(-1);const H=r.useRef(void 0);let q=f;a&&"horizontal"===f&&(q+="-reverse");const U=({finger:e,move:t=!1})=>{const{current:o}=D,{width:n,height:r,bottom:a,left:s}=o.getBoundingClientRect();let p,d;if(p=q.startsWith("vertical")?(a-e.y)/r:(e.x-s)/n,q.includes("-reverse")&&(p=1-p),d=function(e,t,o){return(o-t)*e+t}(p,c,l),g)d=function(e,t,o){const n=Math.round((e-o)/t)*t+o;return Number(n.toFixed(function(e){if(Math.abs(e)<1){const t=e.toExponential().split("e-"),o=t[0].split(".")[1];return(o?o.length:0)+parseInt(t[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}(t)))}(d,g,c);else{const e=gN(A,d);d=A[e]}d=bm(d,c,l);let u=0;if($){u=t?H.current:gN(j,d),i&&(d=bm(d,j[u-1]||-1/0,j[u+1]||1/0));const e=d;d=vN({values:j,newValue:d,index:u}),i&&t||(u=d.indexOf(e),H.current=u)}return{newValue:d,activeIndex:u}},G=Fg(e=>{const t=yN(e,x);if(!t)return;if(E.current+=1,"mousemove"===e.type&&0===e.buttons)return void K(e);const{newValue:o,activeIndex:n}=U({finger:t,move:!0});xN({sliderRef:D,activeIndex:n,setActive:S}),R(o),!C&&E.current>2&&k(!0),M&&!wN(o,N)&&M(e,o,n)}),K=Fg(e=>{const t=yN(e,x);if(k(!1),!t)return;const{newValue:o}=U({finger:t,move:!0});S(-1),"touchend"===e.type&&O(-1),u&&u(e,P.current??o),x.current=void 0,Y()}),X=Fg(e=>{if(n)return;CN()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(x.current=t.identifier);const o=yN(e,x);if(!1!==o){const{newValue:t,activeIndex:n}=U({finger:o});xN({sliderRef:D,activeIndex:n,setActive:S}),R(t),M&&!wN(t,N)&&M(e,t,n)}E.current=0;const r=Ag(D.current);r.addEventListener("touchmove",G,{passive:!0}),r.addEventListener("touchend",K,{passive:!0})}),Y=r.useCallback(()=>{const e=Ag(D.current);e.removeEventListener("mousemove",G),e.removeEventListener("mouseup",K),e.removeEventListener("touchmove",G),e.removeEventListener("touchend",K)},[K,G]);r.useEffect(()=>{const{current:e}=D;return e.addEventListener("touchstart",X,{passive:CN()}),()=>{e.removeEventListener("touchstart",X),Y()}},[Y,X]),r.useEffect(()=>{n&&Y()},[n,Y]);const Z=bN($?j[0]:c,c,l),J=bN(j[j.length-1],c,l)-Z,Q=e=>t=>{e.onMouseLeave?.(t),O(-1)};let ee;return"vertical"===f&&(ee=a?"vertical-rl":"vertical-lr"),{active:w,axis:q,axisProps:SN,dragging:C,focusedThumbIndex:L,getHiddenInputProps:(o={})=>{const r=$y(o),i={onChange:(s=r||{},e=>{s.onChange?.(e),W(e,e.target.valueAsNumber)}),onFocus:V(r||{}),onBlur:F(r||{}),onKeyDown:_(r||{})};var s;const d={...r,...i};return{tabIndex:b,"aria-labelledby":t,"aria-orientation":f,"aria-valuemax":h(l),"aria-valuemin":h(c),name:p,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":e.step??void 0,disabled:n,...o,...d,style:{...PP,direction:a?"rtl":"ltr",width:"100%",height:"100%",writingMode:ee}}},getRootProps:(e={})=>{const t=$y(e),o={onMouseDown:(r=t||{},e=>{if(r.onMouseDown?.(e),n)return;if(e.defaultPrevented)return;if(0!==e.button)return;e.preventDefault();const t=yN(e,x);if(!1!==t){const{newValue:o,activeIndex:n}=U({finger:t});xN({sliderRef:D,activeIndex:n,setActive:S}),R(o),M&&!wN(o,N)&&M(e,o,n)}E.current=0;const o=Ag(D.current);o.addEventListener("mousemove",G,{passive:!0}),o.addEventListener("mouseup",K)})};var r;const i={...t,...o};return{...e,ref:z,...i}},getThumbProps:(e={})=>{const t=$y(e),o={onMouseOver:(n=t||{},e=>{n.onMouseOver?.(e);const t=Number(e.currentTarget.getAttribute("data-index"));O(t)}),onMouseLeave:Q(t||{})};var n;return{...e,...t,...o}},marks:I,open:T,range:$,rootRef:z,trackLeap:J,trackOffset:Z,values:j,getThumbStyle:e=>({pointerEvents:-1!==w&&w!==e?"none":void 0})}}function EN(e){return Qf("MuiSlider",e)}const PN=em("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"]);function NN(o){const{children:n,className:i,value:a}=o,s=(e=>{const{open:t}=e;return{offset:Yf(t&&PN.valueLabelOpen),circle:PN.valueLabelCircle,label:PN.valueLabelLabel}})(o);return n?r.cloneElement(n,{className:n.props.className},t(r.Fragment,{children:[n.props.children,e("span",{className:Yf(s.offset,i),"aria-hidden":!0,children:e("span",{className:s.circle,children:e("span",{className:s.label,children:a})})})]})):null}function RN(e){return e}"production"!==process.env.NODE_ENV&&(NN.propTypes={children:qp.element.isRequired,className:qp.string,value:qp.node});const MN=Cg("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`color${Cu(o.color)}`],"medium"!==o.size&&t[`size${Cu(o.size)}`],o.marked&&t.marked,"vertical"===o.orientation&&t.vertical,"inverted"===o.track&&t.trackInverted,!1===o.track&&t.trackFalse]}})(Pg(({theme:e})=>({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${PN.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${PN.dragging}`]:{[`& .${PN.thumb}, & .${PN.track}`]:{transition:"none"}},variants:[...Object.entries(e.palette).filter(Nb()).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}}]}))),$N=Cg("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}}]}),jN=Cg("span",{name:"MuiSlider",slot:"Track"})(Pg(({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(Nb()).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)})}}}))]}))),IN=Cg("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.thumb,t[`thumbColor${Cu(o.color)}`],"medium"!==o.size&&t[`thumbSize${Cu(o.size)}`]]}})(Pg(({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%)"},[`&.${PN.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(Nb()).map(([t])=>({props:{color:t},style:{[`&:hover, &.${PN.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.alpha((e.vars||e).palette[t].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${PN.active}`]:{boxShadow:`0px 0px 0px 14px ${e.alpha((e.vars||e).palette[t].main,.16)}`}}}))]}))),AN=Cg(NN,{name:"MuiSlider",slot:"ValueLabel"})(Pg(({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%"},[`&.${PN.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%"},[`&.${PN.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"}}]})));"production"!==process.env.NODE_ENV&&(AN.propTypes={children:qp.element.isRequired,index:qp.number.isRequired,open:qp.bool.isRequired,value:qp.node});const LN=Cg("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>Tg(e)&&"markActive"!==e,overridesResolver:(e,t)=>{const{markActive:o}=e;return[t.mark,o&&t.markActive]}})(Pg(({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}}]}))),BN=Cg("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>Tg(e)&&"markLabelActive"!==e})(Pg(({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}}]}))),DN=({children:e})=>e,zN=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiSlider"}),a=Wm(),{"aria-label":s,"aria-valuetext":l,"aria-labelledby":c,component:p="span",components:d={},componentsProps:u={},color:f="primary",classes:m,className:h,disableSwap:g=!1,disabled:y=!1,getAriaLabel:b,getAriaValueText:v,marks:x=!1,max:w=100,min:S=0,name:T,onChange:O,onChangeCommitted:C,orientation:k="horizontal",shiftStep:E=10,size:P="medium",step:N=1,scale:R=RN,slotProps:M,slots:$,tabIndex:j,track:I="normal",value:A,valueLabelDisplay:L="off",valueLabelFormat:B=RN,...D}=i,z={...i,isRtl:a,max:w,min:S,classes:m,disabled:y,disableSwap:g,orientation:k,marks:x,color:f,size:P,step:N,shiftStep:E,scale:R,track:I,valueLabelDisplay:L,valueLabelFormat:B},{axisProps:V,getRootProps:F,getHiddenInputProps:W,getThumbProps:_,open:H,active:q,axis:U,focusedThumbIndex:G,range:K,dragging:X,marks:Y,values:Z,trackOffset:J,trackLeap:Q,getThumbStyle:ee}=kN({...z,rootRef:n});z.marked=Y.length>0&&Y.some(e=>e.label),z.dragging=X,z.focusedThumbIndex=G;const te=(e=>{const{disabled:t,dragging:o,marked:n,orientation:r,track:i,classes:a,color:s,size:l}=e;return nh({root:["root",t&&"disabled",o&&"dragging",n&&"marked","vertical"===r&&"vertical","inverted"===i&&"trackInverted",!1===i&&"trackFalse",s&&`color${Cu(s)}`,l&&`size${Cu(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${Cu(l)}`,s&&`thumbColor${Cu(s)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]},EN,a)})(z),oe=$?.root??d.Root??MN,ne=$?.rail??d.Rail??$N,re=$?.track??d.Track??jN,ie=$?.thumb??d.Thumb??IN,ae=$?.valueLabel??d.ValueLabel??AN,se=$?.mark??d.Mark??LN,le=$?.markLabel??d.MarkLabel??BN,ce=$?.input??d.Input??"input",pe=M?.root??u.root,de=M?.rail??u.rail,ue=M?.track??u.track,fe=M?.thumb??u.thumb,me=M?.valueLabel??u.valueLabel,he=M?.mark??u.mark,ge=M?.markLabel??u.markLabel,ye=M?.input??u.input,be=Fx({elementType:oe,getSlotProps:F,externalSlotProps:pe,externalForwardedProps:D,additionalProps:{...(ve=oe,(!ve||!Ny(ve))&&{as:p})},ownerState:{...z,...pe?.ownerState},className:[te.root,h]});var ve;const xe=Fx({elementType:ne,externalSlotProps:de,ownerState:z,className:te.rail}),we=Fx({elementType:re,externalSlotProps:ue,additionalProps:{style:{...V[U].offset(J),...V[U].leap(Q)}},ownerState:{...z,...ue?.ownerState},className:te.track}),Se=Fx({elementType:ie,getSlotProps:_,externalSlotProps:fe,ownerState:{...z,...fe?.ownerState},className:te.thumb}),Te=Fx({elementType:ae,externalSlotProps:me,ownerState:{...z,...me?.ownerState},className:te.valueLabel}),Oe=Fx({elementType:se,externalSlotProps:he,ownerState:z,className:te.mark}),Ce=Fx({elementType:le,externalSlotProps:ge,ownerState:z,className:te.markLabel}),ke=Fx({elementType:ce,getSlotProps:W,externalSlotProps:ye,ownerState:z});return t(oe,{...be,children:[e(ne,{...xe}),e(re,{...we}),Y.filter(e=>e.value>=S&&e.value<=w).map((o,n)=>{const i=bN(o.value,S,w),a=V[U].offset(i);let s;return s=!1===I?Z.includes(o.value):"normal"===I&&(K?o.value>=Z[0]&&o.value<=Z[Z.length-1]:o.value<=Z[0])||"inverted"===I&&(K?o.value<=Z[0]||o.value>=Z[Z.length-1]:o.value>=Z[0]),t(r.Fragment,{children:[e(se,{"data-index":n,...Oe,...!Ny(se)&&{markActive:s},style:{...a,...Oe.style},className:Yf(Oe.className,s&&te.markActive)}),null!=o.label?e(le,{"aria-hidden":!0,"data-index":n,...Ce,...!Ny(le)&&{markLabelActive:s},style:{...a,...Ce.style},className:Yf(te.markLabel,Ce.className,s&&te.markLabelActive),children:o.label}):null]},n)}),Z.map((t,o)=>{const n=bN(t,S,w),r=V[U].offset(n),i="off"===L?DN:ae;return e(i,{...!Ny(i)&&{valueLabelFormat:B,valueLabelDisplay:L,value:"function"==typeof B?B(R(t),o):B,index:o,open:H===o||q===o||"on"===L,disabled:y},...Te,children:e(ie,{"data-index":o,...Se,className:Yf(te.thumb,Se.className,q===o&&te.active,G===o&&te.focusVisible),style:{...r,...ee(o),...Se.style},children:e(ce,{"data-index":o,"aria-label":b?b(o):s,"aria-valuenow":R(t),"aria-labelledby":c,"aria-valuetext":v?v(R(t),o):l,value:Z[o],...ke})})},o)})]})});function VN(e){return Qf("MuiSnackbarContent",e)}"production"!==process.env.NODE_ENV&&(zN.propTypes={"aria-label":Hg(qp.string,e=>Array.isArray(e.value||e.defaultValue)&&null!=e["aria-label"]?new Error("MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider."):null),"aria-labelledby":qp.string,"aria-valuetext":Hg(qp.string,e=>Array.isArray(e.value||e.defaultValue)&&null!=e["aria-valuetext"]?new Error("MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider."):null),children:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["primary","secondary","error","info","success","warning"]),qp.string]),components:qp.shape({Input:qp.elementType,Mark:qp.elementType,MarkLabel:qp.elementType,Rail:qp.elementType,Root:qp.elementType,Thumb:qp.elementType,Track:qp.elementType,ValueLabel:qp.elementType}),componentsProps:qp.shape({input:qp.oneOfType([qp.func,qp.object]),mark:qp.oneOfType([qp.func,qp.object]),markLabel:qp.oneOfType([qp.func,qp.object]),rail:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object]),thumb:qp.oneOfType([qp.func,qp.object]),track:qp.oneOfType([qp.func,qp.object]),valueLabel:qp.oneOfType([qp.func,qp.shape({children:qp.element,className:qp.string,open:qp.bool,style:qp.object,value:qp.node,valueLabelDisplay:qp.oneOf(["auto","off","on"])})])}),defaultValue:qp.oneOfType([qp.arrayOf(qp.number),qp.number]),disabled:qp.bool,disableSwap:qp.bool,getAriaLabel:qp.func,getAriaValueText:qp.func,marks:qp.oneOfType([qp.arrayOf(qp.shape({label:qp.node,value:qp.number.isRequired})),qp.bool]),max:qp.number,min:qp.number,name:qp.string,onChange:qp.func,onChangeCommitted:qp.func,orientation:qp.oneOf(["horizontal","vertical"]),scale:qp.func,shiftStep:qp.number,size:qp.oneOfType([qp.oneOf(["small","medium"]),qp.string]),slotProps:qp.shape({input:qp.oneOfType([qp.func,qp.object]),mark:qp.oneOfType([qp.func,qp.object]),markLabel:qp.oneOfType([qp.func,qp.object]),rail:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object]),thumb:qp.oneOfType([qp.func,qp.object]),track:qp.oneOfType([qp.func,qp.object]),valueLabel:qp.oneOfType([qp.func,qp.shape({children:qp.element,className:qp.string,open:qp.bool,style:qp.object,value:qp.node,valueLabelDisplay:qp.oneOf(["auto","off","on"])})])}),slots:qp.shape({input:qp.elementType,mark:qp.elementType,markLabel:qp.elementType,rail:qp.elementType,root:qp.elementType,thumb:qp.elementType,track:qp.elementType,valueLabel:qp.elementType}),step:qp.number,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),tabIndex:qp.number,track:qp.oneOf(["inverted","normal",!1]),value:qp.oneOfType([qp.arrayOf(qp.number),qp.number]),valueLabelDisplay:qp.oneOf(["auto","off","on"]),valueLabelFormat:qp.oneOfType([qp.func,qp.string])}),em("MuiSnackbarContent",["root","message","action"]);const FN=Cg(Gy,{name:"MuiSnackbarContent",slot:"Root"})(Pg(({theme:e})=>{const t="light"===e.palette.mode?.8:.98;return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText($m(e.palette.background.default,t)),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:$m(e.palette.background.default,t),display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),WN=Cg("div",{name:"MuiSnackbarContent",slot:"Message"})({padding:"8px 0"}),_N=Cg("div",{name:"MuiSnackbarContent",slot:"Action"})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),HN=r.forwardRef(function(o,n){const r=Ng({props:o,name:"MuiSnackbarContent"}),{action:i,className:a,message:s,role:l="alert",...c}=r,p=r,d=(e=>{const{classes:t}=e;return nh({root:["root"],action:["action"],message:["message"]},VN,t)})(p);return t(FN,{role:l,elevation:6,className:Yf(d.root,a),ownerState:p,ref:n,...c,children:[e(WN,{className:d.message,ownerState:p,children:s}),i?e(_N,{className:d.action,ownerState:p,children:i}):null]})});function qN(e){return Qf("MuiSnackbar",e)}"production"!==process.env.NODE_ENV&&(HN.propTypes={action:qp.node,classes:qp.object,className:qp.string,message:qp.node,role:qp.string,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const UN=Cg("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`anchorOrigin${Cu(o.anchorOrigin.vertical)}${Cu(o.anchorOrigin.horizontal)}`]]}})(Pg(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical,style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:e})=>"top"!==e.anchorOrigin.vertical,style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:e})=>"left"===e.anchorOrigin.horizontal,style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:e})=>"right"===e.anchorOrigin.horizontal,style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:e})=>"center"===e.anchorOrigin.horizontal,style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),GN=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiSnackbar"}),i=Sg(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{action:s,anchorOrigin:{vertical:l,horizontal:c}={vertical:"bottom",horizontal:"left"},autoHideDuration:p=null,children:d,className:u,ClickAwayListenerProps:f,ContentProps:m,disableWindowBlurListener:h=!1,message:g,onBlur:y,onClose:b,onFocus:v,onMouseEnter:x,onMouseLeave:w,open:S,resumeHideDuration:T,slots:O={},slotProps:C={},TransitionComponent:k,transitionDuration:E=a,TransitionProps:{onEnter:P,onExited:N,...R}={},...M}=n,$={...n,anchorOrigin:{vertical:l,horizontal:c},autoHideDuration:p,disableWindowBlurListener:h,TransitionComponent:k,transitionDuration:E},j=(e=>{const{classes:t,anchorOrigin:o}=e;return nh({root:["root",`anchorOrigin${Cu(o.vertical)}${Cu(o.horizontal)}`]},qN,t)})($),{getRootProps:I,onClickAway:A}=function(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:o=!1,onClose:n,open:i,resumeHideDuration:a}=e,s=Cy();r.useEffect(()=>{if(i)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){e.defaultPrevented||"Escape"===e.key&&n?.(e,"escapeKeyDown")}},[i,n]);const l=Fg((e,t)=>{n?.(e,t)}),c=Fg(e=>{n&&null!=e&&s.start(e,()=>{l(null,"timeout")})});r.useEffect(()=>(i&&c(t),s.clear),[i,t,c,s]);const p=s.clear,d=r.useCallback(()=>{null!=t&&c(null!=a?a:.5*t)},[t,a,c]),u=e=>t=>{const o=e.onFocus;o?.(t),p()},f=e=>t=>{const o=e.onMouseEnter;o?.(t),p()},m=e=>t=>{const o=e.onMouseLeave;o?.(t),d()};return r.useEffect(()=>{if(!o&&i)return window.addEventListener("focus",d),window.addEventListener("blur",p),()=>{window.removeEventListener("focus",d),window.removeEventListener("blur",p)}},[o,i,d,p]),{getRootProps:(t={})=>{const o={...$y(e),...$y(t)};return{role:"presentation",...t,...o,onBlur:(n=o,e=>{const t=n.onBlur;t?.(e),d()}),onFocus:u(o),onMouseEnter:f(o),onMouseLeave:m(o)};var n},onClickAway:e=>{n?.(e,"clickaway")}}}($),[L,B]=r.useState(!0),D={slots:{transition:k,...O},slotProps:{content:m,clickAwayListener:f,transition:R,...C}},[z,V]=Ay("root",{ref:o,className:[j.root,u],elementType:UN,getSlotProps:I,externalForwardedProps:{...D,...M},ownerState:$}),[F,{ownerState:W,..._}]=Ay("clickAwayListener",{elementType:qT,externalForwardedProps:D,getSlotProps:e=>({onClickAway:(...t)=>{const o=t[0];e.onClickAway?.(...t),o?.defaultMuiPrevented||A(...t)}}),ownerState:$}),[H,q]=Ay("content",{elementType:HN,shouldForwardComponentProp:!0,externalForwardedProps:D,additionalProps:{message:g,action:s},ownerState:$}),[U,G]=Ay("transition",{elementType:LC,externalForwardedProps:D,getSlotProps:e=>({onEnter:(...t)=>{e.onEnter?.(...t),((e,t)=>{B(!1),P&&P(e,t)})(...t)},onExited:(...t)=>{e.onExited?.(...t),(e=>{B(!0),N&&N(e)})(...t)}}),additionalProps:{appear:!0,in:S,timeout:E,direction:"top"===l?"down":"up"},ownerState:$});return!S&&L?null:e(F,{..._,...O.clickAwayListener&&{ownerState:W},children:e(z,{...V,children:e(U,{...G,children:d||e(H,{...q})})})})});"production"!==process.env.NODE_ENV&&(GN.propTypes={action:qp.node,anchorOrigin:qp.shape({horizontal:qp.oneOf(["center","left","right"]).isRequired,vertical:qp.oneOf(["bottom","top"]).isRequired}),autoHideDuration:qp.number,children:qp.element,classes:qp.object,className:qp.string,ClickAwayListenerProps:qp.object,ContentProps:qp.object,disableWindowBlurListener:qp.bool,key:()=>null,message:qp.node,onBlur:qp.func,onClose:qp.func,onFocus:qp.func,onMouseEnter:qp.func,onMouseLeave:qp.func,open:qp.bool,resumeHideDuration:qp.number,slotProps:qp.shape({clickAwayListener:qp.oneOfType([qp.func,qp.object]),content:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object]),transition:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({clickAwayListener:qp.elementType,content:qp.elementType,root:qp.elementType,transition:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),TransitionComponent:qp.elementType,transitionDuration:qp.oneOfType([qp.number,qp.shape({appear:qp.number,enter:qp.number,exit:qp.number})]),TransitionProps:qp.object});const KN={entering:{transform:"none"},entered:{transform:"none"}},XN=r.forwardRef(function(t,o){const n=Sg(),i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,easing:c,in:p,onEnter:d,onEntered:u,onEntering:f,onExit:m,onExited:h,onExiting:g,style:y,timeout:b=i,TransitionComponent:v=ry,...x}=t,w=r.useRef(null),S=Wg(w,Wx(l),o),T=e=>t=>{if(e){const o=w.current;void 0===t?e(o):e(o,t)}},O=T(f),C=T((e,t)=>{Ey(e);const o=Py({style:y,timeout:b,easing:c},{mode:"enter"});e.style.webkitTransition=n.transitions.create("transform",o),e.style.transition=n.transitions.create("transform",o),d&&d(e,t)}),k=T(u),E=T(g),P=T(e=>{const t=Py({style:y,timeout:b,easing:c},{mode:"exit"});e.style.webkitTransition=n.transitions.create("transform",t),e.style.transition=n.transitions.create("transform",t),m&&m(e)}),N=T(h);return e(v,{appear:s,in:p,nodeRef:w,onEnter:C,onEntered:k,onEntering:O,onExit:P,onExited:N,onExiting:E,addEndListener:e=>{a&&a(w.current,e)},timeout:b,...x,children:(e,{ownerState:t,...o})=>r.cloneElement(l,{style:{transform:"scale(0)",visibility:"exited"!==e||p?void 0:"hidden",...KN[e],...y,...l.props.style},ref:S,...o})})});function YN(e){return Qf("MuiSpeedDial",e)}"production"!==process.env.NODE_ENV&&(XN.propTypes={addEndListener:qp.func,appear:qp.bool,children:lS.isRequired,easing:qp.oneOfType([qp.shape({enter:qp.string,exit:qp.string}),qp.string]),in:qp.bool,onEnter:qp.func,onEntered:qp.func,onEntering:qp.func,onExit:qp.func,onExited:qp.func,onExiting:qp.func,style:qp.object,timeout:qp.oneOfType([qp.number,qp.shape({appear:qp.number,enter:qp.number,exit:qp.number})])});const ZN=em("MuiSpeedDial",["root","fab","directionUp","directionDown","directionLeft","directionRight","actions","actionsClosed"]);function JN(e){return"up"===e||"down"===e?"vertical":"right"===e||"left"===e?"horizontal":void 0}const QN=Cg("div",{name:"MuiSpeedDial",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`direction${Cu(o.direction)}`]]}})(Pg(({theme:e})=>({zIndex:(e.vars||e).zIndex.speedDial,display:"flex",alignItems:"center",pointerEvents:"none",variants:[{props:{direction:"up"},style:{flexDirection:"column-reverse",[`& .${ZN.actions}`]:{flexDirection:"column-reverse",marginBottom:-32,paddingBottom:48}}},{props:{direction:"down"},style:{flexDirection:"column",[`& .${ZN.actions}`]:{flexDirection:"column",marginTop:-32,paddingTop:48}}},{props:{direction:"left"},style:{flexDirection:"row-reverse",[`& .${ZN.actions}`]:{flexDirection:"row-reverse",marginRight:-32,paddingRight:48}}},{props:{direction:"right"},style:{flexDirection:"row",[`& .${ZN.actions}`]:{flexDirection:"row",marginLeft:-32,paddingLeft:48}}}]}))),eR=Cg(JO,{name:"MuiSpeedDial",slot:"Fab"})({pointerEvents:"auto"}),tR=Cg("div",{name:"MuiSpeedDial",slot:"Actions",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.actions,!o.open&&t.actionsClosed]}})({display:"flex",pointerEvents:"auto",variants:[{props:({ownerState:e})=>!e.open,style:{transition:"top 0s linear 0.2s",pointerEvents:"none"}}]}),oR=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiSpeedDial"}),a=Sg(),s={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{ariaLabel:l,FabProps:{ref:c,...p}={},children:d,className:u,direction:f="up",hidden:m=!1,icon:h,onBlur:g,onClose:y,onFocus:b,onKeyDown:v,onMouseEnter:x,onMouseLeave:w,onOpen:S,open:T,openIcon:O,slots:C={},slotProps:k={},TransitionComponent:E,TransitionProps:P,transitionDuration:N=s,...R}=i,[M,$]=Vg({controlled:T,default:!1,name:"SpeedDial",state:"open"}),j={...i,open:M,direction:f},I=(e=>{const{classes:t,open:o,direction:n}=e;return nh({root:["root",`direction${Cu(n)}`],fab:["fab"],actions:["actions",!o&&"actionsClosed"]},YN,t)})(j),A=Cy(),L=r.useRef(0),B=r.useRef(),D=r.useRef([]);D.current=[D.current[0]];const z=Wg(c,r.useCallback(e=>{D.current[0]=e},[])),V=(e,t,o)=>n=>{D.current[e+1]=n,t&&t(n),o&&o(n)};r.useEffect(()=>{M||(L.current=0,B.current=void 0)},[M]);const F=e=>{"mouseleave"===e.type&&w&&w(e),"blur"===e.type&&g&&g(e),A.clear(),"blur"===e.type?A.start(0,()=>{$(!1),y&&y(e,"blur")}):($(!1),y&&y(e,"mouseLeave"))},W=e=>{"mouseenter"===e.type&&x&&x(e),"focus"===e.type&&b&&b(e),A.clear(),M||A.start(0,()=>{$(!0),S&&S(e,{focus:"focus",mouseenter:"mouseEnter"}[e.type])})},_=l.replace(/^[^a-z]+|[^\w:.-]+/gi,""),H=r.Children.toArray(d).filter(e=>("production"!==process.env.NODE_ENV&&qd.isFragment(e),r.isValidElement(e))),q=H.map((e,t)=>{const{FabProps:{ref:o}={},slotProps:n={},tooltipPlacement:i}=e.props,{fab:{ref:a,...s}={},...l}=n,c=i||("vertical"===JN(f)?"left":"top");return r.cloneElement(e,{slotProps:{fab:{...s,ref:V(t,o,a)},...l},delay:30*(M?t:H.length-t),open:M,tooltipPlacement:c,id:`${_}-action-${t}`})}),U={slots:{transition:E,...C},slotProps:{transition:P,...k}},[G,K]=Ay("root",{elementType:QN,externalForwardedProps:{...U,...R},ownerState:j,ref:n,className:Yf(I.root,u),additionalProps:{role:"presentation"},getSlotProps:e=>({...e,onKeyDown:t=>{e.onKeyDown?.(t),(e=>{v&&v(e);const t=e.key.replace("Arrow","").toLowerCase(),{current:o=t}=B;if("Escape"===e.key)return $(!1),D.current[0].focus(),void(y&&y(e,"escapeKeyDown"));if(JN(t)===JN(o)&&void 0!==JN(t)){e.preventDefault();const n=t===o?1:-1,r=bm(L.current+n,0,D.current.length-1);D.current[r].focus(),L.current=r,B.current=o}})(t)},onBlur:t=>{e.onBlur?.(t),F(t)},onFocus:t=>{e.onFocus?.(t),W(t)},onMouseEnter:t=>{e.onMouseEnter?.(t),W(t)},onMouseLeave:t=>{e.onMouseLeave?.(t),F(t)}})}),[X,Y]=Ay("transition",{elementType:XN,externalForwardedProps:U,ownerState:j});return t(G,{...K,children:[e(X,{in:!m,timeout:N,unmountOnExit:!0,...Y,children:e(eR,{color:"primary","aria-label":l,"aria-haspopup":"true","aria-expanded":M,"aria-controls":`${_}-actions`,...p,onClick:e=>{p.onClick&&p.onClick(e),A.clear(),M?($(!1),y&&y(e,"toggle")):($(!0),S&&S(e,"toggle"))},className:Yf(I.fab,p.className),ref:z,ownerState:j,children:r.isValidElement(h)&&ch(h,["SpeedDialIcon"])?r.cloneElement(h,{open:M}):h})}),e(tR,{id:`${_}-actions`,role:"menu","aria-orientation":JN(f),className:Yf(I.actions,!M&&I.actionsClosed),ownerState:j,children:q})]})});function nR(e){return Qf("MuiTooltip",e)}"production"!==process.env.NODE_ENV&&(oR.propTypes={ariaLabel:qp.string.isRequired,children:qp.node,classes:qp.object,className:qp.string,direction:qp.oneOf(["down","left","right","up"]),FabProps:qp.object,hidden:qp.bool,icon:qp.node,onBlur:qp.func,onClose:qp.func,onFocus:qp.func,onKeyDown:qp.func,onMouseEnter:qp.func,onMouseLeave:qp.func,onOpen:qp.func,open:qp.bool,openIcon:qp.node,slotProps:qp.shape({root:qp.oneOfType([qp.func,qp.object]),transition:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({root:qp.elementType,transition:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),TransitionComponent:qp.elementType,transitionDuration:qp.oneOfType([qp.number,qp.shape({appear:qp.number,enter:qp.number,exit:qp.number})]),TransitionProps:qp.object});const rR=em("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),iR=Cg(Zx,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.popper,!o.disableInteractive&&t.popperInteractive,o.arrow&&t.popperArrow,!o.open&&t.popperClose]}})(Pg(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:e})=>!e.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:e})=>!e,style:{pointerEvents:"none"}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${rR.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${rR.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${rR.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${rR.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${rR.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${rR.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${rR.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${rR.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),aR=Cg("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.tooltip,o.touch&&t.touch,o.arrow&&t.tooltipArrow,t[`tooltipPlacement${Cu(o.placement.split("-")[0])}`]]}})(Pg(({theme:e})=>{return{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,[`.${rR.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${rR.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${rR.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${rR.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:e})=>e.arrow,style:{position:"relative",margin:0}},{props:({ownerState:e})=>e.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(t=16/14,Math.round(1e5*t)/1e5+"em"),fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:e})=>!e.isRtl,style:{[`.${rR.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${rR.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${rR.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${rR.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${rR.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${rR.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${rR.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${rR.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${rR.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${rR.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]};var t})),sR=Cg("span",{name:"MuiTooltip",slot:"Arrow"})(Pg(({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 lR=!1;const cR=new Oy;let pR={x:0,y:0};function dR(e,t){return(o,...n)=>{t&&t(o,...n),e(o,...n)}}const uR=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiTooltip"}),{arrow:a=!1,children:s,classes:l,components:c={},componentsProps:p={},describeChild:d=!1,disableFocusListener:u=!1,disableHoverListener:f=!1,disableInteractive:m=!1,disableTouchListener:h=!1,enterDelay:g=100,enterNextDelay:y=0,enterTouchDelay:b=700,followCursor:v=!1,id:x,leaveDelay:w=0,leaveTouchDelay:S=1500,onClose:T,onOpen:O,open:C,placement:k="bottom",PopperComponent:E,PopperProps:P={},slotProps:N={},slots:R={},title:M,TransitionComponent:$,TransitionProps:j,...I}=i,A=r.isValidElement(s)?s:e("span",{children:s}),L=Sg(),B=Wm(),[D,z]=r.useState(),[V,F]=r.useState(null),W=r.useRef(!1),_=m||v,H=Cy(),q=Cy(),U=Cy(),G=Cy(),[K,X]=Vg({controlled:C,default:!1,name:"Tooltip",state:"open"});let Y=K;if("production"!==process.env.NODE_ENV){const{current:e}=r.useRef(void 0!==C);r.useEffect(()=>{D&&D.disabled&&!e&&""!==M&&D.tagName.toLowerCase()},[M,D,e])}const Z=Gm(x),J=r.useRef(),Q=Fg(()=>{void 0!==J.current&&(document.body.style.WebkitUserSelect=J.current,J.current=void 0),G.clear()});r.useEffect(()=>Q,[Q]);const ee=e=>{cR.clear(),lR=!0,X(!0),O&&!Y&&O(e)},te=Fg(e=>{cR.start(800+w,()=>{lR=!1}),X(!1),T&&Y&&T(e),H.start(L.transitions.duration.shortest,()=>{W.current=!1})}),oe=e=>{W.current&&"touchstart"!==e.type||(D&&D.removeAttribute("title"),q.clear(),U.clear(),g||lR&&y?q.start(lR?y:g,()=>{ee(e)}):ee(e))},ne=e=>{q.clear(),U.start(w,()=>{te(e)})},[,re]=r.useState(!1),ie=e=>{lb(e.target)||(re(!1),ne(e))},ae=e=>{D||z(e.currentTarget),lb(e.target)&&(re(!0),oe(e))},se=e=>{W.current=!0;const t=A.props;t.onTouchStart&&t.onTouchStart(e)};r.useEffect(()=>{if(Y)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"===e.key&&te(e)}},[te,Y]);const le=Wg(Wx(A),z,n);M||0===M||(Y=!1);const ce=r.useRef(),pe={},de="string"==typeof M;d?(pe.title=Y||!de||f?null:M,pe["aria-describedby"]=Y?Z:null):(pe["aria-label"]=de?M:null,pe["aria-labelledby"]=Y&&!de?Z:null);const ue={...pe,...I,...A.props,className:Yf(I.className,A.props.className),onTouchStart:se,ref:le,...v?{onMouseMove:e=>{const t=A.props;t.onMouseMove&&t.onMouseMove(e),pR={x:e.clientX,y:e.clientY},ce.current&&ce.current.update()}}:{}};"production"!==process.env.NODE_ENV&&(ue["data-mui-internal-clone-element"]=!0,r.useEffect(()=>{D&&D.getAttribute("data-mui-internal-clone-element")},[D]));const fe={};h||(ue.onTouchStart=e=>{se(e),U.clear(),H.clear(),Q(),J.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",G.start(b,()=>{document.body.style.WebkitUserSelect=J.current,oe(e)})},ue.onTouchEnd=e=>{A.props.onTouchEnd&&A.props.onTouchEnd(e),Q(),U.start(S,()=>{te(e)})}),f||(ue.onMouseOver=dR(oe,ue.onMouseOver),ue.onMouseLeave=dR(ne,ue.onMouseLeave),_||(fe.onMouseOver=oe,fe.onMouseLeave=ne)),u||(ue.onFocus=dR(ae,ue.onFocus),ue.onBlur=dR(ie,ue.onBlur),_||(fe.onFocus=ae,fe.onBlur=ie)),"production"!==process.env.NODE_ENV&&A.props.title;const me={...i,isRtl:B,arrow:a,disableInteractive:_,placement:k,PopperComponentProp:E,touch:W.current},he="function"==typeof N.popper?N.popper(me):N.popper,ge=r.useMemo(()=>{let e=[{name:"arrow",enabled:Boolean(V),options:{element:V,padding:4}}];return P.popperOptions?.modifiers&&(e=e.concat(P.popperOptions.modifiers)),he?.popperOptions?.modifiers&&(e=e.concat(he.popperOptions.modifiers)),{...P.popperOptions,...he?.popperOptions,modifiers:e}},[V,P.popperOptions,he?.popperOptions]),ye=(e=>{const{classes:t,disableInteractive:o,arrow:n,touch:r,placement:i}=e;return nh({popper:["popper",!o&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",r&&"touch",`tooltipPlacement${Cu(i.split("-")[0])}`],arrow:["arrow"]},nR,t)})(me),be="function"==typeof N.transition?N.transition(me):N.transition,ve={slots:{popper:c.Popper,transition:c.Transition??$,tooltip:c.Tooltip,arrow:c.Arrow,...R},slotProps:{arrow:N.arrow??p.arrow,popper:{...P,...he??p.popper},tooltip:N.tooltip??p.tooltip,transition:{...j,...be??p.transition}}},[xe,we]=Ay("popper",{elementType:iR,externalForwardedProps:ve,ownerState:me,className:Yf(ye.popper,P?.className)}),[Se,Te]=Ay("transition",{elementType:LC,externalForwardedProps:ve,ownerState:me}),[Oe,Ce]=Ay("tooltip",{elementType:aR,className:ye.tooltip,externalForwardedProps:ve,ownerState:me}),[ke,Ee]=Ay("arrow",{elementType:sR,className:ye.arrow,externalForwardedProps:ve,ownerState:me,ref:F});return t(r.Fragment,{children:[r.cloneElement(A,ue),e(xe,{as:E??Zx,placement:k,anchorEl:v?{getBoundingClientRect:()=>({top:pR.y,left:pR.x,right:pR.x,bottom:pR.y,width:0,height:0})}:D,popperRef:ce,open:!!D&&Y,id:Z,transition:!0,...fe,...we,popperOptions:ge,children:({TransitionProps:o})=>e(Se,{timeout:L.transitions.duration.shorter,...o,...Te,children:t(Oe,{...Ce,children:[M,a?e(ke,{...Ee}):null]})})})]})});function fR(e){return Qf("MuiSpeedDialAction",e)}"production"!==process.env.NODE_ENV&&(uR.propTypes={arrow:qp.bool,children:lS.isRequired,classes:qp.object,className:qp.string,components:qp.shape({Arrow:qp.elementType,Popper:qp.elementType,Tooltip:qp.elementType,Transition:qp.elementType}),componentsProps:qp.shape({arrow:qp.object,popper:qp.object,tooltip:qp.object,transition:qp.object}),describeChild:qp.bool,disableFocusListener:qp.bool,disableHoverListener:qp.bool,disableInteractive:qp.bool,disableTouchListener:qp.bool,enterDelay:qp.number,enterNextDelay:qp.number,enterTouchDelay:qp.number,followCursor:qp.bool,id:qp.string,leaveDelay:qp.number,leaveTouchDelay:qp.number,onClose:qp.func,onOpen:qp.func,open:qp.bool,placement:qp.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:qp.elementType,PopperProps:qp.object,slotProps:qp.shape({arrow:qp.oneOfType([qp.func,qp.object]),popper:qp.oneOfType([qp.func,qp.object]),tooltip:qp.oneOfType([qp.func,qp.object]),transition:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({arrow:qp.elementType,popper:qp.elementType,tooltip:qp.elementType,transition:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),title:qp.node,TransitionComponent:qp.elementType,TransitionProps:qp.object});const mR=em("MuiSpeedDialAction",["fab","fabClosed","staticTooltip","staticTooltipClosed","staticTooltipLabel","tooltipPlacementLeft","tooltipPlacementRight"]),hR=Cg(JO,{name:"MuiSpeedDialAction",slot:"Fab",skipVariantsResolver:!1,overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.fab,!o.open&&t.fabClosed]}})(Pg(({theme:e})=>({margin:8,color:(e.vars||e).palette.text.secondary,backgroundColor:(e.vars||e).palette.background.paper,"&:hover":{backgroundColor:e.vars?e.vars.palette.SpeedDialAction.fabHoverBg:$m(e.palette.background.paper,.15)},transition:`${e.transitions.create("transform",{duration:e.transitions.duration.shorter})}, opacity 0.8s`,opacity:1,variants:[{props:({ownerState:e})=>!e.open,style:{opacity:0,transform:"scale(0)"}}]}))),gR=Cg("span",{name:"MuiSpeedDialAction",slot:"StaticTooltip",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.staticTooltip,!o.open&&t.staticTooltipClosed,t[`tooltipPlacement${Cu(o.tooltipPlacement)}`]]}})(Pg(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",[`& .${mR.staticTooltipLabel}`]:{transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.shorter}),opacity:1},variants:[{props:({ownerState:e})=>!e.open,style:{[`& .${mR.staticTooltipLabel}`]:{opacity:0,transform:"scale(0.5)"}}},{props:{tooltipPlacement:"left"},style:{[`& .${mR.staticTooltipLabel}`]:{transformOrigin:"100% 50%",right:"100%",marginRight:8}}},{props:{tooltipPlacement:"right"},style:{[`& .${mR.staticTooltipLabel}`]:{transformOrigin:"0% 50%",left:"100%",marginLeft:8}}}]}))),yR=Cg("span",{name:"MuiSpeedDialAction",slot:"StaticTooltipLabel"})(Pg(({theme:e})=>({position:"absolute",...e.typography.body1,backgroundColor:(e.vars||e).palette.background.paper,borderRadius:(e.vars||e).shape.borderRadius,boxShadow:(e.vars||e).shadows[1],color:(e.vars||e).palette.text.secondary,padding:"4px 16px",wordBreak:"keep-all"}))),bR=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiSpeedDialAction"}),{className:a,delay:s=0,FabProps:l={},icon:c,id:p,open:d,TooltipClasses:u,tooltipOpen:f=!1,tooltipPlacement:m="left",tooltipTitle:h,slots:g={},slotProps:y={},...b}=i,v={...i,tooltipPlacement:m},x=(e=>{const{open:t,tooltipPlacement:o,classes:n}=e;return nh({fab:["fab",!t&&"fabClosed"],staticTooltip:["staticTooltip",`tooltipPlacement${Cu(o)}`,!t&&"staticTooltipClosed"],staticTooltipLabel:["staticTooltipLabel"]},fR,n)})(v),w={slots:g,slotProps:{fab:l,...y,tooltip:_g("function"==typeof y.tooltip?y.tooltip(v):y.tooltip,{title:h,open:f,placement:m,classes:u})}},[S,T]=r.useState(w.slotProps.tooltip?.open),O={transitionDelay:`${s}ms`},[C,k]=Ay("fab",{elementType:hR,externalForwardedProps:w,ownerState:v,shouldForwardComponentProp:!0,className:Yf(x.fab,a),additionalProps:{style:O,tabIndex:-1,role:"menuitem",size:"small"}}),[E,P]=Ay("tooltip",{elementType:uR,externalForwardedProps:w,shouldForwardComponentProp:!0,ref:n,additionalProps:{id:p},ownerState:v,getSlotProps:e=>({...e,onClose:t=>{e.onClose?.(t),T(!1)},onOpen:t=>{e.onOpen?.(t),T(!0)}})}),[N,R]=Ay("staticTooltip",{elementType:gR,externalForwardedProps:w,ownerState:v,ref:n,className:x.staticTooltip,additionalProps:{id:p}}),[M,$]=Ay("staticTooltipLabel",{elementType:yR,externalForwardedProps:w,ownerState:v,className:x.staticTooltipLabel,additionalProps:{style:O,id:`${p}-label`}}),j=e(C,{...k,children:c});return P.open?t(N,{...R,...b,children:[e(M,{...$,children:P.title}),r.cloneElement(j,{"aria-labelledby":`${p}-label`})]}):(!d&&S&&T(!1),e(E,{...P,title:P.title,open:d&&S,placement:P.placement,classes:P.classes,...b,children:j}))});"production"!==process.env.NODE_ENV&&(bR.propTypes={classes:qp.object,className:qp.string,delay:qp.number,FabProps:qp.object,icon:qp.node,id:qp.string,open:qp.bool,slotProps:qp.shape({fab:qp.oneOfType([qp.func,qp.object]),staticTooltip:qp.oneOfType([qp.func,qp.object]),staticTooltipLabel:qp.oneOfType([qp.func,qp.object]),tooltip:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({fab:qp.elementType,staticTooltip:qp.elementType,staticTooltipLabel:qp.elementType,tooltip:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),TooltipClasses:qp.object,tooltipOpen:qp.bool,tooltipPlacement:qp.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"]),tooltipTitle:qp.node});var vR=jg(e("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");function xR(e){return Qf("MuiSpeedDialIcon",e)}const wR=em("MuiSpeedDialIcon",["root","icon","iconOpen","iconWithOpenIconOpen","openIcon","openIconOpen"]),SR=Cg("span",{name:"MuiSpeedDialIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${wR.icon}`]:t.icon},{[`& .${wR.icon}`]:o.open&&t.iconOpen},{[`& .${wR.icon}`]:o.open&&o.openIcon&&t.iconWithOpenIconOpen},{[`& .${wR.openIcon}`]:t.openIcon},{[`& .${wR.openIcon}`]:o.open&&t.openIconOpen},t.root]}})(Pg(({theme:e})=>({height:24,[`& .${wR.icon}`]:{transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.short})},[`& .${wR.openIcon}`]:{position:"absolute",transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.short}),opacity:0,transform:"rotate(-45deg)"},variants:[{props:({ownerState:e})=>e.open,style:{[`& .${wR.icon}`]:{transform:"rotate(45deg)"}}},{props:({ownerState:e})=>e.open&&e.openIcon,style:{[`& .${wR.icon}`]:{opacity:0}}},{props:({ownerState:e})=>e.open,style:{[`& .${wR.openIcon}`]:{transform:"rotate(0deg)",opacity:1}}}]}))),TR=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiSpeedDialIcon"}),{className:a,icon:s,open:l,openIcon:c,...p}=i,d=i,u=(e=>{const{classes:t,open:o,openIcon:n}=e;return nh({root:["root"],icon:["icon",o&&"iconOpen",n&&o&&"iconWithOpenIconOpen"],openIcon:["openIcon",o&&"openIconOpen"]},xR,t)})(d);function f(e,t){return r.isValidElement(e)?r.cloneElement(e,{className:t}):e}return t(SR,{className:Yf(u.root,a),ref:n,ownerState:d,...p,children:[c?f(c,u.openIcon):null,s?f(s,u.icon):e(vR,{className:u.icon})]})});"production"!==process.env.NODE_ENV&&(TR.propTypes={classes:qp.object,className:qp.string,icon:qp.node,open:qp.bool,openIcon:qp.node,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),TR.muiName="SpeedDialIcon";const OR=Bh({createStyledComponent:Cg("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>Ng({props:e,name:"MuiStack"})});"production"!==process.env.NODE_ENV&&(OR.propTypes={children:qp.node,component:qp.elementType,direction:qp.oneOfType([qp.oneOf(["column-reverse","column","row-reverse","row"]),qp.arrayOf(qp.oneOf(["column-reverse","column","row-reverse","row"])),qp.object]),divider:qp.node,spacing:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.number,qp.string])),qp.number,qp.object,qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),useFlexGap:qp.bool}),em("MuiStack",["root"]);const CR=r.createContext({});"production"!==process.env.NODE_ENV&&(CR.displayName="StepperContext");const kR=r.createContext({});function ER(e){return Qf("MuiStep",e)}"production"!==process.env.NODE_ENV&&(kR.displayName="StepContext"),em("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);const PR=Cg("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})({variants:[{props:{orientation:"horizontal"},style:{paddingLeft:8,paddingRight:8}},{props:{alternativeLabel:!0},style:{flex:1,position:"relative"}}]}),NR=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiStep"}),{active:a,children:s,className:l,component:c="div",completed:p,disabled:d,expanded:u=!1,index:f,last:m,...h}=i,{activeStep:g,connector:y,alternativeLabel:b,orientation:v,nonLinear:x}=r.useContext(CR);let[w=!1,S=!1,T=!1]=[a,p,d];g===f?w=void 0===a||a:!x&&g>f?S=void 0===p||p:!x&&g<f&&(T=void 0===d||d);const O=r.useMemo(()=>({index:f,last:m,expanded:u,icon:f+1,active:w,completed:S,disabled:T}),[f,m,u,w,S,T]),C={...i,active:w,orientation:v,alternativeLabel:b,completed:S,disabled:T,expanded:u,component:c},k=(e=>{const{classes:t,orientation:o,alternativeLabel:n,completed:r}=e;return nh({root:["root",o,n&&"alternativeLabel",r&&"completed"]},ER,t)})(C),E=t(PR,{as:c,className:Yf(k.root,l),ref:n,ownerState:C,...h,children:[y&&b&&0!==f?y:null,s]});return e(kR.Provider,{value:O,children:y&&!b&&0!==f?t(r.Fragment,{children:[y,E]}):E})});"production"!==process.env.NODE_ENV&&(NR.propTypes={active:qp.bool,children:qp.node,classes:qp.object,className:qp.string,completed:qp.bool,component:qp.elementType,disabled:qp.bool,expanded:qp.bool,index:Hy,last:qp.bool,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});var RR=jg(e("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),MR=jg(e("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");function $R(e){return Qf("MuiStepIcon",e)}const jR=em("MuiStepIcon",["root","active","completed","error","text"]);var IR;const AR=Cg($g,{name:"MuiStepIcon",slot:"Root"})(Pg(({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${jR.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${jR.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${jR.error}`]:{color:(e.vars||e).palette.error.main}}))),LR=Cg("text",{name:"MuiStepIcon",slot:"Text"})(Pg(({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily}))),BR=r.forwardRef(function(o,n){const r=Ng({props:o,name:"MuiStepIcon"}),{active:i=!1,className:a,completed:s=!1,error:l=!1,icon:c,...p}=r,d={...r,active:i,completed:s,error:l},u=(e=>{const{classes:t,active:o,completed:n,error:r}=e;return nh({root:["root",o&&"active",n&&"completed",r&&"error"],text:["text"]},$R,t)})(d);if("number"==typeof c||"string"==typeof c){const o=Yf(a,u.root);return l?e(AR,{as:MR,className:o,ref:n,ownerState:d,...p}):s?e(AR,{as:RR,className:o,ref:n,ownerState:d,...p}):t(AR,{className:o,ref:n,ownerState:d,...p,children:[IR||(IR=e("circle",{cx:"12",cy:"12",r:"12"})),e(LR,{className:u.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:d,children:c})]})}return c});function DR(e){return Qf("MuiStepLabel",e)}"production"!==process.env.NODE_ENV&&(BR.propTypes={active:qp.bool,classes:qp.object,className:qp.string,completed:qp.bool,error:qp.bool,icon:qp.node,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const zR=em("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),VR=Cg("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation]]}})({display:"flex",alignItems:"center",[`&.${zR.alternativeLabel}`]:{flexDirection:"column"},[`&.${zR.disabled}`]:{cursor:"default"},variants:[{props:{orientation:"vertical"},style:{textAlign:"left",padding:"8px 0"}}]}),FR=Cg("span",{name:"MuiStepLabel",slot:"Label"})(Pg(({theme:e})=>({...e.typography.body2,display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${zR.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${zR.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${zR.alternativeLabel}`]:{marginTop:16},[`&.${zR.error}`]:{color:(e.vars||e).palette.error.main}}))),WR=Cg("span",{name:"MuiStepLabel",slot:"IconContainer"})({flexShrink:0,display:"flex",paddingRight:8,[`&.${zR.alternativeLabel}`]:{paddingRight:0}}),_R=Cg("span",{name:"MuiStepLabel",slot:"LabelContainer"})(Pg(({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary,[`&.${zR.alternativeLabel}`]:{textAlign:"center"}}))),HR=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiStepLabel"}),{children:a,className:s,componentsProps:l={},error:c=!1,icon:p,optional:d,slots:u={},slotProps:f={},StepIconComponent:m,StepIconProps:h,...g}=i,{alternativeLabel:y,orientation:b}=r.useContext(CR),{active:v,disabled:x,completed:w,icon:S}=r.useContext(kR),T=p||S;let O=m;T&&!O&&(O=BR);const C={...i,active:v,alternativeLabel:y,completed:w,disabled:x,error:c,orientation:b},k=(e=>{const{classes:t,orientation:o,active:n,completed:r,error:i,disabled:a,alternativeLabel:s}=e;return nh({root:["root",o,i&&"error",a&&"disabled",s&&"alternativeLabel"],label:["label",n&&"active",r&&"completed",i&&"error",a&&"disabled",s&&"alternativeLabel"],iconContainer:["iconContainer",n&&"active",r&&"completed",i&&"error",a&&"disabled",s&&"alternativeLabel"],labelContainer:["labelContainer",s&&"alternativeLabel"]},DR,t)})(C),E={slots:u,slotProps:{stepIcon:h,...l,...f}},[P,N]=Ay("root",{elementType:VR,externalForwardedProps:{...E,...g},ownerState:C,ref:n,className:Yf(k.root,s)}),[R,M]=Ay("label",{elementType:FR,externalForwardedProps:E,ownerState:C}),[$,j]=Ay("stepIcon",{elementType:O,externalForwardedProps:E,ownerState:C});return t(P,{...N,children:[T||$?e(WR,{className:k.iconContainer,ownerState:C,children:e($,{completed:w,active:v,error:c,icon:T,...j})}):null,t(_R,{className:k.labelContainer,ownerState:C,children:[a?e(R,{...M,className:Yf(k.label,M?.className),children:a}):null,d]})]})});function qR(e){return Qf("MuiStepButton",e)}"production"!==process.env.NODE_ENV&&(HR.propTypes={children:qp.node,classes:qp.object,className:qp.string,componentsProps:qp.shape({label:qp.object}),error:qp.bool,icon:qp.node,optional:qp.node,slotProps:qp.shape({label:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object]),stepIcon:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({label:qp.elementType,root:qp.elementType,stepIcon:qp.elementType}),StepIconComponent:qp.elementType,StepIconProps:qp.object,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),HR.muiName="StepLabel";const UR=em("MuiStepButton",["root","horizontal","vertical","touchRipple"]),GR=Cg(wb,{name:"MuiStepButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${UR.touchRipple}`]:t.touchRipple},t.root,t[o.orientation]]}})({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box",[`& .${UR.touchRipple}`]:{color:"rgba(0, 0, 0, 0.3)"},variants:[{props:{orientation:"vertical"},style:{justifyContent:"flex-start",padding:"8px",margin:"-8px"}}]}),KR=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiStepButton"}),{children:i,className:a,icon:s,optional:l,...c}=n,{disabled:p,active:d}=r.useContext(kR),{orientation:u}=r.useContext(CR),f={...n,orientation:u},m=(e=>{const{classes:t,orientation:o}=e;return nh({root:["root",o],touchRipple:["touchRipple"]},qR,t)})(f),h={icon:s,optional:l},g=ch(i,["StepLabel"])?r.cloneElement(i,h):e(HR,{...h,children:i});return e(GR,{focusRipple:!0,disabled:p,TouchRippleProps:{className:m.touchRipple},className:Yf(m.root,a),ref:o,ownerState:f,"aria-current":d?"step":void 0,...c,children:g})});function XR(e){return Qf("MuiStepConnector",e)}"production"!==process.env.NODE_ENV&&(KR.propTypes={children:qp.node,classes:qp.object,className:qp.string,icon:qp.node,optional:qp.node,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]);const YR=Cg("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})({flex:"1 1 auto",variants:[{props:{orientation:"vertical"},style:{marginLeft:12}},{props:{alternativeLabel:!0},style:{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}}]}),ZR=Cg("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.line,t[`line${Cu(o.orientation)}`]]}})(Pg(({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600];return{display:"block",borderColor:e.vars?e.vars.palette.StepConnector.border:t,variants:[{props:{orientation:"horizontal"},style:{borderTopStyle:"solid",borderTopWidth:1}},{props:{orientation:"vertical"},style:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}]}})),JR=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiStepConnector"}),{className:i,...a}=n,{alternativeLabel:s,orientation:l="horizontal"}=r.useContext(CR),{active:c,disabled:p,completed:d}=r.useContext(kR),u={...n,alternativeLabel:s,orientation:l,active:c,completed:d,disabled:p},f=(e=>{const{classes:t,orientation:o,alternativeLabel:n,active:r,completed:i,disabled:a}=e;return nh({root:["root",o,n&&"alternativeLabel",r&&"active",i&&"completed",a&&"disabled"],line:["line",`line${Cu(o)}`]},XR,t)})(u);return e(YR,{className:Yf(f.root,i),ref:o,ownerState:u,...a,children:e(ZR,{className:f.line,ownerState:u})})});function QR(e){return Qf("MuiStepContent",e)}"production"!==process.env.NODE_ENV&&(JR.propTypes={classes:qp.object,className:qp.string,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("MuiStepContent",["root","last","transition"]);const eM=Cg("div",{name:"MuiStepContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.last&&t.last]}})(Pg(({theme:e})=>({marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:e.vars?`1px solid ${e.vars.palette.StepContent.border}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]}`,variants:[{props:{last:!0},style:{borderLeft:"none"}}]}))),tM=Cg(Vy,{name:"MuiStepContent",slot:"Transition"})({}),oM=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiStepContent"}),{children:i,className:a,TransitionComponent:s=Vy,transitionDuration:l="auto",TransitionProps:c,slots:p={},slotProps:d={},...u}=n,{orientation:f}=r.useContext(CR),{active:m,last:h,expanded:g}=r.useContext(kR),y={...n,last:h},b=(e=>{const{classes:t,last:o}=e;return nh({root:["root",o&&"last"],transition:["transition"]},QR,t)})(y);process.env.NODE_ENV;let v=l;"auto"!==l||s.muiSupportAuto||(v=void 0);const x={slots:p,slotProps:{transition:c,...d}},[w,S]=Ay("transition",{elementType:tM,externalForwardedProps:x,ownerState:y,className:b.transition,additionalProps:{in:m||g,timeout:v,unmountOnExit:!0}});return e(eM,{className:Yf(b.root,a),ref:o,ownerState:y,...u,children:e(w,{as:s,...S,children:i})})});function nM(e){return Qf("MuiStepper",e)}"production"!==process.env.NODE_ENV&&(oM.propTypes={children:qp.node,classes:qp.object,className:qp.string,slotProps:qp.shape({transition:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({transition:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),TransitionComponent:qp.elementType,transitionDuration:qp.oneOfType([qp.oneOf(["auto"]),qp.number,qp.shape({appear:qp.number,enter:qp.number,exit:qp.number})]),TransitionProps:qp.object}),em("MuiStepper",["root","horizontal","vertical","nonLinear","alternativeLabel"]);const rM=Cg("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.nonLinear&&t.nonLinear]}})({display:"flex",variants:[{props:{orientation:"horizontal"},style:{flexDirection:"row",alignItems:"center"}},{props:{orientation:"vertical"},style:{flexDirection:"column"}},{props:{alternativeLabel:!0},style:{alignItems:"flex-start"}}]}),iM=e(JR,{}),aM=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiStepper"}),{activeStep:i=0,alternativeLabel:a=!1,children:s,className:l,component:c="div",connector:p=iM,nonLinear:d=!1,orientation:u="horizontal",...f}=n,m={...n,nonLinear:d,alternativeLabel:a,orientation:u,component:c},h=(e=>{const{orientation:t,nonLinear:o,alternativeLabel:n,classes:r}=e;return nh({root:["root",t,o&&"nonLinear",n&&"alternativeLabel"]},nM,r)})(m),g=r.Children.toArray(s).filter(Boolean),y=g.map((e,t)=>r.cloneElement(e,{index:t,last:t+1===g.length,...e.props})),b=r.useMemo(()=>({activeStep:i,alternativeLabel:a,connector:p,nonLinear:d,orientation:u}),[i,a,p,d,u]);return e(CR.Provider,{value:b,children:e(rM,{as:c,ownerState:m,className:Yf(h.root,l),ref:o,...f,children:y})})});"production"!==process.env.NODE_ENV&&(aM.propTypes={activeStep:Hy,alternativeLabel:qp.bool,children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,connector:qp.element,nonLinear:qp.bool,orientation:qp.oneOf(["horizontal","vertical"]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const sM=Cg("div",{name:"MuiSwipeArea",shouldForwardProp:Og})(Pg(({theme:e})=>({position:"fixed",top:0,left:0,bottom:0,zIndex:e.zIndex.drawer-1,variants:[{props:{anchor:"left"},style:{right:"auto"}},{props:{anchor:"right"},style:{left:"auto",right:0}},{props:{anchor:"top"},style:{bottom:"auto",right:0}},{props:{anchor:"bottom"},style:{top:"auto",bottom:0,right:0}}]}))),lM=r.forwardRef(function(t,o){const{anchor:n,classes:r={},className:i,width:a,style:s,...l}=t,c=t;return e(sM,{className:Yf("PrivateSwipeArea-root",r.root,r[`anchor${Cu(n)}`],i),ref:o,style:{[UO(n)?"width":"height"]:a,...s},ownerState:c,...l})});"production"!==process.env.NODE_ENV&&(lM.propTypes={anchor:qp.oneOf(["left","top","right","bottom"]).isRequired,classes:qp.object,className:qp.string,style:qp.object,width:qp.number.isRequired});let cM=null;function pM(e,t,o){return"right"===e?o.body.offsetWidth-t[0].pageX:t[0].pageX}function dM(e,t,o){return"bottom"===e?o.innerHeight-t[0].clientY:t[0].clientY}function uM(e,t){return e?t.clientWidth:t.clientHeight}function fM(e,t,o,n){return Math.min(Math.max(o?t-e:n+t-e,0),n)}const mM="undefined"!=typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent),hM=r.forwardRef(function(o,n){const i=Ng({name:"MuiSwipeableDrawer",props:o}),a=Sg(),s={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{anchor:l="left",disableBackdropTransition:c=!1,disableDiscovery:p=!1,disableSwipeToOpen:d=mM,hideBackdrop:u,hysteresis:f=.52,allowSwipeInChildren:m=!1,minFlingVelocity:h=450,ModalProps:{BackdropProps:g,...y}={},onClose:b,onOpen:v,open:x=!1,PaperProps:w={},SwipeAreaProps:S,swipeAreaWidth:T=20,transitionDuration:O=s,variant:C="temporary",slots:k={},slotProps:E={},...P}=i,[N,R]=r.useState(!1),M=r.useRef({isSwiping:null}),$=r.useRef(),j=r.useRef(),I=r.useRef(),A=Wg(w.ref,I),L=r.useRef(!1),B=r.useRef();ym(()=>{B.current=null},[x]);const D=r.useCallback((e,t={})=>{const{mode:o=null,changeTransition:n=!0}=t,r=GO(a,l),i=["right","bottom"].includes(r)?1:-1,s=UO(l),p=s?`translate(${i*e}px, 0)`:`translate(0, ${i*e}px)`,d=I.current.style;d.webkitTransform=p,d.transform=p;let f="";if(o&&(f=a.transitions.create("all",Py({easing:void 0,style:void 0,timeout:O},{mode:o}))),n&&(d.webkitTransition=f,d.transition=f),!c&&!u){const t=j.current.style;t.opacity=1-e/uM(s,I.current),n&&(t.webkitTransition=f,t.transition=f)}},[l,c,u,a,O]),z=Fg(e=>{if(!L.current)return;if(cM=null,L.current=!1,_.flushSync(()=>{R(!1)}),!M.current.isSwiping)return void(M.current.isSwiping=null);M.current.isSwiping=null;const t=GO(a,l),o=UO(l);let n;n=o?pM(t,e.changedTouches,Ag(e.currentTarget)):dM(t,e.changedTouches,Lg(e.currentTarget));const r=o?M.current.startX:M.current.startY,i=uM(o,I.current),s=fM(n,r,x,i),c=s/i;Math.abs(M.current.velocity)>h&&(B.current=1e3*Math.abs((i-s)/M.current.velocity)),x?M.current.velocity>h||c>f?b():D(0,{mode:"exit"}):M.current.velocity<-h||1-c>f?v():D(uM(o,I.current),{mode:"enter"})}),V=(e=!1)=>{if(!N){!e&&p&&m||_.flushSync(()=>{R(!0)});const t=UO(l);!x&&I.current&&D(uM(t,I.current)+(p?15:-20),{changeTransition:!1}),M.current.velocity=0,M.current.lastTime=null,M.current.lastTranslate=null,M.current.paperHit=!1,L.current=!0}},F=Fg(e=>{if(!I.current||!L.current)return;if(null!==cM&&cM!==M.current)return;V(!0);const t=GO(a,l),o=UO(l),n=pM(t,e.touches,Ag(e.currentTarget)),r=dM(t,e.touches,Lg(e.currentTarget));if(x&&I.current.contains(e.target)&&null===cM){const t=function(e,t){const o=[];for(;e&&e!==t.parentElement;){const n=Lg(t).getComputedStyle(e);"absolute"===n.getPropertyValue("position")||"hidden"===n.getPropertyValue("overflow-x")||(e.clientWidth>0&&e.scrollWidth>e.clientWidth||e.clientHeight>0&&e.scrollHeight>e.clientHeight)&&o.push(e),e=e.parentElement}return o}(e.target,I.current),i=function({domTreeShapes:e,start:t,current:o,anchor:n}){const r={x:"scrollLeft",y:"scrollTop"},i={x:"scrollWidth",y:"scrollHeight"},a={x:"clientWidth",y:"clientHeight"};return e.some(e=>{let s=o>=t;"top"!==n&&"left"!==n||(s=!s);const l="left"===n||"right"===n?"x":"y",c=Math.round(e[r[l]]),p=c>0,d=c+e[a[l]]<e[i[l]];return!!(s&&d||!s&&p)})}({domTreeShapes:t,start:o?M.current.startX:M.current.startY,current:o?n:r,anchor:l});if(i)return void(cM=!0);cM=M.current}if(null==M.current.isSwiping){const t=Math.abs(n-M.current.startX),i=Math.abs(r-M.current.startY),a=o?t>i&&t>3:i>t&&i>3;if(a&&e.cancelable&&e.preventDefault(),!0===a||(o?i>3:t>3)){if(M.current.isSwiping=a,!a)return void z(e);M.current.startX=n,M.current.startY=r,p||x||(o?M.current.startX-=20:M.current.startY-=20)}}if(!M.current.isSwiping)return;const i=uM(o,I.current);let s=o?M.current.startX:M.current.startY;x&&!M.current.paperHit&&(s=Math.min(s,i));const c=fM(o?n:r,s,x,i);if(x)if(M.current.paperHit)0===c&&(M.current.startX=n,M.current.startY=r);else{if(!(o?n<i:r<i))return;M.current.paperHit=!0,M.current.startX=n,M.current.startY=r}null===M.current.lastTranslate&&(M.current.lastTranslate=c,M.current.lastTime=performance.now()+1);const d=(c-M.current.lastTranslate)/(performance.now()-M.current.lastTime)*1e3;M.current.velocity=.4*M.current.velocity+.6*d,M.current.lastTranslate=c,M.current.lastTime=performance.now(),e.cancelable&&e.preventDefault(),D(c)}),W=Fg(e=>{if(e.defaultPrevented)return;if(e.defaultMuiPrevented)return;if(x&&(u||!j.current.contains(e.target))&&!I.current.contains(e.target))return;const t=GO(a,l),o=UO(l),n=pM(t,e.touches,Ag(e.currentTarget)),r=dM(t,e.touches,Lg(e.currentTarget));if(!x){if(d||!(e.target===$.current||I.current?.contains(e.target)&&("function"==typeof m?m(e,$.current,I.current):m)))return;if(o){if(n>T)return}else if(r>T)return}e.defaultMuiPrevented=!0,cM=null,M.current.startX=n,M.current.startY=r,V()});r.useEffect(()=>{if("temporary"===C){const e=Ag(I.current);return e.addEventListener("touchstart",W),e.addEventListener("touchmove",F,{passive:!x}),e.addEventListener("touchend",z),()=>{e.removeEventListener("touchstart",W),e.removeEventListener("touchmove",F,{passive:!x}),e.removeEventListener("touchend",z)}}},[C,x,W,F,z]),r.useEffect(()=>()=>{cM===M.current&&(cM=null)},[]),r.useEffect(()=>{x||R(!1)},[x]);const[H,q]=Ay("swipeArea",{ref:$,elementType:lM,ownerState:i,externalForwardedProps:{slots:k,slotProps:{swipeArea:S,...E}},additionalProps:{width:T,anchor:l}});return t(r.Fragment,{children:[e(KO,{open:!("temporary"!==C||!N)||x,variant:C,ModalProps:{BackdropProps:{...g,ref:j},..."temporary"===C&&{keepMounted:!0},...y},hideBackdrop:u,anchor:l,transitionDuration:B.current||O,onClose:b,ref:n,slots:k,slotProps:{...E,backdrop:_g(E.backdrop??g,{ref:j}),paper:_g(E.paper??w,{style:{pointerEvents:"temporary"!==C||x||m?"":"none"},ref:A})},...P}),!d&&"temporary"===C&&e(WE,{children:e(H,{...q})})]})});function gM(e){return Qf("MuiSwitch",e)}"production"!==process.env.NODE_ENV&&(hM.propTypes={allowSwipeInChildren:qp.oneOfType([qp.func,qp.bool]),anchor:qp.oneOf(["bottom","left","right","top"]),children:qp.node,disableBackdropTransition:qp.bool,disableDiscovery:qp.bool,disableSwipeToOpen:qp.bool,hideBackdrop:qp.bool,hysteresis:qp.number,minFlingVelocity:qp.number,ModalProps:qp.shape({BackdropProps:qp.shape({component:ky})}),onClose:qp.func.isRequired,onOpen:qp.func.isRequired,open:qp.bool,PaperProps:qp.shape({component:ky,style:qp.object}),slotProps:qp.shape({backdrop:qp.oneOfType([qp.func,qp.object]),docked:qp.oneOfType([qp.func,qp.object]),paper:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object]),swipeArea:qp.oneOfType([qp.func,qp.object]),transition:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({backdrop:qp.elementType,docked:qp.elementType,paper:qp.elementType,root:qp.elementType,swipeArea:qp.elementType,transition:qp.elementType}),SwipeAreaProps:qp.object,swipeAreaWidth:qp.number,transitionDuration:qp.oneOfType([qp.number,qp.shape({appear:qp.number,enter:qp.number,exit:qp.number})]),variant:qp.oneOf(["permanent","persistent","temporary"])});const yM=em("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),bM=Cg("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.edge&&t[`edge${Cu(o.edge)}`],t[`size${Cu(o.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${yM.thumb}`]:{width:16,height:16},[`& .${yM.switchBase}`]:{padding:4,[`&.${yM.checked}`]:{transform:"translateX(16px)"}}}}]}),vM=Cg(jT,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.switchBase,{[`& .${yM.input}`]:t.input},"default"!==o.color&&t[`color${Cu(o.color)}`]]}})(Pg(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${yM.checked}`]:{transform:"translateX(20px)"},[`&.${yM.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${yM.checked} + .${yM.track}`]:{opacity:.5},[`&.${yM.disabled} + .${yM.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${yM.input}`]:{left:"-100%",width:"300%"}})),Pg(({theme:e})=>({"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(Nb(["light"])).map(([t])=>({props:{color:t},style:{[`&.${yM.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${yM.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${"light"===e.palette.mode?e.lighten(e.palette[t].main,.62):e.darken(e.palette[t].main,.55)}`}},[`&.${yM.checked} + .${yM.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),xM=Cg("span",{name:"MuiSwitch",slot:"Track"})(Pg(({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:""+("light"===e.palette.mode?.38:.3)}))),wM=Cg("span",{name:"MuiSwitch",slot:"Thumb"})(Pg(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),SM=r.forwardRef(function(o,n){const r=Ng({props:o,name:"MuiSwitch"}),{className:i,color:a="primary",edge:s=!1,size:l="medium",sx:c,slots:p={},slotProps:d={},...u}=r,f={...r,color:a,edge:s,size:l},m=(e=>{const{classes:t,edge:o,size:n,color:r,checked:i,disabled:a}=e,s=nh({root:["root",o&&`edge${Cu(o)}`,`size${Cu(n)}`],switchBase:["switchBase",`color${Cu(r)}`,i&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},gM,t);return{...t,...s}})(f),h={slots:p,slotProps:d},[g,y]=Ay("root",{className:Yf(m.root,i),elementType:bM,externalForwardedProps:h,ownerState:f,additionalProps:{sx:c}}),[b,v]=Ay("thumb",{className:m.thumb,elementType:wM,externalForwardedProps:h,ownerState:f}),x=e(b,{...v}),[w,S]=Ay("track",{className:m.track,elementType:xM,externalForwardedProps:h,ownerState:f});return t(g,{...y,children:[e(vM,{type:"checkbox",icon:x,checkedIcon:x,ref:n,ownerState:f,...u,classes:{...m,root:m.switchBase},slots:{...p.switchBase&&{root:p.switchBase},...p.input&&{input:p.input}},slotProps:{...d.switchBase&&{root:"function"==typeof d.switchBase?d.switchBase(f):d.switchBase},input:{role:"switch"},...d.input&&{input:"function"==typeof d.input?d.input(f):d.input}}}),e(w,{...S})]})});function TM(e){return Qf("MuiTab",e)}"production"!==process.env.NODE_ENV&&(SM.propTypes={checked:qp.bool,checkedIcon:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["default","primary","secondary","error","info","success","warning"]),qp.string]),defaultChecked:qp.bool,disabled:qp.bool,disableRipple:qp.bool,edge:qp.oneOf(["end","start",!1]),icon:qp.node,id:qp.string,inputProps:qp.object,inputRef:sb,onChange:qp.func,required:qp.bool,size:qp.oneOfType([qp.oneOf(["medium","small"]),qp.string]),slotProps:qp.shape({input:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object]),switchBase:qp.oneOfType([qp.func,qp.object]),thumb:qp.oneOfType([qp.func,qp.object]),track:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({input:qp.elementType,root:qp.elementType,switchBase:qp.elementType,thumb:qp.elementType,track:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),value:qp.any});const OM=em("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),CM=Cg(wb,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.label&&o.icon&&t.labelIcon,t[`textColor${Cu(o.textColor)}`],o.fullWidth&&t.fullWidth,o.wrapped&&t.wrapped,{[`& .${OM.iconWrapper}`]:t.iconWrapper},{[`& .${OM.icon}`]:t.icon}]}})(Pg(({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:e})=>e.label&&("top"===e.iconPosition||"bottom"===e.iconPosition),style:{flexDirection:"column"}},{props:({ownerState:e})=>e.label&&"top"!==e.iconPosition&&"bottom"!==e.iconPosition,style:{flexDirection:"row"}},{props:({ownerState:e})=>e.icon&&e.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"top"===t,style:{[`& > .${OM.icon}`]:{marginBottom:6}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"bottom"===t,style:{[`& > .${OM.icon}`]:{marginTop:6}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"start"===t,style:{[`& > .${OM.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"end"===t,style:{[`& > .${OM.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${OM.selected}`]:{opacity:1},[`&.${OM.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${OM.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${OM.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${OM.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${OM.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:e})=>e.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:e})=>e.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]}))),kM=r.forwardRef(function(e,o){const n=Ng({props:e,name:"MuiTab"}),{className:i,disabled:a=!1,disableFocusRipple:s=!1,fullWidth:l,icon:c,iconPosition:p="top",indicator:d,label:u,onChange:f,onClick:m,onFocus:h,selected:g,selectionFollowsFocus:y,textColor:b="inherit",value:v,wrapped:x=!1,...w}=n,S={...n,disabled:a,disableFocusRipple:s,selected:g,icon:!!c,iconPosition:p,label:!!u,fullWidth:l,textColor:b,wrapped:x},T=(e=>{const{classes:t,textColor:o,fullWidth:n,wrapped:r,icon:i,label:a,selected:s,disabled:l}=e;return nh({root:["root",i&&a&&"labelIcon",`textColor${Cu(o)}`,n&&"fullWidth",r&&"wrapped",s&&"selected",l&&"disabled"],icon:["iconWrapper","icon"]},TM,t)})(S),O=c&&u&&r.isValidElement(c)?r.cloneElement(c,{className:Yf(T.icon,c.props.className)}):c;return t(CM,{focusRipple:!s,className:Yf(T.root,i),ref:o,role:"tab","aria-selected":g,disabled:a,onClick:e=>{!g&&f&&f(e,v),m&&m(e)},onFocus:e=>{y&&!g&&f&&f(e,v),h&&h(e)},ownerState:S,tabIndex:g?0:-1,...w,children:[t(r.Fragment,"top"===p||"start"===p?{children:[O,u]}:{children:[u,O]}),d]})});"production"!==process.env.NODE_ENV&&(kM.propTypes={children:zg,classes:qp.object,className:qp.string,disabled:qp.bool,disableFocusRipple:qp.bool,disableRipple:qp.bool,icon:qp.oneOfType([qp.element,qp.string]),iconPosition:qp.oneOf(["bottom","end","start","top"]),label:qp.node,onChange:qp.func,onClick:qp.func,onFocus:qp.func,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),value:qp.any,wrapped:qp.bool});const EM=r.createContext();function PM(e){return Qf("MuiTable",e)}"production"!==process.env.NODE_ENV&&(EM.displayName="TableContext"),em("MuiTable",["root","stickyHeader"]);const NM=Cg("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.stickyHeader&&t.stickyHeader]}})(Pg(({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:e})=>e.stickyHeader,style:{borderCollapse:"separate"}}]}))),RM="table",MM=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiTable"}),{className:i,component:a=RM,padding:s="normal",size:l="medium",stickyHeader:c=!1,...p}=n,d={...n,component:a,padding:s,size:l,stickyHeader:c},u=(e=>{const{classes:t,stickyHeader:o}=e;return nh({root:["root",o&&"stickyHeader"]},PM,t)})(d),f=r.useMemo(()=>({padding:s,size:l,stickyHeader:c}),[s,l,c]);return e(EM.Provider,{value:f,children:e(NM,{as:a,role:a===RM?null:"table",ref:o,className:Yf(u.root,i),ownerState:d,...p})})});"production"!==process.env.NODE_ENV&&(MM.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,padding:qp.oneOf(["checkbox","none","normal"]),size:qp.oneOfType([qp.oneOf(["medium","small"]),qp.string]),stickyHeader:qp.bool,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const $M=r.createContext();function jM(e){return Qf("MuiTableBody",e)}"production"!==process.env.NODE_ENV&&($M.displayName="Tablelvl2Context"),em("MuiTableBody",["root"]);const IM=Cg("tbody",{name:"MuiTableBody",slot:"Root"})({display:"table-row-group"}),AM={variant:"body"},LM="tbody",BM=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiTableBody"}),{className:r,component:i=LM,...a}=n,s={...n,component:i},l=(e=>{const{classes:t}=e;return nh({root:["root"]},jM,t)})(s);return e($M.Provider,{value:AM,children:e(IM,{className:Yf(l.root,r),as:i,ref:o,role:i===LM?null:"rowgroup",ownerState:s,...a})})});function DM(e){return Qf("MuiTableCell",e)}"production"!==process.env.NODE_ENV&&(BM.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const zM=em("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),VM=Cg("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`size${Cu(o.size)}`],"normal"!==o.padding&&t[`padding${Cu(o.padding)}`],"inherit"!==o.align&&t[`align${Cu(o.align)}`],o.stickyHeader&&t.stickyHeader]}})(Pg(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid\n ${"light"===e.palette.mode?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",[`&.${zM.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:e})=>e.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),FM=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiTableCell"}),{align:i="inherit",className:a,component:s,padding:l,scope:c,size:p,sortDirection:d,variant:u,...f}=n,m=r.useContext(EM),h=r.useContext($M),g=h&&"head"===h.variant;let y;y=s||(g?"th":"td");let b=c;"td"===y?b=void 0:!b&&g&&(b="col");const v=u||h&&h.variant,x={...n,align:i,component:y,padding:l||(m&&m.padding?m.padding:"normal"),size:p||(m&&m.size?m.size:"medium"),sortDirection:d,stickyHeader:"head"===v&&m&&m.stickyHeader,variant:v},w=(e=>{const{classes:t,variant:o,align:n,padding:r,size:i,stickyHeader:a}=e;return nh({root:["root",o,a&&"stickyHeader","inherit"!==n&&`align${Cu(n)}`,"normal"!==r&&`padding${Cu(r)}`,`size${Cu(i)}`]},DM,t)})(x);let S=null;return d&&(S="asc"===d?"ascending":"descending"),e(VM,{as:y,ref:o,className:Yf(w.root,a),"aria-sort":S,scope:b,ownerState:x,...f})});function WM(e){return Qf("MuiTableContainer",e)}"production"!==process.env.NODE_ENV&&(FM.propTypes={align:qp.oneOf(["center","inherit","justify","left","right"]),children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,padding:qp.oneOf(["checkbox","none","normal"]),scope:qp.string,size:qp.oneOfType([qp.oneOf(["medium","small"]),qp.string]),sortDirection:qp.oneOf(["asc","desc",!1]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),variant:qp.oneOfType([qp.oneOf(["body","footer","head"]),qp.string])}),em("MuiTableContainer",["root"]);const _M=Cg("div",{name:"MuiTableContainer",slot:"Root"})({width:"100%",overflowX:"auto"}),HM=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiTableContainer"}),{className:r,component:i="div",...a}=n,s={...n,component:i},l=(e=>{const{classes:t}=e;return nh({root:["root"]},WM,t)})(s);return e(_M,{ref:o,as:i,className:Yf(l.root,r),ownerState:s,...a})});function qM(e){return Qf("MuiTableFooter",e)}"production"!==process.env.NODE_ENV&&(HM.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("MuiTableFooter",["root"]);const UM=Cg("tfoot",{name:"MuiTableFooter",slot:"Root"})({display:"table-footer-group"}),GM={variant:"footer"},KM="tfoot",XM=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiTableFooter"}),{className:r,component:i=KM,...a}=n,s={...n,component:i},l=(e=>{const{classes:t}=e;return nh({root:["root"]},qM,t)})(s);return e($M.Provider,{value:GM,children:e(UM,{as:i,className:Yf(l.root,r),ref:o,role:i===KM?null:"rowgroup",ownerState:s,...a})})});function YM(e){return Qf("MuiTableHead",e)}"production"!==process.env.NODE_ENV&&(XM.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("MuiTableHead",["root"]);const ZM=Cg("thead",{name:"MuiTableHead",slot:"Root"})({display:"table-header-group"}),JM={variant:"head"},QM="thead",e$=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiTableHead"}),{className:r,component:i=QM,...a}=n,s={...n,component:i},l=(e=>{const{classes:t}=e;return nh({root:["root"]},YM,t)})(s);return e($M.Provider,{value:JM,children:e(ZM,{as:i,className:Yf(l.root,r),ref:o,role:i===QM?null:"rowgroup",ownerState:s,...a})})});function t$(e){return Qf("MuiToolbar",e)}"production"!==process.env.NODE_ENV&&(e$.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])}),em("MuiToolbar",["root","gutters","regular","dense"]);const o$=Cg("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.disableGutters&&t.gutters,t[o.variant]]}})(Pg(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:e})=>!e.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}]}))),n$=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiToolbar"}),{className:r,component:i="div",disableGutters:a=!1,variant:s="regular",...l}=n,c={...n,component:i,disableGutters:a,variant:s},p=(e=>{const{classes:t,disableGutters:o,variant:n}=e;return nh({root:["root",!o&&"gutters",n]},t$,t)})(c);return e(o$,{as:i,className:Yf(p.root,r),ref:o,ownerState:c,...l})});"production"!==process.env.NODE_ENV&&(n$.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,disableGutters:qp.bool,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),variant:qp.oneOfType([qp.oneOf(["dense","regular"]),qp.string])});var r$=jg(e("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),i$=jg(e("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function a$(e){return Qf("MuiTablePaginationActions",e)}em("MuiTablePaginationActions",["root"]);const s$=Cg("div",{name:"MuiTablePaginationActions",slot:"Root"})({}),l$=r.forwardRef(function(o,n){const r=Ng({props:o,name:"MuiTablePaginationActions"}),{backIconButtonProps:i,className:a,count:s,disabled:l=!1,getItemAriaLabel:c,nextIconButtonProps:p,onPageChange:d,page:u,rowsPerPage:f,showFirstButton:m,showLastButton:h,slots:g={},slotProps:y={},...b}=r,v=Wm(),x=(e=>{const{classes:t}=e;return nh({root:["root"]},a$,t)})(r),w=g.firstButton??Gb,S=g.lastButton??Gb,T=g.nextButton??Gb,O=g.previousButton??Gb,C=g.firstButtonIcon??eP,k=g.lastButtonIcon??tP,E=g.nextButtonIcon??i$,P=g.previousButtonIcon??r$,N=v?S:w,R=v?T:O,M=v?O:T,$=v?w:S,j=v?y.lastButton:y.firstButton,I=v?y.nextButton:y.previousButton,A=v?y.previousButton:y.nextButton,L=v?y.firstButton:y.lastButton;return t(s$,{ref:n,className:Yf(x.root,a),...b,children:[m&&e(N,{onClick:e=>{d(e,0)},disabled:l||0===u,"aria-label":c("first",u),title:c("first",u),...j,children:v?e(k,{...y.lastButtonIcon}):e(C,{...y.firstButtonIcon})}),e(R,{onClick:e=>{d(e,u-1)},disabled:l||0===u,color:"inherit","aria-label":c("previous",u),title:c("previous",u),...I??i,children:v?e(E,{...y.nextButtonIcon}):e(P,{...y.previousButtonIcon})}),e(M,{onClick:e=>{d(e,u+1)},disabled:l||-1!==s&&u>=Math.ceil(s/f)-1,color:"inherit","aria-label":c("next",u),title:c("next",u),...A??p,children:v?e(P,{...y.previousButtonIcon}):e(E,{...y.nextButtonIcon})}),h&&e($,{onClick:e=>{d(e,Math.max(0,Math.ceil(s/f)-1))},disabled:l||u>=Math.ceil(s/f)-1,"aria-label":c("last",u),title:c("last",u),...L,children:v?e(C,{...y.firstButtonIcon}):e(k,{...y.lastButtonIcon})})]})});function c$(e){return Qf("MuiTablePagination",e)}"production"!==process.env.NODE_ENV&&(l$.propTypes={backIconButtonProps:qp.object,children:qp.node,classes:qp.object,className:qp.string,count:qp.number.isRequired,disabled:qp.bool,getItemAriaLabel:qp.func.isRequired,nextIconButtonProps:qp.object,onPageChange:qp.func.isRequired,page:qp.number.isRequired,rowsPerPage:qp.number.isRequired,showFirstButton:qp.bool.isRequired,showLastButton:qp.bool.isRequired,slotProps:qp.shape({firstButton:qp.object,firstButtonIcon:qp.object,lastButton:qp.object,lastButtonIcon:qp.object,nextButton:qp.object,nextButtonIcon:qp.object,previousButton:qp.object,previousButtonIcon:qp.object}),slots:qp.shape({firstButton:qp.elementType,firstButtonIcon:qp.elementType,lastButton:qp.elementType,lastButtonIcon:qp.elementType,nextButton:qp.elementType,nextButtonIcon:qp.elementType,previousButton:qp.elementType,previousButtonIcon:qp.elementType})});const p$=em("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var d$;const u$=Cg(FM,{name:"MuiTablePagination",slot:"Root"})(Pg(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),f$=Cg(n$,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${p$.actions}`]:t.actions,...t.toolbar})})(Pg(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${p$.actions}`]:{flexShrink:0,marginLeft:20}}))),m$=Cg("div",{name:"MuiTablePagination",slot:"Spacer"})({flex:"1 1 100%"}),h$=Cg("p",{name:"MuiTablePagination",slot:"SelectLabel"})(Pg(({theme:e})=>({...e.typography.body2,flexShrink:0}))),g$=Cg(aN,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${p$.selectIcon}`]:t.selectIcon,[`& .${p$.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${p$.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),y$=Cg(kE,{name:"MuiTablePagination",slot:"MenuItem"})({}),b$=Cg("p",{name:"MuiTablePagination",slot:"DisplayedRows"})(Pg(({theme:e})=>({...e.typography.body2,flexShrink:0})));function v$({from:e,to:t,count:o}){return`${e}–${t} of ${-1!==o?o:`more than ${t}`}`}function x$(e){return`Go to ${e} page`}const w$=r.forwardRef(function(o,n){const r=Ng({props:o,name:"MuiTablePagination"}),{ActionsComponent:i=l$,backIconButtonProps:a,colSpan:s,component:l=FM,count:c,disabled:p=!1,getItemAriaLabel:d=x$,labelDisplayedRows:u=v$,labelRowsPerPage:f="Rows per page:",nextIconButtonProps:m,onPageChange:g,onRowsPerPageChange:y,page:b,rowsPerPage:v,rowsPerPageOptions:x=[10,25,50,100],SelectProps:w={},showFirstButton:S=!1,showLastButton:T=!1,slotProps:O={},slots:C={},...k}=r,E=r,P=(e=>{const{classes:t}=e;return nh({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},c$,t)})(E),N=O?.select??w,R=N.native?"option":y$;let M;l!==FM&&"td"!==l||(M=s||1e3);const $=Gm(N.id),j=Gm(N.labelId),I={slots:C,slotProps:O},[A,L]=Ay("root",{ref:n,className:P.root,elementType:u$,externalForwardedProps:{...I,component:l,...k},ownerState:E,additionalProps:{colSpan:M}}),[B,D]=Ay("toolbar",{className:P.toolbar,elementType:f$,externalForwardedProps:I,ownerState:E}),[z,V]=Ay("spacer",{className:P.spacer,elementType:m$,externalForwardedProps:I,ownerState:E}),[F,W]=Ay("selectLabel",{className:P.selectLabel,elementType:h$,externalForwardedProps:I,ownerState:E,additionalProps:{id:j}}),[_,H]=Ay("select",{className:P.select,elementType:g$,externalForwardedProps:I,ownerState:E}),[q,U]=Ay("menuItem",{className:P.menuItem,elementType:R,externalForwardedProps:I,ownerState:E}),[G,K]=Ay("displayedRows",{className:P.displayedRows,elementType:b$,externalForwardedProps:I,ownerState:E});return e(A,{...L,children:t(B,{...D,children:[e(z,{...V}),x.length>1&&e(F,{...W,children:f}),x.length>1&&e(_,{variant:"standard",...!N.variant&&{input:d$||(d$=e(Cw,{}))},value:v,onChange:y,id:$,labelId:j,...N,classes:{...N.classes,root:Yf(P.input,P.selectRoot,(N.classes||{}).root),select:Yf(P.select,(N.classes||{}).select),icon:Yf(P.selectIcon,(N.classes||{}).icon)},disabled:p,...H,children:x.map(e=>h(q,{...U,key:e.label?e.label:e,value:e.value?e.value:e},e.label?e.label:e))}),e(G,{...K,children:u({from:0===c?0:b*v+1,to:-1===c?(b+1)*v:-1===v?c:Math.min(c,(b+1)*v),count:-1===c?-1:c,page:b})}),e(i,{className:P.actions,backIconButtonProps:a,count:c,nextIconButtonProps:m,onPageChange:g,page:b,rowsPerPage:v,showFirstButton:S,showLastButton:T,slotProps:O.actions,slots:C.actions,getItemAriaLabel:d,disabled:p})]})})});function S$(e){return Qf("MuiTableRow",e)}"production"!==process.env.NODE_ENV&&(w$.propTypes={ActionsComponent:qp.elementType,backIconButtonProps:qp.object,classes:qp.object,colSpan:qp.number,component:qp.elementType,count:Hy.isRequired,disabled:qp.bool,getItemAriaLabel:qp.func,labelDisplayedRows:qp.func,labelRowsPerPage:qp.node,nextIconButtonProps:qp.object,onPageChange:qp.func.isRequired,onRowsPerPageChange:qp.func,page:Hg(Hy.isRequired,e=>{const{count:t,page:o,rowsPerPage:n}=e;if(-1===t)return null;const r=Math.max(0,Math.ceil(t/n)-1);return o<0||o>r?new Error(`MUI: The page prop of a TablePagination is out of range (0 to ${r}, but page is ${o}).`):null}),rowsPerPage:Hy.isRequired,rowsPerPageOptions:qp.arrayOf(qp.oneOfType([qp.number,qp.shape({label:qp.string.isRequired,value:qp.number.isRequired})]).isRequired),SelectProps:qp.object,showFirstButton:qp.bool,showLastButton:qp.bool,slotProps:qp.shape({actions:qp.shape({firstButton:qp.object,firstButtonIcon:qp.object,lastButton:qp.object,lastButtonIcon:qp.object,nextButton:qp.object,nextButtonIcon:qp.object,previousButton:qp.object,previousButtonIcon:qp.object}),displayedRows:qp.oneOfType([qp.func,qp.object]),menuItem:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object]),select:qp.object,selectLabel:qp.oneOfType([qp.func,qp.object]),spacer:qp.oneOfType([qp.func,qp.object]),toolbar:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({actions:qp.shape({firstButton:qp.elementType,firstButtonIcon:qp.elementType,lastButton:qp.elementType,lastButtonIcon:qp.elementType,nextButton:qp.elementType,nextButtonIcon:qp.elementType,previousButton:qp.elementType,previousButtonIcon:qp.elementType}),displayedRows:qp.elementType,menuItem:qp.elementType,root:qp.elementType,select:qp.elementType,selectLabel:qp.elementType,spacer:qp.elementType,toolbar:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const T$=em("MuiTableRow",["root","selected","hover","head","footer"]),O$=Cg("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.head&&t.head,o.footer&&t.footer]}})(Pg(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${T$.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${T$.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}`)}}}))),C$="tr",k$=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiTableRow"}),{className:i,component:a=C$,hover:s=!1,selected:l=!1,...c}=n,p=r.useContext($M),d={...n,component:a,hover:s,selected:l,head:p&&"head"===p.variant,footer:p&&"footer"===p.variant},u=(e=>{const{classes:t,selected:o,hover:n,head:r,footer:i}=e;return nh({root:["root",o&&"selected",n&&"hover",r&&"head",i&&"footer"]},S$,t)})(d);return e(O$,{as:a,ref:o,className:Yf(u.root,i),role:a===C$?null:"row",ownerState:d,...c})});"production"!==process.env.NODE_ENV&&(k$.propTypes={children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,hover:qp.bool,selected:qp.bool,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});var E$=jg(e("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function P$(e){return Qf("MuiTableSortLabel",e)}const N$=em("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc","directionDesc","directionAsc"]),R$=Cg(wb,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.active&&t.active]}})(Pg(({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,[`& .${N$.icon}`]:{opacity:.5}},[`&.${N$.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${N$.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}}))),M$=Cg("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.icon,t[`iconDirection${Cu(o.direction)}`]]}})(Pg(({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)"}}]}))),$$=r.forwardRef(function(o,n){const r=Ng({props:o,name:"MuiTableSortLabel"}),{active:i=!1,children:a,className:s,direction:l="asc",hideSortIcon:c=!1,IconComponent:p=E$,slots:d={},slotProps:u={},...f}=r,m={...r,active:i,direction:l,hideSortIcon:c,IconComponent:p},h=(e=>{const{classes:t,direction:o,active:n}=e;return nh({root:["root",n&&"active",`direction${Cu(o)}`],icon:["icon",`iconDirection${Cu(o)}`]},P$,t)})(m),g={slots:d,slotProps:u},[y,b]=Ay("root",{elementType:R$,externalForwardedProps:g,ownerState:m,className:Yf(h.root,s),ref:n}),[v,x]=Ay("icon",{elementType:M$,externalForwardedProps:g,ownerState:m,className:h.icon});return t(y,{disableRipple:!0,component:"span",...b,...f,children:[a,c&&!i?null:e(v,{as:p,...x})]})});function j$(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}"production"!==process.env.NODE_ENV&&($$.propTypes={active:qp.bool,children:qp.node,classes:qp.object,className:qp.string,direction:qp.oneOf(["asc","desc"]),hideSortIcon:qp.bool,IconComponent:qp.elementType,slotProps:qp.shape({icon:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({icon:qp.elementType,root:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const I$={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function A$(t){const{onChange:o,...n}=t,i=r.useRef(),a=r.useRef(null),s=()=>{i.current=a.current.offsetHeight-a.current.clientHeight};return ym(()=>{const e=Ig(()=>{const e=i.current;s(),e!==i.current&&o(i.current)}),t=Lg(a.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[o]),r.useEffect(()=>{s(),o(i.current)},[o]),e("div",{style:I$,...n,ref:a})}function L$(e){return Qf("MuiTabScrollButton",e)}"production"!==process.env.NODE_ENV&&(A$.propTypes={onChange:qp.func.isRequired});const B$=em("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),D$=Cg(wb,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.orientation&&t[o.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${B$.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),z$=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiTabScrollButton"}),{className:r,slots:i={},slotProps:a={},direction:s,orientation:l,disabled:c,...p}=n,d=Wm(),u={isRtl:d,...n},f=(e=>{const{classes:t,orientation:o,disabled:n}=e;return nh({root:["root",o,n&&"disabled"]},L$,t)})(u),m=i.StartScrollButtonIcon??r$,h=i.EndScrollButtonIcon??i$,g=Fx({elementType:m,externalSlotProps:a.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:u}),y=Fx({elementType:h,externalSlotProps:a.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:u});return e(D$,{component:"div",className:Yf(f.root,r),ref:o,role:null,ownerState:u,tabIndex:null,...p,style:{...p.style,..."vertical"===l&&{"--TabScrollButton-svgRotate":`rotate(${d?-90:90}deg)`}},children:"left"===s?e(m,{...g}):e(h,{...y})})});function V$(e){return Qf("MuiTabs",e)}"production"!==process.env.NODE_ENV&&(z$.propTypes={children:qp.node,classes:qp.object,className:qp.string,direction:qp.oneOf(["left","right"]).isRequired,disabled:qp.bool,orientation:qp.oneOf(["horizontal","vertical"]).isRequired,slotProps:qp.shape({endScrollButtonIcon:qp.oneOfType([qp.func,qp.object]),startScrollButtonIcon:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({EndScrollButtonIcon:qp.elementType,StartScrollButtonIcon:qp.elementType}),style:qp.object,sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object])});const F$=em("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),W$=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,_$=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,H$=(e,t,o)=>{let n=!1,r=o(e,t);for(;r;){if(r===e.firstChild){if(n)return;n=!0}const t=r.disabled||"true"===r.getAttribute("aria-disabled");if(r.hasAttribute("tabindex")&&!t)return void r.focus();r=o(e,r)}},q$=Cg("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${F$.scrollButtons}`]:t.scrollButtons},{[`& .${F$.scrollButtons}`]:o.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,o.vertical&&t.vertical]}})(Pg(({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.scrollButtonsHideMobile,style:{[`& .${F$.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]}))),U$=Cg("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.scroller,o.fixed&&t.fixed,o.hideScrollbar&&t.hideScrollbar,o.scrollableX&&t.scrollableX,o.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"}}]}),G$=Cg("div",{name:"MuiTabs",slot:"List",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.list,t.flexContainer,o.vertical&&t.flexContainerVertical,o.centered&&t.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),K$=Cg("span",{name:"MuiTabs",slot:"Indicator"})(Pg(({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:e})=>e.vertical,style:{height:"100%",width:2,right:0}}]}))),X$=Cg(A$)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Y$={};let Z$=!1;const J$=r.forwardRef(function(o,n){const i=Ng({props:o,name:"MuiTabs"}),a=Sg(),s=Wm(),{"aria-label":l,"aria-labelledby":c,action:p,centered:d=!1,children:u,className:f,component:m="div",allowScrollButtonsMobile:h=!1,indicatorColor:g="primary",onChange:y,orientation:b="horizontal",ScrollButtonComponent:v,scrollButtons:x="auto",selectionFollowsFocus:w,slots:S={},slotProps:T={},TabIndicatorProps:O={},TabScrollButtonProps:C={},textColor:k="primary",value:E,variant:P="standard",visibleScrollbar:N=!1,...R}=i,M="scrollable"===P,$="vertical"===b,j=$?"scrollTop":"scrollLeft",I=$?"top":"left",A=$?"bottom":"right",L=$?"clientHeight":"clientWidth",B=$?"height":"width",D={...i,component:m,allowScrollButtonsMobile:h,indicatorColor:g,orientation:b,vertical:$,scrollButtons:x,textColor:k,variant:P,visibleScrollbar:N,fixed:!M,hideScrollbar:M&&!N,scrollableX:M&&!$,scrollableY:M&&$,centered:d&&!M,scrollButtonsHideMobile:!h},z=(e=>{const{vertical:t,fixed:o,hideScrollbar:n,scrollableX:r,scrollableY:i,centered:a,scrollButtonsHideMobile:s,classes:l}=e;return nh({root:["root",t&&"vertical"],scroller:["scroller",o&&"fixed",n&&"hideScrollbar",r&&"scrollableX",i&&"scrollableY"],list:["list","flexContainer",t&&"flexContainerVertical",t&&"vertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[r&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},V$,l)})(D),V=Fx({elementType:S.StartScrollButtonIcon,externalSlotProps:T.startScrollButtonIcon,ownerState:D}),F=Fx({elementType:S.EndScrollButtonIcon,externalSlotProps:T.endScrollButtonIcon,ownerState:D});process.env.NODE_ENV;const[W,_]=r.useState(!1),[H,q]=r.useState(Y$),[U,G]=r.useState(!1),[K,X]=r.useState(!1),[Y,Z]=r.useState(!1),[J,Q]=r.useState({overflow:"hidden",scrollbarWidth:0}),ee=new Map,te=r.useRef(null),oe=r.useRef(null),ne={slots:S,slotProps:{indicator:O,scrollButtons:C,...T}},re=()=>{const e=te.current;let t,o;if(e){const o=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollWidth:e.scrollWidth,top:o.top,bottom:o.bottom,left:o.left,right:o.right}}if(e&&!1!==E){const e=oe.current.children;if(e.length>0){const n=e[ee.get(E)];process.env.NODE_ENV,o=n?n.getBoundingClientRect():null,"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&!Z$&&o&&0===o.width&&0===o.height&&0!==t.clientWidth&&(t=null,Z$=!0)}}return{tabsMeta:t,tabMeta:o}},ie=Fg(()=>{const{tabsMeta:e,tabMeta:t}=re();let o,n=0;$?(o="top",t&&e&&(n=t.top-e.top+e.scrollTop)):(o=s?"right":"left",t&&e&&(n=(s?-1:1)*(t[o]-e[o]+e.scrollLeft)));const r={[o]:n,[B]:t?t[B]:0};if("number"!=typeof H[o]||"number"!=typeof H[B])q(r);else{const e=Math.abs(H[o]-r[o]),t=Math.abs(H[B]-r[B]);(e>=1||t>=1)&&q(r)}}),ae=(e,{animation:t=!0}={})=>{t?function(e,t,o,n={},r=()=>{}){const{ease:i=j$,duration:a=300}=n;let s=null;const l=t[e];let c=!1;const p=n=>{if(c)return void r(new Error("Animation cancelled"));null===s&&(s=n);const d=Math.min(1,(n-s)/a);t[e]=i(d)*(o-l)+l,d>=1?requestAnimationFrame(()=>{r(null)}):requestAnimationFrame(p)};l===o?r(new Error("Element already at target position")):requestAnimationFrame(p)}(j,te.current,e,{duration:a.transitions.duration.standard}):te.current[j]=e},se=e=>{let t=te.current[j];t+=$?e:e*(s?-1:1),ae(t)},le=()=>{const e=te.current[L];let t=0;const o=Array.from(oe.current.children);for(let n=0;n<o.length;n+=1){const r=o[n];if(t+r[L]>e){0===n&&(t=e);break}t+=r[L]}return t},ce=()=>{se(-1*le())},pe=()=>{se(le())},[de,{onChange:ue,...fe}]=Ay("scrollbar",{className:Yf(z.scrollableX,z.hideScrollbar),elementType:X$,shouldForwardComponentProp:!0,externalForwardedProps:ne,ownerState:D}),me=r.useCallback(e=>{ue?.(e),Q({overflow:null,scrollbarWidth:e})},[ue]),[he,ge]=Ay("scrollButtons",{className:Yf(z.scrollButtons,C.className),elementType:z$,externalForwardedProps:ne,ownerState:D,additionalProps:{orientation:b,slots:{StartScrollButtonIcon:S.startScrollButtonIcon||S.StartScrollButtonIcon,EndScrollButtonIcon:S.endScrollButtonIcon||S.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:V,endScrollButtonIcon:F}}}),ye=Fg(e=>{const{tabsMeta:t,tabMeta:o}=re();if(o&&t)if(o[I]<t[I]){const n=t[j]+(o[I]-t[I]);ae(n,{animation:e})}else if(o[A]>t[A]){const n=t[j]+(o[A]-t[A]);ae(n,{animation:e})}}),be=Fg(()=>{M&&!1!==x&&Z(!Y)});r.useEffect(()=>{const e=Ig(()=>{te.current&&ie()});let t;const o=Lg(te.current);let n;return o.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(oe.current.children).forEach(e=>{t.observe(e)})),"undefined"!=typeof MutationObserver&&(n=new MutationObserver(o=>{o.forEach(e=>{e.removedNodes.forEach(e=>{t?.unobserve(e)}),e.addedNodes.forEach(e=>{t?.observe(e)})}),e(),be()}),n.observe(oe.current,{childList:!0})),()=>{e.clear(),o.removeEventListener("resize",e),n?.disconnect(),t?.disconnect()}},[ie,be]),r.useEffect(()=>{const e=Array.from(oe.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&M&&!1!==x){const o=e[0],n=e[t-1],r={root:te.current,threshold:.99},i=new IntersectionObserver(e=>{G(!e[0].isIntersecting)},r);i.observe(o);const a=new IntersectionObserver(e=>{X(!e[0].isIntersecting)},r);return a.observe(n),()=>{i.disconnect(),a.disconnect()}}},[M,x,Y,u?.length]),r.useEffect(()=>{_(!0)},[]),r.useEffect(()=>{ie()}),r.useEffect(()=>{ye(Y$!==H)},[ye,H]),r.useImperativeHandle(p,()=>({updateIndicator:ie,updateScrollButtons:be}),[ie,be]);const[ve,xe]=Ay("indicator",{className:Yf(z.indicator,O.className),elementType:K$,externalForwardedProps:ne,ownerState:D,additionalProps:{style:H}}),we=e(ve,{...xe});let Se=0;const Te=r.Children.map(u,e=>{if(!r.isValidElement(e))return null;"production"!==process.env.NODE_ENV&&qd.isFragment(e);const t=void 0===e.props.value?Se:e.props.value;ee.set(t,Se);const o=t===E;return Se+=1,r.cloneElement(e,{fullWidth:"fullWidth"===P,indicator:o&&!W&&we,selected:o,selectionFollowsFocus:w,onChange:y,textColor:k,value:t,...1!==Se||!1!==E||e.props.tabIndex?{}:{tabIndex:0}})}),Oe=(()=>{const t={};t.scrollbarSizeListener=M?e(de,{...fe,onChange:me}):null;const o=M&&("auto"===x&&(U||K)||!0===x);return t.scrollButtonStart=o?e(he,{direction:s?"right":"left",onClick:ce,disabled:!U,...ge}):null,t.scrollButtonEnd=o?e(he,{direction:s?"left":"right",onClick:pe,disabled:!K,...ge}):null,t})(),[Ce,ke]=Ay("root",{ref:n,className:Yf(z.root,f),elementType:q$,externalForwardedProps:{...ne,...R,component:m},ownerState:D}),[Ee,Pe]=Ay("scroller",{ref:te,className:z.scroller,elementType:U$,externalForwardedProps:ne,ownerState:D,additionalProps:{style:{overflow:J.overflow,[$?"margin"+(s?"Left":"Right"):"marginBottom"]:N?void 0:-J.scrollbarWidth}}}),[Ne,Re]=Ay("list",{ref:oe,className:Yf(z.list,z.flexContainer),elementType:G$,externalForwardedProps:ne,ownerState:D,getSlotProps:e=>({...e,onKeyDown:t=>{(e=>{if(e.altKey||e.shiftKey||e.ctrlKey||e.metaKey)return;const t=oe.current,o=eO(Ag(t)),n=o?.getAttribute("role");if("tab"!==n)return;let r="horizontal"===b?"ArrowLeft":"ArrowUp",i="horizontal"===b?"ArrowRight":"ArrowDown";switch("horizontal"===b&&s&&(r="ArrowRight",i="ArrowLeft"),e.key){case r:e.preventDefault(),H$(t,o,_$);break;case i:e.preventDefault(),H$(t,o,W$);break;case"Home":e.preventDefault(),H$(t,null,W$);break;case"End":e.preventDefault(),H$(t,null,_$)}})(t),e.onKeyDown?.(t)}})});return t(Ce,{...ke,children:[Oe.scrollButtonStart,Oe.scrollbarSizeListener,t(Ee,{...Pe,children:[e(Ne,{"aria-label":l,"aria-labelledby":c,"aria-orientation":"vertical"===b?"vertical":null,role:"tablist",...Re,children:Te}),W&&we]}),Oe.scrollButtonEnd]})});function Q$(e){return Qf("MuiTextField",e)}"production"!==process.env.NODE_ENV&&(J$.propTypes={action:sb,allowScrollButtonsMobile:qp.bool,"aria-label":qp.string,"aria-labelledby":qp.string,centered:qp.bool,children:qp.node,classes:qp.object,className:qp.string,component:qp.elementType,indicatorColor:qp.oneOfType([qp.oneOf(["primary","secondary"]),qp.string]),onChange:qp.func,orientation:qp.oneOf(["horizontal","vertical"]),ScrollButtonComponent:qp.elementType,scrollButtons:qp.oneOf(["auto",!1,!0]),selectionFollowsFocus:qp.bool,slotProps:qp.shape({endScrollButtonIcon:qp.oneOfType([qp.func,qp.object]),indicator:qp.oneOfType([qp.func,qp.object]),list:qp.oneOfType([qp.func,qp.object]),root:qp.oneOfType([qp.func,qp.object]),scrollbar:qp.oneOfType([qp.func,qp.object]),scrollButtons:qp.oneOfType([qp.func,qp.object]),scroller:qp.oneOfType([qp.func,qp.object]),startScrollButtonIcon:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({endScrollButtonIcon:qp.elementType,EndScrollButtonIcon:qp.elementType,indicator:qp.elementType,list:qp.elementType,root:qp.elementType,scrollbar:qp.elementType,scrollButtons:qp.elementType,scroller:qp.elementType,startScrollButtonIcon:qp.elementType,StartScrollButtonIcon:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),TabIndicatorProps:qp.object,TabScrollButtonProps:qp.object,textColor:qp.oneOf(["inherit","primary","secondary"]),value:qp.any,variant:qp.oneOf(["fullWidth","scrollable","standard"]),visibleScrollbar:qp.bool}),em("MuiTextField",["root"]);const ej={standard:nk,filled:tC,outlined:YE},tj=Cg(rC,{name:"MuiTextField",slot:"Root"})({}),oj=r.forwardRef(function(o,n){const r=Ng({props:o,name:"MuiTextField"}),{autoComplete:i,autoFocus:a=!1,children:s,className:l,color:c="primary",defaultValue:p,disabled:d=!1,error:u=!1,FormHelperTextProps:f,fullWidth:m=!1,helperText:h,id:g,InputLabelProps:y,inputProps:b,InputProps:v,inputRef:x,label:w,maxRows:S,minRows:T,multiline:O=!1,name:C,onBlur:k,onChange:E,onFocus:P,placeholder:N,required:R=!1,rows:M,select:$=!1,SelectProps:j,slots:I={},slotProps:A={},type:L,value:B,variant:D="outlined",...z}=r,V={...r,autoFocus:a,color:c,disabled:d,error:u,fullWidth:m,multiline:O,required:R,select:$,variant:D},F=(e=>{const{classes:t}=e;return nh({root:["root"]},Q$,t)})(V);process.env.NODE_ENV;const W=Gm(g),_=h&&W?`${W}-helper-text`:void 0,H=w&&W?`${W}-label`:void 0,q=ej[D],U={slots:I,slotProps:{input:v,inputLabel:y,htmlInput:b,formHelperText:f,select:j,...A}},G={},K=U.slotProps.inputLabel;"outlined"===D&&(K&&void 0!==K.shrink&&(G.notched=K.shrink),G.label=w),$&&(j&&j.native||(G.id=void 0),G["aria-describedby"]=void 0);const[X,Y]=Ay("root",{elementType:tj,shouldForwardComponentProp:!0,externalForwardedProps:{...U,...z},ownerState:V,className:Yf(F.root,l),ref:n,additionalProps:{disabled:d,error:u,fullWidth:m,required:R,color:c,variant:D}}),[Z,J]=Ay("input",{elementType:q,externalForwardedProps:U,additionalProps:G,ownerState:V}),[Q,ee]=Ay("inputLabel",{elementType:dk,externalForwardedProps:U,ownerState:V}),[te,oe]=Ay("htmlInput",{elementType:"input",externalForwardedProps:U,ownerState:V}),[ne,re]=Ay("formHelperText",{elementType:yC,externalForwardedProps:U,ownerState:V}),[ie,ae]=Ay("select",{elementType:aN,externalForwardedProps:U,ownerState:V}),se=e(Z,{"aria-describedby":_,autoComplete:i,autoFocus:a,defaultValue:p,fullWidth:m,multiline:O,name:C,rows:M,maxRows:S,minRows:T,type:L,value:B,id:W,inputRef:x,onBlur:k,onChange:E,onFocus:P,placeholder:N,inputProps:oe,slots:{input:I.htmlInput?te:void 0},...J});return t(X,{...Y,children:[null!=w&&""!==w&&e(Q,{htmlFor:W,id:H,...ee,children:w}),$?e(ie,{"aria-describedby":_,id:W,labelId:H,value:B,input:se,...ae,children:s}):se,h&&e(ne,{id:_,...re,children:h})]})});function nj(e){return Qf("MuiToggleButton",e)}"production"!==process.env.NODE_ENV&&(oj.propTypes={autoComplete:qp.string,autoFocus:qp.bool,children:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["primary","secondary","error","info","success","warning"]),qp.string]),defaultValue:qp.any,disabled:qp.bool,error:qp.bool,FormHelperTextProps:qp.object,fullWidth:qp.bool,helperText:qp.node,id:qp.string,InputLabelProps:qp.object,inputProps:qp.object,InputProps:qp.object,inputRef:sb,label:qp.node,margin:qp.oneOf(["dense","none","normal"]),maxRows:qp.oneOfType([qp.number,qp.string]),minRows:qp.oneOfType([qp.number,qp.string]),multiline:qp.bool,name:qp.string,onBlur:qp.func,onChange:qp.func,onFocus:qp.func,placeholder:qp.string,required:qp.bool,rows:qp.oneOfType([qp.number,qp.string]),select:qp.bool,SelectProps:qp.object,size:qp.oneOfType([qp.oneOf(["medium","small"]),qp.string]),slotProps:qp.shape({formHelperText:qp.oneOfType([qp.func,qp.object]),htmlInput:qp.oneOfType([qp.func,qp.object]),input:qp.oneOfType([qp.func,qp.object]),inputLabel:qp.oneOfType([qp.func,qp.object]),select:qp.oneOfType([qp.func,qp.object])}),slots:qp.shape({formHelperText:qp.elementType,htmlInput:qp.elementType,input:qp.elementType,inputLabel:qp.elementType,root:qp.elementType,select:qp.elementType}),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),type:qp.string,value:qp.any,variant:qp.oneOf(["filled","outlined","standard"])});const rj=em("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),ij=r.createContext({});"production"!==process.env.NODE_ENV&&(ij.displayName="ToggleButtonGroupContext");const aj=r.createContext(void 0);function sj(e,t){return void 0!==t&&void 0!==e&&(Array.isArray(t)?t.includes(e):e===t)}"production"!==process.env.NODE_ENV&&(aj.displayName="ToggleButtonGroupButtonContext");const lj=Cg(wb,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`size${Cu(o.size)}`]]}})(Pg(({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,[`&.${rj.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:{[`&.${rj.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(Nb()).map(([t])=>({props:{color:t},style:{[`&.${rj.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)}}]}))),cj=r.forwardRef(function(t,o){const{value:n,...i}=r.useContext(ij),a=r.useContext(aj),s=Ng({props:hm({...i,selected:sj(t.value,n)},t),name:"MuiToggleButton"}),{children:l,className:c,color:p="standard",disabled:d=!1,disableFocusRipple:u=!1,fullWidth:f=!1,onChange:m,onClick:h,selected:g,size:y="medium",value:b,...v}=s,x={...s,color:p,disabled:d,disableFocusRipple:u,fullWidth:f,size:y},w=(e=>{const{classes:t,fullWidth:o,selected:n,disabled:r,size:i,color:a}=e;return nh({root:["root",n&&"selected",r&&"disabled",o&&"fullWidth",`size${Cu(i)}`,a]},nj,t)})(x),S=a||"";return e(lj,{className:Yf(i.className,w.root,c,S),disabled:d,focusRipple:!u,ref:o,onClick:e=>{h&&(h(e,b),e.defaultPrevented)||m&&m(e,b)},onChange:m,value:b,ownerState:x,"aria-pressed":g,...v,children:l})});function pj(e){return Qf("MuiToggleButtonGroup",e)}"production"!==process.env.NODE_ENV&&(cj.propTypes={children:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["standard","primary","secondary","error","info","success","warning"]),qp.string]),disabled:qp.bool,disableFocusRipple:qp.bool,disableRipple:qp.bool,fullWidth:qp.bool,onChange:qp.func,onClick:qp.func,selected:qp.bool,size:qp.oneOfType([qp.oneOf(["small","medium","large"]),qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),value:qp.any.isRequired});const dj=em("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),uj=Cg("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${dj.grouped}`]:t.grouped},{[`& .${dj.grouped}`]:t[`grouped${Cu(o.orientation)}`]},{[`& .${dj.firstButton}`]:t.firstButton},{[`& .${dj.lastButton}`]:t.lastButton},{[`& .${dj.middleButton}`]:t.middleButton},t.root,"vertical"===o.orientation&&t.vertical,o.fullWidth&&t.fullWidth]}})(Pg(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${dj.grouped}`]:{[`&.${dj.selected} + .${dj.grouped}.${dj.selected}`]:{borderTop:0,marginTop:0}},[`& .${dj.firstButton},& .${dj.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${dj.lastButton},& .${dj.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${dj.lastButton}.${rj.disabled},& .${dj.middleButton}.${rj.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${dj.grouped}`]:{[`&.${dj.selected} + .${dj.grouped}.${dj.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${dj.firstButton},& .${dj.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${dj.lastButton},& .${dj.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${dj.lastButton}.${rj.disabled},& .${dj.middleButton}.${rj.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),fj=r.forwardRef(function(t,o){const n=Ng({props:t,name:"MuiToggleButtonGroup"}),{children:i,className:a,color:s="standard",disabled:l=!1,exclusive:c=!1,fullWidth:p=!1,onChange:d,orientation:u="horizontal",size:f="medium",value:m,...h}=n,g={...n,disabled:l,fullWidth:p,orientation:u,size:f},y=(e=>{const{classes:t,orientation:o,fullWidth:n,disabled:r}=e;return nh({root:["root",o,n&&"fullWidth"],grouped:["grouped",`grouped${Cu(o)}`,r&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]},pj,t)})(g),b=r.useCallback((e,t)=>{if(!d)return;const o=m&&m.indexOf(t);let n;m&&o>=0?(n=m.slice(),n.splice(o,1)):n=m?m.concat(t):[t],d(e,n)},[d,m]),v=r.useCallback((e,t)=>{d&&d(e,m===t?null:t)},[d,m]),x=r.useMemo(()=>({className:y.grouped,onChange:c?v:b,value:m,size:f,fullWidth:p,color:s,disabled:l}),[y.grouped,c,v,b,m,f,p,s,l]),w=QS(i),S=w.length,T=e=>{const t=0===e,o=e===S-1;return t&&o?"":t?y.firstButton:o?y.lastButton:y.middleButton};return e(uj,{role:"group",className:Yf(y.root,a),ref:o,ownerState:g,...h,children:e(ij.Provider,{value:x,children:w.map((t,o)=>("production"!==process.env.NODE_ENV&&qd.isFragment(t),e(aj.Provider,{value:T(o),children:t},o)))})})});"production"!==process.env.NODE_ENV&&(fj.propTypes={children:qp.node,classes:qp.object,className:qp.string,color:qp.oneOfType([qp.oneOf(["standard","primary","secondary","error","info","success","warning"]),qp.string]),disabled:qp.bool,exclusive:qp.bool,fullWidth:qp.bool,onChange:qp.func,orientation:qp.oneOf(["horizontal","vertical"]),size:qp.oneOfType([qp.oneOf(["small","medium","large"]),qp.string]),sx:qp.oneOfType([qp.arrayOf(qp.oneOfType([qp.func,qp.object,qp.bool])),qp.func,qp.object]),value:qp.any});var mj=jg(e("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"),hj=jg(e("path",{d:"M7 14H5v5h5v-2H7zm-2-4h2V7h3V5H5zm12 7h-3v2h5v-5h-2zM14 5v2h3v3h2V5z"}),"Fullscreen"),gj=function(){return function(e,t){return t&&K(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.connections=new Map,this.refCounts=new Map,this.reconnectTimeouts=new Map,this.listeners=new Map},[{key:"getStreamState",value:function(e){return this.connections.get(e)}},{key:"on",value:function(e,t){this.listeners.has(e)||this.listeners.set(e,new Set),this.listeners.get(e).add(t)}},{key:"off",value:function(e,t){var o=this.listeners.get(e);o&&o.delete(t)}},{key:"emit",value:function(e,t){var o=this.listeners.get(e);o&&o.forEach(function(e){return e(t)})}},{key:"connect",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Camera",o=this.refCounts.get(e)||0;if(this.refCounts.set(e,o+1),this.connections.has(e)){var n=this.connections.get(e);if("connected"===n.status||"connecting"===n.status)return this.emit("status:".concat(e),n),n}return this.startStream(e,t)}},{key:"disconnect",value:function(e){var t=this,o=this.refCounts.get(e)||0;o<=1?(this.refCounts.delete(e),setTimeout(function(){t.refCounts.has(e)||t.cleanup(e,!0)},5e3)):this.refCounts.set(e,o-1)}},{key:"startStream",value:function(e,t){return o=this,n=void 0,r=void 0,i=Y().m(function o(){var n,r,i,a,s,l,c,p=this;return Y().w(function(o){for(;;)switch(o.p=o.n){case 0:return n=this.connections.get(e),r={stream:(null==n?void 0:n.stream)||null,pc:null,status:"connecting",error:null,retryCount:(null==n?void 0:n.retryCount)||0},this.connections.set(e,r),this.emit("status:".concat(e),r),o.p=1,this.cleanup(e,!1),i=new RTCPeerConnection({iceServers:[{urls:"stun:stun.l.google.com:19302"},{urls:"stun:stun1.l.google.com:19302"},{urls:"stun:stun2.l.google.com:19302"}],iceCandidatePoolSize:10,bundlePolicy:"max-bundle",rtcpMuxPolicy:"require"}),r.pc=i,i.ontrack=function(t){var o;o=t.streams&&t.streams[0]?t.streams[0]:new MediaStream([t.track]),r.stream=o,r.status="connected",r.error=null,p.emit("status:".concat(e),Object.assign({},r))},i.onconnectionstatechange=function(){"failed"===i.connectionState&&p.handleFailure(e,t,"Connection failed")},o.n=2,i.createOffer({offerToReceiveVideo:!0,offerToReceiveAudio:!1});case 2:return a=o.v,o.n=3,i.setLocalDescription(a);case 3:return o.n=4,fetch(e,{method:"POST",headers:{"Content-Type":"application/sdp",Accept:"application/sdp"},body:a.sdp});case 4:if((s=o.v).ok){o.n=5;break}throw new Error("HTTP ".concat(s.status,": ").concat(s.statusText));case 5:return o.n=6,s.text();case 6:return l=o.v,o.n=7,i.setRemoteDescription({type:"answer",sdp:l});case 7:return o.a(2,r);case 8:return o.p=8,c=o.v,this.handleFailure(e,t,c instanceof Error?c.message:"Connection failed"),o.a(2,r)}},o,this,[[1,8]])}),new(r||(r=Promise))(function(e,t){function a(e){try{l(i.next(e))}catch(e){t(e)}}function s(e){try{l(i.throw(e))}catch(e){t(e)}}function l(t){var o;t.done?e(t.value):(o=t.value,o instanceof r?o:new r(function(e){e(o)})).then(a,s)}l((i=i.apply(o,n||[])).next())});var o,n,r,i}},{key:"handleFailure",value:function(e,t,o){var n=this,r=this.connections.get(e);if(r){if(r.status="failed",r.error=o,r.retryCount<3){r.retryCount++;var i=2e3+1e3*r.retryCount,a=setTimeout(function(){n.startStream(e,t)},i);this.reconnectTimeouts.set(e,a)}this.emit("status:".concat(e),Object.assign({},r))}}},{key:"cleanup",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=this.reconnectTimeouts.get(e);o&&(clearTimeout(o),this.reconnectTimeouts.delete(e));var n=this.connections.get(e);(null==n?void 0:n.pc)&&(n.pc.close(),n.pc=null),t&&this.connections.delete(e)}},{key:"retry",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Camera",o=this.connections.get(e);o&&(o.retryCount=0,this.startStream(e,t))}}])}(),yj=new gj,bj=function(o){var n,r=o.url,i=o.cameraName,a=o.onOpenFullscreen,l=s(null),p=J(S(yj.getStreamState(r)||null),2),d=p[0],u=p[1],f=J(S(!1),2),m=f[0],h=f[1];c(function(){if(r){yj.connect(r,i),u(yj.getStreamState(r)||null);var e=function(e){u(e)};return yj.on("status:".concat(r),e),function(){yj.off("status:".concat(r),e),yj.disconnect(r)}}},[r,i]),c(function(){l.current&&(null==d?void 0:d.stream)&&l.current.srcObject!==d.stream&&(l.current.srcObject=d.stream,l.current.play().catch(function(){}))},[null==d?void 0:d.stream]);var g="connected"===(null==d?void 0:d.status),y="connecting"===(null==d?void 0:d.status),b=null==d?void 0:d.error,v=null!==(n=null==d?void 0:d.retryCount)&&void 0!==n?n:0;return t("div",{className:"relative bg-black rounded-lg overflow-hidden h-full w-full",children:[y&&e("div",{className:"absolute inset-0 flex items-center justify-center bg-black/80 z-10",children:t("div",{className:"text-center text-white text-xs",children:[e("div",{children:"Connecting..."}),v>0&&t("div",{className:"mt-1 opacity-80",children:["Retry ",v]})]})}),b&&!g&&e("div",{className:"absolute inset-0 flex items-center justify-center bg-red-900/90 z-10",children:t("div",{className:"text-center p-2 text-xs text-white",children:[e("div",{className:"font-medium",children:"Connection Error"}),e("div",{className:"mt-1 opacity-80",children:b}),e("button",{onClick:function(){r&&yj.retry(r,i)},className:"mt-2 px-2 py-1 bg-red-600 rounded text-xs",children:"Retry"})]})}),e("video",{ref:l,autoPlay:!0,playsInline:!0,muted:!0,className:"w-full h-full object-cover ".concat(g?"block":"hidden")}),g&&e("button",{onClick:m?function(){document.exitFullscreen&&document.exitFullscreen(),h(!1)}:function(){l.current&&(l.current.requestFullscreen&&l.current.requestFullscreen(),h(!0),null==a||a())},className:"absolute top-2 right-2 p-1.5 bg-black/50 text-white rounded",title:m?"Exit Full Screen":"Enter Full Screen",children:m?"⤫":"⛶"})]})},vj=function(o){var n=o.camera,r=o.streamUrl,i=o.onClose,a=o.onFullscreen,s=o.variant,l=void 0===s?"dark":s,c=o.StreamComponent,p=o.streamType,d=void 0===p?"unknown":p,u=me(),f=function(){r&&a&&a(r,n.name)},m=c;return m||"webrtc"!==d||(m=function(t){var o=t.url,n=t.cameraName,r=t.onOpenFullscreen;return e(bj,{url:o,cameraName:n,onOpenFullscreen:r})}),e(rl,{title:n.name,description:"Live Stream",variant:l,actions:t("div",{style:{display:"flex",gap:"4px"},children:[r&&e(Gb,{size:"small",onClick:f,sx:{color:u.text.muted},title:"Open Fullscreen",children:e(hj,{fontSize:"small"})}),i&&e(Gb,{size:"small",onClick:i,sx:{color:u.text.muted},children:e(mj,{fontSize:"small"})})]}),children:e("div",{style:{width:"100%",aspectRatio:"16/9",backgroundColor:"#000",borderRadius:8,overflow:"hidden",position:"relative"},children:r?m?e(m,{url:r,cameraName:n.name,streamType:d,onOpenFullscreen:f}):t("div",{style:{height:"100%",display:"flex",alignItems:"center",justifyContent:"center",color:u.text.muted,padding:"0 12px",textAlign:"center"},children:['No stream renderer configured for type "',d,'". Provide a StreamComponent or use a supported type like "webrtc".']}):e("div",{style:{height:"100%",display:"flex",alignItems:"center",justifyContent:"center",color:u.text.muted},children:"No stream URL configured"})})})},xj={rootBase:{display:"flex",alignItems:"center",gap:"20px",padding:"12px 24px"},rootLight:{backgroundColor:"#323174",borderBottom:"1px solid rgba(255,255,255,0.08)",color:"#ffffff"},rootDark:{background:"#323174",borderBottom:"1px solid rgba(255,255,255,0.08)",color:"#ffffff"},rootGlass:{background:"rgba(50, 49, 116, 0.8)",backdropFilter:"blur(12px)",borderBottom:"1px solid rgba(255,255,255,0.06)",color:"#ffffff"},logo:{cursor:"pointer",display:"flex",alignItems:"center",gap:"16px"},logoImage:{height:"30px",width:"100%",objectFit:"contain"},search:{flex:1,maxWidth:"400px",display:"flex",alignItems:"center",color:"white"},searchInput:{width:"100%",padding:"8px 16px",border:"1px solid #ddd",borderRadius:"4px",fontSize:"14px"},searchIcon:{marginRight:8,color:"#64748b",display:"inline-flex"},selector:{display:"flex",alignItems:"center",gap:"8px"},selectorLabel:{fontSize:"14px",color:"#666",fontWeight:500},select:{padding:"8px 12px",border:"1px solid rgba(255,255,255,0.3)",borderRadius:"4px",fontSize:"14px",backgroundColor:"transparent",color:"white",cursor:"pointer"},option:{color:"#333",backgroundColor:"white"},actions:{display:"flex",alignItems:"center",gap:"12px",marginLeft:"auto"},title:{fontSize:"20px",fontWeight:600,margin:0,color:"inherit"},hDivider:{width:"100%",height:1,background:"rgba(255,255,255,0.08)"},vDivider:{width:1,height:"100%",background:"rgba(255,255,255,0.12)"},iconButton:{display:"inline-flex",alignItems:"center",justifyContent:"center",gap:6,padding:"8px 12px",borderRadius:10,border:"1px solid rgba(255,255,255,0.12)",background:"rgba(255,255,255,0.04)",color:"#e2e8f0",cursor:"pointer"},iconButtonActive:{borderColor:"rgba(37,99,235,0.8)",background:"linear-gradient(135deg,#2563eb,#7c3aed)",color:"#fff"},badge:{display:"inline-flex",alignItems:"center",padding:"2px 8px",borderRadius:999,background:"rgba(37,99,235,0.15)",color:"#cbd5e1",fontSize:12,fontWeight:600},eventsBar:{display:"flex",gap:8,overflowX:"auto",padding:"8px 0"},eventsChip:{border:"1px solid rgba(255,255,255,0.12)",background:"rgba(255,255,255,0.04)",color:"#e2e8f0",padding:"8px 12px",borderRadius:12,cursor:"pointer",whiteSpace:"nowrap"},eventsChipActive:{background:"linear-gradient(135deg,#16a34a,#22c55e)",color:"#0b1224",borderColor:"transparent",fontWeight:700}},wj=function(o){var n=o.value,r=o.onChange,i=o.options,a=o.placeholder,s=void 0===a?"Select":a,l=o.label,c=o.disabled,p=void 0!==c&&c,d=o.selectorWidth,u=o.labelWidth,f=o.dense,m=void 0!==f&&f,h=me(),g=Object.assign(Object.assign({},xj.selector),m?{gap:"4px"}:{}),y=Object.assign(Object.assign(Object.assign(Object.assign({},xj.select),m?{padding:"6px 8px",fontSize:"13px"}:{}),d?{width:d}:{}),{border:"1px solid ".concat(h.border.subtle),backgroundColor:h.surface.control,color:h.text.primary});return t("div",{className:"topbar-select",style:g,children:[l&&e("span",{style:Object.assign(Object.assign(Object.assign({},xj.selectorLabel),{color:h.text.muted}),u?{width:u,display:"inline-block"}:{}),children:l}),t("select",{value:n,onChange:function(e){return r(e.target.value)},disabled:p,style:Object.assign({},y),children:[s&&e("option",{value:"",disabled:!0,children:s}),i.map(function(t){return e("option",{value:t.value,children:t.label},t.value)})]})]})},Sj=function(t){var o=t.levels,n=cl(t,["levels"]),r=f(function(){return o.map(function(e){return{value:e,label:e}})},[o]);return e(wj,Object.assign({options:r},n))},Tj=function(t){var o=t.locations,n=cl(t,["locations"]),r=f(function(){return o.map(function(e){return{value:e.id,label:e.name}})},[o]);return e(wj,Object.assign({options:r},n))},Oj=function(t){var o=t.children,n=t.active,r=void 0!==n&&n,i=t.onClick,a=t.title,s=me();return e("button",{type:"button",className:"topbar-icon-button",title:a,onClick:i,style:Object.assign(Object.assign(Object.assign({},xj.iconButton),{border:"1px solid ".concat(s.border.subtle),background:r?"linear-gradient(135deg, ".concat(s.accent.primary,", ").concat(s.accent.secondary,")"):s.surface.control,color:r?s.text.onAccent:s.text.primary}),r?{borderColor:s.accent.primary+"cc"}:{}),onMouseEnter:function(e){r||(e.currentTarget.style.backgroundColor=s.state.hover)},onMouseLeave:function(e){r||(e.currentTarget.style.backgroundColor=s.surface.control)},children:o})},Cj=function(t){var o=t.value,n=t.onChange,r=t.options,i=t.size,a=void 0===i?"md":i;return e("div",{className:"topbar-toggle-group",style:{display:"inline-flex",border:"1px solid #2d2d2d",borderRadius:999,overflow:"hidden",background:"rgba(255,255,255,0.04)"},children:r.map(function(t){var r=t.value===o;return e("button",{type:"button",onClick:function(){return n(t.value)},style:{border:"none",background:r?"linear-gradient(135deg,#2563eb,#7c3aed)":"transparent",color:r?"#fff":"#cbd5e1",padding:"sm"===a?"6px 10px":"8px 14px",fontSize:"sm"===a?12:14,fontWeight:600,cursor:"pointer"},children:t.label},t.value)})})},kj=function(t){var o=t.count,n=t.variant,r=void 0===n?"default":n,i=me();return e("span",{style:{backgroundColor:"danger"===r?i.semantic.critical:i.accent.primary,color:i.text.onAccent,borderRadius:"12px",padding:"2px 8px",fontSize:"12px",fontWeight:600,minWidth:"20px",textAlign:"center"},children:o})},Ej={Root:function(t){var o=t.children,n=t.className,r=void 0===n?"":n,i=t.variant,a=void 0===i?"light":i,s=t.height,l=void 0===s?72:s,c=t.sticky,p=void 0===c||c,d=t.zIndex,u=void 0===d?1e3:d,f=t.style,m=me(),h="glass"===a,g=Object.assign(Object.assign(Object.assign({},xj.rootBase),{background:h?"".concat(m.surface.topbar,"cc"):m.surface.topbar,color:m.text.primary,borderBottom:"1px solid ".concat(m.border.subtle),backdropFilter:h?"blur(12px)":void 0,height:l,position:p?"sticky":"relative",zIndex:u}),f);return e("div",{className:"topbar ".concat(r),style:g,children:o})},Section:function(t){var o=t.children,n=t.align,r=void 0===n?"left":n,i=t.gap,a=void 0===i?12:i,s=t.wrap,l=void 0!==s&&s,c=t.grow,p=void 0!==c&&c,d=t.className,u="right"===r?"flex-end":"center"===r?"center":"flex-start";return e("div",{className:"topbar-section ".concat(void 0===d?"":d),style:{display:"flex",alignItems:"center",justifyContent:u,gap:a,flexWrap:l?"wrap":"nowrap",flexGrow:p?1:0},children:o})},Divider:function(t){var o=t.orientation;return e("div","vertical"===(void 0===o?"horizontal":o)?{style:xj.vDivider,className:"topbar-divider"}:{style:xj.hDivider,className:"topbar-divider"})},Logo:function(o){var n=o.src,r=void 0===n?"/logos/merdeka-118-logo.png":n,i=o.alt,a=void 0===i?"App Logo":i,s=o.onClick;return t("div",{className:"topbar-logo",style:xj.logo,onClick:s,children:[e("img",{src:"/logos/merdeka.png",alt:"Merdeka 118",style:{height:30,objectFit:"contain"}}),e("div",{style:{width:1,height:24,backgroundColor:"rgba(255,255,255,0.2)"}}),e("img",{src:r,alt:a,style:xj.logoImage})]})},LevelSelector:function(t){return e(Sj,Object.assign({},t))},LocationSelector:function(t){return e(Tj,Object.assign({},t))},Actions:function(t){var o=t.children;return e("div",{className:"topbar-actions",style:{display:"flex",alignItems:"center",gap:"12px",marginLeft:"auto"},children:o})},Title:function(t){var o=t.children;return e("h1",{className:"topbar-title",style:{fontSize:"20px",fontWeight:600,margin:0,color:"inherit"},children:o})},IconButton:Oj,Badge:function(t){var o=t.label;return e("span",{className:"topbar-badge",style:xj.badge,children:o})},SelectBase:wj,ToggleGroup:Cj,Spacer:function(){return e("div",{style:{flex:1,minWidth:8}})},LocationSelect:Tj,LevelSelect:Sj,ListTypeToggle:function(t){var o=t.value,n=t.onChange;return e(Cj,{value:o,onChange:n,options:[{label:"Events",value:"events"},{label:"Booths",value:"booths"}]})},EventsBar:function(o){var n=o.eventCount,r=void 0===n?0:n,i=o.onClick,a=o.className,s=void 0===a?"":a,l=me();return t("div",{className:s,onClick:i,style:{display:"flex",alignItems:"center",gap:8,cursor:i?"pointer":"default",padding:"6px 12px",borderRadius:6,backgroundColor:l.surface.control,border:"1px solid ".concat(l.border.subtle)},children:[e("span",{style:{fontSize:14,color:l.text.primary},children:"Events"}),r>0&&e(kj,{count:r,variant:r>10?"danger":"default"})]})},BackButton:function(e){var o=e.label,n=void 0===o?"Back":o,r=e.onClick;return t(Oj,{onClick:r,title:n,children:["← ",n]})},SidebarToggleButton:function(t){var o=t.active,n=t.onClick;return e(Oj,{active:o,onClick:n,title:"Toggle sidebar",children:"☰"})},ThemeToggleButton:function(t){var o=t.onClick;return e(Oj,{onClick:o,title:"Toggle theme",children:"🌓"})},TimelineToggleButton:function(t){var o=t.active,n=t.onClick;return e(Oj,{active:o,onClick:n,title:"Timeline",children:"🕒"})}},Pj={container:{position:"fixed",right:0,top:0,bottom:0,width:"400px",display:"flex",flexDirection:"column",zIndex:1e3},header:{padding:"20px",display:"flex",justifyContent:"space-between",alignItems:"center"},body:{flex:1,padding:"20px",overflowY:"auto"},footer:{padding:"20px"},closeButton:{background:"none",border:"none",fontSize:"24px",cursor:"pointer",padding:"0 10px"}},Nj={Root:function(t){var o=t.children,n=t.isOpen;if(t.onClose,!n)return null;var r=me();return e("div",{className:"panel-container",style:Object.assign(Object.assign({},Pj.container),{backgroundColor:r.surface.panel,color:r.text.primary,boxShadow:"-2px 0 8px rgba(0,0,0,0.12)"}),children:o})},Header:function(o){var n=o.title,r=o.onClose,i=me();return t("div",{className:"panel-header",style:Object.assign(Object.assign({},Pj.header),{borderBottom:"1px solid ".concat(i.border.subtle),color:i.text.primary}),children:[e("h2",{style:{margin:0},children:n}),r&&e("button",{onClick:r,style:Object.assign(Object.assign({},Pj.closeButton),{color:i.text.primary}),children:"×"})]})},Body:function(t){var o=t.children;return e("div",{className:"panel-body",style:Pj.body,children:o})},Footer:function(t){var o=t.children,n=me();return e("div",{className:"panel-footer",style:Object.assign(Object.assign({},Pj.footer),{borderTop:"1px solid ".concat(n.border.subtle),color:n.text.primary}),children:o})}},Rj={root:function(e){return{backgroundColor:e.surface.card,borderRadius:"8px",overflow:"hidden",transition:"all 0.2s",color:e.text.primary}},header:function(e){return{padding:"16px",borderBottom:"1px solid ".concat(e.border.subtle),display:"flex",alignItems:"center",gap:"12px"}},headerImage:{width:"48px",height:"48px",borderRadius:"4px",objectFit:"cover"},headerContent:{flex:1},title:function(e){return{margin:0,fontSize:"16px",fontWeight:600,color:e.text.primary}},subtitle:function(e){return{margin:"4px 0 0 0",fontSize:"14px",color:e.text.muted}},headerActions:{display:"flex",gap:"8px"},body:{padding:"16px"},footer:function(e){return{padding:"12px 16px",borderTop:"1px solid ".concat(e.border.subtle),display:"flex",gap:"8px"}},image:{width:"100%",overflow:"hidden"},imageImg:{width:"100%",height:"100%",objectFit:"cover"}},Mj={Root:function(t){var o=t.children,n=t.onClick,r=t.variant,i=void 0===r?"default":r,a=t.className,s=void 0===a?"":a,l=me(),c="outlined"===i?{border:"2px solid ".concat(l.accent.primary)}:"elevated"===i?{boxShadow:"0 2px 8px rgba(0, 0, 0, 0.15)"}:{border:"1px solid ".concat(l.border.subtle)};return e("div",{className:"card card-".concat(i," ").concat(s),style:Object.assign(Object.assign(Object.assign({},Rj.root(l)),c),{cursor:n?"pointer":"default"}),onClick:n,children:o})},Header:function(o){var n=o.title,r=o.subtitle,i=o.actions,a=o.image,s=me();return t("div",{className:"card-header",style:Rj.header(s),children:[a&&e("img",{src:a,alt:n,style:Rj.headerImage}),t("div",{style:Rj.headerContent,children:[e("h3",{style:Rj.title(s),children:n}),r&&e("p",{style:Rj.subtitle(s),children:r})]}),i&&e("div",{style:Rj.headerActions,children:i})]})},Body:function(t){var o=t.children,n=me();return e("div",{className:"card-body",style:Rj.body,children:e("div",{style:{color:n.text.primary},children:o})})},Footer:function(t){var o=t.children,n=t.align,r=void 0===n?"left":n,i=me();return e("div",{className:"card-footer",style:Object.assign(Object.assign({},Rj.footer(i)),{justifyContent:"left"===r?"flex-start":"center"===r?"center":"flex-end"}),children:o})},Image:function(t){var o=t.src,n=t.alt,r=t.height,i=void 0===r?"200px":r;return e("div",{className:"card-image",style:Object.assign(Object.assign({},Rj.image),{height:i}),children:e("img",{src:o,alt:n,style:Rj.imageImg})})}},$j={backgroundColor:"#323174",borderBottom:"1px solid rgba(255,255,255,0.08)",color:"#ffffff"},jj={background:"#323174",borderBottom:"1px solid rgba(255,255,255,0.1)",color:"#FFFFFF"},Ij={background:"rgba(50, 49, 116, 0.8)",backdropFilter:"blur(12px)",borderBottom:"1px solid rgba(255,255,255,0.06)",color:"#ffffff"},Aj={Root:function(t){var o=t.children,n=t.className,r=void 0===n?"":n,a=t.variant,s=void 0===a?"light":a,l=J(S(""),2),c=l[0];l[1];var p=me(),d=function(e,t){var o=parseInt(e.slice(1,3),16),n=parseInt(e.slice(3,5),16),r=parseInt(e.slice(5,7),16);return"rgba(".concat(o,", ").concat(n,", ").concat(r,", ").concat(t,")")},u=function(){if("glass"===s)return Object.assign(Object.assign({},Ij),{background:d(p.surface.topbar,.8),backgroundColor:d(p.surface.topbar,.8)});var e="dark"===s?Object.assign({},jj):Object.assign({},$j);return Object.assign(Object.assign({},e),{backgroundColor:p.surface.topbar,background:p.surface.topbar})}();return e("nav",{style:u,className:"fixed bottom-0 left-0 w-full h-[64px] flex justify-around rounded-t-xl items-center shadow-md z-[40] ".concat(r),children:i.Children.map(o,function(e){return i.isValidElement(e)&&e.props&&"id"in e.props&&"function"==typeof e.type?i.cloneElement(e,{activeTab:c}):e})})},Item:function(o){var n=o.id,r=o.label,i=o.icon,a=o.onClick,s=J(S(""),2);s[0];var l=s[1],c=J(S(!1),2),p=c[0],d=c[1],u=me();return t("button",{onClick:function(){l(n),null==a||a()},onMouseDown:function(){d(!0),setTimeout(function(){return d(!1)},300)},className:"flex flex-col items-center justify-center text-xs transition-all duration-200",style:{color:u.accent.secondary},children:[e("div",{className:"text-2xl transition-transform ".concat(p?"scale-110":"scale-100"),style:{color:u.accent.secondary},children:i}),e("span",{className:"mt-1",style:{color:u.accent.secondary},children:r})]})}},Lj={root:{position:"relative",display:"inline-block"},trigger:{padding:"8px 16px",border:"1px solid #ddd",borderRadius:"4px",backgroundColor:"white",cursor:"pointer",display:"flex",alignItems:"center",gap:"8px",fontSize:"14px",minWidth:"150px",justifyContent:"space-between"},triggerDisabled:{opacity:.5,cursor:"not-allowed"},arrow:{fontSize:"10px",color:"#666"},menu:{position:"absolute",top:"calc(100% + 4px)",left:0,right:0,backgroundColor:"white",border:"1px solid #ddd",borderRadius:"4px",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.15)",zIndex:1e3,maxHeight:"300px",overflowY:"auto"},item:{padding:"10px 16px",cursor:"pointer",fontSize:"14px",transition:"background-color 0.15s"},itemDisabled:{opacity:.5,cursor:"not-allowed"},itemSelected:{backgroundColor:"#e3f2fd",color:"#1a73e8",fontWeight:500},group:{borderBottom:"1px solid #f0f0f0"},groupLabel:{padding:"8px 16px",fontSize:"12px",fontWeight:600,color:"#666",textTransform:"uppercase",backgroundColor:"#f8f8f8"}},Bj={Root:function(t){var o=t.value,n=t.onChange,r=t.children,a=t.disabled,s=t.style,l=t.className,c=void 0===l?"":l,p=J(S(!1),2),d=p[0],u=p[1];return e("div",{className:"dropdown ".concat(c),style:Object.assign(Object.assign({},Lj.root),s),children:i.Children.map(r,function(e){return i.isValidElement(e)?i.cloneElement(e,{isOpen:d,setIsOpen:u,value:o,onChange:n,disabled:a}):e})})},Trigger:function(o){var n=o.children,r=o.isOpen,i=o.setIsOpen,a=o.disabled,s=o.style,l=o.className;return t("button",{className:"dropdown-trigger ".concat(void 0===l?"":l),style:Object.assign(Object.assign(Object.assign({},Lj.trigger),a?Lj.triggerDisabled:{}),s),onClick:function(){return!a&&(null==i?void 0:i(!r))},disabled:a,children:[n,e("span",{style:Lj.arrow,children:r?"▲":"▼"})]})},Menu:function(t){var o=t.children,n=t.isOpen,r=t.setIsOpen,a=t.value,s=t.onChange,l=t.style,c=t.className;return n?e("div",{className:"dropdown-menu ".concat(void 0===c?"":c),style:Object.assign(Object.assign({},Lj.menu),l),children:i.Children.map(o,function(e){return i.isValidElement(e)?i.cloneElement(e,{isSelected:e.props.value===a,onClick:function(){null==s||s(e.props.value),null==r||r(!1)}}):e})}):null},Item:function(t){var o=t.children,n=t.disabled,r=t.isSelected,i=t.onClick,a=t.style,s=t.className,l=void 0===s?"":s;return e("div",{className:"dropdown-item ".concat(r?"selected":""," ").concat(l),style:Object.assign(Object.assign(Object.assign(Object.assign({},Lj.item),n?Lj.itemDisabled:{}),r?Lj.itemSelected:{}),a),onClick:function(){return!n&&(null==i?void 0:i())},children:o})},Group:function(o){var n=o.label,r=o.children,i=o.style,a=o.className;return t("div",{className:"dropdown-group ".concat(void 0===a?"":a),style:Object.assign(Object.assign({},Lj.group),i),children:[e("div",{style:Lj.groupLabel,children:n}),r]})}},Dj={backdrop:{position:"fixed",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",zIndex:2e3},content:{borderRadius:"8px",boxShadow:"0 4px 20px rgba(0, 0, 0, 0.15)",display:"flex",flexDirection:"column",maxHeight:"90vh"},small:{width:"400px"},medium:{width:"600px"},large:{width:"800px"},header:{padding:"20px 24px",display:"flex",justifyContent:"space-between",alignItems:"center"},title:{margin:0,fontSize:"20px",fontWeight:600},headerActions:{display:"flex",alignItems:"center",gap:"12px"},closeButton:{background:"none",border:"none",fontSize:"28px",cursor:"pointer",padding:"0 8px",lineHeight:1,transition:"color 0.2s ease"},body:{padding:"24px",overflowY:"auto",flex:1},footer:{padding:"16px 24px",display:"flex",gap:"12px"}},zj={Root:function(t){var o=t.isOpen,n=t.onClose,r=t.children,i=t.size,a=void 0===i?"medium":i,s=me();return o?e("div",{className:"modal-backdrop",style:Object.assign(Object.assign({},Dj.backdrop),{backgroundColor:s.surface.backdrop}),onClick:n,children:e("div",{className:"modal-content modal-".concat(a),style:Object.assign(Object.assign(Object.assign({},Dj.content),Dj[a]),{backgroundColor:s.surface.modal}),onClick:function(e){return e.stopPropagation()},children:r})}):null},Header:function(o){var n=o.title,r=o.onClose,i=o.actions,a=me();return t("div",{className:"modal-header",style:Object.assign(Object.assign({},Dj.header),{borderBottom:"1px solid ".concat(a.border.subtle)}),children:[e("h2",{style:Object.assign(Object.assign({},Dj.title),{color:a.text.primary}),children:n}),t("div",{style:Dj.headerActions,children:[i,r&&e("button",{onClick:r,className:"modal-close",style:Object.assign(Object.assign({},Dj.closeButton),{color:a.text.muted}),onMouseEnter:function(e){e.currentTarget.style.color=a.text.primary},onMouseLeave:function(e){e.currentTarget.style.color=a.text.muted},children:"×"})]})]})},Body:function(t){var o=t.children;return e("div",{className:"modal-body",style:Dj.body,children:o})},Footer:function(t){var o=t.children,n=t.align,r=void 0===n?"right":n,i=me();return e("div",{className:"modal-footer",style:Object.assign(Object.assign({},Dj.footer),{borderTop:"1px solid ".concat(i.border.subtle),justifyContent:"left"===r?"flex-start":"center"===r?"center":"flex-end"}),children:o})}},Vj=function(o){var n=o.name,r=o.value,i=o.label,a=o.checked,s=o.onChange,l=o.textClassName,c=void 0===l?"":l,p=o.circleClassName,d=void 0===p?"":p;return t("label",{className:"flex items-center cursor-pointer select-none",children:[e("input",{type:"radio",name:n,value:r,checked:a,onChange:function(e){return s(e.target.value)},className:"hidden peer"}),e("div",{className:"\n w-6 h-6 rounded-full flex items-center justify-center transition-all duration-200\n ".concat(d,"\n "),children:e("div",{className:"\n w-3 h-3 rounded-full bg-black transition-transform duration-200\n scale-0 peer-checked:scale-100\n "})}),e("span",{className:"ml-3 text-lg ".concat(c),children:i})]})},Fj=function(o){var n,r,i,a=o.modeOverride,s=o.position,l=fe(function(e){return e.mode}),p=fe(function(e){return e.customLightThemeOverride}),d=fe(function(e){return e.customDarkThemeOverride}),u=null!==(n=null!=a?a:l)&&void 0!==n?n:"dark",m=f(function(){return le(u,"light"===u?p:d)},[u,p,d]),h=J(S(!1),2),g=h[0],y=h[1],b=J(S(m.surface),2),v=b[0],x=b[1],w=J(S(m.text),2),T=w[0],O=w[1],C=J(S(m.accent),2),k=C[0],E=C[1],P=J(S(m.semantic),2),N=P[0],R=P[1],M=J(S(m.border),2),$=M[0],j=M[1],I=J(S(m.chart),2),A=I[0],L=I[1],B=J(S(m.state),2),D=B[0],z=B[1];c(function(){x(m.surface),O(m.text),E(m.accent),R(m.semantic),j(m.border),L(m.chart),z(m.state)},[m]);var V=function(e){ce(u,e)},F={position:"fixed",bottom:null!==(r=null==s?void 0:s.bottom)&&void 0!==r?r:24,left:null==s?void 0:s.left,right:null!==(i=null==s?void 0:s.right)&&void 0!==i?i:null==(null==s?void 0:s.left)?24:void 0,zIndex:2100};return t("div",{style:F,children:[e(pl,{variant:"secondary",size:"small",onClick:function(){return y(function(e){return!e})},children:g?"Hide SDK Theme":"Edit SDK Theme"}),g&&t("div",{style:{marginTop:8,padding:12,borderRadius:8,backgroundColor:m.surface.panel,color:m.text.primary,minWidth:260,maxWidth:320,boxShadow:"0 4px 10px rgba(0,0,0,0.35)",fontSize:12},children:[t("div",{style:{marginBottom:8,fontWeight:600,fontSize:13},children:["SDK Theme (mode: ",u,")"]}),t(Wj,{title:"Surface",children:[_j("topbar",v.topbar,function(e){x(function(t){return Object.assign(Object.assign({},t),{topbar:e})}),V({surface:{topbar:e}})}),_j("panel",v.panel,function(e){x(function(t){return Object.assign(Object.assign({},t),{panel:e})}),V({surface:{panel:e}})}),_j("card",v.card,function(e){x(function(t){return Object.assign(Object.assign({},t),{card:e})}),V({surface:{card:e}})}),_j("modal",v.modal,function(e){x(function(t){return Object.assign(Object.assign({},t),{modal:e})}),V({surface:{modal:e}})}),_j("control",v.control,function(e){x(function(t){return Object.assign(Object.assign({},t),{control:e})}),V({surface:{control:e}})}),_j("neutral",v.neutral,function(e){x(function(t){return Object.assign(Object.assign({},t),{neutral:e})}),V({surface:{neutral:e}})}),_j("backdrop",v.backdrop,function(e){x(function(t){return Object.assign(Object.assign({},t),{backdrop:e})}),V({surface:{backdrop:e}})}),_j("hover",v.hover,function(e){x(function(t){return Object.assign(Object.assign({},t),{hover:e})}),V({surface:{hover:e}})})]}),t(Wj,{title:"Text",children:[_j("primary",T.primary,function(e){O(function(t){return Object.assign(Object.assign({},t),{primary:e})}),V({text:{primary:e}})}),_j("muted",T.muted,function(e){O(function(t){return Object.assign(Object.assign({},t),{muted:e})}),V({text:{muted:e}})}),_j("onAccent",T.onAccent,function(e){O(function(t){return Object.assign(Object.assign({},t),{onAccent:e})}),V({text:{onAccent:e}})}),_j("inverted",T.inverted,function(e){O(function(t){return Object.assign(Object.assign({},t),{inverted:e})}),V({text:{inverted:e}})})]}),t(Wj,{title:"Accent",children:[_j("primary",k.primary,function(e){E(function(t){return Object.assign(Object.assign({},t),{primary:e})}),V({accent:{primary:e}})}),_j("secondary",k.secondary,function(e){E(function(t){return Object.assign(Object.assign({},t),{secondary:e})}),V({accent:{secondary:e}})})]}),t(Wj,{title:"Semantic",children:[_j("success",N.success,function(e){R(function(t){return Object.assign(Object.assign({},t),{success:e})}),V({semantic:{success:e}})}),_j("warning",N.warning,function(e){R(function(t){return Object.assign(Object.assign({},t),{warning:e})}),V({semantic:{warning:e}})}),_j("critical",N.critical,function(e){R(function(t){return Object.assign(Object.assign({},t),{critical:e})}),V({semantic:{critical:e}})}),_j("info",N.info,function(e){R(function(t){return Object.assign(Object.assign({},t),{info:e})}),V({semantic:{info:e}})})]}),t(Wj,{title:"Border",children:[_j("subtle",$.subtle,function(e){j(function(t){return Object.assign(Object.assign({},t),{subtle:e})}),V({border:{subtle:e}})}),_j("strong",$.strong,function(e){j(function(t){return Object.assign(Object.assign({},t),{strong:e})}),V({border:{strong:e}})})]}),t(Wj,{title:"Chart",children:[_j("grid",A.grid,function(e){L(function(t){return Object.assign(Object.assign({},t),{grid:e})}),V({chart:{grid:e}})}),_j("text",A.text,function(e){L(function(t){return Object.assign(Object.assign({},t),{text:e})}),V({chart:{text:e}})})]}),t(Wj,{title:"State",children:[_j("hover",D.hover,function(e){z(function(t){return Object.assign(Object.assign({},t),{hover:e})}),V({state:{hover:e}})}),_j("active",D.active,function(e){z(function(t){return Object.assign(Object.assign({},t),{active:e})}),V({state:{active:e}})}),_j("focus",D.focus,function(e){z(function(t){return Object.assign(Object.assign({},t),{focus:e})}),V({state:{focus:e}})})]}),e("div",{style:{marginTop:8,display:"flex",justifyContent:"flex-end"},children:e(pl,{variant:"outline",size:"small",onClick:function(){de(u)},children:"Reset SDK Theme"})})]})]})},Wj=function(o){var n=o.title,r=o.children;return t("div",{style:{marginBottom:8},children:[e("div",{style:{marginBottom:4,fontWeight:500},children:n}),r]})},_j=function(o,n,r){return t("label",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,marginBottom:4},children:[e("span",{children:o}),e("input",{type:"color",value:n,onChange:function(e){return r(e.target.value)}})]})};export{ll as AIAnalysisPanel,vl as AlertCameraChart,wl as AlertSeverityChart,xl as AlertTimelineChart,bl as AlertTriggerChart,sl as AlertsPanel,Aj as BottomBar,pl as Button,vj as CameraStreamWidget,Mj as Card,ml as Chart,dl as ChatbotPanel,ol as DashboardBottomRegion,U as DashboardMain,nl as DashboardMobileDrawer,q as DashboardShell,tl as DashboardSidePanel,Bj as Dropdown,zj as Modal,Nj as Panel,Vj as RadioButton,Tl as RecentActivityFeed,el as SidePanelUI,Fj as ThemeEditor,Ej as TopBar,Sl as TopCamerasList,rl as WidgetContainer,ue as getBaseTheme,le as getTheme,de as resetTheme,ce as setCustomTheme,pe as setCustomThemes,me as useAppTheme,fe as useThemeStore};