@object-ui/plugin-aggrid 3.1.3 → 3.1.4

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 (68) hide show
  1. package/.turbo/turbo-build.log +60 -91
  2. package/CHANGELOG.md +11 -0
  3. package/dist/AddressField-DKqaE9pD.js +93 -0
  4. package/dist/AgGridImpl-BD5cjyc0.js +226 -0
  5. package/dist/AutoNumberField-0RU2dNKe.js +13 -0
  6. package/dist/AvatarField-IZTLB0Ye.js +82 -0
  7. package/dist/BooleanField-DRzAZhSq.js +40 -0
  8. package/dist/CodeField-RWhnDMyL.js +22 -0
  9. package/dist/ColorField-B-YAFXdz.js +37 -0
  10. package/dist/CurrencyField-Bu80a-sI.js +51 -0
  11. package/dist/DateField-CV-NpLbM.js +21 -0
  12. package/dist/DateTimeField--YTsgTjw.js +32 -0
  13. package/dist/EmailField-B-3fWJsH.js +28 -0
  14. package/dist/FileField-DxxdESfc.js +160 -0
  15. package/dist/FormulaField-MQXJZOep.js +13 -0
  16. package/dist/GeolocationField-BzKgcWLN.js +156 -0
  17. package/dist/GridField-DHsGo9l2.js +51 -0
  18. package/dist/ImageField-DK7sUV6b.js +77 -0
  19. package/dist/LocationField-DSvhU9Dz.js +35 -0
  20. package/dist/LookupField-Dmzju5Q0.js +1033 -0
  21. package/dist/MasterDetailField-CPLHbe_Y.js +109 -0
  22. package/dist/NumberField-JaSlPVXs.js +26 -0
  23. package/dist/ObjectAgGridImpl-4uephlvO.js +19998 -0
  24. package/dist/ObjectField-FzUYlu-m.js +52 -0
  25. package/dist/PasswordField-d6E-vKBI.js +60 -0
  26. package/dist/PercentField-D2_kMuC_.js +63 -0
  27. package/dist/PhoneField-DOaMivd6.js +28 -0
  28. package/dist/QRCodeField-BIQhc73N.js +144 -0
  29. package/dist/RatingField-BKAGmlzh.js +42 -0
  30. package/dist/RichTextField-D4FIV9V8.js +32 -0
  31. package/dist/SelectField-C2gtlnLZ.js +30 -0
  32. package/dist/SignatureField-fFEb0h_C.js +98 -0
  33. package/dist/SliderField-BlAlK3g2.js +34 -0
  34. package/dist/SummaryField-Dy2Kkj6M.js +18 -0
  35. package/dist/TextAreaField-BCUkjKTc.js +36 -0
  36. package/dist/TextField-XWOnbUrk.js +29 -0
  37. package/dist/TimeField-CZdzdqOO.js +21 -0
  38. package/dist/UrlField-sq1mpRoG.js +33 -0
  39. package/dist/UserField-Dqk38Arc.js +79 -0
  40. package/dist/VectorField-CY70VLiW.js +35 -0
  41. package/dist/createLucideIcon-CWx7zIL1.js +39 -0
  42. package/dist/image-Cm7ExMY2.js +24 -0
  43. package/dist/index.css +2 -1
  44. package/dist/index.js +503 -8
  45. package/dist/index.umd.cjs +116 -112
  46. package/dist/jsx-runtime-CGDkM_Jn.js +189 -0
  47. package/dist/plus-CsEgF66K.js +10 -0
  48. package/dist/upload-B1x-ueFd.js +17 -0
  49. package/dist/x-Bwhzfvtg.js +10 -0
  50. package/package.json +9 -9
  51. package/dist/AddressField-CKC4ZJAb.js +0 -95
  52. package/dist/AgGridImpl-Da1-9kQm.js +0 -229
  53. package/dist/AutoNumberField-DUIGHfEs.js +0 -8
  54. package/dist/FileField-VTTCu1Mi.js +0 -144
  55. package/dist/FormulaField-Db3yTWbM.js +0 -9
  56. package/dist/GeolocationField-CEWtxddT.js +0 -141
  57. package/dist/GridField-Doeh0ghH.js +0 -29
  58. package/dist/LocationField-BF0sYg0h.js +0 -33
  59. package/dist/MasterDetailField-EG8aGKCm.js +0 -113
  60. package/dist/ObjectAgGridImpl-BQKWGygD.js +0 -28987
  61. package/dist/ObjectField-C63JFk2A.js +0 -51
  62. package/dist/QRCodeField-DnYB9SbX.js +0 -96
  63. package/dist/RichTextField-DJFKaCj6.js +0 -37
  64. package/dist/SignatureField-DdhPdmDm.js +0 -96
  65. package/dist/SummaryField-qwokC_TB.js +0 -9
  66. package/dist/UserField-BGSE0B99.js +0 -49
  67. package/dist/VectorField-MkcitfSl.js +0 -25
  68. package/dist/index-CTPRjgpn.js +0 -662
@@ -1,73 +1,77 @@
1
- (function(Sn,ie){typeof exports=="object"&&typeof module<"u"?ie(exports,require("react"),require("@object-ui/core"),require("@object-ui/components"),require("ag-grid-react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","@object-ui/core","@object-ui/components","ag-grid-react","react-dom"],ie):(Sn=typeof globalThis<"u"?globalThis:Sn||self,ie(Sn.ObjectUIPluginAgGrid={},Sn.React,Sn.ObjectUICore,Sn.ObjectUIComponents,Sn.AgGridReact,Sn.ReactDOM))})(this,(function(Sn,ie,yp,le,Eb,Ab){"use strict";var pp={exports:{}},rm={};var zb;function NT(){if(zb)return rm;zb=1;var m=Symbol.for("react.transitional.element"),j=Symbol.for("react.fragment");function Q(S,N,H){var q=null;if(H!==void 0&&(q=""+H),N.key!==void 0&&(q=""+N.key),"key"in N){H={};for(var D in N)D!=="key"&&(H[D]=N[D])}else H=N;return N=H.ref,{$$typeof:m,type:S,key:q,ref:N!==void 0?N:null,props:H}}return rm.Fragment=j,rm.jsx=Q,rm.jsxs=Q,rm}var dm={};var Ob;function RT(){return Ob||(Ob=1,process.env.NODE_ENV!=="production"&&(function(){function m(J){if(J==null)return null;if(typeof J=="function")return J.$$typeof===lt?null:J.displayName||J.name||null;if(typeof J=="string")return J;switch(J){case Qe:return"Fragment";case We:return"Profiler";case xe:return"StrictMode";case me:return"Suspense";case Ee:return"SuspenseList";case ce:return"Activity"}if(typeof J=="object")switch(typeof J.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),J.$$typeof){case Te:return"Portal";case Ge:return J.displayName||"Context";case ft:return(J._context.displayName||"Context")+".Consumer";case ut:var de=J.render;return J=J.displayName,J||(J=de.displayName||de.name||"",J=J!==""?"ForwardRef("+J+")":"ForwardRef"),J;case pe:return de=J.displayName||null,de!==null?de:m(J.type)||"Memo";case Ce:de=J._payload,J=J._init;try{return m(J(de))}catch{}}return null}function j(J){return""+J}function Q(J){try{j(J);var de=!1}catch{de=!0}if(de){de=console;var ye=de.error,ae=typeof Symbol=="function"&&Symbol.toStringTag&&J[Symbol.toStringTag]||J.constructor.name||"Object";return ye.call(de,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ae),j(J)}}function S(J){if(J===Qe)return"<>";if(typeof J=="object"&&J!==null&&J.$$typeof===Ce)return"<...>";try{var de=m(J);return de?"<"+de+">":"<...>"}catch{return"<...>"}}function N(){var J=Re.A;return J===null?null:J.getOwner()}function H(){return Error("react-stack-top-frame")}function q(J){if(De.call(J,"key")){var de=Object.getOwnPropertyDescriptor(J,"key").get;if(de&&de.isReactWarning)return!1}return J.key!==void 0}function D(J,de){function ye(){C||(C=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",de))}ye.isReactWarning=!0,Object.defineProperty(J,"key",{get:ye,configurable:!0})}function L(){var J=m(this.type);return K[J]||(K[J]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),J=this.props.ref,J!==void 0?J:null}function te(J,de,ye,ae,Oe,yl){var Ke=ye.ref;return J={$$typeof:se,type:J,key:de,props:ye,_owner:ae},(Ke!==void 0?Ke:null)!==null?Object.defineProperty(J,"ref",{enumerable:!1,get:L}):Object.defineProperty(J,"ref",{enumerable:!1,value:null}),J._store={},Object.defineProperty(J._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(J,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(J,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Oe}),Object.defineProperty(J,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:yl}),Object.freeze&&(Object.freeze(J.props),Object.freeze(J)),J}function re(J,de,ye,ae,Oe,yl){var Ke=de.children;if(Ke!==void 0)if(ae)if(Ut(Ke)){for(ae=0;ae<Ke.length;ae++)k(Ke[ae]);Object.freeze&&Object.freeze(Ke)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else k(Ke);if(De.call(de,"key")){Ke=m(J);var Se=Object.keys(de).filter(function(cl){return cl!=="key"});ae=0<Se.length?"{key: someKey, "+Se.join(": ..., ")+": ...}":"{key: someKey}",ge[Ke+ae]||(Se=0<Se.length?"{"+Se.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
1
+ (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require(`react`),require(`@object-ui/core`),require(`@object-ui/components`),require(`ag-grid-react`),require(`@object-ui/react`)):typeof define==`function`&&define.amd?define([`exports`,`react`,`@object-ui/core`,`@object-ui/components`,`ag-grid-react`,`@object-ui/react`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.ObjectUIPluginAgGrid={},e.React,e.ObjectUICore,e.ObjectUIComponents,e.AgGridReact,e.ObjectUIReact))})(this,function(e,t,n,r,i,a){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var o=Object.create,s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,u=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,f=(e,t)=>()=>(e&&(t=e(e=0)),t),p=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),m=(e,t)=>{let n={};for(var r in e)s(n,r,{get:e[r],enumerable:!0});return t||s(n,Symbol.toStringTag,{value:`Module`}),n},h=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=l(t),a=0,o=i.length,u;a<o;a++)u=i[a],!d.call(e,u)&&u!==n&&s(e,u,{get:(e=>t[e]).bind(null,u),enumerable:!(r=c(t,u))||r.enumerable});return e};t=((e,t,n)=>(n=e==null?{}:o(u(e)),h(t||!e||!e.__esModule?s(n,`default`,{value:e,enumerable:!0}):n,e)))(t);var g=p((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),_=p((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===w?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case _:return`Fragment`;case y:return`Profiler`;case v:return`StrictMode`;case S:return`Suspense`;case te:return`SuspenseList`;case re:return`Activity`}if(typeof e==`object`)switch(typeof e.tag==`number`&&console.error(`Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`),e.$$typeof){case g:return`Portal`;case x:return e.displayName||`Context`;case b:return(e._context.displayName||`Context`)+`.Consumer`;case ee:var n=e.render;return e=e.displayName,e||=(e=n.displayName||n.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case C:return n=e.displayName||null,n===null?t(e.type)||`Memo`:n;case ne:n=e._payload,e=e._init;try{return t(e(n))}catch{}}return null}function n(e){return``+e}function r(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var r=t.error,i=typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`;return r.call(t,`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,i),n(e)}}function i(e){if(e===_)return`<>`;if(typeof e==`object`&&e&&e.$$typeof===ne)return`<...>`;try{var n=t(e);return n?`<`+n+`>`:`<...>`}catch{return`<...>`}}function a(){var e=ie.A;return e===null?null:e.getOwner()}function o(){return Error(`react-stack-top-frame`)}function s(e){if(T.call(e,`key`)){var t=Object.getOwnPropertyDescriptor(e,`key`).get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function c(e,t){function n(){oe||(oe=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,`key`,{get:n,configurable:!0})}function l(){var e=t(this.type);return D[e]||(D[e]=!0,console.error(`Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.`)),e=this.props.ref,e===void 0?null:e}function u(e,t,n,r,i,a){var o=n.ref;return e={$$typeof:h,type:e,key:t,props:n,_owner:r},(o===void 0?null:o)===null?Object.defineProperty(e,`ref`,{enumerable:!1,value:null}):Object.defineProperty(e,`ref`,{enumerable:!1,get:l}),e._store={},Object.defineProperty(e._store,`validated`,{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,`_debugInfo`,{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,`_debugStack`,{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.defineProperty(e,`_debugTask`,{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function d(e,n,i,o,l,d){var p=n.children;if(p!==void 0)if(o)if(E(p)){for(o=0;o<p.length;o++)f(p[o]);Object.freeze&&Object.freeze(p)}else console.error(`React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.`);else f(p);if(T.call(n,`key`)){p=t(e);var m=Object.keys(n).filter(function(e){return e!==`key`});o=0<m.length?`{key: someKey, `+m.join(`: ..., `)+`: ...}`:`{key: someKey}`,ce[p+o]||(m=0<m.length?`{`+m.join(`: ..., `)+`: ...}`:`{}`,console.error(`A props object containing a "key" prop is being spread into JSX:
2
2
  let props = %s;
3
3
  <%s {...props} />
4
4
  React keys must be passed directly to JSX without using spread:
5
5
  let props = %s;
6
- <%s key={someKey} {...props} />`,ae,Ke,Se,Ke),ge[Ke+ae]=!0)}if(Ke=null,ye!==void 0&&(Q(ye),Ke=""+ye),q(de)&&(Q(de.key),Ke=""+de.key),"key"in de){ye={};for(var He in de)He!=="key"&&(ye[He]=de[He])}else ye=de;return Ke&&D(ye,typeof J=="function"?J.displayName||J.name||"Unknown":J),te(J,Ke,ye,N(),Oe,yl)}function k(J){Z(J)?J._store&&(J._store.validated=1):typeof J=="object"&&J!==null&&J.$$typeof===Ce&&(J._payload.status==="fulfilled"?Z(J._payload.value)&&J._payload.value._store&&(J._payload.value._store.validated=1):J._store&&(J._store.validated=1))}function Z(J){return typeof J=="object"&&J!==null&&J.$$typeof===se}var ue=ie,se=Symbol.for("react.transitional.element"),Te=Symbol.for("react.portal"),Qe=Symbol.for("react.fragment"),xe=Symbol.for("react.strict_mode"),We=Symbol.for("react.profiler"),ft=Symbol.for("react.consumer"),Ge=Symbol.for("react.context"),ut=Symbol.for("react.forward_ref"),me=Symbol.for("react.suspense"),Ee=Symbol.for("react.suspense_list"),pe=Symbol.for("react.memo"),Ce=Symbol.for("react.lazy"),ce=Symbol.for("react.activity"),lt=Symbol.for("react.client.reference"),Re=ue.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,De=Object.prototype.hasOwnProperty,Ut=Array.isArray,Xt=console.createTask?console.createTask:function(){return null};ue={react_stack_bottom_frame:function(J){return J()}};var C,K={},ne=ue.react_stack_bottom_frame.bind(ue,H)(),be=Xt(S(H)),ge={};dm.Fragment=Qe,dm.jsx=function(J,de,ye){var ae=1e4>Re.recentlyCreatedOwnerStacks++;return re(J,de,ye,!1,ae?Error("react-stack-top-frame"):ne,ae?Xt(S(J)):be)},dm.jsxs=function(J,de,ye){var ae=1e4>Re.recentlyCreatedOwnerStacks++;return re(J,de,ye,!0,ae?Error("react-stack-top-frame"):ne,ae?Xt(S(J)):be)}})()),dm}var Db;function UT(){return Db||(Db=1,process.env.NODE_ENV==="production"?pp.exports=NT():pp.exports=RT()),pp.exports}var b=UT();const HT=ie.lazy(()=>Promise.resolve().then(()=>GT)),BT=ie.lazy(()=>Promise.resolve().then(()=>yE)),Lv=({schema:m})=>b.jsx(ie.Suspense,{fallback:b.jsx(le.Skeleton,{className:"w-full h-[500px]"}),children:b.jsx(HT,{rowData:m.rowData,columnDefs:m.columnDefs,gridOptions:m.gridOptions,pagination:m.pagination,paginationPageSize:m.paginationPageSize,domLayout:m.domLayout,animateRows:m.animateRows,rowSelection:m.rowSelection,theme:m.theme,height:m.height,className:m.className,editable:m.editable,editType:m.editType,singleClickEdit:m.singleClickEdit,stopEditingWhenCellsLoseFocus:m.stopEditingWhenCellsLoseFocus,exportConfig:m.exportConfig,statusBar:m.statusBar,callbacks:m.callbacks,columnConfig:m.columnConfig,enableRangeSelection:m.enableRangeSelection,enableCharts:m.enableCharts,contextMenu:m.contextMenu,treeData:m.treeData,rowGrouping:m.rowGrouping,excelExport:m.excelExport})});yp.ComponentRegistry.register("aggrid",Lv,{namespace:"plugin-aggrid",label:"AG Grid",icon:"Table",category:"plugin",inputs:[{name:"rowData",type:"array",label:"Row Data",description:"Array of objects to display in the grid",required:!0},{name:"columnDefs",type:"array",label:"Column Definitions",description:"Array of column definitions",required:!0},{name:"pagination",type:"boolean",label:"Enable Pagination",defaultValue:!1},{name:"paginationPageSize",type:"number",label:"Page Size",defaultValue:10,description:"Number of rows per page when pagination is enabled"},{name:"theme",type:"enum",label:"Theme",enum:[{label:"Quartz",value:"quartz"},{label:"Alpine",value:"alpine"},{label:"Balham",value:"balham"},{label:"Material",value:"material"}],defaultValue:"quartz"},{name:"rowSelection",type:"enum",label:"Row Selection",enum:[{label:"None",value:void 0},{label:"Single",value:"single"},{label:"Multiple",value:"multiple"}],defaultValue:void 0,advanced:!0},{name:"domLayout",type:"enum",label:"DOM Layout",enum:[{label:"Normal",value:"normal"},{label:"Auto Height",value:"autoHeight"},{label:"Print",value:"print"}],defaultValue:"normal",advanced:!0},{name:"animateRows",type:"boolean",label:"Animate Rows",defaultValue:!0,advanced:!0},{name:"height",type:"number",label:"Height (px)",defaultValue:500},{name:"editable",type:"boolean",label:"Enable Editing",defaultValue:!1,description:"Allow cells to be edited inline",advanced:!0},{name:"singleClickEdit",type:"boolean",label:"Single Click Edit",defaultValue:!1,description:"Start editing on single click instead of double click",advanced:!0},{name:"exportConfig",type:"code",label:"Export Config (JSON)",description:'Configure CSV export: { enabled: true, fileName: "data.csv" }',advanced:!0},{name:"statusBar",type:"code",label:"Status Bar Config (JSON)",description:'Configure status bar: { enabled: true, aggregations: ["count", "sum", "avg"] }',advanced:!0},{name:"callbacks",type:"code",label:"Event Callbacks (JSON)",description:"Event handlers for cell clicks, selection changes, etc.",advanced:!0},{name:"columnConfig",type:"code",label:"Column Config (JSON)",description:"Global column settings: { resizable: true, sortable: true, filterable: true }",advanced:!0},{name:"enableRangeSelection",type:"boolean",label:"Enable Range Selection",defaultValue:!1,description:"Allow selecting ranges of cells (like Excel)",advanced:!0},{name:"enableCharts",type:"boolean",label:"Enable Charts",defaultValue:!1,description:"Enable integrated charting (requires AG Grid Enterprise)",advanced:!0},{name:"contextMenu",type:"code",label:"Context Menu Config (JSON)",description:'Configure right-click menu: { enabled: true, items: ["copy", "export"] }',advanced:!0},{name:"treeData",type:"code",label:"Tree Data Config (JSON)",description:'Configure tree data: { enabled: true, pathField: "orgHierarchy" }',advanced:!0},{name:"rowGrouping",type:"code",label:"Row Grouping Config (JSON)",description:'Configure row grouping: { enabled: true, groupByFields: ["category"] }',advanced:!0},{name:"excelExport",type:"code",label:"Excel Export Config (JSON)",description:'Configure Excel export: { enabled: true, fileName: "data.xlsx" }',advanced:!0},{name:"gridOptions",type:"code",label:"Grid Options (JSON)",description:"Advanced AG Grid options",advanced:!0},{name:"className",type:"string",label:"CSS Class"}],defaultProps:{rowData:[{make:"Tesla",model:"Model Y",price:64950,electric:!0},{make:"Ford",model:"F-Series",price:33850,electric:!1},{make:"Toyota",model:"Corolla",price:29600,electric:!1},{make:"Mercedes",model:"EQA",price:48890,electric:!0},{make:"Fiat",model:"500",price:15774,electric:!1},{make:"Nissan",model:"Juke",price:20675,electric:!1},{make:"Vauxhall",model:"Corsa",price:18460,electric:!1},{make:"Volvo",model:"XC90",price:72835,electric:!1},{make:"Mercedes",model:"GLA",price:47825,electric:!1},{make:"Ford",model:"Puma",price:27420,electric:!1},{make:"Volkswagen",model:"Golf",price:28850,electric:!1},{make:"Kia",model:"Sportage",price:31095,electric:!1}],columnDefs:[{field:"make",headerName:"Make",sortable:!0,filter:!0},{field:"model",headerName:"Model",sortable:!0,filter:!0},{field:"price",headerName:"Price",sortable:!0,filter:"number",valueFormatter:m=>m.value!=null?"$"+m.value.toLocaleString():""},{field:"electric",headerName:"Electric",sortable:!0,filter:!0,cellRenderer:m=>m.value===!0?"⚡ Yes":"No"}],pagination:!0,paginationPageSize:10,theme:"quartz",height:500,animateRows:!0,domLayout:"normal"}});const Zv=({schema:m})=>b.jsx(ie.Suspense,{fallback:b.jsx(le.Skeleton,{className:"w-full h-[500px]"}),children:b.jsx(BT,{objectName:m.objectName,dataSource:m.dataSource,fields:m.fields,fieldNames:m.fieldNames,filters:m.filters,sort:m.sort,pageSize:m.pageSize,pagination:m.pagination,domLayout:m.domLayout,animateRows:m.animateRows,rowSelection:m.rowSelection,theme:m.theme,height:m.height,className:m.className,editable:m.editable,editType:m.editType,singleClickEdit:m.singleClickEdit,stopEditingWhenCellsLoseFocus:m.stopEditingWhenCellsLoseFocus,exportConfig:m.exportConfig,statusBar:m.statusBar,callbacks:m.callbacks,columnConfig:m.columnConfig,enableRangeSelection:m.enableRangeSelection,enableCharts:m.enableCharts,contextMenu:m.contextMenu})}),qT={aggrid:Lv,"object-aggrid":Zv};yp.ComponentRegistry.register("object-aggrid",Zv,{namespace:"plugin-aggrid",label:"Object AG Grid",icon:"Table",category:"view",inputs:[{name:"objectName",type:"string",label:"Object Name",description:"Name of the object to fetch metadata and data from",required:!0},{name:"dataSource",type:"object",label:"Data Source",description:"ObjectStack data source adapter instance",required:!0},{name:"fieldNames",type:"array",label:"Field Names",description:"Optional: Specify which fields to show (defaults to all fields)"},{name:"filters",type:"object",label:"Filters",description:"Query filters to apply to the data"},{name:"sort",type:"object",label:"Sort",description:'Sorting configuration: { fieldName: "asc" | "desc" }'},{name:"pagination",type:"boolean",label:"Enable Pagination",defaultValue:!0},{name:"pageSize",type:"number",label:"Page Size",defaultValue:10,description:"Number of rows per page"},{name:"theme",type:"enum",label:"Theme",enum:[{label:"Quartz",value:"quartz"},{label:"Alpine",value:"alpine"},{label:"Balham",value:"balham"},{label:"Material",value:"material"}],defaultValue:"quartz"},{name:"height",type:"number",label:"Height (px)",defaultValue:500},{name:"editable",type:"boolean",label:"Enable Editing",defaultValue:!1,description:"Allow cells to be edited inline",advanced:!0},{name:"exportConfig",type:"code",label:"Export Config (JSON)",description:'Configure CSV export: { enabled: true, fileName: "data.csv" }',advanced:!0},{name:"columnConfig",type:"code",label:"Column Config (JSON)",description:"Global column settings: { resizable: true, sortable: true, filterable: true }",advanced:!0},{name:"className",type:"string",label:"CSS Class"}]});function YT({rowData:m=[],columnDefs:j=[],gridOptions:Q={},pagination:S=!1,paginationPageSize:N=10,domLayout:H="normal",animateRows:q=!0,rowSelection:D,theme:L="quartz",height:te=500,className:re="",editable:k=!1,editType:Z,singleClickEdit:ue=!1,stopEditingWhenCellsLoseFocus:se=!0,exportConfig:Te,statusBar:Qe,callbacks:xe,columnConfig:We,enableRangeSelection:ft=!1,enableCharts:Ge=!1,contextMenu:ut,treeData:me,rowGrouping:Ee,excelExport:pe}){const Ce=ie.useRef(null),ce=ie.useMemo(()=>{if(!Qe?.enabled)return;const ae=Qe.aggregations||["count","sum","avg"],Oe=[];return ae.includes("count")&&Oe.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["count"]}}),ae.includes("sum")&&Oe.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["sum"]}}),ae.includes("avg")&&Oe.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["avg"]}}),ae.includes("min")&&Oe.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["min"]}}),ae.includes("max")&&Oe.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["max"]}}),Oe},[Qe]),lt=ie.useCallback(()=>{if(!Ce.current?.api)return;const ae={fileName:Te?.fileName||"export.csv",skipColumnHeaders:Te?.skipColumnHeaders||!1,allColumns:Te?.allColumns||!1,onlySelected:Te?.onlySelected||!1};if(Ce.current.api.exportDataAsCsv(ae),xe?.onExport){const Oe=Te?.onlySelected?Ce.current.api.getSelectedRows():m;xe.onExport(Oe||[],"csv")}},[Te,xe,m]),Re=ie.useCallback(()=>{if(!Ce.current?.api)return;const ae=pe?.fileName||Te?.fileName||"export.csv",Oe=pe?.includeHeaders!==!1,yl={fileName:ae,skipColumnHeaders:!Oe,allColumns:!0,onlySelected:pe?.onlySelected||!1};if(Ce.current.api.exportDataAsCsv(yl),xe?.onExport){const Ke=pe?.onlySelected?Ce.current.api.getSelectedRows():m;xe.onExport(Ke||[],"excel")}},[pe,Te,xe,m]),De=ie.useCallback(ae=>{if(!ut?.enabled)return[];const Oe=[];return(ut.items||["copy","copyWithHeaders","separator","export"]).forEach(Ke=>{Ke==="export"?Oe.push({name:"Export CSV",icon:"<span>📥</span>",action:()=>lt()}):Ke==="export-excel"?Oe.push({name:"Export Excel (CSV)",icon:"<span>📊</span>",action:()=>Re()}):Ke==="autoSizeAll"?Oe.push({name:"Auto-size All Columns",action:()=>{Ce.current?.api&&Ce.current.api.autoSizeAllColumns()}}):Ke==="resetColumns"?Oe.push({name:"Reset Columns",action:()=>{Ce.current?.api&&Ce.current.api.resetColumnState()}}):Oe.push(Ke)}),ut.customItems&&(Oe.length>0&&Oe.push("separator"),ut.customItems.forEach(Ke=>{Oe.push({name:Ke.name,disabled:Ke.disabled,action:()=>{xe?.onContextMenuAction&&xe.onContextMenuAction(Ke.action,ae.node?.data)}})})),Oe},[ut,lt,Re,xe]),Ut=ie.useCallback(ae=>{xe?.onCellClicked?.(ae)},[xe]),Xt=ie.useCallback(ae=>{xe?.onRowClicked?.(ae)},[xe]),C=ie.useCallback(ae=>{xe?.onSelectionChanged?.(ae)},[xe]),K=ie.useCallback(ae=>{xe?.onCellValueChanged?.(ae)},[xe]),ne=ie.useCallback(ae=>{Ce.current=ae},[]),be=ie.useMemo(()=>j?j.map(ae=>{const Oe={...ae};return k&&ae.editable!==!1&&(Oe.editable=!0),We&&(We.resizable!==void 0&&ae.resizable===void 0&&(Oe.resizable=We.resizable),We.sortable!==void 0&&ae.sortable===void 0&&(Oe.sortable=We.sortable),We.filterable!==void 0&&ae.filter===void 0&&(Oe.filter=We.filterable)),Ee?.enabled&&Ee.groupByFields?.includes(ae.field||"")&&(Oe.rowGroup=!0,Oe.hide=!0),Ee?.aggregations&&ae.field&&Ee.aggregations[ae.field]&&(Oe.aggFunc=Ee.aggregations[ae.field]),Oe}):[],[j,k,We,Ee]),ge=ie.useMemo(()=>({...Q,pagination:S,paginationPageSize:N,domLayout:H,animateRows:q,rowSelection:D,editType:Z,singleClickEdit:ue,stopEditingWhenCellsLoseFocus:se,statusBar:ce?{statusPanels:ce}:void 0,enableRangeSelection:ft,enableCharts:Ge,getContextMenuItems:ut?.enabled?De:void 0,...me?.enabled?{treeData:!0,getDataPath:me.pathField?ae=>ae[me.pathField]:void 0,autoGroupColumnDef:{headerName:"Hierarchy",minWidth:250,cellRendererParams:{suppressCount:!1}},groupDefaultExpanded:me.expandAll?-1:me.expandDepth??0}:{},...Ee?.enabled?{groupDefaultExpanded:Ee.groupByFields?.length?1:0,autoGroupColumnDef:{minWidth:200,cellRendererParams:{suppressCount:!Ee.showRowCount}}}:{},suppressCellFocus:!k,enableCellTextSelection:!0,ensureDomOrder:!0,rowBuffer:Q.rowBuffer??10,debounceVerticalScrollbar:Q.debounceVerticalScrollbar??m.length>1e3,onCellClicked:Ut,onRowClicked:Xt,onSelectionChanged:C,onCellValueChanged:K,onGridReady:ne}),[Q,S,N,H,q,D,Z,ue,se,ce,ft,Ge,ut,De,me,Ee,k,m.length,Ut,Xt,C,K,ne]),J=ie.useMemo(()=>({height:typeof te=="number"?`${te}px`:te,width:"100%"}),[te]),ye=[`ag-theme-${L}`,"rounded-xl","border","border-border","overflow-hidden","shadow-lg",re].filter(Boolean).join(" ");return b.jsxs("div",{className:"ag-grid-container",children:[(Te?.enabled||pe?.enabled)&&b.jsxs("div",{className:"mb-2 flex gap-2",children:[Te?.enabled&&b.jsx("button",{onClick:lt,className:"px-3 py-1.5 text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 rounded-md transition-colors",children:"Export CSV"}),pe?.enabled&&b.jsx("button",{onClick:Re,className:"px-3 py-1.5 text-sm font-medium text-white bg-green-600 hover:bg-green-700 rounded-md transition-colors",children:"Export Excel (CSV)"})]}),b.jsx("div",{className:ye,style:J,children:b.jsx(Eb.AgGridReact,{ref:Ce,rowData:m,columnDefs:be,gridOptions:ge})})]})}const GT=Object.freeze(Object.defineProperty({__proto__:null,default:YT},Symbol.toStringTag,{value:"Module"})),wT={text:"agTextColumnFilter",textarea:"agTextColumnFilter",number:"agNumberColumnFilter",currency:"agNumberColumnFilter",percent:"agNumberColumnFilter",boolean:"agSetColumnFilter",date:"agDateColumnFilter",datetime:"agDateColumnFilter",time:"agTextColumnFilter",email:"agTextColumnFilter",phone:"agTextColumnFilter",url:"agTextColumnFilter",select:"agSetColumnFilter"};var gp={exports:{}},hm={},vp={exports:{}},Jv={};var Cb;function VT(){return Cb||(Cb=1,(function(m){function j(C,K){var ne=C.length;C.push(K);e:for(;0<ne;){var be=ne-1>>>1,ge=C[be];if(0<N(ge,K))C[be]=K,C[ne]=ge,ne=be;else break e}}function Q(C){return C.length===0?null:C[0]}function S(C){if(C.length===0)return null;var K=C[0],ne=C.pop();if(ne!==K){C[0]=ne;e:for(var be=0,ge=C.length,J=ge>>>1;be<J;){var de=2*(be+1)-1,ye=C[de],ae=de+1,Oe=C[ae];if(0>N(ye,ne))ae<ge&&0>N(Oe,ye)?(C[be]=Oe,C[ae]=ne,be=ae):(C[be]=ye,C[de]=ne,be=de);else if(ae<ge&&0>N(Oe,ne))C[be]=Oe,C[ae]=ne,be=ae;else break e}}return K}function N(C,K){var ne=C.sortIndex-K.sortIndex;return ne!==0?ne:C.id-K.id}if(m.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var H=performance;m.unstable_now=function(){return H.now()}}else{var q=Date,D=q.now();m.unstable_now=function(){return q.now()-D}}var L=[],te=[],re=1,k=null,Z=3,ue=!1,se=!1,Te=!1,Qe=!1,xe=typeof setTimeout=="function"?setTimeout:null,We=typeof clearTimeout=="function"?clearTimeout:null,ft=typeof setImmediate<"u"?setImmediate:null;function Ge(C){for(var K=Q(te);K!==null;){if(K.callback===null)S(te);else if(K.startTime<=C)S(te),K.sortIndex=K.expirationTime,j(L,K);else break;K=Q(te)}}function ut(C){if(Te=!1,Ge(C),!se)if(Q(L)!==null)se=!0,me||(me=!0,Re());else{var K=Q(te);K!==null&&Xt(ut,K.startTime-C)}}var me=!1,Ee=-1,pe=5,Ce=-1;function ce(){return Qe?!0:!(m.unstable_now()-Ce<pe)}function lt(){if(Qe=!1,me){var C=m.unstable_now();Ce=C;var K=!0;try{e:{se=!1,Te&&(Te=!1,We(Ee),Ee=-1),ue=!0;var ne=Z;try{t:{for(Ge(C),k=Q(L);k!==null&&!(k.expirationTime>C&&ce());){var be=k.callback;if(typeof be=="function"){k.callback=null,Z=k.priorityLevel;var ge=be(k.expirationTime<=C);if(C=m.unstable_now(),typeof ge=="function"){k.callback=ge,Ge(C),K=!0;break t}k===Q(L)&&S(L),Ge(C)}else S(L);k=Q(L)}if(k!==null)K=!0;else{var J=Q(te);J!==null&&Xt(ut,J.startTime-C),K=!1}}break e}finally{k=null,Z=ne,ue=!1}K=void 0}}finally{K?Re():me=!1}}}var Re;if(typeof ft=="function")Re=function(){ft(lt)};else if(typeof MessageChannel<"u"){var De=new MessageChannel,Ut=De.port2;De.port1.onmessage=lt,Re=function(){Ut.postMessage(null)}}else Re=function(){xe(lt,0)};function Xt(C,K){Ee=xe(function(){C(m.unstable_now())},K)}m.unstable_IdlePriority=5,m.unstable_ImmediatePriority=1,m.unstable_LowPriority=4,m.unstable_NormalPriority=3,m.unstable_Profiling=null,m.unstable_UserBlockingPriority=2,m.unstable_cancelCallback=function(C){C.callback=null},m.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):pe=0<C?Math.floor(1e3/C):5},m.unstable_getCurrentPriorityLevel=function(){return Z},m.unstable_next=function(C){switch(Z){case 1:case 2:case 3:var K=3;break;default:K=Z}var ne=Z;Z=K;try{return C()}finally{Z=ne}},m.unstable_requestPaint=function(){Qe=!0},m.unstable_runWithPriority=function(C,K){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var ne=Z;Z=C;try{return K()}finally{Z=ne}},m.unstable_scheduleCallback=function(C,K,ne){var be=m.unstable_now();switch(typeof ne=="object"&&ne!==null?(ne=ne.delay,ne=typeof ne=="number"&&0<ne?be+ne:be):ne=be,C){case 1:var ge=-1;break;case 2:ge=250;break;case 5:ge=1073741823;break;case 4:ge=1e4;break;default:ge=5e3}return ge=ne+ge,C={id:re++,callback:K,priorityLevel:C,startTime:ne,expirationTime:ge,sortIndex:-1},ne>be?(C.sortIndex=ne,j(te,C),Q(L)===null&&C===Q(te)&&(Te?(We(Ee),Ee=-1):Te=!0,Xt(ut,ne-be))):(C.sortIndex=ge,j(L,C),se||ue||(se=!0,me||(me=!0,Re()))),C},m.unstable_shouldYield=ce,m.unstable_wrapCallback=function(C){var K=Z;return function(){var ne=Z;Z=K;try{return C.apply(this,arguments)}finally{Z=ne}}}})(Jv)),Jv}var Kv={};var Mb;function XT(){return Mb||(Mb=1,(function(m){process.env.NODE_ENV!=="production"&&(function(){function j(){if(ut=!1,Ce){var C=m.unstable_now();Re=C;var K=!0;try{e:{ft=!1,Ge&&(Ge=!1,Ee(ce),ce=-1),We=!0;var ne=xe;try{t:{for(q(C),Qe=S(ue);Qe!==null&&!(Qe.expirationTime>C&&L());){var be=Qe.callback;if(typeof be=="function"){Qe.callback=null,xe=Qe.priorityLevel;var ge=be(Qe.expirationTime<=C);if(C=m.unstable_now(),typeof ge=="function"){Qe.callback=ge,q(C),K=!0;break t}Qe===S(ue)&&N(ue),q(C)}else N(ue);Qe=S(ue)}if(Qe!==null)K=!0;else{var J=S(se);J!==null&&te(D,J.startTime-C),K=!1}}break e}finally{Qe=null,xe=ne,We=!1}K=void 0}}finally{K?De():Ce=!1}}}function Q(C,K){var ne=C.length;C.push(K);e:for(;0<ne;){var be=ne-1>>>1,ge=C[be];if(0<H(ge,K))C[be]=K,C[ne]=ge,ne=be;else break e}}function S(C){return C.length===0?null:C[0]}function N(C){if(C.length===0)return null;var K=C[0],ne=C.pop();if(ne!==K){C[0]=ne;e:for(var be=0,ge=C.length,J=ge>>>1;be<J;){var de=2*(be+1)-1,ye=C[de],ae=de+1,Oe=C[ae];if(0>H(ye,ne))ae<ge&&0>H(Oe,ye)?(C[be]=Oe,C[ae]=ne,be=ae):(C[be]=ye,C[de]=ne,be=de);else if(ae<ge&&0>H(Oe,ne))C[be]=Oe,C[ae]=ne,be=ae;else break e}}return K}function H(C,K){var ne=C.sortIndex-K.sortIndex;return ne!==0?ne:C.id-K.id}function q(C){for(var K=S(se);K!==null;){if(K.callback===null)N(se);else if(K.startTime<=C)N(se),K.sortIndex=K.expirationTime,Q(ue,K);else break;K=S(se)}}function D(C){if(Ge=!1,q(C),!ft)if(S(ue)!==null)ft=!0,Ce||(Ce=!0,De());else{var K=S(se);K!==null&&te(D,K.startTime-C)}}function L(){return ut?!0:!(m.unstable_now()-Re<lt)}function te(C,K){ce=me(function(){C(m.unstable_now())},K)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),m.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var re=performance;m.unstable_now=function(){return re.now()}}else{var k=Date,Z=k.now();m.unstable_now=function(){return k.now()-Z}}var ue=[],se=[],Te=1,Qe=null,xe=3,We=!1,ft=!1,Ge=!1,ut=!1,me=typeof setTimeout=="function"?setTimeout:null,Ee=typeof clearTimeout=="function"?clearTimeout:null,pe=typeof setImmediate<"u"?setImmediate:null,Ce=!1,ce=-1,lt=5,Re=-1;if(typeof pe=="function")var De=function(){pe(j)};else if(typeof MessageChannel<"u"){var Ut=new MessageChannel,Xt=Ut.port2;Ut.port1.onmessage=j,De=function(){Xt.postMessage(null)}}else De=function(){me(j,0)};m.unstable_IdlePriority=5,m.unstable_ImmediatePriority=1,m.unstable_LowPriority=4,m.unstable_NormalPriority=3,m.unstable_Profiling=null,m.unstable_UserBlockingPriority=2,m.unstable_cancelCallback=function(C){C.callback=null},m.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):lt=0<C?Math.floor(1e3/C):5},m.unstable_getCurrentPriorityLevel=function(){return xe},m.unstable_next=function(C){switch(xe){case 1:case 2:case 3:var K=3;break;default:K=xe}var ne=xe;xe=K;try{return C()}finally{xe=ne}},m.unstable_requestPaint=function(){ut=!0},m.unstable_runWithPriority=function(C,K){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var ne=xe;xe=C;try{return K()}finally{xe=ne}},m.unstable_scheduleCallback=function(C,K,ne){var be=m.unstable_now();switch(typeof ne=="object"&&ne!==null?(ne=ne.delay,ne=typeof ne=="number"&&0<ne?be+ne:be):ne=be,C){case 1:var ge=-1;break;case 2:ge=250;break;case 5:ge=1073741823;break;case 4:ge=1e4;break;default:ge=5e3}return ge=ne+ge,C={id:Te++,callback:K,priorityLevel:C,startTime:ne,expirationTime:ge,sortIndex:-1},ne>be?(C.sortIndex=ne,Q(se,C),S(ue)===null&&C===S(se)&&(Ge?(Ee(ce),ce=-1):Ge=!0,te(D,ne-be))):(C.sortIndex=ge,Q(ue,C),ft||We||(ft=!0,Ce||(Ce=!0,De()))),C},m.unstable_shouldYield=L,m.unstable_wrapCallback=function(C){var K=xe;return function(){var ne=xe;xe=K;try{return C.apply(this,arguments)}finally{xe=ne}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Kv)),Kv}var _b;function jb(){return _b||(_b=1,process.env.NODE_ENV==="production"?vp.exports=VT():vp.exports=XT()),vp.exports}var Nb;function QT(){if(Nb)return hm;Nb=1;var m=jb(),j=ie,Q=Ab;function S(l){var n="https://react.dev/errors/"+l;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)n+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+l+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function N(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function H(l){var n=l,u=l;if(l.alternate)for(;n.return;)n=n.return;else{l=n;do n=l,(n.flags&4098)!==0&&(u=n.return),l=n.return;while(l)}return n.tag===3?u:null}function q(l){if(l.tag===13){var n=l.memoizedState;if(n===null&&(l=l.alternate,l!==null&&(n=l.memoizedState)),n!==null)return n.dehydrated}return null}function D(l){if(l.tag===31){var n=l.memoizedState;if(n===null&&(l=l.alternate,l!==null&&(n=l.memoizedState)),n!==null)return n.dehydrated}return null}function L(l){if(H(l)!==l)throw Error(S(188))}function te(l){var n=l.alternate;if(!n){if(n=H(l),n===null)throw Error(S(188));return n!==l?null:l}for(var u=l,c=n;;){var f=u.return;if(f===null)break;var r=f.alternate;if(r===null){if(c=f.return,c!==null){u=c;continue}break}if(f.child===r.child){for(r=f.child;r;){if(r===u)return L(f),l;if(r===c)return L(f),n;r=r.sibling}throw Error(S(188))}if(u.return!==c.return)u=f,c=r;else{for(var y=!1,v=f.child;v;){if(v===u){y=!0,u=f,c=r;break}if(v===c){y=!0,c=f,u=r;break}v=v.sibling}if(!y){for(v=r.child;v;){if(v===u){y=!0,u=r,c=f;break}if(v===c){y=!0,c=r,u=f;break}v=v.sibling}if(!y)throw Error(S(189))}}if(u.alternate!==c)throw Error(S(190))}if(u.tag!==3)throw Error(S(188));return u.stateNode.current===u?l:n}function re(l){var n=l.tag;if(n===5||n===26||n===27||n===6)return l;for(l=l.child;l!==null;){if(n=re(l),n!==null)return n;l=l.sibling}return null}var k=Object.assign,Z=Symbol.for("react.element"),ue=Symbol.for("react.transitional.element"),se=Symbol.for("react.portal"),Te=Symbol.for("react.fragment"),Qe=Symbol.for("react.strict_mode"),xe=Symbol.for("react.profiler"),We=Symbol.for("react.consumer"),ft=Symbol.for("react.context"),Ge=Symbol.for("react.forward_ref"),ut=Symbol.for("react.suspense"),me=Symbol.for("react.suspense_list"),Ee=Symbol.for("react.memo"),pe=Symbol.for("react.lazy"),Ce=Symbol.for("react.activity"),ce=Symbol.for("react.memo_cache_sentinel"),lt=Symbol.iterator;function Re(l){return l===null||typeof l!="object"?null:(l=lt&&l[lt]||l["@@iterator"],typeof l=="function"?l:null)}var De=Symbol.for("react.client.reference");function Ut(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===De?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Te:return"Fragment";case xe:return"Profiler";case Qe:return"StrictMode";case ut:return"Suspense";case me:return"SuspenseList";case Ce:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case se:return"Portal";case ft:return l.displayName||"Context";case We:return(l._context.displayName||"Context")+".Consumer";case Ge:var n=l.render;return l=l.displayName,l||(l=n.displayName||n.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case Ee:return n=l.displayName||null,n!==null?n:Ut(l.type)||"Memo";case pe:n=l._payload,l=l._init;try{return Ut(l(n))}catch{}}return null}var Xt=Array.isArray,C=j.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=Q.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne={pending:!1,data:null,method:null,action:null},be=[],ge=-1;function J(l){return{current:l}}function de(l){0>ge||(l.current=be[ge],be[ge]=null,ge--)}function ye(l,n){ge++,be[ge]=l.current,l.current=n}var ae=J(null),Oe=J(null),yl=J(null),Ke=J(null);function Se(l,n){switch(ye(yl,n),ye(Oe,l),ye(ae,null),n.nodeType){case 9:case 11:l=(l=n.documentElement)&&(l=l.namespaceURI)?Hg(l):0;break;default:if(l=n.tagName,n=n.namespaceURI)n=Hg(n),l=f0(n,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}de(ae),ye(ae,l)}function He(){de(ae),de(Oe),de(yl)}function cl(l){l.memoizedState!==null&&ye(Ke,l);var n=ae.current,u=f0(n,l.type);n!==u&&(ye(Oe,l),ye(ae,u))}function ee(l){Oe.current===l&&(de(ae),de(Oe)),Ke.current===l&&(de(Ke),dr._currentValue=ne)}var Ze,Ht;function Ot(l){if(Ze===void 0)try{throw Error()}catch(u){var n=u.stack.trim().match(/\n( *(at )?)/);Ze=n&&n[1]||"",Ht=-1<u.stack.indexOf(`
7
- at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
8
- `+Ze+l+Ht}var cc=!1;function Dt(l,n){if(!l||cc)return"";cc=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(n){var I=function(){throw Error()};if(Object.defineProperty(I.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(I,[])}catch(X){var Y=X}Reflect.construct(l,[],I)}else{try{I.call()}catch(X){Y=X}l.call(I.prototype)}}else{try{throw Error()}catch(X){Y=X}(I=l())&&typeof I.catch=="function"&&I.catch(function(){})}}catch(X){if(X&&Y&&typeof X.stack=="string")return[X.stack,Y.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=c.DetermineComponentFrameRoot(),y=r[0],v=r[1];if(y&&v){var A=y.split(`
9
- `),B=v.split(`
10
- `);for(f=c=0;c<A.length&&!A[c].includes("DetermineComponentFrameRoot");)c++;for(;f<B.length&&!B[f].includes("DetermineComponentFrameRoot");)f++;if(c===A.length||f===B.length)for(c=A.length-1,f=B.length-1;1<=c&&0<=f&&A[c]!==B[f];)f--;for(;1<=c&&0<=f;c--,f--)if(A[c]!==B[f]){if(c!==1||f!==1)do if(c--,f--,0>f||A[c]!==B[f]){var $=`
11
- `+A[c].replace(" at new "," at ");return l.displayName&&$.includes("<anonymous>")&&($=$.replace("<anonymous>",l.displayName)),$}while(1<=c&&0<=f);break}}}finally{cc=!1,Error.prepareStackTrace=u}return(u=l?l.displayName||l.name:"")?Ot(u):""}function ym(l,n){switch(l.tag){case 26:case 27:case 5:return Ot(l.type);case 16:return Ot("Lazy");case 13:return l.child!==n&&n!==null?Ot("Suspense Fallback"):Ot("Suspense");case 19:return Ot("SuspenseList");case 0:case 15:return Dt(l.type,!1);case 11:return Dt(l.type.render,!1);case 1:return Dt(l.type,!0);case 31:return Ot("Activity");default:return""}}function Vr(l){try{var n="",u=null;do n+=ym(l,u),u=l,l=l.return;while(l);return n}catch(c){return`
12
- Error generating stack: `+c.message+`
13
- `+c.stack}}var pm=Object.prototype.hasOwnProperty,Bt=m.unstable_scheduleCallback,gm=m.unstable_cancelCallback,oc=m.unstable_shouldYield,Xr=m.unstable_requestPaint,Xl=m.unstable_now,kv=m.unstable_getCurrentPriorityLevel,Qr=m.unstable_ImmediatePriority,Lr=m.unstable_UserBlockingPriority,bi=m.unstable_NormalPriority,Wv=m.unstable_LowPriority,vm=m.unstable_IdlePriority,bp=m.log,Sp=m.unstable_setDisableYieldValue,sc=null,xa=null;function Xu(l){if(typeof bp=="function"&&Sp(l),xa&&typeof xa.setStrictMode=="function")try{xa.setStrictMode(sc,l)}catch{}}var na=Math.clz32?Math.clz32:bm,Tp=Math.log,xp=Math.LN2;function bm(l){return l>>>=0,l===0?32:31-(Tp(l)/xp|0)|0}var Qu=256,Tn=262144,Si=4194304;function ln(l){var n=l&42;if(n!==0)return n;switch(l&-l){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return l&261888;case 262144:case 524288:case 1048576:case 2097152:return l&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function ol(l,n,u){var c=l.pendingLanes;if(c===0)return 0;var f=0,r=l.suspendedLanes,y=l.pingedLanes;l=l.warmLanes;var v=c&134217727;return v!==0?(c=v&~r,c!==0?f=ln(c):(y&=v,y!==0?f=ln(y):u||(u=v&~l,u!==0&&(f=ln(u))))):(v=c&~r,v!==0?f=ln(v):y!==0?f=ln(y):u||(u=c&~l,u!==0&&(f=ln(u)))),f===0?0:n!==0&&n!==f&&(n&r)===0&&(r=f&-f,u=n&-n,r>=u||r===32&&(u&4194048)!==0)?n:f}function xn(l,n){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&n)===0}function So(l,n){switch(l){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32: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 n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function fc(){var l=Si;return Si<<=1,(Si&62914560)===0&&(Si=4194304),l}function Is(l){for(var n=[],u=0;31>u;u++)n.push(l);return n}function To(l,n){l.pendingLanes|=n,n!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function Zr(l,n,u,c,f,r){var y=l.pendingLanes;l.pendingLanes=u,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=u,l.entangledLanes&=u,l.errorRecoveryDisabledLanes&=u,l.shellSuspendCounter=0;var v=l.entanglements,A=l.expirationTimes,B=l.hiddenUpdates;for(u=y&~u;0<u;){var $=31-na(u),I=1<<$;v[$]=0,A[$]=-1;var Y=B[$];if(Y!==null)for(B[$]=null,$=0;$<Y.length;$++){var X=Y[$];X!==null&&(X.lane&=-536870913)}u&=~I}c!==0&&Ps(l,c,0),r!==0&&f===0&&l.tag!==0&&(l.suspendedLanes|=r&~(y&~n))}function Ps(l,n,u){l.pendingLanes|=n,l.suspendedLanes&=~n;var c=31-na(n);l.entangledLanes|=n,l.entanglements[c]=l.entanglements[c]|1073741824|u&261930}function In(l,n){var u=l.entangledLanes|=n;for(l=l.entanglements;u;){var c=31-na(u),f=1<<c;f&n|l[c]&n&&(l[c]|=n),u&=~f}}function Na(l,n){var u=n&-n;return u=(u&42)!==0?1:Jr(u),(u&(l.suspendedLanes|n))!==0?0:u}function Jr(l){switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=16;break;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:l=128;break;case 268435456:l=134217728;break;default:l=0}return l}function Sm(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function Kr(){var l=K.p;return l!==0?l:(l=window.event,l===void 0?32:hr(l.type))}function Tm(l,n){var u=K.p;try{return K.p=l,n()}finally{K.p=u}}var En=Math.random().toString(36).slice(2),Ct="__reactFiber$"+En,ua="__reactProps$"+En,Ti="__reactContainer$"+En,$r="__reactEvents$"+En,xm="__reactListeners$"+En,Ep="__reactHandles$"+En,Em="__reactResources$"+En,Pn="__reactMarker$"+En;function Fr(l){delete l[Ct],delete l[ua],delete l[$r],delete l[xm],delete l[Ep]}function rc(l){var n=l[Ct];if(n)return n;for(var u=l.parentNode;u;){if(n=u[Ti]||u[Ct]){if(u=n.alternate,n.child!==null||u!==null&&u.child!==null)for(l=Ln(l);l!==null;){if(u=l[Ct])return u;l=Ln(l)}return n}l=u,u=l.parentNode}return null}function dc(l){if(l=l[Ct]||l[Ti]){var n=l.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return l}return null}function xo(l){var n=l.tag;if(n===5||n===26||n===27||n===6)return l.stateNode;throw Error(S(33))}function hc(l){var n=l[Em];return n||(n=l[Em]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function Tt(l){l[Pn]=!0}var mc=new Set,xi={};function Ei(l,n){eu(l,n),eu(l+"Capture",n)}function eu(l,n){for(xi[l]=n,l=0;l<n.length;l++)mc.add(n[l])}var kr=RegExp("^[: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]*$"),Wr={},Eo={};function Ao(l){return pm.call(Eo,l)?!0:pm.call(Wr,l)?!1:kr.test(l)?Eo[l]=!0:(Wr[l]=!0,!1)}function zo(l,n,u){if(Ao(n))if(u===null)l.removeAttribute(n);else{switch(typeof u){case"undefined":case"function":case"symbol":l.removeAttribute(n);return;case"boolean":var c=n.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){l.removeAttribute(n);return}}l.setAttribute(n,""+u)}}function Ir(l,n,u){if(u===null)l.removeAttribute(n);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(n);return}l.setAttribute(n,""+u)}}function Lu(l,n,u,c){if(c===null)l.removeAttribute(u);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(u);return}l.setAttributeNS(n,u,""+c)}}function Ra(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function Pr(l){var n=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Am(l,n,u){var c=Object.getOwnPropertyDescriptor(l.constructor.prototype,n);if(!l.hasOwnProperty(n)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var f=c.get,r=c.set;return Object.defineProperty(l,n,{configurable:!0,get:function(){return f.call(this)},set:function(y){u=""+y,r.call(this,y)}}),Object.defineProperty(l,n,{enumerable:c.enumerable}),{getValue:function(){return u},setValue:function(y){u=""+y},stopTracking:function(){l._valueTracker=null,delete l[n]}}}}function ed(l){if(!l._valueTracker){var n=Pr(l)?"checked":"value";l._valueTracker=Am(l,n,""+l[n])}}function zm(l){if(!l)return!1;var n=l._valueTracker;if(!n)return!0;var u=n.getValue(),c="";return l&&(c=Pr(l)?l.checked?"true":"false":l.value),l=c,l!==u?(n.setValue(l),!0):!1}function ef(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var Iv=/[\n"\\]/g;function Ua(l){return l.replace(Iv,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function tf(l,n,u,c,f,r,y,v){l.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?l.type=y:l.removeAttribute("type"),n!=null?y==="number"?(n===0&&l.value===""||l.value!=n)&&(l.value=""+Ra(n)):l.value!==""+Ra(n)&&(l.value=""+Ra(n)):y!=="submit"&&y!=="reset"||l.removeAttribute("value"),n!=null?yc(l,y,Ra(n)):u!=null?yc(l,y,Ra(u)):c!=null&&l.removeAttribute("value"),f==null&&r!=null&&(l.defaultChecked=!!r),f!=null&&(l.checked=f&&typeof f!="function"&&typeof f!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?l.name=""+Ra(v):l.removeAttribute("name")}function lf(l,n,u,c,f,r,y,v){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(l.type=r),n!=null||u!=null){if(!(r!=="submit"&&r!=="reset"||n!=null)){ed(l);return}u=u!=null?""+Ra(u):"",n=n!=null?""+Ra(n):u,v||n===l.value||(l.value=n),l.defaultValue=n}c=c??f,c=typeof c!="function"&&typeof c!="symbol"&&!!c,l.checked=v?l.checked:!!c,l.defaultChecked=!!c,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(l.name=y),ed(l)}function yc(l,n,u){n==="number"&&ef(l.ownerDocument)===l||l.defaultValue===""+u||(l.defaultValue=""+u)}function Oo(l,n,u,c){if(l=l.options,n){n={};for(var f=0;f<u.length;f++)n["$"+u[f]]=!0;for(u=0;u<l.length;u++)f=n.hasOwnProperty("$"+l[u].value),l[u].selected!==f&&(l[u].selected=f),f&&c&&(l[u].defaultSelected=!0)}else{for(u=""+Ra(u),n=null,f=0;f<l.length;f++){if(l[f].value===u){l[f].selected=!0,c&&(l[f].defaultSelected=!0);return}n!==null||l[f].disabled||(n=l[f])}n!==null&&(n.selected=!0)}}function Om(l,n,u){if(n!=null&&(n=""+Ra(n),n!==l.value&&(l.value=n),u==null)){l.defaultValue!==n&&(l.defaultValue=n);return}l.defaultValue=u!=null?""+Ra(u):""}function Dm(l,n,u,c){if(n==null){if(c!=null){if(u!=null)throw Error(S(92));if(Xt(c)){if(1<c.length)throw Error(S(93));c=c[0]}u=c}u==null&&(u=""),n=u}u=Ra(n),l.defaultValue=u,c=l.textContent,c===u&&c!==""&&c!==null&&(l.value=c),ed(l)}function tu(l,n){if(n){var u=l.firstChild;if(u&&u===l.lastChild&&u.nodeType===3){u.nodeValue=n;return}}l.textContent=n}var Ap=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function zp(l,n,u){var c=n.indexOf("--")===0;u==null||typeof u=="boolean"||u===""?c?l.setProperty(n,""):n==="float"?l.cssFloat="":l[n]="":c?l.setProperty(n,u):typeof u!="number"||u===0||Ap.has(n)?n==="float"?l.cssFloat=u:l[n]=(""+u).trim():l[n]=u+"px"}function Op(l,n,u){if(n!=null&&typeof n!="object")throw Error(S(62));if(l=l.style,u!=null){for(var c in u)!u.hasOwnProperty(c)||n!=null&&n.hasOwnProperty(c)||(c.indexOf("--")===0?l.setProperty(c,""):c==="float"?l.cssFloat="":l[c]="");for(var f in n)c=n[f],n.hasOwnProperty(f)&&u[f]!==c&&zp(l,f,c)}else for(var r in n)n.hasOwnProperty(r)&&zp(l,r,n[r])}function Cm(l){if(l.indexOf("-")===-1)return!1;switch(l){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 Pv=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),af=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function an(l){return af.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}function An(){}var td=null;function ld(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var lu=null,pc=null;function nf(l){var n=dc(l);if(n&&(l=n.stateNode)){var u=l[ua]||null;e:switch(l=n.stateNode,n.type){case"input":if(tf(l,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),n=u.name,u.type==="radio"&&n!=null){for(u=l;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name="'+Ua(""+n)+'"][type="radio"]'),n=0;n<u.length;n++){var c=u[n];if(c!==l&&c.form===l.form){var f=c[ua]||null;if(!f)throw Error(S(90));tf(c,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(n=0;n<u.length;n++)c=u[n],c.form===l.form&&zm(c)}break e;case"textarea":Om(l,u.value,u.defaultValue);break e;case"select":n=u.value,n!=null&&Oo(l,!!u.multiple,n,!1)}}}var Do=!1;function Mm(l,n,u){if(Do)return l(n,u);Do=!0;try{var c=l(n);return c}finally{if(Do=!1,(lu!==null||pc!==null)&&(ss(),lu&&(n=lu,l=pc,pc=lu=null,nf(n),l)))for(n=0;n<l.length;n++)nf(l[n])}}function Dl(l,n){var u=l.stateNode;if(u===null)return null;var c=u[ua]||null;if(c===null)return null;u=c[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(l=l.type,c=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!c;break e;default:l=!1}if(l)return null;if(u&&typeof u!="function")throw Error(S(231,n,typeof u));return u}var Zu=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),uf=!1;if(Zu)try{var Co={};Object.defineProperty(Co,"passive",{get:function(){uf=!0}}),window.addEventListener("test",Co,Co),window.removeEventListener("test",Co,Co)}catch{uf=!1}var Ju=null,_m=null,ad=null;function jm(){if(ad)return ad;var l,n=_m,u=n.length,c,f="value"in Ju?Ju.value:Ju.textContent,r=f.length;for(l=0;l<u&&n[l]===f[l];l++);var y=u-l;for(c=1;c<=y&&n[u-c]===f[r-c];c++);return ad=f.slice(l,1<c?1-c:void 0)}function nd(l){var n=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&n===13&&(l=13)):l=n,l===10&&(l=13),32<=l||l===13?l:0}function cf(){return!0}function Dp(){return!1}function Ql(l){function n(u,c,f,r,y){this._reactName=u,this._targetInst=f,this.type=c,this.nativeEvent=r,this.target=y,this.currentTarget=null;for(var v in l)l.hasOwnProperty(v)&&(u=l[v],this[v]=u?u(r):r[v]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?cf:Dp,this.isPropagationStopped=Dp,this}return k(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=cf)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=cf)},persist:function(){},isPersistent:cf}),n}var Ai={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},of=Ql(Ai),Mo=k({},Ai,{view:0,detail:0}),e1=Ql(Mo),Nm,Rm,sf,ud=k({},Mo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:nn,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==sf&&(sf&&l.type==="mousemove"?(Nm=l.screenX-sf.screenX,Rm=l.screenY-sf.screenY):Rm=Nm=0,sf=l),Nm)},movementY:function(l){return"movementY"in l?l.movementY:Rm}}),_o=Ql(ud),Cp=k({},ud,{dataTransfer:0}),Mp=Ql(Cp),_p=k({},Mo,{relatedTarget:0}),id=Ql(_p),Um=k({},Ai,{animationName:0,elapsedTime:0,pseudoElement:0}),jp=Ql(Um),gc=k({},Ai,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),vc=Ql(gc),zn=k({},Ai,{data:0}),Np=Ql(zn),Hm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},au={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"},Rp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function On(l){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(l):(l=Rp[l])?!!n[l]:!1}function nn(){return On}var cd=k({},Mo,{key:function(l){if(l.key){var n=Hm[l.key]||l.key;if(n!=="Unidentified")return n}return l.type==="keypress"?(l=nd(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?au[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:nn,charCode:function(l){return l.type==="keypress"?nd(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?nd(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),od=Ql(cd),Bm=k({},ud,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Dn=Ql(Bm),t1=k({},Mo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:nn}),Up=Ql(t1),Hp=k({},Ai,{propertyName:0,elapsedTime:0,pseudoElement:0}),l1=Ql(Hp),qm=k({},ud,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),a1=Ql(qm),Bp=k({},Ai,{newState:0,oldState:0}),Ym=Ql(Bp),sd=[9,13,27,32],jo=Zu&&"CompositionEvent"in window,bc=null;Zu&&"documentMode"in document&&(bc=document.documentMode);var Fl=Zu&&"TextEvent"in window&&!bc,Gm=Zu&&(!jo||bc&&8<bc&&11>=bc),ff=" ",zi=!1;function fd(l,n){switch(l){case"keyup":return sd.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wm(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Sc=!1;function qp(l,n){switch(l){case"compositionend":return wm(n);case"keypress":return n.which!==32?null:(zi=!0,ff);case"textInput":return l=n.data,l===ff&&zi?null:l;default:return null}}function n1(l,n){if(Sc)return l==="compositionend"||!jo&&fd(l,n)?(l=jm(),ad=_m=Ju=null,Sc=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Gm&&n.locale!=="ko"?null:n.data;default:return null}}var Vm={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 nu(l){var n=l&&l.nodeName&&l.nodeName.toLowerCase();return n==="input"?!!Vm[l.type]:n==="textarea"}function Xm(l,n,u,c){lu?pc?pc.push(c):pc=[c]:lu=c,n=ir(n,"onChange"),0<n.length&&(u=new of("onChange","change",null,u,c),l.push({event:u,listeners:n}))}var Tc=null,Oi=null;function xc(l){Ng(l,0)}function No(l){var n=xo(l);if(zm(n))return l}function Qm(l,n){if(l==="change")return n}var rd=!1;if(Zu){var ia;if(Zu){var Cn="oninput"in document;if(!Cn){var Lm=document.createElement("div");Lm.setAttribute("oninput","return;"),Cn=typeof Lm.oninput=="function"}ia=Cn}else ia=!1;rd=ia&&(!document.documentMode||9<document.documentMode)}function dd(){Tc&&(Tc.detachEvent("onpropertychange",hd),Oi=Tc=null)}function hd(l){if(l.propertyName==="value"&&No(Oi)){var n=[];Xm(n,Oi,l,ld(l)),Mm(xc,n)}}function Yp(l,n,u){l==="focusin"?(dd(),Tc=n,Oi=u,Tc.attachEvent("onpropertychange",hd)):l==="focusout"&&dd()}function Gp(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return No(Oi)}function Di(l,n){if(l==="click")return No(n)}function Ec(l,n){if(l==="input"||l==="change")return No(n)}function wp(l,n){return l===n&&(l!==0||1/l===1/n)||l!==l&&n!==n}var kl=typeof Object.is=="function"?Object.is:wp;function un(l,n){if(kl(l,n))return!0;if(typeof l!="object"||l===null||typeof n!="object"||n===null)return!1;var u=Object.keys(l),c=Object.keys(n);if(u.length!==c.length)return!1;for(c=0;c<u.length;c++){var f=u[c];if(!pm.call(n,f)||!kl(l[f],n[f]))return!1}return!0}function Zm(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function Jm(l,n){var u=Zm(l);l=0;for(var c;u;){if(u.nodeType===3){if(c=l+u.textContent.length,l<=n&&c>=n)return{node:u,offset:n-l};l=c}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=Zm(u)}}function Ac(l,n){return l&&n?l===n?!0:l&&l.nodeType===3?!1:n&&n.nodeType===3?Ac(l,n.parentNode):"contains"in l?l.contains(n):l.compareDocumentPosition?!!(l.compareDocumentPosition(n)&16):!1:!1}function Ci(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var n=ef(l.document);n instanceof l.HTMLIFrameElement;){try{var u=typeof n.contentWindow.location.href=="string"}catch{u=!1}if(u)l=n.contentWindow;else break;n=ef(l.document)}return n}function rf(l){var n=l&&l.nodeName&&l.nodeName.toLowerCase();return n&&(n==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||n==="textarea"||l.contentEditable==="true")}var df=Zu&&"documentMode"in document&&11>=document.documentMode,Mi=null,Ro=null,cn=null,Mn=!1;function md(l,n,u){var c=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;Mn||Mi==null||Mi!==ef(c)||(c=Mi,"selectionStart"in c&&rf(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),cn&&un(cn,c)||(cn=c,c=ir(Ro,"onSelect"),0<c.length&&(n=new of("onSelect","select",null,n,u),l.push({event:n,listeners:c}),n.target=Mi)))}function Ku(l,n){var u={};return u[l.toLowerCase()]=n.toLowerCase(),u["Webkit"+l]="webkit"+n,u["Moz"+l]="moz"+n,u}var _n={animationend:Ku("Animation","AnimationEnd"),animationiteration:Ku("Animation","AnimationIteration"),animationstart:Ku("Animation","AnimationStart"),transitionrun:Ku("Transition","TransitionRun"),transitionstart:Ku("Transition","TransitionStart"),transitioncancel:Ku("Transition","TransitionCancel"),transitionend:Ku("Transition","TransitionEnd")},Uo={},_i={};Zu&&(_i=document.createElement("div").style,"AnimationEvent"in window||(delete _n.animationend.animation,delete _n.animationiteration.animation,delete _n.animationstart.animation),"TransitionEvent"in window||delete _n.transitionend.transition);function vt(l){if(Uo[l])return Uo[l];if(!_n[l])return l;var n=_n[l],u;for(u in n)if(n.hasOwnProperty(u)&&u in _i)return Uo[l]=n[u];return l}var hf=vt("animationend"),Km=vt("animationiteration"),yd=vt("animationstart"),zc=vt("transitionrun"),mf=vt("transitionstart"),uu=vt("transitioncancel"),Vp=vt("transitionend"),iu=new Map,Ho="abort auxClick beforeToggle 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(" ");Ho.push("scrollEnd");function ca(l,n){iu.set(l,n),Ei(n,[l])}var Oc=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)},Zt=[],Cl=0,on=0;function Ha(){for(var l=Cl,n=on=Cl=0;n<l;){var u=Zt[n];Zt[n++]=null;var c=Zt[n];Zt[n++]=null;var f=Zt[n];Zt[n++]=null;var r=Zt[n];if(Zt[n++]=null,c!==null&&f!==null){var y=c.pending;y===null?f.next=f:(f.next=y.next,y.next=f),c.pending=f}r!==0&&pd(u,f,r)}}function Ba(l,n,u,c){Zt[Cl++]=l,Zt[Cl++]=n,Zt[Cl++]=u,Zt[Cl++]=c,on|=c,l.lanes|=c,l=l.alternate,l!==null&&(l.lanes|=c)}function sn(l,n,u,c){return Ba(l,n,u,c),yf(l)}function $u(l,n){return Ba(l,null,null,n),yf(l)}function pd(l,n,u){l.lanes|=u;var c=l.alternate;c!==null&&(c.lanes|=u);for(var f=!1,r=l.return;r!==null;)r.childLanes|=u,c=r.alternate,c!==null&&(c.childLanes|=u),r.tag===22&&(l=r.stateNode,l===null||l._visibility&1||(f=!0)),l=r,r=r.return;return l.tag===3?(r=l.stateNode,f&&n!==null&&(f=31-na(u),l=r.hiddenUpdates,c=l[f],c===null?l[f]=[n]:c.push(n),n.lane=u|536870912),r):null}function yf(l){if(50<os)throw os=0,Wf=null,Error(S(185));for(var n=l.return;n!==null;)l=n,n=l.return;return l.tag===3?l.stateNode:null}var oa={};function Xp(l,n,u,c){this.tag=l,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ll(l,n,u,c){return new Xp(l,n,u,c)}function Dc(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Fu(l,n){var u=l.alternate;return u===null?(u=ll(l.tag,n,l.key,l.mode),u.elementType=l.elementType,u.type=l.type,u.stateNode=l.stateNode,u.alternate=l,l.alternate=u):(u.pendingProps=n,u.type=l.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=l.flags&65011712,u.childLanes=l.childLanes,u.lanes=l.lanes,u.child=l.child,u.memoizedProps=l.memoizedProps,u.memoizedState=l.memoizedState,u.updateQueue=l.updateQueue,n=l.dependencies,u.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},u.sibling=l.sibling,u.index=l.index,u.ref=l.ref,u.refCleanup=l.refCleanup,u}function $m(l,n){l.flags&=65011714;var u=l.alternate;return u===null?(l.childLanes=0,l.lanes=n,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=u.childLanes,l.lanes=u.lanes,l.child=u.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=u.memoizedProps,l.memoizedState=u.memoizedState,l.updateQueue=u.updateQueue,l.type=u.type,n=u.dependencies,l.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l}function gd(l,n,u,c,f,r){var y=0;if(c=l,typeof l=="function")Dc(l)&&(y=1);else if(typeof l=="string")y=g0(l,u,ae.current)?26:l==="html"||l==="head"||l==="body"?27:5;else e:switch(l){case Ce:return l=ll(31,u,n,f),l.elementType=Ce,l.lanes=r,l;case Te:return ku(u.children,f,r,n);case Qe:y=8,f|=24;break;case xe:return l=ll(12,u,n,f|2),l.elementType=xe,l.lanes=r,l;case ut:return l=ll(13,u,n,f),l.elementType=ut,l.lanes=r,l;case me:return l=ll(19,u,n,f),l.elementType=me,l.lanes=r,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case ft:y=10;break e;case We:y=9;break e;case Ge:y=11;break e;case Ee:y=14;break e;case pe:y=16,c=null;break e}y=29,u=Error(S(130,l===null?"null":typeof l,"")),c=null}return n=ll(y,u,n,f),n.elementType=l,n.type=c,n.lanes=r,n}function ku(l,n,u,c){return l=ll(7,l,c,n),l.lanes=u,l}function Bo(l,n,u){return l=ll(6,l,null,n),l.lanes=u,l}function Fm(l){var n=ll(18,null,null,0);return n.stateNode=l,n}function vd(l,n,u){return n=ll(4,l.children!==null?l.children:[],l.key,n),n.lanes=u,n.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},n}var km=new WeakMap;function qa(l,n){if(typeof l=="object"&&l!==null){var u=km.get(l);return u!==void 0?u:(n={value:l,source:n,stack:Vr(n)},km.set(l,n),n)}return{value:l,source:n,stack:Vr(n)}}var Ya=[],Cc=0,pf=null,sl=0,Ea=[],sa=0,jn=null,Aa=1,Nn="";function fn(l,n){Ya[Cc++]=sl,Ya[Cc++]=pf,pf=l,sl=n}function Wm(l,n,u){Ea[sa++]=Aa,Ea[sa++]=Nn,Ea[sa++]=jn,jn=l;var c=Aa;l=Nn;var f=32-na(c)-1;c&=~(1<<f),u+=1;var r=32-na(n)+f;if(30<r){var y=f-f%5;r=(c&(1<<y)-1).toString(32),c>>=y,f-=y,Aa=1<<32-na(n)+f|u<<f|c,Nn=r+l}else Aa=1<<r|u<<f|c,Nn=l}function qo(l){l.return!==null&&(fn(l,1),Wm(l,1,0))}function bd(l){for(;l===pf;)pf=Ya[--Cc],Ya[Cc]=null,sl=Ya[--Cc],Ya[Cc]=null;for(;l===jn;)jn=Ea[--sa],Ea[sa]=null,Nn=Ea[--sa],Ea[sa]=null,Aa=Ea[--sa],Ea[sa]=null}function gf(l,n){Ea[sa++]=Aa,Ea[sa++]=Nn,Ea[sa++]=jn,Aa=n.id,Nn=n.overflow,jn=l}var Ml=null,qt=null,ct=!1,cu=null,Sl=!1,ou=Error(S(519));function rn(l){var n=Error(S(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Go(qa(n,l)),ou}function vf(l){var n=l.stateNode,u=l.type,c=l.memoizedProps;switch(n[Ct]=l,n[ua]=c,u){case"dialog":it("cancel",n),it("close",n);break;case"iframe":case"object":case"embed":it("load",n);break;case"video":case"audio":for(u=0;u<ms.length;u++)it(ms[u],n);break;case"source":it("error",n);break;case"img":case"image":case"link":it("error",n),it("load",n);break;case"details":it("toggle",n);break;case"input":it("invalid",n),lf(n,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":it("invalid",n);break;case"textarea":it("invalid",n),Dm(n,c.value,c.defaultValue,c.children)}u=c.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||n.textContent===""+u||c.suppressHydrationWarning===!0||i0(n.textContent,u)?(c.popover!=null&&(it("beforetoggle",n),it("toggle",n)),c.onScroll!=null&&it("scroll",n),c.onScrollEnd!=null&&it("scrollend",n),c.onClick!=null&&(n.onclick=An),n=!0):n=!1,n||rn(l,!0)}function Yo(l){for(Ml=l.return;Ml;)switch(Ml.tag){case 5:case 31:case 13:Sl=!1;return;case 27:case 3:Sl=!0;return;default:Ml=Ml.return}}function su(l){if(l!==Ml)return!1;if(!ct)return Yo(l),ct=!0,!1;var n=l.tag,u;if((u=n!==3&&n!==27)&&((u=n===5)&&(u=l.type,u=!(u!=="form"&&u!=="button")||ps(l.type,l.memoizedProps)),u=!u),u&&qt&&rn(l),Yo(l),n===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(S(317));qt=xh(l)}else if(n===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(S(317));qt=xh(l)}else n===27?(n=qt,Qn(l.type)?(l=sr,sr=null,qt=l):qt=n):qt=Ml?ba(l.stateNode.nextSibling):null;return!0}function ji(){qt=Ml=null,ct=!1}function Im(){var l=cu;return l!==null&&(el===null?el=l:el.push.apply(el,l),cu=null),l}function Go(l){cu===null?cu=[l]:cu.push(l)}var Sd=J(null),Wu=null,Rn=null;function fa(l,n,u){ye(Sd,n._currentValue),n._currentValue=u}function Un(l){l._currentValue=Sd.current,de(Sd)}function Td(l,n,u){for(;l!==null;){var c=l.alternate;if((l.childLanes&n)!==n?(l.childLanes|=n,c!==null&&(c.childLanes|=n)):c!==null&&(c.childLanes&n)!==n&&(c.childLanes|=n),l===u)break;l=l.return}}function fu(l,n,u,c){var f=l.child;for(f!==null&&(f.return=l);f!==null;){var r=f.dependencies;if(r!==null){var y=f.child;r=r.firstContext;e:for(;r!==null;){var v=r;r=f;for(var A=0;A<n.length;A++)if(v.context===n[A]){r.lanes|=u,v=r.alternate,v!==null&&(v.lanes|=u),Td(r.return,u,l),c||(y=null);break e}r=v.next}}else if(f.tag===18){if(y=f.return,y===null)throw Error(S(341));y.lanes|=u,r=y.alternate,r!==null&&(r.lanes|=u),Td(y,u,l),y=null}else y=f.child;if(y!==null)y.return=f;else for(y=f;y!==null;){if(y===l){y=null;break}if(f=y.sibling,f!==null){f.return=y.return,y=f;break}y=y.return}f=y}}function _l(l,n,u,c){l=null;for(var f=n,r=!1;f!==null;){if(!r){if((f.flags&524288)!==0)r=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var y=f.alternate;if(y===null)throw Error(S(387));if(y=y.memoizedProps,y!==null){var v=f.type;kl(f.pendingProps.value,y.value)||(l!==null?l.push(v):l=[v])}}else if(f===Ke.current){if(y=f.alternate,y===null)throw Error(S(387));y.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(l!==null?l.push(dr):l=[dr])}f=f.return}l!==null&&fu(n,l,u,c),n.flags|=262144}function Mc(l){for(l=l.firstContext;l!==null;){if(!kl(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function we(l){Wu=l,Rn=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function P(l){return bf(Wu,l)}function Iu(l,n){return Wu===null&&we(l),bf(l,n)}function bf(l,n){var u=n._currentValue;if(n={context:n,memoizedValue:u,next:null},Rn===null){if(l===null)throw Error(S(308));Rn=n,l.dependencies={lanes:0,firstContext:n},l.flags|=524288}else Rn=Rn.next=n;return u}var al=typeof AbortController<"u"?AbortController:function(){var l=[],n=this.signal={aborted:!1,addEventListener:function(u,c){l.push(c)}};this.abort=function(){n.aborted=!0,l.forEach(function(u){return u()})}},Pm=m.unstable_scheduleCallback,ey=m.unstable_NormalPriority,fl={$$typeof:ft,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Sf(){return{controller:new al,data:new Map,refCount:0}}function Tf(l){l.refCount--,l.refCount===0&&Pm(ey,function(){l.controller.abort()})}var _c=null,xf=0,Ni=0,pl=null;function xt(l,n){if(_c===null){var u=_c=[];xf=0,Ni=mh(),pl={status:"pending",value:void 0,then:function(c){u.push(c)}}}return xf++,n.then(Ef,Ef),n}function Ef(){if(--xf===0&&_c!==null){pl!==null&&(pl.status="fulfilled");var l=_c;_c=null,Ni=0,pl=null;for(var n=0;n<l.length;n++)(0,l[n])()}}function Af(l,n){var u=[],c={status:"pending",value:null,reason:null,then:function(f){u.push(f)}};return l.then(function(){c.status="fulfilled",c.value=n;for(var f=0;f<u.length;f++)(0,u[f])(n)},function(f){for(c.status="rejected",c.reason=f,f=0;f<u.length;f++)(0,u[f])(void 0)}),c}var Pu=C.S;C.S=function(l,n){Ky=Xl(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&xt(l,n),Pu!==null&&Pu(l,n)};var Ga=J(null);function wa(){var l=Ga.current;return l!==null?l:_t.pooledCache}function wo(l,n){n===null?ye(Ga,Ga.current):ye(Ga,n.pool)}function jc(){var l=wa();return l===null?null:{parent:fl._currentValue,pool:l}}var Ri=Error(S(460)),Nc=Error(S(474)),Vo=Error(S(542)),Rc={then:function(){}};function ty(l){return l=l.status,l==="fulfilled"||l==="rejected"}function ly(l,n,u){switch(u=l[u],u===void 0?l.push(n):u!==n&&(n.then(An,An),n=u),n.status){case"fulfilled":return n.value;case"rejected":throw l=n.reason,xd(l),l;default:if(typeof n.status=="string")n.then(An,An);else{if(l=_t,l!==null&&100<l.shellSuspendCounter)throw Error(S(482));l=n,l.status="pending",l.then(function(c){if(n.status==="pending"){var f=n;f.status="fulfilled",f.value=c}},function(c){if(n.status==="pending"){var f=n;f.status="rejected",f.reason=c}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw l=n.reason,xd(l),l}throw Hi=n,Ri}}function Ui(l){try{var n=l._init;return n(l._payload)}catch(u){throw u!==null&&typeof u=="object"&&typeof u.then=="function"?(Hi=u,Ri):u}}var Hi=null;function ay(){if(Hi===null)throw Error(S(459));var l=Hi;return Hi=null,l}function xd(l){if(l===Ri||l===Vo)throw Error(S(483))}var Bi=null,Uc=0;function zf(l){var n=Uc;return Uc+=1,Bi===null&&(Bi=[]),ly(Bi,l,n)}function Xo(l,n){n=n.props.ref,l.ref=n!==void 0?n:null}function Of(l,n){throw n.$$typeof===Z?Error(S(525)):(l=Object.prototype.toString.call(n),Error(S(31,l==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":l)))}function Qp(l){function n(R,M){if(l){var U=R.deletions;U===null?(R.deletions=[M],R.flags|=16):U.push(M)}}function u(R,M){if(!l)return null;for(;M!==null;)n(R,M),M=M.sibling;return null}function c(R){for(var M=new Map;R!==null;)R.key!==null?M.set(R.key,R):M.set(R.index,R),R=R.sibling;return M}function f(R,M){return R=Fu(R,M),R.index=0,R.sibling=null,R}function r(R,M,U){return R.index=U,l?(U=R.alternate,U!==null?(U=U.index,U<M?(R.flags|=67108866,M):U):(R.flags|=67108866,M)):(R.flags|=1048576,M)}function y(R){return l&&R.alternate===null&&(R.flags|=67108866),R}function v(R,M,U,W){return M===null||M.tag!==6?(M=Bo(U,R.mode,W),M.return=R,M):(M=f(M,U),M.return=R,M)}function A(R,M,U,W){var Me=U.type;return Me===Te?$(R,M,U.props.children,W,U.key):M!==null&&(M.elementType===Me||typeof Me=="object"&&Me!==null&&Me.$$typeof===pe&&Ui(Me)===M.type)?(M=f(M,U.props),Xo(M,U),M.return=R,M):(M=gd(U.type,U.key,U.props,null,R.mode,W),Xo(M,U),M.return=R,M)}function B(R,M,U,W){return M===null||M.tag!==4||M.stateNode.containerInfo!==U.containerInfo||M.stateNode.implementation!==U.implementation?(M=vd(U,R.mode,W),M.return=R,M):(M=f(M,U.children||[]),M.return=R,M)}function $(R,M,U,W,Me){return M===null||M.tag!==7?(M=ku(U,R.mode,W,Me),M.return=R,M):(M=f(M,U),M.return=R,M)}function I(R,M,U){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=Bo(""+M,R.mode,U),M.return=R,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case ue:return U=gd(M.type,M.key,M.props,null,R.mode,U),Xo(U,M),U.return=R,U;case se:return M=vd(M,R.mode,U),M.return=R,M;case pe:return M=Ui(M),I(R,M,U)}if(Xt(M)||Re(M))return M=ku(M,R.mode,U,null),M.return=R,M;if(typeof M.then=="function")return I(R,zf(M),U);if(M.$$typeof===ft)return I(R,Iu(R,M),U);Of(R,M)}return null}function Y(R,M,U,W){var Me=M!==null?M.key:null;if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return Me!==null?null:v(R,M,""+U,W);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case ue:return U.key===Me?A(R,M,U,W):null;case se:return U.key===Me?B(R,M,U,W):null;case pe:return U=Ui(U),Y(R,M,U,W)}if(Xt(U)||Re(U))return Me!==null?null:$(R,M,U,W,null);if(typeof U.then=="function")return Y(R,M,zf(U),W);if(U.$$typeof===ft)return Y(R,M,Iu(R,U),W);Of(R,U)}return null}function X(R,M,U,W,Me){if(typeof W=="string"&&W!==""||typeof W=="number"||typeof W=="bigint")return R=R.get(U)||null,v(M,R,""+W,Me);if(typeof W=="object"&&W!==null){switch(W.$$typeof){case ue:return R=R.get(W.key===null?U:W.key)||null,A(M,R,W,Me);case se:return R=R.get(W.key===null?U:W.key)||null,B(M,R,W,Me);case pe:return W=Ui(W),X(R,M,U,W,Me)}if(Xt(W)||Re(W))return R=R.get(U)||null,$(M,R,W,Me,null);if(typeof W.then=="function")return X(R,M,U,zf(W),Me);if(W.$$typeof===ft)return X(R,M,U,Iu(M,W),Me);Of(M,W)}return null}function ve(R,M,U,W){for(var Me=null,mt=null,Ae=M,Le=M=0,Fe=null;Ae!==null&&Le<U.length;Le++){Ae.index>Le?(Fe=Ae,Ae=null):Fe=Ae.sibling;var gt=Y(R,Ae,U[Le],W);if(gt===null){Ae===null&&(Ae=Fe);break}l&&Ae&&gt.alternate===null&&n(R,Ae),M=r(gt,M,Le),mt===null?Me=gt:mt.sibling=gt,mt=gt,Ae=Fe}if(Le===U.length)return u(R,Ae),ct&&fn(R,Le),Me;if(Ae===null){for(;Le<U.length;Le++)Ae=I(R,U[Le],W),Ae!==null&&(M=r(Ae,M,Le),mt===null?Me=Ae:mt.sibling=Ae,mt=Ae);return ct&&fn(R,Le),Me}for(Ae=c(Ae);Le<U.length;Le++)Fe=X(Ae,R,Le,U[Le],W),Fe!==null&&(l&&Fe.alternate!==null&&Ae.delete(Fe.key===null?Le:Fe.key),M=r(Fe,M,Le),mt===null?Me=Fe:mt.sibling=Fe,mt=Fe);return l&&Ae.forEach(function(Jn){return n(R,Jn)}),ct&&fn(R,Le),Me}function Ne(R,M,U,W){if(U==null)throw Error(S(151));for(var Me=null,mt=null,Ae=M,Le=M=0,Fe=null,gt=U.next();Ae!==null&&!gt.done;Le++,gt=U.next()){Ae.index>Le?(Fe=Ae,Ae=null):Fe=Ae.sibling;var Jn=Y(R,Ae,gt.value,W);if(Jn===null){Ae===null&&(Ae=Fe);break}l&&Ae&&Jn.alternate===null&&n(R,Ae),M=r(Jn,M,Le),mt===null?Me=Jn:mt.sibling=Jn,mt=Jn,Ae=Fe}if(gt.done)return u(R,Ae),ct&&fn(R,Le),Me;if(Ae===null){for(;!gt.done;Le++,gt=U.next())gt=I(R,gt.value,W),gt!==null&&(M=r(gt,M,Le),mt===null?Me=gt:mt.sibling=gt,mt=gt);return ct&&fn(R,Le),Me}for(Ae=c(Ae);!gt.done;Le++,gt=U.next())gt=X(Ae,R,Le,gt.value,W),gt!==null&&(l&&gt.alternate!==null&&Ae.delete(gt.key===null?Le:gt.key),M=r(gt,M,Le),mt===null?Me=gt:mt.sibling=gt,mt=gt);return l&&Ae.forEach(function(Kg){return n(R,Kg)}),ct&&fn(R,Le),Me}function Nt(R,M,U,W){if(typeof U=="object"&&U!==null&&U.type===Te&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case ue:e:{for(var Me=U.key;M!==null;){if(M.key===Me){if(Me=U.type,Me===Te){if(M.tag===7){u(R,M.sibling),W=f(M,U.props.children),W.return=R,R=W;break e}}else if(M.elementType===Me||typeof Me=="object"&&Me!==null&&Me.$$typeof===pe&&Ui(Me)===M.type){u(R,M.sibling),W=f(M,U.props),Xo(W,U),W.return=R,R=W;break e}u(R,M);break}else n(R,M);M=M.sibling}U.type===Te?(W=ku(U.props.children,R.mode,W,U.key),W.return=R,R=W):(W=gd(U.type,U.key,U.props,null,R.mode,W),Xo(W,U),W.return=R,R=W)}return y(R);case se:e:{for(Me=U.key;M!==null;){if(M.key===Me)if(M.tag===4&&M.stateNode.containerInfo===U.containerInfo&&M.stateNode.implementation===U.implementation){u(R,M.sibling),W=f(M,U.children||[]),W.return=R,R=W;break e}else{u(R,M);break}else n(R,M);M=M.sibling}W=vd(U,R.mode,W),W.return=R,R=W}return y(R);case pe:return U=Ui(U),Nt(R,M,U,W)}if(Xt(U))return ve(R,M,U,W);if(Re(U)){if(Me=Re(U),typeof Me!="function")throw Error(S(150));return U=Me.call(U),Ne(R,M,U,W)}if(typeof U.then=="function")return Nt(R,M,zf(U),W);if(U.$$typeof===ft)return Nt(R,M,Iu(R,U),W);Of(R,U)}return typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint"?(U=""+U,M!==null&&M.tag===6?(u(R,M.sibling),W=f(M,U),W.return=R,R=W):(u(R,M),W=Bo(U,R.mode,W),W.return=R,R=W),y(R)):u(R,M)}return function(R,M,U,W){try{Uc=0;var Me=Nt(R,M,U,W);return Bi=null,Me}catch(Ae){if(Ae===Ri||Ae===Vo)throw Ae;var mt=ll(29,Ae,null,R.mode);return mt.lanes=W,mt.return=R,mt}}}var qi=Qp(!0),ny=Qp(!1),ei=!1;function Df(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ed(l,n){l=l.updateQueue,n.updateQueue===l&&(n.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function ti(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function Va(l,n,u){var c=l.updateQueue;if(c===null)return null;if(c=c.shared,(pt&2)!==0){var f=c.pending;return f===null?n.next=n:(n.next=f.next,f.next=n),c.pending=n,n=yf(l),pd(l,null,u),n}return Ba(l,c,n,u),yf(l)}function Yi(l,n,u){if(n=n.updateQueue,n!==null&&(n=n.shared,(u&4194048)!==0)){var c=n.lanes;c&=l.pendingLanes,u|=c,n.lanes=u,In(l,u)}}function Ad(l,n){var u=l.updateQueue,c=l.alternate;if(c!==null&&(c=c.updateQueue,u===c)){var f=null,r=null;if(u=u.firstBaseUpdate,u!==null){do{var y={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};r===null?f=r=y:r=r.next=y,u=u.next}while(u!==null);r===null?f=r=n:r=r.next=n}else f=r=n;u={baseState:c.baseState,firstBaseUpdate:f,lastBaseUpdate:r,shared:c.shared,callbacks:c.callbacks},l.updateQueue=u;return}l=u.lastBaseUpdate,l===null?u.firstBaseUpdate=n:l.next=n,u.lastBaseUpdate=n}var uy=!1;function Gi(){if(uy){var l=pl;if(l!==null)throw l}}function ru(l,n,u,c){uy=!1;var f=l.updateQueue;ei=!1;var r=f.firstBaseUpdate,y=f.lastBaseUpdate,v=f.shared.pending;if(v!==null){f.shared.pending=null;var A=v,B=A.next;A.next=null,y===null?r=B:y.next=B,y=A;var $=l.alternate;$!==null&&($=$.updateQueue,v=$.lastBaseUpdate,v!==y&&(v===null?$.firstBaseUpdate=B:v.next=B,$.lastBaseUpdate=A))}if(r!==null){var I=f.baseState;y=0,$=B=A=null,v=r;do{var Y=v.lane&-536870913,X=Y!==v.lane;if(X?(at&Y)===Y:(c&Y)===Y){Y!==0&&Y===Ni&&(uy=!0),$!==null&&($=$.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});e:{var ve=l,Ne=v;Y=n;var Nt=u;switch(Ne.tag){case 1:if(ve=Ne.payload,typeof ve=="function"){I=ve.call(Nt,I,Y);break e}I=ve;break e;case 3:ve.flags=ve.flags&-65537|128;case 0:if(ve=Ne.payload,Y=typeof ve=="function"?ve.call(Nt,I,Y):ve,Y==null)break e;I=k({},I,Y);break e;case 2:ei=!0}}Y=v.callback,Y!==null&&(l.flags|=64,X&&(l.flags|=8192),X=f.callbacks,X===null?f.callbacks=[Y]:X.push(Y))}else X={lane:Y,tag:v.tag,payload:v.payload,callback:v.callback,next:null},$===null?(B=$=X,A=I):$=$.next=X,y|=Y;if(v=v.next,v===null){if(v=f.shared.pending,v===null)break;X=v,v=X.next,X.next=null,f.lastBaseUpdate=X,f.shared.pending=null}}while(!0);$===null&&(A=I),f.baseState=A,f.firstBaseUpdate=B,f.lastBaseUpdate=$,r===null&&(f.shared.lanes=0),Vn|=y,l.lanes=y,l.memoizedState=I}}function zd(l,n){if(typeof l!="function")throw Error(S(191,l));l.call(n)}function wi(l,n){var u=l.callbacks;if(u!==null)for(l.callbacks=null,l=0;l<u.length;l++)zd(u[l],n)}var Tl=J(null),Hc=J(0);function Lp(l,n){l=wn,ye(Hc,l),ye(Tl,n),wn=l|n.baseLanes}function Cf(){ye(Hc,wn),ye(Tl,Tl.current)}function Qo(){wn=Hc.current,de(Tl),de(Hc)}var ra=J(null),Xa=null;function du(l){var n=l.alternate;ye(Jt,Jt.current&1),ye(ra,l),Xa===null&&(n===null||Tl.current!==null||n.memoizedState!==null)&&(Xa=l)}function Lo(l){ye(Jt,Jt.current),ye(ra,l),Xa===null&&(Xa=l)}function Od(l){l.tag===22?(ye(Jt,Jt.current),ye(ra,l),Xa===null&&(Xa=l)):Hn()}function Hn(){ye(Jt,Jt.current),ye(ra,ra.current)}function da(l){de(ra),Xa===l&&(Xa=null),de(Jt)}var Jt=J(0);function Zo(l){for(var n=l;n!==null;){if(n.tag===13){var u=n.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||yn(u)||Ii(u)))return n}else if(n.tag===19&&(n.memoizedProps.revealOrder==="forwards"||n.memoizedProps.revealOrder==="backwards"||n.memoizedProps.revealOrder==="unstable_legacy-backwards"||n.memoizedProps.revealOrder==="together")){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break;for(;n.sibling===null;){if(n.return===null||n.return===l)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var hu=0,Je=null,Et=null,rl=null,Bc=!1,qc=!1,li=!1,Mf=0,Jo=0,Vi=null,Zp=0;function It(){throw Error(S(321))}function ai(l,n){if(n===null)return!1;for(var u=0;u<n.length&&u<l.length;u++)if(!kl(l[u],n[u]))return!1;return!0}function _f(l,n,u,c,f,r){return hu=r,Je=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,C.H=l===null||l.memoizedState===null?Pp:Qd,li=!1,r=u(c,f),li=!1,qc&&(r=Jp(n,u,c,f)),Dd(l),r}function Dd(l){C.H=Gf;var n=Et!==null&&Et.next!==null;if(hu=0,rl=Et=Je=null,Bc=!1,Jo=0,Vi=null,n)throw Error(S(300));l===null||dl||(l=l.dependencies,l!==null&&Mc(l)&&(dl=!0))}function Jp(l,n,u,c){Je=l;var f=0;do{if(qc&&(Vi=null),Jo=0,qc=!1,25<=f)throw Error(S(301));if(f+=1,rl=Et=null,l.updateQueue!=null){var r=l.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}C.H=eg,r=n(u,c)}while(qc);return r}function u1(){var l=C.H,n=l.useState()[0];return n=typeof n.then=="function"?Gc(n):n,l=l.useState()[0],(Et!==null?Et.memoizedState:null)!==l&&(Je.flags|=1024),n}function Cd(){var l=Mf!==0;return Mf=0,l}function Yc(l,n,u){n.updateQueue=l.updateQueue,n.flags&=-2053,l.lanes&=~u}function jf(l){if(Bc){for(l=l.memoizedState;l!==null;){var n=l.queue;n!==null&&(n.pending=null),l=l.next}Bc=!1}hu=0,rl=Et=Je=null,qc=!1,Jo=Mf=0,Vi=null}function jl(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return rl===null?Je.memoizedState=rl=l:rl=rl.next=l,rl}function nl(){if(Et===null){var l=Je.alternate;l=l!==null?l.memoizedState:null}else l=Et.next;var n=rl===null?Je.memoizedState:rl.next;if(n!==null)rl=n,Et=l;else{if(l===null)throw Je.alternate===null?Error(S(467)):Error(S(310));Et=l,l={memoizedState:Et.memoizedState,baseState:Et.baseState,baseQueue:Et.baseQueue,queue:Et.queue,next:null},rl===null?Je.memoizedState=rl=l:rl=rl.next=l}return rl}function Nf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Gc(l){var n=Jo;return Jo+=1,Vi===null&&(Vi=[]),l=ly(Vi,l,n),n=Je,(rl===null?n.memoizedState:rl.next)===null&&(n=n.alternate,C.H=n===null||n.memoizedState===null?Pp:Qd),l}function Ko(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return Gc(l);if(l.$$typeof===ft)return P(l)}throw Error(S(438,String(l)))}function Md(l){var n=null,u=Je.updateQueue;if(u!==null&&(n=u.memoCache),n==null){var c=Je.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(n={data:c.data.map(function(f){return f.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),u===null&&(u=Nf(),Je.updateQueue=u),u.memoCache=n,u=n.data[n.index],u===void 0)for(u=n.data[n.index]=Array(l),c=0;c<l;c++)u[c]=ce;return n.index++,u}function mu(l,n){return typeof n=="function"?n(l):n}function yu(l){var n=nl();return _d(n,Et,l)}function _d(l,n,u){var c=l.queue;if(c===null)throw Error(S(311));c.lastRenderedReducer=u;var f=l.baseQueue,r=c.pending;if(r!==null){if(f!==null){var y=f.next;f.next=r.next,r.next=y}n.baseQueue=f=r,c.pending=null}if(r=l.baseState,f===null)l.memoizedState=r;else{n=f.next;var v=y=null,A=null,B=n,$=!1;do{var I=B.lane&-536870913;if(I!==B.lane?(at&I)===I:(hu&I)===I){var Y=B.revertLane;if(Y===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null}),I===Ni&&($=!0);else if((hu&Y)===Y){B=B.next,Y===Ni&&($=!0);continue}else I={lane:0,revertLane:B.revertLane,gesture:null,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null},A===null?(v=A=I,y=r):A=A.next=I,Je.lanes|=Y,Vn|=Y;I=B.action,li&&u(r,I),r=B.hasEagerState?B.eagerState:u(r,I)}else Y={lane:I,revertLane:B.revertLane,gesture:B.gesture,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null},A===null?(v=A=Y,y=r):A=A.next=Y,Je.lanes|=I,Vn|=I;B=B.next}while(B!==null&&B!==n);if(A===null?y=r:A.next=v,!kl(r,l.memoizedState)&&(dl=!0,$&&(u=pl,u!==null)))throw u;l.memoizedState=r,l.baseState=y,l.baseQueue=A,c.lastRenderedState=r}return f===null&&(c.lanes=0),[l.memoizedState,c.dispatch]}function jd(l){var n=nl(),u=n.queue;if(u===null)throw Error(S(311));u.lastRenderedReducer=l;var c=u.dispatch,f=u.pending,r=n.memoizedState;if(f!==null){u.pending=null;var y=f=f.next;do r=l(r,y.action),y=y.next;while(y!==f);kl(r,n.memoizedState)||(dl=!0),n.memoizedState=r,n.baseQueue===null&&(n.baseState=r),u.lastRenderedState=r}return[r,c]}function iy(l,n,u){var c=Je,f=nl(),r=ct;if(r){if(u===void 0)throw Error(S(407));u=u()}else u=n();var y=!kl((Et||f).memoizedState,u);if(y&&(f.memoizedState=u,dl=!0),f=f.queue,Bd(Nd.bind(null,c,f,l),[l]),f.getSnapshot!==n||y||rl!==null&&rl.memoizedState.tag&1){if(c.flags|=2048,Vc(9,{destroy:void 0},cy.bind(null,c,f,u,n),null),_t===null)throw Error(S(349));r||(hu&127)!==0||Rf(c,n,u)}return u}function Rf(l,n,u){l.flags|=16384,l={getSnapshot:n,value:u},n=Je.updateQueue,n===null?(n=Nf(),Je.updateQueue=n,n.stores=[l]):(u=n.stores,u===null?n.stores=[l]:u.push(l))}function cy(l,n,u,c){n.value=u,n.getSnapshot=c,Rd(n)&&Ud(l)}function Nd(l,n,u){return u(function(){Rd(n)&&Ud(l)})}function Rd(l){var n=l.getSnapshot;l=l.value;try{var u=n();return!kl(l,u)}catch{return!0}}function Ud(l){var n=$u(l,2);n!==null&&va(n,l,2)}function oy(l){var n=jl();if(typeof l=="function"){var u=l;if(l=u(),li){Xu(!0);try{u()}finally{Xu(!1)}}}return n.memoizedState=n.baseState=l,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:mu,lastRenderedState:l},n}function Nl(l,n,u,c){return l.baseState=u,_d(l,Et,typeof c=="function"?c:mu)}function Kp(l,n,u,c,f){if(Yf(l))throw Error(S(485));if(l=n.action,l!==null){var r={payload:f,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(y){r.listeners.push(y)}};C.T!==null?u(!0):r.isTransition=!1,c(r),u=n.pending,u===null?(r.next=n.pending=r,sy(n,r)):(r.next=u.next,n.pending=u.next=r)}}function sy(l,n){var u=n.action,c=n.payload,f=l.state;if(n.isTransition){var r=C.T,y={};C.T=y;try{var v=u(f,c),A=C.S;A!==null&&A(y,v),fy(l,n,v)}catch(B){wc(l,n,B)}finally{r!==null&&y.types!==null&&(r.types=y.types),C.T=r}}else try{r=u(f,c),fy(l,n,r)}catch(B){wc(l,n,B)}}function fy(l,n,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(c){ry(l,n,c)},function(c){return wc(l,n,c)}):ry(l,n,u)}function ry(l,n,u){n.status="fulfilled",n.value=u,dy(n),l.state=u,n=l.pending,n!==null&&(u=n.next,u===n?l.pending=null:(u=u.next,n.next=u,sy(l,u)))}function wc(l,n,u){var c=l.pending;if(l.pending=null,c!==null){c=c.next;do n.status="rejected",n.reason=u,dy(n),n=n.next;while(n!==c)}l.action=null}function dy(l){l=l.listeners;for(var n=0;n<l.length;n++)(0,l[n])()}function Uf(l,n){return n}function hy(l,n){if(ct){var u=_t.formState;if(u!==null){e:{var c=Je;if(ct){if(qt){t:{for(var f=qt,r=Sl;f.nodeType!==8;){if(!r){f=null;break t}if(f=ba(f.nextSibling),f===null){f=null;break t}}r=f.data,f=r==="F!"||r==="F"?f:null}if(f){qt=ba(f.nextSibling),c=f.data==="F!";break e}}rn(c)}c=!1}c&&(n=u[0])}}return u=jl(),u.memoizedState=u.baseState=n,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Uf,lastRenderedState:n},u.queue=c,u=Vd.bind(null,Je,c),c.dispatch=u,c=oy(!1),r=Xi.bind(null,Je,!1,c.queue),c=jl(),f={state:n,dispatch:null,action:l,pending:null},c.queue=f,u=Kp.bind(null,Je,f,r,u),f.dispatch=u,c.memoizedState=l,[n,u,!1]}function $p(l){var n=nl();return Hf(n,Et,l)}function Hf(l,n,u){if(n=_d(l,n,Uf)[0],l=yu(mu)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var c=Gc(n)}catch(y){throw y===Ri?Vo:y}else c=n;n=nl();var f=n.queue,r=f.dispatch;return u!==n.memoizedState&&(Je.flags|=2048,Vc(9,{destroy:void 0},my.bind(null,f,u),null)),[c,r,l]}function my(l,n){l.action=n}function yy(l){var n=nl(),u=Et;if(u!==null)return Hf(n,u,l);nl(),n=n.memoizedState,u=nl();var c=u.queue.dispatch;return u.memoizedState=l,[n,c,!1]}function Vc(l,n,u,c){return l={tag:l,create:u,deps:c,inst:n,next:null},n=Je.updateQueue,n===null&&(n=Nf(),Je.updateQueue=n),u=n.lastEffect,u===null?n.lastEffect=l.next=l:(c=u.next,u.next=l,l.next=c,n.lastEffect=l),l}function py(){return nl().memoizedState}function $o(l,n,u,c){var f=jl();Je.flags|=l,f.memoizedState=Vc(1|n,{destroy:void 0},u,c===void 0?null:c)}function Fo(l,n,u,c){var f=nl();c=c===void 0?null:c;var r=f.memoizedState.inst;Et!==null&&c!==null&&ai(c,Et.memoizedState.deps)?f.memoizedState=Vc(n,r,u,c):(Je.flags|=l,f.memoizedState=Vc(1|n,r,u,c))}function Hd(l,n){$o(8390656,8,l,n)}function Bd(l,n){Fo(2048,8,l,n)}function gy(l){Je.flags|=4;var n=Je.updateQueue;if(n===null)n=Nf(),Je.updateQueue=n,n.events=[l];else{var u=n.events;u===null?n.events=[l]:u.push(l)}}function Bf(l){var n=nl().memoizedState;return gy({ref:n,nextImpl:l}),function(){if((pt&2)!==0)throw Error(S(440));return n.impl.apply(void 0,arguments)}}function qd(l,n){return Fo(4,2,l,n)}function vy(l,n){return Fo(4,4,l,n)}function Yd(l,n){if(typeof n=="function"){l=l();var u=n(l);return function(){typeof u=="function"?u():n(null)}}if(n!=null)return l=l(),n.current=l,function(){n.current=null}}function by(l,n,u){u=u!=null?u.concat([l]):null,Fo(4,4,Yd.bind(null,n,l),u)}function Bn(){}function Gd(l,n){var u=nl();n=n===void 0?null:n;var c=u.memoizedState;return n!==null&&ai(n,c[1])?c[0]:(u.memoizedState=[l,n],l)}function Fp(l,n){var u=nl();n=n===void 0?null:n;var c=u.memoizedState;if(n!==null&&ai(n,c[1]))return c[0];if(c=l(),li){Xu(!0);try{l()}finally{Xu(!1)}}return u.memoizedState=[c,n],c}function qf(l,n,u){return u===void 0||(hu&1073741824)!==0&&(at&261930)===0?l.memoizedState=n:(l.memoizedState=u,l=fg(),Je.lanes|=l,Vn|=l,u)}function pu(l,n,u,c){return kl(u,n)?u:Tl.current!==null?(l=qf(l,u,c),kl(l,n)||(dl=!0),l):(hu&42)===0||(hu&1073741824)!==0&&(at&261930)===0?(dl=!0,l.memoizedState=u):(l=fg(),Je.lanes|=l,Vn|=l,n)}function wd(l,n,u,c,f){var r=K.p;K.p=r!==0&&8>r?r:8;var y=C.T,v={};C.T=v,Xi(l,!1,n,u);try{var A=f(),B=C.S;if(B!==null&&B(v,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var $=Af(A,c);ni(l,n,$,Ca(l))}else ni(l,n,c,Ca(l))}catch(I){ni(l,n,{then:function(){},status:"rejected",reason:I},Ca())}finally{K.p=r,y!==null&&v.types!==null&&(y.types=v.types),C.T=y}}function kp(){}function ko(l,n,u,c){if(l.tag!==5)throw Error(S(476));var f=Wo(l).queue;wd(l,f,n,ne,u===null?kp:function(){return Mt(l),u(c)})}function Wo(l){var n=l.memoizedState;if(n!==null)return n;n={memoizedState:ne,baseState:ne,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:mu,lastRenderedState:ne},next:null};var u={};return n.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:mu,lastRenderedState:u},next:null},l.memoizedState=n,l=l.alternate,l!==null&&(l.memoizedState=n),n}function Mt(l){var n=Wo(l);n.next===null&&(n=l.alternate.memoizedState),ni(l,n.next.queue,{},Ca())}function Sy(){return P(dr)}function Wp(){return nl().memoizedState}function Ty(){return nl().memoizedState}function gu(l){for(var n=l.return;n!==null;){switch(n.tag){case 24:case 3:var u=Ca();l=ti(u);var c=Va(n,l,u);c!==null&&(va(c,n,u),Yi(c,n,u)),n={cache:Sf()},l.payload=n;return}n=n.return}}function Ip(l,n,u){var c=Ca();u={lane:c,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Yf(l)?Xd(n,u):(u=sn(l,n,u,c),u!==null&&(va(u,l,c),xy(u,n,c)))}function Vd(l,n,u){var c=Ca();ni(l,n,u,c)}function ni(l,n,u,c){var f={lane:c,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};if(Yf(l))Xd(n,f);else{var r=l.alternate;if(l.lanes===0&&(r===null||r.lanes===0)&&(r=n.lastRenderedReducer,r!==null))try{var y=n.lastRenderedState,v=r(y,u);if(f.hasEagerState=!0,f.eagerState=v,kl(v,y))return Ba(l,n,f,0),_t===null&&Ha(),!1}catch{}if(u=sn(l,n,f,c),u!==null)return va(u,l,c),xy(u,n,c),!0}return!1}function Xi(l,n,u,c){if(c={lane:2,revertLane:mh(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},Yf(l)){if(n)throw Error(S(479))}else n=sn(l,u,c,2),n!==null&&va(n,l,2)}function Yf(l){var n=l.alternate;return l===Je||n!==null&&n===Je}function Xd(l,n){qc=Bc=!0;var u=l.pending;u===null?n.next=n:(n.next=u.next,u.next=n),l.pending=n}function xy(l,n,u){if((u&4194048)!==0){var c=n.lanes;c&=l.pendingLanes,u|=c,n.lanes=u,In(l,u)}}var Gf={readContext:P,use:Ko,useCallback:It,useContext:It,useEffect:It,useImperativeHandle:It,useLayoutEffect:It,useInsertionEffect:It,useMemo:It,useReducer:It,useRef:It,useState:It,useDebugValue:It,useDeferredValue:It,useTransition:It,useSyncExternalStore:It,useId:It,useHostTransitionStatus:It,useFormState:It,useActionState:It,useOptimistic:It,useMemoCache:It,useCacheRefresh:It};Gf.useEffectEvent=It;var Pp={readContext:P,use:Ko,useCallback:function(l,n){return jl().memoizedState=[l,n===void 0?null:n],l},useContext:P,useEffect:Hd,useImperativeHandle:function(l,n,u){u=u!=null?u.concat([l]):null,$o(4194308,4,Yd.bind(null,n,l),u)},useLayoutEffect:function(l,n){return $o(4194308,4,l,n)},useInsertionEffect:function(l,n){$o(4,2,l,n)},useMemo:function(l,n){var u=jl();n=n===void 0?null:n;var c=l();if(li){Xu(!0);try{l()}finally{Xu(!1)}}return u.memoizedState=[c,n],c},useReducer:function(l,n,u){var c=jl();if(u!==void 0){var f=u(n);if(li){Xu(!0);try{u(n)}finally{Xu(!1)}}}else f=n;return c.memoizedState=c.baseState=f,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:f},c.queue=l,l=l.dispatch=Ip.bind(null,Je,l),[c.memoizedState,l]},useRef:function(l){var n=jl();return l={current:l},n.memoizedState=l},useState:function(l){l=oy(l);var n=l.queue,u=Vd.bind(null,Je,n);return n.dispatch=u,[l.memoizedState,u]},useDebugValue:Bn,useDeferredValue:function(l,n){var u=jl();return qf(u,l,n)},useTransition:function(){var l=oy(!1);return l=wd.bind(null,Je,l.queue,!0,!1),jl().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,n,u){var c=Je,f=jl();if(ct){if(u===void 0)throw Error(S(407));u=u()}else{if(u=n(),_t===null)throw Error(S(349));(at&127)!==0||Rf(c,n,u)}f.memoizedState=u;var r={value:u,getSnapshot:n};return f.queue=r,Hd(Nd.bind(null,c,r,l),[l]),c.flags|=2048,Vc(9,{destroy:void 0},cy.bind(null,c,r,u,n),null),u},useId:function(){var l=jl(),n=_t.identifierPrefix;if(ct){var u=Nn,c=Aa;u=(c&~(1<<32-na(c)-1)).toString(32)+u,n="_"+n+"R_"+u,u=Mf++,0<u&&(n+="H"+u.toString(32)),n+="_"}else u=Zp++,n="_"+n+"r_"+u.toString(32)+"_";return l.memoizedState=n},useHostTransitionStatus:Sy,useFormState:hy,useActionState:hy,useOptimistic:function(l){var n=jl();n.memoizedState=n.baseState=l;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=u,n=Xi.bind(null,Je,!0,u),u.dispatch=n,[l,n]},useMemoCache:Md,useCacheRefresh:function(){return jl().memoizedState=gu.bind(null,Je)},useEffectEvent:function(l){var n=jl(),u={impl:l};return n.memoizedState=u,function(){if((pt&2)!==0)throw Error(S(440));return u.impl.apply(void 0,arguments)}}},Qd={readContext:P,use:Ko,useCallback:Gd,useContext:P,useEffect:Bd,useImperativeHandle:by,useInsertionEffect:qd,useLayoutEffect:vy,useMemo:Fp,useReducer:yu,useRef:py,useState:function(){return yu(mu)},useDebugValue:Bn,useDeferredValue:function(l,n){var u=nl();return pu(u,Et.memoizedState,l,n)},useTransition:function(){var l=yu(mu)[0],n=nl().memoizedState;return[typeof l=="boolean"?l:Gc(l),n]},useSyncExternalStore:iy,useId:Wp,useHostTransitionStatus:Sy,useFormState:$p,useActionState:$p,useOptimistic:function(l,n){var u=nl();return Nl(u,Et,l,n)},useMemoCache:Md,useCacheRefresh:Ty};Qd.useEffectEvent=Bf;var eg={readContext:P,use:Ko,useCallback:Gd,useContext:P,useEffect:Bd,useImperativeHandle:by,useInsertionEffect:qd,useLayoutEffect:vy,useMemo:Fp,useReducer:jd,useRef:py,useState:function(){return jd(mu)},useDebugValue:Bn,useDeferredValue:function(l,n){var u=nl();return Et===null?qf(u,l,n):pu(u,Et.memoizedState,l,n)},useTransition:function(){var l=jd(mu)[0],n=nl().memoizedState;return[typeof l=="boolean"?l:Gc(l),n]},useSyncExternalStore:iy,useId:Wp,useHostTransitionStatus:Sy,useFormState:yy,useActionState:yy,useOptimistic:function(l,n){var u=nl();return Et!==null?Nl(u,Et,l,n):(u.baseState=l,[l,u.queue.dispatch])},useMemoCache:Md,useCacheRefresh:Ty};eg.useEffectEvent=Bf;function Xc(l,n,u,c){n=l.memoizedState,u=u(c,n),u=u==null?n:k({},n,u),l.memoizedState=u,l.lanes===0&&(l.updateQueue.baseState=u)}var dn={enqueueSetState:function(l,n,u){l=l._reactInternals;var c=Ca(),f=ti(c);f.payload=n,u!=null&&(f.callback=u),n=Va(l,f,c),n!==null&&(va(n,l,c),Yi(n,l,c))},enqueueReplaceState:function(l,n,u){l=l._reactInternals;var c=Ca(),f=ti(c);f.tag=1,f.payload=n,u!=null&&(f.callback=u),n=Va(l,f,c),n!==null&&(va(n,l,c),Yi(n,l,c))},enqueueForceUpdate:function(l,n){l=l._reactInternals;var u=Ca(),c=ti(u);c.tag=2,n!=null&&(c.callback=n),n=Va(l,c,u),n!==null&&(va(n,l,u),Yi(n,l,u))}};function Ey(l,n,u,c,f,r,y){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(c,r,y):n.prototype&&n.prototype.isPureReactComponent?!un(u,c)||!un(f,r):!0}function tg(l,n,u,c){l=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(u,c),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(u,c),n.state!==l&&dn.enqueueReplaceState(n,n.state,null)}function Qi(l,n){var u=n;if("ref"in n){u={};for(var c in n)c!=="ref"&&(u[c]=n[c])}if(l=l.defaultProps){u===n&&(u=k({},u));for(var f in l)u[f]===void 0&&(u[f]=l[f])}return u}function Ld(l){Oc(l)}function Ay(l){console.error(l)}function Zd(l){Oc(l)}function Io(l,n){try{var u=l.onUncaughtError;u(n.value,{componentStack:n.stack})}catch(c){setTimeout(function(){throw c})}}function wf(l,n,u){try{var c=l.onCaughtError;c(u.value,{componentStack:u.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function zy(l,n,u){return u=ti(u),u.tag=3,u.payload={element:null},u.callback=function(){Io(l,n)},u}function Oy(l){return l=ti(l),l.tag=3,l}function Dy(l,n,u,c){var f=u.type.getDerivedStateFromError;if(typeof f=="function"){var r=c.value;l.payload=function(){return f(r)},l.callback=function(){wf(n,u,c)}}var y=u.stateNode;y!==null&&typeof y.componentDidCatch=="function"&&(l.callback=function(){wf(n,u,c),typeof f!="function"&&(Kt===null?Kt=new Set([this]):Kt.add(this));var v=c.stack;this.componentDidCatch(c.value,{componentStack:v!==null?v:""})})}function i1(l,n,u,c,f){if(u.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(n=u.alternate,n!==null&&_l(n,u,f,!0),u=ra.current,u!==null){switch(u.tag){case 31:case 13:return Xa===null?fh():u.alternate===null&&Gt===0&&(Gt=3),u.flags&=-257,u.flags|=65536,u.lanes=f,c===Rc?u.flags|=16384:(n=u.updateQueue,n===null?u.updateQueue=new Set([c]):n.add(c),er(l,c,f)),!1;case 22:return u.flags|=65536,c===Rc?u.flags|=16384:(n=u.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([c])},u.updateQueue=n):(u=n.retryQueue,u===null?n.retryQueue=new Set([c]):u.add(c)),er(l,c,f)),!1}throw Error(S(435,u.tag))}return er(l,c,f),fh(),!1}if(ct)return n=ra.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=f,c!==ou&&(l=Error(S(422),{cause:c}),Go(qa(l,u)))):(c!==ou&&(n=Error(S(423),{cause:c}),Go(qa(n,u))),l=l.current.alternate,l.flags|=65536,f&=-f,l.lanes|=f,c=qa(c,u),f=zy(l.stateNode,c,f),Ad(l,f),Gt!==4&&(Gt=2)),!1;var r=Error(S(520),{cause:c});if(r=qa(r,u),kf===null?kf=[r]:kf.push(r),Gt!==4&&(Gt=2),n===null)return!0;c=qa(c,u),u=n;do{switch(u.tag){case 3:return u.flags|=65536,l=f&-f,u.lanes|=l,l=zy(u.stateNode,c,l),Ad(u,l),!1;case 1:if(n=u.type,r=u.stateNode,(u.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(Kt===null||!Kt.has(r))))return u.flags|=65536,f&=-f,u.lanes|=f,f=Oy(f),Dy(f,l,u,c),Ad(u,f),!1}u=u.return}while(u!==null);return!1}var Jd=Error(S(461)),dl=!1;function Qt(l,n,u,c){n.child=l===null?ny(n,null,u,c):qi(n,l.child,u,c)}function Cy(l,n,u,c,f){u=u.render;var r=n.ref;if("ref"in c){var y={};for(var v in c)v!=="ref"&&(y[v]=c[v])}else y=c;return we(n),c=_f(l,n,u,y,r,f),v=Cd(),l!==null&&!dl?(Yc(l,n,f),Za(l,n,f)):(ct&&v&&qo(n),n.flags|=1,Qt(l,n,c,f),n.child)}function My(l,n,u,c,f){if(l===null){var r=u.type;return typeof r=="function"&&!Dc(r)&&r.defaultProps===void 0&&u.compare===null?(n.tag=15,n.type=r,_y(l,n,r,c,f)):(l=gd(u.type,null,c,n,n.mode,f),l.ref=n.ref,l.return=n,n.child=l)}if(r=l.child,!Fd(l,f)){var y=r.memoizedProps;if(u=u.compare,u=u!==null?u:un,u(y,c)&&l.ref===n.ref)return Za(l,n,f)}return n.flags|=1,l=Fu(r,c),l.ref=n.ref,l.return=n,n.child=l}function _y(l,n,u,c,f){if(l!==null){var r=l.memoizedProps;if(un(r,c)&&l.ref===n.ref)if(dl=!1,n.pendingProps=c=r,Fd(l,f))(l.flags&131072)!==0&&(dl=!0);else return n.lanes=l.lanes,Za(l,n,f)}return Kd(l,n,u,c,f)}function lg(l,n,u,c){var f=c.children,r=l!==null?l.memoizedState:null;if(l===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.mode==="hidden"){if((n.flags&128)!==0){if(r=r!==null?r.baseLanes|u:u,l!==null){for(c=n.child=l.child,f=0;c!==null;)f=f|c.lanes|c.childLanes,c=c.sibling;c=f&~r}else c=0,n.child=null;return ha(l,n,r,u,c)}if((u&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},l!==null&&wo(n,r!==null?r.cachePool:null),r!==null?Lp(n,r):Cf(),Od(n);else return c=n.lanes=536870912,ha(l,n,r!==null?r.baseLanes|u:u,u,c)}else r!==null?(wo(n,r.cachePool),Lp(n,r),Hn(),n.memoizedState=null):(l!==null&&wo(n,null),Cf(),Hn());return Qt(l,n,f,u),n.child}function Li(l,n){return l!==null&&l.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function ha(l,n,u,c,f){var r=wa();return r=r===null?null:{parent:fl._currentValue,pool:r},n.memoizedState={baseLanes:u,cachePool:r},l!==null&&wo(n,null),Cf(),Od(n),l!==null&&_l(l,n,c,!0),n.childLanes=f,null}function Vf(l,n){return n=Lf({mode:n.mode,children:n.children},l.mode),n.ref=l.ref,l.child=n,n.return=l,n}function ma(l,n,u){return qi(n,l.child,null,u),l=Vf(n,n.pendingProps),l.flags|=2,da(n),n.memoizedState=null,l}function ag(l,n,u){var c=n.pendingProps,f=(n.flags&128)!==0;if(n.flags&=-129,l===null){if(ct){if(c.mode==="hidden")return l=Vf(n,c),n.lanes=536870912,Li(null,l);if(Lo(n),(l=qt)?(l=Yg(l,Sl),l=l!==null&&l.data==="&"?l:null,l!==null&&(n.memoizedState={dehydrated:l,treeContext:jn!==null?{id:Aa,overflow:Nn}:null,retryLane:536870912,hydrationErrors:null},u=Fm(l),u.return=n,n.child=u,Ml=n,qt=null)):l=null,l===null)throw rn(n);return n.lanes=536870912,null}return Vf(n,c)}var r=l.memoizedState;if(r!==null){var y=r.dehydrated;if(Lo(n),f)if(n.flags&256)n.flags&=-257,n=ma(l,n,u);else if(n.memoizedState!==null)n.child=l.child,n.flags|=128,n=null;else throw Error(S(558));else if(dl||_l(l,n,u,!1),f=(u&l.childLanes)!==0,dl||f){if(c=_t,c!==null&&(y=Na(c,u),y!==0&&y!==r.retryLane))throw r.retryLane=y,$u(l,y),va(c,l,y),Jd;fh(),n=ma(l,n,u)}else l=r.treeContext,qt=ba(y.nextSibling),Ml=n,ct=!0,cu=null,Sl=!1,l!==null&&gf(n,l),n=Vf(n,c),n.flags|=4096;return n}return l=Fu(l.child,{mode:c.mode,children:c.children}),l.ref=n.ref,n.child=l,l.return=n,l}function Qa(l,n){var u=n.ref;if(u===null)l!==null&&l.ref!==null&&(n.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error(S(284));(l===null||l.ref!==u)&&(n.flags|=4194816)}}function Kd(l,n,u,c,f){return we(n),u=_f(l,n,u,c,void 0,f),c=Cd(),l!==null&&!dl?(Yc(l,n,f),Za(l,n,f)):(ct&&c&&qo(n),n.flags|=1,Qt(l,n,u,f),n.child)}function Zi(l,n,u,c,f,r){return we(n),n.updateQueue=null,u=Jp(n,c,u,f),Dd(l),c=Cd(),l!==null&&!dl?(Yc(l,n,r),Za(l,n,r)):(ct&&c&&qo(n),n.flags|=1,Qt(l,n,u,r),n.child)}function jy(l,n,u,c,f){if(we(n),n.stateNode===null){var r=oa,y=u.contextType;typeof y=="object"&&y!==null&&(r=P(y)),r=new u(c,r),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=dn,n.stateNode=r,r._reactInternals=n,r=n.stateNode,r.props=c,r.state=n.memoizedState,r.refs={},Df(n),y=u.contextType,r.context=typeof y=="object"&&y!==null?P(y):oa,r.state=n.memoizedState,y=u.getDerivedStateFromProps,typeof y=="function"&&(Xc(n,u,y,c),r.state=n.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(y=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),y!==r.state&&dn.enqueueReplaceState(r,r.state,null),ru(n,c,r,f),Gi(),r.state=n.memoizedState),typeof r.componentDidMount=="function"&&(n.flags|=4194308),c=!0}else if(l===null){r=n.stateNode;var v=n.memoizedProps,A=Qi(u,v);r.props=A;var B=r.context,$=u.contextType;y=oa,typeof $=="object"&&$!==null&&(y=P($));var I=u.getDerivedStateFromProps;$=typeof I=="function"||typeof r.getSnapshotBeforeUpdate=="function",v=n.pendingProps!==v,$||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(v||B!==y)&&tg(n,r,c,y),ei=!1;var Y=n.memoizedState;r.state=Y,ru(n,c,r,f),Gi(),B=n.memoizedState,v||Y!==B||ei?(typeof I=="function"&&(Xc(n,u,I,c),B=n.memoizedState),(A=ei||Ey(n,u,A,c,Y,B,y))?($||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(n.flags|=4194308)):(typeof r.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=c,n.memoizedState=B),r.props=c,r.state=B,r.context=y,c=A):(typeof r.componentDidMount=="function"&&(n.flags|=4194308),c=!1)}else{r=n.stateNode,Ed(l,n),y=n.memoizedProps,$=Qi(u,y),r.props=$,I=n.pendingProps,Y=r.context,B=u.contextType,A=oa,typeof B=="object"&&B!==null&&(A=P(B)),v=u.getDerivedStateFromProps,(B=typeof v=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(y!==I||Y!==A)&&tg(n,r,c,A),ei=!1,Y=n.memoizedState,r.state=Y,ru(n,c,r,f),Gi();var X=n.memoizedState;y!==I||Y!==X||ei||l!==null&&l.dependencies!==null&&Mc(l.dependencies)?(typeof v=="function"&&(Xc(n,u,v,c),X=n.memoizedState),($=ei||Ey(n,u,$,c,Y,X,A)||l!==null&&l.dependencies!==null&&Mc(l.dependencies))?(B||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(c,X,A),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(c,X,A)),typeof r.componentDidUpdate=="function"&&(n.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof r.componentDidUpdate!="function"||y===l.memoizedProps&&Y===l.memoizedState||(n.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||y===l.memoizedProps&&Y===l.memoizedState||(n.flags|=1024),n.memoizedProps=c,n.memoizedState=X),r.props=c,r.state=X,r.context=A,c=$):(typeof r.componentDidUpdate!="function"||y===l.memoizedProps&&Y===l.memoizedState||(n.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||y===l.memoizedProps&&Y===l.memoizedState||(n.flags|=1024),c=!1)}return r=c,Qa(l,n),c=(n.flags&128)!==0,r||c?(r=n.stateNode,u=c&&typeof u.getDerivedStateFromError!="function"?null:r.render(),n.flags|=1,l!==null&&c?(n.child=qi(n,l.child,null,f),n.child=qi(n,null,u,f)):Qt(l,n,u,f),n.memoizedState=r.state,l=n.child):l=Za(l,n,f),l}function qn(l,n,u,c){return ji(),n.flags|=256,Qt(l,n,u,c),n.child}var Xf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Qf(l){return{baseLanes:l,cachePool:jc()}}function La(l,n,u){return l=l!==null?l.childLanes&~u:0,n&&(l|=ga),l}function Ny(l,n,u){var c=n.pendingProps,f=!1,r=(n.flags&128)!==0,y;if((y=r)||(y=l!==null&&l.memoizedState===null?!1:(Jt.current&2)!==0),y&&(f=!0,n.flags&=-129),y=(n.flags&32)!==0,n.flags&=-33,l===null){if(ct){if(f?du(n):Hn(),(l=qt)?(l=Yg(l,Sl),l=l!==null&&l.data!=="&"?l:null,l!==null&&(n.memoizedState={dehydrated:l,treeContext:jn!==null?{id:Aa,overflow:Nn}:null,retryLane:536870912,hydrationErrors:null},u=Fm(l),u.return=n,n.child=u,Ml=n,qt=null)):l=null,l===null)throw rn(n);return Ii(l)?n.lanes=32:n.lanes=536870912,null}var v=c.children;return c=c.fallback,f?(Hn(),f=n.mode,v=Lf({mode:"hidden",children:v},f),c=ku(c,f,u,null),v.return=n,c.return=n,v.sibling=c,n.child=v,c=n.child,c.memoizedState=Qf(u),c.childLanes=La(l,y,u),n.memoizedState=Xf,Li(null,c)):(du(n),Ji(n,v))}var A=l.memoizedState;if(A!==null&&(v=A.dehydrated,v!==null)){if(r)n.flags&256?(du(n),n.flags&=-257,n=Qc(l,n,u)):n.memoizedState!==null?(Hn(),n.child=l.child,n.flags|=128,n=null):(Hn(),v=c.fallback,f=n.mode,c=Lf({mode:"visible",children:c.children},f),v=ku(v,f,u,null),v.flags|=2,c.return=n,v.return=n,c.sibling=v,n.child=c,qi(n,l.child,null,u),c=n.child,c.memoizedState=Qf(u),c.childLanes=La(l,y,u),n.memoizedState=Xf,n=Li(null,c));else if(du(n),Ii(v)){if(y=v.nextSibling&&v.nextSibling.dataset,y)var B=y.dgst;y=B,c=Error(S(419)),c.stack="",c.digest=y,Go({value:c,source:null,stack:null}),n=Qc(l,n,u)}else if(dl||_l(l,n,u,!1),y=(u&l.childLanes)!==0,dl||y){if(y=_t,y!==null&&(c=Na(y,u),c!==0&&c!==A.retryLane))throw A.retryLane=c,$u(l,c),va(y,l,c),Jd;yn(v)||fh(),n=Qc(l,n,u)}else yn(v)?(n.flags|=192,n.child=l.child,n=null):(l=A.treeContext,qt=ba(v.nextSibling),Ml=n,ct=!0,cu=null,Sl=!1,l!==null&&gf(n,l),n=Ji(n,c.children),n.flags|=4096);return n}return f?(Hn(),v=c.fallback,f=n.mode,A=l.child,B=A.sibling,c=Fu(A,{mode:"hidden",children:c.children}),c.subtreeFlags=A.subtreeFlags&65011712,B!==null?v=Fu(B,v):(v=ku(v,f,u,null),v.flags|=2),v.return=n,c.return=n,c.sibling=v,n.child=c,Li(null,c),c=n.child,v=l.child.memoizedState,v===null?v=Qf(u):(f=v.cachePool,f!==null?(A=fl._currentValue,f=f.parent!==A?{parent:A,pool:A}:f):f=jc(),v={baseLanes:v.baseLanes|u,cachePool:f}),c.memoizedState=v,c.childLanes=La(l,y,u),n.memoizedState=Xf,Li(l.child,c)):(du(n),u=l.child,l=u.sibling,u=Fu(u,{mode:"visible",children:c.children}),u.return=n,u.sibling=null,l!==null&&(y=n.deletions,y===null?(n.deletions=[l],n.flags|=16):y.push(l)),n.child=u,n.memoizedState=null,u)}function Ji(l,n){return n=Lf({mode:"visible",children:n},l.mode),n.return=l,l.child=n}function Lf(l,n){return l=ll(22,l,null,n),l.lanes=0,l}function Qc(l,n,u){return qi(n,l.child,null,u),l=Ji(n,n.pendingProps.children),l.flags|=2,n.memoizedState=null,l}function Lc(l,n,u){l.lanes|=n;var c=l.alternate;c!==null&&(c.lanes|=n),Td(l.return,n,u)}function $d(l,n,u,c,f,r){var y=l.memoizedState;y===null?l.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:c,tail:u,tailMode:f,treeForkCount:r}:(y.isBackwards=n,y.rendering=null,y.renderingStartTime=0,y.last=c,y.tail=u,y.tailMode=f,y.treeForkCount=r)}function Ry(l,n,u){var c=n.pendingProps,f=c.revealOrder,r=c.tail;c=c.children;var y=Jt.current,v=(y&2)!==0;if(v?(y=y&1|2,n.flags|=128):y&=1,ye(Jt,y),Qt(l,n,c,u),c=ct?sl:0,!v&&l!==null&&(l.flags&128)!==0)e:for(l=n.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Lc(l,u,n);else if(l.tag===19)Lc(l,u,n);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break e;for(;l.sibling===null;){if(l.return===null||l.return===n)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(f){case"forwards":for(u=n.child,f=null;u!==null;)l=u.alternate,l!==null&&Zo(l)===null&&(f=u),u=u.sibling;u=f,u===null?(f=n.child,n.child=null):(f=u.sibling,u.sibling=null),$d(n,!1,f,u,r,c);break;case"backwards":case"unstable_legacy-backwards":for(u=null,f=n.child,n.child=null;f!==null;){if(l=f.alternate,l!==null&&Zo(l)===null){n.child=f;break}l=f.sibling,f.sibling=u,u=f,f=l}$d(n,!0,u,null,r,c);break;case"together":$d(n,!1,null,null,void 0,c);break;default:n.memoizedState=null}return n.child}function Za(l,n,u){if(l!==null&&(n.dependencies=l.dependencies),Vn|=n.lanes,(u&n.childLanes)===0)if(l!==null){if(_l(l,n,u,!1),(u&n.childLanes)===0)return null}else return null;if(l!==null&&n.child!==l.child)throw Error(S(153));if(n.child!==null){for(l=n.child,u=Fu(l,l.pendingProps),n.child=u,u.return=n;l.sibling!==null;)l=l.sibling,u=u.sibling=Fu(l,l.pendingProps),u.return=n;u.sibling=null}return n.child}function Fd(l,n){return(l.lanes&n)!==0?!0:(l=l.dependencies,!!(l!==null&&Mc(l)))}function kd(l,n,u){switch(n.tag){case 3:Se(n,n.stateNode.containerInfo),fa(n,fl,l.memoizedState.cache),ji();break;case 27:case 5:cl(n);break;case 4:Se(n,n.stateNode.containerInfo);break;case 10:fa(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,Lo(n),null;break;case 13:var c=n.memoizedState;if(c!==null)return c.dehydrated!==null?(du(n),n.flags|=128,null):(u&n.child.childLanes)!==0?Ny(l,n,u):(du(n),l=Za(l,n,u),l!==null?l.sibling:null);du(n);break;case 19:var f=(l.flags&128)!==0;if(c=(u&n.childLanes)!==0,c||(_l(l,n,u,!1),c=(u&n.childLanes)!==0),f){if(c)return Ry(l,n,u);n.flags|=128}if(f=n.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),ye(Jt,Jt.current),c)break;return null;case 22:return n.lanes=0,lg(l,n,u,n.pendingProps);case 24:fa(n,fl,l.memoizedState.cache)}return Za(l,n,u)}function Uy(l,n,u){if(l!==null)if(l.memoizedProps!==n.pendingProps)dl=!0;else{if(!Fd(l,u)&&(n.flags&128)===0)return dl=!1,kd(l,n,u);dl=(l.flags&131072)!==0}else dl=!1,ct&&(n.flags&1048576)!==0&&Wm(n,sl,n.index);switch(n.lanes=0,n.tag){case 16:e:{var c=n.pendingProps;if(l=Ui(n.elementType),n.type=l,typeof l=="function")Dc(l)?(c=Qi(l,c),n.tag=1,n=jy(null,n,l,c,u)):(n.tag=0,n=Kd(null,n,l,c,u));else{if(l!=null){var f=l.$$typeof;if(f===Ge){n.tag=11,n=Cy(null,n,l,c,u);break e}else if(f===Ee){n.tag=14,n=My(null,n,l,c,u);break e}}throw n=Ut(l)||l,Error(S(306,n,""))}}return n;case 0:return Kd(l,n,n.type,n.pendingProps,u);case 1:return c=n.type,f=Qi(c,n.pendingProps),jy(l,n,c,f,u);case 3:e:{if(Se(n,n.stateNode.containerInfo),l===null)throw Error(S(387));c=n.pendingProps;var r=n.memoizedState;f=r.element,Ed(l,n),ru(n,c,null,u);var y=n.memoizedState;if(c=y.cache,fa(n,fl,c),c!==r.cache&&fu(n,[fl],u,!0),Gi(),c=y.element,r.isDehydrated)if(r={element:c,isDehydrated:!1,cache:y.cache},n.updateQueue.baseState=r,n.memoizedState=r,n.flags&256){n=qn(l,n,c,u);break e}else if(c!==f){f=qa(Error(S(424)),n),Go(f),n=qn(l,n,c,u);break e}else for(l=n.stateNode.containerInfo,l.nodeType===9?l=l.body:l=l.nodeName==="HTML"?l.ownerDocument.body:l,qt=ba(l.firstChild),Ml=n,ct=!0,cu=null,Sl=!0,u=ny(n,null,c,u),n.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling;else{if(ji(),c===f){n=Za(l,n,u);break e}Qt(l,n,c,u)}n=n.child}return n;case 26:return Qa(l,n),l===null?(u=Ss(n.type,null,n.pendingProps,null))?n.memoizedState=u:ct||(u=n.type,l=n.pendingProps,c=Wi(yl.current).createElement(u),c[Ct]=n,c[ua]=l,Ll(c,u,l),Tt(c),n.stateNode=c):n.memoizedState=Ss(n.type,l.memoizedProps,n.pendingProps,l.memoizedState),null;case 27:return cl(n),l===null&&ct&&(c=n.stateNode=vs(n.type,n.pendingProps,yl.current),Ml=n,Sl=!0,f=qt,Qn(n.type)?(sr=f,qt=ba(c.firstChild)):qt=f),Qt(l,n,n.pendingProps.children,u),Qa(l,n),l===null&&(n.flags|=4194304),n.child;case 5:return l===null&&ct&&((f=c=qt)&&(c=s1(c,n.type,n.pendingProps,Sl),c!==null?(n.stateNode=c,Ml=n,qt=ba(c.firstChild),Sl=!1,f=!0):f=!1),f||rn(n)),cl(n),f=n.type,r=n.pendingProps,y=l!==null?l.memoizedProps:null,c=r.children,ps(f,r)?c=null:y!==null&&ps(f,y)&&(n.flags|=32),n.memoizedState!==null&&(f=_f(l,n,u1,null,null,u),dr._currentValue=f),Qa(l,n),Qt(l,n,c,u),n.child;case 6:return l===null&&ct&&((l=u=qt)&&(u=Ie(u,n.pendingProps,Sl),u!==null?(n.stateNode=u,Ml=n,qt=null,l=!0):l=!1),l||rn(n)),null;case 13:return Ny(l,n,u);case 4:return Se(n,n.stateNode.containerInfo),c=n.pendingProps,l===null?n.child=qi(n,null,c,u):Qt(l,n,c,u),n.child;case 11:return Cy(l,n,n.type,n.pendingProps,u);case 7:return Qt(l,n,n.pendingProps,u),n.child;case 8:return Qt(l,n,n.pendingProps.children,u),n.child;case 12:return Qt(l,n,n.pendingProps.children,u),n.child;case 10:return c=n.pendingProps,fa(n,n.type,c.value),Qt(l,n,c.children,u),n.child;case 9:return f=n.type._context,c=n.pendingProps.children,we(n),f=P(f),c=c(f),n.flags|=1,Qt(l,n,c,u),n.child;case 14:return My(l,n,n.type,n.pendingProps,u);case 15:return _y(l,n,n.type,n.pendingProps,u);case 19:return Ry(l,n,u);case 31:return ag(l,n,u);case 22:return lg(l,n,u,n.pendingProps);case 24:return we(n),c=P(fl),l===null?(f=wa(),f===null&&(f=_t,r=Sf(),f.pooledCache=r,r.refCount++,r!==null&&(f.pooledCacheLanes|=u),f=r),n.memoizedState={parent:c,cache:f},Df(n),fa(n,fl,f)):((l.lanes&u)!==0&&(Ed(l,n),ru(n,null,null,u),Gi()),f=l.memoizedState,r=n.memoizedState,f.parent!==c?(f={parent:c,cache:c},n.memoizedState=f,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=f),fa(n,fl,c)):(c=r.cache,fa(n,fl,c),c!==f.cache&&fu(n,[fl],u,!0))),Qt(l,n,n.pendingProps.children,u),n.child;case 29:throw n.pendingProps}throw Error(S(156,n.tag))}function vu(l){l.flags|=4}function Hy(l,n,u,c,f){if((n=(l.mode&32)!==0)&&(n=!1),n){if(l.flags|=16777216,(f&335544128)===f)if(l.stateNode.complete)l.flags|=8192;else if(hg())l.flags|=8192;else throw Hi=Rc,Nc}else l.flags&=-16777217}function By(l,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!_a(n))if(hg())l.flags|=8192;else throw Hi=Rc,Nc}function Wl(l,n){n!==null&&(l.flags|=4),l.flags&16384&&(n=l.tag!==22?fc():536870912,l.lanes|=n,Pt|=n)}function Po(l,n){if(!ct)switch(l.tailMode){case"hidden":n=l.tail;for(var u=null;n!==null;)n.alternate!==null&&(u=n),n=n.sibling;u===null?l.tail=null:u.sibling=null;break;case"collapsed":u=l.tail;for(var c=null;u!==null;)u.alternate!==null&&(c=u),u=u.sibling;c===null?n||l.tail===null?l.tail=null:l.tail.sibling=null:c.sibling=null}}function Ye(l){var n=l.alternate!==null&&l.alternate.child===l.child,u=0,c=0;if(n)for(var f=l.child;f!==null;)u|=f.lanes|f.childLanes,c|=f.subtreeFlags&65011712,c|=f.flags&65011712,f.return=l,f=f.sibling;else for(f=l.child;f!==null;)u|=f.lanes|f.childLanes,c|=f.subtreeFlags,c|=f.flags,f.return=l,f=f.sibling;return l.subtreeFlags|=c,l.childLanes=u,n}function ng(l,n,u){var c=n.pendingProps;switch(bd(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ye(n),null;case 1:return Ye(n),null;case 3:return u=n.stateNode,c=null,l!==null&&(c=l.memoizedState.cache),n.memoizedState.cache!==c&&(n.flags|=2048),Un(fl),He(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(l===null||l.child===null)&&(su(n)?vu(n):l===null||l.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Im())),Ye(n),null;case 26:var f=n.type,r=n.memoizedState;return l===null?(vu(n),r!==null?(Ye(n),By(n,r)):(Ye(n),Hy(n,f,null,c,u))):r?r!==l.memoizedState?(vu(n),Ye(n),By(n,r)):(Ye(n),n.flags&=-16777217):(l=l.memoizedProps,l!==c&&vu(n),Ye(n),Hy(n,f,l,c,u)),null;case 27:if(ee(n),u=yl.current,f=n.type,l!==null&&n.stateNode!=null)l.memoizedProps!==c&&vu(n);else{if(!c){if(n.stateNode===null)throw Error(S(166));return Ye(n),null}l=ae.current,su(n)?vf(n):(l=vs(f,c,u),n.stateNode=l,vu(n))}return Ye(n),null;case 5:if(ee(n),f=n.type,l!==null&&n.stateNode!=null)l.memoizedProps!==c&&vu(n);else{if(!c){if(n.stateNode===null)throw Error(S(166));return Ye(n),null}if(r=ae.current,su(n))vf(n);else{var y=Wi(yl.current);switch(r){case 1:r=y.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:r=y.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":r=y.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":r=y.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":r=y.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof c.is=="string"?y.createElement("select",{is:c.is}):y.createElement("select"),c.multiple?r.multiple=!0:c.size&&(r.size=c.size);break;default:r=typeof c.is=="string"?y.createElement(f,{is:c.is}):y.createElement(f)}}r[Ct]=n,r[ua]=c;e:for(y=n.child;y!==null;){if(y.tag===5||y.tag===6)r.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===n)break e;for(;y.sibling===null;){if(y.return===null||y.return===n)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}n.stateNode=r;e:switch(Ll(r,f,c),f){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&vu(n)}}return Ye(n),Hy(n,n.type,l===null?null:l.memoizedProps,n.pendingProps,u),null;case 6:if(l&&n.stateNode!=null)l.memoizedProps!==c&&vu(n);else{if(typeof c!="string"&&n.stateNode===null)throw Error(S(166));if(l=yl.current,su(n)){if(l=n.stateNode,u=n.memoizedProps,c=null,f=Ml,f!==null)switch(f.tag){case 27:case 5:c=f.memoizedProps}l[Ct]=n,l=!!(l.nodeValue===u||c!==null&&c.suppressHydrationWarning===!0||i0(l.nodeValue,u)),l||rn(n,!0)}else l=Wi(l).createTextNode(c),l[Ct]=n,n.stateNode=l}return Ye(n),null;case 31:if(u=n.memoizedState,l===null||l.memoizedState!==null){if(c=su(n),u!==null){if(l===null){if(!c)throw Error(S(318));if(l=n.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(S(557));l[Ct]=n}else ji(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ye(n),l=!1}else u=Im(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=u),l=!0;if(!l)return n.flags&256?(da(n),n):(da(n),null);if((n.flags&128)!==0)throw Error(S(558))}return Ye(n),null;case 13:if(c=n.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(f=su(n),c!==null&&c.dehydrated!==null){if(l===null){if(!f)throw Error(S(318));if(f=n.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(S(317));f[Ct]=n}else ji(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ye(n),f=!1}else f=Im(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=f),f=!0;if(!f)return n.flags&256?(da(n),n):(da(n),null)}return da(n),(n.flags&128)!==0?(n.lanes=u,n):(u=c!==null,l=l!==null&&l.memoizedState!==null,u&&(c=n.child,f=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(f=c.alternate.memoizedState.cachePool.pool),r=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(r=c.memoizedState.cachePool.pool),r!==f&&(c.flags|=2048)),u!==l&&u&&(n.child.flags|=8192),Wl(n,n.updateQueue),Ye(n),null);case 4:return He(),l===null&&ys(n.stateNode.containerInfo),Ye(n),null;case 10:return Un(n.type),Ye(n),null;case 19:if(de(Jt),c=n.memoizedState,c===null)return Ye(n),null;if(f=(n.flags&128)!==0,r=c.rendering,r===null)if(f)Po(c,!1);else{if(Gt!==0||l!==null&&(l.flags&128)!==0)for(l=n.child;l!==null;){if(r=Zo(l),r!==null){for(n.flags|=128,Po(c,!1),l=r.updateQueue,n.updateQueue=l,Wl(n,l),n.subtreeFlags=0,l=u,u=n.child;u!==null;)$m(u,l),u=u.sibling;return ye(Jt,Jt.current&1|2),ct&&fn(n,c.treeForkCount),n.child}l=l.sibling}c.tail!==null&&Xl()>bt&&(n.flags|=128,f=!0,Po(c,!1),n.lanes=4194304)}else{if(!f)if(l=Zo(r),l!==null){if(n.flags|=128,f=!0,l=l.updateQueue,n.updateQueue=l,Wl(n,l),Po(c,!0),c.tail===null&&c.tailMode==="hidden"&&!r.alternate&&!ct)return Ye(n),null}else 2*Xl()-c.renderingStartTime>bt&&u!==536870912&&(n.flags|=128,f=!0,Po(c,!1),n.lanes=4194304);c.isBackwards?(r.sibling=n.child,n.child=r):(l=c.last,l!==null?l.sibling=r:n.child=r,c.last=r)}return c.tail!==null?(l=c.tail,c.rendering=l,c.tail=l.sibling,c.renderingStartTime=Xl(),l.sibling=null,u=Jt.current,ye(Jt,f?u&1|2:u&1),ct&&fn(n,c.treeForkCount),l):(Ye(n),null);case 22:case 23:return da(n),Qo(),c=n.memoizedState!==null,l!==null?l.memoizedState!==null!==c&&(n.flags|=8192):c&&(n.flags|=8192),c?(u&536870912)!==0&&(n.flags&128)===0&&(Ye(n),n.subtreeFlags&6&&(n.flags|=8192)):Ye(n),u=n.updateQueue,u!==null&&Wl(n,u.retryQueue),u=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),c=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(c=n.memoizedState.cachePool.pool),c!==u&&(n.flags|=2048),l!==null&&de(Ga),null;case 24:return u=null,l!==null&&(u=l.memoizedState.cache),n.memoizedState.cache!==u&&(n.flags|=2048),Un(fl),Ye(n),null;case 25:return null;case 30:return null}throw Error(S(156,n.tag))}function ug(l,n){switch(bd(n),n.tag){case 1:return l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 3:return Un(fl),He(),l=n.flags,(l&65536)!==0&&(l&128)===0?(n.flags=l&-65537|128,n):null;case 26:case 27:case 5:return ee(n),null;case 31:if(n.memoizedState!==null){if(da(n),n.alternate===null)throw Error(S(340));ji()}return l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 13:if(da(n),l=n.memoizedState,l!==null&&l.dehydrated!==null){if(n.alternate===null)throw Error(S(340));ji()}return l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 19:return de(Jt),null;case 4:return He(),null;case 10:return Un(n.type),null;case 22:case 23:return da(n),Qo(),l!==null&&de(Ga),l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 24:return Un(fl),null;case 25:return null;default:return null}}function ig(l,n){switch(bd(n),n.tag){case 3:Un(fl),He();break;case 26:case 27:case 5:ee(n);break;case 4:He();break;case 31:n.memoizedState!==null&&da(n);break;case 13:da(n);break;case 19:de(Jt);break;case 10:Un(n.type);break;case 22:case 23:da(n),Qo(),l!==null&&de(Ga);break;case 24:Un(fl)}}function hn(l,n){try{var u=n.updateQueue,c=u!==null?u.lastEffect:null;if(c!==null){var f=c.next;u=f;do{if((u.tag&l)===l){c=void 0;var r=u.create,y=u.inst;c=r(),y.destroy=c}u=u.next}while(u!==f)}}catch(v){zt(n,n.return,v)}}function Ja(l,n,u){try{var c=n.updateQueue,f=c!==null?c.lastEffect:null;if(f!==null){var r=f.next;c=r;do{if((c.tag&l)===l){var y=c.inst,v=y.destroy;if(v!==void 0){y.destroy=void 0,f=n;var A=u,B=v;try{B()}catch($){zt(f,A,$)}}}c=c.next}while(c!==r)}}catch($){zt(n,n.return,$)}}function Wd(l){var n=l.updateQueue;if(n!==null){var u=l.stateNode;try{wi(n,u)}catch(c){zt(l,l.return,c)}}}function Ki(l,n,u){u.props=Qi(l.type,l.memoizedProps),u.state=l.memoizedState;try{u.componentWillUnmount()}catch(c){zt(l,n,c)}}function bu(l,n){try{var u=l.ref;if(u!==null){switch(l.tag){case 26:case 27:case 5:var c=l.stateNode;break;case 30:c=l.stateNode;break;default:c=l.stateNode}typeof u=="function"?l.refCleanup=u(c):u.current=c}}catch(f){zt(l,n,f)}}function Yn(l,n){var u=l.ref,c=l.refCleanup;if(u!==null)if(typeof c=="function")try{c()}catch(f){zt(l,n,f)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(f){zt(l,n,f)}else u.current=null}function qy(l){var n=l.type,u=l.memoizedProps,c=l.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":u.autoFocus&&c.focus();break e;case"img":u.src?c.src=u.src:u.srcSet&&(c.srcset=u.srcSet)}}catch(f){zt(l,l.return,f)}}function Id(l,n,u){try{var c=l.stateNode;o0(c,l.type,u,n),c[ua]=n}catch(f){zt(l,l.return,f)}}function Yy(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&Qn(l.type)||l.tag===4}function es(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||Yy(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&Qn(l.type)||l.flags&2||l.child===null||l.tag===4)continue e;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function ts(l,n,u){var c=l.tag;if(c===5||c===6)l=l.stateNode,n?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(l,n):(n=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,n.appendChild(l),u=u._reactRootContainer,u!=null||n.onclick!==null||(n.onclick=An));else if(c!==4&&(c===27&&Qn(l.type)&&(u=l.stateNode,n=null),l=l.child,l!==null))for(ts(l,n,u),l=l.sibling;l!==null;)ts(l,n,u),l=l.sibling}function ls(l,n,u){var c=l.tag;if(c===5||c===6)l=l.stateNode,n?u.insertBefore(l,n):u.appendChild(l);else if(c!==4&&(c===27&&Qn(l.type)&&(u=l.stateNode),l=l.child,l!==null))for(ls(l,n,u),l=l.sibling;l!==null;)ls(l,n,u),l=l.sibling}function Gy(l){var n=l.stateNode,u=l.memoizedProps;try{for(var c=l.type,f=n.attributes;f.length;)n.removeAttributeNode(f[0]);Ll(n,c,u),n[Ct]=l,n[ua]=u}catch(r){zt(l,l.return,r)}}var ui=!1,gl=!1,Pd=!1,wy=typeof WeakSet=="function"?WeakSet:Set,Rl=null;function as(l,n){if(l=l.containerInfo,bh=El,l=Ci(l),rf(l)){if("selectionStart"in l)var u={start:l.selectionStart,end:l.selectionEnd};else e:{u=(u=l.ownerDocument)&&u.defaultView||window;var c=u.getSelection&&u.getSelection();if(c&&c.rangeCount!==0){u=c.anchorNode;var f=c.anchorOffset,r=c.focusNode;c=c.focusOffset;try{u.nodeType,r.nodeType}catch{u=null;break e}var y=0,v=-1,A=-1,B=0,$=0,I=l,Y=null;t:for(;;){for(var X;I!==u||f!==0&&I.nodeType!==3||(v=y+f),I!==r||c!==0&&I.nodeType!==3||(A=y+c),I.nodeType===3&&(y+=I.nodeValue.length),(X=I.firstChild)!==null;)Y=I,I=X;for(;;){if(I===l)break t;if(Y===u&&++B===f&&(v=y),Y===r&&++$===c&&(A=y),(X=I.nextSibling)!==null)break;I=Y,Y=I.parentNode}I=X}u=v===-1||A===-1?null:{start:v,end:A}}else u=null}u=u||{start:0,end:0}}else u=null;for(Sh={focusedElem:l,selectionRange:u},El=!1,Rl=n;Rl!==null;)if(n=Rl,l=n.child,(n.subtreeFlags&1028)!==0&&l!==null)l.return=n,Rl=l;else for(;Rl!==null;){switch(n=Rl,r=n.alternate,l=n.flags,n.tag){case 0:if((l&4)!==0&&(l=n.updateQueue,l=l!==null?l.events:null,l!==null))for(u=0;u<l.length;u++)f=l[u],f.ref.impl=f.nextImpl;break;case 11:case 15:break;case 1:if((l&1024)!==0&&r!==null){l=void 0,u=n,f=r.memoizedProps,r=r.memoizedState,c=u.stateNode;try{var ve=Qi(u.type,f);l=c.getSnapshotBeforeUpdate(ve,r),c.__reactInternalSnapshotBeforeUpdate=l}catch(Ne){zt(u,u.return,Ne)}}break;case 3:if((l&1024)!==0){if(l=n.stateNode.containerInfo,u=l.nodeType,u===9)or(l);else if(u===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":or(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error(S(163))}if(l=n.sibling,l!==null){l.return=n.return,Rl=l;break}Rl=n.return}}function Zf(l,n,u){var c=u.flags;switch(u.tag){case 0:case 11:case 15:ii(l,u),c&4&&hn(5,u);break;case 1:if(ii(l,u),c&4)if(l=u.stateNode,n===null)try{l.componentDidMount()}catch(y){zt(u,u.return,y)}else{var f=Qi(u.type,n.memoizedProps);n=n.memoizedState;try{l.componentDidUpdate(f,n,l.__reactInternalSnapshotBeforeUpdate)}catch(y){zt(u,u.return,y)}}c&64&&Wd(u),c&512&&bu(u,u.return);break;case 3:if(ii(l,u),c&64&&(l=u.updateQueue,l!==null)){if(n=null,u.child!==null)switch(u.child.tag){case 27:case 5:n=u.child.stateNode;break;case 1:n=u.child.stateNode}try{wi(l,n)}catch(y){zt(u,u.return,y)}}break;case 27:n===null&&c&4&&Gy(u);case 26:case 5:ii(l,u),n===null&&c&4&&qy(u),c&512&&bu(u,u.return);break;case 12:ii(l,u);break;case 31:ii(l,u),c&4&&cg(l,u);break;case 13:ii(l,u),c&4&&Qy(l,u),c&64&&(l=u.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(u=Ka.bind(null,u),gs(l,u))));break;case 22:if(c=u.memoizedState!==null||ui,!c){n=n!==null&&n.memoizedState!==null||gl,f=ui;var r=gl;ui=c,(gl=n)&&!r?Gn(l,u,(u.subtreeFlags&8772)!==0):ii(l,u),ui=f,gl=r}break;case 30:break;default:ii(l,u)}}function Vy(l){var n=l.alternate;n!==null&&(l.alternate=null,Vy(n)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(n=l.stateNode,n!==null&&Fr(n)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}var Yt=null,ya=!1;function Su(l,n,u){for(u=u.child;u!==null;)Xy(l,n,u),u=u.sibling}function Xy(l,n,u){if(xa&&typeof xa.onCommitFiberUnmount=="function")try{xa.onCommitFiberUnmount(sc,u)}catch{}switch(u.tag){case 26:gl||Yn(u,n),Su(l,n,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:gl||Yn(u,n);var c=Yt,f=ya;Qn(u.type)&&(Yt=u.stateNode,ya=!1),Su(l,n,u),Ic(u.stateNode),Yt=c,ya=f;break;case 5:gl||Yn(u,n);case 6:if(c=Yt,f=ya,Yt=null,Su(l,n,u),Yt=c,ya=f,Yt!==null)if(ya)try{(Yt.nodeType===9?Yt.body:Yt.nodeName==="HTML"?Yt.ownerDocument.body:Yt).removeChild(u.stateNode)}catch(r){zt(u,n,r)}else try{Yt.removeChild(u.stateNode)}catch(r){zt(u,n,r)}break;case 18:Yt!==null&&(ya?(l=Yt,d0(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,u.stateNode),Cs(l)):d0(Yt,u.stateNode));break;case 4:c=Yt,f=ya,Yt=u.stateNode.containerInfo,ya=!0,Su(l,n,u),Yt=c,ya=f;break;case 0:case 11:case 14:case 15:Ja(2,u,n),gl||Ja(4,u,n),Su(l,n,u);break;case 1:gl||(Yn(u,n),c=u.stateNode,typeof c.componentWillUnmount=="function"&&Ki(u,n,c)),Su(l,n,u);break;case 21:Su(l,n,u);break;case 22:gl=(c=gl)||u.memoizedState!==null,Su(l,n,u),gl=c;break;default:Su(l,n,u)}}function cg(l,n){if(n.memoizedState===null&&(l=n.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{Cs(l)}catch(u){zt(n,n.return,u)}}}function Qy(l,n){if(n.memoizedState===null&&(l=n.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Cs(l)}catch(u){zt(n,n.return,u)}}function Jf(l){switch(l.tag){case 31:case 13:case 19:var n=l.stateNode;return n===null&&(n=l.stateNode=new wy),n;case 22:return l=l.stateNode,n=l._retryCache,n===null&&(n=l._retryCache=new wy),n;default:throw Error(S(435,l.tag))}}function Kf(l,n){var u=Jf(l);n.forEach(function(c){if(!u.has(c)){u.add(c);var f=Cg.bind(null,l,c);c.then(f,f)}})}function pa(l,n){var u=n.deletions;if(u!==null)for(var c=0;c<u.length;c++){var f=u[c],r=l,y=n,v=y;e:for(;v!==null;){switch(v.tag){case 27:if(Qn(v.type)){Yt=v.stateNode,ya=!1;break e}break;case 5:Yt=v.stateNode,ya=!1;break e;case 3:case 4:Yt=v.stateNode.containerInfo,ya=!0;break e}v=v.return}if(Yt===null)throw Error(S(160));Xy(r,y,f),Yt=null,ya=!1,r=f.alternate,r!==null&&(r.return=null),f.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)eh(n,l),n=n.sibling}var $e=null;function eh(l,n){var u=l.alternate,c=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:pa(n,l),za(l),c&4&&(Ja(3,l,l.return),hn(3,l),Ja(5,l,l.return));break;case 1:pa(n,l),za(l),c&512&&(gl||u===null||Yn(u,u.return)),c&64&&ui&&(l=l.updateQueue,l!==null&&(c=l.callbacks,c!==null&&(u=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=u===null?c:u.concat(c))));break;case 26:var f=$e;if(pa(n,l),za(l),c&512&&(gl||u===null||Yn(u,u.return)),c&4){var r=u!==null?u.memoizedState:null;if(c=l.memoizedState,u===null)if(c===null)if(l.stateNode===null){e:{c=l.type,u=l.memoizedProps,f=f.ownerDocument||f;t:switch(c){case"title":r=f.getElementsByTagName("title")[0],(!r||r[Pn]||r[Ct]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=f.createElement(c),f.head.insertBefore(r,f.querySelector("head > title"))),Ll(r,c,u),r[Ct]=l,Tt(r),c=r;break e;case"link":var y=p0("link","href",f).get(c+(u.href||""));if(y){for(var v=0;v<y.length;v++)if(r=y[v],r.getAttribute("href")===(u.href==null||u.href===""?null:u.href)&&r.getAttribute("rel")===(u.rel==null?null:u.rel)&&r.getAttribute("title")===(u.title==null?null:u.title)&&r.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){y.splice(v,1);break t}}r=f.createElement(c),Ll(r,c,u),f.head.appendChild(r);break;case"meta":if(y=p0("meta","content",f).get(c+(u.content||""))){for(v=0;v<y.length;v++)if(r=y[v],r.getAttribute("content")===(u.content==null?null:""+u.content)&&r.getAttribute("name")===(u.name==null?null:u.name)&&r.getAttribute("property")===(u.property==null?null:u.property)&&r.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&r.getAttribute("charset")===(u.charSet==null?null:u.charSet)){y.splice(v,1);break t}}r=f.createElement(c),Ll(r,c,u),f.head.appendChild(r);break;default:throw Error(S(468,c))}r[Ct]=l,Tt(r),c=r}l.stateNode=c}else zh(f,l.type,l.stateNode);else l.stateNode=y0(f,c,l.memoizedProps);else r!==c?(r===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):r.count--,c===null?zh(f,l.type,l.stateNode):y0(f,c,l.memoizedProps)):c===null&&l.stateNode!==null&&Id(l,l.memoizedProps,u.memoizedProps)}break;case 27:pa(n,l),za(l),c&512&&(gl||u===null||Yn(u,u.return)),u!==null&&c&4&&Id(l,l.memoizedProps,u.memoizedProps);break;case 5:if(pa(n,l),za(l),c&512&&(gl||u===null||Yn(u,u.return)),l.flags&32){f=l.stateNode;try{tu(f,"")}catch(ve){zt(l,l.return,ve)}}c&4&&l.stateNode!=null&&(f=l.memoizedProps,Id(l,f,u!==null?u.memoizedProps:f)),c&1024&&(Pd=!0);break;case 6:if(pa(n,l),za(l),c&4){if(l.stateNode===null)throw Error(S(162));c=l.memoizedProps,u=l.stateNode;try{u.nodeValue=c}catch(ve){zt(l,l.return,ve)}}break;case 3:if(Es=null,f=$e,$e=Il(n.containerInfo),pa(n,l),$e=f,za(l),c&4&&u!==null&&u.memoizedState.isDehydrated)try{Cs(n.containerInfo)}catch(ve){zt(l,l.return,ve)}Pd&&(Pd=!1,Ly(l));break;case 4:c=$e,$e=Il(l.stateNode.containerInfo),pa(n,l),za(l),$e=c;break;case 12:pa(n,l),za(l);break;case 31:pa(n,l),za(l),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,Kf(l,c)));break;case 13:pa(n,l),za(l),l.child.flags&8192&&l.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(Xn=Xl()),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,Kf(l,c)));break;case 22:f=l.memoizedState!==null;var A=u!==null&&u.memoizedState!==null,B=ui,$=gl;if(ui=B||f,gl=$||A,pa(n,l),gl=$,ui=B,za(l),c&8192)e:for(n=l.stateNode,n._visibility=f?n._visibility&-2:n._visibility|1,f&&(u===null||A||ui||gl||Zc(l)),u=null,n=l;;){if(n.tag===5||n.tag===26){if(u===null){A=u=n;try{if(r=A.stateNode,f)y=r.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none";else{v=A.stateNode;var I=A.memoizedProps.style,Y=I!=null&&I.hasOwnProperty("display")?I.display:null;v.style.display=Y==null||typeof Y=="boolean"?"":(""+Y).trim()}}catch(ve){zt(A,A.return,ve)}}}else if(n.tag===6){if(u===null){A=n;try{A.stateNode.nodeValue=f?"":A.memoizedProps}catch(ve){zt(A,A.return,ve)}}}else if(n.tag===18){if(u===null){A=n;try{var X=A.stateNode;f?hl(X,!0):hl(A.stateNode,!1)}catch(ve){zt(A,A.return,ve)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===l)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break e;for(;n.sibling===null;){if(n.return===null||n.return===l)break e;u===n&&(u=null),n=n.return}u===n&&(u=null),n.sibling.return=n.return,n=n.sibling}c&4&&(c=l.updateQueue,c!==null&&(u=c.retryQueue,u!==null&&(c.retryQueue=null,Kf(l,u))));break;case 19:pa(n,l),za(l),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,Kf(l,c)));break;case 30:break;case 21:break;default:pa(n,l),za(l)}}function za(l){var n=l.flags;if(n&2){try{for(var u,c=l.return;c!==null;){if(Yy(c)){u=c;break}c=c.return}if(u==null)throw Error(S(160));switch(u.tag){case 27:var f=u.stateNode,r=es(l);ls(l,r,f);break;case 5:var y=u.stateNode;u.flags&32&&(tu(y,""),u.flags&=-33);var v=es(l);ls(l,v,y);break;case 3:case 4:var A=u.stateNode.containerInfo,B=es(l);ts(l,B,A);break;default:throw Error(S(161))}}catch($){zt(l,l.return,$)}l.flags&=-3}n&4096&&(l.flags&=-4097)}function Ly(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var n=l;Ly(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),l=l.sibling}}function ii(l,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)Zf(l,n.alternate,n),n=n.sibling}function Zc(l){for(l=l.child;l!==null;){var n=l;switch(n.tag){case 0:case 11:case 14:case 15:Ja(4,n,n.return),Zc(n);break;case 1:Yn(n,n.return);var u=n.stateNode;typeof u.componentWillUnmount=="function"&&Ki(n,n.return,u),Zc(n);break;case 27:Ic(n.stateNode);case 26:case 5:Yn(n,n.return),Zc(n);break;case 22:n.memoizedState===null&&Zc(n);break;case 30:Zc(n);break;default:Zc(n)}l=l.sibling}}function Gn(l,n,u){for(u=u&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var c=n.alternate,f=l,r=n,y=r.flags;switch(r.tag){case 0:case 11:case 15:Gn(f,r,u),hn(4,r);break;case 1:if(Gn(f,r,u),c=r,f=c.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(B){zt(c,c.return,B)}if(c=r,f=c.updateQueue,f!==null){var v=c.stateNode;try{var A=f.shared.hiddenCallbacks;if(A!==null)for(f.shared.hiddenCallbacks=null,f=0;f<A.length;f++)zd(A[f],v)}catch(B){zt(c,c.return,B)}}u&&y&64&&Wd(r),bu(r,r.return);break;case 27:Gy(r);case 26:case 5:Gn(f,r,u),u&&c===null&&y&4&&qy(r),bu(r,r.return);break;case 12:Gn(f,r,u);break;case 31:Gn(f,r,u),u&&y&4&&cg(f,r);break;case 13:Gn(f,r,u),u&&y&4&&Qy(f,r);break;case 22:r.memoizedState===null&&Gn(f,r,u),bu(r,r.return);break;case 30:break;default:Gn(f,r,u)}n=n.sibling}}function th(l,n){var u=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),l=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(l=n.memoizedState.cachePool.pool),l!==u&&(l!=null&&l.refCount++,u!=null&&Tf(u))}function lh(l,n){l=null,n.alternate!==null&&(l=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==l&&(n.refCount++,l!=null&&Tf(l))}function mn(l,n,u,c){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)ns(l,n,u,c),n=n.sibling}function ns(l,n,u,c){var f=n.flags;switch(n.tag){case 0:case 11:case 15:mn(l,n,u,c),f&2048&&hn(9,n);break;case 1:mn(l,n,u,c);break;case 3:mn(l,n,u,c),f&2048&&(l=null,n.alternate!==null&&(l=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==l&&(n.refCount++,l!=null&&Tf(l)));break;case 12:if(f&2048){mn(l,n,u,c),l=n.stateNode;try{var r=n.memoizedProps,y=r.id,v=r.onPostCommit;typeof v=="function"&&v(y,n.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(A){zt(n,n.return,A)}}else mn(l,n,u,c);break;case 31:mn(l,n,u,c);break;case 13:mn(l,n,u,c);break;case 23:break;case 22:r=n.stateNode,y=n.alternate,n.memoizedState!==null?r._visibility&2?mn(l,n,u,c):$f(l,n):r._visibility&2?mn(l,n,u,c):(r._visibility|=2,us(l,n,u,c,(n.subtreeFlags&10256)!==0||!1)),f&2048&&th(y,n);break;case 24:mn(l,n,u,c),f&2048&&lh(n.alternate,n);break;default:mn(l,n,u,c)}}function us(l,n,u,c,f){for(f=f&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var r=l,y=n,v=u,A=c,B=y.flags;switch(y.tag){case 0:case 11:case 15:us(r,y,v,A,f),hn(8,y);break;case 23:break;case 22:var $=y.stateNode;y.memoizedState!==null?$._visibility&2?us(r,y,v,A,f):$f(r,y):($._visibility|=2,us(r,y,v,A,f)),f&&B&2048&&th(y.alternate,y);break;case 24:us(r,y,v,A,f),f&&B&2048&&lh(y.alternate,y);break;default:us(r,y,v,A,f)}n=n.sibling}}function $f(l,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var u=l,c=n,f=c.flags;switch(c.tag){case 22:$f(u,c),f&2048&&th(c.alternate,c);break;case 24:$f(u,c),f&2048&&lh(c.alternate,c);break;default:$f(u,c)}n=n.sibling}}var Oa=8192;function Tu(l,n,u){if(l.subtreeFlags&Oa)for(l=l.child;l!==null;)og(l,n,u),l=l.sibling}function og(l,n,u){switch(l.tag){case 26:Tu(l,n,u),l.flags&Oa&&l.memoizedState!==null&&Ou(u,$e,l.memoizedState,l.memoizedProps);break;case 5:Tu(l,n,u);break;case 3:case 4:var c=$e;$e=Il(l.stateNode.containerInfo),Tu(l,n,u),$e=c;break;case 22:l.memoizedState===null&&(c=l.alternate,c!==null&&c.memoizedState!==null?(c=Oa,Oa=16777216,Tu(l,n,u),Oa=c):Tu(l,n,u));break;default:Tu(l,n,u)}}function ah(l){var n=l.alternate;if(n!==null&&(l=n.child,l!==null)){n.child=null;do n=l.sibling,l.sibling=null,l=n;while(l!==null)}}function is(l){var n=l.deletions;if((l.flags&16)!==0){if(n!==null)for(var u=0;u<n.length;u++){var c=n[u];Rl=c,nh(c,l)}ah(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Zy(l),l=l.sibling}function Zy(l){switch(l.tag){case 0:case 11:case 15:is(l),l.flags&2048&&Ja(9,l,l.return);break;case 3:is(l);break;case 12:is(l);break;case 22:var n=l.stateNode;l.memoizedState!==null&&n._visibility&2&&(l.return===null||l.return.tag!==13)?(n._visibility&=-3,Ff(l)):is(l);break;default:is(l)}}function Ff(l){var n=l.deletions;if((l.flags&16)!==0){if(n!==null)for(var u=0;u<n.length;u++){var c=n[u];Rl=c,nh(c,l)}ah(l)}for(l=l.child;l!==null;){switch(n=l,n.tag){case 0:case 11:case 15:Ja(8,n,n.return),Ff(n);break;case 22:u=n.stateNode,u._visibility&2&&(u._visibility&=-3,Ff(n));break;default:Ff(n)}l=l.sibling}}function nh(l,n){for(;Rl!==null;){var u=Rl;switch(u.tag){case 0:case 11:case 15:Ja(8,u,n);break;case 23:case 22:if(u.memoizedState!==null&&u.memoizedState.cachePool!==null){var c=u.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:Tf(u.memoizedState.cache)}if(c=u.child,c!==null)c.return=u,Rl=c;else e:for(u=l;Rl!==null;){c=Rl;var f=c.sibling,r=c.return;if(Vy(c),c===u){Rl=null;break e}if(f!==null){f.return=r,Rl=f;break e}Rl=r}}}var sg={getCacheForType:function(l){var n=P(fl),u=n.data.get(l);return u===void 0&&(u=l(),n.data.set(l,u)),u},cacheSignal:function(){return P(fl).controller.signal}},Jy=typeof WeakMap=="function"?WeakMap:Map,pt=0,_t=null,ot=null,at=0,At=0,Be=null,xu=!1,$i=!1,uh=!1,wn=0,Gt=0,Vn=0,Jc=0,ih=0,ga=0,Pt=0,kf=null,el=null,ch=!1,Xn=0,Ky=0,bt=1/0,cs=null,Kt=null,xl=0,ci=null,Fi=null,Eu=0,Da=0,oh=null,sh=null,os=0,Wf=null;function Ca(){return(pt&2)!==0&&at!==0?at&-at:C.T!==null?mh():Kr()}function fg(){if(ga===0)if((at&536870912)===0||ct){var l=Tn;Tn<<=1,(Tn&3932160)===0&&(Tn=262144),ga=l}else ga=536870912;return l=ra.current,l!==null&&(l.flags|=32),ga}function va(l,n,u){(l===_t&&(At===2||At===9)||l.cancelPendingCommit!==null)&&(Au(l,0),oi(l,at,ga,!1)),To(l,u),((pt&2)===0||l!==_t)&&(l===_t&&((pt&2)===0&&(Jc|=u),Gt===4&&oi(l,at,ga,!1)),zu(l))}function rg(l,n,u){if((pt&6)!==0)throw Error(S(327));var c=!u&&(n&127)===0&&(n&l.expiredLanes)===0||xn(l,n),f=c?pg(l,n):rh(l,n,!0),r=c;do{if(f===0){$i&&!c&&oi(l,n,0,!1);break}else{if(u=l.current.alternate,r&&!dg(u)){f=rh(l,n,!1),r=!1;continue}if(f===2){if(r=n,l.errorRecoveryDisabledLanes&r)var y=0;else y=l.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){n=y;e:{var v=l;f=kf;var A=v.current.memoizedState.isDehydrated;if(A&&(Au(v,y).flags|=256),y=rh(v,y,!1),y!==2){if(uh&&!A){v.errorRecoveryDisabledLanes|=r,Jc|=r,f=4;break e}r=el,el=f,r!==null&&(el===null?el=r:el.push.apply(el,r))}f=y}if(r=!1,f!==2)continue}}if(f===1){Au(l,0),oi(l,n,0,!0);break}e:{switch(c=l,r=f,r){case 0:case 1:throw Error(S(345));case 4:if((n&4194048)!==n)break;case 6:oi(c,n,ga,!xu);break e;case 2:el=null;break;case 3:case 5:break;default:throw Error(S(329))}if((n&62914560)===n&&(f=Xn+300-Xl(),10<f)){if(oi(c,n,ga,!xu),ol(c,0,!0)!==0)break e;Eu=n,c.timeoutHandle=cr(If.bind(null,c,u,el,cs,ch,n,ga,Jc,Pt,xu,r,"Throttled",-0,0),f);break e}If(c,u,el,cs,ch,n,ga,Jc,Pt,xu,r,null,-0,0)}}break}while(!0);zu(l)}function If(l,n,u,c,f,r,y,v,A,B,$,I,Y,X){if(l.timeoutHandle=-1,I=n.subtreeFlags,I&8192||(I&16785408)===16785408){I={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:An},og(n,r,I);var ve=(r&62914560)===r?Xn-Xl():(r&4194048)===r?Ky-Xl():0;if(ve=v0(I,ve),ve!==null){Eu=r,l.cancelPendingCommit=ve(Sg.bind(null,l,n,r,u,c,f,y,v,A,$,I,null,Y,X)),oi(l,r,y,!B);return}}Sg(l,n,r,u,c,f,y,v,A)}function dg(l){for(var n=l;;){var u=n.tag;if((u===0||u===11||u===15)&&n.flags&16384&&(u=n.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var c=0;c<u.length;c++){var f=u[c],r=f.getSnapshot;f=f.value;try{if(!kl(r(),f))return!1}catch{return!1}}if(u=n.child,n.subtreeFlags&16384&&u!==null)u.return=n,n=u;else{if(n===l)break;for(;n.sibling===null;){if(n.return===null||n.return===l)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function oi(l,n,u,c){n&=~ih,n&=~Jc,l.suspendedLanes|=n,l.pingedLanes&=~n,c&&(l.warmLanes|=n),c=l.expirationTimes;for(var f=n;0<f;){var r=31-na(f),y=1<<r;c[r]=-1,f&=~y}u!==0&&Ps(l,u,n)}function ss(){return(pt&6)===0?(fi(0),!1):!0}function $y(){if(ot!==null){if(At===0)var l=ot.return;else l=ot,Rn=Wu=null,jf(l),Bi=null,Uc=0,l=ot;for(;l!==null;)ig(l.alternate,l),l=l.return;ot=null}}function Au(l,n){var u=l.timeoutHandle;u!==-1&&(l.timeoutHandle=-1,Bg(u)),u=l.cancelPendingCommit,u!==null&&(l.cancelPendingCommit=null,u()),Eu=0,$y(),_t=l,ot=u=Fu(l.current,null),at=n,At=0,Be=null,xu=!1,$i=xn(l,n),uh=!1,Pt=ga=ih=Jc=Vn=Gt=0,el=kf=null,ch=!1,(n&8)!==0&&(n|=n&32);var c=l.entangledLanes;if(c!==0)for(l=l.entanglements,c&=n;0<c;){var f=31-na(c),r=1<<f;n|=l[f],c&=~r}return wn=n,Ha(),u}function fs(l,n){Je=null,C.H=Gf,n===Ri||n===Vo?(n=ay(),At=3):n===Nc?(n=ay(),At=4):At=n===Jd?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Be=n,ot===null&&(Gt=1,Io(l,qa(n,l.current)))}function hg(){var l=ra.current;return l===null?!0:(at&4194048)===at?Xa===null:(at&62914560)===at||(at&536870912)!==0?l===Xa:!1}function mg(){var l=C.H;return C.H=Gf,l===null?Gf:l}function yg(){var l=C.A;return C.A=sg,l}function fh(){Gt=4,xu||(at&4194048)!==at&&ra.current!==null||($i=!0),(Vn&134217727)===0&&(Jc&134217727)===0||_t===null||oi(_t,at,ga,!1)}function rh(l,n,u){var c=pt;pt|=2;var f=mg(),r=yg();(_t!==l||at!==n)&&(cs=null,Au(l,n)),n=!1;var y=Gt;e:do try{if(At!==0&&ot!==null){var v=ot,A=Be;switch(At){case 8:$y(),y=6;break e;case 3:case 2:case 9:case 6:ra.current===null&&(n=!0);var B=At;if(At=0,Be=null,Kc(l,v,A,B),u&&$i){y=0;break e}break;default:B=At,At=0,Be=null,Kc(l,v,A,B)}}c1(),y=Gt;break}catch($){fs(l,$)}while(!0);return n&&l.shellSuspendCounter++,Rn=Wu=null,pt=c,C.H=f,C.A=r,ot===null&&(_t=null,at=0,Ha()),y}function c1(){for(;ot!==null;)gg(ot)}function pg(l,n){var u=pt;pt|=2;var c=mg(),f=yg();_t!==l||at!==n?(cs=null,bt=Xl()+500,Au(l,n)):$i=xn(l,n);e:do try{if(At!==0&&ot!==null){n=ot;var r=Be;t:switch(At){case 1:At=0,Be=null,Kc(l,n,r,1);break;case 2:case 9:if(ty(r)){At=0,Be=null,vg(n);break}n=function(){At!==2&&At!==9||_t!==l||(At=7),zu(l)},r.then(n,n);break e;case 3:At=7;break e;case 4:At=5;break e;case 7:ty(r)?(At=0,Be=null,vg(n)):(At=0,Be=null,Kc(l,n,r,7));break;case 5:var y=null;switch(ot.tag){case 26:y=ot.memoizedState;case 5:case 27:var v=ot;if(y?_a(y):v.stateNode.complete){At=0,Be=null;var A=v.sibling;if(A!==null)ot=A;else{var B=v.return;B!==null?(ot=B,Pf(B)):ot=null}break t}}At=0,Be=null,Kc(l,n,r,5);break;case 6:At=0,Be=null,Kc(l,n,r,6);break;case 8:$y(),Gt=6;break e;default:throw Error(S(462))}}ki();break}catch($){fs(l,$)}while(!0);return Rn=Wu=null,C.H=c,C.A=f,pt=u,ot!==null?0:(_t=null,at=0,Ha(),Gt)}function ki(){for(;ot!==null&&!oc();)gg(ot)}function gg(l){var n=Uy(l.alternate,l,wn);l.memoizedProps=l.pendingProps,n===null?Pf(l):ot=n}function vg(l){var n=l,u=n.alternate;switch(n.tag){case 15:case 0:n=Zi(u,n,n.pendingProps,n.type,void 0,at);break;case 11:n=Zi(u,n,n.pendingProps,n.type.render,n.ref,at);break;case 5:jf(n);default:ig(u,n),n=ot=$m(n,wn),n=Uy(u,n,wn)}l.memoizedProps=l.pendingProps,n===null?Pf(l):ot=n}function Kc(l,n,u,c){Rn=Wu=null,jf(n),Bi=null,Uc=0;var f=n.return;try{if(i1(l,f,n,u,at)){Gt=1,Io(l,qa(u,l.current)),ot=null;return}}catch(r){if(f!==null)throw ot=f,r;Gt=1,Io(l,qa(u,l.current)),ot=null;return}n.flags&32768?(ct||c===1?l=!0:$i||(at&536870912)!==0?l=!1:(xu=l=!0,(c===2||c===9||c===3||c===6)&&(c=ra.current,c!==null&&c.tag===13&&(c.flags|=16384))),bg(n,l)):Pf(n)}function Pf(l){var n=l;do{if((n.flags&32768)!==0){bg(n,xu);return}l=n.return;var u=ng(n.alternate,n,wn);if(u!==null){ot=u;return}if(n=n.sibling,n!==null){ot=n;return}ot=n=l}while(n!==null);Gt===0&&(Gt=5)}function bg(l,n){do{var u=ug(l.alternate,l);if(u!==null){u.flags&=32767,ot=u;return}if(u=l.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!n&&(l=l.sibling,l!==null)){ot=l;return}ot=l=u}while(l!==null);Gt=6,ot=null}function Sg(l,n,u,c,f,r,y,v,A){l.cancelPendingCommit=null;do rs();while(xl!==0);if((pt&6)!==0)throw Error(S(327));if(n!==null){if(n===l.current)throw Error(S(177));if(r=n.lanes|n.childLanes,r|=on,Zr(l,u,r,y,v,A),l===_t&&(ot=_t=null,at=0),Fi=n,ci=l,Eu=u,Da=r,oh=f,sh=c,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,Mg(bi,function(){return zg(),null})):(l.callbackNode=null,l.callbackPriority=0),c=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||c){c=C.T,C.T=null,f=K.p,K.p=2,y=pt,pt|=4;try{as(l,n,u)}finally{pt=y,K.p=f,C.T=c}}xl=1,Tg(),xg(),Eg()}}function Tg(){if(xl===1){xl=0;var l=ci,n=Fi,u=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||u){u=C.T,C.T=null;var c=K.p;K.p=2;var f=pt;pt|=4;try{eh(n,l);var r=Sh,y=Ci(l.containerInfo),v=r.focusedElem,A=r.selectionRange;if(y!==v&&v&&v.ownerDocument&&Ac(v.ownerDocument.documentElement,v)){if(A!==null&&rf(v)){var B=A.start,$=A.end;if($===void 0&&($=B),"selectionStart"in v)v.selectionStart=B,v.selectionEnd=Math.min($,v.value.length);else{var I=v.ownerDocument||document,Y=I&&I.defaultView||window;if(Y.getSelection){var X=Y.getSelection(),ve=v.textContent.length,Ne=Math.min(A.start,ve),Nt=A.end===void 0?Ne:Math.min(A.end,ve);!X.extend&&Ne>Nt&&(y=Nt,Nt=Ne,Ne=y);var R=Jm(v,Ne),M=Jm(v,Nt);if(R&&M&&(X.rangeCount!==1||X.anchorNode!==R.node||X.anchorOffset!==R.offset||X.focusNode!==M.node||X.focusOffset!==M.offset)){var U=I.createRange();U.setStart(R.node,R.offset),X.removeAllRanges(),Ne>Nt?(X.addRange(U),X.extend(M.node,M.offset)):(U.setEnd(M.node,M.offset),X.addRange(U))}}}}for(I=[],X=v;X=X.parentNode;)X.nodeType===1&&I.push({element:X,left:X.scrollLeft,top:X.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<I.length;v++){var W=I[v];W.element.scrollLeft=W.left,W.element.scrollTop=W.top}}El=!!bh,Sh=bh=null}finally{pt=f,K.p=c,C.T=u}}l.current=n,xl=2}}function xg(){if(xl===2){xl=0;var l=ci,n=Fi,u=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||u){u=C.T,C.T=null;var c=K.p;K.p=2;var f=pt;pt|=4;try{Zf(l,n.alternate,n)}finally{pt=f,K.p=c,C.T=u}}xl=3}}function Eg(){if(xl===4||xl===3){xl=0,Xr();var l=ci,n=Fi,u=Eu,c=sh;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?xl=5:(xl=0,Fi=ci=null,Ag(l,l.pendingLanes));var f=l.pendingLanes;if(f===0&&(Kt=null),Sm(u),n=n.stateNode,xa&&typeof xa.onCommitFiberRoot=="function")try{xa.onCommitFiberRoot(sc,n,void 0,(n.current.flags&128)===128)}catch{}if(c!==null){n=C.T,f=K.p,K.p=2,C.T=null;try{for(var r=l.onRecoverableError,y=0;y<c.length;y++){var v=c[y];r(v.value,{componentStack:v.stack})}}finally{C.T=n,K.p=f}}(Eu&3)!==0&&rs(),zu(l),f=l.pendingLanes,(u&261930)!==0&&(f&42)!==0?l===Wf?os++:(os=0,Wf=l):os=0,fi(0)}}function Ag(l,n){(l.pooledCacheLanes&=n)===0&&(n=l.pooledCache,n!=null&&(l.pooledCache=null,Tf(n)))}function rs(){return Tg(),xg(),Eg(),zg()}function zg(){if(xl!==5)return!1;var l=ci,n=Da;Da=0;var u=Sm(Eu),c=C.T,f=K.p;try{K.p=32>u?32:u,C.T=null,u=oh,oh=null;var r=ci,y=Eu;if(xl=0,Fi=ci=null,Eu=0,(pt&6)!==0)throw Error(S(331));var v=pt;if(pt|=4,Zy(r.current),ns(r,r.current,y,u),pt=v,fi(0,!1),xa&&typeof xa.onPostCommitFiberRoot=="function")try{xa.onPostCommitFiberRoot(sc,r)}catch{}return!0}finally{K.p=f,C.T=c,Ag(l,n)}}function Og(l,n,u){n=qa(u,n),n=zy(l.stateNode,n,2),l=Va(l,n,2),l!==null&&(To(l,2),zu(l))}function zt(l,n,u){if(l.tag===3)Og(l,l,u);else for(;n!==null;){if(n.tag===3){Og(n,l,u);break}else if(n.tag===1){var c=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Kt===null||!Kt.has(c))){l=qa(u,l),u=Oy(2),c=Va(n,u,2),c!==null&&(Dy(u,c,n,l),To(c,2),zu(c));break}}n=n.return}}function er(l,n,u){var c=l.pingCache;if(c===null){c=l.pingCache=new Jy;var f=new Set;c.set(n,f)}else f=c.get(n),f===void 0&&(f=new Set,c.set(n,f));f.has(u)||(uh=!0,f.add(u),l=Fy.bind(null,l,n,u),n.then(l,l))}function Fy(l,n,u){var c=l.pingCache;c!==null&&c.delete(n),l.pingedLanes|=l.suspendedLanes&u,l.warmLanes&=~u,_t===l&&(at&u)===u&&(Gt===4||Gt===3&&(at&62914560)===at&&300>Xl()-Xn?(pt&2)===0&&Au(l,0):ih|=u,Pt===at&&(Pt=0)),zu(l)}function Dg(l,n){n===0&&(n=fc()),l=$u(l,n),l!==null&&(To(l,n),zu(l))}function Ka(l){var n=l.memoizedState,u=0;n!==null&&(u=n.retryLane),Dg(l,u)}function Cg(l,n){var u=0;switch(l.tag){case 31:case 13:var c=l.stateNode,f=l.memoizedState;f!==null&&(u=f.retryLane);break;case 19:c=l.stateNode;break;case 22:c=l.stateNode._retryCache;break;default:throw Error(S(314))}c!==null&&c.delete(n),Dg(l,u)}function Mg(l,n){return Bt(l,n)}var ds=null,$c=null,ky=!1,dh=!1,Wy=!1,si=0;function zu(l){l!==$c&&l.next===null&&($c===null?ds=$c=l:$c=$c.next=l),dh=!0,ky||(ky=!0,lr())}function fi(l,n){if(!Wy&&dh){Wy=!0;do for(var u=!1,c=ds;c!==null;){if(l!==0){var f=c.pendingLanes;if(f===0)var r=0;else{var y=c.suspendedLanes,v=c.pingedLanes;r=(1<<31-na(42|l)+1)-1,r&=f&~(y&~v),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(u=!0,Fc(c,r))}else r=at,r=ol(c,c===_t?r:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(r&3)===0||xn(c,r)||(u=!0,Fc(c,r));c=c.next}while(u);Wy=!1}}function hh(){Iy()}function Iy(){dh=ky=!1;var l=0;si!==0&&o1()&&(l=si);for(var n=Xl(),u=null,c=ds;c!==null;){var f=c.next,r=Py(c,n);r===0?(c.next=null,u===null?ds=f:u.next=f,f===null&&($c=u)):(u=c,(l!==0||(r&3)!==0)&&(dh=!0)),c=f}xl!==0&&xl!==5||fi(l),si!==0&&(si=0)}function Py(l,n){for(var u=l.suspendedLanes,c=l.pingedLanes,f=l.expirationTimes,r=l.pendingLanes&-62914561;0<r;){var y=31-na(r),v=1<<y,A=f[y];A===-1?((v&u)===0||(v&c)!==0)&&(f[y]=So(v,n)):A<=n&&(l.expiredLanes|=v),r&=~v}if(n=_t,u=at,u=ol(l,l===n?u:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),c=l.callbackNode,u===0||l===n&&(At===2||At===9)||l.cancelPendingCommit!==null)return c!==null&&c!==null&&gm(c),l.callbackNode=null,l.callbackPriority=0;if((u&3)===0||xn(l,u)){if(n=u&-u,n===l.callbackPriority)return n;switch(c!==null&&gm(c),Sm(u)){case 2:case 8:u=Lr;break;case 32:u=bi;break;case 268435456:u=vm;break;default:u=bi}return c=tr.bind(null,l),u=Bt(u,c),l.callbackPriority=n,l.callbackNode=u,n}return c!==null&&c!==null&&gm(c),l.callbackPriority=2,l.callbackNode=null,2}function tr(l,n){if(xl!==0&&xl!==5)return l.callbackNode=null,l.callbackPriority=0,null;var u=l.callbackNode;if(rs()&&l.callbackNode!==u)return null;var c=at;return c=ol(l,l===_t?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),c===0?null:(rg(l,c,n),Py(l,Xl()),l.callbackNode!=null&&l.callbackNode===u?tr.bind(null,l):null)}function Fc(l,n){if(rs())return null;rg(l,n,!0)}function lr(){qg(function(){(pt&6)!==0?Bt(Qr,hh):Iy()})}function mh(){if(si===0){var l=Ni;l===0&&(l=Qu,Qu<<=1,(Qu&261888)===0&&(Qu=256)),si=l}return si}function _g(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:an(""+l)}function kc(l,n){var u=n.ownerDocument.createElement("input");return u.name=n.name,u.value=n.value,l.id&&u.setAttribute("form",l.id),n.parentNode.insertBefore(u,n),l=new FormData(l),u.parentNode.removeChild(u),l}function ar(l,n,u,c,f){if(n==="submit"&&u&&u.stateNode===f){var r=_g((f[ua]||null).action),y=c.submitter;y&&(n=(n=y[ua]||null)?_g(n.formAction):y.getAttribute("formAction"),n!==null&&(r=n,y=null));var v=new of("action","action",null,c,f);l.push({event:v,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(si!==0){var A=y?kc(f,y):new FormData(f);ko(u,{pending:!0,data:A,method:f.method,action:r},null,A)}}else typeof r=="function"&&(v.preventDefault(),A=y?kc(f,y):new FormData(f),ko(u,{pending:!0,data:A,method:f.method,action:r},r,A))},currentTarget:f}]})}}for(var yh=0;yh<Ho.length;yh++){var hs=Ho[yh],e0=hs.toLowerCase(),t0=hs[0].toUpperCase()+hs.slice(1);ca(e0,"on"+t0)}ca(hf,"onAnimationEnd"),ca(Km,"onAnimationIteration"),ca(yd,"onAnimationStart"),ca("dblclick","onDoubleClick"),ca("focusin","onFocus"),ca("focusout","onBlur"),ca(zc,"onTransitionRun"),ca(mf,"onTransitionStart"),ca(uu,"onTransitionCancel"),ca(Vp,"onTransitionEnd"),eu("onMouseEnter",["mouseout","mouseover"]),eu("onMouseLeave",["mouseout","mouseover"]),eu("onPointerEnter",["pointerout","pointerover"]),eu("onPointerLeave",["pointerout","pointerover"]),Ei("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ei("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ei("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ei("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ei("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ei("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ms="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(" "),jg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ms));function Ng(l,n){n=(n&4)!==0;for(var u=0;u<l.length;u++){var c=l[u],f=c.event;c=c.listeners;e:{var r=void 0;if(n)for(var y=c.length-1;0<=y;y--){var v=c[y],A=v.instance,B=v.currentTarget;if(v=v.listener,A!==r&&f.isPropagationStopped())break e;r=v,f.currentTarget=B;try{r(f)}catch($){Oc($)}f.currentTarget=null,r=A}else for(y=0;y<c.length;y++){if(v=c[y],A=v.instance,B=v.currentTarget,v=v.listener,A!==r&&f.isPropagationStopped())break e;r=v,f.currentTarget=B;try{r(f)}catch($){Oc($)}f.currentTarget=null,r=A}}}}function it(l,n){var u=n[$r];u===void 0&&(u=n[$r]=new Set);var c=l+"__bubble";u.has(c)||(nr(n,l,2,!1),u.add(c))}function l0(l,n,u){var c=0;n&&(c|=4),nr(u,l,c,n)}var ph="_reactListening"+Math.random().toString(36).slice(2);function ys(l){if(!l[ph]){l[ph]=!0,mc.forEach(function(u){u!=="selectionchange"&&(jg.has(u)||l0(u,!1,l),l0(u,!0,l))});var n=l.nodeType===9?l:l.ownerDocument;n===null||n[ph]||(n[ph]=!0,l0("selectionchange",!1,n))}}function nr(l,n,u,c){switch(hr(n)){case 2:var f=Du;break;case 8:f=Cu;break;default:f=Zl}u=f.bind(null,n,u,l),f=void 0,!uf||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(f=!0),c?f!==void 0?l.addEventListener(n,u,{capture:!0,passive:f}):l.addEventListener(n,u,!0):f!==void 0?l.addEventListener(n,u,{passive:f}):l.addEventListener(n,u,!1)}function a0(l,n,u,c,f){var r=c;if((n&1)===0&&(n&2)===0&&c!==null)e:for(;;){if(c===null)return;var y=c.tag;if(y===3||y===4){var v=c.stateNode.containerInfo;if(v===f)break;if(y===4)for(y=c.return;y!==null;){var A=y.tag;if((A===3||A===4)&&y.stateNode.containerInfo===f)return;y=y.return}for(;v!==null;){if(y=rc(v),y===null)return;if(A=y.tag,A===5||A===6||A===26||A===27){c=r=y;continue e}v=v.parentNode}}c=c.return}Mm(function(){var B=r,$=ld(u),I=[];e:{var Y=iu.get(l);if(Y!==void 0){var X=of,ve=l;switch(l){case"keypress":if(nd(u)===0)break e;case"keydown":case"keyup":X=od;break;case"focusin":ve="focus",X=id;break;case"focusout":ve="blur",X=id;break;case"beforeblur":case"afterblur":X=id;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":X=_o;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":X=Mp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":X=Up;break;case hf:case Km:case yd:X=jp;break;case Vp:X=l1;break;case"scroll":case"scrollend":X=e1;break;case"wheel":X=a1;break;case"copy":case"cut":case"paste":X=vc;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":X=Dn;break;case"toggle":case"beforetoggle":X=Ym}var Ne=(n&4)!==0,Nt=!Ne&&(l==="scroll"||l==="scrollend"),R=Ne?Y!==null?Y+"Capture":null:Y;Ne=[];for(var M=B,U;M!==null;){var W=M;if(U=W.stateNode,W=W.tag,W!==5&&W!==26&&W!==27||U===null||R===null||(W=Dl(M,R),W!=null&&Ne.push(ur(M,W,U))),Nt)break;M=M.return}0<Ne.length&&(Y=new X(Y,ve,null,u,$),I.push({event:Y,listeners:Ne}))}}if((n&7)===0){e:{if(Y=l==="mouseover"||l==="pointerover",X=l==="mouseout"||l==="pointerout",Y&&u!==td&&(ve=u.relatedTarget||u.fromElement)&&(rc(ve)||ve[Ti]))break e;if((X||Y)&&(Y=$.window===$?$:(Y=$.ownerDocument)?Y.defaultView||Y.parentWindow:window,X?(ve=u.relatedTarget||u.toElement,X=B,ve=ve?rc(ve):null,ve!==null&&(Nt=H(ve),Ne=ve.tag,ve!==Nt||Ne!==5&&Ne!==27&&Ne!==6)&&(ve=null)):(X=null,ve=B),X!==ve)){if(Ne=_o,W="onMouseLeave",R="onMouseEnter",M="mouse",(l==="pointerout"||l==="pointerover")&&(Ne=Dn,W="onPointerLeave",R="onPointerEnter",M="pointer"),Nt=X==null?Y:xo(X),U=ve==null?Y:xo(ve),Y=new Ne(W,M+"leave",X,u,$),Y.target=Nt,Y.relatedTarget=U,W=null,rc($)===B&&(Ne=new Ne(R,M+"enter",ve,u,$),Ne.target=U,Ne.relatedTarget=Nt,W=Ne),Nt=W,X&&ve)t:{for(Ne=Rg,R=X,M=ve,U=0,W=R;W;W=Ne(W))U++;W=0;for(var Me=M;Me;Me=Ne(Me))W++;for(;0<U-W;)R=Ne(R),U--;for(;0<W-U;)M=Ne(M),W--;for(;U--;){if(R===M||M!==null&&R===M.alternate){Ne=R;break t}R=Ne(R),M=Ne(M)}Ne=null}else Ne=null;X!==null&&gh(I,Y,X,Ne,!1),ve!==null&&Nt!==null&&gh(I,Nt,ve,Ne,!0)}}e:{if(Y=B?xo(B):window,X=Y.nodeName&&Y.nodeName.toLowerCase(),X==="select"||X==="input"&&Y.type==="file")var mt=Qm;else if(nu(Y))if(rd)mt=Ec;else{mt=Gp;var Ae=Yp}else X=Y.nodeName,!X||X.toLowerCase()!=="input"||Y.type!=="checkbox"&&Y.type!=="radio"?B&&Cm(B.elementType)&&(mt=Qm):mt=Di;if(mt&&(mt=mt(l,B))){Xm(I,mt,u,$);break e}Ae&&Ae(l,Y,B),l==="focusout"&&B&&Y.type==="number"&&B.memoizedProps.value!=null&&yc(Y,"number",Y.value)}switch(Ae=B?xo(B):window,l){case"focusin":(nu(Ae)||Ae.contentEditable==="true")&&(Mi=Ae,Ro=B,cn=null);break;case"focusout":cn=Ro=Mi=null;break;case"mousedown":Mn=!0;break;case"contextmenu":case"mouseup":case"dragend":Mn=!1,md(I,u,$);break;case"selectionchange":if(df)break;case"keydown":case"keyup":md(I,u,$)}var Le;if(jo)e:{switch(l){case"compositionstart":var Fe="onCompositionStart";break e;case"compositionend":Fe="onCompositionEnd";break e;case"compositionupdate":Fe="onCompositionUpdate";break e}Fe=void 0}else Sc?fd(l,u)&&(Fe="onCompositionEnd"):l==="keydown"&&u.keyCode===229&&(Fe="onCompositionStart");Fe&&(Gm&&u.locale!=="ko"&&(Sc||Fe!=="onCompositionStart"?Fe==="onCompositionEnd"&&Sc&&(Le=jm()):(Ju=$,_m="value"in Ju?Ju.value:Ju.textContent,Sc=!0)),Ae=ir(B,Fe),0<Ae.length&&(Fe=new Np(Fe,l,null,u,$),I.push({event:Fe,listeners:Ae}),Le?Fe.data=Le:(Le=wm(u),Le!==null&&(Fe.data=Le)))),(Le=Fl?qp(l,u):n1(l,u))&&(Fe=ir(B,"onBeforeInput"),0<Fe.length&&(Ae=new Np("onBeforeInput","beforeinput",null,u,$),I.push({event:Ae,listeners:Fe}),Ae.data=Le)),ar(I,l,B,u,$)}Ng(I,n)})}function ur(l,n,u){return{instance:l,listener:n,currentTarget:u}}function ir(l,n){for(var u=n+"Capture",c=[];l!==null;){var f=l,r=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||r===null||(f=Dl(l,u),f!=null&&c.unshift(ur(l,f,r)),f=Dl(l,n),f!=null&&c.push(ur(l,f,r))),l.tag===3)return c;l=l.return}return[]}function Rg(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function gh(l,n,u,c,f){for(var r=n._reactName,y=[];u!==null&&u!==c;){var v=u,A=v.alternate,B=v.stateNode;if(v=v.tag,A!==null&&A===c)break;v!==5&&v!==26&&v!==27||B===null||(A=B,f?(B=Dl(u,r),B!=null&&y.unshift(ur(u,B,A))):f||(B=Dl(u,r),B!=null&&y.push(ur(u,B,A)))),u=u.return}y.length!==0&&l.push({event:n,listeners:y})}var Ug=/\r\n?/g,n0=/\u0000|\uFFFD/g;function u0(l){return(typeof l=="string"?l:""+l).replace(Ug,`
14
- `).replace(n0,"")}function i0(l,n){return n=u0(n),u0(l)===n}function jt(l,n,u,c,f,r){switch(u){case"children":typeof c=="string"?n==="body"||n==="textarea"&&c===""||tu(l,c):(typeof c=="number"||typeof c=="bigint")&&n!=="body"&&tu(l,""+c);break;case"className":Ir(l,"class",c);break;case"tabIndex":Ir(l,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":Ir(l,u,c);break;case"style":Op(l,c,r);break;case"data":if(n!=="object"){Ir(l,"data",c);break}case"src":case"href":if(c===""&&(n!=="a"||u!=="href")){l.removeAttribute(u);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){l.removeAttribute(u);break}c=an(""+c),l.setAttribute(u,c);break;case"action":case"formAction":if(typeof c=="function"){l.setAttribute(u,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof r=="function"&&(u==="formAction"?(n!=="input"&&jt(l,n,"name",f.name,f,null),jt(l,n,"formEncType",f.formEncType,f,null),jt(l,n,"formMethod",f.formMethod,f,null),jt(l,n,"formTarget",f.formTarget,f,null)):(jt(l,n,"encType",f.encType,f,null),jt(l,n,"method",f.method,f,null),jt(l,n,"target",f.target,f,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){l.removeAttribute(u);break}c=an(""+c),l.setAttribute(u,c);break;case"onClick":c!=null&&(l.onclick=An);break;case"onScroll":c!=null&&it("scroll",l);break;case"onScrollEnd":c!=null&&it("scrollend",l);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(S(61));if(u=c.__html,u!=null){if(f.children!=null)throw Error(S(60));l.innerHTML=u}}break;case"multiple":l.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":l.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){l.removeAttribute("xlink:href");break}u=an(""+c),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?l.setAttribute(u,""+c):l.removeAttribute(u);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?l.setAttribute(u,""):l.removeAttribute(u);break;case"capture":case"download":c===!0?l.setAttribute(u,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?l.setAttribute(u,c):l.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?l.setAttribute(u,c):l.removeAttribute(u);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?l.removeAttribute(u):l.setAttribute(u,c);break;case"popover":it("beforetoggle",l),it("toggle",l),zo(l,"popover",c);break;case"xlinkActuate":Lu(l,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":Lu(l,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":Lu(l,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":Lu(l,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":Lu(l,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":Lu(l,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":Lu(l,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":Lu(l,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":Lu(l,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":zo(l,"is",c);break;case"innerText":case"textContent":break;default:(!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(u=Pv.get(u)||u,zo(l,u,c))}}function c0(l,n,u,c,f,r){switch(u){case"style":Op(l,c,r);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(S(61));if(u=c.__html,u!=null){if(f.children!=null)throw Error(S(60));l.innerHTML=u}}break;case"children":typeof c=="string"?tu(l,c):(typeof c=="number"||typeof c=="bigint")&&tu(l,""+c);break;case"onScroll":c!=null&&it("scroll",l);break;case"onScrollEnd":c!=null&&it("scrollend",l);break;case"onClick":c!=null&&(l.onclick=An);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!xi.hasOwnProperty(u))e:{if(u[0]==="o"&&u[1]==="n"&&(f=u.endsWith("Capture"),n=u.slice(2,f?u.length-7:void 0),r=l[ua]||null,r=r!=null?r[u]:null,typeof r=="function"&&l.removeEventListener(n,r,f),typeof c=="function")){typeof r!="function"&&r!==null&&(u in l?l[u]=null:l.hasAttribute(u)&&l.removeAttribute(u)),l.addEventListener(n,c,f);break e}u in l?l[u]=c:c===!0?l.setAttribute(u,""):zo(l,u,c)}}}function Ll(l,n,u){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":it("error",l),it("load",l);var c=!1,f=!1,r;for(r in u)if(u.hasOwnProperty(r)){var y=u[r];if(y!=null)switch(r){case"src":c=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(S(137,n));default:jt(l,n,r,y,u,null)}}f&&jt(l,n,"srcSet",u.srcSet,u,null),c&&jt(l,n,"src",u.src,u,null);return;case"input":it("invalid",l);var v=r=y=f=null,A=null,B=null;for(c in u)if(u.hasOwnProperty(c)){var $=u[c];if($!=null)switch(c){case"name":f=$;break;case"type":y=$;break;case"checked":A=$;break;case"defaultChecked":B=$;break;case"value":r=$;break;case"defaultValue":v=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(S(137,n));break;default:jt(l,n,c,$,u,null)}}lf(l,r,v,A,B,y,f,!1);return;case"select":it("invalid",l),c=y=r=null;for(f in u)if(u.hasOwnProperty(f)&&(v=u[f],v!=null))switch(f){case"value":r=v;break;case"defaultValue":y=v;break;case"multiple":c=v;default:jt(l,n,f,v,u,null)}n=r,u=y,l.multiple=!!c,n!=null?Oo(l,!!c,n,!1):u!=null&&Oo(l,!!c,u,!0);return;case"textarea":it("invalid",l),r=f=c=null;for(y in u)if(u.hasOwnProperty(y)&&(v=u[y],v!=null))switch(y){case"value":c=v;break;case"defaultValue":f=v;break;case"children":r=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(S(91));break;default:jt(l,n,y,v,u,null)}Dm(l,c,f,r);return;case"option":for(A in u)u.hasOwnProperty(A)&&(c=u[A],c!=null)&&(A==="selected"?l.selected=c&&typeof c!="function"&&typeof c!="symbol":jt(l,n,A,c,u,null));return;case"dialog":it("beforetoggle",l),it("toggle",l),it("cancel",l),it("close",l);break;case"iframe":case"object":it("load",l);break;case"video":case"audio":for(c=0;c<ms.length;c++)it(ms[c],l);break;case"image":it("error",l),it("load",l);break;case"details":it("toggle",l);break;case"embed":case"source":case"link":it("error",l),it("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(B in u)if(u.hasOwnProperty(B)&&(c=u[B],c!=null))switch(B){case"children":case"dangerouslySetInnerHTML":throw Error(S(137,n));default:jt(l,n,B,c,u,null)}return;default:if(Cm(n)){for($ in u)u.hasOwnProperty($)&&(c=u[$],c!==void 0&&c0(l,n,$,c,u,void 0));return}}for(v in u)u.hasOwnProperty(v)&&(c=u[v],c!=null&&jt(l,n,v,c,u,null))}function o0(l,n,u,c){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,r=null,y=null,v=null,A=null,B=null,$=null;for(X in u){var I=u[X];if(u.hasOwnProperty(X)&&I!=null)switch(X){case"checked":break;case"value":break;case"defaultValue":A=I;default:c.hasOwnProperty(X)||jt(l,n,X,null,c,I)}}for(var Y in c){var X=c[Y];if(I=u[Y],c.hasOwnProperty(Y)&&(X!=null||I!=null))switch(Y){case"type":r=X;break;case"name":f=X;break;case"checked":B=X;break;case"defaultChecked":$=X;break;case"value":y=X;break;case"defaultValue":v=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(S(137,n));break;default:X!==I&&jt(l,n,Y,X,c,I)}}tf(l,y,v,A,B,$,r,f);return;case"select":X=y=v=Y=null;for(r in u)if(A=u[r],u.hasOwnProperty(r)&&A!=null)switch(r){case"value":break;case"multiple":X=A;default:c.hasOwnProperty(r)||jt(l,n,r,null,c,A)}for(f in c)if(r=c[f],A=u[f],c.hasOwnProperty(f)&&(r!=null||A!=null))switch(f){case"value":Y=r;break;case"defaultValue":v=r;break;case"multiple":y=r;default:r!==A&&jt(l,n,f,r,c,A)}n=v,u=y,c=X,Y!=null?Oo(l,!!u,Y,!1):!!c!=!!u&&(n!=null?Oo(l,!!u,n,!0):Oo(l,!!u,u?[]:"",!1));return;case"textarea":X=Y=null;for(v in u)if(f=u[v],u.hasOwnProperty(v)&&f!=null&&!c.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:jt(l,n,v,null,c,f)}for(y in c)if(f=c[y],r=u[y],c.hasOwnProperty(y)&&(f!=null||r!=null))switch(y){case"value":Y=f;break;case"defaultValue":X=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(S(91));break;default:f!==r&&jt(l,n,y,f,c,r)}Om(l,Y,X);return;case"option":for(var ve in u)Y=u[ve],u.hasOwnProperty(ve)&&Y!=null&&!c.hasOwnProperty(ve)&&(ve==="selected"?l.selected=!1:jt(l,n,ve,null,c,Y));for(A in c)Y=c[A],X=u[A],c.hasOwnProperty(A)&&Y!==X&&(Y!=null||X!=null)&&(A==="selected"?l.selected=Y&&typeof Y!="function"&&typeof Y!="symbol":jt(l,n,A,Y,c,X));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ne in u)Y=u[Ne],u.hasOwnProperty(Ne)&&Y!=null&&!c.hasOwnProperty(Ne)&&jt(l,n,Ne,null,c,Y);for(B in c)if(Y=c[B],X=u[B],c.hasOwnProperty(B)&&Y!==X&&(Y!=null||X!=null))switch(B){case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(S(137,n));break;default:jt(l,n,B,Y,c,X)}return;default:if(Cm(n)){for(var Nt in u)Y=u[Nt],u.hasOwnProperty(Nt)&&Y!==void 0&&!c.hasOwnProperty(Nt)&&c0(l,n,Nt,void 0,c,Y);for($ in c)Y=c[$],X=u[$],!c.hasOwnProperty($)||Y===X||Y===void 0&&X===void 0||c0(l,n,$,Y,c,X);return}}for(var R in u)Y=u[R],u.hasOwnProperty(R)&&Y!=null&&!c.hasOwnProperty(R)&&jt(l,n,R,null,c,Y);for(I in c)Y=c[I],X=u[I],!c.hasOwnProperty(I)||Y===X||Y==null&&X==null||jt(l,n,I,Y,c,X)}function vh(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function s0(){if(typeof performance.getEntriesByType=="function"){for(var l=0,n=0,u=performance.getEntriesByType("resource"),c=0;c<u.length;c++){var f=u[c],r=f.transferSize,y=f.initiatorType,v=f.duration;if(r&&v&&vh(y)){for(y=0,v=f.responseEnd,c+=1;c<u.length;c++){var A=u[c],B=A.startTime;if(B>v)break;var $=A.transferSize,I=A.initiatorType;$&&vh(I)&&(A=A.responseEnd,y+=$*(A<v?1:(v-B)/(A-B)))}if(--c,n+=8*(r+y)/(f.duration/1e3),l++,10<l)break}}if(0<l)return n/l/1e6}return navigator.connection&&(l=navigator.connection.downlink,typeof l=="number")?l:5}var bh=null,Sh=null;function Wi(l){return l.nodeType===9?l:l.ownerDocument}function Hg(l){switch(l){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function f0(l,n){if(l===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&n==="foreignObject"?0:l}function ps(l,n){return l==="textarea"||l==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Th=null;function o1(){var l=window.event;return l&&l.type==="popstate"?l===Th?!1:(Th=l,!0):(Th=null,!1)}var cr=typeof setTimeout=="function"?setTimeout:void 0,Bg=typeof clearTimeout=="function"?clearTimeout:void 0,Wc=typeof Promise=="function"?Promise:void 0,qg=typeof queueMicrotask=="function"?queueMicrotask:typeof Wc<"u"?function(l){return Wc.resolve(null).then(l).catch(r0)}:cr;function r0(l){setTimeout(function(){throw l})}function Qn(l){return l==="head"}function d0(l,n){var u=n,c=0;do{var f=u.nextSibling;if(l.removeChild(u),f&&f.nodeType===8)if(u=f.data,u==="/$"||u==="/&"){if(c===0){l.removeChild(f),Cs(n);return}c--}else if(u==="$"||u==="$?"||u==="$~"||u==="$!"||u==="&")c++;else if(u==="html")Ic(l.ownerDocument.documentElement);else if(u==="head"){u=l.ownerDocument.head,Ic(u);for(var r=u.firstChild;r;){var y=r.nextSibling,v=r.nodeName;r[Pn]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&r.rel.toLowerCase()==="stylesheet"||u.removeChild(r),r=y}}else u==="body"&&Ic(l.ownerDocument.body);u=f}while(u);Cs(n)}function hl(l,n){var u=l;l=0;do{var c=u.nextSibling;if(u.nodeType===1?n?(u._stashedDisplay=u.style.display,u.style.display="none"):(u.style.display=u._stashedDisplay||"",u.getAttribute("style")===""&&u.removeAttribute("style")):u.nodeType===3&&(n?(u._stashedText=u.nodeValue,u.nodeValue=""):u.nodeValue=u._stashedText||""),c&&c.nodeType===8)if(u=c.data,u==="/$"){if(l===0)break;l--}else u!=="$"&&u!=="$?"&&u!=="$~"&&u!=="$!"||l++;u=c}while(u)}function or(l){var n=l.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var u=n;switch(n=n.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":or(u),Fr(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}l.removeChild(u)}}function s1(l,n,u,c){for(;l.nodeType===1;){var f=u;if(l.nodeName.toLowerCase()!==n.toLowerCase()){if(!c&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(c){if(!l[Pn])switch(n){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(r=l.getAttribute("rel"),r==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(r!==f.rel||l.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||l.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||l.getAttribute("title")!==(f.title==null?null:f.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(r=l.getAttribute("src"),(r!==(f.src==null?null:f.src)||l.getAttribute("type")!==(f.type==null?null:f.type)||l.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&r&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(n==="input"&&l.type==="hidden"){var r=f.name==null?null:""+f.name;if(f.type==="hidden"&&l.getAttribute("name")===r)return l}else return l;if(l=ba(l.nextSibling),l===null)break}return null}function Ie(l,n,u){if(n==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!u||(l=ba(l.nextSibling),l===null))return null;return l}function Yg(l,n){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!n||(l=ba(l.nextSibling),l===null))return null;return l}function yn(l){return l.data==="$?"||l.data==="$~"}function Ii(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}function gs(l,n){var u=l.ownerDocument;if(l.data==="$~")l._reactRetry=n;else if(l.data!=="$?"||u.readyState!=="loading")n();else{var c=function(){n(),u.removeEventListener("DOMContentLoaded",c)};u.addEventListener("DOMContentLoaded",c),l._reactRetry=c}}function ba(l){for(;l!=null;l=l.nextSibling){var n=l.nodeType;if(n===1||n===3)break;if(n===8){if(n=l.data,n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"||n==="F!"||n==="F")break;if(n==="/$"||n==="/&")return null}}return l}var sr=null;function xh(l){l=l.nextSibling;for(var n=0;l;){if(l.nodeType===8){var u=l.data;if(u==="/$"||u==="/&"){if(n===0)return ba(l.nextSibling);n--}else u!=="$"&&u!=="$!"&&u!=="$?"&&u!=="$~"&&u!=="&"||n++}l=l.nextSibling}return null}function Ln(l){l=l.previousSibling;for(var n=0;l;){if(l.nodeType===8){var u=l.data;if(u==="$"||u==="$!"||u==="$?"||u==="$~"||u==="&"){if(n===0)return l;n--}else u!=="/$"&&u!=="/&"||n++}l=l.previousSibling}return null}function vs(l,n,u){switch(n=Wi(u),l){case"html":if(l=n.documentElement,!l)throw Error(S(452));return l;case"head":if(l=n.head,!l)throw Error(S(453));return l;case"body":if(l=n.body,!l)throw Error(S(454));return l;default:throw Error(S(451))}}function Ic(l){for(var n=l.attributes;n.length;)l.removeAttributeNode(n[0]);Fr(l)}var Ma=new Map,fr=new Set;function Il(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var Zn=K.d;K.d={f:f1,r:Gg,D:V,C:St,L:r1,m:h0,X:ri,S:m0,M:Pi};function f1(){var l=Zn.f(),n=ss();return l||n}function Gg(l){var n=dc(l);n!==null&&n.tag===5&&n.type==="form"?Mt(n):Zn.r(l)}var bs=typeof document>"u"?null:document;function vl(l,n,u){var c=bs;if(c&&typeof n=="string"&&n){var f=Ua(n);f='link[rel="'+l+'"][href="'+f+'"]',typeof u=="string"&&(f+='[crossorigin="'+u+'"]'),fr.has(f)||(fr.add(f),l={rel:l,crossOrigin:u,href:n},c.querySelector(f)===null&&(n=c.createElement("link"),Ll(n,"link",l),Tt(n),c.head.appendChild(n)))}}function V(l){Zn.D(l),vl("dns-prefetch",l,null)}function St(l,n){Zn.C(l,n),vl("preconnect",l,n)}function r1(l,n,u){Zn.L(l,n,u);var c=bs;if(c&&l&&n){var f='link[rel="preload"][as="'+Ua(n)+'"]';n==="image"&&u&&u.imageSrcSet?(f+='[imagesrcset="'+Ua(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(f+='[imagesizes="'+Ua(u.imageSizes)+'"]')):f+='[href="'+Ua(l)+'"]';var r=f;switch(n){case"style":r=$a(l);break;case"script":r=Pc(l)}Ma.has(r)||(l=k({rel:"preload",href:n==="image"&&u&&u.imageSrcSet?void 0:l,as:n},u),Ma.set(r,l),c.querySelector(f)!==null||n==="style"&&c.querySelector(ec(r))||n==="script"&&c.querySelector(xs(r))||(n=c.createElement("link"),Ll(n,"link",l),Tt(n),c.head.appendChild(n)))}}function h0(l,n){Zn.m(l,n);var u=bs;if(u&&l){var c=n&&typeof n.as=="string"?n.as:"script",f='link[rel="modulepreload"][as="'+Ua(c)+'"][href="'+Ua(l)+'"]',r=f;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=Pc(l)}if(!Ma.has(r)&&(l=k({rel:"modulepreload",href:l},n),Ma.set(r,l),u.querySelector(f)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(xs(r)))return}c=u.createElement("link"),Ll(c,"link",l),Tt(c),u.head.appendChild(c)}}}function m0(l,n,u){Zn.S(l,n,u);var c=bs;if(c&&l){var f=hc(c).hoistableStyles,r=$a(l);n=n||"default";var y=f.get(r);if(!y){var v={loading:0,preload:null};if(y=c.querySelector(ec(r)))v.loading=5;else{l=k({rel:"stylesheet",href:l,"data-precedence":n},u),(u=Ma.get(r))&&Eh(l,u);var A=y=c.createElement("link");Tt(A),Ll(A,"link",l),A._p=new Promise(function(B,$){A.onload=B,A.onerror=$}),A.addEventListener("load",function(){v.loading|=1}),A.addEventListener("error",function(){v.loading|=2}),v.loading|=4,rr(y,n,c)}y={type:"stylesheet",instance:y,count:1,state:v},f.set(r,y)}}}function ri(l,n){Zn.X(l,n);var u=bs;if(u&&l){var c=hc(u).hoistableScripts,f=Pc(l),r=c.get(f);r||(r=u.querySelector(xs(f)),r||(l=k({src:l,async:!0},n),(n=Ma.get(f))&&Ah(l,n),r=u.createElement("script"),Tt(r),Ll(r,"link",l),u.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},c.set(f,r))}}function Pi(l,n){Zn.M(l,n);var u=bs;if(u&&l){var c=hc(u).hoistableScripts,f=Pc(l),r=c.get(f);r||(r=u.querySelector(xs(f)),r||(l=k({src:l,async:!0,type:"module"},n),(n=Ma.get(f))&&Ah(l,n),r=u.createElement("script"),Tt(r),Ll(r,"link",l),u.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},c.set(f,r))}}function Ss(l,n,u,c){var f=(f=yl.current)?Il(f):null;if(!f)throw Error(S(446));switch(l){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(n=$a(u.href),u=hc(f).hoistableStyles,c=u.get(n),c||(c={type:"style",instance:null,count:0,state:null},u.set(n,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){l=$a(u.href);var r=hc(f).hoistableStyles,y=r.get(l);if(y||(f=f.ownerDocument||f,y={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(l,y),(r=f.querySelector(ec(l)))&&!r._p&&(y.instance=r,y.state.loading=5),Ma.has(l)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},Ma.set(l,u),r||wg(f,l,u,y.state))),n&&c===null)throw Error(S(528,""));return y}if(n&&c!==null)throw Error(S(529,""));return null;case"script":return n=u.async,u=u.src,typeof u=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=Pc(u),u=hc(f).hoistableScripts,c=u.get(n),c||(c={type:"script",instance:null,count:0,state:null},u.set(n,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(S(444,l))}}function $a(l){return'href="'+Ua(l)+'"'}function ec(l){return'link[rel="stylesheet"]['+l+"]"}function Ts(l){return k({},l,{"data-precedence":l.precedence,precedence:null})}function wg(l,n,u,c){l.querySelector('link[rel="preload"][as="style"]['+n+"]")?c.loading=1:(n=l.createElement("link"),c.preload=n,n.addEventListener("load",function(){return c.loading|=1}),n.addEventListener("error",function(){return c.loading|=2}),Ll(n,"link",u),Tt(n),l.head.appendChild(n))}function Pc(l){return'[src="'+Ua(l)+'"]'}function xs(l){return"script[async]"+l}function y0(l,n,u){if(n.count++,n.instance===null)switch(n.type){case"style":var c=l.querySelector('style[data-href~="'+Ua(u.href)+'"]');if(c)return n.instance=c,Tt(c),c;var f=k({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return c=(l.ownerDocument||l).createElement("style"),Tt(c),Ll(c,"style",f),rr(c,u.precedence,l),n.instance=c;case"stylesheet":f=$a(u.href);var r=l.querySelector(ec(f));if(r)return n.state.loading|=4,n.instance=r,Tt(r),r;c=Ts(u),(f=Ma.get(f))&&Eh(c,f),r=(l.ownerDocument||l).createElement("link"),Tt(r);var y=r;return y._p=new Promise(function(v,A){y.onload=v,y.onerror=A}),Ll(r,"link",c),n.state.loading|=4,rr(r,u.precedence,l),n.instance=r;case"script":return r=Pc(u.src),(f=l.querySelector(xs(r)))?(n.instance=f,Tt(f),f):(c=u,(f=Ma.get(r))&&(c=k({},u),Ah(c,f)),l=l.ownerDocument||l,f=l.createElement("script"),Tt(f),Ll(f,"link",c),l.head.appendChild(f),n.instance=f);case"void":return null;default:throw Error(S(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(c=n.instance,n.state.loading|=4,rr(c,u.precedence,l));return n.instance}function rr(l,n,u){for(var c=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=c.length?c[c.length-1]:null,r=f,y=0;y<c.length;y++){var v=c[y];if(v.dataset.precedence===n)r=v;else if(r!==f)break}r?r.parentNode.insertBefore(l,r.nextSibling):(n=u.nodeType===9?u.head:u,n.insertBefore(l,n.firstChild))}function Eh(l,n){l.crossOrigin==null&&(l.crossOrigin=n.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=n.referrerPolicy),l.title==null&&(l.title=n.title)}function Ah(l,n){l.crossOrigin==null&&(l.crossOrigin=n.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=n.referrerPolicy),l.integrity==null&&(l.integrity=n.integrity)}var Es=null;function p0(l,n,u){if(Es===null){var c=new Map,f=Es=new Map;f.set(u,c)}else f=Es,c=f.get(u),c||(c=new Map,f.set(u,c));if(c.has(l))return c;for(c.set(l,null),u=u.getElementsByTagName(l),f=0;f<u.length;f++){var r=u[f];if(!(r[Pn]||r[Ct]||l==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var y=r.getAttribute(n)||"";y=l+y;var v=c.get(y);v?v.push(r):c.set(y,[r])}}return c}function zh(l,n,u){l=l.ownerDocument||l,l.head.insertBefore(u,n==="title"?l.querySelector("head > title"):null)}function g0(l,n,u){if(u===1||n.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;return n.rel==="stylesheet"?(l=n.disabled,typeof n.precedence=="string"&&l==null):!0;case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function _a(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function Ou(l,n,u,c){if(u.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(u.state.loading&4)===0){if(u.instance===null){var f=$a(c.href),r=n.querySelector(ec(f));if(r){n=r._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(l.count++,l=Oh.bind(l),n.then(l,l)),u.state.loading|=4,u.instance=r,Tt(r);return}r=n.ownerDocument||n,c=Ts(c),(f=Ma.get(f))&&Eh(c,f),r=r.createElement("link"),Tt(r);var y=r;y._p=new Promise(function(v,A){y.onload=v,y.onerror=A}),Ll(r,"link",c),u.instance=r}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(u,n),(n=u.state.preload)&&(u.state.loading&3)===0&&(l.count++,u=Oh.bind(l),n.addEventListener("load",u),n.addEventListener("error",u))}}var Fa=0;function v0(l,n){return l.stylesheets&&l.count===0&&Ch(l,l.stylesheets),0<l.count||0<l.imgCount?function(u){var c=setTimeout(function(){if(l.stylesheets&&Ch(l,l.stylesheets),l.unsuspend){var r=l.unsuspend;l.unsuspend=null,r()}},6e4+n);0<l.imgBytes&&Fa===0&&(Fa=62500*s0());var f=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Ch(l,l.stylesheets),l.unsuspend)){var r=l.unsuspend;l.unsuspend=null,r()}},(l.imgBytes>Fa?50:800)+n);return l.unsuspend=u,function(){l.unsuspend=null,clearTimeout(c),clearTimeout(f)}}:null}function Oh(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ch(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var Dh=null;function Ch(l,n){l.stylesheets=null,l.unsuspend!==null&&(l.count++,Dh=new Map,n.forEach(Ul,l),Dh=null,Oh.call(l))}function Ul(l,n){if(!(n.state.loading&4)){var u=Dh.get(l);if(u)var c=u.get(null);else{u=new Map,Dh.set(l,u);for(var f=l.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<f.length;r++){var y=f[r];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(u.set(y.dataset.precedence,y),c=y)}c&&u.set(null,c)}f=n.instance,y=f.getAttribute("data-precedence"),r=u.get(y)||c,r===c&&u.set(null,f),u.set(y,f),this.count++,c=Oh.bind(this),f.addEventListener("load",c),f.addEventListener("error",c),r?r.parentNode.insertBefore(f,r.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(f,l.firstChild)),n.state.loading|=4}}var dr={$$typeof:ft,Provider:null,Consumer:null,_currentValue:ne,_currentValue2:ne,_threadCount:0};function b0(l,n,u,c,f,r,y,v,A){this.tag=1,this.containerInfo=l,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Is(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Is(0),this.hiddenUpdates=Is(null),this.identifierPrefix=c,this.onUncaughtError=f,this.onCaughtError=r,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function Mh(l,n,u,c,f,r,y,v,A,B,$,I){return l=new b0(l,n,u,y,A,B,$,I,v),n=1,r===!0&&(n|=24),r=ll(3,null,null,n),l.current=r,r.stateNode=l,n=Sf(),n.refCount++,l.pooledCache=n,n.refCount++,r.memoizedState={element:c,isDehydrated:u,cache:n},Df(r),l}function eo(l){return l?(l=oa,l):oa}function Vg(l,n,u,c,f,r){f=eo(f),c.context===null?c.context=f:c.pendingContext=f,c=ti(n),c.payload={element:u},r=r===void 0?null:r,r!==null&&(c.callback=r),u=Va(l,c,n),u!==null&&(va(u,l,n),Yi(u,l,n))}function _h(l,n){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var u=l.retryLane;l.retryLane=u!==0&&u<n?u:n}}function S0(l,n){_h(l,n),(l=l.alternate)&&_h(l,n)}function Xg(l){if(l.tag===13||l.tag===31){var n=$u(l,67108864);n!==null&&va(n,l,67108864),S0(l,67108864)}}function to(l){if(l.tag===13||l.tag===31){var n=Ca();n=Jr(n);var u=$u(l,n);u!==null&&va(u,l,n),S0(l,n)}}var El=!0;function Du(l,n,u,c){var f=C.T;C.T=null;var r=K.p;try{K.p=2,Zl(l,n,u,c)}finally{K.p=r,C.T=f}}function Cu(l,n,u,c){var f=C.T;C.T=null;var r=K.p;try{K.p=8,Zl(l,n,u,c)}finally{K.p=r,C.T=f}}function Zl(l,n,u,c){if(El){var f=T0(c);if(f===null)a0(l,n,c,jh,u),di(l,c);else if(d1(f,l,n,u,c))c.stopPropagation();else if(di(l,c),n&4&&-1<Sa.indexOf(l)){for(;f!==null;){var r=dc(f);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var y=ln(r.pendingLanes);if(y!==0){var v=r;for(v.pendingLanes|=2,v.entangledLanes|=2;y;){var A=1<<31-na(y);v.entanglements[1]|=A,y&=~A}zu(r),(pt&6)===0&&(bt=Xl()+500,fi(0))}}break;case 31:case 13:v=$u(r,2),v!==null&&va(v,r,2),ss(),S0(r,2)}if(r=T0(c),r===null&&a0(l,n,c,jh,u),r===f)break;f=r}f!==null&&c.stopPropagation()}else a0(l,n,c,null,u)}}function T0(l){return l=ld(l),As(l)}var jh=null;function As(l){if(jh=null,l=rc(l),l!==null){var n=H(l);if(n===null)l=null;else{var u=n.tag;if(u===13){if(l=q(n),l!==null)return l;l=null}else if(u===31){if(l=D(n),l!==null)return l;l=null}else if(u===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;l=null}else n!==l&&(l=null)}}return jh=l,null}function hr(l){switch(l){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(kv()){case Qr:return 2;case Lr:return 8;case bi:case Wv:return 32;case vm:return 268435456;default:return 32}default:return 32}}var zs=!1,Al=null,Jl=null,Pl=null,tc=new Map,pn=new Map,$t=[],Sa="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".split(" ");function di(l,n){switch(l){case"focusin":case"focusout":Al=null;break;case"dragenter":case"dragleave":Jl=null;break;case"mouseover":case"mouseout":Pl=null;break;case"pointerover":case"pointerout":tc.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":pn.delete(n.pointerId)}}function lo(l,n,u,c,f,r){return l===null||l.nativeEvent!==r?(l={blockedOn:n,domEventName:u,eventSystemFlags:c,nativeEvent:r,targetContainers:[f]},n!==null&&(n=dc(n),n!==null&&Xg(n)),l):(l.eventSystemFlags|=c,n=l.targetContainers,f!==null&&n.indexOf(f)===-1&&n.push(f),l)}function d1(l,n,u,c,f){switch(n){case"focusin":return Al=lo(Al,l,n,u,c,f),!0;case"dragenter":return Jl=lo(Jl,l,n,u,c,f),!0;case"mouseover":return Pl=lo(Pl,l,n,u,c,f),!0;case"pointerover":var r=f.pointerId;return tc.set(r,lo(tc.get(r)||null,l,n,u,c,f)),!0;case"gotpointercapture":return r=f.pointerId,pn.set(r,lo(pn.get(r)||null,l,n,u,c,f)),!0}return!1}function Qg(l){var n=rc(l.target);if(n!==null){var u=H(n);if(u!==null){if(n=u.tag,n===13){if(n=q(u),n!==null){l.blockedOn=n,Tm(l.priority,function(){to(u)});return}}else if(n===31){if(n=D(u),n!==null){l.blockedOn=n,Tm(l.priority,function(){to(u)});return}}else if(n===3&&u.stateNode.current.memoizedState.isDehydrated){l.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}l.blockedOn=null}function mr(l){if(l.blockedOn!==null)return!1;for(var n=l.targetContainers;0<n.length;){var u=T0(l.nativeEvent);if(u===null){u=l.nativeEvent;var c=new u.constructor(u.type,u);td=c,u.target.dispatchEvent(c),td=null}else return n=dc(u),n!==null&&Xg(n),l.blockedOn=u,!1;n.shift()}return!0}function Os(l,n,u){mr(l)&&u.delete(n)}function Lg(){zs=!1,Al!==null&&mr(Al)&&(Al=null),Jl!==null&&mr(Jl)&&(Jl=null),Pl!==null&&mr(Pl)&&(Pl=null),tc.forEach(Os),pn.forEach(Os)}function Mu(l,n){l.blockedOn===n&&(l.blockedOn=null,zs||(zs=!0,m.unstable_scheduleCallback(m.unstable_NormalPriority,Lg)))}var Ds=null;function Zg(l){Ds!==l&&(Ds=l,m.unstable_scheduleCallback(m.unstable_NormalPriority,function(){Ds===l&&(Ds=null);for(var n=0;n<l.length;n+=3){var u=l[n],c=l[n+1],f=l[n+2];if(typeof c!="function"){if(As(c||u)===null)continue;break}var r=dc(u);r!==null&&(l.splice(n,3),n-=3,ko(r,{pending:!0,data:f,method:u.method,action:c},c,f))}}))}function Cs(l){function n(A){return Mu(A,l)}Al!==null&&Mu(Al,l),Jl!==null&&Mu(Jl,l),Pl!==null&&Mu(Pl,l),tc.forEach(n),pn.forEach(n);for(var u=0;u<$t.length;u++){var c=$t[u];c.blockedOn===l&&(c.blockedOn=null)}for(;0<$t.length&&(u=$t[0],u.blockedOn===null);)Qg(u),u.blockedOn===null&&$t.shift();if(u=(l.ownerDocument||l).$$reactFormReplay,u!=null)for(c=0;c<u.length;c+=3){var f=u[c],r=u[c+1],y=f[ua]||null;if(typeof r=="function")y||Zg(u);else if(y){var v=null;if(r&&r.hasAttribute("formAction")){if(f=r,y=r[ua]||null)v=y.formAction;else if(As(f)!==null)continue}else v=y.action;typeof v=="function"?u[c+1]=v:(u.splice(c,3),c-=3),Zg(u)}}}function x0(){function l(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(y){return f=y})},focusReset:"manual",scroll:"manual"})}function n(){f!==null&&(f(),f=null),c||setTimeout(u,20)}function u(){if(!c&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var c=!1,f=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(u,100),function(){c=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),f!==null&&(f(),f=null)}}}function Nh(l){this._internalRoot=l}Rh.prototype.render=Nh.prototype.render=function(l){var n=this._internalRoot;if(n===null)throw Error(S(409));var u=n.current,c=Ca();Vg(u,c,l,n,null,null)},Rh.prototype.unmount=Nh.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var n=l.containerInfo;Vg(l.current,2,null,l,null,null),ss(),n[Ti]=null}};function Rh(l){this._internalRoot=l}Rh.prototype.unstable_scheduleHydration=function(l){if(l){var n=Kr();l={blockedOn:null,target:l,priority:n};for(var u=0;u<$t.length&&n!==0&&n<$t[u].priority;u++);$t.splice(u,0,l),u===0&&Qg(l)}};var E0=j.version;if(E0!=="19.2.4")throw Error(S(527,E0,"19.2.4"));K.findDOMNode=function(l){var n=l._reactInternals;if(n===void 0)throw typeof l.render=="function"?Error(S(188)):(l=Object.keys(l).join(","),Error(S(268,l)));return l=te(n),l=l!==null?re(l):null,l=l===null?null:l.stateNode,l};var Jg={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:C,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var yr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yr.isDisabled&&yr.supportsFiber)try{sc=yr.inject(Jg),xa=yr}catch{}}return hm.createRoot=function(l,n){if(!N(l))throw Error(S(299));var u=!1,c="",f=Ld,r=Ay,y=Zd;return n!=null&&(n.unstable_strictMode===!0&&(u=!0),n.identifierPrefix!==void 0&&(c=n.identifierPrefix),n.onUncaughtError!==void 0&&(f=n.onUncaughtError),n.onCaughtError!==void 0&&(r=n.onCaughtError),n.onRecoverableError!==void 0&&(y=n.onRecoverableError)),n=Mh(l,1,!1,null,null,u,c,null,f,r,y,x0),l[Ti]=n.current,ys(l),new Nh(n)},hm.hydrateRoot=function(l,n,u){if(!N(l))throw Error(S(299));var c=!1,f="",r=Ld,y=Ay,v=Zd,A=null;return u!=null&&(u.unstable_strictMode===!0&&(c=!0),u.identifierPrefix!==void 0&&(f=u.identifierPrefix),u.onUncaughtError!==void 0&&(r=u.onUncaughtError),u.onCaughtError!==void 0&&(y=u.onCaughtError),u.onRecoverableError!==void 0&&(v=u.onRecoverableError),u.formState!==void 0&&(A=u.formState)),n=Mh(l,1,!0,n,u??null,c,f,A,r,y,v,x0),n.context=eo(null),u=n.current,c=Ca(),c=Jr(c),f=ti(c),f.callback=null,Va(u,f,c),u=c,n.current.lanes=u,To(n,u),zu(n),l[Ti]=n.current,ys(l),new Rh(n)},hm.version="19.2.4",hm}var mm={};var Rb;function LT(){return Rb||(Rb=1,process.env.NODE_ENV!=="production"&&(function(){function m(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function j(e,t,a,i){if(a>=t.length)return i;var o=t[a],s=vl(e)?e.slice():Ie({},e);return s[o]=j(e[o],t,a+1,i),s}function Q(e,t,a){if(t.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var i=0;i<a.length-1;i++)if(t[i]!==a[i]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return S(e,t,a,0)}}function S(e,t,a,i){var o=t[i],s=vl(e)?e.slice():Ie({},e);return i+1===t.length?(s[a[i]]=s[o],vl(s)?s.splice(o,1):delete s[o]):s[o]=S(e[o],t,a,i+1),s}function N(e,t,a){var i=t[a],o=vl(e)?e.slice():Ie({},e);return a+1===t.length?(vl(o)?o.splice(i,1):delete o[i],o):(o[i]=N(e[i],t,a+1),o)}function H(){return!1}function q(){return null}function D(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function L(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function te(){}function re(){}function k(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")}function Z(e,t,a,i){return new n1(e,t,a,i)}function ue(e,t){e.context===Ns&&(gh(e.current,2,t,e,null,null),Ja())}function se(e,t){if(Nu!==null){var a=t.staleFamilies;t=t.updatedFamilies,Jf(),qp(e.current,t,a),Ja()}}function Te(e){Nu=e}function Qe(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function xe(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function We(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ft(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Ge(e){if(xe(e)!==e)throw Error("Unable to find node on an unmounted component.")}function ut(e){var t=e.alternate;if(!t){if(t=xe(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var a=e,i=t;;){var o=a.return;if(o===null)break;var s=o.alternate;if(s===null){if(i=o.return,i!==null){a=i;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===a)return Ge(o),e;if(s===i)return Ge(o),t;s=s.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==i.return)a=o,i=s;else{for(var d=!1,h=o.child;h;){if(h===a){d=!0,a=o,i=s;break}if(h===i){d=!0,i=o,a=s;break}h=h.sibling}if(!d){for(h=s.child;h;){if(h===a){d=!0,a=s,i=o;break}if(h===i){d=!0,i=s,a=o;break}h=h.sibling}if(!d)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(a.alternate!==i)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(a.tag!==3)throw Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function me(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=me(e),t!==null)return t;e=e.sibling}return null}function Ee(e){return e===null||typeof e!="object"?null:(e=Gg&&e[Gg]||e["@@iterator"],typeof e=="function"?e:null)}function pe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===bs?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case gs:return"Fragment";case sr:return"Profiler";case ba:return"StrictMode";case Ic:return"Suspense";case Ma:return"SuspenseList";case Zn:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case Ii:return"Portal";case Ln:return e.displayName||"Context";case xh:return(e._context.displayName||"Context")+".Consumer";case vs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case fr:return t=e.displayName||null,t!==null?t:pe(e.type)||"Memo";case Il:t=e._payload,e=e._init;try{return pe(e(t))}catch{}}return null}function Ce(e){return typeof e.tag=="number"?ce(e):typeof e.name=="string"?e.name:null}function ce(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return pe(t);case 8:return t===ba?"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 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var a=t.length-1;0<=a;a--)if(typeof t[a].name=="string")return t[a].name}if(e.return!==null)return ce(e.return)}return null}function lt(e){return{current:e}}function Re(e,t){0>ri?console.error("Unexpected pop."):(t!==m0[ri]&&console.error("Unexpected Fiber popped."),e.current=h0[ri],h0[ri]=null,m0[ri]=null,ri--)}function De(e,t,a){ri++,h0[ri]=e.current,m0[ri]=a,e.current=t}function Ut(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Xt(e,t){De($a,t,e),De(Ss,e,e),De(Pi,null,e);var a=t.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?dg(t):go;break;default:if(a=t.tagName,t=t.namespaceURI)t=dg(t),t=oi(t,a);else switch(a){case"svg":t=sm;break;case"math":t=qv;break;default:t=go}}a=a.toLowerCase(),a=zm(null,a),a={context:t,ancestorInfo:a},Re(Pi,e),De(Pi,a,e)}function C(e){Re(Pi,e),Re(Ss,e),Re($a,e)}function K(){return Ut(Pi.current)}function ne(e){e.memoizedState!==null&&De(ec,e,e);var t=Ut(Pi.current),a=e.type,i=oi(t.context,a);a=zm(t.ancestorInfo,a),i={context:i,ancestorInfo:a},t!==i&&(De(Ss,e,e),De(Pi,i,e))}function be(e){Ss.current===e&&(Re(Pi,e),Re(Ss,e)),ec.current===e&&(Re(ec,e),dp._currentValue=Yr)}function ge(){}function J(){if(Ts===0){wg=console.log,Pc=console.info,xs=console.warn,y0=console.error,rr=console.group,Eh=console.groupCollapsed,Ah=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ge,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ts++}function de(){if(Ts--,Ts===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ie({},e,{value:wg}),info:Ie({},e,{value:Pc}),warn:Ie({},e,{value:xs}),error:Ie({},e,{value:y0}),group:Ie({},e,{value:rr}),groupCollapsed:Ie({},e,{value:Eh}),groupEnd:Ie({},e,{value:Ah})})}0>Ts&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function ye(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
6
+ <%s key={someKey} {...props} />`,o,p,m,p),ce[p+o]=!0)}if(p=null,i!==void 0&&(r(i),p=``+i),s(n)&&(r(n.key),p=``+n.key),`key`in n)for(var h in i={},n)h!==`key`&&(i[h]=n[h]);else i=n;return p&&c(i,typeof e==`function`?e.displayName||e.name||`Unknown`:e),u(e,p,i,a(),l,d)}function f(e){p(e)?e._store&&(e._store.validated=1):typeof e==`object`&&e&&e.$$typeof===ne&&(e._payload.status===`fulfilled`?p(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function p(e){return typeof e==`object`&&!!e&&e.$$typeof===h}var m=require(`react`),h=Symbol.for(`react.transitional.element`),g=Symbol.for(`react.portal`),_=Symbol.for(`react.fragment`),v=Symbol.for(`react.strict_mode`),y=Symbol.for(`react.profiler`),b=Symbol.for(`react.consumer`),x=Symbol.for(`react.context`),ee=Symbol.for(`react.forward_ref`),S=Symbol.for(`react.suspense`),te=Symbol.for(`react.suspense_list`),C=Symbol.for(`react.memo`),ne=Symbol.for(`react.lazy`),re=Symbol.for(`react.activity`),w=Symbol.for(`react.client.reference`),ie=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,T=Object.prototype.hasOwnProperty,E=Array.isArray,ae=console.createTask?console.createTask:function(){return null};m={react_stack_bottom_frame:function(e){return e()}};var oe,D={},O=m.react_stack_bottom_frame.bind(m,o)(),se=ae(i(o)),ce={};e.Fragment=_,e.jsx=function(e,t,n){var r=1e4>ie.recentlyCreatedOwnerStacks++;return d(e,t,n,!1,r?Error(`react-stack-top-frame`):O,r?ae(i(e)):se)},e.jsxs=function(e,t,n){var r=1e4>ie.recentlyCreatedOwnerStacks++;return d(e,t,n,!0,r?Error(`react-stack-top-frame`):O,r?ae(i(e)):se)}})()})),v=p(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=g():t.exports=_()})),y=m({default:()=>b});function b({rowData:e=[],columnDefs:n=[],gridOptions:r={},pagination:a=!1,paginationPageSize:o=10,domLayout:s=`normal`,animateRows:c=!0,rowSelection:l,theme:u=`quartz`,height:d=500,className:f=``,editable:p=!1,editType:m,singleClickEdit:h=!1,stopEditingWhenCellsLoseFocus:g=!0,exportConfig:_,statusBar:v,callbacks:y,columnConfig:b,enableRangeSelection:ee=!1,enableCharts:S=!1,contextMenu:te,treeData:C,rowGrouping:ne,excelExport:re}){let w=(0,t.useRef)(null),ie=(0,t.useMemo)(()=>{if(!v?.enabled)return;let e=v.aggregations||[`count`,`sum`,`avg`],t=[];return e.includes(`count`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`count`]}}),e.includes(`sum`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`sum`]}}),e.includes(`avg`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`avg`]}}),e.includes(`min`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`min`]}}),e.includes(`max`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`max`]}}),t},[v]),T=(0,t.useCallback)(()=>{if(!w.current?.api)return;let t={fileName:_?.fileName||`export.csv`,skipColumnHeaders:_?.skipColumnHeaders||!1,allColumns:_?.allColumns||!1,onlySelected:_?.onlySelected||!1};if(w.current.api.exportDataAsCsv(t),y?.onExport){let t=_?.onlySelected?w.current.api.getSelectedRows():e;y.onExport(t||[],`csv`)}},[_,y,e]),E=(0,t.useCallback)(()=>{if(!w.current?.api)return;let t={fileName:re?.fileName||_?.fileName||`export.csv`,skipColumnHeaders:re?.includeHeaders===!1,allColumns:!0,onlySelected:re?.onlySelected||!1};if(w.current.api.exportDataAsCsv(t),y?.onExport){let t=re?.onlySelected?w.current.api.getSelectedRows():e;y.onExport(t||[],`excel`)}},[re,_,y,e]),ae=(0,t.useCallback)(e=>{if(!te?.enabled)return[];let t=[];return(te.items||[`copy`,`copyWithHeaders`,`separator`,`export`]).forEach(e=>{e===`export`?t.push({name:`Export CSV`,icon:`<span>📥</span>`,action:()=>T()}):e===`export-excel`?t.push({name:`Export Excel (CSV)`,icon:`<span>📊</span>`,action:()=>E()}):e===`autoSizeAll`?t.push({name:`Auto-size All Columns`,action:()=>{w.current?.api&&w.current.api.autoSizeAllColumns()}}):e===`resetColumns`?t.push({name:`Reset Columns`,action:()=>{w.current?.api&&w.current.api.resetColumnState()}}):t.push(e)}),te.customItems&&(t.length>0&&t.push(`separator`),te.customItems.forEach(n=>{t.push({name:n.name,disabled:n.disabled,action:()=>{y?.onContextMenuAction&&y.onContextMenuAction(n.action,e.node?.data)}})})),t},[te,T,E,y]),oe=(0,t.useCallback)(e=>{y?.onCellClicked?.(e)},[y]),D=(0,t.useCallback)(e=>{y?.onRowClicked?.(e)},[y]),O=(0,t.useCallback)(e=>{y?.onSelectionChanged?.(e)},[y]),se=(0,t.useCallback)(e=>{y?.onCellValueChanged?.(e)},[y]),ce=(0,t.useCallback)(e=>{w.current=e},[]),le=(0,t.useMemo)(()=>n?n.map(e=>{let t={...e};return p&&e.editable!==!1&&(t.editable=!0),b&&(b.resizable!==void 0&&e.resizable===void 0&&(t.resizable=b.resizable),b.sortable!==void 0&&e.sortable===void 0&&(t.sortable=b.sortable),b.filterable!==void 0&&e.filter===void 0&&(t.filter=b.filterable)),ne?.enabled&&ne.groupByFields?.includes(e.field||``)&&(t.rowGroup=!0,t.hide=!0),ne?.aggregations&&e.field&&ne.aggregations[e.field]&&(t.aggFunc=ne.aggregations[e.field]),t}):[],[n,p,b,ne]),ue=(0,t.useMemo)(()=>({...r,pagination:a,paginationPageSize:o,domLayout:s,animateRows:c,rowSelection:l,editType:m,singleClickEdit:h,stopEditingWhenCellsLoseFocus:g,statusBar:ie?{statusPanels:ie}:void 0,enableRangeSelection:ee,enableCharts:S,getContextMenuItems:te?.enabled?ae:void 0,...C?.enabled?{treeData:!0,getDataPath:C.pathField?e=>e[C.pathField]:void 0,autoGroupColumnDef:{headerName:`Hierarchy`,minWidth:250,cellRendererParams:{suppressCount:!1}},groupDefaultExpanded:C.expandAll?-1:C.expandDepth??0}:{},...ne?.enabled?{groupDefaultExpanded:ne.groupByFields?.length?1:0,autoGroupColumnDef:{minWidth:200,cellRendererParams:{suppressCount:!ne.showRowCount}}}:{},suppressCellFocus:!p,enableCellTextSelection:!0,ensureDomOrder:!0,rowBuffer:r.rowBuffer??10,debounceVerticalScrollbar:r.debounceVerticalScrollbar??e.length>1e3,onCellClicked:oe,onRowClicked:D,onSelectionChanged:O,onCellValueChanged:se,onGridReady:ce}),[r,a,o,s,c,l,m,h,g,ie,ee,S,te,ae,C,ne,p,e.length,oe,D,O,se,ce]),k=(0,t.useMemo)(()=>({height:typeof d==`number`?`${d}px`:d,width:`100%`}),[d]),A=[`ag-theme-${u}`,`rounded-xl`,`border`,`border-border`,`overflow-hidden`,`shadow-lg`,f].filter(Boolean).join(` `);return(0,x.jsxs)(`div`,{className:`ag-grid-container`,children:[(_?.enabled||re?.enabled)&&(0,x.jsxs)(`div`,{className:`mb-2 flex gap-2`,children:[_?.enabled&&(0,x.jsx)(`button`,{onClick:T,className:`px-3 py-1.5 text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 rounded-md transition-colors`,children:`Export CSV`}),re?.enabled&&(0,x.jsx)(`button`,{onClick:E,className:`px-3 py-1.5 text-sm font-medium text-white bg-green-600 hover:bg-green-700 rounded-md transition-colors`,children:`Export Excel (CSV)`})]}),(0,x.jsx)(`div`,{className:A,style:k,children:(0,x.jsx)(i.AgGridReact,{ref:w,rowData:e,columnDefs:le,gridOptions:ue})})]})}var x,ee=f((()=>{x=v()})),S,te=f((()=>{S={text:`agTextColumnFilter`,textarea:`agTextColumnFilter`,number:`agNumberColumnFilter`,currency:`agNumberColumnFilter`,percent:`agNumberColumnFilter`,boolean:`agSetColumnFilter`,date:`agDateColumnFilter`,datetime:`agDateColumnFilter`,time:`agTextColumnFilter`,email:`agTextColumnFilter`,phone:`agTextColumnFilter`,url:`agTextColumnFilter`,select:`agSetColumnFilter`}})),C=p((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,ee||(ee=!0,w());else{var t=n(l);t!==null&&E(x,t.startTime-e)}}var ee=!1,S=-1,te=5,C=-1;function ne(){return g?!0:!(e.unstable_now()-C<te)}function re(){if(g=!1,ee){var t=e.unstable_now();C=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(S),S=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&ne());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&E(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?w():ee=!1}}}var w;if(typeof y==`function`)w=function(){y(re)};else if(typeof MessageChannel<`u`){var ie=new MessageChannel,T=ie.port2;ie.port1.onmessage=re,w=function(){T.postMessage(null)}}else w=function(){_(re,0)};function E(t,n){S=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):te=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(S),S=-1):h=!0,E(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,ee||(ee=!0,w()))),r},e.unstable_shouldYield=ne,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),ne=p((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(){if(x=!1,C){var t=e.unstable_now();w=t;var n=!0;try{a:{y=!1,b&&(b=!1,S(ne),ne=-1),v=!0;var a=_;try{b:{for(o(t),g=r(p);g!==null&&!(g.expirationTime>t&&c());){var u=g.callback;if(typeof u==`function`){g.callback=null,_=g.priorityLevel;var d=u(g.expirationTime<=t);if(t=e.unstable_now(),typeof d==`function`){g.callback=d,o(t),n=!0;break b}g===r(p)&&i(p),o(t)}else i(p);g=r(p)}if(g!==null)n=!0;else{var f=r(m);f!==null&&l(s,f.startTime-t),n=!1}}break a}finally{g=null,_=a,v=!1}n=void 0}}finally{n?ie():C=!1}}}function n(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,i=e[r];if(0<a(i,t))e[r]=t,e[n]=i,n=r;else break a}}function r(e){return e.length===0?null:e[0]}function i(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,i=e.length,o=i>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>a(c,n))l<i&&0>a(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<i&&0>a(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}function o(e){for(var t=r(m);t!==null;){if(t.callback===null)i(m);else if(t.startTime<=e)i(m),t.sortIndex=t.expirationTime,n(p,t);else break;t=r(m)}}function s(e){if(b=!1,o(e),!y)if(r(p)!==null)y=!0,C||(C=!0,ie());else{var t=r(m);t!==null&&l(s,t.startTime-e)}}function c(){return x?!0:!(e.unstable_now()-w<re)}function l(t,n){ne=ee(function(){t(e.unstable_now())},n)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var u=performance;e.unstable_now=function(){return u.now()}}else{var d=Date,f=d.now();e.unstable_now=function(){return d.now()-f}}var p=[],m=[],h=1,g=null,_=3,v=!1,y=!1,b=!1,x=!1,ee=typeof setTimeout==`function`?setTimeout:null,S=typeof clearTimeout==`function`?clearTimeout:null,te=typeof setImmediate<`u`?setImmediate:null,C=!1,ne=-1,re=5,w=-1;if(typeof te==`function`)var ie=function(){te(t)};else if(typeof MessageChannel<`u`){var T=new MessageChannel,E=T.port2;T.port1.onmessage=t,ie=function(){E.postMessage(null)}}else ie=function(){ee(t,0)};e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):re=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return _},e.unstable_next=function(e){switch(_){case 1:case 2:case 3:var t=3;break;default:t=_}var n=_;_=t;try{return e()}finally{_=n}},e.unstable_requestPaint=function(){x=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=_;_=e;try{return t()}finally{_=n}},e.unstable_scheduleCallback=function(t,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,t){case 1:var c=-1;break;case 2:c=250;break;case 5:c=1073741823;break;case 4:c=1e4;break;default:c=5e3}return c=a+c,t={id:h++,callback:i,priorityLevel:t,startTime:a,expirationTime:c,sortIndex:-1},a>o?(t.sortIndex=a,n(m,t),r(p)===null&&t===r(m)&&(b?(S(ne),ne=-1):b=!0,l(s,a-o))):(t.sortIndex=c,n(p,t),y||v||(y=!0,C||(C=!0,ie()))),t},e.unstable_shouldYield=c,e.unstable_wrapCallback=function(e){var t=_;return function(){var n=_;_=t;try{return e.apply(this,arguments)}finally{_=n}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),re=p(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=C():t.exports=ne()})),w=p((e=>{var t=re(),n=require(`react`),r=require(`react-dom`);function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var f=Object.assign,p=Symbol.for(`react.element`),m=Symbol.for(`react.transitional.element`),h=Symbol.for(`react.portal`),g=Symbol.for(`react.fragment`),_=Symbol.for(`react.strict_mode`),v=Symbol.for(`react.profiler`),y=Symbol.for(`react.consumer`),b=Symbol.for(`react.context`),x=Symbol.for(`react.forward_ref`),ee=Symbol.for(`react.suspense`),S=Symbol.for(`react.suspense_list`),te=Symbol.for(`react.memo`),C=Symbol.for(`react.lazy`),ne=Symbol.for(`react.activity`),w=Symbol.for(`react.memo_cache_sentinel`),ie=Symbol.iterator;function T(e){return typeof e!=`object`||!e?null:(e=ie&&e[ie]||e[`@@iterator`],typeof e==`function`?e:null)}var E=Symbol.for(`react.client.reference`);function ae(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===E?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case g:return`Fragment`;case v:return`Profiler`;case _:return`StrictMode`;case ee:return`Suspense`;case S:return`SuspenseList`;case ne:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case h:return`Portal`;case b:return e.displayName||`Context`;case y:return(e._context.displayName||`Context`)+`.Consumer`;case x:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case te:return t=e.displayName||null,t===null?ae(e.type)||`Memo`:t;case C:t=e._payload,e=e._init;try{return ae(e(t))}catch{}}return null}var oe=Array.isArray,D=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,se={pending:!1,data:null,method:null,action:null},ce=[],le=-1;function ue(e){return{current:e}}function k(e){0>le||(e.current=ce[le],ce[le]=null,le--)}function A(e,t){le++,ce[le]=e.current,e.current=t}var de=ue(null),fe=ue(null),pe=ue(null),j=ue(null);function me(e,t){switch(A(pe,t),A(fe,e),A(de,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Xd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Xd(t),e=Zd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}k(de),A(de,e)}function he(){k(de),k(fe),k(pe)}function ge(e){e.memoizedState!==null&&A(j,e);var t=de.current,n=Zd(t,e.type);t!==n&&(A(fe,e),A(de,n))}function M(e){fe.current===e&&(k(de),k(fe)),j.current===e&&(k(j),ap._currentValue=se)}var _e,ve;function ye(e){if(_e===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);_e=t&&t[1]||``,ve=-1<e.stack.indexOf(`
7
+ at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
8
+ `+_e+e+ve}var be=!1;function xe(e,t){if(!e||be)return``;be=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
9
+ `),l=s.split(`
10
+ `);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
11
+ `+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{be=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?ye(n):``}function Se(e,t){switch(e.tag){case 26:case 27:case 5:return ye(e.type);case 16:return ye(`Lazy`);case 13:return e.child!==t&&t!==null?ye(`Suspense Fallback`):ye(`Suspense`);case 19:return ye(`SuspenseList`);case 0:case 15:return xe(e.type,!1);case 11:return xe(e.type.render,!1);case 1:return xe(e.type,!0);case 31:return ye(`Activity`);default:return``}}function Ce(e){try{var t=``,n=null;do t+=Se(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
12
+ Error generating stack: `+e.message+`
13
+ `+e.stack}}var we=Object.prototype.hasOwnProperty,Te=t.unstable_scheduleCallback,Ee=t.unstable_cancelCallback,De=t.unstable_shouldYield,Oe=t.unstable_requestPaint,ke=t.unstable_now,Ae=t.unstable_getCurrentPriorityLevel,je=t.unstable_ImmediatePriority,Me=t.unstable_UserBlockingPriority,Ne=t.unstable_NormalPriority,Pe=t.unstable_LowPriority,Fe=t.unstable_IdlePriority,Ie=t.log,Le=t.unstable_setDisableYieldValue,Re=null,ze=null;function Be(e){if(typeof Ie==`function`&&Le(e),ze&&typeof ze.setStrictMode==`function`)try{ze.setStrictMode(Re,e)}catch{}}var Ve=Math.clz32?Math.clz32:We,He=Math.log,Ue=Math.LN2;function We(e){return e>>>=0,e===0?32:31-(He(e)/Ue|0)|0}var Ge=256,Ke=262144,qe=4194304;function Je(e){var t=e&42;if(t!==0)return t;switch(e&-e){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ye(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Je(n))):i=Je(o):i=Je(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Je(n))):i=Je(o)):i=Je(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Xe(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ze(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Qe(){var e=qe;return qe<<=1,!(qe&62914560)&&(qe=4194304),e}function $e(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function et(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function tt(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Ve(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&nt(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function nt(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ve(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function rt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ve(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function it(e,t){var n=t&-t;return n=n&42?1:at(n),(n&(e.suspendedLanes|t))===0?n:0}function at(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ot(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function st(){var e=O.p;return e===0?(e=window.event,e===void 0?32:xp(e.type)):e}function ct(e,t){var n=O.p;try{return O.p=e,t()}finally{O.p=n}}var lt=Math.random().toString(36).slice(2),ut=`__reactFiber$`+lt,dt=`__reactProps$`+lt,ft=`__reactContainer$`+lt,pt=`__reactEvents$`+lt,mt=`__reactListeners$`+lt,ht=`__reactHandles$`+lt,gt=`__reactResources$`+lt,_t=`__reactMarker$`+lt;function vt(e){delete e[ut],delete e[dt],delete e[pt],delete e[mt],delete e[ht]}function yt(e){var t=e[ut];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ft]||n[ut]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=bf(e);e!==null;){if(n=e[ut])return n;e=bf(e)}return t}e=n,n=e.parentNode}return null}function bt(e){if(e=e[ut]||e[ft]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function xt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function St(e){var t=e[gt];return t||=e[gt]={hoistableStyles:new Map,hoistableScripts:new Map},t}function Ct(e){e[_t]=!0}var wt=new Set,Tt={};function Et(e,t){Dt(e,t),Dt(e+`Capture`,t)}function Dt(e,t){for(Tt[e]=t,e=0;e<t.length;e++)wt.add(t[e])}var Ot=RegExp(`^[: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]*$`),kt={},At={};function jt(e){return we.call(At,e)?!0:we.call(kt,e)?!1:Ot.test(e)?At[e]=!0:(kt[e]=!0,!1)}function Mt(e,t,n){if(jt(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}function Nt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function Pt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function Ft(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function It(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Lt(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Rt(e){if(!e._valueTracker){var t=It(e)?`checked`:`value`;e._valueTracker=Lt(e,t,``+e[t])}}function zt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=It(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Bt(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var Vt=/[\n"\\]/g;function Ht(e){return e.replace(Vt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Ut(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Ft(t)):e.value!==``+Ft(t)&&(e.value=``+Ft(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Gt(e,o,Ft(n)):Gt(e,o,Ft(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Ft(s):e.removeAttribute(`name`)}function Wt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){Rt(e);return}n=n==null?``:``+Ft(n),t=t==null?n:``+Ft(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),Rt(e)}function Gt(e,t,n){t===`number`&&Bt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Kt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Ft(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function qt(e,t,n){if(t!=null&&(t=``+Ft(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Ft(n)}function Jt(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(oe(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=Ft(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Rt(e)}function Yt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Xt=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function Zt(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||Xt.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function Qt(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&Zt(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&Zt(e,o,t[o])}function $t(e){if(e.indexOf(`-`)===-1)return!1;switch(e){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 en=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),tn=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function nn(e){return tn.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function rn(){}var an=null;function on(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var sn=null,cn=null;function ln(e){var t=bt(e);if(t&&(e=t.stateNode)){var n=e[dt]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Ut(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Ht(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[dt]||null;if(!a)throw Error(i(90));Ut(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&zt(r)}break a;case`textarea`:qt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Kt(e,!!n.multiple,t,!1)}}}var un=!1;function dn(e,t,n){if(un)return e(t,n);un=!0;try{return e(t)}finally{if(un=!1,(sn!==null||cn!==null)&&(Du(),sn&&(t=sn,e=cn,cn=sn=null,ln(t),e)))for(t=0;t<e.length;t++)ln(e[t])}}function fn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[dt]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var pn=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),mn=!1;if(pn)try{var hn={};Object.defineProperty(hn,`passive`,{get:function(){mn=!0}}),window.addEventListener(`test`,hn,hn),window.removeEventListener(`test`,hn,hn)}catch{mn=!1}var gn=null,_n=null,vn=null;function yn(){if(vn)return vn;var e,t=_n,n=t.length,r,i=`value`in gn?gn.value:gn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return vn=i.slice(e,1<r?1-r:void 0)}function bn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function xn(){return!0}function Sn(){return!1}function Cn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?xn:Sn,this.isPropagationStopped=Sn,this}return f(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=xn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=xn)},persist:function(){},isPersistent:xn}),t}var wn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Tn=Cn(wn),En=f({},wn,{view:0,detail:0}),Dn=Cn(En),On,kn,An,jn=f({},En,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==An&&(An&&e.type===`mousemove`?(On=e.screenX-An.screenX,kn=e.screenY-An.screenY):kn=On=0,An=e),On)},movementY:function(e){return`movementY`in e?e.movementY:kn}}),Mn=Cn(jn),Nn=Cn(f({},jn,{dataTransfer:0})),Pn=Cn(f({},En,{relatedTarget:0})),Fn=Cn(f({},wn,{animationName:0,elapsedTime:0,pseudoElement:0})),N=Cn(f({},wn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),In=Cn(f({},wn,{data:0})),Ln={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Rn={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`},zn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Bn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=zn[e])?!!t[e]:!1}function Vn(){return Bn}var Hn=Cn(f({},En,{key:function(e){if(e.key){var t=Ln[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=bn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Rn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vn,charCode:function(e){return e.type===`keypress`?bn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?bn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Un=Cn(f({},jn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Wn=Cn(f({},En,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vn})),Gn=Cn(f({},wn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Kn=Cn(f({},jn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),qn=Cn(f({},wn,{newState:0,oldState:0})),P=[9,13,27,32],Jn=pn&&`CompositionEvent`in window,Yn=null;pn&&`documentMode`in document&&(Yn=document.documentMode);var Xn=pn&&`TextEvent`in window&&!Yn,Zn=pn&&(!Jn||Yn&&8<Yn&&11>=Yn),Qn=` `,$n=!1;function er(e,t){switch(e){case`keyup`:return P.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function tr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var nr=!1;function rr(e,t){switch(e){case`compositionend`:return tr(t);case`keypress`:return t.which===32?($n=!0,Qn):null;case`textInput`:return e=t.data,e===Qn&&$n?null:e;default:return null}}function ir(e,t){if(nr)return e===`compositionend`||!Jn&&er(e,t)?(e=yn(),vn=_n=gn=null,nr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return Zn&&t.locale!==`ko`?null:t.data;default:return null}}var ar={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 or(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!ar[e.type]:t===`textarea`}function sr(e,t,n,r){sn?cn?cn.push(r):cn=[r]:sn=r,t=Pd(t,`onChange`),0<t.length&&(n=new Tn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var cr=null,lr=null;function ur(e){Dd(e,0)}function dr(e){if(zt(xt(e)))return e}function fr(e,t){if(e===`change`)return t}var pr=!1;if(pn){var mr;if(pn){var hr=`oninput`in document;if(!hr){var gr=document.createElement(`div`);gr.setAttribute(`oninput`,`return;`),hr=typeof gr.oninput==`function`}mr=hr}else mr=!1;pr=mr&&(!document.documentMode||9<document.documentMode)}function _r(){cr&&(cr.detachEvent(`onpropertychange`,vr),lr=cr=null)}function vr(e){if(e.propertyName===`value`&&dr(lr)){var t=[];sr(t,lr,e,on(e)),dn(ur,t)}}function yr(e,t,n){e===`focusin`?(_r(),cr=t,lr=n,cr.attachEvent(`onpropertychange`,vr)):e===`focusout`&&_r()}function br(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return dr(lr)}function xr(e,t){if(e===`click`)return dr(t)}function Sr(e,t){if(e===`input`||e===`change`)return dr(t)}function Cr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var wr=typeof Object.is==`function`?Object.is:Cr;function Tr(e,t){if(wr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!we.call(t,i)||!wr(e[i],t[i]))return!1}return!0}function Er(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Dr(e,t){var n=Er(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Er(n)}}function Or(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Or(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function kr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Bt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Bt(e.document)}return t}function Ar(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var jr=pn&&`documentMode`in document&&11>=document.documentMode,Mr=null,Nr=null,Pr=null,Fr=!1;function Ir(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Fr||Mr==null||Mr!==Bt(r)||(r=Mr,`selectionStart`in r&&Ar(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Pr&&Tr(Pr,r)||(Pr=r,r=Pd(Nr,`onSelect`),0<r.length&&(t=new Tn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Mr)))}function Lr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Rr={animationend:Lr(`Animation`,`AnimationEnd`),animationiteration:Lr(`Animation`,`AnimationIteration`),animationstart:Lr(`Animation`,`AnimationStart`),transitionrun:Lr(`Transition`,`TransitionRun`),transitionstart:Lr(`Transition`,`TransitionStart`),transitioncancel:Lr(`Transition`,`TransitionCancel`),transitionend:Lr(`Transition`,`TransitionEnd`)},zr={},Br={};pn&&(Br=document.createElement(`div`).style,`AnimationEvent`in window||(delete Rr.animationend.animation,delete Rr.animationiteration.animation,delete Rr.animationstart.animation),`TransitionEvent`in window||delete Rr.transitionend.transition);function Vr(e){if(zr[e])return zr[e];if(!Rr[e])return e;var t=Rr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Br)return zr[e]=t[n];return e}var Hr=Vr(`animationend`),Ur=Vr(`animationiteration`),Wr=Vr(`animationstart`),Gr=Vr(`transitionrun`),Kr=Vr(`transitionstart`),qr=Vr(`transitioncancel`),Jr=Vr(`transitionend`),Yr=new Map,Xr=`abort auxClick beforeToggle 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(` `);Xr.push(`scrollEnd`);function Zr(e,t){Yr.set(e,t),Et(t,[e])}var Qr=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},$r=[],ei=0,ti=0;function ni(){for(var e=ei,t=ti=ei=0;t<e;){var n=$r[t];$r[t++]=null;var r=$r[t];$r[t++]=null;var i=$r[t];$r[t++]=null;var a=$r[t];if($r[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&oi(n,i,a)}}function ri(e,t,n,r){$r[ei++]=e,$r[ei++]=t,$r[ei++]=n,$r[ei++]=r,ti|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function ii(e,t,n,r){return ri(e,t,n,r),si(e)}function ai(e,t){return ri(e,null,null,t),si(e)}function oi(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Ve(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function si(e){if(50<vu)throw vu=0,yu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ci={};function li(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ui(e,t,n,r){return new li(e,t,n,r)}function di(e){return e=e.prototype,!(!e||!e.isReactComponent)}function fi(e,t){var n=e.alternate;return n===null?(n=ui(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function pi(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function mi(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)di(e)&&(s=1);else if(typeof e==`string`)s=Xf(e,n,de.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case ne:return e=ui(31,n,t,a),e.elementType=ne,e.lanes=o,e;case g:return hi(n.children,a,o,t);case _:s=8,a|=24;break;case v:return e=ui(12,n,t,a|2),e.elementType=v,e.lanes=o,e;case ee:return e=ui(13,n,t,a),e.elementType=ee,e.lanes=o,e;case S:return e=ui(19,n,t,a),e.elementType=S,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case b:s=10;break a;case y:s=9;break a;case x:s=11;break a;case te:s=14;break a;case C:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=ui(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function hi(e,t,n,r){return e=ui(7,e,r,t),e.lanes=n,e}function gi(e,t,n){return e=ui(6,e,null,t),e.lanes=n,e}function _i(e){var t=ui(18,null,null,0);return t.stateNode=e,t}function vi(e,t,n){return t=ui(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var yi=new WeakMap;function bi(e,t){if(typeof e==`object`&&e){var n=yi.get(e);return n===void 0?(t={value:e,source:t,stack:Ce(t)},yi.set(e,t),t):n}return{value:e,source:t,stack:Ce(t)}}var xi=[],Si=0,Ci=null,wi=0,Ti=[],Ei=0,Di=null,Oi=1,ki=``;function Ai(e,t){xi[Si++]=wi,xi[Si++]=Ci,Ci=e,wi=t}function ji(e,t,n){Ti[Ei++]=Oi,Ti[Ei++]=ki,Ti[Ei++]=Di,Di=e;var r=Oi;e=ki;var i=32-Ve(r)-1;r&=~(1<<i),n+=1;var a=32-Ve(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Oi=1<<32-Ve(t)+i|n<<i|r,ki=a+e}else Oi=1<<a|n<<i|r,ki=e}function Mi(e){e.return!==null&&(Ai(e,1),ji(e,1,0))}function Ni(e){for(;e===Ci;)Ci=xi[--Si],xi[Si]=null,wi=xi[--Si],xi[Si]=null;for(;e===Di;)Di=Ti[--Ei],Ti[Ei]=null,ki=Ti[--Ei],Ti[Ei]=null,Oi=Ti[--Ei],Ti[Ei]=null}function Pi(e,t){Ti[Ei++]=Oi,Ti[Ei++]=ki,Ti[Ei++]=Di,Oi=t.id,ki=t.overflow,Di=e}var Fi=null,Ii=null,F=!1,Li=null,Ri=!1,zi=Error(i(519));function Bi(e){throw Ki(bi(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),zi}function Vi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[ut]=e,t[dt]=r,n){case`dialog`:H(`cancel`,t),H(`close`,t);break;case`iframe`:case`object`:case`embed`:H(`load`,t);break;case`video`:case`audio`:for(n=0;n<Td.length;n++)H(Td[n],t);break;case`source`:H(`error`,t);break;case`img`:case`image`:case`link`:H(`error`,t),H(`load`,t);break;case`details`:H(`toggle`,t);break;case`input`:H(`invalid`,t),Wt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:H(`invalid`,t);break;case`textarea`:H(`invalid`,t),Jt(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||Bd(t.textContent,n)?(r.popover!=null&&(H(`beforetoggle`,t),H(`toggle`,t)),r.onScroll!=null&&H(`scroll`,t),r.onScrollEnd!=null&&H(`scrollend`,t),r.onClick!=null&&(t.onclick=rn),t=!0):t=!1,t||Bi(e,!0)}function Hi(e){for(Fi=e.return;Fi;)switch(Fi.tag){case 5:case 31:case 13:Ri=!1;return;case 27:case 3:Ri=!0;return;default:Fi=Fi.return}}function Ui(e){if(e!==Fi)return!1;if(!F)return Hi(e),F=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Qd(e.type,e.memoizedProps)),n=!n),n&&Ii&&Bi(e),Hi(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Ii=yf(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Ii=yf(e)}else t===27?(t=Ii,sf(e.type)?(e=vf,vf=null,Ii=e):Ii=t):Ii=Fi?_f(e.stateNode.nextSibling):null;return!0}function Wi(){Ii=Fi=null,F=!1}function Gi(){var e=Li;return e!==null&&(iu===null?iu=e:iu.push.apply(iu,e),Li=null),e}function Ki(e){Li===null?Li=[e]:Li.push(e)}var qi=ue(null),Ji=null,Yi=null;function Xi(e,t,n){A(qi,t._currentValue),t._currentValue=n}function Zi(e){e._currentValue=qi.current,k(qi)}function Qi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function $i(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Qi(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),Qi(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function ea(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;wr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===j.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[ap]:e.push(ap))}a=a.return}e!==null&&$i(t,e,n,r),t.flags|=262144}function ta(e){for(e=e.firstContext;e!==null;){if(!wr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function na(e){Ji=e,Yi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ra(e){return aa(Ji,e)}function ia(e,t){return Ji===null&&na(e),aa(e,t)}function aa(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Yi===null){if(e===null)throw Error(i(308));Yi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Yi=Yi.next=t;return n}var oa=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},sa=t.unstable_scheduleCallback,ca=t.unstable_NormalPriority,la={$$typeof:b,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ua(){return{controller:new oa,data:new Map,refCount:0}}function da(e){e.refCount--,e.refCount===0&&sa(ca,function(){e.controller.abort()})}var I=null,L=0,R=0,fa=null;function pa(e,t){if(I===null){var n=I=[];L=0,R=yd(),fa={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return L++,t.then(ma,ma),t}function ma(){if(--L===0&&I!==null){fa!==null&&(fa.status=`fulfilled`);var e=I;I=null,R=0,fa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ha(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var ga=D.S;D.S=function(e,t){su=ke(),typeof t==`object`&&t&&typeof t.then==`function`&&pa(e,t),ga!==null&&ga(e,t)};var _a=ue(null);function va(){var e=_a.current;return e===null?Wl.pooledCache:e}function ya(e,t){t===null?A(_a,_a.current):A(_a,t.pool)}function ba(){var e=va();return e===null?null:{parent:la._currentValue,pool:e}}var xa=Error(i(460)),Sa=Error(i(474)),Ca=Error(i(542)),wa={then:function(){}};function Ta(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Ea(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(rn,rn),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Aa(e),e;default:if(typeof t.status==`string`)t.then(rn,rn);else{if(e=Wl,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Aa(e),e}throw Oa=t,xa}}function Da(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Oa=e,xa):e}}var Oa=null;function ka(){if(Oa===null)throw Error(i(459));var e=Oa;return Oa=null,e}function Aa(e){if(e===xa||e===Ca)throw Error(i(483))}var ja=null,Ma=0;function Na(e){var t=Ma;return Ma+=1,ja===null&&(ja=[]),Ea(ja,e,t)}function Pa(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Fa(e,t){throw t.$$typeof===p?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Ia(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=fi(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=gi(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===g?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===C&&Da(i)===t.type)?(t=a(t,n.props),Pa(t,n),t.return=e,t):(t=mi(n.type,n.key,n.props,null,e.mode,r),Pa(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=vi(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=hi(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=gi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case m:return n=mi(t.type,t.key,t.props,null,e.mode,n),Pa(n,t),n.return=e,n;case h:return t=vi(t,e.mode,n),t.return=e,t;case C:return t=Da(t),f(e,t,n)}if(oe(t)||T(t))return t=hi(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Na(t),n);if(t.$$typeof===b)return f(e,ia(e,t),n);Fa(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case m:return n.key===i?l(e,t,n,r):null;case h:return n.key===i?u(e,t,n,r):null;case C:return n=Da(n),p(e,t,n,r)}if(oe(n)||T(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Na(n),r);if(n.$$typeof===b)return p(e,t,ia(e,n),r);Fa(e,n)}return null}function _(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case m:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case h:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case C:return r=Da(r),_(e,t,n,r,i)}if(oe(r)||T(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return _(e,t,n,Na(r),i);if(r.$$typeof===b)return _(e,t,n,ia(t,r),i);Fa(t,r)}return null}function v(i,a,s,c){for(var l=null,u=null,d=a,m=a=0,h=null;d!==null&&m<s.length;m++){d.index>m?(h=d,d=null):h=d.sibling;var g=p(i,d,s[m],c);if(g===null){d===null&&(d=h);break}e&&d&&g.alternate===null&&t(i,d),a=o(g,a,m),u===null?l=g:u.sibling=g,u=g,d=h}if(m===s.length)return n(i,d),F&&Ai(i,m),l;if(d===null){for(;m<s.length;m++)d=f(i,s[m],c),d!==null&&(a=o(d,a,m),u===null?l=d:u.sibling=d,u=d);return F&&Ai(i,m),l}for(d=r(d);m<s.length;m++)h=_(d,i,m,s[m],c),h!==null&&(e&&h.alternate!==null&&d.delete(h.key===null?m:h.key),a=o(h,a,m),u===null?l=h:u.sibling=h,u=h);return e&&d.forEach(function(e){return t(i,e)}),F&&Ai(i,m),l}function y(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,m=s,h=s=0,g=null,v=c.next();m!==null&&!v.done;h++,v=c.next()){m.index>h?(g=m,m=null):g=m.sibling;var y=p(a,m,v.value,l);if(y===null){m===null&&(m=g);break}e&&m&&y.alternate===null&&t(a,m),s=o(y,s,h),d===null?u=y:d.sibling=y,d=y,m=g}if(v.done)return n(a,m),F&&Ai(a,h),u;if(m===null){for(;!v.done;h++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,h),d===null?u=v:d.sibling=v,d=v);return F&&Ai(a,h),u}for(m=r(m);!v.done;h++,v=c.next())v=_(m,a,h,v.value,l),v!==null&&(e&&v.alternate!==null&&m.delete(v.key===null?h:v.key),s=o(v,s,h),d===null?u=v:d.sibling=v,d=v);return e&&m.forEach(function(e){return t(a,e)}),F&&Ai(a,h),u}function x(e,r,o,c){if(typeof o==`object`&&o&&o.type===g&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case m:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===g){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===C&&Da(l)===r.type){n(e,r.sibling),c=a(r,o.props),Pa(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===g?(c=hi(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=mi(o.type,o.key,o.props,null,e.mode,c),Pa(c,o),c.return=e,e=c)}return s(e);case h:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=vi(o,e.mode,c),c.return=e,e=c}return s(e);case C:return o=Da(o),x(e,r,o,c)}if(oe(o))return v(e,r,o,c);if(T(o)){if(l=T(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),y(e,r,o,c)}if(typeof o.then==`function`)return x(e,r,Na(o),c);if(o.$$typeof===b)return x(e,r,ia(e,o),c);Fa(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=gi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Ma=0;var i=x(e,t,n,r);return ja=null,i}catch(t){if(t===xa||t===Ca)throw t;var a=ui(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var La=Ia(!0),Ra=Ia(!1),za=!1;function Ba(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Va(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ha(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ua(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Ul&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=si(e),oi(e,null,n),t}return ri(e,r,t,n),si(e)}function Wa(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,rt(e,n)}}function Ga(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Ka=!1;function qa(){if(Ka){var e=fa;if(e!==null)throw e}}function Ja(e,t,n,r){Ka=!1;var i=e.updateQueue;za=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var p=s.lane&-536870913,m=p!==s.lane;if(m?(Gl&p)===p:(r&p)===p){p!==0&&p===R&&(Ka=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;p=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,p);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,p=typeof h==`function`?h.call(_,d,p):h,p==null)break a;d=f({},d,p);break a;case 2:za=!0}}p=s.callback,p!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[p]:m.push(p))}else m={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=d):u=u.next=m,o|=p;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),$l|=o,e.lanes=o,e.memoizedState=d}}function Ya(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Xa(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Ya(n[e],t)}var Za=ue(null),Qa=ue(0);function $a(e,t){e=Zl,A(Qa,e),A(Za,t),Zl=e|t.baseLanes}function eo(){A(Qa,Zl),A(Za,Za.current)}function to(){Zl=Qa.current,k(Za),k(Qa)}var no=ue(null),ro=null;function io(e){var t=e.alternate;A(lo,lo.current&1),A(no,e),ro===null&&(t===null||Za.current!==null||t.memoizedState!==null)&&(ro=e)}function ao(e){A(lo,lo.current),A(no,e),ro===null&&(ro=e)}function oo(e){e.tag===22?(A(lo,lo.current),A(no,e),ro===null&&(ro=e)):so(e)}function so(){A(lo,lo.current),A(no,no.current)}function co(e){k(no),ro===e&&(ro=null),k(lo)}var lo=ue(0);function uo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||mf(n)||hf(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var fo=0,z=null,po=null,mo=null,ho=!1,go=!1,_o=!1,vo=0,yo=0,bo=null,xo=0;function So(){throw Error(i(321))}function Co(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!wr(e[n],t[n]))return!1;return!0}function wo(e,t,n,r,i,a){return fo=a,z=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,D.H=e===null||e.memoizedState===null?Vs:Hs,_o=!1,a=n(r,i),_o=!1,go&&(a=Eo(t,n,r,i)),To(e),a}function To(e){D.H=Bs;var t=po!==null&&po.next!==null;if(fo=0,mo=po=z=null,ho=!1,yo=0,bo=null,t)throw Error(i(300));e===null||ac||(e=e.dependencies,e!==null&&ta(e)&&(ac=!0))}function Eo(e,t,n,r){z=e;var a=0;do{if(go&&(bo=null),yo=0,go=!1,25<=a)throw Error(i(301));if(a+=1,mo=po=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}D.H=Us,o=t(n,r)}while(go);return o}function Do(){var e=D.H,t=e.useState()[0];return t=typeof t.then==`function`?Po(t):t,e=e.useState()[0],(po===null?null:po.memoizedState)!==e&&(z.flags|=1024),t}function Oo(){var e=vo!==0;return vo=0,e}function ko(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Ao(e){if(ho){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}ho=!1}fo=0,mo=po=z=null,go=!1,yo=vo=0,bo=null}function jo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return mo===null?z.memoizedState=mo=e:mo=mo.next=e,mo}function Mo(){if(po===null){var e=z.alternate;e=e===null?null:e.memoizedState}else e=po.next;var t=mo===null?z.memoizedState:mo.next;if(t!==null)mo=t,po=e;else{if(e===null)throw z.alternate===null?Error(i(467)):Error(i(310));po=e,e={memoizedState:po.memoizedState,baseState:po.baseState,baseQueue:po.baseQueue,queue:po.queue,next:null},mo===null?z.memoizedState=mo=e:mo=mo.next=e}return mo}function No(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Po(e){var t=yo;return yo+=1,bo===null&&(bo=[]),e=Ea(bo,e,t),t=z,(mo===null?t.memoizedState:mo.next)===null&&(t=t.alternate,D.H=t===null||t.memoizedState===null?Vs:Hs),e}function Fo(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Po(e);if(e.$$typeof===b)return ra(e)}throw Error(i(438,String(e)))}function Io(e){var t=null,n=z.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=z.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=No(),z.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=w;return t.index++,n}function Lo(e,t){return typeof t==`function`?t(e):t}function Ro(e){return zo(Mo(),po,e)}function zo(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(fo&f)===f:(Gl&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===R&&(d=!0);else if((fo&p)===p){u=u.next,p===R&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,z.lanes|=p,$l|=p;f=u.action,_o&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,z.lanes|=f,$l|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!wr(o,e.memoizedState)&&(ac=!0,d&&(n=fa,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Bo(e){var t=Mo(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);wr(o,t.memoizedState)||(ac=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Vo(e,t,n){var r=z,a=Mo(),o=F;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!wr((po||a).memoizedState,n);if(s&&(a.memoizedState=n,ac=!0),a=a.queue,fs(Wo.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||mo!==null&&mo.memoizedState.tag&1){if(r.flags|=2048,ss(9,{destroy:void 0},Uo.bind(null,r,a,n,t),null),Wl===null)throw Error(i(349));o||fo&127||Ho(r,t,n)}return n}function Ho(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=z.updateQueue,t===null?(t=No(),z.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Uo(e,t,n,r){t.value=n,t.getSnapshot=r,Go(t)&&Ko(e)}function Wo(e,t,n){return n(function(){Go(t)&&Ko(e)})}function Go(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!wr(e,n)}catch{return!0}}function Ko(e){var t=ai(e,2);t!==null&&Su(t,e,2)}function qo(e){var t=jo();if(typeof e==`function`){var n=e;if(e=n(),_o){Be(!0);try{n()}finally{Be(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lo,lastRenderedState:e},t}function Jo(e,t,n,r){return e.baseState=n,zo(e,po,typeof r==`function`?r:Lo)}function Yo(e,t,n,r,a){if(Ls(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};D.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Xo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Xo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=D.T,o={};D.T=o;try{var s=n(i,r),c=D.S;c!==null&&c(o,s),Zo(e,t,s)}catch(n){$o(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),D.T=a}}else try{a=n(i,r),Zo(e,t,a)}catch(n){$o(e,t,n)}}function Zo(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Qo(e,t,n)},function(n){return $o(e,t,n)}):Qo(e,t,n)}function Qo(e,t,n){t.status=`fulfilled`,t.value=n,es(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Xo(e,n)))}function $o(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,es(t),t=t.next;while(t!==r)}e.action=null}function es(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function ts(e,t){return t}function ns(e,t){if(F){var n=Wl.formState;if(n!==null){a:{var r=z;if(F){if(Ii){b:{for(var i=Ii,a=Ri;i.nodeType!==8;){if(!a){i=null;break b}if(i=_f(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Ii=_f(i.nextSibling),r=i.data===`F!`;break a}}Bi(r)}r=!1}r&&(t=n[0])}}return n=jo(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ts,lastRenderedState:t},n.queue=r,n=Ps.bind(null,z,r),r.dispatch=n,r=qo(!1),a=Is.bind(null,z,!1,r.queue),r=jo(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Yo.bind(null,z,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function rs(e){return is(Mo(),po,e)}function is(e,t,n){if(t=zo(e,t,ts)[0],e=Ro(Lo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Po(t)}catch(e){throw e===xa?Ca:e}else r=t;t=Mo();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(z.flags|=2048,ss(9,{destroy:void 0},as.bind(null,i,n),null)),[r,a,e]}function as(e,t){e.action=t}function os(e){var t=Mo(),n=po;if(n!==null)return is(t,n,e);Mo(),t=t.memoizedState,n=Mo();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ss(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=z.updateQueue,t===null&&(t=No(),z.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function cs(){return Mo().memoizedState}function ls(e,t,n,r){var i=jo();z.flags|=e,i.memoizedState=ss(1|t,{destroy:void 0},n,r===void 0?null:r)}function us(e,t,n,r){var i=Mo();r=r===void 0?null:r;var a=i.memoizedState.inst;po!==null&&r!==null&&Co(r,po.memoizedState.deps)?i.memoizedState=ss(t,a,n,r):(z.flags|=e,i.memoizedState=ss(1|t,a,n,r))}function ds(e,t){ls(8390656,8,e,t)}function fs(e,t){us(2048,8,e,t)}function ps(e){z.flags|=4;var t=z.updateQueue;if(t===null)t=No(),z.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function ms(e){var t=Mo().memoizedState;return ps({ref:t,nextImpl:e}),function(){if(Ul&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function hs(e,t){return us(4,2,e,t)}function gs(e,t){return us(4,4,e,t)}function _s(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function vs(e,t,n){n=n==null?null:n.concat([e]),us(4,4,_s.bind(null,t,e),n)}function ys(){}function bs(e,t){var n=Mo();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&Co(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function xs(e,t){var n=Mo();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&Co(t,r[1]))return r[0];if(r=e(),_o){Be(!0);try{e()}finally{Be(!1)}}return n.memoizedState=[r,t],r}function Ss(e,t,n){return n===void 0||fo&1073741824&&!(Gl&261930)?e.memoizedState=t:(e.memoizedState=n,e=xu(),z.lanes|=e,$l|=e,n)}function Cs(e,t,n,r){return wr(n,t)?n:Za.current===null?!(fo&42)||fo&1073741824&&!(Gl&261930)?(ac=!0,e.memoizedState=n):(e=xu(),z.lanes|=e,$l|=e,t):(e=Ss(e,n,r),wr(e,t)||(ac=!0),e)}function ws(e,t,n,r,i){var a=O.p;O.p=a!==0&&8>a?a:8;var o=D.T,s={};D.T=s,Is(e,!1,t,n);try{var c=i(),l=D.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Fs(e,t,ha(c,r),bu(e)):Fs(e,t,r,bu(e))}catch(n){Fs(e,t,{then:function(){},status:`rejected`,reason:n},bu())}finally{O.p=a,o!==null&&s.types!==null&&(o.types=s.types),D.T=o}}function Ts(){}function Es(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=Ds(e).queue;ws(e,a,t,se,n===null?Ts:function(){return Os(e),n(r)})}function Ds(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:se,baseState:se,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lo,lastRenderedState:se},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Os(e){var t=Ds(e);t.next===null&&(t=e.alternate.memoizedState),Fs(e,t.next.queue,{},bu())}function ks(){return ra(ap)}function As(){return Mo().memoizedState}function js(){return Mo().memoizedState}function Ms(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=bu();e=Ha(n);var r=Ua(t,e,n);r!==null&&(Su(r,t,n),Wa(r,t,n)),t={cache:ua()},e.payload=t;return}t=t.return}}function Ns(e,t,n){var r=bu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ls(e)?Rs(t,n):(n=ii(e,t,n,r),n!==null&&(Su(n,e,r),zs(n,t,r)))}function Ps(e,t,n){Fs(e,t,n,bu())}function Fs(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ls(e))Rs(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,wr(s,o))return ri(e,t,i,0),Wl===null&&ni(),!1}catch{}if(n=ii(e,t,i,r),n!==null)return Su(n,e,r),zs(n,t,r),!0}return!1}function Is(e,t,n,r){if(r={lane:2,revertLane:yd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Ls(e)){if(t)throw Error(i(479))}else t=ii(e,n,r,2),t!==null&&Su(t,e,2)}function Ls(e){var t=e.alternate;return e===z||t!==null&&t===z}function Rs(e,t){go=ho=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function zs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,rt(e,n)}}var Bs={readContext:ra,use:Fo,useCallback:So,useContext:So,useEffect:So,useImperativeHandle:So,useLayoutEffect:So,useInsertionEffect:So,useMemo:So,useReducer:So,useRef:So,useState:So,useDebugValue:So,useDeferredValue:So,useTransition:So,useSyncExternalStore:So,useId:So,useHostTransitionStatus:So,useFormState:So,useActionState:So,useOptimistic:So,useMemoCache:So,useCacheRefresh:So};Bs.useEffectEvent=So;var Vs={readContext:ra,use:Fo,useCallback:function(e,t){return jo().memoizedState=[e,t===void 0?null:t],e},useContext:ra,useEffect:ds,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),ls(4194308,4,_s.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ls(4194308,4,e,t)},useInsertionEffect:function(e,t){ls(4,2,e,t)},useMemo:function(e,t){var n=jo();t=t===void 0?null:t;var r=e();if(_o){Be(!0);try{e()}finally{Be(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=jo();if(n!==void 0){var i=n(t);if(_o){Be(!0);try{n(t)}finally{Be(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Ns.bind(null,z,e),[r.memoizedState,e]},useRef:function(e){var t=jo();return e={current:e},t.memoizedState=e},useState:function(e){e=qo(e);var t=e.queue,n=Ps.bind(null,z,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:ys,useDeferredValue:function(e,t){return Ss(jo(),e,t)},useTransition:function(){var e=qo(!1);return e=ws.bind(null,z,e.queue,!0,!1),jo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=z,a=jo();if(F){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Wl===null)throw Error(i(349));Gl&127||Ho(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,ds(Wo.bind(null,r,o,e),[e]),r.flags|=2048,ss(9,{destroy:void 0},Uo.bind(null,r,o,n,t),null),n},useId:function(){var e=jo(),t=Wl.identifierPrefix;if(F){var n=ki,r=Oi;n=(r&~(1<<32-Ve(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=vo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=xo++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:ks,useFormState:ns,useActionState:ns,useOptimistic:function(e){var t=jo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Is.bind(null,z,!0,n),n.dispatch=t,[e,t]},useMemoCache:Io,useCacheRefresh:function(){return jo().memoizedState=Ms.bind(null,z)},useEffectEvent:function(e){var t=jo(),n={impl:e};return t.memoizedState=n,function(){if(Ul&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Hs={readContext:ra,use:Fo,useCallback:bs,useContext:ra,useEffect:fs,useImperativeHandle:vs,useInsertionEffect:hs,useLayoutEffect:gs,useMemo:xs,useReducer:Ro,useRef:cs,useState:function(){return Ro(Lo)},useDebugValue:ys,useDeferredValue:function(e,t){return Cs(Mo(),po.memoizedState,e,t)},useTransition:function(){var e=Ro(Lo)[0],t=Mo().memoizedState;return[typeof e==`boolean`?e:Po(e),t]},useSyncExternalStore:Vo,useId:As,useHostTransitionStatus:ks,useFormState:rs,useActionState:rs,useOptimistic:function(e,t){return Jo(Mo(),po,e,t)},useMemoCache:Io,useCacheRefresh:js};Hs.useEffectEvent=ms;var Us={readContext:ra,use:Fo,useCallback:bs,useContext:ra,useEffect:fs,useImperativeHandle:vs,useInsertionEffect:hs,useLayoutEffect:gs,useMemo:xs,useReducer:Bo,useRef:cs,useState:function(){return Bo(Lo)},useDebugValue:ys,useDeferredValue:function(e,t){var n=Mo();return po===null?Ss(n,e,t):Cs(n,po.memoizedState,e,t)},useTransition:function(){var e=Bo(Lo)[0],t=Mo().memoizedState;return[typeof e==`boolean`?e:Po(e),t]},useSyncExternalStore:Vo,useId:As,useHostTransitionStatus:ks,useFormState:os,useActionState:os,useOptimistic:function(e,t){var n=Mo();return po===null?(n.baseState=e,[e,n.queue.dispatch]):Jo(n,po,e,t)},useMemoCache:Io,useCacheRefresh:js};Us.useEffectEvent=ms;function Ws(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:f({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Gs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=bu(),i=Ha(r);i.payload=t,n!=null&&(i.callback=n),t=Ua(e,i,r),t!==null&&(Su(t,e,r),Wa(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=bu(),i=Ha(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ua(e,i,r),t!==null&&(Su(t,e,r),Wa(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=bu(),r=Ha(n);r.tag=2,t!=null&&(r.callback=t),t=Ua(e,r,n),t!==null&&(Su(t,e,n),Wa(t,e,n))}};function Ks(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Tr(n,r)||!Tr(i,a):!0}function qs(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Gs.enqueueReplaceState(t,t.state,null)}function Js(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=f({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Ys(e){Qr(e)}function Xs(e){console.error(e)}function Zs(e){Qr(e)}function Qs(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function $s(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function ec(e,t,n){return n=Ha(n),n.tag=3,n.payload={element:null},n.callback=function(){Qs(e,t)},n}function tc(e){return e=Ha(e),e.tag=3,e}function nc(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){$s(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){$s(t,n,r),typeof i!=`function`&&(uu===null?uu=new Set([this]):uu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function rc(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&ea(t,n,a,!0),n=no.current,n!==null){switch(n.tag){case 31:case 13:return ro===null?Pu():n.alternate===null&&Ql===0&&(Ql=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===wa?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),$u(e,r,a)),!1;case 22:return n.flags|=65536,r===wa?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),$u(e,r,a)),!1}throw Error(i(435,n.tag))}return $u(e,r,a),Pu(),!1}if(F)return t=no.current,t===null?(r!==zi&&(t=Error(i(423),{cause:r}),Ki(bi(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=bi(r,n),a=ec(e.stateNode,r,a),Ga(e,a),Ql!==4&&(Ql=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==zi&&(e=Error(i(422),{cause:r}),Ki(bi(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=bi(o,n),V===null?V=[o]:V.push(o),Ql!==4&&(Ql=2),t===null)return!0;r=bi(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=ec(n.stateNode,r,e),Ga(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(uu===null||!uu.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=tc(a),nc(a,e,n,r),Ga(n,a),!1}n=n.return}while(n!==null);return!1}var ic=Error(i(461)),ac=!1;function oc(e,t,n,r){t.child=e===null?Ra(t,null,n,r):La(t,e.child,n,r)}function sc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return na(t),r=wo(e,t,n,o,a,i),s=Oo(),e!==null&&!ac?(ko(e,t,i),jc(e,t,i)):(F&&s&&Mi(t),t.flags|=1,oc(e,t,r,i),t.child)}function cc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!di(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,lc(e,t,a,r,i)):(e=mi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Mc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Tr:n,n(o,r)&&e.ref===t.ref)return jc(e,t,i)}return t.flags|=1,e=fi(a,r),e.ref=t.ref,e.return=t,t.child=e}function lc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Tr(a,r)&&e.ref===t.ref)if(ac=!1,t.pendingProps=r=a,Mc(e,i))e.flags&131072&&(ac=!0);else return t.lanes=e.lanes,jc(e,t,i)}return _c(e,t,n,r,i)}function uc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return fc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ya(t,a===null?null:a.cachePool),a===null?eo():$a(t,a),oo(t);else return r=t.lanes=536870912,fc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&ya(t,null),eo(),so(t)):(ya(t,a.cachePool),$a(t,a),so(t),t.memoizedState=null);return oc(e,t,i,n),t.child}function dc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function fc(e,t,n,r,i){var a=va();return a=a===null?null:{parent:la._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&ya(t,null),eo(),oo(t),e!==null&&ea(e,t,r,!0),t.childLanes=i,null}function pc(e,t){return t=Ec({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function mc(e,t,n){return La(t,e.child,null,n),e=pc(t,t.pendingProps),e.flags|=2,co(t),t.memoizedState=null,e}function hc(e,t,n){var r=t.pendingProps,a=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(F){if(r.mode===`hidden`)return e=pc(t,r),t.lanes=536870912,dc(null,e);if(ao(t),(e=Ii)?(e=pf(e,Ri),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Di===null?null:{id:Oi,overflow:ki},retryLane:536870912,hydrationErrors:null},n=_i(e),n.return=t,t.child=n,Fi=t,Ii=null)):e=null,e===null)throw Bi(t);return t.lanes=536870912,null}return pc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(ao(t),a)if(t.flags&256)t.flags&=-257,t=mc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(ac||ea(e,t,n,!1),a=(n&e.childLanes)!==0,ac||a){if(r=Wl,r!==null&&(s=it(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,ai(e,s),Su(r,e,s),ic;Pu(),t=mc(e,t,n)}else e=o.treeContext,Ii=_f(s.nextSibling),Fi=t,F=!0,Li=null,Ri=!1,e!==null&&Pi(t,e),t=pc(t,r),t.flags|=4096;return t}return e=fi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function gc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function _c(e,t,n,r,i){return na(t),n=wo(e,t,n,r,void 0,i),r=Oo(),e!==null&&!ac?(ko(e,t,i),jc(e,t,i)):(F&&r&&Mi(t),t.flags|=1,oc(e,t,n,i),t.child)}function vc(e,t,n,r,i,a){return na(t),t.updateQueue=null,n=Eo(t,r,n,i),To(e),r=Oo(),e!==null&&!ac?(ko(e,t,a),jc(e,t,a)):(F&&r&&Mi(t),t.flags|=1,oc(e,t,n,a),t.child)}function yc(e,t,n,r,i){if(na(t),t.stateNode===null){var a=ci,o=n.contextType;typeof o==`object`&&o&&(a=ra(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Gs,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Ba(t),o=n.contextType,a.context=typeof o==`object`&&o?ra(o):ci,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Ws(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&Gs.enqueueReplaceState(a,a.state,null),Ja(t,r,a,i),qa(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Js(n,s);a.props=c;var l=a.context,u=n.contextType;o=ci,typeof u==`object`&&u&&(o=ra(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&qs(t,a,r,o),za=!1;var f=t.memoizedState;a.state=f,Ja(t,r,a,i),qa(),l=t.memoizedState,s||f!==l||za?(typeof d==`function`&&(Ws(t,n,d,r),l=t.memoizedState),(c=za||Ks(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Va(e,t),o=t.memoizedProps,u=Js(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=ci,typeof l==`object`&&l&&(c=ra(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&qs(t,a,r,c),za=!1,f=t.memoizedState,a.state=f,Ja(t,r,a,i),qa();var p=t.memoizedState;o!==d||f!==p||za||e!==null&&e.dependencies!==null&&ta(e.dependencies)?(typeof s==`function`&&(Ws(t,n,s,r),p=t.memoizedState),(u=za||Ks(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&ta(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,gc(e,t),r=(t.flags&128)!=0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=La(t,e.child,null,i),t.child=La(t,null,n,i)):oc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=jc(e,t,i),e}function bc(e,t,n,r){return Wi(),t.flags|=256,oc(e,t,n,r),t.child}var xc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Sc(e){return{baseLanes:e,cachePool:ba()}}function Cc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=nu),e}function wc(e,t,n){var r=t.pendingProps,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(lo.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(F){if(a?io(t):so(t),(e=Ii)?(e=pf(e,Ri),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Di===null?null:{id:Oi,overflow:ki},retryLane:536870912,hydrationErrors:null},n=_i(e),n.return=t,t.child=n,Fi=t,Ii=null)):e=null,e===null)throw Bi(t);return hf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(so(t),a=t.mode,c=Ec({mode:`hidden`,children:c},a),r=hi(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=Sc(n),r.childLanes=Cc(e,s,n),t.memoizedState=xc,dc(null,r)):(io(t),Tc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(io(t),t.flags&=-257,t=Dc(e,t,n)):t.memoizedState===null?(so(t),c=r.fallback,a=t.mode,r=Ec({mode:`visible`,children:r.children},a),c=hi(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,La(t,e.child,null,n),r=t.child,r.memoizedState=Sc(n),r.childLanes=Cc(e,s,n),t.memoizedState=xc,t=dc(null,r)):(so(t),t.child=e.child,t.flags|=128,t=null);else if(io(t),hf(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Ki({value:r,source:null,stack:null}),t=Dc(e,t,n)}else if(ac||ea(e,t,n,!1),s=(n&e.childLanes)!==0,ac||s){if(s=Wl,s!==null&&(r=it(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,ai(e,r),Su(s,e,r),ic;mf(c)||Pu(),t=Dc(e,t,n)}else mf(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Ii=_f(c.nextSibling),Fi=t,F=!0,Li=null,Ri=!1,e!==null&&Pi(t,e),t=Tc(t,r.children),t.flags|=4096);return t}return a?(so(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=fi(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=hi(c,a,n,null),c.flags|=2):c=fi(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,dc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=Sc(n):(a=c.cachePool,a===null?a=ba():(l=la._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=Cc(e,s,n),t.memoizedState=xc,dc(e.child,r)):(io(t),n=e.child,e=n.sibling,n=fi(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function Tc(e,t){return t=Ec({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Ec(e,t){return e=ui(22,e,null,t),e.lanes=0,e}function Dc(e,t,n){return La(t,e.child,null,n),e=Tc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Oc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Qi(e.return,t,n)}function kc(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function Ac(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=lo.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,A(lo,o),oc(e,t,r,n),r=F?wi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Oc(e,n,t);else if(e.tag===19)Oc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&uo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),kc(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&uo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}kc(t,!0,n,null,a,r);break;case`together`:kc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function jc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),$l|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(ea(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=fi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=fi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Mc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&ta(e))):!0}function Nc(e,t,n){switch(t.tag){case 3:me(t,t.stateNode.containerInfo),Xi(t,la,e.memoizedState.cache),Wi();break;case 27:case 5:ge(t);break;case 4:me(t,t.stateNode.containerInfo);break;case 10:Xi(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,ao(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(io(t),e=jc(e,t,n),e===null?null:e.sibling):wc(e,t,n):(io(t),t.flags|=128,null);io(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(ea(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Ac(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),A(lo,lo.current),r)break;return null;case 22:return t.lanes=0,uc(e,t,n,t.pendingProps);case 24:Xi(t,la,e.memoizedState.cache)}return jc(e,t,n)}function Pc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ac=!0;else{if(!Mc(e,n)&&!(t.flags&128))return ac=!1,Nc(e,t,n);ac=!!(e.flags&131072)}else ac=!1,F&&t.flags&1048576&&ji(t,wi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Da(t.elementType),t.type=e,typeof e==`function`)di(e)?(r=Js(e,r),t.tag=1,t=yc(null,t,e,r,n)):(t.tag=0,t=_c(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===x){t.tag=11,t=sc(null,t,e,r,n);break a}else if(a===te){t.tag=14,t=cc(null,t,e,r,n);break a}}throw t=ae(e)||e,Error(i(306,t,``))}}return t;case 0:return _c(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Js(r,t.pendingProps),yc(e,t,r,a,n);case 3:a:{if(me(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,Va(e,t),Ja(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Xi(t,la,r),r!==o.cache&&$i(t,[la],n,!0),qa(),r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=bc(e,t,r,n);break a}else if(r!==a){a=bi(Error(i(424)),t),Ki(a),t=bc(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Ii=_f(e.firstChild),Fi=t,F=!0,Li=null,Ri=!0,n=Ra(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Wi(),r===a){t=jc(e,t,n);break a}oc(e,t,r,n)}t=t.child}return t;case 26:return gc(e,t),e===null?(n=Lf(t.type,null,t.pendingProps,null))?t.memoizedState=n:F||(n=t.type,e=t.pendingProps,r=Yd(pe.current).createElement(n),r[ut]=t,r[dt]=e,Ud(r,n,e),Ct(r),t.stateNode=r):t.memoizedState=Lf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ge(t),e===null&&F&&(r=t.stateNode=xf(t.type,t.pendingProps,pe.current),Fi=t,Ri=!0,a=Ii,sf(t.type)?(vf=a,Ii=_f(r.firstChild)):Ii=a),oc(e,t,t.pendingProps.children,n),gc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&F&&((a=r=Ii)&&(r=df(r,t.type,t.pendingProps,Ri),r===null?a=!1:(t.stateNode=r,Fi=t,Ii=_f(r.firstChild),Ri=!1,a=!0)),a||Bi(t)),ge(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Qd(a,o)?r=null:s!==null&&Qd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=wo(e,t,Do,null,null,n),ap._currentValue=a),gc(e,t),oc(e,t,r,n),t.child;case 6:return e===null&&F&&((e=n=Ii)&&(n=ff(n,t.pendingProps,Ri),n===null?e=!1:(t.stateNode=n,Fi=t,Ii=null,e=!0)),e||Bi(t)),null;case 13:return wc(e,t,n);case 4:return me(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=La(t,null,r,n):oc(e,t,r,n),t.child;case 11:return sc(e,t,t.type,t.pendingProps,n);case 7:return oc(e,t,t.pendingProps,n),t.child;case 8:return oc(e,t,t.pendingProps.children,n),t.child;case 12:return oc(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Xi(t,t.type,r.value),oc(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,na(t),a=ra(a),r=r(a),t.flags|=1,oc(e,t,r,n),t.child;case 14:return cc(e,t,t.type,t.pendingProps,n);case 15:return lc(e,t,t.type,t.pendingProps,n);case 19:return Ac(e,t,n);case 31:return hc(e,t,n);case 22:return uc(e,t,n,t.pendingProps);case 24:return na(t),r=ra(la),e===null?(a=va(),a===null&&(a=Wl,o=ua(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Ba(t),Xi(t,la,a)):((e.lanes&n)!==0&&(Va(e,t),Ja(t,null,null,n),qa()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,Xi(t,la,r),r!==a.cache&&$i(t,[la],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Xi(t,la,r))),oc(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Fc(e){e.flags|=4}function Ic(e,t,n,r,i){if((t=(e.mode&32)!=0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(ju())e.flags|=8192;else throw Oa=wa,Sa}else e.flags&=-16777217}function Lc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Zf(t))if(ju())e.flags|=8192;else throw Oa=wa,Sa}function Rc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:Qe(),e.lanes|=t,ru|=t)}function zc(e,t){if(!F)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Bc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Vc(e,t,n){var r=t.pendingProps;switch(Ni(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Bc(t),null;case 1:return Bc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Zi(la),he(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ui(t)?Fc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Gi())),Bc(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Fc(t),o===null?(Bc(t),Ic(t,a,null,r,n)):(Bc(t),Lc(t,o))):o?o===e.memoizedState?(Bc(t),t.flags&=-16777217):(Fc(t),Bc(t),Lc(t,o)):(e=e.memoizedProps,e!==r&&Fc(t),Bc(t),Ic(t,a,e,r,n)),null;case 27:if(M(t),n=pe.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Fc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Bc(t),null}e=de.current,Ui(t)?Vi(t,e):(e=xf(a,r,n),t.stateNode=e,Fc(t))}return Bc(t),null;case 5:if(M(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Fc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Bc(t),null}if(o=de.current,Ui(t))Vi(t,o);else{var s=Yd(pe.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[ut]=t,o[dt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Ud(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Fc(t)}}return Bc(t),Ic(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Fc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=pe.current,Ui(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Fi,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[ut]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Bd(e.nodeValue,n)),e||Bi(t,!0)}else e=Yd(e).createTextNode(r),e[ut]=t,t.stateNode=e}return Bc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Ui(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[ut]=t}else Wi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Bc(t),e=!1}else n=Gi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(co(t),t):(co(t),null);if(t.flags&128)throw Error(i(558))}return Bc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Ui(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[ut]=t}else Wi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Bc(t),a=!1}else a=Gi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(co(t),t):(co(t),null)}return co(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Rc(t,t.updateQueue),Bc(t),null);case 4:return he(),e===null&&Ad(t.stateNode.containerInfo),Bc(t),null;case 10:return Zi(t.type),Bc(t),null;case 19:if(k(lo),r=t.memoizedState,r===null)return Bc(t),null;if(a=(t.flags&128)!=0,o=r.rendering,o===null)if(a)zc(r,!1);else{if(Ql!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=uo(e),o!==null){for(t.flags|=128,zc(r,!1),e=o.updateQueue,t.updateQueue=e,Rc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)pi(n,e),n=n.sibling;return A(lo,lo.current&1|2),F&&Ai(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&ke()>cu&&(t.flags|=128,a=!0,zc(r,!1),t.lanes=4194304)}else{if(!a)if(e=uo(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Rc(t,e),zc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!F)return Bc(t),null}else 2*ke()-r.renderingStartTime>cu&&n!==536870912&&(t.flags|=128,a=!0,zc(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(Bc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ke(),e.sibling=null,n=lo.current,A(lo,a?n&1|2:n&1),F&&Ai(t,r.treeForkCount),e);case 22:case 23:return co(t),to(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Bc(t),t.subtreeFlags&6&&(t.flags|=8192)):Bc(t),n=t.updateQueue,n!==null&&Rc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&k(_a),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Zi(la),Bc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Hc(e,t){switch(Ni(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Zi(la),he(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return M(t),null;case 31:if(t.memoizedState!==null){if(co(t),t.alternate===null)throw Error(i(340));Wi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(co(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Wi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return k(lo),null;case 4:return he(),null;case 10:return Zi(t.type),null;case 22:case 23:return co(t),to(),e!==null&&k(_a),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Zi(la),null;case 25:return null;default:return null}}function Uc(e,t){switch(Ni(t),t.tag){case 3:Zi(la),he();break;case 26:case 27:case 5:M(t);break;case 4:he();break;case 31:t.memoizedState!==null&&co(t);break;case 13:co(t);break;case 19:k(lo);break;case 10:Zi(t.type);break;case 22:case 23:co(t),to(),e!==null&&k(_a);break;case 24:Zi(la)}}function Wc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Qu(t,t.return,e)}}function Gc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Qu(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Qu(t,t.return,e)}}function Kc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Xa(t,n)}catch(t){Qu(e,e.return,t)}}}function qc(e,t,n){n.props=Js(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Qu(e,t,n)}}function Jc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Qu(e,t,n)}}function Yc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){Qu(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Qu(e,t,n)}else n.current=null}function Xc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Qu(e,e.return,t)}}function Zc(e,t,n){try{var r=e.stateNode;Wd(r,e.type,n,t),r[dt]=t}catch(t){Qu(e,e.return,t)}}function Qc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&sf(e.type)||e.tag===4}function $c(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Qc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&sf(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function el(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=rn));else if(r!==4&&(r===27&&sf(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(el(e,t,n),e=e.sibling;e!==null;)el(e,t,n),e=e.sibling}function tl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&sf(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(tl(e,t,n),e=e.sibling;e!==null;)tl(e,t,n),e=e.sibling}function nl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Ud(t,r,n),t[ut]=e,t[dt]=n}catch(t){Qu(e,e.return,t)}}var rl=!1,il=!1,al=!1,ol=typeof WeakSet==`function`?WeakSet:Set,sl=null;function cl(e,t){if(e=e.containerInfo,qd=mp,e=kr(e),Ar(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Jd={focusedElem:e,selectionRange:n},mp=!1,sl=t;sl!==null;)if(t=sl,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,sl=e;else for(;sl!==null;){switch(t=sl,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)a=e[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=Js(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Qu(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)uf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:uf(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,sl=e;break}sl=t.return}}function ll(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:wl(e,n),r&4&&Wc(5,n);break;case 1:if(wl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Qu(n,n.return,e)}else{var i=Js(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Qu(n,n.return,e)}}r&64&&Kc(n),r&512&&Jc(n,n.return);break;case 3:if(wl(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{Xa(e,t)}catch(e){Qu(n,n.return,e)}}break;case 27:t===null&&r&4&&nl(n);case 26:case 5:wl(e,n),t===null&&r&4&&Xc(n),r&512&&Jc(n,n.return);break;case 12:wl(e,n);break;case 31:wl(e,n),r&4&&hl(e,n);break;case 13:wl(e,n),r&4&&gl(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=nd.bind(null,n),gf(e,n))));break;case 22:if(r=n.memoizedState!==null||rl,!r){t=t!==null&&t.memoizedState!==null||il,i=rl;var a=il;rl=r,(il=t)&&!a?El(e,n,(n.subtreeFlags&8772)!=0):wl(e,n),rl=i,il=a}break;case 30:break;default:wl(e,n)}}function ul(e){var t=e.alternate;t!==null&&(e.alternate=null,ul(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&vt(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var dl=null,fl=!1;function pl(e,t,n){for(n=n.child;n!==null;)ml(e,t,n),n=n.sibling}function ml(e,t,n){if(ze&&typeof ze.onCommitFiberUnmount==`function`)try{ze.onCommitFiberUnmount(Re,n)}catch{}switch(n.tag){case 26:il||Yc(n,t),pl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:il||Yc(n,t);var r=dl,i=fl;sf(n.type)&&(dl=n.stateNode,fl=!1),pl(e,t,n),Sf(n.stateNode),dl=r,fl=i;break;case 5:il||Yc(n,t);case 6:if(r=dl,i=fl,dl=null,pl(e,t,n),dl=r,fl=i,dl!==null)if(fl)try{(dl.nodeType===9?dl.body:dl.nodeName===`HTML`?dl.ownerDocument.body:dl).removeChild(n.stateNode)}catch(e){Qu(n,t,e)}else try{dl.removeChild(n.stateNode)}catch(e){Qu(n,t,e)}break;case 18:dl!==null&&(fl?(e=dl,cf(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Bp(e)):cf(dl,n.stateNode));break;case 4:r=dl,i=fl,dl=n.stateNode.containerInfo,fl=!0,pl(e,t,n),dl=r,fl=i;break;case 0:case 11:case 14:case 15:Gc(2,n,t),il||Gc(4,n,t),pl(e,t,n);break;case 1:il||(Yc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&qc(n,t,r)),pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:il=(r=il)||n.memoizedState!==null,pl(e,t,n),il=r;break;default:pl(e,t,n)}}function hl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Bp(e)}catch(e){Qu(t,t.return,e)}}}function gl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Bp(e)}catch(e){Qu(t,t.return,e)}}function _l(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new ol),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new ol),t;default:throw Error(i(435,e.tag))}}function vl(e,t){var n=_l(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=rd.bind(null,e,t);t.then(r,r)}})}function yl(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(sf(c.type)){dl=c.stateNode,fl=!1;break a}break;case 5:dl=c.stateNode,fl=!1;break a;case 3:case 4:dl=c.stateNode.containerInfo,fl=!0;break a}c=c.return}if(dl===null)throw Error(i(160));ml(o,s,a),dl=null,fl=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)xl(t,e),t=t.sibling}var bl=null;function xl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:yl(t,e),Sl(e),r&4&&(Gc(3,e,e.return),Wc(3,e),Gc(5,e,e.return));break;case 1:yl(t,e),Sl(e),r&512&&(il||n===null||Yc(n,n.return)),r&64&&rl&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=bl;if(yl(t,e),Sl(e),r&512&&(il||n===null||Yc(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[_t]||o[ut]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Ud(o,r,n),o[ut]=e,Ct(o),r=o;break a;case`link`:var s=Jf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),Ud(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=Jf(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),Ud(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[ut]=e,Ct(o),r=o}e.stateNode=r}else Yf(a,e.type,e.stateNode);else e.stateNode=Uf(a,r,e.memoizedProps);else o===r?r===null&&e.stateNode!==null&&Zc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Yf(a,e.type,e.stateNode):Uf(a,r,e.memoizedProps))}break;case 27:yl(t,e),Sl(e),r&512&&(il||n===null||Yc(n,n.return)),n!==null&&r&4&&Zc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(yl(t,e),Sl(e),r&512&&(il||n===null||Yc(n,n.return)),e.flags&32){a=e.stateNode;try{Yt(a,``)}catch(t){Qu(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Zc(e,a,n===null?a:n.memoizedProps)),r&1024&&(al=!0);break;case 6:if(yl(t,e),Sl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Qu(e,e.return,t)}}break;case 3:if(qf=null,a=bl,bl=U(t.containerInfo),yl(t,e),bl=a,Sl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Bp(t.containerInfo)}catch(t){Qu(e,e.return,t)}al&&(al=!1,Cl(e));break;case 4:r=bl,bl=U(e.stateNode.containerInfo),yl(t,e),Sl(e),bl=r;break;case 12:yl(t,e),Sl(e);break;case 31:yl(t,e),Sl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vl(e,r)));break;case 13:yl(t,e),Sl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(ou=ke()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=rl,d=il;if(rl=u||a,il=d||l,yl(t,e),il=d,rl=u,Sl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||rl||il||Tl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){Qu(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){Qu(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?lf(m,!0):lf(l.stateNode,!1)}catch(e){Qu(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,vl(e,n))));break;case 19:yl(t,e),Sl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vl(e,r)));break;case 30:break;case 21:break;default:yl(t,e),Sl(e)}}function Sl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Qc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;tl(e,$c(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(Yt(o,``),n.flags&=-33),tl(e,$c(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;el(e,$c(e),s);break;default:throw Error(i(161))}}catch(t){Qu(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Cl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Cl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function wl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ll(e,t.alternate,t),t=t.sibling}function Tl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Gc(4,t,t.return),Tl(t);break;case 1:Yc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&qc(t,t.return,n),Tl(t);break;case 27:Sf(t.stateNode);case 26:case 5:Yc(t,t.return),Tl(t);break;case 22:t.memoizedState===null&&Tl(t);break;case 30:Tl(t);break;default:Tl(t)}e=e.sibling}}function El(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:El(i,a,n),Wc(4,a);break;case 1:if(El(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Qu(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)Ya(c[i],s)}catch(e){Qu(r,r.return,e)}}n&&o&64&&Kc(a),Jc(a,a.return);break;case 27:nl(a);case 26:case 5:El(i,a,n),n&&r===null&&o&4&&Xc(a),Jc(a,a.return);break;case 12:El(i,a,n);break;case 31:El(i,a,n),n&&o&4&&hl(i,a);break;case 13:El(i,a,n),n&&o&4&&gl(i,a);break;case 22:a.memoizedState===null&&El(i,a,n),Jc(a,a.return);break;case 30:break;default:El(i,a,n)}t=t.sibling}}function Dl(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&da(n))}function Ol(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&da(e))}function kl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Al(e,t,n,r),t=t.sibling}function Al(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:kl(e,t,n,r),i&2048&&Wc(9,t);break;case 1:kl(e,t,n,r);break;case 3:kl(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&da(e)));break;case 12:if(i&2048){kl(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){Qu(t,t.return,e)}}else kl(e,t,n,r);break;case 31:kl(e,t,n,r);break;case 13:kl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?kl(e,t,n,r):(a._visibility|=2,jl(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?kl(e,t,n,r):Ml(e,t),i&2048&&Dl(o,t);break;case 24:kl(e,t,n,r),i&2048&&Ol(t.alternate,t);break;default:kl(e,t,n,r)}}function jl(e,t,n,r,i){for(i&&=(t.subtreeFlags&10256)!=0||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:jl(a,o,s,c,i),Wc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,jl(a,o,s,c,i)):u._visibility&2?jl(a,o,s,c,i):Ml(a,o),i&&l&2048&&Dl(o.alternate,o);break;case 24:jl(a,o,s,c,i),i&&l&2048&&Ol(o.alternate,o);break;default:jl(a,o,s,c,i)}t=t.sibling}}function Ml(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Ml(n,r),i&2048&&Dl(r.alternate,r);break;case 24:Ml(n,r),i&2048&&Ol(r.alternate,r);break;default:Ml(n,r)}t=t.sibling}}var Nl=8192;function Pl(e,t,n){if(e.subtreeFlags&Nl)for(e=e.child;e!==null;)Fl(e,t,n),e=e.sibling}function Fl(e,t,n){switch(e.tag){case 26:Pl(e,t,n),e.flags&Nl&&e.memoizedState!==null&&Qf(n,bl,e.memoizedState,e.memoizedProps);break;case 5:Pl(e,t,n);break;case 3:case 4:var r=bl;bl=U(e.stateNode.containerInfo),Pl(e,t,n),bl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Nl,Nl=16777216,Pl(e,t,n),Nl=r):Pl(e,t,n));break;default:Pl(e,t,n)}}function Il(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ll(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];sl=r,Bl(r,e)}Il(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Rl(e),e=e.sibling}function Rl(e){switch(e.tag){case 0:case 11:case 15:Ll(e),e.flags&2048&&Gc(9,e,e.return);break;case 3:Ll(e);break;case 12:Ll(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,zl(e)):Ll(e);break;default:Ll(e)}}function zl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];sl=r,Bl(r,e)}Il(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Gc(8,t,t.return),zl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,zl(t));break;default:zl(t)}e=e.sibling}}function Bl(e,t){for(;sl!==null;){var n=sl;switch(n.tag){case 0:case 11:case 15:Gc(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:da(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,sl=r;else a:for(n=e;sl!==null;){r=sl;var i=r.sibling,a=r.return;if(ul(r),r===n){sl=null;break a}if(i!==null){i.return=a,sl=i;break a}sl=a}}}var Vl={getCacheForType:function(e){var t=ra(la),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ra(la).controller.signal}},Hl=typeof WeakMap==`function`?WeakMap:Map,Ul=0,Wl=null,B=null,Gl=0,Kl=0,ql=null,Jl=!1,Yl=!1,Xl=!1,Zl=0,Ql=0,$l=0,eu=0,tu=0,nu=0,ru=0,V=null,iu=null,au=!1,ou=0,su=0,cu=1/0,lu=null,uu=null,du=0,fu=null,pu=null,mu=0,hu=0,gu=null,_u=null,vu=0,yu=null;function bu(){return Ul&2&&Gl!==0?Gl&-Gl:D.T===null?st():yd()}function xu(){if(nu===0)if(!(Gl&536870912)||F){var e=Ke;Ke<<=1,!(Ke&3932160)&&(Ke=262144),nu=e}else nu=536870912;return e=no.current,e!==null&&(e.flags|=32),nu}function Su(e,t,n){(e===Wl&&(Kl===2||Kl===9)||e.cancelPendingCommit!==null)&&(ku(e,0),Eu(e,Gl,nu,!1)),et(e,n),(!(Ul&2)||e!==Wl)&&(e===Wl&&(!(Ul&2)&&(eu|=n),Ql===4&&Eu(e,Gl,nu,!1)),dd(e))}function Cu(e,t,n){if(Ul&6)throw Error(i(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||Xe(e,t),a=r?Lu(e,t):Fu(e,t,!0),o=r;do{if(a===0){Yl&&!r&&Eu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!Tu(n)){a=Fu(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=V;var l=c.current.memoizedState.isDehydrated;if(l&&(ku(c,s).flags|=256),s=Fu(c,s,!1),s!==2){if(Xl&&!l){c.errorRecoveryDisabledLanes|=o,eu|=o,a=4;break a}o=iu,iu=a,o!==null&&(iu===null?iu=o:iu.push.apply(iu,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){ku(e,0),Eu(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:Eu(r,t,nu,!Jl);break a;case 2:iu=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=ou+300-ke(),10<a)){if(Eu(r,t,nu,!Jl),Ye(r,0,!0)!==0)break a;mu=t,r.timeoutHandle=tf(wu.bind(null,r,n,iu,lu,au,t,nu,eu,ru,Jl,o,`Throttled`,-0,0),a);break a}wu(r,n,iu,lu,au,t,nu,eu,ru,Jl,o,null,-0,0)}}break}while(1);dd(e)}function wu(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:rn},Fl(t,a,d);var m=(a&62914560)===a?ou-ke():(a&4194048)===a?su-ke():0;if(m=ep(d,m),m!==null){mu=a,e.cancelPendingCommit=m(Wu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),Eu(e,a,o,!l);return}}Wu(e,t,a,n,r,i,o,s,c)}function Tu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!wr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Eu(e,t,n,r){t&=~tu,t&=~eu,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Ve(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&nt(e,n,t)}function Du(){return Ul&6?!0:(fd(0,!1),!1)}function Ou(){if(B!==null){if(Kl===0)var e=B.return;else e=B,Yi=Ji=null,Ao(e),ja=null,Ma=0,e=B;for(;e!==null;)Uc(e.alternate,e),e=e.return;B=null}}function ku(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,nf(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),mu=0,Ou(),Wl=e,B=n=fi(e.current,null),Gl=t,Kl=0,ql=null,Jl=!1,Yl=Xe(e,t),Xl=!1,ru=nu=tu=eu=$l=Ql=0,iu=V=null,au=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-Ve(r),a=1<<i;t|=e[i],r&=~a}return Zl=t,ni(),n}function Au(e,t){z=null,D.H=Bs,t===xa||t===Ca?(t=ka(),Kl=3):t===Sa?(t=ka(),Kl=4):Kl=t===ic?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,ql=t,B===null&&(Ql=1,Qs(e,bi(t,e.current)))}function ju(){var e=no.current;return e===null?!0:(Gl&4194048)===Gl?ro===null:(Gl&62914560)===Gl||Gl&536870912?e===ro:!1}function Mu(){var e=D.H;return D.H=Bs,e===null?Bs:e}function Nu(){var e=D.A;return D.A=Vl,e}function Pu(){Ql=4,Jl||(Gl&4194048)!==Gl&&no.current!==null||(Yl=!0),!($l&134217727)&&!(eu&134217727)||Wl===null||Eu(Wl,Gl,nu,!1)}function Fu(e,t,n){var r=Ul;Ul|=2;var i=Mu(),a=Nu();(Wl!==e||Gl!==t)&&(lu=null,ku(e,t)),t=!1;var o=Ql;a:do try{if(Kl!==0&&B!==null){var s=B,c=ql;switch(Kl){case 8:Ou(),o=6;break a;case 3:case 2:case 9:case 6:no.current===null&&(t=!0);var l=Kl;if(Kl=0,ql=null,Vu(e,s,c,l),n&&Yl){o=0;break a}break;default:l=Kl,Kl=0,ql=null,Vu(e,s,c,l)}}Iu(),o=Ql;break}catch(t){Au(e,t)}while(1);return t&&e.shellSuspendCounter++,Yi=Ji=null,Ul=r,D.H=i,D.A=a,B===null&&(Wl=null,Gl=0,ni()),o}function Iu(){for(;B!==null;)zu(B)}function Lu(e,t){var n=Ul;Ul|=2;var r=Mu(),a=Nu();Wl!==e||Gl!==t?(lu=null,cu=ke()+500,ku(e,t)):Yl=Xe(e,t);a:do try{if(Kl!==0&&B!==null){t=B;var o=ql;b:switch(Kl){case 1:Kl=0,ql=null,Vu(e,t,o,1);break;case 2:case 9:if(Ta(o)){Kl=0,ql=null,Bu(t);break}t=function(){Kl!==2&&Kl!==9||Wl!==e||(Kl=7),dd(e)},o.then(t,t);break a;case 3:Kl=7;break a;case 4:Kl=5;break a;case 7:Ta(o)?(Kl=0,ql=null,Bu(t)):(Kl=0,ql=null,Vu(e,t,o,7));break;case 5:var s=null;switch(B.tag){case 26:s=B.memoizedState;case 5:case 27:var c=B;if(s?Zf(s):c.stateNode.complete){Kl=0,ql=null;var l=c.sibling;if(l!==null)B=l;else{var u=c.return;u===null?B=null:(B=u,Hu(u))}break b}}Kl=0,ql=null,Vu(e,t,o,5);break;case 6:Kl=0,ql=null,Vu(e,t,o,6);break;case 8:Ou(),Ql=6;break a;default:throw Error(i(462))}}Ru();break}catch(t){Au(e,t)}while(1);return Yi=Ji=null,D.H=r,D.A=a,Ul=n,B===null?(Wl=null,Gl=0,ni(),Ql):0}function Ru(){for(;B!==null&&!De();)zu(B)}function zu(e){var t=Pc(e.alternate,e,Zl);e.memoizedProps=e.pendingProps,t===null?Hu(e):B=t}function Bu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=vc(n,t,t.pendingProps,t.type,void 0,Gl);break;case 11:t=vc(n,t,t.pendingProps,t.type.render,t.ref,Gl);break;case 5:Ao(t);default:Uc(n,t),t=B=pi(t,Zl),t=Pc(n,t,Zl)}e.memoizedProps=e.pendingProps,t===null?Hu(e):B=t}function Vu(e,t,n,r){Yi=Ji=null,Ao(t),ja=null,Ma=0;var i=t.return;try{if(rc(e,i,t,n,Gl)){Ql=1,Qs(e,bi(n,e.current)),B=null;return}}catch(t){if(i!==null)throw B=i,t;Ql=1,Qs(e,bi(n,e.current)),B=null;return}t.flags&32768?(F||r===1?e=!0:Yl||Gl&536870912?e=!1:(Jl=e=!0,(r===2||r===9||r===3||r===6)&&(r=no.current,r!==null&&r.tag===13&&(r.flags|=16384))),Uu(t,e)):Hu(t)}function Hu(e){var t=e;do{if(t.flags&32768){Uu(t,Jl);return}e=t.return;var n=Vc(t.alternate,t,Zl);if(n!==null){B=n;return}if(t=t.sibling,t!==null){B=t;return}B=t=e}while(t!==null);Ql===0&&(Ql=5)}function Uu(e,t){do{var n=Hc(e.alternate,e);if(n!==null){n.flags&=32767,B=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){B=e;return}B=e=n}while(e!==null);Ql=6,B=null}function Wu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Yu();while(du!==0);if(Ul&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=ti,tt(e,n,o,s,c,l),e===Wl&&(B=Wl=null,Gl=0),pu=t,fu=e,mu=n,hu=o,gu=a,_u=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,id(Ne,function(){return Xu(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=D.T,D.T=null,a=O.p,O.p=2,s=Ul,Ul|=4;try{cl(e,t,n)}finally{Ul=s,O.p=a,D.T=r}}du=1,Gu(),Ku(),qu()}}function Gu(){if(du===1){du=0;var e=fu,t=pu,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=D.T,D.T=null;var r=O.p;O.p=2;var i=Ul;Ul|=4;try{xl(t,e);var a=Jd,o=kr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Or(s.ownerDocument.documentElement,s)){if(c!==null&&Ar(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Dr(s,h),v=Dr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}mp=!!qd,Jd=qd=null}finally{Ul=i,O.p=r,D.T=n}}e.current=t,du=2}}function Ku(){if(du===2){du=0;var e=fu,t=pu,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=D.T,D.T=null;var r=O.p;O.p=2;var i=Ul;Ul|=4;try{ll(e,t.alternate,t)}finally{Ul=i,O.p=r,D.T=n}}du=3}}function qu(){if(du===4||du===3){du=0,Oe();var e=fu,t=pu,n=mu,r=_u;t.subtreeFlags&10256||t.flags&10256?du=5:(du=0,pu=fu=null,Ju(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(uu=null),ot(n),t=t.stateNode,ze&&typeof ze.onCommitFiberRoot==`function`)try{ze.onCommitFiberRoot(Re,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=D.T,i=O.p,O.p=2,D.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{D.T=t,O.p=i}}mu&3&&Yu(),dd(e),i=e.pendingLanes,n&261930&&i&42?e===yu?vu++:(vu=0,yu=e):vu=0,fd(0,!1)}}function Ju(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,da(t)))}function Yu(){return Gu(),Ku(),qu(),Xu()}function Xu(){if(du!==5)return!1;var e=fu,t=hu;hu=0;var n=ot(mu),r=D.T,a=O.p;try{O.p=32>n?32:n,D.T=null,n=gu,gu=null;var o=fu,s=mu;if(du=0,pu=fu=null,mu=0,Ul&6)throw Error(i(331));var c=Ul;if(Ul|=4,Rl(o.current),Al(o,o.current,s,n),Ul=c,fd(0,!1),ze&&typeof ze.onPostCommitFiberRoot==`function`)try{ze.onPostCommitFiberRoot(Re,o)}catch{}return!0}finally{O.p=a,D.T=r,Ju(e,t)}}function Zu(e,t,n){t=bi(n,t),t=ec(e.stateNode,t,2),e=Ua(e,t,2),e!==null&&(et(e,2),dd(e))}function Qu(e,t,n){if(e.tag===3)Zu(e,e,n);else for(;t!==null;){if(t.tag===3){Zu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(uu===null||!uu.has(r))){e=bi(n,e),n=tc(2),r=Ua(t,n,2),r!==null&&(nc(n,r,t,e),et(r,2),dd(r));break}}t=t.return}}function $u(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Hl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Xl=!0,i.add(n),e=ed.bind(null,e,t,n),t.then(e,e))}function ed(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Wl===e&&(Gl&n)===n&&(Ql===4||Ql===3&&(Gl&62914560)===Gl&&300>ke()-ou?!(Ul&2)&&ku(e,0):tu|=n,ru===Gl&&(ru=0)),dd(e)}function td(e,t){t===0&&(t=Qe()),e=ai(e,t),e!==null&&(et(e,t),dd(e))}function nd(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),td(e,n)}function rd(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),td(e,n)}function id(e,t){return Te(e,t)}var ad=null,od=null,sd=!1,cd=!1,ld=!1,ud=0;function dd(e){e!==od&&e.next===null&&(od===null?ad=od=e:od=od.next=e),cd=!0,sd||(sd=!0,vd())}function fd(e,t){if(!ld&&cd){ld=!0;do for(var n=!1,r=ad;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Ve(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,_d(r,a))}else a=Gl,a=Ye(r,r===Wl?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Xe(r,a)||(n=!0,_d(r,a));r=r.next}while(n);ld=!1}}function pd(){md()}function md(){cd=sd=!1;var e=0;ud!==0&&ef()&&(e=ud);for(var t=ke(),n=null,r=ad;r!==null;){var i=r.next,a=hd(r,t);a===0?(r.next=null,n===null?ad=i:n.next=i,i===null&&(od=n)):(n=r,(e!==0||a&3)&&(cd=!0)),r=i}du!==0&&du!==5||fd(e,!1),ud!==0&&(ud=0)}function hd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Ve(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Ze(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Wl,n=Gl,n=Ye(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Kl===2||Kl===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Ee(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Xe(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Ee(r),ot(n)){case 2:case 8:n=Me;break;case 32:n=Ne;break;case 268435456:n=Fe;break;default:n=Ne}return r=gd.bind(null,e),n=Te(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Ee(r),e.callbackPriority=2,e.callbackNode=null,2}function gd(e,t){if(du!==0&&du!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Yu()&&e.callbackNode!==n)return null;var r=Gl;return r=Ye(e,e===Wl?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(Cu(e,r,t),hd(e,ke()),e.callbackNode!=null&&e.callbackNode===n?gd.bind(null,e):null)}function _d(e,t){if(Yu())return null;Cu(e,t,!0)}function vd(){af(function(){Ul&6?Te(je,pd):md()})}function yd(){if(ud===0){var e=R;e===0&&(e=Ge,Ge<<=1,!(Ge&261888)&&(Ge=256)),ud=e}return ud}function bd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:nn(``+e)}function xd(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function Sd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=bd((i[dt]||null).action),o=r.submitter;o&&(t=(t=o[dt]||null)?bd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new Tn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(ud!==0){var e=o?xd(i,o):new FormData(i);Es(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?xd(i,o):new FormData(i),Es(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var Cd=0;Cd<Xr.length;Cd++){var wd=Xr[Cd];Zr(wd.toLowerCase(),`on`+(wd[0].toUpperCase()+wd.slice(1)))}Zr(Hr,`onAnimationEnd`),Zr(Ur,`onAnimationIteration`),Zr(Wr,`onAnimationStart`),Zr(`dblclick`,`onDoubleClick`),Zr(`focusin`,`onFocus`),Zr(`focusout`,`onBlur`),Zr(Gr,`onTransitionRun`),Zr(Kr,`onTransitionStart`),Zr(qr,`onTransitionCancel`),Zr(Jr,`onTransitionEnd`),Dt(`onMouseEnter`,[`mouseout`,`mouseover`]),Dt(`onMouseLeave`,[`mouseout`,`mouseover`]),Dt(`onPointerEnter`,[`pointerout`,`pointerover`]),Dt(`onPointerLeave`,[`pointerout`,`pointerover`]),Et(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Et(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Et(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Et(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Et(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Et(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var Td=`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(` `),Ed=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(Td));function Dd(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Qr(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Qr(e)}i.currentTarget=null,a=c}}}}function H(e,t){var n=t[pt];n===void 0&&(n=t[pt]=new Set);var r=e+`__bubble`;n.has(r)||(jd(t,e,2,!1),n.add(r))}function Od(e,t,n){var r=0;t&&(r|=4),jd(n,e,r,t)}var kd=`_reactListening`+Math.random().toString(36).slice(2);function Ad(e){if(!e[kd]){e[kd]=!0,wt.forEach(function(t){t!==`selectionchange`&&(Ed.has(t)||Od(t,!1,e),Od(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[kd]||(t[kd]=!0,Od(`selectionchange`,!1,t))}}function jd(e,t,n,r){switch(xp(t)){case 2:var i=hp;break;case 8:i=gp;break;default:i=_p}n=i.bind(null,t,n,e),i=void 0,!mn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function Md(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=yt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}dn(function(){var r=a,i=on(n),s=[];a:{var c=Yr.get(e);if(c!==void 0){var l=Tn,u=e;switch(e){case`keypress`:if(bn(n)===0)break a;case`keydown`:case`keyup`:l=Hn;break;case`focusin`:u=`focus`,l=Pn;break;case`focusout`:u=`blur`,l=Pn;break;case`beforeblur`:case`afterblur`:l=Pn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=Mn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Nn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Wn;break;case Hr:case Ur:case Wr:l=Fn;break;case Jr:l=Gn;break;case`scroll`:case`scrollend`:l=Dn;break;case`wheel`:l=Kn;break;case`copy`:case`cut`:case`paste`:l=N;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Un;break;case`toggle`:case`beforetoggle`:l=qn}var d=(t&4)!=0,f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=fn(m,p),g!=null&&d.push(Nd(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==an&&(u=n.relatedTarget||n.fromElement)&&(yt(u)||u[ft]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?yt(u):null,u!==null&&(f=o(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=Mn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Un,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:xt(l),h=u==null?c:xt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,yt(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=Fd,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&Id(s,c,l,d,!1),u!==null&&f!==null&&Id(s,f,u,d,!0)}}a:{if(c=r?xt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=fr;else if(or(c))if(pr)v=Sr;else{v=br;var y=yr}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&$t(r.elementType)&&(v=fr):v=xr;if(v&&=v(e,r)){sr(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Gt(c,`number`,c.value)}switch(y=r?xt(r):window,e){case`focusin`:(or(y)||y.contentEditable===`true`)&&(Mr=y,Nr=r,Pr=null);break;case`focusout`:Pr=Nr=Mr=null;break;case`mousedown`:Fr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Fr=!1,Ir(s,n,i);break;case`selectionchange`:if(jr)break;case`keydown`:case`keyup`:Ir(s,n,i)}var b;if(Jn)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else nr?er(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(Zn&&n.locale!==`ko`&&(nr||x!==`onCompositionStart`?x===`onCompositionEnd`&&nr&&(b=yn()):(gn=i,_n=`value`in gn?gn.value:gn.textContent,nr=!0)),y=Pd(r,x),0<y.length&&(x=new In(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=tr(n),b!==null&&(x.data=b)))),(b=Xn?rr(e,n):ir(e,n))&&(x=Pd(r,`onBeforeInput`),0<x.length&&(y=new In(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),Sd(s,e,r,n,i)}Dd(s,t)})}function Nd(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Pd(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=fn(e,n),i!=null&&r.unshift(Nd(e,i,a)),i=fn(e,t),i!=null&&r.push(Nd(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Fd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Id(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=fn(n,a),l!=null&&o.unshift(Nd(n,l,c))):i||(l=fn(n,a),l!=null&&o.push(Nd(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Ld=/\r\n?/g,Rd=/\u0000|\uFFFD/g;function zd(e){return(typeof e==`string`?e:``+e).replace(Ld,`
14
+ `).replace(Rd,``)}function Bd(e,t){return t=zd(t),zd(e)===t}function Vd(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||Yt(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&Yt(e,``+r);break;case`className`:Nt(e,`class`,r);break;case`tabIndex`:Nt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Nt(e,n,r);break;case`style`:Qt(e,r,o);break;case`data`:if(t!==`object`){Nt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=nn(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}else typeof o==`function`&&(n===`formAction`?(t!==`input`&&Vd(e,t,`name`,a.name,a,null),Vd(e,t,`formEncType`,a.formEncType,a,null),Vd(e,t,`formMethod`,a.formMethod,a,null),Vd(e,t,`formTarget`,a.formTarget,a,null)):(Vd(e,t,`encType`,a.encType,a,null),Vd(e,t,`method`,a.method,a,null),Vd(e,t,`target`,a.target,a,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=nn(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=rn);break;case`onScroll`:r!=null&&H(`scroll`,e);break;case`onScrollEnd`:r!=null&&H(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=nn(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:H(`beforetoggle`,e),H(`toggle`,e),Mt(e,`popover`,r);break;case`xlinkActuate`:Pt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Pt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Pt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Pt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Pt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Pt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Pt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Pt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Pt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Mt(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=en.get(n)||n,Mt(e,n,r))}}function Hd(e,t,n,r,a,o){switch(n){case`style`:Qt(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?Yt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Yt(e,``+r);break;case`onScroll`:r!=null&&H(`scroll`,e);break;case`onScrollEnd`:r!=null&&H(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=rn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!Tt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),t=n.slice(2,a?n.length-7:void 0),o=e[dt]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,a),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):Mt(e,n,r)}}}function Ud(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:H(`error`,e),H(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Vd(e,t,o,s,n,null)}}a&&Vd(e,t,`srcSet`,n.srcSet,n,null),r&&Vd(e,t,`src`,n.src,n,null);return;case`input`:H(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:Vd(e,t,r,d,n,null)}}Wt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in H(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:Vd(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Kt(e,!!r,n,!0):Kt(e,!!r,t,!1);return;case`textarea`:for(s in H(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:Vd(e,t,s,c,n,null)}Jt(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:Vd(e,t,l,r,n,null)}return;case`dialog`:H(`beforetoggle`,e),H(`toggle`,e),H(`cancel`,e),H(`close`,e);break;case`iframe`:case`object`:H(`load`,e);break;case`video`:case`audio`:for(r=0;r<Td.length;r++)H(Td[r],e);break;case`image`:H(`error`,e),H(`load`,e);break;case`details`:H(`toggle`,e);break;case`embed`:case`source`:case`link`:H(`error`,e),H(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Vd(e,t,u,r,n,null)}return;default:if($t(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Hd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Vd(e,t,c,r,n,null))}function Wd(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||Vd(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:a=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&Vd(e,t,p,m,r,f)}}Ut(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||Vd(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&Vd(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Kt(e,!!n,n?[]:``,!1):Kt(e,!!n,t,!0)):Kt(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:Vd(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:p=a;break;case`defaultValue`:m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&Vd(e,t,s,a,r,o)}qt(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:Vd(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:Vd(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&Vd(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:Vd(e,t,u,p,r,m)}return;default:if($t(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Hd(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Hd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Vd(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||Vd(e,t,f,p,r,m)}function Gd(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Kd(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Gd(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Gd(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var qd=null,Jd=null;function Yd(e){return e.nodeType===9?e:e.ownerDocument}function Xd(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function Zd(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Qd(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var $d=null;function ef(){var e=window.event;return e&&e.type===`popstate`?e===$d?!1:($d=e,!0):($d=null,!1)}var tf=typeof setTimeout==`function`?setTimeout:void 0,nf=typeof clearTimeout==`function`?clearTimeout:void 0,rf=typeof Promise==`function`?Promise:void 0,af=typeof queueMicrotask==`function`?queueMicrotask:rf===void 0?tf:function(e){return rf.resolve(null).then(e).catch(of)};function of(e){setTimeout(function(){throw e})}function sf(e){return e===`head`}function cf(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Bp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)Sf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,Sf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[_t]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&Sf(e.ownerDocument.body);n=i}while(n);Bp(t)}function lf(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8)if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++;n=r}while(n)}function uf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:uf(n),vt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function df(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[_t])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=_f(e.nextSibling),e===null)break}return null}function ff(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=_f(e.nextSibling),e===null))return null;return e}function pf(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=_f(e.nextSibling),e===null))return null;return e}function mf(e){return e.data===`$?`||e.data===`$~`}function hf(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function gf(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function _f(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var vf=null;function yf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return _f(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function bf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function xf(e,t,n){switch(t=Yd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function Sf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);vt(e)}var Cf=new Map,wf=new Set;function U(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Tf=O.d;O.d={f:Ef,r:Df,D:Af,C:jf,L:Mf,m:Nf,X:Ff,S:Pf,M:If};function Ef(){var e=Tf.f(),t=Du();return e||t}function Df(e){var t=bt(e);t!==null&&t.tag===5&&t.type===`form`?Os(t):Tf.r(e)}var Of=typeof document>`u`?null:document;function kf(e,t,n){var r=Of;if(r&&typeof t==`string`&&t){var i=Ht(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),wf.has(i)||(wf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Ud(t,`link`,e),Ct(t),r.head.appendChild(t)))}}function Af(e){Tf.D(e),kf(`dns-prefetch`,e,null)}function jf(e,t){Tf.C(e,t),kf(`preconnect`,e,t)}function Mf(e,t,n){Tf.L(e,t,n);var r=Of;if(r&&e&&t){var i=`link[rel="preload"][as="`+Ht(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Ht(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Ht(n.imageSizes)+`"]`)):i+=`[href="`+Ht(e)+`"]`;var a=i;switch(t){case`style`:a=Rf(e);break;case`script`:a=Hf(e)}Cf.has(a)||(e=f({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),Cf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(zf(a))||t===`script`&&r.querySelector(W(a))||(t=r.createElement(`link`),Ud(t,`link`,e),Ct(t),r.head.appendChild(t)))}}function Nf(e,t){Tf.m(e,t);var n=Of;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Ht(r)+`"][href="`+Ht(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Hf(e)}if(!Cf.has(a)&&(e=f({rel:`modulepreload`,href:e},t),Cf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(W(a)))return}r=n.createElement(`link`),Ud(r,`link`,e),Ct(r),n.head.appendChild(r)}}}function Pf(e,t,n){Tf.S(e,t,n);var r=Of;if(r&&e){var i=St(r).hoistableStyles,a=Rf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(zf(a)))s.loading=5;else{e=f({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=Cf.get(a))&&Gf(e,n);var c=o=r.createElement(`link`);Ct(c),Ud(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Wf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Ff(e,t){Tf.X(e,t);var n=Of;if(n&&e){var r=St(n).hoistableScripts,i=Hf(e),a=r.get(i);a||(a=n.querySelector(W(i)),a||(e=f({src:e,async:!0},t),(t=Cf.get(i))&&Kf(e,t),a=n.createElement(`script`),Ct(a),Ud(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function If(e,t){Tf.M(e,t);var n=Of;if(n&&e){var r=St(n).hoistableScripts,i=Hf(e),a=r.get(i);a||(a=n.querySelector(W(i)),a||(e=f({src:e,async:!0,type:`module`},t),(t=Cf.get(i))&&Kf(e,t),a=n.createElement(`script`),Ct(a),Ud(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Lf(e,t,n,r){var a=(a=pe.current)?U(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=Rf(n.href),n=St(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Rf(n.href);var o=St(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(zf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),Cf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Cf.set(e,n),o||Vf(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=Hf(n),n=St(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Rf(e){return`href="`+Ht(e)+`"`}function zf(e){return`link[rel="stylesheet"][`+e+`]`}function Bf(e){return f({},e,{"data-precedence":e.precedence,precedence:null})}function Vf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Ud(t,`link`,n),Ct(t),e.head.appendChild(t))}function Hf(e){return`[src="`+Ht(e)+`"]`}function W(e){return`script[async]`+e}function Uf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Ht(n.href)+`"]`);if(r)return t.instance=r,Ct(r),r;var a=f({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Ct(r),Ud(r,`style`,a),Wf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Rf(n.href);var o=e.querySelector(zf(a));if(o)return t.state.loading|=4,t.instance=o,Ct(o),o;r=Bf(n),(a=Cf.get(a))&&Gf(r,a),o=(e.ownerDocument||e).createElement(`link`),Ct(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Ud(o,`link`,r),t.state.loading|=4,Wf(o,n.precedence,e),t.instance=o;case`script`:return o=Hf(n.src),(a=e.querySelector(W(o)))?(t.instance=a,Ct(a),a):(r=n,(a=Cf.get(o))&&(r=f({},n),Kf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),Ct(a),Ud(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Wf(r,n.precedence,e));return t.instance}function Wf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Gf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Kf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var qf=null;function Jf(e,t,n){if(qf===null){var r=new Map,i=qf=new Map;i.set(n,r)}else i=qf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[_t]||a[ut]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Yf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Xf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Zf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Qf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Rf(r.href),a=t.querySelector(zf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=tp.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Ct(a);return}a=t.ownerDocument||t,r=Bf(r),(i=Cf.get(i))&&Gf(r,i),a=a.createElement(`link`),Ct(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Ud(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=tp.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var $f=0;function ep(e,t){return e.stylesheets&&e.count===0&&rp(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&rp(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&$f===0&&($f=62500*Kd());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&rp(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>$f?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function tp(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)rp(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var np=null;function rp(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,np=new Map,t.forEach(ip,e),np=null,tp.call(e))}function ip(e,t){if(!(t.state.loading&4)){var n=np.get(e);if(n)var r=n.get(null);else{n=new Map,np.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=tp.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var ap={$$typeof:b,Provider:null,Consumer:null,_currentValue:se,_currentValue2:se,_threadCount:0};function op(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=$e(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$e(0),this.hiddenUpdates=$e(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function sp(e,t,n,r,i,a,o,s,c,l,u,d){return e=new op(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=ui(3,null,null,t),e.current=a,a.stateNode=e,t=ua(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Ba(a),e}function cp(e){return e?(e=ci,e):ci}function lp(e,t,n,r,i,a){i=cp(i),r.context===null?r.context=i:r.pendingContext=i,r=Ha(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Ua(e,r,t),n!==null&&(Su(n,e,t),Wa(n,e,t))}function up(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function dp(e,t){up(e,t),(e=e.alternate)&&up(e,t)}function fp(e){if(e.tag===13||e.tag===31){var t=ai(e,67108864);t!==null&&Su(t,e,67108864),dp(e,67108864)}}function pp(e){if(e.tag===13||e.tag===31){var t=bu();t=at(t);var n=ai(e,t);n!==null&&Su(n,e,t),dp(e,t)}}var mp=!0;function hp(e,t,n,r){var i=D.T;D.T=null;var a=O.p;try{O.p=2,_p(e,t,n,r)}finally{O.p=a,D.T=i}}function gp(e,t,n,r){var i=D.T;D.T=null;var a=O.p;try{O.p=8,_p(e,t,n,r)}finally{O.p=a,D.T=i}}function _p(e,t,n,r){if(mp){var i=vp(r);if(i===null)Md(e,t,r,yp,n),Ap(e,r);else if(Mp(i,e,t,n,r))r.stopPropagation();else if(Ap(e,r),t&4&&-1<kp.indexOf(e)){for(;i!==null;){var a=bt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Je(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Ve(o);s.entanglements[1]|=c,o&=~c}dd(a),!(Ul&6)&&(cu=ke()+500,fd(0,!1))}}break;case 31:case 13:s=ai(a,2),s!==null&&Su(s,a,2),Du(),dp(a,2)}if(a=vp(r),a===null&&Md(e,t,r,yp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Md(e,t,r,null,n)}}function vp(e){return e=on(e),bp(e)}var yp=null;function bp(e){if(yp=null,e=yt(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return yp=e,null}function xp(e){switch(e){case`beforetoggle`: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`toggle`: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 2;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`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(Ae()){case je:return 2;case Me:return 8;case Ne:case Pe:return 32;case Fe:return 268435456;default:return 32}default:return 32}}var Sp=!1,Cp=null,wp=null,Tp=null,Ep=new Map,Dp=new Map,Op=[],kp=`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`.split(` `);function Ap(e,t){switch(e){case`focusin`:case`focusout`:Cp=null;break;case`dragenter`:case`dragleave`:wp=null;break;case`mouseover`:case`mouseout`:Tp=null;break;case`pointerover`:case`pointerout`:Ep.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:Dp.delete(t.pointerId)}}function jp(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=bt(t),t!==null&&fp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Mp(e,t,n,r,i){switch(t){case`focusin`:return Cp=jp(Cp,e,t,n,r,i),!0;case`dragenter`:return wp=jp(wp,e,t,n,r,i),!0;case`mouseover`:return Tp=jp(Tp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return Ep.set(a,jp(Ep.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,Dp.set(a,jp(Dp.get(a)||null,e,t,n,r,i)),!0}return!1}function Np(e){var t=yt(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,ct(e.priority,function(){pp(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,ct(e.priority,function(){pp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Pp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=vp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);an=r,n.target.dispatchEvent(r),an=null}else return t=bt(n),t!==null&&fp(t),e.blockedOn=n,!1;t.shift()}return!0}function Fp(e,t,n){Pp(e)&&n.delete(t)}function Ip(){Sp=!1,Cp!==null&&Pp(Cp)&&(Cp=null),wp!==null&&Pp(wp)&&(wp=null),Tp!==null&&Pp(Tp)&&(Tp=null),Ep.forEach(Fp),Dp.forEach(Fp)}function Lp(e,n){e.blockedOn===n&&(e.blockedOn=null,Sp||(Sp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Ip)))}var Rp=null;function zp(e){Rp!==e&&(Rp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Rp===e&&(Rp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(bp(r||n)===null)continue;break}var a=bt(n);a!==null&&(e.splice(t,3),t-=3,Es(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Bp(e){function t(t){return Lp(t,e)}Cp!==null&&Lp(Cp,e),wp!==null&&Lp(wp,e),Tp!==null&&Lp(Tp,e),Ep.forEach(t),Dp.forEach(t);for(var n=0;n<Op.length;n++){var r=Op[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Op.length&&(n=Op[0],n.blockedOn===null);)Np(n),n.blockedOn===null&&Op.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[dt]||null;if(typeof a==`function`)o||zp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[dt]||null)s=o.formAction;else if(bp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),zp(n)}}}function Vp(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Hp(e){this._internalRoot=e}Up.prototype.render=Hp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;lp(n,bu(),e,t,null,null)},Up.prototype.unmount=Hp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;lp(e.current,2,null,e,null,null),Du(),t[ft]=null}};function Up(e){this._internalRoot=e}Up.prototype.unstable_scheduleHydration=function(e){if(e){var t=st();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Op.length&&t!==0&&t<Op[n].priority;n++);Op.splice(n,0,e),n===0&&Np(e)}};var Wp=n.version;if(Wp!==`19.2.4`)throw Error(i(527,Wp,`19.2.4`));O.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:d(e),e=e===null?null:e.stateNode,e};var Gp={bundleType:0,version:`19.2.4`,rendererPackageName:`react-dom`,currentDispatcherRef:D,reconcilerVersion:`19.2.4`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Kp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Kp.isDisabled&&Kp.supportsFiber)try{Re=Kp.inject(Gp),ze=Kp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Ys,s=Xs,c=Zs;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=sp(e,1,!1,null,null,n,r,null,o,s,c,Vp),e[ft]=t.current,Ad(e),new Hp(t)},e.hydrateRoot=function(e,t,n){if(!a(e))throw Error(i(299));var r=!1,o=``,s=Ys,c=Xs,l=Zs,u=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(c=n.onCaughtError),n.onRecoverableError!==void 0&&(l=n.onRecoverableError),n.formState!==void 0&&(u=n.formState)),t=sp(e,1,!0,t,n??null,r,o,u,s,c,l,Vp),t.context=cp(null),n=t.current,r=bu(),r=at(r),o=Ha(r),o.callback=null,Ua(n,o,r),n=r,t.current.lanes=n,et(t,n),dd(t),e[ft]=t.current,Ad(e),new Up(t)},e.version=`19.2.4`})),ie=p((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function n(e,t,r,i){if(r>=t.length)return i;var a=t[r],o=Hf(e)?e.slice():U({},e);return o[a]=n(e[a],t,r+1,i),o}function r(e,t,n){if(t.length!==n.length)console.warn(`copyWithRename() expects paths of the same length`);else{for(var r=0;r<n.length-1;r++)if(t[r]!==n[r]){console.warn(`copyWithRename() expects paths to be the same except for the deepest key`);return}return i(e,t,n,0)}}function i(e,t,n,r){var a=t[r],o=Hf(e)?e.slice():U({},e);return r+1===t.length?(o[n[r]]=o[a],Hf(o)?o.splice(a,1):delete o[a]):o[a]=i(e[a],t,n,r+1),o}function a(e,t,n){var r=t[n],i=Hf(e)?e.slice():U({},e);return n+1===t.length?(Hf(i)?i.splice(r,1):delete i[r],i):(i[r]=a(e[r],t,n+1),i)}function o(){return!1}function s(){return null}function c(){console.error(`Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks`)}function l(){console.error(`Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().`)}function u(){}function d(){}function f(e){var t=[];return e.forEach(function(e){t.push(e)}),t.sort().join(`, `)}function p(e,t,n,r){return new hr(e,t,n,r)}function m(e,t){e.context===jg&&(Yd(e.current,2,t,e,null,null),nl())}function h(e,t){if(Mg!==null){var n=t.staleFamilies;t=t.updatedFamilies,Ol(),mr(e.current,t,n),nl()}}function g(e){Mg=e}function _(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function v(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function y(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function b(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function x(e){if(v(e)!==e)throw Error(`Unable to find node on an unmounted component.`)}function ee(e){var t=e.alternate;if(!t){if(t=v(e),t===null)throw Error(`Unable to find node on an unmounted component.`);return t===e?e:null}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return x(i),e;if(a===r)return x(i),t;a=a.sibling}throw Error(`Unable to find node on an unmounted component.`)}if(n.return!==r.return)n=i,r=a;else{for(var o=!1,s=i.child;s;){if(s===n){o=!0,n=i,r=a;break}if(s===r){o=!0,r=i,n=a;break}s=s.sibling}if(!o){for(s=a.child;s;){if(s===n){o=!0,n=a,r=i;break}if(s===r){o=!0,r=a,n=i;break}s=s.sibling}if(!o)throw Error(`Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.`)}}if(n.alternate!==r)throw Error(`Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.`)}if(n.tag!==3)throw Error(`Unable to find node on an unmounted component.`);return n.stateNode.current===n?e:t}function S(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=S(e),t!==null)return t;e=e.sibling}return null}function te(e){return typeof e!=`object`||!e?null:(e=Bf&&e[Bf]||e[`@@iterator`],typeof e==`function`?e:null)}function C(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===Vf?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case Of:return`Fragment`;case Af:return`Profiler`;case kf:return`StrictMode`;case Pf:return`Suspense`;case Ff:return`SuspenseList`;case Rf:return`Activity`}if(typeof e==`object`)switch(typeof e.tag==`number`&&console.error(`Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`),e.$$typeof){case Df:return`Portal`;case Mf:return e.displayName||`Context`;case jf:return(e._context.displayName||`Context`)+`.Consumer`;case Nf:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case If:return t=e.displayName||null,t===null?C(e.type)||`Memo`:t;case Lf:t=e._payload,e=e._init;try{return C(e(t))}catch{}}return null}function ne(e){return typeof e.tag==`number`?w(e):typeof e.name==`string`?e.name:null}function w(e){var t=e.type;switch(e.tag){case 31:return`Activity`;case 24:return`Cache`;case 9:return(t._context.displayName||`Context`)+`.Consumer`;case 10:return t.displayName||`Context`;case 18:return`DehydratedFragment`;case 11:return e=t.render,e=e.displayName||e.name||``,t.displayName||(e===``?`ForwardRef`:`ForwardRef(`+e+`)`);case 7:return`Fragment`;case 26:case 27:case 5:return t;case 4:return`Portal`;case 3:return`Root`;case 6:return`Text`;case 16:return C(t);case 8:return t===kf?`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 14:case 15:if(typeof t==`function`)return t.displayName||t.name||null;if(typeof t==`string`)return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name==`string`)return t[n].name}if(e.return!==null)return w(e.return)}return null}function ie(e){return{current:e}}function T(e,t){0>qf?console.error(`Unexpected pop.`):(t!==Kf[qf]&&console.error(`Unexpected Fiber popped.`),e.current=Gf[qf],Gf[qf]=null,Kf[qf]=null,qf--)}function E(e,t,n){qf++,Gf[qf]=e.current,Kf[qf]=n,e.current=t}function ae(e){return e===null&&console.error(`Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.`),e}function oe(e,t){E(Xf,t,e),E(Yf,e,e),E(Jf,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?`#document`:`#fragment`,t=(t=t.documentElement)&&(t=t.namespaceURI)?Iu(t):HS;break;default:if(n=t.tagName,t=t.namespaceURI)t=Iu(t),t=Lu(t,n);else switch(n){case`svg`:t=US;break;case`math`:t=WS;break;default:t=HS}}n=n.toLowerCase(),n=zt(null,n),n={context:t,ancestorInfo:n},T(Jf,e),E(Jf,n,e)}function D(e){T(Jf,e),T(Yf,e),T(Xf,e)}function O(){return ae(Jf.current)}function se(e){e.memoizedState!==null&&E(Zf,e,e);var t=ae(Jf.current),n=e.type,r=Lu(t.context,n);n=zt(t.ancestorInfo,n),r={context:r,ancestorInfo:n},t!==r&&(E(Yf,e,e),E(Jf,r,e))}function ce(e){Yf.current===e&&(T(Jf,e),T(Yf,e)),Zf.current===e&&(T(Zf,e),yC._currentValue=vC)}function le(){}function ue(){if(Qf===0){$f=console.log,ep=console.info,tp=console.warn,np=console.error,rp=console.group,ip=console.groupCollapsed,ap=console.groupEnd;var e={configurable:!0,enumerable:!0,value:le,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Qf++}function k(){if(Qf--,Qf===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:U({},e,{value:$f}),info:U({},e,{value:ep}),warn:U({},e,{value:tp}),error:U({},e,{value:np}),group:U({},e,{value:rp}),groupCollapsed:U({},e,{value:ip}),groupEnd:U({},e,{value:ap})})}0>Qf&&console.error(`disabledDepth fell below zero. This is a bug in React. Please file an issue.`)}function A(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
15
15
  `)&&(e=e.slice(29)),t=e.indexOf(`
16
- `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
17
- `,t)),t!==-1)e=e.slice(0,t);else return"";return e}function ae(e){if(Es===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Es=t&&t[1]||"",p0=-1<a.stack.indexOf(`
18
- at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
19
- `+Es+e+p0}function Oe(e,t){if(!e||zh)return"";var a=g0.get(e);if(a!==void 0)return a;zh=!0,a=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var i=null;i=V.H,V.H=null,J();try{var o={DetermineComponentFrameRoot:function(){try{if(t){var x=function(){throw Error()};if(Object.defineProperty(x.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(x,[])}catch(oe){var G=oe}Reflect.construct(e,[],x)}else{try{x.call()}catch(oe){G=oe}e.call(x.prototype)}}else{try{throw Error()}catch(oe){G=oe}(x=e())&&typeof x.catch=="function"&&x.catch(function(){})}}catch(oe){if(oe&&G&&typeof oe.stack=="string")return[oe.stack,G.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=o.DetermineComponentFrameRoot(),h=d[0],p=d[1];if(h&&p){var g=h.split(`
20
- `),O=p.split(`
21
- `);for(d=s=0;s<g.length&&!g[s].includes("DetermineComponentFrameRoot");)s++;for(;d<O.length&&!O[d].includes("DetermineComponentFrameRoot");)d++;if(s===g.length||d===O.length)for(s=g.length-1,d=O.length-1;1<=s&&0<=d&&g[s]!==O[d];)d--;for(;1<=s&&0<=d;s--,d--)if(g[s]!==O[d]){if(s!==1||d!==1)do if(s--,d--,0>d||g[s]!==O[d]){var _=`
22
- `+g[s].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),typeof e=="function"&&g0.set(e,_),_}while(1<=s&&0<=d);break}}}finally{zh=!1,V.H=i,de(),Error.prepareStackTrace=a}return g=(g=e?e.displayName||e.name:"")?ae(g):"",typeof e=="function"&&g0.set(e,g),g}function yl(e,t){switch(e.tag){case 26:case 27:case 5:return ae(e.type);case 16:return ae("Lazy");case 13:return e.child!==t&&t!==null?ae("Suspense Fallback"):ae("Suspense");case 19:return ae("SuspenseList");case 0:case 15:return Oe(e.type,!1);case 11:return Oe(e.type.render,!1);case 1:return Oe(e.type,!0);case 31:return ae("Activity");default:return""}}function Ke(e){try{var t="",a=null;do{t+=yl(e,a);var i=e._debugInfo;if(i)for(var o=i.length-1;0<=o;o--){var s=i[o];if(typeof s.name=="string"){var d=t;e:{var h=s.name,p=s.env,g=s.debugLocation;if(g!=null){var O=ye(g),_=O.lastIndexOf(`
23
- `),x=_===-1?O:O.slice(_+1);if(x.indexOf(h)!==-1){var G=`
24
- `+x;break e}}G=ae(h+(p?" ["+p+"]":""))}t=d+G}}a=e,e=e.return}while(e);return t}catch(oe){return`
25
- Error generating stack: `+oe.message+`
26
- `+oe.stack}}function Se(e){return(e=e?e.displayName||e.name:"")?ae(e):""}function He(){if(_a===null)return null;var e=_a._debugOwner;return e!=null?Ce(e):null}function cl(){if(_a===null)return"";var e=_a;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=ae(e.type);break;case 13:t+=ae("Suspense");break;case 19:t+=ae("SuspenseList");break;case 31:t+=ae("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Se(e.type));break;case 11:e._debugOwner||t!==""||(t+=Se(e.type.render))}for(;e;)if(typeof e.tag=="number"){var a=e;e=a._debugOwner;var i=a._debugStack;if(e&&i){var o=ye(i);o!==""&&(t+=`
27
- `+o)}}else if(e.debugStack!=null){var s=e.debugStack;(e=e.owner)&&s&&(t+=`
28
- `+ye(s))}else break;var d=t}catch(h){d=`
29
- Error generating stack: `+h.message+`
30
- `+h.stack}return d}function ee(e,t,a,i,o,s,d){var h=_a;Ze(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,a,i,o,s,d)):t(a,i,o,s,d)}finally{Ze(h)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Ze(e){V.getCurrentStack=e===null?null:cl,Ou=!1,_a=e}function Ht(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function Ot(e){try{return cc(e),!1}catch{return!0}}function cc(e){return""+e}function Dt(e,t){if(Ot(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,Ht(e)),cc(e)}function ym(e,t){if(Ot(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,Ht(e)),cc(e)}function Vr(e){if(Ot(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Ht(e)),cc(e)}function pm(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{to=t.inject(e),El=t}catch(a){console.error("React instrumentation encountered an error: %o.",a)}return!!t.checkDCE}function Bt(e){if(typeof S0=="function"&&Xg(e),El&&typeof El.setStrictMode=="function")try{El.setStrictMode(to,e)}catch(t){Du||(Du=!0,console.error("React instrumentation encountered an error: %o",t))}}function gm(e){return e>>>=0,e===0?32:31-(T0(e)/jh|0)|0}function oc(e){var t=e&42;if(t!==0)return t;switch(e&-e){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function Xr(e,t,a){var i=e.pendingLanes;if(i===0)return 0;var o=0,s=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var h=i&134217727;return h!==0?(i=h&~s,i!==0?o=oc(i):(d&=h,d!==0?o=oc(d):a||(a=h&~e,a!==0&&(o=oc(a))))):(h=i&~s,h!==0?o=oc(h):d!==0?o=oc(d):a||(a=i&~e,a!==0&&(o=oc(a)))),o===0?0:t!==0&&t!==o&&(t&s)===0&&(s=o&-o,a=t&-t,s>=a||s===32&&(a&4194048)!==0)?t:o}function Xl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function kv(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Qr(){var e=zs;return zs<<=1,(zs&62914560)===0&&(zs=4194304),e}function Lr(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function bi(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Wv(e,t,a,i,o,s){var d=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var h=e.entanglements,p=e.expirationTimes,g=e.hiddenUpdates;for(a=d&~a;0<a;){var O=31-Zl(a),_=1<<O;h[O]=0,p[O]=-1;var x=g[O];if(x!==null)for(g[O]=null,O=0;O<x.length;O++){var G=x[O];G!==null&&(G.lane&=-536870913)}a&=~_}i!==0&&vm(e,i,0),s!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=s&~(d&~t))}function vm(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-Zl(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|a&261930}function bp(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var i=31-Zl(a),o=1<<i;o&t|e[i]&t&&(e[i]|=t),a&=~o}}function Sp(e,t){var a=t&-t;return a=(a&42)!==0?1:sc(a),(a&(e.suspendedLanes|t))!==0?0:a}function sc(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function xa(e,t,a){if(Cu)for(e=e.pendingUpdatersLaneMap;0<a;){var i=31-Zl(a),o=1<<i;e[i].add(t),a&=~o}}function Xu(e,t){if(Cu)for(var a=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;0<t;){var o=31-Zl(t);e=1<<o,o=a[o],0<o.size&&(o.forEach(function(s){var d=s.alternate;d!==null&&i.has(d)||i.add(s)}),o.clear()),t&=~e}}function na(e){return e&=-e,Al<e?Jl<e?(e&134217727)!==0?Pl:tc:Jl:Al}function Tp(){var e=St.p;return e!==0?e:(e=window.event,e===void 0?Pl:bh(e.type))}function xp(e,t){var a=St.p;try{return St.p=e,t()}finally{St.p=a}}function bm(e){delete e[$t],delete e[Sa],delete e[lo],delete e[d1],delete e[Qg]}function Qu(e){var t=e[$t];if(t)return t;for(var a=e.parentNode;a;){if(t=a[di]||a[$t]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=$c(e);e!==null;){if(a=e[$t])return a;e=$c(e)}return t}e=a,a=e.parentNode}return null}function Tn(e){if(e=e[$t]||e[di]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Si(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function ln(e){var t=e[mr];return t||(t=e[mr]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ol(e){e[Os]=!0}function xn(e,t){So(e,t),So(e+"Capture",t)}function So(e,t){Mu[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Mu[e]=t;var a=e.toLowerCase();for(Ds[a]=e,e==="onDoubleClick"&&(Ds.ondblclick=e),e=0;e<t.length;e++)Lg.add(t[e])}function fc(e,t){Zg[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Is(e){return Fa.call(Nh,e)?!0:Fa.call(x0,e)?!1:Cs.test(e)?Nh[e]=!0:(x0[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function To(e,t,a){if(Is(t)){if(!e.hasAttribute(t)){switch(typeof a){case"symbol":case"object":return a;case"function":return a;case"boolean":if(a===!1)return a}return a===void 0?void 0:null}return e=e.getAttribute(t),e===""&&a===!0?!0:(Dt(a,t),e===""+a?a:e)}}function Zr(e,t,a){if(Is(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}Dt(a,t),e.setAttribute(t,""+a)}}function Ps(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}Dt(a,t),e.setAttribute(t,""+a)}}function In(e,t,a,i){if(i===null)e.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}Dt(i,a),e.setAttributeNS(t,a,""+i)}}function Na(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Vr(e),e;default:return""}}function Jr(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Sm(e,t,a){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var o=i.get,s=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(d){Vr(d),a=""+d,s.call(this,d)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(d){Vr(d),a=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Kr(e){if(!e._valueTracker){var t=Jr(e)?"checked":"value";e._valueTracker=Sm(e,t,""+e[t])}}function Tm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),i="";return e&&(i=Jr(e)?e.checked?"true":"false":e.value),e=i,e!==a?(t.setValue(e),!0):!1}function En(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ct(e){return e.replace(Rh,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function ua(e,t){t.checked===void 0||t.defaultChecked===void 0||Jg||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",He()||"A component",t.type),Jg=!0),t.value===void 0||t.defaultValue===void 0||E0||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",He()||"A component",t.type),E0=!0)}function Ti(e,t,a,i,o,s,d,h){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?(Dt(d,"type"),e.type=d):e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Na(t)):e.value!==""+Na(t)&&(e.value=""+Na(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?xm(e,d,Na(t)):a!=null?xm(e,d,Na(a)):i!=null&&e.removeAttribute("value"),o==null&&s!=null&&(e.defaultChecked=!!s),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?(Dt(h,"name"),e.name=""+Na(h)):e.removeAttribute("name")}function $r(e,t,a,i,o,s,d,h){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(Dt(s,"type"),e.type=s),t!=null||a!=null){if(!(s!=="submit"&&s!=="reset"||t!=null)){Kr(e);return}a=a!=null?""+Na(a):"",t=t!=null?""+Na(t):a,h||t===e.value||(e.value=t),e.defaultValue=t}i=i??o,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=h?e.checked:!!i,e.defaultChecked=!!i,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(Dt(d,"name"),e.name=d),Kr(e)}function xm(e,t,a){t==="number"&&En(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Ep(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?or.Children.forEach(t.children,function(a){a==null||typeof a=="string"||typeof a=="number"||typeof a=="bigint"||l||(l=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||n||(n=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||yr||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),yr=!0)}function Em(){var e=He();return e?`
31
-
32
- Check the render method of \``+e+"`.":""}function Pn(e,t,a,i){if(e=e.options,t){t={};for(var o=0;o<a.length;o++)t["$"+a[o]]=!0;for(a=0;a<e.length;a++)o=t.hasOwnProperty("$"+e[a].value),e[a].selected!==o&&(e[a].selected=o),o&&i&&(e[a].defaultSelected=!0)}else{for(a=""+Na(a),t=null,o=0;o<e.length;o++){if(e[o].value===a){e[o].selected=!0,i&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Fr(e,t){for(e=0;e<c.length;e++){var a=c[e];if(t[a]!=null){var i=vl(t[a]);t.multiple&&!i?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,Em()):!t.multiple&&i&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,Em())}}t.value===void 0||t.defaultValue===void 0||u||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),u=!0)}function rc(e,t){t.value===void 0||t.defaultValue===void 0||f||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",He()||"A component"),f=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function dc(e,t,a){if(t!=null&&(t=""+Na(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+Na(a):""}function xo(e,t,a,i){if(t==null){if(i!=null){if(a!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(vl(i)){if(1<i.length)throw Error("<textarea> can only have at most one child.");i=i[0]}a=i}a==null&&(a=""),t=a}a=Na(t),e.defaultValue=a,i=e.textContent,i===a&&i!==""&&i!==null&&(e.value=i),Kr(e)}function hc(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?hc(e.children[0],t):e}function Tt(e){return" "+" ".repeat(e)}function mc(e){return"+ "+" ".repeat(e)}function xi(e){return"- "+" ".repeat(e)}function Ei(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function eu(e,t){return r.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function kr(e,t,a){var i=120-2*a;if(t===null)return mc(a)+eu(e,i)+`
33
- `;if(typeof t=="string"){for(var o=0;o<t.length&&o<e.length&&t.charCodeAt(o)===e.charCodeAt(o);o++);return o>i-8&&10<o&&(e="..."+e.slice(o-8),t="..."+t.slice(o-8)),mc(a)+eu(e,i)+`
34
- `+xi(a)+eu(t,i)+`
35
- `}return Tt(a)+eu(e,i)+`
36
- `}function Wr(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,a){return a})}function Eo(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(vl(e))return"[...]";if(e.$$typeof===yn)return(t=pe(e.type))?"<"+t+">":"<...>";var a=Wr(e);if(a==="Object"){a="",t-=2;for(var i in e)if(e.hasOwnProperty(i)){var o=JSON.stringify(i);if(o!=='"'+i+'"'&&(i=o),t-=i.length-2,o=Eo(e[i],15>t?t:15),t-=o.length,0>t){a+=a===""?"...":", ...";break}a+=(a===""?"":",")+i+":"+o}return"{"+a+"}"}return a;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function Ao(e,t){return typeof e!="string"||r.test(e)?"{"+Eo(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function zo(e,t,a){var i=120-a.length-e.length,o=[],s;for(s in t)if(t.hasOwnProperty(s)&&s!=="children"){var d=Ao(t[s],120-a.length-s.length-1);i-=s.length+d.length+2,o.push(s+"="+d)}return o.length===0?a+"<"+e+`>
37
- `:0<i?a+"<"+e+" "+o.join(" ")+`>
38
- `:a+"<"+e+`
39
- `+a+" "+o.join(`
40
- `+a+" ")+`
41
- `+a+`>
42
- `}function Ir(e,t,a){var i="",o=Ie({},t),s;for(s in e)if(e.hasOwnProperty(s)){delete o[s];var d=120-2*a-s.length-2,h=Eo(e[s],d);t.hasOwnProperty(s)?(d=Eo(t[s],d),i+=mc(a)+s+": "+h+`
43
- `,i+=xi(a)+s+": "+d+`
44
- `):i+=mc(a)+s+": "+h+`
45
- `}for(var p in o)o.hasOwnProperty(p)&&(e=Eo(o[p],120-2*a-p.length-2),i+=xi(a)+p+": "+e+`
46
- `);return i}function Lu(e,t,a,i){var o="",s=new Map;for(g in a)a.hasOwnProperty(g)&&s.set(g.toLowerCase(),g);if(s.size===1&&s.has("children"))o+=zo(e,t,Tt(i));else{for(var d in t)if(t.hasOwnProperty(d)&&d!=="children"){var h=120-2*(i+1)-d.length-1,p=s.get(d.toLowerCase());if(p!==void 0){s.delete(d.toLowerCase());var g=t[d];p=a[p];var O=Ao(g,h);h=Ao(p,h),typeof g=="object"&&g!==null&&typeof p=="object"&&p!==null&&Wr(g)==="Object"&&Wr(p)==="Object"&&(2<Object.keys(g).length||2<Object.keys(p).length||-1<O.indexOf("...")||-1<h.indexOf("..."))?o+=Tt(i+1)+d+`={{
47
- `+Ir(g,p,i+2)+Tt(i+1)+`}}
48
- `:(o+=mc(i+1)+d+"="+O+`
49
- `,o+=xi(i+1)+d+"="+h+`
50
- `)}else o+=Tt(i+1)+d+"="+Ao(t[d],h)+`
51
- `}s.forEach(function(_){if(_!=="children"){var x=120-2*(i+1)-_.length-1;o+=xi(i+1)+_+"="+Ao(a[_],x)+`
52
- `}}),o=o===""?Tt(i)+"<"+e+`>
53
- `:Tt(i)+"<"+e+`
54
- `+o+Tt(i)+`>
55
- `}return e=a.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(s="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(s=""+t),o+=kr(s,""+e,i+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(o=e==null?o+kr(""+t,null,i+1):o+kr(""+t,void 0,i+1)),o}function Ra(e,t){var a=Ei(e);if(a===null){for(a="",e=e.child;e;)a+=Ra(e,t),e=e.sibling;return a}return Tt(t)+"<"+a+`>
56
- `}function Pr(e,t){var a=hc(e,t);if(a!==e&&(e.children.length!==1||e.children[0]!==a))return Tt(t)+`...
57
- `+Pr(a,t+1);a="";var i=e.fiber._debugInfo;if(i)for(var o=0;o<i.length;o++){var s=i[o].name;typeof s=="string"&&(a+=Tt(t)+"<"+s+`>
58
- `,t++)}if(i="",o=e.fiber.pendingProps,e.fiber.tag===6)i=kr(o,e.serverProps,t),t++;else if(s=Ei(e.fiber),s!==null)if(e.serverProps===void 0){i=t;var d=120-2*i-s.length-2,h="";for(g in o)if(o.hasOwnProperty(g)&&g!=="children"){var p=Ao(o[g],15);if(d-=g.length+p.length+2,0>d){h+=" ...";break}h+=" "+g+"="+p}i=Tt(i)+"<"+s+h+`>
59
- `,t++}else e.serverProps===null?(i=zo(s,o,mc(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(i=Lu(s,o,e.serverProps,t),t++);var g="";for(o=e.fiber.child,s=0;o&&s<e.children.length;)d=e.children[s],d.fiber===o?(g+=Pr(d,t),s++):g+=Ra(o,t),o=o.sibling;for(o&&0<e.children.length&&(g+=Tt(t)+`...
60
- `),o=e.serverTail,e.serverProps===null&&t--,e=0;e<o.length;e++)s=o[e],g=typeof s=="string"?g+(xi(t)+eu(s,120-2*t)+`
61
- `):g+zo(s.type,s.props,xi(t));return a+i+g}function Am(e){try{return`
62
-
63
- `+Pr(e,0)}catch{return""}}function ed(e,t,a){for(var i=t,o=null,s=0;i;)i===e&&(s=0),o={fiber:i,children:o!==null?[o]:[],serverProps:i===t?a:i===e?null:void 0,serverTail:[],distanceFromLeaf:s},s++,i=i.return;return o!==null?Am(o).replaceAll(/^[+-]/gm,">"):""}function zm(e,t){var a=Ie({},e||$),i={tag:t};return v.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),A.indexOf(t)!==-1&&(a.pTagInButtonScope=null),y.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=i,t==="form"&&(a.formTag=i),t==="a"&&(a.aTagInScope=i),t==="button"&&(a.buttonTagInScope=i),t==="nobr"&&(a.nobrTagInScope=i),t==="p"&&(a.pTagInButtonScope=i),t==="li"&&(a.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=i),t==="#document"||t==="html"?a.containerTagInScope=null:a.containerTagInScope||(a.containerTagInScope=i),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?a.implicitRootScope===!0&&(a.implicitRootScope=!1):a.implicitRootScope=!0,a}function ef(e,t,a){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(a)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!a)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return B.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return a||t===null;case"html":return a&&t==="#document"||t===null;case"body":return a&&(t==="#document"||t==="html")||t===null}return!0}function Iv(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Ua(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function tf(e,t){t=t||$;var a=t.current;if(t=(a=ef(e,a&&a.tag,t.implicitRootScope)?null:a)?null:Iv(e,t),t=a||t,!t)return!0;var i=t.tag;if(t=String(!!a)+"|"+e+"|"+i,I[t])return!1;I[t]=!0;var o=(t=_a)?Ua(t.return,i):null,s=t!==null&&o!==null?ed(o,t,null):"",d="<"+e+">";return a?(a="",i==="table"&&e==="tr"&&(a+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
64
- This will cause a hydration error.%s`,d,i,a,s)):console.error(`In HTML, %s cannot be a descendant of <%s>.
65
- This will cause a hydration error.%s`,d,i,s),t&&(e=t.return,o===null||e===null||o===e&&e._debugOwner===t._debugOwner||ee(o,function(){console.error(`<%s> cannot contain a nested %s.
66
- See this log for the ancestor stack trace.`,i,d)})),!1}function lf(e,t,a){if(a||ef("#text",t,!1))return!0;if(a="#text|"+t,I[a])return!1;I[a]=!0;var i=(a=_a)?Ua(a,t):null;return a=a!==null&&i!==null?ed(i,a,a.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
67
- This will cause a hydration error.%s`,t,a):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
68
- This will cause a hydration error.%s`,t,a),!1}function yc(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}function Oo(e){return e.replace(R,function(t,a){return a.toUpperCase()})}function Om(e,t,a){var i=t.indexOf("--")===0;i||(-1<t.indexOf("-")?U.hasOwnProperty(t)&&U[t]||(U[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Oo(t.replace(Nt,"ms-")))):Ne.test(t)?U.hasOwnProperty(t)&&U[t]||(U[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!M.test(a)||W.hasOwnProperty(a)&&W[a]||(W[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,a.replace(M,""))),typeof a=="number"&&(isNaN(a)?Me||(Me=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(a)||mt||(mt=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),a==null||typeof a=="boolean"||a===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,a):typeof a!="number"||a===0||Ae.has(t)?t==="float"?e.cssFloat=a:(ym(a,t),e[t]=(""+a).trim()):e[t]=a+"px"}function Dm(e,t,a){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,a!=null){if(t){var i={};if(a){for(var o in a)if(a.hasOwnProperty(o)&&!t.hasOwnProperty(o))for(var s=Y[o]||[o],d=0;d<s.length;d++)i[s[d]]=o}for(var h in t)if(t.hasOwnProperty(h)&&(!a||a[h]!==t[h]))for(o=Y[h]||[h],s=0;s<o.length;s++)i[o[s]]=h;h={};for(var p in t)for(o=Y[p]||[p],s=0;s<o.length;s++)h[o[s]]=p;p={};for(var g in i)if(o=i[g],(s=h[g])&&o!==s&&(d=o+","+s,!p[d])){p[d]=!0,d=console;var O=t[o];d.error.call(d,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",O==null||typeof O=="boolean"||O===""?"Removing":"Updating",o,s)}}for(var _ in a)!a.hasOwnProperty(_)||t!=null&&t.hasOwnProperty(_)||(_.indexOf("--")===0?e.setProperty(_,""):_==="float"?e.cssFloat="":e[_]="");for(var x in t)g=t[x],t.hasOwnProperty(x)&&a[x]!==g&&Om(e,x,g)}else for(i in t)t.hasOwnProperty(i)&&Om(e,i,t[i])}function tu(e){if(e.indexOf("-")===-1)return!1;switch(e){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}}function Ap(e){return gt.get(e)||e}function zp(e,t){if(Fa.call(Uh,t)&&Uh[t])return!0;if(gE.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Kg.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Uh[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Uh[t]=!0}if(pE.test(t)){if(e=t.toLowerCase(),e=Kg.hasOwnProperty(e)?e:null,e==null)return Uh[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Uh[t]=!0)}return!0}function Op(e,t){var a=[],i;for(i in t)zp(e,i)||a.push(i);t=a.map(function(o){return"`"+o+"`"}).join(", "),a.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<a.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Cm(e,t,a,i){if(Fa.call(ka,t)&&ka[t])return!0;var o=t.toLowerCase();if(o==="onfocusin"||o==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ka[t]=!0;if(typeof a=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(i!=null){if(e=i.possibleRegistrationNames,i.registrationNameDependencies.hasOwnProperty(t))return!0;if(i=e.hasOwnProperty(o)?e[o]:null,i!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,i),ka[t]=!0;if(ES.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),ka[t]=!0}else if(ES.test(t))return vE.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),ka[t]=!0;if(bE.test(t)||SE.test(t))return!0;if(o==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ka[t]=!0;if(o==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ka[t]=!0;if(o==="is"&&a!==null&&a!==void 0&&typeof a!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),ka[t]=!0;if(typeof a=="number"&&isNaN(a))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),ka[t]=!0;if(Jn.hasOwnProperty(o)){if(o=Jn[o],o!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,o),ka[t]=!0}else if(t!==o)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,o),ka[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof a){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return o=t.toLowerCase().slice(0,5),o==="data-"||o==="aria-"?!0:(a?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',a,t,t,a,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',a,t,t,a,t,t,t),ka[t]=!0)}case"function":case"symbol":return ka[t]=!0,!1;case"string":if(a==="false"||a==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,t,a==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,a),ka[t]=!0}}return!0}function Pv(e,t,a){var i=[],o;for(o in t)Cm(e,o,t[o],a)||i.push(o);t=i.map(function(s){return"`"+s+"`"}).join(", "),i.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<i.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function af(e){return TE.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function an(){}function An(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function td(e){var t=Tn(e);if(t&&(e=t.stateNode)){var a=e[Sa]||null;e:switch(e=t.stateNode,t.type){case"input":if(Ti(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(Dt(t,"name"),a=a.querySelectorAll('input[name="'+Ct(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var i=a[t];if(i!==e&&i.form===e.form){var o=i[Sa]||null;if(!o)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Ti(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<a.length;t++)i=a[t],i.form===e.form&&Tm(i)}break e;case"textarea":dc(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Pn(e,!!a.multiple,t,!1)}}}function ld(e,t,a){if(h1)return e(t,a);h1=!0;try{var i=e(t);return i}finally{if(h1=!1,(Hh!==null||Bh!==null)&&(Ja(),Hh&&(t=Hh,e=Bh,Bh=Hh=null,td(t),e)))for(t=0;t<e.length;t++)td(e[t])}}function lu(e,t){var a=e.stateNode;if(a===null)return null;var i=a[Sa]||null;if(i===null)return null;a=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}function pc(){if($g)return $g;var e,t=y1,a=t.length,i,o="value"in Ms?Ms.value:Ms.textContent,s=o.length;for(e=0;e<a&&t[e]===o[e];e++);var d=a-e;for(i=1;i<=d&&t[a-i]===o[s-i];i++);return $g=o.slice(e,1<i?1-i:void 0)}function nf(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Do(){return!0}function Mm(){return!1}function Dl(e){function t(a,i,o,s,d){this._reactName=a,this._targetInst=o,this.type=i,this.nativeEvent=s,this.target=d,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&&(a=e[h],this[h]=a?a(s):s[h]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Do:Mm,this.isPropagationStopped=Mm,this}return Ie(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Do)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Do)},persist:function(){},isPersistent:Do}),t}function Zu(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=UE[e])?!!t[e]:!1}function uf(){return Zu}function Co(e,t){switch(e){case"keyup":return JE.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==DS;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ju(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function _m(e,t){switch(e){case"compositionend":return Ju(t);case"keypress":return t.which!==MS?null:(jS=!0,_S);case"textInput":return e=t.data,e===_S&&jS?null:e;default:return null}}function ad(e,t){if(qh)return e==="compositionend"||!b1&&Co(e,t)?(e=pc(),$g=y1=Ms=null,qh=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return CS&&t.locale!=="ko"?null:t.data;default:return null}}function jm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!$E[e.type]:t==="textarea"}function nd(e){if(!lc)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function cf(e,t,a,i){Hh?Bh?Bh.push(i):Bh=[i]:Hh=i,t=Vn(t,"onChange"),0<t.length&&(a=new Fg("onChange","change",null,a,i),e.push({event:a,listeners:t}))}function Dp(e){At(e,0)}function Ql(e){var t=Si(e);if(Tm(t))return e}function Ai(e,t){if(e==="change")return t}function of(){M0&&(M0.detachEvent("onpropertychange",Mo),_0=M0=null)}function Mo(e){if(e.propertyName==="value"&&Ql(_0)){var t=[];cf(t,_0,e,An(e)),ld(Dp,t)}}function e1(e,t,a){e==="focusin"?(of(),M0=t,_0=a,M0.attachEvent("onpropertychange",Mo)):e==="focusout"&&of()}function Nm(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ql(_0)}function Rm(e,t){if(e==="click")return Ql(t)}function sf(e,t){if(e==="input"||e==="change")return Ql(t)}function ud(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function _o(e,t){if(Wa(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(i=0;i<a.length;i++){var o=a[i];if(!Fa.call(t,o)||!Wa(e[o],t[o]))return!1}return!0}function Cp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Mp(e,t){var a=Cp(e);e=0;for(var i;a;){if(a.nodeType===3){if(i=e+a.textContent.length,e<=t&&i>=t)return{node:a,offset:t-e};e=i}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Cp(a)}}function _p(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_p(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function id(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=En(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=En(e.document)}return t}function Um(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function jp(e,t,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;T1||Yh==null||Yh!==En(i)||(i=Yh,"selectionStart"in i&&Um(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),j0&&_o(j0,i)||(j0=i,i=Vn(S1,"onSelect"),0<i.length&&(t=new Fg("onSelect","select",null,t,a),e.push({event:t,listeners:i}),t.target=Yh)))}function gc(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}function vc(e){if(x1[e])return x1[e];if(!Gh[e])return e;var t=Gh[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in RS)return x1[e]=t[a];return e}function zn(e,t){YS.set(e,t),xn(t,[e])}function Np(e){for(var t=Wg,a=0;a<e.length;a++){var i=e[a];if(typeof i=="object"&&i!==null)if(vl(i)&&i.length===2&&typeof i[0]=="string"){if(t!==Wg&&t!==D1)return z1;t=D1}else return z1;else{if(typeof i=="function"||typeof i=="string"&&50<i.length||t!==Wg&&t!==O1)return z1;t=O1}}return t}function Hm(e,t,a,i){for(var o in e)Fa.call(e,o)&&o[0]!=="_"&&au(o,e[o],t,a,i)}function au(e,t,a,i,o){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===yn){var s=pe(t.type)||"…",d=t.key;t=t.props;var h=Object.keys(t),p=h.length;if(d==null&&p===0){t="<"+s+" />";break}if(3>i||p===1&&h[0]==="children"&&d==null){t="<"+s+" … />";break}a.push([o+"  ".repeat(i)+e,"<"+s]),d!==null&&au("key",d,a,i+1,o),e=!1;for(var g in t)g==="children"?t.children!=null&&(!vl(t.children)||0<t.children.length)&&(e=!0):Fa.call(t,g)&&g[0]!=="_"&&au(g,t[g],a,i+1,o);a.push(["",e?">…</"+s+">":"/>"]);return}if(s=Object.prototype.toString.call(t),s=s.slice(8,s.length-1),s==="Array"){if(g=Np(t),g===O1||g===Wg){t=JSON.stringify(t);break}else if(g===D1){for(a.push([o+"  ".repeat(i)+e,""]),e=0;e<t.length;e++)s=t[e],au(s[0],s[1],a,i+1,o);return}}if(s==="Promise"){if(t.status==="fulfilled"){if(s=a.length,au(e,t.value,a,i,o),a.length>s){a=a[s],a[1]="Promise<"+(a[1]||"Object")+">";return}}else if(t.status==="rejected"&&(s=a.length,au(e,t.reason,a,i,o),a.length>s)){a=a[s],a[1]="Rejected Promise<"+a[1]+">";return}a.push(["  ".repeat(i)+e,"Promise"]);return}s==="Object"&&(g=Object.getPrototypeOf(t))&&typeof g.constructor=="function"&&(s=g.constructor.name),a.push([o+"  ".repeat(i)+e,s==="Object"?3>i?"":"…":s]),3>i&&Hm(t,a,i+1,o);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===tA?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}a.push([o+"  ".repeat(i)+e,t])}function Rp(e,t,a,i){var o=!0;for(d in e)d in t||(a.push([Ig+"  ".repeat(i)+d,"…"]),o=!1);for(var s in t)if(s in e){var d=e[s],h=t[s];if(d!==h){if(i===0&&s==="children")o="  ".repeat(i)+s,a.push([Ig+o,"…"],[Pg+o,"…"]);else{if(!(3<=i)){if(typeof d=="object"&&typeof h=="object"&&d!==null&&h!==null&&d.$$typeof===h.$$typeof)if(h.$$typeof===yn){if(d.type===h.type&&d.key===h.key){d=pe(h.type)||"…",o="  ".repeat(i)+s,d="<"+d+" … />",a.push([Ig+o,d],[Pg+o,d]),o=!1;continue}}else{var p=Object.prototype.toString.call(d),g=Object.prototype.toString.call(h);if(p===g&&(g==="[object Object]"||g==="[object Array]")){p=[VS+"  ".repeat(i)+s,g==="[object Array]"?"Array":""],a.push(p),g=a.length,Rp(d,h,a,i+1)?g===a.length&&(p[1]="Referentially unequal but deeply equal objects. Consider memoization."):o=!1;continue}}else if(typeof d=="function"&&typeof h=="function"&&d.name===h.name&&d.length===h.length&&(p=Function.prototype.toString.call(d),g=Function.prototype.toString.call(h),p===g)){d=h.name===""?"() => {}":h.name+"() {}",a.push([VS+"  ".repeat(i)+s,d+" Referentially unequal function closure. Consider memoization."]);continue}}au(s,d,a,i,Ig),au(s,h,a,i,Pg)}o=!1}}else a.push([Pg+"  ".repeat(i)+s,"…"]),o=!1;return o}function On(e){ht=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function nn(e,t,a,i){Ft&&(js.start=t,js.end=a,ao.color="warning",ao.tooltipText=i,ao.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,i,js)):performance.measure(i,js))}function cd(e,t,a){nn(e,t,a,"Reconnect")}function od(e,t,a,i,o){var s=ce(e);if(s!==null&&Ft){var d=e.alternate,h=e.actualDuration;if(d===null||d.child!==e.child)for(var p=e.child;p!==null;p=p.sibling)h-=p.actualDuration;i=.5>h?i?"tertiary-light":"primary-light":10>h?i?"tertiary":"primary":100>h?i?"tertiary-dark":"primary-dark":"error";var g=e.memoizedProps;h=e._debugTask,g!==null&&d!==null&&d.memoizedProps!==g?(p=[lA],g=Rp(d.memoizedProps,g,p,0),1<p.length&&(g&&!_s&&(d.lanes&o)===0&&100<e.actualDuration?(_s=!0,p[0]=aA,ao.color="warning",ao.tooltipText=XS):(ao.color=i,ao.tooltipText=s),ao.properties=p,js.start=t,js.end=a,h!=null?h.run(performance.measure.bind(performance,"​"+s,js)):performance.measure("​"+s,js))):h!=null?h.run(console.timeStamp.bind(console,s,t,a,_u,void 0,i)):console.timeStamp(s,t,a,_u,void 0,i)}}function Bm(e,t,a,i){if(Ft){var o=ce(e);if(o!==null){for(var s=null,d=[],h=0;h<i.length;h++){var p=i[h];s==null&&p.source!==null&&(s=p.source._debugTask),p=p.value,d.push(["Error",typeof p=="object"&&p!==null&&typeof p.message=="string"?String(p.message):String(p)])}e.key!==null&&au("key",e.key,d,0,""),e.memoizedProps!==null&&Hm(e.memoizedProps,d,0,""),s==null&&(s=e._debugTask),e={start:t,end:a,detail:{devtools:{color:"error",track:_u,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:d}}},s?s.run(performance.measure.bind(performance,"​"+o,e)):performance.measure("​"+o,e)}}}function Dn(e,t,a,i,o){if(o!==null){if(Ft){var s=ce(e);if(s!==null){i=[];for(var d=0;d<o.length;d++){var h=o[d].value;i.push(["Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}e.key!==null&&au("key",e.key,i,0,""),e.memoizedProps!==null&&Hm(e.memoizedProps,i,0,""),t={start:t,end:a,detail:{devtools:{color:"error",track:_u,tooltipText:"A lifecycle or effect errored",properties:i}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,"​"+s,t)):performance.measure("​"+s,t)}}}else s=ce(e),s!==null&&Ft&&(o=1>i?"secondary-light":100>i?"secondary":500>i?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,s,t,a,_u,void 0,o)):console.timeStamp(s,t,a,_u,void 0,o))}function t1(e,t,a,i){if(Ft&&!(t<=e)){var o=(a&738197653)===a?"tertiary-dark":"primary-dark";a=(a&536870912)===a?"Prepared":(a&201326741)===a?"Hydrated":"Render",i?i.run(console.timeStamp.bind(console,a,e,t,ht,rt,o)):console.timeStamp(a,e,t,ht,rt,o)}}function Up(e,t,a,i){!Ft||t<=e||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",i?i.run(console.timeStamp.bind(console,"Prewarm",e,t,ht,rt,a)):console.timeStamp("Prewarm",e,t,ht,rt,a))}function Hp(e,t,a,i){!Ft||t<=e||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",i?i.run(console.timeStamp.bind(console,"Suspended",e,t,ht,rt,a)):console.timeStamp("Suspended",e,t,ht,rt,a))}function l1(e,t,a,i,o,s){if(Ft&&!(t<=e)){a=[];for(var d=0;d<i.length;d++){var h=i[d].value;a.push(["Recoverable Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:ht,trackGroup:rt,tooltipText:o?"Hydration Failed":"Recovered after Error",properties:a}}},s?s.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function qm(e,t,a,i){!Ft||t<=e||(i?i.run(console.timeStamp.bind(console,"Errored",e,t,ht,rt,"error")):console.timeStamp("Errored",e,t,ht,rt,"error"))}function a1(e,t,a,i){!Ft||t<=e||(i?i.run(console.timeStamp.bind(console,a,e,t,ht,rt,"secondary-light")):console.timeStamp(a,e,t,ht,rt,"secondary-light"))}function Bp(e,t,a,i,o){if(Ft&&!(t<=e)){for(var s=[],d=0;d<a.length;d++){var h=a[d].value;s.push(["Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}e={start:e,end:t,detail:{devtools:{color:"error",track:ht,trackGroup:rt,tooltipText:i?"Remaining Effects Errored":"Commit Errored",properties:s}}},o?o.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function Ym(e,t,a){!Ft||t<=e||console.timeStamp("Animating",e,t,ht,rt,"secondary-dark")}function sd(){for(var e=wh,t=C1=wh=0;t<e;){var a=ju[t];ju[t++]=null;var i=ju[t];ju[t++]=null;var o=ju[t];ju[t++]=null;var s=ju[t];if(ju[t++]=null,i!==null&&o!==null){var d=i.pending;d===null?o.next=o:(o.next=d.next,d.next=o),i.pending=o}s!==0&&Gm(a,o,s)}}function jo(e,t,a,i){ju[wh++]=e,ju[wh++]=t,ju[wh++]=a,ju[wh++]=i,C1|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function bc(e,t,a,i){return jo(e,t,a,i),ff(e)}function Fl(e,t){return jo(e,null,null,t),ff(e)}function Gm(e,t,a){e.lanes|=a;var i=e.alternate;i!==null&&(i.lanes|=a);for(var o=!1,s=e.return;s!==null;)s.childLanes|=a,i=s.alternate,i!==null&&(i.childLanes|=a),s.tag===22&&(e=s.stateNode,e===null||e._visibility&N0||(o=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,o&&t!==null&&(o=31-Zl(a),e=s.hiddenUpdates,i=e[o],i===null?e[o]=[t]:i.push(t),t.lane=a|536870912),s):null}function ff(e){if(up>bA)throw Nr=up=0,ip=cb=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Nr>SA&&(Nr=0,ip=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&mn(e);for(var t=e,a=t.return;a!==null;)t.alternate===null&&(t.flags&4098)!==0&&mn(e),t=a,a=t.return;return t.tag===3?t.stateNode:null}function zi(e){if(Nu===null)return e;var t=Nu(e);return t===void 0?e:t.current}function fd(e){if(Nu===null)return e;var t=Nu(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=zi(e.render),e.render!==t)?(t={$$typeof:vs,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function wm(e,t){if(Nu===null)return!1;var a=e.elementType;t=t.type;var i=!1,o=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(i=!0);break;case 0:(typeof t=="function"||o===Il)&&(i=!0);break;case 11:(o===vs||o===Il)&&(i=!0);break;case 14:case 15:(o===fr||o===Il)&&(i=!0);break;default:return!1}return!!(i&&(e=Nu(a),e!==void 0&&e===Nu(t)))}function Sc(e){Nu!==null&&typeof WeakSet=="function"&&(Vh===null&&(Vh=new WeakSet),Vh.add(e))}function qp(e,t,a){do{var i=e,o=i.alternate,s=i.child,d=i.sibling,h=i.tag;i=i.type;var p=null;switch(h){case 0:case 15:case 1:p=i;break;case 11:p=i.render}if(Nu===null)throw Error("Expected resolveFamily to be set during hot reload.");var g=!1;if(i=!1,p!==null&&(p=Nu(p),p!==void 0&&(a.has(p)?i=!0:t.has(p)&&(h===1?i=!0:g=!0))),Vh!==null&&(Vh.has(e)||o!==null&&Vh.has(o))&&(i=!0),i&&(e._debugNeedsRemount=!0),(i||g)&&(o=Fl(e,2),o!==null&&Ye(o,e,2)),s===null||i||qp(s,t,a),d===null)break;e=d}while(!0)}function n1(e,t,a,i){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,QS||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Vm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function nu(e,t){var a=e.alternate;switch(a===null?(a=Z(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugOwner=e._debugOwner,a._debugStack=e._debugStack,a._debugTask=e._debugTask,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null,a.actualDuration=-0,a.actualStartTime=-1.1),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugInfo=e._debugInfo,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case 0:case 15:a.type=zi(e.type);break;case 1:a.type=zi(e.type);break;case 11:a.type=fd(e.type)}return a}function Xm(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration),e}function Tc(e,t,a,i,o,s){var d=0,h=e;if(typeof e=="function")Vm(e)&&(d=1),h=zi(h);else if(typeof e=="string")d=K(),d=Ng(e,a,d)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Zn:return t=Z(31,a,t,o),t.elementType=Zn,t.lanes=s,t;case gs:return xc(a.children,o,s,t);case ba:d=8,o|=ja,o|=hi;break;case sr:return e=a,i=o,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=Z(12,e,t,i|Pe),t.elementType=sr,t.lanes=s,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Ic:return t=Z(13,a,t,o),t.elementType=Ic,t.lanes=s,t;case Ma:return t=Z(19,a,t,o),t.elementType=Ma,t.lanes=s,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ln:d=10;break e;case xh:d=9;break e;case vs:d=11,h=fd(h);break e;case fr:d=14;break e;case Il:d=16,h=null;break e}h="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(h+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?a="null":vl(e)?a="array":e!==void 0&&e.$$typeof===yn?(a="<"+(pe(e.type)||"Unknown")+" />",h=" Did you accidentally export a JSX literal instead of a component?"):a=typeof e,(d=i?Ce(i):null)&&(h+=`
69
-
70
- Check the render method of \``+d+"`."),d=29,a=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(a+"."+h)),h=null}return t=Z(d,a,t,o),t.elementType=e,t.type=h,t.lanes=s,t._debugOwner=i,t}function Oi(e,t,a){return t=Tc(e.type,e.key,e.props,e._owner,t,a),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function xc(e,t,a,i){return e=Z(7,e,i,t),e.lanes=a,e}function No(e,t,a){return e=Z(6,e,null,t),e.lanes=a,e}function Qm(e){var t=Z(18,null,null,qe);return t.stateNode=e,t}function rd(e,t,a){return t=Z(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ia(e,t){if(typeof e=="object"&&e!==null){var a=M1.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Ke(t)},M1.set(e,t),t)}return{value:e,source:t,stack:Ke(t)}}function Cn(e,t){Di(),Xh[Qh++]=R0,Xh[Qh++]=ev,ev=e,R0=t}function Lm(e,t,a){Di(),Ru[Uu++]=uo,Ru[Uu++]=io,Ru[Uu++]=gr,gr=e;var i=uo;e=io;var o=32-Zl(i)-1;i&=~(1<<o),a+=1;var s=32-Zl(t)+o;if(30<s){var d=o-o%5;s=(i&(1<<d)-1).toString(32),i>>=d,o-=d,uo=1<<32-Zl(t)+o|a<<o|i,io=s+e}else uo=1<<s|a<<o|i,io=e}function dd(e){Di(),e.return!==null&&(Cn(e,1),Lm(e,1,0))}function hd(e){for(;e===ev;)ev=Xh[--Qh],Xh[Qh]=null,R0=Xh[--Qh],Xh[Qh]=null;for(;e===gr;)gr=Ru[--Uu],Ru[Uu]=null,io=Ru[--Uu],Ru[Uu]=null,uo=Ru[--Uu],Ru[Uu]=null}function Yp(){return Di(),gr!==null?{id:uo,overflow:io}:null}function Gp(e,t){Di(),Ru[Uu++]=uo,Ru[Uu++]=io,Ru[Uu++]=gr,uo=t.id,io=t.overflow,gr=e}function Di(){st||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Ec(e,t){if(e.return===null){if(Kn===null)Kn={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(Kn.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Kn.distanceFromLeaf>t&&(Kn.distanceFromLeaf=t)}return Kn}var a=Ec(e.return,t+1).children;return 0<a.length&&a[a.length-1].fiber===e?(a=a[a.length-1],a.distanceFromLeaf>t&&(a.distanceFromLeaf=t),a):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},a.push(t),t)}function wp(){st&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function kl(e,t){ac||(e=Ec(e,0),e.serverProps=null,t!==null&&(t=Cg(t),e.serverTail.push(t)))}function un(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,a="",i=Kn;throw i!==null&&(Kn=null,a=Am(i)),df(ia(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
16
+ `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf(`react_stack_bottom_frame`),t!==-1&&(t=e.lastIndexOf(`
17
+ `,t)),t!==-1)e=e.slice(0,t);else return``;return e}function de(e){if(op===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);op=t&&t[1]||``,sp=-1<e.stack.indexOf(`
18
+ at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
19
+ `+op+e+sp}function fe(e,t){if(!e||cp)return``;var n=lp.get(e);if(n!==void 0)return n;cp=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var r=null;r=W.H,W.H=null,ue();try{var i={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var a=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,`name`);a&&a.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var o=i.DetermineComponentFrameRoot(),s=o[0],c=o[1];if(s&&c){var l=s.split(`
20
+ `),u=c.split(`
21
+ `);for(o=a=0;a<l.length&&!l[a].includes(`DetermineComponentFrameRoot`);)a++;for(;o<u.length&&!u[o].includes(`DetermineComponentFrameRoot`);)o++;if(a===l.length||o===u.length)for(a=l.length-1,o=u.length-1;1<=a&&0<=o&&l[a]!==u[o];)o--;for(;1<=a&&0<=o;a--,o--)if(l[a]!==u[o]){if(a!==1||o!==1)do if(a--,o--,0>o||l[a]!==u[o]){var d=`
22
+ `+l[a].replace(` at new `,` at `);return e.displayName&&d.includes(`<anonymous>`)&&(d=d.replace(`<anonymous>`,e.displayName)),typeof e==`function`&&lp.set(e,d),d}while(1<=a&&0<=o);break}}}finally{cp=!1,W.H=r,k(),Error.prepareStackTrace=n}return l=(l=e?e.displayName||e.name:``)?de(l):``,typeof e==`function`&&lp.set(e,l),l}function pe(e,t){switch(e.tag){case 26:case 27:case 5:return de(e.type);case 16:return de(`Lazy`);case 13:return e.child!==t&&t!==null?de(`Suspense Fallback`):de(`Suspense`);case 19:return de(`SuspenseList`);case 0:case 15:return fe(e.type,!1);case 11:return fe(e.type.render,!1);case 1:return fe(e.type,!0);case 31:return de(`Activity`);default:return``}}function j(e){try{var t=``,n=null;do{t+=pe(e,n);var r=e._debugInfo;if(r)for(var i=r.length-1;0<=i;i--){var a=r[i];if(typeof a.name==`string`){var o=t;a:{var s=a.name,c=a.env,l=a.debugLocation;if(l!=null){var u=A(l),d=u.lastIndexOf(`
23
+ `),f=d===-1?u:u.slice(d+1);if(f.indexOf(s)!==-1){var p=`
24
+ `+f;break a}}p=de(s+(c?` [`+c+`]`:``))}t=o+p}}n=e,e=e.return}while(e);return t}catch(e){return`
25
+ Error generating stack: `+e.message+`
26
+ `+e.stack}}function me(e){return(e=e?e.displayName||e.name:``)?de(e):``}function he(){if(up===null)return null;var e=up._debugOwner;return e==null?null:ne(e)}function ge(){if(up===null)return``;var e=up;try{var t=``;switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=de(e.type);break;case 13:t+=de(`Suspense`);break;case 19:t+=de(`SuspenseList`);break;case 31:t+=de(`Activity`);break;case 30:case 0:case 15:case 1:e._debugOwner||t!==``||(t+=me(e.type));break;case 11:e._debugOwner||t!==``||(t+=me(e.type.render))}for(;e;)if(typeof e.tag==`number`){var n=e;e=n._debugOwner;var r=n._debugStack;if(e&&r){var i=A(r);i!==``&&(t+=`
27
+ `+i)}}else if(e.debugStack!=null){var a=e.debugStack;(e=e.owner)&&a&&(t+=`
28
+ `+A(a))}else break;var o=t}catch(e){o=`
29
+ Error generating stack: `+e.message+`
30
+ `+e.stack}return o}function M(e,t,n,r,i,a,o){var s=up;_e(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,r,i,a,o)):t(n,r,i,a,o)}finally{_e(s)}throw Error(`runWithFiberInDEV should never be called in production. This is a bug in React.`)}function _e(e){W.getCurrentStack=e===null?null:ge,dp=!1,up=e}function ve(e){return typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`}function ye(e){try{return be(e),!1}catch{return!0}}function be(e){return``+e}function xe(e,t){if(ye(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,ve(e)),be(e)}function Se(e,t){if(ye(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,ve(e)),be(e)}function Ce(e){if(ye(e))return console.error(`Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.`,ve(e)),be(e)}function we(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error(`The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools`),!0;try{Ep=t.inject(e),Dp=t}catch(e){console.error(`React instrumentation encountered an error: %o.`,e)}return!!t.checkDCE}function Te(e){if(typeof wp==`function`&&Tp(e),Dp&&typeof Dp.setStrictMode==`function`)try{Dp.setStrictMode(Ep,e)}catch(e){Op||(Op=!0,console.error(`React instrumentation encountered an error: %o`,e))}}function Ee(e){return e>>>=0,e===0?32:31-(jp(e)/Mp|0)|0}function De(e){var t=e&42;if(t!==0)return t;switch(e&-e){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error(`Should have found matching lanes. This is a bug in React.`),e}}function Oe(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=De(n))):i=De(o):i=De(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=De(n))):i=De(o)):i=De(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function ke(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ae(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error(`Should have found matching lanes. This is a bug in React.`),-1}}function je(){var e=Fp;return Fp<<=1,!(Fp&62914560)&&(Fp=4194304),e}function Me(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ne(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Pe(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Ap(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&Fe(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function Fe(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ap(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function Ie(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ap(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Le(e,t){var n=t&-t;return n=n&42?1:Re(n),(n&(e.suspendedLanes|t))===0?n:0}function Re(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ze(e,t,n){if(kp)for(e=e.pendingUpdatersLaneMap;0<n;){var r=31-Ap(n),i=1<<r;e[r].add(t),n&=~i}}function Be(e,t){if(kp)for(var n=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;0<t;){var i=31-Ap(t);e=1<<i,i=n[i],0<i.size&&(i.forEach(function(e){var t=e.alternate;t!==null&&r.has(t)||r.add(e)}),i.clear()),t&=~e}}function Ve(e){return e&=-e,Ip!==0&&Ip<e?Lp!==0&&Lp<e?e&134217727?Rp:zp:Lp:Ip}function He(){var e=Uf.p;return e===0?(e=window.event,e===void 0?Rp:sf(e.type)):e}function Ue(e,t){var n=Uf.p;try{return Uf.p=e,t()}finally{Uf.p=n}}function We(e){delete e[Vp],delete e[Hp],delete e[Wp],delete e[Gp],delete e[Kp]}function Ge(e){var t=e[Vp];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Up]||n[Vp]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=_d(e);e!==null;){if(n=e[Vp])return n;e=_d(e)}return t}e=n,n=e.parentNode}return null}function Ke(e){if(e=e[Vp]||e[Up]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function qe(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(`getNodeFromInstance: Invalid argument.`)}function Je(e){var t=e[qp];return t||=e[qp]={hoistableStyles:new Map,hoistableScripts:new Map},t}function Ye(e){e[Jp]=!0}function Xe(e,t){Ze(e,t),Ze(e+`Capture`,t)}function Ze(e,t){Xp[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Xp[e]=t;var n=e.toLowerCase();for(Zp[n]=e,e===`onDoubleClick`&&(Zp.ondblclick=e),e=0;e<t.length;e++)Yp.add(t[e])}function Qe(e,t){Qp[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e===`select`?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function $e(e){return fp.call(tm,e)?!0:fp.call(em,e)?!1:$p.test(e)?tm[e]=!0:(em[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function et(e,t,n){if($e(t)){if(!e.hasAttribute(t)){switch(typeof n){case`symbol`:case`object`:return n;case`function`:return n;case`boolean`:if(!1===n)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===``&&!0===n?!0:(xe(n,t),e===``+n?n:e)}}function tt(e,t,n){if($e(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}xe(n,t),e.setAttribute(t,``+n)}}function nt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}xe(n,t),e.setAttribute(t,``+n)}}function rt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}xe(r,n),e.setAttributeNS(t,n,``+r)}}function it(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return Ce(e),e;default:return``}}function at(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function ot(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){Ce(e),n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){Ce(e),n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function st(e){if(!e._valueTracker){var t=at(e)?`checked`:`value`;e._valueTracker=ot(e,t,``+e[t])}}function ct(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=at(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function lt(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function ut(e){return e.replace(nm,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function dt(e,t){t.checked===void 0||t.defaultChecked===void 0||im||(console.error(`%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components`,he()||`A component`,t.type),im=!0),t.value===void 0||t.defaultValue===void 0||rm||(console.error(`%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components`,he()||`A component`,t.type),rm=!0)}function ft(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?(xe(o,`type`),e.type=o):e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+it(t)):e.value!==``+it(t)&&(e.value=``+it(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):mt(e,o,it(n)):mt(e,o,it(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?(xe(s,`name`),e.name=``+it(s)):e.removeAttribute(`name`)}function pt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(xe(a,`type`),e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){st(e);return}n=n==null?``:``+it(n),t=t==null?n:``+it(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(xe(o,`name`),e.name=o),st(e)}function mt(e,t,n){t===`number`&&lt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function ht(e,t){t.value??(typeof t.children==`object`&&t.children!==null?Cf.Children.forEach(t.children,function(e){e==null||typeof e==`string`||typeof e==`number`||typeof e==`bigint`||om||(om=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||sm||(sm=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||am||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),am=!0)}function gt(){var e=he();return e?`
31
+
32
+ Check the render method of \``+e+"`.":``}function _t(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+it(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function vt(e,t){for(e=0;e<lm.length;e++){var n=lm[e];if(t[n]!=null){var r=Hf(t[n]);t.multiple&&!r?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,gt()):!t.multiple&&r&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,gt())}}t.value===void 0||t.defaultValue===void 0||cm||(console.error(`Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components`),cm=!0)}function yt(e,t){t.value===void 0||t.defaultValue===void 0||um||(console.error(`%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components`,he()||`A component`),um=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function bt(e,t,n){if(t!=null&&(t=``+it(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+it(n)}function xt(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Hf(r)){if(1<r.length)throw Error(`<textarea> can only have at most one child.`);r=r[0]}n=r}n??=``,t=n}n=it(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),st(e)}function St(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?St(e.children[0],t):e}function Ct(e){return` `+` `.repeat(e)}function wt(e){return`+ `+` `.repeat(e)}function Tt(e){return`- `+` `.repeat(e)}function Et(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return`Lazy`;case 31:return`Activity`;case 13:return`Suspense`;case 19:return`SuspenseList`;case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Dt(e,t){return dm.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?`{"..."}`:`{`+e.slice(0,t-7)+`..."}`:`{`+e+`}`):e.length>t?5>t?`{"..."}`:e.slice(0,t-3)+`...`:e}function Ot(e,t,n){var r=120-2*n;if(t===null)return wt(n)+Dt(e,r)+`
33
+ `;if(typeof t==`string`){for(var i=0;i<t.length&&i<e.length&&t.charCodeAt(i)===e.charCodeAt(i);i++);return i>r-8&&10<i&&(e=`...`+e.slice(i-8),t=`...`+t.slice(i-8)),wt(n)+Dt(e,r)+`
34
+ `+Tt(n)+Dt(t,r)+`
35
+ `}return Ct(n)+Dt(e,r)+`
36
+ `}function kt(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(e,t){return t})}function At(e,t){switch(typeof e){case`string`:return e=JSON.stringify(e),e.length>t?5>t?`"..."`:e.slice(0,t-4)+`..."`:e;case`object`:if(e===null)return`null`;if(Hf(e))return`[...]`;if(e.$$typeof===Ef)return(t=C(e.type))?`<`+t+`>`:`<...>`;var n=kt(e);if(n===`Object`){for(var r in n=``,t-=2,e)if(e.hasOwnProperty(r)){var i=JSON.stringify(r);if(i!==`"`+r+`"`&&(r=i),t-=r.length-2,i=At(e[r],15>t?t:15),t-=i.length,0>t){n+=n===``?`...`:`, ...`;break}n+=(n===``?``:`,`)+r+`:`+i}return`{`+n+`}`}return n;case`function`:return(t=e.displayName||e.name)?`function `+t:`function`;default:return String(e)}}function jt(e,t){return typeof e!=`string`||dm.test(e)?`{`+At(e,t-2)+`}`:e.length>t-2?5>t?`"..."`:`"`+e.slice(0,t-5)+`..."`:`"`+e+`"`}function Mt(e,t,n){var r=120-n.length-e.length,i=[],a;for(a in t)if(t.hasOwnProperty(a)&&a!==`children`){var o=jt(t[a],120-n.length-a.length-1);r-=a.length+o.length+2,i.push(a+`=`+o)}return i.length===0?n+`<`+e+`>
37
+ `:0<r?n+`<`+e+` `+i.join(` `)+`>
38
+ `:n+`<`+e+`
39
+ `+n+` `+i.join(`
40
+ `+n+` `)+`
41
+ `+n+`>
42
+ `}function Nt(e,t,n){var r=``,i=U({},t),a;for(a in e)if(e.hasOwnProperty(a)){delete i[a];var o=120-2*n-a.length-2,s=At(e[a],o);t.hasOwnProperty(a)?(o=At(t[a],o),r+=wt(n)+a+`: `+s+`
43
+ `,r+=Tt(n)+a+`: `+o+`
44
+ `):r+=wt(n)+a+`: `+s+`
45
+ `}for(var c in i)i.hasOwnProperty(c)&&(e=At(i[c],120-2*n-c.length-2),r+=Tt(n)+c+`: `+e+`
46
+ `);return r}function Pt(e,t,n,r){var i=``,a=new Map;for(l in n)n.hasOwnProperty(l)&&a.set(l.toLowerCase(),l);if(a.size===1&&a.has(`children`))i+=Mt(e,t,Ct(r));else{for(var o in t)if(t.hasOwnProperty(o)&&o!==`children`){var s=120-2*(r+1)-o.length-1,c=a.get(o.toLowerCase());if(c!==void 0){a.delete(o.toLowerCase());var l=t[o];c=n[c];var u=jt(l,s);s=jt(c,s),typeof l==`object`&&l&&typeof c==`object`&&c&&kt(l)===`Object`&&kt(c)===`Object`&&(2<Object.keys(l).length||2<Object.keys(c).length||-1<u.indexOf(`...`)||-1<s.indexOf(`...`))?i+=Ct(r+1)+o+`={{
47
+ `+Nt(l,c,r+2)+Ct(r+1)+`}}
48
+ `:(i+=wt(r+1)+o+`=`+u+`
49
+ `,i+=Tt(r+1)+o+`=`+s+`
50
+ `)}else i+=Ct(r+1)+o+`=`+jt(t[o],s)+`
51
+ `}a.forEach(function(e){if(e!==`children`){var t=120-2*(r+1)-e.length-1;i+=Tt(r+1)+e+`=`+jt(n[e],t)+`
52
+ `}}),i=i===``?Ct(r)+`<`+e+`>
53
+ `:Ct(r)+`<`+e+`
54
+ `+i+Ct(r)+`>
55
+ `}return e=n.children,t=t.children,typeof e==`string`||typeof e==`number`||typeof e==`bigint`?(a=``,(typeof t==`string`||typeof t==`number`||typeof t==`bigint`)&&(a=``+t),i+=Ot(a,``+e,r+1)):(typeof t==`string`||typeof t==`number`||typeof t==`bigint`)&&(i=e==null?i+Ot(``+t,null,r+1):i+Ot(``+t,void 0,r+1)),i}function Ft(e,t){var n=Et(e);if(n===null){for(n=``,e=e.child;e;)n+=Ft(e,t),e=e.sibling;return n}return Ct(t)+`<`+n+`>
56
+ `}function It(e,t){var n=St(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return Ct(t)+`...
57
+ `+It(n,t+1);n=``;var r=e.fiber._debugInfo;if(r)for(var i=0;i<r.length;i++){var a=r[i].name;typeof a==`string`&&(n+=Ct(t)+`<`+a+`>
58
+ `,t++)}if(r=``,i=e.fiber.pendingProps,e.fiber.tag===6)r=Ot(i,e.serverProps,t),t++;else if(a=Et(e.fiber),a!==null)if(e.serverProps===void 0){r=t;var o=120-2*r-a.length-2,s=``;for(l in i)if(i.hasOwnProperty(l)&&l!==`children`){var c=jt(i[l],15);if(o-=l.length+c.length+2,0>o){s+=` ...`;break}s+=` `+l+`=`+c}r=Ct(r)+`<`+a+s+`>
59
+ `,t++}else e.serverProps===null?(r=Mt(a,i,wt(t)),t++):typeof e.serverProps==`string`?console.error(`Should not have matched a non HostText fiber to a Text node. This is a bug in React.`):(r=Pt(a,i,e.serverProps,t),t++);var l=``;for(i=e.fiber.child,a=0;i&&a<e.children.length;)o=e.children[a],o.fiber===i?(l+=It(o,t),a++):l+=Ft(i,t),i=i.sibling;for(i&&0<e.children.length&&(l+=Ct(t)+`...
60
+ `),i=e.serverTail,e.serverProps===null&&t--,e=0;e<i.length;e++)a=i[e],l=typeof a==`string`?l+(Tt(t)+Dt(a,120-2*t)+`
61
+ `):l+Mt(a.type,a.props,Tt(t));return n+r+l}function Lt(e){try{return`
62
+
63
+ `+It(e,0)}catch{return``}}function Rt(e,t,n){for(var r=t,i=null,a=0;r;)r===e&&(a=0),i={fiber:r,children:i===null?[]:[i],serverProps:r===t?n:r===e?null:void 0,serverTail:[],distanceFromLeaf:a},a++,r=r.return;return i===null?``:Lt(i).replaceAll(/^[+-]/gm,`>`)}function zt(e,t){var n=U({},e||gm),r={tag:t};return pm.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),mm.indexOf(t)!==-1&&(n.pTagInButtonScope=null),fm.indexOf(t)!==-1&&t!==`address`&&t!==`div`&&t!==`p`&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=r,t===`form`&&(n.formTag=r),t===`a`&&(n.aTagInScope=r),t===`button`&&(n.buttonTagInScope=r),t===`nobr`&&(n.nobrTagInScope=r),t===`p`&&(n.pTagInButtonScope=r),t===`li`&&(n.listItemTagAutoclosing=r),(t===`dd`||t===`dt`)&&(n.dlItemTagAutoclosing=r),t===`#document`||t===`html`?n.containerTagInScope=null:n.containerTagInScope||=r,e!==null||t!==`#document`&&t!==`html`&&t!==`body`?!0===n.implicitRootScope&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function Bt(e,t,n){switch(t){case`select`:return e===`hr`||e===`option`||e===`optgroup`||e===`script`||e===`template`||e===`#text`;case`optgroup`:return e===`option`||e===`#text`;case`option`:return e===`#text`;case`tr`:return e===`th`||e===`td`||e===`style`||e===`script`||e===`template`;case`tbody`:case`thead`:case`tfoot`:return e===`tr`||e===`style`||e===`script`||e===`template`;case`colgroup`:return e===`col`||e===`template`;case`table`:return e===`caption`||e===`colgroup`||e===`tbody`||e===`tfoot`||e===`thead`||e===`style`||e===`script`||e===`template`;case`head`:return e===`base`||e===`basefont`||e===`bgsound`||e===`link`||e===`meta`||e===`title`||e===`noscript`||e===`noframes`||e===`style`||e===`script`||e===`template`;case`html`:if(n)break;return e===`head`||e===`body`||e===`frameset`;case`frameset`:return e===`frame`;case`#document`:if(!n)return e===`html`}switch(e){case`h1`:case`h2`:case`h3`:case`h4`:case`h5`:case`h6`:return t!==`h1`&&t!==`h2`&&t!==`h3`&&t!==`h4`&&t!==`h5`&&t!==`h6`;case`rp`:case`rt`:return hm.indexOf(t)===-1;case`caption`:case`col`:case`colgroup`:case`frameset`:case`frame`:case`tbody`:case`td`:case`tfoot`:case`th`:case`thead`:case`tr`:return t==null;case`head`:return n||t===null;case`html`:return n&&t===`#document`||t===null;case`body`:return n&&(t===`#document`||t===`html`)||t===null}return!0}function Vt(e,t){switch(e){case`address`:case`article`:case`aside`:case`blockquote`:case`center`:case`details`:case`dialog`:case`dir`:case`div`:case`dl`:case`fieldset`:case`figcaption`:case`figure`:case`footer`:case`header`:case`hgroup`:case`main`:case`menu`:case`nav`:case`ol`:case`p`:case`section`:case`summary`:case`ul`:case`pre`:case`listing`:case`table`:case`hr`:case`xmp`:case`h1`:case`h2`:case`h3`:case`h4`:case`h5`:case`h6`:return t.pTagInButtonScope;case`form`:return t.formTag||t.pTagInButtonScope;case`li`:return t.listItemTagAutoclosing;case`dd`:case`dt`:return t.dlItemTagAutoclosing;case`button`:return t.buttonTagInScope;case`a`:return t.aTagInScope;case`nobr`:return t.nobrTagInScope}return null}function Ht(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function Ut(e,t){t||=gm;var n=t.current;if(t=(n=Bt(e,n&&n.tag,t.implicitRootScope)?null:n)?null:Vt(e,t),t=n||t,!t)return!0;var r=t.tag;if(t=String(!!n)+`|`+e+`|`+r,_m[t])return!1;_m[t]=!0;var i=(t=up)?Ht(t.return,r):null,a=t!==null&&i!==null?Rt(i,t,null):``,o=`<`+e+`>`;return n?(n=``,r===`table`&&e===`tr`&&(n+=` Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser.`),console.error(`In HTML, %s cannot be a child of <%s>.%s
64
+ This will cause a hydration error.%s`,o,r,n,a)):console.error(`In HTML, %s cannot be a descendant of <%s>.
65
+ This will cause a hydration error.%s`,o,r,a),t&&(e=t.return,i===null||e===null||i===e&&e._debugOwner===t._debugOwner||M(i,function(){console.error(`<%s> cannot contain a nested %s.
66
+ See this log for the ancestor stack trace.`,r,o)})),!1}function Wt(e,t,n){if(n||Bt(`#text`,t,!1))return!0;if(n=`#text|`+t,_m[n])return!1;_m[n]=!0;var r=(n=up)?Ht(n,t):null;return n=n!==null&&r!==null?Rt(r,n,n.tag===6?null:{children:null}):``,/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
67
+ This will cause a hydration error.%s`,t,n):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
68
+ This will cause a hydration error.%s`,t,n),!1}function Gt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function Kt(e){return e.replace(Cm,function(e,t){return t.toUpperCase()})}function qt(e,t,n){var r=t.indexOf(`--`)===0;r||(-1<t.indexOf(`-`)?Tm.hasOwnProperty(t)&&Tm[t]||(Tm[t]=!0,console.error(`Unsupported style property %s. Did you mean %s?`,t,Kt(t.replace(Sm,`ms-`)))):xm.test(t)?Tm.hasOwnProperty(t)&&Tm[t]||(Tm[t]=!0,console.error(`Unsupported vendor-prefixed style property %s. Did you mean %s?`,t,t.charAt(0).toUpperCase()+t.slice(1))):!wm.test(n)||Em.hasOwnProperty(n)&&Em[n]||(Em[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(wm,``))),typeof n==`number`&&(isNaN(n)?Dm||(Dm=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||Om||(Om=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||km.has(t)?t===`float`?e.cssFloat=n:(Se(n,t),e[t]=(``+n).trim()):e[t]=n+`px`}function Jt(e,t,n){if(t!=null&&typeof t!=`object`)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,n!=null){if(t){var r={};if(n){for(var i in n)if(n.hasOwnProperty(i)&&!t.hasOwnProperty(i))for(var a=vm[i]||[i],o=0;o<a.length;o++)r[a[o]]=i}for(var s in t)if(t.hasOwnProperty(s)&&(!n||n[s]!==t[s]))for(i=vm[s]||[s],a=0;a<i.length;a++)r[i[a]]=s;for(var c in s={},t)for(i=vm[c]||[c],a=0;a<i.length;a++)s[i[a]]=c;for(var l in c={},r)if(i=r[l],(a=s[l])&&i!==a&&(o=i+`,`+a,!c[o])){c[o]=!0,o=console;var u=t[i];o.error.call(o,`%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.`,u==null||typeof u==`boolean`||u===``?`Removing`:`Updating`,i,a)}}for(var d in n)!n.hasOwnProperty(d)||t!=null&&t.hasOwnProperty(d)||(d.indexOf(`--`)===0?e.setProperty(d,``):d===`float`?e.cssFloat=``:e[d]=``);for(var f in t)l=t[f],t.hasOwnProperty(f)&&n[f]!==l&&qt(e,f,l)}else for(r in t)t.hasOwnProperty(r)&&qt(e,r,t[r])}function Yt(e){if(e.indexOf(`-`)===-1)return!1;switch(e){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}}function Xt(e){return Mm.get(e)||e}function Zt(e,t){if(fp.call(Fm,t)&&Fm[t])return!0;if(Lm.test(t)){if(e=`aria-`+t.slice(4).toLowerCase(),e=Pm.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Fm[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Fm[t]=!0}if(Im.test(t)){if(e=t.toLowerCase(),e=Pm.hasOwnProperty(e)?e:null,e==null)return Fm[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Fm[t]=!0)}return!0}function Qt(e,t){var n=[],r;for(r in t)Zt(e,r)||n.push(r);t=n.map(function(e){return"`"+e+"`"}).join(`, `),n.length===1?console.error(`Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props`,t,e):1<n.length&&console.error(`Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props`,t,e)}function $t(e,t,n,r){if(fp.call(zm,t)&&zm[t])return!0;var i=t.toLowerCase();if(i===`onfocusin`||i===`onfocusout`)return console.error(`React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React.`),zm[t]=!0;if(typeof n==`function`&&(e===`form`&&t===`action`||e===`input`&&t===`formAction`||e===`button`&&t===`formAction`))return!0;if(r!=null){if(e=r.possibleRegistrationNames,r.registrationNameDependencies.hasOwnProperty(t))return!0;if(r=e.hasOwnProperty(i)?e[i]:null,r!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,r),zm[t]=!0;if(Bm.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),zm[t]=!0}else if(Bm.test(t))return Vm.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),zm[t]=!0;if(Hm.test(t)||Um.test(t))return!0;if(i===`innerhtml`)return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),zm[t]=!0;if(i===`aria`)return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),zm[t]=!0;if(i===`is`&&n!=null&&typeof n!=`string`)return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),zm[t]=!0;if(typeof n==`number`&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),zm[t]=!0;if(Nm.hasOwnProperty(i)){if(i=Nm[i],i!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,i),zm[t]=!0}else if(t!==i)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,i),zm[t]=!0;switch(t){case`dangerouslySetInnerHTML`:case`children`:case`style`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:return!0;case`innerText`:case`textContent`:return!0}switch(typeof n){case`boolean`:switch(t){case`autoFocus`:case`checked`:case`multiple`:case`muted`:case`selected`:case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:case`capture`:case`download`:case`inert`:return!0;default:return i=t.toLowerCase().slice(0,5),i===`data-`||i===`aria-`?!0:(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error(`Received \`%s\` for a non-boolean attribute \`%s\`.
69
+
70
+ If you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.
71
+
72
+ If you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.`,n,t,t,n,t,t,t),zm[t]=!0)}case`function`:case`symbol`:return zm[t]=!0,!1;case`string`:if(n===`false`||n===`true`){switch(t){case`checked`:case`selected`:case`multiple`:case`muted`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:case`inert`:break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n===`false`?`The browser will interpret it as a truthy value.`:`Although this works, it will not work as expected if you pass the string "false".`,t,n),zm[t]=!0}}return!0}function en(e,t,n){var r=[],i;for(i in t)$t(e,i,t[i],n)||r.push(i);t=r.map(function(e){return"`"+e+"`"}).join(`, `),r.length===1?console.error(`Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior `,t,e):1<r.length&&console.error(`Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior `,t,e)}function tn(e){return Wm.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function nn(){}function rn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function an(e){var t=Ke(e);if(t&&(e=t.stateNode)){var n=e[Hp]||null;a:switch(e=t.stateNode,t.type){case`input`:if(ft(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(xe(t,`name`),n=n.querySelectorAll(`input[name="`+ut(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[Hp]||null;if(!i)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");ft(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&ct(r)}break a;case`textarea`:bt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&_t(e,!!n.multiple,t,!1)}}}function on(e,t,n){if(Jm)return e(t,n);Jm=!0;try{return e(t)}finally{if(Jm=!1,(Km!==null||qm!==null)&&(nl(),Km&&(t=Km,e=qm,qm=Km=null,an(t),e)))for(t=0;t<e.length;t++)an(e[t])}}function sn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[Hp]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function cn(){if(eh)return eh;var e,t=$m,n=t.length,r,i=`value`in Qm?Qm.value:Qm.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return eh=i.slice(e,1<r?1-r:void 0)}function ln(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function un(){return!0}function dn(){return!1}function fn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?un:dn,this.isPropagationStopped=dn,this}return U(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=un)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=un)},persist:function(){},isPersistent:un}),t}function pn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=vh[e])?!!t[e]:!1}function mn(){return pn}function hn(e,t){switch(e){case`keyup`:return Th.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==Eh;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function gn(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}function _n(e,t){switch(e){case`compositionend`:return gn(t);case`keypress`:return t.which===jh?(Nh=!0,Mh):null;case`textInput`:return e=t.data,e===Mh&&Nh?null:e;default:return null}}function vn(e,t){if(Ph)return e===`compositionend`||!Dh&&hn(e,t)?(e=cn(),eh=$m=Qm=null,Ph=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return Ah&&t.locale!==`ko`?null:t.data;default:return null}}function yn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!Fh[e.type]:t===`textarea`}function bn(e){if(!Ym)return!1;e=`on`+e;var t=e in document;return t||=(t=document.createElement(`div`),t.setAttribute(e,`return;`),typeof t[e]==`function`),t}function xn(e,t,n,r){Km?qm?qm.push(r):qm=[r]:Km=r,t=lu(t,`onChange`),0<t.length&&(n=new nh(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}function Sn(e){ru(e,0)}function Cn(e){if(ct(qe(e)))return e}function wn(e,t){if(e===`change`)return t}function Tn(){Ih&&(Ih.detachEvent(`onpropertychange`,En),Lh=Ih=null)}function En(e){if(e.propertyName===`value`&&Cn(Lh)){var t=[];xn(t,Lh,e,rn(e)),on(Sn,t)}}function Dn(e,t,n){e===`focusin`?(Tn(),Ih=t,Lh=n,Ih.attachEvent(`onpropertychange`,En)):e===`focusout`&&Tn()}function On(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return Cn(Lh)}function kn(e,t){if(e===`click`)return Cn(t)}function An(e,t){if(e===`input`||e===`change`)return Cn(t)}function jn(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}function Mn(e,t){if(zh(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!fp.call(t,i)||!zh(e[i],t[i]))return!1}return!0}function Nn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Pn(e,t){var n=Nn(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Nn(n)}}function Fn(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Fn(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function N(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=lt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=lt(e.document)}return t}function In(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}function Ln(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Wh||Vh==null||Vh!==lt(r)||(r=Vh,`selectionStart`in r&&In(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Uh&&Mn(Uh,r)||(Uh=r,r=lu(Hh,`onSelect`),0<r.length&&(t=new nh(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Vh)))}function Rn(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}function zn(e){if(Kh[e])return Kh[e];if(!Gh[e])return e;var t=Gh[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in qh)return Kh[e]=t[n];return e}function Bn(e,t){tg.set(e,t),Xe(t,[e])}function Vn(e){for(var t=lg,n=0;n<e.length;n++){var r=e[n];if(typeof r==`object`&&r)if(Hf(r)&&r.length===2&&typeof r[0]==`string`){if(t!==lg&&t!==fg)return ug;t=fg}else return ug;else{if(typeof r==`function`||typeof r==`string`&&50<r.length||t!==lg&&t!==dg)return ug;t=dg}}return t}function Hn(e,t,n,r){for(var i in e)fp.call(e,i)&&i[0]!==`_`&&Un(i,e[i],t,n,r)}function Un(e,t,n,r,i){switch(typeof t){case`object`:if(t===null){t=`null`;break}else{if(t.$$typeof===Ef){var a=C(t.type)||`…`,o=t.key;t=t.props;var s=Object.keys(t),c=s.length;if(o==null&&c===0){t=`<`+a+` />`;break}if(3>r||c===1&&s[0]===`children`&&o==null){t=`<`+a+` … />`;break}for(var l in n.push([i+`\xA0\xA0`.repeat(r)+e,`<`+a]),o!==null&&Un(`key`,o,n,r+1,i),e=!1,t)l===`children`?t.children!=null&&(!Hf(t.children)||0<t.children.length)&&(e=!0):fp.call(t,l)&&l[0]!==`_`&&Un(l,t[l],n,r+1,i);n.push([``,e?`>…</`+a+`>`:`/>`]);return}if(a=Object.prototype.toString.call(t),a=a.slice(8,a.length-1),a===`Array`){if(l=Vn(t),l===dg||l===lg){t=JSON.stringify(t);break}else if(l===fg){for(n.push([i+`\xA0\xA0`.repeat(r)+e,``]),e=0;e<t.length;e++)a=t[e],Un(a[0],a[1],n,r+1,i);return}}if(a===`Promise`){if(t.status===`fulfilled`){if(a=n.length,Un(e,t.value,n,r,i),n.length>a){n=n[a],n[1]=`Promise<`+(n[1]||`Object`)+`>`;return}}else if(t.status===`rejected`&&(a=n.length,Un(e,t.reason,n,r,i),n.length>a)){n=n[a],n[1]=`Rejected Promise<`+n[1]+`>`;return}n.push([`\xA0\xA0`.repeat(r)+e,`Promise`]);return}a===`Object`&&(l=Object.getPrototypeOf(t))&&typeof l.constructor==`function`&&(a=l.constructor.name),n.push([i+`\xA0\xA0`.repeat(r)+e,a===`Object`?3>r?``:`…`:a]),3>r&&Hn(t,n,r+1,i);return}case`function`:t=t.name===``?`() => {}`:t.name+`() {}`;break;case`string`:t=t===cg?`…`:JSON.stringify(t);break;case`undefined`:t=`undefined`;break;case`boolean`:t=t?`true`:`false`;break;default:t=String(t)}n.push([i+`\xA0\xA0`.repeat(r)+e,t])}function Wn(e,t,n,r){var i=!0;for(o in e)o in t||(n.push([pg+`\xA0\xA0`.repeat(r)+o,`…`]),i=!1);for(var a in t)if(a in e){var o=e[a],s=t[a];if(o!==s){if(r===0&&a===`children`)i=`\xA0\xA0`.repeat(r)+a,n.push([pg+i,`…`],[mg+i,`…`]);else{if(!(3<=r)){if(typeof o==`object`&&typeof s==`object`&&o!==null&&s!==null&&o.$$typeof===s.$$typeof)if(s.$$typeof===Ef){if(o.type===s.type&&o.key===s.key){o=C(s.type)||`…`,i=`\xA0\xA0`.repeat(r)+a,o=`<`+o+` … />`,n.push([pg+i,o],[mg+i,o]),i=!1;continue}}else{var c=Object.prototype.toString.call(o),l=Object.prototype.toString.call(s);if(c===l&&(l===`[object Object]`||l===`[object Array]`)){c=[hg+`\xA0\xA0`.repeat(r)+a,l===`[object Array]`?`Array`:``],n.push(c),l=n.length,Wn(o,s,n,r+1)?l===n.length&&(c[1]=`Referentially unequal but deeply equal objects. Consider memoization.`):i=!1;continue}}else if(typeof o==`function`&&typeof s==`function`&&o.name===s.name&&o.length===s.length&&(c=Function.prototype.toString.call(o),l=Function.prototype.toString.call(s),c===l)){o=s.name===``?`() => {}`:s.name+`() {}`,n.push([hg+`\xA0\xA0`.repeat(r)+a,o+` Referentially unequal function closure. Consider memoization.`]);continue}}Un(a,o,n,r,pg),Un(a,s,n,r,mg)}i=!1}}else n.push([mg+`\xA0\xA0`.repeat(r)+a,`…`]),i=!1;return i}function Gn(e){yg=e&63?`Blocking`:e&64?`Gesture`:e&4194176?`Transition`:e&62914560?`Suspense`:e&2080374784?`Idle`:`Other`}function Kn(e,t,n,r){gg&&(Sg.start=t,Sg.end=n,xg.color=`warning`,xg.tooltipText=r,xg.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,r,Sg)):performance.measure(r,Sg))}function qn(e,t,n){Kn(e,t,n,`Reconnect`)}function P(e,t,n,r,i){var a=w(e);if(a!==null&&gg){var o=e.alternate,s=e.actualDuration;if(o===null||o.child!==e.child)for(var c=e.child;c!==null;c=c.sibling)s-=c.actualDuration;r=.5>s?r?`tertiary-light`:`primary-light`:10>s?r?`tertiary`:`primary`:100>s?r?`tertiary-dark`:`primary-dark`:`error`;var l=e.memoizedProps;s=e._debugTask,l!==null&&o!==null&&o.memoizedProps!==l?(c=[Cg],l=Wn(o.memoizedProps,l,c,0),1<c.length&&(l&&!bg&&(o.lanes&i)===0&&100<e.actualDuration?(bg=!0,c[0]=Tg,xg.color=`warning`,xg.tooltipText=wg):(xg.color=r,xg.tooltipText=a),xg.properties=c,Sg.start=t,Sg.end=n,s==null?performance.measure(`​`+a,Sg):s.run(performance.measure.bind(performance,`​`+a,Sg)))):s==null?console.timeStamp(a,t,n,_g,void 0,r):s.run(console.timeStamp.bind(console,a,t,n,_g,void 0,r))}}function Jn(e,t,n,r){if(gg){var i=w(e);if(i!==null){for(var a=null,o=[],s=0;s<r.length;s++){var c=r[s];a==null&&c.source!==null&&(a=c.source._debugTask),c=c.value,o.push([`Error`,typeof c==`object`&&c&&typeof c.message==`string`?String(c.message):String(c)])}e.key!==null&&Un(`key`,e.key,o,0,``),e.memoizedProps!==null&&Hn(e.memoizedProps,o,0,``),a??=e._debugTask,e={start:t,end:n,detail:{devtools:{color:`error`,track:_g,tooltipText:e.tag===13?`Hydration failed`:`Error boundary caught an error`,properties:o}}},a?a.run(performance.measure.bind(performance,`​`+i,e)):performance.measure(`​`+i,e)}}}function Yn(e,t,n,r,i){if(i!==null){if(gg){var a=w(e);if(a!==null){r=[];for(var o=0;o<i.length;o++){var s=i[o].value;r.push([`Error`,typeof s==`object`&&s&&typeof s.message==`string`?String(s.message):String(s)])}e.key!==null&&Un(`key`,e.key,r,0,``),e.memoizedProps!==null&&Hn(e.memoizedProps,r,0,``),t={start:t,end:n,detail:{devtools:{color:`error`,track:_g,tooltipText:`A lifecycle or effect errored`,properties:r}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,`​`+a,t)):performance.measure(`​`+a,t)}}}else a=w(e),a!==null&&gg&&(i=1>r?`secondary-light`:100>r?`secondary`:500>r?`secondary-dark`:`error`,(e=e._debugTask)?e.run(console.timeStamp.bind(console,a,t,n,_g,void 0,i)):console.timeStamp(a,t,n,_g,void 0,i))}function Xn(e,t,n,r){if(gg&&!(t<=e)){var i=(n&738197653)===n?`tertiary-dark`:`primary-dark`;n=(n&536870912)===n?`Prepared`:(n&201326741)===n?`Hydrated`:`Render`,r?r.run(console.timeStamp.bind(console,n,e,t,yg,vg,i)):console.timeStamp(n,e,t,yg,vg,i)}}function Zn(e,t,n,r){!gg||t<=e||(n=(n&738197653)===n?`tertiary-dark`:`primary-dark`,r?r.run(console.timeStamp.bind(console,`Prewarm`,e,t,yg,vg,n)):console.timeStamp(`Prewarm`,e,t,yg,vg,n))}function Qn(e,t,n,r){!gg||t<=e||(n=(n&738197653)===n?`tertiary-dark`:`primary-dark`,r?r.run(console.timeStamp.bind(console,`Suspended`,e,t,yg,vg,n)):console.timeStamp(`Suspended`,e,t,yg,vg,n))}function $n(e,t,n,r,i,a){if(gg&&!(t<=e)){n=[];for(var o=0;o<r.length;o++){var s=r[o].value;n.push([`Recoverable Error`,typeof s==`object`&&s&&typeof s.message==`string`?String(s.message):String(s)])}e={start:e,end:t,detail:{devtools:{color:`primary-dark`,track:yg,trackGroup:vg,tooltipText:i?`Hydration Failed`:`Recovered after Error`,properties:n}}},a?a.run(performance.measure.bind(performance,`Recovered`,e)):performance.measure(`Recovered`,e)}}function er(e,t,n,r){!gg||t<=e||(r?r.run(console.timeStamp.bind(console,`Errored`,e,t,yg,vg,`error`)):console.timeStamp(`Errored`,e,t,yg,vg,`error`))}function tr(e,t,n,r){!gg||t<=e||(r?r.run(console.timeStamp.bind(console,n,e,t,yg,vg,`secondary-light`)):console.timeStamp(n,e,t,yg,vg,`secondary-light`))}function nr(e,t,n,r,i){if(gg&&!(t<=e)){for(var a=[],o=0;o<n.length;o++){var s=n[o].value;a.push([`Error`,typeof s==`object`&&s&&typeof s.message==`string`?String(s.message):String(s)])}e={start:e,end:t,detail:{devtools:{color:`error`,track:yg,trackGroup:vg,tooltipText:r?`Remaining Effects Errored`:`Commit Errored`,properties:a}}},i?i.run(performance.measure.bind(performance,`Errored`,e)):performance.measure(`Errored`,e)}}function rr(e,t,n){!gg||t<=e||(n?n.run(console.timeStamp.bind(console,`Animating`,e,t,yg,vg,`secondary-dark`)):console.timeStamp(`Animating`,e,t,yg,vg,`secondary-dark`))}function ir(){for(var e=kg,t=Ag=kg=0;t<e;){var n=Og[t];Og[t++]=null;var r=Og[t];Og[t++]=null;var i=Og[t];Og[t++]=null;var a=Og[t];if(Og[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&cr(n,i,a)}}function ar(e,t,n,r){Og[kg++]=e,Og[kg++]=t,Og[kg++]=n,Og[kg++]=r,Ag|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function or(e,t,n,r){return ar(e,t,n,r),lr(e)}function sr(e,t){return ar(e,null,null,t),lr(e)}function cr(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&Eg||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Ap(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function lr(e){if(Gx>Wx)throw Xx=Gx=0,Zx=Kx=null,Error(`Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.`);Xx>Yx&&(Xx=0,Zx=null,console.error(`Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.`)),e.alternate===null&&e.flags&4098&&Bl(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&t.flags&4098&&Bl(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function ur(e){if(Mg===null)return e;var t=Mg(e);return t===void 0?e:t.current}function dr(e){if(Mg===null)return e;var t=Mg(e);return t===void 0?e!=null&&typeof e.render==`function`&&(t=ur(e.render),e.render!==t)?(t={$$typeof:Nf,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function fr(e,t){if(Mg===null)return!1;var n=e.elementType;t=t.type;var r=!1,i=typeof t==`object`&&t?t.$$typeof:null;switch(e.tag){case 1:typeof t==`function`&&(r=!0);break;case 0:(typeof t==`function`||i===Lf)&&(r=!0);break;case 11:(i===Nf||i===Lf)&&(r=!0);break;case 14:case 15:(i===If||i===Lf)&&(r=!0);break;default:return!1}return!!(r&&(e=Mg(n),e!==void 0&&e===Mg(t)))}function pr(e){Mg!==null&&typeof WeakSet==`function`&&(Ng===null&&(Ng=new WeakSet),Ng.add(e))}function mr(e,t,n){do{var r=e,i=r.alternate,a=r.child,o=r.sibling,s=r.tag;r=r.type;var c=null;switch(s){case 0:case 15:case 1:c=r;break;case 11:c=r.render}if(Mg===null)throw Error(`Expected resolveFamily to be set during hot reload.`);var l=!1;if(r=!1,c!==null&&(c=Mg(c),c!==void 0&&(n.has(c)?r=!0:t.has(c)&&(s===1?r=!0:l=!0))),Ng!==null&&(Ng.has(e)||i!==null&&Ng.has(i))&&(r=!0),r&&(e._debugNeedsRemount=!0),(r||l)&&(i=sr(e,2),i!==null&&Zc(i,e,2)),a===null||r||mr(a,t,n),o===null)break;e=o}while(1)}function hr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Rg||typeof Object.preventExtensions!=`function`||Object.preventExtensions(this)}function gr(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _r(e,t){var n=e.alternate;switch(n===null?(n=p(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=ur(e.type);break;case 1:n.type=ur(e.type);break;case 11:n.type=dr(e.type)}return n}function vr(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function yr(e,t,n,r,i,a){var o=0,s=e;if(typeof e==`function`)gr(e)&&(o=1),s=ur(s);else if(typeof e==`string`)o=O(),o=zd(e,n,o)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case Rf:return t=p(31,n,t,i),t.elementType=Rf,t.lanes=a,t;case Of:return xr(n.children,i,a,t);case kf:o=8,i|=Fg,i|=Ig;break;case Af:return e=n,r=i,typeof e.id!=`string`&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=p(12,e,t,r|K),t.elementType=Af,t.lanes=a,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Pf:return t=p(13,n,t,i),t.elementType=Pf,t.lanes=a,t;case Ff:return t=p(19,n,t,i),t.elementType=Ff,t.lanes=a,t;default:if(typeof e==`object`&&e)switch(e.$$typeof){case Mf:o=10;break a;case jf:o=9;break a;case Nf:o=11,s=dr(s);break a;case If:o=14;break a;case Lf:o=16,s=null;break a}s=``,(e===void 0||typeof e==`object`&&e&&Object.keys(e).length===0)&&(s+=` You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.`),e===null?n=`null`:Hf(e)?n=`array`:e!==void 0&&e.$$typeof===Ef?(n=`<`+(C(e.type)||`Unknown`)+` />`,s=` Did you accidentally export a JSX literal instead of a component?`):n=typeof e,(o=r?ne(r):null)&&(s+=`
73
+
74
+ Check the render method of \``+o+"`."),o=29,n=Error(`Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: `+(n+`.`+s)),s=null}return t=p(o,n,t,i),t.elementType=e,t.type=s,t.lanes=a,t._debugOwner=r,t}function br(e,t,n){return t=yr(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function xr(e,t,n,r){return e=p(7,e,r,t),e.lanes=n,e}function Sr(e,t,n){return e=p(6,e,null,t),e.lanes=n,e}function Cr(e){var t=p(18,null,null,G);return t.stateNode=e,t}function wr(e,t,n){return t=p(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Tr(e,t){if(typeof e==`object`&&e){var n=Bg.get(e);return n===void 0?(t={value:e,source:t,stack:j(t)},Bg.set(e,t),t):n}return{value:e,source:t,stack:j(t)}}function Er(e,t){Mr(),Vg[Hg++]=Wg,Vg[Hg++]=Ug,Ug=e,Wg=t}function Dr(e,t,n){Mr(),Gg[Kg++]=Jg,Gg[Kg++]=Yg,Gg[Kg++]=qg,qg=e;var r=Jg;e=Yg;var i=32-Ap(r)-1;r&=~(1<<i),n+=1;var a=32-Ap(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Jg=1<<32-Ap(t)+i|n<<i|r,Yg=a+e}else Jg=1<<a|n<<i|r,Yg=e}function Or(e){Mr(),e.return!==null&&(Er(e,1),Dr(e,1,0))}function kr(e){for(;e===Ug;)Ug=Vg[--Hg],Vg[Hg]=null,Wg=Vg[--Hg],Vg[Hg]=null;for(;e===qg;)qg=Gg[--Kg],Gg[Kg]=null,Yg=Gg[--Kg],Gg[Kg]=null,Jg=Gg[--Kg],Gg[Kg]=null}function Ar(){return Mr(),qg===null?null:{id:Jg,overflow:Yg}}function jr(e,t){Mr(),Gg[Kg++]=Jg,Gg[Kg++]=Yg,Gg[Kg++]=qg,Jg=t.id,Yg=t.overflow,qg=e}function Mr(){Qg||console.error(`Expected to be hydrating. This is a bug in React. Please file an issue.`)}function Nr(e,t){if(e.return===null){if(e_===null)e_={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(e_.fiber!==e)throw Error(`Saw multiple hydration diff roots in a pass. This is a bug in React.`);e_.distanceFromLeaf>t&&(e_.distanceFromLeaf=t)}return e_}var n=Nr(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function Pr(){Qg&&console.error(`We should not be hydrating here. This is a bug in React. Please file a bug.`)}function Fr(e,t){$g||(e=Nr(e,0),e.serverProps=null,t!==null&&(t=md(t),e.serverTail.push(t)))}function Ir(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,n=``,r=e_;throw r!==null&&(e_=null,n=Lt(r)),Hr(Tr(Error(`Hydration failed because the server rendered `+(t?`text`:`HTML`)+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
71
75
 
72
76
  - A server/client branch \`if (typeof window !== 'undefined')\`.
73
77
  - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
@@ -77,7 +81,7 @@ Check the render method of \``+d+"`."),d=29,a=Error("Element type is invalid: ex
77
81
 
78
82
  It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
79
83
 
80
- https://react.dev/link/hydration-mismatch`+a),e)),_1}function Zm(e){var t=e.stateNode,a=e.type,i=e.memoizedProps;switch(t[$t]=e,t[Sa]=i,ga(a,i),a){case"dialog":Be("cancel",t),Be("close",t);break;case"iframe":case"object":case"embed":Be("load",t);break;case"video":case"audio":for(a=0;a<cp.length;a++)Be(cp[a],t);break;case"source":Be("error",t);break;case"img":case"image":case"link":Be("error",t),Be("load",t);break;case"details":Be("toggle",t);break;case"input":fc("input",i),Be("invalid",t),ua(t,i),$r(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"option":Ep(t,i);break;case"select":fc("select",i),Be("invalid",t),Fr(t,i);break;case"textarea":fc("textarea",i),Be("invalid",t),rc(t,i),xo(t,i.value,i.defaultValue,i.children)}a=i.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||i.suppressHydrationWarning===!0||Ky(t.textContent,a)?(i.popover!=null&&(Be("beforetoggle",t),Be("toggle",t)),i.onScroll!=null&&Be("scroll",t),i.onScrollEnd!=null&&Be("scrollend",t),i.onClick!=null&&(t.onclick=an),t=!0):t=!1,t||un(e,!0)}function Jm(e){for(Ta=e.return;Ta;)switch(Ta.tag){case 5:case 31:case 13:Hu=!1;return;case 27:case 3:Hu=!0;return;default:Ta=Ta.return}}function Ac(e){if(e!==Ta)return!1;if(!st)return Jm(e),st=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||ss(e.type,e.memoizedProps)),a=!a),a&&kt){for(a=kt;a;){var i=Ec(e,0),o=Cg(a);i.serverTail.push(o),a=o.type==="Suspense"?ds(a):Ka(a.nextSibling)}un(e)}if(Jm(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");kt=ds(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");kt=ds(e)}else t===27?(t=kt,ki(e.type)?(e=bb,bb=null,kt=e):kt=t):kt=Ta?Ka(e.stateNode.nextSibling):null;return!0}function Ci(){kt=Ta=null,ac=st=!1}function rf(){var e=Rs;return e!==null&&(tn===null?tn=e:tn.push.apply(tn,e),Rs=null),e}function df(e){Rs===null?Rs=[e]:Rs.push(e)}function Mi(){var e=Kn;if(e!==null){Kn=null;for(var t=Am(e);0<e.children.length;)e=e.children[0];ee(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
84
+ https://react.dev/link/hydration-mismatch`+n),e)),r_}function Lr(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Vp]=e,t[Hp]=r,fu(n,r),n){case`dialog`:V(`cancel`,t),V(`close`,t);break;case`iframe`:case`object`:case`embed`:V(`load`,t);break;case`video`:case`audio`:for(n=0;n<dS.length;n++)V(dS[n],t);break;case`source`:V(`error`,t);break;case`img`:case`image`:case`link`:V(`error`,t),V(`load`,t);break;case`details`:V(`toggle`,t);break;case`input`:Qe(`input`,r),V(`invalid`,t),dt(t,r),pt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`option`:ht(t,r);break;case`select`:Qe(`select`,r),V(`invalid`,t),vt(t,r);break;case`textarea`:Qe(`textarea`,r),V(`invalid`,t),yt(t,r),xt(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||vu(t.textContent,n)?(r.popover!=null&&(V(`beforetoggle`,t),V(`toggle`,t)),r.onScroll!=null&&V(`scroll`,t),r.onScrollEnd!=null&&V(`scrollend`,t),r.onClick!=null&&(t.onclick=nn),t=!0):t=!1,t||Ir(e,!0)}function Rr(e){for(Xg=e.return;Xg;)switch(Xg.tag){case 5:case 31:case 13:n_=!1;return;case 27:case 3:n_=!0;return;default:Xg=Xg.return}}function zr(e){if(e!==Xg)return!1;if(!Qg)return Rr(e),Qg=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Ru(e.type,e.memoizedProps)),n=!n),n&&Zg){for(n=Zg;n;){var r=Nr(e,0),i=md(n);r.serverTail.push(i),n=i.type===`Suspense`?gd(n):pd(n.nextSibling)}Ir(e)}if(Rr(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(`Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`);Zg=gd(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(`Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`);Zg=gd(e)}else t===27?(t=Zg,Yu(e.type)?(e=tC,tC=null,Zg=e):Zg=t):Zg=Xg?pd(e.stateNode.nextSibling):null;return!0}function Br(){Zg=Xg=null,$g=Qg=!1}function Vr(){var e=t_;return e!==null&&(px===null?px=e:px.push.apply(px,e),t_=null),e}function Hr(e){t_===null?t_=[e]:t_.push(e)}function Ur(){var e=e_;if(e!==null){e_=null;for(var t=Lt(e);0<e.children.length;)e=e.children[0];M(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
81
85
 
82
86
  - A server/client branch \`if (typeof window !== 'undefined')\`.
83
87
  - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
@@ -87,58 +91,58 @@ https://react.dev/link/hydration-mismatch`+a),e)),_1}function Zm(e){var t=e.stat
87
91
 
88
92
  It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
89
93
 
90
- %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function Ro(){Lh=tv=null,Zh=!1}function cn(e,t,a){De(j1,t._currentValue,e),t._currentValue=a,De(N1,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==ZS&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=ZS}function Mn(e,t){e._currentValue=j1.current;var a=N1.current;Re(N1,t),e._currentRenderer=a,Re(j1,t)}function md(e,t,a){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===a)break;e=e.return}e!==a&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Ku(e,t,a,i){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var s=o.dependencies;if(s!==null){var d=o.child;s=s.firstContext;e:for(;s!==null;){var h=s;s=o;for(var p=0;p<t.length;p++)if(h.context===t[p]){s.lanes|=a,h=s.alternate,h!==null&&(h.lanes|=a),md(s.return,a,e),i||(d=null);break e}s=h.next}}else if(o.tag===18){if(d=o.return,d===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");d.lanes|=a,s=d.alternate,s!==null&&(s.lanes|=a),md(d,a,e),d=null}else d=o.child;if(d!==null)d.return=o;else for(d=o;d!==null;){if(d===e){d=null;break}if(o=d.sibling,o!==null){o.return=d.return,d=o;break}d=d.return}o=d}}function _n(e,t,a,i){e=null;for(var o=t,s=!1;o!==null;){if(!s){if((o.flags&524288)!==0)s=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var d=o.alternate;if(d===null)throw Error("Should have a current fiber. This is a bug in React.");if(d=d.memoizedProps,d!==null){var h=o.type;Wa(o.pendingProps.value,d.value)||(e!==null?e.push(h):e=[h])}}else if(o===ec.current){if(d=o.alternate,d===null)throw Error("Should have a current fiber. This is a bug in React.");d.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(dp):e=[dp])}o=o.return}e!==null&&Ku(t,e,a,i),t.flags|=262144}function Uo(e){for(e=e.firstContext;e!==null;){if(!Wa(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function _i(e){tv=e,Lh=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function vt(e){return Zh&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Km(tv,e)}function hf(e,t){return tv===null&&_i(e),Km(e,t)}function Km(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},Lh===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Lh=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Lh=Lh.next=t;return a}function yd(){return{controller:new iA,data:new Map,refCount:0}}function zc(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function mf(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&cA(oA,function(){e.controller.abort()})}function uu(e,t,a){(e&127)!==0?0>nc&&(nc=Bl(),H0=lv(t),R1=t,a!=null&&(U1=ce(a)),(yt&($l|kn))!==la&&(ml=!0,Hs=U0),e=fs(),t=Au(),e!==Jh||t!==B0?Jh=-1.1:t!==null&&(Hs=U0),Sr=e,B0=t):(e&4194048)!==0&&0>Bu&&(Bu=Bl(),q0=lv(t),JS=t,a!=null&&(KS=ce(a)),0>fo)&&(e=fs(),t=Au(),(e!==qs||t!==Tr)&&(qs=-1.1),Bs=e,Tr=t)}function Vp(e){if(0>nc){nc=Bl(),H0=e._debugTask!=null?e._debugTask:null,(yt&($l|kn))!==la&&(Hs=U0);var t=fs(),a=Au();t!==Jh||a!==B0?Jh=-1.1:a!==null&&(Hs=U0),Sr=t,B0=a}0>Bu&&(Bu=Bl(),q0=e._debugTask!=null?e._debugTask:null,0>fo)&&(e=fs(),t=Au(),(e!==qs||t!==Tr)&&(qs=-1.1),Bs=e,Tr=t)}function iu(){var e=vr;return vr=0,e}function Ho(e){var t=vr;return vr=e,t}function ca(e){var t=vr;return vr+=e,t}function Oc(){Ue=je=-1.1}function Zt(){var e=je;return je=-1.1,e}function Cl(e){0<=e&&(je=e)}function on(){var e=ul;return ul=-0,e}function Ha(e){0<=e&&(ul=e)}function Ba(){var e=tl;return tl=null,e}function sn(){var e=ml;return ml=!1,e}function $u(e){Ia=Bl(),0>e.actualStartTime&&(e.actualStartTime=Ia)}function pd(e){if(0<=Ia){var t=Bl()-Ia;e.actualDuration+=t,e.selfBaseDuration=t,Ia=-1}}function yf(e){if(0<=Ia){var t=Bl()-Ia;e.actualDuration+=t,Ia=-1}}function oa(){if(0<=Ia){var e=Bl(),t=e-Ia;Ia=-1,vr+=t,ul+=t,Ue=e}}function Xp(e){tl===null&&(tl=[]),tl.push(e),oo===null&&(oo=[]),oo.push(e)}function ll(){Ia=Bl(),0>je&&(je=Ia)}function Dc(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Fu(e,t){if(G0===null){var a=G0=[];B1=0,xr=Jy(),Kh={status:"pending",value:void 0,then:function(i){a.push(i)}}}return B1++,t.then($m,$m),t}function $m(){if(--B1===0&&(-1<Bu||(fo=-1.1),G0!==null)){Kh!==null&&(Kh.status="fulfilled");var e=G0;G0=null,xr=0,Kh=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function gd(e,t){var a=[],i={status:"pending",value:null,reason:null,then:function(o){a.push(o)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var o=0;o<a.length;o++)(0,a[o])(t)},function(o){for(i.status="rejected",i.reason=o,o=0;o<a.length;o++)(0,a[o])(void 0)}),i}function ku(){var e=Er.current;return e!==null?e:Vt.pooledCache}function Bo(e,t){t===null?De(Er,Er.current,e):De(Er,t.pool,e)}function Fm(){var e=ku();return e===null?null:{parent:Hl._currentValue,pool:e}}function vd(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function km(e){return e=e.status,e==="fulfilled"||e==="rejected"}function qa(e,t,a){V.actQueue!==null&&(V.didUsePromise=!0);var i=e.thenables;if(a=i[a],a===void 0?i.push(t):a!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(an,an),t=a),t._debugInfo===void 0){e=performance.now(),i=t.displayName;var o={name:typeof i=="string"?i:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:o}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){o.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,pf(e),e;default:if(typeof t.status=="string")t.then(an,an);else{if(e=Vt,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(s){if(t.status==="pending"){var d=t;d.status="fulfilled",d.value=s}},function(s){if(t.status==="pending"){var d=t;d.status="rejected",d.reason=s}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,pf(e),e}throw zr=t,J0=!0,$h}}function Ya(e){try{return hA(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(zr=t,J0=!0,$h):t}}function Cc(){if(zr===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=zr;return zr=null,J0=!1,e}function pf(e){if(e===$h||e===fv)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function sl(e){var t=et;return e!=null&&(et=t===null?e:t.concat(e)),t}function Ea(){var e=et;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var a=e[t].debugTask;if(a!=null)return a}}return null}function sa(e,t,a){for(var i=Object.keys(e.props),o=0;o<i.length;o++){var s=i[o];if(s!=="children"&&s!=="key"){t===null&&(t=Oi(e,a.mode,0),t._debugInfo=et,t.return=a),ee(t,function(d){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",d)},s);break}}}function jn(e){var t=K0;return K0+=1,Fh===null&&(Fh=vd()),qa(Fh,e,t)}function Aa(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Nn(e,t){throw t.$$typeof===Yg?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
94
+ %s%s`,`https://react.dev/link/hydration-mismatch`,t)})}}function Wr(){c_=s_=null,l_=!1}function Gr(e,t,n){E(i_,t._currentValue,e),t._currentValue=n,E(a_,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==o_&&console.error(`Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`),t._currentRenderer=o_}function Kr(e,t){e._currentValue=i_.current;var n=a_.current;T(a_,t),e._currentRenderer=n,T(i_,t)}function qr(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}e!==n&&console.error(`Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.`)}function Jr(e,t,n,r){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var a=i.dependencies;if(a!==null){var o=i.child;a=a.firstContext;a:for(;a!==null;){var s=a;a=i;for(var c=0;c<t.length;c++)if(s.context===t[c]){a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),qr(a.return,n,e),r||(o=null);break a}a=s.next}}else if(i.tag===18){if(o=i.return,o===null)throw Error(`We just came from a parent so we must have had a parent. This is a bug in React.`);o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),qr(o,n,e),o=null}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===e){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}}function Yr(e,t,n,r){e=null;for(var i=t,a=!1;i!==null;){if(!a){if(i.flags&524288)a=!0;else if(i.flags&262144)break}if(i.tag===10){var o=i.alternate;if(o===null)throw Error(`Should have a current fiber. This is a bug in React.`);if(o=o.memoizedProps,o!==null){var s=i.type;zh(i.pendingProps.value,o.value)||(e===null?e=[s]:e.push(s))}}else if(i===Zf.current){if(o=i.alternate,o===null)throw Error(`Should have a current fiber. This is a bug in React.`);o.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e===null?e=[yC]:e.push(yC))}i=i.return}e!==null&&Jr(t,e,n,r),t.flags|=262144}function Xr(e){for(e=e.firstContext;e!==null;){if(!zh(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Zr(e){s_=e,c_=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Qr(e){return l_&&console.error(`Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().`),ei(s_,e)}function $r(e,t){return s_===null&&Zr(e),ei(e,t)}function ei(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},c_===null){if(e===null)throw Error(`Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().`);c_=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else c_=c_.next=t;return n}function ti(){return{controller:new u_,data:new Map,refCount:0}}function ni(e){e.controller.signal.aborted&&console.warn(`A cache instance was retained after it was already freed. This likely indicates a bug in React.`),e.refCount++}function ri(e){e.refCount--,0>e.refCount&&console.warn(`A cache instance was released after it was already freed. This likely indicates a bug in React.`),e.refCount===0&&d_(f_,function(){e.controller.abort()})}function ii(e,t,n){e&127?0>O_&&(O_=m_(),k_=h_(t),j_=t,n!=null&&(M_=w(n)),(Hb&(Nb|Pb))!==Mb&&(E_=!0,A_=g_),e=Vu(),t=Bu(),e!==F_||t!==P_?F_=-1.1:t!==null&&(A_=g_),N_=e,P_=t):e&4194048&&0>z_&&(z_=m_(),V_=h_(t),H_=t,n!=null&&(U_=w(n)),0>R_)&&(e=Vu(),t=Bu(),(e!==K_||t!==G_)&&(K_=-1.1),W_=e,G_=t)}function ai(e){if(0>O_){O_=m_(),k_=e._debugTask==null?null:e._debugTask,(Hb&(Nb|Pb))!==Mb&&(A_=g_);var t=Vu(),n=Bu();t!==F_||n!==P_?F_=-1.1:n!==null&&(A_=g_),N_=t,P_=n}0>z_&&(z_=m_(),V_=e._debugTask==null?null:e._debugTask,0>R_)&&(e=Vu(),t=Bu(),(e!==K_||t!==G_)&&(K_=-1.1),W_=e,G_=t)}function oi(){var e=C_;return C_=0,e}function si(e){var t=C_;return C_=e,t}function ci(e){var t=C_;return C_+=e,t}function li(){J=q=-1.1}function ui(){var e=q;return q=-1.1,e}function di(e){0<=e&&(q=e)}function fi(){var e=w_;return w_=-0,e}function pi(e){0<=e&&(w_=e)}function mi(){var e=T_;return T_=null,e}function hi(){var e=E_;return E_=!1,e}function gi(e){S_=m_(),0>e.actualStartTime&&(e.actualStartTime=S_)}function _i(e){if(0<=S_){var t=m_()-S_;e.actualDuration+=t,e.selfBaseDuration=t,S_=-1}}function vi(e){if(0<=S_){var t=m_()-S_;e.actualDuration+=t,S_=-1}}function yi(){if(0<=S_){var e=m_(),t=e-S_;S_=-1,C_+=t,w_+=t,J=e}}function bi(e){T_===null&&(T_=[]),T_.push(e),x_===null&&(x_=[]),x_.push(e)}function xi(){S_=m_(),0>q&&(q=S_)}function Si(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Ci(e,t){if(nv===null){var n=nv=[];rv=0,iv=Ql(),av={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return rv++,t.then(wi,wi),t}function wi(){if(--rv===0&&(-1<z_||(R_=-1.1),nv!==null)){av!==null&&(av.status=`fulfilled`);var e=nv;nv=null,iv=0,av=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Ti(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}function Ei(){var e=sv.current;return e===null?Ub.pooledCache:e}function Di(e,t){t===null?E(sv,sv.current,e):E(sv,t.pool,e)}function Oi(){var e=Ei();return e===null?null:{parent:p_._currentValue,pool:e}}function ki(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Ai(e){return e=e.status,e===`fulfilled`||e===`rejected`}function ji(e,t,n){W.actQueue!==null&&(W.didUsePromise=!0);var r=e.thenables;if(n=r[n],n===void 0?r.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error(`A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.`)),t.then(nn,nn),t=n),t._debugInfo===void 0){e=performance.now(),r=t.displayName;var i={name:typeof r==`string`?r:`Promise`,start:e,end:e,value:t};t._debugInfo=[{awaited:i}],t.status!==`fulfilled`&&t.status!==`rejected`&&(e=function(){i.end=performance.now()},t.then(e,e))}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Pi(e),e;default:if(typeof t.status==`string`)t.then(nn,nn);else{if(e=Ub,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Pi(e),e}throw Bv=t,Vv=!0,Iv}}function Mi(e){try{return Fv(e)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Bv=e,Vv=!0,Iv):e}}function Ni(){if(Bv===null)throw Error(`Expected a suspended thenable. This is a bug in React. Please file an issue.`);var e=Bv;return Bv=null,Vv=!1,e}function Pi(e){if(e===Iv||e===Rv)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function Fi(e){var t=Y;return e!=null&&(Y=t===null?e:t.concat(e)),t}function Ii(){var e=Y;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var n=e[t].debugTask;if(n!=null)return n}}return null}function F(e,t,n){for(var r=Object.keys(e.props),i=0;i<r.length;i++){var a=r[i];if(a!==`children`&&a!==`key`){t===null&&(t=br(e,n.mode,0),t._debugInfo=Y,t.return=n),M(t,function(e){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",e)},a);break}}}function Li(e){var t=Uv;return Uv+=1,Hv===null&&(Hv=ki()),ji(Hv,e,t)}function Ri(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function zi(e,t){throw t.$$typeof===Tf?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
91
95
  - Multiple copies of the "react" package is used.
92
96
  - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
93
- - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function fn(e,t){var a=Ea();a!==null?a.run(Nn.bind(null,e,t)):Nn(e,t)}function Wm(e,t){var a=ce(e)||"Component";h2[a]||(h2[a]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
97
+ - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error(`Objects are not valid as a React child (found: `+(e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)+`). If you meant to render a collection of children, use an array instead.`))}function Bi(e,t){var n=Ii();n===null?zi(e,t):n.run(zi.bind(null,e,t))}function Vi(e,t){var n=w(e)||`Component`;qv[n]||(qv[n]=!0,t=t.displayName||t.name||`Component`,e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
94
98
  root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
95
- <%s>{%s}</%s>`,t,t,a,t,a))}function qo(e,t){var a=Ea();a!==null?a.run(Wm.bind(null,e,t)):Wm(e,t)}function bd(e,t){var a=ce(e)||"Component";m2[a]||(m2[a]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
99
+ <%s>{%s}</%s>`,t,t,n,t,n))}function Hi(e,t){var n=Ii();n===null?Vi(e,t):n.run(Vi.bind(null,e,t))}function Ui(e,t){var n=w(e)||`Component`;Jv[n]||(Jv[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
96
100
  root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
97
- <%s>%s</%s>`,a,t,a))}function gf(e,t){var a=Ea();a!==null?a.run(bd.bind(null,e,t)):bd(e,t)}function Ml(e){function t(T,E){if(e){var z=T.deletions;z===null?(T.deletions=[E],T.flags|=16):z.push(E)}}function a(T,E){if(!e)return null;for(;E!==null;)t(T,E),E=E.sibling;return null}function i(T){for(var E=new Map;T!==null;)T.key!==null?E.set(T.key,T):E.set(T.index,T),T=T.sibling;return E}function o(T,E){return T=nu(T,E),T.index=0,T.sibling=null,T}function s(T,E,z){return T.index=z,e?(z=T.alternate,z!==null?(z=z.index,z<E?(T.flags|=67108866,E):z):(T.flags|=67108866,E)):(T.flags|=1048576,E)}function d(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function h(T,E,z,F){return E===null||E.tag!==6?(E=No(z,T.mode,F),E.return=T,E._debugOwner=T,E._debugTask=T._debugTask,E._debugInfo=et,E):(E=o(E,z),E.return=T,E._debugInfo=et,E)}function p(T,E,z,F){var fe=z.type;return fe===gs?(E=O(T,E,z.props.children,F,z.key),sa(z,E,T),E):E!==null&&(E.elementType===fe||wm(E,z)||typeof fe=="object"&&fe!==null&&fe.$$typeof===Il&&Ya(fe)===E.type)?(E=o(E,z.props),Aa(E,z),E.return=T,E._debugOwner=z._owner,E._debugInfo=et,E):(E=Oi(z,T.mode,F),Aa(E,z),E.return=T,E._debugInfo=et,E)}function g(T,E,z,F){return E===null||E.tag!==4||E.stateNode.containerInfo!==z.containerInfo||E.stateNode.implementation!==z.implementation?(E=rd(z,T.mode,F),E.return=T,E._debugInfo=et,E):(E=o(E,z.children||[]),E.return=T,E._debugInfo=et,E)}function O(T,E,z,F,fe){return E===null||E.tag!==7?(E=xc(z,T.mode,F,fe),E.return=T,E._debugOwner=T,E._debugTask=T._debugTask,E._debugInfo=et,E):(E=o(E,z),E.return=T,E._debugInfo=et,E)}function _(T,E,z){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return E=No(""+E,T.mode,z),E.return=T,E._debugOwner=T,E._debugTask=T._debugTask,E._debugInfo=et,E;if(typeof E=="object"&&E!==null){switch(E.$$typeof){case yn:return z=Oi(E,T.mode,z),Aa(z,E),z.return=T,T=sl(E._debugInfo),z._debugInfo=et,et=T,z;case Ii:return E=rd(E,T.mode,z),E.return=T,E._debugInfo=et,E;case Il:var F=sl(E._debugInfo);return E=Ya(E),T=_(T,E,z),et=F,T}if(vl(E)||Ee(E))return z=xc(E,T.mode,z,null),z.return=T,z._debugOwner=T,z._debugTask=T._debugTask,T=sl(E._debugInfo),z._debugInfo=et,et=T,z;if(typeof E.then=="function")return F=sl(E._debugInfo),T=_(T,jn(E),z),et=F,T;if(E.$$typeof===Ln)return _(T,hf(T,E),z);fn(T,E)}return typeof E=="function"&&qo(T,E),typeof E=="symbol"&&gf(T,E),null}function x(T,E,z,F){var fe=E!==null?E.key:null;if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return fe!==null?null:h(T,E,""+z,F);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case yn:return z.key===fe?(fe=sl(z._debugInfo),T=p(T,E,z,F),et=fe,T):null;case Ii:return z.key===fe?g(T,E,z,F):null;case Il:return fe=sl(z._debugInfo),z=Ya(z),T=x(T,E,z,F),et=fe,T}if(vl(z)||Ee(z))return fe!==null?null:(fe=sl(z._debugInfo),T=O(T,E,z,F,null),et=fe,T);if(typeof z.then=="function")return fe=sl(z._debugInfo),T=x(T,E,jn(z),F),et=fe,T;if(z.$$typeof===Ln)return x(T,E,hf(T,z),F);fn(T,z)}return typeof z=="function"&&qo(T,z),typeof z=="symbol"&&gf(T,z),null}function G(T,E,z,F,fe){if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return T=T.get(z)||null,h(E,T,""+F,fe);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case yn:return z=T.get(F.key===null?z:F.key)||null,T=sl(F._debugInfo),E=p(E,z,F,fe),et=T,E;case Ii:return T=T.get(F.key===null?z:F.key)||null,g(E,T,F,fe);case Il:var Xe=sl(F._debugInfo);return F=Ya(F),E=G(T,E,z,F,fe),et=Xe,E}if(vl(F)||Ee(F))return z=T.get(z)||null,T=sl(F._debugInfo),E=O(E,z,F,fe,null),et=T,E;if(typeof F.then=="function")return Xe=sl(F._debugInfo),E=G(T,E,z,jn(F),fe),et=Xe,E;if(F.$$typeof===Ln)return G(T,E,z,hf(E,F),fe);fn(E,F)}return typeof F=="function"&&qo(E,F),typeof F=="symbol"&&gf(E,F),null}function oe(T,E,z,F){if(typeof z!="object"||z===null)return F;switch(z.$$typeof){case yn:case Ii:re(T,E,z);var fe=z.key;if(typeof fe!="string")break;if(F===null){F=new Set,F.add(fe);break}if(!F.has(fe)){F.add(fe);break}ee(E,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",fe)});break;case Il:z=Ya(z),oe(T,E,z,F)}return F}function he(T,E,z,F){for(var fe=null,Xe=null,_e=null,ze=E,ke=E=0,Wt=null;ze!==null&&ke<z.length;ke++){ze.index>ke?(Wt=ze,ze=null):Wt=ze.sibling;var Ol=x(T,ze,z[ke],F);if(Ol===null){ze===null&&(ze=Wt);break}fe=oe(T,Ol,z[ke],fe),e&&ze&&Ol.alternate===null&&t(T,ze),E=s(Ol,E,ke),_e===null?Xe=Ol:_e.sibling=Ol,_e=Ol,ze=Wt}if(ke===z.length)return a(T,ze),st&&Cn(T,ke),Xe;if(ze===null){for(;ke<z.length;ke++)ze=_(T,z[ke],F),ze!==null&&(fe=oe(T,ze,z[ke],fe),E=s(ze,E,ke),_e===null?Xe=ze:_e.sibling=ze,_e=ze);return st&&Cn(T,ke),Xe}for(ze=i(ze);ke<z.length;ke++)Wt=G(ze,T,ke,z[ke],F),Wt!==null&&(fe=oe(T,Wt,z[ke],fe),e&&Wt.alternate!==null&&ze.delete(Wt.key===null?ke:Wt.key),E=s(Wt,E,ke),_e===null?Xe=Wt:_e.sibling=Wt,_e=Wt);return e&&ze.forEach(function(bo){return t(T,bo)}),st&&Cn(T,ke),Xe}function Lt(T,E,z,F){if(z==null)throw Error("An iterable object provided no iterator.");for(var fe=null,Xe=null,_e=E,ze=E=0,ke=null,Wt=null,Ol=z.next();_e!==null&&!Ol.done;ze++,Ol=z.next()){_e.index>ze?(ke=_e,_e=null):ke=_e.sibling;var bo=x(T,_e,Ol.value,F);if(bo===null){_e===null&&(_e=ke);break}Wt=oe(T,bo,Ol.value,Wt),e&&_e&&bo.alternate===null&&t(T,_e),E=s(bo,E,ze),Xe===null?fe=bo:Xe.sibling=bo,Xe=bo,_e=ke}if(Ol.done)return a(T,_e),st&&Cn(T,ze),fe;if(_e===null){for(;!Ol.done;ze++,Ol=z.next())_e=_(T,Ol.value,F),_e!==null&&(Wt=oe(T,_e,Ol.value,Wt),E=s(_e,E,ze),Xe===null?fe=_e:Xe.sibling=_e,Xe=_e);return st&&Cn(T,ze),fe}for(_e=i(_e);!Ol.done;ze++,Ol=z.next())ke=G(_e,T,ze,Ol.value,F),ke!==null&&(Wt=oe(T,ke,Ol.value,Wt),e&&ke.alternate!==null&&_e.delete(ke.key===null?ze:ke.key),E=s(ke,E,ze),Xe===null?fe=ke:Xe.sibling=ke,Xe=ke);return e&&_e.forEach(function(qA){return t(T,qA)}),st&&Cn(T,ze),fe}function dt(T,E,z,F){if(typeof z=="object"&&z!==null&&z.type===gs&&z.key===null&&(sa(z,null,T),z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case yn:var fe=sl(z._debugInfo);e:{for(var Xe=z.key;E!==null;){if(E.key===Xe){if(Xe=z.type,Xe===gs){if(E.tag===7){a(T,E.sibling),F=o(E,z.props.children),F.return=T,F._debugOwner=z._owner,F._debugInfo=et,sa(z,F,T),T=F;break e}}else if(E.elementType===Xe||wm(E,z)||typeof Xe=="object"&&Xe!==null&&Xe.$$typeof===Il&&Ya(Xe)===E.type){a(T,E.sibling),F=o(E,z.props),Aa(F,z),F.return=T,F._debugOwner=z._owner,F._debugInfo=et,T=F;break e}a(T,E);break}else t(T,E);E=E.sibling}z.type===gs?(F=xc(z.props.children,T.mode,F,z.key),F.return=T,F._debugOwner=T,F._debugTask=T._debugTask,F._debugInfo=et,sa(z,F,T),T=F):(F=Oi(z,T.mode,F),Aa(F,z),F.return=T,F._debugInfo=et,T=F)}return T=d(T),et=fe,T;case Ii:e:{for(fe=z,z=fe.key;E!==null;){if(E.key===z)if(E.tag===4&&E.stateNode.containerInfo===fe.containerInfo&&E.stateNode.implementation===fe.implementation){a(T,E.sibling),F=o(E,fe.children||[]),F.return=T,T=F;break e}else{a(T,E);break}else t(T,E);E=E.sibling}F=rd(fe,T.mode,F),F.return=T,T=F}return d(T);case Il:return fe=sl(z._debugInfo),z=Ya(z),T=dt(T,E,z,F),et=fe,T}if(vl(z))return fe=sl(z._debugInfo),T=he(T,E,z,F),et=fe,T;if(Ee(z)){if(fe=sl(z._debugInfo),Xe=Ee(z),typeof Xe!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var _e=Xe.call(z);return _e===z?(T.tag!==0||Object.prototype.toString.call(T.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(_e)!=="[object Generator]")&&(r2||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),r2=!0):z.entries!==Xe||w1||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),w1=!0),T=Lt(T,E,_e,F),et=fe,T}if(typeof z.then=="function")return fe=sl(z._debugInfo),T=dt(T,E,jn(z),F),et=fe,T;if(z.$$typeof===Ln)return dt(T,E,hf(T,z),F);fn(T,z)}return typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint"?(fe=""+z,E!==null&&E.tag===6?(a(T,E.sibling),F=o(E,fe),F.return=T,T=F):(a(T,E),F=No(fe,T.mode,F),F.return=T,F._debugOwner=T,F._debugTask=T._debugTask,F._debugInfo=et,T=F),d(T)):(typeof z=="function"&&qo(T,z),typeof z=="symbol"&&gf(T,z),a(T,E))}return function(T,E,z,F){var fe=et;et=null;try{K0=0;var Xe=dt(T,E,z,F);return Fh=null,Xe}catch(Wt){if(Wt===$h||Wt===fv)throw Wt;var _e=Z(29,Wt,null,T.mode);_e.lanes=F,_e.return=T;var ze=_e._debugInfo=et;if(_e._debugOwner=T._debugOwner,_e._debugTask=T._debugTask,ze!=null){for(var ke=ze.length-1;0<=ke;ke--)if(typeof ze[ke].stack=="string"){_e._debugOwner=ze[ke],_e._debugTask=ze[ke].debugTask;break}}return _e}finally{et=fe}}}function qt(e,t){var a=vl(e);return e=!a&&typeof Ee(e)=="function",a||e?(a=a?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",a,t,a),!1):!0}function ct(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function cu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Sl(e){return{lane:e,tag:p2,payload:null,callback:null,next:null}}function ou(e,t,a){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,X1===i&&!b2){var o=ce(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
101
+ <%s>%s</%s>`,n,t,n))}function Wi(e,t){var n=Ii();n===null?Ui(e,t):n.run(Ui.bind(null,e,t))}function Gi(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function i(e,t){return e=_r(e,t),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function o(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function s(e,t,n,r){return t===null||t.tag!==6?(t=Sr(n,e.mode,r),t.return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=Y,t):(t=i(t,n),t.return=e,t._debugInfo=Y,t)}function c(e,t,n,r){var a=n.type;return a===Of?(t=u(e,t,n.props.children,r,n.key),F(n,t,e),t):t!==null&&(t.elementType===a||fr(t,n)||typeof a==`object`&&a&&a.$$typeof===Lf&&Mi(a)===t.type)?(t=i(t,n.props),Ri(t,n),t.return=e,t._debugOwner=n._owner,t._debugInfo=Y,t):(t=br(n,e.mode,r),Ri(t,n),t.return=e,t._debugInfo=Y,t)}function l(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=wr(n,e.mode,r),t.return=e,t._debugInfo=Y,t):(t=i(t,n.children||[]),t.return=e,t._debugInfo=Y,t)}function u(e,t,n,r,a){return t===null||t.tag!==7?(t=xr(n,e.mode,r,a),t.return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=Y,t):(t=i(t,n),t.return=e,t._debugInfo=Y,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=Sr(``+t,e.mode,n),t.return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=Y,t;if(typeof t==`object`&&t){switch(t.$$typeof){case Ef:return n=br(t,e.mode,n),Ri(n,t),n.return=e,e=Fi(t._debugInfo),n._debugInfo=Y,Y=e,n;case Df:return t=wr(t,e.mode,n),t.return=e,t._debugInfo=Y,t;case Lf:var r=Fi(t._debugInfo);return t=Mi(t),e=f(e,t,n),Y=r,e}if(Hf(t)||te(t))return n=xr(t,e.mode,n,null),n.return=e,n._debugOwner=e,n._debugTask=e._debugTask,e=Fi(t._debugInfo),n._debugInfo=Y,Y=e,n;if(typeof t.then==`function`)return r=Fi(t._debugInfo),e=f(e,Li(t),n),Y=r,e;if(t.$$typeof===Mf)return f(e,$r(e,t),n);Bi(e,t)}return typeof t==`function`&&Hi(e,t),typeof t==`symbol`&&Wi(e,t),null}function m(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?s(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case Ef:return n.key===i?(i=Fi(n._debugInfo),e=c(e,t,n,r),Y=i,e):null;case Df:return n.key===i?l(e,t,n,r):null;case Lf:return i=Fi(n._debugInfo),n=Mi(n),e=m(e,t,n,r),Y=i,e}if(Hf(n)||te(n))return i===null?(i=Fi(n._debugInfo),e=u(e,t,n,r,null),Y=i,e):null;if(typeof n.then==`function`)return i=Fi(n._debugInfo),e=m(e,t,Li(n),r),Y=i,e;if(n.$$typeof===Mf)return m(e,t,$r(e,n),r);Bi(e,n)}return typeof n==`function`&&Hi(e,n),typeof n==`symbol`&&Wi(e,n),null}function h(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,s(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case Ef:return n=e.get(r.key===null?n:r.key)||null,e=Fi(r._debugInfo),t=c(t,n,r,i),Y=e,t;case Df:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case Lf:var a=Fi(r._debugInfo);return r=Mi(r),t=h(e,t,n,r,i),Y=a,t}if(Hf(r)||te(r))return n=e.get(n)||null,e=Fi(r._debugInfo),t=u(t,n,r,i,null),Y=e,t;if(typeof r.then==`function`)return a=Fi(r._debugInfo),t=h(e,t,n,Li(r),i),Y=a,t;if(r.$$typeof===Mf)return h(e,t,n,$r(t,r),i);Bi(t,r)}return typeof r==`function`&&Hi(t,r),typeof r==`symbol`&&Wi(t,r),null}function g(e,t,n,r){if(typeof n!=`object`||!n)return r;switch(n.$$typeof){case Ef:case Df:d(e,t,n);var i=n.key;if(typeof i!=`string`)break;if(r===null){r=new Set,r.add(i);break}if(!r.has(i)){r.add(i);break}M(t,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",i)});break;case Lf:n=Mi(n),g(e,t,n,r)}return r}function _(i,o,s,c){for(var l=null,u=null,d=null,p=o,_=o=0,v=null;p!==null&&_<s.length;_++){p.index>_?(v=p,p=null):v=p.sibling;var y=m(i,p,s[_],c);if(y===null){p===null&&(p=v);break}l=g(i,y,s[_],l),e&&p&&y.alternate===null&&t(i,p),o=a(y,o,_),d===null?u=y:d.sibling=y,d=y,p=v}if(_===s.length)return n(i,p),Qg&&Er(i,_),u;if(p===null){for(;_<s.length;_++)p=f(i,s[_],c),p!==null&&(l=g(i,p,s[_],l),o=a(p,o,_),d===null?u=p:d.sibling=p,d=p);return Qg&&Er(i,_),u}for(p=r(p);_<s.length;_++)v=h(p,i,_,s[_],c),v!==null&&(l=g(i,v,s[_],l),e&&v.alternate!==null&&p.delete(v.key===null?_:v.key),o=a(v,o,_),d===null?u=v:d.sibling=v,d=v);return e&&p.forEach(function(e){return t(i,e)}),Qg&&Er(i,_),u}function v(i,o,s,c){if(s==null)throw Error(`An iterable object provided no iterator.`);for(var l=null,u=null,d=o,p=o=0,_=null,v=null,y=s.next();d!==null&&!y.done;p++,y=s.next()){d.index>p?(_=d,d=null):_=d.sibling;var b=m(i,d,y.value,c);if(b===null){d===null&&(d=_);break}v=g(i,b,y.value,v),e&&d&&b.alternate===null&&t(i,d),o=a(b,o,p),u===null?l=b:u.sibling=b,u=b,d=_}if(y.done)return n(i,d),Qg&&Er(i,p),l;if(d===null){for(;!y.done;p++,y=s.next())d=f(i,y.value,c),d!==null&&(v=g(i,d,y.value,v),o=a(d,o,p),u===null?l=d:u.sibling=d,u=d);return Qg&&Er(i,p),l}for(d=r(d);!y.done;p++,y=s.next())_=h(d,i,p,y.value,c),_!==null&&(v=g(i,_,y.value,v),e&&_.alternate!==null&&d.delete(_.key===null?p:_.key),o=a(_,o,p),u===null?l=_:u.sibling=_,u=_);return e&&d.forEach(function(e){return t(i,e)}),Qg&&Er(i,p),l}function y(e,r,a,s){if(typeof a==`object`&&a&&a.type===Of&&a.key===null&&(F(a,null,e),a=a.props.children),typeof a==`object`&&a){switch(a.$$typeof){case Ef:var c=Fi(a._debugInfo);a:{for(var l=a.key;r!==null;){if(r.key===l){if(l=a.type,l===Of){if(r.tag===7){n(e,r.sibling),s=i(r,a.props.children),s.return=e,s._debugOwner=a._owner,s._debugInfo=Y,F(a,s,e),e=s;break a}}else if(r.elementType===l||fr(r,a)||typeof l==`object`&&l&&l.$$typeof===Lf&&Mi(l)===r.type){n(e,r.sibling),s=i(r,a.props),Ri(s,a),s.return=e,s._debugOwner=a._owner,s._debugInfo=Y,e=s;break a}n(e,r);break}else t(e,r);r=r.sibling}a.type===Of?(s=xr(a.props.children,e.mode,s,a.key),s.return=e,s._debugOwner=e,s._debugTask=e._debugTask,s._debugInfo=Y,F(a,s,e),e=s):(s=br(a,e.mode,s),Ri(s,a),s.return=e,s._debugInfo=Y,e=s)}return e=o(e),Y=c,e;case Df:a:{for(c=a,a=c.key;r!==null;){if(r.key===a)if(r.tag===4&&r.stateNode.containerInfo===c.containerInfo&&r.stateNode.implementation===c.implementation){n(e,r.sibling),s=i(r,c.children||[]),s.return=e,e=s;break a}else{n(e,r);break}else t(e,r);r=r.sibling}s=wr(c,e.mode,s),s.return=e,e=s}return o(e);case Lf:return c=Fi(a._debugInfo),a=Mi(a),e=y(e,r,a,s),Y=c,e}if(Hf(a))return c=Fi(a._debugInfo),e=_(e,r,a,s),Y=c,e;if(te(a)){if(c=Fi(a._debugInfo),l=te(a),typeof l!=`function`)throw Error(`An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.`);var u=l.call(a);return u===a?(e.tag!==0||Object.prototype.toString.call(e.type)!==`[object GeneratorFunction]`||Object.prototype.toString.call(u)!==`[object Generator]`)&&(Gv||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),Gv=!0):a.entries!==l||Wv||(console.error(`Using Maps as children is not supported. Use an array of keyed ReactElements instead.`),Wv=!0),e=v(e,r,u,s),Y=c,e}if(typeof a.then==`function`)return c=Fi(a._debugInfo),e=y(e,r,Li(a),s),Y=c,e;if(a.$$typeof===Mf)return y(e,r,$r(e,a),s);Bi(e,a)}return typeof a==`string`&&a!==``||typeof a==`number`||typeof a==`bigint`?(c=``+a,r!==null&&r.tag===6?(n(e,r.sibling),s=i(r,c),s.return=e,e=s):(n(e,r),s=Sr(c,e.mode,s),s.return=e,s._debugOwner=e,s._debugTask=e._debugTask,s._debugInfo=Y,e=s),o(e)):(typeof a==`function`&&Hi(e,a),typeof a==`symbol`&&Wi(e,a),n(e,r))}return function(e,t,n,r){var i=Y;Y=null;try{Uv=0;var a=y(e,t,n,r);return Hv=null,a}catch(t){if(t===Iv||t===Rv)throw t;var o=p(29,t,null,e.mode);o.lanes=r,o.return=e;var s=o._debugInfo=Y;if(o._debugOwner=e._debugOwner,o._debugTask=e._debugTask,s!=null){for(var c=s.length-1;0<=c;c--)if(typeof s[c].stack==`string`){o._debugOwner=s[c],o._debugTask=s[c].debugTask;break}}return o}finally{Y=i}}}function Ki(e,t){var n=Hf(e);return e=!n&&typeof te(e)==`function`,n||e?(n=n?`array`:`iterable`,console.error(`A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>`,n,t,n),!1):!0}function qi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ji(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Yi(e){return{lane:e,tag:Zv,payload:null,callback:null,next:null}}function Xi(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ry===r&&!ny){var i=w(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
98
102
 
99
- Please update the following component: %s`,o),b2=!0}return(yt&$l)!==la?(o=i.pending,o===null?t.next=t:(t.next=o.next,o.next=t),i.pending=t,t=ff(e),Gm(e,null,a),t):(jo(e,i,t,a),ff(e))}function rn(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,bp(e,a)}}function vf(e,t){var a=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,a===i)){var o=null,s=null;if(a=a.firstBaseUpdate,a!==null){do{var d={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};s===null?o=s=d:s=s.next=d,a=a.next}while(a!==null);s===null?o=s=t:s=s.next=t}else o=s=t;a={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:s,shared:i.shared,callbacks:i.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}function Yo(){if(Q1){var e=Kh;if(e!==null)throw e}}function su(e,t,a,i){Q1=!1;var o=e.updateQueue;Ys=!1,X1=o.shared;var s=o.firstBaseUpdate,d=o.lastBaseUpdate,h=o.shared.pending;if(h!==null){o.shared.pending=null;var p=h,g=p.next;p.next=null,d===null?s=g:d.next=g,d=p;var O=e.alternate;O!==null&&(O=O.updateQueue,h=O.lastBaseUpdate,h!==d&&(h===null?O.firstBaseUpdate=g:h.next=g,O.lastBaseUpdate=p))}if(s!==null){var _=o.baseState;d=0,O=g=p=null,h=s;do{var x=h.lane&-536870913,G=x!==h.lane;if(G?(tt&x)===x:(i&x)===x){x!==0&&x===xr&&(Q1=!0),O!==null&&(O=O.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});e:{x=e;var oe=h,he=t,Lt=a;switch(oe.tag){case g2:if(oe=oe.payload,typeof oe=="function"){Zh=!0;var dt=oe.call(Lt,_,he);if(x.mode&ja){Bt(!0);try{oe.call(Lt,_,he)}finally{Bt(!1)}}Zh=!1,_=dt;break e}_=oe;break e;case V1:x.flags=x.flags&-65537|128;case p2:if(dt=oe.payload,typeof dt=="function"){if(Zh=!0,oe=dt.call(Lt,_,he),x.mode&ja){Bt(!0);try{dt.call(Lt,_,he)}finally{Bt(!1)}}Zh=!1}else oe=dt;if(oe==null)break e;_=Ie({},_,oe);break e;case v2:Ys=!0}}x=h.callback,x!==null&&(e.flags|=64,G&&(e.flags|=8192),G=o.callbacks,G===null?o.callbacks=[x]:G.push(x))}else G={lane:x,tag:h.tag,payload:h.payload,callback:h.callback,next:null},O===null?(g=O=G,p=_):O=O.next=G,d|=x;if(h=h.next,h===null){if(h=o.shared.pending,h===null)break;G=h,h=G.next,G.next=null,o.lastBaseUpdate=G,o.shared.pending=null}}while(!0);O===null&&(p=_),o.baseState=p,o.firstBaseUpdate=g,o.lastBaseUpdate=O,s===null&&(o.shared.lanes=0),Vs|=d,e.lanes=d,e.memoizedState=_}X1=null}function ji(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Im(e,t){var a=e.shared.hiddenCallbacks;if(a!==null)for(e.shared.hiddenCallbacks=null,e=0;e<a.length;e++)ji(a[e],t)}function Go(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)ji(a[e],t)}function Sd(e,t){var a=ic;De(dv,a,e),De(kh,t,e),ic=a|t.baseLanes}function Wu(e){De(dv,ic,e),De(kh,kh.current,e)}function Rn(e){ic=dv.current,Re(kh,e),Re(dv,e)}function fa(e){var t=e.alternate;De(zl,zl.current&Wh,e),De($n,e,e),qu===null&&(t===null||kh.current!==null||t.memoizedState!==null)&&(qu=e)}function Un(e){De(zl,zl.current,e),De($n,e,e),qu===null&&(qu=e)}function Td(e){e.tag===22?(De(zl,zl.current,e),De($n,e,e),qu===null&&(qu=e)):fu(e)}function fu(e){De(zl,zl.current,e),De($n,$n.current,e)}function _l(e){Re($n,e),qu===e&&(qu=null),Re(zl,e)}function Mc(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||er(a)||Fy(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function we(){var e=w;Gu===null?Gu=[e]:Gu.push(e)}function P(){var e=w;if(Gu!==null&&(mo++,Gu[mo]!==e)){var t=ce(Ve);if(!S2.has(t)&&(S2.add(t),Gu!==null)){for(var a="",i=0;i<=mo;i++){var o=Gu[i],s=i===mo?e:o;for(o=i+1+". "+o;30>o.length;)o+=" ";o+=s+`
100
- `,a+=o}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
103
+ Please update the following component: %s`,i),ny=!0}return(Hb&Nb)===Mb?(ar(e,r,t,n),lr(e)):(i=r.pending,i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=lr(e),cr(e,null,n),t)}function Zi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ie(e,n)}}function Qi(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function $i(){if(iy){var e=av;if(e!==null)throw e}}function ea(e,t,n,r){iy=!1;var i=e.updateQueue;ty=!1,ry=i.shared;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?($&f)===f:(r&f)===f){f!==0&&f===iv&&(iy=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{f=e;var m=s,h=t,g=n;switch(m.tag){case Qv:if(m=m.payload,typeof m==`function`){l_=!0;var _=m.call(g,d,h);if(f.mode&Fg){Te(!0);try{m.call(g,d,h)}finally{Te(!1)}}l_=!1,d=_;break a}d=m;break a;case ey:f.flags=f.flags&-65537|128;case Zv:if(_=m.payload,typeof _==`function`){if(l_=!0,m=_.call(g,d,h),f.mode&Fg){Te(!0);try{_.call(g,d,h)}finally{Te(!1)}}l_=!1}else m=_;if(m==null)break a;d=U({},d,m);break a;case $v:ty=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),sx|=o,e.lanes=o,e.memoizedState=d}ry=null}function ta(e,t){if(typeof e!=`function`)throw Error(`Invalid argument passed as callback. Expected a function. Instead received: `+e);e.call(t)}function na(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)ta(n[e],t)}function ra(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)ta(n[e],t)}function ia(e,t){var n=ax;E(oy,n,e),E(ay,t,e),ax=n|t.baseLanes}function aa(e){E(oy,ax,e),E(ay,ay.current,e)}function oa(e){ax=oy.current,T(ay,e),T(oy,e)}function sa(e){var t=e.alternate;E(dy,dy.current&ly,e),E(sy,e,e),cy===null&&(t===null||ay.current!==null||t.memoizedState!==null)&&(cy=e)}function ca(e){E(dy,dy.current,e),E(sy,e,e),cy===null&&(cy=e)}function la(e){e.tag===22?(E(dy,dy.current,e),E(sy,e,e),cy===null&&(cy=e)):ua(e)}function ua(e){E(dy,dy.current,e),E(sy,sy.current,e)}function da(e){T(sy,e),cy===e&&(cy=null),T(dy,e)}function I(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||ud(n)||dd(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function L(){var e=Z;Ny===null?Ny=[e]:Ny.push(e)}function R(){var e=Z;if(Ny!==null&&(Py++,Ny[Py]!==e)){var t=w(X);if(!vy.has(t)&&(vy.add(t),Ny!==null)){for(var n=``,r=0;r<=Py;r++){var i=Ny[r],a=r===Py?e:i;for(i=r+1+`. `+i;30>i.length;)i+=` `;i+=a+`
104
+ `,n+=i}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
101
105
 
102
106
  Previous render Next render
103
107
  ------------------------------------------------------
104
108
  %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
105
- `,t,a)}}}function Iu(e){e==null||vl(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",w,typeof e)}function bf(){var e=ce(Ve);x2.has(e)||(x2.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function al(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
109
+ `,t,n)}}}function fa(e){e==null||Hf(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Z,typeof e)}function pa(){var e=w(X);xy.has(e)||(xy.add(e),console.error(`ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.`,e))}function ma(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
106
110
  1. You might have mismatching versions of React and the renderer (such as React DOM)
107
111
  2. You might be breaking the Rules of Hooks
108
112
  3. You might have more than one copy of React in the same app
109
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Pm(e,t){if(k0)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",w),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
113
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function ha(e,t){if(Fy)return!1;if(t===null)return console.error(`%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`,Z),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
110
114
 
111
115
  Previous: %s
112
- Incoming: %s`,w,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!Wa(e[a],t[a]))return!1;return!0}function ey(e,t,a,i,o,s){ro=s,Ve=t,Gu=e!==null?e._debugHookTypes:null,mo=-1,k0=e!==null&&e.type!==t.type,(Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")&&(s=ce(Ve),L1.has(s)||(L1.add(s),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",s===null?"An unknown Component":"<"+s+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,V.H=e!==null&&e.memoizedState!==null?J1:Gu!==null?E2:Z1,Dr=s=(t.mode&ja)!==qe;var d=q1(a,i,o);if(Dr=!1,Ph&&(d=Sf(t,a,i,o)),s){Bt(!0);try{d=Sf(t,a,i,o)}finally{Bt(!1)}}return fl(e,t),d}function fl(e,t){t._debugHookTypes=Gu,t.dependencies===null?ho!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:ho}):t.dependencies._debugThenableState=ho,V.H=W0;var a=wt!==null&&wt.next!==null;if(ro=0,Gu=w=ql=wt=Ve=null,mo=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),mv=!1,F0=0,ho=null,a)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Yl||(e=e.dependencies,e!==null&&Uo(e)&&(Yl=!0)),J0?(J0=!1,e=!0):e=!1,e&&(t=ce(t)||"Unknown",T2.has(t)||L1.has(t)||(T2.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Sf(e,t,a,i){Ve=e;var o=0;do{if(Ph&&(ho=null),F0=0,Ph=!1,o>=yA)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o+=1,k0=!1,ql=wt=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}mo=-1,V.H=A2,s=q1(t,a,i)}while(Ph);return s}function Tf(){var e=V.H,t=e.useState()[0];return t=typeof t.then=="function"?Af(t):t,e=e.useState()[0],(wt!==null?wt.memoizedState:null)!==e&&(Ve.flags|=1024),t}function _c(){var e=yv!==0;return yv=0,e}function xf(e,t,a){t.updateQueue=e.updateQueue,t.flags=(t.mode&hi)!==qe?t.flags&-402655237:t.flags&-2053,e.lanes&=~a}function Ni(e){if(mv){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}mv=!1}ro=0,Gu=ql=wt=Ve=null,mo=-1,w=null,Ph=!1,F0=yv=0,ho=null}function pl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ql===null?Ve.memoizedState=ql=e:ql=ql.next=e,ql}function xt(){if(wt===null){var e=Ve.alternate;e=e!==null?e.memoizedState:null}else e=wt.next;var t=ql===null?Ve.memoizedState:ql.next;if(t!==null)ql=t,wt=e;else{if(e===null)throw Ve.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");wt=e,e={memoizedState:wt.memoizedState,baseState:wt.baseState,baseQueue:wt.baseQueue,queue:wt.queue,next:null},ql===null?Ve.memoizedState=ql=e:ql=ql.next=e}return ql}function Ef(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Af(e){var t=F0;return F0+=1,ho===null&&(ho=vd()),e=qa(ho,e,t),t=Ve,(ql===null?t.memoizedState:ql.next)===null&&(t=t.alternate,V.H=t!==null&&t.memoizedState!==null?J1:Z1),e}function Pu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Af(e);if(e.$$typeof===Ln)return vt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Ga(e){var t=null,a=Ve.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var i=Ve.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Ef(),Ve.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0||k0)for(a=t.data[t.index]=Array(e),i=0;i<e;i++)a[i]=f1;else a.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",a.length,e);return t.index++,a}function wa(e,t){return typeof t=="function"?t(e):t}function wo(e,t,a){var i=pl();if(a!==void 0){var o=a(t);if(Dr){Bt(!0);try{a(t)}finally{Bt(!1)}}}else o=t;return i.memoizedState=i.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},i.queue=e,e=e.dispatch=u1.bind(null,Ve,e),[i.memoizedState,e]}function jc(e){var t=xt();return Ri(t,wt,e)}function Ri(e,t,a){var i=e.queue;if(i===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");i.lastRenderedReducer=a;var o=e.baseQueue,s=i.pending;if(s!==null){if(o!==null){var d=o.next;o.next=s.next,s.next=d}t.baseQueue!==o&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=o=s,i.pending=null}if(s=e.baseState,o===null)e.memoizedState=s;else{t=o.next;var h=d=null,p=null,g=t,O=!1;do{var _=g.lane&-536870913;if(_!==g.lane?(tt&_)===_:(ro&_)===_){var x=g.revertLane;if(x===0)p!==null&&(p=p.next={lane:0,revertLane:0,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null}),_===xr&&(O=!0);else if((ro&x)===x){g=g.next,x===xr&&(O=!0);continue}else _={lane:0,revertLane:g.revertLane,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},p===null?(h=p=_,d=s):p=p.next=_,Ve.lanes|=x,Vs|=x;_=g.action,Dr&&a(s,_),s=g.hasEagerState?g.eagerState:a(s,_)}else x={lane:_,revertLane:g.revertLane,gesture:g.gesture,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},p===null?(h=p=x,d=s):p=p.next=x,Ve.lanes|=_,Vs|=_;g=g.next}while(g!==null&&g!==t);if(p===null?d=s:p.next=h,!Wa(s,e.memoizedState)&&(Yl=!0,O&&(a=Kh,a!==null)))throw a;e.memoizedState=s,e.baseState=d,e.baseQueue=p,i.lastRenderedState=s}return o===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function Nc(e){var t=xt(),a=t.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=e;var i=a.dispatch,o=a.pending,s=t.memoizedState;if(o!==null){a.pending=null;var d=o=o.next;do s=e(s,d.action),d=d.next;while(d!==o);Wa(s,t.memoizedState)||(Yl=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),a.lastRenderedState=s}return[s,i]}function Vo(e,t,a){var i=Ve,o=pl();if(st){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var s=a();Ih||s===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Ih=!0)}else{if(s=t(),Ih||(a=t(),Wa(s,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Ih=!0)),Vt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(tt&127)!==0||ty(i,t,s)}return o.memoizedState=s,a={value:s,getSnapshot:t},o.queue=a,Hc(Ui.bind(null,i,a,e),[e]),i.flags|=2048,ru(Yu|en,{destroy:void 0},ly.bind(null,i,a,s,t),null),s}function Rc(e,t,a){var i=Ve,o=xt(),s=st;if(s){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");a=a()}else if(a=t(),!Ih){var d=t();Wa(a,d)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Ih=!0)}(d=!Wa((wt||o).memoizedState,a))&&(o.memoizedState=a,Yl=!0),o=o.queue;var h=Ui.bind(null,i,o,e);if(Tl(2048,en,h,[e]),o.getSnapshot!==t||d||ql!==null&&ql.memoizedState.tag&Yu){if(i.flags|=2048,ru(Yu|en,{destroy:void 0},ly.bind(null,i,o,a,t),null),Vt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");s||(ro&127)!==0||ty(i,t,a)}return a}function ty(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=Ve.updateQueue,t===null?(t=Ef(),Ve.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function ly(e,t,a,i){t.value=a,t.getSnapshot=i,Hi(t)&&ay(e)}function Ui(e,t,a){return a(function(){Hi(t)&&(uu(2,"updateSyncExternalStore()",e),ay(e))})}function Hi(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!Wa(e,a)}catch{return!0}}function ay(e){var t=Fl(e,2);t!==null&&Ye(t,e,2)}function xd(e){var t=pl();if(typeof e=="function"){var a=e;if(e=a(),Dr){Bt(!0);try{a()}finally{Bt(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:e},t}function Bi(e){e=xd(e);var t=e.queue,a=Cd.bind(null,Ve,t);return t.dispatch=a,[e.memoizedState,a]}function Uc(e){var t=pl();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=jf.bind(null,Ve,!0,a),a.dispatch=t,[e,t]}function zf(e,t){var a=xt();return Xo(a,wt,e,t)}function Xo(e,t,a,i){return e.baseState=a,Ri(e,wt,typeof i=="function"?i:wa)}function Of(e,t){var a=xt();return wt!==null?Xo(a,wt,e,t):(a.baseState=e,[e,a.queue.dispatch])}function Qp(e,t,a,i,o){if(jl(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var s={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){s.listeners.push(d)}};V.T!==null?a(!0):s.isTransition=!1,i(s),a=t.pending,a===null?(s.next=t.pending=s,qi(t,s)):(s.next=a.next,t.pending=a.next=s)}}function qi(e,t){var a=t.action,i=t.payload,o=e.state;if(t.isTransition){var s=V.T,d={};d._updatedFibers=new Set,V.T=d;try{var h=a(o,i),p=V.S;p!==null&&p(d,h),ny(e,t,h)}catch(g){Df(e,t,g)}finally{s!==null&&d.types!==null&&(s.types!==null&&s.types!==d.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),s.types=d.types),V.T=s,s===null&&d._updatedFibers&&(e=d._updatedFibers.size,d._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{d=a(o,i),ny(e,t,d)}catch(g){Df(e,t,g)}}function ny(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?(V.asyncTransitions++,a.then(Bc,Bc),a.then(function(i){ei(e,t,i)},function(i){return Df(e,t,i)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):ei(e,t,a)}function ei(e,t,a){t.status="fulfilled",t.value=a,Ed(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,qi(e,a)))}function Df(e,t,a){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=a,Ed(t),t=t.next;while(t!==i)}e.action=null}function Ed(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function ti(e,t){return t}function Va(e,t){if(st){var a=Vt.formState;if(a!==null){e:{var i=Ve;if(st){if(kt){t:{for(var o=kt,s=Hu;o.nodeType!==8;){if(!s){o=null;break t}if(o=Ka(o.nextSibling),o===null){o=null;break t}}s=o.data,o=s===yb||s===sT?o:null}if(o){kt=Ka(o.nextSibling),i=o.data===yb;break e}}un(i)}i=!1}i&&(t=a[0])}}return a=pl(),a.memoizedState=a.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ti,lastRenderedState:t},a.queue=i,a=Cd.bind(null,Ve,i),i.dispatch=a,i=xd(!1),s=jf.bind(null,Ve,!1,i.queue),i=pl(),o={state:t,dispatch:null,action:e,pending:null},i.queue=o,a=Qp.bind(null,Ve,o,s,a),o.dispatch=a,i.memoizedState=e,[t,a,!1]}function Yi(e){var t=xt();return Ad(t,wt,e)}function Ad(e,t,a){if(t=Ri(e,t,ti)[0],e=jc(wa)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=Af(t)}catch(d){throw d===$h?fv:d}else i=t;t=xt();var o=t.queue,s=o.dispatch;return a!==t.memoizedState&&(Ve.flags|=2048,ru(Yu|en,{destroy:void 0},uy.bind(null,o,a),null)),[i,s,e]}function uy(e,t){e.action=t}function Gi(e){var t=xt(),a=wt;if(a!==null)return Ad(t,a,e);xt(),t=t.memoizedState,a=xt();var i=a.queue.dispatch;return a.memoizedState=e,[t,i,!1]}function ru(e,t,a,i){return e={tag:e,create:a,deps:i,inst:t,next:null},t=Ve.updateQueue,t===null&&(t=Ef(),Ve.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(i=a.next,a.next=e,e.next=i,t.lastEffect=e),e}function zd(e){var t=pl();return e={current:e},t.memoizedState=e}function wi(e,t,a,i){var o=pl();Ve.flags|=e,o.memoizedState=ru(Yu|t,{destroy:void 0},a,i===void 0?null:i)}function Tl(e,t,a,i){var o=xt();i=i===void 0?null:i;var s=o.memoizedState.inst;wt!==null&&i!==null&&Pm(i,wt.memoizedState.deps)?o.memoizedState=ru(t,s,a,i):(Ve.flags|=e,o.memoizedState=ru(Yu|t,s,a,i))}function Hc(e,t){(Ve.mode&hi)!==qe?wi(276826112,en,e,t):wi(8390656,en,e,t)}function Lp(e){Ve.flags|=4;var t=Ve.updateQueue;if(t===null)t=Ef(),Ve.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function Cf(e){var t=pl(),a={impl:e};return t.memoizedState=a,function(){if((yt&$l)!==la)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return a.impl.apply(void 0,arguments)}}function Qo(e){var t=xt().memoizedState;return Lp({ref:t,nextImpl:e}),function(){if((yt&$l)!==la)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function ra(e,t){var a=4194308;return(Ve.mode&hi)!==qe&&(a|=134217728),wi(a,Fn,e,t)}function Xa(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function du(e,t,a){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),a=a!=null?a.concat([e]):null;var i=4194308;(Ve.mode&hi)!==qe&&(i|=134217728),wi(i,Fn,Xa.bind(null,t,e),a)}function Lo(e,t,a){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),a=a!=null?a.concat([e]):null,Tl(4,Fn,Xa.bind(null,t,e),a)}function Od(e,t){return pl().memoizedState=[e,t===void 0?null:t],e}function Hn(e,t){var a=xt();t=t===void 0?null:t;var i=a.memoizedState;return t!==null&&Pm(t,i[1])?i[0]:(a.memoizedState=[e,t],e)}function da(e,t){var a=pl();t=t===void 0?null:t;var i=e();if(Dr){Bt(!0);try{e()}finally{Bt(!1)}}return a.memoizedState=[i,t],i}function Jt(e,t){var a=xt();t=t===void 0?null:t;var i=a.memoizedState;if(t!==null&&Pm(t,i[1]))return i[0];if(i=e(),Dr){Bt(!0);try{e()}finally{Bt(!1)}}return a.memoizedState=[i,t],i}function Zo(e,t){var a=pl();return Et(a,e,t)}function hu(e,t){var a=xt();return rl(a,wt.memoizedState,e,t)}function Je(e,t){var a=xt();return wt===null?Et(a,e,t):rl(a,wt.memoizedState,e,t)}function Et(e,t,a){return a===void 0||(ro&1073741824)!==0&&(tt&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=Po(),Ve.lanes|=e,Vs|=e,a)}function rl(e,t,a,i){return Wa(a,t)?a:kh.current!==null?(e=Et(e,a,i),Wa(e,t)||(Yl=!0),e):(ro&42)===0||(ro&1073741824)!==0&&(tt&261930)===0?(Yl=!0,e.memoizedState=a):(e=Po(),Ve.lanes|=e,Vs|=e,t)}function Bc(){V.asyncTransitions--}function qc(e,t,a,i,o){var s=St.p;St.p=s!==0&&s<Jl?s:Jl;var d=V.T,h={};h._updatedFibers=new Set,V.T=h,jf(e,!1,t,a);try{var p=o(),g=V.S;if(g!==null&&g(h,p),p!==null&&typeof p=="object"&&typeof p.then=="function"){V.asyncTransitions++,p.then(Bc,Bc);var O=gd(p,i);Yc(e,t,O,Wl(e))}else Yc(e,t,i,Wl(e))}catch(_){Yc(e,t,{then:function(){},status:"rejected",reason:_},Wl(e))}finally{St.p=s,d!==null&&h.types!==null&&(d.types!==null&&d.types!==h.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),d.types=h.types),V.T=d,d===null&&h._updatedFibers&&(e=h._updatedFibers.size,h._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function li(e,t,a,i){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var o=Mf(e).queue;Vp(e),qc(e,o,t,Yr,a===null?te:function(){return Jo(e),a(i)})}function Mf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Yr,baseState:Yr,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:Yr},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Jo(e){V.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=Mf(e);t.next===null&&(t=e.alternate.memoizedState),Yc(e,t.next.queue,{},Wl(e))}function Vi(){var e=xd(!1);return e=qc.bind(null,Ve,e.queue,!0,!1),pl().memoizedState=e,[!1,e]}function Zp(){var e=jc(wa)[0],t=xt().memoizedState;return[typeof e=="boolean"?e:Af(e),t]}function It(){var e=Nc(wa)[0],t=xt().memoizedState;return[typeof e=="boolean"?e:Af(e),t]}function ai(){return vt(dp)}function _f(){var e=pl(),t=Vt.identifierPrefix;if(st){var a=io,i=uo;a=(i&~(1<<32-Zl(i)-1)).toString(32)+a,t="_"+t+"R_"+a,a=yv++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=mA++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t}function Dd(){return pl().memoizedState=Jp.bind(null,Ve)}function Jp(e,t){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var i=Wl(a),o=Sl(i),s=ou(a,o,i);s!==null&&(uu(i,"refresh()",e),Ye(s,a,i),rn(s,a,i)),e=yd(),t!=null&&s!==null&&console.error("The seed argument is not enabled outside experimental channels."),o.payload={cache:e};return}a=a.return}}function u1(e,t,a){var i=arguments;typeof i[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),i=Wl(e);var o={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};jl(e)?nl(t,o):(o=bc(e,t,o,i),o!==null&&(uu(i,"dispatch()",e),Ye(o,e,i),Nf(o,t,i)))}function Cd(e,t,a){var i=arguments;typeof i[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),i=Wl(e),Yc(e,t,a,i)&&uu(i,"setState()",e)}function Yc(e,t,a,i){var o={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(jl(e))nl(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null)){var d=V.H;V.H=yi;try{var h=t.lastRenderedState,p=s(h,a);if(o.hasEagerState=!0,o.eagerState=p,Wa(p,h))return jo(e,t,o,0),Vt===null&&sd(),!1}catch{}finally{V.H=d}}if(a=bc(e,t,o,i),a!==null)return Ye(a,e,i),Nf(a,t,i),!0}return!1}function jf(e,t,a,i){if(V.T===null&&xr===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),i={lane:2,revertLane:Jy(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},jl(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=bc(e,a,i,2),t!==null&&(uu(2,"setOptimistic()",e),Ye(t,e,2))}function jl(e){var t=e.alternate;return e===Ve||t!==null&&t===Ve}function nl(e,t){Ph=mv=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Nf(e,t,a){if((a&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,bp(e,a)}}function Gc(e){if(e!==null&&typeof e!="function"){var t=String(e);H2.has(t)||(H2.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Ko(e,t,a,i){var o=e.memoizedState,s=a(i,o);if(e.mode&ja){Bt(!0);try{s=a(i,o)}finally{Bt(!1)}}s===void 0&&(t=pe(t)||"Component",j2.has(t)||(j2.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),o=s==null?o:Ie({},o,s),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}function Md(e,t,a,i,o,s,d){var h=e.stateNode;if(typeof h.shouldComponentUpdate=="function"){if(a=h.shouldComponentUpdate(i,s,d),e.mode&ja){Bt(!0);try{a=h.shouldComponentUpdate(i,s,d)}finally{Bt(!1)}}return a===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",pe(t)||"Component"),a}return t.prototype&&t.prototype.isPureReactComponent?!_o(a,i)||!_o(o,s):!0}function mu(e,t,a,i){var o=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,i),t.state!==o&&(e=ce(e)||"Component",O2.has(e)||(O2.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),K1.enqueueReplaceState(t,t.state,null))}function yu(e,t){var a=t;if("ref"in t){a={};for(var i in t)i!=="ref"&&(a[i]=t[i])}if(e=e.defaultProps){a===t&&(a=Ie({},a));for(var o in e)a[o]===void 0&&(a[o]=e[o])}return a}function _d(e){A1(e),console.warn(`%s
116
+ Incoming: %s`,Z,`[`+t.join(`, `)+`]`,`[`+e.join(`, `)+`]`);for(var n=0;n<t.length&&n<e.length;n++)if(!zh(e[n],t[n]))return!1;return!0}function ga(e,t,n,r,i,a){Sy=a,X=t,Ny=e===null?null:e._debugHookTypes,Py=-1,Fy=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)===`[object AsyncFunction]`||Object.prototype.toString.call(n)===`[object AsyncGeneratorFunction]`)&&(a=w(X),by.has(a)||(by.add(a),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",a===null?`An unknown Component`:`<`+a+`>`))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,W.H=e!==null&&e.memoizedState!==null?zy:Ny===null?Ly:Ry,Dy=a=(t.mode&Fg)!==G;var o=yv(n,r,i);if(Dy=!1,Ey&&(o=va(t,n,r,i)),a){Te(!0);try{o=va(t,n,r,i)}finally{Te(!1)}}return _a(e,t),o}function _a(e,t){t._debugHookTypes=Ny,t.dependencies===null?Ay!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Ay}):t.dependencies._debugThenableState=Ay,W.H=Iy;var n=Cy!==null&&Cy.next!==null;if(Sy=0,Ny=Z=wy=Cy=X=null,Py=-1,e!==null&&(e.flags&65011712)!=(t.flags&65011712)&&console.error(`Internal React error: Expected static flag was missing. Please notify the React team.`),Ty=!1,ky=0,Ay=null,n)throw Error(`Rendered fewer hooks than expected. This may be caused by an accidental early return statement.`);e===null||ab||(e=e.dependencies,e!==null&&Xr(e)&&(ab=!0)),Vv?(Vv=!1,e=!0):e=!1,e&&(t=w(t)||`Unknown`,yy.has(t)||by.has(t)||(yy.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function va(e,t,n,r){X=e;var i=0;do{if(Ey&&(Ay=null),ky=0,Ey=!1,i>=My)throw Error(`Too many re-renders. React limits the number of renders to prevent an infinite loop.`);if(i+=1,Fy=!1,wy=Cy=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}Py=-1,W.H=By,a=yv(t,n,r)}while(Ey);return a}function ya(){var e=W.H,t=e.useState()[0];return t=typeof t.then==`function`?Ea(t):t,e=e.useState()[0],(Cy===null?null:Cy.memoizedState)!==e&&(X.flags|=1024),t}function ba(){var e=Oy!==0;return Oy=0,e}function xa(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Ig)===G?t.flags&-2053:t.flags&-402655237,e.lanes&=~n}function Sa(e){if(Ty){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Ty=!1}Sy=0,Ny=wy=Cy=X=null,Py=-1,Z=null,Ey=!1,ky=Oy=0,Ay=null}function Ca(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wy===null?X.memoizedState=wy=e:wy=wy.next=e,wy}function wa(){if(Cy===null){var e=X.alternate;e=e===null?null:e.memoizedState}else e=Cy.next;var t=wy===null?X.memoizedState:wy.next;if(t!==null)wy=t,Cy=e;else{if(e===null)throw X.alternate===null?Error(`Update hook called on initial render. This is likely a bug in React. Please file an issue.`):Error(`Rendered more hooks than during the previous render.`);Cy=e,e={memoizedState:Cy.memoizedState,baseState:Cy.baseState,baseQueue:Cy.baseQueue,queue:Cy.queue,next:null},wy===null?X.memoizedState=wy=e:wy=wy.next=e}return wy}function Ta(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ea(e){var t=ky;return ky+=1,Ay===null&&(Ay=ki()),e=ji(Ay,e,t),t=X,(wy===null?t.memoizedState:wy.next)===null&&(t=t.alternate,W.H=t!==null&&t.memoizedState!==null?zy:Ly),e}function Da(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Ea(e);if(e.$$typeof===Mf)return Qr(e)}throw Error(`An unsupported type was passed to use(): `+String(e))}function Oa(e){var t=null,n=X.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=X.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Ta(),X.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||Fy)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=zf;else n.length!==e&&console.error(`Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.`,n.length,e);return t.index++,n}function ka(e,t){return typeof t==`function`?t(e):t}function Aa(e,t,n){var r=Ca();if(n!==void 0){var i=n(t);if(Dy){Te(!0);try{n(t)}finally{Te(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Ro.bind(null,X,e),[r.memoizedState,e]}function ja(e){return Ma(wa(),Cy,e)}function Ma(e,t,n){var r=e.queue;if(r===null)throw Error(`Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)`);r.lastRenderedReducer=n;var i=e.baseQueue,a=r.pending;if(a!==null){if(i!==null){var o=i.next;i.next=a.next,a.next=o}t.baseQueue!==i&&console.error(`Internal error: Expected work-in-progress queue to be a clone. This is a bug in React.`),t.baseQueue=i=a,r.pending=null}if(a=e.baseState,i===null)e.memoizedState=a;else{t=i.next;var s=o=null,c=null,l=t,u=!1;do{var d=l.lane&-536870913;if(d===l.lane?(Sy&d)===d:($&d)===d){var f=l.revertLane;if(f===0)c!==null&&(c=c.next={lane:0,revertLane:0,gesture:null,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),d===iv&&(u=!0);else if((Sy&f)===f){l=l.next,f===iv&&(u=!0);continue}else d={lane:0,revertLane:l.revertLane,gesture:null,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null},c===null?(s=c=d,o=a):c=c.next=d,X.lanes|=f,sx|=f;d=l.action,Dy&&n(a,d),a=l.hasEagerState?l.eagerState:n(a,d)}else f={lane:d,revertLane:l.revertLane,gesture:l.gesture,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null},c===null?(s=c=f,o=a):c=c.next=f,X.lanes|=d,sx|=d;l=l.next}while(l!==null&&l!==t);if(c===null?o=a:c.next=s,!zh(a,e.memoizedState)&&(ab=!0,u&&(n=av,n!==null)))throw n;e.memoizedState=a,e.baseState=o,e.baseQueue=c,r.lastRenderedState=a}return i===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Na(e){var t=wa(),n=t.queue;if(n===null)throw Error(`Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)`);n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);zh(a,t.memoizedState)||(ab=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Pa(e,t,n){var r=X,i=Ca();if(Qg){if(n===void 0)throw Error(`Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.`);var a=n();_y||a===n()||(console.error(`The result of getServerSnapshot should be cached to avoid an infinite loop`),_y=!0)}else{if(a=t(),_y||(n=t(),zh(a,n)||(console.error(`The result of getSnapshot should be cached to avoid an infinite loop`),_y=!0)),Ub===null)throw Error(`Expected a work-in-progress root. This is a bug in React. Please file an issue.`);$&127||Ia(r,t,a)}return i.memoizedState=a,n={value:a,getSnapshot:t},i.queue=n,lo(Ra.bind(null,r,n,e),[e]),r.flags|=2048,ao(py|gy,{destroy:void 0},La.bind(null,r,n,a,t),null),a}function Fa(e,t,n){var r=X,i=wa(),a=Qg;if(a){if(n===void 0)throw Error(`Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.`);n=n()}else if(n=t(),!_y){var o=t();zh(n,o)||(console.error(`The result of getSnapshot should be cached to avoid an infinite loop`),_y=!0)}if((o=!zh((Cy||i).memoizedState,n))&&(i.memoizedState=n,ab=!0),i=i.queue,co(2048,gy,Ra.bind(null,r,i,e),[e]),i.getSnapshot!==t||o||wy!==null&&wy.memoizedState.tag&py){if(r.flags|=2048,ao(py|gy,{destroy:void 0},La.bind(null,r,i,n,t),null),Ub===null)throw Error(`Expected a work-in-progress root. This is a bug in React. Please file an issue.`);a||Sy&127||Ia(r,t,n)}return n}function Ia(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=X.updateQueue,t===null?(t=Ta(),X.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function La(e,t,n,r){t.value=n,t.getSnapshot=r,za(t)&&Ba(e)}function Ra(e,t,n){return n(function(){za(t)&&(ii(2,`updateSyncExternalStore()`,e),Ba(e))})}function za(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!zh(e,n)}catch{return!0}}function Ba(e){var t=sr(e,2);t!==null&&Zc(t,e,2)}function Va(e){var t=Ca();if(typeof e==`function`){var n=e;if(e=n(),Dy){Te(!0);try{n()}finally{Te(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ka,lastRenderedState:e},t}function Ha(e){e=Va(e);var t=e.queue,n=zo.bind(null,X,t);return t.dispatch=n,[e.memoizedState,n]}function Ua(e){var t=Ca();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Vo.bind(null,X,!0,n),n.dispatch=t,[e,t]}function Wa(e,t){return Ga(wa(),Cy,e,t)}function Ga(e,t,n,r){return e.baseState=n,Ma(e,Cy,typeof r==`function`?r:ka)}function Ka(e,t){var n=wa();return Cy===null?(n.baseState=e,[e,n.queue.dispatch]):Ga(n,Cy,e,t)}function qa(e,t,n,r,i){if(Ho(e))throw Error(`Cannot update form state while rendering.`);if(e=t.action,e!==null){var a={payload:i,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};W.T===null?a.isTransition=!1:n(!0),r(a),n=t.pending,n===null?(a.next=t.pending=a,Ja(t,a)):(a.next=n.next,t.pending=n.next=a)}}function Ja(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=W.T,o={};o._updatedFibers=new Set,W.T=o;try{var s=n(i,r),c=W.S;c!==null&&c(o,s),Ya(e,t,s)}catch(n){Za(e,t,n)}finally{a!==null&&o.types!==null&&(a.types!==null&&a.types!==o.types&&console.error(`We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.`),a.types=o.types),W.T=a,a===null&&o._updatedFibers&&(e=o._updatedFibers.size,o._updatedFibers.clear(),10<e&&console.warn(`Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.`))}}else try{o=n(i,r),Ya(e,t,o)}catch(n){Za(e,t,n)}}function Ya(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?(W.asyncTransitions++,n.then(Eo,Eo),n.then(function(n){Xa(e,t,n)},function(n){return Za(e,t,n)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Xa(e,t,n)}function Xa(e,t,n){t.status=`fulfilled`,t.value=n,Qa(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Ja(e,n)))}function Za(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Qa(t),t=t.next;while(t!==r)}e.action=null}function Qa(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function $a(e,t){return t}function eo(e,t){if(Qg){var n=Ub.formState;if(n!==null){a:{var r=X;if(Qg){if(Zg){b:{for(var i=Zg,a=n_;i.nodeType!==8;){if(!a){i=null;break b}if(i=pd(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===RS||a===zS?i:null}if(i){Zg=pd(i.nextSibling),r=i.data===RS;break a}}Ir(r)}r=!1}r&&(t=n[0])}}return n=Ca(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$a,lastRenderedState:t},n.queue=r,n=zo.bind(null,X,r),r.dispatch=n,r=Va(!1),a=Vo.bind(null,X,!1,r.queue),r=Ca(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=qa.bind(null,X,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function to(e){return no(wa(),Cy,e)}function no(e,t,n){if(t=Ma(e,t,$a)[0],e=ja(ka)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Ea(t)}catch(e){throw e===Iv?Rv:e}else r=t;t=wa();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(X.flags|=2048,ao(py|gy,{destroy:void 0},ro.bind(null,i,n),null)),[r,a,e]}function ro(e,t){e.action=t}function io(e){var t=wa(),n=Cy;if(n!==null)return no(t,n,e);wa(),t=t.memoizedState,n=wa();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ao(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=X.updateQueue,t===null&&(t=Ta(),X.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function oo(e){var t=Ca();return e={current:e},t.memoizedState=e}function so(e,t,n,r){var i=Ca();X.flags|=e,i.memoizedState=ao(py|t,{destroy:void 0},n,r===void 0?null:r)}function co(e,t,n,r){var i=wa();r=r===void 0?null:r;var a=i.memoizedState.inst;Cy!==null&&r!==null&&ha(r,Cy.memoizedState.deps)?i.memoizedState=ao(t,a,n,r):(X.flags|=e,i.memoizedState=ao(py|t,a,n,r))}function lo(e,t){(X.mode&Ig)===G?so(8390656,gy,e,t):so(276826112,gy,e,t)}function uo(e){X.flags|=4;var t=X.updateQueue;if(t===null)t=Ta(),X.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function fo(e){var t=Ca(),n={impl:e};return t.memoizedState=n,function(){if((Hb&Nb)!==Mb)throw Error(`A function wrapped in useEffectEvent can't be called during rendering.`);return n.impl.apply(void 0,arguments)}}function z(e){var t=wa().memoizedState;return uo({ref:t,nextImpl:e}),function(){if((Hb&Nb)!==Mb)throw Error(`A function wrapped in useEffectEvent can't be called during rendering.`);return t.impl.apply(void 0,arguments)}}function po(e,t){var n=4194308;return(X.mode&Ig)!==G&&(n|=134217728),so(n,hy,e,t)}function mo(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return t.hasOwnProperty(`current`)||console.error(`Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.`,`an object with keys {`+Object.keys(t).join(`, `)+`}`),e=e(),t.current=e,function(){t.current=null}}function ho(e,t,n){typeof t!=`function`&&console.error(`Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.`,t===null?`null`:typeof t),n=n==null?null:n.concat([e]);var r=4194308;(X.mode&Ig)!==G&&(r|=134217728),so(r,hy,mo.bind(null,t,e),n)}function go(e,t,n){typeof t!=`function`&&console.error(`Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.`,t===null?`null`:typeof t),n=n==null?null:n.concat([e]),co(4,hy,mo.bind(null,t,e),n)}function _o(e,t){return Ca().memoizedState=[e,t===void 0?null:t],e}function vo(e,t){var n=wa();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&ha(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function yo(e,t){var n=Ca();t=t===void 0?null:t;var r=e();if(Dy){Te(!0);try{e()}finally{Te(!1)}}return n.memoizedState=[r,t],r}function bo(e,t){var n=wa();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&ha(t,r[1]))return r[0];if(r=e(),Dy){Te(!0);try{e()}finally{Te(!1)}}return n.memoizedState=[r,t],r}function xo(e,t){return wo(Ca(),e,t)}function So(e,t){return To(wa(),Cy.memoizedState,e,t)}function Co(e,t){var n=wa();return Cy===null?wo(n,e,t):To(n,Cy.memoizedState,e,t)}function wo(e,t,n){return n===void 0||Sy&1073741824&&!($&261930)?e.memoizedState=t:(e.memoizedState=n,e=Xc(),X.lanes|=e,sx|=e,n)}function To(e,t,n,r){return zh(n,t)?n:ay.current===null?!(Sy&42)||Sy&1073741824&&!($&261930)?(ab=!0,e.memoizedState=n):(e=Xc(),X.lanes|=e,sx|=e,t):(e=wo(e,n,r),zh(e,t)||(ab=!0),e)}function Eo(){W.asyncTransitions--}function Do(e,t,n,r,i){var a=Uf.p;Uf.p=a!==0&&a<Lp?a:Lp;var o=W.T,s={};s._updatedFibers=new Set,W.T=s,Vo(e,!1,t,n);try{var c=i(),l=W.S;if(l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`){W.asyncTransitions++,c.then(Eo,Eo);var u=Ti(c,r);Bo(e,t,u,Yc(e))}else Bo(e,t,r,Yc(e))}catch(n){Bo(e,t,{then:function(){},status:`rejected`,reason:n},Yc(e))}finally{Uf.p=a,o!==null&&s.types!==null&&(o.types!==null&&o.types!==s.types&&console.error(`We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.`),o.types=s.types),W.T=o,o===null&&s._updatedFibers&&(e=s._updatedFibers.size,s._updatedFibers.clear(),10<e&&console.warn(`Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.`))}}function Oo(e,t,n,r){if(e.tag!==5)throw Error(`Expected the form instance to be a HostComponent. This is a bug in React.`);var i=ko(e).queue;ai(e),Do(e,i,t,vC,n===null?u:function(){return Ao(e),n(r)})}function ko(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:vC,baseState:vC,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ka,lastRenderedState:vC},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ka,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ao(e){W.T===null&&console.error(`requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.`);var t=ko(e);t.next===null&&(t=e.alternate.memoizedState),Bo(e,t.next.queue,{},Yc(e))}function jo(){var e=Va(!1);return e=Do.bind(null,X,e.queue,!0,!1),Ca().memoizedState=e,[!1,e]}function Mo(){var e=ja(ka)[0],t=wa().memoizedState;return[typeof e==`boolean`?e:Ea(e),t]}function No(){var e=Na(ka)[0],t=wa().memoizedState;return[typeof e==`boolean`?e:Ea(e),t]}function Po(){return Qr(yC)}function Fo(){var e=Ca(),t=Ub.identifierPrefix;if(Qg){var n=Yg,r=Jg;n=(r&~(1<<32-Ap(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Oy++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=jy++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t}function Io(){return Ca().memoizedState=Lo.bind(null,X)}function Lo(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var r=Yc(n),i=Yi(r),a=Xi(n,i,r);a!==null&&(ii(r,`refresh()`,e),Zc(a,n,r),Zi(a,n,r)),e=ti(),t!=null&&a!==null&&console.error(`The seed argument is not enabled outside experimental channels.`),i.payload={cache:e};return}n=n.return}}function Ro(e,t,n){var r=arguments;typeof r[3]==`function`&&console.error(`State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().`),r=Yc(e);var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};Ho(e)?Uo(t,i):(i=or(e,t,i,r),i!==null&&(ii(r,`dispatch()`,e),Zc(i,e,r),Wo(i,t,r)))}function zo(e,t,n){var r=arguments;typeof r[3]==`function`&&console.error(`State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().`),r=Yc(e),Bo(e,t,n,r)&&ii(r,`setState()`,e)}function Bo(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ho(e))Uo(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null)){var o=W.H;W.H=Hy;try{var s=t.lastRenderedState,c=a(s,n);if(i.hasEagerState=!0,i.eagerState=c,zh(c,s))return ar(e,t,i,0),Ub===null&&ir(),!1}catch{}finally{W.H=o}}if(n=or(e,t,i,r),n!==null)return Zc(n,e,r),Wo(n,t,r),!0}return!1}function Vo(e,t,n,r){if(W.T===null&&iv===0&&console.error(`An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition.`),r={lane:2,revertLane:Ql(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Ho(e)){if(t)throw Error(`Cannot update optimistic state while rendering.`);console.error(`Cannot call startTransition while rendering.`)}else t=or(e,n,r,2),t!==null&&(ii(2,`setOptimistic()`,e),Zc(t,e,2))}function Ho(e){var t=e.alternate;return e===X||t!==null&&t===X}function Uo(e,t){Ey=Ty=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Wo(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ie(e,n)}}function Go(e){if(e!==null&&typeof e!=`function`){var t=String(e);eb.has(t)||(eb.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Ko(e,t,n,r){var i=e.memoizedState,a=n(r,i);if(e.mode&Fg){Te(!0);try{a=n(r,i)}finally{Te(!1)}}a===void 0&&(t=C(t)||`Component`,Xy.has(t)||(Xy.add(t),console.error(`%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.`,t))),i=a==null?i:U({},i,a),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}function qo(e,t,n,r,i,a,o){var s=e.stateNode;if(typeof s.shouldComponentUpdate==`function`){if(n=s.shouldComponentUpdate(r,a,o),e.mode&Fg){Te(!0);try{n=s.shouldComponentUpdate(r,a,o)}finally{Te(!1)}}return n===void 0&&console.error(`%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.`,C(t)||`Component`),n}return t.prototype&&t.prototype.isPureReactComponent?!Mn(n,r)||!Mn(i,a):!0}function Jo(e,t,n,r){var i=t.state;typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==i&&(e=w(e)||`Component`,Gy.has(e)||(Gy.add(e),console.error(`%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.`,e)),tb.enqueueReplaceState(t,t.state,null))}function Yo(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=U({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Xo(e){sg(e),console.warn(`%s
113
117
 
114
118
  %s
115
- `,em?"An error occurred in the <"+em+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
116
- Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function jd(e){var t=em?"The above error occurred in the <"+em+"> component.":"The above error occurred in one of your React components.",a="React will try to recreate this component tree from scratch using the error boundary you provided, "+(($1||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var i=e.environmentName;e=[`%o
119
+ `,nb?`An error occurred in the <`+nb+`> component.`:`An error occurred in one of your React components.`,`Consider adding an error boundary to your tree to customize error handling behavior.
120
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Zo(e){var t=nb?`The above error occurred in the <`+nb+`> component.`:`The above error occurred in one of your React components.`,n=`React will try to recreate this component tree from scratch using the error boundary you provided, `+((rb||`Anonymous`)+`.`);if(typeof e==`object`&&e&&typeof e.environmentName==`string`){var r=e.environmentName;e=[`%o
117
121
 
118
122
  %s
119
123
 
120
124
  %s
121
- `,e,t,a].slice(0),typeof e[0]=="string"?e.splice(0,1,gT+" "+e[0],vT,wv+i+wv,bT):e.splice(0,0,gT,vT,wv+i+wv,bT),e.unshift(console),i=HA.apply(console.error,e),i()}else console.error(`%o
125
+ `,e,t,n].slice(0),typeof e[0]==`string`?e.splice(0,1,bC+` `+e[0],xC,CC+r+CC,SC):e.splice(0,0,bC,xC,CC+r+CC,SC),e.unshift(console),r=wC.apply(console.error,e),r()}else console.error(`%o
122
126
 
123
127
  %s
124
128
 
125
129
  %s
126
- `,e,t,a)}function iy(e){A1(e)}function Rf(e,t){try{em=t.source?ce(t.source):null,$1=null;var a=t.value;if(V.actQueue!==null)V.thrownErrors.push(a);else{var i=e.onUncaughtError;i(a,{componentStack:t.stack})}}catch(o){setTimeout(function(){throw o})}}function cy(e,t,a){try{em=a.source?ce(a.source):null,$1=ce(t);var i=e.onCaughtError;i(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Nd(e,t,a){return a=Sl(a),a.tag=V1,a.payload={element:null},a.callback=function(){ee(t.source,Rf,e,t)},a}function Rd(e){return e=Sl(e),e.tag=V1,e}function Ud(e,t,a,i){var o=a.type.getDerivedStateFromError;if(typeof o=="function"){var s=i.value;e.payload=function(){return o(s)},e.callback=function(){Sc(a),ee(i.source,cy,t,a,i)}}var d=a.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){Sc(a),ee(i.source,cy,t,a,i),typeof o!="function"&&(Qs===null?Qs=new Set([this]):Qs.add(this)),fA(this,i),typeof o=="function"||(a.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",ce(a)||"Unknown")})}function oy(e,t,a,i,o){if(a.flags|=32768,Cu&&ns(e,o),i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=a.alternate,t!==null&&_n(t,a,o,!0),st&&(ac=!0),a=$n.current,a!==null){switch(a.tag){case 31:case 13:return qu===null?ts():a.alternate===null&&il===po&&(il=vv),a.flags&=-257,a.flags|=65536,a.lanes=o,i===rv?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([i]):t.add(i),eh(e,i,o)),!1;case 22:return a.flags|=65536,i===rv?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([i]):a.add(i)),eh(e,i,o)),!1}throw Error("Unexpected Suspense handler tag ("+a.tag+"). This is a bug in React.")}return eh(e,i,o),ts(),!1}if(st)return ac=!0,t=$n.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,i!==_1&&df(ia(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:i}),a))):(i!==_1&&df(ia(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:i}),a)),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,i=ia(i,a),o=Nd(e.stateNode,i,o),vf(e,o),il!==Gs&&(il=Cr)),!1;var s=ia(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:i}),a);if(ap===null?ap=[s]:ap.push(s),il!==Gs&&(il=Cr),t===null)return!0;i=ia(i,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=o&-o,a.lanes|=e,e=Nd(a.stateNode,i,e),vf(a,e),!1;case 1:if(t=a.type,s=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(Qs===null||!Qs.has(s))))return a.flags|=65536,o&=-o,a.lanes|=o,o=Rd(o),Ud(o,e,a,i),vf(a,o),!1}a=a.return}while(a!==null);return!1}function Nl(e,t,a,i){t.child=e===null?y2(t,null,a,i):Or(t,e.child,a,i)}function Kp(e,t,a,i,o){a=a.render;var s=t.ref;if("ref"in i){var d={};for(var h in i)h!=="ref"&&(d[h]=i[h])}else d=i;return _i(t),i=ey(e,t,a,d,s,o),h=_c(),e!==null&&!Yl?(xf(e,t,o),Bn(e,t,o)):(st&&h&&dd(t),t.flags|=1,Nl(e,t,i,o),t.child)}function sy(e,t,a,i,o){if(e===null){var s=a.type;return typeof s=="function"&&!Vm(s)&&s.defaultProps===void 0&&a.compare===null?(a=zi(s),t.tag=15,t.type=a,$o(t,s),fy(e,t,a,i,o)):(e=Tc(a.type,null,i,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!Gd(e,o)){var d=s.memoizedProps;if(a=a.compare,a=a!==null?a:_o,a(d,i)&&e.ref===t.ref)return Bn(e,t,o)}return t.flags|=1,e=nu(s,i),e.ref=t.ref,e.return=t,t.child=e}function fy(e,t,a,i,o){if(e!==null){var s=e.memoizedProps;if(_o(s,i)&&e.ref===t.ref&&t.type===e.type)if(Yl=!1,t.pendingProps=i=s,Gd(e,o))(e.flags&131072)!==0&&(Yl=!0);else return t.lanes=e.lanes,Bn(e,t,o)}return my(e,t,a,i,o)}function ry(e,t,a,i){var o=i.children,s=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:N0,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((t.flags&128)!==0){if(s=s!==null?s.baseLanes|a:a,e!==null){for(i=t.child=e.child,o=0;i!==null;)o=o|i.lanes|i.childLanes,i=i.sibling;i=o&~s}else i=0,t.child=null;return dy(e,t,s,a,i)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Bo(t,s!==null?s.cachePool:null),s!==null?Sd(t,s):Wu(t),Td(t);else return i=t.lanes=536870912,dy(e,t,s!==null?s.baseLanes|a:a,a,i)}else s!==null?(Bo(t,s.cachePool),Sd(t,s),fu(t),t.memoizedState=null):(e!==null&&Bo(t,null),Wu(t),fu(t));return Nl(e,t,o,a),t.child}function wc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:N0,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function dy(e,t,a,i,o){var s=ku();return s=s===null?null:{parent:Hl._currentValue,pool:s},t.memoizedState={baseLanes:a,cachePool:s},e!==null&&Bo(t,null),Wu(t),Td(t),e!==null&&_n(e,t,i,!0),t.childLanes=o,null}function Uf(e,t){var a=t.hidden;return a!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
130
+ `,e,t,n)}function Qo(e){sg(e)}function $o(e,t){try{nb=t.source?w(t.source):null,rb=null;var n=t.value;if(W.actQueue!==null)W.thrownErrors.push(n);else{var r=e.onUncaughtError;r(n,{componentStack:t.stack})}}catch(e){setTimeout(function(){throw e})}}function es(e,t,n){try{nb=n.source?w(n.source):null,rb=w(t);var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function ts(e,t,n){return n=Yi(n),n.tag=ey,n.payload={element:null},n.callback=function(){M(t.source,$o,e,t)},n}function ns(e){return e=Yi(e),e.tag=ey,e}function rs(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){pr(n),M(r.source,es,t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){pr(n),M(r.source,es,t,n,r),typeof i!=`function`&&(Sx===null?Sx=new Set([this]):Sx.add(this)),Dv(this,r),typeof i==`function`||!(n.lanes&2)&&console.error(`%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.`,w(n)||`Unknown`)})}function is(e,t,n,r,i){if(n.flags|=32768,kp&&Vl(e,i),typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Yr(t,n,i,!0),Qg&&($g=!0),n=sy.current,n!==null){switch(n.tag){case 31:case 13:return cy===null?dl():n.alternate===null&&ox===Fb&&(ox=Rb),n.flags&=-257,n.flags|=65536,n.lanes=i,r===zv?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Ml(e,r,i)),!1;case 22:return n.flags|=65536,r===zv?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Ml(e,r,i)),!1}throw Error(`Unexpected Suspense handler tag (`+n.tag+`). This is a bug in React.`)}return Ml(e,r,i),dl(),!1}if(Qg)return $g=!0,t=sy.current,t===null?(r!==r_&&Hr(Tr(Error(`There was an error while hydrating but React was able to recover by instead client rendering the entire root.`,{cause:r}),n)),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,r=Tr(r,n),i=ts(e.stateNode,r,i),Qi(e,i),ox!==zb&&(ox=Lb)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==r_&&Hr(Tr(Error(`There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.`,{cause:r}),n))),!1;var a=Tr(Error(`There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.`,{cause:r}),n);if(fx===null?fx=[a]:fx.push(a),ox!==zb&&(ox=Lb),t===null)return!0;r=Tr(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=ts(n.stateNode,r,e),Qi(n,e),!1;case 1:if(t=n.type,a=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||a!==null&&typeof a.componentDidCatch==`function`&&(Sx===null||!Sx.has(a))))return n.flags|=65536,i&=-i,n.lanes|=i,i=ns(i),rs(i,e,n,r),Qi(n,i),!1}n=n.return}while(n!==null);return!1}function as(e,t,n,r){t.child=e===null?Xv(t,null,n,r):Yv(t,e.child,n,r)}function os(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return Zr(t),r=ga(e,t,n,o,a,i),s=ba(),e!==null&&!ab?(xa(e,t,i),As(e,t,i)):(Qg&&s&&Or(t),t.flags|=1,as(e,t,r,i),t.child)}function ss(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!gr(a)&&a.defaultProps===void 0&&n.compare===null?(n=ur(a),t.tag=15,t.type=n,bs(t,a),cs(e,t,n,r,i)):(e=yr(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!js(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Mn:n,n(o,r)&&e.ref===t.ref)return As(e,t,i)}return t.flags|=1,e=_r(a,r),e.ref=t.ref,e.return=t,t.child=e}function cs(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Mn(a,r)&&e.ref===t.ref&&t.type===e.type)if(ab=!1,t.pendingProps=r=a,js(e,i))e.flags&131072&&(ab=!0);else return t.lanes=e.lanes,As(e,t,i)}return gs(e,t,n,r,i)}function ls(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Eg,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return ds(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Di(t,a===null?null:a.cachePool),a===null?aa(t):ia(t,a),la(t);else return r=t.lanes=536870912,ds(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Di(t,null),aa(t),ua(t)):(Di(t,a.cachePool),ia(t,a),ua(t),t.memoizedState=null);return as(e,t,i,n),t.child}function us(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Eg,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function ds(e,t,n,r,i){var a=Ei();return a=a===null?null:{parent:p_._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Di(t,null),aa(t),la(t),e!==null&&Yr(e,t,r,!0),t.childLanes=i,null}function fs(e,t){var n=t.hidden;return n!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
127
131
  - <Activity %s>
128
- + <Activity %s>`,a===!0?"hidden":a===!1?"hidden={false}":"hidden={...}",a?'mode="hidden"':'mode="visible"'),t=Bf({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function hy(e,t,a){return Or(t,e.child,null,a),e=Uf(t,t.pendingProps),e.flags|=2,_l(t),t.memoizedState=null,e}function $p(e,t,a){var i=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(st){if(i.mode==="hidden")return e=Uf(t,i),t.lanes=536870912,wc(null,e);if(Un(t),(e=kt)?(a=zt(e,Hu),a=a!==null&&a.data===Ur?a:null,a!==null&&(i={dehydrated:a,treeContext:Yp(),retryLane:536870912,hydrationErrors:null},t.memoizedState=i,i=Qm(a),i.return=t,t.child=i,Ta=t,kt=null)):a=null,a===null)throw kl(t,e),un(t);return t.lanes=536870912,null}return Uf(t,i)}var s=e.memoizedState;if(s!==null){var d=s.dehydrated;if(Un(t),o)if(t.flags&256)t.flags&=-257,t=hy(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(wp(),(a&536870912)!==0&&es(t),Yl||_n(e,t,a,!1),o=(a&e.childLanes)!==0,Yl||o){if(i=Vt,i!==null&&(d=Sp(i,a),d!==0&&d!==s.retryLane))throw s.retryLane=d,Fl(e,d),Ye(i,e,d),F1;ts(),t=hy(e,t,a)}else e=s.treeContext,kt=Ka(d.nextSibling),Ta=t,st=!0,Rs=null,ac=!1,Kn=null,Hu=!1,e!==null&&Gp(t,e),t=Uf(t,i),t.flags|=4096;return t}return s=e.child,i={mode:i.mode,children:i.children},(a&536870912)!==0&&(a&e.lanes)!==0&&es(t),e=nu(s,i),e.ref=t.ref,t.child=e,e.return=t,e}function Hf(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==a)&&(t.flags|=4194816)}}function my(e,t,a,i,o){if(a.prototype&&typeof a.prototype.render=="function"){var s=pe(a)||"Unknown";B2[s]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",s,s),B2[s]=!0)}return t.mode&ja&&mi.recordLegacyContextWarning(t,null),e===null&&($o(t,t.type),a.contextTypes&&(s=pe(a)||"Unknown",Y2[s]||(Y2[s]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",s)))),_i(t),a=ey(e,t,a,i,void 0,o),i=_c(),e!==null&&!Yl?(xf(e,t,o),Bn(e,t,o)):(st&&i&&dd(t),t.flags|=1,Nl(e,t,a,o),t.child)}function yy(e,t,a,i,o,s){return _i(t),mo=-1,k0=e!==null&&e.type!==t.type,t.updateQueue=null,a=Sf(t,i,a,o),fl(e,t),i=_c(),e!==null&&!Yl?(xf(e,t,s),Bn(e,t,s)):(st&&i&&dd(t),t.flags|=1,Nl(e,t,a,s),t.child)}function Vc(e,t,a,i,o){switch(q(t)){case!1:var s=t.stateNode,d=new t.type(t.memoizedProps,s.context).state;s.updater.enqueueSetState(s,d,null);break;case!0:t.flags|=128,t.flags|=65536,s=Error("Simulated error coming from DevTools");var h=o&-o;if(t.lanes|=h,d=Vt,d===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");h=Rd(h),Ud(h,d,t,ia(s,t)),vf(t,h)}if(_i(t),t.stateNode===null){if(d=Ns,s=a.contextType,"contextType"in a&&s!==null&&(s===void 0||s.$$typeof!==Ln)&&!U2.has(a)&&(U2.add(a),h=s===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof s!="object"?" However, it is set to a "+typeof s+".":s.$$typeof===xh?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(s).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",pe(a)||"Component",h)),typeof s=="object"&&s!==null&&(d=vt(s)),s=new a(i,d),t.mode&ja){Bt(!0);try{s=new a(i,d)}finally{Bt(!1)}}if(d=t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=K1,t.stateNode=s,s._reactInternals=t,s._reactInternalInstance=z2,typeof a.getDerivedStateFromProps=="function"&&d===null&&(d=pe(a)||"Component",D2.has(d)||(D2.add(d),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",d,s.state===null?"null":"undefined",d))),typeof a.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"){var p=h=d=null;if(typeof s.componentWillMount=="function"&&s.componentWillMount.__suppressDeprecationWarning!==!0?d="componentWillMount":typeof s.UNSAFE_componentWillMount=="function"&&(d="UNSAFE_componentWillMount"),typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps.__suppressDeprecationWarning!==!0?h="componentWillReceiveProps":typeof s.UNSAFE_componentWillReceiveProps=="function"&&(h="UNSAFE_componentWillReceiveProps"),typeof s.componentWillUpdate=="function"&&s.componentWillUpdate.__suppressDeprecationWarning!==!0?p="componentWillUpdate":typeof s.UNSAFE_componentWillUpdate=="function"&&(p="UNSAFE_componentWillUpdate"),d!==null||h!==null||p!==null){s=pe(a)||"Component";var g=typeof a.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";M2.has(s)||(M2.add(s),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
132
+ + <Activity %s>`,!0===n?`hidden`:!1===n?`hidden={false}`:`hidden={...}`,n?`mode="hidden"`:`mode="visible"`),t=Ts({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function ps(e,t,n){return Yv(t,e.child,null,n),e=fs(t,t.pendingProps),e.flags|=2,da(t),t.memoizedState=null,e}function ms(e,t,n){var r=t.pendingProps,i=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(Qg){if(r.mode===`hidden`)return e=fs(t,r),t.lanes=536870912,us(null,e);if(ca(t),(e=Zg)?(n=ld(e,n_),n=n!==null&&n.data===OS?n:null,n!==null&&(r={dehydrated:n,treeContext:Ar(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,r=Cr(n),r.return=t,t.child=r,Xg=t,Zg=null)):n=null,n===null)throw Fr(t,e),Ir(t);return t.lanes=536870912,null}return fs(t,r)}var a=e.memoizedState;if(a!==null){var o=a.dehydrated;if(ca(t),i)if(t.flags&256)t.flags&=-257,t=ps(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(`Client rendering an Activity suspended it again. This is a bug in React.`);else if(Pr(),n&536870912&&ul(t),ab||Yr(e,t,n,!1),i=(n&e.childLanes)!==0,ab||i){if(r=Ub,r!==null&&(o=Le(r,n),o!==0&&o!==a.retryLane))throw a.retryLane=o,sr(e,o),Zc(r,e,o),ib;dl(),t=ps(e,t,n)}else e=a.treeContext,Zg=pd(o.nextSibling),Xg=t,Qg=!0,t_=null,$g=!1,e_=null,n_=!1,e!==null&&jr(t,e),t=fs(t,r),t.flags|=4096;return t}return a=e.child,r={mode:r.mode,children:r.children},n&536870912&&(n&e.lanes)!==0&&ul(t),e=_r(a,r),e.ref=t.ref,t.child=e,e.return=t,e}function hs(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(`Expected ref to be a function, an object returned by React.createRef(), or undefined/null.`);(e===null||e.ref!==n)&&(t.flags|=4194816)}}function gs(e,t,n,r,i){if(n.prototype&&typeof n.prototype.render==`function`){var a=C(n)||`Unknown`;ob[a]||(console.error(`The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.`,a,a),ob[a]=!0)}return t.mode&Fg&&cv.recordLegacyContextWarning(t,null),e===null&&(bs(t,t.type),n.contextTypes&&(a=C(n)||`Unknown`,cb[a]||(cb[a]=!0,console.error(`%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)`,a)))),Zr(t),n=ga(e,t,n,r,void 0,i),r=ba(),e!==null&&!ab?(xa(e,t,i),As(e,t,i)):(Qg&&r&&Or(t),t.flags|=1,as(e,t,n,i),t.child)}function _s(e,t,n,r,i,a){return Zr(t),Py=-1,Fy=e!==null&&e.type!==t.type,t.updateQueue=null,n=va(t,r,n,i),_a(e,t),r=ba(),e!==null&&!ab?(xa(e,t,a),As(e,t,a)):(Qg&&r&&Or(t),t.flags|=1,as(e,t,n,a),t.child)}function vs(e,t,n,r,i){switch(s(t)){case!1:var a=t.stateNode,o=new t.type(t.memoizedProps,a.context).state;a.updater.enqueueSetState(a,o,null);break;case!0:t.flags|=128,t.flags|=65536,a=Error(`Simulated error coming from DevTools`);var c=i&-i;if(t.lanes|=c,o=Ub,o===null)throw Error(`Expected a work-in-progress root. This is a bug in React. Please file an issue.`);c=ns(c),rs(c,o,t,Tr(a,t)),Qi(t,c)}if(Zr(t),t.stateNode===null){if(o=jg,a=n.contextType,`contextType`in n&&a!==null&&(a===void 0||a.$$typeof!==Mf)&&!$y.has(n)&&($y.add(n),c=a===void 0?` However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.`:typeof a==`object`?a.$$typeof===jf?` Did you accidentally pass the Context.Consumer instead?`:` However, it is set to an object with keys {`+Object.keys(a).join(`, `)+`}.`:` However, it is set to a `+typeof a+`.`,console.error(`%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s`,C(n)||`Component`,c)),typeof a==`object`&&a&&(o=Qr(a)),a=new n(r,o),t.mode&Fg){Te(!0);try{a=new n(r,o)}finally{Te(!1)}}if(o=t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=tb,t.stateNode=a,a._reactInternals=t,a._reactInternalInstance=Wy,typeof n.getDerivedStateFromProps==`function`&&o===null&&(o=C(n)||`Component`,Ky.has(o)||(Ky.add(o),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",o,a.state===null?`null`:`undefined`,o))),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`){var l=c=o=null;if(typeof a.componentWillMount==`function`&&!0!==a.componentWillMount.__suppressDeprecationWarning?o=`componentWillMount`:typeof a.UNSAFE_componentWillMount==`function`&&(o=`UNSAFE_componentWillMount`),typeof a.componentWillReceiveProps==`function`&&!0!==a.componentWillReceiveProps.__suppressDeprecationWarning?c=`componentWillReceiveProps`:typeof a.UNSAFE_componentWillReceiveProps==`function`&&(c=`UNSAFE_componentWillReceiveProps`),typeof a.componentWillUpdate==`function`&&!0!==a.componentWillUpdate.__suppressDeprecationWarning?l=`componentWillUpdate`:typeof a.UNSAFE_componentWillUpdate==`function`&&(l=`UNSAFE_componentWillUpdate`),o!==null||c!==null||l!==null){a=C(n)||`Component`;var u=typeof n.getDerivedStateFromProps==`function`?`getDerivedStateFromProps()`:`getSnapshotBeforeUpdate()`;Jy.has(a)||(Jy.add(a),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
129
133
 
130
134
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
131
135
 
132
136
  The above lifecycles should be removed. Learn more about this warning here:
133
- https://react.dev/link/unsafe-component-lifecycles`,s,g,d!==null?`
134
- `+d:"",h!==null?`
135
- `+h:"",p!==null?`
136
- `+p:""))}}s=t.stateNode,d=pe(a)||"Component",s.render||(a.prototype&&typeof a.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",d):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",d)),!s.getInitialState||s.getInitialState.isReactClassApproved||s.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",d),s.getDefaultProps&&!s.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",d),s.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",d),a.childContextTypes&&!R2.has(a)&&(R2.add(a),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",d)),a.contextTypes&&!N2.has(a)&&(N2.add(a),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",d)),typeof s.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",d),a.prototype&&a.prototype.isPureReactComponent&&typeof s.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",pe(a)||"A pure component"),typeof s.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",d),typeof s.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",d),typeof s.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",d),typeof s.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",d),h=s.props!==i,s.props!==void 0&&h&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",d),s.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",d,d),typeof s.getSnapshotBeforeUpdate!="function"||typeof s.componentDidUpdate=="function"||C2.has(a)||(C2.add(a),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",pe(a))),typeof s.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof s.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof a.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",d),(h=s.state)&&(typeof h!="object"||vl(h))&&console.error("%s.state: must be set to an object or null",d),typeof s.getChildContext=="function"&&typeof a.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",d),s=t.stateNode,s.props=i,s.state=t.memoizedState,s.refs={},ct(t),d=a.contextType,s.context=typeof d=="object"&&d!==null?vt(d):Ns,s.state===i&&(d=pe(a)||"Component",_2.has(d)||(_2.add(d),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",d))),t.mode&ja&&mi.recordLegacyContextWarning(t,s),mi.recordUnsafeLifecycleWarnings(t,s),s.state=t.memoizedState,d=a.getDerivedStateFromProps,typeof d=="function"&&(Ko(t,a,d,i),s.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(d=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),d!==s.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ce(t)||"Component"),K1.enqueueReplaceState(s,s.state,null)),su(t,i,s,o),Yo(),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&hi)!==qe&&(t.flags|=134217728),s=!0}else if(e===null){s=t.stateNode;var O=t.memoizedProps;h=yu(a,O),s.props=h;var _=s.context;p=a.contextType,d=Ns,typeof p=="object"&&p!==null&&(d=vt(p)),g=a.getDerivedStateFromProps,p=typeof g=="function"||typeof s.getSnapshotBeforeUpdate=="function",O=t.pendingProps!==O,p||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(O||_!==d)&&mu(t,s,i,d),Ys=!1;var x=t.memoizedState;s.state=x,su(t,i,s,o),Yo(),_=t.memoizedState,O||x!==_||Ys?(typeof g=="function"&&(Ko(t,a,g,i),_=t.memoizedState),(h=Ys||Md(t,a,h,i,x,_,d))?(p||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&hi)!==qe&&(t.flags|=134217728)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&hi)!==qe&&(t.flags|=134217728),t.memoizedProps=i,t.memoizedState=_),s.props=i,s.state=_,s.context=d,s=h):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&hi)!==qe&&(t.flags|=134217728),s=!1)}else{s=t.stateNode,cu(e,t),d=t.memoizedProps,p=yu(a,d),s.props=p,g=t.pendingProps,x=s.context,_=a.contextType,h=Ns,typeof _=="object"&&_!==null&&(h=vt(_)),O=a.getDerivedStateFromProps,(_=typeof O=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(d!==g||x!==h)&&mu(t,s,i,h),Ys=!1,x=t.memoizedState,s.state=x,su(t,i,s,o),Yo();var G=t.memoizedState;d!==g||x!==G||Ys||e!==null&&e.dependencies!==null&&Uo(e.dependencies)?(typeof O=="function"&&(Ko(t,a,O,i),G=t.memoizedState),(p=Ys||Md(t,a,p,i,x,G,h)||e!==null&&e.dependencies!==null&&Uo(e.dependencies))?(_||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(i,G,h),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(i,G,h)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||d===e.memoizedProps&&x===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&x===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=G),s.props=i,s.state=G,s.context=h,s=p):(typeof s.componentDidUpdate!="function"||d===e.memoizedProps&&x===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&x===e.memoizedState||(t.flags|=1024),s=!1)}if(h=s,Hf(e,t),d=(t.flags&128)!==0,h||d){if(h=t.stateNode,Ze(t),d&&typeof a.getDerivedStateFromError!="function")a=null,Ia=-1;else if(a=t2(h),t.mode&ja){Bt(!0);try{t2(h)}finally{Bt(!1)}}t.flags|=1,e!==null&&d?(t.child=Or(t,e.child,null,o),t.child=Or(t,null,a,o)):Nl(e,t,a,o),t.memoizedState=h.state,e=t.child}else e=Bn(e,t,o);return o=t.stateNode,s&&o.props!==i&&(tm||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ce(t)||"a component"),tm=!0),e}function py(e,t,a,i){return Ci(),t.flags|=256,Nl(e,t,a,i),t.child}function $o(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
137
- %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=pe(t)||"Unknown",G2[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),G2[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=pe(t)||"Unknown",q2[t]||(console.error("%s: Function components do not support contextType.",t),q2[t]=!0))}function Fo(e){return{baseLanes:e,cachePool:Fm()}}function Hd(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=bn),e}function Bd(e,t,a){var i,o=t.pendingProps;H(t)&&(t.flags|=128);var s=!1,d=(t.flags&128)!==0;if((i=d)||(i=e!==null&&e.memoizedState===null?!1:(zl.current&$0)!==0),i&&(s=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(st){if(s?fa(t):fu(t),(e=kt)?(a=zt(e,Hu),a=a!==null&&a.data!==Ur?a:null,a!==null&&(i={dehydrated:a,treeContext:Yp(),retryLane:536870912,hydrationErrors:null},t.memoizedState=i,i=Qm(a),i.return=t,t.child=i,Ta=t,kt=null)):a=null,a===null)throw kl(t,e),un(t);return Fy(a)?t.lanes=32:t.lanes=536870912,null}var h=o.children;if(o=o.fallback,s){fu(t);var p=t.mode;return h=Bf({mode:"hidden",children:h},p),o=xc(o,p,a,null),h.return=t,o.return=t,h.sibling=o,t.child=h,o=t.child,o.memoizedState=Fo(a),o.childLanes=Hd(e,i,a),t.memoizedState=k1,wc(null,o)}return fa(t),gy(t,h)}var g=e.memoizedState;if(g!==null){var O=g.dehydrated;if(O!==null){if(d)t.flags&256?(fa(t),t.flags&=-257,t=qd(e,t,a)):t.memoizedState!==null?(fu(t),t.child=e.child,t.flags|=128,t=null):(fu(t),h=o.fallback,p=t.mode,o=Bf({mode:"visible",children:o.children},p),h=xc(h,p,a,null),h.flags|=2,o.return=t,h.return=t,o.sibling=h,t.child=o,Or(t,e.child,null,a),o=t.child,o.memoizedState=Fo(a),o.childLanes=Hd(e,i,a),t.memoizedState=k1,t=wc(null,o));else if(fa(t),wp(),(a&536870912)!==0&&es(t),Fy(O)){if(i=O.nextSibling&&O.nextSibling.dataset,i){h=i.dgst;var _=i.msg;p=i.stck;var x=i.cstck}s=_,i=h,o=p,O=x,h=s,p=O,h=Error(h||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),h.stack=o||"",h.digest=i,i=p===void 0?null:p,o={value:h,source:null,stack:i},typeof i=="string"&&M1.set(h,o),df(o),t=qd(e,t,a)}else if(Yl||_n(e,t,a,!1),i=(a&e.childLanes)!==0,Yl||i){if(i=Vt,i!==null&&(o=Sp(i,a),o!==0&&o!==g.retryLane))throw g.retryLane=o,Fl(e,o),Ye(i,e,o),F1;er(O)||ts(),t=qd(e,t,a)}else er(O)?(t.flags|=192,t.child=e.child,t=null):(e=g.treeContext,kt=Ka(O.nextSibling),Ta=t,st=!0,Rs=null,ac=!1,Kn=null,Hu=!1,e!==null&&Gp(t,e),t=gy(t,o.children),t.flags|=4096);return t}}return s?(fu(t),h=o.fallback,p=t.mode,x=e.child,O=x.sibling,o=nu(x,{mode:"hidden",children:o.children}),o.subtreeFlags=x.subtreeFlags&65011712,O!==null?h=nu(O,h):(h=xc(h,p,a,null),h.flags|=2),h.return=t,o.return=t,o.sibling=h,t.child=o,wc(null,o),o=t.child,h=e.child.memoizedState,h===null?h=Fo(a):(p=h.cachePool,p!==null?(x=Hl._currentValue,p=p.parent!==x?{parent:x,pool:x}:p):p=Fm(),h={baseLanes:h.baseLanes|a,cachePool:p}),o.memoizedState=h,o.childLanes=Hd(e,i,a),t.memoizedState=k1,wc(e.child,o)):(g!==null&&(a&62914560)===a&&(a&e.lanes)!==0&&es(t),fa(t),a=e.child,e=a.sibling,a=nu(a,{mode:"visible",children:o.children}),a.return=t,a.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=a,t.memoizedState=null,a)}function gy(e,t){return t=Bf({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Bf(e,t){return e=Z(22,e,null,t),e.lanes=0,e}function qd(e,t,a){return Or(t,e.child,null,a),e=gy(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function vy(e,t,a){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),md(e.return,t,a)}function Yd(e,t,a,i,o,s){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:o,treeForkCount:s}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=a,d.tailMode=o,d.treeForkCount=s)}function by(e,t,a){var i=t.pendingProps,o=i.revealOrder,s=i.tail,d=i.children,h=zl.current;if((i=(h&$0)!==0)?(h=h&Wh|$0,t.flags|=128):h&=Wh,De(zl,h,t),h=o??"null",o!=="forwards"&&o!=="unstable_legacy-backwards"&&o!=="together"&&o!=="independent"&&!w2[h])if(w2[h]=!0,o==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(o==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof o=="string")switch(o.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',o,o.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',o,o.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o);h=s??"null",gv[h]||(s==null?(o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards")&&(gv[h]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):s!=="visible"&&s!=="collapsed"&&s!=="hidden"?(gv[h]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',s)):o!=="forwards"&&o!=="backwards"&&o!=="unstable_legacy-backwards"&&(gv[h]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',s)));e:if((o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards")&&d!==void 0&&d!==null&&d!==!1)if(vl(d)){for(h=0;h<d.length;h++)if(!qt(d[h],h))break e}else if(h=Ee(d),typeof h=="function"){if(h=h.call(d))for(var p=h.next(),g=0;!p.done;p=h.next()){if(!qt(p.value,g))break e;g++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',o);if(Nl(e,t,d,a),st?(Di(),d=R0):d=0,!i&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&vy(e,a,t);else if(e.tag===19)vy(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"forwards":for(a=t.child,o=null;a!==null;)e=a.alternate,e!==null&&Mc(e)===null&&(o=a),a=a.sibling;a=o,a===null?(o=t.child,t.child=null):(o=a.sibling,a.sibling=null),Yd(t,!1,o,a,s,d);break;case"backwards":case"unstable_legacy-backwards":for(a=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Mc(e)===null){t.child=o;break}e=o.sibling,o.sibling=a,a=o,o=e}Yd(t,!0,a,null,s,d);break;case"together":Yd(t,!1,null,null,void 0,d);break;default:t.memoizedState=null}return t.child}function Bn(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Ia=-1,Vs|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(_n(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,a=nu(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=nu(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function Gd(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Uo(e)))}function Fp(e,t,a){switch(t.tag){case 3:Xt(t,t.stateNode.containerInfo),cn(t,Hl,e.memoizedState.cache),Ci();break;case 27:case 5:ne(t);break;case 4:Xt(t,t.stateNode.containerInfo);break;case 10:cn(t,t.type,t.memoizedProps.value);break;case 12:(a&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var i=t.stateNode;i.effectDuration=-0,i.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,Un(t),null;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(fa(t),t.flags|=128,null):(a&t.child.childLanes)!==0?Bd(e,t,a):(fa(t),e=Bn(e,t,a),e!==null?e.sibling:null);fa(t);break;case 19:var o=(e.flags&128)!==0;if(i=(a&t.childLanes)!==0,i||(_n(e,t,a,!1),i=(a&t.childLanes)!==0),o){if(i)return by(e,t,a);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),De(zl,zl.current,t),i)break;return null;case 22:return t.lanes=0,ry(e,t,a,t.pendingProps);case 24:cn(t,Hl,e.memoizedState.cache)}return Bn(e,t,a)}function qf(e,t,a){if(t._debugNeedsRemount&&e!==null){a=Tc(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),a._debugStack=t._debugStack,a._debugTask=t._debugTask;var i=t.return;if(i===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,a._debugInfo=t._debugInfo,t===i.child)i.child=a;else{var o=i.child;if(o===null)throw Error("Expected parent to have a child.");for(;o.sibling!==t;)if(o=o.sibling,o===null)throw Error("Expected to find the previous sibling.");o.sibling=a}return t=i.deletions,t===null?(i.deletions=[e],i.flags|=16):t.push(e),a.flags|=2,a}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Yl=!0;else{if(!Gd(e,a)&&(t.flags&128)===0)return Yl=!1,Fp(e,t,a);Yl=(e.flags&131072)!==0}else Yl=!1,(i=st)&&(Di(),i=(t.flags&1048576)!==0),i&&(i=t.index,Di(),Lm(t,R0,i));switch(t.lanes=0,t.tag){case 16:e:if(i=t.pendingProps,e=Ya(t.elementType),t.type=e,typeof e=="function")Vm(e)?(i=yu(e,i),t.tag=1,t.type=e=zi(e),t=Vc(null,t,e,i,a)):(t.tag=0,$o(t,e),t.type=e=zi(e),t=my(null,t,e,i,a));else{if(e!=null){if(o=e.$$typeof,o===vs){t.tag=11,t.type=e=fd(e),t=Kp(null,t,e,i,a);break e}else if(o===fr){t.tag=14,t=sy(null,t,e,i,a);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===Il&&(t=" Did you wrap a component in React.lazy() more than once?"),a=pe(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+a+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return my(e,t,t.type,t.pendingProps,a);case 1:return i=t.type,o=yu(i,t.pendingProps),Vc(e,t,i,o,a);case 3:e:{if(Xt(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");i=t.pendingProps;var s=t.memoizedState;o=s.element,cu(e,t),su(t,i,null,a);var d=t.memoizedState;if(i=d.cache,cn(t,Hl,i),i!==s.cache&&Ku(t,[Hl],a,!0),Yo(),i=d.element,s.isDehydrated)if(s={element:i,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){t=py(e,t,i,a);break e}else if(i!==o){o=ia(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),df(o),t=py(e,t,i,a);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,kt=Ka(e.firstChild),Ta=t,st=!0,Rs=null,ac=!1,Kn=null,Hu=!0,a=y2(t,null,i,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Ci(),i===o){t=Bn(e,t,a);break e}Nl(e,t,i,a)}t=t.child}return t;case 26:return Hf(e,t),e===null?(a=Py(t.type,null,t.pendingProps,null))?t.memoizedState=a:st||(a=t.type,e=t.pendingProps,i=Ut($a.current),i=If(i).createElement(a),i[$t]=t,i[Sa]=e,Kt(i,a,e),ol(i),t.stateNode=i):t.memoizedState=Py(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ne(t),e===null&&st&&(i=Ut($a.current),o=K(),i=t.stateNode=si(t.type,t.pendingProps,i,o,!1),ac||(o=Ca(i,t.type,t.pendingProps,o),o!==null&&(Ec(t,0).serverProps=o)),Ta=t,Hu=!0,o=kt,ki(t.type)?(bb=o,kt=Ka(i.firstChild)):kt=o),Nl(e,t,t.pendingProps.children,a),Hf(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&st&&(s=K(),i=tf(t.type,s.ancestorInfo),o=kt,(d=!o)||(d=zg(o,t.type,t.pendingProps,Hu),d!==null?(t.stateNode=d,ac||(s=Ca(d,t.type,t.pendingProps,s),s!==null&&(Ec(t,0).serverProps=s)),Ta=t,kt=Ka(d.firstChild),Hu=!1,s=!0):s=!1,d=!s),d&&(i&&kl(t,o),un(t))),ne(t),o=t.type,s=t.pendingProps,d=e!==null?e.memoizedProps:null,i=s.children,ss(o,s)?i=null:d!==null&&ss(o,d)&&(t.flags|=32),t.memoizedState!==null&&(o=ey(e,t,Tf,null,null,a),dp._currentValue=o),Hf(e,t),Nl(e,t,i,a),t.child;case 6:return e===null&&st&&(a=t.pendingProps,e=K(),i=e.ancestorInfo.current,a=i!=null?lf(a,i.tag,e.ancestorInfo.implicitRootScope):!0,e=kt,(i=!e)||(i=Og(e,t.pendingProps,Hu),i!==null?(t.stateNode=i,Ta=t,kt=null,i=!0):i=!1,i=!i),i&&(a&&kl(t,e),un(t))),null;case 13:return Bd(e,t,a);case 4:return Xt(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Or(t,null,i,a):Nl(e,t,i,a),t.child;case 11:return Kp(e,t,t.type,t.pendingProps,a);case 7:return Nl(e,t,t.pendingProps,a),t.child;case 8:return Nl(e,t,t.pendingProps.children,a),t.child;case 12:return t.flags|=4,t.flags|=2048,i=t.stateNode,i.effectDuration=-0,i.passiveEffectDuration=-0,Nl(e,t,t.pendingProps.children,a),t.child;case 10:return i=t.type,o=t.pendingProps,s=o.value,"value"in o||V2||(V2=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),cn(t,i,s),Nl(e,t,o.children,a),t.child;case 9:return o=t.type._context,i=t.pendingProps.children,typeof i!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),_i(t),o=vt(o),i=q1(i,o,void 0),t.flags|=1,Nl(e,t,i,a),t.child;case 14:return sy(e,t,t.type,t.pendingProps,a);case 15:return fy(e,t,t.type,t.pendingProps,a);case 19:return by(e,t,a);case 31:return $p(e,t,a);case 22:return ry(e,t,a,t.pendingProps);case 24:return _i(t),i=vt(Hl),e===null?(o=ku(),o===null&&(o=Vt,s=yd(),o.pooledCache=s,zc(s),s!==null&&(o.pooledCacheLanes|=a),o=s),t.memoizedState={parent:i,cache:o},ct(t),cn(t,Hl,o)):((e.lanes&a)!==0&&(cu(e,t),su(t,null,null,a),Yo()),o=e.memoizedState,s=t.memoizedState,o.parent!==i?(o={parent:i,cache:i},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),cn(t,Hl,i)):(i=s.cache,cn(t,Hl,i),i!==o.cache&&Ku(t,[Hl],a,!0))),Nl(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function pu(e){e.flags|=4}function wd(e,t,a,i,o){if((t=(e.mode&uA)!==qe)&&(t=!1),t){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(qy())e.flags|=8192;else throw zr=rv,G1}else e.flags&=-16777217}function kp(e,t){if(t.type!=="stylesheet"||(t.state.loading&wu)!==qr)e.flags&=-16777217;else if(e.flags|=16777216,!it(t))if(qy())e.flags|=8192;else throw zr=rv,G1}function ko(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Qr():536870912,e.lanes|=t,jr|=t)}function Wo(e,t){if(!st)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Mt(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,i=0;if(t)if((e.mode&Pe)!==qe){for(var o=e.selfBaseDuration,s=e.child;s!==null;)a|=s.lanes|s.childLanes,i|=s.subtreeFlags&65011712,i|=s.flags&65011712,o+=s.treeBaseDuration,s=s.sibling;e.treeBaseDuration=o}else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,i|=o.subtreeFlags&65011712,i|=o.flags&65011712,o.return=e,o=o.sibling;else if((e.mode&Pe)!==qe){o=e.actualDuration,s=e.selfBaseDuration;for(var d=e.child;d!==null;)a|=d.lanes|d.childLanes,i|=d.subtreeFlags,i|=d.flags,o+=d.actualDuration,s+=d.treeBaseDuration,d=d.sibling;e.actualDuration=o,e.treeBaseDuration=s}else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=i,e.childLanes=a,t}function Sy(e,t,a){var i=t.pendingProps;switch(hd(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Mt(t),null;case 1:return Mt(t),null;case 3:return a=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Mn(Hl,t),C(t),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Ac(t)?(Mi(),pu(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,rf())),Mt(t),null;case 26:var o=t.type,s=t.memoizedState;return e===null?(pu(t),s!==null?(Mt(t),kp(t,s)):(Mt(t),wd(t,o,null,i,a))):s?s!==e.memoizedState?(pu(t),Mt(t),kp(t,s)):(Mt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&pu(t),Mt(t),wd(t,o,e,i,a)),null;case 27:if(be(t),a=Ut($a.current),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&pu(t);else{if(!i){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Mt(t),null}e=K(),Ac(t)?Zm(t):(e=si(o,i,a,e,!0),t.stateNode=e,pu(t))}return Mt(t),null;case 5:if(be(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&pu(t);else{if(!i){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Mt(t),null}var d=K();if(Ac(t))Zm(t);else{switch(s=Ut($a.current),tf(o,d.ancestorInfo),d=d.context,s=If(s),d){case sm:s=s.createElementNS(Fe,o);break;case qv:s=s.createElementNS(Le,o);break;default:switch(o){case"svg":s=s.createElementNS(Fe,o);break;case"math":s=s.createElementNS(Le,o);break;case"script":s=s.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild);break;case"select":s=typeof i.is=="string"?s.createElement("select",{is:i.is}):s.createElement("select"),i.multiple?s.multiple=!0:i.size&&(s.size=i.size);break;default:s=typeof i.is=="string"?s.createElement(o,{is:i.is}):s.createElement(o),o.indexOf("-")===-1&&(o!==o.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",o),Object.prototype.toString.call(s)!=="[object HTMLUnknownElement]"||Fa.call(rT,o)||(rT[o]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",o)))}}s[$t]=t,s[Sa]=i;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)s.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=s;e:switch(Kt(s,o,i),o){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&pu(t)}}return Mt(t),wd(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&pu(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=Ut($a.current),a=K(),Ac(t)){if(e=t.stateNode,a=t.memoizedProps,o=!ac,i=null,s=Ta,s!==null)switch(s.tag){case 3:o&&(o=Mg(e,a,i),o!==null&&(Ec(t,0).serverProps=o));break;case 27:case 5:i=s.memoizedProps,o&&(o=Mg(e,a,i),o!==null&&(Ec(t,0).serverProps=o))}e[$t]=t,e=!!(e.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||Ky(e.nodeValue,a)),e||un(t,!0)}else o=a.ancestorInfo.current,o!=null&&lf(i,o.tag,a.ancestorInfo.implicitRootScope),e=If(e).createTextNode(i),e[$t]=t,t.stateNode=e}return Mt(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(i=Ac(t),a!==null){if(e===null){if(!i)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[$t]=t,Mt(t),(t.mode&Pe)!==qe&&a!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Mi(),Ci(),(t.flags&128)===0&&(a=t.memoizedState=null),t.flags|=4,Mt(t),(t.mode&Pe)!==qe&&a!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else a=rf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(_l(t),t):(_l(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return Mt(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=i,s=Ac(t),o!==null&&o.dehydrated!==null){if(e===null){if(!s)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");s[$t]=t,Mt(t),(t.mode&Pe)!==qe&&o!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration))}else Mi(),Ci(),(t.flags&128)===0&&(o=t.memoizedState=null),t.flags|=4,Mt(t),(t.mode&Pe)!==qe&&o!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration));o=!1}else o=rf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(_l(t),t):(_l(t),null)}return _l(t),(t.flags&128)!==0?(t.lanes=a,(t.mode&Pe)!==qe&&Dc(t),t):(a=i!==null,e=e!==null&&e.memoizedState!==null,a&&(i=t.child,o=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(o=i.alternate.memoizedState.cachePool.pool),s=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(s=i.memoizedState.cachePool.pool),s!==o&&(i.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),ko(t,t.updateQueue),Mt(t),(t.mode&Pe)!==qe&&a&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return C(t),e===null&&$i(t.stateNode.containerInfo),Mt(t),null;case 10:return Mn(t.type,t),Mt(t),null;case 19:if(Re(zl,t),i=t.memoizedState,i===null)return Mt(t),null;if(o=(t.flags&128)!==0,s=i.rendering,s===null)if(o)Wo(i,!1);else{if(il!==po||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=Mc(e),s!==null){for(t.flags|=128,Wo(i,!1),e=s.updateQueue,t.updateQueue=e,ko(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Xm(a,e),a=a.sibling;return De(zl,zl.current&Wh|$0,t),st&&Cn(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&Ul()>Av&&(t.flags|=128,o=!0,Wo(i,!1),t.lanes=4194304)}else{if(!o)if(e=Mc(s),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,ko(t,e),Wo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!st)return Mt(t),null}else 2*Ul()-i.renderingStartTime>Av&&a!==536870912&&(t.flags|=128,o=!0,Wo(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(e=i.last,e!==null?e.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Ul(),e.sibling=null,a=zl.current,a=o?a&Wh|$0:a&Wh,De(zl,a,t),st&&Cn(t,i.treeForkCount),e):(Mt(t),null);case 22:case 23:return _l(t),Rn(t),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(a&536870912)!==0&&(t.flags&128)===0&&(Mt(t),t.subtreeFlags&6&&(t.flags|=8192)):Mt(t),a=t.updateQueue,a!==null&&ko(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==a&&(t.flags|=2048),e!==null&&Re(Er,t),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Mn(Hl,t),Mt(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Wp(e,t){switch(hd(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Pe)!==qe&&Dc(t),t):null;case 3:return Mn(Hl,t),C(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return be(t),null;case 31:if(t.memoizedState!==null){if(_l(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ci()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Pe)!==qe&&Dc(t),t):null;case 13:if(_l(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ci()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Pe)!==qe&&Dc(t),t):null;case 19:return Re(zl,t),null;case 4:return C(t),null;case 10:return Mn(t.type,t),null;case 22:case 23:return _l(t),Rn(t),e!==null&&Re(Er,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Pe)!==qe&&Dc(t),t):null;case 24:return Mn(Hl,t),null;case 25:return null;default:return null}}function Ty(e,t){switch(hd(t),t.tag){case 3:Mn(Hl,t),C(t);break;case 26:case 27:case 5:be(t);break;case 4:C(t);break;case 31:t.memoizedState!==null&&_l(t);break;case 13:_l(t);break;case 19:Re(zl,t);break;case 10:Mn(t.type,t);break;case 22:case 23:_l(t),Rn(t),e!==null&&Re(Er,t);break;case 24:Mn(Hl,t)}}function gu(e){return(e.mode&Pe)!==qe}function Ip(e,t){gu(e)?(ll(),ni(t,e),oa()):ni(t,e)}function Vd(e,t,a){gu(e)?(ll(),Xi(a,e,t),oa()):Xi(a,e,t)}function ni(e,t){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var o=i.next;a=o;do{if((a.tag&e)===e&&(i=void 0,(e&Pa)!==hv&&(im=!0),i=ee(t,rA,a),(e&Pa)!==hv&&(im=!1),i!==void 0&&typeof i!="function")){var s=void 0;s=(a.tag&Fn)!==0?"useLayoutEffect":(a.tag&Pa)!==0?"useInsertionEffect":"useEffect";var d=void 0;d=i===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof i.then=="function"?`
137
+ https://react.dev/link/unsafe-component-lifecycles`,a,u,o===null?``:`
138
+ `+o,c===null?``:`
139
+ `+c,l===null?``:`
140
+ `+l))}}a=t.stateNode,o=C(n)||`Component`,a.render||(n.prototype&&typeof n.prototype.render==`function`?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",o):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",o)),!a.getInitialState||a.getInitialState.isReactClassApproved||a.state||console.error(`getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?`,o),a.getDefaultProps&&!a.getDefaultProps.isReactClassApproved&&console.error(`getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.`,o),a.contextType&&console.error(`contextType was defined as an instance property on %s. Use a static property to define contextType instead.`,o),n.childContextTypes&&!Qy.has(n)&&(Qy.add(n),console.error(`%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)`,o)),n.contextTypes&&!Zy.has(n)&&(Zy.add(n),console.error(`%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)`,o)),typeof a.componentShouldUpdate==`function`&&console.error(`%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.`,o),n.prototype&&n.prototype.isPureReactComponent&&a.shouldComponentUpdate!==void 0&&console.error(`%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.`,C(n)||`A pure component`),typeof a.componentDidUnmount==`function`&&console.error(`%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?`,o),typeof a.componentDidReceiveProps==`function`&&console.error(`%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().`,o),typeof a.componentWillRecieveProps==`function`&&console.error(`%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?`,o),typeof a.UNSAFE_componentWillRecieveProps==`function`&&console.error(`%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?`,o),c=a.props!==r,a.props!==void 0&&c&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o),a.defaultProps&&console.error(`Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.`,o,o),typeof a.getSnapshotBeforeUpdate!=`function`||typeof a.componentDidUpdate==`function`||qy.has(n)||(qy.add(n),console.error(`%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.`,C(n))),typeof a.getDerivedStateFromProps==`function`&&console.error(`%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.`,o),typeof a.getDerivedStateFromError==`function`&&console.error(`%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.`,o),typeof n.getSnapshotBeforeUpdate==`function`&&console.error(`%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.`,o),(c=a.state)&&(typeof c!=`object`||Hf(c))&&console.error(`%s.state: must be set to an object or null`,o),typeof a.getChildContext==`function`&&typeof n.childContextTypes!=`object`&&console.error(`%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().`,o),a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},qi(t),o=n.contextType,a.context=typeof o==`object`&&o?Qr(o):jg,a.state===r&&(o=C(n)||`Component`,Yy.has(o)||(Yy.add(o),console.error(`%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.`,o))),t.mode&Fg&&cv.recordLegacyContextWarning(t,a),cv.recordUnsafeLifecycleWarnings(t,a),a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Ko(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&(console.error(`%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.`,w(t)||`Component`),tb.enqueueReplaceState(a,a.state,null)),ea(t,r,a,i),$i(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Ig)!==G&&(t.flags|=134217728),a=!0}else if(e===null){a=t.stateNode;var d=t.memoizedProps;c=Yo(n,d),a.props=c;var f=a.context;l=n.contextType,o=jg,typeof l==`object`&&l&&(o=Qr(l)),u=n.getDerivedStateFromProps,l=typeof u==`function`||typeof a.getSnapshotBeforeUpdate==`function`,d=t.pendingProps!==d,l||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(d||f!==o)&&Jo(t,a,r,o),ty=!1;var p=t.memoizedState;a.state=p,ea(t,r,a,i),$i(),f=t.memoizedState,d||p!==f||ty?(typeof u==`function`&&(Ko(t,n,u,r),f=t.memoizedState),(c=ty||qo(t,n,c,r,p,f,o))?(l||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Ig)!==G&&(t.flags|=134217728)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Ig)!==G&&(t.flags|=134217728),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=o,a=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Ig)!==G&&(t.flags|=134217728),a=!1)}else{a=t.stateNode,Ji(e,t),o=t.memoizedProps,l=Yo(n,o),a.props=l,u=t.pendingProps,p=a.context,f=n.contextType,c=jg,typeof f==`object`&&f&&(c=Qr(f)),d=n.getDerivedStateFromProps,(f=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==u||p!==c)&&Jo(t,a,r,c),ty=!1,p=t.memoizedState,a.state=p,ea(t,r,a,i),$i();var m=t.memoizedState;o!==u||p!==m||ty||e!==null&&e.dependencies!==null&&Xr(e.dependencies)?(typeof d==`function`&&(Ko(t,n,d,r),m=t.memoizedState),(l=ty||qo(t,n,l,r,p,m,c)||e!==null&&e.dependencies!==null&&Xr(e.dependencies))?(f||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,m,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,m,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=c,a=l):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),a=!1)}if(c=a,hs(e,t),o=(t.flags&128)!=0,c||o){if(c=t.stateNode,_e(t),o&&typeof n.getDerivedStateFromError!=`function`)n=null,S_=-1;else if(n=xv(c),t.mode&Fg){Te(!0);try{xv(c)}finally{Te(!1)}}t.flags|=1,e!==null&&o?(t.child=Yv(t,e.child,null,i),t.child=Yv(t,null,n,i)):as(e,t,n,i),t.memoizedState=c.state,e=t.child}else e=As(e,t,i);return i=t.stateNode,a&&i.props!==r&&(ub||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",w(t)||`a component`),ub=!0),e}function ys(e,t,n,r){return Br(),t.flags|=256,as(e,t,n,r),t.child}function bs(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
141
+ %s.childContextTypes = ...`,t.displayName||t.name||`Component`),typeof t.getDerivedStateFromProps==`function`&&(e=C(t)||`Unknown`,lb[e]||(console.error(`%s: Function components do not support getDerivedStateFromProps.`,e),lb[e]=!0)),typeof t.contextType==`object`&&t.contextType!==null&&(t=C(t)||`Unknown`,sb[t]||(console.error(`%s: Function components do not support contextType.`,t),sb[t]=!0))}function xs(e){return{baseLanes:e,cachePool:Oi()}}function Ss(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=ux),e}function Cs(e,t,n){var r,i=t.pendingProps;o(t)&&(t.flags|=128);var a=!1,s=(t.flags&128)!=0;if((r=s)||(r=e!==null&&e.memoizedState===null?!1:(dy.current&uy)!==0),r&&(a=!0,t.flags&=-129),r=(t.flags&32)!=0,t.flags&=-33,e===null){if(Qg){if(a?sa(t):ua(t),(e=Zg)?(n=ld(e,n_),n=n!==null&&n.data!==OS?n:null,n!==null&&(r={dehydrated:n,treeContext:Ar(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,r=Cr(n),r.return=t,t.child=r,Xg=t,Zg=null)):n=null,n===null)throw Fr(t,e),Ir(t);return dd(n)?t.lanes=32:t.lanes=536870912,null}var c=i.children;if(i=i.fallback,a){ua(t);var l=t.mode;return c=Ts({mode:`hidden`,children:c},l),i=xr(i,l,n,null),c.return=t,i.return=t,c.sibling=i,t.child=c,i=t.child,i.memoizedState=xs(n),i.childLanes=Ss(e,r,n),t.memoizedState=pb,us(null,i)}return sa(t),ws(t,c)}var u=e.memoizedState;if(u!==null){var d=u.dehydrated;if(d!==null){if(s)t.flags&256?(sa(t),t.flags&=-257,t=Es(e,t,n)):t.memoizedState===null?(ua(t),c=i.fallback,l=t.mode,i=Ts({mode:`visible`,children:i.children},l),c=xr(c,l,n,null),c.flags|=2,i.return=t,c.return=t,i.sibling=c,t.child=i,Yv(t,e.child,null,n),i=t.child,i.memoizedState=xs(n),i.childLanes=Ss(e,r,n),t.memoizedState=pb,t=us(null,i)):(ua(t),t.child=e.child,t.flags|=128,t=null);else if(sa(t),Pr(),n&536870912&&ul(t),dd(d)){if(r=d.nextSibling&&d.nextSibling.dataset,r){c=r.dgst;var f=r.msg;l=r.stck;var p=r.cstck}a=f,r=c,i=l,d=p,c=a,l=d,c=Error(c||`The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.`),c.stack=i||``,c.digest=r,r=l===void 0?null:l,i={value:c,source:null,stack:r},typeof r==`string`&&Bg.set(c,i),Hr(i),t=Es(e,t,n)}else if(ab||Yr(e,t,n,!1),r=(n&e.childLanes)!==0,ab||r){if(r=Ub,r!==null&&(i=Le(r,n),i!==0&&i!==u.retryLane))throw u.retryLane=i,sr(e,i),Zc(r,e,i),ib;ud(d)||dl(),t=Es(e,t,n)}else ud(d)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,Zg=pd(d.nextSibling),Xg=t,Qg=!0,t_=null,$g=!1,e_=null,n_=!1,e!==null&&jr(t,e),t=ws(t,i.children),t.flags|=4096);return t}}return a?(ua(t),c=i.fallback,l=t.mode,p=e.child,d=p.sibling,i=_r(p,{mode:`hidden`,children:i.children}),i.subtreeFlags=p.subtreeFlags&65011712,d===null?(c=xr(c,l,n,null),c.flags|=2):c=_r(d,c),c.return=t,i.return=t,i.sibling=c,t.child=i,us(null,i),i=t.child,c=e.child.memoizedState,c===null?c=xs(n):(l=c.cachePool,l===null?l=Oi():(p=p_._currentValue,l=l.parent===p?l:{parent:p,pool:p}),c={baseLanes:c.baseLanes|n,cachePool:l}),i.memoizedState=c,i.childLanes=Ss(e,r,n),t.memoizedState=pb,us(e.child,i)):(u!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&ul(t),sa(t),n=e.child,e=n.sibling,n=_r(n,{mode:`visible`,children:i.children}),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function ws(e,t){return t=Ts({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Ts(e,t){return e=p(22,e,null,t),e.lanes=0,e}function Es(e,t,n){return Yv(t,e.child,null,n),e=ws(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ds(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),qr(e.return,t,n)}function Os(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function ks(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail,o=r.children,s=dy.current;if((r=(s&uy)!==0)?(s=s&ly|uy,t.flags|=128):s&=ly,E(dy,s,t),s=i??`null`,i!==`forwards`&&i!==`unstable_legacy-backwards`&&i!==`together`&&i!==`independent`&&!db[s])if(db[s]=!0,i==null)console.error(`The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".`);else if(i===`backwards`)console.error(`The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.`);else if(typeof i==`string`)switch(i.toLowerCase()){case`together`:case`forwards`:case`backwards`:case`independent`:console.error(`"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.`,i,i.toLowerCase());break;case`forward`:case`backward`:console.error(`"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.`,i,i.toLowerCase());break;default:console.error(`"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?`,i)}else console.error(`%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?`,i);s=a??`null`,fb[s]||(a==null?(i===`forwards`||i===`backwards`||i===`unstable_legacy-backwards`)&&(fb[s]=!0,console.error(`The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".`)):a!==`visible`&&a!==`collapsed`&&a!==`hidden`?(fb[s]=!0,console.error(`"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?`,a)):i!==`forwards`&&i!==`backwards`&&i!==`unstable_legacy-backwards`&&(fb[s]=!0,console.error(`<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?`,a)));a:if((i===`forwards`||i===`backwards`||i===`unstable_legacy-backwards`)&&o!=null&&!1!==o)if(Hf(o)){for(s=0;s<o.length;s++)if(!Ki(o[s],s))break a}else if(s=te(o),typeof s==`function`){if(s=s.call(o))for(var c=s.next(),l=0;!c.done;c=s.next()){if(!Ki(c.value,l))break a;l++}}else console.error(`A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?`,i);if(as(e,t,o,n),Qg?(Mr(),o=Wg):o=0,!r&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ds(e,n,t);else if(e.tag===19)Ds(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&I(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Os(t,!1,i,n,a,o);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&I(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Os(t,!0,n,null,a,o);break;case`together`:Os(t,!1,null,null,void 0,o);break;default:t.memoizedState=null}return t.child}function As(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),S_=-1,sx|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Yr(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(`Resuming work not yet implemented.`);if(t.child!==null){for(e=t.child,n=_r(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=_r(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function js(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&Xr(e))):!0}function Ms(e,t,n){switch(t.tag){case 3:oe(t,t.stateNode.containerInfo),Gr(t,p_,e.memoizedState.cache),Br();break;case 27:case 5:se(t);break;case 4:oe(t,t.stateNode.containerInfo);break;case 10:Gr(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var r=t.stateNode;r.effectDuration=-0,r.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,ca(t),null;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(sa(t),e=As(e,t,n),e===null?null:e.sibling):Cs(e,t,n):(sa(t),t.flags|=128,null);sa(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(Yr(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return ks(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),E(dy,dy.current,t),r)break;return null;case 22:return t.lanes=0,ls(e,t,n,t.pendingProps);case 24:Gr(t,p_,e.memoizedState.cache)}return As(e,t,n)}function Ns(e,t,n){if(t._debugNeedsRemount&&e!==null){n=yr(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var r=t.return;if(r===null)throw Error(`Cannot swap the root fiber.`);if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===r.child)r.child=n;else{var i=r.child;if(i===null)throw Error(`Expected parent to have a child.`);for(;i.sibling!==t;)if(i=i.sibling,i===null)throw Error(`Expected to find the previous sibling.`);i.sibling=n}return t=r.deletions,t===null?(r.deletions=[e],r.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)ab=!0;else{if(!js(e,n)&&!(t.flags&128))return ab=!1,Ms(e,t,n);ab=!!(e.flags&131072)}else ab=!1,(r=Qg)&&(Mr(),r=(t.flags&1048576)!=0),r&&(r=t.index,Mr(),Dr(t,Wg,r));switch(t.lanes=0,t.tag){case 16:a:if(r=t.pendingProps,e=Mi(t.elementType),t.type=e,typeof e==`function`)gr(e)?(r=Yo(e,r),t.tag=1,t.type=e=ur(e),t=vs(null,t,e,r,n)):(t.tag=0,bs(t,e),t.type=e=ur(e),t=gs(null,t,e,r,n));else{if(e!=null){if(i=e.$$typeof,i===Nf){t.tag=11,t.type=e=dr(e),t=os(null,t,e,r,n);break a}else if(i===If){t.tag=14,t=ss(null,t,e,r,n);break a}}throw t=``,typeof e==`object`&&e&&e.$$typeof===Lf&&(t=` Did you wrap a component in React.lazy() more than once?`),n=C(e)||e,Error(`Element type is invalid. Received a promise that resolves to: `+n+`. Lazy element type must resolve to a class or function.`+t)}return t;case 0:return gs(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,i=Yo(r,t.pendingProps),vs(e,t,r,i,n);case 3:a:{if(oe(t,t.stateNode.containerInfo),e===null)throw Error(`Should have a current fiber. This is a bug in React.`);r=t.pendingProps;var a=t.memoizedState;i=a.element,Ji(e,t),ea(t,r,null,n);var o=t.memoizedState;if(r=o.cache,Gr(t,p_,r),r!==a.cache&&Jr(t,[p_],n,!0),$i(),r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){t=ys(e,t,r,n);break a}else if(r!==i){i=Tr(Error(`This root received an early update, before anything was able hydrate. Switched the entire root to client rendering.`),t),Hr(i),t=ys(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Zg=pd(e.firstChild),Xg=t,Qg=!0,t_=null,$g=!1,e_=null,n_=!0,n=Xv(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Br(),r===i){t=As(e,t,n);break a}as(e,t,r,n)}t=t.child}return t;case 26:return hs(e,t),e===null?(n=Ed(t.type,null,t.pendingProps,null))?t.memoizedState=n:Qg||(n=t.type,e=t.pendingProps,r=ae(Xf.current),r=Fu(r).createElement(n),r[Vp]=t,r[Hp]=e,xu(r,n,e),Ye(r),t.stateNode=r):t.memoizedState=Ed(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return se(t),e===null&&Qg&&(r=ae(Xf.current),i=O(),r=t.stateNode=xd(t.type,t.pendingProps,r,i,!1),$g||(i=ju(r,t.type,t.pendingProps,i),i!==null&&(Nr(t,0).serverProps=i)),Xg=t,n_=!0,i=Zg,Yu(t.type)?(tC=i,Zg=pd(r.firstChild)):Zg=i),as(e,t,t.pendingProps.children,n),hs(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Qg&&(a=O(),r=Ut(t.type,a.ancestorInfo),i=Zg,(o=!i)||(o=sd(i,t.type,t.pendingProps,n_),o===null?a=!1:(t.stateNode=o,$g||(a=ju(o,t.type,t.pendingProps,a),a!==null&&(Nr(t,0).serverProps=a)),Xg=t,Zg=pd(o.firstChild),n_=!1,a=!0),o=!a),o&&(r&&Fr(t,i),Ir(t))),se(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,r=a.children,Ru(i,a)?r=null:o!==null&&Ru(i,o)&&(t.flags|=32),t.memoizedState!==null&&(i=ga(e,t,ya,null,null,n),yC._currentValue=i),hs(e,t),as(e,t,r,n),t.child;case 6:return e===null&&Qg&&(n=t.pendingProps,e=O(),r=e.ancestorInfo.current,n=r==null?!0:Wt(n,r.tag,e.ancestorInfo.implicitRootScope),e=Zg,(r=!e)||(r=cd(e,t.pendingProps,n_),r===null?r=!1:(t.stateNode=r,Xg=t,Zg=null,r=!0),r=!r),r&&(n&&Fr(t,e),Ir(t))),null;case 13:return Cs(e,t,n);case 4:return oe(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Yv(t,null,r,n):as(e,t,r,n),t.child;case 11:return os(e,t,t.type,t.pendingProps,n);case 7:return as(e,t,t.pendingProps,n),t.child;case 8:return as(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,r=t.stateNode,r.effectDuration=-0,r.passiveEffectDuration=-0,as(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.type,i=t.pendingProps,a=i.value,`value`in i||mb||(mb=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Gr(t,r,a),as(e,t,i.children,n),t.child;case 9:return i=t.type._context,r=t.pendingProps.children,typeof r!=`function`&&console.error(`A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.`),Zr(t),i=Qr(i),r=yv(r,i,void 0),t.flags|=1,as(e,t,r,n),t.child;case 14:return ss(e,t,t.type,t.pendingProps,n);case 15:return cs(e,t,t.type,t.pendingProps,n);case 19:return ks(e,t,n);case 31:return ms(e,t,n);case 22:return ls(e,t,n,t.pendingProps);case 24:return Zr(t),r=Qr(p_),e===null?(i=Ei(),i===null&&(i=Ub,a=ti(),i.pooledCache=a,ni(a),a!==null&&(i.pooledCacheLanes|=n),i=a),t.memoizedState={parent:r,cache:i},qi(t),Gr(t,p_,i)):((e.lanes&n)!==0&&(Ji(e,t),ea(t,null,null,n),$i()),i=e.memoizedState,a=t.memoizedState,i.parent===r?(r=a.cache,Gr(t,p_,r),r!==i.cache&&Jr(t,[p_],n,!0)):(i={parent:r,cache:r},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),Gr(t,p_,r))),as(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(`Unknown unit of work tag (`+t.tag+`). This error is likely caused by a bug in React. Please file an issue.`)}function Ps(e){e.flags|=4}function Fs(e,t,n,r,i){if((t=(e.mode&Lg)!==G)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(sl())e.flags|=8192;else throw Bv=zv,Lv}else e.flags&=-16777217}function Is(e,t){if(t.type!==`stylesheet`||(t.state.loading&oC)!==nC)e.flags&=-16777217;else if(e.flags|=16777216,!Bd(t))if(sl())e.flags|=8192;else throw Bv=zv,Lv}function Ls(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:je(),e.lanes|=t,dx|=t)}function Rs(e,t){if(!Qg)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function zs(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)if((e.mode&K)!==G){for(var i=e.selfBaseDuration,a=e.child;a!==null;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags&65011712,r|=a.flags&65011712,i+=a.treeBaseDuration,a=a.sibling;e.treeBaseDuration=i}else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else if((e.mode&K)!==G){i=e.actualDuration,a=e.selfBaseDuration;for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,i+=o.actualDuration,a+=o.treeBaseDuration,o=o.sibling;e.actualDuration=i,e.treeBaseDuration=a}else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Bs(e,t,n){var r=t.pendingProps;switch(kr(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return zs(t),null;case 1:return zs(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Kr(p_,t),D(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(zr(t)?(Ur(),Ps(t)):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Vr())),zs(t),null;case 26:var i=t.type,a=t.memoizedState;return e===null?(Ps(t),a===null?(zs(t),Fs(t,i,null,r,n)):(zs(t),Is(t,a))):a?a===e.memoizedState?(zs(t),t.flags&=-16777217):(Ps(t),zs(t),Is(t,a)):(e=e.memoizedProps,e!==r&&Ps(t),zs(t),Fs(t,i,e,r,n)),null;case 27:if(ce(t),n=ae(Xf.current),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Ps(t);else{if(!r){if(t.stateNode===null)throw Error(`We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.`);return zs(t),null}e=O(),zr(t)?Lr(t,e):(e=xd(i,r,n,e,!0),t.stateNode=e,Ps(t))}return zs(t),null;case 5:if(ce(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Ps(t);else{if(!r){if(t.stateNode===null)throw Error(`We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.`);return zs(t),null}var o=O();if(zr(t))Lr(t,o);else{switch(a=ae(Xf.current),Ut(i,o.ancestorInfo),o=o.context,a=Fu(a),o){case US:a=a.createElementNS(jm,i);break;case WS:a=a.createElementNS(Am,i);break;default:switch(i){case`svg`:a=a.createElementNS(jm,i);break;case`math`:a=a.createElementNS(Am,i);break;case`script`:a=a.createElement(`div`),a.innerHTML=`<script><\/script>`,a=a.removeChild(a.firstChild);break;case`select`:a=typeof r.is==`string`?a.createElement(`select`,{is:r.is}):a.createElement(`select`),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a=typeof r.is==`string`?a.createElement(i,{is:r.is}):a.createElement(i),i.indexOf(`-`)===-1&&(i!==i.toLowerCase()&&console.error(`<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.`,i),Object.prototype.toString.call(a)!==`[object HTMLUnknownElement]`||fp.call(qS,i)||(qS[i]=!0,console.error(`The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.`,i)))}}a[Vp]=t,a[Hp]=r;a:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)a.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break a;for(;o.sibling===null;){if(o.return===null||o.return===t)break a;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=a;a:switch(xu(a,i,r),i){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Ps(t)}}return zs(t),Fs(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Ps(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(`We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.`);if(e=ae(Xf.current),n=O(),zr(t)){if(e=t.stateNode,n=t.memoizedProps,i=!$g,r=null,a=Xg,a!==null)switch(a.tag){case 3:i&&(i=hd(e,n,r),i!==null&&(Nr(t,0).serverProps=i));break;case 27:case 5:r=a.memoizedProps,i&&(i=hd(e,n,r),i!==null&&(Nr(t,0).serverProps=i))}e[Vp]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||vu(e.nodeValue,n)),e||Ir(t,!0)}else i=n.ancestorInfo.current,i!=null&&Wt(r,i.tag,n.ancestorInfo.implicitRootScope),e=Fu(e).createTextNode(r),e[Vp]=t,t.stateNode=e}return zs(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=zr(t),n!==null){if(e===null){if(!r)throw Error(`A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.`);if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(`Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.`);e[Vp]=t,zs(t),(t.mode&K)!==G&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Ur(),Br(),!(t.flags&128)&&(n=t.memoizedState=null),t.flags|=4,zs(t),(t.mode&K)!==G&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=Vr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(da(t),t):(da(t),null);if(t.flags&128)throw Error(`Client rendering an Activity suspended it again. This is a bug in React.`)}return zs(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=r,a=zr(t),i!==null&&i.dehydrated!==null){if(e===null){if(!a)throw Error(`A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.`);if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(`Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`);a[Vp]=t,zs(t),(t.mode&K)!==G&&i!==null&&(i=t.child,i!==null&&(t.treeBaseDuration-=i.treeBaseDuration))}else Ur(),Br(),!(t.flags&128)&&(i=t.memoizedState=null),t.flags|=4,zs(t),(t.mode&K)!==G&&i!==null&&(i=t.child,i!==null&&(t.treeBaseDuration-=i.treeBaseDuration));i=!1}else i=Vr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(da(t),t):(da(t),null)}return da(t),t.flags&128?(t.lanes=n,(t.mode&K)!==G&&Si(t),t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,i=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(i=r.alternate.memoizedState.cachePool.pool),a=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(a=r.memoizedState.cachePool.pool),a!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Ls(t,t.updateQueue),zs(t),(t.mode&K)!==G&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return D(t),e===null&&au(t.stateNode.containerInfo),zs(t),null;case 10:return Kr(t.type,t),zs(t),null;case 19:if(T(dy,t),r=t.memoizedState,r===null)return zs(t),null;if(i=(t.flags&128)!=0,a=r.rendering,a===null)if(i)Rs(r,!1);else{if(ox!==Fb||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=I(e),a!==null){for(t.flags|=128,Rs(r,!1),e=a.updateQueue,t.updateQueue=e,Ls(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)vr(n,e),n=n.sibling;return E(dy,dy.current&ly|uy,t),Qg&&Er(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&_p()>vx&&(t.flags|=128,i=!0,Rs(r,!1),t.lanes=4194304)}else{if(!i)if(e=I(a),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Ls(t,e),Rs(r,!0),r.tail===null&&r.tailMode===`hidden`&&!a.alternate&&!Qg)return zs(t),null}else 2*_p()-r.renderingStartTime>vx&&n!==536870912&&(t.flags|=128,i=!0,Rs(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(e=r.last,e===null?t.child=a:e.sibling=a,r.last=a)}return r.tail===null?(zs(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=_p(),e.sibling=null,n=dy.current,n=i?n&ly|uy:n&ly,E(dy,n,t),Qg&&Er(t,r.treeForkCount),e);case 22:case 23:return da(t),oa(t),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(zs(t),t.subtreeFlags&6&&(t.flags|=8192)):zs(t),n=t.updateQueue,n!==null&&Ls(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&T(sv,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Kr(p_,t),zs(t),null;case 25:return null;case 30:return null}throw Error(`Unknown unit of work tag (`+t.tag+`). This error is likely caused by a bug in React. Please file an issue.`)}function Vs(e,t){switch(kr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&K)!==G&&Si(t),t):null;case 3:return Kr(p_,t),D(t),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ce(t),null;case 31:if(t.memoizedState!==null){if(da(t),t.alternate===null)throw Error(`Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.`);Br()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&K)!==G&&Si(t),t):null;case 13:if(da(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(`Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.`);Br()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&K)!==G&&Si(t),t):null;case 19:return T(dy,t),null;case 4:return D(t),null;case 10:return Kr(t.type,t),null;case 22:case 23:return da(t),oa(t),e!==null&&T(sv,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&K)!==G&&Si(t),t):null;case 24:return Kr(p_,t),null;case 25:return null;default:return null}}function Hs(e,t){switch(kr(t),t.tag){case 3:Kr(p_,t),D(t);break;case 26:case 27:case 5:ce(t);break;case 4:D(t);break;case 31:t.memoizedState!==null&&da(t);break;case 13:da(t);break;case 19:T(dy,t);break;case 10:Kr(t.type,t);break;case 22:case 23:da(t),oa(t),e!==null&&T(sv,t);break;case 24:Kr(p_,t)}}function Us(e){return(e.mode&K)!==G}function Ws(e,t){Us(e)?(xi(),Ks(t,e),yi()):Ks(t,e)}function Gs(e,t,n){Us(e)?(xi(),qs(n,e,t),yi()):qs(n,e,t)}function Ks(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e&&(r=void 0,(e&my)!==fy&&(Qx=!0),r=M(t,jv,n),(e&my)!==fy&&(Qx=!1),r!==void 0&&typeof r!=`function`)){var a=void 0;a=(n.tag&hy)===0?(n.tag&my)===0?`useEffect`:`useInsertionEffect`:`useLayoutEffect`;var o=void 0;o=r===null?` You returned null. If your effect does not require clean up, return undefined (or nothing).`:typeof r.then==`function`?`
138
142
 
139
- It looks like you wrote `+s+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
143
+ It looks like you wrote `+a+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
140
144
 
141
- `+s+`(() => {
145
+ `+a+`(() => {
142
146
  async function fetchData() {
143
147
  // You can await here
144
148
  const response = await MyAPI.getData(someId);
@@ -147,11 +151,11 @@ It looks like you wrote `+s+`(async () => ...) or returned a Promise. Instead, w
147
151
  fetchData();
148
152
  }, [someId]); // Or [] if effect doesn't need props or state
149
153
 
150
- Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+i,ee(t,function(h,p){console.error("%s must not return anything besides a function, which is used for clean-up.%s",h,p)},s,d)}a=a.next}while(a!==o)}}catch(h){$e(t,t.return,h)}}function Xi(e,t,a){try{var i=t.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var s=o.next;i=s;do{if((i.tag&e)===e){var d=i.inst,h=d.destroy;h!==void 0&&(d.destroy=void 0,(e&Pa)!==hv&&(im=!0),o=t,ee(o,dA,o,a,h),(e&Pa)!==hv&&(im=!1))}i=i.next}while(i!==s)}}catch(p){$e(t,t.return,p)}}function Yf(e,t){gu(e)?(ll(),ni(t,e),oa()):ni(t,e)}function Xd(e,t,a){gu(e)?(ll(),Xi(a,e,t),oa()):Xi(a,e,t)}function xy(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||tm||(a.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ce(e)||"instance"),a.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ce(e)||"instance"));try{ee(e,Go,t,a)}catch(i){$e(e,e.return,i)}}}function Gf(e,t,a){return e.getSnapshotBeforeUpdate(t,a)}function Pp(e,t){var a=t.memoizedProps,i=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||tm||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ce(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ce(e)||"instance"));try{var o=yu(e.type,a),s=ee(e,Gf,t,o,i);a=X2,s!==void 0||a.has(e.type)||(a.add(e.type),ee(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ce(e))})),t.__reactInternalSnapshotBeforeUpdate=s}catch(d){$e(e,e.return,d)}}function Qd(e,t,a){a.props=yu(e.type,e.memoizedProps),a.state=e.memoizedState,gu(e)?(ll(),ee(e,c2,e,t,a),oa()):ee(e,c2,e,t,a)}function eg(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}if(typeof t=="function")if(gu(e))try{ll(),e.refCleanup=t(a)}finally{oa()}else e.refCleanup=t(a);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",ce(e)),t.current=a}}function Xc(e,t){try{ee(e,eg,e)}catch(a){$e(e,t,a)}}function dn(e,t){var a=e.ref,i=e.refCleanup;if(a!==null)if(typeof i=="function")try{if(gu(e))try{ll(),ee(e,i)}finally{oa(e)}else ee(e,i)}catch(o){$e(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{if(gu(e))try{ll(),ee(e,a,null)}finally{oa(e)}else ee(e,a,null)}catch(o){$e(e,t,o)}else a.current=null}function Ey(e,t,a,i){var o=e.memoizedProps,s=o.id,d=o.onCommit;o=o.onRender,t=t===null?"mount":"update",cv&&(t="nested-update"),typeof o=="function"&&o(s,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,a),typeof d=="function"&&d(s,t,i,a)}function tg(e,t,a,i){var o=e.memoizedProps;e=o.id,o=o.onPostCommit,t=t===null?"mount":"update",cv&&(t="nested-update"),typeof o=="function"&&o(e,t,i,a)}function Qi(e){var t=e.type,a=e.memoizedProps,i=e.stateNode;try{ee(e,mg,i,t,a,e)}catch(o){$e(e,e.return,o)}}function Ld(e,t,a){try{ee(e,fh,e.stateNode,e.type,a,t,e)}catch(i){$e(e,e.return,i)}}function Ay(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ki(e.type)||e.tag===4}function Zd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ay(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&ki(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Io(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(pg(a),(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t)):(pg(a),t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=an));else if(i!==4&&(i===27&&ki(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(Io(e,t,a),e=e.sibling;e!==null;)Io(e,t,a),e=e.sibling}function wf(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(i!==4&&(i===27&&ki(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(wf(e,t,a),e=e.sibling;e!==null;)wf(e,t,a),e=e.sibling}function zy(e){for(var t,a=e.return;a!==null;){if(Ay(a)){t=a;break}a=a.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,a=Zd(e),wf(e,a,t);break;case 5:a=t.stateNode,t.flags&32&&(rh(a),t.flags&=-33),t=Zd(e),wf(e,t,a);break;case 3:case 4:t=t.stateNode.containerInfo,a=Zd(e),Io(e,a,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Oy(e){var t=e.stateNode,a=e.memoizedProps;try{ee(e,zu,e.type,a,t,e)}catch(i){$e(e,e.return,i)}}function Dy(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function i1(e,t){if(e=e.containerInfo,pb=Vv,e=id(e),Um(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var i=a.getSelection&&a.getSelection();if(i&&i.rangeCount!==0){a=i.anchorNode;var o=i.anchorOffset,s=i.focusNode;i=i.focusOffset;try{a.nodeType,s.nodeType}catch{a=null;break e}var d=0,h=-1,p=-1,g=0,O=0,_=e,x=null;t:for(;;){for(var G;_!==a||o!==0&&_.nodeType!==3||(h=d+o),_!==s||i!==0&&_.nodeType!==3||(p=d+i),_.nodeType===3&&(d+=_.nodeValue.length),(G=_.firstChild)!==null;)x=_,_=G;for(;;){if(_===e)break t;if(x===a&&++g===o&&(h=d),x===s&&++O===i&&(p=d),(G=_.nextSibling)!==null)break;_=x,x=_.parentNode}_=G}a=h===-1||p===-1?null:{start:h,end:p}}else a=null}a=a||{start:0,end:0}}else a=null;for(gb={focusedElem:e,selectionRange:a},Vv=!1,ta=t;ta!==null;)if(t=ta,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ta=e;else for(;ta!==null;){switch(e=t=ta,a=e.alternate,o=e.flags,e.tag){case 0:if((o&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)o=e[a],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:(o&1024)!==0&&a!==null&&Pp(e,a);break;case 3:if((o&1024)!==0){if(e=e.stateNode.containerInfo,a=e.nodeType,a===9)rs(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":rs(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((o&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,ta=e;break}ta=t.return}}function Jd(e,t,a){var i=Zt(),o=on(),s=Ba(),d=sn(),h=a.flags;switch(a.tag){case 0:case 11:case 15:Qa(e,a),h&4&&Ip(a,Fn|Yu);break;case 1:if(Qa(e,a),h&4)if(e=a.stateNode,t===null)a.type.defaultProps||"ref"in a.memoizedProps||tm||(e.props!==a.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ce(a)||"instance"),e.state!==a.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ce(a)||"instance")),gu(a)?(ll(),ee(a,Y1,a,e),oa()):ee(a,Y1,a,e);else{var p=yu(a.type,t.memoizedProps);t=t.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||tm||(e.props!==a.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ce(a)||"instance"),e.state!==a.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ce(a)||"instance")),gu(a)?(ll(),ee(a,n2,a,e,p,t,e.__reactInternalSnapshotBeforeUpdate),oa()):ee(a,n2,a,e,p,t,e.__reactInternalSnapshotBeforeUpdate)}h&64&&xy(a),h&512&&Xc(a,a.return);break;case 3:if(t=iu(),Qa(e,a),h&64&&(h=a.updateQueue,h!==null)){if(p=null,a.child!==null)switch(a.child.tag){case 27:case 5:p=a.child.stateNode;break;case 1:p=a.child.stateNode}try{ee(a,Go,h,p)}catch(O){$e(a,a.return,O)}}e.effectDuration+=Ho(t);break;case 27:t===null&&h&4&&Oy(a);case 26:case 5:if(Qa(e,a),t===null){if(h&4)Qi(a);else if(h&64){e=a.type,t=a.memoizedProps,p=a.stateNode;try{ee(a,yg,p,e,t,a)}catch(O){$e(a,a.return,O)}}}h&512&&Xc(a,a.return);break;case 12:if(h&4){h=iu(),Qa(e,a),e=a.stateNode,e.effectDuration+=ca(h);try{ee(a,Ey,a,t,Us,e.effectDuration)}catch(O){$e(a,a.return,O)}}else Qa(e,a);break;case 31:Qa(e,a),h&4&&My(e,a);break;case 13:Qa(e,a),h&4&&_y(e,a),h&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(h=ii.bind(null,a),Dg(e,h))));break;case 22:if(h=a.memoizedState!==null||yo,!h){t=t!==null&&t.memoizedState!==null||Gl,p=yo;var g=Gl;yo=h,(Gl=t)&&!g?(qn(e,a,(a.subtreeFlags&8772)!==0),(a.mode&Pe)!==qe&&0<=je&&0<=Ue&&.05<Ue-je&&cd(a,je,Ue)):Qa(e,a),yo=p,Gl=g}break;case 30:break;default:Qa(e,a)}(a.mode&Pe)!==qe&&0<=je&&0<=Ue&&((ml||.05<ul)&&Dn(a,je,Ue,ul,tl),a.alternate===null&&a.return!==null&&a.return.alternate!==null&&.05<Ue-je&&(Dy(a.return.alternate,a.return)||nn(a,je,Ue,"Mount"))),Cl(i),Ha(o),tl=s,ml=d}function dl(e){var t=e.alternate;t!==null&&(e.alternate=null,dl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&bm(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Qt(e,t,a){for(a=a.child;a!==null;)Cy(e,t,a),a=a.sibling}function Cy(e,t,a){if(El&&typeof El.onCommitFiberUnmount=="function")try{El.onCommitFiberUnmount(to,a)}catch(g){Du||(Du=!0,console.error("React instrumentation encountered an error: %o",g))}var i=Zt(),o=on(),s=Ba(),d=sn();switch(a.tag){case 26:Gl||dn(a,t),Qt(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(e=a.stateNode,e.parentNode.removeChild(e));break;case 27:Gl||dn(a,t);var h=wl,p=gn;ki(a.type)&&(wl=a.stateNode,gn=!1),Qt(e,t,a),ee(a,fi,a.stateNode),wl=h,gn=p;break;case 5:Gl||dn(a,t);case 6:if(h=wl,p=gn,wl=null,Qt(e,t,a),wl=h,gn=p,wl!==null)if(gn)try{ee(a,vg,wl,a.stateNode)}catch(g){$e(a,t,g)}else try{ee(a,gg,wl,a.stateNode)}catch(g){$e(a,t,g)}break;case 18:wl!==null&&(gn?(e=wl,Kc(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),Wc(e)):Kc(wl,a.stateNode));break;case 4:h=wl,p=gn,wl=a.stateNode.containerInfo,gn=!0,Qt(e,t,a),wl=h,gn=p;break;case 0:case 11:case 14:case 15:Xi(Pa,a,t),Gl||Vd(a,t,Fn),Qt(e,t,a);break;case 1:Gl||(dn(a,t),h=a.stateNode,typeof h.componentWillUnmount=="function"&&Qd(a,t,h)),Qt(e,t,a);break;case 21:Qt(e,t,a);break;case 22:Gl=(h=Gl)||a.memoizedState!==null,Qt(e,t,a),Gl=h;break;default:Qt(e,t,a)}(a.mode&Pe)!==qe&&0<=je&&0<=Ue&&(ml||.05<ul)&&Dn(a,je,Ue,ul,tl),Cl(i),Ha(o),tl=s,ml=d}function My(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ee(t,dh,e)}catch(a){$e(t,t.return,a)}}}function _y(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ee(t,Wy,e)}catch(a){$e(t,t.return,a)}}function lg(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Q2),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Q2),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Li(e,t){var a=lg(e);t.forEach(function(i){if(!a.has(i)){if(a.add(i),Cu)if(lm!==null&&am!==null)ns(am,lm);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var o=Zc.bind(null,e,i);i.then(o,o)}})}function ha(e,t){var a=t.deletions;if(a!==null)for(var i=0;i<a.length;i++){var o=e,s=t,d=a[i],h=Zt(),p=s;e:for(;p!==null;){switch(p.tag){case 27:if(ki(p.type)){wl=p.stateNode,gn=!1;break e}break;case 5:wl=p.stateNode,gn=!1;break e;case 3:case 4:wl=p.stateNode.containerInfo,gn=!0;break e}p=p.return}if(wl===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Cy(o,s,d),wl=null,gn=!1,(d.mode&Pe)!==qe&&0<=je&&0<=Ue&&.05<Ue-je&&nn(d,je,Ue,"Unmount"),Cl(h),o=d,s=o.alternate,s!==null&&(s.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Vf(t,e),t=t.sibling}function Vf(e,t){var a=Zt(),i=on(),o=Ba(),s=sn(),d=e.alternate,h=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ha(t,e),ma(e),h&4&&(Xi(Pa|Yu,e,e.return),ni(Pa|Yu,e),Vd(e,e.return,Fn|Yu));break;case 1:if(ha(t,e),ma(e),h&512&&(Gl||d===null||dn(d,d.return)),h&64&&yo&&(h=e.updateQueue,h!==null&&(d=h.callbacks,d!==null))){var p=h.shared.hiddenCallbacks;h.shared.hiddenCallbacks=p===null?d:p.concat(d)}break;case 26:if(p=pi,ha(t,e),ma(e),h&512&&(Gl||d===null||dn(d,d.return)),h&4){var g=d!==null?d.memoizedState:null;if(h=e.memoizedState,d===null)if(h===null)if(e.stateNode===null){e:{h=e.type,d=e.memoizedProps,p=p.ownerDocument||p;t:switch(h){case"title":g=p.getElementsByTagName("title")[0],(!g||g[Os]||g[$t]||g.namespaceURI===Fe||g.hasAttribute("itemprop"))&&(g=p.createElement(h),p.head.insertBefore(g,p.querySelector("head > title"))),Kt(g,h,d),g[$t]=e,ol(g),h=g;break e;case"link":var O=ms("link","href",p).get(h+(d.href||""));if(O){for(var _=0;_<O.length;_++)if(g=O[_],g.getAttribute("href")===(d.href==null||d.href===""?null:d.href)&&g.getAttribute("rel")===(d.rel==null?null:d.rel)&&g.getAttribute("title")===(d.title==null?null:d.title)&&g.getAttribute("crossorigin")===(d.crossOrigin==null?null:d.crossOrigin)){O.splice(_,1);break t}}g=p.createElement(h),Kt(g,h,d),p.head.appendChild(g);break;case"meta":if(O=ms("meta","content",p).get(h+(d.content||""))){for(_=0;_<O.length;_++)if(g=O[_],Dt(d.content,"content"),g.getAttribute("content")===(d.content==null?null:""+d.content)&&g.getAttribute("name")===(d.name==null?null:d.name)&&g.getAttribute("property")===(d.property==null?null:d.property)&&g.getAttribute("http-equiv")===(d.httpEquiv==null?null:d.httpEquiv)&&g.getAttribute("charset")===(d.charSet==null?null:d.charSet)){O.splice(_,1);break t}}g=p.createElement(h),Kt(g,h,d),p.head.appendChild(g);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+h+'". This is a bug in React.')}g[$t]=e,ol(g),h=g}e.stateNode=h}else jg(p,e.type,e.stateNode);else e.stateNode=yh(p,h,e.memoizedProps);else g!==h?(g===null?d.stateNode!==null&&(d=d.stateNode,d.parentNode.removeChild(d)):g.count--,h===null?jg(p,e.type,e.stateNode):yh(p,h,e.memoizedProps)):h===null&&e.stateNode!==null&&Ld(e,e.memoizedProps,d.memoizedProps)}break;case 27:ha(t,e),ma(e),h&512&&(Gl||d===null||dn(d,d.return)),d!==null&&h&4&&Ld(e,e.memoizedProps,d.memoizedProps);break;case 5:if(ha(t,e),ma(e),h&512&&(Gl||d===null||dn(d,d.return)),e.flags&32){p=e.stateNode;try{ee(e,rh,p)}catch(he){$e(e,e.return,he)}}h&4&&e.stateNode!=null&&(p=e.memoizedProps,Ld(e,p,d!==null?d.memoizedProps:p)),h&1024&&(W1=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(ha(t,e),ma(e),h&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");h=e.memoizedProps,d=d!==null?d.memoizedProps:h,p=e.stateNode;try{ee(e,c1,p,d,h)}catch(he){$e(e,e.return,he)}}break;case 3:if(p=iu(),Yv=null,g=pi,pi=hh(t.containerInfo),ha(t,e),pi=g,ma(e),h&4&&d!==null&&d.memoizedState.isDehydrated)try{ee(e,ky,t.containerInfo)}catch(he){$e(e,e.return,he)}W1&&(W1=!1,ag(e)),t.effectDuration+=Ho(p);break;case 4:h=pi,pi=hh(e.stateNode.containerInfo),ha(t,e),ma(e),pi=h;break;case 12:h=iu(),ha(t,e),ma(e),e.stateNode.effectDuration+=ca(h);break;case 31:ha(t,e),ma(e),h&4&&(h=e.updateQueue,h!==null&&(e.updateQueue=null,Li(e,h)));break;case 13:ha(t,e),ma(e),e.child.flags&8192&&e.memoizedState!==null!=(d!==null&&d.memoizedState!==null)&&(Ev=Ul()),h&4&&(h=e.updateQueue,h!==null&&(e.updateQueue=null,Li(e,h)));break;case 22:p=e.memoizedState!==null;var x=d!==null&&d.memoizedState!==null,G=yo,oe=Gl;if(yo=G||p,Gl=oe||x,ha(t,e),Gl=oe,yo=G,x&&!p&&!G&&!oe&&(e.mode&Pe)!==qe&&0<=je&&0<=Ue&&.05<Ue-je&&cd(e,je,Ue),ma(e),h&8192)e:for(t=e.stateNode,t._visibility=p?t._visibility&~N0:t._visibility|N0,!p||d===null||x||yo||Gl||(Zi(e),(e.mode&Pe)!==qe&&0<=je&&0<=Ue&&.05<Ue-je&&nn(e,je,Ue,"Disconnect")),d=null,t=e;;){if(t.tag===5||t.tag===26){if(d===null){x=d=t;try{g=x.stateNode,p?ee(x,Sg,g):ee(x,Eg,x.stateNode,x.memoizedProps)}catch(he){$e(x,x.return,he)}}}else if(t.tag===6){if(d===null){x=t;try{O=x.stateNode,p?ee(x,Tg,O):ee(x,Ag,O,x.memoizedProps)}catch(he){$e(x,x.return,he)}}}else if(t.tag===18){if(d===null){x=t;try{_=x.stateNode,p?ee(x,bg,_):ee(x,xg,x.stateNode)}catch(he){$e(x,x.return,he)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;d===t&&(d=null),t=t.return}d===t&&(d=null),t.sibling.return=t.return,t=t.sibling}h&4&&(h=e.updateQueue,h!==null&&(d=h.retryQueue,d!==null&&(h.retryQueue=null,Li(e,d))));break;case 19:ha(t,e),ma(e),h&4&&(h=e.updateQueue,h!==null&&(e.updateQueue=null,Li(e,h)));break;case 30:break;case 21:break;default:ha(t,e),ma(e)}(e.mode&Pe)!==qe&&0<=je&&0<=Ue&&((ml||.05<ul)&&Dn(e,je,Ue,ul,tl),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<Ue-je&&(Dy(e.return.alternate,e.return)||nn(e,je,Ue,"Mount"))),Cl(a),Ha(i),tl=o,ml=s}function ma(e){var t=e.flags;if(t&2){try{ee(e,zy,e)}catch(a){$e(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ag(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;ag(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Qa(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Jd(e,t.alternate,t),t=t.sibling}function Kd(e){var t=Zt(),a=on(),i=Ba(),o=sn();switch(e.tag){case 0:case 11:case 14:case 15:Vd(e,e.return,Fn),Zi(e);break;case 1:dn(e,e.return);var s=e.stateNode;typeof s.componentWillUnmount=="function"&&Qd(e,e.return,s),Zi(e);break;case 27:ee(e,fi,e.stateNode);case 26:case 5:dn(e,e.return),Zi(e);break;case 22:e.memoizedState===null&&Zi(e);break;case 30:Zi(e);break;default:Zi(e)}(e.mode&Pe)!==qe&&0<=je&&0<=Ue&&(ml||.05<ul)&&Dn(e,je,Ue,ul,tl),Cl(t),Ha(a),tl=i,ml=o}function Zi(e){for(e=e.child;e!==null;)Kd(e),e=e.sibling}function jy(e,t,a,i){var o=Zt(),s=on(),d=Ba(),h=sn(),p=a.flags;switch(a.tag){case 0:case 11:case 15:qn(e,a,i),Ip(a,Fn);break;case 1:if(qn(e,a,i),t=a.stateNode,typeof t.componentDidMount=="function"&&ee(a,Y1,a,t),t=a.updateQueue,t!==null){e=a.stateNode;try{ee(a,Im,t,e)}catch(g){$e(a,a.return,g)}}i&&p&64&&xy(a),Xc(a,a.return);break;case 27:Oy(a);case 26:case 5:qn(e,a,i),i&&t===null&&p&4&&Qi(a),Xc(a,a.return);break;case 12:if(i&&p&4){p=iu(),qn(e,a,i),i=a.stateNode,i.effectDuration+=ca(p);try{ee(a,Ey,a,t,Us,i.effectDuration)}catch(g){$e(a,a.return,g)}}else qn(e,a,i);break;case 31:qn(e,a,i),i&&p&4&&My(e,a);break;case 13:qn(e,a,i),i&&p&4&&_y(e,a);break;case 22:a.memoizedState===null&&qn(e,a,i),Xc(a,a.return);break;case 30:break;default:qn(e,a,i)}(a.mode&Pe)!==qe&&0<=je&&0<=Ue&&(ml||.05<ul)&&Dn(a,je,Ue,ul,tl),Cl(o),Ha(s),tl=d,ml=h}function qn(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)jy(e,t.alternate,t,a),t=t.sibling}function Xf(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&zc(e),a!=null&&mf(a))}function Qf(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(zc(t),e!=null&&mf(e))}function La(e,t,a,i,o){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var s=t.sibling;Ny(e,t,a,i,s!==null?s.actualStartTime:o),t=s}}function Ny(e,t,a,i,o){var s=Zt(),d=on(),h=Ba(),p=sn(),g=_s,O=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&Pe)!==qe&&0<t.actualStartTime&&(t.flags&1)!==0&&od(t,t.actualStartTime,o,Kl,a),La(e,t,a,i,o),O&2048&&Yf(t,en|Yu);break;case 1:(t.mode&Pe)!==qe&&0<t.actualStartTime&&((t.flags&128)!==0?Bm(t,t.actualStartTime,o,[]):(t.flags&1)!==0&&od(t,t.actualStartTime,o,Kl,a)),La(e,t,a,i,o);break;case 3:var _=iu(),x=Kl;Kl=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,La(e,t,a,i,o),Kl=x,O&2048&&(a=null,t.alternate!==null&&(a=t.alternate.memoizedState.cache),i=t.memoizedState.cache,i!==a&&(zc(i),a!=null&&mf(a))),e.passiveEffectDuration+=Ho(_);break;case 12:if(O&2048){O=iu(),La(e,t,a,i,o),e=t.stateNode,e.passiveEffectDuration+=ca(O);try{ee(t,tg,t,t.alternate,Us,e.passiveEffectDuration)}catch(G){$e(t,t.return,G)}}else La(e,t,a,i,o);break;case 31:O=Kl,_=t.alternate!==null?t.alternate.memoizedState:null,x=t.memoizedState,_!==null&&x===null?(x=t.deletions,x!==null&&0<x.length&&x[0].tag===18?(Kl=!1,_=_.hydrationErrors,_!==null&&Bm(t,t.actualStartTime,o,_)):Kl=!0):Kl=!1,La(e,t,a,i,o),Kl=O;break;case 13:O=Kl,_=t.alternate!==null?t.alternate.memoizedState:null,x=t.memoizedState,_===null||_.dehydrated===null||x!==null&&x.dehydrated!==null?Kl=!1:(x=t.deletions,x!==null&&0<x.length&&x[0].tag===18?(Kl=!1,_=_.hydrationErrors,_!==null&&Bm(t,t.actualStartTime,o,_)):Kl=!0),La(e,t,a,i,o),Kl=O;break;case 23:break;case 22:x=t.stateNode,_=t.alternate,t.memoizedState!==null?x._visibility&no?La(e,t,a,i,o):Qc(e,t,a,i,o):x._visibility&no?La(e,t,a,i,o):(x._visibility|=no,Ji(e,t,a,i,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),o),(t.mode&Pe)===qe||Kl||(e=t.actualStartTime,0<=e&&.05<o-e&&cd(t,e,o),0<=je&&0<=Ue&&.05<Ue-je&&cd(t,je,Ue))),O&2048&&Xf(_,t);break;case 24:La(e,t,a,i,o),O&2048&&Qf(t.alternate,t);break;default:La(e,t,a,i,o)}(t.mode&Pe)!==qe&&((e=!Kl&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(a=t.actualStartTime,0<=a&&.05<o-a&&nn(t,a,o,"Mount")),0<=je&&0<=Ue&&((ml||.05<ul)&&Dn(t,je,Ue,ul,tl),e&&.05<Ue-je&&nn(t,je,Ue,"Mount"))),Cl(s),Ha(d),tl=h,ml=p,_s=g}function Ji(e,t,a,i,o,s){for(o=o&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var d=t.sibling;Lf(e,t,a,i,o,d!==null?d.actualStartTime:s),t=d}}function Lf(e,t,a,i,o,s){var d=Zt(),h=on(),p=Ba(),g=sn(),O=_s;o&&(t.mode&Pe)!==qe&&0<t.actualStartTime&&(t.flags&1)!==0&&od(t,t.actualStartTime,s,Kl,a);var _=t.flags;switch(t.tag){case 0:case 11:case 15:Ji(e,t,a,i,o,s),Yf(t,en);break;case 23:break;case 22:var x=t.stateNode;t.memoizedState!==null?x._visibility&no?Ji(e,t,a,i,o,s):Qc(e,t,a,i,s):(x._visibility|=no,Ji(e,t,a,i,o,s)),o&&_&2048&&Xf(t.alternate,t);break;case 24:Ji(e,t,a,i,o,s),o&&_&2048&&Qf(t.alternate,t);break;default:Ji(e,t,a,i,o,s)}(t.mode&Pe)!==qe&&0<=je&&0<=Ue&&(ml||.05<ul)&&Dn(t,je,Ue,ul,tl),Cl(d),Ha(h),tl=p,ml=g,_s=O}function Qc(e,t,a,i,o){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var s=t.child;s!==null;){t=s.sibling;var d=e,h=a,p=i,g=t!==null?t.actualStartTime:o,O=_s;(s.mode&Pe)!==qe&&0<s.actualStartTime&&(s.flags&1)!==0&&od(s,s.actualStartTime,g,Kl,h);var _=s.flags;switch(s.tag){case 22:Qc(d,s,h,p,g),_&2048&&Xf(s.alternate,s);break;case 24:Qc(d,s,h,p,g),_&2048&&Qf(s.alternate,s);break;default:Qc(d,s,h,p,g)}_s=O,s=t}}function Lc(e,t,a){if(e.subtreeFlags&I0)for(e=e.child;e!==null;)$d(e,t,a),e=e.sibling}function $d(e,t,a){switch(e.tag){case 26:Lc(e,t,a),e.flags&I0&&e.memoizedState!==null&&l0(a,pi,e.memoizedState,e.memoizedProps);break;case 5:Lc(e,t,a);break;case 3:case 4:var i=pi;pi=hh(e.stateNode.containerInfo),Lc(e,t,a),pi=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=I0,I0=16777216,Lc(e,t,a),I0=i):Lc(e,t,a));break;default:Lc(e,t,a)}}function Ry(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Za(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a],o=Zt();ta=i,vu(i,e),(i.mode&Pe)!==qe&&0<=je&&0<=Ue&&.05<Ue-je&&nn(i,je,Ue,"Unmount"),Cl(o)}Ry(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Fd(e),e=e.sibling}function Fd(e){var t=Zt(),a=on(),i=Ba(),o=sn();switch(e.tag){case 0:case 11:case 15:Za(e),e.flags&2048&&Xd(e,e.return,en|Yu);break;case 3:var s=iu();Za(e),e.stateNode.passiveEffectDuration+=Ho(s);break;case 12:s=iu(),Za(e),e.stateNode.passiveEffectDuration+=ca(s);break;case 22:s=e.stateNode,e.memoizedState!==null&&s._visibility&no&&(e.return===null||e.return.tag!==13)?(s._visibility&=~no,kd(e),(e.mode&Pe)!==qe&&0<=je&&0<=Ue&&.05<Ue-je&&nn(e,je,Ue,"Disconnect")):Za(e);break;default:Za(e)}(e.mode&Pe)!==qe&&0<=je&&0<=Ue&&(ml||.05<ul)&&Dn(e,je,Ue,ul,tl),Cl(t),Ha(a),ml=o,tl=i}function kd(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a],o=Zt();ta=i,vu(i,e),(i.mode&Pe)!==qe&&0<=je&&0<=Ue&&.05<Ue-je&&nn(i,je,Ue,"Unmount"),Cl(o)}Ry(e)}for(e=e.child;e!==null;)Uy(e),e=e.sibling}function Uy(e){var t=Zt(),a=on(),i=Ba(),o=sn();switch(e.tag){case 0:case 11:case 15:Xd(e,e.return,en),kd(e);break;case 22:var s=e.stateNode;s._visibility&no&&(s._visibility&=~no,kd(e));break;default:kd(e)}(e.mode&Pe)!==qe&&0<=je&&0<=Ue&&(ml||.05<ul)&&Dn(e,je,Ue,ul,tl),Cl(t),Ha(a),ml=o,tl=i}function vu(e,t){for(;ta!==null;){var a=ta,i=a,o=t,s=Zt(),d=on(),h=Ba(),p=sn();switch(i.tag){case 0:case 11:case 15:Xd(i,o,en);break;case 23:case 22:i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(o=i.memoizedState.cachePool.pool,o!=null&&zc(o));break;case 24:mf(i.memoizedState.cache)}if((i.mode&Pe)!==qe&&0<=je&&0<=Ue&&(ml||.05<ul)&&Dn(i,je,Ue,ul,tl),Cl(s),Ha(d),ml=p,tl=h,i=a.child,i!==null)i.return=a,ta=i;else e:for(a=e;ta!==null;){if(i=ta,s=i.sibling,d=i.return,dl(i),i===a){ta=null;break e}if(s!==null){s.return=d,ta=s;break e}ta=d}}}function Hy(){gA.forEach(function(e){return e()})}function By(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||V.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Wl(e){if((yt&$l)!==la&&tt!==0)return tt&-tt;var t=V.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),Jy()):Tp()}function Po(){if(bn===0)if((tt&536870912)===0||st){var e=hr;hr<<=1,(hr&3932160)===0&&(hr=262144),bn=e}else bn=536870912;return e=$n.current,e!==null&&(e.flags|=32),bn}function Ye(e,t,a){if(im&&console.error("useInsertionEffect must not schedule updates."),ob&&(Dv=!0),(e===Vt&&(Rt===Mr||Rt===_r)||e.cancelPendingCommit!==null)&&(bu(e,0),hn(e,tt,bn,!1)),bi(e,a),(yt&$l)!==la&&e===Vt){if(Ou)switch(t.tag){case 0:case 11:case 15:e=nt&&ce(nt)||"Unknown",nT.has(e)||(nT.add(e),t=ce(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:aT||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),aT=!0)}}else Cu&&xa(e,t,a),$f(t),e===Vt&&((yt&$l)===la&&(Xs|=a),il===Gs&&hn(e,tt,bn,!1)),Oa(e)}function ng(e,t,a){if((yt&($l|kn))!==la)throw Error("Should not already be working.");if(tt!==0&&nt!==null){var i=nt,o=Ul();switch(kS){case tp:case Mr:var s=Y0;Ft&&((i=i._debugTask)?i.run(console.timeStamp.bind(console,"Suspended",s,o,_u,void 0,"primary-light")):console.timeStamp("Suspended",s,o,_u,void 0,"primary-light"));break;case _r:s=Y0,Ft&&((i=i._debugTask)?i.run(console.timeStamp.bind(console,"Action",s,o,_u,void 0,"primary-light")):console.timeStamp("Action",s,o,_u,void 0,"primary-light"));break;default:Ft&&(i=o-Y0,3>i||console.timeStamp("Blocked",Y0,o,_u,void 0,5>i?"primary-light":10>i?"primary":100>i?"primary-dark":"error"))}}s=(a=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Xl(e,t))?ui(e,t):ls(e,t,!0);var d=a;do{if(s===po){nm&&!a&&hn(e,t,0,!1),t=Rt,Y0=Bl(),kS=t;break}else{if(i=Ul(),o=e.current.alternate,d&&!ig(o)){On(t),o=ea,s=i,!Ft||s<=o||(bl?bl.run(console.timeStamp.bind(console,"Teared Render",o,s,ht,rt,"error")):console.timeStamp("Teared Render",o,s,ht,rt,"error")),Ki(t,i),s=ls(e,t,!1),d=!1;continue}if(s===Cr){if(d=t,e.errorRecoveryDisabledLanes&d)var h=0;else h=e.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){On(t),qm(ea,i,t,bl),Ki(t,i),t=h;e:{i=e,s=d,d=ap;var p=i.current.memoizedState.isDehydrated;if(p&&(bu(i,h).flags|=256),h=ls(i,h,!1),h!==Cr){if(eb&&!p){i.errorRecoveryDisabledLanes|=s,Xs|=s,s=Gs;break e}i=tn,tn=d,i!==null&&(tn===null?tn=i:tn.push.apply(tn,i))}s=h}if(d=!1,s!==Cr)continue;i=Ul()}}if(s===ep){On(t),qm(ea,i,t,bl),Ki(t,i),bu(e,0),hn(e,t,0,!0);break}e:{switch(a=e,s){case po:case ep:throw Error("Root did not complete. This is a bug in React.");case Gs:if((t&4194048)!==t)break;case bv:On(t),Up(ea,i,t,bl),Ki(t,i),o=t,(o&127)!==0?nv=i:(o&4194048)!==0&&(uv=i),hn(a,t,bn,!ws);break e;case Cr:tn=null;break;case vv:case L2:break;default:throw Error("Unknown root exit status.")}if(V.actQueue!==null)Yt(a,o,t,tn,np,xv,bn,Xs,jr,s,null,null,ea,i);else{if((t&62914560)===t&&(d=Ev+K2-Ul(),10<d)){if(hn(a,t,bn,!ws),Xr(a,0,!0)!==0)break e;gi=t,a.timeoutHandle=dT(ug.bind(null,a,o,tn,np,xv,t,bn,Xs,jr,ws,s,"Throttled",ea,i),d);break e}ug(a,o,tn,np,xv,t,bn,Xs,jr,ws,s,null,ea,i)}}}break}while(!0);Oa(e)}function ug(e,t,a,i,o,s,d,h,p,g,O,_,x,G){e.timeoutHandle=Br;var oe=t.subtreeFlags,he=null;if((oe&8192||(oe&16785408)===16785408)&&(he={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:an},$d(t,s,he),oe=(s&62914560)===s?Ev-Ul():(s&4194048)===s?J2-Ul():0,oe=ph(he,oe),oe!==null)){gi=s,e.cancelPendingCommit=oe(Yt.bind(null,e,t,s,a,i,o,d,h,p,O,he,he.waitingForViewTransition?"Waiting for the previous Animation":0<he.count?0<he.imgCount?"Suspended on CSS and Images":"Suspended on CSS":he.imgCount===1?"Suspended on an Image":0<he.imgCount?"Suspended on Images":null,x,G)),hn(e,s,d,!g);return}Yt(e,t,s,a,i,o,d,h,p,O,he,_,x,G)}function ig(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var i=0;i<a.length;i++){var o=a[i],s=o.getSnapshot;o=o.value;try{if(!Wa(s(),o))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function hn(e,t,a,i){t&=~tb,t&=~Xs,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var o=t;0<o;){var s=31-Zl(o),d=1<<s;i[s]=-1,o&=~d}a!==0&&vm(e,a,t)}function Ja(){return(yt&($l|kn))===la?(Tu(0),!1):!0}function Wd(){if(nt!==null){if(Rt===vn)var e=nt.return;else e=nt,Ro(),Ni(e),Fh=null,K0=0,e=nt;for(;e!==null;)Ty(e.alternate,e),e=e.return;nt=null}}function Ki(e,t){(e&127)!==0&&(br=t),(e&4194048)!==0&&(so=t),(e&62914560)!==0&&($S=t),(e&2080374784)!==0&&(FS=t)}function bu(e,t){Ft&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",rt,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",rt,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",rt,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",rt,"primary-light"));var a=ea;if(ea=Bl(),tt!==0&&0<a){if(On(tt),il===vv||il===Gs)Up(a,ea,t,bl);else{var i=ea,o=bl;if(Ft&&!(i<=a)){var s=(t&738197653)===t?"tertiary-dark":"primary-dark",d=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";o?o.run(console.timeStamp.bind(console,d,a,i,ht,rt,s)):console.timeStamp(d,a,i,ht,rt,s)}}Ki(tt,ea)}if(a=bl,bl=null,(t&127)!==0){bl=H0,o=0<=nc&&nc<br?br:nc,i=0<=Sr&&Sr<br?br:Sr,s=0<=i?i:0<=o?o:ea,0<=nv?(On(2),Hp(nv,s,t,a)):iv&127,a=o;var h=i,p=B0,g=0<Jh,O=Hs===U0,_=Hs===av;if(o=ea,i=H0,s=R1,d=U1,Ft){if(ht="Blocking",0<a?a>o&&(a=o):a=o,0<h?h>a&&(h=a):h=a,p!==null&&a>h){var x=g?"secondary-light":"warning";i?i.run(console.timeStamp.bind(console,g?"Consecutive":"Event: "+p,h,a,ht,rt,x)):console.timeStamp(g?"Consecutive":"Event: "+p,h,a,ht,rt,x)}o>a&&(h=O?"error":(t&738197653)===t?"tertiary-light":"primary-light",O=_?"Promise Resolved":O?"Cascading Update":5<o-a?"Update Blocked":"Update",_=[],d!=null&&_.push(["Component name",d]),s!=null&&_.push(["Method name",s]),a={start:a,end:o,detail:{devtools:{properties:_,track:ht,trackGroup:rt,color:h}}},i?i.run(performance.measure.bind(performance,O,a)):performance.measure(O,a))}nc=-1.1,Hs=0,U1=R1=null,nv=-1.1,Jh=Sr,Sr=-1.1,br=Bl()}if((t&4194048)!==0&&(bl=q0,o=0<=fo&&fo<so?so:fo,a=0<=Bu&&Bu<so?so:Bu,i=0<=Bs&&Bs<so?so:Bs,s=0<=i?i:0<=a?a:ea,0<=uv?(On(256),Hp(uv,s,t,bl)):iv&4194048,_=i,h=Tr,p=0<qs,g=H1===av,s=ea,i=q0,d=JS,O=KS,Ft&&(ht="Transition",0<a?a>s&&(a=s):a=s,0<o?o>a&&(o=a):o=a,0<_?_>o&&(_=o):_=o,o>_&&h!==null&&(x=p?"secondary-light":"warning",i?i.run(console.timeStamp.bind(console,p?"Consecutive":"Event: "+h,_,o,ht,rt,x)):console.timeStamp(p?"Consecutive":"Event: "+h,_,o,ht,rt,x)),a>o&&(i?i.run(console.timeStamp.bind(console,"Action",o,a,ht,rt,"primary-dark")):console.timeStamp("Action",o,a,ht,rt,"primary-dark")),s>a&&(o=g?"Promise Resolved":5<s-a?"Update Blocked":"Update",_=[],O!=null&&_.push(["Component name",O]),d!=null&&_.push(["Method name",d]),a={start:a,end:s,detail:{devtools:{properties:_,track:ht,trackGroup:rt,color:"primary-light"}}},i?i.run(performance.measure.bind(performance,o,a)):performance.measure(o,a))),Bu=fo=-1.1,H1=0,uv=-1.1,qs=Bs,Bs=-1.1,so=Bl()),(t&62914560)!==0&&(iv&62914560)!==0&&(On(4194304),Ym($S,ea)),(t&2080374784)!==0&&(iv&2080374784)!==0&&(On(268435456),Ym(FS,ea)),a=e.timeoutHandle,a!==Br&&(e.timeoutHandle=Br,_A(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),gi=0,Wd(),Vt=e,nt=a=nu(e.current,null),tt=t,Rt=vn,Wn=null,ws=!1,nm=Xl(e,t),eb=!1,il=po,jr=bn=tb=Xs=Vs=0,tn=ap=null,xv=!1,(t&8)!==0&&(t|=t&32),i=e.entangledLanes,i!==0)for(e=e.entanglements,i&=t;0<i;)o=31-Zl(i),s=1<<o,t|=e[o],i&=~s;return ic=t,sd(),e=wS(),1e3<e-GS&&(V.recentlyCreatedOwnerStacks=0,GS=e),mi.discardPendingWarnings(),a}function Yn(e,t){Ve=null,V.H=W0,V.getCurrentStack=null,Ou=!1,_a=null,t===$h||t===fv?(t=Cc(),Rt=tp):t===G1?(t=Cc(),Rt=Z2):Rt=t===F1?P1:t!==null&&typeof t=="object"&&typeof t.then=="function"?lp:Sv,Wn=t;var a=nt;a===null?(il=ep,Rf(e,ia(t,e.current))):a.mode&Pe&&pd(a)}function qy(){var e=$n.current;return e===null?!0:(tt&4194048)===tt?qu===null:(tt&62914560)===tt||(tt&536870912)!==0?e===qu:!1}function Id(){var e=V.H;return V.H=W0,e===null?W0:e}function Yy(){var e=V.A;return V.A=pA,e}function es(e){bl===null&&(bl=e._debugTask==null?null:e._debugTask)}function ts(){il=Gs,ws||(tt&4194048)!==tt&&$n.current!==null||(nm=!0),(Vs&134217727)===0&&(Xs&134217727)===0||Vt===null||hn(Vt,tt,bn,!1)}function ls(e,t,a){var i=yt;yt|=$l;var o=Id(),s=Yy();if(Vt!==e||tt!==t){if(Cu){var d=e.memoizedUpdaters;0<d.size&&(ns(e,tt),d.clear()),Xu(e,t)}np=null,bu(e,t)}t=!1,d=il;e:do try{if(Rt!==vn&&nt!==null){var h=nt,p=Wn;switch(Rt){case P1:Wd(),d=bv;break e;case tp:case Mr:case _r:case lp:$n.current===null&&(t=!0);var g=Rt;if(Rt=vn,Wn=null,as(e,h,p,g),a&&nm){d=po;break e}break;default:g=Rt,Rt=vn,Wn=null,as(e,h,p,g)}}Gy(),d=il;break}catch(O){Yn(e,O)}while(!0);return t&&e.shellSuspendCounter++,Ro(),yt=i,V.H=o,V.A=s,nt===null&&(Vt=null,tt=0,sd()),d}function Gy(){for(;nt!==null;)Pd(nt)}function ui(e,t){var a=yt;yt|=$l;var i=Id(),o=Yy();if(Vt!==e||tt!==t){if(Cu){var s=e.memoizedUpdaters;0<s.size&&(ns(e,tt),s.clear()),Xu(e,t)}np=null,Av=Ul()+$2,bu(e,t)}else nm=Xl(e,t);e:do try{if(Rt!==vn&&nt!==null)t:switch(t=nt,s=Wn,Rt){case Sv:Rt=vn,Wn=null,as(e,t,s,Sv);break;case Mr:case _r:if(km(s)){Rt=vn,Wn=null,wy(t);break}t=function(){Rt!==Mr&&Rt!==_r||Vt!==e||(Rt=Tv),Oa(e)},s.then(t,t);break e;case tp:Rt=Tv;break e;case Z2:Rt=I1;break e;case Tv:km(s)?(Rt=vn,Wn=null,wy(t)):(Rt=vn,Wn=null,as(e,t,s,Tv));break;case I1:var d=null;switch(nt.tag){case 26:d=nt.memoizedState;case 5:case 27:var h=nt;if(d?it(d):h.stateNode.complete){Rt=vn,Wn=null;var p=h.sibling;if(p!==null)nt=p;else{var g=h.return;g!==null?(nt=g,Zf(g)):nt=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Rt=vn,Wn=null,as(e,t,s,I1);break;case lp:Rt=vn,Wn=null,as(e,t,s,lp);break;case P1:Wd(),il=bv;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}V.actQueue!==null?Gy():gl();break}catch(O){Yn(e,O)}while(!0);return Ro(),V.H=i,V.A=o,yt=a,nt!==null?po:(Vt=null,tt=0,sd(),il)}function gl(){for(;nt!==null&&!Dh();)Pd(nt)}function Pd(e){var t=e.alternate;(e.mode&Pe)!==qe?($u(e),t=ee(e,qf,t,e,ic),pd(e)):t=ee(e,qf,t,e,ic),e.memoizedProps=e.pendingProps,t===null?Zf(e):nt=t}function wy(e){var t=ee(e,Rl,e);e.memoizedProps=e.pendingProps,t===null?Zf(e):nt=t}function Rl(e){var t=e.alternate,a=(e.mode&Pe)!==qe;switch(a&&$u(e),e.tag){case 15:case 0:t=yy(t,e,e.pendingProps,e.type,void 0,tt);break;case 11:t=yy(t,e,e.pendingProps,e.type.render,e.ref,tt);break;case 5:Ni(e);default:Ty(t,e),e=nt=Xm(e,ic),t=qf(t,e,ic)}return a&&pd(e),t}function as(e,t,a,i){Ro(),Ni(t),Fh=null,K0=0;var o=t.return;try{if(oy(e,o,t,a,tt)){il=ep,Rf(e,ia(a,e.current)),nt=null;return}}catch(s){if(o!==null)throw nt=o,s;il=ep,Rf(e,ia(a,e.current)),nt=null;return}t.flags&32768?(st||i===Sv?e=!0:nm||(tt&536870912)!==0?e=!1:(ws=e=!0,(i===Mr||i===_r||i===tp||i===lp)&&(i=$n.current,i!==null&&i.tag===13&&(i.flags|=16384))),Vy(t,e)):Zf(t)}function Zf(e){var t=e;do{if((t.flags&32768)!==0){Vy(t,ws);return}var a=t.alternate;if(e=t.return,$u(t),a=ee(t,Sy,a,t,ic),(t.mode&Pe)!==qe&&yf(t),a!==null){nt=a;return}if(t=t.sibling,t!==null){nt=t;return}nt=t=e}while(t!==null);il===po&&(il=L2)}function Vy(e,t){do{var a=Wp(e.alternate,e);if(a!==null){a.flags&=32767,nt=a;return}if((e.mode&Pe)!==qe){yf(e),a=e.actualDuration;for(var i=e.child;i!==null;)a+=i.actualDuration,i=i.sibling;e.actualDuration=a}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){nt=e;return}nt=e=a}while(e!==null);il=bv,nt=null}function Yt(e,t,a,i,o,s,d,h,p,g,O,_,x,G){e.cancelPendingCommit=null;do Jf();while(Vl!==Ls);if(mi.flushLegacyContextWarning(),mi.flushPendingUnsafeLifecycleWarnings(),(yt&($l|kn))!==la)throw Error("Should not already be working.");if(On(a),g===Cr?qm(x,G,a,bl):i!==null?l1(x,G,a,i,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,bl):t1(x,G,a,bl),t!==null){if(a===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(s=t.lanes|t.childLanes,s|=C1,Wv(e,a,s,d,h,p),e===Vt&&(nt=Vt=null,tt=0),um=t,Zs=e,gi=a,nb=s,ib=o,eT=i,ub=G,tT=_,vi=zv,lT=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,us(eo,function(){return fp=window.event,vi===zv&&(vi=ab),Kf(),null})):(e.callbackNode=null,e.callbackPriority=0),oo=null,Us=Bl(),_!==null&&a1(G,Us,_,bl),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=V.T,V.T=null,o=St.p,St.p=Al,d=yt,yt|=kn;try{i1(e,t,a)}finally{yt=d,St.p=o,V.T=i}}Vl=k2,ya(),Su(),Xy()}}function ya(){if(Vl===k2){Vl=Ls;var e=Zs,t=um,a=gi,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=V.T,V.T=null;var o=St.p;St.p=Al;var s=yt;yt|=kn;try{lm=a,am=e,Oc(),Vf(t,e),am=lm=null,a=gb;var d=id(e.containerInfo),h=a.focusedElem,p=a.selectionRange;if(d!==h&&h&&h.ownerDocument&&_p(h.ownerDocument.documentElement,h)){if(p!==null&&Um(h)){var g=p.start,O=p.end;if(O===void 0&&(O=g),"selectionStart"in h)h.selectionStart=g,h.selectionEnd=Math.min(O,h.value.length);else{var _=h.ownerDocument||document,x=_&&_.defaultView||window;if(x.getSelection){var G=x.getSelection(),oe=h.textContent.length,he=Math.min(p.start,oe),Lt=p.end===void 0?he:Math.min(p.end,oe);!G.extend&&he>Lt&&(d=Lt,Lt=he,he=d);var dt=Mp(h,he),T=Mp(h,Lt);if(dt&&T&&(G.rangeCount!==1||G.anchorNode!==dt.node||G.anchorOffset!==dt.offset||G.focusNode!==T.node||G.focusOffset!==T.offset)){var E=_.createRange();E.setStart(dt.node,dt.offset),G.removeAllRanges(),he>Lt?(G.addRange(E),G.extend(T.node,T.offset)):(E.setEnd(T.node,T.offset),G.addRange(E))}}}}for(_=[],G=h;G=G.parentNode;)G.nodeType===1&&_.push({element:G,left:G.scrollLeft,top:G.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<_.length;h++){var z=_[h];z.element.scrollLeft=z.left,z.element.scrollTop=z.top}}Vv=!!pb,gb=pb=null}finally{yt=s,St.p=o,V.T=i}}e.current=t,Vl=W2}}function Su(){if(Vl===W2){Vl=Ls;var e=lT;if(e!==null){Us=Bl();var t=co,a=Us;!Ft||a<=t||console.timeStamp(e,t,a,ht,rt,"secondary-light")}e=Zs,t=um,a=gi;var i=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||i){i=V.T,V.T=null;var o=St.p;St.p=Al;var s=yt;yt|=kn;try{lm=a,am=e,Oc(),Jd(e,t.alternate,t),am=lm=null}finally{yt=s,St.p=o,V.T=i}}e=ub,t=tT,co=Bl(),e=t===null?e:Us,t=co,a=vi===lb,i=bl,oo!==null?Bp(e,t,oo,!1,i):!Ft||t<=e||(i?i.run(console.timeStamp.bind(console,a?"Commit Interrupted View Transition":"Commit",e,t,ht,rt,a?"error":"secondary-dark")):console.timeStamp(a?"Commit Interrupted View Transition":"Commit",e,t,ht,rt,a?"error":"secondary-dark")),Vl=I2}}function Xy(){if(Vl===P2||Vl===I2){if(Vl===P2){var e=co;co=Bl();var t=co,a=vi===lb;!Ft||t<=e||console.timeStamp(a?"Interrupted View Transition":"Starting Animation",e,t,ht,rt,a?" error":"secondary-light"),vi!==lb&&(vi=F2)}Vl=Ls,Ch(),e=Zs;var i=um;t=gi,a=eT;var o=i.actualDuration!==0||(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0;o?Vl=Ov:(Vl=Ls,um=Zs=null,Qy(e,e.pendingLanes),Nr=0,ip=null);var s=e.pendingLanes;if(s===0&&(Qs=null),o||lh(e),s=na(t),i=i.stateNode,El&&typeof El.onCommitFiberRoot=="function")try{var d=(i.current.flags&128)===128;switch(s){case Al:var h=b0;break;case Jl:h=Mh;break;case Pl:h=eo;break;case tc:h=_h;break;default:h=eo}El.onCommitFiberRoot(to,i,h,d)}catch(_){Du||(Du=!0,console.error("React instrumentation encountered an error: %o",_))}if(Cu&&e.memoizedUpdaters.clear(),Hy(),a!==null){d=V.T,h=St.p,St.p=Al,V.T=null;try{var p=e.onRecoverableError;for(i=0;i<a.length;i++){var g=a[i],O=cg(g.stack);ee(g.source,p,g.value,O)}}finally{V.T=d,St.p=h}}(gi&3)!==0&&Jf(),Oa(e),s=e.pendingLanes,(t&261930)!==0&&(s&42)!==0?(ov=!0,e===cb?up++:(up=0,cb=e)):up=0,o||Ki(t,co),Tu(0)}}function cg(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function Qy(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,mf(t)))}function Jf(){return ya(),Su(),Xy(),Kf()}function Kf(){if(Vl!==Ov)return!1;var e=Zs,t=nb;nb=0;var a=na(gi),i=Pl>a?Pl:a;a=V.T;var o=St.p;try{St.p=i,V.T=null;var s=ib;ib=null,i=Zs;var d=gi;if(Vl=Ls,um=Zs=null,gi=0,(yt&($l|kn))!==la)throw Error("Cannot flush passive effects while already rendering.");On(d),ob=!0,Dv=!1;var h=0;if(oo=null,h=Ul(),vi===F2)Ym(co,h,sA);else{var p=co,g=h,O=vi===ab;!Ft||g<=p||(bl?bl.run(console.timeStamp.bind(console,O?"Waiting for Paint":"Waiting",p,g,ht,rt,"secondary-light")):console.timeStamp(O?"Waiting for Paint":"Waiting",p,g,ht,rt,"secondary-light"))}p=yt,yt|=kn;var _=i.current;Oc(),Fd(_);var x=i.current;_=ub,Oc(),Ny(i,x,d,s,_),lh(i),yt=p;var G=Ul();if(x=h,_=bl,oo!==null?Bp(x,G,oo,!0,_):!Ft||G<=x||(_?_.run(console.timeStamp.bind(console,"Remaining Effects",x,G,ht,rt,"secondary-dark")):console.timeStamp("Remaining Effects",x,G,ht,rt,"secondary-dark")),Ki(d,G),Tu(0,!1),Dv?i===ip?Nr++:(Nr=0,ip=i):Nr=0,Dv=ob=!1,El&&typeof El.onPostCommitFiberRoot=="function")try{El.onPostCommitFiberRoot(to,i)}catch(he){Du||(Du=!0,console.error("React instrumentation encountered an error: %o",he))}var oe=i.current.stateNode;return oe.effectDuration=0,oe.passiveEffectDuration=0,!0}finally{St.p=o,V.T=a,Qy(e,t)}}function pa(e,t,a){t=ia(a,t),Xp(t),t=Nd(e.stateNode,t,2),e=ou(e,t,2),e!==null&&(bi(e,2),Oa(e))}function $e(e,t,a){if(im=!1,e.tag===3)pa(e,e,a);else{for(;t!==null;){if(t.tag===3){pa(t,e,a);return}if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Qs===null||!Qs.has(i))){e=ia(a,e),Xp(e),a=Rd(2),i=ou(t,a,2),i!==null&&(Ud(a,i,t,e),bi(i,2),Oa(i));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
154
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:` You returned: `+r,M(t,function(e,t){console.error(`%s must not return anything besides a function, which is used for clean-up.%s`,e,t)},a,o)}n=n.next}while(n!==i)}}catch(e){jl(t,t.return,e)}}function qs(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;s!==void 0&&(o.destroy=void 0,(e&my)!==fy&&(Qx=!0),i=t,M(i,Nv,i,n,s),(e&my)!==fy&&(Qx=!1))}r=r.next}while(r!==a)}}catch(e){jl(t,t.return,e)}}function Js(e,t){Us(e)?(xi(),Ks(t,e),yi()):Ks(t,e)}function Ys(e,t,n){Us(e)?(xi(),qs(n,e,t),yi()):qs(n,e,t)}function Xs(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||`ref`in e.memoizedProps||ub||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",w(e)||`instance`),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",w(e)||`instance`));try{M(e,ra,t,n)}catch(t){jl(e,e.return,t)}}}function Zs(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function Qs(e,t){var n=t.memoizedProps,r=t.memoizedState;t=e.stateNode,e.type.defaultProps||`ref`in e.memoizedProps||ub||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",w(e)||`instance`),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",w(e)||`instance`));try{var i=Yo(e.type,n),a=M(e,Zs,t,i,r);n=hb,a!==void 0||n.has(e.type)||(n.add(e.type),M(e,function(){console.error(`%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.`,w(e))})),t.__reactInternalSnapshotBeforeUpdate=a}catch(t){jl(e,e.return,t)}}function $s(e,t,n){n.props=Yo(e.type,e.memoizedProps),n.state=e.memoizedState,Us(e)?(xi(),M(e,kv,e,t,n),yi()):M(e,kv,e,t,n)}function ec(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t==`function`)if(Us(e))try{xi(),e.refCleanup=t(n)}finally{yi()}else e.refCleanup=t(n);else typeof t==`string`?console.error(`String refs are no longer supported.`):t.hasOwnProperty(`current`)||console.error(`Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().`,w(e)),t.current=n}}function tc(e,t){try{M(e,ec,e)}catch(n){jl(e,t,n)}}function nc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{if(Us(e))try{xi(),M(e,r)}finally{yi(e)}else M(e,r)}catch(n){jl(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{if(Us(e))try{xi(),M(e,n,null)}finally{yi(e)}else M(e,n,null)}catch(n){jl(e,t,n)}else n.current=null}function rc(e,t,n,r){var i=e.memoizedProps,a=i.id,o=i.onCommit;i=i.onRender,t=t===null?`mount`:`update`,ev&&(t=`nested-update`),typeof i==`function`&&i(a,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof o==`function`&&o(a,t,r,n)}function ic(e,t,n,r){var i=e.memoizedProps;e=i.id,i=i.onPostCommit,t=t===null?`mount`:`update`,ev&&(t=`nested-update`),typeof i==`function`&&i(e,t,r,n)}function ac(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{M(e,Uu,r,t,n,e)}catch(t){jl(e,e.return,t)}}function oc(e,t,n){try{M(e,Gu,e.stateNode,e.type,n,t,e)}catch(t){jl(e,e.return,t)}}function sc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Yu(e.type)||e.tag===4}function cc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||sc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Yu(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function lc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(Ju(n),(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t)):(Ju(n),t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=nn));else if(r!==4&&(r===27&&Yu(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(lc(e,t,n),e=e.sibling;e!==null;)lc(e,t,n),e=e.sibling}function uc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&Yu(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(uc(e,t,n),e=e.sibling;e!==null;)uc(e,t,n),e=e.sibling}function dc(e){for(var t,n=e.return;n!==null;){if(sc(n)){t=n;break}n=n.return}if(t==null)throw Error(`Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.`);switch(t.tag){case 27:t=t.stateNode,n=cc(e),uc(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(Ku(n),t.flags&=-33),t=cc(e),uc(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=cc(e),lc(e,n,t);break;default:throw Error(`Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.`)}}function fc(e){var t=e.stateNode,n=e.memoizedProps;try{M(e,Sd,e.type,n,t,e)}catch(t){jl(e,e.return,t)}}function pc(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)==0:!1}function mc(e,t){if(e=e.containerInfo,GS=IC,e=N(e),In(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break a}var o=0,s=-1,c=-1,l=0,u=0,d=e,f=null;b:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(s=o+i),d!==a||r!==0&&d.nodeType!==3||(c=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break b;if(f===n&&++l===i&&(s=o),f===a&&++u===r&&(c=o),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=s===-1||c===-1?null:{start:s,end:c}}else n=null}n||={start:0,end:0}}else n=null;for(KS={focusedElem:e,selectionRange:n},IC=!1,bb=t;bb!==null;)if(t=bb,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,bb=e;else for(;bb!==null;){switch(e=t=bb,n=e.alternate,i=e.flags,e.tag){case 0:if(i&4&&(e=e.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)i=e[n],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:i&1024&&n!==null&&Qs(e,n);break;case 3:if(i&1024){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)od(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:od(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(i&1024)throw Error(`This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.`)}if(e=t.sibling,e!==null){e.return=t.return,bb=e;break}bb=t.return}}function hc(e,t,n){var r=ui(),i=fi(),a=mi(),o=hi(),s=n.flags;switch(n.tag){case 0:case 11:case 15:Dc(e,n),s&4&&Ws(n,hy|py);break;case 1:if(Dc(e,n),s&4)if(e=n.stateNode,t===null)n.type.defaultProps||`ref`in n.memoizedProps||ub||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",w(n)||`instance`),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",w(n)||`instance`)),Us(n)?(xi(),M(n,Cv,n,e),yi()):M(n,Cv,n,e);else{var c=Yo(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||`ref`in n.memoizedProps||ub||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",w(n)||`instance`),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",w(n)||`instance`)),Us(n)?(xi(),M(n,Tv,n,e,c,t,e.__reactInternalSnapshotBeforeUpdate),yi()):M(n,Tv,n,e,c,t,e.__reactInternalSnapshotBeforeUpdate)}s&64&&Xs(n),s&512&&tc(n,n.return);break;case 3:if(t=oi(),Dc(e,n),s&64&&(s=n.updateQueue,s!==null)){if(c=null,n.child!==null)switch(n.child.tag){case 27:case 5:c=n.child.stateNode;break;case 1:c=n.child.stateNode}try{M(n,ra,s,c)}catch(e){jl(n,n.return,e)}}e.effectDuration+=si(t);break;case 27:t===null&&s&4&&fc(n);case 26:case 5:if(Dc(e,n),t===null){if(s&4)ac(n);else if(s&64){e=n.type,t=n.memoizedProps,c=n.stateNode;try{M(n,Wu,c,e,t,n)}catch(e){jl(n,n.return,e)}}}s&512&&tc(n,n.return);break;case 12:if(s&4){s=oi(),Dc(e,n),e=n.stateNode,e.effectDuration+=ci(s);try{M(n,rc,n,t,y_,e.effectDuration)}catch(e){jl(n,n.return,e)}}else Dc(e,n);break;case 31:Dc(e,n),s&4&&yc(e,n);break;case 13:Dc(e,n),s&4&&bc(e,n),s&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(s=Fl.bind(null,n),fd(e,s))));break;case 22:if(s=n.memoizedState!==null||gb,!s){t=t!==null&&t.memoizedState!==null||_b,c=gb;var l=_b;gb=s,(_b=t)&&!l?(jc(e,n,(n.subtreeFlags&8772)!=0),(n.mode&K)!==G&&0<=q&&0<=J&&.05<J-q&&qn(n,q,J)):Dc(e,n),gb=c,_b=l}break;case 30:break;default:Dc(e,n)}(n.mode&K)!==G&&0<=q&&0<=J&&((E_||.05<w_)&&Yn(n,q,J,w_,T_),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<J-q&&(pc(n.return.alternate,n.return)||Kn(n,q,J,`Mount`))),di(r),pi(i),T_=a,E_=o}function gc(e){var t=e.alternate;t!==null&&(e.alternate=null,gc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&We(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function _c(e,t,n){for(n=n.child;n!==null;)vc(e,t,n),n=n.sibling}function vc(e,t,n){if(Dp&&typeof Dp.onCommitFiberUnmount==`function`)try{Dp.onCommitFiberUnmount(Ep,n)}catch(e){Op||(Op=!0,console.error(`React instrumentation encountered an error: %o`,e))}var r=ui(),i=fi(),a=mi(),o=hi();switch(n.tag){case 26:_b||nc(n,t),_c(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:_b||nc(n,t);var s=Cb,c=wb;Yu(n.type)&&(Cb=n.stateNode,wb=!1),_c(e,t,n),M(n,Cd,n.stateNode),Cb=s,wb=c;break;case 5:_b||nc(n,t);case 6:if(s=Cb,c=wb,Cb=null,_c(e,t,n),Cb=s,wb=c,Cb!==null)if(wb)try{M(n,Zu,Cb,n.stateNode)}catch(e){jl(n,t,e)}else try{M(n,Xu,Cb,n.stateNode)}catch(e){jl(n,t,e)}break;case 18:Cb!==null&&(wb?(e=Cb,Qu(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),_f(e)):Qu(Cb,n.stateNode));break;case 4:s=Cb,c=wb,Cb=n.stateNode.containerInfo,wb=!0,_c(e,t,n),Cb=s,wb=c;break;case 0:case 11:case 14:case 15:qs(my,n,t),_b||Gs(n,t,hy),_c(e,t,n);break;case 1:_b||(nc(n,t),s=n.stateNode,typeof s.componentWillUnmount==`function`&&$s(n,t,s)),_c(e,t,n);break;case 21:_c(e,t,n);break;case 22:_b=(s=_b)||n.memoizedState!==null,_c(e,t,n),_b=s;break;default:_c(e,t,n)}(n.mode&K)!==G&&0<=q&&0<=J&&(E_||.05<w_)&&Yn(n,q,J,w_,T_),di(r),pi(i),T_=a,E_=o}function yc(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{M(t,yd,e)}catch(e){jl(t,t.return,e)}}}function bc(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{M(t,bd,e)}catch(e){jl(t,t.return,e)}}function xc(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new yb),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new yb),t;default:throw Error(`Unexpected Suspense handler tag (`+e.tag+`). This is a bug in React.`)}}function Sc(e,t){var n=xc(e);t.forEach(function(t){if(!n.has(t)){if(n.add(t),kp)if(xb!==null&&Sb!==null)Vl(Sb,xb);else throw Error(`Expected finished root and lanes to be set. This is a bug in React.`);var r=Il.bind(null,e,t);t.then(r,r)}})}function Cc(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=e,a=t,o=n[r],s=ui(),c=a;a:for(;c!==null;){switch(c.tag){case 27:if(Yu(c.type)){Cb=c.stateNode,wb=!1;break a}break;case 5:Cb=c.stateNode,wb=!1;break a;case 3:case 4:Cb=c.stateNode.containerInfo,wb=!0;break a}c=c.return}if(Cb===null)throw Error(`Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.`);vc(i,a,o),Cb=null,wb=!1,(o.mode&K)!==G&&0<=q&&0<=J&&.05<J-q&&Kn(o,q,J,`Unmount`),di(s),i=o,a=i.alternate,a!==null&&(a.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)wc(t,e),t=t.sibling}function wc(e,t){var n=ui(),r=fi(),i=mi(),a=hi(),o=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Cc(t,e),Tc(e),s&4&&(qs(my|py,e,e.return),Ks(my|py,e),Gs(e,e.return,hy|py));break;case 1:if(Cc(t,e),Tc(e),s&512&&(_b||o===null||nc(o,o.return)),s&64&&gb&&(s=e.updateQueue,s!==null&&(o=s.callbacks,o!==null))){var c=s.shared.hiddenCallbacks;s.shared.hiddenCallbacks=c===null?o:c.concat(o)}break;case 26:if(c=Tb,Cc(t,e),Tc(e),s&512&&(_b||o===null||nc(o,o.return)),s&4){var l=o===null?null:o.memoizedState;if(s=e.memoizedState,o===null)if(s===null)if(e.stateNode===null){a:{s=e.type,o=e.memoizedProps,c=c.ownerDocument||c;b:switch(s){case`title`:l=c.getElementsByTagName(`title`)[0],(!l||l[Jp]||l[Vp]||l.namespaceURI===jm||l.hasAttribute(`itemprop`))&&(l=c.createElement(s),c.head.insertBefore(l,c.querySelector(`head > title`))),xu(l,s,o),l[Vp]=e,Ye(l),s=l;break a;case`link`:var u=Ld(`link`,`href`,c).get(s+(o.href||``));if(u){for(var d=0;d<u.length;d++)if(l=u[d],l.getAttribute(`href`)===(o.href==null||o.href===``?null:o.href)&&l.getAttribute(`rel`)===(o.rel==null?null:o.rel)&&l.getAttribute(`title`)===(o.title==null?null:o.title)&&l.getAttribute(`crossorigin`)===(o.crossOrigin==null?null:o.crossOrigin)){u.splice(d,1);break b}}l=c.createElement(s),xu(l,s,o),c.head.appendChild(l);break;case`meta`:if(u=Ld(`meta`,`content`,c).get(s+(o.content||``))){for(d=0;d<u.length;d++)if(l=u[d],xe(o.content,`content`),l.getAttribute(`content`)===(o.content==null?null:``+o.content)&&l.getAttribute(`name`)===(o.name==null?null:o.name)&&l.getAttribute(`property`)===(o.property==null?null:o.property)&&l.getAttribute(`http-equiv`)===(o.httpEquiv==null?null:o.httpEquiv)&&l.getAttribute(`charset`)===(o.charSet==null?null:o.charSet)){u.splice(d,1);break b}}l=c.createElement(s),xu(l,s,o),c.head.appendChild(l);break;default:throw Error(`getNodesForType encountered a type it did not expect: "`+s+`". This is a bug in React.`)}l[Vp]=e,Ye(l),s=l}e.stateNode=s}else Rd(c,e.type,e.stateNode);else e.stateNode=Nd(c,s,e.memoizedProps);else l===s?s===null&&e.stateNode!==null&&oc(e,e.memoizedProps,o.memoizedProps):(l===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):l.count--,s===null?Rd(c,e.type,e.stateNode):Nd(c,s,e.memoizedProps))}break;case 27:Cc(t,e),Tc(e),s&512&&(_b||o===null||nc(o,o.return)),o!==null&&s&4&&oc(e,e.memoizedProps,o.memoizedProps);break;case 5:if(Cc(t,e),Tc(e),s&512&&(_b||o===null||nc(o,o.return)),e.flags&32){c=e.stateNode;try{M(e,Ku,c)}catch(t){jl(e,e.return,t)}}s&4&&e.stateNode!=null&&(c=e.memoizedProps,oc(e,c,o===null?c:o.memoizedProps)),s&1024&&(vb=!0,e.type!==`form`&&console.error(`Unexpected host component type. Expected a form. This is a bug in React.`));break;case 6:if(Cc(t,e),Tc(e),s&4){if(e.stateNode===null)throw Error(`This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.`);s=e.memoizedProps,o=o===null?s:o.memoizedProps,c=e.stateNode;try{M(e,qu,c,o,s)}catch(t){jl(e,e.return,t)}}break;case 3:if(c=oi(),dC=null,l=Tb,Tb=wd(t.containerInfo),Cc(t,e),Tb=l,Tc(e),s&4&&o!==null&&o.memoizedState.isDehydrated)try{M(e,vd,t.containerInfo)}catch(t){jl(e,e.return,t)}vb&&(vb=!1,Ec(e)),t.effectDuration+=si(c);break;case 4:s=Tb,Tb=wd(e.stateNode.containerInfo),Cc(t,e),Tc(e),Tb=s;break;case 12:s=oi(),Cc(t,e),Tc(e),e.stateNode.effectDuration+=ci(s);break;case 31:Cc(t,e),Tc(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Sc(e,s)));break;case 13:Cc(t,e),Tc(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(hx=_p()),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Sc(e,s)));break;case 22:c=e.memoizedState!==null;var f=o!==null&&o.memoizedState!==null,p=gb,m=_b;if(gb=p||c,_b=m||f,Cc(t,e),_b=m,gb=p,f&&!c&&!p&&!m&&(e.mode&K)!==G&&0<=q&&0<=J&&.05<J-q&&qn(e,q,J),Tc(e),s&8192)a:for(t=e.stateNode,t._visibility=c?t._visibility&~Eg:t._visibility|Eg,!c||o===null||f||gb||_b||(kc(e),(e.mode&K)!==G&&0<=q&&0<=J&&.05<J-q&&Kn(e,q,J,`Disconnect`)),o=null,t=e;;){if(t.tag===5||t.tag===26){if(o===null){f=o=t;try{l=f.stateNode,c?M(f,td,l):M(f,id,f.stateNode,f.memoizedProps)}catch(e){jl(f,f.return,e)}}}else if(t.tag===6){if(o===null){f=t;try{u=f.stateNode,c?M(f,nd,u):M(f,ad,u,f.memoizedProps)}catch(e){jl(f,f.return,e)}}}else if(t.tag===18){if(o===null){f=t;try{d=f.stateNode,c?M(f,ed,d):M(f,rd,f.stateNode)}catch(e){jl(f,f.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;o===t&&(o=null),t=t.return}o===t&&(o=null),t.sibling.return=t.return,t=t.sibling}s&4&&(s=e.updateQueue,s!==null&&(o=s.retryQueue,o!==null&&(s.retryQueue=null,Sc(e,o))));break;case 19:Cc(t,e),Tc(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Sc(e,s)));break;case 30:break;case 21:break;default:Cc(t,e),Tc(e)}(e.mode&K)!==G&&0<=q&&0<=J&&((E_||.05<w_)&&Yn(e,q,J,w_,T_),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<J-q&&(pc(e.return.alternate,e.return)||Kn(e,q,J,`Mount`))),di(n),pi(r),T_=i,E_=a}function Tc(e){var t=e.flags;if(t&2){try{M(e,dc,e)}catch(t){jl(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ec(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Ec(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Dc(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)hc(e,t.alternate,t),t=t.sibling}function Oc(e){var t=ui(),n=fi(),r=mi(),i=hi();switch(e.tag){case 0:case 11:case 14:case 15:Gs(e,e.return,hy),kc(e);break;case 1:nc(e,e.return);var a=e.stateNode;typeof a.componentWillUnmount==`function`&&$s(e,e.return,a),kc(e);break;case 27:M(e,Cd,e.stateNode);case 26:case 5:nc(e,e.return),kc(e);break;case 22:e.memoizedState===null&&kc(e);break;case 30:kc(e);break;default:kc(e)}(e.mode&K)!==G&&0<=q&&0<=J&&(E_||.05<w_)&&Yn(e,q,J,w_,T_),di(t),pi(n),T_=r,E_=i}function kc(e){for(e=e.child;e!==null;)Oc(e),e=e.sibling}function Ac(e,t,n,r){var i=ui(),a=fi(),o=mi(),s=hi(),c=n.flags;switch(n.tag){case 0:case 11:case 15:jc(e,n,r),Ws(n,hy);break;case 1:if(jc(e,n,r),t=n.stateNode,typeof t.componentDidMount==`function`&&M(n,Cv,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{M(n,na,t,e)}catch(e){jl(n,n.return,e)}}r&&c&64&&Xs(n),tc(n,n.return);break;case 27:fc(n);case 26:case 5:jc(e,n,r),r&&t===null&&c&4&&ac(n),tc(n,n.return);break;case 12:if(r&&c&4){c=oi(),jc(e,n,r),r=n.stateNode,r.effectDuration+=ci(c);try{M(n,rc,n,t,y_,r.effectDuration)}catch(e){jl(n,n.return,e)}}else jc(e,n,r);break;case 31:jc(e,n,r),r&&c&4&&yc(e,n);break;case 13:jc(e,n,r),r&&c&4&&bc(e,n);break;case 22:n.memoizedState===null&&jc(e,n,r),tc(n,n.return);break;case 30:break;default:jc(e,n,r)}(n.mode&K)!==G&&0<=q&&0<=J&&(E_||.05<w_)&&Yn(n,q,J,w_,T_),di(i),pi(a),T_=o,E_=s}function jc(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;)Ac(e,t.alternate,t,n),t=t.sibling}function Mc(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&ni(e),n!=null&&ri(n))}function Nc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(ni(t),e!=null&&ri(e))}function Pc(e,t,n,r,i){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var a=t.sibling;Fc(e,t,n,r,a===null?i:a.actualStartTime),t=a}}function Fc(e,t,n,r,i){var a=ui(),o=fi(),s=mi(),c=hi(),l=bg,u=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&K)!==G&&0<t.actualStartTime&&t.flags&1&&P(t,t.actualStartTime,i,Eb,n),Pc(e,t,n,r,i),u&2048&&Js(t,gy|py);break;case 1:(t.mode&K)!==G&&0<t.actualStartTime&&(t.flags&128?Jn(t,t.actualStartTime,i,[]):t.flags&1&&P(t,t.actualStartTime,i,Eb,n)),Pc(e,t,n,r,i);break;case 3:var d=oi(),f=Eb;Eb=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)==0,Pc(e,t,n,r,i),Eb=f,u&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),r=t.memoizedState.cache,r!==n&&(ni(r),n!=null&&ri(n))),e.passiveEffectDuration+=si(d);break;case 12:if(u&2048){u=oi(),Pc(e,t,n,r,i),e=t.stateNode,e.passiveEffectDuration+=ci(u);try{M(t,ic,t,t.alternate,y_,e.passiveEffectDuration)}catch(e){jl(t,t.return,e)}}else Pc(e,t,n,r,i);break;case 31:u=Eb,d=t.alternate===null?null:t.alternate.memoizedState,f=t.memoizedState,d!==null&&f===null?(f=t.deletions,f!==null&&0<f.length&&f[0].tag===18?(Eb=!1,d=d.hydrationErrors,d!==null&&Jn(t,t.actualStartTime,i,d)):Eb=!0):Eb=!1,Pc(e,t,n,r,i),Eb=u;break;case 13:u=Eb,d=t.alternate===null?null:t.alternate.memoizedState,f=t.memoizedState,d===null||d.dehydrated===null||f!==null&&f.dehydrated!==null?Eb=!1:(f=t.deletions,f!==null&&0<f.length&&f[0].tag===18?(Eb=!1,d=d.hydrationErrors,d!==null&&Jn(t,t.actualStartTime,i,d)):Eb=!0),Pc(e,t,n,r,i),Eb=u;break;case 23:break;case 22:f=t.stateNode,d=t.alternate,t.memoizedState===null?f._visibility&Dg?Pc(e,t,n,r,i):(f._visibility|=Dg,Ic(e,t,n,r,(t.subtreeFlags&10256)!=0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),i),(t.mode&K)===G||Eb||(e=t.actualStartTime,0<=e&&.05<i-e&&qn(t,e,i),0<=q&&0<=J&&.05<J-q&&qn(t,q,J))):f._visibility&Dg?Pc(e,t,n,r,i):Rc(e,t,n,r,i),u&2048&&Mc(d,t);break;case 24:Pc(e,t,n,r,i),u&2048&&Nc(t.alternate,t);break;default:Pc(e,t,n,r,i)}(t.mode&K)!==G&&((e=!Eb&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(n=t.actualStartTime,0<=n&&.05<i-n&&Kn(t,n,i,`Mount`)),0<=q&&0<=J&&((E_||.05<w_)&&Yn(t,q,J,w_,T_),e&&.05<J-q&&Kn(t,q,J,`Mount`))),di(a),pi(o),T_=s,E_=c,bg=l}function Ic(e,t,n,r,i,a){for(i&&=(t.subtreeFlags&10256)!=0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),t=t.child;t!==null;){var o=t.sibling;Lc(e,t,n,r,i,o===null?a:o.actualStartTime),t=o}}function Lc(e,t,n,r,i,a){var o=ui(),s=fi(),c=mi(),l=hi(),u=bg;i&&(t.mode&K)!==G&&0<t.actualStartTime&&t.flags&1&&P(t,t.actualStartTime,a,Eb,n);var d=t.flags;switch(t.tag){case 0:case 11:case 15:Ic(e,t,n,r,i,a),Js(t,gy);break;case 23:break;case 22:var f=t.stateNode;t.memoizedState===null?(f._visibility|=Dg,Ic(e,t,n,r,i,a)):f._visibility&Dg?Ic(e,t,n,r,i,a):Rc(e,t,n,r,a),i&&d&2048&&Mc(t.alternate,t);break;case 24:Ic(e,t,n,r,i,a),i&&d&2048&&Nc(t.alternate,t);break;default:Ic(e,t,n,r,i,a)}(t.mode&K)!==G&&0<=q&&0<=J&&(E_||.05<w_)&&Yn(t,q,J,w_,T_),di(o),pi(s),T_=c,E_=l,bg=u}function Rc(e,t,n,r,i){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var a=t.child;a!==null;){t=a.sibling;var o=e,s=n,c=r,l=t===null?i:t.actualStartTime,u=bg;(a.mode&K)!==G&&0<a.actualStartTime&&a.flags&1&&P(a,a.actualStartTime,l,Eb,s);var d=a.flags;switch(a.tag){case 22:Rc(o,a,s,c,l),d&2048&&Mc(a.alternate,a);break;case 24:Rc(o,a,s,c,l),d&2048&&Nc(a.alternate,a);break;default:Rc(o,a,s,c,l)}bg=u,a=t}}function zc(e,t,n){if(e.subtreeFlags&Db)for(e=e.child;e!==null;)Bc(e,t,n),e=e.sibling}function Bc(e,t,n){switch(e.tag){case 26:zc(e,t,n),e.flags&Db&&e.memoizedState!==null&&Vd(n,Tb,e.memoizedState,e.memoizedProps);break;case 5:zc(e,t,n);break;case 3:case 4:var r=Tb;Tb=wd(e.stateNode.containerInfo),zc(e,t,n),Tb=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Db,Db=16777216,zc(e,t,n),Db=r):zc(e,t,n));break;default:zc(e,t,n)}}function Vc(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Hc(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n],i=ui();bb=r,Kc(r,e),(r.mode&K)!==G&&0<=q&&0<=J&&.05<J-q&&Kn(r,q,J,`Unmount`),di(i)}Vc(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Uc(e),e=e.sibling}function Uc(e){var t=ui(),n=fi(),r=mi(),i=hi();switch(e.tag){case 0:case 11:case 15:Hc(e),e.flags&2048&&Ys(e,e.return,gy|py);break;case 3:var a=oi();Hc(e),e.stateNode.passiveEffectDuration+=si(a);break;case 12:a=oi(),Hc(e),e.stateNode.passiveEffectDuration+=ci(a);break;case 22:a=e.stateNode,e.memoizedState!==null&&a._visibility&Dg&&(e.return===null||e.return.tag!==13)?(a._visibility&=~Dg,Wc(e),(e.mode&K)!==G&&0<=q&&0<=J&&.05<J-q&&Kn(e,q,J,`Disconnect`)):Hc(e);break;default:Hc(e)}(e.mode&K)!==G&&0<=q&&0<=J&&(E_||.05<w_)&&Yn(e,q,J,w_,T_),di(t),pi(n),E_=i,T_=r}function Wc(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n],i=ui();bb=r,Kc(r,e),(r.mode&K)!==G&&0<=q&&0<=J&&.05<J-q&&Kn(r,q,J,`Unmount`),di(i)}Vc(e)}for(e=e.child;e!==null;)Gc(e),e=e.sibling}function Gc(e){var t=ui(),n=fi(),r=mi(),i=hi();switch(e.tag){case 0:case 11:case 15:Ys(e,e.return,gy),Wc(e);break;case 22:var a=e.stateNode;a._visibility&Dg&&(a._visibility&=~Dg,Wc(e));break;default:Wc(e)}(e.mode&K)!==G&&0<=q&&0<=J&&(E_||.05<w_)&&Yn(e,q,J,w_,T_),di(t),pi(n),E_=i,T_=r}function Kc(e,t){for(;bb!==null;){var n=bb,r=n,i=t,a=ui(),o=fi(),s=mi(),c=hi();switch(r.tag){case 0:case 11:case 15:Ys(r,i,gy);break;case 23:case 22:r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(i=r.memoizedState.cachePool.pool,i!=null&&ni(i));break;case 24:ri(r.memoizedState.cache)}if((r.mode&K)!==G&&0<=q&&0<=J&&(E_||.05<w_)&&Yn(r,q,J,w_,T_),di(a),pi(o),E_=c,T_=s,r=n.child,r!==null)r.return=n,bb=r;else a:for(n=e;bb!==null;){if(r=bb,a=r.sibling,o=r.return,gc(r),r===n){bb=null;break a}if(a!==null){a.return=o,bb=a;break a}bb=o}}}function qc(){Ab.forEach(function(e){return e()})}function Jc(){var e=typeof IS_REACT_ACT_ENVIRONMENT<`u`?IS_REACT_ACT_ENVIRONMENT:void 0;return e||W.actQueue===null||console.error(`The current testing environment is not configured to support act(...)`),e}function Yc(e){if((Hb&Nb)!==Mb&&$!==0)return $&-$;var t=W.T;return t===null?He():(t._updatedFibers||=new Set,t._updatedFibers.add(e),Ql())}function Xc(){if(ux===0)if(!($&536870912)||Qg){var e=Pp;Pp<<=1,!(Pp&3932160)&&(Pp=262144),ux=e}else ux=536870912;return e=sy.current,e!==null&&(e.flags|=32),ux}function Zc(e,t,n){if(Qx&&console.error(`useInsertionEffect must not schedule updates.`),qx&&(Jx=!0),(e===Ub&&(ex===Kb||ex===$b)||e.cancelPendingCommit!==null)&&(al(e,0),tl(e,$,ux,!1)),Ne(e,n),(Hb&Nb)!==Mb&&e===Ub){if(dp)switch(t.tag){case 0:case 11:case 15:e=Q&&w(Q)||`Unknown`,tS.has(e)||(tS.add(e),t=w(t)||`Unknown`,console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:eS||=(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),!0)}}else kp&&ze(e,t,n),Ul(t),e===Ub&&((Hb&Nb)===Mb&&(cx|=n),ox===zb&&tl(e,$,ux,!1)),Wl(e)}function Qc(e,t,n){if((Hb&(Nb|Pb))!==Mb)throw Error(`Should not already be working.`);if($!==0&&Q!==null){var r=Q,i=_p();switch(Q_){case qb:case Kb:var a=$_;gg&&((r=r._debugTask)?r.run(console.timeStamp.bind(console,`Suspended`,a,i,_g,void 0,`primary-light`)):console.timeStamp(`Suspended`,a,i,_g,void 0,`primary-light`));break;case $b:a=$_,gg&&((r=r._debugTask)?r.run(console.timeStamp.bind(console,`Action`,a,i,_g,void 0,`primary-light`)):console.timeStamp(`Action`,a,i,_g,void 0,`primary-light`));break;default:gg&&(r=i-$_,3>r||console.timeStamp(`Blocked`,$_,i,_g,void 0,5>r?`primary-light`:10>r?`primary`:100>r?`primary-dark`:`error`))}}a=(n=!n&&(t&127)==0&&(t&e.expiredLanes)===0||ke(e,t))?ml(e,t):fl(e,t,!0);var o=n;do{if(a===Fb){rx&&!n&&tl(e,t,0,!1),t=ex,$_=m_(),Q_=t;break}else{if(r=_p(),i=e.current.alternate,o&&!el(i)){Gn(t),i=v_,a=r,!gg||a<=i||(xx?xx.run(console.timeStamp.bind(console,`Teared Render`,i,a,yg,vg,`error`)):console.timeStamp(`Teared Render`,i,a,yg,vg,`error`)),il(t,r),a=fl(e,t,!1),o=!1;continue}if(a===Lb){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){Gn(t),er(v_,r,t,xx),il(t,r),t=s;a:{r=e,a=o,o=fx;var c=r.current.memoizedState.isDehydrated;if(c&&(al(r,s).flags|=256),s=fl(r,s,!1),s!==Lb){if(ix&&!c){r.errorRecoveryDisabledLanes|=a,cx|=a,a=zb;break a}r=px,px=o,r!==null&&(px===null?px=r:px.push.apply(px,r))}a=s}if(o=!1,a!==Lb)continue;r=_p()}}if(a===Ib){Gn(t),er(v_,r,t,xx),il(t,r),al(e,0),tl(e,t,0,!0);break}a:{switch(n=e,a){case Fb:case Ib:throw Error(`Root did not complete. This is a bug in React.`);case zb:if((t&4194048)!==t)break;case Bb:Gn(t),Zn(v_,r,t,xx),il(t,r),i=t,i&127?I_=r:i&4194048&&(q_=r),tl(n,t,ux,!nx);break a;case Lb:px=null;break;case Rb:case Vb:break;default:throw Error(`Unknown root exit status.`)}if(W.actQueue!==null)Sl(n,i,t,px,bx,mx,ux,cx,dx,a,null,null,v_,r);else{if((t&62914560)===t&&(o=hx+_x-_p(),10<o)){if(tl(n,t,ux,!nx),Oe(n,0,!0)!==0)break a;Ix=t,n.timeoutHandle=XS($c.bind(null,n,i,px,bx,mx,t,ux,cx,dx,nx,a,`Throttled`,v_,r),o);break a}$c(n,i,px,bx,mx,t,ux,cx,dx,nx,a,null,v_,r)}}}break}while(1);Wl(e)}function $c(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.timeoutHandle=QS;var m=t.subtreeFlags,h=null;if((m&8192||(m&16785408)==16785408)&&(h={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:nn},Bc(t,a,h),m=(a&62914560)===a?hx-_p():(a&4194048)===a?gx-_p():0,m=Hd(h,m),m!==null)){Ix=a,e.cancelPendingCommit=m(Sl.bind(null,e,t,a,n,r,i,o,s,c,u,h,h.waitingForViewTransition?`Waiting for the previous Animation`:0<h.count?0<h.imgCount?`Suspended on CSS and Images`:`Suspended on CSS`:h.imgCount===1?`Suspended on an Image`:0<h.imgCount?`Suspended on Images`:null,f,p)),tl(e,a,o,!l);return}Sl(e,t,a,n,r,i,o,s,c,u,h,d,f,p)}function el(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!zh(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function tl(e,t,n,r){t&=~lx,t&=~cx,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Ap(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&Fe(e,n,t)}function nl(){return(Hb&(Nb|Pb))===Mb?(B(0,!1),!1):!0}function rl(){if(Q!==null){if(ex===Wb)var e=Q.return;else e=Q,Wr(),Sa(e),Hv=null,Uv=0,e=Q;for(;e!==null;)Hs(e.alternate,e),e=e.return;Q=null}}function il(e,t){e&127&&(D_=t),e&4194048&&(L_=t),e&62914560&&(J_=t),e&2080374784&&(Y_=t)}function al(e,t){gg&&(console.timeStamp(`Blocking Track`,.003,.003,`Blocking`,vg,`primary-light`),console.timeStamp(`Transition Track`,.003,.003,`Transition`,vg,`primary-light`),console.timeStamp(`Suspense Track`,.003,.003,`Suspense`,vg,`primary-light`),console.timeStamp(`Idle Track`,.003,.003,`Idle`,vg,`primary-light`));var n=v_;if(v_=m_(),$!==0&&0<n){if(Gn($),ox===Rb||ox===zb)Zn(n,v_,t,xx);else{var r=v_,i=xx;if(gg&&!(r<=n)){var a=(t&738197653)===t?`tertiary-dark`:`primary-dark`,o=(t&536870912)===t?`Prewarm`:(t&201326741)===t?`Interrupted Hydration`:`Interrupted Render`;i?i.run(console.timeStamp.bind(console,o,n,r,yg,vg,a)):console.timeStamp(o,n,r,yg,vg,a)}}il($,v_)}if(n=xx,xx=null,t&127){xx=k_,i=0<=O_&&O_<D_?D_:O_,r=0<=N_&&N_<D_?D_:N_,a=0<=r?r:0<=i?i:v_,0<=I_?(Gn(2),Qn(I_,a,t,n)):X_&127&&(Gn(2),rr(D_,a,Z_)),n=i;var s=r,c=P_,l=0<F_,u=A_===g_,d=A_===__;if(i=v_,r=k_,a=j_,o=M_,gg){if(yg=`Blocking`,0<n?n>i&&(n=i):n=i,0<s?s>n&&(s=n):s=n,c!==null&&n>s){var f=l?`secondary-light`:`warning`;r?r.run(console.timeStamp.bind(console,l?`Consecutive`:`Event: `+c,s,n,yg,vg,f)):console.timeStamp(l?`Consecutive`:`Event: `+c,s,n,yg,vg,f)}i>n&&(s=u?`error`:(t&738197653)===t?`tertiary-light`:`primary-light`,u=d?`Promise Resolved`:u?`Cascading Update`:5<i-n?`Update Blocked`:`Update`,d=[],o!=null&&d.push([`Component name`,o]),a!=null&&d.push([`Method name`,a]),n={start:n,end:i,detail:{devtools:{properties:d,track:yg,trackGroup:vg,color:s}}},r?r.run(performance.measure.bind(performance,u,n)):performance.measure(u,n))}O_=-1.1,A_=0,M_=j_=null,I_=-1.1,F_=N_,N_=-1.1,D_=m_()}if(t&4194048&&(xx=V_,i=0<=R_&&R_<L_?L_:R_,n=0<=z_&&z_<L_?L_:z_,r=0<=W_&&W_<L_?L_:W_,a=0<=r?r:0<=n?n:v_,0<=q_?(Gn(256),Qn(q_,a,t,xx)):X_&4194048&&(Gn(256),rr(L_,a,Z_)),d=r,s=G_,c=0<K_,l=B_===__,a=v_,r=V_,o=H_,u=U_,gg&&(yg=`Transition`,0<n?n>a&&(n=a):n=a,0<i?i>n&&(i=n):i=n,0<d?d>i&&(d=i):d=i,i>d&&s!==null&&(f=c?`secondary-light`:`warning`,r?r.run(console.timeStamp.bind(console,c?`Consecutive`:`Event: `+s,d,i,yg,vg,f)):console.timeStamp(c?`Consecutive`:`Event: `+s,d,i,yg,vg,f)),n>i&&(r?r.run(console.timeStamp.bind(console,`Action`,i,n,yg,vg,`primary-dark`)):console.timeStamp(`Action`,i,n,yg,vg,`primary-dark`)),a>n&&(i=l?`Promise Resolved`:5<a-n?`Update Blocked`:`Update`,d=[],u!=null&&d.push([`Component name`,u]),o!=null&&d.push([`Method name`,o]),n={start:n,end:a,detail:{devtools:{properties:d,track:yg,trackGroup:vg,color:`primary-light`}}},r?r.run(performance.measure.bind(performance,i,n)):performance.measure(i,n))),z_=R_=-1.1,B_=0,q_=-1.1,K_=W_,W_=-1.1,L_=m_()),t&62914560&&X_&62914560&&(Gn(4194304),rr(J_,v_,Z_)),t&2080374784&&X_&2080374784&&(Gn(268435456),rr(Y_,v_,Z_)),n=e.timeoutHandle,n!==QS&&(e.timeoutHandle=QS,ZS(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Ix=0,rl(),Ub=e,Q=n=_r(e.current,null),$=t,ex=Wb,tx=null,nx=!1,rx=ke(e,t),ix=!1,ox=Fb,dx=ux=lx=cx=sx=0,px=fx=null,mx=!1,t&8&&(t|=t&32),r=e.entangledLanes,r!==0)for(e=e.entanglements,r&=t;0<r;)i=31-Ap(r),a=1<<i,t|=e[i],r&=~a;return ax=t,ir(),e=ag(),1e3<e-rg&&(W.recentlyCreatedOwnerStacks=0,rg=e),cv.discardPendingWarnings(),n}function ol(e,t){X=null,W.H=Iy,W.getCurrentStack=null,dp=!1,up=null,t===Iv||t===Rv?(t=Ni(),ex=qb):t===Lv?(t=Ni(),ex=Jb):ex=t===ib?Qb:typeof t==`object`&&t&&typeof t.then==`function`?Xb:Gb,tx=t;var n=Q;n===null?(ox=Ib,$o(e,Tr(t,e.current))):n.mode&K&&_i(n)}function sl(){var e=sy.current;return e===null?!0:($&4194048)===$?cy===null:($&62914560)===$||$&536870912?e===cy:!1}function cl(){var e=W.H;return W.H=Iy,e===null?Iy:e}function ll(){var e=W.A;return W.A=Ob,e}function ul(e){xx===null&&(xx=e._debugTask==null?null:e._debugTask)}function dl(){ox=zb,nx||($&4194048)!==$&&sy.current!==null||(rx=!0),!(sx&134217727)&&!(cx&134217727)||Ub===null||tl(Ub,$,ux,!1)}function fl(e,t,n){var r=Hb;Hb|=Nb;var i=cl(),a=ll();if(Ub!==e||$!==t){if(kp){var o=e.memoizedUpdaters;0<o.size&&(Vl(e,$),o.clear()),Be(e,t)}bx=null,al(e,t)}t=!1,o=ox;a:do try{if(ex!==Wb&&Q!==null){var s=Q,c=tx;switch(ex){case Qb:rl(),o=Bb;break a;case qb:case Kb:case $b:case Xb:sy.current===null&&(t=!0);var l=ex;if(ex=Wb,tx=null,yl(e,s,c,l),n&&rx){o=Fb;break a}break;default:l=ex,ex=Wb,tx=null,yl(e,s,c,l)}}pl(),o=ox;break}catch(t){ol(e,t)}while(1);return t&&e.shellSuspendCounter++,Wr(),Hb=r,W.H=i,W.A=a,Q===null&&(Ub=null,$=0,ir()),o}function pl(){for(;Q!==null;)gl(Q)}function ml(e,t){var n=Hb;Hb|=Nb;var r=cl(),i=ll();if(Ub!==e||$!==t){if(kp){var a=e.memoizedUpdaters;0<a.size&&(Vl(e,$),a.clear()),Be(e,t)}bx=null,vx=_p()+yx,al(e,t)}else rx=ke(e,t);a:do try{if(ex!==Wb&&Q!==null)b:switch(t=Q,a=tx,ex){case Gb:ex=Wb,tx=null,yl(e,t,a,Gb);break;case Kb:case $b:if(Ai(a)){ex=Wb,tx=null,_l(t);break}t=function(){ex!==Kb&&ex!==$b||Ub!==e||(ex=Zb),Wl(e)},a.then(t,t);break a;case qb:ex=Zb;break a;case Jb:ex=Yb;break a;case Zb:Ai(a)?(ex=Wb,tx=null,_l(t)):(ex=Wb,tx=null,yl(e,t,a,Zb));break;case Yb:var o=null;switch(Q.tag){case 26:o=Q.memoizedState;case 5:case 27:var s=Q;if(o?Bd(o):s.stateNode.complete){ex=Wb,tx=null;var c=s.sibling;if(c!==null)Q=c;else{var l=s.return;l===null?Q=null:(Q=l,bl(l))}break b}break;default:console.error(`Unexpected type of fiber triggered a suspensey commit. This is a bug in React.`)}ex=Wb,tx=null,yl(e,t,a,Yb);break;case Xb:ex=Wb,tx=null,yl(e,t,a,Xb);break;case Qb:rl(),ox=Bb;break a;default:throw Error(`Unexpected SuspendedReason. This is a bug in React.`)}W.actQueue===null?hl():pl();break}catch(t){ol(e,t)}while(1);return Wr(),W.H=r,W.A=i,Hb=n,Q===null?(Ub=null,$=0,ir(),ox):Fb}function hl(){for(;Q!==null&&!hp();)gl(Q)}function gl(e){var t=e.alternate;(e.mode&K)===G?t=M(e,Ns,t,e,ax):(gi(e),t=M(e,Ns,t,e,ax),_i(e)),e.memoizedProps=e.pendingProps,t===null?bl(e):Q=t}function _l(e){var t=M(e,vl,e);e.memoizedProps=e.pendingProps,t===null?bl(e):Q=t}function vl(e){var t=e.alternate,n=(e.mode&K)!==G;switch(n&&gi(e),e.tag){case 15:case 0:t=_s(t,e,e.pendingProps,e.type,void 0,$);break;case 11:t=_s(t,e,e.pendingProps,e.type.render,e.ref,$);break;case 5:Sa(e);default:Hs(t,e),e=Q=vr(e,ax),t=Ns(t,e,ax)}return n&&_i(e),t}function yl(e,t,n,r){Wr(),Sa(t),Hv=null,Uv=0;var i=t.return;try{if(is(e,i,t,n,$)){ox=Ib,$o(e,Tr(n,e.current)),Q=null;return}}catch(t){if(i!==null)throw Q=i,t;ox=Ib,$o(e,Tr(n,e.current)),Q=null;return}t.flags&32768?(Qg||r===Gb?e=!0:rx||$&536870912?e=!1:(nx=e=!0,(r===Kb||r===$b||r===qb||r===Xb)&&(r=sy.current,r!==null&&r.tag===13&&(r.flags|=16384))),xl(t,e)):bl(t)}function bl(e){var t=e;do{if(t.flags&32768){xl(t,nx);return}var n=t.alternate;if(e=t.return,gi(t),n=M(t,Bs,n,t,ax),(t.mode&K)!==G&&vi(t),n!==null){Q=n;return}if(t=t.sibling,t!==null){Q=t;return}Q=t=e}while(t!==null);ox===Fb&&(ox=Vb)}function xl(e,t){do{var n=Vs(e.alternate,e);if(n!==null){n.flags&=32767,Q=n;return}if((e.mode&K)!==G){vi(e),n=e.actualDuration;for(var r=e.child;r!==null;)n+=r.actualDuration,r=r.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Q=e;return}Q=e=n}while(e!==null);ox=Bb,Q=null}function Sl(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.cancelPendingCommit=null;do Ol();while(Nx!==Dx);if(cv.flushLegacyContextWarning(),cv.flushPendingUnsafeLifecycleWarnings(),(Hb&(Nb|Pb))!==Mb)throw Error(`Should not already be working.`);if(Gn(n),l===Lb?er(f,p,n,xx):r===null?Xn(f,p,n,xx):$n(f,p,n,r,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!=0,xx),t!==null){if(n===0&&console.error(`finishedLanes should not be empty during a commit. This is a bug in React.`),t===e.current)throw Error(`Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.`);if(a=t.lanes|t.childLanes,a|=Ag,Pe(e,n,a,o,s,c),e===Ub&&(Q=Ub=null,$=0),Fx=t,Px=e,Ix=n,Lx=a,zx=i,Bx=r,Rx=p,Vx=d,Hx=Cx,Ux=null,t.actualDuration!==0||t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,Hl(xp,function(){return YS=window.event,Hx===Cx&&(Hx=Tx),kl(),null})):(e.callbackNode=null,e.callbackPriority=0),x_=null,y_=m_(),d!==null&&tr(p,y_,d,xx),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=W.T,W.T=null,i=Uf.p,Uf.p=Ip,o=Hb,Hb|=Pb;try{mc(e,t,n)}finally{Hb=o,Uf.p=i,W.T=r}}Nx=Ox,Cl(),wl(),Tl()}}function Cl(){if(Nx===Ox){Nx=Dx;var e=Px,t=Fx,n=Ix,r=(t.flags&13878)!=0;if(t.subtreeFlags&13878||r){r=W.T,W.T=null;var i=Uf.p;Uf.p=Ip;var a=Hb;Hb|=Pb;try{xb=n,Sb=e,li(),wc(t,e),Sb=xb=null,n=KS;var o=N(e.containerInfo),s=n.focusedElem,c=n.selectionRange;if(o!==s&&s&&s.ownerDocument&&Fn(s.ownerDocument.documentElement,s)){if(c!==null&&In(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Pn(s,h),v=Pn(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}IC=!!GS,KS=GS=null}finally{Hb=a,Uf.p=i,W.T=r}}e.current=t,Nx=kx}}function wl(){if(Nx===kx){Nx=Dx;var e=Ux;if(e!==null){y_=m_();var t=b_,n=y_;!gg||n<=t||(Z_?Z_.run(console.timeStamp.bind(console,e,t,n,yg,vg,`secondary-light`)):console.timeStamp(e,t,n,yg,vg,`secondary-light`))}e=Px,t=Fx,n=Ix;var r=(t.flags&8772)!=0;if(t.subtreeFlags&8772||r){r=W.T,W.T=null;var i=Uf.p;Uf.p=Ip;var a=Hb;Hb|=Pb;try{xb=n,Sb=e,li(),hc(e,t.alternate,t),Sb=xb=null}finally{Hb=a,Uf.p=i,W.T=r}}e=Rx,t=Vx,b_=m_(),e=t===null?e:y_,t=b_,n=Hx===wx,r=xx,x_===null?!gg||t<=e||(r?r.run(console.timeStamp.bind(console,n?`Commit Interrupted View Transition`:`Commit`,e,t,yg,vg,n?`error`:`secondary-dark`)):console.timeStamp(n?`Commit Interrupted View Transition`:`Commit`,e,t,yg,vg,n?`error`:`secondary-dark`)):nr(e,t,x_,!1,r),Nx=Ax}}function Tl(){if(Nx===jx||Nx===Ax){if(Nx===jx){var e=b_;b_=m_();var t=b_,n=Hx===wx;!gg||t<=e||(Z_?Z_.run(console.timeStamp.bind(console,n?`Interrupted View Transition`:`Starting Animation`,e,t,yg,vg,n?`error`:`secondary-light`)):console.timeStamp(n?`Interrupted View Transition`:`Starting Animation`,e,t,yg,vg,n?` error`:`secondary-light`)),Hx!==wx&&(Hx=Ex)}Nx=Dx,gp(),e=Px;var r=Fx;t=Ix,n=Bx;var i=r.actualDuration!==0||(r.subtreeFlags&10256)!=0||(r.flags&10256)!=0;i?Nx=Mx:(Nx=Dx,Fx=Px=null,Dl(e,e.pendingLanes),Xx=0,Zx=null);var a=e.pendingLanes;if(a===0&&(Sx=null),i||zl(e),a=Ve(t),r=r.stateNode,Dp&&typeof Dp.onCommitFiberRoot==`function`)try{var o=(r.current.flags&128)==128;switch(a){case Ip:var s=yp;break;case Lp:s=bp;break;case Rp:s=xp;break;case zp:s=Cp;break;default:s=xp}Dp.onCommitFiberRoot(Ep,r,s,o)}catch(e){Op||(Op=!0,console.error(`React instrumentation encountered an error: %o`,e))}if(kp&&e.memoizedUpdaters.clear(),qc(),n!==null){o=W.T,s=Uf.p,Uf.p=Ip,W.T=null;try{var c=e.onRecoverableError;for(r=0;r<n.length;r++){var l=n[r],u=El(l.stack);M(l.source,c,l.value,u)}}finally{W.T=o,Uf.p=s}}Ix&3&&Ol(),Wl(e),a=e.pendingLanes,t&261930&&a&42?(tv=!0,e===Kx?Gx++:(Gx=0,Kx=e)):Gx=0,i||il(t,b_),B(0,!1)}}function El(e){return e={componentStack:e},Object.defineProperty(e,`digest`,{get:function(){console.error(`You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.`)}}),e}function Dl(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ri(t)))}function Ol(){return Cl(),wl(),Tl(),kl()}function kl(){if(Nx!==Mx)return!1;var e=Px,t=Lx;Lx=0;var n=Ve(Ix),r=Rp===0||Rp>n?Rp:n;n=W.T;var i=Uf.p;try{Uf.p=r,W.T=null;var a=zx;zx=null,r=Px;var o=Ix;if(Nx=Dx,Fx=Px=null,Ix=0,(Hb&(Nb|Pb))!==Mb)throw Error(`Cannot flush passive effects while already rendering.`);Gn(o),qx=!0,Jx=!1;var s=0;if(x_=null,s=_p(),Hx===Ex)rr(b_,s,Z_);else{var c=b_,l=s,u=Hx===Tx;!gg||l<=c||(xx?xx.run(console.timeStamp.bind(console,u?`Waiting for Paint`:`Waiting`,c,l,yg,vg,`secondary-light`)):console.timeStamp(u?`Waiting for Paint`:`Waiting`,c,l,yg,vg,`secondary-light`))}c=Hb,Hb|=Pb;var d=r.current;li(),Uc(d);var f=r.current;d=Rx,li(),Fc(r,f,o,a,d),zl(r),Hb=c;var p=_p();if(f=s,d=xx,x_===null?!gg||p<=f||(d?d.run(console.timeStamp.bind(console,`Remaining Effects`,f,p,yg,vg,`secondary-dark`)):console.timeStamp(`Remaining Effects`,f,p,yg,vg,`secondary-dark`)):nr(f,p,x_,!0,d),il(o,p),B(0,!1),Jx?r===Zx?Xx++:(Xx=0,Zx=r):Xx=0,Jx=qx=!1,Dp&&typeof Dp.onPostCommitFiberRoot==`function`)try{Dp.onPostCommitFiberRoot(Ep,r)}catch(e){Op||(Op=!0,console.error(`React instrumentation encountered an error: %o`,e))}var m=r.current.stateNode;return m.effectDuration=0,m.passiveEffectDuration=0,!0}finally{Uf.p=i,W.T=n,Dl(e,t)}}function Al(e,t,n){t=Tr(n,t),bi(t),t=ts(e.stateNode,t,2),e=Xi(e,t,2),e!==null&&(Ne(e,2),Wl(e))}function jl(e,t,n){if(Qx=!1,e.tag===3)Al(e,e,n);else{for(;t!==null;){if(t.tag===3){Al(t,e,n);return}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(Sx===null||!Sx.has(r))){e=Tr(n,e),bi(e),n=ns(2),r=Xi(t,n,2),r!==null&&(rs(n,r,t,e),Ne(r,2),Wl(r));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
151
155
 
152
156
  Error message:
153
157
 
154
- %s`,a)}}function eh(e,t,a){var i=e.pingCache;if(i===null){i=e.pingCache=new vA;var o=new Set;i.set(t,o)}else o=i.get(t),o===void 0&&(o=new Set,i.set(t,o));o.has(a)||(eb=!0,o.add(a),i=za.bind(null,e,t,a),Cu&&ns(e,a),t.then(i,i))}function za(e,t,a){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,(a&127)!==0?0>nc&&(br=nc=Bl(),H0=lv("Promise Resolved"),Hs=av):(a&4194048)!==0&&0>Bu&&(so=Bu=Bl(),q0=lv("Promise Resolved"),H1=av),By()&&V.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
158
+ %s`,n)}}function Ml(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new jb;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(ix=!0,i.add(n),r=Nl.bind(null,e,t,n),kp&&Vl(e,n),t.then(r,r))}function Nl(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,n&127?0>O_&&(D_=O_=m_(),k_=h_(`Promise Resolved`),A_=__):n&4194048&&0>z_&&(L_=z_=m_(),V_=h_(`Promise Resolved`),B_=__),Jc()&&W.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
155
159
 
156
160
  When testing, code that resolves suspended data should be wrapped into act(...):
157
161
 
@@ -160,7 +164,7 @@ act(() => {
160
164
  });
161
165
  /* assert on the output */
162
166
 
163
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Vt===e&&(tt&a)===a&&(il===Gs||il===vv&&(tt&62914560)===tt&&Ul()-Ev<K2?(yt&$l)===la&&bu(e,0):tb|=a,jr===tt&&(jr=0)),Oa(e)}function Ly(e,t){t===0&&(t=Qr()),e=Fl(e,t),e!==null&&(bi(e,t),Oa(e))}function ii(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Ly(e,a)}function Zc(e,t){var a=0;switch(e.tag){case 31:case 13:var i=e.stateNode,o=e.memoizedState;o!==null&&(a=o.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),Ly(e,a)}function Gn(e,t,a){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var i=e,o=t,s=o.type===ba;s=a||s,o.tag!==22?o.flags&67108864?s&&ee(o,th,i,o):Gn(i,o,s):o.memoizedState===null&&(s&&o.flags&8192?ee(o,th,i,o):o.subtreeFlags&67108864&&ee(o,Gn,i,o,s)),t=t.sibling}}function th(e,t){Bt(!0);try{Kd(t),Uy(t),jy(e,t.alternate,t,!1),Lf(e,t,0,null,!1,0)}finally{Bt(!1)}}function lh(e){var t=!0;e.current.mode&(ja|hi)||(t=!1),Gn(e,e.current,t)}function mn(e){if((yt&$l)===la){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=ce(e)||"ReactComponent",Cv!==null){if(Cv.has(t))return;Cv.add(t)}else Cv=new Set([t]);ee(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function ns(e,t){Cu&&e.memoizedUpdaters.forEach(function(a){xa(e,a,t)})}function us(e,t){var a=V.actQueue;return a!==null?(a.push(t),TA):v0(e,t)}function $f(e){By()&&V.actQueue===null&&ee(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
167
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Ub===e&&($&n)===n&&(ox===zb||ox===Rb&&($&62914560)===$&&_p()-hx<_x?(Hb&Nb)===Mb&&al(e,0):lx|=n,dx===$&&(dx=0)),Wl(e)}function Pl(e,t){t===0&&(t=je()),e=sr(e,t),e!==null&&(Ne(e,t),Wl(e))}function Fl(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Pl(e,n)}function Il(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(`Pinged unknown suspense boundary type. This is probably a bug in React.`)}r!==null&&r.delete(t),Pl(e,n)}function Ll(e,t,n){if(t.subtreeFlags&67117056)for(t=t.child;t!==null;){var r=e,i=t,a=i.type===kf;a=n||a,i.tag===22?i.memoizedState===null&&(a&&i.flags&8192?M(i,Rl,r,i):i.subtreeFlags&67108864&&M(i,Ll,r,i,a)):i.flags&67108864?a&&M(i,Rl,r,i):Ll(r,i,a),t=t.sibling}}function Rl(e,t){Te(!0);try{Oc(t),Gc(t),Ac(e,t.alternate,t,!1),Lc(e,t,0,null,!1,0)}finally{Te(!1)}}function zl(e){var t=!0;e.current.mode&(Fg|Ig)||(t=!1),Ll(e,e.current,t)}function Bl(e){if((Hb&Nb)===Mb){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=w(e)||`ReactComponent`,$x!==null){if($x.has(t))return;$x.add(t)}else $x=new Set([t]);M(e,function(){console.error(`Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.`)})}}}function Vl(e,t){kp&&e.memoizedUpdaters.forEach(function(n){ze(e,n,t)})}function Hl(e,t){var n=W.actQueue;return n===null?pp(e,t):(n.push(t),nS)}function Ul(e){Jc()&&W.actQueue===null&&M(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
164
168
 
165
169
  When testing, code that causes React state updates should be wrapped into act(...):
166
170
 
@@ -169,66 +173,66 @@ act(() => {
169
173
  });
170
174
  /* assert on the output */
171
175
 
172
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,ce(e))})}function Oa(e){e!==cm&&e.next===null&&(cm===null?Mv=cm=e:cm=cm.next=e),_v=!0,V.actQueue!==null?fb||(fb=!0,sg()):sb||(sb=!0,sg())}function Tu(e,t){if(!rb&&_v){rb=!0;do for(var a=!1,i=Mv;i!==null;){if(e!==0){var o=i.pendingLanes;if(o===0)var s=0;else{var d=i.suspendedLanes,h=i.pingedLanes;s=(1<<31-Zl(42|e)+1)-1,s&=o&~(d&~h),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(a=!0,Ff(i,s))}else s=tt,s=Xr(i,i===Vt?s:0,i.cancelPendingCommit!==null||i.timeoutHandle!==Br),(s&3)===0||Xl(i,s)||(a=!0,Ff(i,s));i=i.next}while(a);rb=!1}}function og(){fp=window.event,ah()}function ah(){_v=fb=sb=!1;var e=0;Js!==0&&$y()&&(e=Js);for(var t=Ul(),a=null,i=Mv;i!==null;){var o=i.next,s=is(i,t);s===0?(i.next=null,a===null?Mv=o:a.next=o,o===null&&(cm=a)):(a=i,(e!==0||(s&3)!==0)&&(_v=!0)),i=o}Vl!==Ls&&Vl!==Ov||Tu(e),Js!==0&&(Js=0)}function is(e,t){for(var a=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes&-62914561;0<s;){var d=31-Zl(s),h=1<<d,p=o[d];p===-1?((h&a)===0||(h&i)!==0)&&(o[d]=kv(h,t)):p<=t&&(e.expiredLanes|=h),s&=~h}if(t=Vt,a=tt,a=Xr(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Br),i=e.callbackNode,a===0||e===t&&(Rt===Mr||Rt===_r)||e.cancelPendingCommit!==null)return i!==null&&nh(i),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Xl(e,a)){if(t=a&-a,t!==e.callbackPriority||V.actQueue!==null&&i!==db)nh(i);else return t;switch(na(a)){case Al:case Jl:a=Mh;break;case Pl:a=eo;break;case tc:a=_h;break;default:a=eo}return i=Zy.bind(null,e),V.actQueue!==null?(V.actQueue.push(i),a=db):a=v0(a,i),e.callbackPriority=t,e.callbackNode=a,t}return i!==null&&nh(i),e.callbackPriority=2,e.callbackNode=null,2}function Zy(e,t){if(ov=cv=!1,fp=window.event,Vl!==Ls&&Vl!==Ov)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(vi===zv&&(vi=ab),Jf()&&e.callbackNode!==a)return null;var i=tt;return i=Xr(e,e===Vt?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Br),i===0?null:(ng(e,i,t),is(e,Ul()),e.callbackNode!=null&&e.callbackNode===a?Zy.bind(null,e):null)}function Ff(e,t){if(Jf())return null;cv=ov,ov=!1,ng(e,t,!0)}function nh(e){e!==db&&e!==null&&Oh(e)}function sg(){V.actQueue!==null&&V.actQueue.push(function(){return ah(),null}),jA(function(){(yt&($l|kn))!==la?v0(b0,og):ah()})}function Jy(){if(Js===0){var e=xr;e===0&&(e=As,As<<=1,(As&261888)===0&&(As=256)),Js=e}return Js}function pt(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Dt(e,"action"),af(""+e))}function _t(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function ot(e,t,a,i,o){if(t==="submit"&&a&&a.stateNode===o){var s=pt((o[Sa]||null).action),d=i.submitter;d&&(t=(t=d[Sa]||null)?pt(t.formAction):d.getAttribute("formAction"),t!==null&&(s=t,d=null));var h=new Fg("action","action",null,i,o);e.push({event:h,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Js!==0){var p=d?_t(o,d):new FormData(o),g={pending:!0,data:p,method:o.method,action:s};Object.freeze(g),li(a,g,null,p)}}else typeof s=="function"&&(h.preventDefault(),p=d?_t(o,d):new FormData(o),g={pending:!0,data:p,method:o.method,action:s},Object.freeze(g),li(a,g,s,p))},currentTarget:o}]})}}function at(e,t,a){e.currentTarget=a;try{t(e)}catch(i){A1(i)}e.currentTarget=null}function At(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var i=e[a];e:{var o=void 0,s=i.event;if(i=i.listeners,t)for(var d=i.length-1;0<=d;d--){var h=i[d],p=h.instance,g=h.currentTarget;if(h=h.listener,p!==o&&s.isPropagationStopped())break e;p!==null?ee(p,at,s,h,g):at(s,h,g),o=p}else for(d=0;d<i.length;d++){if(h=i[d],p=h.instance,g=h.currentTarget,h=h.listener,p!==o&&s.isPropagationStopped())break e;p!==null?ee(p,at,s,h,g):at(s,h,g),o=p}}}}function Be(e,t){hb.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=t[lo];a===void 0&&(a=t[lo]=new Set);var i=e+"__bubble";a.has(i)||(uh(t,e,2,!1),a.add(i))}function xu(e,t,a){hb.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var i=0;t&&(i|=4),uh(a,e,i,t)}function $i(e){if(!e[jv]){e[jv]=!0,Lg.forEach(function(a){a!=="selectionchange"&&(hb.has(a)||xu(a,!1,e),xu(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[jv]||(t[jv]=!0,xu("selectionchange",!1,t))}}function uh(e,t,a,i){switch(bh(t)){case Al:var o=c0;break;case Jl:o=Ll;break;default:o=o0}a=o.bind(null,t,a,e),o=void 0,!m1||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),i?o!==void 0?e.addEventListener(t,a,{capture:!0,passive:o}):e.addEventListener(t,a,!0):o!==void 0?e.addEventListener(t,a,{passive:o}):e.addEventListener(t,a,!1)}function wn(e,t,a,i,o){var s=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var d=i.tag;if(d===3||d===4){var h=i.stateNode.containerInfo;if(h===o)break;if(d===4)for(d=i.return;d!==null;){var p=d.tag;if((p===3||p===4)&&d.stateNode.containerInfo===o)return;d=d.return}for(;h!==null;){if(d=Qu(h),d===null)return;if(p=d.tag,p===5||p===6||p===26||p===27){i=s=d;continue e}h=h.parentNode}}i=i.return}ld(function(){var g=s,O=An(a),_=[];e:{var x=YS.get(e);if(x!==void 0){var G=Fg,oe=e;switch(e){case"keypress":if(nf(a)===0)break e;case"keydown":case"keyup":G=BE;break;case"focusin":oe="focus",G=v1;break;case"focusout":oe="blur",G=v1;break;case"beforeblur":case"afterblur":G=v1;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":G=AS;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":G=AE;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":G=GE;break;case US:case HS:case BS:G=DE;break;case qS:G=VE;break;case"scroll":case"scrollend":G=xE;break;case"wheel":G=QE;break;case"copy":case"cut":case"paste":G=ME;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":G=OS;break;case"toggle":case"beforetoggle":G=ZE}var he=(t&4)!==0,Lt=!he&&(e==="scroll"||e==="scrollend"),dt=he?x!==null?x+"Capture":null:x;he=[];for(var T=g,E;T!==null;){var z=T;if(E=z.stateNode,z=z.tag,z!==5&&z!==26&&z!==27||E===null||dt===null||(z=lu(T,dt),z!=null&&he.push(Gt(T,z,E))),Lt)break;T=T.return}0<he.length&&(x=new G(x,oe,null,a,O),_.push({event:x,listeners:he}))}}if((t&7)===0){e:{if(x=e==="mouseover"||e==="pointerover",G=e==="mouseout"||e==="pointerout",x&&a!==A0&&(oe=a.relatedTarget||a.fromElement)&&(Qu(oe)||oe[di]))break e;if((G||x)&&(x=O.window===O?O:(x=O.ownerDocument)?x.defaultView||x.parentWindow:window,G?(oe=a.relatedTarget||a.toElement,G=g,oe=oe?Qu(oe):null,oe!==null&&(Lt=xe(oe),he=oe.tag,oe!==Lt||he!==5&&he!==27&&he!==6)&&(oe=null)):(G=null,oe=g),G!==oe)){if(he=AS,z="onMouseLeave",dt="onMouseEnter",T="mouse",(e==="pointerout"||e==="pointerover")&&(he=OS,z="onPointerLeave",dt="onPointerEnter",T="pointer"),Lt=G==null?x:Si(G),E=oe==null?x:Si(oe),x=new he(z,T+"leave",G,a,O),x.target=Lt,x.relatedTarget=E,z=null,Qu(O)===g&&(he=new he(dt,T+"enter",oe,a,O),he.target=E,he.relatedTarget=Lt,z=he),Lt=z,G&&oe)t:{for(he=Jc,dt=G,T=oe,E=0,z=dt;z;z=he(z))E++;z=0;for(var F=T;F;F=he(F))z++;for(;0<E-z;)dt=he(dt),E--;for(;0<z-E;)T=he(T),z--;for(;E--;){if(dt===T||T!==null&&dt===T.alternate){he=dt;break t}dt=he(dt),T=he(T)}he=null}else he=null;G!==null&&ih(_,x,G,he,!1),oe!==null&&Lt!==null&&ih(_,Lt,oe,he,!0)}}e:{if(x=g?Si(g):window,G=x.nodeName&&x.nodeName.toLowerCase(),G==="select"||G==="input"&&x.type==="file")var fe=Ai;else if(jm(x))if(NS)fe=sf;else{fe=Nm;var Xe=e1}else G=x.nodeName,!G||G.toLowerCase()!=="input"||x.type!=="checkbox"&&x.type!=="radio"?g&&tu(g.elementType)&&(fe=Ai):fe=Rm;if(fe&&(fe=fe(e,g))){cf(_,fe,a,O);break e}Xe&&Xe(e,x,g),e==="focusout"&&g&&x.type==="number"&&g.memoizedProps.value!=null&&xm(x,"number",x.value)}switch(Xe=g?Si(g):window,e){case"focusin":(jm(Xe)||Xe.contentEditable==="true")&&(Yh=Xe,S1=g,j0=null);break;case"focusout":j0=S1=Yh=null;break;case"mousedown":T1=!0;break;case"contextmenu":case"mouseup":case"dragend":T1=!1,jp(_,a,O);break;case"selectionchange":if(FE)break;case"keydown":case"keyup":jp(_,a,O)}var _e;if(b1)e:{switch(e){case"compositionstart":var ze="onCompositionStart";break e;case"compositionend":ze="onCompositionEnd";break e;case"compositionupdate":ze="onCompositionUpdate";break e}ze=void 0}else qh?Co(e,a)&&(ze="onCompositionEnd"):e==="keydown"&&a.keyCode===DS&&(ze="onCompositionStart");ze&&(CS&&a.locale!=="ko"&&(qh||ze!=="onCompositionStart"?ze==="onCompositionEnd"&&qh&&(_e=pc()):(Ms=O,y1="value"in Ms?Ms.value:Ms.textContent,qh=!0)),Xe=Vn(g,ze),0<Xe.length&&(ze=new zS(ze,e,null,a,O),_.push({event:ze,listeners:Xe}),_e?ze.data=_e:(_e=Ju(a),_e!==null&&(ze.data=_e)))),(_e=KE?_m(e,a):ad(e,a))&&(ze=Vn(g,"onBeforeInput"),0<ze.length&&(Xe=new jE("onBeforeInput","beforeinput",null,a,O),_.push({event:Xe,listeners:ze}),Xe.data=_e)),ot(_,e,g,a,O)}At(_,t)})}function Gt(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Vn(e,t){for(var a=t+"Capture",i=[];e!==null;){var o=e,s=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||s===null||(o=lu(e,a),o!=null&&i.unshift(Gt(e,o,s)),o=lu(e,t),o!=null&&i.push(Gt(e,o,s))),e.tag===3)return i;e=e.return}return[]}function Jc(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function ih(e,t,a,i,o){for(var s=t._reactName,d=[];a!==null&&a!==i;){var h=a,p=h.alternate,g=h.stateNode;if(h=h.tag,p!==null&&p===i)break;h!==5&&h!==26&&h!==27||g===null||(p=g,o?(g=lu(a,s),g!=null&&d.unshift(Gt(a,g,p))):o||(g=lu(a,s),g!=null&&d.push(Gt(a,g,p)))),a=a.return}d.length!==0&&e.push({event:t,listeners:d})}function ga(e,t){Op(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||xS||(xS=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var a={registrationNameDependencies:Mu,possibleRegistrationNames:Ds};tu(e)||typeof t.is=="string"||Pv(e,t,a),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Pt(e,t,a,i){t!==a&&(a=Xn(a),Xn(t)!==a&&(i[e]=t))}function kf(e,t,a){t.forEach(function(i){a[ci(i)]=i==="style"?Fi(e):e.getAttribute(i)})}function el(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function ch(e,t){return e=e.namespaceURI===Le||e.namespaceURI===Fe?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Xn(e){return Ot(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Ht(e)),cc(e)),(typeof e=="string"?e:""+e).replace(xA,`
173
- `).replace(EA,"")}function Ky(e,t){return t=Xn(t),Xn(e)===t}function bt(e,t,a,i,o,s){switch(a){case"children":typeof i=="string"?(lf(i,t,!1),t==="body"||t==="textarea"&&i===""||yc(e,i)):(typeof i=="number"||typeof i=="bigint")&&(lf(""+i,t,!1),t!=="body"&&yc(e,""+i));break;case"className":Ps(e,"class",i);break;case"tabIndex":Ps(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Ps(e,a,i);break;case"style":Dm(e,i,s);break;case"data":if(t!=="object"){Ps(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||a!=="href")){console.error(a==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',a,a),e.removeAttribute(a);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}Dt(i,a),i=af(""+i),e.setAttribute(a,i);break;case"action":case"formAction":if(i!=null&&(t==="form"?a==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof i=="function"&&(o.encType==null&&o.method==null||Uv||(Uv=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),o.target==null||Rv||(Rv=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?a==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||o.type==="submit"||o.type==="image"||Nv?t!=="button"||o.type==null||o.type==="submit"||Nv?typeof i=="function"&&(o.name==null||cT||(cT=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),o.formEncType==null&&o.formMethod==null||Uv||(Uv=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),o.formTarget==null||Rv||(Rv=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(Nv=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Nv=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(a==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof i=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof s=="function"&&(a==="formAction"?(t!=="input"&&bt(e,t,"name",o.name,o,null),bt(e,t,"formEncType",o.formEncType,o,null),bt(e,t,"formMethod",o.formMethod,o,null),bt(e,t,"formTarget",o.formTarget,o,null)):(bt(e,t,"encType",o.encType,o,null),bt(e,t,"method",o.method,o,null),bt(e,t,"target",o.target,o,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}Dt(i,a),i=af(""+i),e.setAttribute(a,i);break;case"onClick":i!=null&&(typeof i!="function"&&el(a,i),e.onclick=an);break;case"onScroll":i!=null&&(typeof i!="function"&&el(a,i),Be("scroll",e));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&el(a,i),Be("scrollend",e));break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=i.__html,a!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}Dt(i,a),a=af(""+i),e.setAttributeNS(Rr,"xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?(Dt(i,a),e.setAttribute(a,""+i)):e.removeAttribute(a);break;case"inert":i!==""||Hv[a]||(Hv[a]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",a));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":i===!0?e.setAttribute(a,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?(Dt(i,a),e.setAttribute(a,i)):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?(Dt(i,a),e.setAttribute(a,i)):e.removeAttribute(a);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(a):(Dt(i,a),e.setAttribute(a,i));break;case"popover":Be("beforetoggle",e),Be("toggle",e),Zr(e,"popover",i);break;case"xlinkActuate":In(e,Rr,"xlink:actuate",i);break;case"xlinkArcrole":In(e,Rr,"xlink:arcrole",i);break;case"xlinkRole":In(e,Rr,"xlink:role",i);break;case"xlinkShow":In(e,Rr,"xlink:show",i);break;case"xlinkTitle":In(e,Rr,"xlink:title",i);break;case"xlinkType":In(e,Rr,"xlink:type",i);break;case"xmlBase":In(e,mb,"xml:base",i);break;case"xmlLang":In(e,mb,"xml:lang",i);break;case"xmlSpace":In(e,mb,"xml:space",i);break;case"is":s!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Zr(e,"is",i);break;case"innerText":case"textContent":break;case"popoverTarget":oT||i==null||typeof i!="object"||(oT=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",i));default:!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N"?(a=Ap(a),Zr(e,a,i)):Mu.hasOwnProperty(a)&&i!=null&&typeof i!="function"&&el(a,i)}}function cs(e,t,a,i,o,s){switch(a){case"style":Dm(e,i,s);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=i.__html,a!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"children":typeof i=="string"?yc(e,i):(typeof i=="number"||typeof i=="bigint")&&yc(e,""+i);break;case"onScroll":i!=null&&(typeof i!="function"&&el(a,i),Be("scroll",e));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&el(a,i),Be("scrollend",e));break;case"onClick":i!=null&&(typeof i!="function"&&el(a,i),e.onclick=an);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Mu.hasOwnProperty(a))i!=null&&typeof i!="function"&&el(a,i);else e:{if(a[0]==="o"&&a[1]==="n"&&(o=a.endsWith("Capture"),t=a.slice(2,o?a.length-7:void 0),s=e[Sa]||null,s=s!=null?s[a]:null,typeof s=="function"&&e.removeEventListener(t,s,o),typeof i=="function")){typeof s!="function"&&s!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,i,o);break e}a in e?e[a]=i:i===!0?e.setAttribute(a,""):Zr(e,a,i)}}}function Kt(e,t,a){switch(ga(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Be("error",e),Be("load",e);var i=!1,o=!1,s;for(s in a)if(a.hasOwnProperty(s)){var d=a[s];if(d!=null)switch(s){case"src":i=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:bt(e,t,s,d,a,null)}}o&&bt(e,t,"srcSet",a.srcSet,a,null),i&&bt(e,t,"src",a.src,a,null);return;case"input":fc("input",a),Be("invalid",e);var h=s=d=o=null,p=null,g=null;for(i in a)if(a.hasOwnProperty(i)){var O=a[i];if(O!=null)switch(i){case"name":o=O;break;case"type":d=O;break;case"checked":p=O;break;case"defaultChecked":g=O;break;case"value":s=O;break;case"defaultValue":h=O;break;case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:bt(e,t,i,O,a,null)}}ua(e,a),$r(e,s,h,p,g,d,o,!1);return;case"select":fc("select",a),Be("invalid",e),i=d=s=null;for(o in a)if(a.hasOwnProperty(o)&&(h=a[o],h!=null))switch(o){case"value":s=h;break;case"defaultValue":d=h;break;case"multiple":i=h;default:bt(e,t,o,h,a,null)}Fr(e,a),t=s,a=d,e.multiple=!!i,t!=null?Pn(e,!!i,t,!1):a!=null&&Pn(e,!!i,a,!0);return;case"textarea":fc("textarea",a),Be("invalid",e),s=o=i=null;for(d in a)if(a.hasOwnProperty(d)&&(h=a[d],h!=null))switch(d){case"value":i=h;break;case"defaultValue":o=h;break;case"children":s=h;break;case"dangerouslySetInnerHTML":if(h!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:bt(e,t,d,h,a,null)}rc(e,a),xo(e,i,o,s);return;case"option":Ep(e,a);for(p in a)a.hasOwnProperty(p)&&(i=a[p],i!=null)&&(p==="selected"?e.selected=i&&typeof i!="function"&&typeof i!="symbol":bt(e,t,p,i,a,null));return;case"dialog":Be("beforetoggle",e),Be("toggle",e),Be("cancel",e),Be("close",e);break;case"iframe":case"object":Be("load",e);break;case"video":case"audio":for(i=0;i<cp.length;i++)Be(cp[i],e);break;case"image":Be("error",e),Be("load",e);break;case"details":Be("toggle",e);break;case"embed":case"source":case"link":Be("error",e),Be("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(g in a)if(a.hasOwnProperty(g)&&(i=a[g],i!=null))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:bt(e,t,g,i,a,null)}return;default:if(tu(t)){for(O in a)a.hasOwnProperty(O)&&(i=a[O],i!==void 0&&cs(e,t,O,i,a,void 0));return}}for(h in a)a.hasOwnProperty(h)&&(i=a[h],i!=null&&bt(e,t,h,i,a,null))}function xl(e,t,a,i){switch(ga(t,i),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,s=null,d=null,h=null,p=null,g=null,O=null;for(G in a){var _=a[G];if(a.hasOwnProperty(G)&&_!=null)switch(G){case"checked":break;case"value":break;case"defaultValue":p=_;default:i.hasOwnProperty(G)||bt(e,t,G,null,i,_)}}for(var x in i){var G=i[x];if(_=a[x],i.hasOwnProperty(x)&&(G!=null||_!=null))switch(x){case"type":s=G;break;case"name":o=G;break;case"checked":g=G;break;case"defaultChecked":O=G;break;case"value":d=G;break;case"defaultValue":h=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:G!==_&&bt(e,t,x,G,i,_)}}t=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,i=i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null,t||!i||iT||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),iT=!0),!t||i||uT||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),uT=!0),Ti(e,d,h,p,g,O,s,o);return;case"select":G=d=h=x=null;for(s in a)if(p=a[s],a.hasOwnProperty(s)&&p!=null)switch(s){case"value":break;case"multiple":G=p;default:i.hasOwnProperty(s)||bt(e,t,s,null,i,p)}for(o in i)if(s=i[o],p=a[o],i.hasOwnProperty(o)&&(s!=null||p!=null))switch(o){case"value":x=s;break;case"defaultValue":h=s;break;case"multiple":d=s;default:s!==p&&bt(e,t,o,s,i,p)}i=h,t=d,a=G,x!=null?Pn(e,!!t,x,!1):!!a!=!!t&&(i!=null?Pn(e,!!t,i,!0):Pn(e,!!t,t?[]:"",!1));return;case"textarea":G=x=null;for(h in a)if(o=a[h],a.hasOwnProperty(h)&&o!=null&&!i.hasOwnProperty(h))switch(h){case"value":break;case"children":break;default:bt(e,t,h,null,i,o)}for(d in i)if(o=i[d],s=a[d],i.hasOwnProperty(d)&&(o!=null||s!=null))switch(d){case"value":x=o;break;case"defaultValue":G=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:o!==s&&bt(e,t,d,o,i,s)}dc(e,x,G);return;case"option":for(var oe in a)x=a[oe],a.hasOwnProperty(oe)&&x!=null&&!i.hasOwnProperty(oe)&&(oe==="selected"?e.selected=!1:bt(e,t,oe,null,i,x));for(p in i)x=i[p],G=a[p],i.hasOwnProperty(p)&&x!==G&&(x!=null||G!=null)&&(p==="selected"?e.selected=x&&typeof x!="function"&&typeof x!="symbol":bt(e,t,p,x,i,G));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var he in a)x=a[he],a.hasOwnProperty(he)&&x!=null&&!i.hasOwnProperty(he)&&bt(e,t,he,null,i,x);for(g in i)if(x=i[g],G=a[g],i.hasOwnProperty(g)&&x!==G&&(x!=null||G!=null))switch(g){case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:bt(e,t,g,x,i,G)}return;default:if(tu(t)){for(var Lt in a)x=a[Lt],a.hasOwnProperty(Lt)&&x!==void 0&&!i.hasOwnProperty(Lt)&&cs(e,t,Lt,void 0,i,x);for(O in i)x=i[O],G=a[O],!i.hasOwnProperty(O)||x===G||x===void 0&&G===void 0||cs(e,t,O,x,i,G);return}}for(var dt in a)x=a[dt],a.hasOwnProperty(dt)&&x!=null&&!i.hasOwnProperty(dt)&&bt(e,t,dt,null,i,x);for(_ in i)x=i[_],G=a[_],!i.hasOwnProperty(_)||x===G||x==null&&G==null||bt(e,t,_,x,i,G)}function ci(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Fi(e){var t={};e=e.style;for(var a=0;a<e.length;a++){var i=e[a];t[i]=e.getPropertyValue(i)}return t}function Eu(e,t,a){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var i,o=i="",s;for(s in t)if(t.hasOwnProperty(s)){var d=t[s];d!=null&&typeof d!="boolean"&&d!==""&&(s.indexOf("--")===0?(ym(d,s),i+=o+s+":"+(""+d).trim()):typeof d!="number"||d===0||Ae.has(s)?(ym(d,s),i+=o+s.replace(X,"-$1").toLowerCase().replace(ve,"-ms-")+":"+(""+d).trim()):i+=o+s.replace(X,"-$1").toLowerCase().replace(ve,"-ms-")+":"+d+"px",o=";")}i=i||null,t=e.getAttribute("style"),t!==i&&(i=Xn(i),Xn(t)!==i&&(a.style=Fi(e)))}}function Da(e,t,a,i,o,s){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(Dt(i,t),e===""+i)return}Pt(t,e,i,s)}function oh(e,t,a,i,o,s){if(o.delete(a),e=e.getAttribute(a),e===null){switch(typeof i){case"function":case"symbol":return}if(!i)return}else switch(typeof i){case"function":case"symbol":break;default:if(i)return}Pt(t,e,i,s)}function sh(e,t,a,i,o,s){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":return}else if(i!=null)switch(typeof i){case"function":case"symbol":break;default:if(Dt(i,a),e===""+i)return}Pt(t,e,i,s)}function os(e,t,a,i,o,s){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(i))return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(!isNaN(i)&&(Dt(i,t),e===""+i))return}Pt(t,e,i,s)}function Wf(e,t,a,i,o,s){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(Dt(i,t),a=af(""+i),e===a)return}Pt(t,e,i,s)}function Ca(e,t,a,i){for(var o={},s=new Set,d=e.attributes,h=0;h<d.length;h++)switch(d[h].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:s.add(d[h].name)}if(tu(t)){for(var p in a)if(a.hasOwnProperty(p)){var g=a[p];if(g!=null){if(Mu.hasOwnProperty(p))typeof g!="function"&&el(p,g);else if(a.suppressHydrationWarning!==!0)switch(p){case"children":typeof g!="string"&&typeof g!="number"||Pt("children",e.textContent,g,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=e.innerHTML,g=g?g.__html:void 0,g!=null&&(g=ch(e,g),Pt(p,d,g,o));continue;case"style":s.delete(p),Eu(e,g,o);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":s.delete(p.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",p);continue;case"className":s.delete("class"),d=To(e,"class",g),Pt("className",d,g,o);continue;default:i.context===go&&t!=="svg"&&t!=="math"?s.delete(p.toLowerCase()):s.delete(p),d=To(e,p,g),Pt(p,d,g,o)}}}}else for(g in a)if(a.hasOwnProperty(g)&&(p=a[g],p!=null)){if(Mu.hasOwnProperty(g))typeof p!="function"&&el(g,p);else if(a.suppressHydrationWarning!==!0)switch(g){case"children":typeof p!="string"&&typeof p!="number"||Pt("children",e.textContent,p,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=e.innerHTML,p=p?p.__html:void 0,p!=null&&(p=ch(e,p),d!==p&&(o[g]={__html:d}));continue;case"className":Da(e,g,"class",p,s,o);continue;case"tabIndex":Da(e,g,"tabindex",p,s,o);continue;case"style":s.delete(g),Eu(e,p,o);continue;case"multiple":s.delete(g),Pt(g,e.multiple,p,o);continue;case"muted":s.delete(g),Pt(g,e.muted,p,o);continue;case"autoFocus":s.delete("autofocus"),Pt(g,e.autofocus,p,o);continue;case"data":if(t!=="object"){s.delete(g),d=e.getAttribute("data"),Pt(g,d,p,o);continue}case"src":case"href":if(!(p!==""||t==="a"&&g==="href"||t==="object"&&g==="data")){console.error(g==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',g,g);continue}Wf(e,g,g,p,s,o);continue;case"action":case"formAction":if(d=e.getAttribute(g),typeof p=="function"){s.delete(g.toLowerCase()),g==="formAction"?(s.delete("name"),s.delete("formenctype"),s.delete("formmethod"),s.delete("formtarget")):(s.delete("enctype"),s.delete("method"),s.delete("target"));continue}else if(d===AA){s.delete(g.toLowerCase()),Pt(g,"function",p,o);continue}Wf(e,g,g.toLowerCase(),p,s,o);continue;case"xlinkHref":Wf(e,g,"xlink:href",p,s,o);continue;case"contentEditable":sh(e,g,"contenteditable",p,s,o);continue;case"spellCheck":sh(e,g,"spellcheck",p,s,o);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":sh(e,g,g,p,s,o);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":oh(e,g,g.toLowerCase(),p,s,o);continue;case"capture":case"download":e:{h=e;var O=d=g,_=o;if(s.delete(O),h=h.getAttribute(O),h===null)switch(typeof p){case"undefined":case"function":case"symbol":break e;default:if(p===!1)break e}else if(p!=null)switch(typeof p){case"function":case"symbol":break;case"boolean":if(p===!0&&h==="")break e;break;default:if(Dt(p,d),h===""+p)break e}Pt(d,h,p,_)}continue;case"cols":case"rows":case"size":case"span":e:{if(h=e,O=d=g,_=o,s.delete(O),h=h.getAttribute(O),h===null)switch(typeof p){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(p)||1>p)break e}else if(p!=null)switch(typeof p){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(p)||1>p)&&(Dt(p,d),h===""+p))break e}Pt(d,h,p,_)}continue;case"rowSpan":os(e,g,"rowspan",p,s,o);continue;case"start":os(e,g,g,p,s,o);continue;case"xHeight":Da(e,g,"x-height",p,s,o);continue;case"xlinkActuate":Da(e,g,"xlink:actuate",p,s,o);continue;case"xlinkArcrole":Da(e,g,"xlink:arcrole",p,s,o);continue;case"xlinkRole":Da(e,g,"xlink:role",p,s,o);continue;case"xlinkShow":Da(e,g,"xlink:show",p,s,o);continue;case"xlinkTitle":Da(e,g,"xlink:title",p,s,o);continue;case"xlinkType":Da(e,g,"xlink:type",p,s,o);continue;case"xmlBase":Da(e,g,"xml:base",p,s,o);continue;case"xmlLang":Da(e,g,"xml:lang",p,s,o);continue;case"xmlSpace":Da(e,g,"xml:space",p,s,o);continue;case"inert":p!==""||Hv[g]||(Hv[g]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",g)),oh(e,g,g,p,s,o);continue;default:if(!(2<g.length)||g[0]!=="o"&&g[0]!=="O"||g[1]!=="n"&&g[1]!=="N"){h=Ap(g),d=!1,i.context===go&&t!=="svg"&&t!=="math"?s.delete(h.toLowerCase()):(O=g.toLowerCase(),O=Jn.hasOwnProperty(O)&&Jn[O]||null,O!==null&&O!==g&&(d=!0,s.delete(O)),s.delete(h));e:if(O=e,_=h,h=p,Is(_))if(O.hasAttribute(_))O=O.getAttribute(_),Dt(h,_),h=O===""+h?h:O;else{switch(typeof h){case"function":case"symbol":break e;case"boolean":if(O=_.toLowerCase().slice(0,5),O!=="data-"&&O!=="aria-")break e}h=h===void 0?void 0:null}else h=void 0;d||Pt(g,h,p,o)}}}return 0<s.size&&a.suppressHydrationWarning!==!0&&kf(e,s,o),Object.keys(o).length===0?null:o}function fg(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function va(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function rg(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),i=0;i<a.length;i++){var o=a[i],s=o.transferSize,d=o.initiatorType,h=o.duration;if(s&&h&&va(d)){for(d=0,h=o.responseEnd,i+=1;i<a.length;i++){var p=a[i],g=p.startTime;if(g>h)break;var O=p.transferSize,_=p.initiatorType;O&&va(_)&&(p=p.responseEnd,d+=O*(p<h?1:(h-g)/(p-g)))}if(--i,t+=8*(s+d)/(o.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}function If(e){return e.nodeType===9?e:e.ownerDocument}function dg(e){switch(e){case Fe:return sm;case Le:return qv;default:return go}}function oi(e,t){if(e===go)switch(t){case"svg":return sm;case"math":return qv;default:return go}return e===sm&&t==="foreignObject"?go:e}function ss(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function $y(){var e=window.event;return e&&e.type==="popstate"?e===vb?!1:(vb=e,!0):(vb=null,!1)}function Au(){var e=window.event;return e&&e!==fp?e.type:null}function fs(){var e=window.event;return e&&e!==fp?e.timeStamp:-1.1}function hg(e){setTimeout(function(){throw e})}function mg(e,t,a){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();break;case"img":a.src?e.src=a.src:a.srcSet&&(e.srcset=a.srcSet)}}function yg(){}function fh(e,t,a,i){xl(e,t,a,i),e[Sa]=i}function rh(e){yc(e,"")}function c1(e,t,a){e.nodeValue=a}function pg(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Sa]||null;if(t!==null){var a=Tn(e);a!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,ee(a,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,ee(a,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function ki(e){return e==="head"}function gg(e,t){e.removeChild(t)}function vg(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function Kc(e,t){var a=t,i=0;do{var o=a.nextSibling;if(e.removeChild(a),o&&o.nodeType===8)if(a=o.data,a===sp||a===Bv){if(i===0){e.removeChild(o),Wc(t);return}i--}else if(a===op||a===Ks||a===Hr||a===om||a===Ur)i++;else if(a===OA)fi(e.ownerDocument.documentElement);else if(a===CA){a=e.ownerDocument.head,fi(a);for(var s=a.firstChild;s;){var d=s.nextSibling,h=s.nodeName;s[Os]||h==="SCRIPT"||h==="STYLE"||h==="LINK"&&s.rel.toLowerCase()==="stylesheet"||a.removeChild(s),s=d}}else a===DA&&fi(e.ownerDocument.body);a=o}while(a);Wc(t)}function Pf(e,t){var a=e;e=0;do{var i=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),i&&i.nodeType===8)if(a=i.data,a===sp){if(e===0)break;e--}else a!==op&&a!==Ks&&a!==Hr&&a!==om||e++;a=i}while(a)}function bg(e){Pf(e,!0)}function Sg(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function Tg(e){e.nodeValue=""}function xg(e){Pf(e,!1)}function Eg(e,t){t=t[MA],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Ag(e,t){e.nodeValue=t}function rs(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":rs(a),bm(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function zg(e,t,a,i){for(;e.nodeType===1;){var o=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[Os])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(s!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){Dt(o.name,"name");var s=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;if(e=Ka(e.nextSibling),e===null)break}return null}function Og(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Ka(e.nextSibling),e===null))return null;return e}function zt(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Ka(e.nextSibling),e===null))return null;return e}function er(e){return e.data===Ks||e.data===Hr}function Fy(e){return e.data===om||e.data===Ks&&e.ownerDocument.readyState!==fT}function Dg(e,t){var a=e.ownerDocument;if(e.data===Hr)e._reactRetry=t;else if(e.data!==Ks||a.readyState!==fT)t();else{var i=function(){t(),a.removeEventListener("DOMContentLoaded",i)};a.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function Ka(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===op||t===om||t===Ks||t===Hr||t===Ur||t===yb||t===sT)break;if(t===sp||t===Bv)return null}}return e}function Cg(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),a={},i=e.attributes,o=0;o<i.length;o++){var s=i[o];a[ci(s.name)]=s.name.toLowerCase()==="style"?Fi(e):s.value}return{type:t,props:a}}return e.nodeType===8?e.data===Ur?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function Mg(e,t,a){return a===null||a[zA]!==!0?(e.nodeValue===t?e=null:(t=Xn(t),e=Xn(e.nodeValue)===t?null:e.nodeValue),e):null}function ds(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===sp||a===Bv){if(t===0)return Ka(e.nextSibling);t--}else a!==op&&a!==om&&a!==Ks&&a!==Hr&&a!==Ur||t++}e=e.nextSibling}return null}function $c(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===op||a===om||a===Ks||a===Hr||a===Ur){if(t===0)return e;t--}else a!==sp&&a!==Bv||t++}e=e.previousSibling}return null}function ky(e){Wc(e)}function dh(e){Wc(e)}function Wy(e){Wc(e)}function si(e,t,a,i,o){switch(o&&tf(e,i.ancestorInfo),t=If(a),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function zu(e,t,a,i){if(!a[di]&&Tn(a)){var o=a.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",o,o,o)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(o=a.attributes;o.length;)a.removeAttributeNode(o[0]);Kt(a,e,t),a[$t]=i,a[Sa]=t}function fi(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);bm(e)}function hh(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Iy(e,t,a){var i=fm;if(i&&typeof t=="string"&&t){var o=Ct(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof a=="string"&&(o+='[crossorigin="'+a+'"]'),pT.has(o)||(pT.add(o),e={rel:e,crossOrigin:a,href:t},i.querySelector(o)===null&&(t=i.createElement("link"),Kt(t,"link",e),ol(t),i.head.appendChild(t)))}}function Py(e,t,a,i){var o=(o=$a.current)?hh(o):null;if(!o)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=Fc(a.href),t=ln(o).hoistableStyles,i=t.get(a),i||(i={type:"style",instance:null,count:0,state:null},t.set(a,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Fc(a.href);var s=ln(o).hoistableStyles,d=s.get(e);if(!d&&(o=o.ownerDocument||o,d={type:"stylesheet",instance:null,count:0,state:{loading:qr,preload:null}},s.set(e,d),(s=o.querySelector(lr(e)))&&!s._p&&(d.instance=s,d.state.loading=rp|wu),!Vu.has(e))){var h={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy};Vu.set(e,h),s||_g(o,e,h,d.state)}if(t&&i===null)throw a=`
176
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,w(e))})}function Wl(e){e!==iS&&e.next===null&&(iS===null?rS=iS=e:iS=iS.next=e),sS=!0,W.actQueue===null?aS||(aS=!0,Zl()):oS||(oS=!0,Zl())}function B(e,t){if(!cS&&sS){cS=!0;do for(var n=!1,r=rS;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Ap(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,Yl(r,a))}else a=$,a=Oe(r,r===Ub?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==QS),!(a&3)||ke(r,a)||(n=!0,Yl(r,a));r=r.next}while(n);cS=!1}}function Gl(){YS=window.event,Kl()}function Kl(){sS=oS=aS=!1;var e=0;lS!==0&&zu()&&(e=lS);for(var t=_p(),n=null,r=rS;r!==null;){var i=r.next,a=ql(r,t);a===0?(r.next=null,n===null?rS=i:n.next=i,i===null&&(iS=n)):(n=r,(e!==0||a&3)&&(sS=!0)),r=i}Nx!==Dx&&Nx!==Mx||B(e,!1),lS!==0&&(lS=0)}function ql(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Ap(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Ae(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Ub,n=$,n=Oe(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==QS),r=e.callbackNode,n===0||e===t&&(ex===Kb||ex===$b)||e.cancelPendingCommit!==null)return r!==null&&Xl(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||ke(e,n)){if(t=n&-n,t!==e.callbackPriority||W.actQueue!==null&&r!==uS)Xl(r);else return t;switch(Ve(n)){case Ip:case Lp:n=bp;break;case Rp:n=xp;break;case zp:n=Cp;break;default:n=xp}return r=Jl.bind(null,e),W.actQueue===null?n=pp(n,r):(W.actQueue.push(r),n=uS),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&Xl(r),e.callbackPriority=2,e.callbackNode=null,2}function Jl(e,t){if(tv=ev=!1,YS=window.event,Nx!==Dx&&Nx!==Mx)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Hx===Cx&&(Hx=Tx),Ol()&&e.callbackNode!==n)return null;var r=$;return r=Oe(e,e===Ub?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==QS),r===0?null:(Qc(e,r,t),ql(e,_p()),e.callbackNode!=null&&e.callbackNode===n?Jl.bind(null,e):null)}function Yl(e,t){if(Ol())return null;ev=tv,tv=!1,Qc(e,t,!0)}function Xl(e){e!==uS&&e!==null&&mp(e)}function Zl(){W.actQueue!==null&&W.actQueue.push(function(){return Kl(),null}),eC(function(){(Hb&(Nb|Pb))===Mb?Kl():pp(yp,Gl)})}function Ql(){if(lS===0){var e=iv;e===0&&(e=Np,Np<<=1,!(Np&261888)&&(Np=256)),lS=e}return lS}function $l(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:(xe(e,`action`),tn(``+e))}function eu(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function tu(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=$l((i[Hp]||null).action),o=r.submitter;o&&(t=(t=o[Hp]||null)?$l(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new nh(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(lS!==0){var e=o?eu(i,o):new FormData(i),t={pending:!0,data:e,method:i.method,action:a};Object.freeze(t),Oo(n,t,null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?eu(i,o):new FormData(i),t={pending:!0,data:e,method:i.method,action:a},Object.freeze(t),Oo(n,t,a,e))},currentTarget:i}]})}}function nu(e,t,n){e.currentTarget=n;try{t(e)}catch(e){sg(e)}e.currentTarget=null}function ru(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n];a:{var i=void 0,a=r.event;if(r=r.listeners,t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==i&&a.isPropagationStopped())break a;c===null?nu(a,s,l):M(c,nu,a,s,l),i=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==i&&a.isPropagationStopped())break a;c===null?nu(a,s,l):M(c,nu,a,s,l),i=c}}}}function V(e,t){fS.has(e)||console.error(`Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.`,e);var n=t[Wp];n===void 0&&(n=t[Wp]=new Set);var r=e+`__bubble`;n.has(r)||(ou(t,e,2,!1),n.add(r))}function iu(e,t,n){fS.has(e)&&!t&&console.error(`Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.`,e);var r=0;t&&(r|=4),ou(n,e,r,t)}function au(e){if(!e[pS]){e[pS]=!0,Yp.forEach(function(t){t!==`selectionchange`&&(fS.has(t)||iu(t,!1,e),iu(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[pS]||(t[pS]=!0,iu(`selectionchange`,!1,t))}}function ou(e,t,n,r){switch(sf(t)){case Ip:var i=tf;break;case Lp:i=nf;break;default:i=rf}n=i.bind(null,t,n,e),i=void 0,!Xm||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function su(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&o.stateNode.containerInfo===i)return;o=o.return}for(;s!==null;){if(o=Ge(s),o===null)return;if(c=o.tag,c===5||c===6||c===26||c===27){r=a=o;continue a}s=s.parentNode}}r=r.return}on(function(){var r=a,i=rn(n),o=[];a:{var s=tg.get(e);if(s!==void 0){var c=nh,l=e;switch(e){case`keypress`:if(ln(n)===0)break a;case`keydown`:case`keyup`:c=yh;break;case`focusin`:l=`focus`,c=dh;break;case`focusout`:l=`blur`,c=dh;break;case`beforeblur`:case`afterblur`:c=dh;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:c=lh;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:c=uh;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:c=xh;break;case Jh:case Yh:case Xh:c=fh;break;case eg:c=Sh;break;case`scroll`:case`scrollend`:c=ih;break;case`wheel`:c=Ch;break;case`copy`:case`cut`:case`paste`:c=ph;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:c=bh;break;case`toggle`:case`beforetoggle`:c=wh}var u=(t&4)!=0,d=!u&&(e===`scroll`||e===`scrollend`),f=u?s===null?null:s+`Capture`:s;u=[];for(var p=r,m;p!==null;){var h=p;if(m=h.stateNode,h=h.tag,h!==5&&h!==26&&h!==27||m===null||f===null||(h=sn(p,f),h!=null&&u.push(cu(p,h,m))),d)break;p=p.return}0<u.length&&(s=new c(s,l,null,n,i),o.push({event:s,listeners:u}))}}if(!(t&7)){a:{if(s=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,s&&n!==Gm&&(l=n.relatedTarget||n.fromElement)&&(Ge(l)||l[Up]))break a;if((c||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?Ge(l):null,l!==null&&(d=v(l),u=l.tag,l!==d||u!==5&&u!==27&&u!==6)&&(l=null)):(c=null,l=r),c!==l)){if(u=lh,h=`onMouseLeave`,f=`onMouseEnter`,p=`mouse`,(e===`pointerout`||e===`pointerover`)&&(u=bh,h=`onPointerLeave`,f=`onPointerEnter`,p=`pointer`),d=c==null?s:qe(c),m=l==null?s:qe(l),s=new u(h,p+`leave`,c,n,i),s.target=d,s.relatedTarget=m,h=null,Ge(i)===r&&(u=new u(f,p+`enter`,l,n,i),u.target=m,u.relatedTarget=d,h=u),d=h,c&&l)b:{for(u=uu,f=c,p=l,m=0,h=f;h;h=u(h))m++;h=0;for(var g=p;g;g=u(g))h++;for(;0<m-h;)f=u(f),m--;for(;0<h-m;)p=u(p),h--;for(;m--;){if(f===p||p!==null&&f===p.alternate){u=f;break b}f=u(f),p=u(p)}u=null}else u=null;c!==null&&du(o,s,c,u,!1),l!==null&&d!==null&&du(o,d,l,u,!0)}}a:{if(s=r?qe(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var _=wn;else if(yn(s))if(Rh)_=An;else{_=On;var y=Dn}else c=s.nodeName,!c||c.toLowerCase()!==`input`||s.type!==`checkbox`&&s.type!==`radio`?r&&Yt(r.elementType)&&(_=wn):_=kn;if(_&&=_(e,r)){xn(o,_,n,i);break a}y&&y(e,s,r),e===`focusout`&&r&&s.type===`number`&&r.memoizedProps.value!=null&&mt(s,`number`,s.value)}switch(y=r?qe(r):window,e){case`focusin`:(yn(y)||y.contentEditable===`true`)&&(Vh=y,Hh=r,Uh=null);break;case`focusout`:Uh=Hh=Vh=null;break;case`mousedown`:Wh=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Wh=!1,Ln(o,n,i);break;case`selectionchange`:if(Bh)break;case`keydown`:case`keyup`:Ln(o,n,i)}var b;if(Dh)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else Ph?hn(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===Eh&&(x=`onCompositionStart`);x&&(Ah&&n.locale!==`ko`&&(Ph||x!==`onCompositionStart`?x===`onCompositionEnd`&&Ph&&(b=cn()):(Qm=i,$m=`value`in Qm?Qm.value:Qm.textContent,Ph=!0)),y=lu(r,x),0<y.length&&(x=new mh(x,e,null,n,i),o.push({event:x,listeners:y}),b?x.data=b:(b=gn(n),b!==null&&(x.data=b)))),(b=kh?_n(e,n):vn(e,n))&&(x=lu(r,`onBeforeInput`),0<x.length&&(y=new hh(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:y,listeners:x}),y.data=b)),tu(o,e,r,n,i)}ru(o,t)})}function cu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function lu(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=sn(e,n),i!=null&&r.unshift(cu(e,i,a)),i=sn(e,t),i!=null&&r.push(cu(e,i,a))),e.tag===3)return r;e=e.return}return[]}function uu(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function du(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=sn(n,a),l!=null&&o.unshift(cu(n,l,c))):i||(l=sn(n,a),l!=null&&o.push(cu(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}function fu(e,t){Qt(e,t),e!==`input`&&e!==`textarea`&&e!==`select`||t==null||t.value!==null||Rm||(Rm=!0,e===`select`&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:Xp,possibleRegistrationNames:Zp};Yt(e)||typeof t.is==`string`||en(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function pu(e,t,n,r){t!==n&&(n=_u(n),_u(t)!==n&&(r[e]=t))}function mu(e,t,n){t.forEach(function(t){n[Cu(t)]=t===`style`?wu(e):e.getAttribute(t)})}function hu(e,t){!1===t?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function gu(e,t){return e=e.namespaceURI===Am||e.namespaceURI===jm?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function _u(e){return ye(e)&&(console.error(`The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.`,ve(e)),be(e)),(typeof e==`string`?e:``+e).replace(SS,`
177
+ `).replace(CS,``)}function vu(e,t){return t=_u(t),_u(e)===t}function yu(e,t,n,r,i,a){switch(n){case`children`:typeof r==`string`?(Wt(r,t,!1),t===`body`||t===`textarea`&&r===``||Gt(e,r)):(typeof r==`number`||typeof r==`bigint`)&&(Wt(``+r,t,!1),t!==`body`&&Gt(e,``+r));break;case`className`:nt(e,`class`,r);break;case`tabIndex`:nt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:nt(e,n,r);break;case`style`:Jt(e,r,a);break;case`data`:if(t!==`object`){nt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){console.error(n===`src`?`An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`:`An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,n,n),e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}xe(r,n),r=tn(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(r!=null&&(t===`form`?n===`formAction`?console.error(`You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>.`):typeof r==`function`&&(i.encType==null&&i.method==null||yS||(yS=!0,console.error(`Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.`)),i.target==null||vS||(vS=!0,console.error(`Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window.`))):t===`input`||t===`button`?n===`action`?console.error(`You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>.`):t!==`input`||i.type===`submit`||i.type===`image`||gS?t!==`button`||i.type==null||i.type===`submit`||gS?typeof r==`function`&&(i.name==null||_S||(_S=!0,console.error(`Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.`)),i.formEncType==null&&i.formMethod==null||yS||(yS=!0,console.error(`Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.`)),i.formTarget==null||vS||(vS=!0,console.error(`Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window.`))):(gS=!0,console.error(`A button can only specify a formAction along with type="submit" or no type.`)):(gS=!0,console.error(`An input can only specify a formAction along with type="submit" or type="image".`)):console.error(n===`action`?`You can only pass the action prop to <form>.`:`You can only pass the formAction prop to <input> or <button>.`)),typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}else typeof a==`function`&&(n===`formAction`?(t!==`input`&&yu(e,t,`name`,i.name,i,null),yu(e,t,`formEncType`,i.formEncType,i,null),yu(e,t,`formMethod`,i.formMethod,i,null),yu(e,t,`formTarget`,i.formTarget,i,null)):(yu(e,t,`encType`,i.encType,i,null),yu(e,t,`method`,i.method,i,null),yu(e,t,`target`,i.target,i,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}xe(r,n),r=tn(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(typeof r!=`function`&&hu(n,r),e.onclick=nn);break;case`onScroll`:r!=null&&(typeof r!=`function`&&hu(n,r),V(`scroll`,e));break;case`onScrollEnd`:r!=null&&(typeof r!=`function`&&hu(n,r),V(`scrollend`,e));break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=r.__html,n!=null){if(i.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}xe(r,n),n=tn(``+r),e.setAttributeNS(wS,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?(xe(r,n),e.setAttribute(n,``+r)):e.removeAttribute(n);break;case`inert`:r!==``||xS[n]||(xS[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?(xe(r,n),e.setAttribute(n,r)):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?(xe(r,n),e.setAttribute(n,r)):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):(xe(r,n),e.setAttribute(n,r));break;case`popover`:V(`beforetoggle`,e),V(`toggle`,e),tt(e,`popover`,r);break;case`xlinkActuate`:rt(e,wS,`xlink:actuate`,r);break;case`xlinkArcrole`:rt(e,wS,`xlink:arcrole`,r);break;case`xlinkRole`:rt(e,wS,`xlink:role`,r);break;case`xlinkShow`:rt(e,wS,`xlink:show`,r);break;case`xlinkTitle`:rt(e,wS,`xlink:title`,r);break;case`xlinkType`:rt(e,wS,`xlink:type`,r);break;case`xmlBase`:rt(e,TS,`xml:base`,r);break;case`xmlLang`:rt(e,TS,`xml:lang`,r);break;case`xmlSpace`:rt(e,TS,`xml:space`,r);break;case`is`:a!=null&&console.error(`Cannot update the "is" prop after it has been initialized.`),tt(e,`is`,r);break;case`innerText`:case`textContent`:break;case`popoverTarget`:bS||typeof r!=`object`||!r||(bS=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",r));default:!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`?(n=Xt(n),tt(e,n,r)):Xp.hasOwnProperty(n)&&r!=null&&typeof r!=`function`&&hu(n,r)}}function bu(e,t,n,r,i,a){switch(n){case`style`:Jt(e,r,a);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=r.__html,n!=null){if(i.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case`children`:typeof r==`string`?Gt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Gt(e,``+r);break;case`onScroll`:r!=null&&(typeof r!=`function`&&hu(n,r),V(`scroll`,e));break;case`onScrollEnd`:r!=null&&(typeof r!=`function`&&hu(n,r),V(`scrollend`,e));break;case`onClick`:r!=null&&(typeof r!=`function`&&hu(n,r),e.onclick=nn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(Xp.hasOwnProperty(n))r!=null&&typeof r!=`function`&&hu(n,r);else a:{if(n[0]===`o`&&n[1]===`n`&&(i=n.endsWith(`Capture`),t=n.slice(2,i?n.length-7:void 0),a=e[Hp]||null,a=a==null?null:a[n],typeof a==`function`&&e.removeEventListener(t,a,i),typeof r==`function`)){typeof a!=`function`&&a!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,i);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):tt(e,n,r)}}}function xu(e,t,n){switch(fu(t,n),t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:V(`error`,e),V(`load`,e);var r=!1,i=!1,a;for(a in n)if(n.hasOwnProperty(a)){var o=n[a];if(o!=null)switch(a){case`src`:r=!0;break;case`srcSet`:i=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:yu(e,t,a,o,n,null)}}i&&yu(e,t,`srcSet`,n.srcSet,n,null),r&&yu(e,t,`src`,n.src,n,null);return;case`input`:Qe(`input`,n),V(`invalid`,e);var s=a=o=i=null,c=null,l=null;for(r in n)if(n.hasOwnProperty(r)){var u=n[r];if(u!=null)switch(r){case`name`:i=u;break;case`type`:o=u;break;case`checked`:c=u;break;case`defaultChecked`:l=u;break;case`value`:a=u;break;case`defaultValue`:s=u;break;case`children`:case`dangerouslySetInnerHTML`:if(u!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:yu(e,t,r,u,n,null)}}dt(e,n),pt(e,a,s,c,l,o,i,!1);return;case`select`:for(i in Qe(`select`,n),V(`invalid`,e),r=o=a=null,n)if(n.hasOwnProperty(i)&&(s=n[i],s!=null))switch(i){case`value`:a=s;break;case`defaultValue`:o=s;break;case`multiple`:r=s;default:yu(e,t,i,s,n,null)}vt(e,n),t=a,n=o,e.multiple=!!r,t==null?n!=null&&_t(e,!!r,n,!0):_t(e,!!r,t,!1);return;case`textarea`:for(o in Qe(`textarea`,n),V(`invalid`,e),a=i=r=null,n)if(n.hasOwnProperty(o)&&(s=n[o],s!=null))switch(o){case`value`:r=s;break;case`defaultValue`:i=s;break;case`children`:a=s;break;case`dangerouslySetInnerHTML`:if(s!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:yu(e,t,o,s,n,null)}yt(e,n),xt(e,r,i,a);return;case`option`:for(c in ht(e,n),n)if(n.hasOwnProperty(c)&&(r=n[c],r!=null))switch(c){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:yu(e,t,c,r,n,null)}return;case`dialog`:V(`beforetoggle`,e),V(`toggle`,e),V(`cancel`,e),V(`close`,e);break;case`iframe`:case`object`:V(`load`,e);break;case`video`:case`audio`:for(r=0;r<dS.length;r++)V(dS[r],e);break;case`image`:V(`error`,e),V(`load`,e);break;case`details`:V(`toggle`,e);break;case`embed`:case`source`:case`link`:V(`error`,e),V(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`children`:case`dangerouslySetInnerHTML`:throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:yu(e,t,l,r,n,null)}return;default:if(Yt(t)){for(u in n)n.hasOwnProperty(u)&&(r=n[u],r!==void 0&&bu(e,t,u,r,n,void 0));return}}for(s in n)n.hasOwnProperty(s)&&(r=n[s],r!=null&&yu(e,t,s,r,n,null))}function Su(e,t,n,r){switch(fu(t,r),t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var i=null,a=null,o=null,s=null,c=null,l=null,u=null;for(p in n){var d=n[p];if(n.hasOwnProperty(p)&&d!=null)switch(p){case`checked`:break;case`value`:break;case`defaultValue`:c=d;default:r.hasOwnProperty(p)||yu(e,t,p,null,r,d)}}for(var f in r){var p=r[f];if(d=n[f],r.hasOwnProperty(f)&&(p!=null||d!=null))switch(f){case`type`:a=p;break;case`name`:i=p;break;case`checked`:l=p;break;case`defaultChecked`:u=p;break;case`value`:o=p;break;case`defaultValue`:s=p;break;case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:p!==d&&yu(e,t,f,p,r,d)}}t=n.type===`checkbox`||n.type===`radio`?n.checked!=null:n.value!=null,r=r.type===`checkbox`||r.type===`radio`?r.checked!=null:r.value!=null,t||!r||hS||(console.error(`A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components`),hS=!0),!t||r||mS||(console.error(`A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components`),mS=!0),ft(e,o,s,c,l,u,a,i);return;case`select`:for(a in p=o=s=f=null,n)if(c=n[a],n.hasOwnProperty(a)&&c!=null)switch(a){case`value`:break;case`multiple`:p=c;default:r.hasOwnProperty(a)||yu(e,t,a,null,r,c)}for(i in r)if(a=r[i],c=n[i],r.hasOwnProperty(i)&&(a!=null||c!=null))switch(i){case`value`:f=a;break;case`defaultValue`:s=a;break;case`multiple`:o=a;default:a!==c&&yu(e,t,i,a,r,c)}r=s,t=o,n=p,f==null?!!n!=!!t&&(r==null?_t(e,!!t,t?[]:``,!1):_t(e,!!t,r,!0)):_t(e,!!t,f,!1);return;case`textarea`:for(s in p=f=null,n)if(i=n[s],n.hasOwnProperty(s)&&i!=null&&!r.hasOwnProperty(s))switch(s){case`value`:break;case`children`:break;default:yu(e,t,s,null,r,i)}for(o in r)if(i=r[o],a=n[o],r.hasOwnProperty(o)&&(i!=null||a!=null))switch(o){case`value`:f=i;break;case`defaultValue`:p=i;break;case`children`:break;case`dangerouslySetInnerHTML`:if(i!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:i!==a&&yu(e,t,o,i,r,a)}bt(e,f,p);return;case`option`:for(var m in n)if(f=n[m],n.hasOwnProperty(m)&&f!=null&&!r.hasOwnProperty(m))switch(m){case`selected`:e.selected=!1;break;default:yu(e,t,m,null,r,f)}for(c in r)if(f=r[c],p=n[c],r.hasOwnProperty(c)&&f!==p&&(f!=null||p!=null))switch(c){case`selected`:e.selected=f&&typeof f!=`function`&&typeof f!=`symbol`;break;default:yu(e,t,c,f,r,p)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var h in n)f=n[h],n.hasOwnProperty(h)&&f!=null&&!r.hasOwnProperty(h)&&yu(e,t,h,null,r,f);for(l in r)if(f=r[l],p=n[l],r.hasOwnProperty(l)&&f!==p&&(f!=null||p!=null))switch(l){case`children`:case`dangerouslySetInnerHTML`:if(f!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:yu(e,t,l,f,r,p)}return;default:if(Yt(t)){for(var g in n)f=n[g],n.hasOwnProperty(g)&&f!==void 0&&!r.hasOwnProperty(g)&&bu(e,t,g,void 0,r,f);for(u in r)f=r[u],p=n[u],!r.hasOwnProperty(u)||f===p||f===void 0&&p===void 0||bu(e,t,u,f,r,p);return}}for(var _ in n)f=n[_],n.hasOwnProperty(_)&&f!=null&&!r.hasOwnProperty(_)&&yu(e,t,_,null,r,f);for(d in r)f=r[d],p=n[d],!r.hasOwnProperty(d)||f===p||f==null&&p==null||yu(e,t,d,f,r,p)}function Cu(e){switch(e){case`class`:return`className`;case`for`:return`htmlFor`;default:return e}}function wu(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var r=e[n];t[r]=e.getPropertyValue(r)}return t}function Tu(e,t,n){if(t!=null&&typeof t!=`object`)console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var r,i=r=``,a;for(a in t)if(t.hasOwnProperty(a)){var o=t[a];o!=null&&typeof o!=`boolean`&&o!==``&&(a.indexOf(`--`)===0?(Se(o,a),r+=i+a+`:`+(``+o).trim()):typeof o!=`number`||o===0||km.has(a)?(Se(o,a),r+=i+a.replace(ym,`-$1`).toLowerCase().replace(bm,`-ms-`)+`:`+(``+o).trim()):r+=i+a.replace(ym,`-$1`).toLowerCase().replace(bm,`-ms-`)+`:`+o+`px`,i=`;`)}r||=null,t=e.getAttribute(`style`),t!==r&&(r=_u(r),_u(t)!==r&&(n.style=wu(e)))}}function Eu(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(xe(r,t),e===``+r)return}pu(t,e,r,a)}function Du(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null){switch(typeof r){case`function`:case`symbol`:return}if(!r)return}else switch(typeof r){case`function`:case`symbol`:break;default:if(r)return}pu(t,e,r,a)}function Ou(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:break;default:if(xe(r,n),e===``+r)return}pu(t,e,r,a)}function ku(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:return;default:if(isNaN(r))return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(!isNaN(r)&&(xe(r,t),e===``+r))return}pu(t,e,r,a)}function Au(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(xe(r,t),n=tn(``+r),e===n)return}pu(t,e,r,a)}function ju(e,t,n,r){for(var i={},a=new Set,o=e.attributes,s=0;s<o.length;s++)switch(o[s].name.toLowerCase()){case`value`:break;case`checked`:break;case`selected`:break;default:a.add(o[s].name)}if(Yt(t)){for(var c in n)if(n.hasOwnProperty(c)){var l=n[c];if(l!=null){if(Xp.hasOwnProperty(c))typeof l!=`function`&&hu(c,l);else if(!0!==n.suppressHydrationWarning)switch(c){case`children`:typeof l!=`string`&&typeof l!=`number`||pu(`children`,e.textContent,l,i);continue;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:continue;case`dangerouslySetInnerHTML`:o=e.innerHTML,l=l?l.__html:void 0,l!=null&&(l=gu(e,l),pu(c,o,l,i));continue;case`style`:a.delete(c),Tu(e,l,i);continue;case`offsetParent`:case`offsetTop`:case`offsetLeft`:case`offsetWidth`:case`offsetHeight`:case`isContentEditable`:case`outerText`:case`outerHTML`:a.delete(c.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",c);continue;case`className`:a.delete(`class`),o=et(e,`class`,l),pu(`className`,o,l,i);continue;default:r.context===HS&&t!==`svg`&&t!==`math`?a.delete(c.toLowerCase()):a.delete(c),o=et(e,c,l),pu(c,o,l,i)}}}}else for(l in n)if(n.hasOwnProperty(l)&&(c=n[l],c!=null)){if(Xp.hasOwnProperty(l))typeof c!=`function`&&hu(l,c);else if(!0!==n.suppressHydrationWarning)switch(l){case`children`:typeof c!=`string`&&typeof c!=`number`||pu(`children`,e.textContent,c,i);continue;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`value`:case`checked`:case`selected`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:continue;case`dangerouslySetInnerHTML`:o=e.innerHTML,c=c?c.__html:void 0,c!=null&&(c=gu(e,c),o!==c&&(i[l]={__html:o}));continue;case`className`:Eu(e,l,`class`,c,a,i);continue;case`tabIndex`:Eu(e,l,`tabindex`,c,a,i);continue;case`style`:a.delete(l),Tu(e,c,i);continue;case`multiple`:a.delete(l),pu(l,e.multiple,c,i);continue;case`muted`:a.delete(l),pu(l,e.muted,c,i);continue;case`autoFocus`:a.delete(`autofocus`),pu(l,e.autofocus,c,i);continue;case`data`:if(t!==`object`){a.delete(l),o=e.getAttribute(`data`),pu(l,o,c,i);continue}case`src`:case`href`:if(!(c!==``||t===`a`&&l===`href`||t===`object`&&l===`data`)){console.error(l===`src`?`An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`:`An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,l,l);continue}Au(e,l,l,c,a,i);continue;case`action`:case`formAction`:if(o=e.getAttribute(l),typeof c==`function`){a.delete(l.toLowerCase()),l===`formAction`?(a.delete(`name`),a.delete(`formenctype`),a.delete(`formmethod`),a.delete(`formtarget`)):(a.delete(`enctype`),a.delete(`method`),a.delete(`target`));continue}else if(o===ES){a.delete(l.toLowerCase()),pu(l,`function`,c,i);continue}Au(e,l,l.toLowerCase(),c,a,i);continue;case`xlinkHref`:Au(e,l,`xlink:href`,c,a,i);continue;case`contentEditable`:Ou(e,l,`contenteditable`,c,a,i);continue;case`spellCheck`:Ou(e,l,`spellcheck`,c,a,i);continue;case`draggable`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:Ou(e,l,l,c,a,i);continue;case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:Du(e,l,l.toLowerCase(),c,a,i);continue;case`capture`:case`download`:a:{s=e;var u=o=l,d=i;if(a.delete(u),s=s.getAttribute(u),s===null)switch(typeof c){case`undefined`:case`function`:case`symbol`:break a;default:if(!1===c)break a}else if(c!=null)switch(typeof c){case`function`:case`symbol`:break;case`boolean`:if(!0===c&&s===``)break a;break;default:if(xe(c,o),s===``+c)break a}pu(o,s,c,d)}continue;case`cols`:case`rows`:case`size`:case`span`:a:{if(s=e,u=o=l,d=i,a.delete(u),s=s.getAttribute(u),s===null)switch(typeof c){case`undefined`:case`function`:case`symbol`:case`boolean`:break a;default:if(isNaN(c)||1>c)break a}else if(c!=null)switch(typeof c){case`function`:case`symbol`:case`boolean`:break;default:if(!(isNaN(c)||1>c)&&(xe(c,o),s===``+c))break a}pu(o,s,c,d)}continue;case`rowSpan`:ku(e,l,`rowspan`,c,a,i);continue;case`start`:ku(e,l,l,c,a,i);continue;case`xHeight`:Eu(e,l,`x-height`,c,a,i);continue;case`xlinkActuate`:Eu(e,l,`xlink:actuate`,c,a,i);continue;case`xlinkArcrole`:Eu(e,l,`xlink:arcrole`,c,a,i);continue;case`xlinkRole`:Eu(e,l,`xlink:role`,c,a,i);continue;case`xlinkShow`:Eu(e,l,`xlink:show`,c,a,i);continue;case`xlinkTitle`:Eu(e,l,`xlink:title`,c,a,i);continue;case`xlinkType`:Eu(e,l,`xlink:type`,c,a,i);continue;case`xmlBase`:Eu(e,l,`xml:base`,c,a,i);continue;case`xmlLang`:Eu(e,l,`xml:lang`,c,a,i);continue;case`xmlSpace`:Eu(e,l,`xml:space`,c,a,i);continue;case`inert`:c!==``||xS[l]||(xS[l]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",l)),Du(e,l,l,c,a,i);continue;default:if(!(2<l.length)||l[0]!==`o`&&l[0]!==`O`||l[1]!==`n`&&l[1]!==`N`){s=Xt(l),o=!1,r.context===HS&&t!==`svg`&&t!==`math`?a.delete(s.toLowerCase()):(u=l.toLowerCase(),u=Nm.hasOwnProperty(u)&&Nm[u]||null,u!==null&&u!==l&&(o=!0,a.delete(u)),a.delete(s));a:if(u=e,d=s,s=c,$e(d))if(u.hasAttribute(d))u=u.getAttribute(d),xe(s,d),s=u===``+s?s:u;else{switch(typeof s){case`function`:case`symbol`:break a;case`boolean`:if(u=d.toLowerCase().slice(0,5),u!==`data-`&&u!==`aria-`)break a}s=s===void 0?void 0:null}else s=void 0;o||pu(l,s,c,i)}}}return 0<a.size&&!0!==n.suppressHydrationWarning&&mu(e,a,i),Object.keys(i).length===0?null:i}function Mu(e,t){switch(e.length){case 0:return``;case 1:return e[0];case 2:return e[0]+` `+t+` `+e[1];default:return e.slice(0,-1).join(`, `)+`, `+t+` `+e[e.length-1]}}function Nu(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Pu(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Nu(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Nu(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}function Fu(e){return e.nodeType===9?e:e.ownerDocument}function Iu(e){switch(e){case jm:return US;case Am:return WS;default:return HS}}function Lu(e,t){if(e===HS)switch(t){case`svg`:return US;case`math`:return WS;default:return HS}return e===US&&t===`foreignObject`?HS:e}function Ru(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function zu(){var e=window.event;return e&&e.type===`popstate`?e===JS?!1:(JS=e,!0):(JS=null,!1)}function Bu(){var e=window.event;return e&&e!==YS?e.type:null}function Vu(){var e=window.event;return e&&e!==YS?e.timeStamp:-1.1}function Hu(e){setTimeout(function(){throw e})}function Uu(e,t,n){switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&e.focus();break;case`img`:n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function Wu(){}function Gu(e,t,n,r){Su(e,t,n,r),e[Hp]=r}function Ku(e){Gt(e,``)}function qu(e,t,n){e.nodeValue=n}function Ju(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Hp]||null;if(t!==null){var n=Ke(e);n!==null&&(typeof t.children==`string`||typeof t.children==`number`?(e.__reactWarnedAboutChildrenConflict=!0,M(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,M(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function Yu(e){return e===`head`}function Xu(e,t){e.removeChild(t)}function Zu(e,t){(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e).removeChild(t)}function Qu(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===jS||n===kS){if(r===0){e.removeChild(i),_f(t);return}r--}else if(n===AS||n===MS||n===NS||n===PS||n===OS)r++;else if(n===FS)Cd(e.ownerDocument.documentElement);else if(n===LS){n=e.ownerDocument.head,Cd(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[Jp]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===IS&&Cd(e.ownerDocument.body);n=i}while(n);_f(t)}function $u(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8)if(n=r.data,n===jS){if(e===0)break;e--}else n!==AS&&n!==MS&&n!==NS&&n!==PS||e++;n=r}while(n)}function ed(e){$u(e,!0)}function td(e){e=e.style,typeof e.setProperty==`function`?e.setProperty(`display`,`none`,`important`):e.display=`none`}function nd(e){e.nodeValue=``}function rd(e){$u(e,!1)}function id(e,t){t=t[VS],t=t!=null&&t.hasOwnProperty(`display`)?t.display:null,e.style.display=t==null||typeof t==`boolean`?``:(``+t).trim()}function ad(e,t){e.nodeValue=t}function od(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:od(n),We(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function sd(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){xe(i.name,`name`);var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[Jp])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=pd(e.nextSibling),e===null)break}return null}function cd(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=pd(e.nextSibling),e===null))return null;return e}function ld(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=pd(e.nextSibling),e===null))return null;return e}function ud(e){return e.data===MS||e.data===NS}function dd(e){return e.data===PS||e.data===MS&&e.ownerDocument.readyState!==BS}function fd(e,t){var n=e.ownerDocument;if(e.data===NS)e._reactRetry=t;else if(e.data!==MS||n.readyState!==BS)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function pd(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===AS||t===PS||t===MS||t===NS||t===OS||t===RS||t===zS)break;if(t===jS||t===kS)return null}}return e}function md(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},r=e.attributes,i=0;i<r.length;i++){var a=r[i];n[Cu(a.name)]=a.name.toLowerCase()===`style`?wu(e):a.value}return{type:t,props:n}}return e.nodeType===8?e.data===OS?{type:`Activity`,props:{}}:{type:`Suspense`,props:{}}:e.nodeValue}function hd(e,t,n){return n===null||!0!==n[DS]?(e.nodeValue===t?e=null:(t=_u(t),e=_u(e.nodeValue)===t?null:e.nodeValue),e):null}function gd(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===jS||n===kS){if(t===0)return pd(e.nextSibling);t--}else n!==AS&&n!==PS&&n!==MS&&n!==NS&&n!==OS||t++}e=e.nextSibling}return null}function _d(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===AS||n===PS||n===MS||n===NS||n===OS){if(t===0)return e;t--}else n!==jS&&n!==kS||t++}e=e.previousSibling}return null}function vd(e){_f(e)}function yd(e){_f(e)}function bd(e){_f(e)}function xd(e,t,n,r,i){switch(i&&Ut(e,r.ancestorInfo),t=Fu(n),e){case`html`:if(e=t.documentElement,!e)throw Error(`React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.`);return e;case`head`:if(e=t.head,!e)throw Error(`React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.`);return e;case`body`:if(e=t.body,!e)throw Error(`React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.`);return e;default:throw Error(`resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.`)}}function Sd(e,t,n,r){if(!n[Up]&&Ke(n)){var i=n.tagName.toLowerCase();console.error(`You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.`,i,i,i)}switch(e){case`html`:case`head`:case`body`:break;default:console.error(`acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.`)}for(i=n.attributes;i.length;)n.removeAttributeNode(i[0]);xu(n,e,t),n[Vp]=r,n[Hp]=t}function Cd(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);We(e)}function wd(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Td(e,t,n){var r=uC;if(r&&typeof t==`string`&&t){var i=ut(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),cC.has(i)||(cC.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),xu(t,`link`,e),Ye(t),r.head.appendChild(t)))}}function Ed(e,t,n,r){var i=(i=Xf.current)?wd(i):null;if(!i)throw Error(`"resourceRoot" was expected to exist. This is a bug in React.`);switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=H(n.href),t=Je(i).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=H(n.href);var a=Je(i).hoistableStyles,o=a.get(e);if(!o&&(i=i.ownerDocument||i,o={type:`stylesheet`,instance:null,count:0,state:{loading:nC,preload:null}},a.set(e,o),(a=i.querySelector(Od(e)))&&!a._p&&(o.instance=a,o.state.loading=rC|oC),!sC.has(e))){var s={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};sC.set(e,s),a||Ad(i,e,s,o.state)}if(t&&r===null)throw n=`
174
178
 
175
- - `+tr(t)+`
176
- + `+tr(a),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+a);return d}if(t&&i!==null)throw a=`
179
+ - `+Dd(t)+`
180
+ + `+Dd(n),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return o}if(t&&r!==null)throw n=`
177
181
 
178
- - `+tr(t)+`
179
- + `+tr(a),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+a);return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(a=kc(a),t=ln(o).hoistableScripts,i=t.get(a),i||(i={type:"script",instance:null,count:0,state:null},t.set(a,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function tr(e){var t=0,a="<link";return typeof e.rel=="string"?(t++,a+=' rel="'+e.rel+'"'):Fa.call(e,"rel")&&(t++,a+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,a+=' href="'+e.href+'"'):Fa.call(e,"href")&&(t++,a+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,a+=' precedence="'+e.precedence+'"'):Fa.call(e,"precedence")&&(t++,a+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(a+=" ..."),a+" />"}function Fc(e){return'href="'+Ct(e)+'"'}function lr(e){return'link[rel="stylesheet"]['+e+"]"}function mh(e){return Ie({},e,{"data-precedence":e.precedence,precedence:null})}function _g(e,t,a,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=rp:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=rp}),t.addEventListener("error",function(){return i.loading|=mT}),Kt(t,"link",a),ol(t),e.head.appendChild(t))}function kc(e){return'[src="'+Ct(e)+'"]'}function ar(e){return"script[async]"+e}function yh(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+Ct(a.href)+'"]');if(i)return t.instance=i,ol(i),i;var o=Ie({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),ol(i),Kt(i,"style",o),hs(i,a.precedence,e),t.instance=i;case"stylesheet":o=Fc(a.href);var s=e.querySelector(lr(o));if(s)return t.state.loading|=wu,t.instance=s,ol(s),s;i=mh(a),(o=Vu.get(o))&&e0(i,o),s=(e.ownerDocument||e).createElement("link"),ol(s);var d=s;return d._p=new Promise(function(h,p){d.onload=h,d.onerror=p}),Kt(s,"link",i),t.state.loading|=wu,hs(s,a.precedence,e),t.instance=s;case"script":return s=kc(a.src),(o=e.querySelector(ar(s)))?(t.instance=o,ol(o),o):(i=a,(o=Vu.get(s))&&(i=Ie({},a),t0(i,o)),e=e.ownerDocument||e,o=e.createElement("script"),ol(o),Kt(o,"link",i),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&wu)===qr&&(i=t.instance,t.state.loading|=wu,hs(i,a.precedence,e));return t.instance}function hs(e,t,a){for(var i=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=i.length?i[i.length-1]:null,s=o,d=0;d<i.length;d++){var h=i[d];if(h.dataset.precedence===t)s=h;else if(s!==o)break}s?s.parentNode.insertBefore(e,s.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function e0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function t0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function ms(e,t,a){if(Yv===null){var i=new Map,o=Yv=new Map;o.set(a,i)}else o=Yv,i=o.get(a),i||(i=new Map,o.set(a,i));if(i.has(e))return i;for(i.set(e,null),a=a.getElementsByTagName(e),o=0;o<a.length;o++){var s=a[o];if(!(s[Os]||s[$t]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!==Fe){var d=s.getAttribute(t)||"";d=e+d;var h=i.get(d);h?h.push(s):i.set(d,[s])}}return i}function jg(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function Ng(e,t,a){var i=!a.ancestorInfo.containerTagInScope;if(a.context===sm||t.itemProp!=null)return!i||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){i&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var o=t.onError,s=t.disabled;a=[],t.onLoad&&a.push("`onLoad`"),o&&a.push("`onError`"),s!=null&&a.push("`disabled`"),o=fg(a,"and"),o+=a.length===1?" prop":" props",s=a.length===1?"an "+o:"the "+o,a.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,s,o)}i&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}return t.rel==="stylesheet"?(e=t.precedence,t=t.disabled,typeof e!="string"&&i&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null):!0;case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){i&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":i&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function it(e){return!(e.type==="stylesheet"&&(e.state.loading&yT)===qr)}function l0(e,t,a,i){if(a.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(a.state.loading&wu)===qr){if(a.instance===null){var o=Fc(i.href),s=t.querySelector(lr(o));if(s){t=s._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=ys.bind(e),t.then(e,e)),a.state.loading|=wu,a.instance=s,ol(s);return}s=t.ownerDocument||t,i=mh(i),(o=Vu.get(o))&&e0(i,o),s=s.createElement("link"),ol(s);var d=s;d._p=new Promise(function(h,p){d.onload=h,d.onerror=p}),Kt(s,"link",i),a.instance=s}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&yT)===qr&&(e.count++,a=ys.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}function ph(e,t){return e.stylesheets&&e.count===0&&nr(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var i=setTimeout(function(){if(e.stylesheets&&nr(e,e.stylesheets),e.unsuspend){var s=e.unsuspend;e.unsuspend=null,s()}},NA+t);0<e.imgBytes&&Sb===0&&(Sb=125*rg()*UA);var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&nr(e,e.stylesheets),e.unsuspend)){var s=e.unsuspend;e.unsuspend=null,s()}},(e.imgBytes>Sb?50:RA)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(o)}}:null}function ys(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)nr(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function nr(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Gv=new Map,t.forEach(a0,e),Gv=null,ys.call(e))}function a0(e,t){if(!(t.state.loading&wu)){var a=Gv.get(e);if(a)var i=a.get(Tb);else{a=new Map,Gv.set(e,a);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<o.length;s++){var d=o[s];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(a.set(d.dataset.precedence,d),i=d)}i&&a.set(Tb,i)}o=t.instance,d=o.getAttribute("data-precedence"),s=a.get(d)||i,s===i&&a.set(Tb,o),a.set(d,o),this.count++,i=ys.bind(this),o.addEventListener("load",i),o.addEventListener("error",i),s?s.parentNode.insertBefore(o,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=wu}}function ur(e,t,a,i,o,s,d,h,p){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Br,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Lr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Lr(0),this.hiddenUpdates=Lr(null),this.identifierPrefix=i,this.onUncaughtError=o,this.onCaughtError=s,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=p,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=a?"hydrateRoot()":"createRoot()"}function ir(e,t,a,i,o,s,d,h,p,g,O,_){return e=new ur(e,t,a,d,p,g,O,_,h),t=nA,s===!0&&(t|=ja|hi),t|=Pe,s=Z(3,null,null,t),e.current=s,s.stateNode=e,t=yd(),zc(t),e.pooledCache=t,zc(t),s.memoizedState={element:i,isDehydrated:a,cache:t},ct(s),e}function Rg(e){return e?(e=Ns,e):Ns}function gh(e,t,a,i,o,s){if(El&&typeof El.onScheduleFiberRoot=="function")try{El.onScheduleFiberRoot(to,i,a)}catch(d){Du||(Du=!0,console.error("React instrumentation encountered an error: %o",d))}o=Rg(o),i.context===null?i.context=o:i.pendingContext=o,Ou&&_a!==null&&!ST&&(ST=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
182
+ - `+Dd(t)+`
183
+ + `+Dd(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=jd(n),t=Je(i).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(`getResource encountered a type it did not expect: "`+e+`". this is a bug in React.`)}}function Dd(e){var t=0,n=`<link`;return typeof e.rel==`string`?(t++,n+=` rel="`+e.rel+`"`):fp.call(e,`rel`)&&(t++,n+=` rel="`+(e.rel===null?`null`:`invalid type `+typeof e.rel)+`"`),typeof e.href==`string`?(t++,n+=` href="`+e.href+`"`):fp.call(e,`href`)&&(t++,n+=` href="`+(e.href===null?`null`:`invalid type `+typeof e.href)+`"`),typeof e.precedence==`string`?(t++,n+=` precedence="`+e.precedence+`"`):fp.call(e,`precedence`)&&(t++,n+=` precedence={`+(e.precedence===null?`null`:`invalid type `+typeof e.precedence)+`}`),Object.getOwnPropertyNames(e).length>t&&(n+=` ...`),n+` />`}function H(e){return`href="`+ut(e)+`"`}function Od(e){return`link[rel="stylesheet"][`+e+`]`}function kd(e){return U({},e,{"data-precedence":e.precedence,precedence:null})}function Ad(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=rC:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=rC}),t.addEventListener(`error`,function(){return r.loading|=iC}),xu(t,`link`,n),Ye(t),e.head.appendChild(t))}function jd(e){return`[src="`+ut(e)+`"]`}function Md(e){return`script[async]`+e}function Nd(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+ut(n.href)+`"]`);if(r)return t.instance=r,Ye(r),r;var i=U({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Ye(r),xu(r,`style`,i),Pd(r,n.precedence,e),t.instance=r;case`stylesheet`:i=H(n.href);var a=e.querySelector(Od(i));if(a)return t.state.loading|=oC,t.instance=a,Ye(a),a;r=kd(n),(i=sC.get(i))&&Fd(r,i),a=(e.ownerDocument||e).createElement(`link`),Ye(a);var o=a;return o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),xu(a,`link`,r),t.state.loading|=oC,Pd(a,n.precedence,e),t.instance=a;case`script`:return a=jd(n.src),(i=e.querySelector(Md(a)))?(t.instance=i,Ye(i),i):(r=n,(i=sC.get(a))&&(r=U({},n),Id(r,i)),e=e.ownerDocument||e,i=e.createElement(`script`),Ye(i),xu(i,`link`,r),e.head.appendChild(i),t.instance=i);case`void`:return null;default:throw Error(`acquireResource encountered a resource type it did not expect: "`+t.type+`". this is a bug in React.`)}else t.type===`stylesheet`&&(t.state.loading&oC)===nC&&(r=t.instance,t.state.loading|=oC,Pd(r,n.precedence,e));return t.instance}function Pd(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Fd(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Id(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}function Ld(e,t,n){if(dC===null){var r=new Map,i=dC=new Map;i.set(n,r)}else i=dC,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[Jp]||a[Vp]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==jm){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Rd(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function zd(e,t,n){var r=!n.ancestorInfo.containerTagInScope;if(n.context===US||t.itemProp!=null)return!r||t.itemProp==null||e!==`meta`&&e!==`title`&&e!==`style`&&e!==`link`&&e!==`script`||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``){r&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError){if(t.rel===`stylesheet`&&typeof t.precedence==`string`){e=t.href;var i=t.onError,a=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),i&&n.push("`onError`"),a!=null&&n.push("`disabled`"),i=Mu(n,`and`),i+=n.length===1?` prop`:` props`,a=n.length===1?`an `+i:`the `+i,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,a,i)}r&&(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error(`Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.`));break}switch(t.rel){case`stylesheet`:return e=t.precedence,t=t.disabled,typeof e!=`string`&&r&&console.error(`Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.`),typeof e==`string`&&t==null;default:return!0}case`script`:if(e=t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`,!e||t.onLoad||t.onError||!t.src||typeof t.src!=`string`){r&&(e?t.onLoad||t.onError?console.error(`Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.`):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error(`Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.`));break}return!0;case`noscript`:case`template`:r&&console.error(`Cannot render <%s> outside the main document. Try moving it into the root <head> tag.`,e)}return!1}function Bd(e){return!(e.type===`stylesheet`&&(e.state.loading&aC)===nC)}function Vd(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&(n.state.loading&oC)===nC){if(n.instance===null){var i=H(r.href),a=t.querySelector(Od(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Ud.bind(e),t.then(e,e)),n.state.loading|=oC,n.instance=a,Ye(a);return}a=t.ownerDocument||t,r=kd(r),(i=sC.get(i))&&Fd(r,i),a=a.createElement(`link`),Ye(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),xu(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&aC)===nC&&(e.count++,n=Ud.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}function Hd(e,t){return e.stylesheets&&e.count===0&&Wd(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Wd(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},fC+t);0<e.imgBytes&&hC===0&&(hC=125*Pu()*mC);var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Wd(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>hC?50:pC)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Ud(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Wd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Wd(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,_C=new Map,t.forEach(Gd,e),_C=null,Ud.call(e))}function Gd(e,t){if(!(t.state.loading&oC)){var n=_C.get(e);if(n)var r=n.get(gC);else{n=new Map,_C.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(gC,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(gC,i),n.set(o,i),this.count++,r=Ud.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=oC}}function Kd(e,t,n,r,i,a,o,s,c){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=QS,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Me(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Me(0),this.hiddenUpdates=Me(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?`hydrateRoot()`:`createRoot()`}function qd(e,t,n,r,i,a,o,s,c,l,u,d){return e=new Kd(e,t,n,o,c,l,u,d,s),t=Pg,!0===a&&(t|=Fg|Ig),t|=K,a=p(3,null,null,t),e.current=a,a.stateNode=e,t=ti(),ni(t),e.pooledCache=t,ni(t),a.memoizedState={element:r,isDehydrated:n,cache:t},qi(a),e}function Jd(e){return e?(e=jg,e):jg}function Yd(e,t,n,r,i,a){if(Dp&&typeof Dp.onScheduleFiberRoot==`function`)try{Dp.onScheduleFiberRoot(Ep,r,n)}catch(e){Op||(Op=!0,console.error(`React instrumentation encountered an error: %o`,e))}i=Jd(i),r.context===null?r.context=i:r.pendingContext=i,dp&&up!==null&&!TC&&(TC=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
180
184
 
181
- Check the render method of %s.`,ce(_a)||"Unknown")),i=Sl(t),i.payload={element:a},s=s===void 0?null:s,s!==null&&(typeof s!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",s),i.callback=s),a=ou(e,i,t),a!==null&&(uu(t,"root.render()",null),Ye(a,e,t),rn(a,e,t))}function Ug(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function n0(e,t){Ug(e,t),(e=e.alternate)&&Ug(e,t)}function u0(e){if(e.tag===13||e.tag===31){var t=Fl(e,67108864);t!==null&&Ye(t,e,67108864),n0(e,67108864)}}function i0(e){if(e.tag===13||e.tag===31){var t=Wl(e);t=sc(t);var a=Fl(e,t);a!==null&&Ye(a,e,t),n0(e,t)}}function jt(){return _a}function c0(e,t,a,i){var o=V.T;V.T=null;var s=St.p;try{St.p=Al,o0(e,t,a,i)}finally{St.p=s,V.T=o}}function Ll(e,t,a,i){var o=V.T;V.T=null;var s=St.p;try{St.p=Jl,o0(e,t,a,i)}finally{St.p=s,V.T=o}}function o0(e,t,a,i){if(Vv){var o=vh(i);if(o===null)wn(e,t,i,Xv,a),Sh(e,i);else if(Hg(o,e,t,a,i))i.stopPropagation();else if(Sh(e,i),t&4&&-1<BA.indexOf(e)){for(;o!==null;){var s=Tn(o);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var d=oc(s.pendingLanes);if(d!==0){var h=s;for(h.pendingLanes|=2,h.entangledLanes|=2;d;){var p=1<<31-Zl(d);h.entanglements[1]|=p,d&=~p}Oa(s),(yt&($l|kn))===la&&(Av=Ul()+$2,Tu(0))}}break;case 31:case 13:h=Fl(s,2),h!==null&&Ye(h,s,2),Ja(),n0(s,2)}if(s=vh(i),s===null&&wn(e,t,i,Xv,a),s===o)break;o=s}o!==null&&i.stopPropagation()}else wn(e,t,i,null,a)}}function vh(e){return e=An(e),s0(e)}function s0(e){if(Xv=null,e=Qu(e),e!==null){var t=xe(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=We(t),e!==null)return e;e=null}else if(a===31){if(e=ft(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Xv=e,null}function bh(e){switch(e){case"beforetoggle":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"toggle":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 Al;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Jl;case"message":switch(dr()){case b0:return Al;case Mh:return Jl;case eo:case Vg:return Pl;case _h:return tc;default:return Pl}default:return Pl}}function Sh(e,t){switch(e){case"focusin":case"focusout":$s=null;break;case"dragenter":case"dragleave":Fs=null;break;case"mouseover":case"mouseout":ks=null;break;case"pointerover":case"pointerout":hp.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":mp.delete(t.pointerId)}}function Wi(e,t,a,i,o,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:a,eventSystemFlags:i,nativeEvent:s,targetContainers:[o]},t!==null&&(t=Tn(t),t!==null&&u0(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Hg(e,t,a,i,o){switch(t){case"focusin":return $s=Wi($s,e,t,a,i,o),!0;case"dragenter":return Fs=Wi(Fs,e,t,a,i,o),!0;case"mouseover":return ks=Wi(ks,e,t,a,i,o),!0;case"pointerover":var s=o.pointerId;return hp.set(s,Wi(hp.get(s)||null,e,t,a,i,o)),!0;case"gotpointercapture":return s=o.pointerId,mp.set(s,Wi(mp.get(s)||null,e,t,a,i,o)),!0}return!1}function f0(e){var t=Qu(e.target);if(t!==null){var a=xe(t);if(a!==null){if(t=a.tag,t===13){if(t=We(a),t!==null){e.blockedOn=t,xp(e.priority,function(){i0(a)});return}}else if(t===31){if(t=ft(a),t!==null){e.blockedOn=t,xp(e.priority,function(){i0(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ps(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=vh(e.nativeEvent);if(a===null){a=e.nativeEvent;var i=new a.constructor(a.type,a),o=i;A0!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),A0=o,a.target.dispatchEvent(i),A0===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),A0=null}else return t=Tn(a),t!==null&&u0(t),e.blockedOn=a,!1;t.shift()}return!0}function Th(e,t,a){ps(e)&&a.delete(t)}function o1(){xb=!1,$s!==null&&ps($s)&&($s=null),Fs!==null&&ps(Fs)&&(Fs=null),ks!==null&&ps(ks)&&(ks=null),hp.forEach(Th),mp.forEach(Th)}function cr(e,t){e.blockedOn===t&&(e.blockedOn=null,xb||(xb=!0,hl.unstable_scheduleCallback(hl.unstable_NormalPriority,o1)))}function Bg(e){Qv!==e&&(Qv=e,hl.unstable_scheduleCallback(hl.unstable_NormalPriority,function(){Qv===e&&(Qv=null);for(var t=0;t<e.length;t+=3){var a=e[t],i=e[t+1],o=e[t+2];if(typeof i!="function"){if(s0(i||a)===null)continue;break}var s=Tn(a);s!==null&&(e.splice(t,3),t-=3,a={pending:!0,data:o,method:a.method,action:i},Object.freeze(a),li(s,a,i,o))}}))}function Wc(e){function t(p){return cr(p,e)}$s!==null&&cr($s,e),Fs!==null&&cr(Fs,e),ks!==null&&cr(ks,e),hp.forEach(t),mp.forEach(t);for(var a=0;a<Ws.length;a++){var i=Ws[a];i.blockedOn===e&&(i.blockedOn=null)}for(;0<Ws.length&&(a=Ws[0],a.blockedOn===null);)f0(a),a.blockedOn===null&&Ws.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var o=a[i],s=a[i+1],d=o[Sa]||null;if(typeof s=="function")d||Bg(a);else if(d){var h=null;if(s&&s.hasAttribute("formAction")){if(o=s,d=s[Sa]||null)h=d.formAction;else if(s0(o)!==null)continue}else h=d.action;typeof h=="function"?a[i+1]=h:(a.splice(i,3),i-=3),Bg(a)}}}function qg(){function e(s){s.canIntercept&&s.info==="react-transition"&&s.intercept({handler:function(){return new Promise(function(d){return o=d})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),i||setTimeout(a,20)}function a(){if(!i&&!navigation.transition){var s=navigation.currentEntry;s&&s.url!=null&&navigation.navigate(s.url,{state:s.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function r0(e){this._internalRoot=e}function Qn(e){this._internalRoot=e}function d0(e){e[di]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var hl=jb(),or=ie,s1=Ab,Ie=Object.assign,Yg=Symbol.for("react.element"),yn=Symbol.for("react.transitional.element"),Ii=Symbol.for("react.portal"),gs=Symbol.for("react.fragment"),ba=Symbol.for("react.strict_mode"),sr=Symbol.for("react.profiler"),xh=Symbol.for("react.consumer"),Ln=Symbol.for("react.context"),vs=Symbol.for("react.forward_ref"),Ic=Symbol.for("react.suspense"),Ma=Symbol.for("react.suspense_list"),fr=Symbol.for("react.memo"),Il=Symbol.for("react.lazy"),Zn=Symbol.for("react.activity"),f1=Symbol.for("react.memo_cache_sentinel"),Gg=Symbol.iterator,bs=Symbol.for("react.client.reference"),vl=Array.isArray,V=or.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,St=s1.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,r1=Object.freeze({pending:!1,data:null,method:null,action:null}),h0=[],m0=[],ri=-1,Pi=lt(null),Ss=lt(null),$a=lt(null),ec=lt(null),Ts=0,wg,Pc,xs,y0,rr,Eh,Ah;ge.__reactDisabledLog=!0;var Es,p0,zh=!1,g0=new(typeof WeakMap=="function"?WeakMap:Map),_a=null,Ou=!1,Fa=Object.prototype.hasOwnProperty,v0=hl.unstable_scheduleCallback,Oh=hl.unstable_cancelCallback,Dh=hl.unstable_shouldYield,Ch=hl.unstable_requestPaint,Ul=hl.unstable_now,dr=hl.unstable_getCurrentPriorityLevel,b0=hl.unstable_ImmediatePriority,Mh=hl.unstable_UserBlockingPriority,eo=hl.unstable_NormalPriority,Vg=hl.unstable_LowPriority,_h=hl.unstable_IdlePriority,S0=hl.log,Xg=hl.unstable_setDisableYieldValue,to=null,El=null,Du=!1,Cu=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Zl=Math.clz32?Math.clz32:gm,T0=Math.log,jh=Math.LN2,As=256,hr=262144,zs=4194304,Al=2,Jl=8,Pl=32,tc=268435456,pn=Math.random().toString(36).slice(2),$t="__reactFiber$"+pn,Sa="__reactProps$"+pn,di="__reactContainer$"+pn,lo="__reactEvents$"+pn,d1="__reactListeners$"+pn,Qg="__reactHandles$"+pn,mr="__reactResources$"+pn,Os="__reactMarker$"+pn,Lg=new Set,Mu={},Ds={},Zg={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Cs=RegExp("^[: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]*$"),x0={},Nh={},Rh=/[\n"\\]/g,E0=!1,Jg=!1,yr=!1,l=!1,n=!1,u=!1,c=["value","defaultValue"],f=!1,r=/["'&<>\n\t]|^\s|\s$/,y="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),v="applet caption html table td th marquee object template foreignObject desc title".split(" "),A=v.concat(["button"]),B="dd dt li option optgroup p rp rt".split(" "),$={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},I={},Y={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},X=/([A-Z])/g,ve=/^ms-/,Ne=/^(?:webkit|moz|o)[A-Z]/,Nt=/^-ms-/,R=/-(.)/g,M=/;\s*$/,U={},W={},Me=!1,mt=!1,Ae=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Le="http://www.w3.org/1998/Math/MathML",Fe="http://www.w3.org/2000/svg",gt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Jn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Kg={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Uh={},pE=RegExp("^(aria)-[: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]*$"),gE=RegExp("^(aria)[A-Z][: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]*$"),xS=!1,ka={},ES=/^on./,vE=/^on[^A-Z]/,bE=RegExp("^(aria)-[: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]*$"),SE=RegExp("^(aria)[A-Z][: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]*$"),TE=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,A0=null,Hh=null,Bh=null,h1=!1,lc=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),m1=!1;if(lc)try{var z0={};Object.defineProperty(z0,"passive",{get:function(){m1=!0}}),window.addEventListener("test",z0,z0),window.removeEventListener("test",z0,z0)}catch{m1=!1}var Ms=null,y1=null,$g=null,pr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Fg=Dl(pr),O0=Ie({},pr,{view:0,detail:0}),xE=Dl(O0),p1,g1,D0,kg=Ie({},O0,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:uf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==D0&&(D0&&e.type==="mousemove"?(p1=e.screenX-D0.screenX,g1=e.screenY-D0.screenY):g1=p1=0,D0=e),p1)},movementY:function(e){return"movementY"in e?e.movementY:g1}}),AS=Dl(kg),EE=Ie({},kg,{dataTransfer:0}),AE=Dl(EE),zE=Ie({},O0,{relatedTarget:0}),v1=Dl(zE),OE=Ie({},pr,{animationName:0,elapsedTime:0,pseudoElement:0}),DE=Dl(OE),CE=Ie({},pr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ME=Dl(CE),_E=Ie({},pr,{data:0}),zS=Dl(_E),jE=zS,NE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},RE={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"},UE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},HE=Ie({},O0,{key:function(e){if(e.key){var t=NE[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=nf(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?RE[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:uf,charCode:function(e){return e.type==="keypress"?nf(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?nf(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),BE=Dl(HE),qE=Ie({},kg,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),OS=Dl(qE),YE=Ie({},O0,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:uf}),GE=Dl(YE),wE=Ie({},pr,{propertyName:0,elapsedTime:0,pseudoElement:0}),VE=Dl(wE),XE=Ie({},kg,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),QE=Dl(XE),LE=Ie({},pr,{newState:0,oldState:0}),ZE=Dl(LE),JE=[9,13,27,32],DS=229,b1=lc&&"CompositionEvent"in window,C0=null;lc&&"documentMode"in document&&(C0=document.documentMode);var KE=lc&&"TextEvent"in window&&!C0,CS=lc&&(!b1||C0&&8<C0&&11>=C0),MS=32,_S=String.fromCharCode(MS),jS=!1,qh=!1,$E={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},M0=null,_0=null,NS=!1;lc&&(NS=nd("input")&&(!document.documentMode||9<document.documentMode));var Wa=typeof Object.is=="function"?Object.is:ud,FE=lc&&"documentMode"in document&&11>=document.documentMode,Yh=null,S1=null,j0=null,T1=!1,Gh={animationend:gc("Animation","AnimationEnd"),animationiteration:gc("Animation","AnimationIteration"),animationstart:gc("Animation","AnimationStart"),transitionrun:gc("Transition","TransitionRun"),transitionstart:gc("Transition","TransitionStart"),transitioncancel:gc("Transition","TransitionCancel"),transitionend:gc("Transition","TransitionEnd")},x1={},RS={};lc&&(RS=document.createElement("div").style,"AnimationEvent"in window||(delete Gh.animationend.animation,delete Gh.animationiteration.animation,delete Gh.animationstart.animation),"TransitionEvent"in window||delete Gh.transitionend.transition);var US=vc("animationend"),HS=vc("animationiteration"),BS=vc("animationstart"),kE=vc("transitionrun"),WE=vc("transitionstart"),IE=vc("transitioncancel"),qS=vc("transitionend"),YS=new Map,E1="abort auxClick beforeToggle 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(" ");E1.push("scrollEnd");var GS=0;if(typeof performance=="object"&&typeof performance.now=="function")var PE=performance,wS=function(){return PE.now()};else{var eA=Date;wS=function(){return eA.now()}}var A1=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},tA="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",Wg=0,z1=1,O1=2,D1=3,Ig="– ",Pg="+ ",VS="  ",Ft=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",_u="Components ⚛",rt="Scheduler ⚛",ht="Blocking",_s=!1,ao={color:"primary",properties:null,tooltipText:"",track:_u},js={start:-0,end:-0,detail:{devtools:ao}},lA=["Changed Props",""],XS="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",aA=["Changed Props",XS],N0=1,no=2,ju=[],wh=0,C1=0,Ns={};Object.freeze(Ns);var Nu=null,Vh=null,qe=0,nA=1,Pe=2,ja=8,hi=16,uA=32,QS=!1;try{var LS=Object.preventExtensions({})}catch{QS=!0}var M1=new WeakMap,Xh=[],Qh=0,ev=null,R0=0,Ru=[],Uu=0,gr=null,uo=1,io="",Ta=null,kt=null,st=!1,ac=!1,Kn=null,Rs=null,Hu=!1,_1=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),j1=lt(null),N1=lt(null),ZS={},tv=null,Lh=null,Zh=!1,iA=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},cA=hl.unstable_scheduleCallback,oA=hl.unstable_NormalPriority,Hl={$$typeof:Ln,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Bl=hl.unstable_now,lv=console.createTask?console.createTask:function(){return null},U0=1,av=2,ea=-0,Us=-0,co=-0,oo=null,Ia=-1.1,vr=-0,ul=-0,je=-1.1,Ue=-1.1,tl=null,ml=!1,br=-0,nc=-1.1,H0=null,Hs=0,R1=null,U1=null,Sr=-1.1,B0=null,Jh=-1.1,nv=-1.1,so=-0,fo=-1.1,Bu=-1.1,H1=0,q0=null,JS=null,KS=null,Bs=-1.1,Tr=null,qs=-1.1,uv=-1.1,$S=-0,FS=-0,iv=0,sA=null,kS=0,Y0=-1.1,cv=!1,ov=!1,G0=null,B1=0,xr=0,Kh=null,WS=V.S;V.S=function(e,t){if(J2=Ul(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>fo&&0>Bu){fo=Bl();var a=fs(),i=Au();(a!==qs||i!==Tr)&&(qs=-1.1),Bs=a,Tr=i}Fu(e,t)}WS!==null&&WS(e,t)};var Er=lt(null),mi={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},w0=[],V0=[],X0=[],Q0=[],L0=[],Z0=[],Ar=new Set;mi.recordUnsafeLifecycleWarnings=function(e,t){Ar.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&w0.push(e),e.mode&ja&&typeof t.UNSAFE_componentWillMount=="function"&&V0.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&X0.push(e),e.mode&ja&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Q0.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&L0.push(e),e.mode&ja&&typeof t.UNSAFE_componentWillUpdate=="function"&&Z0.push(e))},mi.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<w0.length&&(w0.forEach(function(h){e.add(ce(h)||"Component"),Ar.add(h.type)}),w0=[]);var t=new Set;0<V0.length&&(V0.forEach(function(h){t.add(ce(h)||"Component"),Ar.add(h.type)}),V0=[]);var a=new Set;0<X0.length&&(X0.forEach(function(h){a.add(ce(h)||"Component"),Ar.add(h.type)}),X0=[]);var i=new Set;0<Q0.length&&(Q0.forEach(function(h){i.add(ce(h)||"Component"),Ar.add(h.type)}),Q0=[]);var o=new Set;0<L0.length&&(L0.forEach(function(h){o.add(ce(h)||"Component"),Ar.add(h.type)}),L0=[]);var s=new Set;if(0<Z0.length&&(Z0.forEach(function(h){s.add(ce(h)||"Component"),Ar.add(h.type)}),Z0=[]),0<t.size){var d=k(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
185
+ Check the render method of %s.`,w(up)||`Unknown`)),r=Yi(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(typeof a!=`function`&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",a),r.callback=a),n=Xi(e,r,t),n!==null&&(ii(t,`root.render()`,null),Zc(n,e,t),Zi(n,e,t))}function Xd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Zd(e,t){Xd(e,t),(e=e.alternate)&&Xd(e,t)}function Qd(e){if(e.tag===13||e.tag===31){var t=sr(e,67108864);t!==null&&Zc(t,e,67108864),Zd(e,67108864)}}function $d(e){if(e.tag===13||e.tag===31){var t=Yc(e);t=Re(t);var n=sr(e,t);n!==null&&Zc(n,e,t),Zd(e,t)}}function ef(){return up}function tf(e,t,n,r){var i=W.T;W.T=null;var a=Uf.p;try{Uf.p=Ip,rf(e,t,n,r)}finally{Uf.p=a,W.T=i}}function nf(e,t,n,r){var i=W.T;W.T=null;var a=Uf.p;try{Uf.p=Lp,rf(e,t,n,r)}finally{Uf.p=a,W.T=i}}function rf(e,t,n,r){if(IC){var i=af(r);if(i===null)su(e,t,r,LC,n),cf(e,r);else if(uf(i,e,t,n,r))r.stopPropagation();else if(cf(e,r),t&4&&-1<GC.indexOf(e)){for(;i!==null;){var a=Ke(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=De(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Ap(o);s.entanglements[1]|=c,o&=~c}Wl(a),(Hb&(Nb|Pb))===Mb&&(vx=_p()+yx,B(0,!1))}}break;case 31:case 13:s=sr(a,2),s!==null&&Zc(s,a,2),nl(),Zd(a,2)}if(a=af(r),a===null&&su(e,t,r,LC,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else su(e,t,r,null,n)}}function af(e){return e=rn(e),of(e)}function of(e){if(LC=null,e=Ge(e),e!==null){var t=v(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=y(t),e!==null)return e;e=null}else if(n===31){if(e=b(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return LC=e,null}function sf(e){switch(e){case`beforetoggle`: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`toggle`: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 Ip;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`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return Lp;case`message`:switch(vp()){case yp:return Ip;case bp:return Lp;case xp:case Sp:return Rp;case Cp:return zp;default:return Rp}default:return Rp}}function cf(e,t){switch(e){case`focusin`:case`focusout`:zC=null;break;case`dragenter`:case`dragleave`:BC=null;break;case`mouseover`:case`mouseout`:VC=null;break;case`pointerover`:case`pointerout`:HC.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:UC.delete(t.pointerId)}}function lf(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Ke(t),t!==null&&Qd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function uf(e,t,n,r,i){switch(t){case`focusin`:return zC=lf(zC,e,t,n,r,i),!0;case`dragenter`:return BC=lf(BC,e,t,n,r,i),!0;case`mouseover`:return VC=lf(VC,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return HC.set(a,lf(HC.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,UC.set(a,lf(UC.get(a)||null,e,t,n,r,i)),!0}return!1}function df(e){var t=Ge(e.target);if(t!==null){var n=v(t);if(n!==null){if(t=n.tag,t===13){if(t=y(n),t!==null){e.blockedOn=t,Ue(e.priority,function(){$d(n)});return}}else if(t===31){if(t=b(n),t!==null){e.blockedOn=t,Ue(e.priority,function(){$d(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ff(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=af(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n),i=r;Gm!==null&&console.error(`Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue.`),Gm=i,n.target.dispatchEvent(r),Gm===null&&console.error(`Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue.`),Gm=null}else return t=Ke(n),t!==null&&Qd(t),e.blockedOn=n,!1;t.shift()}return!0}function pf(e,t,n){ff(e)&&n.delete(t)}function mf(){RC=!1,zC!==null&&ff(zC)&&(zC=null),BC!==null&&ff(BC)&&(BC=null),VC!==null&&ff(VC)&&(VC=null),HC.forEach(pf),UC.forEach(pf)}function hf(e,t){e.blockedOn===t&&(e.blockedOn=null,RC||(RC=!0,Sf.unstable_scheduleCallback(Sf.unstable_NormalPriority,mf)))}function gf(e){KC!==e&&(KC=e,Sf.unstable_scheduleCallback(Sf.unstable_NormalPriority,function(){KC===e&&(KC=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(of(r||n)===null)continue;break}var a=Ke(n);a!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:i,method:n.method,action:r},Object.freeze(n),Oo(a,n,r,i))}}))}function _f(e){function t(t){return hf(t,e)}zC!==null&&hf(zC,e),BC!==null&&hf(BC,e),VC!==null&&hf(VC,e),HC.forEach(t),UC.forEach(t);for(var n=0;n<WC.length;n++){var r=WC[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<WC.length&&(n=WC[0],n.blockedOn===null);)df(n),n.blockedOn===null&&WC.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[Hp]||null;if(typeof a==`function`)o||gf(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[Hp]||null)s=o.formAction;else if(of(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),gf(n)}}}function vf(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function yf(e){this._internalRoot=e}function bf(e){this._internalRoot=e}function xf(e){e[Up]&&(e._reactRootContainer?console.error(`You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.`):console.error(`You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.`))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Sf=re(),Cf=require(`react`),wf=require(`react-dom`),U=Object.assign,Tf=Symbol.for(`react.element`),Ef=Symbol.for(`react.transitional.element`),Df=Symbol.for(`react.portal`),Of=Symbol.for(`react.fragment`),kf=Symbol.for(`react.strict_mode`),Af=Symbol.for(`react.profiler`),jf=Symbol.for(`react.consumer`),Mf=Symbol.for(`react.context`),Nf=Symbol.for(`react.forward_ref`),Pf=Symbol.for(`react.suspense`),Ff=Symbol.for(`react.suspense_list`),If=Symbol.for(`react.memo`),Lf=Symbol.for(`react.lazy`),Rf=Symbol.for(`react.activity`),zf=Symbol.for(`react.memo_cache_sentinel`),Bf=Symbol.iterator,Vf=Symbol.for(`react.client.reference`),Hf=Array.isArray,W=Cf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Uf=wf.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Wf=Object.freeze({pending:!1,data:null,method:null,action:null}),Gf=[],Kf=[],qf=-1,Jf=ie(null),Yf=ie(null),Xf=ie(null),Zf=ie(null),Qf=0,$f,ep,tp,np,rp,ip,ap;le.__reactDisabledLog=!0;var op,sp,cp=!1,lp=new(typeof WeakMap==`function`?WeakMap:Map),up=null,dp=!1,fp=Object.prototype.hasOwnProperty,pp=Sf.unstable_scheduleCallback,mp=Sf.unstable_cancelCallback,hp=Sf.unstable_shouldYield,gp=Sf.unstable_requestPaint,_p=Sf.unstable_now,vp=Sf.unstable_getCurrentPriorityLevel,yp=Sf.unstable_ImmediatePriority,bp=Sf.unstable_UserBlockingPriority,xp=Sf.unstable_NormalPriority,Sp=Sf.unstable_LowPriority,Cp=Sf.unstable_IdlePriority,wp=Sf.log,Tp=Sf.unstable_setDisableYieldValue,Ep=null,Dp=null,Op=!1,kp=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`,Ap=Math.clz32?Math.clz32:Ee,jp=Math.log,Mp=Math.LN2,Np=256,Pp=262144,Fp=4194304,Ip=2,Lp=8,Rp=32,zp=268435456,Bp=Math.random().toString(36).slice(2),Vp=`__reactFiber$`+Bp,Hp=`__reactProps$`+Bp,Up=`__reactContainer$`+Bp,Wp=`__reactEvents$`+Bp,Gp=`__reactListeners$`+Bp,Kp=`__reactHandles$`+Bp,qp=`__reactResources$`+Bp,Jp=`__reactMarker$`+Bp,Yp=new Set,Xp={},Zp={},Qp={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},$p=RegExp(`^[: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]*$`),em={},tm={},nm=/[\n"\\]/g,rm=!1,im=!1,am=!1,om=!1,sm=!1,cm=!1,lm=[`value`,`defaultValue`],um=!1,dm=/["'&<>\n\t]|^\s|\s$/,fm=`address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp`.split(` `),pm=`applet caption html table td th marquee object template foreignObject desc title`.split(` `),mm=pm.concat([`button`]),hm=`dd dt li option optgroup p rp rt`.split(` `),gm={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},_m={},vm={animation:`animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction`.split(` `),background:`backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize`.split(` `),backgroundPosition:[`backgroundPositionX`,`backgroundPositionY`],border:`borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth`.split(` `),borderBlockEnd:[`borderBlockEndColor`,`borderBlockEndStyle`,`borderBlockEndWidth`],borderBlockStart:[`borderBlockStartColor`,`borderBlockStartStyle`,`borderBlockStartWidth`],borderBottom:[`borderBottomColor`,`borderBottomStyle`,`borderBottomWidth`],borderColor:[`borderBottomColor`,`borderLeftColor`,`borderRightColor`,`borderTopColor`],borderImage:[`borderImageOutset`,`borderImageRepeat`,`borderImageSlice`,`borderImageSource`,`borderImageWidth`],borderInlineEnd:[`borderInlineEndColor`,`borderInlineEndStyle`,`borderInlineEndWidth`],borderInlineStart:[`borderInlineStartColor`,`borderInlineStartStyle`,`borderInlineStartWidth`],borderLeft:[`borderLeftColor`,`borderLeftStyle`,`borderLeftWidth`],borderRadius:[`borderBottomLeftRadius`,`borderBottomRightRadius`,`borderTopLeftRadius`,`borderTopRightRadius`],borderRight:[`borderRightColor`,`borderRightStyle`,`borderRightWidth`],borderStyle:[`borderBottomStyle`,`borderLeftStyle`,`borderRightStyle`,`borderTopStyle`],borderTop:[`borderTopColor`,`borderTopStyle`,`borderTopWidth`],borderWidth:[`borderBottomWidth`,`borderLeftWidth`,`borderRightWidth`,`borderTopWidth`],columnRule:[`columnRuleColor`,`columnRuleStyle`,`columnRuleWidth`],columns:[`columnCount`,`columnWidth`],flex:[`flexBasis`,`flexGrow`,`flexShrink`],flexFlow:[`flexDirection`,`flexWrap`],font:`fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight`.split(` `),fontVariant:`fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition`.split(` `),gap:[`columnGap`,`rowGap`],grid:`gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows`.split(` `),gridArea:[`gridColumnEnd`,`gridColumnStart`,`gridRowEnd`,`gridRowStart`],gridColumn:[`gridColumnEnd`,`gridColumnStart`],gridColumnGap:[`columnGap`],gridGap:[`columnGap`,`rowGap`],gridRow:[`gridRowEnd`,`gridRowStart`],gridRowGap:[`rowGap`],gridTemplate:[`gridTemplateAreas`,`gridTemplateColumns`,`gridTemplateRows`],listStyle:[`listStyleImage`,`listStylePosition`,`listStyleType`],margin:[`marginBottom`,`marginLeft`,`marginRight`,`marginTop`],marker:[`markerEnd`,`markerMid`,`markerStart`],mask:`maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize`.split(` `),maskPosition:[`maskPositionX`,`maskPositionY`],outline:[`outlineColor`,`outlineStyle`,`outlineWidth`],overflow:[`overflowX`,`overflowY`],padding:[`paddingBottom`,`paddingLeft`,`paddingRight`,`paddingTop`],placeContent:[`alignContent`,`justifyContent`],placeItems:[`alignItems`,`justifyItems`],placeSelf:[`alignSelf`,`justifySelf`],textDecoration:[`textDecorationColor`,`textDecorationLine`,`textDecorationStyle`],textEmphasis:[`textEmphasisColor`,`textEmphasisStyle`],transition:[`transitionDelay`,`transitionDuration`,`transitionProperty`,`transitionTimingFunction`],wordWrap:[`overflowWrap`]},ym=/([A-Z])/g,bm=/^ms-/,xm=/^(?:webkit|moz|o)[A-Z]/,Sm=/^-ms-/,Cm=/-(.)/g,wm=/;\s*$/,Tm={},Em={},Dm=!1,Om=!1,km=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `)),Am=`http://www.w3.org/1998/Math/MathML`,jm=`http://www.w3.org/2000/svg`,Mm=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),Nm={accept:`accept`,acceptcharset:`acceptCharset`,"accept-charset":`acceptCharset`,accesskey:`accessKey`,action:`action`,allowfullscreen:`allowFullScreen`,alt:`alt`,as:`as`,async:`async`,autocapitalize:`autoCapitalize`,autocomplete:`autoComplete`,autocorrect:`autoCorrect`,autofocus:`autoFocus`,autoplay:`autoPlay`,autosave:`autoSave`,capture:`capture`,cellpadding:`cellPadding`,cellspacing:`cellSpacing`,challenge:`challenge`,charset:`charSet`,checked:`checked`,children:`children`,cite:`cite`,class:`className`,classid:`classID`,classname:`className`,cols:`cols`,colspan:`colSpan`,content:`content`,contenteditable:`contentEditable`,contextmenu:`contextMenu`,controls:`controls`,controlslist:`controlsList`,coords:`coords`,crossorigin:`crossOrigin`,dangerouslysetinnerhtml:`dangerouslySetInnerHTML`,data:`data`,datetime:`dateTime`,default:`default`,defaultchecked:`defaultChecked`,defaultvalue:`defaultValue`,defer:`defer`,dir:`dir`,disabled:`disabled`,disablepictureinpicture:`disablePictureInPicture`,disableremoteplayback:`disableRemotePlayback`,download:`download`,draggable:`draggable`,enctype:`encType`,enterkeyhint:`enterKeyHint`,fetchpriority:`fetchPriority`,for:`htmlFor`,form:`form`,formmethod:`formMethod`,formaction:`formAction`,formenctype:`formEncType`,formnovalidate:`formNoValidate`,formtarget:`formTarget`,frameborder:`frameBorder`,headers:`headers`,height:`height`,hidden:`hidden`,high:`high`,href:`href`,hreflang:`hrefLang`,htmlfor:`htmlFor`,httpequiv:`httpEquiv`,"http-equiv":`httpEquiv`,icon:`icon`,id:`id`,imagesizes:`imageSizes`,imagesrcset:`imageSrcSet`,inert:`inert`,innerhtml:`innerHTML`,inputmode:`inputMode`,integrity:`integrity`,is:`is`,itemid:`itemID`,itemprop:`itemProp`,itemref:`itemRef`,itemscope:`itemScope`,itemtype:`itemType`,keyparams:`keyParams`,keytype:`keyType`,kind:`kind`,label:`label`,lang:`lang`,list:`list`,loop:`loop`,low:`low`,manifest:`manifest`,marginwidth:`marginWidth`,marginheight:`marginHeight`,max:`max`,maxlength:`maxLength`,media:`media`,mediagroup:`mediaGroup`,method:`method`,min:`min`,minlength:`minLength`,multiple:`multiple`,muted:`muted`,name:`name`,nomodule:`noModule`,nonce:`nonce`,novalidate:`noValidate`,open:`open`,optimum:`optimum`,pattern:`pattern`,placeholder:`placeholder`,playsinline:`playsInline`,poster:`poster`,preload:`preload`,profile:`profile`,radiogroup:`radioGroup`,readonly:`readOnly`,referrerpolicy:`referrerPolicy`,rel:`rel`,required:`required`,reversed:`reversed`,role:`role`,rows:`rows`,rowspan:`rowSpan`,sandbox:`sandbox`,scope:`scope`,scoped:`scoped`,scrolling:`scrolling`,seamless:`seamless`,selected:`selected`,shape:`shape`,size:`size`,sizes:`sizes`,span:`span`,spellcheck:`spellCheck`,src:`src`,srcdoc:`srcDoc`,srclang:`srcLang`,srcset:`srcSet`,start:`start`,step:`step`,style:`style`,summary:`summary`,tabindex:`tabIndex`,target:`target`,title:`title`,type:`type`,usemap:`useMap`,value:`value`,width:`width`,wmode:`wmode`,wrap:`wrap`,about:`about`,accentheight:`accentHeight`,"accent-height":`accentHeight`,accumulate:`accumulate`,additive:`additive`,alignmentbaseline:`alignmentBaseline`,"alignment-baseline":`alignmentBaseline`,allowreorder:`allowReorder`,alphabetic:`alphabetic`,amplitude:`amplitude`,arabicform:`arabicForm`,"arabic-form":`arabicForm`,ascent:`ascent`,attributename:`attributeName`,attributetype:`attributeType`,autoreverse:`autoReverse`,azimuth:`azimuth`,basefrequency:`baseFrequency`,baselineshift:`baselineShift`,"baseline-shift":`baselineShift`,baseprofile:`baseProfile`,bbox:`bbox`,begin:`begin`,bias:`bias`,by:`by`,calcmode:`calcMode`,capheight:`capHeight`,"cap-height":`capHeight`,clip:`clip`,clippath:`clipPath`,"clip-path":`clipPath`,clippathunits:`clipPathUnits`,cliprule:`clipRule`,"clip-rule":`clipRule`,color:`color`,colorinterpolation:`colorInterpolation`,"color-interpolation":`colorInterpolation`,colorinterpolationfilters:`colorInterpolationFilters`,"color-interpolation-filters":`colorInterpolationFilters`,colorprofile:`colorProfile`,"color-profile":`colorProfile`,colorrendering:`colorRendering`,"color-rendering":`colorRendering`,contentscripttype:`contentScriptType`,contentstyletype:`contentStyleType`,cursor:`cursor`,cx:`cx`,cy:`cy`,d:`d`,datatype:`datatype`,decelerate:`decelerate`,descent:`descent`,diffuseconstant:`diffuseConstant`,direction:`direction`,display:`display`,divisor:`divisor`,dominantbaseline:`dominantBaseline`,"dominant-baseline":`dominantBaseline`,dur:`dur`,dx:`dx`,dy:`dy`,edgemode:`edgeMode`,elevation:`elevation`,enablebackground:`enableBackground`,"enable-background":`enableBackground`,end:`end`,exponent:`exponent`,externalresourcesrequired:`externalResourcesRequired`,fill:`fill`,fillopacity:`fillOpacity`,"fill-opacity":`fillOpacity`,fillrule:`fillRule`,"fill-rule":`fillRule`,filter:`filter`,filterres:`filterRes`,filterunits:`filterUnits`,floodopacity:`floodOpacity`,"flood-opacity":`floodOpacity`,floodcolor:`floodColor`,"flood-color":`floodColor`,focusable:`focusable`,fontfamily:`fontFamily`,"font-family":`fontFamily`,fontsize:`fontSize`,"font-size":`fontSize`,fontsizeadjust:`fontSizeAdjust`,"font-size-adjust":`fontSizeAdjust`,fontstretch:`fontStretch`,"font-stretch":`fontStretch`,fontstyle:`fontStyle`,"font-style":`fontStyle`,fontvariant:`fontVariant`,"font-variant":`fontVariant`,fontweight:`fontWeight`,"font-weight":`fontWeight`,format:`format`,from:`from`,fx:`fx`,fy:`fy`,g1:`g1`,g2:`g2`,glyphname:`glyphName`,"glyph-name":`glyphName`,glyphorientationhorizontal:`glyphOrientationHorizontal`,"glyph-orientation-horizontal":`glyphOrientationHorizontal`,glyphorientationvertical:`glyphOrientationVertical`,"glyph-orientation-vertical":`glyphOrientationVertical`,glyphref:`glyphRef`,gradienttransform:`gradientTransform`,gradientunits:`gradientUnits`,hanging:`hanging`,horizadvx:`horizAdvX`,"horiz-adv-x":`horizAdvX`,horizoriginx:`horizOriginX`,"horiz-origin-x":`horizOriginX`,ideographic:`ideographic`,imagerendering:`imageRendering`,"image-rendering":`imageRendering`,in2:`in2`,in:`in`,inlist:`inlist`,intercept:`intercept`,k1:`k1`,k2:`k2`,k3:`k3`,k4:`k4`,k:`k`,kernelmatrix:`kernelMatrix`,kernelunitlength:`kernelUnitLength`,kerning:`kerning`,keypoints:`keyPoints`,keysplines:`keySplines`,keytimes:`keyTimes`,lengthadjust:`lengthAdjust`,letterspacing:`letterSpacing`,"letter-spacing":`letterSpacing`,lightingcolor:`lightingColor`,"lighting-color":`lightingColor`,limitingconeangle:`limitingConeAngle`,local:`local`,markerend:`markerEnd`,"marker-end":`markerEnd`,markerheight:`markerHeight`,markermid:`markerMid`,"marker-mid":`markerMid`,markerstart:`markerStart`,"marker-start":`markerStart`,markerunits:`markerUnits`,markerwidth:`markerWidth`,mask:`mask`,maskcontentunits:`maskContentUnits`,maskunits:`maskUnits`,mathematical:`mathematical`,mode:`mode`,numoctaves:`numOctaves`,offset:`offset`,opacity:`opacity`,operator:`operator`,order:`order`,orient:`orient`,orientation:`orientation`,origin:`origin`,overflow:`overflow`,overlineposition:`overlinePosition`,"overline-position":`overlinePosition`,overlinethickness:`overlineThickness`,"overline-thickness":`overlineThickness`,paintorder:`paintOrder`,"paint-order":`paintOrder`,panose1:`panose1`,"panose-1":`panose1`,pathlength:`pathLength`,patterncontentunits:`patternContentUnits`,patterntransform:`patternTransform`,patternunits:`patternUnits`,pointerevents:`pointerEvents`,"pointer-events":`pointerEvents`,points:`points`,pointsatx:`pointsAtX`,pointsaty:`pointsAtY`,pointsatz:`pointsAtZ`,popover:`popover`,popovertarget:`popoverTarget`,popovertargetaction:`popoverTargetAction`,prefix:`prefix`,preservealpha:`preserveAlpha`,preserveaspectratio:`preserveAspectRatio`,primitiveunits:`primitiveUnits`,property:`property`,r:`r`,radius:`radius`,refx:`refX`,refy:`refY`,renderingintent:`renderingIntent`,"rendering-intent":`renderingIntent`,repeatcount:`repeatCount`,repeatdur:`repeatDur`,requiredextensions:`requiredExtensions`,requiredfeatures:`requiredFeatures`,resource:`resource`,restart:`restart`,result:`result`,results:`results`,rotate:`rotate`,rx:`rx`,ry:`ry`,scale:`scale`,security:`security`,seed:`seed`,shaperendering:`shapeRendering`,"shape-rendering":`shapeRendering`,slope:`slope`,spacing:`spacing`,specularconstant:`specularConstant`,specularexponent:`specularExponent`,speed:`speed`,spreadmethod:`spreadMethod`,startoffset:`startOffset`,stddeviation:`stdDeviation`,stemh:`stemh`,stemv:`stemv`,stitchtiles:`stitchTiles`,stopcolor:`stopColor`,"stop-color":`stopColor`,stopopacity:`stopOpacity`,"stop-opacity":`stopOpacity`,strikethroughposition:`strikethroughPosition`,"strikethrough-position":`strikethroughPosition`,strikethroughthickness:`strikethroughThickness`,"strikethrough-thickness":`strikethroughThickness`,string:`string`,stroke:`stroke`,strokedasharray:`strokeDasharray`,"stroke-dasharray":`strokeDasharray`,strokedashoffset:`strokeDashoffset`,"stroke-dashoffset":`strokeDashoffset`,strokelinecap:`strokeLinecap`,"stroke-linecap":`strokeLinecap`,strokelinejoin:`strokeLinejoin`,"stroke-linejoin":`strokeLinejoin`,strokemiterlimit:`strokeMiterlimit`,"stroke-miterlimit":`strokeMiterlimit`,strokewidth:`strokeWidth`,"stroke-width":`strokeWidth`,strokeopacity:`strokeOpacity`,"stroke-opacity":`strokeOpacity`,suppresscontenteditablewarning:`suppressContentEditableWarning`,suppresshydrationwarning:`suppressHydrationWarning`,surfacescale:`surfaceScale`,systemlanguage:`systemLanguage`,tablevalues:`tableValues`,targetx:`targetX`,targety:`targetY`,textanchor:`textAnchor`,"text-anchor":`textAnchor`,textdecoration:`textDecoration`,"text-decoration":`textDecoration`,textlength:`textLength`,textrendering:`textRendering`,"text-rendering":`textRendering`,to:`to`,transform:`transform`,transformorigin:`transformOrigin`,"transform-origin":`transformOrigin`,typeof:`typeof`,u1:`u1`,u2:`u2`,underlineposition:`underlinePosition`,"underline-position":`underlinePosition`,underlinethickness:`underlineThickness`,"underline-thickness":`underlineThickness`,unicode:`unicode`,unicodebidi:`unicodeBidi`,"unicode-bidi":`unicodeBidi`,unicoderange:`unicodeRange`,"unicode-range":`unicodeRange`,unitsperem:`unitsPerEm`,"units-per-em":`unitsPerEm`,unselectable:`unselectable`,valphabetic:`vAlphabetic`,"v-alphabetic":`vAlphabetic`,values:`values`,vectoreffect:`vectorEffect`,"vector-effect":`vectorEffect`,version:`version`,vertadvy:`vertAdvY`,"vert-adv-y":`vertAdvY`,vertoriginx:`vertOriginX`,"vert-origin-x":`vertOriginX`,vertoriginy:`vertOriginY`,"vert-origin-y":`vertOriginY`,vhanging:`vHanging`,"v-hanging":`vHanging`,videographic:`vIdeographic`,"v-ideographic":`vIdeographic`,viewbox:`viewBox`,viewtarget:`viewTarget`,visibility:`visibility`,vmathematical:`vMathematical`,"v-mathematical":`vMathematical`,vocab:`vocab`,widths:`widths`,wordspacing:`wordSpacing`,"word-spacing":`wordSpacing`,writingmode:`writingMode`,"writing-mode":`writingMode`,x1:`x1`,x2:`x2`,x:`x`,xchannelselector:`xChannelSelector`,xheight:`xHeight`,"x-height":`xHeight`,xlinkactuate:`xlinkActuate`,"xlink:actuate":`xlinkActuate`,xlinkarcrole:`xlinkArcrole`,"xlink:arcrole":`xlinkArcrole`,xlinkhref:`xlinkHref`,"xlink:href":`xlinkHref`,xlinkrole:`xlinkRole`,"xlink:role":`xlinkRole`,xlinkshow:`xlinkShow`,"xlink:show":`xlinkShow`,xlinktitle:`xlinkTitle`,"xlink:title":`xlinkTitle`,xlinktype:`xlinkType`,"xlink:type":`xlinkType`,xmlbase:`xmlBase`,"xml:base":`xmlBase`,xmllang:`xmlLang`,"xml:lang":`xmlLang`,xmlns:`xmlns`,"xml:space":`xmlSpace`,xmlnsxlink:`xmlnsXlink`,"xmlns:xlink":`xmlnsXlink`,xmlspace:`xmlSpace`,y1:`y1`,y2:`y2`,y:`y`,ychannelselector:`yChannelSelector`,z:`z`,zoomandpan:`zoomAndPan`},Pm={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Fm={},Im=RegExp(`^(aria)-[: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]*$`),Lm=RegExp(`^(aria)[A-Z][: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]*$`),Rm=!1,zm={},Bm=/^on./,Vm=/^on[^A-Z]/,Hm=RegExp(`^(aria)-[: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]*$`),Um=RegExp(`^(aria)[A-Z][: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]*$`),Wm=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,Gm=null,Km=null,qm=null,Jm=!1,Ym=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),Xm=!1;if(Ym)try{var Zm={};Object.defineProperty(Zm,`passive`,{get:function(){Xm=!0}}),window.addEventListener(`test`,Zm,Zm),window.removeEventListener(`test`,Zm,Zm)}catch{Xm=!1}var Qm=null,$m=null,eh=null,th={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},nh=fn(th),rh=U({},th,{view:0,detail:0}),ih=fn(rh),ah,oh,sh,ch=U({},rh,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==sh&&(sh&&e.type===`mousemove`?(ah=e.screenX-sh.screenX,oh=e.screenY-sh.screenY):oh=ah=0,sh=e),ah)},movementY:function(e){return`movementY`in e?e.movementY:oh}}),lh=fn(ch),uh=fn(U({},ch,{dataTransfer:0})),dh=fn(U({},rh,{relatedTarget:0})),fh=fn(U({},th,{animationName:0,elapsedTime:0,pseudoElement:0})),ph=fn(U({},th,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),mh=fn(U({},th,{data:0})),hh=mh,gh={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},_h={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`},vh={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`},yh=fn(U({},rh,{key:function(e){if(e.key){var t=gh[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=ln(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?_h[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mn,charCode:function(e){return e.type===`keypress`?ln(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?ln(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),bh=fn(U({},ch,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),xh=fn(U({},rh,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mn})),Sh=fn(U({},th,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ch=fn(U({},ch,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),wh=fn(U({},th,{newState:0,oldState:0})),Th=[9,13,27,32],Eh=229,Dh=Ym&&`CompositionEvent`in window,Oh=null;Ym&&`documentMode`in document&&(Oh=document.documentMode);var kh=Ym&&`TextEvent`in window&&!Oh,Ah=Ym&&(!Dh||Oh&&8<Oh&&11>=Oh),jh=32,Mh=String.fromCharCode(jh),Nh=!1,Ph=!1,Fh={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},Ih=null,Lh=null,Rh=!1;Ym&&(Rh=bn(`input`)&&(!document.documentMode||9<document.documentMode));var zh=typeof Object.is==`function`?Object.is:jn,Bh=Ym&&`documentMode`in document&&11>=document.documentMode,Vh=null,Hh=null,Uh=null,Wh=!1,Gh={animationend:Rn(`Animation`,`AnimationEnd`),animationiteration:Rn(`Animation`,`AnimationIteration`),animationstart:Rn(`Animation`,`AnimationStart`),transitionrun:Rn(`Transition`,`TransitionRun`),transitionstart:Rn(`Transition`,`TransitionStart`),transitioncancel:Rn(`Transition`,`TransitionCancel`),transitionend:Rn(`Transition`,`TransitionEnd`)},Kh={},qh={};Ym&&(qh=document.createElement(`div`).style,`AnimationEvent`in window||(delete Gh.animationend.animation,delete Gh.animationiteration.animation,delete Gh.animationstart.animation),`TransitionEvent`in window||delete Gh.transitionend.transition);var Jh=zn(`animationend`),Yh=zn(`animationiteration`),Xh=zn(`animationstart`),Zh=zn(`transitionrun`),Qh=zn(`transitionstart`),$h=zn(`transitioncancel`),eg=zn(`transitionend`),tg=new Map,ng=`abort auxClick beforeToggle 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(` `);ng.push(`scrollEnd`);var rg=0;if(typeof performance==`object`&&typeof performance.now==`function`)var ig=performance,ag=function(){return ig.now()};else{var og=Date;ag=function(){return og.now()}}var sg=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},cg=`This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.`,lg=0,ug=1,dg=2,fg=3,pg=`–\xA0`,mg=`+\xA0`,hg=` \xA0`,gg=typeof console<`u`&&typeof console.timeStamp==`function`&&typeof performance<`u`&&typeof performance.measure==`function`,_g=`Components ⚛`,vg=`Scheduler ⚛`,yg=`Blocking`,bg=!1,xg={color:`primary`,properties:null,tooltipText:``,track:_g},Sg={start:-0,end:-0,detail:{devtools:xg}},Cg=[`Changed Props`,``],wg=`This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.`,Tg=[`Changed Props`,wg],Eg=1,Dg=2,Og=[],kg=0,Ag=0,jg={};Object.freeze(jg);var Mg=null,Ng=null,G=0,Pg=1,K=2,Fg=8,Ig=16,Lg=32,Rg=!1;try{var zg=Object.preventExtensions({});new Map([[zg,null]]),new Set([zg])}catch{Rg=!0}var Bg=new WeakMap,Vg=[],Hg=0,Ug=null,Wg=0,Gg=[],Kg=0,qg=null,Jg=1,Yg=``,Xg=null,Zg=null,Qg=!1,$g=!1,e_=null,t_=null,n_=!1,r_=Error(`Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.`),i_=ie(null),a_=ie(null),o_={},s_=null,c_=null,l_=!1,u_=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},d_=Sf.unstable_scheduleCallback,f_=Sf.unstable_NormalPriority,p_={$$typeof:Mf,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},m_=Sf.unstable_now,h_=console.createTask?console.createTask:function(){return null},g_=1,__=2,v_=-0,y_=-0,b_=-0,x_=null,S_=-1.1,C_=-0,w_=-0,q=-1.1,J=-1.1,T_=null,E_=!1,D_=-0,O_=-1.1,k_=null,A_=0,j_=null,M_=null,N_=-1.1,P_=null,F_=-1.1,I_=-1.1,L_=-0,R_=-1.1,z_=-1.1,B_=0,V_=null,H_=null,U_=null,W_=-1.1,G_=null,K_=-1.1,q_=-1.1,J_=-0,Y_=-0,X_=0,Z_=null,Q_=0,$_=-1.1,ev=!1,tv=!1,nv=null,rv=0,iv=0,av=null,ov=W.S;W.S=function(e,t){if(gx=_p(),typeof t==`object`&&t&&typeof t.then==`function`){if(0>R_&&0>z_){R_=m_();var n=Vu(),r=Bu();(n!==K_||r!==G_)&&(K_=-1.1),W_=n,G_=r}Ci(e,t)}ov!==null&&ov(e,t)};var sv=ie(null),cv={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},lv=[],uv=[],dv=[],fv=[],pv=[],mv=[],hv=new Set;cv.recordUnsafeLifecycleWarnings=function(e,t){hv.has(e.type)||(typeof t.componentWillMount==`function`&&!0!==t.componentWillMount.__suppressDeprecationWarning&&lv.push(e),e.mode&Fg&&typeof t.UNSAFE_componentWillMount==`function`&&uv.push(e),typeof t.componentWillReceiveProps==`function`&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&dv.push(e),e.mode&Fg&&typeof t.UNSAFE_componentWillReceiveProps==`function`&&fv.push(e),typeof t.componentWillUpdate==`function`&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&pv.push(e),e.mode&Fg&&typeof t.UNSAFE_componentWillUpdate==`function`&&mv.push(e))},cv.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<lv.length&&(lv.forEach(function(t){e.add(w(t)||`Component`),hv.add(t.type)}),lv=[]);var t=new Set;0<uv.length&&(uv.forEach(function(e){t.add(w(e)||`Component`),hv.add(e.type)}),uv=[]);var n=new Set;0<dv.length&&(dv.forEach(function(e){n.add(w(e)||`Component`),hv.add(e.type)}),dv=[]);var r=new Set;0<fv.length&&(fv.forEach(function(e){r.add(w(e)||`Component`),hv.add(e.type)}),fv=[]);var i=new Set;0<pv.length&&(pv.forEach(function(e){i.add(w(e)||`Component`),hv.add(e.type)}),pv=[]);var a=new Set;if(0<mv.length&&(mv.forEach(function(e){a.add(w(e)||`Component`),hv.add(e.type)}),mv=[]),0<t.size){var o=f(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
182
186
 
183
187
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
184
188
 
185
- Please update the following components: %s`,d)}0<i.size&&(d=k(i),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
189
+ Please update the following components: %s`,o)}0<r.size&&(o=f(r),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
186
190
 
187
191
  * Move data fetching code or side effects to componentDidUpdate.
188
192
  * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
189
193
 
190
- Please update the following components: %s`,d)),0<s.size&&(d=k(s),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
194
+ Please update the following components: %s`,o)),0<a.size&&(o=f(a),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
191
195
 
192
196
  * Move data fetching code or side effects to componentDidUpdate.
193
197
 
194
- Please update the following components: %s`,d)),0<e.size&&(d=k(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
198
+ Please update the following components: %s`,o)),0<e.size&&(o=f(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
195
199
 
196
200
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
197
201
  * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
198
202
 
199
- Please update the following components: %s`,d)),0<a.size&&(d=k(a),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
203
+ Please update the following components: %s`,o)),0<n.size&&(o=f(n),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
200
204
 
201
205
  * Move data fetching code or side effects to componentDidUpdate.
202
206
  * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
203
207
  * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
204
208
 
205
- Please update the following components: %s`,d)),0<o.size&&(d=k(o),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
209
+ Please update the following components: %s`,o)),0<i.size&&(o=f(i),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
206
210
 
207
211
  * Move data fetching code or side effects to componentDidUpdate.
208
212
  * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
209
213
 
210
- Please update the following components: %s`,d))};var sv=new Map,IS=new Set;mi.recordLegacyContextWarning=function(e,t){for(var a=null,i=e;i!==null;)i.mode&ja&&(a=i),i=i.return;a===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!IS.has(e.type)&&(i=sv.get(a),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],sv.set(a,i)),i.push(e))},mi.flushLegacyContextWarning=function(){sv.forEach(function(e){if(e.length!==0){var t=e[0],a=new Set;e.forEach(function(o){a.add(ce(o)||"Component"),IS.add(o.type)});var i=k(a);ee(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
214
+ Please update the following components: %s`,o))};var gv=new Map,_v=new Set;cv.recordLegacyContextWarning=function(e,t){for(var n=null,r=e;r!==null;)r.mode&Fg&&(n=r),r=r.return;n===null?console.error(`Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.`):!_v.has(e.type)&&(r=gv.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext==`function`)&&(r===void 0&&(r=[],gv.set(n,r)),r.push(e))},cv.flushLegacyContextWarning=function(){gv.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(e){n.add(w(e)||`Component`),_v.add(e.type)});var r=f(n);M(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
211
215
 
212
216
  The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
213
217
 
214
218
  Please update the following components: %s
215
219
 
216
- Learn more about this warning here: https://react.dev/link/legacy-context`,i)})}})},mi.discardPendingWarnings=function(){w0=[],V0=[],X0=[],Q0=[],L0=[],Z0=[],sv=new Map};var PS={react_stack_bottom_frame:function(e,t,a){var i=Ou;Ou=!0;try{return e(t,a)}finally{Ou=i}}},q1=PS.react_stack_bottom_frame.bind(PS),e2={react_stack_bottom_frame:function(e){var t=Ou;Ou=!0;try{return e.render()}finally{Ou=t}}},t2=e2.react_stack_bottom_frame.bind(e2),l2={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(a){$e(e,e.return,a)}}},Y1=l2.react_stack_bottom_frame.bind(l2),a2={react_stack_bottom_frame:function(e,t,a,i,o){try{t.componentDidUpdate(a,i,o)}catch(s){$e(e,e.return,s)}}},n2=a2.react_stack_bottom_frame.bind(a2),u2={react_stack_bottom_frame:function(e,t){var a=t.stack;e.componentDidCatch(t.value,{componentStack:a!==null?a:""})}},fA=u2.react_stack_bottom_frame.bind(u2),i2={react_stack_bottom_frame:function(e,t,a){try{a.componentWillUnmount()}catch(i){$e(e,t,i)}}},c2=i2.react_stack_bottom_frame.bind(i2),o2={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},rA=o2.react_stack_bottom_frame.bind(o2),s2={react_stack_bottom_frame:function(e,t,a){try{a()}catch(i){$e(e,t,i)}}},dA=s2.react_stack_bottom_frame.bind(s2),f2={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},hA=f2.react_stack_bottom_frame.bind(f2),$h=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),G1=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),fv=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),rv={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},zr=null,J0=!1,Fh=null,K0=0,et=null,w1,r2=w1=!1,d2={},h2={},m2={};re=function(e,t,a){if(a!==null&&typeof a=="object"&&a._store&&(!a._store.validated&&a.key==null||a._store.validated===2)){if(typeof a._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");a._store.validated=1;var i=ce(e),o=i||"null";if(!d2[o]){d2[o]=!0,a=a._owner,e=e._debugOwner;var s="";e&&typeof e.tag=="number"&&(o=ce(e))&&(s=`
220
+ Learn more about this warning here: https://react.dev/link/legacy-context`,r)})}})},cv.discardPendingWarnings=function(){lv=[],uv=[],dv=[],fv=[],pv=[],mv=[],gv=new Map};var vv={react_stack_bottom_frame:function(e,t,n){var r=dp;dp=!0;try{return e(t,n)}finally{dp=r}}},yv=vv.react_stack_bottom_frame.bind(vv),bv={react_stack_bottom_frame:function(e){var t=dp;dp=!0;try{return e.render()}finally{dp=t}}},xv=bv.react_stack_bottom_frame.bind(bv),Sv={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(t){jl(e,e.return,t)}}},Cv=Sv.react_stack_bottom_frame.bind(Sv),wv={react_stack_bottom_frame:function(e,t,n,r,i){try{t.componentDidUpdate(n,r,i)}catch(t){jl(e,e.return,t)}}},Tv=wv.react_stack_bottom_frame.bind(wv),Ev={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n===null?``:n})}},Dv=Ev.react_stack_bottom_frame.bind(Ev),Ov={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(n){jl(e,t,n)}}},kv=Ov.react_stack_bottom_frame.bind(Ov),Av={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},jv=Av.react_stack_bottom_frame.bind(Av),Mv={react_stack_bottom_frame:function(e,t,n){try{n()}catch(n){jl(e,t,n)}}},Nv=Mv.react_stack_bottom_frame.bind(Mv),Pv={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},Fv=Pv.react_stack_bottom_frame.bind(Pv),Iv=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),Lv=Error(`Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.`),Rv=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),zv={then:function(){console.error(`Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.`)}},Bv=null,Vv=!1,Hv=null,Uv=0,Y=null,Wv,Gv=Wv=!1,Kv={},qv={},Jv={};d=function(e,t,n){if(typeof n==`object`&&n&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._store!=`object`)throw Error(`React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.`);n._store.validated=1;var r=w(e),i=r||`null`;if(!Kv[i]){Kv[i]=!0,n=n._owner,e=e._debugOwner;var a=``;e&&typeof e.tag==`number`&&(i=w(e))&&(a=`
217
221
 
218
- Check the render method of \``+o+"`."),s||i&&(s=`
222
+ Check the render method of \``+i+"`."),a||r&&(a=`
219
223
 
220
- Check the top-level render call using <`+i+">.");var d="";a!=null&&e!==a&&(i=null,typeof a.tag=="number"?i=ce(a):typeof a.name=="string"&&(i=a.name),i&&(d=" It was passed a child from "+i+".")),ee(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',s,d)})}}};var Or=Ml(!0),y2=Ml(!1),p2=0,g2=1,v2=2,V1=3,Ys=!1,b2=!1,X1=null,Q1=!1,kh=lt(null),dv=lt(0),$n=lt(null),qu=null,Wh=1,$0=2,zl=lt(0),hv=0,Yu=1,Pa=2,Fn=4,en=8,Ih,S2=new Set,T2=new Set,L1=new Set,x2=new Set,ro=0,Ve=null,wt=null,ql=null,mv=!1,Ph=!1,Dr=!1,yv=0,F0=0,ho=null,mA=0,yA=25,w=null,Gu=null,mo=-1,k0=!1,W0={readContext:vt,use:Pu,useCallback:al,useContext:al,useEffect:al,useImperativeHandle:al,useLayoutEffect:al,useInsertionEffect:al,useMemo:al,useReducer:al,useRef:al,useState:al,useDebugValue:al,useDeferredValue:al,useTransition:al,useSyncExternalStore:al,useId:al,useHostTransitionStatus:al,useFormState:al,useActionState:al,useOptimistic:al,useMemoCache:al,useCacheRefresh:al};W0.useEffectEvent=al;var Z1=null,E2=null,J1=null,A2=null,uc=null,yi=null,pv=null;Z1={readContext:function(e){return vt(e)},use:Pu,useCallback:function(e,t){return w="useCallback",we(),Iu(t),Od(e,t)},useContext:function(e){return w="useContext",we(),vt(e)},useEffect:function(e,t){return w="useEffect",we(),Iu(t),Hc(e,t)},useImperativeHandle:function(e,t,a){return w="useImperativeHandle",we(),Iu(a),du(e,t,a)},useInsertionEffect:function(e,t){w="useInsertionEffect",we(),Iu(t),wi(4,Pa,e,t)},useLayoutEffect:function(e,t){return w="useLayoutEffect",we(),Iu(t),ra(e,t)},useMemo:function(e,t){w="useMemo",we(),Iu(t);var a=V.H;V.H=uc;try{return da(e,t)}finally{V.H=a}},useReducer:function(e,t,a){w="useReducer",we();var i=V.H;V.H=uc;try{return wo(e,t,a)}finally{V.H=i}},useRef:function(e){return w="useRef",we(),zd(e)},useState:function(e){w="useState",we();var t=V.H;V.H=uc;try{return Bi(e)}finally{V.H=t}},useDebugValue:function(){w="useDebugValue",we()},useDeferredValue:function(e,t){return w="useDeferredValue",we(),Zo(e,t)},useTransition:function(){return w="useTransition",we(),Vi()},useSyncExternalStore:function(e,t,a){return w="useSyncExternalStore",we(),Vo(e,t,a)},useId:function(){return w="useId",we(),_f()},useFormState:function(e,t){return w="useFormState",we(),bf(),Va(e,t)},useActionState:function(e,t){return w="useActionState",we(),Va(e,t)},useOptimistic:function(e){return w="useOptimistic",we(),Uc(e)},useHostTransitionStatus:ai,useMemoCache:Ga,useCacheRefresh:function(){return w="useCacheRefresh",we(),Dd()},useEffectEvent:function(e){return w="useEffectEvent",we(),Cf(e)}},E2={readContext:function(e){return vt(e)},use:Pu,useCallback:function(e,t){return w="useCallback",P(),Od(e,t)},useContext:function(e){return w="useContext",P(),vt(e)},useEffect:function(e,t){return w="useEffect",P(),Hc(e,t)},useImperativeHandle:function(e,t,a){return w="useImperativeHandle",P(),du(e,t,a)},useInsertionEffect:function(e,t){w="useInsertionEffect",P(),wi(4,Pa,e,t)},useLayoutEffect:function(e,t){return w="useLayoutEffect",P(),ra(e,t)},useMemo:function(e,t){w="useMemo",P();var a=V.H;V.H=uc;try{return da(e,t)}finally{V.H=a}},useReducer:function(e,t,a){w="useReducer",P();var i=V.H;V.H=uc;try{return wo(e,t,a)}finally{V.H=i}},useRef:function(e){return w="useRef",P(),zd(e)},useState:function(e){w="useState",P();var t=V.H;V.H=uc;try{return Bi(e)}finally{V.H=t}},useDebugValue:function(){w="useDebugValue",P()},useDeferredValue:function(e,t){return w="useDeferredValue",P(),Zo(e,t)},useTransition:function(){return w="useTransition",P(),Vi()},useSyncExternalStore:function(e,t,a){return w="useSyncExternalStore",P(),Vo(e,t,a)},useId:function(){return w="useId",P(),_f()},useActionState:function(e,t){return w="useActionState",P(),Va(e,t)},useFormState:function(e,t){return w="useFormState",P(),bf(),Va(e,t)},useOptimistic:function(e){return w="useOptimistic",P(),Uc(e)},useHostTransitionStatus:ai,useMemoCache:Ga,useCacheRefresh:function(){return w="useCacheRefresh",P(),Dd()},useEffectEvent:function(e){return w="useEffectEvent",P(),Cf(e)}},J1={readContext:function(e){return vt(e)},use:Pu,useCallback:function(e,t){return w="useCallback",P(),Hn(e,t)},useContext:function(e){return w="useContext",P(),vt(e)},useEffect:function(e,t){w="useEffect",P(),Tl(2048,en,e,t)},useImperativeHandle:function(e,t,a){return w="useImperativeHandle",P(),Lo(e,t,a)},useInsertionEffect:function(e,t){return w="useInsertionEffect",P(),Tl(4,Pa,e,t)},useLayoutEffect:function(e,t){return w="useLayoutEffect",P(),Tl(4,Fn,e,t)},useMemo:function(e,t){w="useMemo",P();var a=V.H;V.H=yi;try{return Jt(e,t)}finally{V.H=a}},useReducer:function(e,t,a){w="useReducer",P();var i=V.H;V.H=yi;try{return jc(e,t,a)}finally{V.H=i}},useRef:function(){return w="useRef",P(),xt().memoizedState},useState:function(){w="useState",P();var e=V.H;V.H=yi;try{return jc(wa)}finally{V.H=e}},useDebugValue:function(){w="useDebugValue",P()},useDeferredValue:function(e,t){return w="useDeferredValue",P(),hu(e,t)},useTransition:function(){return w="useTransition",P(),Zp()},useSyncExternalStore:function(e,t,a){return w="useSyncExternalStore",P(),Rc(e,t,a)},useId:function(){return w="useId",P(),xt().memoizedState},useFormState:function(e){return w="useFormState",P(),bf(),Yi(e)},useActionState:function(e){return w="useActionState",P(),Yi(e)},useOptimistic:function(e,t){return w="useOptimistic",P(),zf(e,t)},useHostTransitionStatus:ai,useMemoCache:Ga,useCacheRefresh:function(){return w="useCacheRefresh",P(),xt().memoizedState},useEffectEvent:function(e){return w="useEffectEvent",P(),Qo(e)}},A2={readContext:function(e){return vt(e)},use:Pu,useCallback:function(e,t){return w="useCallback",P(),Hn(e,t)},useContext:function(e){return w="useContext",P(),vt(e)},useEffect:function(e,t){w="useEffect",P(),Tl(2048,en,e,t)},useImperativeHandle:function(e,t,a){return w="useImperativeHandle",P(),Lo(e,t,a)},useInsertionEffect:function(e,t){return w="useInsertionEffect",P(),Tl(4,Pa,e,t)},useLayoutEffect:function(e,t){return w="useLayoutEffect",P(),Tl(4,Fn,e,t)},useMemo:function(e,t){w="useMemo",P();var a=V.H;V.H=pv;try{return Jt(e,t)}finally{V.H=a}},useReducer:function(e,t,a){w="useReducer",P();var i=V.H;V.H=pv;try{return Nc(e,t,a)}finally{V.H=i}},useRef:function(){return w="useRef",P(),xt().memoizedState},useState:function(){w="useState",P();var e=V.H;V.H=pv;try{return Nc(wa)}finally{V.H=e}},useDebugValue:function(){w="useDebugValue",P()},useDeferredValue:function(e,t){return w="useDeferredValue",P(),Je(e,t)},useTransition:function(){return w="useTransition",P(),It()},useSyncExternalStore:function(e,t,a){return w="useSyncExternalStore",P(),Rc(e,t,a)},useId:function(){return w="useId",P(),xt().memoizedState},useFormState:function(e){return w="useFormState",P(),bf(),Gi(e)},useActionState:function(e){return w="useActionState",P(),Gi(e)},useOptimistic:function(e,t){return w="useOptimistic",P(),Of(e,t)},useHostTransitionStatus:ai,useMemoCache:Ga,useCacheRefresh:function(){return w="useCacheRefresh",P(),xt().memoizedState},useEffectEvent:function(e){return w="useEffectEvent",P(),Qo(e)}},uc={readContext:function(e){return L(),vt(e)},use:function(e){return D(),Pu(e)},useCallback:function(e,t){return w="useCallback",D(),we(),Od(e,t)},useContext:function(e){return w="useContext",D(),we(),vt(e)},useEffect:function(e,t){return w="useEffect",D(),we(),Hc(e,t)},useImperativeHandle:function(e,t,a){return w="useImperativeHandle",D(),we(),du(e,t,a)},useInsertionEffect:function(e,t){w="useInsertionEffect",D(),we(),wi(4,Pa,e,t)},useLayoutEffect:function(e,t){return w="useLayoutEffect",D(),we(),ra(e,t)},useMemo:function(e,t){w="useMemo",D(),we();var a=V.H;V.H=uc;try{return da(e,t)}finally{V.H=a}},useReducer:function(e,t,a){w="useReducer",D(),we();var i=V.H;V.H=uc;try{return wo(e,t,a)}finally{V.H=i}},useRef:function(e){return w="useRef",D(),we(),zd(e)},useState:function(e){w="useState",D(),we();var t=V.H;V.H=uc;try{return Bi(e)}finally{V.H=t}},useDebugValue:function(){w="useDebugValue",D(),we()},useDeferredValue:function(e,t){return w="useDeferredValue",D(),we(),Zo(e,t)},useTransition:function(){return w="useTransition",D(),we(),Vi()},useSyncExternalStore:function(e,t,a){return w="useSyncExternalStore",D(),we(),Vo(e,t,a)},useId:function(){return w="useId",D(),we(),_f()},useFormState:function(e,t){return w="useFormState",D(),we(),Va(e,t)},useActionState:function(e,t){return w="useActionState",D(),we(),Va(e,t)},useOptimistic:function(e){return w="useOptimistic",D(),we(),Uc(e)},useMemoCache:function(e){return D(),Ga(e)},useHostTransitionStatus:ai,useCacheRefresh:function(){return w="useCacheRefresh",we(),Dd()},useEffectEvent:function(e){return w="useEffectEvent",D(),we(),Cf(e)}},yi={readContext:function(e){return L(),vt(e)},use:function(e){return D(),Pu(e)},useCallback:function(e,t){return w="useCallback",D(),P(),Hn(e,t)},useContext:function(e){return w="useContext",D(),P(),vt(e)},useEffect:function(e,t){w="useEffect",D(),P(),Tl(2048,en,e,t)},useImperativeHandle:function(e,t,a){return w="useImperativeHandle",D(),P(),Lo(e,t,a)},useInsertionEffect:function(e,t){return w="useInsertionEffect",D(),P(),Tl(4,Pa,e,t)},useLayoutEffect:function(e,t){return w="useLayoutEffect",D(),P(),Tl(4,Fn,e,t)},useMemo:function(e,t){w="useMemo",D(),P();var a=V.H;V.H=yi;try{return Jt(e,t)}finally{V.H=a}},useReducer:function(e,t,a){w="useReducer",D(),P();var i=V.H;V.H=yi;try{return jc(e,t,a)}finally{V.H=i}},useRef:function(){return w="useRef",D(),P(),xt().memoizedState},useState:function(){w="useState",D(),P();var e=V.H;V.H=yi;try{return jc(wa)}finally{V.H=e}},useDebugValue:function(){w="useDebugValue",D(),P()},useDeferredValue:function(e,t){return w="useDeferredValue",D(),P(),hu(e,t)},useTransition:function(){return w="useTransition",D(),P(),Zp()},useSyncExternalStore:function(e,t,a){return w="useSyncExternalStore",D(),P(),Rc(e,t,a)},useId:function(){return w="useId",D(),P(),xt().memoizedState},useFormState:function(e){return w="useFormState",D(),P(),Yi(e)},useActionState:function(e){return w="useActionState",D(),P(),Yi(e)},useOptimistic:function(e,t){return w="useOptimistic",D(),P(),zf(e,t)},useMemoCache:function(e){return D(),Ga(e)},useHostTransitionStatus:ai,useCacheRefresh:function(){return w="useCacheRefresh",P(),xt().memoizedState},useEffectEvent:function(e){return w="useEffectEvent",D(),P(),Qo(e)}},pv={readContext:function(e){return L(),vt(e)},use:function(e){return D(),Pu(e)},useCallback:function(e,t){return w="useCallback",D(),P(),Hn(e,t)},useContext:function(e){return w="useContext",D(),P(),vt(e)},useEffect:function(e,t){w="useEffect",D(),P(),Tl(2048,en,e,t)},useImperativeHandle:function(e,t,a){return w="useImperativeHandle",D(),P(),Lo(e,t,a)},useInsertionEffect:function(e,t){return w="useInsertionEffect",D(),P(),Tl(4,Pa,e,t)},useLayoutEffect:function(e,t){return w="useLayoutEffect",D(),P(),Tl(4,Fn,e,t)},useMemo:function(e,t){w="useMemo",D(),P();var a=V.H;V.H=yi;try{return Jt(e,t)}finally{V.H=a}},useReducer:function(e,t,a){w="useReducer",D(),P();var i=V.H;V.H=yi;try{return Nc(e,t,a)}finally{V.H=i}},useRef:function(){return w="useRef",D(),P(),xt().memoizedState},useState:function(){w="useState",D(),P();var e=V.H;V.H=yi;try{return Nc(wa)}finally{V.H=e}},useDebugValue:function(){w="useDebugValue",D(),P()},useDeferredValue:function(e,t){return w="useDeferredValue",D(),P(),Je(e,t)},useTransition:function(){return w="useTransition",D(),P(),It()},useSyncExternalStore:function(e,t,a){return w="useSyncExternalStore",D(),P(),Rc(e,t,a)},useId:function(){return w="useId",D(),P(),xt().memoizedState},useFormState:function(e){return w="useFormState",D(),P(),Gi(e)},useActionState:function(e){return w="useActionState",D(),P(),Gi(e)},useOptimistic:function(e,t){return w="useOptimistic",D(),P(),Of(e,t)},useMemoCache:function(e){return D(),Ga(e)},useHostTransitionStatus:ai,useCacheRefresh:function(){return w="useCacheRefresh",P(),xt().memoizedState},useEffectEvent:function(e){return w="useEffectEvent",D(),P(),Qo(e)}};var z2={},O2=new Set,D2=new Set,C2=new Set,M2=new Set,_2=new Set,j2=new Set,N2=new Set,R2=new Set,U2=new Set,H2=new Set;Object.freeze(z2);var K1={enqueueSetState:function(e,t,a){e=e._reactInternals;var i=Wl(e),o=Sl(i);o.payload=t,a!=null&&(Gc(a),o.callback=a),t=ou(e,o,i),t!==null&&(uu(i,"this.setState()",e),Ye(t,e,i),rn(t,e,i))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var i=Wl(e),o=Sl(i);o.tag=g2,o.payload=t,a!=null&&(Gc(a),o.callback=a),t=ou(e,o,i),t!==null&&(uu(i,"this.replaceState()",e),Ye(t,e,i),rn(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Wl(e),i=Sl(a);i.tag=v2,t!=null&&(Gc(t),i.callback=t),t=ou(e,i,a),t!==null&&(uu(a,"this.forceUpdate()",e),Ye(t,e,a),rn(t,e,a))}},em=null,$1=null,F1=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),Yl=!1,B2={},q2={},Y2={},G2={},tm=!1,w2={},gv={},k1={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},V2=!1,X2=null;X2=new Set;var yo=!1,Gl=!1,W1=!1,Q2=typeof WeakSet=="function"?WeakSet:Set,ta=null,lm=null,am=null,wl=null,gn=!1,pi=null,Kl=!1,I0=8192,pA={getCacheForType:function(e){var t=vt(Hl),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return vt(Hl).controller.signal},getOwner:function(){return _a}};if(typeof Symbol=="function"&&Symbol.for){var P0=Symbol.for;P0("selector.component"),P0("selector.has_pseudo_class"),P0("selector.role"),P0("selector.test_id"),P0("selector.text")}var gA=[],vA=typeof WeakMap=="function"?WeakMap:Map,la=0,$l=2,kn=4,po=0,ep=1,Cr=2,vv=3,Gs=4,bv=6,L2=5,yt=la,Vt=null,nt=null,tt=0,vn=0,Sv=1,Mr=2,tp=3,Z2=4,I1=5,lp=6,Tv=7,P1=8,_r=9,Rt=vn,Wn=null,ws=!1,nm=!1,eb=!1,ic=0,il=po,Vs=0,Xs=0,tb=0,bn=0,jr=0,ap=null,tn=null,xv=!1,Ev=0,J2=0,K2=300,Av=1/0,$2=500,np=null,bl=null,Qs=null,zv=0,lb=1,ab=2,F2=3,Ls=0,k2=1,W2=2,I2=3,P2=4,Ov=5,Vl=0,Zs=null,um=null,gi=0,nb=0,ub=-0,ib=null,eT=null,tT=null,vi=zv,lT=null,bA=50,up=0,cb=null,ob=!1,Dv=!1,SA=50,Nr=0,ip=null,im=!1,Cv=null,aT=!1,nT=new Set,TA={},Mv=null,cm=null,sb=!1,fb=!1,_v=!1,rb=!1,Js=0,db={};(function(){for(var e=0;e<E1.length;e++){var t=E1[e],a=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),zn(a,"on"+t)}zn(US,"onAnimationEnd"),zn(HS,"onAnimationIteration"),zn(BS,"onAnimationStart"),zn("dblclick","onDoubleClick"),zn("focusin","onFocus"),zn("focusout","onBlur"),zn(kE,"onTransitionRun"),zn(WE,"onTransitionStart"),zn(IE,"onTransitionCancel"),zn(qS,"onTransitionEnd")})(),So("onMouseEnter",["mouseout","mouseover"]),So("onMouseLeave",["mouseout","mouseover"]),So("onPointerEnter",["pointerout","pointerover"]),So("onPointerLeave",["pointerout","pointerover"]),xn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),xn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),xn("onBeforeInput",["compositionend","keypress","textInput","paste"]),xn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),xn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),xn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var cp="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(" "),hb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(cp)),jv="_reactListening"+Math.random().toString(36).slice(2),uT=!1,iT=!1,Nv=!1,cT=!1,Rv=!1,Uv=!1,oT=!1,Hv={},xA=/\r\n?/g,EA=/\u0000|\uFFFD/g,Rr="http://www.w3.org/1999/xlink",mb="http://www.w3.org/XML/1998/namespace",AA="javascript:throw new Error('React form unexpectedly submitted.')",zA="suppressHydrationWarning",Ur="&",Bv="/&",op="$",sp="/$",Ks="$?",Hr="$~",om="$!",OA="html",DA="body",CA="head",yb="F!",sT="F",fT="loading",MA="style",go=0,sm=1,qv=2,pb=null,gb=null,rT={dialog:!0,webview:!0},vb=null,fp=void 0,dT=typeof setTimeout=="function"?setTimeout:void 0,_A=typeof clearTimeout=="function"?clearTimeout:void 0,Br=-1,hT=typeof Promise=="function"?Promise:void 0,jA=typeof queueMicrotask=="function"?queueMicrotask:typeof hT<"u"?function(e){return hT.resolve(null).then(e).catch(hg)}:dT,bb=null,qr=0,rp=1,mT=2,yT=3,wu=4,Vu=new Map,pT=new Set,vo=St.d;St.d={f:function(){var e=vo.f(),t=Ja();return e||t},r:function(e){var t=Tn(e);t!==null&&t.tag===5&&t.type==="form"?Jo(t):vo.r(e)},D:function(e){vo.D(e),Iy("dns-prefetch",e,null)},C:function(e,t){vo.C(e,t),Iy("preconnect",e,t)},L:function(e,t,a){vo.L(e,t,a);var i=fm;if(i&&e&&t){var o='link[rel="preload"][as="'+Ct(t)+'"]';t==="image"&&a&&a.imageSrcSet?(o+='[imagesrcset="'+Ct(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(o+='[imagesizes="'+Ct(a.imageSizes)+'"]')):o+='[href="'+Ct(e)+'"]';var s=o;switch(t){case"style":s=Fc(e);break;case"script":s=kc(e)}Vu.has(s)||(e=Ie({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Vu.set(s,e),i.querySelector(o)!==null||t==="style"&&i.querySelector(lr(s))||t==="script"&&i.querySelector(ar(s))||(t=i.createElement("link"),Kt(t,"link",e),ol(t),i.head.appendChild(t)))}},m:function(e,t){vo.m(e,t);var a=fm;if(a&&e){var i=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+Ct(i)+'"][href="'+Ct(e)+'"]',s=o;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=kc(e)}if(!Vu.has(s)&&(e=Ie({rel:"modulepreload",href:e},t),Vu.set(s,e),a.querySelector(o)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(ar(s)))return}i=a.createElement("link"),Kt(i,"link",e),ol(i),a.head.appendChild(i)}}},X:function(e,t){vo.X(e,t);var a=fm;if(a&&e){var i=ln(a).hoistableScripts,o=kc(e),s=i.get(o);s||(s=a.querySelector(ar(o)),s||(e=Ie({src:e,async:!0},t),(t=Vu.get(o))&&t0(e,t),s=a.createElement("script"),ol(s),Kt(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(o,s))}},S:function(e,t,a){vo.S(e,t,a);var i=fm;if(i&&e){var o=ln(i).hoistableStyles,s=Fc(e);t=t||"default";var d=o.get(s);if(!d){var h={loading:qr,preload:null};if(d=i.querySelector(lr(s)))h.loading=rp|wu;else{e=Ie({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Vu.get(s))&&e0(e,a);var p=d=i.createElement("link");ol(p),Kt(p,"link",e),p._p=new Promise(function(g,O){p.onload=g,p.onerror=O}),p.addEventListener("load",function(){h.loading|=rp}),p.addEventListener("error",function(){h.loading|=mT}),h.loading|=wu,hs(d,t,i)}d={type:"stylesheet",instance:d,count:1,state:h},o.set(s,d)}}},M:function(e,t){vo.M(e,t);var a=fm;if(a&&e){var i=ln(a).hoistableScripts,o=kc(e),s=i.get(o);s||(s=a.querySelector(ar(o)),s||(e=Ie({src:e,async:!0,type:"module"},t),(t=Vu.get(o))&&t0(e,t),s=a.createElement("script"),ol(s),Kt(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(o,s))}}};var fm=typeof document>"u"?null:document,Yv=null,NA=6e4,RA=800,UA=500,Sb=0,Tb=null,Gv=null,Yr=r1,dp={$$typeof:Ln,Provider:null,Consumer:null,_currentValue:Yr,_currentValue2:Yr,_threadCount:0},gT="%c%s%c",vT="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",bT="",wv=" ",HA=Function.prototype.bind,ST=!1,TT=null,xT=null,ET=null,AT=null,zT=null,OT=null,DT=null,CT=null,MT=null,_T=null;TT=function(e,t,a,i){t=m(e,t),t!==null&&(a=j(t.memoizedState,a,0,i),t.memoizedState=a,t.baseState=a,e.memoizedProps=Ie({},e.memoizedProps),a=Fl(e,2),a!==null&&Ye(a,e,2))},xT=function(e,t,a){t=m(e,t),t!==null&&(a=N(t.memoizedState,a,0),t.memoizedState=a,t.baseState=a,e.memoizedProps=Ie({},e.memoizedProps),a=Fl(e,2),a!==null&&Ye(a,e,2))},ET=function(e,t,a,i){t=m(e,t),t!==null&&(a=Q(t.memoizedState,a,i),t.memoizedState=a,t.baseState=a,e.memoizedProps=Ie({},e.memoizedProps),a=Fl(e,2),a!==null&&Ye(a,e,2))},AT=function(e,t,a){e.pendingProps=j(e.memoizedProps,t,0,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Fl(e,2),t!==null&&Ye(t,e,2)},zT=function(e,t){e.pendingProps=N(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Fl(e,2),t!==null&&Ye(t,e,2)},OT=function(e,t,a){e.pendingProps=Q(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Fl(e,2),t!==null&&Ye(t,e,2)},DT=function(e){var t=Fl(e,2);t!==null&&Ye(t,e,2)},CT=function(e){var t=Qr(),a=Fl(e,t);a!==null&&Ye(a,e,t)},MT=function(e){q=e},_T=function(e){H=e};var Vv=!0,Xv=null,xb=!1,$s=null,Fs=null,ks=null,hp=new Map,mp=new Map,Ws=[],BA="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".split(" "),Qv=null;if(Qn.prototype.render=r0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var a=arguments;typeof a[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Qe(a[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof a[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),a=e;var i=t.current,o=Wl(i);gh(i,o,a,t,null,null)},Qn.prototype.unmount=r0.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(yt&($l|kn))!==la&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),gh(e.current,2,null,e,null,null),Ja(),t[di]=null}},Qn.prototype.unstable_scheduleHydration=function(e){if(e){var t=Tp();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Ws.length&&t!==0&&t<Ws[a].priority;a++);Ws.splice(a,0,e),a===0&&f0(e)}},(function(){var e=or.version;if(e!=="19.2.4")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
224
+ Check the top-level render call using <`+r+`>.`);var o=``;n!=null&&e!==n&&(r=null,typeof n.tag==`number`?r=w(n):typeof n.name==`string`&&(r=n.name),r&&(o=` It was passed a child from `+r+`.`)),M(t,function(){console.error(`Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.`,a,o)})}}};var Yv=Gi(!0),Xv=Gi(!1),Zv=0,Qv=1,$v=2,ey=3,ty=!1,ny=!1,ry=null,iy=!1,ay=ie(null),oy=ie(0),sy=ie(null),cy=null,ly=1,uy=2,dy=ie(0),fy=0,py=1,my=2,hy=4,gy=8,_y,vy=new Set,yy=new Set,by=new Set,xy=new Set,Sy=0,X=null,Cy=null,wy=null,Ty=!1,Ey=!1,Dy=!1,Oy=0,ky=0,Ay=null,jy=0,My=25,Z=null,Ny=null,Py=-1,Fy=!1,Iy={readContext:Qr,use:Da,useCallback:ma,useContext:ma,useEffect:ma,useImperativeHandle:ma,useLayoutEffect:ma,useInsertionEffect:ma,useMemo:ma,useReducer:ma,useRef:ma,useState:ma,useDebugValue:ma,useDeferredValue:ma,useTransition:ma,useSyncExternalStore:ma,useId:ma,useHostTransitionStatus:ma,useFormState:ma,useActionState:ma,useOptimistic:ma,useMemoCache:ma,useCacheRefresh:ma};Iy.useEffectEvent=ma;var Ly=null,Ry=null,zy=null,By=null,Vy=null,Hy=null,Uy=null;Ly={readContext:function(e){return Qr(e)},use:Da,useCallback:function(e,t){return Z=`useCallback`,L(),fa(t),_o(e,t)},useContext:function(e){return Z=`useContext`,L(),Qr(e)},useEffect:function(e,t){return Z=`useEffect`,L(),fa(t),lo(e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,L(),fa(n),ho(e,t,n)},useInsertionEffect:function(e,t){Z=`useInsertionEffect`,L(),fa(t),so(4,my,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,L(),fa(t),po(e,t)},useMemo:function(e,t){Z=`useMemo`,L(),fa(t);var n=W.H;W.H=Vy;try{return yo(e,t)}finally{W.H=n}},useReducer:function(e,t,n){Z=`useReducer`,L();var r=W.H;W.H=Vy;try{return Aa(e,t,n)}finally{W.H=r}},useRef:function(e){return Z=`useRef`,L(),oo(e)},useState:function(e){Z=`useState`,L();var t=W.H;W.H=Vy;try{return Ha(e)}finally{W.H=t}},useDebugValue:function(){Z=`useDebugValue`,L()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,L(),xo(e,t)},useTransition:function(){return Z=`useTransition`,L(),jo()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,L(),Pa(e,t,n)},useId:function(){return Z=`useId`,L(),Fo()},useFormState:function(e,t){return Z=`useFormState`,L(),pa(),eo(e,t)},useActionState:function(e,t){return Z=`useActionState`,L(),eo(e,t)},useOptimistic:function(e){return Z=`useOptimistic`,L(),Ua(e)},useHostTransitionStatus:Po,useMemoCache:Oa,useCacheRefresh:function(){return Z=`useCacheRefresh`,L(),Io()},useEffectEvent:function(e){return Z=`useEffectEvent`,L(),fo(e)}},Ry={readContext:function(e){return Qr(e)},use:Da,useCallback:function(e,t){return Z=`useCallback`,R(),_o(e,t)},useContext:function(e){return Z=`useContext`,R(),Qr(e)},useEffect:function(e,t){return Z=`useEffect`,R(),lo(e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,R(),ho(e,t,n)},useInsertionEffect:function(e,t){Z=`useInsertionEffect`,R(),so(4,my,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,R(),po(e,t)},useMemo:function(e,t){Z=`useMemo`,R();var n=W.H;W.H=Vy;try{return yo(e,t)}finally{W.H=n}},useReducer:function(e,t,n){Z=`useReducer`,R();var r=W.H;W.H=Vy;try{return Aa(e,t,n)}finally{W.H=r}},useRef:function(e){return Z=`useRef`,R(),oo(e)},useState:function(e){Z=`useState`,R();var t=W.H;W.H=Vy;try{return Ha(e)}finally{W.H=t}},useDebugValue:function(){Z=`useDebugValue`,R()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,R(),xo(e,t)},useTransition:function(){return Z=`useTransition`,R(),jo()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,R(),Pa(e,t,n)},useId:function(){return Z=`useId`,R(),Fo()},useActionState:function(e,t){return Z=`useActionState`,R(),eo(e,t)},useFormState:function(e,t){return Z=`useFormState`,R(),pa(),eo(e,t)},useOptimistic:function(e){return Z=`useOptimistic`,R(),Ua(e)},useHostTransitionStatus:Po,useMemoCache:Oa,useCacheRefresh:function(){return Z=`useCacheRefresh`,R(),Io()},useEffectEvent:function(e){return Z=`useEffectEvent`,R(),fo(e)}},zy={readContext:function(e){return Qr(e)},use:Da,useCallback:function(e,t){return Z=`useCallback`,R(),vo(e,t)},useContext:function(e){return Z=`useContext`,R(),Qr(e)},useEffect:function(e,t){Z=`useEffect`,R(),co(2048,gy,e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,R(),go(e,t,n)},useInsertionEffect:function(e,t){return Z=`useInsertionEffect`,R(),co(4,my,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,R(),co(4,hy,e,t)},useMemo:function(e,t){Z=`useMemo`,R();var n=W.H;W.H=Hy;try{return bo(e,t)}finally{W.H=n}},useReducer:function(e,t,n){Z=`useReducer`,R();var r=W.H;W.H=Hy;try{return ja(e,t,n)}finally{W.H=r}},useRef:function(){return Z=`useRef`,R(),wa().memoizedState},useState:function(){Z=`useState`,R();var e=W.H;W.H=Hy;try{return ja(ka)}finally{W.H=e}},useDebugValue:function(){Z=`useDebugValue`,R()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,R(),So(e,t)},useTransition:function(){return Z=`useTransition`,R(),Mo()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,R(),Fa(e,t,n)},useId:function(){return Z=`useId`,R(),wa().memoizedState},useFormState:function(e){return Z=`useFormState`,R(),pa(),to(e)},useActionState:function(e){return Z=`useActionState`,R(),to(e)},useOptimistic:function(e,t){return Z=`useOptimistic`,R(),Wa(e,t)},useHostTransitionStatus:Po,useMemoCache:Oa,useCacheRefresh:function(){return Z=`useCacheRefresh`,R(),wa().memoizedState},useEffectEvent:function(e){return Z=`useEffectEvent`,R(),z(e)}},By={readContext:function(e){return Qr(e)},use:Da,useCallback:function(e,t){return Z=`useCallback`,R(),vo(e,t)},useContext:function(e){return Z=`useContext`,R(),Qr(e)},useEffect:function(e,t){Z=`useEffect`,R(),co(2048,gy,e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,R(),go(e,t,n)},useInsertionEffect:function(e,t){return Z=`useInsertionEffect`,R(),co(4,my,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,R(),co(4,hy,e,t)},useMemo:function(e,t){Z=`useMemo`,R();var n=W.H;W.H=Uy;try{return bo(e,t)}finally{W.H=n}},useReducer:function(e,t,n){Z=`useReducer`,R();var r=W.H;W.H=Uy;try{return Na(e,t,n)}finally{W.H=r}},useRef:function(){return Z=`useRef`,R(),wa().memoizedState},useState:function(){Z=`useState`,R();var e=W.H;W.H=Uy;try{return Na(ka)}finally{W.H=e}},useDebugValue:function(){Z=`useDebugValue`,R()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,R(),Co(e,t)},useTransition:function(){return Z=`useTransition`,R(),No()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,R(),Fa(e,t,n)},useId:function(){return Z=`useId`,R(),wa().memoizedState},useFormState:function(e){return Z=`useFormState`,R(),pa(),io(e)},useActionState:function(e){return Z=`useActionState`,R(),io(e)},useOptimistic:function(e,t){return Z=`useOptimistic`,R(),Ka(e,t)},useHostTransitionStatus:Po,useMemoCache:Oa,useCacheRefresh:function(){return Z=`useCacheRefresh`,R(),wa().memoizedState},useEffectEvent:function(e){return Z=`useEffectEvent`,R(),z(e)}},Vy={readContext:function(e){return l(),Qr(e)},use:function(e){return c(),Da(e)},useCallback:function(e,t){return Z=`useCallback`,c(),L(),_o(e,t)},useContext:function(e){return Z=`useContext`,c(),L(),Qr(e)},useEffect:function(e,t){return Z=`useEffect`,c(),L(),lo(e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,c(),L(),ho(e,t,n)},useInsertionEffect:function(e,t){Z=`useInsertionEffect`,c(),L(),so(4,my,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,c(),L(),po(e,t)},useMemo:function(e,t){Z=`useMemo`,c(),L();var n=W.H;W.H=Vy;try{return yo(e,t)}finally{W.H=n}},useReducer:function(e,t,n){Z=`useReducer`,c(),L();var r=W.H;W.H=Vy;try{return Aa(e,t,n)}finally{W.H=r}},useRef:function(e){return Z=`useRef`,c(),L(),oo(e)},useState:function(e){Z=`useState`,c(),L();var t=W.H;W.H=Vy;try{return Ha(e)}finally{W.H=t}},useDebugValue:function(){Z=`useDebugValue`,c(),L()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,c(),L(),xo(e,t)},useTransition:function(){return Z=`useTransition`,c(),L(),jo()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,c(),L(),Pa(e,t,n)},useId:function(){return Z=`useId`,c(),L(),Fo()},useFormState:function(e,t){return Z=`useFormState`,c(),L(),eo(e,t)},useActionState:function(e,t){return Z=`useActionState`,c(),L(),eo(e,t)},useOptimistic:function(e){return Z=`useOptimistic`,c(),L(),Ua(e)},useMemoCache:function(e){return c(),Oa(e)},useHostTransitionStatus:Po,useCacheRefresh:function(){return Z=`useCacheRefresh`,L(),Io()},useEffectEvent:function(e){return Z=`useEffectEvent`,c(),L(),fo(e)}},Hy={readContext:function(e){return l(),Qr(e)},use:function(e){return c(),Da(e)},useCallback:function(e,t){return Z=`useCallback`,c(),R(),vo(e,t)},useContext:function(e){return Z=`useContext`,c(),R(),Qr(e)},useEffect:function(e,t){Z=`useEffect`,c(),R(),co(2048,gy,e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,c(),R(),go(e,t,n)},useInsertionEffect:function(e,t){return Z=`useInsertionEffect`,c(),R(),co(4,my,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,c(),R(),co(4,hy,e,t)},useMemo:function(e,t){Z=`useMemo`,c(),R();var n=W.H;W.H=Hy;try{return bo(e,t)}finally{W.H=n}},useReducer:function(e,t,n){Z=`useReducer`,c(),R();var r=W.H;W.H=Hy;try{return ja(e,t,n)}finally{W.H=r}},useRef:function(){return Z=`useRef`,c(),R(),wa().memoizedState},useState:function(){Z=`useState`,c(),R();var e=W.H;W.H=Hy;try{return ja(ka)}finally{W.H=e}},useDebugValue:function(){Z=`useDebugValue`,c(),R()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,c(),R(),So(e,t)},useTransition:function(){return Z=`useTransition`,c(),R(),Mo()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,c(),R(),Fa(e,t,n)},useId:function(){return Z=`useId`,c(),R(),wa().memoizedState},useFormState:function(e){return Z=`useFormState`,c(),R(),to(e)},useActionState:function(e){return Z=`useActionState`,c(),R(),to(e)},useOptimistic:function(e,t){return Z=`useOptimistic`,c(),R(),Wa(e,t)},useMemoCache:function(e){return c(),Oa(e)},useHostTransitionStatus:Po,useCacheRefresh:function(){return Z=`useCacheRefresh`,R(),wa().memoizedState},useEffectEvent:function(e){return Z=`useEffectEvent`,c(),R(),z(e)}},Uy={readContext:function(e){return l(),Qr(e)},use:function(e){return c(),Da(e)},useCallback:function(e,t){return Z=`useCallback`,c(),R(),vo(e,t)},useContext:function(e){return Z=`useContext`,c(),R(),Qr(e)},useEffect:function(e,t){Z=`useEffect`,c(),R(),co(2048,gy,e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,c(),R(),go(e,t,n)},useInsertionEffect:function(e,t){return Z=`useInsertionEffect`,c(),R(),co(4,my,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,c(),R(),co(4,hy,e,t)},useMemo:function(e,t){Z=`useMemo`,c(),R();var n=W.H;W.H=Hy;try{return bo(e,t)}finally{W.H=n}},useReducer:function(e,t,n){Z=`useReducer`,c(),R();var r=W.H;W.H=Hy;try{return Na(e,t,n)}finally{W.H=r}},useRef:function(){return Z=`useRef`,c(),R(),wa().memoizedState},useState:function(){Z=`useState`,c(),R();var e=W.H;W.H=Hy;try{return Na(ka)}finally{W.H=e}},useDebugValue:function(){Z=`useDebugValue`,c(),R()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,c(),R(),Co(e,t)},useTransition:function(){return Z=`useTransition`,c(),R(),No()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,c(),R(),Fa(e,t,n)},useId:function(){return Z=`useId`,c(),R(),wa().memoizedState},useFormState:function(e){return Z=`useFormState`,c(),R(),io(e)},useActionState:function(e){return Z=`useActionState`,c(),R(),io(e)},useOptimistic:function(e,t){return Z=`useOptimistic`,c(),R(),Ka(e,t)},useMemoCache:function(e){return c(),Oa(e)},useHostTransitionStatus:Po,useCacheRefresh:function(){return Z=`useCacheRefresh`,R(),wa().memoizedState},useEffectEvent:function(e){return Z=`useEffectEvent`,c(),R(),z(e)}};var Wy={},Gy=new Set,Ky=new Set,qy=new Set,Jy=new Set,Yy=new Set,Xy=new Set,Zy=new Set,Qy=new Set,$y=new Set,eb=new Set;Object.freeze(Wy);var tb={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Yc(e),i=Yi(r);i.payload=t,n!=null&&(Go(n),i.callback=n),t=Xi(e,i,r),t!==null&&(ii(r,`this.setState()`,e),Zc(t,e,r),Zi(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Yc(e),i=Yi(r);i.tag=Qv,i.payload=t,n!=null&&(Go(n),i.callback=n),t=Xi(e,i,r),t!==null&&(ii(r,`this.replaceState()`,e),Zc(t,e,r),Zi(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Yc(e),r=Yi(n);r.tag=$v,t!=null&&(Go(t),r.callback=t),t=Xi(e,r,n),t!==null&&(ii(n,`this.forceUpdate()`,e),Zc(t,e,n),Zi(t,e,n))}},nb=null,rb=null,ib=Error(`This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue.`),ab=!1,ob={},sb={},cb={},lb={},ub=!1,db={},fb={},pb={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},mb=!1,hb=null;hb=new Set;var gb=!1,_b=!1,vb=!1,yb=typeof WeakSet==`function`?WeakSet:Set,bb=null,xb=null,Sb=null,Cb=null,wb=!1,Tb=null,Eb=!1,Db=8192,Ob={getCacheForType:function(e){var t=Qr(p_),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Qr(p_).controller.signal},getOwner:function(){return up}};if(typeof Symbol==`function`&&Symbol.for){var kb=Symbol.for;kb(`selector.component`),kb(`selector.has_pseudo_class`),kb(`selector.role`),kb(`selector.test_id`),kb(`selector.text`)}var Ab=[],jb=typeof WeakMap==`function`?WeakMap:Map,Mb=0,Nb=2,Pb=4,Fb=0,Ib=1,Lb=2,Rb=3,zb=4,Bb=6,Vb=5,Hb=Mb,Ub=null,Q=null,$=0,Wb=0,Gb=1,Kb=2,qb=3,Jb=4,Yb=5,Xb=6,Zb=7,Qb=8,$b=9,ex=Wb,tx=null,nx=!1,rx=!1,ix=!1,ax=0,ox=Fb,sx=0,cx=0,lx=0,ux=0,dx=0,fx=null,px=null,mx=!1,hx=0,gx=0,_x=300,vx=1/0,yx=500,bx=null,xx=null,Sx=null,Cx=0,wx=1,Tx=2,Ex=3,Dx=0,Ox=1,kx=2,Ax=3,jx=4,Mx=5,Nx=0,Px=null,Fx=null,Ix=0,Lx=0,Rx=-0,zx=null,Bx=null,Vx=null,Hx=Cx,Ux=null,Wx=50,Gx=0,Kx=null,qx=!1,Jx=!1,Yx=50,Xx=0,Zx=null,Qx=!1,$x=null,eS=!1,tS=new Set,nS={},rS=null,iS=null,aS=!1,oS=!1,sS=!1,cS=!1,lS=0,uS={};(function(){for(var e=0;e<ng.length;e++){var t=ng[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Bn(n,`on`+t)}Bn(Jh,`onAnimationEnd`),Bn(Yh,`onAnimationIteration`),Bn(Xh,`onAnimationStart`),Bn(`dblclick`,`onDoubleClick`),Bn(`focusin`,`onFocus`),Bn(`focusout`,`onBlur`),Bn(Zh,`onTransitionRun`),Bn(Qh,`onTransitionStart`),Bn($h,`onTransitionCancel`),Bn(eg,`onTransitionEnd`)})(),Ze(`onMouseEnter`,[`mouseout`,`mouseover`]),Ze(`onMouseLeave`,[`mouseout`,`mouseover`]),Ze(`onPointerEnter`,[`pointerout`,`pointerover`]),Ze(`onPointerLeave`,[`pointerout`,`pointerover`]),Xe(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Xe(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Xe(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Xe(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Xe(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Xe(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var dS=`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(` `),fS=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(dS)),pS=`_reactListening`+Math.random().toString(36).slice(2),mS=!1,hS=!1,gS=!1,_S=!1,vS=!1,yS=!1,bS=!1,xS={},SS=/\r\n?/g,CS=/\u0000|\uFFFD/g,wS=`http://www.w3.org/1999/xlink`,TS=`http://www.w3.org/XML/1998/namespace`,ES=`javascript:throw new Error('React form unexpectedly submitted.')`,DS=`suppressHydrationWarning`,OS=`&`,kS=`/&`,AS=`$`,jS=`/$`,MS=`$?`,NS=`$~`,PS=`$!`,FS=`html`,IS=`body`,LS=`head`,RS=`F!`,zS=`F`,BS=`loading`,VS=`style`,HS=0,US=1,WS=2,GS=null,KS=null,qS={dialog:!0,webview:!0},JS=null,YS=void 0,XS=typeof setTimeout==`function`?setTimeout:void 0,ZS=typeof clearTimeout==`function`?clearTimeout:void 0,QS=-1,$S=typeof Promise==`function`?Promise:void 0,eC=typeof queueMicrotask==`function`?queueMicrotask:$S===void 0?XS:function(e){return $S.resolve(null).then(e).catch(Hu)},tC=null,nC=0,rC=1,iC=2,aC=3,oC=4,sC=new Map,cC=new Set,lC=Uf.d;Uf.d={f:function(){var e=lC.f(),t=nl();return e||t},r:function(e){var t=Ke(e);t!==null&&t.tag===5&&t.type===`form`?Ao(t):lC.r(e)},D:function(e){lC.D(e),Td(`dns-prefetch`,e,null)},C:function(e,t){lC.C(e,t),Td(`preconnect`,e,t)},L:function(e,t,n){lC.L(e,t,n);var r=uC;if(r&&e&&t){var i=`link[rel="preload"][as="`+ut(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+ut(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+ut(n.imageSizes)+`"]`)):i+=`[href="`+ut(e)+`"]`;var a=i;switch(t){case`style`:a=H(e);break;case`script`:a=jd(e)}sC.has(a)||(e=U({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),sC.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Od(a))||t===`script`&&r.querySelector(Md(a))||(t=r.createElement(`link`),xu(t,`link`,e),Ye(t),r.head.appendChild(t)))}},m:function(e,t){lC.m(e,t);var n=uC;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+ut(r)+`"][href="`+ut(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=jd(e)}if(!sC.has(a)&&(e=U({rel:`modulepreload`,href:e},t),sC.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Md(a)))return}r=n.createElement(`link`),xu(r,`link`,e),Ye(r),n.head.appendChild(r)}}},X:function(e,t){lC.X(e,t);var n=uC;if(n&&e){var r=Je(n).hoistableScripts,i=jd(e),a=r.get(i);a||(a=n.querySelector(Md(i)),a||(e=U({src:e,async:!0},t),(t=sC.get(i))&&Id(e,t),a=n.createElement(`script`),Ye(a),xu(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}},S:function(e,t,n){lC.S(e,t,n);var r=uC;if(r&&e){var i=Je(r).hoistableStyles,a=H(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:nC,preload:null};if(o=r.querySelector(Od(a)))s.loading=rC|oC;else{e=U({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=sC.get(a))&&Fd(e,n);var c=o=r.createElement(`link`);Ye(c),xu(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=rC}),c.addEventListener(`error`,function(){s.loading|=iC}),s.loading|=oC,Pd(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}},M:function(e,t){lC.M(e,t);var n=uC;if(n&&e){var r=Je(n).hoistableScripts,i=jd(e),a=r.get(i);a||(a=n.querySelector(Md(i)),a||(e=U({src:e,async:!0,type:`module`},t),(t=sC.get(i))&&Id(e,t),a=n.createElement(`script`),Ye(a),xu(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}};var uC=typeof document>`u`?null:document,dC=null,fC=6e4,pC=800,mC=500,hC=0,gC=null,_C=null,vC=Wf,yC={$$typeof:Mf,Provider:null,Consumer:null,_currentValue:vC,_currentValue2:vC,_threadCount:0},bC=`%c%s%c`,xC=`background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px`,SC=``,CC=` `,wC=Function.prototype.bind,TC=!1,EC=null,DC=null,OC=null,kC=null,AC=null,jC=null,MC=null,NC=null,PC=null,FC=null;EC=function(e,r,i,a){r=t(e,r),r!==null&&(i=n(r.memoizedState,i,0,a),r.memoizedState=i,r.baseState=i,e.memoizedProps=U({},e.memoizedProps),i=sr(e,2),i!==null&&Zc(i,e,2))},DC=function(e,n,r){n=t(e,n),n!==null&&(r=a(n.memoizedState,r,0),n.memoizedState=r,n.baseState=r,e.memoizedProps=U({},e.memoizedProps),r=sr(e,2),r!==null&&Zc(r,e,2))},OC=function(e,n,i,a){n=t(e,n),n!==null&&(i=r(n.memoizedState,i,a),n.memoizedState=i,n.baseState=i,e.memoizedProps=U({},e.memoizedProps),i=sr(e,2),i!==null&&Zc(i,e,2))},kC=function(e,t,r){e.pendingProps=n(e.memoizedProps,t,0,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=sr(e,2),t!==null&&Zc(t,e,2)},AC=function(e,t){e.pendingProps=a(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=sr(e,2),t!==null&&Zc(t,e,2)},jC=function(e,t,n){e.pendingProps=r(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=sr(e,2),t!==null&&Zc(t,e,2)},MC=function(e){var t=sr(e,2);t!==null&&Zc(t,e,2)},NC=function(e){var t=je(),n=sr(e,t);n!==null&&Zc(n,e,t)},PC=function(e){s=e},FC=function(e){o=e};var IC=!0,LC=null,RC=!1,zC=null,BC=null,VC=null,HC=new Map,UC=new Map,WC=[],GC=`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`.split(` `),KC=null;if(bf.prototype.render=yf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(`Cannot update an unmounted root.`);var n=arguments;typeof n[1]==`function`?console.error(`does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().`):_(n[1])?console.error(`You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root.`):n[1]!==void 0&&console.error(`You passed a second argument to root.render(...) but it only accepts one argument.`),n=e;var r=t.current;Yd(r,Yc(r),n,t,null,null)},bf.prototype.unmount=yf.prototype.unmount=function(){var e=arguments;if(typeof e[0]==`function`&&console.error(`does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().`),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Hb&(Nb|Pb))!==Mb&&console.error(`Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition.`),Yd(e.current,2,null,e,null,null),nl(),t[Up]=null}},bf.prototype.unstable_scheduleHydration=function(e){if(e){var t=He();e={blockedOn:null,target:e,priority:t};for(var n=0;n<WC.length&&t!==0&&t<WC[n].priority;n++);WC.splice(n,0,e),n===0&&df(e)}},(function(){var e=Cf.version;if(e!==`19.2.4`)throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
221
225
  - react: `+(e+`
222
226
  - react-dom: 19.2.4
223
- Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),St.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=ut(t),e=e!==null?me(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:V,reconcilerVersion:"19.2.4"};return e.overrideHookState=TT,e.overrideHookStateDeletePath=xT,e.overrideHookStateRenamePath=ET,e.overrideProps=AT,e.overridePropsDeletePath=zT,e.overridePropsRenamePath=OT,e.scheduleUpdate=DT,e.scheduleRetry=CT,e.setErrorHandler=MT,e.setSuspenseHandler=_T,e.scheduleRefresh=se,e.scheduleRoot=ue,e.setRefreshHandler=Te,e.getCurrentFiber=jt,pm(e)})()&&lc&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var jT=window.location.protocol;/^(https?|file):$/.test(jT)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(jT==="file:"?`
224
- You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}mm.createRoot=function(e,t){if(!Qe(e))throw Error("Target container is not a DOM element.");d0(e);var a=!1,i="",o=_d,s=jd,d=iy;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===yn&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
227
+ Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map==`function`&&Map.prototype!=null&&typeof Map.prototype.forEach==`function`&&typeof Set==`function`&&Set.prototype!=null&&typeof Set.prototype.clear==`function`&&typeof Set.prototype.forEach==`function`||console.error(`React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills`),Uf.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(`Unable to find node on an unmounted component.`):(e=Object.keys(e).join(`,`),Error(`Argument appears to not be a ReactComponent. Keys: `+e));return e=ee(t),e=e===null?null:S(e),e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:`19.2.4`,rendererPackageName:`react-dom`,currentDispatcherRef:W,reconcilerVersion:`19.2.4`};return e.overrideHookState=EC,e.overrideHookStateDeletePath=DC,e.overrideHookStateRenamePath=OC,e.overrideProps=kC,e.overridePropsDeletePath=AC,e.overridePropsRenamePath=jC,e.scheduleUpdate=MC,e.scheduleRetry=NC,e.setErrorHandler=PC,e.setSuspenseHandler=FC,e.scheduleRefresh=h,e.scheduleRoot=m,e.setRefreshHandler=g,e.getCurrentFiber=ef,we(e)})()&&Ym&&window.top===window.self&&(-1<navigator.userAgent.indexOf(`Chrome`)&&navigator.userAgent.indexOf(`Edge`)===-1||-1<navigator.userAgent.indexOf(`Firefox`))){var qC=window.location.protocol;/^(https?|file):$/.test(qC)&&console.info(`%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools`+(qC===`file:`?`
228
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:``),`font-weight:bold`)}e.createRoot=function(e,t){if(!_(e))throw Error(`Target container is not a DOM element.`);xf(e);var n=!1,r=``,i=Xo,a=Zo,o=Qo;return t!=null&&(t.hydrate?console.warn(`hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.`):typeof t==`object`&&t&&t.$$typeof===Ef&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
225
229
 
226
230
  let root = createRoot(domContainer);
227
- root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(d=t.onRecoverableError)),t=ir(e,1,!1,null,null,a,i,null,o,s,d,qg),e[di]=t.current,$i(e),new r0(t)},mm.hydrateRoot=function(e,t,a){if(!Qe(e))throw Error("Target container is not a DOM element.");d0(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=!1,o="",s=_d,d=jd,h=iy,p=null;return a!=null&&(a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(s=a.onUncaughtError),a.onCaughtError!==void 0&&(d=a.onCaughtError),a.onRecoverableError!==void 0&&(h=a.onRecoverableError),a.formState!==void 0&&(p=a.formState)),t=ir(e,1,!0,t,a??null,i,o,p,s,d,h,qg),t.context=Rg(null),a=t.current,i=Wl(a),i=sc(i),o=Sl(i),o.callback=null,ou(a,o,i),uu(i,"hydrateRoot()",null),a=i,t.current.lanes=a,bi(t,a),Oa(t),e[di]=t.current,$i(e),new Qn(t)},mm.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),mm}var Ub;function ZT(){if(Ub)return gp.exports;Ub=1;function m(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(m)}catch(j){console.error(j)}}}return process.env.NODE_ENV==="production"?(m(),gp.exports=QT()):gp.exports=LT(),gp.exports}var Hb=ZT();const Bb=(...m)=>m.filter((j,Q,S)=>!!j&&j.trim()!==""&&S.indexOf(j)===Q).join(" ").trim();const JT=m=>m.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const KT=m=>m.replace(/^([A-Z])|[\s-_]+(\w)/g,(j,Q,S)=>S?S.toUpperCase():Q.toLowerCase());const qb=m=>{const j=KT(m);return j.charAt(0).toUpperCase()+j.slice(1)};var $T={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const FT=m=>{for(const j in m)if(j.startsWith("aria-")||j==="role"||j==="title")return!0;return!1};const kT=ie.forwardRef(({color:m="currentColor",size:j=24,strokeWidth:Q=2,absoluteStrokeWidth:S,className:N="",children:H,iconNode:q,...D},L)=>ie.createElement("svg",{ref:L,...$T,width:j,height:j,stroke:m,strokeWidth:S?Number(Q)*24/Number(j):Q,className:Bb("lucide",N),...!H&&!FT(D)&&{"aria-hidden":"true"},...D},[...q.map(([te,re])=>ie.createElement(te,re)),...Array.isArray(H)?H:[H]]));const aa=(m,j)=>{const Q=ie.forwardRef(({className:S,...N},H)=>ie.createElement(kT,{ref:H,iconNode:j,className:Bb(`lucide-${JT(qb(m))}`,`lucide-${m}`,S),...N}));return Q.displayName=qb(m),Q};const WT=aa("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);const IT=aa("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);const PT=aa("crosshair",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]]);const ex=aa("eraser",[["path",{d:"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21",key:"g5wo59"}],["path",{d:"m5.082 11.09 8.828 8.828",key:"1wx5vj"}]]);const Yb=aa("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const tx=aa("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);const lx=aa("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const ax=aa("file",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]]);const Gb=aa("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);const wb=aa("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const Vb=aa("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);const $v=aa("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const Xb=aa("qr-code",[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]]);const Qb=aa("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);const Lb=aa("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);const Zb=aa("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);const Gr=aa("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Jb({value:m,onChange:j,field:Q,readonly:S,...N}){const H=Q||N.schema;if(S)return b.jsx("span",{className:"text-sm",children:m||"-"});const q=H?.rows,{inputType:D,...L}=N;return q&&q>1?b.jsx(le.Textarea,{...L,value:m||"",onChange:te=>j(te.target.value),placeholder:H?.placeholder,disabled:S||L.disabled}):b.jsx(le.Input,{...L,type:H?.type==="password"?"password":"text",value:m||"",onChange:te=>j(te.target.value),placeholder:H?.placeholder,disabled:S||L.disabled})}const nx=Object.freeze(Object.defineProperty({__proto__:null,TextField:Jb},Symbol.toStringTag,{value:"Module"}));function Kb({value:m,onChange:j,field:Q,readonly:S,...N}){if(S)return b.jsx("span",{className:"text-sm",children:m??"-"});const H=Q||N.schema,q=H?.precision,{inputType:D,...L}=N;return b.jsx(le.Input,{...L,type:"number",value:m??"",onChange:te=>{const re=te.target.value;j(re===""?null:Number(re))},placeholder:H?.placeholder,disabled:S||L.disabled,step:q?Math.pow(10,-q):"any"})}const ux=Object.freeze(Object.defineProperty({__proto__:null,NumberField:Kb},Symbol.toStringTag,{value:"Module"}));function $b({value:m,onChange:j,field:Q,readonly:S,...N}){const H=Q||N.schema,q=H?.widget,D=ie.useId(),L=H?.name||D,te=H?.label||"Checkbox";if(S)return b.jsx("span",{className:"text-sm",children:m?"Yes":"No"});const{inputType:re,...k}=N;return q==="checkbox"?b.jsxs("div",{className:"flex items-center space-x-2",children:[b.jsx(le.Checkbox,{...k,id:L,checked:!!m,onCheckedChange:Z=>j(!!Z),disabled:S||k.disabled}),b.jsx(le.Label,{htmlFor:L,children:te})]}):b.jsxs("div",{className:"flex items-center space-x-2",children:[b.jsx(le.Switch,{...k,id:L,checked:!!m,onCheckedChange:j,disabled:S||k.disabled}),b.jsx(le.Label,{htmlFor:L,children:te})]})}const ix=Object.freeze(Object.defineProperty({__proto__:null,BooleanField:$b},Symbol.toStringTag,{value:"Module"}));function Fb({value:m,onChange:j,field:Q,readonly:S,...N}){const H=Q||N.schema,q=H?.options||[];if(S){const D=q.find(L=>L.value===m);return b.jsx("span",{className:"text-sm",children:D?.label||m||"-"})}return b.jsxs(le.Select,{...N,value:m,onValueChange:j,disabled:S||N.disabled,children:[b.jsx(le.SelectTrigger,{className:N.className,id:N.id,children:b.jsx(le.SelectValue,{placeholder:H?.placeholder||"Select an option"})}),b.jsx(le.SelectContent,{position:"popper",children:q.map(D=>b.jsx(le.SelectItem,{value:D.value,children:D.label},D.value))})]})}const cx=Object.freeze(Object.defineProperty({__proto__:null,SelectField:Fb},Symbol.toStringTag,{value:"Module"}));function kb({value:m,onChange:j,field:Q,readonly:S,...N}){if(S)return b.jsx("span",{className:"text-sm",children:m?new Date(m).toLocaleDateString():"-"});const{inputType:H,...q}=N;return b.jsx(le.Input,{...q,type:"date",value:m||"",onChange:D=>j(D.target.value),disabled:S||q.disabled})}const ox=Object.freeze(Object.defineProperty({__proto__:null,DateField:kb},Symbol.toStringTag,{value:"Module"}));function Wb({value:m,onChange:j,field:Q,readonly:S,errorMessage:N,...H}){const q=Q||H.schema;if(S)return m?b.jsx("a",{href:`mailto:${m}`,className:"text-sm text-blue-600 hover:text-blue-800 hover:underline",children:m}):b.jsx("span",{className:"text-sm",children:"-"});const{inputType:D,...L}=H;return b.jsx(le.Input,{...L,type:"email",value:m||"",onChange:te=>j(te.target.value),placeholder:q?.placeholder||"email@example.com",disabled:S||L.disabled,"aria-invalid":!!N})}const sx=Object.freeze(Object.defineProperty({__proto__:null,EmailField:Wb},Symbol.toStringTag,{value:"Module"}));function Ib({value:m,onChange:j,field:Q,readonly:S,errorMessage:N,...H}){const q=Q||H.schema;if(S)return m?b.jsx("a",{href:`tel:${m}`,className:"text-sm text-blue-600 hover:text-blue-800 hover:underline",children:m}):b.jsx("span",{className:"text-sm",children:"-"});const{inputType:D,...L}=H;return b.jsx(le.Input,{...L,type:"tel",value:m||"",onChange:te=>j(te.target.value),placeholder:q?.placeholder||"(555) 123-4567",disabled:S||L.disabled,"aria-invalid":!!N})}const fx=Object.freeze(Object.defineProperty({__proto__:null,PhoneField:Ib},Symbol.toStringTag,{value:"Module"}));function Pb({value:m,onChange:j,field:Q,readonly:S,errorMessage:N,...H}){const q=Q||H.schema;if(S)return m?m.startsWith("http://")||m.startsWith("https://")?b.jsx("a",{href:m,target:"_blank",rel:"noopener noreferrer",className:"text-sm text-blue-600 hover:text-blue-800 hover:underline",children:m}):b.jsx("span",{className:"text-sm",children:m}):b.jsx("span",{className:"text-sm",children:"-"});const{inputType:D,...L}=H;return b.jsx(le.Input,{...L,type:"url",value:m||"",onChange:te=>j(te.target.value),placeholder:q?.placeholder||"https://example.com",disabled:S||L.disabled,"aria-invalid":!!N})}const rx=Object.freeze(Object.defineProperty({__proto__:null,UrlField:Pb},Symbol.toStringTag,{value:"Module"}));function dx(m,j="USD"){try{return new Intl.NumberFormat("en-US",{style:"currency",currency:j}).format(m)}catch{return`${j} ${m.toFixed(2)}`}}function eS({value:m,onChange:j,field:Q,readonly:S,errorMessage:N,className:H,...q}){const D=Q||q.schema,L=D?.currency||"USD",te=D?.precision??2;if(S)return m==null?b.jsx("span",{className:"text-sm",children:"-"}):b.jsx("span",{className:"text-sm font-medium tabular-nums",children:dx(Number(m),L)});const re=k=>{const Z=parseFloat(k.target.value);isNaN(Z)||j(parseFloat(Z.toFixed(te)))};return b.jsxs("div",{className:"relative",children:[b.jsx("span",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-sm text-gray-500",children:L==="USD"?"$":L}),b.jsx(le.Input,{...q,type:"number",value:m??"",onChange:k=>{const Z=k.target.value===""?null:parseFloat(k.target.value);j(Z)},onBlur:re,placeholder:D?.placeholder||"0.00",disabled:S||q.disabled,className:`pl-8 ${H||""}`,step:Math.pow(10,-te).toFixed(te),"aria-invalid":!!N})]})}const hx=Object.freeze(Object.defineProperty({__proto__:null,CurrencyField:eS},Symbol.toStringTag,{value:"Module"}));function tS({value:m,onChange:j,field:Q,readonly:S,errorMessage:N,...H}){if(S)return b.jsx("div",{className:"text-sm whitespace-pre-wrap",children:m||"-"});const q=Q||H.schema,D=q?.rows||4,L=q?.max_length,{inputType:te,...re}=H;return b.jsxs("div",{className:"relative",children:[b.jsx(le.Textarea,{...re,value:m||"",onChange:k=>j(k.target.value),placeholder:q?.placeholder,disabled:S||re.disabled,rows:D,maxLength:L,"aria-invalid":!!N}),L&&b.jsxs("div",{className:"absolute bottom-2 right-2 text-xs text-gray-400","aria-live":"polite","aria-label":`Character count: ${(m||"").length} of ${L}`,children:[(m||"").length,"/",L]})]})}const mx=Object.freeze(Object.defineProperty({__proto__:null,TextAreaField:tS},Symbol.toStringTag,{value:"Module"}));function yx({value:m,onChange:j,field:Q,readonly:S,errorMessage:N,...H}){if(S)return b.jsx("div",{className:"text-sm prose prose-sm max-w-none",children:m||"-"});const q=Q||H.schema,D=q?.rows||8,L=q?.format||"markdown";return b.jsxs("div",{className:"space-y-2",children:[b.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500",children:[b.jsxs("span",{children:["Format: ",L]}),b.jsx("span",{className:"italic",children:"Rich text editor (basic)"})]}),b.jsx(le.Textarea,{value:m||"",onChange:te=>j(te.target.value),placeholder:q?.placeholder||"Enter text...",disabled:S||H.disabled,rows:D,className:`font-mono text-sm ${H.className||""}`,"aria-invalid":!!N})]})}const lS=Object.freeze(Object.defineProperty({__proto__:null,RichTextField:yx},Symbol.toStringTag,{value:"Module"})),px=50;let aS=ie.createContext(null);try{const m=require("@object-ui/react");m.SchemaRendererContext&&(aS=m.SchemaRendererContext)}catch{}function gx(m,j,Q,S){const N=m[Q]??m.id??m._id,H=m[j]??m.label??m.name??String(N),q=S?m[S]:void 0;return{value:N,label:String(H),description:q,...m}}function nS({value:m,onChange:j,field:Q,readonly:S,...N}){const[H,q]=ie.useState(!1),[D,L]=ie.useState(""),[te,re]=ie.useState([]),[k,Z]=ie.useState(!1),[ue,se]=ie.useState(null),[Te,Qe]=ie.useState(0),xe=ie.useRef(null),[We,ft]=ie.useState(-1),Ge=ie.useRef(null),ut=Q||N.schema,me=ut?.field,Ee=me&&typeof me=="object"&&("reference_to"in me||"reference"in me||"type"in me)?me:ut,pe=Ee?.options||[],Ce=Ee?.multiple||!1,ce=Ee?.display_field||Ee?.reference_field||"name",lt=Ee?.description_field,Re=Ee?.id_field||"id",De=Ee?.reference_to||Ee?.reference,Xt=ie.useContext(aS)?.dataSource??null,C=N.dataSource??ut?.dataSource??Ee?.dataSource??Xt,K=C!=null&&typeof C.find=="function"&&!!De,ne=N.onCreateNew??ut?.onCreateNew,be=K?te:pe,ge=ie.useMemo(()=>{if(K||!D)return be;const Se=D.toLowerCase();return be.filter(He=>He.label.toLowerCase().includes(Se)||He.description&&He.description.toLowerCase().includes(Se))},[K,be,D]);ie.useEffect(()=>{ft(-1)},[ge.length]);const J=ie.useCallback(async Se=>{if(!(!C||!De)){Z(!0),se(null);try{const He={$top:px};Se&&Se.trim()&&(He.$search=Se.trim());const cl=await C.find(De,He),ee=cl?.data??cl??[],Ze=ee.map(Ht=>gx(Ht,ce,Re,lt));re(Ze),Qe(cl?.total??ee.length)}catch(He){const cl=He instanceof Error?He.message:String(He);se(cl),re([])}finally{Z(!1)}}},[C,De,ce,Re,lt]);ie.useEffect(()=>{H&&K&&J(D||void 0),H||(L(""),se(null),ft(-1))},[H]);const de=ie.useCallback(Se=>{L(Se),K&&(xe.current&&clearTimeout(xe.current),xe.current=setTimeout(()=>{J(Se||void 0)},300))},[K,J]);ie.useEffect(()=>()=>{xe.current&&clearTimeout(xe.current)},[]);const ye=ie.useCallback(Se=>pe.find(He=>He.value===Se)??te.find(He=>He.value===Se),[pe,te]),ae=Ce?(Array.isArray(m)?m:[]).map(ye).filter(Boolean):m?[ye(m)].filter(Boolean):[],Oe=ie.useCallback(Se=>{if(Ce){const He=Array.isArray(m)?m:[],cl=He.includes(Se.value);j(cl?He.filter(ee=>ee!==Se.value):[...He,Se.value])}else j(Se.value),q(!1)},[Ce,m,j]),yl=Se=>{if(Ce){const He=Array.isArray(m)?m:[];j(He.filter(cl=>cl!==Se))}else j(null)},Ke=ie.useCallback(Se=>{Se.key==="ArrowDown"?(Se.preventDefault(),ft(He=>He<ge.length-1?He+1:He)):Se.key==="ArrowUp"?(Se.preventDefault(),ft(He=>He>0?He-1:0)):Se.key==="Enter"&&(Se.preventDefault(),We>=0&&We<ge.length&&Oe(ge[We]))},[ge,We,Oe]);return ie.useEffect(()=>{We>=0&&Ge.current&&Ge.current.querySelector(`[data-lookup-index="${We}"]`)?.scrollIntoView({block:"nearest"})},[We]),S?ae.length?Ce?b.jsx("div",{className:"flex flex-wrap gap-1",children:ae.map((Se,He)=>b.jsx(le.Badge,{variant:"outline",children:Se?.[ce]||Se?.label},He))}):b.jsx("span",{className:"text-sm",children:ae[0]?.[ce]||ae[0]?.label}):b.jsx("span",{className:"text-sm",children:"-"}):b.jsxs("div",{className:"space-y-2",children:[ae.length>0&&b.jsx("div",{className:"flex flex-wrap gap-1",children:ae.map((Se,He)=>b.jsxs(le.Badge,{variant:"outline",className:"gap-1",children:[Se?.[ce]||Se?.label,b.jsx("button",{onClick:()=>yl(Se?.value),className:"ml-1 hover:text-destructive",type:"button","aria-label":`Remove ${Se?.[ce]||Se?.label}`,children:b.jsx(Gr,{className:"size-3"})})]},He))}),b.jsxs(le.Dialog,{open:H,onOpenChange:q,children:[b.jsx(le.DialogTrigger,{asChild:!0,children:b.jsxs(le.Button,{variant:"outline",className:"w-full justify-start text-left font-normal",type:"button",children:[b.jsx(Qb,{className:"mr-2 size-4"}),ae.length===0?ut?.placeholder||"Select...":Ce?`${ae.length} selected`:"Change selection"]})}),b.jsxs(le.DialogContent,{className:"max-w-md",children:[b.jsx(le.DialogHeader,{children:b.jsxs(le.DialogTitle,{children:[ut?.label||"Select"," ",Ce&&"(multiple)"]})}),b.jsxs("div",{className:"space-y-4",children:[b.jsxs("div",{className:"relative",children:[b.jsx(Qb,{className:"absolute left-3 top-1/2 -translate-y-1/2 size-4 text-muted-foreground"}),b.jsx(le.Input,{placeholder:"Search...",value:D,onChange:Se=>de(Se.target.value),onKeyDown:Ke,className:"w-full pl-9"}),k&&b.jsx(wb,{className:"absolute right-3 top-1/2 -translate-y-1/2 size-4 animate-spin text-muted-foreground","data-testid":"lookup-loading"})]}),ue&&b.jsxs("div",{className:"flex flex-col items-center gap-2 py-4",role:"alert",children:[b.jsx(WT,{className:"size-5 text-destructive"}),b.jsx("p",{className:"text-sm text-destructive",children:ue}),b.jsx(le.Button,{variant:"outline",size:"sm",onClick:()=>J(D||void 0),type:"button",children:"Retry"})]}),k&&ge.length===0&&!ue&&b.jsxs("div",{className:"flex flex-col items-center gap-2 py-6",role:"status","aria-live":"polite",children:[b.jsx(wb,{className:"size-6 animate-spin text-muted-foreground"}),b.jsx("p",{className:"text-sm text-muted-foreground",children:"Loading…"})]}),!ue&&!(k&&ge.length===0)&&b.jsx("div",{ref:Ge,className:"max-h-64 overflow-y-auto space-y-1",role:"listbox",children:ge.length===0?b.jsxs("div",{className:"py-4 text-center",children:[b.jsx("p",{className:"text-sm text-muted-foreground",children:"No options found"}),ne&&b.jsxs(le.Button,{variant:"ghost",size:"sm",className:"mt-2 gap-1",type:"button",onClick:()=>{ne(D),q(!1)},children:[b.jsx($v,{className:"size-4"}),"Create new"]})]}):b.jsxs(b.Fragment,{children:[ge.map((Se,He)=>{const cl=Ce?(Array.isArray(m)?m:[]).includes(Se.value):m===Se.value,ee=He===We;return b.jsxs("button",{"data-lookup-index":He,role:"option","aria-selected":cl,onClick:()=>Oe(Se),className:`w-full text-left px-3 py-2 rounded-md text-sm hover:bg-accent flex items-center justify-between ${ee?"bg-accent text-accent-foreground":cl?"bg-accent/50 text-accent-foreground":""}`,type:"button",children:[b.jsxs("div",{className:"min-w-0 flex-1",children:[b.jsx("span",{className:"block truncate",children:Se.label}),Se.description&&b.jsx("span",{className:"block truncate text-xs text-muted-foreground",children:Se.description})]}),cl&&b.jsx(le.Badge,{variant:"default",className:"ml-2 shrink-0",children:"Selected"})]},Se.value)}),K&&Te>ge.length&&b.jsxs("p",{className:"text-xs text-muted-foreground text-center py-2",children:["Showing ",ge.length," of ",Te," results. Refine your search to find more."]}),ne&&b.jsxs("button",{type:"button",className:"w-full text-left px-3 py-2 rounded-md text-sm hover:bg-accent flex items-center gap-1.5 text-muted-foreground",onClick:()=>{ne(D),q(!1)},children:[b.jsx($v,{className:"size-3.5"}),"Create new",D?` "${D}"`:""]})]})})]})]})]})]})}const vx=Object.freeze(Object.defineProperty({__proto__:null,LookupField:nS},Symbol.toStringTag,{value:"Module"}));function uS({value:m,onChange:j,field:Q,readonly:S,...N}){if(S){if(!m)return b.jsx("span",{className:"text-sm",children:"-"});const D=new Date(m);return b.jsxs("span",{className:"text-sm",children:[D.toLocaleDateString()," ",D.toLocaleTimeString()]})}const{inputType:H,...q}=N;return b.jsx(le.Input,{...q,type:"datetime-local",value:m||"",onChange:D=>j(D.target.value),disabled:S||q.disabled})}const bx=Object.freeze(Object.defineProperty({__proto__:null,DateTimeField:uS},Symbol.toStringTag,{value:"Module"}));function iS({value:m,onChange:j,field:Q,readonly:S,...N}){if(S)return b.jsx("span",{className:"text-sm",children:m||"-"});const{inputType:H,...q}=N;return b.jsx(le.Input,{...q,type:"time",value:m||"",onChange:D=>j(D.target.value),disabled:S||q.disabled})}const Sx=Object.freeze(Object.defineProperty({__proto__:null,TimeField:iS},Symbol.toStringTag,{value:"Module"}));function cS({value:m,onChange:j,field:Q,readonly:S,errorMessage:N,className:H,...q}){const D=Q||q.schema,L=D?.precision??2;if(S)return m==null?b.jsx("span",{className:"text-sm",children:"-"}):b.jsxs("span",{className:"text-sm font-medium tabular-nums",children:[(m*100).toFixed(L),"%"]});const te=m!=null?m*100:"",re=m!=null?m*100:0,k=se=>{if(se.target.value===""){j(null);return}const Te=parseFloat(se.target.value),Qe=isNaN(Te)?null:Te/100;j(Qe)},Z=se=>{if(S||q.disabled)return;if(!Array.isArray(se)||se.length===0){j(null);return}const Te=se[0],Qe=typeof Te=="number"?Te/100:null;j(Qe)},ue=Math.pow(10,-L);return b.jsxs("div",{className:"space-y-2",children:[b.jsxs("div",{className:"relative",children:[b.jsx(le.Input,{...q,type:"number",value:te,onChange:k,placeholder:D?.placeholder||"0",disabled:S||q.disabled,className:`pr-8 ${H||""}`,step:Math.pow(10,-L).toFixed(L),"aria-invalid":!!N}),b.jsx("span",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-sm text-gray-500",children:"%"})]}),b.jsx(le.Slider,{value:[re],onValueChange:Z,min:0,max:100,step:ue,disabled:S||q.disabled,className:"w-full","aria-label":"Percentage","data-testid":"percent-slider"})]})}const Tx=Object.freeze(Object.defineProperty({__proto__:null,PercentField:cS},Symbol.toStringTag,{value:"Module"}));function oS({value:m,onChange:j,field:Q,readonly:S,className:N,...H}){const[q,D]=ie.useState(!1),L=Q||H.schema;if(S)return b.jsx("span",{className:"text-sm",children:"••••••••"});const{inputType:te,...re}=H;return b.jsxs("div",{className:"relative",children:[b.jsx(le.Input,{...re,type:q?"text":"password",value:m||"",onChange:k=>j(k.target.value),placeholder:L?.placeholder,disabled:S||re.disabled,className:`pr-10 ${N||""}`}),b.jsx(le.Button,{type:"button",variant:"ghost",size:"sm",className:"absolute right-0 top-0 h-full px-3 py-2 hover:bg-transparent",onClick:()=>D(!q),tabIndex:-1,children:q?b.jsx(tx,{className:"size-4 text-gray-500"}):b.jsx(lx,{className:"size-4 text-gray-500"})})]})}const xx=Object.freeze(Object.defineProperty({__proto__:null,PasswordField:oS},Symbol.toStringTag,{value:"Module"}));function Ex({value:m,onChange:j,field:Q,readonly:S,...N}){const H=ie.useRef(null),q=Q||N.schema,D=q?.multiple||!1,L=q?.accept?q.accept.join(","):void 0,te=q?.maxSize,[re,k]=ie.useState(!1),[Z,ue]=ie.useState([]),se=m?Array.isArray(m)?m:[m]:[],Te=ie.useCallback(me=>{if(me.length===0)return;const Ee=[],pe=me.filter(ce=>{if(te&&ce.size>te){const lt=(te/1048576).toFixed(1);return Ee.push(`"${ce.name}" exceeds max size (${lt} MB)`),!1}return!0});if(ue(Ee),pe.length===0)return;const Ce=pe.map(ce=>({name:ce.name,original_name:ce.name,size:ce.size,mime_type:ce.type,url:URL.createObjectURL(ce)}));j(D?[...se,...Ce]:Ce[0])},[se,D,j,te]),Qe=ie.useCallback(me=>{me.preventDefault(),me.stopPropagation(),k(!0)},[]),xe=ie.useCallback(me=>{me.preventDefault(),me.stopPropagation(),k(!1)},[]),We=ie.useCallback(me=>{me.preventDefault(),me.stopPropagation(),k(!1);const Ee=Array.from(me.dataTransfer.files);if(L){const pe=L.split(",").map(ce=>ce.trim().toLowerCase()),Ce=Ee.filter(ce=>{const lt=ce.name.split("."),Re=lt.length>1?"."+lt.pop()?.toLowerCase():"";return pe.some(De=>De===ce.type||Re&&De===Re||De.endsWith("/*")&&ce.type.startsWith(De.replace("/*","/")))});Te(Ce)}else Te(Ee)},[L,Te]);if(S){if(!m)return b.jsx("span",{className:"text-sm",children:"-"});const me=Array.isArray(m)?m:[m];return b.jsx("div",{className:"flex flex-wrap gap-2",children:me.map((Ee,pe)=>b.jsx("span",{className:"text-sm truncate max-w-xs",children:Ee.name||Ee.original_name||"File"},pe))})}const ft=me=>{Te(Array.from(me.target.files||[]))},Ge=me=>{if(D){const Ee=se.filter((pe,Ce)=>Ce!==me);j(Ee.length>0?Ee:null)}else j(null)},ut=me=>(me.mime_type||"").startsWith("image/");return b.jsxs("div",{className:N.className,children:[b.jsx("input",{ref:H,type:"file",multiple:D,accept:L,onChange:ft,className:"hidden"}),b.jsxs("div",{className:"space-y-2",children:[b.jsxs("div",{onDragOver:Qe,onDragLeave:xe,onDrop:We,onClick:()=>H.current?.click(),className:`
231
+ root.render(<App />);`),!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(a=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=qd(e,1,!1,null,null,n,r,null,i,a,o,vf),e[Up]=t.current,au(e),new yf(t)},e.hydrateRoot=function(e,t,n){if(!_(e))throw Error(`Target container is not a DOM element.`);xf(e),t===void 0&&console.error(`Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)`);var r=!1,i=``,a=Xo,o=Zo,s=Qo,c=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(a=n.onUncaughtError),n.onCaughtError!==void 0&&(o=n.onCaughtError),n.onRecoverableError!==void 0&&(s=n.onRecoverableError),n.formState!==void 0&&(c=n.formState)),t=qd(e,1,!0,t,n??null,r,i,c,a,o,s,vf),t.context=Jd(null),n=t.current,r=Yc(n),r=Re(r),i=Yi(r),i.callback=null,Xi(n,i,r),ii(r,`hydrateRoot()`,null),n=r,t.current.lanes=n,Ne(t,n),Wl(t),e[Up]=t.current,au(e),new bf(t)},e.version=`19.2.4`,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),T=p(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`)){if(process.env.NODE_ENV!==`production`)throw Error(`^_^`);try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}}process.env.NODE_ENV===`production`?(n(),t.exports=w()):t.exports=ie()})),E,ae=f((()=>{E=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim()})),oe,D=f((()=>{oe=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase()})),O,se=f((()=>{O=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase())})),ce,le=f((()=>{se(),ce=e=>{let t=O(e);return t.charAt(0).toUpperCase()+t.slice(1)}})),ue,k=f((()=>{ue={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`}})),A,de=f((()=>{A=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1}})),fe,pe=f((()=>{k(),de(),ae(),fe=(0,t.forwardRef)(({color:e=`currentColor`,size:n=24,strokeWidth:r=2,absoluteStrokeWidth:i,className:a=``,children:o,iconNode:s,...c},l)=>(0,t.createElement)(`svg`,{ref:l,...ue,width:n,height:n,stroke:e,strokeWidth:i?Number(r)*24/Number(n):r,className:E(`lucide`,a),...!o&&!A(c)&&{"aria-hidden":`true`},...c},[...s.map(([e,n])=>(0,t.createElement)(e,n)),...Array.isArray(o)?o:[o]]))})),j,me=f((()=>{ae(),D(),le(),pe(),j=(e,n)=>{let r=(0,t.forwardRef)(({className:r,...i},a)=>(0,t.createElement)(fe,{ref:a,iconNode:n,className:E(`lucide-${oe(ce(e))}`,`lucide-${e}`,r),...i}));return r.displayName=ce(e),r}})),he,ge,M=f((()=>{me(),he=[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]],ge=j(`arrow-down`,he)})),_e,ve,ye=f((()=>{me(),_e=[[`path`,{d:`m21 16-4 4-4-4`,key:`f6ql7i`}],[`path`,{d:`M17 20V4`,key:`1ejh1v`}],[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}]],ve=j(`arrow-up-down`,_e)})),be,xe,Se=f((()=>{me(),be=[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]],xe=j(`arrow-up`,be)})),Ce,we,Te=f((()=>{me(),Ce=[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]],we=j(`check`,Ce)})),Ee,De,Oe=f((()=>{me(),Ee=[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]],De=j(`chevron-left`,Ee)})),ke,Ae,je=f((()=>{me(),ke=[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]],Ae=j(`chevron-right`,ke)})),Me,Ne,Pe=f((()=>{me(),Me=[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]],Ne=j(`circle-alert`,Me)})),Fe,Ie,Le=f((()=>{me(),Fe=[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]],Ie=j(`copy`,Fe)})),Re,ze,Be=f((()=>{me(),Re=[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`22`,x2:`18`,y1:`12`,y2:`12`,key:`l9bcsi`}],[`line`,{x1:`6`,x2:`2`,y1:`12`,y2:`12`,key:`13hhkx`}],[`line`,{x1:`12`,x2:`12`,y1:`6`,y2:`2`,key:`10w3f3`}],[`line`,{x1:`12`,x2:`12`,y1:`22`,y2:`18`,key:`15g9kq`}]],ze=j(`crosshair`,Re)})),Ve,He,Ue=f((()=>{me(),Ve=[[`path`,{d:`M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21`,key:`g5wo59`}],[`path`,{d:`m5.082 11.09 8.828 8.828`,key:`1wx5vj`}]],He=j(`eraser`,Ve)})),We,Ge,Ke=f((()=>{me(),We=[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]],Ge=j(`external-link`,We)})),qe,Je,Ye=f((()=>{me(),qe=[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]],Je=j(`eye-off`,qe)})),Xe,Ze,Qe=f((()=>{me(),Xe=[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]],Ze=j(`eye`,Xe)})),$e,et,tt=f((()=>{me(),$e=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}]],et=j(`file`,$e)})),nt,rt,it=f((()=>{me(),nt=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]],rt=j(`image`,nt)})),at,ot,st=f((()=>{me(),at=[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]],ot=j(`loader-circle`,at)})),ct,lt,ut=f((()=>{me(),ct=[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]],lt=j(`map-pin`,ct)})),dt,ft,pt=f((()=>{me(),dt=[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]],ft=j(`phone`,dt)})),mt,ht,gt=f((()=>{me(),mt=[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]],ht=j(`plus`,mt)})),_t,vt,yt=f((()=>{me(),_t=[[`rect`,{width:`5`,height:`5`,x:`3`,y:`3`,rx:`1`,key:`1tu5fj`}],[`rect`,{width:`5`,height:`5`,x:`16`,y:`3`,rx:`1`,key:`1v8r4q`}],[`rect`,{width:`5`,height:`5`,x:`3`,y:`16`,rx:`1`,key:`1x03jg`}],[`path`,{d:`M21 16h-3a2 2 0 0 0-2 2v3`,key:`177gqh`}],[`path`,{d:`M21 21v.01`,key:`ents32`}],[`path`,{d:`M12 7v3a2 2 0 0 1-2 2H7`,key:`8crl2c`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M12 3h.01`,key:`n36tog`}],[`path`,{d:`M12 16v.01`,key:`133mhm`}],[`path`,{d:`M16 12h1`,key:`1slzba`}],[`path`,{d:`M21 12v.01`,key:`1lwtk9`}],[`path`,{d:`M12 21v-1`,key:`1880an`}]],vt=j(`qr-code`,_t)})),bt,xt,St=f((()=>{me(),bt=[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]],xt=j(`search`,bt)})),Ct,wt,Tt=f((()=>{me(),Ct=[[`path`,{d:`M10 5H3`,key:`1qgfaw`}],[`path`,{d:`M12 19H3`,key:`yhmn1j`}],[`path`,{d:`M14 3v4`,key:`1sua03`}],[`path`,{d:`M16 17v4`,key:`1q0r14`}],[`path`,{d:`M21 12h-9`,key:`1o4lsq`}],[`path`,{d:`M21 19h-5`,key:`1rlt1p`}],[`path`,{d:`M21 5h-7`,key:`1oszz2`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M8 12H3`,key:`a7s4jb`}]],wt=j(`sliders-horizontal`,Ct)})),Et,Dt,Ot=f((()=>{me(),Et=[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`,key:`r04s7s`}]],Dt=j(`star`,Et)})),kt,At,jt=f((()=>{me(),kt=[[`path`,{d:`M15 3v18`,key:`14nvp0`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M21 9H3`,key:`1338ky`}],[`path`,{d:`M21 15H3`,key:`9uk58r`}]],At=j(`table-properties`,kt)})),Mt,Nt,Pt=f((()=>{me(),Mt=[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]],Nt=j(`upload`,Mt)})),Ft,It,Lt=f((()=>{me(),Ft=[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]],It=j(`x`,Ft)})),Rt=f((()=>{Pe(),st(),M(),ye(),Se(),Te(),Oe(),je(),Le(),Be(),Ue(),Ke(),Ye(),Qe(),tt(),it(),ut(),pt(),gt(),yt(),St(),Tt(),Ot(),jt(),Pt(),Lt()})),zt=m({TextField:()=>Bt});function Bt({value:e,onChange:t,field:n,readonly:i,...a}){let o=n||a.schema;if(i)return(0,Vt.jsx)(`span`,{className:`text-sm`,children:e||`-`});let s=o?.rows,{inputType:c,...l}=a;return s&&s>1?(0,Vt.jsx)(r.Textarea,{...l,value:e||``,onChange:e=>t(e.target.value),placeholder:o?.placeholder,disabled:i||l.disabled}):(0,Vt.jsx)(r.Input,{...l,type:o?.type===`password`?`password`:`text`,value:e||``,onChange:e=>t(e.target.value),placeholder:o?.placeholder,disabled:i||l.disabled})}var Vt,Ht=f((()=>{Vt=v()})),Ut=m({NumberField:()=>Wt});function Wt({value:e,onChange:t,field:n,readonly:i,...a}){if(i)return(0,Gt.jsx)(`span`,{className:`text-sm`,children:e??`-`});let o=n||a.schema,s=o?.precision,{inputType:c,...l}=a;return(0,Gt.jsx)(r.Input,{...l,type:`number`,value:e??``,onChange:e=>{let n=e.target.value;t(n===``?null:Number(n))},placeholder:o?.placeholder,disabled:i||l.disabled,step:s?10**-s:`any`})}var Gt,Kt=f((()=>{Gt=v()})),qt=m({BooleanField:()=>Jt});function Jt({value:e,onChange:n,field:i,readonly:a,...o}){let s=i||o.schema,c=s?.widget,l=(0,t.useId)(),u=s?.name||l,d=s?.label||`Checkbox`;if(a)return(0,Yt.jsx)(`span`,{className:`text-sm`,children:e?`Yes`:`No`});let{inputType:f,...p}=o;return c===`checkbox`?(0,Yt.jsxs)(`div`,{className:`flex items-center space-x-2`,children:[(0,Yt.jsx)(r.Checkbox,{...p,id:u,checked:!!e,onCheckedChange:e=>n(!!e),disabled:a||p.disabled}),(0,Yt.jsx)(r.Label,{htmlFor:u,children:d})]}):(0,Yt.jsxs)(`div`,{className:`flex items-center space-x-2`,children:[(0,Yt.jsx)(r.Switch,{...p,id:u,checked:!!e,onCheckedChange:n,disabled:a||p.disabled}),(0,Yt.jsx)(r.Label,{htmlFor:u,children:d})]})}var Yt,Xt=f((()=>{Yt=v()})),Zt=m({SelectField:()=>Qt});function Qt({value:e,onChange:t,field:n,readonly:i,...a}){let o=n||a.schema,s=o?.options||[];return i?(0,$t.jsx)(`span`,{className:`text-sm`,children:s.find(t=>t.value===e)?.label||e||`-`}):(0,$t.jsxs)(r.Select,{...a,value:e,onValueChange:t,disabled:i||a.disabled,children:[(0,$t.jsx)(r.SelectTrigger,{className:a.className,id:a.id,children:(0,$t.jsx)(r.SelectValue,{placeholder:o?.placeholder||`Select an option`})}),(0,$t.jsx)(r.SelectContent,{position:`popper`,children:s.map(e=>(0,$t.jsx)(r.SelectItem,{value:e.value,children:e.label},e.value))})]})}var $t,en=f((()=>{$t=v()})),tn=m({DateField:()=>nn});function nn({value:e,onChange:t,field:n,readonly:i,...a}){if(i)return(0,rn.jsx)(`span`,{className:`text-sm`,children:e?new Date(e).toLocaleDateString():`-`});let{inputType:o,...s}=a;return(0,rn.jsx)(r.Input,{...s,type:`date`,value:e||``,onChange:e=>t(e.target.value),disabled:i||s.disabled})}var rn,an=f((()=>{rn=v()})),on=m({EmailField:()=>sn});function sn({value:e,onChange:t,field:n,readonly:i,errorMessage:a,...o}){let s=n||o.schema;if(i)return e?(0,cn.jsx)(`a`,{href:`mailto:${e}`,className:`text-sm text-blue-600 hover:text-blue-800 hover:underline`,children:e}):(0,cn.jsx)(`span`,{className:`text-sm`,children:`-`});let{inputType:c,...l}=o;return(0,cn.jsx)(r.Input,{...l,type:`email`,value:e||``,onChange:e=>t(e.target.value),placeholder:s?.placeholder||`email@example.com`,disabled:i||l.disabled,"aria-invalid":!!a})}var cn,ln=f((()=>{cn=v()})),un=m({PhoneField:()=>dn});function dn({value:e,onChange:t,field:n,readonly:i,errorMessage:a,...o}){let s=n||o.schema;if(i)return e?(0,fn.jsx)(`a`,{href:`tel:${e}`,className:`text-sm text-blue-600 hover:text-blue-800 hover:underline`,children:e}):(0,fn.jsx)(`span`,{className:`text-sm`,children:`-`});let{inputType:c,...l}=o;return(0,fn.jsx)(r.Input,{...l,type:`tel`,value:e||``,onChange:e=>t(e.target.value),placeholder:s?.placeholder||`(555) 123-4567`,disabled:i||l.disabled,"aria-invalid":!!a})}var fn,pn=f((()=>{fn=v()})),mn=m({UrlField:()=>hn});function hn({value:e,onChange:t,field:n,readonly:i,errorMessage:a,...o}){let s=n||o.schema;if(i)return e?e.startsWith(`http://`)||e.startsWith(`https://`)?(0,gn.jsx)(`a`,{href:e,target:`_blank`,rel:`noopener noreferrer`,className:`text-sm text-blue-600 hover:text-blue-800 hover:underline`,children:e}):(0,gn.jsx)(`span`,{className:`text-sm`,children:e}):(0,gn.jsx)(`span`,{className:`text-sm`,children:`-`});let{inputType:c,...l}=o;return(0,gn.jsx)(r.Input,{...l,type:`url`,value:e||``,onChange:e=>t(e.target.value),placeholder:s?.placeholder||`https://example.com`,disabled:i||l.disabled,"aria-invalid":!!a})}var gn,_n=f((()=>{gn=v()})),vn=m({CurrencyField:()=>bn});function yn(e,t=`USD`){try{return new Intl.NumberFormat(`en-US`,{style:`currency`,currency:t}).format(e)}catch{return`${t} ${e.toFixed(2)}`}}function bn({value:e,onChange:t,field:n,readonly:i,errorMessage:a,className:o,...s}){let c=n||s.schema,l=c?.currency||`USD`,u=c?.precision??2;if(i)return e==null?(0,xn.jsx)(`span`,{className:`text-sm`,children:`-`}):(0,xn.jsx)(`span`,{className:`text-sm font-medium tabular-nums`,children:yn(Number(e),l)});let d=e=>{let n=parseFloat(e.target.value);isNaN(n)||t(parseFloat(n.toFixed(u)))};return(0,xn.jsxs)(`div`,{className:`relative`,children:[(0,xn.jsx)(`span`,{className:`absolute left-3 top-1/2 -translate-y-1/2 text-sm text-gray-500`,children:l===`USD`?`$`:l}),(0,xn.jsx)(r.Input,{...s,type:`number`,value:e??``,onChange:e=>{t(e.target.value===``?null:parseFloat(e.target.value))},onBlur:d,placeholder:c?.placeholder||`0.00`,disabled:i||s.disabled,className:`pl-8 ${o||``}`,step:(10**-u).toFixed(u),"aria-invalid":!!a})]})}var xn,Sn=f((()=>{xn=v()})),Cn=m({TextAreaField:()=>wn});function wn({value:e,onChange:t,field:n,readonly:i,errorMessage:a,...o}){if(i)return(0,Tn.jsx)(`div`,{className:`text-sm whitespace-pre-wrap`,children:e||`-`});let s=n||o.schema,c=s?.rows||4,l=s?.max_length,{inputType:u,...d}=o;return(0,Tn.jsxs)(`div`,{className:`relative`,children:[(0,Tn.jsx)(r.Textarea,{...d,value:e||``,onChange:e=>t(e.target.value),placeholder:s?.placeholder,disabled:i||d.disabled,rows:c,maxLength:l,"aria-invalid":!!a}),l&&(0,Tn.jsxs)(`div`,{className:`absolute bottom-2 right-2 text-xs text-gray-400`,"aria-live":`polite`,"aria-label":`Character count: ${(e||``).length} of ${l}`,children:[(e||``).length,`/`,l]})]})}var Tn,En=f((()=>{Tn=v()})),Dn=m({RichTextField:()=>On});function On({value:e,onChange:t,field:n,readonly:i,errorMessage:a,...o}){if(i)return(0,kn.jsx)(`div`,{className:`text-sm prose prose-sm max-w-none`,children:e||`-`});let s=n||o.schema,c=s?.rows||8;return(0,kn.jsxs)(`div`,{className:`space-y-2`,children:[(0,kn.jsxs)(`div`,{className:`flex items-center justify-between text-xs text-gray-500`,children:[(0,kn.jsxs)(`span`,{children:[`Format: `,s?.format||`markdown`]}),(0,kn.jsx)(`span`,{className:`italic`,children:`Rich text editor (basic)`})]}),(0,kn.jsx)(r.Textarea,{value:e||``,onChange:e=>t(e.target.value),placeholder:s?.placeholder||`Enter text...`,disabled:i||o.disabled,rows:c,className:`font-mono text-sm ${o.className||``}`,"aria-invalid":!!a})]})}var kn,An=f((()=>{kn=v()}));function jn(e){return typeof e==`string`?{field:e}:e}function Mn(e){return e.replace(/_/g,` `).replace(/([a-z])([A-Z])/g,`$1 $2`).replace(/\b\w/g,e=>e.toUpperCase())}function Nn(e){let t={};for(let n of e)switch(n.operator){case`eq`:t[n.field]=n.value;break;case`ne`:t[n.field]={$ne:n.value};break;case`gt`:t[n.field]={$gt:n.value};break;case`lt`:t[n.field]={$lt:n.value};break;case`gte`:t[n.field]={$gte:n.value};break;case`lte`:t[n.field]={$lte:n.value};break;case`contains`:t[n.field]={$contains:n.value};break;case`in`:t[n.field]={$in:n.value};break;case`notIn`:t[n.field]={$nin:n.value};break}return t}function Pn(e,t){let n={};for(let r of t){let t=e[r.field];t==null||t===``||(r.type===`boolean`?n[r.field]=!!t:r.type===`text`?n[r.field]={$contains:t}:n[r.field]=t)}return n}function Fn({open:e,onOpenChange:n,title:i=`Select Record`,multiple:a=!1,dataSource:o,objectName:s,columns:c,displayField:l=`name`,idField:u=`id`,pageSize:d=In,value:f,onSelect:p,onSelectRecords:m,lookupFilters:h,cellRenderer:g,filterColumns:_,renderFilterBar:v,renderGrid:y}){let[b,x]=(0,t.useState)([]),[ee,S]=(0,t.useState)(!1),[te,C]=(0,t.useState)(null),[ne,re]=(0,t.useState)(0),[w,ie]=(0,t.useState)(``),[T,E]=(0,t.useState)(1),ae=(0,t.useRef)(null),[oe,D]=(0,t.useState)(null),[O,se]=(0,t.useState)(`asc`),[ce,le]=(0,t.useState)(new Set),ue=(0,t.useRef)(new Map),[k,A]=(0,t.useState)(-1),de=(0,t.useRef)(null),[fe,pe]=(0,t.useState)(!1),[j,me]=(0,t.useState)({}),[he,M]=(0,t.useState)({}),_e=(0,t.useRef)(null),[ye,be]=(0,t.useState)(``),Se=(0,t.useMemo)(()=>c&&c.length>0?c.map(jn):[{field:l,label:Mn(l)}],[c,l]),Ce=(0,t.useMemo)(()=>{if(_&&_.length>0)return _;if(h&&h.length>0)return h.map(e=>{let t=`text`;return typeof e.value==`boolean`?t=`boolean`:Array.isArray(e.value)?t=`select`:typeof e.value==`number`||e.operator===`gt`||e.operator===`lt`||e.operator===`gte`||e.operator===`lte`?t=`number`:(e.operator===`in`||e.operator===`notIn`)&&(t=`select`),{field:e.field,label:Mn(e.field),type:t,...Array.isArray(e.value)?{options:e.value.map(e=>{if(typeof e==`object`&&e){let t=e;return{label:String(t.name||t.label||t.title||e),value:e}}return{label:String(e),value:e}})}:{}}})},[_,h]),Te=(0,t.useMemo)(()=>{let e=h?.length?Nn(h):{},t=Ce?.length?Pn(j,Ce):{},n={...e,...t};return Object.keys(n).length>0?n:void 0},[h,Ce,j]),Ee=Math.max(1,Math.ceil(ne/d)),Oe=(0,t.useCallback)(async(e,t=1,n,r)=>{if(!(!o||!s)){S(!0),C(null);try{let i={$top:d,$skip:(t-1)*d};e&&e.trim()&&(i.$search=e.trim()),n&&(i.$orderby={[n.field]:n.direction});let a=r===void 0?Te:r;a&&Object.keys(a).length>0&&(i.$filter=a);let c=await o.find(s,i),l=c?.data??c??[];x(l),re(c?.total??l.length),A(-1)}catch(e){C(e instanceof Error?e.message:String(e)),x([])}finally{S(!1)}}},[o,s,d,Te]),ke=(0,t.useMemo)(()=>oe?{field:oe,direction:O}:null,[oe,O]);(0,t.useEffect)(()=>{e||(ie(``),E(1),C(null),x([]),D(null),se(`asc`),A(-1),pe(!1),me({}),M({}),be(``),le(new Set(a&&Array.isArray(f)?f:[])),ue.current.clear())},[e]),(0,t.useEffect)(()=>{e&&Oe(w||void 0,T,ke)},[e,T,ke,Te]),(0,t.useEffect)(()=>{e&&a&&le(new Set(Array.isArray(f)?f:[]))},[e,a,f]);let je=(0,t.useCallback)(e=>{ie(e),E(1),ae.current&&clearTimeout(ae.current),ae.current=setTimeout(()=>{Oe(e||void 0,1,ke)},300)},[Oe,ke]);(0,t.useEffect)(()=>()=>{ae.current&&clearTimeout(ae.current)},[]);let Me=(0,t.useCallback)(e=>{D(t=>t===e?(se(e=>e===`asc`?`desc`:`asc`),e):(se(`asc`),e)),E(1)},[]),Pe=(0,t.useCallback)(e=>e[u]??e.id??e._id,[u]),Fe=(0,t.useCallback)(e=>{let t=Pe(e);return a?ce.has(t):f===t},[a,f,ce,Pe]),Ie=(0,t.useCallback)(e=>{let t=Pe(e);a?le(n=>{let r=new Set(n);return r.has(t)?(r.delete(t),ue.current.delete(t)):(r.add(t),ue.current.set(t,e)),r}):(p(t),m?.([e]),n(!1))},[a,Pe,p,m,n]),Le=(0,t.useCallback)(()=>{let e=Array.from(ce);p(e);let t=e.map(e=>ue.current.get(e)).filter(Boolean);m?.(t),n(!1)},[ce,p,m,n]),Re=(0,t.useCallback)(()=>{E(e=>Math.max(1,e-1))},[]),ze=(0,t.useCallback)(()=>{E(e=>Math.min(Ee,e+1))},[Ee]),Be=(0,t.useCallback)(e=>{if(e.key!==`Enter`)return;let t=parseInt(ye,10);!isNaN(t)&&t>=1&&t<=Ee&&E(t),be(``)},[ye,Ee]),Ve=(0,t.useCallback)(e=>{b.length!==0&&(e.key===`ArrowDown`?(e.preventDefault(),A(e=>Math.min(e+1,b.length-1))):e.key===`ArrowUp`?(e.preventDefault(),A(e=>Math.max(e-1,0))):(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),k>=0&&k<b.length&&Ie(b[k])))},[b,k,Ie]);(0,t.useEffect)(()=>{if(k>=0&&de.current){let e=de.current.querySelector(`[data-row-index="${k}"]`);e&&typeof e.scrollIntoView==`function`&&e.scrollIntoView({block:`nearest`})}},[k]);let He=(0,t.useCallback)((e,t)=>{let n=e[t.field];if(t.type&&g){let e=g(t.type);if(e)return(0,N.jsx)(e,{value:n,field:{name:t.field,type:t.type}})}return n==null?``:typeof n==`object`?n.$numberDecimal?String(Number(n.$numberDecimal)):n.$oid?String(n.$oid):n.$date?new Date(n.$date).toLocaleDateString():n.name||n.label?String(n.name||n.label):JSON.stringify(n):typeof n==`boolean`?n?`Yes`:`No`:String(n)},[g]),Ue=(0,t.useCallback)(e=>oe===e?O===`asc`?(0,N.jsx)(xe,{className:`ml-1 size-3`}):(0,N.jsx)(ge,{className:`ml-1 size-3`}):(0,N.jsx)(ve,{className:`ml-1 size-3 opacity-40`}),[oe,O]),We=(0,t.useCallback)((e,t,n)=>{e.preventDefault(),e.stopPropagation(),_e.current={field:t,startX:e.clientX,startWidth:n};let r=e=>{if(!_e.current)return;let t=e.clientX-_e.current.startX,n=Math.max(Ln,_e.current.startWidth+t);M(e=>({...e,[_e.current.field]:n}))},i=()=>{_e.current=null,document.removeEventListener(`mousemove`,r),document.removeEventListener(`mouseup`,i)};document.addEventListener(`mousemove`,r),document.addEventListener(`mouseup`,i)},[]),Ge=(0,t.useCallback)((e,t)=>{me(n=>({...n,[e]:t})),E(1)},[]),Ke=(0,t.useCallback)(()=>{me({}),E(1)},[]),qe=(0,t.useMemo)(()=>Object.values(j).filter(e=>e!=null&&e!==``).length,[j]),Je=(0,t.useCallback)(e=>{let t=j[e.field],n=e.label||Mn(e.field);switch(e.type){case`select`:return(0,N.jsxs)(`div`,{className:`space-y-1`,children:[(0,N.jsx)(r.Label,{className:`text-xs text-muted-foreground`,children:n}),(0,N.jsxs)(r.Select,{value:t==null?``:String(t),onValueChange:t=>Ge(e.field,t),children:[(0,N.jsx)(r.SelectTrigger,{className:`h-8 text-xs`,children:(0,N.jsx)(r.SelectValue,{placeholder:`Filter ${n}`})}),(0,N.jsx)(r.SelectContent,{children:e.options?.map(e=>(0,N.jsx)(r.SelectItem,{value:String(e.value),children:e.label},String(e.value)))})]})]});case`number`:return(0,N.jsxs)(`div`,{className:`space-y-1`,children:[(0,N.jsx)(r.Label,{className:`text-xs text-muted-foreground`,children:n}),(0,N.jsx)(r.Input,{type:`number`,className:`h-8 text-xs`,value:t??``,placeholder:`Filter ${n}`,onChange:t=>{let n=t.target.value;Ge(e.field,n===``?``:Number(n))}})]});case`date`:return(0,N.jsxs)(`div`,{className:`space-y-1`,children:[(0,N.jsx)(r.Label,{className:`text-xs text-muted-foreground`,children:n}),(0,N.jsx)(r.Input,{type:`date`,className:`h-8 text-xs`,value:t??``,onChange:t=>Ge(e.field,t.target.value)})]});case`boolean`:return(0,N.jsxs)(`div`,{className:`space-y-1`,children:[(0,N.jsx)(r.Label,{className:`text-xs text-muted-foreground`,children:n}),(0,N.jsxs)(`div`,{className:`flex items-center gap-2 h-8`,children:[(0,N.jsx)(r.Checkbox,{checked:!!t,onCheckedChange:t=>Ge(e.field,!!t)}),(0,N.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:`Yes`})]})]});default:return(0,N.jsxs)(`div`,{className:`space-y-1`,children:[(0,N.jsx)(r.Label,{className:`text-xs text-muted-foreground`,children:n}),(0,N.jsx)(r.Input,{className:`h-8 text-xs`,value:t??``,placeholder:`Filter ${n}`,onChange:t=>Ge(e.field,t.target.value)})]})}},[j,Ge]),Ye=(0,t.useCallback)((e,t)=>e?`bg-primary/5 hover:bg-primary/10`:t%2==1?`bg-muted/20 hover:bg-accent/30`:`hover:bg-accent/30`,[]);return(0,N.jsx)(r.Dialog,{open:e,onOpenChange:n,children:(0,N.jsxs)(r.DialogContent,{className:`w-[95vw] sm:max-w-3xl lg:max-w-5xl max-h-[85vh] sm:max-h-[80vh] flex flex-col gap-0`,"data-testid":`record-picker-dialog`,children:[(0,N.jsx)(r.DialogHeader,{children:(0,N.jsxs)(r.DialogTitle,{children:[i,a&&(0,N.jsx)(`span`,{className:`sr-only`,children:` (multiple selection)`})]})}),(0,N.jsxs)(`div`,{className:`relative rounded-md border bg-muted/30 mb-3`,children:[(0,N.jsx)(xt,{className:`absolute left-3 top-1/2 -translate-y-1/2 size-4 text-muted-foreground`}),(0,N.jsx)(r.Input,{placeholder:`Search...`,value:w,onChange:e=>je(e.target.value),className:`pl-9 border-0 bg-transparent shadow-none focus-visible:ring-0`,"data-testid":`record-picker-search`}),ee&&(0,N.jsx)(ot,{className:`absolute right-3 top-1/2 -translate-y-1/2 size-4 animate-spin text-muted-foreground`,"data-testid":`record-picker-loading-indicator`})]}),Ce&&Ce.length>0&&(0,N.jsx)(`div`,{className:`py-2`,children:v?(0,N.jsx)(`div`,{"data-testid":`record-picker-filter-bar`,children:v({filterColumns:Ce,values:j,onChange:Ge,onClear:Ke,activeCount:qe})}):(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)(`div`,{className:`flex items-center gap-2`,"data-testid":`record-picker-filter-bar`,children:[(0,N.jsxs)(r.Button,{type:`button`,variant:qe>0?`secondary`:`outline`,size:`sm`,className:`gap-1.5 shrink-0`,onClick:()=>pe(e=>!e),children:[(0,N.jsx)(wt,{className:`size-3.5`}),`Filters`,qe>0&&(0,N.jsx)(`span`,{className:`inline-flex h-5 min-w-[20px] items-center justify-center rounded-full bg-primary/10 px-1 text-xs font-medium text-primary`,children:qe})]}),qe>0&&(0,N.jsxs)(r.Button,{type:`button`,variant:`ghost`,size:`sm`,className:`gap-1 text-xs`,onClick:Ke,children:[(0,N.jsx)(It,{className:`size-3`}),`Clear`]})]}),fe&&(0,N.jsx)(`div`,{className:`mt-2 grid gap-3 sm:grid-cols-2 lg:grid-cols-3 border rounded-md p-3 bg-muted/30`,"data-testid":`record-picker-filter-panel`,children:Ce.map(e=>(0,N.jsx)(`div`,{children:Je(e)},e.field))})]})}),te&&(0,N.jsxs)(`div`,{className:`flex flex-col items-center gap-2 py-4`,role:`alert`,children:[(0,N.jsx)(Ne,{className:`size-5 text-destructive`}),(0,N.jsx)(`p`,{className:`text-sm text-destructive`,children:te}),(0,N.jsx)(r.Button,{variant:`outline`,size:`sm`,onClick:()=>Oe(w||void 0,T,ke),type:`button`,children:`Retry`})]}),y?(0,N.jsx)(`div`,{className:`flex-1 min-h-0`,"data-testid":`record-picker-grid-slot`,children:y({columns:Se,records:b,loading:ee,totalCount:ne,currentPage:T,pageSize:d,sortField:oe,sortDirection:O,onSort:Me,onPageChange:E,onRowClick:Ie,isSelected:Fe,multiple:a,idField:u,cellRenderer:g})}):(0,N.jsxs)(N.Fragment,{children:[ee&&b.length===0&&!te&&(0,N.jsx)(`div`,{className:`flex-1 overflow-hidden min-h-0 border rounded-md`,role:`status`,"aria-live":`polite`,"data-testid":`record-picker-skeleton`,children:(0,N.jsxs)(r.Table,{children:[(0,N.jsx)(r.TableHeader,{children:(0,N.jsxs)(r.TableRow,{className:`bg-muted/40`,children:[a&&(0,N.jsx)(r.TableHead,{className:`w-10`}),Se.map(e=>(0,N.jsx)(r.TableHead,{children:(0,N.jsx)(r.Skeleton,{className:`h-4 w-20`})},e.field))]})}),(0,N.jsx)(r.TableBody,{children:Array.from({length:Rn},(e,t)=>(0,N.jsxs)(r.TableRow,{children:[a&&(0,N.jsx)(r.TableCell,{className:`w-10`,children:(0,N.jsx)(r.Skeleton,{className:`size-4 rounded`})}),Se.map(e=>(0,N.jsx)(r.TableCell,{children:(0,N.jsx)(r.Skeleton,{className:`h-4 w-full`})},e.field))]},t))})]})}),!ee&&!te&&b.length===0&&(0,N.jsx)(`div`,{className:`py-8 text-center`,children:(0,N.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`No records found`})}),!te&&b.length>0&&(0,N.jsxs)(`div`,{className:`relative flex-1 overflow-auto min-h-0 border rounded-md`,tabIndex:0,onKeyDown:Ve,role:`grid`,"aria-label":`Records`,children:[ee&&(0,N.jsx)(`div`,{className:`absolute inset-0 z-10 flex items-center justify-center bg-background/60`,"data-testid":`record-picker-loading-overlay`,children:(0,N.jsx)(ot,{className:`size-6 animate-spin text-muted-foreground`})}),(0,N.jsxs)(r.Table,{style:Object.keys(he).length>0?{tableLayout:`fixed`}:void 0,children:[(0,N.jsx)(r.TableHeader,{className:`sticky top-0 z-[5] bg-muted/50 [&_tr]:border-b`,"data-testid":`record-picker-sticky-header`,children:(0,N.jsxs)(r.TableRow,{children:[a&&(0,N.jsx)(r.TableHead,{className:`w-10`}),Se.map(e=>{let t=he[e.field];return(0,N.jsxs)(r.TableHead,{style:t?{width:`${t}px`,minWidth:`${t}px`}:e.width?{width:e.width}:void 0,className:`cursor-pointer select-none relative group text-xs font-semibold uppercase tracking-wider`,onClick:()=>Me(e.field),"aria-sort":oe===e.field?O===`asc`?`ascending`:`descending`:`none`,children:[(0,N.jsxs)(`span`,{className:`inline-flex items-center`,children:[e.label||Mn(e.field),Ue(e.field)]}),(0,N.jsx)(`span`,{role:`separator`,"aria-orientation":`vertical`,className:`absolute right-0 top-0 bottom-0 w-1 cursor-col-resize opacity-0 group-hover:opacity-100 bg-border hover:bg-primary/50 transition-opacity`,onMouseDown:t=>{let n=t.currentTarget.parentElement?.getBoundingClientRect();We(t,e.field,n?.width??100)},onClick:e=>e.stopPropagation(),"data-testid":`resize-handle-${e.field}`})]},e.field)})]})}),(0,N.jsx)(r.TableBody,{ref:de,children:b.map((e,t)=>{let n=Pe(e),i=Fe(e),o=t===k;return(0,N.jsxs)(r.TableRow,{"data-row-index":t,className:(0,r.cn)(`cursor-pointer transition-colors`,Ye(i,t),o&&`ring-2 ring-primary ring-inset`),onClick:()=>Ie(e),"data-testid":`record-row-${n}`,"aria-selected":i,children:[a&&(0,N.jsx)(r.TableCell,{className:`w-10`,children:i&&(0,N.jsx)(we,{className:`size-4 text-primary`})}),Se.map(t=>(0,N.jsx)(r.TableCell,{className:`py-2.5`,children:He(e,t)},t.field))]},n??t)})})]})]}),!te&&ne>0&&(0,N.jsxs)(`div`,{className:`flex items-center justify-between text-sm text-muted-foreground border-t pt-3 mt-2 px-1`,"data-testid":`record-picker-pagination`,children:[(0,N.jsxs)(`span`,{children:[ne,` `,ne===1?`record`:`records`,Ee>1&&` · Page ${T} of ${Ee}`]}),Ee>1&&(0,N.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,N.jsx)(r.Button,{variant:`outline`,size:`icon`,className:`size-7`,onClick:Re,disabled:T<=1,type:`button`,"aria-label":`Previous page`,children:(0,N.jsx)(De,{className:`size-4`})}),(0,N.jsx)(r.Input,{className:`h-7 w-12 text-center text-xs px-1`,placeholder:String(T),value:ye,onChange:e=>be(e.target.value),onKeyDown:Be,"aria-label":`Jump to page`,"data-testid":`record-picker-page-jump`}),(0,N.jsx)(r.Button,{variant:`outline`,size:`icon`,className:`size-7`,onClick:ze,disabled:T>=Ee,type:`button`,"aria-label":`Next page`,children:(0,N.jsx)(Ae,{className:`size-4`})})]})]})]}),a&&(0,N.jsx)(r.DialogFooter,{children:(0,N.jsxs)(`div`,{className:`flex items-center gap-2 w-full justify-between`,children:[(0,N.jsxs)(`span`,{className:`text-sm text-muted-foreground`,children:[ce.size,` selected`]}),(0,N.jsxs)(`div`,{className:`flex gap-2`,children:[(0,N.jsx)(r.Button,{variant:`outline`,type:`button`,onClick:()=>n(!1),children:`Cancel`}),(0,N.jsx)(r.Button,{type:`button`,onClick:Le,children:`Confirm`})]})]})})]})})}var N,In,Ln,Rn,zn=f((()=>{Rt(),N=v(),In=10,Ln=60,Rn=5}));function Bn(e){Hn=e}function Vn(){return Hn}var Hn,Un=f((()=>{})),Wn=m({LookupField:()=>qn});function Gn(e,t,n,r){let i=e[n]??e.id??e._id,a=e[t]??e.label??e.name??String(i),o=r?e[r]:void 0;return{value:i,label:String(a),description:o,...e}}function Kn(e){return{text:`text`,number:`number`,currency:`number`,percent:`number`,select:`select`,status:`select`,date:`date`,datetime:`date`,boolean:`boolean`}[e]}function qn({value:e,onChange:n,field:i,readonly:a,...o}){let[s,c]=(0,t.useState)(!1),[l,u]=(0,t.useState)(``),[d,f]=(0,t.useState)([]),[p,m]=(0,t.useState)(!1),[h,g]=(0,t.useState)(null),[_,v]=(0,t.useState)(0),y=(0,t.useRef)(null),[b,x]=(0,t.useState)([]),[ee,S]=(0,t.useState)(-1),te=(0,t.useRef)(null),C=i||o.schema,ne=C?.field,re=ne&&typeof ne==`object`&&(`reference_to`in ne||`reference`in ne||`type`in ne)?ne:C,w=re?.options||[],ie=re?.multiple||!1,T=re?.display_field||re?.reference_field||`name`,E=re?.description_field,ae=re?.id_field||`id`,oe=re?.reference_to||re?.reference,D=re?.lookup_columns,O=re?.lookup_page_size,se=re?.lookup_filters,ce=(0,t.useMemo)(()=>{if(!D)return;let e=[];for(let t of D)if(typeof t==`object`&&t.type){let n=Kn(t.type);n&&e.push({field:t.field,label:t.label,type:n})}return e.length>0?e:void 0},[D]),le=(0,t.useContext)(Yn)?.dataSource??null,ue=o.dataSource??C?.dataSource??re?.dataSource??le,k=ue!=null&&typeof ue.find==`function`&&!!oe,A=o.onCreateNew??C?.onCreateNew,[de,fe]=(0,t.useState)(!1),pe=k?d:w,j=(0,t.useMemo)(()=>{if(k||!l)return pe;let e=l.toLowerCase();return pe.filter(t=>t.label.toLowerCase().includes(e)||t.description&&t.description.toLowerCase().includes(e))},[k,pe,l]);(0,t.useEffect)(()=>{S(-1)},[j.length]);let me=(0,t.useCallback)(async e=>{if(!(!ue||!oe)){m(!0),g(null);try{let t={$top:Jn};e&&e.trim()&&(t.$search=e.trim());let n=await ue.find(oe,t),r=n?.data??n??[];f(r.map(e=>Gn(e,T,ae,E))),v(n?.total??r.length)}catch(e){g(e instanceof Error?e.message:String(e)),f([])}finally{m(!1)}}},[ue,oe,T,ae,E]);(0,t.useEffect)(()=>{s&&k&&me(l||void 0),s||(u(``),g(null),S(-1))},[s]);let he=(0,t.useCallback)(e=>{u(e),k&&(y.current&&clearTimeout(y.current),y.current=setTimeout(()=>{me(e||void 0)},300))},[k,me]);(0,t.useEffect)(()=>()=>{y.current&&clearTimeout(y.current)},[]);let ge=(0,t.useCallback)(e=>w.find(t=>t.value===e)??d.find(t=>t.value===e)??b.find(t=>t.value===e),[w,d,b]),M=ie?(Array.isArray(e)?e:[]).map(ge).filter(Boolean):e?[ge(e)].filter(Boolean):[],_e=(0,t.useCallback)(t=>{if(ie){let r=Array.isArray(e)?e:[];r.includes(t.value)?n(r.filter(e=>e!==t.value)):n([...r,t.value])}else n(t.value),c(!1)},[ie,e,n]),ve=t=>{n(ie?(Array.isArray(e)?e:[]).filter(e=>e!==t):null)},ye=(0,t.useCallback)(e=>{x(e.map(e=>Gn(e,T,ae,E)))},[T,ae,E]),be=(0,t.useCallback)(e=>{e.key===`ArrowDown`?(e.preventDefault(),S(e=>e<j.length-1?e+1:e)):e.key===`ArrowUp`?(e.preventDefault(),S(e=>e>0?e-1:0)):e.key===`Enter`&&(e.preventDefault(),ee>=0&&ee<j.length&&_e(j[ee]))},[j,ee,_e]);return(0,t.useEffect)(()=>{ee>=0&&te.current&&te.current.querySelector(`[data-lookup-index="${ee}"]`)?.scrollIntoView({block:`nearest`})},[ee]),a?M.length?ie?(0,P.jsx)(`div`,{className:`flex flex-wrap gap-1`,children:M.map((e,t)=>(0,P.jsx)(r.Badge,{variant:`outline`,children:e?.[T]||e?.label},t))}):(0,P.jsx)(`span`,{className:`text-sm`,children:M[0]?.[T]||M[0]?.label}):(0,P.jsx)(`span`,{className:`text-sm`,children:`-`}):(0,P.jsxs)(`div`,{className:`space-y-2`,children:[M.length>0&&(0,P.jsx)(`div`,{className:`flex flex-wrap gap-1`,children:M.map((e,t)=>(0,P.jsxs)(r.Badge,{variant:`outline`,className:`gap-1`,children:[e?.[T]||e?.label,(0,P.jsx)(`button`,{onClick:()=>ve(e?.value),className:`ml-1 hover:text-destructive`,type:`button`,"aria-label":`Remove ${e?.[T]||e?.label}`,children:(0,P.jsx)(It,{className:`size-3`})})]},t))}),(0,P.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,P.jsxs)(r.Popover,{open:s,onOpenChange:c,children:[(0,P.jsx)(r.PopoverTrigger,{asChild:!0,children:(0,P.jsxs)(r.Button,{variant:`outline`,className:`min-w-0 flex-1 justify-start text-left font-normal`,type:`button`,children:[(0,P.jsx)(xt,{className:`mr-2 size-4`}),M.length===0?C?.placeholder||`Select...`:ie?`${M.length} selected`:`Change selection`]})}),(0,P.jsxs)(r.PopoverContent,{className:`w-[var(--radix-popover-trigger-width)] p-0`,align:`start`,children:[(0,P.jsx)(`div`,{className:`p-2`,children:(0,P.jsxs)(`div`,{className:`relative`,children:[(0,P.jsx)(xt,{className:`absolute left-3 top-1/2 -translate-y-1/2 size-4 text-muted-foreground`}),(0,P.jsx)(r.Input,{placeholder:`Search...`,value:l,onChange:e=>he(e.target.value),onKeyDown:be,className:`w-full pl-9 h-8 text-sm`}),p&&(0,P.jsx)(ot,{className:`absolute right-3 top-1/2 -translate-y-1/2 size-4 animate-spin text-muted-foreground`,"data-testid":`lookup-loading`})]})}),h&&(0,P.jsxs)(`div`,{className:`flex flex-col items-center gap-2 py-4 px-2`,role:`alert`,children:[(0,P.jsx)(Ne,{className:`size-5 text-destructive`}),(0,P.jsx)(`p`,{className:`text-sm text-destructive`,children:h}),(0,P.jsx)(r.Button,{variant:`outline`,size:`sm`,onClick:()=>me(l||void 0),type:`button`,children:`Retry`})]}),p&&j.length===0&&!h&&(0,P.jsxs)(`div`,{className:`flex flex-col items-center gap-2 py-6`,role:`status`,"aria-live":`polite`,children:[(0,P.jsx)(ot,{className:`size-6 animate-spin text-muted-foreground`}),(0,P.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Loading…`})]}),!h&&!(p&&j.length===0)&&(0,P.jsx)(`div`,{ref:te,className:`max-h-64 overflow-y-auto px-1 pb-1`,role:`listbox`,children:j.length===0?(0,P.jsxs)(`div`,{className:`py-4 text-center`,children:[(0,P.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`No options found`}),A&&(0,P.jsxs)(r.Button,{variant:`ghost`,size:`sm`,className:`mt-2 gap-1`,type:`button`,onClick:()=>{A(l),c(!1)},children:[(0,P.jsx)(ht,{className:`size-4`}),`Create new`]})]}):(0,P.jsxs)(P.Fragment,{children:[j.map((t,n)=>{let i=ie?(Array.isArray(e)?e:[]).includes(t.value):e===t.value,a=n===ee;return(0,P.jsxs)(`button`,{"data-lookup-index":n,role:`option`,"aria-selected":i,onClick:()=>_e(t),className:`w-full text-left px-3 py-2 rounded-md text-sm hover:bg-accent flex items-center justify-between ${a?`bg-accent text-accent-foreground`:i?`bg-accent/50 text-accent-foreground`:``}`,type:`button`,children:[(0,P.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,P.jsx)(`span`,{className:`block truncate`,children:t.label}),t.description&&(0,P.jsx)(`span`,{className:`block truncate text-xs text-muted-foreground`,children:t.description})]}),i&&(0,P.jsx)(r.Badge,{variant:`default`,className:`ml-2 shrink-0`,children:`Selected`})]},t.value)}),k&&_>j.length&&(0,P.jsxs)(`p`,{className:`text-xs text-muted-foreground text-center py-2`,children:[`Showing `,j.length,` of `,_,` results.`]}),k&&_>j.length&&(0,P.jsxs)(`button`,{type:`button`,className:`w-full text-center px-3 py-2 rounded-md text-sm font-medium text-primary hover:bg-accent flex items-center justify-center gap-1.5`,onClick:()=>{c(!1),fe(!0)},"data-testid":`show-all-results`,children:[(0,P.jsx)(At,{className:`size-3.5`}),`Show All Results (`,_,`)`]}),A&&(0,P.jsxs)(`button`,{type:`button`,className:`w-full text-left px-3 py-2 rounded-md text-sm hover:bg-accent flex items-center gap-1.5 text-muted-foreground`,onClick:()=>{A(l),c(!1)},children:[(0,P.jsx)(ht,{className:`size-3.5`}),`Create new`,l?` "${l}"`:``]})]})})]})]}),k&&(0,P.jsx)(r.Button,{variant:`outline`,size:`icon`,className:`shrink-0`,type:`button`,onClick:()=>fe(!0),"aria-label":`Browse all records`,title:`Browse all records`,"data-testid":`browse-all-records`,children:(0,P.jsx)(At,{className:`size-4`})})]}),k&&ue&&oe&&(0,P.jsx)(Fn,{open:de,onOpenChange:fe,title:C?.label||`Select`,multiple:ie,dataSource:ue,objectName:oe,columns:D,displayField:T,idField:ae,pageSize:O,value:e,onSelect:n,onSelectRecords:ye,lookupFilters:se,cellRenderer:Vn(),filterColumns:ce})]})}var P,Jn,Yn,Xn=f((()=>{Rt(),zn(),Un(),P=v(),Jn=50,Yn=a.SchemaRendererContext})),Zn=m({DateTimeField:()=>Qn});function Qn({value:e,onChange:t,field:n,readonly:i,...a}){if(i){if(!e)return(0,$n.jsx)(`span`,{className:`text-sm`,children:`-`});let t=new Date(e);return(0,$n.jsxs)(`span`,{className:`text-sm`,children:[t.toLocaleDateString(),` `,t.toLocaleTimeString()]})}let{inputType:o,...s}=a;return(0,$n.jsx)(r.Input,{...s,type:`datetime-local`,value:e||``,onChange:e=>t(e.target.value),disabled:i||s.disabled})}var $n,er=f((()=>{$n=v()})),tr=m({TimeField:()=>nr});function nr({value:e,onChange:t,field:n,readonly:i,...a}){if(i)return(0,rr.jsx)(`span`,{className:`text-sm`,children:e||`-`});let{inputType:o,...s}=a;return(0,rr.jsx)(r.Input,{...s,type:`time`,value:e||``,onChange:e=>t(e.target.value),disabled:i||s.disabled})}var rr,ir=f((()=>{rr=v()})),ar=m({PercentField:()=>or});function or({value:e,onChange:t,field:n,readonly:i,errorMessage:a,className:o,...s}){let c=n||s.schema,l=c?.precision??2;if(i)return e==null?(0,sr.jsx)(`span`,{className:`text-sm`,children:`-`}):(0,sr.jsxs)(`span`,{className:`text-sm font-medium tabular-nums`,children:[(e*100).toFixed(l),`%`]});let u=e==null?``:e*100,d=e==null?0:e*100,f=e=>{if(e.target.value===``){t(null);return}let n=parseFloat(e.target.value);t(isNaN(n)?null:n/100)},p=e=>{if(i||s.disabled)return;if(!Array.isArray(e)||e.length===0){t(null);return}let n=e[0];t(typeof n==`number`?n/100:null)},m=10**-l;return(0,sr.jsxs)(`div`,{className:`space-y-2`,children:[(0,sr.jsxs)(`div`,{className:`relative`,children:[(0,sr.jsx)(r.Input,{...s,type:`number`,value:u,onChange:f,placeholder:c?.placeholder||`0`,disabled:i||s.disabled,className:`pr-8 ${o||``}`,step:(10**-l).toFixed(l),"aria-invalid":!!a}),(0,sr.jsx)(`span`,{className:`absolute right-3 top-1/2 -translate-y-1/2 text-sm text-gray-500`,children:`%`})]}),(0,sr.jsx)(r.Slider,{value:[d],onValueChange:p,min:0,max:100,step:m,disabled:i||s.disabled,className:`w-full`,"aria-label":`Percentage`,"data-testid":`percent-slider`})]})}var sr,cr=f((()=>{sr=v()})),lr=m({PasswordField:()=>ur});function ur({value:e,onChange:n,field:i,readonly:a,className:o,...s}){let[c,l]=(0,t.useState)(!1),u=i||s.schema;if(a)return(0,dr.jsx)(`span`,{className:`text-sm`,children:`••••••••`});let{inputType:d,...f}=s;return(0,dr.jsxs)(`div`,{className:`relative`,children:[(0,dr.jsx)(r.Input,{...f,type:c?`text`:`password`,value:e||``,onChange:e=>n(e.target.value),placeholder:u?.placeholder,disabled:a||f.disabled,className:`pr-10 ${o||``}`}),(0,dr.jsx)(r.Button,{type:`button`,variant:`ghost`,size:`sm`,className:`absolute right-0 top-0 h-full px-3 py-2 hover:bg-transparent`,onClick:()=>l(!c),tabIndex:-1,children:c?(0,dr.jsx)(Je,{className:`size-4 text-gray-500`}):(0,dr.jsx)(Ze,{className:`size-4 text-gray-500`})})]})}var dr,fr=f((()=>{Rt(),dr=v()})),pr=m({FileField:()=>mr});function mr({value:e,onChange:n,field:i,readonly:a,...o}){let s=(0,t.useRef)(null),c=i||o.schema,l=c?.multiple||!1,u=c?.accept?c.accept.join(`,`):void 0,d=c?.maxSize,[f,p]=(0,t.useState)(!1),[m,h]=(0,t.useState)([]),g=e?Array.isArray(e)?e:[e]:[],_=(0,t.useCallback)(e=>{if(e.length===0)return;let t=[],r=e.filter(e=>{if(d&&e.size>d){let n=(d/(1024*1024)).toFixed(1);return t.push(`"${e.name}" exceeds max size (${n} MB)`),!1}return!0});if(h(t),r.length===0)return;let i=r.map(e=>({name:e.name,original_name:e.name,size:e.size,mime_type:e.type,url:URL.createObjectURL(e)}));n(l?[...g,...i]:i[0])},[g,l,n,d]),v=(0,t.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),p(!0)},[]),y=(0,t.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),p(!1)},[]),b=(0,t.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),p(!1);let t=Array.from(e.dataTransfer.files);if(u){let e=u.split(`,`).map(e=>e.trim().toLowerCase());_(t.filter(t=>{let n=t.name.split(`.`),r=n.length>1?`.`+n.pop()?.toLowerCase():``;return e.some(e=>e===t.type||r&&e===r||e.endsWith(`/*`)&&t.type.startsWith(e.replace(`/*`,`/`)))}))}else _(t)},[u,_]);if(a)return e?(0,hr.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:(Array.isArray(e)?e:[e]).map((e,t)=>(0,hr.jsx)(`span`,{className:`text-sm truncate max-w-xs`,children:e.name||e.original_name||`File`},t))}):(0,hr.jsx)(`span`,{className:`text-sm`,children:`-`});let x=e=>{_(Array.from(e.target.files||[]))},ee=e=>{if(l){let t=g.filter((t,n)=>n!==e);n(t.length>0?t:null)}else n(null)},S=e=>(e.mime_type||``).startsWith(`image/`);return(0,hr.jsxs)(`div`,{className:o.className,children:[(0,hr.jsx)(`input`,{ref:s,type:`file`,multiple:l,accept:u,onChange:x,className:`hidden`}),(0,hr.jsxs)(`div`,{className:`space-y-2`,children:[(0,hr.jsxs)(`div`,{onDragOver:v,onDragLeave:y,onDrop:b,onClick:()=>s.current?.click(),className:`
228
232
  flex flex-col items-center justify-center gap-2 p-6
229
233
  border-2 border-dashed rounded-lg cursor-pointer
230
234
  transition-colors duration-200
231
- ${re?"border-primary bg-primary/5 text-primary":"border-muted-foreground/25 hover:border-primary/50 text-muted-foreground hover:text-foreground"}
232
- `,role:"button",tabIndex:0,onKeyDown:me=>{(me.key==="Enter"||me.key===" ")&&(me.preventDefault(),H.current?.click())},children:[b.jsx(Zb,{className:`size-8 ${re?"text-primary":"text-muted-foreground"}`}),b.jsxs("div",{className:"text-center",children:[b.jsx("p",{className:"text-sm font-medium",children:re?"Drop files here":"Drag & drop files here"}),b.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"or click to browse"})]})]}),Z.length>0&&b.jsx("div",{className:"space-y-0.5",children:Z.map((me,Ee)=>b.jsx("p",{className:"text-xs text-destructive",children:me},Ee))}),se.length>0&&b.jsx("div",{className:"space-y-1",children:se.map((me,Ee)=>b.jsxs("div",{className:"flex items-center justify-between gap-2 p-2 bg-muted/50 rounded-md border",children:[b.jsxs("div",{className:"flex items-center gap-2 flex-1 min-w-0",children:[ut(me)&&me.url?b.jsx("img",{src:me.url,alt:me.name,className:"size-8 object-cover rounded flex-shrink-0"}):ut(me)?b.jsx(Gb,{className:"size-4 text-muted-foreground flex-shrink-0"}):b.jsx(ax,{className:"size-4 text-muted-foreground flex-shrink-0"}),b.jsx("span",{className:"text-sm truncate",children:me.name||me.original_name||"File"}),me.size&&b.jsxs("span",{className:"text-xs text-muted-foreground",children:["(",(me.size/1024).toFixed(1)," KB)"]})]}),b.jsx(le.Button,{type:"button",variant:"ghost",size:"sm",onClick:pe=>{pe.stopPropagation(),Ge(Ee)},className:"h-6 w-6 p-0",children:b.jsx(Gr,{className:"size-3"})})]},Ee))})]})]})}const Ax=Object.freeze(Object.defineProperty({__proto__:null,FileField:Ex},Symbol.toStringTag,{value:"Module"}));function sS({value:m,onChange:j,field:Q,readonly:S,...N}){const H=ie.useRef(null),q=Q||N.schema,D=q?.multiple||!1,L=q?.accept?q.accept.join(","):"image/*";if(S){if(!m)return b.jsx("span",{className:"text-sm",children:"-"});const Z=Array.isArray(m)?m:[m];return b.jsx("div",{className:"flex flex-wrap gap-2",children:Z.map((ue,se)=>b.jsx("img",{src:ue.url||"",alt:ue.name||`Image ${se+1}`,className:"size-20 rounded-md object-cover border border-gray-200"},se))})}const te=m?Array.isArray(m)?m:[m]:[],re=Z=>{const ue=Array.from(Z.target.files||[]);if(ue.length===0)return;const se=ue.map(Te=>({name:Te.name,original_name:Te.name,size:Te.size,mime_type:Te.type,url:URL.createObjectURL(Te)}));j(D?[...te,...se]:se[0])},k=Z=>{if(D){const ue=te.filter((se,Te)=>Te!==Z);j(ue.length>0?ue:null)}else j(null)};return b.jsxs("div",{className:N.className,children:[b.jsx("input",{ref:H,type:"file",multiple:D,accept:L,onChange:re,className:"hidden"}),b.jsxs("div",{className:"space-y-2",children:[te.length>0&&b.jsx("div",{className:"grid grid-cols-4 gap-2",children:te.map((Z,ue)=>b.jsxs("div",{className:"relative group",children:[b.jsx("img",{src:Z.url||"",alt:Z.name||`Image ${ue+1}`,className:"size-20 rounded-md object-cover border border-gray-200"}),b.jsx(le.Button,{type:"button",variant:"destructive",size:"sm",onClick:()=>k(ue),className:"absolute top-1 right-1 h-6 w-6 p-0 opacity-0 group-hover:opacity-100 transition-opacity",children:b.jsx(Gr,{className:"size-3"})})]},ue))}),b.jsxs(le.Button,{type:"button",variant:"outline",onClick:()=>H.current?.click(),className:"w-full",children:[b.jsx(Gb,{className:"size-4 mr-2"}),te.length>0?"Add More Images":"Upload Image"]})]})]})}const zx=Object.freeze(Object.defineProperty({__proto__:null,ImageField:sS},Symbol.toStringTag,{value:"Module"}));function Ox({value:m,onChange:j,field:Q,readonly:S,...N}){const H=Q||N.schema,q=m&&typeof m=="object"?`${m.latitude||0}, ${m.longitude||0}`:"";if(S)return b.jsx("span",{className:"text-sm",children:q||"-"});const D=L=>{const te=L.target.value;if(!te.trim()){j(null);return}const re=te.split(",").map(k=>k.trim());if(re.length===2){const k=parseFloat(re[0]),Z=parseFloat(re[1]);!isNaN(k)&&!isNaN(Z)&&j({latitude:k,longitude:Z})}};return b.jsx(le.Input,{type:"text",value:q,onChange:D,placeholder:H?.placeholder||"latitude, longitude",disabled:S||N.disabled,className:N.className})}const Dx=Object.freeze(Object.defineProperty({__proto__:null,LocationField:Ox},Symbol.toStringTag,{value:"Module"}));function Cx({value:m,field:j,...Q}){const N=(j||Q.schema)?.return_type||"text";let H="-";return m!=null&&(N==="number"||N==="currency"?H=typeof m=="number"?m.toFixed(2):String(m):N==="boolean"?H=m?"Yes":"No":N==="date"?H=new Date(m).toLocaleDateString():H=String(m)),b.jsx("span",{className:`text-sm font-mono text-gray-700 ${Q.className||""}`,children:H})}const Mx=Object.freeze(Object.defineProperty({__proto__:null,FormulaField:Cx},Symbol.toStringTag,{value:"Module"}));function _x({value:m,field:j,...Q}){const N=(j||Q.schema)?.summary_type||"count";let H="-";return m!=null&&(N==="count"?H=String(m):["sum","avg","min","max"].includes(N)?H=typeof m=="number"?m.toFixed(2):String(m):H=String(m)),b.jsx("span",{className:`text-sm font-medium tabular-nums text-gray-700 ${Q.className||""}`,children:H})}const jx=Object.freeze(Object.defineProperty({__proto__:null,SummaryField:_x},Symbol.toStringTag,{value:"Module"}));function Nx({value:m,field:j,...Q}){const S=m!=null?String(m):"-";return b.jsx("span",{className:`text-sm font-mono text-gray-700 ${Q.className||""}`,children:S})}const Rx=Object.freeze(Object.defineProperty({__proto__:null,AutoNumberField:Nx},Symbol.toStringTag,{value:"Module"}));function Ux({value:m,onChange:j,field:Q,readonly:S,...N}){const q=(Q||N.schema)?.multiple||!1;if(S){if(!m)return b.jsx("span",{className:"text-sm",children:"-"});const te=Array.isArray(m)?m:[m];return b.jsxs("div",{className:"flex -space-x-2",children:[te.slice(0,3).map((re,k)=>{const Z=re.name||re.username||"User",ue=Z.split(" ").map(se=>se[0]).join("").toUpperCase().slice(0,2);return b.jsx(le.Avatar,{className:"size-8 border-2 border-white",title:Z,children:b.jsx(le.AvatarFallback,{className:"bg-blue-500 text-white text-xs",children:ue})},k)}),te.length>3&&b.jsx(le.Avatar,{className:"size-8 border-2 border-white",children:b.jsxs(le.AvatarFallback,{className:"bg-gray-200 text-gray-600 text-xs",children:["+",te.length-3]})})]})}const D=m?Array.isArray(m)?m:[m]:[],L=te=>{if(q){const re=D.filter((k,Z)=>Z!==te);j(re.length>0?re:null)}else j(null)};return b.jsxs("div",{className:N.className,children:[D.length>0&&b.jsx("div",{className:"flex flex-wrap gap-2 mb-2",children:D.map((te,re)=>{const k=te.name||te.username||"User",Z=k.split(" ").map(ue=>ue[0]).join("").toUpperCase().slice(0,2);return b.jsxs(le.Badge,{variant:"outline",className:"gap-2 pr-1",children:[b.jsx(le.Avatar,{className:"size-5",children:b.jsx(le.AvatarFallback,{className:"bg-blue-500 text-white text-xs",children:Z})}),b.jsx("span",{className:"text-sm",children:k}),b.jsx("button",{type:"button",onClick:()=>L(re),className:"ml-1 rounded-full hover:bg-gray-200 p-0.5",children:b.jsx(Gr,{className:"size-3"})})]},re)})}),b.jsx("div",{className:"text-sm text-gray-500 italic",children:"User selection component requires integration with user management system"})]})}const fS=Object.freeze(Object.defineProperty({__proto__:null,UserField:Ux},Symbol.toStringTag,{value:"Module"}));function Hx({value:m,onChange:j,field:Q,readonly:S,...N}){const H=Q||N.schema,q=()=>m==null?"":JSON.stringify(m,null,2),[D,L]=ie.useState(q),[te,re]=ie.useState(null);if(ie.useEffect(()=>{try{if(m==null){L("");return}const Z=D?JSON.parse(D):null;JSON.stringify(Z)!==JSON.stringify(m)&&L(JSON.stringify(m,null,2))}catch{L(JSON.stringify(m,null,2))}},[m,D]),S)return m?b.jsx("pre",{className:le.cn("text-xs bg-gray-50 p-2 rounded border border-gray-200 overflow-auto max-h-40",N.className),children:JSON.stringify(m,null,2)}):b.jsx("span",{className:"text-sm",children:"-"});const k=Z=>{const ue=Z.target.value;if(L(ue),re(null),!ue.trim()){j(null);return}try{const se=JSON.parse(ue);j(se)}catch{re("Invalid JSON")}};return b.jsxs("div",{className:"space-y-1",children:[b.jsx(le.Textarea,{value:D,onChange:k,placeholder:H?.placeholder||`{
235
+ ${f?`border-primary bg-primary/5 text-primary`:`border-muted-foreground/25 hover:border-primary/50 text-muted-foreground hover:text-foreground`}
236
+ `,role:`button`,tabIndex:0,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),s.current?.click())},children:[(0,hr.jsx)(Nt,{className:`size-8 ${f?`text-primary`:`text-muted-foreground`}`}),(0,hr.jsxs)(`div`,{className:`text-center`,children:[(0,hr.jsx)(`p`,{className:`text-sm font-medium`,children:f?`Drop files here`:`Drag & drop files here`}),(0,hr.jsx)(`p`,{className:`text-xs text-muted-foreground mt-1`,children:`or click to browse`})]})]}),m.length>0&&(0,hr.jsx)(`div`,{className:`space-y-0.5`,children:m.map((e,t)=>(0,hr.jsx)(`p`,{className:`text-xs text-destructive`,children:e},t))}),g.length>0&&(0,hr.jsx)(`div`,{className:`space-y-1`,children:g.map((e,t)=>(0,hr.jsxs)(`div`,{className:`flex items-center justify-between gap-2 p-2 bg-muted/50 rounded-md border`,children:[(0,hr.jsxs)(`div`,{className:`flex items-center gap-2 flex-1 min-w-0`,children:[S(e)&&e.url?(0,hr.jsx)(`img`,{src:e.url,alt:e.name,className:`size-8 object-cover rounded flex-shrink-0`}):S(e)?(0,hr.jsx)(rt,{className:`size-4 text-muted-foreground flex-shrink-0`}):(0,hr.jsx)(et,{className:`size-4 text-muted-foreground flex-shrink-0`}),(0,hr.jsx)(`span`,{className:`text-sm truncate`,children:e.name||e.original_name||`File`}),e.size&&(0,hr.jsxs)(`span`,{className:`text-xs text-muted-foreground`,children:[`(`,(e.size/1024).toFixed(1),` KB)`]})]}),(0,hr.jsx)(r.Button,{type:`button`,variant:`ghost`,size:`sm`,onClick:e=>{e.stopPropagation(),ee(t)},className:`h-6 w-6 p-0`,children:(0,hr.jsx)(It,{className:`size-3`})})]},t))})]})]})}var hr,gr=f((()=>{Rt(),hr=v()})),_r=m({ImageField:()=>vr});function vr({value:e,onChange:n,field:i,readonly:a,...o}){let s=(0,t.useRef)(null),c=i||o.schema,l=c?.multiple||!1,u=c?.accept?c.accept.join(`,`):`image/*`;if(a)return e?(0,yr.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:(Array.isArray(e)?e:[e]).map((e,t)=>(0,yr.jsx)(`img`,{src:e.url||``,alt:e.name||`Image ${t+1}`,className:`size-20 rounded-md object-cover border border-gray-200`},t))}):(0,yr.jsx)(`span`,{className:`text-sm`,children:`-`});let d=e?Array.isArray(e)?e:[e]:[],f=e=>{let t=Array.from(e.target.files||[]);if(t.length===0)return;let r=t.map(e=>({name:e.name,original_name:e.name,size:e.size,mime_type:e.type,url:URL.createObjectURL(e)}));n(l?[...d,...r]:r[0])},p=e=>{if(l){let t=d.filter((t,n)=>n!==e);n(t.length>0?t:null)}else n(null)};return(0,yr.jsxs)(`div`,{className:o.className,children:[(0,yr.jsx)(`input`,{ref:s,type:`file`,multiple:l,accept:u,onChange:f,className:`hidden`}),(0,yr.jsxs)(`div`,{className:`space-y-2`,children:[d.length>0&&(0,yr.jsx)(`div`,{className:`grid grid-cols-4 gap-2`,children:d.map((e,t)=>(0,yr.jsxs)(`div`,{className:`relative group`,children:[(0,yr.jsx)(`img`,{src:e.url||``,alt:e.name||`Image ${t+1}`,className:`size-20 rounded-md object-cover border border-gray-200`}),(0,yr.jsx)(r.Button,{type:`button`,variant:`destructive`,size:`sm`,onClick:()=>p(t),className:`absolute top-1 right-1 h-6 w-6 p-0 opacity-0 group-hover:opacity-100 transition-opacity`,children:(0,yr.jsx)(It,{className:`size-3`})})]},t))}),(0,yr.jsxs)(r.Button,{type:`button`,variant:`outline`,onClick:()=>s.current?.click(),className:`w-full`,children:[(0,yr.jsx)(rt,{className:`size-4 mr-2`}),d.length>0?`Add More Images`:`Upload Image`]})]})]})}var yr,br=f((()=>{Rt(),yr=v()})),xr=m({LocationField:()=>Sr});function Sr({value:e,onChange:t,field:n,readonly:i,...a}){let o=n||a.schema,s=e&&typeof e==`object`?`${e.latitude||0}, ${e.longitude||0}`:``;return i?(0,Cr.jsx)(`span`,{className:`text-sm`,children:s||`-`}):(0,Cr.jsx)(r.Input,{type:`text`,value:s,onChange:e=>{let n=e.target.value;if(!n.trim()){t(null);return}let r=n.split(`,`).map(e=>e.trim());if(r.length===2){let e=parseFloat(r[0]),n=parseFloat(r[1]);!isNaN(e)&&!isNaN(n)&&t({latitude:e,longitude:n})}},placeholder:o?.placeholder||`latitude, longitude`,disabled:i||a.disabled,className:a.className})}var Cr,wr=f((()=>{Cr=v()})),Tr=m({FormulaField:()=>Er});function Er({value:e,field:t,...n}){let r=(t||n.schema)?.return_type||`text`,i=`-`;return e!=null&&(i=r===`number`||r===`currency`?typeof e==`number`?e.toFixed(2):String(e):r===`boolean`?e?`Yes`:`No`:r===`date`?new Date(e).toLocaleDateString():String(e)),(0,Dr.jsx)(`span`,{className:`text-sm font-mono text-gray-700 ${n.className||``}`,children:i})}var Dr,Or=f((()=>{Dr=v()})),kr=m({SummaryField:()=>Ar});function Ar({value:e,field:t,...n}){let r=(t||n.schema)?.summary_type||`count`,i=`-`;return e!=null&&(i=r===`count`?String(e):[`sum`,`avg`,`min`,`max`].includes(r)&&typeof e==`number`?e.toFixed(2):String(e)),(0,jr.jsx)(`span`,{className:`text-sm font-medium tabular-nums text-gray-700 ${n.className||``}`,children:i})}var jr,Mr=f((()=>{jr=v()})),Nr=m({AutoNumberField:()=>Pr});function Pr({value:e,field:t,...n}){let r=e==null?`-`:String(e);return(0,Fr.jsx)(`span`,{className:`text-sm font-mono text-gray-700 ${n.className||``}`,children:r})}var Fr,Ir=f((()=>{Fr=v()})),Lr=m({UserField:()=>Rr});function Rr({value:e,onChange:t,field:n,readonly:i,...a}){let o=(n||a.schema)?.multiple||!1;if(i){if(!e)return(0,zr.jsx)(`span`,{className:`text-sm`,children:`-`});let t=Array.isArray(e)?e:[e];return(0,zr.jsxs)(`div`,{className:`flex -space-x-2`,children:[t.slice(0,3).map((e,t)=>{let n=e.name||e.username||`User`;return(0,zr.jsx)(r.Avatar,{className:`size-8 border-2 border-white`,title:n,children:(0,zr.jsx)(r.AvatarFallback,{className:`bg-blue-500 text-white text-xs`,children:n.split(` `).map(e=>e[0]).join(``).toUpperCase().slice(0,2)})},t)}),t.length>3&&(0,zr.jsx)(r.Avatar,{className:`size-8 border-2 border-white`,children:(0,zr.jsxs)(r.AvatarFallback,{className:`bg-gray-200 text-gray-600 text-xs`,children:[`+`,t.length-3]})})]})}let s=e?Array.isArray(e)?e:[e]:[],c=e=>{if(o){let n=s.filter((t,n)=>n!==e);t(n.length>0?n:null)}else t(null)};return(0,zr.jsxs)(`div`,{className:a.className,children:[s.length>0&&(0,zr.jsx)(`div`,{className:`flex flex-wrap gap-2 mb-2`,children:s.map((e,t)=>{let n=e.name||e.username||`User`;return(0,zr.jsxs)(r.Badge,{variant:`outline`,className:`gap-2 pr-1`,children:[(0,zr.jsx)(r.Avatar,{className:`size-5`,children:(0,zr.jsx)(r.AvatarFallback,{className:`bg-blue-500 text-white text-xs`,children:n.split(` `).map(e=>e[0]).join(``).toUpperCase().slice(0,2)})}),(0,zr.jsx)(`span`,{className:`text-sm`,children:n}),(0,zr.jsx)(`button`,{type:`button`,onClick:()=>c(t),className:`ml-1 rounded-full hover:bg-gray-200 p-0.5`,children:(0,zr.jsx)(It,{className:`size-3`})})]},t)})}),(0,zr.jsx)(`div`,{className:`text-sm text-gray-500 italic`,children:`User selection component requires integration with user management system`})]})}var zr,Br=f((()=>{Rt(),zr=v()})),Vr=m({ObjectField:()=>Hr});function Hr({value:e,onChange:n,field:i,readonly:a,...o}){let s=i||o.schema,[c,l]=(0,t.useState)(()=>e==null?``:JSON.stringify(e,null,2)),[u,d]=(0,t.useState)(null);return(0,t.useEffect)(()=>{try{if(e==null){l(``);return}let t=c?JSON.parse(c):null;JSON.stringify(t)!==JSON.stringify(e)&&l(JSON.stringify(e,null,2))}catch{l(JSON.stringify(e,null,2))}},[e,c]),a?e?(0,Ur.jsx)(`pre`,{className:(0,r.cn)(`text-xs bg-gray-50 p-2 rounded border border-gray-200 overflow-auto max-h-40`,o.className),children:JSON.stringify(e,null,2)}):(0,Ur.jsx)(`span`,{className:`text-sm`,children:`-`}):(0,Ur.jsxs)(`div`,{className:`space-y-1`,children:[(0,Ur.jsx)(r.Textarea,{value:c,onChange:e=>{let t=e.target.value;if(l(t),d(null),!t.trim()){n(null);return}try{n(JSON.parse(t))}catch{d(`Invalid JSON`)}},placeholder:s?.placeholder||`{
233
237
  "key": "value"
234
- }`,disabled:S||N.disabled,className:le.cn("font-mono text-xs",te?"border-red-500 focus-visible:ring-red-500":"",N.className),rows:6}),te&&b.jsx("p",{className:"text-xs text-red-500",children:te})]})}const Bx=Object.freeze(Object.defineProperty({__proto__:null,ObjectField:Hx},Symbol.toStringTag,{value:"Module"}));function qx({value:m,field:j,...Q}){const N=(j||Q.schema)?.dimensions||(Array.isArray(m)?m.length:0);if(!m||!Array.isArray(m))return b.jsx("span",{className:"text-sm text-gray-500",children:"-"});const H=m.slice(0,3).map(q=>{const D=Number(q);return isNaN(D)?"0":D.toFixed(4)}).join(", ");return b.jsxs("div",{className:`text-sm ${Q.className||""}`,children:[b.jsxs("span",{className:"font-mono text-gray-700",children:["[",H,"...]"]}),b.jsxs("span",{className:"text-gray-500 ml-2",children:["(",N,"D)"]})]})}const Yx=Object.freeze(Object.defineProperty({__proto__:null,VectorField:qx},Symbol.toStringTag,{value:"Module"}));function Gx({value:m,field:j,readonly:Q,...S}){const H=(j||S.schema)?.columns||[];return!m||!Array.isArray(m)?b.jsx("span",{className:"text-sm text-muted-foreground",children:"-"}):Q?b.jsx("div",{className:le.cn("text-sm",S.className),children:b.jsxs("span",{className:"text-foreground",children:[m.length," rows"]})}):b.jsxs("div",{className:le.cn("border border-border rounded-lg overflow-hidden",S.className),children:[b.jsx("div",{className:"overflow-auto max-h-60",children:b.jsxs("table",{className:"w-full text-sm",children:[b.jsx("thead",{className:"bg-muted border-b border-border",children:b.jsx("tr",{children:H.map((q,D)=>b.jsx("th",{className:"px-3 py-2 text-left text-xs font-medium text-muted-foreground",children:q.label||q.name},D))})}),b.jsx("tbody",{className:"divide-y divide-border",children:m.slice(0,5).map((q,D)=>b.jsx("tr",{className:"hover:bg-muted/50 transition-colors",children:H.map((L,te)=>b.jsx("td",{className:"px-3 py-2 text-foreground",children:q[L.name]!=null?String(q[L.name]):"-"},te))},D))})]})}),m.length>5&&b.jsxs("div",{className:"bg-muted px-3 py-2 text-xs text-muted-foreground border-t border-border",children:["Showing 5 of ",m.length," rows"]})]})}const wx=Object.freeze(Object.defineProperty({__proto__:null,GridField:Gx},Symbol.toStringTag,{value:"Module"}));function rS({value:m,onChange:j,field:Q,readonly:S,...N}){const H=Q||N.schema;return S?b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx("div",{className:"w-6 h-6 rounded border border-input",style:{backgroundColor:m||"#000000"}}),b.jsx("span",{className:"text-sm",children:m||"-"})]}):b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx("input",{type:"color",value:m||"#000000",onChange:q=>j(q.target.value),disabled:S||N.disabled,className:"w-10 h-10 rounded border border-input cursor-pointer"}),b.jsx(le.Input,{type:"text",value:m||"",onChange:q=>j(q.target.value),placeholder:H?.placeholder||"#000000",disabled:S||N.disabled,className:N.className,pattern:"^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$"})]})}const Vx=Object.freeze(Object.defineProperty({__proto__:null,ColorField:rS},Symbol.toStringTag,{value:"Module"}));function dS({value:m,onChange:j,field:Q,readonly:S,...N}){const H=Q||N.schema,q=H?.min??0,D=H?.max??100,L=H?.step??1;return S?b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx("span",{className:"text-sm font-medium",children:m??q}),b.jsxs("span",{className:"text-xs text-muted-foreground",children:["/ ",D]})]}):b.jsxs("div",{className:"flex items-center gap-4",children:[b.jsx(le.Slider,{value:[m??q],onValueChange:te=>j(te[0]),min:q,max:D,step:L,disabled:S||N.disabled,className:N.className}),b.jsx("span",{className:"text-sm font-medium w-12 text-right",children:m??q})]})}const Xx=Object.freeze(Object.defineProperty({__proto__:null,SliderField:dS},Symbol.toStringTag,{value:"Module"}));function hS({value:m,onChange:j,field:Q,readonly:S,className:N,...H}){const D=(Q||H.schema)?.max??5,L=m??0,[te,re]=ie.useState(null),k=te!==null?te:L;return S?b.jsxs("div",{className:le.cn("flex items-center gap-1",N),children:[Array.from({length:D},(Z,ue)=>b.jsx(Lb,{className:`w-5 h-5 ${ue<L?"fill-yellow-400 text-yellow-400":"text-muted-foreground"}`},ue)),b.jsxs("span",{className:"ml-2 text-sm text-muted-foreground",children:[L," / ",D]})]}):b.jsxs("div",{className:le.cn("flex items-center gap-1",N),children:[Array.from({length:D},(Z,ue)=>b.jsx("button",{type:"button",onClick:()=>j(ue+1),onMouseEnter:()=>re(ue+1),onMouseLeave:()=>re(null),className:"focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 rounded",disabled:S||H.disabled,children:b.jsx(Lb,{className:`w-5 h-5 transition-colors ${ue<k?"fill-yellow-400 text-yellow-400 hover:fill-yellow-500 hover:text-yellow-500":"text-muted-foreground hover:text-yellow-400"}`})},ue)),b.jsxs("span",{className:"ml-2 text-sm text-muted-foreground",children:[L," / ",D]})]})}const Qx=Object.freeze(Object.defineProperty({__proto__:null,RatingField:hS},Symbol.toStringTag,{value:"Module"}));function mS({value:m,onChange:j,field:Q,readonly:S,...N}){const H=Q||N.schema,q=H?.language??"javascript";return S?b.jsx("pre",{className:le.cn("text-sm bg-muted p-2 rounded overflow-x-auto border",N.className),children:b.jsx("code",{children:m||"-"})}):b.jsx(le.Textarea,{value:m||"",onChange:D=>j(D.target.value),placeholder:H?.placeholder||`// Write ${q} code here...`,disabled:S||N.disabled,className:le.cn("font-mono text-sm",N.className),rows:12,spellCheck:!1})}const Lx=Object.freeze(Object.defineProperty({__proto__:null,CodeField:mS},Symbol.toStringTag,{value:"Module"}));function yS({value:m,onChange:j,field:Q,readonly:S,...N}){const[H,q]=ie.useState(!1),D=ie.useRef(null),L=Q||N.schema,te=Z=>{const ue=Z.target.files?.[0];if(!ue)return;if(!ue.type.startsWith("image/")){console.error("Please select an image file");return}if(ue.size>5*1024*1024){console.error("File size must be less than 5MB");return}const se=new FileReader;se.onloadend=()=>{j(se.result)},se.readAsDataURL(ue)},re=()=>{j("")},k=()=>(L?.defaultName||L?.label||"User").split(" ").map(ue=>ue[0]).join("").toUpperCase().slice(0,2);return S?b.jsxs(le.Avatar,{className:"w-16 h-16",children:[m&&b.jsx(le.AvatarImage,{src:m,alt:L?.label}),b.jsx(le.AvatarFallback,{children:k()})]}):b.jsxs("div",{className:"flex items-center gap-4",children:[b.jsxs("div",{className:"relative",onMouseEnter:()=>q(!0),onMouseLeave:()=>q(!1),children:[b.jsxs(le.Avatar,{className:"w-16 h-16",children:[m&&b.jsx(le.AvatarImage,{src:m,alt:L?.label}),b.jsx(le.AvatarFallback,{children:k()})]}),!S&&H&&m&&b.jsx("button",{type:"button",onClick:re,className:"absolute -top-1 -right-1 bg-destructive text-destructive-foreground rounded-full p-1 hover:bg-destructive/90",children:b.jsx(Gr,{className:"w-3 h-3"})})]}),b.jsxs("div",{className:"flex flex-col gap-2",children:[b.jsx("input",{ref:D,type:"file",accept:"image/*",onChange:te,className:"hidden"}),b.jsxs(le.Button,{type:"button",variant:"outline",size:"sm",onClick:()=>D.current?.click(),disabled:S||N.disabled,children:[b.jsx(Zb,{className:"w-4 h-4 mr-2"}),m?"Change":"Upload"," Avatar"]}),b.jsx("p",{className:"text-xs text-muted-foreground",children:"PNG, JPG up to 5MB"})]})]})}const Zx=Object.freeze(Object.defineProperty({__proto__:null,AvatarField:yS},Symbol.toStringTag,{value:"Module"}));function Jx({value:m,onChange:j,field:Q,readonly:S,...N}){const H=m||{},q=(L,te)=>{j({...H,[L]:te})},D=L=>[L.street,L.city,[L.state,L.zipCode].filter(Boolean).join(" "),L.country].filter(Boolean).join(", ")||"-";return S?b.jsx("span",{className:"text-sm",children:D(H)}):b.jsxs("div",{className:"space-y-3",children:[b.jsxs("div",{children:[b.jsx(le.Label,{htmlFor:"street",className:"text-xs",children:"Street Address"}),b.jsx(le.Input,{id:"street",type:"text",value:H.street||"",onChange:L=>q("street",L.target.value),placeholder:"123 Main St",disabled:S||N.disabled,className:N.className})]}),b.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[b.jsxs("div",{children:[b.jsx(le.Label,{htmlFor:"city",className:"text-xs",children:"City"}),b.jsx(le.Input,{id:"city",type:"text",value:H.city||"",onChange:L=>q("city",L.target.value),placeholder:"San Francisco",disabled:S||N.disabled})]}),b.jsxs("div",{children:[b.jsx(le.Label,{htmlFor:"state",className:"text-xs",children:"State / Province"}),b.jsx(le.Input,{id:"state",type:"text",value:H.state||"",onChange:L=>q("state",L.target.value),placeholder:"CA",disabled:S||N.disabled})]})]}),b.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[b.jsxs("div",{children:[b.jsx(le.Label,{htmlFor:"zipCode",className:"text-xs",children:"ZIP / Postal Code"}),b.jsx(le.Input,{id:"zipCode",type:"text",value:H.zipCode||"",onChange:L=>q("zipCode",L.target.value),placeholder:"94102",disabled:S||N.disabled})]}),b.jsxs("div",{children:[b.jsx(le.Label,{htmlFor:"country",className:"text-xs",children:"Country"}),b.jsx(le.Input,{id:"country",type:"text",value:H.country||"",onChange:L=>q("country",L.target.value),placeholder:"United States",disabled:S||N.disabled})]})]})]})}const Kx=Object.freeze(Object.defineProperty({__proto__:null,AddressField:Jx},Symbol.toStringTag,{value:"Module"}));function $x({value:m,onChange:j,field:Q,readonly:S,...N}){const[H,q]=ie.useState(!1),D=m||{},L=(Z,ue)=>{j({...D,[Z]:ue?Number(ue):void 0})},te=()=>{if(!navigator.geolocation){console.error("Geolocation is not supported by this browser");return}q(!0),navigator.geolocation.getCurrentPosition(Z=>{j({latitude:Z.coords.latitude,longitude:Z.coords.longitude,accuracy:Z.coords.accuracy}),q(!1)},Z=>{console.error("Error getting location:",Z.message),q(!1)},{enableHighAccuracy:!0,timeout:5e3,maximumAge:0})},re=Z=>!Z.latitude||!Z.longitude?"-":`${Z.latitude.toFixed(6)}, ${Z.longitude.toFixed(6)}`,k=()=>{if(!D.latitude||!D.longitude)return;const Z=`https://www.google.com/maps?q=${D.latitude},${D.longitude}`;window.open(Z,"_blank")};return S?b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx(Vb,{className:"w-4 h-4 text-muted-foreground"}),b.jsx("span",{className:"text-sm",children:re(D)}),D.latitude&&D.longitude&&b.jsx(le.Button,{type:"button",variant:"link",size:"sm",onClick:k,className:"p-0 h-auto",children:"View on map"})]}):b.jsxs("div",{className:"space-y-3",children:[b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsxs(le.Button,{type:"button",variant:"outline",size:"sm",onClick:te,disabled:S||H,children:[b.jsx(PT,{className:"w-4 h-4 mr-2"}),H?"Getting location...":"Use Current Location"]}),D.latitude&&D.longitude&&b.jsxs(le.Button,{type:"button",variant:"link",size:"sm",onClick:k,children:[b.jsx(Vb,{className:"w-4 h-4 mr-2"}),"View on map"]})]}),b.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[b.jsxs("div",{children:[b.jsx(le.Label,{htmlFor:"latitude",className:"text-xs",children:"Latitude"}),b.jsx(le.Input,{id:"latitude",type:"number",value:D.latitude??"",onChange:Z=>L("latitude",Z.target.value),placeholder:"37.7749",disabled:S||N.disabled,step:"any",className:N.className})]}),b.jsxs("div",{children:[b.jsx(le.Label,{htmlFor:"longitude",className:"text-xs",children:"Longitude"}),b.jsx(le.Input,{id:"longitude",type:"number",value:D.longitude??"",onChange:Z=>L("longitude",Z.target.value),placeholder:"-122.4194",disabled:S||N.disabled,step:"any"})]})]}),D.accuracy&&b.jsxs("p",{className:"text-xs text-muted-foreground",children:["Accuracy: ±",D.accuracy.toFixed(0),"m"]})]})}const Fx=Object.freeze(Object.defineProperty({__proto__:null,GeolocationField:$x},Symbol.toStringTag,{value:"Module"}));function kx({value:m,onChange:j,readonly:Q}){const S=ie.useRef(null),[N,H]=ie.useState(!1),[q,D]=ie.useState(!m);ie.useEffect(()=>{if(m&&S.current){const ue=S.current.getContext("2d");if(ue){const se=new Image;se.onload=()=>{ue.drawImage(se,0,0),D(!1)},se.src=m}}},[m]);const L=Z=>{if(Q)return;H(!0),D(!1);const ue=S.current;if(!ue)return;const se=ue.getContext("2d");if(!se)return;const Te=ue.getBoundingClientRect(),Qe="touches"in Z?Z.touches[0].clientX-Te.left:Z.clientX-Te.left,xe="touches"in Z?Z.touches[0].clientY-Te.top:Z.clientY-Te.top;se.beginPath(),se.moveTo(Qe,xe)},te=Z=>{if(!N||Q)return;const ue=S.current;if(!ue)return;const se=ue.getContext("2d");if(!se)return;const Te=ue.getBoundingClientRect(),Qe="touches"in Z?Z.touches[0].clientX-Te.left:Z.clientX-Te.left,xe="touches"in Z?Z.touches[0].clientY-Te.top:Z.clientY-Te.top;se.lineTo(Qe,xe),se.strokeStyle="#000",se.lineWidth=2,se.lineCap="round",se.lineJoin="round",se.stroke()},re=()=>{if(!N)return;H(!1);const Z=S.current;if(!Z)return;const ue=Z.toDataURL("image/png");j(ue)},k=()=>{const Z=S.current;if(!Z)return;const ue=Z.getContext("2d");ue&&(ue.clearRect(0,0,Z.width,Z.height),D(!0),j(""))};return Q&&m?b.jsx("div",{className:"border rounded p-2 bg-white",children:b.jsx("img",{src:m,alt:"Signature",loading:"lazy",className:"max-w-full h-auto"})}):Q&&!m?b.jsx("span",{className:"text-sm text-muted-foreground",children:"No signature"}):b.jsxs("div",{className:"space-y-2",children:[b.jsx("div",{className:"border rounded bg-white",children:b.jsx("canvas",{ref:S,width:400,height:200,className:"w-full touch-none cursor-crosshair",onMouseDown:L,onMouseMove:te,onMouseUp:re,onMouseLeave:re,onTouchStart:L,onTouchMove:te,onTouchEnd:re})}),b.jsxs("div",{className:"flex justify-between items-center",children:[b.jsx("p",{className:"text-xs text-muted-foreground",children:q?"Sign above":"Signature captured"}),b.jsxs(le.Button,{type:"button",variant:"outline",size:"sm",onClick:k,disabled:Q||q,children:[b.jsx(ex,{className:"w-4 h-4 mr-2"}),"Clear"]})]})]})}const Wx=Object.freeze(Object.defineProperty({__proto__:null,SignatureField:kx},Symbol.toStringTag,{value:"Module"}));function Ix({value:m,onChange:j,field:Q,readonly:S,...N}){const[H,q]=ie.useState(!1),D=Q||N.schema,L=re=>`https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=${encodeURIComponent(re)}`,te=()=>{m&&navigator.clipboard.writeText(m)};return S?b.jsxs("div",{className:"flex items-center gap-3",children:[b.jsx("span",{className:"text-sm flex-1 truncate",children:m||"-"}),m&&b.jsxs(le.Button,{type:"button",variant:"outline",size:"sm",onClick:()=>q(!H),children:[b.jsx(Xb,{className:"w-4 h-4 mr-2"}),H?"Hide":"Show"," QR"]})]}):b.jsxs("div",{className:"space-y-3",children:[b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx(le.Input,{type:"text",value:m||"",onChange:re=>j(re.target.value),placeholder:D?.placeholder||"Enter text for QR code",disabled:S||N.disabled,className:N.className}),m&&b.jsxs(b.Fragment,{children:[b.jsx(le.Button,{type:"button",variant:"outline",size:"sm",onClick:te,children:b.jsx(IT,{className:"w-4 h-4"})}),b.jsx(le.Button,{type:"button",variant:"outline",size:"sm",onClick:()=>q(!H),children:b.jsx(Xb,{className:"w-4 h-4"})})]})]}),H&&m&&b.jsx("div",{className:"border rounded p-4 bg-white flex justify-center",children:b.jsx("img",{src:L(m),alt:"QR Code",className:"w-48 h-48"})}),m&&b.jsxs("p",{className:"text-xs text-muted-foreground",children:["QR code contains: ",m.length," characters"]})]})}const Px=Object.freeze(Object.defineProperty({__proto__:null,QRCodeField:Ix},Symbol.toStringTag,{value:"Module"}));function eE({value:m,onChange:j,field:Q,readonly:S,className:N,...H}){const q=m||[],D=Q||H.schema,L=()=>{const k={id:`new-${Date.now()}`,label:"New Related Record"};j([...q,k])},te=k=>{j(q.filter(Z=>Z.id!==k))},re=k=>{console.log("View detail:",k)};return S?b.jsxs("div",{className:le.cn("space-y-2",N),children:[q.length===0?b.jsx("span",{className:"text-sm text-muted-foreground",children:"No related records"}):q.map(k=>b.jsxs("div",{className:"flex items-center justify-between p-2 border rounded hover:bg-muted/50",children:[b.jsx("span",{className:"text-sm",children:k.label}),b.jsx(le.Button,{type:"button",variant:"ghost",size:"sm",onClick:()=>re(k),children:b.jsx(Yb,{className:"w-4 h-4"})})]},k.id)),b.jsxs("p",{className:"text-xs text-muted-foreground",children:[q.length," ",q.length===1?"record":"records"]})]}):b.jsxs("div",{className:le.cn("space-y-3",N),children:[b.jsxs("div",{className:"space-y-2",children:[q.map(k=>b.jsxs("div",{className:"flex items-center justify-between gap-2 p-2 border rounded hover:bg-muted/50",children:[b.jsxs("div",{className:"flex items-center gap-2 flex-1",children:[b.jsx(le.Badge,{variant:"outline",children:k.id}),b.jsx("span",{className:"text-sm flex-1",children:k.label})]}),b.jsxs("div",{className:"flex items-center gap-1",children:[b.jsx(le.Button,{type:"button",variant:"ghost",size:"sm",onClick:()=>re(k),children:b.jsx(Yb,{className:"w-4 h-4"})}),b.jsx(le.Button,{type:"button",variant:"ghost",size:"sm",onClick:()=>te(k.id),disabled:H.disabled,children:b.jsx(Gr,{className:"w-4 h-4"})})]})]},k.id)),q.length===0&&b.jsx("div",{className:"text-sm text-muted-foreground text-center py-4 border border-dashed rounded bg-muted/20",children:"No related records"})]}),b.jsxs(le.Button,{type:"button",variant:"outline",className:"w-full",onClick:L,disabled:H.disabled,children:[b.jsx($v,{className:"w-4 h-4 mr-2"}),"Add ",D?.label||"Record"]})]})}const tE=Object.freeze(Object.defineProperty({__proto__:null,MasterDetailField:eE},Symbol.toStringTag,{value:"Module"}));function pS(m){return m.replace(/[_-]/g," ").replace(/\b\w/g,j=>j.toUpperCase())}const lE={critical:"red",urgent:"red",high:"orange",medium:"yellow",normal:"blue",low:"gray",none:"gray",paid:"green",completed:"green",done:"green",active:"green",approved:"green",resolved:"green",pending:"yellow",waiting:"yellow",on_hold:"yellow",shipped:"blue",in_progress:"blue",open:"blue",processing:"blue",draft:"gray",new:"gray",inactive:"gray",closed:"gray",cancelled:"red",canceled:"red",rejected:"red",failed:"red",overdue:"red",delivered:"purple",archived:"indigo"},aE={gray:"bg-gray-100 text-gray-800 border-gray-300",red:"bg-red-100 text-red-800 border-red-300",orange:"bg-orange-100 text-orange-800 border-orange-300",yellow:"bg-yellow-100 text-yellow-800 border-yellow-300",green:"bg-green-100 text-green-800 border-green-300",blue:"bg-blue-100 text-blue-800 border-blue-300",indigo:"bg-indigo-100 text-indigo-800 border-indigo-300",purple:"bg-purple-100 text-purple-800 border-purple-300",pink:"bg-pink-100 text-pink-800 border-pink-300"};function gS(m,j){const Q=m||(j?lE[String(j).toLowerCase().replace(/[\s-]/g,"_")]:void 0);return aE[Q||""]||"bg-muted text-muted-foreground border-border"}function vS({value:m,field:j}){const S=j.options||[];if(!m)return b.jsx("span",{children:"-"});if(Array.isArray(m))return b.jsx("div",{className:"flex flex-wrap gap-1",children:m.map((D,L)=>{const te=S.find(Z=>Z.value===D),re=te?.label||pS(String(D)),k=gS(te?.color,D);return b.jsx(le.Badge,{variant:"outline",className:k,children:re},L)})});const N=S.find(D=>D.value===m),H=N?.label||pS(String(m)),q=gS(N?.color,m);return b.jsx(le.Badge,{variant:"outline",className:q,children:H})}function bS({value:m,field:j}){if(m==null||m==="")return b.jsx("span",{children:"-"});const Q=j.options||[],S=N=>{if(Q.length>0){const H=Q.find(q=>String(q.value)===String(N));if(H)return H.label}return String(N)};if(Array.isArray(m))return b.jsx("div",{className:"flex flex-wrap gap-1",children:m.map((N,H)=>{let q;return N!=null&&typeof N=="object"?q=N.name||N.label||N.id||N._id||String(N):q=S(N),b.jsx("span",{className:"inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-gray-100 text-gray-800",children:q},H)})});if(typeof m=="object"&&m!==null){const N=m.name||m.label||m.id||m._id||"[Object]";return b.jsx("span",{className:"truncate",children:N})}return b.jsx("span",{className:"truncate",children:S(m)})}function SS({value:m}){if(!m)return b.jsx("span",{children:"-"});if(typeof m!="object")return b.jsx("span",{className:"truncate",children:String(m)});if(Array.isArray(m))return b.jsxs("div",{className:"flex -space-x-2",children:[m.slice(0,3).map((S,N)=>{if(typeof S!="object"||S===null)return b.jsx("span",{className:"truncate text-sm",children:String(S)},N);const H=S.name||S.username||"User",q=H.split(" ").map(D=>D[0]).join("").toUpperCase().slice(0,2);return b.jsx(le.Avatar,{className:"size-8 border-2 border-white",title:H,children:b.jsx(le.AvatarFallback,{className:"bg-blue-500 text-white text-xs",children:q})},N)}),m.length>3&&b.jsx(le.Avatar,{className:"size-8 border-2 border-white",children:b.jsxs(le.AvatarFallback,{className:"bg-gray-200 text-gray-600 text-xs",children:["+",m.length-3]})})]});const j=m.name||m.username||"User",Q=j.split(" ").map(S=>S[0]).join("").toUpperCase().slice(0,2);return b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx(le.Avatar,{className:"size-8",children:b.jsx(le.AvatarFallback,{className:"bg-blue-500 text-white text-xs",children:Q})}),b.jsx("span",{className:"truncate",children:j})]})}const nE=new Map;function wr(m,j){nE.set(m,j)}wr("lookup",bS),wr("master_detail",bS),wr("select",vS),wr("status",vS),wr("user",SS),wr("owner",SS);const TS={text:()=>Promise.resolve().then(()=>nx).then(m=>({default:m.TextField})),textarea:()=>Promise.resolve().then(()=>mx).then(m=>({default:m.TextAreaField})),number:()=>Promise.resolve().then(()=>ux).then(m=>({default:m.NumberField})),boolean:()=>Promise.resolve().then(()=>ix).then(m=>({default:m.BooleanField})),select:()=>Promise.resolve().then(()=>cx).then(m=>({default:m.SelectField})),date:()=>Promise.resolve().then(()=>ox).then(m=>({default:m.DateField})),datetime:()=>Promise.resolve().then(()=>bx).then(m=>({default:m.DateTimeField})),time:()=>Promise.resolve().then(()=>Sx).then(m=>({default:m.TimeField})),email:()=>Promise.resolve().then(()=>sx).then(m=>({default:m.EmailField})),phone:()=>Promise.resolve().then(()=>fx).then(m=>({default:m.PhoneField})),url:()=>Promise.resolve().then(()=>rx).then(m=>({default:m.UrlField})),currency:()=>Promise.resolve().then(()=>hx).then(m=>({default:m.CurrencyField})),percent:()=>Promise.resolve().then(()=>Tx).then(m=>({default:m.PercentField})),password:()=>Promise.resolve().then(()=>xx).then(m=>({default:m.PasswordField})),markdown:()=>Promise.resolve().then(()=>lS).then(m=>({default:m.RichTextField})),html:()=>Promise.resolve().then(()=>lS).then(m=>({default:m.RichTextField})),lookup:()=>Promise.resolve().then(()=>vx).then(m=>({default:m.LookupField})),master_detail:()=>Promise.resolve().then(()=>tE).then(m=>({default:m.MasterDetailField})),file:()=>Promise.resolve().then(()=>Ax).then(m=>({default:m.FileField})),image:()=>Promise.resolve().then(()=>zx).then(m=>({default:m.ImageField})),location:()=>Promise.resolve().then(()=>Dx).then(m=>({default:m.LocationField})),formula:()=>Promise.resolve().then(()=>Mx).then(m=>({default:m.FormulaField})),summary:()=>Promise.resolve().then(()=>jx).then(m=>({default:m.SummaryField})),auto_number:()=>Promise.resolve().then(()=>Rx).then(m=>({default:m.AutoNumberField})),user:()=>Promise.resolve().then(()=>fS).then(m=>({default:m.UserField})),owner:()=>Promise.resolve().then(()=>fS).then(m=>({default:m.UserField})),object:()=>Promise.resolve().then(()=>Bx).then(m=>({default:m.ObjectField})),vector:()=>Promise.resolve().then(()=>Yx).then(m=>({default:m.VectorField})),grid:()=>Promise.resolve().then(()=>wx).then(m=>({default:m.GridField})),color:()=>Promise.resolve().then(()=>Vx).then(m=>({default:m.ColorField})),slider:()=>Promise.resolve().then(()=>Xx).then(m=>({default:m.SliderField})),rating:()=>Promise.resolve().then(()=>Qx).then(m=>({default:m.RatingField})),code:()=>Promise.resolve().then(()=>Lx).then(m=>({default:m.CodeField})),avatar:()=>Promise.resolve().then(()=>Zx).then(m=>({default:m.AvatarField})),address:()=>Promise.resolve().then(()=>Kx).then(m=>({default:m.AddressField})),geolocation:()=>Promise.resolve().then(()=>Fx).then(m=>({default:m.GeolocationField})),signature:()=>Promise.resolve().then(()=>Wx).then(m=>({default:m.SignatureField})),qrcode:()=>Promise.resolve().then(()=>Px).then(m=>({default:m.QRCodeField}))};function uE(m){const j=TS[m];if(!j){console.warn(`Unknown field type: ${m}`);return}const Q=ie.lazy(j);yp.ComponentRegistry.register(m,Q,{namespace:"field"})}function iE(){Object.keys(TS).forEach(m=>{uE(m)})}iE();const cE={text:Jb,textarea:tS,number:Kb,currency:eS,percent:cS,boolean:$b,select:Fb,date:kb,datetime:uS,time:iS,email:Wb,phone:Ib,url:Pb,password:oS,color:rS,rating:hS,image:sS,avatar:yS,lookup:nS,slider:dS,code:mS};function Fv(m){return cE[m]||null}class oE{eGui;root=null;init(j){const{value:Q,field:S}=j,N=Fv(S.type);this.eGui=document.createElement("div"),this.eGui.className="field-widget-cell",N?(this.root=Hb.createRoot(this.eGui),this.root.render(b.jsx(N,{value:Q,onChange:()=>{},field:S,readonly:!0}))):this.eGui.textContent=Q!=null?String(Q):""}getGui(){return this.eGui}refresh(j){const{value:Q,field:S}=j,N=Fv(S.type);return N&&this.root?(this.root.render(b.jsx(N,{value:Q,onChange:()=>{},field:S,readonly:!0})),!0):this.eGui?(this.eGui.textContent=Q!=null?String(Q):"",!0):!1}destroy(){this.root&&this.root.unmount()}}class sE{eGui;root=null;currentValue;params;init(j){this.params=j,this.currentValue=j.value;const{field:Q}=j,S=Fv(Q.type);if(this.eGui=document.createElement("div"),this.eGui.className="field-widget-editor",S)this.root=Hb.createRoot(this.eGui),this.root.render(b.jsx(S,{value:this.currentValue,onChange:N=>{this.currentValue=N},field:Q,readonly:!1}));else{const N=document.createElement("input");N.value=this.currentValue!=null?String(this.currentValue):"",N.className="ag-input-field-input ag-text-field-input",N.addEventListener("input",H=>{this.currentValue=H.target.value}),this.eGui.appendChild(N),setTimeout(()=>N.focus(),0)}}getGui(){return this.eGui}getValue(){return this.currentValue}destroy(){this.root&&this.root.unmount()}isPopup(){return["date","datetime","select","lookup","color"].includes(this.params.field.type)}}function fE(m){return class extends oE{init(j){super.init({...j,field:m})}refresh(j){return super.refresh({...j,field:m})}}}function rE(m){return class extends sE{init(j){super.init({...j,field:m})}}}function dE({objectName:m,dataSource:j,fields:Q,fieldNames:S,filters:N,sort:H,pageSize:q=10,pagination:D=!0,domLayout:L="normal",animateRows:te=!0,rowSelection:re,theme:k="quartz",height:Z=500,className:ue="",editable:se=!1,editType:Te,singleClickEdit:Qe=!1,stopEditingWhenCellsLoseFocus:xe=!0,exportConfig:We,statusBar:ft,callbacks:Ge,columnConfig:ut,enableRangeSelection:me=!1,enableCharts:Ee=!1,contextMenu:pe}){const Ce=ie.useRef(null),[ce,lt]=ie.useState(!0),[Re,De]=ie.useState(null),[Ut,Xt]=ie.useState(null),[C,K]=ie.useState([]);ie.useEffect(()=>{if(!j){De(new Error("DataSource is required")),lt(!1);return}(async()=>{try{lt(!0),De(null);const Ze=await j.getObjectSchema(m);Xt(Ze)}catch(Ze){const Ht=Ze instanceof Error?Ze:new Error(String(Ze));De(Ht),Ge?.onDataError?.(Ht)}finally{lt(!1)}})()},[m,j,Ge]),ie.useEffect(()=>{if(!j||!Ut)return;(async()=>{try{lt(!0),De(null);const Ze={$top:q,$skip:0};N&&(Ze.$filter=N),H&&(Ze.$orderby=H);const Ht=yp.buildExpandFields(Ut?.fields);Ht.length>0&&(Ze.$expand=Ht);const Ot=await j.find(m,Ze);K(Ot.data||[]),Ge?.onDataLoaded?.(Ot.data||[])}catch(Ze){const Ht=Ze instanceof Error?Ze:new Error(String(Ze));De(Ht),Ge?.onDataError?.(Ht)}finally{lt(!1)}})()},[m,j,Ut,N,H,q,Ge]);const ne=ie.useMemo(()=>{if(!Ut?.fields)return[];const ee=Q||Object.values(Ut.fields);return(S?ee.filter(Ht=>S.includes(Ht.name)):ee).map(Ht=>{const Ot={field:Ht.name,headerName:Ht.label||Ht.name,sortable:Ht.sortable!==!1,filter:hE(Ht),editable:se&&!Ht.readonly};return ut&&(ut.resizable!==void 0&&(Ot.resizable=ut.resizable),ut.sortable!==void 0&&Ot.sortable===void 0&&(Ot.sortable=ut.sortable)),mE(Ot,Ht),Ot})},[Ut,Q,S,se,ut]),be=ie.useMemo(()=>{if(!ft?.enabled)return;const ee=ft.aggregations||["count","sum","avg"],Ze=[];return ee.includes("count")&&Ze.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["count"]}}),ee.includes("sum")&&Ze.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["sum"]}}),ee.includes("avg")&&Ze.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["avg"]}}),ee.includes("min")&&Ze.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["min"]}}),ee.includes("max")&&Ze.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["max"]}}),Ze},[ft]),ge=ie.useCallback(()=>{if(!Ce.current?.api)return;const ee={fileName:We?.fileName||`${m}-export.csv`,skipColumnHeaders:We?.skipColumnHeaders||!1,allColumns:We?.allColumns||!1,onlySelected:We?.onlySelected||!1};if(Ce.current.api.exportDataAsCsv(ee),Ge?.onExport){const Ze=We?.onlySelected?Ce.current.api.getSelectedRows():C;Ge.onExport(Ze||[],"csv")}},[We,Ge,C,m]),J=ie.useCallback(ee=>{if(!pe?.enabled)return[];const Ze=[];return(pe.items||["copy","copyWithHeaders","separator","export"]).forEach(Ot=>{Ot==="export"?Ze.push({name:"Export CSV",icon:"<span>📥</span>",action:()=>ge()}):Ot==="autoSizeAll"?Ze.push({name:"Auto-size All Columns",action:()=>{Ce.current?.api&&Ce.current.api.autoSizeAllColumns()}}):Ot==="resetColumns"?Ze.push({name:"Reset Columns",action:()=>{Ce.current?.api&&Ce.current.api.resetColumnState()}}):Ze.push(Ot)}),pe.customItems&&(Ze.length>0&&Ze.push("separator"),pe.customItems.forEach(Ot=>{Ze.push({name:Ot.name,disabled:Ot.disabled,action:()=>{Ge?.onContextMenuAction&&Ge.onContextMenuAction(Ot.action,ee.node?.data)}})})),Ze},[pe,ge,Ge]),de=ie.useCallback(ee=>{Ge?.onCellClicked?.(ee)},[Ge]),ye=ie.useCallback(ee=>{Ge?.onRowClicked?.(ee)},[Ge]),ae=ie.useCallback(ee=>{Ge?.onSelectionChanged?.(ee)},[Ge]),Oe=ie.useCallback(async ee=>{if(Ge?.onCellValueChanged?.(ee),j&&ee.data&&ee.data.id)try{await j.update(m,ee.data.id,{[ee.colDef.field]:ee.newValue})}catch(Ze){console.error("Failed to update record:",Ze),ee.node.setDataValue(ee.colDef.field,ee.oldValue)}},[Ge,j,m]),yl=ie.useCallback(ee=>{Ce.current=ee},[]),Ke=ie.useMemo(()=>({pagination:D,paginationPageSize:q,domLayout:L,animateRows:te,rowSelection:re,editType:Te,singleClickEdit:Qe,stopEditingWhenCellsLoseFocus:xe,statusBar:be?{statusPanels:be}:void 0,enableRangeSelection:me,enableCharts:Ee,getContextMenuItems:pe?.enabled?J:void 0,suppressCellFocus:!se,enableCellTextSelection:!0,ensureDomOrder:!0,onCellClicked:de,onRowClicked:ye,onSelectionChanged:ae,onCellValueChanged:Oe,onGridReady:yl}),[D,q,L,te,re,Te,Qe,xe,be,me,Ee,pe,J,se,de,ye,ae,Oe,yl]),Se=ie.useMemo(()=>({height:typeof Z=="number"?`${Z}px`:Z,width:"100%"}),[Z]),cl=[`ag-theme-${k}`,"rounded-xl","border","border-border","overflow-hidden","shadow-lg",ue].filter(Boolean).join(" ");return ce?b.jsx("div",{className:"flex items-center justify-center",style:Se,children:b.jsxs("div",{className:"text-muted-foreground",children:["Loading ",m,"..."]})}):Re?b.jsx("div",{className:"flex items-center justify-center",style:Se,children:b.jsxs("div",{className:"text-destructive",children:["Error loading data: ",Re.message]})}):b.jsxs("div",{className:"object-aggrid-container",children:[We?.enabled&&b.jsx("div",{className:"mb-2 flex gap-2",children:b.jsx("button",{onClick:ge,className:"px-3 py-1.5 text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 rounded-md transition-colors",children:"Export CSV"})}),b.jsx("div",{className:cl,style:Se,children:b.jsx(Eb.AgGridReact,{ref:Ce,rowData:C,columnDefs:ne,gridOptions:Ke})})]})}function hE(m){return m.filterable===!1?!1:wT[m.type]||"agTextColumnFilter"}function mE(m,j){if(["text","textarea","number","currency","percent","boolean","select","date","datetime","time","email","phone","url","password","color","rating","image","avatar","lookup","slider","code"].includes(j.type))m.cellRenderer=fE(j),m.editable&&(m.cellEditor=rE(j),["date","datetime","select","lookup","color"].includes(j.type)&&(m.cellEditorPopup=!0));else switch(j.type){case"master_detail":m.valueFormatter=S=>S.value?typeof S.value=="object"?S.value.name||S.value.label||S.value.id||"":String(S.value):"";break;case"object":m.cellRenderer=()=>{const S=document.createElement("span");return S.className="text-gray-500 italic",S.textContent="[Object]",S};break;case"vector":m.cellRenderer=()=>{const S=document.createElement("span");return S.className="text-gray-500 italic",S.textContent="[Vector]",S};break;case"grid":m.cellRenderer=()=>{const S=document.createElement("span");return S.className="text-gray-500 italic",S.textContent="[Grid]",S};break;default:m.valueFormatter=S=>S.value!=null?String(S.value):""}}const yE=Object.freeze(Object.defineProperty({__proto__:null,default:dE},Symbol.toStringTag,{value:"Module"}));Sn.AgGridRenderer=Lv,Sn.ObjectAgGridRenderer=Zv,Sn.aggridComponents=qT,Object.defineProperty(Sn,Symbol.toStringTag,{value:"Module"})}));
238
+ }`,disabled:a||o.disabled,className:(0,r.cn)(`font-mono text-xs`,u?`border-red-500 focus-visible:ring-red-500`:``,o.className),rows:6}),u&&(0,Ur.jsx)(`p`,{className:`text-xs text-red-500`,children:u})]})}var Ur,Wr=f((()=>{Ur=v()})),Gr=m({VectorField:()=>Kr});function Kr({value:e,field:t,...n}){let r=(t||n.schema)?.dimensions||(Array.isArray(e)?e.length:0);if(!e||!Array.isArray(e))return(0,qr.jsx)(`span`,{className:`text-sm text-gray-500`,children:`-`});let i=e.slice(0,3).map(e=>{let t=Number(e);return isNaN(t)?`0`:t.toFixed(4)}).join(`, `);return(0,qr.jsxs)(`div`,{className:`text-sm ${n.className||``}`,children:[(0,qr.jsxs)(`span`,{className:`font-mono text-gray-700`,children:[`[`,i,`...]`]}),(0,qr.jsxs)(`span`,{className:`text-gray-500 ml-2`,children:[`(`,r,`D)`]})]})}var qr,Jr=f((()=>{qr=v()})),Yr=m({GridField:()=>Xr});function Xr({value:e,field:t,readonly:n,...i}){let a=(t||i.schema)?.columns||[];return!e||!Array.isArray(e)?(0,Zr.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:`-`}):n?(0,Zr.jsx)(`div`,{className:(0,r.cn)(`text-sm`,i.className),children:(0,Zr.jsxs)(`span`,{className:`text-foreground`,children:[e.length,` rows`]})}):(0,Zr.jsxs)(`div`,{className:(0,r.cn)(`border border-border rounded-lg overflow-hidden`,i.className),children:[(0,Zr.jsx)(`div`,{className:`overflow-auto max-h-60`,children:(0,Zr.jsxs)(`table`,{className:`w-full text-sm`,children:[(0,Zr.jsx)(`thead`,{className:`bg-muted border-b border-border`,children:(0,Zr.jsx)(`tr`,{children:a.map((e,t)=>(0,Zr.jsx)(`th`,{className:`px-3 py-2 text-left text-xs font-medium text-muted-foreground`,children:e.label||e.name},t))})}),(0,Zr.jsx)(`tbody`,{className:`divide-y divide-border`,children:e.slice(0,5).map((e,t)=>(0,Zr.jsx)(`tr`,{className:`hover:bg-muted/50 transition-colors`,children:a.map((t,n)=>(0,Zr.jsx)(`td`,{className:`px-3 py-2 text-foreground`,children:e[t.name]==null?`-`:String(e[t.name])},n))},t))})]})}),e.length>5&&(0,Zr.jsxs)(`div`,{className:`bg-muted px-3 py-2 text-xs text-muted-foreground border-t border-border`,children:[`Showing 5 of `,e.length,` rows`]})]})}var Zr,Qr=f((()=>{Zr=v()})),$r=m({ColorField:()=>ei});function ei({value:e,onChange:t,field:n,readonly:i,...a}){let o=n||a.schema;return i?(0,ti.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,ti.jsx)(`div`,{className:`w-6 h-6 rounded border border-input`,style:{backgroundColor:e||`#000000`}}),(0,ti.jsx)(`span`,{className:`text-sm`,children:e||`-`})]}):(0,ti.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,ti.jsx)(`input`,{type:`color`,value:e||`#000000`,onChange:e=>t(e.target.value),disabled:i||a.disabled,className:`w-10 h-10 rounded border border-input cursor-pointer`}),(0,ti.jsx)(r.Input,{type:`text`,value:e||``,onChange:e=>t(e.target.value),placeholder:o?.placeholder||`#000000`,disabled:i||a.disabled,className:a.className,pattern:`^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$`})]})}var ti,ni=f((()=>{ti=v()})),ri=m({SliderField:()=>ii});function ii({value:e,onChange:t,field:n,readonly:i,...a}){let o=n||a.schema,s=o?.min??0,c=o?.max??100,l=o?.step??1;return i?(0,ai.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,ai.jsx)(`span`,{className:`text-sm font-medium`,children:e??s}),(0,ai.jsxs)(`span`,{className:`text-xs text-muted-foreground`,children:[`/ `,c]})]}):(0,ai.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,ai.jsx)(r.Slider,{value:[e??s],onValueChange:e=>t(e[0]),min:s,max:c,step:l,disabled:i||a.disabled,className:a.className}),(0,ai.jsx)(`span`,{className:`text-sm font-medium w-12 text-right`,children:e??s})]})}var ai,oi=f((()=>{ai=v()})),si=m({RatingField:()=>ci});function ci({value:e,onChange:n,field:i,readonly:a,className:o,...s}){let c=(i||s.schema)?.max??5,l=e??0,[u,d]=t.default.useState(null),f=u===null?l:u;return a?(0,li.jsxs)(`div`,{className:(0,r.cn)(`flex items-center gap-1`,o),children:[Array.from({length:c},(e,t)=>(0,li.jsx)(Dt,{className:`w-5 h-5 ${t<l?`fill-yellow-400 text-yellow-400`:`text-muted-foreground`}`},t)),(0,li.jsxs)(`span`,{className:`ml-2 text-sm text-muted-foreground`,children:[l,` / `,c]})]}):(0,li.jsxs)(`div`,{className:(0,r.cn)(`flex items-center gap-1`,o),children:[Array.from({length:c},(e,t)=>(0,li.jsx)(`button`,{type:`button`,onClick:()=>n(t+1),onMouseEnter:()=>d(t+1),onMouseLeave:()=>d(null),className:`focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 rounded`,disabled:a||s.disabled,children:(0,li.jsx)(Dt,{className:`w-5 h-5 transition-colors ${t<f?`fill-yellow-400 text-yellow-400 hover:fill-yellow-500 hover:text-yellow-500`:`text-muted-foreground hover:text-yellow-400`}`})},t)),(0,li.jsxs)(`span`,{className:`ml-2 text-sm text-muted-foreground`,children:[l,` / `,c]})]})}var li,ui=f((()=>{Rt(),li=v()})),di=m({CodeField:()=>fi});function fi({value:e,onChange:t,field:n,readonly:i,...a}){let o=n||a.schema,s=o?.language??`javascript`;return i?(0,pi.jsx)(`pre`,{className:(0,r.cn)(`text-sm bg-muted p-2 rounded overflow-x-auto border`,a.className),children:(0,pi.jsx)(`code`,{children:e||`-`})}):(0,pi.jsx)(r.Textarea,{value:e||``,onChange:e=>t(e.target.value),placeholder:o?.placeholder||`// Write ${s} code here...`,disabled:i||a.disabled,className:(0,r.cn)(`font-mono text-sm`,a.className),rows:12,spellCheck:!1})}var pi,mi=f((()=>{pi=v()})),hi=m({AvatarField:()=>gi});function gi({value:e,onChange:n,field:i,readonly:a,...o}){let[s,c]=t.default.useState(!1),l=t.default.useRef(null),u=i||o.schema,d=e=>{let t=e.target.files?.[0];if(!t)return;if(!t.type.startsWith(`image/`)){console.error(`Please select an image file`);return}if(t.size>5*1024*1024){console.error(`File size must be less than 5MB`);return}let r=new FileReader;r.onloadend=()=>{n(r.result)},r.readAsDataURL(t)},f=()=>{n(``)},p=()=>(u?.defaultName||u?.label||`User`).split(` `).map(e=>e[0]).join(``).toUpperCase().slice(0,2);return a?(0,_i.jsxs)(r.Avatar,{className:`w-16 h-16`,children:[e&&(0,_i.jsx)(r.AvatarImage,{src:e,alt:u?.label}),(0,_i.jsx)(r.AvatarFallback,{children:p()})]}):(0,_i.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,_i.jsxs)(`div`,{className:`relative`,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),children:[(0,_i.jsxs)(r.Avatar,{className:`w-16 h-16`,children:[e&&(0,_i.jsx)(r.AvatarImage,{src:e,alt:u?.label}),(0,_i.jsx)(r.AvatarFallback,{children:p()})]}),!a&&s&&e&&(0,_i.jsx)(`button`,{type:`button`,onClick:f,className:`absolute -top-1 -right-1 bg-destructive text-destructive-foreground rounded-full p-1 hover:bg-destructive/90`,children:(0,_i.jsx)(It,{className:`w-3 h-3`})})]}),(0,_i.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,_i.jsx)(`input`,{ref:l,type:`file`,accept:`image/*`,onChange:d,className:`hidden`}),(0,_i.jsxs)(r.Button,{type:`button`,variant:`outline`,size:`sm`,onClick:()=>l.current?.click(),disabled:a||o.disabled,children:[(0,_i.jsx)(Nt,{className:`w-4 h-4 mr-2`}),e?`Change`:`Upload`,` Avatar`]}),(0,_i.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`PNG, JPG up to 5MB`})]})]})}var _i,vi=f((()=>{Rt(),_i=v()})),yi=m({AddressField:()=>bi});function bi({value:e,onChange:t,field:n,readonly:i,...a}){let o=e||{},s=(e,n)=>{t({...o,[e]:n})};return i?(0,xi.jsx)(`span`,{className:`text-sm`,children:(e=>[e.street,e.city,[e.state,e.zipCode].filter(Boolean).join(` `),e.country].filter(Boolean).join(`, `)||`-`)(o)}):(0,xi.jsxs)(`div`,{className:`space-y-3`,children:[(0,xi.jsxs)(`div`,{children:[(0,xi.jsx)(r.Label,{htmlFor:`street`,className:`text-xs`,children:`Street Address`}),(0,xi.jsx)(r.Input,{id:`street`,type:`text`,value:o.street||``,onChange:e=>s(`street`,e.target.value),placeholder:`123 Main St`,disabled:i||a.disabled,className:a.className})]}),(0,xi.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,xi.jsxs)(`div`,{children:[(0,xi.jsx)(r.Label,{htmlFor:`city`,className:`text-xs`,children:`City`}),(0,xi.jsx)(r.Input,{id:`city`,type:`text`,value:o.city||``,onChange:e=>s(`city`,e.target.value),placeholder:`San Francisco`,disabled:i||a.disabled})]}),(0,xi.jsxs)(`div`,{children:[(0,xi.jsx)(r.Label,{htmlFor:`state`,className:`text-xs`,children:`State / Province`}),(0,xi.jsx)(r.Input,{id:`state`,type:`text`,value:o.state||``,onChange:e=>s(`state`,e.target.value),placeholder:`CA`,disabled:i||a.disabled})]})]}),(0,xi.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,xi.jsxs)(`div`,{children:[(0,xi.jsx)(r.Label,{htmlFor:`zipCode`,className:`text-xs`,children:`ZIP / Postal Code`}),(0,xi.jsx)(r.Input,{id:`zipCode`,type:`text`,value:o.zipCode||``,onChange:e=>s(`zipCode`,e.target.value),placeholder:`94102`,disabled:i||a.disabled})]}),(0,xi.jsxs)(`div`,{children:[(0,xi.jsx)(r.Label,{htmlFor:`country`,className:`text-xs`,children:`Country`}),(0,xi.jsx)(r.Input,{id:`country`,type:`text`,value:o.country||``,onChange:e=>s(`country`,e.target.value),placeholder:`United States`,disabled:i||a.disabled})]})]})]})}var xi,Si=f((()=>{xi=v()})),Ci=m({GeolocationField:()=>wi});function wi({value:e,onChange:n,field:i,readonly:a,...o}){let[s,c]=t.default.useState(!1),l=e||{},u=(e,t)=>{n({...l,[e]:t?Number(t):void 0})},d=()=>{if(!navigator.geolocation){console.error(`Geolocation is not supported by this browser`);return}c(!0),navigator.geolocation.getCurrentPosition(e=>{n({latitude:e.coords.latitude,longitude:e.coords.longitude,accuracy:e.coords.accuracy}),c(!1)},e=>{console.error(`Error getting location:`,e.message),c(!1)},{enableHighAccuracy:!0,timeout:5e3,maximumAge:0})},f=e=>!e.latitude||!e.longitude?`-`:`${e.latitude.toFixed(6)}, ${e.longitude.toFixed(6)}`,p=()=>{if(!l.latitude||!l.longitude)return;let e=`https://www.google.com/maps?q=${l.latitude},${l.longitude}`;window.open(e,`_blank`)};return a?(0,Ti.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,Ti.jsx)(lt,{className:`w-4 h-4 text-muted-foreground`}),(0,Ti.jsx)(`span`,{className:`text-sm`,children:f(l)}),l.latitude&&l.longitude&&(0,Ti.jsx)(r.Button,{type:`button`,variant:`link`,size:`sm`,onClick:p,className:`p-0 h-auto`,children:`View on map`})]}):(0,Ti.jsxs)(`div`,{className:`space-y-3`,children:[(0,Ti.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,Ti.jsxs)(r.Button,{type:`button`,variant:`outline`,size:`sm`,onClick:d,disabled:a||s,children:[(0,Ti.jsx)(ze,{className:`w-4 h-4 mr-2`}),s?`Getting location...`:`Use Current Location`]}),l.latitude&&l.longitude&&(0,Ti.jsxs)(r.Button,{type:`button`,variant:`link`,size:`sm`,onClick:p,children:[(0,Ti.jsx)(lt,{className:`w-4 h-4 mr-2`}),`View on map`]})]}),(0,Ti.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,Ti.jsxs)(`div`,{children:[(0,Ti.jsx)(r.Label,{htmlFor:`latitude`,className:`text-xs`,children:`Latitude`}),(0,Ti.jsx)(r.Input,{id:`latitude`,type:`number`,value:l.latitude??``,onChange:e=>u(`latitude`,e.target.value),placeholder:`37.7749`,disabled:a||o.disabled,step:`any`,className:o.className})]}),(0,Ti.jsxs)(`div`,{children:[(0,Ti.jsx)(r.Label,{htmlFor:`longitude`,className:`text-xs`,children:`Longitude`}),(0,Ti.jsx)(r.Input,{id:`longitude`,type:`number`,value:l.longitude??``,onChange:e=>u(`longitude`,e.target.value),placeholder:`-122.4194`,disabled:a||o.disabled,step:`any`})]})]}),l.accuracy&&(0,Ti.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Accuracy: ±`,l.accuracy.toFixed(0),`m`]})]})}var Ti,Ei=f((()=>{Rt(),Ti=v()})),Di=m({SignatureField:()=>Oi});function Oi({value:e,onChange:n,readonly:i}){let a=(0,t.useRef)(null),[o,s]=t.default.useState(!1),[c,l]=t.default.useState(!e);(0,t.useEffect)(()=>{if(e&&a.current){let t=a.current.getContext(`2d`);if(t){let n=new Image;n.onload=()=>{t.drawImage(n,0,0),l(!1)},n.src=e}}},[e]);let u=e=>{if(i)return;s(!0),l(!1);let t=a.current;if(!t)return;let n=t.getContext(`2d`);if(!n)return;let r=t.getBoundingClientRect(),o=`touches`in e?e.touches[0].clientX-r.left:e.clientX-r.left,c=`touches`in e?e.touches[0].clientY-r.top:e.clientY-r.top;n.beginPath(),n.moveTo(o,c)},d=e=>{if(!o||i)return;let t=a.current;if(!t)return;let n=t.getContext(`2d`);if(!n)return;let r=t.getBoundingClientRect(),s=`touches`in e?e.touches[0].clientX-r.left:e.clientX-r.left,c=`touches`in e?e.touches[0].clientY-r.top:e.clientY-r.top;n.lineTo(s,c),n.strokeStyle=`#000`,n.lineWidth=2,n.lineCap=`round`,n.lineJoin=`round`,n.stroke()},f=()=>{if(!o)return;s(!1);let e=a.current;e&&n(e.toDataURL(`image/png`))};return i&&e?(0,ki.jsx)(`div`,{className:`border rounded p-2 bg-white`,children:(0,ki.jsx)(`img`,{src:e,alt:`Signature`,loading:`lazy`,className:`max-w-full h-auto`})}):i&&!e?(0,ki.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:`No signature`}):(0,ki.jsxs)(`div`,{className:`space-y-2`,children:[(0,ki.jsx)(`div`,{className:`border rounded bg-white`,children:(0,ki.jsx)(`canvas`,{ref:a,width:400,height:200,className:`w-full touch-none cursor-crosshair`,onMouseDown:u,onMouseMove:d,onMouseUp:f,onMouseLeave:f,onTouchStart:u,onTouchMove:d,onTouchEnd:f})}),(0,ki.jsxs)(`div`,{className:`flex justify-between items-center`,children:[(0,ki.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:c?`Sign above`:`Signature captured`}),(0,ki.jsxs)(r.Button,{type:`button`,variant:`outline`,size:`sm`,onClick:()=>{let e=a.current;if(!e)return;let t=e.getContext(`2d`);t&&(t.clearRect(0,0,e.width,e.height),l(!0),n(``))},disabled:i||c,children:[(0,ki.jsx)(He,{className:`w-4 h-4 mr-2`}),`Clear`]})]})]})}var ki,Ai=f((()=>{Rt(),ki=v()})),ji=m({QRCodeField:()=>Mi});function Mi({value:e,onChange:n,field:i,readonly:a,...o}){let[s,c]=t.default.useState(!1),l=i||o.schema;return a?(0,Ni.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,Ni.jsx)(`span`,{className:`text-sm flex-1 truncate`,children:e||`-`}),e&&(0,Ni.jsxs)(r.Button,{type:`button`,variant:`outline`,size:`sm`,onClick:()=>c(!s),children:[(0,Ni.jsx)(vt,{className:`w-4 h-4 mr-2`}),s?`Hide`:`Show`,` QR`]})]}):(0,Ni.jsxs)(`div`,{className:`space-y-3`,children:[(0,Ni.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,Ni.jsx)(r.Input,{type:`text`,value:e||``,onChange:e=>n(e.target.value),placeholder:l?.placeholder||`Enter text for QR code`,disabled:a||o.disabled,className:o.className}),e&&(0,Ni.jsxs)(Ni.Fragment,{children:[(0,Ni.jsx)(r.Button,{type:`button`,variant:`outline`,size:`sm`,onClick:()=>{e&&navigator.clipboard.writeText(e)},children:(0,Ni.jsx)(Ie,{className:`w-4 h-4`})}),(0,Ni.jsx)(r.Button,{type:`button`,variant:`outline`,size:`sm`,onClick:()=>c(!s),children:(0,Ni.jsx)(vt,{className:`w-4 h-4`})})]})]}),s&&e&&(0,Ni.jsx)(`div`,{className:`border rounded p-4 bg-white flex justify-center`,children:(0,Ni.jsx)(`img`,{src:(e=>`https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=${encodeURIComponent(e)}`)(e),alt:`QR Code`,className:`w-48 h-48`})}),e&&(0,Ni.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`QR code contains: `,e.length,` characters`]})]})}var Ni,Pi=f((()=>{Rt(),Ni=v()})),Fi=m({MasterDetailField:()=>Ii});function Ii({value:e,onChange:t,field:n,readonly:i,className:a,...o}){let s=e||[],c=n||o.schema,l=()=>{let e={id:`new-${Date.now()}`,label:`New Related Record`};t([...s,e])},u=e=>{t(s.filter(t=>t.id!==e))},d=e=>{console.log(`View detail:`,e)};return i?(0,F.jsxs)(`div`,{className:(0,r.cn)(`space-y-2`,a),children:[s.length===0?(0,F.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:`No related records`}):s.map(e=>(0,F.jsxs)(`div`,{className:`flex items-center justify-between p-2 border rounded hover:bg-muted/50`,children:[(0,F.jsx)(`span`,{className:`text-sm`,children:e.label}),(0,F.jsx)(r.Button,{type:`button`,variant:`ghost`,size:`sm`,onClick:()=>d(e),children:(0,F.jsx)(Ge,{className:`w-4 h-4`})})]},e.id)),(0,F.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[s.length,` `,s.length===1?`record`:`records`]})]}):(0,F.jsxs)(`div`,{className:(0,r.cn)(`space-y-3`,a),children:[(0,F.jsxs)(`div`,{className:`space-y-2`,children:[s.map(e=>(0,F.jsxs)(`div`,{className:`flex items-center justify-between gap-2 p-2 border rounded hover:bg-muted/50`,children:[(0,F.jsxs)(`div`,{className:`flex items-center gap-2 flex-1`,children:[(0,F.jsx)(r.Badge,{variant:`outline`,children:e.id}),(0,F.jsx)(`span`,{className:`text-sm flex-1`,children:e.label})]}),(0,F.jsxs)(`div`,{className:`flex items-center gap-1`,children:[(0,F.jsx)(r.Button,{type:`button`,variant:`ghost`,size:`sm`,onClick:()=>d(e),children:(0,F.jsx)(Ge,{className:`w-4 h-4`})}),(0,F.jsx)(r.Button,{type:`button`,variant:`ghost`,size:`sm`,onClick:()=>u(e.id),disabled:o.disabled,children:(0,F.jsx)(It,{className:`w-4 h-4`})})]})]},e.id)),s.length===0&&(0,F.jsx)(`div`,{className:`text-sm text-muted-foreground text-center py-4 border border-dashed rounded bg-muted/20`,children:`No related records`})]}),(0,F.jsxs)(r.Button,{type:`button`,variant:`outline`,className:`w-full`,onClick:l,disabled:o.disabled,children:[(0,F.jsx)(ht,{className:`w-4 h-4 mr-2`}),`Add `,c?.label||`Record`]})]})}var F,Li=f((()=>{Rt(),F=v()})),Ri=f((()=>{}));function zi(e){if(e==null||typeof e==`string`||typeof e==`number`||typeof e==`boolean`)return e;if(e instanceof Date)return e.toISOString();if(Array.isArray(e))return e.map(e=>{if(typeof e==`object`&&e){let t=e;return String(t.name||t.label||t.id||t._id||`[Object]`)}return String(e)}).join(`, `);if(typeof e==`object`){let t=e;return`$numberDecimal`in t?Number(t.$numberDecimal):`$oid`in t?String(t.$oid):`$date`in t?String(t.$date):String(t.name||t.label||t.id||t._id||`[Object]`)}return String(e)}function Bi(e,t=`USD`){try{return new Intl.NumberFormat(`en-US`,{style:`currency`,currency:t}).format(e)}catch{return`${t} ${e.toFixed(2)}`}}function Vi(e,t=0){return`${(e>-1&&e<1?e*100:e).toFixed(t)}%`}function Hi(e){return e.replace(/[_-]/g,` `).replace(/\b\w/g,e=>e.toUpperCase())}function Ui(e){if(!e)return`-`;let t=typeof e==`string`?new Date(e):e;if(isNaN(t.getTime()))return`-`;let n=new Date,r=new Date(n.getFullYear(),n.getMonth(),n.getDate()),i=new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-r.getTime(),a=Math.round(i/(1e3*60*60*24));if(a===0)return`Today`;if(a===1)return`Tomorrow`;if(a===-1)return`Yesterday`;if(a<-1){let e=Math.abs(a);return e<=7?`Overdue ${e}d`:Wi(t)}return a>1&&a<=7?`In ${a} days`:Wi(t)}function Wi(e,t){if(!e)return`-`;let n=typeof e==`string`?new Date(e):e;return isNaN(n.getTime())?`-`:t===`short`?`${n.toLocaleDateString(`en-US`,{month:`short`})} ${n.getDate()}, '${String(n.getFullYear()).slice(-2)}`:t===`relative`?Ui(n):n.toLocaleDateString(void 0,{year:`numeric`,month:`short`,day:`numeric`})}function Gi({value:e}){let t=zi(e);return(0,I.jsx)(`span`,{className:`truncate`,children:t!=null&&t!==``?String(t):`-`})}function Ki({value:e,field:t}){if(e==null)return(0,I.jsx)(`span`,{className:`text-muted-foreground`,children:`-`});let n=zi(e),r=t.precision??0,i=Number(n);return(0,I.jsx)(`span`,{className:`tabular-nums`,children:isNaN(i)?String(n):new Intl.NumberFormat(`en-US`,{minimumFractionDigits:r,maximumFractionDigits:r}).format(i)})}function qi({value:e,field:t}){if(e==null)return(0,I.jsx)(`span`,{className:`text-muted-foreground`,children:`-`});let n=zi(e),r=t.currency||`USD`,i=Number(n);return(0,I.jsx)(`span`,{className:`tabular-nums font-medium whitespace-nowrap`,children:isNaN(i)?String(n):Bi(i,r)})}function Ji({value:e,field:t}){if(e==null)return(0,I.jsx)(`span`,{className:`text-muted-foreground`,children:`-`});let n=zi(e),r=t.precision??0,i=Number(n);if(isNaN(i))return(0,I.jsx)(`span`,{className:`tabular-nums whitespace-nowrap`,children:String(n)});let a=L.test(t?.name?.toLowerCase()||``),o=a?i:i>-1&&i<1?i*100:i,s=a?`${i.toFixed(r)}%`:Vi(i,r),c=Math.max(0,Math.min(100,o));return(0,I.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,I.jsx)(`div`,{className:`h-1.5 w-16 rounded-full bg-muted overflow-hidden flex-shrink-0`,role:`progressbar`,"aria-valuenow":c,"aria-valuemin":0,"aria-valuemax":100,children:(0,I.jsx)(`div`,{className:`h-full rounded-full bg-primary transition-all`,style:{width:`${c}%`}})}),(0,I.jsx)(`span`,{className:`tabular-nums whitespace-nowrap`,children:s})]})}function Yi({value:e,field:t}){if(e==null)return(0,I.jsx)(`span`,{className:`text-muted-foreground/50 text-xs italic flex items-center justify-center`,children:`—`});let n=t?.name?.toLowerCase()||``;return n===`completed`||n===`is_completed`||n===`done`||n===`is_done`?(0,I.jsx)(`div`,{className:`flex items-center justify-center`,children:e?(0,I.jsx)(`div`,{className:`size-5 rounded-full bg-green-500 flex items-center justify-center`,role:`img`,"aria-label":`Completed`,"data-testid":`completion-indicator`,children:(0,I.jsx)(we,{className:`size-3 text-white`})}):(0,I.jsx)(`div`,{className:`size-5 rounded-full border-2 border-muted-foreground/30`,role:`img`,"aria-label":`Not completed`,"data-testid":`completion-indicator`})}):R.has(n)&&!e?(0,I.jsxs)(r.Badge,{variant:`destructive`,className:`text-xs`,"data-testid":`boolean-warning-badge`,children:[t?.label||Hi(n),` — Off`]}):(0,I.jsx)(`div`,{className:`flex items-center justify-center`,children:(0,I.jsx)(r.Checkbox,{checked:!!e,disabled:!0,className:`pointer-events-none`})})}function Xi({value:e,field:t}){if(!e)return(0,I.jsx)(`span`,{className:`text-muted-foreground`,children:`-`});let n=zi(e),r=Wi(n,t.format||`relative`),i=typeof n==`string`?new Date(n):n,a=i instanceof Date&&!isNaN(i.getTime()),o=new Date;o.setHours(0,0,0,0);let s=a&&i<o,c=a?i.toISOString():String(n);return(0,I.jsx)(`span`,{className:`tabular-nums${s?` text-red-600`:``}`,title:c,children:r})}function Zi({value:e}){if(!e)return(0,I.jsx)(`span`,{className:`text-muted-foreground`,children:`-`});let t=zi(e),n=typeof t==`string`?new Date(t):t;if(!(n instanceof Date)||isNaN(n.getTime()))return(0,I.jsx)(`span`,{className:`text-muted-foreground`,children:`-`});let r=n.toLocaleDateString(void 0,{month:`numeric`,day:`numeric`,year:`numeric`}),i=n.toLocaleTimeString(void 0,{hour:`numeric`,minute:`2-digit`,hour12:!0}).toLowerCase();return(0,I.jsxs)(`span`,{className:`tabular-nums text-sm whitespace-nowrap`,children:[(0,I.jsx)(`span`,{children:r}),(0,I.jsx)(`span`,{className:`ml-2 text-muted-foreground`,children:i})]})}function Qi(e,t){return pa[e||(t?fa[String(t).toLowerCase().replace(/[\s-]/g,`_`)]:void 0)||``]||`bg-muted text-muted-foreground border-border`}function $i({value:e,field:t}){let n=t.options||[];if(!e)return(0,I.jsx)(`span`,{children:`-`});if(Array.isArray(e))return(0,I.jsx)(`div`,{className:`flex flex-wrap gap-1`,children:e.map((e,t)=>{let i=n.find(t=>t.value===e),a=i?.label||Hi(String(e));return(0,I.jsx)(r.Badge,{variant:`outline`,className:Qi(i?.color,e),children:a},t)})});let i=n.find(t=>t.value===e),a=i?.label||Hi(String(e));return(0,I.jsx)(r.Badge,{variant:`outline`,className:Qi(i?.color,e),children:a})}function ea({value:e}){if(!e)return(0,I.jsx)(`span`,{children:`-`});let n=String(zi(e)??``),[i,a]=t.default.useState(!1);return(0,I.jsxs)(`span`,{className:`inline-flex items-center gap-1 group/email`,children:[(0,I.jsx)(r.Button,{variant:`link`,className:`p-0 h-auto font-normal text-blue-600 hover:text-blue-800`,asChild:!0,children:(0,I.jsx)(`a`,{href:`mailto:${n}`,onClick:e=>e.stopPropagation(),children:n})}),(0,I.jsx)(`button`,{type:`button`,className:`opacity-0 group-hover/email:opacity-100 transition-opacity p-0.5 rounded hover:bg-muted`,onClick:e=>{e.stopPropagation(),e.preventDefault(),navigator.clipboard.writeText(n).then(()=>{a(!0),setTimeout(()=>a(!1),2e3)}).catch(()=>{})},"aria-label":`Copy email`,children:i?(0,I.jsx)(we,{className:`h-3 w-3 text-green-600`}):(0,I.jsx)(Ie,{className:`h-3 w-3 text-muted-foreground`})})]})}function ta({value:e}){if(!e)return(0,I.jsx)(`span`,{children:`-`});let t=String(zi(e)??``);return(0,I.jsx)(r.Button,{variant:`link`,className:`p-0 h-auto font-normal text-blue-600 hover:text-blue-800`,asChild:!0,children:(0,I.jsx)(`a`,{href:t,target:`_blank`,rel:`noopener noreferrer`,onClick:e=>e.stopPropagation(),children:t})})}function na({value:e}){if(!e)return(0,I.jsx)(`span`,{children:`-`});let n=String(zi(e)??``),[r,i]=t.default.useState(!1);return(0,I.jsxs)(`span`,{className:`inline-flex items-center gap-1 group/phone`,children:[(0,I.jsxs)(`a`,{href:`tel:${n}`,className:`inline-flex items-center gap-1 text-blue-600 hover:text-blue-800`,onClick:e=>e.stopPropagation(),children:[(0,I.jsx)(ft,{className:`h-3 w-3`}),n]}),(0,I.jsx)(`button`,{type:`button`,className:`opacity-0 group-hover/phone:opacity-100 transition-opacity p-0.5 rounded hover:bg-muted`,onClick:e=>{e.stopPropagation(),e.preventDefault(),navigator.clipboard.writeText(n).then(()=>{i(!0),setTimeout(()=>i(!1),2e3)}).catch(()=>{})},"aria-label":`Copy phone number`,children:r?(0,I.jsx)(we,{className:`h-3 w-3 text-green-600`}):(0,I.jsx)(Ie,{className:`h-3 w-3 text-muted-foreground`})})]})}function ra({value:e,field:t}){if(!e)return(0,I.jsx)(`span`,{children:`-`});if(t.multiple,Array.isArray(e)){let t=e.length;return(0,I.jsxs)(`span`,{className:`text-sm text-gray-600`,children:[t,` `,t===1?`file`:`files`]})}return(0,I.jsx)(`span`,{className:`text-sm truncate`,children:e.name||e.original_name||`File`})}function ia({value:e}){return e?Array.isArray(e)?(0,I.jsxs)(`div`,{className:`flex -space-x-2`,children:[e.slice(0,3).map((e,t)=>(0,I.jsx)(`img`,{src:e.url||``,alt:e.name||`Image ${t+1}`,className:`size-8 rounded-md border-2 border-white object-cover`},t)),e.length>3&&(0,I.jsxs)(`div`,{className:`size-8 rounded-md border-2 border-white bg-gray-100 flex items-center justify-center text-xs font-medium text-gray-600`,children:[`+`,e.length-3]})]}):(0,I.jsx)(`img`,{src:e.url||``,alt:e.name||`Image`,className:`size-10 rounded-md object-cover`}):(0,I.jsx)(`span`,{children:`-`})}function aa({value:e,field:t}){if(e==null||e===``)return(0,I.jsx)(`span`,{children:`-`});let n=t.options||[],r=e=>{if(n.length>0){let t=n.find(t=>String(t.value)===String(e));if(t)return t.label}return String(e)};return Array.isArray(e)?(0,I.jsx)(`div`,{className:`flex flex-wrap gap-1`,children:e.map((e,t)=>{let n;return n=typeof e==`object`&&e?e.name||e.label||e.id||e._id||String(e):r(e),(0,I.jsx)(`span`,{className:`inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-gray-100 text-gray-800`,children:n},t)})}):typeof e==`object`&&e?(0,I.jsx)(`span`,{className:`truncate`,children:e.name||e.label||e.id||e._id||`[Object]`}):(0,I.jsx)(`span`,{className:`truncate`,children:r(e)})}function oa({value:e}){let t=zi(e);return(0,I.jsx)(`span`,{className:`text-gray-700 font-mono text-sm`,children:t==null?`-`:String(t)})}function sa({value:e}){if(!e)return(0,I.jsx)(`span`,{children:`-`});if(typeof e!=`object`)return(0,I.jsx)(`span`,{className:`truncate`,children:String(e)});if(Array.isArray(e))return(0,I.jsxs)(`div`,{className:`flex -space-x-2`,children:[e.slice(0,3).map((e,t)=>{if(typeof e!=`object`||!e)return(0,I.jsx)(`span`,{className:`truncate text-sm`,children:String(e)},t);let n=e.name||e.username||`User`;return(0,I.jsx)(r.Avatar,{className:`size-8 border-2 border-white`,title:n,children:(0,I.jsx)(r.AvatarFallback,{className:`bg-blue-500 text-white text-xs`,children:n.split(` `).map(e=>e[0]).join(``).toUpperCase().slice(0,2)})},t)}),e.length>3&&(0,I.jsx)(r.Avatar,{className:`size-8 border-2 border-white`,children:(0,I.jsxs)(r.AvatarFallback,{className:`bg-gray-200 text-gray-600 text-xs`,children:[`+`,e.length-3]})})]});let t=e.name||e.username||`User`;return(0,I.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,I.jsx)(r.Avatar,{className:`size-8`,children:(0,I.jsx)(r.AvatarFallback,{className:`bg-blue-500 text-white text-xs`,children:t.split(` `).map(e=>e[0]).join(``).toUpperCase().slice(0,2)})}),(0,I.jsx)(`span`,{className:`truncate`,children:t})]})}function ca(e,t){ma.set(e,t)}function la(e){return ma.has(e)?ma.get(e):{text:Gi,textarea:Gi,markdown:Gi,html:Gi,number:Ki,currency:qi,percent:Ji,boolean:Yi,date:Xi,datetime:Zi,time:Gi,select:$i,status:$i,lookup:aa,master_detail:aa,email:ea,url:ta,phone:na,file:ra,image:ia,formula:oa,summary:oa,auto_number:Gi,user:sa,owner:sa,password:()=>(0,I.jsx)(`span`,{children:`••••••`}),location:Gi,object:()=>(0,I.jsx)(`span`,{className:`text-gray-500 italic`,children:`[Object]`}),vector:()=>(0,I.jsx)(`span`,{className:`text-gray-500 italic`,children:`[Vector]`}),grid:()=>(0,I.jsx)(`span`,{className:`text-gray-500 italic`,children:`[Grid]`})}[e]||Gi}function ua(e){let r=ha[e];if(!r){console.warn(`Unknown field type: ${e}`);return}let i=t.default.lazy(r);n.ComponentRegistry.register(e,i,{namespace:`field`})}function da(){Object.keys(ha).forEach(e=>{ua(e)})}var I,L,R,fa,pa,ma,ha,ga=f((()=>{Rt(),Ht(),Kt(),Xt(),en(),an(),ln(),pn(),_n(),Sn(),En(),An(),Xn(),er(),ir(),cr(),fr(),gr(),br(),wr(),Or(),Mr(),Ir(),Br(),Wr(),Jr(),Qr(),ni(),oi(),ui(),mi(),vi(),Si(),Ei(),Ai(),Pi(),Li(),I=v(),Un(),Ri(),Ht(),Kt(),Xt(),en(),an(),er(),ir(),ln(),pn(),_n(),Sn(),cr(),fr(),En(),An(),Xn(),zn(),gr(),br(),wr(),Or(),Mr(),Ir(),Br(),Wr(),Jr(),Qr(),ni(),oi(),ui(),mi(),vi(),Si(),Ei(),Ai(),Pi(),Li(),L=/progress|completion/,R=new Set([`active`,`is_active`,`enabled`,`is_enabled`,`verified`,`is_verified`]),fa={critical:`red`,urgent:`red`,high:`orange`,medium:`yellow`,normal:`blue`,low:`gray`,none:`gray`,paid:`green`,completed:`green`,done:`green`,active:`green`,approved:`green`,resolved:`green`,pending:`yellow`,waiting:`yellow`,on_hold:`yellow`,shipped:`blue`,in_progress:`blue`,open:`blue`,processing:`blue`,draft:`gray`,new:`gray`,inactive:`gray`,closed:`gray`,cancelled:`red`,canceled:`red`,rejected:`red`,failed:`red`,overdue:`red`,delivered:`purple`,archived:`indigo`},pa={gray:`bg-gray-100 text-gray-800 border-gray-300`,red:`bg-red-100 text-red-800 border-red-300`,orange:`bg-orange-100 text-orange-800 border-orange-300`,yellow:`bg-yellow-100 text-yellow-800 border-yellow-300`,green:`bg-green-100 text-green-800 border-green-300`,blue:`bg-blue-100 text-blue-800 border-blue-300`,indigo:`bg-indigo-100 text-indigo-800 border-indigo-300`,purple:`bg-purple-100 text-purple-800 border-purple-300`,pink:`bg-pink-100 text-pink-800 border-pink-300`},ma=new Map,ca(`lookup`,aa),ca(`master_detail`,aa),ca(`select`,$i),ca(`status`,$i),ca(`user`,sa),ca(`owner`,sa),Bn(la),ha={text:()=>Promise.resolve().then(()=>(Ht(),zt)).then(e=>({default:e.TextField})),textarea:()=>Promise.resolve().then(()=>(En(),Cn)).then(e=>({default:e.TextAreaField})),number:()=>Promise.resolve().then(()=>(Kt(),Ut)).then(e=>({default:e.NumberField})),boolean:()=>Promise.resolve().then(()=>(Xt(),qt)).then(e=>({default:e.BooleanField})),select:()=>Promise.resolve().then(()=>(en(),Zt)).then(e=>({default:e.SelectField})),date:()=>Promise.resolve().then(()=>(an(),tn)).then(e=>({default:e.DateField})),datetime:()=>Promise.resolve().then(()=>(er(),Zn)).then(e=>({default:e.DateTimeField})),time:()=>Promise.resolve().then(()=>(ir(),tr)).then(e=>({default:e.TimeField})),email:()=>Promise.resolve().then(()=>(ln(),on)).then(e=>({default:e.EmailField})),phone:()=>Promise.resolve().then(()=>(pn(),un)).then(e=>({default:e.PhoneField})),url:()=>Promise.resolve().then(()=>(_n(),mn)).then(e=>({default:e.UrlField})),currency:()=>Promise.resolve().then(()=>(Sn(),vn)).then(e=>({default:e.CurrencyField})),percent:()=>Promise.resolve().then(()=>(cr(),ar)).then(e=>({default:e.PercentField})),password:()=>Promise.resolve().then(()=>(fr(),lr)).then(e=>({default:e.PasswordField})),markdown:()=>Promise.resolve().then(()=>(An(),Dn)).then(e=>({default:e.RichTextField})),html:()=>Promise.resolve().then(()=>(An(),Dn)).then(e=>({default:e.RichTextField})),lookup:()=>Promise.resolve().then(()=>(Xn(),Wn)).then(e=>({default:e.LookupField})),master_detail:()=>Promise.resolve().then(()=>(Li(),Fi)).then(e=>({default:e.MasterDetailField})),file:()=>Promise.resolve().then(()=>(gr(),pr)).then(e=>({default:e.FileField})),image:()=>Promise.resolve().then(()=>(br(),_r)).then(e=>({default:e.ImageField})),location:()=>Promise.resolve().then(()=>(wr(),xr)).then(e=>({default:e.LocationField})),formula:()=>Promise.resolve().then(()=>(Or(),Tr)).then(e=>({default:e.FormulaField})),summary:()=>Promise.resolve().then(()=>(Mr(),kr)).then(e=>({default:e.SummaryField})),auto_number:()=>Promise.resolve().then(()=>(Ir(),Nr)).then(e=>({default:e.AutoNumberField})),user:()=>Promise.resolve().then(()=>(Br(),Lr)).then(e=>({default:e.UserField})),owner:()=>Promise.resolve().then(()=>(Br(),Lr)).then(e=>({default:e.UserField})),object:()=>Promise.resolve().then(()=>(Wr(),Vr)).then(e=>({default:e.ObjectField})),vector:()=>Promise.resolve().then(()=>(Jr(),Gr)).then(e=>({default:e.VectorField})),grid:()=>Promise.resolve().then(()=>(Qr(),Yr)).then(e=>({default:e.GridField})),color:()=>Promise.resolve().then(()=>(ni(),$r)).then(e=>({default:e.ColorField})),slider:()=>Promise.resolve().then(()=>(oi(),ri)).then(e=>({default:e.SliderField})),rating:()=>Promise.resolve().then(()=>(ui(),si)).then(e=>({default:e.RatingField})),code:()=>Promise.resolve().then(()=>(mi(),di)).then(e=>({default:e.CodeField})),avatar:()=>Promise.resolve().then(()=>(vi(),hi)).then(e=>({default:e.AvatarField})),address:()=>Promise.resolve().then(()=>(Si(),yi)).then(e=>({default:e.AddressField})),geolocation:()=>Promise.resolve().then(()=>(Ei(),Ci)).then(e=>({default:e.GeolocationField})),signature:()=>Promise.resolve().then(()=>(Ai(),Di)).then(e=>({default:e.SignatureField})),qrcode:()=>Promise.resolve().then(()=>(Pi(),ji)).then(e=>({default:e.QRCodeField}))},da()}));function _a(e){return Sa[e]||null}function va(e){return class extends Ca{init(t){super.init({...t,field:e})}refresh(t){return super.refresh({...t,field:e})}}}function ya(e){return class extends wa{init(t){super.init({...t,field:e})}}}var ba,xa,Sa,Ca,wa,Ta=f((()=>{ba=T(),ga(),xa=v(),Sa={text:Bt,textarea:wn,number:Wt,currency:bn,percent:or,boolean:Jt,select:Qt,date:nn,datetime:Qn,time:nr,email:sn,phone:dn,url:hn,password:ur,color:ei,rating:ci,image:vr,avatar:gi,lookup:qn,slider:ii,code:fi},Ca=class{eGui;root=null;init(e){let{value:t,field:n}=e,r=_a(n.type);this.eGui=document.createElement(`div`),this.eGui.className=`field-widget-cell`,r?(this.root=(0,ba.createRoot)(this.eGui),this.root.render((0,xa.jsx)(r,{value:t,onChange:()=>{},field:n,readonly:!0}))):this.eGui.textContent=t==null?``:String(t)}getGui(){return this.eGui}refresh(e){let{value:t,field:n}=e,r=_a(n.type);return r&&this.root?(this.root.render((0,xa.jsx)(r,{value:t,onChange:()=>{},field:n,readonly:!0})),!0):this.eGui?(this.eGui.textContent=t==null?``:String(t),!0):!1}destroy(){this.root&&this.root.unmount()}},wa=class{eGui;root=null;currentValue;params;init(e){this.params=e,this.currentValue=e.value;let{field:t}=e,n=_a(t.type);if(this.eGui=document.createElement(`div`),this.eGui.className=`field-widget-editor`,n)this.root=(0,ba.createRoot)(this.eGui),this.root.render((0,xa.jsx)(n,{value:this.currentValue,onChange:e=>{this.currentValue=e},field:t,readonly:!1}));else{let e=document.createElement(`input`);e.value=this.currentValue==null?``:String(this.currentValue),e.className=`ag-input-field-input ag-text-field-input`,e.addEventListener(`input`,e=>{this.currentValue=e.target.value}),this.eGui.appendChild(e),setTimeout(()=>e.focus(),0)}}getGui(){return this.eGui}getValue(){return this.currentValue}destroy(){this.root&&this.root.unmount()}isPopup(){return[`date`,`datetime`,`select`,`lookup`,`color`].includes(this.params.field.type)}}})),Ea=m({default:()=>Da});function Da({objectName:e,dataSource:r,fields:a,fieldNames:o,filters:s,sort:c,pageSize:l=10,pagination:u=!0,domLayout:d=`normal`,animateRows:f=!0,rowSelection:p,theme:m=`quartz`,height:h=500,className:g=``,editable:_=!1,editType:v,singleClickEdit:y=!1,stopEditingWhenCellsLoseFocus:b=!0,exportConfig:x,statusBar:ee,callbacks:S,columnConfig:te,enableRangeSelection:C=!1,enableCharts:ne=!1,contextMenu:re}){let w=(0,t.useRef)(null),[ie,T]=(0,t.useState)(!0),[E,ae]=(0,t.useState)(null),[oe,D]=(0,t.useState)(null),[O,se]=(0,t.useState)([]);(0,t.useEffect)(()=>{if(!r){ae(Error(`DataSource is required`)),T(!1);return}(async()=>{try{T(!0),ae(null),D(await r.getObjectSchema(e))}catch(e){let t=e instanceof Error?e:Error(String(e));ae(t),S?.onDataError?.(t)}finally{T(!1)}})()},[e,r,S]),(0,t.useEffect)(()=>{!r||!oe||(async()=>{try{T(!0),ae(null);let t={$top:l,$skip:0};s&&(t.$filter=s),c&&(t.$orderby=c);let i=(0,n.buildExpandFields)(oe?.fields);i.length>0&&(t.$expand=i);let a=await r.find(e,t);se(a.data||[]),S?.onDataLoaded?.(a.data||[])}catch(e){let t=e instanceof Error?e:Error(String(e));ae(t),S?.onDataError?.(t)}finally{T(!1)}})()},[e,r,oe,s,c,l,S]);let ce=(0,t.useMemo)(()=>{if(!oe?.fields)return[];let e=a||Object.values(oe.fields);return(o?e.filter(e=>o.includes(e.name)):e).map(e=>{let t={field:e.name,headerName:e.label||e.name,sortable:e.sortable!==!1,filter:Oa(e),editable:_&&!e.readonly};return te&&(te.resizable!==void 0&&(t.resizable=te.resizable),te.sortable!==void 0&&t.sortable===void 0&&(t.sortable=te.sortable)),ka(t,e),t})},[oe,a,o,_,te]),le=(0,t.useMemo)(()=>{if(!ee?.enabled)return;let e=ee.aggregations||[`count`,`sum`,`avg`],t=[];return e.includes(`count`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`count`]}}),e.includes(`sum`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`sum`]}}),e.includes(`avg`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`avg`]}}),e.includes(`min`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`min`]}}),e.includes(`max`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`max`]}}),t},[ee]),ue=(0,t.useCallback)(()=>{if(!w.current?.api)return;let t={fileName:x?.fileName||`${e}-export.csv`,skipColumnHeaders:x?.skipColumnHeaders||!1,allColumns:x?.allColumns||!1,onlySelected:x?.onlySelected||!1};if(w.current.api.exportDataAsCsv(t),S?.onExport){let e=x?.onlySelected?w.current.api.getSelectedRows():O;S.onExport(e||[],`csv`)}},[x,S,O,e]),k=(0,t.useCallback)(e=>{if(!re?.enabled)return[];let t=[];return(re.items||[`copy`,`copyWithHeaders`,`separator`,`export`]).forEach(e=>{e===`export`?t.push({name:`Export CSV`,icon:`<span>📥</span>`,action:()=>ue()}):e===`autoSizeAll`?t.push({name:`Auto-size All Columns`,action:()=>{w.current?.api&&w.current.api.autoSizeAllColumns()}}):e===`resetColumns`?t.push({name:`Reset Columns`,action:()=>{w.current?.api&&w.current.api.resetColumnState()}}):t.push(e)}),re.customItems&&(t.length>0&&t.push(`separator`),re.customItems.forEach(n=>{t.push({name:n.name,disabled:n.disabled,action:()=>{S?.onContextMenuAction&&S.onContextMenuAction(n.action,e.node?.data)}})})),t},[re,ue,S]),A=(0,t.useCallback)(e=>{S?.onCellClicked?.(e)},[S]),de=(0,t.useCallback)(e=>{S?.onRowClicked?.(e)},[S]),fe=(0,t.useCallback)(e=>{S?.onSelectionChanged?.(e)},[S]),pe=(0,t.useCallback)(async t=>{if(S?.onCellValueChanged?.(t),r&&t.data&&t.data.id)try{await r.update(e,t.data.id,{[t.colDef.field]:t.newValue})}catch(e){console.error(`Failed to update record:`,e),t.node.setDataValue(t.colDef.field,t.oldValue)}},[S,r,e]),j=(0,t.useCallback)(e=>{w.current=e},[]),me=(0,t.useMemo)(()=>({pagination:u,paginationPageSize:l,domLayout:d,animateRows:f,rowSelection:p,editType:v,singleClickEdit:y,stopEditingWhenCellsLoseFocus:b,statusBar:le?{statusPanels:le}:void 0,enableRangeSelection:C,enableCharts:ne,getContextMenuItems:re?.enabled?k:void 0,suppressCellFocus:!_,enableCellTextSelection:!0,ensureDomOrder:!0,onCellClicked:A,onRowClicked:de,onSelectionChanged:fe,onCellValueChanged:pe,onGridReady:j}),[u,l,d,f,p,v,y,b,le,C,ne,re,k,_,A,de,fe,pe,j]),he=(0,t.useMemo)(()=>({height:typeof h==`number`?`${h}px`:h,width:`100%`}),[h]),ge=[`ag-theme-${m}`,`rounded-xl`,`border`,`border-border`,`overflow-hidden`,`shadow-lg`,g].filter(Boolean).join(` `);return ie?(0,Aa.jsx)(`div`,{className:`flex items-center justify-center`,style:he,children:(0,Aa.jsxs)(`div`,{className:`text-muted-foreground`,children:[`Loading `,e,`...`]})}):E?(0,Aa.jsx)(`div`,{className:`flex items-center justify-center`,style:he,children:(0,Aa.jsxs)(`div`,{className:`text-destructive`,children:[`Error loading data: `,E.message]})}):(0,Aa.jsxs)(`div`,{className:`object-aggrid-container`,children:[x?.enabled&&(0,Aa.jsx)(`div`,{className:`mb-2 flex gap-2`,children:(0,Aa.jsx)(`button`,{onClick:ue,className:`px-3 py-1.5 text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 rounded-md transition-colors`,children:`Export CSV`})}),(0,Aa.jsx)(`div`,{className:ge,style:he,children:(0,Aa.jsx)(i.AgGridReact,{ref:w,rowData:O,columnDefs:ce,gridOptions:me})})]})}function Oa(e){return e.filterable===!1?!1:S[e.type]||`agTextColumnFilter`}function ka(e,t){if([`text`,`textarea`,`number`,`currency`,`percent`,`boolean`,`select`,`date`,`datetime`,`time`,`email`,`phone`,`url`,`password`,`color`,`rating`,`image`,`avatar`,`lookup`,`slider`,`code`].includes(t.type))e.cellRenderer=va(t),e.editable&&(e.cellEditor=ya(t),[`date`,`datetime`,`select`,`lookup`,`color`].includes(t.type)&&(e.cellEditorPopup=!0));else switch(t.type){case`master_detail`:e.valueFormatter=e=>e.value?typeof e.value==`object`?e.value.name||e.value.label||e.value.id||``:String(e.value):``;break;case`object`:e.cellRenderer=()=>{let e=document.createElement(`span`);return e.className=`text-gray-500 italic`,e.textContent=`[Object]`,e};break;case`vector`:e.cellRenderer=()=>{let e=document.createElement(`span`);return e.className=`text-gray-500 italic`,e.textContent=`[Vector]`,e};break;case`grid`:e.cellRenderer=()=>{let e=document.createElement(`span`);return e.className=`text-gray-500 italic`,e.textContent=`[Grid]`,e};break;default:e.valueFormatter=e=>e.value==null?``:String(e.value)}}var Aa,ja=f((()=>{te(),Ta(),Aa=v()})),Ma=v(),Na=t.default.lazy(()=>Promise.resolve().then(()=>(ee(),y))),Pa=t.default.lazy(()=>Promise.resolve().then(()=>(ja(),Ea))),Fa=({schema:e})=>(0,Ma.jsx)(t.Suspense,{fallback:(0,Ma.jsx)(r.Skeleton,{className:`w-full h-[500px]`}),children:(0,Ma.jsx)(Na,{rowData:e.rowData,columnDefs:e.columnDefs,gridOptions:e.gridOptions,pagination:e.pagination,paginationPageSize:e.paginationPageSize,domLayout:e.domLayout,animateRows:e.animateRows,rowSelection:e.rowSelection,theme:e.theme,height:e.height,className:e.className,editable:e.editable,editType:e.editType,singleClickEdit:e.singleClickEdit,stopEditingWhenCellsLoseFocus:e.stopEditingWhenCellsLoseFocus,exportConfig:e.exportConfig,statusBar:e.statusBar,callbacks:e.callbacks,columnConfig:e.columnConfig,enableRangeSelection:e.enableRangeSelection,enableCharts:e.enableCharts,contextMenu:e.contextMenu,treeData:e.treeData,rowGrouping:e.rowGrouping,excelExport:e.excelExport})});n.ComponentRegistry.register(`aggrid`,Fa,{namespace:`plugin-aggrid`,label:`AG Grid`,icon:`Table`,category:`plugin`,inputs:[{name:`rowData`,type:`array`,label:`Row Data`,description:`Array of objects to display in the grid`,required:!0},{name:`columnDefs`,type:`array`,label:`Column Definitions`,description:`Array of column definitions`,required:!0},{name:`pagination`,type:`boolean`,label:`Enable Pagination`,defaultValue:!1},{name:`paginationPageSize`,type:`number`,label:`Page Size`,defaultValue:10,description:`Number of rows per page when pagination is enabled`},{name:`theme`,type:`enum`,label:`Theme`,enum:[{label:`Quartz`,value:`quartz`},{label:`Alpine`,value:`alpine`},{label:`Balham`,value:`balham`},{label:`Material`,value:`material`}],defaultValue:`quartz`},{name:`rowSelection`,type:`enum`,label:`Row Selection`,enum:[{label:`None`,value:void 0},{label:`Single`,value:`single`},{label:`Multiple`,value:`multiple`}],defaultValue:void 0,advanced:!0},{name:`domLayout`,type:`enum`,label:`DOM Layout`,enum:[{label:`Normal`,value:`normal`},{label:`Auto Height`,value:`autoHeight`},{label:`Print`,value:`print`}],defaultValue:`normal`,advanced:!0},{name:`animateRows`,type:`boolean`,label:`Animate Rows`,defaultValue:!0,advanced:!0},{name:`height`,type:`number`,label:`Height (px)`,defaultValue:500},{name:`editable`,type:`boolean`,label:`Enable Editing`,defaultValue:!1,description:`Allow cells to be edited inline`,advanced:!0},{name:`singleClickEdit`,type:`boolean`,label:`Single Click Edit`,defaultValue:!1,description:`Start editing on single click instead of double click`,advanced:!0},{name:`exportConfig`,type:`code`,label:`Export Config (JSON)`,description:`Configure CSV export: { enabled: true, fileName: "data.csv" }`,advanced:!0},{name:`statusBar`,type:`code`,label:`Status Bar Config (JSON)`,description:`Configure status bar: { enabled: true, aggregations: ["count", "sum", "avg"] }`,advanced:!0},{name:`callbacks`,type:`code`,label:`Event Callbacks (JSON)`,description:`Event handlers for cell clicks, selection changes, etc.`,advanced:!0},{name:`columnConfig`,type:`code`,label:`Column Config (JSON)`,description:`Global column settings: { resizable: true, sortable: true, filterable: true }`,advanced:!0},{name:`enableRangeSelection`,type:`boolean`,label:`Enable Range Selection`,defaultValue:!1,description:`Allow selecting ranges of cells (like Excel)`,advanced:!0},{name:`enableCharts`,type:`boolean`,label:`Enable Charts`,defaultValue:!1,description:`Enable integrated charting (requires AG Grid Enterprise)`,advanced:!0},{name:`contextMenu`,type:`code`,label:`Context Menu Config (JSON)`,description:`Configure right-click menu: { enabled: true, items: ["copy", "export"] }`,advanced:!0},{name:`treeData`,type:`code`,label:`Tree Data Config (JSON)`,description:`Configure tree data: { enabled: true, pathField: "orgHierarchy" }`,advanced:!0},{name:`rowGrouping`,type:`code`,label:`Row Grouping Config (JSON)`,description:`Configure row grouping: { enabled: true, groupByFields: ["category"] }`,advanced:!0},{name:`excelExport`,type:`code`,label:`Excel Export Config (JSON)`,description:`Configure Excel export: { enabled: true, fileName: "data.xlsx" }`,advanced:!0},{name:`gridOptions`,type:`code`,label:`Grid Options (JSON)`,description:`Advanced AG Grid options`,advanced:!0},{name:`className`,type:`string`,label:`CSS Class`}],defaultProps:{rowData:[{make:`Tesla`,model:`Model Y`,price:64950,electric:!0},{make:`Ford`,model:`F-Series`,price:33850,electric:!1},{make:`Toyota`,model:`Corolla`,price:29600,electric:!1},{make:`Mercedes`,model:`EQA`,price:48890,electric:!0},{make:`Fiat`,model:`500`,price:15774,electric:!1},{make:`Nissan`,model:`Juke`,price:20675,electric:!1},{make:`Vauxhall`,model:`Corsa`,price:18460,electric:!1},{make:`Volvo`,model:`XC90`,price:72835,electric:!1},{make:`Mercedes`,model:`GLA`,price:47825,electric:!1},{make:`Ford`,model:`Puma`,price:27420,electric:!1},{make:`Volkswagen`,model:`Golf`,price:28850,electric:!1},{make:`Kia`,model:`Sportage`,price:31095,electric:!1}],columnDefs:[{field:`make`,headerName:`Make`,sortable:!0,filter:!0},{field:`model`,headerName:`Model`,sortable:!0,filter:!0},{field:`price`,headerName:`Price`,sortable:!0,filter:`number`,valueFormatter:e=>e.value==null?``:`$`+e.value.toLocaleString()},{field:`electric`,headerName:`Electric`,sortable:!0,filter:!0,cellRenderer:e=>e.value===!0?`⚡ Yes`:`No`}],pagination:!0,paginationPageSize:10,theme:`quartz`,height:500,animateRows:!0,domLayout:`normal`}});var Ia=({schema:e})=>(0,Ma.jsx)(t.Suspense,{fallback:(0,Ma.jsx)(r.Skeleton,{className:`w-full h-[500px]`}),children:(0,Ma.jsx)(Pa,{objectName:e.objectName,dataSource:e.dataSource,fields:e.fields,fieldNames:e.fieldNames,filters:e.filters,sort:e.sort,pageSize:e.pageSize,pagination:e.pagination,domLayout:e.domLayout,animateRows:e.animateRows,rowSelection:e.rowSelection,theme:e.theme,height:e.height,className:e.className,editable:e.editable,editType:e.editType,singleClickEdit:e.singleClickEdit,stopEditingWhenCellsLoseFocus:e.stopEditingWhenCellsLoseFocus,exportConfig:e.exportConfig,statusBar:e.statusBar,callbacks:e.callbacks,columnConfig:e.columnConfig,enableRangeSelection:e.enableRangeSelection,enableCharts:e.enableCharts,contextMenu:e.contextMenu})}),La={aggrid:Fa,"object-aggrid":Ia};n.ComponentRegistry.register(`object-aggrid`,Ia,{namespace:`plugin-aggrid`,label:`Object AG Grid`,icon:`Table`,category:`view`,inputs:[{name:`objectName`,type:`string`,label:`Object Name`,description:`Name of the object to fetch metadata and data from`,required:!0},{name:`dataSource`,type:`object`,label:`Data Source`,description:`ObjectStack data source adapter instance`,required:!0},{name:`fieldNames`,type:`array`,label:`Field Names`,description:`Optional: Specify which fields to show (defaults to all fields)`},{name:`filters`,type:`object`,label:`Filters`,description:`Query filters to apply to the data`},{name:`sort`,type:`object`,label:`Sort`,description:`Sorting configuration: { fieldName: "asc" | "desc" }`},{name:`pagination`,type:`boolean`,label:`Enable Pagination`,defaultValue:!0},{name:`pageSize`,type:`number`,label:`Page Size`,defaultValue:10,description:`Number of rows per page`},{name:`theme`,type:`enum`,label:`Theme`,enum:[{label:`Quartz`,value:`quartz`},{label:`Alpine`,value:`alpine`},{label:`Balham`,value:`balham`},{label:`Material`,value:`material`}],defaultValue:`quartz`},{name:`height`,type:`number`,label:`Height (px)`,defaultValue:500},{name:`editable`,type:`boolean`,label:`Enable Editing`,defaultValue:!1,description:`Allow cells to be edited inline`,advanced:!0},{name:`exportConfig`,type:`code`,label:`Export Config (JSON)`,description:`Configure CSV export: { enabled: true, fileName: "data.csv" }`,advanced:!0},{name:`columnConfig`,type:`code`,label:`Column Config (JSON)`,description:`Global column settings: { resizable: true, sortable: true, filterable: true }`,advanced:!0},{name:`className`,type:`string`,label:`CSS Class`}]}),e.AgGridRenderer=Fa,e.ObjectAgGridRenderer=Ia,e.aggridComponents=La});