@qwickapps/server 1.1.9 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/README.md +318 -0
  2. package/dist/core/control-panel.d.ts +7 -2
  3. package/dist/core/control-panel.d.ts.map +1 -1
  4. package/dist/core/control-panel.js +99 -60
  5. package/dist/core/control-panel.js.map +1 -1
  6. package/dist/core/gateway.d.ts +159 -79
  7. package/dist/core/gateway.d.ts.map +1 -1
  8. package/dist/core/gateway.js +683 -315
  9. package/dist/core/gateway.js.map +1 -1
  10. package/dist/core/index.d.ts +3 -1
  11. package/dist/core/index.d.ts.map +1 -1
  12. package/dist/core/index.js +2 -0
  13. package/dist/core/index.js.map +1 -1
  14. package/dist/core/plugin-registry.d.ts +271 -0
  15. package/dist/core/plugin-registry.d.ts.map +1 -0
  16. package/dist/core/plugin-registry.js +326 -0
  17. package/dist/core/plugin-registry.js.map +1 -0
  18. package/dist/core/types.d.ts +16 -33
  19. package/dist/core/types.d.ts.map +1 -1
  20. package/dist/index.d.ts +8 -5
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/index.js +15 -7
  23. package/dist/index.js.map +1 -1
  24. package/dist/plugins/auth/adapters/auth0-adapter.d.ts +14 -0
  25. package/dist/plugins/auth/adapters/auth0-adapter.d.ts.map +1 -0
  26. package/dist/plugins/auth/adapters/auth0-adapter.js +179 -0
  27. package/dist/plugins/auth/adapters/auth0-adapter.js.map +1 -0
  28. package/dist/plugins/auth/adapters/basic-adapter.d.ts +13 -0
  29. package/dist/plugins/auth/adapters/basic-adapter.d.ts.map +1 -0
  30. package/dist/plugins/auth/adapters/basic-adapter.js +51 -0
  31. package/dist/plugins/auth/adapters/basic-adapter.js.map +1 -0
  32. package/dist/plugins/auth/adapters/index.d.ts +9 -0
  33. package/dist/plugins/auth/adapters/index.d.ts.map +1 -0
  34. package/dist/plugins/auth/adapters/index.js +9 -0
  35. package/dist/plugins/auth/adapters/index.js.map +1 -0
  36. package/dist/plugins/auth/adapters/supabase-adapter.d.ts +13 -0
  37. package/dist/plugins/auth/adapters/supabase-adapter.d.ts.map +1 -0
  38. package/dist/plugins/auth/adapters/supabase-adapter.js +109 -0
  39. package/dist/plugins/auth/adapters/supabase-adapter.js.map +1 -0
  40. package/dist/plugins/auth/auth-plugin.d.ts +40 -0
  41. package/dist/plugins/auth/auth-plugin.d.ts.map +1 -0
  42. package/dist/plugins/auth/auth-plugin.js +255 -0
  43. package/dist/plugins/auth/auth-plugin.js.map +1 -0
  44. package/dist/plugins/auth/auth-plugin.test.d.ts +9 -0
  45. package/dist/plugins/auth/auth-plugin.test.d.ts.map +1 -0
  46. package/dist/plugins/auth/auth-plugin.test.js +147 -0
  47. package/dist/plugins/auth/auth-plugin.test.js.map +1 -0
  48. package/dist/plugins/auth/index.d.ts +12 -0
  49. package/dist/plugins/auth/index.d.ts.map +1 -0
  50. package/dist/plugins/auth/index.js +13 -0
  51. package/dist/plugins/auth/index.js.map +1 -0
  52. package/dist/plugins/auth/types.d.ts +148 -0
  53. package/dist/plugins/auth/types.d.ts.map +1 -0
  54. package/dist/plugins/auth/types.js +14 -0
  55. package/dist/plugins/auth/types.js.map +1 -0
  56. package/dist/plugins/bans/bans-plugin.d.ts +59 -0
  57. package/dist/plugins/bans/bans-plugin.d.ts.map +1 -0
  58. package/dist/plugins/bans/bans-plugin.js +428 -0
  59. package/dist/plugins/bans/bans-plugin.js.map +1 -0
  60. package/dist/plugins/bans/index.d.ts +9 -0
  61. package/dist/plugins/bans/index.d.ts.map +1 -0
  62. package/dist/plugins/bans/index.js +10 -0
  63. package/dist/plugins/bans/index.js.map +1 -0
  64. package/dist/plugins/bans/stores/index.d.ts +7 -0
  65. package/dist/plugins/bans/stores/index.d.ts.map +1 -0
  66. package/dist/plugins/bans/stores/index.js +7 -0
  67. package/dist/plugins/bans/stores/index.js.map +1 -0
  68. package/dist/plugins/bans/stores/postgres-store.d.ts +29 -0
  69. package/dist/plugins/bans/stores/postgres-store.d.ts.map +1 -0
  70. package/dist/plugins/bans/stores/postgres-store.js +132 -0
  71. package/dist/plugins/bans/stores/postgres-store.js.map +1 -0
  72. package/dist/plugins/bans/types.d.ts +128 -0
  73. package/dist/plugins/bans/types.d.ts.map +1 -0
  74. package/dist/plugins/bans/types.js +11 -0
  75. package/dist/plugins/bans/types.js.map +1 -0
  76. package/dist/plugins/cache-plugin.d.ts +14 -3
  77. package/dist/plugins/cache-plugin.d.ts.map +1 -1
  78. package/dist/plugins/cache-plugin.js +27 -7
  79. package/dist/plugins/cache-plugin.js.map +1 -1
  80. package/dist/plugins/cache-plugin.test.js +96 -32
  81. package/dist/plugins/cache-plugin.test.js.map +1 -1
  82. package/dist/plugins/config-plugin.d.ts +3 -2
  83. package/dist/plugins/config-plugin.d.ts.map +1 -1
  84. package/dist/plugins/config-plugin.js +17 -10
  85. package/dist/plugins/config-plugin.js.map +1 -1
  86. package/dist/plugins/diagnostics-plugin.d.ts +2 -2
  87. package/dist/plugins/diagnostics-plugin.d.ts.map +1 -1
  88. package/dist/plugins/diagnostics-plugin.js +17 -10
  89. package/dist/plugins/diagnostics-plugin.js.map +1 -1
  90. package/dist/plugins/entitlements/entitlements-plugin.d.ts +95 -0
  91. package/dist/plugins/entitlements/entitlements-plugin.d.ts.map +1 -0
  92. package/dist/plugins/entitlements/entitlements-plugin.js +707 -0
  93. package/dist/plugins/entitlements/entitlements-plugin.js.map +1 -0
  94. package/dist/plugins/entitlements/index.d.ts +12 -0
  95. package/dist/plugins/entitlements/index.d.ts.map +1 -0
  96. package/dist/plugins/entitlements/index.js +16 -0
  97. package/dist/plugins/entitlements/index.js.map +1 -0
  98. package/dist/plugins/entitlements/sources/index.d.ts +9 -0
  99. package/dist/plugins/entitlements/sources/index.d.ts.map +1 -0
  100. package/dist/plugins/entitlements/sources/index.js +9 -0
  101. package/dist/plugins/entitlements/sources/index.js.map +1 -0
  102. package/dist/plugins/entitlements/sources/postgres-source.d.ts +29 -0
  103. package/dist/plugins/entitlements/sources/postgres-source.d.ts.map +1 -0
  104. package/dist/plugins/entitlements/sources/postgres-source.js +169 -0
  105. package/dist/plugins/entitlements/sources/postgres-source.js.map +1 -0
  106. package/dist/plugins/entitlements/types.d.ts +232 -0
  107. package/dist/plugins/entitlements/types.d.ts.map +1 -0
  108. package/dist/plugins/entitlements/types.js +11 -0
  109. package/dist/plugins/entitlements/types.js.map +1 -0
  110. package/dist/plugins/frontend-app-plugin.d.ts +9 -3
  111. package/dist/plugins/frontend-app-plugin.d.ts.map +1 -1
  112. package/dist/plugins/frontend-app-plugin.js +14 -9
  113. package/dist/plugins/frontend-app-plugin.js.map +1 -1
  114. package/dist/plugins/health-plugin.d.ts +5 -2
  115. package/dist/plugins/health-plugin.d.ts.map +1 -1
  116. package/dist/plugins/health-plugin.js +20 -5
  117. package/dist/plugins/health-plugin.js.map +1 -1
  118. package/dist/plugins/index.d.ts +8 -2
  119. package/dist/plugins/index.d.ts.map +1 -1
  120. package/dist/plugins/index.js +8 -2
  121. package/dist/plugins/index.js.map +1 -1
  122. package/dist/plugins/logs-plugin.d.ts +3 -2
  123. package/dist/plugins/logs-plugin.d.ts.map +1 -1
  124. package/dist/plugins/logs-plugin.js +21 -12
  125. package/dist/plugins/logs-plugin.js.map +1 -1
  126. package/dist/plugins/postgres-plugin.d.ts +3 -3
  127. package/dist/plugins/postgres-plugin.d.ts.map +1 -1
  128. package/dist/plugins/postgres-plugin.js +9 -7
  129. package/dist/plugins/postgres-plugin.js.map +1 -1
  130. package/dist/plugins/postgres-plugin.test.js +47 -29
  131. package/dist/plugins/postgres-plugin.test.js.map +1 -1
  132. package/dist/plugins/users/index.d.ts +12 -0
  133. package/dist/plugins/users/index.d.ts.map +1 -0
  134. package/dist/plugins/users/index.js +13 -0
  135. package/dist/plugins/users/index.js.map +1 -0
  136. package/dist/plugins/users/stores/index.d.ts +7 -0
  137. package/dist/plugins/users/stores/index.d.ts.map +1 -0
  138. package/dist/plugins/users/stores/index.js +7 -0
  139. package/dist/plugins/users/stores/index.js.map +1 -0
  140. package/dist/plugins/users/stores/postgres-store.d.ts +28 -0
  141. package/dist/plugins/users/stores/postgres-store.d.ts.map +1 -0
  142. package/dist/plugins/users/stores/postgres-store.js +157 -0
  143. package/dist/plugins/users/stores/postgres-store.js.map +1 -0
  144. package/dist/plugins/users/types.d.ts +189 -0
  145. package/dist/plugins/users/types.d.ts.map +1 -0
  146. package/dist/plugins/users/types.js +12 -0
  147. package/dist/plugins/users/types.js.map +1 -0
  148. package/dist/plugins/users/users-plugin.d.ts +39 -0
  149. package/dist/plugins/users/users-plugin.d.ts.map +1 -0
  150. package/dist/plugins/users/users-plugin.js +242 -0
  151. package/dist/plugins/users/users-plugin.js.map +1 -0
  152. package/dist-ui/assets/index-Bsp2ntcw.js +465 -0
  153. package/dist-ui/assets/index-Bsp2ntcw.js.map +1 -0
  154. package/dist-ui/index.html +1 -1
  155. package/dist-ui-lib/api/controlPanelApi.d.ts +232 -0
  156. package/dist-ui-lib/components/ControlPanelApp.d.ts +61 -0
  157. package/dist-ui-lib/components/index.d.ts +18 -0
  158. package/dist-ui-lib/config/AppConfig.d.ts +7 -0
  159. package/dist-ui-lib/dashboard/DashboardWidgetRegistry.d.ts +62 -0
  160. package/dist-ui-lib/dashboard/DashboardWidgetRenderer.d.ts +8 -0
  161. package/dist-ui-lib/dashboard/PluginWidgetRenderer.d.ts +19 -0
  162. package/dist-ui-lib/dashboard/WidgetComponentRegistry.d.ts +44 -0
  163. package/dist-ui-lib/dashboard/builtInWidgets.d.ts +19 -0
  164. package/dist-ui-lib/dashboard/index.d.ts +13 -0
  165. package/dist-ui-lib/dashboard/widgets/ServiceHealthWidget.d.ts +12 -0
  166. package/dist-ui-lib/dashboard/widgets/index.d.ts +6 -0
  167. package/dist-ui-lib/index.js +6441 -0
  168. package/dist-ui-lib/index.js.map +1 -0
  169. package/dist-ui-lib/pages/ConfigPage.d.ts +1 -0
  170. package/dist-ui-lib/pages/DashboardPage.d.ts +1 -0
  171. package/dist-ui-lib/pages/DiagnosticsPage.d.ts +1 -0
  172. package/dist-ui-lib/pages/EntitlementsPage.d.ts +17 -0
  173. package/dist-ui-lib/pages/LogsPage.d.ts +1 -0
  174. package/dist-ui-lib/pages/NotFoundPage.d.ts +1 -0
  175. package/dist-ui-lib/pages/PluginPage.d.ts +15 -0
  176. package/dist-ui-lib/pages/SystemPage.d.ts +1 -0
  177. package/dist-ui-lib/pages/UsersPage.d.ts +22 -0
  178. package/package.json +18 -6
  179. package/src/core/control-panel.ts +122 -68
  180. package/src/core/gateway.ts +870 -399
  181. package/src/core/index.ts +21 -2
  182. package/src/core/plugin-registry.ts +653 -0
  183. package/src/core/types.ts +31 -37
  184. package/src/index.ts +118 -19
  185. package/src/plugins/auth/adapters/auth0-adapter.ts +214 -0
  186. package/src/plugins/auth/adapters/basic-adapter.ts +61 -0
  187. package/src/plugins/auth/adapters/index.ts +9 -0
  188. package/src/plugins/auth/adapters/supabase-adapter.ts +141 -0
  189. package/src/plugins/auth/auth-plugin.test.ts +176 -0
  190. package/src/plugins/auth/auth-plugin.ts +303 -0
  191. package/src/plugins/auth/index.ts +33 -0
  192. package/src/plugins/auth/types.ts +165 -0
  193. package/src/plugins/bans/bans-plugin.ts +485 -0
  194. package/src/plugins/bans/index.ts +31 -0
  195. package/src/plugins/bans/stores/index.ts +7 -0
  196. package/src/plugins/bans/stores/postgres-store.ts +195 -0
  197. package/src/plugins/bans/types.ts +141 -0
  198. package/src/plugins/cache-plugin.test.ts +105 -32
  199. package/src/plugins/cache-plugin.ts +40 -9
  200. package/src/plugins/config-plugin.ts +23 -12
  201. package/src/plugins/diagnostics-plugin.ts +22 -12
  202. package/src/plugins/entitlements/entitlements-plugin.ts +820 -0
  203. package/src/plugins/entitlements/index.ts +51 -0
  204. package/src/plugins/entitlements/sources/index.ts +9 -0
  205. package/src/plugins/entitlements/sources/postgres-source.ts +253 -0
  206. package/src/plugins/entitlements/types.ts +256 -0
  207. package/src/plugins/frontend-app-plugin.ts +24 -12
  208. package/src/plugins/health-plugin.ts +27 -7
  209. package/src/plugins/index.ts +106 -4
  210. package/src/plugins/logs-plugin.ts +28 -14
  211. package/src/plugins/postgres-plugin.test.ts +49 -29
  212. package/src/plugins/postgres-plugin.ts +11 -9
  213. package/src/plugins/users/index.ts +35 -0
  214. package/src/plugins/users/stores/index.ts +7 -0
  215. package/src/plugins/users/stores/postgres-store.ts +225 -0
  216. package/src/plugins/users/types.ts +209 -0
  217. package/src/plugins/users/users-plugin.ts +281 -0
  218. package/ui/src/App.tsx +185 -31
  219. package/ui/src/api/controlPanelApi.ts +354 -1
  220. package/ui/src/components/ControlPanelApp.tsx +209 -0
  221. package/ui/src/components/index.ts +62 -0
  222. package/ui/src/dashboard/DashboardWidgetRegistry.tsx +129 -0
  223. package/ui/src/dashboard/DashboardWidgetRenderer.tsx +34 -0
  224. package/ui/src/dashboard/PluginWidgetRenderer.tsx +115 -0
  225. package/ui/src/dashboard/WidgetComponentRegistry.tsx +116 -0
  226. package/ui/src/dashboard/builtInWidgets.tsx +29 -0
  227. package/ui/src/dashboard/index.ts +35 -0
  228. package/ui/src/dashboard/widgets/ServiceHealthWidget.tsx +140 -0
  229. package/ui/src/dashboard/widgets/index.ts +7 -0
  230. package/ui/src/pages/DashboardPage.tsx +28 -149
  231. package/ui/src/pages/EntitlementsPage.tsx +557 -0
  232. package/ui/src/pages/LogsPage.tsx +174 -8
  233. package/ui/src/pages/PluginPage.tsx +148 -0
  234. package/ui/src/pages/SystemPage.tsx +445 -0
  235. package/ui/src/pages/UsersPage.tsx +837 -0
  236. package/ui/tsconfig.lib.json +11 -0
  237. package/ui/vite.lib.config.ts +51 -0
  238. package/dist-ui/assets/index-CW1BviRn.js +0 -465
  239. package/dist-ui/assets/index-CW1BviRn.js.map +0 -1
  240. package/ui/src/pages/HealthPage.tsx +0 -204
@@ -1,465 +0,0 @@
1
- var mP=Object.defineProperty;var gP=(t,e,r)=>e in t?mP(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var ka=(t,e,r)=>gP(t,typeof e!="symbol"?e+"":e,r);function yP(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in t)){const s=Object.getOwnPropertyDescriptor(n,i);s&&Object.defineProperty(t,i,s.get?s:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function r(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(i){if(i.ep)return;i.ep=!0;const s=r(i);fetch(i.href,s)}})();var ib=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Kp(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Cm={exports:{}},oc={},Em={exports:{}},Ct={};/**
2
- * @license React
3
- * react.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var ob;function vP(){if(ob)return Ct;ob=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.iterator;function g(q){return q===null||typeof q!="object"?null:(q=v&&q[v]||q["@@iterator"],typeof q=="function"?q:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,x={};function C(q,ne,ue){this.props=q,this.context=ne,this.refs=x,this.updater=ue||y}C.prototype.isReactComponent={},C.prototype.setState=function(q,ne){if(typeof q!="object"&&typeof q!="function"&&q!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,q,ne,"setState")},C.prototype.forceUpdate=function(q){this.updater.enqueueForceUpdate(this,q,"forceUpdate")};function P(){}P.prototype=C.prototype;function k(q,ne,ue){this.props=q,this.context=ne,this.refs=x,this.updater=ue||y}var _=k.prototype=new P;_.constructor=k,w(_,C.prototype),_.isPureReactComponent=!0;var E=Array.isArray,A=Object.prototype.hasOwnProperty,I={current:null},D={key:!0,ref:!0,__self:!0,__source:!0};function $(q,ne,ue){var oe,ie={},ee=null,pe=null;if(ne!=null)for(oe in ne.ref!==void 0&&(pe=ne.ref),ne.key!==void 0&&(ee=""+ne.key),ne)A.call(ne,oe)&&!D.hasOwnProperty(oe)&&(ie[oe]=ne[oe]);var ve=arguments.length-2;if(ve===1)ie.children=ue;else if(1<ve){for(var xe=Array(ve),se=0;se<ve;se++)xe[se]=arguments[se+2];ie.children=xe}if(q&&q.defaultProps)for(oe in ve=q.defaultProps,ve)ie[oe]===void 0&&(ie[oe]=ve[oe]);return{$$typeof:t,type:q,key:ee,ref:pe,props:ie,_owner:I.current}}function U(q,ne){return{$$typeof:t,type:q.type,key:ne,ref:q.ref,props:q.props,_owner:q._owner}}function X(q){return typeof q=="object"&&q!==null&&q.$$typeof===t}function H(q){var ne={"=":"=0",":":"=2"};return"$"+q.replace(/[=:]/g,function(ue){return ne[ue]})}var M=/\/+/g;function W(q,ne){return typeof q=="object"&&q!==null&&q.key!=null?H(""+q.key):ne.toString(36)}function G(q,ne,ue,oe,ie){var ee=typeof q;(ee==="undefined"||ee==="boolean")&&(q=null);var pe=!1;if(q===null)pe=!0;else switch(ee){case"string":case"number":pe=!0;break;case"object":switch(q.$$typeof){case t:case e:pe=!0}}if(pe)return pe=q,ie=ie(pe),q=oe===""?"."+W(pe,0):oe,E(ie)?(ue="",q!=null&&(ue=q.replace(M,"$&/")+"/"),G(ie,ne,ue,"",function(se){return se})):ie!=null&&(X(ie)&&(ie=U(ie,ue+(!ie.key||pe&&pe.key===ie.key?"":(""+ie.key).replace(M,"$&/")+"/")+q)),ne.push(ie)),1;if(pe=0,oe=oe===""?".":oe+":",E(q))for(var ve=0;ve<q.length;ve++){ee=q[ve];var xe=oe+W(ee,ve);pe+=G(ee,ne,ue,xe,ie)}else if(xe=g(q),typeof xe=="function")for(q=xe.call(q),ve=0;!(ee=q.next()).done;)ee=ee.value,xe=oe+W(ee,ve++),pe+=G(ee,ne,ue,xe,ie);else if(ee==="object")throw ne=String(q),Error("Objects are not valid as a React child (found: "+(ne==="[object Object]"?"object with keys {"+Object.keys(q).join(", ")+"}":ne)+"). If you meant to render a collection of children, use an array instead.");return pe}function B(q,ne,ue){if(q==null)return q;var oe=[],ie=0;return G(q,oe,"","",function(ee){return ne.call(ue,ee,ie++)}),oe}function V(q){if(q._status===-1){var ne=q._result;ne=ne(),ne.then(function(ue){(q._status===0||q._status===-1)&&(q._status=1,q._result=ue)},function(ue){(q._status===0||q._status===-1)&&(q._status=2,q._result=ue)}),q._status===-1&&(q._status=0,q._result=ne)}if(q._status===1)return q._result.default;throw q._result}var K={current:null},J={transition:null},Z={ReactCurrentDispatcher:K,ReactCurrentBatchConfig:J,ReactCurrentOwner:I};function Q(){throw Error("act(...) is not supported in production builds of React.")}return Ct.Children={map:B,forEach:function(q,ne,ue){B(q,function(){ne.apply(this,arguments)},ue)},count:function(q){var ne=0;return B(q,function(){ne++}),ne},toArray:function(q){return B(q,function(ne){return ne})||[]},only:function(q){if(!X(q))throw Error("React.Children.only expected to receive a single React element child.");return q}},Ct.Component=C,Ct.Fragment=r,Ct.Profiler=i,Ct.PureComponent=k,Ct.StrictMode=n,Ct.Suspense=d,Ct.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Z,Ct.act=Q,Ct.cloneElement=function(q,ne,ue){if(q==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+q+".");var oe=w({},q.props),ie=q.key,ee=q.ref,pe=q._owner;if(ne!=null){if(ne.ref!==void 0&&(ee=ne.ref,pe=I.current),ne.key!==void 0&&(ie=""+ne.key),q.type&&q.type.defaultProps)var ve=q.type.defaultProps;for(xe in ne)A.call(ne,xe)&&!D.hasOwnProperty(xe)&&(oe[xe]=ne[xe]===void 0&&ve!==void 0?ve[xe]:ne[xe])}var xe=arguments.length-2;if(xe===1)oe.children=ue;else if(1<xe){ve=Array(xe);for(var se=0;se<xe;se++)ve[se]=arguments[se+2];oe.children=ve}return{$$typeof:t,type:q.type,key:ie,ref:ee,props:oe,_owner:pe}},Ct.createContext=function(q){return q={$$typeof:l,_currentValue:q,_currentValue2:q,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},q.Provider={$$typeof:s,_context:q},q.Consumer=q},Ct.createElement=$,Ct.createFactory=function(q){var ne=$.bind(null,q);return ne.type=q,ne},Ct.createRef=function(){return{current:null}},Ct.forwardRef=function(q){return{$$typeof:c,render:q}},Ct.isValidElement=X,Ct.lazy=function(q){return{$$typeof:m,_payload:{_status:-1,_result:q},_init:V}},Ct.memo=function(q,ne){return{$$typeof:p,type:q,compare:ne===void 0?null:ne}},Ct.startTransition=function(q){var ne=J.transition;J.transition={};try{q()}finally{J.transition=ne}},Ct.unstable_act=Q,Ct.useCallback=function(q,ne){return K.current.useCallback(q,ne)},Ct.useContext=function(q){return K.current.useContext(q)},Ct.useDebugValue=function(){},Ct.useDeferredValue=function(q){return K.current.useDeferredValue(q)},Ct.useEffect=function(q,ne){return K.current.useEffect(q,ne)},Ct.useId=function(){return K.current.useId()},Ct.useImperativeHandle=function(q,ne,ue){return K.current.useImperativeHandle(q,ne,ue)},Ct.useInsertionEffect=function(q,ne){return K.current.useInsertionEffect(q,ne)},Ct.useLayoutEffect=function(q,ne){return K.current.useLayoutEffect(q,ne)},Ct.useMemo=function(q,ne){return K.current.useMemo(q,ne)},Ct.useReducer=function(q,ne,ue){return K.current.useReducer(q,ne,ue)},Ct.useRef=function(q){return K.current.useRef(q)},Ct.useState=function(q){return K.current.useState(q)},Ct.useSyncExternalStore=function(q,ne,ue){return K.current.useSyncExternalStore(q,ne,ue)},Ct.useTransition=function(){return K.current.useTransition()},Ct.version="18.3.1",Ct}var ab;function ty(){return ab||(ab=1,Em.exports=vP()),Em.exports}/**
10
- * @license React
11
- * react-jsx-runtime.production.min.js
12
- *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var sb;function bP(){if(sb)return oc;sb=1;var t=ty(),e=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(c,d,p){var m,v={},g=null,y=null;p!==void 0&&(g=""+p),d.key!==void 0&&(g=""+d.key),d.ref!==void 0&&(y=d.ref);for(m in d)n.call(d,m)&&!s.hasOwnProperty(m)&&(v[m]=d[m]);if(c&&c.defaultProps)for(m in d=c.defaultProps,d)v[m]===void 0&&(v[m]=d[m]);return{$$typeof:e,type:c,key:g,ref:y,props:v,_owner:i.current}}return oc.Fragment=r,oc.jsx=l,oc.jsxs=l,oc}var lb;function xP(){return lb||(lb=1,Cm.exports=bP()),Cm.exports}var h=xP(),T=ty();const pt=Kp(T),Oc=yP({__proto__:null,default:pt},[T]);var Ld={},Tm={exports:{}},an={},km={exports:{}},Pm={};/**
18
- * @license React
19
- * scheduler.production.min.js
20
- *
21
- * Copyright (c) Facebook, Inc. and its affiliates.
22
- *
23
- * This source code is licensed under the MIT license found in the
24
- * LICENSE file in the root directory of this source tree.
25
- */var cb;function wP(){return cb||(cb=1,(function(t){function e(J,Z){var Q=J.length;J.push(Z);e:for(;0<Q;){var q=Q-1>>>1,ne=J[q];if(0<i(ne,Z))J[q]=Z,J[Q]=ne,Q=q;else break e}}function r(J){return J.length===0?null:J[0]}function n(J){if(J.length===0)return null;var Z=J[0],Q=J.pop();if(Q!==Z){J[0]=Q;e:for(var q=0,ne=J.length,ue=ne>>>1;q<ue;){var oe=2*(q+1)-1,ie=J[oe],ee=oe+1,pe=J[ee];if(0>i(ie,Q))ee<ne&&0>i(pe,ie)?(J[q]=pe,J[ee]=Q,q=ee):(J[q]=ie,J[oe]=Q,q=oe);else if(ee<ne&&0>i(pe,Q))J[q]=pe,J[ee]=Q,q=ee;else break e}}return Z}function i(J,Z){var Q=J.sortIndex-Z.sortIndex;return Q!==0?Q:J.id-Z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;t.unstable_now=function(){return s.now()}}else{var l=Date,c=l.now();t.unstable_now=function(){return l.now()-c}}var d=[],p=[],m=1,v=null,g=3,y=!1,w=!1,x=!1,C=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(J){for(var Z=r(p);Z!==null;){if(Z.callback===null)n(p);else if(Z.startTime<=J)n(p),Z.sortIndex=Z.expirationTime,e(d,Z);else break;Z=r(p)}}function E(J){if(x=!1,_(J),!w)if(r(d)!==null)w=!0,V(A);else{var Z=r(p);Z!==null&&K(E,Z.startTime-J)}}function A(J,Z){w=!1,x&&(x=!1,P($),$=-1),y=!0;var Q=g;try{for(_(Z),v=r(d);v!==null&&(!(v.expirationTime>Z)||J&&!H());){var q=v.callback;if(typeof q=="function"){v.callback=null,g=v.priorityLevel;var ne=q(v.expirationTime<=Z);Z=t.unstable_now(),typeof ne=="function"?v.callback=ne:v===r(d)&&n(d),_(Z)}else n(d);v=r(d)}if(v!==null)var ue=!0;else{var oe=r(p);oe!==null&&K(E,oe.startTime-Z),ue=!1}return ue}finally{v=null,g=Q,y=!1}}var I=!1,D=null,$=-1,U=5,X=-1;function H(){return!(t.unstable_now()-X<U)}function M(){if(D!==null){var J=t.unstable_now();X=J;var Z=!0;try{Z=D(!0,J)}finally{Z?W():(I=!1,D=null)}}else I=!1}var W;if(typeof k=="function")W=function(){k(M)};else if(typeof MessageChannel<"u"){var G=new MessageChannel,B=G.port2;G.port1.onmessage=M,W=function(){B.postMessage(null)}}else W=function(){C(M,0)};function V(J){D=J,I||(I=!0,W())}function K(J,Z){$=C(function(){J(t.unstable_now())},Z)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(J){J.callback=null},t.unstable_continueExecution=function(){w||y||(w=!0,V(A))},t.unstable_forceFrameRate=function(J){0>J||125<J?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<J?Math.floor(1e3/J):5},t.unstable_getCurrentPriorityLevel=function(){return g},t.unstable_getFirstCallbackNode=function(){return r(d)},t.unstable_next=function(J){switch(g){case 1:case 2:case 3:var Z=3;break;default:Z=g}var Q=g;g=Z;try{return J()}finally{g=Q}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(J,Z){switch(J){case 1:case 2:case 3:case 4:case 5:break;default:J=3}var Q=g;g=J;try{return Z()}finally{g=Q}},t.unstable_scheduleCallback=function(J,Z,Q){var q=t.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?q+Q:q):Q=q,J){case 1:var ne=-1;break;case 2:ne=250;break;case 5:ne=1073741823;break;case 4:ne=1e4;break;default:ne=5e3}return ne=Q+ne,J={id:m++,callback:Z,priorityLevel:J,startTime:Q,expirationTime:ne,sortIndex:-1},Q>q?(J.sortIndex=Q,e(p,J),r(d)===null&&J===r(p)&&(x?(P($),$=-1):x=!0,K(E,Q-q))):(J.sortIndex=ne,e(d,J),w||y||(w=!0,V(A))),J},t.unstable_shouldYield=H,t.unstable_wrapCallback=function(J){var Z=g;return function(){var Q=g;g=Z;try{return J.apply(this,arguments)}finally{g=Q}}}})(Pm)),Pm}var ub;function SP(){return ub||(ub=1,km.exports=wP()),km.exports}/**
26
- * @license React
27
- * react-dom.production.min.js
28
- *
29
- * Copyright (c) Facebook, Inc. and its affiliates.
30
- *
31
- * This source code is licensed under the MIT license found in the
32
- * LICENSE file in the root directory of this source tree.
33
- */var db;function CP(){if(db)return an;db=1;var t=ty(),e=SP();function r(o){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+o,u=1;u<arguments.length;u++)a+="&args[]="+encodeURIComponent(arguments[u]);return"Minified React error #"+o+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=new Set,i={};function s(o,a){l(o,a),l(o+"Capture",a)}function l(o,a){for(i[o]=a,o=0;o<a.length;o++)n.add(a[o])}var c=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),d=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,m={},v={};function g(o){return d.call(v,o)?!0:d.call(m,o)?!1:p.test(o)?v[o]=!0:(m[o]=!0,!1)}function y(o,a,u,f){if(u!==null&&u.type===0)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":return f?!1:u!==null?!u.acceptsBooleans:(o=o.toLowerCase().slice(0,5),o!=="data-"&&o!=="aria-");default:return!1}}function w(o,a,u,f){if(a===null||typeof a>"u"||y(o,a,u,f))return!0;if(f)return!1;if(u!==null)switch(u.type){case 3:return!a;case 4:return a===!1;case 5:return isNaN(a);case 6:return isNaN(a)||1>a}return!1}function x(o,a,u,f,b,S,j){this.acceptsBooleans=a===2||a===3||a===4,this.attributeName=f,this.attributeNamespace=b,this.mustUseProperty=u,this.propertyName=o,this.type=a,this.sanitizeURL=S,this.removeEmptyString=j}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){C[o]=new x(o,0,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var a=o[0];C[a]=new x(a,1,!1,o[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){C[o]=new x(o,2,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){C[o]=new x(o,2,!1,o,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(o){C[o]=new x(o,3,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){C[o]=new x(o,3,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){C[o]=new x(o,4,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){C[o]=new x(o,6,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){C[o]=new x(o,5,!1,o.toLowerCase(),null,!1,!1)});var P=/[\-:]([a-z])/g;function k(o){return o[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(o){var a=o.replace(P,k);C[a]=new x(a,1,!1,o,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(o){var a=o.replace(P,k);C[a]=new x(a,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var a=o.replace(P,k);C[a]=new x(a,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){C[o]=new x(o,1,!1,o.toLowerCase(),null,!1,!1)}),C.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){C[o]=new x(o,1,!1,o.toLowerCase(),null,!0,!0)});function _(o,a,u,f){var b=C.hasOwnProperty(a)?C[a]:null;(b!==null?b.type!==0:f||!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(w(a,u,b,f)&&(u=null),f||b===null?g(a)&&(u===null?o.removeAttribute(a):o.setAttribute(a,""+u)):b.mustUseProperty?o[b.propertyName]=u===null?b.type===3?!1:"":u:(a=b.attributeName,f=b.attributeNamespace,u===null?o.removeAttribute(a):(b=b.type,u=b===3||b===4&&u===!0?"":""+u,f?o.setAttributeNS(f,a,u):o.setAttribute(a,u))))}var E=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,A=Symbol.for("react.element"),I=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),X=Symbol.for("react.provider"),H=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),W=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),K=Symbol.for("react.offscreen"),J=Symbol.iterator;function Z(o){return o===null||typeof o!="object"?null:(o=J&&o[J]||o["@@iterator"],typeof o=="function"?o:null)}var Q=Object.assign,q;function ne(o){if(q===void 0)try{throw Error()}catch(u){var a=u.stack.trim().match(/\n( *(at )?)/);q=a&&a[1]||""}return`
34
- `+q+o}var ue=!1;function oe(o,a){if(!o||ue)return"";ue=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(a)if(a=function(){throw Error()},Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[])}catch(fe){var f=fe}Reflect.construct(o,[],a)}else{try{a.call()}catch(fe){f=fe}o.call(a.prototype)}else{try{throw Error()}catch(fe){f=fe}o()}}catch(fe){if(fe&&f&&typeof fe.stack=="string"){for(var b=fe.stack.split(`
35
- `),S=f.stack.split(`
36
- `),j=b.length-1,Y=S.length-1;1<=j&&0<=Y&&b[j]!==S[Y];)Y--;for(;1<=j&&0<=Y;j--,Y--)if(b[j]!==S[Y]){if(j!==1||Y!==1)do if(j--,Y--,0>Y||b[j]!==S[Y]){var re=`
37
- `+b[j].replace(" at new "," at ");return o.displayName&&re.includes("<anonymous>")&&(re=re.replace("<anonymous>",o.displayName)),re}while(1<=j&&0<=Y);break}}}finally{ue=!1,Error.prepareStackTrace=u}return(o=o?o.displayName||o.name:"")?ne(o):""}function ie(o){switch(o.tag){case 5:return ne(o.type);case 16:return ne("Lazy");case 13:return ne("Suspense");case 19:return ne("SuspenseList");case 0:case 2:case 15:return o=oe(o.type,!1),o;case 11:return o=oe(o.type.render,!1),o;case 1:return o=oe(o.type,!0),o;default:return""}}function ee(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case D:return"Fragment";case I:return"Portal";case U:return"Profiler";case $:return"StrictMode";case W:return"Suspense";case G:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case H:return(o.displayName||"Context")+".Consumer";case X:return(o._context.displayName||"Context")+".Provider";case M:var a=o.render;return o=o.displayName,o||(o=a.displayName||a.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case B:return a=o.displayName||null,a!==null?a:ee(o.type)||"Memo";case V:a=o._payload,o=o._init;try{return ee(o(a))}catch{}}return null}function pe(o){var a=o.type;switch(o.tag){case 24:return"Cache";case 9:return(a.displayName||"Context")+".Consumer";case 10:return(a._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=a.render,o=o.displayName||o.name||"",a.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ee(a);case 8:return a===$?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a}return null}function ve(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function xe(o){var a=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function se(o){var a=xe(o)?"checked":"value",u=Object.getOwnPropertyDescriptor(o.constructor.prototype,a),f=""+o[a];if(!o.hasOwnProperty(a)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var b=u.get,S=u.set;return Object.defineProperty(o,a,{configurable:!0,get:function(){return b.call(this)},set:function(j){f=""+j,S.call(this,j)}}),Object.defineProperty(o,a,{enumerable:u.enumerable}),{getValue:function(){return f},setValue:function(j){f=""+j},stopTracking:function(){o._valueTracker=null,delete o[a]}}}}function Le(o){o._valueTracker||(o._valueTracker=se(o))}function De(o){if(!o)return!1;var a=o._valueTracker;if(!a)return!0;var u=a.getValue(),f="";return o&&(f=xe(o)?o.checked?"true":"false":o.value),o=f,o!==u?(a.setValue(o),!0):!1}function ze(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}function Oe(o,a){var u=a.checked;return Q({},a,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:u??o._wrapperState.initialChecked})}function _e(o,a){var u=a.defaultValue==null?"":a.defaultValue,f=a.checked!=null?a.checked:a.defaultChecked;u=ve(a.value!=null?a.value:u),o._wrapperState={initialChecked:f,initialValue:u,controlled:a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null}}function st(o,a){a=a.checked,a!=null&&_(o,"checked",a,!1)}function ft(o,a){st(o,a);var u=ve(a.value),f=a.type;if(u!=null)f==="number"?(u===0&&o.value===""||o.value!=u)&&(o.value=""+u):o.value!==""+u&&(o.value=""+u);else if(f==="submit"||f==="reset"){o.removeAttribute("value");return}a.hasOwnProperty("value")?St(o,a.type,u):a.hasOwnProperty("defaultValue")&&St(o,a.type,ve(a.defaultValue)),a.checked==null&&a.defaultChecked!=null&&(o.defaultChecked=!!a.defaultChecked)}function dt(o,a,u){if(a.hasOwnProperty("value")||a.hasOwnProperty("defaultValue")){var f=a.type;if(!(f!=="submit"&&f!=="reset"||a.value!==void 0&&a.value!==null))return;a=""+o._wrapperState.initialValue,u||a===o.value||(o.value=a),o.defaultValue=a}u=o.name,u!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,u!==""&&(o.name=u)}function St(o,a,u){(a!=="number"||ze(o.ownerDocument)!==o)&&(u==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+u&&(o.defaultValue=""+u))}var xt=Array.isArray;function ht(o,a,u,f){if(o=o.options,a){a={};for(var b=0;b<u.length;b++)a["$"+u[b]]=!0;for(u=0;u<o.length;u++)b=a.hasOwnProperty("$"+o[u].value),o[u].selected!==b&&(o[u].selected=b),b&&f&&(o[u].defaultSelected=!0)}else{for(u=""+ve(u),a=null,b=0;b<o.length;b++){if(o[b].value===u){o[b].selected=!0,f&&(o[b].defaultSelected=!0);return}a!==null||o[b].disabled||(a=o[b])}a!==null&&(a.selected=!0)}}function $e(o,a){if(a.dangerouslySetInnerHTML!=null)throw Error(r(91));return Q({},a,{value:void 0,defaultValue:void 0,children:""+o._wrapperState.initialValue})}function lr(o,a){var u=a.value;if(u==null){if(u=a.children,a=a.defaultValue,u!=null){if(a!=null)throw Error(r(92));if(xt(u)){if(1<u.length)throw Error(r(93));u=u[0]}a=u}a==null&&(a=""),u=a}o._wrapperState={initialValue:ve(u)}}function kt(o,a){var u=ve(a.value),f=ve(a.defaultValue);u!=null&&(u=""+u,u!==o.value&&(o.value=u),a.defaultValue==null&&o.defaultValue!==u&&(o.defaultValue=u)),f!=null&&(o.defaultValue=""+f)}function le(o){var a=o.textContent;a===o._wrapperState.initialValue&&a!==""&&a!==null&&(o.value=a)}function me(o){switch(o){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ye(o,a){return o==null||o==="http://www.w3.org/1999/xhtml"?me(a):o==="http://www.w3.org/2000/svg"&&a==="foreignObject"?"http://www.w3.org/1999/xhtml":o}var Ae,Be=(function(o){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(a,u,f,b){MSApp.execUnsafeLocalFunction(function(){return o(a,u,f,b)})}:o})(function(o,a){if(o.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in o)o.innerHTML=a;else{for(Ae=Ae||document.createElement("div"),Ae.innerHTML="<svg>"+a.valueOf().toString()+"</svg>",a=Ae.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;a.firstChild;)o.appendChild(a.firstChild)}});function lt(o,a){if(a){var u=o.firstChild;if(u&&u===o.lastChild&&u.nodeType===3){u.nodeValue=a;return}}o.textContent=a}var we={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ve=["Webkit","ms","Moz","O"];Object.keys(we).forEach(function(o){Ve.forEach(function(a){a=a+o.charAt(0).toUpperCase()+o.substring(1),we[a]=we[o]})});function Ie(o,a,u){return a==null||typeof a=="boolean"||a===""?"":u||typeof a!="number"||a===0||we.hasOwnProperty(o)&&we[o]?(""+a).trim():a+"px"}function We(o,a){o=o.style;for(var u in a)if(a.hasOwnProperty(u)){var f=u.indexOf("--")===0,b=Ie(u,a[u],f);u==="float"&&(u="cssFloat"),f?o.setProperty(u,b):o[u]=b}}var wt=Q({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function hr(o,a){if(a){if(wt[o]&&(a.children!=null||a.dangerouslySetInnerHTML!=null))throw Error(r(137,o));if(a.dangerouslySetInnerHTML!=null){if(a.children!=null)throw Error(r(60));if(typeof a.dangerouslySetInnerHTML!="object"||!("__html"in a.dangerouslySetInnerHTML))throw Error(r(61))}if(a.style!=null&&typeof a.style!="object")throw Error(r(62))}}function Jn(o,a){if(o.indexOf("-")===-1)return typeof a.is=="string";switch(o){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Zn=null;function Co(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var Eo=null,Ke=null,Pt=null;function Yt(o){if(o=Ul(o)){if(typeof Eo!="function")throw Error(r(280));var a=o.stateNode;a&&(a=Qu(a),Eo(o.stateNode,o.type,a))}}function ei(o){Ke?Pt?Pt.push(o):Pt=[o]:Ke=o}function pa(){if(Ke){var o=Ke,a=Pt;if(Pt=Ke=null,Yt(o),a)for(o=0;o<a.length;o++)Yt(a[o])}}function Pu(o,a){return o(a)}function mt(){}var Ur=!1;function Sl(o,a,u){if(Ur)return o(a,u);Ur=!0;try{return Pu(o,a,u)}finally{Ur=!1,(Ke!==null||Pt!==null)&&(mt(),pa())}}function Cl(o,a){var u=o.stateNode;if(u===null)return null;var f=Qu(u);if(f===null)return null;u=f[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(o=o.type,f=!(o==="button"||o==="input"||o==="select"||o==="textarea")),o=!f;break e;default:o=!1}if(o)return null;if(u&&typeof u!="function")throw Error(r(231,a,typeof u));return u}var Ff=!1;if(c)try{var El={};Object.defineProperty(El,"passive",{get:function(){Ff=!0}}),window.addEventListener("test",El,El),window.removeEventListener("test",El,El)}catch{Ff=!1}function wT(o,a,u,f,b,S,j,Y,re){var fe=Array.prototype.slice.call(arguments,3);try{a.apply(u,fe)}catch(Ee){this.onError(Ee)}}var Tl=!1,Mu=null,_u=!1,Hf=null,ST={onError:function(o){Tl=!0,Mu=o}};function CT(o,a,u,f,b,S,j,Y,re){Tl=!1,Mu=null,wT.apply(ST,arguments)}function ET(o,a,u,f,b,S,j,Y,re){if(CT.apply(this,arguments),Tl){if(Tl){var fe=Mu;Tl=!1,Mu=null}else throw Error(r(198));_u||(_u=!0,Hf=fe)}}function fa(o){var a=o,u=o;if(o.alternate)for(;a.return;)a=a.return;else{o=a;do a=o,(a.flags&4098)!==0&&(u=a.return),o=a.return;while(o)}return a.tag===3?u:null}function P0(o){if(o.tag===13){var a=o.memoizedState;if(a===null&&(o=o.alternate,o!==null&&(a=o.memoizedState)),a!==null)return a.dehydrated}return null}function M0(o){if(fa(o)!==o)throw Error(r(188))}function TT(o){var a=o.alternate;if(!a){if(a=fa(o),a===null)throw Error(r(188));return a!==o?null:o}for(var u=o,f=a;;){var b=u.return;if(b===null)break;var S=b.alternate;if(S===null){if(f=b.return,f!==null){u=f;continue}break}if(b.child===S.child){for(S=b.child;S;){if(S===u)return M0(b),o;if(S===f)return M0(b),a;S=S.sibling}throw Error(r(188))}if(u.return!==f.return)u=b,f=S;else{for(var j=!1,Y=b.child;Y;){if(Y===u){j=!0,u=b,f=S;break}if(Y===f){j=!0,f=b,u=S;break}Y=Y.sibling}if(!j){for(Y=S.child;Y;){if(Y===u){j=!0,u=S,f=b;break}if(Y===f){j=!0,f=S,u=b;break}Y=Y.sibling}if(!j)throw Error(r(189))}}if(u.alternate!==f)throw Error(r(190))}if(u.tag!==3)throw Error(r(188));return u.stateNode.current===u?o:a}function _0(o){return o=TT(o),o!==null?A0(o):null}function A0(o){if(o.tag===5||o.tag===6)return o;for(o=o.child;o!==null;){var a=A0(o);if(a!==null)return a;o=o.sibling}return null}var R0=e.unstable_scheduleCallback,I0=e.unstable_cancelCallback,kT=e.unstable_shouldYield,PT=e.unstable_requestPaint,nr=e.unstable_now,MT=e.unstable_getCurrentPriorityLevel,Vf=e.unstable_ImmediatePriority,j0=e.unstable_UserBlockingPriority,Au=e.unstable_NormalPriority,_T=e.unstable_LowPriority,O0=e.unstable_IdlePriority,Ru=null,xi=null;function AT(o){if(xi&&typeof xi.onCommitFiberRoot=="function")try{xi.onCommitFiberRoot(Ru,o,void 0,(o.current.flags&128)===128)}catch{}}var ti=Math.clz32?Math.clz32:jT,RT=Math.log,IT=Math.LN2;function jT(o){return o>>>=0,o===0?32:31-(RT(o)/IT|0)|0}var Iu=64,ju=4194304;function kl(o){switch(o&-o){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function Ou(o,a){var u=o.pendingLanes;if(u===0)return 0;var f=0,b=o.suspendedLanes,S=o.pingedLanes,j=u&268435455;if(j!==0){var Y=j&~b;Y!==0?f=kl(Y):(S&=j,S!==0&&(f=kl(S)))}else j=u&~b,j!==0?f=kl(j):S!==0&&(f=kl(S));if(f===0)return 0;if(a!==0&&a!==f&&(a&b)===0&&(b=f&-f,S=a&-a,b>=S||b===16&&(S&4194240)!==0))return a;if((f&4)!==0&&(f|=u&16),a=o.entangledLanes,a!==0)for(o=o.entanglements,a&=f;0<a;)u=31-ti(a),b=1<<u,f|=o[u],a&=~b;return f}function OT(o,a){switch(o){case 1:case 2:case 4:return a+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function LT(o,a){for(var u=o.suspendedLanes,f=o.pingedLanes,b=o.expirationTimes,S=o.pendingLanes;0<S;){var j=31-ti(S),Y=1<<j,re=b[j];re===-1?((Y&u)===0||(Y&f)!==0)&&(b[j]=OT(Y,a)):re<=a&&(o.expiredLanes|=Y),S&=~Y}}function Uf(o){return o=o.pendingLanes&-1073741825,o!==0?o:o&1073741824?1073741824:0}function L0(){var o=Iu;return Iu<<=1,(Iu&4194240)===0&&(Iu=64),o}function Wf(o){for(var a=[],u=0;31>u;u++)a.push(o);return a}function Pl(o,a,u){o.pendingLanes|=a,a!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,a=31-ti(a),o[a]=u}function NT(o,a){var u=o.pendingLanes&~a;o.pendingLanes=a,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=a,o.mutableReadLanes&=a,o.entangledLanes&=a,a=o.entanglements;var f=o.eventTimes;for(o=o.expirationTimes;0<u;){var b=31-ti(u),S=1<<b;a[b]=0,f[b]=-1,o[b]=-1,u&=~S}}function qf(o,a){var u=o.entangledLanes|=a;for(o=o.entanglements;u;){var f=31-ti(u),b=1<<f;b&a|o[f]&a&&(o[f]|=a),u&=~b}}var jt=0;function N0(o){return o&=-o,1<o?4<o?(o&268435455)!==0?16:536870912:4:1}var $0,Gf,z0,B0,D0,Xf=!1,Lu=[],To=null,ko=null,Po=null,Ml=new Map,_l=new Map,Mo=[],$T="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function F0(o,a){switch(o){case"focusin":case"focusout":To=null;break;case"dragenter":case"dragleave":ko=null;break;case"mouseover":case"mouseout":Po=null;break;case"pointerover":case"pointerout":Ml.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":_l.delete(a.pointerId)}}function Al(o,a,u,f,b,S){return o===null||o.nativeEvent!==S?(o={blockedOn:a,domEventName:u,eventSystemFlags:f,nativeEvent:S,targetContainers:[b]},a!==null&&(a=Ul(a),a!==null&&Gf(a)),o):(o.eventSystemFlags|=f,a=o.targetContainers,b!==null&&a.indexOf(b)===-1&&a.push(b),o)}function zT(o,a,u,f,b){switch(a){case"focusin":return To=Al(To,o,a,u,f,b),!0;case"dragenter":return ko=Al(ko,o,a,u,f,b),!0;case"mouseover":return Po=Al(Po,o,a,u,f,b),!0;case"pointerover":var S=b.pointerId;return Ml.set(S,Al(Ml.get(S)||null,o,a,u,f,b)),!0;case"gotpointercapture":return S=b.pointerId,_l.set(S,Al(_l.get(S)||null,o,a,u,f,b)),!0}return!1}function H0(o){var a=ha(o.target);if(a!==null){var u=fa(a);if(u!==null){if(a=u.tag,a===13){if(a=P0(u),a!==null){o.blockedOn=a,D0(o.priority,function(){z0(u)});return}}else if(a===3&&u.stateNode.current.memoizedState.isDehydrated){o.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}o.blockedOn=null}function Nu(o){if(o.blockedOn!==null)return!1;for(var a=o.targetContainers;0<a.length;){var u=Qf(o.domEventName,o.eventSystemFlags,a[0],o.nativeEvent);if(u===null){u=o.nativeEvent;var f=new u.constructor(u.type,u);Zn=f,u.target.dispatchEvent(f),Zn=null}else return a=Ul(u),a!==null&&Gf(a),o.blockedOn=u,!1;a.shift()}return!0}function V0(o,a,u){Nu(o)&&u.delete(a)}function BT(){Xf=!1,To!==null&&Nu(To)&&(To=null),ko!==null&&Nu(ko)&&(ko=null),Po!==null&&Nu(Po)&&(Po=null),Ml.forEach(V0),_l.forEach(V0)}function Rl(o,a){o.blockedOn===a&&(o.blockedOn=null,Xf||(Xf=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,BT)))}function Il(o){function a(b){return Rl(b,o)}if(0<Lu.length){Rl(Lu[0],o);for(var u=1;u<Lu.length;u++){var f=Lu[u];f.blockedOn===o&&(f.blockedOn=null)}}for(To!==null&&Rl(To,o),ko!==null&&Rl(ko,o),Po!==null&&Rl(Po,o),Ml.forEach(a),_l.forEach(a),u=0;u<Mo.length;u++)f=Mo[u],f.blockedOn===o&&(f.blockedOn=null);for(;0<Mo.length&&(u=Mo[0],u.blockedOn===null);)H0(u),u.blockedOn===null&&Mo.shift()}var is=E.ReactCurrentBatchConfig,$u=!0;function DT(o,a,u,f){var b=jt,S=is.transition;is.transition=null;try{jt=1,Kf(o,a,u,f)}finally{jt=b,is.transition=S}}function FT(o,a,u,f){var b=jt,S=is.transition;is.transition=null;try{jt=4,Kf(o,a,u,f)}finally{jt=b,is.transition=S}}function Kf(o,a,u,f){if($u){var b=Qf(o,a,u,f);if(b===null)fh(o,a,f,zu,u),F0(o,f);else if(zT(b,o,a,u,f))f.stopPropagation();else if(F0(o,f),a&4&&-1<$T.indexOf(o)){for(;b!==null;){var S=Ul(b);if(S!==null&&$0(S),S=Qf(o,a,u,f),S===null&&fh(o,a,f,zu,u),S===b)break;b=S}b!==null&&f.stopPropagation()}else fh(o,a,f,null,u)}}var zu=null;function Qf(o,a,u,f){if(zu=null,o=Co(f),o=ha(o),o!==null)if(a=fa(o),a===null)o=null;else if(u=a.tag,u===13){if(o=P0(a),o!==null)return o;o=null}else if(u===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;o=null}else a!==o&&(o=null);return zu=o,null}function U0(o){switch(o){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(MT()){case Vf:return 1;case j0:return 4;case Au:case _T:return 16;case O0:return 536870912;default:return 16}default:return 16}}var _o=null,Yf=null,Bu=null;function W0(){if(Bu)return Bu;var o,a=Yf,u=a.length,f,b="value"in _o?_o.value:_o.textContent,S=b.length;for(o=0;o<u&&a[o]===b[o];o++);var j=u-o;for(f=1;f<=j&&a[u-f]===b[S-f];f++);return Bu=b.slice(o,1<f?1-f:void 0)}function Du(o){var a=o.keyCode;return"charCode"in o?(o=o.charCode,o===0&&a===13&&(o=13)):o=a,o===10&&(o=13),32<=o||o===13?o:0}function Fu(){return!0}function q0(){return!1}function xn(o){function a(u,f,b,S,j){this._reactName=u,this._targetInst=b,this.type=f,this.nativeEvent=S,this.target=j,this.currentTarget=null;for(var Y in o)o.hasOwnProperty(Y)&&(u=o[Y],this[Y]=u?u(S):S[Y]);return this.isDefaultPrevented=(S.defaultPrevented!=null?S.defaultPrevented:S.returnValue===!1)?Fu:q0,this.isPropagationStopped=q0,this}return Q(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=Fu)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=Fu)},persist:function(){},isPersistent:Fu}),a}var os={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(o){return o.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Jf=xn(os),jl=Q({},os,{view:0,detail:0}),HT=xn(jl),Zf,eh,Ol,Hu=Q({},jl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:rh,button:0,buttons:0,relatedTarget:function(o){return o.relatedTarget===void 0?o.fromElement===o.srcElement?o.toElement:o.fromElement:o.relatedTarget},movementX:function(o){return"movementX"in o?o.movementX:(o!==Ol&&(Ol&&o.type==="mousemove"?(Zf=o.screenX-Ol.screenX,eh=o.screenY-Ol.screenY):eh=Zf=0,Ol=o),Zf)},movementY:function(o){return"movementY"in o?o.movementY:eh}}),G0=xn(Hu),VT=Q({},Hu,{dataTransfer:0}),UT=xn(VT),WT=Q({},jl,{relatedTarget:0}),th=xn(WT),qT=Q({},os,{animationName:0,elapsedTime:0,pseudoElement:0}),GT=xn(qT),XT=Q({},os,{clipboardData:function(o){return"clipboardData"in o?o.clipboardData:window.clipboardData}}),KT=xn(XT),QT=Q({},os,{data:0}),X0=xn(QT),YT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},JT={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ZT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ek(o){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(o):(o=ZT[o])?!!a[o]:!1}function rh(){return ek}var tk=Q({},jl,{key:function(o){if(o.key){var a=YT[o.key]||o.key;if(a!=="Unidentified")return a}return o.type==="keypress"?(o=Du(o),o===13?"Enter":String.fromCharCode(o)):o.type==="keydown"||o.type==="keyup"?JT[o.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:rh,charCode:function(o){return o.type==="keypress"?Du(o):0},keyCode:function(o){return o.type==="keydown"||o.type==="keyup"?o.keyCode:0},which:function(o){return o.type==="keypress"?Du(o):o.type==="keydown"||o.type==="keyup"?o.keyCode:0}}),rk=xn(tk),nk=Q({},Hu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),K0=xn(nk),ik=Q({},jl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:rh}),ok=xn(ik),ak=Q({},os,{propertyName:0,elapsedTime:0,pseudoElement:0}),sk=xn(ak),lk=Q({},Hu,{deltaX:function(o){return"deltaX"in o?o.deltaX:"wheelDeltaX"in o?-o.wheelDeltaX:0},deltaY:function(o){return"deltaY"in o?o.deltaY:"wheelDeltaY"in o?-o.wheelDeltaY:"wheelDelta"in o?-o.wheelDelta:0},deltaZ:0,deltaMode:0}),ck=xn(lk),uk=[9,13,27,32],nh=c&&"CompositionEvent"in window,Ll=null;c&&"documentMode"in document&&(Ll=document.documentMode);var dk=c&&"TextEvent"in window&&!Ll,Q0=c&&(!nh||Ll&&8<Ll&&11>=Ll),Y0=" ",J0=!1;function Z0(o,a){switch(o){case"keyup":return uk.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ev(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var as=!1;function pk(o,a){switch(o){case"compositionend":return ev(a);case"keypress":return a.which!==32?null:(J0=!0,Y0);case"textInput":return o=a.data,o===Y0&&J0?null:o;default:return null}}function fk(o,a){if(as)return o==="compositionend"||!nh&&Z0(o,a)?(o=W0(),Bu=Yf=_o=null,as=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return Q0&&a.locale!=="ko"?null:a.data;default:return null}}var hk={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function tv(o){var a=o&&o.nodeName&&o.nodeName.toLowerCase();return a==="input"?!!hk[o.type]:a==="textarea"}function rv(o,a,u,f){ei(f),a=Gu(a,"onChange"),0<a.length&&(u=new Jf("onChange","change",null,u,f),o.push({event:u,listeners:a}))}var Nl=null,$l=null;function mk(o){xv(o,0)}function Vu(o){var a=ds(o);if(De(a))return o}function gk(o,a){if(o==="change")return a}var nv=!1;if(c){var ih;if(c){var oh="oninput"in document;if(!oh){var iv=document.createElement("div");iv.setAttribute("oninput","return;"),oh=typeof iv.oninput=="function"}ih=oh}else ih=!1;nv=ih&&(!document.documentMode||9<document.documentMode)}function ov(){Nl&&(Nl.detachEvent("onpropertychange",av),$l=Nl=null)}function av(o){if(o.propertyName==="value"&&Vu($l)){var a=[];rv(a,$l,o,Co(o)),Sl(mk,a)}}function yk(o,a,u){o==="focusin"?(ov(),Nl=a,$l=u,Nl.attachEvent("onpropertychange",av)):o==="focusout"&&ov()}function vk(o){if(o==="selectionchange"||o==="keyup"||o==="keydown")return Vu($l)}function bk(o,a){if(o==="click")return Vu(a)}function xk(o,a){if(o==="input"||o==="change")return Vu(a)}function wk(o,a){return o===a&&(o!==0||1/o===1/a)||o!==o&&a!==a}var ri=typeof Object.is=="function"?Object.is:wk;function zl(o,a){if(ri(o,a))return!0;if(typeof o!="object"||o===null||typeof a!="object"||a===null)return!1;var u=Object.keys(o),f=Object.keys(a);if(u.length!==f.length)return!1;for(f=0;f<u.length;f++){var b=u[f];if(!d.call(a,b)||!ri(o[b],a[b]))return!1}return!0}function sv(o){for(;o&&o.firstChild;)o=o.firstChild;return o}function lv(o,a){var u=sv(o);o=0;for(var f;u;){if(u.nodeType===3){if(f=o+u.textContent.length,o<=a&&f>=a)return{node:u,offset:a-o};o=f}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=sv(u)}}function cv(o,a){return o&&a?o===a?!0:o&&o.nodeType===3?!1:a&&a.nodeType===3?cv(o,a.parentNode):"contains"in o?o.contains(a):o.compareDocumentPosition?!!(o.compareDocumentPosition(a)&16):!1:!1}function uv(){for(var o=window,a=ze();a instanceof o.HTMLIFrameElement;){try{var u=typeof a.contentWindow.location.href=="string"}catch{u=!1}if(u)o=a.contentWindow;else break;a=ze(o.document)}return a}function ah(o){var a=o&&o.nodeName&&o.nodeName.toLowerCase();return a&&(a==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||a==="textarea"||o.contentEditable==="true")}function Sk(o){var a=uv(),u=o.focusedElem,f=o.selectionRange;if(a!==u&&u&&u.ownerDocument&&cv(u.ownerDocument.documentElement,u)){if(f!==null&&ah(u)){if(a=f.start,o=f.end,o===void 0&&(o=a),"selectionStart"in u)u.selectionStart=a,u.selectionEnd=Math.min(o,u.value.length);else if(o=(a=u.ownerDocument||document)&&a.defaultView||window,o.getSelection){o=o.getSelection();var b=u.textContent.length,S=Math.min(f.start,b);f=f.end===void 0?S:Math.min(f.end,b),!o.extend&&S>f&&(b=f,f=S,S=b),b=lv(u,S);var j=lv(u,f);b&&j&&(o.rangeCount!==1||o.anchorNode!==b.node||o.anchorOffset!==b.offset||o.focusNode!==j.node||o.focusOffset!==j.offset)&&(a=a.createRange(),a.setStart(b.node,b.offset),o.removeAllRanges(),S>f?(o.addRange(a),o.extend(j.node,j.offset)):(a.setEnd(j.node,j.offset),o.addRange(a)))}}for(a=[],o=u;o=o.parentNode;)o.nodeType===1&&a.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof u.focus=="function"&&u.focus(),u=0;u<a.length;u++)o=a[u],o.element.scrollLeft=o.left,o.element.scrollTop=o.top}}var Ck=c&&"documentMode"in document&&11>=document.documentMode,ss=null,sh=null,Bl=null,lh=!1;function dv(o,a,u){var f=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;lh||ss==null||ss!==ze(f)||(f=ss,"selectionStart"in f&&ah(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),Bl&&zl(Bl,f)||(Bl=f,f=Gu(sh,"onSelect"),0<f.length&&(a=new Jf("onSelect","select",null,a,u),o.push({event:a,listeners:f}),a.target=ss)))}function Uu(o,a){var u={};return u[o.toLowerCase()]=a.toLowerCase(),u["Webkit"+o]="webkit"+a,u["Moz"+o]="moz"+a,u}var ls={animationend:Uu("Animation","AnimationEnd"),animationiteration:Uu("Animation","AnimationIteration"),animationstart:Uu("Animation","AnimationStart"),transitionend:Uu("Transition","TransitionEnd")},ch={},pv={};c&&(pv=document.createElement("div").style,"AnimationEvent"in window||(delete ls.animationend.animation,delete ls.animationiteration.animation,delete ls.animationstart.animation),"TransitionEvent"in window||delete ls.transitionend.transition);function Wu(o){if(ch[o])return ch[o];if(!ls[o])return o;var a=ls[o],u;for(u in a)if(a.hasOwnProperty(u)&&u in pv)return ch[o]=a[u];return o}var fv=Wu("animationend"),hv=Wu("animationiteration"),mv=Wu("animationstart"),gv=Wu("transitionend"),yv=new Map,vv="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ao(o,a){yv.set(o,a),s(a,[o])}for(var uh=0;uh<vv.length;uh++){var dh=vv[uh],Ek=dh.toLowerCase(),Tk=dh[0].toUpperCase()+dh.slice(1);Ao(Ek,"on"+Tk)}Ao(fv,"onAnimationEnd"),Ao(hv,"onAnimationIteration"),Ao(mv,"onAnimationStart"),Ao("dblclick","onDoubleClick"),Ao("focusin","onFocus"),Ao("focusout","onBlur"),Ao(gv,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Dl="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),kk=new Set("cancel close invalid load scroll toggle".split(" ").concat(Dl));function bv(o,a,u){var f=o.type||"unknown-event";o.currentTarget=u,ET(f,a,void 0,o),o.currentTarget=null}function xv(o,a){a=(a&4)!==0;for(var u=0;u<o.length;u++){var f=o[u],b=f.event;f=f.listeners;e:{var S=void 0;if(a)for(var j=f.length-1;0<=j;j--){var Y=f[j],re=Y.instance,fe=Y.currentTarget;if(Y=Y.listener,re!==S&&b.isPropagationStopped())break e;bv(b,Y,fe),S=re}else for(j=0;j<f.length;j++){if(Y=f[j],re=Y.instance,fe=Y.currentTarget,Y=Y.listener,re!==S&&b.isPropagationStopped())break e;bv(b,Y,fe),S=re}}}if(_u)throw o=Hf,_u=!1,Hf=null,o}function Vt(o,a){var u=a[bh];u===void 0&&(u=a[bh]=new Set);var f=o+"__bubble";u.has(f)||(wv(a,o,2,!1),u.add(f))}function ph(o,a,u){var f=0;a&&(f|=4),wv(u,o,f,a)}var qu="_reactListening"+Math.random().toString(36).slice(2);function Fl(o){if(!o[qu]){o[qu]=!0,n.forEach(function(u){u!=="selectionchange"&&(kk.has(u)||ph(u,!1,o),ph(u,!0,o))});var a=o.nodeType===9?o:o.ownerDocument;a===null||a[qu]||(a[qu]=!0,ph("selectionchange",!1,a))}}function wv(o,a,u,f){switch(U0(a)){case 1:var b=DT;break;case 4:b=FT;break;default:b=Kf}u=b.bind(null,a,u,o),b=void 0,!Ff||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(b=!0),f?b!==void 0?o.addEventListener(a,u,{capture:!0,passive:b}):o.addEventListener(a,u,!0):b!==void 0?o.addEventListener(a,u,{passive:b}):o.addEventListener(a,u,!1)}function fh(o,a,u,f,b){var S=f;if((a&1)===0&&(a&2)===0&&f!==null)e:for(;;){if(f===null)return;var j=f.tag;if(j===3||j===4){var Y=f.stateNode.containerInfo;if(Y===b||Y.nodeType===8&&Y.parentNode===b)break;if(j===4)for(j=f.return;j!==null;){var re=j.tag;if((re===3||re===4)&&(re=j.stateNode.containerInfo,re===b||re.nodeType===8&&re.parentNode===b))return;j=j.return}for(;Y!==null;){if(j=ha(Y),j===null)return;if(re=j.tag,re===5||re===6){f=S=j;continue e}Y=Y.parentNode}}f=f.return}Sl(function(){var fe=S,Ee=Co(u),ke=[];e:{var Se=yv.get(o);if(Se!==void 0){var Ne=Jf,Ue=o;switch(o){case"keypress":if(Du(u)===0)break e;case"keydown":case"keyup":Ne=rk;break;case"focusin":Ue="focus",Ne=th;break;case"focusout":Ue="blur",Ne=th;break;case"beforeblur":case"afterblur":Ne=th;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ne=G0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ne=UT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ne=ok;break;case fv:case hv:case mv:Ne=GT;break;case gv:Ne=sk;break;case"scroll":Ne=HT;break;case"wheel":Ne=ck;break;case"copy":case"cut":case"paste":Ne=KT;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ne=K0}var qe=(a&4)!==0,ir=!qe&&o==="scroll",ce=qe?Se!==null?Se+"Capture":null:Se;qe=[];for(var ae=fe,de;ae!==null;){de=ae;var Me=de.stateNode;if(de.tag===5&&Me!==null&&(de=Me,ce!==null&&(Me=Cl(ae,ce),Me!=null&&qe.push(Hl(ae,Me,de)))),ir)break;ae=ae.return}0<qe.length&&(Se=new Ne(Se,Ue,null,u,Ee),ke.push({event:Se,listeners:qe}))}}if((a&7)===0){e:{if(Se=o==="mouseover"||o==="pointerover",Ne=o==="mouseout"||o==="pointerout",Se&&u!==Zn&&(Ue=u.relatedTarget||u.fromElement)&&(ha(Ue)||Ue[Qi]))break e;if((Ne||Se)&&(Se=Ee.window===Ee?Ee:(Se=Ee.ownerDocument)?Se.defaultView||Se.parentWindow:window,Ne?(Ue=u.relatedTarget||u.toElement,Ne=fe,Ue=Ue?ha(Ue):null,Ue!==null&&(ir=fa(Ue),Ue!==ir||Ue.tag!==5&&Ue.tag!==6)&&(Ue=null)):(Ne=null,Ue=fe),Ne!==Ue)){if(qe=G0,Me="onMouseLeave",ce="onMouseEnter",ae="mouse",(o==="pointerout"||o==="pointerover")&&(qe=K0,Me="onPointerLeave",ce="onPointerEnter",ae="pointer"),ir=Ne==null?Se:ds(Ne),de=Ue==null?Se:ds(Ue),Se=new qe(Me,ae+"leave",Ne,u,Ee),Se.target=ir,Se.relatedTarget=de,Me=null,ha(Ee)===fe&&(qe=new qe(ce,ae+"enter",Ue,u,Ee),qe.target=de,qe.relatedTarget=ir,Me=qe),ir=Me,Ne&&Ue)t:{for(qe=Ne,ce=Ue,ae=0,de=qe;de;de=cs(de))ae++;for(de=0,Me=ce;Me;Me=cs(Me))de++;for(;0<ae-de;)qe=cs(qe),ae--;for(;0<de-ae;)ce=cs(ce),de--;for(;ae--;){if(qe===ce||ce!==null&&qe===ce.alternate)break t;qe=cs(qe),ce=cs(ce)}qe=null}else qe=null;Ne!==null&&Sv(ke,Se,Ne,qe,!1),Ue!==null&&ir!==null&&Sv(ke,ir,Ue,qe,!0)}}e:{if(Se=fe?ds(fe):window,Ne=Se.nodeName&&Se.nodeName.toLowerCase(),Ne==="select"||Ne==="input"&&Se.type==="file")var Xe=gk;else if(tv(Se))if(nv)Xe=xk;else{Xe=vk;var rt=yk}else(Ne=Se.nodeName)&&Ne.toLowerCase()==="input"&&(Se.type==="checkbox"||Se.type==="radio")&&(Xe=bk);if(Xe&&(Xe=Xe(o,fe))){rv(ke,Xe,u,Ee);break e}rt&&rt(o,Se,fe),o==="focusout"&&(rt=Se._wrapperState)&&rt.controlled&&Se.type==="number"&&St(Se,"number",Se.value)}switch(rt=fe?ds(fe):window,o){case"focusin":(tv(rt)||rt.contentEditable==="true")&&(ss=rt,sh=fe,Bl=null);break;case"focusout":Bl=sh=ss=null;break;case"mousedown":lh=!0;break;case"contextmenu":case"mouseup":case"dragend":lh=!1,dv(ke,u,Ee);break;case"selectionchange":if(Ck)break;case"keydown":case"keyup":dv(ke,u,Ee)}var nt;if(nh)e:{switch(o){case"compositionstart":var ct="onCompositionStart";break e;case"compositionend":ct="onCompositionEnd";break e;case"compositionupdate":ct="onCompositionUpdate";break e}ct=void 0}else as?Z0(o,u)&&(ct="onCompositionEnd"):o==="keydown"&&u.keyCode===229&&(ct="onCompositionStart");ct&&(Q0&&u.locale!=="ko"&&(as||ct!=="onCompositionStart"?ct==="onCompositionEnd"&&as&&(nt=W0()):(_o=Ee,Yf="value"in _o?_o.value:_o.textContent,as=!0)),rt=Gu(fe,ct),0<rt.length&&(ct=new X0(ct,o,null,u,Ee),ke.push({event:ct,listeners:rt}),nt?ct.data=nt:(nt=ev(u),nt!==null&&(ct.data=nt)))),(nt=dk?pk(o,u):fk(o,u))&&(fe=Gu(fe,"onBeforeInput"),0<fe.length&&(Ee=new X0("onBeforeInput","beforeinput",null,u,Ee),ke.push({event:Ee,listeners:fe}),Ee.data=nt))}xv(ke,a)})}function Hl(o,a,u){return{instance:o,listener:a,currentTarget:u}}function Gu(o,a){for(var u=a+"Capture",f=[];o!==null;){var b=o,S=b.stateNode;b.tag===5&&S!==null&&(b=S,S=Cl(o,u),S!=null&&f.unshift(Hl(o,S,b)),S=Cl(o,a),S!=null&&f.push(Hl(o,S,b))),o=o.return}return f}function cs(o){if(o===null)return null;do o=o.return;while(o&&o.tag!==5);return o||null}function Sv(o,a,u,f,b){for(var S=a._reactName,j=[];u!==null&&u!==f;){var Y=u,re=Y.alternate,fe=Y.stateNode;if(re!==null&&re===f)break;Y.tag===5&&fe!==null&&(Y=fe,b?(re=Cl(u,S),re!=null&&j.unshift(Hl(u,re,Y))):b||(re=Cl(u,S),re!=null&&j.push(Hl(u,re,Y)))),u=u.return}j.length!==0&&o.push({event:a,listeners:j})}var Pk=/\r\n?/g,Mk=/\u0000|\uFFFD/g;function Cv(o){return(typeof o=="string"?o:""+o).replace(Pk,`
38
- `).replace(Mk,"")}function Xu(o,a,u){if(a=Cv(a),Cv(o)!==a&&u)throw Error(r(425))}function Ku(){}var hh=null,mh=null;function gh(o,a){return o==="textarea"||o==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var yh=typeof setTimeout=="function"?setTimeout:void 0,_k=typeof clearTimeout=="function"?clearTimeout:void 0,Ev=typeof Promise=="function"?Promise:void 0,Ak=typeof queueMicrotask=="function"?queueMicrotask:typeof Ev<"u"?function(o){return Ev.resolve(null).then(o).catch(Rk)}:yh;function Rk(o){setTimeout(function(){throw o})}function vh(o,a){var u=a,f=0;do{var b=u.nextSibling;if(o.removeChild(u),b&&b.nodeType===8)if(u=b.data,u==="/$"){if(f===0){o.removeChild(b),Il(a);return}f--}else u!=="$"&&u!=="$?"&&u!=="$!"||f++;u=b}while(u);Il(a)}function Ro(o){for(;o!=null;o=o.nextSibling){var a=o.nodeType;if(a===1||a===3)break;if(a===8){if(a=o.data,a==="$"||a==="$!"||a==="$?")break;if(a==="/$")return null}}return o}function Tv(o){o=o.previousSibling;for(var a=0;o;){if(o.nodeType===8){var u=o.data;if(u==="$"||u==="$!"||u==="$?"){if(a===0)return o;a--}else u==="/$"&&a++}o=o.previousSibling}return null}var us=Math.random().toString(36).slice(2),wi="__reactFiber$"+us,Vl="__reactProps$"+us,Qi="__reactContainer$"+us,bh="__reactEvents$"+us,Ik="__reactListeners$"+us,jk="__reactHandles$"+us;function ha(o){var a=o[wi];if(a)return a;for(var u=o.parentNode;u;){if(a=u[Qi]||u[wi]){if(u=a.alternate,a.child!==null||u!==null&&u.child!==null)for(o=Tv(o);o!==null;){if(u=o[wi])return u;o=Tv(o)}return a}o=u,u=o.parentNode}return null}function Ul(o){return o=o[wi]||o[Qi],!o||o.tag!==5&&o.tag!==6&&o.tag!==13&&o.tag!==3?null:o}function ds(o){if(o.tag===5||o.tag===6)return o.stateNode;throw Error(r(33))}function Qu(o){return o[Vl]||null}var xh=[],ps=-1;function Io(o){return{current:o}}function Ut(o){0>ps||(o.current=xh[ps],xh[ps]=null,ps--)}function Ht(o,a){ps++,xh[ps]=o.current,o.current=a}var jo={},jr=Io(jo),en=Io(!1),ma=jo;function fs(o,a){var u=o.type.contextTypes;if(!u)return jo;var f=o.stateNode;if(f&&f.__reactInternalMemoizedUnmaskedChildContext===a)return f.__reactInternalMemoizedMaskedChildContext;var b={},S;for(S in u)b[S]=a[S];return f&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=a,o.__reactInternalMemoizedMaskedChildContext=b),b}function tn(o){return o=o.childContextTypes,o!=null}function Yu(){Ut(en),Ut(jr)}function kv(o,a,u){if(jr.current!==jo)throw Error(r(168));Ht(jr,a),Ht(en,u)}function Pv(o,a,u){var f=o.stateNode;if(a=a.childContextTypes,typeof f.getChildContext!="function")return u;f=f.getChildContext();for(var b in f)if(!(b in a))throw Error(r(108,pe(o)||"Unknown",b));return Q({},u,f)}function Ju(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||jo,ma=jr.current,Ht(jr,o),Ht(en,en.current),!0}function Mv(o,a,u){var f=o.stateNode;if(!f)throw Error(r(169));u?(o=Pv(o,a,ma),f.__reactInternalMemoizedMergedChildContext=o,Ut(en),Ut(jr),Ht(jr,o)):Ut(en),Ht(en,u)}var Yi=null,Zu=!1,wh=!1;function _v(o){Yi===null?Yi=[o]:Yi.push(o)}function Ok(o){Zu=!0,_v(o)}function Oo(){if(!wh&&Yi!==null){wh=!0;var o=0,a=jt;try{var u=Yi;for(jt=1;o<u.length;o++){var f=u[o];do f=f(!0);while(f!==null)}Yi=null,Zu=!1}catch(b){throw Yi!==null&&(Yi=Yi.slice(o+1)),R0(Vf,Oo),b}finally{jt=a,wh=!1}}return null}var hs=[],ms=0,ed=null,td=0,jn=[],On=0,ga=null,Ji=1,Zi="";function ya(o,a){hs[ms++]=td,hs[ms++]=ed,ed=o,td=a}function Av(o,a,u){jn[On++]=Ji,jn[On++]=Zi,jn[On++]=ga,ga=o;var f=Ji;o=Zi;var b=32-ti(f)-1;f&=~(1<<b),u+=1;var S=32-ti(a)+b;if(30<S){var j=b-b%5;S=(f&(1<<j)-1).toString(32),f>>=j,b-=j,Ji=1<<32-ti(a)+b|u<<b|f,Zi=S+o}else Ji=1<<S|u<<b|f,Zi=o}function Sh(o){o.return!==null&&(ya(o,1),Av(o,1,0))}function Ch(o){for(;o===ed;)ed=hs[--ms],hs[ms]=null,td=hs[--ms],hs[ms]=null;for(;o===ga;)ga=jn[--On],jn[On]=null,Zi=jn[--On],jn[On]=null,Ji=jn[--On],jn[On]=null}var wn=null,Sn=null,Wt=!1,ni=null;function Rv(o,a){var u=zn(5,null,null,0);u.elementType="DELETED",u.stateNode=a,u.return=o,a=o.deletions,a===null?(o.deletions=[u],o.flags|=16):a.push(u)}function Iv(o,a){switch(o.tag){case 5:var u=o.type;return a=a.nodeType!==1||u.toLowerCase()!==a.nodeName.toLowerCase()?null:a,a!==null?(o.stateNode=a,wn=o,Sn=Ro(a.firstChild),!0):!1;case 6:return a=o.pendingProps===""||a.nodeType!==3?null:a,a!==null?(o.stateNode=a,wn=o,Sn=null,!0):!1;case 13:return a=a.nodeType!==8?null:a,a!==null?(u=ga!==null?{id:Ji,overflow:Zi}:null,o.memoizedState={dehydrated:a,treeContext:u,retryLane:1073741824},u=zn(18,null,null,0),u.stateNode=a,u.return=o,o.child=u,wn=o,Sn=null,!0):!1;default:return!1}}function Eh(o){return(o.mode&1)!==0&&(o.flags&128)===0}function Th(o){if(Wt){var a=Sn;if(a){var u=a;if(!Iv(o,a)){if(Eh(o))throw Error(r(418));a=Ro(u.nextSibling);var f=wn;a&&Iv(o,a)?Rv(f,u):(o.flags=o.flags&-4097|2,Wt=!1,wn=o)}}else{if(Eh(o))throw Error(r(418));o.flags=o.flags&-4097|2,Wt=!1,wn=o}}}function jv(o){for(o=o.return;o!==null&&o.tag!==5&&o.tag!==3&&o.tag!==13;)o=o.return;wn=o}function rd(o){if(o!==wn)return!1;if(!Wt)return jv(o),Wt=!0,!1;var a;if((a=o.tag!==3)&&!(a=o.tag!==5)&&(a=o.type,a=a!=="head"&&a!=="body"&&!gh(o.type,o.memoizedProps)),a&&(a=Sn)){if(Eh(o))throw Ov(),Error(r(418));for(;a;)Rv(o,a),a=Ro(a.nextSibling)}if(jv(o),o.tag===13){if(o=o.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(r(317));e:{for(o=o.nextSibling,a=0;o;){if(o.nodeType===8){var u=o.data;if(u==="/$"){if(a===0){Sn=Ro(o.nextSibling);break e}a--}else u!=="$"&&u!=="$!"&&u!=="$?"||a++}o=o.nextSibling}Sn=null}}else Sn=wn?Ro(o.stateNode.nextSibling):null;return!0}function Ov(){for(var o=Sn;o;)o=Ro(o.nextSibling)}function gs(){Sn=wn=null,Wt=!1}function kh(o){ni===null?ni=[o]:ni.push(o)}var Lk=E.ReactCurrentBatchConfig;function Wl(o,a,u){if(o=u.ref,o!==null&&typeof o!="function"&&typeof o!="object"){if(u._owner){if(u=u._owner,u){if(u.tag!==1)throw Error(r(309));var f=u.stateNode}if(!f)throw Error(r(147,o));var b=f,S=""+o;return a!==null&&a.ref!==null&&typeof a.ref=="function"&&a.ref._stringRef===S?a.ref:(a=function(j){var Y=b.refs;j===null?delete Y[S]:Y[S]=j},a._stringRef=S,a)}if(typeof o!="string")throw Error(r(284));if(!u._owner)throw Error(r(290,o))}return o}function nd(o,a){throw o=Object.prototype.toString.call(a),Error(r(31,o==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":o))}function Lv(o){var a=o._init;return a(o._payload)}function Nv(o){function a(ce,ae){if(o){var de=ce.deletions;de===null?(ce.deletions=[ae],ce.flags|=16):de.push(ae)}}function u(ce,ae){if(!o)return null;for(;ae!==null;)a(ce,ae),ae=ae.sibling;return null}function f(ce,ae){for(ce=new Map;ae!==null;)ae.key!==null?ce.set(ae.key,ae):ce.set(ae.index,ae),ae=ae.sibling;return ce}function b(ce,ae){return ce=Ho(ce,ae),ce.index=0,ce.sibling=null,ce}function S(ce,ae,de){return ce.index=de,o?(de=ce.alternate,de!==null?(de=de.index,de<ae?(ce.flags|=2,ae):de):(ce.flags|=2,ae)):(ce.flags|=1048576,ae)}function j(ce){return o&&ce.alternate===null&&(ce.flags|=2),ce}function Y(ce,ae,de,Me){return ae===null||ae.tag!==6?(ae=ym(de,ce.mode,Me),ae.return=ce,ae):(ae=b(ae,de),ae.return=ce,ae)}function re(ce,ae,de,Me){var Xe=de.type;return Xe===D?Ee(ce,ae,de.props.children,Me,de.key):ae!==null&&(ae.elementType===Xe||typeof Xe=="object"&&Xe!==null&&Xe.$$typeof===V&&Lv(Xe)===ae.type)?(Me=b(ae,de.props),Me.ref=Wl(ce,ae,de),Me.return=ce,Me):(Me=Pd(de.type,de.key,de.props,null,ce.mode,Me),Me.ref=Wl(ce,ae,de),Me.return=ce,Me)}function fe(ce,ae,de,Me){return ae===null||ae.tag!==4||ae.stateNode.containerInfo!==de.containerInfo||ae.stateNode.implementation!==de.implementation?(ae=vm(de,ce.mode,Me),ae.return=ce,ae):(ae=b(ae,de.children||[]),ae.return=ce,ae)}function Ee(ce,ae,de,Me,Xe){return ae===null||ae.tag!==7?(ae=Ta(de,ce.mode,Me,Xe),ae.return=ce,ae):(ae=b(ae,de),ae.return=ce,ae)}function ke(ce,ae,de){if(typeof ae=="string"&&ae!==""||typeof ae=="number")return ae=ym(""+ae,ce.mode,de),ae.return=ce,ae;if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case A:return de=Pd(ae.type,ae.key,ae.props,null,ce.mode,de),de.ref=Wl(ce,null,ae),de.return=ce,de;case I:return ae=vm(ae,ce.mode,de),ae.return=ce,ae;case V:var Me=ae._init;return ke(ce,Me(ae._payload),de)}if(xt(ae)||Z(ae))return ae=Ta(ae,ce.mode,de,null),ae.return=ce,ae;nd(ce,ae)}return null}function Se(ce,ae,de,Me){var Xe=ae!==null?ae.key:null;if(typeof de=="string"&&de!==""||typeof de=="number")return Xe!==null?null:Y(ce,ae,""+de,Me);if(typeof de=="object"&&de!==null){switch(de.$$typeof){case A:return de.key===Xe?re(ce,ae,de,Me):null;case I:return de.key===Xe?fe(ce,ae,de,Me):null;case V:return Xe=de._init,Se(ce,ae,Xe(de._payload),Me)}if(xt(de)||Z(de))return Xe!==null?null:Ee(ce,ae,de,Me,null);nd(ce,de)}return null}function Ne(ce,ae,de,Me,Xe){if(typeof Me=="string"&&Me!==""||typeof Me=="number")return ce=ce.get(de)||null,Y(ae,ce,""+Me,Xe);if(typeof Me=="object"&&Me!==null){switch(Me.$$typeof){case A:return ce=ce.get(Me.key===null?de:Me.key)||null,re(ae,ce,Me,Xe);case I:return ce=ce.get(Me.key===null?de:Me.key)||null,fe(ae,ce,Me,Xe);case V:var rt=Me._init;return Ne(ce,ae,de,rt(Me._payload),Xe)}if(xt(Me)||Z(Me))return ce=ce.get(de)||null,Ee(ae,ce,Me,Xe,null);nd(ae,Me)}return null}function Ue(ce,ae,de,Me){for(var Xe=null,rt=null,nt=ae,ct=ae=0,wr=null;nt!==null&&ct<de.length;ct++){nt.index>ct?(wr=nt,nt=null):wr=nt.sibling;var _t=Se(ce,nt,de[ct],Me);if(_t===null){nt===null&&(nt=wr);break}o&&nt&&_t.alternate===null&&a(ce,nt),ae=S(_t,ae,ct),rt===null?Xe=_t:rt.sibling=_t,rt=_t,nt=wr}if(ct===de.length)return u(ce,nt),Wt&&ya(ce,ct),Xe;if(nt===null){for(;ct<de.length;ct++)nt=ke(ce,de[ct],Me),nt!==null&&(ae=S(nt,ae,ct),rt===null?Xe=nt:rt.sibling=nt,rt=nt);return Wt&&ya(ce,ct),Xe}for(nt=f(ce,nt);ct<de.length;ct++)wr=Ne(nt,ce,ct,de[ct],Me),wr!==null&&(o&&wr.alternate!==null&&nt.delete(wr.key===null?ct:wr.key),ae=S(wr,ae,ct),rt===null?Xe=wr:rt.sibling=wr,rt=wr);return o&&nt.forEach(function(Vo){return a(ce,Vo)}),Wt&&ya(ce,ct),Xe}function qe(ce,ae,de,Me){var Xe=Z(de);if(typeof Xe!="function")throw Error(r(150));if(de=Xe.call(de),de==null)throw Error(r(151));for(var rt=Xe=null,nt=ae,ct=ae=0,wr=null,_t=de.next();nt!==null&&!_t.done;ct++,_t=de.next()){nt.index>ct?(wr=nt,nt=null):wr=nt.sibling;var Vo=Se(ce,nt,_t.value,Me);if(Vo===null){nt===null&&(nt=wr);break}o&&nt&&Vo.alternate===null&&a(ce,nt),ae=S(Vo,ae,ct),rt===null?Xe=Vo:rt.sibling=Vo,rt=Vo,nt=wr}if(_t.done)return u(ce,nt),Wt&&ya(ce,ct),Xe;if(nt===null){for(;!_t.done;ct++,_t=de.next())_t=ke(ce,_t.value,Me),_t!==null&&(ae=S(_t,ae,ct),rt===null?Xe=_t:rt.sibling=_t,rt=_t);return Wt&&ya(ce,ct),Xe}for(nt=f(ce,nt);!_t.done;ct++,_t=de.next())_t=Ne(nt,ce,ct,_t.value,Me),_t!==null&&(o&&_t.alternate!==null&&nt.delete(_t.key===null?ct:_t.key),ae=S(_t,ae,ct),rt===null?Xe=_t:rt.sibling=_t,rt=_t);return o&&nt.forEach(function(hP){return a(ce,hP)}),Wt&&ya(ce,ct),Xe}function ir(ce,ae,de,Me){if(typeof de=="object"&&de!==null&&de.type===D&&de.key===null&&(de=de.props.children),typeof de=="object"&&de!==null){switch(de.$$typeof){case A:e:{for(var Xe=de.key,rt=ae;rt!==null;){if(rt.key===Xe){if(Xe=de.type,Xe===D){if(rt.tag===7){u(ce,rt.sibling),ae=b(rt,de.props.children),ae.return=ce,ce=ae;break e}}else if(rt.elementType===Xe||typeof Xe=="object"&&Xe!==null&&Xe.$$typeof===V&&Lv(Xe)===rt.type){u(ce,rt.sibling),ae=b(rt,de.props),ae.ref=Wl(ce,rt,de),ae.return=ce,ce=ae;break e}u(ce,rt);break}else a(ce,rt);rt=rt.sibling}de.type===D?(ae=Ta(de.props.children,ce.mode,Me,de.key),ae.return=ce,ce=ae):(Me=Pd(de.type,de.key,de.props,null,ce.mode,Me),Me.ref=Wl(ce,ae,de),Me.return=ce,ce=Me)}return j(ce);case I:e:{for(rt=de.key;ae!==null;){if(ae.key===rt)if(ae.tag===4&&ae.stateNode.containerInfo===de.containerInfo&&ae.stateNode.implementation===de.implementation){u(ce,ae.sibling),ae=b(ae,de.children||[]),ae.return=ce,ce=ae;break e}else{u(ce,ae);break}else a(ce,ae);ae=ae.sibling}ae=vm(de,ce.mode,Me),ae.return=ce,ce=ae}return j(ce);case V:return rt=de._init,ir(ce,ae,rt(de._payload),Me)}if(xt(de))return Ue(ce,ae,de,Me);if(Z(de))return qe(ce,ae,de,Me);nd(ce,de)}return typeof de=="string"&&de!==""||typeof de=="number"?(de=""+de,ae!==null&&ae.tag===6?(u(ce,ae.sibling),ae=b(ae,de),ae.return=ce,ce=ae):(u(ce,ae),ae=ym(de,ce.mode,Me),ae.return=ce,ce=ae),j(ce)):u(ce,ae)}return ir}var ys=Nv(!0),$v=Nv(!1),id=Io(null),od=null,vs=null,Ph=null;function Mh(){Ph=vs=od=null}function _h(o){var a=id.current;Ut(id),o._currentValue=a}function Ah(o,a,u){for(;o!==null;){var f=o.alternate;if((o.childLanes&a)!==a?(o.childLanes|=a,f!==null&&(f.childLanes|=a)):f!==null&&(f.childLanes&a)!==a&&(f.childLanes|=a),o===u)break;o=o.return}}function bs(o,a){od=o,Ph=vs=null,o=o.dependencies,o!==null&&o.firstContext!==null&&((o.lanes&a)!==0&&(rn=!0),o.firstContext=null)}function Ln(o){var a=o._currentValue;if(Ph!==o)if(o={context:o,memoizedValue:a,next:null},vs===null){if(od===null)throw Error(r(308));vs=o,od.dependencies={lanes:0,firstContext:o}}else vs=vs.next=o;return a}var va=null;function Rh(o){va===null?va=[o]:va.push(o)}function zv(o,a,u,f){var b=a.interleaved;return b===null?(u.next=u,Rh(a)):(u.next=b.next,b.next=u),a.interleaved=u,eo(o,f)}function eo(o,a){o.lanes|=a;var u=o.alternate;for(u!==null&&(u.lanes|=a),u=o,o=o.return;o!==null;)o.childLanes|=a,u=o.alternate,u!==null&&(u.childLanes|=a),u=o,o=o.return;return u.tag===3?u.stateNode:null}var Lo=!1;function Ih(o){o.updateQueue={baseState:o.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Bv(o,a){o=o.updateQueue,a.updateQueue===o&&(a.updateQueue={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,effects:o.effects})}function to(o,a){return{eventTime:o,lane:a,tag:0,payload:null,callback:null,next:null}}function No(o,a,u){var f=o.updateQueue;if(f===null)return null;if(f=f.shared,(Mt&2)!==0){var b=f.pending;return b===null?a.next=a:(a.next=b.next,b.next=a),f.pending=a,eo(o,u)}return b=f.interleaved,b===null?(a.next=a,Rh(f)):(a.next=b.next,b.next=a),f.interleaved=a,eo(o,u)}function ad(o,a,u){if(a=a.updateQueue,a!==null&&(a=a.shared,(u&4194240)!==0)){var f=a.lanes;f&=o.pendingLanes,u|=f,a.lanes=u,qf(o,u)}}function Dv(o,a){var u=o.updateQueue,f=o.alternate;if(f!==null&&(f=f.updateQueue,u===f)){var b=null,S=null;if(u=u.firstBaseUpdate,u!==null){do{var j={eventTime:u.eventTime,lane:u.lane,tag:u.tag,payload:u.payload,callback:u.callback,next:null};S===null?b=S=j:S=S.next=j,u=u.next}while(u!==null);S===null?b=S=a:S=S.next=a}else b=S=a;u={baseState:f.baseState,firstBaseUpdate:b,lastBaseUpdate:S,shared:f.shared,effects:f.effects},o.updateQueue=u;return}o=u.lastBaseUpdate,o===null?u.firstBaseUpdate=a:o.next=a,u.lastBaseUpdate=a}function sd(o,a,u,f){var b=o.updateQueue;Lo=!1;var S=b.firstBaseUpdate,j=b.lastBaseUpdate,Y=b.shared.pending;if(Y!==null){b.shared.pending=null;var re=Y,fe=re.next;re.next=null,j===null?S=fe:j.next=fe,j=re;var Ee=o.alternate;Ee!==null&&(Ee=Ee.updateQueue,Y=Ee.lastBaseUpdate,Y!==j&&(Y===null?Ee.firstBaseUpdate=fe:Y.next=fe,Ee.lastBaseUpdate=re))}if(S!==null){var ke=b.baseState;j=0,Ee=fe=re=null,Y=S;do{var Se=Y.lane,Ne=Y.eventTime;if((f&Se)===Se){Ee!==null&&(Ee=Ee.next={eventTime:Ne,lane:0,tag:Y.tag,payload:Y.payload,callback:Y.callback,next:null});e:{var Ue=o,qe=Y;switch(Se=a,Ne=u,qe.tag){case 1:if(Ue=qe.payload,typeof Ue=="function"){ke=Ue.call(Ne,ke,Se);break e}ke=Ue;break e;case 3:Ue.flags=Ue.flags&-65537|128;case 0:if(Ue=qe.payload,Se=typeof Ue=="function"?Ue.call(Ne,ke,Se):Ue,Se==null)break e;ke=Q({},ke,Se);break e;case 2:Lo=!0}}Y.callback!==null&&Y.lane!==0&&(o.flags|=64,Se=b.effects,Se===null?b.effects=[Y]:Se.push(Y))}else Ne={eventTime:Ne,lane:Se,tag:Y.tag,payload:Y.payload,callback:Y.callback,next:null},Ee===null?(fe=Ee=Ne,re=ke):Ee=Ee.next=Ne,j|=Se;if(Y=Y.next,Y===null){if(Y=b.shared.pending,Y===null)break;Se=Y,Y=Se.next,Se.next=null,b.lastBaseUpdate=Se,b.shared.pending=null}}while(!0);if(Ee===null&&(re=ke),b.baseState=re,b.firstBaseUpdate=fe,b.lastBaseUpdate=Ee,a=b.shared.interleaved,a!==null){b=a;do j|=b.lane,b=b.next;while(b!==a)}else S===null&&(b.shared.lanes=0);wa|=j,o.lanes=j,o.memoizedState=ke}}function Fv(o,a,u){if(o=a.effects,a.effects=null,o!==null)for(a=0;a<o.length;a++){var f=o[a],b=f.callback;if(b!==null){if(f.callback=null,f=u,typeof b!="function")throw Error(r(191,b));b.call(f)}}}var ql={},Si=Io(ql),Gl=Io(ql),Xl=Io(ql);function ba(o){if(o===ql)throw Error(r(174));return o}function jh(o,a){switch(Ht(Xl,a),Ht(Gl,o),Ht(Si,ql),o=a.nodeType,o){case 9:case 11:a=(a=a.documentElement)?a.namespaceURI:ye(null,"");break;default:o=o===8?a.parentNode:a,a=o.namespaceURI||null,o=o.tagName,a=ye(a,o)}Ut(Si),Ht(Si,a)}function xs(){Ut(Si),Ut(Gl),Ut(Xl)}function Hv(o){ba(Xl.current);var a=ba(Si.current),u=ye(a,o.type);a!==u&&(Ht(Gl,o),Ht(Si,u))}function Oh(o){Gl.current===o&&(Ut(Si),Ut(Gl))}var Xt=Io(0);function ld(o){for(var a=o;a!==null;){if(a.tag===13){var u=a.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||u.data==="$?"||u.data==="$!"))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===o)break;for(;a.sibling===null;){if(a.return===null||a.return===o)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var Lh=[];function Nh(){for(var o=0;o<Lh.length;o++)Lh[o]._workInProgressVersionPrimary=null;Lh.length=0}var cd=E.ReactCurrentDispatcher,$h=E.ReactCurrentBatchConfig,xa=0,Kt=null,mr=null,br=null,ud=!1,Kl=!1,Ql=0,Nk=0;function Or(){throw Error(r(321))}function zh(o,a){if(a===null)return!1;for(var u=0;u<a.length&&u<o.length;u++)if(!ri(o[u],a[u]))return!1;return!0}function Bh(o,a,u,f,b,S){if(xa=S,Kt=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,cd.current=o===null||o.memoizedState===null?Dk:Fk,o=u(f,b),Kl){S=0;do{if(Kl=!1,Ql=0,25<=S)throw Error(r(301));S+=1,br=mr=null,a.updateQueue=null,cd.current=Hk,o=u(f,b)}while(Kl)}if(cd.current=fd,a=mr!==null&&mr.next!==null,xa=0,br=mr=Kt=null,ud=!1,a)throw Error(r(300));return o}function Dh(){var o=Ql!==0;return Ql=0,o}function Ci(){var o={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return br===null?Kt.memoizedState=br=o:br=br.next=o,br}function Nn(){if(mr===null){var o=Kt.alternate;o=o!==null?o.memoizedState:null}else o=mr.next;var a=br===null?Kt.memoizedState:br.next;if(a!==null)br=a,mr=o;else{if(o===null)throw Error(r(310));mr=o,o={memoizedState:mr.memoizedState,baseState:mr.baseState,baseQueue:mr.baseQueue,queue:mr.queue,next:null},br===null?Kt.memoizedState=br=o:br=br.next=o}return br}function Yl(o,a){return typeof a=="function"?a(o):a}function Fh(o){var a=Nn(),u=a.queue;if(u===null)throw Error(r(311));u.lastRenderedReducer=o;var f=mr,b=f.baseQueue,S=u.pending;if(S!==null){if(b!==null){var j=b.next;b.next=S.next,S.next=j}f.baseQueue=b=S,u.pending=null}if(b!==null){S=b.next,f=f.baseState;var Y=j=null,re=null,fe=S;do{var Ee=fe.lane;if((xa&Ee)===Ee)re!==null&&(re=re.next={lane:0,action:fe.action,hasEagerState:fe.hasEagerState,eagerState:fe.eagerState,next:null}),f=fe.hasEagerState?fe.eagerState:o(f,fe.action);else{var ke={lane:Ee,action:fe.action,hasEagerState:fe.hasEagerState,eagerState:fe.eagerState,next:null};re===null?(Y=re=ke,j=f):re=re.next=ke,Kt.lanes|=Ee,wa|=Ee}fe=fe.next}while(fe!==null&&fe!==S);re===null?j=f:re.next=Y,ri(f,a.memoizedState)||(rn=!0),a.memoizedState=f,a.baseState=j,a.baseQueue=re,u.lastRenderedState=f}if(o=u.interleaved,o!==null){b=o;do S=b.lane,Kt.lanes|=S,wa|=S,b=b.next;while(b!==o)}else b===null&&(u.lanes=0);return[a.memoizedState,u.dispatch]}function Hh(o){var a=Nn(),u=a.queue;if(u===null)throw Error(r(311));u.lastRenderedReducer=o;var f=u.dispatch,b=u.pending,S=a.memoizedState;if(b!==null){u.pending=null;var j=b=b.next;do S=o(S,j.action),j=j.next;while(j!==b);ri(S,a.memoizedState)||(rn=!0),a.memoizedState=S,a.baseQueue===null&&(a.baseState=S),u.lastRenderedState=S}return[S,f]}function Vv(){}function Uv(o,a){var u=Kt,f=Nn(),b=a(),S=!ri(f.memoizedState,b);if(S&&(f.memoizedState=b,rn=!0),f=f.queue,Vh(Gv.bind(null,u,f,o),[o]),f.getSnapshot!==a||S||br!==null&&br.memoizedState.tag&1){if(u.flags|=2048,Jl(9,qv.bind(null,u,f,b,a),void 0,null),xr===null)throw Error(r(349));(xa&30)!==0||Wv(u,a,b)}return b}function Wv(o,a,u){o.flags|=16384,o={getSnapshot:a,value:u},a=Kt.updateQueue,a===null?(a={lastEffect:null,stores:null},Kt.updateQueue=a,a.stores=[o]):(u=a.stores,u===null?a.stores=[o]:u.push(o))}function qv(o,a,u,f){a.value=u,a.getSnapshot=f,Xv(a)&&Kv(o)}function Gv(o,a,u){return u(function(){Xv(a)&&Kv(o)})}function Xv(o){var a=o.getSnapshot;o=o.value;try{var u=a();return!ri(o,u)}catch{return!0}}function Kv(o){var a=eo(o,1);a!==null&&si(a,o,1,-1)}function Qv(o){var a=Ci();return typeof o=="function"&&(o=o()),a.memoizedState=a.baseState=o,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Yl,lastRenderedState:o},a.queue=o,o=o.dispatch=Bk.bind(null,Kt,o),[a.memoizedState,o]}function Jl(o,a,u,f){return o={tag:o,create:a,destroy:u,deps:f,next:null},a=Kt.updateQueue,a===null?(a={lastEffect:null,stores:null},Kt.updateQueue=a,a.lastEffect=o.next=o):(u=a.lastEffect,u===null?a.lastEffect=o.next=o:(f=u.next,u.next=o,o.next=f,a.lastEffect=o)),o}function Yv(){return Nn().memoizedState}function dd(o,a,u,f){var b=Ci();Kt.flags|=o,b.memoizedState=Jl(1|a,u,void 0,f===void 0?null:f)}function pd(o,a,u,f){var b=Nn();f=f===void 0?null:f;var S=void 0;if(mr!==null){var j=mr.memoizedState;if(S=j.destroy,f!==null&&zh(f,j.deps)){b.memoizedState=Jl(a,u,S,f);return}}Kt.flags|=o,b.memoizedState=Jl(1|a,u,S,f)}function Jv(o,a){return dd(8390656,8,o,a)}function Vh(o,a){return pd(2048,8,o,a)}function Zv(o,a){return pd(4,2,o,a)}function e1(o,a){return pd(4,4,o,a)}function t1(o,a){if(typeof a=="function")return o=o(),a(o),function(){a(null)};if(a!=null)return o=o(),a.current=o,function(){a.current=null}}function r1(o,a,u){return u=u!=null?u.concat([o]):null,pd(4,4,t1.bind(null,a,o),u)}function Uh(){}function n1(o,a){var u=Nn();a=a===void 0?null:a;var f=u.memoizedState;return f!==null&&a!==null&&zh(a,f[1])?f[0]:(u.memoizedState=[o,a],o)}function i1(o,a){var u=Nn();a=a===void 0?null:a;var f=u.memoizedState;return f!==null&&a!==null&&zh(a,f[1])?f[0]:(o=o(),u.memoizedState=[o,a],o)}function o1(o,a,u){return(xa&21)===0?(o.baseState&&(o.baseState=!1,rn=!0),o.memoizedState=u):(ri(u,a)||(u=L0(),Kt.lanes|=u,wa|=u,o.baseState=!0),a)}function $k(o,a){var u=jt;jt=u!==0&&4>u?u:4,o(!0);var f=$h.transition;$h.transition={};try{o(!1),a()}finally{jt=u,$h.transition=f}}function a1(){return Nn().memoizedState}function zk(o,a,u){var f=Do(o);if(u={lane:f,action:u,hasEagerState:!1,eagerState:null,next:null},s1(o))l1(a,u);else if(u=zv(o,a,u,f),u!==null){var b=qr();si(u,o,f,b),c1(u,a,f)}}function Bk(o,a,u){var f=Do(o),b={lane:f,action:u,hasEagerState:!1,eagerState:null,next:null};if(s1(o))l1(a,b);else{var S=o.alternate;if(o.lanes===0&&(S===null||S.lanes===0)&&(S=a.lastRenderedReducer,S!==null))try{var j=a.lastRenderedState,Y=S(j,u);if(b.hasEagerState=!0,b.eagerState=Y,ri(Y,j)){var re=a.interleaved;re===null?(b.next=b,Rh(a)):(b.next=re.next,re.next=b),a.interleaved=b;return}}catch{}finally{}u=zv(o,a,b,f),u!==null&&(b=qr(),si(u,o,f,b),c1(u,a,f))}}function s1(o){var a=o.alternate;return o===Kt||a!==null&&a===Kt}function l1(o,a){Kl=ud=!0;var u=o.pending;u===null?a.next=a:(a.next=u.next,u.next=a),o.pending=a}function c1(o,a,u){if((u&4194240)!==0){var f=a.lanes;f&=o.pendingLanes,u|=f,a.lanes=u,qf(o,u)}}var fd={readContext:Ln,useCallback:Or,useContext:Or,useEffect:Or,useImperativeHandle:Or,useInsertionEffect:Or,useLayoutEffect:Or,useMemo:Or,useReducer:Or,useRef:Or,useState:Or,useDebugValue:Or,useDeferredValue:Or,useTransition:Or,useMutableSource:Or,useSyncExternalStore:Or,useId:Or,unstable_isNewReconciler:!1},Dk={readContext:Ln,useCallback:function(o,a){return Ci().memoizedState=[o,a===void 0?null:a],o},useContext:Ln,useEffect:Jv,useImperativeHandle:function(o,a,u){return u=u!=null?u.concat([o]):null,dd(4194308,4,t1.bind(null,a,o),u)},useLayoutEffect:function(o,a){return dd(4194308,4,o,a)},useInsertionEffect:function(o,a){return dd(4,2,o,a)},useMemo:function(o,a){var u=Ci();return a=a===void 0?null:a,o=o(),u.memoizedState=[o,a],o},useReducer:function(o,a,u){var f=Ci();return a=u!==void 0?u(a):a,f.memoizedState=f.baseState=a,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:a},f.queue=o,o=o.dispatch=zk.bind(null,Kt,o),[f.memoizedState,o]},useRef:function(o){var a=Ci();return o={current:o},a.memoizedState=o},useState:Qv,useDebugValue:Uh,useDeferredValue:function(o){return Ci().memoizedState=o},useTransition:function(){var o=Qv(!1),a=o[0];return o=$k.bind(null,o[1]),Ci().memoizedState=o,[a,o]},useMutableSource:function(){},useSyncExternalStore:function(o,a,u){var f=Kt,b=Ci();if(Wt){if(u===void 0)throw Error(r(407));u=u()}else{if(u=a(),xr===null)throw Error(r(349));(xa&30)!==0||Wv(f,a,u)}b.memoizedState=u;var S={value:u,getSnapshot:a};return b.queue=S,Jv(Gv.bind(null,f,S,o),[o]),f.flags|=2048,Jl(9,qv.bind(null,f,S,u,a),void 0,null),u},useId:function(){var o=Ci(),a=xr.identifierPrefix;if(Wt){var u=Zi,f=Ji;u=(f&~(1<<32-ti(f)-1)).toString(32)+u,a=":"+a+"R"+u,u=Ql++,0<u&&(a+="H"+u.toString(32)),a+=":"}else u=Nk++,a=":"+a+"r"+u.toString(32)+":";return o.memoizedState=a},unstable_isNewReconciler:!1},Fk={readContext:Ln,useCallback:n1,useContext:Ln,useEffect:Vh,useImperativeHandle:r1,useInsertionEffect:Zv,useLayoutEffect:e1,useMemo:i1,useReducer:Fh,useRef:Yv,useState:function(){return Fh(Yl)},useDebugValue:Uh,useDeferredValue:function(o){var a=Nn();return o1(a,mr.memoizedState,o)},useTransition:function(){var o=Fh(Yl)[0],a=Nn().memoizedState;return[o,a]},useMutableSource:Vv,useSyncExternalStore:Uv,useId:a1,unstable_isNewReconciler:!1},Hk={readContext:Ln,useCallback:n1,useContext:Ln,useEffect:Vh,useImperativeHandle:r1,useInsertionEffect:Zv,useLayoutEffect:e1,useMemo:i1,useReducer:Hh,useRef:Yv,useState:function(){return Hh(Yl)},useDebugValue:Uh,useDeferredValue:function(o){var a=Nn();return mr===null?a.memoizedState=o:o1(a,mr.memoizedState,o)},useTransition:function(){var o=Hh(Yl)[0],a=Nn().memoizedState;return[o,a]},useMutableSource:Vv,useSyncExternalStore:Uv,useId:a1,unstable_isNewReconciler:!1};function ii(o,a){if(o&&o.defaultProps){a=Q({},a),o=o.defaultProps;for(var u in o)a[u]===void 0&&(a[u]=o[u]);return a}return a}function Wh(o,a,u,f){a=o.memoizedState,u=u(f,a),u=u==null?a:Q({},a,u),o.memoizedState=u,o.lanes===0&&(o.updateQueue.baseState=u)}var hd={isMounted:function(o){return(o=o._reactInternals)?fa(o)===o:!1},enqueueSetState:function(o,a,u){o=o._reactInternals;var f=qr(),b=Do(o),S=to(f,b);S.payload=a,u!=null&&(S.callback=u),a=No(o,S,b),a!==null&&(si(a,o,b,f),ad(a,o,b))},enqueueReplaceState:function(o,a,u){o=o._reactInternals;var f=qr(),b=Do(o),S=to(f,b);S.tag=1,S.payload=a,u!=null&&(S.callback=u),a=No(o,S,b),a!==null&&(si(a,o,b,f),ad(a,o,b))},enqueueForceUpdate:function(o,a){o=o._reactInternals;var u=qr(),f=Do(o),b=to(u,f);b.tag=2,a!=null&&(b.callback=a),a=No(o,b,f),a!==null&&(si(a,o,f,u),ad(a,o,f))}};function u1(o,a,u,f,b,S,j){return o=o.stateNode,typeof o.shouldComponentUpdate=="function"?o.shouldComponentUpdate(f,S,j):a.prototype&&a.prototype.isPureReactComponent?!zl(u,f)||!zl(b,S):!0}function d1(o,a,u){var f=!1,b=jo,S=a.contextType;return typeof S=="object"&&S!==null?S=Ln(S):(b=tn(a)?ma:jr.current,f=a.contextTypes,S=(f=f!=null)?fs(o,b):jo),a=new a(u,S),o.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=hd,o.stateNode=a,a._reactInternals=o,f&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=b,o.__reactInternalMemoizedMaskedChildContext=S),a}function p1(o,a,u,f){o=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(u,f),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(u,f),a.state!==o&&hd.enqueueReplaceState(a,a.state,null)}function qh(o,a,u,f){var b=o.stateNode;b.props=u,b.state=o.memoizedState,b.refs={},Ih(o);var S=a.contextType;typeof S=="object"&&S!==null?b.context=Ln(S):(S=tn(a)?ma:jr.current,b.context=fs(o,S)),b.state=o.memoizedState,S=a.getDerivedStateFromProps,typeof S=="function"&&(Wh(o,a,S,u),b.state=o.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(a=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),a!==b.state&&hd.enqueueReplaceState(b,b.state,null),sd(o,u,b,f),b.state=o.memoizedState),typeof b.componentDidMount=="function"&&(o.flags|=4194308)}function ws(o,a){try{var u="",f=a;do u+=ie(f),f=f.return;while(f);var b=u}catch(S){b=`
39
- Error generating stack: `+S.message+`
40
- `+S.stack}return{value:o,source:a,stack:b,digest:null}}function Gh(o,a,u){return{value:o,source:null,stack:u??null,digest:a??null}}function Xh(o,a){try{console.error(a.value)}catch(u){setTimeout(function(){throw u})}}var Vk=typeof WeakMap=="function"?WeakMap:Map;function f1(o,a,u){u=to(-1,u),u.tag=3,u.payload={element:null};var f=a.value;return u.callback=function(){wd||(wd=!0,cm=f),Xh(o,a)},u}function h1(o,a,u){u=to(-1,u),u.tag=3;var f=o.type.getDerivedStateFromError;if(typeof f=="function"){var b=a.value;u.payload=function(){return f(b)},u.callback=function(){Xh(o,a)}}var S=o.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(u.callback=function(){Xh(o,a),typeof f!="function"&&(zo===null?zo=new Set([this]):zo.add(this));var j=a.stack;this.componentDidCatch(a.value,{componentStack:j!==null?j:""})}),u}function m1(o,a,u){var f=o.pingCache;if(f===null){f=o.pingCache=new Vk;var b=new Set;f.set(a,b)}else b=f.get(a),b===void 0&&(b=new Set,f.set(a,b));b.has(u)||(b.add(u),o=nP.bind(null,o,a,u),a.then(o,o))}function g1(o){do{var a;if((a=o.tag===13)&&(a=o.memoizedState,a=a!==null?a.dehydrated!==null:!0),a)return o;o=o.return}while(o!==null);return null}function y1(o,a,u,f,b){return(o.mode&1)===0?(o===a?o.flags|=65536:(o.flags|=128,u.flags|=131072,u.flags&=-52805,u.tag===1&&(u.alternate===null?u.tag=17:(a=to(-1,1),a.tag=2,No(u,a,1))),u.lanes|=1),o):(o.flags|=65536,o.lanes=b,o)}var Uk=E.ReactCurrentOwner,rn=!1;function Wr(o,a,u,f){a.child=o===null?$v(a,null,u,f):ys(a,o.child,u,f)}function v1(o,a,u,f,b){u=u.render;var S=a.ref;return bs(a,b),f=Bh(o,a,u,f,S,b),u=Dh(),o!==null&&!rn?(a.updateQueue=o.updateQueue,a.flags&=-2053,o.lanes&=~b,ro(o,a,b)):(Wt&&u&&Sh(a),a.flags|=1,Wr(o,a,f,b),a.child)}function b1(o,a,u,f,b){if(o===null){var S=u.type;return typeof S=="function"&&!gm(S)&&S.defaultProps===void 0&&u.compare===null&&u.defaultProps===void 0?(a.tag=15,a.type=S,x1(o,a,S,f,b)):(o=Pd(u.type,null,f,a,a.mode,b),o.ref=a.ref,o.return=a,a.child=o)}if(S=o.child,(o.lanes&b)===0){var j=S.memoizedProps;if(u=u.compare,u=u!==null?u:zl,u(j,f)&&o.ref===a.ref)return ro(o,a,b)}return a.flags|=1,o=Ho(S,f),o.ref=a.ref,o.return=a,a.child=o}function x1(o,a,u,f,b){if(o!==null){var S=o.memoizedProps;if(zl(S,f)&&o.ref===a.ref)if(rn=!1,a.pendingProps=f=S,(o.lanes&b)!==0)(o.flags&131072)!==0&&(rn=!0);else return a.lanes=o.lanes,ro(o,a,b)}return Kh(o,a,u,f,b)}function w1(o,a,u){var f=a.pendingProps,b=f.children,S=o!==null?o.memoizedState:null;if(f.mode==="hidden")if((a.mode&1)===0)a.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ht(Cs,Cn),Cn|=u;else{if((u&1073741824)===0)return o=S!==null?S.baseLanes|u:u,a.lanes=a.childLanes=1073741824,a.memoizedState={baseLanes:o,cachePool:null,transitions:null},a.updateQueue=null,Ht(Cs,Cn),Cn|=o,null;a.memoizedState={baseLanes:0,cachePool:null,transitions:null},f=S!==null?S.baseLanes:u,Ht(Cs,Cn),Cn|=f}else S!==null?(f=S.baseLanes|u,a.memoizedState=null):f=u,Ht(Cs,Cn),Cn|=f;return Wr(o,a,b,u),a.child}function S1(o,a){var u=a.ref;(o===null&&u!==null||o!==null&&o.ref!==u)&&(a.flags|=512,a.flags|=2097152)}function Kh(o,a,u,f,b){var S=tn(u)?ma:jr.current;return S=fs(a,S),bs(a,b),u=Bh(o,a,u,f,S,b),f=Dh(),o!==null&&!rn?(a.updateQueue=o.updateQueue,a.flags&=-2053,o.lanes&=~b,ro(o,a,b)):(Wt&&f&&Sh(a),a.flags|=1,Wr(o,a,u,b),a.child)}function C1(o,a,u,f,b){if(tn(u)){var S=!0;Ju(a)}else S=!1;if(bs(a,b),a.stateNode===null)gd(o,a),d1(a,u,f),qh(a,u,f,b),f=!0;else if(o===null){var j=a.stateNode,Y=a.memoizedProps;j.props=Y;var re=j.context,fe=u.contextType;typeof fe=="object"&&fe!==null?fe=Ln(fe):(fe=tn(u)?ma:jr.current,fe=fs(a,fe));var Ee=u.getDerivedStateFromProps,ke=typeof Ee=="function"||typeof j.getSnapshotBeforeUpdate=="function";ke||typeof j.UNSAFE_componentWillReceiveProps!="function"&&typeof j.componentWillReceiveProps!="function"||(Y!==f||re!==fe)&&p1(a,j,f,fe),Lo=!1;var Se=a.memoizedState;j.state=Se,sd(a,f,j,b),re=a.memoizedState,Y!==f||Se!==re||en.current||Lo?(typeof Ee=="function"&&(Wh(a,u,Ee,f),re=a.memoizedState),(Y=Lo||u1(a,u,Y,f,Se,re,fe))?(ke||typeof j.UNSAFE_componentWillMount!="function"&&typeof j.componentWillMount!="function"||(typeof j.componentWillMount=="function"&&j.componentWillMount(),typeof j.UNSAFE_componentWillMount=="function"&&j.UNSAFE_componentWillMount()),typeof j.componentDidMount=="function"&&(a.flags|=4194308)):(typeof j.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=f,a.memoizedState=re),j.props=f,j.state=re,j.context=fe,f=Y):(typeof j.componentDidMount=="function"&&(a.flags|=4194308),f=!1)}else{j=a.stateNode,Bv(o,a),Y=a.memoizedProps,fe=a.type===a.elementType?Y:ii(a.type,Y),j.props=fe,ke=a.pendingProps,Se=j.context,re=u.contextType,typeof re=="object"&&re!==null?re=Ln(re):(re=tn(u)?ma:jr.current,re=fs(a,re));var Ne=u.getDerivedStateFromProps;(Ee=typeof Ne=="function"||typeof j.getSnapshotBeforeUpdate=="function")||typeof j.UNSAFE_componentWillReceiveProps!="function"&&typeof j.componentWillReceiveProps!="function"||(Y!==ke||Se!==re)&&p1(a,j,f,re),Lo=!1,Se=a.memoizedState,j.state=Se,sd(a,f,j,b);var Ue=a.memoizedState;Y!==ke||Se!==Ue||en.current||Lo?(typeof Ne=="function"&&(Wh(a,u,Ne,f),Ue=a.memoizedState),(fe=Lo||u1(a,u,fe,f,Se,Ue,re)||!1)?(Ee||typeof j.UNSAFE_componentWillUpdate!="function"&&typeof j.componentWillUpdate!="function"||(typeof j.componentWillUpdate=="function"&&j.componentWillUpdate(f,Ue,re),typeof j.UNSAFE_componentWillUpdate=="function"&&j.UNSAFE_componentWillUpdate(f,Ue,re)),typeof j.componentDidUpdate=="function"&&(a.flags|=4),typeof j.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof j.componentDidUpdate!="function"||Y===o.memoizedProps&&Se===o.memoizedState||(a.flags|=4),typeof j.getSnapshotBeforeUpdate!="function"||Y===o.memoizedProps&&Se===o.memoizedState||(a.flags|=1024),a.memoizedProps=f,a.memoizedState=Ue),j.props=f,j.state=Ue,j.context=re,f=fe):(typeof j.componentDidUpdate!="function"||Y===o.memoizedProps&&Se===o.memoizedState||(a.flags|=4),typeof j.getSnapshotBeforeUpdate!="function"||Y===o.memoizedProps&&Se===o.memoizedState||(a.flags|=1024),f=!1)}return Qh(o,a,u,f,S,b)}function Qh(o,a,u,f,b,S){S1(o,a);var j=(a.flags&128)!==0;if(!f&&!j)return b&&Mv(a,u,!1),ro(o,a,S);f=a.stateNode,Uk.current=a;var Y=j&&typeof u.getDerivedStateFromError!="function"?null:f.render();return a.flags|=1,o!==null&&j?(a.child=ys(a,o.child,null,S),a.child=ys(a,null,Y,S)):Wr(o,a,Y,S),a.memoizedState=f.state,b&&Mv(a,u,!0),a.child}function E1(o){var a=o.stateNode;a.pendingContext?kv(o,a.pendingContext,a.pendingContext!==a.context):a.context&&kv(o,a.context,!1),jh(o,a.containerInfo)}function T1(o,a,u,f,b){return gs(),kh(b),a.flags|=256,Wr(o,a,u,f),a.child}var Yh={dehydrated:null,treeContext:null,retryLane:0};function Jh(o){return{baseLanes:o,cachePool:null,transitions:null}}function k1(o,a,u){var f=a.pendingProps,b=Xt.current,S=!1,j=(a.flags&128)!==0,Y;if((Y=j)||(Y=o!==null&&o.memoizedState===null?!1:(b&2)!==0),Y?(S=!0,a.flags&=-129):(o===null||o.memoizedState!==null)&&(b|=1),Ht(Xt,b&1),o===null)return Th(a),o=a.memoizedState,o!==null&&(o=o.dehydrated,o!==null)?((a.mode&1)===0?a.lanes=1:o.data==="$!"?a.lanes=8:a.lanes=1073741824,null):(j=f.children,o=f.fallback,S?(f=a.mode,S=a.child,j={mode:"hidden",children:j},(f&1)===0&&S!==null?(S.childLanes=0,S.pendingProps=j):S=Md(j,f,0,null),o=Ta(o,f,u,null),S.return=a,o.return=a,S.sibling=o,a.child=S,a.child.memoizedState=Jh(u),a.memoizedState=Yh,o):Zh(a,j));if(b=o.memoizedState,b!==null&&(Y=b.dehydrated,Y!==null))return Wk(o,a,j,f,Y,b,u);if(S){S=f.fallback,j=a.mode,b=o.child,Y=b.sibling;var re={mode:"hidden",children:f.children};return(j&1)===0&&a.child!==b?(f=a.child,f.childLanes=0,f.pendingProps=re,a.deletions=null):(f=Ho(b,re),f.subtreeFlags=b.subtreeFlags&14680064),Y!==null?S=Ho(Y,S):(S=Ta(S,j,u,null),S.flags|=2),S.return=a,f.return=a,f.sibling=S,a.child=f,f=S,S=a.child,j=o.child.memoizedState,j=j===null?Jh(u):{baseLanes:j.baseLanes|u,cachePool:null,transitions:j.transitions},S.memoizedState=j,S.childLanes=o.childLanes&~u,a.memoizedState=Yh,f}return S=o.child,o=S.sibling,f=Ho(S,{mode:"visible",children:f.children}),(a.mode&1)===0&&(f.lanes=u),f.return=a,f.sibling=null,o!==null&&(u=a.deletions,u===null?(a.deletions=[o],a.flags|=16):u.push(o)),a.child=f,a.memoizedState=null,f}function Zh(o,a){return a=Md({mode:"visible",children:a},o.mode,0,null),a.return=o,o.child=a}function md(o,a,u,f){return f!==null&&kh(f),ys(a,o.child,null,u),o=Zh(a,a.pendingProps.children),o.flags|=2,a.memoizedState=null,o}function Wk(o,a,u,f,b,S,j){if(u)return a.flags&256?(a.flags&=-257,f=Gh(Error(r(422))),md(o,a,j,f)):a.memoizedState!==null?(a.child=o.child,a.flags|=128,null):(S=f.fallback,b=a.mode,f=Md({mode:"visible",children:f.children},b,0,null),S=Ta(S,b,j,null),S.flags|=2,f.return=a,S.return=a,f.sibling=S,a.child=f,(a.mode&1)!==0&&ys(a,o.child,null,j),a.child.memoizedState=Jh(j),a.memoizedState=Yh,S);if((a.mode&1)===0)return md(o,a,j,null);if(b.data==="$!"){if(f=b.nextSibling&&b.nextSibling.dataset,f)var Y=f.dgst;return f=Y,S=Error(r(419)),f=Gh(S,f,void 0),md(o,a,j,f)}if(Y=(j&o.childLanes)!==0,rn||Y){if(f=xr,f!==null){switch(j&-j){case 4:b=2;break;case 16:b=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:b=32;break;case 536870912:b=268435456;break;default:b=0}b=(b&(f.suspendedLanes|j))!==0?0:b,b!==0&&b!==S.retryLane&&(S.retryLane=b,eo(o,b),si(f,o,b,-1))}return mm(),f=Gh(Error(r(421))),md(o,a,j,f)}return b.data==="$?"?(a.flags|=128,a.child=o.child,a=iP.bind(null,o),b._reactRetry=a,null):(o=S.treeContext,Sn=Ro(b.nextSibling),wn=a,Wt=!0,ni=null,o!==null&&(jn[On++]=Ji,jn[On++]=Zi,jn[On++]=ga,Ji=o.id,Zi=o.overflow,ga=a),a=Zh(a,f.children),a.flags|=4096,a)}function P1(o,a,u){o.lanes|=a;var f=o.alternate;f!==null&&(f.lanes|=a),Ah(o.return,a,u)}function em(o,a,u,f,b){var S=o.memoizedState;S===null?o.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:f,tail:u,tailMode:b}:(S.isBackwards=a,S.rendering=null,S.renderingStartTime=0,S.last=f,S.tail=u,S.tailMode=b)}function M1(o,a,u){var f=a.pendingProps,b=f.revealOrder,S=f.tail;if(Wr(o,a,f.children,u),f=Xt.current,(f&2)!==0)f=f&1|2,a.flags|=128;else{if(o!==null&&(o.flags&128)!==0)e:for(o=a.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&P1(o,u,a);else if(o.tag===19)P1(o,u,a);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===a)break e;for(;o.sibling===null;){if(o.return===null||o.return===a)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}f&=1}if(Ht(Xt,f),(a.mode&1)===0)a.memoizedState=null;else switch(b){case"forwards":for(u=a.child,b=null;u!==null;)o=u.alternate,o!==null&&ld(o)===null&&(b=u),u=u.sibling;u=b,u===null?(b=a.child,a.child=null):(b=u.sibling,u.sibling=null),em(a,!1,b,u,S);break;case"backwards":for(u=null,b=a.child,a.child=null;b!==null;){if(o=b.alternate,o!==null&&ld(o)===null){a.child=b;break}o=b.sibling,b.sibling=u,u=b,b=o}em(a,!0,u,null,S);break;case"together":em(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function gd(o,a){(a.mode&1)===0&&o!==null&&(o.alternate=null,a.alternate=null,a.flags|=2)}function ro(o,a,u){if(o!==null&&(a.dependencies=o.dependencies),wa|=a.lanes,(u&a.childLanes)===0)return null;if(o!==null&&a.child!==o.child)throw Error(r(153));if(a.child!==null){for(o=a.child,u=Ho(o,o.pendingProps),a.child=u,u.return=a;o.sibling!==null;)o=o.sibling,u=u.sibling=Ho(o,o.pendingProps),u.return=a;u.sibling=null}return a.child}function qk(o,a,u){switch(a.tag){case 3:E1(a),gs();break;case 5:Hv(a);break;case 1:tn(a.type)&&Ju(a);break;case 4:jh(a,a.stateNode.containerInfo);break;case 10:var f=a.type._context,b=a.memoizedProps.value;Ht(id,f._currentValue),f._currentValue=b;break;case 13:if(f=a.memoizedState,f!==null)return f.dehydrated!==null?(Ht(Xt,Xt.current&1),a.flags|=128,null):(u&a.child.childLanes)!==0?k1(o,a,u):(Ht(Xt,Xt.current&1),o=ro(o,a,u),o!==null?o.sibling:null);Ht(Xt,Xt.current&1);break;case 19:if(f=(u&a.childLanes)!==0,(o.flags&128)!==0){if(f)return M1(o,a,u);a.flags|=128}if(b=a.memoizedState,b!==null&&(b.rendering=null,b.tail=null,b.lastEffect=null),Ht(Xt,Xt.current),f)break;return null;case 22:case 23:return a.lanes=0,w1(o,a,u)}return ro(o,a,u)}var _1,tm,A1,R1;_1=function(o,a){for(var u=a.child;u!==null;){if(u.tag===5||u.tag===6)o.appendChild(u.stateNode);else if(u.tag!==4&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===a)break;for(;u.sibling===null;){if(u.return===null||u.return===a)return;u=u.return}u.sibling.return=u.return,u=u.sibling}},tm=function(){},A1=function(o,a,u,f){var b=o.memoizedProps;if(b!==f){o=a.stateNode,ba(Si.current);var S=null;switch(u){case"input":b=Oe(o,b),f=Oe(o,f),S=[];break;case"select":b=Q({},b,{value:void 0}),f=Q({},f,{value:void 0}),S=[];break;case"textarea":b=$e(o,b),f=$e(o,f),S=[];break;default:typeof b.onClick!="function"&&typeof f.onClick=="function"&&(o.onclick=Ku)}hr(u,f);var j;u=null;for(fe in b)if(!f.hasOwnProperty(fe)&&b.hasOwnProperty(fe)&&b[fe]!=null)if(fe==="style"){var Y=b[fe];for(j in Y)Y.hasOwnProperty(j)&&(u||(u={}),u[j]="")}else fe!=="dangerouslySetInnerHTML"&&fe!=="children"&&fe!=="suppressContentEditableWarning"&&fe!=="suppressHydrationWarning"&&fe!=="autoFocus"&&(i.hasOwnProperty(fe)?S||(S=[]):(S=S||[]).push(fe,null));for(fe in f){var re=f[fe];if(Y=b!=null?b[fe]:void 0,f.hasOwnProperty(fe)&&re!==Y&&(re!=null||Y!=null))if(fe==="style")if(Y){for(j in Y)!Y.hasOwnProperty(j)||re&&re.hasOwnProperty(j)||(u||(u={}),u[j]="");for(j in re)re.hasOwnProperty(j)&&Y[j]!==re[j]&&(u||(u={}),u[j]=re[j])}else u||(S||(S=[]),S.push(fe,u)),u=re;else fe==="dangerouslySetInnerHTML"?(re=re?re.__html:void 0,Y=Y?Y.__html:void 0,re!=null&&Y!==re&&(S=S||[]).push(fe,re)):fe==="children"?typeof re!="string"&&typeof re!="number"||(S=S||[]).push(fe,""+re):fe!=="suppressContentEditableWarning"&&fe!=="suppressHydrationWarning"&&(i.hasOwnProperty(fe)?(re!=null&&fe==="onScroll"&&Vt("scroll",o),S||Y===re||(S=[])):(S=S||[]).push(fe,re))}u&&(S=S||[]).push("style",u);var fe=S;(a.updateQueue=fe)&&(a.flags|=4)}},R1=function(o,a,u,f){u!==f&&(a.flags|=4)};function Zl(o,a){if(!Wt)switch(o.tailMode){case"hidden":a=o.tail;for(var u=null;a!==null;)a.alternate!==null&&(u=a),a=a.sibling;u===null?o.tail=null:u.sibling=null;break;case"collapsed":u=o.tail;for(var f=null;u!==null;)u.alternate!==null&&(f=u),u=u.sibling;f===null?a||o.tail===null?o.tail=null:o.tail.sibling=null:f.sibling=null}}function Lr(o){var a=o.alternate!==null&&o.alternate.child===o.child,u=0,f=0;if(a)for(var b=o.child;b!==null;)u|=b.lanes|b.childLanes,f|=b.subtreeFlags&14680064,f|=b.flags&14680064,b.return=o,b=b.sibling;else for(b=o.child;b!==null;)u|=b.lanes|b.childLanes,f|=b.subtreeFlags,f|=b.flags,b.return=o,b=b.sibling;return o.subtreeFlags|=f,o.childLanes=u,a}function Gk(o,a,u){var f=a.pendingProps;switch(Ch(a),a.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Lr(a),null;case 1:return tn(a.type)&&Yu(),Lr(a),null;case 3:return f=a.stateNode,xs(),Ut(en),Ut(jr),Nh(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),(o===null||o.child===null)&&(rd(a)?a.flags|=4:o===null||o.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,ni!==null&&(pm(ni),ni=null))),tm(o,a),Lr(a),null;case 5:Oh(a);var b=ba(Xl.current);if(u=a.type,o!==null&&a.stateNode!=null)A1(o,a,u,f,b),o.ref!==a.ref&&(a.flags|=512,a.flags|=2097152);else{if(!f){if(a.stateNode===null)throw Error(r(166));return Lr(a),null}if(o=ba(Si.current),rd(a)){f=a.stateNode,u=a.type;var S=a.memoizedProps;switch(f[wi]=a,f[Vl]=S,o=(a.mode&1)!==0,u){case"dialog":Vt("cancel",f),Vt("close",f);break;case"iframe":case"object":case"embed":Vt("load",f);break;case"video":case"audio":for(b=0;b<Dl.length;b++)Vt(Dl[b],f);break;case"source":Vt("error",f);break;case"img":case"image":case"link":Vt("error",f),Vt("load",f);break;case"details":Vt("toggle",f);break;case"input":_e(f,S),Vt("invalid",f);break;case"select":f._wrapperState={wasMultiple:!!S.multiple},Vt("invalid",f);break;case"textarea":lr(f,S),Vt("invalid",f)}hr(u,S),b=null;for(var j in S)if(S.hasOwnProperty(j)){var Y=S[j];j==="children"?typeof Y=="string"?f.textContent!==Y&&(S.suppressHydrationWarning!==!0&&Xu(f.textContent,Y,o),b=["children",Y]):typeof Y=="number"&&f.textContent!==""+Y&&(S.suppressHydrationWarning!==!0&&Xu(f.textContent,Y,o),b=["children",""+Y]):i.hasOwnProperty(j)&&Y!=null&&j==="onScroll"&&Vt("scroll",f)}switch(u){case"input":Le(f),dt(f,S,!0);break;case"textarea":Le(f),le(f);break;case"select":case"option":break;default:typeof S.onClick=="function"&&(f.onclick=Ku)}f=b,a.updateQueue=f,f!==null&&(a.flags|=4)}else{j=b.nodeType===9?b:b.ownerDocument,o==="http://www.w3.org/1999/xhtml"&&(o=me(u)),o==="http://www.w3.org/1999/xhtml"?u==="script"?(o=j.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild)):typeof f.is=="string"?o=j.createElement(u,{is:f.is}):(o=j.createElement(u),u==="select"&&(j=o,f.multiple?j.multiple=!0:f.size&&(j.size=f.size))):o=j.createElementNS(o,u),o[wi]=a,o[Vl]=f,_1(o,a,!1,!1),a.stateNode=o;e:{switch(j=Jn(u,f),u){case"dialog":Vt("cancel",o),Vt("close",o),b=f;break;case"iframe":case"object":case"embed":Vt("load",o),b=f;break;case"video":case"audio":for(b=0;b<Dl.length;b++)Vt(Dl[b],o);b=f;break;case"source":Vt("error",o),b=f;break;case"img":case"image":case"link":Vt("error",o),Vt("load",o),b=f;break;case"details":Vt("toggle",o),b=f;break;case"input":_e(o,f),b=Oe(o,f),Vt("invalid",o);break;case"option":b=f;break;case"select":o._wrapperState={wasMultiple:!!f.multiple},b=Q({},f,{value:void 0}),Vt("invalid",o);break;case"textarea":lr(o,f),b=$e(o,f),Vt("invalid",o);break;default:b=f}hr(u,b),Y=b;for(S in Y)if(Y.hasOwnProperty(S)){var re=Y[S];S==="style"?We(o,re):S==="dangerouslySetInnerHTML"?(re=re?re.__html:void 0,re!=null&&Be(o,re)):S==="children"?typeof re=="string"?(u!=="textarea"||re!=="")&&lt(o,re):typeof re=="number"&&lt(o,""+re):S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&S!=="autoFocus"&&(i.hasOwnProperty(S)?re!=null&&S==="onScroll"&&Vt("scroll",o):re!=null&&_(o,S,re,j))}switch(u){case"input":Le(o),dt(o,f,!1);break;case"textarea":Le(o),le(o);break;case"option":f.value!=null&&o.setAttribute("value",""+ve(f.value));break;case"select":o.multiple=!!f.multiple,S=f.value,S!=null?ht(o,!!f.multiple,S,!1):f.defaultValue!=null&&ht(o,!!f.multiple,f.defaultValue,!0);break;default:typeof b.onClick=="function"&&(o.onclick=Ku)}switch(u){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break e;case"img":f=!0;break e;default:f=!1}}f&&(a.flags|=4)}a.ref!==null&&(a.flags|=512,a.flags|=2097152)}return Lr(a),null;case 6:if(o&&a.stateNode!=null)R1(o,a,o.memoizedProps,f);else{if(typeof f!="string"&&a.stateNode===null)throw Error(r(166));if(u=ba(Xl.current),ba(Si.current),rd(a)){if(f=a.stateNode,u=a.memoizedProps,f[wi]=a,(S=f.nodeValue!==u)&&(o=wn,o!==null))switch(o.tag){case 3:Xu(f.nodeValue,u,(o.mode&1)!==0);break;case 5:o.memoizedProps.suppressHydrationWarning!==!0&&Xu(f.nodeValue,u,(o.mode&1)!==0)}S&&(a.flags|=4)}else f=(u.nodeType===9?u:u.ownerDocument).createTextNode(f),f[wi]=a,a.stateNode=f}return Lr(a),null;case 13:if(Ut(Xt),f=a.memoizedState,o===null||o.memoizedState!==null&&o.memoizedState.dehydrated!==null){if(Wt&&Sn!==null&&(a.mode&1)!==0&&(a.flags&128)===0)Ov(),gs(),a.flags|=98560,S=!1;else if(S=rd(a),f!==null&&f.dehydrated!==null){if(o===null){if(!S)throw Error(r(318));if(S=a.memoizedState,S=S!==null?S.dehydrated:null,!S)throw Error(r(317));S[wi]=a}else gs(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Lr(a),S=!1}else ni!==null&&(pm(ni),ni=null),S=!0;if(!S)return a.flags&65536?a:null}return(a.flags&128)!==0?(a.lanes=u,a):(f=f!==null,f!==(o!==null&&o.memoizedState!==null)&&f&&(a.child.flags|=8192,(a.mode&1)!==0&&(o===null||(Xt.current&1)!==0?gr===0&&(gr=3):mm())),a.updateQueue!==null&&(a.flags|=4),Lr(a),null);case 4:return xs(),tm(o,a),o===null&&Fl(a.stateNode.containerInfo),Lr(a),null;case 10:return _h(a.type._context),Lr(a),null;case 17:return tn(a.type)&&Yu(),Lr(a),null;case 19:if(Ut(Xt),S=a.memoizedState,S===null)return Lr(a),null;if(f=(a.flags&128)!==0,j=S.rendering,j===null)if(f)Zl(S,!1);else{if(gr!==0||o!==null&&(o.flags&128)!==0)for(o=a.child;o!==null;){if(j=ld(o),j!==null){for(a.flags|=128,Zl(S,!1),f=j.updateQueue,f!==null&&(a.updateQueue=f,a.flags|=4),a.subtreeFlags=0,f=u,u=a.child;u!==null;)S=u,o=f,S.flags&=14680066,j=S.alternate,j===null?(S.childLanes=0,S.lanes=o,S.child=null,S.subtreeFlags=0,S.memoizedProps=null,S.memoizedState=null,S.updateQueue=null,S.dependencies=null,S.stateNode=null):(S.childLanes=j.childLanes,S.lanes=j.lanes,S.child=j.child,S.subtreeFlags=0,S.deletions=null,S.memoizedProps=j.memoizedProps,S.memoizedState=j.memoizedState,S.updateQueue=j.updateQueue,S.type=j.type,o=j.dependencies,S.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),u=u.sibling;return Ht(Xt,Xt.current&1|2),a.child}o=o.sibling}S.tail!==null&&nr()>Es&&(a.flags|=128,f=!0,Zl(S,!1),a.lanes=4194304)}else{if(!f)if(o=ld(j),o!==null){if(a.flags|=128,f=!0,u=o.updateQueue,u!==null&&(a.updateQueue=u,a.flags|=4),Zl(S,!0),S.tail===null&&S.tailMode==="hidden"&&!j.alternate&&!Wt)return Lr(a),null}else 2*nr()-S.renderingStartTime>Es&&u!==1073741824&&(a.flags|=128,f=!0,Zl(S,!1),a.lanes=4194304);S.isBackwards?(j.sibling=a.child,a.child=j):(u=S.last,u!==null?u.sibling=j:a.child=j,S.last=j)}return S.tail!==null?(a=S.tail,S.rendering=a,S.tail=a.sibling,S.renderingStartTime=nr(),a.sibling=null,u=Xt.current,Ht(Xt,f?u&1|2:u&1),a):(Lr(a),null);case 22:case 23:return hm(),f=a.memoizedState!==null,o!==null&&o.memoizedState!==null!==f&&(a.flags|=8192),f&&(a.mode&1)!==0?(Cn&1073741824)!==0&&(Lr(a),a.subtreeFlags&6&&(a.flags|=8192)):Lr(a),null;case 24:return null;case 25:return null}throw Error(r(156,a.tag))}function Xk(o,a){switch(Ch(a),a.tag){case 1:return tn(a.type)&&Yu(),o=a.flags,o&65536?(a.flags=o&-65537|128,a):null;case 3:return xs(),Ut(en),Ut(jr),Nh(),o=a.flags,(o&65536)!==0&&(o&128)===0?(a.flags=o&-65537|128,a):null;case 5:return Oh(a),null;case 13:if(Ut(Xt),o=a.memoizedState,o!==null&&o.dehydrated!==null){if(a.alternate===null)throw Error(r(340));gs()}return o=a.flags,o&65536?(a.flags=o&-65537|128,a):null;case 19:return Ut(Xt),null;case 4:return xs(),null;case 10:return _h(a.type._context),null;case 22:case 23:return hm(),null;case 24:return null;default:return null}}var yd=!1,Nr=!1,Kk=typeof WeakSet=="function"?WeakSet:Set,Fe=null;function Ss(o,a){var u=o.ref;if(u!==null)if(typeof u=="function")try{u(null)}catch(f){Jt(o,a,f)}else u.current=null}function rm(o,a,u){try{u()}catch(f){Jt(o,a,f)}}var I1=!1;function Qk(o,a){if(hh=$u,o=uv(),ah(o)){if("selectionStart"in o)var u={start:o.selectionStart,end:o.selectionEnd};else e:{u=(u=o.ownerDocument)&&u.defaultView||window;var f=u.getSelection&&u.getSelection();if(f&&f.rangeCount!==0){u=f.anchorNode;var b=f.anchorOffset,S=f.focusNode;f=f.focusOffset;try{u.nodeType,S.nodeType}catch{u=null;break e}var j=0,Y=-1,re=-1,fe=0,Ee=0,ke=o,Se=null;t:for(;;){for(var Ne;ke!==u||b!==0&&ke.nodeType!==3||(Y=j+b),ke!==S||f!==0&&ke.nodeType!==3||(re=j+f),ke.nodeType===3&&(j+=ke.nodeValue.length),(Ne=ke.firstChild)!==null;)Se=ke,ke=Ne;for(;;){if(ke===o)break t;if(Se===u&&++fe===b&&(Y=j),Se===S&&++Ee===f&&(re=j),(Ne=ke.nextSibling)!==null)break;ke=Se,Se=ke.parentNode}ke=Ne}u=Y===-1||re===-1?null:{start:Y,end:re}}else u=null}u=u||{start:0,end:0}}else u=null;for(mh={focusedElem:o,selectionRange:u},$u=!1,Fe=a;Fe!==null;)if(a=Fe,o=a.child,(a.subtreeFlags&1028)!==0&&o!==null)o.return=a,Fe=o;else for(;Fe!==null;){a=Fe;try{var Ue=a.alternate;if((a.flags&1024)!==0)switch(a.tag){case 0:case 11:case 15:break;case 1:if(Ue!==null){var qe=Ue.memoizedProps,ir=Ue.memoizedState,ce=a.stateNode,ae=ce.getSnapshotBeforeUpdate(a.elementType===a.type?qe:ii(a.type,qe),ir);ce.__reactInternalSnapshotBeforeUpdate=ae}break;case 3:var de=a.stateNode.containerInfo;de.nodeType===1?de.textContent="":de.nodeType===9&&de.documentElement&&de.removeChild(de.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(Me){Jt(a,a.return,Me)}if(o=a.sibling,o!==null){o.return=a.return,Fe=o;break}Fe=a.return}return Ue=I1,I1=!1,Ue}function ec(o,a,u){var f=a.updateQueue;if(f=f!==null?f.lastEffect:null,f!==null){var b=f=f.next;do{if((b.tag&o)===o){var S=b.destroy;b.destroy=void 0,S!==void 0&&rm(a,u,S)}b=b.next}while(b!==f)}}function vd(o,a){if(a=a.updateQueue,a=a!==null?a.lastEffect:null,a!==null){var u=a=a.next;do{if((u.tag&o)===o){var f=u.create;u.destroy=f()}u=u.next}while(u!==a)}}function nm(o){var a=o.ref;if(a!==null){var u=o.stateNode;switch(o.tag){case 5:o=u;break;default:o=u}typeof a=="function"?a(o):a.current=o}}function j1(o){var a=o.alternate;a!==null&&(o.alternate=null,j1(a)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(a=o.stateNode,a!==null&&(delete a[wi],delete a[Vl],delete a[bh],delete a[Ik],delete a[jk])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function O1(o){return o.tag===5||o.tag===3||o.tag===4}function L1(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||O1(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function im(o,a,u){var f=o.tag;if(f===5||f===6)o=o.stateNode,a?u.nodeType===8?u.parentNode.insertBefore(o,a):u.insertBefore(o,a):(u.nodeType===8?(a=u.parentNode,a.insertBefore(o,u)):(a=u,a.appendChild(o)),u=u._reactRootContainer,u!=null||a.onclick!==null||(a.onclick=Ku));else if(f!==4&&(o=o.child,o!==null))for(im(o,a,u),o=o.sibling;o!==null;)im(o,a,u),o=o.sibling}function om(o,a,u){var f=o.tag;if(f===5||f===6)o=o.stateNode,a?u.insertBefore(o,a):u.appendChild(o);else if(f!==4&&(o=o.child,o!==null))for(om(o,a,u),o=o.sibling;o!==null;)om(o,a,u),o=o.sibling}var Pr=null,oi=!1;function $o(o,a,u){for(u=u.child;u!==null;)N1(o,a,u),u=u.sibling}function N1(o,a,u){if(xi&&typeof xi.onCommitFiberUnmount=="function")try{xi.onCommitFiberUnmount(Ru,u)}catch{}switch(u.tag){case 5:Nr||Ss(u,a);case 6:var f=Pr,b=oi;Pr=null,$o(o,a,u),Pr=f,oi=b,Pr!==null&&(oi?(o=Pr,u=u.stateNode,o.nodeType===8?o.parentNode.removeChild(u):o.removeChild(u)):Pr.removeChild(u.stateNode));break;case 18:Pr!==null&&(oi?(o=Pr,u=u.stateNode,o.nodeType===8?vh(o.parentNode,u):o.nodeType===1&&vh(o,u),Il(o)):vh(Pr,u.stateNode));break;case 4:f=Pr,b=oi,Pr=u.stateNode.containerInfo,oi=!0,$o(o,a,u),Pr=f,oi=b;break;case 0:case 11:case 14:case 15:if(!Nr&&(f=u.updateQueue,f!==null&&(f=f.lastEffect,f!==null))){b=f=f.next;do{var S=b,j=S.destroy;S=S.tag,j!==void 0&&((S&2)!==0||(S&4)!==0)&&rm(u,a,j),b=b.next}while(b!==f)}$o(o,a,u);break;case 1:if(!Nr&&(Ss(u,a),f=u.stateNode,typeof f.componentWillUnmount=="function"))try{f.props=u.memoizedProps,f.state=u.memoizedState,f.componentWillUnmount()}catch(Y){Jt(u,a,Y)}$o(o,a,u);break;case 21:$o(o,a,u);break;case 22:u.mode&1?(Nr=(f=Nr)||u.memoizedState!==null,$o(o,a,u),Nr=f):$o(o,a,u);break;default:$o(o,a,u)}}function $1(o){var a=o.updateQueue;if(a!==null){o.updateQueue=null;var u=o.stateNode;u===null&&(u=o.stateNode=new Kk),a.forEach(function(f){var b=oP.bind(null,o,f);u.has(f)||(u.add(f),f.then(b,b))})}}function ai(o,a){var u=a.deletions;if(u!==null)for(var f=0;f<u.length;f++){var b=u[f];try{var S=o,j=a,Y=j;e:for(;Y!==null;){switch(Y.tag){case 5:Pr=Y.stateNode,oi=!1;break e;case 3:Pr=Y.stateNode.containerInfo,oi=!0;break e;case 4:Pr=Y.stateNode.containerInfo,oi=!0;break e}Y=Y.return}if(Pr===null)throw Error(r(160));N1(S,j,b),Pr=null,oi=!1;var re=b.alternate;re!==null&&(re.return=null),b.return=null}catch(fe){Jt(b,a,fe)}}if(a.subtreeFlags&12854)for(a=a.child;a!==null;)z1(a,o),a=a.sibling}function z1(o,a){var u=o.alternate,f=o.flags;switch(o.tag){case 0:case 11:case 14:case 15:if(ai(a,o),Ei(o),f&4){try{ec(3,o,o.return),vd(3,o)}catch(qe){Jt(o,o.return,qe)}try{ec(5,o,o.return)}catch(qe){Jt(o,o.return,qe)}}break;case 1:ai(a,o),Ei(o),f&512&&u!==null&&Ss(u,u.return);break;case 5:if(ai(a,o),Ei(o),f&512&&u!==null&&Ss(u,u.return),o.flags&32){var b=o.stateNode;try{lt(b,"")}catch(qe){Jt(o,o.return,qe)}}if(f&4&&(b=o.stateNode,b!=null)){var S=o.memoizedProps,j=u!==null?u.memoizedProps:S,Y=o.type,re=o.updateQueue;if(o.updateQueue=null,re!==null)try{Y==="input"&&S.type==="radio"&&S.name!=null&&st(b,S),Jn(Y,j);var fe=Jn(Y,S);for(j=0;j<re.length;j+=2){var Ee=re[j],ke=re[j+1];Ee==="style"?We(b,ke):Ee==="dangerouslySetInnerHTML"?Be(b,ke):Ee==="children"?lt(b,ke):_(b,Ee,ke,fe)}switch(Y){case"input":ft(b,S);break;case"textarea":kt(b,S);break;case"select":var Se=b._wrapperState.wasMultiple;b._wrapperState.wasMultiple=!!S.multiple;var Ne=S.value;Ne!=null?ht(b,!!S.multiple,Ne,!1):Se!==!!S.multiple&&(S.defaultValue!=null?ht(b,!!S.multiple,S.defaultValue,!0):ht(b,!!S.multiple,S.multiple?[]:"",!1))}b[Vl]=S}catch(qe){Jt(o,o.return,qe)}}break;case 6:if(ai(a,o),Ei(o),f&4){if(o.stateNode===null)throw Error(r(162));b=o.stateNode,S=o.memoizedProps;try{b.nodeValue=S}catch(qe){Jt(o,o.return,qe)}}break;case 3:if(ai(a,o),Ei(o),f&4&&u!==null&&u.memoizedState.isDehydrated)try{Il(a.containerInfo)}catch(qe){Jt(o,o.return,qe)}break;case 4:ai(a,o),Ei(o);break;case 13:ai(a,o),Ei(o),b=o.child,b.flags&8192&&(S=b.memoizedState!==null,b.stateNode.isHidden=S,!S||b.alternate!==null&&b.alternate.memoizedState!==null||(lm=nr())),f&4&&$1(o);break;case 22:if(Ee=u!==null&&u.memoizedState!==null,o.mode&1?(Nr=(fe=Nr)||Ee,ai(a,o),Nr=fe):ai(a,o),Ei(o),f&8192){if(fe=o.memoizedState!==null,(o.stateNode.isHidden=fe)&&!Ee&&(o.mode&1)!==0)for(Fe=o,Ee=o.child;Ee!==null;){for(ke=Fe=Ee;Fe!==null;){switch(Se=Fe,Ne=Se.child,Se.tag){case 0:case 11:case 14:case 15:ec(4,Se,Se.return);break;case 1:Ss(Se,Se.return);var Ue=Se.stateNode;if(typeof Ue.componentWillUnmount=="function"){f=Se,u=Se.return;try{a=f,Ue.props=a.memoizedProps,Ue.state=a.memoizedState,Ue.componentWillUnmount()}catch(qe){Jt(f,u,qe)}}break;case 5:Ss(Se,Se.return);break;case 22:if(Se.memoizedState!==null){F1(ke);continue}}Ne!==null?(Ne.return=Se,Fe=Ne):F1(ke)}Ee=Ee.sibling}e:for(Ee=null,ke=o;;){if(ke.tag===5){if(Ee===null){Ee=ke;try{b=ke.stateNode,fe?(S=b.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none"):(Y=ke.stateNode,re=ke.memoizedProps.style,j=re!=null&&re.hasOwnProperty("display")?re.display:null,Y.style.display=Ie("display",j))}catch(qe){Jt(o,o.return,qe)}}}else if(ke.tag===6){if(Ee===null)try{ke.stateNode.nodeValue=fe?"":ke.memoizedProps}catch(qe){Jt(o,o.return,qe)}}else if((ke.tag!==22&&ke.tag!==23||ke.memoizedState===null||ke===o)&&ke.child!==null){ke.child.return=ke,ke=ke.child;continue}if(ke===o)break e;for(;ke.sibling===null;){if(ke.return===null||ke.return===o)break e;Ee===ke&&(Ee=null),ke=ke.return}Ee===ke&&(Ee=null),ke.sibling.return=ke.return,ke=ke.sibling}}break;case 19:ai(a,o),Ei(o),f&4&&$1(o);break;case 21:break;default:ai(a,o),Ei(o)}}function Ei(o){var a=o.flags;if(a&2){try{e:{for(var u=o.return;u!==null;){if(O1(u)){var f=u;break e}u=u.return}throw Error(r(160))}switch(f.tag){case 5:var b=f.stateNode;f.flags&32&&(lt(b,""),f.flags&=-33);var S=L1(o);om(o,S,b);break;case 3:case 4:var j=f.stateNode.containerInfo,Y=L1(o);im(o,Y,j);break;default:throw Error(r(161))}}catch(re){Jt(o,o.return,re)}o.flags&=-3}a&4096&&(o.flags&=-4097)}function Yk(o,a,u){Fe=o,B1(o)}function B1(o,a,u){for(var f=(o.mode&1)!==0;Fe!==null;){var b=Fe,S=b.child;if(b.tag===22&&f){var j=b.memoizedState!==null||yd;if(!j){var Y=b.alternate,re=Y!==null&&Y.memoizedState!==null||Nr;Y=yd;var fe=Nr;if(yd=j,(Nr=re)&&!fe)for(Fe=b;Fe!==null;)j=Fe,re=j.child,j.tag===22&&j.memoizedState!==null?H1(b):re!==null?(re.return=j,Fe=re):H1(b);for(;S!==null;)Fe=S,B1(S),S=S.sibling;Fe=b,yd=Y,Nr=fe}D1(o)}else(b.subtreeFlags&8772)!==0&&S!==null?(S.return=b,Fe=S):D1(o)}}function D1(o){for(;Fe!==null;){var a=Fe;if((a.flags&8772)!==0){var u=a.alternate;try{if((a.flags&8772)!==0)switch(a.tag){case 0:case 11:case 15:Nr||vd(5,a);break;case 1:var f=a.stateNode;if(a.flags&4&&!Nr)if(u===null)f.componentDidMount();else{var b=a.elementType===a.type?u.memoizedProps:ii(a.type,u.memoizedProps);f.componentDidUpdate(b,u.memoizedState,f.__reactInternalSnapshotBeforeUpdate)}var S=a.updateQueue;S!==null&&Fv(a,S,f);break;case 3:var j=a.updateQueue;if(j!==null){if(u=null,a.child!==null)switch(a.child.tag){case 5:u=a.child.stateNode;break;case 1:u=a.child.stateNode}Fv(a,j,u)}break;case 5:var Y=a.stateNode;if(u===null&&a.flags&4){u=Y;var re=a.memoizedProps;switch(a.type){case"button":case"input":case"select":case"textarea":re.autoFocus&&u.focus();break;case"img":re.src&&(u.src=re.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(a.memoizedState===null){var fe=a.alternate;if(fe!==null){var Ee=fe.memoizedState;if(Ee!==null){var ke=Ee.dehydrated;ke!==null&&Il(ke)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}Nr||a.flags&512&&nm(a)}catch(Se){Jt(a,a.return,Se)}}if(a===o){Fe=null;break}if(u=a.sibling,u!==null){u.return=a.return,Fe=u;break}Fe=a.return}}function F1(o){for(;Fe!==null;){var a=Fe;if(a===o){Fe=null;break}var u=a.sibling;if(u!==null){u.return=a.return,Fe=u;break}Fe=a.return}}function H1(o){for(;Fe!==null;){var a=Fe;try{switch(a.tag){case 0:case 11:case 15:var u=a.return;try{vd(4,a)}catch(re){Jt(a,u,re)}break;case 1:var f=a.stateNode;if(typeof f.componentDidMount=="function"){var b=a.return;try{f.componentDidMount()}catch(re){Jt(a,b,re)}}var S=a.return;try{nm(a)}catch(re){Jt(a,S,re)}break;case 5:var j=a.return;try{nm(a)}catch(re){Jt(a,j,re)}}}catch(re){Jt(a,a.return,re)}if(a===o){Fe=null;break}var Y=a.sibling;if(Y!==null){Y.return=a.return,Fe=Y;break}Fe=a.return}}var Jk=Math.ceil,bd=E.ReactCurrentDispatcher,am=E.ReactCurrentOwner,$n=E.ReactCurrentBatchConfig,Mt=0,xr=null,cr=null,Mr=0,Cn=0,Cs=Io(0),gr=0,tc=null,wa=0,xd=0,sm=0,rc=null,nn=null,lm=0,Es=1/0,no=null,wd=!1,cm=null,zo=null,Sd=!1,Bo=null,Cd=0,nc=0,um=null,Ed=-1,Td=0;function qr(){return(Mt&6)!==0?nr():Ed!==-1?Ed:Ed=nr()}function Do(o){return(o.mode&1)===0?1:(Mt&2)!==0&&Mr!==0?Mr&-Mr:Lk.transition!==null?(Td===0&&(Td=L0()),Td):(o=jt,o!==0||(o=window.event,o=o===void 0?16:U0(o.type)),o)}function si(o,a,u,f){if(50<nc)throw nc=0,um=null,Error(r(185));Pl(o,u,f),((Mt&2)===0||o!==xr)&&(o===xr&&((Mt&2)===0&&(xd|=u),gr===4&&Fo(o,Mr)),on(o,f),u===1&&Mt===0&&(a.mode&1)===0&&(Es=nr()+500,Zu&&Oo()))}function on(o,a){var u=o.callbackNode;LT(o,a);var f=Ou(o,o===xr?Mr:0);if(f===0)u!==null&&I0(u),o.callbackNode=null,o.callbackPriority=0;else if(a=f&-f,o.callbackPriority!==a){if(u!=null&&I0(u),a===1)o.tag===0?Ok(U1.bind(null,o)):_v(U1.bind(null,o)),Ak(function(){(Mt&6)===0&&Oo()}),u=null;else{switch(N0(f)){case 1:u=Vf;break;case 4:u=j0;break;case 16:u=Au;break;case 536870912:u=O0;break;default:u=Au}u=J1(u,V1.bind(null,o))}o.callbackPriority=a,o.callbackNode=u}}function V1(o,a){if(Ed=-1,Td=0,(Mt&6)!==0)throw Error(r(327));var u=o.callbackNode;if(Ts()&&o.callbackNode!==u)return null;var f=Ou(o,o===xr?Mr:0);if(f===0)return null;if((f&30)!==0||(f&o.expiredLanes)!==0||a)a=kd(o,f);else{a=f;var b=Mt;Mt|=2;var S=q1();(xr!==o||Mr!==a)&&(no=null,Es=nr()+500,Ca(o,a));do try{tP();break}catch(Y){W1(o,Y)}while(!0);Mh(),bd.current=S,Mt=b,cr!==null?a=0:(xr=null,Mr=0,a=gr)}if(a!==0){if(a===2&&(b=Uf(o),b!==0&&(f=b,a=dm(o,b))),a===1)throw u=tc,Ca(o,0),Fo(o,f),on(o,nr()),u;if(a===6)Fo(o,f);else{if(b=o.current.alternate,(f&30)===0&&!Zk(b)&&(a=kd(o,f),a===2&&(S=Uf(o),S!==0&&(f=S,a=dm(o,S))),a===1))throw u=tc,Ca(o,0),Fo(o,f),on(o,nr()),u;switch(o.finishedWork=b,o.finishedLanes=f,a){case 0:case 1:throw Error(r(345));case 2:Ea(o,nn,no);break;case 3:if(Fo(o,f),(f&130023424)===f&&(a=lm+500-nr(),10<a)){if(Ou(o,0)!==0)break;if(b=o.suspendedLanes,(b&f)!==f){qr(),o.pingedLanes|=o.suspendedLanes&b;break}o.timeoutHandle=yh(Ea.bind(null,o,nn,no),a);break}Ea(o,nn,no);break;case 4:if(Fo(o,f),(f&4194240)===f)break;for(a=o.eventTimes,b=-1;0<f;){var j=31-ti(f);S=1<<j,j=a[j],j>b&&(b=j),f&=~S}if(f=b,f=nr()-f,f=(120>f?120:480>f?480:1080>f?1080:1920>f?1920:3e3>f?3e3:4320>f?4320:1960*Jk(f/1960))-f,10<f){o.timeoutHandle=yh(Ea.bind(null,o,nn,no),f);break}Ea(o,nn,no);break;case 5:Ea(o,nn,no);break;default:throw Error(r(329))}}}return on(o,nr()),o.callbackNode===u?V1.bind(null,o):null}function dm(o,a){var u=rc;return o.current.memoizedState.isDehydrated&&(Ca(o,a).flags|=256),o=kd(o,a),o!==2&&(a=nn,nn=u,a!==null&&pm(a)),o}function pm(o){nn===null?nn=o:nn.push.apply(nn,o)}function Zk(o){for(var a=o;;){if(a.flags&16384){var u=a.updateQueue;if(u!==null&&(u=u.stores,u!==null))for(var f=0;f<u.length;f++){var b=u[f],S=b.getSnapshot;b=b.value;try{if(!ri(S(),b))return!1}catch{return!1}}}if(u=a.child,a.subtreeFlags&16384&&u!==null)u.return=a,a=u;else{if(a===o)break;for(;a.sibling===null;){if(a.return===null||a.return===o)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Fo(o,a){for(a&=~sm,a&=~xd,o.suspendedLanes|=a,o.pingedLanes&=~a,o=o.expirationTimes;0<a;){var u=31-ti(a),f=1<<u;o[u]=-1,a&=~f}}function U1(o){if((Mt&6)!==0)throw Error(r(327));Ts();var a=Ou(o,0);if((a&1)===0)return on(o,nr()),null;var u=kd(o,a);if(o.tag!==0&&u===2){var f=Uf(o);f!==0&&(a=f,u=dm(o,f))}if(u===1)throw u=tc,Ca(o,0),Fo(o,a),on(o,nr()),u;if(u===6)throw Error(r(345));return o.finishedWork=o.current.alternate,o.finishedLanes=a,Ea(o,nn,no),on(o,nr()),null}function fm(o,a){var u=Mt;Mt|=1;try{return o(a)}finally{Mt=u,Mt===0&&(Es=nr()+500,Zu&&Oo())}}function Sa(o){Bo!==null&&Bo.tag===0&&(Mt&6)===0&&Ts();var a=Mt;Mt|=1;var u=$n.transition,f=jt;try{if($n.transition=null,jt=1,o)return o()}finally{jt=f,$n.transition=u,Mt=a,(Mt&6)===0&&Oo()}}function hm(){Cn=Cs.current,Ut(Cs)}function Ca(o,a){o.finishedWork=null,o.finishedLanes=0;var u=o.timeoutHandle;if(u!==-1&&(o.timeoutHandle=-1,_k(u)),cr!==null)for(u=cr.return;u!==null;){var f=u;switch(Ch(f),f.tag){case 1:f=f.type.childContextTypes,f!=null&&Yu();break;case 3:xs(),Ut(en),Ut(jr),Nh();break;case 5:Oh(f);break;case 4:xs();break;case 13:Ut(Xt);break;case 19:Ut(Xt);break;case 10:_h(f.type._context);break;case 22:case 23:hm()}u=u.return}if(xr=o,cr=o=Ho(o.current,null),Mr=Cn=a,gr=0,tc=null,sm=xd=wa=0,nn=rc=null,va!==null){for(a=0;a<va.length;a++)if(u=va[a],f=u.interleaved,f!==null){u.interleaved=null;var b=f.next,S=u.pending;if(S!==null){var j=S.next;S.next=b,f.next=j}u.pending=f}va=null}return o}function W1(o,a){do{var u=cr;try{if(Mh(),cd.current=fd,ud){for(var f=Kt.memoizedState;f!==null;){var b=f.queue;b!==null&&(b.pending=null),f=f.next}ud=!1}if(xa=0,br=mr=Kt=null,Kl=!1,Ql=0,am.current=null,u===null||u.return===null){gr=1,tc=a,cr=null;break}e:{var S=o,j=u.return,Y=u,re=a;if(a=Mr,Y.flags|=32768,re!==null&&typeof re=="object"&&typeof re.then=="function"){var fe=re,Ee=Y,ke=Ee.tag;if((Ee.mode&1)===0&&(ke===0||ke===11||ke===15)){var Se=Ee.alternate;Se?(Ee.updateQueue=Se.updateQueue,Ee.memoizedState=Se.memoizedState,Ee.lanes=Se.lanes):(Ee.updateQueue=null,Ee.memoizedState=null)}var Ne=g1(j);if(Ne!==null){Ne.flags&=-257,y1(Ne,j,Y,S,a),Ne.mode&1&&m1(S,fe,a),a=Ne,re=fe;var Ue=a.updateQueue;if(Ue===null){var qe=new Set;qe.add(re),a.updateQueue=qe}else Ue.add(re);break e}else{if((a&1)===0){m1(S,fe,a),mm();break e}re=Error(r(426))}}else if(Wt&&Y.mode&1){var ir=g1(j);if(ir!==null){(ir.flags&65536)===0&&(ir.flags|=256),y1(ir,j,Y,S,a),kh(ws(re,Y));break e}}S=re=ws(re,Y),gr!==4&&(gr=2),rc===null?rc=[S]:rc.push(S),S=j;do{switch(S.tag){case 3:S.flags|=65536,a&=-a,S.lanes|=a;var ce=f1(S,re,a);Dv(S,ce);break e;case 1:Y=re;var ae=S.type,de=S.stateNode;if((S.flags&128)===0&&(typeof ae.getDerivedStateFromError=="function"||de!==null&&typeof de.componentDidCatch=="function"&&(zo===null||!zo.has(de)))){S.flags|=65536,a&=-a,S.lanes|=a;var Me=h1(S,Y,a);Dv(S,Me);break e}}S=S.return}while(S!==null)}X1(u)}catch(Xe){a=Xe,cr===u&&u!==null&&(cr=u=u.return);continue}break}while(!0)}function q1(){var o=bd.current;return bd.current=fd,o===null?fd:o}function mm(){(gr===0||gr===3||gr===2)&&(gr=4),xr===null||(wa&268435455)===0&&(xd&268435455)===0||Fo(xr,Mr)}function kd(o,a){var u=Mt;Mt|=2;var f=q1();(xr!==o||Mr!==a)&&(no=null,Ca(o,a));do try{eP();break}catch(b){W1(o,b)}while(!0);if(Mh(),Mt=u,bd.current=f,cr!==null)throw Error(r(261));return xr=null,Mr=0,gr}function eP(){for(;cr!==null;)G1(cr)}function tP(){for(;cr!==null&&!kT();)G1(cr)}function G1(o){var a=Y1(o.alternate,o,Cn);o.memoizedProps=o.pendingProps,a===null?X1(o):cr=a,am.current=null}function X1(o){var a=o;do{var u=a.alternate;if(o=a.return,(a.flags&32768)===0){if(u=Gk(u,a,Cn),u!==null){cr=u;return}}else{if(u=Xk(u,a),u!==null){u.flags&=32767,cr=u;return}if(o!==null)o.flags|=32768,o.subtreeFlags=0,o.deletions=null;else{gr=6,cr=null;return}}if(a=a.sibling,a!==null){cr=a;return}cr=a=o}while(a!==null);gr===0&&(gr=5)}function Ea(o,a,u){var f=jt,b=$n.transition;try{$n.transition=null,jt=1,rP(o,a,u,f)}finally{$n.transition=b,jt=f}return null}function rP(o,a,u,f){do Ts();while(Bo!==null);if((Mt&6)!==0)throw Error(r(327));u=o.finishedWork;var b=o.finishedLanes;if(u===null)return null;if(o.finishedWork=null,o.finishedLanes=0,u===o.current)throw Error(r(177));o.callbackNode=null,o.callbackPriority=0;var S=u.lanes|u.childLanes;if(NT(o,S),o===xr&&(cr=xr=null,Mr=0),(u.subtreeFlags&2064)===0&&(u.flags&2064)===0||Sd||(Sd=!0,J1(Au,function(){return Ts(),null})),S=(u.flags&15990)!==0,(u.subtreeFlags&15990)!==0||S){S=$n.transition,$n.transition=null;var j=jt;jt=1;var Y=Mt;Mt|=4,am.current=null,Qk(o,u),z1(u,o),Sk(mh),$u=!!hh,mh=hh=null,o.current=u,Yk(u),PT(),Mt=Y,jt=j,$n.transition=S}else o.current=u;if(Sd&&(Sd=!1,Bo=o,Cd=b),S=o.pendingLanes,S===0&&(zo=null),AT(u.stateNode),on(o,nr()),a!==null)for(f=o.onRecoverableError,u=0;u<a.length;u++)b=a[u],f(b.value,{componentStack:b.stack,digest:b.digest});if(wd)throw wd=!1,o=cm,cm=null,o;return(Cd&1)!==0&&o.tag!==0&&Ts(),S=o.pendingLanes,(S&1)!==0?o===um?nc++:(nc=0,um=o):nc=0,Oo(),null}function Ts(){if(Bo!==null){var o=N0(Cd),a=$n.transition,u=jt;try{if($n.transition=null,jt=16>o?16:o,Bo===null)var f=!1;else{if(o=Bo,Bo=null,Cd=0,(Mt&6)!==0)throw Error(r(331));var b=Mt;for(Mt|=4,Fe=o.current;Fe!==null;){var S=Fe,j=S.child;if((Fe.flags&16)!==0){var Y=S.deletions;if(Y!==null){for(var re=0;re<Y.length;re++){var fe=Y[re];for(Fe=fe;Fe!==null;){var Ee=Fe;switch(Ee.tag){case 0:case 11:case 15:ec(8,Ee,S)}var ke=Ee.child;if(ke!==null)ke.return=Ee,Fe=ke;else for(;Fe!==null;){Ee=Fe;var Se=Ee.sibling,Ne=Ee.return;if(j1(Ee),Ee===fe){Fe=null;break}if(Se!==null){Se.return=Ne,Fe=Se;break}Fe=Ne}}}var Ue=S.alternate;if(Ue!==null){var qe=Ue.child;if(qe!==null){Ue.child=null;do{var ir=qe.sibling;qe.sibling=null,qe=ir}while(qe!==null)}}Fe=S}}if((S.subtreeFlags&2064)!==0&&j!==null)j.return=S,Fe=j;else e:for(;Fe!==null;){if(S=Fe,(S.flags&2048)!==0)switch(S.tag){case 0:case 11:case 15:ec(9,S,S.return)}var ce=S.sibling;if(ce!==null){ce.return=S.return,Fe=ce;break e}Fe=S.return}}var ae=o.current;for(Fe=ae;Fe!==null;){j=Fe;var de=j.child;if((j.subtreeFlags&2064)!==0&&de!==null)de.return=j,Fe=de;else e:for(j=ae;Fe!==null;){if(Y=Fe,(Y.flags&2048)!==0)try{switch(Y.tag){case 0:case 11:case 15:vd(9,Y)}}catch(Xe){Jt(Y,Y.return,Xe)}if(Y===j){Fe=null;break e}var Me=Y.sibling;if(Me!==null){Me.return=Y.return,Fe=Me;break e}Fe=Y.return}}if(Mt=b,Oo(),xi&&typeof xi.onPostCommitFiberRoot=="function")try{xi.onPostCommitFiberRoot(Ru,o)}catch{}f=!0}return f}finally{jt=u,$n.transition=a}}return!1}function K1(o,a,u){a=ws(u,a),a=f1(o,a,1),o=No(o,a,1),a=qr(),o!==null&&(Pl(o,1,a),on(o,a))}function Jt(o,a,u){if(o.tag===3)K1(o,o,u);else for(;a!==null;){if(a.tag===3){K1(a,o,u);break}else if(a.tag===1){var f=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(zo===null||!zo.has(f))){o=ws(u,o),o=h1(a,o,1),a=No(a,o,1),o=qr(),a!==null&&(Pl(a,1,o),on(a,o));break}}a=a.return}}function nP(o,a,u){var f=o.pingCache;f!==null&&f.delete(a),a=qr(),o.pingedLanes|=o.suspendedLanes&u,xr===o&&(Mr&u)===u&&(gr===4||gr===3&&(Mr&130023424)===Mr&&500>nr()-lm?Ca(o,0):sm|=u),on(o,a)}function Q1(o,a){a===0&&((o.mode&1)===0?a=1:(a=ju,ju<<=1,(ju&130023424)===0&&(ju=4194304)));var u=qr();o=eo(o,a),o!==null&&(Pl(o,a,u),on(o,u))}function iP(o){var a=o.memoizedState,u=0;a!==null&&(u=a.retryLane),Q1(o,u)}function oP(o,a){var u=0;switch(o.tag){case 13:var f=o.stateNode,b=o.memoizedState;b!==null&&(u=b.retryLane);break;case 19:f=o.stateNode;break;default:throw Error(r(314))}f!==null&&f.delete(a),Q1(o,u)}var Y1;Y1=function(o,a,u){if(o!==null)if(o.memoizedProps!==a.pendingProps||en.current)rn=!0;else{if((o.lanes&u)===0&&(a.flags&128)===0)return rn=!1,qk(o,a,u);rn=(o.flags&131072)!==0}else rn=!1,Wt&&(a.flags&1048576)!==0&&Av(a,td,a.index);switch(a.lanes=0,a.tag){case 2:var f=a.type;gd(o,a),o=a.pendingProps;var b=fs(a,jr.current);bs(a,u),b=Bh(null,a,f,o,b,u);var S=Dh();return a.flags|=1,typeof b=="object"&&b!==null&&typeof b.render=="function"&&b.$$typeof===void 0?(a.tag=1,a.memoizedState=null,a.updateQueue=null,tn(f)?(S=!0,Ju(a)):S=!1,a.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,Ih(a),b.updater=hd,a.stateNode=b,b._reactInternals=a,qh(a,f,o,u),a=Qh(null,a,f,!0,S,u)):(a.tag=0,Wt&&S&&Sh(a),Wr(null,a,b,u),a=a.child),a;case 16:f=a.elementType;e:{switch(gd(o,a),o=a.pendingProps,b=f._init,f=b(f._payload),a.type=f,b=a.tag=sP(f),o=ii(f,o),b){case 0:a=Kh(null,a,f,o,u);break e;case 1:a=C1(null,a,f,o,u);break e;case 11:a=v1(null,a,f,o,u);break e;case 14:a=b1(null,a,f,ii(f.type,o),u);break e}throw Error(r(306,f,""))}return a;case 0:return f=a.type,b=a.pendingProps,b=a.elementType===f?b:ii(f,b),Kh(o,a,f,b,u);case 1:return f=a.type,b=a.pendingProps,b=a.elementType===f?b:ii(f,b),C1(o,a,f,b,u);case 3:e:{if(E1(a),o===null)throw Error(r(387));f=a.pendingProps,S=a.memoizedState,b=S.element,Bv(o,a),sd(a,f,null,u);var j=a.memoizedState;if(f=j.element,S.isDehydrated)if(S={element:f,isDehydrated:!1,cache:j.cache,pendingSuspenseBoundaries:j.pendingSuspenseBoundaries,transitions:j.transitions},a.updateQueue.baseState=S,a.memoizedState=S,a.flags&256){b=ws(Error(r(423)),a),a=T1(o,a,f,u,b);break e}else if(f!==b){b=ws(Error(r(424)),a),a=T1(o,a,f,u,b);break e}else for(Sn=Ro(a.stateNode.containerInfo.firstChild),wn=a,Wt=!0,ni=null,u=$v(a,null,f,u),a.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling;else{if(gs(),f===b){a=ro(o,a,u);break e}Wr(o,a,f,u)}a=a.child}return a;case 5:return Hv(a),o===null&&Th(a),f=a.type,b=a.pendingProps,S=o!==null?o.memoizedProps:null,j=b.children,gh(f,b)?j=null:S!==null&&gh(f,S)&&(a.flags|=32),S1(o,a),Wr(o,a,j,u),a.child;case 6:return o===null&&Th(a),null;case 13:return k1(o,a,u);case 4:return jh(a,a.stateNode.containerInfo),f=a.pendingProps,o===null?a.child=ys(a,null,f,u):Wr(o,a,f,u),a.child;case 11:return f=a.type,b=a.pendingProps,b=a.elementType===f?b:ii(f,b),v1(o,a,f,b,u);case 7:return Wr(o,a,a.pendingProps,u),a.child;case 8:return Wr(o,a,a.pendingProps.children,u),a.child;case 12:return Wr(o,a,a.pendingProps.children,u),a.child;case 10:e:{if(f=a.type._context,b=a.pendingProps,S=a.memoizedProps,j=b.value,Ht(id,f._currentValue),f._currentValue=j,S!==null)if(ri(S.value,j)){if(S.children===b.children&&!en.current){a=ro(o,a,u);break e}}else for(S=a.child,S!==null&&(S.return=a);S!==null;){var Y=S.dependencies;if(Y!==null){j=S.child;for(var re=Y.firstContext;re!==null;){if(re.context===f){if(S.tag===1){re=to(-1,u&-u),re.tag=2;var fe=S.updateQueue;if(fe!==null){fe=fe.shared;var Ee=fe.pending;Ee===null?re.next=re:(re.next=Ee.next,Ee.next=re),fe.pending=re}}S.lanes|=u,re=S.alternate,re!==null&&(re.lanes|=u),Ah(S.return,u,a),Y.lanes|=u;break}re=re.next}}else if(S.tag===10)j=S.type===a.type?null:S.child;else if(S.tag===18){if(j=S.return,j===null)throw Error(r(341));j.lanes|=u,Y=j.alternate,Y!==null&&(Y.lanes|=u),Ah(j,u,a),j=S.sibling}else j=S.child;if(j!==null)j.return=S;else for(j=S;j!==null;){if(j===a){j=null;break}if(S=j.sibling,S!==null){S.return=j.return,j=S;break}j=j.return}S=j}Wr(o,a,b.children,u),a=a.child}return a;case 9:return b=a.type,f=a.pendingProps.children,bs(a,u),b=Ln(b),f=f(b),a.flags|=1,Wr(o,a,f,u),a.child;case 14:return f=a.type,b=ii(f,a.pendingProps),b=ii(f.type,b),b1(o,a,f,b,u);case 15:return x1(o,a,a.type,a.pendingProps,u);case 17:return f=a.type,b=a.pendingProps,b=a.elementType===f?b:ii(f,b),gd(o,a),a.tag=1,tn(f)?(o=!0,Ju(a)):o=!1,bs(a,u),d1(a,f,b),qh(a,f,b,u),Qh(null,a,f,!0,o,u);case 19:return M1(o,a,u);case 22:return w1(o,a,u)}throw Error(r(156,a.tag))};function J1(o,a){return R0(o,a)}function aP(o,a,u,f){this.tag=o,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zn(o,a,u,f){return new aP(o,a,u,f)}function gm(o){return o=o.prototype,!(!o||!o.isReactComponent)}function sP(o){if(typeof o=="function")return gm(o)?1:0;if(o!=null){if(o=o.$$typeof,o===M)return 11;if(o===B)return 14}return 2}function Ho(o,a){var u=o.alternate;return u===null?(u=zn(o.tag,a,o.key,o.mode),u.elementType=o.elementType,u.type=o.type,u.stateNode=o.stateNode,u.alternate=o,o.alternate=u):(u.pendingProps=a,u.type=o.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=o.flags&14680064,u.childLanes=o.childLanes,u.lanes=o.lanes,u.child=o.child,u.memoizedProps=o.memoizedProps,u.memoizedState=o.memoizedState,u.updateQueue=o.updateQueue,a=o.dependencies,u.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},u.sibling=o.sibling,u.index=o.index,u.ref=o.ref,u}function Pd(o,a,u,f,b,S){var j=2;if(f=o,typeof o=="function")gm(o)&&(j=1);else if(typeof o=="string")j=5;else e:switch(o){case D:return Ta(u.children,b,S,a);case $:j=8,b|=8;break;case U:return o=zn(12,u,a,b|2),o.elementType=U,o.lanes=S,o;case W:return o=zn(13,u,a,b),o.elementType=W,o.lanes=S,o;case G:return o=zn(19,u,a,b),o.elementType=G,o.lanes=S,o;case K:return Md(u,b,S,a);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case X:j=10;break e;case H:j=9;break e;case M:j=11;break e;case B:j=14;break e;case V:j=16,f=null;break e}throw Error(r(130,o==null?o:typeof o,""))}return a=zn(j,u,a,b),a.elementType=o,a.type=f,a.lanes=S,a}function Ta(o,a,u,f){return o=zn(7,o,f,a),o.lanes=u,o}function Md(o,a,u,f){return o=zn(22,o,f,a),o.elementType=K,o.lanes=u,o.stateNode={isHidden:!1},o}function ym(o,a,u){return o=zn(6,o,null,a),o.lanes=u,o}function vm(o,a,u){return a=zn(4,o.children!==null?o.children:[],o.key,a),a.lanes=u,a.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},a}function lP(o,a,u,f,b){this.tag=a,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Wf(0),this.expirationTimes=Wf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wf(0),this.identifierPrefix=f,this.onRecoverableError=b,this.mutableSourceEagerHydrationData=null}function bm(o,a,u,f,b,S,j,Y,re){return o=new lP(o,a,u,Y,re),a===1?(a=1,S===!0&&(a|=8)):a=0,S=zn(3,null,null,a),o.current=S,S.stateNode=o,S.memoizedState={element:f,isDehydrated:u,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ih(S),o}function cP(o,a,u){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:I,key:f==null?null:""+f,children:o,containerInfo:a,implementation:u}}function Z1(o){if(!o)return jo;o=o._reactInternals;e:{if(fa(o)!==o||o.tag!==1)throw Error(r(170));var a=o;do{switch(a.tag){case 3:a=a.stateNode.context;break e;case 1:if(tn(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break e}}a=a.return}while(a!==null);throw Error(r(171))}if(o.tag===1){var u=o.type;if(tn(u))return Pv(o,u,a)}return a}function eb(o,a,u,f,b,S,j,Y,re){return o=bm(u,f,!0,o,b,S,j,Y,re),o.context=Z1(null),u=o.current,f=qr(),b=Do(u),S=to(f,b),S.callback=a??null,No(u,S,b),o.current.lanes=b,Pl(o,b,f),on(o,f),o}function _d(o,a,u,f){var b=a.current,S=qr(),j=Do(b);return u=Z1(u),a.context===null?a.context=u:a.pendingContext=u,a=to(S,j),a.payload={element:o},f=f===void 0?null:f,f!==null&&(a.callback=f),o=No(b,a,j),o!==null&&(si(o,b,j,S),ad(o,b,j)),j}function Ad(o){if(o=o.current,!o.child)return null;switch(o.child.tag){case 5:return o.child.stateNode;default:return o.child.stateNode}}function tb(o,a){if(o=o.memoizedState,o!==null&&o.dehydrated!==null){var u=o.retryLane;o.retryLane=u!==0&&u<a?u:a}}function xm(o,a){tb(o,a),(o=o.alternate)&&tb(o,a)}function uP(){return null}var rb=typeof reportError=="function"?reportError:function(o){console.error(o)};function wm(o){this._internalRoot=o}Rd.prototype.render=wm.prototype.render=function(o){var a=this._internalRoot;if(a===null)throw Error(r(409));_d(o,a,null,null)},Rd.prototype.unmount=wm.prototype.unmount=function(){var o=this._internalRoot;if(o!==null){this._internalRoot=null;var a=o.containerInfo;Sa(function(){_d(null,o,null,null)}),a[Qi]=null}};function Rd(o){this._internalRoot=o}Rd.prototype.unstable_scheduleHydration=function(o){if(o){var a=B0();o={blockedOn:null,target:o,priority:a};for(var u=0;u<Mo.length&&a!==0&&a<Mo[u].priority;u++);Mo.splice(u,0,o),u===0&&H0(o)}};function Sm(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)}function Id(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11&&(o.nodeType!==8||o.nodeValue!==" react-mount-point-unstable "))}function nb(){}function dP(o,a,u,f,b){if(b){if(typeof f=="function"){var S=f;f=function(){var fe=Ad(j);S.call(fe)}}var j=eb(a,f,o,0,null,!1,!1,"",nb);return o._reactRootContainer=j,o[Qi]=j.current,Fl(o.nodeType===8?o.parentNode:o),Sa(),j}for(;b=o.lastChild;)o.removeChild(b);if(typeof f=="function"){var Y=f;f=function(){var fe=Ad(re);Y.call(fe)}}var re=bm(o,0,!1,null,null,!1,!1,"",nb);return o._reactRootContainer=re,o[Qi]=re.current,Fl(o.nodeType===8?o.parentNode:o),Sa(function(){_d(a,re,u,f)}),re}function jd(o,a,u,f,b){var S=u._reactRootContainer;if(S){var j=S;if(typeof b=="function"){var Y=b;b=function(){var re=Ad(j);Y.call(re)}}_d(a,j,o,b)}else j=dP(u,a,o,b,f);return Ad(j)}$0=function(o){switch(o.tag){case 3:var a=o.stateNode;if(a.current.memoizedState.isDehydrated){var u=kl(a.pendingLanes);u!==0&&(qf(a,u|1),on(a,nr()),(Mt&6)===0&&(Es=nr()+500,Oo()))}break;case 13:Sa(function(){var f=eo(o,1);if(f!==null){var b=qr();si(f,o,1,b)}}),xm(o,1)}},Gf=function(o){if(o.tag===13){var a=eo(o,134217728);if(a!==null){var u=qr();si(a,o,134217728,u)}xm(o,134217728)}},z0=function(o){if(o.tag===13){var a=Do(o),u=eo(o,a);if(u!==null){var f=qr();si(u,o,a,f)}xm(o,a)}},B0=function(){return jt},D0=function(o,a){var u=jt;try{return jt=o,a()}finally{jt=u}},Eo=function(o,a,u){switch(a){case"input":if(ft(o,u),a=u.name,u.type==="radio"&&a!=null){for(u=o;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),a=0;a<u.length;a++){var f=u[a];if(f!==o&&f.form===o.form){var b=Qu(f);if(!b)throw Error(r(90));De(f),ft(f,b)}}}break;case"textarea":kt(o,u);break;case"select":a=u.value,a!=null&&ht(o,!!u.multiple,a,!1)}},Pu=fm,mt=Sa;var pP={usingClientEntryPoint:!1,Events:[Ul,ds,Qu,ei,pa,fm]},ic={findFiberByHostInstance:ha,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},fP={bundleType:ic.bundleType,version:ic.version,rendererPackageName:ic.rendererPackageName,rendererConfig:ic.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:E.ReactCurrentDispatcher,findHostInstanceByFiber:function(o){return o=_0(o),o===null?null:o.stateNode},findFiberByHostInstance:ic.findFiberByHostInstance||uP,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Od=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Od.isDisabled&&Od.supportsFiber)try{Ru=Od.inject(fP),xi=Od}catch{}}return an.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=pP,an.createPortal=function(o,a){var u=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Sm(a))throw Error(r(200));return cP(o,a,null,u)},an.createRoot=function(o,a){if(!Sm(o))throw Error(r(299));var u=!1,f="",b=rb;return a!=null&&(a.unstable_strictMode===!0&&(u=!0),a.identifierPrefix!==void 0&&(f=a.identifierPrefix),a.onRecoverableError!==void 0&&(b=a.onRecoverableError)),a=bm(o,1,!1,null,null,u,!1,f,b),o[Qi]=a.current,Fl(o.nodeType===8?o.parentNode:o),new wm(a)},an.findDOMNode=function(o){if(o==null)return null;if(o.nodeType===1)return o;var a=o._reactInternals;if(a===void 0)throw typeof o.render=="function"?Error(r(188)):(o=Object.keys(o).join(","),Error(r(268,o)));return o=_0(a),o=o===null?null:o.stateNode,o},an.flushSync=function(o){return Sa(o)},an.hydrate=function(o,a,u){if(!Id(a))throw Error(r(200));return jd(null,o,a,!0,u)},an.hydrateRoot=function(o,a,u){if(!Sm(o))throw Error(r(405));var f=u!=null&&u.hydratedSources||null,b=!1,S="",j=rb;if(u!=null&&(u.unstable_strictMode===!0&&(b=!0),u.identifierPrefix!==void 0&&(S=u.identifierPrefix),u.onRecoverableError!==void 0&&(j=u.onRecoverableError)),a=eb(a,null,o,1,u??null,b,!1,S,j),o[Qi]=a.current,Fl(o),f)for(o=0;o<f.length;o++)u=f[o],b=u._getVersion,b=b(u._source),a.mutableSourceEagerHydrationData==null?a.mutableSourceEagerHydrationData=[u,b]:a.mutableSourceEagerHydrationData.push(u,b);return new Rd(a)},an.render=function(o,a,u){if(!Id(a))throw Error(r(200));return jd(null,o,a,!1,u)},an.unmountComponentAtNode=function(o){if(!Id(o))throw Error(r(40));return o._reactRootContainer?(Sa(function(){jd(null,null,o,!1,function(){o._reactRootContainer=null,o[Qi]=null})}),!0):!1},an.unstable_batchedUpdates=fm,an.unstable_renderSubtreeIntoContainer=function(o,a,u,f){if(!Id(u))throw Error(r(200));if(o==null||o._reactInternals===void 0)throw Error(r(38));return jd(o,a,u,!1,f)},an.version="18.3.1-next-f1338f8080-20240426",an}var pb;function RS(){if(pb)return Tm.exports;pb=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),Tm.exports=CP(),Tm.exports}var fb;function EP(){if(fb)return Ld;fb=1;var t=RS();return Ld.createRoot=t.createRoot,Ld.hydrateRoot=t.hydrateRoot,Ld}var TP=EP();const kP=Kp(TP);var IS=RS();const Nd=Kp(IS);/**
41
- * @remix-run/router v1.23.1
42
- *
43
- * Copyright (c) Remix Software Inc.
44
- *
45
- * This source code is licensed under the MIT license found in the
46
- * LICENSE.md file in the root directory of this source tree.
47
- *
48
- * @license MIT
49
- */function Lc(){return Lc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Lc.apply(this,arguments)}var Wo;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(Wo||(Wo={}));const hb="popstate";function PP(t){t===void 0&&(t={});function e(n,i){let{pathname:s,search:l,hash:c}=n.location;return rg("",{pathname:s,search:l,hash:c},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function r(n,i){return typeof i=="string"?i:jS(i)}return _P(e,r,null,t)}function yr(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function ry(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function MP(){return Math.random().toString(36).substr(2,8)}function mb(t,e){return{usr:t.state,key:t.key,idx:e}}function rg(t,e,r,n){return r===void 0&&(r=null),Lc({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?dl(e):e,{state:r,key:e&&e.key||n||MP()})}function jS(t){let{pathname:e="/",search:r="",hash:n=""}=t;return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function dl(t){let e={};if(t){let r=t.indexOf("#");r>=0&&(e.hash=t.substr(r),t=t.substr(0,r));let n=t.indexOf("?");n>=0&&(e.search=t.substr(n),t=t.substr(0,n)),t&&(e.pathname=t)}return e}function _P(t,e,r,n){n===void 0&&(n={});let{window:i=document.defaultView,v5Compat:s=!1}=n,l=i.history,c=Wo.Pop,d=null,p=m();p==null&&(p=0,l.replaceState(Lc({},l.state,{idx:p}),""));function m(){return(l.state||{idx:null}).idx}function v(){c=Wo.Pop;let C=m(),P=C==null?null:C-p;p=C,d&&d({action:c,location:x.location,delta:P})}function g(C,P){c=Wo.Push;let k=rg(x.location,C,P);p=m()+1;let _=mb(k,p),E=x.createHref(k);try{l.pushState(_,"",E)}catch(A){if(A instanceof DOMException&&A.name==="DataCloneError")throw A;i.location.assign(E)}s&&d&&d({action:c,location:x.location,delta:1})}function y(C,P){c=Wo.Replace;let k=rg(x.location,C,P);p=m();let _=mb(k,p),E=x.createHref(k);l.replaceState(_,"",E),s&&d&&d({action:c,location:x.location,delta:0})}function w(C){let P=i.location.origin!=="null"?i.location.origin:i.location.href,k=typeof C=="string"?C:jS(C);return k=k.replace(/ $/,"%20"),yr(P,"No window.location.(origin|href) available to create URL for href: "+k),new URL(k,P)}let x={get action(){return c},get location(){return t(i,l)},listen(C){if(d)throw new Error("A history only accepts one active listener");return i.addEventListener(hb,v),d=C,()=>{i.removeEventListener(hb,v),d=null}},createHref(C){return e(i,C)},createURL:w,encodeLocation(C){let P=w(C);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:g,replace:y,go(C){return l.go(C)}};return x}var gb;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(gb||(gb={}));function AP(t,e,r){return r===void 0&&(r="/"),RP(t,e,r)}function RP(t,e,r,n){let i=typeof e=="string"?dl(e):e,s=NS(i.pathname||"/",r);if(s==null)return null;let l=OS(t);IP(l);let c=null;for(let d=0;c==null&&d<l.length;++d){let p=UP(s);c=FP(l[d],p)}return c}function OS(t,e,r,n){e===void 0&&(e=[]),r===void 0&&(r=[]),n===void 0&&(n="");let i=(s,l,c)=>{let d={relativePath:c===void 0?s.path||"":c,caseSensitive:s.caseSensitive===!0,childrenIndex:l,route:s};d.relativePath.startsWith("/")&&(yr(d.relativePath.startsWith(n),'Absolute route path "'+d.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),d.relativePath=d.relativePath.slice(n.length));let p=za([n,d.relativePath]),m=r.concat(d);s.children&&s.children.length>0&&(yr(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+p+'".')),OS(s.children,e,m,p)),!(s.path==null&&!s.index)&&e.push({path:p,score:BP(p,s.index),routesMeta:m})};return t.forEach((s,l)=>{var c;if(s.path===""||!((c=s.path)!=null&&c.includes("?")))i(s,l);else for(let d of LS(s.path))i(s,l,d)}),e}function LS(t){let e=t.split("/");if(e.length===0)return[];let[r,...n]=e,i=r.endsWith("?"),s=r.replace(/\?$/,"");if(n.length===0)return i?[s,""]:[s];let l=LS(n.join("/")),c=[];return c.push(...l.map(d=>d===""?s:[s,d].join("/"))),i&&c.push(...l),c.map(d=>t.startsWith("/")&&d===""?"/":d)}function IP(t){t.sort((e,r)=>e.score!==r.score?r.score-e.score:DP(e.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const jP=/^:[\w-]+$/,OP=3,LP=2,NP=1,$P=10,zP=-2,yb=t=>t==="*";function BP(t,e){let r=t.split("/"),n=r.length;return r.some(yb)&&(n+=zP),e&&(n+=LP),r.filter(i=>!yb(i)).reduce((i,s)=>i+(jP.test(s)?OP:s===""?NP:$P),n)}function DP(t,e){return t.length===e.length&&t.slice(0,-1).every((n,i)=>n===e[i])?t[t.length-1]-e[e.length-1]:0}function FP(t,e,r){let{routesMeta:n}=t,i={},s="/",l=[];for(let c=0;c<n.length;++c){let d=n[c],p=c===n.length-1,m=s==="/"?e:e.slice(s.length)||"/",v=HP({path:d.relativePath,caseSensitive:d.caseSensitive,end:p},m),g=d.route;if(!v)return null;Object.assign(i,v.params),l.push({params:i,pathname:za([s,v.pathname]),pathnameBase:YP(za([s,v.pathnameBase])),route:g}),v.pathnameBase!=="/"&&(s=za([s,v.pathnameBase]))}return l}function HP(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[r,n]=VP(t.path,t.caseSensitive,t.end),i=e.match(r);if(!i)return null;let s=i[0],l=s.replace(/(.)\/+$/,"$1"),c=i.slice(1);return{params:n.reduce((p,m,v)=>{let{paramName:g,isOptional:y}=m;if(g==="*"){let x=c[v]||"";l=s.slice(0,s.length-x.length).replace(/(.)\/+$/,"$1")}const w=c[v];return y&&!w?p[g]=void 0:p[g]=(w||"").replace(/%2F/g,"/"),p},{}),pathname:s,pathnameBase:l,pattern:t}}function VP(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!0),ry(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let n=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,c,d)=>(n.push({paramName:c,isOptional:d!=null}),d?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(n.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),n]}function UP(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return ry(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function NS(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let r=e.endsWith("/")?e.length-1:e.length,n=t.charAt(r);return n&&n!=="/"?null:t.slice(r)||"/"}const WP=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,qP=t=>WP.test(t);function GP(t,e){e===void 0&&(e="/");let{pathname:r,search:n="",hash:i=""}=typeof t=="string"?dl(t):t,s;if(r)if(qP(r))s=r;else{if(r.includes("//")){let l=r;r=r.replace(/\/\/+/g,"/"),ry(!1,"Pathnames cannot have embedded double slashes - normalizing "+(l+" -> "+r))}r.startsWith("/")?s=vb(r.substring(1),"/"):s=vb(r,e)}else s=e;return{pathname:s,search:JP(n),hash:ZP(i)}}function vb(t,e){let r=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function Mm(t,e,r,n){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function XP(t){return t.filter((e,r)=>r===0||e.route.path&&e.route.path.length>0)}function KP(t,e){let r=XP(t);return e?r.map((n,i)=>i===r.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function QP(t,e,r,n){n===void 0&&(n=!1);let i;typeof t=="string"?i=dl(t):(i=Lc({},t),yr(!i.pathname||!i.pathname.includes("?"),Mm("?","pathname","search",i)),yr(!i.pathname||!i.pathname.includes("#"),Mm("#","pathname","hash",i)),yr(!i.search||!i.search.includes("#"),Mm("#","search","hash",i)));let s=t===""||i.pathname==="",l=s?"/":i.pathname,c;if(l==null)c=r;else{let v=e.length-1;if(!n&&l.startsWith("..")){let g=l.split("/");for(;g[0]==="..";)g.shift(),v-=1;i.pathname=g.join("/")}c=v>=0?e[v]:"/"}let d=GP(i,c),p=l&&l!=="/"&&l.endsWith("/"),m=(s||l===".")&&r.endsWith("/");return!d.pathname.endsWith("/")&&(p||m)&&(d.pathname+="/"),d}const za=t=>t.join("/").replace(/\/\/+/g,"/"),YP=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),JP=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,ZP=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function e3(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const $S=["post","put","patch","delete"];new Set($S);const t3=["get",...$S];new Set(t3);/**
50
- * React Router v6.30.2
51
- *
52
- * Copyright (c) Remix Software Inc.
53
- *
54
- * This source code is licensed under the MIT license found in the
55
- * LICENSE.md file in the root directory of this source tree.
56
- *
57
- * @license MIT
58
- */function Nc(){return Nc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Nc.apply(this,arguments)}const ny=T.createContext(null),r3=T.createContext(null),Qp=T.createContext(null),Yp=T.createContext(null),pl=T.createContext({outlet:null,matches:[],isDataRoute:!1}),zS=T.createContext(null);function Jp(){return T.useContext(Yp)!=null}function BS(){return Jp()||yr(!1),T.useContext(Yp).location}function DS(t){T.useContext(Qp).static||T.useLayoutEffect(t)}function n3(){let{isDataRoute:t}=T.useContext(pl);return t?g3():i3()}function i3(){Jp()||yr(!1);let t=T.useContext(ny),{basename:e,future:r,navigator:n}=T.useContext(Qp),{matches:i}=T.useContext(pl),{pathname:s}=BS(),l=JSON.stringify(KP(i,r.v7_relativeSplatPath)),c=T.useRef(!1);return DS(()=>{c.current=!0}),T.useCallback(function(p,m){if(m===void 0&&(m={}),!c.current)return;if(typeof p=="number"){n.go(p);return}let v=QP(p,JSON.parse(l),s,m.relative==="path");t==null&&e!=="/"&&(v.pathname=v.pathname==="/"?e:za([e,v.pathname])),(m.replace?n.replace:n.push)(v,m.state,m)},[e,n,l,s,t])}function o3(t,e){return a3(t,e)}function a3(t,e,r,n){Jp()||yr(!1);let{navigator:i}=T.useContext(Qp),{matches:s}=T.useContext(pl),l=s[s.length-1],c=l?l.params:{};l&&l.pathname;let d=l?l.pathnameBase:"/";l&&l.route;let p=BS(),m;if(e){var v;let C=typeof e=="string"?dl(e):e;d==="/"||(v=C.pathname)!=null&&v.startsWith(d)||yr(!1),m=C}else m=p;let g=m.pathname||"/",y=g;if(d!=="/"){let C=d.replace(/^\//,"").split("/");y="/"+g.replace(/^\//,"").split("/").slice(C.length).join("/")}let w=AP(t,{pathname:y}),x=d3(w&&w.map(C=>Object.assign({},C,{params:Object.assign({},c,C.params),pathname:za([d,i.encodeLocation?i.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?d:za([d,i.encodeLocation?i.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),s,r,n);return e&&x?T.createElement(Yp.Provider,{value:{location:Nc({pathname:"/",search:"",hash:"",state:null,key:"default"},m),navigationType:Wo.Pop}},x):x}function s3(){let t=m3(),e=e3(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return T.createElement(T.Fragment,null,T.createElement("h2",null,"Unexpected Application Error!"),T.createElement("h3",{style:{fontStyle:"italic"}},e),r?T.createElement("pre",{style:i},r):null,null)}const l3=T.createElement(s3,null);class c3 extends T.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){console.error("React Router caught the following error during render",e,r)}render(){return this.state.error!==void 0?T.createElement(pl.Provider,{value:this.props.routeContext},T.createElement(zS.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function u3(t){let{routeContext:e,match:r,children:n}=t,i=T.useContext(ny);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),T.createElement(pl.Provider,{value:e},n)}function d3(t,e,r,n){var i;if(e===void 0&&(e=[]),r===void 0&&(r=null),n===void 0&&(n=null),t==null){var s;if(!r)return null;if(r.errors)t=r.matches;else if((s=n)!=null&&s.v7_partialHydration&&e.length===0&&!r.initialized&&r.matches.length>0)t=r.matches;else return null}let l=t,c=(i=r)==null?void 0:i.errors;if(c!=null){let m=l.findIndex(v=>v.route.id&&(c==null?void 0:c[v.route.id])!==void 0);m>=0||yr(!1),l=l.slice(0,Math.min(l.length,m+1))}let d=!1,p=-1;if(r&&n&&n.v7_partialHydration)for(let m=0;m<l.length;m++){let v=l[m];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(p=m),v.route.id){let{loaderData:g,errors:y}=r,w=v.route.loader&&g[v.route.id]===void 0&&(!y||y[v.route.id]===void 0);if(v.route.lazy||w){d=!0,p>=0?l=l.slice(0,p+1):l=[l[0]];break}}}return l.reduceRight((m,v,g)=>{let y,w=!1,x=null,C=null;r&&(y=c&&v.route.id?c[v.route.id]:void 0,x=v.route.errorElement||l3,d&&(p<0&&g===0?(y3("route-fallback"),w=!0,C=null):p===g&&(w=!0,C=v.route.hydrateFallbackElement||null)));let P=e.concat(l.slice(0,g+1)),k=()=>{let _;return y?_=x:w?_=C:v.route.Component?_=T.createElement(v.route.Component,null):v.route.element?_=v.route.element:_=m,T.createElement(u3,{match:v,routeContext:{outlet:m,matches:P,isDataRoute:r!=null},children:_})};return r&&(v.route.ErrorBoundary||v.route.errorElement||g===0)?T.createElement(c3,{location:r.location,revalidation:r.revalidation,component:x,error:y,children:k(),routeContext:{outlet:null,matches:P,isDataRoute:!0}}):k()},null)}var FS=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(FS||{}),HS=(function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t})(HS||{});function p3(t){let e=T.useContext(ny);return e||yr(!1),e}function f3(t){let e=T.useContext(r3);return e||yr(!1),e}function h3(t){let e=T.useContext(pl);return e||yr(!1),e}function VS(t){let e=h3(),r=e.matches[e.matches.length-1];return r.route.id||yr(!1),r.route.id}function m3(){var t;let e=T.useContext(zS),r=f3(),n=VS();return e!==void 0?e:(t=r.errors)==null?void 0:t[n]}function g3(){let{router:t}=p3(FS.UseNavigateStable),e=VS(HS.UseNavigateStable),r=T.useRef(!1);return DS(()=>{r.current=!0}),T.useCallback(function(i,s){s===void 0&&(s={}),r.current&&(typeof i=="number"?t.navigate(i):t.navigate(i,Nc({fromRouteId:e},s)))},[t,e])}const bb={};function y3(t,e,r){bb[t]||(bb[t]=!0)}function v3(t,e){t==null||t.v7_startTransition,t==null||t.v7_relativeSplatPath}function Ra(t){yr(!1)}function b3(t){let{basename:e="/",children:r=null,location:n,navigationType:i=Wo.Pop,navigator:s,static:l=!1,future:c}=t;Jp()&&yr(!1);let d=e.replace(/^\/*/,"/"),p=T.useMemo(()=>({basename:d,navigator:s,static:l,future:Nc({v7_relativeSplatPath:!1},c)}),[d,c,s,l]);typeof n=="string"&&(n=dl(n));let{pathname:m="/",search:v="",hash:g="",state:y=null,key:w="default"}=n,x=T.useMemo(()=>{let C=NS(m,d);return C==null?null:{location:{pathname:C,search:v,hash:g,state:y,key:w},navigationType:i}},[d,m,v,g,y,w,i]);return x==null?null:T.createElement(Qp.Provider,{value:p},T.createElement(Yp.Provider,{children:r,value:x}))}function x3(t){let{children:e,location:r}=t;return o3(ng(e),r)}new Promise(()=>{});function ng(t,e){e===void 0&&(e=[]);let r=[];return T.Children.forEach(t,(n,i)=>{if(!T.isValidElement(n))return;let s=[...e,i];if(n.type===T.Fragment){r.push.apply(r,ng(n.props.children,s));return}n.type!==Ra&&yr(!1),!n.props.index||!n.props.children||yr(!1);let l={id:n.props.id||s.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(l.children=ng(n.props.children,s)),r.push(l)}),r}/**
59
- * React Router DOM v6.30.2
60
- *
61
- * Copyright (c) Remix Software Inc.
62
- *
63
- * This source code is licensed under the MIT license found in the
64
- * LICENSE.md file in the root directory of this source tree.
65
- *
66
- * @license MIT
67
- */const w3="6";try{window.__reactRouterVersion=w3}catch{}const S3="startTransition",xb=Oc[S3];function C3(t){let{basename:e,children:r,future:n,window:i}=t,s=T.useRef();s.current==null&&(s.current=PP({window:i,v5Compat:!0}));let l=s.current,[c,d]=T.useState({action:l.action,location:l.location}),{v7_startTransition:p}=n||{},m=T.useCallback(v=>{p&&xb?xb(()=>d(v)):d(v)},[d,p]);return T.useLayoutEffect(()=>l.listen(m),[l,m]),T.useEffect(()=>v3(n),[n]),T.createElement(b3,{basename:e,children:r,location:c.location,navigationType:c.action,navigator:l,future:n})}var wb;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(wb||(wb={}));var Sb;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(Sb||(Sb={}));const $c={black:"#000",white:"#fff"},ks={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Ps={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Ms={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},_s={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},As={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},ac={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},E3={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 uo(t,...e){const r=new URL(`https://mui.com/production-error/?code=${t}`);return e.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${t}; visit ${r} for the full message.`}const di="$$material";function kp(){return kp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},kp.apply(null,arguments)}function T3(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function k3(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var P3=(function(){function t(r){var n=this;this._insertTag=function(i){var s;n.tags.length===0?n.insertionPoint?s=n.insertionPoint.nextSibling:n.prepend?s=n.container.firstChild:s=n.before:s=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,s),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(n){n.forEach(this._insertTag)},e.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(k3(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var s=T3(i);try{s.insertRule(n,s.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},e.flush=function(){this.tags.forEach(function(n){var i;return(i=n.parentNode)==null?void 0:i.removeChild(n)}),this.tags=[],this.ctr=0},t})(),$r="-ms-",Pp="-moz-",At="-webkit-",US="comm",iy="rule",oy="decl",M3="@import",WS="@keyframes",_3="@layer",A3=Math.abs,Zp=String.fromCharCode,R3=Object.assign;function I3(t,e){return _r(t,0)^45?(((e<<2^_r(t,0))<<2^_r(t,1))<<2^_r(t,2))<<2^_r(t,3):0}function qS(t){return t.trim()}function j3(t,e){return(t=e.exec(t))?t[0]:t}function Rt(t,e,r){return t.replace(e,r)}function ig(t,e){return t.indexOf(e)}function _r(t,e){return t.charCodeAt(e)|0}function zc(t,e,r){return t.slice(e,r)}function Ii(t){return t.length}function ay(t){return t.length}function $d(t,e){return e.push(t),t}function O3(t,e){return t.map(e).join("")}var ef=1,Ws=1,GS=0,dn=0,ur=0,fl="";function tf(t,e,r,n,i,s,l){return{value:t,root:e,parent:r,type:n,props:i,children:s,line:ef,column:Ws,length:l,return:""}}function sc(t,e){return R3(tf("",null,null,"",null,null,0),t,{length:-t.length},e)}function L3(){return ur}function N3(){return ur=dn>0?_r(fl,--dn):0,Ws--,ur===10&&(Ws=1,ef--),ur}function Mn(){return ur=dn<GS?_r(fl,dn++):0,Ws++,ur===10&&(Ws=1,ef++),ur}function $i(){return _r(fl,dn)}function pp(){return dn}function cu(t,e){return zc(fl,t,e)}function Bc(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function XS(t){return ef=Ws=1,GS=Ii(fl=t),dn=0,[]}function KS(t){return fl="",t}function fp(t){return qS(cu(dn-1,og(t===91?t+2:t===40?t+1:t)))}function $3(t){for(;(ur=$i())&&ur<33;)Mn();return Bc(t)>2||Bc(ur)>3?"":" "}function z3(t,e){for(;--e&&Mn()&&!(ur<48||ur>102||ur>57&&ur<65||ur>70&&ur<97););return cu(t,pp()+(e<6&&$i()==32&&Mn()==32))}function og(t){for(;Mn();)switch(ur){case t:return dn;case 34:case 39:t!==34&&t!==39&&og(ur);break;case 40:t===41&&og(t);break;case 92:Mn();break}return dn}function B3(t,e){for(;Mn()&&t+ur!==57;)if(t+ur===84&&$i()===47)break;return"/*"+cu(e,dn-1)+"*"+Zp(t===47?t:Mn())}function D3(t){for(;!Bc($i());)Mn();return cu(t,dn)}function F3(t){return KS(hp("",null,null,null,[""],t=XS(t),0,[0],t))}function hp(t,e,r,n,i,s,l,c,d){for(var p=0,m=0,v=l,g=0,y=0,w=0,x=1,C=1,P=1,k=0,_="",E=i,A=s,I=n,D=_;C;)switch(w=k,k=Mn()){case 40:if(w!=108&&_r(D,v-1)==58){ig(D+=Rt(fp(k),"&","&\f"),"&\f")!=-1&&(P=-1);break}case 34:case 39:case 91:D+=fp(k);break;case 9:case 10:case 13:case 32:D+=$3(w);break;case 92:D+=z3(pp()-1,7);continue;case 47:switch($i()){case 42:case 47:$d(H3(B3(Mn(),pp()),e,r),d);break;default:D+="/"}break;case 123*x:c[p++]=Ii(D)*P;case 125*x:case 59:case 0:switch(k){case 0:case 125:C=0;case 59+m:P==-1&&(D=Rt(D,/\f/g,"")),y>0&&Ii(D)-v&&$d(y>32?Eb(D+";",n,r,v-1):Eb(Rt(D," ","")+";",n,r,v-2),d);break;case 59:D+=";";default:if($d(I=Cb(D,e,r,p,m,i,c,_,E=[],A=[],v),s),k===123)if(m===0)hp(D,e,I,I,E,s,v,c,A);else switch(g===99&&_r(D,3)===110?100:g){case 100:case 108:case 109:case 115:hp(t,I,I,n&&$d(Cb(t,I,I,0,0,i,c,_,i,E=[],v),A),i,A,v,c,n?E:A);break;default:hp(D,I,I,I,[""],A,0,c,A)}}p=m=y=0,x=P=1,_=D="",v=l;break;case 58:v=1+Ii(D),y=w;default:if(x<1){if(k==123)--x;else if(k==125&&x++==0&&N3()==125)continue}switch(D+=Zp(k),k*x){case 38:P=m>0?1:(D+="\f",-1);break;case 44:c[p++]=(Ii(D)-1)*P,P=1;break;case 64:$i()===45&&(D+=fp(Mn())),g=$i(),m=v=Ii(_=D+=D3(pp())),k++;break;case 45:w===45&&Ii(D)==2&&(x=0)}}return s}function Cb(t,e,r,n,i,s,l,c,d,p,m){for(var v=i-1,g=i===0?s:[""],y=ay(g),w=0,x=0,C=0;w<n;++w)for(var P=0,k=zc(t,v+1,v=A3(x=l[w])),_=t;P<y;++P)(_=qS(x>0?g[P]+" "+k:Rt(k,/&\f/g,g[P])))&&(d[C++]=_);return tf(t,e,r,i===0?iy:c,d,p,m)}function H3(t,e,r){return tf(t,e,r,US,Zp(L3()),zc(t,2,-2),0)}function Eb(t,e,r,n){return tf(t,e,r,oy,zc(t,0,n),zc(t,n+1,-1),n)}function Ds(t,e){for(var r="",n=ay(t),i=0;i<n;i++)r+=e(t[i],i,t,e)||"";return r}function V3(t,e,r,n){switch(t.type){case _3:if(t.children.length)break;case M3:case oy:return t.return=t.return||t.value;case US:return"";case WS:return t.return=t.value+"{"+Ds(t.children,n)+"}";case iy:t.value=t.props.join(",")}return Ii(r=Ds(t.children,n))?t.return=t.value+"{"+r+"}":""}function U3(t){var e=ay(t);return function(r,n,i,s){for(var l="",c=0;c<e;c++)l+=t[c](r,n,i,s)||"";return l}}function W3(t){return function(e){e.root||(e=e.return)&&t(e)}}function QS(t){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=t(r)),e[r]}}var q3=function(e,r,n){for(var i=0,s=0;i=s,s=$i(),i===38&&s===12&&(r[n]=1),!Bc(s);)Mn();return cu(e,dn)},G3=function(e,r){var n=-1,i=44;do switch(Bc(i)){case 0:i===38&&$i()===12&&(r[n]=1),e[n]+=q3(dn-1,r,n);break;case 2:e[n]+=fp(i);break;case 4:if(i===44){e[++n]=$i()===58?"&\f":"",r[n]=e[n].length;break}default:e[n]+=Zp(i)}while(i=Mn());return e},X3=function(e,r){return KS(G3(XS(e),r))},Tb=new WeakMap,K3=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var r=e.value,n=e.parent,i=e.column===n.column&&e.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(e.props.length===1&&r.charCodeAt(0)!==58&&!Tb.get(n))&&!i){Tb.set(e,!0);for(var s=[],l=X3(r,s),c=n.props,d=0,p=0;d<l.length;d++)for(var m=0;m<c.length;m++,p++)e.props[p]=s[d]?l[d].replace(/&\f/g,c[m]):c[m]+" "+l[d]}}},Q3=function(e){if(e.type==="decl"){var r=e.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(e.return="",e.value="")}};function YS(t,e){switch(I3(t,e)){case 5103:return At+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return At+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return At+t+Pp+t+$r+t+t;case 6828:case 4268:return At+t+$r+t+t;case 6165:return At+t+$r+"flex-"+t+t;case 5187:return At+t+Rt(t,/(\w+).+(:[^]+)/,At+"box-$1$2"+$r+"flex-$1$2")+t;case 5443:return At+t+$r+"flex-item-"+Rt(t,/flex-|-self/,"")+t;case 4675:return At+t+$r+"flex-line-pack"+Rt(t,/align-content|flex-|-self/,"")+t;case 5548:return At+t+$r+Rt(t,"shrink","negative")+t;case 5292:return At+t+$r+Rt(t,"basis","preferred-size")+t;case 6060:return At+"box-"+Rt(t,"-grow","")+At+t+$r+Rt(t,"grow","positive")+t;case 4554:return At+Rt(t,/([^-])(transform)/g,"$1"+At+"$2")+t;case 6187:return Rt(Rt(Rt(t,/(zoom-|grab)/,At+"$1"),/(image-set)/,At+"$1"),t,"")+t;case 5495:case 3959:return Rt(t,/(image-set\([^]*)/,At+"$1$`$1");case 4968:return Rt(Rt(t,/(.+:)(flex-)?(.*)/,At+"box-pack:$3"+$r+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+At+t+t;case 4095:case 3583:case 4068:case 2532:return Rt(t,/(.+)-inline(.+)/,At+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ii(t)-1-e>6)switch(_r(t,e+1)){case 109:if(_r(t,e+4)!==45)break;case 102:return Rt(t,/(.+:)(.+)-([^]+)/,"$1"+At+"$2-$3$1"+Pp+(_r(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~ig(t,"stretch")?YS(Rt(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(_r(t,e+1)!==115)break;case 6444:switch(_r(t,Ii(t)-3-(~ig(t,"!important")&&10))){case 107:return Rt(t,":",":"+At)+t;case 101:return Rt(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+At+(_r(t,14)===45?"inline-":"")+"box$3$1"+At+"$2$3$1"+$r+"$2box$3")+t}break;case 5936:switch(_r(t,e+11)){case 114:return At+t+$r+Rt(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return At+t+$r+Rt(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return At+t+$r+Rt(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return At+t+$r+t+t}return t}var Y3=function(e,r,n,i){if(e.length>-1&&!e.return)switch(e.type){case oy:e.return=YS(e.value,e.length);break;case WS:return Ds([sc(e,{value:Rt(e.value,"@","@"+At)})],i);case iy:if(e.length)return O3(e.props,function(s){switch(j3(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ds([sc(e,{props:[Rt(s,/:(read-\w+)/,":"+Pp+"$1")]})],i);case"::placeholder":return Ds([sc(e,{props:[Rt(s,/:(plac\w+)/,":"+At+"input-$1")]}),sc(e,{props:[Rt(s,/:(plac\w+)/,":"+Pp+"$1")]}),sc(e,{props:[Rt(s,/:(plac\w+)/,$r+"input-$1")]})],i)}return""})}},J3=[Y3],Z3=function(e){var r=e.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(x){var C=x.getAttribute("data-emotion");C.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var i=e.stylisPlugins||J3,s={},l,c=[];l=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(x){for(var C=x.getAttribute("data-emotion").split(" "),P=1;P<C.length;P++)s[C[P]]=!0;c.push(x)});var d,p=[K3,Q3];{var m,v=[V3,W3(function(x){m.insert(x)})],g=U3(p.concat(i,v)),y=function(C){return Ds(F3(C),g)};d=function(C,P,k,_){m=k,y(C?C+"{"+P.styles+"}":P.styles),_&&(w.inserted[P.name]=!0)}}var w={key:r,sheet:new P3({key:r,container:l,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:d};return w.sheet.hydrate(c),w},_m={exports:{}},It={};/** @license React v16.13.1
68
- * react-is.production.min.js
69
- *
70
- * Copyright (c) Facebook, Inc. and its affiliates.
71
- *
72
- * This source code is licensed under the MIT license found in the
73
- * LICENSE file in the root directory of this source tree.
74
- */var kb;function e4(){if(kb)return It;kb=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,n=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,l=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,m=t?Symbol.for("react.forward_ref"):60112,v=t?Symbol.for("react.suspense"):60113,g=t?Symbol.for("react.suspense_list"):60120,y=t?Symbol.for("react.memo"):60115,w=t?Symbol.for("react.lazy"):60116,x=t?Symbol.for("react.block"):60121,C=t?Symbol.for("react.fundamental"):60117,P=t?Symbol.for("react.responder"):60118,k=t?Symbol.for("react.scope"):60119;function _(A){if(typeof A=="object"&&A!==null){var I=A.$$typeof;switch(I){case e:switch(A=A.type,A){case d:case p:case n:case s:case i:case v:return A;default:switch(A=A&&A.$$typeof,A){case c:case m:case w:case y:case l:return A;default:return I}}case r:return I}}}function E(A){return _(A)===p}return It.AsyncMode=d,It.ConcurrentMode=p,It.ContextConsumer=c,It.ContextProvider=l,It.Element=e,It.ForwardRef=m,It.Fragment=n,It.Lazy=w,It.Memo=y,It.Portal=r,It.Profiler=s,It.StrictMode=i,It.Suspense=v,It.isAsyncMode=function(A){return E(A)||_(A)===d},It.isConcurrentMode=E,It.isContextConsumer=function(A){return _(A)===c},It.isContextProvider=function(A){return _(A)===l},It.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===e},It.isForwardRef=function(A){return _(A)===m},It.isFragment=function(A){return _(A)===n},It.isLazy=function(A){return _(A)===w},It.isMemo=function(A){return _(A)===y},It.isPortal=function(A){return _(A)===r},It.isProfiler=function(A){return _(A)===s},It.isStrictMode=function(A){return _(A)===i},It.isSuspense=function(A){return _(A)===v},It.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===n||A===p||A===s||A===i||A===v||A===g||typeof A=="object"&&A!==null&&(A.$$typeof===w||A.$$typeof===y||A.$$typeof===l||A.$$typeof===c||A.$$typeof===m||A.$$typeof===C||A.$$typeof===P||A.$$typeof===k||A.$$typeof===x)},It.typeOf=_,It}var Pb;function t4(){return Pb||(Pb=1,_m.exports=e4()),_m.exports}var Am,Mb;function r4(){if(Mb)return Am;Mb=1;var t=t4(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[t.ForwardRef]=n,s[t.Memo]=i;function l(w){return t.isMemo(w)?i:s[w.$$typeof]||e}var c=Object.defineProperty,d=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,v=Object.getPrototypeOf,g=Object.prototype;function y(w,x,C){if(typeof x!="string"){if(g){var P=v(x);P&&P!==g&&y(w,P,C)}var k=d(x);p&&(k=k.concat(p(x)));for(var _=l(w),E=l(x),A=0;A<k.length;++A){var I=k[A];if(!r[I]&&!(C&&C[I])&&!(E&&E[I])&&!(_&&_[I])){var D=m(x,I);try{c(w,I,D)}catch{}}}}return w}return Am=y,Am}r4();var n4=!0;function JS(t,e,r){var n="";return r.split(" ").forEach(function(i){t[i]!==void 0?e.push(t[i]+";"):i&&(n+=i+" ")}),n}var sy=function(e,r,n){var i=e.key+"-"+r.name;(n===!1||n4===!1)&&e.registered[i]===void 0&&(e.registered[i]=r.styles)},ly=function(e,r,n){sy(e,r,n);var i=e.key+"-"+r.name;if(e.inserted[r.name]===void 0){var s=r;do e.insert(r===s?"."+i:"",s,e.sheet,!0),s=s.next;while(s!==void 0)}};function i4(t){for(var e=0,r,n=0,i=t.length;i>=4;++n,i-=4)r=t.charCodeAt(n)&255|(t.charCodeAt(++n)&255)<<8|(t.charCodeAt(++n)&255)<<16|(t.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,e=(r&65535)*1540483477+((r>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(n+2)&255)<<16;case 2:e^=(t.charCodeAt(n+1)&255)<<8;case 1:e^=t.charCodeAt(n)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var o4={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},a4=/[A-Z]|^ms/g,s4=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ZS=function(e){return e.charCodeAt(1)===45},_b=function(e){return e!=null&&typeof e!="boolean"},Rm=QS(function(t){return ZS(t)?t:t.replace(a4,"-$&").toLowerCase()}),Ab=function(e,r){switch(e){case"animation":case"animationName":if(typeof r=="string")return r.replace(s4,function(n,i,s){return ji={name:i,styles:s,next:ji},i})}return o4[e]!==1&&!ZS(e)&&typeof r=="number"&&r!==0?r+"px":r};function Dc(t,e,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return ji={name:i.name,styles:i.styles,next:ji},i.name;var s=r;if(s.styles!==void 0){var l=s.next;if(l!==void 0)for(;l!==void 0;)ji={name:l.name,styles:l.styles,next:ji},l=l.next;var c=s.styles+";";return c}return l4(t,e,r)}case"function":{if(t!==void 0){var d=ji,p=r(t);return ji=d,Dc(t,e,p)}break}}var m=r;if(e==null)return m;var v=e[m];return v!==void 0?v:m}function l4(t,e,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=Dc(t,e,r[i])+";";else for(var s in r){var l=r[s];if(typeof l!="object"){var c=l;e!=null&&e[c]!==void 0?n+=s+"{"+e[c]+"}":_b(c)&&(n+=Rm(s)+":"+Ab(s,c)+";")}else if(Array.isArray(l)&&typeof l[0]=="string"&&(e==null||e[l[0]]===void 0))for(var d=0;d<l.length;d++)_b(l[d])&&(n+=Rm(s)+":"+Ab(s,l[d])+";");else{var p=Dc(t,e,l);switch(s){case"animation":case"animationName":{n+=Rm(s)+":"+p+";";break}default:n+=s+"{"+p+"}"}}}return n}var Rb=/label:\s*([^\s;{]+)\s*(;|$)/g,ji;function uu(t,e,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var n=!0,i="";ji=void 0;var s=t[0];if(s==null||s.raw===void 0)n=!1,i+=Dc(r,e,s);else{var l=s;i+=l[0]}for(var c=1;c<t.length;c++)if(i+=Dc(r,e,t[c]),n){var d=s;i+=d[c]}Rb.lastIndex=0;for(var p="",m;(m=Rb.exec(i))!==null;)p+="-"+m[1];var v=i4(i)+p;return{name:v,styles:i,next:ji}}var c4=function(e){return e()},e2=Oc.useInsertionEffect?Oc.useInsertionEffect:!1,t2=e2||c4,Ib=e2||T.useLayoutEffect,r2=T.createContext(typeof HTMLElement<"u"?Z3({key:"css"}):null);r2.Provider;var cy=function(e){return T.forwardRef(function(r,n){var i=T.useContext(r2);return e(r,i,n)})},du=T.createContext({}),uy={}.hasOwnProperty,ag="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",u4=function(e,r){var n={};for(var i in r)uy.call(r,i)&&(n[i]=r[i]);return n[ag]=e,n},d4=function(e){var r=e.cache,n=e.serialized,i=e.isStringTag;return sy(r,n,i),t2(function(){return ly(r,n,i)}),null},p4=cy(function(t,e,r){var n=t.css;typeof n=="string"&&e.registered[n]!==void 0&&(n=e.registered[n]);var i=t[ag],s=[n],l="";typeof t.className=="string"?l=JS(e.registered,s,t.className):t.className!=null&&(l=t.className+" ");var c=uu(s,void 0,T.useContext(du));l+=e.key+"-"+c.name;var d={};for(var p in t)uy.call(t,p)&&p!=="css"&&p!==ag&&(d[p]=t[p]);return d.className=l,r&&(d.ref=r),T.createElement(T.Fragment,null,T.createElement(d4,{cache:e,serialized:c,isStringTag:typeof i=="string"}),T.createElement(i,d))}),f4=p4,jb=function(e,r){var n=arguments;if(r==null||!uy.call(r,"css"))return T.createElement.apply(void 0,n);var i=n.length,s=new Array(i);s[0]=f4,s[1]=u4(e,r);for(var l=2;l<i;l++)s[l]=n[l];return T.createElement.apply(null,s)};(function(t){var e;e||(e=t.JSX||(t.JSX={}))})(jb||(jb={}));var h4=cy(function(t,e){var r=t.styles,n=uu([r],void 0,T.useContext(du)),i=T.useRef();return Ib(function(){var s=e.key+"-global",l=new e.sheet.constructor({key:s,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),c=!1,d=document.querySelector('style[data-emotion="'+s+" "+n.name+'"]');return e.sheet.tags.length&&(l.before=e.sheet.tags[0]),d!==null&&(c=!0,d.setAttribute("data-emotion",s),l.hydrate([d])),i.current=[l,c],function(){l.flush()}},[e]),Ib(function(){var s=i.current,l=s[0],c=s[1];if(c){s[1]=!1;return}if(n.next!==void 0&&ly(e,n.next,!0),l.tags.length){var d=l.tags[l.tags.length-1].nextElementSibling;l.before=d,l.flush()}e.insert("",n,l,!1)},[e,n.name]),null});function aa(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return uu(e)}function qi(){var t=aa.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var m4=/^((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)-.*))$/,g4=QS(function(t){return m4.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),y4=g4,v4=function(e){return e!=="theme"},Ob=function(e){return typeof e=="string"&&e.charCodeAt(0)>96?y4:v4},Lb=function(e,r,n){var i;if(r){var s=r.shouldForwardProp;i=e.__emotion_forwardProp&&s?function(l){return e.__emotion_forwardProp(l)&&s(l)}:s}return typeof i!="function"&&n&&(i=e.__emotion_forwardProp),i},b4=function(e){var r=e.cache,n=e.serialized,i=e.isStringTag;return sy(r,n,i),t2(function(){return ly(r,n,i)}),null},x4=function t(e,r){var n=e.__emotion_real===e,i=n&&e.__emotion_base||e,s,l;r!==void 0&&(s=r.label,l=r.target);var c=Lb(e,r,n),d=c||Ob(i),p=!d("as");return function(){var m=arguments,v=n&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(s!==void 0&&v.push("label:"+s+";"),m[0]==null||m[0].raw===void 0)v.push.apply(v,m);else{var g=m[0];v.push(g[0]);for(var y=m.length,w=1;w<y;w++)v.push(m[w],g[w])}var x=cy(function(C,P,k){var _=p&&C.as||i,E="",A=[],I=C;if(C.theme==null){I={};for(var D in C)I[D]=C[D];I.theme=T.useContext(du)}typeof C.className=="string"?E=JS(P.registered,A,C.className):C.className!=null&&(E=C.className+" ");var $=uu(v.concat(A),P.registered,I);E+=P.key+"-"+$.name,l!==void 0&&(E+=" "+l);var U=p&&c===void 0?Ob(_):d,X={};for(var H in C)p&&H==="as"||U(H)&&(X[H]=C[H]);return X.className=E,k&&(X.ref=k),T.createElement(T.Fragment,null,T.createElement(b4,{cache:P,serialized:$,isStringTag:typeof _=="string"}),T.createElement(_,X))});return x.displayName=s!==void 0?s:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",x.defaultProps=e.defaultProps,x.__emotion_real=x,x.__emotion_base=i,x.__emotion_styles=v,x.__emotion_forwardProp=c,Object.defineProperty(x,"toString",{value:function(){return"."+l}}),x.withComponent=function(C,P){var k=t(C,kp({},r,P,{shouldForwardProp:Lb(x,P,!0)}));return k.apply(void 0,v)},x}},w4=["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"],sg=x4.bind(null);w4.forEach(function(t){sg[t]=sg(t)});function S4(t){return t==null||Object.keys(t).length===0}function n2(t){const{styles:e,defaultTheme:r={}}=t,n=typeof e=="function"?i=>e(S4(i)?r:i):e;return h.jsx(h4,{styles:n})}function i2(t,e){return sg(t,e)}function C4(t,e){Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))}const Nb=[];function Xo(t){return Nb[0]=t,uu(Nb)}var Im={exports:{}},zt={};/**
75
- * @license React
76
- * react-is.production.js
77
- *
78
- * Copyright (c) Meta Platforms, Inc. and affiliates.
79
- *
80
- * This source code is licensed under the MIT license found in the
81
- * LICENSE file in the root directory of this source tree.
82
- */var $b;function E4(){if($b)return zt;$b=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.for("react.view_transition"),y=Symbol.for("react.client.reference");function w(x){if(typeof x=="object"&&x!==null){var C=x.$$typeof;switch(C){case t:switch(x=x.type,x){case r:case i:case n:case d:case p:case g:return x;default:switch(x=x&&x.$$typeof,x){case l:case c:case v:case m:return x;case s:return x;default:return C}}case e:return C}}}return zt.ContextConsumer=s,zt.ContextProvider=l,zt.Element=t,zt.ForwardRef=c,zt.Fragment=r,zt.Lazy=v,zt.Memo=m,zt.Portal=e,zt.Profiler=i,zt.StrictMode=n,zt.Suspense=d,zt.SuspenseList=p,zt.isContextConsumer=function(x){return w(x)===s},zt.isContextProvider=function(x){return w(x)===l},zt.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},zt.isForwardRef=function(x){return w(x)===c},zt.isFragment=function(x){return w(x)===r},zt.isLazy=function(x){return w(x)===v},zt.isMemo=function(x){return w(x)===m},zt.isPortal=function(x){return w(x)===e},zt.isProfiler=function(x){return w(x)===i},zt.isStrictMode=function(x){return w(x)===n},zt.isSuspense=function(x){return w(x)===d},zt.isSuspenseList=function(x){return w(x)===p},zt.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===r||x===i||x===n||x===d||x===p||typeof x=="object"&&x!==null&&(x.$$typeof===v||x.$$typeof===m||x.$$typeof===l||x.$$typeof===s||x.$$typeof===c||x.$$typeof===y||x.getModuleId!==void 0)},zt.typeOf=w,zt}var zb;function T4(){return zb||(zb=1,Im.exports=E4()),Im.exports}var o2=T4();function Li(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function a2(t){if(T.isValidElement(t)||o2.isValidElementType(t)||!Li(t))return t;const e={};return Object.keys(t).forEach(r=>{e[r]=a2(t[r])}),e}function Cr(t,e,r={clone:!0}){const n=r.clone?{...t}:t;return Li(t)&&Li(e)&&Object.keys(e).forEach(i=>{T.isValidElement(e[i])||o2.isValidElementType(e[i])?n[i]=e[i]:Li(e[i])&&Object.prototype.hasOwnProperty.call(t,i)&&Li(t[i])?n[i]=Cr(t[i],e[i],r):r.clone?n[i]=Li(e[i])?a2(e[i]):e[i]:n[i]=e[i]}),n}const k4=t=>{const e=Object.keys(t).map(r=>({key:r,val:t[r]}))||[];return e.sort((r,n)=>r.val-n.val),e.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function P4(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...i}=t,s=k4(e),l=Object.keys(s);function c(g){return`@media (min-width:${typeof e[g]=="number"?e[g]:g}${r})`}function d(g){return`@media (max-width:${(typeof e[g]=="number"?e[g]:g)-n/100}${r})`}function p(g,y){const w=l.indexOf(y);return`@media (min-width:${typeof e[g]=="number"?e[g]:g}${r}) and (max-width:${(w!==-1&&typeof e[l[w]]=="number"?e[l[w]]:y)-n/100}${r})`}function m(g){return l.indexOf(g)+1<l.length?p(g,l[l.indexOf(g)+1]):c(g)}function v(g){const y=l.indexOf(g);return y===0?c(l[1]):y===l.length-1?d(l[y]):p(g,l[l.indexOf(g)+1]).replace("@media","@media not all and")}return{keys:l,values:s,up:c,down:d,between:p,only:m,not:v,unit:r,...i}}function Bb(t,e){if(!t.containerQueries)return e;const r=Object.keys(e).filter(n=>n.startsWith("@container")).sort((n,i)=>{var l,c;const s=/min-width:\s*([0-9.]+)/;return+(((l=n.match(s))==null?void 0:l[1])||0)-+(((c=i.match(s))==null?void 0:c[1])||0)});return r.length?r.reduce((n,i)=>{const s=e[i];return delete n[i],n[i]=s,n},{...e}):e}function M4(t,e){return e==="@"||e.startsWith("@")&&(t.some(r=>e.startsWith(`@${r}`))||!!e.match(/^@\d/))}function _4(t,e){const r=e.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,n,i]=r,s=Number.isNaN(+n)?n||0:+n;return t.containerQueries(i).up(s)}function A4(t){const e=(s,l)=>s.replace("@media",l?`@container ${l}`:"@container");function r(s,l){s.up=(...c)=>e(t.breakpoints.up(...c),l),s.down=(...c)=>e(t.breakpoints.down(...c),l),s.between=(...c)=>e(t.breakpoints.between(...c),l),s.only=(...c)=>e(t.breakpoints.only(...c),l),s.not=(...c)=>{const d=e(t.breakpoints.not(...c),l);return d.includes("not all and")?d.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):d}}const n={},i=s=>(r(n,s),n);return r(i),{...t,containerQueries:i}}const R4={borderRadius:4};function Mc(t,e){return e?Cr(t,e,{clone:!1}):t}const rf={xs:0,sm:600,md:900,lg:1200,xl:1536},Db={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${rf[t]}px)`},I4={containerQueries:t=>({up:e=>{let r=typeof e=="number"?e:rf[e]||e;return typeof r=="number"&&(r=`${r}px`),t?`@container ${t} (min-width:${r})`:`@container (min-width:${r})`}})};function pi(t,e,r){const n=t.theme||{};if(Array.isArray(e)){const s=n.breakpoints||Db;return e.reduce((l,c,d)=>(l[s.up(s.keys[d])]=r(e[d]),l),{})}if(typeof e=="object"){const s=n.breakpoints||Db;return Object.keys(e).reduce((l,c)=>{if(M4(s.keys,c)){const d=_4(n.containerQueries?n:I4,c);d&&(l[d]=r(e[c],c))}else if(Object.keys(s.values||rf).includes(c)){const d=s.up(c);l[d]=r(e[c],c)}else{const d=c;l[d]=e[d]}return l},{})}return r(e)}function s2(t={}){var r;return((r=t.keys)==null?void 0:r.reduce((n,i)=>{const s=t.up(i);return n[s]={},n},{}))||{}}function lg(t,e){return t.reduce((r,n)=>{const i=r[n];return(!i||Object.keys(i).length===0)&&delete r[n],r},e)}function j4(t,...e){const r=s2(t),n=[r,...e].reduce((i,s)=>Cr(i,s),{});return lg(Object.keys(r),n)}function O4(t,e){if(typeof t!="object")return{};const r={},n=Object.keys(e);return Array.isArray(t)?n.forEach((i,s)=>{s<t.length&&(r[i]=!0)}):n.forEach(i=>{t[i]!=null&&(r[i]=!0)}),r}function jm({values:t,breakpoints:e,base:r}){const n=r||O4(t,e),i=Object.keys(n);if(i.length===0)return t;let s;return i.reduce((l,c,d)=>(Array.isArray(t)?(l[c]=t[d]!=null?t[d]:t[s],s=d):typeof t=="object"?(l[c]=t[c]!=null?t[c]:t[s],s=c):l[c]=t,l),{})}function he(t){if(typeof t!="string")throw new Error(uo(7));return t.charAt(0).toUpperCase()+t.slice(1)}function Oi(t,e,r=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&r){const n=`vars.${e}`.split(".").reduce((i,s)=>i&&i[s]?i[s]:null,t);if(n!=null)return n}return e.split(".").reduce((n,i)=>n&&n[i]!=null?n[i]:null,t)}function Mp(t,e,r,n=r){let i;return typeof t=="function"?i=t(r):Array.isArray(t)?i=t[r]||n:i=Oi(t,r)||n,e&&(i=e(i,n,t)),i}function sr(t){const{prop:e,cssProperty:r=t.prop,themeKey:n,transform:i}=t,s=l=>{if(l[e]==null)return null;const c=l[e],d=l.theme,p=Oi(d,n)||{};return pi(l,c,v=>{let g=Mp(p,i,v);return v===g&&typeof v=="string"&&(g=Mp(p,i,`${e}${v==="default"?"":he(v)}`,v)),r===!1?g:{[r]:g}})};return s.propTypes={},s.filterProps=[e],s}function L4(t){const e={};return r=>(e[r]===void 0&&(e[r]=t(r)),e[r])}const N4={m:"margin",p:"padding"},$4={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Fb={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},z4=L4(t=>{if(t.length>2)if(Fb[t])t=Fb[t];else return[t];const[e,r]=t.split(""),n=N4[e],i=$4[r]||"";return Array.isArray(i)?i.map(s=>n+s):[n+i]}),dy=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],py=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...dy,...py];function pu(t,e,r,n){const i=Oi(t,e,!0)??r;return typeof i=="number"||typeof i=="string"?s=>typeof s=="string"?s:typeof i=="string"?i.startsWith("var(")&&s===0?0:i.startsWith("var(")&&s===1?i:`calc(${s} * ${i})`:i*s:Array.isArray(i)?s=>{if(typeof s=="string")return s;const l=Math.abs(s),c=i[l];return s>=0?c:typeof c=="number"?-c:typeof c=="string"&&c.startsWith("var(")?`calc(-1 * ${c})`:`-${c}`}:typeof i=="function"?i:()=>{}}function nf(t){return pu(t,"spacing",8)}function Da(t,e){return typeof e=="string"||e==null?e:t(e)}function B4(t,e){return r=>t.reduce((n,i)=>(n[i]=Da(e,r),n),{})}function D4(t,e,r,n){if(!e.includes(r))return null;const i=z4(r),s=B4(i,n),l=t[r];return pi(t,l,s)}function l2(t,e){const r=nf(t.theme);return Object.keys(t).map(n=>D4(t,e,n,r)).reduce(Mc,{})}function Zt(t){return l2(t,dy)}Zt.propTypes={};Zt.filterProps=dy;function er(t){return l2(t,py)}er.propTypes={};er.filterProps=py;function c2(t=8,e=nf({spacing:t})){if(t.mui)return t;const r=(...n)=>(n.length===0?[1]:n).map(s=>{const l=e(s);return typeof l=="number"?`${l}px`:l}).join(" ");return r.mui=!0,r}function of(...t){const e=t.reduce((n,i)=>(i.filterProps.forEach(s=>{n[s]=i}),n),{}),r=n=>Object.keys(n).reduce((i,s)=>e[s]?Mc(i,e[s](n)):i,{});return r.propTypes={},r.filterProps=t.reduce((n,i)=>n.concat(i.filterProps),[]),r}function Dn(t){return typeof t!="number"?t:`${t}px solid`}function Qn(t,e){return sr({prop:t,themeKey:"borders",transform:e})}const F4=Qn("border",Dn),H4=Qn("borderTop",Dn),V4=Qn("borderRight",Dn),U4=Qn("borderBottom",Dn),W4=Qn("borderLeft",Dn),q4=Qn("borderColor"),G4=Qn("borderTopColor"),X4=Qn("borderRightColor"),K4=Qn("borderBottomColor"),Q4=Qn("borderLeftColor"),Y4=Qn("outline",Dn),J4=Qn("outlineColor"),af=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=pu(t.theme,"shape.borderRadius",4),r=n=>({borderRadius:Da(e,n)});return pi(t,t.borderRadius,r)}return null};af.propTypes={};af.filterProps=["borderRadius"];of(F4,H4,V4,U4,W4,q4,G4,X4,K4,Q4,af,Y4,J4);const sf=t=>{if(t.gap!==void 0&&t.gap!==null){const e=pu(t.theme,"spacing",8),r=n=>({gap:Da(e,n)});return pi(t,t.gap,r)}return null};sf.propTypes={};sf.filterProps=["gap"];const lf=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=pu(t.theme,"spacing",8),r=n=>({columnGap:Da(e,n)});return pi(t,t.columnGap,r)}return null};lf.propTypes={};lf.filterProps=["columnGap"];const cf=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=pu(t.theme,"spacing",8),r=n=>({rowGap:Da(e,n)});return pi(t,t.rowGap,r)}return null};cf.propTypes={};cf.filterProps=["rowGap"];const Z4=sr({prop:"gridColumn"}),e5=sr({prop:"gridRow"}),t5=sr({prop:"gridAutoFlow"}),r5=sr({prop:"gridAutoColumns"}),n5=sr({prop:"gridAutoRows"}),i5=sr({prop:"gridTemplateColumns"}),o5=sr({prop:"gridTemplateRows"}),a5=sr({prop:"gridTemplateAreas"}),s5=sr({prop:"gridArea"});of(sf,lf,cf,Z4,e5,t5,r5,n5,i5,o5,a5,s5);function Fs(t,e){return e==="grey"?e:t}const l5=sr({prop:"color",themeKey:"palette",transform:Fs}),c5=sr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Fs}),u5=sr({prop:"backgroundColor",themeKey:"palette",transform:Fs});of(l5,c5,u5);function kn(t){return t<=1&&t!==0?`${t*100}%`:t}const d5=sr({prop:"width",transform:kn}),fy=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=r=>{var i,s,l,c,d;const n=((l=(s=(i=t.theme)==null?void 0:i.breakpoints)==null?void 0:s.values)==null?void 0:l[r])||rf[r];return n?((d=(c=t.theme)==null?void 0:c.breakpoints)==null?void 0:d.unit)!=="px"?{maxWidth:`${n}${t.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:kn(r)}};return pi(t,t.maxWidth,e)}return null};fy.filterProps=["maxWidth"];const p5=sr({prop:"minWidth",transform:kn}),f5=sr({prop:"height",transform:kn}),h5=sr({prop:"maxHeight",transform:kn}),m5=sr({prop:"minHeight",transform:kn});sr({prop:"size",cssProperty:"width",transform:kn});sr({prop:"size",cssProperty:"height",transform:kn});const g5=sr({prop:"boxSizing"});of(d5,fy,p5,f5,h5,m5,g5);const fu={border:{themeKey:"borders",transform:Dn},borderTop:{themeKey:"borders",transform:Dn},borderRight:{themeKey:"borders",transform:Dn},borderBottom:{themeKey:"borders",transform:Dn},borderLeft:{themeKey:"borders",transform:Dn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Dn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:af},color:{themeKey:"palette",transform:Fs},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Fs},backgroundColor:{themeKey:"palette",transform:Fs},p:{style:er},pt:{style:er},pr:{style:er},pb:{style:er},pl:{style:er},px:{style:er},py:{style:er},padding:{style:er},paddingTop:{style:er},paddingRight:{style:er},paddingBottom:{style:er},paddingLeft:{style:er},paddingX:{style:er},paddingY:{style:er},paddingInline:{style:er},paddingInlineStart:{style:er},paddingInlineEnd:{style:er},paddingBlock:{style:er},paddingBlockStart:{style:er},paddingBlockEnd:{style:er},m:{style:Zt},mt:{style:Zt},mr:{style:Zt},mb:{style:Zt},ml:{style:Zt},mx:{style:Zt},my:{style:Zt},margin:{style:Zt},marginTop:{style:Zt},marginRight:{style:Zt},marginBottom:{style:Zt},marginLeft:{style:Zt},marginX:{style:Zt},marginY:{style:Zt},marginInline:{style:Zt},marginInlineStart:{style:Zt},marginInlineEnd:{style:Zt},marginBlock:{style:Zt},marginBlockStart:{style:Zt},marginBlockEnd:{style:Zt},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:sf},rowGap:{style:cf},columnGap:{style:lf},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:kn},maxWidth:{style:fy},minWidth:{transform:kn},height:{transform:kn},maxHeight:{transform:kn},minHeight:{transform:kn},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function y5(...t){const e=t.reduce((n,i)=>n.concat(Object.keys(i)),[]),r=new Set(e);return t.every(n=>r.size===Object.keys(n).length)}function v5(t,e){return typeof t=="function"?t(e):t}function b5(){function t(r,n,i,s){const l={[r]:n,theme:i},c=s[r];if(!c)return{[r]:n};const{cssProperty:d=r,themeKey:p,transform:m,style:v}=c;if(n==null)return null;if(p==="typography"&&n==="inherit")return{[r]:n};const g=Oi(i,p)||{};return v?v(l):pi(l,n,w=>{let x=Mp(g,m,w);return w===x&&typeof w=="string"&&(x=Mp(g,m,`${r}${w==="default"?"":he(w)}`,w)),d===!1?x:{[d]:x}})}function e(r){const{sx:n,theme:i={},nested:s}=r||{};if(!n)return null;const l=i.unstable_sxConfig??fu;function c(d){let p=d;if(typeof d=="function")p=d(i);else if(typeof d!="object")return d;if(!p)return null;const m=s2(i.breakpoints),v=Object.keys(m);let g=m;return Object.keys(p).forEach(y=>{const w=v5(p[y],i);if(w!=null)if(typeof w=="object")if(l[y])g=Mc(g,t(y,w,i,l));else{const x=pi({theme:i},w,C=>({[y]:C}));y5(x,w)?g[y]=e({sx:w,theme:i,nested:!0}):g=Mc(g,x)}else g=Mc(g,t(y,w,i,l))}),!s&&i.modularCssLayers?{"@layer sx":Bb(i,lg(v,g))}:Bb(i,lg(v,g))}return Array.isArray(n)?n.map(c):c(n)}return e}const Ko=b5();Ko.filterProps=["sx"];function x5(t,e){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[t])||typeof r.getColorSchemeSelector!="function")return{};let i=r.getColorSchemeSelector(t);return i==="&"?e:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:e})}return r.palette.mode===t?e:{}}function hl(t={},...e){const{breakpoints:r={},palette:n={},spacing:i,shape:s={},...l}=t,c=P4(r),d=c2(i);let p=Cr({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:d,shape:{...R4,...s}},l);return p=A4(p),p.applyStyles=x5,p=e.reduce((m,v)=>Cr(m,v),p),p.unstable_sxConfig={...fu,...l==null?void 0:l.unstable_sxConfig},p.unstable_sx=function(v){return Ko({sx:v,theme:this})},p}function w5(t){return Object.keys(t).length===0}function uf(t=null){const e=T.useContext(du);return!e||w5(e)?t:e}const S5=hl();function hu(t=S5){return uf(t)}function Om(t){const e=Xo(t);return t!==e&&e.styles?(e.styles.match(/^@layer\s+[^{]*$/)||(e.styles=`@layer global{${e.styles}}`),e):t}function u2({styles:t,themeId:e,defaultTheme:r={}}){const n=hu(r),i=e&&n[e]||n;let s=typeof t=="function"?t(i):t;return i.modularCssLayers&&(Array.isArray(s)?s=s.map(l=>Om(typeof l=="function"?l(i):l)):s=Om(s)),h.jsx(n2,{styles:s})}const C5=t=>{var n;const e={systemProps:{},otherProps:{}},r=((n=t==null?void 0:t.theme)==null?void 0:n.unstable_sxConfig)??fu;return Object.keys(t).forEach(i=>{r[i]?e.systemProps[i]=t[i]:e.otherProps[i]=t[i]}),e};function df(t){const{sx:e,...r}=t,{systemProps:n,otherProps:i}=C5(r);let s;return Array.isArray(e)?s=[n,...e]:typeof e=="function"?s=(...l)=>{const c=e(...l);return Li(c)?{...n,...c}:n}:s={...n,...e},{...i,sx:s}}const Hb=t=>t,E5=()=>{let t=Hb;return{configure(e){t=e},generate(e){return t(e)},reset(){t=Hb}}},d2=E5();function p2(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(r=p2(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function je(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=p2(t))&&(n&&(n+=" "),n+=e);return n}function T5(t={}){const{themeId:e,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:i}=t,s=i2("div",{shouldForwardProp:c=>c!=="theme"&&c!=="sx"&&c!=="as"})(Ko);return T.forwardRef(function(d,p){const m=hu(r),{className:v,component:g="div",...y}=df(d);return h.jsx(s,{as:g,ref:p,className:je(v,i?i(n):n),theme:e&&m[e]||m,...y})})}const k5={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 Qe(t,e,r="Mui"){const n=k5[e];return n?`${r}-${n}`:`${d2.generate(t)}-${e}`}function Je(t,e,r="Mui"){const n={};return e.forEach(i=>{n[i]=Qe(t,i,r)}),n}function f2(t){const{variants:e,...r}=t,n={variants:e,style:Xo(r),isProcessed:!0};return n.style===r||e&&e.forEach(i=>{typeof i.style!="function"&&(i.style=Xo(i.style))}),n}const P5=hl();function Lm(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}function Na(t,e){return e&&t&&typeof t=="object"&&t.styles&&!t.styles.startsWith("@layer")&&(t.styles=`@layer ${e}{${String(t.styles)}}`),t}function M5(t){return t?(e,r)=>r[t]:null}function _5(t,e,r){t.theme=R5(t.theme)?r:t.theme[e]||t.theme}function mp(t,e,r){const n=typeof e=="function"?e(t):e;if(Array.isArray(n))return n.flatMap(i=>mp(t,i,r));if(Array.isArray(n==null?void 0:n.variants)){let i;if(n.isProcessed)i=r?Na(n.style,r):n.style;else{const{variants:s,...l}=n;i=r?Na(Xo(l),r):l}return h2(t,n.variants,[i],r)}return n!=null&&n.isProcessed?r?Na(Xo(n.style),r):n.style:r?Na(Xo(n),r):n}function h2(t,e,r=[],n=void 0){var s;let i;e:for(let l=0;l<e.length;l+=1){const c=e[l];if(typeof c.props=="function"){if(i??(i={...t,...t.ownerState,ownerState:t.ownerState}),!c.props(i))continue}else for(const d in c.props)if(t[d]!==c.props[d]&&((s=t.ownerState)==null?void 0:s[d])!==c.props[d])continue e;typeof c.style=="function"?(i??(i={...t,...t.ownerState,ownerState:t.ownerState}),r.push(n?Na(Xo(c.style(i)),n):c.style(i))):r.push(n?Na(Xo(c.style),n):c.style)}return r}function m2(t={}){const{themeId:e,defaultTheme:r=P5,rootShouldForwardProp:n=Lm,slotShouldForwardProp:i=Lm}=t;function s(c){_5(c,e,r)}return(c,d={})=>{C4(c,I=>I.filter(D=>D!==Ko));const{name:p,slot:m,skipVariantsResolver:v,skipSx:g,overridesResolver:y=M5(j5(m)),...w}=d,x=p&&p.startsWith("Mui")||m?"components":"custom",C=v!==void 0?v:m&&m!=="Root"&&m!=="root"||!1,P=g||!1;let k=Lm;m==="Root"||m==="root"?k=n:m?k=i:I5(c)&&(k=void 0);const _=i2(c,{shouldForwardProp:k,label:A5(),...w}),E=I=>{if(I.__emotion_real===I)return I;if(typeof I=="function")return function($){return mp($,I,$.theme.modularCssLayers?x:void 0)};if(Li(I)){const D=f2(I);return function(U){return D.variants?mp(U,D,U.theme.modularCssLayers?x:void 0):U.theme.modularCssLayers?Na(D.style,x):D.style}}return I},A=(...I)=>{const D=[],$=I.map(E),U=[];if(D.push(s),p&&y&&U.push(function(W){var K,J;const B=(J=(K=W.theme.components)==null?void 0:K[p])==null?void 0:J.styleOverrides;if(!B)return null;const V={};for(const Z in B)V[Z]=mp(W,B[Z],W.theme.modularCssLayers?"theme":void 0);return y(W,V)}),p&&!C&&U.push(function(W){var V,K;const G=W.theme,B=(K=(V=G==null?void 0:G.components)==null?void 0:V[p])==null?void 0:K.variants;return B?h2(W,B,[],W.theme.modularCssLayers?"theme":void 0):null}),P||U.push(Ko),Array.isArray($[0])){const M=$.shift(),W=new Array(D.length).fill(""),G=new Array(U.length).fill("");let B;B=[...W,...M,...G],B.raw=[...W,...M.raw,...G],D.unshift(B)}const X=[...D,...$,...U],H=_(...X);return c.muiName&&(H.muiName=c.muiName),H};return _.withConfig&&(A.withConfig=_.withConfig),A}}function A5(t,e){return void 0}function R5(t){for(const e in t)return!1;return!0}function I5(t){return typeof t=="string"&&t.charCodeAt(0)>96}function j5(t){return t&&t.charAt(0).toLowerCase()+t.slice(1)}const hy=m2();function Fc(t,e,r=!1){const n={...e};for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)){const s=i;if(s==="components"||s==="slots")n[s]={...t[s],...n[s]};else if(s==="componentsProps"||s==="slotProps"){const l=t[s],c=e[s];if(!c)n[s]=l||{};else if(!l)n[s]=c;else{n[s]={...c};for(const d in l)if(Object.prototype.hasOwnProperty.call(l,d)){const p=d;n[s][p]=Fc(l[p],c[p],r)}}}else s==="className"&&r&&e.className?n.className=je(t==null?void 0:t.className,e==null?void 0:e.className):s==="style"&&r&&e.style?n.style={...t==null?void 0:t.style,...e==null?void 0:e.style}:n[s]===void 0&&(n[s]=t[s])}return n}function g2(t){const{theme:e,name:r,props:n}=t;return!e||!e.components||!e.components[r]||!e.components[r].defaultProps?n:Fc(e.components[r].defaultProps,n)}function my({props:t,name:e,defaultTheme:r,themeId:n}){let i=hu(r);return n&&(i=i[n]||i),g2({theme:i,name:e,props:t})}const _n=typeof window<"u"?T.useLayoutEffect:T.useEffect;function O5(t,e,r,n,i){const[s,l]=T.useState(()=>i&&r?r(t).matches:n?n(t).matches:e);return _n(()=>{if(!r)return;const c=r(t),d=()=>{l(c.matches)};return d(),c.addEventListener("change",d),()=>{c.removeEventListener("change",d)}},[t,r]),s}const L5={...Oc},y2=L5.useSyncExternalStore;function N5(t,e,r,n,i){const s=T.useCallback(()=>e,[e]),l=T.useMemo(()=>{if(i&&r)return()=>r(t).matches;if(n!==null){const{matches:m}=n(t);return()=>m}return s},[s,t,n,i,r]),[c,d]=T.useMemo(()=>{if(r===null)return[s,()=>()=>{}];const m=r(t);return[()=>m.matches,v=>(m.addEventListener("change",v),()=>{m.removeEventListener("change",v)})]},[s,r,t]);return y2(d,c,l)}function v2(t={}){const{themeId:e}=t;return function(n,i={}){let s=uf();s&&e&&(s=s[e]||s);const l=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:c=!1,matchMedia:d=l?window.matchMedia:null,ssrMatchMedia:p=null,noSsr:m=!1}=g2({name:"MuiUseMediaQuery",props:i,theme:s});let v=typeof n=="function"?n(s):n;return v=v.replace(/^@media( ?)/m,""),v.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(`
83
- `)),(y2!==void 0?N5:O5)(v,c,d,p,m)}}v2();function $5(t,e=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,r))}function gy(t,e=0,r=1){return $5(t,e,r)}function z5(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let r=t.match(e);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,i)=>i<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Qo(t){if(t.type)return t;if(t.charAt(0)==="#")return Qo(z5(t));const e=t.indexOf("("),r=t.substring(0,e);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(uo(9,t));let n=t.substring(e+1,t.length-1),i;if(r==="color"){if(n=n.split(" "),i=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(i))throw new Error(uo(10,i))}else n=n.split(",");return n=n.map(s=>parseFloat(s)),{type:r,values:n,colorSpace:i}}const B5=t=>{const e=Qo(t);return e.values.slice(0,3).map((r,n)=>e.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},xc=(t,e)=>{try{return B5(t)}catch{return t}};function pf(t){const{type:e,colorSpace:r}=t;let{values:n}=t;return e.includes("rgb")?n=n.map((i,s)=>s<3?parseInt(i,10):i):e.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),e.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${e}(${n})`}function b2(t){t=Qo(t);const{values:e}=t,r=e[0],n=e[1]/100,i=e[2]/100,s=n*Math.min(i,1-i),l=(p,m=(p+r/30)%12)=>i-s*Math.max(Math.min(m-3,9-m,1),-1);let c="rgb";const d=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return t.type==="hsla"&&(c+="a",d.push(e[3])),pf({type:c,values:d})}function cg(t){t=Qo(t);let e=t.type==="hsl"||t.type==="hsla"?Qo(b2(t)).values:t.values;return e=e.map(r=>(t.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function D5(t,e){const r=cg(t),n=cg(e);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Hc(t,e){return t=Qo(t),e=gy(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,pf(t)}function Pa(t,e,r){try{return Hc(t,e)}catch{return t}}function ff(t,e){if(t=Qo(t),e=gy(e),t.type.includes("hsl"))t.values[2]*=1-e;else if(t.type.includes("rgb")||t.type.includes("color"))for(let r=0;r<3;r+=1)t.values[r]*=1-e;return pf(t)}function Ot(t,e,r){try{return ff(t,e)}catch{return t}}function hf(t,e){if(t=Qo(t),e=gy(e),t.type.includes("hsl"))t.values[2]+=(100-t.values[2])*e;else if(t.type.includes("rgb"))for(let r=0;r<3;r+=1)t.values[r]+=(255-t.values[r])*e;else if(t.type.includes("color"))for(let r=0;r<3;r+=1)t.values[r]+=(1-t.values[r])*e;return pf(t)}function Lt(t,e,r){try{return hf(t,e)}catch{return t}}function ug(t,e=.15){return cg(t)>.5?ff(t,e):hf(t,e)}function zd(t,e,r){try{return ug(t,e)}catch{return t}}const x2=T.createContext(null);function yy(){return T.useContext(x2)}const F5=typeof Symbol=="function"&&Symbol.for,H5=F5?Symbol.for("mui.nested"):"__THEME_NESTED__";function V5(t,e){return typeof e=="function"?e(t):{...t,...e}}function U5(t){const{children:e,theme:r}=t,n=yy(),i=T.useMemo(()=>{const s=n===null?{...r}:V5(n,r);return s!=null&&(s[H5]=n!==null),s},[r,n]);return h.jsx(x2.Provider,{value:i,children:e})}const w2=T.createContext();function W5({value:t,...e}){return h.jsx(w2.Provider,{value:t??!0,...e})}const mu=()=>T.useContext(w2)??!1,S2=T.createContext(void 0);function q5({value:t,children:e}){return h.jsx(S2.Provider,{value:t,children:e})}function G5(t){const{theme:e,name:r,props:n}=t;if(!e||!e.components||!e.components[r])return n;const i=e.components[r];return i.defaultProps?Fc(i.defaultProps,n,e.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?Fc(i,n,e.components.mergeClassNameAndStyle):n}function X5({props:t,name:e}){const r=T.useContext(S2);return G5({props:t,name:e,theme:{components:r}})}let Vb=0;function K5(t){const[e,r]=T.useState(t),n=t||e;return T.useEffect(()=>{e==null&&(Vb+=1,r(`mui-${Vb}`))},[e]),n}const Q5={...Oc},Ub=Q5.useId;function ml(t){if(Ub!==void 0){const e=Ub();return t??e}return K5(t)}function Y5(t){const e=uf(),r=ml()||"",{modularCssLayers:n}=t;let i="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!n||e!==null?i="":typeof n=="string"?i=n.replace(/mui(?!\.)/g,i):i=`@layer ${i};`,_n(()=>{var c,d;const s=document.querySelector("head");if(!s)return;const l=s.firstChild;if(i){if(l&&((c=l.hasAttribute)!=null&&c.call(l,"data-mui-layer-order"))&&l.getAttribute("data-mui-layer-order")===r)return;const p=document.createElement("style");p.setAttribute("data-mui-layer-order",r),p.textContent=i,s.prepend(p)}else(d=s.querySelector(`style[data-mui-layer-order="${r}"]`))==null||d.remove()},[i,r]),i?h.jsx(u2,{styles:i}):null}const Wb={};function qb(t,e,r,n=!1){return T.useMemo(()=>{const i=t&&e[t]||e;if(typeof r=="function"){const s=r(i),l=t?{...e,[t]:s}:s;return n?()=>l:l}return t?{...e,[t]:r}:{...e,...r}},[t,e,r,n])}function C2(t){const{children:e,theme:r,themeId:n}=t,i=uf(Wb),s=yy()||Wb,l=qb(n,i,r),c=qb(n,s,r,!0),d=(n?l[n]:l).direction==="rtl",p=Y5(l);return h.jsx(U5,{theme:c,children:h.jsx(du.Provider,{value:l,children:h.jsx(W5,{value:d,children:h.jsxs(q5,{value:n?l[n].components:l.components,children:[p,e]})})})})}const Gb={theme:void 0};function J5(t){let e,r;return function(i){let s=e;return(s===void 0||i.theme!==r)&&(Gb.theme=i.theme,s=f2(t(Gb)),e=s,r=i.theme),s}}const vy="mode",by="color-scheme",Z5="data-color-scheme";function eM(t){const{defaultMode:e="system",defaultLightColorScheme:r="light",defaultDarkColorScheme:n="dark",modeStorageKey:i=vy,colorSchemeStorageKey:s=by,attribute:l=Z5,colorSchemeNode:c="document.documentElement",nonce:d}=t||{};let p="",m=l;if(l==="class"&&(m=".%s"),l==="data"&&(m="[data-%s]"),m.startsWith(".")){const g=m.substring(1);p+=`${c}.classList.remove('${g}'.replace('%s', light), '${g}'.replace('%s', dark));
84
- ${c}.classList.add('${g}'.replace('%s', colorScheme));`}const v=m.match(/\[([^[\]]+)\]/);if(v){const[g,y]=v[1].split("=");y||(p+=`${c}.removeAttribute('${g}'.replace('%s', light));
85
- ${c}.removeAttribute('${g}'.replace('%s', dark));`),p+=`
86
- ${c}.setAttribute('${g}'.replace('%s', colorScheme), ${y?`${y}.replace('%s', colorScheme)`:'""'});`}else m!==".%s"&&(p+=`${c}.setAttribute('${m}', colorScheme);`);return h.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?d:"",dangerouslySetInnerHTML:{__html:`(function() {
87
- try {
88
- let colorScheme = '';
89
- const mode = localStorage.getItem('${i}') || '${e}';
90
- const dark = localStorage.getItem('${s}-dark') || '${n}';
91
- const light = localStorage.getItem('${s}-light') || '${r}';
92
- if (mode === 'system') {
93
- // handle system mode
94
- const mql = window.matchMedia('(prefers-color-scheme: dark)');
95
- if (mql.matches) {
96
- colorScheme = dark
97
- } else {
98
- colorScheme = light
99
- }
100
- }
101
- if (mode === 'light') {
102
- colorScheme = light;
103
- }
104
- if (mode === 'dark') {
105
- colorScheme = dark;
106
- }
107
- if (colorScheme) {
108
- ${p}
109
- }
110
- } catch(e){}})();`}},"mui-color-scheme-init")}function tM(){}const rM=({key:t,storageWindow:e})=>(!e&&typeof window<"u"&&(e=window),{get(r){if(typeof window>"u")return;if(!e)return r;let n;try{n=e.localStorage.getItem(t)}catch{}return n||r},set:r=>{if(e)try{e.localStorage.setItem(t,r)}catch{}},subscribe:r=>{if(!e)return tM;const n=i=>{const s=i.newValue;i.key===t&&r(s)};return e.addEventListener("storage",n),()=>{e.removeEventListener("storage",n)}}});function Nm(){}function Xb(t){if(typeof window<"u"&&typeof window.matchMedia=="function"&&t==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function E2(t,e){if(t.mode==="light"||t.mode==="system"&&t.systemMode==="light")return e("light");if(t.mode==="dark"||t.mode==="system"&&t.systemMode==="dark")return e("dark")}function nM(t){return E2(t,e=>{if(e==="light")return t.lightColorScheme;if(e==="dark")return t.darkColorScheme})}function iM(t){const{defaultMode:e="light",defaultLightColorScheme:r,defaultDarkColorScheme:n,supportedColorSchemes:i=[],modeStorageKey:s=vy,colorSchemeStorageKey:l=by,storageWindow:c=typeof window>"u"?void 0:window,storageManager:d=rM,noSsr:p=!1}=t,m=i.join(","),v=i.length>1,g=T.useMemo(()=>d==null?void 0:d({key:s,storageWindow:c}),[d,s,c]),y=T.useMemo(()=>d==null?void 0:d({key:`${l}-light`,storageWindow:c}),[d,l,c]),w=T.useMemo(()=>d==null?void 0:d({key:`${l}-dark`,storageWindow:c}),[d,l,c]),[x,C]=T.useState(()=>{const $=(g==null?void 0:g.get(e))||e,U=(y==null?void 0:y.get(r))||r,X=(w==null?void 0:w.get(n))||n;return{mode:$,systemMode:Xb($),lightColorScheme:U,darkColorScheme:X}}),[P,k]=T.useState(p||!v);T.useEffect(()=>{k(!0)},[]);const _=nM(x),E=T.useCallback($=>{C(U=>{if($===U.mode)return U;const X=$??e;return g==null||g.set(X),{...U,mode:X,systemMode:Xb(X)}})},[g,e]),A=T.useCallback($=>{$?typeof $=="string"?$&&!m.includes($)?console.error(`\`${$}\` does not exist in \`theme.colorSchemes\`.`):C(U=>{const X={...U};return E2(U,H=>{H==="light"&&(y==null||y.set($),X.lightColorScheme=$),H==="dark"&&(w==null||w.set($),X.darkColorScheme=$)}),X}):C(U=>{const X={...U},H=$.light===null?r:$.light,M=$.dark===null?n:$.dark;return H&&(m.includes(H)?(X.lightColorScheme=H,y==null||y.set(H)):console.error(`\`${H}\` does not exist in \`theme.colorSchemes\`.`)),M&&(m.includes(M)?(X.darkColorScheme=M,w==null||w.set(M)):console.error(`\`${M}\` does not exist in \`theme.colorSchemes\`.`)),X}):C(U=>(y==null||y.set(r),w==null||w.set(n),{...U,lightColorScheme:r,darkColorScheme:n}))},[m,y,w,r,n]),I=T.useCallback($=>{x.mode==="system"&&C(U=>{const X=$!=null&&$.matches?"dark":"light";return U.systemMode===X?U:{...U,systemMode:X}})},[x.mode]),D=T.useRef(I);return D.current=I,T.useEffect(()=>{if(typeof window.matchMedia!="function"||!v)return;const $=(...X)=>D.current(...X),U=window.matchMedia("(prefers-color-scheme: dark)");return U.addListener($),$(U),()=>{U.removeListener($)}},[v]),T.useEffect(()=>{if(v){const $=(g==null?void 0:g.subscribe(H=>{(!H||["light","dark","system"].includes(H))&&E(H||e)}))||Nm,U=(y==null?void 0:y.subscribe(H=>{(!H||m.match(H))&&A({light:H})}))||Nm,X=(w==null?void 0:w.subscribe(H=>{(!H||m.match(H))&&A({dark:H})}))||Nm;return()=>{$(),U(),X()}}},[A,E,m,e,c,v,g,y,w]),{...x,mode:P?x.mode:void 0,systemMode:P?x.systemMode:void 0,colorScheme:P?_:void 0,setMode:E,setColorScheme:A}}const oM="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function aM(t){const{themeId:e,theme:r={},modeStorageKey:n=vy,colorSchemeStorageKey:i=by,disableTransitionOnChange:s=!1,defaultColorScheme:l,resolveTheme:c}=t,d={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},p=T.createContext(void 0),m=()=>T.useContext(p)||d,v={},g={};function y(P){var me,ye,Ae,Be;const{children:k,theme:_,modeStorageKey:E=n,colorSchemeStorageKey:A=i,disableTransitionOnChange:I=s,storageManager:D,storageWindow:$=typeof window>"u"?void 0:window,documentNode:U=typeof document>"u"?void 0:document,colorSchemeNode:X=typeof document>"u"?void 0:document.documentElement,disableNestedContext:H=!1,disableStyleSheetGeneration:M=!1,defaultMode:W="system",forceThemeRerender:G=!1,noSsr:B}=P,V=T.useRef(!1),K=yy(),J=T.useContext(p),Z=!!J&&!H,Q=T.useMemo(()=>_||(typeof r=="function"?r():r),[_]),q=Q[e],ne=q||Q,{colorSchemes:ue=v,components:oe=g,cssVarPrefix:ie}=ne,ee=Object.keys(ue).filter(lt=>!!ue[lt]).join(","),pe=T.useMemo(()=>ee.split(","),[ee]),ve=typeof l=="string"?l:l.light,xe=typeof l=="string"?l:l.dark,se=ue[ve]&&ue[xe]?W:((ye=(me=ue[ne.defaultColorScheme])==null?void 0:me.palette)==null?void 0:ye.mode)||((Ae=ne.palette)==null?void 0:Ae.mode),{mode:Le,setMode:De,systemMode:ze,lightColorScheme:Oe,darkColorScheme:_e,colorScheme:st,setColorScheme:ft}=iM({supportedColorSchemes:pe,defaultLightColorScheme:ve,defaultDarkColorScheme:xe,modeStorageKey:E,colorSchemeStorageKey:A,defaultMode:se,storageManager:D,storageWindow:$,noSsr:B});let dt=Le,St=st;Z&&(dt=J.mode,St=J.colorScheme);let xt=St||ne.defaultColorScheme;ne.vars&&!G&&(xt=ne.defaultColorScheme);const ht=T.useMemo(()=>{var Ve;const lt=((Ve=ne.generateThemeVars)==null?void 0:Ve.call(ne))||ne.vars,we={...ne,components:oe,colorSchemes:ue,cssVarPrefix:ie,vars:lt};if(typeof we.generateSpacing=="function"&&(we.spacing=we.generateSpacing()),xt){const Ie=ue[xt];Ie&&typeof Ie=="object"&&Object.keys(Ie).forEach(We=>{Ie[We]&&typeof Ie[We]=="object"?we[We]={...we[We],...Ie[We]}:we[We]=Ie[We]})}return c?c(we):we},[ne,xt,oe,ue,ie]),$e=ne.colorSchemeSelector;_n(()=>{if(St&&X&&$e&&$e!=="media"){const lt=$e;let we=$e;if(lt==="class"&&(we=".%s"),lt==="data"&&(we="[data-%s]"),lt!=null&&lt.startsWith("data-")&&!lt.includes("%s")&&(we=`[${lt}="%s"]`),we.startsWith("."))X.classList.remove(...pe.map(Ve=>we.substring(1).replace("%s",Ve))),X.classList.add(we.substring(1).replace("%s",St));else{const Ve=we.replace("%s",St).match(/\[([^\]]+)\]/);if(Ve){const[Ie,We]=Ve[1].split("=");We||pe.forEach(wt=>{X.removeAttribute(Ie.replace(St,wt))}),X.setAttribute(Ie,We?We.replace(/"|'/g,""):"")}else X.setAttribute(we,St)}}},[St,$e,X,pe]),T.useEffect(()=>{let lt;if(I&&V.current&&U){const we=U.createElement("style");we.appendChild(U.createTextNode(oM)),U.head.appendChild(we),window.getComputedStyle(U.body),lt=setTimeout(()=>{U.head.removeChild(we)},1)}return()=>{clearTimeout(lt)}},[St,I,U]),T.useEffect(()=>(V.current=!0,()=>{V.current=!1}),[]);const lr=T.useMemo(()=>({allColorSchemes:pe,colorScheme:St,darkColorScheme:_e,lightColorScheme:Oe,mode:dt,setColorScheme:ft,setMode:De,systemMode:ze}),[pe,St,_e,Oe,dt,ft,De,ze,ht.colorSchemeSelector]);let kt=!0;(M||ne.cssVariables===!1||Z&&(K==null?void 0:K.cssVarPrefix)===ie)&&(kt=!1);const le=h.jsxs(T.Fragment,{children:[h.jsx(C2,{themeId:q?e:void 0,theme:ht,children:k}),kt&&h.jsx(n2,{styles:((Be=ht.generateStyleSheets)==null?void 0:Be.call(ht))||[]})]});return Z?le:h.jsx(p.Provider,{value:lr,children:le})}const w=typeof l=="string"?l:l.light,x=typeof l=="string"?l:l.dark;return{CssVarsProvider:y,useColorScheme:m,getInitColorSchemeScript:P=>eM({colorSchemeStorageKey:i,defaultLightColorScheme:w,defaultDarkColorScheme:x,modeStorageKey:n,...P})}}function sM(t=""){function e(...n){if(!n.length)return"";const i=n[0];return typeof i=="string"&&!i.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${t?`${t}-`:""}${i}${e(...n.slice(1))})`:`, ${i}`}return(n,...i)=>`var(--${t?`${t}-`:""}${n}${e(...i)})`}const Kb=(t,e,r,n=[])=>{let i=t;e.forEach((s,l)=>{l===e.length-1?Array.isArray(i)?i[Number(s)]=r:i&&typeof i=="object"&&(i[s]=r):i&&typeof i=="object"&&(i[s]||(i[s]=n.includes(s)?[]:{}),i=i[s])})},lM=(t,e,r)=>{function n(i,s=[],l=[]){Object.entries(i).forEach(([c,d])=>{(!r||r&&!r([...s,c]))&&d!=null&&(typeof d=="object"&&Object.keys(d).length>0?n(d,[...s,c],Array.isArray(d)?[...l,c]:l):e([...s,c],d,l))})}n(t)},cM=(t,e)=>typeof e=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>t.includes(n))||t[t.length-1].toLowerCase().includes("opacity")?e:`${e}px`:e;function $m(t,e){const{prefix:r,shouldSkipGeneratingVar:n}=e||{},i={},s={},l={};return lM(t,(c,d,p)=>{if((typeof d=="string"||typeof d=="number")&&(!n||!n(c,d))){const m=`--${r?`${r}-`:""}${c.join("-")}`,v=cM(c,d);Object.assign(i,{[m]:v}),Kb(s,c,`var(${m})`,p),Kb(l,c,`var(${m}, ${v})`,p)}},c=>c[0]==="vars"),{css:i,vars:s,varsWithDefaults:l}}function uM(t,e={}){const{getSelector:r=P,disableCssColorScheme:n,colorSchemeSelector:i,enableContrastVars:s}=e,{colorSchemes:l={},components:c,defaultColorScheme:d="light",...p}=t,{vars:m,css:v,varsWithDefaults:g}=$m(p,e);let y=g;const w={},{[d]:x,...C}=l;if(Object.entries(C||{}).forEach(([E,A])=>{const{vars:I,css:D,varsWithDefaults:$}=$m(A,e);y=Cr(y,$),w[E]={css:D,vars:I}}),x){const{css:E,vars:A,varsWithDefaults:I}=$m(x,e);y=Cr(y,I),w[d]={css:E,vars:A}}function P(E,A){var D,$;let I=i;if(i==="class"&&(I=".%s"),i==="data"&&(I="[data-%s]"),i!=null&&i.startsWith("data-")&&!i.includes("%s")&&(I=`[${i}="%s"]`),E){if(I==="media")return t.defaultColorScheme===E?":root":{[`@media (prefers-color-scheme: ${(($=(D=l[E])==null?void 0:D.palette)==null?void 0:$.mode)||E})`]:{":root":A}};if(I)return t.defaultColorScheme===E?`:root, ${I.replace("%s",String(E))}`:I.replace("%s",String(E))}return":root"}return{vars:y,generateThemeVars:()=>{let E={...m};return Object.entries(w).forEach(([,{vars:A}])=>{E=Cr(E,A)}),E},generateStyleSheets:()=>{var U,X;const E=[],A=t.defaultColorScheme||"light";function I(H,M){Object.keys(M).length&&E.push(typeof H=="string"?{[H]:{...M}}:H)}I(r(void 0,{...v}),v);const{[A]:D,...$}=w;if(D){const{css:H}=D,M=(X=(U=l[A])==null?void 0:U.palette)==null?void 0:X.mode,W=!n&&M?{colorScheme:M,...H}:{...H};I(r(A,{...W}),W)}return Object.entries($).forEach(([H,{css:M}])=>{var B,V;const W=(V=(B=l[H])==null?void 0:B.palette)==null?void 0:V.mode,G=!n&&W?{colorScheme:W,...M}:{...M};I(r(H,{...G}),G)}),s&&E.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)"}}),E}}}function dM(t){return function(r){return t==="media"?`@media (prefers-color-scheme: ${r})`:t?t.startsWith("data-")&&!t.includes("%s")?`[${t}="${r}"] &`:t==="class"?`.${r} &`:t==="data"?`[data-${r}] &`:`${t.replace("%s",r)} &`:"&"}}function Ye(t,e,r=void 0){const n={};for(const i in t){const s=t[i];let l="",c=!0;for(let d=0;d<s.length;d+=1){const p=s[d];p&&(l+=(c===!0?"":" ")+e(p),c=!1,r&&r[p]&&(l+=" "+r[p]))}n[i]=l}return n}const pM=hl(),fM=hy("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`maxWidth${he(String(r.maxWidth))}`],r.fixed&&e.fixed,r.disableGutters&&e.disableGutters]}}),hM=t=>my({props:t,name:"MuiContainer",defaultTheme:pM}),mM=(t,e)=>{const r=d=>Qe(e,d),{classes:n,fixed:i,disableGutters:s,maxWidth:l}=t,c={root:["root",l&&`maxWidth${he(String(l))}`,i&&"fixed",s&&"disableGutters"]};return Ye(c,r,n)};function gM(t={}){const{createStyledComponent:e=fM,useThemeProps:r=hM,componentName:n="MuiContainer"}=t,i=e(({theme:l,ownerState:c})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!c.disableGutters&&{paddingLeft:l.spacing(2),paddingRight:l.spacing(2),[l.breakpoints.up("sm")]:{paddingLeft:l.spacing(3),paddingRight:l.spacing(3)}}}),({theme:l,ownerState:c})=>c.fixed&&Object.keys(l.breakpoints.values).reduce((d,p)=>{const m=p,v=l.breakpoints.values[m];return v!==0&&(d[l.breakpoints.up(m)]={maxWidth:`${v}${l.breakpoints.unit}`}),d},{}),({theme:l,ownerState:c})=>({...c.maxWidth==="xs"&&{[l.breakpoints.up("xs")]:{maxWidth:Math.max(l.breakpoints.values.xs,444)}},...c.maxWidth&&c.maxWidth!=="xs"&&{[l.breakpoints.up(c.maxWidth)]:{maxWidth:`${l.breakpoints.values[c.maxWidth]}${l.breakpoints.unit}`}}}));return T.forwardRef(function(c,d){const p=r(c),{className:m,component:v="div",disableGutters:g=!1,fixed:y=!1,maxWidth:w="lg",classes:x,...C}=p,P={...p,component:v,disableGutters:g,fixed:y,maxWidth:w},k=mM(P,n);return h.jsx(i,{as:v,ownerState:P,className:je(k.root,m),ref:d,...C})})}function gp(t,e){var r,n,i;return T.isValidElement(t)&&e.indexOf(t.type.muiName??((i=(n=(r=t.type)==null?void 0:r._payload)==null?void 0:n.value)==null?void 0:i.muiName))!==-1}const yM=(t,e)=>t.filter(r=>e.includes(r)),gl=(t,e,r)=>{const n=t.keys[0];Array.isArray(e)?e.forEach((i,s)=>{r((l,c)=>{s<=t.keys.length-1&&(s===0?Object.assign(l,c):l[t.up(t.keys[s])]=c)},i)}):e&&typeof e=="object"?(Object.keys(e).length>t.keys.length?t.keys:yM(t.keys,Object.keys(e))).forEach(s=>{if(t.keys.includes(s)){const l=e[s];l!==void 0&&r((c,d)=>{n===s?Object.assign(c,d):c[t.up(s)]=d},l)}}):(typeof e=="number"||typeof e=="string")&&r((i,s)=>{Object.assign(i,s)},e)};function _p(t){return`--Grid-${t}Spacing`}function mf(t){return`--Grid-parent-${t}Spacing`}const Qb="--Grid-columns",Hs="--Grid-parent-columns",vM=({theme:t,ownerState:e})=>{const r={};return gl(t.breakpoints,e.size,(n,i)=>{let s={};i==="grow"&&(s={flexBasis:0,flexGrow:1,maxWidth:"100%"}),i==="auto"&&(s={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof i=="number"&&(s={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${i} / var(${Hs}) - (var(${Hs}) - ${i}) * (var(${mf("column")}) / var(${Hs})))`}),n(r,s)}),r},bM=({theme:t,ownerState:e})=>{const r={};return gl(t.breakpoints,e.offset,(n,i)=>{let s={};i==="auto"&&(s={marginLeft:"auto"}),typeof i=="number"&&(s={marginLeft:i===0?"0px":`calc(100% * ${i} / var(${Hs}) + var(${mf("column")}) * ${i} / var(${Hs}))`}),n(r,s)}),r},xM=({theme:t,ownerState:e})=>{if(!e.container)return{};const r={[Qb]:12};return gl(t.breakpoints,e.columns,(n,i)=>{const s=i??12;n(r,{[Qb]:s,"> *":{[Hs]:s}})}),r},wM=({theme:t,ownerState:e})=>{if(!e.container)return{};const r={};return gl(t.breakpoints,e.rowSpacing,(n,i)=>{var l;const s=typeof i=="string"?i:(l=t.spacing)==null?void 0:l.call(t,i);n(r,{[_p("row")]:s,"> *":{[mf("row")]:s}})}),r},SM=({theme:t,ownerState:e})=>{if(!e.container)return{};const r={};return gl(t.breakpoints,e.columnSpacing,(n,i)=>{var l;const s=typeof i=="string"?i:(l=t.spacing)==null?void 0:l.call(t,i);n(r,{[_p("column")]:s,"> *":{[mf("column")]:s}})}),r},CM=({theme:t,ownerState:e})=>{if(!e.container)return{};const r={};return gl(t.breakpoints,e.direction,(n,i)=>{n(r,{flexDirection:i})}),r},EM=({ownerState:t})=>({minWidth:0,boxSizing:"border-box",...t.container&&{display:"flex",flexWrap:"wrap",...t.wrap&&t.wrap!=="wrap"&&{flexWrap:t.wrap},gap:`var(${_p("row")}) var(${_p("column")})`}}),TM=t=>{const e=[];return Object.entries(t).forEach(([r,n])=>{n!==!1&&n!==void 0&&e.push(`grid-${r}-${String(n)}`)}),e},kM=(t,e="xs")=>{function r(n){return n===void 0?!1:typeof n=="string"&&!Number.isNaN(Number(n))||typeof n=="number"&&n>0}if(r(t))return[`spacing-${e}-${String(t)}`];if(typeof t=="object"&&!Array.isArray(t)){const n=[];return Object.entries(t).forEach(([i,s])=>{r(s)&&n.push(`spacing-${i}-${String(s)}`)}),n}return[]},PM=t=>t===void 0?[]:typeof t=="object"?Object.entries(t).map(([e,r])=>`direction-${e}-${r}`):[`direction-xs-${String(t)}`];function MM(t,e){t.item!==void 0&&delete t.item,t.zeroMinWidth!==void 0&&delete t.zeroMinWidth,e.keys.forEach(r=>{t[r]!==void 0&&delete t[r]})}const _M=hl(),AM=hy("div",{name:"MuiGrid",slot:"Root"});function RM(t){return my({props:t,name:"MuiGrid",defaultTheme:_M})}function IM(t={}){const{createStyledComponent:e=AM,useThemeProps:r=RM,useTheme:n=hu,componentName:i="MuiGrid"}=t,s=(p,m)=>{const{container:v,direction:g,spacing:y,wrap:w,size:x}=p,C={root:["root",v&&"container",w!=="wrap"&&`wrap-xs-${String(w)}`,...PM(g),...TM(x),...v?kM(y,m.breakpoints.keys[0]):[]]};return Ye(C,P=>Qe(i,P),{})};function l(p,m,v=()=>!0){const g={};return p===null||(Array.isArray(p)?p.forEach((y,w)=>{y!==null&&v(y)&&m.keys[w]&&(g[m.keys[w]]=y)}):typeof p=="object"?Object.keys(p).forEach(y=>{const w=p[y];w!=null&&v(w)&&(g[y]=w)}):g[m.keys[0]]=p),g}const c=e(xM,SM,wM,vM,CM,EM,bM),d=T.forwardRef(function(m,v){const g=n(),y=r(m),w=df(y);MM(w,g.breakpoints);const{className:x,children:C,columns:P=12,container:k=!1,component:_="div",direction:E="row",wrap:A="wrap",size:I={},offset:D={},spacing:$=0,rowSpacing:U=$,columnSpacing:X=$,unstable_level:H=0,...M}=w,W=l(I,g.breakpoints,q=>q!==!1),G=l(D,g.breakpoints),B=m.columns??(H?void 0:P),V=m.spacing??(H?void 0:$),K=m.rowSpacing??m.spacing??(H?void 0:U),J=m.columnSpacing??m.spacing??(H?void 0:X),Z={...w,level:H,columns:B,container:k,direction:E,wrap:A,spacing:V,rowSpacing:K,columnSpacing:J,size:W,offset:G},Q=s(Z,g);return h.jsx(c,{ref:v,as:_,ownerState:Z,className:je(Q.root,x),...M,children:T.Children.map(C,q=>{var ne;return T.isValidElement(q)&&gp(q,["Grid"])&&k&&q.props.container?T.cloneElement(q,{unstable_level:((ne=q.props)==null?void 0:ne.unstable_level)??H+1}):q})})});return d.muiName="Grid",d}const jM=hl(),OM=hy("div",{name:"MuiStack",slot:"Root"});function LM(t){return my({props:t,name:"MuiStack",defaultTheme:jM})}function NM(t,e){const r=T.Children.toArray(t).filter(Boolean);return r.reduce((n,i,s)=>(n.push(i),s<r.length-1&&n.push(T.cloneElement(e,{key:`separator-${s}`})),n),[])}const $M=t=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[t],zM=({ownerState:t,theme:e})=>{let r={display:"flex",flexDirection:"column",...pi({theme:e},jm({values:t.direction,breakpoints:e.breakpoints.values}),n=>({flexDirection:n}))};if(t.spacing){const n=nf(e),i=Object.keys(e.breakpoints.values).reduce((d,p)=>((typeof t.spacing=="object"&&t.spacing[p]!=null||typeof t.direction=="object"&&t.direction[p]!=null)&&(d[p]=!0),d),{}),s=jm({values:t.direction,base:i}),l=jm({values:t.spacing,base:i});typeof s=="object"&&Object.keys(s).forEach((d,p,m)=>{if(!s[d]){const g=p>0?s[m[p-1]]:"column";s[d]=g}}),r=Cr(r,pi({theme:e},l,(d,p)=>t.useFlexGap?{gap:Da(n,d)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${$M(p?s[p]:t.direction)}`]:Da(n,d)}}))}return r=j4(e.breakpoints,r),r};function BM(t={}){const{createStyledComponent:e=OM,useThemeProps:r=LM,componentName:n="MuiStack"}=t,i=()=>Ye({root:["root"]},d=>Qe(n,d),{}),s=e(zM);return T.forwardRef(function(d,p){const m=r(d),v=df(m),{component:g="div",direction:y="column",spacing:w=0,divider:x,children:C,className:P,useFlexGap:k=!1,..._}=v,E={direction:y,spacing:w,useFlexGap:k},A=i();return h.jsx(s,{as:g,ownerState:E,ref:p,className:je(A.root,P),..._,children:x?NM(C,x):C})})}function T2(){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:$c.white,default:$c.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const k2=T2();function P2(){return{text:{primary:$c.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:$c.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 dg=P2();function Yb(t,e,r,n){const i=n.light||n,s=n.dark||n*1.5;t[e]||(t.hasOwnProperty(r)?t[e]=t[r]:e==="light"?t.light=hf(t.main,i):e==="dark"&&(t.dark=ff(t.main,s)))}function Jb(t,e,r,n,i){const s=i.light||i,l=i.dark||i*1.5;e[r]||(e.hasOwnProperty(n)?e[r]=e[n]:r==="light"?e.light=`color-mix(in ${t}, ${e.main}, #fff ${(s*100).toFixed(0)}%)`:r==="dark"&&(e.dark=`color-mix(in ${t}, ${e.main}, #000 ${(l*100).toFixed(0)}%)`))}function DM(t="light"){return t==="dark"?{main:Ms[200],light:Ms[50],dark:Ms[400]}:{main:Ms[700],light:Ms[400],dark:Ms[800]}}function FM(t="light"){return t==="dark"?{main:Ps[200],light:Ps[50],dark:Ps[400]}:{main:Ps[500],light:Ps[300],dark:Ps[700]}}function HM(t="light"){return t==="dark"?{main:ks[500],light:ks[300],dark:ks[700]}:{main:ks[700],light:ks[400],dark:ks[800]}}function VM(t="light"){return t==="dark"?{main:_s[400],light:_s[300],dark:_s[700]}:{main:_s[700],light:_s[500],dark:_s[900]}}function UM(t="light"){return t==="dark"?{main:As[400],light:As[300],dark:As[700]}:{main:As[800],light:As[500],dark:As[900]}}function WM(t="light"){return t==="dark"?{main:ac[400],light:ac[300],dark:ac[700]}:{main:"#ed6c02",light:ac[500],dark:ac[900]}}function qM(t){return`oklch(from ${t} var(--__l) 0 h / var(--__a))`}function xy(t){const{mode:e="light",contrastThreshold:r=3,tonalOffset:n=.2,colorSpace:i,...s}=t,l=t.primary||DM(e),c=t.secondary||FM(e),d=t.error||HM(e),p=t.info||VM(e),m=t.success||UM(e),v=t.warning||WM(e);function g(C){return i?qM(C):D5(C,dg.text.primary)>=r?dg.text.primary:k2.text.primary}const y=({color:C,name:P,mainShade:k=500,lightShade:_=300,darkShade:E=700})=>{if(C={...C},!C.main&&C[k]&&(C.main=C[k]),!C.hasOwnProperty("main"))throw new Error(uo(11,P?` (${P})`:"",k));if(typeof C.main!="string")throw new Error(uo(12,P?` (${P})`:"",JSON.stringify(C.main)));return i?(Jb(i,C,"light",_,n),Jb(i,C,"dark",E,n)):(Yb(C,"light",_,n),Yb(C,"dark",E,n)),C.contrastText||(C.contrastText=g(C.main)),C};let w;return e==="light"?w=T2():e==="dark"&&(w=P2()),Cr({common:{...$c},mode:e,primary:y({color:l,name:"primary"}),secondary:y({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:d,name:"error"}),warning:y({color:v,name:"warning"}),info:y({color:p,name:"info"}),success:y({color:m,name:"success"}),grey:E3,contrastThreshold:r,getContrastText:g,augmentColor:y,tonalOffset:n,...w},s)}function GM(t){const e={};return Object.entries(t).forEach(n=>{const[i,s]=n;typeof s=="object"&&(e[i]=`${s.fontStyle?`${s.fontStyle} `:""}${s.fontVariant?`${s.fontVariant} `:""}${s.fontWeight?`${s.fontWeight} `:""}${s.fontStretch?`${s.fontStretch} `:""}${s.fontSize||""}${s.lineHeight?`/${s.lineHeight} `:""}${s.fontFamily||""}`)}),e}function XM(t,e){return{toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}},...e}}function KM(t){return Math.round(t*1e5)/1e5}const Zb={textTransform:"uppercase"},ex='"Roboto", "Helvetica", "Arial", sans-serif';function M2(t,e){const{fontFamily:r=ex,fontSize:n=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:l=500,fontWeightBold:c=700,htmlFontSize:d=16,allVariants:p,pxToRem:m,...v}=typeof e=="function"?e(t):e,g=n/14,y=m||(C=>`${C/d*g}rem`),w=(C,P,k,_,E)=>({fontFamily:r,fontWeight:C,fontSize:y(P),lineHeight:k,...r===ex?{letterSpacing:`${KM(_/P)}em`}:{},...E,...p}),x={h1:w(i,96,1.167,-1.5),h2:w(i,60,1.2,-.5),h3:w(s,48,1.167,0),h4:w(s,34,1.235,.25),h5:w(s,24,1.334,0),h6:w(l,20,1.6,.15),subtitle1:w(s,16,1.75,.15),subtitle2:w(l,14,1.57,.1),body1:w(s,16,1.5,.15),body2:w(s,14,1.43,.15),button:w(l,14,1.75,.4,Zb),caption:w(s,12,1.66,.4),overline:w(s,12,2.66,1,Zb),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Cr({htmlFontSize:d,pxToRem:y,fontFamily:r,fontSize:n,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:l,fontWeightBold:c,...x},v,{clone:!1})}const QM=.2,YM=.14,JM=.12;function qt(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${QM})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${YM})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${JM})`].join(",")}const ZM=["none",qt(0,2,1,-1,0,1,1,0,0,1,3,0),qt(0,3,1,-2,0,2,2,0,0,1,5,0),qt(0,3,3,-2,0,3,4,0,0,1,8,0),qt(0,2,4,-1,0,4,5,0,0,1,10,0),qt(0,3,5,-1,0,5,8,0,0,1,14,0),qt(0,3,5,-1,0,6,10,0,0,1,18,0),qt(0,4,5,-2,0,7,10,1,0,2,16,1),qt(0,5,5,-3,0,8,10,1,0,3,14,2),qt(0,5,6,-3,0,9,12,1,0,3,16,2),qt(0,6,6,-3,0,10,14,1,0,4,18,3),qt(0,6,7,-4,0,11,15,1,0,4,20,3),qt(0,7,8,-4,0,12,17,2,0,5,22,4),qt(0,7,8,-4,0,13,19,2,0,5,24,4),qt(0,7,9,-4,0,14,21,2,0,5,26,4),qt(0,8,9,-5,0,15,22,2,0,6,28,5),qt(0,8,10,-5,0,16,24,2,0,6,30,5),qt(0,8,11,-5,0,17,26,2,0,6,32,5),qt(0,9,11,-5,0,18,28,2,0,7,34,6),qt(0,9,12,-6,0,19,29,2,0,7,36,6),qt(0,10,13,-6,0,20,31,3,0,8,38,7),qt(0,10,13,-6,0,21,33,3,0,8,40,7),qt(0,10,14,-6,0,22,35,3,0,8,42,7),qt(0,11,14,-7,0,23,36,3,0,9,44,8),qt(0,11,15,-7,0,24,38,3,0,9,46,8)],e_={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)"},_2={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function tx(t){return`${Math.round(t)}ms`}function t_(t){if(!t)return 0;const e=t/36;return Math.min(Math.round((4+15*e**.25+e/5)*10),3e3)}function r_(t){const e={...e_,...t.easing},r={..._2,...t.duration};return{getAutoHeightDuration:t_,create:(i=["all"],s={})=>{const{duration:l=r.standard,easing:c=e.easeInOut,delay:d=0,...p}=s;return(Array.isArray(i)?i:[i]).map(m=>`${m} ${typeof l=="string"?l:tx(l)} ${c} ${typeof d=="string"?d:tx(d)}`).join(",")},...t,easing:e,duration:r}}const n_={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function i_(t){return Li(t)||typeof t>"u"||typeof t=="string"||typeof t=="boolean"||typeof t=="number"||Array.isArray(t)}function A2(t={}){const e={...t};function r(n){const i=Object.entries(n);for(let s=0;s<i.length;s++){const[l,c]=i[s];!i_(c)||l.startsWith("unstable_")?delete n[l]:Li(c)&&(n[l]={...c},r(n[l]))}}return r(e),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
111
-
112
- const theme = ${JSON.stringify(e,null,2)};
113
-
114
- theme.breakpoints = createBreakpoints(theme.breakpoints || {});
115
- theme.transitions = createTransitions(theme.transitions || {});
116
-
117
- export default theme;`}function rx(t){return typeof t=="number"?`${(t*100).toFixed(0)}%`:`calc((${t}) * 100%)`}const o_=t=>{if(!Number.isNaN(+t))return+t;const e=t.match(/\d*\.?\d+/g);if(!e)return 0;let r=0;for(let n=0;n<e.length;n+=1)r+=+e[n];return r};function a_(t){Object.assign(t,{alpha(e,r){const n=this||t;return n.colorSpace?`oklch(from ${e} l c h / ${typeof r=="string"?`calc(${r})`:r})`:n.vars?`rgba(${e.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof r=="string"?`calc(${r})`:r})`:Hc(e,o_(r))},lighten(e,r){const n=this||t;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${e}, #fff ${rx(r)})`:hf(e,r)},darken(e,r){const n=this||t;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${e}, #000 ${rx(r)})`:ff(e,r)}})}function pg(t={},...e){const{breakpoints:r,mixins:n={},spacing:i,palette:s={},transitions:l={},typography:c={},shape:d,colorSpace:p,...m}=t;if(t.vars&&t.generateThemeVars===void 0)throw new Error(uo(20));const v=xy({...s,colorSpace:p}),g=hl(t);let y=Cr(g,{mixins:XM(g.breakpoints,n),palette:v,shadows:ZM.slice(),typography:M2(v,c),transitions:r_(l),zIndex:{...n_}});return y=Cr(y,m),y=e.reduce((w,x)=>Cr(w,x),y),y.unstable_sxConfig={...fu,...m==null?void 0:m.unstable_sxConfig},y.unstable_sx=function(x){return Ko({sx:x,theme:this})},y.toRuntimeSource=A2,a_(y),y}function fg(t){let e;return t<1?e=5.11916*t**2:e=4.5*Math.log(t+1)+2,Math.round(e*10)/1e3}const s_=[...Array(25)].map((t,e)=>{if(e===0)return"none";const r=fg(e);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function R2(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function I2(t){return t==="dark"?s_:[]}function l_(t){const{palette:e={mode:"light"},opacity:r,overlays:n,colorSpace:i,...s}=t,l=xy({...e,colorSpace:i});return{palette:l,opacity:{...R2(l.mode),...r},overlays:n||I2(l.mode),...s}}function c_(t){var e;return!!t[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!t[0].match(/sxConfig$/)||t[0]==="palette"&&!!((e=t[1])!=null&&e.match(/(mode|contrastThreshold|tonalOffset)/))}const u_=t=>[...[...Array(25)].map((e,r)=>`--${t?`${t}-`:""}overlays-${r}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],d_=t=>(e,r)=>{const n=t.rootSelector||":root",i=t.colorSchemeSelector;let s=i;if(i==="class"&&(s=".%s"),i==="data"&&(s="[data-%s]"),i!=null&&i.startsWith("data-")&&!i.includes("%s")&&(s=`[${i}="%s"]`),t.defaultColorScheme===e){if(e==="dark"){const l={};return u_(t.cssVarPrefix).forEach(c=>{l[c]=r[c],delete r[c]}),s==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:l}}:s?{[s.replace("%s",e)]:l,[`${n}, ${s.replace("%s",e)}`]:r}:{[n]:{...r,...l}}}if(s&&s!=="media")return`${n}, ${s.replace("%s",String(e))}`}else if(e){if(s==="media")return{[`@media (prefers-color-scheme: ${String(e)})`]:{[n]:r}};if(s)return s.replace("%s",String(e))}return n};function p_(t,e){e.forEach(r=>{t[r]||(t[r]={})})}function ge(t,e,r){!t[e]&&r&&(t[e]=r)}function wc(t){return typeof t!="string"||!t.startsWith("hsl")?t:b2(t)}function io(t,e){`${e}Channel`in t||(t[`${e}Channel`]=xc(wc(t[e])))}function f_(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const Ti=t=>{try{return t()}catch{}},h_=(t="mui")=>sM(t);function zm(t,e,r,n,i){if(!r)return;r=r===!0?{}:r;const s=i==="dark"?"dark":"light";if(!n){e[i]=l_({...r,palette:{mode:s,...r==null?void 0:r.palette},colorSpace:t});return}const{palette:l,...c}=pg({...n,palette:{mode:s,...r==null?void 0:r.palette},colorSpace:t});return e[i]={...r,palette:l,opacity:{...R2(s),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||I2(s)},c}function m_(t={},...e){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:i=!1,cssVarPrefix:s="mui",nativeColor:l=!1,shouldSkipGeneratingVar:c=c_,colorSchemeSelector:d=r.light&&r.dark?"media":void 0,rootSelector:p=":root",...m}=t,v=Object.keys(r)[0],g=n||(r.light&&v!=="light"?"light":v),y=h_(s),{[g]:w,light:x,dark:C,...P}=r,k={...P};let _=w;if((g==="dark"&&!("dark"in r)||g==="light"&&!("light"in r))&&(_=!0),!_)throw new Error(uo(21,g));let E;l&&(E="oklch");const A=zm(E,k,_,m,g);x&&!k.light&&zm(E,k,x,void 0,"light"),C&&!k.dark&&zm(E,k,C,void 0,"dark");let I={defaultColorScheme:g,...A,cssVarPrefix:s,colorSchemeSelector:d,rootSelector:p,getCssVar:y,colorSchemes:k,font:{...GM(A.typography),...A.font},spacing:f_(m.spacing)};Object.keys(I.colorSchemes).forEach(H=>{const M=I.colorSchemes[H].palette,W=B=>{const V=B.split("-"),K=V[1],J=V[2];return y(B,M[K][J])};M.mode==="light"&&(ge(M.common,"background","#fff"),ge(M.common,"onBackground","#000")),M.mode==="dark"&&(ge(M.common,"background","#000"),ge(M.common,"onBackground","#fff"));function G(B,V,K){if(E){let J;return B===Pa&&(J=`transparent ${((1-K)*100).toFixed(0)}%`),B===Ot&&(J=`#000 ${(K*100).toFixed(0)}%`),B===Lt&&(J=`#fff ${(K*100).toFixed(0)}%`),`color-mix(in ${E}, ${V}, ${J})`}return B(V,K)}if(p_(M,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),M.mode==="light"){ge(M.Alert,"errorColor",G(Ot,M.error.light,.6)),ge(M.Alert,"infoColor",G(Ot,M.info.light,.6)),ge(M.Alert,"successColor",G(Ot,M.success.light,.6)),ge(M.Alert,"warningColor",G(Ot,M.warning.light,.6)),ge(M.Alert,"errorFilledBg",W("palette-error-main")),ge(M.Alert,"infoFilledBg",W("palette-info-main")),ge(M.Alert,"successFilledBg",W("palette-success-main")),ge(M.Alert,"warningFilledBg",W("palette-warning-main")),ge(M.Alert,"errorFilledColor",Ti(()=>M.getContrastText(M.error.main))),ge(M.Alert,"infoFilledColor",Ti(()=>M.getContrastText(M.info.main))),ge(M.Alert,"successFilledColor",Ti(()=>M.getContrastText(M.success.main))),ge(M.Alert,"warningFilledColor",Ti(()=>M.getContrastText(M.warning.main))),ge(M.Alert,"errorStandardBg",G(Lt,M.error.light,.9)),ge(M.Alert,"infoStandardBg",G(Lt,M.info.light,.9)),ge(M.Alert,"successStandardBg",G(Lt,M.success.light,.9)),ge(M.Alert,"warningStandardBg",G(Lt,M.warning.light,.9)),ge(M.Alert,"errorIconColor",W("palette-error-main")),ge(M.Alert,"infoIconColor",W("palette-info-main")),ge(M.Alert,"successIconColor",W("palette-success-main")),ge(M.Alert,"warningIconColor",W("palette-warning-main")),ge(M.AppBar,"defaultBg",W("palette-grey-100")),ge(M.Avatar,"defaultBg",W("palette-grey-400")),ge(M.Button,"inheritContainedBg",W("palette-grey-300")),ge(M.Button,"inheritContainedHoverBg",W("palette-grey-A100")),ge(M.Chip,"defaultBorder",W("palette-grey-400")),ge(M.Chip,"defaultAvatarColor",W("palette-grey-700")),ge(M.Chip,"defaultIconColor",W("palette-grey-700")),ge(M.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ge(M.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ge(M.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ge(M.LinearProgress,"primaryBg",G(Lt,M.primary.main,.62)),ge(M.LinearProgress,"secondaryBg",G(Lt,M.secondary.main,.62)),ge(M.LinearProgress,"errorBg",G(Lt,M.error.main,.62)),ge(M.LinearProgress,"infoBg",G(Lt,M.info.main,.62)),ge(M.LinearProgress,"successBg",G(Lt,M.success.main,.62)),ge(M.LinearProgress,"warningBg",G(Lt,M.warning.main,.62)),ge(M.Skeleton,"bg",E?G(Pa,M.text.primary,.11):`rgba(${W("palette-text-primaryChannel")} / 0.11)`),ge(M.Slider,"primaryTrack",G(Lt,M.primary.main,.62)),ge(M.Slider,"secondaryTrack",G(Lt,M.secondary.main,.62)),ge(M.Slider,"errorTrack",G(Lt,M.error.main,.62)),ge(M.Slider,"infoTrack",G(Lt,M.info.main,.62)),ge(M.Slider,"successTrack",G(Lt,M.success.main,.62)),ge(M.Slider,"warningTrack",G(Lt,M.warning.main,.62));const B=E?G(Ot,M.background.default,.6825):zd(M.background.default,.8);ge(M.SnackbarContent,"bg",B),ge(M.SnackbarContent,"color",Ti(()=>E?dg.text.primary:M.getContrastText(B))),ge(M.SpeedDialAction,"fabHoverBg",zd(M.background.paper,.15)),ge(M.StepConnector,"border",W("palette-grey-400")),ge(M.StepContent,"border",W("palette-grey-400")),ge(M.Switch,"defaultColor",W("palette-common-white")),ge(M.Switch,"defaultDisabledColor",W("palette-grey-100")),ge(M.Switch,"primaryDisabledColor",G(Lt,M.primary.main,.62)),ge(M.Switch,"secondaryDisabledColor",G(Lt,M.secondary.main,.62)),ge(M.Switch,"errorDisabledColor",G(Lt,M.error.main,.62)),ge(M.Switch,"infoDisabledColor",G(Lt,M.info.main,.62)),ge(M.Switch,"successDisabledColor",G(Lt,M.success.main,.62)),ge(M.Switch,"warningDisabledColor",G(Lt,M.warning.main,.62)),ge(M.TableCell,"border",G(Lt,G(Pa,M.divider,1),.88)),ge(M.Tooltip,"bg",G(Pa,M.grey[700],.92))}if(M.mode==="dark"){ge(M.Alert,"errorColor",G(Lt,M.error.light,.6)),ge(M.Alert,"infoColor",G(Lt,M.info.light,.6)),ge(M.Alert,"successColor",G(Lt,M.success.light,.6)),ge(M.Alert,"warningColor",G(Lt,M.warning.light,.6)),ge(M.Alert,"errorFilledBg",W("palette-error-dark")),ge(M.Alert,"infoFilledBg",W("palette-info-dark")),ge(M.Alert,"successFilledBg",W("palette-success-dark")),ge(M.Alert,"warningFilledBg",W("palette-warning-dark")),ge(M.Alert,"errorFilledColor",Ti(()=>M.getContrastText(M.error.dark))),ge(M.Alert,"infoFilledColor",Ti(()=>M.getContrastText(M.info.dark))),ge(M.Alert,"successFilledColor",Ti(()=>M.getContrastText(M.success.dark))),ge(M.Alert,"warningFilledColor",Ti(()=>M.getContrastText(M.warning.dark))),ge(M.Alert,"errorStandardBg",G(Ot,M.error.light,.9)),ge(M.Alert,"infoStandardBg",G(Ot,M.info.light,.9)),ge(M.Alert,"successStandardBg",G(Ot,M.success.light,.9)),ge(M.Alert,"warningStandardBg",G(Ot,M.warning.light,.9)),ge(M.Alert,"errorIconColor",W("palette-error-main")),ge(M.Alert,"infoIconColor",W("palette-info-main")),ge(M.Alert,"successIconColor",W("palette-success-main")),ge(M.Alert,"warningIconColor",W("palette-warning-main")),ge(M.AppBar,"defaultBg",W("palette-grey-900")),ge(M.AppBar,"darkBg",W("palette-background-paper")),ge(M.AppBar,"darkColor",W("palette-text-primary")),ge(M.Avatar,"defaultBg",W("palette-grey-600")),ge(M.Button,"inheritContainedBg",W("palette-grey-800")),ge(M.Button,"inheritContainedHoverBg",W("palette-grey-700")),ge(M.Chip,"defaultBorder",W("palette-grey-700")),ge(M.Chip,"defaultAvatarColor",W("palette-grey-300")),ge(M.Chip,"defaultIconColor",W("palette-grey-300")),ge(M.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ge(M.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ge(M.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ge(M.LinearProgress,"primaryBg",G(Ot,M.primary.main,.5)),ge(M.LinearProgress,"secondaryBg",G(Ot,M.secondary.main,.5)),ge(M.LinearProgress,"errorBg",G(Ot,M.error.main,.5)),ge(M.LinearProgress,"infoBg",G(Ot,M.info.main,.5)),ge(M.LinearProgress,"successBg",G(Ot,M.success.main,.5)),ge(M.LinearProgress,"warningBg",G(Ot,M.warning.main,.5)),ge(M.Skeleton,"bg",E?G(Pa,M.text.primary,.13):`rgba(${W("palette-text-primaryChannel")} / 0.13)`),ge(M.Slider,"primaryTrack",G(Ot,M.primary.main,.5)),ge(M.Slider,"secondaryTrack",G(Ot,M.secondary.main,.5)),ge(M.Slider,"errorTrack",G(Ot,M.error.main,.5)),ge(M.Slider,"infoTrack",G(Ot,M.info.main,.5)),ge(M.Slider,"successTrack",G(Ot,M.success.main,.5)),ge(M.Slider,"warningTrack",G(Ot,M.warning.main,.5));const B=E?G(Lt,M.background.default,.985):zd(M.background.default,.98);ge(M.SnackbarContent,"bg",B),ge(M.SnackbarContent,"color",Ti(()=>E?k2.text.primary:M.getContrastText(B))),ge(M.SpeedDialAction,"fabHoverBg",zd(M.background.paper,.15)),ge(M.StepConnector,"border",W("palette-grey-600")),ge(M.StepContent,"border",W("palette-grey-600")),ge(M.Switch,"defaultColor",W("palette-grey-300")),ge(M.Switch,"defaultDisabledColor",W("palette-grey-600")),ge(M.Switch,"primaryDisabledColor",G(Ot,M.primary.main,.55)),ge(M.Switch,"secondaryDisabledColor",G(Ot,M.secondary.main,.55)),ge(M.Switch,"errorDisabledColor",G(Ot,M.error.main,.55)),ge(M.Switch,"infoDisabledColor",G(Ot,M.info.main,.55)),ge(M.Switch,"successDisabledColor",G(Ot,M.success.main,.55)),ge(M.Switch,"warningDisabledColor",G(Ot,M.warning.main,.55)),ge(M.TableCell,"border",G(Ot,G(Pa,M.divider,1),.68)),ge(M.Tooltip,"bg",G(Pa,M.grey[700],.92))}io(M.background,"default"),io(M.background,"paper"),io(M.common,"background"),io(M.common,"onBackground"),io(M,"divider"),Object.keys(M).forEach(B=>{const V=M[B];B!=="tonalOffset"&&V&&typeof V=="object"&&(V.main&&ge(M[B],"mainChannel",xc(wc(V.main))),V.light&&ge(M[B],"lightChannel",xc(wc(V.light))),V.dark&&ge(M[B],"darkChannel",xc(wc(V.dark))),V.contrastText&&ge(M[B],"contrastTextChannel",xc(wc(V.contrastText))),B==="text"&&(io(M[B],"primary"),io(M[B],"secondary")),B==="action"&&(V.active&&io(M[B],"active"),V.selected&&io(M[B],"selected")))})}),I=e.reduce((H,M)=>Cr(H,M),I);const D={prefix:s,disableCssColorScheme:i,shouldSkipGeneratingVar:c,getSelector:d_(I),enableContrastVars:l},{vars:$,generateThemeVars:U,generateStyleSheets:X}=uM(I,D);return I.vars=$,Object.entries(I.colorSchemes[I.defaultColorScheme]).forEach(([H,M])=>{I[H]=M}),I.generateThemeVars=U,I.generateStyleSheets=X,I.generateSpacing=function(){return c2(m.spacing,nf(this))},I.getColorSchemeSelector=dM(d),I.spacing=I.generateSpacing(),I.shouldSkipGeneratingVar=c,I.unstable_sxConfig={...fu,...m==null?void 0:m.unstable_sxConfig},I.unstable_sx=function(M){return Ko({sx:M,theme:this})},I.toRuntimeSource=A2,I}function nx(t,e,r){t.colorSchemes&&r&&(t.colorSchemes[e]={...r!==!0&&r,palette:xy({...r===!0?{}:r.palette,mode:e})})}function gf(t={},...e){const{palette:r,cssVariables:n=!1,colorSchemes:i=r?void 0:{light:!0},defaultColorScheme:s=r==null?void 0:r.mode,...l}=t,c=s||"light",d=i==null?void 0:i[c],p={...i,...r?{[c]:{...typeof d!="boolean"&&d,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in t))return pg(t,...e);let m=r;"palette"in t||p[c]&&(p[c]!==!0?m=p[c].palette:c==="dark"&&(m={mode:"dark"}));const v=pg({...t,palette:m},...e);return v.defaultColorScheme=c,v.colorSchemes=p,v.palette.mode==="light"&&(v.colorSchemes.light={...p.light!==!0&&p.light,palette:v.palette},nx(v,"dark",p.dark)),v.palette.mode==="dark"&&(v.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:v.palette},nx(v,"light",p.light)),v}return!r&&!("light"in p)&&c==="light"&&(p.light=!0),m_({...l,colorSchemes:p,defaultColorScheme:c,...typeof n!="boolean"&&n},...e)}function g_(t){return String(t).match(/[\d.\-+]*\s*(.*)/)[1]||""}function y_(t){return parseFloat(t)}const wy=gf();function Yn(){const t=hu(wy);return t[di]||t}function j2(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const mn=t=>j2(t)&&t!=="classes",be=m2({themeId:di,defaultTheme:wy,rootShouldForwardProp:mn});function v_({theme:t,...e}){const r=di in t?t[di]:void 0;return h.jsx(C2,{...e,themeId:r?di:void 0,theme:r||t})}const Bd={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:b_}=aM({themeId:di,theme:()=>gf({cssVariables:!0}),colorSchemeStorageKey:Bd.colorSchemeStorageKey,modeStorageKey:Bd.modeStorageKey,defaultColorScheme:{light:Bd.defaultLightColorScheme,dark:Bd.defaultDarkColorScheme},resolveTheme:t=>{const e={...t,typography:M2(t.palette,t.typography)};return e.unstable_sx=function(n){return Ko({sx:n,theme:this})},e}}),x_=b_;function w_({theme:t,...e}){const r=T.useMemo(()=>{if(typeof t=="function")return t;const n=di in t?t[di]:t;return"colorSchemes"in n?null:"vars"in n?t:{...t,vars:null}},[t]);return r?h.jsx(v_,{theme:r,...e}):h.jsx(x_,{theme:t,...e})}function ix(...t){return t.reduce((e,r)=>r==null?e:function(...i){e.apply(this,i),r.apply(this,i)},()=>{})}function S_(t){return h.jsx(u2,{...t,defaultTheme:wy,themeId:di})}function C_(t){return function(r){return h.jsx(S_,{styles:typeof t=="function"?n=>t({theme:n,...r}):t})}}function E_(){return df}const Ze=J5;function et(t){return X5(t)}function T_(t){return Qe("MuiSvgIcon",t)}Je("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const k_=t=>{const{color:e,fontSize:r,classes:n}=t,i={root:["root",e!=="inherit"&&`color${he(e)}`,`fontSize${he(r)}`]};return Ye(i,T_,n)},P_=be("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.color!=="inherit"&&e[`color${he(r.color)}`],e[`fontSize${he(r.fontSize)}`]]}})(Ze(({theme:t})=>{var e,r,n,i,s,l,c,d,p,m,v,g,y,w;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(i=(e=t.transitions)==null?void 0:e.create)==null?void 0:i.call(e,"fill",{duration:(n=(r=(t.vars??t).transitions)==null?void 0:r.duration)==null?void 0:n.shorter}),variants:[{props:x=>!x.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((l=(s=t.typography)==null?void 0:s.pxToRem)==null?void 0:l.call(s,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((d=(c=t.typography)==null?void 0:c.pxToRem)==null?void 0:d.call(c,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((m=(p=t.typography)==null?void 0:p.pxToRem)==null?void 0:m.call(p,35))||"2.1875rem"}},...Object.entries((t.vars??t).palette).filter(([,x])=>x&&x.main).map(([x])=>{var C,P;return{props:{color:x},style:{color:(P=(C=(t.vars??t).palette)==null?void 0:C[x])==null?void 0:P.main}}}),{props:{color:"action"},style:{color:(g=(v=(t.vars??t).palette)==null?void 0:v.action)==null?void 0:g.active}},{props:{color:"disabled"},style:{color:(w=(y=(t.vars??t).palette)==null?void 0:y.action)==null?void 0:w.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),hg=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiSvgIcon"}),{children:i,className:s,color:l="inherit",component:c="svg",fontSize:d="medium",htmlColor:p,inheritViewBox:m=!1,titleAccess:v,viewBox:g="0 0 24 24",...y}=n,w=T.isValidElement(i)&&i.type==="svg",x={...n,color:l,component:c,fontSize:d,instanceFontSize:e.fontSize,inheritViewBox:m,viewBox:g,hasSvgAsChild:w},C={};m||(C.viewBox=g);const P=k_(x);return h.jsxs(P_,{as:c,className:je(P.root,s),focusable:"false",color:p,"aria-hidden":v?void 0:!0,role:v?"img":void 0,ref:r,...C,...y,...w&&i.props,ownerState:x,children:[w?i.props.children:i,v?h.jsx("title",{children:v}):null]})});hg.muiName="SvgIcon";function Pe(t,e){function r(n,i){return h.jsx(hg,{"data-testid":void 0,ref:i,...n,children:t})}return r.muiName=hg.muiName,T.memo(T.forwardRef(r))}function O2(t,e=166){let r;function n(...i){const s=()=>{t.apply(this,i)};clearTimeout(r),r=setTimeout(s,e)}return n.clear=()=>{clearTimeout(r)},n}function Fr(t){return t&&t.ownerDocument||document}function po(t){return Fr(t).defaultView||window}function ox(t,e){typeof t=="function"?t(e):t&&(t.current=e)}function Vc(t){const{controlled:e,default:r,name:n,state:i="value"}=t,{current:s}=T.useRef(e!==void 0),[l,c]=T.useState(r),d=s?e:l,p=T.useCallback(m=>{s||c(m)},[]);return[d,p]}function Vn(t){const e=T.useRef(t);return _n(()=>{e.current=t}),T.useRef((...r)=>(0,e.current)(...r)).current}function ar(...t){const e=T.useRef(void 0),r=T.useCallback(n=>{const i=t.map(s=>{if(s==null)return null;if(typeof s=="function"){const l=s,c=l(n);return typeof c=="function"?c:()=>{l(null)}}return s.current=n,()=>{s.current=null}});return()=>{i.forEach(s=>s==null?void 0:s())}},t);return T.useMemo(()=>t.every(n=>n==null)?null:n=>{e.current&&(e.current(),e.current=void 0),n!=null&&(e.current=r(n))},t)}function M_(t,e){const r=t.charCodeAt(2);return t[0]==="o"&&t[1]==="n"&&r>=65&&r<=90&&typeof e=="function"}function L2(t,e){if(!t)return e;function r(l,c){const d={};return Object.keys(c).forEach(p=>{M_(p,c[p])&&typeof l[p]=="function"&&(d[p]=(...m)=>{l[p](...m),c[p](...m)})}),d}if(typeof t=="function"||typeof e=="function")return l=>{const c=typeof e=="function"?e(l):e,d=typeof t=="function"?t({...l,...c}):t,p=je(l==null?void 0:l.className,c==null?void 0:c.className,d==null?void 0:d.className),m=r(d,c);return{...c,...d,...m,...!!p&&{className:p},...(c==null?void 0:c.style)&&(d==null?void 0:d.style)&&{style:{...c.style,...d.style}},...(c==null?void 0:c.sx)&&(d==null?void 0:d.sx)&&{sx:[...Array.isArray(c.sx)?c.sx:[c.sx],...Array.isArray(d.sx)?d.sx:[d.sx]]}}};const n=e,i=r(t,n),s=je(n==null?void 0:n.className,t==null?void 0:t.className);return{...e,...t,...i,...!!s&&{className:s},...(n==null?void 0:n.style)&&(t==null?void 0:t.style)&&{style:{...n.style,...t.style}},...(n==null?void 0:n.sx)&&(t==null?void 0:t.sx)&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(t.sx)?t.sx:[t.sx]]}}}function N2(t,e){if(t==null)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(e.indexOf(n)!==-1)continue;r[n]=t[n]}return r}function mg(t,e){return mg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},mg(t,e)}function $2(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,mg(t,e)}const ax={disabled:!1},Ap=pt.createContext(null);var __=function(e){return e.scrollTop},Sc="unmounted",Ia="exited",ja="entering",Ns="entered",gg="exiting",mi=(function(t){$2(e,t);function e(n,i){var s;s=t.call(this,n,i)||this;var l=i,c=l&&!l.isMounting?n.enter:n.appear,d;return s.appearStatus=null,n.in?c?(d=Ia,s.appearStatus=ja):d=Ns:n.unmountOnExit||n.mountOnEnter?d=Sc:d=Ia,s.state={status:d},s.nextCallback=null,s}e.getDerivedStateFromProps=function(i,s){var l=i.in;return l&&s.status===Sc?{status:Ia}:null};var r=e.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var s=null;if(i!==this.props){var l=this.state.status;this.props.in?l!==ja&&l!==Ns&&(s=ja):(l===ja||l===Ns)&&(s=gg)}this.updateStatus(!1,s)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,s,l,c;return s=l=c=i,i!=null&&typeof i!="number"&&(s=i.exit,l=i.enter,c=i.appear!==void 0?i.appear:l),{exit:s,enter:l,appear:c}},r.updateStatus=function(i,s){if(i===void 0&&(i=!1),s!==null)if(this.cancelNextCallback(),s===ja){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:Nd.findDOMNode(this);l&&__(l)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ia&&this.setState({status:Sc})},r.performEnter=function(i){var s=this,l=this.props.enter,c=this.context?this.context.isMounting:i,d=this.props.nodeRef?[c]:[Nd.findDOMNode(this),c],p=d[0],m=d[1],v=this.getTimeouts(),g=c?v.appear:v.enter;if(!i&&!l||ax.disabled){this.safeSetState({status:Ns},function(){s.props.onEntered(p)});return}this.props.onEnter(p,m),this.safeSetState({status:ja},function(){s.props.onEntering(p,m),s.onTransitionEnd(g,function(){s.safeSetState({status:Ns},function(){s.props.onEntered(p,m)})})})},r.performExit=function(){var i=this,s=this.props.exit,l=this.getTimeouts(),c=this.props.nodeRef?void 0:Nd.findDOMNode(this);if(!s||ax.disabled){this.safeSetState({status:Ia},function(){i.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:gg},function(){i.props.onExiting(c),i.onTransitionEnd(l.exit,function(){i.safeSetState({status:Ia},function(){i.props.onExited(c)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,s){s=this.setNextCallback(s),this.setState(i,s)},r.setNextCallback=function(i){var s=this,l=!0;return this.nextCallback=function(c){l&&(l=!1,s.nextCallback=null,i(c))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},r.onTransitionEnd=function(i,s){this.setNextCallback(s);var l=this.props.nodeRef?this.props.nodeRef.current:Nd.findDOMNode(this),c=i==null&&!this.props.addEndListener;if(!l||c){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var d=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],p=d[0],m=d[1];this.props.addEndListener(p,m)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===Sc)return null;var s=this.props,l=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var c=N2(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return pt.createElement(Ap.Provider,{value:null},typeof l=="function"?l(i,c):pt.cloneElement(pt.Children.only(l),c))},e})(pt.Component);mi.contextType=Ap;mi.propTypes={};function Rs(){}mi.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Rs,onEntering:Rs,onEntered:Rs,onExit:Rs,onExiting:Rs,onExited:Rs};mi.UNMOUNTED=Sc;mi.EXITED=Ia;mi.ENTERING=ja;mi.ENTERED=Ns;mi.EXITING=gg;function A_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Sy(t,e){var r=function(s){return e&&T.isValidElement(s)?e(s):s},n=Object.create(null);return t&&T.Children.map(t,function(i){return i}).forEach(function(i){n[i.key]=r(i)}),n}function R_(t,e){t=t||{},e=e||{};function r(m){return m in e?e[m]:t[m]}var n=Object.create(null),i=[];for(var s in t)s in e?i.length&&(n[s]=i,i=[]):i.push(s);var l,c={};for(var d in e){if(n[d])for(l=0;l<n[d].length;l++){var p=n[d][l];c[n[d][l]]=r(p)}c[d]=r(d)}for(l=0;l<i.length;l++)c[i[l]]=r(i[l]);return c}function $a(t,e,r){return r[e]!=null?r[e]:t.props[e]}function I_(t,e){return Sy(t.children,function(r){return T.cloneElement(r,{onExited:e.bind(null,r),in:!0,appear:$a(r,"appear",t),enter:$a(r,"enter",t),exit:$a(r,"exit",t)})})}function j_(t,e,r){var n=Sy(t.children),i=R_(e,n);return Object.keys(i).forEach(function(s){var l=i[s];if(T.isValidElement(l)){var c=s in e,d=s in n,p=e[s],m=T.isValidElement(p)&&!p.props.in;d&&(!c||m)?i[s]=T.cloneElement(l,{onExited:r.bind(null,l),in:!0,exit:$a(l,"exit",t),enter:$a(l,"enter",t)}):!d&&c&&!m?i[s]=T.cloneElement(l,{in:!1}):d&&c&&T.isValidElement(p)&&(i[s]=T.cloneElement(l,{onExited:r.bind(null,l),in:p.props.in,exit:$a(l,"exit",t),enter:$a(l,"enter",t)}))}}),i}var O_=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},L_={component:"div",childFactory:function(e){return e}},Cy=(function(t){$2(e,t);function e(n,i){var s;s=t.call(this,n,i)||this;var l=s.handleExited.bind(A_(s));return s.state={contextValue:{isMounting:!0},handleExited:l,firstRender:!0},s}var r=e.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(i,s){var l=s.children,c=s.handleExited,d=s.firstRender;return{children:d?I_(i,c):j_(i,l,c),firstRender:!1}},r.handleExited=function(i,s){var l=Sy(this.props.children);i.key in l||(i.props.onExited&&i.props.onExited(s),this.mounted&&this.setState(function(c){var d=kp({},c.children);return delete d[i.key],{children:d}}))},r.render=function(){var i=this.props,s=i.component,l=i.childFactory,c=N2(i,["component","childFactory"]),d=this.state.contextValue,p=O_(this.state.children).map(l);return delete c.appear,delete c.enter,delete c.exit,s===null?pt.createElement(Ap.Provider,{value:d},p):pt.createElement(Ap.Provider,{value:d},pt.createElement(s,c,p))},e})(pt.Component);Cy.propTypes={};Cy.defaultProps=L_;const sx={};function z2(t,e){const r=T.useRef(sx);return r.current===sx&&(r.current=t(e)),r}const N_=[];function $_(t){T.useEffect(t,N_)}class yf{constructor(){ka(this,"currentId",null);ka(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});ka(this,"disposeEffect",()=>this.clear)}static create(){return new yf}start(e,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},e)}}function qo(){const t=z2(yf.create).current;return $_(t.disposeEffect),t}const B2=t=>t.scrollTop;function qs(t,e){const{timeout:r,easing:n,style:i={}}=t;return{duration:i.transitionDuration??(typeof r=="number"?r:r[e.mode]||0),easing:i.transitionTimingFunction??(typeof n=="object"?n[e.mode]:n),delay:i.transitionDelay}}function Rp(t){return typeof t=="string"}function D2(t,e,r){return t===void 0||Rp(t)?e:{...e,ownerState:{...e.ownerState,...r}}}function F2(t,e,r){return typeof t=="function"?t(e,r):t}function Ip(t,e=[]){if(t===void 0)return{};const r={};return Object.keys(t).filter(n=>n.match(/^on[A-Z]/)&&typeof t[n]=="function"&&!e.includes(n)).forEach(n=>{r[n]=t[n]}),r}function lx(t){if(t===void 0)return{};const e={};return Object.keys(t).filter(r=>!(r.match(/^on[A-Z]/)&&typeof t[r]=="function")).forEach(r=>{e[r]=t[r]}),e}function H2(t){const{getSlotProps:e,additionalProps:r,externalSlotProps:n,externalForwardedProps:i,className:s}=t;if(!e){const y=je(r==null?void 0:r.className,s,i==null?void 0:i.className,n==null?void 0:n.className),w={...r==null?void 0:r.style,...i==null?void 0:i.style,...n==null?void 0:n.style},x={...r,...i,...n};return y.length>0&&(x.className=y),Object.keys(w).length>0&&(x.style=w),{props:x,internalRef:void 0}}const l=Ip({...i,...n}),c=lx(n),d=lx(i),p=e(l),m=je(p==null?void 0:p.className,r==null?void 0:r.className,s,i==null?void 0:i.className,n==null?void 0:n.className),v={...p==null?void 0:p.style,...r==null?void 0:r.style,...i==null?void 0:i.style,...n==null?void 0:n.style},g={...p,...r,...d,...c};return m.length>0&&(g.className=m),Object.keys(v).length>0&&(g.style=v),{props:g,internalRef:p.ref}}function ot(t,e){const{className:r,elementType:n,ownerState:i,externalForwardedProps:s,internalForwardedProps:l,shouldForwardComponentProp:c=!1,...d}=e,{component:p,slots:m={[t]:void 0},slotProps:v={[t]:void 0},...g}=s,y=m[t]||n,w=F2(v[t],i),{props:{component:x,...C},internalRef:P}=H2({className:r,...d,externalForwardedProps:t==="root"?g:void 0,externalSlotProps:w}),k=ar(P,w==null?void 0:w.ref,e.ref),_=t==="root"?x||p:x,E=D2(y,{...t==="root"&&!p&&!m[t]&&l,...t!=="root"&&!m[t]&&l,...C,..._&&!c&&{as:_},..._&&c&&{component:_},ref:k},i);return[y,E]}function z_(t){return Qe("MuiCollapse",t)}Je("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const B_=t=>{const{orientation:e,classes:r}=t,n={root:["root",`${e}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${e}`],wrapperInner:["wrapperInner",`${e}`]};return Ye(n,z_,r)},D_=be("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.orientation],r.state==="entered"&&e.entered,r.state==="exited"&&!r.in&&r.collapsedSize==="0px"&&e.hidden]}})(Ze(({theme:t})=>({height:0,overflow:"hidden",transition:t.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:t.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:e})=>e.state==="exited"&&!e.in&&e.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),F_=be("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),H_=be("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),yg=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiCollapse"}),{addEndListener:i,children:s,className:l,collapsedSize:c="0px",component:d,easing:p,in:m,onEnter:v,onEntered:g,onEntering:y,onExit:w,onExited:x,onExiting:C,orientation:P="vertical",slots:k={},slotProps:_={},style:E,timeout:A=_2.standard,TransitionComponent:I=mi,...D}=n,$={...n,orientation:P,collapsedSize:c},U=B_($),X=Yn(),H=qo(),M=T.useRef(null),W=T.useRef(),G=typeof c=="number"?`${c}px`:c,B=P==="horizontal",V=B?"width":"height",K=T.useRef(null),J=ar(r,K),Z=_e=>st=>{if(_e){const ft=K.current;st===void 0?_e(ft):_e(ft,st)}},Q=()=>M.current?M.current[B?"clientWidth":"clientHeight"]:0,q=Z((_e,st)=>{M.current&&B&&(M.current.style.position="absolute"),_e.style[V]=G,v&&v(_e,st)}),ne=Z((_e,st)=>{const ft=Q();M.current&&B&&(M.current.style.position="");const{duration:dt,easing:St}=qs({style:E,timeout:A,easing:p},{mode:"enter"});if(A==="auto"){const xt=X.transitions.getAutoHeightDuration(ft);_e.style.transitionDuration=`${xt}ms`,W.current=xt}else _e.style.transitionDuration=typeof dt=="string"?dt:`${dt}ms`;_e.style[V]=`${ft}px`,_e.style.transitionTimingFunction=St,y&&y(_e,st)}),ue=Z((_e,st)=>{_e.style[V]="auto",g&&g(_e,st)}),oe=Z(_e=>{_e.style[V]=`${Q()}px`,w&&w(_e)}),ie=Z(x),ee=Z(_e=>{const st=Q(),{duration:ft,easing:dt}=qs({style:E,timeout:A,easing:p},{mode:"exit"});if(A==="auto"){const St=X.transitions.getAutoHeightDuration(st);_e.style.transitionDuration=`${St}ms`,W.current=St}else _e.style.transitionDuration=typeof ft=="string"?ft:`${ft}ms`;_e.style[V]=G,_e.style.transitionTimingFunction=dt,C&&C(_e)}),pe=_e=>{A==="auto"&&H.start(W.current||0,_e),i&&i(K.current,_e)},ve={slots:k,slotProps:_,component:d},[xe,se]=ot("root",{ref:J,className:je(U.root,l),elementType:D_,externalForwardedProps:ve,ownerState:$,additionalProps:{style:{[B?"minWidth":"minHeight"]:G,...E}}}),[Le,De]=ot("wrapper",{ref:M,className:U.wrapper,elementType:F_,externalForwardedProps:ve,ownerState:$}),[ze,Oe]=ot("wrapperInner",{className:U.wrapperInner,elementType:H_,externalForwardedProps:ve,ownerState:$});return h.jsx(I,{in:m,onEnter:q,onEntered:ue,onEntering:ne,onExit:oe,onExited:ie,onExiting:ee,addEndListener:pe,nodeRef:K,timeout:A==="auto"?null:A,...D,children:(_e,{ownerState:st,...ft})=>{const dt={...$,state:_e};return h.jsx(xe,{...se,className:je(se.className,{entered:U.entered,exited:!m&&G==="0px"&&U.hidden}[_e]),ownerState:dt,...ft,children:h.jsx(Le,{...De,ownerState:dt,children:h.jsx(ze,{...Oe,ownerState:dt,children:s})})})}})});yg&&(yg.muiSupportAuto=!0);function V_(t){return Qe("MuiPaper",t)}Je("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 U_=t=>{const{square:e,elevation:r,variant:n,classes:i}=t,s={root:["root",n,!e&&"rounded",n==="elevation"&&`elevation${r}`]};return Ye(s,V_,i)},W_=be("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],!r.square&&e.rounded,r.variant==="elevation"&&e[`elevation${r.elevation}`]]}})(Ze(({theme:t})=>({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:t.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(t.vars||t).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Rr=T.forwardRef(function(e,r){var y;const n=et({props:e,name:"MuiPaper"}),i=Yn(),{className:s,component:l="div",elevation:c=1,square:d=!1,variant:p="elevation",...m}=n,v={...n,component:l,elevation:c,square:d,variant:p},g=U_(v);return h.jsx(W_,{as:l,ownerState:v,className:je(g.root,s),ref:r,...m,style:{...p==="elevation"&&{"--Paper-shadow":(i.vars||i).shadows[c],...i.vars&&{"--Paper-overlay":(y=i.vars.overlays)==null?void 0:y[c]},...!i.vars&&i.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Hc("#fff",fg(c))}, ${Hc("#fff",fg(c))})`}},...m.style}})});function Gs(t){try{return t.matches(":focus-visible")}catch{}return!1}class jp{constructor(){ka(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new jp}static use(){const e=z2(jp.create).current,[r,n]=T.useState(!1);return e.shouldMount=r,e.setShouldMount=n,T.useEffect(e.mountEffect,[r]),e}mount(){return this.mounted||(this.mounted=G_(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...e){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.start(...e)})}stop(...e){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.stop(...e)})}pulsate(...e){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.pulsate(...e)})}}function q_(){return jp.use()}function G_(){let t,e;const r=new Promise((n,i)=>{t=n,e=i});return r.resolve=t,r.reject=e,r}function X_(t){const{className:e,classes:r,pulsate:n=!1,rippleX:i,rippleY:s,rippleSize:l,in:c,onExited:d,timeout:p}=t,[m,v]=T.useState(!1),g=je(e,r.ripple,r.rippleVisible,n&&r.ripplePulsate),y={width:l,height:l,top:-(l/2)+s,left:-(l/2)+i},w=je(r.child,m&&r.childLeaving,n&&r.childPulsate);return!c&&!m&&v(!0),T.useEffect(()=>{if(!c&&d!=null){const x=setTimeout(d,p);return()=>{clearTimeout(x)}}},[d,c,p]),h.jsx("span",{className:g,style:y,children:h.jsx("span",{className:w})})}const Bn=Je("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),vg=550,K_=80,Q_=qi`
118
- 0% {
119
- transform: scale(0);
120
- opacity: 0.1;
121
- }
122
-
123
- 100% {
124
- transform: scale(1);
125
- opacity: 0.3;
126
- }
127
- `,Y_=qi`
128
- 0% {
129
- opacity: 1;
130
- }
131
-
132
- 100% {
133
- opacity: 0;
134
- }
135
- `,J_=qi`
136
- 0% {
137
- transform: scale(1);
138
- }
139
-
140
- 50% {
141
- transform: scale(0.92);
142
- }
143
-
144
- 100% {
145
- transform: scale(1);
146
- }
147
- `,Z_=be("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),eA=be(X_,{name:"MuiTouchRipple",slot:"Ripple"})`
148
- opacity: 0;
149
- position: absolute;
150
-
151
- &.${Bn.rippleVisible} {
152
- opacity: 0.3;
153
- transform: scale(1);
154
- animation-name: ${Q_};
155
- animation-duration: ${vg}ms;
156
- animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
157
- }
158
-
159
- &.${Bn.ripplePulsate} {
160
- animation-duration: ${({theme:t})=>t.transitions.duration.shorter}ms;
161
- }
162
-
163
- & .${Bn.child} {
164
- opacity: 1;
165
- display: block;
166
- width: 100%;
167
- height: 100%;
168
- border-radius: 50%;
169
- background-color: currentColor;
170
- }
171
-
172
- & .${Bn.childLeaving} {
173
- opacity: 0;
174
- animation-name: ${Y_};
175
- animation-duration: ${vg}ms;
176
- animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
177
- }
178
-
179
- & .${Bn.childPulsate} {
180
- position: absolute;
181
- /* @noflip */
182
- left: 0px;
183
- top: 0;
184
- animation-name: ${J_};
185
- animation-duration: 2500ms;
186
- animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
187
- animation-iteration-count: infinite;
188
- animation-delay: 200ms;
189
- }
190
- `,tA=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiTouchRipple"}),{center:i=!1,classes:s={},className:l,...c}=n,[d,p]=T.useState([]),m=T.useRef(0),v=T.useRef(null);T.useEffect(()=>{v.current&&(v.current(),v.current=null)},[d]);const g=T.useRef(!1),y=qo(),w=T.useRef(null),x=T.useRef(null),C=T.useCallback(E=>{const{pulsate:A,rippleX:I,rippleY:D,rippleSize:$,cb:U}=E;p(X=>[...X,h.jsx(eA,{classes:{ripple:je(s.ripple,Bn.ripple),rippleVisible:je(s.rippleVisible,Bn.rippleVisible),ripplePulsate:je(s.ripplePulsate,Bn.ripplePulsate),child:je(s.child,Bn.child),childLeaving:je(s.childLeaving,Bn.childLeaving),childPulsate:je(s.childPulsate,Bn.childPulsate)},timeout:vg,pulsate:A,rippleX:I,rippleY:D,rippleSize:$},m.current)]),m.current+=1,v.current=U},[s]),P=T.useCallback((E={},A={},I=()=>{})=>{const{pulsate:D=!1,center:$=i||A.pulsate,fakeElement:U=!1}=A;if((E==null?void 0:E.type)==="mousedown"&&g.current){g.current=!1;return}(E==null?void 0:E.type)==="touchstart"&&(g.current=!0);const X=U?null:x.current,H=X?X.getBoundingClientRect():{width:0,height:0,left:0,top:0};let M,W,G;if($||E===void 0||E.clientX===0&&E.clientY===0||!E.clientX&&!E.touches)M=Math.round(H.width/2),W=Math.round(H.height/2);else{const{clientX:B,clientY:V}=E.touches&&E.touches.length>0?E.touches[0]:E;M=Math.round(B-H.left),W=Math.round(V-H.top)}if($)G=Math.sqrt((2*H.width**2+H.height**2)/3),G%2===0&&(G+=1);else{const B=Math.max(Math.abs((X?X.clientWidth:0)-M),M)*2+2,V=Math.max(Math.abs((X?X.clientHeight:0)-W),W)*2+2;G=Math.sqrt(B**2+V**2)}E!=null&&E.touches?w.current===null&&(w.current=()=>{C({pulsate:D,rippleX:M,rippleY:W,rippleSize:G,cb:I})},y.start(K_,()=>{w.current&&(w.current(),w.current=null)})):C({pulsate:D,rippleX:M,rippleY:W,rippleSize:G,cb:I})},[i,C,y]),k=T.useCallback(()=>{P({},{pulsate:!0})},[P]),_=T.useCallback((E,A)=>{if(y.clear(),(E==null?void 0:E.type)==="touchend"&&w.current){w.current(),w.current=null,y.start(0,()=>{_(E,A)});return}w.current=null,p(I=>I.length>0?I.slice(1):I),v.current=A},[y]);return T.useImperativeHandle(r,()=>({pulsate:k,start:P,stop:_}),[k,P,_]),h.jsx(Z_,{className:je(Bn.root,s.root,l),ref:x,...c,children:h.jsx(Cy,{component:null,exit:!0,children:d})})});function rA(t){return Qe("MuiButtonBase",t)}const nA=Je("MuiButtonBase",["root","disabled","focusVisible"]),iA=t=>{const{disabled:e,focusVisible:r,focusVisibleClassName:n,classes:i}=t,l=Ye({root:["root",e&&"disabled",r&&"focusVisible"]},rA,i);return r&&n&&(l.root+=` ${n}`),l},oA=be("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"},[`&.${nA.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Fa=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiButtonBase"}),{action:i,centerRipple:s=!1,children:l,className:c,component:d="button",disabled:p=!1,disableRipple:m=!1,disableTouchRipple:v=!1,focusRipple:g=!1,focusVisibleClassName:y,LinkComponent:w="a",onBlur:x,onClick:C,onContextMenu:P,onDragLeave:k,onFocus:_,onFocusVisible:E,onKeyDown:A,onKeyUp:I,onMouseDown:D,onMouseLeave:$,onMouseUp:U,onTouchEnd:X,onTouchMove:H,onTouchStart:M,tabIndex:W=0,TouchRippleProps:G,touchRippleRef:B,type:V,...K}=n,J=T.useRef(null),Z=q_(),Q=ar(Z.ref,B),[q,ne]=T.useState(!1);p&&q&&ne(!1),T.useImperativeHandle(i,()=>({focusVisible:()=>{ne(!0),J.current.focus()}}),[]);const ue=Z.shouldMount&&!m&&!p;T.useEffect(()=>{q&&g&&!m&&Z.pulsate()},[m,g,q,Z]);const oe=oo(Z,"start",D,v),ie=oo(Z,"stop",P,v),ee=oo(Z,"stop",k,v),pe=oo(Z,"stop",U,v),ve=oo(Z,"stop",$e=>{q&&$e.preventDefault(),$&&$($e)},v),xe=oo(Z,"start",M,v),se=oo(Z,"stop",X,v),Le=oo(Z,"stop",H,v),De=oo(Z,"stop",$e=>{Gs($e.target)||ne(!1),x&&x($e)},!1),ze=Vn($e=>{J.current||(J.current=$e.currentTarget),Gs($e.target)&&(ne(!0),E&&E($e)),_&&_($e)}),Oe=()=>{const $e=J.current;return d&&d!=="button"&&!($e.tagName==="A"&&$e.href)},_e=Vn($e=>{g&&!$e.repeat&&q&&$e.key===" "&&Z.stop($e,()=>{Z.start($e)}),$e.target===$e.currentTarget&&Oe()&&$e.key===" "&&$e.preventDefault(),A&&A($e),$e.target===$e.currentTarget&&Oe()&&$e.key==="Enter"&&!p&&($e.preventDefault(),C&&C($e))}),st=Vn($e=>{g&&$e.key===" "&&q&&!$e.defaultPrevented&&Z.stop($e,()=>{Z.pulsate($e)}),I&&I($e),C&&$e.target===$e.currentTarget&&Oe()&&$e.key===" "&&!$e.defaultPrevented&&C($e)});let ft=d;ft==="button"&&(K.href||K.to)&&(ft=w);const dt={};if(ft==="button"){const $e=!!K.formAction;dt.type=V===void 0&&!$e?"button":V,dt.disabled=p}else!K.href&&!K.to&&(dt.role="button"),p&&(dt["aria-disabled"]=p);const St=ar(r,J),xt={...n,centerRipple:s,component:d,disabled:p,disableRipple:m,disableTouchRipple:v,focusRipple:g,tabIndex:W,focusVisible:q},ht=iA(xt);return h.jsxs(oA,{as:ft,className:je(ht.root,c),ownerState:xt,onBlur:De,onClick:C,onContextMenu:ie,onFocus:ze,onKeyDown:_e,onKeyUp:st,onMouseDown:oe,onMouseLeave:ve,onMouseUp:pe,onDragLeave:ee,onTouchEnd:se,onTouchMove:Le,onTouchStart:xe,ref:St,tabIndex:p?-1:W,type:V,...dt,...K,children:[l,ue?h.jsx(tA,{ref:Q,center:s,...G}):null]})});function oo(t,e,r,n=!1){return Vn(i=>(r&&r(i),n||t[e](i),!0))}function aA(t){return typeof t.main=="string"}function sA(t,e=[]){if(!aA(t))return!1;for(const r of e)if(!t.hasOwnProperty(r)||typeof t[r]!="string")return!1;return!0}function Nt(t=[]){return([,e])=>e&&sA(e,t)}function lA(t){return Qe("MuiAlert",t)}const cx=Je("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 cA(t){return Qe("MuiCircularProgress",t)}Je("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const li=44,bg=qi`
191
- 0% {
192
- transform: rotate(0deg);
193
- }
194
-
195
- 100% {
196
- transform: rotate(360deg);
197
- }
198
- `,xg=qi`
199
- 0% {
200
- stroke-dasharray: 1px, 200px;
201
- stroke-dashoffset: 0;
202
- }
203
-
204
- 50% {
205
- stroke-dasharray: 100px, 200px;
206
- stroke-dashoffset: -15px;
207
- }
208
-
209
- 100% {
210
- stroke-dasharray: 1px, 200px;
211
- stroke-dashoffset: -126px;
212
- }
213
- `,uA=typeof bg!="string"?aa`
214
- animation: ${bg} 1.4s linear infinite;
215
- `:null,dA=typeof xg!="string"?aa`
216
- animation: ${xg} 1.4s ease-in-out infinite;
217
- `:null,pA=t=>{const{classes:e,variant:r,color:n,disableShrink:i}=t,s={root:["root",r,`color${he(n)}`],svg:["svg"],track:["track"],circle:["circle",`circle${he(r)}`,i&&"circleDisableShrink"]};return Ye(s,cA,e)},fA=be("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],e[`color${he(r.color)}`]]}})(Ze(({theme:t})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("transform")}},{props:{variant:"indeterminate"},style:uA||{animation:`${bg} 1.4s linear infinite`}},...Object.entries(t.palette).filter(Nt()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}}))]}))),hA=be("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),mA=be("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.circle,e[`circle${he(r.variant)}`],r.disableShrink&&e.circleDisableShrink]}})(Ze(({theme:t})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink,style:dA||{animation:`${xg} 1.4s ease-in-out infinite`}}]}))),gA=be("circle",{name:"MuiCircularProgress",slot:"Track"})(Ze(({theme:t})=>({stroke:"currentColor",opacity:(t.vars||t).palette.action.activatedOpacity}))),Gi=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiCircularProgress"}),{className:i,color:s="primary",disableShrink:l=!1,enableTrackSlot:c=!1,size:d=40,style:p,thickness:m=3.6,value:v=0,variant:g="indeterminate",...y}=n,w={...n,color:s,disableShrink:l,size:d,thickness:m,value:v,variant:g,enableTrackSlot:c},x=pA(w),C={},P={},k={};if(g==="determinate"){const _=2*Math.PI*((li-m)/2);C.strokeDasharray=_.toFixed(3),k["aria-valuenow"]=Math.round(v),C.strokeDashoffset=`${((100-v)/100*_).toFixed(3)}px`,P.transform="rotate(-90deg)"}return h.jsx(fA,{className:je(x.root,i),style:{width:d,height:d,...P,...p},ownerState:w,ref:r,role:"progressbar",...k,...y,children:h.jsxs(hA,{className:x.svg,ownerState:w,viewBox:`${li/2} ${li/2} ${li} ${li}`,children:[c?h.jsx(gA,{className:x.track,ownerState:w,cx:li,cy:li,r:(li-m)/2,fill:"none",strokeWidth:m,"aria-hidden":"true"}):null,h.jsx(mA,{className:x.circle,style:C,ownerState:w,cx:li,cy:li,r:(li-m)/2,fill:"none",strokeWidth:m})]})})});function yA(t){return Qe("MuiIconButton",t)}const ux=Je("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),vA=t=>{const{classes:e,disabled:r,color:n,edge:i,size:s,loading:l}=t,c={root:["root",l&&"loading",r&&"disabled",n!=="default"&&`color${he(n)}`,i&&`edge${he(i)}`,`size${he(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return Ye(c,yA,e)},bA=be(Fa,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.loading&&e.loading,r.color!=="default"&&e[`color${he(r.color)}`],r.edge&&e[`edge${he(r.edge)}`],e[`size${he(r.size)}`]]}})(Ze(({theme:t})=>({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":t.alpha((t.vars||t).palette.action.active,(t.vars||t).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}}]})),Ze(({theme:t})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(t.palette).filter(Nt()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}})),...Object.entries(t.palette).filter(Nt()).map(([e])=>({props:{color:e},style:{"--IconButton-hoverBg":t.alpha((t.vars||t).palette[e].main,(t.vars||t).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:t.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:t.typography.pxToRem(28)}}],[`&.${ux.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled},[`&.${ux.loading}`]:{color:"transparent"}}))),xA=be("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:t})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(t.vars||t).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Ar=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiIconButton"}),{edge:i=!1,children:s,className:l,color:c="default",disabled:d=!1,disableFocusRipple:p=!1,size:m="medium",id:v,loading:g=null,loadingIndicator:y,...w}=n,x=ml(v),C=y??h.jsx(Gi,{"aria-labelledby":x,color:"inherit",size:16}),P={...n,edge:i,color:c,disabled:d,disableFocusRipple:p,loading:g,loadingIndicator:C,size:m},k=vA(P);return h.jsxs(bA,{id:g?x:v,className:je(k.root,l),centerRipple:!0,focusRipple:!p,disabled:d||g,ref:r,...w,ownerState:P,children:[typeof g=="boolean"&&h.jsx("span",{className:k.loadingWrapper,style:{display:"contents"},children:h.jsx(xA,{className:k.loadingIndicator,ownerState:P,children:g&&C})}),s]})}),wA=Pe(h.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"})),SA=Pe(h.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"})),CA=Pe(h.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),EA=Pe(h.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"})),TA=Pe(h.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),kA=t=>{const{variant:e,color:r,severity:n,classes:i}=t,s={root:["root",`color${he(r||n)}`,`${e}${he(r||n)}`,`${e}`],icon:["icon"],message:["message"],action:["action"]};return Ye(s,lA,i)},PA=be(Rr,{name:"MuiAlert",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],e[`${r.variant}${he(r.color||r.severity)}`]]}})(Ze(({theme:t})=>{const e=t.palette.mode==="light"?t.darken:t.lighten,r=t.palette.mode==="light"?t.lighten:t.darken;return{...t.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(t.palette).filter(Nt(["light"])).map(([n])=>({props:{colorSeverity:n,variant:"standard"},style:{color:t.vars?t.vars.palette.Alert[`${n}Color`]:e(t.palette[n].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${n}StandardBg`]:r(t.palette[n].light,.9),[`& .${cx.icon}`]:t.vars?{color:t.vars.palette.Alert[`${n}IconColor`]}:{color:t.palette[n].main}}})),...Object.entries(t.palette).filter(Nt(["light"])).map(([n])=>({props:{colorSeverity:n,variant:"outlined"},style:{color:t.vars?t.vars.palette.Alert[`${n}Color`]:e(t.palette[n].light,.6),border:`1px solid ${(t.vars||t).palette[n].light}`,[`& .${cx.icon}`]:t.vars?{color:t.vars.palette.Alert[`${n}IconColor`]}:{color:t.palette[n].main}}})),...Object.entries(t.palette).filter(Nt(["dark"])).map(([n])=>({props:{colorSeverity:n,variant:"filled"},style:{fontWeight:t.typography.fontWeightMedium,...t.vars?{color:t.vars.palette.Alert[`${n}FilledColor`],backgroundColor:t.vars.palette.Alert[`${n}FilledBg`]}:{backgroundColor:t.palette.mode==="dark"?t.palette[n].dark:t.palette[n].main,color:t.palette.getContrastText(t.palette[n].main)}}}))]}})),MA=be("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),_A=be("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),AA=be("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),dx={success:h.jsx(wA,{fontSize:"inherit"}),warning:h.jsx(SA,{fontSize:"inherit"}),error:h.jsx(CA,{fontSize:"inherit"}),info:h.jsx(EA,{fontSize:"inherit"})},Qa=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiAlert"}),{action:i,children:s,className:l,closeText:c="Close",color:d,components:p={},componentsProps:m={},icon:v,iconMapping:g=dx,onClose:y,role:w="alert",severity:x="success",slotProps:C={},slots:P={},variant:k="standard",..._}=n,E={...n,color:d,severity:x,variant:k,colorSeverity:d||x},A=kA(E),I={slots:{closeButton:p.CloseButton,closeIcon:p.CloseIcon,...P},slotProps:{...m,...C}},[D,$]=ot("root",{ref:r,shouldForwardComponentProp:!0,className:je(A.root,l),elementType:PA,externalForwardedProps:{...I,..._},ownerState:E,additionalProps:{role:w,elevation:0}}),[U,X]=ot("icon",{className:A.icon,elementType:MA,externalForwardedProps:I,ownerState:E}),[H,M]=ot("message",{className:A.message,elementType:_A,externalForwardedProps:I,ownerState:E}),[W,G]=ot("action",{className:A.action,elementType:AA,externalForwardedProps:I,ownerState:E}),[B,V]=ot("closeButton",{elementType:Ar,externalForwardedProps:I,ownerState:E}),[K,J]=ot("closeIcon",{elementType:TA,externalForwardedProps:I,ownerState:E});return h.jsxs(D,{...$,children:[v!==!1?h.jsx(U,{...X,children:v||g[x]||dx[x]}):null,h.jsx(H,{...M,children:s}),i!=null?h.jsx(W,{...G,children:i}):null,i==null&&y?h.jsx(W,{...G,children:h.jsx(B,{size:"small","aria-label":c,title:c,color:"inherit",onClick:y,...V,children:h.jsx(K,{fontSize:"small",...J})})}):null]})});function RA(t){return Qe("MuiTypography",t)}const px=Je("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),IA={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},jA=E_(),OA=t=>{const{align:e,gutterBottom:r,noWrap:n,paragraph:i,variant:s,classes:l}=t,c={root:["root",s,t.align!=="inherit"&&`align${he(e)}`,r&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return Ye(c,RA,l)},LA=be("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.variant&&e[r.variant],r.align!=="inherit"&&e[`align${he(r.align)}`],r.noWrap&&e.noWrap,r.gutterBottom&&e.gutterBottom,r.paragraph&&e.paragraph]}})(Ze(({theme:t})=>{var e;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(t.typography).filter(([r,n])=>r!=="inherit"&&n&&typeof n=="object").map(([r,n])=>({props:{variant:r},style:n})),...Object.entries(t.palette).filter(Nt()).map(([r])=>({props:{color:r},style:{color:(t.vars||t).palette[r].main}})),...Object.entries(((e=t.palette)==null?void 0:e.text)||{}).filter(([,r])=>typeof r=="string").map(([r])=>({props:{color:`text${he(r)}`},style:{color:(t.vars||t).palette.text[r]}})),{props:({ownerState:r})=>r.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:r})=>r.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:r})=>r.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:r})=>r.paragraph,style:{marginBottom:16}}]}})),fx={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Te=T.forwardRef(function(e,r){const{color:n,...i}=et({props:e,name:"MuiTypography"}),s=!IA[n],l=jA({...i,...s&&{color:n}}),{align:c="inherit",className:d,component:p,gutterBottom:m=!1,noWrap:v=!1,paragraph:g=!1,variant:y="body1",variantMapping:w=fx,...x}=l,C={...l,align:c,color:n,className:d,component:p,gutterBottom:m,noWrap:v,paragraph:g,variant:y,variantMapping:w},P=p||(g?"p":w[y]||fx[y])||"span",k=OA(C);return h.jsx(LA,{as:P,ref:r,className:je(k.root,d),...x,ownerState:C,style:{...c!=="inherit"&&{"--Typography-textAlign":c},...x.style}})});var ln="top",Wn="bottom",qn="right",cn="left",Ey="auto",gu=[ln,Wn,qn,cn],Xs="start",Uc="end",NA="clippingParents",V2="viewport",lc="popper",$A="reference",hx=gu.reduce(function(t,e){return t.concat([e+"-"+Xs,e+"-"+Uc])},[]),U2=[].concat(gu,[Ey]).reduce(function(t,e){return t.concat([e,e+"-"+Xs,e+"-"+Uc])},[]),zA="beforeRead",BA="read",DA="afterRead",FA="beforeMain",HA="main",VA="afterMain",UA="beforeWrite",WA="write",qA="afterWrite",GA=[zA,BA,DA,FA,HA,VA,UA,WA,qA];function Di(t){return t?(t.nodeName||"").toLowerCase():null}function An(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Ha(t){var e=An(t).Element;return t instanceof e||t instanceof Element}function Un(t){var e=An(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Ty(t){if(typeof ShadowRoot>"u")return!1;var e=An(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function XA(t){var e=t.state;Object.keys(e.elements).forEach(function(r){var n=e.styles[r]||{},i=e.attributes[r]||{},s=e.elements[r];!Un(s)||!Di(s)||(Object.assign(s.style,n),Object.keys(i).forEach(function(l){var c=i[l];c===!1?s.removeAttribute(l):s.setAttribute(l,c===!0?"":c)}))})}function KA(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach(function(n){var i=e.elements[n],s=e.attributes[n]||{},l=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:r[n]),c=l.reduce(function(d,p){return d[p]="",d},{});!Un(i)||!Di(i)||(Object.assign(i.style,c),Object.keys(s).forEach(function(d){i.removeAttribute(d)}))})}}const QA={name:"applyStyles",enabled:!0,phase:"write",fn:XA,effect:KA,requires:["computeStyles"]};function zi(t){return t.split("-")[0]}var Ba=Math.max,Op=Math.min,Ks=Math.round;function wg(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function W2(){return!/^((?!chrome|android).)*safari/i.test(wg())}function Qs(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);var n=t.getBoundingClientRect(),i=1,s=1;e&&Un(t)&&(i=t.offsetWidth>0&&Ks(n.width)/t.offsetWidth||1,s=t.offsetHeight>0&&Ks(n.height)/t.offsetHeight||1);var l=Ha(t)?An(t):window,c=l.visualViewport,d=!W2()&&r,p=(n.left+(d&&c?c.offsetLeft:0))/i,m=(n.top+(d&&c?c.offsetTop:0))/s,v=n.width/i,g=n.height/s;return{width:v,height:g,top:m,right:p+v,bottom:m+g,left:p,x:p,y:m}}function ky(t){var e=Qs(t),r=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:n}}function q2(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&Ty(r)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function fo(t){return An(t).getComputedStyle(t)}function YA(t){return["table","td","th"].indexOf(Di(t))>=0}function sa(t){return((Ha(t)?t.ownerDocument:t.document)||window.document).documentElement}function vf(t){return Di(t)==="html"?t:t.assignedSlot||t.parentNode||(Ty(t)?t.host:null)||sa(t)}function mx(t){return!Un(t)||fo(t).position==="fixed"?null:t.offsetParent}function JA(t){var e=/firefox/i.test(wg()),r=/Trident/i.test(wg());if(r&&Un(t)){var n=fo(t);if(n.position==="fixed")return null}var i=vf(t);for(Ty(i)&&(i=i.host);Un(i)&&["html","body"].indexOf(Di(i))<0;){var s=fo(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function yu(t){for(var e=An(t),r=mx(t);r&&YA(r)&&fo(r).position==="static";)r=mx(r);return r&&(Di(r)==="html"||Di(r)==="body"&&fo(r).position==="static")?e:r||JA(t)||e}function Py(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function _c(t,e,r){return Ba(t,Op(e,r))}function ZA(t,e,r){var n=_c(t,e,r);return n>r?r:n}function G2(){return{top:0,right:0,bottom:0,left:0}}function X2(t){return Object.assign({},G2(),t)}function K2(t,e){return e.reduce(function(r,n){return r[n]=t,r},{})}var eR=function(e,r){return e=typeof e=="function"?e(Object.assign({},r.rects,{placement:r.placement})):e,X2(typeof e!="number"?e:K2(e,gu))};function tR(t){var e,r=t.state,n=t.name,i=t.options,s=r.elements.arrow,l=r.modifiersData.popperOffsets,c=zi(r.placement),d=Py(c),p=[cn,qn].indexOf(c)>=0,m=p?"height":"width";if(!(!s||!l)){var v=eR(i.padding,r),g=ky(s),y=d==="y"?ln:cn,w=d==="y"?Wn:qn,x=r.rects.reference[m]+r.rects.reference[d]-l[d]-r.rects.popper[m],C=l[d]-r.rects.reference[d],P=yu(s),k=P?d==="y"?P.clientHeight||0:P.clientWidth||0:0,_=x/2-C/2,E=v[y],A=k-g[m]-v[w],I=k/2-g[m]/2+_,D=_c(E,I,A),$=d;r.modifiersData[n]=(e={},e[$]=D,e.centerOffset=D-I,e)}}function rR(t){var e=t.state,r=t.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||q2(e.elements.popper,i)&&(e.elements.arrow=i))}const nR={name:"arrow",enabled:!0,phase:"main",fn:tR,effect:rR,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ys(t){return t.split("-")[1]}var iR={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oR(t,e){var r=t.x,n=t.y,i=e.devicePixelRatio||1;return{x:Ks(r*i)/i||0,y:Ks(n*i)/i||0}}function gx(t){var e,r=t.popper,n=t.popperRect,i=t.placement,s=t.variation,l=t.offsets,c=t.position,d=t.gpuAcceleration,p=t.adaptive,m=t.roundOffsets,v=t.isFixed,g=l.x,y=g===void 0?0:g,w=l.y,x=w===void 0?0:w,C=typeof m=="function"?m({x:y,y:x}):{x:y,y:x};y=C.x,x=C.y;var P=l.hasOwnProperty("x"),k=l.hasOwnProperty("y"),_=cn,E=ln,A=window;if(p){var I=yu(r),D="clientHeight",$="clientWidth";if(I===An(r)&&(I=sa(r),fo(I).position!=="static"&&c==="absolute"&&(D="scrollHeight",$="scrollWidth")),I=I,i===ln||(i===cn||i===qn)&&s===Uc){E=Wn;var U=v&&I===A&&A.visualViewport?A.visualViewport.height:I[D];x-=U-n.height,x*=d?1:-1}if(i===cn||(i===ln||i===Wn)&&s===Uc){_=qn;var X=v&&I===A&&A.visualViewport?A.visualViewport.width:I[$];y-=X-n.width,y*=d?1:-1}}var H=Object.assign({position:c},p&&iR),M=m===!0?oR({x:y,y:x},An(r)):{x:y,y:x};if(y=M.x,x=M.y,d){var W;return Object.assign({},H,(W={},W[E]=k?"0":"",W[_]=P?"0":"",W.transform=(A.devicePixelRatio||1)<=1?"translate("+y+"px, "+x+"px)":"translate3d("+y+"px, "+x+"px, 0)",W))}return Object.assign({},H,(e={},e[E]=k?x+"px":"",e[_]=P?y+"px":"",e.transform="",e))}function aR(t){var e=t.state,r=t.options,n=r.gpuAcceleration,i=n===void 0?!0:n,s=r.adaptive,l=s===void 0?!0:s,c=r.roundOffsets,d=c===void 0?!0:c,p={placement:zi(e.placement),variation:Ys(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,gx(Object.assign({},p,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:l,roundOffsets:d})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,gx(Object.assign({},p,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const sR={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:aR,data:{}};var Dd={passive:!0};function lR(t){var e=t.state,r=t.instance,n=t.options,i=n.scroll,s=i===void 0?!0:i,l=n.resize,c=l===void 0?!0:l,d=An(e.elements.popper),p=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&p.forEach(function(m){m.addEventListener("scroll",r.update,Dd)}),c&&d.addEventListener("resize",r.update,Dd),function(){s&&p.forEach(function(m){m.removeEventListener("scroll",r.update,Dd)}),c&&d.removeEventListener("resize",r.update,Dd)}}const cR={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:lR,data:{}};var uR={left:"right",right:"left",bottom:"top",top:"bottom"};function yp(t){return t.replace(/left|right|bottom|top/g,function(e){return uR[e]})}var dR={start:"end",end:"start"};function yx(t){return t.replace(/start|end/g,function(e){return dR[e]})}function My(t){var e=An(t),r=e.pageXOffset,n=e.pageYOffset;return{scrollLeft:r,scrollTop:n}}function _y(t){return Qs(sa(t)).left+My(t).scrollLeft}function pR(t,e){var r=An(t),n=sa(t),i=r.visualViewport,s=n.clientWidth,l=n.clientHeight,c=0,d=0;if(i){s=i.width,l=i.height;var p=W2();(p||!p&&e==="fixed")&&(c=i.offsetLeft,d=i.offsetTop)}return{width:s,height:l,x:c+_y(t),y:d}}function fR(t){var e,r=sa(t),n=My(t),i=(e=t.ownerDocument)==null?void 0:e.body,s=Ba(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),l=Ba(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),c=-n.scrollLeft+_y(t),d=-n.scrollTop;return fo(i||r).direction==="rtl"&&(c+=Ba(r.clientWidth,i?i.clientWidth:0)-s),{width:s,height:l,x:c,y:d}}function Ay(t){var e=fo(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Q2(t){return["html","body","#document"].indexOf(Di(t))>=0?t.ownerDocument.body:Un(t)&&Ay(t)?t:Q2(vf(t))}function Ac(t,e){var r;e===void 0&&(e=[]);var n=Q2(t),i=n===((r=t.ownerDocument)==null?void 0:r.body),s=An(n),l=i?[s].concat(s.visualViewport||[],Ay(n)?n:[]):n,c=e.concat(l);return i?c:c.concat(Ac(vf(l)))}function Sg(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function hR(t,e){var r=Qs(t,!1,e==="fixed");return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}function vx(t,e,r){return e===V2?Sg(pR(t,r)):Ha(e)?hR(e,r):Sg(fR(sa(t)))}function mR(t){var e=Ac(vf(t)),r=["absolute","fixed"].indexOf(fo(t).position)>=0,n=r&&Un(t)?yu(t):t;return Ha(n)?e.filter(function(i){return Ha(i)&&q2(i,n)&&Di(i)!=="body"}):[]}function gR(t,e,r,n){var i=e==="clippingParents"?mR(t):[].concat(e),s=[].concat(i,[r]),l=s[0],c=s.reduce(function(d,p){var m=vx(t,p,n);return d.top=Ba(m.top,d.top),d.right=Op(m.right,d.right),d.bottom=Op(m.bottom,d.bottom),d.left=Ba(m.left,d.left),d},vx(t,l,n));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function Y2(t){var e=t.reference,r=t.element,n=t.placement,i=n?zi(n):null,s=n?Ys(n):null,l=e.x+e.width/2-r.width/2,c=e.y+e.height/2-r.height/2,d;switch(i){case ln:d={x:l,y:e.y-r.height};break;case Wn:d={x:l,y:e.y+e.height};break;case qn:d={x:e.x+e.width,y:c};break;case cn:d={x:e.x-r.width,y:c};break;default:d={x:e.x,y:e.y}}var p=i?Py(i):null;if(p!=null){var m=p==="y"?"height":"width";switch(s){case Xs:d[p]=d[p]-(e[m]/2-r[m]/2);break;case Uc:d[p]=d[p]+(e[m]/2-r[m]/2);break}}return d}function Wc(t,e){e===void 0&&(e={});var r=e,n=r.placement,i=n===void 0?t.placement:n,s=r.strategy,l=s===void 0?t.strategy:s,c=r.boundary,d=c===void 0?NA:c,p=r.rootBoundary,m=p===void 0?V2:p,v=r.elementContext,g=v===void 0?lc:v,y=r.altBoundary,w=y===void 0?!1:y,x=r.padding,C=x===void 0?0:x,P=X2(typeof C!="number"?C:K2(C,gu)),k=g===lc?$A:lc,_=t.rects.popper,E=t.elements[w?k:g],A=gR(Ha(E)?E:E.contextElement||sa(t.elements.popper),d,m,l),I=Qs(t.elements.reference),D=Y2({reference:I,element:_,placement:i}),$=Sg(Object.assign({},_,D)),U=g===lc?$:I,X={top:A.top-U.top+P.top,bottom:U.bottom-A.bottom+P.bottom,left:A.left-U.left+P.left,right:U.right-A.right+P.right},H=t.modifiersData.offset;if(g===lc&&H){var M=H[i];Object.keys(X).forEach(function(W){var G=[qn,Wn].indexOf(W)>=0?1:-1,B=[ln,Wn].indexOf(W)>=0?"y":"x";X[W]+=M[B]*G})}return X}function yR(t,e){e===void 0&&(e={});var r=e,n=r.placement,i=r.boundary,s=r.rootBoundary,l=r.padding,c=r.flipVariations,d=r.allowedAutoPlacements,p=d===void 0?U2:d,m=Ys(n),v=m?c?hx:hx.filter(function(w){return Ys(w)===m}):gu,g=v.filter(function(w){return p.indexOf(w)>=0});g.length===0&&(g=v);var y=g.reduce(function(w,x){return w[x]=Wc(t,{placement:x,boundary:i,rootBoundary:s,padding:l})[zi(x)],w},{});return Object.keys(y).sort(function(w,x){return y[w]-y[x]})}function vR(t){if(zi(t)===Ey)return[];var e=yp(t);return[yx(t),e,yx(e)]}function bR(t){var e=t.state,r=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var i=r.mainAxis,s=i===void 0?!0:i,l=r.altAxis,c=l===void 0?!0:l,d=r.fallbackPlacements,p=r.padding,m=r.boundary,v=r.rootBoundary,g=r.altBoundary,y=r.flipVariations,w=y===void 0?!0:y,x=r.allowedAutoPlacements,C=e.options.placement,P=zi(C),k=P===C,_=d||(k||!w?[yp(C)]:vR(C)),E=[C].concat(_).reduce(function(oe,ie){return oe.concat(zi(ie)===Ey?yR(e,{placement:ie,boundary:m,rootBoundary:v,padding:p,flipVariations:w,allowedAutoPlacements:x}):ie)},[]),A=e.rects.reference,I=e.rects.popper,D=new Map,$=!0,U=E[0],X=0;X<E.length;X++){var H=E[X],M=zi(H),W=Ys(H)===Xs,G=[ln,Wn].indexOf(M)>=0,B=G?"width":"height",V=Wc(e,{placement:H,boundary:m,rootBoundary:v,altBoundary:g,padding:p}),K=G?W?qn:cn:W?Wn:ln;A[B]>I[B]&&(K=yp(K));var J=yp(K),Z=[];if(s&&Z.push(V[M]<=0),c&&Z.push(V[K]<=0,V[J]<=0),Z.every(function(oe){return oe})){U=H,$=!1;break}D.set(H,Z)}if($)for(var Q=w?3:1,q=function(ie){var ee=E.find(function(pe){var ve=D.get(pe);if(ve)return ve.slice(0,ie).every(function(xe){return xe})});if(ee)return U=ee,"break"},ne=Q;ne>0;ne--){var ue=q(ne);if(ue==="break")break}e.placement!==U&&(e.modifiersData[n]._skip=!0,e.placement=U,e.reset=!0)}}const xR={name:"flip",enabled:!0,phase:"main",fn:bR,requiresIfExists:["offset"],data:{_skip:!1}};function bx(t,e,r){return r===void 0&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function xx(t){return[ln,qn,Wn,cn].some(function(e){return t[e]>=0})}function wR(t){var e=t.state,r=t.name,n=e.rects.reference,i=e.rects.popper,s=e.modifiersData.preventOverflow,l=Wc(e,{elementContext:"reference"}),c=Wc(e,{altBoundary:!0}),d=bx(l,n),p=bx(c,i,s),m=xx(d),v=xx(p);e.modifiersData[r]={referenceClippingOffsets:d,popperEscapeOffsets:p,isReferenceHidden:m,hasPopperEscaped:v},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":m,"data-popper-escaped":v})}const SR={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:wR};function CR(t,e,r){var n=zi(t),i=[cn,ln].indexOf(n)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},e,{placement:t})):r,l=s[0],c=s[1];return l=l||0,c=(c||0)*i,[cn,qn].indexOf(n)>=0?{x:c,y:l}:{x:l,y:c}}function ER(t){var e=t.state,r=t.options,n=t.name,i=r.offset,s=i===void 0?[0,0]:i,l=U2.reduce(function(m,v){return m[v]=CR(v,e.rects,s),m},{}),c=l[e.placement],d=c.x,p=c.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=d,e.modifiersData.popperOffsets.y+=p),e.modifiersData[n]=l}const TR={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ER};function kR(t){var e=t.state,r=t.name;e.modifiersData[r]=Y2({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const PR={name:"popperOffsets",enabled:!0,phase:"read",fn:kR,data:{}};function MR(t){return t==="x"?"y":"x"}function _R(t){var e=t.state,r=t.options,n=t.name,i=r.mainAxis,s=i===void 0?!0:i,l=r.altAxis,c=l===void 0?!1:l,d=r.boundary,p=r.rootBoundary,m=r.altBoundary,v=r.padding,g=r.tether,y=g===void 0?!0:g,w=r.tetherOffset,x=w===void 0?0:w,C=Wc(e,{boundary:d,rootBoundary:p,padding:v,altBoundary:m}),P=zi(e.placement),k=Ys(e.placement),_=!k,E=Py(P),A=MR(E),I=e.modifiersData.popperOffsets,D=e.rects.reference,$=e.rects.popper,U=typeof x=="function"?x(Object.assign({},e.rects,{placement:e.placement})):x,X=typeof U=="number"?{mainAxis:U,altAxis:U}:Object.assign({mainAxis:0,altAxis:0},U),H=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,M={x:0,y:0};if(I){if(s){var W,G=E==="y"?ln:cn,B=E==="y"?Wn:qn,V=E==="y"?"height":"width",K=I[E],J=K+C[G],Z=K-C[B],Q=y?-$[V]/2:0,q=k===Xs?D[V]:$[V],ne=k===Xs?-$[V]:-D[V],ue=e.elements.arrow,oe=y&&ue?ky(ue):{width:0,height:0},ie=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:G2(),ee=ie[G],pe=ie[B],ve=_c(0,D[V],oe[V]),xe=_?D[V]/2-Q-ve-ee-X.mainAxis:q-ve-ee-X.mainAxis,se=_?-D[V]/2+Q+ve+pe+X.mainAxis:ne+ve+pe+X.mainAxis,Le=e.elements.arrow&&yu(e.elements.arrow),De=Le?E==="y"?Le.clientTop||0:Le.clientLeft||0:0,ze=(W=H==null?void 0:H[E])!=null?W:0,Oe=K+xe-ze-De,_e=K+se-ze,st=_c(y?Op(J,Oe):J,K,y?Ba(Z,_e):Z);I[E]=st,M[E]=st-K}if(c){var ft,dt=E==="x"?ln:cn,St=E==="x"?Wn:qn,xt=I[A],ht=A==="y"?"height":"width",$e=xt+C[dt],lr=xt-C[St],kt=[ln,cn].indexOf(P)!==-1,le=(ft=H==null?void 0:H[A])!=null?ft:0,me=kt?$e:xt-D[ht]-$[ht]-le+X.altAxis,ye=kt?xt+D[ht]+$[ht]-le-X.altAxis:lr,Ae=y&&kt?ZA(me,xt,ye):_c(y?me:$e,xt,y?ye:lr);I[A]=Ae,M[A]=Ae-xt}e.modifiersData[n]=M}}const AR={name:"preventOverflow",enabled:!0,phase:"main",fn:_R,requiresIfExists:["offset"]};function RR(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function IR(t){return t===An(t)||!Un(t)?My(t):RR(t)}function jR(t){var e=t.getBoundingClientRect(),r=Ks(e.width)/t.offsetWidth||1,n=Ks(e.height)/t.offsetHeight||1;return r!==1||n!==1}function OR(t,e,r){r===void 0&&(r=!1);var n=Un(e),i=Un(e)&&jR(e),s=sa(e),l=Qs(t,i,r),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(n||!n&&!r)&&((Di(e)!=="body"||Ay(s))&&(c=IR(e)),Un(e)?(d=Qs(e,!0),d.x+=e.clientLeft,d.y+=e.clientTop):s&&(d.x=_y(s))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function LR(t){var e=new Map,r=new Set,n=[];t.forEach(function(s){e.set(s.name,s)});function i(s){r.add(s.name);var l=[].concat(s.requires||[],s.requiresIfExists||[]);l.forEach(function(c){if(!r.has(c)){var d=e.get(c);d&&i(d)}}),n.push(s)}return t.forEach(function(s){r.has(s.name)||i(s)}),n}function NR(t){var e=LR(t);return GA.reduce(function(r,n){return r.concat(e.filter(function(i){return i.phase===n}))},[])}function $R(t){var e;return function(){return e||(e=new Promise(function(r){Promise.resolve().then(function(){e=void 0,r(t())})})),e}}function zR(t){var e=t.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(e).map(function(r){return e[r]})}var wx={placement:"bottom",modifiers:[],strategy:"absolute"};function Sx(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return!e.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function BR(t){t===void 0&&(t={});var e=t,r=e.defaultModifiers,n=r===void 0?[]:r,i=e.defaultOptions,s=i===void 0?wx:i;return function(c,d,p){p===void 0&&(p=s);var m={placement:"bottom",orderedModifiers:[],options:Object.assign({},wx,s),modifiersData:{},elements:{reference:c,popper:d},attributes:{},styles:{}},v=[],g=!1,y={state:m,setOptions:function(P){var k=typeof P=="function"?P(m.options):P;x(),m.options=Object.assign({},s,m.options,k),m.scrollParents={reference:Ha(c)?Ac(c):c.contextElement?Ac(c.contextElement):[],popper:Ac(d)};var _=NR(zR([].concat(n,m.options.modifiers)));return m.orderedModifiers=_.filter(function(E){return E.enabled}),w(),y.update()},forceUpdate:function(){if(!g){var P=m.elements,k=P.reference,_=P.popper;if(Sx(k,_)){m.rects={reference:OR(k,yu(_),m.options.strategy==="fixed"),popper:ky(_)},m.reset=!1,m.placement=m.options.placement,m.orderedModifiers.forEach(function(X){return m.modifiersData[X.name]=Object.assign({},X.data)});for(var E=0;E<m.orderedModifiers.length;E++){if(m.reset===!0){m.reset=!1,E=-1;continue}var A=m.orderedModifiers[E],I=A.fn,D=A.options,$=D===void 0?{}:D,U=A.name;typeof I=="function"&&(m=I({state:m,options:$,name:U,instance:y})||m)}}}},update:$R(function(){return new Promise(function(C){y.forceUpdate(),C(m)})}),destroy:function(){x(),g=!0}};if(!Sx(c,d))return y;y.setOptions(p).then(function(C){!g&&p.onFirstUpdate&&p.onFirstUpdate(C)});function w(){m.orderedModifiers.forEach(function(C){var P=C.name,k=C.options,_=k===void 0?{}:k,E=C.effect;if(typeof E=="function"){var A=E({state:m,name:P,instance:y,options:_}),I=function(){};v.push(A||I)}})}function x(){v.forEach(function(C){return C()}),v=[]}return y}}var DR=[cR,PR,sR,QA,TR,xR,AR,nR,SR],FR=BR({defaultModifiers:DR});function J2(t){var v;const{elementType:e,externalSlotProps:r,ownerState:n,skipResolvingSlotProps:i=!1,...s}=t,l=i?{}:F2(r,n),{props:c,internalRef:d}=H2({...s,externalSlotProps:l}),p=ar(d,l==null?void 0:l.ref,(v=t.additionalProps)==null?void 0:v.ref);return D2(e,{...c,ref:p},n)}function Ya(t){var e;return parseInt(T.version,10)>=19?((e=t==null?void 0:t.props)==null?void 0:e.ref)||null:(t==null?void 0:t.ref)||null}function HR(t){return typeof t=="function"?t():t}const Z2=T.forwardRef(function(e,r){const{children:n,container:i,disablePortal:s=!1}=e,[l,c]=T.useState(null),d=ar(T.isValidElement(n)?Ya(n):null,r);if(_n(()=>{s||c(HR(i)||document.body)},[i,s]),_n(()=>{if(l&&!s)return ox(r,l),()=>{ox(r,null)}},[r,l,s]),s){if(T.isValidElement(n)){const p={ref:d};return T.cloneElement(n,p)}return n}return l&&IS.createPortal(n,l)});function VR(t){return Qe("MuiPopper",t)}Je("MuiPopper",["root"]);function UR(t,e){if(e==="ltr")return t;switch(t){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 t}}function Cg(t){return typeof t=="function"?t():t}function WR(t){return t.nodeType!==void 0}const qR=t=>{const{classes:e}=t;return Ye({root:["root"]},VR,e)},GR={},XR=T.forwardRef(function(e,r){const{anchorEl:n,children:i,direction:s,disablePortal:l,modifiers:c,open:d,placement:p,popperOptions:m,popperRef:v,slotProps:g={},slots:y={},TransitionProps:w,ownerState:x,...C}=e,P=T.useRef(null),k=ar(P,r),_=T.useRef(null),E=ar(_,v),A=T.useRef(E);_n(()=>{A.current=E},[E]),T.useImperativeHandle(v,()=>_.current,[]);const I=UR(p,s),[D,$]=T.useState(I),[U,X]=T.useState(Cg(n));T.useEffect(()=>{_.current&&_.current.forceUpdate()}),T.useEffect(()=>{n&&X(Cg(n))},[n]),_n(()=>{if(!U||!d)return;const B=J=>{$(J.placement)};let V=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:J})=>{B(J)}}];c!=null&&(V=V.concat(c)),m&&m.modifiers!=null&&(V=V.concat(m.modifiers));const K=FR(U,P.current,{placement:I,...m,modifiers:V});return A.current(K),()=>{K.destroy(),A.current(null)}},[U,l,c,d,m,I]);const H={placement:D};w!==null&&(H.TransitionProps=w);const M=qR(e),W=y.root??"div",G=J2({elementType:W,externalSlotProps:g.root,externalForwardedProps:C,additionalProps:{role:"tooltip",ref:k},ownerState:e,className:M.root});return h.jsx(W,{...G,children:typeof i=="function"?i(H):i})}),KR=T.forwardRef(function(e,r){const{anchorEl:n,children:i,container:s,direction:l="ltr",disablePortal:c=!1,keepMounted:d=!1,modifiers:p,open:m,placement:v="bottom",popperOptions:g=GR,popperRef:y,style:w,transition:x=!1,slotProps:C={},slots:P={},...k}=e,[_,E]=T.useState(!0),A=()=>{E(!1)},I=()=>{E(!0)};if(!d&&!m&&(!x||_))return null;let D;if(s)D=s;else if(n){const X=Cg(n);D=X&&WR(X)?Fr(X).body:Fr(null).body}const $=!m&&d&&(!x||_)?"none":void 0,U=x?{in:m,onEnter:A,onExited:I}:void 0;return h.jsx(Z2,{disablePortal:c,container:D,children:h.jsx(XR,{anchorEl:n,direction:l,disablePortal:c,modifiers:p,ref:r,open:x?!_:m,placement:v,popperOptions:g,popperRef:y,slotProps:C,slots:P,...k,style:{position:"fixed",top:0,left:0,display:$,...w},TransitionProps:U,children:i})})}),QR=be(KR,{name:"MuiPopper",slot:"Root"})({}),eC=T.forwardRef(function(e,r){const n=mu(),i=et({props:e,name:"MuiPopper"}),{anchorEl:s,component:l,components:c,componentsProps:d,container:p,disablePortal:m,keepMounted:v,modifiers:g,open:y,placement:w,popperOptions:x,popperRef:C,transition:P,slots:k,slotProps:_,...E}=i,A=(k==null?void 0:k.root)??(c==null?void 0:c.Root),I={anchorEl:s,container:p,disablePortal:m,keepMounted:v,modifiers:g,open:y,placement:w,popperOptions:x,popperRef:C,transition:P,...E};return h.jsx(QR,{as:l,direction:n?"rtl":"ltr",slots:{root:A},slotProps:_??d,...I,ref:r})}),YR=Pe(h.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}));function JR(t){return Qe("MuiChip",t)}const Et=Je("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"]),ZR=t=>{const{classes:e,disabled:r,size:n,color:i,iconColor:s,onDelete:l,clickable:c,variant:d}=t,p={root:["root",d,r&&"disabled",`size${he(n)}`,`color${he(i)}`,c&&"clickable",c&&`clickableColor${he(i)}`,l&&"deletable",l&&`deletableColor${he(i)}`,`${d}${he(i)}`],label:["label",`label${he(n)}`],avatar:["avatar",`avatar${he(n)}`,`avatarColor${he(i)}`],icon:["icon",`icon${he(n)}`,`iconColor${he(s)}`],deleteIcon:["deleteIcon",`deleteIcon${he(n)}`,`deleteIconColor${he(i)}`,`deleteIcon${he(d)}Color${he(i)}`]};return Ye(p,JR,e)},eI=be("div",{name:"MuiChip",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t,{color:n,iconColor:i,clickable:s,onDelete:l,size:c,variant:d}=r;return[{[`& .${Et.avatar}`]:e.avatar},{[`& .${Et.avatar}`]:e[`avatar${he(c)}`]},{[`& .${Et.avatar}`]:e[`avatarColor${he(n)}`]},{[`& .${Et.icon}`]:e.icon},{[`& .${Et.icon}`]:e[`icon${he(c)}`]},{[`& .${Et.icon}`]:e[`iconColor${he(i)}`]},{[`& .${Et.deleteIcon}`]:e.deleteIcon},{[`& .${Et.deleteIcon}`]:e[`deleteIcon${he(c)}`]},{[`& .${Et.deleteIcon}`]:e[`deleteIconColor${he(n)}`]},{[`& .${Et.deleteIcon}`]:e[`deleteIcon${he(d)}Color${he(n)}`]},e.root,e[`size${he(c)}`],e[`color${he(n)}`],s&&e.clickable,s&&n!=="default"&&e[`clickableColor${he(n)}`],l&&e.deletable,l&&n!=="default"&&e[`deletableColor${he(n)}`],e[d],e[`${d}${he(n)}`]]}})(Ze(({theme:t})=>{const e=t.palette.mode==="light"?t.palette.grey[700]:t.palette.grey[300];return{maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,lineHeight:1.5,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Et.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Et.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:e,fontSize:t.typography.pxToRem(12)},[`& .${Et.avatarColorPrimary}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},[`& .${Et.avatarColorSecondary}`]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},[`& .${Et.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},[`& .${Et.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Et.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:t.alpha((t.vars||t).palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.alpha((t.vars||t).palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Et.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Et.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(t.palette).filter(Nt(["contrastText"])).map(([r])=>({props:{color:r},style:{backgroundColor:(t.vars||t).palette[r].main,color:(t.vars||t).palette[r].contrastText,[`& .${Et.deleteIcon}`]:{color:t.alpha((t.vars||t).palette[r].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[r].contrastText}}}})),{props:r=>r.iconColor===r.color,style:{[`& .${Et.icon}`]:{color:t.vars?t.vars.palette.Chip.defaultIconColor:e}}},{props:r=>r.iconColor===r.color&&r.color!=="default",style:{[`& .${Et.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Et.focusVisible}`]:{backgroundColor:t.alpha((t.vars||t).palette.action.selected,`${(t.vars||t).palette.action.selectedOpacity} + ${(t.vars||t).palette.action.focusOpacity}`)}}},...Object.entries(t.palette).filter(Nt(["dark"])).map(([r])=>({props:{color:r,onDelete:!0},style:{[`&.${Et.focusVisible}`]:{background:(t.vars||t).palette[r].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.alpha((t.vars||t).palette.action.selected,`${(t.vars||t).palette.action.selectedOpacity} + ${(t.vars||t).palette.action.hoverOpacity}`)},[`&.${Et.focusVisible}`]:{backgroundColor:t.alpha((t.vars||t).palette.action.selected,`${(t.vars||t).palette.action.selectedOpacity} + ${(t.vars||t).palette.action.focusOpacity}`)},"&:active":{boxShadow:(t.vars||t).shadows[1]}}},...Object.entries(t.palette).filter(Nt(["dark"])).map(([r])=>({props:{color:r,clickable:!0},style:{[`&:hover, &.${Et.focusVisible}`]:{backgroundColor:(t.vars||t).palette[r].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:t.vars?`1px solid ${t.vars.palette.Chip.defaultBorder}`:`1px solid ${t.palette.mode==="light"?t.palette.grey[400]:t.palette.grey[700]}`,[`&.${Et.clickable}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${Et.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`& .${Et.avatar}`]:{marginLeft:4},[`& .${Et.avatarSmall}`]:{marginLeft:2},[`& .${Et.icon}`]:{marginLeft:4},[`& .${Et.iconSmall}`]:{marginLeft:2},[`& .${Et.deleteIcon}`]:{marginRight:5},[`& .${Et.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(t.palette).filter(Nt()).map(([r])=>({props:{variant:"outlined",color:r},style:{color:(t.vars||t).palette[r].main,border:`1px solid ${t.alpha((t.vars||t).palette[r].main,.7)}`,[`&.${Et.clickable}:hover`]:{backgroundColor:t.alpha((t.vars||t).palette[r].main,(t.vars||t).palette.action.hoverOpacity)},[`&.${Et.focusVisible}`]:{backgroundColor:t.alpha((t.vars||t).palette[r].main,(t.vars||t).palette.action.focusOpacity)},[`& .${Et.deleteIcon}`]:{color:t.alpha((t.vars||t).palette[r].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[r].main}}}}))]}})),tI=be("span",{name:"MuiChip",slot:"Label",overridesResolver:(t,e)=>{const{ownerState:r}=t,{size:n}=r;return[e.label,e[`label${he(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 Cx(t){return t.key==="Backspace"||t.key==="Delete"}const Ni=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiChip"}),{avatar:i,className:s,clickable:l,color:c="default",component:d,deleteIcon:p,disabled:m=!1,icon:v,label:g,onClick:y,onDelete:w,onKeyDown:x,onKeyUp:C,size:P="medium",variant:k="filled",tabIndex:_,skipFocusWhenDisabled:E=!1,slots:A={},slotProps:I={},...D}=n,$=T.useRef(null),U=ar($,r),X=ee=>{ee.stopPropagation(),w&&w(ee)},H=ee=>{ee.currentTarget===ee.target&&Cx(ee)&&ee.preventDefault(),x&&x(ee)},M=ee=>{ee.currentTarget===ee.target&&w&&Cx(ee)&&w(ee),C&&C(ee)},W=l!==!1&&y?!0:l,G=W||w?Fa:d||"div",B={...n,component:G,disabled:m,size:P,color:c,iconColor:T.isValidElement(v)&&v.props.color||c,onDelete:!!w,clickable:W,variant:k},V=ZR(B),K=G===Fa?{component:d||"div",focusVisibleClassName:V.focusVisible,...w&&{disableRipple:!0}}:{};let J=null;w&&(J=p&&T.isValidElement(p)?T.cloneElement(p,{className:je(p.props.className,V.deleteIcon),onClick:X}):h.jsx(YR,{className:V.deleteIcon,onClick:X}));let Z=null;i&&T.isValidElement(i)&&(Z=T.cloneElement(i,{className:je(V.avatar,i.props.className)}));let Q=null;v&&T.isValidElement(v)&&(Q=T.cloneElement(v,{className:je(V.icon,v.props.className)}));const q={slots:A,slotProps:I},[ne,ue]=ot("root",{elementType:eI,externalForwardedProps:{...q,...D},ownerState:B,shouldForwardComponentProp:!0,ref:U,className:je(V.root,s),additionalProps:{disabled:W&&m?!0:void 0,tabIndex:E&&m?-1:_,...K},getSlotProps:ee=>({...ee,onClick:pe=>{var ve;(ve=ee.onClick)==null||ve.call(ee,pe),y==null||y(pe)},onKeyDown:pe=>{var ve;(ve=ee.onKeyDown)==null||ve.call(ee,pe),H(pe)},onKeyUp:pe=>{var ve;(ve=ee.onKeyUp)==null||ve.call(ee,pe),M(pe)}})}),[oe,ie]=ot("label",{elementType:tI,externalForwardedProps:q,ownerState:B,className:V.label});return h.jsxs(ne,{as:G,...ue,children:[Z||Q,h.jsx(oe,{...ie,children:g}),J]})});function Fd(t){return parseInt(t,10)||0}const rI={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function nI(t){for(const e in t)return!1;return!0}function Ex(t){return nI(t)||t.outerHeightStyle===0&&!t.overflowing}const iI=T.forwardRef(function(e,r){const{onChange:n,maxRows:i,minRows:s=1,style:l,value:c,...d}=e,{current:p}=T.useRef(c!=null),m=T.useRef(null),v=ar(r,m),g=T.useRef(null),y=T.useRef(null),w=T.useCallback(()=>{const _=m.current,E=y.current;if(!_||!E)return;const I=po(_).getComputedStyle(_);if(I.width==="0px")return{outerHeightStyle:0,overflowing:!1};E.style.width=I.width,E.value=_.value||e.placeholder||"x",E.value.slice(-1)===`
218
- `&&(E.value+=" ");const D=I.boxSizing,$=Fd(I.paddingBottom)+Fd(I.paddingTop),U=Fd(I.borderBottomWidth)+Fd(I.borderTopWidth),X=E.scrollHeight;E.value="x";const H=E.scrollHeight;let M=X;s&&(M=Math.max(Number(s)*H,M)),i&&(M=Math.min(Number(i)*H,M)),M=Math.max(M,H);const W=M+(D==="border-box"?$+U:0),G=Math.abs(M-X)<=1;return{outerHeightStyle:W,overflowing:G}},[i,s,e.placeholder]),x=Vn(()=>{const _=m.current,E=w();if(!_||!E||Ex(E))return!1;const A=E.outerHeightStyle;return g.current!=null&&g.current!==A}),C=T.useCallback(()=>{const _=m.current,E=w();if(!_||!E||Ex(E))return;const A=E.outerHeightStyle;g.current!==A&&(g.current=A,_.style.height=`${A}px`),_.style.overflow=E.overflowing?"hidden":""},[w]),P=T.useRef(-1);_n(()=>{const _=O2(C),E=m==null?void 0:m.current;if(!E)return;const A=po(E);A.addEventListener("resize",_);let I;return typeof ResizeObserver<"u"&&(I=new ResizeObserver(()=>{x()&&(I.unobserve(E),cancelAnimationFrame(P.current),C(),P.current=requestAnimationFrame(()=>{I.observe(E)}))}),I.observe(E)),()=>{_.clear(),cancelAnimationFrame(P.current),A.removeEventListener("resize",_),I&&I.disconnect()}},[w,C,x]),_n(()=>{C()});const k=_=>{p||C();const E=_.target,A=E.value.length,I=E.value.endsWith(`
219
- `),D=E.selectionStart===A;I&&D&&E.setSelectionRange(A,A),n&&n(_)};return h.jsxs(T.Fragment,{children:[h.jsx("textarea",{value:c,onChange:k,ref:v,rows:s,style:l,...d}),h.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:y,tabIndex:-1,style:{...rI.shadow,...l,paddingTop:0,paddingBottom:0}})]})});function Ja({props:t,states:e,muiFormControl:r}){return e.reduce((n,i)=>(n[i]=t[i],r&&typeof t[i]>"u"&&(n[i]=r[i]),n),{})}const bf=T.createContext(void 0);function xo(){return T.useContext(bf)}function Tx(t){return t!=null&&!(Array.isArray(t)&&t.length===0)}function Lp(t,e=!1){return t&&(Tx(t.value)&&t.value!==""||e&&Tx(t.defaultValue)&&t.defaultValue!=="")}function oI(t){return t.startAdornment}function aI(t){return Qe("MuiInputBase",t)}const Js=Je("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var kx;const xf=(t,e)=>{const{ownerState:r}=t;return[e.root,r.formControl&&e.formControl,r.startAdornment&&e.adornedStart,r.endAdornment&&e.adornedEnd,r.error&&e.error,r.size==="small"&&e.sizeSmall,r.multiline&&e.multiline,r.color&&e[`color${he(r.color)}`],r.fullWidth&&e.fullWidth,r.hiddenLabel&&e.hiddenLabel]},wf=(t,e)=>{const{ownerState:r}=t;return[e.input,r.size==="small"&&e.inputSizeSmall,r.multiline&&e.inputMultiline,r.type==="search"&&e.inputTypeSearch,r.startAdornment&&e.inputAdornedStart,r.endAdornment&&e.inputAdornedEnd,r.hiddenLabel&&e.inputHiddenLabel]},sI=t=>{const{classes:e,color:r,disabled:n,error:i,endAdornment:s,focused:l,formControl:c,fullWidth:d,hiddenLabel:p,multiline:m,readOnly:v,size:g,startAdornment:y,type:w}=t,x={root:["root",`color${he(r)}`,n&&"disabled",i&&"error",d&&"fullWidth",l&&"focused",c&&"formControl",g&&g!=="medium"&&`size${he(g)}`,m&&"multiline",y&&"adornedStart",s&&"adornedEnd",p&&"hiddenLabel",v&&"readOnly"],input:["input",n&&"disabled",w==="search"&&"inputTypeSearch",m&&"inputMultiline",g==="small"&&"inputSizeSmall",p&&"inputHiddenLabel",y&&"inputAdornedStart",s&&"inputAdornedEnd",v&&"readOnly"]};return Ye(x,aI,e)},Sf=be("div",{name:"MuiInputBase",slot:"Root",overridesResolver:xf})(Ze(({theme:t})=>({...t.typography.body1,color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Js.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:r})=>e.multiline&&r==="small",style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]}))),Cf=be("input",{name:"MuiInputBase",slot:"Input",overridesResolver:wf})(Ze(({theme:t})=>{const e=t.palette.mode==="light",r={color:"currentColor",...t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:e?.42:.5},transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})},n={opacity:"0 !important"},i=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:e?.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":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Js.formControl} &`]:{"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${Js.disabled}`]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},variants:[{props:({ownerState:s})=>!s.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:s})=>s.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),Px=C_({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Ry=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:s,autoFocus:l,className:c,color:d,components:p={},componentsProps:m={},defaultValue:v,disabled:g,disableInjectingGlobalStyles:y,endAdornment:w,error:x,fullWidth:C=!1,id:P,inputComponent:k="input",inputProps:_={},inputRef:E,margin:A,maxRows:I,minRows:D,multiline:$=!1,name:U,onBlur:X,onChange:H,onClick:M,onFocus:W,onKeyDown:G,onKeyUp:B,placeholder:V,readOnly:K,renderSuffix:J,rows:Z,size:Q,slotProps:q={},slots:ne={},startAdornment:ue,type:oe="text",value:ie,...ee}=n,pe=_.value!=null?_.value:ie,{current:ve}=T.useRef(pe!=null),xe=T.useRef(),se=T.useCallback(we=>{},[]),Le=ar(xe,E,_.ref,se),[De,ze]=T.useState(!1),Oe=xo(),_e=Ja({props:n,muiFormControl:Oe,states:["color","disabled","error","hiddenLabel","size","required","filled"]});_e.focused=Oe?Oe.focused:De,T.useEffect(()=>{!Oe&&g&&De&&(ze(!1),X&&X())},[Oe,g,De,X]);const st=Oe&&Oe.onFilled,ft=Oe&&Oe.onEmpty,dt=T.useCallback(we=>{Lp(we)?st&&st():ft&&ft()},[st,ft]);_n(()=>{ve&&dt({value:pe})},[pe,dt,ve]);const St=we=>{W&&W(we),_.onFocus&&_.onFocus(we),Oe&&Oe.onFocus?Oe.onFocus(we):ze(!0)},xt=we=>{X&&X(we),_.onBlur&&_.onBlur(we),Oe&&Oe.onBlur?Oe.onBlur(we):ze(!1)},ht=(we,...Ve)=>{if(!ve){const Ie=we.target||xe.current;if(Ie==null)throw new Error(uo(1));dt({value:Ie.value})}_.onChange&&_.onChange(we,...Ve),H&&H(we,...Ve)};T.useEffect(()=>{dt(xe.current)},[]);const $e=we=>{xe.current&&we.currentTarget===we.target&&xe.current.focus(),M&&M(we)};let lr=k,kt=_;$&&lr==="input"&&(Z?kt={type:void 0,minRows:Z,maxRows:Z,...kt}:kt={type:void 0,maxRows:I,minRows:D,...kt},lr=iI);const le=we=>{dt(we.animationName==="mui-auto-fill-cancel"?xe.current:{value:"x"})};T.useEffect(()=>{Oe&&Oe.setAdornedStart(!!ue)},[Oe,ue]);const me={...n,color:_e.color||"primary",disabled:_e.disabled,endAdornment:w,error:_e.error,focused:_e.focused,formControl:Oe,fullWidth:C,hiddenLabel:_e.hiddenLabel,multiline:$,size:_e.size,startAdornment:ue,type:oe},ye=sI(me),Ae=ne.root||p.Root||Sf,Be=q.root||m.root||{},lt=ne.input||p.Input||Cf;return kt={...kt,...q.input??m.input},h.jsxs(T.Fragment,{children:[!y&&typeof Px=="function"&&(kx||(kx=h.jsx(Px,{}))),h.jsxs(Ae,{...Be,ref:r,onClick:$e,...ee,...!Rp(Ae)&&{ownerState:{...me,...Be.ownerState}},className:je(ye.root,Be.className,c,K&&"MuiInputBase-readOnly"),children:[ue,h.jsx(bf.Provider,{value:null,children:h.jsx(lt,{"aria-invalid":_e.error,"aria-describedby":i,autoComplete:s,autoFocus:l,defaultValue:v,disabled:_e.disabled,id:P,onAnimationStart:le,name:U,placeholder:V,readOnly:K,required:_e.required,rows:Z,value:pe,onKeyDown:G,onKeyUp:B,type:oe,...kt,...!Rp(lt)&&{as:lr,ownerState:{...me,...kt.ownerState}},ref:Le,className:je(ye.input,kt.className,K&&"MuiInputBase-readOnly"),onBlur:xt,onChange:ht,onFocus:St})}),w,J?J({..._e,startAdornment:ue}):null]})]})});function lI(t){return Qe("MuiInput",t)}const cc={...Js,...Je("MuiInput",["root","underline","input"])};function cI(t){return Qe("MuiOutlinedInput",t)}const ki={...Js,...Je("MuiOutlinedInput",["root","notchedOutline","input"])};function uI(t){return Qe("MuiFilledInput",t)}const Ma={...Js,...Je("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},dI=Pe(h.jsx("path",{d:"M7 10l5 5 5-5z"})),pI=Pe(h.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}));function fI(t){return Qe("MuiAvatar",t)}Je("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const hI=t=>{const{classes:e,variant:r,colorDefault:n}=t;return Ye({root:["root",r,n&&"colorDefault"],img:["img"],fallback:["fallback"]},fI,e)},mI=be("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],r.colorDefault&&e.colorDefault]}})(Ze(({theme:t})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(t.vars||t).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(t.vars||t).palette.background.default,...t.vars?{backgroundColor:t.vars.palette.Avatar.defaultBg}:{backgroundColor:t.palette.grey[400],...t.applyStyles("dark",{backgroundColor:t.palette.grey[600]})}}}]}))),gI=be("img",{name:"MuiAvatar",slot:"Img"})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),yI=be(pI,{name:"MuiAvatar",slot:"Fallback"})({width:"75%",height:"75%"});function vI({crossOrigin:t,referrerPolicy:e,src:r,srcSet:n}){const[i,s]=T.useState(!1);return T.useEffect(()=>{if(!r&&!n)return;s(!1);let l=!0;const c=new Image;return c.onload=()=>{l&&s("loaded")},c.onerror=()=>{l&&s("error")},c.crossOrigin=t,c.referrerPolicy=e,c.src=r,n&&(c.srcset=n),()=>{l=!1}},[t,e,r,n]),i}const Mx=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiAvatar"}),{alt:i,children:s,className:l,component:c="div",slots:d={},slotProps:p={},imgProps:m,sizes:v,src:g,srcSet:y,variant:w="circular",...x}=n;let C=null;const P={...n,component:c,variant:w},k=vI({...m,...typeof p.img=="function"?p.img(P):p.img,src:g,srcSet:y}),_=g||y,E=_&&k!=="error";P.colorDefault=!E,delete P.ownerState;const A=hI(P),[I,D]=ot("root",{ref:r,className:je(A.root,l),elementType:mI,externalForwardedProps:{slots:d,slotProps:p,component:c,...x},ownerState:P}),[$,U]=ot("img",{className:A.img,elementType:gI,externalForwardedProps:{slots:d,slotProps:{img:{...m,...p.img}}},additionalProps:{alt:i,src:g,srcSet:y,sizes:v},ownerState:P}),[X,H]=ot("fallback",{className:A.fallback,elementType:yI,externalForwardedProps:{slots:d,slotProps:p},shouldForwardComponentProp:!0,ownerState:P});return E?C=h.jsx($,{...U}):s||s===0?C=s:_&&i?C=i[0]:C=h.jsx(X,{...H}),h.jsx(I,{...D,children:C})}),bI={entering:{opacity:1},entered:{opacity:1}},xI=T.forwardRef(function(e,r){const n=Yn(),i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:s,appear:l=!0,children:c,easing:d,in:p,onEnter:m,onEntered:v,onEntering:g,onExit:y,onExited:w,onExiting:x,style:C,timeout:P=i,TransitionComponent:k=mi,..._}=e,E=T.useRef(null),A=ar(E,Ya(c),r),I=G=>B=>{if(G){const V=E.current;B===void 0?G(V):G(V,B)}},D=I(g),$=I((G,B)=>{B2(G);const V=qs({style:C,timeout:P,easing:d},{mode:"enter"});G.style.webkitTransition=n.transitions.create("opacity",V),G.style.transition=n.transitions.create("opacity",V),m&&m(G,B)}),U=I(v),X=I(x),H=I(G=>{const B=qs({style:C,timeout:P,easing:d},{mode:"exit"});G.style.webkitTransition=n.transitions.create("opacity",B),G.style.transition=n.transitions.create("opacity",B),y&&y(G)}),M=I(w),W=G=>{s&&s(E.current,G)};return h.jsx(k,{appear:l,in:p,nodeRef:E,onEnter:$,onEntered:U,onEntering:D,onExit:H,onExited:M,onExiting:X,addEndListener:W,timeout:P,..._,children:(G,{ownerState:B,...V})=>T.cloneElement(c,{style:{opacity:0,visibility:G==="exited"&&!p?"hidden":void 0,...bI[G],...C,...c.props.style},ref:A,...V})})});function wI(t){return Qe("MuiBackdrop",t)}Je("MuiBackdrop",["root","invisible"]);const SI=t=>{const{classes:e,invisible:r}=t;return Ye({root:["root",r&&"invisible"]},wI,e)},CI=be("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.invisible&&e.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"}}]}),EI=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiBackdrop"}),{children:i,className:s,component:l="div",invisible:c=!1,open:d,components:p={},componentsProps:m={},slotProps:v={},slots:g={},TransitionComponent:y,transitionDuration:w,...x}=n,C={...n,component:l,invisible:c},P=SI(C),k={transition:y,root:p.Root,...g},_={...m,...v},E={component:l,slots:k,slotProps:_},[A,I]=ot("root",{elementType:CI,externalForwardedProps:E,className:je(P.root,s),ownerState:C}),[D,$]=ot("transition",{elementType:xI,externalForwardedProps:E,ownerState:C});return h.jsx(D,{in:d,timeout:w,...x,...$,children:h.jsx(A,{"aria-hidden":!0,...I,classes:P,ref:r,children:i})})}),TI=Je("MuiBox",["root"]),kI=gf(),Ce=T5({themeId:di,defaultTheme:kI,defaultClassName:TI.root,generateClassName:d2.generate});function PI(t){return Qe("MuiButton",t)}const _a=Je("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"]),tC=T.createContext({}),rC=T.createContext(void 0),MI=t=>{const{color:e,disableElevation:r,fullWidth:n,size:i,variant:s,loading:l,loadingPosition:c,classes:d}=t,p={root:["root",l&&"loading",s,`${s}${he(e)}`,`size${he(i)}`,`${s}Size${he(i)}`,`color${he(e)}`,r&&"disableElevation",n&&"fullWidth",l&&`loadingPosition${he(c)}`],startIcon:["icon","startIcon",`iconSize${he(i)}`],endIcon:["icon","endIcon",`iconSize${he(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},m=Ye(p,PI,d);return{...d,...m}},nC=[{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}}}],_I=be(Fa,{shouldForwardProp:t=>mn(t)||t==="classes",name:"MuiButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],e[`${r.variant}${he(r.color)}`],e[`size${he(r.size)}`],e[`${r.variant}Size${he(r.size)}`],r.color==="inherit"&&e.colorInherit,r.disableElevation&&e.disableElevation,r.fullWidth&&e.fullWidth,r.loading&&e.loading]}})(Ze(({theme:t})=>{const e=t.palette.mode==="light"?t.palette.grey[300]:t.palette.grey[800],r=t.palette.mode==="light"?t.palette.grey.A100:t.palette.grey[700];return{...t.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${_a.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(t.vars||t).shadows[2],"&:hover":{boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2]}},"&:active":{boxShadow:(t.vars||t).shadows[8]},[`&.${_a.focusVisible}`]:{boxShadow:(t.vars||t).shadows[6]},[`&.${_a.disabled}`]:{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).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)",[`&.${_a.disabled}`]:{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(t.palette).filter(Nt()).map(([n])=>({props:{color:n},style:{"--variant-textColor":(t.vars||t).palette[n].main,"--variant-outlinedColor":(t.vars||t).palette[n].main,"--variant-outlinedBorder":t.alpha((t.vars||t).palette[n].main,.5),"--variant-containedColor":(t.vars||t).palette[n].contrastText,"--variant-containedBg":(t.vars||t).palette[n].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(t.vars||t).palette[n].dark,"--variant-textBg":t.alpha((t.vars||t).palette[n].main,(t.vars||t).palette.action.hoverOpacity),"--variant-outlinedBorder":(t.vars||t).palette[n].main,"--variant-outlinedBg":t.alpha((t.vars||t).palette[n].main,(t.vars||t).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedBg:e,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedHoverBg:r,"--variant-textBg":t.alpha((t.vars||t).palette.text.primary,(t.vars||t).palette.action.hoverOpacity),"--variant-outlinedBg":t.alpha((t.vars||t).palette.text.primary,(t.vars||t).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:t.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${_a.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${_a.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),[`&.${_a.loading}`]:{color:"transparent"}}}]}})),AI=be("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.startIcon,r.loading&&e.startIconLoadingStart,e[`iconSize${he(r.size)}`]]}})(({theme:t})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...nC]})),RI=be("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.endIcon,r.loading&&e.endIconLoadingEnd,e[`iconSize${he(r.size)}`]]}})(({theme:t})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...nC]})),II=be("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:t})=>({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:(t.vars||t).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}}]})),_x=be("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),qc=T.forwardRef(function(e,r){const n=T.useContext(tC),i=T.useContext(rC),s=Fc(n,e),l=et({props:s,name:"MuiButton"}),{children:c,color:d="primary",component:p="button",className:m,disabled:v=!1,disableElevation:g=!1,disableFocusRipple:y=!1,endIcon:w,focusVisibleClassName:x,fullWidth:C=!1,id:P,loading:k=null,loadingIndicator:_,loadingPosition:E="center",size:A="medium",startIcon:I,type:D,variant:$="text",...U}=l,X=ml(P),H=_??h.jsx(Gi,{"aria-labelledby":X,color:"inherit",size:16}),M={...l,color:d,component:p,disabled:v,disableElevation:g,disableFocusRipple:y,fullWidth:C,loading:k,loadingIndicator:H,loadingPosition:E,size:A,type:D,variant:$},W=MI(M),G=(I||k&&E==="start")&&h.jsx(AI,{className:W.startIcon,ownerState:M,children:I||h.jsx(_x,{className:W.loadingIconPlaceholder,ownerState:M})}),B=(w||k&&E==="end")&&h.jsx(RI,{className:W.endIcon,ownerState:M,children:w||h.jsx(_x,{className:W.loadingIconPlaceholder,ownerState:M})}),V=i||"",K=typeof k=="boolean"?h.jsx("span",{className:W.loadingWrapper,style:{display:"contents"},children:k&&h.jsx(II,{className:W.loadingIndicator,ownerState:M,children:H})}):null;return h.jsxs(_I,{ownerState:M,className:je(n.className,W.root,m,V),component:p,disabled:v||k,focusRipple:!y,focusVisibleClassName:je(W.focusVisible,x),ref:r,type:D,id:k?X:P,...U,classes:W,children:[G,E!=="end"&&K,c,E==="end"&&K,B]})});function jI(t){return T.Children.toArray(t).filter(e=>T.isValidElement(e))}function OI(t){return Qe("MuiButtonGroup",t)}const vt=Je("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"]),LI=(t,e)=>{const{ownerState:r}=t;return[{[`& .${vt.grouped}`]:e.grouped},{[`& .${vt.grouped}`]:e[`grouped${he(r.orientation)}`]},{[`& .${vt.grouped}`]:e[`grouped${he(r.variant)}`]},{[`& .${vt.grouped}`]:e[`grouped${he(r.variant)}${he(r.orientation)}`]},{[`& .${vt.grouped}`]:e[`grouped${he(r.variant)}${he(r.color)}`]},{[`& .${vt.firstButton}`]:e.firstButton},{[`& .${vt.lastButton}`]:e.lastButton},{[`& .${vt.middleButton}`]:e.middleButton},e.root,e[r.variant],r.disableElevation===!0&&e.disableElevation,r.fullWidth&&e.fullWidth,r.orientation==="vertical"&&e.vertical]},NI=t=>{const{classes:e,color:r,disabled:n,disableElevation:i,fullWidth:s,orientation:l,variant:c}=t,d={root:["root",c,l,s&&"fullWidth",i&&"disableElevation",`color${he(r)}`],grouped:["grouped",`grouped${he(l)}`,`grouped${he(c)}`,`grouped${he(c)}${he(l)}`,`grouped${he(c)}${he(r)}`,n&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return Ye(d,OI,e)},$I=be("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:LI})(Ze(({theme:t})=>({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius,variants:[{props:{variant:"contained"},style:{boxShadow:(t.vars||t).shadows[2]}},{props:{disableElevation:!0},style:{boxShadow:"none"}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${vt.lastButton},& .${vt.middleButton}`]:{borderTopRightRadius:0,borderTopLeftRadius:0},[`& .${vt.firstButton},& .${vt.middleButton}`]:{borderBottomRightRadius:0,borderBottomLeftRadius:0}}},{props:{orientation:"horizontal"},style:{[`& .${vt.firstButton},& .${vt.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${vt.lastButton},& .${vt.middleButton}`]:{borderTopLeftRadius:0,borderBottomLeftRadius:0}}},{props:{variant:"text",orientation:"horizontal"},style:{[`& .${vt.firstButton},& .${vt.middleButton}`]:{borderRight:t.vars?`1px solid ${t.alpha(t.vars.palette.common.onBackground,.23)}`:`1px solid ${t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${vt.disabled}`]:{borderRight:`1px solid ${(t.vars||t).palette.action.disabled}`}}}},{props:{variant:"text",orientation:"vertical"},style:{[`& .${vt.firstButton},& .${vt.middleButton}`]:{borderBottom:t.vars?`1px solid ${t.alpha(t.vars.palette.common.onBackground,.23)}`:`1px solid ${t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${vt.disabled}`]:{borderBottom:`1px solid ${(t.vars||t).palette.action.disabled}`}}}},...Object.entries(t.palette).filter(Nt()).flatMap(([e])=>[{props:{variant:"text",color:e},style:{[`& .${vt.firstButton},& .${vt.middleButton}`]:{borderColor:t.alpha((t.vars||t).palette[e].main,.5)}}}]),{props:{variant:"outlined",orientation:"horizontal"},style:{[`& .${vt.firstButton},& .${vt.middleButton}`]:{borderRightColor:"transparent","&:hover":{borderRightColor:"currentColor"}},[`& .${vt.lastButton},& .${vt.middleButton}`]:{marginLeft:-1}}},{props:{variant:"outlined",orientation:"vertical"},style:{[`& .${vt.firstButton},& .${vt.middleButton}`]:{borderBottomColor:"transparent","&:hover":{borderBottomColor:"currentColor"}},[`& .${vt.lastButton},& .${vt.middleButton}`]:{marginTop:-1}}},{props:{variant:"contained",orientation:"horizontal"},style:{[`& .${vt.firstButton},& .${vt.middleButton}`]:{borderRight:`1px solid ${(t.vars||t).palette.grey[400]}`,[`&.${vt.disabled}`]:{borderRight:`1px solid ${(t.vars||t).palette.action.disabled}`}}}},{props:{variant:"contained",orientation:"vertical"},style:{[`& .${vt.firstButton},& .${vt.middleButton}`]:{borderBottom:`1px solid ${(t.vars||t).palette.grey[400]}`,[`&.${vt.disabled}`]:{borderBottom:`1px solid ${(t.vars||t).palette.action.disabled}`}}}},...Object.entries(t.palette).filter(Nt(["dark"])).map(([e])=>({props:{variant:"contained",color:e},style:{[`& .${vt.firstButton},& .${vt.middleButton}`]:{borderColor:(t.vars||t).palette[e].dark}}}))],[`& .${vt.grouped}`]:{minWidth:40,boxShadow:"none",props:{variant:"contained"},style:{"&:hover":{boxShadow:"none"}}}}))),zI=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiButtonGroup"}),{children:i,className:s,color:l="primary",component:c="div",disabled:d=!1,disableElevation:p=!1,disableFocusRipple:m=!1,disableRipple:v=!1,fullWidth:g=!1,orientation:y="horizontal",size:w="medium",variant:x="outlined",...C}=n,P={...n,color:l,component:c,disabled:d,disableElevation:p,disableFocusRipple:m,disableRipple:v,fullWidth:g,orientation:y,size:w,variant:x},k=NI(P),_=T.useMemo(()=>({className:k.grouped,color:l,disabled:d,disableElevation:p,disableFocusRipple:m,disableRipple:v,fullWidth:g,size:w,variant:x}),[l,d,p,m,v,g,w,x,k.grouped]),E=jI(i),A=E.length,I=D=>{const $=D===0,U=D===A-1;return $&&U?"":$?k.firstButton:U?k.lastButton:k.middleButton};return h.jsx($I,{as:c,role:"group",className:je(k.root,s),ref:r,ownerState:P,...C,children:h.jsx(tC.Provider,{value:_,children:E.map((D,$)=>h.jsx(rC.Provider,{value:I($),children:D},$))})})});function BI(t){return Qe("MuiCard",t)}Je("MuiCard",["root"]);const DI=t=>{const{classes:e}=t;return Ye({root:["root"]},BI,e)},FI=be(Rr,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),rr=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiCard"}),{className:i,raised:s=!1,...l}=n,c={...n,raised:s},d=DI(c);return h.jsx(FI,{className:je(d.root,i),elevation:s?8:void 0,ref:r,ownerState:c,...l})});function HI(t){return Qe("MuiCardContent",t)}Je("MuiCardContent",["root"]);const VI=t=>{const{classes:e}=t;return Ye({root:["root"]},HI,e)},UI=be("div",{name:"MuiCardContent",slot:"Root"})({padding:16,"&:last-child":{paddingBottom:24}}),or=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiCardContent"}),{className:i,component:s="div",...l}=n,c={...n,component:s},d=VI(c);return h.jsx(UI,{as:s,className:je(d.root,i),ownerState:c,ref:r,...l})});function WI(t){return Qe("PrivateSwitchBase",t)}Je("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const qI=t=>{const{classes:e,checked:r,disabled:n,edge:i}=t,s={root:["root",r&&"checked",n&&"disabled",i&&`edge${he(i)}`],input:["input"]};return Ye(s,WI,e)},GI=be(Fa,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:t,ownerState:e})=>t==="start"&&e.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:t,ownerState:e})=>t==="end"&&e.size!=="small",style:{marginRight:-12}}]}),XI=be("input",{name:"MuiSwitchBase",shouldForwardProp:mn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),iC=T.forwardRef(function(e,r){const{autoFocus:n,checked:i,checkedIcon:s,defaultChecked:l,disabled:c,disableFocusRipple:d=!1,edge:p=!1,icon:m,id:v,inputProps:g,inputRef:y,name:w,onBlur:x,onChange:C,onFocus:P,readOnly:k,required:_=!1,tabIndex:E,type:A,value:I,slots:D={},slotProps:$={},...U}=e,[X,H]=Vc({controlled:i,default:!!l,name:"SwitchBase",state:"checked"}),M=xo(),W=ie=>{P&&P(ie),M&&M.onFocus&&M.onFocus(ie)},G=ie=>{x&&x(ie),M&&M.onBlur&&M.onBlur(ie)},B=ie=>{if(ie.nativeEvent.defaultPrevented)return;const ee=ie.target.checked;H(ee),C&&C(ie,ee)};let V=c;M&&typeof V>"u"&&(V=M.disabled);const K=A==="checkbox"||A==="radio",J={...e,checked:X,disabled:V,disableFocusRipple:d,edge:p},Z=qI(J),Q={slots:D,slotProps:{input:g,...$}},[q,ne]=ot("root",{ref:r,elementType:GI,className:Z.root,shouldForwardComponentProp:!0,externalForwardedProps:{...Q,component:"span",...U},getSlotProps:ie=>({...ie,onFocus:ee=>{var pe;(pe=ie.onFocus)==null||pe.call(ie,ee),W(ee)},onBlur:ee=>{var pe;(pe=ie.onBlur)==null||pe.call(ie,ee),G(ee)}}),ownerState:J,additionalProps:{centerRipple:!0,focusRipple:!d,disabled:V,role:void 0,tabIndex:null}}),[ue,oe]=ot("input",{ref:y,elementType:XI,className:Z.input,externalForwardedProps:Q,getSlotProps:ie=>({...ie,onChange:ee=>{var pe;(pe=ie.onChange)==null||pe.call(ie,ee),B(ee)}}),ownerState:J,additionalProps:{autoFocus:n,checked:i,defaultChecked:l,disabled:V,id:K?v:void 0,name:w,readOnly:k,required:_,tabIndex:E,type:A,...A==="checkbox"&&I===void 0?{}:{value:I}}});return h.jsxs(q,{...ne,children:[h.jsx(ue,{...oe}),X?s:m]})}),KI=Pe(h.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"})),QI=Pe(h.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})),YI=Pe(h.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}));function JI(t){return Qe("MuiCheckbox",t)}const Bm=Je("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),ZI=t=>{const{classes:e,indeterminate:r,color:n,size:i}=t,s={root:["root",r&&"indeterminate",`color${he(n)}`,`size${he(i)}`]},l=Ye(s,JI,e);return{...e,...l}},e6=be(iC,{shouldForwardProp:t=>mn(t)||t==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.indeterminate&&e.indeterminate,e[`size${he(r.size)}`],r.color!=="default"&&e[`color${he(r.color)}`]]}})(Ze(({theme:t})=>({color:(t.vars||t).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:t.alpha((t.vars||t).palette.action.active,(t.vars||t).palette.action.hoverOpacity)}}},...Object.entries(t.palette).filter(Nt()).map(([e])=>({props:{color:e,disableRipple:!1},style:{"&:hover":{backgroundColor:t.alpha((t.vars||t).palette[e].main,(t.vars||t).palette.action.hoverOpacity)}}})),...Object.entries(t.palette).filter(Nt()).map(([e])=>({props:{color:e},style:{[`&.${Bm.checked}, &.${Bm.indeterminate}`]:{color:(t.vars||t).palette[e].main},[`&.${Bm.disabled}`]:{color:(t.vars||t).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),t6=h.jsx(QI,{}),r6=h.jsx(KI,{}),n6=h.jsx(YI,{}),i6=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiCheckbox"}),{checkedIcon:i=t6,color:s="primary",icon:l=r6,indeterminate:c=!1,indeterminateIcon:d=n6,inputProps:p,size:m="medium",disableRipple:v=!1,className:g,slots:y={},slotProps:w={},...x}=n,C=c?d:l,P=c?d:i,k={...n,disableRipple:v,color:s,indeterminate:c,size:m},_=ZI(k),E=w.input??p,[A,I]=ot("root",{ref:r,elementType:e6,className:je(_.root,g),shouldForwardComponentProp:!0,externalForwardedProps:{slots:y,slotProps:w,...x},ownerState:k,additionalProps:{type:"checkbox",icon:T.cloneElement(C,{fontSize:C.props.fontSize??m}),checkedIcon:T.cloneElement(P,{fontSize:P.props.fontSize??m}),disableRipple:v,slots:y,slotProps:{input:L2(typeof E=="function"?E(k):E,{"data-indeterminate":c})}}});return h.jsx(A,{...I,classes:_})});function Ax(t){return t.substring(2).toLowerCase()}function o6(t,e){return e.documentElement.clientWidth<t.clientX||e.documentElement.clientHeight<t.clientY}function a6(t){const{children:e,disableReactTree:r=!1,mouseEvent:n="onClick",onClickAway:i,touchEvent:s="onTouchEnd"}=t,l=T.useRef(!1),c=T.useRef(null),d=T.useRef(!1),p=T.useRef(!1);T.useEffect(()=>(setTimeout(()=>{d.current=!0},0),()=>{d.current=!1}),[]);const m=ar(Ya(e),c),v=Vn(w=>{const x=p.current;p.current=!1;const C=Fr(c.current);if(!d.current||!c.current||"clientX"in w&&o6(w,C))return;if(l.current){l.current=!1;return}let P;w.composedPath?P=w.composedPath().includes(c.current):P=!C.documentElement.contains(w.target)||c.current.contains(w.target),!P&&(r||!x)&&i(w)}),g=w=>x=>{p.current=!0;const C=e.props[w];C&&C(x)},y={ref:m};return s!==!1&&(y[s]=g(s)),T.useEffect(()=>{if(s!==!1){const w=Ax(s),x=Fr(c.current),C=()=>{l.current=!0};return x.addEventListener(w,v),x.addEventListener("touchmove",C),()=>{x.removeEventListener(w,v),x.removeEventListener("touchmove",C)}}},[v,s]),n!==!1&&(y[n]=g(n)),T.useEffect(()=>{if(n!==!1){const w=Ax(n),x=Fr(c.current);return x.addEventListener(w,v),()=>{x.removeEventListener(w,v)}}},[v,n]),T.cloneElement(e,y)}const Np=gM({createStyledComponent:be("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`maxWidth${he(String(r.maxWidth))}`],r.fixed&&e.fixed,r.disableGutters&&e.disableGutters]}}),useThemeProps:t=>et({props:t,name:"MuiContainer"})});function oC(t=window){const e=t.document.documentElement.clientWidth;return t.innerWidth-e}function s6(t){const e=Fr(t);return e.body===t?po(t).innerWidth>e.documentElement.clientWidth:t.scrollHeight>t.clientHeight}function Rc(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function Rx(t){return parseInt(po(t).getComputedStyle(t).paddingRight,10)||0}function l6(t){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(t.tagName),n=t.tagName==="INPUT"&&t.getAttribute("type")==="hidden";return r||n}function Ix(t,e,r,n,i){const s=[e,r,...n];[].forEach.call(t.children,l=>{const c=!s.includes(l),d=!l6(l);c&&d&&Rc(l,i)})}function Dm(t,e){let r=-1;return t.some((n,i)=>e(n)?(r=i,!0):!1),r}function c6(t,e){const r=[],n=t.container;if(!e.disableScrollLock){if(s6(n)){const l=oC(po(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${Rx(n)+l}px`;const c=Fr(n).querySelectorAll(".mui-fixed");[].forEach.call(c,d=>{r.push({value:d.style.paddingRight,property:"padding-right",el:d}),d.style.paddingRight=`${Rx(d)+l}px`})}let s;if(n.parentNode instanceof DocumentFragment)s=Fr(n).body;else{const l=n.parentElement,c=po(n);s=(l==null?void 0:l.nodeName)==="HTML"&&c.getComputedStyle(l).overflowY==="scroll"?l:n}r.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return()=>{r.forEach(({value:s,el:l,property:c})=>{s?l.style.setProperty(c,s):l.style.removeProperty(c)})}}function u6(t){const e=[];return[].forEach.call(t.children,r=>{r.getAttribute("aria-hidden")==="true"&&e.push(r)}),e}class d6{constructor(){this.modals=[],this.containers=[]}add(e,r){let n=this.modals.indexOf(e);if(n!==-1)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Rc(e.modalRef,!1);const i=u6(r);Ix(r,e.mount,e.modalRef,i,!0);const s=Dm(this.containers,l=>l.container===r);return s!==-1?(this.containers[s].modals.push(e),n):(this.containers.push({modals:[e],container:r,restore:null,hiddenSiblings:i}),n)}mount(e,r){const n=Dm(this.containers,s=>s.modals.includes(e)),i=this.containers[n];i.restore||(i.restore=c6(i,r))}remove(e,r=!0){const n=this.modals.indexOf(e);if(n===-1)return n;const i=Dm(this.containers,l=>l.modals.includes(e)),s=this.containers[i];if(s.modals.splice(s.modals.indexOf(e),1),this.modals.splice(n,1),s.modals.length===0)s.restore&&s.restore(),e.modalRef&&Rc(e.modalRef,r),Ix(s.container,e.mount,e.modalRef,s.hiddenSiblings,!1),this.containers.splice(i,1);else{const l=s.modals[s.modals.length-1];l.modalRef&&Rc(l.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}function Cc(t){var r;let e=t.activeElement;for(;((r=e==null?void 0:e.shadowRoot)==null?void 0:r.activeElement)!=null;)e=e.shadowRoot.activeElement;return e}const p6=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function f6(t){const e=parseInt(t.getAttribute("tabindex")||"",10);return Number.isNaN(e)?t.contentEditable==="true"||(t.nodeName==="AUDIO"||t.nodeName==="VIDEO"||t.nodeName==="DETAILS")&&t.getAttribute("tabindex")===null?0:t.tabIndex:e}function h6(t){if(t.tagName!=="INPUT"||t.type!=="radio"||!t.name)return!1;const e=n=>t.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=e(`[name="${t.name}"]:checked`);return r||(r=e(`[name="${t.name}"]`)),r!==t}function m6(t){return!(t.disabled||t.tagName==="INPUT"&&t.type==="hidden"||h6(t))}function g6(t){const e=[],r=[];return Array.from(t.querySelectorAll(p6)).forEach((n,i)=>{const s=f6(n);s===-1||!m6(n)||(s===0?e.push(n):r.push({documentOrder:i,tabIndex:s,node:n}))}),r.sort((n,i)=>n.tabIndex===i.tabIndex?n.documentOrder-i.documentOrder:n.tabIndex-i.tabIndex).map(n=>n.node).concat(e)}function y6(){return!0}function v6(t){const{children:e,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:i=!1,getTabbable:s=g6,isEnabled:l=y6,open:c}=t,d=T.useRef(!1),p=T.useRef(null),m=T.useRef(null),v=T.useRef(null),g=T.useRef(null),y=T.useRef(!1),w=T.useRef(null),x=ar(Ya(e),w),C=T.useRef(null);T.useEffect(()=>{!c||!w.current||(y.current=!r)},[r,c]),T.useEffect(()=>{if(!c||!w.current)return;const _=Fr(w.current),E=Cc(_);return w.current.contains(E)||(w.current.hasAttribute("tabIndex")||w.current.setAttribute("tabIndex","-1"),y.current&&w.current.focus()),()=>{i||(v.current&&v.current.focus&&(d.current=!0,v.current.focus()),v.current=null)}},[c]),T.useEffect(()=>{if(!c||!w.current)return;const _=Fr(w.current),E=Cc(_),A=$=>{C.current=$,!(n||!l()||$.key!=="Tab")&&E===w.current&&$.shiftKey&&(d.current=!0,m.current&&m.current.focus())},I=()=>{var H,M;const $=w.current;if($===null)return;const U=Cc(_);if(!_.hasFocus()||!l()||d.current){d.current=!1;return}if($.contains(U)||n&&U!==p.current&&U!==m.current)return;if(U!==g.current)g.current=null;else if(g.current!==null)return;if(!y.current)return;let X=[];if((U===p.current||U===m.current)&&(X=s(w.current)),X.length>0){const W=!!((H=C.current)!=null&&H.shiftKey&&((M=C.current)==null?void 0:M.key)==="Tab"),G=X[0],B=X[X.length-1];typeof G!="string"&&typeof B!="string"&&(W?B.focus():G.focus())}else $.focus()};_.addEventListener("focusin",I),_.addEventListener("keydown",A,!0);const D=setInterval(()=>{const $=Cc(_);$&&$.tagName==="BODY"&&I()},50);return()=>{clearInterval(D),_.removeEventListener("focusin",I),_.removeEventListener("keydown",A,!0)}},[r,n,i,l,c,s]);const P=_=>{v.current===null&&(v.current=_.relatedTarget),y.current=!0,g.current=_.target;const E=e.props.onFocus;E&&E(_)},k=_=>{v.current===null&&(v.current=_.relatedTarget),y.current=!0};return h.jsxs(T.Fragment,{children:[h.jsx("div",{tabIndex:c?0:-1,onFocus:k,ref:p,"data-testid":"sentinelStart"}),T.cloneElement(e,{ref:x,onFocus:P}),h.jsx("div",{tabIndex:c?0:-1,onFocus:k,ref:m,"data-testid":"sentinelEnd"})]})}function b6(t){return typeof t=="function"?t():t}function x6(t){return t?t.props.hasOwnProperty("in"):!1}const jx=()=>{},Hd=new d6;function w6(t){const{container:e,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,closeAfterTransition:i=!1,onTransitionEnter:s,onTransitionExited:l,children:c,onClose:d,open:p,rootRef:m}=t,v=T.useRef({}),g=T.useRef(null),y=T.useRef(null),w=ar(y,m),[x,C]=T.useState(!p),P=x6(c);let k=!0;(t["aria-hidden"]==="false"||t["aria-hidden"]===!1)&&(k=!1);const _=()=>Fr(g.current),E=()=>(v.current.modalRef=y.current,v.current.mount=g.current,v.current),A=()=>{Hd.mount(E(),{disableScrollLock:n}),y.current&&(y.current.scrollTop=0)},I=Vn(()=>{const B=b6(e)||_().body;Hd.add(E(),B),y.current&&A()}),D=()=>Hd.isTopModal(E()),$=Vn(B=>{g.current=B,B&&(p&&D()?A():y.current&&Rc(y.current,k))}),U=T.useCallback(()=>{Hd.remove(E(),k)},[k]);T.useEffect(()=>()=>{U()},[U]),T.useEffect(()=>{p?I():(!P||!i)&&U()},[p,U,P,i,I]);const X=B=>V=>{var K;(K=B.onKeyDown)==null||K.call(B,V),!(V.key!=="Escape"||V.which===229||!D())&&(r||(V.stopPropagation(),d&&d(V,"escapeKeyDown")))},H=B=>V=>{var K;(K=B.onClick)==null||K.call(B,V),V.target===V.currentTarget&&d&&d(V,"backdropClick")};return{getRootProps:(B={})=>{const V=Ip(t);delete V.onTransitionEnter,delete V.onTransitionExited;const K={...V,...B};return{role:"presentation",...K,onKeyDown:X(K),ref:w}},getBackdropProps:(B={})=>{const V=B;return{"aria-hidden":!0,...V,onClick:H(V),open:p}},getTransitionProps:()=>{const B=()=>{C(!1),s&&s()},V=()=>{C(!0),l&&l(),i&&U()};return{onEnter:ix(B,(c==null?void 0:c.props.onEnter)??jx),onExited:ix(V,(c==null?void 0:c.props.onExited)??jx)}},rootRef:w,portalRef:$,isTopModal:D,exited:x,hasTransition:P}}function S6(t){return Qe("MuiModal",t)}Je("MuiModal",["root","hidden","backdrop"]);const C6=t=>{const{open:e,exited:r,classes:n}=t;return Ye({root:["root",!e&&r&&"hidden"],backdrop:["backdrop"]},S6,n)},E6=be("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,!r.open&&r.exited&&e.hidden]}})(Ze(({theme:t})=>({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),T6=be(EI,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),k6=T.forwardRef(function(e,r){const n=et({name:"MuiModal",props:e}),{BackdropComponent:i=T6,BackdropProps:s,classes:l,className:c,closeAfterTransition:d=!1,children:p,container:m,component:v,components:g={},componentsProps:y={},disableAutoFocus:w=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:C=!1,disablePortal:P=!1,disableRestoreFocus:k=!1,disableScrollLock:_=!1,hideBackdrop:E=!1,keepMounted:A=!1,onClose:I,onTransitionEnter:D,onTransitionExited:$,open:U,slotProps:X={},slots:H={},theme:M,...W}=n,G={...n,closeAfterTransition:d,disableAutoFocus:w,disableEnforceFocus:x,disableEscapeKeyDown:C,disablePortal:P,disableRestoreFocus:k,disableScrollLock:_,hideBackdrop:E,keepMounted:A},{getRootProps:B,getBackdropProps:V,getTransitionProps:K,portalRef:J,isTopModal:Z,exited:Q,hasTransition:q}=w6({...G,rootRef:r}),ne={...G,exited:Q},ue=C6(ne),oe={};if(p.props.tabIndex===void 0&&(oe.tabIndex="-1"),q){const{onEnter:se,onExited:Le}=K();oe.onEnter=se,oe.onExited=Le}const ie={slots:{root:g.Root,backdrop:g.Backdrop,...H},slotProps:{...y,...X}},[ee,pe]=ot("root",{ref:r,elementType:E6,externalForwardedProps:{...ie,...W,component:v},getSlotProps:B,ownerState:ne,className:je(c,ue==null?void 0:ue.root,!ne.open&&ne.exited&&(ue==null?void 0:ue.hidden))}),[ve,xe]=ot("backdrop",{ref:s==null?void 0:s.ref,elementType:i,externalForwardedProps:ie,shouldForwardComponentProp:!0,additionalProps:s,getSlotProps:se=>V({...se,onClick:Le=>{se!=null&&se.onClick&&se.onClick(Le)}}),className:je(s==null?void 0:s.className,ue==null?void 0:ue.backdrop),ownerState:ne});return!A&&!U&&(!q||Q)?null:h.jsx(Z2,{ref:J,container:m,disablePortal:P,children:h.jsxs(ee,{...pe,children:[!E&&i?h.jsx(ve,{...xe}):null,h.jsx(v6,{disableEnforceFocus:x,disableAutoFocus:w,disableRestoreFocus:k,isEnabled:Z,open:U,children:T.cloneElement(p,oe)})]})})}),Ox=Je("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),P6=t=>{const{classes:e,disableUnderline:r,startAdornment:n,endAdornment:i,size:s,hiddenLabel:l,multiline:c}=t,d={root:["root",!r&&"underline",n&&"adornedStart",i&&"adornedEnd",s==="small"&&`size${he(s)}`,l&&"hiddenLabel",c&&"multiline"],input:["input"]},p=Ye(d,uI,e);return{...e,...p}},M6=be(Sf,{shouldForwardProp:t=>mn(t)||t==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[...xf(t,e),!r.disableUnderline&&e.underline]}})(Ze(({theme:t})=>{const e=t.palette.mode==="light",r=e?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",n=e?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=e?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=e?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:n,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:n}},[`&.${Ma.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:n},[`&.${Ma.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:s},variants:[{props:({ownerState:l})=>!l.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Ma.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ma.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${t.vars?t.alpha(t.vars.palette.common.onBackground,t.vars.opacity.inputUnderline):r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Ma.disabled}, .${Ma.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${Ma.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter(Nt()).map(([l])=>{var c;return{props:{disableUnderline:!1,color:l},style:{"&::after":{borderBottom:`2px solid ${(c=(t.vars||t).palette[l])==null?void 0:c.main}`}}}}),{props:({ownerState:l})=>l.startAdornment,style:{paddingLeft:12}},{props:({ownerState:l})=>l.endAdornment,style:{paddingRight:12}},{props:({ownerState:l})=>l.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:l,size:c})=>l.multiline&&c==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel&&l.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),_6=be(Cf,{name:"MuiFilledInput",slot:"Input",overridesResolver:wf})(Ze(({theme:t})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:t.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:t.palette.mode==="light"?null:"#fff",caretColor:t.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.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&&e.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Iy=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiFilledInput"}),{disableUnderline:i=!1,components:s={},componentsProps:l,fullWidth:c=!1,hiddenLabel:d,inputComponent:p="input",multiline:m=!1,slotProps:v,slots:g={},type:y="text",...w}=n,x={...n,disableUnderline:i,fullWidth:c,inputComponent:p,multiline:m,type:y},C=P6(n),P={root:{ownerState:x},input:{ownerState:x}},k=v??l?Cr(P,v??l):P,_=g.root??s.Root??M6,E=g.input??s.Input??_6;return h.jsx(Ry,{slots:{root:_,input:E},slotProps:k,fullWidth:c,inputComponent:p,multiline:m,ref:r,type:y,...w,classes:C})});Iy.muiName="Input";function A6(t){return Qe("MuiFormControl",t)}Je("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const R6=t=>{const{classes:e,margin:r,fullWidth:n}=t,i={root:["root",r!=="none"&&`margin${he(r)}`,n&&"fullWidth"]};return Ye(i,A6,e)},I6=be("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`margin${he(r.margin)}`],r.fullWidth&&e.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%"}}]}),Yo=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiFormControl"}),{children:i,className:s,color:l="primary",component:c="div",disabled:d=!1,error:p=!1,focused:m,fullWidth:v=!1,hiddenLabel:g=!1,margin:y="none",required:w=!1,size:x="medium",variant:C="outlined",...P}=n,k={...n,color:l,component:c,disabled:d,error:p,fullWidth:v,hiddenLabel:g,margin:y,required:w,size:x,variant:C},_=R6(k),[E,A]=T.useState(()=>{let B=!1;return i&&T.Children.forEach(i,V=>{if(!gp(V,["Input","Select"]))return;const K=gp(V,["Select"])?V.props.input:V;K&&oI(K.props)&&(B=!0)}),B}),[I,D]=T.useState(()=>{let B=!1;return i&&T.Children.forEach(i,V=>{gp(V,["Input","Select"])&&(Lp(V.props,!0)||Lp(V.props.inputProps,!0))&&(B=!0)}),B}),[$,U]=T.useState(!1);d&&$&&U(!1);const X=m!==void 0&&!d?m:$;let H;T.useRef(!1);const M=T.useCallback(()=>{D(!0)},[]),W=T.useCallback(()=>{D(!1)},[]),G=T.useMemo(()=>({adornedStart:E,setAdornedStart:A,color:l,disabled:d,error:p,filled:I,focused:X,fullWidth:v,hiddenLabel:g,size:x,onBlur:()=>{U(!1)},onFocus:()=>{U(!0)},onEmpty:W,onFilled:M,registerEffect:H,required:w,variant:C}),[E,l,d,p,I,X,v,g,H,W,M,w,x,C]);return h.jsx(bf.Provider,{value:G,children:h.jsx(I6,{as:c,ownerState:k,className:je(_.root,s),ref:r,...P,children:i})})});function j6(t){return Qe("MuiFormControlLabel",t)}const Ec=Je("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),O6=t=>{const{classes:e,disabled:r,labelPlacement:n,error:i,required:s}=t,l={root:["root",r&&"disabled",`labelPlacement${he(n)}`,i&&"error",s&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",i&&"error"]};return Ye(l,j6,e)},L6=be("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`& .${Ec.label}`]:e.label},e.root,e[`labelPlacement${he(r.labelPlacement)}`]]}})(Ze(({theme:t})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Ec.disabled}`]:{cursor:"default"},[`& .${Ec.label}`]:{[`&.${Ec.disabled}`]:{color:(t.vars||t).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})=>e==="start"||e==="top"||e==="bottom",style:{marginLeft:16}}]}))),N6=be("span",{name:"MuiFormControlLabel",slot:"Asterisk"})(Ze(({theme:t})=>({[`&.${Ec.error}`]:{color:(t.vars||t).palette.error.main}}))),aC=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiFormControlLabel"}),{checked:i,className:s,componentsProps:l={},control:c,disabled:d,disableTypography:p,inputRef:m,label:v,labelPlacement:g="end",name:y,onChange:w,required:x,slots:C={},slotProps:P={},value:k,..._}=n,E=xo(),A=d??c.props.disabled??(E==null?void 0:E.disabled),I=x??c.props.required,D={disabled:A,required:I};["checked","name","onChange","value","inputRef"].forEach(B=>{typeof c.props[B]>"u"&&typeof n[B]<"u"&&(D[B]=n[B])});const $=Ja({props:n,muiFormControl:E,states:["error"]}),U={...n,disabled:A,labelPlacement:g,required:I,error:$.error},X=O6(U),H={slots:C,slotProps:{...l,...P}},[M,W]=ot("typography",{elementType:Te,externalForwardedProps:H,ownerState:U});let G=v;return G!=null&&G.type!==Te&&!p&&(G=h.jsx(M,{component:"span",...W,className:je(X.label,W==null?void 0:W.className),children:G})),h.jsxs(L6,{className:je(X.root,s),ownerState:U,ref:r,..._,children:[T.cloneElement(c,D),I?h.jsxs("div",{children:[G,h.jsxs(N6,{ownerState:U,"aria-hidden":!0,className:X.asterisk,children:[" ","*"]})]}):G]})});function $6(t){return Qe("MuiFormHelperText",t)}const Lx=Je("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var Nx;const z6=t=>{const{classes:e,contained:r,size:n,disabled:i,error:s,filled:l,focused:c,required:d}=t,p={root:["root",i&&"disabled",s&&"error",n&&`size${he(n)}`,r&&"contained",c&&"focused",l&&"filled",d&&"required"]};return Ye(p,$6,e)},B6=be("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.size&&e[`size${he(r.size)}`],r.contained&&e.contained,r.filled&&e.filled]}})(Ze(({theme:t})=>({color:(t.vars||t).palette.text.secondary,...t.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Lx.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${Lx.error}`]:{color:(t.vars||t).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]}))),yl=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiFormHelperText"}),{children:i,className:s,component:l="p",disabled:c,error:d,filled:p,focused:m,margin:v,required:g,variant:y,...w}=n,x=xo(),C=Ja({props:n,muiFormControl:x,states:["variant","size","disabled","error","filled","focused","required"]}),P={...n,component:l,contained:C.variant==="filled"||C.variant==="outlined",variant:C.variant,size:C.size,disabled:C.disabled,error:C.error,filled:C.filled,focused:C.focused,required:C.required};delete P.ownerState;const k=z6(P);return h.jsx(B6,{as:l,className:je(k.root,s),ref:r,...w,ownerState:P,children:i===" "?Nx||(Nx=h.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):i})});function D6(t){return Qe("MuiFormLabel",t)}const Ic=Je("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),F6=t=>{const{classes:e,color:r,focused:n,disabled:i,error:s,filled:l,required:c}=t,d={root:["root",`color${he(r)}`,i&&"disabled",s&&"error",l&&"filled",n&&"focused",c&&"required"],asterisk:["asterisk",s&&"error"]};return Ye(d,D6,e)},H6=be("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.color==="secondary"&&e.colorSecondary,r.filled&&e.filled]}})(Ze(({theme:t})=>({color:(t.vars||t).palette.text.secondary,...t.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(t.palette).filter(Nt()).map(([e])=>({props:{color:e},style:{[`&.${Ic.focused}`]:{color:(t.vars||t).palette[e].main}}})),{props:{},style:{[`&.${Ic.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${Ic.error}`]:{color:(t.vars||t).palette.error.main}}}]}))),V6=be("span",{name:"MuiFormLabel",slot:"Asterisk"})(Ze(({theme:t})=>({[`&.${Ic.error}`]:{color:(t.vars||t).palette.error.main}}))),U6=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiFormLabel"}),{children:i,className:s,color:l,component:c="label",disabled:d,error:p,filled:m,focused:v,required:g,...y}=n,w=xo(),x=Ja({props:n,muiFormControl:w,states:["color","required","focused","disabled","error","filled"]}),C={...n,color:x.color||"primary",component:c,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required},P=F6(C);return h.jsxs(H6,{as:c,ownerState:C,className:je(P.root,s),ref:r,...y,children:[i,x.required&&h.jsxs(V6,{ownerState:C,"aria-hidden":!0,className:P.asterisk,children:[" ","*"]})]})}),Yr=IM({createStyledComponent:be("div",{name:"MuiGrid",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.container&&e.container]}}),componentName:"MuiGrid",useThemeProps:t=>et({props:t,name:"MuiGrid"}),useTheme:Yn});function Eg(t){return`scale(${t}, ${t**2})`}const W6={entering:{opacity:1,transform:Eg(1)},entered:{opacity:1,transform:"none"}},Fm=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Gc=T.forwardRef(function(e,r){const{addEndListener:n,appear:i=!0,children:s,easing:l,in:c,onEnter:d,onEntered:p,onEntering:m,onExit:v,onExited:g,onExiting:y,style:w,timeout:x="auto",TransitionComponent:C=mi,...P}=e,k=qo(),_=T.useRef(),E=Yn(),A=T.useRef(null),I=ar(A,Ya(s),r),D=B=>V=>{if(B){const K=A.current;V===void 0?B(K):B(K,V)}},$=D(m),U=D((B,V)=>{B2(B);const{duration:K,delay:J,easing:Z}=qs({style:w,timeout:x,easing:l},{mode:"enter"});let Q;x==="auto"?(Q=E.transitions.getAutoHeightDuration(B.clientHeight),_.current=Q):Q=K,B.style.transition=[E.transitions.create("opacity",{duration:Q,delay:J}),E.transitions.create("transform",{duration:Fm?Q:Q*.666,delay:J,easing:Z})].join(","),d&&d(B,V)}),X=D(p),H=D(y),M=D(B=>{const{duration:V,delay:K,easing:J}=qs({style:w,timeout:x,easing:l},{mode:"exit"});let Z;x==="auto"?(Z=E.transitions.getAutoHeightDuration(B.clientHeight),_.current=Z):Z=V,B.style.transition=[E.transitions.create("opacity",{duration:Z,delay:K}),E.transitions.create("transform",{duration:Fm?Z:Z*.666,delay:Fm?K:K||Z*.333,easing:J})].join(","),B.style.opacity=0,B.style.transform=Eg(.75),v&&v(B)}),W=D(g),G=B=>{x==="auto"&&k.start(_.current||0,B),n&&n(A.current,B)};return h.jsx(C,{appear:i,in:c,nodeRef:A,onEnter:U,onEntered:X,onEntering:$,onExit:M,onExited:W,onExiting:H,addEndListener:G,timeout:x==="auto"?null:x,...P,children:(B,{ownerState:V,...K})=>T.cloneElement(s,{style:{opacity:0,transform:Eg(.75),visibility:B==="exited"&&!c?"hidden":void 0,...W6[B],...w,...s.props.style},ref:I,...K})})});Gc&&(Gc.muiSupportAuto=!0);const q6=t=>{const{classes:e,disableUnderline:r}=t,i=Ye({root:["root",!r&&"underline"],input:["input"]},lI,e);return{...e,...i}},G6=be(Sf,{shouldForwardProp:t=>mn(t)||t==="classes",name:"MuiInput",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[...xf(t,e),!r.disableUnderline&&e.underline]}})(Ze(({theme:t})=>{let r=t.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(r=t.alpha(t.vars.palette.common.onBackground,t.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:n})=>n.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:n})=>!n.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${cc.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${cc.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${cc.disabled}, .${cc.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${cc.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter(Nt()).map(([n])=>({props:{color:n,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[n].main}`}}}))]}})),X6=be(Cf,{name:"MuiInput",slot:"Input",overridesResolver:wf})({}),Ef=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiInput"}),{disableUnderline:i=!1,components:s={},componentsProps:l,fullWidth:c=!1,inputComponent:d="input",multiline:p=!1,slotProps:m,slots:v={},type:g="text",...y}=n,w=q6(n),C={root:{ownerState:{disableUnderline:i}}},P=m??l?Cr(m??l,C):C,k=v.root??s.Root??G6,_=v.input??s.Input??X6;return h.jsx(Ry,{slots:{root:k,input:_},slotProps:P,fullWidth:c,inputComponent:d,multiline:p,ref:r,type:g,...y,classes:w})});Ef.muiName="Input";function K6(t){return Qe("MuiInputAdornment",t)}const $x=Je("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var zx;const Q6=(t,e)=>{const{ownerState:r}=t;return[e.root,e[`position${he(r.position)}`],r.disablePointerEvents===!0&&e.disablePointerEvents,e[r.variant]]},Y6=t=>{const{classes:e,disablePointerEvents:r,hiddenLabel:n,position:i,size:s,variant:l}=t,c={root:["root",r&&"disablePointerEvents",i&&`position${he(i)}`,l,n&&"hiddenLabel",s&&`size${he(s)}`]};return Ye(c,K6,e)},J6=be("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:Q6})(Ze(({theme:t})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${$x.positionStart}&:not(.${$x.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),Bx=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiInputAdornment"}),{children:i,className:s,component:l="div",disablePointerEvents:c=!1,disableTypography:d=!1,position:p,variant:m,...v}=n,g=xo()||{};let y=m;m&&g.variant,g&&!y&&(y=g.variant);const w={...n,hiddenLabel:g.hiddenLabel,size:g.size,disablePointerEvents:c,position:p,variant:y},x=Y6(w);return h.jsx(bf.Provider,{value:null,children:h.jsx(J6,{as:l,ownerState:w,className:je(x.root,s),ref:r,...v,children:typeof i=="string"&&!d?h.jsx(Te,{color:"textSecondary",children:i}):h.jsxs(T.Fragment,{children:[p==="start"?zx||(zx=h.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,i]})})})});function Z6(t){return Qe("MuiInputLabel",t)}Je("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const ej=t=>{const{classes:e,formControl:r,size:n,shrink:i,disableAnimation:s,variant:l,required:c}=t,d={root:["root",r&&"formControl",!s&&"animated",i&&"shrink",n&&n!=="medium"&&`size${he(n)}`,l],asterisk:[c&&"asterisk"]},p=Ye(d,Z6,e);return{...e,...p}},tj=be(U6,{shouldForwardProp:t=>mn(t)||t==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`& .${Ic.asterisk}`]:e.asterisk},e.root,r.formControl&&e.formControl,r.size==="small"&&e.sizeSmall,r.shrink&&e.shrink,!r.disableAnimation&&e.animated,r.focused&&e.focused,e[r.variant]]}})(Ze(({theme:t})=>({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:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.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:r})=>e==="filled"&&r.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:e,ownerState:r,size:n})=>e==="filled"&&r.shrink&&n==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:e,ownerState:r})=>e==="outlined"&&r.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Zs=T.forwardRef(function(e,r){const n=et({name:"MuiInputLabel",props:e}),{disableAnimation:i=!1,margin:s,shrink:l,variant:c,className:d,...p}=n,m=xo();let v=l;typeof v>"u"&&m&&(v=m.filled||m.focused||m.adornedStart);const g=Ja({props:n,muiFormControl:m,states:["size","variant","required","focused"]}),y={...n,disableAnimation:i,formControl:m,shrink:v,size:g.size,variant:g.variant,required:g.required,focused:g.focused},w=ej(y);return h.jsx(tj,{"data-shrink":v,ref:r,className:je(w.root,d),...p,ownerState:y,classes:w})});function rj(t){return Qe("MuiLinearProgress",t)}Je("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const Tg=4,kg=qi`
220
- 0% {
221
- left: -35%;
222
- right: 100%;
223
- }
224
-
225
- 60% {
226
- left: 100%;
227
- right: -90%;
228
- }
229
-
230
- 100% {
231
- left: 100%;
232
- right: -90%;
233
- }
234
- `,nj=typeof kg!="string"?aa`
235
- animation: ${kg} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
236
- `:null,Pg=qi`
237
- 0% {
238
- left: -200%;
239
- right: 100%;
240
- }
241
-
242
- 60% {
243
- left: 107%;
244
- right: -8%;
245
- }
246
-
247
- 100% {
248
- left: 107%;
249
- right: -8%;
250
- }
251
- `,ij=typeof Pg!="string"?aa`
252
- animation: ${Pg} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
253
- `:null,Mg=qi`
254
- 0% {
255
- opacity: 1;
256
- background-position: 0 -23px;
257
- }
258
-
259
- 60% {
260
- opacity: 0;
261
- background-position: 0 -23px;
262
- }
263
-
264
- 100% {
265
- opacity: 1;
266
- background-position: -200px -23px;
267
- }
268
- `,oj=typeof Mg!="string"?aa`
269
- animation: ${Mg} 3s infinite linear;
270
- `:null,aj=t=>{const{classes:e,variant:r,color:n}=t,i={root:["root",`color${he(n)}`,r],dashed:["dashed",`dashedColor${he(n)}`],bar1:["bar","bar1",`barColor${he(n)}`,(r==="indeterminate"||r==="query")&&"bar1Indeterminate",r==="determinate"&&"bar1Determinate",r==="buffer"&&"bar1Buffer"],bar2:["bar","bar2",r!=="buffer"&&`barColor${he(n)}`,r==="buffer"&&`color${he(n)}`,(r==="indeterminate"||r==="query")&&"bar2Indeterminate",r==="buffer"&&"bar2Buffer"]};return Ye(i,rj,e)},jy=(t,e)=>t.vars?t.vars.palette.LinearProgress[`${e}Bg`]:t.palette.mode==="light"?t.lighten(t.palette[e].main,.62):t.darken(t.palette[e].main,.5),sj=be("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`color${he(r.color)}`],e[r.variant]]}})(Ze(({theme:t})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(t.palette).filter(Nt()).map(([e])=>({props:{color:e},style:{backgroundColor:jy(t,e)}})),{props:({ownerState:e})=>e.color==="inherit"&&e.variant!=="buffer",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)"}}]}))),lj=be("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.dashed,e[`dashedColor${he(r.color)}`]]}})(Ze(({theme:t})=>({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(t.palette).filter(Nt()).map(([e])=>{const r=jy(t,e);return{props:{color:e},style:{backgroundImage:`radial-gradient(${r} 0%, ${r} 16%, transparent 42%)`}}})]})),oj||{animation:`${Mg} 3s infinite linear`}),cj=be("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.bar,e.bar1,e[`barColor${he(r.color)}`],(r.variant==="indeterminate"||r.variant==="query")&&e.bar1Indeterminate,r.variant==="determinate"&&e.bar1Determinate,r.variant==="buffer"&&e.bar1Buffer]}})(Ze(({theme:t})=>({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(t.palette).filter(Nt()).map(([e])=>({props:{color:e},style:{backgroundColor:(t.vars||t).palette[e].main}})),{props:{variant:"determinate"},style:{transition:`transform .${Tg}s linear`}},{props:{variant:"buffer"},style:{zIndex:1,transition:`transform .${Tg}s linear`}},{props:({ownerState:e})=>e.variant==="indeterminate"||e.variant==="query",style:{width:"auto"}},{props:({ownerState:e})=>e.variant==="indeterminate"||e.variant==="query",style:nj||{animation:`${kg} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),uj=be("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.bar,e.bar2,e[`barColor${he(r.color)}`],(r.variant==="indeterminate"||r.variant==="query")&&e.bar2Indeterminate,r.variant==="buffer"&&e.bar2Buffer]}})(Ze(({theme:t})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(t.palette).filter(Nt()).map(([e])=>({props:{color:e},style:{"--LinearProgressBar2-barColor":(t.vars||t).palette[e].main}})),{props:({ownerState:e})=>e.variant!=="buffer"&&e.color!=="inherit",style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:e})=>e.variant!=="buffer"&&e.color==="inherit",style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(t.palette).filter(Nt()).map(([e])=>({props:{color:e,variant:"buffer"},style:{backgroundColor:jy(t,e),transition:`transform .${Tg}s linear`}})),{props:({ownerState:e})=>e.variant==="indeterminate"||e.variant==="query",style:{width:"auto"}},{props:({ownerState:e})=>e.variant==="indeterminate"||e.variant==="query",style:ij||{animation:`${Pg} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),sC=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiLinearProgress"}),{className:i,color:s="primary",value:l,valueBuffer:c,variant:d="indeterminate",...p}=n,m={...n,color:s,variant:d},v=aj(m),g=mu(),y={},w={bar1:{},bar2:{}};if((d==="determinate"||d==="buffer")&&l!==void 0){y["aria-valuenow"]=Math.round(l),y["aria-valuemin"]=0,y["aria-valuemax"]=100;let x=l-100;g&&(x=-x),w.bar1.transform=`translateX(${x}%)`}if(d==="buffer"&&c!==void 0){let x=(c||0)-100;g&&(x=-x),w.bar2.transform=`translateX(${x}%)`}return h.jsxs(sj,{className:je(v.root,i),ownerState:m,role:"progressbar",...y,ref:r,...p,children:[d==="buffer"?h.jsx(lj,{className:v.dashed,ownerState:m}):null,h.jsx(cj,{className:v.bar1,ownerState:m,style:w.bar1}),d==="determinate"?null:h.jsx(uj,{className:v.bar2,ownerState:m,style:w.bar2})]})});function dj(t){return Qe("MuiLink",t)}const pj=Je("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),fj=({theme:t,ownerState:e})=>{const r=e.color;if("colorSpace"in t&&t.colorSpace){const s=Oi(t,`palette.${r}.main`)||Oi(t,`palette.${r}`)||e.color;return t.alpha(s,.4)}const n=Oi(t,`palette.${r}.main`,!1)||Oi(t,`palette.${r}`,!1)||e.color,i=Oi(t,`palette.${r}.mainChannel`)||Oi(t,`palette.${r}Channel`);return"vars"in t&&i?`rgba(${i} / 0.4)`:Hc(n,.4)},Dx={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},hj=t=>{const{classes:e,component:r,focusVisible:n,underline:i}=t,s={root:["root",`underline${he(i)}`,r==="button"&&"button",n&&"focusVisible"]};return Ye(s,dj,e)},mj=be(Te,{name:"MuiLink",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`underline${he(r.underline)}`],r.component==="button"&&e.button]}})(Ze(({theme:t})=>({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:r})=>e==="always"&&r.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},{props:({underline:e,ownerState:r})=>e==="always"&&r.color==="inherit",style:t.colorSpace?{textDecorationColor:t.alpha("currentColor",.4)}:null},...Object.entries(t.palette).filter(Nt()).map(([e])=>({props:{underline:"always",color:e},style:{"--Link-underlineColor":t.alpha((t.vars||t).palette[e].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":t.alpha((t.vars||t).palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":t.alpha((t.vars||t).palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(t.vars||t).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"},[`&.${pj.focusVisible}`]:{outline:"auto"}}}]}))),gj=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiLink"}),i=Yn(),{className:s,color:l="primary",component:c="a",onBlur:d,onFocus:p,TypographyClasses:m,underline:v="always",variant:g="inherit",sx:y,...w}=n,[x,C]=T.useState(!1),P=A=>{Gs(A.target)||C(!1),d&&d(A)},k=A=>{Gs(A.target)&&C(!0),p&&p(A)},_={...n,color:l,component:c,focusVisible:x,underline:v,variant:g},E=hj(_);return h.jsx(mj,{color:l,className:je(E.root,s),classes:m,component:c,onBlur:P,onFocus:k,ref:r,ownerState:_,variant:g,...w,sx:[...Dx[l]===void 0?[{color:l}]:[],...Array.isArray(y)?y:[y]],style:{...w.style,...v==="always"&&l!=="inherit"&&!Dx[l]&&{"--Link-underlineColor":fj({theme:i,ownerState:_})}}})}),Xc=T.createContext({});function yj(t){return Qe("MuiList",t)}Je("MuiList",["root","padding","dense","subheader"]);const vj=t=>{const{classes:e,disablePadding:r,dense:n,subheader:i}=t;return Ye({root:["root",!r&&"padding",n&&"dense",i&&"subheader"]},yj,e)},bj=be("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,!r.disablePadding&&e.padding,r.dense&&e.dense,r.subheader&&e.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>t.subheader,style:{paddingTop:0}}]}),xj=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiList"}),{children:i,className:s,component:l="ul",dense:c=!1,disablePadding:d=!1,subheader:p,...m}=n,v=T.useMemo(()=>({dense:c}),[c]),g={...n,component:l,dense:c,disablePadding:d},y=vj(g);return h.jsx(Xc.Provider,{value:v,children:h.jsxs(bj,{as:l,className:je(y.root,s),ref:r,ownerState:g,...m,children:[p,i]})})});function wj(t){return Qe("MuiListItemIcon",t)}const Fx=Je("MuiListItemIcon",["root","alignItemsFlexStart"]),Sj=t=>{const{alignItems:e,classes:r}=t;return Ye({root:["root",e==="flex-start"&&"alignItemsFlexStart"]},wj,r)},Cj=be("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.alignItems==="flex-start"&&e.alignItemsFlexStart]}})(Ze(({theme:t})=>({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),vp=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiListItemIcon"}),{className:i,...s}=n,l=T.useContext(Xc),c={...n,alignItems:l.alignItems},d=Sj(c);return h.jsx(Cj,{className:je(d.root,i),ownerState:c,ref:r,...s})});function Ej(t){return Qe("MuiListItemText",t)}const zs=Je("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Tj=t=>{const{classes:e,inset:r,primary:n,secondary:i,dense:s}=t;return Ye({root:["root",r&&"inset",s&&"dense",n&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},Ej,e)},kj=be("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`& .${zs.primary}`]:e.primary},{[`& .${zs.secondary}`]:e.secondary},e.root,r.inset&&e.inset,r.primary&&r.secondary&&e.multiline,r.dense&&e.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${px.root}:where(& .${zs.primary})`]:{display:"block"},[`.${px.root}:where(& .${zs.secondary})`]:{display:"block"},variants:[{props:({ownerState:t})=>t.primary&&t.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:56}}]}),bp=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiListItemText"}),{children:i,className:s,disableTypography:l=!1,inset:c=!1,primary:d,primaryTypographyProps:p,secondary:m,secondaryTypographyProps:v,slots:g={},slotProps:y={},...w}=n,{dense:x}=T.useContext(Xc);let C=d??i,P=m;const k={...n,disableTypography:l,inset:c,primary:!!C,secondary:!!P,dense:x},_=Tj(k),E={slots:g,slotProps:{primary:p,secondary:v,...y}},[A,I]=ot("root",{className:je(_.root,s),elementType:kj,externalForwardedProps:{...E,...w},ownerState:k,ref:r}),[D,$]=ot("primary",{className:_.primary,elementType:Te,externalForwardedProps:E,ownerState:k}),[U,X]=ot("secondary",{className:_.secondary,elementType:Te,externalForwardedProps:E,ownerState:k});return C!=null&&C.type!==Te&&!l&&(C=h.jsx(D,{variant:x?"body2":"body1",component:$!=null&&$.variant?void 0:"span",...$,children:C})),P!=null&&P.type!==Te&&!l&&(P=h.jsx(U,{variant:"body2",color:"textSecondary",...X,children:P})),h.jsxs(A,{...I,children:[C,P]})});function Hm(t,e,r){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:r?null:t.firstChild}function Hx(t,e,r){return t===e?r?t.firstChild:t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:r?null:t.lastChild}function lC(t,e){if(e===void 0)return!0;let r=t.innerText;return r===void 0&&(r=t.textContent),r=r.trim().toLowerCase(),r.length===0?!1:e.repeating?r[0]===e.keys[0]:r.startsWith(e.keys.join(""))}function uc(t,e,r,n,i,s){let l=!1,c=i(t,e,e?r:!1);for(;c;){if(c===t.firstChild){if(l)return!1;l=!0}const d=n?!1:c.disabled||c.getAttribute("aria-disabled")==="true";if(!c.hasAttribute("tabindex")||!lC(c,s)||d)c=i(t,c,r);else return c.focus(),!0}return!1}const Pj=T.forwardRef(function(e,r){const{actions:n,autoFocus:i=!1,autoFocusItem:s=!1,children:l,className:c,disabledItemsFocusable:d=!1,disableListWrap:p=!1,onKeyDown:m,variant:v="selectedMenu",...g}=e,y=T.useRef(null),w=T.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});_n(()=>{i&&y.current.focus()},[i]),T.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(_,{direction:E})=>{const A=!y.current.style.width;if(_.clientHeight<y.current.clientHeight&&A){const I=`${oC(po(_))}px`;y.current.style[E==="rtl"?"paddingLeft":"paddingRight"]=I,y.current.style.width=`calc(100% + ${I})`}return y.current}}),[]);const x=_=>{const E=y.current,A=_.key;if(_.ctrlKey||_.metaKey||_.altKey){m&&m(_);return}const D=Cc(Fr(E));if(A==="ArrowDown")_.preventDefault(),uc(E,D,p,d,Hm);else if(A==="ArrowUp")_.preventDefault(),uc(E,D,p,d,Hx);else if(A==="Home")_.preventDefault(),uc(E,null,p,d,Hm);else if(A==="End")_.preventDefault(),uc(E,null,p,d,Hx);else if(A.length===1){const $=w.current,U=A.toLowerCase(),X=performance.now();$.keys.length>0&&(X-$.lastTime>500?($.keys=[],$.repeating=!0,$.previousKeyMatched=!0):$.repeating&&U!==$.keys[0]&&($.repeating=!1)),$.lastTime=X,$.keys.push(U);const H=D&&!$.repeating&&lC(D,$);$.previousKeyMatched&&(H||uc(E,D,!1,d,Hm,$))?_.preventDefault():$.previousKeyMatched=!1}m&&m(_)},C=ar(y,r);let P=-1;T.Children.forEach(l,(_,E)=>{if(!T.isValidElement(_)){P===E&&(P+=1,P>=l.length&&(P=-1));return}_.props.disabled||(v==="selectedMenu"&&_.props.selected||P===-1)&&(P=E),P===E&&(_.props.disabled||_.props.muiSkipListHighlight||_.type.muiSkipListHighlight)&&(P+=1,P>=l.length&&(P=-1))});const k=T.Children.map(l,(_,E)=>{if(E===P){const A={};return s&&(A.autoFocus=!0),_.props.tabIndex===void 0&&v==="selectedMenu"&&(A.tabIndex=0),T.cloneElement(_,A)}return _});return h.jsx(xj,{role:"menu",ref:C,className:c,onKeyDown:x,tabIndex:i?0:-1,...g,children:k})});function Mj(t){return Qe("MuiPopover",t)}Je("MuiPopover",["root","paper"]);function Vx(t,e){let r=0;return typeof e=="number"?r=e:e==="center"?r=t.height/2:e==="bottom"&&(r=t.height),r}function Ux(t,e){let r=0;return typeof e=="number"?r=e:e==="center"?r=t.width/2:e==="right"&&(r=t.width),r}function Wx(t){return[t.horizontal,t.vertical].map(e=>typeof e=="number"?`${e}px`:e).join(" ")}function Vd(t){return typeof t=="function"?t():t}const _j=t=>{const{classes:e}=t;return Ye({root:["root"],paper:["paper"]},Mj,e)},Aj=be(k6,{name:"MuiPopover",slot:"Root"})({}),cC=be(Rr,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Rj=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiPopover"}),{action:i,anchorEl:s,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:d="anchorEl",children:p,className:m,container:v,elevation:g=8,marginThreshold:y=16,open:w,PaperProps:x={},slots:C={},slotProps:P={},transformOrigin:k={vertical:"top",horizontal:"left"},TransitionComponent:_,transitionDuration:E="auto",TransitionProps:A={},disableScrollLock:I=!1,...D}=n,$=T.useRef(),U={...n,anchorOrigin:l,anchorReference:d,elevation:g,marginThreshold:y,transformOrigin:k,TransitionComponent:_,transitionDuration:E,TransitionProps:A},X=_j(U),H=T.useCallback(()=>{if(d==="anchorPosition")return c;const se=Vd(s),De=(se&&se.nodeType===1?se:Fr($.current).body).getBoundingClientRect();return{top:De.top+Vx(De,l.vertical),left:De.left+Ux(De,l.horizontal)}},[s,l.horizontal,l.vertical,c,d]),M=T.useCallback(se=>({vertical:Vx(se,k.vertical),horizontal:Ux(se,k.horizontal)}),[k.horizontal,k.vertical]),W=T.useCallback(se=>{const Le={width:se.offsetWidth,height:se.offsetHeight},De=M(Le);if(d==="none")return{top:null,left:null,transformOrigin:Wx(De)};const ze=H();let Oe=ze.top-De.vertical,_e=ze.left-De.horizontal;const st=Oe+Le.height,ft=_e+Le.width,dt=po(Vd(s)),St=dt.innerHeight-y,xt=dt.innerWidth-y;if(y!==null&&Oe<y){const ht=Oe-y;Oe-=ht,De.vertical+=ht}else if(y!==null&&st>St){const ht=st-St;Oe-=ht,De.vertical+=ht}if(y!==null&&_e<y){const ht=_e-y;_e-=ht,De.horizontal+=ht}else if(ft>xt){const ht=ft-xt;_e-=ht,De.horizontal+=ht}return{top:`${Math.round(Oe)}px`,left:`${Math.round(_e)}px`,transformOrigin:Wx(De)}},[s,d,H,M,y]),[G,B]=T.useState(w),V=T.useCallback(()=>{const se=$.current;if(!se)return;const Le=W(se);Le.top!==null&&se.style.setProperty("top",Le.top),Le.left!==null&&(se.style.left=Le.left),se.style.transformOrigin=Le.transformOrigin,B(!0)},[W]);T.useEffect(()=>(I&&window.addEventListener("scroll",V),()=>window.removeEventListener("scroll",V)),[s,I,V]);const K=()=>{V()},J=()=>{B(!1)};T.useEffect(()=>{w&&V()}),T.useImperativeHandle(i,()=>w?{updatePosition:()=>{V()}}:null,[w,V]),T.useEffect(()=>{if(!w)return;const se=O2(()=>{V()}),Le=po(Vd(s));return Le.addEventListener("resize",se),()=>{se.clear(),Le.removeEventListener("resize",se)}},[s,w,V]);let Z=E;const Q={slots:{transition:_,...C},slotProps:{transition:A,paper:x,...P}},[q,ne]=ot("transition",{elementType:Gc,externalForwardedProps:Q,ownerState:U,getSlotProps:se=>({...se,onEntering:(Le,De)=>{var ze;(ze=se.onEntering)==null||ze.call(se,Le,De),K()},onExited:Le=>{var De;(De=se.onExited)==null||De.call(se,Le),J()}}),additionalProps:{appear:!0,in:w}});E==="auto"&&!q.muiSupportAuto&&(Z=void 0);const ue=v||(s?Fr(Vd(s)).body:void 0),[oe,{slots:ie,slotProps:ee,...pe}]=ot("root",{ref:r,elementType:Aj,externalForwardedProps:{...Q,...D},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:C.backdrop},slotProps:{backdrop:L2(typeof P.backdrop=="function"?P.backdrop(U):P.backdrop,{invisible:!0})},container:ue,open:w},ownerState:U,className:je(X.root,m)}),[ve,xe]=ot("paper",{ref:$,className:X.paper,elementType:cC,externalForwardedProps:Q,shouldForwardComponentProp:!0,additionalProps:{elevation:g,style:G?void 0:{opacity:0}},ownerState:U});return h.jsx(oe,{...pe,...!Rp(oe)&&{slots:ie,slotProps:ee,disableScrollLock:I},children:h.jsx(q,{...ne,timeout:Z,children:h.jsx(ve,{...xe,children:p})})})});function Ij(t){return Qe("MuiMenu",t)}Je("MuiMenu",["root","paper","list"]);const jj={vertical:"top",horizontal:"right"},Oj={vertical:"top",horizontal:"left"},Lj=t=>{const{classes:e}=t;return Ye({root:["root"],paper:["paper"],list:["list"]},Ij,e)},Nj=be(Rj,{shouldForwardProp:t=>mn(t)||t==="classes",name:"MuiMenu",slot:"Root"})({}),$j=be(cC,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),zj=be(Pj,{name:"MuiMenu",slot:"List"})({outline:0}),Tf=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:s,className:l,disableAutoFocusItem:c=!1,MenuListProps:d={},onClose:p,open:m,PaperProps:v={},PopoverClasses:g,transitionDuration:y="auto",TransitionProps:{onEntering:w,...x}={},variant:C="selectedMenu",slots:P={},slotProps:k={},..._}=n,E=mu(),A={...n,autoFocus:i,disableAutoFocusItem:c,MenuListProps:d,onEntering:w,PaperProps:v,transitionDuration:y,TransitionProps:x,variant:C},I=Lj(A),D=i&&!c&&m,$=T.useRef(null),U=(Z,Q)=>{$.current&&$.current.adjustStyleForScrollbar(Z,{direction:E?"rtl":"ltr"}),w&&w(Z,Q)},X=Z=>{Z.key==="Tab"&&(Z.preventDefault(),p&&p(Z,"tabKeyDown"))};let H=-1;T.Children.map(s,(Z,Q)=>{T.isValidElement(Z)&&(Z.props.disabled||(C==="selectedMenu"&&Z.props.selected||H===-1)&&(H=Q))});const M={slots:P,slotProps:{list:d,transition:x,paper:v,...k}},W=J2({elementType:P.root,externalSlotProps:k.root,ownerState:A,className:[I.root,l]}),[G,B]=ot("paper",{className:I.paper,elementType:$j,externalForwardedProps:M,shouldForwardComponentProp:!0,ownerState:A}),[V,K]=ot("list",{className:je(I.list,d.className),elementType:zj,shouldForwardComponentProp:!0,externalForwardedProps:M,getSlotProps:Z=>({...Z,onKeyDown:Q=>{var q;X(Q),(q=Z.onKeyDown)==null||q.call(Z,Q)}}),ownerState:A}),J=typeof M.slotProps.transition=="function"?M.slotProps.transition(A):M.slotProps.transition;return h.jsx(Nj,{onClose:p,anchorOrigin:{vertical:"bottom",horizontal:E?"right":"left"},transformOrigin:E?jj:Oj,slots:{root:P.root,paper:G,backdrop:P.backdrop,...P.transition&&{transition:P.transition}},slotProps:{root:W,paper:B,backdrop:typeof k.backdrop=="function"?k.backdrop(A):k.backdrop,transition:{...J,onEntering:(...Z)=>{var Q;U(...Z),(Q=J==null?void 0:J.onEntering)==null||Q.call(J,...Z)}}},open:m,ref:r,transitionDuration:y,ownerState:A,..._,classes:g,children:h.jsx(V,{actions:$,autoFocus:i&&(H===-1||c),autoFocusItem:D,variant:C,...K,children:s})})});function Bj(t){return Qe("MuiMenuItem",t)}const dc=Je("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Dj=(t,e)=>{const{ownerState:r}=t;return[e.root,r.dense&&e.dense,r.divider&&e.divider,!r.disableGutters&&e.gutters]},Fj=t=>{const{disabled:e,dense:r,divider:n,disableGutters:i,selected:s,classes:l}=t,d=Ye({root:["root",r&&"dense",e&&"disabled",!i&&"gutters",n&&"divider",s&&"selected"]},Bj,l);return{...l,...d}},Hj=be(Fa,{shouldForwardProp:t=>mn(t)||t==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:Dj})(Ze(({theme:t})=>({...t.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:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${dc.selected}`]:{backgroundColor:t.alpha((t.vars||t).palette.primary.main,(t.vars||t).palette.action.selectedOpacity),[`&.${dc.focusVisible}`]:{backgroundColor:t.alpha((t.vars||t).palette.primary.main,`${(t.vars||t).palette.action.selectedOpacity} + ${(t.vars||t).palette.action.focusOpacity}`)}},[`&.${dc.selected}:hover`]:{backgroundColor:t.alpha((t.vars||t).palette.primary.main,`${(t.vars||t).palette.action.selectedOpacity} + ${(t.vars||t).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:t.alpha((t.vars||t).palette.primary.main,(t.vars||t).palette.action.selectedOpacity)}},[`&.${dc.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${dc.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`& + .${Ox.root}`]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},[`& + .${Ox.inset}`]:{marginLeft:52},[`& .${zs.root}`]:{marginTop:0,marginBottom:0},[`& .${zs.inset}`]:{paddingLeft:36},[`& .${Fx.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>!e.dense,style:{[t.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:e})=>e.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...t.typography.body2,[`& .${Fx.root} svg`]:{fontSize:"1.25rem"}}}]}))),Dr=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiMenuItem"}),{autoFocus:i=!1,component:s="li",dense:l=!1,divider:c=!1,disableGutters:d=!1,focusVisibleClassName:p,role:m="menuitem",tabIndex:v,className:g,...y}=n,w=T.useContext(Xc),x=T.useMemo(()=>({dense:l||w.dense||!1,disableGutters:d}),[w.dense,l,d]),C=T.useRef(null);_n(()=>{i&&C.current&&C.current.focus()},[i]);const P={...n,dense:x.dense,divider:c,disableGutters:d},k=Fj(n),_=ar(C,r);let E;return n.disabled||(E=v!==void 0?v:-1),h.jsx(Xc.Provider,{value:x,children:h.jsx(Hj,{ref:_,role:m,tabIndex:E,component:s,focusVisibleClassName:je(k.focusVisible,p),className:je(k.root,g),...y,ownerState:P,classes:k})})});function Vj(t){return Qe("MuiNativeSelect",t)}const Oy=Je("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Uj=t=>{const{classes:e,variant:r,disabled:n,multiple:i,open:s,error:l}=t,c={select:["select",r,n&&"disabled",i&&"multiple",l&&"error"],icon:["icon",`icon${he(r)}`,s&&"iconOpen",n&&"disabled"]};return Ye(c,Vj,e)},uC=be("select",{name:"MuiNativeSelect"})(({theme:t})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Oy.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},variants:[{props:({ownerState:e})=>e.variant!=="filled"&&e.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}}]})),Wj=be(uC,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:mn,overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.select,e[r.variant],r.error&&e.error,{[`&.${Oy.multiple}`]:e.multiple}]}})({}),dC=be("svg",{name:"MuiNativeSelect"})(({theme:t})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${Oy.disabled}`]:{color:(t.vars||t).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}}]})),qj=be(dC,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.icon,r.variant&&e[`icon${he(r.variant)}`],r.open&&e.iconOpen]}})({}),Gj=T.forwardRef(function(e,r){const{className:n,disabled:i,error:s,IconComponent:l,inputRef:c,variant:d="standard",...p}=e,m={...e,disabled:i,variant:d,error:s},v=Uj(m);return h.jsxs(T.Fragment,{children:[h.jsx(Wj,{ownerState:m,className:je(v.select,n),disabled:i,ref:c||r,...p}),e.multiple?null:h.jsx(qj,{as:l,ownerState:m,className:v.icon})]})});var qx;const Xj=be("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:mn})({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%"}),Kj=be("legend",{name:"MuiNotchedOutlined",shouldForwardProp:mn})(Ze(({theme:t})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.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:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}}]})));function Qj(t){const{children:e,classes:r,className:n,label:i,notched:s,...l}=t,c=i!=null&&i!=="",d={...t,notched:s,withLabel:c};return h.jsx(Xj,{"aria-hidden":!0,className:n,ownerState:d,...l,children:h.jsx(Kj,{ownerState:d,children:c?h.jsx("span",{children:i}):qx||(qx=h.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const Yj=t=>{const{classes:e}=t,n=Ye({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},cI,e);return{...e,...n}},Jj=be(Sf,{shouldForwardProp:t=>mn(t)||t==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:xf})(Ze(({theme:t})=>{const e=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(t.vars||t).shape.borderRadius,[`&:hover .${ki.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${ki.notchedOutline}`]:{borderColor:t.vars?t.alpha(t.vars.palette.common.onBackground,.23):e}},[`&.${ki.focused} .${ki.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(t.palette).filter(Nt()).map(([r])=>({props:{color:r},style:{[`&.${ki.focused} .${ki.notchedOutline}`]:{borderColor:(t.vars||t).palette[r].main}}})),{props:{},style:{[`&.${ki.error} .${ki.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},[`&.${ki.disabled} .${ki.notchedOutline}`]:{borderColor:(t.vars||t).palette.action.disabled}}},{props:({ownerState:r})=>r.startAdornment,style:{paddingLeft:14}},{props:({ownerState:r})=>r.endAdornment,style:{paddingRight:14}},{props:({ownerState:r})=>r.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:r,size:n})=>r.multiline&&n==="small",style:{padding:"8.5px 14px"}}]}})),Zj=be(Qj,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(Ze(({theme:t})=>{const e=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?t.alpha(t.vars.palette.common.onBackground,.23):e}})),eO=be(Cf,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:wf})(Ze(({theme:t})=>({padding:"16.5px 14px",...!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:t.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:t.palette.mode==="light"?null:"#fff",caretColor:t.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.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}}]}))),Ly=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiOutlinedInput"}),{components:i={},fullWidth:s=!1,inputComponent:l="input",label:c,multiline:d=!1,notched:p,slots:m={},slotProps:v={},type:g="text",...y}=n,w=Yj(n),x=xo(),C=Ja({props:n,muiFormControl:x,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),P={...n,color:C.color||"primary",disabled:C.disabled,error:C.error,focused:C.focused,formControl:x,fullWidth:s,hiddenLabel:C.hiddenLabel,multiline:d,size:C.size,type:g},k=m.root??i.Root??Jj,_=m.input??i.Input??eO,[E,A]=ot("notchedOutline",{elementType:Zj,className:w.notchedOutline,shouldForwardComponentProp:!0,ownerState:P,externalForwardedProps:{slots:m,slotProps:v},additionalProps:{label:c!=null&&c!==""&&C.required?h.jsxs(T.Fragment,{children:[c," ","*"]}):c}});return h.jsx(Ry,{slots:{root:k,input:_},slotProps:v,renderSuffix:I=>h.jsx(E,{...A,notched:typeof p<"u"?p:!!(I.startAdornment||I.filled||I.focused)}),fullWidth:s,inputComponent:l,multiline:d,ref:r,type:g,...y,classes:{...w,notchedOutline:null}})});Ly.muiName="Input";function tO(t){return Qe("MuiPagination",t)}Je("MuiPagination",["root","ul","outlined","text"]);function rO(t={}){const{boundaryCount:e=1,componentName:r="usePagination",count:n=1,defaultPage:i=1,disabled:s=!1,hideNextButton:l=!1,hidePrevButton:c=!1,onChange:d,page:p,showFirstButton:m=!1,showLastButton:v=!1,siblingCount:g=1,...y}=t,[w,x]=Vc({controlled:p,default:i,name:r,state:"page"}),C=(U,X)=>{p||x(X),d&&d(U,X)},P=(U,X)=>{const H=X-U+1;return Array.from({length:H},(M,W)=>U+W)},k=P(1,Math.min(e,n)),_=P(Math.max(n-e+1,e+1),n),E=Math.max(Math.min(w-g,n-e-g*2-1),e+2),A=Math.min(Math.max(w+g,e+g*2+2),n-e-1),I=[...m?["first"]:[],...c?[]:["previous"],...k,...E>e+2?["start-ellipsis"]:e+1<n-e?[e+1]:[],...P(E,A),...A<n-e-1?["end-ellipsis"]:n-e>e?[n-e]:[],..._,...l?[]:["next"],...v?["last"]:[]],D=U=>{switch(U){case"first":return 1;case"previous":return w-1;case"next":return w+1;case"last":return n;default:return null}};return{items:I.map(U=>typeof U=="number"?{onClick:X=>{C(X,U)},type:"page",page:U,selected:U===w,disabled:s,"aria-current":U===w?"page":void 0}:{onClick:X=>{C(X,D(U))},type:U,page:D(U),selected:!1,disabled:s||!U.includes("ellipsis")&&(U==="next"||U==="last"?w>=n:w<=1)}),...y}}function nO(t){return Qe("MuiPaginationItem",t)}const Gr=Je("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]),iO=Pe(h.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"})),oO=Pe(h.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"})),aO=Pe(h.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),sO=Pe(h.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),pC=(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],e[`size${he(r.size)}`],r.variant==="text"&&e[`text${he(r.color)}`],r.variant==="outlined"&&e[`outlined${he(r.color)}`],r.shape==="rounded"&&e.rounded,r.type==="page"&&e.page,(r.type==="start-ellipsis"||r.type==="end-ellipsis")&&e.ellipsis,(r.type==="previous"||r.type==="next")&&e.previousNext,(r.type==="first"||r.type==="last")&&e.firstLast]},lO=t=>{const{classes:e,color:r,disabled:n,selected:i,size:s,shape:l,type:c,variant:d}=t,p={root:["root",`size${he(s)}`,d,l,r!=="standard"&&`color${he(r)}`,r!=="standard"&&`${d}${he(r)}`,n&&"disabled",i&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[c]],icon:["icon"]};return Ye(p,nO,e)},cO=be("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:pC})(Ze(({theme:t})=>({...t.typography.body2,borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(t.vars||t).palette.text.primary,height:"auto",[`&.${Gr.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},variants:[{props:{size:"small"},style:{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:t.typography.pxToRem(15)}}]}))),uO=be(Fa,{name:"MuiPaginationItem",slot:"Root",overridesResolver:pC})(Ze(({theme:t})=>({...t.typography.body2,borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(t.vars||t).palette.text.primary,[`&.${Gr.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${Gr.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},transition:t.transitions.create(["color","background-color"],{duration:t.transitions.duration.short}),"&:hover":{backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Gr.selected}`]:{backgroundColor:(t.vars||t).palette.action.selected,"&:hover":{backgroundColor:t.alpha((t.vars||t).palette.action.selected,`${(t.vars||t).palette.action.selectedOpacity} + ${(t.vars||t).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:(t.vars||t).palette.action.selected}},[`&.${Gr.focusVisible}`]:{backgroundColor:t.alpha((t.vars||t).palette.action.selected,`${(t.vars||t).palette.action.selectedOpacity} + ${(t.vars||t).palette.action.focusOpacity}`)},[`&.${Gr.disabled}`]:{opacity:1,color:(t.vars||t).palette.action.disabled,backgroundColor:(t.vars||t).palette.action.selected}},variants:[{props:{size:"small"},style:{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:t.typography.pxToRem(15)}},{props:{shape:"rounded"},style:{borderRadius:(t.vars||t).shape.borderRadius}},{props:{variant:"outlined"},style:{border:t.vars?`1px solid ${t.alpha(t.vars.palette.common.onBackground,.23)}`:`1px solid ${t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${Gr.selected}`]:{[`&.${Gr.disabled}`]:{borderColor:(t.vars||t).palette.action.disabledBackground,color:(t.vars||t).palette.action.disabled}}}},{props:{variant:"text"},style:{[`&.${Gr.selected}`]:{[`&.${Gr.disabled}`]:{color:(t.vars||t).palette.action.disabled}}}},...Object.entries(t.palette).filter(Nt(["dark","contrastText"])).map(([e])=>({props:{variant:"text",color:e},style:{[`&.${Gr.selected}`]:{color:(t.vars||t).palette[e].contrastText,backgroundColor:(t.vars||t).palette[e].main,"&:hover":{backgroundColor:(t.vars||t).palette[e].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[e].main}},[`&.${Gr.focusVisible}`]:{backgroundColor:(t.vars||t).palette[e].dark},[`&.${Gr.disabled}`]:{color:(t.vars||t).palette.action.disabled}}}})),...Object.entries(t.palette).filter(Nt(["light"])).map(([e])=>({props:{variant:"outlined",color:e},style:{[`&.${Gr.selected}`]:{color:(t.vars||t).palette[e].main,border:`1px solid ${t.alpha((t.vars||t).palette[e].main,.5)}`,backgroundColor:t.alpha((t.vars||t).palette[e].main,(t.vars||t).palette.action.activatedOpacity),"&:hover":{backgroundColor:t.alpha((t.vars||t).palette[e].main,`${(t.vars||t).palette.action.activatedOpacity} + ${(t.vars||t).palette.action.focusOpacity}`),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Gr.focusVisible}`]:{backgroundColor:t.alpha((t.vars||t).palette[e].main,`${(t.vars||t).palette.action.activatedOpacity} + ${(t.vars||t).palette.action.focusOpacity}`)}}}}))]}))),dO=be("div",{name:"MuiPaginationItem",slot:"Icon"})(Ze(({theme:t})=>({fontSize:t.typography.pxToRem(20),margin:"0 -8px",variants:[{props:{size:"small"},style:{fontSize:t.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:t.typography.pxToRem(22)}}]}))),pO=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiPaginationItem"}),{className:i,color:s="standard",component:l,components:c={},disabled:d=!1,page:p,selected:m=!1,shape:v="circular",size:g="medium",slots:y={},slotProps:w={},type:x="page",variant:C="text",...P}=n,k={...n,color:s,disabled:d,selected:m,shape:v,size:g,type:x,variant:C},_=mu(),E=lO(k),A={slots:{previous:y.previous??c.previous,next:y.next??c.next,first:y.first??c.first,last:y.last??c.last},slotProps:w},[I,D]=ot("previous",{elementType:aO,externalForwardedProps:A,ownerState:k}),[$,U]=ot("next",{elementType:sO,externalForwardedProps:A,ownerState:k}),[X,H]=ot("first",{elementType:iO,externalForwardedProps:A,ownerState:k}),[M,W]=ot("last",{elementType:oO,externalForwardedProps:A,ownerState:k}),G=_?{previous:"next",next:"previous",first:"last",last:"first"}[x]:x,B={previous:I,next:$,first:X,last:M}[G],V={previous:D,next:U,first:H,last:W}[G];return x==="start-ellipsis"||x==="end-ellipsis"?h.jsx(cO,{ref:r,ownerState:k,className:je(E.root,i),children:"…"}):h.jsxs(uO,{ref:r,ownerState:k,component:l,disabled:d,className:je(E.root,i),...P,children:[x==="page"&&p,B?h.jsx(dO,{...V,className:E.icon,as:B}):null]})}),fO=t=>{const{classes:e,variant:r}=t;return Ye({root:["root",r],ul:["ul"]},tO,e)},hO=be("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant]]}})({}),mO=be("ul",{name:"MuiPagination",slot:"Ul"})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function gO(t,e,r){return t==="page"?`${r?"":"Go to "}page ${e}`:`Go to ${t} page`}const yO=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiPagination"}),{boundaryCount:i=1,className:s,color:l="standard",count:c=1,defaultPage:d=1,disabled:p=!1,getItemAriaLabel:m=gO,hideNextButton:v=!1,hidePrevButton:g=!1,onChange:y,page:w,renderItem:x=X=>h.jsx(pO,{...X}),shape:C="circular",showFirstButton:P=!1,showLastButton:k=!1,siblingCount:_=1,size:E="medium",variant:A="text",...I}=n,{items:D}=rO({...n,componentName:"Pagination"}),$={...n,boundaryCount:i,color:l,count:c,defaultPage:d,disabled:p,getItemAriaLabel:m,hideNextButton:v,hidePrevButton:g,renderItem:x,shape:C,showFirstButton:P,showLastButton:k,siblingCount:_,size:E,variant:A},U=fO($);return h.jsx(hO,{"aria-label":"pagination navigation",className:je(U.root,s),ownerState:$,ref:r,...I,children:h.jsx(mO,{className:U.ul,ownerState:$,children:D.map((X,H)=>h.jsx("li",{children:x({...X,color:l,"aria-label":m(X.type,X.page,X.selected),shape:C,size:E,variant:A})},H))})})});function fC(t){return Qe("MuiSelect",t)}const pc=Je("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Gx;const vO=be(uC,{name:"MuiSelect",slot:"Select",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`&.${pc.select}`]:e.select},{[`&.${pc.select}`]:e[r.variant]},{[`&.${pc.error}`]:e.error},{[`&.${pc.multiple}`]:e.multiple}]}})({[`&.${pc.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),bO=be(dC,{name:"MuiSelect",slot:"Icon",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.icon,r.variant&&e[`icon${he(r.variant)}`],r.open&&e.iconOpen]}})({}),xO=be("input",{shouldForwardProp:t=>j2(t)&&t!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Xx(t,e){return typeof e=="object"&&e!==null?t===e:String(t)===String(e)}function wO(t){return t==null||typeof t=="string"&&!t.trim()}const SO=t=>{const{classes:e,variant:r,disabled:n,multiple:i,open:s,error:l}=t,c={select:["select",r,n&&"disabled",i&&"multiple",l&&"error"],icon:["icon",`icon${he(r)}`,s&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return Ye(c,fC,e)},CO=T.forwardRef(function(e,r){var Jn,Zn,Co,Eo;const{"aria-describedby":n,"aria-label":i,autoFocus:s,autoWidth:l,children:c,className:d,defaultOpen:p,defaultValue:m,disabled:v,displayEmpty:g,error:y=!1,IconComponent:w,inputRef:x,labelId:C,MenuProps:P={},multiple:k,name:_,onBlur:E,onChange:A,onClose:I,onFocus:D,onKeyDown:$,onMouseDown:U,onOpen:X,open:H,readOnly:M,renderValue:W,required:G,SelectDisplayProps:B={},tabIndex:V,type:K,value:J,variant:Z="standard",...Q}=e,[q,ne]=Vc({controlled:J,default:m,name:"Select"}),[ue,oe]=Vc({controlled:H,default:p,name:"Select"}),ie=T.useRef(null),ee=T.useRef(null),[pe,ve]=T.useState(null),{current:xe}=T.useRef(H!=null),[se,Le]=T.useState(),De=ar(r,x),ze=T.useCallback(Ke=>{ee.current=Ke,Ke&&ve(Ke)},[]),Oe=pe==null?void 0:pe.parentNode;T.useImperativeHandle(De,()=>({focus:()=>{ee.current.focus()},node:ie.current,value:q}),[q]),T.useEffect(()=>{p&&ue&&pe&&!xe&&(Le(l?null:Oe.clientWidth),ee.current.focus())},[pe,l]),T.useEffect(()=>{s&&ee.current.focus()},[s]),T.useEffect(()=>{if(!C)return;const Ke=Fr(ee.current).getElementById(C);if(Ke){const Pt=()=>{getSelection().isCollapsed&&ee.current.focus()};return Ke.addEventListener("click",Pt),()=>{Ke.removeEventListener("click",Pt)}}},[C]);const _e=(Ke,Pt)=>{Ke?X&&X(Pt):I&&I(Pt),xe||(Le(l?null:Oe.clientWidth),oe(Ke))},st=Ke=>{U==null||U(Ke),Ke.button===0&&(Ke.preventDefault(),ee.current.focus(),_e(!0,Ke))},ft=Ke=>{_e(!1,Ke)},dt=T.Children.toArray(c),St=Ke=>{const Pt=dt.find(Yt=>Yt.props.value===Ke.target.value);Pt!==void 0&&(ne(Pt.props.value),A&&A(Ke,Pt))},xt=Ke=>Pt=>{let Yt;if(Pt.currentTarget.hasAttribute("tabindex")){if(k){Yt=Array.isArray(q)?q.slice():[];const ei=q.indexOf(Ke.props.value);ei===-1?Yt.push(Ke.props.value):Yt.splice(ei,1)}else Yt=Ke.props.value;if(Ke.props.onClick&&Ke.props.onClick(Pt),q!==Yt&&(ne(Yt),A)){const ei=Pt.nativeEvent||Pt,pa=new ei.constructor(ei.type,ei);Object.defineProperty(pa,"target",{writable:!0,value:{value:Yt,name:_}}),A(pa,Ke)}k||_e(!1,Pt)}},ht=Ke=>{M||([" ","ArrowUp","ArrowDown","Enter"].includes(Ke.key)&&(Ke.preventDefault(),_e(!0,Ke)),$==null||$(Ke))},$e=pe!==null&&ue,lr=Ke=>{!$e&&E&&(Object.defineProperty(Ke,"target",{writable:!0,value:{value:q,name:_}}),E(Ke))};delete Q["aria-invalid"];let kt,le;const me=[];let ye=!1;(Lp({value:q})||g)&&(W?kt=W(q):ye=!0);const Ae=dt.map(Ke=>{if(!T.isValidElement(Ke))return null;let Pt;if(k){if(!Array.isArray(q))throw new Error(uo(2));Pt=q.some(Yt=>Xx(Yt,Ke.props.value)),Pt&&ye&&me.push(Ke.props.children)}else Pt=Xx(q,Ke.props.value),Pt&&ye&&(le=Ke.props.children);return T.cloneElement(Ke,{"aria-selected":Pt?"true":"false",onClick:xt(Ke),onKeyUp:Yt=>{Yt.key===" "&&Yt.preventDefault(),Ke.props.onKeyUp&&Ke.props.onKeyUp(Yt)},role:"option",selected:Pt,value:void 0,"data-value":Ke.props.value})});ye&&(k?me.length===0?kt=null:kt=me.reduce((Ke,Pt,Yt)=>(Ke.push(Pt),Yt<me.length-1&&Ke.push(", "),Ke),[]):kt=le);let Be=se;!l&&xe&&pe&&(Be=Oe.clientWidth);let lt;typeof V<"u"?lt=V:lt=v?null:0;const we=B.id||(_?`mui-component-select-${_}`:void 0),Ve={...e,variant:Z,value:q,open:$e,error:y},Ie=SO(Ve),We={...P.PaperProps,...typeof((Jn=P.slotProps)==null?void 0:Jn.paper)=="function"?P.slotProps.paper(Ve):(Zn=P.slotProps)==null?void 0:Zn.paper},wt={...P.MenuListProps,...typeof((Co=P.slotProps)==null?void 0:Co.list)=="function"?P.slotProps.list(Ve):(Eo=P.slotProps)==null?void 0:Eo.list},hr=ml();return h.jsxs(T.Fragment,{children:[h.jsx(vO,{as:"div",ref:ze,tabIndex:lt,role:"combobox","aria-controls":$e?hr:void 0,"aria-disabled":v?"true":void 0,"aria-expanded":$e?"true":"false","aria-haspopup":"listbox","aria-label":i,"aria-labelledby":[C,we].filter(Boolean).join(" ")||void 0,"aria-describedby":n,"aria-required":G?"true":void 0,"aria-invalid":y?"true":void 0,onKeyDown:ht,onMouseDown:v||M?null:st,onBlur:lr,onFocus:D,...B,ownerState:Ve,className:je(B.className,Ie.select,d),id:we,children:wO(kt)?Gx||(Gx=h.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):kt}),h.jsx(xO,{"aria-invalid":y,value:Array.isArray(q)?q.join(","):q,name:_,ref:ie,"aria-hidden":!0,onChange:St,tabIndex:-1,disabled:v,className:Ie.nativeInput,autoFocus:s,required:G,...Q,ownerState:Ve}),h.jsx(bO,{as:w,className:Ie.icon,ownerState:Ve}),h.jsx(Tf,{id:`menu-${_||""}`,anchorEl:Oe,open:$e,onClose:ft,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...P,slotProps:{...P.slotProps,list:{"aria-labelledby":C,role:"listbox","aria-multiselectable":k?"true":void 0,disableListWrap:!0,id:hr,...wt},paper:{...We,style:{minWidth:Be,...We!=null?We.style:null}}},children:Ae})]})}),EO=t=>{const{classes:e}=t,n=Ye({root:["root"]},fC,e);return{...e,...n}},Ny={name:"MuiSelect",slot:"Root",shouldForwardProp:t=>mn(t)&&t!=="variant"},TO=be(Ef,Ny)(""),kO=be(Ly,Ny)(""),PO=be(Iy,Ny)(""),el=T.forwardRef(function(e,r){const n=et({name:"MuiSelect",props:e}),{autoWidth:i=!1,children:s,classes:l={},className:c,defaultOpen:d=!1,displayEmpty:p=!1,IconComponent:m=dI,id:v,input:g,inputProps:y,label:w,labelId:x,MenuProps:C,multiple:P=!1,native:k=!1,onClose:_,onOpen:E,open:A,renderValue:I,SelectDisplayProps:D,variant:$="outlined",...U}=n,X=k?Gj:CO,H=xo(),M=Ja({props:n,muiFormControl:H,states:["variant","error"]}),W=M.variant||$,G={...n,variant:W,classes:l},B=EO(G),{root:V,...K}=B,J=g||{standard:h.jsx(TO,{ownerState:G}),outlined:h.jsx(kO,{label:w,ownerState:G}),filled:h.jsx(PO,{ownerState:G})}[W],Z=ar(r,Ya(J));return h.jsx(T.Fragment,{children:T.cloneElement(J,{inputComponent:X,inputProps:{children:s,error:M.error,IconComponent:m,variant:W,type:void 0,multiple:P,...k?{id:v}:{autoWidth:i,defaultOpen:d,displayEmpty:p,labelId:x,MenuProps:C,onClose:_,onOpen:E,open:A,renderValue:I,SelectDisplayProps:{id:v,...D}},...y,classes:y?Cr(K,y.classes):K,...g?g.props.inputProps:{}},...(P&&k||p)&&W==="outlined"?{notched:!0}:{},ref:Z,className:je(J.props.className,c,B.root),...!g&&{variant:W},...U})})});el.muiName="Select";function MO(t){return Qe("MuiSkeleton",t)}Je("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const _O=t=>{const{classes:e,variant:r,animation:n,hasChildren:i,width:s,height:l}=t;return Ye({root:["root",r,n,i&&"withChildren",i&&!s&&"fitContent",i&&!l&&"heightAuto"]},MO,e)},_g=qi`
271
- 0% {
272
- opacity: 1;
273
- }
274
-
275
- 50% {
276
- opacity: 0.4;
277
- }
278
-
279
- 100% {
280
- opacity: 1;
281
- }
282
- `,Ag=qi`
283
- 0% {
284
- transform: translateX(-100%);
285
- }
286
-
287
- 50% {
288
- /* +0.5s of delay between each loop */
289
- transform: translateX(100%);
290
- }
291
-
292
- 100% {
293
- transform: translateX(100%);
294
- }
295
- `,AO=typeof _g!="string"?aa`
296
- animation: ${_g} 2s ease-in-out 0.5s infinite;
297
- `:null,RO=typeof Ag!="string"?aa`
298
- &::after {
299
- animation: ${Ag} 2s linear 0.5s infinite;
300
- }
301
- `:null,IO=be("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],r.animation!==!1&&e[r.animation],r.hasChildren&&e.withChildren,r.hasChildren&&!r.width&&e.fitContent,r.hasChildren&&!r.height&&e.heightAuto]}})(Ze(({theme:t})=>{const e=g_(t.shape.borderRadius)||"px",r=y_(t.shape.borderRadius);return{display:"block",backgroundColor:t.vars?t.vars.palette.Skeleton.bg:t.alpha(t.palette.text.primary,t.palette.mode==="light"?.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:`${r}${e}/${Math.round(r/.6*10)/10}${e}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(t.vars||t).shape.borderRadius}},{props:({ownerState:n})=>n.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:n})=>n.hasChildren&&!n.width,style:{maxWidth:"fit-content"}},{props:({ownerState:n})=>n.hasChildren&&!n.height,style:{height:"auto"}},{props:{animation:"pulse"},style:AO||{animation:`${_g} 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(
302
- 90deg,
303
- transparent,
304
- ${(t.vars||t).palette.action.hover},
305
- transparent
306
- )`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:RO||{"&::after":{animation:`${Ag} 2s linear 0.5s infinite`}}}]}})),jO=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiSkeleton"}),{animation:i="pulse",className:s,component:l="span",height:c,style:d,variant:p="text",width:m,...v}=n,g={...n,animation:i,component:l,variant:p,hasChildren:!!v.children},y=_O(g);return h.jsx(IO,{as:l,ref:r,className:je(y.root,s),ownerState:g,...v,style:{width:m,height:c,...d}})});function OO(t={}){const{autoHideDuration:e=null,disableWindowBlurListener:r=!1,onClose:n,open:i,resumeHideDuration:s}=t,l=qo();T.useEffect(()=>{if(!i)return;function P(k){k.defaultPrevented||k.key==="Escape"&&(n==null||n(k,"escapeKeyDown"))}return document.addEventListener("keydown",P),()=>{document.removeEventListener("keydown",P)}},[i,n]);const c=Vn((P,k)=>{n==null||n(P,k)}),d=Vn(P=>{!n||P==null||l.start(P,()=>{c(null,"timeout")})});T.useEffect(()=>(i&&d(e),l.clear),[i,e,d,l]);const p=P=>{n==null||n(P,"clickaway")},m=l.clear,v=T.useCallback(()=>{e!=null&&d(s??e*.5)},[e,s,d]),g=P=>k=>{const _=P.onBlur;_==null||_(k),v()},y=P=>k=>{const _=P.onFocus;_==null||_(k),m()},w=P=>k=>{const _=P.onMouseEnter;_==null||_(k),m()},x=P=>k=>{const _=P.onMouseLeave;_==null||_(k),v()};return T.useEffect(()=>{if(!r&&i)return window.addEventListener("focus",v),window.addEventListener("blur",m),()=>{window.removeEventListener("focus",v),window.removeEventListener("blur",m)}},[r,i,v,m]),{getRootProps:(P={})=>{const k={...Ip(t),...Ip(P)};return{role:"presentation",...P,...k,onBlur:g(k),onFocus:y(k),onMouseEnter:w(k),onMouseLeave:x(k)}},onClickAway:p}}function LO(t){return Qe("MuiSnackbarContent",t)}Je("MuiSnackbarContent",["root","message","action"]);const NO=t=>{const{classes:e}=t;return Ye({root:["root"],action:["action"],message:["message"]},LO,e)},$O=be(Rr,{name:"MuiSnackbarContent",slot:"Root"})(Ze(({theme:t})=>{const e=t.palette.mode==="light"?.8:.98;return{...t.typography.body2,color:t.vars?t.vars.palette.SnackbarContent.color:t.palette.getContrastText(ug(t.palette.background.default,e)),backgroundColor:t.vars?t.vars.palette.SnackbarContent.bg:ug(t.palette.background.default,e),display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",flexGrow:1,[t.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),zO=be("div",{name:"MuiSnackbarContent",slot:"Message"})({padding:"8px 0"}),BO=be("div",{name:"MuiSnackbarContent",slot:"Action"})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),DO=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiSnackbarContent"}),{action:i,className:s,message:l,role:c="alert",...d}=n,p=n,m=NO(p);return h.jsxs($O,{role:c,elevation:6,className:je(m.root,s),ownerState:p,ref:r,...d,children:[h.jsx(zO,{className:m.message,ownerState:p,children:l}),i?h.jsx(BO,{className:m.action,ownerState:p,children:i}):null]})});function FO(t){return Qe("MuiSnackbar",t)}Je("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const HO=t=>{const{classes:e,anchorOrigin:r}=t,n={root:["root",`anchorOrigin${he(r.vertical)}${he(r.horizontal)}`]};return Ye(n,FO,e)},VO=be("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`anchorOrigin${he(r.anchorOrigin.vertical)}${he(r.anchorOrigin.horizontal)}`]]}})(Ze(({theme:t})=>({zIndex:(t.vars||t).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:e})=>e.anchorOrigin.vertical==="top",style:{top:8,[t.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:e})=>e.anchorOrigin.vertical!=="top",style:{bottom:8,[t.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:e})=>e.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[t.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:e})=>e.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[t.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:e})=>e.anchorOrigin.horizontal==="center",style:{[t.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),$y=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiSnackbar"}),i=Yn(),s={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{action:l,anchorOrigin:{vertical:c,horizontal:d}={vertical:"bottom",horizontal:"left"},autoHideDuration:p=null,children:m,className:v,ClickAwayListenerProps:g,ContentProps:y,disableWindowBlurListener:w=!1,message:x,onBlur:C,onClose:P,onFocus:k,onMouseEnter:_,onMouseLeave:E,open:A,resumeHideDuration:I,slots:D={},slotProps:$={},TransitionComponent:U,transitionDuration:X=s,TransitionProps:{onEnter:H,onExited:M,...W}={},...G}=n,B={...n,anchorOrigin:{vertical:c,horizontal:d},autoHideDuration:p,disableWindowBlurListener:w,TransitionComponent:U,transitionDuration:X},V=HO(B),{getRootProps:K,onClickAway:J}=OO(B),[Z,Q]=T.useState(!0),q=ze=>{Q(!0),M&&M(ze)},ne=(ze,Oe)=>{Q(!1),H&&H(ze,Oe)},ue={slots:{transition:U,...D},slotProps:{content:y,clickAwayListener:g,transition:W,...$}},[oe,ie]=ot("root",{ref:r,className:[V.root,v],elementType:VO,getSlotProps:K,externalForwardedProps:{...ue,...G},ownerState:B}),[ee,{ownerState:pe,...ve}]=ot("clickAwayListener",{elementType:a6,externalForwardedProps:ue,getSlotProps:ze=>({onClickAway:(...Oe)=>{var st;const _e=Oe[0];(st=ze.onClickAway)==null||st.call(ze,...Oe),!(_e!=null&&_e.defaultMuiPrevented)&&J(...Oe)}}),ownerState:B}),[xe,se]=ot("content",{elementType:DO,shouldForwardComponentProp:!0,externalForwardedProps:ue,additionalProps:{message:x,action:l},ownerState:B}),[Le,De]=ot("transition",{elementType:Gc,externalForwardedProps:ue,getSlotProps:ze=>({onEnter:(...Oe)=>{var _e;(_e=ze.onEnter)==null||_e.call(ze,...Oe),ne(...Oe)},onExited:(...Oe)=>{var _e;(_e=ze.onExited)==null||_e.call(ze,...Oe),q(...Oe)}}),additionalProps:{appear:!0,in:A,timeout:X,direction:c==="top"?"down":"up"},ownerState:B});return!A&&Z?null:h.jsx(ee,{...ve,...D.clickAwayListener&&{ownerState:pe},children:h.jsx(oe,{...ie,children:h.jsx(Le,{...De,children:m||h.jsx(xe,{...se})})})})});function UO(t){return Qe("MuiTooltip",t)}const tr=Je("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function WO(t){return Math.round(t*1e5)/1e5}const qO=t=>{const{classes:e,disableInteractive:r,arrow:n,touch:i,placement:s}=t,l={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",i&&"touch",`tooltipPlacement${he(s.split("-")[0])}`],arrow:["arrow"]};return Ye(l,UO,e)},GO=be(eC,{name:"MuiTooltip",slot:"Popper",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.popper,!r.disableInteractive&&e.popperInteractive,r.arrow&&e.popperArrow,!r.open&&e.popperClose]}})(Ze(({theme:t})=>({zIndex:(t.vars||t).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"] .${tr.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${tr.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${tr.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${tr.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${tr.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${tr.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${tr.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${tr.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),XO=be("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.tooltip,r.touch&&e.touch,r.arrow&&e.tooltipArrow,e[`tooltipPlacement${he(r.placement.split("-")[0])}`]]}})(Ze(({theme:t})=>({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:t.alpha(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium,[`.${tr.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${tr.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${tr.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${tr.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:t.typography.pxToRem(14),lineHeight:`${WO(16/14)}em`,fontWeight:t.typography.fontWeightRegular}},{props:({ownerState:e})=>!e.isRtl,style:{[`.${tr.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${tr.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${tr.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${tr.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${tr.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${tr.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${tr.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${tr.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${tr.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${tr.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),KO=be("span",{name:"MuiTooltip",slot:"Arrow"})(Ze(({theme:t})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:t.alpha(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Ud=!1;const Kx=new yf;let fc={x:0,y:0};function Wd(t,e){return(r,...n)=>{e&&e(r,...n),t(r,...n)}}const Tn=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiTooltip"}),{arrow:i=!1,children:s,classes:l,components:c={},componentsProps:d={},describeChild:p=!1,disableFocusListener:m=!1,disableHoverListener:v=!1,disableInteractive:g=!1,disableTouchListener:y=!1,enterDelay:w=100,enterNextDelay:x=0,enterTouchDelay:C=700,followCursor:P=!1,id:k,leaveDelay:_=0,leaveTouchDelay:E=1500,onClose:A,onOpen:I,open:D,placement:$="bottom",PopperComponent:U,PopperProps:X={},slotProps:H={},slots:M={},title:W,TransitionComponent:G,TransitionProps:B,...V}=n,K=T.isValidElement(s)?s:h.jsx("span",{children:s}),J=Yn(),Z=mu(),[Q,q]=T.useState(),[ne,ue]=T.useState(null),oe=T.useRef(!1),ie=g||P,ee=qo(),pe=qo(),ve=qo(),xe=qo(),[se,Le]=Vc({controlled:D,default:!1,name:"Tooltip",state:"open"});let De=se;const ze=ml(k),Oe=T.useRef(),_e=Vn(()=>{Oe.current!==void 0&&(document.body.style.WebkitUserSelect=Oe.current,Oe.current=void 0),xe.clear()});T.useEffect(()=>_e,[_e]);const st=mt=>{Kx.clear(),Ud=!0,Le(!0),I&&!De&&I(mt)},ft=Vn(mt=>{Kx.start(800+_,()=>{Ud=!1}),Le(!1),A&&De&&A(mt),ee.start(J.transitions.duration.shortest,()=>{oe.current=!1})}),dt=mt=>{oe.current&&mt.type!=="touchstart"||(Q&&Q.removeAttribute("title"),pe.clear(),ve.clear(),w||Ud&&x?pe.start(Ud?x:w,()=>{st(mt)}):st(mt))},St=mt=>{pe.clear(),ve.start(_,()=>{ft(mt)})},[,xt]=T.useState(!1),ht=mt=>{Gs(mt.target)||(xt(!1),St(mt))},$e=mt=>{Q||q(mt.currentTarget),Gs(mt.target)&&(xt(!0),dt(mt))},lr=mt=>{oe.current=!0;const Ur=K.props;Ur.onTouchStart&&Ur.onTouchStart(mt)},kt=mt=>{lr(mt),ve.clear(),ee.clear(),_e(),Oe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",xe.start(C,()=>{document.body.style.WebkitUserSelect=Oe.current,dt(mt)})},le=mt=>{K.props.onTouchEnd&&K.props.onTouchEnd(mt),_e(),ve.start(E,()=>{ft(mt)})};T.useEffect(()=>{if(!De)return;function mt(Ur){Ur.key==="Escape"&&ft(Ur)}return document.addEventListener("keydown",mt),()=>{document.removeEventListener("keydown",mt)}},[ft,De]);const me=ar(Ya(K),q,r);!W&&W!==0&&(De=!1);const ye=T.useRef(),Ae=mt=>{const Ur=K.props;Ur.onMouseMove&&Ur.onMouseMove(mt),fc={x:mt.clientX,y:mt.clientY},ye.current&&ye.current.update()},Be={},lt=typeof W=="string";p?(Be.title=!De&&lt&&!v?W:null,Be["aria-describedby"]=De?ze:null):(Be["aria-label"]=lt?W:null,Be["aria-labelledby"]=De&&!lt?ze:null);const we={...Be,...V,...K.props,className:je(V.className,K.props.className),onTouchStart:lr,ref:me,...P?{onMouseMove:Ae}:{}},Ve={};y||(we.onTouchStart=kt,we.onTouchEnd=le),v||(we.onMouseOver=Wd(dt,we.onMouseOver),we.onMouseLeave=Wd(St,we.onMouseLeave),ie||(Ve.onMouseOver=dt,Ve.onMouseLeave=St)),m||(we.onFocus=Wd($e,we.onFocus),we.onBlur=Wd(ht,we.onBlur),ie||(Ve.onFocus=$e,Ve.onBlur=ht));const Ie={...n,isRtl:Z,arrow:i,disableInteractive:ie,placement:$,PopperComponentProp:U,touch:oe.current},We=typeof H.popper=="function"?H.popper(Ie):H.popper,wt=T.useMemo(()=>{var Ur,Sl;let mt=[{name:"arrow",enabled:!!ne,options:{element:ne,padding:4}}];return(Ur=X.popperOptions)!=null&&Ur.modifiers&&(mt=mt.concat(X.popperOptions.modifiers)),(Sl=We==null?void 0:We.popperOptions)!=null&&Sl.modifiers&&(mt=mt.concat(We.popperOptions.modifiers)),{...X.popperOptions,...We==null?void 0:We.popperOptions,modifiers:mt}},[ne,X.popperOptions,We==null?void 0:We.popperOptions]),hr=qO(Ie),Jn=typeof H.transition=="function"?H.transition(Ie):H.transition,Zn={slots:{popper:c.Popper,transition:c.Transition??G,tooltip:c.Tooltip,arrow:c.Arrow,...M},slotProps:{arrow:H.arrow??d.arrow,popper:{...X,...We??d.popper},tooltip:H.tooltip??d.tooltip,transition:{...B,...Jn??d.transition}}},[Co,Eo]=ot("popper",{elementType:GO,externalForwardedProps:Zn,ownerState:Ie,className:je(hr.popper,X==null?void 0:X.className)}),[Ke,Pt]=ot("transition",{elementType:Gc,externalForwardedProps:Zn,ownerState:Ie}),[Yt,ei]=ot("tooltip",{elementType:XO,className:hr.tooltip,externalForwardedProps:Zn,ownerState:Ie}),[pa,Pu]=ot("arrow",{elementType:KO,className:hr.arrow,externalForwardedProps:Zn,ownerState:Ie,ref:ue});return h.jsxs(T.Fragment,{children:[T.cloneElement(K,we),h.jsx(Co,{as:U??eC,placement:$,anchorEl:P?{getBoundingClientRect:()=>({top:fc.y,left:fc.x,right:fc.x,bottom:fc.y,width:0,height:0})}:Q,popperRef:ye,open:Q?De:!1,id:ze,transition:!0,...Ve,...Eo,popperOptions:wt,children:({TransitionProps:mt})=>h.jsx(Ke,{timeout:J.transitions.duration.shorter,...mt,...Pt,children:h.jsxs(Yt,{...ei,children:[W,i?h.jsx(pa,{...Pu}):null]})})})]})}),Qx=BM({createStyledComponent:be("div",{name:"MuiStack",slot:"Root"}),useThemeProps:t=>et({props:t,name:"MuiStack"})});function QO(t){return Qe("MuiSwitch",t)}const Qr=Je("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),YO=t=>{const{classes:e,edge:r,size:n,color:i,checked:s,disabled:l}=t,c={root:["root",r&&`edge${he(r)}`,`size${he(n)}`],switchBase:["switchBase",`color${he(i)}`,s&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},d=Ye(c,QO,e);return{...e,...d}},JO=be("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.edge&&e[`edge${he(r.edge)}`],e[`size${he(r.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,[`& .${Qr.thumb}`]:{width:16,height:16},[`& .${Qr.switchBase}`]:{padding:4,[`&.${Qr.checked}`]:{transform:"translateX(16px)"}}}}]}),ZO=be(iC,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.switchBase,{[`& .${Qr.input}`]:e.input},r.color!=="default"&&e[`color${he(r.color)}`]]}})(Ze(({theme:t})=>({position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:`${t.palette.mode==="light"?t.palette.common.white:t.palette.grey[300]}`,transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),[`&.${Qr.checked}`]:{transform:"translateX(20px)"},[`&.${Qr.disabled}`]:{color:t.vars?t.vars.palette.Switch.defaultDisabledColor:`${t.palette.mode==="light"?t.palette.grey[100]:t.palette.grey[600]}`},[`&.${Qr.checked} + .${Qr.track}`]:{opacity:.5},[`&.${Qr.disabled} + .${Qr.track}`]:{opacity:t.vars?t.vars.opacity.switchTrackDisabled:`${t.palette.mode==="light"?.12:.2}`},[`& .${Qr.input}`]:{left:"-100%",width:"300%"}})),Ze(({theme:t})=>({"&:hover":{backgroundColor:t.alpha((t.vars||t).palette.action.active,(t.vars||t).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(t.palette).filter(Nt(["light"])).map(([e])=>({props:{color:e},style:{[`&.${Qr.checked}`]:{color:(t.vars||t).palette[e].main,"&:hover":{backgroundColor:t.alpha((t.vars||t).palette[e].main,(t.vars||t).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Qr.disabled}`]:{color:t.vars?t.vars.palette.Switch[`${e}DisabledColor`]:`${t.palette.mode==="light"?t.lighten(t.palette[e].main,.62):t.darken(t.palette[e].main,.55)}`}},[`&.${Qr.checked} + .${Qr.track}`]:{backgroundColor:(t.vars||t).palette[e].main}}}))]}))),eL=be("span",{name:"MuiSwitch",slot:"Track"})(Ze(({theme:t})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:`${t.palette.mode==="light"?t.palette.common.black:t.palette.common.white}`,opacity:t.vars?t.vars.opacity.switchTrack:`${t.palette.mode==="light"?.38:.3}`}))),tL=be("span",{name:"MuiSwitch",slot:"Thumb"})(Ze(({theme:t})=>({boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),rL=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiSwitch"}),{className:i,color:s="primary",edge:l=!1,size:c="medium",sx:d,slots:p={},slotProps:m={},...v}=n,g={...n,color:s,edge:l,size:c},y=YO(g),w={slots:p,slotProps:m},[x,C]=ot("root",{className:je(y.root,i),elementType:JO,externalForwardedProps:w,ownerState:g,additionalProps:{sx:d}}),[P,k]=ot("thumb",{className:y.thumb,elementType:tL,externalForwardedProps:w,ownerState:g}),_=h.jsx(P,{...k}),[E,A]=ot("track",{className:y.track,elementType:eL,externalForwardedProps:w,ownerState:g});return h.jsxs(x,{...C,children:[h.jsx(ZO,{type:"checkbox",icon:_,checkedIcon:_,ref:r,ownerState:g,...v,classes:{...y,root:y.switchBase},slots:{...p.switchBase&&{root:p.switchBase},...p.input&&{input:p.input}},slotProps:{...m.switchBase&&{root:typeof m.switchBase=="function"?m.switchBase(g):m.switchBase},input:{role:"switch"},...m.input&&{input:typeof m.input=="function"?m.input(g):m.input}}}),h.jsx(E,{...A})]})}),hC=T.createContext();function nL(t){return Qe("MuiTable",t)}Je("MuiTable",["root","stickyHeader"]);const iL=t=>{const{classes:e,stickyHeader:r}=t;return Ye({root:["root",r&&"stickyHeader"]},nL,e)},oL=be("table",{name:"MuiTable",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.stickyHeader&&e.stickyHeader]}})(Ze(({theme:t})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...t.typography.body2,padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:e})=>e.stickyHeader,style:{borderCollapse:"separate"}}]}))),Yx="table",zy=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiTable"}),{className:i,component:s=Yx,padding:l="normal",size:c="medium",stickyHeader:d=!1,...p}=n,m={...n,component:s,padding:l,size:c,stickyHeader:d},v=iL(m),g=T.useMemo(()=>({padding:l,size:c,stickyHeader:d}),[l,c,d]);return h.jsx(hC.Provider,{value:g,children:h.jsx(oL,{as:s,role:s===Yx?null:"table",ref:r,className:je(v.root,i),ownerState:m,...p})})}),kf=T.createContext();function aL(t){return Qe("MuiTableBody",t)}Je("MuiTableBody",["root"]);const sL=t=>{const{classes:e}=t;return Ye({root:["root"]},aL,e)},lL=be("tbody",{name:"MuiTableBody",slot:"Root"})({display:"table-row-group"}),cL={variant:"body"},Jx="tbody",By=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiTableBody"}),{className:i,component:s=Jx,...l}=n,c={...n,component:s},d=sL(c);return h.jsx(kf.Provider,{value:cL,children:h.jsx(lL,{className:je(d.root,i),as:s,ref:r,role:s===Jx?null:"rowgroup",ownerState:c,...l})})});function uL(t){return Qe("MuiTableCell",t)}const dL=Je("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),pL=t=>{const{classes:e,variant:r,align:n,padding:i,size:s,stickyHeader:l}=t,c={root:["root",r,l&&"stickyHeader",n!=="inherit"&&`align${he(n)}`,i!=="normal"&&`padding${he(i)}`,`size${he(s)}`]};return Ye(c,uL,e)},fL=be("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],e[`size${he(r.size)}`],r.padding!=="normal"&&e[`padding${he(r.padding)}`],r.align!=="inherit"&&e[`align${he(r.align)}`],r.stickyHeader&&e.stickyHeader]}})(Ze(({theme:t})=>({...t.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?`1px solid ${t.vars.palette.TableCell.border}`:`1px solid
307
- ${t.palette.mode==="light"?t.lighten(t.alpha(t.palette.divider,1),.88):t.darken(t.alpha(t.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(t.vars||t).palette.text.primary}},{props:{variant:"footer"},style:{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${dL.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:(t.vars||t).palette.background.default}}]}))),Gt=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiTableCell"}),{align:i="inherit",className:s,component:l,padding:c,scope:d,size:p,sortDirection:m,variant:v,...g}=n,y=T.useContext(hC),w=T.useContext(kf),x=w&&w.variant==="head";let C;l?C=l:C=x?"th":"td";let P=d;C==="td"?P=void 0:!P&&x&&(P="col");const k=v||w&&w.variant,_={...n,align:i,component:C,padding:c||(y&&y.padding?y.padding:"normal"),size:p||(y&&y.size?y.size:"medium"),sortDirection:m,stickyHeader:k==="head"&&y&&y.stickyHeader,variant:k},E=pL(_);let A=null;return m&&(A=m==="asc"?"ascending":"descending"),h.jsx(fL,{as:C,ref:r,className:je(E.root,s),"aria-sort":A,scope:P,ownerState:_,...g})});function hL(t){return Qe("MuiTableContainer",t)}Je("MuiTableContainer",["root"]);const mL=t=>{const{classes:e}=t;return Ye({root:["root"]},hL,e)},gL=be("div",{name:"MuiTableContainer",slot:"Root"})({width:"100%",overflowX:"auto"}),Dy=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiTableContainer"}),{className:i,component:s="div",...l}=n,c={...n,component:s},d=mL(c);return h.jsx(gL,{ref:r,as:s,className:je(d.root,i),ownerState:c,...l})});function yL(t){return Qe("MuiTableHead",t)}Je("MuiTableHead",["root"]);const vL=t=>{const{classes:e}=t;return Ye({root:["root"]},yL,e)},bL=be("thead",{name:"MuiTableHead",slot:"Root"})({display:"table-header-group"}),xL={variant:"head"},Zx="thead",Fy=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiTableHead"}),{className:i,component:s=Zx,...l}=n,c={...n,component:s},d=vL(c);return h.jsx(kf.Provider,{value:xL,children:h.jsx(bL,{as:s,className:je(d.root,i),ref:r,role:s===Zx?null:"rowgroup",ownerState:c,...l})})});function wL(t){return Qe("MuiTableRow",t)}const ew=Je("MuiTableRow",["root","selected","hover","head","footer"]),SL=t=>{const{classes:e,selected:r,hover:n,head:i,footer:s}=t;return Ye({root:["root",r&&"selected",n&&"hover",i&&"head",s&&"footer"]},wL,e)},CL=be("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.head&&e.head,r.footer&&e.footer]}})(Ze(({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${ew.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${ew.selected}`]:{backgroundColor:t.alpha((t.vars||t).palette.primary.main,(t.vars||t).palette.action.selectedOpacity),"&:hover":{backgroundColor:t.alpha((t.vars||t).palette.primary.main,`${(t.vars||t).palette.action.selectedOpacity} + ${(t.vars||t).palette.action.hoverOpacity}`)}}}))),tw="tr",tl=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiTableRow"}),{className:i,component:s=tw,hover:l=!1,selected:c=!1,...d}=n,p=T.useContext(kf),m={...n,component:s,hover:l,selected:c,head:p&&p.variant==="head",footer:p&&p.variant==="footer"},v=SL(m);return h.jsx(CL,{as:s,ref:r,className:je(v.root,i),role:s===tw?null:"row",ownerState:m,...d})});function EL(t){return Qe("MuiTextField",t)}Je("MuiTextField",["root"]);const TL={standard:Ef,filled:Iy,outlined:Ly},kL=t=>{const{classes:e}=t;return Ye({root:["root"]},EL,e)},PL=be(Yo,{name:"MuiTextField",slot:"Root"})({}),Pf=T.forwardRef(function(e,r){const n=et({props:e,name:"MuiTextField"}),{autoComplete:i,autoFocus:s=!1,children:l,className:c,color:d="primary",defaultValue:p,disabled:m=!1,error:v=!1,FormHelperTextProps:g,fullWidth:y=!1,helperText:w,id:x,InputLabelProps:C,inputProps:P,InputProps:k,inputRef:_,label:E,maxRows:A,minRows:I,multiline:D=!1,name:$,onBlur:U,onChange:X,onFocus:H,placeholder:M,required:W=!1,rows:G,select:B=!1,SelectProps:V,slots:K={},slotProps:J={},type:Z,value:Q,variant:q="outlined",...ne}=n,ue={...n,autoFocus:s,color:d,disabled:m,error:v,fullWidth:y,multiline:D,required:W,select:B,variant:q},oe=kL(ue),ie=ml(x),ee=w&&ie?`${ie}-helper-text`:void 0,pe=E&&ie?`${ie}-label`:void 0,ve=TL[q],xe={slots:K,slotProps:{input:k,inputLabel:C,htmlInput:P,formHelperText:g,select:V,...J}},se={},Le=xe.slotProps.inputLabel;q==="outlined"&&(Le&&typeof Le.shrink<"u"&&(se.notched=Le.shrink),se.label=E),B&&((!V||!V.native)&&(se.id=void 0),se["aria-describedby"]=void 0);const[De,ze]=ot("root",{elementType:PL,shouldForwardComponentProp:!0,externalForwardedProps:{...xe,...ne},ownerState:ue,className:je(oe.root,c),ref:r,additionalProps:{disabled:m,error:v,fullWidth:y,required:W,color:d,variant:q}}),[Oe,_e]=ot("input",{elementType:ve,externalForwardedProps:xe,additionalProps:se,ownerState:ue}),[st,ft]=ot("inputLabel",{elementType:Zs,externalForwardedProps:xe,ownerState:ue}),[dt,St]=ot("htmlInput",{elementType:"input",externalForwardedProps:xe,ownerState:ue}),[xt,ht]=ot("formHelperText",{elementType:yl,externalForwardedProps:xe,ownerState:ue}),[$e,lr]=ot("select",{elementType:el,externalForwardedProps:xe,ownerState:ue}),kt=h.jsx(Oe,{"aria-describedby":ee,autoComplete:i,autoFocus:s,defaultValue:p,fullWidth:y,multiline:D,name:$,rows:G,maxRows:A,minRows:I,type:Z,value:Q,id:ie,inputRef:_,onBlur:U,onChange:X,onFocus:H,placeholder:M,inputProps:St,slots:{input:K.htmlInput?dt:void 0},..._e});return h.jsxs(De,{...ze,children:[E!=null&&E!==""&&h.jsx(st,{htmlFor:ie,id:pe,...ft,children:E}),B?h.jsx($e,{"aria-describedby":ee,id:ie,labelId:pe,value:Q,input:kt,...lr,children:l}):kt,w&&h.jsx(xt,{id:ee,...ht,children:w})]})}),ML=v2({themeId:di});/*!
308
- * mustache.js - Logic-less {{mustache}} templates with JavaScript
309
- * http://github.com/janl/mustache.js
310
- */var _L=Object.prototype.toString,vl=Array.isArray||function(e){return _L.call(e)==="[object Array]"};function Hy(t){return typeof t=="function"}function AL(t){return vl(t)?"array":typeof t}function Vm(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function rw(t,e){return t!=null&&typeof t=="object"&&e in t}function RL(t,e){return t!=null&&typeof t!="object"&&t.hasOwnProperty&&t.hasOwnProperty(e)}var IL=RegExp.prototype.test;function jL(t,e){return IL.call(t,e)}var OL=/\S/;function LL(t){return!jL(OL,t)}var NL={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function $L(t){return String(t).replace(/[&<>"'`=\/]/g,function(r){return NL[r]})}var zL=/\s*/,BL=/\s+/,nw=/\s*=/,DL=/\s*\}/,FL=/#|\^|\/|>|\{|&|=|!/;function HL(t,e){if(!t)return[];var r=!1,n=[],i=[],s=[],l=!1,c=!1,d="",p=0;function m(){if(l&&!c)for(;s.length;)delete i[s.pop()];else s=[];l=!1,c=!1}var v,g,y;function w($){if(typeof $=="string"&&($=$.split(BL,2)),!vl($)||$.length!==2)throw new Error("Invalid tags: "+$);v=new RegExp(Vm($[0])+"\\s*"),g=new RegExp("\\s*"+Vm($[1])),y=new RegExp("\\s*"+Vm("}"+$[1]))}w(e||Rn.tags);for(var x=new vu(t),C,P,k,_,E,A;!x.eos();){if(C=x.pos,k=x.scanUntil(v),k)for(var I=0,D=k.length;I<D;++I)_=k.charAt(I),LL(_)?(s.push(i.length),d+=_):(c=!0,r=!0,d+=" "),i.push(["text",_,C,C+1]),C+=1,_===`
311
- `&&(m(),d="",p=0,r=!1);if(!x.scan(v))break;if(l=!0,P=x.scan(FL)||"name",x.scan(zL),P==="="?(k=x.scanUntil(nw),x.scan(nw),x.scanUntil(g)):P==="{"?(k=x.scanUntil(y),x.scan(DL),x.scanUntil(g),P="&"):k=x.scanUntil(g),!x.scan(g))throw new Error("Unclosed tag at "+x.pos);if(P==">"?E=[P,k,C,x.pos,d,p,r]:E=[P,k,C,x.pos],p++,i.push(E),P==="#"||P==="^")n.push(E);else if(P==="/"){if(A=n.pop(),!A)throw new Error('Unopened section "'+k+'" at '+C);if(A[1]!==k)throw new Error('Unclosed section "'+A[1]+'" at '+C)}else P==="name"||P==="{"||P==="&"?c=!0:P==="="&&w(k)}if(m(),A=n.pop(),A)throw new Error('Unclosed section "'+A[1]+'" at '+x.pos);return UL(VL(i))}function VL(t){for(var e=[],r,n,i=0,s=t.length;i<s;++i)r=t[i],r&&(r[0]==="text"&&n&&n[0]==="text"?(n[1]+=r[1],n[3]=r[3]):(e.push(r),n=r));return e}function UL(t){for(var e=[],r=e,n=[],i,s,l=0,c=t.length;l<c;++l)switch(i=t[l],i[0]){case"#":case"^":r.push(i),n.push(i),r=i[4]=[];break;case"/":s=n.pop(),s[5]=i[2],r=n.length>0?n[n.length-1][4]:e;break;default:r.push(i)}return e}function vu(t){this.string=t,this.tail=t,this.pos=0}vu.prototype.eos=function(){return this.tail===""};vu.prototype.scan=function(e){var r=this.tail.match(e);if(!r||r.index!==0)return"";var n=r[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n};vu.prototype.scanUntil=function(e){var r=this.tail.search(e),n;switch(r){case-1:n=this.tail,this.tail="";break;case 0:n="";break;default:n=this.tail.substring(0,r),this.tail=this.tail.substring(r)}return this.pos+=n.length,n};function rl(t,e){this.view=t,this.cache={".":this.view},this.parent=e}rl.prototype.push=function(e){return new rl(e,this)};rl.prototype.lookup=function(e){var r=this.cache,n;if(r.hasOwnProperty(e))n=r[e];else{for(var i=this,s,l,c,d=!1;i;){if(e.indexOf(".")>0)for(s=i.view,l=e.split("."),c=0;s!=null&&c<l.length;)c===l.length-1&&(d=rw(s,l[c])||RL(s,l[c])),s=s[l[c++]];else s=i.view[e],d=rw(i.view,e);if(d){n=s;break}i=i.parent}r[e]=n}return Hy(n)&&(n=n.call(this.view)),n};function Zr(){this.templateCache={_cache:{},set:function(e,r){this._cache[e]=r},get:function(e){return this._cache[e]},clear:function(){this._cache={}}}}Zr.prototype.clearCache=function(){typeof this.templateCache<"u"&&this.templateCache.clear()};Zr.prototype.parse=function(e,r){var n=this.templateCache,i=e+":"+(r||Rn.tags).join(":"),s=typeof n<"u",l=s?n.get(i):void 0;return l==null&&(l=HL(e,r),s&&n.set(i,l)),l};Zr.prototype.render=function(e,r,n,i){var s=this.getConfigTags(i),l=this.parse(e,s),c=r instanceof rl?r:new rl(r,void 0);return this.renderTokens(l,c,n,e,i)};Zr.prototype.renderTokens=function(e,r,n,i,s){for(var l="",c,d,p,m=0,v=e.length;m<v;++m)p=void 0,c=e[m],d=c[0],d==="#"?p=this.renderSection(c,r,n,i,s):d==="^"?p=this.renderInverted(c,r,n,i,s):d===">"?p=this.renderPartial(c,r,n,s):d==="&"?p=this.unescapedValue(c,r):d==="name"?p=this.escapedValue(c,r,s):d==="text"&&(p=this.rawValue(c)),p!==void 0&&(l+=p);return l};Zr.prototype.renderSection=function(e,r,n,i,s){var l=this,c="",d=r.lookup(e[1]);function p(g){return l.render(g,r,n,s)}if(d){if(vl(d))for(var m=0,v=d.length;m<v;++m)c+=this.renderTokens(e[4],r.push(d[m]),n,i,s);else if(typeof d=="object"||typeof d=="string"||typeof d=="number")c+=this.renderTokens(e[4],r.push(d),n,i,s);else if(Hy(d)){if(typeof i!="string")throw new Error("Cannot use higher-order sections without the original template");d=d.call(r.view,i.slice(e[3],e[5]),p),d!=null&&(c+=d)}else c+=this.renderTokens(e[4],r,n,i,s);return c}};Zr.prototype.renderInverted=function(e,r,n,i,s){var l=r.lookup(e[1]);if(!l||vl(l)&&l.length===0)return this.renderTokens(e[4],r,n,i,s)};Zr.prototype.indentPartial=function(e,r,n){for(var i=r.replace(/[^ \t]/g,""),s=e.split(`
312
- `),l=0;l<s.length;l++)s[l].length&&(l>0||!n)&&(s[l]=i+s[l]);return s.join(`
313
- `)};Zr.prototype.renderPartial=function(e,r,n,i){if(n){var s=this.getConfigTags(i),l=Hy(n)?n(e[1]):n[e[1]];if(l!=null){var c=e[6],d=e[5],p=e[4],m=l;d==0&&p&&(m=this.indentPartial(l,p,c));var v=this.parse(m,s);return this.renderTokens(v,r,n,m,i)}}};Zr.prototype.unescapedValue=function(e,r){var n=r.lookup(e[1]);if(n!=null)return n};Zr.prototype.escapedValue=function(e,r,n){var i=this.getConfigEscape(n)||Rn.escape,s=r.lookup(e[1]);if(s!=null)return typeof s=="number"&&i===Rn.escape?String(s):i(s)};Zr.prototype.rawValue=function(e){return e[1]};Zr.prototype.getConfigTags=function(e){return vl(e)?e:e&&typeof e=="object"?e.tags:void 0};Zr.prototype.getConfigEscape=function(e){if(e&&typeof e=="object"&&!vl(e))return e.escape};var Rn={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(t){Kc.templateCache=t},get templateCache(){return Kc.templateCache}},Kc=new Zr;Rn.clearCache=function(){return Kc.clearCache()};Rn.parse=function(e,r){return Kc.parse(e,r)};Rn.render=function(e,r,n,i){if(typeof e!="string")throw new TypeError('Invalid template! Template should be a "string" but "'+AL(e)+'" was given as the first argument for mustache#render(template, view, partials)');return Kc.render(e,r,n,i)};Rn.escape=$L;Rn.Scanner=vu;Rn.Context=rl;Rn.Writer=Zr;var iw={};/*! *****************************************************************************
314
- Copyright (C) Microsoft. All rights reserved.
315
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
316
- this file except in compliance with the License. You may obtain a copy of the
317
- License at http://www.apache.org/licenses/LICENSE-2.0
318
-
319
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
320
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
321
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
322
- MERCHANTABLITY OR NON-INFRINGEMENT.
323
-
324
- See the Apache Version 2.0 License for specific language governing permissions
325
- and limitations under the License.
326
- ***************************************************************************** */var ow;function WL(){if(ow)return iw;ow=1;var t;return(function(e){(function(r){var n=typeof ib=="object"?ib:typeof self=="object"?self:typeof this=="object"?this:Function("return this;")(),i=s(e);typeof n.Reflect>"u"?n.Reflect=e:i=s(n.Reflect,i),r(i);function s(l,c){return function(d,p){typeof l[d]!="function"&&Object.defineProperty(l,d,{configurable:!0,writable:!0,value:p}),c&&c(d,p)}}})(function(r){var n=Object.prototype.hasOwnProperty,i=typeof Symbol=="function",s=i&&typeof Symbol.toPrimitive<"u"?Symbol.toPrimitive:"@@toPrimitive",l=i&&typeof Symbol.iterator<"u"?Symbol.iterator:"@@iterator",c=typeof Object.create=="function",d={__proto__:[]}instanceof Array,p=!c&&!d,m={create:c?function(){return kt(Object.create(null))}:d?function(){return kt({__proto__:null})}:function(){return kt({})},has:p?function(le,me){return n.call(le,me)}:function(le,me){return me in le},get:p?function(le,me){return n.call(le,me)?le[me]:void 0}:function(le,me){return le[me]}},v=Object.getPrototypeOf(Function),g=typeof process=="object"&&process.env&&process.env.REFLECT_METADATA_USE_MAP_POLYFILL==="true",y=!g&&typeof Map=="function"&&typeof Map.prototype.entries=="function"?Map:ht(),w=!g&&typeof Set=="function"&&typeof Set.prototype.entries=="function"?Set:$e(),x=!g&&typeof WeakMap=="function"?WeakMap:lr(),C=new x;function P(le,me,ye,Ae){if(ne(ye)){if(!Le(le))throw new TypeError;if(!ze(me))throw new TypeError;return H(le,me)}else{if(!Le(le))throw new TypeError;if(!ie(me))throw new TypeError;if(!ie(Ae)&&!ne(Ae)&&!ue(Ae))throw new TypeError;return ue(Ae)&&(Ae=void 0),ye=se(ye),M(le,me,ye,Ae)}}r("decorate",P);function k(le,me){function ye(Ae,Be){if(!ie(Ae))throw new TypeError;if(!ne(Be)&&!Oe(Be))throw new TypeError;J(le,me,Ae,Be)}return ye}r("metadata",k);function _(le,me,ye,Ae){if(!ie(ye))throw new TypeError;return ne(Ae)||(Ae=se(Ae)),J(le,me,ye,Ae)}r("defineMetadata",_);function E(le,me,ye){if(!ie(me))throw new TypeError;return ne(ye)||(ye=se(ye)),G(le,me,ye)}r("hasMetadata",E);function A(le,me,ye){if(!ie(me))throw new TypeError;return ne(ye)||(ye=se(ye)),B(le,me,ye)}r("hasOwnMetadata",A);function I(le,me,ye){if(!ie(me))throw new TypeError;return ne(ye)||(ye=se(ye)),V(le,me,ye)}r("getMetadata",I);function D(le,me,ye){if(!ie(me))throw new TypeError;return ne(ye)||(ye=se(ye)),K(le,me,ye)}r("getOwnMetadata",D);function $(le,me){if(!ie(le))throw new TypeError;return ne(me)||(me=se(me)),Z(le,me)}r("getMetadataKeys",$);function U(le,me){if(!ie(le))throw new TypeError;return ne(me)||(me=se(me)),Q(le,me)}r("getOwnMetadataKeys",U);function X(le,me,ye){if(!ie(me))throw new TypeError;ne(ye)||(ye=se(ye));var Ae=W(me,ye,!1);if(ne(Ae)||!Ae.delete(le))return!1;if(Ae.size>0)return!0;var Be=C.get(me);return Be.delete(ye),Be.size>0||C.delete(me),!0}r("deleteMetadata",X);function H(le,me){for(var ye=le.length-1;ye>=0;--ye){var Ae=le[ye],Be=Ae(me);if(!ne(Be)&&!ue(Be)){if(!ze(Be))throw new TypeError;me=Be}}return me}function M(le,me,ye,Ae){for(var Be=le.length-1;Be>=0;--Be){var lt=le[Be],we=lt(me,ye,Ae);if(!ne(we)&&!ue(we)){if(!ie(we))throw new TypeError;Ae=we}}return Ae}function W(le,me,ye){var Ae=C.get(le);if(ne(Ae)){if(!ye)return;Ae=new y,C.set(le,Ae)}var Be=Ae.get(me);if(ne(Be)){if(!ye)return;Be=new y,Ae.set(me,Be)}return Be}function G(le,me,ye){var Ae=B(le,me,ye);if(Ae)return!0;var Be=xt(me);return ue(Be)?!1:G(le,Be,ye)}function B(le,me,ye){var Ae=W(me,ye,!1);return ne(Ae)?!1:ve(Ae.has(le))}function V(le,me,ye){var Ae=B(le,me,ye);if(Ae)return K(le,me,ye);var Be=xt(me);if(!ue(Be))return V(le,Be,ye)}function K(le,me,ye){var Ae=W(me,ye,!1);if(!ne(Ae))return Ae.get(le)}function J(le,me,ye,Ae){var Be=W(ye,Ae,!0);Be.set(le,me)}function Z(le,me){var ye=Q(le,me),Ae=xt(le);if(Ae===null)return ye;var Be=Z(Ae,me);if(Be.length<=0)return ye;if(ye.length<=0)return Be;for(var lt=new w,we=[],Ve=0,Ie=ye;Ve<Ie.length;Ve++){var We=Ie[Ve],wt=lt.has(We);wt||(lt.add(We),we.push(We))}for(var hr=0,Jn=Be;hr<Jn.length;hr++){var We=Jn[hr],wt=lt.has(We);wt||(lt.add(We),we.push(We))}return we}function Q(le,me){var ye=[],Ae=W(le,me,!1);if(ne(Ae))return ye;for(var Be=Ae.keys(),lt=st(Be),we=0;;){var Ve=dt(lt);if(!Ve)return ye.length=we,ye;var Ie=ft(Ve);try{ye[we]=Ie}catch(We){try{St(lt)}finally{throw We}}we++}}function q(le){if(le===null)return 1;switch(typeof le){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return le===null?1:6;default:return 6}}function ne(le){return le===void 0}function ue(le){return le===null}function oe(le){return typeof le=="symbol"}function ie(le){return typeof le=="object"?le!==null:typeof le=="function"}function ee(le,me){switch(q(le)){case 0:return le;case 1:return le;case 2:return le;case 3:return le;case 4:return le;case 5:return le}var ye="string",Ae=_e(le,s);if(Ae!==void 0){var Be=Ae.call(le,ye);if(ie(Be))throw new TypeError;return Be}return pe(le)}function pe(le,me){var ye,Ae,Be;{var lt=le.toString;if(De(lt)){var Ae=lt.call(le);if(!ie(Ae))return Ae}var ye=le.valueOf;if(De(ye)){var Ae=ye.call(le);if(!ie(Ae))return Ae}}throw new TypeError}function ve(le){return!!le}function xe(le){return""+le}function se(le){var me=ee(le);return oe(me)?me:xe(me)}function Le(le){return Array.isArray?Array.isArray(le):le instanceof Object?le instanceof Array:Object.prototype.toString.call(le)==="[object Array]"}function De(le){return typeof le=="function"}function ze(le){return typeof le=="function"}function Oe(le){switch(q(le)){case 3:return!0;case 4:return!0;default:return!1}}function _e(le,me){var ye=le[me];if(ye!=null){if(!De(ye))throw new TypeError;return ye}}function st(le){var me=_e(le,l);if(!De(me))throw new TypeError;var ye=me.call(le);if(!ie(ye))throw new TypeError;return ye}function ft(le){return le.value}function dt(le){var me=le.next();return me.done?!1:me}function St(le){var me=le.return;me&&me.call(le)}function xt(le){var me=Object.getPrototypeOf(le);if(typeof le!="function"||le===v||me!==v)return me;var ye=le.prototype,Ae=ye&&Object.getPrototypeOf(ye);if(Ae==null||Ae===Object.prototype)return me;var Be=Ae.constructor;return typeof Be!="function"||Be===le?me:Be}function ht(){var le={},me=[],ye=(function(){function we(Ve,Ie,We){this._index=0,this._keys=Ve,this._values=Ie,this._selector=We}return we.prototype["@@iterator"]=function(){return this},we.prototype[l]=function(){return this},we.prototype.next=function(){var Ve=this._index;if(Ve>=0&&Ve<this._keys.length){var Ie=this._selector(this._keys[Ve],this._values[Ve]);return Ve+1>=this._keys.length?(this._index=-1,this._keys=me,this._values=me):this._index++,{value:Ie,done:!1}}return{value:void 0,done:!0}},we.prototype.throw=function(Ve){throw this._index>=0&&(this._index=-1,this._keys=me,this._values=me),Ve},we.prototype.return=function(Ve){return this._index>=0&&(this._index=-1,this._keys=me,this._values=me),{value:Ve,done:!0}},we})();return(function(){function we(){this._keys=[],this._values=[],this._cacheKey=le,this._cacheIndex=-2}return Object.defineProperty(we.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),we.prototype.has=function(Ve){return this._find(Ve,!1)>=0},we.prototype.get=function(Ve){var Ie=this._find(Ve,!1);return Ie>=0?this._values[Ie]:void 0},we.prototype.set=function(Ve,Ie){var We=this._find(Ve,!0);return this._values[We]=Ie,this},we.prototype.delete=function(Ve){var Ie=this._find(Ve,!1);if(Ie>=0){for(var We=this._keys.length,wt=Ie+1;wt<We;wt++)this._keys[wt-1]=this._keys[wt],this._values[wt-1]=this._values[wt];return this._keys.length--,this._values.length--,Ve===this._cacheKey&&(this._cacheKey=le,this._cacheIndex=-2),!0}return!1},we.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=le,this._cacheIndex=-2},we.prototype.keys=function(){return new ye(this._keys,this._values,Ae)},we.prototype.values=function(){return new ye(this._keys,this._values,Be)},we.prototype.entries=function(){return new ye(this._keys,this._values,lt)},we.prototype["@@iterator"]=function(){return this.entries()},we.prototype[l]=function(){return this.entries()},we.prototype._find=function(Ve,Ie){return this._cacheKey!==Ve&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=Ve)),this._cacheIndex<0&&Ie&&(this._cacheIndex=this._keys.length,this._keys.push(Ve),this._values.push(void 0)),this._cacheIndex},we})();function Ae(we,Ve){return we}function Be(we,Ve){return Ve}function lt(we,Ve){return[we,Ve]}}function $e(){return(function(){function le(){this._map=new y}return Object.defineProperty(le.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),le.prototype.has=function(me){return this._map.has(me)},le.prototype.add=function(me){return this._map.set(me,me),this},le.prototype.delete=function(me){return this._map.delete(me)},le.prototype.clear=function(){this._map.clear()},le.prototype.keys=function(){return this._map.keys()},le.prototype.values=function(){return this._map.values()},le.prototype.entries=function(){return this._map.entries()},le.prototype["@@iterator"]=function(){return this.keys()},le.prototype[l]=function(){return this.keys()},le})()}function lr(){var le=16,me=m.create(),ye=Ae();return(function(){function Ie(){this._key=Ae()}return Ie.prototype.has=function(We){var wt=Be(We,!1);return wt!==void 0?m.has(wt,this._key):!1},Ie.prototype.get=function(We){var wt=Be(We,!1);return wt!==void 0?m.get(wt,this._key):void 0},Ie.prototype.set=function(We,wt){var hr=Be(We,!0);return hr[this._key]=wt,this},Ie.prototype.delete=function(We){var wt=Be(We,!1);return wt!==void 0?delete wt[this._key]:!1},Ie.prototype.clear=function(){this._key=Ae()},Ie})();function Ae(){var Ie;do Ie="@@WeakMap@@"+Ve();while(m.has(me,Ie));return me[Ie]=!0,Ie}function Be(Ie,We){if(!n.call(Ie,ye)){if(!We)return;Object.defineProperty(Ie,ye,{value:m.create()})}return Ie[ye]}function lt(Ie,We){for(var wt=0;wt<We;++wt)Ie[wt]=Math.random()*255|0;return Ie}function we(Ie){return typeof Uint8Array=="function"?typeof crypto<"u"?crypto.getRandomValues(new Uint8Array(Ie)):typeof msCrypto<"u"?msCrypto.getRandomValues(new Uint8Array(Ie)):lt(new Uint8Array(Ie),Ie):lt(new Array(Ie),Ie)}function Ve(){var Ie=we(le);Ie[6]=Ie[6]&79|64,Ie[8]=Ie[8]&191|128;for(var We="",wt=0;wt<le;++wt){var hr=Ie[wt];(wt===4||wt===6||wt===8)&&(We+="-"),hr<16&&(We+="0"),We+=hr.toString(16).toLowerCase()}return We}}function kt(le){return le.__=void 0,delete le.__,le}})})(t||(t={})),iw}WL();var bu=(function(){function t(e){this.groups=[],this.each=!1,this.context=void 0,this.type=e.type,this.name=e.name,this.target=e.target,this.propertyName=e.propertyName,this.constraints=e==null?void 0:e.constraints,this.constraintCls=e.constraintCls,this.validationTypeOptions=e.validationTypeOptions,e.validationOptions&&(this.message=e.validationOptions.message,this.groups=e.validationOptions.groups,this.always=e.validationOptions.always,this.each=e.validationOptions.each,this.context=e.validationOptions.context)}return t})(),qL=(function(){function t(){}return t.prototype.transform=function(e){var r=[];return Object.keys(e.properties).forEach(function(n){e.properties[n].forEach(function(i){var s={message:i.message,groups:i.groups,always:i.always,each:i.each},l={type:i.type,name:i.name,target:e.name,propertyName:n,constraints:i.constraints,validationTypeOptions:i.options,validationOptions:s};r.push(new bu(l))})}),r},t})();function GL(t){return t instanceof Map?Array.from(t.values()):Array.isArray(t)?t:Array.from(t)}function XL(){if(typeof globalThis<"u")return globalThis;if(typeof global<"u")return global;if(typeof window<"u")return window;if(typeof self<"u")return self}function Um(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var KL=function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},aw=function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],l;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){l={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(l)throw l.error}}return s},QL=function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))},mC=(function(){function t(){this.validationMetadatas=new Map,this.constraintMetadatas=new Map}return Object.defineProperty(t.prototype,"hasValidationMetaData",{get:function(){return!!this.validationMetadatas.size},enumerable:!1,configurable:!0}),t.prototype.addValidationSchema=function(e){var r=this,n=new qL().transform(e);n.forEach(function(i){return r.addValidationMetadata(i)})},t.prototype.addValidationMetadata=function(e){var r=this.validationMetadatas.get(e.target);r?r.push(e):this.validationMetadatas.set(e.target,[e])},t.prototype.addConstraintMetadata=function(e){var r=this.constraintMetadatas.get(e.target);r?r.push(e):this.constraintMetadatas.set(e.target,[e])},t.prototype.groupByPropertyName=function(e){var r={};return e.forEach(function(n){r[n.propertyName]||(r[n.propertyName]=[]),r[n.propertyName].push(n)}),r},t.prototype.getTargetValidationMetadatas=function(e,r,n,i,s){var l,c,d=function(E){return typeof E.always<"u"?E.always:E.groups&&E.groups.length?!1:n},p=function(E){return!!(i&&(!s||!s.length)&&E.groups&&E.groups.length)},m=this.validationMetadatas.get(e)||[],v=m.filter(function(E){return E.target!==e&&E.target!==r?!1:d(E)?!0:p(E)?!1:s&&s.length>0?E.groups&&!!E.groups.find(function(A){return s.indexOf(A)!==-1}):!0}),g=[];try{for(var y=KL(this.validationMetadatas.entries()),w=y.next();!w.done;w=y.next()){var x=aw(w.value,2),C=x[0],P=x[1];e.prototype instanceof C&&g.push.apply(g,QL([],aw(P),!1))}}catch(E){l={error:E}}finally{try{w&&!w.done&&(c=y.return)&&c.call(y)}finally{if(l)throw l.error}}var k=g.filter(function(E){return typeof E.target=="string"||E.target===e||E.target instanceof Function&&!(e.prototype instanceof E.target)?!1:d(E)?!0:p(E)?!1:s&&s.length>0?E.groups&&!!E.groups.find(function(A){return s.indexOf(A)!==-1}):!0}),_=k.filter(function(E){return!v.find(function(A){return A.propertyName===E.propertyName&&A.type===E.type})});return v.concat(_)},t.prototype.getTargetValidatorConstraints=function(e){return this.constraintMetadatas.get(e)||[]},t})();function Va(){var t=XL();return t.classValidatorMetadataStorage||(t.classValidatorMetadataStorage=new mC),t.classValidatorMetadataStorage}var sw=(function(){function t(){}return t.prototype.toString=function(e,r,n,i){var s=this;e===void 0&&(e=!1),r===void 0&&(r=!1),n===void 0&&(n=""),i===void 0&&(i=!1);var l=e?"\x1B[1m":"",c=e?"\x1B[22m":"",d=function(){var v;return(i?Object.values:Object.keys)((v=s.constraints)!==null&&v!==void 0?v:{}).join(", ")},p=function(v){return" - property ".concat(l).concat(n).concat(v).concat(c," has failed the following constraints: ").concat(l).concat(d()).concat(c,`
327
- `)};if(r){var m=Number.isInteger(+this.property)?"[".concat(this.property,"]"):"".concat(n?".":"").concat(this.property);return this.constraints?p(m):this.children?this.children.map(function(v){return v.toString(e,!0,"".concat(n).concat(m),i)}).join(""):""}else return"An instance of ".concat(l).concat(this.target?this.target.constructor.name:"an object").concat(c,` has failed the validation:
328
- `)+(this.constraints?p(this.property):"")+(this.children?this.children.map(function(v){return v.toString(e,!0,s.property,i)}).join(""):"")},t})(),zr=(function(){function t(){}return t.isValid=function(e){var r=this;return e!=="isValid"&&e!=="getMessage"&&Object.keys(this).map(function(n){return r[n]}).indexOf(e)!==-1},t.CUSTOM_VALIDATION="customValidation",t.NESTED_VALIDATION="nestedValidation",t.PROMISE_VALIDATION="promiseValidation",t.CONDITIONAL_VALIDATION="conditionalValidation",t.WHITELIST="whitelistValidation",t.IS_DEFINED="isDefined",t})();function YL(t){return Array.isArray(t)?t.join(", "):(typeof t=="symbol"&&(t=t.description),"".concat(t))}var JL=(function(){function t(){}return t.replaceMessageSpecialTokens=function(e,r){var n;return e instanceof Function?n=e(r):typeof e=="string"&&(n=e),n&&Array.isArray(r.constraints)&&r.constraints.forEach(function(i,s){n=n.replace(new RegExp("\\$constraint".concat(s+1),"g"),YL(i))}),n&&r.value!==void 0&&r.value!==null&&["string","boolean","number"].includes(typeof r.value)&&(n=n.replace(/\$value/g,r.value)),n&&(n=n.replace(/\$property/g,r.property)),n&&(n=n.replace(/\$target/g,r.targetName)),n},t})(),hc=function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],l;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){l={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(l)throw l.error}}return s},lw=(function(){function t(e,r){this.validator=e,this.validatorOptions=r,this.awaitingPromises=[],this.ignoreAsyncValidations=!1,this.metadataStorage=Va()}return t.prototype.execute=function(e,r,n){var i=this,s,l;!this.metadataStorage.hasValidationMetaData&&((s=this.validatorOptions)===null||s===void 0?void 0:s.enableDebugMessages)===!0&&console.warn(`No validation metadata found. No validation will be performed. There are multiple possible reasons:
329
- - There may be multiple class-validator versions installed. You will need to flatten your dependencies to fix the issue.
330
- - This validation runs before any file with validation decorator was parsed by NodeJS.`);var c=this.validatorOptions?this.validatorOptions.groups:void 0,d=this.validatorOptions&&this.validatorOptions.strictGroups||!1,p=this.validatorOptions&&this.validatorOptions.always||!1,m=((l=this.validatorOptions)===null||l===void 0?void 0:l.forbidUnknownValues)===void 0||this.validatorOptions.forbidUnknownValues!==!1,v=this.metadataStorage.getTargetValidationMetadatas(e.constructor,r,p,d,c),g=this.metadataStorage.groupByPropertyName(v);if(m&&!v.length){var y=new sw;(!this.validatorOptions||!this.validatorOptions.validationError||this.validatorOptions.validationError.target===void 0||this.validatorOptions.validationError.target===!0)&&(y.target=e),y.value=void 0,y.property=void 0,y.children=[],y.constraints={unknownValue:"an unknown value was passed to the validate function"},n.push(y);return}this.validatorOptions&&this.validatorOptions.whitelist&&this.whitelist(e,g,n),Object.keys(g).forEach(function(w){var x=e[w],C=g[w].filter(function(k){return k.type===zr.IS_DEFINED}),P=g[w].filter(function(k){return k.type!==zr.IS_DEFINED&&k.type!==zr.WHITELIST});x instanceof Promise&&P.find(function(k){return k.type===zr.PROMISE_VALIDATION})?i.awaitingPromises.push(x.then(function(k){i.performValidations(e,k,w,C,P,n)})):i.performValidations(e,x,w,C,P,n)})},t.prototype.whitelist=function(e,r,n){var i=this,s=[];Object.keys(e).forEach(function(l){(!r[l]||r[l].length===0)&&s.push(l)}),s.length>0&&(this.validatorOptions&&this.validatorOptions.forbidNonWhitelisted?s.forEach(function(l){var c,d=i.generateValidationError(e,e[l],l);d.constraints=(c={},c[zr.WHITELIST]="property ".concat(l," should not exist"),c),d.children=void 0,n.push(d)}):s.forEach(function(l){return delete e[l]}))},t.prototype.stripEmptyErrors=function(e){var r=this;return e.filter(function(n){if(n.children&&(n.children=r.stripEmptyErrors(n.children)),Object.keys(n.constraints).length===0){if(n.children.length===0)return!1;delete n.constraints}return!0})},t.prototype.performValidations=function(e,r,n,i,s,l){var c=s.filter(function(g){return g.type===zr.CUSTOM_VALIDATION}),d=s.filter(function(g){return g.type===zr.NESTED_VALIDATION}),p=s.filter(function(g){return g.type===zr.CONDITIONAL_VALIDATION}),m=this.generateValidationError(e,r,n);l.push(m);var v=this.conditionalValidations(e,r,p);v&&(this.customValidations(e,r,i,m),this.mapContexts(e,r,i,m),!(r===void 0&&this.validatorOptions&&this.validatorOptions.skipUndefinedProperties===!0)&&(r===null&&this.validatorOptions&&this.validatorOptions.skipNullProperties===!0||r==null&&this.validatorOptions&&this.validatorOptions.skipMissingProperties===!0||(this.customValidations(e,r,c,m),this.nestedValidations(r,d,m),this.mapContexts(e,r,s,m),this.mapContexts(e,r,c,m))))},t.prototype.generateValidationError=function(e,r,n){var i=new sw;return(!this.validatorOptions||!this.validatorOptions.validationError||this.validatorOptions.validationError.target===void 0||this.validatorOptions.validationError.target===!0)&&(i.target=e),(!this.validatorOptions||!this.validatorOptions.validationError||this.validatorOptions.validationError.value===void 0||this.validatorOptions.validationError.value===!0)&&(i.value=r),i.property=n,i.children=[],i.constraints={},i},t.prototype.conditionalValidations=function(e,r,n){return n.map(function(i){return i.constraints[0](e,r)}).reduce(function(i,s){return i&&s},!0)},t.prototype.customValidations=function(e,r,n,i){var s=this;n.forEach(function(l){s.metadataStorage.getTargetValidatorConstraints(l.constraintCls).forEach(function(c){if(!(c.async&&s.ignoreAsyncValidations)&&!(s.validatorOptions&&s.validatorOptions.stopAtFirstError&&Object.keys(i.constraints||{}).length>0)){var d={targetName:e.constructor?e.constructor.name:void 0,property:l.propertyName,object:e,value:r,constraints:l.constraints};if(!l.each||!(Array.isArray(r)||r instanceof Set||r instanceof Map)){var p=c.instance.validate(r,d);if(Um(p)){var m=p.then(function(A){if(!A){var I=hc(s.createValidationError(e,r,l,c),2),D=I[0],$=I[1];i.constraints[D]=$,l.context&&(i.contexts||(i.contexts={}),i.contexts[D]=Object.assign(i.contexts[D]||{},l.context))}});s.awaitingPromises.push(m)}else if(!p){var v=hc(s.createValidationError(e,r,l,c),2),g=v[0],y=v[1];i.constraints[g]=y}return}var w=GL(r),x=w.map(function(A){return c.instance.validate(A,d)}),C=x.some(function(A){return Um(A)});if(C){var P=x.map(function(A){return Um(A)?A:Promise.resolve(A)}),k=Promise.all(P).then(function(A){var I=A.every(function(X){return X});if(!I){var D=hc(s.createValidationError(e,r,l,c),2),$=D[0],U=D[1];i.constraints[$]=U,l.context&&(i.contexts||(i.contexts={}),i.contexts[$]=Object.assign(i.contexts[$]||{},l.context))}});s.awaitingPromises.push(k);return}var _=x.every(function(A){return A});if(!_){var E=hc(s.createValidationError(e,r,l,c),2),g=E[0],y=E[1];i.constraints[g]=y}}})})},t.prototype.nestedValidations=function(e,r,n){var i=this;e!==void 0&&r.forEach(function(s){if(!(s.type!==zr.NESTED_VALIDATION&&s.type!==zr.PROMISE_VALIDATION)&&!(i.validatorOptions&&i.validatorOptions.stopAtFirstError&&Object.keys(n.constraints||{}).length>0))if(Array.isArray(e)||e instanceof Set||e instanceof Map){var l=e instanceof Set?Array.from(e):e;l.forEach(function(v,g){i.performValidations(e,v,g.toString(),[],r,n.children)})}else if(e instanceof Object){var c=typeof s.target=="string"?s.target:s.target.name;i.execute(e,c,n.children)}else{var d=hc(i.createValidationError(s.target,e,s),2),p=d[0],m=d[1];n.constraints[p]=m}})},t.prototype.mapContexts=function(e,r,n,i){var s=this;return n.forEach(function(l){if(l.context){var c=void 0;if(l.type===zr.CUSTOM_VALIDATION){var d=s.metadataStorage.getTargetValidatorConstraints(l.constraintCls);c=d[0]}var p=s.getConstraintType(l,c);i.constraints[p]&&(i.contexts||(i.contexts={}),i.contexts[p]=Object.assign(i.contexts[p]||{},l.context))}})},t.prototype.createValidationError=function(e,r,n,i){var s=e.constructor?e.constructor.name:void 0,l=this.getConstraintType(n,i),c={targetName:s,property:n.propertyName,object:e,value:r,constraints:n.constraints},d=n.message||"";!n.message&&(!this.validatorOptions||this.validatorOptions&&!this.validatorOptions.dismissDefaultMessages)&&i&&i.instance.defaultMessage instanceof Function&&(d=i.instance.defaultMessage(c));var p=JL.replaceMessageSpecialTokens(d,c);return[l,p]},t.prototype.getConstraintType=function(e,r){var n=r&&r.name?r.name:e.type;return n},t})(),ZL=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(l){l(s)})}return new(r||(r=Promise))(function(s,l){function c(m){try{p(n.next(m))}catch(v){l(v)}}function d(m){try{p(n.throw(m))}catch(v){l(v)}}function p(m){m.done?s(m.value):i(m.value).then(c,d)}p((n=n.apply(t,e||[])).next())})},eN=function(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,l;return l={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function c(p){return function(m){return d([p,m])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,p[0]&&(r=0)),r;)try{if(n=1,i&&(s=p[0]&2?i.return:p[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,p[1])).done)return s;switch(i=0,s&&(p=[p[0]&2,s.value]),p[0]){case 0:case 1:s=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,i=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!s||p[1]>s[0]&&p[1]<s[3])){r.label=p[1];break}if(p[0]===6&&r.label<s[1]){r.label=s[1],s=p;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(p);break}s[2]&&r.ops.pop(),r.trys.pop();continue}p=e.call(t,r)}catch(m){p=[6,m],i=0}finally{n=s=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},cw=(function(){function t(){}return t.prototype.validate=function(e,r,n){return this.coreValidate(e,r,n)},t.prototype.validateOrReject=function(e,r,n){return ZL(this,void 0,void 0,function(){var i;return eN(this,function(s){switch(s.label){case 0:return[4,this.coreValidate(e,r,n)];case 1:return i=s.sent(),i.length?[2,Promise.reject(i)]:[2]}})})},t.prototype.validateSync=function(e,r,n){var i=typeof e=="string"?r:e,s=typeof e=="string"?n:r,l=typeof e=="string"?e:void 0,c=new lw(this,s);c.ignoreAsyncValidations=!0;var d=[];return c.execute(i,l,d),c.stripEmptyErrors(d)},t.prototype.coreValidate=function(e,r,n){var i=typeof e=="string"?r:e,s=typeof e=="string"?n:r,l=typeof e=="string"?e:void 0,c=new lw(this,s),d=[];return c.execute(i,l,d),Promise.all(c.awaitingPromises).then(function(){return c.stripEmptyErrors(d)})},t})(),tN=new((function(){function t(){this.instances=[]}return t.prototype.get=function(e){var r=this.instances.find(function(n){return n.type===e});return r||(r={type:e,object:new e},this.instances.push(r)),r.object},t})());function $p(t){return tN.get(t)}var rN=(function(){function t(e,r,n){n===void 0&&(n=!1),this.target=e,this.name=r,this.async=n}return Object.defineProperty(t.prototype,"instance",{get:function(){return $p(this.target)},enumerable:!1,configurable:!0}),t})();function nN(t){var e;if(t.validator instanceof Function){e=t.validator;var r=$p(mC).getTargetValidatorConstraints(t.validator);if(r.length>1)throw"More than one implementation of ValidatorConstraintInterface found for validator on: ".concat(t.target.name,":").concat(t.propertyName)}else{var n=t.validator;e=(function(){function s(){}return s.prototype.validate=function(l,c){return n.validate(l,c)},s.prototype.defaultMessage=function(l){return n.defaultMessage?n.defaultMessage(l):""},s})(),Va().addConstraintMetadata(new rN(e,t.name,t.async))}var i={type:t.name&&zr.isValid(t.name)?t.name:zr.CUSTOM_VALIDATION,name:t.name,target:t.target,propertyName:t.propertyName,validationOptions:t.options,constraintCls:e,constraints:t.constraints};Va().addValidationMetadata(new bu(i))}function gi(t,e){return function(r){var n=e&&e.each?"each value in ":"";return t(n,r)}}function yi(t,e){return function(r,n){nN({name:t.name,target:r.constructor,propertyName:n,options:e,constraints:t.constraints,validator:t.validator})}}var iN="isOptional";function F(t){return function(e,r){var n={type:zr.CONDITIONAL_VALIDATION,name:iN,target:e.constructor,propertyName:r,constraints:[function(i,s){return i[r]!==null&&i[r]!==void 0}],validationOptions:t};Va().addValidationMetadata(new bu(n))}}function Gn(t,e){return function(r,n){var i={type:zr.CONDITIONAL_VALIDATION,target:r.constructor,propertyName:n,constraints:[t],validationOptions:e};Va().addValidationMetadata(new bu(i))}}var Rg=function(){return Rg=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},Rg.apply(this,arguments)};function gn(t){var e=Rg({},t),r=e.each?"each value in ":"";return e.message=e.message||r+"nested property $property must be either object or array",function(n,i){var s={type:zr.NESTED_VALIDATION,target:n.constructor,propertyName:i,validationOptions:e};Va().addValidationMetadata(new bu(s))}}var qd={exports:{}},uw;function Vy(){return uw||(uw=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;function r(n){if(n==null)throw new TypeError("Expected a string but received a ".concat(n));if(n.constructor.name!=="String")throw new TypeError("Expected a string but received a ".concat(n.constructor.name))}t.exports=e.default,t.exports.default=e.default})(qd,qd.exports)),qd.exports}var Gd={exports:{}},dw;function gC(){return dw||(dw=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;function r(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;for(var s in i)typeof n[s]>"u"&&(n[s]=i[s]);return n}t.exports=e.default,t.exports.default=e.default})(Gd,Gd.exports)),Gd.exports}var Xd={exports:{}},pw;function oN(){return pw||(pw=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(i,s){return i.indexOf(s)!==-1};e.default=r,t.exports=e.default,t.exports.default=e.default})(Xd,Xd.exports)),Xd.exports}var aN="isNotEmpty";function sN(t){return t!==""&&t!==null&&t!==void 0}function la(t){return yi({name:aN,validator:{validate:function(e,r){return sN(e)},defaultMessage:gi(function(e){return e+"$property should not be empty"},t)}},t)}var lN="isIn";function cN(t,e){return Array.isArray(e)&&e.some(function(r){return r===t})}function Re(t,e){return yi({name:lN,constraints:[t],validator:{validate:function(r,n){return cN(r,n==null?void 0:n.constraints[0])},defaultMessage:gi(function(r){return r+"$property must be one of the following values: $constraint1"},e)}},e)}var uN="max";function dN(t,e){return typeof t=="number"&&typeof e=="number"&&t<=e}function Za(t,e){return yi({name:uN,constraints:[t],validator:{validate:function(r,n){return dN(r,n==null?void 0:n.constraints[0])},defaultMessage:gi(function(r){return r+"$property must not be greater than $constraint1"},e)}},e)}var pN="min";function fN(t,e){return typeof t=="number"&&typeof e=="number"&&t>=e}function yn(t,e){return yi({name:pN,constraints:[t],validator:{validate:function(r,n){return fN(r,n==null?void 0:n.constraints[0])},defaultMessage:gi(function(r){return r+"$property must not be less than $constraint1"},e)}},e)}var Kd={exports:{}},fw;function hN(){return fw||(fw=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;function r(i){return Object.prototype.toString.call(i)==="[object RegExp]"}function n(i,s){for(var l=0;l<s.length;l++){var c=s[l];if(i===c||r(c)&&c.test(i))return!0}return!1}t.exports=e.default,t.exports.default=e.default})(Kd,Kd.exports)),Kd.exports}var Qd={exports:{}},hw;function mN(){return hw||(hw=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=l;var r=i(Vy()),n=i(gC());function i(c){return c&&c.__esModule?c:{default:c}}var s={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};function l(c,d){(0,r.default)(c),d=(0,n.default)(d,s),d.allow_trailing_dot&&c[c.length-1]==="."&&(c=c.substring(0,c.length-1)),d.allow_wildcard===!0&&c.indexOf("*.")===0&&(c=c.substring(2));var p=c.split("."),m=p[p.length-1];return d.require_tld&&(p.length<2||!d.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(m)||/\s/.test(m))||!d.allow_numeric_tld&&/^\d+$/.test(m)?!1:p.every(function(v){return!(v.length>63&&!d.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(v)||/[\uff01-\uff5e]/.test(v)||/^-|-$/.test(v)||!d.allow_underscores&&/_/.test(v))})}t.exports=e.default,t.exports.default=e.default})(Qd,Qd.exports)),Qd.exports}var Yd={exports:{}},mw;function gN(){return mw||(mw=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=m;var r=n(Vy());function n(v){return v&&v.__esModule?v:{default:v}}function i(v){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},i(v)}var s="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",l="(".concat(s,"[.]){3}").concat(s),c=new RegExp("^".concat(l,"$")),d="(?:[0-9a-fA-F]{1,4})",p=new RegExp("^("+"(?:".concat(d,":){7}(?:").concat(d,"|:)|")+"(?:".concat(d,":){6}(?:").concat(l,"|:").concat(d,"|:)|")+"(?:".concat(d,":){5}(?::").concat(l,"|(:").concat(d,"){1,2}|:)|")+"(?:".concat(d,":){4}(?:(:").concat(d,"){0,1}:").concat(l,"|(:").concat(d,"){1,3}|:)|")+"(?:".concat(d,":){3}(?:(:").concat(d,"){0,2}:").concat(l,"|(:").concat(d,"){1,4}|:)|")+"(?:".concat(d,":){2}(?:(:").concat(d,"){0,3}:").concat(l,"|(:").concat(d,"){1,5}|:)|")+"(?:".concat(d,":){1}(?:(:").concat(d,"){0,4}:").concat(l,"|(:").concat(d,"){1,6}|:)|")+"(?::((?::".concat(d,"){0,5}:").concat(l,"|(?::").concat(d,"){1,7}|:))")+")(%[0-9a-zA-Z.]{1,})?$");function m(v){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,r.default)(v);var y=(i(g)==="object"?g.version:arguments[1])||"";return y?y.toString()==="4"?c.test(v):y.toString()==="6"?p.test(v):!1:m(v,{version:4})||m(v,{version:6})}t.exports=e.default,t.exports.default=e.default})(Yd,Yd.exports)),Yd.exports}var Jd={exports:{}},gw;function yN(){return gw||(gw=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=P;var r=d(Vy()),n=d(hN()),i=d(oN()),s=d(mN()),l=d(gN()),c=d(gC());function d(k){return k&&k.__esModule?k:{default:k}}function p(k,_){return w(k)||y(k,_)||v(k,_)||m()}function m(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
331
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function v(k,_){if(k){if(typeof k=="string")return g(k,_);var E={}.toString.call(k).slice(8,-1);return E==="Object"&&k.constructor&&(E=k.constructor.name),E==="Map"||E==="Set"?Array.from(k):E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E)?g(k,_):void 0}}function g(k,_){(_==null||_>k.length)&&(_=k.length);for(var E=0,A=Array(_);E<_;E++)A[E]=k[E];return A}function y(k,_){var E=k==null?null:typeof Symbol<"u"&&k[Symbol.iterator]||k["@@iterator"];if(E!=null){var A,I,D,$,U=[],X=!0,H=!1;try{if(D=(E=E.call(k)).next,_!==0)for(;!(X=(A=D.call(E)).done)&&(U.push(A.value),U.length!==_);X=!0);}catch(M){H=!0,I=M}finally{try{if(!X&&E.return!=null&&($=E.return(),Object($)!==$))return}finally{if(H)throw I}}return U}}function w(k){if(Array.isArray(k))return k}var x={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0,max_allowed_length:2084},C=/^\[([^\]]+)\](?::([0-9]+))?$/;function P(k,_){if((0,r.default)(k),!k||/[\s<>]/.test(k)||k.indexOf("mailto:")===0||(_=(0,c.default)(_,x),_.validate_length&&k.length>_.max_allowed_length)||!_.allow_fragments&&(0,i.default)(k,"#")||!_.allow_query_components&&((0,i.default)(k,"?")||(0,i.default)(k,"&")))return!1;var E,A,I,D,$,U,X,H;X=k.split("#"),k=X.shift(),X=k.split("?"),k=X.shift();var M=k.match(/^([a-z][a-z0-9+\-.]*):/i),W=!1,G=function(Le){return W=!0,E=Le.toLowerCase(),_.require_valid_protocol&&_.protocols.indexOf(E)===-1?!1:k.substring(M[0].length)};if(M){var B=M[1],V=k.substring(M[0].length),K=V.slice(0,2)==="//";if(K){if(k=G(B),k===!1)return!1}else{var J=V.indexOf("/"),Z=J===-1?V:V.substring(0,J),Q=Z.indexOf("@");if(Q!==-1){var q=Z.substring(0,Q),ne=/^[a-zA-Z0-9\-_.%:]*$/,ue=ne.test(q);if(ue){if(_.require_protocol)return!1}else if(k=G(B),k===!1)return!1}else{var oe=/^[0-9]/.test(V);if(oe){if(_.require_protocol)return!1}else if(k=G(B),k===!1)return!1}}}else if(_.require_protocol)return!1;if(k.slice(0,2)==="//"){if(!W&&!_.allow_protocol_relative_urls)return!1;k=k.slice(2)}if(k==="")return!1;if(X=k.split("/"),k=X.shift(),k===""&&!_.require_host)return!0;if(X=k.split("@"),X.length>1){if(_.disallow_auth||X[0]===""||(A=X.shift(),A.indexOf(":")>=0&&A.split(":").length>2))return!1;var ie=A.split(":"),ee=p(ie,2),pe=ee[0],ve=ee[1];if(pe===""&&ve==="")return!1}D=X.join("@"),U=null,H=null;var xe=D.match(C);if(xe?(I="",H=xe[1],U=xe[2]||null):(X=D.split(":"),I=X.shift(),X.length&&(U=X.join(":"))),U!==null&&U.length>0){if($=parseInt(U,10),!/^[0-9]+$/.test(U)||$<=0||$>65535)return!1}else if(_.require_port)return!1;return _.host_whitelist?(0,n.default)(I,_.host_whitelist):I===""&&!_.require_host?!0:!(!(0,l.default)(I)&&!(0,s.default)(I,_)&&(!H||!(0,l.default)(H,6))||(I=I||H,_.host_blacklist&&(0,n.default)(I,_.host_blacklist)))}t.exports=e.default,t.exports.default=e.default})(Jd,Jd.exports)),Jd.exports}var vN=yN();const bN=Kp(vN);var xN="isUrl";function wN(t,e){return typeof t=="string"&&bN(t,e)}function Mf(t,e){return yi({name:xN,constraints:[t],validator:{validate:function(r,n){return wN(r,n==null?void 0:n.constraints[0])},defaultMessage:gi(function(r){return r+"$property must be a URL address"},e)}},e)}var SN="isBoolean";function CN(t){return t instanceof Boolean||typeof t=="boolean"}function gt(t){return yi({name:SN,validator:{validate:function(e,r){return CN(e)},defaultMessage:gi(function(e){return e+"$property must be a boolean value"},t)}},t)}var EN="isNumber";function TN(t,e){if(e===void 0&&(e={}),typeof t!="number")return!1;if(t===1/0||t===-1/0)return!!e.allowInfinity;if(Number.isNaN(t))return!!e.allowNaN;if(e.maxDecimalPlaces!==void 0){var r=0;if(t%1!==0&&(r=t.toString().split(".")[1].length),r>e.maxDecimalPlaces)return!1}return Number.isFinite(t)}function Qt(t,e){return t===void 0&&(t={}),yi({name:EN,constraints:[t],validator:{validate:function(r,n){return TN(r,n==null?void 0:n.constraints[0])},defaultMessage:gi(function(r){return r+"$property must be a number conforming to the specified constraints"},e)}},e)}var kN="isInt";function PN(t){return typeof t=="number"&&Number.isInteger(t)}function bl(t){return yi({name:kN,validator:{validate:function(e,r){return PN(e)},defaultMessage:gi(function(e){return e+"$property must be an integer number"},t)}},t)}var MN="isString";function _N(t){return t instanceof String||typeof t=="string"}function te(t){return yi({name:MN,validator:{validate:function(e,r){return _N(e)},defaultMessage:gi(function(e){return e+"$property must be a string"},t)}},t)}var AN="isArray";function RN(t){return Array.isArray(t)}function kr(t){return yi({name:AN,validator:{validate:function(e,r){return RN(e)},defaultMessage:gi(function(e){return e+"$property must be an array"},t)}},t)}var IN="isObject";function jN(t){return t!=null&&(typeof t=="object"||typeof t=="function")&&!Array.isArray(t)}function ON(t){return yi({name:IN,validator:{validate:function(e,r){return jN(e)},defaultMessage:gi(function(e){return e+"$property must be an object"},t)}},t)}function LN(t,e,r){return typeof t=="string"?$p(cw).validate(t,e,r):$p(cw).validate(t,e)}var xu=Object.defineProperty,NN=Object.getOwnPropertyDescriptor,yC=Object.getOwnPropertyNames,$N=Object.prototype.hasOwnProperty,zN=(t,e,r)=>e in t?xu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,vi=(t,e)=>xu(t,"name",{value:e,configurable:!0}),BN=(t,e)=>function(){return t&&(e=(0,t[yC(t)[0]])(t=0)),e},DN=(t,e)=>{for(var r in e)xu(t,r,{get:e[r],enumerable:!0})},FN=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of yC(e))!$N.call(t,i)&&i!==r&&xu(t,i,{get:()=>e[i],enumerable:!(n=NN(e,i))||n.enumerable});return t},HN=t=>FN(xu({},"__esModule",{value:!0}),t),co=(t,e,r)=>(zN(t,typeof e!="symbol"?e+"":e,r),r),vC={};DN(vC,{MustacheTemplateProvider:()=>Uy});var Wm,Uy,bC=BN({"src/providers/MustacheTemplateProvider.ts"(){Wm=class{constructor(e=1){co(this,"max_passes"),this.max_passes=e,Rn.escape=r=>r.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}resolve(e,r){if(!e)return"";if(!e.includes("{{"))return e;try{let n=e;for(let i=0;i<this.max_passes;i++){const s=Rn.render(n,r);if(s===n)break;n=s}return n}catch(n){throw new Error(`Template resolution failed: ${n instanceof Error?n.message:String(n)}`)}}},vi(Wm,"MustacheTemplateProvider"),Uy=Wm}}),Ge=(function(t){return t.STRING="string",t.INTEGER="integer",t.NUMBER="number",t.BOOLEAN="boolean",t.OBJECT="object",t.ARRAY="array",t})({}),O=(function(t){return t.TEXT="text",t.TEXTAREA="textarea",t.NUMBER="number",t.INTEGER="integer",t.BOOLEAN="boolean",t.EMAIL="email",t.URL="url",t.IMAGE="image",t.FILE="file",t.DATE="date",t.DATE_TIME="datetime",t.SELECT="select",t.RADIO="radio",t.CHECKBOX="checkbox",t.COLOR="color",t.FORM="form",t.REPEATER="repeater",t.MODEL_REPEATER="model_repeater",t})({});function L(t={}){return function(e,r){var n;e.constructor._fields||(e.constructor._fields=[]);const i=Reflect.getMetadata("design:type",e,r);let s=t.dataType;!s&&i&&(i===String?s=Ge.STRING:i===Number?s=Ge.NUMBER:i===Boolean?s=Ge.BOOLEAN:i===Array?s=Ge.ARRAY:i===Object&&(s=Ge.OBJECT)),e.constructor._fields.push({name:r,dataType:s,required:(n=t.required)!=null?n:!1,defaultValue:t.defaultValue,type:t.type,...t})}}vi(L,"Field");function N(t){return function(e,r){e.constructor._editors||(e.constructor._editors=[]),e.constructor._editors.push({name:r,...t})}}vi(N,"Editor");function bt(t,e){return function(r){return typeof t=="string"?r.prototype.constructor._schema={name:t,version:e||"1.0.0"}:r.prototype.constructor._schema={version:"1.0.0",...t},r}}vi(bt,"Schema");var xC=class{static async validate(e){const r=new this;Object.assign(r,e);const n=this._fields||[],i=[];for(const l of n)l.required&&e[l.name]===void 0&&i.push(`Field '${l.name}' is required`);let s=[];try{s=await LN(r)}catch(l){i.push("Validation failed: "+l.message)}for(const l of s)l.constraints&&i.push(...Object.values(l.constraints));return{isValid:i.length===0,errors:i,validationErrors:s}}static validateSync(e){const r=this._fields||[],n=[];for(const i of r)i.required&&e[i.name]===void 0&&n.push(`Field '${i.name}' is required`);return{isValid:n.length===0,errors:n}}static getSchema(){const e=this._fields||[],r=this._editors||[],n=this._schema||{name:this.name,version:"1.0.0"},i=Va(),s=e.map(l=>{const c=r.find(m=>m.name===l.name),p=i.getTargetValidationMetadatas(this,this.prototype,!1,!1).filter(m=>m.propertyName===l.name).map(m=>({type:m.type,constraints:m.constraints}));return{name:l.name,data_type:l.dataType,required:l.required||!1,defaultValue:l.defaultValue,type:l.type,editor:c?{field_type:c.field_type,label:c.label,description:c.description,placeholder:c.placeholder,help_text:c.help_text,validation:c.validation}:void 0,...p.length>0&&{validation:p}}});return{name:n.name,version:n.version||"1.0.0",description:n.description,fields:s}}static createWithDefaults(e={}){const r=new this,n=this._fields||[];for(const i of n)i.defaultValue!==void 0&&e[i.name]===void 0&&(r[i.name]=i.defaultValue);return Object.assign(r,e),r}};vi(xC,"Model");var Ft=xC,wC=class{constructor(e,r){co(this,"field",{}),this.field.name=e,this.field.data_type=r,this.field.required=!1}required(e=!0){return this.field.required=e,this}defaultValue(e){return this.field.defaultValue=e,this}type(e){return this.field.type=e,this}editor(e){return this.field.editor={field_type:O.TEXT,label:this.field.name||"",description:"",...e},this}textEditor(e,r,n){return this.editor({field_type:O.TEXT,label:e,description:r,placeholder:n})}textareaEditor(e,r,n){return this.editor({field_type:O.TEXTAREA,label:e,description:r,placeholder:n})}selectEditor(e,r,n){return this.editor({field_type:O.SELECT,label:e,description:r,validation:{options:n}})}validation(e){return this.field.editor||(this.field.editor={field_type:O.TEXT,label:this.field.name||"",description:""}),this.field.editor.validation=e,this}build(){var e;if(!this.field.name||!this.field.data_type)throw new Error("Field name and data_type are required");return{name:this.field.name,data_type:this.field.data_type,required:(e=this.field.required)!=null?e:!1,defaultValue:this.field.defaultValue,type:this.field.type,editor:this.field.editor}}};vi(wC,"FieldBuilder");var VN=wC,SC=class{constructor(e,r="1.0.0"){co(this,"schema",{fields:[]}),this.schema.name=e,this.schema.version=r}description(e){return this.schema.description=e,this}field(e,r){const n=new VN(e,r),i=n.build.bind(n);return n.build=()=>{const s=i();return this.schema.fields.push(s),s},n}addField(e){return this.schema.fields.push(e),this}addFields(e){return this.schema.fields.push(...e),this}uses(...e){return this.schema.uses||(this.schema.uses=[]),this.schema.uses.push(...e),this}build(){if(!this.schema.name||!this.schema.version)throw new Error("Schema name and version are required");if(!this.schema.fields||this.schema.fields.length===0)throw new Error("Schema must have at least one field");return{name:this.schema.name,version:this.schema.version,description:this.schema.description,uses:this.schema.uses,models:this.schema.models,fields:this.schema.fields}}};vi(SC,"SchemaBuilder");var UN=SC;function WN(t,e="1.0.0"){return new UN(t,e)}vi(WN,"createSchema");var CC=class{constructor(e={}){co(this,"cache",new Map),co(this,"config"),this.config={maxSize:100,defaultTtl:300*1e3,enableLogging:!1,...e},this.log("MemoryCacheProvider initialized",{config:this.config})}get(e){const r=this.cache.get(e);if(!r)return this.log(`Cache miss: ${e}`),null;const n=Date.now(),i=r.ttl||this.config.defaultTtl;return n-r.timestamp>i?(this.cache.delete(e),this.log(`Cache expired: ${e}`),null):(this.cache.delete(e),this.cache.set(e,r),this.log(`Cache hit: ${e}`),r.data)}set(e,r,n){if(this.cache.has(e)&&this.cache.delete(e),this.cache.size>=this.config.maxSize){const s=this.cache.keys().next().value;s&&(this.cache.delete(s),this.log(`LRU evicted: ${s}`))}const i={data:r,timestamp:Date.now(),ttl:n};this.cache.set(e,i),this.log(`Cache set: ${e}`,{ttl:n||this.config.defaultTtl})}clear(e){e?this.cache.delete(e)&&this.log(`Cache cleared: ${e}`):(this.cache.clear(),this.log("Cache cleared completely"))}getStats(){return{size:this.cache.size,maxSize:this.config.maxSize,keys:Array.from(this.cache.keys())}}cleanup(){const e=Date.now();let r=0;for(const[n,i]of this.cache.entries()){const s=i.ttl||this.config.defaultTtl;e-i.timestamp>s&&(this.cache.delete(n),r++)}return r>0&&this.log(`Cleanup removed ${r} expired entries`),r}log(e,r){this.config.enableLogging&&console.log(`[MemoryCacheProvider] ${e}`,r||"")}};vi(CC,"MemoryCacheProvider");var zp=CC,EC=class{constructor(e,r=!0){co(this,"cacheProvider"),co(this,"provider"),co(this,"config");var n,i,s;if(this.provider=e,r===!1)this.cacheProvider=null,this.config={defaultTTL:300*1e3,maxSize:100,enableLogging:!1};else if(r===!0)this.cacheProvider=new zp,this.config={defaultTTL:300*1e3,maxSize:100,enableLogging:!1};else if("get"in r&&"set"in r)this.cacheProvider=r,this.config={defaultTTL:300*1e3,maxSize:100,enableLogging:!1};else{const l=r;this.cacheProvider=new zp({maxSize:l.maxSize,defaultTtl:l.defaultTTL,enableLogging:l.enableLogging}),this.config={defaultTTL:(n=l.defaultTTL)!=null?n:300*1e3,maxSize:(i=l.maxSize)!=null?i:100,enableLogging:(s=l.enableLogging)!=null?s:!1}}}async get(e){if(!this.cacheProvider)return await this.provider.get(e);const r=`get:${e}`,n=this.cacheProvider.get(r);if(n)return this.log(`Cache hit for get(${e})`),{...await this.provider.get(e),data:n,cached:!0};this.log(`Cache miss for get(${e}), fetching from provider`);const i=await this.provider.get(e);return i.data&&this.cacheProvider.set(r,i.data,this.config.defaultTTL),{...i,cached:!1}}async select(e,r={}){if(!this.cacheProvider)return await this.provider.select(e,r);const n=`select:${e}:${JSON.stringify(r)}`,i=this.cacheProvider.get(n);if(i)return this.log(`Cache hit for select(${e})`),{...await this.provider.select(e,r),data:i,cached:!0};this.log(`Cache miss for select(${e}), fetching from provider`);const s=await this.provider.select(e,r);return s.data&&this.cacheProvider.set(n,s.data,this.config.defaultTTL),{...s,cached:!1}}clearCache(e){var r,n;if(!this.cacheProvider){this.log("No cache provider, nothing to clear");return}if(e)if(e.includes("*")){const i=(n=(r=this.cacheProvider).getStats)==null?void 0:n.call(r);if(i){const s=e.replace(/\*/g,".*"),l=new RegExp(s);for(const c of i.keys)l.test(c)&&(this.cacheProvider.clear(c),this.log(`Cleared cache key: ${c}`))}else this.log("Cache provider does not support pattern clearing")}else this.cacheProvider.clear(e),this.log(`Cleared cache key: ${e}`);else this.cacheProvider.clear(),this.log("Cleared all cache")}getCacheStats(){var e,r,n,i,s,l;if(!this.cacheProvider)return{totalEntries:0,validEntries:0,expiredEntries:0,maxSize:this.config.maxSize,defaultTTL:this.config.defaultTTL,cachingEnabled:!1};const c=(r=(e=this.cacheProvider).getStats)==null?void 0:r.call(e);return{totalEntries:(n=c==null?void 0:c.size)!=null?n:0,validEntries:(i=c==null?void 0:c.size)!=null?i:0,expiredEntries:0,maxSize:(s=c==null?void 0:c.maxSize)!=null?s:this.config.maxSize,defaultTTL:this.config.defaultTTL,cachingEnabled:!0,keys:(l=c==null?void 0:c.keys)!=null?l:[]}}setCacheEntryManually(e,r,n){if(!this.cacheProvider){this.log("No cache provider, cannot set cache entry manually");return}this.cacheProvider.set(e,r,n||this.config.defaultTTL),this.log(`Manually set cache entry: ${e} (TTL: ${n||this.config.defaultTTL}ms)`)}log(e){this.config.enableLogging&&console.log(`[CachedDataProvider] ${e}`)}};vi(EC,"CachedDataProvider");var yw=EC,qN=class{constructor(e={},r=!0,n=1){if(co(this,"data"),e=this.convertDottedNotation(e.data||e),r){const{MustacheTemplateProvider:i}=(bC(),HN(vC)),s=new i(n);for(const l of Object.keys(e)){const c=e[l];if(typeof c=="string")e[l]=s.resolve(c,e);else if(typeof c=="object"){const d=JSON.stringify(c),p=s.resolve(d,e);e[l]=JSON.parse(p)}}}this.data=e}async get(e){const r=this.getValueByPath(e);return r===void 0?{data:void 0}:{data:Array.isArray(r)?r[0]:r,cached:!1,meta:{schema:this.inferModelName(e),version:"1.0.0",slug:e}}}async select(e,r={}){`${e}${JSON.stringify(r)}`;let i=this.findItemsBySchema(e);r.filters&&(i=this.applyFilters(i,r.filters)),r.sort&&r.sort!=="none"&&r.orderBy&&(i=this.applySorting(i,r.orderBy,r.sort));const s=i.length,l=r.offset||0,c=r.limit||s,p=i.slice(l,l+c).map(m=>m);return{data:p,cached:!1,meta:{schema:e,version:"1.0.0",total:s,offset:l,limit:Math.min(c,p.length)}}}updateData(e){this.data=this.convertDottedNotation(e)}convertDottedNotation(e){const r={};for(const[n,i]of Object.entries(e))if(n.includes(".")){const s=n.split(".");let l=r;for(let d=0;d<s.length-1;d++){const p=s[d];l[p]||(l[p]={}),l=l[p]}const c=s[s.length-1];l[c]=i}else i&&typeof i=="object"&&!Array.isArray(i)?r[n]=this.convertDottedNotation(i):r[n]=i;return r}getValueByPath(e){const r=e.replace(/^\//,"").split(/[/.]/);let n=this.data;for(const i of r){if(n==null)return;if(Array.isArray(n)&&!isNaN(Number(i)))n=n[Number(i)];else if(typeof n=="object"&&n!==null)n=n[i];else return}return n}findItemsBySchema(e){const r=[];return this.data[e]&&Array.isArray(this.data[e])&&r.push(...this.data[e]),this.searchObjectForSchema(this.data,e,r),r}searchObjectForSchema(e,r,n){typeof e!="object"||e===null||(Array.isArray(e)?e.forEach(i=>this.searchObjectForSchema(i,r,n)):((e.modelName===r||e.schema===r)&&n.push(e),Object.values(e).forEach(i=>{this.searchObjectForSchema(i,r,n)})))}applyFilters(e,r){return e.filter(n=>Object.entries(r).every(([i,s])=>this.getValueByPath.call({data:n},i)===s))}applySorting(e,r,n){return[...e].sort((i,s)=>{const l=this.getValueByPath.call({data:i},r),c=this.getValueByPath.call({data:s},r);return l<c?n==="asc"?-1:1:l>c?n==="asc"?1:-1:0})}inferModelName(e){return e.replace(/^\//,"").split("/")[0]||"unknown"}generateSlug(e,r){return`/${e.toLowerCase()}/${r}`}};vi(qN,"JsonDataProvider");bC();const TC=Pe([h.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),h.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")]),kC=Pe(h.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"})),GN=Pe(h.jsx("path",{d:"M6.36 18.78 6.61 21l1.62-1.54 2.77-7.6c-.68-.17-1.28-.51-1.77-.98zm8.41-7.9c-.49.47-1.1.81-1.77.98l2.77 7.6L17.39 21l.26-2.22zM15 8c0-1.3-.84-2.4-2-2.82V3h-2v2.18C9.84 5.6 9 6.7 9 8c0 1.66 1.34 3 3 3s3-1.34 3-3m-3 1c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1"})),XN=Pe(h.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"})),KN=Pe(h.jsx("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"})),QN=Pe(h.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"})),YN=Pe(h.jsx("path",{d:"M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4"})),JN=Pe(h.jsx("path",{d:"M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6m6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26"})),ZN=Pe(h.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12m8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8"})),qm=Pe(h.jsx("path",{d:"M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2M6 4h5v8l-2.5-1.5L6 12z"})),vw=Pe(h.jsx("path",{d:"M21 5v6.59l-3-3.01-4 4.01-4-4-4 4-3-3.01V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2m-3 6.42 3 3.01V19c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2v-6.58l3 2.99 4-4 4 4z"})),Gm=Pe(h.jsx("path",{d:"M12 7V3H2v18h20V7zM6 19H4v-2h2zm0-4H4v-2h2zm0-4H4V9h2zm0-4H4V5h2zm4 12H8v-2h2zm0-4H8v-2h2zm0-4H8V9h2zm0-4H8V5h2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8zm-2-8h-2v2h2zm0 4h-2v2h2z"})),PC=Pe(h.jsx("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"})),_f=Pe(h.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"})),e8=Pe(h.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2"})),t8=Pe(h.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),r8=Pe(h.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M17 13l-5 5-5-5h3V9h4v4z"})),n8=Pe(h.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"})),MC=Pe(h.jsx("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"})),_C=Pe(h.jsx("path",{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2zM4 6h16v10H4z"})),i8=Pe(h.jsx("path",{d:"m13.7826 15.1719 2.1213-2.1213 5.9963 5.9962-2.1213 2.1213zM17.5 10c1.93 0 3.5-1.57 3.5-3.5 0-.58-.16-1.12-.41-1.6l-2.7 2.7-1.49-1.49 2.7-2.7c-.48-.25-1.02-.41-1.6-.41C15.57 3 14 4.57 14 6.5c0 .41.08.8.21 1.16l-1.85 1.85-1.78-1.78.71-.71-1.41-1.41L12 3.49c-1.17-1.17-3.07-1.17-4.24 0L4.22 7.03l1.41 1.41H2.81l-.71.71 3.54 3.54.71-.71V9.15l1.41 1.41.71-.71 1.78 1.78-7.41 7.41 2.12 2.12L16.34 9.79c.36.13.75.21 1.16.21"})),Wy=Pe(h.jsx("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"})),bw=Pe(h.jsx("path",{d:"M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1"})),o8=Pe(h.jsx("path",{d:"M3 13h8V3H3zm0 8h8v-6H3zm10 0h8V11h-8zm0-18v6h8V3z"})),a8=Pe(h.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"})),s8=Pe(h.jsx("path",{d:"M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"})),l8=Pe(h.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"})),xw=Pe(h.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"})),AC=Pe(h.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"})),c8=Pe(h.jsx("path",{d:"m12 21.35-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54z"})),u8=Pe(h.jsx("path",{d:"M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42M10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5"})),d8=Pe(h.jsx("path",{d:"M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z"})),p8=Pe(h.jsx("path",{d:"M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6m-7 2v2h14v-2z"})),f8=Pe(h.jsx("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"})),RC=Pe(h.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"})),IC=Pe(h.jsx("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"})),ww=Pe(h.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"})),h8=Pe(h.jsx("path",{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-.14 0-.27.01-.4.04-.39.08-.74.28-1.01.55-.18.18-.33.4-.43.64-.1.23-.16.49-.16.77v14c0 .27.06.54.16.78s.25.45.43.64c.27.27.62.47 1.01.55.13.02.26.03.4.03h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-8 11.17-1.41 1.42L6 12l3.59-3.59L11 9.83 8.83 12zm1-9.92c-.41 0-.75-.34-.75-.75s.34-.75.75-.75.75.34.75.75-.34.75-.75.75m2.41 11.34L13 14.17 15.17 12 13 9.83l1.41-1.42L18 12z"})),m8=Pe(h.jsx("path",{d:"M20 2H4c-1 0-2 .9-2 2v3.01c0 .72.43 1.34 1 1.69V20c0 1.1 1.1 2 2 2h14c.9 0 2-.9 2-2V8.7c.57-.35 1-.97 1-1.69V4c0-1.1-1-2-2-2m-5 12H9v-2h6zm5-7H4V4l16-.02z"})),g8=Pe(h.jsx("path",{d:"M20 2H4c-1 0-2 .9-2 2v3.01c0 .72.43 1.34 1 1.69V20c0 1.1 1.1 2 2 2h14c.9 0 2-.9 2-2V8.7c.57-.35 1-.97 1-1.69V4c0-1.1-1-2-2-2m-5 12H9v-2h6zm5-7H4V4h16z"})),y8=Pe(h.jsx("path",{d:"M21 10h-8.35C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H13l2 2 2-2 2 2 4-4.04zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3"})),v8=Pe(h.jsx("path",{d:"m11.99 18.54-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27z"})),xp=Pe(h.jsx("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"})),jC=Pe(h.jsx("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1z"})),b8=Pe(h.jsx("path",{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m0 12H6V10h12z"})),x8=Pe([h.jsx("circle",{cx:"10",cy:"8",r:"4"},"0"),h.jsx("path",{d:"M10.67 13.02c-.22-.01-.44-.02-.67-.02-2.42 0-4.68.67-6.61 1.82-.88.52-1.39 1.5-1.39 2.53V20h9.26c-.79-1.13-1.26-2.51-1.26-4 0-1.07.25-2.07.67-2.98M20.75 16c0-.22-.03-.42-.06-.63l1.14-1.01-1-1.73-1.45.49q-.48-.405-1.08-.63L18 11h-2l-.3 1.49q-.6.225-1.08.63l-1.45-.49-1 1.73 1.14 1.01c-.03.21-.06.41-.06.63s.03.42.06.63l-1.14 1.01 1 1.73 1.45-.49q.48.405 1.08.63L16 21h2l.3-1.49q.6-.225 1.08-.63l1.45.49 1-1.73-1.14-1.01c.03-.21.06-.41.06-.63M17 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"},"1")]),qy=Pe(h.jsx("path",{d:"M15 9H9v6h6zm-2 4h-2v-2h2zm8-2V9h-2V7c0-1.1-.9-2-2-2h-2V3h-2v2h-2V3H9v2H7c-1.1 0-2 .9-2 2v2H3v2h2v2H3v2h2v2c0 1.1.9 2 2 2h2v2h2v-2h2v2h2v-2h2c1.1 0 2-.9 2-2v-2h2v-2h-2v-2zm-4 6H7V7h10z"})),w8=Pe(h.jsx("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"})),S8=Pe(h.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"})),C8=Pe(h.jsx("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10c1.38 0 2.5-1.12 2.5-2.5 0-.61-.23-1.2-.64-1.67-.08-.1-.13-.21-.13-.33 0-.28.22-.5.5-.5H16c3.31 0 6-2.69 6-6 0-4.96-4.49-9-10-9m5.5 11c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m-3-4c-.83 0-1.5-.67-1.5-1.5S13.67 6 14.5 6s1.5.67 1.5 1.5S15.33 9 14.5 9M5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S7.33 13 6.5 13 5 12.33 5 11.5m6-4c0 .83-.67 1.5-1.5 1.5S8 8.33 8 7.5 8.67 6 9.5 6s1.5.67 1.5 1.5"})),Sw=Pe(h.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"})),E8=Pe([h.jsx("circle",{cx:"10",cy:"8",r:"4"},"0"),h.jsx("path",{d:"M10.35 14.01C7.62 13.91 2 15.27 2 18v2h9.54c-2.47-2.76-1.23-5.89-1.19-5.99m9.08 4.01c.36-.59.57-1.28.57-2.02 0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4c.74 0 1.43-.22 2.02-.57L20.59 22 22 20.59zM16 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"},"1")]),T8=Pe(h.jsx("path",{d:"M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02z"})),k8=Pe([h.jsx("path",{d:"M13 8.57c-.79 0-1.43.64-1.43 1.43s.64 1.43 1.43 1.43 1.43-.64 1.43-1.43-.64-1.43-1.43-1.43"},"0"),h.jsx("path",{d:"M13 3C9.25 3 6.2 5.94 6.02 9.64L4.1 12.2c-.25.33-.01.8.4.8H6v3c0 1.1.9 2 2 2h1v3h7v-4.68c2.36-1.12 4-3.53 4-6.32 0-3.87-3.13-7-7-7m3 7c0 .13-.01.26-.02.39l.83.66c.08.06.1.16.05.25l-.8 1.39c-.05.09-.16.12-.24.09l-.99-.4c-.21.16-.43.29-.67.39L14 13.83c-.01.1-.1.17-.2.17h-1.6c-.1 0-.18-.07-.2-.17l-.15-1.06c-.25-.1-.47-.23-.68-.39l-.99.4c-.09.03-.2 0-.25-.09l-.8-1.39c-.05-.08-.03-.19.05-.25l.84-.66c-.01-.13-.02-.26-.02-.39s.02-.27.04-.39l-.85-.66c-.08-.06-.1-.16-.05-.26l.8-1.38c.05-.09.15-.12.24-.09l1 .4c.2-.15.43-.29.67-.39L12 6.17c.02-.1.1-.17.2-.17h1.6c.1 0 .18.07.2.17l.15 1.06c.24.1.46.23.67.39l1-.4c.09-.03.2 0 .24.09l.8 1.38c.05.09.03.2-.05.26l-.85.66c.03.12.04.25.04.39"},"1")]),Cw=Pe(h.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"})),Gy=Pe(h.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"})),P8=Pe(h.jsx("path",{d:"M15.55 5.55 11 1v3.07C7.06 4.56 4 7.92 4 12s3.05 7.44 7 7.93v-2.02c-2.84-.48-5-2.94-5-5.91s2.16-5.43 5-5.91V10zM19.93 11c-.17-1.39-.72-2.73-1.62-3.89l-1.42 1.42c.54.75.88 1.6 1.02 2.47zM13 17.9v2.02c1.39-.17 2.74-.71 3.9-1.61l-1.44-1.44c-.75.54-1.59.89-2.46 1.03m3.89-2.42 1.42 1.41c.9-1.16 1.45-2.5 1.62-3.89h-2.02c-.14.87-.48 1.72-1.02 2.48"})),M8=Pe(h.jsx("path",{d:"M19 15.18V7c0-2.21-1.79-4-4-4s-4 1.79-4 4v10c0 1.1-.9 2-2 2s-2-.9-2-2V8.82C8.16 8.4 9 7.3 9 6c0-1.66-1.34-3-3-3S3 4.34 3 6c0 1.3.84 2.4 2 2.82V17c0 2.21 1.79 4 4 4s4-1.79 4-4V7c0-1.1.9-2 2-2s2 .9 2 2v8.18c-1.16.41-2 1.51-2 2.82 0 1.66 1.34 3 3 3s3-1.34 3-3c0-1.3-.84-2.4-2-2.82"})),_8=Pe(h.jsx("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"})),OC=Pe(h.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"})),A8=Pe(h.jsx("path",{d:"M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11z"})),R8=Pe(h.jsx("path",{d:"M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"})),Ew=Pe(h.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"})),I8=Pe(h.jsx("path",{d:"M9 16h6.5c1.38 0 2.5-1.12 2.5-2.5S16.88 11 15.5 11h-.05c-.24-1.69-1.69-3-3.45-3-1.4 0-2.6.83-3.16 2.02h-.16C7.17 10.18 6 11.45 6 13c0 1.66 1.34 3 3 3M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16.01H3V4.99h18z"})),j8=Pe(h.jsx("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92-1.31-2.92-2.92-2.92"})),Xm=Pe(h.jsx("path",{d:"M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2M1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2"})),O8=Pe(h.jsx("path",{d:"m20.38 8.57-1.23 1.85a8 8 0 0 1-.22 7.58H5.07A8 8 0 0 1 15.58 6.85l1.85-1.23A10 10 0 0 0 3.35 19a2 2 0 0 0 1.72 1h13.85a2 2 0 0 0 1.74-1 10 10 0 0 0-.27-10.44zm-9.79 6.84a2 2 0 0 0 2.83 0l5.66-8.49-8.49 5.66a2 2 0 0 0 0 2.83"})),L8=Pe(h.jsx("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"})),Xy=Pe(h.jsx("path",{d:"M2 20h20v-4H2zm2-3h2v2H4zM2 4v4h20V4zm4 3H4V5h2zm-4 7h20v-4H2zm2-3h2v2H4z"})),N8=Pe([h.jsx("path",{d:"M21 12.22C21 6.73 16.74 3 12 3c-4.69 0-9 3.65-9 9.28-.6.34-1 .98-1 1.72v2c0 1.1.9 2 2 2h1v-6.1c0-3.87 3.13-7 7-7s7 3.13 7 7V19h-8v2h8c1.1 0 2-.9 2-2v-1.22c.59-.31 1-.92 1-1.64v-2.3c0-.7-.41-1.31-1-1.62"},"0"),h.jsx("circle",{cx:"9",cy:"13",r:"1"},"1"),h.jsx("circle",{cx:"15",cy:"13",r:"1"},"2"),h.jsx("path",{d:"M18 11.03C17.52 8.18 15.04 6 12.05 6c-3.03 0-6.29 2.51-6.03 6.45 2.47-1.01 4.33-3.21 4.86-5.89 1.31 2.63 4 4.44 7.12 4.47"},"3")]),$8=Pe(h.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"})),z8=Pe(h.jsx("path",{d:"m16 6 2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"})),B8=Pe(h.jsx("path",{d:"M3 17v2h6v-2zM3 5v2h10V5zm10 16v-2h8v-2h-8v-2h-2v6zM7 9v2H3v2h4v2h2V9zm14 4v-2H11v2zm-6-4h2V7h4V5h-4V3h-2z"})),D8=Pe(h.jsx("path",{d:"M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm-2 16-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9z"})),Ky=Pe(h.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"})),Qy=Pe(h.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"})),F8=Pe(h.jsx("path",{d:"M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"})),LC=Pe(h.jsx("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"})),H8=Pe(h.jsx("path",{d:"M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2m-6 0h-4V4h4z"}));var ci;(function(t){t[t.PLAIN_TO_CLASS=0]="PLAIN_TO_CLASS",t[t.CLASS_TO_PLAIN=1]="CLASS_TO_PLAIN",t[t.CLASS_TO_CLASS=2]="CLASS_TO_CLASS"})(ci||(ci={}));var V8=(function(){function t(){this._typeMetadatas=new Map,this._transformMetadatas=new Map,this._exposeMetadatas=new Map,this._excludeMetadatas=new Map,this._ancestorsMap=new Map}return t.prototype.addTypeMetadata=function(e){this._typeMetadatas.has(e.target)||this._typeMetadatas.set(e.target,new Map),this._typeMetadatas.get(e.target).set(e.propertyName,e)},t.prototype.addTransformMetadata=function(e){this._transformMetadatas.has(e.target)||this._transformMetadatas.set(e.target,new Map),this._transformMetadatas.get(e.target).has(e.propertyName)||this._transformMetadatas.get(e.target).set(e.propertyName,[]),this._transformMetadatas.get(e.target).get(e.propertyName).push(e)},t.prototype.addExposeMetadata=function(e){this._exposeMetadatas.has(e.target)||this._exposeMetadatas.set(e.target,new Map),this._exposeMetadatas.get(e.target).set(e.propertyName,e)},t.prototype.addExcludeMetadata=function(e){this._excludeMetadatas.has(e.target)||this._excludeMetadatas.set(e.target,new Map),this._excludeMetadatas.get(e.target).set(e.propertyName,e)},t.prototype.findTransformMetadatas=function(e,r,n){return this.findMetadatas(this._transformMetadatas,e,r).filter(function(i){return!i.options||i.options.toClassOnly===!0&&i.options.toPlainOnly===!0?!0:i.options.toClassOnly===!0?n===ci.CLASS_TO_CLASS||n===ci.PLAIN_TO_CLASS:i.options.toPlainOnly===!0?n===ci.CLASS_TO_PLAIN:!0})},t.prototype.findExcludeMetadata=function(e,r){return this.findMetadata(this._excludeMetadatas,e,r)},t.prototype.findExposeMetadata=function(e,r){return this.findMetadata(this._exposeMetadatas,e,r)},t.prototype.findExposeMetadataByCustomName=function(e,r){return this.getExposedMetadatas(e).find(function(n){return n.options&&n.options.name===r})},t.prototype.findTypeMetadata=function(e,r){return this.findMetadata(this._typeMetadatas,e,r)},t.prototype.getStrategy=function(e){var r=this._excludeMetadatas.get(e),n=r&&r.get(void 0),i=this._exposeMetadatas.get(e),s=i&&i.get(void 0);return n&&s||!n&&!s?"none":n?"excludeAll":"exposeAll"},t.prototype.getExposedMetadatas=function(e){return this.getMetadata(this._exposeMetadatas,e)},t.prototype.getExcludedMetadatas=function(e){return this.getMetadata(this._excludeMetadatas,e)},t.prototype.getExposedProperties=function(e,r){return this.getExposedMetadatas(e).filter(function(n){return!n.options||n.options.toClassOnly===!0&&n.options.toPlainOnly===!0?!0:n.options.toClassOnly===!0?r===ci.CLASS_TO_CLASS||r===ci.PLAIN_TO_CLASS:n.options.toPlainOnly===!0?r===ci.CLASS_TO_PLAIN:!0}).map(function(n){return n.propertyName})},t.prototype.getExcludedProperties=function(e,r){return this.getExcludedMetadatas(e).filter(function(n){return!n.options||n.options.toClassOnly===!0&&n.options.toPlainOnly===!0?!0:n.options.toClassOnly===!0?r===ci.CLASS_TO_CLASS||r===ci.PLAIN_TO_CLASS:n.options.toPlainOnly===!0?r===ci.CLASS_TO_PLAIN:!0}).map(function(n){return n.propertyName})},t.prototype.clear=function(){this._typeMetadatas.clear(),this._exposeMetadatas.clear(),this._excludeMetadatas.clear(),this._ancestorsMap.clear()},t.prototype.getMetadata=function(e,r){var n=e.get(r),i;n&&(i=Array.from(n.values()).filter(function(v){return v.propertyName!==void 0}));for(var s=[],l=0,c=this.getAncestors(r);l<c.length;l++){var d=c[l],p=e.get(d);if(p){var m=Array.from(p.values()).filter(function(v){return v.propertyName!==void 0});s.push.apply(s,m)}}return s.concat(i||[])},t.prototype.findMetadata=function(e,r,n){var i=e.get(r);if(i){var s=i.get(n);if(s)return s}for(var l=0,c=this.getAncestors(r);l<c.length;l++){var d=c[l],p=e.get(d);if(p){var m=p.get(n);if(m)return m}}},t.prototype.findMetadatas=function(e,r,n){var i=e.get(r),s;i&&(s=i.get(n));for(var l=[],c=0,d=this.getAncestors(r);c<d.length;c++){var p=d[c],m=e.get(p);m&&m.has(n)&&l.push.apply(l,m.get(n))}return l.slice().reverse().concat((s||[]).slice().reverse())},t.prototype.getAncestors=function(e){if(!e)return[];if(!this._ancestorsMap.has(e)){for(var r=[],n=Object.getPrototypeOf(e.prototype.constructor);typeof n.prototype<"u";n=Object.getPrototypeOf(n.prototype.constructor))r.push(n);this._ancestorsMap.set(e,r)}return this._ancestorsMap.get(e)},t})(),U8=new V8;function vn(t,e){return e===void 0&&(e={}),function(r,n){var i=Reflect.getMetadata("design:type",r,n);U8.addTypeMetadata({target:r.constructor,propertyName:n,reflectedType:i,typeFunction:t,options:e})}}var Tw={};const Ig={xs:0,sm:600,md:900,lg:1200,xl:1536},kw={"extra-small":"xs",small:"sm",medium:"md",large:"lg","extra-large":"xl"};function Pw(t){return t===!1||t===void 0?!1:t in Ig?t:t in kw?kw[t]:"lg"}const W8={width:{tiny:120,small:200,medium:300,large:400,"x-large":500,huge:600},height:{tiny:200,small:300,medium:400,large:500,"x-large":600,huge:800},maxWidth:{tiny:300,small:600,medium:900,large:1200,"x-large":1536,huge:1920},maxHeight:{tiny:200,small:400,medium:600,large:800,"x-large":1e3,huge:1200},minWidth:{tiny:50,small:100,medium:200,large:300,"x-large":400,huge:500},minHeight:{tiny:50,small:100,medium:200,large:300,"x-large":400,huge:500}},q8=/^(\d+(\.\d+)?(px|%|em|rem|vh|vw|fr|ch|ex)|auto|inherit|initial|unset|min-content|max-content|fit-content)$/;function Fn(t,e="width"){if(t==null)return;if(typeof t=="number")return t;if(t==="auto")return"auto";if(t==="grow")return"1";const r=W8[e];if(r&&t in r)return r[t];if((e==="maxWidth"||e==="width")&&t in Ig)return Ig[t];if(typeof t=="string")return q8.test(t)||console.warn(`[QwickApps] Invalid CSS dimension value: "${t}". Using as-is but consider using a valid CSS value or t-shirt size.`),t}function G8(t){return{width:Fn(t.width,"width"),height:Fn(t.height,"height"),minWidth:Fn(t.minWidth,"minWidth"),minHeight:Fn(t.minHeight,"minHeight"),maxWidth:Fn(t.maxWidth,"maxWidth"),maxHeight:Fn(t.maxHeight,"maxHeight")}}const mc={none:0,tiny:.5,small:1,medium:2,large:3,huge:4},Mw=/^(\d+(\.\d+)?(px|em|rem|%)|0|auto|inherit|initial|unset)$/;function Xr(t){if(t!=null){if(typeof t=="number")return t;if(t in mc)return mc[t];if(typeof t=="string"){const e=t.split(" ");return e.length>1&&e.every(n=>Mw.test(n)||n in mc)?e.map(n=>n in mc?`${mc[n]*8}px`:n).join(" "):(Mw.test(t)||console.warn(`[QwickApps] Invalid CSS spacing value: "${t}". Using as-is but consider using a valid CSS value or t-shirt size.`),t)}}}function X8(t){const e={};return t.padding!==void 0&&(e.p=Xr(t.padding)),t.paddingTop!==void 0&&(e.pt=Xr(t.paddingTop)),t.paddingRight!==void 0&&(e.pr=Xr(t.paddingRight)),t.paddingBottom!==void 0&&(e.pb=Xr(t.paddingBottom)),t.paddingLeft!==void 0&&(e.pl=Xr(t.paddingLeft)),t.paddingX!==void 0&&(e.px=Xr(t.paddingX)),t.paddingY!==void 0&&(e.py=Xr(t.paddingY)),t.margin!==void 0&&(e.m=Xr(t.margin)),t.marginTop!==void 0&&(e.mt=Xr(t.marginTop)),t.marginRight!==void 0&&(e.mr=Xr(t.marginRight)),t.marginBottom!==void 0&&(e.mb=Xr(t.marginBottom)),t.marginLeft!==void 0&&(e.ml=Xr(t.marginLeft)),t.marginX!==void 0&&(e.mx=Xr(t.marginX)),t.marginY!==void 0&&(e.my=Xr(t.marginY)),e}const Jr=Symbol("QwickAppComponent");function Vr(t){const{span:e,xs:r,sm:n,md:i,lg:s,xl:l,className:c,sx:d,style:p,width:m,height:v,minWidth:g,minHeight:y,maxWidth:w,maxHeight:x,padding:C,paddingTop:P,paddingRight:k,paddingBottom:_,paddingLeft:E,paddingX:A,paddingY:I,margin:D,marginTop:$,marginRight:U,marginBottom:X,marginLeft:H,marginX:M,marginY:W,background:G,backgroundImage:B,backgroundGradient:V,textAlign:K,id:J,role:Z,"aria-label":Q,"aria-labelledby":q,"aria-describedby":ne,"data-testid":ue,onClick:oe,onMouseEnter:ie,onMouseLeave:ee,onFocus:pe,onBlur:ve,...xe}=t,se=T.useMemo(()=>e||r||n||i||s||l?{span:e,xs:e||r,sm:e||n,md:e||i,lg:e||s,xl:e||l}:null,[e,r,n,i,s,l]),Le=T.useMemo(()=>G8({width:m,height:v,minWidth:g,minHeight:y,maxWidth:w,maxHeight:x}),[m,v,g,y,w,x]),De=T.useMemo(()=>X8({padding:C,paddingTop:P,paddingRight:k,paddingBottom:_,paddingLeft:E,paddingX:A,paddingY:I,margin:D,marginTop:$,marginRight:U,marginBottom:X,marginLeft:H,marginX:M,marginY:W}),[C,P,k,_,E,A,I,D,$,U,X,H,M,W]),ze=T.useMemo(()=>{const st={};return V?st.background=V:B?(st.backgroundImage=`url(${B})`,st.backgroundSize="cover",st.backgroundPosition="center",st.backgroundRepeat="no-repeat"):G&&(st.background=G),K&&(st.textAlign=K),st},[G,B,V,K]),Oe=T.useMemo(()=>({...Le,...De,...ze,...d}),[Le,De,ze,d]);return{gridProps:se,styleProps:{className:c,sx:Oe,style:p},htmlProps:{id:J,role:Z,"aria-label":Q,"aria-labelledby":q,"aria-describedby":ne,"data-testid":ue,onClick:oe,onMouseEnter:ie,onMouseLeave:ee,onFocus:pe,onBlur:ve},restProps:xe}}class K8{constructor(e){this.name=e}debug(e,...r){console.debug(`[${this.name}] ${e}`,...r)}info(e,...r){console.info(`[${this.name}] ${e}`,...r)}warn(e,...r){console.warn(`[${this.name}] ${e}`,...r)}error(e,...r){console.error(`[${this.name}] ${e}`,...r)}}function _i(t){try{return require("@qwickapps/logging").getLogger(t)}catch{return new K8(t)}}const Q8={scaffold:_i("Scaffold"),navigation:_i("Navigation"),auth:_i("Auth"),theme:_i("Theme"),palette:_i("Palette"),form:_i("Form"),layout:_i("Layout"),menu:_i("Menu"),router:_i("Router")};class Y8{constructor(e){this.log=_i("ContentResolver"),this.enableLogging=e.enableLogging||!1,this.templateResolver=e.templateResolver||new Uy,e.cacheProvider===!0?(new zp({enableLogging:e.enableLogging||!1}),this.dataProvider=new yw(e.dataProvider)):e.cacheProvider===!1?this.dataProvider=e.dataProvider:(new zp({enableLogging:e.enableLogging||!1}),this.dataProvider=new yw(e.dataProvider)),this.log.debug("ContentResolver initialized",{dataProvider:e.dataProvider?e.dataProvider.constructor.name:"none",templateResolver:this.templateResolver.constructor.name,cacheProvider:e.cacheProvider?e.cacheProvider===!0?"MemoryCacheProvider(default)":e.cacheProvider.constructor.name:"disabled"})}async get(e){return this.dataProvider.get(e)}async select(e,r){return this.dataProvider.select(e,r)}async resolveTemplate(e){if(this.log.debug(`Resolving template: ${e}`),!e||!e.includes("{{"))return e;const r=await this.createLazyContext(e);try{const n=this.templateResolver.resolve(e,r);return this.log.debug(`Template resolved: ${e} -> ${n}`),n}catch(n){throw this.log.debug(`Template resolution failed: ${n instanceof Error?n.message:String(n)}`),n}}async createLazyContext(e){const r=/\{\{([^}]+)\}\}/g,n=Array.from(e.matchAll(r)),i=new Set;for(const l of n){const c=l[1].trim(),[d]=c.split(".");i.add(d)}const s={};for(const l of i)try{const c=await this.select(l);if(c.data&&c.data.length>0)s[l]=c.data[0];else{const d=await this.get(l);d.data&&(s[l]=d.data)}}catch(c){this.log.error(`Failed to load data for ${l}: ${c instanceof Error?c.message:String(c)}`)}return s}}const Yy=T.createContext(null);function J8({dataSource:t,children:e}){const r=new Y8(t),n={provider:r,get:async i=>{const s=await r.get(i);return s&&s.data?s.data:void 0},select:async(i,s)=>{const l=await r.select(i,s);return l&&Array.isArray(l.data)?l.data:[]},resolveTemplate:i=>r.resolveTemplate(i)};return h.jsx(Yy.Provider,{value:n,children:e})}function Z8(){const t=T.useContext(Yy);if(!t)throw new Error("useDataContext must be used within a DataProvider. Did you wrap your component with <DataProvider>?");return t}function e9(t){const e=T.useContext(Yy),[r,n]=T.useState(void 0),[i,s]=T.useState(!0),[l,c]=T.useState(null);return T.useEffect(()=>{if(!e){s(!1);return}(async()=>{if(!t){s(!1);return}try{s(!0),c(null);const p=await e.get(t);n(p),s(!1)}catch(p){c(p instanceof Error?p:new Error(String(p))),s(!1)}})()},[e,t]),e?{data:r,loading:i,error:l}:{data:void 0,loading:!1,error:null}}function t9(t){const{resolveTemplate:e}=Z8(),[r,n]=T.useState(t),[i,s]=T.useState(!1),[l,c]=T.useState(null);return T.useEffect(()=>{let d=!0;async function p(){if(!t){n(t);return}try{s(!0),c(null);const m=await e(t);d&&(n(m),s(!1))}catch(m){d&&(c(m instanceof Error?m:new Error(String(m))),n(t),s(!1))}}return p(),()=>{d=!1}},[t,e]),{resolved:r,loading:i,error:l}}function NC(t){const{resolved:e,loading:r,error:n}=t9(t);return r?null:n?`[Template Error: ${n.message}]`:e}function Tc(t,...e){const r=String.raw(t,...e),n=()=>NC(r);return h.jsx(n,{})}Tc.wrap=t=>(e,...r)=>{const n=String.raw(e,...r),i=()=>{const s=NC(n);return s?h.jsx(t,{children:s}):null};return h.jsx(i,{})};function Xi(t,e){const r=t&&t.trim().length>0,n=e9(r?t:""),i=T.useMemo(()=>!r||n.data===void 0?e||{}:{...e||{},...n.data},[r,n.data,e]);return{...i,$loading:n.loading,$error:n.error,$dataSource:t,$cached:!1,...Object.prototype.hasOwnProperty.call(i,"loading")?{}:{loading:n.loading},...Object.prototype.hasOwnProperty.call(i,"error")?{}:{error:n.error},cached:!1}}const $C=pt.createContext({appName:"QwickApps",logo:void 0,appId:!0,enableScaffolding:!1,navigationItems:[],appBar:void 0,showAppBar:!0,appBarHeight:64,showThemeSwitcher:!1,showPaletteSwitcher:!1,updateConfig:()=>{}}),Jy=()=>{const t=pt.useContext($C);if(!t)throw new Error("useQwickApp must be used within a QwickApp provider");return t},r9=t=>{if(typeof document>"u"||typeof window>"u")return;document.documentElement.setAttribute("data-theme",t),window.dispatchEvent(new CustomEvent("themeChange",{detail:{theme:t}}))},n9={id:"default",name:"Default",description:"Classic blue and neutral colors",primaryColor:"#007bff"},i9={id:"autumn",name:"Autumn",description:"Warm oranges and golden yellows",primaryColor:"#ea580c"},o9={id:"ocean",name:"Ocean",description:"Deep blues and aqua teals",primaryColor:"#0891b2"},a9={id:"spring",name:"Spring",description:"Fresh greens and soft pinks",primaryColor:"#16a34a"},s9={id:"winter",name:"Winter",description:"Cool blues and icy whites",primaryColor:"#0077be"},l9={id:"cosmic",name:"Cosmic",description:"Modern purple gradient for creative and tech brands",primaryColor:"#8b5cf6"},c9=[n9,o9,l9,s9,i9,a9],_w=t=>{if(!t||typeof window>"u")return null;try{const e=localStorage.getItem(t);if(e&&["light","dark","system"].includes(e))return e}catch(e){console.warn("[persistenceUtils] Theme localStorage read failed:",e)}return null},u9=(t,e)=>{if(!(!t||typeof window>"u"))try{localStorage.setItem(t,e)}catch(r){console.warn("[persistenceUtils] Theme localStorage write failed:",r)}},d9=t=>{if(!(!t||typeof window>"u"))try{localStorage.removeItem(t)}catch(e){console.warn("[persistenceUtils] Theme localStorage clear failed:",e)}},Aw=(t,e)=>{if(!t||typeof window>"u")return null;try{const r=localStorage.getItem(t);if(r&&e.includes(r))return r}catch(r){console.warn("[persistenceUtils] Palette localStorage read failed:",r)}return null},p9=(t,e)=>{if(!(!t||typeof window>"u"))try{localStorage.setItem(t,e)}catch(r){console.warn("[persistenceUtils] Palette localStorage write failed:",r)}},f9=t=>{if(!(!t||typeof window>"u"))try{localStorage.removeItem(t)}catch(e){console.warn("[persistenceUtils] Palette localStorage clear failed:",e)}},h9={enableRemote:!0,remoteUrl:"https://qwickapps.com/palettes/manifest.json",localPath:"/palettes/manifest.json"};let Is=null,Rw=!1;async function Iw(t){try{const e=await fetch(t,{method:"GET",headers:{Accept:"application/json"},signal:AbortSignal.timeout(5e3)});if(!e.ok)return console.warn(`[PaletteManifest] Failed to fetch from ${t}: ${e.status} ${e.statusText}`),null;const r=await e.json();return!r.version||!Array.isArray(r.palettes)?(console.warn(`[PaletteManifest] Invalid manifest structure from ${t}`),null):r}catch{return null}}function m9(...t){const e=new Map;let r="0.0.0";for(const n of t)if(n){n.version>r&&(r=n.version);for(const i of n.palettes)e.set(i.id,i)}return{version:r,palettes:Array.from(e.values())}}async function g9(t={}){if(Is)return Is;if(Rw)return jw();Rw=!0;const e={...h9,...t},r=[];if(e.enableRemote){const i=await Iw(e.remoteUrl);r.push(i)}if(typeof window<"u"){const i=await Iw(e.localPath);r.push(i)}const n=m9(...r);return n.palettes.length===0?(Is=jw(),Is):(Is=n,Is)}function jw(){return{version:"1.4.9",palettes:[{id:"default",name:"Default",description:"Classic blue and neutral color scheme",version:"1.4.9",file:"PaletteDefault.css",primaryColor:"#007bff",inlined:!0},{id:"autumn",name:"Autumn",description:"Warm oranges, golden yellows, and earthy browns",version:"1.4.9",file:"PaletteAutumn.css",primaryColor:"#ea580c",inlined:!1},{id:"cosmic",name:"Cosmic",description:"Modern purple gradient for creative and tech brands",version:"1.4.9",file:"PaletteCosmic.css",primaryColor:"#8b5cf6",inlined:!1},{id:"ocean",name:"Ocean",description:"Deep blues, aqua teals, and seafoam greens",version:"1.4.9",file:"PaletteOcean.css",primaryColor:"#0891b2",inlined:!1},{id:"spring",name:"Spring",description:"Fresh greens, soft pinks, and bright yellows",version:"1.4.9",file:"PaletteSpring.css",primaryColor:"#16a34a",inlined:!1},{id:"winter",name:"Winter",description:"Cool blues, icy whites, and frosty grays",version:"1.4.9",file:"PaletteWinter.css",primaryColor:"#0077be",inlined:!1}]}}async function y9(t,e){return(await g9(e)).palettes.find(n=>n.id===t)||null}const Uo=new Set,Ri=new Map,Ow=["https://qwickapps.com/palettes/","/palettes/"];let v9={enableRemote:!0};async function b9(t,e){if(Uo.has(t))return Promise.resolve();if(Ri.has(t))return Ri.get(t);const r=x9(t,e);return Ri.set(t,r),r}async function x9(t,e){const r={...v9,...e};if(t==="default"){Uo.add(t),Ri.delete(t);return}if(typeof document>"u"){Uo.add(t),Ri.delete(t);return}if(document.querySelector(`link[data-palette-id="${t}"]`)){Uo.add(t),Ri.delete(t);return}try{const i=await y9(t,r);if(!i){Uo.add(t),Ri.delete(t);return}if(i.inlined){Uo.add(t),Ri.delete(t);return}const c=!!1&&i.fileMinified?i.fileMinified:i.file,d=[];r.enableRemote&&d.push(`${Ow[0]}${c}`),d.push(`${Ow[1]}${c}`);let p=!1;for(const m of d)if(await w9(m,t)){p=!0;break}Uo.add(t),Ri.delete(t)}catch{Uo.add(t),Ri.delete(t)}}function w9(t,e){return new Promise(r=>{const n=document.createElement("link");n.rel="stylesheet",n.href=t,n.setAttribute("data-palette-id",e),n.onload=()=>{r(!0)},n.onerror=()=>{document.head.removeChild(n),r(!1)},document.head.appendChild(n)})}const zC=T.createContext(null),BC=()=>{const t=T.useContext(zC);if(!t)throw new Error("usePalette must be used within a PaletteProvider");return t},Oa=c9,Lw=(t,e=!0)=>t&&Oa.some(r=>r.id===t)?t:(e&&console.warn(`[PaletteProvider] Invalid defaultPalette '${t}'. Using 'default'.`),"default"),S9=({children:t,appId:e,defaultPalette:r="default"})=>{const n=pt.useMemo(()=>{if(e===!1)return null;if(typeof e=="string")return`${e}.palette`;const x="qwickapps-react-framework-palette";return console.warn(`[PaletteProvider] Using default storage key '${x}'. Consider providing an appId for production apps to avoid conflicts. Example: <PaletteProvider appId="com.mycompany.myapp">`),x},[e]),i=Oa.map(x=>x.id),[s,l]=T.useState(()=>Aw(n,i)),[c,d]=T.useState(()=>Aw(n,i)||Lw(r));T.useEffect(()=>{typeof document<"u"&&b9(c).then(()=>{document.documentElement.setAttribute("data-palette",c),setTimeout(()=>{const x=new CustomEvent("palette-changed",{detail:{palette:c}});window.dispatchEvent(x)},50)}).catch(x=>{console.error(`[PaletteContext] Failed to load palette "${c}":`,x),document.documentElement.setAttribute("data-palette",c);const C=new CustomEvent("palette-changed",{detail:{palette:c}});window.dispatchEvent(C)})},[c]);const w={currentPalette:c,preferredPalette:s,availablePalettes:Oa,isPersistent:n!==null,setPreferredPalette:x=>{Oa.find(P=>P.id===x)?(l(x),d(x),p9(n,x)):console.warn(`Palette "${x}" not found. Available palettes:`,Oa.map(P=>P.id))},clearPreferredPalette:()=>{l(null),f9(n);const x=Lw(r,!1);d(x)},getPreferredPalette:()=>s,getCurrentPalette:()=>c,setCurrentPalette:x=>{Oa.find(P=>P.id===x)?d(x):console.warn(`Palette "${x}" not found. Available palettes:`,Oa.map(P=>P.id))}};return h.jsx(zC.Provider,{value:w,children:t})},DC=T.createContext(null),FC=()=>{const t=T.useContext(DC);if(!t)throw new Error("useTheme must be used within a ThemeProvider");return t},Nw=(t,e=!0)=>t&&["light","dark","system"].includes(t)?t:(e&&console.warn(`[ThemeProvider] Invalid defaultTheme '${t}'. Using 'system'.`),"system"),C9=({children:t,appId:e,includePalette:r=!0,defaultTheme:n="light",defaultPalette:i})=>{const l=pt.useMemo(()=>{if(e===!1)return null;if(typeof e=="string")return`${e}.theme`;const $="qwickapps-react-framework-theme";return console.warn(`[ThemeProvider] Using default storage key '${$}'. Consider providing an appId for production apps to avoid conflicts. Example: <ThemeProvider appId="com.mycompany.myapp">`),$},[e]),[c,d]=T.useState(()=>_w(l)),[p,m]=T.useState(()=>_w(l)||Nw(n)),[v,g]=T.useState(0),y=ML("(prefers-color-scheme: dark)"),w=p==="system"?y?"dark":"light":p;T.useEffect(()=>{if(typeof window<"u"){const $=()=>{g(X=>X+1)},U=()=>{g(X=>X+1)};return window.addEventListener("palette-changed",$),window.addEventListener("theme-changed",U),()=>{window.removeEventListener("palette-changed",$),window.removeEventListener("theme-changed",U)}}},[]),T.useEffect(()=>{if(typeof window<"u"){const $=new CustomEvent("theme-changed",{detail:{theme:w}});window.dispatchEvent($)}},[w]),T.useEffect(()=>{typeof window<"u"&&r9(w)},[w]);const x=$=>typeof window<"u"&&typeof document<"u"?getComputedStyle(document.documentElement).getPropertyValue($).trim():"",C=pt.useMemo(()=>{const $=w==="dark",U=x("--theme-primary-light")||($?"#87ceeb":"#4a90e2"),X=x("--theme-primary")||($?"#90caf9":"#1976d2"),H=x("--theme-primary-dark")||($?"#1a365d":"#0056b3"),M=x("--theme-on-primary")||($?"#000000":"#ffffff"),W=x("--theme-secondary-light")||($?"#adb5bd":"#868e96"),G=x("--theme-secondary")||($?"#f48fb1":"#dc004e"),B=x("--theme-secondary-dark")||($?"#6c757d":"#495057"),V=x("--theme-on-secondary")||($?"#b0b0b0":"#666666"),K=x("--theme-error-light")||($?"#f9c2c2":"#f5c6cb"),J=x("--theme-error")||($?"#f87171":"#dc3545"),Z=x("--theme-error-dark")||($?"#b91c1c":"#a71d2a"),Q=x("--theme-warning-light")||($?"#fbbf24":"#ffc107"),q=x("--theme-warning")||($?"#fbbf24":"#ffc107"),ne=x("--theme-warning-dark")||($?"#b57c00":"#856404"),ue=x("--theme-info-light")||($?"#60a5fa":"#007acc"),oe=x("--theme-info")||($?"#60a5fa":"#007acc"),ie=x("--theme-info-dark")||($?"#1e3a8a":"#0d6efd"),ee=x("--theme-success-light")||($?"#4ade80":"#28a745"),pe=x("--theme-success")||($?"#4ade80":"#28a745"),ve=x("--theme-success-dark")||($?"#1f9e3d":"#1c7430"),xe=x("--theme-background")||($?"#121212":"#ffffff"),se=x("--theme-surface")||($?"#1e1e1e":"#ffffff"),Le=x("--theme-text-primary")||($?"#ffffff":"#000000"),De=x("--theme-text-secondary")||($?"rgba(255, 255, 255, 0.7)":"rgba(0, 0, 0, 0.6)"),ze=x("--theme-on-disabled")||($?"rgba(255, 255, 255, 0.38)":"rgba(0, 0, 0, 0.38)");return gf({palette:{mode:w,primary:{main:X,light:U,dark:H,contrastText:M},secondary:{main:G,light:W,dark:B,contrastText:V},error:{light:K,main:J,dark:Z},warning:{light:Q,main:q,dark:ne},info:{light:ue,main:oe,dark:ie},background:{default:xe,paper:se},text:{primary:Le,secondary:De,disabled:ze},success:{light:ee,main:pe,dark:ve}},typography:{fontFamily:'"Segoe UI", "Roboto", "Arial", sans-serif'},components:{MuiButton:{styleOverrides:{root:{textTransform:"none"}}}}})},[w,v]),I={currentTheme:p,preferredTheme:c,actualThemeMode:w,theme:C,isDark:w==="dark",isPersistent:l!==null,setPreferredTheme:$=>{d($),m($),u9(l,$)},clearPreferredTheme:()=>{d(null),d9(l);const $=Nw(n,!1);m($)},getPreferredTheme:()=>c,getCurrentTheme:()=>p,setCurrentTheme:$=>{m($)}},D=h.jsx(DC.Provider,{value:I,children:h.jsx(w_,{theme:C,children:t})});return r?h.jsx(S9,{appId:e,defaultPalette:i,children:D}):D},jg={theme:"light",palette:void 0,hideScaffolding:!0,hideInteractiveElements:!1,optimizeForMonochrome:!1,showPrintDate:!0,pageMargins:"12mm"};function E9(t,e){switch(e.type){case"TRIGGER_PRINT":return t.printModeState==="normal"?{...t,printModeState:"applying_print_config",printConfig:e.config?{...jg,...e.config}:jg}:t;case"APPLY_CONFIG":return t.printModeState==="applying_print_config"?{...t,printModeState:"entering_print_mode"}:t;case"VIEW_LOADING":return t.printModeState==="entering_print_mode"?{...t,printModeState:"view_loading"}:t;case"VIEW_READY":return t.printModeState==="view_loading"?{...t,printModeState:"config_applied"}:t.printModeState==="exiting_print_mode"?{...t,printModeState:"restoring_config"}:t;case"CONFIG_APPLIED":return t.printModeState==="config_applied"?{...t,printModeState:"print_mode"}:t;case"EXIT_PRINT_MODE":return t.printModeState!=="normal"&&t.printModeState!=="exiting_print_mode"&&t.printModeState!=="restoring_config"?{...t,printModeState:"exiting_print_mode"}:t;case"RESTORE_CONFIG":return t.printModeState==="restoring_config"?{...t,printModeState:"normal"}:t;case"SET_ORIGINAL_THEME":return{...t,originalTheme:e.theme};case"SET_ORIGINAL_PALETTE":return{...t,originalPalette:e.palette};default:return t}}const HC=T.createContext(null),T9=()=>{const t=T.useContext(HC);if(!t)throw new Error("usePrintMode must be used within a PrintModeProvider");return t},k9=({children:t})=>{const[e,r]=T.useReducer(E9,{printModeState:"normal",printConfig:jg,originalTheme:null,originalPalette:null}),{updateConfig:n}=Jy(),{setCurrentTheme:i,getCurrentTheme:s}=FC(),{setCurrentPalette:l,getCurrentPalette:c}=BC(),d=e.printModeState==="entering_print_mode"||e.printModeState==="view_loading"||e.printModeState==="config_applied"||e.printModeState==="print_mode",p=T.useCallback(w=>{r({type:"TRIGGER_PRINT",config:w})},[]),m=T.useCallback(()=>{r({type:"EXIT_PRINT_MODE"})},[]),v=T.useCallback(()=>{r({type:"VIEW_LOADING"})},[]),g=T.useCallback(()=>{r({type:"VIEW_READY"})},[]);T.useEffect(()=>{if(e.printModeState==="applying_print_config"){if(e.printConfig.hideScaffolding&&n({enableScaffolding:!1}),e.printConfig.theme&&(r({type:"SET_ORIGINAL_THEME",theme:s()}),i(e.printConfig.theme)),e.printConfig.palette&&(r({type:"SET_ORIGINAL_PALETTE",palette:c()}),l(e.printConfig.palette)),typeof document<"u"&&(document.body.classList.add("print-mode"),e.printConfig.optimizeForMonochrome&&document.body.classList.add("print-monochrome"),e.printConfig.hideInteractiveElements&&document.body.classList.add("print-hide-interactive"),e.printConfig.pageMargins&&e.printConfig.pageMargins!=="12mm")){let w=document.querySelector("#qwick-print-margins");w||(w=document.createElement("style"),w.id="qwick-print-margins",document.head.appendChild(w)),w.textContent=`
332
- @media print {
333
- @page {
334
- margin: ${e.printConfig.pageMargins};
335
- }
336
- }
337
- `}r({type:"APPLY_CONFIG"})}},[e.printModeState,e.printConfig,n,s,c,i,l]),T.useEffect(()=>{if(e.printModeState==="config_applied"){const w=requestAnimationFrame(()=>{r({type:"CONFIG_APPLIED"})});return()=>cancelAnimationFrame(w)}},[e.printModeState]),T.useEffect(()=>{e.printModeState==="exiting_print_mode"&&r({type:"VIEW_READY"})},[e.printModeState]),T.useEffect(()=>{if(e.printModeState==="restoring_config"){if(n({enableScaffolding:!0}),e.originalTheme&&i(e.originalTheme),e.originalPalette&&l(e.originalPalette),typeof document<"u"){document.body.classList.remove("print-mode","print-monochrome","print-hide-interactive");const w=document.querySelector("#qwick-print-margins");w&&w.remove()}r({type:"RESTORE_CONFIG"})}},[e.printModeState,e.originalTheme,e.originalPalette,n,i,l]),T.useEffect(()=>{e.printModeState==="print_mode"&&typeof window<"u"&&window.print()},[e.printModeState]),T.useEffect(()=>{const w=()=>{p()},x=()=>{m()};if(typeof window<"u")return window.addEventListener("beforeprint",w),window.addEventListener("afterprint",x),()=>{window.removeEventListener("beforeprint",w),window.removeEventListener("afterprint",x)}},[m,p]);const y={printModeState:e.printModeState,isPrintMode:d,printConfig:e.printConfig,triggerPrint:p,exitPrintMode:m,onViewLoading:v,onViewReady:g};return h.jsx(HC.Provider,{value:y,children:t})};function P9(){const t=T9();return{isPrintMode:t.isPrintMode,printConfig:t.printConfig,printModeState:t.printModeState,enterPrintMode:t.triggerPrint,exitPrintMode:t.exitPrintMode,togglePrintMode:e=>{t.isPrintMode?t.exitPrintMode():t.triggerPrint(e)},triggerPrint:t.triggerPrint,onViewLoading:t.onViewLoading,onViewReady:t.onViewReady}}function M9(t){const e={};for(const[r,n]of Object.entries(t))if(typeof n=="string"&&n.trim())try{const i=new Function("event",n);e[r]=i}catch(i){console.warn(`Invalid event handler string for ${r}:`,n,i)}else typeof n=="function"&&(e[r]=n);return e}function _9(t){if(t){if(typeof t=="string")try{return JSON.parse(t)}catch(e){console.warn("Invalid sx JSON string:",t,e);return}return t}}function A9(t){if(t){if(typeof t=="string")try{return JSON.parse(t)}catch(e){console.warn("Invalid style JSON string:",t,e);return}return t}}function js(t){if(t!=null){if(typeof t=="number")return t;if(typeof t=="string"){if(t==="auto"||t==="grow")return t;const e=parseInt(t,10);if(!isNaN(e)&&e>0)return e}}}function R9(t){const{sx:e,style:r,onClick:n,onMouseEnter:i,onMouseLeave:s,onFocus:l,onBlur:c,span:d,xs:p,sm:m,md:v,lg:g,xl:y,backgroundColor:w,...x}=t,C=_9(e),P=A9(r),k=M9({onClick:n,onMouseEnter:i,onMouseLeave:s,onFocus:l,onBlur:c}),_={span:js(d),xs:js(p),sm:js(m),md:js(v),lg:js(g),xl:js(y)},E=x.background??w,A={...x,..._,sx:C,style:P,...k,background:E};return delete A.backgroundColor,A}function Og(t){if(!(t==null||typeof t=="boolean")){if(typeof t=="string"||typeof t=="number")return String(t);if(Array.isArray(t))return t.map(Og).filter(Boolean).join("")}}function bn(t){const{tagName:e,version:r,role:n,View:i,childrenStrategy:s={mode:"react-children"},finalize:l}=t;function c(p){const{dataSource:m,bindingOptions:v,children:g,...y}=p;let w=y;if(s.mode==="content-prop"){const U=s.propName||"content";if(w[U]==null){const X=Og(g);typeof X=="string"&&(w={...w,[U]:X})}}const x=R9(w),{loading:C,error:P,...k}=Xi(m||void 0,x,void 0,m?{...v}:{});let _=x;m&&!P&&(_={...x,...k});const{gridProps:E,styleProps:A,htmlProps:I,restProps:D}=Vr(_);if(m&&C)return h.jsx("div",{children:"Loading..."});if(m&&P)return console.error("Data binding error:",P),h.jsxs("div",{style:{color:"red",padding:"1rem",border:"1px solid red"},children:["Error loading data: ",P.message]});let $={...D,...A,...I,...n==="container"&&E?{gridProps:E}:{}};return l&&($=l($)),s.mode==="content-prop"?h.jsx(i,{...$}):h.jsx(i,{...$,children:g})}const d=c;return d.tagName=e,d.version=r,d[Jr]=Jr,d.fromJson=function(m){const v=m,{tagName:g,version:y,data:w}=v;if(g!==e)throw new Error(`Tag name mismatch: expected ${e}, got ${g}`);if(y!==r&&console.warn(`Version mismatch for ${e}: expected ${r}, got ${y}`),s.mode==="content-prop"){const x=s.propName||"content",{children:C,...P}=w||{},k={...P,[x]:(w==null?void 0:w[x])||""};return pt.createElement(d,k)}else{const x={...w};return w.children!==void 0&&(x.children=ComponentTransformer.deserialize(w.children)),pt.createElement(d,x)}},d.toJson=function(m){if(s.mode==="content-prop"){const v=s.propName||"content",{children:g,...y}=m||{},w=(m==null?void 0:m[v])??Og(m==null?void 0:m.children),x={};for(const[C,P]of Object.entries(y))typeof P=="function"&&C.startsWith("on")?x[C]=P.toString():typeof P!="function"&&P!==void 0&&P!==null&&(x[C]=P);return{tagName:e,version:r,data:{...x,[v]:w||""}}}else{const v={};for(const[g,y]of Object.entries(m))if(typeof y=="function"&&g.startsWith("on"))v[g]=y.toString();else{if(typeof y=="function")continue;(g==="children"||y!=null)&&(v[g]=y)}return{tagName:e,version:r,data:v}}},d.displayName=`SerializableView(${e})`,d}function I9({children:t,gridProps:e,...r}){return h.jsx(Ce,{...r,...e?{"data-grid":JSON.stringify(e)}:{},component:"div",children:t})}const j9=bn({tagName:"Container",version:"1.0.0",role:"container",View:I9});function O9({content:t,language:e="text",showCopy:r=!0,showLineNumbers:n=!1,title:i,wrapLines:s=!1,codeBackground:l,...c}){var A;const d=Yn(),[p,m]=T.useState(!1),[v,g]=T.useState(!1),y=((A=c.sx)==null?void 0:A.maxHeight)||400,w=t||"";if(!(w!=null&&w.trim()))return h.jsx(Rr,{...c,variant:"outlined",sx:{p:3,textAlign:"center",opacity:.6,...c.sx},children:h.jsx(Te,{variant:"body2",color:"text.secondary",children:"No code content provided"})});const x=async()=>{try{await navigator.clipboard.writeText(w),m(!0),g(!0),setTimeout(()=>m(!1),2e3)}catch(I){console.error("Failed to copy code:",I)}},C=w.split(`
338
- `),P=()=>l||d.palette.grey[d.palette.mode==="dark"?900:50],k=()=>d.palette.grey[d.palette.mode==="dark"?800:200],_=()=>d.palette.text.primary,E=()=>d.palette.divider;return h.jsxs(Rr,{...c,variant:"outlined",sx:{backgroundColor:P(),border:`1px solid ${E()}`,borderRadius:1,overflow:"hidden",position:"relative",...c.sx},children:[(i||r)&&h.jsxs(Ce,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",px:2,py:1,backgroundColor:k(),borderBottom:`1px solid ${E()}`},children:[i&&h.jsx(Te,{variant:"body2",sx:{fontFamily:'Monaco, Consolas, "Ubuntu Mono", monospace',color:_(),opacity:.8},children:i}),h.jsx(Ce,{sx:{ml:"auto"},children:r&&h.jsx(Tn,{title:p?"Copied!":"Copy code",children:h.jsx(Ar,{size:"small",onClick:x,sx:{color:_(),opacity:.7,"&:hover":{opacity:1,backgroundColor:d.palette.action.hover}},children:p?h.jsx(PC,{fontSize:"small"}):h.jsx(Wy,{fontSize:"small"})})})})]}),h.jsx(Ce,{sx:{maxHeight:y,overflow:"auto",position:"relative"},children:h.jsx(Ce,{component:"pre",sx:{margin:0,padding:2,fontFamily:'Monaco, Consolas, "Ubuntu Mono", monospace',fontSize:"0.875rem",lineHeight:1.5,color:_(),backgroundColor:"transparent",overflow:s?"visible":"auto",whiteSpace:s?"pre-wrap":"pre",wordBreak:s?"break-word":"normal"},children:n?h.jsxs(Ce,{sx:{display:"flex"},children:[h.jsx(Ce,{sx:{pr:2,mr:2,borderRight:`1px solid ${E()}`,color:_(),opacity:.5,userSelect:"none",minWidth:`${String(C.length).length+1}ch`},children:C.map((I,D)=>h.jsx(Ce,{sx:{textAlign:"right"},children:D+1},D))}),h.jsx(Ce,{sx:{flex:1,minWidth:0},children:h.jsx("code",{children:w})})]}):h.jsx("code",{children:w})})}),h.jsx($y,{open:v,autoHideDuration:2e3,onClose:()=>g(!1),anchorOrigin:{vertical:"bottom",horizontal:"right"},children:h.jsx(Qa,{onClose:()=>g(!1),severity:"success",variant:"filled",children:"Code copied to clipboard!"})})]})}const Vs=bn({tagName:"Code",version:"1.0.0",role:"view",View:O9,childrenStrategy:{mode:"content-prop",propName:"content"}});Vs.registerPatternHandlers=t=>{t.hasPattern&&(t.hasPattern("pre code")||t.registerPattern("pre code",Vs.transformPreCode),t.hasPattern("code.highlight")||t.registerPattern("code.highlight",Vs.transformCodeHighlight))};Vs.transformPreCode=t=>{var n;const e=t.querySelector("code");return e?{tagName:"Code",props:{language:((n=Array.from(e.classList).find(i=>i.startsWith("language-")))==null?void 0:n.replace("language-",""))||"text",showCopy:!0,showLineNumbers:!1,content:e.textContent||""}}:null};Vs.transformCodeHighlight=t=>{var r;return{tagName:"Code",props:{language:((r=Array.from(t.classList).find(n=>n.startsWith("language-")))==null?void 0:r.replace("language-",""))||"text",showCopy:!0,showLineNumbers:!1,content:t.textContent||""}}};const L9={home:{emoji:"🏠",component:IC},menu:{emoji:"☰",component:w8},dashboard:{emoji:"📊",component:o8},info:{emoji:"ℹ️",component:ww},about:{emoji:"ℹ️",component:ww},help:{emoji:"❓",component:RC},book:{emoji:"📖",component:qm},email:{emoji:"📧",component:xw},contact:{emoji:"📧",component:xw},phone:{emoji:"📱",component:T8},send:{emoji:"📤",component:R8},add:{emoji:"➕",component:kC},edit:{emoji:"✏️",component:l8},delete:{emoji:"🗑️",component:a8},save:{emoji:"💾",component:_8},check:{emoji:"✓",component:PC},close:{emoji:"✕",component:t8},arrowforward:{emoji:"→",component:KN},arrowback:{emoji:"←",component:XN},search:{emoji:"🔍",component:OC},share:{emoji:"🔗",component:j8},download:{emoji:"⬇️",component:s8},clouddownload:{emoji:"☁️⬇️",component:r8},cloudupload:{emoji:"☁️⬆️",component:n8},person:{emoji:"👤",component:Sw},user:{emoji:"👤",component:Sw},group:{emoji:"👥",component:f8},favorite:{emoji:"❤️",component:c8},star:{emoji:"⭐",component:L8},verified_user:{emoji:"✅",component:D8},business:{emoji:"🏢",component:Gm},shoppingcart:{emoji:"🛒",component:Xm},cart:{emoji:"🛒",component:Xm},attachmoney:{emoji:"💰",component:YN},lock:{emoji:"🔒",component:jC},lockopen:{emoji:"🔓",component:b8},visibility:{emoji:"👁️",component:Ky},visibilityoff:{emoji:"🙈",component:Qy},settings:{emoji:"⚙️",component:Ew},computer:{emoji:"💻",component:_C},article:{emoji:"📰",component:QN},blog:{emoji:"📝",component:qm},news:{emoji:"📰",component:qm},products:{emoji:"🛍️",component:Xm},services:{emoji:"⚙️",component:Ew},portfolio:{emoji:"💼",component:Gm},gallery:{emoji:"🖼️",component:Gm},inventory:{emoji:"📦",component:m8},inventory_2:{emoji:"📦",component:g8},speed:{emoji:"⚡",component:O8},support_agent:{emoji:"🛎️",component:N8},tune:{emoji:"🎛️",component:B8},code:{emoji:"💻",component:MC},psychology:{emoji:"🧠",component:k8},autorenew:{emoji:"🔄",component:JN},integration_instructions:{emoji:"🔌",component:h8},construction:{emoji:"🚧",component:i8},work:{emoji:"💼",component:H8},layers:{emoji:"📚",component:v8},trending_up:{emoji:"📈",component:z8},route:{emoji:"🗺️",component:M8},sync:{emoji:"🔄",component:$8},architecture:{emoji:"🏛️",component:GN},security:{emoji:"🔐",component:A8},key:{emoji:"🔑",component:y8},vpn_key:{emoji:"🔐",component:F8},person_search:{emoji:"🔍",component:E8},manage_accounts:{emoji:"👥",component:x8},storage:{emoji:"💾",component:Xy},refresh:{emoji:"🔄",component:Gy},block:{emoji:"🚫",component:ZN},check_circle:{emoji:"✅",component:_f},rotate_right:{emoji:"🔄",component:P8},memory:{emoji:"🧠",component:qy}};function Lg(t){if(!t)return null;const e=L9[t.toLowerCase()];if(!(e!=null&&e.component))return console.warn(`[IconMap] Icon "${t}" not found in registry`),null;const r=e.component;return h.jsx(r,{})}const VC=pt.forwardRef((t,e)=>{const{label:r,variant:n="primary",color:i,buttonSize:s="medium",icon:l,endIcon:c,href:d,target:p="_self",onClick:m,action:v,disabled:g=!1,loading:y=!1,fullWidth:w=!1,children:x,...C}=t,P=()=>{switch(n){case"primary":return"contained";case"secondary":return"contained";case"outlined":return"outlined";case"text":return"text";case"contained":return"contained";default:return"contained"}},k=()=>{if(i)return i;switch(n){case"primary":return"primary";case"secondary":return"secondary";case"outlined":return"primary";case"text":return"primary";case"contained":return"primary";default:return"primary"}},_=()=>{const $=P(),U=k();return $==="contained"?{backgroundColor:`var(--theme-${U})`,color:`var(--theme-on-${U})`,"&:hover":{backgroundColor:`var(--theme-${U}-dark)`},"&.Mui-disabled":{backgroundColor:"var(--theme-text-disabled)",color:"var(--theme-on-surface)"}}:$==="outlined"?{borderColor:`var(--theme-${U})`,color:`var(--theme-${U})`,"&:hover":{borderColor:`var(--theme-${U}-dark)`,backgroundColor:`var(--theme-${U}-light)`},"&.Mui-disabled":{borderColor:"var(--theme-border-main)",color:"var(--theme-text-disabled)"}}:{color:`var(--theme-${U})`,"&:hover":{backgroundColor:`var(--theme-${U}-light)`},"&.Mui-disabled":{color:"var(--theme-text-disabled)"}}},E=pt.useCallback($=>{if(v)switch($.preventDefault(),v.type){case"navigate":v.url&&(v.target==="_blank"?window.open(v.url,"_blank","noopener,noreferrer"):window.location.href=v.url);break;case"submit":if(v.form){const U=document.getElementById(v.form);U instanceof HTMLFormElement&&U.requestSubmit()}break;case"external":v.url&&window.open(v.url,v.target||"_blank","noopener,noreferrer");break;case"custom":if(v.customHandler&&typeof window<"u"){const U=window[v.customHandler];typeof U=="function"&&U($)}break}m&&m($)},[v,m]),A=!!(d&&!g&&!y),I={variant:P(),size:s,disabled:g||y,fullWidth:w,...C,sx:{..._(),textTransform:"none",...y&&{"& .MuiButton-startIcon":{marginRight:1}},...C.sx||{}},startIcon:y?h.jsx(Gi,{size:16,color:"inherit","aria-label":"Loading"}):l,endIcon:y?void 0:c};if(A){const $={...I,component:"a",href:d,target:p,rel:p==="_blank"?"noopener noreferrer":void 0,onClick:void 0};return h.jsx(qc,{ref:e,...$,children:r||x})}const D={...I,onClick:g||y?void 0:v?E:m};return h.jsx(qc,{ref:e,...D,children:r||x})});VC.displayName="ButtonView";const Qc=bn({tagName:"Button",version:"1.0.0",role:"view",View:VC,finalize:t=>{const e={...t};if(typeof t.icon=="string"){const r=Lg(t.icon);e.icon=r||void 0}if(typeof t.endIcon=="string"){const r=Lg(t.endIcon);e.endIcon=r||void 0}return e}});Qc.registerPatternHandlers=t=>{t.hasPattern("button")||t.registerPattern("button",N9),t.hasPattern('input[type="button"]')||t.registerPattern('input[type="button"]',$9),t.hasPattern('input[type="submit"]')||t.registerPattern('input[type="submit"]',z9)};function N9(t){const e=t.getAttribute("data-variant")||(t.className.includes("btn-primary")?"primary":t.className.includes("btn-outlined")?"outlined":"secondary"),r=t.hasAttribute("disabled"),n=t.getAttribute("data-href"),i=t.getAttribute("data-target");return{tagName:"Button",props:{label:t.textContent||"Button",variant:e,disabled:r,href:n||void 0,target:i||void 0}}}function $9(t){const e=t.hasAttribute("disabled");return{tagName:"Button",props:{label:t.getAttribute("value")||"Button",variant:"secondary",disabled:e}}}function z9(t){const e=t.hasAttribute("disabled");return{tagName:"Button",props:{label:t.getAttribute("value")||"Submit",variant:"primary",disabled:e,type:"submit"}}}function B9({content:t,variant:e="body1",color:r="inherit",align:n="inherit",component:i="p",fontWeight:s="inherit",textDecoration:l="none",textTransform:c="none",noWrap:d=!1,paragraph:p=!1,gutterBottom:m=!1,fontSize:v,lineHeight:g,letterSpacing:y,fontFamily:w,customColor:x,maxWidth:C,className:P,style:k,..._}){const E=t||"";if(!E)return null;const A={...k};return v&&(A.fontSize=v),g&&(A.lineHeight=g),y&&(A.letterSpacing=y),w&&(A.fontFamily=w),x&&(A.color=x),C&&(A.maxWidth=C),s!=="inherit"&&(A.fontWeight=s),l!=="none"&&(A.textDecoration=l),c!=="none"&&(A.textTransform=c),_.onClick&&(A.cursor="pointer"),h.jsx(Te,{..._,variant:e,color:r,align:n,component:i,noWrap:d,paragraph:p,gutterBottom:m,className:`text ${P||""}`.trim(),style:A,children:E})}const ho=bn({tagName:"Text",version:"1.0.0",role:"view",View:B9,childrenStrategy:{mode:"content-prop",propName:"content"}});ho.registerPatternHandlers=t=>{const e=ho;t.hasPattern("p")||t.registerPattern("p",e.transformParagraph),["h1","h2","h3","h4","h5","h6"].forEach(n=>{t.hasPattern(n)||t.registerPattern(n,i=>e.transformHeading(i,n))}),t.hasPattern("span")||t.registerPattern("span",e.transformSpan)};ho.transformParagraph=t=>({tagName:"Text",version:"1.0.0",data:{variant:"body1",component:"p",content:t.textContent||""}});ho.transformHeading=(t,e)=>({tagName:"Text",version:"1.0.0",data:{variant:{h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6"}[e]||"h4",component:e,content:t.textContent||""}});ho.transformSpan=t=>({tagName:"Text",version:"1.0.0",data:{variant:"body2",component:"span",content:t.textContent||""}});function D9({title:t="",subtitle:e,backgroundImage:r,backgroundGradient:n,backgroundColor:i="primary",actions:s=[],children:l,textAlign:c="center",blockHeight:d="medium",overlayOpacity:p=.5,gridProps:m,...v}){const g=Yn(),y=()=>{switch(d){case"small":return 300;case"medium":return 400;case"large":return 600;case"viewport":return"100vh";default:return 400}},w=()=>{if(r||n)return"transparent";switch(i){case"primary":return g.palette.primary.main;case"secondary":return g.palette.secondary.main;case"surface":return g.palette.background.paper;default:return g.palette.background.default}},x=()=>{switch(i){case"primary":return g.palette.primary.contrastText;case"secondary":return g.palette.secondary.contrastText;case"surface":return g.palette.getContrastText(g.palette.background.paper);default:return g.palette.text.primary}};return h.jsxs(Ce,{component:"section",...v,...m?{"data-grid":JSON.stringify(m)}:{},sx:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",minHeight:y(),backgroundColor:w(),color:x(),backgroundImage:r?`url(${r})`:n||"none",backgroundSize:r?"cover":"auto",backgroundPosition:r?"center":"initial",backgroundRepeat:"no-repeat",overflow:"hidden",...v.sx},children:[r&&h.jsx(Ce,{sx:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.4)",opacity:p,zIndex:1}}),h.jsx(Np,{maxWidth:"md",sx:{position:"relative",zIndex:2,textAlign:c,py:4},children:h.jsxs(Qx,{spacing:3,alignItems:c==="center"?"center":c==="right"?"flex-end":"flex-start",children:[h.jsx(ho,{variant:"h2",component:"h1",customColor:"var(--theme-on-primary)",sx:{fontWeight:700,fontSize:{xs:"2rem",sm:"2.5rem",md:"3rem",lg:"3.5rem"},lineHeight:1.2,maxWidth:"800px"},children:t}),e&&h.jsx(ho,{variant:"h5",component:"p",customColor:"var(--theme-on-primary)",fontWeight:"400",sx:{opacity:.9,maxWidth:"600px"},children:e}),s.length>0&&h.jsx(Qx,{direction:"row",spacing:2,sx:{mt:2,flexWrap:"wrap",gap:1,justifyContent:c==="center"?"center":c==="right"?"flex-end":"flex-start"},children:s.map((C,P)=>h.jsx(Qc,{buttonSize:"large",...C},`hero-action-${P}`))}),l&&h.jsx(Ce,{sx:{maxWidth:"800px"},children:l})]})})]})}const F9=bn({tagName:"HeroBlock",version:"1.0.0",role:"container",View:D9});function H9({src:t,alt:e="",width:r,height:n,objectFit:i="cover",objectPosition:s="center",loading:l="lazy",title:c,draggable:d=!1,borderRadius:p,showLoading:m=!1,showError:v=!1,fallbackSrc:g,sizes:y,srcSet:w,loadingPlaceholder:x,errorPlaceholder:C,onClick:P,style:k,className:_,...E}){const A=Yn(),[I,D]=T.useState("loading"),[$,U]=T.useState(t),X=T.useCallback(()=>{D("loaded")},[]),H=T.useCallback(()=>{if(g&&$!==g){U(g);return}D("error")},[g,$]);if(!t)return v?h.jsx(Ce,{...E,className:`image-error ${_||""}`.trim(),style:{display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:A.palette.grey[100],color:A.palette.text.secondary,width:r||200,height:n||150,borderRadius:p,...k},children:C||h.jsxs(Ce,{sx:{textAlign:"center"},children:[h.jsx(vw,{sx:{fontSize:48,mb:1,opacity:.5}}),h.jsx(Te,{variant:"body2",color:"text.secondary",children:"No image source"})]})}):null;if(I==="loading"&&m)return h.jsx(Ce,{...E,className:`image-loading ${_||""}`.trim(),style:{width:r||"100%",height:n||200,borderRadius:p,...k},children:x||h.jsx(jO,{variant:"rectangular",width:"100%",height:"100%",sx:{borderRadius:p}})});if(I==="error"&&v)return h.jsx(Ce,{...E,className:`image-error ${_||""}`.trim(),style:{display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:A.palette.grey[100],color:A.palette.text.secondary,width:r||"100%",height:n||200,borderRadius:p,...k},children:C||h.jsxs(Ce,{sx:{textAlign:"center",p:2},children:[h.jsx(vw,{sx:{fontSize:48,mb:1,opacity:.5}}),h.jsx(Te,{variant:"body2",color:"text.secondary",children:"Failed to load image"}),g&&h.jsx(Te,{variant:"caption",color:"text.secondary",children:"Fallback image also failed"})]})});const M={display:"block",maxWidth:"100%",height:"auto",objectFit:i,objectPosition:s,borderRadius:p,cursor:P?"pointer":"default",...k};return r&&(M.width=r),n&&(M.height=n),h.jsx("img",{...E,src:$,alt:e,width:r,height:n,loading:l,title:c,draggable:d,sizes:y,srcSet:w,className:`image ${_||""}`.trim(),style:M,onClick:P,onLoad:X,onError:H})}const UC=bn({tagName:"Image",version:"1.0.0",role:"view",View:H9});UC.registerPatternHandlers=t=>{t.hasPattern("img")||t.registerPattern("img",V9),t.hasPattern("figure img")||t.registerPattern("figure img",U9)};function V9(t){const e=t.getAttribute("src")||"",r=t.getAttribute("alt")||"",n=t.getAttribute("width"),i=t.getAttribute("height"),s=t.getAttribute("loading");return{tagName:"Image",props:{src:e,alt:r,width:n?parseInt(n):void 0,height:i?parseInt(i):void 0,loading:s||"lazy"}}}function U9(t){const e=t.closest("figure"),r=e==null?void 0:e.querySelector("figcaption"),n=(r==null?void 0:r.textContent)||"",i=t.getAttribute("src")||"",s=t.getAttribute("alt")||n,l=t.getAttribute("width"),c=t.getAttribute("height");return{tagName:"Image",props:{src:i,alt:s,caption:n||void 0,width:l?parseInt(l):void 0,height:c?parseInt(c):void 0,loading:"lazy"}}}function W9({children:t,background:e="var(--theme-surface)",color:r="var(--theme-on-surface)",padding:n="medium",contentMaxWidth:i="lg",component:s="section",gridProps:l,...c}){if(!t)return h.jsx(Ce,{component:s,...c,...l?{"data-grid":JSON.stringify(l)}:{},sx:{backgroundColor:e,color:r,position:"static",py:2,px:0,...c.sx},children:h.jsx(Np,{maxWidth:Pw(i),sx:{position:"relative",textAlign:"center",opacity:.6,...i===!1&&{maxWidth:"none !important",px:3}},children:"No content provided for this section"})});const d=()=>{switch(n){case"none":return 0;case"tiny":return{py:1,px:0};case"small":return{py:2,px:0};case"medium":return{py:4,px:0};case"large":return{py:8,px:0};case"extra-large":return{py:12,px:0};default:return{py:4,px:0}}};return h.jsx(Ce,{component:s,...c,...l?{"data-grid":JSON.stringify(l)}:{},sx:{backgroundColor:e,color:r,position:"static",...d(),...c.sx},children:h.jsx(Np,{maxWidth:Pw(i),sx:{position:"relative",...i===!1&&{maxWidth:"none !important",px:3}},children:t})})}const Us=bn({tagName:"Section",version:"1.0.0",role:"container",View:W9,finalize:t=>t.contentMaxWidth==="false"?{...t,contentMaxWidth:!1}:t});Us.registerPatternHandlers=t=>{t.hasPattern("section")||t.registerPattern("section",Us.transformSection),t.hasPattern("section.blog-section")||t.registerPattern("section.blog-section",Us.transformBlogSection)};Us.transformSection=t=>{const e=t.getAttribute("data-padding")||"medium",r=t.getAttribute("data-background"),n=t.getAttribute("data-max-width")||"lg";return{tagName:"Section",version:"1.0.0",data:{padding:e,background:r,contentMaxWidth:n,children:t.innerHTML}}};Us.transformBlogSection=t=>{const e=t.getAttribute("data-padding")||"large",r=t.getAttribute("data-background")||"var(--theme-surface)";return{tagName:"Section",version:"1.0.0",data:{padding:e,background:r,contentMaxWidth:"md",children:t.innerHTML}}};function R(t,e,r,n){var i=arguments.length,s=i<3?e:n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function z(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}let tt=class extends Ft{};R([L(),N({field_type:O.TEXT,label:"Grid Span",description:"Column span for grid layouts (number, auto, or grow)"}),F(),Gn((t,e)=>typeof e=="string"),Re(["auto","grow"]),Gn((t,e)=>typeof e=="number"),bl(),yn(1),z("design:type",Object)],tt.prototype,"span",void 0);R([L(),N({field_type:O.TEXT,label:"Extra Small Breakpoint (xs)",description:"Column span for extra small screens"}),F(),Gn((t,e)=>typeof e=="string"),Re(["auto"]),Gn((t,e)=>typeof e=="number"),bl(),yn(1),z("design:type",Object)],tt.prototype,"xs",void 0);R([L(),N({field_type:O.SELECT,label:"Small Breakpoint (sm)",description:"Column span for small screens"}),F(),Gn((t,e)=>typeof e=="string"),Re(["auto"]),Gn((t,e)=>typeof e=="number"),bl(),yn(1),z("design:type",Object)],tt.prototype,"sm",void 0);R([L(),N({field_type:O.SELECT,label:"Medium Breakpoint (md)",description:"Column span for medium screens"}),F(),Gn((t,e)=>typeof e=="string"),Re(["auto"]),Gn((t,e)=>typeof e=="number"),bl(),yn(1),z("design:type",Object)],tt.prototype,"md",void 0);R([L(),N({field_type:O.SELECT,label:"Large Breakpoint (lg)",description:"Column span for large screens"}),F(),Gn((t,e)=>typeof e=="string"),Re(["auto"]),Gn((t,e)=>typeof e=="number"),bl(),yn(1),z("design:type",Object)],tt.prototype,"lg",void 0);R([L(),N({field_type:O.SELECT,label:"Extra Large Breakpoint (xl)",description:"Column span for extra large screens"}),F(),Gn((t,e)=>typeof e=="string"),Re(["auto"]),Gn((t,e)=>typeof e=="number"),bl(),yn(1),z("design:type",Object)],tt.prototype,"xl",void 0);R([L(),N({field_type:O.TEXT,label:"CSS Class Name",description:"Additional CSS class name for custom styling",placeholder:"custom-class-name"}),F(),te(),z("design:type",String)],tt.prototype,"className",void 0);R([L(),N({field_type:O.TEXTAREA,label:"MUI SX Props",description:"MUI sx prop as JSON string for advanced styling",placeholder:'{"color": "primary.main", "fontWeight": "bold"}'}),F(),te(),z("design:type",Object)],tt.prototype,"sx",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Inline Styles",description:"Inline CSS styles as JSON string",placeholder:'{"color": "red", "margin": "10px"}'}),F(),te(),z("design:type",Object)],tt.prototype,"style",void 0);R([L(),N({field_type:O.TEXT,label:"Width",description:"Component width (t-shirt sizes, breakpoints, CSS values, or numbers)",placeholder:"medium, 300px, 50%, auto, grow"}),F(),te(),z("design:type",Object)],tt.prototype,"width",void 0);R([L(),N({field_type:O.TEXT,label:"Height",description:"Component height (t-shirt sizes, CSS values, or numbers)",placeholder:"medium, 200px, 50vh, auto"}),F(),te(),z("design:type",Object)],tt.prototype,"height",void 0);R([L(),N({field_type:O.TEXT,label:"Minimum Width",description:"Minimum width constraint",placeholder:"small, 100px, auto"}),F(),te(),z("design:type",Object)],tt.prototype,"minWidth",void 0);R([L(),N({field_type:O.TEXT,label:"Minimum Height",description:"Minimum height constraint",placeholder:"small, 100px, auto"}),F(),te(),z("design:type",Object)],tt.prototype,"minHeight",void 0);R([L(),N({field_type:O.TEXT,label:"Maximum Width",description:"Maximum width constraint",placeholder:"large, lg, 1200px"}),F(),te(),z("design:type",Object)],tt.prototype,"maxWidth",void 0);R([L(),N({field_type:O.TEXT,label:"Maximum Height",description:"Maximum height constraint",placeholder:"large, 500px, 80vh"}),F(),te(),z("design:type",Object)],tt.prototype,"maxHeight",void 0);R([L(),N({field_type:O.SELECT,label:"Padding",description:"Internal spacing for all sides"}),F(),te(),Re(["none","tiny","small","medium","large","huge"]),z("design:type",Object)],tt.prototype,"padding",void 0);R([L(),N({field_type:O.SELECT,label:"Padding Top",description:"Internal spacing for top side"}),F(),te(),Re(["none","tiny","small","medium","large","huge"]),z("design:type",Object)],tt.prototype,"paddingTop",void 0);R([L(),N({field_type:O.SELECT,label:"Padding Right",description:"Internal spacing for right side"}),F(),te(),Re(["none","tiny","small","medium","large","huge"]),z("design:type",Object)],tt.prototype,"paddingRight",void 0);R([L(),N({field_type:O.SELECT,label:"Padding Bottom",description:"Internal spacing for bottom side"}),F(),te(),Re(["none","tiny","small","medium","large","huge"]),z("design:type",Object)],tt.prototype,"paddingBottom",void 0);R([L(),N({field_type:O.SELECT,label:"Padding Left",description:"Internal spacing for left side"}),F(),te(),Re(["none","tiny","small","medium","large","huge"]),z("design:type",Object)],tt.prototype,"paddingLeft",void 0);R([L(),N({field_type:O.SELECT,label:"Padding Horizontal (X)",description:"Internal spacing for left and right sides"}),F(),te(),Re(["none","tiny","small","medium","large","huge"]),z("design:type",Object)],tt.prototype,"paddingX",void 0);R([L(),N({field_type:O.SELECT,label:"Padding Vertical (Y)",description:"Internal spacing for top and bottom sides"}),F(),te(),Re(["none","tiny","small","medium","large","huge"]),z("design:type",Object)],tt.prototype,"paddingY",void 0);R([L(),N({field_type:O.SELECT,label:"Margin",description:"External spacing for all sides"}),F(),te(),Re(["none","tiny","small","medium","large","huge"]),z("design:type",Object)],tt.prototype,"margin",void 0);R([L(),N({field_type:O.SELECT,label:"Margin Top",description:"External spacing for top side"}),F(),te(),Re(["none","tiny","small","medium","large","huge"]),z("design:type",Object)],tt.prototype,"marginTop",void 0);R([L(),N({field_type:O.SELECT,label:"Margin Right",description:"External spacing for right side"}),F(),te(),Re(["none","tiny","small","medium","large","huge"]),z("design:type",Object)],tt.prototype,"marginRight",void 0);R([L(),N({field_type:O.SELECT,label:"Margin Bottom",description:"External spacing for bottom side"}),F(),te(),Re(["none","tiny","small","medium","large","huge"]),z("design:type",Object)],tt.prototype,"marginBottom",void 0);R([L(),N({field_type:O.SELECT,label:"Margin Left",description:"External spacing for left side"}),F(),te(),Re(["none","tiny","small","medium","large","huge"]),z("design:type",Object)],tt.prototype,"marginLeft",void 0);R([L(),N({field_type:O.SELECT,label:"Margin Horizontal (X)",description:"External spacing for left and right sides"}),F(),te(),Re(["none","tiny","small","medium","large","huge"]),z("design:type",Object)],tt.prototype,"marginX",void 0);R([L(),N({field_type:O.SELECT,label:"Margin Vertical (Y)",description:"External spacing for top and bottom sides"}),F(),te(),Re(["none","tiny","small","medium","large","huge"]),z("design:type",Object)],tt.prototype,"marginY",void 0);R([L(),N({field_type:O.TEXT,label:"Background",description:"Background fill (color, gradient, image CSS). Canonical name.",placeholder:"#ffffff, primary.main, linear-gradient(...)"}),F(),te(),z("design:type",String)],tt.prototype,"background",void 0);R([L(),N({field_type:O.TEXT,label:"Background Color (Deprecated)",description:"Use background instead. Kept for backward compatibility.",placeholder:"#ffffff, primary.main"}),F(),te(),z("design:type",String)],tt.prototype,"backgroundColor",void 0);R([L(),N({field_type:O.TEXT,label:"Background Image",description:"Background image URL",placeholder:"https://example.com/image.jpg"}),F(),te(),z("design:type",String)],tt.prototype,"backgroundImage",void 0);R([L(),N({field_type:O.TEXT,label:"Background Gradient",description:"CSS gradient for background",placeholder:"linear-gradient(45deg, #ff6b6b, #4ecdc4)"}),F(),te(),z("design:type",String)],tt.prototype,"backgroundGradient",void 0);R([L(),N({field_type:O.SELECT,label:"Text Alignment",description:"Text alignment within the component"}),F(),te(),Re(["left","center","right","justify"]),z("design:type",String)],tt.prototype,"textAlign",void 0);R([L(),N({field_type:O.TEXT,label:"Element ID",description:"Unique HTML element ID",placeholder:"unique-element-id"}),F(),te(),z("design:type",String)],tt.prototype,"id",void 0);R([L(),N({field_type:O.TEXT,label:"Role",description:"ARIA role for accessibility",placeholder:"button, navigation, main, etc."}),F(),te(),z("design:type",String)],tt.prototype,"role",void 0);R([L(),N({field_type:O.TEXT,label:"ARIA Label",description:"Accessibility label for screen readers",placeholder:"Describe this element..."}),F(),te(),z("design:type",String)],tt.prototype,"aria-label",void 0);R([L(),N({field_type:O.TEXT,label:"ARIA Labelled By",description:"IDs of elements that label this component",placeholder:"label-element-id"}),F(),te(),z("design:type",String)],tt.prototype,"aria-labelledby",void 0);R([L(),N({field_type:O.TEXT,label:"ARIA Described By",description:"IDs of elements that describe this component",placeholder:"element-id-1 element-id-2"}),F(),te(),z("design:type",String)],tt.prototype,"aria-describedby",void 0);R([L(),N({field_type:O.TEXT,label:"Data Test ID",description:"Test automation identifier",placeholder:"test-element-name"}),F(),te(),z("design:type",String)],tt.prototype,"data-testid",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Click Handler",description:"JavaScript function for click events",placeholder:'function(event) { console.debug("clicked"); }'}),F(),te(),z("design:type",Function)],tt.prototype,"onClick",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Mouse Enter Handler",description:"JavaScript function for mouse enter events",placeholder:"function(event) { /* hover start */ }"}),F(),te(),z("design:type",Function)],tt.prototype,"onMouseEnter",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Mouse Leave Handler",description:"JavaScript function for mouse leave events",placeholder:"function(event) { /* hover end */ }"}),F(),te(),z("design:type",Function)],tt.prototype,"onMouseLeave",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Focus Handler",description:"JavaScript function for focus events",placeholder:"function(event) { /* element focused */ }"}),F(),te(),z("design:type",Function)],tt.prototype,"onFocus",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Blur Handler",description:"JavaScript function for blur events",placeholder:"function(event) { /* element blurred */ }"}),F(),te(),z("design:type",Function)],tt.prototype,"onBlur",void 0);tt=R([bt("ViewSchema","1.0.0")],tt);var WC=tt;let mo=class extends WC{};R([L(),N({field_type:O.TEXTAREA,label:"Content",description:"Main content shown when expanded (HTML supported)",placeholder:"Enter main content..."}),F(),te(),z("design:type",Object)],mo.prototype,"children",void 0);mo=R([bt("ContainerSchema","1.0.0")],mo);let fi=class extends mo{};R([L(),N({field_type:O.TEXT,label:"Title",description:"Title for the default header (ignored if custom header is provided)",placeholder:"Enter form title..."}),F(),te(),z("design:type",String)],fi.prototype,"title",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Description",description:"Description/subtitle for the default header (ignored if custom header is provided)",placeholder:"Enter form description..."}),F(),te(),z("design:type",String)],fi.prototype,"description",void 0);R([L(),N({field_type:O.TEXT,label:"Cover Image URL",description:"Cover image URL for the default header (ignored if custom header is provided)",placeholder:"https://example.com/image.jpg"}),F(),te(),z("design:type",Object)],fi.prototype,"coverImage",void 0);R([L(),N({field_type:O.TEXT,label:"Status Type",description:"Status type for message display (info, success, warning, error)",placeholder:"info"}),F(),Re(["info","success","warning","error"]),z("design:type",String)],fi.prototype,"status",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Status Message",description:"Status message to display",placeholder:"Enter status message..."}),F(),te(),z("design:type",String)],fi.prototype,"message",void 0);R([L({defaultValue:"sm"}),N({field_type:O.TEXT,label:"Maximum Width",description:"Maximum width of the form container (xs, sm, md)",placeholder:"sm"}),F(),Re(["xs","sm","md"]),z("design:type",String)],fi.prototype,"maxWidth",void 0);R([L({defaultValue:"default"}),N({field_type:O.TEXT,label:"Background Style",description:"Background style variant (default, gradient, image)",placeholder:"default"}),F(),Re(["default","gradient","image"]),z("design:type",String)],fi.prototype,"background",void 0);R([L(),N({field_type:O.TEXT,label:"Background Image URL",description:'Background image URL (when background="image")',placeholder:"https://example.com/background.jpg"}),F(),te(),z("design:type",String)],fi.prototype,"backgroundImage",void 0);fi=R([bt("FormBlock","1.0.0")],fi);var q9=fi;const qC=()=>{if(typeof window<"u")return{pathname:window.location.pathname,search:window.location.search,hash:window.location.hash}},G9=()=>t=>{typeof t=="string"?typeof window<"u"&&(window.location.href=t):typeof t=="number"&&typeof window<"u"&&window.history&&window.history.go(t)};function Ng(t){if(t==null)return"";if(typeof t=="string"||typeof t=="number")return String(t);if(typeof t=="boolean")return t?"true":"false";if(Array.isArray(t))return t.map(e=>Ng(e)).join("");if(typeof t=="object"&&t!==null&&"props"in t){const e=t;if(e.props&&e.props.children)return Ng(e.props.children)}return String(t)}function X9(t){const{span:e,xs:r,sm:n,md:i,lg:s,xl:l,sx:c,style:d,...p}=t;return{span:e==="auto"?"auto":e==="grow"?"grow":e&&typeof e=="string"?parseInt(e,10):e,xs:r==="auto"?"auto":r&&typeof r=="string"?parseInt(r,10):r,sm:n==="auto"?"auto":n&&typeof n=="string"?parseInt(n,10):n,md:i==="auto"?"auto":i&&typeof i=="string"?parseInt(i,10):i,lg:s==="auto"?"auto":s&&typeof s=="string"?parseInt(s,10):s,xl:l==="auto"?"auto":l&&typeof l=="string"?parseInt(l,10):l,sx:typeof c=="string"?(()=>{try{return JSON.parse(c)}catch{return c}})():c,style:typeof d=="string"?(()=>{try{return JSON.parse(d)}catch{return d}})():d,onClick:typeof t.onClick=="string"?gc(t.onClick):t.onClick,onMouseEnter:typeof t.onMouseEnter=="string"?gc(t.onMouseEnter):t.onMouseEnter,onMouseLeave:typeof t.onMouseLeave=="string"?gc(t.onMouseLeave):t.onMouseLeave,onFocus:typeof t.onFocus=="string"?gc(t.onFocus):t.onFocus,onBlur:typeof t.onBlur=="string"?gc(t.onBlur):t.onBlur,...p}}function gc(t){if(!(!t||typeof t!="string"))try{let e;return t.trim().startsWith("function")?e=new Function(`return (${t})`)():e=new Function("event",t),r=>e(r)}catch(e){console.error("Error parsing event handler:",e);return}}class es extends pt.Component{static fromJson(e){const r=e,{tagName:n,version:i,data:s}=r;if(n!==this.tagName)throw new Error(`Cannot deserialize: Expected tagName '${this.tagName}' but got '${n}'`);return i!==this.version&&console.warn(`Version mismatch: Expected ${this.version} but got ${i}`),pt.createElement(this,s||{})}toJson(){const e=this.getBaseSerializableProps(),r=this.getComponentSpecificProps();return{tagName:this.constructor.tagName,version:this.constructor.version,data:{...e,...r}}}getProcessedProps(){const{dataSource:e,bindingOptions:r,...n}=this.props,i=X9(n);return{gridProps:{span:i.span,xs:i.xs,sm:i.sm,md:i.md,lg:i.lg,xl:i.xl},styleProps:{className:i.className,sx:i.sx,style:i.style},htmlProps:{id:i.id,role:i.role,"aria-label":i["aria-label"],"aria-labelledby":i["aria-labelledby"],"aria-describedby":i["aria-describedby"],"data-testid":i["data-testid"],onClick:i.onClick,onMouseEnter:i.onMouseEnter,onMouseLeave:i.onMouseLeave,onFocus:i.onFocus,onBlur:i.onBlur},restProps:{width:i.width,height:i.height,minWidth:i.minWidth,minHeight:i.minHeight,maxWidth:i.maxWidth,maxHeight:i.maxHeight,padding:i.padding,paddingTop:i.paddingTop,paddingRight:i.paddingRight,paddingBottom:i.paddingBottom,paddingLeft:i.paddingLeft,paddingX:i.paddingX,paddingY:i.paddingY,margin:i.margin,marginTop:i.marginTop,marginRight:i.marginRight,marginBottom:i.marginBottom,marginLeft:i.marginLeft,marginX:i.marginX,marginY:i.marginY,background:i.background,backgroundImage:i.backgroundImage,backgroundGradient:i.backgroundGradient,textAlign:i.textAlign}}}getBaseSerializableProps(){const e=this.props;return{children:e.children?this.serializeChildren(e.children):void 0,dataSource:e.dataSource,bindingOptions:e.bindingOptions,...e}}serializeChildren(e){if(typeof e=="string")return e;if(this.hasNestedComponents(e))throw new Error("Components with nested components must override serializeChildren method");return Ng(e)}hasNestedComponents(e){return!1}render(){return this.props.dataSource?this.renderWithDataBinding():this.renderView()}static registerPatternHandlers(e){}}es.tagName="";es.version="";let Fi=class extends Ft{};R([L(),N({field_type:O.TEXT,label:"ID",description:"Unique identifier for the action",placeholder:"action-id"}),te(),la(),z("design:type",String)],Fi.prototype,"id",void 0);R([L(),N({field_type:O.TEXT,label:"Label",description:"Display label for the action button",placeholder:"Action label"}),te(),z("design:type",String)],Fi.prototype,"label",void 0);R([L(),N({field_type:O.TEXT,label:"Icon",description:"Icon component or JSX element",placeholder:"icon-name"}),F(),te(),z("design:type",String)],Fi.prototype,"icon",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Disabled",description:"Whether this action is disabled"}),F(),gt(),z("design:type",Boolean)],Fi.prototype,"disabled",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Destructive",description:"Whether this action is destructive (shows with warning styling)"}),F(),gt(),z("design:type",Boolean)],Fi.prototype,"destructive",void 0);R([L(),N({field_type:O.NUMBER,label:"Priority",description:"Priority for ordering (lower numbers = higher priority)",validation:{min:1,max:100}}),F(),Qt(),yn(1),Za(100),z("design:type",Number)],Fi.prototype,"priority",void 0);Fi=R([bt("HeaderAction","1.0.0")],Fi);let Er=class extends Ft{};R([L(),N({field_type:O.IMAGE,label:"Image",description:"Image URL or component",placeholder:"Upload image"}),F(),te(),z("design:type",String)],Er.prototype,"image",void 0);R([L(),N({field_type:O.TEXT,label:"Image Alt Text",description:"Alternative text for image",placeholder:"Descriptive alt text..."}),F(),te(),z("design:type",String)],Er.prototype,"imageAlt",void 0);R([L(),N({field_type:O.SELECT,label:"Image Size",description:"Size of the image",validation:{options:[{label:"Small",value:"small"},{label:"Medium",value:"medium"},{label:"Large",value:"large"}]}}),F(),Re(["small","medium","large"]),z("design:type",String)],Er.prototype,"imageSize",void 0);R([L(),N({field_type:O.SELECT,label:"Image Shape",description:"Shape of the image",validation:{options:[{label:"Square",value:"square"},{label:"Circle",value:"circle"},{label:"Rounded",value:"rounded"}]}}),F(),Re(["square","circle","rounded"]),z("design:type",String)],Er.prototype,"imageShape",void 0);R([L({defaultValue:"transparent"}),N({field_type:O.COLOR,label:"Image Background",description:"Image background color",placeholder:"Pick a color for the image background"}),F(),te(),z("design:type",String)],Er.prototype,"imageBackgroundColor",void 0);R([L(),N({field_type:O.TEXT,label:"Overline",description:"Small text above the main title",placeholder:"Overline text"}),F(),te(),z("design:type",String)],Er.prototype,"overline",void 0);R([L(),N({field_type:O.TEXT,label:"Title",description:"Main heading/title text",placeholder:"Enter title..."}),te(),z("design:type",String)],Er.prototype,"title",void 0);R([L(),N({field_type:O.TEXT,label:"Subtitle",description:"Secondary text below the title",placeholder:"Enter subtitle..."}),F(),te(),z("design:type",String)],Er.prototype,"subtitle",void 0);R([L(),N({field_type:O.REPEATER,label:"Tags",description:"Array of tag strings"}),F(),kr(),te({each:!0}),z("design:type",Array)],Er.prototype,"tags",void 0);R([L(),N({field_type:O.REPEATER,label:"Actions",description:"Array of header action buttons"}),F(),kr(),gn({each:!0}),vn(()=>Fi),z("design:type",Array)],Er.prototype,"actions",void 0);R([L(),N({field_type:O.NUMBER,label:"Max Visible Actions",description:"Maximum visible actions before overflow",validation:{min:1,max:10}}),F(),Qt(),yn(1),Za(10),z("design:type",Number)],Er.prototype,"maxVisibleActions",void 0);R([L(),N({field_type:O.TEXT,label:"CSS Class",description:"Additional CSS class name",placeholder:"custom-class"}),F(),te(),z("design:type",String)],Er.prototype,"className",void 0);R([L(),N({field_type:O.SELECT,label:"Header Variant",description:"Style variant for the header",validation:{options:[{label:"Default",value:"default"},{label:"Compact",value:"compact"},{label:"Prominent",value:"prominent"}]}}),F(),Re(["default","compact","prominent"]),z("design:type",String)],Er.prototype,"variant",void 0);R([L({defaultValue:"--var(--theme-primary)"}),N({field_type:O.TEXT,label:"Background",description:"Background color or image URL",placeholder:"Pick a color for the background or enter a image URL"}),F(),te(),z("design:type",String)],Er.prototype,"background",void 0);R([L({defaultValue:"--var(--theme-on-primary)"}),N({field_type:O.COLOR,label:"Color",description:"Foreground color",placeholder:"#000000"}),F(),te(),z("design:type",String)],Er.prototype,"color",void 0);Er=R([bt("CoverImageHeader","1.0.0")],Er);var K9=Er;function $w({image:t,imageAlt:e="",imageSize:r="medium",imageShape:n="rounded",imageBackgroundColor:i="transparent",overline:s,title:l,subtitle:c,tags:d=[],actions:p=[],maxVisibleActions:m=3,variant:v="default",background:g,color:y,...w}){const{gridProps:x,styleProps:C,htmlProps:P}=Vr(w),[k,_]=T.useState(null),E=!!k,A=[...p].sort((Z,Q)=>(Z.priority||999)-(Q.priority||999)),I=A.slice(0,m),D=A.slice(m),$=Z=>{_(Z.currentTarget)},U=()=>{_(null)},X=()=>{switch(r){case"small":return 48;case"large":return 80;default:return 64}},H=()=>{switch(n){case"circle":return"circular";case"square":return"square";default:return"rounded"}},M=()=>{if(!t)return null;const Z=X();return typeof t=="string"?h.jsx(Mx,{src:t,alt:e,variant:H(),sx:{width:Z,height:Z}}):h.jsx(Mx,{variant:H(),sx:{width:Z,height:Z,backgroundColor:i||"transparent"},children:t})},W=()=>d.length===0?null:h.jsx(Ce,{sx:{display:"flex",flexWrap:"wrap",gap:.5,mt:.5},children:d.map((Z,Q)=>h.jsx(Ni,{label:Z,size:"small",color:"primary",sx:{fontSize:"0.75rem",height:"24px"}},Q))}),G=()=>p.length===0?null:h.jsxs(Ce,{sx:{display:"flex",alignItems:"flex-start",gap:.5},children:[I.map(Z=>h.jsx(qc,{variant:"outlined",size:"small",startIcon:Z.icon,onClick:Z.onClick,disabled:Z.disabled,color:Z.destructive?"error":"primary",sx:{minHeight:36,whiteSpace:"nowrap","& .MuiButton-startIcon":{mr:.5}},children:Z.label},Z.id)),D.length>0&&h.jsxs(h.Fragment,{children:[h.jsx(Ar,{size:"small",onClick:$,"aria-label":"More actions",color:"info",sx:{minHeight:36,minWidth:36},children:h.jsx(S8,{})}),h.jsx(Tf,{anchorEl:k,open:E,onClose:U,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:D.map(Z=>h.jsxs(Dr,{onClick:()=>{Z.onClick(),U()},disabled:Z.disabled,sx:{color:Z.destructive?"error.main":"inherit",gap:1.5,minWidth:200},children:[Z.icon&&h.jsx(Ce,{component:"span",sx:{display:"flex"},children:Z.icon}),Z.label]},Z.id))})]})]}),B=()=>{switch(v){case"compact":return 2;case"prominent":return 3;default:return 2.5}},V=()=>{switch(v){case"compact":return 1.5;case"prominent":return 2;default:return 2}},K=()=>{switch(v){case"default":return 0;case"compact":return 1;case"prominent":return 1;default:return 0}},J=g?{background:g.startsWith("http")||g.startsWith("data:")?`linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url(${g})`:g,backgroundSize:"cover",backgroundPosition:"center"}:{background:"-var(--theme-primary)"};return h.jsx(Rr,{component:"header",...P,...x&&{"data-grid-span":x.span,"data-grid-xs":x.xs,"data-grid-sm":x.sm,"data-grid-md":x.md,"data-grid-lg":x.lg,"data-grid-xl":x.xl},sx:{p:B(),borderRadius:K()>0?2:0,...J,color:g?"white":"inherit",...C.sx},elevation:K(),children:h.jsxs(Ce,{sx:{display:"flex",alignItems:v==="prominent"?"center":"flex-start",gap:V(),flexWrap:{xs:"wrap",sm:"nowrap"},minHeight:v==="prominent"?120:"auto"},children:[M(),h.jsxs(Ce,{sx:{flex:1,minWidth:0},children:[s&&h.jsx(Te,{variant:"overline",color:y||"--var(--theme-on-primary)",sx:{display:"block",fontSize:"0.75rem",fontWeight:600,lineHeight:1.2,mb:.25},children:s}),h.jsx(Te,{variant:"h5",component:"h1",sx:{fontWeight:600,lineHeight:1.3,wordBreak:"break-word",mb:c?.25:0},children:l}),c&&h.jsx(Te,{variant:"body2",color:y||"--var(--theme-on-primary)",sx:{lineHeight:1.4,mb:(d.length>0,0)},children:c}),W()]}),h.jsx(Ce,{sx:{flexShrink:0,width:{xs:"100%",sm:"auto"},display:"flex",justifyContent:{xs:"flex-end",sm:"flex-start"},mt:{xs:1,sm:0}},children:G()})]})})}function Q9(){return h.jsxs(Rr,{variant:"outlined",sx:{p:3,textAlign:"center"},children:[h.jsx(Te,{variant:"body2",children:"Loading Cover Image Header..."}),h.jsx(Te,{variant:"caption",color:"text.secondary",children:"Loading header content from data source..."})]})}function Y9(){return h.jsx(Rr,{variant:"outlined",sx:{p:3,textAlign:"center",borderColor:"error.main"},children:h.jsx(Te,{variant:"body2",color:"error",children:"Error loading cover image header"})})}function J9(t){const{dataSource:e,bindingOptions:r,...n}=t,i=Xi(e||"",n,K9.getSchema(),{...r});if(!e)return h.jsx($w,{...n});const{loading:s,error:l,...c}=i;if(s)return h.jsx(Q9,{});if(l)return console.error("Error loading cover image header:",l),h.jsx(Y9,{});const{actions:d,...p}=c,m=d?d.filter(v=>typeof v.id=="string"&&!!v.id).map(v=>({...v,id:v.id,onClick:()=>console.debug(`Action clicked: ${v.id}`)})):[];return h.jsx($w,{...p,actions:m})}let Hr=class extends Ft{};R([L({defaultValue:"Qwick Apps",dataType:Ge.STRING}),N({field_type:O.TEXT,label:"Logo Name/Text",description:"Logo name/text to display. Supports up to TWO parts with \\n for line breaks and \\s for explicit spaces.",placeholder:'Enter logo text (e.g., "Qwick Apps", "Qwick\\nApps")'}),F(),te(),z("design:type",String)],Hr.prototype,"name",void 0);R([L({defaultValue:"default",dataType:Ge.STRING}),N({field_type:O.SELECT,label:"Visual Variant",description:"Visual style variant of the logo",validation:{options:[{label:"Default",value:"default"},{label:"High Contrast",value:"high-contrast"},{label:"Monochrome",value:"monochrome"},{label:"On Primary Background",value:"on-primary"}]}}),F(),te(),Re(["default","high-contrast","monochrome","on-primary"]),z("design:type",String)],Hr.prototype,"variant",void 0);R([L({defaultValue:"medium",dataType:Ge.STRING}),N({field_type:O.SELECT,label:"Size",description:"Size variant of the logo (controls both text size and visual height)",validation:{options:[{label:"Tiny (16px)",value:"tiny"},{label:"Small (20px)",value:"small"},{label:"Medium (28px)",value:"medium"},{label:"Large (36px)",value:"large"},{label:"Extra Large (48px)",value:"extra-large"}]}}),F(),te(),Re(["tiny","small","medium","large","extra-large"]),z("design:type",String)],Hr.prototype,"size",void 0);R([L({defaultValue:"top-right",dataType:Ge.STRING}),N({field_type:O.SELECT,label:"Badge Position",description:'Badge position and visibility. "none" hides the badge, others show it at the specified position.',validation:{options:[{label:"None (Hidden)",value:"none"},{label:"Top Left",value:"top-left"},{label:"Top Center",value:"top-center"},{label:"Top Right",value:"top-right"},{label:"Start (Left Center)",value:"start"},{label:"Center",value:"center"},{label:"End (Right Center)",value:"end"},{label:"Bottom Left",value:"bottom-left"},{label:"Bottom Center",value:"bottom-center"},{label:"Bottom Right",value:"bottom-right"}]}}),F(),te(),Re(["none","top-left","top-center","top-right","start","center","end","bottom-left","bottom-center","bottom-right"]),z("design:type",String)],Hr.prototype,"badge",void 0);R([L({defaultValue:"circle",dataType:Ge.STRING}),N({field_type:O.SELECT,label:"Badge Shape",description:"Shape of the badge when visible",validation:{options:[{label:"Circle",value:"circle"},{label:"Star",value:"star"},{label:"Square",value:"square"},{label:"Heart",value:"heart"}]}}),F(),te(),Re(["circle","star","square","heart"]),z("design:type",String)],Hr.prototype,"badgeShape",void 0);R([L({dataType:Ge.NUMBER}),N({field_type:O.NUMBER,label:"Badge Offset X",description:"Horizontal offset from calculated badge position (positive = right, negative = left)",placeholder:"0"}),F(),Qt(),z("design:type",Number)],Hr.prototype,"badgeOffsetX",void 0);R([L({dataType:Ge.NUMBER}),N({field_type:O.NUMBER,label:"Badge Offset Y",description:"Vertical offset from calculated badge position (positive = down, negative = up)",placeholder:"0"}),F(),Qt(),z("design:type",Number)],Hr.prototype,"badgeOffsetY",void 0);R([L({defaultValue:"Segoe UI, sans-serif",dataType:Ge.STRING}),N({field_type:O.TEXT,label:"Font Family",description:"Font family for the logo text",placeholder:"Segoe UI, sans-serif"}),F(),te(),z("design:type",String)],Hr.prototype,"fontFamily",void 0);R([L({defaultValue:"bold",dataType:Ge.STRING}),N({field_type:O.TEXT,label:"Font Weight",description:"Font weight for the logo text",placeholder:"bold"}),F(),te(),z("design:type",String)],Hr.prototype,"fontWeight",void 0);R([L({defaultValue:"logo-first-part",dataType:Ge.STRING}),N({field_type:O.TEXT,label:"First Part CSS Class",description:"CSS class name for the first part of the logo text",placeholder:"logo-first-part"}),F(),te(),z("design:type",String)],Hr.prototype,"firstPartClass",void 0);R([L({defaultValue:"logo-second-part",dataType:Ge.STRING}),N({field_type:O.TEXT,label:"Second Part CSS Class",description:"CSS class name for the second part of the logo text",placeholder:"logo-second-part"}),F(),te(),z("design:type",String)],Hr.prototype,"secondPartClass",void 0);R([L({dataType:Ge.STRING}),N({field_type:O.IMAGE,label:"Logo Image",description:"Optional image to display alongside the logo text (ReactNode or image path)",placeholder:"Image path or React component"}),F(),z("design:type",Object)],Hr.prototype,"image",void 0);R([L({defaultValue:"start",dataType:Ge.STRING}),N({field_type:O.SELECT,label:"Image Position",description:"Position of the image relative to the logo text",validation:{options:[{label:"None (Hidden)",value:"none"},{label:"Top Left",value:"top-left"},{label:"Top Center",value:"top-center"},{label:"Top Right",value:"top-right"},{label:"Start (Left)",value:"start"},{label:"Center",value:"center"},{label:"End (Right)",value:"end"},{label:"Bottom Left",value:"bottom-left"},{label:"Bottom Center",value:"bottom-center"},{label:"Bottom Right",value:"bottom-right"}]}}),F(),te(),Re(["none","top-left","top-center","top-right","start","center","end","bottom-left","bottom-center","bottom-right"]),z("design:type",String)],Hr.prototype,"imagePosition",void 0);Hr=R([bt("Logo","1.0.0")],Hr);var Z9=Hr;function zw({name:t="Qwick Apps",variant:e="default",size:r="medium",badge:n="top-right",badgeShape:i="circle",badgeOffsetX:s,badgeOffsetY:l,fontFamily:c="Segoe UI, sans-serif",fontWeight:d="bold",firstPartClass:p="logo-first-part",secondPartClass:m="logo-second-part",image:v,imagePosition:g="start",onClick:y,style:w,className:x,...C}){const{styleProps:P,htmlProps:k}=Vr(C),_=T.useMemo(()=>s!==void 0||l!==void 0?{x:s,y:l}:void 0,[s,l]),E=T.useRef(null),[A,I]=T.useState({x:155,y:20}),[D,$]=T.useState(180),U=T.useCallback(oe=>{if(oe.includes("\\n")){const[ee,...pe]=oe.split("\\n");return{firstPart:ee.replace(/\\s/g," "),secondPart:pe.join("\\n").replace(/\\s/g," "),isNewLine:!0}}if(oe.includes("\\s")){const ee=oe.split("\\s");return ee.length>=2?{firstPart:ee[0],secondPart:ee.slice(1).join(" "),isNewLine:!1}:{firstPart:ee[0],secondPart:"",isNewLine:!1}}const ie=oe.trim().split(/\s+/);return ie.length===1?{firstPart:ie[0],secondPart:"",isNewLine:!1}:ie.length===2?{firstPart:ie[0],secondPart:ie[1],isNewLine:!1}:{firstPart:ie.slice(0,-1).join(" "),secondPart:ie[ie.length-1],isNewLine:!1}},[]),{firstPart:X,secondPart:H,isNewLine:M}=U(t),W=t.includes("\\s"),G=`logo-${r}`,B=(oe,ie)=>{const ee={tiny:{fontSize:16,height:32},small:{fontSize:20,height:40},medium:{fontSize:28,height:50},large:{fontSize:36,height:64},"extra-large":{fontSize:48,height:84}},pe=ee[oe]||ee.medium;return ie&&(pe.height+=Math.round(pe.fontSize*1.4)),pe},{fontSize:V,height:K}=B(r,M),J=T.useCallback(oe=>{const ie=V/28,ee=8*ie,pe=((_==null?void 0:_.x)??0)*ie,ve=((_==null?void 0:_.y)??0)*ie;let xe,se;switch(n){case"top-left":xe=oe.x-ee,se=oe.y+ee;break;case"top-center":xe=oe.x+oe.width/2,se=oe.y+ee;break;case"top-right":xe=oe.x+oe.width+ee,se=oe.y+ee;break;case"start":xe=oe.x-ee,se=oe.y+oe.height/2;break;case"center":xe=oe.x+oe.width/2,se=oe.y+oe.height/2;break;case"end":xe=oe.x+oe.width+ee,se=oe.y+oe.height/2;break;case"bottom-left":xe=oe.x-ee,se=oe.y+oe.height-ee;break;case"bottom-center":xe=oe.x+oe.width/2,se=oe.y+oe.height-ee;break;case"bottom-right":xe=oe.x+oe.width+ee,se=oe.y+oe.height-ee;break;default:xe=oe.x+oe.width+ee,se=oe.y+ee;break}return{x:xe+pe,y:se+ve}},[n,_,V]);T.useEffect(()=>{if(E.current){const oe=E.current.getBBox(),ie=J(oe),ee=Math.max(180,oe.x+oe.width+20);I(ie),$(ee)}},[t,n,_,J,V,K,U,D]);let Z="";e==="high-contrast"||e==="monochrome"||e==="on-primary"?Z=`logo-${e}`:e!=="default"?Z=`logo-${e}`:Z="logo-default";const Q=`${t} Logo`,q=()=>{if(n==="none")return null;const oe={className:`logo-badge logo-badge-${i}`},{x:ie,y:ee}=A,pe=V/28,ve=5*pe,xe=10*pe;switch(i){case"circle":return h.jsx("circle",{cx:ie,cy:ee,r:ve,...oe,children:h.jsx("animate",{attributeName:"r",values:`${ve};${ve+1};${ve}`,dur:"1.5s",repeatCount:"indefinite"})});case"star":{const se=pe;return h.jsx("polygon",{points:`${ie},${ee-5*se} ${ie+2*se},${ee} ${ie+7*se},${ee} ${ie+3*se},${ee+3*se} ${ie+5*se},${ee+8*se} ${ie},${ee+5*se} ${ie-5*se},${ee+8*se} ${ie-3*se},${ee+3*se} ${ie-7*se},${ee} ${ie-2*se},${ee}`,...oe,children:h.jsx("animate",{attributeName:"opacity",values:"0.8;1;0.8",dur:"1.5s",repeatCount:"indefinite"})})}case"square":return h.jsx("rect",{x:ie-ve,y:ee-ve,width:xe,height:xe,...oe,children:h.jsx("animate",{attributeName:"opacity",values:"0.8;1;0.8",dur:"1.5s",repeatCount:"indefinite"})});case"heart":{const se=pe;return h.jsx("path",{d:`M${ie},${ee+6*se} C${ie},${ee+6*se} ${ie-7*se},${ee} ${ie-7*se},${ee-4*se} C${ie-7*se},${ee-6*se} ${ie-5*se},${ee-8*se} ${ie-3*se},${ee-8*se} C${ie-2*se},${ee-8*se} ${ie},${ee-7*se} ${ie},${ee-5*se} C${ie},${ee-7*se} ${ie+2*se},${ee-8*se} ${ie+3*se},${ee-8*se} C${ie+5*se},${ee-8*se} ${ie+7*se},${ee-6*se} ${ie+7*se},${ee-4*se} C${ie+7*se},${ee} ${ie},${ee+6*se} ${ie},${ee+6*se} Z`,...oe,children:h.jsx("animate",{attributeName:"fill-opacity",values:"0.7;1;0.7",dur:"1.5s",repeatCount:"indefinite"})})}default:return h.jsx("circle",{cx:ie,cy:ee,r:ve,...oe,children:h.jsx("animate",{attributeName:"r",values:`${ve};${ve+1};${ve}`,dur:"1.5s",repeatCount:"indefinite"})})}},ne=()=>{if(!v||g==="none")return null;if(typeof v=="string"){const oe=V;return h.jsx("img",{src:v,alt:"",style:{width:oe,height:oe,objectFit:"contain"},className:"logo-image"})}return h.jsx("div",{className:"logo-image-container",style:{display:"flex",alignItems:"center",justifyContent:"center"},children:v})};return(()=>{const oe=h.jsxs("svg",{width:D,height:K,viewBox:`0 0 ${D} ${K}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:`logo-svg dynamic-logo ${G} ${Z}`.trim(),style:{height:`${K}px`,...w},role:"img","aria-label":Q,children:[h.jsxs("text",{ref:E,fontFamily:c,fontSize:V,fontWeight:d,children:[h.jsx("tspan",{x:"15",y:M?K*.4:K*.7,className:p,children:X}),H&&h.jsx("tspan",{x:M?"15":void 0,dy:M?V*1.2:void 0,className:m,children:M?H:W?` ${H}`:H})]}),q()]}),ie=ne();if(!ie)return oe;const ee={display:"flex",alignItems:"center",gap:"8px"};let pe="logo-container";switch(g){case"start":ee.flexDirection="row",pe+=" logo-image-start";break;case"end":ee.flexDirection="row-reverse",pe+=" logo-image-end";break;case"top-center":ee.flexDirection="column",pe+=" logo-image-top";break;case"bottom-center":ee.flexDirection="column-reverse",pe+=" logo-image-bottom";break;default:ee.flexDirection="row",pe+=" logo-image-start";break}return h.jsxs("div",{...k,...P,className:`${pe} ${x||""}`.trim(),style:{...ee,cursor:y?"pointer":"default",...w},onClick:y,children:[ie,oe]})})()}function Af(t){const{dataSource:e,bindingOptions:r,...n}=t,i=Xi(e||"",{initialData:n,schema:Z9.getSchema(),cache:!0,cacheTTL:3e5,strict:!1,...r});if(!e)return h.jsx(zw,{...n});const{loading:s,error:l,...c}=i;return s?h.jsx("div",{style:{opacity:.5,textAlign:"center",padding:"16px"},children:"Loading logo..."}):l?h.jsxs("div",{style:{color:"red",textAlign:"center",padding:"16px"},children:["Error loading logo: ",l.message]}):h.jsx(zw,{...c})}Object.defineProperty(Af,Jr,{value:!0,enumerable:!1,configurable:!0});const e7=({title:t,subtitle:e,coverImage:r})=>{const{appName:n}=Jy(),i=r||h.jsx(Af,{name:n||"Qwick Apps",size:"medium",variant:"default"});return h.jsx(J9,{image:i,imageSize:"medium",imageShape:"square",title:t||"Welcome",subtitle:e,variant:"default"})};function GC({header:t,title:e,description:r,coverImage:n,children:i,footer:s,status:l,message:c,maxWidth:d="sm",background:p="--theme-surface",backgroundImage:m,...v}){const{styleProps:g,htmlProps:y}=Vr(v),w=Yn();if(!i)return h.jsx(Rr,{...y,...g,variant:"outlined",sx:{p:3,textAlign:"center",opacity:.6,...g.sx},children:h.jsx(Te,{variant:"body2",color:"text.secondary",children:"No form content provided"})});const x=()=>{switch(p){case"gradient":return{background:`linear-gradient(135deg, ${w.palette.primary.main} 0%, ${w.palette.secondary.main} 100%)`};case"image":return m?{backgroundImage:`linear-gradient(${w.palette.action.hover}, ${w.palette.action.hover}), url(${m})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}:{};default:return{backgroundColor:w.palette.background.default}}};return h.jsx(Ce,{...y,...g,className:`${g.className||""}`,sx:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",py:3,...x(),...g.sx},children:h.jsx(Np,{maxWidth:d,children:h.jsxs(rr,{elevation:p==="default"?1:8,sx:{borderRadius:3,overflow:"hidden",backgroundColor:p==="default"?w.palette.background.paper:w.palette.mode==="dark"?"rgba(18, 18, 18, 0.95)":"rgba(255, 255, 255, 0.95)",backdropFilter:p!=="default"?"blur(10px)":"none"},children:[t||e||r?t||h.jsx(e7,{title:e,subtitle:r,coverImage:n}):null,h.jsxs(or,{sx:{p:{xs:3,sm:4,md:5}},children:[l&&c&&h.jsx(Qa,{severity:l,sx:{mb:3},variant:"outlined",children:c}),h.jsx(Ce,{sx:{mb:s?3:0},children:i}),s&&h.jsx(Ce,{sx:{textAlign:"center"},children:s})]})]})})})}class xl extends es{static fromJson(e){return h.jsx(xl,{...e})}hasNestedComponents(e){return!0}serializeChildren(e){var r;if(pt.isValidElement(e)&&((r=e.type.prototype)!=null&&r.toJson)){const n=e.type;return n.fromJson?{component:n.tagName,props:e.props}:e}return super.serializeChildren(e)}getComponentSpecificProps(){return{title:this.props.title,description:this.props.description,status:this.props.status,message:this.props.message,maxWidth:this.props.maxWidth,background:this.props.background,backgroundImage:this.props.backgroundImage}}renderView(){const{dataSource:e,bindingOptions:r,...n}=this.props;return h.jsx(GC,{...n})}renderWithDataBinding(){return h.jsx(t7,{...this.props})}}xl.tagName="FormBlock";xl.version="1.0.0";function t7(t){const{dataSource:e,bindingOptions:r,...n}=t,{loading:i,error:s,...l}=Xi(e,n,q9.getSchema(),{...r});return i?h.jsxs(Rr,{variant:"outlined",sx:{p:3,textAlign:"center"},children:[h.jsx(Te,{variant:"body2",children:"Loading Form..."}),h.jsx(Te,{variant:"caption",color:"text.secondary",children:"Loading form content from data source..."})]}):s?(console.error("Error loading form block:",s),h.jsx(Rr,{variant:"outlined",sx:{p:3,textAlign:"center",borderColor:"error.main"},children:h.jsxs(Te,{variant:"body2",color:"error",children:["Error loading form: ",s.message]})})):h.jsx(GC,{...l})}xl[Jr]=!0;var ut=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function r7(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function n7(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var XC={},Yc={},Zy={},Jc={},e0={};Object.defineProperty(e0,"__esModule",{value:!0});e0.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(t){return t.charCodeAt(0)}));var t0={};Object.defineProperty(t0,"__esModule",{value:!0});t0.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(t){return t.charCodeAt(0)}));var $g={};(function(t){var e;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var r=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);t.fromCodePoint=(e=String.fromCodePoint)!==null&&e!==void 0?e:function(s){var l="";return s>65535&&(s-=65536,l+=String.fromCharCode(s>>>10&1023|55296),s=56320|s&1023),l+=String.fromCharCode(s),l};function n(s){var l;return s>=55296&&s<=57343||s>1114111?65533:(l=r.get(s))!==null&&l!==void 0?l:s}t.replaceCodePoint=n;function i(s){return(0,t.fromCodePoint)(n(s))}t.default=i})($g);(function(t){var e=ut&&ut.__createBinding||(Object.create?(function(H,M,W,G){G===void 0&&(G=W);var B=Object.getOwnPropertyDescriptor(M,W);(!B||("get"in B?!M.__esModule:B.writable||B.configurable))&&(B={enumerable:!0,get:function(){return M[W]}}),Object.defineProperty(H,G,B)}):(function(H,M,W,G){G===void 0&&(G=W),H[G]=M[W]})),r=ut&&ut.__setModuleDefault||(Object.create?(function(H,M){Object.defineProperty(H,"default",{enumerable:!0,value:M})}):function(H,M){H.default=M}),n=ut&&ut.__importStar||function(H){if(H&&H.__esModule)return H;var M={};if(H!=null)for(var W in H)W!=="default"&&Object.prototype.hasOwnProperty.call(H,W)&&e(M,H,W);return r(M,H),M},i=ut&&ut.__importDefault||function(H){return H&&H.__esModule?H:{default:H}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var s=i(e0);t.htmlDecodeTree=s.default;var l=i(t0);t.xmlDecodeTree=l.default;var c=n($g);t.decodeCodePoint=c.default;var d=$g;Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return d.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return d.fromCodePoint}});var p;(function(H){H[H.NUM=35]="NUM",H[H.SEMI=59]="SEMI",H[H.EQUALS=61]="EQUALS",H[H.ZERO=48]="ZERO",H[H.NINE=57]="NINE",H[H.LOWER_A=97]="LOWER_A",H[H.LOWER_F=102]="LOWER_F",H[H.LOWER_X=120]="LOWER_X",H[H.LOWER_Z=122]="LOWER_Z",H[H.UPPER_A=65]="UPPER_A",H[H.UPPER_F=70]="UPPER_F",H[H.UPPER_Z=90]="UPPER_Z"})(p||(p={}));var m=32,v;(function(H){H[H.VALUE_LENGTH=49152]="VALUE_LENGTH",H[H.BRANCH_LENGTH=16256]="BRANCH_LENGTH",H[H.JUMP_TABLE=127]="JUMP_TABLE"})(v=t.BinTrieFlags||(t.BinTrieFlags={}));function g(H){return H>=p.ZERO&&H<=p.NINE}function y(H){return H>=p.UPPER_A&&H<=p.UPPER_F||H>=p.LOWER_A&&H<=p.LOWER_F}function w(H){return H>=p.UPPER_A&&H<=p.UPPER_Z||H>=p.LOWER_A&&H<=p.LOWER_Z||g(H)}function x(H){return H===p.EQUALS||w(H)}var C;(function(H){H[H.EntityStart=0]="EntityStart",H[H.NumericStart=1]="NumericStart",H[H.NumericDecimal=2]="NumericDecimal",H[H.NumericHex=3]="NumericHex",H[H.NamedEntity=4]="NamedEntity"})(C||(C={}));var P;(function(H){H[H.Legacy=0]="Legacy",H[H.Strict=1]="Strict",H[H.Attribute=2]="Attribute"})(P=t.DecodingMode||(t.DecodingMode={}));var k=(function(){function H(M,W,G){this.decodeTree=M,this.emitCodePoint=W,this.errors=G,this.state=C.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=P.Strict}return H.prototype.startEntity=function(M){this.decodeMode=M,this.state=C.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},H.prototype.write=function(M,W){switch(this.state){case C.EntityStart:return M.charCodeAt(W)===p.NUM?(this.state=C.NumericStart,this.consumed+=1,this.stateNumericStart(M,W+1)):(this.state=C.NamedEntity,this.stateNamedEntity(M,W));case C.NumericStart:return this.stateNumericStart(M,W);case C.NumericDecimal:return this.stateNumericDecimal(M,W);case C.NumericHex:return this.stateNumericHex(M,W);case C.NamedEntity:return this.stateNamedEntity(M,W)}},H.prototype.stateNumericStart=function(M,W){return W>=M.length?-1:(M.charCodeAt(W)|m)===p.LOWER_X?(this.state=C.NumericHex,this.consumed+=1,this.stateNumericHex(M,W+1)):(this.state=C.NumericDecimal,this.stateNumericDecimal(M,W))},H.prototype.addToNumericResult=function(M,W,G,B){if(W!==G){var V=G-W;this.result=this.result*Math.pow(B,V)+parseInt(M.substr(W,V),B),this.consumed+=V}},H.prototype.stateNumericHex=function(M,W){for(var G=W;W<M.length;){var B=M.charCodeAt(W);if(g(B)||y(B))W+=1;else return this.addToNumericResult(M,G,W,16),this.emitNumericEntity(B,3)}return this.addToNumericResult(M,G,W,16),-1},H.prototype.stateNumericDecimal=function(M,W){for(var G=W;W<M.length;){var B=M.charCodeAt(W);if(g(B))W+=1;else return this.addToNumericResult(M,G,W,10),this.emitNumericEntity(B,2)}return this.addToNumericResult(M,G,W,10),-1},H.prototype.emitNumericEntity=function(M,W){var G;if(this.consumed<=W)return(G=this.errors)===null||G===void 0||G.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(M===p.SEMI)this.consumed+=1;else if(this.decodeMode===P.Strict)return 0;return this.emitCodePoint((0,c.replaceCodePoint)(this.result),this.consumed),this.errors&&(M!==p.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},H.prototype.stateNamedEntity=function(M,W){for(var G=this.decodeTree,B=G[this.treeIndex],V=(B&v.VALUE_LENGTH)>>14;W<M.length;W++,this.excess++){var K=M.charCodeAt(W);if(this.treeIndex=E(G,B,this.treeIndex+Math.max(1,V),K),this.treeIndex<0)return this.result===0||this.decodeMode===P.Attribute&&(V===0||x(K))?0:this.emitNotTerminatedNamedEntity();if(B=G[this.treeIndex],V=(B&v.VALUE_LENGTH)>>14,V!==0){if(K===p.SEMI)return this.emitNamedEntityData(this.treeIndex,V,this.consumed+this.excess);this.decodeMode!==P.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},H.prototype.emitNotTerminatedNamedEntity=function(){var M,W=this,G=W.result,B=W.decodeTree,V=(B[G]&v.VALUE_LENGTH)>>14;return this.emitNamedEntityData(G,V,this.consumed),(M=this.errors)===null||M===void 0||M.missingSemicolonAfterCharacterReference(),this.consumed},H.prototype.emitNamedEntityData=function(M,W,G){var B=this.decodeTree;return this.emitCodePoint(W===1?B[M]&~v.VALUE_LENGTH:B[M+1],G),W===3&&this.emitCodePoint(B[M+2],G),G},H.prototype.end=function(){var M;switch(this.state){case C.NamedEntity:return this.result!==0&&(this.decodeMode!==P.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case C.NumericDecimal:return this.emitNumericEntity(0,2);case C.NumericHex:return this.emitNumericEntity(0,3);case C.NumericStart:return(M=this.errors)===null||M===void 0||M.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case C.EntityStart:return 0}},H})();t.EntityDecoder=k;function _(H){var M="",W=new k(H,function(G){return M+=(0,c.fromCodePoint)(G)});return function(B,V){for(var K=0,J=0;(J=B.indexOf("&",J))>=0;){M+=B.slice(K,J),W.startEntity(V);var Z=W.write(B,J+1);if(Z<0){K=J+W.end();break}K=J+Z,J=Z===0?K+1:K}var Q=M+B.slice(K);return M="",Q}}function E(H,M,W,G){var B=(M&v.BRANCH_LENGTH)>>7,V=M&v.JUMP_TABLE;if(B===0)return V!==0&&G===V?W:-1;if(V){var K=G-V;return K<0||K>=B?-1:H[W+K]-1}for(var J=W,Z=J+B-1;J<=Z;){var Q=J+Z>>>1,q=H[Q];if(q<G)J=Q+1;else if(q>G)Z=Q-1;else return H[Q+B]}return-1}t.determineBranch=E;var A=_(s.default),I=_(l.default);function D(H,M){return M===void 0&&(M=P.Legacy),A(H,M)}t.decodeHTML=D;function $(H){return A(H,P.Attribute)}t.decodeHTMLAttribute=$;function U(H){return A(H,P.Strict)}t.decodeHTMLStrict=U;function X(H){return I(H,P.Strict)}t.decodeXML=X})(Jc);(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var e=Jc,r;(function(g){g[g.Tab=9]="Tab",g[g.NewLine=10]="NewLine",g[g.FormFeed=12]="FormFeed",g[g.CarriageReturn=13]="CarriageReturn",g[g.Space=32]="Space",g[g.ExclamationMark=33]="ExclamationMark",g[g.Number=35]="Number",g[g.Amp=38]="Amp",g[g.SingleQuote=39]="SingleQuote",g[g.DoubleQuote=34]="DoubleQuote",g[g.Dash=45]="Dash",g[g.Slash=47]="Slash",g[g.Zero=48]="Zero",g[g.Nine=57]="Nine",g[g.Semi=59]="Semi",g[g.Lt=60]="Lt",g[g.Eq=61]="Eq",g[g.Gt=62]="Gt",g[g.Questionmark=63]="Questionmark",g[g.UpperA=65]="UpperA",g[g.LowerA=97]="LowerA",g[g.UpperF=70]="UpperF",g[g.LowerF=102]="LowerF",g[g.UpperZ=90]="UpperZ",g[g.LowerZ=122]="LowerZ",g[g.LowerX=120]="LowerX",g[g.OpeningSquareBracket=91]="OpeningSquareBracket"})(r||(r={}));var n;(function(g){g[g.Text=1]="Text",g[g.BeforeTagName=2]="BeforeTagName",g[g.InTagName=3]="InTagName",g[g.InSelfClosingTag=4]="InSelfClosingTag",g[g.BeforeClosingTagName=5]="BeforeClosingTagName",g[g.InClosingTagName=6]="InClosingTagName",g[g.AfterClosingTagName=7]="AfterClosingTagName",g[g.BeforeAttributeName=8]="BeforeAttributeName",g[g.InAttributeName=9]="InAttributeName",g[g.AfterAttributeName=10]="AfterAttributeName",g[g.BeforeAttributeValue=11]="BeforeAttributeValue",g[g.InAttributeValueDq=12]="InAttributeValueDq",g[g.InAttributeValueSq=13]="InAttributeValueSq",g[g.InAttributeValueNq=14]="InAttributeValueNq",g[g.BeforeDeclaration=15]="BeforeDeclaration",g[g.InDeclaration=16]="InDeclaration",g[g.InProcessingInstruction=17]="InProcessingInstruction",g[g.BeforeComment=18]="BeforeComment",g[g.CDATASequence=19]="CDATASequence",g[g.InSpecialComment=20]="InSpecialComment",g[g.InCommentLike=21]="InCommentLike",g[g.BeforeSpecialS=22]="BeforeSpecialS",g[g.SpecialStartSequence=23]="SpecialStartSequence",g[g.InSpecialTag=24]="InSpecialTag",g[g.BeforeEntity=25]="BeforeEntity",g[g.BeforeNumericEntity=26]="BeforeNumericEntity",g[g.InNamedEntity=27]="InNamedEntity",g[g.InNumericEntity=28]="InNumericEntity",g[g.InHexEntity=29]="InHexEntity"})(n||(n={}));function i(g){return g===r.Space||g===r.NewLine||g===r.Tab||g===r.FormFeed||g===r.CarriageReturn}function s(g){return g===r.Slash||g===r.Gt||i(g)}function l(g){return g>=r.Zero&&g<=r.Nine}function c(g){return g>=r.LowerA&&g<=r.LowerZ||g>=r.UpperA&&g<=r.UpperZ}function d(g){return g>=r.UpperA&&g<=r.UpperF||g>=r.LowerA&&g<=r.LowerF}var p;(function(g){g[g.NoValue=0]="NoValue",g[g.Unquoted=1]="Unquoted",g[g.Single=2]="Single",g[g.Double=3]="Double"})(p=t.QuoteType||(t.QuoteType={}));var m={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},v=(function(){function g(y,w){var x=y.xmlMode,C=x===void 0?!1:x,P=y.decodeEntities,k=P===void 0?!0:P;this.cbs=w,this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=C,this.decodeEntities=k,this.entityTrie=C?e.xmlDecodeTree:e.htmlDecodeTree}return g.prototype.reset=function(){this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},g.prototype.write=function(y){this.offset+=this.buffer.length,this.buffer=y,this.parse()},g.prototype.end=function(){this.running&&this.finish()},g.prototype.pause=function(){this.running=!1},g.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},g.prototype.getIndex=function(){return this.index},g.prototype.getSectionStart=function(){return this.sectionStart},g.prototype.stateText=function(y){y===r.Lt||!this.decodeEntities&&this.fastForwardTo(r.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=n.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&y===r.Amp&&(this.state=n.BeforeEntity)},g.prototype.stateSpecialStartSequence=function(y){var w=this.sequenceIndex===this.currentSequence.length,x=w?s(y):(y|32)===this.currentSequence[this.sequenceIndex];if(!x)this.isSpecial=!1;else if(!w){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=n.InTagName,this.stateInTagName(y)},g.prototype.stateInSpecialTag=function(y){if(this.sequenceIndex===this.currentSequence.length){if(y===r.Gt||i(y)){var w=this.index-this.currentSequence.length;if(this.sectionStart<w){var x=this.index;this.index=w,this.cbs.ontext(this.sectionStart,w),this.index=x}this.isSpecial=!1,this.sectionStart=w+2,this.stateInClosingTagName(y);return}this.sequenceIndex=0}(y|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===m.TitleEnd?this.decodeEntities&&y===r.Amp&&(this.state=n.BeforeEntity):this.fastForwardTo(r.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(y===r.Lt)},g.prototype.stateCDATASequence=function(y){y===m.Cdata[this.sequenceIndex]?++this.sequenceIndex===m.Cdata.length&&(this.state=n.InCommentLike,this.currentSequence=m.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=n.InDeclaration,this.stateInDeclaration(y))},g.prototype.fastForwardTo=function(y){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===y)return!0;return this.index=this.buffer.length+this.offset-1,!1},g.prototype.stateInCommentLike=function(y){y===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===m.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=n.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):y!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},g.prototype.isTagStartChar=function(y){return this.xmlMode?!s(y):c(y)},g.prototype.startSpecial=function(y,w){this.isSpecial=!0,this.currentSequence=y,this.sequenceIndex=w,this.state=n.SpecialStartSequence},g.prototype.stateBeforeTagName=function(y){if(y===r.ExclamationMark)this.state=n.BeforeDeclaration,this.sectionStart=this.index+1;else if(y===r.Questionmark)this.state=n.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(y)){var w=y|32;this.sectionStart=this.index,!this.xmlMode&&w===m.TitleEnd[2]?this.startSpecial(m.TitleEnd,3):this.state=!this.xmlMode&&w===m.ScriptEnd[2]?n.BeforeSpecialS:n.InTagName}else y===r.Slash?this.state=n.BeforeClosingTagName:(this.state=n.Text,this.stateText(y))},g.prototype.stateInTagName=function(y){s(y)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(y))},g.prototype.stateBeforeClosingTagName=function(y){i(y)||(y===r.Gt?this.state=n.Text:(this.state=this.isTagStartChar(y)?n.InClosingTagName:n.InSpecialComment,this.sectionStart=this.index))},g.prototype.stateInClosingTagName=function(y){(y===r.Gt||i(y))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.AfterClosingTagName,this.stateAfterClosingTagName(y))},g.prototype.stateAfterClosingTagName=function(y){(y===r.Gt||this.fastForwardTo(r.Gt))&&(this.state=n.Text,this.baseState=n.Text,this.sectionStart=this.index+1)},g.prototype.stateBeforeAttributeName=function(y){y===r.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=n.InSpecialTag,this.sequenceIndex=0):this.state=n.Text,this.baseState=this.state,this.sectionStart=this.index+1):y===r.Slash?this.state=n.InSelfClosingTag:i(y)||(this.state=n.InAttributeName,this.sectionStart=this.index)},g.prototype.stateInSelfClosingTag=function(y){y===r.Gt?(this.cbs.onselfclosingtag(this.index),this.state=n.Text,this.baseState=n.Text,this.sectionStart=this.index+1,this.isSpecial=!1):i(y)||(this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(y))},g.prototype.stateInAttributeName=function(y){(y===r.Eq||s(y))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.AfterAttributeName,this.stateAfterAttributeName(y))},g.prototype.stateAfterAttributeName=function(y){y===r.Eq?this.state=n.BeforeAttributeValue:y===r.Slash||y===r.Gt?(this.cbs.onattribend(p.NoValue,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(y)):i(y)||(this.cbs.onattribend(p.NoValue,this.index),this.state=n.InAttributeName,this.sectionStart=this.index)},g.prototype.stateBeforeAttributeValue=function(y){y===r.DoubleQuote?(this.state=n.InAttributeValueDq,this.sectionStart=this.index+1):y===r.SingleQuote?(this.state=n.InAttributeValueSq,this.sectionStart=this.index+1):i(y)||(this.sectionStart=this.index,this.state=n.InAttributeValueNq,this.stateInAttributeValueNoQuotes(y))},g.prototype.handleInAttributeValue=function(y,w){y===w||!this.decodeEntities&&this.fastForwardTo(w)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(w===r.DoubleQuote?p.Double:p.Single,this.index),this.state=n.BeforeAttributeName):this.decodeEntities&&y===r.Amp&&(this.baseState=this.state,this.state=n.BeforeEntity)},g.prototype.stateInAttributeValueDoubleQuotes=function(y){this.handleInAttributeValue(y,r.DoubleQuote)},g.prototype.stateInAttributeValueSingleQuotes=function(y){this.handleInAttributeValue(y,r.SingleQuote)},g.prototype.stateInAttributeValueNoQuotes=function(y){i(y)||y===r.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(p.Unquoted,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(y)):this.decodeEntities&&y===r.Amp&&(this.baseState=this.state,this.state=n.BeforeEntity)},g.prototype.stateBeforeDeclaration=function(y){y===r.OpeningSquareBracket?(this.state=n.CDATASequence,this.sequenceIndex=0):this.state=y===r.Dash?n.BeforeComment:n.InDeclaration},g.prototype.stateInDeclaration=function(y){(y===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=n.Text,this.sectionStart=this.index+1)},g.prototype.stateInProcessingInstruction=function(y){(y===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=n.Text,this.sectionStart=this.index+1)},g.prototype.stateBeforeComment=function(y){y===r.Dash?(this.state=n.InCommentLike,this.currentSequence=m.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=n.InDeclaration},g.prototype.stateInSpecialComment=function(y){(y===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=n.Text,this.sectionStart=this.index+1)},g.prototype.stateBeforeSpecialS=function(y){var w=y|32;w===m.ScriptEnd[3]?this.startSpecial(m.ScriptEnd,4):w===m.StyleEnd[3]?this.startSpecial(m.StyleEnd,4):(this.state=n.InTagName,this.stateInTagName(y))},g.prototype.stateBeforeEntity=function(y){this.entityExcess=1,this.entityResult=0,y===r.Number?this.state=n.BeforeNumericEntity:y===r.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=n.InNamedEntity,this.stateInNamedEntity(y))},g.prototype.stateInNamedEntity=function(y){if(this.entityExcess+=1,this.trieIndex=(0,e.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,y),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var w=this.trieCurrent&e.BinTrieFlags.VALUE_LENGTH;if(w){var x=(w>>14)-1;if(!this.allowLegacyEntity()&&y!==r.Semi)this.trieIndex+=x;else{var C=this.index-this.entityExcess+1;C>this.sectionStart&&this.emitPartial(this.sectionStart,C),this.entityResult=this.trieIndex,this.trieIndex+=x,this.entityExcess=0,this.sectionStart=this.index+1,x===0&&this.emitNamedEntity()}}},g.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var y=(this.entityTrie[this.entityResult]&e.BinTrieFlags.VALUE_LENGTH)>>14;switch(y){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~e.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},g.prototype.stateBeforeNumericEntity=function(y){(y|32)===r.LowerX?(this.entityExcess++,this.state=n.InHexEntity):(this.state=n.InNumericEntity,this.stateInNumericEntity(y))},g.prototype.emitNumericEntity=function(y){var w=this.index-this.entityExcess-1,x=w+2+ +(this.state===n.InHexEntity);x!==this.index&&(w>this.sectionStart&&this.emitPartial(this.sectionStart,w),this.sectionStart=this.index+Number(y),this.emitCodePoint((0,e.replaceCodePoint)(this.entityResult))),this.state=this.baseState},g.prototype.stateInNumericEntity=function(y){y===r.Semi?this.emitNumericEntity(!0):l(y)?(this.entityResult=this.entityResult*10+(y-r.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},g.prototype.stateInHexEntity=function(y){y===r.Semi?this.emitNumericEntity(!0):l(y)?(this.entityResult=this.entityResult*16+(y-r.Zero),this.entityExcess++):d(y)?(this.entityResult=this.entityResult*16+((y|32)-r.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},g.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===n.Text||this.baseState===n.InSpecialTag)},g.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===n.Text||this.state===n.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===n.InAttributeValueDq||this.state===n.InAttributeValueSq||this.state===n.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},g.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},g.prototype.parse=function(){for(;this.shouldContinue();){var y=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case n.Text:{this.stateText(y);break}case n.SpecialStartSequence:{this.stateSpecialStartSequence(y);break}case n.InSpecialTag:{this.stateInSpecialTag(y);break}case n.CDATASequence:{this.stateCDATASequence(y);break}case n.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(y);break}case n.InAttributeName:{this.stateInAttributeName(y);break}case n.InCommentLike:{this.stateInCommentLike(y);break}case n.InSpecialComment:{this.stateInSpecialComment(y);break}case n.BeforeAttributeName:{this.stateBeforeAttributeName(y);break}case n.InTagName:{this.stateInTagName(y);break}case n.InClosingTagName:{this.stateInClosingTagName(y);break}case n.BeforeTagName:{this.stateBeforeTagName(y);break}case n.AfterAttributeName:{this.stateAfterAttributeName(y);break}case n.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(y);break}case n.BeforeAttributeValue:{this.stateBeforeAttributeValue(y);break}case n.BeforeClosingTagName:{this.stateBeforeClosingTagName(y);break}case n.AfterClosingTagName:{this.stateAfterClosingTagName(y);break}case n.BeforeSpecialS:{this.stateBeforeSpecialS(y);break}case n.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(y);break}case n.InSelfClosingTag:{this.stateInSelfClosingTag(y);break}case n.InDeclaration:{this.stateInDeclaration(y);break}case n.BeforeDeclaration:{this.stateBeforeDeclaration(y);break}case n.BeforeComment:{this.stateBeforeComment(y);break}case n.InProcessingInstruction:{this.stateInProcessingInstruction(y);break}case n.InNamedEntity:{this.stateInNamedEntity(y);break}case n.BeforeEntity:{this.stateBeforeEntity(y);break}case n.InHexEntity:{this.stateInHexEntity(y);break}case n.InNumericEntity:{this.stateInNumericEntity(y);break}default:this.stateBeforeNumericEntity(y)}this.index++}this.cleanup()},g.prototype.finish=function(){this.state===n.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},g.prototype.handleTrailingData=function(){var y=this.buffer.length+this.offset;this.state===n.InCommentLike?this.currentSequence===m.CdataEnd?this.cbs.oncdata(this.sectionStart,y,0):this.cbs.oncomment(this.sectionStart,y,0):this.state===n.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===n.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===n.InTagName||this.state===n.BeforeAttributeName||this.state===n.BeforeAttributeValue||this.state===n.AfterAttributeName||this.state===n.InAttributeName||this.state===n.InAttributeValueSq||this.state===n.InAttributeValueDq||this.state===n.InAttributeValueNq||this.state===n.InClosingTagName||this.cbs.ontext(this.sectionStart,y)},g.prototype.emitPartial=function(y,w){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?this.cbs.onattribdata(y,w):this.cbs.ontext(y,w)},g.prototype.emitCodePoint=function(y){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?this.cbs.onattribentity(y):this.cbs.ontextentity(y)},g})();t.default=v})(Zy);var i7=ut&&ut.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),o7=ut&&ut.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),a7=ut&&ut.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&i7(e,t,r);return o7(e,t),e};Object.defineProperty(Yc,"__esModule",{value:!0});Yc.Parser=void 0;var Zd=a7(Zy),Bw=Jc,Os=new Set(["input","option","optgroup","select","button","datalist","textarea"]),Bt=new Set(["p"]),Dw=new Set(["thead","tbody"]),Fw=new Set(["dd","dt"]),Hw=new Set(["rt","rp"]),s7=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",Bt],["h1",Bt],["h2",Bt],["h3",Bt],["h4",Bt],["h5",Bt],["h6",Bt],["select",Os],["input",Os],["output",Os],["button",Os],["datalist",Os],["textarea",Os],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",Fw],["dt",Fw],["address",Bt],["article",Bt],["aside",Bt],["blockquote",Bt],["details",Bt],["div",Bt],["dl",Bt],["fieldset",Bt],["figcaption",Bt],["figure",Bt],["footer",Bt],["form",Bt],["header",Bt],["hr",Bt],["main",Bt],["nav",Bt],["ol",Bt],["pre",Bt],["section",Bt],["table",Bt],["ul",Bt],["rt",Hw],["rp",Hw],["tbody",Dw],["tfoot",Dw]]),l7=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),Vw=new Set(["math","svg"]),Uw=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),c7=/\s|\//,u7=(function(){function t(e,r){r===void 0&&(r={});var n,i,s,l,c;this.options=r,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.lowerCaseTagNames=(n=r.lowerCaseTags)!==null&&n!==void 0?n:!r.xmlMode,this.lowerCaseAttributeNames=(i=r.lowerCaseAttributeNames)!==null&&i!==void 0?i:!r.xmlMode,this.tokenizer=new((s=r.Tokenizer)!==null&&s!==void 0?s:Zd.default)(this.options,this),(c=(l=this.cbs).onparserinit)===null||c===void 0||c.call(l,this)}return t.prototype.ontext=function(e,r){var n,i,s=this.getSlice(e,r);this.endIndex=r-1,(i=(n=this.cbs).ontext)===null||i===void 0||i.call(n,s),this.startIndex=r},t.prototype.ontextentity=function(e){var r,n,i=this.tokenizer.getSectionStart();this.endIndex=i-1,(n=(r=this.cbs).ontext)===null||n===void 0||n.call(r,(0,Bw.fromCodePoint)(e)),this.startIndex=i},t.prototype.isVoidElement=function(e){return!this.options.xmlMode&&l7.has(e)},t.prototype.onopentagname=function(e,r){this.endIndex=r;var n=this.getSlice(e,r);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},t.prototype.emitOpenTag=function(e){var r,n,i,s;this.openTagStart=this.startIndex,this.tagname=e;var l=!this.options.xmlMode&&s7.get(e);if(l)for(;this.stack.length>0&&l.has(this.stack[this.stack.length-1]);){var c=this.stack.pop();(n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,c,!0)}this.isVoidElement(e)||(this.stack.push(e),Vw.has(e)?this.foreignContext.push(!0):Uw.has(e)&&this.foreignContext.push(!1)),(s=(i=this.cbs).onopentagname)===null||s===void 0||s.call(i,e),this.cbs.onopentag&&(this.attribs={})},t.prototype.endOpenTag=function(e){var r,n;this.startIndex=this.openTagStart,this.attribs&&((n=(r=this.cbs).onopentag)===null||n===void 0||n.call(r,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},t.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},t.prototype.onclosetag=function(e,r){var n,i,s,l,c,d;this.endIndex=r;var p=this.getSlice(e,r);if(this.lowerCaseTagNames&&(p=p.toLowerCase()),(Vw.has(p)||Uw.has(p))&&this.foreignContext.pop(),this.isVoidElement(p))!this.options.xmlMode&&p==="br"&&((i=(n=this.cbs).onopentagname)===null||i===void 0||i.call(n,"br"),(l=(s=this.cbs).onopentag)===null||l===void 0||l.call(s,"br",{},!0),(d=(c=this.cbs).onclosetag)===null||d===void 0||d.call(c,"br",!1));else{var m=this.stack.lastIndexOf(p);if(m!==-1)if(this.cbs.onclosetag)for(var v=this.stack.length-m;v--;)this.cbs.onclosetag(this.stack.pop(),v!==0);else this.stack.length=m;else!this.options.xmlMode&&p==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=r+1},t.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},t.prototype.closeCurrentTag=function(e){var r,n,i=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===i&&((n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,i,!e),this.stack.pop())},t.prototype.onattribname=function(e,r){this.startIndex=e;var n=this.getSlice(e,r);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},t.prototype.onattribdata=function(e,r){this.attribvalue+=this.getSlice(e,r)},t.prototype.onattribentity=function(e){this.attribvalue+=(0,Bw.fromCodePoint)(e)},t.prototype.onattribend=function(e,r){var n,i;this.endIndex=r,(i=(n=this.cbs).onattribute)===null||i===void 0||i.call(n,this.attribname,this.attribvalue,e===Zd.QuoteType.Double?'"':e===Zd.QuoteType.Single?"'":e===Zd.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},t.prototype.getInstructionName=function(e){var r=e.search(c7),n=r<0?e:e.substr(0,r);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},t.prototype.ondeclaration=function(e,r){this.endIndex=r;var n=this.getSlice(e,r);if(this.cbs.onprocessinginstruction){var i=this.getInstructionName(n);this.cbs.onprocessinginstruction("!".concat(i),"!".concat(n))}this.startIndex=r+1},t.prototype.onprocessinginstruction=function(e,r){this.endIndex=r;var n=this.getSlice(e,r);if(this.cbs.onprocessinginstruction){var i=this.getInstructionName(n);this.cbs.onprocessinginstruction("?".concat(i),"?".concat(n))}this.startIndex=r+1},t.prototype.oncomment=function(e,r,n){var i,s,l,c;this.endIndex=r,(s=(i=this.cbs).oncomment)===null||s===void 0||s.call(i,this.getSlice(e,r-n)),(c=(l=this.cbs).oncommentend)===null||c===void 0||c.call(l),this.startIndex=r+1},t.prototype.oncdata=function(e,r,n){var i,s,l,c,d,p,m,v,g,y;this.endIndex=r;var w=this.getSlice(e,r-n);this.options.xmlMode||this.options.recognizeCDATA?((s=(i=this.cbs).oncdatastart)===null||s===void 0||s.call(i),(c=(l=this.cbs).ontext)===null||c===void 0||c.call(l,w),(p=(d=this.cbs).oncdataend)===null||p===void 0||p.call(d)):((v=(m=this.cbs).oncomment)===null||v===void 0||v.call(m,"[CDATA[".concat(w,"]]")),(y=(g=this.cbs).oncommentend)===null||y===void 0||y.call(g)),this.startIndex=r+1},t.prototype.onend=function(){var e,r;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}(r=(e=this.cbs).onend)===null||r===void 0||r.call(e)},t.prototype.reset=function(){var e,r,n,i;(r=(e=this.cbs).onreset)===null||r===void 0||r.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(i=(n=this.cbs).onparserinit)===null||i===void 0||i.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},t.prototype.parseComplete=function(e){this.reset(),this.end(e)},t.prototype.getSlice=function(e,r){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,r-this.bufferOffset);r-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,r-this.bufferOffset);return n},t.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},t.prototype.write=function(e){var r,n;if(this.ended){(n=(r=this.cbs).onerror)===null||n===void 0||n.call(r,new Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)},t.prototype.end=function(e){var r,n;if(this.ended){(n=(r=this.cbs).onerror)===null||n===void 0||n.call(r,new Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()},t.prototype.pause=function(){this.tokenizer.pause()},t.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},t.prototype.parseChunk=function(e){this.write(e)},t.prototype.done=function(e){this.end(e)},t})();Yc.Parser=u7;var go={},wl={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0;var e;(function(n){n.Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype"})(e=t.ElementType||(t.ElementType={}));function r(n){return n.type===e.Tag||n.type===e.Script||n.type===e.Style}t.isTag=r,t.Root=e.Root,t.Text=e.Text,t.Directive=e.Directive,t.Comment=e.Comment,t.Script=e.Script,t.Style=e.Style,t.Tag=e.Tag,t.CDATA=e.CDATA,t.Doctype=e.Doctype})(wl);var Tt={},ca=ut&&ut.__extends||(function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}})(),jc=ut&&ut.__assign||function(){return jc=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},jc.apply(this,arguments)};Object.defineProperty(Tt,"__esModule",{value:!0});Tt.cloneNode=Tt.hasChildren=Tt.isDocument=Tt.isDirective=Tt.isComment=Tt.isText=Tt.isCDATA=Tt.isTag=Tt.Element=Tt.Document=Tt.CDATA=Tt.NodeWithChildren=Tt.ProcessingInstruction=Tt.Comment=Tt.Text=Tt.DataNode=Tt.Node=void 0;var un=wl,r0=(function(){function t(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),t.prototype.cloneNode=function(e){return e===void 0&&(e=!1),n0(this,e)},t})();Tt.Node=r0;var Rf=(function(t){ca(e,t);function e(r){var n=t.call(this)||this;return n.data=r,n}return Object.defineProperty(e.prototype,"nodeValue",{get:function(){return this.data},set:function(r){this.data=r},enumerable:!1,configurable:!0}),e})(r0);Tt.DataNode=Rf;var KC=(function(t){ca(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=un.ElementType.Text,r}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),e})(Rf);Tt.Text=KC;var QC=(function(t){ca(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=un.ElementType.Comment,r}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),e})(Rf);Tt.Comment=QC;var YC=(function(t){ca(e,t);function e(r,n){var i=t.call(this,n)||this;return i.name=r,i.type=un.ElementType.Directive,i}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),e})(Rf);Tt.ProcessingInstruction=YC;var If=(function(t){ca(e,t);function e(r){var n=t.call(this)||this;return n.children=r,n}return Object.defineProperty(e.prototype,"firstChild",{get:function(){var r;return(r=this.children[0])!==null&&r!==void 0?r:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.children},set:function(r){this.children=r},enumerable:!1,configurable:!0}),e})(r0);Tt.NodeWithChildren=If;var JC=(function(t){ca(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=un.ElementType.CDATA,r}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),e})(If);Tt.CDATA=JC;var ZC=(function(t){ca(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=un.ElementType.Root,r}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),e})(If);Tt.Document=ZC;var eE=(function(t){ca(e,t);function e(r,n,i,s){i===void 0&&(i=[]),s===void 0&&(s=r==="script"?un.ElementType.Script:r==="style"?un.ElementType.Style:un.ElementType.Tag);var l=t.call(this,i)||this;return l.name=r,l.attribs=n,l.type=s,l}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.name},set:function(r){this.name=r},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"attributes",{get:function(){var r=this;return Object.keys(this.attribs).map(function(n){var i,s;return{name:n,value:r.attribs[n],namespace:(i=r["x-attribsNamespace"])===null||i===void 0?void 0:i[n],prefix:(s=r["x-attribsPrefix"])===null||s===void 0?void 0:s[n]}})},enumerable:!1,configurable:!0}),e})(If);Tt.Element=eE;function tE(t){return(0,un.isTag)(t)}Tt.isTag=tE;function rE(t){return t.type===un.ElementType.CDATA}Tt.isCDATA=rE;function nE(t){return t.type===un.ElementType.Text}Tt.isText=nE;function iE(t){return t.type===un.ElementType.Comment}Tt.isComment=iE;function oE(t){return t.type===un.ElementType.Directive}Tt.isDirective=oE;function aE(t){return t.type===un.ElementType.Root}Tt.isDocument=aE;function d7(t){return Object.prototype.hasOwnProperty.call(t,"children")}Tt.hasChildren=d7;function n0(t,e){e===void 0&&(e=!1);var r;if(nE(t))r=new KC(t.data);else if(iE(t))r=new QC(t.data);else if(tE(t)){var n=e?Km(t.children):[],i=new eE(t.name,jc({},t.attribs),n);n.forEach(function(d){return d.parent=i}),t.namespace!=null&&(i.namespace=t.namespace),t["x-attribsNamespace"]&&(i["x-attribsNamespace"]=jc({},t["x-attribsNamespace"])),t["x-attribsPrefix"]&&(i["x-attribsPrefix"]=jc({},t["x-attribsPrefix"])),r=i}else if(rE(t)){var n=e?Km(t.children):[],s=new JC(n);n.forEach(function(p){return p.parent=s}),r=s}else if(aE(t)){var n=e?Km(t.children):[],l=new ZC(n);n.forEach(function(p){return p.parent=l}),t["x-mode"]&&(l["x-mode"]=t["x-mode"]),r=l}else if(oE(t)){var c=new YC(t.name,t.data);t["x-name"]!=null&&(c["x-name"]=t["x-name"],c["x-publicId"]=t["x-publicId"],c["x-systemId"]=t["x-systemId"]),r=c}else throw new Error("Not implemented yet: ".concat(t.type));return r.startIndex=t.startIndex,r.endIndex=t.endIndex,t.sourceCodeLocation!=null&&(r.sourceCodeLocation=t.sourceCodeLocation),r}Tt.cloneNode=n0;function Km(t){for(var e=t.map(function(n){return n0(n,!0)}),r=1;r<e.length;r++)e[r].prev=e[r-1],e[r-1].next=e[r];return e}(function(t){var e=ut&&ut.__createBinding||(Object.create?(function(c,d,p,m){m===void 0&&(m=p);var v=Object.getOwnPropertyDescriptor(d,p);(!v||("get"in v?!d.__esModule:v.writable||v.configurable))&&(v={enumerable:!0,get:function(){return d[p]}}),Object.defineProperty(c,m,v)}):(function(c,d,p,m){m===void 0&&(m=p),c[m]=d[p]})),r=ut&&ut.__exportStar||function(c,d){for(var p in c)p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p)&&e(d,c,p)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var n=wl,i=Tt;r(Tt,t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=(function(){function c(d,p,m){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof p=="function"&&(m=p,p=s),typeof d=="object"&&(p=d,d=void 0),this.callback=d??null,this.options=p??s,this.elementCB=m??null}return c.prototype.onparserinit=function(d){this.parser=d},c.prototype.onreset=function(){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},c.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},c.prototype.onerror=function(d){this.handleCallback(d)},c.prototype.onclosetag=function(){this.lastNode=null;var d=this.tagStack.pop();this.options.withEndIndices&&(d.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(d)},c.prototype.onopentag=function(d,p){var m=this.options.xmlMode?n.ElementType.Tag:void 0,v=new i.Element(d,p,void 0,m);this.addNode(v),this.tagStack.push(v)},c.prototype.ontext=function(d){var p=this.lastNode;if(p&&p.type===n.ElementType.Text)p.data+=d,this.options.withEndIndices&&(p.endIndex=this.parser.endIndex);else{var m=new i.Text(d);this.addNode(m),this.lastNode=m}},c.prototype.oncomment=function(d){if(this.lastNode&&this.lastNode.type===n.ElementType.Comment){this.lastNode.data+=d;return}var p=new i.Comment(d);this.addNode(p),this.lastNode=p},c.prototype.oncommentend=function(){this.lastNode=null},c.prototype.oncdatastart=function(){var d=new i.Text(""),p=new i.CDATA([d]);this.addNode(p),d.parent=p,this.lastNode=d},c.prototype.oncdataend=function(){this.lastNode=null},c.prototype.onprocessinginstruction=function(d,p){var m=new i.ProcessingInstruction(d,p);this.addNode(m)},c.prototype.handleCallback=function(d){if(typeof this.callback=="function")this.callback(d,this.dom);else if(d)throw d},c.prototype.addNode=function(d){var p=this.tagStack[this.tagStack.length-1],m=p.children[p.children.length-1];this.options.withStartIndices&&(d.startIndex=this.parser.startIndex),this.options.withEndIndices&&(d.endIndex=this.parser.endIndex),p.children.push(d),m&&(d.prev=m,m.next=d),d.parent=p,this.lastNode=null},c})();t.DomHandler=l,t.default=l})(go);var wp={},ua={},wu={},sE={},Ua={},i0={};Object.defineProperty(i0,"__esModule",{value:!0});function ep(t){for(var e=1;e<t.length;e++)t[e][0]+=t[e-1][0]+1;return t}i0.default=new Map(ep([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(ep([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(ep([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(ep([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]));var Bp={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var e=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);t.getCodePoint=String.prototype.codePointAt!=null?function(i,s){return i.codePointAt(s)}:(function(i,s){return(i.charCodeAt(s)&64512)===55296?(i.charCodeAt(s)-55296)*1024+i.charCodeAt(s+1)-56320+65536:i.charCodeAt(s)});function r(i){for(var s="",l=0,c;(c=t.xmlReplacer.exec(i))!==null;){var d=c.index,p=i.charCodeAt(d),m=e.get(p);m!==void 0?(s+=i.substring(l,d)+m,l=d+1):(s+="".concat(i.substring(l,d),"&#x").concat((0,t.getCodePoint)(i,d).toString(16),";"),l=t.xmlReplacer.lastIndex+=+((p&64512)===55296))}return s+i.substr(l)}t.encodeXML=r,t.escape=r;function n(i,s){return function(c){for(var d,p=0,m="";d=i.exec(c);)p!==d.index&&(m+=c.substring(p,d.index)),m+=s.get(d[0].charCodeAt(0)),p=d.index+1;return m+c.substring(p)}}t.escapeUTF8=n(/[&<>'"]/g,e),t.escapeAttribute=n(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),t.escapeText=n(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))})(Bp);var p7=ut&&ut.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ua,"__esModule",{value:!0});Ua.encodeNonAsciiHTML=Ua.encodeHTML=void 0;var f7=p7(i0),lE=Bp,h7=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function m7(t){return cE(h7,t)}Ua.encodeHTML=m7;function g7(t){return cE(lE.xmlReplacer,t)}Ua.encodeNonAsciiHTML=g7;function cE(t,e){for(var r="",n=0,i;(i=t.exec(e))!==null;){var s=i.index;r+=e.substring(n,s);var l=e.charCodeAt(s),c=f7.default.get(l);if(typeof c=="object"){if(s+1<e.length){var d=e.charCodeAt(s+1),p=typeof c.n=="number"?c.n===d?c.o:void 0:c.n.get(d);if(p!==void 0){r+=p,n=t.lastIndex+=1;continue}}c=c.v}if(c!==void 0)r+=c,n=s+1;else{var m=(0,lE.getCodePoint)(e,s);r+="&#x".concat(m.toString(16),";"),n=t.lastIndex+=+(m!==l)}}return r+e.substr(n)}(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLAttribute=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.DecodingMode=t.EntityDecoder=t.encodeHTML5=t.encodeHTML4=t.encodeNonAsciiHTML=t.encodeHTML=t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.EntityLevel=void 0;var e=Jc,r=Ua,n=Bp,i;(function(g){g[g.XML=0]="XML",g[g.HTML=1]="HTML"})(i=t.EntityLevel||(t.EntityLevel={}));var s;(function(g){g[g.UTF8=0]="UTF8",g[g.ASCII=1]="ASCII",g[g.Extensive=2]="Extensive",g[g.Attribute=3]="Attribute",g[g.Text=4]="Text"})(s=t.EncodingMode||(t.EncodingMode={}));function l(g,y){y===void 0&&(y=i.XML);var w=typeof y=="number"?y:y.level;if(w===i.HTML){var x=typeof y=="object"?y.mode:void 0;return(0,e.decodeHTML)(g,x)}return(0,e.decodeXML)(g)}t.decode=l;function c(g,y){var w;y===void 0&&(y=i.XML);var x=typeof y=="number"?{level:y}:y;return(w=x.mode)!==null&&w!==void 0||(x.mode=e.DecodingMode.Strict),l(g,x)}t.decodeStrict=c;function d(g,y){y===void 0&&(y=i.XML);var w=typeof y=="number"?{level:y}:y;return w.mode===s.UTF8?(0,n.escapeUTF8)(g):w.mode===s.Attribute?(0,n.escapeAttribute)(g):w.mode===s.Text?(0,n.escapeText)(g):w.level===i.HTML?w.mode===s.ASCII?(0,r.encodeNonAsciiHTML)(g):(0,r.encodeHTML)(g):(0,n.encodeXML)(g)}t.encode=d;var p=Bp;Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return p.encodeXML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return p.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return p.escapeUTF8}}),Object.defineProperty(t,"escapeAttribute",{enumerable:!0,get:function(){return p.escapeAttribute}}),Object.defineProperty(t,"escapeText",{enumerable:!0,get:function(){return p.escapeText}});var m=Ua;Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return m.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return m.encodeNonAsciiHTML}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return m.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return m.encodeHTML}});var v=Jc;Object.defineProperty(t,"EntityDecoder",{enumerable:!0,get:function(){return v.EntityDecoder}}),Object.defineProperty(t,"DecodingMode",{enumerable:!0,get:function(){return v.DecodingMode}}),Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return v.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return v.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return v.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTMLAttribute",{enumerable:!0,get:function(){return v.decodeHTMLAttribute}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return v.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return v.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return v.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return v.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return v.decodeXML}})})(sE);var nl={};Object.defineProperty(nl,"__esModule",{value:!0});nl.attributeNames=nl.elementNames=void 0;nl.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(t){return[t.toLowerCase(),t]}));nl.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(t){return[t.toLowerCase(),t]}));var Bs=ut&&ut.__assign||function(){return Bs=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},Bs.apply(this,arguments)},y7=ut&&ut.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),v7=ut&&ut.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),b7=ut&&ut.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&y7(e,t,r);return v7(e,t),e};Object.defineProperty(wu,"__esModule",{value:!0});wu.render=void 0;var ao=b7(wl),Dp=sE,uE=nl,x7=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function w7(t){return t.replace(/"/g,"&quot;")}function S7(t,e){var r;if(t){var n=((r=e.encodeEntities)!==null&&r!==void 0?r:e.decodeEntities)===!1?w7:e.xmlMode||e.encodeEntities!=="utf8"?Dp.encodeXML:Dp.escapeAttribute;return Object.keys(t).map(function(i){var s,l,c=(s=t[i])!==null&&s!==void 0?s:"";return e.xmlMode==="foreign"&&(i=(l=uE.attributeNames.get(i))!==null&&l!==void 0?l:i),!e.emptyAttrs&&!e.xmlMode&&c===""?i:"".concat(i,'="').concat(n(c),'"')}).join(" ")}}var Ww=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function jf(t,e){e===void 0&&(e={});for(var r=("length"in t)?t:[t],n="",i=0;i<r.length;i++)n+=C7(r[i],e);return n}wu.render=jf;wu.default=jf;function C7(t,e){switch(t.type){case ao.Root:return jf(t.children,e);case ao.Doctype:case ao.Directive:return P7(t);case ao.Comment:return A7(t);case ao.CDATA:return _7(t);case ao.Script:case ao.Style:case ao.Tag:return k7(t,e);case ao.Text:return M7(t,e)}}var E7=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),T7=new Set(["svg","math"]);function k7(t,e){var r;e.xmlMode==="foreign"&&(t.name=(r=uE.elementNames.get(t.name))!==null&&r!==void 0?r:t.name,t.parent&&E7.has(t.parent.name)&&(e=Bs(Bs({},e),{xmlMode:!1}))),!e.xmlMode&&T7.has(t.name)&&(e=Bs(Bs({},e),{xmlMode:"foreign"}));var n="<".concat(t.name),i=S7(t.attribs,e);return i&&(n+=" ".concat(i)),t.children.length===0&&(e.xmlMode?e.selfClosingTags!==!1:e.selfClosingTags&&Ww.has(t.name))?(e.xmlMode||(n+=" "),n+="/>"):(n+=">",t.children.length>0&&(n+=jf(t.children,e)),(e.xmlMode||!Ww.has(t.name))&&(n+="</".concat(t.name,">"))),n}function P7(t){return"<".concat(t.data,">")}function M7(t,e){var r,n=t.data||"";return((r=e.encodeEntities)!==null&&r!==void 0?r:e.decodeEntities)!==!1&&!(!e.xmlMode&&t.parent&&x7.has(t.parent.name))&&(n=e.xmlMode||e.encodeEntities!=="utf8"?(0,Dp.encodeXML)(n):(0,Dp.escapeText)(n)),n}function _7(t){return"<![CDATA[".concat(t.children[0].data,"]]>")}function A7(t){return"<!--".concat(t.data,"-->")}var R7=ut&&ut.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ua,"__esModule",{value:!0});ua.getOuterHTML=dE;ua.getInnerHTML=O7;ua.getText=Sp;ua.textContent=zg;ua.innerText=Bg;var Bi=go,I7=R7(wu),j7=wl;function dE(t,e){return(0,I7.default)(t,e)}function O7(t,e){return(0,Bi.hasChildren)(t)?t.children.map(function(r){return dE(r,e)}).join(""):""}function Sp(t){return Array.isArray(t)?t.map(Sp).join(""):(0,Bi.isTag)(t)?t.name==="br"?`
339
- `:Sp(t.children):(0,Bi.isCDATA)(t)?Sp(t.children):(0,Bi.isText)(t)?t.data:""}function zg(t){return Array.isArray(t)?t.map(zg).join(""):(0,Bi.hasChildren)(t)&&!(0,Bi.isComment)(t)?zg(t.children):(0,Bi.isText)(t)?t.data:""}function Bg(t){return Array.isArray(t)?t.map(Bg).join(""):(0,Bi.hasChildren)(t)&&(t.type===j7.ElementType.Tag||(0,Bi.isCDATA)(t))?Bg(t.children):(0,Bi.isText)(t)?t.data:""}var Ki={};Object.defineProperty(Ki,"__esModule",{value:!0});Ki.getChildren=pE;Ki.getParent=fE;Ki.getSiblings=L7;Ki.getAttributeValue=N7;Ki.hasAttrib=$7;Ki.getName=z7;Ki.nextElementSibling=B7;Ki.prevElementSibling=D7;var o0=go;function pE(t){return(0,o0.hasChildren)(t)?t.children:[]}function fE(t){return t.parent||null}function L7(t){var e,r,n=fE(t);if(n!=null)return pE(n);for(var i=[t],s=t.prev,l=t.next;s!=null;)i.unshift(s),e=s,s=e.prev;for(;l!=null;)i.push(l),r=l,l=r.next;return i}function N7(t,e){var r;return(r=t.attribs)===null||r===void 0?void 0:r[e]}function $7(t,e){return t.attribs!=null&&Object.prototype.hasOwnProperty.call(t.attribs,e)&&t.attribs[e]!=null}function z7(t){return t.name}function B7(t){for(var e,r=t.next;r!==null&&!(0,o0.isTag)(r);)e=r,r=e.next;return r}function D7(t){for(var e,r=t.prev;r!==null&&!(0,o0.isTag)(r);)e=r,r=e.prev;return r}var da={};Object.defineProperty(da,"__esModule",{value:!0});da.removeElement=Su;da.replaceElement=F7;da.appendChild=H7;da.append=V7;da.prependChild=U7;da.prepend=W7;function Su(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){var e=t.parent.children,r=e.lastIndexOf(t);r>=0&&e.splice(r,1)}t.next=null,t.prev=null,t.parent=null}function F7(t,e){var r=e.prev=t.prev;r&&(r.next=e);var n=e.next=t.next;n&&(n.prev=e);var i=e.parent=t.parent;if(i){var s=i.children;s[s.lastIndexOf(t)]=e,t.parent=null}}function H7(t,e){if(Su(e),e.next=null,e.parent=t,t.children.push(e)>1){var r=t.children[t.children.length-2];r.next=e,e.prev=r}else e.prev=null}function V7(t,e){Su(e);var r=t.parent,n=t.next;if(e.next=n,e.prev=t,t.next=e,e.parent=r,n){if(n.prev=e,r){var i=r.children;i.splice(i.lastIndexOf(n),0,e)}}else r&&r.children.push(e)}function U7(t,e){if(Su(e),e.parent=t,e.prev=null,t.children.unshift(e)!==1){var r=t.children[1];r.prev=e,e.next=r}else e.next=null}function W7(t,e){Su(e);var r=t.parent;if(r){var n=r.children;n.splice(n.indexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=r,e.prev=t.prev,e.next=t,t.prev=e}var wo={};Object.defineProperty(wo,"__esModule",{value:!0});wo.filter=q7;wo.find=hE;wo.findOneChild=G7;wo.findOne=mE;wo.existsOne=gE;wo.findAll=X7;var Wa=go;function q7(t,e,r,n){return r===void 0&&(r=!0),n===void 0&&(n=1/0),hE(t,Array.isArray(e)?e:[e],r,n)}function hE(t,e,r,n){for(var i=[],s=[Array.isArray(e)?e:[e]],l=[0];;){if(l[0]>=s[0].length){if(l.length===1)return i;s.shift(),l.shift();continue}var c=s[0][l[0]++];if(t(c)&&(i.push(c),--n<=0))return i;r&&(0,Wa.hasChildren)(c)&&c.children.length>0&&(l.unshift(0),s.unshift(c.children))}}function G7(t,e){return e.find(t)}function mE(t,e,r){r===void 0&&(r=!0);for(var n=Array.isArray(e)?e:[e],i=0;i<n.length;i++){var s=n[i];if((0,Wa.isTag)(s)&&t(s))return s;if(r&&(0,Wa.hasChildren)(s)&&s.children.length>0){var l=mE(t,s.children,!0);if(l)return l}}return null}function gE(t,e){return(Array.isArray(e)?e:[e]).some(function(r){return(0,Wa.isTag)(r)&&t(r)||(0,Wa.hasChildren)(r)&&gE(t,r.children)})}function X7(t,e){for(var r=[],n=[Array.isArray(e)?e:[e]],i=[0];;){if(i[0]>=n[0].length){if(n.length===1)return r;n.shift(),i.shift();continue}var s=n[0][i[0]++];(0,Wa.isTag)(s)&&t(s)&&r.push(s),(0,Wa.hasChildren)(s)&&s.children.length>0&&(i.unshift(0),n.unshift(s.children))}}var So={};Object.defineProperty(So,"__esModule",{value:!0});So.testElement=Q7;So.getElements=Y7;So.getElementById=J7;So.getElementsByTagName=Z7;So.getElementsByClassName=e$;So.getElementsByTagType=t$;var La=go,Cu=wo,Fp={tag_name:function(t){return typeof t=="function"?function(e){return(0,La.isTag)(e)&&t(e.name)}:t==="*"?La.isTag:function(e){return(0,La.isTag)(e)&&e.name===t}},tag_type:function(t){return typeof t=="function"?function(e){return t(e.type)}:function(e){return e.type===t}},tag_contains:function(t){return typeof t=="function"?function(e){return(0,La.isText)(e)&&t(e.data)}:function(e){return(0,La.isText)(e)&&e.data===t}}};function a0(t,e){return typeof e=="function"?function(r){return(0,La.isTag)(r)&&e(r.attribs[t])}:function(r){return(0,La.isTag)(r)&&r.attribs[t]===e}}function K7(t,e){return function(r){return t(r)||e(r)}}function yE(t){var e=Object.keys(t).map(function(r){var n=t[r];return Object.prototype.hasOwnProperty.call(Fp,r)?Fp[r](n):a0(r,n)});return e.length===0?null:e.reduce(K7)}function Q7(t,e){var r=yE(t);return r?r(e):!0}function Y7(t,e,r,n){n===void 0&&(n=1/0);var i=yE(t);return i?(0,Cu.filter)(i,e,r,n):[]}function J7(t,e,r){return r===void 0&&(r=!0),Array.isArray(e)||(e=[e]),(0,Cu.findOne)(a0("id",t),e,r)}function Z7(t,e,r,n){return r===void 0&&(r=!0),n===void 0&&(n=1/0),(0,Cu.filter)(Fp.tag_name(t),e,r,n)}function e$(t,e,r,n){return r===void 0&&(r=!0),n===void 0&&(n=1/0),(0,Cu.filter)(a0("class",t),e,r,n)}function t$(t,e,r,n){return r===void 0&&(r=!0),n===void 0&&(n=1/0),(0,Cu.filter)(Fp.tag_type(t),e,r,n)}var ts={};Object.defineProperty(ts,"__esModule",{value:!0});ts.DocumentPosition=void 0;ts.removeSubsets=r$;ts.compareDocumentPosition=vE;ts.uniqueSort=n$;var qw=go;function r$(t){for(var e=t.length;--e>=0;){var r=t[e];if(e>0&&t.lastIndexOf(r,e-1)>=0){t.splice(e,1);continue}for(var n=r.parent;n;n=n.parent)if(t.includes(n)){t.splice(e,1);break}}return t}var ui;(function(t){t[t.DISCONNECTED=1]="DISCONNECTED",t[t.PRECEDING=2]="PRECEDING",t[t.FOLLOWING=4]="FOLLOWING",t[t.CONTAINS=8]="CONTAINS",t[t.CONTAINED_BY=16]="CONTAINED_BY"})(ui||(ts.DocumentPosition=ui={}));function vE(t,e){var r=[],n=[];if(t===e)return 0;for(var i=(0,qw.hasChildren)(t)?t:t.parent;i;)r.unshift(i),i=i.parent;for(i=(0,qw.hasChildren)(e)?e:e.parent;i;)n.unshift(i),i=i.parent;for(var s=Math.min(r.length,n.length),l=0;l<s&&r[l]===n[l];)l++;if(l===0)return ui.DISCONNECTED;var c=r[l-1],d=c.children,p=r[l],m=n[l];return d.indexOf(p)>d.indexOf(m)?c===e?ui.FOLLOWING|ui.CONTAINED_BY:ui.FOLLOWING:c===t?ui.PRECEDING|ui.CONTAINS:ui.PRECEDING}function n$(t){return t=t.filter(function(e,r,n){return!n.includes(e,r+1)}),t.sort(function(e,r){var n=vE(e,r);return n&ui.PRECEDING?-1:n&ui.FOLLOWING?1:0}),t}var s0={};Object.defineProperty(s0,"__esModule",{value:!0});s0.getFeed=o$;var i$=ua,Eu=So;function o$(t){var e=Hp(u$,t);return e?e.name==="feed"?a$(e):s$(e):null}function a$(t){var e,r=t.children,n={type:"atom",items:(0,Eu.getElementsByTagName)("entry",r).map(function(l){var c,d=l.children,p={media:bE(d)};sn(p,"id","id",d),sn(p,"title","title",d);var m=(c=Hp("link",d))===null||c===void 0?void 0:c.attribs.href;m&&(p.link=m);var v=Go("summary",d)||Go("content",d);v&&(p.description=v);var g=Go("updated",d);return g&&(p.pubDate=new Date(g)),p})};sn(n,"id","id",r),sn(n,"title","title",r);var i=(e=Hp("link",r))===null||e===void 0?void 0:e.attribs.href;i&&(n.link=i),sn(n,"description","subtitle",r);var s=Go("updated",r);return s&&(n.updated=new Date(s)),sn(n,"author","email",r,!0),n}function s$(t){var e,r,n=(r=(e=Hp("channel",t.children))===null||e===void 0?void 0:e.children)!==null&&r!==void 0?r:[],i={type:t.name.substr(0,3),id:"",items:(0,Eu.getElementsByTagName)("item",t.children).map(function(l){var c=l.children,d={media:bE(c)};sn(d,"id","guid",c),sn(d,"title","title",c),sn(d,"link","link",c),sn(d,"description","description",c);var p=Go("pubDate",c)||Go("dc:date",c);return p&&(d.pubDate=new Date(p)),d})};sn(i,"title","title",n),sn(i,"link","link",n),sn(i,"description","description",n);var s=Go("lastBuildDate",n);return s&&(i.updated=new Date(s)),sn(i,"author","managingEditor",n,!0),i}var l$=["url","type","lang"],c$=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function bE(t){return(0,Eu.getElementsByTagName)("media:content",t).map(function(e){for(var r=e.attribs,n={medium:r.medium,isDefault:!!r.isDefault},i=0,s=l$;i<s.length;i++){var l=s[i];r[l]&&(n[l]=r[l])}for(var c=0,d=c$;c<d.length;c++){var l=d[c];r[l]&&(n[l]=parseInt(r[l],10))}return r.expression&&(n.expression=r.expression),n})}function Hp(t,e){return(0,Eu.getElementsByTagName)(t,e,!0,1)[0]}function Go(t,e,r){return r===void 0&&(r=!1),(0,i$.textContent)((0,Eu.getElementsByTagName)(t,e,r,1)).trim()}function sn(t,e,r,n,i){i===void 0&&(i=!1);var s=Go(r,n,i);s&&(t[e]=s)}function u$(t){return t==="rss"||t==="feed"||t==="rdf:RDF"}(function(t){var e=ut&&ut.__createBinding||(Object.create?(function(i,s,l,c){c===void 0&&(c=l);var d=Object.getOwnPropertyDescriptor(s,l);(!d||("get"in d?!s.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return s[l]}}),Object.defineProperty(i,c,d)}):(function(i,s,l,c){c===void 0&&(c=l),i[c]=s[l]})),r=ut&&ut.__exportStar||function(i,s){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&e(s,i,l)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,r(ua,t),r(Ki,t),r(da,t),r(wo,t),r(So,t),r(ts,t),r(s0,t);var n=go;Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return n.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return n.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return n.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return n.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return n.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return n.hasChildren}})})(wp);(function(t){var e=ut&&ut.__createBinding||(Object.create?(function(P,k,_,E){E===void 0&&(E=_);var A=Object.getOwnPropertyDescriptor(k,_);(!A||("get"in A?!k.__esModule:A.writable||A.configurable))&&(A={enumerable:!0,get:function(){return k[_]}}),Object.defineProperty(P,E,A)}):(function(P,k,_,E){E===void 0&&(E=_),P[E]=k[_]})),r=ut&&ut.__setModuleDefault||(Object.create?(function(P,k){Object.defineProperty(P,"default",{enumerable:!0,value:k})}):function(P,k){P.default=k}),n=ut&&ut.__importStar||function(P){if(P&&P.__esModule)return P;var k={};if(P!=null)for(var _ in P)_!=="default"&&Object.prototype.hasOwnProperty.call(P,_)&&e(k,P,_);return r(k,P),k},i=ut&&ut.__importDefault||function(P){return P&&P.__esModule?P:{default:P}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.parseFeed=t.getFeed=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DefaultHandler=t.DomHandler=t.Parser=void 0;var s=Yc,l=Yc;Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return l.Parser}});var c=go,d=go;Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return d.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return d.DomHandler}});function p(P,k){var _=new c.DomHandler(void 0,k);return new s.Parser(_,k).end(P),_.root}t.parseDocument=p;function m(P,k){return p(P,k).children}t.parseDOM=m;function v(P,k,_){var E=new c.DomHandler(P,k,_);return new s.Parser(E,k)}t.createDomStream=v;var g=Zy;Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return i(g).default}}),t.ElementType=n(wl);var y=wp,w=wp;Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return w.getFeed}});var x={xmlMode:!0};function C(P,k){return k===void 0&&(k=x),(0,y.getFeed)(m(P,k))}t.parseFeed=C,t.DomUtils=n(wp)})(XC);var d$=t=>{if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},l0={};Object.defineProperty(l0,"__esModule",{value:!0});/*!
340
- * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
341
- *
342
- * Copyright (c) 2014-2017, Jon Schlinkert.
343
- * Released under the MIT License.
344
- */function Gw(t){return Object.prototype.toString.call(t)==="[object Object]"}function p$(t){var e,r;return Gw(t)===!1?!1:(e=t.constructor,e===void 0?!0:(r=e.prototype,!(Gw(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}l0.isPlainObject=p$;var f$=function(e){return h$(e)&&!m$(e)};function h$(t){return!!t&&typeof t=="object"}function m$(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||v$(t)}var g$=typeof Symbol=="function"&&Symbol.for,y$=g$?Symbol.for("react.element"):60103;function v$(t){return t.$$typeof===y$}function b$(t){return Array.isArray(t)?[]:{}}function Zc(t,e){return e.clone!==!1&&e.isMergeableObject(t)?il(b$(t),t,e):t}function x$(t,e,r){return t.concat(e).map(function(n){return Zc(n,r)})}function w$(t,e){if(!e.customMerge)return il;var r=e.customMerge(t);return typeof r=="function"?r:il}function S$(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}function Xw(t){return Object.keys(t).concat(S$(t))}function xE(t,e){try{return e in t}catch{return!1}}function C$(t,e){return xE(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function E$(t,e,r){var n={};return r.isMergeableObject(t)&&Xw(t).forEach(function(i){n[i]=Zc(t[i],r)}),Xw(e).forEach(function(i){C$(t,i)||(xE(t,i)&&r.isMergeableObject(e[i])?n[i]=w$(i,r)(t[i],e[i],r):n[i]=Zc(e[i],r))}),n}function il(t,e,r){r=r||{},r.arrayMerge=r.arrayMerge||x$,r.isMergeableObject=r.isMergeableObject||f$,r.cloneUnlessOtherwiseSpecified=Zc;var n=Array.isArray(e),i=Array.isArray(t),s=n===i;return s?n?r.arrayMerge(t,e,r):E$(t,e,r):Zc(e,r)}il.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(n,i){return il(n,i,r)},{})};var T$=il,k$=T$,wE={exports:{}};(function(t){(function(e,r){t.exports?t.exports=r():e.parseSrcset=r()})(ut,function(){return function(e){function r(E){return E===" "||E===" "||E===`
345
- `||E==="\f"||E==="\r"}function n(E){var A,I=E.exec(e.substring(C));if(I)return A=I[0],C+=A.length,A}for(var i=e.length,s=/^[ \t\n\r\u000c]+/,l=/^[, \t\n\r\u000c]+/,c=/^[^ \t\n\r\u000c]+/,d=/[,]+$/,p=/^\d+$/,m=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,v,g,y,w,x,C=0,P=[];;){if(n(l),C>=i)return P;v=n(c),g=[],v.slice(-1)===","?(v=v.replace(d,""),_()):k()}function k(){for(n(s),y="",w="in descriptor";;){if(x=e.charAt(C),w==="in descriptor")if(r(x))y&&(g.push(y),y="",w="after descriptor");else if(x===","){C+=1,y&&g.push(y),_();return}else if(x==="(")y=y+x,w="in parens";else if(x===""){y&&g.push(y),_();return}else y=y+x;else if(w==="in parens")if(x===")")y=y+x,w="in descriptor";else if(x===""){g.push(y),_();return}else y=y+x;else if(w==="after descriptor"&&!r(x))if(x===""){_();return}else w="in descriptor",C-=1;C+=1}}function _(){var E=!1,A,I,D,$,U={},X,H,M,W,G;for($=0;$<g.length;$++)X=g[$],H=X[X.length-1],M=X.substring(0,X.length-1),W=parseInt(M,10),G=parseFloat(M),p.test(M)&&H==="w"?((A||I)&&(E=!0),W===0?E=!0:A=W):m.test(M)&&H==="x"?((A||I||D)&&(E=!0),G<0?E=!0:I=G):p.test(M)&&H==="h"?((D||I)&&(E=!0),W===0?E=!0:D=W):E=!0;E?console&&console.log&&console.log("Invalid srcset descriptor found in '"+e+"' at '"+X+"'."):(U.url=v,A&&(U.w=A),I&&(U.d=I),D&&(U.h=D),P.push(U))}}})})(wE);var P$=wE.exports,c0={exports:{}},yt=String,SE=function(){return{isColorSupported:!1,reset:yt,bold:yt,dim:yt,italic:yt,underline:yt,inverse:yt,hidden:yt,strikethrough:yt,black:yt,red:yt,green:yt,yellow:yt,blue:yt,magenta:yt,cyan:yt,white:yt,gray:yt,bgBlack:yt,bgRed:yt,bgGreen:yt,bgYellow:yt,bgBlue:yt,bgMagenta:yt,bgCyan:yt,bgWhite:yt,blackBright:yt,redBright:yt,greenBright:yt,yellowBright:yt,blueBright:yt,magentaBright:yt,cyanBright:yt,whiteBright:yt,bgBlackBright:yt,bgRedBright:yt,bgGreenBright:yt,bgYellowBright:yt,bgBlueBright:yt,bgMagentaBright:yt,bgCyanBright:yt,bgWhiteBright:yt}};c0.exports=SE();c0.exports.createColors=SE;var M$=c0.exports,_$={},A$=Object.freeze({__proto__:null,default:_$}),bi=n7(A$);let Kw=M$,Qw=bi,Dg=class CE extends Error{constructor(e,r,n,i,s,l){super(e),this.name="CssSyntaxError",this.reason=e,s&&(this.file=s),i&&(this.source=i),l&&(this.plugin=l),typeof r<"u"&&typeof n<"u"&&(typeof r=="number"?(this.line=r,this.column=n):(this.line=r.line,this.column=r.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,CE)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let r=this.source;e==null&&(e=Kw.isColorSupported);let n=m=>m,i=m=>m,s=m=>m;if(e){let{bold:m,gray:v,red:g}=Kw.createColors(!0);i=y=>m(g(y)),n=y=>v(y),Qw&&(s=y=>Qw(y))}let l=r.split(/\r?\n/),c=Math.max(this.line-3,0),d=Math.min(this.line+2,l.length),p=String(d).length;return l.slice(c,d).map((m,v)=>{let g=c+1+v,y=" "+(" "+g).slice(-p)+" | ";if(g===this.line){if(m.length>160){let x=20,C=Math.max(0,this.column-x),P=Math.max(this.column+x,this.endColumn+x),k=m.slice(C,P),_=n(y.replace(/\d/g," "))+m.slice(0,Math.min(this.column-1,x-1)).replace(/[^\t]/g," ");return i(">")+n(y)+s(k)+`
346
- `+_+i("^")}let w=n(y.replace(/\d/g," "))+m.slice(0,this.column-1).replace(/[^\t]/g," ");return i(">")+n(y)+s(m)+`
347
- `+w+i("^")}return" "+n(y)+s(m)}).join(`
348
- `)}toString(){let e=this.showSourceCode();return e&&(e=`
349
-
350
- `+e+`
351
- `),this.name+": "+this.message+e}};var u0=Dg;Dg.default=Dg;const Yw={after:`
352
- `,beforeClose:`
353
- `,beforeComment:`
354
- `,beforeDecl:`
355
- `,beforeOpen:" ",beforeRule:`
356
- `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function R$(t){return t[0].toUpperCase()+t.slice(1)}let Fg=class{constructor(e){this.builder=e}atrule(e,r){let n="@"+e.name,i=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?n+=e.raws.afterName:i&&(n+=" "),e.nodes)this.block(e,n+i);else{let s=(e.raws.between||"")+(r?";":"");this.builder(n+i+s,e)}}beforeAfter(e,r){let n;e.type==="decl"?n=this.raw(e,null,"beforeDecl"):e.type==="comment"?n=this.raw(e,null,"beforeComment"):r==="before"?n=this.raw(e,null,"beforeRule"):n=this.raw(e,null,"beforeClose");let i=e.parent,s=0;for(;i&&i.type!=="root";)s+=1,i=i.parent;if(n.includes(`
357
- `)){let l=this.raw(e,null,"indent");if(l.length)for(let c=0;c<s;c++)n+=l}return n}block(e,r){let n=this.raw(e,"between","beforeOpen");this.builder(r+n+"{",e,"start");let i;e.nodes&&e.nodes.length?(this.body(e),i=this.raw(e,"after")):i=this.raw(e,"after","emptyBody"),i&&this.builder(i),this.builder("}",e,"end")}body(e){let r=e.nodes.length-1;for(;r>0&&e.nodes[r].type==="comment";)r-=1;let n=this.raw(e,"semicolon");for(let i=0;i<e.nodes.length;i++){let s=e.nodes[i],l=this.raw(s,"before");l&&this.builder(l),this.stringify(s,r!==i||n)}}comment(e){let r=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+r+e.text+n+"*/",e)}decl(e,r){let n=this.raw(e,"between","colon"),i=e.prop+n+this.rawValue(e,"value");e.important&&(i+=e.raws.important||" !important"),r&&(i+=";"),this.builder(i,e)}document(e){this.body(e)}raw(e,r,n){let i;if(n||(n=r),r&&(i=e.raws[r],typeof i<"u"))return i;let s=e.parent;if(n==="before"&&(!s||s.type==="root"&&s.first===e||s&&s.type==="document"))return"";if(!s)return Yw[n];let l=e.root();if(l.rawCache||(l.rawCache={}),typeof l.rawCache[n]<"u")return l.rawCache[n];if(n==="before"||n==="after")return this.beforeAfter(e,n);{let c="raw"+R$(n);this[c]?i=this[c](l,e):l.walk(d=>{if(i=d.raws[r],typeof i<"u")return!1})}return typeof i>"u"&&(i=Yw[n]),l.rawCache[n]=i,i}rawBeforeClose(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length>0&&typeof n.raws.after<"u")return r=n.raws.after,r.includes(`
358
- `)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawBeforeComment(e,r){let n;return e.walkComments(i=>{if(typeof i.raws.before<"u")return n=i.raws.before,n.includes(`
359
- `)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(r,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,r){let n;return e.walkDecls(i=>{if(typeof i.raws.before<"u")return n=i.raws.before,n.includes(`
360
- `)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(r,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(e){let r;return e.walk(n=>{if(n.type!=="decl"&&(r=n.raws.between,typeof r<"u"))return!1}),r}rawBeforeRule(e){let r;return e.walk(n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&typeof n.raws.before<"u")return r=n.raws.before,r.includes(`
361
- `)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawColon(e){let r;return e.walkDecls(n=>{if(typeof n.raws.between<"u")return r=n.raws.between.replace(/[^\s:]/g,""),!1}),r}rawEmptyBody(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length===0&&(r=n.raws.after,typeof r<"u"))return!1}),r}rawIndent(e){if(e.raws.indent)return e.raws.indent;let r;return e.walk(n=>{let i=n.parent;if(i&&i!==e&&i.parent&&i.parent===e&&typeof n.raws.before<"u"){let s=n.raws.before.split(`
362
- `);return r=s[s.length-1],r=r.replace(/\S/g,""),!1}}),r}rawSemicolon(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length&&n.last.type==="decl"&&(r=n.raws.semicolon,typeof r<"u"))return!1}),r}rawValue(e,r){let n=e[r],i=e.raws[r];return i&&i.value===n?i.raw:n}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,r){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,r)}};var EE=Fg;Fg.default=Fg;let I$=EE;function Hg(t,e){new I$(e).stringify(t)}var Of=Hg;Hg.default=Hg;var Tu={};Tu.isClean=Symbol("isClean");Tu.my=Symbol("my");let j$=u0,O$=EE,L$=Of,{isClean:yc,my:N$}=Tu;function Vg(t,e){let r=new t.constructor;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n)||n==="proxyCache")continue;let i=t[n],s=typeof i;n==="parent"&&s==="object"?e&&(r[n]=e):n==="source"?r[n]=i:Array.isArray(i)?r[n]=i.map(l=>Vg(l,r)):(s==="object"&&i!==null&&(i=Vg(i)),r[n]=i)}return r}function so(t,e){if(e&&typeof e.offset<"u")return e.offset;let r=1,n=1,i=0;for(let s=0;s<t.length;s++){if(n===e.line&&r===e.column){i=s;break}t[s]===`
363
- `?(r=1,n+=1):r+=1}return i}let Ug=class{get proxyOf(){return this}constructor(e={}){this.raws={},this[yc]=!1,this[N$]=!0;for(let r in e)if(r==="nodes"){this.nodes=[];for(let n of e[r])typeof n.clone=="function"?this.append(n.clone()):this.append(n)}else this[r]=e[r]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let r=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${r.input.from}:${r.start.line}:${r.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let r in e)this[r]=e[r];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let r=Vg(this);for(let n in e)r[n]=e[n];return r}cloneAfter(e={}){let r=this.clone(e);return this.parent.insertAfter(this,r),r}cloneBefore(e={}){let r=this.clone(e);return this.parent.insertBefore(this,r),r}error(e,r={}){if(this.source){let{end:n,start:i}=this.rangeBy(r);return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},r)}return new j$(e)}getProxyProcessor(){return{get(e,r){return r==="proxyOf"?e:r==="root"?()=>e.root().toProxy():e[r]},set(e,r,n){return e[r]===n||(e[r]=n,(r==="prop"||r==="value"||r==="name"||r==="params"||r==="important"||r==="text")&&e.markDirty()),!0}}}markClean(){this[yc]=!0}markDirty(){if(this[yc]){this[yc]=!1;let e=this;for(;e=e.parent;)e[yc]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let r=this.source.start;if(e.index)r=this.positionInside(e.index);else if(e.word){let n="document"in this.source.input?this.source.input.document:this.source.input.css,s=n.slice(so(n,this.source.start),so(n,this.source.end)).indexOf(e.word);s!==-1&&(r=this.positionInside(s))}return r}positionInside(e){let r=this.source.start.column,n=this.source.start.line,i="document"in this.source.input?this.source.input.document:this.source.input.css,s=so(i,this.source.start),l=s+e;for(let c=s;c<l;c++)i[c]===`
364
- `?(r=1,n+=1):r+=1;return{column:r,line:n,offset:l}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e={}){let r="document"in this.source.input?this.source.input.document:this.source.input.css,n={column:this.source.start.column,line:this.source.start.line,offset:so(r,this.source.start)},i=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:so(r,this.source.end)+1}:{column:n.column+1,line:n.line,offset:n.offset+1};if(e.word){let l=r.slice(so(r,this.source.start),so(r,this.source.end)).indexOf(e.word);l!==-1&&(n=this.positionInside(l),i=this.positionInside(l+e.word.length))}else e.start?n={column:e.start.column,line:e.start.line,offset:so(r,e.start)}:e.index&&(n=this.positionInside(e.index)),e.end?i={column:e.end.column,line:e.end.line,offset:so(r,e.end)}:typeof e.endIndex=="number"?i=this.positionInside(e.endIndex):e.index&&(i=this.positionInside(e.index+1));return(i.line<n.line||i.line===n.line&&i.column<=n.column)&&(i={column:n.column+1,line:n.line,offset:n.offset+1}),{end:i,start:n}}raw(e,r){return new O$().raw(this,e,r)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let r=this,n=!1;for(let i of e)i===this?n=!0:n?(this.parent.insertAfter(r,i),r=i):this.parent.insertBefore(r,i);n||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,r){let n={},i=r==null;r=r||new Map;let s=0;for(let l in this){if(!Object.prototype.hasOwnProperty.call(this,l)||l==="parent"||l==="proxyCache")continue;let c=this[l];if(Array.isArray(c))n[l]=c.map(d=>typeof d=="object"&&d.toJSON?d.toJSON(null,r):d);else if(typeof c=="object"&&c.toJSON)n[l]=c.toJSON(null,r);else if(l==="source"){if(c==null)continue;let d=r.get(c.input);d==null&&(d=s,r.set(c.input,s),s++),n[l]={end:c.end,inputId:d,start:c.start}}else n[l]=c}return i&&(n.inputs=[...r.keys()].map(l=>l.toJSON())),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=L$){e.stringify&&(e=e.stringify);let r="";return e(this,n=>{r+=n}),r}warn(e,r,n={}){let i={node:this};for(let s in n)i[s]=n[s];return e.warn(r,i)}};var Lf=Ug;Ug.default=Ug;let $$=Lf,Wg=class extends $${constructor(e){super(e),this.type="comment"}};var Nf=Wg;Wg.default=Wg;let z$=Lf,qg=class extends z${get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}};var $f=qg;qg.default=qg;let TE=Nf,kE=$f,B$=Lf,{isClean:PE,my:ME}=Tu,d0,_E,AE,p0;function RE(t){return t.map(e=>(e.nodes&&(e.nodes=RE(e.nodes)),delete e.source,e))}function IE(t){if(t[PE]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)IE(e)}let yo=class jE extends B${get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let r of e){let n=this.normalize(r,this.last);for(let i of n)this.proxyOf.nodes.push(i)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let r of this.nodes)r.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let r=this.getIterator(),n,i;for(;this.indexes[r]<this.proxyOf.nodes.length&&(n=this.indexes[r],i=e(this.proxyOf.nodes[n],n),i!==!1);)this.indexes[r]+=1;return delete this.indexes[r],i}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,r){return r==="proxyOf"?e:e[r]?r==="each"||typeof r=="string"&&r.startsWith("walk")?(...n)=>e[r](...n.map(i=>typeof i=="function"?(s,l)=>i(s.toProxy(),l):i)):r==="every"||r==="some"?n=>e[r]((i,...s)=>n(i.toProxy(),...s)):r==="root"?()=>e.root().toProxy():r==="nodes"?e.nodes.map(n=>n.toProxy()):r==="first"||r==="last"?e[r].toProxy():e[r]:e[r]},set(e,r,n){return e[r]===n||(e[r]=n,(r==="name"||r==="params"||r==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,r){let n=this.index(e),i=this.normalize(r,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let l of i)this.proxyOf.nodes.splice(n+1,0,l);let s;for(let l in this.indexes)s=this.indexes[l],n<s&&(this.indexes[l]=s+i.length);return this.markDirty(),this}insertBefore(e,r){let n=this.index(e),i=n===0?"prepend":!1,s=this.normalize(r,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(let c of s)this.proxyOf.nodes.splice(n,0,c);let l;for(let c in this.indexes)l=this.indexes[c],n<=l&&(this.indexes[c]=l+s.length);return this.markDirty(),this}normalize(e,r){if(typeof e=="string")e=RE(_E(e).nodes);else if(typeof e>"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new kE(e)]}else if(e.selector||e.selectors)e=[new p0(e)];else if(e.name)e=[new d0(e)];else if(e.text)e=[new TE(e)];else throw new Error("Unknown node type in node creation");return e.map(i=>(i[ME]||jE.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[PE]&&IE(i),i.raws||(i.raws={}),typeof i.raws.before>"u"&&r&&typeof r.raws.before<"u"&&(i.raws.before=r.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}prepend(...e){e=e.reverse();for(let r of e){let n=this.normalize(r,this.first,"prepend").reverse();for(let i of n)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+n.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let r;for(let n in this.indexes)r=this.indexes[n],r>=e&&(this.indexes[n]=r-1);return this.markDirty(),this}replaceValues(e,r,n){return n||(n=r,r={}),this.walkDecls(i=>{r.props&&!r.props.includes(i.prop)||r.fast&&!i.value.includes(r.fast)||(i.value=i.value.replace(e,n))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((r,n)=>{let i;try{i=e(r,n)}catch(s){throw r.addToError(s)}return i!==!1&&r.walk&&(i=r.walk(e)),i})}walkAtRules(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="atrule"&&e.test(n.name))return r(n,i)}):this.walk((n,i)=>{if(n.type==="atrule"&&n.name===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="atrule")return r(n,i)}))}walkComments(e){return this.walk((r,n)=>{if(r.type==="comment")return e(r,n)})}walkDecls(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="decl"&&e.test(n.prop))return r(n,i)}):this.walk((n,i)=>{if(n.type==="decl"&&n.prop===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="decl")return r(n,i)}))}walkRules(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="rule"&&e.test(n.selector))return r(n,i)}):this.walk((n,i)=>{if(n.type==="rule"&&n.selector===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="rule")return r(n,i)}))}};yo.registerParse=t=>{_E=t};yo.registerRule=t=>{p0=t};yo.registerAtRule=t=>{d0=t};yo.registerRoot=t=>{AE=t};var rs=yo;yo.default=yo;yo.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,d0.prototype):t.type==="rule"?Object.setPrototypeOf(t,p0.prototype):t.type==="decl"?Object.setPrototypeOf(t,kE.prototype):t.type==="comment"?Object.setPrototypeOf(t,TE.prototype):t.type==="root"&&Object.setPrototypeOf(t,AE.prototype),t[ME]=!0,t.nodes&&t.nodes.forEach(e=>{yo.rebuild(e)})};let OE=rs,Vp=class extends OE{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};var f0=Vp;Vp.default=Vp;OE.registerAtRule(Vp);let D$=rs,LE,NE,eu=class extends D${constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new LE(new NE,this,e).stringify()}};eu.registerLazyResult=t=>{LE=t};eu.registerProcessor=t=>{NE=t};var h0=eu;eu.default=eu;let F$="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",H$=(t=21)=>{let e="",r=t|0;for(;r--;)e+=F$[Math.random()*64|0];return e};var V$={nanoid:H$};let{existsSync:U$,readFileSync:W$}=bi,{dirname:Qm,join:q$}=bi,{SourceMapConsumer:Jw,SourceMapGenerator:Zw}=bi;function G$(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}let Gg=class{constructor(e,r){if(r.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=r.map?r.map.prev:void 0,i=this.loadMap(r.from,n);!this.mapFile&&r.from&&(this.mapFile=r.from),this.mapFile&&(this.root=Qm(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new Jw(this.text)),this.consumerCache}decodeInline(e){let r=/^data:application\/json;charset=utf-?8;base64,/,n=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,s=/^data:application\/json,/,l=e.match(i)||e.match(s);if(l)return decodeURIComponent(e.substr(l[0].length));let c=e.match(r)||e.match(n);if(c)return G$(e.substr(c[0].length));let d=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+d)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}loadAnnotation(e){let r=e.match(/\/\*\s*# sourceMappingURL=/g);if(!r)return;let n=e.lastIndexOf(r.pop()),i=e.indexOf("*/",n);n>-1&&i>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,i)))}loadFile(e){if(this.root=Qm(e),U$(e))return this.mapFile=e,W$(e,"utf-8").toString().trim()}loadMap(e,r){if(r===!1)return!1;if(r){if(typeof r=="string")return r;if(typeof r=="function"){let n=r(e);if(n){let i=this.loadFile(n);if(!i)throw new Error("Unable to load previous source map: "+n.toString());return i}}else{if(r instanceof Jw)return Zw.fromSourceMap(r).toString();if(r instanceof Zw)return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let n=this.annotation;return e&&(n=q$(Qm(e),n)),this.loadFile(n)}}}startWith(e,r){return e?e.substr(0,r.length)===r:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};var $E=Gg;Gg.default=Gg;let{nanoid:X$}=V$,{isAbsolute:Xg,resolve:Kg}=bi,{SourceMapConsumer:K$,SourceMapGenerator:Q$}=bi,{fileURLToPath:eS,pathToFileURL:tp}=bi,tS=u0,Y$=$E,Ym=bi,Jm=Symbol("lineToIndexCache"),J$=!!(K$&&Q$),rS=!!(Kg&&Xg);function nS(t){if(t[Jm])return t[Jm];let e=t.css.split(`
365
- `),r=new Array(e.length),n=0;for(let i=0,s=e.length;i<s;i++)r[i]=n,n+=e[i].length+1;return t[Jm]=r,r}let Up=class{get from(){return this.file||this.id}constructor(e,r={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,r.document&&(this.document=r.document.toString()),r.from&&(!rS||/^\w+:\/\//.test(r.from)||Xg(r.from)?this.file=r.from:this.file=Kg(r.from)),rS&&J$){let n=new Y$(this.css,r);if(n.text){this.map=n;let i=n.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id="<input css "+X$(6)+">"),this.map&&(this.map.file=this.from)}error(e,r,n,i={}){let s,l,c,d,p;if(r&&typeof r=="object"){let v=r,g=n;if(typeof v.offset=="number"){d=v.offset;let y=this.fromOffset(d);r=y.line,n=y.col}else r=v.line,n=v.column,d=this.fromLineAndColumn(r,n);if(typeof g.offset=="number"){c=g.offset;let y=this.fromOffset(c);l=y.line,s=y.col}else l=g.line,s=g.column,c=this.fromLineAndColumn(g.line,g.column)}else if(n)d=this.fromLineAndColumn(r,n);else{d=r;let v=this.fromOffset(d);r=v.line,n=v.col}let m=this.origin(r,n,l,s);return m?p=new tS(e,m.endLine===void 0?m.line:{column:m.column,line:m.line},m.endLine===void 0?m.column:{column:m.endColumn,line:m.endLine},m.source,m.file,i.plugin):p=new tS(e,l===void 0?r:{column:n,line:r},l===void 0?n:{column:s,line:l},this.css,this.file,i.plugin),p.input={column:n,endColumn:s,endLine:l,endOffset:c,line:r,offset:d,source:this.css},this.file&&(tp&&(p.input.url=tp(this.file).toString()),p.input.file=this.file),p}fromLineAndColumn(e,r){return nS(this)[e-1]+r-1}fromOffset(e){let r=nS(this),n=r[r.length-1],i=0;if(e>=n)i=r.length-1;else{let s=r.length-2,l;for(;i<s;)if(l=i+(s-i>>1),e<r[l])s=l-1;else if(e>=r[l+1])i=l+1;else{i=l;break}}return{col:e-r[i]+1,line:i+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:Kg(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,r,n,i){if(!this.map)return!1;let s=this.map.consumer(),l=s.originalPositionFor({column:r,line:e});if(!l.source)return!1;let c;typeof n=="number"&&(c=s.originalPositionFor({column:i,line:n}));let d;Xg(l.source)?d=tp(l.source):d=new URL(l.source,this.map.consumer().sourceRoot||tp(this.map.mapFile));let p={column:l.column,endColumn:c&&c.column,endLine:c&&c.line,line:l.line,url:d.toString()};if(d.protocol==="file:")if(eS)p.file=eS(d);else throw new Error("file: protocol is not available in this PostCSS build");let m=s.sourceContentFor(l.source);return m&&(p.source=m),p}toJSON(){let e={};for(let r of["hasBOM","css","file","id"])this[r]!=null&&(e[r]=this[r]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};var zf=Up;Up.default=Up;Ym&&Ym.registerInput&&Ym.registerInput(Up);let zE=rs,BE,DE,ol=class extends zE{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,r,n){let i=super.normalize(e);if(r){if(n==="prepend")this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(let s of i)s.raws.before=r.raws.before}return i}removeChild(e,r){let n=this.index(e);return!r&&n===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new BE(new DE,this,e).stringify()}};ol.registerLazyResult=t=>{BE=t};ol.registerProcessor=t=>{DE=t};var ku=ol;ol.default=ol;zE.registerRoot(ol);let tu={comma(t){return tu.split(t,[","],!0)},space(t){let e=[" ",`
366
- `," "];return tu.split(t,e)},split(t,e,r){let n=[],i="",s=!1,l=0,c=!1,d="",p=!1;for(let m of t)p?p=!1:m==="\\"?p=!0:c?m===d&&(c=!1):m==='"'||m==="'"?(c=!0,d=m):m==="("?l+=1:m===")"?l>0&&(l-=1):l===0&&e.includes(m)&&(s=!0),s?(i!==""&&n.push(i.trim()),i="",s=!1):i+=m;return(r||i!=="")&&n.push(i.trim()),n}};var FE=tu;tu.default=tu;let HE=rs,Z$=FE,Wp=class extends HE{get selectors(){return Z$.comma(this.selector)}set selectors(e){let r=this.selector?this.selector.match(/,\s*/):null,n=r?r[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}};var m0=Wp;Wp.default=Wp;HE.registerRule(Wp);let ez=f0,tz=Nf,rz=$f,nz=zf,iz=$E,oz=ku,az=m0;function ru(t,e){if(Array.isArray(t))return t.map(i=>ru(i));let{inputs:r,...n}=t;if(r){e=[];for(let i of r){let s={...i,__proto__:nz.prototype};s.map&&(s.map={...s.map,__proto__:iz.prototype}),e.push(s)}}if(n.nodes&&(n.nodes=t.nodes.map(i=>ru(i,e))),n.source){let{inputId:i,...s}=n.source;n.source=s,i!=null&&(n.source.input=e[i])}if(n.type==="root")return new oz(n);if(n.type==="decl")return new rz(n);if(n.type==="rule")return new az(n);if(n.type==="comment")return new tz(n);if(n.type==="atrule")return new ez(n);throw new Error("Unknown node type: "+t.type)}var sz=ru;ru.default=ru;let{dirname:Cp,relative:VE,resolve:UE,sep:WE}=bi,{SourceMapConsumer:qE,SourceMapGenerator:Ep}=bi,{pathToFileURL:iS}=bi,lz=zf,cz=!!(qE&&Ep),uz=!!(Cp&&UE&&VE&&WE),dz=class{constructor(e,r,n,i){this.stringify=e,this.mapOpts=n.map||{},this.root=r,this.opts=n,this.css=i,this.originalCSS=i,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";let r=`
367
- `;this.css.includes(`\r
368
- `)&&(r=`\r
369
- `),this.css+=r+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let r=this.toUrl(this.path(e.file)),n=e.root||Cp(e.file),i;this.mapOpts.sourcesContent===!1?(i=new qE(e.text),i.sourcesContent&&(i.sourcesContent=null)):i=e.consumer(),this.map.applySourceMap(i,r,this.toUrl(this.path(n)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let e;for(let r=this.root.nodes.length-1;r>=0;r--)e=this.root.nodes[r],e.type==="comment"&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(r)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),uz&&cz&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,r=>{e+=r}),[e]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=Ep.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new Ep({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new Ep({file:this.outputFile(),ignoreInvalidMapping:!0});let e=1,r=1,n="<no source>",i={generated:{column:0,line:0},original:{column:0,line:0},source:""},s,l;this.stringify(this.root,(c,d,p)=>{if(this.css+=c,d&&p!=="end"&&(i.generated.line=e,i.generated.column=r-1,d.source&&d.source.start?(i.source=this.sourcePath(d),i.original.line=d.source.start.line,i.original.column=d.source.start.column-1,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,this.map.addMapping(i))),l=c.match(/\n/g),l?(e+=l.length,s=c.lastIndexOf(`
370
- `),r=c.length-s):r+=c.length,d&&p!=="start"){let m=d.parent||{raws:{}};(!(d.type==="decl"||d.type==="atrule"&&!d.nodes)||d!==m.last||m.raws.semicolon)&&(d.source&&d.source.end?(i.source=this.sourcePath(d),i.original.line=d.source.end.line,i.original.column=d.source.end.column-1,i.generated.line=e,i.generated.column=r-2,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,i.generated.line=e,i.generated.column=r-1,this.map.addMapping(i)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(r=>r.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let r=this.memoizedPaths.get(e);if(r)return r;let n=this.opts.to?Cp(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(n=Cp(UE(n,this.mapOpts.annotation)));let i=VE(n,e);return this.memoizedPaths.set(e,i),i}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let r=e.source.input.map;this.previousMaps.includes(r)||this.previousMaps.push(r)}});else{let e=new lz(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(r=>{if(r.source){let n=r.source.input.from;if(n&&!e[n]){e[n]=!0;let i=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(i,r.source.input.css)}}});else if(this.css){let r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let r=this.memoizedFileURLs.get(e);if(r)return r;if(iS){let n=iS(e).toString();return this.memoizedFileURLs.set(e,n),n}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let r=this.memoizedURLs.get(e);if(r)return r;WE==="\\"&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}};var GE=dz;const Zm=39,oS=34,rp=92,aS=47,np=10,vc=32,ip=12,op=9,ap=13,pz=91,fz=93,hz=40,mz=41,gz=123,yz=125,vz=59,bz=42,xz=58,wz=64,sp=/[\t\n\f\r "#'()/;[\\\]{}]/g,lp=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Sz=/.[\r\n"'(/\\]/,sS=/[\da-f]/i;var Cz=function(e,r={}){let n=e.css.valueOf(),i=r.ignoreErrors,s,l,c,d,p,m,v,g,y,w,x=n.length,C=0,P=[],k=[];function _(){return C}function E($){throw e.error("Unclosed "+$,C)}function A(){return k.length===0&&C>=x}function I($){if(k.length)return k.pop();if(C>=x)return;let U=$?$.ignoreUnclosed:!1;switch(s=n.charCodeAt(C),s){case np:case vc:case op:case ap:case ip:{d=C;do d+=1,s=n.charCodeAt(d);while(s===vc||s===np||s===op||s===ap||s===ip);m=["space",n.slice(C,d)],C=d-1;break}case pz:case fz:case gz:case yz:case xz:case vz:case mz:{let X=String.fromCharCode(s);m=[X,X,C];break}case hz:{if(w=P.length?P.pop()[1]:"",y=n.charCodeAt(C+1),w==="url"&&y!==Zm&&y!==oS&&y!==vc&&y!==np&&y!==op&&y!==ip&&y!==ap){d=C;do{if(v=!1,d=n.indexOf(")",d+1),d===-1)if(i||U){d=C;break}else E("bracket");for(g=d;n.charCodeAt(g-1)===rp;)g-=1,v=!v}while(v);m=["brackets",n.slice(C,d+1),C,d],C=d}else d=n.indexOf(")",C+1),l=n.slice(C,d+1),d===-1||Sz.test(l)?m=["(","(",C]:(m=["brackets",l,C,d],C=d);break}case Zm:case oS:{p=s===Zm?"'":'"',d=C;do{if(v=!1,d=n.indexOf(p,d+1),d===-1)if(i||U){d=C+1;break}else E("string");for(g=d;n.charCodeAt(g-1)===rp;)g-=1,v=!v}while(v);m=["string",n.slice(C,d+1),C,d],C=d;break}case wz:{sp.lastIndex=C+1,sp.test(n),sp.lastIndex===0?d=n.length-1:d=sp.lastIndex-2,m=["at-word",n.slice(C,d+1),C,d],C=d;break}case rp:{for(d=C,c=!0;n.charCodeAt(d+1)===rp;)d+=1,c=!c;if(s=n.charCodeAt(d+1),c&&s!==aS&&s!==vc&&s!==np&&s!==op&&s!==ap&&s!==ip&&(d+=1,sS.test(n.charAt(d)))){for(;sS.test(n.charAt(d+1));)d+=1;n.charCodeAt(d+1)===vc&&(d+=1)}m=["word",n.slice(C,d+1),C,d],C=d;break}default:{s===aS&&n.charCodeAt(C+1)===bz?(d=n.indexOf("*/",C+2)+1,d===0&&(i||U?d=n.length:E("comment")),m=["comment",n.slice(C,d+1),C,d],C=d):(lp.lastIndex=C+1,lp.test(n),lp.lastIndex===0?d=n.length-1:d=lp.lastIndex-2,m=["word",n.slice(C,d+1),C,d],P.push(m),C=d);break}}return C++,m}function D($){k.push($)}return{back:D,endOfFile:A,nextToken:I,position:_}};let Ez=f0,Tz=Nf,kz=$f,Pz=ku,lS=m0,Mz=Cz;const cS={empty:!0,space:!0};function _z(t){for(let e=t.length-1;e>=0;e--){let r=t[e],n=r[3]||r[2];if(n)return n}}let Az=class{constructor(e){this.input=e,this.root=new Pz,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let r=new Ez;r.name=e[1].slice(1),r.name===""&&this.unnamedAtrule(r,e),this.init(r,e[2]);let n,i,s,l=!1,c=!1,d=[],p=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),n=e[0],n==="("||n==="["?p.push(n==="("?")":"]"):n==="{"&&p.length>0?p.push("}"):n===p[p.length-1]&&p.pop(),p.length===0)if(n===";"){r.source.end=this.getPosition(e[2]),r.source.end.offset++,this.semicolon=!0;break}else if(n==="{"){c=!0;break}else if(n==="}"){if(d.length>0){for(s=d.length-1,i=d[s];i&&i[0]==="space";)i=d[--s];i&&(r.source.end=this.getPosition(i[3]||i[2]),r.source.end.offset++)}this.end(e);break}else d.push(e);else d.push(e);if(this.tokenizer.endOfFile()){l=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(d),d.length?(r.raws.afterName=this.spacesAndCommentsFromStart(d),this.raw(r,"params",d),l&&(e=d[d.length-1],r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++,this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),c&&(r.nodes=[],this.current=r)}checkMissedSemicolon(e){let r=this.colon(e);if(r===!1)return;let n=0,i;for(let s=r-1;s>=0&&(i=e[s],!(i[0]!=="space"&&(n+=1,n===2)));s--);throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}colon(e){let r=0,n,i,s;for(let[l,c]of e.entries()){if(i=c,s=i[0],s==="("&&(r+=1),s===")"&&(r-=1),r===0&&s===":")if(!n)this.doubleColon(i);else{if(n[0]==="word"&&n[1]==="progid")continue;return l}n=i}return!1}comment(e){let r=new Tz;this.init(r,e[2]),r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n))r.text="",r.raws.left=n,r.raws.right="";else{let i=n.match(/^(\s*)([^]*\S)(\s*)$/);r.text=i[2],r.raws.left=i[1],r.raws.right=i[3]}}createTokenizer(){this.tokenizer=Mz(this.input)}decl(e,r){let n=new kz;this.init(n,e[0][2]);let i=e[e.length-1];for(i[0]===";"&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||_z(e)),n.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let p=e[0][0];if(p===":"||p==="space"||p==="comment")break;n.prop+=e.shift()[1]}n.raws.between="";let s;for(;e.length;)if(s=e.shift(),s[0]===":"){n.raws.between+=s[1];break}else s[0]==="word"&&/\w/.test(s[1])&&this.unknownWord([s]),n.raws.between+=s[1];(n.prop[0]==="_"||n.prop[0]==="*")&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let l=[],c;for(;e.length&&(c=e[0][0],!(c!=="space"&&c!=="comment"));)l.push(e.shift());this.precheckMissedSemicolon(e);for(let p=e.length-1;p>=0;p--){if(s=e[p],s[1].toLowerCase()==="!important"){n.important=!0;let m=this.stringFrom(e,p);m=this.spacesFromEnd(e)+m,m!==" !important"&&(n.raws.important=m);break}else if(s[1].toLowerCase()==="important"){let m=e.slice(0),v="";for(let g=p;g>0;g--){let y=m[g][0];if(v.trim().startsWith("!")&&y!=="space")break;v=m.pop()[1]+v}v.trim().startsWith("!")&&(n.important=!0,n.raws.important=v,e=m)}if(s[0]!=="space"&&s[0]!=="comment")break}e.some(p=>p[0]!=="space"&&p[0]!=="comment")&&(n.raws.between+=l.map(p=>p[1]).join(""),l=[]),this.raw(n,"value",l.concat(e),r),n.value.includes(":")&&!r&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let r=new lS;this.init(r,e[2]),r.selector="",r.raws.between="",this.current=r}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="",r.source.end=this.getPosition(e[2]),r.source.end.offset+=r.raws.ownSemicolon.length)}}getPosition(e){let r=this.input.fromOffset(e);return{column:r.col,line:r.line,offset:e}}init(e,r){this.current.push(e),e.source={input:this.input,start:this.getPosition(r)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let r=!1,n=null,i=!1,s=null,l=[],c=e[1].startsWith("--"),d=[],p=e;for(;p;){if(n=p[0],d.push(p),n==="("||n==="[")s||(s=p),l.push(n==="("?")":"]");else if(c&&i&&n==="{")s||(s=p),l.push("}");else if(l.length===0)if(n===";")if(i){this.decl(d,c);return}else break;else if(n==="{"){this.rule(d);return}else if(n==="}"){this.tokenizer.back(d.pop()),r=!0;break}else n===":"&&(i=!0);else n===l[l.length-1]&&(l.pop(),l.length===0&&(s=null));p=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(r=!0),l.length>0&&this.unclosedBracket(s),r&&i){if(!c)for(;d.length&&(p=d[d.length-1][0],!(p!=="space"&&p!=="comment"));)this.tokenizer.back(d.pop());this.decl(d,c)}else this.unknownWord(d)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,r,n,i){let s,l,c=n.length,d="",p=!0,m,v;for(let g=0;g<c;g+=1)s=n[g],l=s[0],l==="space"&&g===c-1&&!i?p=!1:l==="comment"?(v=n[g-1]?n[g-1][0]:"empty",m=n[g+1]?n[g+1][0]:"empty",!cS[v]&&!cS[m]?d.slice(-1)===","?p=!1:d+=s[1]:p=!1):d+=s[1];if(!p){let g=n.reduce((y,w)=>y+w[1],"");e.raws[r]={raw:g,value:d}}e[r]=d}rule(e){e.pop();let r=new lS;this.init(r,e[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(r,"selector",e),this.current=r}spacesAndCommentsFromEnd(e){let r,n="";for(;e.length&&(r=e[e.length-1][0],!(r!=="space"&&r!=="comment"));)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let r,n="";for(;e.length&&(r=e[0][0],!(r!=="space"&&r!=="comment"));)n+=e.shift()[1];return n}spacesFromEnd(e){let r,n="";for(;e.length&&(r=e[e.length-1][0],r==="space");)n=e.pop()[1]+n;return n}stringFrom(e,r){let n="";for(let i=r;i<e.length;i++)n+=e[i][1];return e.splice(r,e.length-r),n}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word "+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,r){throw this.input.error("At-rule without name",{offset:r[2]},{offset:r[2]+r[1].length})}};var Rz=Az;let Iz=rs,jz=zf,Oz=Rz;function qp(t,e){let r=new jz(t,e),n=new Oz(r);try{n.parse()}catch(i){throw i.name==="CssSyntaxError"&&e&&e.from&&(/\.scss$/i.test(e.from)?i.message+=`
371
- You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(e.from)?i.message+=`
372
- You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(e.from)&&(i.message+=`
373
- You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),i}return n.root}var g0=qp;qp.default=qp;Iz.registerParse(qp);let Qg=class{constructor(e,r={}){if(this.type="warning",this.text=e,r.node&&r.node.source){let n=r.node.rangeBy(r);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(let n in r)this[n]=r[n]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};var XE=Qg;Qg.default=Qg;let Lz=XE,Yg=class{get content(){return this.css}constructor(e,r,n){this.processor=e,this.messages=[],this.root=r,this.opts=n,this.css="",this.map=void 0}toString(){return this.css}warn(e,r={}){r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);let n=new Lz(e,r);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>e.type==="warning")}};var y0=Yg;Yg.default=Yg;let uS={};var KE=function(e){uS[e]||(uS[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))};let Nz=rs,$z=h0,zz=GE,Bz=g0,dS=y0,Dz=ku,Fz=Of,{isClean:Ai,my:Hz}=Tu,Vz=KE;const Uz={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Wz={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},qz={Once:!0,postcssPlugin:!0,prepare:!0},al=0;function bc(t){return typeof t=="object"&&typeof t.then=="function"}function QE(t){let e=!1,r=Uz[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[r,r+"-"+e,al,r+"Exit",r+"Exit-"+e]:e?[r,r+"-"+e,r+"Exit",r+"Exit-"+e]:t.append?[r,al,r+"Exit"]:[r,r+"Exit"]}function pS(t){let e;return t.type==="document"?e=["Document",al,"DocumentExit"]:t.type==="root"?e=["Root",al,"RootExit"]:e=QE(t),{eventIndex:0,events:e,iterator:0,node:t,visitorIndex:0,visitors:[]}}function Jg(t){return t[Ai]=!1,t.nodes&&t.nodes.forEach(e=>Jg(e)),t}let Zg={},sl=class YE{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(e,r,n){this.stringified=!1,this.processed=!1;let i;if(typeof r=="object"&&r!==null&&(r.type==="root"||r.type==="document"))i=Jg(r);else if(r instanceof YE||r instanceof dS)i=Jg(r.root),r.map&&(typeof n.map>"u"&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{let s=Bz;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{i=s(r,n)}catch(l){this.processed=!0,this.error=l}i&&!i[Hz]&&Nz.rebuild(i)}this.result=new dS(e,i,n),this.helpers={...Zg,postcss:Zg,result:this.result},this.plugins=this.processor.plugins.map(s=>typeof s=="object"&&s.prepare?{...s,...s.prepare(this.result)}:s)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,r){let n=this.result.lastPlugin;try{if(r&&r.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=n.postcssPlugin,e.setMessage();else if(n.postcssVersion){let i=n.postcssPlugin,s=n.postcssVersion,l=this.result.processor.version,c=s.split("."),d=l.split(".");(c[0]!==d[0]||parseInt(c[1])>parseInt(d[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+l+", but "+i+" uses "+s+". Perhaps this is the source of the error below.")}}catch(i){console&&console.error&&console.error(i)}return e}prepareVisitors(){this.listeners={};let e=(r,n,i)=>{this.listeners[n]||(this.listeners[n]=[]),this.listeners[n].push([r,i])};for(let r of this.plugins)if(typeof r=="object")for(let n in r){if(!Wz[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${r.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!qz[n])if(typeof r[n]=="object")for(let i in r[n])i==="*"?e(r,n,r[n][i]):e(r,n+"-"+i.toLowerCase(),r[n][i]);else typeof r[n]=="function"&&e(r,n,r[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let r=this.plugins[e],n=this.runOnRoot(r);if(bc(n))try{await n}catch(i){throw this.handleError(i)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Ai];){e[Ai]=!0;let r=[pS(e)];for(;r.length>0;){let n=this.visitTick(r);if(bc(n))try{await n}catch(i){let s=r[r.length-1].node;throw this.handleError(i,s)}}}if(this.listeners.OnceExit)for(let[r,n]of this.listeners.OnceExit){this.result.lastPlugin=r;try{if(e.type==="document"){let i=e.nodes.map(s=>n(s,this.helpers));await Promise.all(i)}else await n(e,this.helpers)}catch(i){throw this.handleError(i)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let r=this.result.root.nodes.map(n=>e.Once(n,this.helpers));return bc(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(r){throw this.handleError(r)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,r=Fz;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);let i=new zz(r,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let r=this.runOnRoot(e);if(bc(r))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Ai];)e[Ai]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let r of e.nodes)this.visitSync(this.listeners.OnceExit,r);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,r){return"from"in this.opts||Vz("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning."),this.async().then(e,r)}toString(){return this.css}visitSync(e,r){for(let[n,i]of e){this.result.lastPlugin=n;let s;try{s=i(r,this.helpers)}catch(l){throw this.handleError(l,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;if(bc(s))throw this.getAsyncError()}}visitTick(e){let r=e[e.length-1],{node:n,visitors:i}=r;if(n.type!=="root"&&n.type!=="document"&&!n.parent){e.pop();return}if(i.length>0&&r.visitorIndex<i.length){let[l,c]=i[r.visitorIndex];r.visitorIndex+=1,r.visitorIndex===i.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=l;try{return c(n.toProxy(),this.helpers)}catch(d){throw this.handleError(d,n)}}if(r.iterator!==0){let l=r.iterator,c;for(;c=n.nodes[n.indexes[l]];)if(n.indexes[l]+=1,!c[Ai]){c[Ai]=!0,e.push(pS(c));return}r.iterator=0,delete n.indexes[l]}let s=r.events;for(;r.eventIndex<s.length;){let l=s[r.eventIndex];if(r.eventIndex+=1,l===al){n.nodes&&n.nodes.length&&(n[Ai]=!0,r.iterator=n.getIterator());return}else if(this.listeners[l]){r.visitors=this.listeners[l];return}}e.pop()}walkSync(e){e[Ai]=!0;let r=QE(e);for(let n of r)if(n===al)e.nodes&&e.each(i=>{i[Ai]||this.walkSync(i)});else{let i=this.listeners[n];if(i&&this.visitSync(i,e.toProxy()))return}}warnings(){return this.sync().warnings()}};sl.registerPostcss=t=>{Zg=t};var JE=sl;sl.default=sl;Dz.registerLazyResult(sl);$z.registerLazyResult(sl);let Gz=GE,Xz=g0;const Kz=y0;let Qz=Of,Yz=KE,ey=class{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,r=Xz;try{e=r(this._css,this._opts)}catch(n){this.error=n}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(e,r,n){r=r.toString(),this.stringified=!1,this._processor=e,this._css=r,this._opts=n,this._map=void 0;let i,s=Qz;this.result=new Kz(this._processor,i,this._opts),this.result.css=r;let l=this;Object.defineProperty(this.result,"root",{get(){return l.root}});let c=new Gz(s,i,this._opts,r);if(c.isMap()){let[d,p]=c.generate();d&&(this.result.css=d),p&&(this.result.map=p)}else c.clearAnnotation(),this.result.css=c.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,r){return"from"in this._opts||Yz("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning."),this.async().then(e,r)}toString(){return this._css}warnings(){return[]}};var Jz=ey;ey.default=ey;let Zz=h0,eB=JE,tB=Jz,rB=ku,nu=class{constructor(e=[]){this.version="8.5.6",this.plugins=this.normalize(e)}normalize(e){let r=[];for(let n of e)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n=="object"&&Array.isArray(n.plugins))r=r.concat(n.plugins);else if(typeof n=="object"&&n.postcssPlugin)r.push(n);else if(typeof n=="function")r.push(n);else throw typeof n=="object"&&(n.parse||n.stringify)?new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation."):new Error(n+" is not a PostCSS plugin");return r}process(e,r={}){return!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new tB(this,e,r):new eB(this,e,r)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};var nB=nu;nu.default=nu;rB.registerProcessor(nu);Zz.registerProcessor(nu);let ZE=f0,eT=Nf,iB=rs,oB=u0,tT=$f,rT=h0,aB=sz,sB=zf,lB=JE,cB=FE,uB=Lf,dB=g0,v0=nB,pB=y0,nT=ku,iT=m0,fB=Of,hB=XE;function $t(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new v0(t)}$t.plugin=function(e,r){let n=!1;function i(...l){console&&console.warn&&!n&&(n=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
374
- https://evilmartians.com/chronicles/postcss-8-plugin-migration`),Tw.LANG&&Tw.LANG.startsWith("cn")&&console.warn(e+`: 里面 postcss.plugin 被弃用. 迁移指南:
375
- https://www.w3ctech.com/topic/2226`));let c=r(...l);return c.postcssPlugin=e,c.postcssVersion=new v0().version,c}let s;return Object.defineProperty(i,"postcss",{get(){return s||(s=i()),s}}),i.process=function(l,c,d){return $t([i(d)]).process(l,c)},i};$t.stringify=fB;$t.parse=dB;$t.fromJSON=aB;$t.list=cB;$t.comment=t=>new eT(t);$t.atRule=t=>new ZE(t);$t.decl=t=>new tT(t);$t.rule=t=>new iT(t);$t.root=t=>new nT(t);$t.document=t=>new rT(t);$t.CssSyntaxError=oB;$t.Declaration=tT;$t.Container=iB;$t.Processor=v0;$t.Document=rT;$t.Comment=eT;$t.Warning=hB;$t.AtRule=ZE;$t.Result=pB;$t.Input=sB;$t.Rule=iT;$t.Root=nT;$t.Node=uB;lB.registerPostcss($t);var mB=$t;$t.default=$t;const gB=XC,fS=d$,{isPlainObject:yB}=l0,hS=k$,vB=P$,{parse:bB}=mB,xB=["img","audio","video","picture","svg","object","map","iframe","embed"],wB=["script","style"];function $s(t,e){t&&Object.keys(t).forEach(function(r){e(t[r],r)})}function lo(t,e){return{}.hasOwnProperty.call(t,e)}function mS(t,e){const r=[];return $s(t,function(n){e(n)&&r.push(n)}),r}function SB(t){for(const e in t)if(lo(t,e))return!1;return!0}function CB(t){return t.map(function(e){if(!e.url)throw new Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")}).join(", ")}var EB=iu;const TB=/^[^\0\t\n\f\r /<=>]+$/;function iu(t,e,r){if(t==null)return"";typeof t=="number"&&(t=t.toString());let n="",i="";function s(B,V){const K=this;this.tag=B,this.attribs=V||{},this.tagPosition=n.length,this.text="",this.openingTagLength=0,this.mediaChildren=[],this.updateParentNodeText=function(){if(C.length){const J=C[C.length-1];J.text+=K.text}},this.updateParentNodeMediaChildren=function(){C.length&&xB.includes(this.tag)&&C[C.length-1].mediaChildren.push(this.tag)}}e=Object.assign({},iu.defaults,e),e.parser=Object.assign({},kB,e.parser);const l=function(B){return e.allowedTags===!1||(e.allowedTags||[]).indexOf(B)>-1};wB.forEach(function(B){l(B)&&!e.allowVulnerableTags&&console.warn(`
376
-
377
- ⚠️ Your \`allowedTags\` option includes, \`${B}\`, which is inherently
378
- vulnerable to XSS attacks. Please remove it from \`allowedTags\`.
379
- Or, to disable this warning, add the \`allowVulnerableTags\` option
380
- and ensure you are accounting for this risk.
381
-
382
- `)});const c=e.nonTextTags||["script","style","textarea","option"];let d,p;e.allowedAttributes&&(d={},p={},$s(e.allowedAttributes,function(B,V){d[V]=[];const K=[];B.forEach(function(J){typeof J=="string"&&J.indexOf("*")>=0?K.push(fS(J).replace(/\\\*/g,".*")):d[V].push(J)}),K.length&&(p[V]=new RegExp("^("+K.join("|")+")$"))}));const m={},v={},g={};$s(e.allowedClasses,function(B,V){if(d&&(lo(d,V)||(d[V]=[]),d[V].push("class")),m[V]=B,Array.isArray(B)){const K=[];m[V]=[],g[V]=[],B.forEach(function(J){typeof J=="string"&&J.indexOf("*")>=0?K.push(fS(J).replace(/\\\*/g,".*")):J instanceof RegExp?g[V].push(J):m[V].push(J)}),K.length&&(v[V]=new RegExp("^("+K.join("|")+")$"))}});const y={};let w;$s(e.transformTags,function(B,V){let K;typeof B=="function"?K=B:typeof B=="string"&&(K=iu.simpleTransform(B)),V==="*"?w=K:y[V]=K});let x,C,P,k,_,E,A=!1;D();const I=new gB.Parser({onopentag:function(B,V){if(e.onOpenTag&&e.onOpenTag(B,V),e.enforceHtmlBoundary&&B==="html"&&D(),_){E++;return}const K=new s(B,V);C.push(K);let J=!1;const Z=!!K.text;let Q;if(lo(y,B)&&(Q=y[B](B,V),K.attribs=V=Q.attribs,Q.text!==void 0&&(K.innerText=Q.text),B!==Q.tagName&&(K.name=B=Q.tagName,k[x]=Q.tagName)),w&&(Q=w(B,V),K.attribs=V=Q.attribs,B!==Q.tagName&&(K.name=B=Q.tagName,k[x]=Q.tagName)),(!l(B)||e.disallowedTagsMode==="recursiveEscape"&&!SB(P)||e.nestingLimit!=null&&x>=e.nestingLimit)&&(J=!0,P[x]=!0,(e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard")&&c.indexOf(B)!==-1&&(_=!0,E=1)),x++,J){if(e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard"){if(K.innerText&&!Z){const ue=$(K.innerText);e.textFilter?n+=e.textFilter(ue,B):n+=ue,A=!0}return}i=n,n=""}n+="<"+B,B==="script"&&(e.allowedScriptHostnames||e.allowedScriptDomains)&&(K.innerText=""),J&&(e.disallowedTagsMode==="escape"||e.disallowedTagsMode==="recursiveEscape")&&e.preserveEscapedAttributes?$s(V,function(ue,oe){n+=" "+oe+'="'+$(ue||"",!0)+'"'}):(!d||lo(d,B)||d["*"])&&$s(V,function(ue,oe){if(!TB.test(oe)){delete K.attribs[oe];return}if(ue===""&&!e.allowedEmptyAttributes.includes(oe)&&(e.nonBooleanAttributes.includes(oe)||e.nonBooleanAttributes.includes("*"))){delete K.attribs[oe];return}let ie=!1;if(!d||lo(d,B)&&d[B].indexOf(oe)!==-1||d["*"]&&d["*"].indexOf(oe)!==-1||lo(p,B)&&p[B].test(oe)||p["*"]&&p["*"].test(oe))ie=!0;else if(d&&d[B]){for(const ee of d[B])if(yB(ee)&&ee.name&&ee.name===oe){ie=!0;let pe="";if(ee.multiple===!0){const ve=ue.split(" ");for(const xe of ve)ee.values.indexOf(xe)!==-1&&(pe===""?pe=xe:pe+=" "+xe)}else ee.values.indexOf(ue)>=0&&(pe=ue);ue=pe}}if(ie){if(e.allowedSchemesAppliedToAttributes.indexOf(oe)!==-1&&U(B,ue)){delete K.attribs[oe];return}if(B==="script"&&oe==="src"){let ee=!0;try{const pe=X(ue);if(e.allowedScriptHostnames||e.allowedScriptDomains){const ve=(e.allowedScriptHostnames||[]).find(function(se){return se===pe.url.hostname}),xe=(e.allowedScriptDomains||[]).find(function(se){return pe.url.hostname===se||pe.url.hostname.endsWith(`.${se}`)});ee=ve||xe}}catch{ee=!1}if(!ee){delete K.attribs[oe];return}}if(B==="iframe"&&oe==="src"){let ee=!0;try{const pe=X(ue);if(pe.isRelativeUrl)ee=lo(e,"allowIframeRelativeUrls")?e.allowIframeRelativeUrls:!e.allowedIframeHostnames&&!e.allowedIframeDomains;else if(e.allowedIframeHostnames||e.allowedIframeDomains){const ve=(e.allowedIframeHostnames||[]).find(function(se){return se===pe.url.hostname}),xe=(e.allowedIframeDomains||[]).find(function(se){return pe.url.hostname===se||pe.url.hostname.endsWith(`.${se}`)});ee=ve||xe}}catch{ee=!1}if(!ee){delete K.attribs[oe];return}}if(oe==="srcset")try{let ee=vB(ue);if(ee.forEach(function(pe){U("srcset",pe.url)&&(pe.evil=!0)}),ee=mS(ee,function(pe){return!pe.evil}),ee.length)ue=CB(mS(ee,function(pe){return!pe.evil})),K.attribs[oe]=ue;else{delete K.attribs[oe];return}}catch{delete K.attribs[oe];return}if(oe==="class"){const ee=m[B],pe=m["*"],ve=v[B],xe=g[B],se=g["*"],Le=v["*"],De=[ve,Le].concat(xe,se).filter(function(ze){return ze});if(ee&&pe?ue=G(ue,hS(ee,pe),De):ue=G(ue,ee||pe,De),!ue.length){delete K.attribs[oe];return}}if(oe==="style"){if(e.parseStyleAttributes)try{const ee=bB(B+" {"+ue+"}",{map:!1}),pe=H(ee,e.allowedStyles);if(ue=M(pe),ue.length===0){delete K.attribs[oe];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+B+" {"+ue+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete K.attribs[oe];return}else if(e.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}n+=" "+oe,ue&&ue.length?n+='="'+$(ue,!0)+'"':e.allowedEmptyAttributes.includes(oe)&&(n+='=""')}else delete K.attribs[oe]}),e.selfClosing.indexOf(B)!==-1?n+=" />":(n+=">",K.innerText&&!Z&&!e.textFilter&&(n+=$(K.innerText),A=!0)),J&&(n=i+$(n),i=""),K.openingTagLength=n.length-K.tagPosition},ontext:function(B){if(_)return;const V=C[C.length-1];let K;if(V&&(K=V.tag,B=V.innerText!==void 0?V.innerText:B),e.disallowedTagsMode==="completelyDiscard"&&!l(K))B="";else if((e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard")&&(K==="script"||K==="style"))n+=B;else if(!A){const J=$(B,!1);e.textFilter?n+=e.textFilter(J,K):n+=J}if(C.length){const J=C[C.length-1];J.text+=B}},onclosetag:function(B,V){if(e.onCloseTag&&e.onCloseTag(B,V),_)if(E--,!E)_=!1;else return;const K=C.pop();if(!K)return;if(K.tag!==B){C.push(K);return}_=e.enforceHtmlBoundary?B==="html":!1,x--;const J=P[x];if(J){if(delete P[x],e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard"){K.updateParentNodeText();return}i=n,n=""}if(k[x]&&(B=k[x],delete k[x]),e.exclusiveFilter){const Z=e.exclusiveFilter(K);if(Z==="excludeTag"){J&&(n=i,i=""),n=n.substring(0,K.tagPosition)+n.substring(K.tagPosition+K.openingTagLength);return}else if(Z){n=n.substring(0,K.tagPosition);return}}if(K.updateParentNodeMediaChildren(),K.updateParentNodeText(),e.selfClosing.indexOf(B)!==-1||V&&!l(B)&&["escape","recursiveEscape"].indexOf(e.disallowedTagsMode)>=0){J&&(n=i,i="");return}n+="</"+B+">",J&&(n=i+$(n),i=""),A=!1}},e.parser);return I.write(t),I.end(),n;function D(){n="",x=0,C=[],P={},k={},_=!1,E=0}function $(B,V){return typeof B!="string"&&(B=B+""),e.parser.decodeEntities&&(B=B.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),V&&(B=B.replace(/"/g,"&quot;"))),B=B.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),V&&(B=B.replace(/"/g,"&quot;")),B}function U(B,V){for(V=V.replace(/[\x00-\x20]+/g,"");;){const Z=V.indexOf("<!--");if(Z===-1)break;const Q=V.indexOf("-->",Z+4);if(Q===-1)break;V=V.substring(0,Z)+V.substring(Q+3)}const K=V.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!K)return V.match(/^[/\\]{2}/)?!e.allowProtocolRelative:!1;const J=K[1].toLowerCase();return lo(e.allowedSchemesByTag,B)?e.allowedSchemesByTag[B].indexOf(J)===-1:!e.allowedSchemes||e.allowedSchemes.indexOf(J)===-1}function X(B){if(B=B.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),B.startsWith("relative:"))throw new Error("relative: exploit attempt");let V="relative://relative-site";for(let Z=0;Z<100;Z++)V+=`/${Z}`;const K=new URL(B,V);return{isRelativeUrl:K&&K.hostname==="relative-site"&&K.protocol==="relative:",url:K}}function H(B,V){if(!V)return B;const K=B.nodes[0];let J;return V[K.selector]&&V["*"]?J=hS(V[K.selector],V["*"]):J=V[K.selector]||V["*"],J&&(B.nodes[0].nodes=K.nodes.reduce(W(J),[])),B}function M(B){return B.nodes[0].nodes.reduce(function(V,K){return V.push(`${K.prop}:${K.value}${K.important?" !important":""}`),V},[]).join(";")}function W(B){return function(V,K){return lo(B,K.prop)&&B[K.prop].some(function(Z){return Z.test(K.value)})&&V.push(K),V}}function G(B,V,K){return V?(B=B.split(/\s+/),B.filter(function(J){return V.indexOf(J)!==-1||K.some(function(Z){return Z.test(J)})}).join(" ")):B}}const kB={decodeEntities:!0};iu.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1};iu.simpleTransform=function(t,e,r){return r=r===void 0?!0:r,e=e||{},function(n,i){let s;if(r)for(s in e)i[s]=e[s];else i=e;return{tagName:t,attribs:i}}};var oT=r7(EB);let ou=class extends Ft{};R([L(),N({field_type:O.TEXTAREA,label:"HTML Content",description:"HTML content to be safely rendered after sanitization",placeholder:"<p>Enter HTML content...</p>"}),F(),te(),z("design:type",String)],ou.prototype,"html",void 0);R([L(),N({field_type:O.TEXT,label:"Placeholder Text",description:"Text to display when no HTML content is available",placeholder:"Loading..."}),F(),te(),z("design:type",String)],ou.prototype,"placeholder",void 0);ou=R([bt("SafeSpan","1.0.0")],ou);var PB=ou;function b0(t){const{html:e,placeholder:r,...n}=t,{styleProps:i,htmlProps:s}=Vr(n);b0[Jr]=!0;const c=e?oT(e,{allowedTags:["p","br","strong","em","u","span","div","h1","h2","h3","h4","h5","h6","ul","ol","li","blockquote","pre","code","a","img"],allowedAttributes:{a:["href","title","target"],img:["src","alt","title","width","height"],span:["style","class"],div:["style","class"],p:["style","class"]},allowedSchemes:["http","https","mailto"],disallowedTagsMode:"discard",allowedSchemesByTag:{a:["http","https","mailto"],img:["http","https"]},transformTags:{a:function(d,p){return p.href&&(p.href.startsWith("http://")||p.href.startsWith("https://"))?{tagName:"a",attribs:{...p,rel:"noopener noreferrer",target:"_blank"}}:{tagName:d,attribs:p}}}}):"";return!c&&!r?null:!c&&r?h.jsx("span",{...s,...i,children:r}):h.jsx("span",{...s,...i,dangerouslySetInnerHTML:{__html:c}})}class Pn extends es{getComponentSpecificProps(){return{html:this.props.html,placeholder:this.props.placeholder}}renderView(){const{...e}=this.props;return h.jsx(b0,{...e})}renderWithDataBinding(){return h.jsx(MB,{...this.props})}static registerPatternHandlers(e){e.hasPattern("span.safe-content")||e.registerPattern("span.safe-content",Pn.transformSafeSpan),e.hasPattern("span[data-safe]")||e.registerPattern("span[data-safe]",Pn.transformSafeSpan)}static transformSafeSpan(e){const r=e.getAttribute("data-placeholder");return{tagName:"SafeSpan",props:{html:e.innerHTML,placeholder:r||void 0}}}}Pn.tagName="SafeSpan";Pn.version="1.0.0";function MB(t){const{dataSource:e,bindingOptions:r,...n}=t,{loading:i,error:s,...l}=Xi(e,n,PB.getSchema(),{...r});return i?h.jsx("span",{children:"Loading..."}):s?(console.error("Error loading safe span:",s),h.jsxs("span",{children:["Error Loading Content: ",s.message]})):h.jsx(b0,{...l})}function _B({label:t,value:e="",onChange:r,onFocus:n,required:i=!1,disabled:s=!1,error:l,helperText:c,placeholder:d,rows:p=4,maxLength:m,showPreview:v=!0,showHelp:g=!1,...y}){const[w,x]=T.useState(!1),[C,P]=T.useState(!1),k=A=>{r==null||r(A.target.value)},_=(A,I=!0)=>{if(s)return;const D=document.activeElement;if(!D||D.tagName!=="TEXTAREA")return;const $=D.selectionStart,U=D.selectionEnd,X=e.substring($,U);let H="";I?H=`<${A}>${X}</${A}>`:H=`<${A}>`;const M=e.substring(0,$)+H+e.substring(U);r==null||r(M),setTimeout(()=>{if(I&&!X){const W=$+A.length+2;D.setSelectionRange(W,W)}},0)},E=oT(e||"",{allowedTags:["b","i","u","strong","em","p","br","code","pre","span","div"],allowedAttributes:{"*":["style","class"]}});return h.jsxs(Ce,{...y,children:[h.jsxs(Ce,{sx:{display:"flex",alignItems:"center",mb:1,flexWrap:"wrap",gap:1},children:[h.jsxs(Te,{variant:"body2",color:"text.secondary",children:[t,i&&h.jsx("span",{style:{color:"error.main"},children:" *"})]}),h.jsx(Ce,{sx:{flexGrow:1}}),h.jsxs(zI,{size:"small",disabled:s||w,children:[h.jsx(Tn,{title:"Bold",children:h.jsx(Ar,{onClick:()=>_("b"),children:h.jsx(u8,{})})}),h.jsx(Tn,{title:"Italic",children:h.jsx(Ar,{onClick:()=>_("i"),children:h.jsx(d8,{})})}),h.jsx(Tn,{title:"Underline",children:h.jsx(Ar,{onClick:()=>_("u"),children:h.jsx(p8,{})})}),h.jsx(Tn,{title:"Code",children:h.jsx(Ar,{onClick:()=>_("code"),children:h.jsx(MC,{})})})]}),v&&h.jsx(Tn,{title:w?"Edit Mode":"Preview Mode",children:h.jsx(Ar,{onClick:()=>x(!w),disabled:s,children:w?h.jsx(Qy,{}):h.jsx(Ky,{})})}),g&&h.jsx(Tn,{title:"HTML Help",children:h.jsx(Ar,{onClick:()=>P(!C),children:h.jsx(RC,{})})})]}),h.jsx(yg,{in:C,children:h.jsx(Qa,{severity:"info",sx:{mb:2},children:h.jsx(Te,{variant:"body2",children:"Supported HTML tags: <b>, <i>, <u>, <strong>, <em>, <p>, <br>, <code>, <pre>"})})}),w?h.jsx(Ce,{sx:{border:1,borderColor:"divider",borderRadius:1,p:2,minHeight:p*24,backgroundColor:"background.paper"},children:h.jsx(Pn,{html:E,placeholder:"No content to preview"})}):h.jsx(Pf,{fullWidth:!0,multiline:!0,rows:p,value:e,onChange:k,onFocus:n,placeholder:d,disabled:s,error:!!l,helperText:l||c||(m?`${e.length}/${m}`:void 0),inputProps:{maxLength:m},sx:{"& .MuiInputBase-input":{fontFamily:"monospace",fontSize:"0.875rem"}}})]})}const aT=bn({tagName:"HtmlInputField",version:"1.0.0",role:"view",View:_B});function AB({label:t="Options",options:e=[],onOptionChange:r,onAddOption:n,onChoiceFieldFocus:i,disabled:s=!1,placeholder:l="Enter option text. HTML formatting supported.",optionLabelPrefix:c="Option",rows:d=2,maxOptions:p=10,...m}){const v=w=>x=>{r==null||r(w,x)},g=w=>()=>{i==null||i(w)},y=()=>{e.length<p&&(n==null||n())};return h.jsxs(Ce,{...m,children:[h.jsx(Te,{variant:"h6",gutterBottom:!0,children:t}),e.length===0&&h.jsx(Qa,{severity:"info",sx:{mb:2},children:'No options added yet. Click "Add Option" to get started.'}),e.map((w,x)=>h.jsx(Ce,{sx:{mb:2},children:h.jsx(aT,{label:`${c} ${x+1}`,value:w,onChange:v(x),onFocus:g(x),placeholder:l,rows:d,disabled:s,showPreview:!0,showHelp:!1})},x)),e.length<p&&h.jsx(qc,{variant:"outlined",startIcon:h.jsx(kC,{}),onClick:y,disabled:s,sx:{mt:1},children:"Add Option"}),e.length>=p&&h.jsxs(Te,{variant:"caption",color:"text.secondary",sx:{display:"block",mt:1},children:["Maximum number of options (",p,") reached."]})]})}const RB=bn({tagName:"ChoiceInputField",version:"1.0.0",role:"view",View:AB});class Bf{}R([L(),N({field_type:O.TEXT,label:"Option Value",description:"The value for this option"}),te(),z("design:type",Object)],Bf.prototype,"value",void 0);R([L(),N({field_type:O.TEXT,label:"Option Label",description:"The display text for this option"}),F(),te(),z("design:type",String)],Bf.prototype,"label",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Disabled",description:"Whether this option is disabled"}),F(),gt(),z("design:type",Boolean)],Bf.prototype,"disabled",void 0);let Hi=class extends tt{};R([L(),N({field_type:O.TEXT,label:"Field Label",description:"The label text displayed for this select field",placeholder:"Enter field label..."}),F(),te(),z("design:type",String)],Hi.prototype,"label",void 0);R([L(),N({field_type:O.TEXT,label:"Selected Value",description:"The currently selected value"}),F(),te(),z("design:type",Object)],Hi.prototype,"value",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Select Options",description:"Array of options available in the dropdown (JSON format)"}),F(),kr(),gn({each:!0}),vn(()=>Bf),z("design:type",Array)],Hi.prototype,"options",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Required",description:"Whether this field is required"}),F(),gt(),z("design:type",Boolean)],Hi.prototype,"required",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Disabled",description:"Whether this field is disabled"}),F(),gt(),z("design:type",Boolean)],Hi.prototype,"disabled",void 0);R([L(),N({field_type:O.TEXT,label:"Error Message",description:"Error message to display when field validation fails",placeholder:"Error message..."}),F(),te(),z("design:type",String)],Hi.prototype,"error",void 0);R([L(),N({field_type:O.TEXT,label:"Helper Text",description:"Additional helpful text displayed below the field",placeholder:"Helper text..."}),F(),te(),z("design:type",String)],Hi.prototype,"helperText",void 0);R([L(),N({field_type:O.TEXT,label:"Placeholder Text",description:"Placeholder text shown when no value is selected",placeholder:"Select an option..."}),F(),te(),z("design:type",String)],Hi.prototype,"placeholder",void 0);Hi=R([bt("SelectInputField","1.0.0")],Hi);function IB({label:t,value:e="",onChange:r,onFocus:n,options:i=[],required:s=!1,disabled:l=!1,error:c,helperText:d,placeholder:p,...m}){const v=ie=>{r&&r(ie.target.value)},{margin:g,padding:y,paddingX:w,paddingY:x,paddingTop:C,paddingRight:P,paddingBottom:k,paddingLeft:_,width:E,height:A,minWidth:I,maxWidth:D,minHeight:$,maxHeight:U,sx:X,style:H,span:M,xs:W,sm:G,md:B,lg:V,xl:K,background:J,backgroundImage:Z,backgroundGradient:Q,textAlign:q,className:ne,...ue}=m,oe=t?`select-label-${t.toLowerCase().replace(/\s+/g,"-")}`:void 0;return h.jsxs(Yo,{fullWidth:!0,required:s,disabled:l,error:!!c,sx:X,style:H,className:ne,...ue,children:[t&&h.jsx(Zs,{id:oe,children:t}),h.jsxs(el,{labelId:oe,label:t,value:e,onChange:v,onFocus:n,displayEmpty:!!p,children:[p&&h.jsx(Dr,{value:"",disabled:!0,children:h.jsx("em",{children:p})}),i.map((ie,ee)=>h.jsx(Dr,{value:ie.value,disabled:ie.disabled,children:ie.label},`${ie.value}-${ee}`))]}),(c||d)&&h.jsx(yl,{children:c||d})]})}const jB=bn({tagName:"SelectInputField",version:"1.0.0",role:"view",View:IB});function OB({label:t,checked:e=!1,onChange:r,onFocus:n,required:i=!1,disabled:s=!1,error:l,helperText:c,...d}){const p=ne=>{r==null||r(ne.target.checked)},{margin:m,padding:v,paddingX:g,paddingY:y,paddingTop:w,paddingRight:x,paddingBottom:C,paddingLeft:P,width:k,height:_,minWidth:E,maxWidth:A,minHeight:I,maxHeight:D,sx:$,style:U,span:X,xs:H,sm:M,md:W,lg:G,xl:B,background:V,backgroundImage:K,backgroundGradient:J,textAlign:Z,className:Q,...q}=d;return h.jsxs(Yo,{component:"fieldset",error:!!l,disabled:s,sx:$,style:U,className:Q,...q,children:[h.jsx(aC,{control:h.jsx(rL,{checked:e,onChange:p,onFocus:n,required:i,disabled:s}),label:t}),(l||c)&&h.jsx(yl,{children:l||c})]})}const LB=bn({tagName:"SwitchInputField",version:"1.0.0",role:"view",View:OB});function NB({label:t,value:e="",onChange:r,onFocus:n,required:i=!1,disabled:s=!1,error:l,helperText:c,placeholder:d,type:p="text",multiline:m=!1,rows:v,maxRows:g,textFieldProps:y,...w}){const x=ve=>{r==null||r(ve.target.value)},{margin:C,padding:P,paddingX:k,paddingY:_,paddingTop:E,paddingRight:A,paddingBottom:I,paddingLeft:D,width:$,height:U,minWidth:X,maxWidth:H,minHeight:M,maxHeight:W,sx:G,style:B,span:V,xs:K,sm:J,md:Z,lg:Q,xl:q,background:ne,backgroundImage:ue,backgroundGradient:oe,textAlign:ie,className:ee,...pe}=w;return h.jsx(Pf,{...pe,fullWidth:!0,label:t,value:e,onChange:x,onFocus:n,required:i,disabled:s,error:!!l,helperText:l||c,placeholder:d,type:p,multiline:m,rows:v,maxRows:g,sx:G,style:B,className:ee,...y})}const $B=bn({tagName:"TextInputField",version:"1.0.0",role:"view",View:NB});function zB({children:t,gridProps:e,...r}){const n=e;return h.jsx(Ce,{...r,...n?{"data-grid-span":n.span,"data-grid-xs":n.xs,"data-grid-sm":n.sm,"data-grid-md":n.md,"data-grid-lg":n.lg,"data-grid-xl":n.xl}:{},children:t})}const BB=bn({tagName:"GridCell",version:"1.0.0",role:"container",View:zB});function DB({children:t,columns:e,spacing:r="small",equalHeight:n=!1,height:i,width:s,minHeight:l,minWidth:c,maxHeight:d,maxWidth:p,gridProps:m,...v}){const g=Xr(r),y=()=>pt.Children.toArray(t).map((x,C)=>{if(!pt.isValidElement(x))return x;let P={};const k=x.props,_=k["data-grid-span"]||k.span,E=k["data-grid-xs"]||k.xs,A=k["data-grid-sm"]||k.sm,I=k["data-grid-md"]||k.md,D=k["data-grid-lg"]||k.lg,$=k["data-grid-xl"]||k.xl;if(_||E||A||I||D||$)if(_)P={size:_};else{const U={};E&&(U.xs=E),A&&(U.sm=A),I&&(U.md=I),D&&(U.lg=D),$&&(U.xl=$),P={size:U}}if(e&&Object.keys(P).length===0&&(P={size:{xs:12,sm:e>=3?6:12/Math.min(e,2),md:12/Math.min(e,3),lg:12/e}}),Object.keys(P).length>0){const U={...x.props};return delete U["data-grid-span"],delete U["data-grid-xs"],delete U["data-grid-sm"],delete U["data-grid-md"],delete U["data-grid-lg"],delete U["data-grid-xl"],h.jsx(Yr,{...P,children:pt.cloneElement(x,U)},x.key||C)}return h.jsx(pt.Fragment,{children:x},x.key||C)});return h.jsx(Yr,{container:!0,spacing:g,...v,...m?{"data-grid":JSON.stringify(m)}:{},sx:{width:"100%",height:Fn(i,"height"),minHeight:Fn(l,"minHeight"),minWidth:Fn(c,"minWidth"),maxHeight:Fn(d,"maxHeight"),maxWidth:Fn(p,"maxWidth"),...s&&{width:Fn(s,"width")},...n&&{alignItems:"stretch","& > .MuiGrid-root":{display:"flex","& > *":{width:"100%",height:"100%"}}},...v.sx},children:y()})}const FB=bn({tagName:"GridLayout",version:"1.0.0",role:"container",View:DB});let ll=class extends Ft{};R([L(),N({field_type:O.TEXTAREA,label:"HTML Content",description:"HTML content to be transformed into React components",placeholder:"<p>Enter HTML content...</p>"}),F(),te(),z("design:type",String)],ll.prototype,"children",void 0);R([L(),N({field_type:O.CHECKBOX,label:"Strip Headers",description:"Whether to remove header elements (h1-h6) from the HTML"}),F(),gt(),z("design:type",Boolean)],ll.prototype,"stripHeaders",void 0);R([L(),N({field_type:O.TEXT,label:"Placeholder",description:"Fallback content to display when HTML is empty",placeholder:"No content available"}),F(),te(),z("design:type",String)],ll.prototype,"placeholder",void 0);ll=R([bt("Html","1.0.0")],ll);var HB=ll;function x0({children:t="",stripHeaders:e=!1,placeholder:r,component:n="div",...i}){const{styleProps:s,htmlProps:l,restProps:c}=Vr(i);if(x0[Jr]=!0,!t||!t.trim())return r?h.jsx(Ce,{component:n,...l,...s,...c,sx:{opacity:.6,fontStyle:"italic",...s.sx},children:r}):null;try{let d=t;e&&(d=d.replace(/<h[1-6][^>]*>.*?<\/h[1-6]>/gi,""));const p=Sr.transformHTML(d);return h.jsx(Ce,{component:n,...l,...s,...c,sx:{"& > *:not(:last-child)":{mb:1.5},"& h1, & h2, & h3, & h4, & h5, & h6":{mb:1.5,mt:2,"&:first-of-type":{mt:0}},"& p":{mb:1.5,lineHeight:1.6},"& ul, & ol":{mb:1.5,pl:3},...s.sx},children:p})}catch(d){return console.error("Error transforming HTML content:",d),h.jsxs(Ce,{component:n,...l,...s,...c,sx:{p:2,border:"1px solid red",borderRadius:1,backgroundColor:"rgba(255, 0, 0, 0.1)",...s.sx},children:[h.jsx("strong",{children:"HTML Transform Error:"})," ",d instanceof Error?d.message:"Unknown error",h.jsx(Pn,{html:t,placeholder:"Failed to transform HTML"})]})}}class Hn extends es{static fromJson(e){const{tagName:r,version:n,data:i}=e;if(r!==Hn.tagName)throw new Error(`Cannot deserialize: Expected tagName 'Html' but got '${r}'`);n!==Hn.version&&console.warn(`Version mismatch: Expected ${Hn.version} but got ${n}`);const{children:s,...l}=i||{};return h.jsx(Hn,{...l,children:Sr.deserialize(s)})}getComponentSpecificProps(){return{children:this.props.children,stripHeaders:this.props.stripHeaders,placeholder:this.props.placeholder}}renderView(){const{...e}=this.props;return h.jsx(x0,{...e})}renderWithDataBinding(){return h.jsx(VB,{...this.props})}static registerPatternHandlers(e){e.hasPattern("div.html-content")||e.registerPattern("div.html-content",Hn.transformHtmlDiv),e.hasPattern("[data-html]")||e.registerPattern("[data-html]",Hn.transformDataHtml)}static transformHtmlDiv(e){const r=e.getAttribute("data-strip-headers")==="true",n=e.getAttribute("data-placeholder");return{tagName:"Html",props:{children:e.innerHTML,stripHeaders:r,placeholder:n||void 0}}}static transformDataHtml(e){const r=e.getAttribute("data-html")||e.innerHTML,n=e.getAttribute("data-strip-headers")==="true",i=e.getAttribute("data-placeholder");return{tagName:"Html",props:{children:r,stripHeaders:n,placeholder:i||void 0}}}}Hn.tagName="Html";Hn.version="1.0.0";function VB(t){const{dataSource:e,bindingOptions:r,...n}=t,{loading:i,error:s,...l}=Xi(e,n,HB.getSchema(),{...r});return i?h.jsx(Ce,{sx:{p:2,textAlign:"center",opacity:.6},children:"Loading HTML content..."}):s?(console.error("Error loading HTML content:",s),h.jsxs(Ce,{sx:{p:2,border:"1px solid red",borderRadius:1,backgroundColor:"rgba(255, 0, 0, 0.1)"},children:[h.jsx("strong",{children:"Error Loading HTML:"})," ",s.message]})):h.jsx(x0,{...l})}class En{static serialize(e){var r,n;if(e==null)return null;if(Array.isArray(e))return{type:"array",children:e.map(i=>En.serialize(i))};if(typeof e=="string"||typeof e=="number"||typeof e=="boolean")return{type:"primitive",value:e};if(T.isValidElement(e)){const i=e,s=i.type,l=typeof s=="string"?s:((r=s==null?void 0:s.render)==null?void 0:r.name)||(s==null?void 0:s.name)||(s==null?void 0:s.muiName)||(s==null?void 0:s.displayName)||"Anonymous";return{type:"react-element",elementType:typeof l=="string"?((n=l.match(/^[A-Za-z]+?\(([^)]+)\)$/))==null?void 0:n[1])||l:"Anonymous",props:En.serializeProps(i.props),key:i.key}}if(typeof e=="object"&&e!==null)try{const i={type:"object",data:{}};for(const[s,l]of Object.entries(e))i.data[s]=En.serialize(l);return i}catch{return{type:"string",value:String(e)}}return{type:"string",value:String(e)}}static deserialize(e){var r;if(e==null)return null;if(typeof e=="object"&&e.type)switch(e.type){case"primitive":return e.value;case"string":return e.value;case"array":return((r=e.children)==null?void 0:r.map(n=>En.deserialize(n)))||[];case"react-element":return En.deserializeReactElement(e);case"object":{const n={};if(e.data&&typeof e.data=="object")for(const[i,s]of Object.entries(e.data))n[i]=En.deserialize(s);return n}default:return String(e.value||e)}return typeof e=="string"||typeof e=="number"||typeof e=="boolean"?e:String(e)}static serializeProps(e){if(!e||typeof e!="object")return e;const r={};for(const[n,i]of Object.entries(e))n==="children"?r[n]=En.serialize(i):typeof i=="function"?r[n]=null:r[n]=i;return r}static deserializeReactElement(e){const r=e,{elementType:n,props:i,key:s}=r;try{if(typeof n=="string"){const l=En.deserializeProps(i);return T.createElement(n,{key:s,...l})}}catch(l){console.warn("Error deserializing React element:",l)}return T.createElement(Hn,{key:s,children:i.children})}static deserializeProps(e){if(!e||typeof e!="object")return e;const r={};for(const[n,i]of Object.entries(e))n==="children"?r[n]=En.deserialize(i):r[n]=i;return r}static extractTextContent(e){return e?typeof e.children=="string"?e.children:e.title&&typeof e.title=="string"?e.title:e.label&&typeof e.label=="string"?e.label:e.text&&typeof e.text=="string"?e.text:null:null}}const Pi=new Map,Aa=new Map;let Ls=!0;const UB="__react_node__",WB="1.0.0";let Sr=class Kr{static setStrictMode(e){Ls=e}static isStrictMode(){return Ls}static registerComponent(e){const{tagName:r,version:n}=e;if(!r||typeof r!="string")throw new Error("Component class must have a static 'tagName' property");if(!n||typeof n!="string")throw new Error(`Component class '${r}' must have a static 'version' property`);if(typeof e.fromJson!="function")throw new Error(`Component class '${r}' must implement static 'fromJson' method`);Pi.has(r)&&console.warn(`Component '${r}' is already registered. Overwriting existing registration.`),Pi.set(r,e);const i=e;typeof i.registerPatternHandlers=="function"&&i.registerPatternHandlers(Kr)}static serialize(e){const r=Kr.serializeNode(e);return JSON.stringify(r)}static deserialize(e){if(typeof e=="string")try{const r=JSON.parse(e);return Kr.deserializeData(r)}catch{return e}return e==null?null:Kr.deserializeData(e)}static isSerializedComponent(e){return!!e&&typeof e=="object"&&typeof e.tagName=="string"&&typeof e.version=="string"&&"data"in e}static deserializeData(e){if(e==null)return null;if(Array.isArray(e))return e.map(r=>Kr.deserializeData(r));if(Kr.isSerializedComponent(e)){const{key:r,tagName:n,data:i}=e;try{const s=Pi.get(n);if(!s){if(Ls)throw new Error(`Component '${n}' is not registered in strict mode`);const c=Kr.deserializeUnregisteredComponent(i);return r?pt.cloneElement(c,{key:r}):c}const l=s.fromJson(e);return r?pt.cloneElement(l,{key:r}):l}catch(s){if(Ls)throw s;console.error(`TEST: Error deserializing component '${n}':`,s)}}if(typeof e=="string"||typeof e=="number"||typeof e=="boolean")return e;console.warn("TEST: Unrecognized data:",e);{const r=typeof e=="object"?JSON.stringify(e,null,2):String(e);return pt.createElement(Pn,{html:`<pre>${r}</pre>`})}}static serializeNode(e){if(e==null)return null;if(Array.isArray(e))return e.map(n=>Kr.serializeNode(n));if(typeof e=="string"||typeof e=="number"||typeof e=="boolean")return e;if(typeof e=="object"&&"type"in e){const n=e,i=n.key?{key:String(n.key)}:{},s=n.type;if(typeof s=="function"){const l=Kr.findTagNameForComponent(s);if(l){const c=Pi.get(l);let d=null;const p=c;if(typeof p.toJson=="function"&&(d=p.toJson(n.props)),d!==null)return d.data&&d.data.children!==void 0&&(d.data.children=Kr.serializeNode(d.data.children)),{...i,...d}}else if(Ls){const c=s,d=c.displayName||c.name||"Unknown";throw new Error(`Unregistered component '${d}' cannot be serialized in strict mode`)}}}if(Ls)throw new Error(`Cannot serialize unregistered node in strict mode: ${typeof e=="object"&&e&&"type"in e?e.type:typeof e}`);return{tagName:UB,version:WB,data:En.serialize(e)}}static deserializeUnregisteredComponent(e){return En.deserialize(e)}static findTagNameForComponent(e){for(const[i,s]of Pi.entries())if(s===e)return i;const r=e==null?void 0:e.tagName;if(typeof r=="string"&&Pi.has(r))return r;const n=(e==null?void 0:e.displayName)||(e==null?void 0:e.name);if(n){const i=n.replace(/^[A-Za-z]+?\(([^)]+)\)$/,"$1").replace(/WithDataBinding$/,"");if(Pi.has(i))return i;if(Pi.has(n))return n}return null}static getRegisteredComponents(){return Array.from(Pi.keys())}static clearRegistry(){Pi.clear(),Aa.clear()}static registerPattern(e,r){Aa.has(e)&&console.warn(`Pattern '${e}' is already registered. Overwriting existing handler.`),Aa.set(e,r)}static hasPattern(e){return Aa.has(e)}static transformHTMLElement(e){for(const[r,n]of Aa)if(e.matches(r))try{const i=n(e);return Kr.deserialize(i)}catch(i){return console.warn(`Error transforming element with pattern '${r}':`,i),null}return null}static transformHTML(e){if(!e.trim())return[];const n=new DOMParser().parseFromString(e,"text/html");return Array.from(n.body.children).map((i,s)=>Kr.transformElement(i,`element-${s}`))}static transformElement(e,r){const n=Kr.transformHTMLElement(e);if(n)return n;const i=Array.from(e.children);if(i.some(l=>Array.from(Aa.keys()).some(c=>l.matches(c)))){const l=i.map((c,d)=>Kr.transformElement(c,`${r}-${d}`));return pt.createElement(e.tagName.toLowerCase(),{key:r,className:e.className||void 0,id:e.id||void 0},l)}return En.deserialize({type:"react-element",elementType:e.tagName.toLowerCase(),props:{key:r,className:e.className||void 0,id:e.id||void 0,dangerouslySetInnerHTML:{__html:e.innerHTML}}})}static getRegisteredPatterns(){return Array.from(Aa.keys())}};function qB(){Sr.registerComponent(j9),Sr.registerComponent(Vs),Sr.registerComponent(Us),Sr.registerComponent(Qc),Sr.registerComponent(UC),Sr.registerComponent(ho),Sr.registerComponent(F9),Sr.registerComponent(FB),Sr.registerComponent(BB),Sr.registerComponent($B),Sr.registerComponent(jB),Sr.registerComponent(aT),Sr.registerComponent(RB),Sr.registerComponent(LB),Sr.registerComponent(xl)}qB();let au=class extends Ft{};R([L(),N({field_type:O.TEXTAREA,label:"HTML Content",description:"Raw HTML content to transform and render",placeholder:"Enter HTML content..."}),te(),F(),z("design:type",String)],au.prototype,"html",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Skip Header",description:"Skip/remove header elements before rendering"}),F(),z("design:type",Boolean)],au.prototype,"skipHeader",void 0);au=R([bt("Article","1.0.0")],au);var GB=au;function w0({html:t="",skipHeader:e=!1,...r}){const{styleProps:n,htmlProps:i,restProps:s}=Vr(r);return w0[Jr]=!0,t.trim()?h.jsx(Hn,{component:"article",stripHeaders:e,placeholder:"No content available",...i,...s,...n,maxWidth:"900px",mx:"auto",px:{xs:2,sm:3,md:4},py:{xs:3,md:5},"& h1, & h2, & h3, & h4, & h5, & h6":{fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',fontWeight:700,letterSpacing:"-0.02em",color:"var(--theme-text)",scrollMarginTop:"100px","&:first-of-type":{mt:0}},"& h1":{fontSize:{xs:"2rem",md:"2.75rem"},lineHeight:1.15,mb:3,mt:5},"& h2":{fontSize:{xs:"1.5rem",md:"2rem"},lineHeight:1.25,mb:2.5,mt:5,pb:1.5,borderBottom:"1px solid var(--theme-border-lighter)"},"& h3":{fontSize:{xs:"1.25rem",md:"1.5rem"},lineHeight:1.3,mb:2,mt:4},"& h4":{fontSize:{xs:"1.1rem",md:"1.25rem"},lineHeight:1.4,mb:1.5,mt:3,color:"var(--theme-text)",fontWeight:600},"& p":{fontSize:{xs:"1rem",md:"1.0625rem"},lineHeight:1.75,mb:2,color:"var(--theme-text)",fontFamily:'Georgia, "Times New Roman", serif',"&:last-child":{mb:0}},"& ul, & ol":{mb:3,pl:{xs:3,md:4},"& li":{mb:1.25,lineHeight:1.7,fontSize:{xs:"1rem",md:"1.0625rem"},color:"var(--theme-text)",fontFamily:'Georgia, "Times New Roman", serif',"&::marker":{color:"var(--theme-primary)",fontWeight:600},"& p":{mb:.5}},"& ul, & ol":{mt:1,mb:0}},"& pre":{backgroundColor:"var(--theme-surface-elevated)",color:"var(--theme-text)",borderRadius:"var(--theme-border-radius)",p:{xs:2,md:3},mb:3,overflow:"auto",fontSize:"0.9rem",lineHeight:1.6,fontFamily:'"Fira Code", "Cascadia Code", "SF Mono", Monaco, Consolas, monospace',border:"1px solid var(--theme-border-light)",boxShadow:"var(--theme-elevation-2)","& code":{backgroundColor:"transparent",color:"inherit",padding:0,fontSize:"inherit",fontFamily:"inherit"}},"& code":{backgroundColor:"var(--theme-code-bg)",color:"var(--theme-error)",padding:"0.2em 0.4em",borderRadius:"var(--theme-border-radius-small)",fontSize:"0.9em",fontFamily:'"Fira Code", "Cascadia Code", "SF Mono", Monaco, Consolas, monospace',fontWeight:500},"& blockquote":{borderLeft:"4px solid var(--theme-primary)",backgroundColor:"var(--theme-surface-variant)",borderRadius:"0 var(--theme-border-radius-small) var(--theme-border-radius-small) 0",pl:3,pr:3,py:2.5,my:4,ml:0,mr:0,"& p":{fontSize:{xs:"1.05rem",md:"1.125rem"},fontStyle:"italic",lineHeight:1.6,mb:1.5,color:"var(--theme-text)","&:last-child":{mb:0}},"& cite":{display:"block",fontSize:"0.9rem",fontStyle:"normal",fontWeight:500,color:"var(--theme-text)",mt:1,"&::before":{content:'"— "',color:"var(--theme-primary)"}}},"& table":{width:"100%",borderCollapse:"separate",borderSpacing:0,mb:3,fontSize:"0.95rem",overflow:"hidden",borderRadius:"var(--theme-border-radius-small)",border:"1px solid var(--theme-border-light)","& thead":{backgroundColor:"var(--theme-surface-variant)","& th":{padding:"12px 16px",textAlign:"left",fontWeight:600,color:"var(--theme-text)",borderBottom:"2px solid var(--theme-border-main)",fontSize:"0.875rem",textTransform:"uppercase",letterSpacing:"0.05em"}},"& tbody":{"& tr":{borderBottom:"1px solid var(--theme-border-lighter)",transition:"background-color 0.2s ease","&:hover":{backgroundColor:"var(--theme-surface-variant)"},"&:last-child":{borderBottom:"none"}},"& td":{padding:"12px 16px",color:"var(--theme-text)",lineHeight:1.6}}},"& strong":{fontWeight:700,color:"var(--theme-text)"},"& em":{fontStyle:"italic",color:"var(--theme-text)"},"& a":{color:"var(--theme-primary)",textDecoration:"none",fontWeight:500,borderBottom:"1px solid transparent",transition:"border-color 0.2s ease","&:hover":{borderBottomColor:"var(--theme-primary)"},"&:focus-visible":{outline:"2px solid var(--theme-primary)",outlineOffset:"2px",borderRadius:"2px"}},"& img":{maxWidth:"100%",height:"auto",borderRadius:"var(--theme-border-radius-small)",display:"block",my:3},"& figure":{margin:"3rem 0","& img":{maxWidth:"100%",height:"auto",borderRadius:"var(--theme-border-radius-small)",boxShadow:"var(--theme-elevation-2)"},"& figcaption":{textAlign:"center",fontSize:"0.875rem",color:"var(--theme-text)",mt:1.5,fontStyle:"italic"}},"& hr":{border:"none",borderTop:"1px solid var(--theme-border-light)",my:5},...n.sx,children:t}):h.jsxs(Ce,{component:"article",...i,...n,sx:{maxWidth:"800px",mx:"auto",p:4,textAlign:"center",opacity:.6,...n.sx},children:[h.jsx(Te,{variant:"h6",color:"var(--theme-text)",children:"No Content Available"}),h.jsx(Te,{variant:"body2",color:"var(--theme-text)",children:"No HTML content provided for this article"})]})}class Df extends es{getComponentSpecificProps(){return{html:this.props.html,skipHeader:this.props.skipHeader}}renderView(){const{...e}=this.props;return h.jsx(w0,{...e})}renderWithDataBinding(){return h.jsx(XB,{...this.props})}static registerPatternHandlers(e){e.hasPattern("article")||e.registerPattern("article",Df.transformArticle)}static transformArticle(e){const r=e.getAttribute("data-skip-header")==="true";return{tagName:"Article",props:{html:e.innerHTML,skipHeader:r}}}}Df.tagName="Article";Df.version="1.0.0";function XB(t){const{dataSource:e,bindingOptions:r,...n}=t,{loading:i,error:s,...l}=Xi(e,n,GB.getSchema(),{...r});return i?h.jsxs(Ce,{component:"article",sx:{maxWidth:"800px",mx:"auto",p:4,textAlign:"center"},children:[h.jsx(Te,{variant:"h6",children:"Loading Article..."}),h.jsx(Te,{variant:"body2",color:"var(--theme-text)",children:"Loading"})]}):s?(console.error("Error loading article:",s),h.jsxs(Ce,{component:"article",sx:{maxWidth:"800px",mx:"auto",p:4,textAlign:"center"},children:[h.jsx(Te,{variant:"h6",children:"Error Loading Article"}),h.jsx(Te,{variant:"body2",color:"var(--theme-text)",children:s.message})]})):h.jsx(w0,{...l})}let pn=class extends Ft{};R([L(),N({field_type:O.TEXT,label:"Label",description:"Button label text",placeholder:"Enter button text..."}),F(),te(),z("design:type",String)],pn.prototype,"label",void 0);R([L(),N({field_type:O.SELECT,label:"Variant",description:"Visual style variant",validation:{options:[{label:"Primary",value:"primary"},{label:"Secondary",value:"secondary"},{label:"Outlined",value:"outlined"},{label:"Text",value:"text"},{label:"Contained",value:"contained"}]}}),F(),Re(["primary","secondary","outlined","text","contained"]),z("design:type",String)],pn.prototype,"variant",void 0);R([L(),N({field_type:O.SELECT,label:"Size",description:"Button size",validation:{options:[{label:"Small",value:"small"},{label:"Medium",value:"medium"},{label:"Large",value:"large"}]}}),F(),Re(["small","medium","large"]),z("design:type",String)],pn.prototype,"buttonSize",void 0);R([L(),N({field_type:O.TEXT,label:"Icon",description:"Icon to display (before text)",placeholder:"Icon identifier..."}),F(),te(),z("design:type",String)],pn.prototype,"icon",void 0);R([L(),N({field_type:O.TEXT,label:"End Icon",description:"Icon to display after text",placeholder:"End icon identifier..."}),F(),te(),z("design:type",String)],pn.prototype,"endIcon",void 0);R([L(),N({field_type:O.URL,label:"URL",description:"Link URL - button becomes a link",placeholder:"https://..."}),F(),Mf(),z("design:type",String)],pn.prototype,"href",void 0);R([L(),N({field_type:O.SELECT,label:"Target",description:"Link target (when href is provided)",validation:{options:[{label:"Blank",value:"_blank"},{label:"Self",value:"_self"},{label:"Parent",value:"_parent"},{label:"Top",value:"_top"}]}}),F(),Re(["_blank","_self","_parent","_top"]),z("design:type",String)],pn.prototype,"target",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Disabled",description:"Disabled state"}),F(),z("design:type",Boolean)],pn.prototype,"disabled",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Loading",description:"Loading state - shows spinner and disables interaction"}),F(),z("design:type",Boolean)],pn.prototype,"loading",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Full Width",description:"Full width button"}),F(),z("design:type",Boolean)],pn.prototype,"fullWidth",void 0);pn=R([bt("Action","1.0.0")],pn);let Vi=class extends Ft{};R([L(),N({field_type:O.TEXT,label:"Title",description:"Main heading for the content block",placeholder:"Enter content title..."}),F(),te(),z("design:type",String)],Vi.prototype,"title",void 0);R([L(),N({field_type:O.TEXT,label:"Subtitle",description:"Secondary heading or description",placeholder:"Enter subtitle..."}),F(),te(),z("design:type",String)],Vi.prototype,"subtitle",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Content",description:"Main content body (HTML supported)",placeholder:"Enter content body..."}),F(),te(),z("design:type",Object)],Vi.prototype,"children",void 0);R([L(),N({field_type:O.REPEATER,label:"Actions",description:"Array of action buttons"}),F(),kr(),gn({each:!0}),vn(()=>pn),z("design:type",Array)],Vi.prototype,"actions",void 0);R([L(),N({field_type:O.SELECT,label:"Variant",description:"Background/elevation style",validation:{options:[{label:"Default",value:"default"},{label:"Elevated",value:"elevated"},{label:"Outlined",value:"outlined"},{label:"Filled",value:"filled"}]}}),F(),Re(["default","elevated","outlined","filled"]),z("design:type",String)],Vi.prototype,"variant",void 0);R([L(),N({field_type:O.SELECT,label:"Block Spacing",description:"Content padding size",validation:{options:[{label:"None",value:"none"},{label:"Compact",value:"compact"},{label:"Comfortable",value:"comfortable"},{label:"Spacious",value:"spacious"}]}}),F(),Re(["none","compact","comfortable","spacious"]),z("design:type",String)],Vi.prototype,"blockSpacing",void 0);R([L(),N({field_type:O.SELECT,label:"Content Max Width",description:"Maximum content width constraint",validation:{options:[{label:"XS",value:"xs"},{label:"SM",value:"sm"},{label:"MD",value:"md"},{label:"LG",value:"lg"},{label:"XL",value:"xl"},{label:"Full Width",value:"false"}]}}),F(),Re(["xs","sm","md","lg","xl","false"]),z("design:type",String)],Vi.prototype,"contentMaxWidth",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Centered",description:"Center align content"}),F(),gt(),z("design:type",Boolean)],Vi.prototype,"centered",void 0);Vi=R([bt("Content","1.0.0")],Vi);let su=class extends Ft{};R([L(),N({field_type:O.TEXT,label:"Label",description:'Metadata label (e.g., "followers", "posts")',placeholder:"followers"}),te(),z("design:type",String)],su.prototype,"label",void 0);R([L(),N({field_type:O.TEXT,label:"Value",description:'Metadata value (e.g., "1.2k", "42")',placeholder:"1.2k"}),te(),z("design:type",String)],su.prototype,"value",void 0);su=R([bt("MetadataItem","1.0.0")],su);let Ir=class extends Ft{};R([L(),N({field_type:O.IMAGE,label:"Cover Image",description:"Large banner/cover image URL",placeholder:"Upload cover image"}),F(),te(),z("design:type",String)],Ir.prototype,"coverImage",void 0);R([L(),N({field_type:O.TEXT,label:"Cover Image Alt Text",description:"Alternative text for cover image",placeholder:"Descriptive alt text..."}),F(),te(),z("design:type",String)],Ir.prototype,"coverImageAlt",void 0);R([L(),N({field_type:O.IMAGE,label:"Profile Image",description:"Profile/avatar image URL",placeholder:"Upload profile image"}),F(),te(),z("design:type",String)],Ir.prototype,"profileImage",void 0);R([L(),N({field_type:O.TEXT,label:"Profile Image Alt Text",description:"Alternative text for profile image",placeholder:"Profile alt text..."}),F(),te(),z("design:type",String)],Ir.prototype,"profileImageAlt",void 0);R([L(),N({field_type:O.SELECT,label:"Profile Image Size",description:"Size of the profile image",validation:{options:[{label:"Small",value:"small"},{label:"Medium",value:"medium"},{label:"Large",value:"large"}]}}),F(),Re(["small","medium","large"]),z("design:type",String)],Ir.prototype,"profileImageSize",void 0);R([L(),N({field_type:O.TEXT,label:"Overline",description:"Small text above the main title",placeholder:"Overline text"}),F(),te(),z("design:type",String)],Ir.prototype,"overline",void 0);R([L(),N({field_type:O.TEXT,label:"Title",description:"Main heading/title text",placeholder:"Enter title..."}),te(),z("design:type",String)],Ir.prototype,"title",void 0);R([L(),N({field_type:O.TEXT,label:"Subtitle",description:"Secondary text below the title",placeholder:"Enter subtitle..."}),F(),te(),z("design:type",String)],Ir.prototype,"subtitle",void 0);R([L(),N({field_type:O.REPEATER,label:"Metadata",description:"Array of metadata items (followers, posts, etc.)"}),F(),kr(),gn({each:!0}),vn(()=>su),z("design:type",Array)],Ir.prototype,"metadata",void 0);R([L(),N({field_type:O.REPEATER,label:"Tags",description:"Array of tag strings"}),F(),kr(),te({each:!0}),z("design:type",Array)],Ir.prototype,"tags",void 0);R([L(),N({field_type:O.REPEATER,label:"Actions",description:"Array of action buttons"}),F(),kr(),gn({each:!0}),vn(()=>Fi),z("design:type",Array)],Ir.prototype,"actions",void 0);R([L(),N({field_type:O.NUMBER,label:"Max Visible Actions",description:"Maximum visible actions before overflow",validation:{min:1,max:10}}),F(),Qt(),yn(1),Za(10),z("design:type",Number)],Ir.prototype,"maxVisibleActions",void 0);R([L(),N({field_type:O.NUMBER,label:"Banner Height",description:"Height of the banner area in pixels",validation:{min:100,max:500}}),F(),Qt(),yn(100),Za(500),z("design:type",Number)],Ir.prototype,"height",void 0);R([L(),N({field_type:O.TEXT,label:"CSS Class",description:"Additional CSS class name",placeholder:"custom-class"}),F(),te(),z("design:type",String)],Ir.prototype,"className",void 0);R([L(),N({field_type:O.SELECT,label:"Profile Position",description:"Position of profile image relative to banner",validation:{options:[{label:"Bottom Left",value:"bottom-left"},{label:"Bottom Center",value:"bottom-center"},{label:"Overlay Center",value:"overlay-center"}]}}),F(),Re(["bottom-left","bottom-center","overlay-center"]),z("design:type",String)],Ir.prototype,"profilePosition",void 0);Ir=R([bt("PageBannerHeader","1.0.0")],Ir);let Ui=class extends Ft{};R([L(),N({field_type:O.TEXT,label:"ID",description:"Unique identifier for the feature item",placeholder:"feature-id"}),te(),la(),z("design:type",String)],Ui.prototype,"id",void 0);R([L(),N({field_type:O.TEXT,label:"Icon",description:"Feature icon (emoji or icon name)",placeholder:"🚀 or icon-name"}),F(),te(),z("design:type",String)],Ui.prototype,"icon",void 0);R([L(),N({field_type:O.TEXT,label:"Title",description:"Feature title",placeholder:"Feature title..."}),te(),z("design:type",String)],Ui.prototype,"title",void 0);R([L(),N({field_type:O.TEXT,label:"Description",description:"Feature description",placeholder:"Feature description..."}),te(),z("design:type",String)],Ui.prototype,"description",void 0);R([L(),N({field_type:O.TEXT,label:"Action",description:"Optional action/link text or content",placeholder:"Learn more"}),F(),te(),z("design:type",String)],Ui.prototype,"action",void 0);Ui=R([bt("FeatureItem","1.0.0")],Ui);let qa=class extends Ft{};R([L(),N({field_type:O.REPEATER,label:"Features",description:"Array of feature items"}),kr(),gn({each:!0}),vn(()=>Ui),z("design:type",Array)],qa.prototype,"features",void 0);R([L(),N({field_type:O.SELECT,label:"Columns",description:"Number of columns in the grid",validation:{options:[{label:"1 Column",value:1},{label:"2 Columns",value:2},{label:"3 Columns",value:3},{label:"4 Columns",value:4},{label:"5 Columns",value:5},{label:"6 Columns",value:6}]}}),F(),Qt(),Re([1,2,3,4,5,6]),z("design:type",Number)],qa.prototype,"columns",void 0);R([L(),N({field_type:O.SELECT,label:"Gap",description:"Grid gap size",validation:{options:[{label:"Small",value:"small"},{label:"Medium",value:"medium"},{label:"Large",value:"large"}]}}),F(),Re(["small","medium","large"]),z("design:type",String)],qa.prototype,"gap",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Equal Height",description:"Whether all grid items should have equal height"}),F(),gt(),z("design:type",Boolean)],qa.prototype,"equalHeight",void 0);R([L(),N({field_type:O.TEXT,label:"CSS Class",description:"Additional CSS class name",placeholder:"custom-class"}),F(),te(),z("design:type",String)],qa.prototype,"className",void 0);qa=R([bt("FeatureGrid","1.0.0")],qa);let dr=class extends Ft{};R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Collapsed",description:"Whether the layout is currently collapsed"}),F(),gt(),z("design:type",Boolean)],dr.prototype,"collapsed",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Default Collapsed",description:"Initial collapsed state for uncontrolled usage"}),F(),gt(),z("design:type",Boolean)],dr.prototype,"defaultCollapsed",void 0);R([L(),N({field_type:O.TEXT,label:"Title",description:"Main title displayed in the header",placeholder:"Enter title..."}),F(),te(),z("design:type",String)],dr.prototype,"title",void 0);R([L(),N({field_type:O.TEXT,label:"Subtitle",description:"Secondary text displayed below the title",placeholder:"Enter subtitle..."}),F(),te(),z("design:type",String)],dr.prototype,"subtitle",void 0);R([L(),N({field_type:O.TEXT,label:"Lead Icon",description:"Icon displayed before the title (icon identifier or HTML)",placeholder:"Icon identifier..."}),F(),te(),z("design:type",String)],dr.prototype,"leadIcon",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Header Actions",description:"Additional controls displayed in header (HTML/React content)",placeholder:"Enter header actions HTML..."}),F(),te(),z("design:type",String)],dr.prototype,"headerActions",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Collapsed View",description:"Summary content shown when collapsed (HTML supported)",placeholder:"Enter collapsed view content..."}),F(),te(),z("design:type",String)],dr.prototype,"collapsedView",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Content",description:"Main content shown when expanded (HTML supported)",placeholder:"Enter main content..."}),F(),te(),z("design:type",Object)],dr.prototype,"children",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Footer View",description:"Always visible footer content (HTML supported)",placeholder:"Enter footer content..."}),F(),te(),z("design:type",String)],dr.prototype,"footerView",void 0);R([L({defaultValue:"header"}),N({field_type:O.SELECT,label:"Trigger Area",description:"Area that responds to clicks for toggle functionality",validation:{options:[{label:"Button Only",value:"button"},{label:"Header Area",value:"header"},{label:"Button and Header",value:"both"}]}}),F(),Re(["button","header","both"]),z("design:type",String)],dr.prototype,"triggerArea",void 0);R([L({defaultValue:"slide"}),N({field_type:O.SELECT,label:"Animation Style",description:"Animation variant for expand/collapse transitions",validation:{options:[{label:"Fade",value:"fade"},{label:"Slide",value:"slide"},{label:"Scale",value:"scale"}]}}),F(),Re(["fade","slide","scale"]),z("design:type",String)],dr.prototype,"animationStyle",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Persist State",description:"Save collapse state in local storage"}),F(),gt(),z("design:type",Boolean)],dr.prototype,"persistState",void 0);R([L(),N({field_type:O.TEXT,label:"Collapsed Icon",description:"Icon shown when content is collapsed (default: VisibilityIcon)",placeholder:"Icon identifier..."}),F(),te(),z("design:type",String)],dr.prototype,"collapsedIcon",void 0);R([L(),N({field_type:O.TEXT,label:"Expanded Icon",description:"Icon shown when content is expanded (default: VisibilityOffIcon)",placeholder:"Icon identifier..."}),F(),te(),z("design:type",String)],dr.prototype,"expandedIcon",void 0);R([L({defaultValue:!0}),N({field_type:O.BOOLEAN,label:"Show Divider",description:"Show divider lines between header, content, and footer sections"}),F(),gt(),z("design:type",Boolean)],dr.prototype,"showDivider",void 0);R([L({defaultValue:"default"}),N({field_type:O.SELECT,label:"Variant",description:"Visual style variant for the layout container",validation:{options:[{label:"Default",value:"default"},{label:"Outlined",value:"outlined"},{label:"Elevated",value:"elevated"},{label:"Filled",value:"filled"}]}}),F(),Re(["default","outlined","elevated","filled"]),z("design:type",String)],dr.prototype,"variant",void 0);R([L({defaultValue:"comfortable"}),N({field_type:O.SELECT,label:"Header Spacing",description:"Padding/spacing within the header area",validation:{options:[{label:"Compact",value:"compact"},{label:"Comfortable",value:"comfortable"},{label:"Spacious",value:"spacious"}]}}),F(),Re(["compact","comfortable","spacious"]),z("design:type",String)],dr.prototype,"headerSpacing",void 0);R([L({defaultValue:"comfortable"}),N({field_type:O.SELECT,label:"Content Spacing",description:"Padding/spacing within the content area",validation:{options:[{label:"Compact",value:"compact"},{label:"Comfortable",value:"comfortable"},{label:"Spacious",value:"spacious"}]}}),F(),Re(["compact","comfortable","spacious"]),z("design:type",String)],dr.prototype,"contentSpacing",void 0);dr=R([bt("CollapsibleLayout","1.0.0")],dr);let Jo=class extends Ft{};R([L(),N({field_type:O.TEXT,label:"Action ID",description:"Unique identifier for the action",placeholder:"action-1"}),te(),la(),z("design:type",String)],Jo.prototype,"id",void 0);R([L(),N({field_type:O.TEXT,label:"Label",description:"Action button label",placeholder:"Button text..."}),te(),z("design:type",String)],Jo.prototype,"label",void 0);R([L(),N({field_type:O.SELECT,label:"Style",description:"Button style variant",validation:{options:[{label:"Contained",value:"contained"},{label:"Outlined",value:"outlined"},{label:"Text",value:"text"}]}}),F(),Re(["contained","outlined","text"]),z("design:type",String)],Jo.prototype,"variant",void 0);R([L(),N({field_type:O.SELECT,label:"Color",description:"Button color theme",validation:{options:[{label:"Primary",value:"primary"},{label:"Secondary",value:"secondary"},{label:"Error",value:"error"}]}}),F(),Re(["primary","secondary","error"]),z("design:type",String)],Jo.prototype,"color",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Disabled",description:"Disabled state"}),F(),z("design:type",Boolean)],Jo.prototype,"disabled",void 0);Jo=R([bt("FeatureCardAction","1.0.0")],Jo);let Zo=class extends Ft{};R([L({type:Ge.OBJECT}),N({field_type:O.FORM,label:"Feature Data",description:"Single feature item to display"}),F(),gn(),vn(()=>Ui),z("design:type",Ui)],Zo.prototype,"feature",void 0);R([L({type:Ge.ARRAY}),N({field_type:O.REPEATER,label:"Features List",description:"List of feature strings for list variant"}),F(),kr(),te({each:!0}),z("design:type",Array)],Zo.prototype,"features",void 0);R([L({defaultValue:"standard"}),N({field_type:O.SELECT,label:"Card Type",description:"Display variant for the feature card",validation:{options:[{label:"Standard",value:"standard"},{label:"List",value:"list"}]}}),F(),Re(["standard","list"]),z("design:type",String)],Zo.prototype,"variant",void 0);R([L({type:Ge.ARRAY}),N({field_type:O.REPEATER,label:"Actions",description:"Custom action buttons"}),F(),kr(),gn({each:!0}),vn(()=>Jo),z("design:type",Array)],Zo.prototype,"actions",void 0);R([L(),N({field_type:O.TEXT,label:"Title",description:"Title for list variant",placeholder:"Enter card title..."}),F(),te(),z("design:type",String)],Zo.prototype,"title",void 0);R([L(),N({field_type:O.NUMBER,label:"Elevation",description:"Card elevation (0-24)",validation:{min:0,max:24}}),F(),Qt(),yn(0),Za(24),z("design:type",Number)],Zo.prototype,"elevation",void 0);Zo=R([bt("FeatureCard","1.0.0")],Zo);let Ga=class extends Ft{};R([L(),N({field_type:O.TEXT,label:"ID",description:"Unique identifier for the footer item",placeholder:"footer-item-id"}),te(),la(),z("design:type",String)],Ga.prototype,"id",void 0);R([L(),N({field_type:O.TEXT,label:"Label",description:"Display text for the footer item",placeholder:"Navigation label"}),te(),z("design:type",String)],Ga.prototype,"label",void 0);R([L(),N({field_type:O.URL,label:"URL",description:"Optional URL for links",placeholder:"https://example.com"}),F(),te(),z("design:type",String)],Ga.prototype,"href",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"External Link",description:"Whether to open links in new tab"}),F(),gt(),z("design:type",Boolean)],Ga.prototype,"external",void 0);Ga=R([bt("FooterItem","1.0.0")],Ga);let cl=class extends Ft{};R([L(),N({field_type:O.TEXT,label:"ID",description:"Unique identifier for the footer section",placeholder:"footer-section-id"}),te(),la(),z("design:type",String)],cl.prototype,"id",void 0);R([L(),N({field_type:O.TEXT,label:"Title",description:"Section title/heading",placeholder:"Section title"}),F(),te(),z("design:type",String)],cl.prototype,"title",void 0);R([L(),N({field_type:O.REPEATER,label:"Items",description:"Array of items in this section"}),kr(),gn({each:!0}),vn(()=>Ga),z("design:type",Array)],cl.prototype,"items",void 0);cl=R([bt("FooterSection","1.0.0")],cl);let Wi=class extends Ft{};R([L(),N({field_type:O.REPEATER,label:"Sections",description:"Footer sections with navigation items"}),F(),kr(),gn({each:!0}),vn(()=>cl),z("design:type",Array)],Wi.prototype,"sections",void 0);R([L(),N({field_type:O.TEXT,label:"Logo",description:"Optional logo or branding element (HTML or text)",placeholder:"Company Logo or HTML"}),F(),te(),z("design:type",String)],Wi.prototype,"logo",void 0);R([L(),N({field_type:O.TEXT,label:"Copyright",description:"Copyright text",placeholder:"© 2025 Company Name"}),F(),te(),z("design:type",String)],Wi.prototype,"copyright",void 0);R([L(),N({field_type:O.TEXT,label:"Legal Text",description:"Additional legal or info text",placeholder:"All rights reserved."}),F(),te(),z("design:type",String)],Wi.prototype,"legalText",void 0);R([L(),N({field_type:O.SELECT,label:"Orientation",description:"Layout orientation",validation:{options:[{label:"Vertical",value:"vertical"},{label:"Horizontal",value:"horizontal"}]}}),F(),Re(["vertical","horizontal"]),z("design:type",String)],Wi.prototype,"orientation",void 0);R([L(),N({field_type:O.SELECT,label:"Variant",description:"Background variant",validation:{options:[{label:"Default",value:"default"},{label:"Contained",value:"contained"},{label:"Outlined",value:"outlined"}]}}),F(),Re(["default","contained","outlined"]),z("design:type",String)],Wi.prototype,"variant",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Show Divider",description:"Whether to show divider above footer"}),F(),gt(),z("design:type",Boolean)],Wi.prototype,"showDivider",void 0);R([L(),N({field_type:O.TEXT,label:"CSS Class",description:"Additional CSS class name",placeholder:"custom-footer-class"}),F(),te(),z("design:type",String)],Wi.prototype,"className",void 0);Wi=R([bt("Footer","1.0.0")],Wi);let fn=class extends Ft{};R([L(),N({field_type:O.TEXT,label:"Product ID",description:"Unique product identifier",placeholder:"product-1"}),te(),la(),z("design:type",String)],fn.prototype,"id",void 0);R([L(),N({field_type:O.TEXT,label:"Product Name",description:"The display name of the product",placeholder:"Enter product name..."}),te(),la(),z("design:type",String)],fn.prototype,"name",void 0);R([L(),N({field_type:O.TEXT,label:"Category",description:"Product category or type",placeholder:"e.g., Software, Hardware, Service"}),te(),z("design:type",String)],fn.prototype,"category",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Description",description:"Full product description",placeholder:"Detailed product description..."}),te(),z("design:type",String)],fn.prototype,"description",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Short Description",description:"Brief product description for compact view",placeholder:"Brief description..."}),F(),te(),z("design:type",String)],fn.prototype,"shortDescription",void 0);R([L({type:Ge.ARRAY}),N({field_type:O.REPEATER,label:"Features",description:"List of key product features"}),kr(),te({each:!0}),z("design:type",Array)],fn.prototype,"features",void 0);R([L({type:Ge.ARRAY}),N({field_type:O.REPEATER,label:"Technologies",description:"Technologies used in the product"}),kr(),te({each:!0}),z("design:type",Array)],fn.prototype,"technologies",void 0);R([L(),N({field_type:O.TEXT,label:"Status",description:"Current product status",placeholder:"e.g., Active, Development, Beta"}),te(),z("design:type",String)],fn.prototype,"status",void 0);R([L(),N({field_type:O.IMAGE,label:"Image URL",description:"Product image or screenshot",placeholder:"https://..."}),F(),Mf(),z("design:type",String)],fn.prototype,"image",void 0);R([L(),N({field_type:O.URL,label:"Product URL",description:"Live product URL (for launched products)",placeholder:"https://..."}),F(),Mf(),z("design:type",String)],fn.prototype,"url",void 0);fn=R([bt("Product","1.0.0")],fn);let ea=class extends Ft{};R([L(),N({field_type:O.TEXT,label:"Action ID",description:"Unique action identifier",placeholder:"action-1"}),te(),la(),z("design:type",String)],ea.prototype,"id",void 0);R([L(),N({field_type:O.TEXT,label:"Button Label",description:"Action button text",placeholder:"Button text..."}),te(),z("design:type",String)],ea.prototype,"label",void 0);R([L(),N({field_type:O.SELECT,label:"Button Style",description:"Button style variant",validation:{options:[{label:"Contained",value:"contained"},{label:"Outlined",value:"outlined"},{label:"Text",value:"text"}]}}),F(),Re(["contained","outlined","text"]),z("design:type",String)],ea.prototype,"variant",void 0);R([L(),N({field_type:O.SELECT,label:"Button Color",description:"Button color theme",validation:{options:[{label:"Primary",value:"primary"},{label:"Secondary",value:"secondary"},{label:"Error",value:"error"}]}}),F(),Re(["primary","secondary","error"]),z("design:type",String)],ea.prototype,"color",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Disabled",description:"Disabled state"}),F(),z("design:type",Boolean)],ea.prototype,"disabled",void 0);ea=R([bt("ProductCardAction","1.0.0")],ea);let ta=class extends Ft{};R([L({type:Ge.OBJECT}),N({field_type:O.FORM,label:"Product Data",description:"Product information to display"}),F(),gn(),vn(()=>fn),z("design:type",fn)],ta.prototype,"product",void 0);R([L({defaultValue:"detailed"}),N({field_type:O.SELECT,label:"Card Variant",description:"Display variant for the product card",validation:{options:[{label:"Compact",value:"compact"},{label:"Detailed",value:"detailed"}]}}),F(),Re(["compact","detailed"]),z("design:type",String)],ta.prototype,"variant",void 0);R([L({type:Ge.ARRAY}),N({field_type:O.REPEATER,label:"Custom Actions",description:"Custom action buttons"}),F(),kr(),gn({each:!0}),vn(()=>ea),z("design:type",Array)],ta.prototype,"actions",void 0);R([L({defaultValue:!0}),N({field_type:O.BOOLEAN,label:"Show Image",description:"Whether to display the product image"}),F(),z("design:type",Boolean)],ta.prototype,"showImage",void 0);R([L({defaultValue:!0}),N({field_type:O.BOOLEAN,label:"Show Technologies",description:"Whether to display technology chips"}),F(),z("design:type",Boolean)],ta.prototype,"showTechnologies",void 0);R([L({defaultValue:3}),N({field_type:O.NUMBER,label:"Max Features (Compact)",description:"Maximum features to show in compact mode",validation:{min:1,max:10}}),F(),Qt(),yn(1),Za(10),z("design:type",Number)],ta.prototype,"maxFeaturesCompact",void 0);ta=R([bt("ProductCard","1.0.0")],ta);let ra=class extends mo{};R([L(),N({field_type:O.REPEATER,label:"Grid Items",description:"Array of items to display in the grid"}),kr(),z("design:type",Array)],ra.prototype,"items",void 0);R([L(),N({field_type:O.SELECT,label:"Columns",description:"Number of columns in the grid layout",validation:{options:[{value:1,label:"1 Column"},{value:2,label:"2 Columns (Default)"},{value:3,label:"3 Columns"},{value:4,label:"4 Columns"},{value:5,label:"5 Columns"},{value:6,label:"6 Columns"}]}}),F(),Qt(),Re([1,2,3,4,5,6]),z("design:type",Number)],ra.prototype,"columns",void 0);R([L(),N({field_type:O.SELECT,label:"Grid Spacing",description:"Spacing between grid items",validation:{options:[{value:"none",label:"No Spacing"},{value:"tiny",label:"Tiny"},{value:"small",label:"Small"},{value:"medium",label:"Medium"},{value:"large",label:"Large (Default)"},{value:"huge",label:"Huge"}]}}),F(),Re(["none","tiny","small","medium","large","huge"]),z("design:type",String)],ra.prototype,"spacing",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Equal Height",description:"Whether all cards should have equal height"}),F(),gt(),z("design:type",Boolean)],ra.prototype,"equalHeight",void 0);R([L(),N({field_type:O.SELECT,label:"Card Component Type",description:"Type of card component to render for each item",validation:{options:[{value:"ProductCard",label:"Product Card"},{value:"FeatureCard",label:"Feature Card"},{value:"Custom",label:"Custom Component"}]}}),F(),Re(["ProductCard","FeatureCard","Custom"]),z("design:type",String)],ra.prototype,"renderComponent",void 0);R([L(),N({field_type:O.FORM,label:"Item Properties",description:"Additional properties to pass to each rendered item"}),F(),ON(),z("design:type",Object)],ra.prototype,"itemProps",void 0);ra=R([bt("CardListGrid","1.0.0")],ra);let hi=class extends Ft{};R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Disabled",description:"Disable the theme switcher button"}),F(),gt(),z("design:type",Boolean)],hi.prototype,"disabled",void 0);R([L({defaultValue:"medium"}),N({field_type:O.SELECT,label:"Button Size",description:"Size of the theme switcher button"}),F(),te(),Re(["small","medium","large"]),z("design:type",String)],hi.prototype,"size",void 0);R([L(),N({field_type:O.TEXT,label:"Custom Tooltip",description:"Custom tooltip text override",placeholder:"Current theme: Light"}),F(),te(),z("design:type",String)],hi.prototype,"tooltipText",void 0);R([L({defaultValue:!0}),N({field_type:O.BOOLEAN,label:"Show Tooltip",description:"Show tooltip on hover"}),F(),gt(),z("design:type",Boolean)],hi.prototype,"showTooltip",void 0);R([L({defaultValue:"bottom"}),N({field_type:O.SELECT,label:"Menu Position",description:"Position of the theme selection menu"}),F(),te(),Re(["bottom","top","left","right"]),z("design:type",String)],hi.prototype,"menuPosition",void 0);R([L({defaultValue:!0}),N({field_type:O.BOOLEAN,label:"Show Light Theme",description:"Show light theme option in menu"}),F(),gt(),z("design:type",Boolean)],hi.prototype,"showLightTheme",void 0);R([L({defaultValue:!0}),N({field_type:O.BOOLEAN,label:"Show Dark Theme",description:"Show dark theme option in menu"}),F(),gt(),z("design:type",Boolean)],hi.prototype,"showDarkTheme",void 0);R([L({defaultValue:!0}),N({field_type:O.BOOLEAN,label:"Show System Theme",description:"Show system theme option in menu"}),F(),gt(),z("design:type",Boolean)],hi.prototype,"showSystemTheme",void 0);hi=R([bt("ThemeSwitcher","1.0.0")],hi);var KB=hi;function gS({disabled:t=!1,size:e="medium",tooltipText:r,showTooltip:n=!0,menuPosition:i="bottom",showLightTheme:s=!0,showDarkTheme:l=!0,showSystemTheme:c=!0,...d}){const{styleProps:p,htmlProps:m}=Vr(d),{currentTheme:v,actualThemeMode:g,setPreferredTheme:y}=FC(),[w,x]=T.useState(null),C=!!w,P=U=>{t||x(U.currentTarget)},k=()=>{x(null)},_=U=>{t||(y(U),k())},E=()=>{switch(g){case"dark":return h.jsx(bw,{});case"light":return h.jsx(xp,{});default:return h.jsx(xp,{})}},A=()=>r||(t?"Theme switcher disabled":`Current theme: ${v==="system"?`System (${g})`:v.charAt(0).toUpperCase()+v.slice(1)}`),I=()=>{switch(i){case"top":return{vertical:"top",horizontal:"right"};case"left":return{vertical:"bottom",horizontal:"left"};case"right":return{vertical:"bottom",horizontal:"right"};default:return{vertical:"bottom",horizontal:"right"}}},D=()=>{switch(i){case"top":return{vertical:"bottom",horizontal:"right"};case"left":return{vertical:"top",horizontal:"right"};case"right":return{vertical:"top",horizontal:"left"};default:return{vertical:"top",horizontal:"right"}}};if(!s&&!l&&!c)return h.jsx(Rr,{variant:"outlined",sx:{p:2,textAlign:"center",borderColor:"error.main"},children:h.jsx(Te,{variant:"body2",color:"error",children:"Error: No theme options enabled"})});const $=h.jsxs("span",{suppressHydrationWarning:!0,children:[h.jsx(Ar,{...m,onClick:P,disabled:t,size:e,"aria-label":"theme switcher","aria-controls":C?"theme-menu":void 0,"aria-haspopup":"true","aria-expanded":C?"true":void 0,suppressHydrationWarning:!0,sx:{color:"var(--theme-on-surface, inherit)","&:hover":{backgroundColor:"var(--menu-hover, rgba(0, 0, 0, 0.04))"},"&:disabled":{color:"var(--theme-disabled, rgba(0, 0, 0, 0.26))"},...p.sx},className:p.className,children:E()}),h.jsxs(Tf,{id:"theme-menu",anchorEl:w,open:C,onClose:k,slotProps:{paper:{"aria-labelledby":"theme-button"}},anchorOrigin:I(),transformOrigin:D(),children:[s&&h.jsxs(Dr,{onClick:()=>_("light"),selected:v==="light",children:[h.jsx(vp,{children:h.jsx(xp,{fontSize:"small"})}),h.jsx(bp,{children:"Light"})]}),l&&h.jsxs(Dr,{onClick:()=>_("dark"),selected:v==="dark",children:[h.jsx(vp,{children:h.jsx(bw,{fontSize:"small"})}),h.jsx(bp,{children:"Dark"})]}),c&&h.jsxs(Dr,{onClick:()=>_("system"),selected:v==="system",children:[h.jsx(vp,{children:h.jsx(I8,{fontSize:"small"})}),h.jsx(bp,{children:"System"})]})]})]});return n?h.jsx(Tn,{title:A(),children:$}):$}function sT(t){const{dataSource:e,bindingOptions:r,...n}=t,i=Xi(e||"",n,KB.getSchema(),{...r});if(!e)return h.jsx(gS,{...n});const{loading:s,error:l,...c}=i;return s?h.jsx(Ar,{disabled:!0,size:"medium",children:h.jsx(xp,{})}):l?(console.error("Error loading theme switcher:",l),h.jsx(Rr,{variant:"outlined",sx:{p:2,textAlign:"center",borderColor:"error.main"},children:h.jsxs(Te,{variant:"body2",color:"error",children:["Error loading theme switcher: ",l.message]})})):h.jsx(gS,{...c})}sT[Jr]=!0;let na=class extends Ft{};R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Disabled",description:"Disable the palette switcher button"}),F(),gt(),z("design:type",Boolean)],na.prototype,"disabled",void 0);R([L(),N({field_type:O.TEXT,label:"Button Size",description:"Size of the palette switcher button",placeholder:"medium"}),F(),te(),z("design:type",String)],na.prototype,"buttonSize",void 0);R([L(),N({field_type:O.TEXT,label:"Tooltip Text",description:"Custom tooltip text for the palette switcher",placeholder:"Switch color palette"}),F(),te(),z("design:type",String)],na.prototype,"tooltipText",void 0);R([L({defaultValue:!0}),N({field_type:O.BOOLEAN,label:"Show Active Badge",description:'Show "Active" badge on currently selected palette'}),F(),gt(),z("design:type",Boolean)],na.prototype,"showActiveBadge",void 0);R([L({defaultValue:!0}),N({field_type:O.BOOLEAN,label:"Show Descriptions",description:"Show palette descriptions in menu items"}),F(),gt(),z("design:type",Boolean)],na.prototype,"showDescriptions",void 0);na=R([bt("PaletteSwitcher","1.0.0")],na);var QB=na;function yS({disabled:t=!1,buttonSize:e="medium",tooltipText:r,showActiveBadge:n=!0,showDescriptions:i=!0,...s}){const{styleProps:l,htmlProps:c}=Vr(s),{currentPalette:d,setPreferredPalette:p,availablePalettes:m}=BC(),[v,g]=T.useState(null),y=!!v,w=E=>{g(E.currentTarget)},x=()=>{g(null)},C=E=>{p(E),x()},P=E=>{const A=E.id===d;return h.jsx(e8,{fontSize:"small",sx:{color:E.primaryColor,filter:A?"drop-shadow(0 0 3px currentColor) brightness(1.2)":"none",transform:A?"scale(1.1)":"scale(1)",transition:"all 0.2s ease-in-out"}})},k=()=>m.find(E=>E.id===d)||m[0];if(!m||m.length===0)return h.jsx(Rr,{...c,...l,variant:"outlined",sx:{p:2,textAlign:"center",opacity:.6,...l.sx},children:h.jsx(Te,{variant:"body2",color:"text.secondary",children:"No color palettes available"})});const _=`Switch color palette (current: ${k().name})`;return h.jsxs(Ce,{...c,...l,children:[h.jsx(Tn,{title:r||_,children:h.jsx(Ar,{onClick:w,disabled:t,size:e,"aria-label":"palette switcher","aria-controls":y?"palette-menu":void 0,"aria-haspopup":"true","aria-expanded":y?"true":void 0,sx:{color:"var(--theme-on-surface, inherit)","&:hover":{backgroundColor:"var(--menu-hover, rgba(0, 0, 0, 0.04))"}},children:h.jsx(C8,{})})}),h.jsx(Tf,{id:"palette-menu",anchorEl:v,open:y,onClose:x,slotProps:{paper:{"aria-labelledby":"palette-button"}},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:m.map(E=>h.jsxs(Dr,{onClick:()=>C(E.id),selected:d===E.id,sx:{"&:hover":{backgroundColor:"action.hover"},"&.Mui-selected":{backgroundColor:"action.selected","&:hover":{backgroundColor:"action.selected"}}},children:[h.jsx(vp,{children:P(E)}),h.jsx(bp,{primary:h.jsxs(Ce,{sx:{display:"flex",alignItems:"center",gap:1},children:[E.name,n&&d===E.id&&h.jsx(Ce,{component:"span",sx:{fontSize:"0.75rem",px:1,py:.25,borderRadius:1,backgroundColor:"primary.main",color:"primary.contrastText"},children:"Active"})]}),secondary:i?E.description:void 0})]},E.id))})]})}function lT(t){const{dataSource:e,bindingOptions:r,...n}=t,i=Xi(e||"",n,QB.getSchema(),{...r});if(!e)return h.jsx(yS,{...n});const{loading:s,error:l,...c}=i;return s?h.jsxs(Rr,{variant:"outlined",sx:{p:2,textAlign:"center"},children:[h.jsx(Te,{variant:"body2",children:"Loading PaletteSwitcher..."}),h.jsx(Te,{variant:"caption",color:"text.secondary",children:"Loading palette switcher from data source..."})]}):l?(console.error("Error loading palette switcher:",l),h.jsx(Rr,{variant:"outlined",sx:{p:2,textAlign:"center",borderColor:"error.main"},children:h.jsxs(Te,{variant:"body2",color:"error",children:["Error loading palette switcher: ",l.message]})})):h.jsx(yS,{...c})}lT[Jr]=!0;const cT=pt.forwardRef((t,e)=>{const{gridProps:r,styleProps:n,htmlProps:i,restProps:s}=Vr(t),{label:l,value:c,onChange:d,onChangeRaw:p,type:m="text",helperText:v,required:g=!1,readOnly:y=!1,disabled:w=!1,disabledColor:x,fullWidth:C=!0,multiline:P=!1,rows:k,placeholder:_,startAdornment:E,endAdornment:A,inputProps:I}=s,D=pt.useId(),$=M=>{if(p){p(M);return}if(d){const W=m==="number"?parseInt(M.target.value)||0:M.target.value;d(W)}},U={p:1,pl:1.6,mt:3,color:w&&x?x:y?"var(--theme-text-secondary)":"var(--theme-text-primary)",backgroundColor:y?"var(--theme-surface-variant)":"transparent",borderRadius:1,"&.Mui-disabled":x?{color:x,WebkitTextFillColor:x}:void 0,"& input.Mui-disabled":x?{color:x,WebkitTextFillColor:x}:void 0,...n.sx},X={left:-12,fontWeight:600,color:"var(--theme-text-primary)"},H={color:"var(--theme-secondary)"};return h.jsxs(Yo,{ref:e,fullWidth:C,...i,...n,...r&&{"data-grid-span":r.span,"data-grid-xs":r.xs,"data-grid-sm":r.sm,"data-grid-md":r.md,"data-grid-lg":r.lg,"data-grid-xl":r.xl},children:[h.jsx(Zs,{htmlFor:D,sx:X,shrink:!0,children:l}),h.jsx(Ef,{id:D,type:m,value:c,onChange:$,readOnly:y,disabled:w,required:g,multiline:P,rows:k,placeholder:_,inputProps:I,sx:U,startAdornment:E?h.jsx(Bx,{position:"start",children:E}):void 0,endAdornment:A?h.jsx(Bx,{position:"end",children:A}):void 0}),v&&h.jsx(yl,{sx:H,children:v})]})});cT.displayName="FormField";cT[Jr]=!0;const uT=pt.forwardRef((t,e)=>{const{gridProps:r,styleProps:n,htmlProps:i,restProps:s}=Vr(t),{label:l,value:c,onChange:d,options:p,helperText:m,required:v=!1,disabled:g=!1,fullWidth:y=!0,size:w="small",placeholder:x}=s,C=E=>{d(E.target.value)},P={p:1,pl:1.6,...l?{mt:1,color:"var(--theme-text-primary)"}:{},backgroundColor:"var(--theme-surface-variant)",borderColor:"var(--theme-surface)",color:"var(--theme-text-primary)",borderRadius:1,...n.sx},k={left:-12,fontWeight:600,color:"var(--theme-text-primary)"},_={color:"var(--theme-secondary)"};return h.jsxs(Yo,{ref:e,fullWidth:y,size:w,...i,...n,...r&&{"data-grid-span":r.span,"data-grid-xs":r.xs,"data-grid-sm":r.sm,"data-grid-md":r.md,"data-grid-lg":r.lg,"data-grid-xl":r.xl},children:[l&&h.jsx(Zs,{sx:k,shrink:!0,children:l}),h.jsxs(el,{value:c,onChange:C,disabled:g,required:v,displayEmpty:!!x,sx:P,children:[x&&h.jsx(Dr,{value:"",disabled:!0,children:x}),p.map(E=>h.jsx(Dr,{value:E.value,children:E.label},E.value))]}),m&&h.jsx(yl,{sx:_,children:m})]})});uT.displayName="FormSelect";uT[Jr]=!0;const dT=pt.forwardRef((t,e)=>{const{gridProps:r,styleProps:n,htmlProps:i,restProps:s}=Vr(t),{label:l,checked:c,onChange:d,helperText:p,required:m=!1,disabled:v=!1}=s,g=C=>{d(C.target.checked)},y={color:"var(--theme-primary)","&.Mui-checked":{color:"var(--theme-primary)"},"&.Mui-disabled":{color:"var(--theme-text-disabled)"}},w={color:"var(--theme-text-primary)","& .MuiFormControlLabel-label":{color:"var(--theme-text-primary)"},"& .MuiFormControlLabel-label.Mui-disabled":{color:"var(--theme-text-disabled)"},...n.sx},x={color:"var(--theme-secondary)",marginLeft:"32px"};return h.jsxs(Yo,{ref:e,...i,...n,...r&&{"data-grid-span":r.span,"data-grid-xs":r.xs,"data-grid-sm":r.sm,"data-grid-md":r.md,"data-grid-lg":r.lg,"data-grid-xl":r.xl},children:[h.jsx(aC,{control:h.jsx(i6,{checked:c,onChange:g,required:m,disabled:v,sx:y}),label:l,sx:w}),p&&h.jsx(yl,{sx:x,children:p})]})});dT.displayName="FormCheckbox";dT[Jr]=!0;const pT=pt.forwardRef((t,e)=>{const{gridProps:r,styleProps:n,htmlProps:i,restProps:s}=Vr(t),{provider:l,siteKey:c,onVerify:d,onExpire:p,onError:m,theme:v="light",size:g="normal",action:y="submit"}=s,w=T.useRef(null),x=T.useRef(null),[C,P]=T.useState(!1),[k,_]=T.useState(null);return T.useEffect(()=>{(()=>{if((()=>{switch(l){case"recaptcha-v2":case"recaptcha-v3":return!!window.grecaptcha;case"hcaptcha":return!!window.hcaptcha;case"turnstile":return!!window.turnstile;default:return!1}})()){P(!0);return}const D=(()=>{switch(l){case"recaptcha-v2":return"https://www.google.com/recaptcha/api.js?render=explicit";case"recaptcha-v3":return`https://www.google.com/recaptcha/api.js?render=${c}`;case"hcaptcha":return"https://js.hcaptcha.com/1/api.js?render=explicit";case"turnstile":return"https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit";default:return""}})();if(!D){_("Unsupported CAPTCHA provider");return}const $=document.createElement("script");return $.src=D,$.async=!0,$.defer=!0,$.onload=()=>{P(!0)},$.onerror=()=>{_("Failed to load CAPTCHA script"),m==null||m(new Error("Failed to load CAPTCHA script"))},document.head.appendChild($),()=>{document.head.removeChild($)}})()},[l,c,m]),T.useEffect(()=>{if(!C||!w.current)return;const A=setTimeout(()=>{try{switch(l){case"recaptcha-v2":window.grecaptcha&&window.grecaptcha.render&&(x.current=window.grecaptcha.render(w.current,{sitekey:c,callback:d,"expired-callback":p,"error-callback":()=>{const I=new Error("reCAPTCHA error");_(I.message),m==null||m(I)},theme:v,size:g}));break;case"recaptcha-v3":window.grecaptcha&&window.grecaptcha.execute&&window.grecaptcha.execute(c,{action:y}).then(I=>{d(I)}).catch(I=>{_(I.message),m==null||m(I)});break;case"hcaptcha":window.hcaptcha&&window.hcaptcha.render&&(x.current=window.hcaptcha.render(w.current,{sitekey:c,callback:d,"expired-callback":p,"error-callback":()=>{const I=new Error("hCaptcha error");_(I.message),m==null||m(I)},theme:v,size:g==="normal"?"normal":"compact"}));break;case"turnstile":window.turnstile&&window.turnstile.render&&(x.current=window.turnstile.render(w.current,{sitekey:c,callback:d,"expired-callback":p,"error-callback":()=>{const I=new Error("Turnstile error");_(I.message),m==null||m(I)},theme:v,size:g==="compact"?"compact":"normal"}));break}}catch(I){const D=I instanceof Error?I:new Error("Failed to render CAPTCHA");_(D.message),m==null||m(D)}},100);return()=>{var I,D,$;if(clearTimeout(A),x.current!==null)try{switch(l){case"recaptcha-v2":(I=window.grecaptcha)==null||I.reset(x.current);break;case"hcaptcha":(D=window.hcaptcha)==null||D.remove(x.current);break;case"turnstile":($=window.turnstile)==null||$.remove(x.current);break}}catch{}}},[C,l,c,d,p,m,v,g,y]),l==="recaptcha-v3"?null:h.jsxs(Ce,{ref:e,...i,sx:{my:2,...n.sx},...r&&{"data-grid-span":r.span,"data-grid-xs":r.xs,"data-grid-sm":r.sm,"data-grid-md":r.md,"data-grid-lg":r.lg,"data-grid-xl":r.xl},children:[k&&h.jsx(Qa,{severity:"error",sx:{mb:2},children:k}),h.jsx("div",{ref:w})]})});pT.displayName="Captcha";pT[Jr]=!0;const fT=pt.forwardRef((t,e)=>{var E;const{gridProps:r,styleProps:n,htmlProps:i,restProps:s}=Vr(t),{placeholder:l,value:c,defaultValue:d,slotProps:p,InputLabelProps:m,InputProps:v,variant:g="outlined",...y}=s,w=c!=null&&c!==""||d!=null&&d!=="",x=!!l&&!w,C=((E=p==null?void 0:p.inputLabel)==null?void 0:E.shrink)??(m==null?void 0:m.shrink),P=C!==void 0?C:x,k={...p,inputLabel:{...(p==null?void 0:p.inputLabel)||{},...P?{shrink:!0}:{}}};let _=v||{};return g==="outlined"&&P&&l&&!w&&_.notched===void 0&&(_={..._,notched:!0}),fT[Jr]=!0,h.jsx(Pf,{ref:e,placeholder:l,value:c,defaultValue:d,variant:g,slotProps:k,InputProps:_,...y,...i,...n,...r&&{"data-grid-span":r.span,"data-grid-xs":r.xs,"data-grid-sm":r.sm,"data-grid-md":r.md,"data-grid-lg":r.lg,"data-grid-xl":r.xl}})});fT.displayName="TextField";function vS(t,e={}){const{defaultUnit:r="px",allowedUnits:n=["px","mm","cm","in","pt","pc"],allowKeywords:i=!1,fallback:s=`0${r}`}=e;if(t==null)return s;if(typeof t=="number"&&isFinite(t))return`${t}${r}`;const l=String(t).trim();return l?i&&/^(auto|inherit|initial|unset)$/.test(l)?l:/^-?\d+(\.\d+)?$/.test(l)?`${l}${r}`:new RegExp(`^-?\\d+(?:\\.\\d+)?(${n.map(d=>d.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")).join("|")})$`).test(l)?l:s:s}const YB=T.createContext(null);function JB(t,e,r){const{openGraph:n=!0,removeOnUnmount:i=!1}={};T.useEffect(()=>{const s=document.title;let l=!1,c=document.querySelector('meta[name="description"]');t&&document.title!==t&&(document.title=t),e&&(c||(c=document.createElement("meta"),c.name="description",document.head.appendChild(c),l=!0),c.content!==e&&(c.content=e));let d=null,p=null;return n&&(t&&(d=document.querySelector('meta[property="og:title"]'),d||(d=document.createElement("meta"),d.setAttribute("property","og:title"),document.head.appendChild(d)),d.content!==t&&(d.content=t)),e&&(p=document.querySelector('meta[property="og:description"]'),p||(p=document.createElement("meta"),p.setAttribute("property","og:description"),document.head.appendChild(p)),p.content!==e&&(p.content=e))),()=>{var m,v,g;i&&(document.title===t&&(document.title=s),e&&c&&(l||i)&&((m=c.parentNode)==null||m.removeChild(c)),n&&(d&&i&&((v=d.parentNode)==null||v.removeChild(d)),p&&i&&((g=p.parentNode)==null||g.removeChild(p))))}},[t,e,n,i])}const ZB=({renderView:t,renderPrintView:e,template:r,route:n,title:i,description:s,name:l,slug:c,printConfig:d,variant:p="default",padding:m="medium",background:v="default",maxWidth:g="large",children:y,...w})=>{const{htmlProps:x,styleProps:C}=Vr(w),[P,k]=T.useState(!1),[_,E]=T.useState(null),A={route:n??(r!=null&&r.slug?`/${r.slug}`:void 0),title:i??(r==null?void 0:r.title)??(r==null?void 0:r.name),description:s??(r==null?void 0:r.description),name:l??(r==null?void 0:r.name),slug:c??(r==null?void 0:r.slug),printConfig:{...r==null?void 0:r.printConfig,...d}};JB(A.title,A.description);const{isPrintMode:I,printConfig:D,onViewLoading:$,onViewReady:U,triggerPrint:X}=P9(),H=T.useCallback(J=>X({...A.printConfig,...J}),[X,A.printConfig]);T.useLayoutEffect(()=>{I&&(P?$():U())},[I,P,$,U]),T.useEffect(()=>{if(!I)return;const J="qwickapps-print-page-setup",Z=D,Q=Z.pageSize||"auto",q=Z.printBackground||"transparent",ne=Z.printBackgroundFirstPage||q,ue=document.querySelector(".page-print-header:not(.page-print-header-first-page)"),oe=document.querySelector(".page-print-footer:not(.page-print-footer-first-page)"),ie=ue!=null&&ue.getBoundingClientRect?Math.ceil(ue.getBoundingClientRect().height):0,ee=oe!=null&&oe.getBoundingClientRect?Math.ceil(oe.getBoundingClientRect().height):0,pe=ie?`${ie}px`:vS(Z.printHeaderHeight||0),ve=ee?`${ee}px`:vS(Z.printFooterHeight||0),xe=(ze,Oe)=>`@media print{@page{size:${Q};margin:0;} .page-print-mode{--print-header-height:${ze};--print-footer-height:${Oe};--print-background:${q};--print-background-first-page:${ne};}}`;let se=document.getElementById(J);se||(se=document.createElement("style"),se.id=J,document.head.appendChild(se)),se.textContent=xe(pe,ve);let Le=null;window.ResizeObserver&&(Le=new ResizeObserver(()=>{const ze=ue!=null&&ue.getBoundingClientRect?Math.ceil(ue.getBoundingClientRect().height):0,Oe=oe!=null&&oe.getBoundingClientRect?Math.ceil(oe.getBoundingClientRect().height):0,_e=xe(ze?`${ze}px`:pe,Oe?`${Oe}px`:ve);se&&se.textContent!==_e&&(se.textContent=_e)}),ue&&Le.observe(ue),oe&&Le.observe(oe));const De=()=>{const ze=document.getElementById(J);ze!=null&&ze.parentNode&&ze.parentNode.removeChild(ze),Le==null||Le.disconnect()};return window.addEventListener("afterprint",De,{once:!0}),()=>{window.removeEventListener("afterprint",De),De()}},[I,D]);const M=qC(),W=A.route||(M==null?void 0:M.pathname)||"",G=T.useMemo(()=>({route:W,isPrintMode:I,printConfig:D,triggerPrint:H,setLoading:k,setError:E,isLoading:P,error:_}),[W,I,D,H,P,_]),B=["page",`page-variant-${p}`,`page-padding-${m}`,`page-background-${v}`,`page-max-width-${g}`,I&&"page-print-mode",I&&D.pageMargins==="0mm"&&"page-print-borderless",I&&D.pageMargins==="6mm"&&"page-print-compact",I&&D.pageMargins==="20mm"&&"page-print-large",I&&D.pageMargins==="25mm"&&"page-print-formal",I&&(D.printBackground||D.printBackgroundFirstPage)&&"has-background",C.className].filter(Boolean).join(" "),V=(I?e:t)(),K=V??y;return h.jsx(YB.Provider,{value:G,children:h.jsxs(Ce,{className:B,sx:C.sx,style:C.style,...x,children:[I&&D.printHeader&&h.jsx("div",{className:"page-print-header",children:typeof D.printHeader=="string"?h.jsx(Pn,{html:Tc`${D.printHeader}`}):D.printHeader}),I&&D.printHeaderFirstPage&&h.jsx("div",{className:"page-print-header page-print-header-first-page",children:typeof D.printHeaderFirstPage=="string"?h.jsx(Pn,{html:Tc`${D.printHeaderFirstPage}`}):D.printHeaderFirstPage}),I&&!D.printHeader&&D.printTitle&&h.jsxs("div",{className:"page-print-header",children:[h.jsx("h1",{children:D.printTitle}),D.showPrintDate&&h.jsxs("div",{className:"page-print-date",children:["Printed on: ",new Date().toLocaleString()]})]}),A.name&&A.name!==A.title&&h.jsx("div",{className:"page-heading",children:h.jsx("h1",{children:A.name})}),h.jsx("div",{className:"page-content",children:K}),I&&D.printFooter&&h.jsx("div",{className:"page-print-footer",children:typeof D.printFooter=="string"?h.jsx(Pn,{html:Tc`${D.printFooter}`}):D.printFooter}),I&&D.printFooterFirstPage&&h.jsx("div",{className:"page-print-footer page-print-footer-first-page",children:typeof D.printFooterFirstPage=="string"?h.jsx(Pn,{html:Tc`${D.printFooterFirstPage}`}):D.printFooterFirstPage})]})})};class WF extends pt.Component{getPageProps(){return{}}renderView(){return this.props.children}renderPrintView(){return this.renderView()}render(){const e={...this.props,...this.getPageProps()};return h.jsx(ZB,{...e,renderView:()=>this.renderView(),renderPrintView:()=>this.renderPrintView()})}}const Mi=Q8.scaffold,bS={mobile:600,tablet:1024},eD=({children:t,navigationItems:e=[],appBar:r,className:n="",showAppBar:i=!0,appBarHeight:s=64,appName:l,showThemeSwitcher:c=!1,showPaletteSwitcher:d=!1,onLogoClick:p})=>{const[m,v]=T.useState("desktop"),[g,y]=T.useState(!1),[w,x]=T.useState(!1),[C,P]=T.useState(!1),k=qC(),_=G9(),E=C?k==null?void 0:k.pathname:void 0;pt.useEffect(()=>{E&&Mi.debug("Current path changed to:",E)},[E]),T.useEffect(()=>{P(!0)},[]);const{appName:A,logo:I}=Jy(),D=l||A;T.useEffect(()=>{const Q=()=>{const q=window.innerWidth;q<bS.mobile?v("mobile"):q<=bS.tablet?v("tablet"):v("desktop")};return Q(),window.addEventListener("resize",Q),()=>window.removeEventListener("resize",Q)},[]);const $=[...e].sort((Q,q)=>(Q.priority||999)-(q.priority||999)),U=()=>{switch(m){case"mobile":{const Q=$.slice(0,5),q=$.slice(5);return{primaryItems:Q,drawerItems:q}}case"tablet":{const Q=$.slice(0,7),q=$.slice(7);return{primaryItems:Q,drawerItems:q}}case"desktop":{const Q=$.slice(0,7),q=$.slice(7);return{primaryItems:Q,drawerItems:q}}default:return{primaryItems:$,drawerItems:[]}}},{primaryItems:X,drawerItems:H}=U(),M=pt.useMemo(()=>{const Q=r||{};return{...Q,title:Q.title||D,actions:Q.actions}},[r,D]),W=(M==null?void 0:M.logo)||I||h.jsx(Af,{name:(M==null?void 0:M.title)||D,size:"small"}),G=()=>{y(!g)},B=()=>{x(!w)},V=(Q,q="appbar")=>{const ne=Q.active||Q.route&&E===Q.route||!Q.active&&!Q.route&&E&&E===`/${Q.id}`;Q.route&&Mi.debug(`Route matching for ${Q.id}: ${E} === ${Q.route} = ${ne}`);const ue=()=>{if(Q.disabled)return;if(ne&&Q.route===E){Mi.debug(`Navigation prevented: Already on route ${Q.route}`);return}if(Q.onClick)try{Q.onClick()}catch(xe){Mi.error("Menu item onClick error:",xe)}else if(Q.route)try{if(Mi.debug(`Navigating from ${E} to ${Q.route}`),E&&E===Q.route){Mi.debug("Final check: Same route detected, skipping navigation");return}_(Q.route)}catch(xe){const se=xe instanceof Error?xe.message:"Unknown error";if(Mi.error("Navigation error caught:",xe),Mi.error("Navigation context:",{from:E,to:Q.route,isActiveItem:ne,itemId:Q.id,errorMessage:se}),Q.route&&Q.route!==E)try{Mi.debug("Attempting fallback navigation using window.location"),window.location.pathname=Q.route}catch(Le){Mi.error("Fallback navigation also failed:",Le)}}},oe=q!=="drawer";let ie=null;Q.icon?typeof Q.icon=="string"?ie=Lg(Q.icon)||(oe?h.jsx(Cw,{}):null):ie=Q.icon:oe&&(ie=h.jsx(Cw,{}));const ee=h.jsxs(h.Fragment,{children:[ie&&h.jsx("span",{className:`menu-item-icon menu-item-icon-${q}`,children:ie}),h.jsx("span",{className:`menu-item-label menu-item-label-${q}`,children:Q.label}),Q.badge&&h.jsx("span",{className:"menu-item-badge",children:Q.badge})]}),pe={className:`menu-item menu-item-${q} ${ne?"active":""} ${Q.disabled?"disabled":""}`,"aria-label":Q.label,"aria-current":ne?"page":void 0,onClick:Q.disabled?void 0:ue};return Q.href&&!Q.disabled?h.jsx("a",{href:Q.href,...pe,target:"_blank",rel:"noopener noreferrer",children:ee}):h.jsx("button",{type:"button",...pe,disabled:!!(Q.disabled||ne&&Q.route===E),children:ee})},J=(()=>{const Q=m==="mobile"?16:m==="tablet"?24:32,q=Q+(i?s:0),ne=Q+(m==="mobile"?80:0),ue=Q+(m==="tablet"?w?280:80:0);return{paddingTop:q,paddingBottom:ne,paddingLeft:ue,paddingRight:Q}})(),Z=()=>h.jsx("div",{className:"appbar-logo",onClick:p,style:{cursor:p?"pointer":"default"},children:W});return h.jsxs("div",{className:`app-scaffold ${n}`,children:[i&&h.jsx("header",{className:"app-scaffold-appbar",style:{height:s},children:h.jsxs("div",{className:"appbar-content",children:[h.jsxs("div",{className:"appbar-left",children:[(H.length>0||m==="tablet")&&h.jsx("button",{type:"button",className:"menu-button",onClick:m==="tablet"?B:G,"aria-label":m==="tablet"?"Toggle navigation rail":"Open drawer menu",children:h.jsxs("span",{className:"hamburger-icon",children:[h.jsx("span",{},"hamburger-line-1"),h.jsx("span",{},"hamburger-line-2"),h.jsx("span",{},"hamburger-line-3")]})},"menu-button"),(!(M!=null&&M.logoPosition)||M.logoPosition==="left")&&h.jsx(Z,{},"app-logo-left")]}),h.jsxs("div",{className:"appbar-center",children:[(M==null?void 0:M.logoPosition)==="center"&&h.jsx(Z,{},"app-logo-center"),m==="desktop"&&h.jsx("nav",{className:"appbar-navigation",children:X.map(Q=>h.jsx(pt.Fragment,{children:V(Q,"appbar")},Q.id))},"desktop-navigation")]}),h.jsxs("div",{className:"appbar-right",children:[(M==null?void 0:M.actions)&&h.jsx("div",{className:"appbar-actions",children:M.actions},"appbar-actions"),h.jsxs("div",{className:"appbar-theme-controls",children:[c&&h.jsx(sT,{},"theme-switcher"),d&&h.jsx(lT,{},"palette-switcher")]},"appbar-theme-controls")]})]})}),m==="tablet"&&h.jsx("nav",{className:`navigation-rail ${w?"expanded":"collapsed"}`,children:h.jsx("div",{className:"rail-items",children:X.map(Q=>h.jsx(pt.Fragment,{children:V(Q,"rail")},Q.id))})}),m==="mobile"&&X.length>0&&h.jsx("nav",{className:"bottom-navigation",children:h.jsx("div",{className:"bottom-nav-items",children:X.map(Q=>h.jsx(pt.Fragment,{children:V(Q,"bottom")},Q.id))})}),g&&H.length>0&&h.jsx("div",{className:"drawer-overlay",onClick:G,children:h.jsxs("nav",{className:"navigation-drawer",onClick:Q=>Q.stopPropagation(),children:[h.jsxs("div",{className:"drawer-header",children:[h.jsx("h3",{children:"Menu"},"drawer-title"),h.jsx("button",{type:"button",className:"drawer-close",onClick:G,"aria-label":"Close drawer",children:"×"},"drawer-close-button")]}),h.jsxs("div",{className:"drawer-items",children:[h.jsxs("div",{className:"drawer-section",children:[h.jsx("h4",{children:"Navigation"},"navigation-header"),X.map(Q=>h.jsx(pt.Fragment,{children:V(Q,"drawer")},Q.id))]}),H.length>0&&h.jsxs("div",{className:"drawer-section",children:[h.jsx("h4",{children:"More"},"more-header"),H.map(Q=>h.jsx(pt.Fragment,{children:V(Q,"drawer")},Q.id))]})]})]})}),h.jsx("main",{className:"app-scaffold-content",style:{paddingTop:`${J.paddingTop}px`,paddingBottom:`${J.paddingBottom}px`,paddingLeft:`${J.paddingLeft}px`,paddingRight:`${J.paddingRight}px`},children:t})]})};class tD extends T.Component{constructor(e){super(e),this.handleRetry=()=>{this.setState({hasError:!1,error:null,errorInfo:null})},this.handleRefresh=()=>{typeof window<"u"&&window.location.reload()},this.state={hasError:!1,error:null,errorInfo:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e,errorInfo:null}}componentDidCatch(e,r){var n;this.setState({error:e,errorInfo:r}),console.error("ErrorBoundary caught an error:",e,r),this.props.onError&&this.props.onError(e,r),typeof window<"u"&&(n=window.qwickapps)!=null&&n.logError&&window.qwickapps.logError(e,r)}render(){var e;return this.state.hasError?this.props.fallback?this.props.fallback:h.jsxs("div",{className:"error-boundary",role:"alert",style:{padding:"2rem",textAlign:"center",backgroundColor:"#fef2f2",border:"1px solid #fecaca",borderRadius:"8px",margin:"1rem",color:"#991b1b"},children:[h.jsxs("div",{style:{marginBottom:"1.5rem"},children:[h.jsx("h2",{style:{fontSize:"1.5rem",fontWeight:"bold",marginBottom:"0.5rem",color:"#991b1b"},children:"Something went wrong"}),h.jsx("p",{style:{color:"#7f1d1d",marginBottom:"1rem"},children:"An unexpected error occurred in the application. Please try again or refresh the page."})]}),h.jsxs("div",{style:{display:"flex",gap:"0.75rem",justifyContent:"center",marginBottom:"1rem"},children:[h.jsx(Qc,{variant:"contained",onClick:this.handleRetry,children:"Try Again"}),h.jsx(Qc,{variant:"outlined",onClick:this.handleRefresh,children:"Refresh Page"})]}),this.state.error&&h.jsxs("details",{style:{textAlign:"left",marginTop:"1rem",padding:"1rem",backgroundColor:"#f9fafb",border:"1px solid #d1d5db",borderRadius:"6px"},children:[h.jsx("summary",{style:{cursor:"pointer",fontWeight:"bold",marginBottom:"0.5rem",color:"#374151"},children:"Error Details (Development Mode)"}),h.jsxs("pre",{style:{fontSize:"0.75rem",color:"#374151",whiteSpace:"pre-wrap",overflow:"auto"},children:[this.state.error.toString(),((e=this.state.errorInfo)==null?void 0:e.componentStack)&&h.jsxs(h.Fragment,{children:[h.jsx("br",{}),h.jsx("br",{}),"Component Stack:",this.state.errorInfo.componentStack]})]})]})]}):this.props.children}}const rD=T.createContext(null),nD=(t,e)=>{switch(e.type){case"SET_HIGH_CONTRAST":return{...t,highContrast:e.payload};case"SET_REDUCED_MOTION":return{...t,reducedMotion:e.payload};case"SET_LARGE_TEXT":return{...t,largeText:e.payload};case"SET_FOCUS_VISIBLE":return{...t,focusVisible:e.payload};case"SET_KEYBOARD_USER":return{...t,isKeyboardUser:e.payload};case"ADD_ISSUE":return{...t,issues:[...t.issues,e.payload]};case"CLEAR_ISSUES":return{...t,issues:[]};case"SET_ANNOUNCEMENT":return{...t,lastAnnouncement:e.payload};default:return t}},iD={highContrast:!1,reducedMotion:!1,largeText:!1,focusVisible:!0,isKeyboardUser:!1,issues:[],lastAnnouncement:null,preferences:{}};class oD{constructor(){this.politeRegion=null,this.assertiveRegion=null,this.createLiveRegions()}createLiveRegions(){typeof document>"u"||(this.politeRegion=document.createElement("div"),this.politeRegion.setAttribute("aria-live","polite"),this.politeRegion.setAttribute("aria-atomic","true"),this.politeRegion.setAttribute("id","qwickapps-aria-live-polite"),this.politeRegion.style.cssText=`
383
- position: absolute !important;
384
- left: -10000px !important;
385
- width: 1px !important;
386
- height: 1px !important;
387
- overflow: hidden !important;
388
- `,document.body.appendChild(this.politeRegion),this.assertiveRegion=document.createElement("div"),this.assertiveRegion.setAttribute("aria-live","assertive"),this.assertiveRegion.setAttribute("aria-atomic","true"),this.assertiveRegion.setAttribute("id","qwickapps-aria-live-assertive"),this.assertiveRegion.style.cssText=`
389
- position: absolute !important;
390
- left: -10000px !important;
391
- width: 1px !important;
392
- height: 1px !important;
393
- overflow: hidden !important;
394
- `,document.body.appendChild(this.assertiveRegion))}announce(e,r="polite"){r==="assertive"?this.announceAssertive(e):this.announcePolite(e)}announcePolite(e){this.politeRegion&&(this.politeRegion.textContent="",setTimeout(()=>{this.politeRegion&&(this.politeRegion.textContent=e)},100))}announceAssertive(e){this.assertiveRegion&&(this.assertiveRegion.textContent="",setTimeout(()=>{this.assertiveRegion&&(this.assertiveRegion.textContent=e)},100))}}const eg=new oD,aD=({children:t,enableAudit:e=!0})=>{const[r,n]=T.useReducer(nD,iD);T.useEffect(()=>{i();const p=s();return l(),e&&c(),()=>{p&&p()}},[e]);const i=()=>{if(!(typeof window>"u")&&(window.matchMedia&&window.matchMedia("(prefers-contrast: high)").matches&&n({type:"SET_HIGH_CONTRAST",payload:!0}),window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches&&n({type:"SET_REDUCED_MOTION",payload:!0}),window.matchMedia)){const p=window.matchMedia("(prefers-contrast: high)"),m=window.matchMedia("(prefers-reduced-motion: reduce)"),v=y=>{n({type:"SET_HIGH_CONTRAST",payload:y.matches})},g=y=>{n({type:"SET_REDUCED_MOTION",payload:y.matches})};return p.addEventListener("change",v),m.addEventListener("change",g),()=>{p.removeEventListener("change",v),m.removeEventListener("change",g)}}},s=()=>{if(typeof document>"u")return;let p=!1;const m=g=>{g.key==="Tab"&&(p=!0,n({type:"SET_KEYBOARD_USER",payload:!0}),document.body.classList.add("keyboard-user"))},v=()=>{p&&(p=!1,n({type:"SET_KEYBOARD_USER",payload:!1}),document.body.classList.remove("keyboard-user"))};return document.addEventListener("keydown",m),document.addEventListener("mousedown",v),()=>{document.removeEventListener("keydown",m),document.removeEventListener("mousedown",v)}},l=()=>{if(typeof document>"u")return;const p=document.createElement("style");p.textContent=`
395
- .keyboard-user *:focus {
396
- outline: 3px solid #005cee !important;
397
- outline-offset: 2px !important;
398
- }
399
-
400
- .high-contrast *:focus {
401
- outline: 3px solid #ffffff !important;
402
- outline-offset: 2px !important;
403
- box-shadow: 0 0 0 1px #000000 !important;
404
- }
405
-
406
- .reduced-motion * {
407
- animation-duration: 0.01ms !important;
408
- animation-iteration-count: 1 !important;
409
- transition-duration: 0.01ms !important;
410
- }
411
-
412
- .large-text {
413
- font-size: 1.2em !important;
414
- }
415
- `,document.head.appendChild(p)},c=()=>{typeof document>"u"||setTimeout(()=>{const p=[];document.querySelectorAll("img:not([alt])").forEach(y=>{p.push({type:"missing-alt-text",message:"Image missing alt attribute",level:"error",element:y})}),document.querySelectorAll("button:not([aria-label]):not([title])").forEach(y=>{var w;(w=y.textContent)!=null&&w.trim()||p.push({type:"unnamed-button",message:"Button missing accessible name",level:"error",element:y})}),document.querySelectorAll("input:not([aria-label]):not([title])").forEach(y=>{const w=y.getAttribute("id");w?document.querySelector(`label[for="${w}"]`)||p.push({type:"unlabeled-input",message:"Form input missing label",level:"error",element:y}):p.push({type:"unlabeled-input",message:"Form input missing label",level:"error",element:y})}),n({type:"CLEAR_ISSUES"}),p.forEach(y=>{n({type:"ADD_ISSUE",payload:y})}),p.length>0&&(console.group("🔍 Accessibility Issues Found"),p.forEach(y=>{(y.level==="error"?console.error:console.warn)(`${y.type}: ${y.message}`)}),console.groupEnd())},1e3)},d={...r,setHighContrast:p=>n({type:"SET_HIGH_CONTRAST",payload:p}),setReducedMotion:p=>n({type:"SET_REDUCED_MOTION",payload:p}),setLargeText:p=>n({type:"SET_LARGE_TEXT",payload:p}),setFocusVisible:p=>n({type:"SET_FOCUS_VISIBLE",payload:p}),announce:(p,m="polite")=>{eg.announce(p,m),n({type:"SET_ANNOUNCEMENT",payload:{message:p,level:m,timestamp:Date.now()}})},announcePolite:p=>{eg.announcePolite(p),n({type:"SET_ANNOUNCEMENT",payload:{message:p,level:"polite",timestamp:Date.now()}})},announceAssertive:p=>{eg.announceAssertive(p),n({type:"SET_ANNOUNCEMENT",payload:{message:p,level:"assertive",timestamp:Date.now()}})},addIssue:p=>n({type:"ADD_ISSUE",payload:p}),clearIssues:()=>n({type:"CLEAR_ISSUES"}),runAudit:c};return T.useEffect(()=>{if(typeof document>"u")return;const{highContrast:p,reducedMotion:m,largeText:v}=r;document.body.classList.toggle("high-contrast",p),document.body.classList.toggle("reduced-motion",m),document.body.classList.toggle("large-text",v)},[r.highContrast,r.reducedMotion,r.largeText]),h.jsx(rD.Provider,{value:d,children:t})},sD=({children:t,className:e,style:r,defaultTheme:n,defaultPalette:i,appName:s,logo:l,appId:c,enableScaffolding:d,navigationItems:p=[],appBar:m,showAppBar:v=!0,appBarHeight:g=64,showThemeSwitcher:y,showPaletteSwitcher:w,onLogoClick:x,router:C,dataSource:P,config:k})=>{const _={appName:s??(k==null?void 0:k.app.name),appId:c??(k==null?void 0:k.app.id),logo:l??(k==null?void 0:k.app.logo),enableScaffolding:d??(k==null?void 0:k.ui.enableScaffolding)??!1,showThemeSwitcher:y??(k==null?void 0:k.ui.showThemeSwitcher)??!1,showPaletteSwitcher:w??(k==null?void 0:k.ui.showPaletteSwitcher)??!1,defaultTheme:n??(k==null?void 0:k.ui.defaultTheme),defaultPalette:i??(k==null?void 0:k.ui.defaultPalette)};if(!_.appName)throw new Error("QwickApp requires either appName prop or config with app.name");const[E,A]=T.useState({logo:_.logo,enableScaffolding:_.enableScaffolding,navigationItems:p,appBar:m,showAppBar:v,appBarHeight:g,showThemeSwitcher:_.showThemeSwitcher,showPaletteSwitcher:_.showPaletteSwitcher}),I=H=>{A(M=>({...M,...H}))},D={appName:_.appName,appId:_.appId,...E,onLogoClick:x,updateConfig:I},$=E.enableScaffolding?h.jsx(eD,{appName:_.appName,navigationItems:E.navigationItems,appBar:E.appBar,showAppBar:E.showAppBar,appBarHeight:E.appBarHeight,showThemeSwitcher:E.showThemeSwitcher,showPaletteSwitcher:E.showPaletteSwitcher,onLogoClick:x,children:t}):t,U=P?h.jsx(J8,{dataSource:P,children:$}):$,X=h.jsx(tD,{children:h.jsx(aD,{children:h.jsx("div",{className:`qwick-app ${e||""}`,style:r,children:h.jsx(C9,{appId:_.appId,defaultTheme:_.defaultTheme,defaultPalette:_.defaultPalette,children:h.jsx($C.Provider,{value:D,children:h.jsx(k9,{children:U})})})})})});return C?T.cloneElement(C,{},X):X},lD=({size:t=48,showBackground:e=!0,className:r="",style:n={}})=>h.jsxs("svg",{width:t,height:t,viewBox:"0 0 225 225",className:`qwick-icon ${r}`.trim(),style:n,role:"img","aria-label":"QwickApps Icon",children:[e&&h.jsx("rect",{width:"225",height:"225",rx:"48",fill:"var(--theme-surface)"}),h.jsx("g",{transform:"scale(0.9) translate(-5,-5)",children:h.jsxs("g",{transform:"translate(-128,-60)",children:[h.jsx("path",{className:"logo-first-part",fill:"#FE6D0F",d:"M0 0 C1.3480925 -0.00788544 1.3480925 -0.00788544 2.72341919 -0.01593018 C5.67419172 -0.02905871 8.62441792 -0.02041442 11.57519531 -0.01025391 C13.64251813 -0.0122774 15.70984025 -0.01519113 17.77716064 -0.01895142 C22.10443943 -0.02336572 26.43153199 -0.01697508 30.75878906 -0.00292969 C36.2773468 0.01411856 41.79546534 0.00434284 47.31400681 -0.01364708 C51.5831018 -0.02454577 55.85209467 -0.02101006 60.12119293 -0.0132637 C62.15435082 -0.01127624 64.18751828 -0.01366927 66.22066498 -0.02070236 C76.73689794 -0.04908929 86.57929633 -0.04924466 96.65332031 3.38818359 C97.54098083 3.67795074 98.42864136 3.9677179 99.34320068 4.26626587 C114.15399949 9.31896076 126.4675764 21.76744512 133.65332031 35.38818359 C137.44514211 43.9738112 139.81630642 51.43992278 139.7668457 60.84057617 C139.76699173 61.5728241 139.76713776 62.30507202 139.76728821 63.05950928 C139.76659444 65.46727515 139.75882723 67.87496257 139.75097656 70.28271484 C139.74911048 71.95708677 139.74768747 73.63145924 139.74668884 75.30583191 C139.74287867 79.7034558 139.73306121 84.10104644 139.72198486 88.49865723 C139.71173847 92.9898229 139.70718431 97.48099397 139.70214844 101.97216797 C139.69143757 110.77752174 139.6743792 119.58284852 139.65332031 128.38818359 C138.53702723 127.43704375 137.42154262 126.48495501 136.30639648 125.5324707 C135.68512375 125.002379 135.06385101 124.47228729 134.42375183 123.9261322 C132.20679827 122.00029626 130.09344729 119.97434276 127.96582031 117.95068359 C121.3544337 111.96606452 113.93765643 107.63396094 105.65332031 104.38818359 C105.64397461 103.07736816 105.63462891 101.76655273 105.625 100.41601562 C105.58487807 95.51415049 105.51905854 90.61289839 105.44580078 85.71142578 C105.41771934 83.59724858 105.39644155 81.4829689 105.38232422 79.36865234 C105.36071633 76.31473808 105.31397548 73.26203954 105.26269531 70.20849609 C105.26085236 68.80943527 105.26085236 68.80943527 105.25897217 67.3821106 C105.05613797 58.12249123 102.35361677 49.9326592 95.65332031 43.38818359 C93.37687152 41.83978825 91.12212389 40.64502905 88.65332031 39.38818359 C88.0702562 39.02808197 87.48719208 38.66798035 86.88645935 38.29696655 C83.71010797 37.00434036 80.90937194 37.11787995 77.4855957 37.09765625 C76.41412041 37.08758041 76.41412041 37.08758041 75.32099915 37.07730103 C72.96425383 37.05833326 70.60779341 37.05439768 68.25097656 37.05224609 C66.60957218 37.04581795 64.96816895 37.03908958 63.32676697 37.03207397 C59.88782087 37.02010475 56.44897522 37.01639285 53.01000977 37.01757812 C48.60705215 37.01778144 44.20473906 36.99046492 39.80193424 36.95603371 C36.41239981 36.93377976 33.02302096 36.92974009 29.63342094 36.93079758 C28.01032729 36.9284399 26.38722945 36.91960691 24.76420784 36.90413284 C22.49249412 36.88449971 20.22217644 36.89029871 17.95043945 36.90234375 C16.65900528 36.89949371 15.36757111 36.89664368 14.03700256 36.89370728 C10.0894619 37.47058336 8.4533178 38.60386481 5.65332031 41.38818359 C4.36488826 43.96504769 4.49328598 45.87037118 4.44799805 48.75585938 C4.42805283 49.87687042 4.4081076 50.99788147 4.38755798 52.15286255 C4.36248924 53.97477615 4.36248924 53.97477615 4.33691406 55.83349609 C4.31613297 57.07364471 4.29535187 58.31379333 4.27394104 59.59152222 C4.21954326 62.88930182 4.16931936 66.18711079 4.12109375 69.48498535 C4.07086797 72.84991002 4.01524033 76.21474503 3.95996094 79.57958984 C3.85188552 86.18238589 3.75285167 92.78523103 3.65332031 99.38818359 C-7.89667969 99.38818359 -19.44667969 99.38818359 -31.34667969 99.38818359 C-31.54722373 80.32312956 -31.54722373 80.32312956 -31.59082031 72.14990234 C-31.6206242 66.58894779 -31.65574998 61.02840778 -31.72387695 55.46777344 C-31.77850048 50.98085383 -31.80816368 46.4943792 -31.8210659 42.00715256 C-31.83025168 40.30161924 -31.84818881 38.59610823 -31.87532997 36.89076614 C-32.04228479 25.95844515 -31.41983501 17.49965078 -24.17089844 8.76708984 C-23.46578125 8.16767578 -22.76066406 7.56826172 -22.03417969 6.95068359 C-21.33679688 6.33322266 -20.63941406 5.71576172 -19.92089844 5.07958984 C-13.46479327 0.83756627 -7.52553047 -0.0549708 0 0 Z",transform:"translate(185.3466796875,71.61181640625)"}),h.jsx("path",{className:"logo-second-part",fill:"#03BBCA",d:"M0 0 C11.55 0 23.1 0 35 0 C35.04125 3.25875 35.0825 6.5175 35.125 9.875 C35.47125788 19.41754586 36.68077925 25.86440869 43.74900818 32.68862915 C50.89908532 38.23277376 58.35470598 37.77209826 66.97265625 37.5859375 C68.50677317 37.57472707 70.04091178 37.56619562 71.57505798 37.56021118 C75.58524366 37.53745715 79.59409585 37.47865487 83.60375977 37.4119873 C87.70635953 37.3502711 91.80917779 37.32313407 95.91210938 37.29296875 C103.94201372 37.2288942 111.97084033 37.12668322 120 37 C117.59324168 34.57863654 115.18359847 32.1601637 112.7734375 29.7421875 C111.75527954 28.71774536 111.75527954 28.71774536 110.71655273 27.67260742 C106.8829741 23.82970702 102.99745284 20.13165615 98.8515625 16.625 C95.05012274 13.28871531 91.43825451 9.70885787 88 6 C88 5.67 88 5.34 88 5 C110.75508023 4.37644173 110.75508023 4.37644173 121 8 C122.051875 8.35191406 123.10375 8.70382813 124.1875 9.06640625 C147.22737862 17.29881571 164.80240124 33.21278198 175.41943359 55.15429688 C179.68328916 64.37125249 183.15018908 73.71312925 183.09765625 83.95703125 C183.09443359 85.06884766 183.09121094 86.18066406 183.08789062 87.32617188 C183.07951172 88.47666016 183.07113281 89.62714844 183.0625 90.8125 C183.05798828 91.98232422 183.05347656 93.15214844 183.04882812 94.35742188 C183.0370693 97.23833358 183.02063426 100.11914044 183 103 C180.55229893 100.57810948 178.13689836 98.15012289 175.81640625 95.60546875 C164.49520711 83.46019619 148.63443632 75.12990963 131.85790539 74.44966316 C128.34721591 74.38623286 124.84006559 74.37663155 121.32896042 74.40841484 C118.45052331 74.43424814 115.57348925 74.42890466 112.69497681 74.41651917 C106.58815705 74.39596309 100.48178961 74.41534647 94.375 74.4375 C87.28101821 74.45873236 80.18749777 74.46298673 73.09352493 74.43699837 C70.28119532 74.43367673 67.46978403 74.45471435 64.65756226 74.47740173 C46.51926055 74.50804771 31.73862671 70.07462761 18.28125 57.27734375 C17.5284375 56.52582031 16.775625 55.77429688 16 55 C15.02546875 54.04287109 15.02546875 54.04287109 14.03125 53.06640625 C3.06105089 41.49477078 -0.55499727 26.82435381 -0.1875 11.3125 C-0.125625 7.579375 -0.06375 3.84625 0 0 Z",transform:"translate(154,171)"})]})})]}),cD=({icon:t,name:e,size:r="small",onClick:n,style:i,className:s,...l})=>{const c=(m="small")=>({tiny:20,small:32,medium:40,large:52,"extra-large":68})[m]||32,d=t||h.jsx(lD,{}),p=T.isValidElement(d)?T.cloneElement(d,{size:d.props.size||c(r),style:{position:"relative",left:"25px",zIndex:999,...d.props.style}}):d;return h.jsx(Af,{name:e,size:r,image:p,imagePosition:"start",style:{cursor:n?"pointer":"default",zIndex:1e3,...i},className:s,onClick:n,...l})};function hT(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let ns=hT();function uD(t){ns=t}const mT=/[&<>"']/,dD=new RegExp(mT.source,"g"),gT=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,pD=new RegExp(gT.source,"g"),fD={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},xS=t=>fD[t];function Br(t,e){if(e){if(mT.test(t))return t.replace(dD,xS)}else if(gT.test(t))return t.replace(pD,xS);return t}const hD=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function yT(t){return t.replace(hD,(e,r)=>(r=r.toLowerCase(),r==="colon"?":":r.charAt(0)==="#"?r.charAt(1)==="x"?String.fromCharCode(parseInt(r.substring(2),16)):String.fromCharCode(+r.substring(1)):""))}const mD=/(^|[^\[])\^/g;function Dt(t,e){t=typeof t=="string"?t:t.source,e=e||"";const r={replace:(n,i)=>(i=i.source||i,i=i.replace(mD,"$1"),t=t.replace(n,i),r),getRegex:()=>new RegExp(t,e)};return r}const gD=/[^\w:]/g,yD=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function wS(t,e,r){if(t){let n;try{n=decodeURIComponent(yT(r)).replace(gD,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}e&&!yD.test(r)&&(r=wD(e,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch{return null}return r}const cp={},vD=/^[^:]+:\/*[^/]*$/,bD=/^([^:]+:)[\s\S]*$/,xD=/^([^:]+:\/*[^/]*)[\s\S]*$/;function wD(t,e){cp[" "+t]||(vD.test(t)?cp[" "+t]=t+"/":cp[" "+t]=Tp(t,"/",!0)),t=cp[" "+t];const r=t.indexOf(":")===-1;return e.substring(0,2)==="//"?r?e:t.replace(bD,"$1")+e:e.charAt(0)==="/"?r?e:t.replace(xD,"$1")+e:t+e}const Gp={exec:function(){}};function SS(t,e){const r=t.replace(/\|/g,(s,l,c)=>{let d=!1,p=l;for(;--p>=0&&c[p]==="\\";)d=!d;return d?"|":" |"}),n=r.split(/ \|/);let i=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;i<n.length;i++)n[i]=n[i].trim().replace(/\\\|/g,"|");return n}function Tp(t,e,r){const n=t.length;if(n===0)return"";let i=0;for(;i<n;){const s=t.charAt(n-i-1);if(s===e&&!r)i++;else if(s!==e&&r)i++;else break}return t.slice(0,n-i)}function SD(t,e){if(t.indexOf(e[1])===-1)return-1;const r=t.length;let n=0,i=0;for(;i<r;i++)if(t[i]==="\\")i++;else if(t[i]===e[0])n++;else if(t[i]===e[1]&&(n--,n<0))return i;return-1}function CD(t){t&&t.sanitize&&!t.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function CS(t,e){if(e<1)return"";let r="";for(;e>1;)e&1&&(r+=t),e>>=1,t+=t;return r+t}function ES(t,e,r,n){const i=e.href,s=e.title?Br(e.title):null,l=t[1].replace(/\\([\[\]])/g,"$1");if(t[0].charAt(0)!=="!"){n.state.inLink=!0;const c={type:"link",raw:r,href:i,title:s,text:l,tokens:n.inlineTokens(l)};return n.state.inLink=!1,c}return{type:"image",raw:r,href:i,title:s,text:Br(l)}}function ED(t,e){const r=t.match(/^(\s+)(?:```)/);if(r===null)return e;const n=r[1];return e.split(`
416
- `).map(i=>{const s=i.match(/^\s+/);if(s===null)return i;const[l]=s;return l.length>=n.length?i.slice(n.length):i}).join(`
417
- `)}class S0{constructor(e){this.options=e||ns}space(e){const r=this.rules.block.newline.exec(e);if(r&&r[0].length>0)return{type:"space",raw:r[0]}}code(e){const r=this.rules.block.code.exec(e);if(r){const n=r[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:r[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Tp(n,`
418
- `)}}}fences(e){const r=this.rules.block.fences.exec(e);if(r){const n=r[0],i=ED(n,r[3]||"");return{type:"code",raw:n,lang:r[2]?r[2].trim().replace(this.rules.inline._escapes,"$1"):r[2],text:i}}}heading(e){const r=this.rules.block.heading.exec(e);if(r){let n=r[2].trim();if(/#$/.test(n)){const i=Tp(n,"#");(this.options.pedantic||!i||/ $/.test(i))&&(n=i.trim())}return{type:"heading",raw:r[0],depth:r[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){const r=this.rules.block.hr.exec(e);if(r)return{type:"hr",raw:r[0]}}blockquote(e){const r=this.rules.block.blockquote.exec(e);if(r){const n=r[0].replace(/^ *>[ \t]?/gm,""),i=this.lexer.state.top;this.lexer.state.top=!0;const s=this.lexer.blockTokens(n);return this.lexer.state.top=i,{type:"blockquote",raw:r[0],tokens:s,text:n}}}list(e){let r=this.rules.block.list.exec(e);if(r){let n,i,s,l,c,d,p,m,v,g,y,w,x=r[1].trim();const C=x.length>1,P={type:"list",raw:"",ordered:C,start:C?+x.slice(0,-1):"",loose:!1,items:[]};x=C?`\\d{1,9}\\${x.slice(-1)}`:`\\${x}`,this.options.pedantic&&(x=C?x:"[*+-]");const k=new RegExp(`^( {0,3}${x})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;e&&(w=!1,!(!(r=k.exec(e))||this.rules.block.hr.test(e)));){if(n=r[0],e=e.substring(n.length),m=r[2].split(`
419
- `,1)[0].replace(/^\t+/,E=>" ".repeat(3*E.length)),v=e.split(`
420
- `,1)[0],this.options.pedantic?(l=2,y=m.trimLeft()):(l=r[2].search(/[^ ]/),l=l>4?1:l,y=m.slice(l),l+=r[1].length),d=!1,!m&&/^ *$/.test(v)&&(n+=v+`
421
- `,e=e.substring(v.length+1),w=!0),!w){const E=new RegExp(`^ {0,${Math.min(3,l-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),A=new RegExp(`^ {0,${Math.min(3,l-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),I=new RegExp(`^ {0,${Math.min(3,l-1)}}(?:\`\`\`|~~~)`),D=new RegExp(`^ {0,${Math.min(3,l-1)}}#`);for(;e&&(g=e.split(`
422
- `,1)[0],v=g,this.options.pedantic&&(v=v.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(I.test(v)||D.test(v)||E.test(v)||A.test(e)));){if(v.search(/[^ ]/)>=l||!v.trim())y+=`
423
- `+v.slice(l);else{if(d||m.search(/[^ ]/)>=4||I.test(m)||D.test(m)||A.test(m))break;y+=`
424
- `+v}!d&&!v.trim()&&(d=!0),n+=g+`
425
- `,e=e.substring(g.length+1),m=v.slice(l)}}P.loose||(p?P.loose=!0:/\n *\n *$/.test(n)&&(p=!0)),this.options.gfm&&(i=/^\[[ xX]\] /.exec(y),i&&(s=i[0]!=="[ ] ",y=y.replace(/^\[[ xX]\] +/,""))),P.items.push({type:"list_item",raw:n,task:!!i,checked:s,loose:!1,text:y}),P.raw+=n}P.items[P.items.length-1].raw=n.trimRight(),P.items[P.items.length-1].text=y.trimRight(),P.raw=P.raw.trimRight();const _=P.items.length;for(c=0;c<_;c++)if(this.lexer.state.top=!1,P.items[c].tokens=this.lexer.blockTokens(P.items[c].text,[]),!P.loose){const E=P.items[c].tokens.filter(I=>I.type==="space"),A=E.length>0&&E.some(I=>/\n.*\n/.test(I.raw));P.loose=A}if(P.loose)for(c=0;c<_;c++)P.items[c].loose=!0;return P}}html(e){const r=this.rules.block.html.exec(e);if(r){const n={type:"html",raw:r[0],pre:!this.options.sanitizer&&(r[1]==="pre"||r[1]==="script"||r[1]==="style"),text:r[0]};if(this.options.sanitize){const i=this.options.sanitizer?this.options.sanitizer(r[0]):Br(r[0]);n.type="paragraph",n.text=i,n.tokens=this.lexer.inline(i)}return n}}def(e){const r=this.rules.block.def.exec(e);if(r){const n=r[1].toLowerCase().replace(/\s+/g," "),i=r[2]?r[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",s=r[3]?r[3].substring(1,r[3].length-1).replace(this.rules.inline._escapes,"$1"):r[3];return{type:"def",tag:n,raw:r[0],href:i,title:s}}}table(e){const r=this.rules.block.table.exec(e);if(r){const n={type:"table",header:SS(r[1]).map(i=>({text:i})),align:r[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:r[3]&&r[3].trim()?r[3].replace(/\n[ \t]*$/,"").split(`
426
- `):[]};if(n.header.length===n.align.length){n.raw=r[0];let i=n.align.length,s,l,c,d;for(s=0;s<i;s++)/^ *-+: *$/.test(n.align[s])?n.align[s]="right":/^ *:-+: *$/.test(n.align[s])?n.align[s]="center":/^ *:-+ *$/.test(n.align[s])?n.align[s]="left":n.align[s]=null;for(i=n.rows.length,s=0;s<i;s++)n.rows[s]=SS(n.rows[s],n.header.length).map(p=>({text:p}));for(i=n.header.length,l=0;l<i;l++)n.header[l].tokens=this.lexer.inline(n.header[l].text);for(i=n.rows.length,l=0;l<i;l++)for(d=n.rows[l],c=0;c<d.length;c++)d[c].tokens=this.lexer.inline(d[c].text);return n}}}lheading(e){const r=this.rules.block.lheading.exec(e);if(r)return{type:"heading",raw:r[0],depth:r[2].charAt(0)==="="?1:2,text:r[1],tokens:this.lexer.inline(r[1])}}paragraph(e){const r=this.rules.block.paragraph.exec(e);if(r){const n=r[1].charAt(r[1].length-1)===`
427
- `?r[1].slice(0,-1):r[1];return{type:"paragraph",raw:r[0],text:n,tokens:this.lexer.inline(n)}}}text(e){const r=this.rules.block.text.exec(e);if(r)return{type:"text",raw:r[0],text:r[0],tokens:this.lexer.inline(r[0])}}escape(e){const r=this.rules.inline.escape.exec(e);if(r)return{type:"escape",raw:r[0],text:Br(r[1])}}tag(e){const r=this.rules.inline.tag.exec(e);if(r)return!this.lexer.state.inLink&&/^<a /i.test(r[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(r[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):Br(r[0]):r[0]}}link(e){const r=this.rules.inline.link.exec(e);if(r){const n=r[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;const l=Tp(n.slice(0,-1),"\\");if((n.length-l.length)%2===0)return}else{const l=SD(r[2],"()");if(l>-1){const d=(r[0].indexOf("!")===0?5:4)+r[1].length+l;r[2]=r[2].substring(0,l),r[0]=r[0].substring(0,d).trim(),r[3]=""}}let i=r[2],s="";if(this.options.pedantic){const l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);l&&(i=l[1],s=l[3])}else s=r[3]?r[3].slice(1,-1):"";return i=i.trim(),/^</.test(i)&&(this.options.pedantic&&!/>$/.test(n)?i=i.slice(1):i=i.slice(1,-1)),ES(r,{href:i&&i.replace(this.rules.inline._escapes,"$1"),title:s&&s.replace(this.rules.inline._escapes,"$1")},r[0],this.lexer)}}reflink(e,r){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let i=(n[2]||n[1]).replace(/\s+/g," ");if(i=r[i.toLowerCase()],!i){const s=n[0].charAt(0);return{type:"text",raw:s,text:s}}return ES(n,i,n[0],this.lexer)}}emStrong(e,r,n=""){let i=this.rules.inline.emStrong.lDelim.exec(e);if(!i||i[3]&&n.match(/[\p{L}\p{N}]/u))return;const s=i[1]||i[2]||"";if(!s||s&&(n===""||this.rules.inline.punctuation.exec(n))){const l=i[0].length-1;let c,d,p=l,m=0;const v=i[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(v.lastIndex=0,r=r.slice(-1*e.length+l);(i=v.exec(r))!=null;){if(c=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!c)continue;if(d=c.length,i[3]||i[4]){p+=d;continue}else if((i[5]||i[6])&&l%3&&!((l+d)%3)){m+=d;continue}if(p-=d,p>0)continue;d=Math.min(d,d+p+m);const g=e.slice(0,l+i.index+(i[0].length-c.length)+d);if(Math.min(l,d)%2){const w=g.slice(1,-1);return{type:"em",raw:g,text:w,tokens:this.lexer.inlineTokens(w)}}const y=g.slice(2,-2);return{type:"strong",raw:g,text:y,tokens:this.lexer.inlineTokens(y)}}}}codespan(e){const r=this.rules.inline.code.exec(e);if(r){let n=r[2].replace(/\n/g," ");const i=/[^ ]/.test(n),s=/^ /.test(n)&&/ $/.test(n);return i&&s&&(n=n.substring(1,n.length-1)),n=Br(n,!0),{type:"codespan",raw:r[0],text:n}}}br(e){const r=this.rules.inline.br.exec(e);if(r)return{type:"br",raw:r[0]}}del(e){const r=this.rules.inline.del.exec(e);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2])}}autolink(e,r){const n=this.rules.inline.autolink.exec(e);if(n){let i,s;return n[2]==="@"?(i=Br(this.options.mangle?r(n[1]):n[1]),s="mailto:"+i):(i=Br(n[1]),s=i),{type:"link",raw:n[0],text:i,href:s,tokens:[{type:"text",raw:i,text:i}]}}}url(e,r){let n;if(n=this.rules.inline.url.exec(e)){let i,s;if(n[2]==="@")i=Br(this.options.mangle?r(n[0]):n[0]),s="mailto:"+i;else{let l;do l=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(l!==n[0]);i=Br(n[0]),n[1]==="www."?s="http://"+n[0]:s=n[0]}return{type:"link",raw:n[0],text:i,href:s,tokens:[{type:"text",raw:i,text:i}]}}}inlineText(e,r){const n=this.rules.inline.text.exec(e);if(n){let i;return this.lexer.state.inRawBlock?i=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):Br(n[0]):n[0]:i=Br(this.options.smartypants?r(n[0]):n[0]),{type:"text",raw:n[0],text:i}}}}const at={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:Gp,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};at._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;at._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;at.def=Dt(at.def).replace("label",at._label).replace("title",at._title).getRegex();at.bullet=/(?:[*+-]|\d{1,9}[.)])/;at.listItemStart=Dt(/^( *)(bull) */).replace("bull",at.bullet).getRegex();at.list=Dt(at.list).replace(/bull/g,at.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+at.def.source+")").getRegex();at._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";at._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/;at.html=Dt(at.html,"i").replace("comment",at._comment).replace("tag",at._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();at.paragraph=Dt(at._paragraph).replace("hr",at.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",at._tag).getRegex();at.blockquote=Dt(at.blockquote).replace("paragraph",at.paragraph).getRegex();at.normal={...at};at.gfm={...at.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};at.gfm.table=Dt(at.gfm.table).replace("hr",at.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",at._tag).getRegex();at.gfm.paragraph=Dt(at._paragraph).replace("hr",at.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",at.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",at._tag).getRegex();at.pedantic={...at.normal,html:Dt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",at._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Gp,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Dt(at.normal._paragraph).replace("hr",at.hr).replace("heading",` *#{1,6} *[^
428
- ]`).replace("lheading",at.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const He={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Gp,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Gp,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};He._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~";He.punctuation=Dt(He.punctuation).replace(/punctuation/g,He._punctuation).getRegex();He.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;He.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g;He._comment=Dt(at._comment).replace("(?:-->|$)","-->").getRegex();He.emStrong.lDelim=Dt(He.emStrong.lDelim).replace(/punct/g,He._punctuation).getRegex();He.emStrong.rDelimAst=Dt(He.emStrong.rDelimAst,"g").replace(/punct/g,He._punctuation).getRegex();He.emStrong.rDelimUnd=Dt(He.emStrong.rDelimUnd,"g").replace(/punct/g,He._punctuation).getRegex();He._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;He._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;He._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;He.autolink=Dt(He.autolink).replace("scheme",He._scheme).replace("email",He._email).getRegex();He._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;He.tag=Dt(He.tag).replace("comment",He._comment).replace("attribute",He._attribute).getRegex();He._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;He._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;He._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;He.link=Dt(He.link).replace("label",He._label).replace("href",He._href).replace("title",He._title).getRegex();He.reflink=Dt(He.reflink).replace("label",He._label).replace("ref",at._label).getRegex();He.nolink=Dt(He.nolink).replace("ref",at._label).getRegex();He.reflinkSearch=Dt(He.reflinkSearch,"g").replace("reflink",He.reflink).replace("nolink",He.nolink).getRegex();He.normal={...He};He.pedantic={...He.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Dt(/^!?\[(label)\]\((.*?)\)/).replace("label",He._label).getRegex(),reflink:Dt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",He._label).getRegex()};He.gfm={...He.normal,escape:Dt(He.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/};He.gfm.url=Dt(He.gfm.url,"i").replace("email",He.gfm._extended_email).getRegex();He.breaks={...He.gfm,br:Dt(He.br).replace("{2,}","*").getRegex(),text:Dt(He.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()};function TD(t){return t.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function TS(t){let e="",r,n;const i=t.length;for(r=0;r<i;r++)n=t.charCodeAt(r),Math.random()>.5&&(n="x"+n.toString(16)),e+="&#"+n+";";return e}class ia{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||ns,this.options.tokenizer=this.options.tokenizer||new S0,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const r={block:at.normal,inline:He.normal};this.options.pedantic?(r.block=at.pedantic,r.inline=He.pedantic):this.options.gfm&&(r.block=at.gfm,this.options.breaks?r.inline=He.breaks:r.inline=He.gfm),this.tokenizer.rules=r}static get rules(){return{block:at,inline:He}}static lex(e,r){return new ia(r).lex(e)}static lexInline(e,r){return new ia(r).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,`
429
- `),this.blockTokens(e,this.tokens);let r;for(;r=this.inlineQueue.shift();)this.inlineTokens(r.src,r.tokens);return this.tokens}blockTokens(e,r=[]){this.options.pedantic?e=e.replace(/\t/g," ").replace(/^ +$/gm,""):e=e.replace(/^( *)(\t+)/gm,(c,d,p)=>d+" ".repeat(p.length));let n,i,s,l;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(c=>(n=c.call({lexer:this},e,r))?(e=e.substring(n.raw.length),r.push(n),!0):!1))){if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length),n.raw.length===1&&r.length>0?r[r.length-1].raw+=`
430
- `:r.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length),i=r[r.length-1],i&&(i.type==="paragraph"||i.type==="text")?(i.raw+=`
431
- `+n.raw,i.text+=`
432
- `+n.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text):r.push(n);continue}if(n=this.tokenizer.fences(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.heading(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.hr(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.blockquote(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.list(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.html(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length),i=r[r.length-1],i&&(i.type==="paragraph"||i.type==="text")?(i.raw+=`
433
- `+n.raw,i.text+=`
434
- `+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title});continue}if(n=this.tokenizer.table(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.lheading(e)){e=e.substring(n.raw.length),r.push(n);continue}if(s=e,this.options.extensions&&this.options.extensions.startBlock){let c=1/0;const d=e.slice(1);let p;this.options.extensions.startBlock.forEach(function(m){p=m.call({lexer:this},d),typeof p=="number"&&p>=0&&(c=Math.min(c,p))}),c<1/0&&c>=0&&(s=e.substring(0,c+1))}if(this.state.top&&(n=this.tokenizer.paragraph(s))){i=r[r.length-1],l&&i.type==="paragraph"?(i.raw+=`
435
- `+n.raw,i.text+=`
436
- `+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):r.push(n),l=s.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length),i=r[r.length-1],i&&i.type==="text"?(i.raw+=`
437
- `+n.raw,i.text+=`
438
- `+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):r.push(n);continue}if(e){const c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return this.state.top=!0,r}inline(e,r=[]){return this.inlineQueue.push({src:e,tokens:r}),r}inlineTokens(e,r=[]){let n,i,s,l=e,c,d,p;if(this.tokens.links){const m=Object.keys(this.tokens.links);if(m.length>0)for(;(c=this.tokenizer.rules.inline.reflinkSearch.exec(l))!=null;)m.includes(c[0].slice(c[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,c.index)+"["+CS("a",c[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(c=this.tokenizer.rules.inline.blockSkip.exec(l))!=null;)l=l.slice(0,c.index)+"["+CS("a",c[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(c=this.tokenizer.rules.inline.escapedEmSt.exec(l))!=null;)l=l.slice(0,c.index+c[0].length-2)+"++"+l.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;e;)if(d||(p=""),d=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(m=>(n=m.call({lexer:this},e,r))?(e=e.substring(n.raw.length),r.push(n),!0):!1))){if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),i=r[r.length-1],i&&n.type==="text"&&i.type==="text"?(i.raw+=n.raw,i.text+=n.text):r.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length),i=r[r.length-1],i&&n.type==="text"&&i.type==="text"?(i.raw+=n.raw,i.text+=n.text):r.push(n);continue}if(n=this.tokenizer.emStrong(e,l,p)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.codespan(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.br(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.del(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.autolink(e,TS)){e=e.substring(n.raw.length),r.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(e,TS))){e=e.substring(n.raw.length),r.push(n);continue}if(s=e,this.options.extensions&&this.options.extensions.startInline){let m=1/0;const v=e.slice(1);let g;this.options.extensions.startInline.forEach(function(y){g=y.call({lexer:this},v),typeof g=="number"&&g>=0&&(m=Math.min(m,g))}),m<1/0&&m>=0&&(s=e.substring(0,m+1))}if(n=this.tokenizer.inlineText(s,TD)){e=e.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(p=n.raw.slice(-1)),d=!0,i=r[r.length-1],i&&i.type==="text"?(i.raw+=n.raw,i.text+=n.text):r.push(n);continue}if(e){const m="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(m);break}else throw new Error(m)}}return r}}class C0{constructor(e){this.options=e||ns}code(e,r,n){const i=(r||"").match(/\S*/)[0];if(this.options.highlight){const s=this.options.highlight(e,i);s!=null&&s!==e&&(n=!0,e=s)}return e=e.replace(/\n$/,"")+`
439
- `,i?'<pre><code class="'+this.options.langPrefix+Br(i)+'">'+(n?e:Br(e,!0))+`</code></pre>
440
- `:"<pre><code>"+(n?e:Br(e,!0))+`</code></pre>
441
- `}blockquote(e){return`<blockquote>
442
- ${e}</blockquote>
443
- `}html(e){return e}heading(e,r,n,i){if(this.options.headerIds){const s=this.options.headerPrefix+i.slug(n);return`<h${r} id="${s}">${e}</h${r}>
444
- `}return`<h${r}>${e}</h${r}>
445
- `}hr(){return this.options.xhtml?`<hr/>
446
- `:`<hr>
447
- `}list(e,r,n){const i=r?"ol":"ul",s=r&&n!==1?' start="'+n+'"':"";return"<"+i+s+`>
448
- `+e+"</"+i+`>
449
- `}listitem(e){return`<li>${e}</li>
450
- `}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return`<p>${e}</p>
451
- `}table(e,r){return r&&(r=`<tbody>${r}</tbody>`),`<table>
452
- <thead>
453
- `+e+`</thead>
454
- `+r+`</table>
455
- `}tablerow(e){return`<tr>
456
- ${e}</tr>
457
- `}tablecell(e,r){const n=r.header?"th":"td";return(r.align?`<${n} align="${r.align}">`:`<${n}>`)+e+`</${n}>
458
- `}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return`<del>${e}</del>`}link(e,r,n){if(e=wS(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let i='<a href="'+e+'"';return r&&(i+=' title="'+r+'"'),i+=">"+n+"</a>",i}image(e,r,n){if(e=wS(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let i=`<img src="${e}" alt="${n}"`;return r&&(i+=` title="${r}"`),i+=this.options.xhtml?"/>":">",i}text(e){return e}}class vT{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,r,n){return""+n}image(e,r,n){return""+n}br(){return""}}class bT{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,r){let n=e,i=0;if(this.seen.hasOwnProperty(n)){i=this.seen[e];do i++,n=e+"-"+i;while(this.seen.hasOwnProperty(n))}return r||(this.seen[e]=i,this.seen[n]=0),n}slug(e,r={}){const n=this.serialize(e);return this.getNextSafeSlug(n,r.dryrun)}}class oa{constructor(e){this.options=e||ns,this.options.renderer=this.options.renderer||new C0,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new vT,this.slugger=new bT}static parse(e,r){return new oa(r).parse(e)}static parseInline(e,r){return new oa(r).parseInline(e)}parse(e,r=!0){let n="",i,s,l,c,d,p,m,v,g,y,w,x,C,P,k,_,E,A,I;const D=e.length;for(i=0;i<D;i++){if(y=e[i],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[y.type]&&(I=this.options.extensions.renderers[y.type].call({parser:this},y),I!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(y.type))){n+=I||"";continue}switch(y.type){case"space":continue;case"hr":{n+=this.renderer.hr();continue}case"heading":{n+=this.renderer.heading(this.parseInline(y.tokens),y.depth,yT(this.parseInline(y.tokens,this.textRenderer)),this.slugger);continue}case"code":{n+=this.renderer.code(y.text,y.lang,y.escaped);continue}case"table":{for(v="",m="",c=y.header.length,s=0;s<c;s++)m+=this.renderer.tablecell(this.parseInline(y.header[s].tokens),{header:!0,align:y.align[s]});for(v+=this.renderer.tablerow(m),g="",c=y.rows.length,s=0;s<c;s++){for(p=y.rows[s],m="",d=p.length,l=0;l<d;l++)m+=this.renderer.tablecell(this.parseInline(p[l].tokens),{header:!1,align:y.align[l]});g+=this.renderer.tablerow(m)}n+=this.renderer.table(v,g);continue}case"blockquote":{g=this.parse(y.tokens),n+=this.renderer.blockquote(g);continue}case"list":{for(w=y.ordered,x=y.start,C=y.loose,c=y.items.length,g="",s=0;s<c;s++)k=y.items[s],_=k.checked,E=k.task,P="",k.task&&(A=this.renderer.checkbox(_),C?k.tokens.length>0&&k.tokens[0].type==="paragraph"?(k.tokens[0].text=A+" "+k.tokens[0].text,k.tokens[0].tokens&&k.tokens[0].tokens.length>0&&k.tokens[0].tokens[0].type==="text"&&(k.tokens[0].tokens[0].text=A+" "+k.tokens[0].tokens[0].text)):k.tokens.unshift({type:"text",text:A}):P+=A),P+=this.parse(k.tokens,C),g+=this.renderer.listitem(P,E,_);n+=this.renderer.list(g,w,x);continue}case"html":{n+=this.renderer.html(y.text);continue}case"paragraph":{n+=this.renderer.paragraph(this.parseInline(y.tokens));continue}case"text":{for(g=y.tokens?this.parseInline(y.tokens):y.text;i+1<D&&e[i+1].type==="text";)y=e[++i],g+=`
459
- `+(y.tokens?this.parseInline(y.tokens):y.text);n+=r?this.renderer.paragraph(g):g;continue}default:{const $='Token with "'+y.type+'" type was not found.';if(this.options.silent){console.error($);return}else throw new Error($)}}}return n}parseInline(e,r){r=r||this.renderer;let n="",i,s,l;const c=e.length;for(i=0;i<c;i++){if(s=e[i],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]&&(l=this.options.extensions.renderers[s.type].call({parser:this},s),l!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type))){n+=l||"";continue}switch(s.type){case"escape":{n+=r.text(s.text);break}case"html":{n+=r.html(s.text);break}case"link":{n+=r.link(s.href,s.title,this.parseInline(s.tokens,r));break}case"image":{n+=r.image(s.href,s.title,s.text);break}case"strong":{n+=r.strong(this.parseInline(s.tokens,r));break}case"em":{n+=r.em(this.parseInline(s.tokens,r));break}case"codespan":{n+=r.codespan(s.text);break}case"br":{n+=r.br();break}case"del":{n+=r.del(this.parseInline(s.tokens,r));break}case"text":{n+=r.text(s.text);break}default:{const d='Token with "'+s.type+'" type was not found.';if(this.options.silent){console.error(d);return}else throw new Error(d)}}}return n}}class Xp{constructor(e){this.options=e||ns}preprocess(e){return e}postprocess(e){return e}}ka(Xp,"passThroughHooks",new Set(["preprocess","postprocess"]));function kD(t,e,r){return n=>{if(n.message+=`
460
- Please report this to https://github.com/markedjs/marked.`,t){const i="<p>An error occurred:</p><pre>"+Br(n.message+"",!0)+"</pre>";if(e)return Promise.resolve(i);if(r){r(null,i);return}return i}if(e)return Promise.reject(n);if(r){r(n);return}throw n}}function xT(t,e){return(r,n,i)=>{typeof n=="function"&&(i=n,n=null);const s={...n};n={...it.defaults,...s};const l=kD(n.silent,n.async,i);if(typeof r>"u"||r===null)return l(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return l(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(CD(n),n.hooks&&(n.hooks.options=n),i){const c=n.highlight;let d;try{n.hooks&&(r=n.hooks.preprocess(r)),d=t(r,n)}catch(v){return l(v)}const p=function(v){let g;if(!v)try{n.walkTokens&&it.walkTokens(d,n.walkTokens),g=e(d,n),n.hooks&&(g=n.hooks.postprocess(g))}catch(y){v=y}return n.highlight=c,v?l(v):i(null,g)};if(!c||c.length<3||(delete n.highlight,!d.length))return p();let m=0;it.walkTokens(d,function(v){v.type==="code"&&(m++,setTimeout(()=>{c(v.text,v.lang,function(g,y){if(g)return p(g);y!=null&&y!==v.text&&(v.text=y,v.escaped=!0),m--,m===0&&p()})},0))}),m===0&&p();return}if(n.async)return Promise.resolve(n.hooks?n.hooks.preprocess(r):r).then(c=>t(c,n)).then(c=>n.walkTokens?Promise.all(it.walkTokens(c,n.walkTokens)).then(()=>c):c).then(c=>e(c,n)).then(c=>n.hooks?n.hooks.postprocess(c):c).catch(l);try{n.hooks&&(r=n.hooks.preprocess(r));const c=t(r,n);n.walkTokens&&it.walkTokens(c,n.walkTokens);let d=e(c,n);return n.hooks&&(d=n.hooks.postprocess(d)),d}catch(c){return l(c)}}}function it(t,e,r){return xT(ia.lex,oa.parse)(t,e,r)}it.options=it.setOptions=function(t){return it.defaults={...it.defaults,...t},uD(it.defaults),it};it.getDefaults=hT;it.defaults=ns;it.use=function(...t){const e=it.defaults.extensions||{renderers:{},childTokens:{}};t.forEach(r=>{const n={...r};if(n.async=it.defaults.async||n.async||!1,r.extensions&&(r.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if(i.renderer){const s=e.renderers[i.name];s?e.renderers[i.name]=function(...l){let c=i.renderer.apply(this,l);return c===!1&&(c=s.apply(this,l)),c}:e.renderers[i.name]=i.renderer}if(i.tokenizer){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");e[i.level]?e[i.level].unshift(i.tokenizer):e[i.level]=[i.tokenizer],i.start&&(i.level==="block"?e.startBlock?e.startBlock.push(i.start):e.startBlock=[i.start]:i.level==="inline"&&(e.startInline?e.startInline.push(i.start):e.startInline=[i.start]))}i.childTokens&&(e.childTokens[i.name]=i.childTokens)}),n.extensions=e),r.renderer){const i=it.defaults.renderer||new C0;for(const s in r.renderer){const l=i[s];i[s]=(...c)=>{let d=r.renderer[s].apply(i,c);return d===!1&&(d=l.apply(i,c)),d}}n.renderer=i}if(r.tokenizer){const i=it.defaults.tokenizer||new S0;for(const s in r.tokenizer){const l=i[s];i[s]=(...c)=>{let d=r.tokenizer[s].apply(i,c);return d===!1&&(d=l.apply(i,c)),d}}n.tokenizer=i}if(r.hooks){const i=it.defaults.hooks||new Xp;for(const s in r.hooks){const l=i[s];Xp.passThroughHooks.has(s)?i[s]=c=>{if(it.defaults.async)return Promise.resolve(r.hooks[s].call(i,c)).then(p=>l.call(i,p));const d=r.hooks[s].call(i,c);return l.call(i,d)}:i[s]=(...c)=>{let d=r.hooks[s].apply(i,c);return d===!1&&(d=l.apply(i,c)),d}}n.hooks=i}if(r.walkTokens){const i=it.defaults.walkTokens;n.walkTokens=function(s){let l=[];return l.push(r.walkTokens.call(this,s)),i&&(l=l.concat(i.call(this,s))),l}}it.setOptions(n)})};it.walkTokens=function(t,e){let r=[];for(const n of t)switch(r=r.concat(e.call(it,n)),n.type){case"table":{for(const i of n.header)r=r.concat(it.walkTokens(i.tokens,e));for(const i of n.rows)for(const s of i)r=r.concat(it.walkTokens(s.tokens,e));break}case"list":{r=r.concat(it.walkTokens(n.items,e));break}default:it.defaults.extensions&&it.defaults.extensions.childTokens&&it.defaults.extensions.childTokens[n.type]?it.defaults.extensions.childTokens[n.type].forEach(function(i){r=r.concat(it.walkTokens(n[i],e))}):n.tokens&&(r=r.concat(it.walkTokens(n.tokens,e)))}return r};it.parseInline=xT(ia.lexInline,oa.parseInline);it.Parser=oa;it.parser=oa.parse;it.Renderer=C0;it.TextRenderer=vT;it.Lexer=ia;it.lexer=ia.lex;it.Tokenizer=S0;it.Slugger=bT;it.Hooks=Xp;it.parse=it;it.options;it.setOptions;it.use;it.walkTokens;it.parseInline;oa.parse;ia.lex;let ul=class extends Ft{};R([L(),N({field_type:O.TEXTAREA,label:"Markdown Content",description:"Markdown content to be transformed into React components",placeholder:`# Enter Markdown content...
461
-
462
- **Bold text** and *italic text*.`}),F(),te(),z("design:type",String)],ul.prototype,"children",void 0);R([L(),N({field_type:O.CHECKBOX,label:"Sanitize HTML",description:"Whether to sanitize HTML output for security"}),F(),gt(),z("design:type",Boolean)],ul.prototype,"sanitize",void 0);R([L(),N({field_type:O.TEXT,label:"Placeholder",description:"Fallback content to display when Markdown is empty",placeholder:"No content available"}),F(),te(),z("design:type",String)],ul.prototype,"placeholder",void 0);ul=R([bt("Markdown","1.0.0")],ul);var PD=ul;const MD=[{selector:"pre",transform:(t,e)=>{var s;const r=t.querySelector("code");if(!r)return null;const i={tagName:"Code",version:"1.0.0",data:{language:((s=Array.from(r.classList).find(l=>l.startsWith("language-")))==null?void 0:s.replace("language-",""))||"text",showCopy:!0,showLineNumbers:!1,children:r.textContent||""}};return h.jsx(Ce,{sx:{my:1.5},children:Sr.deserialize(i)},e)}},{selector:"code",transform:t=>(t.closest("pre"),null)}],_D=t=>({gfm:!0,breaks:!1,pedantic:!1,sanitize:!1,smartypants:!1,renderer:new it.Renderer,...t});function E0({children:t="",htmlTransformConfig:e,sanitize:r=!0,sanitizeOptions:n,placeholder:i,component:s="div",markedOptions:l,...c}){const{styleProps:d,htmlProps:p,restProps:m}=Vr(c);if(E0[Jr]=!0,!t||!t.trim())return i?h.jsx(Ce,{component:s,...p,...d,...m,sx:{opacity:.6,fontStyle:"italic",...d.sx},children:i}):null;try{const v=_D(l),g=it(t,v),y=e||{rules:MD,sanitize:r,sanitizeOptions:n};return h.jsx(Hn,{transformConfig:y,sanitize:r,sanitizeOptions:n,component:s,...p,...d,...m,children:g})}catch(v){return console.error("Error processing Markdown content:",v),h.jsxs(Ce,{component:s,...p,...d,...m,sx:{p:2,border:"1px solid orange",borderRadius:1,backgroundColor:"rgba(255, 165, 0, 0.1)",...d.sx},children:[h.jsx("strong",{children:"Markdown Processing Error:"})," ",v instanceof Error?v.message:"Unknown error",h.jsx(Pn,{html:t,placeholder:"Failed to process Markdown"})]})}}class lu extends es{getComponentSpecificProps(){return{children:this.props.children,sanitize:this.props.sanitize,placeholder:this.props.placeholder}}renderView(){const{...e}=this.props;return h.jsx(E0,{...e})}renderWithDataBinding(){return h.jsx(AD,{...this.props})}static registerPatternHandlers(e){e.hasPattern("div.markdown-content")||e.registerPattern("div.markdown-content",lu.transformMarkdownDiv),e.hasPattern("[data-markdown]")||e.registerPattern("[data-markdown]",lu.transformDataMarkdown)}static transformMarkdownDiv(e){const r=e.getAttribute("data-sanitize")!=="false",n=e.getAttribute("data-placeholder");return{tagName:"Markdown",props:{children:e.textContent||"",sanitize:r,placeholder:n||void 0}}}static transformDataMarkdown(e){const r=e.getAttribute("data-markdown")||e.textContent,n=e.getAttribute("data-sanitize")!=="false",i=e.getAttribute("data-placeholder");return{tagName:"Markdown",props:{children:r,sanitize:n,placeholder:i||void 0}}}}lu.tagName="Markdown";lu.version="1.0.0";function AD(t){const{dataSource:e,bindingOptions:r,...n}=t,{loading:i,error:s,...l}=Xi(e,n,PD.getSchema(),{...r});return i?h.jsx(Ce,{sx:{p:2,textAlign:"center",opacity:.6},children:"Loading Markdown content..."}):s?(console.error("Error loading Markdown content:",s),h.jsxs(Ce,{sx:{p:2,border:"1px solid orange",borderRadius:1,backgroundColor:"rgba(255, 165, 0, 0.1)"},children:[h.jsx("strong",{children:"Error Loading Markdown:"})," ",s.message]})):h.jsx(E0,{...l})}class RD{constructor(){this.measurements=[],this.isEnabled=!0,this.isEnabled&&this.initializeListeners()}initializeListeners(){typeof window>"u"||(window.addEventListener("theme-changed",e=>{var r;this.measureThemeSwitch("theme",(r=e.detail)==null?void 0:r.theme)}),window.addEventListener("palette-changed",e=>{var r;this.measureThemeSwitch("palette",(r=e.detail)==null?void 0:r.palette)}))}measureThemeSwitch(e,r){if(!this.isEnabled||typeof window>"u"||typeof performance>"u")return;const n=performance.now();requestAnimationFrame(()=>{requestAnimationFrame(()=>{const s=performance.now()-n,l={type:e,value:r,duration:s,timestamp:new Date().toISOString()};this.measurements.push(l),this.measurements.length>50&&this.measurements.shift(),s>100?console.warn(`Slow ${e} switch detected:`,l):console.log(`${e} switch performance:`,`${s.toFixed(2)}ms`)})})}getStatistics(){if(!this.isEnabled||this.measurements.length===0)return null;const e=this.measurements.map(s=>s.duration),r=e.reduce((s,l)=>s+l,0)/e.length,n=Math.min(...e),i=Math.max(...e);return{totalMeasurements:this.measurements.length,averageDuration:r.toFixed(2),minDuration:n.toFixed(2),maxDuration:i.toFixed(2),recentMeasurements:this.measurements.slice(-10)}}logStatistics(){if(!this.isEnabled)return;const e=this.getStatistics();e&&(console.group("Theme Performance Statistics"),console.log("Total measurements:",e.totalMeasurements),console.log("Average duration:",e.averageDuration+"ms"),console.log("Min duration:",e.minDuration+"ms"),console.log("Max duration:",e.maxDuration+"ms"),console.log("Recent measurements:",e.recentMeasurements),console.groupEnd())}reset(){this.measurements=[]}}new RD;var kS;(function(t){t.POST="POST",t.PUT="PUT",t.PATCH="PATCH"})(kS||(kS={}));var PS;(function(t){t.NAVIGATE="navigate",t.SUBMIT="submit",t.RESET="reset",t.CANCEL="cancel"})(PS||(PS={}));class T0{constructor(e){this.app=Object.freeze({...e.app}),this.build=Object.freeze({...e.build}),this.pwa=Object.freeze({...e.pwa}),this.ui=Object.freeze({...e.ui}),this.copyright=Object.freeze({...e.copyright}),Object.freeze(this)}get viteConfig(){return{server:{port:this.build.port,host:!0},preview:{port:this.build.previewPort,host:!0},build:{outDir:this.build.outputDir},base:this.build.base,publicDir:"public",define:{__APP_NAME__:JSON.stringify(this.app.name),__APP_ID__:JSON.stringify(this.app.id),__APP_VERSION__:JSON.stringify(this.app.version)}}}get pwaManifest(){return{name:this.app.name,short_name:this.app.shortName,description:this.app.description,start_url:this.pwa.startUrl,display:this.pwa.display,orientation:this.pwa.orientation,theme_color:this.pwa.themeColor,background_color:this.pwa.backgroundColor,scope:this.pwa.scope,icons:[{src:"pwa-192x192.png",sizes:"192x192",type:"image/png"},{src:"pwa-512x512.png",sizes:"512x512",type:"image/png"}]}}toJSON(){return{app:this.app,build:this.build,pwa:this.pwa,ui:this.ui,copyright:this.copyright}}with(e){return new T0({app:{...this.app,...e.app},build:{...this.build,...e.build},pwa:{...this.pwa,...e.pwa},ui:{...this.ui,...e.ui},copyright:{...this.copyright,...e.copyright}})}}let kc,Pc;try{typeof window>"u"&&typeof process<"u"&&(kc=require("fs"),Pc=require("path"))}catch{}class k0{constructor(){this.config={app:{},build:{},pwa:{},ui:{},copyright:{}},this.options={}}static create(){return new k0}withConfig(e){if(!kc||!Pc)return typeof window>"u"&&console.warn("Warning: File system operations not available in browser environment"),this;try{const r=Pc.resolve(e),n=JSON.parse(kc.readFileSync(r,"utf-8"));n.app&&Object.assign(this.config.app,n.app),n.build&&Object.assign(this.config.build,n.build),n.pwa&&Object.assign(this.config.pwa,n.pwa),n.ui&&Object.assign(this.config.ui,n.ui),n.copyright&&Object.assign(this.config.copyright,n.copyright)}catch{console.warn(`Warning: Could not load config file: ${e}`)}return this}withOptions(e){return this.options={...this.options,...e},this}withName(e){return this.config.app.name=e,this}withId(e){return this.config.app.id=e,this}withShortName(e){return this.config.app.shortName=e,this}withDescription(e){return this.config.app.description=e,this}withVersion(e){return this.config.app.version=e,this}withLogo(e){return this.config.app.logo=e,this}withAuthor(e){return this.config.app.author=e,this}withHomepage(e){return this.config.app.homepage=e,this}withPort(e){return this.config.build.port=e,this}withPreviewPort(e){return this.config.build.previewPort=e,this}withOutputDir(e){return this.config.build.outputDir=e,this}withPublicPath(e){return this.config.build.publicPath=e,this}withBase(e){return this.config.build.base=e,this}withThemeColor(e){return this.config.pwa.themeColor=e,this}withBackgroundColor(e){return this.config.pwa.backgroundColor=e,this}withStartUrl(e){return this.config.pwa.startUrl=e,this}withScope(e){return this.config.pwa.scope=e,this}withDisplay(e){return this.config.pwa.display=e,this}withOrientation(e){return this.config.pwa.orientation=e,this}withDefaultTheme(e){return this.config.ui.defaultTheme=e,this}withDefaultPalette(e){return this.config.ui.defaultPalette=e,this}withScaffolding(e){return this.config.ui.enableScaffolding=e,this}withThemeSwitcher(e){return this.config.ui.showThemeSwitcher=e,this}withPaletteSwitcher(e){return this.config.ui.showPaletteSwitcher=e,this}withCopyright(e,r,n){return this.config.copyright.year=e,this.config.copyright.author=r,n!==void 0&&(this.config.copyright.text=n),this}withCopyrightYear(e){return this.config.copyright.year=e,this}withCopyrightAuthor(e){return this.config.copyright.author=e,this}withCopyrightText(e){return this.config.copyright.text=e,this}build(){const e=this.validate();if(e.warnings.forEach(n=>{console.warn(`⚠️ AppConfig: ${n}`)}),!e.isValid)throw new Error(`AppConfig validation failed:
463
- ${e.errors.map(n=>` - ${n}`).join(`
464
- `)}`);const r=this.applyDefaults();return new T0(r)}validate(){const e=[],r=[];if(this.config.app.name||r.push("App name is required"),this.config.app.id||r.push("App ID is required"),this.config.copyright.year&&this.config.copyright.year!=="auto"&&(!Number.isInteger(this.config.copyright.year)||this.config.copyright.year<1900)&&e.push('Copyright year should be "auto" or a valid year >= 1900'),this.config.app.logo&&!this.options.skipValidation&&kc&&Pc){const n=Pc.resolve(this.options.baseDir||process.cwd(),this.config.app.logo);kc.existsSync(n)||e.push(`Logo file not found: ${this.config.app.logo} (will use default)`)}return this.config.build.port!==void 0&&(!Number.isInteger(this.config.build.port)||this.config.build.port<1||this.config.build.port>65535)&&r.push("Port must be a valid integer between 1 and 65535"),this.config.build.previewPort!==void 0&&(!Number.isInteger(this.config.build.previewPort)||this.config.build.previewPort<1||this.config.build.previewPort>65535)&&r.push("Preview port must be a valid integer between 1 and 65535"),this.config.pwa.themeColor&&!this.isValidColor(this.config.pwa.themeColor)&&e.push(`Theme color may not be valid: ${this.config.pwa.themeColor}`),this.config.pwa.backgroundColor&&!this.isValidColor(this.config.pwa.backgroundColor)&&e.push(`Background color may not be valid: ${this.config.pwa.backgroundColor}`),{warnings:e,errors:r,isValid:r.length===0}}applyDefaults(){const e={id:this.config.app.id,name:this.config.app.name,shortName:this.config.app.shortName||this.config.app.name,description:this.config.app.description||this.config.app.name,version:this.config.app.version||"1.0.0",logo:this.config.app.logo||"/favicon.ico",author:this.config.app.author,homepage:this.config.app.homepage},r={port:this.config.build.port||3e3,previewPort:this.config.build.previewPort||4173,outputDir:this.config.build.outputDir||"dist",publicPath:this.config.build.publicPath||"/",base:this.config.build.base||"/"},n={themeColor:this.config.pwa.themeColor||"#000000",backgroundColor:this.config.pwa.backgroundColor||"#ffffff",startUrl:this.config.pwa.startUrl||"/",scope:this.config.pwa.scope||"/",display:this.config.pwa.display||"standalone",orientation:this.config.pwa.orientation},i={defaultTheme:this.config.ui.defaultTheme||"light",defaultPalette:this.config.ui.defaultPalette||"default",enableScaffolding:this.config.ui.enableScaffolding??!0,showThemeSwitcher:this.config.ui.showThemeSwitcher??!1,showPaletteSwitcher:this.config.ui.showPaletteSwitcher??!1},s={year:this.config.copyright.year||"auto",author:this.config.copyright.author||e.author||e.name,text:this.config.copyright.text};return{app:e,build:r,pwa:n,ui:i,copyright:s}}isValidColor(e){return/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e)||/^(black|white|red|green|blue|yellow|orange|purple|pink|gray|grey)$/i.test(e)||/^rgba?\([^)]+\)$/i.test(e)}}let vo=class extends tt{};R([L(),N({field_type:O.TEXT,label:"Field Label",description:"Label/title for the choice input field",placeholder:"Options"}),F(),te(),z("design:type",String)],vo.prototype,"label",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Options",description:"Array of option values (HTML content supported) - JSON array format"}),F(),kr(),te({each:!0}),z("design:type",Array)],vo.prototype,"options",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Disabled",description:"Whether the input fields are disabled"}),F(),gt(),z("design:type",Boolean)],vo.prototype,"disabled",void 0);R([L(),N({field_type:O.TEXT,label:"Placeholder Text",description:"Placeholder text for option inputs",placeholder:"Enter option text. HTML formatting supported."}),F(),te(),z("design:type",String)],vo.prototype,"placeholder",void 0);R([L(),N({field_type:O.TEXT,label:"Option Label Prefix",description:'Prefix for each option label (e.g., "Option", "Choice")',placeholder:"Option"}),F(),te(),z("design:type",String)],vo.prototype,"optionLabelPrefix",void 0);R([L({defaultValue:2}),N({field_type:O.NUMBER,label:"Input Rows",description:"Number of rows for each option input field"}),F(),Qt(),z("design:type",Number)],vo.prototype,"rows",void 0);R([L(),N({field_type:O.TEXT,label:"Add Button Text",description:"Text for the add option button",placeholder:"Add Option"}),F(),te(),z("design:type",String)],vo.prototype,"addButtonText",void 0);vo=R([bt("ChoiceInputField","1.0.0")],vo);let bo=class extends WC{};R([L(),N({field_type:O.TEXTAREA,label:"Content",description:"Raw code text. If provided, React children are ignored in serialization.",placeholder:"Enter code content..."}),F(),te(),z("design:type",String)],bo.prototype,"content",void 0);R([L(),N({field_type:O.TEXT,label:"Language",description:"Programming language for syntax highlighting (e.g., typescript, javascript, python)",placeholder:"javascript"}),F(),te(),z("design:type",String)],bo.prototype,"language",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Show Copy Button",description:"Display a copy-to-clipboard button"}),F(),gt(),z("design:type",Boolean)],bo.prototype,"showCopy",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Show Line Numbers",description:"Display line numbers alongside the code"}),F(),gt(),z("design:type",Boolean)],bo.prototype,"showLineNumbers",void 0);R([L(),N({field_type:O.TEXT,label:"Title",description:"Optional title or filename to display above the code",placeholder:"File name or title"}),F(),te(),z("design:type",String)],bo.prototype,"title",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Wrap Long Lines",description:"Allow long lines to wrap instead of scrolling horizontally"}),F(),gt(),z("design:type",Boolean)],bo.prototype,"wrapLines",void 0);R([L(),N({field_type:O.TEXT,label:"Background Color",description:"Custom background color override",placeholder:"#f5f5f5"}),F(),te(),z("design:type",String)],bo.prototype,"codeBackground",void 0);bo=R([bt("Code","1.0.0")],bo);let hn=class extends mo{};R([L(),N({field_type:O.NUMBER,label:"Span",description:"Number of columns to span (1-12)",placeholder:"12"}),F(),Qt(),Re([1,2,3,4,5,6,7,8,9,10,11,12]),z("design:type",Number)],hn.prototype,"span",void 0);R([L(),N({field_type:O.NUMBER,label:"XS (Mobile)",description:"Columns on extra small screens (1-12)",placeholder:"12"}),F(),Qt(),Re([1,2,3,4,5,6,7,8,9,10,11,12]),z("design:type",Number)],hn.prototype,"xs",void 0);R([L(),N({field_type:O.NUMBER,label:"SM (Tablet)",description:"Columns on small screens (1-12)",placeholder:"6"}),F(),Qt(),Re([1,2,3,4,5,6,7,8,9,10,11,12]),z("design:type",Number)],hn.prototype,"sm",void 0);R([L(),N({field_type:O.NUMBER,label:"MD (Desktop)",description:"Columns on medium screens (1-12)",placeholder:"4"}),F(),Qt(),Re([1,2,3,4,5,6,7,8,9,10,11,12]),z("design:type",Number)],hn.prototype,"md",void 0);R([L(),N({field_type:O.NUMBER,label:"LG (Large Desktop)",description:"Columns on large screens (1-12)",placeholder:"3"}),F(),Qt(),Re([1,2,3,4,5,6,7,8,9,10,11,12]),z("design:type",Number)],hn.prototype,"lg",void 0);R([L(),N({field_type:O.NUMBER,label:"XL (Extra Large)",description:"Columns on extra large screens (1-12)",placeholder:"2"}),F(),Qt(),Re([1,2,3,4,5,6,7,8,9,10,11,12]),z("design:type",Number)],hn.prototype,"xl",void 0);R([L(),N({field_type:O.TEXT,label:"Background",description:'Background color or theme color (e.g., "primary.main", "#ffffff")',placeholder:"transparent"}),F(),te(),z("design:type",String)],hn.prototype,"background",void 0);R([L(),N({field_type:O.TEXT,label:"Padding",description:'Internal spacing (e.g., "medium", "16px", "1rem")',placeholder:"medium"}),F(),te(),z("design:type",String)],hn.prototype,"padding",void 0);R([L(),N({field_type:O.TEXT,label:"Margin",description:'External spacing (e.g., "small", "8px", "0.5rem")',placeholder:"0"}),F(),te(),z("design:type",String)],hn.prototype,"margin",void 0);R([L(),N({field_type:O.TEXT,label:"Height",description:'Cell height (e.g., "200px", "medium")',placeholder:"auto"}),F(),te(),z("design:type",String)],hn.prototype,"height",void 0);R([L(),N({field_type:O.TEXT,label:"Width",description:'Cell width (e.g., "100%", "300px")',placeholder:"100%"}),F(),te(),z("design:type",String)],hn.prototype,"width",void 0);R([L(),N({field_type:O.TEXT,label:"CSS Class",description:"Additional CSS class names",placeholder:"custom-cell-class"}),F(),te(),z("design:type",String)],hn.prototype,"className",void 0);hn=R([bt("GridCell","1.0.0")],hn);let Xn=class extends mo{};R([L(),N({field_type:O.NUMBER,label:"Columns",description:"Number of equal-width columns for auto-distribution"}),F(),Qt(),yn(1),z("design:type",Number)],Xn.prototype,"columns",void 0);R([L({defaultValue:"small"}),N({field_type:O.SELECT,label:"Spacing",description:"Spacing between grid items"}),F(),te(),Re(["tiny","small","medium","large","huge"]),z("design:type",String)],Xn.prototype,"spacing",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Equal Height",description:"Make all grid items the same height"}),F(),gt(),z("design:type",Boolean)],Xn.prototype,"equalHeight",void 0);R([L(),N({field_type:O.TEXT,label:"Height",description:'Grid container height (e.g., "400px", "50vh", "medium")',placeholder:"auto"}),F(),te(),z("design:type",String)],Xn.prototype,"height",void 0);R([L(),N({field_type:O.TEXT,label:"Width",description:'Grid container width (e.g., "100%", "800px", "large")',placeholder:"100%"}),F(),te(),z("design:type",String)],Xn.prototype,"width",void 0);R([L(),N({field_type:O.TEXT,label:"Min Height",description:"Minimum grid container height",placeholder:"auto"}),F(),te(),z("design:type",String)],Xn.prototype,"minHeight",void 0);R([L(),N({field_type:O.TEXT,label:"Min Width",description:"Minimum grid container width",placeholder:"auto"}),F(),te(),z("design:type",String)],Xn.prototype,"minWidth",void 0);R([L(),N({field_type:O.TEXT,label:"Max Height",description:"Maximum grid container height",placeholder:"none"}),F(),te(),z("design:type",String)],Xn.prototype,"maxHeight",void 0);R([L(),N({field_type:O.TEXT,label:"Max Width",description:"Maximum grid container width",placeholder:"none"}),F(),te(),z("design:type",String)],Xn.prototype,"maxWidth",void 0);R([L(),N({field_type:O.TEXT,label:"CSS Class",description:"Additional CSS class names",placeholder:"custom-grid-class"}),F(),te(),z("design:type",String)],Xn.prototype,"className",void 0);Xn=R([bt("GridLayout","1.0.0")],Xn);let Kn=class extends mo{};R([L(),N({field_type:O.TEXT,label:"Title",description:"Main headline text",placeholder:"Enter hero title..."}),te(),z("design:type",String)],Kn.prototype,"title",void 0);R([L(),N({field_type:O.TEXT,label:"Subtitle",description:"Subtitle or description text",placeholder:"Enter subtitle..."}),F(),te(),z("design:type",String)],Kn.prototype,"subtitle",void 0);R([L(),N({field_type:O.IMAGE,label:"Background Image",description:"Background image URL",placeholder:"https://..."}),F(),Mf(),z("design:type",String)],Kn.prototype,"backgroundImage",void 0);R([L(),N({field_type:O.TEXT,label:"Background Gradient",description:"Background gradient CSS value",placeholder:"linear-gradient(...)"}),F(),te(),z("design:type",String)],Kn.prototype,"backgroundGradient",void 0);R([L({defaultValue:"default"}),N({field_type:O.SELECT,label:"Background Color",description:"Background color theme variant",validation:{options:[{label:"Default",value:"default"},{label:"Primary",value:"primary"},{label:"Secondary",value:"secondary"},{label:"Surface",value:"surface"}]}}),F(),Re(["default","primary","secondary","surface"]),z("design:type",String)],Kn.prototype,"backgroundColor",void 0);R([L({type:Ge.ARRAY}),N({field_type:O.REPEATER,label:"Actions",description:"Action buttons for the hero section"}),F(),kr(),gn({each:!0}),vn(()=>pn),z("design:type",Array)],Kn.prototype,"actions",void 0);R([L({defaultValue:"center"}),N({field_type:O.SELECT,label:"Text Alignment",description:"Text alignment",validation:{options:[{label:"Left",value:"left"},{label:"Center",value:"center"},{label:"Right",value:"right"}]}}),F(),Re(["left","center","right"]),z("design:type",String)],Kn.prototype,"textAlign",void 0);R([L({defaultValue:"medium"}),N({field_type:O.SELECT,label:"Block Height",description:"Block height preset",validation:{options:[{label:"Small",value:"small"},{label:"Medium",value:"medium"},{label:"Large",value:"large"},{label:"Viewport",value:"viewport"}]}}),F(),Re(["small","medium","large","viewport"]),z("design:type",String)],Kn.prototype,"blockHeight",void 0);R([L(),N({field_type:O.NUMBER,label:"Overlay Opacity",description:"Custom overlay opacity (0-1) when using background images",validation:{min:0,max:1}}),F(),Qt(),yn(0),Za(1),z("design:type",Number)],Kn.prototype,"overlayOpacity",void 0);R([L(),N({field_type:O.TEXT,label:"CSS Class",description:"Additional CSS class name",placeholder:"custom-hero-class"}),F(),te(),z("design:type",String)],Kn.prototype,"className",void 0);Kn=R([bt("HeroBlock","1.0.0")],Kn);let vr=class extends tt{};R([L({dataType:Ge.STRING}),N({field_type:O.IMAGE,label:"Image Source",description:"Image source URL or path",placeholder:"https://example.com/image.jpg"}),F(),te(),z("design:type",String)],vr.prototype,"src",void 0);R([L({dataType:Ge.STRING}),N({field_type:O.TEXT,label:"Alt Text",description:"Alternative text for accessibility (required for images with src)",placeholder:"Describe the image for screen readers"}),F(),te(),z("design:type",String)],vr.prototype,"alt",void 0);R([L({dataType:Ge.NUMBER}),N({field_type:O.NUMBER,label:"Width",description:"Image width in pixels (optional)",placeholder:"300"}),F(),Qt(),z("design:type",Number)],vr.prototype,"width",void 0);R([L({dataType:Ge.NUMBER}),N({field_type:O.NUMBER,label:"Height",description:"Image height in pixels (optional)",placeholder:"200"}),F(),Qt(),z("design:type",Number)],vr.prototype,"height",void 0);R([L({defaultValue:"cover",dataType:Ge.STRING}),N({field_type:O.SELECT,label:"Object Fit",description:"How the image should be resized to fit its container",validation:{options:[{label:"Fill",value:"fill"},{label:"Contain",value:"contain"},{label:"Cover",value:"cover"},{label:"None",value:"none"},{label:"Scale Down",value:"scale-down"}]}}),F(),te(),Re(["fill","contain","cover","none","scale-down"]),z("design:type",String)],vr.prototype,"objectFit",void 0);R([L({defaultValue:"center",dataType:Ge.STRING}),N({field_type:O.SELECT,label:"Object Position",description:"Position of the image within its container",validation:{options:[{label:"Center",value:"center"},{label:"Top",value:"top"},{label:"Bottom",value:"bottom"},{label:"Left",value:"left"},{label:"Right",value:"right"},{label:"Top Left",value:"top-left"},{label:"Top Right",value:"top-right"},{label:"Bottom Left",value:"bottom-left"},{label:"Bottom Right",value:"bottom-right"}]}}),F(),te(),Re(["center","top","bottom","left","right","top-left","top-right","bottom-left","bottom-right"]),z("design:type",String)],vr.prototype,"objectPosition",void 0);R([L({defaultValue:"lazy",dataType:Ge.STRING}),N({field_type:O.SELECT,label:"Loading",description:"Image loading behavior",validation:{options:[{label:"Lazy (load when visible)",value:"lazy"},{label:"Eager (load immediately)",value:"eager"}]}}),F(),te(),Re(["lazy","eager"]),z("design:type",String)],vr.prototype,"loading",void 0);R([L({dataType:Ge.STRING}),N({field_type:O.TEXT,label:"Title",description:"Image title (tooltip text)",placeholder:"Tooltip text on hover"}),F(),te(),z("design:type",String)],vr.prototype,"title",void 0);R([L({defaultValue:!1,dataType:Ge.BOOLEAN}),N({field_type:O.BOOLEAN,label:"Draggable",description:"Allow the image to be dragged"}),F(),gt(),z("design:type",Boolean)],vr.prototype,"draggable",void 0);R([L({dataType:Ge.STRING}),N({field_type:O.TEXT,label:"Border Radius",description:'CSS border radius (e.g., "8px", "50%", "1rem")',placeholder:"8px"}),F(),te(),z("design:type",String)],vr.prototype,"borderRadius",void 0);R([L({defaultValue:!1,dataType:Ge.BOOLEAN}),N({field_type:O.BOOLEAN,label:"Show Loading State",description:"Display a loading placeholder while the image loads"}),F(),gt(),z("design:type",Boolean)],vr.prototype,"showLoading",void 0);R([L({defaultValue:!1,dataType:Ge.BOOLEAN}),N({field_type:O.BOOLEAN,label:"Show Error State",description:"Display an error message if the image fails to load"}),F(),gt(),z("design:type",Boolean)],vr.prototype,"showError",void 0);R([L({dataType:Ge.STRING}),N({field_type:O.TEXT,label:"Fallback Image",description:"Fallback image URL to use if the main image fails to load",placeholder:"https://example.com/fallback.jpg"}),F(),te(),z("design:type",String)],vr.prototype,"fallbackSrc",void 0);R([L({dataType:Ge.STRING}),N({field_type:O.TEXTAREA,label:"Responsive Sizes",description:"Responsive image sizes attribute for optimized loading",placeholder:"(max-width: 768px) 100vw, 50vw"}),F(),te(),z("design:type",String)],vr.prototype,"sizes",void 0);R([L({dataType:Ge.STRING}),N({field_type:O.TEXTAREA,label:"Source Set",description:"Source set for responsive images (comma-separated)",placeholder:"image-320w.jpg 320w, image-640w.jpg 640w, image-1280w.jpg 1280w"}),F(),te(),z("design:type",String)],vr.prototype,"srcSet",void 0);R([L({dataType:Ge.STRING}),N({field_type:O.TEXTAREA,label:"Loading Placeholder",description:"Custom loading placeholder content (for advanced use)",placeholder:"Custom loading content..."}),F(),z("design:type",Object)],vr.prototype,"loadingPlaceholder",void 0);R([L({dataType:Ge.STRING}),N({field_type:O.TEXTAREA,label:"Error Placeholder",description:"Custom error placeholder content (for advanced use)",placeholder:"Custom error content..."}),F(),z("design:type",Object)],vr.prototype,"errorPlaceholder",void 0);vr=R([bt("Image","1.0.0")],vr);let Xa=class extends mo{};R([L(),N({field_type:O.TEXT,label:"Background Color",description:"Background color (CSS color, theme path, or palette color)",placeholder:"#ffffff or primary.main"}),F(),te(),z("design:type",String)],Xa.prototype,"background",void 0);R([L(),N({field_type:O.TEXT,label:"Text Color",description:"Text color (CSS color, theme path, or palette color)",placeholder:"#000000 or text.primary"}),F(),te(),z("design:type",String)],Xa.prototype,"color",void 0);R([L(),N({field_type:O.SELECT,label:"Section Padding",description:"Vertical padding/spacing for the section",validation:{options:[{value:"none",label:"None"},{value:"tiny",label:"Tiny (8px)"},{value:"small",label:"Small (16px)"},{value:"medium",label:"Medium (32px)"},{value:"large",label:"Large (64px)"},{value:"extra-large",label:"Extra Large (96px)"}]}}),F(),Re(["none","tiny","small","medium","large","extra-large"]),z("design:type",String)],Xa.prototype,"padding",void 0);R([L(),N({field_type:O.SELECT,label:"Content Max Width",description:"Maximum width for the content container",validation:{options:[{value:"xs",label:"Extra Small (444px)"},{value:"sm",label:"Small (600px)"},{value:"md",label:"Medium (900px)"},{value:"lg",label:"Large (1200px)"},{value:"xl",label:"Extra Large (1536px)"},{value:"false",label:"Full Width"}]}}),F(),Re(["xs","sm","md","lg","xl","false"]),z("design:type",String)],Xa.prototype,"contentMaxWidth",void 0);R([L(),N({field_type:O.SELECT,label:"HTML Element",description:"HTML element type to use for the section",validation:{options:[{value:"section",label:"Section"},{value:"div",label:"Div"},{value:"article",label:"Article"},{value:"main",label:"Main"}]}}),F(),Re(["section","div","article","main"]),z("design:type",String)],Xa.prototype,"component",void 0);Xa=R([bt("Section","1.0.0")],Xa);let In=class extends tt{};R([L(),N({field_type:O.TEXT,label:"Field Label",description:"The label displayed for the text input field",placeholder:"Enter field label..."}),te(),z("design:type",String)],In.prototype,"label",void 0);R([L(),N({field_type:O.TEXT,label:"Value",description:"Current field value",placeholder:"Enter value..."}),F(),te(),z("design:type",String)],In.prototype,"value",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Required",description:"Whether the field is required"}),F(),gt(),z("design:type",Boolean)],In.prototype,"required",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Disabled",description:"Whether the field is disabled"}),F(),gt(),z("design:type",Boolean)],In.prototype,"disabled",void 0);R([L(),N({field_type:O.TEXT,label:"Error Message",description:"Error message to display if validation fails",placeholder:"Enter error message..."}),F(),te(),z("design:type",String)],In.prototype,"error",void 0);R([L(),N({field_type:O.TEXT,label:"Helper Text",description:"Helper text to guide the user",placeholder:"Enter helper text..."}),F(),te(),z("design:type",String)],In.prototype,"helperText",void 0);R([L(),N({field_type:O.TEXT,label:"Placeholder",description:"Placeholder text shown when field is empty",placeholder:"Enter placeholder text..."}),F(),te(),z("design:type",String)],In.prototype,"placeholder",void 0);R([L(),N({field_type:O.TEXT,label:"Input Type",description:"HTML input type (text, email, number, password, etc.)",placeholder:"text"}),F(),te(),z("design:type",String)],In.prototype,"type",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Multiline",description:"Whether the field supports multiple lines (textarea)"}),F(),gt(),z("design:type",Boolean)],In.prototype,"multiline",void 0);R([L(),N({field_type:O.NUMBER,label:"Rows",description:"Number of rows for multiline fields"}),F(),Qt(),z("design:type",Number)],In.prototype,"rows",void 0);R([L(),N({field_type:O.NUMBER,label:"Max Rows",description:"Maximum number of rows for multiline fields"}),F(),Qt(),z("design:type",Number)],In.prototype,"maxRows",void 0);In=R([bt("TextInputField","1.0.0")],In);let pr=class extends Ft{};R([L({dataType:Ge.STRING}),N({field_type:O.TEXTAREA,label:"Text Content",description:"The text content to display",placeholder:"Enter your text content here..."}),F(),te(),z("design:type",String)],pr.prototype,"content",void 0);R([L({defaultValue:"body1",dataType:Ge.STRING}),N({field_type:O.SELECT,label:"Typography Variant",description:"Typography variant that determines font size, weight, and line height",validation:{options:[{label:"Heading 1",value:"h1"},{label:"Heading 2",value:"h2"},{label:"Heading 3",value:"h3"},{label:"Heading 4",value:"h4"},{label:"Heading 5",value:"h5"},{label:"Heading 6",value:"h6"},{label:"Subtitle 1",value:"subtitle1"},{label:"Subtitle 2",value:"subtitle2"},{label:"Body 1",value:"body1"},{label:"Body 2",value:"body2"},{label:"Button",value:"button"},{label:"Caption",value:"caption"},{label:"Overline",value:"overline"}]}}),F(),te(),Re(["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","button","caption","overline"]),z("design:type",String)],pr.prototype,"variant",void 0);R([L({defaultValue:"inherit",dataType:Ge.STRING}),N({field_type:O.SELECT,label:"Text Color",description:"Color variant for the text",validation:{options:[{label:"Primary",value:"primary"},{label:"Secondary",value:"secondary"},{label:"Text Primary",value:"textPrimary"},{label:"Text Secondary",value:"textSecondary"},{label:"Error",value:"error"},{label:"Warning",value:"warning"},{label:"Info",value:"info"},{label:"Success",value:"success"},{label:"Inherit",value:"inherit"}]}}),F(),te(),Re(["primary","secondary","textPrimary","textSecondary","error","warning","info","success","inherit"]),z("design:type",String)],pr.prototype,"color",void 0);R([L({defaultValue:"inherit",dataType:Ge.STRING}),N({field_type:O.SELECT,label:"Text Alignment",description:"How to align the text horizontally",validation:{options:[{label:"Left",value:"left"},{label:"Center",value:"center"},{label:"Right",value:"right"},{label:"Justify",value:"justify"},{label:"Inherit",value:"inherit"}]}}),F(),te(),Re(["left","center","right","justify","inherit"]),z("design:type",String)],pr.prototype,"align",void 0);R([L({defaultValue:"p",dataType:Ge.STRING}),N({field_type:O.SELECT,label:"HTML Element",description:"The HTML element to render (affects semantics and accessibility)",validation:{options:[{label:"Paragraph (p)",value:"p"},{label:"Span",value:"span"},{label:"Div",value:"div"},{label:"Heading 1 (h1)",value:"h1"},{label:"Heading 2 (h2)",value:"h2"},{label:"Heading 3 (h3)",value:"h3"},{label:"Heading 4 (h4)",value:"h4"},{label:"Heading 5 (h5)",value:"h5"},{label:"Heading 6 (h6)",value:"h6"},{label:"Label",value:"label"},{label:"Legend",value:"legend"}]}}),F(),te(),Re(["p","span","div","h1","h2","h3","h4","h5","h6","label","legend"]),z("design:type",String)],pr.prototype,"component",void 0);R([L({defaultValue:"inherit",dataType:Ge.STRING}),N({field_type:O.SELECT,label:"Font Weight",description:"The weight (thickness) of the font",validation:{options:[{label:"Inherit",value:"inherit"},{label:"Lighter",value:"lighter"},{label:"Normal",value:"normal"},{label:"Bold",value:"bold"},{label:"Bolder",value:"bolder"},{label:"100",value:"100"},{label:"200",value:"200"},{label:"300",value:"300"},{label:"400",value:"400"},{label:"500",value:"500"},{label:"600",value:"600"},{label:"700",value:"700"},{label:"800",value:"800"},{label:"900",value:"900"}]}}),F(),te(),Re(["inherit","lighter","normal","bold","bolder","100","200","300","400","500","600","700","800","900"]),z("design:type",String)],pr.prototype,"fontWeight",void 0);R([L({defaultValue:"none",dataType:Ge.STRING}),N({field_type:O.SELECT,label:"Text Decoration",description:"Text decoration style",validation:{options:[{label:"None",value:"none"},{label:"Underline",value:"underline"},{label:"Overline",value:"overline"},{label:"Line Through",value:"line-through"}]}}),F(),te(),Re(["none","underline","overline","line-through"]),z("design:type",String)],pr.prototype,"textDecoration",void 0);R([L({defaultValue:"none",dataType:Ge.STRING}),N({field_type:O.SELECT,label:"Text Transform",description:"How to transform the text case",validation:{options:[{label:"None",value:"none"},{label:"Capitalize",value:"capitalize"},{label:"Uppercase",value:"uppercase"},{label:"Lowercase",value:"lowercase"},{label:"Inherit",value:"inherit"}]}}),F(),te(),Re(["none","capitalize","uppercase","lowercase","inherit"]),z("design:type",String)],pr.prototype,"textTransform",void 0);R([L({defaultValue:!1,dataType:Ge.BOOLEAN}),N({field_type:O.BOOLEAN,label:"No Wrap",description:"Prevent text from wrapping to multiple lines"}),F(),gt(),z("design:type",Boolean)],pr.prototype,"noWrap",void 0);R([L({defaultValue:!1,dataType:Ge.BOOLEAN}),N({field_type:O.BOOLEAN,label:"Paragraph Mode",description:"Apply paragraph spacing and formatting"}),F(),gt(),z("design:type",Boolean)],pr.prototype,"paragraph",void 0);R([L({defaultValue:!1,dataType:Ge.BOOLEAN}),N({field_type:O.BOOLEAN,label:"Gutter Bottom",description:"Add margin bottom for spacing (useful for headings)"}),F(),gt(),z("design:type",Boolean)],pr.prototype,"gutterBottom",void 0);R([L({dataType:Ge.STRING}),N({field_type:O.TEXT,label:"Font Size",description:'Custom font size (overrides variant sizing, e.g., "16px", "1.2rem")',placeholder:"16px"}),F(),te(),z("design:type",String)],pr.prototype,"fontSize",void 0);R([L({dataType:Ge.STRING}),N({field_type:O.TEXT,label:"Line Height",description:'Custom line height (e.g., "1.5", "24px", "150%")',placeholder:"1.5"}),F(),te(),z("design:type",String)],pr.prototype,"lineHeight",void 0);R([L({dataType:Ge.STRING}),N({field_type:O.TEXT,label:"Letter Spacing",description:'Custom letter spacing (e.g., "0.1em", "1px")',placeholder:"0.1em"}),F(),te(),z("design:type",String)],pr.prototype,"letterSpacing",void 0);R([L({dataType:Ge.STRING}),N({field_type:O.TEXT,label:"Font Family",description:'Custom font family (e.g., "Arial, sans-serif")',placeholder:"Arial, sans-serif"}),F(),te(),z("design:type",String)],pr.prototype,"fontFamily",void 0);R([L({dataType:Ge.STRING}),N({field_type:O.TEXTAREA,label:"Custom Color",description:"Custom text color (CSS color value, overrides color variant)",placeholder:"#333333 or rgb(51, 51, 51)"}),F(),te(),z("design:type",String)],pr.prototype,"customColor",void 0);R([L({dataType:Ge.STRING}),N({field_type:O.TEXTAREA,label:"Max Width",description:'Maximum width for the text (e.g., "300px", "50%")',placeholder:"300px"}),F(),te(),z("design:type",String)],pr.prototype,"maxWidth",void 0);R([L({dataType:Ge.STRING}),N({field_type:O.TEXTAREA,label:"Rich Content",description:"Rich text content with React elements (for advanced use)",placeholder:"Rich content..."}),F(),z("design:type",Object)],pr.prototype,"children",void 0);pr=R([bt("Text","1.0.0")],pr);let fr=class extends Ft{};R([L({defaultValue:"light"}),N({field_type:O.SELECT,label:"Print Theme",description:"Theme mode to use when printing",validation:{options:[{label:"Light",value:"light"},{label:"Dark",value:"dark"}]}}),F(),Re(["light","dark"]),z("design:type",String)],fr.prototype,"theme",void 0);R([L({defaultValue:"default"}),N({field_type:O.SELECT,label:"Print Palette",description:"Color palette to use for print output",validation:{options:[{label:"Default",value:"default"},{label:"Autumn",value:"autumn"},{label:"Cosmic",value:"cosmic"},{label:"Ocean",value:"ocean"},{label:"Spring",value:"spring"},{label:"Winter",value:"winter"}]}}),F(),te(),z("design:type",String)],fr.prototype,"palette",void 0);R([L({defaultValue:!0}),N({field_type:O.BOOLEAN,label:"Hide Scaffolding",description:"Hide app scaffolding (navigation, headers) when printing"}),F(),gt(),z("design:type",Boolean)],fr.prototype,"hideScaffolding",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Hide Interactive Elements",description:"Hide buttons and interactive elements when printing"}),F(),gt(),z("design:type",Boolean)],fr.prototype,"hideInteractiveElements",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Optimize For Monochrome",description:"Optimize design for black and white printing"}),F(),gt(),z("design:type",Boolean)],fr.prototype,"optimizeForMonochrome",void 0);R([L(),N({field_type:O.TEXT,label:"Print Title",description:"Custom title to show when printing (optional)",placeholder:"Document Title"}),F(),te(),z("design:type",String)],fr.prototype,"printTitle",void 0);R([L({defaultValue:!0}),N({field_type:O.BOOLEAN,label:"Show Print Date",description:"Include print date and time in printed output"}),F(),gt(),z("design:type",Boolean)],fr.prototype,"showPrintDate",void 0);R([L(),N({field_type:O.TEXT,label:"Print Header",description:"Custom header content for printed pages (HTML string or React component)",placeholder:"<div>Custom header content...</div>"}),F(),z("design:type",Object)],fr.prototype,"printHeader",void 0);R([L(),N({field_type:O.TEXT,label:"Print Header (First Page)",description:"Different header for the first page only (overrides main header on page 1)",placeholder:"<div>First page header...</div>"}),F(),z("design:type",Object)],fr.prototype,"printHeaderFirstPage",void 0);R([L(),N({field_type:O.TEXT,label:"Print Footer",description:"Custom footer content for printed pages (HTML string or React component)",placeholder:"<div>Custom footer content...</div>"}),F(),z("design:type",Object)],fr.prototype,"printFooter",void 0);R([L(),N({field_type:O.TEXT,label:"Print Footer (First Page)",description:"Different footer for the first page only (overrides main footer on page 1)",placeholder:"<div>First page footer...</div>"}),F(),z("design:type",Object)],fr.prototype,"printFooterFirstPage",void 0);R([L({defaultValue:"12mm"}),N({field_type:O.SELECT,label:"Page Margins",description:"Print page margins",validation:{options:[{label:"Compact (6mm)",value:"6mm"},{label:"Standard (12mm)",value:"12mm"},{label:"Large (20mm)",value:"20mm"},{label:"Formal (25mm)",value:"25mm"}]}}),F(),te(),z("design:type",String)],fr.prototype,"pageMargins",void 0);R([L({defaultValue:"60px"}),N({field_type:O.TEXT,label:"Print Header Height",description:"Height allocated for print header (CSS units: px, mm, etc.)",placeholder:"60px"}),F(),te(),z("design:type",String)],fr.prototype,"printHeaderHeight",void 0);R([L({defaultValue:"40px"}),N({field_type:O.TEXT,label:"Print Footer Height",description:"Height allocated for print footer (CSS units: px, mm, etc.)",placeholder:"40px"}),F(),te(),z("design:type",String)],fr.prototype,"printFooterHeight",void 0);R([L(),N({field_type:O.TEXT,label:"Print Background",description:"CSS background for all printed pages (color, gradient, or image)",placeholder:"linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%)"}),F(),te(),z("design:type",String)],fr.prototype,"printBackground",void 0);R([L(),N({field_type:O.TEXT,label:"Print Background (First Page)",description:"Different background for the first page only",placeholder:"url(/logo-watermark.png) no-repeat center, #ffffff"}),F(),te(),z("design:type",String)],fr.prototype,"printBackgroundFirstPage",void 0);fr=R([bt("PrintConfig","1.0.0")],fr);let Tr=class extends tt{};R([L(),N({field_type:O.TEXT,label:"Page Slug",description:'URL-friendly page identifier (e.g., "about-us")',placeholder:"page-slug"}),F(),te(),z("design:type",String)],Tr.prototype,"slug",void 0);R([L(),N({field_type:O.TEXT,label:"Page Name",description:"Human-readable page name",placeholder:"About Us"}),F(),te(),z("design:type",String)],Tr.prototype,"name",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Page Description",description:"Description of the page content (used for SEO)",placeholder:"Brief description of this page..."}),F(),te(),z("design:type",String)],Tr.prototype,"description",void 0);R([L(),N({field_type:O.TEXT,label:"Page Title",description:"HTML title tag content (defaults to name if not provided)",placeholder:"Page Title | Site Name"}),F(),te(),z("design:type",String)],Tr.prototype,"title",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Meta Keywords",description:"SEO keywords (comma-separated)",placeholder:"keyword1, keyword2, keyword3"}),F(),te(),z("design:type",String)],Tr.prototype,"metaKeywords",void 0);R([L(),N({field_type:O.TEXT,label:"Meta Author",description:"Page author information",placeholder:"Author Name"}),F(),te(),z("design:type",String)],Tr.prototype,"metaAuthor",void 0);R([L(),N({field_type:O.URL,label:"Canonical URL",description:"Canonical URL for SEO (optional)",placeholder:"https://example.com/page"}),F(),te(),z("design:type",String)],Tr.prototype,"canonicalUrl",void 0);R([L(),N({field_type:O.TEXTAREA,label:"Page Content",description:"Main page content - can include React components and HTML"}),F(),z("design:type",Object)],Tr.prototype,"children",void 0);R([L(),N({field_type:O.FORM,label:"Print Configuration",description:"Configuration for print mode behavior"}),F(),gn(),vn(()=>fr),z("design:type",fr)],Tr.prototype,"printConfig",void 0);R([L(),N({field_type:O.TEXT,label:"Layout Template",description:"Layout template identifier to use for this page",placeholder:"default, fullwidth, sidebar, etc."}),F(),te(),z("design:type",String)],Tr.prototype,"layout",void 0);R([L(),N({field_type:O.TEXT,label:"Page Icon",description:"Icon identifier for page (used in navigation)",placeholder:"home, about, contact"}),F(),te(),z("design:type",String)],Tr.prototype,"icon",void 0);R([L({defaultValue:!1}),N({field_type:O.BOOLEAN,label:"Requires Authentication",description:"Whether this page requires user authentication"}),F(),z("design:type",Boolean)],Tr.prototype,"requiresAuth",void 0);R([L(),N({field_type:O.TEXT,label:"Required Roles",description:"Comma-separated list of roles required to access this page",placeholder:"admin, user, moderator"}),F(),te(),z("design:type",String)],Tr.prototype,"requiredRoles",void 0);R([L({defaultValue:!0}),N({field_type:O.BOOLEAN,label:"Show in Navigation",description:"Whether to include this page in navigation menus"}),F(),z("design:type",Boolean)],Tr.prototype,"showInNavigation",void 0);R([L({defaultValue:0}),N({field_type:O.NUMBER,label:"Navigation Priority",description:"Priority in navigation (lower numbers appear first)"}),F(),z("design:type",Number)],Tr.prototype,"navigationPriority",void 0);R([L({defaultValue:!0}),N({field_type:O.BOOLEAN,label:"Indexable",description:"Whether search engines should index this page"}),F(),z("design:type",Boolean)],Tr.prototype,"indexable",void 0);Tr=R([bt("PageTemplate","1.0.0")],Tr);const ID=k0.create().withName("Control Panel").withId("com.qwickapps.control-panel").withVersion("1.0.0").withDefaultTheme("dark").withDefaultPalette("cosmic").withThemeSwitcher(!0).withPaletteSwitcher(!0).withDisplay("standalone").build();class jD{constructor(e=""){ka(this,"baseUrl");this.baseUrl=e}async getHealth(){const e=await fetch(`${this.baseUrl}/api/health`);if(!e.ok)throw new Error(`Health check failed: ${e.statusText}`);return e.json()}async getInfo(){const e=await fetch(`${this.baseUrl}/api/info`);if(!e.ok)throw new Error(`Info request failed: ${e.statusText}`);return e.json()}async getDiagnostics(){const e=await fetch(`${this.baseUrl}/api/diagnostics`);if(!e.ok)throw new Error(`Diagnostics request failed: ${e.statusText}`);return e.json()}async getConfig(){const e=await fetch(`${this.baseUrl}/api/config`);if(!e.ok)throw new Error(`Config request failed: ${e.statusText}`);return e.json()}async getLogs(e={}){const r=new URLSearchParams;e.source&&r.set("source",e.source),e.level&&r.set("level",e.level),e.search&&r.set("search",e.search),e.limit&&r.set("limit",e.limit.toString()),e.page&&r.set("page",e.page.toString());const n=await fetch(`${this.baseUrl}/api/logs?${r}`);if(!n.ok)throw new Error(`Logs request failed: ${n.statusText}`);return n.json()}async getLogSources(){const e=await fetch(`${this.baseUrl}/api/logs/sources`);if(!e.ok)throw new Error(`Log sources request failed: ${e.statusText}`);return(await e.json()).sources}}const Ka=new jD;function OD(t){const e=Math.floor(t/1e3),r=Math.floor(e/60),n=Math.floor(r/60),i=Math.floor(n/24);return i>0?`${i}d ${n%24}h ${r%60}m`:n>0?`${n}h ${r%60}m`:r>0?`${r}m ${e%60}s`:`${e}s`}function MS(t){switch(t){case"healthy":return h.jsx(_f,{sx:{color:"var(--theme-success)"}});case"degraded":return h.jsx(LC,{sx:{color:"var(--theme-warning)"}});case"unhealthy":return h.jsx(AC,{sx:{color:"var(--theme-error)"}});default:return h.jsx(Gi,{size:20})}}function up(t){switch(t){case"healthy":return"var(--theme-success)";case"degraded":return"var(--theme-warning)";case"unhealthy":return"var(--theme-error)";default:return"var(--theme-text-secondary)"}}function LD(){var v,g;const[t,e]=T.useState(null),[r,n]=T.useState(null),[i,s]=T.useState(!0),[l,c]=T.useState(null);if(T.useEffect(()=>{const y=async()=>{try{const[x,C]=await Promise.all([Ka.getHealth(),Ka.getInfo()]);e(x),n(C),c(null)}catch(x){c(x instanceof Error?x.message:"Failed to fetch data")}finally{s(!1)}};y();const w=setInterval(y,1e4);return()=>clearInterval(w)},[]),i)return h.jsx(Ce,{sx:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"50vh"},children:h.jsx(Gi,{})});if(l)return h.jsx(rr,{sx:{bgcolor:"var(--theme-surface)",border:"1px solid var(--theme-error)"},children:h.jsx(or,{children:h.jsx(Te,{color:"error",children:l})})});const d=t?Object.entries(t.checks):[],p=d.filter(([,y])=>y.status==="healthy").length,m=d.length;return h.jsxs(Ce,{children:[h.jsx(Te,{variant:"h4",sx:{mb:1,color:"var(--theme-text-primary)"},children:"Dashboard"}),h.jsxs(Te,{variant:"body2",sx:{mb:4,color:"var(--theme-text-secondary)"},children:["Real-time overview of ",(r==null?void 0:r.product)||"your service"]}),h.jsx(rr,{sx:{mb:4,bgcolor:"var(--theme-surface)",border:`2px solid ${up((t==null?void 0:t.status)||"unknown")}`},children:h.jsxs(or,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[h.jsxs(Ce,{sx:{display:"flex",alignItems:"center",gap:2},children:[MS((t==null?void 0:t.status)||"unknown"),h.jsxs(Ce,{children:[h.jsxs(Te,{variant:"h6",sx:{color:"var(--theme-text-primary)"},children:["Service Status: ",(v=t==null?void 0:t.status)==null?void 0:v.charAt(0).toUpperCase(),(g=t==null?void 0:t.status)==null?void 0:g.slice(1)]}),h.jsxs(Te,{variant:"body2",sx:{color:"var(--theme-text-secondary)"},children:["Last updated: ",t!=null&&t.timestamp?new Date(t.timestamp).toLocaleString():"N/A"]})]})]}),h.jsx(Ni,{label:`${p}/${m} checks passing`,sx:{bgcolor:up((t==null?void 0:t.status)||"unknown")+"20",color:up((t==null?void 0:t.status)||"unknown")}})]})}),h.jsxs(Yr,{container:!0,spacing:3,sx:{mb:4},children:[h.jsx(Yr,{size:{xs:12,sm:6,md:3},children:h.jsx(rr,{sx:{bgcolor:"var(--theme-surface)",height:"100%"},children:h.jsxs(or,{children:[h.jsxs(Ce,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[h.jsx(TC,{sx:{color:"var(--theme-primary)"}}),h.jsx(Te,{variant:"body2",sx:{color:"var(--theme-text-secondary)"},children:"Uptime"})]}),h.jsx(Te,{variant:"h4",sx:{color:"var(--theme-primary)"},children:t?OD(t.uptime):"N/A"})]})})}),h.jsx(Yr,{size:{xs:12,sm:6,md:3},children:h.jsx(rr,{sx:{bgcolor:"var(--theme-surface)",height:"100%"},children:h.jsxs(or,{children:[h.jsxs(Ce,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[h.jsx(_f,{sx:{color:"var(--theme-success)"}}),h.jsx(Te,{variant:"body2",sx:{color:"var(--theme-text-secondary)"},children:"Health Checks"})]}),h.jsxs(Te,{variant:"h4",sx:{color:"var(--theme-success)"},children:[p,"/",m]})]})})}),h.jsx(Yr,{size:{xs:12,sm:6,md:3},children:h.jsx(rr,{sx:{bgcolor:"var(--theme-surface)",height:"100%"},children:h.jsxs(or,{children:[h.jsxs(Ce,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[h.jsx(qy,{sx:{color:"var(--theme-warning)"}}),h.jsx(Te,{variant:"body2",sx:{color:"var(--theme-text-secondary)"},children:"Version"})]}),h.jsx(Te,{variant:"h4",sx:{color:"var(--theme-text-primary)"},children:(r==null?void 0:r.version)||"N/A"})]})})}),h.jsx(Yr,{size:{xs:12,sm:6,md:3},children:h.jsx(rr,{sx:{bgcolor:"var(--theme-surface)",height:"100%"},children:h.jsxs(or,{children:[h.jsxs(Ce,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[h.jsx(Xy,{sx:{color:"var(--theme-info)"}}),h.jsx(Te,{variant:"body2",sx:{color:"var(--theme-text-secondary)"},children:"Product"})]}),h.jsx(Te,{variant:"h5",sx:{color:"var(--theme-text-primary)"},children:(r==null?void 0:r.product)||"N/A"})]})})})]}),h.jsx(rr,{sx:{bgcolor:"var(--theme-surface)"},children:h.jsxs(or,{children:[h.jsx(Te,{variant:"h6",sx:{mb:3,color:"var(--theme-text-primary)"},children:"Health Checks"}),h.jsx(Yr,{container:!0,spacing:2,children:d.map(([y,w])=>h.jsx(Yr,{size:{xs:12,sm:6,md:4},children:h.jsxs(Ce,{sx:{p:2,borderRadius:1,bgcolor:"var(--theme-background)",border:`1px solid ${up(w.status)}40`},children:[h.jsxs(Ce,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:1},children:[h.jsxs(Ce,{sx:{display:"flex",alignItems:"center",gap:1},children:[MS(w.status),h.jsx(Te,{sx:{color:"var(--theme-text-primary)",fontWeight:500},children:y})]}),w.latency!==void 0&&h.jsx(Ni,{label:`${w.latency}ms`,size:"small",sx:{bgcolor:"var(--theme-surface)",color:"var(--theme-text-secondary)"}})]}),w.error&&h.jsx(Te,{variant:"caption",sx:{color:"var(--theme-error)"},children:w.error})]})},y))})]})})]})}function _S(t,e=20){switch(t){case"healthy":return h.jsx(_f,{sx:{color:"var(--theme-success)",fontSize:e}});case"degraded":return h.jsx(LC,{sx:{color:"var(--theme-warning)",fontSize:e}});case"unhealthy":return h.jsx(AC,{sx:{color:"var(--theme-error)",fontSize:e}});default:return h.jsx(Gi,{size:e})}}function dp(t){switch(t){case"healthy":return"var(--theme-success)";case"degraded":return"var(--theme-warning)";case"unhealthy":return"var(--theme-error)";default:return"var(--theme-text-secondary)"}}function ND(t){return t===void 0?"-":t<1e3?`${t}ms`:`${(t/1e3).toFixed(2)}s`}function $D(){var m,v;const[t,e]=T.useState(null),[r,n]=T.useState(!0),[i,s]=T.useState(null);if(T.useEffect(()=>{const g=async()=>{try{const w=await Ka.getHealth();e(w),s(null)}catch(w){s(w instanceof Error?w.message:"Failed to fetch health")}finally{n(!1)}};g();const y=setInterval(g,5e3);return()=>clearInterval(y)},[]),r)return h.jsx(Ce,{sx:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"50vh"},children:h.jsx(Gi,{})});if(i)return h.jsx(rr,{sx:{bgcolor:"var(--theme-surface)",border:"1px solid var(--theme-error)"},children:h.jsx(or,{children:h.jsx(Te,{color:"error",children:i})})});const l=t?Object.entries(t.checks):[],c=l.filter(([,g])=>g.status==="healthy").length,d=l.length,p=d>0?c/d*100:0;return h.jsxs(Ce,{children:[h.jsx(Te,{variant:"h4",sx:{mb:1,color:"var(--theme-text-primary)"},children:"Health Checks"}),h.jsx(Te,{variant:"body2",sx:{mb:4,color:"var(--theme-text-secondary)"},children:"Detailed view of all service health checks"}),h.jsx(rr,{sx:{mb:4,bgcolor:"var(--theme-surface)"},children:h.jsxs(or,{children:[h.jsxs(Ce,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:2},children:[h.jsxs(Ce,{sx:{display:"flex",alignItems:"center",gap:2},children:[_S((t==null?void 0:t.status)||"unknown",32),h.jsxs(Ce,{children:[h.jsxs(Te,{variant:"h5",sx:{color:"var(--theme-text-primary)"},children:["Overall Status: ",(m=t==null?void 0:t.status)==null?void 0:m.charAt(0).toUpperCase(),(v=t==null?void 0:t.status)==null?void 0:v.slice(1)]}),h.jsxs(Te,{variant:"body2",sx:{color:"var(--theme-text-secondary)"},children:[c," of ",d," checks passing"]})]})]}),h.jsxs(Te,{variant:"h3",sx:{color:dp((t==null?void 0:t.status)||"unknown")},children:[p.toFixed(0),"%"]})]}),h.jsx(sC,{variant:"determinate",value:p,sx:{height:8,borderRadius:4,bgcolor:"var(--theme-background)","& .MuiLinearProgress-bar":{bgcolor:dp((t==null?void 0:t.status)||"unknown"),borderRadius:4}}})]})}),h.jsx(rr,{sx:{bgcolor:"var(--theme-surface)"},children:h.jsx(Dy,{children:h.jsxs(zy,{children:[h.jsx(Fy,{children:h.jsxs(tl,{children:[h.jsx(Gt,{sx:{color:"var(--theme-text-secondary)",borderColor:"var(--theme-border)"},children:"Check"}),h.jsx(Gt,{sx:{color:"var(--theme-text-secondary)",borderColor:"var(--theme-border)"},children:"Status"}),h.jsx(Gt,{sx:{color:"var(--theme-text-secondary)",borderColor:"var(--theme-border)"},children:"Latency"}),h.jsx(Gt,{sx:{color:"var(--theme-text-secondary)",borderColor:"var(--theme-border)"},children:"Last Checked"}),h.jsx(Gt,{sx:{color:"var(--theme-text-secondary)",borderColor:"var(--theme-border)"},children:"Error"})]})}),h.jsx(By,{children:l.map(([g,y])=>h.jsxs(tl,{children:[h.jsx(Gt,{sx:{color:"var(--theme-text-primary)",borderColor:"var(--theme-border)"},children:h.jsxs(Ce,{sx:{display:"flex",alignItems:"center",gap:1},children:[_S(y.status),h.jsx(Te,{fontWeight:500,children:g})]})}),h.jsx(Gt,{sx:{borderColor:"var(--theme-border)"},children:h.jsx(Ni,{label:y.status,size:"small",sx:{bgcolor:dp(y.status)+"20",color:dp(y.status),textTransform:"capitalize"}})}),h.jsx(Gt,{sx:{color:"var(--theme-text-primary)",borderColor:"var(--theme-border)"},children:ND(y.latency)}),h.jsx(Gt,{sx:{color:"var(--theme-text-secondary)",borderColor:"var(--theme-border)"},children:new Date(y.lastChecked).toLocaleTimeString()}),h.jsx(Gt,{sx:{color:"var(--theme-error)",borderColor:"var(--theme-border)"},children:y.error||"-"})]},g))})]})})})]})}function AS(t){switch(t.toLowerCase()){case"error":return"var(--theme-error)";case"warn":case"warning":return"var(--theme-warning)";case"info":return"var(--theme-info)";case"debug":return"var(--theme-text-secondary)";default:return"var(--theme-text-primary)"}}function zD(){const[t,e]=T.useState([]),[r,n]=T.useState([]),[i,s]=T.useState(!0),[l,c]=T.useState(null),[d,p]=T.useState(""),[m,v]=T.useState(""),[g,y]=T.useState(""),[w,x]=T.useState(1),[C,P]=T.useState(0),k=50,_=async()=>{s(!0);try{const D=await Ka.getLogs({source:d||void 0,level:m||void 0,search:g||void 0,limit:k,page:w});e(D.logs),P(D.total),c(null)}catch(D){c(D instanceof Error?D.message:"Failed to fetch logs")}finally{s(!1)}},E=async()=>{try{const D=await Ka.getLogSources();n(D)}catch{}};T.useEffect(()=>{E()},[]),T.useEffect(()=>{_()},[d,m,w]);const A=()=>{x(1),_()},I=Math.ceil(C/k);return h.jsxs(Ce,{children:[h.jsx(Te,{variant:"h4",sx:{mb:1,color:"var(--theme-text-primary)"},children:"Logs"}),h.jsx(Te,{variant:"body2",sx:{mb:4,color:"var(--theme-text-secondary)"},children:"View and search application logs"}),h.jsx(rr,{sx:{mb:3,bgcolor:"var(--theme-surface)"},children:h.jsx(or,{children:h.jsxs(Ce,{sx:{display:"flex",gap:2,flexWrap:"wrap",alignItems:"center"},children:[r.length>0&&h.jsxs(Yo,{size:"small",sx:{minWidth:150},children:[h.jsx(Zs,{sx:{color:"var(--theme-text-secondary)"},children:"Source"}),h.jsxs(el,{value:d,label:"Source",onChange:D=>p(D.target.value),sx:{color:"var(--theme-text-primary)"},children:[h.jsx(Dr,{value:"",children:"All Sources"}),r.map(D=>h.jsx(Dr,{value:D.name,children:D.name},D.name))]})]}),h.jsxs(Yo,{size:"small",sx:{minWidth:120},children:[h.jsx(Zs,{sx:{color:"var(--theme-text-secondary)"},children:"Level"}),h.jsxs(el,{value:m,label:"Level",onChange:D=>v(D.target.value),sx:{color:"var(--theme-text-primary)"},children:[h.jsx(Dr,{value:"",children:"All Levels"}),h.jsx(Dr,{value:"error",children:"Error"}),h.jsx(Dr,{value:"warn",children:"Warning"}),h.jsx(Dr,{value:"info",children:"Info"}),h.jsx(Dr,{value:"debug",children:"Debug"})]})]}),h.jsx(Pf,{size:"small",placeholder:"Search logs...",value:g,onChange:D=>y(D.target.value),onKeyPress:D=>D.key==="Enter"&&A(),sx:{flex:1,minWidth:200,"& .MuiInputBase-input":{color:"var(--theme-text-primary)"}},InputProps:{startAdornment:h.jsx(OC,{sx:{mr:1,color:"var(--theme-text-secondary)"}})}}),h.jsx(Ar,{onClick:_,sx:{color:"var(--theme-primary)"},children:h.jsx(Gy,{})})]})})}),l&&h.jsx(rr,{sx:{mb:3,bgcolor:"var(--theme-surface)",border:"1px solid var(--theme-error)"},children:h.jsx(or,{children:h.jsx(Te,{color:"error",children:l})})}),h.jsx(rr,{sx:{bgcolor:"var(--theme-surface)"},children:i?h.jsx(Ce,{sx:{display:"flex",justifyContent:"center",p:4},children:h.jsx(Gi,{})}):t.length===0?h.jsx(or,{children:h.jsx(Te,{sx:{color:"var(--theme-text-secondary)",textAlign:"center"},children:"No logs found"})}):h.jsxs(h.Fragment,{children:[h.jsx(Dy,{children:h.jsxs(zy,{size:"small",children:[h.jsx(Fy,{children:h.jsxs(tl,{children:[h.jsx(Gt,{sx:{color:"var(--theme-text-secondary)",borderColor:"var(--theme-border)",width:180},children:"Timestamp"}),h.jsx(Gt,{sx:{color:"var(--theme-text-secondary)",borderColor:"var(--theme-border)",width:100},children:"Level"}),h.jsx(Gt,{sx:{color:"var(--theme-text-secondary)",borderColor:"var(--theme-border)",width:120},children:"Component"}),h.jsx(Gt,{sx:{color:"var(--theme-text-secondary)",borderColor:"var(--theme-border)"},children:"Message"})]})}),h.jsx(By,{children:t.map((D,$)=>h.jsxs(tl,{hover:!0,children:[h.jsx(Gt,{sx:{color:"var(--theme-text-secondary)",borderColor:"var(--theme-border)",fontFamily:"monospace",fontSize:"0.75rem"},children:new Date(D.timestamp).toLocaleString()}),h.jsx(Gt,{sx:{borderColor:"var(--theme-border)"},children:h.jsx(Ni,{label:D.level.toUpperCase(),size:"small",sx:{bgcolor:AS(D.level)+"20",color:AS(D.level),fontSize:"0.65rem",height:20}})}),h.jsx(Gt,{sx:{color:"var(--theme-text-secondary)",borderColor:"var(--theme-border)",fontSize:"0.75rem"},children:D.namespace||"-"}),h.jsx(Gt,{sx:{color:"var(--theme-text-primary)",borderColor:"var(--theme-border)",fontFamily:"monospace",fontSize:"0.8rem",whiteSpace:"pre-wrap",wordBreak:"break-all"},children:D.message})]},$))})]})}),I>1&&h.jsx(Ce,{sx:{display:"flex",justifyContent:"center",p:2},children:h.jsx(yO,{count:I,page:w,onChange:(D,$)=>x($),sx:{"& .MuiPaginationItem-root":{color:"var(--theme-text-primary)"}}})})]})})]})}function BD(){const[t,e]=T.useState(null),[r,n]=T.useState(!0),[i,s]=T.useState(null),[l,c]=T.useState({}),[d,p]=T.useState({open:!1,message:""});T.useEffect(()=>{(async()=>{try{const C=await Ka.getConfig();e(C),s(null)}catch(C){s(C instanceof Error?C.message:"Failed to fetch config")}finally{n(!1)}})()},[]);const m=x=>{navigator.clipboard.writeText(x),p({open:!0,message:"Copied to clipboard"})},v=x=>{c(C=>({...C,[x]:!C[x]}))},g=x=>!(t!=null&&t.masked)||!Array.isArray(t.masked)?!1:t.masked.some(C=>x.toUpperCase().includes(C.toUpperCase())),y=(x,C)=>{const P=String(C);return g(x)&&!l[x]?"••••••••":P};if(r)return h.jsx(Ce,{sx:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"50vh"},children:h.jsx(Gi,{})});if(i)return h.jsx(rr,{sx:{bgcolor:"var(--theme-surface)",border:"1px solid var(--theme-error)"},children:h.jsx(or,{children:h.jsx(Te,{color:"error",children:i})})});const w=t?Object.entries(t.config):[];return h.jsxs(Ce,{children:[h.jsx(Te,{variant:"h4",sx:{mb:1,color:"var(--theme-text-primary)"},children:"Configuration"}),h.jsx(Te,{variant:"body2",sx:{mb:4,color:"var(--theme-text-secondary)"},children:"Current environment configuration (read-only)"}),h.jsxs(rr,{sx:{bgcolor:"var(--theme-surface)"},children:[h.jsx(Dy,{children:h.jsxs(zy,{children:[h.jsx(Fy,{children:h.jsxs(tl,{children:[h.jsx(Gt,{sx:{color:"var(--theme-text-secondary)",borderColor:"var(--theme-border)"},children:"Variable"}),h.jsx(Gt,{sx:{color:"var(--theme-text-secondary)",borderColor:"var(--theme-border)"},children:"Value"}),h.jsx(Gt,{sx:{color:"var(--theme-text-secondary)",borderColor:"var(--theme-border)",width:100},children:"Actions"})]})}),h.jsx(By,{children:w.map(([x,C])=>h.jsxs(tl,{children:[h.jsx(Gt,{sx:{borderColor:"var(--theme-border)"},children:h.jsxs(Ce,{sx:{display:"flex",alignItems:"center",gap:1},children:[h.jsx(Te,{sx:{color:"var(--theme-text-primary)",fontFamily:"monospace"},children:x}),g(x)&&h.jsx(Ni,{icon:h.jsx(jC,{sx:{fontSize:14}}),label:"Sensitive",size:"small",sx:{bgcolor:"var(--theme-warning)20",color:"var(--theme-warning)",height:20,"& .MuiChip-icon":{color:"var(--theme-warning)"}}})]})}),h.jsx(Gt,{sx:{color:"var(--theme-text-primary)",borderColor:"var(--theme-border)",fontFamily:"monospace"},children:y(x,C)}),h.jsx(Gt,{sx:{borderColor:"var(--theme-border)"},children:h.jsxs(Ce,{sx:{display:"flex",gap:.5},children:[g(x)&&h.jsx(Tn,{title:l[x]?"Hide value":"Show value",children:h.jsx(Ar,{size:"small",onClick:()=>v(x),sx:{color:"var(--theme-text-secondary)"},children:l[x]?h.jsx(Qy,{fontSize:"small"}):h.jsx(Ky,{fontSize:"small"})})}),h.jsx(Tn,{title:"Copy value",children:h.jsx(Ar,{size:"small",onClick:()=>m(String(C)),sx:{color:"var(--theme-text-secondary)"},children:h.jsx(Wy,{fontSize:"small"})})})]})})]},x))})]})}),w.length===0&&h.jsx(or,{children:h.jsx(Te,{sx:{color:"var(--theme-text-secondary)",textAlign:"center"},children:"No configuration variables available"})})]}),h.jsx($y,{open:d.open,autoHideDuration:2e3,onClose:()=>p({...d,open:!1}),anchorOrigin:{vertical:"bottom",horizontal:"center"},children:h.jsx(Qa,{severity:"success",variant:"filled",children:d.message})})]})}function tg(t){if(t===0)return"0 B";const e=1024,r=["B","KB","MB","GB"],n=Math.floor(Math.log(t)/Math.log(e));return parseFloat((t/Math.pow(e,n)).toFixed(2))+" "+r[n]}function DD(t){const e=Math.floor(t/1e3),r=Math.floor(e/60),n=Math.floor(r/60),i=Math.floor(n/24);return i>0?`${i}d ${n%24}h ${r%60}m`:n>0?`${n}h ${r%60}m ${e%60}s`:r>0?`${r}m ${e%60}s`:`${e}s`}function FD(){const[t,e]=T.useState(null),[r,n]=T.useState(!0),[i,s]=T.useState(null),[l,c]=T.useState({open:!1,message:""}),d=async()=>{n(!0);try{const v=await Ka.getDiagnostics();e(v),s(null)}catch(v){s(v instanceof Error?v.message:"Failed to fetch diagnostics")}finally{n(!1)}};T.useEffect(()=>{d();const v=setInterval(d,3e4);return()=>clearInterval(v)},[]);const p=()=>{navigator.clipboard.writeText(JSON.stringify(t,null,2)),c({open:!0,message:"Diagnostics copied to clipboard"})};if(r&&!t)return h.jsx(Ce,{sx:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"50vh"},children:h.jsx(Gi,{})});if(i)return h.jsx(rr,{sx:{bgcolor:"var(--theme-surface)",border:"1px solid var(--theme-error)"},children:h.jsx(or,{children:h.jsx(Te,{color:"error",children:i})})});const m=t?t.system.memory.used/t.system.memory.total*100:0;return h.jsxs(Ce,{children:[h.jsxs(Ce,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:1},children:[h.jsx(Te,{variant:"h4",sx:{color:"var(--theme-text-primary)"},children:"Diagnostics"}),h.jsxs(Ce,{sx:{display:"flex",gap:1},children:[h.jsx(Tn,{title:"Copy diagnostics JSON",children:h.jsx(Ar,{onClick:p,sx:{color:"var(--theme-primary)"},children:h.jsx(Wy,{})})}),h.jsx(Tn,{title:"Refresh",children:h.jsx(Ar,{onClick:d,sx:{color:"var(--theme-primary)"},children:h.jsx(Gy,{})})})]})]}),h.jsx(Te,{variant:"body2",sx:{mb:4,color:"var(--theme-text-secondary)"},children:"System information and health diagnostics for AI agents and troubleshooting"}),h.jsxs(Yr,{container:!0,spacing:3,children:[h.jsx(Yr,{size:{xs:12,md:6},children:h.jsx(rr,{sx:{bgcolor:"var(--theme-surface)",height:"100%"},children:h.jsxs(or,{children:[h.jsxs(Ce,{sx:{display:"flex",alignItems:"center",gap:1,mb:3},children:[h.jsx(_C,{sx:{color:"var(--theme-primary)"}}),h.jsx(Te,{variant:"h6",sx:{color:"var(--theme-text-primary)"},children:"System Information"})]}),h.jsxs(Ce,{sx:{display:"flex",flexDirection:"column",gap:2},children:[h.jsxs(Ce,{sx:{display:"flex",justifyContent:"space-between"},children:[h.jsx(Te,{sx:{color:"var(--theme-text-secondary)"},children:"Node.js"}),h.jsx(Ni,{label:t==null?void 0:t.system.nodeVersion,size:"small",sx:{bgcolor:"var(--theme-background)",color:"var(--theme-text-primary)"}})]}),h.jsxs(Ce,{sx:{display:"flex",justifyContent:"space-between"},children:[h.jsx(Te,{sx:{color:"var(--theme-text-secondary)"},children:"Platform"}),h.jsx(Ni,{label:t==null?void 0:t.system.platform,size:"small",sx:{bgcolor:"var(--theme-background)",color:"var(--theme-text-primary)"}})]}),h.jsxs(Ce,{sx:{display:"flex",justifyContent:"space-between"},children:[h.jsx(Te,{sx:{color:"var(--theme-text-secondary)"},children:"Architecture"}),h.jsx(Ni,{label:t==null?void 0:t.system.arch,size:"small",sx:{bgcolor:"var(--theme-background)",color:"var(--theme-text-primary)"}})]})]})]})})}),h.jsx(Yr,{size:{xs:12,md:6},children:h.jsx(rr,{sx:{bgcolor:"var(--theme-surface)",height:"100%"},children:h.jsxs(or,{children:[h.jsxs(Ce,{sx:{display:"flex",alignItems:"center",gap:1,mb:3},children:[h.jsx(qy,{sx:{color:"var(--theme-warning)"}}),h.jsx(Te,{variant:"h6",sx:{color:"var(--theme-text-primary)"},children:"Memory Usage"})]}),h.jsxs(Ce,{sx:{mb:2},children:[h.jsxs(Ce,{sx:{display:"flex",justifyContent:"space-between",mb:1},children:[h.jsx(Te,{sx:{color:"var(--theme-text-secondary)"},children:"Heap Used"}),h.jsx(Te,{sx:{color:"var(--theme-text-primary)"},children:tg((t==null?void 0:t.system.memory.used)||0)})]}),h.jsx(sC,{variant:"determinate",value:m,sx:{height:8,borderRadius:4,bgcolor:"var(--theme-background)","& .MuiLinearProgress-bar":{bgcolor:m>80?"var(--theme-error)":"var(--theme-warning)",borderRadius:4}}})]}),h.jsxs(Ce,{sx:{display:"flex",flexDirection:"column",gap:2},children:[h.jsxs(Ce,{sx:{display:"flex",justifyContent:"space-between"},children:[h.jsx(Te,{sx:{color:"var(--theme-text-secondary)"},children:"Heap Total"}),h.jsx(Te,{sx:{color:"var(--theme-text-primary)"},children:tg((t==null?void 0:t.system.memory.total)||0)})]}),h.jsxs(Ce,{sx:{display:"flex",justifyContent:"space-between"},children:[h.jsx(Te,{sx:{color:"var(--theme-text-secondary)"},children:"Heap Free"}),h.jsx(Te,{sx:{color:"var(--theme-text-primary)"},children:tg((t==null?void 0:t.system.memory.free)||0)})]})]})]})})}),h.jsx(Yr,{size:{xs:12,md:6},children:h.jsx(rr,{sx:{bgcolor:"var(--theme-surface)",height:"100%"},children:h.jsxs(or,{children:[h.jsxs(Ce,{sx:{display:"flex",alignItems:"center",gap:1,mb:3},children:[h.jsx(Xy,{sx:{color:"var(--theme-info)"}}),h.jsx(Te,{variant:"h6",sx:{color:"var(--theme-text-primary)"},children:"Service Info"})]}),h.jsxs(Ce,{sx:{display:"flex",flexDirection:"column",gap:2},children:[h.jsxs(Ce,{sx:{display:"flex",justifyContent:"space-between"},children:[h.jsx(Te,{sx:{color:"var(--theme-text-secondary)"},children:"Product"}),h.jsx(Te,{sx:{color:"var(--theme-text-primary)"},children:t==null?void 0:t.product})]}),h.jsxs(Ce,{sx:{display:"flex",justifyContent:"space-between"},children:[h.jsx(Te,{sx:{color:"var(--theme-text-secondary)"},children:"Version"}),h.jsx(Ni,{label:(t==null?void 0:t.version)||"N/A",size:"small",sx:{bgcolor:"var(--theme-primary)20",color:"var(--theme-primary)"}})]}),h.jsxs(Ce,{sx:{display:"flex",justifyContent:"space-between"},children:[h.jsx(Te,{sx:{color:"var(--theme-text-secondary)"},children:"Timestamp"}),h.jsx(Te,{sx:{color:"var(--theme-text-primary)",fontSize:"0.875rem"},children:t!=null&&t.timestamp?new Date(t.timestamp).toLocaleString():"N/A"})]})]})]})})}),h.jsx(Yr,{size:{xs:12,md:6},children:h.jsx(rr,{sx:{bgcolor:"var(--theme-surface)",height:"100%"},children:h.jsxs(or,{children:[h.jsxs(Ce,{sx:{display:"flex",alignItems:"center",gap:1,mb:3},children:[h.jsx(TC,{sx:{color:"var(--theme-success)"}}),h.jsx(Te,{variant:"h6",sx:{color:"var(--theme-text-primary)"},children:"Uptime"})]}),h.jsx(Te,{variant:"h3",sx:{color:"var(--theme-success)",mb:1},children:DD((t==null?void 0:t.uptime)||0)}),h.jsx(Te,{sx:{color:"var(--theme-text-secondary)"},children:"Service has been running without interruption"})]})})}),h.jsx(Yr,{size:{xs:12},children:h.jsx(rr,{sx:{bgcolor:"var(--theme-surface)"},children:h.jsxs(or,{children:[h.jsx(Te,{variant:"h6",sx:{color:"var(--theme-text-primary)",mb:2},children:"Raw Diagnostics JSON (for AI agents)"}),h.jsx(Ce,{component:"pre",sx:{bgcolor:"var(--theme-background)",p:2,borderRadius:1,overflow:"auto",maxHeight:300,color:"var(--theme-text-primary)",fontFamily:"monospace",fontSize:"0.75rem"},children:JSON.stringify(t,null,2)})]})})})]}),h.jsx($y,{open:l.open,autoHideDuration:2e3,onClose:()=>c({...l,open:!1}),anchorOrigin:{vertical:"bottom",horizontal:"center"},children:h.jsx(Qa,{severity:"success",variant:"filled",children:l.message})})]})}function HD(){const t=n3();return h.jsxs(Ce,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:"50vh",textAlign:"center"},children:[h.jsx(Te,{variant:"h1",sx:{color:"var(--theme-primary)",mb:2},children:"404"}),h.jsx(Te,{variant:"h5",sx:{color:"var(--theme-text-primary)",mb:1},children:"Page Not Found"}),h.jsx(Te,{sx:{color:"var(--theme-text-secondary)",mb:4},children:"The page you're looking for doesn't exist or has been moved."}),h.jsx(qc,{variant:"contained",startIcon:h.jsx(IC,{}),onClick:()=>t("/"),sx:{bgcolor:"var(--theme-primary)","&:hover":{bgcolor:"var(--theme-primary)"}},children:"Back to Dashboard"})]})}const VD="1.0.0",UD=h.jsx(cD,{name:"Control Panel"}),WD=h.jsx(Ce,{sx:{display:"flex",alignItems:"center",justifyContent:"center",gap:.5,py:2},children:h.jsxs(ho,{variant:"caption",customColor:"var(--theme-text-secondary)",children:["Built with"," ",h.jsx(gj,{href:"https://qwickapps.com/products/qwickapps-server",target:"_blank",rel:"noopener noreferrer",sx:{color:"primary.main"},children:"QwickApps Server"})," ","v",VD]})});function qD(){return h.jsx(C3,{children:h.jsx(sD,{config:ID,logo:UD,footerContent:WD,enableScaffolding:!0,navigationItems:[{id:"dashboard",label:"Dashboard",route:"/",icon:"dashboard"},{id:"health",label:"Health",route:"/health",icon:"favorite"},{id:"logs",label:"Logs",route:"/logs",icon:"article"},{id:"config",label:"Config",route:"/config",icon:"settings"},{id:"diagnostics",label:"Diagnostics",route:"/diagnostics",icon:"bug_report"}],showThemeSwitcher:!0,showPaletteSwitcher:!0,children:h.jsxs(x3,{children:[h.jsx(Ra,{path:"/",element:h.jsx(LD,{})}),h.jsx(Ra,{path:"/health",element:h.jsx($D,{})}),h.jsx(Ra,{path:"/logs",element:h.jsx(zD,{})}),h.jsx(Ra,{path:"/config",element:h.jsx(BD,{})}),h.jsx(Ra,{path:"/diagnostics",element:h.jsx(FD,{})}),h.jsx(Ra,{path:"*",element:h.jsx(HD,{})})]})})})}kP.createRoot(document.getElementById("root")).render(h.jsx(pt.StrictMode,{children:h.jsx(qD,{})}));
465
- //# sourceMappingURL=index-CW1BviRn.js.map