diff --git a/dist/assets/index-CcyGK4aq.js b/dist/assets/index-CcyGK4aq.js new file mode 100644 index 0000000..2f1ad49 --- /dev/null +++ b/dist/assets/index-CcyGK4aq.js @@ -0,0 +1 @@ +import{c as L,aC as g,bf as M,j as t,bg as v,a as N}from"./ra-DIZQUvlb.js";import{l as _,a as k,b as F}from"./utils-CHoM9ZAl.js";import{F as I}from"./matches-CU2r43ac.js";import{J as d,a as l}from"./react-admin-utils-B7RKeo5M.js";import{a2 as O,a3 as S,a4 as u,a5 as q,a6 as J,a7 as f,a8 as A,a9 as z,aa as E,ab as D,ac as B,ad as C,ae as H,af as $,ag as w,ah as G,ai as U,aj as V,ak as K,al as X,am as Q,an as W,ao as Y,p as Z}from"./react-admin-w-4YB5zs.js";import{i as ee,h as te}from"./mui-DfGU7ob2.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const n of o)if(n.type==="childList")for(const h of n.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&a(h)}).observe(document,{childList:!0,subtree:!0});function s(o){const n={};return o.integrity&&(n.integrity=o.integrity),o.referrerPolicy&&(n.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?n.credentials="include":o.crossOrigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function a(o){if(o.ep)return;o.ep=!0;const n=s(o);fetch(o.href,n)}})();var y={},b=L;y.createRoot=b.createRoot,y.hydrateRoot=b.hydrateRoot;const c=(r,e={})=>{const s="/api";return e.headers=e.headers||new Headers({Accept:"application/json"}),e.headers.set("X-GripMock-RequestInternal","92b4d5a9-c74b-4ac0-989c-717f80acba22"),M(`${s}${r}`,e)},re=(r,e)=>{const s=new I(r,{keys:Object.keys(e),includeScore:!0});for(const a of Object.values(e))console.log("$fuse",a,s.search(a));return r},se=(r,e)=>{const{fuse:s}=e;return delete e.fuse,Object.keys(e).length>0&&(r=k(r,F(e))),s!==void 0&&(r=re(r,s)),r},m=(r,e,s)=>{if(e===void 0&&s===void 0)return r;const{field:a,order:o}=s;return _(se(r,e),[a],[o.toLowerCase()])},oe={getList:async(r,e)=>{const{page:s,perPage:a}=e.pagination,{field:o,order:n}=e.sort,h={sort:JSON.stringify([o,n]),range:JSON.stringify([(s-1)*a,s*a-1]),filter:JSON.stringify(e.filter)},R=`/${r}?${g.stringify(h)}`,{json:p}=await c(R);return console.log("$list",p,e),{data:m(p,e.filter,e.sort),total:p.length}},getOne:async(r,e)=>{const{json:s}=await c(`/${r}/${e.id}`);return{data:s}},getMany:async(r,e)=>{const s={filter:JSON.stringify({ids:e.ids})},a=`/${r}?${g.stringify(s)}`,{json:o}=await c(a);return{data:m(o,e.filter,e.sort)}},getManyReference:async(r,e)=>{const s=`/${r}/${e.id}/${e.target}`,{json:a}=await c(s);return{data:m(a,e.filter,e.sort),total:a.length}},create:async(r,e)=>(await c(`/${r}`,{method:"POST",body:JSON.stringify(e.data)}),{data:e.data}),update:async(r,e)=>(await c(`/${r}`,{method:"POST",body:JSON.stringify(e.data)}),{id:e.data.id,data:e.data}),updateMany:async(r,e)=>(await c(`/${r}`,{method:"POST",body:JSON.stringify(e.data)}),{data:[]}),delete:async(r,e)=>{const s=`/${r}/batchDelete`;return await c(s,{method:"POST",body:JSON.stringify([e.id])}),{data:[]}},deleteMany:async(r,e)=>{const s=`/${r}/batchDelete`;return await c(s,{method:"POST",body:JSON.stringify(e.ids)}),{data:[]}}},ae=(r,e)=>{const s=document.createElement("a");s.setAttribute("href",encodeURI(`data:application/json;charset=utf-8,${r}`)),s.setAttribute("download",e),s.click()},ne=r=>{ae(JSON.stringify(r,null," "),"export.json")},ie=()=>t.jsx(O,{exporter:ne,children:t.jsxs(S,{rowClick:"show",children:[t.jsx(u,{source:"id",sortable:!0}),t.jsx(u,{source:"service",sortable:!0}),t.jsx(u,{source:"method",sortable:!0}),t.jsx(d,{source:"headers",sortable:!1,reactJsonOptions:{theme:i()}}),t.jsx(d,{source:"input",sortable:!1,reactJsonOptions:{theme:i()}}),t.jsx(d,{source:"output",sortable:!1,reactJsonOptions:{theme:i()}})]})}),ce=()=>t.jsx(q,{children:t.jsxs(J,{children:[t.jsx(f,{source:"service"}),t.jsx(f,{source:"method"}),t.jsx(l,{source:"headers",reactJsonOptions:{theme:i()}}),t.jsx(l,{source:"input",reactJsonOptions:{theme:i()}}),t.jsx(l,{source:"output",reactJsonOptions:{theme:i()}})]})}),ue=()=>t.jsx(A,{children:t.jsxs(J,{children:[t.jsx(f,{source:"id"}),t.jsx(f,{source:"service"}),t.jsx(f,{source:"method"}),t.jsx(l,{source:"headers",reactJsonOptions:{theme:i()}}),t.jsx(l,{source:"input",reactJsonOptions:{theme:i()}}),t.jsx(l,{source:"output",reactJsonOptions:{theme:i()}})]})}),de=()=>t.jsx(z,{children:t.jsxs(E,{children:[t.jsx(u,{source:"id",sortable:!0}),t.jsx(u,{source:"service",sortable:!0}),t.jsx(u,{source:"method",sortable:!0}),t.jsx(d,{source:"headers",sortable:!1,reactJsonOptions:{theme:i()}}),t.jsx(d,{source:"input",sortable:!1,reactJsonOptions:{theme:i()}}),t.jsx(d,{source:"output",sortable:!1,reactJsonOptions:{theme:i()}})]})}),i=()=>{const[r]=D();return r==="dark"?"monokai":"rjv-default"},le=()=>t.jsx(O,{children:t.jsxs(S,{bulkActionButtons:!1,children:[t.jsx(u,{source:"id"}),t.jsx(u,{source:"package"}),t.jsx(u,{source:"name"}),t.jsx(B,{source:"methods",sortable:!1,children:t.jsx(C,{linkType:!1,children:t.jsx(H,{source:"name"})})})]})});var x={},he=w;Object.defineProperty(x,"__esModule",{value:!0});var T=x.default=void 0,fe=he($()),pe=t;T=x.default=(0,fe.default)((0,pe.jsx)("path",{d:"M2 20h20v-4H2zm2-3h2v2H4zM2 4v4h20V4zm4 3H4V5h2zm-4 7h20v-4H2zm2-3h2v2H4z"}),"Storage");var j={},me=w;Object.defineProperty(j,"__esModule",{value:!0});var P=j.default=void 0,ye=me($()),xe=t;P=j.default=(0,ye.default)((0,xe.jsx)("path",{d:"M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm-1 6h2v2h-2zm0 4h2v6h-2z"}),"PrivacyTip");const je={...G,palette:{primary:ee,secondary:te,error:U,contrastThreshold:3,tonalOffset:.2}},ge=()=>t.jsxs(Q,{toolbar:t.jsx(W,{}),children:[t.jsx(Y,{}),t.jsx(Z,{flex:"-1",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",variant:"h6",color:"inherit",id:"react-admin-logo",children:"GripMock UI"})]}),ve=r=>t.jsx(X,{...r,appBar:ge}),be=()=>t.jsxs(V,{disableTelemetry:!0,dataProvider:oe,layout:ve,theme:je,darkTheme:K,children:[t.jsx(v,{icon:P,name:"services",list:le}),t.jsx(v,{icon:T,name:"stubs",list:ie,edit:ue,show:de,create:ce})]});y.createRoot(document.getElementById("root")).render(t.jsx(N.StrictMode,{children:t.jsx(be,{})})); diff --git a/dist/assets/index-RYBnZAM6.js b/dist/assets/index-RYBnZAM6.js deleted file mode 100644 index 923d1cb..0000000 --- a/dist/assets/index-RYBnZAM6.js +++ /dev/null @@ -1,285 +0,0 @@ -var XS=e=>{throw TypeError(e)};var _y=(e,t,r)=>t.has(e)||XS("Cannot "+r);var q=(e,t,r)=>(_y(e,t,"read from private field"),r?r.call(e):t.get(e)),at=(e,t,r)=>t.has(e)?XS("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),ze=(e,t,r,n)=>(_y(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),ct=(e,t,r)=>(_y(e,t,"access private method"),r);var lp=(e,t,r,n)=>({set _(a){ze(e,t,a,r)},get _(){return q(e,t,n)}});function fR(e,t){for(var r=0;rn[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(a){if(a.ep)return;a.ep=!0;const o=r(a);fetch(a.href,o)}})();var Rl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ho(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var pR={exports:{}},pm={},hR={exports:{}},pt={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Pf=Symbol.for("react.element"),M4=Symbol.for("react.portal"),A4=Symbol.for("react.fragment"),F4=Symbol.for("react.strict_mode"),L4=Symbol.for("react.profiler"),N4=Symbol.for("react.provider"),D4=Symbol.for("react.context"),B4=Symbol.for("react.forward_ref"),z4=Symbol.for("react.suspense"),U4=Symbol.for("react.memo"),V4=Symbol.for("react.lazy"),YS=Symbol.iterator;function W4(e){return e===null||typeof e!="object"?null:(e=YS&&e[YS]||e["@@iterator"],typeof e=="function"?e:null)}var vR={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},mR=Object.assign,gR={};function Ju(e,t,r){this.props=e,this.context=t,this.refs=gR,this.updater=r||vR}Ju.prototype.isReactComponent={};Ju.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Ju.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function yR(){}yR.prototype=Ju.prototype;function ew(e,t,r){this.props=e,this.context=t,this.refs=gR,this.updater=r||vR}var tw=ew.prototype=new yR;tw.constructor=ew;mR(tw,Ju.prototype);tw.isPureReactComponent=!0;var JS=Array.isArray,bR=Object.prototype.hasOwnProperty,rw={current:null},xR={key:!0,ref:!0,__self:!0,__source:!0};function wR(e,t,r){var n,a={},o=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)bR.call(t,n)&&!xR.hasOwnProperty(n)&&(a[n]=t[n]);var s=arguments.length-2;if(s===1)a.children=r;else if(1>>1,ie=T[ae];if(0>>1;aea(xe,G))Sea(Te,xe)?(T[ae]=Te,T[Se]=G,ae=Se):(T[ae]=xe,T[be]=G,ae=be);else if(Sea(Te,G))T[ae]=Te,T[Se]=G,ae=Se;else break e}}return V}function a(T,V){var G=T.sortIndex-V.sortIndex;return G!==0?G:T.id-V.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var u=[],l=[],c=1,d=null,p=3,v=!1,m=!1,g=!1,E=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(T){for(var V=r(l);V!==null;){if(V.callback===null)n(l);else if(V.startTime<=T)n(l),V.sortIndex=V.expirationTime,t(u,V);else break;V=r(l)}}function _(T){if(g=!1,y(T),!m)if(r(u)!==null)m=!0,U(h);else{var V=r(l);V!==null&&W(_,V.startTime-T)}}function h(T,V){m=!1,g&&(g=!1,x(O),O=-1),v=!0;var G=p;try{for(y(V),d=r(u);d!==null&&(!(d.expirationTime>V)||T&&!$());){var ae=d.callback;if(typeof ae=="function"){d.callback=null,p=d.priorityLevel;var ie=ae(d.expirationTime<=V);V=e.unstable_now(),typeof ie=="function"?d.callback=ie:d===r(u)&&n(u),y(V)}else n(u);d=r(u)}if(d!==null)var ye=!0;else{var be=r(l);be!==null&&W(_,be.startTime-V),ye=!1}return ye}finally{d=null,p=G,v=!1}}var w=!1,S=null,O=-1,C=5,P=-1;function $(){return!(e.unstable_now()-PT||125ae?(T.sortIndex=G,t(l,T),r(u)===null&&T===r(l)&&(g?(x(O),O=-1):g=!0,W(_,G-ae))):(T.sortIndex=ie,t(u,T),m||v||(m=!0,U(h))),T},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(T){var V=p;return function(){var G=p;p=V;try{return T.apply(this,arguments)}finally{p=G}}}})(CR);OR.exports=CR;var tL=OR.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var rL=f,Kn=tL;function Ce(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),H0=Object.prototype.hasOwnProperty,nL=/^[: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]*$/,eO={},tO={};function aL(e){return H0.call(tO,e)?!0:H0.call(eO,e)?!1:nL.test(e)?tO[e]=!0:(eO[e]=!0,!1)}function oL(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function iL(e,t,r,n){if(t===null||typeof t>"u"||oL(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function vn(e,t,r,n,a,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var qr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){qr[e]=new vn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];qr[t]=new vn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){qr[e]=new vn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){qr[e]=new vn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){qr[e]=new vn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){qr[e]=new vn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){qr[e]=new vn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){qr[e]=new vn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){qr[e]=new vn(e,5,!1,e.toLowerCase(),null,!1,!1)});var aw=/[\-:]([a-z])/g;function ow(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(aw,ow);qr[t]=new vn(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(aw,ow);qr[t]=new vn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(aw,ow);qr[t]=new vn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){qr[e]=new vn(e,1,!1,e.toLowerCase(),null,!1,!1)});qr.xlinkHref=new vn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){qr[e]=new vn(e,1,!1,e.toLowerCase(),null,!0,!0)});function iw(e,t,r,n){var a=qr.hasOwnProperty(t)?qr[t]:null;(a!==null?a.type!==0:n||!(2s||a[i]!==o[s]){var u=` -`+a[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=s);break}}}finally{Oy=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?ed(e):""}function sL(e){switch(e.tag){case 5:return ed(e.type);case 16:return ed("Lazy");case 13:return ed("Suspense");case 19:return ed("SuspenseList");case 0:case 2:case 15:return e=Cy(e.type,!1),e;case 11:return e=Cy(e.type.render,!1),e;case 1:return e=Cy(e.type,!0),e;default:return""}}function Q0(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Tl:return"Fragment";case jl:return"Portal";case q0:return"Profiler";case sw:return"StrictMode";case K0:return"Suspense";case G0:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case kR:return(e.displayName||"Context")+".Consumer";case $R:return(e._context.displayName||"Context")+".Provider";case lw:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case uw:return t=e.displayName||null,t!==null?t:Q0(e.type)||"Memo";case si:t=e._payload,e=e._init;try{return Q0(e(t))}catch{}}return null}function lL(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";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 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Q0(t);case 8:return t===sw?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Fi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function jR(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function uL(e){var t=jR(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(i){n=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function dp(e){e._valueTracker||(e._valueTracker=uL(e))}function TR(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=jR(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Ah(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 X0(e,t){var r=t.checked;return or({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function nO(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Fi(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function IR(e,t){t=t.checked,t!=null&&iw(e,"checked",t,!1)}function Y0(e,t){IR(e,t);var r=Fi(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?J0(e,t.type,r):t.hasOwnProperty("defaultValue")&&J0(e,t.type,Fi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function aO(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function J0(e,t,r){(t!=="number"||Ah(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var td=Array.isArray;function Xl(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=fp.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Dd(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var cd={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},cL=["Webkit","ms","Moz","O"];Object.keys(cd).forEach(function(e){cL.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),cd[t]=cd[e]})});function LR(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||cd.hasOwnProperty(e)&&cd[e]?(""+t).trim():t+"px"}function NR(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,a=LR(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,a):e[r]=a}}var dL=or({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function tb(e,t){if(t){if(dL[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Ce(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Ce(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Ce(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Ce(62))}}function rb(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 nb=null;function cw(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ab=null,Yl=null,Jl=null;function sO(e){if(e=Rf(e)){if(typeof ab!="function")throw Error(Ce(280));var t=e.stateNode;t&&(t=ym(t),ab(e.stateNode,e.type,t))}}function DR(e){Yl?Jl?Jl.push(e):Jl=[e]:Yl=e}function BR(){if(Yl){var e=Yl,t=Jl;if(Jl=Yl=null,sO(e),t)for(e=0;e>>=0,e===0?32:31-(_L(e)/EL|0)|0}var pp=64,hp=4194304;function rd(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Dh(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,a=e.suspendedLanes,o=e.pingedLanes,i=r&268435455;if(i!==0){var s=i&~a;s!==0?n=rd(s):(o&=i,o!==0&&(n=rd(o)))}else i=r&~a,i!==0?n=rd(i):o!==0&&(n=rd(o));if(n===0)return 0;if(t!==0&&t!==n&&!(t&a)&&(a=n&-n,o=t&-t,a>=o||a===16&&(o&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function $f(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ia(t),e[t]=r}function PL(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=fd),mO=" ",gO=!1;function ij(e,t){switch(e){case"keyup":return tN.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function sj(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Il=!1;function nN(e,t){switch(e){case"compositionend":return sj(t);case"keypress":return t.which!==32?null:(gO=!0,mO);case"textInput":return e=t.data,e===mO&&gO?null:e;default:return null}}function aN(e,t){if(Il)return e==="compositionend"||!yw&&ij(e,t)?(e=aj(),Qp=vw=wi=null,Il=!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)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=wO(r)}}function dj(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?dj(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function fj(){for(var e=window,t=Ah();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Ah(e.document)}return t}function bw(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 pN(e){var t=fj(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&dj(r.ownerDocument.documentElement,r)){if(n!==null&&bw(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var a=r.textContent.length,o=Math.min(n.start,a);n=n.end===void 0?o:Math.min(n.end,a),!e.extend&&o>n&&(a=n,n=o,o=a),a=_O(r,o);var i=_O(r,n);a&&i&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),o>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Ml=null,cb=null,hd=null,db=!1;function EO(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;db||Ml==null||Ml!==Ah(n)||(n=Ml,"selectionStart"in n&&bw(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),hd&&Hd(hd,n)||(hd=n,n=Uh(cb,"onSelect"),0Ll||(e.current=gb[Ll],gb[Ll]=null,Ll--)}function qt(e,t){Ll++,gb[Ll]=e.current,e.current=t}var Li={},tn=zi(Li),Pn=zi(!1),zs=Li;function Tu(e,t){var r=e.type.contextTypes;if(!r)return Li;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a={},o;for(o in r)a[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function $n(e){return e=e.childContextTypes,e!=null}function Wh(){Yt(Pn),Yt(tn)}function RO(e,t,r){if(tn.current!==Li)throw Error(Ce(168));qt(tn,t),qt(Pn,r)}function wj(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var a in n)if(!(a in t))throw Error(Ce(108,lL(e)||"Unknown",a));return or({},r,n)}function Hh(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Li,zs=tn.current,qt(tn,e),qt(Pn,Pn.current),!0}function jO(e,t,r){var n=e.stateNode;if(!n)throw Error(Ce(169));r?(e=wj(e,t,zs),n.__reactInternalMemoizedMergedChildContext=e,Yt(Pn),Yt(tn),qt(tn,e)):Yt(Pn),qt(Pn,r)}var Oo=null,bm=!1,By=!1;function _j(e){Oo===null?Oo=[e]:Oo.push(e)}function ON(e){bm=!0,_j(e)}function Ui(){if(!By&&Oo!==null){By=!0;var e=0,t=Ft;try{var r=Oo;for(Ft=1;e>=i,a-=i,ko=1<<32-Ia(t)+a|r<O?(C=S,S=null):C=S.sibling;var P=p(x,S,y[O],_);if(P===null){S===null&&(S=C);break}e&&S&&P.alternate===null&&t(x,S),b=o(P,b,O),w===null?h=P:w.sibling=P,w=P,S=C}if(O===y.length)return r(x,S),er&&ns(x,O),h;if(S===null){for(;OO?(C=S,S=null):C=S.sibling;var $=p(x,S,P.value,_);if($===null){S===null&&(S=C);break}e&&S&&$.alternate===null&&t(x,S),b=o($,b,O),w===null?h=$:w.sibling=$,w=$,S=C}if(P.done)return r(x,S),er&&ns(x,O),h;if(S===null){for(;!P.done;O++,P=y.next())P=d(x,P.value,_),P!==null&&(b=o(P,b,O),w===null?h=P:w.sibling=P,w=P);return er&&ns(x,O),h}for(S=n(x,S);!P.done;O++,P=y.next())P=v(S,x,O,P.value,_),P!==null&&(e&&P.alternate!==null&&S.delete(P.key===null?O:P.key),b=o(P,b,O),w===null?h=P:w.sibling=P,w=P);return e&&S.forEach(function(R){return t(x,R)}),er&&ns(x,O),h}function E(x,b,y,_){if(typeof y=="object"&&y!==null&&y.type===Tl&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case cp:e:{for(var h=y.key,w=b;w!==null;){if(w.key===h){if(h=y.type,h===Tl){if(w.tag===7){r(x,w.sibling),b=a(w,y.props.children),b.return=x,x=b;break e}}else if(w.elementType===h||typeof h=="object"&&h!==null&&h.$$typeof===si&&MO(h)===w.type){r(x,w.sibling),b=a(w,y.props),b.ref=Fc(x,w,y),b.return=x,x=b;break e}r(x,w);break}else t(x,w);w=w.sibling}y.type===Tl?(b=Ms(y.props.children,x.mode,_,y.key),b.return=x,x=b):(_=nh(y.type,y.key,y.props,null,x.mode,_),_.ref=Fc(x,b,y),_.return=x,x=_)}return i(x);case jl:e:{for(w=y.key;b!==null;){if(b.key===w)if(b.tag===4&&b.stateNode.containerInfo===y.containerInfo&&b.stateNode.implementation===y.implementation){r(x,b.sibling),b=a(b,y.children||[]),b.return=x,x=b;break e}else{r(x,b);break}else t(x,b);b=b.sibling}b=Gy(y,x.mode,_),b.return=x,x=b}return i(x);case si:return w=y._init,E(x,b,w(y._payload),_)}if(td(y))return m(x,b,y,_);if(jc(y))return g(x,b,y,_);wp(x,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,b!==null&&b.tag===6?(r(x,b.sibling),b=a(b,y),b.return=x,x=b):(r(x,b),b=Ky(y,x.mode,_),b.return=x,x=b),i(x)):r(x,b)}return E}var Mu=Cj(!0),Pj=Cj(!1),Gh=zi(null),Qh=null,Bl=null,Ew=null;function Sw(){Ew=Bl=Qh=null}function Ow(e){var t=Gh.current;Yt(Gh),e._currentValue=t}function xb(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function eu(e,t){Qh=e,Ew=Bl=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Cn=!0),e.firstContext=null)}function fa(e){var t=e._currentValue;if(Ew!==e)if(e={context:e,memoizedValue:t,next:null},Bl===null){if(Qh===null)throw Error(Ce(308));Bl=e,Qh.dependencies={lanes:0,firstContext:e}}else Bl=Bl.next=e;return t}var ys=null;function Cw(e){ys===null?ys=[e]:ys.push(e)}function $j(e,t,r,n){var a=t.interleaved;return a===null?(r.next=r,Cw(t)):(r.next=a.next,a.next=r),t.interleaved=r,Do(e,n)}function Do(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var li=!1;function Pw(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function kj(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Io(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ji(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,_t&2){var a=n.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),n.pending=t,Do(e,r)}return a=n.interleaved,a===null?(t.next=t,Cw(n)):(t.next=a.next,a.next=t),n.interleaved=t,Do(e,r)}function Yp(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,fw(e,r)}}function AO(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var a=null,o=null;if(r=r.firstBaseUpdate,r!==null){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};o===null?a=o=i:o=o.next=i,r=r.next}while(r!==null);o===null?a=o=t:o=o.next=t}else a=o=t;r={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Xh(e,t,r,n){var a=e.updateQueue;li=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,s=a.shared.pending;if(s!==null){a.shared.pending=null;var u=s,l=u.next;u.next=null,i===null?o=l:i.next=l,i=u;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==i&&(s===null?c.firstBaseUpdate=l:s.next=l,c.lastBaseUpdate=u))}if(o!==null){var d=a.baseState;i=0,c=l=u=null,s=o;do{var p=s.lane,v=s.eventTime;if((n&p)===p){c!==null&&(c=c.next={eventTime:v,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var m=e,g=s;switch(p=t,v=r,g.tag){case 1:if(m=g.payload,typeof m=="function"){d=m.call(v,d,p);break e}d=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=g.payload,p=typeof m=="function"?m.call(v,d,p):m,p==null)break e;d=or({},d,p);break e;case 2:li=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,p=a.effects,p===null?a.effects=[s]:p.push(s))}else v={eventTime:v,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(l=c=v,u=d):c=c.next=v,i|=p;if(s=s.next,s===null){if(s=a.shared.pending,s===null)break;p=s,s=p.next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}}while(!0);if(c===null&&(u=d),a.baseState=u,a.firstBaseUpdate=l,a.lastBaseUpdate=c,t=a.shared.interleaved,t!==null){a=t;do i|=a.lane,a=a.next;while(a!==t)}else o===null&&(a.shared.lanes=0);Ws|=i,e.lanes=i,e.memoizedState=d}}function FO(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var n=Uy.transition;Uy.transition={};try{e(!1),t()}finally{Ft=r,Uy.transition=n}}function qj(){return pa().memoizedState}function kN(e,t,r){var n=Ii(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Kj(e))Gj(t,r);else if(r=$j(e,t,r,n),r!==null){var a=pn();Ma(r,e,n,a),Qj(r,t,n)}}function RN(e,t,r){var n=Ii(e),a={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Kj(e))Gj(t,a);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,s=o(i,r);if(a.hasEagerState=!0,a.eagerState=s,Aa(s,i)){var u=t.interleaved;u===null?(a.next=a,Cw(t)):(a.next=u.next,u.next=a),t.interleaved=a;return}}catch{}finally{}r=$j(e,t,a,n),r!==null&&(a=pn(),Ma(r,e,n,a),Qj(r,t,n))}}function Kj(e){var t=e.alternate;return e===ar||t!==null&&t===ar}function Gj(e,t){vd=Jh=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Qj(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,fw(e,r)}}var Zh={readContext:fa,useCallback:Qr,useContext:Qr,useEffect:Qr,useImperativeHandle:Qr,useInsertionEffect:Qr,useLayoutEffect:Qr,useMemo:Qr,useReducer:Qr,useRef:Qr,useState:Qr,useDebugValue:Qr,useDeferredValue:Qr,useTransition:Qr,useMutableSource:Qr,useSyncExternalStore:Qr,useId:Qr,unstable_isNewReconciler:!1},jN={readContext:fa,useCallback:function(e,t){return Wa().memoizedState=[e,t===void 0?null:t],e},useContext:fa,useEffect:NO,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Zp(4194308,4,zj.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Zp(4194308,4,e,t)},useInsertionEffect:function(e,t){return Zp(4,2,e,t)},useMemo:function(e,t){var r=Wa();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Wa();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=kN.bind(null,ar,e),[n.memoizedState,e]},useRef:function(e){var t=Wa();return e={current:e},t.memoizedState=e},useState:LO,useDebugValue:Aw,useDeferredValue:function(e){return Wa().memoizedState=e},useTransition:function(){var e=LO(!1),t=e[0];return e=$N.bind(null,e[1]),Wa().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=ar,a=Wa();if(er){if(r===void 0)throw Error(Ce(407));r=r()}else{if(r=t(),Dr===null)throw Error(Ce(349));Vs&30||Ij(n,t,r)}a.memoizedState=r;var o={value:r,getSnapshot:t};return a.queue=o,NO(Aj.bind(null,n,o,e),[e]),n.flags|=2048,Zd(9,Mj.bind(null,n,o,r,t),void 0,null),r},useId:function(){var e=Wa(),t=Dr.identifierPrefix;if(er){var r=Ro,n=ko;r=(n&~(1<<32-Ia(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Yd++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),r==="select"&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[eo]=t,e[Gd]=n,oT(e,t,!1,!1),t.stateNode=e;e:{switch(i=rb(r,n),r){case"dialog":Qt("cancel",e),Qt("close",e),a=n;break;case"iframe":case"object":case"embed":Qt("load",e),a=n;break;case"video":case"audio":for(a=0;aLu&&(t.flags|=128,n=!0,Lc(o,!1),t.lanes=4194304)}else{if(!n)if(e=Yh(i),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Lc(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!er)return Xr(t),null}else 2*gr()-o.renderingStartTime>Lu&&r!==1073741824&&(t.flags|=128,n=!0,Lc(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(r=o.last,r!==null?r.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=gr(),t.sibling=null,r=nr.current,qt(nr,n?r&1|2:r&1),t):(Xr(t),null);case 22:case 23:return zw(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Bn&1073741824&&(Xr(t),t.subtreeFlags&6&&(t.flags|=8192)):Xr(t),null;case 24:return null;case 25:return null}throw Error(Ce(156,t.tag))}function DN(e,t){switch(ww(t),t.tag){case 1:return $n(t.type)&&Wh(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Au(),Yt(Pn),Yt(tn),Rw(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return kw(t),null;case 13:if(Yt(nr),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Ce(340));Iu()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Yt(nr),null;case 4:return Au(),null;case 10:return Ow(t.type._context),null;case 22:case 23:return zw(),null;case 24:return null;default:return null}}var Ep=!1,Zr=!1,BN=typeof WeakSet=="function"?WeakSet:Set,Ue=null;function zl(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){cr(e,t,n)}else r.current=null}function kb(e,t,r){try{r()}catch(n){cr(e,t,n)}}var QO=!1;function zN(e,t){if(fb=Bh,e=fj(),bw(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var a=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break e}var i=0,s=-1,u=-1,l=0,c=0,d=e,p=null;t:for(;;){for(var v;d!==r||a!==0&&d.nodeType!==3||(s=i+a),d!==o||n!==0&&d.nodeType!==3||(u=i+n),d.nodeType===3&&(i+=d.nodeValue.length),(v=d.firstChild)!==null;)p=d,d=v;for(;;){if(d===e)break t;if(p===r&&++l===a&&(s=i),p===o&&++c===n&&(u=i),(v=d.nextSibling)!==null)break;d=p,p=d.parentNode}d=v}r=s===-1||u===-1?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(pb={focusedElem:e,selectionRange:r},Bh=!1,Ue=t;Ue!==null;)if(t=Ue,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Ue=e;else for(;Ue!==null;){t=Ue;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var g=m.memoizedProps,E=m.memoizedState,x=t.stateNode,b=x.getSnapshotBeforeUpdate(t.elementType===t.type?g:Oa(t.type,g),E);x.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Ce(163))}}catch(_){cr(t,t.return,_)}if(e=t.sibling,e!==null){e.return=t.return,Ue=e;break}Ue=t.return}return m=QO,QO=!1,m}function md(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var a=n=n.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,o!==void 0&&kb(t,r,o)}a=a.next}while(a!==n)}}function _m(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Rb(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function lT(e){var t=e.alternate;t!==null&&(e.alternate=null,lT(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[eo],delete t[Gd],delete t[mb],delete t[EN],delete t[SN])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function uT(e){return e.tag===5||e.tag===3||e.tag===4}function XO(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||uT(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.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 jb(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Vh));else if(n!==4&&(e=e.child,e!==null))for(jb(e,t,r),e=e.sibling;e!==null;)jb(e,t,r),e=e.sibling}function Tb(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Tb(e,t,r),e=e.sibling;e!==null;)Tb(e,t,r),e=e.sibling}var Ur=null,Pa=!1;function ri(e,t,r){for(r=r.child;r!==null;)cT(e,t,r),r=r.sibling}function cT(e,t,r){if(oo&&typeof oo.onCommitFiberUnmount=="function")try{oo.onCommitFiberUnmount(hm,r)}catch{}switch(r.tag){case 5:Zr||zl(r,t);case 6:var n=Ur,a=Pa;Ur=null,ri(e,t,r),Ur=n,Pa=a,Ur!==null&&(Pa?(e=Ur,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Ur.removeChild(r.stateNode));break;case 18:Ur!==null&&(Pa?(e=Ur,r=r.stateNode,e.nodeType===8?Dy(e.parentNode,r):e.nodeType===1&&Dy(e,r),Vd(e)):Dy(Ur,r.stateNode));break;case 4:n=Ur,a=Pa,Ur=r.stateNode.containerInfo,Pa=!0,ri(e,t,r),Ur=n,Pa=a;break;case 0:case 11:case 14:case 15:if(!Zr&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){a=n=n.next;do{var o=a,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&kb(r,t,i),a=a.next}while(a!==n)}ri(e,t,r);break;case 1:if(!Zr&&(zl(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){cr(r,t,s)}ri(e,t,r);break;case 21:ri(e,t,r);break;case 22:r.mode&1?(Zr=(n=Zr)||r.memoizedState!==null,ri(e,t,r),Zr=n):ri(e,t,r);break;default:ri(e,t,r)}}function YO(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new BN),t.forEach(function(n){var a=XN.bind(null,e,n);r.has(n)||(r.add(n),n.then(a,a))})}}function Sa(e,t){var r=t.deletions;if(r!==null)for(var n=0;na&&(a=i),n&=~o}if(n=a,n=gr()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*VN(n/1960))-n,10e?16:e,_i===null)var n=!1;else{if(e=_i,_i=null,rv=0,_t&6)throw Error(Ce(331));var a=_t;for(_t|=4,Ue=e.current;Ue!==null;){var o=Ue,i=o.child;if(Ue.flags&16){var s=o.deletions;if(s!==null){for(var u=0;ugr()-Dw?Is(e,0):Nw|=r),kn(e,t)}function yT(e,t){t===0&&(e.mode&1?(t=hp,hp<<=1,!(hp&130023424)&&(hp=4194304)):t=1);var r=pn();e=Do(e,t),e!==null&&($f(e,t,r),kn(e,r))}function QN(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),yT(e,r)}function XN(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,a=e.memoizedState;a!==null&&(r=a.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(Ce(314))}n!==null&&n.delete(t),yT(e,r)}var bT;bT=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Pn.current)Cn=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return Cn=!1,LN(e,t,r);Cn=!!(e.flags&131072)}else Cn=!1,er&&t.flags&1048576&&Ej(t,Kh,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;eh(e,t),e=t.pendingProps;var a=Tu(t,tn.current);eu(t,r),a=Tw(null,t,n,e,a,r);var o=Iw();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,$n(n)?(o=!0,Hh(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,Pw(t),a.updater=wm,t.stateNode=a,a._reactInternals=t,_b(t,n,e,r),t=Ob(null,t,n,!0,o,r)):(t.tag=0,er&&o&&xw(t),dn(null,t,a,r),t=t.child),t;case 16:n=t.elementType;e:{switch(eh(e,t),e=t.pendingProps,a=n._init,n=a(n._payload),t.type=n,a=t.tag=JN(n),e=Oa(n,e),a){case 0:t=Sb(null,t,n,e,r);break e;case 1:t=qO(null,t,n,e,r);break e;case 11:t=WO(null,t,n,e,r);break e;case 14:t=HO(null,t,n,Oa(n.type,e),r);break e}throw Error(Ce(306,n,""))}return t;case 0:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Oa(n,a),Sb(e,t,n,a,r);case 1:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Oa(n,a),qO(e,t,n,a,r);case 3:e:{if(rT(t),e===null)throw Error(Ce(387));n=t.pendingProps,o=t.memoizedState,a=o.element,kj(e,t),Xh(t,n,null,r);var i=t.memoizedState;if(n=i.element,o.isDehydrated)if(o={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=Fu(Error(Ce(423)),t),t=KO(e,t,n,r,a);break e}else if(n!==a){a=Fu(Error(Ce(424)),t),t=KO(e,t,n,r,a);break e}else for(Wn=Ri(t.stateNode.containerInfo.firstChild),Hn=t,er=!0,ka=null,r=Pj(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Iu(),n===a){t=Bo(e,t,r);break e}dn(e,t,n,r)}t=t.child}return t;case 5:return Rj(t),e===null&&bb(t),n=t.type,a=t.pendingProps,o=e!==null?e.memoizedProps:null,i=a.children,hb(n,a)?i=null:o!==null&&hb(n,o)&&(t.flags|=32),tT(e,t),dn(e,t,i,r),t.child;case 6:return e===null&&bb(t),null;case 13:return nT(e,t,r);case 4:return $w(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Mu(t,null,n,r):dn(e,t,n,r),t.child;case 11:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Oa(n,a),WO(e,t,n,a,r);case 7:return dn(e,t,t.pendingProps,r),t.child;case 8:return dn(e,t,t.pendingProps.children,r),t.child;case 12:return dn(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,a=t.pendingProps,o=t.memoizedProps,i=a.value,qt(Gh,n._currentValue),n._currentValue=i,o!==null)if(Aa(o.value,i)){if(o.children===a.children&&!Pn.current){t=Bo(e,t,r);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){i=o.child;for(var u=s.firstContext;u!==null;){if(u.context===n){if(o.tag===1){u=Io(-1,r&-r),u.tag=2;var l=o.updateQueue;if(l!==null){l=l.shared;var c=l.pending;c===null?u.next=u:(u.next=c.next,c.next=u),l.pending=u}}o.lanes|=r,u=o.alternate,u!==null&&(u.lanes|=r),xb(o.return,r,t),s.lanes|=r;break}u=u.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(Ce(341));i.lanes|=r,s=i.alternate,s!==null&&(s.lanes|=r),xb(i,r,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}dn(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,n=t.pendingProps.children,eu(t,r),a=fa(a),n=n(a),t.flags|=1,dn(e,t,n,r),t.child;case 14:return n=t.type,a=Oa(n,t.pendingProps),a=Oa(n.type,a),HO(e,t,n,a,r);case 15:return Zj(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Oa(n,a),eh(e,t),t.tag=1,$n(n)?(e=!0,Hh(t)):e=!1,eu(t,r),Xj(t,n,a),_b(t,n,a,r),Ob(null,t,n,!0,e,r);case 19:return aT(e,t,r);case 22:return eT(e,t,r)}throw Error(Ce(156,t.tag))};function xT(e,t){return KR(e,t)}function YN(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function sa(e,t,r,n){return new YN(e,t,r,n)}function Vw(e){return e=e.prototype,!(!e||!e.isReactComponent)}function JN(e){if(typeof e=="function")return Vw(e)?1:0;if(e!=null){if(e=e.$$typeof,e===lw)return 11;if(e===uw)return 14}return 2}function Mi(e,t){var r=e.alternate;return r===null?(r=sa(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function nh(e,t,r,n,a,o){var i=2;if(n=e,typeof e=="function")Vw(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Tl:return Ms(r.children,a,o,t);case sw:i=8,a|=8;break;case q0:return e=sa(12,r,t,a|2),e.elementType=q0,e.lanes=o,e;case K0:return e=sa(13,r,t,a),e.elementType=K0,e.lanes=o,e;case G0:return e=sa(19,r,t,a),e.elementType=G0,e.lanes=o,e;case RR:return Sm(r,a,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $R:i=10;break e;case kR:i=9;break e;case lw:i=11;break e;case uw:i=14;break e;case si:i=16,n=null;break e}throw Error(Ce(130,e==null?e:typeof e,""))}return t=sa(i,r,t,a),t.elementType=e,t.type=n,t.lanes=o,t}function Ms(e,t,r,n){return e=sa(7,e,n,t),e.lanes=r,e}function Sm(e,t,r,n){return e=sa(22,e,n,t),e.elementType=RR,e.lanes=r,e.stateNode={isHidden:!1},e}function Ky(e,t,r){return e=sa(6,e,null,t),e.lanes=r,e}function Gy(e,t,r){return t=sa(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ZN(e,t,r,n,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=$y(0),this.expirationTimes=$y(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$y(0),this.identifierPrefix=n,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Ww(e,t,r,n,a,o,i,s,u){return e=new ZN(e,t,r,s,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=sa(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Pw(o),e}function eD(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ST)}catch(e){console.error(e)}}ST(),SR.exports=Qn;var Tf=SR.exports;const ad=xr(Tf),oD=fR({__proto__:null,default:ad},[Tf]);var oC=Tf;W0.createRoot=oC.createRoot,W0.hydrateRoot=oC.hydrateRoot;var Gw=f.createContext(void 0);Gw.displayName="AuthContext";var km={loginUrl:"/login",afterLoginUrl:"/"},Ko=function(){return f.useContext(Gw)},tc=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Nu=typeof window>"u"||"Deno"in globalThis;function ta(){}function iD(e,t){return typeof e=="function"?e(t):e}function Lb(e){return typeof e=="number"&&e>=0&&e!==1/0}function OT(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ru(e,t){return typeof e=="function"?e(t):e}function Ra(e,t){return typeof e=="function"?e(t):e}function iC(e,t){const{type:r="all",exact:n,fetchStatus:a,predicate:o,queryKey:i,stale:s}=e;if(i){if(n){if(t.queryHash!==Qw(i,t.options))return!1}else if(!tf(t.queryKey,i))return!1}if(r!=="all"){const u=t.isActive();if(r==="active"&&!u||r==="inactive"&&u)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||a&&a!==t.state.fetchStatus||o&&!o(t))}function sC(e,t){const{exact:r,status:n,predicate:a,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(r){if(qs(t.options.mutationKey)!==qs(o))return!1}else if(!tf(t.options.mutationKey,o))return!1}return!(n&&t.state.status!==n||a&&!a(t))}function Qw(e,t){return((t==null?void 0:t.queryKeyHashFn)||qs)(e)}function qs(e){return JSON.stringify(e,(t,r)=>Nb(r)?Object.keys(r).sort().reduce((n,a)=>(n[a]=r[a],n),{}):r)}function tf(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(r=>!tf(e[r],t[r])):!1}function CT(e,t){if(e===t)return e;const r=lC(e)&&lC(t);if(r||Nb(e)&&Nb(t)){const n=r?e:Object.keys(e),a=n.length,o=r?t:Object.keys(t),i=o.length,s=r?[]:{};let u=0;for(let l=0;l{setTimeout(t,e)})}function Db(e,t,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?CT(e,t):t}function lD(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function uD(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var PT=Symbol();function $T(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===PT?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Cs,pi,yu,rR,cD=(rR=class extends tc{constructor(){super();at(this,Cs);at(this,pi);at(this,yu);ze(this,yu,t=>{if(!Nu&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){q(this,pi)||this.setEventListener(q(this,yu))}onUnsubscribe(){var t;this.hasListeners()||((t=q(this,pi))==null||t.call(this),ze(this,pi,void 0))}setEventListener(t){var r;ze(this,yu,t),(r=q(this,pi))==null||r.call(this),ze(this,pi,t(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()}))}setFocused(t){q(this,Cs)!==t&&(ze(this,Cs,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){var t;return typeof q(this,Cs)=="boolean"?q(this,Cs):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Cs=new WeakMap,pi=new WeakMap,yu=new WeakMap,rR),Xw=new cD,bu,hi,xu,nR,dD=(nR=class extends tc{constructor(){super();at(this,bu,!0);at(this,hi);at(this,xu);ze(this,xu,t=>{if(!Nu&&window.addEventListener){const r=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",n)}}})}onSubscribe(){q(this,hi)||this.setEventListener(q(this,xu))}onUnsubscribe(){var t;this.hasListeners()||((t=q(this,hi))==null||t.call(this),ze(this,hi,void 0))}setEventListener(t){var r;ze(this,xu,t),(r=q(this,hi))==null||r.call(this),ze(this,hi,t(this.setOnline.bind(this)))}setOnline(t){q(this,bu)!==t&&(ze(this,bu,t),this.listeners.forEach(n=>{n(t)}))}isOnline(){return q(this,bu)}},bu=new WeakMap,hi=new WeakMap,xu=new WeakMap,nR),iv=new dD;function fD(e){return Math.min(1e3*2**e,3e4)}function kT(e){return(e??"online")==="online"?iv.isOnline():!0}var RT=class{constructor(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Qy(e){return e instanceof RT}function jT(e){let t=!1,r=0,n=!1,a,o,i;const s=new Promise((x,b)=>{o=x,i=b}),u=x=>{var b;n||(m(new RT(x)),(b=e.abort)==null||b.call(e))},l=()=>{t=!0},c=()=>{t=!1},d=()=>Xw.isFocused()&&(e.networkMode==="always"||iv.isOnline())&&e.canRun(),p=()=>kT(e.networkMode)&&e.canRun(),v=x=>{var b;n||(n=!0,(b=e.onSuccess)==null||b.call(e,x),a==null||a(),o(x))},m=x=>{var b;n||(n=!0,(b=e.onError)==null||b.call(e,x),a==null||a(),i(x))},g=()=>new Promise(x=>{var b;a=y=>{(n||d())&&x(y)},(b=e.onPause)==null||b.call(e)}).then(()=>{var x;a=void 0,n||(x=e.onContinue)==null||x.call(e)}),E=()=>{if(n)return;let x;const b=r===0?e.initialPromise:void 0;try{x=b??e.fn()}catch(y){x=Promise.reject(y)}Promise.resolve(x).then(v).catch(y=>{var O;if(n)return;const _=e.retry??(Nu?0:3),h=e.retryDelay??fD,w=typeof h=="function"?h(r,y):h,S=_===!0||typeof _=="number"&&r<_||typeof _=="function"&&_(r,y);if(t||!S){m(y);return}r++,(O=e.onFail)==null||O.call(e,r,y),sD(w).then(()=>d()?void 0:g()).then(()=>{t?m(y):E()})})};return{promise:s,cancel:u,continue:()=>(a==null||a(),s),cancelRetry:l,continueRetry:c,canStart:p,start:()=>(p()?E():g().then(E),s)}}function pD(){let e=[],t=0,r=p=>{p()},n=p=>{p()},a=p=>setTimeout(p,0);const o=p=>{a=p},i=p=>{let v;t++;try{v=p()}finally{t--,t||l()}return v},s=p=>{t?e.push(p):a(()=>{r(p)})},u=p=>(...v)=>{s(()=>{p(...v)})},l=()=>{const p=e;e=[],p.length&&a(()=>{n(()=>{p.forEach(v=>{r(v)})})})};return{batch:i,batchCalls:u,schedule:s,setNotifyFunction:p=>{r=p},setBatchNotifyFunction:p=>{n=p},setScheduler:o}}var yr=pD(),Ps,aR,TT=(aR=class{constructor(){at(this,Ps)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Lb(this.gcTime)&&ze(this,Ps,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Nu?1/0:5*60*1e3))}clearGcTimeout(){q(this,Ps)&&(clearTimeout(q(this,Ps)),ze(this,Ps,void 0))}},Ps=new WeakMap,aR),wu,_u,ea,Jr,Ef,$s,Ca,_o,oR,hD=(oR=class extends TT{constructor(t){super();at(this,Ca);at(this,wu);at(this,_u);at(this,ea);at(this,Jr);at(this,Ef);at(this,$s);ze(this,$s,!1),ze(this,Ef,t.defaultOptions),this.setOptions(t.options),this.observers=[],ze(this,ea,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ze(this,wu,vD(this.options)),this.state=t.state??q(this,wu),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=q(this,Jr))==null?void 0:t.promise}setOptions(t){this.options={...q(this,Ef),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&q(this,ea).remove(this)}setData(t,r){const n=Db(this.state.data,t,this.options);return ct(this,Ca,_o).call(this,{data:n,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),n}setState(t,r){ct(this,Ca,_o).call(this,{type:"setState",state:t,setStateOptions:r})}cancel(t){var n,a;const r=(n=q(this,Jr))==null?void 0:n.promise;return(a=q(this,Jr))==null||a.cancel(t),r?r.then(ta).catch(ta):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(q(this,wu))}isActive(){return this.observers.some(t=>Ra(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!OT(this.state.dataUpdatedAt,t)}onFocus(){var r;const t=this.observers.find(n=>n.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(r=q(this,Jr))==null||r.continue()}onOnline(){var r;const t=this.observers.find(n=>n.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(r=q(this,Jr))==null||r.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),q(this,ea).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(q(this,Jr)&&(q(this,$s)?q(this,Jr).cancel({revert:!0}):q(this,Jr).cancelRetry()),this.scheduleGc()),q(this,ea).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ct(this,Ca,_o).call(this,{type:"invalidate"})}fetch(t,r){var u,l,c;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(q(this,Jr))return q(this,Jr).continueRetry(),q(this,Jr).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(p=>p.options.queryFn);d&&this.setOptions(d.options)}const n=new AbortController,a=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(ze(this,$s,!0),n.signal)})},o=()=>{const d=$T(this.options,r),p={queryKey:this.queryKey,meta:this.meta};return a(p),ze(this,$s,!1),this.options.persister?this.options.persister(d,p,this):d(p)},i={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};a(i),(u=this.options.behavior)==null||u.onFetch(i,this),ze(this,_u,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((l=i.fetchOptions)==null?void 0:l.meta))&&ct(this,Ca,_o).call(this,{type:"fetch",meta:(c=i.fetchOptions)==null?void 0:c.meta});const s=d=>{var p,v,m,g;Qy(d)&&d.silent||ct(this,Ca,_o).call(this,{type:"error",error:d}),Qy(d)||((v=(p=q(this,ea).config).onError)==null||v.call(p,d,this),(g=(m=q(this,ea).config).onSettled)==null||g.call(m,this.state.data,d,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return ze(this,Jr,jT({initialPromise:r==null?void 0:r.initialPromise,fn:i.fetchFn,abort:n.abort.bind(n),onSuccess:d=>{var p,v,m,g;if(d===void 0){s(new Error(`${this.queryHash} data is undefined`));return}this.setData(d),(v=(p=q(this,ea).config).onSuccess)==null||v.call(p,d,this),(g=(m=q(this,ea).config).onSettled)==null||g.call(m,d,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:s,onFail:(d,p)=>{ct(this,Ca,_o).call(this,{type:"failed",failureCount:d,error:p})},onPause:()=>{ct(this,Ca,_o).call(this,{type:"pause"})},onContinue:()=>{ct(this,Ca,_o).call(this,{type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0})),q(this,Jr).start()}},wu=new WeakMap,_u=new WeakMap,ea=new WeakMap,Jr=new WeakMap,Ef=new WeakMap,$s=new WeakMap,Ca=new WeakSet,_o=function(t){const r=n=>{switch(t.type){case"failed":return{...n,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...IT(n.data,this.options),fetchMeta:t.meta??null};case"success":return{...n,data:t.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=t.error;return Qy(a)&&a.revert&&q(this,_u)?{...q(this,_u),fetchStatus:"idle"}:{...n,error:a,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...t.state}}};this.state=r(this.state),yr.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),q(this,ea).notify({query:this,type:"updated",action:t})})},oR);function IT(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:kT(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function vD(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,n=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var qa,iR,mD=(iR=class extends tc{constructor(t={}){super();at(this,qa);this.config=t,ze(this,qa,new Map)}build(t,r,n){const a=r.queryKey,o=r.queryHash??Qw(a,r);let i=this.get(o);return i||(i=new hD({cache:this,queryKey:a,queryHash:o,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(a)}),this.add(i)),i}add(t){q(this,qa).has(t.queryHash)||(q(this,qa).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=q(this,qa).get(t.queryHash);r&&(t.destroy(),r===t&&q(this,qa).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){yr.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return q(this,qa).get(t)}getAll(){return[...q(this,qa).values()]}find(t){const r={exact:!0,...t};return this.getAll().find(n=>iC(r,n))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(n=>iC(t,n)):r}notify(t){yr.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){yr.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){yr.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},qa=new WeakMap,iR),Ka,ln,ks,Ga,oi,sR,gD=(sR=class extends TT{constructor(t){super();at(this,Ga);at(this,Ka);at(this,ln);at(this,ks);this.mutationId=t.mutationId,ze(this,ln,t.mutationCache),ze(this,Ka,[]),this.state=t.state||MT(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){q(this,Ka).includes(t)||(q(this,Ka).push(t),this.clearGcTimeout(),q(this,ln).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ze(this,Ka,q(this,Ka).filter(r=>r!==t)),this.scheduleGc(),q(this,ln).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){q(this,Ka).length||(this.state.status==="pending"?this.scheduleGc():q(this,ln).remove(this))}continue(){var t;return((t=q(this,ks))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var a,o,i,s,u,l,c,d,p,v,m,g,E,x,b,y,_,h,w,S;ze(this,ks,jT({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(O,C)=>{ct(this,Ga,oi).call(this,{type:"failed",failureCount:O,error:C})},onPause:()=>{ct(this,Ga,oi).call(this,{type:"pause"})},onContinue:()=>{ct(this,Ga,oi).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>q(this,ln).canRun(this)}));const r=this.state.status==="pending",n=!q(this,ks).canStart();try{if(!r){ct(this,Ga,oi).call(this,{type:"pending",variables:t,isPaused:n}),await((o=(a=q(this,ln).config).onMutate)==null?void 0:o.call(a,t,this));const C=await((s=(i=this.options).onMutate)==null?void 0:s.call(i,t));C!==this.state.context&&ct(this,Ga,oi).call(this,{type:"pending",context:C,variables:t,isPaused:n})}const O=await q(this,ks).start();return await((l=(u=q(this,ln).config).onSuccess)==null?void 0:l.call(u,O,t,this.state.context,this)),await((d=(c=this.options).onSuccess)==null?void 0:d.call(c,O,t,this.state.context)),await((v=(p=q(this,ln).config).onSettled)==null?void 0:v.call(p,O,null,this.state.variables,this.state.context,this)),await((g=(m=this.options).onSettled)==null?void 0:g.call(m,O,null,t,this.state.context)),ct(this,Ga,oi).call(this,{type:"success",data:O}),O}catch(O){try{throw await((x=(E=q(this,ln).config).onError)==null?void 0:x.call(E,O,t,this.state.context,this)),await((y=(b=this.options).onError)==null?void 0:y.call(b,O,t,this.state.context)),await((h=(_=q(this,ln).config).onSettled)==null?void 0:h.call(_,void 0,O,this.state.variables,this.state.context,this)),await((S=(w=this.options).onSettled)==null?void 0:S.call(w,void 0,O,t,this.state.context)),O}finally{ct(this,Ga,oi).call(this,{type:"error",error:O})}}finally{q(this,ln).runNext(this)}}},Ka=new WeakMap,ln=new WeakMap,ks=new WeakMap,Ga=new WeakSet,oi=function(t){const r=n=>{switch(t.type){case"failed":return{...n,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...n,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=r(this.state),yr.batch(()=>{q(this,Ka).forEach(n=>{n.onMutationUpdate(t)}),q(this,ln).notify({mutation:this,type:"updated",action:t})})},sR);function MT(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Nn,Sf,lR,yD=(lR=class extends tc{constructor(t={}){super();at(this,Nn);at(this,Sf);this.config=t,ze(this,Nn,new Map),ze(this,Sf,Date.now())}build(t,r,n){const a=new gD({mutationCache:this,mutationId:++lp(this,Sf)._,options:t.defaultMutationOptions(r),state:n});return this.add(a),a}add(t){const r=Cp(t),n=q(this,Nn).get(r)??[];n.push(t),q(this,Nn).set(r,n),this.notify({type:"added",mutation:t})}remove(t){var n;const r=Cp(t);if(q(this,Nn).has(r)){const a=(n=q(this,Nn).get(r))==null?void 0:n.filter(o=>o!==t);a&&(a.length===0?q(this,Nn).delete(r):q(this,Nn).set(r,a))}this.notify({type:"removed",mutation:t})}canRun(t){var n;const r=(n=q(this,Nn).get(Cp(t)))==null?void 0:n.find(a=>a.state.status==="pending");return!r||r===t}runNext(t){var n;const r=(n=q(this,Nn).get(Cp(t)))==null?void 0:n.find(a=>a!==t&&a.state.isPaused);return(r==null?void 0:r.continue())??Promise.resolve()}clear(){yr.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...q(this,Nn).values()].flat()}find(t){const r={exact:!0,...t};return this.getAll().find(n=>sC(r,n))}findAll(t={}){return this.getAll().filter(r=>sC(t,r))}notify(t){yr.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>r.state.isPaused);return yr.batch(()=>Promise.all(t.map(r=>r.continue().catch(ta))))}},Nn=new WeakMap,Sf=new WeakMap,lR);function Cp(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function bD(e){return{onFetch:(t,r)=>{const n=async()=>{var m,g,E,x,b;const a=t.options,o=(E=(g=(m=t.fetchOptions)==null?void 0:m.meta)==null?void 0:g.fetchMore)==null?void 0:E.direction,i=((x=t.state.data)==null?void 0:x.pages)||[],s=((b=t.state.data)==null?void 0:b.pageParams)||[],u={pages:[],pageParams:[]};let l=!1;const c=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?l=!0:t.signal.addEventListener("abort",()=>{l=!0}),t.signal)})},d=$T(t.options,t.fetchOptions),p=async(y,_,h)=>{if(l)return Promise.reject();if(_==null&&y.pages.length)return Promise.resolve(y);const w={queryKey:t.queryKey,pageParam:_,direction:h?"backward":"forward",meta:t.options.meta};c(w);const S=await d(w),{maxPages:O}=t.options,C=h?uD:lD;return{pages:C(y.pages,S,O),pageParams:C(y.pageParams,_,O)}};let v;if(o&&i.length){const y=o==="backward",_=y?xD:cC,h={pages:i,pageParams:s},w=_(a,h);v=await p(h,w,y)}else{v=await p(u,s[0]??a.initialPageParam);const y=e??i.length;for(let _=1;_{var a,o;return(o=(a=t.options).persister)==null?void 0:o.call(a,n,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r)}:t.fetchFn=n}}}function cC(e,{pages:t,pageParams:r}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function xD(e,{pages:t,pageParams:r}){var n;return t.length>0?(n=e.getPreviousPageParam)==null?void 0:n.call(e,t[0],t,r[0],r):void 0}var ur,vi,mi,Eu,Su,gi,Ou,Cu,uR,wD=(uR=class{constructor(e={}){at(this,ur);at(this,vi);at(this,mi);at(this,Eu);at(this,Su);at(this,gi);at(this,Ou);at(this,Cu);ze(this,ur,e.queryCache||new mD),ze(this,vi,e.mutationCache||new yD),ze(this,mi,e.defaultOptions||{}),ze(this,Eu,new Map),ze(this,Su,new Map),ze(this,gi,0)}mount(){lp(this,gi)._++,q(this,gi)===1&&(ze(this,Ou,Xw.subscribe(async e=>{e&&(await this.resumePausedMutations(),q(this,ur).onFocus())})),ze(this,Cu,iv.subscribe(async e=>{e&&(await this.resumePausedMutations(),q(this,ur).onOnline())})))}unmount(){var e,t;lp(this,gi)._--,q(this,gi)===0&&((e=q(this,Ou))==null||e.call(this),ze(this,Ou,void 0),(t=q(this,Cu))==null||t.call(this),ze(this,Cu,void 0))}isFetching(e){return q(this,ur).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return q(this,vi).findAll({...e,status:"pending"}).length}getQueryData(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=q(this,ur).get(t.queryHash))==null?void 0:r.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const r=this.defaultQueryOptions(e),n=q(this,ur).build(this,r);return e.revalidateIfStale&&n.isStaleByTime(ru(r.staleTime,n))&&this.prefetchQuery(r),Promise.resolve(t)}}getQueriesData(e){return q(this,ur).findAll(e).map(({queryKey:t,state:r})=>{const n=r.data;return[t,n]})}setQueryData(e,t,r){const n=this.defaultQueryOptions({queryKey:e}),a=q(this,ur).get(n.queryHash),o=a==null?void 0:a.state.data,i=iD(t,o);if(i!==void 0)return q(this,ur).build(this,n).setData(i,{...r,manual:!0})}setQueriesData(e,t,r){return yr.batch(()=>q(this,ur).findAll(e).map(({queryKey:n})=>[n,this.setQueryData(n,t,r)]))}getQueryState(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=q(this,ur).get(t.queryHash))==null?void 0:r.state}removeQueries(e){const t=q(this,ur);yr.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=q(this,ur),n={type:"active",...e};return yr.batch(()=>(r.findAll(e).forEach(a=>{a.reset()}),this.refetchQueries(n,t)))}cancelQueries(e={},t={}){const r={revert:!0,...t},n=yr.batch(()=>q(this,ur).findAll(e).map(a=>a.cancel(r)));return Promise.all(n).then(ta).catch(ta)}invalidateQueries(e={},t={}){return yr.batch(()=>{if(q(this,ur).findAll(e).forEach(n=>{n.invalidate()}),e.refetchType==="none")return Promise.resolve();const r={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(r,t)})}refetchQueries(e={},t){const r={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},n=yr.batch(()=>q(this,ur).findAll(e).filter(a=>!a.isDisabled()).map(a=>{let o=a.fetch(void 0,r);return r.throwOnError||(o=o.catch(ta)),a.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(n).then(ta)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=q(this,ur).build(this,t);return r.isStaleByTime(ru(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(ta).catch(ta)}fetchInfiniteQuery(e){return e.behavior=bD(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(ta).catch(ta)}resumePausedMutations(){return iv.isOnline()?q(this,vi).resumePausedMutations():Promise.resolve()}getQueryCache(){return q(this,ur)}getMutationCache(){return q(this,vi)}getDefaultOptions(){return q(this,mi)}setDefaultOptions(e){ze(this,mi,e)}setQueryDefaults(e,t){q(this,Eu).set(qs(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...q(this,Eu).values()];let r={};return t.forEach(n=>{tf(e,n.queryKey)&&(r={...r,...n.defaultOptions})}),r}setMutationDefaults(e,t){q(this,Su).set(qs(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...q(this,Su).values()];let r={};return t.forEach(n=>{tf(e,n.mutationKey)&&(r={...r,...n.defaultOptions})}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...q(this,mi).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Qw(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===PT&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...q(this,mi).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){q(this,ur).clear(),q(this,vi).clear()}},ur=new WeakMap,vi=new WeakMap,mi=new WeakMap,Eu=new WeakMap,Su=new WeakMap,gi=new WeakMap,Ou=new WeakMap,Cu=new WeakMap,uR),_n,gt,Of,un,Rs,Pu,Qa,Cf,$u,ku,js,Ts,yi,Ru,Mt,od,Bb,zb,Ub,Vb,Wb,Hb,qb,AT,cR,_D=(cR=class extends tc{constructor(t,r){super();at(this,Mt);at(this,_n);at(this,gt);at(this,Of);at(this,un);at(this,Rs);at(this,Pu);at(this,Qa);at(this,Cf);at(this,$u);at(this,ku);at(this,js);at(this,Ts);at(this,yi);at(this,Ru,new Set);this.options=r,ze(this,_n,t),ze(this,Qa,null),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(q(this,gt).addObserver(this),dC(q(this,gt),this.options)?ct(this,Mt,od).call(this):this.updateResult(),ct(this,Mt,Vb).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Kb(q(this,gt),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Kb(q(this,gt),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,ct(this,Mt,Wb).call(this),ct(this,Mt,Hb).call(this),q(this,gt).removeObserver(this)}setOptions(t,r){const n=this.options,a=q(this,gt);if(this.options=q(this,_n).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Ra(this.options.enabled,q(this,gt))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");ct(this,Mt,qb).call(this),q(this,gt).setOptions(this.options),n._defaulted&&!ov(this.options,n)&&q(this,_n).getQueryCache().notify({type:"observerOptionsUpdated",query:q(this,gt),observer:this});const o=this.hasListeners();o&&fC(q(this,gt),a,this.options,n)&&ct(this,Mt,od).call(this),this.updateResult(r),o&&(q(this,gt)!==a||Ra(this.options.enabled,q(this,gt))!==Ra(n.enabled,q(this,gt))||ru(this.options.staleTime,q(this,gt))!==ru(n.staleTime,q(this,gt)))&&ct(this,Mt,Bb).call(this);const i=ct(this,Mt,zb).call(this);o&&(q(this,gt)!==a||Ra(this.options.enabled,q(this,gt))!==Ra(n.enabled,q(this,gt))||i!==q(this,yi))&&ct(this,Mt,Ub).call(this,i)}getOptimisticResult(t){const r=q(this,_n).getQueryCache().build(q(this,_n),t),n=this.createResult(r,t);return SD(this,n)&&(ze(this,un,n),ze(this,Pu,this.options),ze(this,Rs,q(this,gt).state)),n}getCurrentResult(){return q(this,un)}trackResult(t,r){const n={};return Object.keys(t).forEach(a=>{Object.defineProperty(n,a,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(a),r==null||r(a),t[a])})}),n}trackProp(t){q(this,Ru).add(t)}getCurrentQuery(){return q(this,gt)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const r=q(this,_n).defaultQueryOptions(t),n=q(this,_n).getQueryCache().build(q(this,_n),r);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,r))}fetch(t){return ct(this,Mt,od).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),q(this,un)))}createResult(t,r){var S;const n=q(this,gt),a=this.options,o=q(this,un),i=q(this,Rs),s=q(this,Pu),l=t!==n?t.state:q(this,Of),{state:c}=t;let d={...c},p=!1,v;if(r._optimisticResults){const O=this.hasListeners(),C=!O&&dC(t,r),P=O&&fC(t,n,r,a);(C||P)&&(d={...d,...IT(c.data,t.options)}),r._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:m,errorUpdatedAt:g,status:E}=d;if(r.select&&d.data!==void 0)if(o&&d.data===(i==null?void 0:i.data)&&r.select===q(this,Cf))v=q(this,$u);else try{ze(this,Cf,r.select),v=r.select(d.data),v=Db(o==null?void 0:o.data,v,r),ze(this,$u,v),ze(this,Qa,null)}catch(O){ze(this,Qa,O)}else v=d.data;if(r.placeholderData!==void 0&&v===void 0&&E==="pending"){let O;if(o!=null&&o.isPlaceholderData&&r.placeholderData===(s==null?void 0:s.placeholderData))O=o.data;else if(O=typeof r.placeholderData=="function"?r.placeholderData((S=q(this,ku))==null?void 0:S.state.data,q(this,ku)):r.placeholderData,r.select&&O!==void 0)try{O=r.select(O),ze(this,Qa,null)}catch(C){ze(this,Qa,C)}O!==void 0&&(E="success",v=Db(o==null?void 0:o.data,O,r),p=!0)}q(this,Qa)&&(m=q(this,Qa),v=q(this,$u),g=Date.now(),E="error");const x=d.fetchStatus==="fetching",b=E==="pending",y=E==="error",_=b&&x,h=v!==void 0;return{status:E,fetchStatus:d.fetchStatus,isPending:b,isSuccess:E==="success",isError:y,isInitialLoading:_,isLoading:_,data:v,dataUpdatedAt:d.dataUpdatedAt,error:m,errorUpdatedAt:g,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:x,isRefetching:x&&!b,isLoadingError:y&&!h,isPaused:d.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:y&&h,isStale:Yw(t,r),refetch:this.refetch}}updateResult(t){const r=q(this,un),n=this.createResult(q(this,gt),this.options);if(ze(this,Rs,q(this,gt).state),ze(this,Pu,this.options),q(this,Rs).data!==void 0&&ze(this,ku,q(this,gt)),ov(n,r))return;ze(this,un,n);const a={},o=()=>{if(!r)return!0;const{notifyOnChangeProps:i}=this.options,s=typeof i=="function"?i():i;if(s==="all"||!s&&!q(this,Ru).size)return!0;const u=new Set(s??q(this,Ru));return this.options.throwOnError&&u.add("error"),Object.keys(q(this,un)).some(l=>{const c=l;return q(this,un)[c]!==r[c]&&u.has(c)})};(t==null?void 0:t.listeners)!==!1&&o()&&(a.listeners=!0),ct(this,Mt,AT).call(this,{...a,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&ct(this,Mt,Vb).call(this)}},_n=new WeakMap,gt=new WeakMap,Of=new WeakMap,un=new WeakMap,Rs=new WeakMap,Pu=new WeakMap,Qa=new WeakMap,Cf=new WeakMap,$u=new WeakMap,ku=new WeakMap,js=new WeakMap,Ts=new WeakMap,yi=new WeakMap,Ru=new WeakMap,Mt=new WeakSet,od=function(t){ct(this,Mt,qb).call(this);let r=q(this,gt).fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(ta)),r},Bb=function(){ct(this,Mt,Wb).call(this);const t=ru(this.options.staleTime,q(this,gt));if(Nu||q(this,un).isStale||!Lb(t))return;const n=OT(q(this,un).dataUpdatedAt,t)+1;ze(this,js,setTimeout(()=>{q(this,un).isStale||this.updateResult()},n))},zb=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(q(this,gt)):this.options.refetchInterval)??!1},Ub=function(t){ct(this,Mt,Hb).call(this),ze(this,yi,t),!(Nu||Ra(this.options.enabled,q(this,gt))===!1||!Lb(q(this,yi))||q(this,yi)===0)&&ze(this,Ts,setInterval(()=>{(this.options.refetchIntervalInBackground||Xw.isFocused())&&ct(this,Mt,od).call(this)},q(this,yi)))},Vb=function(){ct(this,Mt,Bb).call(this),ct(this,Mt,Ub).call(this,ct(this,Mt,zb).call(this))},Wb=function(){q(this,js)&&(clearTimeout(q(this,js)),ze(this,js,void 0))},Hb=function(){q(this,Ts)&&(clearInterval(q(this,Ts)),ze(this,Ts,void 0))},qb=function(){const t=q(this,_n).getQueryCache().build(q(this,_n),this.options);if(t===q(this,gt))return;const r=q(this,gt);ze(this,gt,t),ze(this,Of,t.state),this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))},AT=function(t){yr.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(q(this,un))}),q(this,_n).getQueryCache().notify({query:q(this,gt),type:"observerResultsUpdated"})})},cR);function ED(e,t){return Ra(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function dC(e,t){return ED(e,t)||e.state.data!==void 0&&Kb(e,t,t.refetchOnMount)}function Kb(e,t,r){if(Ra(t.enabled,e)!==!1){const n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&Yw(e,t)}return!1}function fC(e,t,r,n){return(e!==t||Ra(n.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&Yw(e,r)}function Yw(e,t){return Ra(t.enabled,e)!==!1&&e.isStaleByTime(ru(t.staleTime,e))}function SD(e,t){return!ov(e.getCurrentResult(),t)}var bi,xi,En,Po,Fo,ah,Gb,dR,OD=(dR=class extends tc{constructor(r,n){super();at(this,Fo);at(this,bi);at(this,xi);at(this,En);at(this,Po);ze(this,bi,r),this.setOptions(n),this.bindMethods(),ct(this,Fo,ah).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(r){var a;const n=this.options;this.options=q(this,bi).defaultMutationOptions(r),ov(this.options,n)||q(this,bi).getMutationCache().notify({type:"observerOptionsUpdated",mutation:q(this,En),observer:this}),n!=null&&n.mutationKey&&this.options.mutationKey&&qs(n.mutationKey)!==qs(this.options.mutationKey)?this.reset():((a=q(this,En))==null?void 0:a.state.status)==="pending"&&q(this,En).setOptions(this.options)}onUnsubscribe(){var r;this.hasListeners()||(r=q(this,En))==null||r.removeObserver(this)}onMutationUpdate(r){ct(this,Fo,ah).call(this),ct(this,Fo,Gb).call(this,r)}getCurrentResult(){return q(this,xi)}reset(){var r;(r=q(this,En))==null||r.removeObserver(this),ze(this,En,void 0),ct(this,Fo,ah).call(this),ct(this,Fo,Gb).call(this)}mutate(r,n){var a;return ze(this,Po,n),(a=q(this,En))==null||a.removeObserver(this),ze(this,En,q(this,bi).getMutationCache().build(q(this,bi),this.options)),q(this,En).addObserver(this),q(this,En).execute(r)}},bi=new WeakMap,xi=new WeakMap,En=new WeakMap,Po=new WeakMap,Fo=new WeakSet,ah=function(){var n;const r=((n=q(this,En))==null?void 0:n.state)??MT();ze(this,xi,{...r,isPending:r.status==="pending",isSuccess:r.status==="success",isError:r.status==="error",isIdle:r.status==="idle",mutate:this.mutate,reset:this.reset})},Gb=function(r){yr.batch(()=>{var n,a,o,i,s,u,l,c;if(q(this,Po)&&this.hasListeners()){const d=q(this,xi).variables,p=q(this,xi).context;(r==null?void 0:r.type)==="success"?((a=(n=q(this,Po)).onSuccess)==null||a.call(n,r.data,d,p),(i=(o=q(this,Po)).onSettled)==null||i.call(o,r.data,null,d,p)):(r==null?void 0:r.type)==="error"&&((u=(s=q(this,Po)).onError)==null||u.call(s,r.error,d,p),(c=(l=q(this,Po)).onSettled)==null||c.call(l,void 0,r.error,d,p))}this.listeners.forEach(d=>{d(q(this,xi))})})},dR),FT=f.createContext(void 0),po=e=>{const t=f.useContext(FT);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},CD=({client:e,children:t})=>(f.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),N.jsx(FT.Provider,{value:e,children:t})),LT=f.createContext(!1),PD=()=>f.useContext(LT);LT.Provider;function $D(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var kD=f.createContext($D()),RD=()=>f.useContext(kD);function NT(e,t){return typeof e=="function"?e(...t):!!e}function jD(){}var TD=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},ID=e=>{f.useEffect(()=>{e.clearReset()},[e])},MD=({result:e,errorResetBoundary:t,throwOnError:r,query:n})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&NT(r,[e.error,n]),AD=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},FD=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,LD=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function ND(e,t,r){var l,c,d,p;const n=po(),a=PD(),o=RD(),i=n.defaultQueryOptions(e);(c=(l=n.getDefaultOptions().queries)==null?void 0:l._experimental_beforeQuery)==null||c.call(l,i),i._optimisticResults=a?"isRestoring":"optimistic",AD(i),TD(i,o),ID(o);const[s]=f.useState(()=>new t(n,i)),u=s.getOptimisticResult(i);if(f.useSyncExternalStore(f.useCallback(v=>{const m=a?()=>{}:s.subscribe(yr.batchCalls(v));return s.updateResult(),m},[s,a]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),f.useEffect(()=>{s.setOptions(i,{listeners:!1})},[i,s]),FD(i,u))throw LD(i,s,o);if(MD({result:u,errorResetBoundary:o,throwOnError:i.throwOnError,query:n.getQueryCache().get(i.queryHash)}))throw u.error;return(p=(d=n.getDefaultOptions().queries)==null?void 0:d._experimental_afterQuery)==null||p.call(d,i,u),i.notifyOnChangeProps?u:s.trackResult(u)}function rc(e,t){return ND(e,_D)}function Rm(e,t){const r=po(),[n]=f.useState(()=>new OD(r,e));f.useEffect(()=>{n.setOptions(e)},[n,e]);const a=f.useSyncExternalStore(f.useCallback(i=>n.subscribe(yr.batchCalls(i)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),o=f.useCallback((i,s)=>{n.mutate(i,s).catch(jD)},[n]);if(a.error&&NT(n.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:o,mutateAsync:a.mutate}}/** - * @remix-run/router v1.19.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function rr(){return rr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Ks(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function BD(){return Math.random().toString(36).substr(2,8)}function hC(e,t){return{usr:e.state,key:e.key,idx:t}}function rf(e,t,r,n){return r===void 0&&(r=null),rr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ho(t):t,{state:r,key:t&&t.key||n||BD()})}function Gs(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function ho(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function zD(e,t,r,n){n===void 0&&(n={});let{window:a=document.defaultView,v5Compat:o=!1}=n,i=a.history,s=mr.Pop,u=null,l=c();l==null&&(l=0,i.replaceState(rr({},i.state,{idx:l}),""));function c(){return(i.state||{idx:null}).idx}function d(){s=mr.Pop;let E=c(),x=E==null?null:E-l;l=E,u&&u({action:s,location:g.location,delta:x})}function p(E,x){s=mr.Push;let b=rf(g.location,E,x);r&&r(b,E),l=c()+1;let y=hC(b,l),_=g.createHref(b);try{i.pushState(y,"",_)}catch(h){if(h instanceof DOMException&&h.name==="DataCloneError")throw h;a.location.assign(_)}o&&u&&u({action:s,location:g.location,delta:1})}function v(E,x){s=mr.Replace;let b=rf(g.location,E,x);r&&r(b,E),l=c();let y=hC(b,l),_=g.createHref(b);i.replaceState(y,"",_),o&&u&&u({action:s,location:g.location,delta:0})}function m(E){let x=a.location.origin!=="null"?a.location.origin:a.location.href,b=typeof E=="string"?E:Gs(E);return b=b.replace(/ $/,"%20"),lt(x,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,x)}let g={get action(){return s},get location(){return e(a,i)},listen(E){if(u)throw new Error("A history only accepts one active listener");return a.addEventListener(pC,d),u=E,()=>{a.removeEventListener(pC,d),u=null}},createHref(E){return t(a,E)},createURL:m,encodeLocation(E){let x=m(E);return{pathname:x.pathname,search:x.search,hash:x.hash}},push:p,replace:v,go(E){return i.go(E)}};return g}var Ut;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ut||(Ut={}));const UD=new Set(["lazy","caseSensitive","path","id","index","children"]);function VD(e){return e.index===!0}function nf(e,t,r,n){return r===void 0&&(r=[]),n===void 0&&(n={}),e.map((a,o)=>{let i=[...r,String(o)],s=typeof a.id=="string"?a.id:i.join("-");if(lt(a.index!==!0||!a.children,"Cannot specify children on an index route"),lt(!n[s],'Found a route id collision on id "'+s+`". Route id's must be globally unique within Data Router usages`),VD(a)){let u=rr({},a,t(a),{id:s});return n[s]=u,u}else{let u=rr({},a,t(a),{id:s,children:void 0});return n[s]=u,a.children&&(u.children=nf(a.children,t,i,n)),u}})}function ds(e,t,r){return r===void 0&&(r="/"),oh(e,t,r,!1)}function oh(e,t,r,n){let a=typeof t=="string"?ho(t):t,o=Ni(a.pathname||"/",r);if(o==null)return null;let i=DT(e);HD(i);let s=null;for(let u=0;s==null&&u{let u={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};u.relativePath.startsWith("/")&&(lt(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(n.length));let l=Mo([n,u.relativePath]),c=r.concat(u);o.children&&o.children.length>0&&(lt(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+l+'".')),DT(o.children,t,c,l)),!(o.path==null&&!o.index)&&t.push({path:l,score:JD(l,o.index),routesMeta:c})};return e.forEach((o,i)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))a(o,i);else for(let u of BT(o.path))a(o,i,u)}),t}function BT(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,a=r.endsWith("?"),o=r.replace(/\?$/,"");if(n.length===0)return a?[o,""]:[o];let i=BT(n.join("/")),s=[];return s.push(...i.map(u=>u===""?o:[o,u].join("/"))),a&&s.push(...i),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function HD(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:ZD(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const qD=/^:[\w-]+$/,KD=3,GD=2,QD=1,XD=10,YD=-2,vC=e=>e==="*";function JD(e,t){let r=e.split("/"),n=r.length;return r.some(vC)&&(n+=YD),t&&(n+=GD),r.filter(a=>!vC(a)).reduce((a,o)=>a+(qD.test(o)?KD:o===""?QD:XD),n)}function ZD(e,t){return e.length===t.length&&e.slice(0,-1).every((n,a)=>n===t[a])?e[e.length-1]-t[t.length-1]:0}function e6(e,t,r){r===void 0&&(r=!1);let{routesMeta:n}=e,a={},o="/",i=[];for(let s=0;s{let{paramName:p,isOptional:v}=c;if(p==="*"){let g=s[d]||"";i=o.slice(0,o.length-g.length).replace(/(.)\/+$/,"$1")}const m=s[d];return v&&!m?l[p]=void 0:l[p]=(m||"").replace(/%2F/g,"/"),l},{}),pathname:o,pathnameBase:i,pattern:e}}function t6(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Ks(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,s,u)=>(n.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),n]}function zT(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Ks(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Ni(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function r6(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:a=""}=typeof e=="string"?ho(e):e;return{pathname:r?r.startsWith("/")?r:n6(r,t):t,search:o6(n),hash:i6(a)}}function n6(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function Xy(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function UT(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function jm(e,t){let r=UT(e);return t?r.map((n,a)=>a===r.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function Tm(e,t,r,n){n===void 0&&(n=!1);let a;typeof e=="string"?a=ho(e):(a=rr({},e),lt(!a.pathname||!a.pathname.includes("?"),Xy("?","pathname","search",a)),lt(!a.pathname||!a.pathname.includes("#"),Xy("#","pathname","hash",a)),lt(!a.search||!a.search.includes("#"),Xy("#","search","hash",a)));let o=e===""||a.pathname==="",i=o?"/":a.pathname,s;if(i==null)s=r;else{let d=t.length-1;if(!n&&i.startsWith("..")){let p=i.split("/");for(;p[0]==="..";)p.shift(),d-=1;a.pathname=p.join("/")}s=d>=0?t[d]:"/"}let u=r6(a,s),l=i&&i!=="/"&&i.endsWith("/"),c=(o||i===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(l||c)&&(u.pathname+="/"),u}const Mo=e=>e.join("/").replace(/\/\/+/g,"/"),a6=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),o6=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,i6=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class sv{constructor(t,r,n,a){a===void 0&&(a=!1),this.status=t,this.statusText=r||"",this.internal=a,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function Im(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const VT=["post","put","patch","delete"],s6=new Set(VT),l6=["get",...VT],u6=new Set(l6),c6=new Set([301,302,303,307,308]),d6=new Set([307,308]),Yy={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},f6={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ol={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Jw=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,p6=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),WT="remix-router-transitions";function h6(e){const t=e.window?e.window:typeof window<"u"?window:void 0,r=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",n=!r;lt(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let a;if(e.mapRouteProperties)a=e.mapRouteProperties;else if(e.detectErrorBoundary){let H=e.detectErrorBoundary;a=X=>({hasErrorBoundary:H(X)})}else a=p6;let o={},i=nf(e.routes,a,void 0,o),s,u=e.basename||"/",l=e.unstable_dataStrategy||b6,c=e.unstable_patchRoutesOnMiss,d=rr({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),p=null,v=new Set,m=null,g=null,E=null,x=e.hydrationData!=null,b=ds(i,e.history.location,u),y=null;if(b==null&&!c){let H=cn(404,{pathname:e.history.location.pathname}),{matches:X,route:oe}=OC(i);b=X,y={[oe.id]:H}}b&&!e.hydrationData&&Pr(b,i,e.history.location.pathname).active&&(b=null);let _;if(b)if(b.some(H=>H.route.lazy))_=!1;else if(!b.some(H=>H.route.loader))_=!0;else if(d.v7_partialHydration){let H=e.hydrationData?e.hydrationData.loaderData:null,X=e.hydrationData?e.hydrationData.errors:null,oe=ge=>ge.route.loader?typeof ge.route.loader=="function"&&ge.route.loader.hydrate===!0?!1:H&&H[ge.route.id]!==void 0||X&&X[ge.route.id]!==void 0:!0;if(X){let ge=b.findIndex(Re=>X[Re.route.id]!==void 0);_=b.slice(0,ge+1).every(oe)}else _=b.every(oe)}else _=e.hydrationData!=null;else if(_=!1,b=[],d.v7_partialHydration){let H=Pr(null,i,e.history.location.pathname);H.active&&H.matches&&(b=H.matches)}let h,w={historyAction:e.history.action,location:e.history.location,matches:b,initialized:_,navigation:Yy,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||y,fetchers:new Map,blockers:new Map},S=mr.Pop,O=!1,C,P=!1,$=new Map,R=null,F=!1,A=!1,I=[],U=new Set,W=new Map,T=0,V=-1,G=new Map,ae=new Set,ie=new Map,ye=new Map,be=new Set,xe=new Map,Se=new Map,Te=new Map,$e=!1;function _e(){if(p=e.history.listen(H=>{let{action:X,location:oe,delta:ge}=H;if($e){$e=!1;return}Ks(Se.size===0||ge!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Re=bn({currentLocation:w.location,nextLocation:oe,historyAction:X});if(Re&&ge!=null){$e=!0,e.history.go(ge*-1),Er(Re,{state:"blocked",location:oe,proceed(){Er(Re,{state:"proceeding",proceed:void 0,reset:void 0,location:oe}),e.history.go(ge)},reset(){let Fe=new Map(w.blockers);Fe.set(Re,Ol),De({blockers:Fe})}});return}return dt(X,oe)}),r){T6(t,$);let H=()=>I6(t,$);t.addEventListener("pagehide",H),R=()=>t.removeEventListener("pagehide",H)}return w.initialized||dt(mr.Pop,w.location,{initialHydration:!0}),h}function Ve(){p&&p(),R&&R(),v.clear(),C&&C.abort(),w.fetchers.forEach((H,X)=>Qe(X)),w.blockers.forEach((H,X)=>Ar(X))}function Ie(H){return v.add(H),()=>v.delete(H)}function De(H,X){X===void 0&&(X={}),w=rr({},w,H);let oe=[],ge=[];d.v7_fetcherPersist&&w.fetchers.forEach((Re,Fe)=>{Re.state==="idle"&&(be.has(Fe)?ge.push(Fe):oe.push(Fe))}),[...v].forEach(Re=>Re(w,{deletedFetchers:ge,unstable_viewTransitionOpts:X.viewTransitionOpts,unstable_flushSync:X.flushSync===!0})),d.v7_fetcherPersist&&(oe.forEach(Re=>w.fetchers.delete(Re)),ge.forEach(Re=>Qe(Re)))}function Le(H,X,oe){var ge,Re;let{flushSync:Fe}=oe===void 0?{}:oe,Ze=w.actionData!=null&&w.navigation.formMethod!=null&&$a(w.navigation.formMethod)&&w.navigation.state==="loading"&&((ge=H.state)==null?void 0:ge._isRedirect)!==!0,ke;X.actionData?Object.keys(X.actionData).length>0?ke=X.actionData:ke=null:Ze?ke=w.actionData:ke=null;let it=X.loaderData?EC(w.loaderData,X.loaderData,X.matches||[],X.errors):w.loaderData,Ke=w.blockers;Ke.size>0&&(Ke=new Map(Ke),Ke.forEach((wt,St)=>Ke.set(St,Ol)));let Ye=O===!0||w.navigation.formMethod!=null&&$a(w.navigation.formMethod)&&((Re=H.state)==null?void 0:Re._isRedirect)!==!0;s&&(i=s,s=void 0),F||S===mr.Pop||(S===mr.Push?e.history.push(H,H.state):S===mr.Replace&&e.history.replace(H,H.state));let xt;if(S===mr.Pop){let wt=$.get(w.location.pathname);wt&&wt.has(H.pathname)?xt={currentLocation:w.location,nextLocation:H}:$.has(H.pathname)&&(xt={currentLocation:H,nextLocation:w.location})}else if(P){let wt=$.get(w.location.pathname);wt?wt.add(H.pathname):(wt=new Set([H.pathname]),$.set(w.location.pathname,wt)),xt={currentLocation:w.location,nextLocation:H}}De(rr({},X,{actionData:ke,loaderData:it,historyAction:S,location:H,initialized:!0,navigation:Yy,revalidation:"idle",restoreScrollPosition:rn(H,X.matches||w.matches),preventScrollReset:Ye,blockers:Ke}),{viewTransitionOpts:xt,flushSync:Fe===!0}),S=mr.Pop,O=!1,P=!1,F=!1,A=!1,I=[]}async function We(H,X){if(typeof H=="number"){e.history.go(H);return}let oe=Xb(w.location,w.matches,u,d.v7_prependBasename,H,d.v7_relativeSplatPath,X==null?void 0:X.fromRouteId,X==null?void 0:X.relative),{path:ge,submission:Re,error:Fe}=mC(d.v7_normalizeFormMethod,!1,oe,X),Ze=w.location,ke=rf(w.location,ge,X&&X.state);ke=rr({},ke,e.history.encodeLocation(ke));let it=X&&X.replace!=null?X.replace:void 0,Ke=mr.Push;it===!0?Ke=mr.Replace:it===!1||Re!=null&&$a(Re.formMethod)&&Re.formAction===w.location.pathname+w.location.search&&(Ke=mr.Replace);let Ye=X&&"preventScrollReset"in X?X.preventScrollReset===!0:void 0,xt=(X&&X.unstable_flushSync)===!0,wt=bn({currentLocation:Ze,nextLocation:ke,historyAction:Ke});if(wt){Er(wt,{state:"blocked",location:ke,proceed(){Er(wt,{state:"proceeding",proceed:void 0,reset:void 0,location:ke}),We(H,X)},reset(){let St=new Map(w.blockers);St.set(wt,Ol),De({blockers:St})}});return}return await dt(Ke,ke,{submission:Re,pendingError:Fe,preventScrollReset:Ye,replace:X&&X.replace,enableViewTransition:X&&X.unstable_viewTransition,flushSync:xt})}function tt(){if(Q(),De({revalidation:"loading"}),w.navigation.state!=="submitting"){if(w.navigation.state==="idle"){dt(w.historyAction,w.location,{startUninterruptedRevalidation:!0});return}dt(S||w.historyAction,w.navigation.location,{overrideNavigation:w.navigation})}}async function dt(H,X,oe){C&&C.abort(),C=null,S=H,F=(oe&&oe.startUninterruptedRevalidation)===!0,Ln(w.location,w.matches),O=(oe&&oe.preventScrollReset)===!0,P=(oe&&oe.enableViewTransition)===!0;let ge=s||i,Re=oe&&oe.overrideNavigation,Fe=ds(ge,X,u),Ze=(oe&&oe.flushSync)===!0,ke=Pr(Fe,ge,X.pathname);if(ke.active&&ke.matches&&(Fe=ke.matches),!Fe){let{error:Ne,notFoundMatches:mt,route:ir}=Fr(X.pathname);Le(X,{matches:mt,loaderData:{},errors:{[ir.id]:Ne}},{flushSync:Ze});return}if(w.initialized&&!A&&O6(w.location,X)&&!(oe&&oe.submission&&$a(oe.submission.formMethod))){Le(X,{matches:Fe},{flushSync:Ze});return}C=new AbortController;let it=vl(e.history,X,C.signal,oe&&oe.submission),Ke;if(oe&&oe.pendingError)Ke=[Vl(Fe).route.id,{type:Ut.error,error:oe.pendingError}];else if(oe&&oe.submission&&$a(oe.submission.formMethod)){let Ne=await yt(it,X,oe.submission,Fe,ke.active,{replace:oe.replace,flushSync:Ze});if(Ne.shortCircuited)return;if(Ne.pendingActionResult){let[mt,ir]=Ne.pendingActionResult;if(zn(ir)&&Im(ir.error)&&ir.error.status===404){C=null,Le(X,{matches:Ne.matches,loaderData:{},errors:{[mt]:ir.error}});return}}Fe=Ne.matches||Fe,Ke=Ne.pendingActionResult,Re=Jy(X,oe.submission),Ze=!1,ke.active=!1,it=vl(e.history,it.url,it.signal)}let{shortCircuited:Ye,matches:xt,loaderData:wt,errors:St}=await z(it,X,Fe,ke.active,Re,oe&&oe.submission,oe&&oe.fetcherSubmission,oe&&oe.replace,oe&&oe.initialHydration===!0,Ze,Ke);Ye||(C=null,Le(X,rr({matches:xt||Fe},SC(Ke),{loaderData:wt,errors:St})))}async function yt(H,X,oe,ge,Re,Fe){Fe===void 0&&(Fe={}),Q();let Ze=R6(X,oe);if(De({navigation:Ze},{flushSync:Fe.flushSync===!0}),Re){let Ke=await $r(ge,X.pathname,H.signal);if(Ke.type==="aborted")return{shortCircuited:!0};if(Ke.type==="error"){let{boundaryId:Ye,error:xt}=Gt(X.pathname,Ke);return{matches:Ke.partialMatches,pendingActionResult:[Ye,{type:Ut.error,error:xt}]}}else if(Ke.matches)ge=Ke.matches;else{let{notFoundMatches:Ye,error:xt,route:wt}=Fr(X.pathname);return{matches:Ye,pendingActionResult:[wt.id,{type:Ut.error,error:xt}]}}}let ke,it=id(ge,X);if(!it.route.action&&!it.route.lazy)ke={type:Ut.error,error:cn(405,{method:H.method,pathname:X.pathname,routeId:it.route.id})};else if(ke=(await ee("action",H,[it],ge))[0],H.signal.aborted)return{shortCircuited:!0};if(ws(ke)){let Ke;return Fe&&Fe.replace!=null?Ke=Fe.replace:Ke=xC(ke.response.headers.get("Location"),new URL(H.url),u)===w.location.pathname+w.location.search,await ve(H,ke,{submission:oe,replace:Ke}),{shortCircuited:!0}}if(xs(ke))throw cn(400,{type:"defer-action"});if(zn(ke)){let Ke=Vl(ge,it.route.id);return(Fe&&Fe.replace)!==!0&&(S=mr.Push),{matches:ge,pendingActionResult:[Ke.route.id,ke]}}return{matches:ge,pendingActionResult:[it.route.id,ke]}}async function z(H,X,oe,ge,Re,Fe,Ze,ke,it,Ke,Ye){let xt=Re||Jy(X,Fe),wt=Fe||Ze||kC(xt),St=!F&&(!d.v7_partialHydration||!it);if(ge){if(St){let L=Y(Ye);De(rr({navigation:xt},L!==void 0?{actionData:L}:{}),{flushSync:Ke})}let M=await $r(oe,X.pathname,H.signal);if(M.type==="aborted")return{shortCircuited:!0};if(M.type==="error"){let{boundaryId:L,error:J}=Gt(X.pathname,M);return{matches:M.partialMatches,loaderData:{},errors:{[L]:J}}}else if(M.matches)oe=M.matches;else{let{error:L,notFoundMatches:J,route:se}=Fr(X.pathname);return{matches:J,loaderData:{},errors:{[se.id]:L}}}}let Ne=s||i,[mt,ir]=gC(e.history,w,oe,wt,X,d.v7_partialHydration&&it===!0,d.v7_skipActionErrorRevalidation,A,I,U,be,ie,ae,Ne,u,Ye);if($t(M=>!(oe&&oe.some(L=>L.route.id===M))||mt&&mt.some(L=>L.route.id===M)),V=++T,mt.length===0&&ir.length===0){let M=nt();return Le(X,rr({matches:oe,loaderData:{},errors:Ye&&zn(Ye[1])?{[Ye[0]]:Ye[1].error}:null},SC(Ye),M?{fetchers:new Map(w.fetchers)}:{}),{flushSync:Ke}),{shortCircuited:!0}}if(St){let M={};if(!ge){M.navigation=xt;let L=Y(Ye);L!==void 0&&(M.actionData=L)}ir.length>0&&(M.fetchers=te(ir)),De(M,{flushSync:Ke})}ir.forEach(M=>{W.has(M.key)&&Oe(M.key),M.controller&&W.set(M.key,M.controller)});let za=()=>ir.forEach(M=>Oe(M.key));C&&C.signal.addEventListener("abort",za);let{loaderResults:Ua,fetcherResults:Zo}=await K(w.matches,oe,mt,ir,H);if(H.signal.aborted)return{shortCircuited:!0};C&&C.signal.removeEventListener("abort",za),ir.forEach(M=>W.delete(M.key));let ei=CC([...Ua,...Zo]);if(ei){if(ei.idx>=mt.length){let M=ir[ei.idx-mt.length].key;ae.add(M)}return await ve(H,ei.result,{replace:ke}),{shortCircuited:!0}}let{loaderData:ti,errors:nn}=_C(w,oe,mt,Ua,Ye,ir,Zo,xe);xe.forEach((M,L)=>{M.subscribe(J=>{(J||M.done)&&xe.delete(L)})}),d.v7_partialHydration&&it&&w.errors&&Object.entries(w.errors).filter(M=>{let[L]=M;return!mt.some(J=>J.route.id===L)}).forEach(M=>{let[L,J]=M;nn=Object.assign(nn||{},{[L]:J})});let D=nt(),B=Et(V),j=D||B||ir.length>0;return rr({matches:oe,loaderData:ti,errors:nn},j?{fetchers:new Map(w.fetchers)}:{})}function Y(H){if(H&&!zn(H[1]))return{[H[0]]:H[1].data};if(w.actionData)return Object.keys(w.actionData).length===0?null:w.actionData}function te(H){return H.forEach(X=>{let oe=w.fetchers.get(X.key),ge=Dc(void 0,oe?oe.data:void 0);w.fetchers.set(X.key,ge)}),new Map(w.fetchers)}function ue(H,X,oe,ge){if(n)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");W.has(H)&&Oe(H);let Re=(ge&&ge.unstable_flushSync)===!0,Fe=s||i,Ze=Xb(w.location,w.matches,u,d.v7_prependBasename,oe,d.v7_relativeSplatPath,X,ge==null?void 0:ge.relative),ke=ds(Fe,Ze,u),it=Pr(ke,Fe,Ze);if(it.active&&it.matches&&(ke=it.matches),!ke){le(H,X,cn(404,{pathname:Ze}),{flushSync:Re});return}let{path:Ke,submission:Ye,error:xt}=mC(d.v7_normalizeFormMethod,!0,Ze,ge);if(xt){le(H,X,xt,{flushSync:Re});return}let wt=id(ke,Ke);if(O=(ge&&ge.preventScrollReset)===!0,Ye&&$a(Ye.formMethod)){me(H,X,Ke,wt,ke,it.active,Re,Ye);return}ie.set(H,{routeId:X,path:Ke}),he(H,X,Ke,wt,ke,it.active,Re,Ye)}async function me(H,X,oe,ge,Re,Fe,Ze,ke){Q(),ie.delete(H);function it(se){if(!se.route.action&&!se.route.lazy){let de=cn(405,{method:ke.formMethod,pathname:oe,routeId:X});return le(H,X,de,{flushSync:Ze}),!0}return!1}if(!Fe&&it(ge))return;let Ke=w.fetchers.get(H);re(H,j6(ke,Ke),{flushSync:Ze});let Ye=new AbortController,xt=vl(e.history,oe,Ye.signal,ke);if(Fe){let se=await $r(Re,oe,xt.signal);if(se.type==="aborted")return;if(se.type==="error"){let{error:de}=Gt(oe,se);le(H,X,de,{flushSync:Ze});return}else if(se.matches){if(Re=se.matches,ge=id(Re,oe),it(ge))return}else{le(H,X,cn(404,{pathname:oe}),{flushSync:Ze});return}}W.set(H,Ye);let wt=T,Ne=(await ee("action",xt,[ge],Re))[0];if(xt.signal.aborted){W.get(H)===Ye&&W.delete(H);return}if(d.v7_fetcherPersist&&be.has(H)){if(ws(Ne)||zn(Ne)){re(H,ii(void 0));return}}else{if(ws(Ne))if(W.delete(H),V>wt){re(H,ii(void 0));return}else return ae.add(H),re(H,Dc(ke)),ve(xt,Ne,{fetcherSubmission:ke});if(zn(Ne)){le(H,X,Ne.error);return}}if(xs(Ne))throw cn(400,{type:"defer-action"});let mt=w.navigation.location||w.location,ir=vl(e.history,mt,Ye.signal),za=s||i,Ua=w.navigation.state!=="idle"?ds(za,w.navigation.location,u):w.matches;lt(Ua,"Didn't find any matches after fetcher action");let Zo=++T;G.set(H,Zo);let ei=Dc(ke,Ne.data);w.fetchers.set(H,ei);let[ti,nn]=gC(e.history,w,Ua,ke,mt,!1,d.v7_skipActionErrorRevalidation,A,I,U,be,ie,ae,za,u,[ge.route.id,Ne]);nn.filter(se=>se.key!==H).forEach(se=>{let de=se.key,Z=w.fetchers.get(de),we=Dc(void 0,Z?Z.data:void 0);w.fetchers.set(de,we),W.has(de)&&Oe(de),se.controller&&W.set(de,se.controller)}),De({fetchers:new Map(w.fetchers)});let D=()=>nn.forEach(se=>Oe(se.key));Ye.signal.addEventListener("abort",D);let{loaderResults:B,fetcherResults:j}=await K(w.matches,Ua,ti,nn,ir);if(Ye.signal.aborted)return;Ye.signal.removeEventListener("abort",D),G.delete(H),W.delete(H),nn.forEach(se=>W.delete(se.key));let M=CC([...B,...j]);if(M){if(M.idx>=ti.length){let se=nn[M.idx-ti.length].key;ae.add(se)}return ve(ir,M.result)}let{loaderData:L,errors:J}=_C(w,w.matches,ti,B,void 0,nn,j,xe);if(w.fetchers.has(H)){let se=ii(Ne.data);w.fetchers.set(H,se)}Et(Zo),w.navigation.state==="loading"&&Zo>V?(lt(S,"Expected pending action"),C&&C.abort(),Le(w.navigation.location,{matches:Ua,loaderData:L,errors:J,fetchers:new Map(w.fetchers)})):(De({errors:J,loaderData:EC(w.loaderData,L,Ua,J),fetchers:new Map(w.fetchers)}),A=!1)}async function he(H,X,oe,ge,Re,Fe,Ze,ke){let it=w.fetchers.get(H);re(H,Dc(ke,it?it.data:void 0),{flushSync:Ze});let Ke=new AbortController,Ye=vl(e.history,oe,Ke.signal);if(Fe){let Ne=await $r(Re,oe,Ye.signal);if(Ne.type==="aborted")return;if(Ne.type==="error"){let{error:mt}=Gt(oe,Ne);le(H,X,mt,{flushSync:Ze});return}else if(Ne.matches)Re=Ne.matches,ge=id(Re,oe);else{le(H,X,cn(404,{pathname:oe}),{flushSync:Ze});return}}W.set(H,Ke);let xt=T,St=(await ee("loader",Ye,[ge],Re))[0];if(xs(St)&&(St=await QT(St,Ye.signal,!0)||St),W.get(H)===Ke&&W.delete(H),!Ye.signal.aborted){if(be.has(H)){re(H,ii(void 0));return}if(ws(St))if(V>xt){re(H,ii(void 0));return}else{ae.add(H),await ve(Ye,St);return}if(zn(St)){le(H,X,St.error);return}lt(!xs(St),"Unhandled fetcher deferred data"),re(H,ii(St.data))}}async function ve(H,X,oe){let{submission:ge,fetcherSubmission:Re,replace:Fe}=oe===void 0?{}:oe;X.response.headers.has("X-Remix-Revalidate")&&(A=!0);let Ze=X.response.headers.get("Location");lt(Ze,"Expected a Location header on the redirect Response"),Ze=xC(Ze,new URL(H.url),u);let ke=rf(w.location,Ze,{_isRedirect:!0});if(r){let St=!1;if(X.response.headers.has("X-Remix-Reload-Document"))St=!0;else if(Jw.test(Ze)){const Ne=e.history.createURL(Ze);St=Ne.origin!==t.location.origin||Ni(Ne.pathname,u)==null}if(St){Fe?t.location.replace(Ze):t.location.assign(Ze);return}}C=null;let it=Fe===!0||X.response.headers.has("X-Remix-Replace")?mr.Replace:mr.Push,{formMethod:Ke,formAction:Ye,formEncType:xt}=w.navigation;!ge&&!Re&&Ke&&Ye&&xt&&(ge=kC(w.navigation));let wt=ge||Re;if(d6.has(X.response.status)&&wt&&$a(wt.formMethod))await dt(it,ke,{submission:rr({},wt,{formAction:Ze}),preventScrollReset:O});else{let St=Jy(ke,ge);await dt(it,ke,{overrideNavigation:St,fetcherSubmission:Re,preventScrollReset:O})}}async function ee(H,X,oe,ge){try{let Re=await x6(l,H,X,oe,ge,o,a);return await Promise.all(Re.map((Fe,Ze)=>{if(P6(Fe)){let ke=Fe.result;return{type:Ut.redirect,response:E6(ke,X,oe[Ze].route.id,ge,u,d.v7_relativeSplatPath)}}return _6(Fe)}))}catch(Re){return oe.map(()=>({type:Ut.error,error:Re}))}}async function K(H,X,oe,ge,Re){let[Fe,...Ze]=await Promise.all([oe.length?ee("loader",Re,oe,X):[],...ge.map(ke=>{if(ke.matches&&ke.match&&ke.controller){let it=vl(e.history,ke.path,ke.controller.signal);return ee("loader",it,[ke.match],ke.matches).then(Ke=>Ke[0])}else return Promise.resolve({type:Ut.error,error:cn(404,{pathname:ke.path})})})]);return await Promise.all([$C(H,oe,Fe,Fe.map(()=>Re.signal),!1,w.loaderData),$C(H,ge.map(ke=>ke.match),Ze,ge.map(ke=>ke.controller?ke.controller.signal:null),!0)]),{loaderResults:Fe,fetcherResults:Ze}}function Q(){A=!0,I.push(...$t()),ie.forEach((H,X)=>{W.has(X)&&(U.add(X),Oe(X))})}function re(H,X,oe){oe===void 0&&(oe={}),w.fetchers.set(H,X),De({fetchers:new Map(w.fetchers)},{flushSync:(oe&&oe.flushSync)===!0})}function le(H,X,oe,ge){ge===void 0&&(ge={});let Re=Vl(w.matches,X);Qe(H),De({errors:{[Re.route.id]:oe},fetchers:new Map(w.fetchers)},{flushSync:(ge&&ge.flushSync)===!0})}function Me(H){return d.v7_fetcherPersist&&(ye.set(H,(ye.get(H)||0)+1),be.has(H)&&be.delete(H)),w.fetchers.get(H)||f6}function Qe(H){let X=w.fetchers.get(H);W.has(H)&&!(X&&X.state==="loading"&&G.has(H))&&Oe(H),ie.delete(H),G.delete(H),ae.delete(H),be.delete(H),U.delete(H),w.fetchers.delete(H)}function Be(H){if(d.v7_fetcherPersist){let X=(ye.get(H)||0)-1;X<=0?(ye.delete(H),be.add(H)):ye.set(H,X)}else Qe(H);De({fetchers:new Map(w.fetchers)})}function Oe(H){let X=W.get(H);lt(X,"Expected fetch controller: "+H),X.abort(),W.delete(H)}function Je(H){for(let X of H){let oe=Me(X),ge=ii(oe.data);w.fetchers.set(X,ge)}}function nt(){let H=[],X=!1;for(let oe of ae){let ge=w.fetchers.get(oe);lt(ge,"Expected fetcher: "+oe),ge.state==="loading"&&(ae.delete(oe),H.push(oe),X=!0)}return Je(H),X}function Et(H){let X=[];for(let[oe,ge]of G)if(ge0}function It(H,X){let oe=w.blockers.get(H)||Ol;return Se.get(H)!==X&&Se.set(H,X),oe}function Ar(H){w.blockers.delete(H),Se.delete(H)}function Er(H,X){let oe=w.blockers.get(H)||Ol;lt(oe.state==="unblocked"&&X.state==="blocked"||oe.state==="blocked"&&X.state==="blocked"||oe.state==="blocked"&&X.state==="proceeding"||oe.state==="blocked"&&X.state==="unblocked"||oe.state==="proceeding"&&X.state==="unblocked","Invalid blocker state transition: "+oe.state+" -> "+X.state);let ge=new Map(w.blockers);ge.set(H,X),De({blockers:ge})}function bn(H){let{currentLocation:X,nextLocation:oe,historyAction:ge}=H;if(Se.size===0)return;Se.size>1&&Ks(!1,"A router only supports one blocker at a time");let Re=Array.from(Se.entries()),[Fe,Ze]=Re[Re.length-1],ke=w.blockers.get(Fe);if(!(ke&&ke.state==="proceeding")&&Ze({currentLocation:X,nextLocation:oe,historyAction:ge}))return Fe}function Fr(H){let X=cn(404,{pathname:H}),oe=s||i,{matches:ge,route:Re}=OC(oe);return $t(),{notFoundMatches:ge,route:Re,error:X}}function Gt(H,X){return{boundaryId:Vl(X.partialMatches).route.id,error:cn(400,{type:"route-discovery",pathname:H,message:X.error!=null&&"message"in X.error?X.error:String(X.error)})}}function $t(H){let X=[];return xe.forEach((oe,ge)=>{(!H||H(ge))&&(oe.cancel(),X.push(ge),xe.delete(ge))}),X}function pr(H,X,oe){if(m=H,E=X,g=oe||null,!x&&w.navigation===Yy){x=!0;let ge=rn(w.location,w.matches);ge!=null&&De({restoreScrollPosition:ge})}return()=>{m=null,E=null,g=null}}function hr(H,X){return g&&g(H,X.map(ge=>WD(ge,w.loaderData)))||H.key}function Ln(H,X){if(m&&E){let oe=hr(H,X);m[oe]=E()}}function rn(H,X){if(m){let oe=hr(H,X),ge=m[oe];if(typeof ge=="number")return ge}return null}function Pr(H,X,oe){if(c)if(H){let ge=H[H.length-1].route;if(ge.path&&(ge.path==="*"||ge.path.endsWith("/*")))return{active:!0,matches:oh(X,oe,u,!0)}}else return{active:!0,matches:oh(X,oe,u,!0)||[]};return{active:!1,matches:null}}async function $r(H,X,oe){let ge=H,Re=ge.length>0?ge[ge.length-1].route:null;for(;;){let Fe=s==null,Ze=s||i;try{await y6(c,X,ge,Ze,o,a,Te,oe)}catch(Ye){return{type:"error",error:Ye,partialMatches:ge}}finally{Fe&&(i=[...i])}if(oe.aborted)return{type:"aborted"};let ke=ds(Ze,X,u),it=!1;if(ke){let Ye=ke[ke.length-1].route;if(Ye.index)return{type:"success",matches:ke};if(Ye.path&&Ye.path.length>0)if(Ye.path==="*")it=!0;else return{type:"success",matches:ke}}let Ke=oh(Ze,X,u,!0);if(!Ke||ge.map(Ye=>Ye.route.id).join("-")===Ke.map(Ye=>Ye.route.id).join("-"))return{type:"success",matches:it?ke:null};if(ge=Ke,Re=ge[ge.length-1].route,Re.path==="*")return{type:"success",matches:ge}}}function go(H){o={},s=nf(H,a,void 0,o)}function Jn(H,X){let oe=s==null;qT(H,X,s||i,o,a),oe&&(i=[...i],De({}))}return h={get basename(){return u},get future(){return d},get state(){return w},get routes(){return i},get window(){return t},initialize:_e,subscribe:Ie,enableScrollRestoration:pr,navigate:We,fetch:ue,revalidate:tt,createHref:H=>e.history.createHref(H),encodeLocation:H=>e.history.encodeLocation(H),getFetcher:Me,deleteFetcher:Be,dispose:Ve,getBlocker:It,deleteBlocker:Ar,patchRoutes:Jn,_internalFetchControllers:W,_internalActiveDeferreds:xe,_internalSetRoutes:go},h}function v6(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Xb(e,t,r,n,a,o,i,s){let u,l;if(i){u=[];for(let d of t)if(u.push(d),d.route.id===i){l=d;break}}else u=t,l=t[t.length-1];let c=Tm(a||".",jm(u,o),Ni(e.pathname,r)||e.pathname,s==="path");return a==null&&(c.search=e.search,c.hash=e.hash),(a==null||a===""||a===".")&&l&&l.route.index&&!Zw(c.search)&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),n&&r!=="/"&&(c.pathname=c.pathname==="/"?r:Mo([r,c.pathname])),Gs(c)}function mC(e,t,r,n){if(!n||!v6(n))return{path:r};if(n.formMethod&&!k6(n.formMethod))return{path:r,error:cn(405,{method:n.formMethod})};let a=()=>({path:r,error:cn(400,{type:"invalid-body"})}),o=n.formMethod||"get",i=e?o.toUpperCase():o.toLowerCase(),s=KT(r);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!$a(i))return a();let p=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((v,m)=>{let[g,E]=m;return""+v+g+"="+E+` -`},""):String(n.body);return{path:r,submission:{formMethod:i,formAction:s,formEncType:n.formEncType,formData:void 0,json:void 0,text:p}}}else if(n.formEncType==="application/json"){if(!$a(i))return a();try{let p=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:i,formAction:s,formEncType:n.formEncType,formData:void 0,json:p,text:void 0}}}catch{return a()}}}lt(typeof FormData=="function","FormData is not available in this environment");let u,l;if(n.formData)u=Yb(n.formData),l=n.formData;else if(n.body instanceof FormData)u=Yb(n.body),l=n.body;else if(n.body instanceof URLSearchParams)u=n.body,l=wC(u);else if(n.body==null)u=new URLSearchParams,l=new FormData;else try{u=new URLSearchParams(n.body),l=wC(u)}catch{return a()}let c={formMethod:i,formAction:s,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:l,json:void 0,text:void 0};if($a(c.formMethod))return{path:r,submission:c};let d=ho(r);return t&&d.search&&Zw(d.search)&&u.append("index",""),d.search="?"+u,{path:Gs(d),submission:c}}function m6(e,t){let r=e;if(t){let n=e.findIndex(a=>a.route.id===t);n>=0&&(r=e.slice(0,n))}return r}function gC(e,t,r,n,a,o,i,s,u,l,c,d,p,v,m,g){let E=g?zn(g[1])?g[1].error:g[1].data:void 0,x=e.createURL(t.location),b=e.createURL(a),y=g&&zn(g[1])?g[0]:void 0,_=y?m6(r,y):r,h=g?g[1].statusCode:void 0,w=i&&h&&h>=400,S=_.filter((C,P)=>{let{route:$}=C;if($.lazy)return!0;if($.loader==null)return!1;if(o)return typeof $.loader!="function"||$.loader.hydrate?!0:t.loaderData[$.id]===void 0&&(!t.errors||t.errors[$.id]===void 0);if(g6(t.loaderData,t.matches[P],C)||u.some(A=>A===C.route.id))return!0;let R=t.matches[P],F=C;return yC(C,rr({currentUrl:x,currentParams:R.params,nextUrl:b,nextParams:F.params},n,{actionResult:E,actionStatus:h,defaultShouldRevalidate:w?!1:s||x.pathname+x.search===b.pathname+b.search||x.search!==b.search||HT(R,F)}))}),O=[];return d.forEach((C,P)=>{if(o||!r.some(I=>I.route.id===C.routeId)||c.has(P))return;let $=ds(v,C.path,m);if(!$){O.push({key:P,routeId:C.routeId,path:C.path,matches:null,match:null,controller:null});return}let R=t.fetchers.get(P),F=id($,C.path),A=!1;p.has(P)?A=!1:l.has(P)?(l.delete(P),A=!0):R&&R.state!=="idle"&&R.data===void 0?A=s:A=yC(F,rr({currentUrl:x,currentParams:t.matches[t.matches.length-1].params,nextUrl:b,nextParams:r[r.length-1].params},n,{actionResult:E,actionStatus:h,defaultShouldRevalidate:w?!1:s})),A&&O.push({key:P,routeId:C.routeId,path:C.path,matches:$,match:F,controller:new AbortController})}),[S,O]}function g6(e,t,r){let n=!t||r.route.id!==t.route.id,a=e[r.route.id]===void 0;return n||a}function HT(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function yC(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}async function y6(e,t,r,n,a,o,i,s){let u=[t,...r.map(l=>l.route.id)].join("-");try{let l=i.get(u);l||(l=e({path:t,matches:r,patch:(c,d)=>{s.aborted||qT(c,d,n,a,o)}}),i.set(u,l)),l&&C6(l)&&await l}finally{i.delete(u)}}function qT(e,t,r,n,a){if(e){var o;let i=n[e];lt(i,"No route found to patch children into: routeId = "+e);let s=nf(t,a,[e,"patch",String(((o=i.children)==null?void 0:o.length)||"0")],n);i.children?i.children.push(...s):i.children=s}else{let i=nf(t,a,["patch",String(r.length||"0")],n);r.push(...i)}}async function bC(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let a=r[e.id];lt(a,"No route found in manifest");let o={};for(let i in n){let u=a[i]!==void 0&&i!=="hasErrorBoundary";Ks(!u,'Route "'+a.id+'" has a static property "'+i+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+i+'" will be ignored.')),!u&&!UD.has(i)&&(o[i]=n[i])}Object.assign(a,o),Object.assign(a,rr({},t(a),{lazy:void 0}))}function b6(e){return Promise.all(e.matches.map(t=>t.resolve()))}async function x6(e,t,r,n,a,o,i,s){let u=n.reduce((d,p)=>d.add(p.route.id),new Set),l=new Set,c=await e({matches:a.map(d=>{let p=u.has(d.route.id);return rr({},d,{shouldLoad:p,resolve:m=>(l.add(d.route.id),p?w6(t,r,d,o,i,m,s):Promise.resolve({type:Ut.data,result:void 0}))})}),request:r,params:a[0].params,context:s});return a.forEach(d=>lt(l.has(d.route.id),'`match.resolve()` was not called for route id "'+d.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),c.filter((d,p)=>u.has(a[p].route.id))}async function w6(e,t,r,n,a,o,i){let s,u,l=c=>{let d,p=new Promise((g,E)=>d=E);u=()=>d(),t.signal.addEventListener("abort",u);let v=g=>typeof c!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+r.route.id+"]"))):c({request:t,params:r.params,context:i},...g!==void 0?[g]:[]),m;return o?m=o(g=>v(g)):m=(async()=>{try{return{type:"data",result:await v()}}catch(g){return{type:"error",result:g}}})(),Promise.race([m,p])};try{let c=r.route[e];if(r.route.lazy)if(c){let d,[p]=await Promise.all([l(c).catch(v=>{d=v}),bC(r.route,a,n)]);if(d!==void 0)throw d;s=p}else if(await bC(r.route,a,n),c=r.route[e],c)s=await l(c);else if(e==="action"){let d=new URL(t.url),p=d.pathname+d.search;throw cn(405,{method:t.method,pathname:p,routeId:r.route.id})}else return{type:Ut.data,result:void 0};else if(c)s=await l(c);else{let d=new URL(t.url),p=d.pathname+d.search;throw cn(404,{pathname:p})}lt(s.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(c){return{type:Ut.error,result:c}}finally{u&&t.signal.removeEventListener("abort",u)}return s}async function _6(e){let{result:t,type:r}=e;if(GT(t)){let l;try{let c=t.headers.get("Content-Type");c&&/\bapplication\/json\b/.test(c)?t.body==null?l=null:l=await t.json():l=await t.text()}catch(c){return{type:Ut.error,error:c}}return r===Ut.error?{type:Ut.error,error:new sv(t.status,t.statusText,l),statusCode:t.status,headers:t.headers}:{type:Ut.data,data:l,statusCode:t.status,headers:t.headers}}if(r===Ut.error){if(PC(t)){var n;if(t.data instanceof Error){var a;return{type:Ut.error,error:t.data,statusCode:(a=t.init)==null?void 0:a.status}}t=new sv(((n=t.init)==null?void 0:n.status)||500,void 0,t.data)}return{type:Ut.error,error:t,statusCode:Im(t)?t.status:void 0}}if($6(t)){var o,i;return{type:Ut.deferred,deferredData:t,statusCode:(o=t.init)==null?void 0:o.status,headers:((i=t.init)==null?void 0:i.headers)&&new Headers(t.init.headers)}}if(PC(t)){var s,u;return{type:Ut.data,data:t.data,statusCode:(s=t.init)==null?void 0:s.status,headers:(u=t.init)!=null&&u.headers?new Headers(t.init.headers):void 0}}return{type:Ut.data,data:t}}function E6(e,t,r,n,a,o){let i=e.headers.get("Location");if(lt(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!Jw.test(i)){let s=n.slice(0,n.findIndex(u=>u.route.id===r)+1);i=Xb(new URL(t.url),s,a,!0,i,o),e.headers.set("Location",i)}return e}function xC(e,t,r){if(Jw.test(e)){let n=e,a=n.startsWith("//")?new URL(t.protocol+n):new URL(n),o=Ni(a.pathname,r)!=null;if(a.origin===t.origin&&o)return a.pathname+a.search+a.hash}return e}function vl(e,t,r,n){let a=e.createURL(KT(t)).toString(),o={signal:r};if(n&&$a(n.formMethod)){let{formMethod:i,formEncType:s}=n;o.method=i.toUpperCase(),s==="application/json"?(o.headers=new Headers({"Content-Type":s}),o.body=JSON.stringify(n.json)):s==="text/plain"?o.body=n.text:s==="application/x-www-form-urlencoded"&&n.formData?o.body=Yb(n.formData):o.body=n.formData}return new Request(a,o)}function Yb(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,typeof n=="string"?n:n.name);return t}function wC(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function S6(e,t,r,n,a,o){let i={},s=null,u,l=!1,c={},d=n&&zn(n[1])?n[1].error:void 0;return r.forEach((p,v)=>{let m=t[v].route.id;if(lt(!ws(p),"Cannot handle redirect results in processLoaderData"),zn(p)){let g=p.error;d!==void 0&&(g=d,d=void 0),s=s||{};{let E=Vl(e,m);s[E.route.id]==null&&(s[E.route.id]=g)}i[m]=void 0,l||(l=!0,u=Im(p.error)?p.error.status:500),p.headers&&(c[m]=p.headers)}else xs(p)?(a.set(m,p.deferredData),i[m]=p.deferredData.data,p.statusCode!=null&&p.statusCode!==200&&!l&&(u=p.statusCode),p.headers&&(c[m]=p.headers)):(i[m]=p.data,p.statusCode&&p.statusCode!==200&&!l&&(u=p.statusCode),p.headers&&(c[m]=p.headers))}),d!==void 0&&n&&(s={[n[0]]:d},i[n[0]]=void 0),{loaderData:i,errors:s,statusCode:u||200,loaderHeaders:c}}function _C(e,t,r,n,a,o,i,s){let{loaderData:u,errors:l}=S6(t,r,n,a,s);for(let c=0;cn.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function OC(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function cn(e,t){let{pathname:r,routeId:n,method:a,type:o,message:i}=t===void 0?{}:t,s="Unknown Server Error",u="Unknown @remix-run/router error";return e===400?(s="Bad Request",o==="route-discovery"?u='Unable to match URL "'+r+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error: -`+i):a&&r&&n?u="You made a "+a+' request to "'+r+'" but '+('did not provide a `loader` for route "'+n+'", ')+"so there is no way to handle the request.":o==="defer-action"?u="defer() is not supported in actions":o==="invalid-body"&&(u="Unable to encode submission body")):e===403?(s="Forbidden",u='Route "'+n+'" does not match URL "'+r+'"'):e===404?(s="Not Found",u='No route matches URL "'+r+'"'):e===405&&(s="Method Not Allowed",a&&r&&n?u="You made a "+a.toUpperCase()+' request to "'+r+'" but '+('did not provide an `action` for route "'+n+'", ')+"so there is no way to handle the request.":a&&(u='Invalid request method "'+a.toUpperCase()+'"')),new sv(e||500,s,new Error(u),!0)}function CC(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(ws(r))return{result:r,idx:t}}}function KT(e){let t=typeof e=="string"?ho(e):e;return Gs(rr({},t,{hash:""}))}function O6(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function C6(e){return typeof e=="object"&&e!=null&&"then"in e}function P6(e){return GT(e.result)&&c6.has(e.result.status)}function xs(e){return e.type===Ut.deferred}function zn(e){return e.type===Ut.error}function ws(e){return(e&&e.type)===Ut.redirect}function PC(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function $6(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function GT(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function k6(e){return u6.has(e.toLowerCase())}function $a(e){return s6.has(e.toLowerCase())}async function $C(e,t,r,n,a,o){for(let i=0;id.route.id===u.route.id),c=l!=null&&!HT(l,u)&&(o&&o[u.route.id])!==void 0;if(xs(s)&&(a||c)){let d=n[i];lt(d,"Expected an AbortSignal for revalidating fetcher deferred result"),await QT(s,d,a).then(p=>{p&&(r[i]=p||r[i])})}}}async function QT(e,t,r){if(r===void 0&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:Ut.data,data:e.deferredData.unwrappedData}}catch(a){return{type:Ut.error,error:a}}return{type:Ut.data,data:e.deferredData.data}}}function Zw(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function id(e,t){let r=typeof t=="string"?ho(t).search:t.search;if(e[e.length-1].route.index&&Zw(r||""))return e[e.length-1];let n=UT(e);return n[n.length-1]}function kC(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:o,json:i}=e;if(!(!t||!r||!n)){if(a!=null)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a};if(o!=null)return{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0};if(i!==void 0)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:i,text:void 0}}}function Jy(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function R6(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Dc(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function j6(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function ii(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function T6(e,t){try{let r=e.sessionStorage.getItem(WT);if(r){let n=JSON.parse(r);for(let[a,o]of Object.entries(n||{}))o&&Array.isArray(o)&&t.set(a,new Set(o||[]))}}catch{}}function I6(e,t){if(t.size>0){let r={};for(let[n,a]of t)r[n]=[...a];try{e.sessionStorage.setItem(WT,JSON.stringify(r))}catch(n){Ks(!1,"Failed to save applied view transitions in sessionStorage ("+n+").")}}}/** - * React Router v6.26.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Qs(){return Qs=Object.assign?Object.assign.bind():function(e){for(var t=1;tQb(e,zT(t)),[t,e])}function YT(e){f.useContext(Vi).static||f.useLayoutEffect(e)}function vo(){let{isDataRoute:e}=f.useContext(Go);return e?K6():F6()}function F6(){Wi()||lt(!1);let e=f.useContext(If),{basename:t,future:r,navigator:n}=f.useContext(Vi),{matches:a}=f.useContext(Go),{pathname:o}=mn(),i=JSON.stringify(jm(a,r.v7_relativeSplatPath)),s=f.useRef(!1);return YT(()=>{s.current=!0}),f.useCallback(function(l,c){if(c===void 0&&(c={}),!s.current)return;if(typeof l=="number"){n.go(l);return}let d=Tm(l,JSON.parse(i),o,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Mo([t,d.pathname])),(c.replace?n.replace:n.push)(d,c.state,c)},[t,n,i,o,e])}function JT(){let{matches:e}=f.useContext(Go),t=e[e.length-1];return t?t.params:{}}function ZT(e,t){let{relative:r}=t===void 0?{}:t,{future:n}=f.useContext(Vi),{matches:a}=f.useContext(Go),{pathname:o}=mn(),i=JSON.stringify(jm(a,n.v7_relativeSplatPath));return f.useMemo(()=>Tm(e,JSON.parse(i),o,r==="path"),[e,i,o,r])}function L6(e,t){return eI(e,t)}function eI(e,t,r,n){Wi()||lt(!1);let{navigator:a}=f.useContext(Vi),{matches:o}=f.useContext(Go),i=o[o.length-1],s=i?i.params:{};i&&i.pathname;let u=i?i.pathnameBase:"/";i&&i.route;let l=mn(),c;if(t){var d;let E=typeof t=="string"?ho(t):t;u==="/"||(d=E.pathname)!=null&&d.startsWith(u)||lt(!1),c=E}else c=l;let p=c.pathname||"/",v=p;if(u!=="/"){let E=u.replace(/^\//,"").split("/");v="/"+p.replace(/^\//,"").split("/").slice(E.length).join("/")}let m=ds(e,{pathname:v}),g=U6(m&&m.map(E=>Object.assign({},E,{params:Object.assign({},s,E.params),pathname:Mo([u,a.encodeLocation?a.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?u:Mo([u,a.encodeLocation?a.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),o,r,n);return t&&g?f.createElement(Mm.Provider,{value:{location:Qs({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:mr.Pop}},g):g}function N6(){let e=W6(),t=Im(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return f.createElement(f.Fragment,null,f.createElement("h2",null,"Unexpected Application Error!"),f.createElement("h3",{style:{fontStyle:"italic"}},t),r?f.createElement("pre",{style:a},r):null,null)}const D6=f.createElement(N6,null);class B6 extends f.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?f.createElement(Go.Provider,{value:this.props.routeContext},f.createElement(XT.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function z6(e){let{routeContext:t,match:r,children:n}=e,a=f.useContext(If);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),f.createElement(Go.Provider,{value:t},n)}function U6(e,t,r,n){var a;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var o;if(!r)return null;if(r.errors)e=r.matches;else if((o=n)!=null&&o.v7_partialHydration&&t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,s=(a=r)==null?void 0:a.errors;if(s!=null){let c=i.findIndex(d=>d.route.id&&(s==null?void 0:s[d.route.id])!==void 0);c>=0||lt(!1),i=i.slice(0,Math.min(i.length,c+1))}let u=!1,l=-1;if(r&&n&&n.v7_partialHydration)for(let c=0;c=0?i=i.slice(0,l+1):i=[i[0]];break}}}return i.reduceRight((c,d,p)=>{let v,m=!1,g=null,E=null;r&&(v=s&&d.route.id?s[d.route.id]:void 0,g=d.route.errorElement||D6,u&&(l<0&&p===0?(m=!0,E=null):l===p&&(m=!0,E=d.route.hydrateFallbackElement||null)));let x=t.concat(i.slice(0,p+1)),b=()=>{let y;return v?y=g:m?y=E:d.route.Component?y=f.createElement(d.route.Component,null):d.route.element?y=d.route.element:y=c,f.createElement(z6,{match:d,routeContext:{outlet:c,matches:x,isDataRoute:r!=null},children:y})};return r&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?f.createElement(B6,{location:r.location,revalidation:r.revalidation,component:g,error:v,children:b(),routeContext:{outlet:null,matches:x,isDataRoute:!0}}):b()},null)}var t_=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(t_||{}),af=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(af||{});function tI(e){let t=f.useContext(If);return t||lt(!1),t}function rI(e){let t=f.useContext(e_);return t||lt(!1),t}function V6(e){let t=f.useContext(Go);return t||lt(!1),t}function nI(e){let t=V6(),r=t.matches[t.matches.length-1];return r.route.id||lt(!1),r.route.id}function W6(){var e;let t=f.useContext(XT),r=rI(af.UseRouteError),n=nI(af.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}let H6=0;function q6(e){let{router:t,basename:r}=tI(t_.UseBlocker),n=rI(af.UseBlocker),[a,o]=f.useState(""),i=f.useCallback(s=>{if(typeof e!="function")return!!e;if(r==="/")return e(s);let{currentLocation:u,nextLocation:l,historyAction:c}=s;return e({currentLocation:Qs({},u,{pathname:Ni(u.pathname,r)||u.pathname}),nextLocation:Qs({},l,{pathname:Ni(l.pathname,r)||l.pathname}),historyAction:c})},[r,e]);return f.useEffect(()=>{let s=String(++H6);return o(s),()=>t.deleteBlocker(s)},[t]),f.useEffect(()=>{a!==""&&t.getBlocker(a,i)},[t,a,i]),a&&n.blockers.has(a)?n.blockers.get(a):Ol}function K6(){let{router:e}=tI(t_.UseNavigateStable),t=nI(af.UseNavigateStable),r=f.useRef(!1);return YT(()=>{r.current=!0}),f.useCallback(function(a,o){o===void 0&&(o={}),r.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,Qs({fromRouteId:t},o)))},[e,t])}function G6(e){let{to:t,replace:r,state:n,relative:a}=e;Wi()||lt(!1);let{future:o,static:i}=f.useContext(Vi),{matches:s}=f.useContext(Go),{pathname:u}=mn(),l=vo(),c=Tm(t,jm(s,o.v7_relativeSplatPath),u,a==="path"),d=JSON.stringify(c);return f.useEffect(()=>l(JSON.parse(d),{replace:r,state:n,relative:a}),[l,d,a,r,n]),null}function On(e){lt(!1)}function Q6(e){let{basename:t="/",children:r=null,location:n,navigationType:a=mr.Pop,navigator:o,static:i=!1,future:s}=e;Wi()&<(!1);let u=t.replace(/^\/*/,"/"),l=f.useMemo(()=>({basename:u,navigator:o,static:i,future:Qs({v7_relativeSplatPath:!1},s)}),[u,s,o,i]);typeof n=="string"&&(n=ho(n));let{pathname:c="/",search:d="",hash:p="",state:v=null,key:m="default"}=n,g=f.useMemo(()=>{let E=Ni(c,u);return E==null?null:{location:{pathname:E,search:d,hash:p,state:v,key:m},navigationType:a}},[u,c,d,p,v,m,a]);return g==null?null:f.createElement(Vi.Provider,{value:l},f.createElement(Mm.Provider,{children:r,value:g}))}function Wl(e){let{children:t,location:r}=e;return L6(Jb(t),r)}new Promise(()=>{});function Jb(e,t){t===void 0&&(t=[]);let r=[];return f.Children.forEach(e,(n,a)=>{if(!f.isValidElement(n))return;let o=[...t,a];if(n.type===f.Fragment){r.push.apply(r,Jb(n.props.children,o));return}n.type!==On&<(!1),!n.props.index||!n.props.children||lt(!1);let i={id:n.props.id||o.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(i.children=Jb(n.props.children,o)),r.push(i)}),r}function X6(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:f.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:f.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:f.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** - * React Router DOM v6.26.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function of(){return of=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}function J6(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Z6(e,t){return e.button===0&&(!t||t==="_self")&&!J6(e)}const eB=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],tB="6";try{window.__reactRouterVersion=tB}catch{}function rB(e,t){return h6({basename:t==null?void 0:t.basename,future:of({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:DD({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||nB(),routes:e,mapRouteProperties:X6,unstable_dataStrategy:t==null?void 0:t.unstable_dataStrategy,unstable_patchRoutesOnMiss:t==null?void 0:t.unstable_patchRoutesOnMiss,window:t==null?void 0:t.window}).initialize()}function nB(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=of({},t,{errors:aB(t.errors)})),t}function aB(e){if(!e)return null;let t=Object.entries(e),r={};for(let[n,a]of t)if(a&&a.__type==="RouteErrorResponse")r[n]=new sv(a.status,a.statusText,a.data,a.internal===!0);else if(a&&a.__type==="Error"){if(a.__subType){let o=window[a.__subType];if(typeof o=="function")try{let i=new o(a.message);i.stack="",r[n]=i}catch{}}if(r[n]==null){let o=new Error(a.message);o.stack="",r[n]=o}}else r[n]=a;return r}const oB=f.createContext({isTransitioning:!1}),iB=f.createContext(new Map),sB="startTransition",RC=Mh[sB],lB="flushSync",jC=oD[lB];function uB(e){RC?RC(e):e()}function Bc(e){jC?jC(e):e()}class cB{constructor(){this.status="pending",this.promise=new Promise((t,r)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",t(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",r(n))}})}}function dB(e){let{fallbackElement:t,router:r,future:n}=e,[a,o]=f.useState(r.state),[i,s]=f.useState(),[u,l]=f.useState({isTransitioning:!1}),[c,d]=f.useState(),[p,v]=f.useState(),[m,g]=f.useState(),E=f.useRef(new Map),{v7_startTransition:x}=n||{},b=f.useCallback(O=>{x?uB(O):O()},[x]),y=f.useCallback((O,C)=>{let{deletedFetchers:P,unstable_flushSync:$,unstable_viewTransitionOpts:R}=C;P.forEach(A=>E.current.delete(A)),O.fetchers.forEach((A,I)=>{A.data!==void 0&&E.current.set(I,A.data)});let F=r.window==null||r.window.document==null||typeof r.window.document.startViewTransition!="function";if(!R||F){$?Bc(()=>o(O)):b(()=>o(O));return}if($){Bc(()=>{p&&(c&&c.resolve(),p.skipTransition()),l({isTransitioning:!0,flushSync:!0,currentLocation:R.currentLocation,nextLocation:R.nextLocation})});let A=r.window.document.startViewTransition(()=>{Bc(()=>o(O))});A.finished.finally(()=>{Bc(()=>{d(void 0),v(void 0),s(void 0),l({isTransitioning:!1})})}),Bc(()=>v(A));return}p?(c&&c.resolve(),p.skipTransition(),g({state:O,currentLocation:R.currentLocation,nextLocation:R.nextLocation})):(s(O),l({isTransitioning:!0,flushSync:!1,currentLocation:R.currentLocation,nextLocation:R.nextLocation}))},[r.window,p,c,E,b]);f.useLayoutEffect(()=>r.subscribe(y),[r,y]),f.useEffect(()=>{u.isTransitioning&&!u.flushSync&&d(new cB)},[u]),f.useEffect(()=>{if(c&&i&&r.window){let O=i,C=c.promise,P=r.window.document.startViewTransition(async()=>{b(()=>o(O)),await C});P.finished.finally(()=>{d(void 0),v(void 0),s(void 0),l({isTransitioning:!1})}),v(P)}},[b,i,c,r.window]),f.useEffect(()=>{c&&i&&a.location.key===i.location.key&&c.resolve()},[c,p,a.location,i]),f.useEffect(()=>{!u.isTransitioning&&m&&(s(m.state),l({isTransitioning:!0,flushSync:!1,currentLocation:m.currentLocation,nextLocation:m.nextLocation}),g(void 0))},[u.isTransitioning,m]),f.useEffect(()=>{},[]);let _=f.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:O=>r.navigate(O),push:(O,C,P)=>r.navigate(O,{state:C,preventScrollReset:P==null?void 0:P.preventScrollReset}),replace:(O,C,P)=>r.navigate(O,{replace:!0,state:C,preventScrollReset:P==null?void 0:P.preventScrollReset})}),[r]),h=r.basename||"/",w=f.useMemo(()=>({router:r,navigator:_,static:!1,basename:h}),[r,_,h]),S=f.useMemo(()=>({v7_relativeSplatPath:r.future.v7_relativeSplatPath}),[r.future.v7_relativeSplatPath]);return f.createElement(f.Fragment,null,f.createElement(If.Provider,{value:w},f.createElement(e_.Provider,{value:a},f.createElement(iB.Provider,{value:E.current},f.createElement(oB.Provider,{value:u},f.createElement(Q6,{basename:h,location:a.location,navigationType:a.historyAction,navigator:_,future:S},a.initialized||r.future.v7_partialHydration?f.createElement(fB,{routes:r.routes,future:r.future,state:a}):t))))),null)}const fB=f.memo(pB);function pB(e){let{routes:t,future:r,state:n}=e;return eI(t,void 0,n,r)}const hB=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",vB=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Xs=f.forwardRef(function(t,r){let{onClick:n,relative:a,reloadDocument:o,replace:i,state:s,target:u,to:l,preventScrollReset:c,unstable_viewTransition:d}=t,p=Y6(t,eB),{basename:v}=f.useContext(Vi),m,g=!1;if(typeof l=="string"&&vB.test(l)&&(m=l,hB))try{let y=new URL(window.location.href),_=l.startsWith("//")?new URL(y.protocol+l):new URL(l),h=Ni(_.pathname,v);_.origin===y.origin&&h!=null?l=h+_.search+_.hash:g=!0}catch{}let E=M6(l,{relative:a}),x=mB(l,{replace:i,state:s,target:u,preventScrollReset:c,relative:a,unstable_viewTransition:d});function b(y){n&&n(y),y.defaultPrevented||x(y)}return f.createElement("a",of({},p,{href:m||E,onClick:g||o?n:b,ref:r,target:u}))});var TC;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(TC||(TC={}));var IC;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(IC||(IC={}));function mB(e,t){let{target:r,replace:n,state:a,preventScrollReset:o,relative:i,unstable_viewTransition:s}=t===void 0?{}:t,u=vo(),l=mn(),c=ZT(e,{relative:i});return f.useCallback(d=>{if(Z6(d,r)){d.preventDefault();let p=n!==void 0?n:Gs(l)===Gs(c);u(e,{replace:p,state:a,preventScrollReset:o,relative:i,unstable_viewTransition:s})}},[l,u,c,n,a,r,e,o,i,s])}var gB="RaStore",yB=function(){if(typeof window>"u"||window.localStorage==null)return!1;try{return window.localStorage.setItem("test","test"),window.localStorage.removeItem("test"),!0}catch{return!1}},Zb=yB(),bB=function(e,t){e===void 0&&(e="1"),t===void 0&&(t="");var r="".concat(gB).concat(t),n=r.length,a={},o=function(s,u){Object.keys(a).forEach(function(l){a[l]&&a[l].key===s&&a[l].callback(u)})},i=function(s){var u;if(((u=s.key)===null||u===void 0?void 0:u.substring(0,n))===r){var l=s.key.substring(n+1),c=s.newValue?MC(s.newValue):void 0;Object.keys(a).forEach(function(d){a[d]&&a[d].key===l&&(c===null?a[d].callback(void 0):a[d].callback(c??void 0))})}};return{setup:function(){if(Zb){var s=bo().getItem("".concat(r,".version"));if(s&&s!==e){var u=bo();Object.keys(u).forEach(function(l){l.startsWith(r)&&u.removeItem(l)})}bo().setItem("".concat(r,".version"),e),window.addEventListener("storage",i)}},teardown:function(){Zb&&window.removeEventListener("storage",i)},getItem:function(s,u){var l=bo().getItem("".concat(r,".").concat(s));return l==null?u:MC(l)},setItem:function(s,u){u===void 0?bo().removeItem("".concat(r,".").concat(s)):bo().setItem("".concat(r,".").concat(s),JSON.stringify(u)),o(s,u)},removeItem:function(s){bo().removeItem("".concat(r,".").concat(s)),o(s,void 0)},removeItems:function(s){var u=bo();Object.keys(u).forEach(function(l){if(l.startsWith("".concat(r,".").concat(s))){u.removeItem(l);var c=l.substring(n+1);o(c,void 0)}})},reset:function(){var s=bo();Object.keys(s).forEach(function(u){if(u.startsWith(r)){s.removeItem(u);var l=u.substring(n+1);o(l,void 0)}})},subscribe:function(s,u){var l=Math.random().toString();return a[l]={key:s,callback:u},function(){delete a[l]}}}},MC=function(e){try{return JSON.parse(e)}catch{return e}},xB=function(){function e(){this.valuesMap=new Map}return e.prototype.getItem=function(t){return this.valuesMap.has(t)?String(this.valuesMap.get(t)):null},e.prototype.setItem=function(t,r){this.valuesMap.set(t,r)},e.prototype.removeItem=function(t){this.valuesMap.delete(t)},e.prototype.removeItems=function(t){var r=this;this.valuesMap.forEach(function(n,a){a.startsWith(t)&&r.valuesMap.delete(a)})},e.prototype.clear=function(){this.valuesMap.clear()},e.prototype.key=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'key' on 'Storage': 1 argument required, but only 0 present.");var r=Array.from(this.valuesMap.keys());return r[t]},Object.defineProperty(e.prototype,"length",{get:function(){return this.valuesMap.size},enumerable:!1,configurable:!0}),e}(),wB=new xB,bo=function(){return Zb?window.localStorage:wB},_B=typeof Rl=="object"&&Rl&&Rl.Object===Object&&Rl,aI=_B,EB=aI,SB=typeof self=="object"&&self&&self.Object===Object&&self,OB=EB||SB||Function("return this")(),La=OB,CB=La,PB=CB.Symbol,nc=PB,AC=nc,oI=Object.prototype,$B=oI.hasOwnProperty,kB=oI.toString,zc=AC?AC.toStringTag:void 0;function RB(e){var t=$B.call(e,zc),r=e[zc];try{e[zc]=void 0;var n=!0}catch{}var a=kB.call(e);return n&&(t?e[zc]=r:delete e[zc]),a}var jB=RB,TB=Object.prototype,IB=TB.toString;function MB(e){return IB.call(e)}var AB=MB,FC=nc,FB=jB,LB=AB,NB="[object Null]",DB="[object Undefined]",LC=FC?FC.toStringTag:void 0;function BB(e){return e==null?e===void 0?DB:NB:LC&&LC in Object(e)?FB(e):LB(e)}var ac=BB;function zB(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ya=zB,UB=ac,VB=ya,WB="[object AsyncFunction]",HB="[object Function]",qB="[object GeneratorFunction]",KB="[object Proxy]";function GB(e){if(!VB(e))return!1;var t=UB(e);return t==HB||t==qB||t==WB||t==KB}var r_=GB,QB=La,XB=QB["__core-js_shared__"],YB=XB,Zy=YB,NC=function(){var e=/[^.]+$/.exec(Zy&&Zy.keys&&Zy.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function JB(e){return!!NC&&NC in e}var ZB=JB,e8=Function.prototype,t8=e8.toString;function r8(e){if(e!=null){try{return t8.call(e)}catch{}try{return e+""}catch{}}return""}var iI=r8,n8=r_,a8=ZB,o8=ya,i8=iI,s8=/[\\^$.*+?()[\]{}|]/g,l8=/^\[object .+?Constructor\]$/,u8=Function.prototype,c8=Object.prototype,d8=u8.toString,f8=c8.hasOwnProperty,p8=RegExp("^"+d8.call(f8).replace(s8,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h8(e){if(!o8(e)||a8(e))return!1;var t=n8(e)?p8:l8;return t.test(i8(e))}var v8=h8;function m8(e,t){return e==null?void 0:e[t]}var g8=m8,y8=v8,b8=g8;function x8(e,t){var r=b8(e,t);return y8(r)?r:void 0}var ol=x8,w8=ol,_8=function(){try{var e=w8(Object,"defineProperty");return e({},"",{}),e}catch{}}(),sI=_8,DC=sI;function E8(e,t,r){t=="__proto__"&&DC?DC(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var n_=E8;function S8(e,t){return e===t||e!==e&&t!==t}var oc=S8,O8=n_,C8=oc,P8=Object.prototype,$8=P8.hasOwnProperty;function k8(e,t,r){var n=e[t];(!($8.call(e,t)&&C8(n,r))||r===void 0&&!(t in e))&&O8(e,t,r)}var a_=k8,R8=Array.isArray,Mn=R8;function j8(e){return e!=null&&typeof e=="object"}var Qo=j8,T8=ac,I8=Qo,M8="[object Symbol]";function A8(e){return typeof e=="symbol"||I8(e)&&T8(e)==M8}var Mf=A8,F8=Mn,L8=Mf,N8=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,D8=/^\w*$/;function B8(e,t){if(F8(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||L8(e)?!0:D8.test(e)||!N8.test(e)||t!=null&&e in Object(t)}var o_=B8,z8=ol,U8=z8(Object,"create"),Am=U8,BC=Am;function V8(){this.__data__=BC?BC(null):{},this.size=0}var W8=V8;function H8(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var q8=H8,K8=Am,G8="__lodash_hash_undefined__",Q8=Object.prototype,X8=Q8.hasOwnProperty;function Y8(e){var t=this.__data__;if(K8){var r=t[e];return r===G8?void 0:r}return X8.call(t,e)?t[e]:void 0}var J8=Y8,Z8=Am,ez=Object.prototype,tz=ez.hasOwnProperty;function rz(e){var t=this.__data__;return Z8?t[e]!==void 0:tz.call(t,e)}var nz=rz,az=Am,oz="__lodash_hash_undefined__";function iz(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=az&&t===void 0?oz:t,this}var sz=iz,lz=W8,uz=q8,cz=J8,dz=nz,fz=sz;function ic(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var $z=Pz,kz=Fm;function Rz(e,t){var r=this.__data__,n=kz(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var jz=Rz,Tz=vz,Iz=_z,Mz=Oz,Az=$z,Fz=jz;function sc(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&ea?0:a+t),r=r>a?a:r,r<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(a);++ns))return!1;var l=o.get(e),c=o.get(t);if(l&&c)return l==t&&c==e;var d=-1,p=!0,v=r&tU?new Y7:void 0;for(o.set(e,t),o.set(t,e);++d-1&&e%1==0&&e<=YU}var m_=JU,ZU=ac,eV=m_,tV=Qo,rV="[object Arguments]",nV="[object Array]",aV="[object Boolean]",oV="[object Date]",iV="[object Error]",sV="[object Function]",lV="[object Map]",uV="[object Number]",cV="[object Object]",dV="[object RegExp]",fV="[object Set]",pV="[object String]",hV="[object WeakMap]",vV="[object ArrayBuffer]",mV="[object DataView]",gV="[object Float32Array]",yV="[object Float64Array]",bV="[object Int8Array]",xV="[object Int16Array]",wV="[object Int32Array]",_V="[object Uint8Array]",EV="[object Uint8ClampedArray]",SV="[object Uint16Array]",OV="[object Uint32Array]",Xt={};Xt[gV]=Xt[yV]=Xt[bV]=Xt[xV]=Xt[wV]=Xt[_V]=Xt[EV]=Xt[SV]=Xt[OV]=!0;Xt[rV]=Xt[nV]=Xt[vV]=Xt[aV]=Xt[mV]=Xt[oV]=Xt[iV]=Xt[sV]=Xt[lV]=Xt[uV]=Xt[cV]=Xt[dV]=Xt[fV]=Xt[pV]=Xt[hV]=!1;function CV(e){return tV(e)&&eV(e.length)&&!!Xt[ZU(e)]}var PV=CV;function $V(e){return function(t){return e(t)}}var Lf=$V,cv={exports:{}};cv.exports;(function(e,t){var r=aI,n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===n,i=o&&r.process,s=function(){try{var u=a&&a.require&&a.require("util").types;return u||i&&i.binding&&i.binding("util")}catch{}}();e.exports=s})(cv,cv.exports);var g_=cv.exports,kV=PV,RV=Lf,JC=g_,ZC=JC&&JC.isTypedArray,jV=ZC?RV(ZC):kV,y_=jV,TV=DU,IV=Um,MV=Mn,AV=Vm,FV=Dm,LV=y_,NV=Object.prototype,DV=NV.hasOwnProperty;function BV(e,t){var r=MV(e),n=!r&&IV(e),a=!r&&!n&&AV(e),o=!r&&!n&&!a&&LV(e),i=r||n||a||o,s=i?TV(e.length,String):[],u=s.length;for(var l in e)(t||DV.call(e,l))&&!(i&&(l=="length"||a&&(l=="offset"||l=="parent")||o&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||FV(l,u)))&&s.push(l);return s}var _I=BV,zV=Object.prototype;function UV(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||zV;return e===r}var b_=UV;function VV(e,t){return function(r){return e(t(r))}}var EI=VV,WV=EI,HV=WV(Object.keys,Object),qV=HV,KV=b_,GV=qV,QV=Object.prototype,XV=QV.hasOwnProperty;function YV(e){if(!KV(e))return GV(e);var t=[];for(var r in Object(e))XV.call(e,r)&&r!="constructor"&&t.push(r);return t}var JV=YV,ZV=r_,eW=m_;function tW(e){return e!=null&&eW(e.length)&&!ZV(e)}var dc=tW,rW=_I,nW=JV,aW=dc;function oW(e){return aW(e)?rW(e):nW(e)}var Nf=oW,iW=yI,sW=v_,lW=Nf;function uW(e){return iW(e,lW,sW)}var SI=uW,eP=SI,cW=1,dW=Object.prototype,fW=dW.hasOwnProperty;function pW(e,t,r,n,a,o){var i=r&cW,s=eP(e),u=s.length,l=eP(t),c=l.length;if(u!=c&&!i)return!1;for(var d=u;d--;){var p=s[d];if(!(i?p in t:fW.call(t,p)))return!1}var v=o.get(e),m=o.get(t);if(v&&m)return v==t&&m==e;var g=!0;o.set(e,t),o.set(t,e);for(var E=i;++d0){if(++t>=Iq)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Lq=Fq,Nq=Tq,Dq=Lq,Bq=Dq(Nq),zI=Bq,zq=Hm,Uq=BI,Vq=zI;function Wq(e,t){return Vq(Uq(e,t,zq),e+"")}var qm=Wq,Hq=oc,qq=dc,Kq=Dm,Gq=ya;function Qq(e,t,r){if(!Gq(r))return!1;var n=typeof t;return(n=="number"?qq(r)&&Kq(t,r.length):n=="string"&&t in r)?Hq(r[t],e):!1}var UI=Qq,Xq=qm,Yq=UI;function Jq(e){return Xq(function(t,r){var n=-1,a=r.length,o=a>1?r[a-1]:void 0,i=a>2?r[2]:void 0;for(o=e.length>3&&typeof o=="function"?(a--,o):void 0,i&&Yq(r[0],r[1],i)&&(o=a<3?void 0:o,a=1),t=Object(t);++n=t||S<0||d&&O>=o}function x(){var w=r0();if(E(w))return b(w);s=setTimeout(x,g(w))}function b(w){return s=void 0,p&&n?v(w):(n=a=void 0,i)}function y(){s!==void 0&&clearTimeout(s),l=0,n=u=a=s=void 0}function _(){return s===void 0?i:b(r0())}function h(){var w=r0(),S=E(w);if(n=arguments,a=this,u=w,S){if(s===void 0)return m(u);if(d)return clearTimeout(s),s=setTimeout(x,t),v(u)}return s===void 0&&(s=setTimeout(x,t)),i}return h.cancel=y,h.flush=_,h}var uX=lX;const ZI=xr(uX);var cX=function(e,t){t===void 0&&(t=250);var r=dX(e,t),n=r[0],a=r[1],o=mn();f.useEffect(function(){var i;n!=null&&((i=o.state)===null||i===void 0?void 0:i._scrollToTop)!==!0&&(a(void 0),window.scrollTo(0,n))},[])},dX=function(e,t){t===void 0&&(t=250);var r=xa(e),n=r[0],a=r[1];return f.useEffect(function(){if(!(typeof window>"u")){var o=ZI(function(){a(window.scrollY)},t);return window.addEventListener("scroll",o),function(){window.removeEventListener("scroll",o)}}},[t,a]),[n,a]},fX=function(e){var t=e.children,r=e.storeKey,n=e.debounce,a=n===void 0?250:n;return cX(r,a),t},Hi=function(){return f.useContext(JI)},qi=function(){var e=Hi();return f.useCallback(function(t){var r=t.resource,n=t.id,a=t.type;if(["list","create","edit","show"].includes(a)&&!r)throw new Error("Cannot create a link without a resource. You must provide the resource name.");switch(a){case"list":return Xa("".concat(e,"/").concat(r));case"create":return Xa("".concat(e,"/").concat(r,"/create"));case"edit":return n==null?Xa("".concat(e,"/").concat(r)):Xa("".concat(e,"/").concat(r,"/").concat(encodeURIComponent(n)));case"show":return n==null?Xa("".concat(e,"/").concat(r)):Xa("".concat(e,"/").concat(r,"/").concat(encodeURIComponent(n),"/show"));default:return a}},[e])},Xa=function(e){return e.replace("//","/")};function IP(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}var eM=function(e,t){if(IP(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var a=0;a0)throw new Error("<".concat(e,`> component is not properly configured, some essential props are missing. -Be sure to pass the props from the parent. Example: - -const My`).concat(e,` = props => ( - <`).concat(e," {...props}> -); - -The missing props are: `).concat(a.join(", ")))},pv=function(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;nencodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),lM="%[a-f0-9]{2}",LP=new RegExp("("+lM+")|([^%]+?)","gi"),NP=new RegExp("("+lM+")+","gi");function l1(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],l1(r),l1(n))}function LX(e){try{return decodeURIComponent(e)}catch{for(var t=e.match(LP)||[],r=1;r{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]},zX=function(e,t){for(var r={},n=Object.keys(e),a=Array.isArray(t),o=0;ob==null,i=Symbol("encodeFragmentIdentifier");function s(b){switch(b.arrayFormat){case"index":return y=>(_,h)=>{const w=_.length;return h===void 0||b.skipNull&&h===null||b.skipEmptyString&&h===""?_:h===null?[..._,[c(y,b),"[",w,"]"].join("")]:[..._,[c(y,b),"[",c(w,b),"]=",c(h,b)].join("")]};case"bracket":return y=>(_,h)=>h===void 0||b.skipNull&&h===null||b.skipEmptyString&&h===""?_:h===null?[..._,[c(y,b),"[]"].join("")]:[..._,[c(y,b),"[]=",c(h,b)].join("")];case"colon-list-separator":return y=>(_,h)=>h===void 0||b.skipNull&&h===null||b.skipEmptyString&&h===""?_:h===null?[..._,[c(y,b),":list="].join("")]:[..._,[c(y,b),":list=",c(h,b)].join("")];case"comma":case"separator":case"bracket-separator":{const y=b.arrayFormat==="bracket-separator"?"[]=":"=";return _=>(h,w)=>w===void 0||b.skipNull&&w===null||b.skipEmptyString&&w===""?h:(w=w===null?"":w,h.length===0?[[c(_,b),y,c(w,b)].join("")]:[[h,c(w,b)].join(b.arrayFormatSeparator)])}default:return y=>(_,h)=>h===void 0||b.skipNull&&h===null||b.skipEmptyString&&h===""?_:h===null?[..._,c(y,b)]:[..._,[c(y,b),"=",c(h,b)].join("")]}}function u(b){let y;switch(b.arrayFormat){case"index":return(_,h,w)=>{if(y=/\[(\d*)\]$/.exec(_),_=_.replace(/\[\d*\]$/,""),!y){w[_]=h;return}w[_]===void 0&&(w[_]={}),w[_][y[1]]=h};case"bracket":return(_,h,w)=>{if(y=/(\[\])$/.exec(_),_=_.replace(/\[\]$/,""),!y){w[_]=h;return}if(w[_]===void 0){w[_]=[h];return}w[_]=[].concat(w[_],h)};case"colon-list-separator":return(_,h,w)=>{if(y=/(:list)$/.exec(_),_=_.replace(/:list$/,""),!y){w[_]=h;return}if(w[_]===void 0){w[_]=[h];return}w[_]=[].concat(w[_],h)};case"comma":case"separator":return(_,h,w)=>{const S=typeof h=="string"&&h.includes(b.arrayFormatSeparator),O=typeof h=="string"&&!S&&d(h,b).includes(b.arrayFormatSeparator);h=O?d(h,b):h;const C=S||O?h.split(b.arrayFormatSeparator).map(P=>d(P,b)):h===null?h:d(h,b);w[_]=C};case"bracket-separator":return(_,h,w)=>{const S=/(\[\])$/.test(_);if(_=_.replace(/\[\]$/,""),!S){w[_]=h&&d(h,b);return}const O=h===null?[]:h.split(b.arrayFormatSeparator).map(C=>d(C,b));if(w[_]===void 0){w[_]=O;return}w[_]=[].concat(w[_],O)};default:return(_,h,w)=>{if(w[_]===void 0){w[_]=h;return}w[_]=[].concat(w[_],h)}}}function l(b){if(typeof b!="string"||b.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function c(b,y){return y.encode?y.strict?t(b):encodeURIComponent(b):b}function d(b,y){return y.decode?r(b):b}function p(b){return Array.isArray(b)?b.sort():typeof b=="object"?p(Object.keys(b)).sort((y,_)=>Number(y)-Number(_)).map(y=>b[y]):b}function v(b){const y=b.indexOf("#");return y!==-1&&(b=b.slice(0,y)),b}function m(b){let y="";const _=b.indexOf("#");return _!==-1&&(y=b.slice(_)),y}function g(b){b=v(b);const y=b.indexOf("?");return y===-1?"":b.slice(y+1)}function E(b,y){return y.parseNumbers&&!Number.isNaN(Number(b))&&typeof b=="string"&&b.trim()!==""?b=Number(b):y.parseBooleans&&b!==null&&(b.toLowerCase()==="true"||b.toLowerCase()==="false")&&(b=b.toLowerCase()==="true"),b}function x(b,y){y=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},y),l(y.arrayFormatSeparator);const _=u(y),h=Object.create(null);if(typeof b!="string"||(b=b.trim().replace(/^[?#&]/,""),!b))return h;for(const w of b.split("&")){if(w==="")continue;let[S,O]=n(y.decode?w.replace(/\+/g," "):w,"=");O=O===void 0?null:["comma","separator","bracket-separator"].includes(y.arrayFormat)?O:d(O,y),_(d(S,y),O,h)}for(const w of Object.keys(h)){const S=h[w];if(typeof S=="object"&&S!==null)for(const O of Object.keys(S))S[O]=E(S[O],y);else h[w]=E(S,y)}return y.sort===!1?h:(y.sort===!0?Object.keys(h).sort():Object.keys(h).sort(y.sort)).reduce((w,S)=>{const O=h[S];return O&&typeof O=="object"&&!Array.isArray(O)?w[S]=p(O):w[S]=O,w},Object.create(null))}e.extract=g,e.parse=x,e.stringify=(b,y)=>{if(!b)return"";y=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},y),l(y.arrayFormatSeparator);const _=O=>y.skipNull&&o(b[O])||y.skipEmptyString&&b[O]==="",h=s(y),w={};for(const O of Object.keys(b))_(O)||(w[O]=b[O]);const S=Object.keys(w);return y.sort!==!1&&S.sort(y.sort),S.map(O=>{const C=b[O];return C===void 0?"":C===null?c(O,y):Array.isArray(C)?C.length===0&&y.arrayFormat==="bracket-separator"?c(O,y)+"[]":C.reduce(h(O),[]).join("&"):c(O,y)+"="+c(C,y)}).filter(O=>O.length>0).join("&")},e.parseUrl=(b,y)=>{y=Object.assign({decode:!0},y);const[_,h]=n(b,"#");return Object.assign({url:_.split("?")[0]||"",query:x(g(b),y)},y&&y.parseFragmentIdentifier&&h?{fragmentIdentifier:d(h,y)}:{})},e.stringifyUrl=(b,y)=>{y=Object.assign({encode:!0,strict:!0,[i]:!0},y);const _=v(b.url).split("?")[0]||"",h=e.extract(b.url),w=e.parse(h,{sort:!1}),S=Object.assign(w,b.query);let O=e.stringify(S,y);O&&(O=`?${O}`);let C=m(b.url);return b.fragmentIdentifier&&(C=`#${y[i]?c(b.fragmentIdentifier,y):b.fragmentIdentifier}`),`${_}${O}${C}`},e.pick=(b,y,_)=>{_=Object.assign({parseFragmentIdentifier:!0,[i]:!1},_);const{url:h,query:w,fragmentIdentifier:S}=e.parseUrl(b,_);return e.stringifyUrl({url:h,query:a(w,y),fragmentIdentifier:S},_)},e.exclude=(b,y,_)=>{const h=Array.isArray(y)?w=>!y.includes(w):(w,S)=>!y(w,S);return e.pick(b,h,_)}})(Ys);var hv=function(){return hv=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=300?Promise.reject(new sM(u&&u.message||o,a,u)):Promise.resolve({status:a,headers:i,body:s,json:u})})},HX=function(e){if(!e)return!1;var t=Array.isArray(e),r=typeof Buffer<"u"&&Buffer.isBuffer(e),n=Object.prototype.toString.call(e)==="[object Object]",a=!!Object.keys(e).length;return!t&&!r&&n&&a},uM=function(e,t){var r;return t===void 0&&(t=[]),HX(e)?Object.assign.apply(Object,UX([{}],Object.keys(e).map(function(n){return uM(e[n],t.concat([n]))}),!1)):t.length?(r={},r[t.join(".")]=e,r):e},cM={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function a(u,l,c){this.fn=u,this.context=l,this.once=c||!1}function o(u,l,c,d,p){if(typeof c!="function")throw new TypeError("The listener must be a function");var v=new a(c,d||u,p),m=r?r+l:l;return u._events[m]?u._events[m].fn?u._events[m]=[u._events[m],v]:u._events[m].push(v):(u._events[m]=v,u._eventsCount++),u}function i(u,l){--u._eventsCount===0?u._events=new n:delete u._events[l]}function s(){this._events=new n,this._eventsCount=0}s.prototype.eventNames=function(){var l=[],c,d;if(this._eventsCount===0)return l;for(d in c=this._events)t.call(c,d)&&l.push(r?d.slice(1):d);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(c)):l},s.prototype.listeners=function(l){var c=r?r+l:l,d=this._events[c];if(!d)return[];if(d.fn)return[d.fn];for(var p=0,v=d.length,m=new Array(v);p0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]"u"||!e.message?t:e.message},YX=["getList","getMany","getManyReference"],il=function(){var e=f.useContext(P_)||C_,t=dM(),r=f.useMemo(function(){return new Proxy(e,{get:function(n,a){if(!(typeof a=="symbol"||a==="then"))return a==="supportAbortSignal"?e.supportAbortSignal:function(){for(var o=[],i=0;i0),n=Pe.useRef(e.isMutating()>0),a=Pe.useState(r.current||n.current),o=a[0],i=a[1];return Pe.useEffect(function(){t.current=!0;var s=e.getQueryCache().subscribe(yr.batchCalls(function(){t.current&&(r.current=e.isFetching()>0,i(r.current||n.current))})),u=e.getMutationCache().subscribe(yr.batchCalls(function(){t.current&&(n.current=e.isMutating()>0,i(r.current||n.current))}));return function(){t.current=!1,s(),u()}},[e]),o},Bf=function(){var e=po();return f.useCallback(function(){e.invalidateQueries()},[e])},u1=function(){return u1=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&r(s)?t>1?pM(s,t-1,r,n,a):sY(a,s):n||(a[a.length]=s)}return a}var $_=pM;function uY(e,t,r,n){for(var a=e.length,o=r+(n?1:-1);n?o--:++o-1}var hM=wY;function _Y(e,t,r){for(var n=-1,a=e==null?0:e.length;++n=FY){var l=t?null:MY(e);if(l)return AY(l);i=!1,a=IY,u=new RY}else u=t?[]:s;e:for(;++n0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]0?F(A):A},{updatedAt:R}),a.setQueriesData({queryKey:[O,"getManyReference"]},function(A){return A&&A.data?{data:F(A.data),total:A.total}:A},{updatedAt:R})},_=Rm(zt(zt({mutationFn:function(S){var O=S===void 0?{}:S,C=O.resource,P=C===void 0?e:C,$=O.id,R=$===void 0?v.current.id:$,F=O.data,A=F===void 0?v.current.data:F,I=O.meta,U=I===void 0?v.current.meta:I,W=O.previousData,T=W===void 0?v.current.previousData:W;if(!P)throw new Error("useUpdate mutation requires a non-empty resource");if(R==null)throw new Error("useUpdate mutation requires a non-empty id");if(!A)throw new Error("useUpdate mutation requires a non-empty data object");return g.current(P,{id:R,data:A,previousData:T,meta:U}).then(function(V){var G=V.data;return G})}},d),{onMutate:function(S){return VP(void 0,void 0,void 0,function(){var O;return WP(this,function(C){switch(C.label){case 0:return d.onMutate?[4,d.onMutate(S)]:[3,2];case 1:return O=C.sent()||{},[2,zt({snapshot:m.current},O)];case 2:return[2,{snapshot:m.current}]}})})},onError:function(S,O,C){if(O===void 0&&(O={}),(p.current==="optimistic"||p.current==="undoable")&&C.snapshot.forEach(function(P){var $=P[0],R=P[1];a.setQueryData($,R)}),E.current)return E.current(S,O,C);if(d.onError)return d.onError(S,O,C)},onSuccess:function(S,O,C){if(O===void 0&&(O={}),p.current==="pessimistic"){var P=O.resource,$=P===void 0?e:P,R=O.id,F=R===void 0?o:R;y({resource:$,id:F,data:S}),d.onSuccess&&!b.current&&d.onSuccess(S,O,C)}},onSettled:function(S,O,C,P){if(C===void 0&&(C={}),(p.current==="optimistic"||p.current==="undoable")&&P.snapshot.forEach(function($){var R=$[0];a.invalidateQueries({queryKey:R})}),x.current)return x.current(S,O,C,P);if(d.onSettled)return d.onSettled(S,O,C,P)}})),h=function(S,O,C){return S===void 0&&(S=e),O===void 0&&(O={}),C===void 0&&(C={}),VP(void 0,void 0,void 0,function(){var P,$,R,F,A,I,U,W,T,V,G,ae,ie,ye,be;return WP(this,function(xe){switch(xe.label){case 0:return P=C.mutationMode,$=C.returnPromise,R=$===void 0?d.returnPromise:$,F=C.onError,A=C.onSettled,I=C.onSuccess,U=HP(C,["mutationMode","returnPromise","onError","onSettled","onSuccess"]),c?g.current=c(n.update.bind(n)):g.current=n.update,b.current=!!I,E.current=F,x.current=A,v.current=t,P&&(p.current=P),R&&p.current!=="pessimistic"&&console.warn("The returnPromise parameter can only be used if the mutationMode is set to pessimistic"),p.current==="pessimistic"?R?[2,_.mutateAsync(zt({resource:S},O),zt({onSuccess:I},U))]:[2,_.mutate(zt({resource:S},O),zt({onSuccess:I},U))]:(W=O.id,T=W===void 0?o:W,V=O.data,G=V===void 0?i:V,ae=O.meta,ie=ae===void 0?s:ae,ye=a.getQueryData([S,"getOne",{id:String(T),meta:ie}]),be=[[S,"getOne",{id:String(T),meta:ie}],[S,"getList"],[S,"getInfiniteList"],[S,"getMany"],[S,"getManyReference"]],m.current=be.reduce(function(Se,Te){return Se.concat(a.getQueriesData({queryKey:Te}))},[]),[4,Promise.all(m.current.map(function(Se){var Te=Se[0];return a.cancelQueries({queryKey:Te})}))]);case 1:return xe.sent(),y({resource:S,id:T,data:G}),setTimeout(function(){I?I(zt(zt({},ye),G),zt({resource:S},O),{snapshot:m.current}):d.onSuccess&&!b.current&&d.onSuccess(zt(zt({},ye),G),zt({resource:S},O),{snapshot:m.current})},0),p.current==="optimistic"?[2,_.mutate(zt({resource:S},O))]:(sf.once("end",function(Se){var Te=Se.isUndo;Te?m.current.forEach(function($e){var _e=$e[0],Ve=$e[1];a.setQueryData(_e,Ve)}):_.mutate(zt({resource:S},O))}),[2])}})})},w=f.useMemo(function(){return zt({isLoading:_.isPending},_)},[_]);return[Kt(h),w]},on=function(){return on=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]0?C(P):P},{updatedAt:O}),a.setQueriesData({queryKey:[h,"getManyReference"]},function(P){if(!P||!P.data)return P;var $=C(P.data),R=$.length0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]0?O(C):C},{updatedAt:S}),a.setQueriesData({queryKey:[_,"getManyReference"]},function(C){if(!C||!C.data)return C;var P=O(C.data),$=P.length=0?i[l].apply(i,Uc(Uc([],d,!1),[c],!1)):o.apply(void 0,d)};return i.length>0?i[l].apply(i,Uc(Uc([],s,!1),[c],!1)):o.apply(void 0,s)}},[]),a=f.useMemo(function(){return{registerMutationMiddleware:t,getMutateWithMiddlewares:n,unregisterMutationMiddleware:r}},[t,n,r]);return a},vv=function(){return vv=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]0;ae||g(typeof U=="string"?U:U.message||"ra.notification.http_error",{type:"error",messageArgs:{_:typeof U=="string"?U:U instanceof Error||typeof U=="object"&&U!==null&&U.hasOwnProperty("message")?U.message:void 0}})}},h),{returnPromise:!0,getMutateWithMiddlewares:O})),$=P[0],R=P[1].isPending,F=f.useCallback(function(U,W){W===void 0&&(W={});var T=W.transform,V=W.meta,G=t2(W,["transform","meta"]);return Promise.resolve(T?T(U):o?o(U):U).then(function(ae){return ZP(void 0,void 0,void 0,function(){var ie,ye;return e2(this,function(be){switch(be.label){case 0:return be.trys.push([0,2,,3]),[4,$(u,{data:ae,meta:V??_},G)];case 1:return be.sent(),[3,3];case 2:return ie=be.sent(),(ie instanceof sM||typeof ie=="object"&&ie!==null&&ie.hasOwnProperty("body"))&&((ye=ie.body)===null||ye===void 0?void 0:ye.errors)!=null?[2,ie.body.errors]:[3,3];case 3:return[2]}})})})},[$,_,u,o]),A=gc(),I=m("ra.page.create",{name:A(u,1)});return{isFetching:!1,isLoading:!1,isPending:R,saving:R,defaultTitle:I,save:F,resource:u,record:x,redirect:p,registerMutationMiddleware:S,unregisterMutationMiddleware:C}},IJ=function(e){var t=e.state,r=e.search;if(t&&t.record)return t.record;if(r)try{var n=Ys.parse(r);if(n.source){if(Array.isArray(n.source)){console.error("Failed to parse location search parameter '".concat(r,`'. To pre-fill some fields in the Create form, pass a stringified source parameter (e.g. '?source={"title":"foo"}')`));return}return JSON.parse(n.source)}}catch{console.error("Failed to parse location search parameter '".concat(r,`'. To pre-fill some fields in the Create form, pass a stringified source parameter (e.g. '?source={"title":"foo"}')`))}return null},MJ=function(e,t){return t?"edit":e?"show":"list"},R_=f.createContext(void 0);R_.displayName="RecordContext";var Js=function(e){var t=e.children,r=e.value;return f.createElement(R_.Provider,{value:r},t)},j_=f.createContext(null);j_.displayName="CreateContext";var mv=function(){return mv=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]0;(!We||a!=="pessimistic")&&g(typeof _e=="string"?_e:_e.message||"ra.notification.http_error",{type:"error",messageArgs:{_:typeof _e=="string"?_e:_e instanceof Error||typeof _e=="object"&&_e!==null&&_e.hasOwnProperty("message")?_e.message:void 0}})}},C),{mutationMode:a,returnPromise:a==="pessimistic",getMutateWithMiddlewares:R})),Se=xe[0],Te=xe[1].isPending,$e=f.useCallback(function(_e,Ve){var Ie=Ve===void 0?{}:Ve,De=Ie.onSuccess,Le=Ie.onError,We=Ie.transform,tt=Ie.meta;return Promise.resolve(We?We(_e,{previousData:be.previousData}):d?d(_e,{previousData:be.previousData}):_e).then(function(dt){return r2(void 0,void 0,void 0,function(){var yt,z;return n2(this,function(Y){switch(Y.label){case 0:return Y.trys.push([0,2,,3]),[4,Se(p,{id:y,data:dt,meta:tt??w},{onError:Le,onSuccess:De})];case 1:return Y.sent(),[3,3];case 2:return yt=Y.sent(),((z=yt.body)===null||z===void 0?void 0:z.errors)!=null?[2,yt.body.errors]:[3,3];case 3:return[2]}})})})},[y,w,p,d,Se,be.previousData]);return{defaultTitle:ye,error:U,isFetching:T,isLoading:W,isPending:V,mutationMode:a,record:I,redirect:c,refetch:G,registerMutationMiddleware:$,resource:p,save:$e,saving:Te,unregisterMutationMiddleware:F}},BJ="list",yn=function(e){var t=f.useContext(R_);return e&&e.record||t},EM=function(e){var t=e.value,r=e.children;return t?f.createElement(Js,{value:t},r):r},zJ=function(e){var t=yn(e),r=At(e),n=J_(r);return f.createElement(f.Fragment,null,n(t))},T_=f.createContext(null);T_.displayName="EditContext";var UJ=function(e){var t=e.children,r=e.value;return f.createElement(T_.Provider,{value:r},f.createElement(bM,{value:wM(r)},f.createElement(Js,{value:r&&r.record},t)))},VJ=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a"u"?"undefined":OM(r)){case"string":return[{item:n,value:this._handleString(r,n)}];case"number":return[{item:n,value:this._handleNumber(r,n)}];case"boolean":return[{item:n,value:this._handleBoolean.bind(this)(r,n)}]}return this.checkComplex(r,n)}},{key:"_handleObject",value:function(r){var n=[];for(var a in r){var o=r[a],i=this.check(o,a,a,r);n=n.concat(i)}return n}},{key:"_handleArray",value:function(r){for(var n=this,a=[],o,i=0;i0&&!l.item&&o===void 0&&(o=l);a=a.concat(u)}}return a}},{key:"_handleBoolean",value:function(r){var n;return r?n=this._options.booleanTrueString||"true":n=this._options.booleanFalseString||"false",n}},{key:"_handleString",value:function(r){return r}},{key:"_handleNumber",value:function(r){return r}},{key:"_handleDate",value:function(r){return r.toLocaleDateString()}}]),e}(),JJ=YJ,ZJ=typeof window>"u"?Rl:window;function eZ(e,t){if(e instanceof ZJ[t])return!0;switch(typeof e>"u"?"undefined":OM(e)){case"string":return t==="String";case"boolean":return t==="Boolean";case"number":return t==="Number"}return!1}var c0,o2;function tZ(){return o2||(o2=1,c0=function(t,r,n){var a=` -`;if(typeof t!="string")throw new TypeError('Invalid param "textDelimiter", must be a string.');if(typeof r!="string")throw new TypeError('Invalid param "rowDelimiter", must be a string.');var o=new RegExp("\\"+t,"g"),i=t+t,s=t==='"'?function(u){return u.indexOf(r)>=0||u.indexOf(a)>=0||u.indexOf('"')>=0}:function(u){return u.indexOf(r)>=0||u.indexOf(a)>=0};return function(u){return n&&(u=""+u),u.replace&&(u=u.replace(o,i),(n||s(u))&&(u=t+u+t)),u}}),c0}var rZ=function(){function e(t,r){for(var n=0;n0&&(d=d.concat(Array(p).join(".").split("."))),n&&this._options.fillGaps&&(d=d.map(o)),a.push(d.join(this._options.rowDelimiter)),n=d}}catch(v){s=!0,u=v}finally{try{!i&&l.return&&l.return()}finally{if(s)throw u}}return a}},{key:"_parseArray",value:function(r,n){var a=this;this._headers=this._headers||[];var o=[],i=void 0,s=function(E){var x=a._headers.indexOf(E);return x===-1&&(a._headers.push(E),x=a._headers.indexOf(E)),x};i=function(E){var x=[],b=function(A){return x.push(A.map(function(I){return I??""}))},y=function(){return new Array(a._headers.length).fill(null)},_={},h=y(),w=!0,S=!1,O=void 0;try{for(var C=E[Symbol.iterator](),P;!(w=(P=C.next()).done);w=!0){var $=P.value,R=s($.item);if(h[R]!=null&&(b(h),h=y()),_[R]=_[R]||0,a._options.fillTopRow&&_[R]0&&b(h),o=o.concat(a._checkRows(x))};var u=!0,l=!1,c=void 0;try{for(var d=r[Symbol.iterator](),p;!(u=(p=d.next()).done);u=!0){var v=p.value,m=a._handler.check(v,a._options.mainPathItem,v,r);i(m)}}catch(g){l=!0,c=g}finally{try{!u&&d.return&&d.return()}finally{if(l)throw c}}return!n&&a._options.includeHeaders&&o.unshift(this.headers),i2(o,a._options.endOfLine)}},{key:"_parseObject",value:function(r){var n=this,a=[],o=[],i=void 0,s=[[],[]];i=function(d){var p=d.value||d.value===0?d.value.toString():n._options.undefinedString;if(p=n._escape(p),n._options.verticalOutput){var v=[d.item,p];a.push(v.join(n._options.rowDelimiter))}else s[0].push(d.item),s[1].push(p)};for(var u in r){var l="";this._options.mainPathItem&&(l=this._options.mainPathItem+this._options.headerPathString),o=this._handler.check(r[u],l+u,u,r),o.forEach(i)}return this._options.verticalOutput||(a.push(s[0].join(this._options.rowDelimiter)),a.push(s[1].join(this._options.rowDelimiter))),i2(a,this._options.endOfLine)}},{key:"headers",get:function(){var r=this,n=this._headers;return this._options.rename&&this._options.rename.length>0&&(n=n.map(function(a){return r._options.rename[r._options.headers.indexOf(a)]||a})),this._options.forceTextDelimiter&&(n=n.map(function(a){return""+r._options.textDelimiter+a+r._options.textDelimiter})),this._options.mapHeaders&&(n=n.map(this._options.mapHeaders)),n.join(this._options.rowDelimiter)}}]),e}(),iZ=oZ,sZ=function(e){throw new Error("jsonexport called without third argument as a callback and is required")},lZ=sZ,l2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u2=iZ,c2=lZ,uZ=SM,cZ=function(){var e={headers:[],rename:[],headerPathString:".",rowDelimiter:",",textDelimiter:'"',arrayPathString:";",undefinedString:"",endOfLine:uZ,mainPathItem:null,booleanTrueString:null,booleanFalseString:null,includeHeaders:!0,fillGaps:!1,verticalOutput:!0,forceTextDelimiter:!1},t=void 0,r=void 0,n=void 0;if(arguments.length===3){var a=Array.prototype.slice.call(arguments);t=a[0],r=a[1],n=a[2]}else if(arguments.length===2){var o=void 0,i=Array.prototype.slice.call(arguments);t=i[0],o=i[1],typeof o=="function"?n=o:(typeof o>"u"?"undefined":l2(o))==="object"&&(r=o)}else if(arguments.length===1){var s=Array.prototype.slice.call(arguments),u=s[0];if((typeof u>"u"?"undefined":l2(u))==="object"){var l=Object.keys(e),c=Object.keys(u),d=c.every(function(m){return l.includes(m)});c.length>0&&d?r=u:t=u}else t=u}else return new c2(new u2(e));var p=Object.assign({},e,r),v=new u2(p);return t?new Promise(function(m,g){v.parse(t,function(E,x){if(n)return n(E,x);if(E)return g(E);if(g)return m(x)})}):new c2};const dZ=xr(cZ);var fZ=function(e,t){t===void 0&&(t="export");var r=document.createElement("a");r.style.display="none",document.body.appendChild(r);var n=new Blob([e],{type:"text/csv;charset=utf-8"});window.navigator&&window.navigator.msSaveOrOpenBlob?window.navigator.msSaveOrOpenBlob(n,"".concat(t,".csv")):(r.setAttribute("href",URL.createObjectURL(n)),r.setAttribute("download","".concat(t,".csv")),r.click())},pZ=function(e,t,r,n){return dZ(e,function(a,o){return fZ(o,n)})},hZ=function(e,t){return Array.from(new Set(e.filter(function(r){return r[t]!=null}).map(function(r){return r[t]}).reduce(function(r,n){return r.concat(n)},[])))},vZ=function(e){return function(t,r,n){return e.getMany(n,{ids:hZ(t,r)}).then(function(a){var o=a.data;return o.reduce(function(i,s){return i[s.id]=s,i},{})})}},ml=function(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n"u"||m(function(b){if(!Array.isArray(b))return ml([],b,!0);var y=b.indexOf(x);return y>-1?ml(ml([],b.slice(0,y),!0),b.slice(y+1),!0):ml(ml([],b,!0),[x],!1)})},clearSelection:function(){g()}}},[m,g]);return[v,E]},d0=[];function Ya(e){var t=f.useState(e),r=t[0],n=t[1],a=f.useRef(!1);f.useEffect(function(){return a.current=!0,function(){a.current=!1}},[]);var o=f.useCallback(function(i){if(a.current)return n(i)},[a,n]);return[r,o]}function M_(e,t){e===void 0&&(e=0),t===void 0&&(t="");var r=Ya(!1),n=r[0],a=r[1];return f.useEffect(function(){a(!1);var o=setTimeout(function(){a(!0)},e);return function(){clearTimeout(o)}},[t,e,a]),n}function mZ(){var e=f.useRef(!0);return f.useEffect(function(){return e.current=!0,function(){e.current=!1}},[]),e}var jo=function(){return jo=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&!S&&_(P)},[v.search]);var $=f.useCallback(function(ae){w.current&&(h.current?h.current=AP(h.current,ae):(h.current=AP(P,ae),setTimeout(function(){h.current&&(a?x(h.current):m({search:"?".concat(Ys.stringify(jo(jo({},h.current),{filter:JSON.stringify(h.current.filter),displayedFilters:JSON.stringify(h.current.displayedFilters)})))},{state:{_scrollToTop:ae.type===i1}}),h.current=void 0)},0)))},d2(d2([],O,!0),[m],!1)),R=f.useCallback(function(ae){return $({type:rM,payload:ae})},[$]),F=f.useCallback(function(ae){return $({type:i1,payload:ae})},[$]),A=f.useCallback(function(ae){return $({type:nM,payload:ae})},[$]),I=P.filter||h2,U=P.displayedFilters||h2,W=ZI(function(ae,ie){$({type:s1,payload:{filter:Du(ae),displayedFilters:ie}})},r),T=f.useCallback(function(ae,ie,ye){return ie===void 0&&(ie=void 0),ye===void 0&&(ye=!1),ye?W(ae,ie):$({type:s1,payload:{filter:Du(ae),displayedFilters:ie}})},[$]),V=f.useCallback(function(ae){$({type:oM,payload:ae})},[$]),G=f.useCallback(function(ae,ie){$({type:aM,payload:{filterName:ae,defaultValue:ie}})},[$]);return[jo(jo({filterValues:I,requestSignature:O},P),{displayedFilters:U}),{changeParams:$,setPage:F,setPerPage:A,setSort:R,setFilters:T,hideFilter:V,showFilter:G}]},f2=function(e,t){if(e[t]&&typeof e[t]=="string")try{e[t]=JSON.parse(e[t])}catch{delete e[t]}},yZ=function(e){var t=e.search,r=Ys.parse(t);return f2(r,"filter"),f2(r,"displayedFilters"),r},bZ=function(e){return e&&e.filter&&(Object.keys(e.filter).length>0||e.order!=null||e.page!==1||e.perPage!=null||e.sort!=null)},xZ=function(e){var t=e.queryFromLocation,r=e.params,n=e.filterDefaultValues,a=e.sort,o=e.perPage,i=Object.keys(t).length>0?t:bZ(r)?jo({},r):{filter:n||{}};return i.sort||(i.sort=a.field,i.order=a.order),i.perPage==null&&(i.perPage=o),i.page==null&&(i.page=1),jo(jo({},i),{page:p2(i.page,1),perPage:p2(i.perPage,10)})},p2=function(e,t){if(typeof e>"u")return t;var r=typeof e=="string"?parseInt(e,10):e;return isNaN(r)?t:r},h2={},wZ={field:"id",order:As},v2={},Gm=f.createContext(null);Gm.displayName="ListContext";var CM=f.createContext(void 0),_Z=function(e){return f.useMemo(function(){return Km(e,["displayedFilters","filterValues","hideFilter","setFilters","showFilter","resource"])},[e.displayedFilters,e.filterValues,e.hideFilter,e.setFilters,e.showFilter])};CM.displayName="ListFilterContext";var PM=f.createContext(void 0),EZ=function(e){return f.useMemo(function(){return Km(e,["sort","setSort","resource"])},[e.sort,e.setSort])};PM.displayName="ListSortContext";var A_=f.createContext(void 0);A_.displayName="ListPaginationContext";var SZ=function(e){return f.useMemo(function(){return Km(e,["isLoading","isPending","hasPreviousPage","hasNextPage","page","perPage","setPage","setPerPage","total","resource"])},[e.isLoading,e.isPending,e.hasPreviousPage,e.hasNextPage,e.page,e.perPage,e.setPage,e.setPerPage,e.total])},$M=function(e){var t=e.value,r=e.children;return f.createElement(Gm.Provider,{value:t},f.createElement(CM.Provider,{value:_Z(t)},f.createElement(PM.Provider,{value:EZ(t)},f.createElement(A_.Provider,{value:SZ(t)},r))))},Fs=function(){return Fs=Object.assign||function(e){for(var t,r=1,n=arguments.length;r1&&(R==null||(R==null?void 0:R.length)===0)){S.setPage(1);return}if(A!=null){var ye=Math.ceil(A/w.perPage)||1;!W&&w.page>ye&&S.setPage(ye)}},[W,w.page,w.perPage,R,S,A]);var G=f.useMemo(function(){return{field:w.sort,order:w.order}},[w.sort,w.order]),ae=gc(),ie=y("ra.page.list",{name:ae(E,2)});return{sort:G,data:R,defaultTitle:ie,displayedFilters:w.displayedFilters,error:I,exporter:i,filter:s,filterValues:w.filterValues,hideFilter:S.hideFilter,isFetching:W,isLoading:U,isPending:T,onSelect:P.select,onToggleItem:P.toggle,onUnselectItems:P.clearSelection,page:w.page,perPage:w.perPage,refetch:V,resource:E,selectedIds:C,setFilters:S.setFilters,setPage:S.setPage,setPerPage:S.setPerPage,setSort:S.setSort,showFilter:S.showFilter,total:A,hasNextPage:F?F.hasNextPage:A!=null?w.page*w.perPage1}},PZ={field:"id",order:As},$Z=["sort","data","defaultTitle","displayedFilters","error","exporter","filterValues","hasNextPage","hasPreviousPage","hideFilter","isFetching","isLoading","isPending","onSelect","onToggleItem","onUnselectItems","page","perPage","refetch","refresh","resource","selectedIds","setFilters","setPage","setPerPage","setSort","showFilter","total","totalPages"],zu=function(e){return Object.keys(e).filter(function(t){return!$Z.includes(t)}).reduce(function(t,r){var n;return Fs(Fs({},t),(n={},n[r]=e[r],n))},{})},kZ=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a-1?r?[]:$p($p([],u.slice(0,l),!0),u.slice(l+1),!0):r?[t]:$p($p([],u,!0),[t],!1)})},[o,t,r]);return[i,s]},TZ=function(e,t){var r=xa("".concat(e,".datagrid.expanded"),[]),n=r[0],a=r[1],o=Array.isArray(n)?n.some(function(s){return t.some(function(u){return u==s})}):!1,i=f.useCallback(function(){var s=n.filter(function(u){return!t.some(function(l){return l==u})});a(o?s:s.concat(t))},[n,a,o,t]);return[o,i]},Hl=function(){return Hl=Object.assign||function(e){for(var t,r=1,n=arguments.length;rfr(me,ie.field)?ie.order==="ASC"?1:-1:fr(ue,ie.field)1,hideFilter:tt,isFetching:h,isLoading:O,isPending:$,onSelect:Te.select,onToggleItem:Te.toggle,onUnselectItems:Te.clearSelection,page:W,perPage:V,resource:"",refetch:IZ,selectedIds:Se,setFilters:yt,setPage:T,setPerPage:G,setSort:be,showFilter:dt,total:A==null?void 0:A.total}},AZ={},Na=function(){var e=f.useContext(Gm);if(!e)throw new Error("useListContext must be used inside a ListContextProvider");return e},FZ=qm,LZ=oc,NZ=UI,DZ=pc,kM=Object.prototype,BZ=kM.hasOwnProperty,zZ=FZ(function(e,t){e=Object(e);var r=-1,n=t.length,a=n>2?t[2]:void 0;for(a&&NZ(t[0],t[1],a)&&(n=1);++re.type==="checkbox",ql=e=>e instanceof Date,fn=e=>e==null;const jM=e=>typeof e=="object";var Mr=e=>!fn(e)&&!Array.isArray(e)&&jM(e)&&!ql(e),TM=e=>Mr(e)&&e.target?zf(e.target)?e.target.checked:e.target.value:e,HZ=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,IM=(e,t)=>e.has(HZ(t)),qZ=e=>{const t=e.constructor&&e.constructor.prototype;return Mr(t)&&t.hasOwnProperty("isPrototypeOf")},N_=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function wn(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(N_&&(e instanceof Blob||e instanceof FileList))&&(r||Mr(e)))if(t=r?[]:{},!r&&!qZ(e))t=e;else for(const n in e)e.hasOwnProperty(n)&&(t[n]=wn(e[n]));else return e;return t}var Qm=e=>Array.isArray(e)?e.filter(Boolean):[],dr=e=>e===void 0,je=(e,t,r)=>{if(!t||!Mr(e))return r;const n=Qm(t.split(/[,[\].]+?/)).reduce((a,o)=>fn(a)?a:a[o],e);return dr(n)||n===e?dr(e[t])?r:e[t]:n},to=e=>typeof e=="boolean",D_=e=>/^\w*$/.test(e),MM=e=>Qm(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Wt=(e,t,r)=>{let n=-1;const a=D_(t)?[t]:MM(t),o=a.length,i=o-1;for(;++nPe.useContext(AM),FM=e=>{const{children:t,...r}=e;return Pe.createElement(AM.Provider,{value:r},t)};var LM=(e,t,r,n=!0)=>{const a={defaultValues:t._defaultValues};for(const o in e)Object.defineProperty(a,o,{get:()=>{const i=o;return t._proxyFormState[i]!==Ta.all&&(t._proxyFormState[i]=!n||Ta.all),r&&(r[i]=!0),e[i]}});return a},Dn=e=>Mr(e)&&!Object.keys(e).length,NM=(e,t,r,n)=>{r(e);const{name:a,...o}=e;return Dn(o)||Object.keys(o).length>=Object.keys(t).length||Object.keys(o).find(i=>t[i]===(!n||Ta.all))},wd=e=>Array.isArray(e)?e:[e],DM=(e,t,r)=>!e||!t||e===t||wd(e).some(n=>n&&(r?n===t:n.startsWith(t)||t.startsWith(n)));function B_(e){const t=Pe.useRef(e);t.current=e,Pe.useEffect(()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}function Xm(e){const t=hc(),{control:r=t.control,disabled:n,name:a,exact:o}=e||{},[i,s]=Pe.useState(r._formState),u=Pe.useRef(!0),l=Pe.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),c=Pe.useRef(a);return c.current=a,B_({disabled:n,next:d=>u.current&&DM(c.current,d.name,o)&&NM(d,l.current,r._updateFormState)&&s({...r._formState,...d}),subject:r._subjects.state}),Pe.useEffect(()=>(u.current=!0,l.current.isValid&&r._updateValid(!0),()=>{u.current=!1}),[r]),LM(i,r,l.current,!1)}var no=e=>typeof e=="string",BM=(e,t,r,n,a)=>no(e)?(n&&t.watch.add(e),je(r,e,a)):Array.isArray(e)?e.map(o=>(n&&t.watch.add(o),je(r,o))):(n&&(t.watchAll=!0),r);function KZ(e){const t=hc(),{control:r=t.control,name:n,defaultValue:a,disabled:o,exact:i}=e||{},s=Pe.useRef(n);s.current=n,B_({disabled:o,subject:r._subjects.values,next:c=>{DM(s.current,c.name,i)&&l(wn(BM(s.current,r._names,c.values||r._formValues,!1,a)))}});const[u,l]=Pe.useState(r._getWatch(n,a));return Pe.useEffect(()=>r._removeUnmounted()),u}function GZ(e){const t=hc(),{name:r,disabled:n,control:a=t.control,shouldUnregister:o}=e,i=IM(a._names.array,r),s=KZ({control:a,name:r,defaultValue:je(a._formValues,r,je(a._defaultValues,r,e.defaultValue)),exact:!0}),u=Xm({control:a,name:r}),l=Pe.useRef(a.register(r,{...e.rules,value:s,...to(e.disabled)?{disabled:e.disabled}:{}}));return Pe.useEffect(()=>{const c=a._options.shouldUnregister||o,d=(p,v)=>{const m=je(a._fields,p);m&&m._f&&(m._f.mount=v)};if(d(r,!0),c){const p=wn(je(a._options.defaultValues,r));Wt(a._defaultValues,r,p),dr(je(a._formValues,r))&&Wt(a._formValues,r,p)}return()=>{(i?c&&!a._state.action:c)?a.unregister(r):d(r,!1)}},[r,a,i,o]),Pe.useEffect(()=>{je(a._fields,r)&&a._updateDisabledField({disabled:n,fields:a._fields,name:r,value:je(a._fields,r)._f.value})},[n,r,a]),{field:{name:r,value:s,...to(n)||u.disabled?{disabled:u.disabled||n}:{},onChange:Pe.useCallback(c=>l.current.onChange({target:{value:TM(c),name:r},type:gv.CHANGE}),[r]),onBlur:Pe.useCallback(()=>l.current.onBlur({target:{value:je(a._formValues,r),name:r},type:gv.BLUR}),[r,a]),ref:c=>{const d=je(a._fields,r);d&&c&&(d._f.ref={focus:()=>c.focus(),select:()=>c.select(),setCustomValidity:p=>c.setCustomValidity(p),reportValidity:()=>c.reportValidity()})}},formState:u,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!je(u.errors,r)},isDirty:{enumerable:!0,get:()=>!!je(u.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!je(u.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!je(u.validatingFields,r)},error:{enumerable:!0,get:()=>je(u.errors,r)}})}}var QZ=(e,t,r,n,a)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:a||!0}}:{},g2=e=>({isOnSubmit:!e||e===Ta.onSubmit,isOnBlur:e===Ta.onBlur,isOnChange:e===Ta.onChange,isOnAll:e===Ta.all,isOnTouch:e===Ta.onTouched}),y2=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(n=>e.startsWith(n)&&/^\.\w+/.test(e.slice(n.length))));const _d=(e,t,r,n)=>{for(const a of r||Object.keys(e)){const o=je(e,a);if(o){const{_f:i,...s}=o;if(i){if(i.refs&&i.refs[0]&&t(i.refs[0],a)&&!n)break;if(i.ref&&t(i.ref,i.name)&&!n)break;_d(s,t)}else Mr(s)&&_d(s,t)}}};var XZ=(e,t,r)=>{const n=wd(je(e,r));return Wt(n,"root",t[r]),Wt(e,r,n),e},z_=e=>e.type==="file",Ei=e=>typeof e=="function",yv=e=>{if(!N_)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},lh=e=>no(e),U_=e=>e.type==="radio",bv=e=>e instanceof RegExp;const b2={value:!1,isValid:!1},x2={value:!0,isValid:!0};var zM=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!dr(e[0].attributes.value)?dr(e[0].value)||e[0].value===""?x2:{value:e[0].value,isValid:!0}:x2:b2}return b2};const w2={isValid:!1,value:null};var UM=e=>Array.isArray(e)?e.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,w2):w2;function _2(e,t,r="validate"){if(lh(e)||Array.isArray(e)&&e.every(lh)||to(e)&&!e)return{type:r,message:lh(e)?e:"",ref:t}}var gl=e=>Mr(e)&&!bv(e)?e:{value:e,message:""},E2=async(e,t,r,n,a)=>{const{ref:o,refs:i,required:s,maxLength:u,minLength:l,min:c,max:d,pattern:p,validate:v,name:m,valueAsNumber:g,mount:E,disabled:x}=e._f,b=je(t,m);if(!E||x)return{};const y=i?i[0]:o,_=R=>{n&&y.reportValidity&&(y.setCustomValidity(to(R)?"":R||""),y.reportValidity())},h={},w=U_(o),S=zf(o),O=w||S,C=(g||z_(o))&&dr(o.value)&&dr(b)||yv(o)&&o.value===""||b===""||Array.isArray(b)&&!b.length,P=QZ.bind(null,m,r,h),$=(R,F,A,I=xo.maxLength,U=xo.minLength)=>{const W=R?F:A;h[m]={type:R?I:U,message:W,ref:o,...P(R?I:U,W)}};if(a?!Array.isArray(b)||!b.length:s&&(!O&&(C||fn(b))||to(b)&&!b||S&&!zM(i).isValid||w&&!UM(i).isValid)){const{value:R,message:F}=lh(s)?{value:!!s,message:s}:gl(s);if(R&&(h[m]={type:xo.required,message:F,ref:y,...P(xo.required,F)},!r))return _(F),h}if(!C&&(!fn(c)||!fn(d))){let R,F;const A=gl(d),I=gl(c);if(!fn(b)&&!isNaN(b)){const U=o.valueAsNumber||b&&+b;fn(A.value)||(R=U>A.value),fn(I.value)||(F=Unew Date(new Date().toDateString()+" "+G),T=o.type=="time",V=o.type=="week";no(A.value)&&b&&(R=T?W(b)>W(A.value):V?b>A.value:U>new Date(A.value)),no(I.value)&&b&&(F=T?W(b)+R.value,I=!fn(F.value)&&b.length<+F.value;if((A||I)&&($(A,R.message,F.message),!r))return _(h[m].message),h}if(p&&!C&&no(b)){const{value:R,message:F}=gl(p);if(bv(R)&&!b.match(R)&&(h[m]={type:xo.pattern,message:F,ref:o,...P(xo.pattern,F)},!r))return _(F),h}if(v){if(Ei(v)){const R=await v(b,t),F=_2(R,y);if(F&&(h[m]={...F,...P(xo.validate,F.message)},!r))return _(F.message),h}else if(Mr(v)){let R={};for(const F in v){if(!Dn(R)&&!r)break;const A=_2(await v[F](b,t),y,F);A&&(R={...A,...P(F,A.message)},_(A.message),r&&(h[m]=R))}if(!Dn(R)&&(h[m]={ref:y,...R},!r))return h}}return _(!0),h};function YZ(e,t){const r=t.slice(0,-1).length;let n=0;for(;n{let e=[];return{get observers(){return e},next:a=>{for(const o of e)o.next&&o.next(a)},subscribe:a=>(e.push(a),{unsubscribe:()=>{e=e.filter(o=>o!==a)}}),unsubscribe:()=>{e=[]}}},xv=e=>fn(e)||!jM(e);function _s(e,t){if(xv(e)||xv(t))return e===t;if(ql(e)&&ql(t))return e.getTime()===t.getTime();const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(const a of r){const o=e[a];if(!n.includes(a))return!1;if(a!=="ref"){const i=t[a];if(ql(o)&&ql(i)||Mr(o)&&Mr(i)||Array.isArray(o)&&Array.isArray(i)?!_s(o,i):o!==i)return!1}}return!0}var VM=e=>e.type==="select-multiple",ZZ=e=>U_(e)||zf(e),p0=e=>yv(e)&&e.isConnected,WM=e=>{for(const t in e)if(Ei(e[t]))return!0;return!1};function wv(e,t={}){const r=Array.isArray(e);if(Mr(e)||r)for(const n in e)Array.isArray(e[n])||Mr(e[n])&&!WM(e[n])?(t[n]=Array.isArray(e[n])?[]:{},wv(e[n],t[n])):fn(e[n])||(t[n]=!0);return t}function HM(e,t,r){const n=Array.isArray(e);if(Mr(e)||n)for(const a in e)Array.isArray(e[a])||Mr(e[a])&&!WM(e[a])?dr(t)||xv(r[a])?r[a]=Array.isArray(e[a])?wv(e[a],[]):{...wv(e[a])}:HM(e[a],fn(t)?{}:t[a],r[a]):r[a]=!_s(e[a],t[a]);return r}var kp=(e,t)=>HM(e,t,wv(t)),qM=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>dr(e)?e:t?e===""?NaN:e&&+e:r&&no(e)?new Date(e):n?n(e):e;function h0(e){const t=e.ref;if(!(e.refs?e.refs.every(r=>r.disabled):t.disabled))return z_(t)?t.files:U_(t)?UM(e.refs).value:VM(t)?[...t.selectedOptions].map(({value:r})=>r):zf(t)?zM(e.refs).value:qM(dr(t.value)?e.ref.value:t.value,e)}var eee=(e,t,r,n)=>{const a={};for(const o of e){const i=je(t,o);i&&Wt(a,o,i._f)}return{criteriaMode:r,names:[...e],fields:a,shouldUseNativeValidation:n}},Vc=e=>dr(e)?e:bv(e)?e.source:Mr(e)?bv(e.value)?e.value.source:e.value:e,tee=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function S2(e,t,r){const n=je(e,r);if(n||D_(r))return{error:n,name:r};const a=r.split(".");for(;a.length;){const o=a.join("."),i=je(t,o),s=je(e,o);if(i&&!Array.isArray(i)&&r!==o)return{name:r};if(s&&s.type)return{name:o,error:s};a.pop()}return{name:r}}var ree=(e,t,r,n,a)=>a.isOnAll?!1:!r&&a.isOnTouch?!(t||e):(r?n.isOnBlur:a.isOnBlur)?!e:(r?n.isOnChange:a.isOnChange)?e:!0,nee=(e,t)=>!Qm(je(e,t)).length&&kr(e,t);const aee={mode:Ta.onSubmit,reValidateMode:Ta.onChange,shouldFocusError:!0};function oee(e={}){let t={...aee,...e},r={submitCount:0,isDirty:!1,isLoading:Ei(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},n={},a=Mr(t.defaultValues)||Mr(t.values)?wn(t.defaultValues||t.values)||{}:{},o=t.shouldUnregister?{}:wn(a),i={action:!1,mount:!1,watch:!1},s={mount:new Set,unMount:new Set,array:new Set,watch:new Set},u,l=0;const c={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={values:f0(),array:f0(),state:f0()},p=g2(t.mode),v=g2(t.reValidateMode),m=t.criteriaMode===Ta.all,g=z=>Y=>{clearTimeout(l),l=setTimeout(z,Y)},E=async z=>{if(c.isValid||z){const Y=t.resolver?Dn((await O()).errors):await P(n,!0);Y!==r.isValid&&d.state.next({isValid:Y})}},x=(z,Y)=>{(c.isValidating||c.validatingFields)&&((z||Array.from(s.mount)).forEach(te=>{te&&(Y?Wt(r.validatingFields,te,Y):kr(r.validatingFields,te))}),d.state.next({validatingFields:r.validatingFields,isValidating:!Dn(r.validatingFields)}))},b=(z,Y=[],te,ue,me=!0,he=!0)=>{if(ue&&te){if(i.action=!0,he&&Array.isArray(je(n,z))){const ve=te(je(n,z),ue.argA,ue.argB);me&&Wt(n,z,ve)}if(he&&Array.isArray(je(r.errors,z))){const ve=te(je(r.errors,z),ue.argA,ue.argB);me&&Wt(r.errors,z,ve),nee(r.errors,z)}if(c.touchedFields&&he&&Array.isArray(je(r.touchedFields,z))){const ve=te(je(r.touchedFields,z),ue.argA,ue.argB);me&&Wt(r.touchedFields,z,ve)}c.dirtyFields&&(r.dirtyFields=kp(a,o)),d.state.next({name:z,isDirty:R(z,Y),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else Wt(o,z,Y)},y=(z,Y)=>{Wt(r.errors,z,Y),d.state.next({errors:r.errors})},_=z=>{r.errors=z,d.state.next({errors:r.errors,isValid:!1})},h=(z,Y,te,ue)=>{const me=je(n,z);if(me){const he=je(o,z,dr(te)?je(a,z):te);dr(he)||ue&&ue.defaultChecked||Y?Wt(o,z,Y?he:h0(me._f)):I(z,he),i.mount&&E()}},w=(z,Y,te,ue,me)=>{let he=!1,ve=!1;const ee={name:z},K=!!(je(n,z)&&je(n,z)._f&&je(n,z)._f.disabled);if(!te||ue){c.isDirty&&(ve=r.isDirty,r.isDirty=ee.isDirty=R(),he=ve!==ee.isDirty);const Q=K||_s(je(a,z),Y);ve=!!(!K&&je(r.dirtyFields,z)),Q||K?kr(r.dirtyFields,z):Wt(r.dirtyFields,z,!0),ee.dirtyFields=r.dirtyFields,he=he||c.dirtyFields&&ve!==!Q}if(te){const Q=je(r.touchedFields,z);Q||(Wt(r.touchedFields,z,te),ee.touchedFields=r.touchedFields,he=he||c.touchedFields&&Q!==te)}return he&&me&&d.state.next(ee),he?ee:{}},S=(z,Y,te,ue)=>{const me=je(r.errors,z),he=c.isValid&&to(Y)&&r.isValid!==Y;if(e.delayError&&te?(u=g(()=>y(z,te)),u(e.delayError)):(clearTimeout(l),u=null,te?Wt(r.errors,z,te):kr(r.errors,z)),(te?!_s(me,te):me)||!Dn(ue)||he){const ve={...ue,...he&&to(Y)?{isValid:Y}:{},errors:r.errors,name:z};r={...r,...ve},d.state.next(ve)}},O=async z=>{x(z,!0);const Y=await t.resolver(o,t.context,eee(z||s.mount,n,t.criteriaMode,t.shouldUseNativeValidation));return x(z),Y},C=async z=>{const{errors:Y}=await O(z);if(z)for(const te of z){const ue=je(Y,te);ue?Wt(r.errors,te,ue):kr(r.errors,te)}else r.errors=Y;return Y},P=async(z,Y,te={valid:!0})=>{for(const ue in z){const me=z[ue];if(me){const{_f:he,...ve}=me;if(he){const ee=s.array.has(he.name);x([ue],!0);const K=await E2(me,o,m,t.shouldUseNativeValidation&&!Y,ee);if(x([ue]),K[he.name]&&(te.valid=!1,Y))break;!Y&&(je(K,he.name)?ee?XZ(r.errors,K,he.name):Wt(r.errors,he.name,K[he.name]):kr(r.errors,he.name))}ve&&await P(ve,Y,te)}}return te.valid},$=()=>{for(const z of s.unMount){const Y=je(n,z);Y&&(Y._f.refs?Y._f.refs.every(te=>!p0(te)):!p0(Y._f.ref))&&Se(z)}s.unMount=new Set},R=(z,Y)=>(z&&Y&&Wt(o,z,Y),!_s(ae(),a)),F=(z,Y,te)=>BM(z,s,{...i.mount?o:dr(Y)?a:no(z)?{[z]:Y}:Y},te,Y),A=z=>Qm(je(i.mount?o:a,z,e.shouldUnregister?je(a,z,[]):[])),I=(z,Y,te={})=>{const ue=je(n,z);let me=Y;if(ue){const he=ue._f;he&&(!he.disabled&&Wt(o,z,qM(Y,he)),me=yv(he.ref)&&fn(Y)?"":Y,VM(he.ref)?[...he.ref.options].forEach(ve=>ve.selected=me.includes(ve.value)):he.refs?zf(he.ref)?he.refs.length>1?he.refs.forEach(ve=>(!ve.defaultChecked||!ve.disabled)&&(ve.checked=Array.isArray(me)?!!me.find(ee=>ee===ve.value):me===ve.value)):he.refs[0]&&(he.refs[0].checked=!!me):he.refs.forEach(ve=>ve.checked=ve.value===me):z_(he.ref)?he.ref.value="":(he.ref.value=me,he.ref.type||d.values.next({name:z,values:{...o}})))}(te.shouldDirty||te.shouldTouch)&&w(z,me,te.shouldTouch,te.shouldDirty,!0),te.shouldValidate&&G(z)},U=(z,Y,te)=>{for(const ue in Y){const me=Y[ue],he=`${z}.${ue}`,ve=je(n,he);(s.array.has(z)||!xv(me)||ve&&!ve._f)&&!ql(me)?U(he,me,te):I(he,me,te)}},W=(z,Y,te={})=>{const ue=je(n,z),me=s.array.has(z),he=wn(Y);Wt(o,z,he),me?(d.array.next({name:z,values:{...o}}),(c.isDirty||c.dirtyFields)&&te.shouldDirty&&d.state.next({name:z,dirtyFields:kp(a,o),isDirty:R(z,he)})):ue&&!ue._f&&!fn(he)?U(z,he,te):I(z,he,te),y2(z,s)&&d.state.next({...r}),d.values.next({name:i.mount?z:void 0,values:{...o}})},T=async z=>{i.mount=!0;const Y=z.target;let te=Y.name,ue=!0;const me=je(n,te),he=()=>Y.type?h0(me._f):TM(z),ve=ee=>{ue=Number.isNaN(ee)||ee===je(o,te,ee)};if(me){let ee,K;const Q=he(),re=z.type===gv.BLUR||z.type===gv.FOCUS_OUT,le=!tee(me._f)&&!t.resolver&&!je(r.errors,te)&&!me._f.deps||ree(re,je(r.touchedFields,te),r.isSubmitted,v,p),Me=y2(te,s,re);Wt(o,te,Q),re?(me._f.onBlur&&me._f.onBlur(z),u&&u(0)):me._f.onChange&&me._f.onChange(z);const Qe=w(te,Q,re,!1),Be=!Dn(Qe)||Me;if(!re&&d.values.next({name:te,type:z.type,values:{...o}}),le)return c.isValid&&E(),Be&&d.state.next({name:te,...Me?{}:Qe});if(!re&&Me&&d.state.next({...r}),t.resolver){const{errors:Oe}=await O([te]);if(ve(Q),ue){const Je=S2(r.errors,n,te),nt=S2(Oe,n,Je.name||te);ee=nt.error,te=nt.name,K=Dn(Oe)}}else x([te],!0),ee=(await E2(me,o,m,t.shouldUseNativeValidation))[te],x([te]),ve(Q),ue&&(ee?K=!1:c.isValid&&(K=await P(n,!0)));ue&&(me._f.deps&&G(me._f.deps),S(te,K,ee,Qe))}},V=(z,Y)=>{if(je(r.errors,Y)&&z.focus)return z.focus(),1},G=async(z,Y={})=>{let te,ue;const me=wd(z);if(t.resolver){const he=await C(dr(z)?z:me);te=Dn(he),ue=z?!me.some(ve=>je(he,ve)):te}else z?(ue=(await Promise.all(me.map(async he=>{const ve=je(n,he);return await P(ve&&ve._f?{[he]:ve}:ve)}))).every(Boolean),!(!ue&&!r.isValid)&&E()):ue=te=await P(n);return d.state.next({...!no(z)||c.isValid&&te!==r.isValid?{}:{name:z},...t.resolver||!z?{isValid:te}:{},errors:r.errors}),Y.shouldFocus&&!ue&&_d(n,V,z?me:s.mount),ue},ae=z=>{const Y={...i.mount?o:a};return dr(z)?Y:no(z)?je(Y,z):z.map(te=>je(Y,te))},ie=(z,Y)=>({invalid:!!je((Y||r).errors,z),isDirty:!!je((Y||r).dirtyFields,z),error:je((Y||r).errors,z),isValidating:!!je(r.validatingFields,z),isTouched:!!je((Y||r).touchedFields,z)}),ye=z=>{z&&wd(z).forEach(Y=>kr(r.errors,Y)),d.state.next({errors:z?r.errors:{}})},be=(z,Y,te)=>{const ue=(je(n,z,{_f:{}})._f||{}).ref,me=je(r.errors,z)||{},{ref:he,message:ve,type:ee,...K}=me;Wt(r.errors,z,{...K,...Y,ref:ue}),d.state.next({name:z,errors:r.errors,isValid:!1}),te&&te.shouldFocus&&ue&&ue.focus&&ue.focus()},xe=(z,Y)=>Ei(z)?d.values.subscribe({next:te=>z(F(void 0,Y),te)}):F(z,Y,!0),Se=(z,Y={})=>{for(const te of z?wd(z):s.mount)s.mount.delete(te),s.array.delete(te),Y.keepValue||(kr(n,te),kr(o,te)),!Y.keepError&&kr(r.errors,te),!Y.keepDirty&&kr(r.dirtyFields,te),!Y.keepTouched&&kr(r.touchedFields,te),!Y.keepIsValidating&&kr(r.validatingFields,te),!t.shouldUnregister&&!Y.keepDefaultValue&&kr(a,te);d.values.next({values:{...o}}),d.state.next({...r,...Y.keepDirty?{isDirty:R()}:{}}),!Y.keepIsValid&&E()},Te=({disabled:z,name:Y,field:te,fields:ue,value:me})=>{if(to(z)&&i.mount||z){const he=z?void 0:dr(me)?h0(te?te._f:je(ue,Y)._f):me;Wt(o,Y,he),w(Y,he,!1,!1,!0)}},$e=(z,Y={})=>{let te=je(n,z);const ue=to(Y.disabled);return Wt(n,z,{...te||{},_f:{...te&&te._f?te._f:{ref:{name:z}},name:z,mount:!0,...Y}}),s.mount.add(z),te?Te({field:te,disabled:Y.disabled,name:z,value:Y.value}):h(z,!0,Y.value),{...ue?{disabled:Y.disabled}:{},...t.progressive?{required:!!Y.required,min:Vc(Y.min),max:Vc(Y.max),minLength:Vc(Y.minLength),maxLength:Vc(Y.maxLength),pattern:Vc(Y.pattern)}:{},name:z,onChange:T,onBlur:T,ref:me=>{if(me){$e(z,Y),te=je(n,z);const he=dr(me.value)&&me.querySelectorAll&&me.querySelectorAll("input,select,textarea")[0]||me,ve=ZZ(he),ee=te._f.refs||[];if(ve?ee.find(K=>K===he):he===te._f.ref)return;Wt(n,z,{_f:{...te._f,...ve?{refs:[...ee.filter(p0),he,...Array.isArray(je(a,z))?[{}]:[]],ref:{type:he.type,name:z}}:{ref:he}}}),h(z,!1,void 0,he)}else te=je(n,z,{}),te._f&&(te._f.mount=!1),(t.shouldUnregister||Y.shouldUnregister)&&!(IM(s.array,z)&&i.action)&&s.unMount.add(z)}}},_e=()=>t.shouldFocusError&&_d(n,V,s.mount),Ve=z=>{to(z)&&(d.state.next({disabled:z}),_d(n,(Y,te)=>{const ue=je(n,te);ue&&(Y.disabled=ue._f.disabled||z,Array.isArray(ue._f.refs)&&ue._f.refs.forEach(me=>{me.disabled=ue._f.disabled||z}))},0,!1))},Ie=(z,Y)=>async te=>{let ue;te&&(te.preventDefault&&te.preventDefault(),te.persist&&te.persist());let me=wn(o);if(d.state.next({isSubmitting:!0}),t.resolver){const{errors:he,values:ve}=await O();r.errors=he,me=ve}else await P(n);if(kr(r.errors,"root"),Dn(r.errors)){d.state.next({errors:{}});try{await z(me,te)}catch(he){ue=he}}else Y&&await Y({...r.errors},te),_e(),setTimeout(_e);if(d.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Dn(r.errors)&&!ue,submitCount:r.submitCount+1,errors:r.errors}),ue)throw ue},De=(z,Y={})=>{je(n,z)&&(dr(Y.defaultValue)?W(z,wn(je(a,z))):(W(z,Y.defaultValue),Wt(a,z,wn(Y.defaultValue))),Y.keepTouched||kr(r.touchedFields,z),Y.keepDirty||(kr(r.dirtyFields,z),r.isDirty=Y.defaultValue?R(z,wn(je(a,z))):R()),Y.keepError||(kr(r.errors,z),c.isValid&&E()),d.state.next({...r}))},Le=(z,Y={})=>{const te=z?wn(z):a,ue=wn(te),me=Dn(z),he=me?a:ue;if(Y.keepDefaultValues||(a=te),!Y.keepValues){if(Y.keepDirtyValues)for(const ve of s.mount)je(r.dirtyFields,ve)?Wt(he,ve,je(o,ve)):W(ve,je(he,ve));else{if(N_&&dr(z))for(const ve of s.mount){const ee=je(n,ve);if(ee&&ee._f){const K=Array.isArray(ee._f.refs)?ee._f.refs[0]:ee._f.ref;if(yv(K)){const Q=K.closest("form");if(Q){Q.reset();break}}}}n={}}o=e.shouldUnregister?Y.keepDefaultValues?wn(a):{}:wn(he),d.array.next({values:{...he}}),d.values.next({values:{...he}})}s={mount:Y.keepDirtyValues?s.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},i.mount=!c.isValid||!!Y.keepIsValid||!!Y.keepDirtyValues,i.watch=!!e.shouldUnregister,d.state.next({submitCount:Y.keepSubmitCount?r.submitCount:0,isDirty:me?!1:Y.keepDirty?r.isDirty:!!(Y.keepDefaultValues&&!_s(z,a)),isSubmitted:Y.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:me?{}:Y.keepDirtyValues?Y.keepDefaultValues&&o?kp(a,o):r.dirtyFields:Y.keepDefaultValues&&z?kp(a,z):Y.keepDirty?r.dirtyFields:{},touchedFields:Y.keepTouched?r.touchedFields:{},errors:Y.keepErrors?r.errors:{},isSubmitSuccessful:Y.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1})},We=(z,Y)=>Le(Ei(z)?z(o):z,Y);return{control:{register:$e,unregister:Se,getFieldState:ie,handleSubmit:Ie,setError:be,_executeSchema:O,_getWatch:F,_getDirty:R,_updateValid:E,_removeUnmounted:$,_updateFieldArray:b,_updateDisabledField:Te,_getFieldArray:A,_reset:Le,_resetDefaultValues:()=>Ei(t.defaultValues)&&t.defaultValues().then(z=>{We(z,t.resetOptions),d.state.next({isLoading:!1})}),_updateFormState:z=>{r={...r,...z}},_disableForm:Ve,_subjects:d,_proxyFormState:c,_setErrors:_,get _fields(){return n},get _formValues(){return o},get _state(){return i},set _state(z){i=z},get _defaultValues(){return a},get _names(){return s},set _names(z){s=z},get _formState(){return r},set _formState(z){r=z},get _options(){return t},set _options(z){t={...t,...z}}},trigger:G,register:$e,handleSubmit:Ie,watch:xe,setValue:W,getValues:ae,reset:We,resetField:De,clearErrors:ye,unregister:Se,setError:be,setFocus:(z,Y={})=>{const te=je(n,z),ue=te&&te._f;if(ue){const me=ue.refs?ue.refs[0]:ue.ref;me.focus&&(me.focus(),Y.shouldSelect&&me.select())}},getFieldState:ie}}function KM(e={}){const t=Pe.useRef(),r=Pe.useRef(),[n,a]=Pe.useState({isDirty:!1,isValidating:!1,isLoading:Ei(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Ei(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...oee(e),formState:n});const o=t.current.control;return o._options=e,B_({subject:o._subjects.state,next:i=>{NM(i,o._proxyFormState,o._updateFormState,!0)&&a({...o._formState})}}),Pe.useEffect(()=>o._disableForm(e.disabled),[o,e.disabled]),Pe.useEffect(()=>{if(o._proxyFormState.isDirty){const i=o._getDirty();i!==n.isDirty&&o._subjects.state.next({isDirty:i})}},[o,n.isDirty]),Pe.useEffect(()=>{e.values&&!_s(e.values,r.current)?(o._reset(e.values,o._options.resetOptions),r.current=e.values,a(i=>({...i}))):o._resetDefaultValues()},[e.values,o]),Pe.useEffect(()=>{e.errors&&o._setErrors(e.errors)},[e.errors,o]),Pe.useEffect(()=>{o._state.mount||(o._updateValid(),o._state.mount=!0),o._state.watch&&(o._state.watch=!1,o._subjects.state.next({...o._formState})),o._removeUnmounted()}),Pe.useEffect(()=>{e.shouldUnregister&&o._subjects.values.next({values:o._getWatch()})},[e.shouldUnregister,o]),t.current.formState=LM(n,o),t.current}var GM=f.createContext(void 0),f1=function(){return f1=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]0,u=f.useState(!1),l=u[0],c=u[1],d=!e||!s||o,p=q6(function(v){var m=v.currentLocation,g=v.nextLocation;if(d)return!1;var E=t||m.pathname,x=g.pathname.startsWith(E),b=g.pathname.startsWith("".concat(E,"/show")),y=x&&!b;return!y});f.useEffect(function(){if(p.state==="blocked"){if(d){p.proceed();return}c(!0)}},[p.state]),f.useEffect(function(){if(l){var v=window.confirm(n("ra.message.unsaved_changes"));v?p.proceed&&p.proceed():p.reset&&p.reset()}c(!1)},[l,n]),f.useEffect(function(){var v=function(m){m.preventDefault(),m.returnValue=!0};if(!d)return window.addEventListener("beforeunload",v),function(){window.removeEventListener("beforeunload",v)}},[d])},fee=function(e){var t=e.enable,r=t===void 0?!0:t,n=e.formRootPathName,a=e.formControl;return dee(r,n,a),null};function pee(e,t){var r=VI({},hee(e,t),t);return r}function hee(e,t){return typeof e=="object"?e:typeof e=="function"?e(t):{}}var YM=function(e,t){var r=function(n,a){Object.entries(n).forEach(function(o){var i=o[0],s=o[1];if(typeof s=="object"){r(s,"".concat(a).concat(i,"."));return}t("".concat(a).concat(i),{type:"server",message:s.toString()})})};r(e,"")},vee=function(e,t){t===void 0&&(t=!0);var r=Xm(e?{control:e}:void 0),n=r.submitCount,a=r.errors,o=f.useRef(n),i=gn();f.useEffect(function(){var s,u;if(n>o.current&&t&&(o.current=n,Object.keys(a).length>0)){var l=typeof((u=(s=a.root)===null||s===void 0?void 0:s.serverError)===null||u===void 0?void 0:u.message)=="string"?a.root.serverError.message:void 0;i(l||"ra.message.invalid_form",{type:"error"})}},[a,n,i,t])},mee=function(e,t){t===void 0&&(t={});var r={};return Object.keys(e).forEach(function(n){e[n]==null||e[n]===""?t.hasOwnProperty(n)&&(r[n]=null):r[n]=e[n]}),r},h1=function(){return h1=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,Ki=function(e){return typeof e>"u"||e===null||e===""||Array.isArray(e)&&e.length===0};function _ee(e){return e?e.hasOwnProperty("message"):!1}var Gi=function(e,t,r,n){return typeof e=="function"?e({args:t,value:r,values:n}):t?{message:e,args:t}:e},Qi=function(e){return cI(e,function(){for(var t=[],r=0;re?Gi(t,{max:e},r,n):void 0}});Qi(function(e,t){return t===void 0&&(t="ra.validation.minValue"),function(r,n){return!Ki(r)&&re?Gi(t,{max:e},r,n):void 0}});Qi(function(e){return e===void 0&&(e="ra.validation.number"),function(t,r){return!Ki(t)&&isNaN(Number(t))?Gi(e,void 0,t,r):void 0}});var Cee=cI(function(e,t){return t===void 0&&(t="ra.validation.regex"),function(r,n){return!Ki(r)&&typeof r=="string"&&!e.test(r)?Gi(t,{pattern:e},r,n):void 0}},function(e,t){return e.toString()+t});Qi(function(e){return e===void 0&&(e="ra.validation.email"),Cee(wee,e)});var Pee=function(e){var t=e.args;return{message:"ra.validation.oneOf",args:t}};Qi(function(e,t){return t===void 0&&(t=Pee),function(r,n){return!Ki(r)&&e.indexOf(r)===-1?Gi(t,{list:e},r,n):void 0}});var $ee=f.createContext(null),kee=function(){var e=f.useContext(GM);return e},Ree=function(e){var t=e.inputProps,r=e.isArrayInput,n=e.fieldArrayInputControl,a=t.defaultValue,o=t.source,i=CA(o),s=yn(t),u=hc(),l=u.getValues,c=u.resetField,d=u.formState,p=u.reset,v=fr(s,i),m=fr(l(),i),g=d.dirtyFields,E=Object.keys(g).includes(i);f.useEffect(function(){if(!(a==null||m!=null||v!=null||E)){var x=i.split(".").some(function(_){return jee.test(_)});if(x){var b=i.split(".").slice(0,-1).join("."),y=fr(l(),b);if(y==null)return}if(r){if(!n)throw new Error("useApplyInputDefaultValues: No fieldArrayInputControl passed in props for array input usage");n.replace(a),p({},{keepValues:!0});return}c(i,{defaultValue:a})}})},jee=/^\d+$/,Tee=function(){var e=f.useContext($ee);return e},Iee=function(e){return e&&e.isRequired?!0:Array.isArray(e)?e.some(function(t){return t.isRequired}):!1},Kl=function(){return Kl=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((r,n)=>!Object.is(r,t[n]))}var aA=function(){return f.useContext(rA)},g1=function(){return g1=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]0||m.customRoutesWithLayout.length>0||m.customRoutesWithoutLayout.length>0?"ready":"empty"),v&&d(v),[2]})})};r||p()},[e,n,r,s,t,i,c]),[o,l]},ote=function(e){var t=f.useState(e),r=t[0],n=t[1],a=f.useCallback(function(o){n(function(i){return{customRoutesWithLayout:i.customRoutesWithLayout.concat(o.customRoutesWithLayout),customRoutesWithoutLayout:i.customRoutesWithoutLayout.concat(o.customRoutesWithoutLayout),resources:i.resources.concat(o.resources)}})},[]);return[r,n,a]},ite=function(e,t){var r=aA(),n=r.register,a=r.unregister;f.useEffect(function(){return e.forEach(function(o){if(typeof o.type.registerResource=="function"){var i=o.type.registerResource(o.props,t);n(i)}else throw new Error("When using a custom Resource element, it must have a static registerResource method accepting its props and returning a ResourceDefinition")}),function(){e.forEach(function(o){if(typeof o.type.registerResource=="function"){var i=o.type.registerResource(o.props,t);a(i)}else throw new Error("When using a custom Resource element, it must have a static registerResource method accepting its props and returning a ResourceDefinition")})}},[t,n,e,a])},ste=function(e){var t=e.children,r=e.resources,n=e.customRoutesWithLayout,a=e.customRoutesWithoutLayout;return oA(t)?"loading":r.length>0||n.length>0||a.length>0?"ready":"empty"},oA=function(e){var t=Array.isArray(e)?e:[e],r=t.filter(function(n){return typeof n=="function"});if(r.length>1)throw new Error("You can only provide one function child to AdminRouter");return r.length===0?null:r[0]},sd=function(e){var t=[],r=[],n=[];return typeof e=="function"?{customRoutesWithLayout:[],customRoutesWithoutLayout:[],resources:[]}:(f.Children.forEach(e,function(a){if(f.isValidElement(a)){if(a.type===f.Fragment){var o=sd(a.props.children);t.push.apply(t,o.customRoutesWithLayout),r.push.apply(r,o.customRoutesWithoutLayout),n.push.apply(n,o.resources)}if(a.type.raName==="CustomRoutes"){var i=a;i.props.noLayout?r.push(i.props.children):t.push(i.props.children)}else a.type.raName==="Resource"&&n.push(a)}}),{customRoutesWithLayout:t,customRoutesWithoutLayout:r,resources:n})},iA=f.createContext(!1),lte=iA.Provider,ute=function(){return f.useContext(iA)},cte=function(e){Qee();var t=qi(),r=nte(e.children),n=r.customRoutesWithLayout,a=r.customRoutesWithoutLayout,o=r.status,i=r.resources,s=e.layout,u=e.catchAll,l=e.dashboard,c=e.loading,d=e.requireAuth,p=e.ready,v=f.useState(d),m=v[0],g=v[1],E=f.useState(d),x=E[0],b=E[1],y=jA();if(f.useEffect(function(){d&&y(void 0,!1).then(function(){g(!1)}).catch(function(){}).finally(function(){b(!1)})},[y,d]),o==="empty"){if(!p)throw new Error("The admin is empty. Please provide an empty component, or pass Resource or CustomRoutes as children.");return f.createElement(p,null)}return o==="loading"||x?f.createElement(Wl,null,a,f.createElement(On,{path:"*",element:f.createElement("div",{style:{height:"100vh"}},f.createElement(c,null))})):m?f.createElement(Wl,null,a,f.createElement(On,{path:"*",element:f.createElement(rre,null)})):f.createElement(Wl,null,a,f.createElement(On,{path:"/*",element:f.createElement(lte,{value:!!l},f.createElement(s,null,f.createElement(Wl,null,n,f.Children.map(i,function(_){return f.createElement(On,{key:_.props.name,path:"".concat(_.props.name,"/*"),element:_})}),f.createElement(On,{path:"/",element:l?f.createElement(Gte,{authParams:dte,component:l}):i.length>0?f.createElement(G6,{to:t({resource:i[0].props.name,type:"list"})}):null}),f.createElement(On,{path:"*",element:f.createElement(u,null)}))))}))},dte={params:{route:"dashboard"}},sA=f.createContext("React Admin"),fte=sA.Provider,lA=function(){return f.useContext(sA)},pte=function(e){var t=e.children;return f.createElement(f.Fragment,null,t)},hte=function(e){var t=e.error,r=e.errorInfo,n=e.resetErrorBoundary;return eA(n),f.createElement("div",null,f.createElement("h1",null,"Error"),f.createElement("pre",null,t.message,r==null?void 0:r.componentStack))},vte=function(e){var t=f.useState({}),r=t[0],n=t[1],a=e.authCallbackPage,o=a===void 0?!1:a,i=e.catchAll,s=i===void 0?j2:i,u=e.children,l=e.dashboard,c=e.disableTelemetry,d=c===void 0?!1:c,p=e.error,v=p===void 0?hte:p,m=e.layout,g=m===void 0?pte:m,E=e.loading,x=E===void 0?j2:E,b=e.loginPage,y=b===void 0?!1:b,_=e.ready,h=_===void 0?jte:_,w=e.requireAuth,S=w===void 0?!1:w,O=e.title,C=O===void 0?"React Admin":O;f.useEffect(function(){if(!(d||typeof window>"u"||typeof window.location>"u"||typeof Image>"u")){var $=new Image;$.src="https://react-admin-telemetry.marmelab.com/react-admin-telemetry?domain=".concat(window.location.hostname)}},[d]);var P=function($,R){return n(R)};return f.createElement(fte,{value:C},f.createElement(nA,{onError:P,fallbackRender:function($){var R=$.error,F=$.resetErrorBoundary;return f.createElement("div",{style:{minHeight:"100vh"}},f.createElement(v,{error:R,errorInfo:r,resetErrorBoundary:F}))}},f.createElement(Wl,null,y!==!1&&y!==!0?f.createElement(On,{path:"/login",element:R2(y)}):null,o!==!1&&o!==!0?f.createElement(On,{path:"/auth-callback",element:R2(o)}):null,f.createElement(On,{path:"/*",element:f.createElement(cte,{catchAll:s,dashboard:l,layout:g,loading:x,requireAuth:S,ready:h},u)}))))},R2=function(e){return f.isValidElement(e)?e:f.createElement(e)},j2=function(){return null},uA=f.createContext(void 0),mc=function(e){var t=e.children,r=e.value;return r?f.createElement(uA.Provider,{value:r},t):t},mte=function(e){var t=e.value,r=e.children;return t?f.createElement(mc,{value:t},r):r},cA={exports:{}},Lt={};/** - * @license React - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var W_=Symbol.for("react.element"),H_=Symbol.for("react.portal"),Ym=Symbol.for("react.fragment"),Jm=Symbol.for("react.strict_mode"),Zm=Symbol.for("react.profiler"),eg=Symbol.for("react.provider"),tg=Symbol.for("react.context"),gte=Symbol.for("react.server_context"),rg=Symbol.for("react.forward_ref"),ng=Symbol.for("react.suspense"),ag=Symbol.for("react.suspense_list"),og=Symbol.for("react.memo"),ig=Symbol.for("react.lazy"),yte=Symbol.for("react.offscreen"),dA;dA=Symbol.for("react.module.reference");function ba(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case W_:switch(e=e.type,e){case Ym:case Zm:case Jm:case ng:case ag:return e;default:switch(e=e&&e.$$typeof,e){case gte:case tg:case rg:case ig:case og:case eg:return e;default:return t}}case H_:return t}}}Lt.ContextConsumer=tg;Lt.ContextProvider=eg;Lt.Element=W_;Lt.ForwardRef=rg;Lt.Fragment=Ym;Lt.Lazy=ig;Lt.Memo=og;Lt.Portal=H_;Lt.Profiler=Zm;Lt.StrictMode=Jm;Lt.Suspense=ng;Lt.SuspenseList=ag;Lt.isAsyncMode=function(){return!1};Lt.isConcurrentMode=function(){return!1};Lt.isContextConsumer=function(e){return ba(e)===tg};Lt.isContextProvider=function(e){return ba(e)===eg};Lt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===W_};Lt.isForwardRef=function(e){return ba(e)===rg};Lt.isFragment=function(e){return ba(e)===Ym};Lt.isLazy=function(e){return ba(e)===ig};Lt.isMemo=function(e){return ba(e)===og};Lt.isPortal=function(e){return ba(e)===H_};Lt.isProfiler=function(e){return ba(e)===Zm};Lt.isStrictMode=function(e){return ba(e)===Jm};Lt.isSuspense=function(e){return ba(e)===ng};Lt.isSuspenseList=function(e){return ba(e)===ag};Lt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ym||e===Zm||e===Jm||e===ng||e===ag||e===yte||typeof e=="object"&&e!==null&&(e.$$typeof===ig||e.$$typeof===og||e.$$typeof===eg||e.$$typeof===tg||e.$$typeof===rg||e.$$typeof===dA||e.getModuleId!==void 0)};Lt.typeOf=ba;cA.exports=Lt;var bte=cA.exports,Sv=function(e){var t=e.create,r=e.edit,n=e.list,a=e.name,o=e.show;return f.createElement(mc,{value:a},f.createElement(Wl,null,t&&f.createElement(On,{path:"create/*",element:Rp(t)}),o&&f.createElement(On,{path:":id/show/*",element:Rp(o)}),r&&f.createElement(On,{path:":id/*",element:Rp(r)}),n&&f.createElement(On,{path:"/*",element:f.createElement(fX,{storeKey:"".concat(a,".list.scrollPosition")},Rp(n))}),e.children))},Rp=function(e){if(f.isValidElement(e))return e;if(bte.isValidElementType(e)){var t=e;return f.createElement(t,null)}return null};Sv.raName="Resource";Sv.registerResource=function(e){var t=e.create,r=e.edit,n=e.icon,a=e.list,o=e.name,i=e.options,s=e.show,u=e.recordRepresentation,l=e.hasCreate,c=e.hasEdit,d=e.hasShow;return{name:o,options:i,hasList:!!a,hasCreate:!!t||!!l,hasEdit:!!r||!!c,hasShow:!!s||!!d,icon:n,recordRepresentation:u}};var q_=f.createContext(void 0),xte={getSource:function(e){return e},getLabel:function(e){return e}},fA=q_.Provider,wte=function(){var e=f.useContext(q_);return e||xte},_te=function(){return f.useContext(q_)},Uf=function(){return aA().definitions},Tt={};/*! - * inflection - * Copyright(c) 2011 Ben Lin - * MIT Licensed - * - * @fileoverview - * A port of inflection-js to node.js module. - */Object.defineProperty(Tt,"__esModule",{value:!0});var pA=Tt.transform=Tt.ordinalize=Tt.foreignKey=Tt.classify=Tt.tableize=Tt.demodulize=Tt.titleize=Tt.dasherize=Tt.capitalize=lg=Tt.humanize=Tt.underscore=Tt.camelize=yA=Tt.inflect=Q_=Tt.singularize=gA=Tt.pluralize=void 0;const Ov=["accommodation","adulthood","advertising","advice","aggression","aid","air","aircraft","alcohol","anger","applause","arithmetic","assistance","athletics","bacon","baggage","beef","biology","blood","botany","bread","butter","carbon","cardboard","cash","chalk","chaos","chess","crossroads","countryside","dancing","deer","dignity","dirt","dust","economics","education","electricity","engineering","enjoyment","envy","equipment","ethics","evidence","evolution","fame","fiction","flour","flu","food","fuel","fun","furniture","gallows","garbage","garlic","genetics","gold","golf","gossip","gratitude","grief","guilt","gymnastics","happiness","hardware","harm","hate","hatred","health","heat","help","homework","honesty","honey","hospitality","housework","humour","hunger","hydrogen","ice","importance","inflation","information","innocence","iron","irony","jam","jewelry","judo","karate","knowledge","lack","laughter","lava","leather","leisure","lightning","linguine","linguini","linguistics","literature","litter","livestock","logic","loneliness","luck","luggage","macaroni","machinery","magic","management","mankind","marble","mathematics","mayonnaise","measles","methane","milk","minus","money","mud","music","mumps","nature","news","nitrogen","nonsense","nurture","nutrition","obedience","obesity","oxygen","pasta","patience","physics","poetry","pollution","poverty","pride","psychology","publicity","punctuation","quartz","racism","relaxation","reliability","research","respect","revenge","rice","rubbish","rum","safety","scenery","seafood","seaside","series","shame","sheep","shopping","sleep","smoke","smoking","snow","soap","software","soil","spaghetti","species","steam","stuff","stupidity","sunshine","symmetry","tennis","thirst","thunder","timber","traffic","transportation","trust","underwear","unemployment","unity","validity","veal","vegetation","vegetarianism","vengeance","violence","vitality","warmth","wealth","weather","welfare","wheat","wildlife","wisdom","yoga","zinc","zoology"],pe={plural:{men:new RegExp("^(m|wom)en$","gi"),people:new RegExp("(pe)ople$","gi"),children:new RegExp("(child)ren$","gi"),tia:new RegExp("([ti])a$","gi"),analyses:new RegExp("((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$","gi"),databases:new RegExp("(database)s$","gi"),drives:new RegExp("(drive)s$","gi"),hives:new RegExp("(hi|ti)ves$","gi"),curves:new RegExp("(curve)s$","gi"),lrves:new RegExp("([lr])ves$","gi"),aves:new RegExp("([a])ves$","gi"),foves:new RegExp("([^fo])ves$","gi"),movies:new RegExp("(m)ovies$","gi"),aeiouyies:new RegExp("([^aeiouy]|qu)ies$","gi"),series:new RegExp("(s)eries$","gi"),xes:new RegExp("(x|ch|ss|sh)es$","gi"),mice:new RegExp("([m|l])ice$","gi"),buses:new RegExp("(bus)es$","gi"),oes:new RegExp("(o)es$","gi"),shoes:new RegExp("(shoe)s$","gi"),crises:new RegExp("(cris|ax|test)es$","gi"),octopuses:new RegExp("(octop|vir)uses$","gi"),aliases:new RegExp("(alias|canvas|status|campus)es$","gi"),summonses:new RegExp("^(summons|bonus)es$","gi"),oxen:new RegExp("^(ox)en","gi"),matrices:new RegExp("(matr)ices$","gi"),vertices:new RegExp("(vert|ind)ices$","gi"),feet:new RegExp("^feet$","gi"),teeth:new RegExp("^teeth$","gi"),geese:new RegExp("^geese$","gi"),quizzes:new RegExp("(quiz)zes$","gi"),whereases:new RegExp("^(whereas)es$","gi"),criteria:new RegExp("^(criteri)a$","gi"),genera:new RegExp("^genera$","gi"),ss:new RegExp("ss$","gi"),s:new RegExp("s$","gi")},singular:{man:new RegExp("^(m|wom)an$","gi"),person:new RegExp("(pe)rson$","gi"),child:new RegExp("(child)$","gi"),drive:new RegExp("(drive)$","gi"),ox:new RegExp("^(ox)$","gi"),axis:new RegExp("(ax|test)is$","gi"),octopus:new RegExp("(octop|vir)us$","gi"),alias:new RegExp("(alias|status|canvas|campus)$","gi"),summons:new RegExp("^(summons|bonus)$","gi"),bus:new RegExp("(bu)s$","gi"),buffalo:new RegExp("(buffal|tomat|potat)o$","gi"),tium:new RegExp("([ti])um$","gi"),sis:new RegExp("sis$","gi"),ffe:new RegExp("(?:([^f])fe|([lr])f)$","gi"),hive:new RegExp("(hi|ti)ve$","gi"),aeiouyy:new RegExp("([^aeiouy]|qu)y$","gi"),x:new RegExp("(x|ch|ss|sh)$","gi"),matrix:new RegExp("(matr)ix$","gi"),vertex:new RegExp("(vert|ind)ex$","gi"),mouse:new RegExp("([m|l])ouse$","gi"),foot:new RegExp("^foot$","gi"),tooth:new RegExp("^tooth$","gi"),goose:new RegExp("^goose$","gi"),quiz:new RegExp("(quiz)$","gi"),whereas:new RegExp("^(whereas)$","gi"),criterion:new RegExp("^(criteri)on$","gi"),genus:new RegExp("^genus$","gi"),s:new RegExp("s$","gi"),common:new RegExp("$","gi")}},hA=[[pe.plural.men],[pe.plural.people],[pe.plural.children],[pe.plural.tia],[pe.plural.analyses],[pe.plural.databases],[pe.plural.drives],[pe.plural.hives],[pe.plural.curves],[pe.plural.lrves],[pe.plural.foves],[pe.plural.aeiouyies],[pe.plural.series],[pe.plural.movies],[pe.plural.xes],[pe.plural.mice],[pe.plural.buses],[pe.plural.oes],[pe.plural.shoes],[pe.plural.crises],[pe.plural.octopuses],[pe.plural.aliases],[pe.plural.summonses],[pe.plural.oxen],[pe.plural.matrices],[pe.plural.feet],[pe.plural.teeth],[pe.plural.geese],[pe.plural.quizzes],[pe.plural.whereases],[pe.plural.criteria],[pe.plural.genera],[pe.singular.man,"$1en"],[pe.singular.person,"$1ople"],[pe.singular.child,"$1ren"],[pe.singular.drive,"$1s"],[pe.singular.ox,"$1en"],[pe.singular.axis,"$1es"],[pe.singular.octopus,"$1uses"],[pe.singular.alias,"$1es"],[pe.singular.summons,"$1es"],[pe.singular.bus,"$1ses"],[pe.singular.buffalo,"$1oes"],[pe.singular.tium,"$1a"],[pe.singular.sis,"ses"],[pe.singular.ffe,"$1$2ves"],[pe.singular.hive,"$1ves"],[pe.singular.aeiouyy,"$1ies"],[pe.singular.matrix,"$1ices"],[pe.singular.vertex,"$1ices"],[pe.singular.x,"$1es"],[pe.singular.mouse,"$1ice"],[pe.singular.foot,"feet"],[pe.singular.tooth,"teeth"],[pe.singular.goose,"geese"],[pe.singular.quiz,"$1zes"],[pe.singular.whereas,"$1es"],[pe.singular.criterion,"$1a"],[pe.singular.genus,"genera"],[pe.singular.s,"s"],[pe.singular.common,"s"]],vA=[[pe.singular.man],[pe.singular.person],[pe.singular.child],[pe.singular.drive],[pe.singular.ox],[pe.singular.axis],[pe.singular.octopus],[pe.singular.alias],[pe.singular.summons],[pe.singular.bus],[pe.singular.buffalo],[pe.singular.tium],[pe.singular.sis],[pe.singular.ffe],[pe.singular.hive],[pe.singular.aeiouyy],[pe.singular.x],[pe.singular.matrix],[pe.singular.mouse],[pe.singular.foot],[pe.singular.tooth],[pe.singular.goose],[pe.singular.quiz],[pe.singular.whereas],[pe.singular.criterion],[pe.singular.genus],[pe.plural.men,"$1an"],[pe.plural.people,"$1rson"],[pe.plural.children,"$1"],[pe.plural.databases,"$1"],[pe.plural.drives,"$1"],[pe.plural.genera,"genus"],[pe.plural.criteria,"$1on"],[pe.plural.tia,"$1um"],[pe.plural.analyses,"$1$2sis"],[pe.plural.hives,"$1ve"],[pe.plural.curves,"$1"],[pe.plural.lrves,"$1f"],[pe.plural.aves,"$1ve"],[pe.plural.foves,"$1fe"],[pe.plural.movies,"$1ovie"],[pe.plural.aeiouyies,"$1y"],[pe.plural.series,"$1eries"],[pe.plural.xes,"$1"],[pe.plural.mice,"$1ouse"],[pe.plural.buses,"$1"],[pe.plural.oes,"$1"],[pe.plural.shoes,"$1"],[pe.plural.crises,"$1is"],[pe.plural.octopuses,"$1us"],[pe.plural.aliases,"$1"],[pe.plural.summonses,"$1"],[pe.plural.oxen,"$1"],[pe.plural.matrices,"$1ix"],[pe.plural.vertices,"$1ex"],[pe.plural.feet,"foot"],[pe.plural.teeth,"tooth"],[pe.plural.geese,"goose"],[pe.plural.quizzes,"$1"],[pe.plural.whereases,"$1"],[pe.plural.ss,"ss"],[pe.plural.s,""]],Ete=["and","or","nor","a","an","the","so","but","to","of","at","by","from","into","on","onto","off","out","in","over","with","for"],Ste=new RegExp("(_ids|_id)$","g"),mA=new RegExp("_","g"),Ote=new RegExp("[ _]","g"),Cte=new RegExp("([A-Z])","g"),Pte=new RegExp("^_");function Cv(e,t,r,n){if(n)return n;if(r.includes(e.toLocaleLowerCase()))return e;for(const a of t)if(e.match(a[0]))return a[1]!==void 0?e.replace(a[0],a[1]):e;return e}function K_(e,t){return Cv(e,hA,Ov,t)}var gA=Tt.pluralize=K_;function G_(e,t){return Cv(e,vA,Ov,t)}var Q_=Tt.singularize=G_;function $te(e,t,r,n){return isNaN(t)?e:t===1?Cv(e,vA,Ov,r):Cv(e,hA,Ov,n)}var yA=Tt.inflect=$te;function X_(e,t){const r=e.split("/"),n=r.length;let a,o,i,s;for(let u=0;u1?gA(r):Q_(r))});return o}},At=function(e){var t=f.useContext(uA);return e&&e.resource||t},Xi=function(e){var t=At(e),r=Uf(),n=e||{},a=n.hasCreate,o=n.hasEdit,i=n.hasList,s=n.hasShow,u=n.recordRepresentation,l=f.useMemo(function(){return F_({},{hasCreate:a,hasEdit:o,hasList:i,hasShow:s,recordRepresentation:u},t?r[t]:{})},[t,r,a,o,i,s,u]);return l},J_=function(e){var t=Xi({resource:e}).recordRepresentation;return f.useCallback(function(r){return r?typeof t=="function"?t(r):typeof t=="string"?fr(r,t):f.isValidElement(t)?t:(r==null?void 0:r.name)!=null&&(r==null?void 0:r.name)!==""?r.name:(r==null?void 0:r.title)!=null&&(r==null?void 0:r.title)!==""?r.title:(r==null?void 0:r.label)!=null&&(r==null?void 0:r.label)!==""?r.label:(r==null?void 0:r.reference)!=null&&(r==null?void 0:r.reference)!==""?r.reference:"#".concat(r.id):""},[t])},CA=function(e){var t=wte();return t.getSource(e)},PA=function(){var e=ot(),t=At(),r=_te();return f.useCallback(function(n){var a=n.source,o=n.label,i=n.resource;return o===!1||o===""?null:o&&typeof o!="string"?o:e.apply(void 0,Tte({label:o,defaultLabel:a?r==null?void 0:r.getLabel(a):void 0,resource:i,resourceFromContext:t,source:a}))},[t,e,r])},$A=function(e){var t=e.source,r=e.label,n=e.resource,a=e.isRequired,o=PA();if(r===!0)throw new Error("Label parameter must be a string, a ReactElement or false");return r===!1||r===""?null:r&&typeof r!="string"?r:f.createElement("span",null,o({label:r,resource:n,source:t}),a&&f.createElement("span",{"aria-hidden":"true"}," *"))};$A.displayName="FieldTitle";const lf=f.memo($A),jte=function(){return f.createElement("span",null)},Z_=function(e,t){};var Tte=function(e){if(!e)return[""];var t=e.label,r=e.defaultLabel,n=e.resource,a=e.resourceFromContext,o=e.source;if(typeof t<"u")return[t,{_:t}];if(typeof o>"u")return[""];var i=Ite(o),s=i.sourceWithoutDigits,u=i.sourceSuffix,l=pA(u.replace(/\./g," "),["underscore","humanize"]);return n?[T2(n,s),{_:l}]:r?[r,{_:l}]:[T2(a||"undefined",s),{_:l}]},T2=function(e,t){return"resources.".concat(e,".fields.").concat(t)},Ite=function(e){var t=e.replace(/\.\d+\./g,"."),r=e.split("."),n;r.forEach(function(o,i){Mte(o)&&(n=i)});var a=n!=null?r.slice(n+1).join("."):e;return{sourceWithoutDigits:t,sourceSuffix:a}},Mte=function(e){for(var t=e.length-1;t>=0;t--){var r=e.charCodeAt(t);if(r<48||r>57)return!1}return!0},Ate=typeof window<"u"?f.useLayoutEffect:f.useEffect,Kt=function(e){var t=f.useRef(function(){throw new Error("Cannot call an event handler while rendering.")});return Ate(function(){t.current=e}),f.useCallback(function(){for(var r=[],n=0;n"u"?t:p)});return function(){return d()}},[e,o,t,n,s]);var l=Kt(function(c,d){var p=typeof c=="function"?c(s):c;a(e,typeof p>"u"?typeof d>"u"?t:d:p)});return[s,l]},Fte=function(e){var t=Bm().removeItem;return f.useCallback(function(r){if(typeof r>"u"&&typeof e>"u")throw new Error("You must provide a key to remove an item from the store");return t(r??e)},[t,e])},Lte=function(e){var t=Bm().removeItems;return f.useCallback(function(r){if(typeof r>"u"&&typeof e>"u")throw new Error("You must provide a key to remove an item from the store");return t(r??e)},[t,e])},Nte=function(){var e=Bm().reset;return e},yc=function(){var e=Ko(),t=po(),r=Nte(),n=vo(),a=f.useRef(n),o=mn(),i=f.useRef(o),s=Hi(),u=Xa("".concat(s,"/").concat(km.loginUrl));f.useEffect(function(){i.current=o,a.current=n},[o,n]);var l=f.useCallback(function(c,d,p){return c===void 0&&(c={}),d===void 0&&(d=u),p===void 0&&(p=!0),e?e.logout(c).then(function(v){if(v===!1||d===!1){r(),t.clear();return}var m=v||d;if(m!=null&&m.startsWith("http"))return r(),t.clear(),window.location.href=m,m;var g=m.split("?"),E={pathname:g[0]},x={};return p&&i.current&&i.current.pathname&&(x={state:{nextPathname:i.current.pathname,nextSearch:i.current.search}}),g[1]&&(E.search=g[1]),a.current(E,x),r(),t.clear(),v}):(a.current({pathname:u},{state:{nextPathname:i.current&&i.current.pathname}}),r(),t.clear(),Promise.resolve())},[e,r,u,t]);return l},ps=function(){return ps=Object.assign||function(e){for(var t,r=1,n=arguments.length;r"u"||!e.message?t:e.message},M2=function(){},hs=function(){return hs=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]"),bc(t);var i=RA(t).permissions;if(a)return f.createElement(a,Sd({permissions:i},o));if(n)return n(Sd({permissions:i},o));if(r)return r(Sd({permissions:i},o))},Qte=function(){var e=Ko(),t=mn(),r=t.state,n=vo(),a=Hi(),o=RI().resetNotifications,i=r&&r.nextPathname,s=r&&r.nextSearch,u=Xa("".concat(a,"/").concat(km.afterLoginUrl)),l=f.useCallback(function(c,d){return c===void 0&&(c={}),e?e.login(c).then(function(p){if(o(),p&&p.hasOwnProperty("redirectTo"))p&&n(p.redirectTo);else{var v=d||i+s||u;n(v)}return p}):(o(),n(u),Promise.resolve())},[e,n,i,s,o,u]);return l},Xte="AUTH_LOGIN",Yte="AUTH_CHECK",Jte="AUTH_ERROR",Zte="AUTH_LOGOUT",ere="AUTH_GET_PERMISSIONS";const tre=function(e){var t=function(){for(var r=[],n=0;n"u"||!e.message?t:e.message},Od=function(){return Od=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]? If you don't want to use Configurable, you can use the useStore hook instead.");return xa(r&&e?"".concat(r,".").concat(e):r??e,t)},tE=function(){var e=f.useContext(tA);if(!e)throw new Error("usePreferencesEditor must be used within a PreferencesEditorContextProvider");return e},vre=function(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n=0)continue;r[n]=e[n]}return r}function AA(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var _re=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ere=AA(function(e){return _re.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Sre=!1;function Ore(e){if(e.sheet)return e.sheet;for(var t=0;t0?Vr(xc,--Tn):0,Uu--,Or===10&&(Uu=1,dg--),Or}function qn(){return Or=Tn2||df(Or)>3?"":" "}function Nre(e,t){for(;--t&&qn()&&!(Or<48||Or>102||Or>57&&Or<65||Or>70&&Or<97););return Vf(e,uh()+(t<6&&lo()==32&&qn()==32))}function x1(e){for(;qn();)switch(Or){case e:return Tn;case 34:case 39:e!==34&&e!==39&&x1(Or);break;case 40:e===41&&x1(e);break;case 92:qn();break}return Tn}function Dre(e,t){for(;qn()&&e+Or!==57;)if(e+Or===84&&lo()===47)break;return"/*"+Vf(t,Tn-1)+"*"+cg(e===47?e:qn())}function Bre(e){for(;!df(lo());)qn();return Vf(e,Tn)}function zre(e){return zA(dh("",null,null,null,[""],e=BA(e),0,[0],e))}function dh(e,t,r,n,a,o,i,s,u){for(var l=0,c=0,d=i,p=0,v=0,m=0,g=1,E=1,x=1,b=0,y="",_=a,h=o,w=n,S=y;E;)switch(m=b,b=qn()){case 40:if(m!=108&&Vr(S,d-1)==58){b1(S+=jt(ch(b),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:S+=ch(b);break;case 9:case 10:case 13:case 32:S+=Lre(m);break;case 92:S+=Nre(uh()-1,7);continue;case 47:switch(lo()){case 42:case 47:jp(Ure(Dre(qn(),uh()),t,r),u);break;default:S+="/"}break;case 123*g:s[l++]=Ja(S)*x;case 125*g:case 59:case 0:switch(b){case 0:case 125:E=0;case 59+c:x==-1&&(S=jt(S,/\f/g,"")),v>0&&Ja(S)-d&&jp(v>32?D2(S+";",n,r,d-1):D2(jt(S," ","")+";",n,r,d-2),u);break;case 59:S+=";";default:if(jp(w=N2(S,t,r,l,c,a,s,y,_=[],h=[],d),o),b===123)if(c===0)dh(S,t,w,w,_,o,d,s,h);else switch(p===99&&Vr(S,3)===110?100:p){case 100:case 108:case 109:case 115:dh(e,w,w,n&&jp(N2(e,w,w,0,0,a,s,y,a,_=[],d),h),a,h,d,s,n?_:h);break;default:dh(S,w,w,w,[""],h,0,s,h)}}l=c=v=0,g=x=1,y=S="",d=i;break;case 58:d=1+Ja(S),v=m;default:if(g<1){if(b==123)--g;else if(b==125&&g++==0&&Fre()==125)continue}switch(S+=cg(b),b*g){case 38:x=c>0?1:(S+="\f",-1);break;case 44:s[l++]=(Ja(S)-1)*x,x=1;break;case 64:lo()===45&&(S+=ch(qn())),p=lo(),c=d=Ja(y=S+=Bre(uh())),b++;break;case 45:m===45&&Ja(S)==2&&(g=0)}}return o}function N2(e,t,r,n,a,o,i,s,u,l,c){for(var d=a-1,p=a===0?o:[""],v=aE(p),m=0,g=0,E=0;m0?p[x]+" "+b:jt(b,/&\f/g,p[x])))&&(u[E++]=y);return fg(e,t,r,a===0?rE:s,u,l,c)}function Ure(e,t,r){return fg(e,t,r,FA,cg(Are()),cf(e,2,-2),0)}function D2(e,t,r,n){return fg(e,t,r,nE,cf(e,0,n),cf(e,n+1,-1),n)}function nu(e,t){for(var r="",n=aE(e),a=0;a6)switch(Vr(e,t+1)){case 109:if(Vr(e,t+4)!==45)break;case 102:return jt(e,/(.+:)(.+)-([^]+)/,"$1"+Rt+"$2-$3$1"+Pv+(Vr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~b1(e,"stretch")?UA(jt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Vr(e,t+1)!==115)break;case 6444:switch(Vr(e,Ja(e)-3-(~b1(e,"!important")&&10))){case 107:return jt(e,":",":"+Rt)+e;case 101:return jt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Rt+(Vr(e,14)===45?"inline-":"")+"box$3$1"+Rt+"$2$3$1"+Yr+"$2box$3")+e}break;case 5936:switch(Vr(e,t+11)){case 114:return Rt+e+Yr+jt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Rt+e+Yr+jt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Rt+e+Yr+jt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Rt+e+Yr+e+e}return e}var Yre=function(t,r,n,a){if(t.length>-1&&!t.return)switch(t.type){case nE:t.return=UA(t.value,t.length);break;case LA:return nu([Hc(t,{value:jt(t.value,"@","@"+Rt)})],a);case rE:if(t.length)return Mre(t.props,function(o){switch(Ire(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return nu([Hc(t,{props:[jt(o,/:(read-\w+)/,":"+Pv+"$1")]})],a);case"::placeholder":return nu([Hc(t,{props:[jt(o,/:(plac\w+)/,":"+Rt+"input-$1")]}),Hc(t,{props:[jt(o,/:(plac\w+)/,":"+Pv+"$1")]}),Hc(t,{props:[jt(o,/:(plac\w+)/,Yr+"input-$1")]})],a)}return""})}},Jre=[Yre],VA=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(g){var E=g.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var a=t.stylisPlugins||Jre,o={},i,s=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(g){for(var E=g.getAttribute("data-emotion").split(" "),x=1;x=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var cne={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},dne=!1,fne=/[A-Z]|^ms/g,pne=/_EMO_([^_]+?)_([^]*?)_EMO_/g,XA=function(t){return t.charCodeAt(1)===45},z2=function(t){return t!=null&&typeof t!="boolean"},g0=AA(function(e){return XA(e)?e:e.replace(fne,"-$&").toLowerCase()}),U2=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(pne,function(n,a,o){return Za={name:a,styles:o,next:Za},a})}return cne[t]!==1&&!XA(t)&&typeof r=="number"&&r!==0?r+"px":r},hne="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ff(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var a=r;if(a.anim===1)return Za={name:a.name,styles:a.styles,next:Za},a.name;var o=r;if(o.styles!==void 0){var i=o.next;if(i!==void 0)for(;i!==void 0;)Za={name:i.name,styles:i.styles,next:Za},i=i.next;var s=o.styles+";";return s}return vne(e,t,r)}case"function":{if(e!==void 0){var u=Za,l=r(e);return Za=u,ff(e,t,l)}break}}var c=r;if(t==null)return c;var d=t[c];return d!==void 0?d:c}function vne(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a96?xne:wne},K2=function(t,r,n){var a;if(r){var o=r.shouldForwardProp;a=t.__emotion_forwardProp&&o?function(i){return t.__emotion_forwardProp(i)&&o(i)}:o}return typeof a!="function"&&n&&(a=t.__emotion_forwardProp),a},_ne=!1,Ene=function(t){var r=t.cache,n=t.serialized,a=t.isStringTag;return GA(r,n,a),gne(function(){return QA(r,n,a)}),null},Sne=function e(t,r){var n=t.__emotion_real===t,a=n&&t.__emotion_base||t,o,i;r!==void 0&&(o=r.label,i=r.target);var s=K2(t,r,n),u=s||q2(a),l=!u("as");return function(){var c=arguments,d=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&d.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var p=c.length,v=1;vt(Pne(a)?r:a):t;return N.jsx(bne,{styles:n})}function uE(e,t){return w1(e,t)}const r3=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},$ne=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:t3,StyledEngineProvider:Cne,ThemeContext:Wf,css:sl,default:uE,internal_processStyles:r3,keyframes:Xo},Symbol.toStringTag,{value:"Module"}));function $o(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function n3(e){if(!$o(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=n3(e[r])}),t}function Hr(e,t,r={clone:!0}){const n=r.clone?k({},e):e;return $o(e)&&$o(t)&&Object.keys(t).forEach(a=>{$o(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&$o(e[a])?n[a]=Hr(e[a],t[a],r):r.clone?n[a]=$o(t[a])?n3(t[a]):t[a]:n[a]=t[a]}),n}const kne=Object.freeze(Object.defineProperty({__proto__:null,default:Hr,isPlainObject:$o},Symbol.toStringTag,{value:"Module"})),Rne=["values","unit","step"],jne=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>k({},r,{[n.key]:n.val}),{})};function a3(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,a=Ee(e,Rne),o=jne(t),i=Object.keys(o);function s(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r})`}function u(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-n/100}${r})`}function l(p,v){const m=i.indexOf(v);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r}) and (max-width:${(m!==-1&&typeof t[i[m]]=="number"?t[i[m]]:v)-n/100}${r})`}function c(p){return i.indexOf(p)+1`@media (min-width:${cE[e]}px)`};function Fa(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const o=n.breakpoints||G2;return t.reduce((i,s,u)=>(i[o.up(o.keys[u])]=r(t[u]),i),{})}if(typeof t=="object"){const o=n.breakpoints||G2;return Object.keys(t).reduce((i,s)=>{if(Object.keys(o.values||cE).indexOf(s)!==-1){const u=o.up(s);i[u]=r(t[s],s)}else{const u=s;i[u]=t[u]}return i},{})}return r(t)}function o3(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,a)=>{const o=e.up(a);return n[o]={},n},{}))||{}}function i3(e,t){return e.reduce((r,n)=>{const a=r[n];return(!a||Object.keys(a).length===0)&&delete r[n],r},t)}function Ine(e,...t){const r=o3(e),n=[r,...t].reduce((a,o)=>Hr(a,o),{});return i3(Object.keys(r),n)}function Mne(e,t){if(typeof e!="object")return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((a,o)=>{o{e[a]!=null&&(r[a]=!0)}),r}function b0({values:e,breakpoints:t,base:r}){const n=r||Mne(e,t),a=Object.keys(n);if(a.length===0)return e;let o;return a.reduce((i,s,u)=>(Array.isArray(e)?(i[s]=e[u]!=null?e[u]:e[o],o=u):typeof e=="object"?(i[s]=e[s]!=null?e[s]:e[o],o=s):i[s]=e,i),{})}function fe(e){if(typeof e!="string")throw new Error(zo(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Ane=Object.freeze(Object.defineProperty({__proto__:null,default:fe},Symbol.toStringTag,{value:"Module"}));function Vu(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((a,o)=>a&&a[o]?a[o]:null,e);if(n!=null)return n}return t.split(".").reduce((n,a)=>n&&n[a]!=null?n[a]:null,e)}function $v(e,t,r,n=r){let a;return typeof e=="function"?a=e(r):Array.isArray(e)?a=e[r]||n:a=Vu(e,r)||n,t&&(a=t(a,n,e)),a}function wr(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:a}=e,o=i=>{if(i[t]==null)return null;const s=i[t],u=i.theme,l=Vu(u,n)||{};return Fa(i,s,d=>{let p=$v(l,a,d);return d===p&&typeof d=="string"&&(p=$v(l,a,`${t}${d==="default"?"":fe(d)}`,d)),r===!1?p:{[r]:p}})};return o.propTypes={},o.filterProps=[t],o}function Fne(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Lne={m:"margin",p:"padding"},Nne={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Q2={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Dne=Fne(e=>{if(e.length>2)if(Q2[e])e=Q2[e];else return[e];const[t,r]=e.split(""),n=Lne[t],a=Nne[r]||"";return Array.isArray(a)?a.map(o=>n+o):[n+a]}),dE=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],fE=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...dE,...fE];function Hf(e,t,r,n){var a;const o=(a=Vu(e,t,!1))!=null?a:r;return typeof o=="number"?i=>typeof i=="string"?i:o*i:Array.isArray(o)?i=>typeof i=="string"?i:o[i]:typeof o=="function"?o:()=>{}}function pE(e){return Hf(e,"spacing",8)}function el(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function Bne(e,t){return r=>e.reduce((n,a)=>(n[a]=el(t,r),n),{})}function zne(e,t,r,n){if(t.indexOf(r)===-1)return null;const a=Dne(r),o=Bne(a,n),i=e[r];return Fa(e,i,o)}function s3(e,t){const r=pE(e.theme);return Object.keys(e).map(n=>zne(e,t,n,r)).reduce(Cd,{})}function sr(e){return s3(e,dE)}sr.propTypes={};sr.filterProps=dE;function lr(e){return s3(e,fE)}lr.propTypes={};lr.filterProps=fE;function Une(e=8){if(e.mui)return e;const t=pE({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(o=>{const i=t(o);return typeof i=="number"?`${i}px`:i}).join(" ");return r.mui=!0,r}function Eg(...e){const t=e.reduce((n,a)=>(a.filterProps.forEach(o=>{n[o]=a}),n),{}),r=n=>Object.keys(n).reduce((a,o)=>t[o]?Cd(a,t[o](n)):a,{});return r.propTypes={},r.filterProps=e.reduce((n,a)=>n.concat(a.filterProps),[]),r}function ia(e){return typeof e!="number"?e:`${e}px solid`}function wa(e,t){return wr({prop:e,themeKey:"borders",transform:t})}const Vne=wa("border",ia),Wne=wa("borderTop",ia),Hne=wa("borderRight",ia),qne=wa("borderBottom",ia),Kne=wa("borderLeft",ia),Gne=wa("borderColor"),Qne=wa("borderTopColor"),Xne=wa("borderRightColor"),Yne=wa("borderBottomColor"),Jne=wa("borderLeftColor"),Zne=wa("outline",ia),eae=wa("outlineColor"),Sg=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Hf(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:el(t,n)});return Fa(e,e.borderRadius,r)}return null};Sg.propTypes={};Sg.filterProps=["borderRadius"];Eg(Vne,Wne,Hne,qne,Kne,Gne,Qne,Xne,Yne,Jne,Sg,Zne,eae);const Og=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Hf(e.theme,"spacing",8),r=n=>({gap:el(t,n)});return Fa(e,e.gap,r)}return null};Og.propTypes={};Og.filterProps=["gap"];const Cg=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Hf(e.theme,"spacing",8),r=n=>({columnGap:el(t,n)});return Fa(e,e.columnGap,r)}return null};Cg.propTypes={};Cg.filterProps=["columnGap"];const Pg=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Hf(e.theme,"spacing",8),r=n=>({rowGap:el(t,n)});return Fa(e,e.rowGap,r)}return null};Pg.propTypes={};Pg.filterProps=["rowGap"];const tae=wr({prop:"gridColumn"}),rae=wr({prop:"gridRow"}),nae=wr({prop:"gridAutoFlow"}),aae=wr({prop:"gridAutoColumns"}),oae=wr({prop:"gridAutoRows"}),iae=wr({prop:"gridTemplateColumns"}),sae=wr({prop:"gridTemplateRows"}),lae=wr({prop:"gridTemplateAreas"}),uae=wr({prop:"gridArea"});Eg(Og,Cg,Pg,tae,rae,nae,aae,oae,iae,sae,lae,uae);function au(e,t){return t==="grey"?t:e}const cae=wr({prop:"color",themeKey:"palette",transform:au}),dae=wr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:au}),fae=wr({prop:"backgroundColor",themeKey:"palette",transform:au});Eg(cae,dae,fae);function Vn(e){return e<=1&&e!==0?`${e*100}%`:e}const pae=wr({prop:"width",transform:Vn}),hE=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,a;const o=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||cE[r];return o?((a=e.theme)==null||(a=a.breakpoints)==null?void 0:a.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Vn(r)}};return Fa(e,e.maxWidth,t)}return null};hE.filterProps=["maxWidth"];const hae=wr({prop:"minWidth",transform:Vn}),vae=wr({prop:"height",transform:Vn}),mae=wr({prop:"maxHeight",transform:Vn}),gae=wr({prop:"minHeight",transform:Vn});wr({prop:"size",cssProperty:"width",transform:Vn});wr({prop:"size",cssProperty:"height",transform:Vn});const yae=wr({prop:"boxSizing"});Eg(pae,hE,hae,vae,mae,gae,yae);const qf={border:{themeKey:"borders",transform:ia},borderTop:{themeKey:"borders",transform:ia},borderRight:{themeKey:"borders",transform:ia},borderBottom:{themeKey:"borders",transform:ia},borderLeft:{themeKey:"borders",transform:ia},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ia},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Sg},color:{themeKey:"palette",transform:au},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:au},backgroundColor:{themeKey:"palette",transform:au},p:{style:lr},pt:{style:lr},pr:{style:lr},pb:{style:lr},pl:{style:lr},px:{style:lr},py:{style:lr},padding:{style:lr},paddingTop:{style:lr},paddingRight:{style:lr},paddingBottom:{style:lr},paddingLeft:{style:lr},paddingX:{style:lr},paddingY:{style:lr},paddingInline:{style:lr},paddingInlineStart:{style:lr},paddingInlineEnd:{style:lr},paddingBlock:{style:lr},paddingBlockStart:{style:lr},paddingBlockEnd:{style:lr},m:{style:sr},mt:{style:sr},mr:{style:sr},mb:{style:sr},ml:{style:sr},mx:{style:sr},my:{style:sr},margin:{style:sr},marginTop:{style:sr},marginRight:{style:sr},marginBottom:{style:sr},marginLeft:{style:sr},marginX:{style:sr},marginY:{style:sr},marginInline:{style:sr},marginInlineStart:{style:sr},marginInlineEnd:{style:sr},marginBlock:{style:sr},marginBlockStart:{style:sr},marginBlockEnd:{style:sr},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Og},rowGap:{style:Pg},columnGap:{style:Cg},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Vn},maxWidth:{style:hE},minWidth:{transform:Vn},height:{transform:Vn},maxHeight:{transform:Vn},minHeight:{transform:Vn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function bae(...e){const t=e.reduce((n,a)=>n.concat(Object.keys(a)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function xae(e,t){return typeof e=="function"?e(t):e}function l3(){function e(r,n,a,o){const i={[r]:n,theme:a},s=o[r];if(!s)return{[r]:n};const{cssProperty:u=r,themeKey:l,transform:c,style:d}=s;if(n==null)return null;if(l==="typography"&&n==="inherit")return{[r]:n};const p=Vu(a,l)||{};return d?d(i):Fa(i,n,m=>{let g=$v(p,c,m);return m===g&&typeof m=="string"&&(g=$v(p,c,`${r}${m==="default"?"":fe(m)}`,m)),u===!1?g:{[u]:g}})}function t(r){var n;const{sx:a,theme:o={}}=r||{};if(!a)return null;const i=(n=o.unstable_sxConfig)!=null?n:qf;function s(u){let l=u;if(typeof u=="function")l=u(o);else if(typeof u!="object")return u;if(!l)return null;const c=o3(o.breakpoints),d=Object.keys(c);let p=c;return Object.keys(l).forEach(v=>{const m=xae(l[v],o);if(m!=null)if(typeof m=="object")if(i[v])p=Cd(p,e(v,m,o,i));else{const g=Fa({theme:o},m,E=>({[v]:E}));bae(g,m)?p[v]=t({sx:m,theme:o}):p=Cd(p,g)}else p=Cd(p,e(v,m,o,i))}),i3(d,p)}return Array.isArray(a)?a.map(s):s(a)}return t}const wc=l3();wc.filterProps=["sx"];function u3(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const wae=["breakpoints","palette","spacing","shape"];function Kf(e={},...t){const{breakpoints:r={},palette:n={},spacing:a,shape:o={}}=e,i=Ee(e,wae),s=a3(r),u=Une(a);let l=Hr({breakpoints:s,direction:"ltr",components:{},palette:k({mode:"light"},n),spacing:u,shape:k({},Tne,o)},i);return l.applyStyles=u3,l=t.reduce((c,d)=>Hr(c,d),l),l.unstable_sxConfig=k({},qf,i==null?void 0:i.unstable_sxConfig),l.unstable_sx=function(d){return wc({sx:d,theme:this})},l}const _ae=Object.freeze(Object.defineProperty({__proto__:null,default:Kf,private_createBreakpoints:a3,unstable_applyStyles:u3},Symbol.toStringTag,{value:"Module"}));function Eae(e){return Object.keys(e).length===0}function vE(e=null){const t=f.useContext(Wf);return!t||Eae(t)?e:t}const Sae=Kf();function $g(e=Sae){return vE(e)}function Oae({styles:e,themeId:t,defaultTheme:r={}}){const n=$g(r),a=typeof e=="function"?e(t&&n[t]||n):e;return N.jsx(t3,{styles:a})}const Cae=["sx"],Pae=e=>{var t,r;const n={systemProps:{},otherProps:{}},a=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:qf;return Object.keys(e).forEach(o=>{a[o]?n.systemProps[o]=e[o]:n.otherProps[o]=e[o]}),n};function kg(e){const{sx:t}=e,r=Ee(e,Cae),{systemProps:n,otherProps:a}=Pae(r);let o;return Array.isArray(t)?o=[n,...t]:typeof t=="function"?o=(...i)=>{const s=t(...i);return $o(s)?k({},n,s):n}:o=k({},n,t),k({},a,{sx:o})}const $ae=Object.freeze(Object.defineProperty({__proto__:null,default:wc,extendSxProp:kg,unstable_createStyleFunctionSx:l3,unstable_defaultSxConfig:qf},Symbol.toStringTag,{value:"Module"})),X2=e=>e,kae=()=>{let e=X2;return{configure(t){e=t},generate(t){return e(t)},reset(){e=X2}}},mE=kae();function c3(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;ts!=="theme"&&s!=="sx"&&s!=="as"})(wc);return f.forwardRef(function(u,l){const c=$g(r),d=kg(u),{className:p,component:v="div"}=d,m=Ee(d,Rae);return N.jsx(o,k({as:v,ref:l,className:ce(p,a?a(n):n),theme:t&&c[t]||c},m))})}const Tae={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function qe(e,t,r="Mui"){const n=Tae[t];return n?`${r}-${n}`:`${mE.generate(e)}-${t}`}function He(e,t,r="Mui"){const n={};return t.forEach(a=>{n[a]=qe(e,a,r)}),n}var d3={exports:{}},Dt={};/** - * @license React - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var gE=Symbol.for("react.element"),yE=Symbol.for("react.portal"),Rg=Symbol.for("react.fragment"),jg=Symbol.for("react.strict_mode"),Tg=Symbol.for("react.profiler"),Ig=Symbol.for("react.provider"),Mg=Symbol.for("react.context"),Iae=Symbol.for("react.server_context"),Ag=Symbol.for("react.forward_ref"),Fg=Symbol.for("react.suspense"),Lg=Symbol.for("react.suspense_list"),Ng=Symbol.for("react.memo"),Dg=Symbol.for("react.lazy"),Mae=Symbol.for("react.offscreen"),f3;f3=Symbol.for("react.module.reference");function _a(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case gE:switch(e=e.type,e){case Rg:case Tg:case jg:case Fg:case Lg:return e;default:switch(e=e&&e.$$typeof,e){case Iae:case Mg:case Ag:case Dg:case Ng:case Ig:return e;default:return t}}case yE:return t}}}Dt.ContextConsumer=Mg;Dt.ContextProvider=Ig;Dt.Element=gE;Dt.ForwardRef=Ag;Dt.Fragment=Rg;Dt.Lazy=Dg;Dt.Memo=Ng;Dt.Portal=yE;Dt.Profiler=Tg;Dt.StrictMode=jg;Dt.Suspense=Fg;Dt.SuspenseList=Lg;Dt.isAsyncMode=function(){return!1};Dt.isConcurrentMode=function(){return!1};Dt.isContextConsumer=function(e){return _a(e)===Mg};Dt.isContextProvider=function(e){return _a(e)===Ig};Dt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===gE};Dt.isForwardRef=function(e){return _a(e)===Ag};Dt.isFragment=function(e){return _a(e)===Rg};Dt.isLazy=function(e){return _a(e)===Dg};Dt.isMemo=function(e){return _a(e)===Ng};Dt.isPortal=function(e){return _a(e)===yE};Dt.isProfiler=function(e){return _a(e)===Tg};Dt.isStrictMode=function(e){return _a(e)===jg};Dt.isSuspense=function(e){return _a(e)===Fg};Dt.isSuspenseList=function(e){return _a(e)===Lg};Dt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Rg||e===Tg||e===jg||e===Fg||e===Lg||e===Mae||typeof e=="object"&&e!==null&&(e.$$typeof===Dg||e.$$typeof===Ng||e.$$typeof===Ig||e.$$typeof===Mg||e.$$typeof===Ag||e.$$typeof===f3||e.getModuleId!==void 0)};Dt.typeOf=_a;d3.exports=Dt;var Y2=d3.exports;const Aae=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function p3(e){const t=`${e}`.match(Aae);return t&&t[1]||""}function h3(e,t=""){return e.displayName||e.name||p3(e)||t}function J2(e,t,r){const n=h3(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function Fae(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return h3(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Y2.ForwardRef:return J2(e,e.render,"ForwardRef");case Y2.Memo:return J2(e,e.type,"memo");default:return}}}const Lae=Object.freeze(Object.defineProperty({__proto__:null,default:Fae,getFunctionName:p3},Symbol.toStringTag,{value:"Module"})),Nae=["ownerState"],Dae=["variants"],Bae=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function zae(e){return Object.keys(e).length===0}function Uae(e){return typeof e=="string"&&e.charCodeAt(0)>96}function x0(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Vae=Kf(),Wae=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Tp({defaultTheme:e,theme:t,themeId:r}){return zae(t)?e:t[r]||t}function Hae(e){return e?(t,r)=>r[e]:null}function fh(e,t){let{ownerState:r}=t,n=Ee(t,Nae);const a=typeof e=="function"?e(k({ownerState:r},n)):e;if(Array.isArray(a))return a.flatMap(o=>fh(o,k({ownerState:r},n)));if(a&&typeof a=="object"&&Array.isArray(a.variants)){const{variants:o=[]}=a;let s=Ee(a,Dae);return o.forEach(u=>{let l=!0;typeof u.props=="function"?l=u.props(k({ownerState:r},n,r)):Object.keys(u.props).forEach(c=>{(r==null?void 0:r[c])!==u.props[c]&&n[c]!==u.props[c]&&(l=!1)}),l&&(Array.isArray(s)||(s=[s]),s.push(typeof u.style=="function"?u.style(k({ownerState:r},n,r)):u.style))}),s}return a}function qae(e={}){const{themeId:t,defaultTheme:r=Vae,rootShouldForwardProp:n=x0,slotShouldForwardProp:a=x0}=e,o=i=>wc(k({},i,{theme:Tp(k({},i,{defaultTheme:r,themeId:t}))}));return o.__mui_systemSx=!0,(i,s={})=>{r3(i,h=>h.filter(w=>!(w!=null&&w.__mui_systemSx)));const{name:u,slot:l,skipVariantsResolver:c,skipSx:d,overridesResolver:p=Hae(Wae(l))}=s,v=Ee(s,Bae),m=c!==void 0?c:l&&l!=="Root"&&l!=="root"||!1,g=d||!1;let E,x=x0;l==="Root"||l==="root"?x=n:l?x=a:Uae(i)&&(x=void 0);const b=uE(i,k({shouldForwardProp:x,label:E},v)),y=h=>typeof h=="function"&&h.__emotion_real!==h||$o(h)?w=>fh(h,k({},w,{theme:Tp({theme:w.theme,defaultTheme:r,themeId:t})})):h,_=(h,...w)=>{let S=y(h);const O=w?w.map(y):[];u&&p&&O.push($=>{const R=Tp(k({},$,{defaultTheme:r,themeId:t}));if(!R.components||!R.components[u]||!R.components[u].styleOverrides)return null;const F=R.components[u].styleOverrides,A={};return Object.entries(F).forEach(([I,U])=>{A[I]=fh(U,k({},$,{theme:R}))}),p($,A)}),u&&!m&&O.push($=>{var R;const F=Tp(k({},$,{defaultTheme:r,themeId:t})),A=F==null||(R=F.components)==null||(R=R[u])==null?void 0:R.variants;return fh({variants:A},k({},$,{theme:F}))}),g||O.push(o);const C=O.length-w.length;if(Array.isArray(h)&&C>0){const $=new Array(C).fill("");S=[...h,...$],S.raw=[...h.raw,...$]}const P=b(S,...O);return i.muiName&&(P.muiName=i.muiName),P};return b.withConfig&&(_.withConfig=b.withConfig),_}}const Kae=qae();function pf(e,t){const r=k({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=k({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const a=e[n]||{},o=t[n];r[n]={},!o||!Object.keys(o)?r[n]=a:!a||!Object.keys(a)?r[n]=o:(r[n]=k({},o),Object.keys(a).forEach(i=>{r[n][i]=pf(a[i],o[i])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function v3(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:pf(t.components[r].defaultProps,n)}function m3({props:e,name:t,defaultTheme:r,themeId:n}){let a=$g(r);return n&&(a=a[n]||a),v3({theme:a,name:t,props:e})}const ha=typeof window<"u"?f.useLayoutEffect:f.useEffect;function Gae(e,t,r,n,a){const[o,i]=f.useState(()=>a&&r?r(e).matches:n?n(e).matches:t);return ha(()=>{let s=!0;if(!r)return;const u=r(e),l=()=>{s&&i(u.matches)};return l(),u.addListener(l),()=>{s=!1,u.removeListener(l)}},[e,r]),o}const g3=f.useSyncExternalStore;function Qae(e,t,r,n,a){const o=f.useCallback(()=>t,[t]),i=f.useMemo(()=>{if(a&&r)return()=>r(e).matches;if(n!==null){const{matches:c}=n(e);return()=>c}return o},[o,e,n,a,r]),[s,u]=f.useMemo(()=>{if(r===null)return[o,()=>()=>{}];const c=r(e);return[()=>c.matches,d=>(c.addListener(d),()=>{c.removeListener(d)})]},[o,r,e]);return g3(u,s,i)}function An(e,t={}){const r=vE(),n=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:a=!1,matchMedia:o=n?window.matchMedia:null,ssrMatchMedia:i=null,noSsr:s=!1}=v3({name:"MuiUseMediaQuery",props:t,theme:r});let u=typeof e=="function"?e(r):e;return u=u.replace(/^@media( ?)/m,""),(g3!==void 0?Qae:Gae)(u,a,o,i,s)}function y3(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const Xae=Object.freeze(Object.defineProperty({__proto__:null,default:y3},Symbol.toStringTag,{value:"Module"}));function b3(e,t=0,r=1){return y3(e,t,r)}function Yae(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,a)=>a<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function bE(e){if(e.type)return e;if(e.charAt(0)==="#")return bE(Yae(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(zo(9,e));let n=e.substring(t+1,e.length-1),a;if(r==="color"){if(n=n.split(" "),a=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(a)===-1)throw new Error(zo(10,a))}else n=n.split(",");return n=n.map(o=>parseFloat(o)),{type:r,values:n,colorSpace:a}}function x3(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((a,o)=>o<3?parseInt(a,10):a):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function hf(e,t){return e=bE(e),t=b3(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,x3(e)}function Jae(e,t){if(e=bE(e),t=b3(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return x3(e)}function E1(...e){return e.reduce((t,r)=>r==null?t:function(...a){t.apply(this,a),r.apply(this,a)},()=>{})}function Bg(e,t=166){let r;function n(...a){const o=()=>{e.apply(this,a)};clearTimeout(r),r=setTimeout(o,t)}return n.clear=()=>{clearTimeout(r)},n}function Zae(e,t){return()=>null}function ph(e,t){var r,n;return f.isValidElement(e)&&t.indexOf((r=e.type.muiName)!=null?r:(n=e.type)==null||(n=n._payload)==null||(n=n.value)==null?void 0:n.muiName)!==-1}function Ir(e){return e&&e.ownerDocument||document}function co(e){return Ir(e).defaultView||window}function eoe(e,t){return()=>null}function kv(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let Z2=0;function toe(e){const[t,r]=f.useState(e),n=e||t;return f.useEffect(()=>{t==null&&(Z2+=1,r(`mui-${Z2}`))},[t]),n}const e$=Mh.useId;function tl(e){if(e$!==void 0){const t=e$();return e??t}return toe(e)}function roe(e,t,r,n,a){return null}function Wu({controlled:e,default:t,name:r,state:n="value"}){const{current:a}=f.useRef(e!==void 0),[o,i]=f.useState(t),s=a?e:o,u=f.useCallback(l=>{a||i(l)},[]);return[s,u]}function la(e){const t=f.useRef(e);return ha(()=>{t.current=e}),f.useRef((...r)=>(0,t.current)(...r)).current}function tr(...e){return f.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{kv(r,t)})},e)}const t$={};function noe(e,t){const r=f.useRef(t$);return r.current===t$&&(r.current=e(t)),r}const aoe=[];function ooe(e){f.useEffect(e,aoe)}class Gf{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Gf}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function Es(){const e=noe(Gf.create).current;return ooe(e.disposeEffect),e}let zg=!0,S1=!1;const ioe=new Gf,soe={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function loe(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&soe[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function uoe(e){e.metaKey||e.altKey||e.ctrlKey||(zg=!0)}function w0(){zg=!1}function coe(){this.visibilityState==="hidden"&&S1&&(zg=!0)}function doe(e){e.addEventListener("keydown",uoe,!0),e.addEventListener("mousedown",w0,!0),e.addEventListener("pointerdown",w0,!0),e.addEventListener("touchstart",w0,!0),e.addEventListener("visibilitychange",coe,!0)}function foe(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return zg||loe(t)}function Ug(){const e=f.useCallback(a=>{a!=null&&doe(a.ownerDocument)},[]),t=f.useRef(!1);function r(){return t.current?(S1=!0,ioe.start(100,()=>{S1=!1}),t.current=!1,!0):!1}function n(a){return foe(a)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function w3(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Ge(e,t,r=void 0){const n={};return Object.keys(e).forEach(a=>{n[a]=e[a].reduce((o,i)=>{if(i){const s=t(i);s!==""&&o.push(s),r&&r[i]&&o.push(r[i])}return o},[]).join(" ")}),n}function vf(e){return typeof e=="string"}function Gl(e,t,r){return e===void 0||vf(e)?t:k({},t,{ownerState:k({},t.ownerState,r)})}function Rv(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function r$(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function _3(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:a,className:o}=e;if(!t){const v=ce(r==null?void 0:r.className,o,a==null?void 0:a.className,n==null?void 0:n.className),m=k({},r==null?void 0:r.style,a==null?void 0:a.style,n==null?void 0:n.style),g=k({},r,a,n);return v.length>0&&(g.className=v),Object.keys(m).length>0&&(g.style=m),{props:g,internalRef:void 0}}const i=Rv(k({},a,n)),s=r$(n),u=r$(a),l=t(i),c=ce(l==null?void 0:l.className,r==null?void 0:r.className,o,a==null?void 0:a.className,n==null?void 0:n.className),d=k({},l==null?void 0:l.style,r==null?void 0:r.style,a==null?void 0:a.style,n==null?void 0:n.style),p=k({},l,r,u,s);return c.length>0&&(p.className=c),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:l.ref}}function E3(e,t,r){return typeof e=="function"?e(t,r):e}const poe=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Di(e){var t;const{elementType:r,externalSlotProps:n,ownerState:a,skipResolvingSlotProps:o=!1}=e,i=Ee(e,poe),s=o?{}:E3(n,a),{props:u,internalRef:l}=_3(k({},i,{externalSlotProps:s})),c=tr(l,s==null?void 0:s.ref,(t=e.additionalProps)==null?void 0:t.ref);return Gl(r,k({},u,{ref:c}),a)}const S3=f.createContext(null);function O3(){return f.useContext(S3)}const hoe=typeof Symbol=="function"&&Symbol.for,voe=hoe?Symbol.for("mui.nested"):"__THEME_NESTED__";function moe(e,t){return typeof t=="function"?t(e):k({},e,t)}function goe(e){const{children:t,theme:r}=e,n=O3(),a=f.useMemo(()=>{const o=n===null?r:moe(n,r);return o!=null&&(o[voe]=n!==null),o},[r,n]);return N.jsx(S3.Provider,{value:a,children:t})}const yoe=["value"],C3=f.createContext();function boe(e){let{value:t}=e,r=Ee(e,yoe);return N.jsx(C3.Provider,k({value:t??!0},r))}const _c=()=>{const e=f.useContext(C3);return e??!1},P3=f.createContext(void 0);function xoe({value:e,children:t}){return N.jsx(P3.Provider,{value:e,children:t})}function woe(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const a=t.components[r];return a.defaultProps?pf(a.defaultProps,n):!a.styleOverrides&&!a.variants?pf(a,n):n}function _oe({props:e,name:t}){const r=f.useContext(P3);return woe({props:e,name:t,theme:{components:r}})}const n$={};function a$(e,t,r,n=!1){return f.useMemo(()=>{const a=e&&t[e]||t;if(typeof r=="function"){const o=r(a),i=e?k({},t,{[e]:o}):o;return n?()=>i:i}return e?k({},t,{[e]:r}):k({},t,r)},[e,t,r,n])}function Eoe(e){const{children:t,theme:r,themeId:n}=e,a=vE(n$),o=O3()||n$,i=a$(n,a,r),s=a$(n,o,r,!0),u=i.direction==="rtl";return N.jsx(goe,{theme:s,children:N.jsx(Wf.Provider,{value:i,children:N.jsx(boe,{value:u,children:N.jsx(xoe,{value:i==null?void 0:i.components,children:t})})})})}const Soe=["component","direction","spacing","divider","children","className","useFlexGap"],Ooe=Kf(),Coe=Kae("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function Poe(e){return m3({props:e,name:"MuiStack",defaultTheme:Ooe})}function $oe(e,t){const r=f.Children.toArray(e).filter(Boolean);return r.reduce((n,a,o)=>(n.push(a),o({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],Roe=({ownerState:e,theme:t})=>{let r=k({display:"flex",flexDirection:"column"},Fa({theme:t},b0({values:e.direction,breakpoints:t.breakpoints.values}),n=>({flexDirection:n})));if(e.spacing){const n=pE(t),a=Object.keys(t.breakpoints.values).reduce((u,l)=>((typeof e.spacing=="object"&&e.spacing[l]!=null||typeof e.direction=="object"&&e.direction[l]!=null)&&(u[l]=!0),u),{}),o=b0({values:e.direction,base:a}),i=b0({values:e.spacing,base:a});typeof o=="object"&&Object.keys(o).forEach((u,l,c)=>{if(!o[u]){const p=l>0?o[c[l-1]]:"column";o[u]=p}}),r=Hr(r,Fa({theme:t},i,(u,l)=>e.useFlexGap?{gap:el(n,u)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${koe(l?o[l]:e.direction)}`]:el(n,u)}}))}return r=Ine(t.breakpoints,r),r};function joe(e={}){const{createStyledComponent:t=Coe,useThemeProps:r=Poe,componentName:n="MuiStack"}=e,a=()=>Ge({root:["root"]},u=>qe(n,u),{}),o=t(Roe);return f.forwardRef(function(u,l){const c=r(u),d=kg(c),{component:p="div",direction:v="column",spacing:m=0,divider:g,children:E,className:x,useFlexGap:b=!1}=d,y=Ee(d,Soe),_={direction:v,spacing:m,useFlexGap:b},h=a();return N.jsx(o,k({as:p,ownerState:_,ref:l,className:ce(h.root,x)},y,{children:g?$oe(E,g):E}))})}function Toe(e,t){return k({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var _r={},$3={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})($3);var bt=$3.exports;const Ioe=Ho(wre),Moe=Ho(Xae);var k3=bt;Object.defineProperty(_r,"__esModule",{value:!0});var vt=_r.alpha=I3;_r.blend=qoe;_r.colorChannel=void 0;var xE=_r.darken=EE;_r.decomposeColor=va;var Aoe=_r.emphasize=M3,Foe=_r.getContrastRatio=zoe;_r.getLuminance=jv;_r.hexToRgb=R3;_r.hslToRgb=T3;var wE=_r.lighten=SE;_r.private_safeAlpha=Uoe;_r.private_safeColorChannel=void 0;_r.private_safeDarken=Voe;_r.private_safeEmphasize=Hoe;_r.private_safeLighten=Woe;_r.recomposeColor=Ec;_r.rgbToHex=Boe;var o$=k3(Ioe),Loe=k3(Moe);function _E(e,t=0,r=1){return(0,Loe.default)(e,t,r)}function R3(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,a)=>a<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Noe(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function va(e){if(e.type)return e;if(e.charAt(0)==="#")return va(R3(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error((0,o$.default)(9,e));let n=e.substring(t+1,e.length-1),a;if(r==="color"){if(n=n.split(" "),a=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(a)===-1)throw new Error((0,o$.default)(10,a))}else n=n.split(",");return n=n.map(o=>parseFloat(o)),{type:r,values:n,colorSpace:a}}const j3=e=>{const t=va(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};_r.colorChannel=j3;const Doe=(e,t)=>{try{return j3(e)}catch{return e}};_r.private_safeColorChannel=Doe;function Ec(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((a,o)=>o<3?parseInt(a,10):a):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Boe(e){if(e.indexOf("#")===0)return e;const{values:t}=va(e);return`#${t.map((r,n)=>Noe(n===3?Math.round(255*r):r)).join("")}`}function T3(e){e=va(e);const{values:t}=e,r=t[0],n=t[1]/100,a=t[2]/100,o=n*Math.min(a,1-a),i=(l,c=(l+r/30)%12)=>a-o*Math.max(Math.min(c-3,9-c,1),-1);let s="rgb";const u=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(s+="a",u.push(t[3])),Ec({type:s,values:u})}function jv(e){e=va(e);let t=e.type==="hsl"||e.type==="hsla"?va(T3(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function zoe(e,t){const r=jv(e),n=jv(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function I3(e,t){return e=va(e),t=_E(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ec(e)}function Uoe(e,t,r){try{return I3(e,t)}catch{return e}}function EE(e,t){if(e=va(e),t=_E(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Ec(e)}function Voe(e,t,r){try{return EE(e,t)}catch{return e}}function SE(e,t){if(e=va(e),t=_E(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Ec(e)}function Woe(e,t,r){try{return SE(e,t)}catch{return e}}function M3(e,t=.15){return jv(e)>.5?EE(e,t):SE(e,t)}function Hoe(e,t,r){try{return M3(e,t)}catch{return e}}function qoe(e,t,r,n=1){const a=(u,l)=>Math.round((u**(1/n)*(1-r)+l**(1/n)*r)**n),o=va(e),i=va(t),s=[a(o.values[0],i.values[0]),a(o.values[1],i.values[1]),a(o.values[2],i.values[2])];return Ec({type:"rgb",values:s})}const Koe=["mode","contrastThreshold","tonalOffset"],i$={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:uf.white,default:uf.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},_0={text:{primary:uf.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:uf.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function s$(e,t,r,n){const a=n.light||n,o=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=wE(e.main,a):t==="dark"&&(e.dark=xE(e.main,o)))}function Goe(e="light"){return e==="dark"?{main:bl[200],light:bl[50],dark:bl[400]}:{main:bl[700],light:bl[400],dark:bl[800]}}function Qoe(e="light"){return e==="dark"?{main:yl[200],light:yl[50],dark:yl[400]}:{main:yl[500],light:yl[300],dark:yl[700]}}function Xoe(e="light"){return e==="dark"?{main:is[500],light:is[300],dark:is[700]}:{main:is[700],light:is[400],dark:is[800]}}function Yoe(e="light"){return e==="dark"?{main:xl[400],light:xl[300],dark:xl[700]}:{main:xl[700],light:xl[500],dark:xl[900]}}function Joe(e="light"){return e==="dark"?{main:wl[400],light:wl[300],dark:wl[700]}:{main:wl[800],light:wl[500],dark:wl[900]}}function Zoe(e="light"){return e==="dark"?{main:Wc[400],light:Wc[300],dark:Wc[700]}:{main:"#ed6c02",light:Wc[500],dark:Wc[900]}}function eie(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,a=Ee(e,Koe),o=e.primary||Goe(t),i=e.secondary||Qoe(t),s=e.error||Xoe(t),u=e.info||Yoe(t),l=e.success||Joe(t),c=e.warning||Zoe(t);function d(g){return Foe(g,_0.text.primary)>=r?_0.text.primary:i$.text.primary}const p=({color:g,name:E,mainShade:x=500,lightShade:b=300,darkShade:y=700})=>{if(g=k({},g),!g.main&&g[x]&&(g.main=g[x]),!g.hasOwnProperty("main"))throw new Error(zo(11,E?` (${E})`:"",x));if(typeof g.main!="string")throw new Error(zo(12,E?` (${E})`:"",JSON.stringify(g.main)));return s$(g,"light",b,n),s$(g,"dark",y,n),g.contrastText||(g.contrastText=d(g.main)),g},v={dark:_0,light:i$};return Hr(k({common:k({},uf),mode:t,primary:p({color:o,name:"primary"}),secondary:p({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:c,name:"warning"}),info:p({color:u,name:"info"}),success:p({color:l,name:"success"}),grey:xre,contrastThreshold:r,getContrastText:d,augmentColor:p,tonalOffset:n},v[t]),a)}const tie=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function rie(e){return Math.round(e*1e5)/1e5}const l$={textTransform:"uppercase"},u$='"Roboto", "Helvetica", "Arial", sans-serif';function nie(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=u$,fontSize:a=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:u=700,htmlFontSize:l=16,allVariants:c,pxToRem:d}=r,p=Ee(r,tie),v=a/14,m=d||(x=>`${x/l*v}rem`),g=(x,b,y,_,h)=>k({fontFamily:n,fontWeight:x,fontSize:m(b),lineHeight:y},n===u$?{letterSpacing:`${rie(_/b)}em`}:{},h,c),E={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(i,48,1.167,0),h4:g(i,34,1.235,.25),h5:g(i,24,1.334,0),h6:g(s,20,1.6,.15),subtitle1:g(i,16,1.75,.15),subtitle2:g(s,14,1.57,.1),body1:g(i,16,1.5,.15),body2:g(i,14,1.43,.15),button:g(s,14,1.75,.4,l$),caption:g(i,12,1.66,.4),overline:g(i,12,2.66,1,l$),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Hr(k({htmlFontSize:l,pxToRem:m,fontFamily:n,fontSize:a,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:u},E),p,{clone:!1})}const aie=.2,oie=.14,iie=.12;function Zt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${aie})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${oie})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${iie})`].join(",")}const sie=["none",Zt(0,2,1,-1,0,1,1,0,0,1,3,0),Zt(0,3,1,-2,0,2,2,0,0,1,5,0),Zt(0,3,3,-2,0,3,4,0,0,1,8,0),Zt(0,2,4,-1,0,4,5,0,0,1,10,0),Zt(0,3,5,-1,0,5,8,0,0,1,14,0),Zt(0,3,5,-1,0,6,10,0,0,1,18,0),Zt(0,4,5,-2,0,7,10,1,0,2,16,1),Zt(0,5,5,-3,0,8,10,1,0,3,14,2),Zt(0,5,6,-3,0,9,12,1,0,3,16,2),Zt(0,6,6,-3,0,10,14,1,0,4,18,3),Zt(0,6,7,-4,0,11,15,1,0,4,20,3),Zt(0,7,8,-4,0,12,17,2,0,5,22,4),Zt(0,7,8,-4,0,13,19,2,0,5,24,4),Zt(0,7,9,-4,0,14,21,2,0,5,26,4),Zt(0,8,9,-5,0,15,22,2,0,6,28,5),Zt(0,8,10,-5,0,16,24,2,0,6,30,5),Zt(0,8,11,-5,0,17,26,2,0,6,32,5),Zt(0,9,11,-5,0,18,28,2,0,7,34,6),Zt(0,9,12,-6,0,19,29,2,0,7,36,6),Zt(0,10,13,-6,0,20,31,3,0,8,38,7),Zt(0,10,13,-6,0,21,33,3,0,8,40,7),Zt(0,10,14,-6,0,22,35,3,0,8,42,7),Zt(0,11,14,-7,0,23,36,3,0,9,44,8),Zt(0,11,15,-7,0,24,38,3,0,9,46,8)],lie=["duration","easing","delay"],uie={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},cie={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function c$(e){return`${Math.round(e)}ms`}function die(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function fie(e){const t=k({},uie,e.easing),r=k({},cie,e.duration);return k({getAutoHeightDuration:die,create:(a=["all"],o={})=>{const{duration:i=r.standard,easing:s=t.easeInOut,delay:u=0}=o;return Ee(o,lie),(Array.isArray(a)?a:[a]).map(l=>`${l} ${typeof i=="string"?i:c$(i)} ${s} ${typeof u=="string"?u:c$(u)}`).join(",")}},e,{easing:t,duration:r})}const pie={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},hie=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Tv(e={},...t){const{mixins:r={},palette:n={},transitions:a={},typography:o={}}=e,i=Ee(e,hie);if(e.vars)throw new Error(zo(18));const s=eie(n),u=Kf(e);let l=Hr(u,{mixins:Toe(u.breakpoints,r),palette:s,shadows:sie.slice(),typography:nie(s,o),transitions:fie(a),zIndex:k({},pie)});return l=Hr(l,i),l=t.reduce((c,d)=>Hr(c,d),l),l.unstable_sxConfig=k({},qf,i==null?void 0:i.unstable_sxConfig),l.unstable_sx=function(d){return wc({sx:d,theme:this})},l}const Vg=Tv();function Yo(){const e=$g(Vg);return e[Zs]||e}function vie({props:e,name:t}){return m3({props:e,name:t,defaultTheme:Vg,themeId:Zs})}var Qf={},E0={exports:{}},d$;function mie(){return d$||(d$=1,function(e){function t(r,n){if(r==null)return{};var a={};for(var o in r)if({}.hasOwnProperty.call(r,o)){if(n.indexOf(o)>=0)continue;a[o]=r[o]}return a}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(E0)),E0.exports}const A3=Ho($ne),gie=Ho(kne),yie=Ho(Ane),bie=Ho(Lae),xie=Ho(_ae),wie=Ho($ae);var Sc=bt;Object.defineProperty(Qf,"__esModule",{value:!0});var _ie=Qf.default=Aie;Qf.shouldForwardProp=hh;Qf.systemDefaultTheme=void 0;var ra=Sc(e3()),O1=Sc(mie()),f$=kie(A3),Eie=gie;Sc(yie);Sc(bie);var Sie=Sc(xie),Oie=Sc(wie);const Cie=["ownerState"],Pie=["variants"],$ie=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function F3(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(F3=function(n){return n?r:t})(e)}function kie(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=F3(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}function Rie(e){return Object.keys(e).length===0}function jie(e){return typeof e=="string"&&e.charCodeAt(0)>96}function hh(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Tie=Qf.systemDefaultTheme=(0,Sie.default)(),Iie=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Ip({defaultTheme:e,theme:t,themeId:r}){return Rie(t)?e:t[r]||t}function Mie(e){return e?(t,r)=>r[e]:null}function vh(e,t){let{ownerState:r}=t,n=(0,O1.default)(t,Cie);const a=typeof e=="function"?e((0,ra.default)({ownerState:r},n)):e;if(Array.isArray(a))return a.flatMap(o=>vh(o,(0,ra.default)({ownerState:r},n)));if(a&&typeof a=="object"&&Array.isArray(a.variants)){const{variants:o=[]}=a;let s=(0,O1.default)(a,Pie);return o.forEach(u=>{let l=!0;typeof u.props=="function"?l=u.props((0,ra.default)({ownerState:r},n,r)):Object.keys(u.props).forEach(c=>{(r==null?void 0:r[c])!==u.props[c]&&n[c]!==u.props[c]&&(l=!1)}),l&&(Array.isArray(s)||(s=[s]),s.push(typeof u.style=="function"?u.style((0,ra.default)({ownerState:r},n,r)):u.style))}),s}return a}function Aie(e={}){const{themeId:t,defaultTheme:r=Tie,rootShouldForwardProp:n=hh,slotShouldForwardProp:a=hh}=e,o=i=>(0,Oie.default)((0,ra.default)({},i,{theme:Ip((0,ra.default)({},i,{defaultTheme:r,themeId:t}))}));return o.__mui_systemSx=!0,(i,s={})=>{(0,f$.internal_processStyles)(i,h=>h.filter(w=>!(w!=null&&w.__mui_systemSx)));const{name:u,slot:l,skipVariantsResolver:c,skipSx:d,overridesResolver:p=Mie(Iie(l))}=s,v=(0,O1.default)(s,$ie),m=c!==void 0?c:l&&l!=="Root"&&l!=="root"||!1,g=d||!1;let E,x=hh;l==="Root"||l==="root"?x=n:l?x=a:jie(i)&&(x=void 0);const b=(0,f$.default)(i,(0,ra.default)({shouldForwardProp:x,label:E},v)),y=h=>typeof h=="function"&&h.__emotion_real!==h||(0,Eie.isPlainObject)(h)?w=>vh(h,(0,ra.default)({},w,{theme:Ip({theme:w.theme,defaultTheme:r,themeId:t})})):h,_=(h,...w)=>{let S=y(h);const O=w?w.map(y):[];u&&p&&O.push($=>{const R=Ip((0,ra.default)({},$,{defaultTheme:r,themeId:t}));if(!R.components||!R.components[u]||!R.components[u].styleOverrides)return null;const F=R.components[u].styleOverrides,A={};return Object.entries(F).forEach(([I,U])=>{A[I]=vh(U,(0,ra.default)({},$,{theme:R}))}),p($,A)}),u&&!m&&O.push($=>{var R;const F=Ip((0,ra.default)({},$,{defaultTheme:r,themeId:t})),A=F==null||(R=F.components)==null||(R=R[u])==null?void 0:R.variants;return vh({variants:A},(0,ra.default)({},$,{theme:F}))}),g||O.push(o);const C=O.length-w.length;if(Array.isArray(h)&&C>0){const $=new Array(C).fill("");S=[...h,...$],S.raw=[...h.raw,...$]}const P=b(S,...O);return i.muiName&&(P.muiName=i.muiName),P};return b.withConfig&&(_.withConfig=b.withConfig),_}}function L3(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Kr=e=>L3(e)&&e!=="classes",ne=_ie({themeId:Zs,defaultTheme:Vg,rootShouldForwardProp:Kr}),Fie=["theme"];function Lie(e){let{theme:t}=e,r=Ee(e,Fie);const n=t[Zs];return N.jsx(Eoe,k({},r,{themeId:n?Zs:void 0,theme:n||t}))}const p$=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Xe(e){return _oe(e)}function Nie(e){return qe("MuiSvgIcon",e)}He("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Die=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Bie=e=>{const{color:t,fontSize:r,classes:n}=e,a={root:["root",t!=="inherit"&&`color${fe(t)}`,`fontSize${fe(r)}`]};return Ge(a,Nie,n)},zie=ne("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${fe(r.color)}`],t[`fontSize${fe(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,a,o,i,s,u,l,c,d,p,v,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(a=e.transitions)==null||(a=a.duration)==null?void 0:a.shorter}),fontSize:{inherit:"inherit",small:((o=e.typography)==null||(i=o.pxToRem)==null?void 0:i.call(o,20))||"1.25rem",medium:((s=e.typography)==null||(u=s.pxToRem)==null?void 0:u.call(s,24))||"1.5rem",large:((l=e.typography)==null||(c=l.pxToRem)==null?void 0:c.call(l,35))||"2.1875rem"}[t.fontSize],color:(d=(p=(e.vars||e).palette)==null||(p=p[t.color])==null?void 0:p.main)!=null?d:{action:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.active,disabled:(m=(e.vars||e).palette)==null||(m=m.action)==null?void 0:m.disabled,inherit:void 0}[t.color]}}),C1=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiSvgIcon"}),{children:a,className:o,color:i="inherit",component:s="svg",fontSize:u="medium",htmlColor:l,inheritViewBox:c=!1,titleAccess:d,viewBox:p="0 0 24 24"}=n,v=Ee(n,Die),m=f.isValidElement(a)&&a.type==="svg",g=k({},n,{color:i,component:s,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:p,hasSvgAsChild:m}),E={};c||(E.viewBox=p);const x=Bie(g);return N.jsxs(zie,k({as:s,className:ce(x.root,o),focusable:"false",color:l,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:r},E,v,m&&a.props,{ownerState:g,children:[m?a.props.children:a,d?N.jsx("title",{children:d}):null]}))});C1.muiName="SvgIcon";function Fn(e,t){function r(n,a){return N.jsx(C1,k({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return r.muiName=C1.muiName,f.memo(f.forwardRef(r))}const Uie={configure:e=>{mE.configure(e)}},Vie=Object.freeze(Object.defineProperty({__proto__:null,capitalize:fe,createChainedFunction:E1,createSvgIcon:Fn,debounce:Bg,deprecatedPropType:Zae,isMuiElement:ph,ownerDocument:Ir,ownerWindow:co,requirePropFactory:eoe,setRef:kv,unstable_ClassNameGenerator:Uie,unstable_useEnhancedEffect:ha,unstable_useId:tl,unsupportedProp:roe,useControlled:Wu,useEventCallback:la,useForkRef:tr,useIsFocusVisible:Ug},Symbol.toStringTag,{value:"Module"}));var Vt={};/** - * @license React - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var OE=Symbol.for("react.element"),CE=Symbol.for("react.portal"),Wg=Symbol.for("react.fragment"),Hg=Symbol.for("react.strict_mode"),qg=Symbol.for("react.profiler"),Kg=Symbol.for("react.provider"),Gg=Symbol.for("react.context"),Wie=Symbol.for("react.server_context"),Qg=Symbol.for("react.forward_ref"),Xg=Symbol.for("react.suspense"),Yg=Symbol.for("react.suspense_list"),Jg=Symbol.for("react.memo"),Zg=Symbol.for("react.lazy"),Hie=Symbol.for("react.offscreen"),N3;N3=Symbol.for("react.module.reference");function Ea(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case OE:switch(e=e.type,e){case Wg:case qg:case Hg:case Xg:case Yg:return e;default:switch(e=e&&e.$$typeof,e){case Wie:case Gg:case Qg:case Zg:case Jg:case Kg:return e;default:return t}}case CE:return t}}}Vt.ContextConsumer=Gg;Vt.ContextProvider=Kg;Vt.Element=OE;Vt.ForwardRef=Qg;Vt.Fragment=Wg;Vt.Lazy=Zg;Vt.Memo=Jg;Vt.Portal=CE;Vt.Profiler=qg;Vt.StrictMode=Hg;Vt.Suspense=Xg;Vt.SuspenseList=Yg;Vt.isAsyncMode=function(){return!1};Vt.isConcurrentMode=function(){return!1};Vt.isContextConsumer=function(e){return Ea(e)===Gg};Vt.isContextProvider=function(e){return Ea(e)===Kg};Vt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===OE};Vt.isForwardRef=function(e){return Ea(e)===Qg};Vt.isFragment=function(e){return Ea(e)===Wg};Vt.isLazy=function(e){return Ea(e)===Zg};Vt.isMemo=function(e){return Ea(e)===Jg};Vt.isPortal=function(e){return Ea(e)===CE};Vt.isProfiler=function(e){return Ea(e)===qg};Vt.isStrictMode=function(e){return Ea(e)===Hg};Vt.isSuspense=function(e){return Ea(e)===Xg};Vt.isSuspenseList=function(e){return Ea(e)===Yg};Vt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Wg||e===qg||e===Hg||e===Xg||e===Yg||e===Hie||typeof e=="object"&&e!==null&&(e.$$typeof===Zg||e.$$typeof===Jg||e.$$typeof===Kg||e.$$typeof===Gg||e.$$typeof===Qg||e.$$typeof===N3||e.getModuleId!==void 0)};Vt.typeOf=Ea;function P1(e,t){return P1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},P1(e,t)}function D3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,P1(e,t)}const h$={disabled:!1},Iv=Pe.createContext(null);var qie=function(t){return t.scrollTop},ld="unmounted",ss="exited",ls="entering",Cl="entered",$1="exiting",Da=function(e){D3(t,e);function t(n,a){var o;o=e.call(this,n,a)||this;var i=a,s=i&&!i.isMounting?n.enter:n.appear,u;return o.appearStatus=null,n.in?s?(u=ss,o.appearStatus=ls):u=Cl:n.unmountOnExit||n.mountOnEnter?u=ld:u=ss,o.state={status:u},o.nextCallback=null,o}t.getDerivedStateFromProps=function(a,o){var i=a.in;return i&&o.status===ld?{status:ss}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(a){var o=null;if(a!==this.props){var i=this.state.status;this.props.in?i!==ls&&i!==Cl&&(o=ls):(i===ls||i===Cl)&&(o=$1)}this.updateStatus(!1,o)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var a=this.props.timeout,o,i,s;return o=i=s=a,a!=null&&typeof a!="number"&&(o=a.exit,i=a.enter,s=a.appear!==void 0?a.appear:i),{exit:o,enter:i,appear:s}},r.updateStatus=function(a,o){if(a===void 0&&(a=!1),o!==null)if(this.cancelNextCallback(),o===ls){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:ad.findDOMNode(this);i&&qie(i)}this.performEnter(a)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ss&&this.setState({status:ld})},r.performEnter=function(a){var o=this,i=this.props.enter,s=this.context?this.context.isMounting:a,u=this.props.nodeRef?[s]:[ad.findDOMNode(this),s],l=u[0],c=u[1],d=this.getTimeouts(),p=s?d.appear:d.enter;if(!a&&!i||h$.disabled){this.safeSetState({status:Cl},function(){o.props.onEntered(l)});return}this.props.onEnter(l,c),this.safeSetState({status:ls},function(){o.props.onEntering(l,c),o.onTransitionEnd(p,function(){o.safeSetState({status:Cl},function(){o.props.onEntered(l,c)})})})},r.performExit=function(){var a=this,o=this.props.exit,i=this.getTimeouts(),s=this.props.nodeRef?void 0:ad.findDOMNode(this);if(!o||h$.disabled){this.safeSetState({status:ss},function(){a.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:$1},function(){a.props.onExiting(s),a.onTransitionEnd(i.exit,function(){a.safeSetState({status:ss},function(){a.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(a,o){o=this.setNextCallback(o),this.setState(a,o)},r.setNextCallback=function(a){var o=this,i=!0;return this.nextCallback=function(s){i&&(i=!1,o.nextCallback=null,a(s))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},r.onTransitionEnd=function(a,o){this.setNextCallback(o);var i=this.props.nodeRef?this.props.nodeRef.current:ad.findDOMNode(this),s=a==null&&!this.props.addEndListener;if(!i||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],l=u[0],c=u[1];this.props.addEndListener(l,c)}a!=null&&setTimeout(this.nextCallback,a)},r.render=function(){var a=this.state.status;if(a===ld)return null;var o=this.props,i=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=Ee(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Pe.createElement(Iv.Provider,{value:null},typeof i=="function"?i(a,s):Pe.cloneElement(Pe.Children.only(i),s))},t}(Pe.Component);Da.contextType=Iv;Da.propTypes={};function _l(){}Da.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:_l,onEntering:_l,onEntered:_l,onExit:_l,onExiting:_l,onExited:_l};Da.UNMOUNTED=ld;Da.EXITED=ss;Da.ENTERING=ls;Da.ENTERED=Cl;Da.EXITING=$1;function Kie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PE(e,t){var r=function(o){return t&&f.isValidElement(o)?t(o):o},n=Object.create(null);return e&&f.Children.map(e,function(a){return a}).forEach(function(a){n[a.key]=r(a)}),n}function Gie(e,t){e=e||{},t=t||{};function r(c){return c in t?t[c]:e[c]}var n=Object.create(null),a=[];for(var o in e)o in t?a.length&&(n[o]=a,a=[]):a.push(o);var i,s={};for(var u in t){if(n[u])for(i=0;ie.scrollTop;function Hu(e,t){var r,n;const{timeout:a,easing:o,style:i={}}=e;return{duration:(r=i.transitionDuration)!=null?r:typeof a=="number"?a:a[t.mode]||0,easing:(n=i.transitionTimingFunction)!=null?n:typeof o=="object"?o[t.mode]:o,delay:i.transitionDelay}}function Zie(e){return qe("MuiPaper",e)}He("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const ese=["className","component","elevation","square","variant"],tse=e=>{const{square:t,elevation:r,variant:n,classes:a}=e,o={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return Ge(o,Zie,a)},rse=ne("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(({theme:e,ownerState:t})=>{var r;return k({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&k({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${vt("#fff",p$(t.elevation))}, ${vt("#fff",p$(t.elevation))})`},e.vars&&{backgroundImage:(r=e.vars.overlays)==null?void 0:r[t.elevation]}))}),Yi=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiPaper"}),{className:a,component:o="div",elevation:i=1,square:s=!1,variant:u="elevation"}=n,l=Ee(n,ese),c=k({},n,{component:o,elevation:i,square:s,variant:u}),d=tse(c);return N.jsx(rse,k({as:o,ownerState:c,className:ce(d.root,a),ref:r},l))}),nse=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],ase=["component","slots","slotProps"],ose=["component"];function ise(e,t){const{className:r,elementType:n,ownerState:a,externalForwardedProps:o,getSlotOwnerState:i,internalForwardedProps:s}=t,u=Ee(t,nse),{component:l,slots:c={[e]:void 0},slotProps:d={[e]:void 0}}=o;Ee(o,ase);const p=c[e]||n,v=E3(d[e],a),m=_3(k({className:r},u,{externalForwardedProps:void 0,externalSlotProps:v})),{props:{component:g},internalRef:E}=m,x=Ee(m.props,ose),b=tr(E,v==null?void 0:v.ref,t.ref),y=i?i(x):{},_=k({},a,y),h=g,w=Gl(p,k({},e==="root",!c[e]&&s,x,h&&{as:h},{ref:b}),_);return Object.keys(y).forEach(S=>{delete w[S]}),[p,w]}function sse(e){const{className:t,classes:r,pulsate:n=!1,rippleX:a,rippleY:o,rippleSize:i,in:s,onExited:u,timeout:l}=e,[c,d]=f.useState(!1),p=ce(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),v={width:i,height:i,top:-(i/2)+o,left:-(i/2)+a},m=ce(r.child,c&&r.childLeaving,n&&r.childPulsate);return!s&&!c&&d(!0),f.useEffect(()=>{if(!s&&u!=null){const g=setTimeout(u,l);return()=>{clearTimeout(g)}}},[u,s,l]),N.jsx("span",{className:p,style:v,children:N.jsx("span",{className:m})})}const na=He("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),lse=["center","classes","className"];let ey=e=>e,v$,m$,g$,y$;const k1=550,use=80,cse=Xo(v$||(v$=ey` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`)),dse=Xo(m$||(m$=ey` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`)),fse=Xo(g$||(g$=ey` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`)),pse=ne("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),hse=ne(sse,{name:"MuiTouchRipple",slot:"Ripple"})(y$||(y$=ey` - opacity: 0; - position: absolute; - - &.${0} { - opacity: 0.3; - transform: scale(1); - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - &.${0} { - animation-duration: ${0}ms; - } - - & .${0} { - opacity: 1; - display: block; - width: 100%; - height: 100%; - border-radius: 50%; - background-color: currentColor; - } - - & .${0} { - opacity: 0; - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - & .${0} { - position: absolute; - /* @noflip */ - left: 0px; - top: 0; - animation-name: ${0}; - animation-duration: 2500ms; - animation-timing-function: ${0}; - animation-iteration-count: infinite; - animation-delay: 200ms; - } -`),na.rippleVisible,cse,k1,({theme:e})=>e.transitions.easing.easeInOut,na.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,na.child,na.childLeaving,dse,k1,({theme:e})=>e.transitions.easing.easeInOut,na.childPulsate,fse,({theme:e})=>e.transitions.easing.easeInOut),vse=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiTouchRipple"}),{center:a=!1,classes:o={},className:i}=n,s=Ee(n,lse),[u,l]=f.useState([]),c=f.useRef(0),d=f.useRef(null);f.useEffect(()=>{d.current&&(d.current(),d.current=null)},[u]);const p=f.useRef(!1),v=Es(),m=f.useRef(null),g=f.useRef(null),E=f.useCallback(_=>{const{pulsate:h,rippleX:w,rippleY:S,rippleSize:O,cb:C}=_;l(P=>[...P,N.jsx(hse,{classes:{ripple:ce(o.ripple,na.ripple),rippleVisible:ce(o.rippleVisible,na.rippleVisible),ripplePulsate:ce(o.ripplePulsate,na.ripplePulsate),child:ce(o.child,na.child),childLeaving:ce(o.childLeaving,na.childLeaving),childPulsate:ce(o.childPulsate,na.childPulsate)},timeout:k1,pulsate:h,rippleX:w,rippleY:S,rippleSize:O},c.current)]),c.current+=1,d.current=C},[o]),x=f.useCallback((_={},h={},w=()=>{})=>{const{pulsate:S=!1,center:O=a||h.pulsate,fakeElement:C=!1}=h;if((_==null?void 0:_.type)==="mousedown"&&p.current){p.current=!1;return}(_==null?void 0:_.type)==="touchstart"&&(p.current=!0);const P=C?null:g.current,$=P?P.getBoundingClientRect():{width:0,height:0,left:0,top:0};let R,F,A;if(O||_===void 0||_.clientX===0&&_.clientY===0||!_.clientX&&!_.touches)R=Math.round($.width/2),F=Math.round($.height/2);else{const{clientX:I,clientY:U}=_.touches&&_.touches.length>0?_.touches[0]:_;R=Math.round(I-$.left),F=Math.round(U-$.top)}if(O)A=Math.sqrt((2*$.width**2+$.height**2)/3),A%2===0&&(A+=1);else{const I=Math.max(Math.abs((P?P.clientWidth:0)-R),R)*2+2,U=Math.max(Math.abs((P?P.clientHeight:0)-F),F)*2+2;A=Math.sqrt(I**2+U**2)}_!=null&&_.touches?m.current===null&&(m.current=()=>{E({pulsate:S,rippleX:R,rippleY:F,rippleSize:A,cb:w})},v.start(use,()=>{m.current&&(m.current(),m.current=null)})):E({pulsate:S,rippleX:R,rippleY:F,rippleSize:A,cb:w})},[a,E,v]),b=f.useCallback(()=>{x({},{pulsate:!0})},[x]),y=f.useCallback((_,h)=>{if(v.clear(),(_==null?void 0:_.type)==="touchend"&&m.current){m.current(),m.current=null,v.start(0,()=>{y(_,h)});return}m.current=null,l(w=>w.length>0?w.slice(1):w),d.current=h},[v]);return f.useImperativeHandle(r,()=>({pulsate:b,start:x,stop:y}),[b,x,y]),N.jsx(pse,k({className:ce(na.root,o.root,i),ref:g},s,{children:N.jsx($E,{component:null,exit:!0,children:u})}))});function mse(e){return qe("MuiButtonBase",e)}const gse=He("MuiButtonBase",["root","disabled","focusVisible"]),yse=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],bse=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:a}=e,i=Ge({root:["root",t&&"disabled",r&&"focusVisible"]},mse,a);return r&&n&&(i.root+=` ${n}`),i},xse=ne("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${gse.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Uo=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiButtonBase"}),{action:a,centerRipple:o=!1,children:i,className:s,component:u="button",disabled:l=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:p=!1,LinkComponent:v="a",onBlur:m,onClick:g,onContextMenu:E,onDragLeave:x,onFocus:b,onFocusVisible:y,onKeyDown:_,onKeyUp:h,onMouseDown:w,onMouseLeave:S,onMouseUp:O,onTouchEnd:C,onTouchMove:P,onTouchStart:$,tabIndex:R=0,TouchRippleProps:F,touchRippleRef:A,type:I}=n,U=Ee(n,yse),W=f.useRef(null),T=f.useRef(null),V=tr(T,A),{isFocusVisibleRef:G,onFocus:ae,onBlur:ie,ref:ye}=Ug(),[be,xe]=f.useState(!1);l&&be&&xe(!1),f.useImperativeHandle(a,()=>({focusVisible:()=>{xe(!0),W.current.focus()}}),[]);const[Se,Te]=f.useState(!1);f.useEffect(()=>{Te(!0)},[]);const $e=Se&&!c&&!l;f.useEffect(()=>{be&&p&&!c&&Se&&T.current.pulsate()},[c,p,be,Se]);function _e(le,Me,Qe=d){return la(Be=>(Me&&Me(Be),!Qe&&T.current&&T.current[le](Be),!0))}const Ve=_e("start",w),Ie=_e("stop",E),De=_e("stop",x),Le=_e("stop",O),We=_e("stop",le=>{be&&le.preventDefault(),S&&S(le)}),tt=_e("start",$),dt=_e("stop",C),yt=_e("stop",P),z=_e("stop",le=>{ie(le),G.current===!1&&xe(!1),m&&m(le)},!1),Y=la(le=>{W.current||(W.current=le.currentTarget),ae(le),G.current===!0&&(xe(!0),y&&y(le)),b&&b(le)}),te=()=>{const le=W.current;return u&&u!=="button"&&!(le.tagName==="A"&&le.href)},ue=f.useRef(!1),me=la(le=>{p&&!ue.current&&be&&T.current&&le.key===" "&&(ue.current=!0,T.current.stop(le,()=>{T.current.start(le)})),le.target===le.currentTarget&&te()&&le.key===" "&&le.preventDefault(),_&&_(le),le.target===le.currentTarget&&te()&&le.key==="Enter"&&!l&&(le.preventDefault(),g&&g(le))}),he=la(le=>{p&&le.key===" "&&T.current&&be&&!le.defaultPrevented&&(ue.current=!1,T.current.stop(le,()=>{T.current.pulsate(le)})),h&&h(le),g&&le.target===le.currentTarget&&te()&&le.key===" "&&!le.defaultPrevented&&g(le)});let ve=u;ve==="button"&&(U.href||U.to)&&(ve=v);const ee={};ve==="button"?(ee.type=I===void 0?"button":I,ee.disabled=l):(!U.href&&!U.to&&(ee.role="button"),l&&(ee["aria-disabled"]=l));const K=tr(r,ye,W),Q=k({},n,{centerRipple:o,component:u,disabled:l,disableRipple:c,disableTouchRipple:d,focusRipple:p,tabIndex:R,focusVisible:be}),re=bse(Q);return N.jsxs(xse,k({as:ve,className:ce(re.root,s),ownerState:Q,onBlur:z,onClick:g,onContextMenu:Ie,onFocus:Y,onKeyDown:me,onKeyUp:he,onMouseDown:Ve,onMouseLeave:We,onMouseUp:Le,onDragLeave:De,onTouchEnd:dt,onTouchMove:yt,onTouchStart:tt,ref:K,tabIndex:l?-1:R,type:I},ee,U,{children:[i,$e?N.jsx(vse,k({ref:V,center:o},F)):null]}))});function wse(e){return qe("MuiIconButton",e)}const _se=He("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Ese=["edge","children","className","color","disabled","disableFocusRipple","size"],Sse=e=>{const{classes:t,disabled:r,color:n,edge:a,size:o}=e,i={root:["root",r&&"disabled",n!=="default"&&`color${fe(n)}`,a&&`edge${fe(a)}`,`size${fe(o)}`]};return Ge(i,wse,t)},Ose=ne(Uo,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${fe(r.color)}`],r.edge&&t[`edge${fe(r.edge)}`],t[`size${fe(r.size)}`]]}})(({theme:e,ownerState:t})=>k({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:vt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var r;const n=(r=(e.vars||e).palette)==null?void 0:r[t.color];return k({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&k({color:n==null?void 0:n.main},!t.disableRipple&&{"&:hover":k({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:vt(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${_se.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),Tr=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiIconButton"}),{edge:a=!1,children:o,className:i,color:s="default",disabled:u=!1,disableFocusRipple:l=!1,size:c="medium"}=n,d=Ee(n,Ese),p=k({},n,{edge:a,color:s,disabled:u,disableFocusRipple:l,size:c}),v=Sse(p);return N.jsx(Ose,k({className:ce(v.root,i),centerRipple:!0,focusRipple:!l,disabled:u,ref:r},d,{ownerState:p,children:o}))});function Cse(e){return qe("MuiTypography",e)}He("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Pse=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],$se=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:a,variant:o,classes:i}=e,s={root:["root",o,e.align!=="inherit"&&`align${fe(t)}`,r&&"gutterBottom",n&&"noWrap",a&&"paragraph"]};return Ge(s,Cse,i)},kse=ne("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${fe(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>k({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),b$={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Rse={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},jse=e=>Rse[e]||e,br=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiTypography"}),a=jse(n.color),o=kg(k({},n,{color:a})),{align:i="inherit",className:s,component:u,gutterBottom:l=!1,noWrap:c=!1,paragraph:d=!1,variant:p="body1",variantMapping:v=b$}=o,m=Ee(o,Pse),g=k({},o,{align:i,color:a,className:s,component:u,gutterBottom:l,noWrap:c,paragraph:d,variant:p,variantMapping:v}),E=u||(d?"p":v[p]||b$[p])||"span",x=$se(g);return N.jsx(kse,k({as:E,ref:r,ownerState:g,className:ce(x.root,s)},m))});function Tse(e){return qe("MuiAppBar",e)}He("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const Ise=["className","color","enableColorOnDark","position"],Mse=e=>{const{color:t,position:r,classes:n}=e,a={root:["root",`color${fe(t)}`,`position${fe(r)}`]};return Ge(a,Tse,n)},Mp=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,Ase=ne(Yi,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${fe(r.position)}`],t[`color${fe(r.color)}`]]}})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return k({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&k({},t.color==="default"&&{backgroundColor:r,color:e.palette.getContrastText(r)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&k({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&k({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Mp(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Mp(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Mp(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Mp(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},!["inherit","transparent"].includes(t.color)&&{backgroundColor:"var(--AppBar-background)"},{color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),Fse=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiAppBar"}),{className:a,color:o="primary",enableColorOnDark:i=!1,position:s="fixed"}=n,u=Ee(n,Ise),l=k({},n,{color:o,position:s,enableColorOnDark:i}),c=Mse(l);return N.jsx(Ase,k({square:!0,component:"header",ownerState:l,elevation:4,className:ce(c.root,a,s==="fixed"&&"mui-fixed"),ref:r},u))});var RE={};Object.defineProperty(RE,"__esModule",{value:!0});var B3=RE.default=void 0,Lse=Dse(f),Nse=A3;function z3(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(z3=function(n){return n?r:t})(e)}function Dse(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=z3(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}function Bse(e){return Object.keys(e).length===0}function zse(e=null){const t=Lse.useContext(Nse.ThemeContext);return!t||Bse(t)?e:t}B3=RE.default=zse;var Rn="top",ma="bottom",ga="right",jn="left",jE="auto",Xf=[Rn,ma,ga,jn],qu="start",mf="end",Use="clippingParents",U3="viewport",qc="popper",Vse="reference",x$=Xf.reduce(function(e,t){return e.concat([t+"-"+qu,t+"-"+mf])},[]),V3=[].concat(Xf,[jE]).reduce(function(e,t){return e.concat([t,t+"-"+qu,t+"-"+mf])},[]),Wse="beforeRead",Hse="read",qse="afterRead",Kse="beforeMain",Gse="main",Qse="afterMain",Xse="beforeWrite",Yse="write",Jse="afterWrite",Zse=[Wse,Hse,qse,Kse,Gse,Qse,Xse,Yse,Jse];function fo(e){return e?(e.nodeName||"").toLowerCase():null}function Gn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function rl(e){var t=Gn(e).Element;return e instanceof t||e instanceof Element}function ca(e){var t=Gn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function TE(e){if(typeof ShadowRoot>"u")return!1;var t=Gn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function ele(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!ca(o)||!fo(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(i){var s=a[i];s===!1?o.removeAttribute(i):o.setAttribute(i,s===!0?"":s)}))})}function tle(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=i.reduce(function(u,l){return u[l]="",u},{});!ca(a)||!fo(a)||(Object.assign(a.style,s),Object.keys(o).forEach(function(u){a.removeAttribute(u)}))})}}const rle={name:"applyStyles",enabled:!0,phase:"write",fn:ele,effect:tle,requires:["computeStyles"]};function uo(e){return e.split("-")[0]}var Ls=Math.max,Mv=Math.min,Ku=Math.round;function R1(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function W3(){return!/^((?!chrome|android).)*safari/i.test(R1())}function Gu(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&ca(e)&&(a=e.offsetWidth>0&&Ku(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Ku(n.height)/e.offsetHeight||1);var i=rl(e)?Gn(e):window,s=i.visualViewport,u=!W3()&&r,l=(n.left+(u&&s?s.offsetLeft:0))/a,c=(n.top+(u&&s?s.offsetTop:0))/o,d=n.width/a,p=n.height/o;return{width:d,height:p,top:c,right:l+d,bottom:c+p,left:l,x:l,y:c}}function IE(e){var t=Gu(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function H3(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&TE(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Vo(e){return Gn(e).getComputedStyle(e)}function nle(e){return["table","td","th"].indexOf(fo(e))>=0}function Ji(e){return((rl(e)?e.ownerDocument:e.document)||window.document).documentElement}function ty(e){return fo(e)==="html"?e:e.assignedSlot||e.parentNode||(TE(e)?e.host:null)||Ji(e)}function w$(e){return!ca(e)||Vo(e).position==="fixed"?null:e.offsetParent}function ale(e){var t=/firefox/i.test(R1()),r=/Trident/i.test(R1());if(r&&ca(e)){var n=Vo(e);if(n.position==="fixed")return null}var a=ty(e);for(TE(a)&&(a=a.host);ca(a)&&["html","body"].indexOf(fo(a))<0;){var o=Vo(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function Yf(e){for(var t=Gn(e),r=w$(e);r&&nle(r)&&Vo(r).position==="static";)r=w$(r);return r&&(fo(r)==="html"||fo(r)==="body"&&Vo(r).position==="static")?t:r||ale(e)||t}function ME(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Pd(e,t,r){return Ls(e,Mv(t,r))}function ole(e,t,r){var n=Pd(e,t,r);return n>r?r:n}function q3(){return{top:0,right:0,bottom:0,left:0}}function K3(e){return Object.assign({},q3(),e)}function G3(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var ile=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,K3(typeof t!="number"?t:G3(t,Xf))};function sle(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,i=r.modifiersData.popperOffsets,s=uo(r.placement),u=ME(s),l=[jn,ga].indexOf(s)>=0,c=l?"height":"width";if(!(!o||!i)){var d=ile(a.padding,r),p=IE(o),v=u==="y"?Rn:jn,m=u==="y"?ma:ga,g=r.rects.reference[c]+r.rects.reference[u]-i[u]-r.rects.popper[c],E=i[u]-r.rects.reference[u],x=Yf(o),b=x?u==="y"?x.clientHeight||0:x.clientWidth||0:0,y=g/2-E/2,_=d[v],h=b-p[c]-d[m],w=b/2-p[c]/2+y,S=Pd(_,w,h),O=u;r.modifiersData[n]=(t={},t[O]=S,t.centerOffset=S-w,t)}}function lle(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||H3(t.elements.popper,a)&&(t.elements.arrow=a))}const ule={name:"arrow",enabled:!0,phase:"main",fn:sle,effect:lle,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Qu(e){return e.split("-")[1]}var cle={top:"auto",right:"auto",bottom:"auto",left:"auto"};function dle(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:Ku(r*a)/a||0,y:Ku(n*a)/a||0}}function _$(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,u=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,d=e.isFixed,p=i.x,v=p===void 0?0:p,m=i.y,g=m===void 0?0:m,E=typeof c=="function"?c({x:v,y:g}):{x:v,y:g};v=E.x,g=E.y;var x=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),y=jn,_=Rn,h=window;if(l){var w=Yf(r),S="clientHeight",O="clientWidth";if(w===Gn(r)&&(w=Ji(r),Vo(w).position!=="static"&&s==="absolute"&&(S="scrollHeight",O="scrollWidth")),w=w,a===Rn||(a===jn||a===ga)&&o===mf){_=ma;var C=d&&w===h&&h.visualViewport?h.visualViewport.height:w[S];g-=C-n.height,g*=u?1:-1}if(a===jn||(a===Rn||a===ma)&&o===mf){y=ga;var P=d&&w===h&&h.visualViewport?h.visualViewport.width:w[O];v-=P-n.width,v*=u?1:-1}}var $=Object.assign({position:s},l&&cle),R=c===!0?dle({x:v,y:g},Gn(r)):{x:v,y:g};if(v=R.x,g=R.y,u){var F;return Object.assign({},$,(F={},F[_]=b?"0":"",F[y]=x?"0":"",F.transform=(h.devicePixelRatio||1)<=1?"translate("+v+"px, "+g+"px)":"translate3d("+v+"px, "+g+"px, 0)",F))}return Object.assign({},$,(t={},t[_]=b?g+"px":"",t[y]=x?v+"px":"",t.transform="",t))}function fle(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,i=o===void 0?!0:o,s=r.roundOffsets,u=s===void 0?!0:s,l={placement:uo(t.placement),variation:Qu(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,_$(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,_$(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const ple={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:fle,data:{}};var Ap={passive:!0};function hle(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,i=n.resize,s=i===void 0?!0:i,u=Gn(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach(function(c){c.addEventListener("scroll",r.update,Ap)}),s&&u.addEventListener("resize",r.update,Ap),function(){o&&l.forEach(function(c){c.removeEventListener("scroll",r.update,Ap)}),s&&u.removeEventListener("resize",r.update,Ap)}}const vle={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:hle,data:{}};var mle={left:"right",right:"left",bottom:"top",top:"bottom"};function mh(e){return e.replace(/left|right|bottom|top/g,function(t){return mle[t]})}var gle={start:"end",end:"start"};function E$(e){return e.replace(/start|end/g,function(t){return gle[t]})}function AE(e){var t=Gn(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function FE(e){return Gu(Ji(e)).left+AE(e).scrollLeft}function yle(e,t){var r=Gn(e),n=Ji(e),a=r.visualViewport,o=n.clientWidth,i=n.clientHeight,s=0,u=0;if(a){o=a.width,i=a.height;var l=W3();(l||!l&&t==="fixed")&&(s=a.offsetLeft,u=a.offsetTop)}return{width:o,height:i,x:s+FE(e),y:u}}function ble(e){var t,r=Ji(e),n=AE(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=Ls(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Ls(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+FE(e),u=-n.scrollTop;return Vo(a||r).direction==="rtl"&&(s+=Ls(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:u}}function LE(e){var t=Vo(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function Q3(e){return["html","body","#document"].indexOf(fo(e))>=0?e.ownerDocument.body:ca(e)&&LE(e)?e:Q3(ty(e))}function $d(e,t){var r;t===void 0&&(t=[]);var n=Q3(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=Gn(n),i=a?[o].concat(o.visualViewport||[],LE(n)?n:[]):n,s=t.concat(i);return a?s:s.concat($d(ty(i)))}function j1(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function xle(e,t){var r=Gu(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function S$(e,t,r){return t===U3?j1(yle(e,r)):rl(t)?xle(t,r):j1(ble(Ji(e)))}function wle(e){var t=$d(ty(e)),r=["absolute","fixed"].indexOf(Vo(e).position)>=0,n=r&&ca(e)?Yf(e):e;return rl(n)?t.filter(function(a){return rl(a)&&H3(a,n)&&fo(a)!=="body"}):[]}function _le(e,t,r,n){var a=t==="clippingParents"?wle(e):[].concat(t),o=[].concat(a,[r]),i=o[0],s=o.reduce(function(u,l){var c=S$(e,l,n);return u.top=Ls(c.top,u.top),u.right=Mv(c.right,u.right),u.bottom=Mv(c.bottom,u.bottom),u.left=Ls(c.left,u.left),u},S$(e,i,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function X3(e){var t=e.reference,r=e.element,n=e.placement,a=n?uo(n):null,o=n?Qu(n):null,i=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,u;switch(a){case Rn:u={x:i,y:t.y-r.height};break;case ma:u={x:i,y:t.y+t.height};break;case ga:u={x:t.x+t.width,y:s};break;case jn:u={x:t.x-r.width,y:s};break;default:u={x:t.x,y:t.y}}var l=a?ME(a):null;if(l!=null){var c=l==="y"?"height":"width";switch(o){case qu:u[l]=u[l]-(t[c]/2-r[c]/2);break;case mf:u[l]=u[l]+(t[c]/2-r[c]/2);break}}return u}function gf(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,i=o===void 0?e.strategy:o,s=r.boundary,u=s===void 0?Use:s,l=r.rootBoundary,c=l===void 0?U3:l,d=r.elementContext,p=d===void 0?qc:d,v=r.altBoundary,m=v===void 0?!1:v,g=r.padding,E=g===void 0?0:g,x=K3(typeof E!="number"?E:G3(E,Xf)),b=p===qc?Vse:qc,y=e.rects.popper,_=e.elements[m?b:p],h=_le(rl(_)?_:_.contextElement||Ji(e.elements.popper),u,c,i),w=Gu(e.elements.reference),S=X3({reference:w,element:y,strategy:"absolute",placement:a}),O=j1(Object.assign({},y,S)),C=p===qc?O:w,P={top:h.top-C.top+x.top,bottom:C.bottom-h.bottom+x.bottom,left:h.left-C.left+x.left,right:C.right-h.right+x.right},$=e.modifiersData.offset;if(p===qc&&$){var R=$[a];Object.keys(P).forEach(function(F){var A=[ga,ma].indexOf(F)>=0?1:-1,I=[Rn,ma].indexOf(F)>=0?"y":"x";P[F]+=R[I]*A})}return P}function Ele(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,l=u===void 0?V3:u,c=Qu(n),d=c?s?x$:x$.filter(function(m){return Qu(m)===c}):Xf,p=d.filter(function(m){return l.indexOf(m)>=0});p.length===0&&(p=d);var v=p.reduce(function(m,g){return m[g]=gf(e,{placement:g,boundary:a,rootBoundary:o,padding:i})[uo(g)],m},{});return Object.keys(v).sort(function(m,g){return v[m]-v[g]})}function Sle(e){if(uo(e)===jE)return[];var t=mh(e);return[E$(e),t,E$(t)]}function Ole(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!0:i,u=r.fallbackPlacements,l=r.padding,c=r.boundary,d=r.rootBoundary,p=r.altBoundary,v=r.flipVariations,m=v===void 0?!0:v,g=r.allowedAutoPlacements,E=t.options.placement,x=uo(E),b=x===E,y=u||(b||!m?[mh(E)]:Sle(E)),_=[E].concat(y).reduce(function(be,xe){return be.concat(uo(xe)===jE?Ele(t,{placement:xe,boundary:c,rootBoundary:d,padding:l,flipVariations:m,allowedAutoPlacements:g}):xe)},[]),h=t.rects.reference,w=t.rects.popper,S=new Map,O=!0,C=_[0],P=0;P<_.length;P++){var $=_[P],R=uo($),F=Qu($)===qu,A=[Rn,ma].indexOf(R)>=0,I=A?"width":"height",U=gf(t,{placement:$,boundary:c,rootBoundary:d,altBoundary:p,padding:l}),W=A?F?ga:jn:F?ma:Rn;h[I]>w[I]&&(W=mh(W));var T=mh(W),V=[];if(o&&V.push(U[R]<=0),s&&V.push(U[W]<=0,U[T]<=0),V.every(function(be){return be})){C=$,O=!1;break}S.set($,V)}if(O)for(var G=m?3:1,ae=function(xe){var Se=_.find(function(Te){var $e=S.get(Te);if($e)return $e.slice(0,xe).every(function(_e){return _e})});if(Se)return C=Se,"break"},ie=G;ie>0;ie--){var ye=ae(ie);if(ye==="break")break}t.placement!==C&&(t.modifiersData[n]._skip=!0,t.placement=C,t.reset=!0)}}const Cle={name:"flip",enabled:!0,phase:"main",fn:Ole,requiresIfExists:["offset"],data:{_skip:!1}};function O$(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function C$(e){return[Rn,ga,ma,jn].some(function(t){return e[t]>=0})}function Ple(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=gf(t,{elementContext:"reference"}),s=gf(t,{altBoundary:!0}),u=O$(i,n),l=O$(s,a,o),c=C$(u),d=C$(l);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}const $le={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ple};function kle(e,t,r){var n=uo(e),a=[jn,Rn].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[jn,ga].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}function Rle(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,i=V3.reduce(function(c,d){return c[d]=kle(d,t.rects,o),c},{}),s=i[t.placement],u=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=i}const jle={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Rle};function Tle(e){var t=e.state,r=e.name;t.modifiersData[r]=X3({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Ile={name:"popperOffsets",enabled:!0,phase:"read",fn:Tle,data:{}};function Mle(e){return e==="x"?"y":"x"}function Ale(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!1:i,u=r.boundary,l=r.rootBoundary,c=r.altBoundary,d=r.padding,p=r.tether,v=p===void 0?!0:p,m=r.tetherOffset,g=m===void 0?0:m,E=gf(t,{boundary:u,rootBoundary:l,padding:d,altBoundary:c}),x=uo(t.placement),b=Qu(t.placement),y=!b,_=ME(x),h=Mle(_),w=t.modifiersData.popperOffsets,S=t.rects.reference,O=t.rects.popper,C=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,P=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),$=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(w){if(o){var F,A=_==="y"?Rn:jn,I=_==="y"?ma:ga,U=_==="y"?"height":"width",W=w[_],T=W+E[A],V=W-E[I],G=v?-O[U]/2:0,ae=b===qu?S[U]:O[U],ie=b===qu?-O[U]:-S[U],ye=t.elements.arrow,be=v&&ye?IE(ye):{width:0,height:0},xe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:q3(),Se=xe[A],Te=xe[I],$e=Pd(0,S[U],be[U]),_e=y?S[U]/2-G-$e-Se-P.mainAxis:ae-$e-Se-P.mainAxis,Ve=y?-S[U]/2+G+$e+Te+P.mainAxis:ie+$e+Te+P.mainAxis,Ie=t.elements.arrow&&Yf(t.elements.arrow),De=Ie?_==="y"?Ie.clientTop||0:Ie.clientLeft||0:0,Le=(F=$==null?void 0:$[_])!=null?F:0,We=W+_e-Le-De,tt=W+Ve-Le,dt=Pd(v?Mv(T,We):T,W,v?Ls(V,tt):V);w[_]=dt,R[_]=dt-W}if(s){var yt,z=_==="x"?Rn:jn,Y=_==="x"?ma:ga,te=w[h],ue=h==="y"?"height":"width",me=te+E[z],he=te-E[Y],ve=[Rn,jn].indexOf(x)!==-1,ee=(yt=$==null?void 0:$[h])!=null?yt:0,K=ve?me:te-S[ue]-O[ue]-ee+P.altAxis,Q=ve?te+S[ue]+O[ue]-ee-P.altAxis:he,re=v&&ve?ole(K,te,Q):Pd(v?K:me,te,v?Q:he);w[h]=re,R[h]=re-te}t.modifiersData[n]=R}}const Fle={name:"preventOverflow",enabled:!0,phase:"main",fn:Ale,requiresIfExists:["offset"]};function Lle(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Nle(e){return e===Gn(e)||!ca(e)?AE(e):Lle(e)}function Dle(e){var t=e.getBoundingClientRect(),r=Ku(t.width)/e.offsetWidth||1,n=Ku(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Ble(e,t,r){r===void 0&&(r=!1);var n=ca(t),a=ca(t)&&Dle(t),o=Ji(t),i=Gu(e,a,r),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((fo(t)!=="body"||LE(o))&&(s=Nle(t)),ca(t)?(u=Gu(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):o&&(u.x=FE(o))),{x:i.left+s.scrollLeft-u.x,y:i.top+s.scrollTop-u.y,width:i.width,height:i.height}}function zle(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(s){if(!r.has(s)){var u=t.get(s);u&&a(u)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||a(o)}),n}function Ule(e){var t=zle(e);return Zse.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function Vle(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Wle(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var P$={placement:"bottom",modifiers:[],strategy:"absolute"};function $$(){for(var e=arguments.length,t=new Array(e),r=0;r{o||s(Gle(a)||document.body)},[a,o]),ha(()=>{if(i&&!o)return kv(r,i),()=>{kv(r,null)}},[r,i,o]),o){if(f.isValidElement(n)){const l={ref:u};return f.cloneElement(n,l)}return N.jsx(f.Fragment,{children:n})}return N.jsx(f.Fragment,{children:i&&Tf.createPortal(n,i)})});function Qle(e){return qe("MuiPopper",e)}He("MuiPopper",["root"]);const Xle=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Yle=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Jle(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function T1(e){return typeof e=="function"?e():e}function Zle(e){return e.nodeType!==void 0}const eue=e=>{const{classes:t}=e;return Ge({root:["root"]},Qle,t)},tue={},rue=f.forwardRef(function(t,r){var n;const{anchorEl:a,children:o,direction:i,disablePortal:s,modifiers:u,open:l,placement:c,popperOptions:d,popperRef:p,slotProps:v={},slots:m={},TransitionProps:g}=t,E=Ee(t,Xle),x=f.useRef(null),b=tr(x,r),y=f.useRef(null),_=tr(y,p),h=f.useRef(_);ha(()=>{h.current=_},[_]),f.useImperativeHandle(p,()=>y.current,[]);const w=Jle(c,i),[S,O]=f.useState(w),[C,P]=f.useState(T1(a));f.useEffect(()=>{y.current&&y.current.forceUpdate()}),f.useEffect(()=>{a&&P(T1(a))},[a]),ha(()=>{if(!C||!l)return;const I=T=>{O(T.placement)};let U=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:T})=>{I(T)}}];u!=null&&(U=U.concat(u)),d&&d.modifiers!=null&&(U=U.concat(d.modifiers));const W=Kle(C,x.current,k({placement:w},d,{modifiers:U}));return h.current(W),()=>{W.destroy(),h.current(null)}},[C,s,u,l,d,w]);const $={placement:S};g!==null&&($.TransitionProps=g);const R=eue(t),F=(n=m.root)!=null?n:"div",A=Di({elementType:F,externalSlotProps:v.root,externalForwardedProps:E,additionalProps:{role:"tooltip",ref:b},ownerState:t,className:R.root});return N.jsx(F,k({},A,{children:typeof o=="function"?o($):o}))}),nue=f.forwardRef(function(t,r){const{anchorEl:n,children:a,container:o,direction:i="ltr",disablePortal:s=!1,keepMounted:u=!1,modifiers:l,open:c,placement:d="bottom",popperOptions:p=tue,popperRef:v,style:m,transition:g=!1,slotProps:E={},slots:x={}}=t,b=Ee(t,Yle),[y,_]=f.useState(!0),h=()=>{_(!1)},w=()=>{_(!0)};if(!u&&!c&&(!g||y))return null;let S;if(o)S=o;else if(n){const P=T1(n);S=P&&Zle(P)?Ir(P).body:Ir(null).body}const O=!c&&u&&(!g||y)?"none":void 0,C=g?{in:c,onEnter:h,onExited:w}:void 0;return N.jsx(Y3,{disablePortal:s,container:S,children:N.jsx(rue,k({anchorEl:n,direction:i,disablePortal:s,modifiers:l,ref:r,open:g?!y:c,placement:d,popperOptions:p,popperRef:v,slotProps:E,slots:x},b,{style:k({position:"fixed",top:0,left:0,display:O},m),TransitionProps:C,children:a}))})}),aue=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],oue=ne(nue,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),J3=f.forwardRef(function(t,r){var n;const a=B3(),o=Xe({props:t,name:"MuiPopper"}),{anchorEl:i,component:s,components:u,componentsProps:l,container:c,disablePortal:d,keepMounted:p,modifiers:v,open:m,placement:g,popperOptions:E,popperRef:x,transition:b,slots:y,slotProps:_}=o,h=Ee(o,aue),w=(n=y==null?void 0:y.root)!=null?n:u==null?void 0:u.Root,S=k({anchorEl:i,container:c,disablePortal:d,keepMounted:p,modifiers:v,open:m,placement:g,popperOptions:E,popperRef:x,transition:b},h);return N.jsx(oue,k({as:s,direction:a==null?void 0:a.direction,slots:{root:w},slotProps:_??l},S,{ref:r}))}),iue=Fn(N.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function sue(e){return qe("MuiChip",e)}const Ct=He("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),lue=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],uue=e=>{const{classes:t,disabled:r,size:n,color:a,iconColor:o,onDelete:i,clickable:s,variant:u}=e,l={root:["root",u,r&&"disabled",`size${fe(n)}`,`color${fe(a)}`,s&&"clickable",s&&`clickableColor${fe(a)}`,i&&"deletable",i&&`deletableColor${fe(a)}`,`${u}${fe(a)}`],label:["label",`label${fe(n)}`],avatar:["avatar",`avatar${fe(n)}`,`avatarColor${fe(a)}`],icon:["icon",`icon${fe(n)}`,`iconColor${fe(o)}`],deleteIcon:["deleteIcon",`deleteIcon${fe(n)}`,`deleteIconColor${fe(a)}`,`deleteIcon${fe(u)}Color${fe(a)}`]};return Ge(l,sue,t)},cue=ne("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{color:n,iconColor:a,clickable:o,onDelete:i,size:s,variant:u}=r;return[{[`& .${Ct.avatar}`]:t.avatar},{[`& .${Ct.avatar}`]:t[`avatar${fe(s)}`]},{[`& .${Ct.avatar}`]:t[`avatarColor${fe(n)}`]},{[`& .${Ct.icon}`]:t.icon},{[`& .${Ct.icon}`]:t[`icon${fe(s)}`]},{[`& .${Ct.icon}`]:t[`iconColor${fe(a)}`]},{[`& .${Ct.deleteIcon}`]:t.deleteIcon},{[`& .${Ct.deleteIcon}`]:t[`deleteIcon${fe(s)}`]},{[`& .${Ct.deleteIcon}`]:t[`deleteIconColor${fe(n)}`]},{[`& .${Ct.deleteIcon}`]:t[`deleteIcon${fe(u)}Color${fe(n)}`]},t.root,t[`size${fe(s)}`],t[`color${fe(n)}`],o&&t.clickable,o&&n!=="default"&&t[`clickableColor${fe(n)})`],i&&t.deletable,i&&n!=="default"&&t[`deletableColor${fe(n)}`],t[u],t[`${u}${fe(n)}`]]}})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return k({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Ct.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Ct.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:r,fontSize:e.typography.pxToRem(12)},[`& .${Ct.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Ct.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Ct.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Ct.icon}`]:k({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&k({color:e.vars?e.vars.palette.Chip.defaultIconColor:r},t.color!=="default"&&{color:"inherit"})),[`& .${Ct.deleteIcon}`]:k({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:vt(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:vt(e.palette.text.primary,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:vt(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${Ct.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:vt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${Ct.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>k({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:vt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Ct.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:vt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${Ct.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>k({},t.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Ct.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Ct.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Ct.avatar}`]:{marginLeft:4},[`& .${Ct.avatarSmall}`]:{marginLeft:2},[`& .${Ct.icon}`]:{marginLeft:4},[`& .${Ct.iconSmall}`]:{marginLeft:2},[`& .${Ct.deleteIcon}`]:{marginRight:5},[`& .${Ct.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:vt(e.palette[t.color].main,.7)}`,[`&.${Ct.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:vt(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${Ct.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:vt(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${Ct.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:vt(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),due=ne("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:r}=e,{size:n}=r;return[t.label,t[`label${fe(n)}`]]}})(({ownerState:e})=>k({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.variant==="outlined"&&{paddingLeft:11,paddingRight:11},e.size==="small"&&{paddingLeft:8,paddingRight:8},e.size==="small"&&e.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function k$(e){return e.key==="Backspace"||e.key==="Delete"}const Z3=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiChip"}),{avatar:a,className:o,clickable:i,color:s="default",component:u,deleteIcon:l,disabled:c=!1,icon:d,label:p,onClick:v,onDelete:m,onKeyDown:g,onKeyUp:E,size:x="medium",variant:b="filled",tabIndex:y,skipFocusWhenDisabled:_=!1}=n,h=Ee(n,lue),w=f.useRef(null),S=tr(w,r),O=V=>{V.stopPropagation(),m&&m(V)},C=V=>{V.currentTarget===V.target&&k$(V)&&V.preventDefault(),g&&g(V)},P=V=>{V.currentTarget===V.target&&(m&&k$(V)?m(V):V.key==="Escape"&&w.current&&w.current.blur()),E&&E(V)},$=i!==!1&&v?!0:i,R=$||m?Uo:u||"div",F=k({},n,{component:R,disabled:c,size:x,color:s,iconColor:f.isValidElement(d)&&d.props.color||s,onDelete:!!m,clickable:$,variant:b}),A=uue(F),I=R===Uo?k({component:u||"div",focusVisibleClassName:A.focusVisible},m&&{disableRipple:!0}):{};let U=null;m&&(U=l&&f.isValidElement(l)?f.cloneElement(l,{className:ce(l.props.className,A.deleteIcon),onClick:O}):N.jsx(iue,{className:ce(A.deleteIcon),onClick:O}));let W=null;a&&f.isValidElement(a)&&(W=f.cloneElement(a,{className:ce(A.avatar,a.props.className)}));let T=null;return d&&f.isValidElement(d)&&(T=f.cloneElement(d,{className:ce(A.icon,d.props.className)})),N.jsxs(cue,k({as:R,className:ce(A.root,o),disabled:$&&c?!0:void 0,onClick:v,onKeyDown:C,onKeyUp:P,ref:S,tabIndex:_&&c?-1:y,ownerState:F},I,h,{children:[W||T,N.jsx(due,{className:ce(A.label),ownerState:F,children:p}),U]}))}),fue=["onChange","maxRows","minRows","style","value"];function Fp(e){return parseInt(e,10)||0}const pue={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function hue(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const vue=f.forwardRef(function(t,r){const{onChange:n,maxRows:a,minRows:o=1,style:i,value:s}=t,u=Ee(t,fue),{current:l}=f.useRef(s!=null),c=f.useRef(null),d=tr(r,c),p=f.useRef(null),v=f.useRef(null),m=f.useCallback(()=>{const x=c.current,y=co(x).getComputedStyle(x);if(y.width==="0px")return{outerHeightStyle:0,overflowing:!1};const _=v.current;_.style.width=y.width,_.value=x.value||t.placeholder||"x",_.value.slice(-1)===` -`&&(_.value+=" ");const h=y.boxSizing,w=Fp(y.paddingBottom)+Fp(y.paddingTop),S=Fp(y.borderBottomWidth)+Fp(y.borderTopWidth),O=_.scrollHeight;_.value="x";const C=_.scrollHeight;let P=O;o&&(P=Math.max(Number(o)*C,P)),a&&(P=Math.min(Number(a)*C,P)),P=Math.max(P,C);const $=P+(h==="border-box"?w+S:0),R=Math.abs(P-O)<=1;return{outerHeightStyle:$,overflowing:R}},[a,o,t.placeholder]),g=f.useCallback(()=>{const x=m();if(hue(x))return;const b=x.outerHeightStyle,y=c.current;p.current!==b&&(p.current=b,y.style.height=`${b}px`),y.style.overflow=x.overflowing?"hidden":""},[m]);ha(()=>{const x=()=>{g()};let b;const y=Bg(x),_=c.current,h=co(_);h.addEventListener("resize",y);let w;return typeof ResizeObserver<"u"&&(w=new ResizeObserver(x),w.observe(_)),()=>{y.clear(),cancelAnimationFrame(b),h.removeEventListener("resize",y),w&&w.disconnect()}},[m,g]),ha(()=>{g()});const E=x=>{l||g(),n&&n(x)};return N.jsxs(f.Fragment,{children:[N.jsx("textarea",k({value:s,onChange:E,ref:d,rows:o,style:i},u)),N.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:v,tabIndex:-1,style:k({},pue.shadow,i,{paddingTop:0,paddingBottom:0})})]})});function Oc({props:e,states:t,muiFormControl:r}){return t.reduce((n,a)=>(n[a]=e[a],r&&typeof e[a]>"u"&&(n[a]=r[a]),n),{})}const ry=f.createContext(void 0);function Zi(){return f.useContext(ry)}function mue(e){return N.jsx(Oae,k({},e,{defaultTheme:Vg,themeId:Zs}))}function R$(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Av(e,t=!1){return e&&(R$(e.value)&&e.value!==""||t&&R$(e.defaultValue)&&e.defaultValue!=="")}function gue(e){return e.startAdornment}function yue(e){return qe("MuiInputBase",e)}const Xu=He("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),bue=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],ny=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,r.size==="small"&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${fe(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},ay=(e,t)=>{const{ownerState:r}=e;return[t.input,r.size==="small"&&t.inputSizeSmall,r.multiline&&t.inputMultiline,r.type==="search"&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},xue=e=>{const{classes:t,color:r,disabled:n,error:a,endAdornment:o,focused:i,formControl:s,fullWidth:u,hiddenLabel:l,multiline:c,readOnly:d,size:p,startAdornment:v,type:m}=e,g={root:["root",`color${fe(r)}`,n&&"disabled",a&&"error",u&&"fullWidth",i&&"focused",s&&"formControl",p&&p!=="medium"&&`size${fe(p)}`,c&&"multiline",v&&"adornedStart",o&&"adornedEnd",l&&"hiddenLabel",d&&"readOnly"],input:["input",n&&"disabled",m==="search"&&"inputTypeSearch",c&&"inputMultiline",p==="small"&&"inputSizeSmall",l&&"inputHiddenLabel",v&&"inputAdornedStart",o&&"inputAdornedEnd",d&&"readOnly"]};return Ge(g,yue,t)},oy=ne("div",{name:"MuiInputBase",slot:"Root",overridesResolver:ny})(({theme:e,ownerState:t})=>k({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Xu.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&k({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),iy=ne("input",{name:"MuiInputBase",slot:"Input",overridesResolver:ay})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light",n=k({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),a={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return k({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Xu.formControl} &`]:{"&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&:-ms-input-placeholder":a,"&::-ms-input-placeholder":a,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Xu.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),wue=N.jsx(mue,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),sy=f.forwardRef(function(t,r){var n;const a=Xe({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:s,className:u,components:l={},componentsProps:c={},defaultValue:d,disabled:p,disableInjectingGlobalStyles:v,endAdornment:m,fullWidth:g=!1,id:E,inputComponent:x="input",inputProps:b={},inputRef:y,maxRows:_,minRows:h,multiline:w=!1,name:S,onBlur:O,onChange:C,onClick:P,onFocus:$,onKeyDown:R,onKeyUp:F,placeholder:A,readOnly:I,renderSuffix:U,rows:W,slotProps:T={},slots:V={},startAdornment:G,type:ae="text",value:ie}=a,ye=Ee(a,bue),be=b.value!=null?b.value:ie,{current:xe}=f.useRef(be!=null),Se=f.useRef(),Te=f.useCallback(re=>{},[]),$e=tr(Se,y,b.ref,Te),[_e,Ve]=f.useState(!1),Ie=Zi(),De=Oc({props:a,muiFormControl:Ie,states:["color","disabled","error","hiddenLabel","size","required","filled"]});De.focused=Ie?Ie.focused:_e,f.useEffect(()=>{!Ie&&p&&_e&&(Ve(!1),O&&O())},[Ie,p,_e,O]);const Le=Ie&&Ie.onFilled,We=Ie&&Ie.onEmpty,tt=f.useCallback(re=>{Av(re)?Le&&Le():We&&We()},[Le,We]);ha(()=>{xe&&tt({value:be})},[be,tt,xe]);const dt=re=>{if(De.disabled){re.stopPropagation();return}$&&$(re),b.onFocus&&b.onFocus(re),Ie&&Ie.onFocus?Ie.onFocus(re):Ve(!0)},yt=re=>{O&&O(re),b.onBlur&&b.onBlur(re),Ie&&Ie.onBlur?Ie.onBlur(re):Ve(!1)},z=(re,...le)=>{if(!xe){const Me=re.target||Se.current;if(Me==null)throw new Error(zo(1));tt({value:Me.value})}b.onChange&&b.onChange(re,...le),C&&C(re,...le)};f.useEffect(()=>{tt(Se.current)},[]);const Y=re=>{Se.current&&re.currentTarget===re.target&&Se.current.focus(),P&&P(re)};let te=x,ue=b;w&&te==="input"&&(W?ue=k({type:void 0,minRows:W,maxRows:W},ue):ue=k({type:void 0,maxRows:_,minRows:h},ue),te=vue);const me=re=>{tt(re.animationName==="mui-auto-fill-cancel"?Se.current:{value:"x"})};f.useEffect(()=>{Ie&&Ie.setAdornedStart(!!G)},[Ie,G]);const he=k({},a,{color:De.color||"primary",disabled:De.disabled,endAdornment:m,error:De.error,focused:De.focused,formControl:Ie,fullWidth:g,hiddenLabel:De.hiddenLabel,multiline:w,size:De.size,startAdornment:G,type:ae}),ve=xue(he),ee=V.root||l.Root||oy,K=T.root||c.root||{},Q=V.input||l.Input||iy;return ue=k({},ue,(n=T.input)!=null?n:c.input),N.jsxs(f.Fragment,{children:[!v&&wue,N.jsxs(ee,k({},K,!vf(ee)&&{ownerState:k({},he,K.ownerState)},{ref:r,onClick:Y},ye,{className:ce(ve.root,K.className,u,I&&"MuiInputBase-readOnly"),children:[G,N.jsx(ry.Provider,{value:null,children:N.jsx(Q,k({ownerState:he,"aria-invalid":De.error,"aria-describedby":o,autoComplete:i,autoFocus:s,defaultValue:d,disabled:De.disabled,id:E,onAnimationStart:me,name:S,placeholder:A,readOnly:I,required:De.required,rows:W,value:be,onKeyDown:R,onKeyUp:F,type:ae},ue,!vf(Q)&&{as:te,ownerState:k({},he,ue.ownerState)},{ref:$e,className:ce(ve.input,ue.className,I&&"MuiInputBase-readOnly"),onBlur:yt,onChange:z,onFocus:dt}))}),m,U?U(k({},De,{startAdornment:G})):null]}))]})});function _ue(e){return qe("MuiInput",e)}const Kc=k({},Xu,He("MuiInput",["root","underline","input"]));function Eue(e){return qe("MuiOutlinedInput",e)}const ni=k({},Xu,He("MuiOutlinedInput",["root","notchedOutline","input"]));function Sue(e){return qe("MuiFilledInput",e)}const ts=k({},Xu,He("MuiFilledInput",["root","underline","input"])),Oue=Fn(N.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),Cue=Fn(N.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function Pue(e){return qe("MuiAvatar",e)}He("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const $ue=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],kue=e=>{const{classes:t,variant:r,colorDefault:n}=e;return Ge({root:["root",r,n&&"colorDefault"],img:["img"],fallback:["fallback"]},Pue,t)},Rue=ne("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:k({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:k({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),jue=ne("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Tue=ne(Cue,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function Iue({crossOrigin:e,referrerPolicy:t,src:r,srcSet:n}){const[a,o]=f.useState(!1);return f.useEffect(()=>{if(!r&&!n)return;o(!1);let i=!0;const s=new Image;return s.onload=()=>{i&&o("loaded")},s.onerror=()=>{i&&o("error")},s.crossOrigin=e,s.referrerPolicy=t,s.src=r,n&&(s.srcset=n),()=>{i=!1}},[e,t,r,n]),a}const I1=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiAvatar"}),{alt:a,children:o,className:i,component:s="div",slots:u={},slotProps:l={},imgProps:c,sizes:d,src:p,srcSet:v,variant:m="circular"}=n,g=Ee(n,$ue);let E=null;const x=Iue(k({},c,{src:p,srcSet:v})),b=p||v,y=b&&x!=="error",_=k({},n,{colorDefault:!y,component:s,variant:m}),h=kue(_),[w,S]=ise("img",{className:h.img,elementType:jue,externalForwardedProps:{slots:u,slotProps:{img:k({},c,l.img)}},additionalProps:{alt:a,src:p,srcSet:v,sizes:d},ownerState:_});return y?E=N.jsx(w,k({},S)):o||o===0?E=o:b&&a?E=a[0]:E=N.jsx(Tue,{ownerState:_,className:h.fallback}),N.jsx(Rue,k({as:s,ownerState:_,className:ce(h.root,i),ref:r},g,{children:E}))}),Mue=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Aue={entering:{opacity:1},entered:{opacity:1}},e5=f.forwardRef(function(t,r){const n=Yo(),a={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:s,easing:u,in:l,onEnter:c,onEntered:d,onEntering:p,onExit:v,onExited:m,onExiting:g,style:E,timeout:x=a,TransitionComponent:b=Da}=t,y=Ee(t,Mue),_=f.useRef(null),h=tr(_,s.ref,r),w=A=>I=>{if(A){const U=_.current;I===void 0?A(U):A(U,I)}},S=w(p),O=w((A,I)=>{kE(A);const U=Hu({style:E,timeout:x,easing:u},{mode:"enter"});A.style.webkitTransition=n.transitions.create("opacity",U),A.style.transition=n.transitions.create("opacity",U),c&&c(A,I)}),C=w(d),P=w(g),$=w(A=>{const I=Hu({style:E,timeout:x,easing:u},{mode:"exit"});A.style.webkitTransition=n.transitions.create("opacity",I),A.style.transition=n.transitions.create("opacity",I),v&&v(A)}),R=w(m),F=A=>{o&&o(_.current,A)};return N.jsx(b,k({appear:i,in:l,nodeRef:_,onEnter:O,onEntered:C,onEntering:S,onExit:$,onExited:R,onExiting:P,addEndListener:F,timeout:x},y,{children:(A,I)=>f.cloneElement(s,k({style:k({opacity:0,visibility:A==="exited"&&!l?"hidden":void 0},Aue[A],E,s.props.style),ref:h},I))}))});function Fue(e){return qe("MuiBackdrop",e)}He("MuiBackdrop",["root","invisible"]);const Lue=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Nue=e=>{const{classes:t,invisible:r}=e;return Ge({root:["root",r&&"invisible"]},Fue,t)},Due=ne("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})(({ownerState:e})=>k({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),t5=f.forwardRef(function(t,r){var n,a,o;const i=Xe({props:t,name:"MuiBackdrop"}),{children:s,className:u,component:l="div",components:c={},componentsProps:d={},invisible:p=!1,open:v,slotProps:m={},slots:g={},TransitionComponent:E=e5,transitionDuration:x}=i,b=Ee(i,Lue),y=k({},i,{component:l,invisible:p}),_=Nue(y),h=(n=m.root)!=null?n:d.root;return N.jsx(E,k({in:v,timeout:x},b,{children:N.jsx(Due,k({"aria-hidden":!0},h,{as:(a=(o=g.root)!=null?o:c.Root)!=null?a:l,className:ce(_.root,u,h==null?void 0:h.className),ownerState:k({},y,h==null?void 0:h.ownerState),classes:_,ref:r,children:s}))}))}),Bue=He("MuiBox",["root"]),zue=Tv(),r5=jae({themeId:Zs,defaultTheme:zue,defaultClassName:Bue.root,generateClassName:mE.generate});function Uue(e){return qe("MuiButton",e)}const Lp=He("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Vue=f.createContext({}),Wue=f.createContext(void 0),Hue=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],que=e=>{const{color:t,disableElevation:r,fullWidth:n,size:a,variant:o,classes:i}=e,s={root:["root",o,`${o}${fe(t)}`,`size${fe(a)}`,`${o}Size${fe(a)}`,`color${fe(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${fe(a)}`],endIcon:["icon","endIcon",`iconSize${fe(a)}`]},u=Ge(s,Uue,i);return k({},i,u)},n5=e=>k({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),Kue=ne(Uo,{shouldForwardProp:e=>Kr(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${fe(r.color)}`],t[`size${fe(r.size)}`],t[`${r.variant}Size${fe(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;const a=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],o=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return k({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":k({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:vt(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:vt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:vt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:o,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":k({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Lp.focusVisible}`]:k({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Lp.disabled}`]:k({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${vt(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:a,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Lp.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Lp.disabled}`]:{boxShadow:"none"}}),Gue=ne("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${fe(r.size)}`]]}})(({ownerState:e})=>k({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},n5(e))),Que=ne("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${fe(r.size)}`]]}})(({ownerState:e})=>k({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},n5(e))),In=f.forwardRef(function(t,r){const n=f.useContext(Vue),a=f.useContext(Wue),o=pf(n,t),i=Xe({props:o,name:"MuiButton"}),{children:s,color:u="primary",component:l="button",className:c,disabled:d=!1,disableElevation:p=!1,disableFocusRipple:v=!1,endIcon:m,focusVisibleClassName:g,fullWidth:E=!1,size:x="medium",startIcon:b,type:y,variant:_="text"}=i,h=Ee(i,Hue),w=k({},i,{color:u,component:l,disabled:d,disableElevation:p,disableFocusRipple:v,fullWidth:E,size:x,type:y,variant:_}),S=que(w),O=b&&N.jsx(Gue,{className:S.startIcon,ownerState:w,children:b}),C=m&&N.jsx(Que,{className:S.endIcon,ownerState:w,children:m}),P=a||"";return N.jsxs(Kue,k({ownerState:w,className:ce(n.className,S.root,c,P),component:l,disabled:d,focusRipple:!v,focusVisibleClassName:ce(S.focusVisible,g),ref:r,type:y},h,{classes:S,children:[O,s,C]}))});function Xue(e){return qe("MuiCard",e)}He("MuiCard",["root"]);const Yue=["className","raised"],Jue=e=>{const{classes:t}=e;return Ge({root:["root"]},Xue,t)},Zue=ne(Yi,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),Jf=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiCard"}),{className:a,raised:o=!1}=n,i=Ee(n,Yue),s=k({},n,{raised:o}),u=Jue(s);return N.jsx(Zue,k({className:ce(u.root,a),elevation:o?8:void 0,ref:r,ownerState:s},i))});function ece(e){return qe("MuiCardContent",e)}He("MuiCardContent",["root"]);const tce=["className","component"],rce=e=>{const{classes:t}=e;return Ge({root:["root"]},ece,t)},nce=ne("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),ly=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiCardContent"}),{className:a,component:o="div"}=n,i=Ee(n,tce),s=k({},n,{component:o}),u=rce(s);return N.jsx(nce,k({as:o,className:ce(u.root,a),ownerState:s,ref:r},i))});function ace(e){return qe("PrivateSwitchBase",e)}He("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const oce=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],ice=e=>{const{classes:t,checked:r,disabled:n,edge:a}=e,o={root:["root",r&&"checked",n&&"disabled",a&&`edge${fe(a)}`],input:["input"]};return Ge(o,ace,t)},sce=ne(Uo)(({ownerState:e})=>k({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),lce=ne("input",{shouldForwardProp:Kr})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),uce=f.forwardRef(function(t,r){const{autoFocus:n,checked:a,checkedIcon:o,className:i,defaultChecked:s,disabled:u,disableFocusRipple:l=!1,edge:c=!1,icon:d,id:p,inputProps:v,inputRef:m,name:g,onBlur:E,onChange:x,onFocus:b,readOnly:y,required:_=!1,tabIndex:h,type:w,value:S}=t,O=Ee(t,oce),[C,P]=Wu({controlled:a,default:!!s,name:"SwitchBase",state:"checked"}),$=Zi(),R=V=>{b&&b(V),$&&$.onFocus&&$.onFocus(V)},F=V=>{E&&E(V),$&&$.onBlur&&$.onBlur(V)},A=V=>{if(V.nativeEvent.defaultPrevented)return;const G=V.target.checked;P(G),x&&x(V,G)};let I=u;$&&typeof I>"u"&&(I=$.disabled);const U=w==="checkbox"||w==="radio",W=k({},t,{checked:C,disabled:I,disableFocusRipple:l,edge:c}),T=ice(W);return N.jsxs(sce,k({component:"span",className:ce(T.root,i),centerRipple:!0,focusRipple:!l,disabled:I,tabIndex:null,role:void 0,onFocus:R,onBlur:F,ownerState:W,ref:r},O,{children:[N.jsx(lce,k({autoFocus:n,checked:a,defaultChecked:s,className:T.input,disabled:I,id:U?p:void 0,name:g,onChange:A,readOnly:y,ref:m,required:_,ownerState:W,tabIndex:h,type:w},w==="checkbox"&&S===void 0?{}:{value:S},v)),C?o:d]}))}),cce=Fn(N.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),dce=Fn(N.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),fce=Fn(N.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function pce(e){return qe("MuiCheckbox",e)}const S0=He("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),hce=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],vce=e=>{const{classes:t,indeterminate:r,color:n,size:a}=e,o={root:["root",r&&"indeterminate",`color${fe(n)}`,`size${fe(a)}`]},i=Ge(o,pce,t);return k({},t,i)},mce=ne(uce,{shouldForwardProp:e=>Kr(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,t[`size${fe(r.size)}`],r.color!=="default"&&t[`color${fe(r.color)}`]]}})(({theme:e,ownerState:t})=>k({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:vt(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${S0.checked}, &.${S0.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${S0.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),gce=N.jsx(dce,{}),yce=N.jsx(cce,{}),bce=N.jsx(fce,{}),Fv=f.forwardRef(function(t,r){var n,a;const o=Xe({props:t,name:"MuiCheckbox"}),{checkedIcon:i=gce,color:s="primary",icon:u=yce,indeterminate:l=!1,indeterminateIcon:c=bce,inputProps:d,size:p="medium",className:v}=o,m=Ee(o,hce),g=l?c:u,E=l?c:i,x=k({},o,{color:s,indeterminate:l,size:p}),b=vce(x);return N.jsx(mce,k({type:"checkbox",inputProps:k({"data-indeterminate":l},d),icon:f.cloneElement(g,{fontSize:(n=g.props.fontSize)!=null?n:p}),checkedIcon:f.cloneElement(E,{fontSize:(a=E.props.fontSize)!=null?a:p}),ownerState:x,ref:r,className:ce(b.root,v)},m,{classes:b}))});function xce(e){return qe("MuiCircularProgress",e)}He("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const wce=["className","color","disableShrink","size","style","thickness","value","variant"];let uy=e=>e,j$,T$,I$,M$;const ai=44,_ce=Xo(j$||(j$=uy` - 0% { - transform: rotate(0deg); - } - - 100% { - transform: rotate(360deg); - } -`)),Ece=Xo(T$||(T$=uy` - 0% { - stroke-dasharray: 1px, 200px; - stroke-dashoffset: 0; - } - - 50% { - stroke-dasharray: 100px, 200px; - stroke-dashoffset: -15px; - } - - 100% { - stroke-dasharray: 100px, 200px; - stroke-dashoffset: -125px; - } -`)),Sce=e=>{const{classes:t,variant:r,color:n,disableShrink:a}=e,o={root:["root",r,`color${fe(n)}`],svg:["svg"],circle:["circle",`circle${fe(r)}`,a&&"circleDisableShrink"]};return Ge(o,xce,t)},Oce=ne("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${fe(r.color)}`]]}})(({ownerState:e,theme:t})=>k({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&sl(I$||(I$=uy` - animation: ${0} 1.4s linear infinite; - `),_ce)),Cce=ne("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Pce=ne("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${fe(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>k({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&sl(M$||(M$=uy` - animation: ${0} 1.4s ease-in-out infinite; - `),Ece)),cy=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiCircularProgress"}),{className:a,color:o="primary",disableShrink:i=!1,size:s=40,style:u,thickness:l=3.6,value:c=0,variant:d="indeterminate"}=n,p=Ee(n,wce),v=k({},n,{color:o,disableShrink:i,size:s,thickness:l,value:c,variant:d}),m=Sce(v),g={},E={},x={};if(d==="determinate"){const b=2*Math.PI*((ai-l)/2);g.strokeDasharray=b.toFixed(3),x["aria-valuenow"]=Math.round(c),g.strokeDashoffset=`${((100-c)/100*b).toFixed(3)}px`,E.transform="rotate(-90deg)"}return N.jsx(Oce,k({className:ce(m.root,a),style:k({width:s,height:s},E,u),ownerState:v,ref:r,role:"progressbar"},x,p,{children:N.jsx(Cce,{className:m.svg,ownerState:v,viewBox:`${ai/2} ${ai/2} ${ai} ${ai}`,children:N.jsx(Pce,{className:m.circle,style:g,ownerState:v,cx:ai,cy:ai,r:(ai-l)/2,fill:"none",strokeWidth:l})})}))});function A$(e){return e.substring(2).toLowerCase()}function $ce(e,t){return t.documentElement.clientWidth(setTimeout(()=>{u.current=!0},0),()=>{u.current=!1}),[]);const c=tr(t.ref,s),d=la(m=>{const g=l.current;l.current=!1;const E=Ir(s.current);if(!u.current||!s.current||"clientX"in m&&$ce(m,E))return;if(i.current){i.current=!1;return}let x;m.composedPath?x=m.composedPath().indexOf(s.current)>-1:x=!E.documentElement.contains(m.target)||s.current.contains(m.target),!x&&(r||!g)&&a(m)}),p=m=>g=>{l.current=!0;const E=t.props[m];E&&E(g)},v={ref:c};return o!==!1&&(v[o]=p(o)),f.useEffect(()=>{if(o!==!1){const m=A$(o),g=Ir(s.current),E=()=>{i.current=!0};return g.addEventListener(m,d),g.addEventListener("touchmove",E),()=>{g.removeEventListener(m,d),g.removeEventListener("touchmove",E)}}},[d,o]),n!==!1&&(v[n]=p(n)),f.useEffect(()=>{if(n!==!1){const m=A$(n),g=Ir(s.current);return g.addEventListener(m,d),()=>{g.removeEventListener(m,d)}}},[d,n]),N.jsx(f.Fragment,{children:f.cloneElement(t,v)})}const Rce=(e,t)=>k({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),jce=e=>k({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}});function Tce(e){const t=Ir(e);return t.body===e?co(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function kd(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function F$(e){return parseInt(co(e).getComputedStyle(e).paddingRight,10)||0}function Ice(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function L$(e,t,r,n,a){const o=[t,r,...n];[].forEach.call(e.children,i=>{const s=o.indexOf(i)===-1,u=!Ice(i);s&&u&&kd(i,a)})}function O0(e,t){let r=-1;return e.some((n,a)=>t(n)?(r=a,!0):!1),r}function Mce(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(Tce(n)){const i=w3(Ir(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${F$(n)+i}px`;const s=Ir(n).querySelectorAll(".mui-fixed");[].forEach.call(s,u=>{r.push({value:u.style.paddingRight,property:"padding-right",el:u}),u.style.paddingRight=`${F$(u)+i}px`})}let o;if(n.parentNode instanceof DocumentFragment)o=Ir(n).body;else{const i=n.parentElement,s=co(n);o=(i==null?void 0:i.nodeName)==="HTML"&&s.getComputedStyle(i).overflowY==="scroll"?i:n}r.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{r.forEach(({value:o,el:i,property:s})=>{o?i.style.setProperty(s,o):i.style.removeProperty(s)})}}function Ace(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class Fce{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&kd(t.modalRef,!1);const a=Ace(r);L$(r,t.mount,t.modalRef,a,!0);const o=O0(this.containers,i=>i.container===r);return o!==-1?(this.containers[o].modals.push(t),n):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:a}),n)}mount(t,r){const n=O0(this.containers,o=>o.modals.indexOf(t)!==-1),a=this.containers[n];a.restore||(a.restore=Mce(a,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const a=O0(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[a];if(o.modals.splice(o.modals.indexOf(t),1),this.modals.splice(n,1),o.modals.length===0)o.restore&&o.restore(),t.modalRef&&kd(t.modalRef,r),L$(o.container,t.mount,t.modalRef,o.hiddenSiblings,!1),this.containers.splice(a,1);else{const i=o.modals[o.modals.length-1];i.modalRef&&kd(i.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const Lce=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Nce(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function Dce(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function Bce(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Dce(e))}function zce(e){const t=[],r=[];return Array.from(e.querySelectorAll(Lce)).forEach((n,a)=>{const o=Nce(n);o===-1||!Bce(n)||(o===0?t.push(n):r.push({documentOrder:a,tabIndex:o,node:n}))}),r.sort((n,a)=>n.tabIndex===a.tabIndex?n.documentOrder-a.documentOrder:n.tabIndex-a.tabIndex).map(n=>n.node).concat(t)}function Uce(){return!0}function Vce(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:a=!1,getTabbable:o=zce,isEnabled:i=Uce,open:s}=e,u=f.useRef(!1),l=f.useRef(null),c=f.useRef(null),d=f.useRef(null),p=f.useRef(null),v=f.useRef(!1),m=f.useRef(null),g=tr(t.ref,m),E=f.useRef(null);f.useEffect(()=>{!s||!m.current||(v.current=!r)},[r,s]),f.useEffect(()=>{if(!s||!m.current)return;const y=Ir(m.current);return m.current.contains(y.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),v.current&&m.current.focus()),()=>{a||(d.current&&d.current.focus&&(u.current=!0,d.current.focus()),d.current=null)}},[s]),f.useEffect(()=>{if(!s||!m.current)return;const y=Ir(m.current),_=S=>{E.current=S,!(n||!i()||S.key!=="Tab")&&y.activeElement===m.current&&S.shiftKey&&(u.current=!0,c.current&&c.current.focus())},h=()=>{const S=m.current;if(S===null)return;if(!y.hasFocus()||!i()||u.current){u.current=!1;return}if(S.contains(y.activeElement)||n&&y.activeElement!==l.current&&y.activeElement!==c.current)return;if(y.activeElement!==p.current)p.current=null;else if(p.current!==null)return;if(!v.current)return;let O=[];if((y.activeElement===l.current||y.activeElement===c.current)&&(O=o(m.current)),O.length>0){var C,P;const $=!!((C=E.current)!=null&&C.shiftKey&&((P=E.current)==null?void 0:P.key)==="Tab"),R=O[0],F=O[O.length-1];typeof R!="string"&&typeof F!="string"&&($?F.focus():R.focus())}else S.focus()};y.addEventListener("focusin",h),y.addEventListener("keydown",_,!0);const w=setInterval(()=>{y.activeElement&&y.activeElement.tagName==="BODY"&&h()},50);return()=>{clearInterval(w),y.removeEventListener("focusin",h),y.removeEventListener("keydown",_,!0)}},[r,n,a,i,s,o]);const x=y=>{d.current===null&&(d.current=y.relatedTarget),v.current=!0,p.current=y.target;const _=t.props.onFocus;_&&_(y)},b=y=>{d.current===null&&(d.current=y.relatedTarget),v.current=!0};return N.jsxs(f.Fragment,{children:[N.jsx("div",{tabIndex:s?0:-1,onFocus:b,ref:l,"data-testid":"sentinelStart"}),f.cloneElement(t,{ref:g,onFocus:x}),N.jsx("div",{tabIndex:s?0:-1,onFocus:b,ref:c,"data-testid":"sentinelEnd"})]})}function Wce(e){return typeof e=="function"?e():e}function Hce(e){return e?e.props.hasOwnProperty("in"):!1}const qce=new Fce;function Kce(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:a=qce,closeAfterTransition:o=!1,onTransitionEnter:i,onTransitionExited:s,children:u,onClose:l,open:c,rootRef:d}=e,p=f.useRef({}),v=f.useRef(null),m=f.useRef(null),g=tr(m,d),[E,x]=f.useState(!c),b=Hce(u);let y=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(y=!1);const _=()=>Ir(v.current),h=()=>(p.current.modalRef=m.current,p.current.mount=v.current,p.current),w=()=>{a.mount(h(),{disableScrollLock:n}),m.current&&(m.current.scrollTop=0)},S=la(()=>{const U=Wce(t)||_().body;a.add(h(),U),m.current&&w()}),O=f.useCallback(()=>a.isTopModal(h()),[a]),C=la(U=>{v.current=U,U&&(c&&O()?w():m.current&&kd(m.current,y))}),P=f.useCallback(()=>{a.remove(h(),y)},[y,a]);f.useEffect(()=>()=>{P()},[P]),f.useEffect(()=>{c?S():(!b||!o)&&P()},[c,P,b,o,S]);const $=U=>W=>{var T;(T=U.onKeyDown)==null||T.call(U,W),!(W.key!=="Escape"||W.which===229||!O())&&(r||(W.stopPropagation(),l&&l(W,"escapeKeyDown")))},R=U=>W=>{var T;(T=U.onClick)==null||T.call(U,W),W.target===W.currentTarget&&l&&l(W,"backdropClick")};return{getRootProps:(U={})=>{const W=Rv(e);delete W.onTransitionEnter,delete W.onTransitionExited;const T=k({},W,U);return k({role:"presentation"},T,{onKeyDown:$(T),ref:g})},getBackdropProps:(U={})=>{const W=U;return k({"aria-hidden":!0},W,{onClick:R(W),open:c})},getTransitionProps:()=>{const U=()=>{x(!1),i&&i()},W=()=>{x(!0),s&&s(),o&&P()};return{onEnter:E1(U,u==null?void 0:u.props.onEnter),onExited:E1(W,u==null?void 0:u.props.onExited)}},rootRef:g,portalRef:C,isTopModal:O,exited:E,hasTransition:b}}function Gce(e){return qe("MuiModal",e)}He("MuiModal",["root","hidden","backdrop"]);const Qce=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],Xce=e=>{const{open:t,exited:r,classes:n}=e;return Ge({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},Gce,n)},Yce=ne("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(({theme:e,ownerState:t})=>k({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),Jce=ne(t5,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),NE=f.forwardRef(function(t,r){var n,a,o,i,s,u;const l=Xe({name:"MuiModal",props:t}),{BackdropComponent:c=Jce,BackdropProps:d,className:p,closeAfterTransition:v=!1,children:m,container:g,component:E,components:x={},componentsProps:b={},disableAutoFocus:y=!1,disableEnforceFocus:_=!1,disableEscapeKeyDown:h=!1,disablePortal:w=!1,disableRestoreFocus:S=!1,disableScrollLock:O=!1,hideBackdrop:C=!1,keepMounted:P=!1,onBackdropClick:$,open:R,slotProps:F,slots:A}=l,I=Ee(l,Qce),U=k({},l,{closeAfterTransition:v,disableAutoFocus:y,disableEnforceFocus:_,disableEscapeKeyDown:h,disablePortal:w,disableRestoreFocus:S,disableScrollLock:O,hideBackdrop:C,keepMounted:P}),{getRootProps:W,getBackdropProps:T,getTransitionProps:V,portalRef:G,isTopModal:ae,exited:ie,hasTransition:ye}=Kce(k({},U,{rootRef:r})),be=k({},U,{exited:ie}),xe=Xce(be),Se={};if(m.props.tabIndex===void 0&&(Se.tabIndex="-1"),ye){const{onEnter:Le,onExited:We}=V();Se.onEnter=Le,Se.onExited=We}const Te=(n=(a=A==null?void 0:A.root)!=null?a:x.Root)!=null?n:Yce,$e=(o=(i=A==null?void 0:A.backdrop)!=null?i:x.Backdrop)!=null?o:c,_e=(s=F==null?void 0:F.root)!=null?s:b.root,Ve=(u=F==null?void 0:F.backdrop)!=null?u:b.backdrop,Ie=Di({elementType:Te,externalSlotProps:_e,externalForwardedProps:I,getSlotProps:W,additionalProps:{ref:r,as:E},ownerState:be,className:ce(p,_e==null?void 0:_e.className,xe==null?void 0:xe.root,!be.open&&be.exited&&(xe==null?void 0:xe.hidden))}),De=Di({elementType:$e,externalSlotProps:Ve,additionalProps:d,getSlotProps:Le=>T(k({},Le,{onClick:We=>{$&&$(We),Le!=null&&Le.onClick&&Le.onClick(We)}})),className:ce(Ve==null?void 0:Ve.className,d==null?void 0:d.className,xe==null?void 0:xe.backdrop),ownerState:be});return!P&&!R&&(!ye||ie)?null:N.jsx(Y3,{ref:G,container:g,disablePortal:w,children:N.jsxs(Te,k({},Ie,{children:[!C&&c?N.jsx($e,k({},De)):null,N.jsx(Vce,{disableEnforceFocus:_,disableAutoFocus:y,disableRestoreFocus:S,isEnabled:ae,open:R,children:f.cloneElement(m,Se)})]}))})});function Zce(e){return qe("MuiDialog",e)}const C0=He("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),a5=f.createContext({}),ede=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],tde=ne(t5,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),rde=e=>{const{classes:t,scroll:r,maxWidth:n,fullWidth:a,fullScreen:o}=e,i={root:["root"],container:["container",`scroll${fe(r)}`],paper:["paper",`paperScroll${fe(r)}`,`paperWidth${fe(String(n))}`,a&&"paperFullWidth",o&&"paperFullScreen"]};return Ge(i,Zce,t)},nde=ne(NE,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),ade=ne("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.container,t[`scroll${fe(r.scroll)}`]]}})(({ownerState:e})=>k({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),ode=ne(Yi,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`scrollPaper${fe(r.scroll)}`],t[`paperWidth${fe(String(r.maxWidth))}`],r.fullWidth&&t.paperFullWidth,r.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>k({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${C0.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${C0.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${C0.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),DE=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiDialog"}),a=Yo(),o={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{"aria-describedby":i,"aria-labelledby":s,BackdropComponent:u,BackdropProps:l,children:c,className:d,disableEscapeKeyDown:p=!1,fullScreen:v=!1,fullWidth:m=!1,maxWidth:g="sm",onBackdropClick:E,onClick:x,onClose:b,open:y,PaperComponent:_=Yi,PaperProps:h={},scroll:w="paper",TransitionComponent:S=e5,transitionDuration:O=o,TransitionProps:C}=n,P=Ee(n,ede),$=k({},n,{disableEscapeKeyDown:p,fullScreen:v,fullWidth:m,maxWidth:g,scroll:w}),R=rde($),F=f.useRef(),A=T=>{F.current=T.target===T.currentTarget},I=T=>{x&&x(T),F.current&&(F.current=null,E&&E(T),b&&b(T,"backdropClick"))},U=tl(s),W=f.useMemo(()=>({titleId:U}),[U]);return N.jsx(nde,k({className:ce(R.root,d),closeAfterTransition:!0,components:{Backdrop:tde},componentsProps:{backdrop:k({transitionDuration:O,as:u},l)},disableEscapeKeyDown:p,onClose:b,open:y,ref:r,onClick:I,ownerState:$},P,{children:N.jsx(S,k({appear:!0,in:y,timeout:O,role:"presentation"},C,{children:N.jsx(ade,{className:ce(R.container),onMouseDown:A,ownerState:$,children:N.jsx(ode,k({as:_,elevation:24,role:"dialog","aria-describedby":i,"aria-labelledby":U},h,{className:ce(R.paper,h.className),ownerState:$,children:N.jsx(a5.Provider,{value:W,children:c})}))})}))}))});function ide(e){return qe("MuiDialogActions",e)}He("MuiDialogActions",["root","spacing"]);const sde=["className","disableSpacing"],lde=e=>{const{classes:t,disableSpacing:r}=e;return Ge({root:["root",!r&&"spacing"]},ide,t)},ude=ne("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})(({ownerState:e})=>k({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),BE=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiDialogActions"}),{className:a,disableSpacing:o=!1}=n,i=Ee(n,sde),s=k({},n,{disableSpacing:o}),u=lde(s);return N.jsx(ude,k({className:ce(u.root,a),ownerState:s,ref:r},i))});function cde(e){return qe("MuiDialogContent",e)}He("MuiDialogContent",["root","dividers"]);function dde(e){return qe("MuiDialogTitle",e)}const fde=He("MuiDialogTitle",["root"]),pde=["className","dividers"],hde=e=>{const{classes:t,dividers:r}=e;return Ge({root:["root",r&&"dividers"]},cde,t)},vde=ne("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>k({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${fde.root} + &`]:{paddingTop:0}})),zE=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiDialogContent"}),{className:a,dividers:o=!1}=n,i=Ee(n,pde),s=k({},n,{dividers:o}),u=hde(s);return N.jsx(vde,k({className:ce(u.root,a),ownerState:s,ref:r},i))});function mde(e){return qe("MuiDialogContentText",e)}He("MuiDialogContentText",["root"]);const gde=["children","className"],yde=e=>{const{classes:t}=e,n=Ge({root:["root"]},mde,t);return k({},t,n)},bde=ne(br,{shouldForwardProp:e=>Kr(e)||e==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),o5=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiDialogContentText"}),{className:a}=n,o=Ee(n,gde),i=yde(o);return N.jsx(bde,k({component:"p",variant:"body1",color:"text.secondary",ref:r,ownerState:o,className:ce(i.root,a)},n,{classes:i}))}),xde=["className","id"],wde=e=>{const{classes:t}=e;return Ge({root:["root"]},dde,t)},_de=ne(br,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),UE=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiDialogTitle"}),{className:a,id:o}=n,i=Ee(n,xde),s=n,u=wde(s),{titleId:l=o}=f.useContext(a5);return N.jsx(_de,k({component:"h2",className:ce(u.root,a),ownerState:s,ref:r,variant:"h6",id:o??l},i))}),N$=He("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Ede=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Sde(e,t,r){const n=t.getBoundingClientRect(),a=r&&r.getBoundingClientRect(),o=co(t);let i;if(t.fakeTransform)i=t.fakeTransform;else{const l=o.getComputedStyle(t);i=l.getPropertyValue("-webkit-transform")||l.getPropertyValue("transform")}let s=0,u=0;if(i&&i!=="none"&&typeof i=="string"){const l=i.split("(")[1].split(")")[0].split(",");s=parseInt(l[4],10),u=parseInt(l[5],10)}return e==="left"?a?`translateX(${a.right+s-n.left}px)`:`translateX(${o.innerWidth+s-n.left}px)`:e==="right"?a?`translateX(-${n.right-a.left-s}px)`:`translateX(-${n.left+n.width-s}px)`:e==="up"?a?`translateY(${a.bottom+u-n.top}px)`:`translateY(${o.innerHeight+u-n.top}px)`:a?`translateY(-${n.top-a.top+n.height-u}px)`:`translateY(-${n.top+n.height-u}px)`}function Ode(e){return typeof e=="function"?e():e}function Np(e,t,r){const n=Ode(r),a=Sde(e,t,n);a&&(t.style.webkitTransform=a,t.style.transform=a)}const i5=f.forwardRef(function(t,r){const n=Yo(),a={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:u,container:l,direction:c="down",easing:d=a,in:p,onEnter:v,onEntered:m,onEntering:g,onExit:E,onExited:x,onExiting:b,style:y,timeout:_=o,TransitionComponent:h=Da}=t,w=Ee(t,Ede),S=f.useRef(null),O=tr(u.ref,S,r),C=T=>V=>{T&&(V===void 0?T(S.current):T(S.current,V))},P=C((T,V)=>{Np(c,T,l),kE(T),v&&v(T,V)}),$=C((T,V)=>{const G=Hu({timeout:_,style:y,easing:d},{mode:"enter"});T.style.webkitTransition=n.transitions.create("-webkit-transform",k({},G)),T.style.transition=n.transitions.create("transform",k({},G)),T.style.webkitTransform="none",T.style.transform="none",g&&g(T,V)}),R=C(m),F=C(b),A=C(T=>{const V=Hu({timeout:_,style:y,easing:d},{mode:"exit"});T.style.webkitTransition=n.transitions.create("-webkit-transform",V),T.style.transition=n.transitions.create("transform",V),Np(c,T,l),E&&E(T)}),I=C(T=>{T.style.webkitTransition="",T.style.transition="",x&&x(T)}),U=T=>{i&&i(S.current,T)},W=f.useCallback(()=>{S.current&&Np(c,S.current,l)},[c,l]);return f.useEffect(()=>{if(p||c==="down"||c==="right")return;const T=Bg(()=>{S.current&&Np(c,S.current,l)}),V=co(S.current);return V.addEventListener("resize",T),()=>{T.clear(),V.removeEventListener("resize",T)}},[c,p,l]),f.useEffect(()=>{p||W()},[p,W]),N.jsx(h,k({nodeRef:S,onEnter:P,onEntered:R,onEntering:$,onExit:A,onExited:I,onExiting:F,addEndListener:U,appear:s,in:p,timeout:_},w,{children:(T,V)=>f.cloneElement(u,k({ref:O,style:k({visibility:T==="exited"&&!p?"hidden":void 0},y,u.props.style)},V))}))});function Cde(e){return qe("MuiDrawer",e)}He("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const Pde=["BackdropProps"],$de=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],s5=(e,t)=>{const{ownerState:r}=e;return[t.root,(r.variant==="permanent"||r.variant==="persistent")&&t.docked,t.modal]},kde=e=>{const{classes:t,anchor:r,variant:n}=e,a={root:["root"],docked:[(n==="permanent"||n==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${fe(r)}`,n!=="temporary"&&`paperAnchorDocked${fe(r)}`]};return Ge(a,Cde,t)},Rde=ne(NE,{name:"MuiDrawer",slot:"Root",overridesResolver:s5})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),D$=ne("div",{shouldForwardProp:Kr,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:s5})({flex:"0 0 auto"}),jde=ne(Yi,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`paperAnchor${fe(r.anchor)}`],r.variant!=="temporary"&&t[`paperAnchorDocked${fe(r.anchor)}`]]}})(({theme:e,ownerState:t})=>k({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),l5={left:"right",right:"left",top:"down",bottom:"up"};function Tde(e){return["left","right"].indexOf(e)!==-1}function Ide({direction:e},t){return e==="rtl"&&Tde(t)?l5[t]:t}const Mde=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiDrawer"}),a=Yo(),o=_c(),i={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{anchor:s="left",BackdropProps:u,children:l,className:c,elevation:d=16,hideBackdrop:p=!1,ModalProps:{BackdropProps:v}={},onClose:m,open:g=!1,PaperProps:E={},SlideProps:x,TransitionComponent:b=i5,transitionDuration:y=i,variant:_="temporary"}=n,h=Ee(n.ModalProps,Pde),w=Ee(n,$de),S=f.useRef(!1);f.useEffect(()=>{S.current=!0},[]);const O=Ide({direction:o?"rtl":"ltr"},s),P=k({},n,{anchor:s,elevation:d,open:g,variant:_},w),$=kde(P),R=N.jsx(jde,k({elevation:_==="temporary"?d:0,square:!0},E,{className:ce($.paper,E.className),ownerState:P,children:l}));if(_==="permanent")return N.jsx(D$,k({className:ce($.root,$.docked,c),ownerState:P,ref:r},w,{children:R}));const F=N.jsx(b,k({in:g,direction:l5[O],timeout:y,appear:S.current},x,{children:R}));return _==="persistent"?N.jsx(D$,k({className:ce($.root,$.docked,c),ownerState:P,ref:r},w,{children:F})):N.jsx(Rde,k({BackdropProps:k({},u,v,{transitionDuration:y}),className:ce($.root,$.modal,c),open:g,ownerState:P,onClose:m,hideBackdrop:p,ref:r},w,h,{children:F}))});function Ade(e){return qe("MuiFab",e)}const B$=He("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),Fde=["children","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"],Lde=e=>{const{color:t,variant:r,classes:n,size:a}=e,o={root:["root",r,`size${fe(a)}`,t==="inherit"?"colorInherit":t]},i=Ge(o,Ade,n);return k({},n,i)},Nde=ne(Uo,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>Kr(e)||e==="classes",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${fe(r.size)}`],r.color==="inherit"&&t.colorInherit,t[fe(r.size)],t[r.color]]}})(({theme:e,ownerState:t})=>{var r,n;return k({},e.typography.button,{minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${B$.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]}},t.size==="small"&&{width:40,height:40},t.size==="medium"&&{width:48,height:48},t.variant==="extended"&&{borderRadius:48/2,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48},t.variant==="extended"&&t.size==="small"&&{width:"auto",padding:"0 8px",borderRadius:34/2,minWidth:34,height:34},t.variant==="extended"&&t.size==="medium"&&{width:"auto",padding:"0 16px",borderRadius:40/2,minWidth:40,height:40},t.color==="inherit"&&{color:"inherit"})},({theme:e,ownerState:t})=>k({},t.color!=="inherit"&&t.color!=="default"&&(e.vars||e).palette[t.color]!=null&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}}),({theme:e})=>({[`&.${B$.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}})),Dde=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiFab"}),{children:a,className:o,color:i="default",component:s="button",disabled:u=!1,disableFocusRipple:l=!1,focusVisibleClassName:c,size:d="large",variant:p="circular"}=n,v=Ee(n,Fde),m=k({},n,{color:i,component:s,disabled:u,disableFocusRipple:l,size:d,variant:p}),g=Lde(m);return N.jsx(Nde,k({className:ce(g.root,o),component:s,disabled:u,focusRipple:!l,focusVisibleClassName:ce(g.focusVisible,c),ownerState:m,ref:r},v,{classes:g,children:a}))}),Bde=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],zde=e=>{const{classes:t,disableUnderline:r}=e,a=Ge({root:["root",!r&&"underline"],input:["input"]},Sue,t);return k({},t,a)},Ude=ne(oy,{shouldForwardProp:e=>Kr(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...ny(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var r;const n=e.palette.mode==="light",a=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return k({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o}},[`&.${ts.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o},[`&.${ts.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(r=(e.vars||e).palette[t.color||"primary"])==null?void 0:r.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${ts.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ts.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:a}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${ts.disabled}, .${ts.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${ts.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&k({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9}))}),Vde=ne(iy,{name:"MuiFilledInput",slot:"Input",overridesResolver:ay})(({theme:e,ownerState:t})=>k({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),VE=f.forwardRef(function(t,r){var n,a,o,i;const s=Xe({props:t,name:"MuiFilledInput"}),{components:u={},componentsProps:l,fullWidth:c=!1,inputComponent:d="input",multiline:p=!1,slotProps:v,slots:m={},type:g="text"}=s,E=Ee(s,Bde),x=k({},s,{fullWidth:c,inputComponent:d,multiline:p,type:g}),b=zde(s),y={root:{ownerState:x},input:{ownerState:x}},_=v??l?Hr(y,v??l):y,h=(n=(a=m.root)!=null?a:u.Root)!=null?n:Ude,w=(o=(i=m.input)!=null?i:u.Input)!=null?o:Vde;return N.jsx(sy,k({slots:{root:h,input:w},componentsProps:_,fullWidth:c,inputComponent:d,multiline:p,ref:r,type:g},E,{classes:b}))});VE.muiName="Input";function Wde(e){return qe("MuiFormControl",e)}He("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const Hde=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],qde=e=>{const{classes:t,margin:r,fullWidth:n}=e,a={root:["root",r!=="none"&&`margin${fe(r)}`,n&&"fullWidth"]};return Ge(a,Wde,t)},Kde=ne("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>k({},t.root,t[`margin${fe(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>k({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),Gde=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiFormControl"}),{children:a,className:o,color:i="primary",component:s="div",disabled:u=!1,error:l=!1,focused:c,fullWidth:d=!1,hiddenLabel:p=!1,margin:v="none",required:m=!1,size:g="medium",variant:E="outlined"}=n,x=Ee(n,Hde),b=k({},n,{color:i,component:s,disabled:u,error:l,fullWidth:d,hiddenLabel:p,margin:v,required:m,size:g,variant:E}),y=qde(b),[_,h]=f.useState(()=>{let F=!1;return a&&f.Children.forEach(a,A=>{if(!ph(A,["Input","Select"]))return;const I=ph(A,["Select"])?A.props.input:A;I&&gue(I.props)&&(F=!0)}),F}),[w,S]=f.useState(()=>{let F=!1;return a&&f.Children.forEach(a,A=>{ph(A,["Input","Select"])&&(Av(A.props,!0)||Av(A.props.inputProps,!0))&&(F=!0)}),F}),[O,C]=f.useState(!1);u&&O&&C(!1);const P=c!==void 0&&!u?c:O;let $;const R=f.useMemo(()=>({adornedStart:_,setAdornedStart:h,color:i,disabled:u,error:l,filled:w,focused:P,fullWidth:d,hiddenLabel:p,size:g,onBlur:()=>{C(!1)},onEmpty:()=>{S(!1)},onFilled:()=>{S(!0)},onFocus:()=>{C(!0)},registerEffect:$,required:m,variant:E}),[_,i,u,l,w,P,d,p,$,m,g,E]);return N.jsx(ry.Provider,{value:R,children:N.jsx(Kde,k({as:s,ownerState:b,className:ce(y.root,o),ref:r},x,{children:a}))})}),dy=joe({createStyledComponent:ne("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>Xe({props:e,name:"MuiStack"})});function Qde(e){return qe("MuiFormHelperText",e)}const z$=He("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var U$;const Xde=["children","className","component","disabled","error","filled","focused","margin","required","variant"],Yde=e=>{const{classes:t,contained:r,size:n,disabled:a,error:o,filled:i,focused:s,required:u}=e,l={root:["root",a&&"disabled",o&&"error",n&&`size${fe(n)}`,r&&"contained",s&&"focused",i&&"filled",u&&"required"]};return Ge(l,Qde,t)},Jde=ne("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.size&&t[`size${fe(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})(({theme:e,ownerState:t})=>k({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${z$.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${z$.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),u5=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiFormHelperText"}),{children:a,className:o,component:i="p"}=n,s=Ee(n,Xde),u=Zi(),l=Oc({props:n,muiFormControl:u,states:["variant","size","disabled","error","filled","focused","required"]}),c=k({},n,{component:i,contained:l.variant==="filled"||l.variant==="outlined",variant:l.variant,size:l.size,disabled:l.disabled,error:l.error,filled:l.filled,focused:l.focused,required:l.required}),d=Yde(c);return N.jsx(Jde,k({as:i,ownerState:c,className:ce(d.root,o),ref:r},s,{children:a===" "?U$||(U$=N.jsx("span",{className:"notranslate",children:"​"})):a}))});function Zde(e){return qe("MuiFormLabel",e)}const Rd=He("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),efe=["children","className","color","component","disabled","error","filled","focused","required"],tfe=e=>{const{classes:t,color:r,focused:n,disabled:a,error:o,filled:i,required:s}=e,u={root:["root",`color${fe(r)}`,a&&"disabled",o&&"error",i&&"filled",n&&"focused",s&&"required"],asterisk:["asterisk",o&&"error"]};return Ge(u,Zde,t)},rfe=ne("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>k({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>k({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Rd.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Rd.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Rd.error}`]:{color:(e.vars||e).palette.error.main}})),nfe=ne("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${Rd.error}`]:{color:(e.vars||e).palette.error.main}})),afe=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiFormLabel"}),{children:a,className:o,component:i="label"}=n,s=Ee(n,efe),u=Zi(),l=Oc({props:n,muiFormControl:u,states:["color","required","focused","disabled","error","filled"]}),c=k({},n,{color:l.color||"primary",component:i,disabled:l.disabled,error:l.error,filled:l.filled,focused:l.focused,required:l.required}),d=tfe(c);return N.jsxs(rfe,k({as:i,ownerState:c,className:ce(d.root,o),ref:r},s,{children:[a,l.required&&N.jsxs(nfe,{ownerState:c,"aria-hidden":!0,className:d.asterisk,children:[" ","*"]})]}))}),ofe=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function M1(e){return`scale(${e}, ${e**2})`}const ife={entering:{opacity:1,transform:M1(1)},entered:{opacity:1,transform:"none"}},P0=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),yf=f.forwardRef(function(t,r){const{addEndListener:n,appear:a=!0,children:o,easing:i,in:s,onEnter:u,onEntered:l,onEntering:c,onExit:d,onExited:p,onExiting:v,style:m,timeout:g="auto",TransitionComponent:E=Da}=t,x=Ee(t,ofe),b=Es(),y=f.useRef(),_=Yo(),h=f.useRef(null),w=tr(h,o.ref,r),S=I=>U=>{if(I){const W=h.current;U===void 0?I(W):I(W,U)}},O=S(c),C=S((I,U)=>{kE(I);const{duration:W,delay:T,easing:V}=Hu({style:m,timeout:g,easing:i},{mode:"enter"});let G;g==="auto"?(G=_.transitions.getAutoHeightDuration(I.clientHeight),y.current=G):G=W,I.style.transition=[_.transitions.create("opacity",{duration:G,delay:T}),_.transitions.create("transform",{duration:P0?G:G*.666,delay:T,easing:V})].join(","),u&&u(I,U)}),P=S(l),$=S(v),R=S(I=>{const{duration:U,delay:W,easing:T}=Hu({style:m,timeout:g,easing:i},{mode:"exit"});let V;g==="auto"?(V=_.transitions.getAutoHeightDuration(I.clientHeight),y.current=V):V=U,I.style.transition=[_.transitions.create("opacity",{duration:V,delay:W}),_.transitions.create("transform",{duration:P0?V:V*.666,delay:P0?W:W||V*.333,easing:T})].join(","),I.style.opacity=0,I.style.transform=M1(.75),d&&d(I)}),F=S(p),A=I=>{g==="auto"&&b.start(y.current||0,I),n&&n(h.current,I)};return N.jsx(E,k({appear:a,in:s,nodeRef:h,onEnter:C,onEntered:P,onEntering:O,onExit:R,onExited:F,onExiting:$,addEndListener:A,timeout:g==="auto"?null:g},x,{children:(I,U)=>f.cloneElement(o,k({style:k({opacity:0,transform:M1(.75),visibility:I==="exited"&&!s?"hidden":void 0},ife[I],m,o.props.style),ref:w},U))}))});yf.muiSupportAuto=!0;const sfe=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],lfe=e=>{const{classes:t,disableUnderline:r}=e,a=Ge({root:["root",!r&&"underline"],input:["input"]},_ue,t);return k({},t,a)},ufe=ne(oy,{shouldForwardProp:e=>Kr(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...ny(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),k({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Kc.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Kc.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Kc.disabled}, .${Kc.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Kc.disabled}:before`]:{borderBottomStyle:"dotted"}})}),cfe=ne(iy,{name:"MuiInput",slot:"Input",overridesResolver:ay})({}),WE=f.forwardRef(function(t,r){var n,a,o,i;const s=Xe({props:t,name:"MuiInput"}),{disableUnderline:u,components:l={},componentsProps:c,fullWidth:d=!1,inputComponent:p="input",multiline:v=!1,slotProps:m,slots:g={},type:E="text"}=s,x=Ee(s,sfe),b=lfe(s),_={root:{ownerState:{disableUnderline:u}}},h=m??c?Hr(m??c,_):_,w=(n=(a=g.root)!=null?a:l.Root)!=null?n:ufe,S=(o=(i=g.input)!=null?i:l.Input)!=null?o:cfe;return N.jsx(sy,k({slots:{root:w,input:S},slotProps:h,fullWidth:d,inputComponent:p,multiline:v,ref:r,type:E},x,{classes:b}))});WE.muiName="Input";function dfe(e){return qe("MuiInputAdornment",e)}const V$=He("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var W$;const ffe=["children","className","component","disablePointerEvents","disableTypography","position","variant"],pfe=(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${fe(r.position)}`],r.disablePointerEvents===!0&&t.disablePointerEvents,t[r.variant]]},hfe=e=>{const{classes:t,disablePointerEvents:r,hiddenLabel:n,position:a,size:o,variant:i}=e,s={root:["root",r&&"disablePointerEvents",a&&`position${fe(a)}`,i,n&&"hiddenLabel",o&&`size${fe(o)}`]};return Ge(s,dfe,t)},vfe=ne("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:pfe})(({theme:e,ownerState:t})=>k({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},t.variant==="filled"&&{[`&.${V$.positionStart}&:not(.${V$.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),$0=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiInputAdornment"}),{children:a,className:o,component:i="div",disablePointerEvents:s=!1,disableTypography:u=!1,position:l,variant:c}=n,d=Ee(n,ffe),p=Zi()||{};let v=c;c&&p.variant,p&&!v&&(v=p.variant);const m=k({},n,{hiddenLabel:p.hiddenLabel,size:p.size,disablePointerEvents:s,position:l,variant:v}),g=hfe(m);return N.jsx(ry.Provider,{value:null,children:N.jsx(vfe,k({as:i,ownerState:m,className:ce(g.root,o),ref:r},d,{children:typeof a=="string"&&!u?N.jsx(br,{color:"text.secondary",children:a}):N.jsxs(f.Fragment,{children:[l==="start"?W$||(W$=N.jsx("span",{className:"notranslate",children:"​"})):null,a]})}))})});function mfe(e){return qe("MuiInputLabel",e)}He("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const gfe=["disableAnimation","margin","shrink","variant","className"],yfe=e=>{const{classes:t,formControl:r,size:n,shrink:a,disableAnimation:o,variant:i,required:s}=e,u={root:["root",r&&"formControl",!o&&"animated",a&&"shrink",n&&n!=="normal"&&`size${fe(n)}`,i],asterisk:[s&&"asterisk"]},l=Ge(u,mfe,t);return k({},t,l)},bfe=ne(afe,{shouldForwardProp:e=>Kr(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Rd.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,r.size==="small"&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})(({theme:e,ownerState:t})=>k({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&k({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&k({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&k({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),xfe=f.forwardRef(function(t,r){const n=Xe({name:"MuiInputLabel",props:t}),{disableAnimation:a=!1,shrink:o,className:i}=n,s=Ee(n,gfe),u=Zi();let l=o;typeof l>"u"&&u&&(l=u.filled||u.focused||u.adornedStart);const c=Oc({props:n,muiFormControl:u,states:["size","variant","required","focused"]}),d=k({},n,{disableAnimation:a,formControl:u,shrink:l,size:c.size,variant:c.variant,required:c.required,focused:c.focused}),p=yfe(d);return N.jsx(bfe,k({"data-shrink":l,ownerState:d,ref:r,className:ce(p.root,i)},s,{classes:p}))});function wfe(e){return qe("MuiLinearProgress",e)}He("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const _fe=["className","color","value","valueBuffer","variant"];let Cc=e=>e,H$,q$,K$,G$,Q$,X$;const A1=4,Efe=Xo(H$||(H$=Cc` - 0% { - left: -35%; - right: 100%; - } - - 60% { - left: 100%; - right: -90%; - } - - 100% { - left: 100%; - right: -90%; - } -`)),Sfe=Xo(q$||(q$=Cc` - 0% { - left: -200%; - right: 100%; - } - - 60% { - left: 107%; - right: -8%; - } - - 100% { - left: 107%; - right: -8%; - } -`)),Ofe=Xo(K$||(K$=Cc` - 0% { - opacity: 1; - background-position: 0 -23px; - } - - 60% { - opacity: 0; - background-position: 0 -23px; - } - - 100% { - opacity: 1; - background-position: -200px -23px; - } -`)),Cfe=e=>{const{classes:t,variant:r,color:n}=e,a={root:["root",`color${fe(n)}`,r],dashed:["dashed",`dashedColor${fe(n)}`],bar1:["bar",`barColor${fe(n)}`,(r==="indeterminate"||r==="query")&&"bar1Indeterminate",r==="determinate"&&"bar1Determinate",r==="buffer"&&"bar1Buffer"],bar2:["bar",r!=="buffer"&&`barColor${fe(n)}`,r==="buffer"&&`color${fe(n)}`,(r==="indeterminate"||r==="query")&&"bar2Indeterminate",r==="buffer"&&"bar2Buffer"]};return Ge(a,wfe,t)},HE=(e,t)=>t==="inherit"?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:e.palette.mode==="light"?wE(e.palette[t].main,.62):xE(e.palette[t].main,.5),Pfe=ne("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`color${fe(r.color)}`],t[r.variant]]}})(({ownerState:e,theme:t})=>k({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:HE(t,e.color)},e.color==="inherit"&&e.variant!=="buffer"&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},e.variant==="buffer"&&{backgroundColor:"transparent"},e.variant==="query"&&{transform:"rotate(180deg)"})),$fe=ne("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.dashed,t[`dashedColor${fe(r.color)}`]]}})(({ownerState:e,theme:t})=>{const r=HE(t,e.color);return k({position:"absolute",marginTop:0,height:"100%",width:"100%"},e.color==="inherit"&&{opacity:.3},{backgroundImage:`radial-gradient(${r} 0%, ${r} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},sl(G$||(G$=Cc` - animation: ${0} 3s infinite linear; - `),Ofe)),kfe=ne("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t[`barColor${fe(r.color)}`],(r.variant==="indeterminate"||r.variant==="query")&&t.bar1Indeterminate,r.variant==="determinate"&&t.bar1Determinate,r.variant==="buffer"&&t.bar1Buffer]}})(({ownerState:e,theme:t})=>k({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:e.color==="inherit"?"currentColor":(t.vars||t).palette[e.color].main},e.variant==="determinate"&&{transition:`transform .${A1}s linear`},e.variant==="buffer"&&{zIndex:1,transition:`transform .${A1}s linear`}),({ownerState:e})=>(e.variant==="indeterminate"||e.variant==="query")&&sl(Q$||(Q$=Cc` - width: auto; - animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; - `),Efe)),Rfe=ne("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t[`barColor${fe(r.color)}`],(r.variant==="indeterminate"||r.variant==="query")&&t.bar2Indeterminate,r.variant==="buffer"&&t.bar2Buffer]}})(({ownerState:e,theme:t})=>k({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},e.variant!=="buffer"&&{backgroundColor:e.color==="inherit"?"currentColor":(t.vars||t).palette[e.color].main},e.color==="inherit"&&{opacity:.3},e.variant==="buffer"&&{backgroundColor:HE(t,e.color),transition:`transform .${A1}s linear`}),({ownerState:e})=>(e.variant==="indeterminate"||e.variant==="query")&&sl(X$||(X$=Cc` - width: auto; - animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; - `),Sfe)),jfe=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiLinearProgress"}),{className:a,color:o="primary",value:i,valueBuffer:s,variant:u="indeterminate"}=n,l=Ee(n,_fe),c=k({},n,{color:o,variant:u}),d=Cfe(c),p=_c(),v={},m={bar1:{},bar2:{}};if((u==="determinate"||u==="buffer")&&i!==void 0){v["aria-valuenow"]=Math.round(i),v["aria-valuemin"]=0,v["aria-valuemax"]=100;let g=i-100;p&&(g=-g),m.bar1.transform=`translateX(${g}%)`}if(u==="buffer"&&s!==void 0){let g=(s||0)-100;p&&(g=-g),m.bar2.transform=`translateX(${g}%)`}return N.jsxs(Pfe,k({className:ce(d.root,a),ownerState:c,role:"progressbar"},v,{ref:r},l,{children:[u==="buffer"?N.jsx($fe,{className:d.dashed,ownerState:c}):null,N.jsx(kfe,{className:d.bar1,ownerState:c,style:m.bar1}),u==="determinate"?null:N.jsx(Rfe,{className:d.bar2,ownerState:c,style:m.bar2})]}))});function Tfe(e){return qe("MuiLink",e)}const Ife=He("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),c5={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Mfe=e=>c5[e]||e,Afe=({theme:e,ownerState:t})=>{const r=Mfe(t.color),n=Vu(e,`palette.${r}`,!1)||t.color,a=Vu(e,`palette.${r}Channel`);return"vars"in e&&a?`rgba(${a} / 0.4)`:vt(n,.4)},Ffe=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],Lfe=e=>{const{classes:t,component:r,focusVisible:n,underline:a}=e,o={root:["root",`underline${fe(a)}`,r==="button"&&"button",n&&"focusVisible"]};return Ge(o,Tfe,t)},Nfe=ne(br,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`underline${fe(r.underline)}`],r.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>k({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&k({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:Afe({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Ife.focusVisible}`]:{outline:"auto"}})),Dfe=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiLink"}),{className:a,color:o="primary",component:i="a",onBlur:s,onFocus:u,TypographyClasses:l,underline:c="always",variant:d="inherit",sx:p}=n,v=Ee(n,Ffe),{isFocusVisibleRef:m,onBlur:g,onFocus:E,ref:x}=Ug(),[b,y]=f.useState(!1),_=tr(r,x),h=C=>{g(C),m.current===!1&&y(!1),s&&s(C)},w=C=>{E(C),m.current===!0&&y(!0),u&&u(C)},S=k({},n,{color:o,component:i,focusVisible:b,underline:c,variant:d}),O=Lfe(S);return N.jsx(Nfe,k({color:o,className:ce(O.root,a),classes:l,component:i,onBlur:h,onFocus:w,ref:_,ownerState:S,variant:d,sx:[...Object.keys(c5).includes(o)?[]:[{color:o}],...Array.isArray(p)?p:[p]]},v))}),bf=f.createContext({});function Bfe(e){return qe("MuiList",e)}He("MuiList",["root","padding","dense","subheader"]);const zfe=["children","className","component","dense","disablePadding","subheader"],Ufe=e=>{const{classes:t,disablePadding:r,dense:n,subheader:a}=e;return Ge({root:["root",!r&&"padding",n&&"dense",a&&"subheader"]},Bfe,t)},Vfe=ne("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})(({ownerState:e})=>k({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),Wfe=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiList"}),{children:a,className:o,component:i="ul",dense:s=!1,disablePadding:u=!1,subheader:l}=n,c=Ee(n,zfe),d=f.useMemo(()=>({dense:s}),[s]),p=k({},n,{component:i,dense:s,disablePadding:u}),v=Ufe(p);return N.jsx(bf.Provider,{value:d,children:N.jsxs(Vfe,k({as:i,className:ce(v.root,o),ref:r,ownerState:p},c,{children:[l,a]}))})});function Hfe(e){return qe("MuiListItemIcon",e)}const Y$=He("MuiListItemIcon",["root","alignItemsFlexStart"]),qfe=["className"],Kfe=e=>{const{alignItems:t,classes:r}=e;return Ge({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},Hfe,r)},Gfe=ne("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>k({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),d5=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiListItemIcon"}),{className:a}=n,o=Ee(n,qfe),i=f.useContext(bf),s=k({},n,{alignItems:i.alignItems}),u=Kfe(s);return N.jsx(Gfe,k({className:ce(u.root,a),ownerState:s,ref:r},o))});function Qfe(e){return qe("MuiListItemText",e)}const Lv=He("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Xfe=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],Yfe=e=>{const{classes:t,inset:r,primary:n,secondary:a,dense:o}=e;return Ge({root:["root",r&&"inset",o&&"dense",n&&a&&"multiline"],primary:["primary"],secondary:["secondary"]},Qfe,t)},Jfe=ne("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Lv.primary}`]:t.primary},{[`& .${Lv.secondary}`]:t.secondary},t.root,r.inset&&t.inset,r.primary&&r.secondary&&t.multiline,r.dense&&t.dense]}})(({ownerState:e})=>k({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),Zfe=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiListItemText"}),{children:a,className:o,disableTypography:i=!1,inset:s=!1,primary:u,primaryTypographyProps:l,secondary:c,secondaryTypographyProps:d}=n,p=Ee(n,Xfe),{dense:v}=f.useContext(bf);let m=u??a,g=c;const E=k({},n,{disableTypography:i,inset:s,primary:!!m,secondary:!!g,dense:v}),x=Yfe(E);return m!=null&&m.type!==br&&!i&&(m=N.jsx(br,k({variant:v?"body2":"body1",className:x.primary,component:l!=null&&l.variant?void 0:"span",display:"block"},l,{children:m}))),g!=null&&g.type!==br&&!i&&(g=N.jsx(br,k({variant:"body2",className:x.secondary,color:"text.secondary",display:"block"},d,{children:g}))),N.jsxs(Jfe,k({className:ce(x.root,o),ownerState:E,ref:r},p,{children:[m,g]}))}),epe=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function k0(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function J$(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function f5(e,t){if(t===void 0)return!0;let r=e.innerText;return r===void 0&&(r=e.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.indexOf(t.keys.join(""))===0}function Gc(e,t,r,n,a,o){let i=!1,s=a(e,t,t?r:!1);for(;s;){if(s===e.firstChild){if(i)return!1;i=!0}const u=n?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!f5(s,o)||u)s=a(e,s,r);else return s.focus(),!0}return!1}const p5=f.forwardRef(function(t,r){const{actions:n,autoFocus:a=!1,autoFocusItem:o=!1,children:i,className:s,disabledItemsFocusable:u=!1,disableListWrap:l=!1,onKeyDown:c,variant:d="selectedMenu"}=t,p=Ee(t,epe),v=f.useRef(null),m=f.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});ha(()=>{a&&v.current.focus()},[a]),f.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(y,{direction:_})=>{const h=!v.current.style.width;if(y.clientHeight{const _=v.current,h=y.key,w=Ir(_).activeElement;if(h==="ArrowDown")y.preventDefault(),Gc(_,w,l,u,k0);else if(h==="ArrowUp")y.preventDefault(),Gc(_,w,l,u,J$);else if(h==="Home")y.preventDefault(),Gc(_,null,l,u,k0);else if(h==="End")y.preventDefault(),Gc(_,null,l,u,J$);else if(h.length===1){const S=m.current,O=h.toLowerCase(),C=performance.now();S.keys.length>0&&(C-S.lastTime>500?(S.keys=[],S.repeating=!0,S.previousKeyMatched=!0):S.repeating&&O!==S.keys[0]&&(S.repeating=!1)),S.lastTime=C,S.keys.push(O);const P=w&&!S.repeating&&f5(w,S);S.previousKeyMatched&&(P||Gc(_,w,!1,u,k0,S))?y.preventDefault():S.previousKeyMatched=!1}c&&c(y)},E=tr(v,r);let x=-1;f.Children.forEach(i,(y,_)=>{if(!f.isValidElement(y)){x===_&&(x+=1,x>=i.length&&(x=-1));return}y.props.disabled||(d==="selectedMenu"&&y.props.selected||x===-1)&&(x=_),x===_&&(y.props.disabled||y.props.muiSkipListHighlight||y.type.muiSkipListHighlight)&&(x+=1,x>=i.length&&(x=-1))});const b=f.Children.map(i,(y,_)=>{if(_===x){const h={};return o&&(h.autoFocus=!0),y.props.tabIndex===void 0&&d==="selectedMenu"&&(h.tabIndex=0),f.cloneElement(y,h)}return y});return N.jsx(Wfe,k({role:"menu",ref:E,className:s,onKeyDown:g,tabIndex:a?0:-1},p,{children:b}))});function tpe(e){return qe("MuiPopover",e)}He("MuiPopover",["root","paper"]);const rpe=["onEntering"],npe=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],ape=["slotProps"];function Z$(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function ek(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function tk(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function R0(e){return typeof e=="function"?e():e}const ope=e=>{const{classes:t}=e;return Ge({root:["root"],paper:["paper"]},tpe,t)},ipe=ne(NE,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),h5=ne(Yi,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),v5=f.forwardRef(function(t,r){var n,a,o;const i=Xe({props:t,name:"MuiPopover"}),{action:s,anchorEl:u,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:d="anchorEl",children:p,className:v,container:m,elevation:g=8,marginThreshold:E=16,open:x,PaperProps:b={},slots:y,slotProps:_,transformOrigin:h={vertical:"top",horizontal:"left"},TransitionComponent:w=yf,transitionDuration:S="auto",TransitionProps:{onEntering:O}={},disableScrollLock:C=!1}=i,P=Ee(i.TransitionProps,rpe),$=Ee(i,npe),R=(n=_==null?void 0:_.paper)!=null?n:b,F=f.useRef(),A=tr(F,R.ref),I=k({},i,{anchorOrigin:l,anchorReference:d,elevation:g,marginThreshold:E,externalPaperSlotProps:R,transformOrigin:h,TransitionComponent:w,transitionDuration:S,TransitionProps:P}),U=ope(I),W=f.useCallback(()=>{if(d==="anchorPosition")return c;const Le=R0(u),tt=(Le&&Le.nodeType===1?Le:Ir(F.current).body).getBoundingClientRect();return{top:tt.top+Z$(tt,l.vertical),left:tt.left+ek(tt,l.horizontal)}},[u,l.horizontal,l.vertical,c,d]),T=f.useCallback(Le=>({vertical:Z$(Le,h.vertical),horizontal:ek(Le,h.horizontal)}),[h.horizontal,h.vertical]),V=f.useCallback(Le=>{const We={width:Le.offsetWidth,height:Le.offsetHeight},tt=T(We);if(d==="none")return{top:null,left:null,transformOrigin:tk(tt)};const dt=W();let yt=dt.top-tt.vertical,z=dt.left-tt.horizontal;const Y=yt+We.height,te=z+We.width,ue=co(R0(u)),me=ue.innerHeight-E,he=ue.innerWidth-E;if(E!==null&&ytme){const ve=Y-me;yt-=ve,tt.vertical+=ve}if(E!==null&&zhe){const ve=te-he;z-=ve,tt.horizontal+=ve}return{top:`${Math.round(yt)}px`,left:`${Math.round(z)}px`,transformOrigin:tk(tt)}},[u,d,W,T,E]),[G,ae]=f.useState(x),ie=f.useCallback(()=>{const Le=F.current;if(!Le)return;const We=V(Le);We.top!==null&&(Le.style.top=We.top),We.left!==null&&(Le.style.left=We.left),Le.style.transformOrigin=We.transformOrigin,ae(!0)},[V]);f.useEffect(()=>(C&&window.addEventListener("scroll",ie),()=>window.removeEventListener("scroll",ie)),[u,C,ie]);const ye=(Le,We)=>{O&&O(Le,We),ie()},be=()=>{ae(!1)};f.useEffect(()=>{x&&ie()}),f.useImperativeHandle(s,()=>x?{updatePosition:()=>{ie()}}:null,[x,ie]),f.useEffect(()=>{if(!x)return;const Le=Bg(()=>{ie()}),We=co(u);return We.addEventListener("resize",Le),()=>{Le.clear(),We.removeEventListener("resize",Le)}},[u,x,ie]);let xe=S;S==="auto"&&!w.muiSupportAuto&&(xe=void 0);const Se=m||(u?Ir(R0(u)).body:void 0),Te=(a=y==null?void 0:y.root)!=null?a:ipe,$e=(o=y==null?void 0:y.paper)!=null?o:h5,_e=Di({elementType:$e,externalSlotProps:k({},R,{style:G?R.style:k({},R.style,{opacity:0})}),additionalProps:{elevation:g,ref:A},ownerState:I,className:ce(U.paper,R==null?void 0:R.className)}),Ve=Di({elementType:Te,externalSlotProps:(_==null?void 0:_.root)||{},externalForwardedProps:$,additionalProps:{ref:r,slotProps:{backdrop:{invisible:!0}},container:Se,open:x},ownerState:I,className:ce(U.root,v)}),{slotProps:Ie}=Ve,De=Ee(Ve,ape);return N.jsx(Te,k({},De,!vf(Te)&&{slotProps:Ie,disableScrollLock:C},{children:N.jsx(w,k({appear:!0,in:x,onEntering:ye,onExited:be,timeout:xe},P,{children:N.jsx($e,k({},_e,{children:p}))}))}))});function spe(e){return qe("MuiMenu",e)}He("MuiMenu",["root","paper","list"]);const lpe=["onEntering"],upe=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],cpe={vertical:"top",horizontal:"right"},dpe={vertical:"top",horizontal:"left"},fpe=e=>{const{classes:t}=e;return Ge({root:["root"],paper:["paper"],list:["list"]},spe,t)},ppe=ne(v5,{shouldForwardProp:e=>Kr(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),hpe=ne(h5,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),vpe=ne(p5,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),fy=f.forwardRef(function(t,r){var n,a;const o=Xe({props:t,name:"MuiMenu"}),{autoFocus:i=!0,children:s,className:u,disableAutoFocusItem:l=!1,MenuListProps:c={},onClose:d,open:p,PaperProps:v={},PopoverClasses:m,transitionDuration:g="auto",TransitionProps:{onEntering:E}={},variant:x="selectedMenu",slots:b={},slotProps:y={}}=o,_=Ee(o.TransitionProps,lpe),h=Ee(o,upe),w=_c(),S=k({},o,{autoFocus:i,disableAutoFocusItem:l,MenuListProps:c,onEntering:E,PaperProps:v,transitionDuration:g,TransitionProps:_,variant:x}),O=fpe(S),C=i&&!l&&p,P=f.useRef(null),$=(T,V)=>{P.current&&P.current.adjustStyleForScrollbar(T,{direction:w?"rtl":"ltr"}),E&&E(T,V)},R=T=>{T.key==="Tab"&&(T.preventDefault(),d&&d(T,"tabKeyDown"))};let F=-1;f.Children.map(s,(T,V)=>{f.isValidElement(T)&&(T.props.disabled||(x==="selectedMenu"&&T.props.selected||F===-1)&&(F=V))});const A=(n=b.paper)!=null?n:hpe,I=(a=y.paper)!=null?a:v,U=Di({elementType:b.root,externalSlotProps:y.root,ownerState:S,className:[O.root,u]}),W=Di({elementType:A,externalSlotProps:I,ownerState:S,className:O.paper});return N.jsx(ppe,k({onClose:d,anchorOrigin:{vertical:"bottom",horizontal:w?"right":"left"},transformOrigin:w?cpe:dpe,slots:{paper:A,root:b.root},slotProps:{root:U,paper:W},open:p,ref:r,transitionDuration:g,TransitionProps:k({onEntering:$},_),ownerState:S},h,{classes:m,children:N.jsx(vpe,k({onKeyDown:R,actions:P,autoFocus:i&&(F===-1||l),autoFocusItem:C,variant:x},c,{className:ce(O.list,c.className),children:s}))}))});function mpe(e){return qe("MuiMenuItem",e)}const Qc=He("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),gpe=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],ype=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]},bpe=e=>{const{disabled:t,dense:r,divider:n,disableGutters:a,selected:o,classes:i}=e,u=Ge({root:["root",r&&"dense",t&&"disabled",!a&&"gutters",n&&"divider",o&&"selected"]},mpe,i);return k({},i,u)},xpe=ne(Uo,{shouldForwardProp:e=>Kr(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:ype})(({theme:e,ownerState:t})=>k({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Qc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:vt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Qc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:vt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Qc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:vt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:vt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Qc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Qc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${N$.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${N$.inset}`]:{marginLeft:52},[`& .${Lv.root}`]:{marginTop:0,marginBottom:0},[`& .${Lv.inset}`]:{paddingLeft:36},[`& .${Y$.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&k({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Y$.root} svg`]:{fontSize:"1.25rem"}}))),To=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiMenuItem"}),{autoFocus:a=!1,component:o="li",dense:i=!1,divider:s=!1,disableGutters:u=!1,focusVisibleClassName:l,role:c="menuitem",tabIndex:d,className:p}=n,v=Ee(n,gpe),m=f.useContext(bf),g=f.useMemo(()=>({dense:i||m.dense||!1,disableGutters:u}),[m.dense,i,u]),E=f.useRef(null);ha(()=>{a&&E.current&&E.current.focus()},[a]);const x=k({},n,{dense:g.dense,divider:s,disableGutters:u}),b=bpe(n),y=tr(E,r);let _;return n.disabled||(_=d!==void 0?d:-1),N.jsx(bf.Provider,{value:g,children:N.jsx(xpe,k({ref:y,role:c,tabIndex:_,component:o,focusVisibleClassName:ce(b.focusVisible,l),className:ce(b.root,p)},v,{ownerState:x,classes:b}))})});function wpe(e){return qe("MuiNativeSelect",e)}const qE=He("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),_pe=["className","disabled","error","IconComponent","inputRef","variant"],Epe=e=>{const{classes:t,variant:r,disabled:n,multiple:a,open:o,error:i}=e,s={select:["select",r,n&&"disabled",a&&"multiple",i&&"error"],icon:["icon",`icon${fe(r)}`,o&&"iconOpen",n&&"disabled"]};return Ge(s,wpe,t)},m5=({ownerState:e,theme:t})=>k({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":k({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${qE.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),Spe=ne("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Kr,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${qE.multiple}`]:t.multiple}]}})(m5),g5=({ownerState:e,theme:t})=>k({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${qE.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),Ope=ne("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${fe(r.variant)}`],r.open&&t.iconOpen]}})(g5),Cpe=f.forwardRef(function(t,r){const{className:n,disabled:a,error:o,IconComponent:i,inputRef:s,variant:u="standard"}=t,l=Ee(t,_pe),c=k({},t,{disabled:a,variant:u,error:o}),d=Epe(c);return N.jsxs(f.Fragment,{children:[N.jsx(Spe,k({ownerState:c,className:ce(d.select,n),disabled:a,ref:s||r},l)),t.multiple?null:N.jsx(Ope,{as:i,ownerState:c,className:d.icon})]})});var rk;const Ppe=["children","classes","className","label","notched"],$pe=ne("fieldset",{shouldForwardProp:Kr})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),kpe=ne("legend",{shouldForwardProp:Kr})(({ownerState:e,theme:t})=>k({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&k({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function Rpe(e){const{className:t,label:r,notched:n}=e,a=Ee(e,Ppe),o=r!=null&&r!=="",i=k({},e,{notched:n,withLabel:o});return N.jsx($pe,k({"aria-hidden":!0,className:t,ownerState:i},a,{children:N.jsx(kpe,{ownerState:i,children:o?N.jsx("span",{children:r}):rk||(rk=N.jsx("span",{className:"notranslate",children:"​"}))})}))}const jpe=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Tpe=e=>{const{classes:t}=e,n=Ge({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Eue,t);return k({},t,n)},Ipe=ne(oy,{shouldForwardProp:e=>Kr(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:ny})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return k({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${ni.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${ni.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${ni.focused} .${ni.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${ni.error} .${ni.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${ni.disabled} .${ni.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&k({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),Mpe=ne(Rpe,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),Ape=ne(iy,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:ay})(({theme:e,ownerState:t})=>k({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),KE=f.forwardRef(function(t,r){var n,a,o,i,s;const u=Xe({props:t,name:"MuiOutlinedInput"}),{components:l={},fullWidth:c=!1,inputComponent:d="input",label:p,multiline:v=!1,notched:m,slots:g={},type:E="text"}=u,x=Ee(u,jpe),b=Tpe(u),y=Zi(),_=Oc({props:u,muiFormControl:y,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),h=k({},u,{color:_.color||"primary",disabled:_.disabled,error:_.error,focused:_.focused,formControl:y,fullWidth:c,hiddenLabel:_.hiddenLabel,multiline:v,size:_.size,type:E}),w=(n=(a=g.root)!=null?a:l.Root)!=null?n:Ipe,S=(o=(i=g.input)!=null?i:l.Input)!=null?o:Ape;return N.jsx(sy,k({slots:{root:w,input:S},renderSuffix:O=>N.jsx(Mpe,{ownerState:h,className:b.notchedOutline,label:p!=null&&p!==""&&_.required?s||(s=N.jsxs(f.Fragment,{children:[p," ","*"]})):p,notched:typeof m<"u"?m:!!(O.startAdornment||O.filled||O.focused)}),fullWidth:c,inputComponent:d,multiline:v,ref:r,type:E},x,{classes:k({},b,{notchedOutline:null})}))});KE.muiName="Input";function Fpe(e){return qe("MuiPagination",e)}He("MuiPagination",["root","ul","outlined","text"]);const Lpe=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];function Npe(e={}){const{boundaryCount:t=1,componentName:r="usePagination",count:n=1,defaultPage:a=1,disabled:o=!1,hideNextButton:i=!1,hidePrevButton:s=!1,onChange:u,page:l,showFirstButton:c=!1,showLastButton:d=!1,siblingCount:p=1}=e,v=Ee(e,Lpe),[m,g]=Wu({controlled:l,default:a,name:r,state:"page"}),E=(C,P)=>{l||g(P),u&&u(C,P)},x=(C,P)=>{const $=P-C+1;return Array.from({length:$},(R,F)=>C+F)},b=x(1,Math.min(t,n)),y=x(Math.max(n-t+1,t+1),n),_=Math.max(Math.min(m-p,n-t-p*2-1),t+2),h=Math.min(Math.max(m+p,t+p*2+2),y.length>0?y[0]-2:n-1),w=[...c?["first"]:[],...s?[]:["previous"],...b,..._>t+2?["start-ellipsis"]:t+1t?[n-t]:[],...y,...i?[]:["next"],...d?["last"]:[]],S=C=>{switch(C){case"first":return 1;case"previous":return m-1;case"next":return m+1;case"last":return n;default:return null}},O=w.map(C=>typeof C=="number"?{onClick:P=>{E(P,C)},type:"page",page:C,selected:C===m,disabled:o,"aria-current":C===m?"true":void 0}:{onClick:P=>{E(P,S(C))},type:C,page:S(C),selected:!1,disabled:o||C.indexOf("ellipsis")===-1&&(C==="next"||C==="last"?m>=n:m<=1)});return k({items:O},v)}function Dpe(e){return qe("MuiPaginationItem",e)}const Zn=He("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]),F1=Fn(N.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),L1=Fn(N.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),nk=Fn(N.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),ak=Fn(N.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),Bpe=["className","color","component","components","disabled","page","selected","shape","size","slots","type","variant"],y5=(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${fe(r.size)}`],r.variant==="text"&&t[`text${fe(r.color)}`],r.variant==="outlined"&&t[`outlined${fe(r.color)}`],r.shape==="rounded"&&t.rounded,r.type==="page"&&t.page,(r.type==="start-ellipsis"||r.type==="end-ellipsis")&&t.ellipsis,(r.type==="previous"||r.type==="next")&&t.previousNext,(r.type==="first"||r.type==="last")&&t.firstLast]},zpe=e=>{const{classes:t,color:r,disabled:n,selected:a,size:o,shape:i,type:s,variant:u}=e,l={root:["root",`size${fe(o)}`,u,i,r!=="standard"&&`color${fe(r)}`,r!=="standard"&&`${u}${fe(r)}`,n&&"disabled",a&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[s]],icon:["icon"]};return Ge(l,Dpe,t)},Upe=ne("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:y5})(({theme:e,ownerState:t})=>k({},e.typography.body2,{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${Zn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.size==="small"&&{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"},t.size==="large"&&{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)})),Vpe=ne(Uo,{name:"MuiPaginationItem",slot:"Root",overridesResolver:y5})(({theme:e,ownerState:t})=>k({},e.typography.body2,{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${Zn.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Zn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Zn.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:vt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Zn.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:vt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${Zn.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}}},t.size==="small"&&{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"},t.size==="large"&&{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)},t.shape==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius}),({theme:e,ownerState:t})=>k({},t.variant==="text"&&{[`&.${Zn.selected}`]:k({},t.color!=="standard"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}},[`&.${Zn.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}},{[`&.${Zn.disabled}`]:{color:(e.vars||e).palette.action.disabled}})},t.variant==="outlined"&&{border:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${Zn.selected}`]:k({},t.color!=="standard"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:vt(e.palette[t.color].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:vt(e.palette[t.color].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:vt(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Zn.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:vt(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}},{[`&.${Zn.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}})})),Wpe=ne("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})(({theme:e,ownerState:t})=>k({fontSize:e.typography.pxToRem(20),margin:"0 -8px"},t.size==="small"&&{fontSize:e.typography.pxToRem(18)},t.size==="large"&&{fontSize:e.typography.pxToRem(22)})),Hpe=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiPaginationItem"}),{className:a,color:o="standard",component:i,components:s={},disabled:u=!1,page:l,selected:c=!1,shape:d="circular",size:p="medium",slots:v={},type:m="page",variant:g="text"}=n,E=Ee(n,Bpe),x=k({},n,{color:o,disabled:u,selected:c,shape:d,size:p,type:m,variant:g}),b=_c(),y=zpe(x),h=(b?{previous:v.next||s.next||ak,next:v.previous||s.previous||nk,last:v.first||s.first||F1,first:v.last||s.last||L1}:{previous:v.previous||s.previous||nk,next:v.next||s.next||ak,first:v.first||s.first||F1,last:v.last||s.last||L1})[m];return m==="start-ellipsis"||m==="end-ellipsis"?N.jsx(Upe,{ref:r,ownerState:x,className:ce(y.root,a),children:"…"}):N.jsxs(Vpe,k({ref:r,ownerState:x,component:i,disabled:u,className:ce(y.root,a)},E,{children:[m==="page"&&l,h?N.jsx(Wpe,{as:h,ownerState:x,className:y.icon}):null]}))}),qpe=["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"],Kpe=e=>{const{classes:t,variant:r}=e;return Ge({root:["root",r],ul:["ul"]},Fpe,t)},Gpe=ne("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant]]}})({}),Qpe=ne("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function Xpe(e,t,r){return e==="page"?`${r?"":"Go to "}page ${t}`:`Go to ${e} page`}const Ype=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiPagination"}),{boundaryCount:a=1,className:o,color:i="standard",count:s=1,defaultPage:u=1,disabled:l=!1,getItemAriaLabel:c=Xpe,hideNextButton:d=!1,hidePrevButton:p=!1,renderItem:v=O=>N.jsx(Hpe,k({},O)),shape:m="circular",showFirstButton:g=!1,showLastButton:E=!1,siblingCount:x=1,size:b="medium",variant:y="text"}=n,_=Ee(n,qpe),{items:h}=Npe(k({},n,{componentName:"Pagination"})),w=k({},n,{boundaryCount:a,color:i,count:s,defaultPage:u,disabled:l,getItemAriaLabel:c,hideNextButton:d,hidePrevButton:p,renderItem:v,shape:m,showFirstButton:g,showLastButton:E,siblingCount:x,size:b,variant:y}),S=Kpe(w);return N.jsx(Gpe,k({"aria-label":"pagination navigation",className:ce(S.root,o),ownerState:w,ref:r},_,{children:N.jsx(Qpe,{className:S.ul,ownerState:w,children:h.map((O,C)=>N.jsx("li",{children:v(k({},O,{color:i,"aria-label":c(O.type,O.page,O.selected),shape:m,size:b,variant:y}))},C))})}))});function Jpe(e){return qe("MuiScopedCssBaseline",e)}He("MuiScopedCssBaseline",["root"]);const Zpe=["className","component","enableColorScheme"],ehe=e=>{const{classes:t}=e;return Ge({root:["root"]},Jpe,t)},the=ne("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{const r={};return t.enableColorScheme&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([n,a])=>{var o;r[`&${e.getColorSchemeSelector(n).replace(/\s*&/,"")}`]={colorScheme:(o=a.palette)==null?void 0:o.mode}}),k({},Rce(e,t.enableColorScheme),jce(e),{"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:e.typography.fontWeightBold}},r)}),rhe=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiScopedCssBaseline"}),{className:a,component:o="div"}=n,i=Ee(n,Zpe),s=k({},n,{component:o}),u=ehe(s);return N.jsx(the,k({as:o,className:ce(u.root,a),ref:r,ownerState:s},i))});function nhe(e){return qe("MuiSelect",e)}const Xc=He("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var ok;const ahe=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],ohe=ne("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${Xc.select}`]:t.select},{[`&.${Xc.select}`]:t[r.variant]},{[`&.${Xc.error}`]:t.error},{[`&.${Xc.multiple}`]:t.multiple}]}})(m5,{[`&.${Xc.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),ihe=ne("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${fe(r.variant)}`],r.open&&t.iconOpen]}})(g5),she=ne("input",{shouldForwardProp:e=>L3(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function ik(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function lhe(e){return e==null||typeof e=="string"&&!e.trim()}const uhe=e=>{const{classes:t,variant:r,disabled:n,multiple:a,open:o,error:i}=e,s={select:["select",r,n&&"disabled",a&&"multiple",i&&"error"],icon:["icon",`icon${fe(r)}`,o&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return Ge(s,nhe,t)},che=f.forwardRef(function(t,r){var n;const{"aria-describedby":a,"aria-label":o,autoFocus:i,autoWidth:s,children:u,className:l,defaultOpen:c,defaultValue:d,disabled:p,displayEmpty:v,error:m=!1,IconComponent:g,inputRef:E,labelId:x,MenuProps:b={},multiple:y,name:_,onBlur:h,onChange:w,onClose:S,onFocus:O,onOpen:C,open:P,readOnly:$,renderValue:R,SelectDisplayProps:F={},tabIndex:A,value:I,variant:U="standard"}=t,W=Ee(t,ahe),[T,V]=Wu({controlled:I,default:d,name:"Select"}),[G,ae]=Wu({controlled:P,default:c,name:"Select"}),ie=f.useRef(null),ye=f.useRef(null),[be,xe]=f.useState(null),{current:Se}=f.useRef(P!=null),[Te,$e]=f.useState(),_e=tr(r,E),Ve=f.useCallback(Oe=>{ye.current=Oe,Oe&&xe(Oe)},[]),Ie=be==null?void 0:be.parentNode;f.useImperativeHandle(_e,()=>({focus:()=>{ye.current.focus()},node:ie.current,value:T}),[T]),f.useEffect(()=>{c&&G&&be&&!Se&&($e(s?null:Ie.clientWidth),ye.current.focus())},[be,s]),f.useEffect(()=>{i&&ye.current.focus()},[i]),f.useEffect(()=>{if(!x)return;const Oe=Ir(ye.current).getElementById(x);if(Oe){const Je=()=>{getSelection().isCollapsed&&ye.current.focus()};return Oe.addEventListener("click",Je),()=>{Oe.removeEventListener("click",Je)}}},[x]);const De=(Oe,Je)=>{Oe?C&&C(Je):S&&S(Je),Se||($e(s?null:Ie.clientWidth),ae(Oe))},Le=Oe=>{Oe.button===0&&(Oe.preventDefault(),ye.current.focus(),De(!0,Oe))},We=Oe=>{De(!1,Oe)},tt=f.Children.toArray(u),dt=Oe=>{const Je=tt.find(nt=>nt.props.value===Oe.target.value);Je!==void 0&&(V(Je.props.value),w&&w(Oe,Je))},yt=Oe=>Je=>{let nt;if(Je.currentTarget.hasAttribute("tabindex")){if(y){nt=Array.isArray(T)?T.slice():[];const Et=T.indexOf(Oe.props.value);Et===-1?nt.push(Oe.props.value):nt.splice(Et,1)}else nt=Oe.props.value;if(Oe.props.onClick&&Oe.props.onClick(Je),T!==nt&&(V(nt),w)){const Et=Je.nativeEvent||Je,It=new Et.constructor(Et.type,Et);Object.defineProperty(It,"target",{writable:!0,value:{value:nt,name:_}}),w(It,Oe)}y||De(!1,Je)}},z=Oe=>{$||[" ","ArrowUp","ArrowDown","Enter"].indexOf(Oe.key)!==-1&&(Oe.preventDefault(),De(!0,Oe))},Y=be!==null&&G,te=Oe=>{!Y&&h&&(Object.defineProperty(Oe,"target",{writable:!0,value:{value:T,name:_}}),h(Oe))};delete W["aria-invalid"];let ue,me;const he=[];let ve=!1;(Av({value:T})||v)&&(R?ue=R(T):ve=!0);const ee=tt.map(Oe=>{if(!f.isValidElement(Oe))return null;let Je;if(y){if(!Array.isArray(T))throw new Error(zo(2));Je=T.some(nt=>ik(nt,Oe.props.value)),Je&&ve&&he.push(Oe.props.children)}else Je=ik(T,Oe.props.value),Je&&ve&&(me=Oe.props.children);return f.cloneElement(Oe,{"aria-selected":Je?"true":"false",onClick:yt(Oe),onKeyUp:nt=>{nt.key===" "&&nt.preventDefault(),Oe.props.onKeyUp&&Oe.props.onKeyUp(nt)},role:"option",selected:Je,value:void 0,"data-value":Oe.props.value})});ve&&(y?he.length===0?ue=null:ue=he.reduce((Oe,Je,nt)=>(Oe.push(Je),nt{const{classes:t}=e;return t},GE={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Kr(e)&&e!=="variant",slot:"Root"},hhe=ne(WE,GE)(""),vhe=ne(KE,GE)(""),mhe=ne(VE,GE)(""),QE=f.forwardRef(function(t,r){const n=Xe({name:"MuiSelect",props:t}),{autoWidth:a=!1,children:o,classes:i={},className:s,defaultOpen:u=!1,displayEmpty:l=!1,IconComponent:c=Oue,id:d,input:p,inputProps:v,label:m,labelId:g,MenuProps:E,multiple:x=!1,native:b=!1,onClose:y,onOpen:_,open:h,renderValue:w,SelectDisplayProps:S,variant:O="outlined"}=n,C=Ee(n,dhe),P=b?Cpe:che,$=Zi(),R=Oc({props:n,muiFormControl:$,states:["variant","error"]}),F=R.variant||O,A=k({},n,{variant:F,classes:i}),I=phe(A),U=Ee(I,fhe),W=p||{standard:N.jsx(hhe,{ownerState:A}),outlined:N.jsx(vhe,{label:m,ownerState:A}),filled:N.jsx(mhe,{ownerState:A})}[F],T=tr(r,W.ref);return N.jsx(f.Fragment,{children:f.cloneElement(W,k({inputComponent:P,inputProps:k({children:o,error:R.error,IconComponent:c,variant:F,type:void 0,multiple:x},b?{id:d}:{autoWidth:a,defaultOpen:u,displayEmpty:l,labelId:g,MenuProps:E,onClose:y,onOpen:_,open:h,renderValue:w,SelectDisplayProps:k({id:d},S)},v,{classes:v?Hr(U,v.classes):U},p?p.props.inputProps:{})},(x&&b||l)&&F==="outlined"?{notched:!0}:{},{ref:T,className:ce(W.props.className,s,I.root)},!p&&{variant:F},C))})});QE.muiName="Select";function ghe(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:r=!1,onClose:n,open:a,resumeHideDuration:o}=e,i=Es();f.useEffect(()=>{if(!a)return;function x(b){b.defaultPrevented||(b.key==="Escape"||b.key==="Esc")&&(n==null||n(b,"escapeKeyDown"))}return document.addEventListener("keydown",x),()=>{document.removeEventListener("keydown",x)}},[a,n]);const s=la((x,b)=>{n==null||n(x,b)}),u=la(x=>{!n||x==null||i.start(x,()=>{s(null,"timeout")})});f.useEffect(()=>(a&&u(t),i.clear),[a,t,u,i]);const l=x=>{n==null||n(x,"clickaway")},c=i.clear,d=f.useCallback(()=>{t!=null&&u(o??t*.5)},[t,o,u]),p=x=>b=>{const y=x.onBlur;y==null||y(b),d()},v=x=>b=>{const y=x.onFocus;y==null||y(b),c()},m=x=>b=>{const y=x.onMouseEnter;y==null||y(b),c()},g=x=>b=>{const y=x.onMouseLeave;y==null||y(b),d()};return f.useEffect(()=>{if(!r&&a)return window.addEventListener("focus",d),window.addEventListener("blur",c),()=>{window.removeEventListener("focus",d),window.removeEventListener("blur",c)}},[r,a,d,c]),{getRootProps:(x={})=>{const b=k({},Rv(e),Rv(x));return k({role:"presentation"},x,b,{onBlur:p(b),onFocus:v(b),onMouseEnter:m(b),onMouseLeave:g(b)})},onClickAway:l}}function yhe(e){return qe("MuiSnackbarContent",e)}He("MuiSnackbarContent",["root","message","action"]);const bhe=["action","className","message","role"],xhe=e=>{const{classes:t}=e;return Ge({root:["root"],action:["action"],message:["message"]},yhe,t)},whe=ne(Yi,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,r=Aoe(e.palette.background.default,t);return k({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(r),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:r,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),_he=ne("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),Ehe=ne("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),She=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiSnackbarContent"}),{action:a,className:o,message:i,role:s="alert"}=n,u=Ee(n,bhe),l=n,c=xhe(l);return N.jsxs(whe,k({role:s,square:!0,elevation:6,className:ce(c.root,o),ownerState:l,ref:r},u,{children:[N.jsx(_he,{className:c.message,ownerState:l,children:i}),a?N.jsx(Ehe,{className:c.action,ownerState:l,children:a}):null]}))});function Ohe(e){return qe("MuiSnackbar",e)}He("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const Che=["onEnter","onExited"],Phe=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],$he=e=>{const{classes:t,anchorOrigin:r}=e,n={root:["root",`anchorOrigin${fe(r.vertical)}${fe(r.horizontal)}`]};return Ge(n,Ohe,t)},sk=ne("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`anchorOrigin${fe(r.anchorOrigin.vertical)}${fe(r.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>{const r={left:"50%",right:"auto",transform:"translateX(-50%)"};return k({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},t.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},t.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},t.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:k({},t.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},t.anchorOrigin.horizontal==="center"&&r,t.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},t.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),khe=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiSnackbar"}),a=Yo(),o={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{action:i,anchorOrigin:{vertical:s,horizontal:u}={vertical:"bottom",horizontal:"left"},autoHideDuration:l=null,children:c,className:d,ClickAwayListenerProps:p,ContentProps:v,disableWindowBlurListener:m=!1,message:g,open:E,TransitionComponent:x=yf,transitionDuration:b=o,TransitionProps:{onEnter:y,onExited:_}={}}=n,h=Ee(n.TransitionProps,Che),w=Ee(n,Phe),S=k({},n,{anchorOrigin:{vertical:s,horizontal:u},autoHideDuration:l,disableWindowBlurListener:m,TransitionComponent:x,transitionDuration:b}),O=$he(S),{getRootProps:C,onClickAway:P}=ghe(k({},S)),[$,R]=f.useState(!0),F=Di({elementType:sk,getSlotProps:C,externalForwardedProps:w,ownerState:S,additionalProps:{ref:r},className:[O.root,d]}),A=U=>{R(!0),_&&_(U)},I=(U,W)=>{R(!1),y&&y(U,W)};return!E&&$?null:N.jsx(kce,k({onClickAway:P},p,{children:N.jsx(sk,k({},F,{children:N.jsx(x,k({appear:!0,in:E,timeout:b,direction:s==="top"?"down":"up",onEnter:I,onExited:A},h,{children:c||N.jsx(She,k({message:g,action:i},v))}))}))}))});function Rhe(e){return qe("MuiTooltip",e)}const Si=He("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),jhe=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function The(e){return Math.round(e*1e5)/1e5}const Ihe=e=>{const{classes:t,disableInteractive:r,arrow:n,touch:a,placement:o}=e,i={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",a&&"touch",`tooltipPlacement${fe(o.split("-")[0])}`],arrow:["arrow"]};return Ge(i,Rhe,t)},Mhe=ne(J3,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(({theme:e,ownerState:t,open:r})=>k({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Si.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Si.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Si.arrow}`]:k({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Si.arrow}`]:k({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),Ahe=ne("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${fe(r.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>k({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:vt(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${The(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Si.popper}[data-popper-placement*="left"] &`]:k({transformOrigin:"right center"},t.isRtl?k({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):k({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Si.popper}[data-popper-placement*="right"] &`]:k({transformOrigin:"left center"},t.isRtl?k({marginRight:"14px"},t.touch&&{marginRight:"24px"}):k({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Si.popper}[data-popper-placement*="top"] &`]:k({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Si.popper}[data-popper-placement*="bottom"] &`]:k({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),Fhe=ne("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:vt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Dp=!1;const lk=new Gf;let Yc={x:0,y:0};function Bp(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}const ll=f.forwardRef(function(t,r){var n,a,o,i,s,u,l,c,d,p,v,m,g,E,x,b,y,_,h;const w=Xe({props:t,name:"MuiTooltip"}),{arrow:S=!1,children:O,components:C={},componentsProps:P={},describeChild:$=!1,disableFocusListener:R=!1,disableHoverListener:F=!1,disableInteractive:A=!1,disableTouchListener:I=!1,enterDelay:U=100,enterNextDelay:W=0,enterTouchDelay:T=700,followCursor:V=!1,id:G,leaveDelay:ae=0,leaveTouchDelay:ie=1500,onClose:ye,onOpen:be,open:xe,placement:Se="bottom",PopperComponent:Te,PopperProps:$e={},slotProps:_e={},slots:Ve={},title:Ie,TransitionComponent:De=yf,TransitionProps:Le}=w,We=Ee(w,jhe),tt=f.isValidElement(O)?O:N.jsx("span",{children:O}),dt=Yo(),yt=_c(),[z,Y]=f.useState(),[te,ue]=f.useState(null),me=f.useRef(!1),he=A||V,ve=Es(),ee=Es(),K=Es(),Q=Es(),[re,le]=Wu({controlled:xe,default:!1,name:"Tooltip",state:"open"});let Me=re;const Qe=tl(G),Be=f.useRef(),Oe=la(()=>{Be.current!==void 0&&(document.body.style.WebkitUserSelect=Be.current,Be.current=void 0),Q.clear()});f.useEffect(()=>Oe,[Oe]);const Je=Ne=>{lk.clear(),Dp=!0,le(!0),be&&!Me&&be(Ne)},nt=la(Ne=>{lk.start(800+ae,()=>{Dp=!1}),le(!1),ye&&Me&&ye(Ne),ve.start(dt.transitions.duration.shortest,()=>{me.current=!1})}),Et=Ne=>{me.current&&Ne.type!=="touchstart"||(z&&z.removeAttribute("title"),ee.clear(),K.clear(),U||Dp&&W?ee.start(Dp?W:U,()=>{Je(Ne)}):Je(Ne))},It=Ne=>{ee.clear(),K.start(ae,()=>{nt(Ne)})},{isFocusVisibleRef:Ar,onBlur:Er,onFocus:bn,ref:Fr}=Ug(),[,Gt]=f.useState(!1),$t=Ne=>{Er(Ne),Ar.current===!1&&(Gt(!1),It(Ne))},pr=Ne=>{z||Y(Ne.currentTarget),bn(Ne),Ar.current===!0&&(Gt(!0),Et(Ne))},hr=Ne=>{me.current=!0;const mt=tt.props;mt.onTouchStart&&mt.onTouchStart(Ne)},Ln=Ne=>{hr(Ne),K.clear(),ve.clear(),Oe(),Be.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Q.start(T,()=>{document.body.style.WebkitUserSelect=Be.current,Et(Ne)})},rn=Ne=>{tt.props.onTouchEnd&&tt.props.onTouchEnd(Ne),Oe(),K.start(ie,()=>{nt(Ne)})};f.useEffect(()=>{if(!Me)return;function Ne(mt){(mt.key==="Escape"||mt.key==="Esc")&&nt(mt)}return document.addEventListener("keydown",Ne),()=>{document.removeEventListener("keydown",Ne)}},[nt,Me]);const Pr=tr(tt.ref,Fr,Y,r);!Ie&&Ie!==0&&(Me=!1);const $r=f.useRef(),go=Ne=>{const mt=tt.props;mt.onMouseMove&&mt.onMouseMove(Ne),Yc={x:Ne.clientX,y:Ne.clientY},$r.current&&$r.current.update()},Jn={},H=typeof Ie=="string";$?(Jn.title=!Me&&H&&!F?Ie:null,Jn["aria-describedby"]=Me?Qe:null):(Jn["aria-label"]=H?Ie:null,Jn["aria-labelledby"]=Me&&!H?Qe:null);const X=k({},Jn,We,tt.props,{className:ce(We.className,tt.props.className),onTouchStart:hr,ref:Pr},V?{onMouseMove:go}:{}),oe={};I||(X.onTouchStart=Ln,X.onTouchEnd=rn),F||(X.onMouseOver=Bp(Et,X.onMouseOver),X.onMouseLeave=Bp(It,X.onMouseLeave),he||(oe.onMouseOver=Et,oe.onMouseLeave=It)),R||(X.onFocus=Bp(pr,X.onFocus),X.onBlur=Bp($t,X.onBlur),he||(oe.onFocus=pr,oe.onBlur=$t));const ge=f.useMemo(()=>{var Ne;let mt=[{name:"arrow",enabled:!!te,options:{element:te,padding:4}}];return(Ne=$e.popperOptions)!=null&&Ne.modifiers&&(mt=mt.concat($e.popperOptions.modifiers)),k({},$e.popperOptions,{modifiers:mt})},[te,$e]),Re=k({},w,{isRtl:yt,arrow:S,disableInteractive:he,placement:Se,PopperComponentProp:Te,touch:me.current}),Fe=Ihe(Re),Ze=(n=(a=Ve.popper)!=null?a:C.Popper)!=null?n:Mhe,ke=(o=(i=(s=Ve.transition)!=null?s:C.Transition)!=null?i:De)!=null?o:yf,it=(u=(l=Ve.tooltip)!=null?l:C.Tooltip)!=null?u:Ahe,Ke=(c=(d=Ve.arrow)!=null?d:C.Arrow)!=null?c:Fhe,Ye=Gl(Ze,k({},$e,(p=_e.popper)!=null?p:P.popper,{className:ce(Fe.popper,$e==null?void 0:$e.className,(v=(m=_e.popper)!=null?m:P.popper)==null?void 0:v.className)}),Re),xt=Gl(ke,k({},Le,(g=_e.transition)!=null?g:P.transition),Re),wt=Gl(it,k({},(E=_e.tooltip)!=null?E:P.tooltip,{className:ce(Fe.tooltip,(x=(b=_e.tooltip)!=null?b:P.tooltip)==null?void 0:x.className)}),Re),St=Gl(Ke,k({},(y=_e.arrow)!=null?y:P.arrow,{className:ce(Fe.arrow,(_=(h=_e.arrow)!=null?h:P.arrow)==null?void 0:_.className)}),Re);return N.jsxs(f.Fragment,{children:[f.cloneElement(tt,X),N.jsx(Ze,k({as:Te??J3,placement:Se,anchorEl:V?{getBoundingClientRect:()=>({top:Yc.y,left:Yc.x,right:Yc.x,bottom:Yc.y,width:0,height:0})}:z,popperRef:$r,open:z?Me:!1,id:Qe,transition:!0},oe,Ye,{popperOptions:ge,children:({TransitionProps:Ne})=>N.jsx(ke,k({timeout:dt.transitions.duration.shorter},Ne,xt,{children:N.jsxs(it,k({},wt,{children:[Ie,S?N.jsx(Ke,k({},St,{ref:ue})):null]}))}))}))]})}),b5=f.createContext();function Lhe(e){return qe("MuiTable",e)}He("MuiTable",["root","stickyHeader"]);const Nhe=["className","component","padding","size","stickyHeader"],Dhe=e=>{const{classes:t,stickyHeader:r}=e;return Ge({root:["root",r&&"stickyHeader"]},Lhe,t)},Bhe=ne("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>k({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":k({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),uk="table",x5=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiTable"}),{className:a,component:o=uk,padding:i="normal",size:s="medium",stickyHeader:u=!1}=n,l=Ee(n,Nhe),c=k({},n,{component:o,padding:i,size:s,stickyHeader:u}),d=Dhe(c),p=f.useMemo(()=>({padding:i,size:s,stickyHeader:u}),[i,s,u]);return N.jsx(b5.Provider,{value:p,children:N.jsx(Bhe,k({as:o,role:o===uk?null:"table",ref:r,className:ce(d.root,a),ownerState:c},l))})}),py=f.createContext();function zhe(e){return qe("MuiTableBody",e)}He("MuiTableBody",["root"]);const Uhe=["className","component"],Vhe=e=>{const{classes:t}=e;return Ge({root:["root"]},zhe,t)},Whe=ne("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),Hhe={variant:"body"},ck="tbody",w5=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiTableBody"}),{className:a,component:o=ck}=n,i=Ee(n,Uhe),s=k({},n,{component:o}),u=Vhe(s);return N.jsx(py.Provider,{value:Hhe,children:N.jsx(Whe,k({className:ce(u.root,a),as:o,ref:r,role:o===ck?null:"rowgroup",ownerState:s},i))})});function qhe(e){return qe("MuiTableCell",e)}const Khe=He("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),Ghe=["align","className","component","padding","scope","size","sortDirection","variant"],Qhe=e=>{const{classes:t,variant:r,align:n,padding:a,size:o,stickyHeader:i}=e,s={root:["root",r,i&&"stickyHeader",n!=="inherit"&&`align${fe(n)}`,a!=="normal"&&`padding${fe(a)}`,`size${fe(o)}`]};return Ge(s,qhe,t)},Xhe=ne("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${fe(r.size)}`],r.padding!=="normal"&&t[`padding${fe(r.padding)}`],r.align!=="inherit"&&t[`align${fe(r.align)}`],r.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>k({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid - ${e.palette.mode==="light"?wE(vt(e.palette.divider,1),.88):xE(vt(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${Khe.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),en=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiTableCell"}),{align:a="inherit",className:o,component:i,padding:s,scope:u,size:l,sortDirection:c,variant:d}=n,p=Ee(n,Ghe),v=f.useContext(b5),m=f.useContext(py),g=m&&m.variant==="head";let E;i?E=i:E=g?"th":"td";let x=u;E==="td"?x=void 0:!x&&g&&(x="col");const b=d||m&&m.variant,y=k({},n,{align:a,component:E,padding:s||(v&&v.padding?v.padding:"normal"),size:l||(v&&v.size?v.size:"medium"),sortDirection:c,stickyHeader:b==="head"&&v&&v.stickyHeader,variant:b}),_=Qhe(y);let h=null;return c&&(h=c==="asc"?"ascending":"descending"),N.jsx(Xhe,k({as:E,ref:r,className:ce(_.root,o),"aria-sort":h,scope:x,ownerState:y},p))});function Yhe(e){return qe("MuiTableHead",e)}He("MuiTableHead",["root"]);const Jhe=["className","component"],Zhe=e=>{const{classes:t}=e;return Ge({root:["root"]},Yhe,t)},eve=ne("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),tve={variant:"head"},dk="thead",_5=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiTableHead"}),{className:a,component:o=dk}=n,i=Ee(n,Jhe),s=k({},n,{component:o}),u=Zhe(s);return N.jsx(py.Provider,{value:tve,children:N.jsx(eve,k({as:o,className:ce(u.root,a),ref:r,role:o===dk?null:"rowgroup",ownerState:s},i))})});function rve(e){return qe("MuiToolbar",e)}He("MuiToolbar",["root","gutters","regular","dense"]);const nve=["className","component","disableGutters","variant"],ave=e=>{const{classes:t,disableGutters:r,variant:n}=e;return Ge({root:["root",!r&&"gutters",n]},rve,t)},ove=ne("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.variant]]}})(({theme:e,ownerState:t})=>k({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),Pc=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiToolbar"}),{className:a,component:o="div",disableGutters:i=!1,variant:s="regular"}=n,u=Ee(n,nve),l=k({},n,{component:o,disableGutters:i,variant:s}),c=ave(l);return N.jsx(ove,k({as:o,className:ce(c.root,a),ref:r,ownerState:l},u))}),ive=Fn(N.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),sve=Fn(N.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),lve=["backIconButtonProps","count","disabled","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton","slots","slotProps"],uve=f.forwardRef(function(t,r){var n,a,o,i,s,u,l,c;const{backIconButtonProps:d,count:p,disabled:v=!1,getItemAriaLabel:m,nextIconButtonProps:g,onPageChange:E,page:x,rowsPerPage:b,showFirstButton:y,showLastButton:_,slots:h={},slotProps:w={}}=t,S=Ee(t,lve),O=_c(),C=_e=>{E(_e,0)},P=_e=>{E(_e,x-1)},$=_e=>{E(_e,x+1)},R=_e=>{E(_e,Math.max(0,Math.ceil(p/b)-1))},F=(n=h.firstButton)!=null?n:Tr,A=(a=h.lastButton)!=null?a:Tr,I=(o=h.nextButton)!=null?o:Tr,U=(i=h.previousButton)!=null?i:Tr,W=(s=h.firstButtonIcon)!=null?s:F1,T=(u=h.lastButtonIcon)!=null?u:L1,V=(l=h.nextButtonIcon)!=null?l:sve,G=(c=h.previousButtonIcon)!=null?c:ive,ae=O?A:F,ie=O?I:U,ye=O?U:I,be=O?F:A,xe=O?w.lastButton:w.firstButton,Se=O?w.nextButton:w.previousButton,Te=O?w.previousButton:w.nextButton,$e=O?w.firstButton:w.lastButton;return N.jsxs("div",k({ref:r},S,{children:[y&&N.jsx(ae,k({onClick:C,disabled:v||x===0,"aria-label":m("first",x),title:m("first",x)},xe,{children:O?N.jsx(T,k({},w.lastButtonIcon)):N.jsx(W,k({},w.firstButtonIcon))})),N.jsx(ie,k({onClick:P,disabled:v||x===0,color:"inherit","aria-label":m("previous",x),title:m("previous",x)},Se??d,{children:O?N.jsx(V,k({},w.nextButtonIcon)):N.jsx(G,k({},w.previousButtonIcon))})),N.jsx(ye,k({onClick:$,disabled:v||(p!==-1?x>=Math.ceil(p/b)-1:!1),color:"inherit","aria-label":m("next",x),title:m("next",x)},Te??g,{children:O?N.jsx(G,k({},w.previousButtonIcon)):N.jsx(V,k({},w.nextButtonIcon))})),_&&N.jsx(be,k({onClick:R,disabled:v||x>=Math.ceil(p/b)-1,"aria-label":m("last",x),title:m("last",x)},$e,{children:O?N.jsx(W,k({},w.firstButtonIcon)):N.jsx(T,k({},w.lastButtonIcon))}))]}))});function cve(e){return qe("MuiTablePagination",e)}const jd=He("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var fk;const dve=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","disabled","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton","slotProps","slots"],fve=ne(en,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}})),pve=ne(Pc,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>k({[`& .${jd.actions}`]:t.actions},t.toolbar)})(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${jd.actions}`]:{flexShrink:0,marginLeft:20}})),hve=ne("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),vve=ne("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(({theme:e})=>k({},e.typography.body2,{flexShrink:0})),mve=ne(QE,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>k({[`& .${jd.selectIcon}`]:t.selectIcon,[`& .${jd.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${jd.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),gve=ne(To,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),yve=ne("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(({theme:e})=>k({},e.typography.body2,{flexShrink:0}));function bve({from:e,to:t,count:r}){return`${e}–${t} of ${r!==-1?r:`more than ${t}`}`}function xve(e){return`Go to ${e} page`}const wve=e=>{const{classes:t}=e;return Ge({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},cve,t)},pk=f.forwardRef(function(t,r){var n;const a=Xe({props:t,name:"MuiTablePagination"}),{ActionsComponent:o=uve,backIconButtonProps:i,className:s,colSpan:u,component:l=en,count:c,disabled:d=!1,getItemAriaLabel:p=xve,labelDisplayedRows:v=bve,labelRowsPerPage:m="Rows per page:",nextIconButtonProps:g,onPageChange:E,onRowsPerPageChange:x,page:b,rowsPerPage:y,rowsPerPageOptions:_=[10,25,50,100],SelectProps:h={},showFirstButton:w=!1,showLastButton:S=!1,slotProps:O={},slots:C={}}=a,P=Ee(a,dve),$=a,R=wve($),F=(n=O==null?void 0:O.select)!=null?n:h,A=F.native?"option":gve;let I;(l===en||l==="td")&&(I=u||1e3);const U=tl(F.id),W=tl(F.labelId),T=()=>c===-1?(b+1)*y:y===-1?c:Math.min(c,(b+1)*y);return N.jsx(fve,k({colSpan:I,ref:r,as:l,ownerState:$,className:ce(R.root,s)},P,{children:N.jsxs(pve,{className:R.toolbar,children:[N.jsx(hve,{className:R.spacer}),_.length>1&&N.jsx(vve,{className:R.selectLabel,id:W,children:m}),_.length>1&&N.jsx(mve,k({variant:"standard"},!F.variant&&{input:fk||(fk=N.jsx(sy,{}))},{value:y,onChange:x,id:U,labelId:W},F,{classes:k({},F.classes,{root:ce(R.input,R.selectRoot,(F.classes||{}).root),select:ce(R.select,(F.classes||{}).select),icon:ce(R.selectIcon,(F.classes||{}).icon)}),disabled:d,children:_.map(V=>f.createElement(A,k({},!vf(A)&&{ownerState:$},{className:R.menuItem,key:V.label?V.label:V,value:V.value?V.value:V}),V.label?V.label:V))})),N.jsx(yve,{className:R.displayedRows,children:v({from:c===0?0:b*y+1,to:T(),count:c===-1?-1:c,page:b})}),N.jsx(o,{className:R.actions,backIconButtonProps:i,count:c,nextIconButtonProps:g,onPageChange:E,page:b,rowsPerPage:y,showFirstButton:w,showLastButton:S,slotProps:O.actions,slots:C.actions,getItemAriaLabel:p,disabled:d})]})}))});function _ve(e){return qe("MuiTableRow",e)}const hk=He("MuiTableRow",["root","selected","hover","head","footer"]),Eve=["className","component","hover","selected"],Sve=e=>{const{classes:t,selected:r,hover:n,head:a,footer:o}=e;return Ge({root:["root",r&&"selected",n&&"hover",a&&"head",o&&"footer"]},_ve,t)},Ove=ne("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.head&&t.head,r.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${hk.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${hk.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:vt(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:vt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),vk="tr",xf=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiTableRow"}),{className:a,component:o=vk,hover:i=!1,selected:s=!1}=n,u=Ee(n,Eve),l=f.useContext(py),c=k({},n,{component:o,hover:i,selected:s,head:l&&l.variant==="head",footer:l&&l.variant==="footer"}),d=Sve(c);return N.jsx(Ove,k({as:o,ref:r,className:ce(d.root,a),role:o===vk?null:"row",ownerState:c},u))}),Cve=Fn(N.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function Pve(e){return qe("MuiTableSortLabel",e)}const j0=He("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]),$ve=["active","children","className","direction","hideSortIcon","IconComponent"],kve=e=>{const{classes:t,direction:r,active:n}=e,a={root:["root",n&&"active"],icon:["icon",`iconDirection${fe(r)}`]};return Ge(a,Pve,t)},Rve=ne(Uo,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.active&&t.active]}})(({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${j0.icon}`]:{opacity:.5}},[`&.${j0.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${j0.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}})),jve=ne("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,t[`iconDirection${fe(r.direction)}`]]}})(({theme:e,ownerState:t})=>k({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},t.direction==="desc"&&{transform:"rotate(0deg)"},t.direction==="asc"&&{transform:"rotate(180deg)"})),Tve=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiTableSortLabel"}),{active:a=!1,children:o,className:i,direction:s="asc",hideSortIcon:u=!1,IconComponent:l=Cve}=n,c=Ee(n,$ve),d=k({},n,{active:a,direction:s,hideSortIcon:u,IconComponent:l}),p=kve(d);return N.jsxs(Rve,k({className:ce(p.root,i),component:"span",disableRipple:!0,ownerState:d,ref:r},c,{children:[o,u&&!a?null:N.jsx(jve,{as:l,className:ce(p.icon),ownerState:d})]}))});function Ive(e){return qe("MuiTextField",e)}He("MuiTextField",["root"]);const Mve=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],Ave={standard:WE,filled:VE,outlined:KE},Fve=e=>{const{classes:t}=e;return Ge({root:["root"]},Ive,t)},Lve=ne(Gde,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),XE=f.forwardRef(function(t,r){const n=Xe({props:t,name:"MuiTextField"}),{autoComplete:a,autoFocus:o=!1,children:i,className:s,color:u="primary",defaultValue:l,disabled:c=!1,error:d=!1,FormHelperTextProps:p,fullWidth:v=!1,helperText:m,id:g,InputLabelProps:E,inputProps:x,InputProps:b,inputRef:y,label:_,maxRows:h,minRows:w,multiline:S=!1,name:O,onBlur:C,onChange:P,onFocus:$,placeholder:R,required:F=!1,rows:A,select:I=!1,SelectProps:U,type:W,value:T,variant:V="outlined"}=n,G=Ee(n,Mve),ae=k({},n,{autoFocus:o,color:u,disabled:c,error:d,fullWidth:v,multiline:S,required:F,select:I,variant:V}),ie=Fve(ae),ye={};V==="outlined"&&(E&&typeof E.shrink<"u"&&(ye.notched=E.shrink),ye.label=_),I&&((!U||!U.native)&&(ye.id=void 0),ye["aria-describedby"]=void 0);const be=tl(g),xe=m&&be?`${be}-helper-text`:void 0,Se=_&&be?`${be}-label`:void 0,Te=Ave[V],$e=N.jsx(Te,k({"aria-describedby":xe,autoComplete:a,autoFocus:o,defaultValue:l,fullWidth:v,multiline:S,name:O,rows:A,maxRows:h,minRows:w,type:W,value:T,id:be,inputRef:y,onBlur:C,onChange:P,onFocus:$,placeholder:R,inputProps:x},ye,b));return N.jsxs(Lve,k({className:ce(ie.root,s),disabled:c,error:d,fullWidth:v,ref:r,required:F,color:u,variant:V,ownerState:ae},G,{children:[_!=null&&_!==""&&N.jsx(xfe,k({htmlFor:be,id:Se},E,{children:_})),I?N.jsx(QE,k({"aria-describedby":xe,id:be,labelId:Se,value:T,input:$e},U,{children:i})):$e,m&&N.jsx(u5,k({id:xe},p,{children:m}))]}))}),Nve=["getTrigger","target"];function Dve(e,t){const{disableHysteresis:r=!1,threshold:n=100,target:a}=t,o=e.current;return a&&(e.current=a.pageYOffset!==void 0?a.pageYOffset:a.scrollTop),!r&&o!==void 0&&e.currentn}const Bve=typeof window<"u"?window:null;function E5(e={}){const{getTrigger:t=Dve,target:r=Bve}=e,n=Ee(e,Nve),a=f.useRef(),[o,i]=f.useState(()=>t(a,n));return f.useEffect(()=>{const s=()=>{i(t(a,k({target:r},n)))};return s(),r.addEventListener("scroll",s,{passive:!0}),()=>{r.removeEventListener("scroll",s,{passive:!0})}},[r,t,JSON.stringify(n)]),o}var YE={},T0={};const zve=Ho(Vie);var mk;function Pt(){return mk||(mk=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=zve}(T0)),T0}var Uve=bt;Object.defineProperty(YE,"__esModule",{value:!0});var JE=YE.default=void 0,Vve=Uve(Pt()),Wve=N;JE=YE.default=(0,Vve.default)((0,Wve.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1z"}),"Lock");var Td=function(){return Td=Object.assign||function(e){for(var t,r=1,n=arguments.length;r1?f.createElement(t0e,null):null,t&&f.createElement(U5,null),f.createElement(wme,null))},Gme=f.createElement(Kme,null),Qme=f.createElement(M5,null),us="RaAppBar",Os={appBar:"".concat(us,"-appBar"),toolbar:"".concat(us,"-toolbar"),menuButton:"".concat(us,"-menuButton"),menuButtonIconClosed:"".concat(us,"-menuButtonIconClosed"),menuButtonIconOpen:"".concat(us,"-menuButtonIconOpen"),title:"".concat(us,"-title")},Xme=ne(Fse,{name:us,overridesResolver:function(e,t){return t.root}})(function(e){var t,r,n=e.theme;return t={},t["& .".concat(Os.toolbar)]=(r={padding:"0 ".concat(n.spacing(1))},r[n.breakpoints.down("md")]={minHeight:n.spacing(6)},r),t["& .".concat(Os.menuButton)]={marginRight:"0.2em"},t["& .".concat(Os.title)]={},t}),lS={},Yme=bt;Object.defineProperty(lS,"__esModule",{value:!0});var W5=lS.default=void 0,Jme=Yme(Pt()),Zme=N;W5=lS.default=(0,Jme.default)((0,Zme.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle");var uS={},ege=bt;Object.defineProperty(uS,"__esModule",{value:!0});var H5=uS.default=void 0,tge=ege(Pt()),rge=N;H5=uS.default=(0,tge.default)((0,rge.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"ErrorOutline");var Md=function(){return Md=Object.assign||function(e){for(var t,r=1,n=arguments.length;r element");var u=n===!1?f.createElement(X5,Wv({title:r,defaultTitle:t},a)):f.createElement(Fge,Wv({title:r,defaultTitle:t,preferenceKey:n},a));return f.createElement(f.Fragment,null,Tf.createPortal(u,i))},Q1=function(){return Q1=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]0,P=x0e(E===!1||E===void 0?void 0:!E,l||!C||S||O);Z_(d==="submit"&&(u&&(u.onSuccess||u.onError)||p),'Cannot use props on a button of type "submit". To override the default mutation options on a particular save button, set the prop, or set mutationOptions in the main view component ( or ).');var $=f.useCallback(function(A){return wk(void 0,void 0,void 0,function(){var I;return _k(this,function(U){switch(U.label){case 0:return _!=null&&_.save?[4,_.save(A,Ld(Ld({},u),{transform:p}))]:[3,2];case 1:I=U.sent(),U.label=2;case 2:return I!=null&&YM(I,y.setError),[2]}})})},[y.setError,_,u,p]),R=f.useCallback(function(A){return wk(void 0,void 0,void 0,function(){return _k(this,function(I){switch(I.label){case 0:return s&&s(A),A.defaultPrevented?[2]:d!=="button"?[3,2]:(A.stopPropagation(),[4,y.handleSubmit($)(A)]);case 1:I.sent(),I.label=2;case 2:return[2]}})})},[s,d,y,$]),F=i&&b(i,{_:i});return f.createElement(b0e,Ld({variant:m,type:d,color:r,"aria-label":F,disabled:P,onClick:R},x),O?f.createElement(cy,{sx:m0e,size:14,thickness:3,color:"inherit"}):a,F)},m0e={"&.MuiCircularProgress-root":{marginRight:"10px",marginLeft:"2px"}},g0e=f.createElement(yF,null),y0e="RaSaveButton",b0e=ne(In,{name:y0e,overridesResolver:function(e,t){return t.root}})(function(e){var t,r=e.theme;return t={position:"relative"},t["& .MuiSvgIcon-root, & .MuiIcon-root, & .MuiCircularProgress-root"]={marginRight:r.spacing(1)},t["& .MuiSvgIcon-root, & .MuiIcon-root"]={fontSize:18},t}),x0e=function(e,t){return typeof e>"u"?t:e},w0e=function(){return Pe.createElement(E0e,{onClick:S0e,className:"skip-nav-button",label:"ra.navigation.skip_nav",variant:"contained"})},_0e="RaSkipNavigationButton",E0e=ne(Ba,{name:_0e,overridesResolver:function(e,t){return t.root}})(function(e){var t=e.theme;return{position:"fixed",padding:t.spacing(1),backgroundColor:t.palette.background.default,color:t.palette.getContrastText(t.palette.background.default),transition:t.transitions.create(["top","opacity"],{easing:t.transitions.easing.easeIn,duration:t.transitions.duration.leavingScreen}),left:t.spacing(2),top:t.spacing(-10),zIndex:5e3,"&:hover":{opacity:.8,backgroundColor:t.palette.background.default},"&:focus":{top:t.spacing(2),transition:t.transitions.create(["top","opacity"],{easing:t.transitions.easing.easeOut,duration:t.transitions.duration.enteringScreen})}}}),S0e=function(){if(!(typeof document>"u")){var e=document.getElementById("main-content");e&&(e.setAttribute("tabIndex","-1"),e.focus(),e.blur(),e.removeAttribute("tabIndex"))}},cx=function(){return cx=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]"u")throw new Error("DatagridRow expects an id prop");var _=EF(),h=ot(),w=yn(e);if(!w)throw new Error("DatagridRow can only be used within a RecordContext or be passed a record prop");var S=At(e);if(!S)throw new Error("DatagridRow can only be used within a ResourceContext or be passed a resource prop");var O=(!_||!_.isRowExpandable||_.isRowExpandable(w))&&i,C=jZ(S,d,_&&_.expandSingle),P=C[0],$=C[1],R=f.useState(function(){return Ek(O,a,u)}),F=R[0],A=R[1];f.useEffect(function(){var G=Ek(O,a,u);G!==F&&A(G)},[O,F,a,u]);var I=vo(),U=f.useCallback(function(G){$(),G.stopPropagation()},[$]),W=f.useCallback(function(G){!b||!p||(p(d,G),G.stopPropagation())},[d,p,b]),T=Kee(),V=f.useCallback(function(G){return U0e(void 0,void 0,void 0,function(){var ae;return V0e(this,function(ie){switch(ie.label){case 0:return G.persist(),[4,T({record:w,resource:S,link:typeof v=="function"?function(ye,be){return v(ye.id,be,ye)}:v})];case 1:return ae=ie.sent(),v==="expand"?(U(G),[2]):v==="toggleSelection"?(W(G),[2]):ae===!1||ae==null?[2]:(I(ae,{state:{_scrollToTop:!0}}),[2])}})})},[w,S,v,I,U,W,T]);return Pe.createElement(Pe.Fragment,null,Pe.createElement(xf,mx({ref:t,className:ce(o,(r={},r[et.expandable]=O,r[et.selectable]=b,r[et.clickableRow]=typeof v=="function"?!0:v,r)),key:d,style:E,hover:c,onClick:V},y),i&&Pe.createElement(en,{padding:"none",className:et.expandIconCell},O&&Pe.createElement(z0e,{className:ce(et.expandIcon,(n={},n[et.expanded]=P,n)),expanded:P,onClick:U,expandContentId:"".concat(d,"-expand")})),u&&Pe.createElement(en,{padding:"checkbox"},Pe.createElement(Fv,{"aria-label":h("ra.action.select_row",{_:"Select this row"}),color:"primary",className:"select-item ".concat(et.checkbox),checked:b&&g,onClick:W,disabled:!b})),Pe.Children.map(a,function(G,ae){return f.isValidElement(G)?Pe.createElement(_F,{key:"".concat(d,"-").concat(G.props.source||ae),className:ce("column-".concat(G.props.source),et.rowCell),record:w,field:G,resource:S}):null})),O&&P&&Pe.createElement(xf,{key:"".concat(d,"-expand"),id:"".concat(d,"-expand"),className:et.expandedPanel},Pe.createElement(en,{colSpan:F},f.isValidElement(i)?i:f.createElement(i))))}),W0e=function(e,t){e.children,e.expand;var r=gx(e,["children","expand"]);t.children,t.expand;var n=gx(t,["children","expand"]);return eM(r,n)},OF=f.memo(SF,W0e);OF.displayName="PureDatagridRow";var em=function(){return em=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=ube&&(o=lbe,i=!1,t=new nbe(t));e:for(;++a0&&y.length>0&&y.every(function(_){return v.includes(_)}),onChange:b,onClick:function(_){return _.stopPropagation()}})),f.Children.map(t,function(_,h){return f.isValidElement(_)?f.createElement(X0e,{className:ce(et.headerCell,"column-".concat(_.props.source)),sort:c,field:_,isSorting:(c==null?void 0:c.field)===(_.props.sortBy||_.props.source),key:_.props.source||h,updateSort:x||void 0}):null})))};$F.displayName="DatagridHeader";var xbe=function(e){var t=e.children,r=e.value;return Pe.createElement(kS.Provider,{value:r},t)},jS={},wbe=bt;Object.defineProperty(jS,"__esModule",{value:!0});var kF=jS.default=void 0,_be=wbe(Pt()),Ebe=N;kF=jS.default=(0,_be.default)((0,Ebe.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");var bx=function(){return bx=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1] element instead.")})},[r]);var c=function(){if(!r)return[];var v=o.getValues();return r.filter(function(m){var g=fr(v,m.props.source);return m.props.alwaysOn||u[m.props.source]||!jF(g)})},d=f.useCallback(function(v){return l(v.currentTarget.dataset.key)},[l]),p=f.useMemo(function(){return{getSource:function(v){return v},getLabel:function(v){return"resources.".concat(a,".fields.").concat(v)}}},[a]);return f.createElement(fA,{value:p},f.createElement(Vbe,Ai({className:t},Bbe(n),{onSubmit:Dbe}),c().map(function(v){return f.createElement(Tbe,{key:v.key||v.props.source,filterElement:v,handleHide:d,resource:a,className:rm.filterFormInput})}),f.createElement("div",{className:rm.clearFix})))},Dbe=function(e){return e.preventDefault(),!1},Bbe=function(e){e.hasCreate,e.resource;var t=IS(e,["hasCreate","resource"]);return t},zbe=function(e,t){return Ai(Ai({},t.filter(function(r){return r.props.alwaysOn&&r.props.defaultValue}).reduce(function(r,n){return c_(Ai({},r),n.props.source,n.props.defaultValue)},{})),e)},Ube=function(e){return e.preventDefault(),e.stopPropagation(),!1},wx="RaFilterForm",rm={clearFix:"".concat(wx,"-clearFix"),filterFormInput:"".concat(wx,"-filterFormInput")},Vbe=ne("form",{name:wx,overridesResolver:function(e,t){return t.root}})(function(e){var t,r=e.theme;return t={display:"flex",flex:"0 1 auto"},t[r.breakpoints.down("sm")]={width:"100%"},t[r.breakpoints.up("sm")]={minHeight:r.spacing(8)},t[r.breakpoints.up("md")]={flex:"0 1 100%"},t.flexWrap="wrap",t.alignItems="flex-end",t.pointerEvents="none",t.padding="0 0 ".concat(r.spacing(.5)," 0"),t["& .MuiFormHelperText-root"]={display:"none"},t["& .".concat(rm.clearFix)]={clear:"right"},t["& .".concat(rm.filterFormInput," .MuiFormControl-root")]={marginTop:"".concat(r.spacing(1))},t}),Wbe=function(e,t){var r;return Object.keys(e).reduce(function(n,a){return n[a]=RF(e,a,t),n},(r=YI(t))!==null&&r!==void 0?r:{})},RF=function(e,t,r){if(e[t]===void 0||e[t]===null)return"";if(Array.isArray(e[t])||e[t]instanceof Date)return fr(r,t,"");if(typeof e[t]=="object"){var n=Object.keys(e[t]).reduce(function(a,o){var i,s=RF(e[t],o,(i=(r||{})[t])!==null&&i!==void 0?i:{});return a[o]=s,a},{});return Object.keys(n).length?n:""}return fr(r,t,"")},jF=function(e){return e===""||e==null?!0:typeof e=="object"?Object.keys(e).every(function(t){return jF(e[t])}):!1},MS={},Hbe=bt;Object.defineProperty(MS,"__esModule",{value:!0});var TF=MS.default=void 0,qbe=Hbe(Pt()),Kbe=N;TF=MS.default=(0,qbe.default)((0,Kbe.jsx)("path",{d:"M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"}),"FilterList");var Gbe=f.forwardRef(function(e,t){var r=e.filter,n=e.onShow,a=e.autoFocus,o=At(e),i=f.useCallback(function(){n({source:r.props.source,defaultValue:r.props.defaultValue})},[r.props.defaultValue,r.props.source,n]);return f.createElement(To,{className:"new-filter-item","data-key":r.props.source,"data-default-value":r.props.defaultValue,key:r.props.source,onClick:i,autoFocus:a,ref:t,disabled:r.props.disabled},f.createElement(lf,{label:r.props.label,source:r.props.source,resource:o}))}),AS=function(e){return xa("".concat(e,".savedQueries"),[])},FS=function(e){return Array.isArray(e)?e.filter(function(t){return Qbe(t)}):[]},Qbe=function(e){var t,r;return!!(e.label&&typeof e.label=="string"&&e.value&&typeof Array.isArray(e.value.displayedFilters)&&typeof e.value.perPage=="number"&&typeof((t=e.value.sort)===null||t===void 0?void 0:t.field)=="string"&&typeof((r=e.value.sort)===null||r===void 0?void 0:r.order)=="string"&&typeof e.value.filter=="object")},Xbe=function(e){var t=e.open,r=e.onClose,n=ot(),a=Na(),o=a.resource,i=a.filterValues,s=a.displayedFilters,u=a.sort,l=a.perPage,c=AS(o),d=c[0],p=c[1],v=f.useState(""),m=v[0],g=v[1],E=function(y){g(y.target.value)},x=function(y){y.preventDefault(),b()},b=function(){var y={label:m,value:{filter:i,sort:u,perPage:l,displayedFilters:s}},_=FS(d);p(_.concat(y)),g(""),r()};return f.createElement(DE,{open:t,onClose:r,"aria-labelledby":"form-dialog-title"},f.createElement(UE,{id:"form-dialog-title"},n("ra.saved_queries.new_dialog_title",{_:"Save current query as"})),f.createElement(zE,null,f.createElement("form",{onSubmit:x},f.createElement(XE,{autoFocus:!0,margin:"dense",id:"name",label:n("ra.saved_queries.query_name",{_:"Query name"}),fullWidth:!0,value:m,onChange:E}))),f.createElement(BE,null,f.createElement(In,{onClick:r},n("ra.action.cancel")),f.createElement(In,{onClick:b,color:"primary"},n("ra.action.save"))))},$k=function(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n must be called inside a ResourceContextProvider, or must provide a resource prop");var c=AS(u||"")[0],d=vo(),p=Na(),v=p.displayedFilters,m=v===void 0?{}:v,g=p.filterValues,E=p.perPage,x=p.setFilters,b=p.showFilter,y=p.sort,_=!so(g,{}),h=FS(c),w=h.some(function(xe){return so(xe.value,{filter:g,sort:y,perPage:E,displayedFilters:m})}),S=f.useState(!1),O=S[0],C=S[1],P=f.useRef();if(s===void 0)throw new Error("The component requires the prop to be set");var $=s.filter(function(xe){return!xe.props.alwaysOn&&!m[xe.props.source]&&typeof fr(g,xe.props.source)>"u"}),R=f.useCallback(function(xe){xe.preventDefault(),C(!0),P.current=xe.currentTarget},[P,C]),F=f.useCallback(function(){C(!1)},[C]),A=f.useCallback(function(xe){var Se=xe.source,Te=xe.defaultValue;b(Se,Te===""?void 0:Te),setTimeout(function(){var $e=document.querySelector("input[name='".concat(Se,"']"));$e&&$e.focus()},50),C(!1)},[b,C]),I=f.useState(!1),U=I[0],W=I[1],T=function(){W(!1)},V=function(){C(!1),W(!0)},G=f.useState(!1),ae=G[0],ie=G[1],ye=function(){ie(!1)},be=function(){C(!1),ie(!0)};return $.length===0&&h.length===0&&!_?null:f.createElement(t1e,_x({className:r},Zbe(i)),f.createElement(Ba,{className:"add-filter",label:"ra.action.add_filter","aria-haspopup":"true",onClick:R,variant:o,size:a},f.createElement(TF,null)),f.createElement(fy,{open:O,anchorEl:P.current,onClose:F},$.map(function(xe,Se){return f.createElement(Gbe,{key:xe.props.source,filter:xe,resource:u,onShow:A,autoFocus:Se===0})}),h.map(function(xe,Se){return so(xe.value,{filter:g,sort:y,perPage:E,displayedFilters:m})?f.createElement(To,{onClick:be,key:Se},l("ra.saved_queries.remove_label_with_name",{_:'Remove query "%{name}"',name:xe.label})):f.createElement(To,{onClick:function(){var Te,$e;d({search:Ys.stringify({filter:JSON.stringify(xe.value.filter),sort:(Te=xe.value.sort)===null||Te===void 0?void 0:Te.field,order:($e=xe.value.sort)===null||$e===void 0?void 0:$e.order,page:1,perPage:xe.value.perPage,displayedFilters:JSON.stringify(xe.value.displayedFilters)})}),C(!1)},key:Se},xe.label)}),_&&!w&&!n&&f.createElement(To,{onClick:V},l("ra.saved_queries.new_label",{_:"Save current query..."})),_&&f.createElement(To,{onClick:function(){x({},{}),C(!1)}},l("ra.action.remove_all_filters",{_:"Remove all filters"}))),!n&&f.createElement(f.Fragment,null,f.createElement(Xbe,{open:U,onClose:T}),f.createElement(Ybe,{open:ae,onClose:ye})))},Zbe=function(e){e.displayedFilters,e.filterValues,e.showFilter;var t=IF(e,["displayedFilters","filterValues","showFilter"]);return t},e1e="RaFilterButton",t1e=ne("div",{name:e1e,overridesResolver:function(e,t){return t.root}})({display:"inline-block"}),r1e=zm,n1e=x_,a1e=1,o1e=2;function i1e(e,t,r,n){var a=r.length,o=a,i=!n;if(e==null)return!o;for(e=Object(e);a--;){var s=r[a];if(i&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++ax-1)throw new Error(g("ra.navigation.page_out_of_boundaries",{page:O+1}));v(O+1)},[x,v,g]),y=f.useCallback(function(S){m(S.target.value)},[m]),_=f.useCallback(function(S){var O=S.from,C=S.to,P=S.count;return P===-1&&l?g("ra.navigation.partial_page_range_info",{offsetBegin:O,offsetEnd:C,_:"%{from}-%{to} of more than %{to}"}):g("ra.navigation.page_range_info",{offsetBegin:O,offsetEnd:C,total:P===-1?C:P,_:"%{from}-%{to} of %{count === -1 ? to : count}"})},[g,l]),h=f.useCallback(function(S){return g("ra.navigation.".concat(S),{_:"Go to ".concat(S," page")})},[g]);if(u)return f.createElement(Pc,{variant:"dense"});if(p===0||c<1||p!=null&&c>x)return o!=null,null;if(E)return f.createElement(pk,nm({count:p??-1,rowsPerPage:d,page:c-1,onPageChange:b,rowsPerPageOptions:exe,component:"span",labelDisplayedRows:_},zu(i)));var w=n||(!u&&p!=null?G1e:void 0);return f.createElement(pk,nm({count:p??-1,rowsPerPage:d,page:c-1,onPageChange:b,onRowsPerPageChange:y,ActionsComponent:w,nextIconButtonProps:{disabled:!l},component:"span",labelRowsPerPage:g("ra.navigation.page_rows_per_page"),labelDisplayedRows:_,getItemAriaLabel:h,rowsPerPageOptions:r},zu(i)))}),Z1e=[5,10,25,50],exe=[],NS={},txe=bt;Object.defineProperty(NS,"__esModule",{value:!0});var Sx=NS.default=void 0,rxe=txe(Pt()),nxe=N;Sx=NS.default=(0,rxe.default)((0,nxe.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");var am=function(){return am=Object.assign||function(e){for(var t,r=1,n=arguments.length;r"u"||!d.message?"ra.auth.sign_in_error":d.message,{type:"error",messageArgs:{_:typeof d=="string"?d:d&&d.message?d.message:void 0}})})};return f.createElement(uxe,{onSubmit:l,mode:"onChange",noValidate:!0,className:r},f.createElement(ly,{className:lu.content},f.createElement(Ns,{autoFocus:!0,source:"username",label:s("ra.auth.username"),autoComplete:"username",validate:P2()}),f.createElement(Ns,{source:"password",label:s("ra.auth.password"),type:"password",autoComplete:"current-password",validate:P2()}),f.createElement(In,{variant:"contained",type:"submit",color:"primary",disabled:a,fullWidth:!0,className:lu.button},a?f.createElement(cy,{className:lu.icon,size:19,thickness:3}):s("ra.auth.sign_in"))))},Eh="RaLoginForm",lu={content:"".concat(Eh,"-content"),button:"".concat(Eh,"-button"),icon:"".concat(Eh,"-icon")},uxe=ne(JM,{name:Eh,overridesResolver:function(e,t){return t.root}})(function(e){var t,r=e.theme;return t={},t["& .".concat(lu.content)]={width:300},t["& .".concat(lu.button)]={marginTop:r.spacing(2)},t["& .".concat(lu.icon)]={margin:r.spacing(.3)},t}),Ox=function(){return Ox=Object.assign||function(e){for(var t,r=1,n=arguments.length;r"u"&&c?Sxe:r;return a?f.createElement(Cxe,kx({className:ce("edit-page",o)},l),u!==!1&&f.createElement($c,{title:u,defaultTitle:v,preferenceKey:"".concat(p,".edit.title")}),g,f.createElement("div",{className:ce(du.main,(t={},t[du.noActions]=!g,t))},f.createElement(s,{className:du.card},m?a:f.createElement(ly,null," ")),n)):null},Ch="RaEdit",du={main:"".concat(Ch,"-main"),noActions:"".concat(Ch,"-noActions"),card:"".concat(Ch,"-card")},Cxe=ne("div",{name:Ch,overridesResolver:function(e,t){return t.root}})((Jc={},Jc["& .".concat(du.main)]={display:"flex",alignItems:"flex-start"},Jc["& .".concat(du.noActions)]={marginTop:"1em"},Jc["& .".concat(du.card)]={flex:"1 1 auto"},Jc)),Rx=function(){return Rx=Object.assign||function(e){for(var t,r=1,n=arguments.length;r"u"&&E?Bxe:r;return!a||!g&&l?null:f.createElement(Uxe,Ix({className:ce("show-page",o)},d),c!==!1&&f.createElement($c,{title:c,defaultTitle:m,preferenceKey:"".concat(v,".show.title")}),x!==!1&&x,f.createElement("div",{className:ce(pu.main,(t={},t[pu.noActions]=!x,t))},f.createElement(s,{className:pu.card},a),n))},$h="RaShow",pu={main:"".concat($h,"-main"),noActions:"".concat($h,"-noActions"),card:"".concat($h,"-card")},Uxe=ne("div",{name:$h,overridesResolver:function(e,t){return t.root}})((Zc={},Zc["& .".concat(pu.main)]={display:"flex"},Zc["& .".concat(pu.noActions)]={marginTop:"1em"},Zc["& .".concat(pu.card)]={flex:"1 1 auto"},Zc)),Mx=function(){return Mx=Object.assign||function(e){for(var t,r=1,n=arguments.length;r *":{color:r.palette.primary.main}},t}),owe=function(e){return e.stopPropagation()},jk=function(e){var t=e.clickable;return f.createElement(Z3,{sx:{cursor:"inherit"},size:"small",label:f.createElement(zJ,null),clickable:t})},Nx=function(){return Nx=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0&&Ik.call(t.callee)==="[object Function]"),n},L0,Mk;function Iwe(){if(Mk)return L0;Mk=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=YF,a=Object.prototype.propertyIsEnumerable,o=!a.call({toString:null},"toString"),i=a.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(p){var v=p.constructor;return v&&v.prototype===p},l={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},c=function(){if(typeof window>"u")return!1;for(var p in window)try{if(!l["$"+p]&&t.call(window,p)&&window[p]!==null&&typeof window[p]=="object")try{u(window[p])}catch{return!0}}catch{return!0}return!1}(),d=function(p){if(typeof window>"u"||!c)return u(p);try{return u(p)}catch{return!1}};e=function(v){var m=v!==null&&typeof v=="object",g=r.call(v)==="[object Function]",E=n(v),x=m&&r.call(v)==="[object String]",b=[];if(!m&&!g&&!E)throw new TypeError("Object.keys called on a non-object");var y=i&&g;if(x&&v.length>0&&!t.call(v,0))for(var _=0;_0)for(var h=0;h"u"||!Lr?ht:Lr(Uint8Array),Bs={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?ht:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?ht:ArrayBuffer,"%ArrayIteratorPrototype%":El&&Lr?Lr([][Symbol.iterator]()):ht,"%AsyncFromSyncIteratorPrototype%":ht,"%AsyncFunction%":kl,"%AsyncGenerator%":kl,"%AsyncGeneratorFunction%":kl,"%AsyncIteratorPrototype%":kl,"%Atomics%":typeof Atomics>"u"?ht:Atomics,"%BigInt%":typeof BigInt>"u"?ht:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?ht:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?ht:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?ht:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a_e,"%eval%":eval,"%EvalError%":o_e,"%Float32Array%":typeof Float32Array>"u"?ht:Float32Array,"%Float64Array%":typeof Float64Array>"u"?ht:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?ht:FinalizationRegistry,"%Function%":e4,"%GeneratorFunction%":kl,"%Int8Array%":typeof Int8Array>"u"?ht:Int8Array,"%Int16Array%":typeof Int16Array>"u"?ht:Int16Array,"%Int32Array%":typeof Int32Array>"u"?ht:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":El&&Lr?Lr(Lr([][Symbol.iterator]())):ht,"%JSON%":typeof JSON=="object"?JSON:ht,"%Map%":typeof Map>"u"?ht:Map,"%MapIteratorPrototype%":typeof Map>"u"||!El||!Lr?ht:Lr(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?ht:Promise,"%Proxy%":typeof Proxy>"u"?ht:Proxy,"%RangeError%":i_e,"%ReferenceError%":s_e,"%Reflect%":typeof Reflect>"u"?ht:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?ht:Set,"%SetIteratorPrototype%":typeof Set>"u"||!El||!Lr?ht:Lr(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?ht:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":El&&Lr?Lr(""[Symbol.iterator]()):ht,"%Symbol%":El?Symbol:ht,"%SyntaxError%":Yu,"%ThrowTypeError%":u_e,"%TypedArray%":d_e,"%TypeError%":vu,"%Uint8Array%":typeof Uint8Array>"u"?ht:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?ht:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?ht:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?ht:Uint32Array,"%URIError%":l_e,"%WeakMap%":typeof WeakMap>"u"?ht:WeakMap,"%WeakRef%":typeof WeakRef>"u"?ht:WeakRef,"%WeakSet%":typeof WeakSet>"u"?ht:WeakSet};if(Lr)try{null.error}catch(e){var f_e=Lr(Lr(e));Bs["%Error.prototype%"]=f_e}var p_e=function e(t){var r;if(t==="%AsyncFunction%")r=D0("async function () {}");else if(t==="%GeneratorFunction%")r=D0("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=D0("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var a=e("%AsyncGenerator%");a&&Lr&&(r=Lr(a.prototype))}return Bs[t]=r,r},Dk={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},np=zS,um=ZF,h_e=np.call(Function.call,Array.prototype.concat),v_e=np.call(Function.apply,Array.prototype.splice),Bk=np.call(Function.call,String.prototype.replace),cm=np.call(Function.call,String.prototype.slice),m_e=np.call(Function.call,RegExp.prototype.exec),g_e=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,y_e=/\\(\\)?/g,b_e=function(t){var r=cm(t,0,1),n=cm(t,-1);if(r==="%"&&n!=="%")throw new Yu("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Yu("invalid intrinsic syntax, expected opening `%`");var a=[];return Bk(t,g_e,function(o,i,s,u){a[a.length]=s?Bk(u,y_e,"$1"):i||o}),a},x_e=function(t,r){var n=t,a;if(um(Dk,n)&&(a=Dk[n],n="%"+a[0]+"%"),um(Bs,n)){var o=Bs[n];if(o===kl&&(o=p_e(n)),typeof o>"u"&&!r)throw new vu("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new Yu("intrinsic "+t+" does not exist!")},ap=function(t,r){if(typeof t!="string"||t.length===0)throw new vu("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new vu('"allowMissing" argument must be a boolean');if(m_e(/^%?[^%]*%?$/,t)===null)throw new Yu("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=b_e(t),a=n.length>0?n[0]:"",o=x_e("%"+a+"%",r),i=o.name,s=o.value,u=!1,l=o.alias;l&&(a=l[0],v_e(n,h_e([0,1],l)));for(var c=1,d=!0;c=n.length){var g=Ds(s,p);d=!!g,d&&"get"in g&&!("originalValue"in g.get)?s=g.get:s=s[p]}else d=um(s,p),s=s[p];d&&!u&&(Bs[i]=s)}}return s},w_e=ap,jh=w_e("%Object.defineProperty%",!0)||!1;if(jh)try{jh({},"a",{value:1})}catch{jh=!1}var US=jh,E_e=ap,Th=E_e("%Object.getOwnPropertyDescriptor%",!0);if(Th)try{Th([],"length")}catch{Th=null}var t4=Th,zk=US,S_e=JF,Sl=rp,Uk=t4,r4=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new Sl("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Sl("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Sl("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Sl("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Sl("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Sl("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,u=!!Uk&&Uk(t,r);if(zk)zk(t,r,{configurable:i===null&&u?u.configurable:!i,enumerable:a===null&&u?u.enumerable:!a,value:n,writable:o===null&&u?u.writable:!o});else if(s||!a&&!o&&!i)t[r]=n;else throw new S_e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},qx=US,n4=function(){return!!qx};n4.hasArrayLengthDefineBug=function(){if(!qx)return null;try{return qx([],"length",{value:1}).length!==1}catch{return!0}};var a4=n4,O_e=Fwe,C_e=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",P_e=Object.prototype.toString,$_e=Array.prototype.concat,Vk=r4,k_e=function(e){return typeof e=="function"&&P_e.call(e)==="[object Function]"},o4=a4(),R_e=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!k_e(n)||!n())return}o4?Vk(e,t,r,!0):Vk(e,t,r)},i4=function(e,t){var r=arguments.length>2?arguments[2]:{},n=O_e(t);C_e&&(n=$_e.call(n,Object.getOwnPropertySymbols(t)));for(var a=0;a4294967295||I_e(r)!==r)throw new qk("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],a=!0,o=!0;if("length"in t&&Hk){var i=Hk(t,"length");i&&!i.configurable&&(a=!1),i&&!i.writable&&(o=!1)}return(a||o||!n)&&(T_e?Wk(t,"length",r,!0,!0):Wk(t,"length",r)),t};(function(e){var t=zS,r=ap,n=M_e,a=rp,o=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||t.call(i,o),u=US,l=r("%Math.max%");e.exports=function(p){if(typeof p!="function")throw new a("a function is required");var v=s(t,i,arguments);return n(v,1+l(0,p.length-(arguments.length-1)),!0)};var c=function(){return s(t,o,arguments)};u?u(e.exports,"apply",{value:c}):e.exports.apply=c})(l4);var u4=l4.exports,A_e=rp,F_e=function(t){if(t==null)throw new A_e(arguments.length>0&&arguments[1]||"Cannot call method on "+t);return t},c4=ap,d4=u4,L_e=d4(c4("String.prototype.indexOf")),N_e=function(t,r){var n=c4(t,!!r);return typeof n=="function"&&L_e(t,".prototype.")>-1?d4(n):n},D_e=F_e,f4=N_e,B_e=f4("Object.prototype.propertyIsEnumerable"),z_e=f4("Array.prototype.push"),p4=function(t){var r=D_e(t),n=[];for(var a in r)B_e(r,a)&&z_e(n,[a,r[a]]);return n},U_e=p4,h4=function(){return typeof Object.entries=="function"?Object.entries:U_e},V_e=h4,W_e=s4,H_e=function(){var t=V_e();return W_e(Object,{entries:t},{entries:function(){return Object.entries!==t}}),t},q_e=s4,K_e=u4,G_e=p4,v4=h4,Q_e=H_e,m4=K_e(v4(),Object);q_e(m4,{getPolyfill:v4,implementation:G_e,shim:Q_e});var X_e=m4,VS=X_e,g4=ZF,Y_e=function(t){},Kx=String.prototype.replace,y4=String.prototype.split,Ih="||||",Wp=function(e){var t=e%100,r=t%10;return t!==11&&r===1?0:2<=r&&r<=4&&!(t>=12&&t<=14)?1:2},b4={pluralTypes:{arabic:function(e){if(e<3)return e;var t=e%100;return t>=3&&t<=10?3:t>=11?4:5},bosnian_serbian:Wp,chinese:function(){return 0},croatian:Wp,french:function(e){return e>=2?1:0},german:function(e){return e!==1?1:0},russian:Wp,lithuanian:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=9&&(e%100<11||e%100>19)?1:2},czech:function(e){return e===1?0:e>=2&&e<=4?1:2},polish:function(e){if(e===1)return 0;var t=e%10;return 2<=t&&t<=4&&(e%100<10||e%100>=20)?1:2},icelandic:function(e){return e%10!==1||e%100===11?1:0},slovenian:function(e){var t=e%100;return t===1?0:t===2?1:t===3||t===4?2:3},romanian:function(e){if(e===1)return 0;var t=e%100;return e===0||t>=2&&t<=19?1:2},ukrainian:Wp},pluralTypeToLanguages:{arabic:["ar"],bosnian_serbian:["bs-Latn-BA","bs-Cyrl-BA","srl-RS","sr-RS"],chinese:["id","id-ID","ja","ko","ko-KR","lo","ms","th","th-TH","zh"],croatian:["hr","hr-HR"],german:["fa","da","de","en","es","fi","el","he","hi-IN","hu","hu-HU","it","nl","no","pt","sv","tr"],french:["fr","tl","pt-br"],russian:["ru","ru-RU"],lithuanian:["lt"],czech:["cs","cs-CZ","sk"],polish:["pl"],icelandic:["is","mk"],slovenian:["sl-SL"],romanian:["ro"],ukrainian:["uk","ua"]}};function J_e(e){for(var t={},r=VS(e),n=0;nt||o&&i&&u&&!s&&!l||n&&i&&u||!r&&u||!a)return 1;if(!n&&!o&&!l&&e=s)return u;var l=r[n];return u*(l=="desc"?-1:1)}}return e.index-t.index}var REe=kEe,z0=u_,jEe=Ff,TEe=LS,IEe=EEe,MEe=OEe,AEe=Lf,FEe=REe,LEe=Hm,NEe=Mn;function DEe(e,t,r){t.length?t=z0(t,function(o){return NEe(o)?function(i){return jEe(i,o.length===1?o[0]:o)}:o}):t=[LEe];var n=-1;t=z0(t,AEe(TEe));var a=IEe(e,function(o,i,s){var u=z0(t,function(l){return l(o)});return{criteria:u,index:++n,value:o}});return MEe(a,function(o,i){return FEe(o,i,r)})}var BEe=DEe,zEe=BEe,Xk=Mn;function UEe(e,t,r,n){return e==null?[]:(Xk(t)||(t=t==null?[]:[t]),r=n?void 0:r,Xk(r)||(r=r==null?[]:[r]),zEe(e,t,r))}var VEe=UEe;const WEe=xr(VEe);var HEe=x4;function qEe(e,t){var r=[];return HEe(e,function(n,a,o){t(n,a,o)&&r.push(n)}),r}var KEe=qEe,GEe=bI,QEe=KEe,XEe=LS,YEe=Mn;function JEe(e,t){var r=YEe(e)?GEe:QEe;return r(e,XEe(t))}var ZEe=JEe;const eSe=xr(ZEe);var tSe=XI,rSe=LS,nSe=1;function aSe(e){return rSe(typeof e=="function"?e:tSe(e,nSe))}var oSe=aSe;const iSe=xr(oSe);function Wo(e){return Array.isArray?Array.isArray(e):E4(e)==="[object Array]"}const sSe=1/0;function lSe(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-sSe?"-0":t}function uSe(e){return e==null?"":lSe(e)}function ao(e){return typeof e=="string"}function w4(e){return typeof e=="number"}function cSe(e){return e===!0||e===!1||dSe(e)&&E4(e)=="[object Boolean]"}function _4(e){return typeof e=="object"}function dSe(e){return _4(e)&&e!==null}function Un(e){return e!=null}function U0(e){return!e.trim().length}function E4(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const fSe="Incorrect 'index' type",pSe=e=>`Invalid value for key ${e}`,hSe=e=>`Pattern length exceeds max of ${e}.`,vSe=e=>`Missing ${e} property in key`,mSe=e=>`Property 'weight' in key '${e}' must be a positive integer`,Yk=Object.prototype.hasOwnProperty;class gSe{constructor(t){this._keys=[],this._keyMap={};let r=0;t.forEach(n=>{let a=S4(n);this._keys.push(a),this._keyMap[a.id]=a,r+=a.weight}),this._keys.forEach(n=>{n.weight/=r})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function S4(e){let t=null,r=null,n=null,a=1,o=null;if(ao(e)||Wo(e))n=e,t=Jk(e),r=Gx(e);else{if(!Yk.call(e,"name"))throw new Error(vSe("name"));const i=e.name;if(n=i,Yk.call(e,"weight")&&(a=e.weight,a<=0))throw new Error(mSe(i));t=Jk(i),r=Gx(i),o=e.getFn}return{path:t,id:r,weight:a,src:n,getFn:o}}function Jk(e){return Wo(e)?e:e.split(".")}function Gx(e){return Wo(e)?e.join("."):e}function ySe(e,t){let r=[],n=!1;const a=(o,i,s)=>{if(Un(o))if(!i[s])r.push(o);else{let u=i[s];const l=o[u];if(!Un(l))return;if(s===i.length-1&&(ao(l)||w4(l)||cSe(l)))r.push(uSe(l));else if(Wo(l)){n=!0;for(let c=0,d=l.length;ce.score===t.score?e.idx{this._keysMap[r.id]=n})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,ao(this.docs[0])?this.docs.forEach((t,r)=>{this._addString(t,r)}):this.docs.forEach((t,r)=>{this._addObject(t,r)}),this.norm.clear())}add(t){const r=this.size();ao(t)?this._addString(t,r):this._addObject(t,r)}removeAt(t){this.records.splice(t,1);for(let r=t,n=this.size();r{let i=a.getFn?a.getFn(t):this.getFn(t,a.path);if(Un(i)){if(Wo(i)){let s=[];const u=[{nestedArrIndex:-1,value:i}];for(;u.length;){const{nestedArrIndex:l,value:c}=u.pop();if(Un(c))if(ao(c)&&!U0(c)){let d={v:c,i:l,n:this.norm.get(c)};s.push(d)}else Wo(c)&&c.forEach((d,p)=>{u.push({nestedArrIndex:p,value:d})})}n.$[o]=s}else if(ao(i)&&!U0(i)){let s={v:i,n:this.norm.get(i)};n.$[o]=s}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function O4(e,t,{getFn:r=st.getFn,fieldNormWeight:n=st.fieldNormWeight}={}){const a=new HS({getFn:r,fieldNormWeight:n});return a.setKeys(e.map(S4)),a.setSources(t),a.create(),a}function OSe(e,{getFn:t=st.getFn,fieldNormWeight:r=st.fieldNormWeight}={}){const{keys:n,records:a}=e,o=new HS({getFn:t,fieldNormWeight:r});return o.setKeys(n),o.setIndexRecords(a),o}function Hp(e,{errors:t=0,currentLocation:r=0,expectedLocation:n=0,distance:a=st.distance,ignoreLocation:o=st.ignoreLocation}={}){const i=t/e.length;if(o)return i;const s=Math.abs(n-r);return a?i+s/a:s?1:i}function CSe(e=[],t=st.minMatchCharLength){let r=[],n=-1,a=-1,o=0;for(let i=e.length;o=t&&r.push([n,a]),n=-1)}return e[o-1]&&o-n>=t&&r.push([n,o-1]),r}const ms=32;function PSe(e,t,r,{location:n=st.location,distance:a=st.distance,threshold:o=st.threshold,findAllMatches:i=st.findAllMatches,minMatchCharLength:s=st.minMatchCharLength,includeMatches:u=st.includeMatches,ignoreLocation:l=st.ignoreLocation}={}){if(t.length>ms)throw new Error(hSe(ms));const c=t.length,d=e.length,p=Math.max(0,Math.min(n,d));let v=o,m=p;const g=s>1||u,E=g?Array(d):[];let x;for(;(x=e.indexOf(t,m))>-1;){let S=Hp(t,{currentLocation:x,expectedLocation:p,distance:a,ignoreLocation:l});if(v=Math.min(S,v),m=x+c,g){let O=0;for(;O=P;A-=1){let I=A-1,U=r[e.charAt(I)];if(g&&(E[I]=+!!U),R[A]=(R[A+1]<<1|1)&U,S&&(R[A]|=(b[A+1]|b[A])<<1|1|b[A+1]),R[A]&h&&(y=Hp(t,{errors:S,currentLocation:I,expectedLocation:p,distance:a,ignoreLocation:l}),y<=v)){if(v=y,m=I,m<=p)break;P=Math.max(1,2*p-m)}}if(Hp(t,{errors:S+1,currentLocation:p,expectedLocation:p,distance:a,ignoreLocation:l})>v)break;b=R}const w={isMatch:m>=0,score:Math.max(.001,y)};if(g){const S=CSe(E,s);S.length?u&&(w.indices=S):w.isMatch=!1}return w}function $Se(e){let t={};for(let r=0,n=e.length;r{this.chunks.push({pattern:p,alphabet:$Se(p),startIndex:v})},d=this.pattern.length;if(d>ms){let p=0;const v=d%ms,m=d-v;for(;p{const{isMatch:x,score:b,indices:y}=PSe(t,m,g,{location:a+E,distance:o,threshold:i,findAllMatches:s,minMatchCharLength:u,includeMatches:n,ignoreLocation:l});x&&(p=!0),d+=b,x&&y&&(c=[...c,...y])});let v={isMatch:p,score:p?d/this.chunks.length:1};return p&&n&&(v.indices=c),v}}class es{constructor(t){this.pattern=t}static isMultiMatch(t){return Zk(t,this.multiRegex)}static isSingleMatch(t){return Zk(t,this.singleRegex)}search(){}}function Zk(e,t){const r=e.match(t);return r?r[1]:null}class kSe extends es{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const r=t===this.pattern;return{isMatch:r,score:r?0:1,indices:[0,this.pattern.length-1]}}}class RSe extends es{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const n=t.indexOf(this.pattern)===-1;return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class jSe extends es{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const r=t.startsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[0,this.pattern.length-1]}}}class TSe extends es{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const r=!t.startsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class ISe extends es{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const r=t.endsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class MSe extends es{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const r=!t.endsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class P4 extends es{constructor(t,{location:r=st.location,threshold:n=st.threshold,distance:a=st.distance,includeMatches:o=st.includeMatches,findAllMatches:i=st.findAllMatches,minMatchCharLength:s=st.minMatchCharLength,isCaseSensitive:u=st.isCaseSensitive,ignoreLocation:l=st.ignoreLocation}={}){super(t),this._bitapSearch=new C4(t,{location:r,threshold:n,distance:a,includeMatches:o,findAllMatches:i,minMatchCharLength:s,isCaseSensitive:u,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class $4 extends es{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let r=0,n;const a=[],o=this.pattern.length;for(;(n=t.indexOf(this.pattern,r))>-1;)r=n+o,a.push([n,r-1]);const i=!!a.length;return{isMatch:i,score:i?0:1,indices:a}}}const Qx=[kSe,$4,jSe,TSe,MSe,ISe,RSe,P4],eR=Qx.length,ASe=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,FSe="|";function LSe(e,t={}){return e.split(FSe).map(r=>{let n=r.trim().split(ASe).filter(o=>o&&!!o.trim()),a=[];for(let o=0,i=n.length;o!!(e[dm.AND]||e[dm.OR]),zSe=e=>!!e[Jx.PATH],USe=e=>!Wo(e)&&_4(e)&&!Zx(e),tR=e=>({[dm.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function k4(e,t,{auto:r=!0}={}){const n=a=>{let o=Object.keys(a);const i=zSe(a);if(!i&&o.length>1&&!Zx(a))return n(tR(a));if(USe(a)){const u=i?a[Jx.PATH]:o[0],l=i?a[Jx.PATTERN]:a[u];if(!ao(l))throw new Error(pSe(u));const c={keyId:Gx(u),pattern:l};return r&&(c.searcher=Yx(l,t)),c}let s={children:[],operator:o[0]};return o.forEach(u=>{const l=a[u];Wo(l)&&l.forEach(c=>{s.children.push(n(c))})}),s};return Zx(e)||(e=tR(e)),n(e)}function VSe(e,{ignoreFieldNorm:t=st.ignoreFieldNorm}){e.forEach(r=>{let n=1;r.matches.forEach(({key:a,norm:o,score:i})=>{const s=a?a.weight:null;n*=Math.pow(i===0&&s?Number.EPSILON:i,(s||1)*(t?1:o))}),r.score=n})}function WSe(e,t){const r=e.matches;t.matches=[],Un(r)&&r.forEach(n=>{if(!Un(n.indices)||!n.indices.length)return;const{indices:a,value:o}=n;let i={indices:a,value:o};n.key&&(i.key=n.key.src),n.idx>-1&&(i.refIndex=n.idx),t.matches.push(i)})}function HSe(e,t){t.score=e.score}function qSe(e,t,{includeMatches:r=st.includeMatches,includeScore:n=st.includeScore}={}){const a=[];return r&&a.push(WSe),n&&a.push(HSe),e.map(o=>{const{idx:i}=o,s={item:t[i],refIndex:i};return a.length&&a.forEach(u=>{u(o,s)}),s})}class kc{constructor(t,r={},n){this.options={...st,...r},this.options.useExtendedSearch,this._keyStore=new gSe(this.options.keys),this.setCollection(t,n)}setCollection(t,r){if(this._docs=t,r&&!(r instanceof HS))throw new Error(fSe);this._myIndex=r||O4(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){Un(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const r=[];for(let n=0,a=this._docs.length;n-1&&(u=u.slice(0,r)),qSe(u,this._docs,{includeMatches:n,includeScore:a})}_searchStringList(t){const r=Yx(t,this.options),{records:n}=this._myIndex,a=[];return n.forEach(({v:o,i,n:s})=>{if(!Un(o))return;const{isMatch:u,score:l,indices:c}=r.searchIn(o);u&&a.push({item:o,idx:i,matches:[{score:l,value:o,norm:s,indices:c}]})}),a}_searchLogical(t){const r=k4(t,this.options),n=(s,u,l)=>{if(!s.children){const{keyId:d,searcher:p}=s,v=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(u,d),searcher:p});return v&&v.length?[{idx:l,item:u,matches:v}]:[]}const c=[];for(let d=0,p=s.children.length;d{if(Un(s)){let l=n(r,s,u);l.length&&(o[u]||(o[u]={idx:u,item:s,matches:[]},i.push(o[u])),l.forEach(({matches:c})=>{o[u].matches.push(...c)}))}}),i}_searchObjectList(t){const r=Yx(t,this.options),{keys:n,records:a}=this._myIndex,o=[];return a.forEach(({$:i,i:s})=>{if(!Un(i))return;let u=[];n.forEach((l,c)=>{u.push(...this._findMatches({key:l,value:i[c],searcher:r}))}),u.length&&o.push({idx:s,item:i,matches:u})}),o}_findMatches({key:t,value:r,searcher:n}){if(!Un(r))return[];let a=[];if(Wo(r))r.forEach(({v:o,i,n:s})=>{if(!Un(o))return;const{isMatch:u,score:l,indices:c}=n.searchIn(o);u&&a.push({score:l,key:t,value:o,idx:i,norm:s,indices:c})});else{const{v:o,n:i}=r,{isMatch:s,score:u,indices:l}=n.searchIn(o);s&&a.push({score:u,key:t,value:o,norm:i,indices:l})}return a}}kc.version="7.0.0";kc.createIndex=O4;kc.parseIndex=OSe;kc.config=st;kc.parseQuery=k4;BSe(DSe);const wo=(e,t={})=>{const r="/api";return t.headers=t.headers||new Headers({Accept:"application/json"}),t.headers.set("X-GripMock-RequestInternal","92b4d5a9-c74b-4ac0-989c-717f80acba22"),WX(`${r}${e}`,t)},KSe=(e,t)=>{const r=new kc(e,{keys:Object.keys(t),includeScore:!0});for(const n of Object.values(t))console.log("$fuse",n,r.search(n));return e},GSe=(e,t)=>{const{fuse:r}=t;return delete t.fuse,Object.keys(t).length>0&&(e=eSe(e,iSe(t))),r!==void 0&&(e=KSe(e,r)),e},V0=(e,t,r)=>{if(t===void 0&&r===void 0)return e;const{field:n,order:a}=r;return WEe(GSe(e,t),[n],[a.toLowerCase()])},QSe={getList:async(e,t)=>{const{page:r,perPage:n}=t.pagination,{field:a,order:o}=t.sort,i={sort:JSON.stringify([a,o]),range:JSON.stringify([(r-1)*n,r*n-1]),filter:JSON.stringify(t.filter)},s=`/${e}?${Ys.stringify(i)}`,{json:u}=await wo(s);return console.log("$list",u,t),{data:V0(u,t.filter,t.sort),total:u.length}},getOne:async(e,t)=>{const{json:r}=await wo(`/${e}/${t.id}`);return{data:r}},getMany:async(e,t)=>{const r={filter:JSON.stringify({ids:t.ids})},n=`/${e}?${Ys.stringify(r)}`,{json:a}=await wo(n);return{data:V0(a,t.filter,t.sort)}},getManyReference:async(e,t)=>{const r=`/${e}/${t.id}/${t.target}`,{json:n}=await wo(r);return{data:V0(n,t.filter,t.sort),total:n.length}},create:async(e,t)=>(await wo(`/${e}`,{method:"POST",body:JSON.stringify(t.data)}),{data:t.data}),update:async(e,t)=>(await wo(`/${e}`,{method:"POST",body:JSON.stringify(t.data)}),{id:t.data.id,data:t.data}),updateMany:async(e,t)=>(await wo(`/${e}`,{method:"POST",body:JSON.stringify(t.data)}),{data:[]}),delete:async(e,t)=>{const r=`/${e}/batchDelete`;return await wo(r,{method:"POST",body:JSON.stringify([t.id])}),{data:[]}},deleteMany:async(e,t)=>{const r=`/${e}/batchDelete`;return await wo(r,{method:"POST",body:JSON.stringify(t.ids)}),{data:[]}}};var R4={exports:{}};(function(e,t){(function(r,n){e.exports=n(f)})(Rl,function(r){return function(n){var a={};function o(i){if(a[i])return a[i].exports;var s=a[i]={i,l:!1,exports:{}};return n[i].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=n,o.c=a,o.d=function(i,s,u){o.o(i,s)||Object.defineProperty(i,s,{enumerable:!0,get:u})},o.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},o.t=function(i,s){if(1&s&&(i=o(i)),8&s||4&s&&typeof i=="object"&&i&&i.__esModule)return i;var u=Object.create(null);if(o.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:i}),2&s&&typeof i!="string")for(var l in i)o.d(u,l,(function(c){return i[c]}).bind(null,l));return u},o.n=function(i){var s=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(s,"a",s),s},o.o=function(i,s){return Object.prototype.hasOwnProperty.call(i,s)},o.p="",o(o.s=48)}([function(n,a){n.exports=r},function(n,a){var o=n.exports={version:"2.6.12"};typeof __e=="number"&&(__e=o)},function(n,a,o){var i=o(26)("wks"),s=o(17),u=o(3).Symbol,l=typeof u=="function";(n.exports=function(c){return i[c]||(i[c]=l&&u[c]||(l?u:s)("Symbol."+c))}).store=i},function(n,a){var o=n.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=o)},function(n,a,o){n.exports=!o(8)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(n,a){var o={}.hasOwnProperty;n.exports=function(i,s){return o.call(i,s)}},function(n,a,o){var i=o(7),s=o(16);n.exports=o(4)?function(u,l,c){return i.f(u,l,s(1,c))}:function(u,l,c){return u[l]=c,u}},function(n,a,o){var i=o(10),s=o(35),u=o(23),l=Object.defineProperty;a.f=o(4)?Object.defineProperty:function(c,d,p){if(i(c),d=u(d,!0),i(p),s)try{return l(c,d,p)}catch{}if("get"in p||"set"in p)throw TypeError("Accessors not supported!");return"value"in p&&(c[d]=p.value),c}},function(n,a){n.exports=function(o){try{return!!o()}catch{return!0}}},function(n,a,o){var i=o(40),s=o(22);n.exports=function(u){return i(s(u))}},function(n,a,o){var i=o(11);n.exports=function(s){if(!i(s))throw TypeError(s+" is not an object!");return s}},function(n,a){n.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},function(n,a){n.exports={}},function(n,a,o){var i=o(39),s=o(27);n.exports=Object.keys||function(u){return i(u,s)}},function(n,a){n.exports=!0},function(n,a,o){var i=o(3),s=o(1),u=o(53),l=o(6),c=o(5),d=function(p,v,m){var g,E,x,b=p&d.F,y=p&d.G,_=p&d.S,h=p&d.P,w=p&d.B,S=p&d.W,O=y?s:s[v]||(s[v]={}),C=O.prototype,P=y?i:_?i[v]:(i[v]||{}).prototype;for(g in y&&(m=v),m)(E=!b&&P&&P[g]!==void 0)&&c(O,g)||(x=E?P[g]:m[g],O[g]=y&&typeof P[g]!="function"?m[g]:w&&E?u(x,i):S&&P[g]==x?function($){var R=function(F,A,I){if(this instanceof $){switch(arguments.length){case 0:return new $;case 1:return new $(F);case 2:return new $(F,A)}return new $(F,A,I)}return $.apply(this,arguments)};return R.prototype=$.prototype,R}(x):h&&typeof x=="function"?u(Function.call,x):x,h&&((O.virtual||(O.virtual={}))[g]=x,p&d.R&&C&&!C[g]&&l(C,g,x)))};d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,n.exports=d},function(n,a){n.exports=function(o,i){return{enumerable:!(1&o),configurable:!(2&o),writable:!(4&o),value:i}}},function(n,a){var o=0,i=Math.random();n.exports=function(s){return"Symbol(".concat(s===void 0?"":s,")_",(++o+i).toString(36))}},function(n,a,o){var i=o(22);n.exports=function(s){return Object(i(s))}},function(n,a){a.f={}.propertyIsEnumerable},function(n,a,o){var i=o(52)(!0);o(34)(String,"String",function(s){this._t=String(s),this._i=0},function(){var s,u=this._t,l=this._i;return l>=u.length?{value:void 0,done:!0}:(s=i(u,l),this._i+=s.length,{value:s,done:!1})})},function(n,a){var o=Math.ceil,i=Math.floor;n.exports=function(s){return isNaN(s=+s)?0:(s>0?i:o)(s)}},function(n,a){n.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},function(n,a,o){var i=o(11);n.exports=function(s,u){if(!i(s))return s;var l,c;if(u&&typeof(l=s.toString)=="function"&&!i(c=l.call(s))||typeof(l=s.valueOf)=="function"&&!i(c=l.call(s))||!u&&typeof(l=s.toString)=="function"&&!i(c=l.call(s)))return c;throw TypeError("Can't convert object to primitive value")}},function(n,a){var o={}.toString;n.exports=function(i){return o.call(i).slice(8,-1)}},function(n,a,o){var i=o(26)("keys"),s=o(17);n.exports=function(u){return i[u]||(i[u]=s(u))}},function(n,a,o){var i=o(1),s=o(3),u=s["__core-js_shared__"]||(s["__core-js_shared__"]={});(n.exports=function(l,c){return u[l]||(u[l]=c!==void 0?c:{})})("versions",[]).push({version:i.version,mode:o(14)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(n,a){n.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(n,a,o){var i=o(7).f,s=o(5),u=o(2)("toStringTag");n.exports=function(l,c,d){l&&!s(l=d?l:l.prototype,u)&&i(l,u,{configurable:!0,value:c})}},function(n,a,o){o(62);for(var i=o(3),s=o(6),u=o(12),l=o(2)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),d=0;ddocument.F=Object<\/script>"),p.close(),d=p.F;m--;)delete d.prototype[u[m]];return d()};n.exports=Object.create||function(p,v){var m;return p!==null?(c.prototype=i(p),m=new c,c.prototype=null,m[l]=p):m=d(),v===void 0?m:s(m,v)}},function(n,a,o){var i=o(5),s=o(9),u=o(57)(!1),l=o(25)("IE_PROTO");n.exports=function(c,d){var p,v=s(c),m=0,g=[];for(p in v)p!=l&&i(v,p)&&g.push(p);for(;d.length>m;)i(v,p=d[m++])&&(~u(g,p)||g.push(p));return g}},function(n,a,o){var i=o(24);n.exports=Object("z").propertyIsEnumerable(0)?Object:function(s){return i(s)=="String"?s.split(""):Object(s)}},function(n,a,o){var i=o(39),s=o(27).concat("length","prototype");a.f=Object.getOwnPropertyNames||function(u){return i(u,s)}},function(n,a,o){var i=o(24),s=o(2)("toStringTag"),u=i(function(){return arguments}())=="Arguments";n.exports=function(l){var c,d,p;return l===void 0?"Undefined":l===null?"Null":typeof(d=function(v,m){try{return v[m]}catch{}}(c=Object(l),s))=="string"?d:u?i(c):(p=i(c))=="Object"&&typeof c.callee=="function"?"Arguments":p}},function(n,a){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}n.exports=o},function(n,a){var o=/-?\d+(\.\d+)?%?/g;n.exports=function(i){return i.match(o)}},function(n,a,o){Object.defineProperty(a,"__esModule",{value:!0}),a.getBase16Theme=a.createStyling=a.invertTheme=void 0;var i=E(o(49)),s=E(o(76)),u=E(o(81)),l=E(o(89)),c=E(o(93)),d=function(C){if(C&&C.__esModule)return C;var P={};if(C!=null)for(var $ in C)Object.prototype.hasOwnProperty.call(C,$)&&(P[$]=C[$]);return P.default=C,P}(o(94)),p=E(o(132)),v=E(o(133)),m=E(o(138)),g=o(139);function E(C){return C&&C.__esModule?C:{default:C}}var x=d.default,b=(0,l.default)(x),y=(0,m.default)(v.default,g.rgb2yuv,function(C){var P,$=(0,u.default)(C,3),R=$[0],F=$[1],A=$[2];return[(P=R,P<.25?1:P<.5?.9-P:1.1-P),F,A]},g.yuv2rgb,p.default),_=function(C){return function(P){return{className:[P.className,C.className].filter(Boolean).join(" "),style:(0,s.default)({},P.style||{},C.style||{})}}},h=function(C,P){var $=(0,l.default)(P);for(var R in C)$.indexOf(R)===-1&&$.push(R);return $.reduce(function(F,A){return F[A]=function(I,U){if(I===void 0)return U;if(U===void 0)return I;var W=I===void 0?"undefined":(0,i.default)(I),T=U===void 0?"undefined":(0,i.default)(U);switch(W){case"string":switch(T){case"string":return[U,I].filter(Boolean).join(" ");case"object":return _({className:I,style:U});case"function":return function(V){for(var G=arguments.length,ae=Array(G>1?G-1:0),ie=1;ie1?G-1:0),ie=1;ie1?G-1:0),ie=1;ie1?G-1:0),ie=1;ie1?G-1:0),ie=1;ie2?$-2:0),F=2;F<$;F++)R[F-2]=arguments[F];if(P===null)return C;Array.isArray(P)||(P=[P]);var A=P.map(function(U){return C[U]}).filter(Boolean),I=A.reduce(function(U,W){return typeof W=="string"?U.className=[U.className,W].filter(Boolean).join(" "):(W===void 0?"undefined":(0,i.default)(W))==="object"?U.style=(0,s.default)({},U.style,W):typeof W=="function"&&(U=(0,s.default)({},U,W.apply(void 0,[U].concat(R)))),U},{className:"",style:{}});return I.className||delete I.className,(0,l.default)(I.style).length===0&&delete I.style,I},S=a.invertTheme=function(C){return(0,l.default)(C).reduce(function(P,$){return P[$]=/^base/.test($)?y(C[$]):$==="scheme"?C[$]+":inverted":C[$],P},{})},O=(a.createStyling=(0,c.default)(function(C){for(var P=arguments.length,$=Array(P>3?P-3:0),R=3;R1&&arguments[1]!==void 0?arguments[1]:{},A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},I=F.defaultBase16,U=I===void 0?x:I,W=F.base16Themes,T=W===void 0?null:W,V=O(A,T);V&&(A=(0,s.default)({},V,A));var G=b.reduce(function(be,xe){return be[xe]=A[xe]||U[xe],be},{}),ae=(0,l.default)(A).reduce(function(be,xe){return b.indexOf(xe)===-1&&(be[xe]=A[xe]),be},{}),ie=C(G),ye=h(ae,ie);return(0,c.default)(w,2).apply(void 0,[ye].concat($))},3),a.getBase16Theme=function(C,P){if(C&&C.extend&&(C=C.extend),typeof C=="string"){var $=C.split(":"),R=(0,u.default)($,2),F=R[0],A=R[1];C=(P||{})[F]||d[F],A==="inverted"&&(C=S(C))}return C&&C.hasOwnProperty("base00")?C:void 0})},function(n,a,o){var i,s=typeof Reflect=="object"?Reflect:null,u=s&&typeof s.apply=="function"?s.apply:function(h,w,S){return Function.prototype.apply.call(h,w,S)};i=s&&typeof s.ownKeys=="function"?s.ownKeys:Object.getOwnPropertySymbols?function(h){return Object.getOwnPropertyNames(h).concat(Object.getOwnPropertySymbols(h))}:function(h){return Object.getOwnPropertyNames(h)};var l=Number.isNaN||function(h){return h!=h};function c(){c.init.call(this)}n.exports=c,n.exports.once=function(h,w){return new Promise(function(S,O){function C($){h.removeListener(w,P),O($)}function P(){typeof h.removeListener=="function"&&h.removeListener("error",C),S([].slice.call(arguments))}_(h,w,P,{once:!0}),w!=="error"&&function($,R,F){typeof $.on=="function"&&_($,"error",R,F)}(h,C,{once:!0})})},c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var d=10;function p(h){if(typeof h!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof h)}function v(h){return h._maxListeners===void 0?c.defaultMaxListeners:h._maxListeners}function m(h,w,S,O){var C,P,$,R;if(p(S),(P=h._events)===void 0?(P=h._events=Object.create(null),h._eventsCount=0):(P.newListener!==void 0&&(h.emit("newListener",w,S.listener?S.listener:S),P=h._events),$=P[w]),$===void 0)$=P[w]=S,++h._eventsCount;else if(typeof $=="function"?$=P[w]=O?[S,$]:[$,S]:O?$.unshift(S):$.push(S),(C=v(h))>0&&$.length>C&&!$.warned){$.warned=!0;var F=new Error("Possible EventEmitter memory leak detected. "+$.length+" "+String(w)+" listeners added. Use emitter.setMaxListeners() to increase limit");F.name="MaxListenersExceededWarning",F.emitter=h,F.type=w,F.count=$.length,R=F,console&&console.warn&&console.warn(R)}return h}function g(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function E(h,w,S){var O={fired:!1,wrapFn:void 0,target:h,type:w,listener:S},C=g.bind(O);return C.listener=S,O.wrapFn=C,C}function x(h,w,S){var O=h._events;if(O===void 0)return[];var C=O[w];return C===void 0?[]:typeof C=="function"?S?[C.listener||C]:[C]:S?function(P){for(var $=new Array(P.length),R=0;R<$.length;++R)$[R]=P[R].listener||P[R];return $}(C):y(C,C.length)}function b(h){var w=this._events;if(w!==void 0){var S=w[h];if(typeof S=="function")return 1;if(S!==void 0)return S.length}return 0}function y(h,w){for(var S=new Array(w),O=0;O0&&(P=w[0]),P instanceof Error)throw P;var $=new Error("Unhandled error."+(P?" ("+P.message+")":""));throw $.context=P,$}var R=C[h];if(R===void 0)return!1;if(typeof R=="function")u(R,this,w);else{var F=R.length,A=y(R,F);for(S=0;S=0;P--)if(S[P]===w||S[P].listener===w){$=S[P].listener,C=P;break}if(C<0)return this;C===0?S.shift():function(R,F){for(;F+1=0;O--)this.removeListener(h,w[O]);return this},c.prototype.listeners=function(h){return x(this,h,!0)},c.prototype.rawListeners=function(h){return x(this,h,!1)},c.listenerCount=function(h,w){return typeof h.listenerCount=="function"?h.listenerCount(w):b.call(h,w)},c.prototype.listenerCount=b,c.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},function(n,a,o){n.exports.Dispatcher=o(140)},function(n,a,o){n.exports=o(142)},function(n,a,o){a.__esModule=!0;var i=l(o(50)),s=l(o(65)),u=typeof s.default=="function"&&typeof i.default=="symbol"?function(c){return typeof c}:function(c){return c&&typeof s.default=="function"&&c.constructor===s.default&&c!==s.default.prototype?"symbol":typeof c};function l(c){return c&&c.__esModule?c:{default:c}}a.default=typeof s.default=="function"&&u(i.default)==="symbol"?function(c){return c===void 0?"undefined":u(c)}:function(c){return c&&typeof s.default=="function"&&c.constructor===s.default&&c!==s.default.prototype?"symbol":c===void 0?"undefined":u(c)}},function(n,a,o){n.exports={default:o(51),__esModule:!0}},function(n,a,o){o(20),o(29),n.exports=o(30).f("iterator")},function(n,a,o){var i=o(21),s=o(22);n.exports=function(u){return function(l,c){var d,p,v=String(s(l)),m=i(c),g=v.length;return m<0||m>=g?u?"":void 0:(d=v.charCodeAt(m))<55296||d>56319||m+1===g||(p=v.charCodeAt(m+1))<56320||p>57343?u?v.charAt(m):d:u?v.slice(m,m+2):p-56320+(d-55296<<10)+65536}}},function(n,a,o){var i=o(54);n.exports=function(s,u,l){if(i(s),u===void 0)return s;switch(l){case 1:return function(c){return s.call(u,c)};case 2:return function(c,d){return s.call(u,c,d)};case 3:return function(c,d,p){return s.call(u,c,d,p)}}return function(){return s.apply(u,arguments)}}},function(n,a){n.exports=function(o){if(typeof o!="function")throw TypeError(o+" is not a function!");return o}},function(n,a,o){var i=o(38),s=o(16),u=o(28),l={};o(6)(l,o(2)("iterator"),function(){return this}),n.exports=function(c,d,p){c.prototype=i(l,{next:s(1,p)}),u(c,d+" Iterator")}},function(n,a,o){var i=o(7),s=o(10),u=o(13);n.exports=o(4)?Object.defineProperties:function(l,c){s(l);for(var d,p=u(c),v=p.length,m=0;v>m;)i.f(l,d=p[m++],c[d]);return l}},function(n,a,o){var i=o(9),s=o(58),u=o(59);n.exports=function(l){return function(c,d,p){var v,m=i(c),g=s(m.length),E=u(p,g);if(l&&d!=d){for(;g>E;)if((v=m[E++])!=v)return!0}else for(;g>E;E++)if((l||E in m)&&m[E]===d)return l||E||0;return!l&&-1}}},function(n,a,o){var i=o(21),s=Math.min;n.exports=function(u){return u>0?s(i(u),9007199254740991):0}},function(n,a,o){var i=o(21),s=Math.max,u=Math.min;n.exports=function(l,c){return(l=i(l))<0?s(l+c,0):u(l,c)}},function(n,a,o){var i=o(3).document;n.exports=i&&i.documentElement},function(n,a,o){var i=o(5),s=o(18),u=o(25)("IE_PROTO"),l=Object.prototype;n.exports=Object.getPrototypeOf||function(c){return c=s(c),i(c,u)?c[u]:typeof c.constructor=="function"&&c instanceof c.constructor?c.constructor.prototype:c instanceof Object?l:null}},function(n,a,o){var i=o(63),s=o(64),u=o(12),l=o(9);n.exports=o(34)(Array,"Array",function(c,d){this._t=l(c),this._i=0,this._k=d},function(){var c=this._t,d=this._k,p=this._i++;return!c||p>=c.length?(this._t=void 0,s(1)):s(0,d=="keys"?p:d=="values"?c[p]:[p,c[p]])},"values"),u.Arguments=u.Array,i("keys"),i("values"),i("entries")},function(n,a){n.exports=function(){}},function(n,a){n.exports=function(o,i){return{value:i,done:!!o}}},function(n,a,o){n.exports={default:o(66),__esModule:!0}},function(n,a,o){o(67),o(73),o(74),o(75),n.exports=o(1).Symbol},function(n,a,o){var i=o(3),s=o(5),u=o(4),l=o(15),c=o(37),d=o(68).KEY,p=o(8),v=o(26),m=o(28),g=o(17),E=o(2),x=o(30),b=o(31),y=o(69),_=o(70),h=o(10),w=o(11),S=o(18),O=o(9),C=o(23),P=o(16),$=o(38),R=o(71),F=o(72),A=o(32),I=o(7),U=o(13),W=F.f,T=I.f,V=R.f,G=i.Symbol,ae=i.JSON,ie=ae&&ae.stringify,ye=E("_hidden"),be=E("toPrimitive"),xe={}.propertyIsEnumerable,Se=v("symbol-registry"),Te=v("symbols"),$e=v("op-symbols"),_e=Object.prototype,Ve=typeof G=="function"&&!!A.f,Ie=i.QObject,De=!Ie||!Ie.prototype||!Ie.prototype.findChild,Le=u&&p(function(){return $(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a!=7})?function(Q,re,le){var Me=W(_e,re);Me&&delete _e[re],T(Q,re,le),Me&&Q!==_e&&T(_e,re,Me)}:T,We=function(Q){var re=Te[Q]=$(G.prototype);return re._k=Q,re},tt=Ve&&typeof G.iterator=="symbol"?function(Q){return typeof Q=="symbol"}:function(Q){return Q instanceof G},dt=function(Q,re,le){return Q===_e&&dt($e,re,le),h(Q),re=C(re,!0),h(le),s(Te,re)?(le.enumerable?(s(Q,ye)&&Q[ye][re]&&(Q[ye][re]=!1),le=$(le,{enumerable:P(0,!1)})):(s(Q,ye)||T(Q,ye,P(1,{})),Q[ye][re]=!0),Le(Q,re,le)):T(Q,re,le)},yt=function(Q,re){h(Q);for(var le,Me=y(re=O(re)),Qe=0,Be=Me.length;Be>Qe;)dt(Q,le=Me[Qe++],re[le]);return Q},z=function(Q){var re=xe.call(this,Q=C(Q,!0));return!(this===_e&&s(Te,Q)&&!s($e,Q))&&(!(re||!s(this,Q)||!s(Te,Q)||s(this,ye)&&this[ye][Q])||re)},Y=function(Q,re){if(Q=O(Q),re=C(re,!0),Q!==_e||!s(Te,re)||s($e,re)){var le=W(Q,re);return!le||!s(Te,re)||s(Q,ye)&&Q[ye][re]||(le.enumerable=!0),le}},te=function(Q){for(var re,le=V(O(Q)),Me=[],Qe=0;le.length>Qe;)s(Te,re=le[Qe++])||re==ye||re==d||Me.push(re);return Me},ue=function(Q){for(var re,le=Q===_e,Me=V(le?$e:O(Q)),Qe=[],Be=0;Me.length>Be;)!s(Te,re=Me[Be++])||le&&!s(_e,re)||Qe.push(Te[re]);return Qe};Ve||(c((G=function(){if(this instanceof G)throw TypeError("Symbol is not a constructor!");var Q=g(arguments.length>0?arguments[0]:void 0),re=function(le){this===_e&&re.call($e,le),s(this,ye)&&s(this[ye],Q)&&(this[ye][Q]=!1),Le(this,Q,P(1,le))};return u&&De&&Le(_e,Q,{configurable:!0,set:re}),We(Q)}).prototype,"toString",function(){return this._k}),F.f=Y,I.f=dt,o(41).f=R.f=te,o(19).f=z,A.f=ue,u&&!o(14)&&c(_e,"propertyIsEnumerable",z,!0),x.f=function(Q){return We(E(Q))}),l(l.G+l.W+l.F*!Ve,{Symbol:G});for(var me="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),he=0;me.length>he;)E(me[he++]);for(var ve=U(E.store),ee=0;ve.length>ee;)b(ve[ee++]);l(l.S+l.F*!Ve,"Symbol",{for:function(Q){return s(Se,Q+="")?Se[Q]:Se[Q]=G(Q)},keyFor:function(Q){if(!tt(Q))throw TypeError(Q+" is not a symbol!");for(var re in Se)if(Se[re]===Q)return re},useSetter:function(){De=!0},useSimple:function(){De=!1}}),l(l.S+l.F*!Ve,"Object",{create:function(Q,re){return re===void 0?$(Q):yt($(Q),re)},defineProperty:dt,defineProperties:yt,getOwnPropertyDescriptor:Y,getOwnPropertyNames:te,getOwnPropertySymbols:ue});var K=p(function(){A.f(1)});l(l.S+l.F*K,"Object",{getOwnPropertySymbols:function(Q){return A.f(S(Q))}}),ae&&l(l.S+l.F*(!Ve||p(function(){var Q=G();return ie([Q])!="[null]"||ie({a:Q})!="{}"||ie(Object(Q))!="{}"})),"JSON",{stringify:function(Q){for(var re,le,Me=[Q],Qe=1;arguments.length>Qe;)Me.push(arguments[Qe++]);if(le=re=Me[1],(w(re)||Q!==void 0)&&!tt(Q))return _(re)||(re=function(Be,Oe){if(typeof le=="function"&&(Oe=le.call(this,Be,Oe)),!tt(Oe))return Oe}),Me[1]=re,ie.apply(ae,Me)}}),G.prototype[be]||o(6)(G.prototype,be,G.prototype.valueOf),m(G,"Symbol"),m(Math,"Math",!0),m(i.JSON,"JSON",!0)},function(n,a,o){var i=o(17)("meta"),s=o(11),u=o(5),l=o(7).f,c=0,d=Object.isExtensible||function(){return!0},p=!o(8)(function(){return d(Object.preventExtensions({}))}),v=function(g){l(g,i,{value:{i:"O"+ ++c,w:{}}})},m=n.exports={KEY:i,NEED:!1,fastKey:function(g,E){if(!s(g))return typeof g=="symbol"?g:(typeof g=="string"?"S":"P")+g;if(!u(g,i)){if(!d(g))return"F";if(!E)return"E";v(g)}return g[i].i},getWeak:function(g,E){if(!u(g,i)){if(!d(g))return!0;if(!E)return!1;v(g)}return g[i].w},onFreeze:function(g){return p&&m.NEED&&d(g)&&!u(g,i)&&v(g),g}}},function(n,a,o){var i=o(13),s=o(32),u=o(19);n.exports=function(l){var c=i(l),d=s.f;if(d)for(var p,v=d(l),m=u.f,g=0;v.length>g;)m.call(l,p=v[g++])&&c.push(p);return c}},function(n,a,o){var i=o(24);n.exports=Array.isArray||function(s){return i(s)=="Array"}},function(n,a,o){var i=o(9),s=o(41).f,u={}.toString,l=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];n.exports.f=function(c){return l&&u.call(c)=="[object Window]"?function(d){try{return s(d)}catch{return l.slice()}}(c):s(i(c))}},function(n,a,o){var i=o(19),s=o(16),u=o(9),l=o(23),c=o(5),d=o(35),p=Object.getOwnPropertyDescriptor;a.f=o(4)?p:function(v,m){if(v=u(v),m=l(m,!0),d)try{return p(v,m)}catch{}if(c(v,m))return s(!i.f.call(v,m),v[m])}},function(n,a){},function(n,a,o){o(31)("asyncIterator")},function(n,a,o){o(31)("observable")},function(n,a,o){a.__esModule=!0;var i,s=o(77),u=(i=s)&&i.__esModule?i:{default:i};a.default=u.default||function(l){for(var c=1;cx;)for(var _,h=d(arguments[x++]),w=b?s(h).concat(b(h)):s(h),S=w.length,O=0;S>O;)_=w[O++],i&&!y.call(h,_)||(g[_]=h[_]);return g}:p},function(n,a,o){a.__esModule=!0;var i=u(o(82)),s=u(o(85));function u(l){return l&&l.__esModule?l:{default:l}}a.default=function(l,c){if(Array.isArray(l))return l;if((0,i.default)(Object(l)))return function(d,p){var v=[],m=!0,g=!1,E=void 0;try{for(var x,b=(0,s.default)(d);!(m=(x=b.next()).done)&&(v.push(x.value),!p||v.length!==p);m=!0);}catch(y){g=!0,E=y}finally{try{!m&&b.return&&b.return()}finally{if(g)throw E}}return v}(l,c);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(n,a,o){n.exports={default:o(83),__esModule:!0}},function(n,a,o){o(29),o(20),n.exports=o(84)},function(n,a,o){var i=o(42),s=o(2)("iterator"),u=o(12);n.exports=o(1).isIterable=function(l){var c=Object(l);return c[s]!==void 0||"@@iterator"in c||u.hasOwnProperty(i(c))}},function(n,a,o){n.exports={default:o(86),__esModule:!0}},function(n,a,o){o(29),o(20),n.exports=o(87)},function(n,a,o){var i=o(10),s=o(88);n.exports=o(1).getIterator=function(u){var l=s(u);if(typeof l!="function")throw TypeError(u+" is not iterable!");return i(l.call(u))}},function(n,a,o){var i=o(42),s=o(2)("iterator"),u=o(12);n.exports=o(1).getIteratorMethod=function(l){if(l!=null)return l[s]||l["@@iterator"]||u[i(l)]}},function(n,a,o){n.exports={default:o(90),__esModule:!0}},function(n,a,o){o(91),n.exports=o(1).Object.keys},function(n,a,o){var i=o(18),s=o(13);o(92)("keys",function(){return function(u){return s(i(u))}})},function(n,a,o){var i=o(15),s=o(1),u=o(8);n.exports=function(l,c){var d=(s.Object||{})[l]||Object[l],p={};p[l]=c(d),i(i.S+i.F*u(function(){d(1)}),"Object",p)}},function(n,a,o){(function(i){var s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],u=/^\s+|\s+$/g,l=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,c=/\{\n\/\* \[wrapped with (.+)\] \*/,d=/,? & /,p=/^[-+]0x[0-9a-f]+$/i,v=/^0b[01]+$/i,m=/^\[object .+?Constructor\]$/,g=/^0o[0-7]+$/i,E=/^(?:0|[1-9]\d*)$/,x=parseInt,b=typeof i=="object"&&i&&i.Object===Object&&i,y=typeof self=="object"&&self&&self.Object===Object&&self,_=b||y||Function("return this")();function h(ee,K,Q){switch(Q.length){case 0:return ee.call(K);case 1:return ee.call(K,Q[0]);case 2:return ee.call(K,Q[0],Q[1]);case 3:return ee.call(K,Q[0],Q[1],Q[2])}return ee.apply(K,Q)}function w(ee,K){return!!(ee&&ee.length)&&function(Q,re,le){if(re!=re)return function(Be,Oe,Je,nt){for(var Et=Be.length,It=Je+-1;++It-1}function S(ee){return ee!=ee}function O(ee,K){for(var Q=ee.length,re=0;Q--;)ee[Q]===K&&re++;return re}function C(ee,K){for(var Q=-1,re=ee.length,le=0,Me=[];++Q2?$:void 0);function xe(ee){return me(ee)?ae(ee):{}}function Se(ee){return!(!me(ee)||function(K){return!!U&&U in K}(ee))&&(function(K){var Q=me(K)?V.call(K):"";return Q=="[object Function]"||Q=="[object GeneratorFunction]"}(ee)||function(K){var Q=!1;if(K!=null&&typeof K.toString!="function")try{Q=!!(K+"")}catch{}return Q}(ee)?G:m).test(function(K){if(K!=null){try{return W.call(K)}catch{}try{return K+""}catch{}}return""}(ee))}function Te(ee,K,Q,re){for(var le=-1,Me=ee.length,Qe=Q.length,Be=-1,Oe=K.length,Je=ie(Me-Qe,0),nt=Array(Oe+Je),Et=!re;++Be1&&$t.reverse(),nt&&Oe1?"& ":"")+K[re],K=K.join(Q>2?", ":" "),ee.replace(l,`{ -/* [wrapped with `+K+`] */ -`)}function yt(ee,K){return!!(K=K??9007199254740991)&&(typeof ee=="number"||E.test(ee))&&ee>-1&&ee%1==0&&ee1&&u--,c=6*u<1?i+6*(s-i)*u:2*u<1?s:3*u<2?i+(s-i)*(2/3-u)*6:i,l[m]=255*c;return l}},function(n,a,o){(function(i){var s=typeof i=="object"&&i&&i.Object===Object&&i,u=typeof self=="object"&&self&&self.Object===Object&&self,l=s||u||Function("return this")();function c(C,P,$){switch($.length){case 0:return C.call(P);case 1:return C.call(P,$[0]);case 2:return C.call(P,$[0],$[1]);case 3:return C.call(P,$[0],$[1],$[2])}return C.apply(P,$)}function d(C,P){for(var $=-1,R=P.length,F=C.length;++$-1&&F%1==0&&F<=9007199254740991}(R.length)&&!function(F){var A=function(I){var U=typeof I;return!!I&&(U=="object"||U=="function")}(F)?m.call(F):"";return A=="[object Function]"||A=="[object GeneratorFunction]"}(R)}($)}(P)&&v.call(P,"callee")&&(!E.call(P,"callee")||m.call(P)=="[object Arguments]")}(C)||!!(x&&C&&C[x])}var _=Array.isArray,h,w,S,O=(w=function(C){var P=(C=function(F,A,I,U,W){var T=-1,V=F.length;for(I||(I=y),W||(W=[]);++T2?u-2:0),c=2;c"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var j,M=E(D);if(B){var L=E(this).constructor;j=Reflect.construct(M,arguments,L)}else j=M.apply(this,arguments);return b(this,j)}}o.r(a);var _=o(0),h=o.n(_);function w(){var D=this.constructor.getDerivedStateFromProps(this.props,this.state);D!=null&&this.setState(D)}function S(D){this.setState((function(B){var j=this.constructor.getDerivedStateFromProps(D,B);return j??null}).bind(this))}function O(D,B){try{var j=this.props,M=this.state;this.props=D,this.state=B,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(j,M)}finally{this.props=j,this.state=M}}function C(D){var B=D.prototype;if(!B||!B.isReactComponent)throw new Error("Can only polyfill class components");if(typeof D.getDerivedStateFromProps!="function"&&typeof B.getSnapshotBeforeUpdate!="function")return D;var j=null,M=null,L=null;if(typeof B.componentWillMount=="function"?j="componentWillMount":typeof B.UNSAFE_componentWillMount=="function"&&(j="UNSAFE_componentWillMount"),typeof B.componentWillReceiveProps=="function"?M="componentWillReceiveProps":typeof B.UNSAFE_componentWillReceiveProps=="function"&&(M="UNSAFE_componentWillReceiveProps"),typeof B.componentWillUpdate=="function"?L="componentWillUpdate":typeof B.UNSAFE_componentWillUpdate=="function"&&(L="UNSAFE_componentWillUpdate"),j!==null||M!==null||L!==null){var J=D.displayName||D.name,se=typeof D.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs. - -`+J+" uses "+se+" but also contains the following legacy lifecycles:"+(j!==null?` - `+j:"")+(M!==null?` - `+M:"")+(L!==null?` - `+L:"")+` - -The above lifecycles should be removed. Learn more about this warning here: -https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof D.getDerivedStateFromProps=="function"&&(B.componentWillMount=w,B.componentWillReceiveProps=S),typeof B.getSnapshotBeforeUpdate=="function"){if(typeof B.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");B.componentWillUpdate=O;var de=B.componentDidUpdate;B.componentDidUpdate=function(Z,we,Ae){var rt=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:Ae;de.call(this,Z,we,rt)}}return D}function P(D,B){if(D==null)return{};var j,M,L={},J=Object.keys(D);for(M=0;M=0||(L[j]=D[j]);return L}function $(D,B){if(D==null)return{};var j,M,L=P(D,B);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(D);for(M=0;M=0||Object.prototype.propertyIsEnumerable.call(D,j)&&(L[j]=D[j])}return L}function R(D){var B=function(j){return{}.toString.call(j).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}(D);return B==="number"&&(B=isNaN(D)?"nan":(0|D)!=D?"float":"integer"),B}w.__suppressDeprecationWarning=!0,S.__suppressDeprecationWarning=!0,O.__suppressDeprecationWarning=!0;var F={scheme:"rjv-default",author:"mac gainor",base00:"rgba(0, 0, 0, 0)",base01:"rgb(245, 245, 245)",base02:"rgb(235, 235, 235)",base03:"#93a1a1",base04:"rgba(0, 0, 0, 0.3)",base05:"#586e75",base06:"#073642",base07:"#002b36",base08:"#d33682",base09:"#cb4b16",base0A:"#dc322f",base0B:"#859900",base0C:"#6c71c4",base0D:"#586e75",base0E:"#2aa198",base0F:"#268bd2"},A={scheme:"rjv-grey",author:"mac gainor",base00:"rgba(1, 1, 1, 0)",base01:"rgba(1, 1, 1, 0.1)",base02:"rgba(0, 0, 0, 0.2)",base03:"rgba(1, 1, 1, 0.3)",base04:"rgba(0, 0, 0, 0.4)",base05:"rgba(1, 1, 1, 0.5)",base06:"rgba(1, 1, 1, 0.6)",base07:"rgba(1, 1, 1, 0.7)",base08:"rgba(1, 1, 1, 0.8)",base09:"rgba(1, 1, 1, 0.8)",base0A:"rgba(1, 1, 1, 0.8)",base0B:"rgba(1, 1, 1, 0.8)",base0C:"rgba(1, 1, 1, 0.8)",base0D:"rgba(1, 1, 1, 0.8)",base0E:"rgba(1, 1, 1, 0.8)",base0F:"rgba(1, 1, 1, 0.8)"},I={white:"#fff",black:"#000",transparent:"rgba(1, 1, 1, 0)",globalFontFamily:"monospace",globalCursor:"default",indentBlockWidth:"5px",braceFontWeight:"bold",braceCursor:"pointer",ellipsisFontSize:"18px",ellipsisLineHeight:"10px",ellipsisCursor:"pointer",keyMargin:"0px 5px",keyLetterSpacing:"0.5px",keyFontStyle:"none",keyBorderRadius:"3px",keyColonWeight:"bold",keyVerticalAlign:"top",keyOpacity:"0.85",keyOpacityHover:"1",keyValPaddingTop:"3px",keyValPaddingBottom:"3px",keyValPaddingRight:"5px",keyValBorderLeft:"1px solid",keyValBorderHover:"2px solid",keyValPaddingHover:"3px 5px 3px 4px",pushedContentMarginLeft:"6px",variableValuePaddingRight:"6px",nullFontSize:"11px",nullFontWeight:"bold",nullPadding:"1px 2px",nullBorderRadius:"3px",nanFontSize:"11px",nanFontWeight:"bold",nanPadding:"1px 2px",nanBorderRadius:"3px",undefinedFontSize:"11px",undefinedFontWeight:"bold",undefinedPadding:"1px 2px",undefinedBorderRadius:"3px",dataTypeFontSize:"11px",dataTypeMarginRight:"4px",datatypeOpacity:"0.8",objectSizeBorderRadius:"3px",objectSizeFontStyle:"italic",objectSizeMargin:"0px 6px 0px 0px",clipboardCursor:"pointer",clipboardCheckMarginLeft:"-12px",metaDataPadding:"0px 0px 0px 10px",arrayGroupMetaPadding:"0px 0px 0px 4px",iconContainerWidth:"17px",tooltipPadding:"4px",editInputMinWidth:"130px",editInputBorderRadius:"2px",editInputPadding:"5px",editInputMarginRight:"4px",editInputFontFamily:"monospace",iconCursor:"pointer",iconFontSize:"15px",iconPaddingRight:"1px",dateValueMarginLeft:"2px",iconMarginRight:"3px",detectedRowPaddingTop:"3px",addKeyCoverBackground:"rgba(255, 255, 255, 0.3)",addKeyCoverPosition:"absolute",addKeyCoverPositionPx:"0px",addKeyModalWidth:"200px",addKeyModalMargin:"auto",addKeyModalPadding:"10px",addKeyModalRadius:"3px"},U=o(45),W=function(D){var B=function(j){return{backgroundColor:j.base00,ellipsisColor:j.base09,braceColor:j.base07,expandedIcon:j.base0D,collapsedIcon:j.base0E,keyColor:j.base07,arrayKeyColor:j.base0C,objectSize:j.base04,copyToClipboard:j.base0F,copyToClipboardCheck:j.base0D,objectBorder:j.base02,dataTypes:{boolean:j.base0E,date:j.base0D,float:j.base0B,function:j.base0D,integer:j.base0F,string:j.base09,nan:j.base08,null:j.base0A,undefined:j.base05,regexp:j.base0A,background:j.base02},editVariable:{editIcon:j.base0E,cancelIcon:j.base09,removeIcon:j.base09,addIcon:j.base0E,checkIcon:j.base0E,background:j.base01,color:j.base0A,border:j.base07},addKeyModal:{background:j.base05,border:j.base04,color:j.base0A,labelColor:j.base01},validationFailure:{background:j.base09,iconColor:j.base01,fontColor:j.base01}}}(D);return{"app-container":{fontFamily:I.globalFontFamily,cursor:I.globalCursor,backgroundColor:B.backgroundColor,position:"relative"},ellipsis:{display:"inline-block",color:B.ellipsisColor,fontSize:I.ellipsisFontSize,lineHeight:I.ellipsisLineHeight,cursor:I.ellipsisCursor},"brace-row":{display:"inline-block",cursor:"pointer"},brace:{display:"inline-block",cursor:I.braceCursor,fontWeight:I.braceFontWeight,color:B.braceColor},"expanded-icon":{color:B.expandedIcon},"collapsed-icon":{color:B.collapsedIcon},colon:{display:"inline-block",margin:I.keyMargin,color:B.keyColor,verticalAlign:"top"},objectKeyVal:function(j,M){return{style:c({paddingTop:I.keyValPaddingTop,paddingRight:I.keyValPaddingRight,paddingBottom:I.keyValPaddingBottom,borderLeft:I.keyValBorderLeft+" "+B.objectBorder,":hover":{paddingLeft:M.paddingLeft-1+"px",borderLeft:I.keyValBorderHover+" "+B.objectBorder}},M)}},"object-key-val-no-border":{padding:I.keyValPadding},"pushed-content":{marginLeft:I.pushedContentMarginLeft},variableValue:function(j,M){return{style:c({display:"inline-block",paddingRight:I.variableValuePaddingRight,position:"relative"},M)}},"object-name":{display:"inline-block",color:B.keyColor,letterSpacing:I.keyLetterSpacing,fontStyle:I.keyFontStyle,verticalAlign:I.keyVerticalAlign,opacity:I.keyOpacity,":hover":{opacity:I.keyOpacityHover}},"array-key":{display:"inline-block",color:B.arrayKeyColor,letterSpacing:I.keyLetterSpacing,fontStyle:I.keyFontStyle,verticalAlign:I.keyVerticalAlign,opacity:I.keyOpacity,":hover":{opacity:I.keyOpacityHover}},"object-size":{color:B.objectSize,borderRadius:I.objectSizeBorderRadius,fontStyle:I.objectSizeFontStyle,margin:I.objectSizeMargin,cursor:"default"},"data-type-label":{fontSize:I.dataTypeFontSize,marginRight:I.dataTypeMarginRight,opacity:I.datatypeOpacity},boolean:{display:"inline-block",color:B.dataTypes.boolean},date:{display:"inline-block",color:B.dataTypes.date},"date-value":{marginLeft:I.dateValueMarginLeft},float:{display:"inline-block",color:B.dataTypes.float},function:{display:"inline-block",color:B.dataTypes.function,cursor:"pointer",whiteSpace:"pre-line"},"function-value":{fontStyle:"italic"},integer:{display:"inline-block",color:B.dataTypes.integer},string:{display:"inline-block",color:B.dataTypes.string},nan:{display:"inline-block",color:B.dataTypes.nan,fontSize:I.nanFontSize,fontWeight:I.nanFontWeight,backgroundColor:B.dataTypes.background,padding:I.nanPadding,borderRadius:I.nanBorderRadius},null:{display:"inline-block",color:B.dataTypes.null,fontSize:I.nullFontSize,fontWeight:I.nullFontWeight,backgroundColor:B.dataTypes.background,padding:I.nullPadding,borderRadius:I.nullBorderRadius},undefined:{display:"inline-block",color:B.dataTypes.undefined,fontSize:I.undefinedFontSize,padding:I.undefinedPadding,borderRadius:I.undefinedBorderRadius,backgroundColor:B.dataTypes.background},regexp:{display:"inline-block",color:B.dataTypes.regexp},"copy-to-clipboard":{cursor:I.clipboardCursor},"copy-icon":{color:B.copyToClipboard,fontSize:I.iconFontSize,marginRight:I.iconMarginRight,verticalAlign:"top"},"copy-icon-copied":{color:B.copyToClipboardCheck,marginLeft:I.clipboardCheckMarginLeft},"array-group-meta-data":{display:"inline-block",padding:I.arrayGroupMetaPadding},"object-meta-data":{display:"inline-block",padding:I.metaDataPadding},"icon-container":{display:"inline-block",width:I.iconContainerWidth},tooltip:{padding:I.tooltipPadding},removeVarIcon:{verticalAlign:"top",display:"inline-block",color:B.editVariable.removeIcon,cursor:I.iconCursor,fontSize:I.iconFontSize,marginRight:I.iconMarginRight},addVarIcon:{verticalAlign:"top",display:"inline-block",color:B.editVariable.addIcon,cursor:I.iconCursor,fontSize:I.iconFontSize,marginRight:I.iconMarginRight},editVarIcon:{verticalAlign:"top",display:"inline-block",color:B.editVariable.editIcon,cursor:I.iconCursor,fontSize:I.iconFontSize,marginRight:I.iconMarginRight},"edit-icon-container":{display:"inline-block",verticalAlign:"top"},"check-icon":{display:"inline-block",cursor:I.iconCursor,color:B.editVariable.checkIcon,fontSize:I.iconFontSize,paddingRight:I.iconPaddingRight},"cancel-icon":{display:"inline-block",cursor:I.iconCursor,color:B.editVariable.cancelIcon,fontSize:I.iconFontSize,paddingRight:I.iconPaddingRight},"edit-input":{display:"inline-block",minWidth:I.editInputMinWidth,borderRadius:I.editInputBorderRadius,backgroundColor:B.editVariable.background,color:B.editVariable.color,padding:I.editInputPadding,marginRight:I.editInputMarginRight,fontFamily:I.editInputFontFamily},"detected-row":{paddingTop:I.detectedRowPaddingTop},"key-modal-request":{position:I.addKeyCoverPosition,top:I.addKeyCoverPositionPx,left:I.addKeyCoverPositionPx,right:I.addKeyCoverPositionPx,bottom:I.addKeyCoverPositionPx,backgroundColor:I.addKeyCoverBackground},"key-modal":{width:I.addKeyModalWidth,backgroundColor:B.addKeyModal.background,marginLeft:I.addKeyModalMargin,marginRight:I.addKeyModalMargin,padding:I.addKeyModalPadding,borderRadius:I.addKeyModalRadius,marginTop:"15px",position:"relative"},"key-modal-label":{color:B.addKeyModal.labelColor,marginLeft:"2px",marginBottom:"5px",fontSize:"11px"},"key-modal-input-container":{overflow:"hidden"},"key-modal-input":{width:"100%",padding:"3px 6px",fontFamily:"monospace",color:B.addKeyModal.color,border:"none",boxSizing:"border-box",borderRadius:"2px"},"key-modal-cancel":{backgroundColor:B.editVariable.removeIcon,position:"absolute",top:"0px",right:"0px",borderRadius:"0px 3px 0px 3px",cursor:"pointer"},"key-modal-cancel-icon":{color:B.addKeyModal.labelColor,fontSize:I.iconFontSize,transform:"rotate(45deg)"},"key-modal-submit":{color:B.editVariable.addIcon,fontSize:I.iconFontSize,position:"absolute",right:"2px",top:"3px",cursor:"pointer"},"function-ellipsis":{display:"inline-block",color:B.ellipsisColor,fontSize:I.ellipsisFontSize,lineHeight:I.ellipsisLineHeight,cursor:I.ellipsisCursor},"validation-failure":{float:"right",padding:"3px 6px",borderRadius:"2px",cursor:"pointer",color:B.validationFailure.fontColor,backgroundColor:B.validationFailure.background},"validation-failure-label":{marginRight:"6px"},"validation-failure-clear":{position:"relative",verticalAlign:"top",cursor:"pointer",color:B.validationFailure.iconColor,fontSize:I.iconFontSize,transform:"rotate(45deg)"}}};function T(D,B,j){return D||console.error("theme has not been set"),function(M){var L=F;return M!==!1&&M!=="none"||(L=A),Object(U.createStyling)(W,{defaultBase16:L})(M)}(D)(B,j)}var V=function(D){g(j,D);var B=y(j);function j(){return d(this,j),B.apply(this,arguments)}return v(j,[{key:"render",value:function(){var M=this.props,L=(M.rjvId,M.type_name),J=M.displayDataTypes,se=M.theme;return J?h.a.createElement("span",Object.assign({className:"data-type-label"},T(se,"data-type-label")),L):null}}]),j}(h.a.PureComponent),G=function(D){g(j,D);var B=y(j);function j(){return d(this,j),B.apply(this,arguments)}return v(j,[{key:"render",value:function(){var M=this.props;return h.a.createElement("div",T(M.theme,"boolean"),h.a.createElement(V,Object.assign({type_name:"bool"},M)),M.value?"true":"false")}}]),j}(h.a.PureComponent),ae=function(D){g(j,D);var B=y(j);function j(){return d(this,j),B.apply(this,arguments)}return v(j,[{key:"render",value:function(){var M=this.props;return h.a.createElement("div",T(M.theme,"date"),h.a.createElement(V,Object.assign({type_name:"date"},M)),h.a.createElement("span",Object.assign({className:"date-value"},T(M.theme,"date-value")),M.value.toLocaleTimeString("en-us",{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})))}}]),j}(h.a.PureComponent),ie=function(D){g(j,D);var B=y(j);function j(){return d(this,j),B.apply(this,arguments)}return v(j,[{key:"render",value:function(){var M=this.props;return h.a.createElement("div",T(M.theme,"float"),h.a.createElement(V,Object.assign({type_name:"float"},M)),this.props.value)}}]),j}(h.a.PureComponent);function ye(D,B){(B==null||B>D.length)&&(B=D.length);for(var j=0,M=new Array(B);j=D.length?{done:!0}:{done:!1,value:D[M++]}},e:function(Z){throw Z},f:L}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var J,se=!0,de=!1;return{s:function(){j=j.call(D)},n:function(){var Z=j.next();return se=Z.done,Z},e:function(Z){de=!0,J=Z},f:function(){try{se||j.return==null||j.return()}finally{if(de)throw J}}}}function Se(D){return function(B){if(Array.isArray(B))return ye(B)}(D)||function(B){if(typeof Symbol<"u"&&B[Symbol.iterator]!=null||B["@@iterator"]!=null)return Array.from(B)}(D)||be(D)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var Te=o(46),$e=new(o(47)).Dispatcher,_e=new(function(D){g(j,D);var B=y(j);function j(){var M;d(this,j);for(var L=arguments.length,J=new Array(L),se=0;seL&&(de.style.cursor="pointer",this.state.collapsed&&(se=h.a.createElement("span",null,se.substring(0,L),h.a.createElement("span",T(J,"ellipsis")," ...")))),h.a.createElement("div",T(J,"string"),h.a.createElement(V,Object.assign({type_name:"string"},M)),h.a.createElement("span",Object.assign({className:"string-value"},de,{onClick:this.toggleCollapsed}),'"',se,'"'))}}]),j}(h.a.PureComponent),yt=function(D){g(j,D);var B=y(j);function j(){return d(this,j),B.apply(this,arguments)}return v(j,[{key:"render",value:function(){return h.a.createElement("div",T(this.props.theme,"undefined"),"undefined")}}]),j}(h.a.PureComponent);function z(){return(z=Object.assign?Object.assign.bind():function(D){for(var B=1;B0?rt:null,namespace:Ae.splice(0,Ae.length-1),existing_value:ft,variable_removed:!1,key_name:null};R(ft)==="object"?$e.dispatch({name:"ADD_VARIABLE_KEY_REQUEST",rjvId:Ot,data:Bt}):$e.dispatch({name:"VARIABLE_ADDED",rjvId:Ot,data:c(c({},Bt),{},{new_value:[].concat(Se(ft),[null])})})}})))},M.getRemoveObject=function(de){var Z=M.props,we=Z.theme,Ae=(Z.hover,Z.namespace),rt=Z.name,ft=Z.src,Ot=Z.rjvId;if(Ae.length!==1)return h.a.createElement("span",{className:"click-to-remove",style:{display:de?"inline-block":"none"}},h.a.createElement(H,Object.assign({className:"click-to-remove-icon"},T(we,"removeVarIcon"),{onClick:function(){$e.dispatch({name:"VARIABLE_REMOVED",rjvId:Ot,data:{name:rt,namespace:Ae.splice(0,Ae.length-1),existing_value:ft,variable_removed:!0}})}})))},M.render=function(){var de=M.props,Z=de.theme,we=de.onDelete,Ae=de.onAdd,rt=de.enableClipboard,ft=de.src,Ot=de.namespace,ut=de.rowHovered;return h.a.createElement("div",Object.assign({},T(Z,"object-meta-data"),{className:"object-meta-data",onClick:function(Bt){Bt.stopPropagation()}}),M.getObjectSize(),rt?h.a.createElement(Ze,{rowHovered:ut,clickCallback:rt,src:ft,theme:Z,namespace:Ot}):null,Ae!==!1?M.getAddAttribute(ut):null,we!==!1?M.getRemoveObject(ut):null)},M}return v(j)}(h.a.PureComponent);function Ke(D){var B=D.parent_type,j=D.namespace,M=D.quotesOnKeys,L=D.theme,J=D.jsvRoot,se=D.name,de=D.displayArrayKey,Z=D.name?D.name:"";return!J||se!==!1&&se!==null?B=="array"?de?h.a.createElement("span",Object.assign({},T(L,"array-key"),{key:j}),h.a.createElement("span",{className:"array-key"},Z),h.a.createElement("span",T(L,"colon"),":")):h.a.createElement("span",null):h.a.createElement("span",Object.assign({},T(L,"object-name"),{key:j}),h.a.createElement("span",{className:"object-key"},M&&h.a.createElement("span",{style:{verticalAlign:"top"}},'"'),h.a.createElement("span",null,Z),M&&h.a.createElement("span",{style:{verticalAlign:"top"}},'"')),h.a.createElement("span",T(L,"colon"),":")):h.a.createElement("span",null)}function Ye(D){var B=D.theme;switch(D.iconStyle){case"triangle":return h.a.createElement(go,Object.assign({},T(B,"expanded-icon"),{className:"expanded-icon"}));case"square":return h.a.createElement(rn,Object.assign({},T(B,"expanded-icon"),{className:"expanded-icon"}));default:return h.a.createElement(hr,Object.assign({},T(B,"expanded-icon"),{className:"expanded-icon"}))}}function xt(D){var B=D.theme;switch(D.iconStyle){case"triangle":return h.a.createElement($r,Object.assign({},T(B,"collapsed-icon"),{className:"collapsed-icon"}));case"square":return h.a.createElement(Pr,Object.assign({},T(B,"collapsed-icon"),{className:"collapsed-icon"}));default:return h.a.createElement(Ln,Object.assign({},T(B,"collapsed-icon"),{className:"collapsed-icon"}))}}var wt=["src","groupArraysAfterLength","depth","name","theme","jsvRoot","namespace","parent_type"],St=function(D){g(j,D);var B=y(j);function j(M){var L;return d(this,j),(L=B.call(this,M)).toggleCollapsed=function(J){var se=[];for(var de in L.state.expanded)se.push(L.state.expanded[de]);se[J]=!se[J],L.setState({expanded:se})},L.state={expanded:[]},L}return v(j,[{key:"getExpandedIcon",value:function(M){var L=this.props,J=L.theme,se=L.iconStyle;return this.state.expanded[M]?h.a.createElement(Ye,{theme:J,iconStyle:se}):h.a.createElement(xt,{theme:J,iconStyle:se})}},{key:"render",value:function(){var M=this,L=this.props,J=L.src,se=L.groupArraysAfterLength,de=(L.depth,L.name),Z=L.theme,we=L.jsvRoot,Ae=L.namespace,rt=(L.parent_type,$(L,wt)),ft=0,Ot=5*this.props.indentWidth;we||(ft=5*this.props.indentWidth);var ut=se,Bt=Math.ceil(J.length/ut);return h.a.createElement("div",Object.assign({className:"object-key-val"},T(Z,we?"jsv-root":"objectKeyVal",{paddingLeft:ft})),h.a.createElement(Ke,this.props),h.a.createElement("span",null,h.a.createElement(it,Object.assign({size:J.length},this.props))),Se(Array(Bt)).map(function(Jt,kt){return h.a.createElement("div",Object.assign({key:kt,className:"object-key-val array-group"},T(Z,"objectKeyVal",{marginLeft:6,paddingLeft:Ot})),h.a.createElement("span",T(Z,"brace-row"),h.a.createElement("div",Object.assign({className:"icon-container"},T(Z,"icon-container"),{onClick:function(an){M.toggleCollapsed(kt)}}),M.getExpandedIcon(kt)),M.state.expanded[kt]?h.a.createElement(za,Object.assign({key:de+kt,depth:0,name:!1,collapsed:!1,groupArraysAfterLength:ut,index_offset:kt*ut,src:J.slice(kt*ut,kt*ut+ut),namespace:Ae,type:"array",parent_type:"array_group",theme:Z},rt)):h.a.createElement("span",Object.assign({},T(Z,"brace"),{onClick:function(an){M.toggleCollapsed(kt)},className:"array-group-brace"}),"[",h.a.createElement("div",Object.assign({},T(Z,"array-group-meta-data"),{className:"array-group-meta-data"}),h.a.createElement("span",Object.assign({className:"object-size"},T(Z,"object-size")),kt*ut," - ",kt*ut+ut>J.length?J.length:kt*ut+ut)),"]")))}))}}]),j}(h.a.PureComponent),Ne=["depth","src","namespace","name","type","parent_type","theme","jsvRoot","iconStyle"],mt=function(D){g(j,D);var B=y(j);function j(M){var L;d(this,j),(L=B.call(this,M)).toggleCollapsed=function(){L.setState({expanded:!L.state.expanded},function(){Ve.set(L.props.rjvId,L.props.namespace,"expanded",L.state.expanded)})},L.getObjectContent=function(se,de,Z){return h.a.createElement("div",{className:"pushed-content object-container"},h.a.createElement("div",Object.assign({className:"object-content"},T(L.props.theme,"pushed-content")),L.renderObjectContents(de,Z)))},L.getEllipsis=function(){return L.state.size===0?null:h.a.createElement("div",Object.assign({},T(L.props.theme,"ellipsis"),{className:"node-ellipsis",onClick:L.toggleCollapsed}),"...")},L.getObjectMetaData=function(se){var de=L.props,Z=(de.rjvId,de.theme,L.state),we=Z.size,Ae=Z.hovered;return h.a.createElement(it,Object.assign({rowHovered:Ae,size:we},L.props))},L.renderObjectContents=function(se,de){var Z,we=L.props,Ae=we.depth,rt=we.parent_type,ft=we.index_offset,Ot=we.groupArraysAfterLength,ut=we.namespace,Bt=L.state.object_type,Jt=[],kt=Object.keys(se||{});return L.props.sortKeys&&Bt!=="array"&&(kt=kt.sort()),kt.forEach(function(an){if(Z=new ir(an,se[an]),rt==="array_group"&&ft&&(Z.name=parseInt(Z.name)+ft),se.hasOwnProperty(an))if(Z.type==="object")Jt.push(h.a.createElement(za,Object.assign({key:Z.name,depth:Ae+1,name:Z.name,src:Z.value,namespace:ut.concat(Z.name),parent_type:Bt},de)));else if(Z.type==="array"){var yo=za;Ot&&Z.value.length>Ot&&(yo=St),Jt.push(h.a.createElement(yo,Object.assign({key:Z.name,depth:Ae+1,name:Z.name,src:Z.value,namespace:ut.concat(Z.name),type:"array",parent_type:Bt},de)))}else Jt.push(h.a.createElement(ke,Object.assign({key:Z.name+"_"+ut,variable:Z,singleIndent:5,namespace:ut,type:L.props.type},de)))}),Jt};var J=j.getState(M);return L.state=c(c({},J),{},{prevProps:{}}),L}return v(j,[{key:"getBraceStart",value:function(M,L){var J=this,se=this.props,de=se.src,Z=se.theme,we=se.iconStyle;if(se.parent_type==="array_group")return h.a.createElement("span",null,h.a.createElement("span",T(Z,"brace"),M==="array"?"[":"{"),L?this.getObjectMetaData(de):null);var Ae=L?Ye:xt;return h.a.createElement("span",null,h.a.createElement("span",Object.assign({onClick:function(rt){J.toggleCollapsed()}},T(Z,"brace-row")),h.a.createElement("div",Object.assign({className:"icon-container"},T(Z,"icon-container")),h.a.createElement(Ae,{theme:Z,iconStyle:we})),h.a.createElement(Ke,this.props),h.a.createElement("span",T(Z,"brace"),M==="array"?"[":"{")),L?this.getObjectMetaData(de):null)}},{key:"render",value:function(){var M=this,L=this.props,J=L.depth,se=L.src,de=(L.namespace,L.name,L.type,L.parent_type),Z=L.theme,we=L.jsvRoot,Ae=L.iconStyle,rt=$(L,Ne),ft=this.state,Ot=ft.object_type,ut=ft.expanded,Bt={};return we||de==="array_group"?de==="array_group"&&(Bt.borderLeft=0,Bt.display="inline"):Bt.paddingLeft=5*this.props.indentWidth,h.a.createElement("div",Object.assign({className:"object-key-val",onMouseEnter:function(){return M.setState(c(c({},M.state),{},{hovered:!0}))},onMouseLeave:function(){return M.setState(c(c({},M.state),{},{hovered:!1}))}},T(Z,we?"jsv-root":"objectKeyVal",Bt)),this.getBraceStart(Ot,ut),ut?this.getObjectContent(J,se,c({theme:Z,iconStyle:Ae},rt)):this.getEllipsis(),h.a.createElement("span",{className:"brace-row"},h.a.createElement("span",{style:c(c({},T(Z,"brace").style),{},{paddingLeft:ut?"3px":"0px"})},Ot==="array"?"]":"}"),ut?null:this.getObjectMetaData(se)))}}],[{key:"getDerivedStateFromProps",value:function(M,L){var J=L.prevProps;return M.src!==J.src||M.collapsed!==J.collapsed||M.name!==J.name||M.namespace!==J.namespace||M.rjvId!==J.rjvId?c(c({},j.getState(M)),{},{prevProps:M}):null}}]),j}(h.a.PureComponent);mt.getState=function(D){var B=Object.keys(D.src).length,j=(D.collapsed===!1||D.collapsed!==!0&&D.collapsed>D.depth)&&(!D.shouldCollapse||D.shouldCollapse({name:D.name,src:D.src,type:R(D.src),namespace:D.namespace})===!1)&&B!==0;return{expanded:Ve.get(D.rjvId,D.namespace,"expanded",j),object_type:D.type==="array"?"array":"object",parent_type:D.type==="array"?"array":"object",size:B,hovered:!1}};var ir=v(function D(B,j){d(this,D),this.name=B,this.value=j,this.type=R(j)});C(mt);var za=mt,Ua=function(D){g(j,D);var B=y(j);function j(){var M;d(this,j);for(var L=arguments.length,J=new Array(L),se=0;sert.groupArraysAfterLength&&(Ot=St),h.a.createElement("div",{className:"pretty-json-container object-container"},h.a.createElement("div",{className:"object-content"},h.a.createElement(Ot,Object.assign({namespace:ft,depth:0,jsvRoot:!0},rt))))},M}return v(j)}(h.a.PureComponent),Zo=function(D){g(j,D);var B=y(j);function j(M){var L;return d(this,j),(L=B.call(this,M)).closeModal=function(){$e.dispatch({rjvId:L.props.rjvId,name:"RESET"})},L.submit=function(){L.props.submit(L.state.input)},L.state={input:M.input?M.input:""},L}return v(j,[{key:"render",value:function(){var M=this,L=this.props,J=L.theme,se=L.rjvId,de=L.isValid,Z=this.state.input,we=de(Z);return h.a.createElement("div",Object.assign({className:"key-modal-request"},T(J,"key-modal-request"),{onClick:this.closeModal}),h.a.createElement("div",Object.assign({},T(J,"key-modal"),{onClick:function(Ae){Ae.stopPropagation()}}),h.a.createElement("div",T(J,"key-modal-label"),"Key Name:"),h.a.createElement("div",{style:{position:"relative"}},h.a.createElement("input",Object.assign({},T(J,"key-modal-input"),{className:"key-modal-input",ref:function(Ae){return Ae&&Ae.focus()},spellCheck:!1,value:Z,placeholder:"...",onChange:function(Ae){M.setState({input:Ae.target.value})},onKeyPress:function(Ae){we&&Ae.key==="Enter"?M.submit():Ae.key==="Escape"&&M.closeModal()}})),we?h.a.createElement(Re,Object.assign({},T(J,"key-modal-submit"),{className:"key-modal-submit",onClick:function(Ae){return M.submit()}})):null),h.a.createElement("span",T(J,"key-modal-cancel"),h.a.createElement(oe,Object.assign({},T(J,"key-modal-cancel-icon"),{className:"key-modal-cancel",onClick:function(){$e.dispatch({rjvId:se,name:"RESET"})}})))))}}]),j}(h.a.PureComponent),ei=function(D){g(j,D);var B=y(j);function j(){var M;d(this,j);for(var L=arguments.length,J=new Array(L),se=0;se{const r=document.createElement("a");r.setAttribute("href",encodeURI(`data:application/json;charset=utf-8,${e}`)),r.setAttribute("download",t),r.click()},JSe=e=>{YSe(JSON.stringify(e,null," "),"export.json")},ZSe=()=>N.jsx(QF,{exporter:JSe,children:N.jsxs(TS,{rowClick:"show",children:[N.jsx(Ao,{source:"id",sortable:!0}),N.jsx(Ao,{source:"service",sortable:!0}),N.jsx(Ao,{source:"method",sortable:!0}),N.jsx(mu,{source:"headers",sortable:!1,reactJsonOptions:{theme:da()}}),N.jsx(mu,{source:"input",sortable:!1,reactJsonOptions:{theme:da()}}),N.jsx(mu,{source:"output",sortable:!1,reactJsonOptions:{theme:da()}})]})}),eOe=()=>N.jsx(bxe,{children:N.jsxs(DF,{children:[N.jsx(Ns,{source:"service"}),N.jsx(Ns,{source:"method"}),N.jsx(gu,{source:"headers",reactJsonOptions:{theme:da()}}),N.jsx(gu,{source:"input",reactJsonOptions:{theme:da()}}),N.jsx(gu,{source:"output",reactJsonOptions:{theme:da()}})]})}),tOe=()=>N.jsx($xe,{children:N.jsxs(DF,{children:[N.jsx(Ns,{source:"id"}),N.jsx(Ns,{source:"service"}),N.jsx(Ns,{source:"method"}),N.jsx(gu,{source:"headers",reactJsonOptions:{theme:da()}}),N.jsx(gu,{source:"input",reactJsonOptions:{theme:da()}}),N.jsx(gu,{source:"output",reactJsonOptions:{theme:da()}})]})}),rOe=()=>N.jsx(Wxe,{children:N.jsxs(swe,{children:[N.jsx(Ao,{source:"id",sortable:!0}),N.jsx(Ao,{source:"service",sortable:!0}),N.jsx(Ao,{source:"method",sortable:!0}),N.jsx(mu,{source:"headers",sortable:!1,reactJsonOptions:{theme:da()}}),N.jsx(mu,{source:"input",sortable:!1,reactJsonOptions:{theme:da()}}),N.jsx(mu,{source:"output",sortable:!1,reactJsonOptions:{theme:da()}})]})}),da=()=>{const[e]=sS();return e==="dark"?"monokai":"rjv-default"},nOe=()=>N.jsx(QF,{children:N.jsxs(TS,{bulkActionButtons:!1,children:[N.jsx(Ao,{source:"id"}),N.jsx(Ao,{source:"package"}),N.jsx(Ao,{source:"name"}),N.jsx(Hxe,{source:"methods",sortable:!1,children:N.jsx(nwe,{linkType:!1,children:N.jsx(Qxe,{source:"name"})})})]})});var qS={},aOe=bt;Object.defineProperty(qS,"__esModule",{value:!0});var T4=qS.default=void 0,oOe=aOe(Pt()),iOe=N;T4=qS.default=(0,oOe.default)((0,iOe.jsx)("path",{d:"M2 20h20v-4H2zm2-3h2v2H4zM2 4v4h20V4zm4 3H4V5h2zm-4 7h20v-4H2zm2-3h2v2H4z"}),"Storage");var KS={},sOe=bt;Object.defineProperty(KS,"__esModule",{value:!0});var I4=KS.default=void 0,lOe=sOe(Pt()),uOe=N;I4=KS.default=(0,lOe.default)((0,uOe.jsx)("path",{d:"M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm-1 6h2v2h-2zm0 4h2v6h-2z"}),"PrivacyTip");const cOe={...B5,palette:{primary:yre,secondary:bre,error:is,contrastThreshold:3,tonalOffset:.2}},dOe=()=>N.jsxs(V5,{toolbar:N.jsx(U5,{}),children:[N.jsx(A5,{}),N.jsx(br,{flex:"-1",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",variant:"h6",color:"inherit",id:"react-admin-logo",children:"GripMock UI"})]}),fOe=e=>N.jsx(lF,{...e,appBar:dOe}),pOe=()=>N.jsxs(uEe,{disableTelemetry:!0,dataProvider:QSe,layout:fOe,theme:cOe,darkTheme:z5,children:[N.jsx(Sv,{icon:I4,name:"services",list:nOe}),N.jsx(Sv,{icon:T4,name:"stubs",list:ZSe,edit:tOe,show:rOe,create:eOe})]});W0.createRoot(document.getElementById("root")).render(N.jsx(Pe.StrictMode,{children:N.jsx(pOe,{})})); diff --git a/dist/assets/matches-CU2r43ac.js b/dist/assets/matches-CU2r43ac.js new file mode 100644 index 0000000..ab2f8d8 --- /dev/null +++ b/dist/assets/matches-CU2r43ac.js @@ -0,0 +1 @@ +function I(e){return Array.isArray?Array.isArray(e):et(e)==="[object Array]"}const at=1/0;function lt(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-at?"-0":t}function ut(e){return e==null?"":lt(e)}function _(e){return typeof e=="string"}function q(e){return typeof e=="number"}function ft(e){return e===!0||e===!1||dt(e)&&et(e)=="[object Boolean]"}function tt(e){return typeof e=="object"}function dt(e){return tt(e)&&e!==null}function M(e){return e!=null}function j(e){return!e.trim().length}function et(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const gt="Incorrect 'index' type",pt=e=>`Invalid value for key ${e}`,Mt=e=>`Pattern length exceeds max of ${e}.`,mt=e=>`Missing ${e} property in key`,xt=e=>`Property 'weight' in key '${e}' must be a positive integer`,U=Object.prototype.hasOwnProperty;class Et{constructor(t){this._keys=[],this._keyMap={};let s=0;t.forEach(n=>{let r=st(n);this._keys.push(r),this._keyMap[r.id]=r,s+=r.weight}),this._keys.forEach(n=>{n.weight/=s})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function st(e){let t=null,s=null,n=null,r=1,i=null;if(_(e)||I(e))n=e,t=Q(e),s=K(e);else{if(!U.call(e,"name"))throw new Error(mt("name"));const c=e.name;if(n=c,U.call(e,"weight")&&(r=e.weight,r<=0))throw new Error(xt(c));t=Q(c),s=K(c),i=e.getFn}return{path:t,id:s,weight:r,src:n,getFn:i}}function Q(e){return I(e)?e:e.split(".")}function K(e){return I(e)?e.join("."):e}function _t(e,t){let s=[],n=!1;const r=(i,c,o)=>{if(M(i))if(!c[o])s.push(i);else{let h=c[o];const a=i[h];if(!M(a))return;if(o===c.length-1&&(_(a)||q(a)||ft(a)))s.push(ut(a));else if(I(a)){n=!0;for(let l=0,f=a.length;le.score===t.score?e.idx{this._keysMap[s.id]=n})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,_(this.docs[0])?this.docs.forEach((t,s)=>{this._addString(t,s)}):this.docs.forEach((t,s)=>{this._addObject(t,s)}),this.norm.clear())}add(t){const s=this.size();_(t)?this._addString(t,s):this._addObject(t,s)}removeAt(t){this.records.splice(t,1);for(let s=t,n=this.size();s{let c=r.getFn?r.getFn(t):this.getFn(t,r.path);if(M(c)){if(I(c)){let o=[];const h=[{nestedArrIndex:-1,value:c}];for(;h.length;){const{nestedArrIndex:a,value:l}=h.pop();if(M(l))if(_(l)&&!j(l)){let f={v:l,i:a,n:this.norm.get(l)};o.push(f)}else I(l)&&l.forEach((f,d)=>{h.push({nestedArrIndex:d,value:f})})}n.$[i]=o}else if(_(c)&&!j(c)){let o={v:c,n:this.norm.get(c)};n.$[i]=o}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function nt(e,t,{getFn:s=u.getFn,fieldNormWeight:n=u.fieldNormWeight}={}){const r=new V({getFn:s,fieldNormWeight:n});return r.setKeys(e.map(st)),r.setSources(t),r.create(),r}function Rt(e,{getFn:t=u.getFn,fieldNormWeight:s=u.fieldNormWeight}={}){const{keys:n,records:r}=e,i=new V({getFn:t,fieldNormWeight:s});return i.setKeys(n),i.setIndexRecords(r),i}function v(e,{errors:t=0,currentLocation:s=0,expectedLocation:n=0,distance:r=u.distance,ignoreLocation:i=u.ignoreLocation}={}){const c=t/e.length;if(i)return c;const o=Math.abs(n-s);return r?c+o/r:o?1:c}function bt(e=[],t=u.minMatchCharLength){let s=[],n=-1,r=-1,i=0;for(let c=e.length;i=t&&s.push([n,r]),n=-1)}return e[i-1]&&i-n>=t&&s.push([n,i-1]),s}const b=32;function Nt(e,t,s,{location:n=u.location,distance:r=u.distance,threshold:i=u.threshold,findAllMatches:c=u.findAllMatches,minMatchCharLength:o=u.minMatchCharLength,includeMatches:h=u.includeMatches,ignoreLocation:a=u.ignoreLocation}={}){if(t.length>b)throw new Error(Mt(b));const l=t.length,f=e.length,d=Math.max(0,Math.min(n,f));let g=i,p=d;const m=o>1||h,L=m?Array(f):[];let y;for(;(y=e.indexOf(t,p))>-1;){let x=v(t,{currentLocation:y,expectedLocation:d,distance:r,ignoreLocation:a});if(g=Math.min(x,g),p=y+l,m){let S=0;for(;S=Y;E-=1){let C=E-1,G=s[e.charAt(C)];if(m&&(L[C]=+!!G),O[E]=(O[E+1]<<1|1)&G,x&&(O[E]|=(N[E+1]|N[E])<<1|1|N[E+1]),O[E]&ht&&(R=v(t,{errors:x,currentLocation:C,expectedLocation:d,distance:r,ignoreLocation:a}),R<=g)){if(g=R,p=C,p<=d)break;Y=Math.max(1,2*d-p)}}if(v(t,{errors:x+1,currentLocation:d,expectedLocation:d,distance:r,ignoreLocation:a})>g)break;N=O}const T={isMatch:p>=0,score:Math.max(.001,R)};if(m){const x=bt(L,o);x.length?h&&(T.indices=x):T.isMatch=!1}return T}function Ot(e){let t={};for(let s=0,n=e.length;s{this.chunks.push({pattern:d,alphabet:Ot(d),startIndex:g})},f=this.pattern.length;if(f>b){let d=0;const g=f%b,p=f-g;for(;d{const{isMatch:y,score:N,indices:R}=Nt(t,p,m,{location:r+L,distance:i,threshold:c,findAllMatches:o,minMatchCharLength:h,includeMatches:n,ignoreLocation:a});y&&(d=!0),f+=N,y&&R&&(l=[...l,...R])});let g={isMatch:d,score:d?f/this.chunks.length:1};return d&&n&&(g.indices=l),g}}class w{constructor(t){this.pattern=t}static isMultiMatch(t){return X(t,this.multiRegex)}static isSingleMatch(t){return X(t,this.singleRegex)}search(){}}function X(e,t){const s=e.match(t);return s?s[1]:null}class $t extends w{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const s=t===this.pattern;return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class kt extends w{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const n=t.indexOf(this.pattern)===-1;return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Ct extends w{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const s=t.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class vt extends w{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const s=!t.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,t.length-1]}}}class Ft extends w{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const s=t.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class Tt extends w{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const s=!t.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,t.length-1]}}}class it extends w{constructor(t,{location:s=u.location,threshold:n=u.threshold,distance:r=u.distance,includeMatches:i=u.includeMatches,findAllMatches:c=u.findAllMatches,minMatchCharLength:o=u.minMatchCharLength,isCaseSensitive:h=u.isCaseSensitive,ignoreLocation:a=u.ignoreLocation}={}){super(t),this._bitapSearch=new rt(t,{location:s,threshold:n,distance:r,includeMatches:i,findAllMatches:c,minMatchCharLength:o,isCaseSensitive:h,ignoreLocation:a})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class ct extends w{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let s=0,n;const r=[],i=this.pattern.length;for(;(n=t.indexOf(this.pattern,s))>-1;)s=n+i,r.push([n,s-1]);const c=!!r.length;return{isMatch:c,score:c?0:1,indices:r}}}const D=[$t,ct,Ct,vt,Tt,Ft,kt,it],J=D.length,Pt=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,jt="|";function Kt(e,t={}){return e.split(jt).map(s=>{let n=s.trim().split(Pt).filter(i=>i&&!!i.trim()),r=[];for(let i=0,c=n.length;i!!(e[F.AND]||e[F.OR]),zt=e=>!!e[z.PATH],Ht=e=>!I(e)&&tt(e)&&!H(e),Z=e=>({[F.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function ot(e,t,{auto:s=!0}={}){const n=r=>{let i=Object.keys(r);const c=zt(r);if(!c&&i.length>1&&!H(r))return n(Z(r));if(Ht(r)){const h=c?r[z.PATH]:i[0],a=c?r[z.PATTERN]:r[h];if(!_(a))throw new Error(pt(h));const l={keyId:K(h),pattern:a};return s&&(l.searcher=B(a,t)),l}let o={children:[],operator:i[0]};return i.forEach(h=>{const a=r[h];I(a)&&a.forEach(l=>{o.children.push(n(l))})}),o};return H(e)||(e=Z(e)),n(e)}function Vt(e,{ignoreFieldNorm:t=u.ignoreFieldNorm}){e.forEach(s=>{let n=1;s.matches.forEach(({key:r,norm:i,score:c})=>{const o=r?r.weight:null;n*=Math.pow(c===0&&o?Number.EPSILON:c,(o||1)*(t?1:i))}),s.score=n})}function Yt(e,t){const s=e.matches;t.matches=[],M(s)&&s.forEach(n=>{if(!M(n.indices)||!n.indices.length)return;const{indices:r,value:i}=n;let c={indices:r,value:i};n.key&&(c.key=n.key.src),n.idx>-1&&(c.refIndex=n.idx),t.matches.push(c)})}function Gt(e,t){t.score=e.score}function Ut(e,t,{includeMatches:s=u.includeMatches,includeScore:n=u.includeScore}={}){const r=[];return s&&r.push(Yt),n&&r.push(Gt),e.map(i=>{const{idx:c}=i,o={item:t[c],refIndex:c};return r.length&&r.forEach(h=>{h(i,o)}),o})}class ${constructor(t,s={},n){this.options={...u,...s},this.options.useExtendedSearch,this._keyStore=new Et(this.options.keys),this.setCollection(t,n)}setCollection(t,s){if(this._docs=t,s&&!(s instanceof V))throw new Error(gt);this._myIndex=s||nt(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){M(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const s=[];for(let n=0,r=this._docs.length;n-1&&(h=h.slice(0,s)),Ut(h,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(t){const s=B(t,this.options),{records:n}=this._myIndex,r=[];return n.forEach(({v:i,i:c,n:o})=>{if(!M(i))return;const{isMatch:h,score:a,indices:l}=s.searchIn(i);h&&r.push({item:i,idx:c,matches:[{score:a,value:i,norm:o,indices:l}]})}),r}_searchLogical(t){const s=ot(t,this.options),n=(o,h,a)=>{if(!o.children){const{keyId:f,searcher:d}=o,g=this._findMatches({key:this._keyStore.get(f),value:this._myIndex.getValueForItemAtKeyId(h,f),searcher:d});return g&&g.length?[{idx:a,item:h,matches:g}]:[]}const l=[];for(let f=0,d=o.children.length;f{if(M(o)){let a=n(s,o,h);a.length&&(i[h]||(i[h]={idx:h,item:o,matches:[]},c.push(i[h])),a.forEach(({matches:l})=>{i[h].matches.push(...l)}))}}),c}_searchObjectList(t){const s=B(t,this.options),{keys:n,records:r}=this._myIndex,i=[];return r.forEach(({$:c,i:o})=>{if(!M(c))return;let h=[];n.forEach((a,l)=>{h.push(...this._findMatches({key:a,value:c[l],searcher:s}))}),h.length&&i.push({idx:o,item:c,matches:h})}),i}_findMatches({key:t,value:s,searcher:n}){if(!M(s))return[];let r=[];if(I(s))s.forEach(({v:i,i:c,n:o})=>{if(!M(i))return;const{isMatch:h,score:a,indices:l}=n.searchIn(i);h&&r.push({score:a,key:t,value:i,idx:c,norm:o,indices:l})});else{const{v:i,n:c}=s,{isMatch:o,score:h,indices:a}=n.searchIn(i);o&&r.push({score:h,key:t,value:i,norm:c,indices:a})}return r}}$.version="7.0.0";$.createIndex=nt;$.parseIndex=Rt;$.config=u;$.parseQuery=ot;Bt(Wt);export{$ as F}; diff --git a/dist/assets/mui-DfGU7ob2.js b/dist/assets/mui-DfGU7ob2.js new file mode 100644 index 0000000..00905cd --- /dev/null +++ b/dist/assets/mui-DfGU7ob2.js @@ -0,0 +1,54 @@ +import{r as C,j as l}from"./ra-DIZQUvlb.js";import{g as D,c as tt,a as et,T as at,C as nt,u as Fo,b as ao,o as to,_ as n,d as E,s as $,M as rt,r as _o,P as Ho,e as k,f as O,h as Uo,i as oo,j as S,k as L,l as F,S as st,B as lo,m as it,n as lt,p as Wo,q as co,t as uo,v as ct,w as dt,x as mo,y as U,z as ut,A as pt,D as J,E as bt,G as ho,H as ft,J as gt,K as vt,N as mt,O as po,Q as Z,R as ht,U as xt,V as no,W as yt,X as Ct,Y as Pt,Z as xo,$ as Rt,a0 as kt}from"./react-admin-w-4YB5zs.js";const Ia={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},La={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},$t=D("MuiBox",["root"]),Bt=tt(),Ta=et({themeId:at,defaultTheme:Bt,defaultClassName:$t.root,generateClassName:nt.generate});function yo(o){return o.substring(2).toLowerCase()}function Mt(o,t){return t.documentElement.clientWidth(setTimeout(()=>{d.current=!0},0),()=>{d.current=!1}),[]);const b=Fo(t.ref,i),g=ao(c=>{const v=f.current;f.current=!1;const B=to(i.current);if(!d.current||!i.current||"clientX"in c&&Mt(c,B))return;if(p.current){p.current=!1;return}let u;c.composedPath?u=c.composedPath().indexOf(i.current)>-1:u=!B.documentElement.contains(c.target)||i.current.contains(c.target),!u&&(e||!v)&&r(c)}),m=c=>v=>{f.current=!0;const B=t.props[c];B&&B(v)},x={ref:b};return s!==!1&&(x[s]=m(s)),C.useEffect(()=>{if(s!==!1){const c=yo(s),v=to(i.current),B=()=>{p.current=!0};return v.addEventListener(c,g),v.addEventListener("touchmove",B),()=>{v.removeEventListener(c,g),v.removeEventListener("touchmove",B)}}},[g,s]),a!==!1&&(x[a]=m(a)),C.useEffect(()=>{if(a!==!1){const c=yo(a),v=to(i.current);return v.addEventListener(c,g),()=>{v.removeEventListener(c,g)}}},[g,a]),l.jsx(C.Fragment,{children:C.cloneElement(t,x)})}const Lt=(o,t)=>n({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!o.vars&&{colorScheme:o.palette.mode}),Tt=o=>n({color:(o.vars||o).palette.text.primary},o.typography.body1,{backgroundColor:(o.vars||o).palette.background.default,"@media print":{backgroundColor:(o.vars||o).palette.common.white}});function wt(o){return E("MuiDrawer",o)}D("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const Nt=["BackdropProps"],St=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],Vo=(o,t)=>{const{ownerState:e}=o;return[t.root,(e.variant==="permanent"||e.variant==="persistent")&&t.docked,t.modal]},zt=o=>{const{classes:t,anchor:e,variant:a}=o,r={root:["root"],docked:[(a==="permanent"||a==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${k(e)}`,a!=="temporary"&&`paperAnchorDocked${k(e)}`]};return F(r,wt,t)},jt=$(rt,{name:"MuiDrawer",slot:"Root",overridesResolver:Vo})(({theme:o})=>({zIndex:(o.vars||o).zIndex.drawer})),Co=$("div",{shouldForwardProp:_o,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Vo})({flex:"0 0 auto"}),At=$(Ho,{name:"MuiDrawer",slot:"Paper",overridesResolver:(o,t)=>{const{ownerState:e}=o;return[t.paper,t[`paperAnchor${k(e.anchor)}`],e.variant!=="temporary"&&t[`paperAnchorDocked${k(e.anchor)}`]]}})(({theme:o,ownerState:t})=>n({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(o.vars||o).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(o.vars||o).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(o.vars||o).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(o.vars||o).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(o.vars||o).palette.divider}`})),qo={left:"right",right:"left",top:"down",bottom:"up"};function Dt(o){return["left","right"].indexOf(o)!==-1}function Et({direction:o},t){return o==="rtl"&&Dt(t)?qo[t]:t}const wa=C.forwardRef(function(t,e){const a=O({props:t,name:"MuiDrawer"}),r=Uo(),s=oo(),p={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{anchor:i="left",BackdropProps:d,children:f,className:b,elevation:g=16,hideBackdrop:m=!1,ModalProps:{BackdropProps:x}={},onClose:c,open:v=!1,PaperProps:B={},SlideProps:u,TransitionComponent:h=st,transitionDuration:y=p,variant:T="temporary"}=a,I=S(a.ModalProps,Nt),P=S(a,St),z=C.useRef(!1);C.useEffect(()=>{z.current=!0},[]);const M=Et({direction:s?"rtl":"ltr"},i),w=n({},a,{anchor:i,elevation:g,open:v,variant:T},P),A=zt(w),N=l.jsx(At,n({elevation:T==="temporary"?g:0,square:!0},B,{className:L(A.paper,B.className),ownerState:w,children:f}));if(T==="permanent")return l.jsx(Co,n({className:L(A.root,A.docked,b),ownerState:w,ref:e},P,{children:N}));const j=l.jsx(h,n({in:v,direction:qo[M],timeout:y,appear:z.current},u,{children:N}));return T==="persistent"?l.jsx(Co,n({className:L(A.root,A.docked,b),ownerState:w,ref:e},P,{children:j})):l.jsx(jt,n({BackdropProps:n({},d,x,{transitionDuration:y}),className:L(A.root,A.modal,b),open:v,ownerState:w,onClose:c,hideBackdrop:m,ref:e},P,I,{children:j}))});function Ot(o){return E("MuiFab",o)}const Po=D("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),Ft=["children","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"],_t=o=>{const{color:t,variant:e,classes:a,size:r}=o,s={root:["root",e,`size${k(r)}`,t==="inherit"?"colorInherit":t]},p=F(s,Ot,a);return n({},a,p)},Ht=$(lo,{name:"MuiFab",slot:"Root",shouldForwardProp:o=>_o(o)||o==="classes",overridesResolver:(o,t)=>{const{ownerState:e}=o;return[t.root,t[e.variant],t[`size${k(e.size)}`],e.color==="inherit"&&t.colorInherit,t[k(e.size)],t[e.color]]}})(({theme:o,ownerState:t})=>{var e,a;return n({},o.typography.button,{minHeight:36,transition:o.transitions.create(["background-color","box-shadow","border-color"],{duration:o.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(o.vars||o).zIndex.fab,boxShadow:(o.vars||o).shadows[6],"&:active":{boxShadow:(o.vars||o).shadows[12]},color:o.vars?o.vars.palette.text.primary:(e=(a=o.palette).getContrastText)==null?void 0:e.call(a,o.palette.grey[300]),backgroundColor:(o.vars||o).palette.grey[300],"&:hover":{backgroundColor:(o.vars||o).palette.grey.A100,"@media (hover: none)":{backgroundColor:(o.vars||o).palette.grey[300]},textDecoration:"none"},[`&.${Po.focusVisible}`]:{boxShadow:(o.vars||o).shadows[6]}},t.size==="small"&&{width:40,height:40},t.size==="medium"&&{width:48,height:48},t.variant==="extended"&&{borderRadius:48/2,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48},t.variant==="extended"&&t.size==="small"&&{width:"auto",padding:"0 8px",borderRadius:34/2,minWidth:34,height:34},t.variant==="extended"&&t.size==="medium"&&{width:"auto",padding:"0 16px",borderRadius:40/2,minWidth:40,height:40},t.color==="inherit"&&{color:"inherit"})},({theme:o,ownerState:t})=>n({},t.color!=="inherit"&&t.color!=="default"&&(o.vars||o).palette[t.color]!=null&&{color:(o.vars||o).palette[t.color].contrastText,backgroundColor:(o.vars||o).palette[t.color].main,"&:hover":{backgroundColor:(o.vars||o).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(o.vars||o).palette[t.color].main}}}),({theme:o})=>({[`&.${Po.disabled}`]:{color:(o.vars||o).palette.action.disabled,boxShadow:(o.vars||o).shadows[0],backgroundColor:(o.vars||o).palette.action.disabledBackground}})),Na=C.forwardRef(function(t,e){const a=O({props:t,name:"MuiFab"}),{children:r,className:s,color:p="default",component:i="button",disabled:d=!1,disableFocusRipple:f=!1,focusVisibleClassName:b,size:g="large",variant:m="circular"}=a,x=S(a,Ft),c=n({},a,{color:p,component:i,disabled:d,disableFocusRipple:f,size:g,variant:m}),v=_t(c);return l.jsx(Ht,n({className:L(v.root,s),component:i,disabled:d,focusRipple:!f,focusVisibleClassName:L(v.focusVisible,b),ownerState:c,ref:e},x,{classes:v,children:r}))});function Ut(o){return E("MuiInputAdornment",o)}const Ro=D("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var ko;const Wt=["children","className","component","disablePointerEvents","disableTypography","position","variant"],Vt=(o,t)=>{const{ownerState:e}=o;return[t.root,t[`position${k(e.position)}`],e.disablePointerEvents===!0&&t.disablePointerEvents,t[e.variant]]},qt=o=>{const{classes:t,disablePointerEvents:e,hiddenLabel:a,position:r,size:s,variant:p}=o,i={root:["root",e&&"disablePointerEvents",r&&`position${k(r)}`,p,a&&"hiddenLabel",s&&`size${k(s)}`]};return F(i,Ut,t)},Gt=$("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:Vt})(({theme:o,ownerState:t})=>n({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(o.vars||o).palette.action.active},t.variant==="filled"&&{[`&.${Ro.positionStart}&:not(.${Ro.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),Sa=C.forwardRef(function(t,e){const a=O({props:t,name:"MuiInputAdornment"}),{children:r,className:s,component:p="div",disablePointerEvents:i=!1,disableTypography:d=!1,position:f,variant:b}=a,g=S(a,Wt),m=it()||{};let x=b;b&&m.variant,m&&!x&&(x=m.variant);const c=n({},a,{hiddenLabel:m.hiddenLabel,size:m.size,disablePointerEvents:i,position:f,variant:x}),v=qt(c);return l.jsx(lt.Provider,{value:null,children:l.jsx(Gt,n({as:p,ownerState:c,className:L(v.root,s),ref:e},g,{children:typeof r=="string"&&!d?l.jsx(Wo,{color:"text.secondary",children:r}):l.jsxs(C.Fragment,{children:[f==="start"?ko||(ko=l.jsx("span",{className:"notranslate",children:"​"})):null,r]})}))})});function Kt(o){return E("MuiLinearProgress",o)}D("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const Xt=["className","color","value","valueBuffer","variant"];let X=o=>o,$o,Bo,Mo,Io,Lo,To;const ro=4,Yt=co($o||($o=X` + 0% { + left: -35%; + right: 100%; + } + + 60% { + left: 100%; + right: -90%; + } + + 100% { + left: 100%; + right: -90%; + } +`)),Jt=co(Bo||(Bo=X` + 0% { + left: -200%; + right: 100%; + } + + 60% { + left: 107%; + right: -8%; + } + + 100% { + left: 107%; + right: -8%; + } +`)),Qt=co(Mo||(Mo=X` + 0% { + opacity: 1; + background-position: 0 -23px; + } + + 60% { + opacity: 0; + background-position: 0 -23px; + } + + 100% { + opacity: 1; + background-position: -200px -23px; + } +`)),Zt=o=>{const{classes:t,variant:e,color:a}=o,r={root:["root",`color${k(a)}`,e],dashed:["dashed",`dashedColor${k(a)}`],bar1:["bar",`barColor${k(a)}`,(e==="indeterminate"||e==="query")&&"bar1Indeterminate",e==="determinate"&&"bar1Determinate",e==="buffer"&&"bar1Buffer"],bar2:["bar",e!=="buffer"&&`barColor${k(a)}`,e==="buffer"&&`color${k(a)}`,(e==="indeterminate"||e==="query")&&"bar2Indeterminate",e==="buffer"&&"bar2Buffer"]};return F(r,Kt,t)},bo=(o,t)=>t==="inherit"?"currentColor":o.vars?o.vars.palette.LinearProgress[`${t}Bg`]:o.palette.mode==="light"?ct(o.palette[t].main,.62):dt(o.palette[t].main,.5),oe=$("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:e}=o;return[t.root,t[`color${k(e.color)}`],t[e.variant]]}})(({ownerState:o,theme:t})=>n({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:bo(t,o.color)},o.color==="inherit"&&o.variant!=="buffer"&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},o.variant==="buffer"&&{backgroundColor:"transparent"},o.variant==="query"&&{transform:"rotate(180deg)"})),te=$("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(o,t)=>{const{ownerState:e}=o;return[t.dashed,t[`dashedColor${k(e.color)}`]]}})(({ownerState:o,theme:t})=>{const e=bo(t,o.color);return n({position:"absolute",marginTop:0,height:"100%",width:"100%"},o.color==="inherit"&&{opacity:.3},{backgroundImage:`radial-gradient(${e} 0%, ${e} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},uo(Io||(Io=X` + animation: ${0} 3s infinite linear; + `),Qt)),ee=$("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(o,t)=>{const{ownerState:e}=o;return[t.bar,t[`barColor${k(e.color)}`],(e.variant==="indeterminate"||e.variant==="query")&&t.bar1Indeterminate,e.variant==="determinate"&&t.bar1Determinate,e.variant==="buffer"&&t.bar1Buffer]}})(({ownerState:o,theme:t})=>n({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:o.color==="inherit"?"currentColor":(t.vars||t).palette[o.color].main},o.variant==="determinate"&&{transition:`transform .${ro}s linear`},o.variant==="buffer"&&{zIndex:1,transition:`transform .${ro}s linear`}),({ownerState:o})=>(o.variant==="indeterminate"||o.variant==="query")&&uo(Lo||(Lo=X` + width: auto; + animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; + `),Yt)),ae=$("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(o,t)=>{const{ownerState:e}=o;return[t.bar,t[`barColor${k(e.color)}`],(e.variant==="indeterminate"||e.variant==="query")&&t.bar2Indeterminate,e.variant==="buffer"&&t.bar2Buffer]}})(({ownerState:o,theme:t})=>n({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},o.variant!=="buffer"&&{backgroundColor:o.color==="inherit"?"currentColor":(t.vars||t).palette[o.color].main},o.color==="inherit"&&{opacity:.3},o.variant==="buffer"&&{backgroundColor:bo(t,o.color),transition:`transform .${ro}s linear`}),({ownerState:o})=>(o.variant==="indeterminate"||o.variant==="query")&&uo(To||(To=X` + width: auto; + animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; + `),Jt)),za=C.forwardRef(function(t,e){const a=O({props:t,name:"MuiLinearProgress"}),{className:r,color:s="primary",value:p,valueBuffer:i,variant:d="indeterminate"}=a,f=S(a,Xt),b=n({},a,{color:s,variant:d}),g=Zt(b),m=oo(),x={},c={bar1:{},bar2:{}};if((d==="determinate"||d==="buffer")&&p!==void 0){x["aria-valuenow"]=Math.round(p),x["aria-valuemin"]=0,x["aria-valuemax"]=100;let v=p-100;m&&(v=-v),c.bar1.transform=`translateX(${v}%)`}if(d==="buffer"&&i!==void 0){let v=(i||0)-100;m&&(v=-v),c.bar2.transform=`translateX(${v}%)`}return l.jsxs(oe,n({className:L(g.root,r),ownerState:b,role:"progressbar"},x,{ref:e},f,{children:[d==="buffer"?l.jsx(te,{className:g.dashed,ownerState:b}):null,l.jsx(ee,{className:g.bar1,ownerState:b,style:c.bar1}),d==="determinate"?null:l.jsx(ae,{className:g.bar2,ownerState:b,style:c.bar2})]}))});function ne(o){return E("MuiLink",o)}const re=D("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),Go={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},se=o=>Go[o]||o,ie=({theme:o,ownerState:t})=>{const e=se(t.color),a=mo(o,`palette.${e}`,!1)||t.color,r=mo(o,`palette.${e}Channel`);return"vars"in o&&r?`rgba(${r} / 0.4)`:U(a,.4)},le=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],ce=o=>{const{classes:t,component:e,focusVisible:a,underline:r}=o,s={root:["root",`underline${k(r)}`,e==="button"&&"button",a&&"focusVisible"]};return F(s,ne,t)},de=$(Wo,{name:"MuiLink",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:e}=o;return[t.root,t[`underline${k(e.underline)}`],e.component==="button"&&t.button]}})(({theme:o,ownerState:t})=>n({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&n({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:ie({theme:o,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${re.focusVisible}`]:{outline:"auto"}})),ja=C.forwardRef(function(t,e){const a=O({props:t,name:"MuiLink"}),{className:r,color:s="primary",component:p="a",onBlur:i,onFocus:d,TypographyClasses:f,underline:b="always",variant:g="inherit",sx:m}=a,x=S(a,le),{isFocusVisibleRef:c,onBlur:v,onFocus:B,ref:u}=ut(),[h,y]=C.useState(!1),T=Fo(e,u),I=R=>{v(R),c.current===!1&&y(!1),i&&i(R)},P=R=>{B(R),c.current===!0&&y(!0),d&&d(R)},z=n({},a,{color:s,component:p,focusVisible:h,underline:b,variant:g}),M=ce(z);return l.jsx(de,n({color:s,className:L(M.root,r),classes:f,component:p,onBlur:I,onFocus:P,ref:T,ownerState:z,variant:g,sx:[...Object.keys(Go).includes(s)?[]:[{color:s}],...Array.isArray(m)?m:[m]]},x))});function ue(o){return E("MuiPagination",o)}D("MuiPagination",["root","ul","outlined","text"]);const pe=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];function be(o={}){const{boundaryCount:t=1,componentName:e="usePagination",count:a=1,defaultPage:r=1,disabled:s=!1,hideNextButton:p=!1,hidePrevButton:i=!1,onChange:d,page:f,showFirstButton:b=!1,showLastButton:g=!1,siblingCount:m=1}=o,x=S(o,pe),[c,v]=pt({controlled:f,default:r,name:e,state:"page"}),B=(R,w)=>{f||v(w),d&&d(R,w)},u=(R,w)=>{const A=w-R+1;return Array.from({length:A},(N,j)=>R+j)},h=u(1,Math.min(t,a)),y=u(Math.max(a-t+1,t+1),a),T=Math.max(Math.min(c-m,a-t-m*2-1),t+2),I=Math.min(Math.max(c+m,t+m*2+2),y.length>0?y[0]-2:a-1),P=[...b?["first"]:[],...i?[]:["previous"],...h,...T>t+2?["start-ellipsis"]:t+1t?[a-t]:[],...y,...p?[]:["next"],...g?["last"]:[]],z=R=>{switch(R){case"first":return 1;case"previous":return c-1;case"next":return c+1;case"last":return a;default:return null}},M=P.map(R=>typeof R=="number"?{onClick:w=>{B(w,R)},type:"page",page:R,selected:R===c,disabled:s,"aria-current":R===c?"true":void 0}:{onClick:w=>{B(w,z(R))},type:R,page:z(R),selected:!1,disabled:s||R.indexOf("ellipsis")===-1&&(R==="next"||R==="last"?c>=a:c<=1)});return n({items:M},x)}function fe(o){return E("MuiPaginationItem",o)}const H=D("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]),so=J(l.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),io=J(l.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),wo=J(l.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),No=J(l.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),ge=["className","color","component","components","disabled","page","selected","shape","size","slots","type","variant"],Ko=(o,t)=>{const{ownerState:e}=o;return[t.root,t[e.variant],t[`size${k(e.size)}`],e.variant==="text"&&t[`text${k(e.color)}`],e.variant==="outlined"&&t[`outlined${k(e.color)}`],e.shape==="rounded"&&t.rounded,e.type==="page"&&t.page,(e.type==="start-ellipsis"||e.type==="end-ellipsis")&&t.ellipsis,(e.type==="previous"||e.type==="next")&&t.previousNext,(e.type==="first"||e.type==="last")&&t.firstLast]},ve=o=>{const{classes:t,color:e,disabled:a,selected:r,size:s,shape:p,type:i,variant:d}=o,f={root:["root",`size${k(s)}`,d,p,e!=="standard"&&`color${k(e)}`,e!=="standard"&&`${d}${k(e)}`,a&&"disabled",r&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[i]],icon:["icon"]};return F(f,fe,t)},me=$("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:Ko})(({theme:o,ownerState:t})=>n({},o.typography.body2,{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(o.vars||o).palette.text.primary,height:"auto",[`&.${H.disabled}`]:{opacity:(o.vars||o).palette.action.disabledOpacity}},t.size==="small"&&{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"},t.size==="large"&&{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:o.typography.pxToRem(15)})),he=$(lo,{name:"MuiPaginationItem",slot:"Root",overridesResolver:Ko})(({theme:o,ownerState:t})=>n({},o.typography.body2,{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(o.vars||o).palette.text.primary,[`&.${H.focusVisible}`]:{backgroundColor:(o.vars||o).palette.action.focus},[`&.${H.disabled}`]:{opacity:(o.vars||o).palette.action.disabledOpacity},transition:o.transitions.create(["color","background-color"],{duration:o.transitions.duration.short}),"&:hover":{backgroundColor:(o.vars||o).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${H.selected}`]:{backgroundColor:(o.vars||o).palette.action.selected,"&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette.action.selectedChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.hoverOpacity}))`:U(o.palette.action.selected,o.palette.action.selectedOpacity+o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(o.vars||o).palette.action.selected}},[`&.${H.focusVisible}`]:{backgroundColor:o.vars?`rgba(${o.vars.palette.action.selectedChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.focusOpacity}))`:U(o.palette.action.selected,o.palette.action.selectedOpacity+o.palette.action.focusOpacity)},[`&.${H.disabled}`]:{opacity:1,color:(o.vars||o).palette.action.disabled,backgroundColor:(o.vars||o).palette.action.selected}}},t.size==="small"&&{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"},t.size==="large"&&{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:o.typography.pxToRem(15)},t.shape==="rounded"&&{borderRadius:(o.vars||o).shape.borderRadius}),({theme:o,ownerState:t})=>n({},t.variant==="text"&&{[`&.${H.selected}`]:n({},t.color!=="standard"&&{color:(o.vars||o).palette[t.color].contrastText,backgroundColor:(o.vars||o).palette[t.color].main,"&:hover":{backgroundColor:(o.vars||o).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(o.vars||o).palette[t.color].main}},[`&.${H.focusVisible}`]:{backgroundColor:(o.vars||o).palette[t.color].dark}},{[`&.${H.disabled}`]:{color:(o.vars||o).palette.action.disabled}})},t.variant==="outlined"&&{border:o.vars?`1px solid rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${o.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${H.selected}`]:n({},t.color!=="standard"&&{color:(o.vars||o).palette[t.color].main,border:`1px solid ${o.vars?`rgba(${o.vars.palette[t.color].mainChannel} / 0.5)`:U(o.palette[t.color].main,.5)}`,backgroundColor:o.vars?`rgba(${o.vars.palette[t.color].mainChannel} / ${o.vars.palette.action.activatedOpacity})`:U(o.palette[t.color].main,o.palette.action.activatedOpacity),"&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette[t.color].mainChannel} / calc(${o.vars.palette.action.activatedOpacity} + ${o.vars.palette.action.focusOpacity}))`:U(o.palette[t.color].main,o.palette.action.activatedOpacity+o.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${H.focusVisible}`]:{backgroundColor:o.vars?`rgba(${o.vars.palette[t.color].mainChannel} / calc(${o.vars.palette.action.activatedOpacity} + ${o.vars.palette.action.focusOpacity}))`:U(o.palette[t.color].main,o.palette.action.activatedOpacity+o.palette.action.focusOpacity)}},{[`&.${H.disabled}`]:{borderColor:(o.vars||o).palette.action.disabledBackground,color:(o.vars||o).palette.action.disabled}})})),xe=$("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(o,t)=>t.icon})(({theme:o,ownerState:t})=>n({fontSize:o.typography.pxToRem(20),margin:"0 -8px"},t.size==="small"&&{fontSize:o.typography.pxToRem(18)},t.size==="large"&&{fontSize:o.typography.pxToRem(22)})),ye=C.forwardRef(function(t,e){const a=O({props:t,name:"MuiPaginationItem"}),{className:r,color:s="standard",component:p,components:i={},disabled:d=!1,page:f,selected:b=!1,shape:g="circular",size:m="medium",slots:x={},type:c="page",variant:v="text"}=a,B=S(a,ge),u=n({},a,{color:s,disabled:d,selected:b,shape:g,size:m,type:c,variant:v}),h=oo(),y=ve(u),I=(h?{previous:x.next||i.next||No,next:x.previous||i.previous||wo,last:x.first||i.first||so,first:x.last||i.last||io}:{previous:x.previous||i.previous||wo,next:x.next||i.next||No,first:x.first||i.first||so,last:x.last||i.last||io})[c];return c==="start-ellipsis"||c==="end-ellipsis"?l.jsx(me,{ref:e,ownerState:u,className:L(y.root,r),children:"…"}):l.jsxs(he,n({ref:e,ownerState:u,component:p,disabled:d,className:L(y.root,r)},B,{children:[c==="page"&&f,I?l.jsx(xe,{as:I,ownerState:u,className:y.icon}):null]}))}),Ce=["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"],Pe=o=>{const{classes:t,variant:e}=o;return F({root:["root",e],ul:["ul"]},ue,t)},Re=$("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:e}=o;return[t.root,t[e.variant]]}})({}),ke=$("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(o,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function $e(o,t,e){return o==="page"?`${e?"":"Go to "}page ${t}`:`Go to ${o} page`}const Aa=C.forwardRef(function(t,e){const a=O({props:t,name:"MuiPagination"}),{boundaryCount:r=1,className:s,color:p="standard",count:i=1,defaultPage:d=1,disabled:f=!1,getItemAriaLabel:b=$e,hideNextButton:g=!1,hidePrevButton:m=!1,renderItem:x=M=>l.jsx(ye,n({},M)),shape:c="circular",showFirstButton:v=!1,showLastButton:B=!1,siblingCount:u=1,size:h="medium",variant:y="text"}=a,T=S(a,Ce),{items:I}=be(n({},a,{componentName:"Pagination"})),P=n({},a,{boundaryCount:r,color:p,count:i,defaultPage:d,disabled:f,getItemAriaLabel:b,hideNextButton:g,hidePrevButton:m,renderItem:x,shape:c,showFirstButton:v,showLastButton:B,siblingCount:u,size:h,variant:y}),z=Pe(P);return l.jsx(Re,n({"aria-label":"pagination navigation",className:L(z.root,s),ownerState:P,ref:e},T,{children:l.jsx(ke,{className:z.ul,ownerState:P,children:I.map((M,R)=>l.jsx("li",{children:x(n({},M,{color:p,"aria-label":b(M.type,M.page,M.selected),shape:c,size:h,variant:y}))},R))})}))});function Be(o){return E("MuiScopedCssBaseline",o)}D("MuiScopedCssBaseline",["root"]);const Me=["className","component","enableColorScheme"],Ie=o=>{const{classes:t}=o;return F({root:["root"]},Be,t)},Le=$("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:(o,t)=>t.root})(({theme:o,ownerState:t})=>{const e={};return t.enableColorScheme&&o.colorSchemes&&Object.entries(o.colorSchemes).forEach(([a,r])=>{var s;e[`&${o.getColorSchemeSelector(a).replace(/\s*&/,"")}`]={colorScheme:(s=r.palette)==null?void 0:s.mode}}),n({},Lt(o,t.enableColorScheme),Tt(o),{"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:o.typography.fontWeightBold}},e)}),Da=C.forwardRef(function(t,e){const a=O({props:t,name:"MuiScopedCssBaseline"}),{className:r,component:s="div"}=a,p=S(a,Me),i=n({},a,{component:s}),d=Ie(i);return l.jsx(Le,n({as:s,className:L(d.root,r),ref:e,ownerState:i},p))});function Te(o={}){const{autoHideDuration:t=null,disableWindowBlurListener:e=!1,onClose:a,open:r,resumeHideDuration:s}=o,p=bt();C.useEffect(()=>{if(!r)return;function u(h){h.defaultPrevented||(h.key==="Escape"||h.key==="Esc")&&(a==null||a(h,"escapeKeyDown"))}return document.addEventListener("keydown",u),()=>{document.removeEventListener("keydown",u)}},[r,a]);const i=ao((u,h)=>{a==null||a(u,h)}),d=ao(u=>{!a||u==null||p.start(u,()=>{i(null,"timeout")})});C.useEffect(()=>(r&&d(t),p.clear),[r,t,d,p]);const f=u=>{a==null||a(u,"clickaway")},b=p.clear,g=C.useCallback(()=>{t!=null&&d(s??t*.5)},[t,s,d]),m=u=>h=>{const y=u.onBlur;y==null||y(h),g()},x=u=>h=>{const y=u.onFocus;y==null||y(h),b()},c=u=>h=>{const y=u.onMouseEnter;y==null||y(h),b()},v=u=>h=>{const y=u.onMouseLeave;y==null||y(h),g()};return C.useEffect(()=>{if(!e&&r)return window.addEventListener("focus",g),window.addEventListener("blur",b),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",b)}},[e,r,g,b]),{getRootProps:(u={})=>{const h=n({},ho(o),ho(u));return n({role:"presentation"},u,h,{onBlur:m(h),onFocus:x(h),onMouseEnter:c(h),onMouseLeave:v(h)})},onClickAway:f}}function we(o){return E("MuiSnackbarContent",o)}D("MuiSnackbarContent",["root","message","action"]);const Ne=["action","className","message","role"],Se=o=>{const{classes:t}=o;return F({root:["root"],action:["action"],message:["message"]},we,t)},ze=$(Ho,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(o,t)=>t.root})(({theme:o})=>{const t=o.palette.mode==="light"?.8:.98,e=ft(o.palette.background.default,t);return n({},o.typography.body2,{color:o.vars?o.vars.palette.SnackbarContent.color:o.palette.getContrastText(e),backgroundColor:o.vars?o.vars.palette.SnackbarContent.bg:e,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(o.vars||o).shape.borderRadius,flexGrow:1,[o.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),je=$("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(o,t)=>t.message})({padding:"8px 0"}),Ae=$("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(o,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),De=C.forwardRef(function(t,e){const a=O({props:t,name:"MuiSnackbarContent"}),{action:r,className:s,message:p,role:i="alert"}=a,d=S(a,Ne),f=a,b=Se(f);return l.jsxs(ze,n({role:i,square:!0,elevation:6,className:L(b.root,s),ownerState:f,ref:e},d,{children:[l.jsx(je,{className:b.message,ownerState:f,children:p}),r?l.jsx(Ae,{className:b.action,ownerState:f,children:r}):null]}))});function Ee(o){return E("MuiSnackbar",o)}D("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const Oe=["onEnter","onExited"],Fe=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],_e=o=>{const{classes:t,anchorOrigin:e}=o,a={root:["root",`anchorOrigin${k(e.vertical)}${k(e.horizontal)}`]};return F(a,Ee,t)},So=$("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:e}=o;return[t.root,t[`anchorOrigin${k(e.anchorOrigin.vertical)}${k(e.anchorOrigin.horizontal)}`]]}})(({theme:o,ownerState:t})=>{const e={left:"50%",right:"auto",transform:"translateX(-50%)"};return n({zIndex:(o.vars||o).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},t.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},t.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},t.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[o.breakpoints.up("sm")]:n({},t.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},t.anchorOrigin.horizontal==="center"&&e,t.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},t.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),Ea=C.forwardRef(function(t,e){const a=O({props:t,name:"MuiSnackbar"}),r=Uo(),s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{action:p,anchorOrigin:{vertical:i,horizontal:d}={vertical:"bottom",horizontal:"left"},autoHideDuration:f=null,children:b,className:g,ClickAwayListenerProps:m,ContentProps:x,disableWindowBlurListener:c=!1,message:v,open:B,TransitionComponent:u=vt,transitionDuration:h=s,TransitionProps:{onEnter:y,onExited:T}={}}=a,I=S(a.TransitionProps,Oe),P=S(a,Fe),z=n({},a,{anchorOrigin:{vertical:i,horizontal:d},autoHideDuration:f,disableWindowBlurListener:c,TransitionComponent:u,transitionDuration:h}),M=_e(z),{getRootProps:R,onClickAway:w}=Te(n({},z)),[A,N]=C.useState(!0),j=gt({elementType:So,getSlotProps:R,externalForwardedProps:P,ownerState:z,additionalProps:{ref:e},className:[M.root,g]}),V=W=>{N(!0),T&&T(W)},q=(W,G)=>{N(!1),y&&y(W,G)};return!B&&A?null:l.jsx(It,n({onClickAway:w},m,{children:l.jsx(So,n({},j,{children:l.jsx(u,n({appear:!0,in:B,timeout:h,direction:i==="top"?"down":"up",onEnter:q,onExited:V},I,{children:b||l.jsx(De,n({message:v,action:p},x))}))}))}))});function He(o){return E("MuiTable",o)}D("MuiTable",["root","stickyHeader"]);const Ue=["className","component","padding","size","stickyHeader"],We=o=>{const{classes:t,stickyHeader:e}=o;return F({root:["root",e&&"stickyHeader"]},He,t)},Ve=$("table",{name:"MuiTable",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:e}=o;return[t.root,e.stickyHeader&&t.stickyHeader]}})(({theme:o,ownerState:t})=>n({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":n({},o.typography.body2,{padding:o.spacing(2),color:(o.vars||o).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),zo="table",Oa=C.forwardRef(function(t,e){const a=O({props:t,name:"MuiTable"}),{className:r,component:s=zo,padding:p="normal",size:i="medium",stickyHeader:d=!1}=a,f=S(a,Ue),b=n({},a,{component:s,padding:p,size:i,stickyHeader:d}),g=We(b),m=C.useMemo(()=>({padding:p,size:i,stickyHeader:d}),[p,i,d]);return l.jsx(mt.Provider,{value:m,children:l.jsx(Ve,n({as:s,role:s===zo?null:"table",ref:e,className:L(g.root,r),ownerState:b},f))})});function qe(o){return E("MuiTableBody",o)}D("MuiTableBody",["root"]);const Ge=["className","component"],Ke=o=>{const{classes:t}=o;return F({root:["root"]},qe,t)},Xe=$("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(o,t)=>t.root})({display:"table-row-group"}),Ye={variant:"body"},jo="tbody",Fa=C.forwardRef(function(t,e){const a=O({props:t,name:"MuiTableBody"}),{className:r,component:s=jo}=a,p=S(a,Ge),i=n({},a,{component:s}),d=Ke(i);return l.jsx(po.Provider,{value:Ye,children:l.jsx(Xe,n({className:L(d.root,r),as:s,ref:e,role:s===jo?null:"rowgroup",ownerState:i},p))})});function Je(o){return E("MuiTableHead",o)}D("MuiTableHead",["root"]);const Qe=["className","component"],Ze=o=>{const{classes:t}=o;return F({root:["root"]},Je,t)},oa=$("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(o,t)=>t.root})({display:"table-header-group"}),ta={variant:"head"},Ao="thead",_a=C.forwardRef(function(t,e){const a=O({props:t,name:"MuiTableHead"}),{className:r,component:s=Ao}=a,p=S(a,Qe),i=n({},a,{component:s}),d=Ze(i);return l.jsx(po.Provider,{value:ta,children:l.jsx(oa,n({as:s,className:L(d.root,r),ref:e,role:s===Ao?null:"rowgroup",ownerState:i},p))})}),ea=["backIconButtonProps","count","disabled","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton","slots","slotProps"],aa=C.forwardRef(function(t,e){var a,r,s,p,i,d,f,b;const{backIconButtonProps:g,count:m,disabled:x=!1,getItemAriaLabel:c,nextIconButtonProps:v,onPageChange:B,page:u,rowsPerPage:h,showFirstButton:y,showLastButton:T,slots:I={},slotProps:P={}}=t,z=S(t,ea),M=oo(),R=K=>{B(K,0)},w=K=>{B(K,u-1)},A=K=>{B(K,u+1)},N=K=>{B(K,Math.max(0,Math.ceil(m/h)-1))},j=(a=I.firstButton)!=null?a:Z,V=(r=I.lastButton)!=null?r:Z,q=(s=I.nextButton)!=null?s:Z,W=(p=I.previousButton)!=null?p:Z,G=(i=I.firstButtonIcon)!=null?i:so,Q=(d=I.lastButtonIcon)!=null?d:io,_=(f=I.nextButtonIcon)!=null?f:ht,fo=(b=I.previousButtonIcon)!=null?b:xt,Xo=M?V:j,Yo=M?q:W,Jo=M?W:q,Qo=M?j:V,Zo=M?P.lastButton:P.firstButton,go=M?P.nextButton:P.previousButton,vo=M?P.previousButton:P.nextButton,ot=M?P.firstButton:P.lastButton;return l.jsxs("div",n({ref:e},z,{children:[y&&l.jsx(Xo,n({onClick:R,disabled:x||u===0,"aria-label":c("first",u),title:c("first",u)},Zo,{children:M?l.jsx(Q,n({},P.lastButtonIcon)):l.jsx(G,n({},P.firstButtonIcon))})),l.jsx(Yo,n({onClick:w,disabled:x||u===0,color:"inherit","aria-label":c("previous",u),title:c("previous",u)},go??g,{children:M?l.jsx(_,n({},P.nextButtonIcon)):l.jsx(fo,n({},P.previousButtonIcon))})),l.jsx(Jo,n({onClick:A,disabled:x||(m!==-1?u>=Math.ceil(m/h)-1:!1),color:"inherit","aria-label":c("next",u),title:c("next",u)},vo??v,{children:M?l.jsx(fo,n({},P.previousButtonIcon)):l.jsx(_,n({},P.nextButtonIcon))})),T&&l.jsx(Qo,n({onClick:N,disabled:x||u>=Math.ceil(m/h)-1,"aria-label":c("last",u),title:c("last",u)},ot,{children:M?l.jsx(G,n({},P.firstButtonIcon)):l.jsx(Q,n({},P.lastButtonIcon))}))]}))});function na(o){return E("MuiTablePagination",o)}const Y=D("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var Do;const ra=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","disabled","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton","slotProps","slots"],sa=$(no,{name:"MuiTablePagination",slot:"Root",overridesResolver:(o,t)=>t.root})(({theme:o})=>({overflow:"auto",color:(o.vars||o).palette.text.primary,fontSize:o.typography.pxToRem(14),"&:last-child":{padding:0}})),ia=$(yt,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(o,t)=>n({[`& .${Y.actions}`]:t.actions},t.toolbar)})(({theme:o})=>({minHeight:52,paddingRight:2,[`${o.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[o.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${Y.actions}`]:{flexShrink:0,marginLeft:20}})),la=$("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(o,t)=>t.spacer})({flex:"1 1 100%"}),ca=$("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(o,t)=>t.selectLabel})(({theme:o})=>n({},o.typography.body2,{flexShrink:0})),da=$(Ct,{name:"MuiTablePagination",slot:"Select",overridesResolver:(o,t)=>n({[`& .${Y.selectIcon}`]:t.selectIcon,[`& .${Y.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${Y.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),ua=$(Pt,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(o,t)=>t.menuItem})({}),pa=$("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(o,t)=>t.displayedRows})(({theme:o})=>n({},o.typography.body2,{flexShrink:0}));function ba({from:o,to:t,count:e}){return`${o}–${t} of ${e!==-1?e:`more than ${t}`}`}function fa(o){return`Go to ${o} page`}const ga=o=>{const{classes:t}=o;return F({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},na,t)},Ha=C.forwardRef(function(t,e){var a;const r=O({props:t,name:"MuiTablePagination"}),{ActionsComponent:s=aa,backIconButtonProps:p,className:i,colSpan:d,component:f=no,count:b,disabled:g=!1,getItemAriaLabel:m=fa,labelDisplayedRows:x=ba,labelRowsPerPage:c="Rows per page:",nextIconButtonProps:v,onPageChange:B,onRowsPerPageChange:u,page:h,rowsPerPage:y,rowsPerPageOptions:T=[10,25,50,100],SelectProps:I={},showFirstButton:P=!1,showLastButton:z=!1,slotProps:M={},slots:R={}}=r,w=S(r,ra),A=r,N=ga(A),j=(a=M==null?void 0:M.select)!=null?a:I,V=j.native?"option":ua;let q;(f===no||f==="td")&&(q=d||1e3);const W=xo(j.id),G=xo(j.labelId),Q=()=>b===-1?(h+1)*y:y===-1?b:Math.min(b,(h+1)*y);return l.jsx(sa,n({colSpan:q,ref:e,as:f,ownerState:A,className:L(N.root,i)},w,{children:l.jsxs(ia,{className:N.toolbar,children:[l.jsx(la,{className:N.spacer}),T.length>1&&l.jsx(ca,{className:N.selectLabel,id:G,children:c}),T.length>1&&l.jsx(da,n({variant:"standard"},!j.variant&&{input:Do||(Do=l.jsx(Rt,{}))},{value:y,onChange:u,id:W,labelId:G},j,{classes:n({},j.classes,{root:L(N.input,N.selectRoot,(j.classes||{}).root),select:L(N.select,(j.classes||{}).select),icon:L(N.selectIcon,(j.classes||{}).icon)}),disabled:g,children:T.map(_=>C.createElement(V,n({},!kt(V)&&{ownerState:A},{className:N.menuItem,key:_.label?_.label:_,value:_.value?_.value:_}),_.label?_.label:_))})),l.jsx(pa,{className:N.displayedRows,children:x({from:b===0?0:h*y+1,to:Q(),count:b===-1?-1:b,page:h})}),l.jsx(s,{className:N.actions,backIconButtonProps:p,count:b,nextIconButtonProps:v,onPageChange:B,page:h,rowsPerPage:y,showFirstButton:P,showLastButton:z,slotProps:M.actions,slots:R.actions,getItemAriaLabel:m,disabled:g})]})}))});function va(o){return E("MuiTableRow",o)}const Eo=D("MuiTableRow",["root","selected","hover","head","footer"]),ma=["className","component","hover","selected"],ha=o=>{const{classes:t,selected:e,hover:a,head:r,footer:s}=o;return F({root:["root",e&&"selected",a&&"hover",r&&"head",s&&"footer"]},va,t)},xa=$("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:e}=o;return[t.root,e.head&&t.head,e.footer&&t.footer]}})(({theme:o})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Eo.hover}:hover`]:{backgroundColor:(o.vars||o).palette.action.hover},[`&.${Eo.selected}`]:{backgroundColor:o.vars?`rgba(${o.vars.palette.primary.mainChannel} / ${o.vars.palette.action.selectedOpacity})`:U(o.palette.primary.main,o.palette.action.selectedOpacity),"&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette.primary.mainChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.hoverOpacity}))`:U(o.palette.primary.main,o.palette.action.selectedOpacity+o.palette.action.hoverOpacity)}}})),Oo="tr",Ua=C.forwardRef(function(t,e){const a=O({props:t,name:"MuiTableRow"}),{className:r,component:s=Oo,hover:p=!1,selected:i=!1}=a,d=S(a,ma),f=C.useContext(po),b=n({},a,{component:s,hover:p,selected:i,head:f&&f.variant==="head",footer:f&&f.variant==="footer"}),g=ha(b);return l.jsx(xa,n({as:s,ref:e,className:L(g.root,r),role:s===Oo?null:"row",ownerState:b},d))}),ya=J(l.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function Ca(o){return E("MuiTableSortLabel",o)}const eo=D("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]),Pa=["active","children","className","direction","hideSortIcon","IconComponent"],Ra=o=>{const{classes:t,direction:e,active:a}=o,r={root:["root",a&&"active"],icon:["icon",`iconDirection${k(e)}`]};return F(r,Ca,t)},ka=$(lo,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:e}=o;return[t.root,e.active&&t.active]}})(({theme:o})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(o.vars||o).palette.text.secondary},"&:hover":{color:(o.vars||o).palette.text.secondary,[`& .${eo.icon}`]:{opacity:.5}},[`&.${eo.active}`]:{color:(o.vars||o).palette.text.primary,[`& .${eo.icon}`]:{opacity:1,color:(o.vars||o).palette.text.secondary}}})),$a=$("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(o,t)=>{const{ownerState:e}=o;return[t.icon,t[`iconDirection${k(e.direction)}`]]}})(({theme:o,ownerState:t})=>n({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:o.transitions.create(["opacity","transform"],{duration:o.transitions.duration.shorter}),userSelect:"none"},t.direction==="desc"&&{transform:"rotate(0deg)"},t.direction==="asc"&&{transform:"rotate(180deg)"})),Wa=C.forwardRef(function(t,e){const a=O({props:t,name:"MuiTableSortLabel"}),{active:r=!1,children:s,className:p,direction:i="asc",hideSortIcon:d=!1,IconComponent:f=ya}=a,b=S(a,Pa),g=n({},a,{active:r,direction:i,hideSortIcon:d,IconComponent:f}),m=Ra(g);return l.jsxs(ka,n({className:L(m.root,p),component:"span",disableRipple:!0,ownerState:g,ref:e},b,{children:[s,d&&!r?null:l.jsx($a,{as:f,className:L(m.icon),ownerState:g})]}))});export{Ta as B,wa as D,Na as F,Sa as I,za as L,Aa as P,Ea as S,Ua as T,Fa as a,Wa as b,Oa as c,_a as d,Ha as e,ja as f,Da as g,La as h,Ia as i}; diff --git a/dist/assets/ra-DIZQUvlb.js b/dist/assets/ra-DIZQUvlb.js new file mode 100644 index 0000000..5b0afcd --- /dev/null +++ b/dist/assets/ra-DIZQUvlb.js @@ -0,0 +1,95 @@ +var Xv=e=>{throw TypeError(e)};var Ec=(e,t,r)=>t.has(e)||Xv("Cannot "+r);var k=(e,t,r)=>(Ec(e,t,"read from private field"),r?r.call(e):t.get(e)),ue=(e,t,r)=>t.has(e)?Xv("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Z=(e,t,r,n)=>(Ec(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),ve=(e,t,r)=>(Ec(e,t,"access private method"),r);var Wu=(e,t,r,n)=>({set _(i){Z(e,t,i,r)},get _(){return k(e,t,n)}});function qm(e,t){for(var r=0;rn[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var $o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Tt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function BV(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var Gm={exports:{}},_l={},Ym={exports:{}},ye={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Cu=Symbol.for("react.element"),nE=Symbol.for("react.portal"),iE=Symbol.for("react.fragment"),aE=Symbol.for("react.strict_mode"),oE=Symbol.for("react.profiler"),uE=Symbol.for("react.provider"),sE=Symbol.for("react.context"),lE=Symbol.for("react.forward_ref"),cE=Symbol.for("react.suspense"),fE=Symbol.for("react.memo"),dE=Symbol.for("react.lazy"),Zv=Symbol.iterator;function hE(e){return e===null||typeof e!="object"?null:(e=Zv&&e[Zv]||e["@@iterator"],typeof e=="function"?e:null)}var Jm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Xm=Object.assign,Zm={};function qa(e,t,r){this.props=e,this.context=t,this.refs=Zm,this.updater=r||Jm}qa.prototype.isReactComponent={};qa.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};qa.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function e0(){}e0.prototype=qa.prototype;function Qd(e,t,r){this.props=e,this.context=t,this.refs=Zm,this.updater=r||Jm}var qd=Qd.prototype=new e0;qd.constructor=Qd;Xm(qd,qa.prototype);qd.isPureReactComponent=!0;var ep=Array.isArray,t0=Object.prototype.hasOwnProperty,Gd={current:null},r0={key:!0,ref:!0,__self:!0,__source:!0};function n0(e,t,r){var n,i={},a=null,o=null;if(t!=null)for(n in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)t0.call(t,n)&&!r0.hasOwnProperty(n)&&(i[n]=t[n]);var s=arguments.length-2;if(s===1)i.children=r;else if(1>>1,te=U[ne];if(0>>1;nei(nt,J))Sei(Le,nt)?(U[ne]=Le,U[Se]=J,ne=Se):(U[ne]=nt,U[_e]=J,ne=_e);else if(Sei(Le,J))U[ne]=Le,U[Se]=J,ne=Se;else break e}}return V}function i(U,V){var J=U.sortIndex-V.sortIndex;return J!==0?J:U.id-V.id}if(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 l=[],u=[],c=1,f=null,h=3,w=!1,_=!1,b=!1,x=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(U){for(var V=r(u);V!==null;){if(V.callback===null)n(u);else if(V.startTime<=U)n(u),V.sortIndex=V.expirationTime,t(l,V);else break;V=r(u)}}function m(U){if(b=!1,p(U),!_)if(r(l)!==null)_=!0,q(S);else{var V=r(u);V!==null&&ie(m,V.startTime-U)}}function S(U,V){_=!1,b&&(b=!1,y(g),g=-1),w=!0;var J=h;try{for(p(V),f=r(l);f!==null&&(!(f.expirationTime>V)||U&&!T());){var ne=f.callback;if(typeof ne=="function"){f.callback=null,h=f.priorityLevel;var te=ne(f.expirationTime<=V);V=e.unstable_now(),typeof te=="function"?f.callback=te:f===r(l)&&n(l),p(V)}else n(l);f=r(l)}if(f!==null)var le=!0;else{var _e=r(u);_e!==null&&ie(m,_e.startTime-V),le=!1}return le}finally{f=null,h=J,w=!1}}var E=!1,C=null,g=-1,O=5,R=-1;function T(){return!(e.unstable_now()-RU||125ne?(U.sortIndex=J,t(u,U),r(l)===null&&U===r(u)&&(b?(y(g),g=-1):b=!0,ie(m,J-ne))):(U.sortIndex=te,t(l,U),_||w||(_=!0,q(S))),U},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(U){var V=h;return function(){var J=h;h=V;try{return U.apply(this,arguments)}finally{h=J}}}})(s0);u0.exports=s0;var OE=u0.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var PE=v,nr=OE;function W(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),wf=Object.prototype.hasOwnProperty,RE=/^[: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]*$/,rp={},np={};function $E(e){return wf.call(np,e)?!0:wf.call(rp,e)?!1:RE.test(e)?np[e]=!0:(rp[e]=!0,!1)}function kE(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function FE(e,t,r,n){if(t===null||typeof t>"u"||kE(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Mt(e,t,r,n,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var mt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){mt[e]=new Mt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];mt[t]=new Mt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){mt[e]=new Mt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){mt[e]=new Mt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){mt[e]=new Mt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){mt[e]=new Mt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){mt[e]=new Mt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){mt[e]=new Mt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){mt[e]=new Mt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Jd=/[\-:]([a-z])/g;function Xd(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Jd,Xd);mt[t]=new Mt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Jd,Xd);mt[t]=new Mt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Jd,Xd);mt[t]=new Mt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){mt[e]=new Mt(e,1,!1,e.toLowerCase(),null,!1,!1)});mt.xlinkHref=new Mt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){mt[e]=new Mt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Zd(e,t,r,n){var i=mt.hasOwnProperty(t)?mt[t]:null;(i!==null?i.type!==0:n||!(2s||i[o]!==a[s]){var l=` +`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{Cc=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?ko(e):""}function AE(e){switch(e.tag){case 5:return ko(e.type);case 16:return ko("Lazy");case 13:return ko("Suspense");case 19:return ko("SuspenseList");case 0:case 2:case 15:return e=Oc(e.type,!1),e;case 11:return e=Oc(e.type.render,!1),e;case 1:return e=Oc(e.type,!0),e;default:return""}}function bf(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ra:return"Fragment";case ta:return"Portal";case _f:return"Profiler";case eh:return"StrictMode";case Sf:return"Suspense";case Ef:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case f0:return(e.displayName||"Context")+".Consumer";case c0:return(e._context.displayName||"Context")+".Provider";case th:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case rh:return t=e.displayName||null,t!==null?t:bf(e.type)||"Memo";case bn:t=e._payload,e=e._init;try{return bf(e(t))}catch{}}return null}function TE(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";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 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return bf(t);case 8:return t===eh?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function qn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function h0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function LE(e){var t=h0(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&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(o){n=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(o){n=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Qu(e){e._valueTracker||(e._valueTracker=LE(e))}function v0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=h0(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function $s(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 xf(e,t){var r=t.checked;return Ge({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function ap(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=qn(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function p0(e,t){t=t.checked,t!=null&&Zd(e,"checked",t,!1)}function Cf(e,t){p0(e,t);var r=qn(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Of(e,t.type,r):t.hasOwnProperty("defaultValue")&&Of(e,t.type,qn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function op(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Of(e,t,r){(t!=="number"||$s(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Fo=Array.isArray;function ma(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=qu.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function eu(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Io={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ME=["Webkit","ms","Moz","O"];Object.keys(Io).forEach(function(e){ME.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Io[t]=Io[e]})});function w0(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Io.hasOwnProperty(e)&&Io[e]?(""+t).trim():t+"px"}function _0(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=w0(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var DE=Ge({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function $f(e,t){if(t){if(DE[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(W(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(W(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(W(61))}if(t.style!=null&&typeof t.style!="object")throw Error(W(62))}}function kf(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 Ff=null;function nh(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Af=null,wa=null,_a=null;function lp(e){if(e=Ru(e)){if(typeof Af!="function")throw Error(W(280));var t=e.stateNode;t&&(t=Cl(t),Af(e.stateNode,e.type,t))}}function S0(e){wa?_a?_a.push(e):_a=[e]:wa=e}function E0(){if(wa){var e=wa,t=_a;if(_a=wa=null,lp(e),t)for(e=0;e>>=0,e===0?32:31-(QE(e)/qE|0)|0}var Gu=64,Yu=4194304;function Ao(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ts(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,i=e.suspendedLanes,a=e.pingedLanes,o=r&268435455;if(o!==0){var s=o&~i;s!==0?n=Ao(s):(a&=o,a!==0&&(n=Ao(a)))}else o=r&~i,o!==0?n=Ao(o):a!==0&&(n=Ao(a));if(n===0)return 0;if(t!==0&&t!==n&&!(t&i)&&(i=n&-n,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function Ou(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Pr(t),e[t]=r}function XE(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=No),mp=" ",wp=!1;function V0(e,t){switch(e){case"keyup":return Ob.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function B0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var na=!1;function Rb(e,t){switch(e){case"compositionend":return B0(t);case"keypress":return t.which!==32?null:(wp=!0,mp);case"textInput":return e=t.data,e===mp&&wp?null:e;default:return null}}function $b(e,t){if(na)return e==="compositionend"||!fh&&V0(e,t)?(e=U0(),ys=sh=In=null,na=!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)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=bp(r)}}function Q0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Q0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function q0(){for(var e=window,t=$s();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=$s(e.document)}return t}function dh(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 jb(e){var t=q0(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&Q0(r.ownerDocument.documentElement,r)){if(n!==null&&dh(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=r.textContent.length,a=Math.min(n.start,i);n=n.end===void 0?a:Math.min(n.end,i),!e.extend&&a>n&&(i=n,n=a,a=i),i=xp(r,a);var o=xp(r,n);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,ia=null,jf=null,zo=null,Nf=!1;function Cp(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Nf||ia==null||ia!==$s(n)||(n=ia,"selectionStart"in n&&dh(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),zo&&ou(zo,n)||(zo=n,n=Ds(jf,"onSelect"),0ua||(e.current=Hf[ua],Hf[ua]=null,ua--)}function je(e,t){ua++,Hf[ua]=e.current,e.current=t}var Gn={},xt=Xn(Gn),Wt=Xn(!1),Li=Gn;function Na(e,t){var r=e.type.contextTypes;if(!r)return Gn;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in r)i[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ht(e){return e=e.childContextTypes,e!=null}function js(){Ve(Wt),Ve(xt)}function Ap(e,t,r){if(xt.current!==Gn)throw Error(W(168));je(xt,t),je(Wt,r)}function n1(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in t))throw Error(W(108,TE(e)||"Unknown",i));return Ge({},r,n)}function Ns(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gn,Li=xt.current,je(xt,e),je(Wt,Wt.current),!0}function Tp(e,t,r){var n=e.stateNode;if(!n)throw Error(W(169));r?(e=n1(e,t,Li),n.__reactInternalMemoizedMergedChildContext=e,Ve(Wt),Ve(xt),je(xt,e)):Ve(Wt),je(Wt,r)}var rn=null,Ol=!1,Uc=!1;function i1(e){rn===null?rn=[e]:rn.push(e)}function Yb(e){Ol=!0,i1(e)}function Zn(){if(!Uc&&rn!==null){Uc=!0;var e=0,t=Re;try{var r=rn;for(Re=1;e>=o,i-=o,an=1<<32-Pr(t)+i|r<g?(O=C,C=null):O=C.sibling;var R=h(y,C,p[g],m);if(R===null){C===null&&(C=O);break}e&&C&&R.alternate===null&&t(y,C),d=a(R,d,g),E===null?S=R:E.sibling=R,E=R,C=O}if(g===p.length)return r(y,C),He&&ci(y,g),S;if(C===null){for(;gg?(O=C,C=null):O=C.sibling;var T=h(y,C,R.value,m);if(T===null){C===null&&(C=O);break}e&&C&&T.alternate===null&&t(y,C),d=a(T,d,g),E===null?S=T:E.sibling=T,E=T,C=O}if(R.done)return r(y,C),He&&ci(y,g),S;if(C===null){for(;!R.done;g++,R=p.next())R=f(y,R.value,m),R!==null&&(d=a(R,d,g),E===null?S=R:E.sibling=R,E=R);return He&&ci(y,g),S}for(C=n(y,C);!R.done;g++,R=p.next())R=w(C,y,g,R.value,m),R!==null&&(e&&R.alternate!==null&&C.delete(R.key===null?g:R.key),d=a(R,d,g),E===null?S=R:E.sibling=R,E=R);return e&&C.forEach(function(L){return t(y,L)}),He&&ci(y,g),S}function x(y,d,p,m){if(typeof p=="object"&&p!==null&&p.type===ra&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case Ku:e:{for(var S=p.key,E=d;E!==null;){if(E.key===S){if(S=p.type,S===ra){if(E.tag===7){r(y,E.sibling),d=i(E,p.props.children),d.return=y,y=d;break e}}else if(E.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===bn&&Dp(S)===E.type){r(y,E.sibling),d=i(E,p.props),d.ref=So(y,E,p),d.return=y,y=d;break e}r(y,E);break}else t(y,E);E=E.sibling}p.type===ra?(d=Fi(p.props.children,y.mode,m,p.key),d.return=y,y=d):(m=xs(p.type,p.key,p.props,null,y.mode,m),m.ref=So(y,d,p),m.return=y,y=m)}return o(y);case ta:e:{for(E=p.key;d!==null;){if(d.key===E)if(d.tag===4&&d.stateNode.containerInfo===p.containerInfo&&d.stateNode.implementation===p.implementation){r(y,d.sibling),d=i(d,p.children||[]),d.return=y,y=d;break e}else{r(y,d);break}else t(y,d);d=d.sibling}d=qc(p,y.mode,m),d.return=y,y=d}return o(y);case bn:return E=p._init,x(y,d,E(p._payload),m)}if(Fo(p))return _(y,d,p,m);if(yo(p))return b(y,d,p,m);ns(y,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,d!==null&&d.tag===6?(r(y,d.sibling),d=i(d,p),d.return=y,y=d):(r(y,d),d=Qc(p,y.mode,m),d.return=y,y=d),o(y)):r(y,d)}return x}var za=s1(!0),l1=s1(!1),Vs=Xn(null),Bs=null,ca=null,yh=null;function gh(){yh=ca=Bs=null}function mh(e){var t=Vs.current;Ve(Vs),e._currentValue=t}function qf(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function Ea(e,t){Bs=e,yh=ca=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Bt=!0),e.firstContext=null)}function vr(e){var t=e._currentValue;if(yh!==e)if(e={context:e,memoizedValue:t,next:null},ca===null){if(Bs===null)throw Error(W(308));ca=e,Bs.dependencies={lanes:0,firstContext:e}}else ca=ca.next=e;return t}var mi=null;function wh(e){mi===null?mi=[e]:mi.push(e)}function c1(e,t,r,n){var i=t.interleaved;return i===null?(r.next=r,wh(t)):(r.next=i.next,i.next=r),t.interleaved=r,hn(e,n)}function hn(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var xn=!1;function _h(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function f1(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function sn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Wn(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,we&2){var i=n.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),n.pending=t,hn(e,r)}return i=n.interleaved,i===null?(t.next=t,wh(n)):(t.next=i.next,i.next=t),n.interleaved=t,hn(e,r)}function ms(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,ah(e,r)}}function Ip(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var o={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?i=a=o:a=a.next=o,r=r.next}while(r!==null);a===null?i=a=t:a=a.next=t}else i=a=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Ws(e,t,r,n){var i=e.updateQueue;xn=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var l=s,u=l.next;l.next=null,o===null?a=u:o.next=u,o=l;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==o&&(s===null?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(a!==null){var f=i.baseState;o=0,c=u=l=null,s=a;do{var h=s.lane,w=s.eventTime;if((n&h)===h){c!==null&&(c=c.next={eventTime:w,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var _=e,b=s;switch(h=t,w=r,b.tag){case 1:if(_=b.payload,typeof _=="function"){f=_.call(w,f,h);break e}f=_;break e;case 3:_.flags=_.flags&-65537|128;case 0:if(_=b.payload,h=typeof _=="function"?_.call(w,f,h):_,h==null)break e;f=Ge({},f,h);break e;case 2:xn=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[s]:h.push(s))}else w={eventTime:w,lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(u=c=w,l=f):c=c.next=w,o|=h;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;h=s,s=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(c===null&&(l=f),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);Ii|=o,e.lanes=o,e.memoizedState=f}}function jp(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var n=Vc.transition;Vc.transition={};try{e(!1),t()}finally{Re=r,Vc.transition=n}}function R1(){return pr().memoizedState}function ex(e,t,r){var n=Kn(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},$1(e))k1(t,r);else if(r=c1(e,t,r,n),r!==null){var i=At();Rr(r,e,n,i),F1(r,t,n)}}function tx(e,t,r){var n=Kn(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if($1(e))k1(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,r);if(i.hasEagerState=!0,i.eagerState=s,$r(s,o)){var l=t.interleaved;l===null?(i.next=i,wh(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}r=c1(e,t,i,n),r!==null&&(i=At(),Rr(r,e,n,i),F1(r,t,n))}}function $1(e){var t=e.alternate;return e===qe||t!==null&&t===qe}function k1(e,t){Vo=Ks=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function F1(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,ah(e,r)}}var Qs={readContext:vr,useCallback:_t,useContext:_t,useEffect:_t,useImperativeHandle:_t,useInsertionEffect:_t,useLayoutEffect:_t,useMemo:_t,useReducer:_t,useRef:_t,useState:_t,useDebugValue:_t,useDeferredValue:_t,useTransition:_t,useMutableSource:_t,useSyncExternalStore:_t,useId:_t,unstable_isNewReconciler:!1},rx={readContext:vr,useCallback:function(e,t){return Mr().memoizedState=[e,t===void 0?null:t],e},useContext:vr,useEffect:Up,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,_s(4194308,4,b1.bind(null,t,e),r)},useLayoutEffect:function(e,t){return _s(4194308,4,e,t)},useInsertionEffect:function(e,t){return _s(4,2,e,t)},useMemo:function(e,t){var r=Mr();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Mr();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=ex.bind(null,qe,e),[n.memoizedState,e]},useRef:function(e){var t=Mr();return e={current:e},t.memoizedState=e},useState:Np,useDebugValue:Rh,useDeferredValue:function(e){return Mr().memoizedState=e},useTransition:function(){var e=Np(!1),t=e[0];return e=Zb.bind(null,e[1]),Mr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=qe,i=Mr();if(He){if(r===void 0)throw Error(W(407));r=r()}else{if(r=t(),vt===null)throw Error(W(349));Di&30||p1(n,t,r)}i.memoizedState=r;var a={value:r,getSnapshot:t};return i.queue=a,Up(g1.bind(null,n,a,e),[e]),n.flags|=2048,vu(9,y1.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=Mr(),t=vt.identifierPrefix;if(He){var r=on,n=an;r=(n&~(1<<32-Pr(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=du++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=o.createElement(r,{is:n.is}):(e=o.createElement(r),r==="select"&&(o=e,n.multiple?o.multiple=!0:n.size&&(o.size=n.size))):e=o.createElementNS(e,r),e[zr]=t,e[lu]=n,z1(e,t,!1,!1),t.stateNode=e;e:{switch(o=kf(r,n),r){case"dialog":Ue("cancel",e),Ue("close",e),i=n;break;case"iframe":case"object":case"embed":Ue("load",e),i=n;break;case"video":case"audio":for(i=0;iWa&&(t.flags|=128,n=!0,Eo(a,!1),t.lanes=4194304)}else{if(!n)if(e=Hs(o),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Eo(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!He)return St(t),null}else 2*tt()-a.renderingStartTime>Wa&&r!==1073741824&&(t.flags|=128,n=!0,Eo(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(r=a.last,r!==null?r.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=tt(),t.sibling=null,r=Qe.current,je(Qe,n?r&1|2:r&1),t):(St(t),null);case 22:case 23:return Lh(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Zt&1073741824&&(St(t),t.subtreeFlags&6&&(t.flags|=8192)):St(t),null;case 24:return null;case 25:return null}throw Error(W(156,t.tag))}function cx(e,t){switch(vh(t),t.tag){case 1:return Ht(t.type)&&js(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Va(),Ve(Wt),Ve(xt),bh(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Eh(t),null;case 13:if(Ve(Qe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(W(340));Ua()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ve(Qe),null;case 4:return Va(),null;case 10:return mh(t.type._context),null;case 22:case 23:return Lh(),null;case 24:return null;default:return null}}var as=!1,bt=!1,fx=typeof WeakSet=="function"?WeakSet:Set,ee=null;function fa(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Xe(e,t,n)}else r.current=null}function nd(e,t,r){try{r()}catch(n){Xe(e,t,n)}}var Jp=!1;function dx(e,t){if(Uf=Ls,e=q0(),dh(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var o=0,s=-1,l=-1,u=0,c=0,f=e,h=null;t:for(;;){for(var w;f!==r||i!==0&&f.nodeType!==3||(s=o+i),f!==a||n!==0&&f.nodeType!==3||(l=o+n),f.nodeType===3&&(o+=f.nodeValue.length),(w=f.firstChild)!==null;)h=f,f=w;for(;;){if(f===e)break t;if(h===r&&++u===i&&(s=o),h===a&&++c===n&&(l=o),(w=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=w}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(zf={focusedElem:e,selectionRange:r},Ls=!1,ee=t;ee!==null;)if(t=ee,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ee=e;else for(;ee!==null;){t=ee;try{var _=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(_!==null){var b=_.memoizedProps,x=_.memoizedState,y=t.stateNode,d=y.getSnapshotBeforeUpdate(t.elementType===t.type?b:_r(t.type,b),x);y.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(W(163))}}catch(m){Xe(t,t.return,m)}if(e=t.sibling,e!==null){e.return=t.return,ee=e;break}ee=t.return}return _=Jp,Jp=!1,_}function Bo(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&nd(t,r,a)}i=i.next}while(i!==n)}}function $l(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function id(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function W1(e){var t=e.alternate;t!==null&&(e.alternate=null,W1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[zr],delete t[lu],delete t[Wf],delete t[qb],delete t[Gb])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function H1(e){return e.tag===5||e.tag===3||e.tag===4}function Xp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||H1(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.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 ad(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Is));else if(n!==4&&(e=e.child,e!==null))for(ad(e,t,r),e=e.sibling;e!==null;)ad(e,t,r),e=e.sibling}function od(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(od(e,t,r),e=e.sibling;e!==null;)od(e,t,r),e=e.sibling}var yt=null,Er=!1;function _n(e,t,r){for(r=r.child;r!==null;)K1(e,t,r),r=r.sibling}function K1(e,t,r){if(Wr&&typeof Wr.onCommitFiberUnmount=="function")try{Wr.onCommitFiberUnmount(Sl,r)}catch{}switch(r.tag){case 5:bt||fa(r,t);case 6:var n=yt,i=Er;yt=null,_n(e,t,r),yt=n,Er=i,yt!==null&&(Er?(e=yt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):yt.removeChild(r.stateNode));break;case 18:yt!==null&&(Er?(e=yt,r=r.stateNode,e.nodeType===8?Nc(e.parentNode,r):e.nodeType===1&&Nc(e,r),iu(e)):Nc(yt,r.stateNode));break;case 4:n=yt,i=Er,yt=r.stateNode.containerInfo,Er=!0,_n(e,t,r),yt=n,Er=i;break;case 0:case 11:case 14:case 15:if(!bt&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&nd(r,t,o),i=i.next}while(i!==n)}_n(e,t,r);break;case 1:if(!bt&&(fa(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){Xe(r,t,s)}_n(e,t,r);break;case 21:_n(e,t,r);break;case 22:r.mode&1?(bt=(n=bt)||r.memoizedState!==null,_n(e,t,r),bt=n):_n(e,t,r);break;default:_n(e,t,r)}}function Zp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new fx),t.forEach(function(n){var i=Sx.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function wr(e,t){var r=t.deletions;if(r!==null)for(var n=0;ni&&(i=o),n&=~a}if(n=i,n=tt()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*vx(n/1960))-n,10e?16:e,jn===null)var n=!1;else{if(e=jn,jn=null,Ys=0,we&6)throw Error(W(331));var i=we;for(we|=4,ee=e.current;ee!==null;){var a=ee,o=a.child;if(ee.flags&16){var s=a.deletions;if(s!==null){for(var l=0;ltt()-Ah?ki(e,0):Fh|=r),Kt(e,t)}function ew(e,t){t===0&&(e.mode&1?(t=Yu,Yu<<=1,!(Yu&130023424)&&(Yu=4194304)):t=1);var r=At();e=hn(e,t),e!==null&&(Ou(e,t,r),Kt(e,r))}function _x(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),ew(e,r)}function Sx(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(W(314))}n!==null&&n.delete(t),ew(e,r)}var tw;tw=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Wt.current)Bt=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return Bt=!1,sx(e,t,r);Bt=!!(e.flags&131072)}else Bt=!1,He&&t.flags&1048576&&a1(t,zs,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Ss(e,t),e=t.pendingProps;var i=Na(t,xt.current);Ea(t,r),i=Ch(null,t,n,e,i,r);var a=Oh();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ht(n)?(a=!0,Ns(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,_h(t),i.updater=Rl,t.stateNode=i,i._reactInternals=t,Yf(t,n,e,r),t=Zf(null,t,n,!0,a,r)):(t.tag=0,He&&a&&hh(t),kt(null,t,i,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Ss(e,t),e=t.pendingProps,i=n._init,n=i(n._payload),t.type=n,i=t.tag=bx(n),e=_r(n,e),i){case 0:t=Xf(null,t,n,e,r);break e;case 1:t=qp(null,t,n,e,r);break e;case 11:t=Kp(null,t,n,e,r);break e;case 14:t=Qp(null,t,n,_r(n.type,e),r);break e}throw Error(W(306,n,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:_r(n,i),Xf(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:_r(n,i),qp(e,t,n,i,r);case 3:e:{if(j1(t),e===null)throw Error(W(387));n=t.pendingProps,a=t.memoizedState,i=a.element,f1(e,t),Ws(t,n,null,r);var o=t.memoizedState;if(n=o.element,a.isDehydrated)if(a={element:n,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=Ba(Error(W(423)),t),t=Gp(e,t,n,r,i);break e}else if(n!==i){i=Ba(Error(W(424)),t),t=Gp(e,t,n,r,i);break e}else for(tr=Bn(t.stateNode.containerInfo.firstChild),rr=t,He=!0,xr=null,r=l1(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Ua(),n===i){t=vn(e,t,r);break e}kt(e,t,n,r)}t=t.child}return t;case 5:return d1(t),e===null&&Qf(t),n=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,Vf(n,i)?o=null:a!==null&&Vf(n,a)&&(t.flags|=32),I1(e,t),kt(e,t,o,r),t.child;case 6:return e===null&&Qf(t),null;case 13:return N1(e,t,r);case 4:return Sh(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=za(t,null,n,r):kt(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:_r(n,i),Kp(e,t,n,i,r);case 7:return kt(e,t,t.pendingProps,r),t.child;case 8:return kt(e,t,t.pendingProps.children,r),t.child;case 12:return kt(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value,je(Vs,n._currentValue),n._currentValue=o,a!==null)if($r(a.value,o)){if(a.children===i.children&&!Wt.current){t=vn(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){o=a.child;for(var l=s.firstContext;l!==null;){if(l.context===n){if(a.tag===1){l=sn(-1,r&-r),l.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}a.lanes|=r,l=a.alternate,l!==null&&(l.lanes|=r),qf(a.return,r,t),s.lanes|=r;break}l=l.next}}else if(a.tag===10)o=a.type===t.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(W(341));o.lanes|=r,s=o.alternate,s!==null&&(s.lanes|=r),qf(o,r,t),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===t){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}kt(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=t.pendingProps.children,Ea(t,r),i=vr(i),n=n(i),t.flags|=1,kt(e,t,n,r),t.child;case 14:return n=t.type,i=_r(n,t.pendingProps),i=_r(n.type,i),Qp(e,t,n,i,r);case 15:return M1(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:_r(n,i),Ss(e,t),t.tag=1,Ht(n)?(e=!0,Ns(t)):e=!1,Ea(t,r),A1(t,n,i),Yf(t,n,i,r),Zf(null,t,n,!0,e,r);case 19:return U1(e,t,r);case 22:return D1(e,t,r)}throw Error(W(156,t.tag))};function rw(e,t){return $0(e,t)}function Ex(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function dr(e,t,r,n){return new Ex(e,t,r,n)}function Dh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function bx(e){if(typeof e=="function")return Dh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===th)return 11;if(e===rh)return 14}return 2}function Qn(e,t){var r=e.alternate;return r===null?(r=dr(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function xs(e,t,r,n,i,a){var o=2;if(n=e,typeof e=="function")Dh(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case ra:return Fi(r.children,i,a,t);case eh:o=8,i|=8;break;case _f:return e=dr(12,r,t,i|2),e.elementType=_f,e.lanes=a,e;case Sf:return e=dr(13,r,t,i),e.elementType=Sf,e.lanes=a,e;case Ef:return e=dr(19,r,t,i),e.elementType=Ef,e.lanes=a,e;case d0:return Fl(r,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case c0:o=10;break e;case f0:o=9;break e;case th:o=11;break e;case rh:o=14;break e;case bn:o=16,n=null;break e}throw Error(W(130,e==null?e:typeof e,""))}return t=dr(o,r,t,i),t.elementType=e,t.type=n,t.lanes=a,t}function Fi(e,t,r,n){return e=dr(7,e,n,t),e.lanes=r,e}function Fl(e,t,r,n){return e=dr(22,e,n,t),e.elementType=d0,e.lanes=r,e.stateNode={isHidden:!1},e}function Qc(e,t,r){return e=dr(6,e,null,t),e.lanes=r,e}function qc(e,t,r){return t=dr(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function xx(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Rc(0),this.expirationTimes=Rc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Rc(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Ih(e,t,r,n,i,a,o,s,l){return e=new xx(e,t,r,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=dr(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},_h(a),e}function Cx(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ow)}catch(e){console.error(e)}}ow(),o0.exports=ir;var uw=o0.exports;const kx=Tt(uw),Fx=qm({__proto__:null,default:kx},[uw]);var zh=v.createContext(void 0);zh.displayName="AuthContext";var Dl={loginUrl:"/login",afterLoginUrl:"/"},ei=function(){return v.useContext(zh)},Ja=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Ha=typeof window>"u"||"Deno"in globalThis;function sr(){}function Ax(e,t){return typeof e=="function"?e(t):e}function fd(e){return typeof e=="number"&&e>=0&&e!==1/0}function sw(e,t){return Math.max(e+(t||0)-Date.now(),0)}function xa(e,t){return typeof e=="function"?e(t):e}function Cr(e,t){return typeof e=="function"?e(t):e}function uy(e,t){const{type:r="all",exact:n,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(n){if(t.queryHash!==Vh(o,t.options))return!1}else if(!yu(t.queryKey,o))return!1}if(r!=="all"){const l=t.isActive();if(r==="active"&&!l||r==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function sy(e,t){const{exact:r,status:n,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(r){if(Ni(t.options.mutationKey)!==Ni(a))return!1}else if(!yu(t.options.mutationKey,a))return!1}return!(n&&t.state.status!==n||i&&!i(t))}function Vh(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ni)(e)}function Ni(e){return JSON.stringify(e,(t,r)=>dd(r)?Object.keys(r).sort().reduce((n,i)=>(n[i]=r[i],n),{}):r)}function yu(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(r=>!yu(e[r],t[r])):!1}function lw(e,t){if(e===t)return e;const r=ly(e)&&ly(t);if(r||dd(e)&&dd(t)){const n=r?e:Object.keys(e),i=n.length,a=r?t:Object.keys(t),o=a.length,s=r?[]:{};let l=0;for(let u=0;u{setTimeout(t,e)})}function hd(e,t,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?lw(e,t):t}function Lx(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function Mx(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var cw=Symbol();function fw(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===cw?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var bi,$n,Ca,jm,Dx=(jm=class extends Ja{constructor(){super();ue(this,bi);ue(this,$n);ue(this,Ca);Z(this,Ca,t=>{if(!Ha&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){k(this,$n)||this.setEventListener(k(this,Ca))}onUnsubscribe(){var t;this.hasListeners()||((t=k(this,$n))==null||t.call(this),Z(this,$n,void 0))}setEventListener(t){var r;Z(this,Ca,t),(r=k(this,$n))==null||r.call(this),Z(this,$n,t(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()}))}setFocused(t){k(this,bi)!==t&&(Z(this,bi,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){var t;return typeof k(this,bi)=="boolean"?k(this,bi):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},bi=new WeakMap,$n=new WeakMap,Ca=new WeakMap,jm),Bh=new Dx,Oa,kn,Pa,Nm,Ix=(Nm=class extends Ja{constructor(){super();ue(this,Oa,!0);ue(this,kn);ue(this,Pa);Z(this,Pa,t=>{if(!Ha&&window.addEventListener){const r=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",n)}}})}onSubscribe(){k(this,kn)||this.setEventListener(k(this,Pa))}onUnsubscribe(){var t;this.hasListeners()||((t=k(this,kn))==null||t.call(this),Z(this,kn,void 0))}setEventListener(t){var r;Z(this,Pa,t),(r=k(this,kn))==null||r.call(this),Z(this,kn,t(this.setOnline.bind(this)))}setOnline(t){k(this,Oa)!==t&&(Z(this,Oa,t),this.listeners.forEach(n=>{n(t)}))}isOnline(){return k(this,Oa)}},Oa=new WeakMap,kn=new WeakMap,Pa=new WeakMap,Nm),el=new Ix;function jx(e){return Math.min(1e3*2**e,3e4)}function dw(e){return(e??"online")==="online"?el.isOnline():!0}var hw=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Gc(e){return e instanceof hw}function vw(e){let t=!1,r=0,n=!1,i,a,o;const s=new Promise((y,d)=>{a=y,o=d}),l=y=>{var d;n||(_(new hw(y)),(d=e.abort)==null||d.call(e))},u=()=>{t=!0},c=()=>{t=!1},f=()=>Bh.isFocused()&&(e.networkMode==="always"||el.isOnline())&&e.canRun(),h=()=>dw(e.networkMode)&&e.canRun(),w=y=>{var d;n||(n=!0,(d=e.onSuccess)==null||d.call(e,y),i==null||i(),a(y))},_=y=>{var d;n||(n=!0,(d=e.onError)==null||d.call(e,y),i==null||i(),o(y))},b=()=>new Promise(y=>{var d;i=p=>{(n||f())&&y(p)},(d=e.onPause)==null||d.call(e)}).then(()=>{var y;i=void 0,n||(y=e.onContinue)==null||y.call(e)}),x=()=>{if(n)return;let y;const d=r===0?e.initialPromise:void 0;try{y=d??e.fn()}catch(p){y=Promise.reject(p)}Promise.resolve(y).then(w).catch(p=>{var g;if(n)return;const m=e.retry??(Ha?0:3),S=e.retryDelay??jx,E=typeof S=="function"?S(r,p):S,C=m===!0||typeof m=="number"&&rf()?void 0:b()).then(()=>{t?_(p):x()})})};return{promise:s,cancel:l,continue:()=>(i==null||i(),s),cancelRetry:u,continueRetry:c,canStart:h,start:()=>(h()?x():b().then(x),s)}}function Nx(){let e=[],t=0,r=h=>{h()},n=h=>{h()},i=h=>setTimeout(h,0);const a=h=>{i=h},o=h=>{let w;t++;try{w=h()}finally{t--,t||u()}return w},s=h=>{t?e.push(h):i(()=>{r(h)})},l=h=>(...w)=>{s(()=>{h(...w)})},u=()=>{const h=e;e=[],h.length&&i(()=>{n(()=>{h.forEach(w=>{r(w)})})})};return{batch:o,batchCalls:l,schedule:s,setNotifyFunction:h=>{r=h},setBatchNotifyFunction:h=>{n=h},setScheduler:a}}var rt=Nx(),xi,Um,pw=(Um=class{constructor(){ue(this,xi)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),fd(this.gcTime)&&Z(this,xi,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ha?1/0:5*60*1e3))}clearGcTimeout(){k(this,xi)&&(clearTimeout(k(this,xi)),Z(this,xi,void 0))}},xi=new WeakMap,Um),Ra,$a,ur,Et,Su,Ci,Sr,en,zm,Ux=(zm=class extends pw{constructor(t){super();ue(this,Sr);ue(this,Ra);ue(this,$a);ue(this,ur);ue(this,Et);ue(this,Su);ue(this,Ci);Z(this,Ci,!1),Z(this,Su,t.defaultOptions),this.setOptions(t.options),this.observers=[],Z(this,ur,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Z(this,Ra,zx(this.options)),this.state=t.state??k(this,Ra),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=k(this,Et))==null?void 0:t.promise}setOptions(t){this.options={...k(this,Su),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&k(this,ur).remove(this)}setData(t,r){const n=hd(this.state.data,t,this.options);return ve(this,Sr,en).call(this,{data:n,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),n}setState(t,r){ve(this,Sr,en).call(this,{type:"setState",state:t,setStateOptions:r})}cancel(t){var n,i;const r=(n=k(this,Et))==null?void 0:n.promise;return(i=k(this,Et))==null||i.cancel(t),r?r.then(sr).catch(sr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(k(this,Ra))}isActive(){return this.observers.some(t=>Cr(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!sw(this.state.dataUpdatedAt,t)}onFocus(){var r;const t=this.observers.find(n=>n.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(r=k(this,Et))==null||r.continue()}onOnline(){var r;const t=this.observers.find(n=>n.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(r=k(this,Et))==null||r.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),k(this,ur).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(k(this,Et)&&(k(this,Ci)?k(this,Et).cancel({revert:!0}):k(this,Et).cancelRetry()),this.scheduleGc()),k(this,ur).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ve(this,Sr,en).call(this,{type:"invalidate"})}fetch(t,r){var l,u,c;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(k(this,Et))return k(this,Et).continueRetry(),k(this,Et).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(h=>h.options.queryFn);f&&this.setOptions(f.options)}const n=new AbortController,i=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(Z(this,Ci,!0),n.signal)})},a=()=>{const f=fw(this.options,r),h={queryKey:this.queryKey,meta:this.meta};return i(h),Z(this,Ci,!1),this.options.persister?this.options.persister(f,h,this):f(h)},o={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};i(o),(l=this.options.behavior)==null||l.onFetch(o,this),Z(this,$a,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=o.fetchOptions)==null?void 0:u.meta))&&ve(this,Sr,en).call(this,{type:"fetch",meta:(c=o.fetchOptions)==null?void 0:c.meta});const s=f=>{var h,w,_,b;Gc(f)&&f.silent||ve(this,Sr,en).call(this,{type:"error",error:f}),Gc(f)||((w=(h=k(this,ur).config).onError)==null||w.call(h,f,this),(b=(_=k(this,ur).config).onSettled)==null||b.call(_,this.state.data,f,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return Z(this,Et,vw({initialPromise:r==null?void 0:r.initialPromise,fn:o.fetchFn,abort:n.abort.bind(n),onSuccess:f=>{var h,w,_,b;if(f===void 0){s(new Error(`${this.queryHash} data is undefined`));return}this.setData(f),(w=(h=k(this,ur).config).onSuccess)==null||w.call(h,f,this),(b=(_=k(this,ur).config).onSettled)==null||b.call(_,f,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:s,onFail:(f,h)=>{ve(this,Sr,en).call(this,{type:"failed",failureCount:f,error:h})},onPause:()=>{ve(this,Sr,en).call(this,{type:"pause"})},onContinue:()=>{ve(this,Sr,en).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),k(this,Et).start()}},Ra=new WeakMap,$a=new WeakMap,ur=new WeakMap,Et=new WeakMap,Su=new WeakMap,Ci=new WeakMap,Sr=new WeakSet,en=function(t){const r=n=>{switch(t.type){case"failed":return{...n,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...yw(n.data,this.options),fetchMeta:t.meta??null};case"success":return{...n,data:t.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return Gc(i)&&i.revert&&k(this,$a)?{...k(this,$a),fetchStatus:"idle"}:{...n,error:i,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...t.state}}};this.state=r(this.state),rt.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),k(this,ur).notify({query:this,type:"updated",action:t})})},zm);function yw(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:dw(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function zx(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,n=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Dr,Vm,Vx=(Vm=class extends Ja{constructor(t={}){super();ue(this,Dr);this.config=t,Z(this,Dr,new Map)}build(t,r,n){const i=r.queryKey,a=r.queryHash??Vh(i,r);let o=this.get(a);return o||(o=new Ux({cache:this,queryKey:i,queryHash:a,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){k(this,Dr).has(t.queryHash)||(k(this,Dr).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=k(this,Dr).get(t.queryHash);r&&(t.destroy(),r===t&&k(this,Dr).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){rt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return k(this,Dr).get(t)}getAll(){return[...k(this,Dr).values()]}find(t){const r={exact:!0,...t};return this.getAll().find(n=>uy(r,n))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(n=>uy(t,n)):r}notify(t){rt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){rt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){rt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Dr=new WeakMap,Vm),Ir,Pt,Oi,jr,Sn,Bm,Bx=(Bm=class extends pw{constructor(t){super();ue(this,jr);ue(this,Ir);ue(this,Pt);ue(this,Oi);this.mutationId=t.mutationId,Z(this,Pt,t.mutationCache),Z(this,Ir,[]),this.state=t.state||gw(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){k(this,Ir).includes(t)||(k(this,Ir).push(t),this.clearGcTimeout(),k(this,Pt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Z(this,Ir,k(this,Ir).filter(r=>r!==t)),this.scheduleGc(),k(this,Pt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){k(this,Ir).length||(this.state.status==="pending"?this.scheduleGc():k(this,Pt).remove(this))}continue(){var t;return((t=k(this,Oi))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,a,o,s,l,u,c,f,h,w,_,b,x,y,d,p,m,S,E,C;Z(this,Oi,vw({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(g,O)=>{ve(this,jr,Sn).call(this,{type:"failed",failureCount:g,error:O})},onPause:()=>{ve(this,jr,Sn).call(this,{type:"pause"})},onContinue:()=>{ve(this,jr,Sn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>k(this,Pt).canRun(this)}));const r=this.state.status==="pending",n=!k(this,Oi).canStart();try{if(!r){ve(this,jr,Sn).call(this,{type:"pending",variables:t,isPaused:n}),await((a=(i=k(this,Pt).config).onMutate)==null?void 0:a.call(i,t,this));const O=await((s=(o=this.options).onMutate)==null?void 0:s.call(o,t));O!==this.state.context&&ve(this,jr,Sn).call(this,{type:"pending",context:O,variables:t,isPaused:n})}const g=await k(this,Oi).start();return await((u=(l=k(this,Pt).config).onSuccess)==null?void 0:u.call(l,g,t,this.state.context,this)),await((f=(c=this.options).onSuccess)==null?void 0:f.call(c,g,t,this.state.context)),await((w=(h=k(this,Pt).config).onSettled)==null?void 0:w.call(h,g,null,this.state.variables,this.state.context,this)),await((b=(_=this.options).onSettled)==null?void 0:b.call(_,g,null,t,this.state.context)),ve(this,jr,Sn).call(this,{type:"success",data:g}),g}catch(g){try{throw await((y=(x=k(this,Pt).config).onError)==null?void 0:y.call(x,g,t,this.state.context,this)),await((p=(d=this.options).onError)==null?void 0:p.call(d,g,t,this.state.context)),await((S=(m=k(this,Pt).config).onSettled)==null?void 0:S.call(m,void 0,g,this.state.variables,this.state.context,this)),await((C=(E=this.options).onSettled)==null?void 0:C.call(E,void 0,g,t,this.state.context)),g}finally{ve(this,jr,Sn).call(this,{type:"error",error:g})}}finally{k(this,Pt).runNext(this)}}},Ir=new WeakMap,Pt=new WeakMap,Oi=new WeakMap,jr=new WeakSet,Sn=function(t){const r=n=>{switch(t.type){case"failed":return{...n,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...n,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=r(this.state),rt.batch(()=>{k(this,Ir).forEach(n=>{n.onMutationUpdate(t)}),k(this,Pt).notify({mutation:this,type:"updated",action:t})})},Bm);function gw(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Xt,Eu,Wm,Wx=(Wm=class extends Ja{constructor(t={}){super();ue(this,Xt);ue(this,Eu);this.config=t,Z(this,Xt,new Map),Z(this,Eu,Date.now())}build(t,r,n){const i=new Bx({mutationCache:this,mutationId:++Wu(this,Eu)._,options:t.defaultMutationOptions(r),state:n});return this.add(i),i}add(t){const r=ss(t),n=k(this,Xt).get(r)??[];n.push(t),k(this,Xt).set(r,n),this.notify({type:"added",mutation:t})}remove(t){var n;const r=ss(t);if(k(this,Xt).has(r)){const i=(n=k(this,Xt).get(r))==null?void 0:n.filter(a=>a!==t);i&&(i.length===0?k(this,Xt).delete(r):k(this,Xt).set(r,i))}this.notify({type:"removed",mutation:t})}canRun(t){var n;const r=(n=k(this,Xt).get(ss(t)))==null?void 0:n.find(i=>i.state.status==="pending");return!r||r===t}runNext(t){var n;const r=(n=k(this,Xt).get(ss(t)))==null?void 0:n.find(i=>i!==t&&i.state.isPaused);return(r==null?void 0:r.continue())??Promise.resolve()}clear(){rt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...k(this,Xt).values()].flat()}find(t){const r={exact:!0,...t};return this.getAll().find(n=>sy(r,n))}findAll(t={}){return this.getAll().filter(r=>sy(t,r))}notify(t){rt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>r.state.isPaused);return rt.batch(()=>Promise.all(t.map(r=>r.continue().catch(sr))))}},Xt=new WeakMap,Eu=new WeakMap,Wm);function ss(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Hx(e){return{onFetch:(t,r)=>{const n=async()=>{var _,b,x,y,d;const i=t.options,a=(x=(b=(_=t.fetchOptions)==null?void 0:_.meta)==null?void 0:b.fetchMore)==null?void 0:x.direction,o=((y=t.state.data)==null?void 0:y.pages)||[],s=((d=t.state.data)==null?void 0:d.pageParams)||[],l={pages:[],pageParams:[]};let u=!1;const c=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(t.signal.aborted?u=!0:t.signal.addEventListener("abort",()=>{u=!0}),t.signal)})},f=fw(t.options,t.fetchOptions),h=async(p,m,S)=>{if(u)return Promise.reject();if(m==null&&p.pages.length)return Promise.resolve(p);const E={queryKey:t.queryKey,pageParam:m,direction:S?"backward":"forward",meta:t.options.meta};c(E);const C=await f(E),{maxPages:g}=t.options,O=S?Mx:Lx;return{pages:O(p.pages,C,g),pageParams:O(p.pageParams,m,g)}};let w;if(a&&o.length){const p=a==="backward",m=p?Kx:fy,S={pages:o,pageParams:s},E=m(i,S);w=await h(S,E,p)}else{w=await h(l,s[0]??i.initialPageParam);const p=e??o.length;for(let m=1;m{var i,a;return(a=(i=t.options).persister)==null?void 0:a.call(i,n,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r)}:t.fetchFn=n}}}function fy(e,{pages:t,pageParams:r}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function Kx(e,{pages:t,pageParams:r}){var n;return t.length>0?(n=e.getPreviousPageParam)==null?void 0:n.call(e,t[0],t,r[0],r):void 0}var Je,Fn,An,ka,Fa,Tn,Aa,Ta,Hm,Qx=(Hm=class{constructor(e={}){ue(this,Je);ue(this,Fn);ue(this,An);ue(this,ka);ue(this,Fa);ue(this,Tn);ue(this,Aa);ue(this,Ta);Z(this,Je,e.queryCache||new Vx),Z(this,Fn,e.mutationCache||new Wx),Z(this,An,e.defaultOptions||{}),Z(this,ka,new Map),Z(this,Fa,new Map),Z(this,Tn,0)}mount(){Wu(this,Tn)._++,k(this,Tn)===1&&(Z(this,Aa,Bh.subscribe(async e=>{e&&(await this.resumePausedMutations(),k(this,Je).onFocus())})),Z(this,Ta,el.subscribe(async e=>{e&&(await this.resumePausedMutations(),k(this,Je).onOnline())})))}unmount(){var e,t;Wu(this,Tn)._--,k(this,Tn)===0&&((e=k(this,Aa))==null||e.call(this),Z(this,Aa,void 0),(t=k(this,Ta))==null||t.call(this),Z(this,Ta,void 0))}isFetching(e){return k(this,Je).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return k(this,Fn).findAll({...e,status:"pending"}).length}getQueryData(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=k(this,Je).get(t.queryHash))==null?void 0:r.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const r=this.defaultQueryOptions(e),n=k(this,Je).build(this,r);return e.revalidateIfStale&&n.isStaleByTime(xa(r.staleTime,n))&&this.prefetchQuery(r),Promise.resolve(t)}}getQueriesData(e){return k(this,Je).findAll(e).map(({queryKey:t,state:r})=>{const n=r.data;return[t,n]})}setQueryData(e,t,r){const n=this.defaultQueryOptions({queryKey:e}),i=k(this,Je).get(n.queryHash),a=i==null?void 0:i.state.data,o=Ax(t,a);if(o!==void 0)return k(this,Je).build(this,n).setData(o,{...r,manual:!0})}setQueriesData(e,t,r){return rt.batch(()=>k(this,Je).findAll(e).map(({queryKey:n})=>[n,this.setQueryData(n,t,r)]))}getQueryState(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=k(this,Je).get(t.queryHash))==null?void 0:r.state}removeQueries(e){const t=k(this,Je);rt.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=k(this,Je),n={type:"active",...e};return rt.batch(()=>(r.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(n,t)))}cancelQueries(e={},t={}){const r={revert:!0,...t},n=rt.batch(()=>k(this,Je).findAll(e).map(i=>i.cancel(r)));return Promise.all(n).then(sr).catch(sr)}invalidateQueries(e={},t={}){return rt.batch(()=>{if(k(this,Je).findAll(e).forEach(n=>{n.invalidate()}),e.refetchType==="none")return Promise.resolve();const r={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(r,t)})}refetchQueries(e={},t){const r={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},n=rt.batch(()=>k(this,Je).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let a=i.fetch(void 0,r);return r.throwOnError||(a=a.catch(sr)),i.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(n).then(sr)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=k(this,Je).build(this,t);return r.isStaleByTime(xa(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(sr).catch(sr)}fetchInfiniteQuery(e){return e.behavior=Hx(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(sr).catch(sr)}resumePausedMutations(){return el.isOnline()?k(this,Fn).resumePausedMutations():Promise.resolve()}getQueryCache(){return k(this,Je)}getMutationCache(){return k(this,Fn)}getDefaultOptions(){return k(this,An)}setDefaultOptions(e){Z(this,An,e)}setQueryDefaults(e,t){k(this,ka).set(Ni(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...k(this,ka).values()];let r={};return t.forEach(n=>{yu(e,n.queryKey)&&(r={...r,...n.defaultOptions})}),r}setMutationDefaults(e,t){k(this,Fa).set(Ni(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...k(this,Fa).values()];let r={};return t.forEach(n=>{yu(e,n.mutationKey)&&(r={...r,...n.defaultOptions})}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...k(this,An).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Vh(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===cw&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...k(this,An).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){k(this,Je).clear(),k(this,Fn).clear()}},Je=new WeakMap,Fn=new WeakMap,An=new WeakMap,ka=new WeakMap,Fa=new WeakMap,Tn=new WeakMap,Aa=new WeakMap,Ta=new WeakMap,Hm),jt,ge,bu,Rt,Pi,La,Nr,xu,Ma,Da,Ri,$i,Ln,Ia,Oe,Lo,vd,pd,yd,gd,md,wd,_d,mw,Km,qx=(Km=class extends Ja{constructor(t,r){super();ue(this,Oe);ue(this,jt);ue(this,ge);ue(this,bu);ue(this,Rt);ue(this,Pi);ue(this,La);ue(this,Nr);ue(this,xu);ue(this,Ma);ue(this,Da);ue(this,Ri);ue(this,$i);ue(this,Ln);ue(this,Ia,new Set);this.options=r,Z(this,jt,t),Z(this,Nr,null),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(k(this,ge).addObserver(this),dy(k(this,ge),this.options)?ve(this,Oe,Lo).call(this):this.updateResult(),ve(this,Oe,gd).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Sd(k(this,ge),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Sd(k(this,ge),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,ve(this,Oe,md).call(this),ve(this,Oe,wd).call(this),k(this,ge).removeObserver(this)}setOptions(t,r){const n=this.options,i=k(this,ge);if(this.options=k(this,jt).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Cr(this.options.enabled,k(this,ge))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");ve(this,Oe,_d).call(this),k(this,ge).setOptions(this.options),n._defaulted&&!Zs(this.options,n)&&k(this,jt).getQueryCache().notify({type:"observerOptionsUpdated",query:k(this,ge),observer:this});const a=this.hasListeners();a&&hy(k(this,ge),i,this.options,n)&&ve(this,Oe,Lo).call(this),this.updateResult(r),a&&(k(this,ge)!==i||Cr(this.options.enabled,k(this,ge))!==Cr(n.enabled,k(this,ge))||xa(this.options.staleTime,k(this,ge))!==xa(n.staleTime,k(this,ge)))&&ve(this,Oe,vd).call(this);const o=ve(this,Oe,pd).call(this);a&&(k(this,ge)!==i||Cr(this.options.enabled,k(this,ge))!==Cr(n.enabled,k(this,ge))||o!==k(this,Ln))&&ve(this,Oe,yd).call(this,o)}getOptimisticResult(t){const r=k(this,jt).getQueryCache().build(k(this,jt),t),n=this.createResult(r,t);return Yx(this,n)&&(Z(this,Rt,n),Z(this,La,this.options),Z(this,Pi,k(this,ge).state)),n}getCurrentResult(){return k(this,Rt)}trackResult(t,r){const n={};return Object.keys(t).forEach(i=>{Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(i),r==null||r(i),t[i])})}),n}trackProp(t){k(this,Ia).add(t)}getCurrentQuery(){return k(this,ge)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const r=k(this,jt).defaultQueryOptions(t),n=k(this,jt).getQueryCache().build(k(this,jt),r);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,r))}fetch(t){return ve(this,Oe,Lo).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),k(this,Rt)))}createResult(t,r){var C;const n=k(this,ge),i=this.options,a=k(this,Rt),o=k(this,Pi),s=k(this,La),u=t!==n?t.state:k(this,bu),{state:c}=t;let f={...c},h=!1,w;if(r._optimisticResults){const g=this.hasListeners(),O=!g&&dy(t,r),R=g&&hy(t,n,r,i);(O||R)&&(f={...f,...yw(c.data,t.options)}),r._optimisticResults==="isRestoring"&&(f.fetchStatus="idle")}let{error:_,errorUpdatedAt:b,status:x}=f;if(r.select&&f.data!==void 0)if(a&&f.data===(o==null?void 0:o.data)&&r.select===k(this,xu))w=k(this,Ma);else try{Z(this,xu,r.select),w=r.select(f.data),w=hd(a==null?void 0:a.data,w,r),Z(this,Ma,w),Z(this,Nr,null)}catch(g){Z(this,Nr,g)}else w=f.data;if(r.placeholderData!==void 0&&w===void 0&&x==="pending"){let g;if(a!=null&&a.isPlaceholderData&&r.placeholderData===(s==null?void 0:s.placeholderData))g=a.data;else if(g=typeof r.placeholderData=="function"?r.placeholderData((C=k(this,Da))==null?void 0:C.state.data,k(this,Da)):r.placeholderData,r.select&&g!==void 0)try{g=r.select(g),Z(this,Nr,null)}catch(O){Z(this,Nr,O)}g!==void 0&&(x="success",w=hd(a==null?void 0:a.data,g,r),h=!0)}k(this,Nr)&&(_=k(this,Nr),w=k(this,Ma),b=Date.now(),x="error");const y=f.fetchStatus==="fetching",d=x==="pending",p=x==="error",m=d&&y,S=w!==void 0;return{status:x,fetchStatus:f.fetchStatus,isPending:d,isSuccess:x==="success",isError:p,isInitialLoading:m,isLoading:m,data:w,dataUpdatedAt:f.dataUpdatedAt,error:_,errorUpdatedAt:b,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>u.dataUpdateCount||f.errorUpdateCount>u.errorUpdateCount,isFetching:y,isRefetching:y&&!d,isLoadingError:p&&!S,isPaused:f.fetchStatus==="paused",isPlaceholderData:h,isRefetchError:p&&S,isStale:Wh(t,r),refetch:this.refetch}}updateResult(t){const r=k(this,Rt),n=this.createResult(k(this,ge),this.options);if(Z(this,Pi,k(this,ge).state),Z(this,La,this.options),k(this,Pi).data!==void 0&&Z(this,Da,k(this,ge)),Zs(n,r))return;Z(this,Rt,n);const i={},a=()=>{if(!r)return!0;const{notifyOnChangeProps:o}=this.options,s=typeof o=="function"?o():o;if(s==="all"||!s&&!k(this,Ia).size)return!0;const l=new Set(s??k(this,Ia));return this.options.throwOnError&&l.add("error"),Object.keys(k(this,Rt)).some(u=>{const c=u;return k(this,Rt)[c]!==r[c]&&l.has(c)})};(t==null?void 0:t.listeners)!==!1&&a()&&(i.listeners=!0),ve(this,Oe,mw).call(this,{...i,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&ve(this,Oe,gd).call(this)}},jt=new WeakMap,ge=new WeakMap,bu=new WeakMap,Rt=new WeakMap,Pi=new WeakMap,La=new WeakMap,Nr=new WeakMap,xu=new WeakMap,Ma=new WeakMap,Da=new WeakMap,Ri=new WeakMap,$i=new WeakMap,Ln=new WeakMap,Ia=new WeakMap,Oe=new WeakSet,Lo=function(t){ve(this,Oe,_d).call(this);let r=k(this,ge).fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(sr)),r},vd=function(){ve(this,Oe,md).call(this);const t=xa(this.options.staleTime,k(this,ge));if(Ha||k(this,Rt).isStale||!fd(t))return;const n=sw(k(this,Rt).dataUpdatedAt,t)+1;Z(this,Ri,setTimeout(()=>{k(this,Rt).isStale||this.updateResult()},n))},pd=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(k(this,ge)):this.options.refetchInterval)??!1},yd=function(t){ve(this,Oe,wd).call(this),Z(this,Ln,t),!(Ha||Cr(this.options.enabled,k(this,ge))===!1||!fd(k(this,Ln))||k(this,Ln)===0)&&Z(this,$i,setInterval(()=>{(this.options.refetchIntervalInBackground||Bh.isFocused())&&ve(this,Oe,Lo).call(this)},k(this,Ln)))},gd=function(){ve(this,Oe,vd).call(this),ve(this,Oe,yd).call(this,ve(this,Oe,pd).call(this))},md=function(){k(this,Ri)&&(clearTimeout(k(this,Ri)),Z(this,Ri,void 0))},wd=function(){k(this,$i)&&(clearInterval(k(this,$i)),Z(this,$i,void 0))},_d=function(){const t=k(this,jt).getQueryCache().build(k(this,jt),this.options);if(t===k(this,ge))return;const r=k(this,ge);Z(this,ge,t),Z(this,bu,t.state),this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))},mw=function(t){rt.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(k(this,Rt))}),k(this,jt).getQueryCache().notify({query:k(this,ge),type:"observerResultsUpdated"})})},Km);function Gx(e,t){return Cr(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function dy(e,t){return Gx(e,t)||e.state.data!==void 0&&Sd(e,t,t.refetchOnMount)}function Sd(e,t,r){if(Cr(t.enabled,e)!==!1){const n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&Wh(e,t)}return!1}function hy(e,t,r,n){return(e!==t||Cr(n.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&Wh(e,r)}function Wh(e,t){return Cr(t.enabled,e)!==!1&&e.isStaleByTime(xa(t.staleTime,e))}function Yx(e,t){return!Zs(e.getCurrentResult(),t)}var Mn,Dn,Nt,nn,cn,Cs,Ed,Qm,Jx=(Qm=class extends Ja{constructor(t,r){super();ue(this,cn);ue(this,Mn);ue(this,Dn);ue(this,Nt);ue(this,nn);Z(this,Mn,t),this.setOptions(r),this.bindMethods(),ve(this,cn,Cs).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var n;const r=this.options;this.options=k(this,Mn).defaultMutationOptions(t),Zs(this.options,r)||k(this,Mn).getMutationCache().notify({type:"observerOptionsUpdated",mutation:k(this,Nt),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&Ni(r.mutationKey)!==Ni(this.options.mutationKey)?this.reset():((n=k(this,Nt))==null?void 0:n.state.status)==="pending"&&k(this,Nt).setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(t=k(this,Nt))==null||t.removeObserver(this)}onMutationUpdate(t){ve(this,cn,Cs).call(this),ve(this,cn,Ed).call(this,t)}getCurrentResult(){return k(this,Dn)}reset(){var t;(t=k(this,Nt))==null||t.removeObserver(this),Z(this,Nt,void 0),ve(this,cn,Cs).call(this),ve(this,cn,Ed).call(this)}mutate(t,r){var n;return Z(this,nn,r),(n=k(this,Nt))==null||n.removeObserver(this),Z(this,Nt,k(this,Mn).getMutationCache().build(k(this,Mn),this.options)),k(this,Nt).addObserver(this),k(this,Nt).execute(t)}},Mn=new WeakMap,Dn=new WeakMap,Nt=new WeakMap,nn=new WeakMap,cn=new WeakSet,Cs=function(){var r;const t=((r=k(this,Nt))==null?void 0:r.state)??gw();Z(this,Dn,{...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset})},Ed=function(t){rt.batch(()=>{var r,n,i,a,o,s,l,u;if(k(this,nn)&&this.hasListeners()){const c=k(this,Dn).variables,f=k(this,Dn).context;(t==null?void 0:t.type)==="success"?((n=(r=k(this,nn)).onSuccess)==null||n.call(r,t.data,c,f),(a=(i=k(this,nn)).onSettled)==null||a.call(i,t.data,null,c,f)):(t==null?void 0:t.type)==="error"&&((s=(o=k(this,nn)).onError)==null||s.call(o,t.error,c,f),(u=(l=k(this,nn)).onSettled)==null||u.call(l,void 0,t.error,c,f))}this.listeners.forEach(c=>{c(k(this,Dn))})})},Qm),ww=v.createContext(void 0),Kr=e=>{const t=v.useContext(ww);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Xx=({client:e,children:t})=>(v.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),CE.jsx(ww.Provider,{value:e,children:t})),_w=v.createContext(!1),Zx=()=>v.useContext(_w);_w.Provider;function eC(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var tC=v.createContext(eC()),rC=()=>v.useContext(tC);function Sw(e,t){return typeof e=="function"?e(...t):!!e}function nC(){}var iC=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},aC=e=>{v.useEffect(()=>{e.clearReset()},[e])},oC=({result:e,errorResetBoundary:t,throwOnError:r,query:n})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&Sw(r,[e.error,n]),uC=e=>{e.suspense&&(typeof e.staleTime!="number"&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},sC=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,lC=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function cC(e,t,r){var u,c,f,h;const n=Kr(),i=Zx(),a=rC(),o=n.defaultQueryOptions(e);(c=(u=n.getDefaultOptions().queries)==null?void 0:u._experimental_beforeQuery)==null||c.call(u,o),o._optimisticResults=i?"isRestoring":"optimistic",uC(o),iC(o,a),aC(a);const[s]=v.useState(()=>new t(n,o)),l=s.getOptimisticResult(o);if(v.useSyncExternalStore(v.useCallback(w=>{const _=i?()=>{}:s.subscribe(rt.batchCalls(w));return s.updateResult(),_},[s,i]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),v.useEffect(()=>{s.setOptions(o,{listeners:!1})},[o,s]),sC(o,l))throw lC(o,s,a);if(oC({result:l,errorResetBoundary:a,throwOnError:o.throwOnError,query:n.getQueryCache().get(o.queryHash)}))throw l.error;return(h=(f=n.getDefaultOptions().queries)==null?void 0:f._experimental_afterQuery)==null||h.call(f,o,l),o.notifyOnChangeProps?l:s.trackResult(l)}function Xa(e,t){return cC(e,qx)}function Il(e,t){const r=Kr(),[n]=v.useState(()=>new Jx(r,e));v.useEffect(()=>{n.setOptions(e)},[n,e]);const i=v.useSyncExternalStore(v.useCallback(o=>n.subscribe(rt.batchCalls(o)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),a=v.useCallback((o,s)=>{n.mutate(o,s).catch(nC)},[n]);if(i.error&&Sw(n.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}/** + * @remix-run/router v1.19.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Ke(){return Ke=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Ui(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function dC(){return Math.random().toString(36).substr(2,8)}function py(e,t){return{usr:e.state,key:e.key,idx:t}}function gu(e,t,r,n){return r===void 0&&(r=null),Ke({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Qr(t):t,{state:r,key:t&&t.key||n||dC()})}function zi(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function Qr(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function hC(e,t,r,n){n===void 0&&(n={});let{window:i=document.defaultView,v5Compat:a=!1}=n,o=i.history,s=et.Pop,l=null,u=c();u==null&&(u=0,o.replaceState(Ke({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function f(){s=et.Pop;let x=c(),y=x==null?null:x-u;u=x,l&&l({action:s,location:b.location,delta:y})}function h(x,y){s=et.Push;let d=gu(b.location,x,y);r&&r(d,x),u=c()+1;let p=py(d,u),m=b.createHref(d);try{o.pushState(p,"",m)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;i.location.assign(m)}a&&l&&l({action:s,location:b.location,delta:1})}function w(x,y){s=et.Replace;let d=gu(b.location,x,y);r&&r(d,x),u=c();let p=py(d,u),m=b.createHref(d);o.replaceState(p,"",m),a&&l&&l({action:s,location:b.location,delta:0})}function _(x){let y=i.location.origin!=="null"?i.location.origin:i.location.href,d=typeof x=="string"?x:zi(x);return d=d.replace(/ $/,"%20"),ce(y,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,y)}let b={get action(){return s},get location(){return e(i,o)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(vy,f),l=x,()=>{i.removeEventListener(vy,f),l=null}},createHref(x){return t(i,x)},createURL:_,encodeLocation(x){let y=_(x);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:h,replace:w,go(x){return o.go(x)}};return b}var Te;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Te||(Te={}));const vC=new Set(["lazy","caseSensitive","path","id","index","children"]);function pC(e){return e.index===!0}function mu(e,t,r,n){return r===void 0&&(r=[]),n===void 0&&(n={}),e.map((i,a)=>{let o=[...r,String(a)],s=typeof i.id=="string"?i.id:o.join("-");if(ce(i.index!==!0||!i.children,"Cannot specify children on an index route"),ce(!n[s],'Found a route id collision on id "'+s+`". Route id's must be globally unique within Data Router usages`),pC(i)){let l=Ke({},i,t(i),{id:s});return n[s]=l,l}else{let l=Ke({},i,t(i),{id:s,children:void 0});return n[s]=l,i.children&&(l.children=mu(i.children,t,o,n)),l}})}function hi(e,t,r){return r===void 0&&(r="/"),Os(e,t,r,!1)}function Os(e,t,r,n){let i=typeof t=="string"?Qr(t):t,a=Yn(i.pathname||"/",r);if(a==null)return null;let o=Ew(e);gC(o);let s=null;for(let l=0;s==null&&l{let l={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};l.relativePath.startsWith("/")&&(ce(l.relativePath.startsWith(n),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(n.length));let u=ln([n,l.relativePath]),c=r.concat(l);a.children&&a.children.length>0&&(ce(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Ew(a.children,t,c,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:xC(u,a.index),routesMeta:c})};return e.forEach((a,o)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,o);else for(let l of bw(a.path))i(a,o,l)}),t}function bw(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,i=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return i?[a,""]:[a];let o=bw(n.join("/")),s=[];return s.push(...o.map(l=>l===""?a:[a,l].join("/"))),i&&s.push(...o),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function gC(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:CC(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const mC=/^:[\w-]+$/,wC=3,_C=2,SC=1,EC=10,bC=-2,yy=e=>e==="*";function xC(e,t){let r=e.split("/"),n=r.length;return r.some(yy)&&(n+=bC),t&&(n+=_C),r.filter(i=>!yy(i)).reduce((i,a)=>i+(mC.test(a)?wC:a===""?SC:EC),n)}function CC(e,t){return e.length===t.length&&e.slice(0,-1).every((n,i)=>n===t[i])?e[e.length-1]-t[t.length-1]:0}function OC(e,t,r){r===void 0&&(r=!1);let{routesMeta:n}=e,i={},a="/",o=[];for(let s=0;s{let{paramName:h,isOptional:w}=c;if(h==="*"){let b=s[f]||"";o=a.slice(0,a.length-b.length).replace(/(.)\/+$/,"$1")}const _=s[f];return w&&!_?u[h]=void 0:u[h]=(_||"").replace(/%2F/g,"/"),u},{}),pathname:a,pathnameBase:o,pattern:e}}function PC(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Ui(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,l)=>(n.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),n]}function xw(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Ui(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Yn(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function RC(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:i=""}=typeof e=="string"?Qr(e):e;return{pathname:r?r.startsWith("/")?r:$C(r,t):t,search:FC(n),hash:AC(i)}}function $C(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function Yc(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Cw(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function jl(e,t){let r=Cw(e);return t?r.map((n,i)=>i===r.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function Nl(e,t,r,n){n===void 0&&(n=!1);let i;typeof e=="string"?i=Qr(e):(i=Ke({},e),ce(!i.pathname||!i.pathname.includes("?"),Yc("?","pathname","search",i)),ce(!i.pathname||!i.pathname.includes("#"),Yc("#","pathname","hash",i)),ce(!i.search||!i.search.includes("#"),Yc("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,s;if(o==null)s=r;else{let f=t.length-1;if(!n&&o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),f-=1;i.pathname=h.join("/")}s=f>=0?t[f]:"/"}let l=RC(i,s),u=o&&o!=="/"&&o.endsWith("/"),c=(a||o===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const ln=e=>e.join("/").replace(/\/\/+/g,"/"),kC=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),FC=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,AC=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class tl{constructor(t,r,n,i){i===void 0&&(i=!1),this.status=t,this.statusText=r||"",this.internal=i,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function Ul(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Ow=["post","put","patch","delete"],TC=new Set(Ow),LC=["get",...Ow],MC=new Set(LC),DC=new Set([301,302,303,307,308]),IC=new Set([307,308]),Jc={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},jC={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ea={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Hh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,NC=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Pw="remix-router-transitions";function UC(e){const t=e.window?e.window:typeof window<"u"?window:void 0,r=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",n=!r;ce(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let $=e.detectErrorBoundary;i=F=>({hasErrorBoundary:$(F)})}else i=NC;let a={},o=mu(e.routes,i,void 0,a),s,l=e.basename||"/",u=e.unstable_dataStrategy||HC,c=e.unstable_patchRoutesOnNavigation,f=Ke({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),h=null,w=new Set,_=1e3,b=new Set,x=null,y=null,d=null,p=e.hydrationData!=null,m=hi(o,e.history.location,l),S=null;if(m==null&&!c){let $=$t(404,{pathname:e.history.location.pathname}),{matches:F,route:M}=Oy(o);m=F,S={[M.id]:$}}m&&!e.hydrationData&&Nu(m,o,e.history.location.pathname).active&&(m=null);let E;if(m)if(m.some($=>$.route.lazy))E=!1;else if(!m.some($=>$.route.loader))E=!0;else if(f.v7_partialHydration){let $=e.hydrationData?e.hydrationData.loaderData:null,F=e.hydrationData?e.hydrationData.errors:null,M=z=>z.route.loader?typeof z.route.loader=="function"&&z.route.loader.hydrate===!0?!1:$&&$[z.route.id]!==void 0||F&&F[z.route.id]!==void 0:!0;if(F){let z=m.findIndex(X=>F[X.route.id]!==void 0);E=m.slice(0,z+1).every(M)}else E=m.every(M)}else E=e.hydrationData!=null;else if(E=!1,m=[],f.v7_partialHydration){let $=Nu(null,o,e.history.location.pathname);$.active&&$.matches&&(m=$.matches)}let C,g={historyAction:e.history.action,location:e.history.location,matches:m,initialized:E,navigation:Jc,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||S,fetchers:new Map,blockers:new Map},O=et.Pop,R=!1,T,L=!1,N=new Map,I=null,Q=!1,q=!1,ie=[],U=new Set,V=new Map,J=0,ne=-1,te=new Map,le=new Set,_e=new Map,nt=new Map,Se=new Set,Le=new Map,st=new Map,Ee=new Map,wt=!1;function it(){if(h=e.history.listen($=>{let{action:F,location:M,delta:z}=$;if(wt){wt=!1;return}Ui(st.size===0||z!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let X=Qv({currentLocation:g.location,nextLocation:M,historyAction:F});if(X&&z!=null){wt=!0,e.history.go(z*-1),Iu(X,{state:"blocked",location:M,proceed(){Iu(X,{state:"proceeding",proceed:void 0,reset:void 0,location:M}),e.history.go(z)},reset(){let ae=new Map(g.blockers);ae.set(X,ea),be({blockers:ae})}});return}return P(F,M)}),r){iO(t,N);let $=()=>aO(t,N);t.addEventListener("pagehide",$),I=()=>t.removeEventListener("pagehide",$)}return g.initialized||P(et.Pop,g.location,{initialHydration:!0}),C}function qt(){h&&h(),I&&I(),w.clear(),T&&T.abort(),g.fetchers.forEach(($,F)=>li(F)),g.blockers.forEach(($,F)=>Kv(F))}function Dt($){return w.add($),()=>w.delete($)}function be($,F){F===void 0&&(F={}),g=Ke({},g,$);let M=[],z=[];f.v7_fetcherPersist&&g.fetchers.forEach((X,ae)=>{X.state==="idle"&&(Se.has(ae)?z.push(ae):M.push(ae))}),[...w].forEach(X=>X(g,{deletedFetchers:z,unstable_viewTransitionOpts:F.viewTransitionOpts,unstable_flushSync:F.flushSync===!0})),f.v7_fetcherPersist&&(M.forEach(X=>g.fetchers.delete(X)),z.forEach(X=>li(X)))}function Gt($,F,M){var z,X;let{flushSync:ae}=M===void 0?{}:M,se=g.actionData!=null&&g.navigation.formMethod!=null&&br(g.navigation.formMethod)&&g.navigation.state==="loading"&&((z=$.state)==null?void 0:z._isRedirect)!==!0,Y;F.actionData?Object.keys(F.actionData).length>0?Y=F.actionData:Y=null:se?Y=g.actionData:Y=null;let fe=F.loaderData?xy(g.loaderData,F.loaderData,F.matches||[],F.errors):g.loaderData,oe=g.blockers;oe.size>0&&(oe=new Map(oe),oe.forEach((Pe,Me)=>oe.set(Me,ea)));let de=R===!0||g.navigation.formMethod!=null&&br(g.navigation.formMethod)&&((X=$.state)==null?void 0:X._isRedirect)!==!0;s&&(o=s,s=void 0),Q||O===et.Pop||(O===et.Push?e.history.push($,$.state):O===et.Replace&&e.history.replace($,$.state));let Fe;if(O===et.Pop){let Pe=N.get(g.location.pathname);Pe&&Pe.has($.pathname)?Fe={currentLocation:g.location,nextLocation:$}:N.has($.pathname)&&(Fe={currentLocation:$,nextLocation:g.location})}else if(L){let Pe=N.get(g.location.pathname);Pe?Pe.add($.pathname):(Pe=new Set([$.pathname]),N.set(g.location.pathname,Pe)),Fe={currentLocation:g.location,nextLocation:$}}be(Ke({},F,{actionData:Y,loaderData:fe,historyAction:O,location:$,initialized:!0,navigation:Jc,revalidation:"idle",restoreScrollPosition:Gv($,F.matches||g.matches),preventScrollReset:de,blockers:oe}),{viewTransitionOpts:Fe,flushSync:ae===!0}),O=et.Pop,R=!1,L=!1,Q=!1,q=!1,ie=[]}async function si($,F){if(typeof $=="number"){e.history.go($);return}let M=xd(g.location,g.matches,l,f.v7_prependBasename,$,f.v7_relativeSplatPath,F==null?void 0:F.fromRouteId,F==null?void 0:F.relative),{path:z,submission:X,error:ae}=gy(f.v7_normalizeFormMethod,!1,M,F),se=g.location,Y=gu(g.location,z,F&&F.state);Y=Ke({},Y,e.history.encodeLocation(Y));let fe=F&&F.replace!=null?F.replace:void 0,oe=et.Push;fe===!0?oe=et.Replace:fe===!1||X!=null&&br(X.formMethod)&&X.formAction===g.location.pathname+g.location.search&&(oe=et.Replace);let de=F&&"preventScrollReset"in F?F.preventScrollReset===!0:void 0,Fe=(F&&F.unstable_flushSync)===!0,Pe=Qv({currentLocation:se,nextLocation:Y,historyAction:oe});if(Pe){Iu(Pe,{state:"blocked",location:Y,proceed(){Iu(Pe,{state:"proceeding",proceed:void 0,reset:void 0,location:Y}),si($,F)},reset(){let Me=new Map(g.blockers);Me.set(Pe,ea),be({blockers:Me})}});return}return await P(oe,Y,{submission:X,pendingError:ae,preventScrollReset:de,replace:F&&F.replace,enableViewTransition:F&&F.unstable_viewTransition,flushSync:Fe})}function mn(){if(vo(),be({revalidation:"loading"}),g.navigation.state!=="submitting"){if(g.navigation.state==="idle"){P(g.historyAction,g.location,{startUninterruptedRevalidation:!0});return}P(O||g.historyAction,g.navigation.location,{overrideNavigation:g.navigation})}}async function P($,F,M){T&&T.abort(),T=null,O=$,Q=(M&&M.startUninterruptedRevalidation)===!0,ZS(g.location,g.matches),R=(M&&M.preventScrollReset)===!0,L=(M&&M.enableViewTransition)===!0;let z=s||o,X=M&&M.overrideNavigation,ae=hi(z,F,l),se=(M&&M.flushSync)===!0,Y=Nu(ae,z,F.pathname);if(Y.active&&Y.matches&&(ae=Y.matches),!ae){let{error:Ce,notFoundMatches:pt,route:at}=_c(F.pathname);Gt(F,{matches:pt,loaderData:{},errors:{[at.id]:Ce}},{flushSync:se});return}if(g.initialized&&!q&&JC(g.location,F)&&!(M&&M.submission&&br(M.submission.formMethod))){Gt(F,{matches:ae},{flushSync:se});return}T=new AbortController;let fe=Ji(e.history,F,T.signal,M&&M.submission),oe;if(M&&M.pendingError)oe=[ha(ae).route.id,{type:Te.error,error:M.pendingError}];else if(M&&M.submission&&br(M.submission.formMethod)){let Ce=await A(fe,F,M.submission,ae,Y.active,{replace:M.replace,flushSync:se});if(Ce.shortCircuited)return;if(Ce.pendingActionResult){let[pt,at]=Ce.pendingActionResult;if(er(at)&&Ul(at.error)&&at.error.status===404){T=null,Gt(F,{matches:Ce.matches,loaderData:{},errors:{[pt]:at.error}});return}}ae=Ce.matches||ae,oe=Ce.pendingActionResult,X=Xc(F,M.submission),se=!1,Y.active=!1,fe=Ji(e.history,fe.url,fe.signal)}let{shortCircuited:de,matches:Fe,loaderData:Pe,errors:Me}=await D(fe,F,ae,Y.active,X,M&&M.submission,M&&M.fetcherSubmission,M&&M.replace,M&&M.initialHydration===!0,se,oe);de||(T=null,Gt(F,Ke({matches:Fe||ae},Cy(oe),{loaderData:Pe,errors:Me})))}async function A($,F,M,z,X,ae){ae===void 0&&(ae={}),vo();let se=rO(F,M);if(be({navigation:se},{flushSync:ae.flushSync===!0}),X){let oe=await Uu(z,F.pathname,$.signal);if(oe.type==="aborted")return{shortCircuited:!0};if(oe.type==="error"){let{boundaryId:de,error:Fe}=ju(F.pathname,oe);return{matches:oe.partialMatches,pendingActionResult:[de,{type:Te.error,error:Fe}]}}else if(oe.matches)z=oe.matches;else{let{notFoundMatches:de,error:Fe,route:Pe}=_c(F.pathname);return{matches:de,pendingActionResult:[Pe.id,{type:Te.error,error:Fe}]}}}let Y,fe=Mo(z,F);if(!fe.route.action&&!fe.route.lazy)Y={type:Te.error,error:$t(405,{method:$.method,pathname:F.pathname,routeId:fe.route.id})};else if(Y=(await Be("action",$,[fe],z))[0],$.signal.aborted)return{shortCircuited:!0};if(Si(Y)){let oe;return ae&&ae.replace!=null?oe=ae.replace:oe=Sy(Y.response.headers.get("Location"),new URL($.url),l)===g.location.pathname+g.location.search,await ke($,Y,{submission:M,replace:oe}),{shortCircuited:!0}}if(_i(Y))throw $t(400,{type:"defer-action"});if(er(Y)){let oe=ha(z,fe.route.id);return(ae&&ae.replace)!==!0&&(O=et.Push),{matches:z,pendingActionResult:[oe.route.id,Y]}}return{matches:z,pendingActionResult:[fe.route.id,Y]}}async function D($,F,M,z,X,ae,se,Y,fe,oe,de){let Fe=X||Xc(F,ae),Pe=ae||se||ky(Fe),Me=!Q&&(!f.v7_partialHydration||!fe);if(z){if(Me){let Ye=B(de);be(Ke({navigation:Fe},Ye!==void 0?{actionData:Ye}:{}),{flushSync:oe})}let he=await Uu(M,F.pathname,$.signal);if(he.type==="aborted")return{shortCircuited:!0};if(he.type==="error"){let{boundaryId:Ye,error:Jt}=ju(F.pathname,he);return{matches:he.partialMatches,loaderData:{},errors:{[Ye]:Jt}}}else if(he.matches)M=he.matches;else{let{error:Ye,notFoundMatches:Jt,route:We}=_c(F.pathname);return{matches:Jt,loaderData:{},errors:{[We.id]:Ye}}}}let Ce=s||o,[pt,at]=my(e.history,g,M,Pe,F,f.v7_partialHydration&&fe===!0,f.v7_skipActionErrorRevalidation,q,ie,U,Se,_e,le,Ce,l,de);if(Sc(he=>!(M&&M.some(Ye=>Ye.route.id===he))||pt&&pt.some(Ye=>Ye.route.id===he)),ne=++J,pt.length===0&&at.length===0){let he=Wv();return Gt(F,Ke({matches:M,loaderData:{},errors:de&&er(de[1])?{[de[0]]:de[1].error}:null},Cy(de),he?{fetchers:new Map(g.fetchers)}:{}),{flushSync:oe}),{shortCircuited:!0}}if(Me){let he={};if(!z){he.navigation=Fe;let Ye=B(de);Ye!==void 0&&(he.actionData=Ye)}at.length>0&&(he.fetchers=K(at)),be(he,{flushSync:oe})}at.forEach(he=>{V.has(he.key)&&mr(he.key),he.controller&&V.set(he.key,he.controller)});let po=()=>at.forEach(he=>mr(he.key));T&&T.signal.addEventListener("abort",po);let{loaderResults:wn,fetcherResults:Qi}=await Yr(g.matches,M,pt,at,$);if($.signal.aborted)return{shortCircuited:!0};T&&T.signal.removeEventListener("abort",po),at.forEach(he=>V.delete(he.key));let qi=Py([...wn,...Qi]);if(qi){if(qi.idx>=pt.length){let he=at[qi.idx-pt.length].key;le.add(he)}return await ke($,qi.result,{replace:Y}),{shortCircuited:!0}}let{loaderData:Gi,errors:Tr}=by(g,M,pt,wn,de,at,Qi,Le);Le.forEach((he,Ye)=>{he.subscribe(Jt=>{(Jt||he.done)&&Le.delete(Ye)})}),f.v7_partialHydration&&fe&&g.errors&&Object.entries(g.errors).filter(he=>{let[Ye]=he;return!pt.some(Jt=>Jt.route.id===Ye)}).forEach(he=>{let[Ye,Jt]=he;Tr=Object.assign(Tr||{},{[Ye]:Jt})});let zu=Wv(),Vu=Hv(ne),Bu=zu||Vu||at.length>0;return Ke({matches:M,loaderData:Gi,errors:Tr},Bu?{fetchers:new Map(g.fetchers)}:{})}function B($){if($&&!er($[1]))return{[$[0]]:$[1].data};if(g.actionData)return Object.keys(g.actionData).length===0?null:g.actionData}function K($){return $.forEach(F=>{let M=g.fetchers.get(F.key),z=xo(void 0,M?M.data:void 0);g.fetchers.set(F.key,z)}),new Map(g.fetchers)}function H($,F,M,z){if(n)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");V.has($)&&mr($);let X=(z&&z.unstable_flushSync)===!0,ae=s||o,se=xd(g.location,g.matches,l,f.v7_prependBasename,M,f.v7_relativeSplatPath,F,z==null?void 0:z.relative),Y=hi(ae,se,l),fe=Nu(Y,ae,se);if(fe.active&&fe.matches&&(Y=fe.matches),!Y){Yt($,F,$t(404,{pathname:se}),{flushSync:X});return}let{path:oe,submission:de,error:Fe}=gy(f.v7_normalizeFormMethod,!0,se,z);if(Fe){Yt($,F,Fe,{flushSync:X});return}let Pe=Mo(Y,oe);if(R=(z&&z.preventScrollReset)===!0,de&&br(de.formMethod)){re($,F,oe,Pe,Y,fe.active,X,de);return}_e.set($,{routeId:F,path:oe}),pe($,F,oe,Pe,Y,fe.active,X,de)}async function re($,F,M,z,X,ae,se,Y){vo(),_e.delete($);function fe(We){if(!We.route.action&&!We.route.lazy){let Jr=$t(405,{method:Y.formMethod,pathname:M,routeId:F});return Yt($,F,Jr,{flushSync:se}),!0}return!1}if(!ae&&fe(z))return;let oe=g.fetchers.get($);or($,nO(Y,oe),{flushSync:se});let de=new AbortController,Fe=Ji(e.history,M,de.signal,Y);if(ae){let We=await Uu(X,M,Fe.signal);if(We.type==="aborted")return;if(We.type==="error"){let{error:Jr}=ju(M,We);Yt($,F,Jr,{flushSync:se});return}else if(We.matches){if(X=We.matches,z=Mo(X,M),fe(z))return}else{Yt($,F,$t(404,{pathname:M}),{flushSync:se});return}}V.set($,de);let Pe=J,Ce=(await Be("action",Fe,[z],X))[0];if(Fe.signal.aborted){V.get($)===de&&V.delete($);return}if(f.v7_fetcherPersist&&Se.has($)){if(Si(Ce)||er(Ce)){or($,En(void 0));return}}else{if(Si(Ce))if(V.delete($),ne>Pe){or($,En(void 0));return}else return le.add($),or($,xo(Y)),ke(Fe,Ce,{fetcherSubmission:Y});if(er(Ce)){Yt($,F,Ce.error);return}}if(_i(Ce))throw $t(400,{type:"defer-action"});let pt=g.navigation.location||g.location,at=Ji(e.history,pt,de.signal),po=s||o,wn=g.navigation.state!=="idle"?hi(po,g.navigation.location,l):g.matches;ce(wn,"Didn't find any matches after fetcher action");let Qi=++J;te.set($,Qi);let qi=xo(Y,Ce.data);g.fetchers.set($,qi);let[Gi,Tr]=my(e.history,g,wn,Y,pt,!1,f.v7_skipActionErrorRevalidation,q,ie,U,Se,_e,le,po,l,[z.route.id,Ce]);Tr.filter(We=>We.key!==$).forEach(We=>{let Jr=We.key,Jv=g.fetchers.get(Jr),rE=xo(void 0,Jv?Jv.data:void 0);g.fetchers.set(Jr,rE),V.has(Jr)&&mr(Jr),We.controller&&V.set(Jr,We.controller)}),be({fetchers:new Map(g.fetchers)});let zu=()=>Tr.forEach(We=>mr(We.key));de.signal.addEventListener("abort",zu);let{loaderResults:Vu,fetcherResults:Bu}=await Yr(g.matches,wn,Gi,Tr,at);if(de.signal.aborted)return;de.signal.removeEventListener("abort",zu),te.delete($),V.delete($),Tr.forEach(We=>V.delete(We.key));let he=Py([...Vu,...Bu]);if(he){if(he.idx>=Gi.length){let We=Tr[he.idx-Gi.length].key;le.add(We)}return ke(at,he.result)}let{loaderData:Ye,errors:Jt}=by(g,g.matches,Gi,Vu,void 0,Tr,Bu,Le);if(g.fetchers.has($)){let We=En(Ce.data);g.fetchers.set($,We)}Hv(Qi),g.navigation.state==="loading"&&Qi>ne?(ce(O,"Expected pending action"),T&&T.abort(),Gt(g.navigation.location,{matches:wn,loaderData:Ye,errors:Jt,fetchers:new Map(g.fetchers)})):(be({errors:Jt,loaderData:xy(g.loaderData,Ye,wn,Jt),fetchers:new Map(g.fetchers)}),q=!1)}async function pe($,F,M,z,X,ae,se,Y){let fe=g.fetchers.get($);or($,xo(Y,fe?fe.data:void 0),{flushSync:se});let oe=new AbortController,de=Ji(e.history,M,oe.signal);if(ae){let Ce=await Uu(X,M,de.signal);if(Ce.type==="aborted")return;if(Ce.type==="error"){let{error:pt}=ju(M,Ce);Yt($,F,pt,{flushSync:se});return}else if(Ce.matches)X=Ce.matches,z=Mo(X,M);else{Yt($,F,$t(404,{pathname:M}),{flushSync:se});return}}V.set($,oe);let Fe=J,Me=(await Be("loader",de,[z],X))[0];if(_i(Me)&&(Me=await Aw(Me,de.signal,!0)||Me),V.get($)===oe&&V.delete($),!de.signal.aborted){if(Se.has($)){or($,En(void 0));return}if(Si(Me))if(ne>Fe){or($,En(void 0));return}else{le.add($),await ke(de,Me);return}if(er(Me)){Yt($,F,Me.error);return}ce(!_i(Me),"Unhandled fetcher deferred data"),or($,En(Me.data))}}async function ke($,F,M){let{submission:z,fetcherSubmission:X,replace:ae}=M===void 0?{}:M;F.response.headers.has("X-Remix-Revalidate")&&(q=!0);let se=F.response.headers.get("Location");ce(se,"Expected a Location header on the redirect Response"),se=Sy(se,new URL($.url),l);let Y=gu(g.location,se,{_isRedirect:!0});if(r){let Me=!1;if(F.response.headers.has("X-Remix-Reload-Document"))Me=!0;else if(Hh.test(se)){const Ce=e.history.createURL(se);Me=Ce.origin!==t.location.origin||Yn(Ce.pathname,l)==null}if(Me){ae?t.location.replace(se):t.location.assign(se);return}}T=null;let fe=ae===!0||F.response.headers.has("X-Remix-Replace")?et.Replace:et.Push,{formMethod:oe,formAction:de,formEncType:Fe}=g.navigation;!z&&!X&&oe&&de&&Fe&&(z=ky(g.navigation));let Pe=z||X;if(IC.has(F.response.status)&&Pe&&br(Pe.formMethod))await P(fe,Y,{submission:Ke({},Pe,{formAction:se}),preventScrollReset:R});else{let Me=Xc(Y,z);await P(fe,Y,{overrideNavigation:Me,fetcherSubmission:X,preventScrollReset:R})}}async function Be($,F,M,z){try{let X=await KC(u,$,F,M,z,a,i);return await Promise.all(X.map((ae,se)=>{if(ZC(ae)){let Y=ae.result;return{type:Te.redirect,response:GC(Y,F,M[se].route.id,z,l,f.v7_relativeSplatPath)}}return qC(ae)}))}catch(X){return M.map(()=>({type:Te.error,error:X}))}}async function Yr($,F,M,z,X){let[ae,...se]=await Promise.all([M.length?Be("loader",X,M,F):[],...z.map(Y=>{if(Y.matches&&Y.match&&Y.controller){let fe=Ji(e.history,Y.path,Y.controller.signal);return Be("loader",fe,[Y.match],Y.matches).then(oe=>oe[0])}else return Promise.resolve({type:Te.error,error:$t(404,{pathname:Y.path})})})]);return await Promise.all([$y($,M,ae,ae.map(()=>X.signal),!1,g.loaderData),$y($,z.map(Y=>Y.match),se,z.map(Y=>Y.controller?Y.controller.signal:null),!0)]),{loaderResults:ae,fetcherResults:se}}function vo(){q=!0,ie.push(...Sc()),_e.forEach(($,F)=>{V.has(F)&&(U.add(F),mr(F))})}function or($,F,M){M===void 0&&(M={}),g.fetchers.set($,F),be({fetchers:new Map(g.fetchers)},{flushSync:(M&&M.flushSync)===!0})}function Yt($,F,M,z){z===void 0&&(z={});let X=ha(g.matches,F);li($),be({errors:{[X.route.id]:M},fetchers:new Map(g.fetchers)},{flushSync:(z&&z.flushSync)===!0})}function Du($){return f.v7_fetcherPersist&&(nt.set($,(nt.get($)||0)+1),Se.has($)&&Se.delete($)),g.fetchers.get($)||jC}function li($){let F=g.fetchers.get($);V.has($)&&!(F&&F.state==="loading"&&te.has($))&&mr($),_e.delete($),te.delete($),le.delete($),Se.delete($),U.delete($),g.fetchers.delete($)}function wc($){if(f.v7_fetcherPersist){let F=(nt.get($)||0)-1;F<=0?(nt.delete($),Se.add($)):nt.set($,F)}else li($);be({fetchers:new Map(g.fetchers)})}function mr($){let F=V.get($);ce(F,"Expected fetch controller: "+$),F.abort(),V.delete($)}function Bv($){for(let F of $){let M=Du(F),z=En(M.data);g.fetchers.set(F,z)}}function Wv(){let $=[],F=!1;for(let M of le){let z=g.fetchers.get(M);ce(z,"Expected fetcher: "+M),z.state==="loading"&&(le.delete(M),$.push(M),F=!0)}return Bv($),F}function Hv($){let F=[];for(let[M,z]of te)if(z<$){let X=g.fetchers.get(M);ce(X,"Expected fetcher: "+M),X.state==="loading"&&(mr(M),te.delete(M),F.push(M))}return Bv(F),F.length>0}function JS($,F){let M=g.blockers.get($)||ea;return st.get($)!==F&&st.set($,F),M}function Kv($){g.blockers.delete($),st.delete($)}function Iu($,F){let M=g.blockers.get($)||ea;ce(M.state==="unblocked"&&F.state==="blocked"||M.state==="blocked"&&F.state==="blocked"||M.state==="blocked"&&F.state==="proceeding"||M.state==="blocked"&&F.state==="unblocked"||M.state==="proceeding"&&F.state==="unblocked","Invalid blocker state transition: "+M.state+" -> "+F.state);let z=new Map(g.blockers);z.set($,F),be({blockers:z})}function Qv($){let{currentLocation:F,nextLocation:M,historyAction:z}=$;if(st.size===0)return;st.size>1&&Ui(!1,"A router only supports one blocker at a time");let X=Array.from(st.entries()),[ae,se]=X[X.length-1],Y=g.blockers.get(ae);if(!(Y&&Y.state==="proceeding")&&se({currentLocation:F,nextLocation:M,historyAction:z}))return ae}function _c($){let F=$t(404,{pathname:$}),M=s||o,{matches:z,route:X}=Oy(M);return Sc(),{notFoundMatches:z,route:X,error:F}}function ju($,F){return{boundaryId:ha(F.partialMatches).route.id,error:$t(400,{type:"route-discovery",pathname:$,message:F.error!=null&&"message"in F.error?F.error:String(F.error)})}}function Sc($){let F=[];return Le.forEach((M,z)=>{(!$||$(z))&&(M.cancel(),F.push(z),Le.delete(z))}),F}function XS($,F,M){if(x=$,d=F,y=M||null,!p&&g.navigation===Jc){p=!0;let z=Gv(g.location,g.matches);z!=null&&be({restoreScrollPosition:z})}return()=>{x=null,d=null,y=null}}function qv($,F){return y&&y($,F.map(z=>yC(z,g.loaderData)))||$.key}function ZS($,F){if(x&&d){let M=qv($,F);x[M]=d()}}function Gv($,F){if(x){let M=qv($,F),z=x[M];if(typeof z=="number")return z}return null}function Nu($,F,M){if(c){if(b.has(M))return{active:!1,matches:$};if($){if(Object.keys($[0].params).length>0)return{active:!0,matches:Os(F,M,l,!0)}}else return{active:!0,matches:Os(F,M,l,!0)||[]}}return{active:!1,matches:null}}async function Uu($,F,M){let z=$;for(;;){let X=s==null,ae=s||o;try{await WC(c,F,z,ae,a,i,Ee,M)}catch(fe){return{type:"error",error:fe,partialMatches:z}}finally{X&&(o=[...o])}if(M.aborted)return{type:"aborted"};let se=hi(ae,F,l);if(se)return Yv(F,b),{type:"success",matches:se};let Y=Os(ae,F,l,!0);if(!Y||z.length===Y.length&&z.every((fe,oe)=>fe.route.id===Y[oe].route.id))return Yv(F,b),{type:"success",matches:null};z=Y}}function Yv($,F){if(F.size>=_){let M=F.values().next().value;F.delete(M)}F.add($)}function eE($){a={},s=mu($,i,void 0,a)}function tE($,F){let M=s==null;$w($,F,s||o,a,i),M&&(o=[...o],be({}))}return C={get basename(){return l},get future(){return f},get state(){return g},get routes(){return o},get window(){return t},initialize:it,subscribe:Dt,enableScrollRestoration:XS,navigate:si,fetch:H,revalidate:mn,createHref:$=>e.history.createHref($),encodeLocation:$=>e.history.encodeLocation($),getFetcher:Du,deleteFetcher:wc,dispose:qt,getBlocker:JS,deleteBlocker:Kv,patchRoutes:tE,_internalFetchControllers:V,_internalActiveDeferreds:Le,_internalSetRoutes:eE},C}function zC(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function xd(e,t,r,n,i,a,o,s){let l,u;if(o){l=[];for(let f of t)if(l.push(f),f.route.id===o){u=f;break}}else l=t,u=t[t.length-1];let c=Nl(i||".",jl(l,a),Yn(e.pathname,r)||e.pathname,s==="path");return i==null&&(c.search=e.search,c.hash=e.hash),(i==null||i===""||i===".")&&u&&u.route.index&&!Kh(c.search)&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),n&&r!=="/"&&(c.pathname=c.pathname==="/"?r:ln([r,c.pathname])),zi(c)}function gy(e,t,r,n){if(!n||!zC(n))return{path:r};if(n.formMethod&&!tO(n.formMethod))return{path:r,error:$t(405,{method:n.formMethod})};let i=()=>({path:r,error:$t(400,{type:"invalid-body"})}),a=n.formMethod||"get",o=e?a.toUpperCase():a.toLowerCase(),s=kw(r);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!br(o))return i();let h=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((w,_)=>{let[b,x]=_;return""+w+b+"="+x+` +`},""):String(n.body);return{path:r,submission:{formMethod:o,formAction:s,formEncType:n.formEncType,formData:void 0,json:void 0,text:h}}}else if(n.formEncType==="application/json"){if(!br(o))return i();try{let h=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:o,formAction:s,formEncType:n.formEncType,formData:void 0,json:h,text:void 0}}}catch{return i()}}}ce(typeof FormData=="function","FormData is not available in this environment");let l,u;if(n.formData)l=Cd(n.formData),u=n.formData;else if(n.body instanceof FormData)l=Cd(n.body),u=n.body;else if(n.body instanceof URLSearchParams)l=n.body,u=Ey(l);else if(n.body==null)l=new URLSearchParams,u=new FormData;else try{l=new URLSearchParams(n.body),u=Ey(l)}catch{return i()}let c={formMethod:o,formAction:s,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(br(c.formMethod))return{path:r,submission:c};let f=Qr(r);return t&&f.search&&Kh(f.search)&&l.append("index",""),f.search="?"+l,{path:zi(f),submission:c}}function VC(e,t){let r=e;if(t){let n=e.findIndex(i=>i.route.id===t);n>=0&&(r=e.slice(0,n))}return r}function my(e,t,r,n,i,a,o,s,l,u,c,f,h,w,_,b){let x=b?er(b[1])?b[1].error:b[1].data:void 0,y=e.createURL(t.location),d=e.createURL(i),p=b&&er(b[1])?b[0]:void 0,m=p?VC(r,p):r,S=b?b[1].statusCode:void 0,E=o&&S&&S>=400,C=m.filter((O,R)=>{let{route:T}=O;if(T.lazy)return!0;if(T.loader==null)return!1;if(a)return typeof T.loader!="function"||T.loader.hydrate?!0:t.loaderData[T.id]===void 0&&(!t.errors||t.errors[T.id]===void 0);if(BC(t.loaderData,t.matches[R],O)||l.some(I=>I===O.route.id))return!0;let L=t.matches[R],N=O;return wy(O,Ke({currentUrl:y,currentParams:L.params,nextUrl:d,nextParams:N.params},n,{actionResult:x,actionStatus:S,defaultShouldRevalidate:E?!1:s||y.pathname+y.search===d.pathname+d.search||y.search!==d.search||Rw(L,N)}))}),g=[];return f.forEach((O,R)=>{if(a||!r.some(Q=>Q.route.id===O.routeId)||c.has(R))return;let T=hi(w,O.path,_);if(!T){g.push({key:R,routeId:O.routeId,path:O.path,matches:null,match:null,controller:null});return}let L=t.fetchers.get(R),N=Mo(T,O.path),I=!1;h.has(R)?I=!1:u.has(R)?(u.delete(R),I=!0):L&&L.state!=="idle"&&L.data===void 0?I=s:I=wy(N,Ke({currentUrl:y,currentParams:t.matches[t.matches.length-1].params,nextUrl:d,nextParams:r[r.length-1].params},n,{actionResult:x,actionStatus:S,defaultShouldRevalidate:E?!1:s})),I&&g.push({key:R,routeId:O.routeId,path:O.path,matches:T,match:N,controller:new AbortController})}),[C,g]}function BC(e,t,r){let n=!t||r.route.id!==t.route.id,i=e[r.route.id]===void 0;return n||i}function Rw(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function wy(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}async function WC(e,t,r,n,i,a,o,s){let l=[t,...r.map(u=>u.route.id)].join("-");try{let u=o.get(l);u||(u=e({path:t,matches:r,patch:(c,f)=>{s.aborted||$w(c,f,n,i,a)}}),o.set(l,u)),u&&XC(u)&&await u}finally{o.delete(l)}}function $w(e,t,r,n,i){if(e){var a;let o=n[e];ce(o,"No route found to patch children into: routeId = "+e);let s=mu(t,i,[e,"patch",String(((a=o.children)==null?void 0:a.length)||"0")],n);o.children?o.children.push(...s):o.children=s}else{let o=mu(t,i,["patch",String(r.length||"0")],n);r.push(...o)}}async function _y(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let i=r[e.id];ce(i,"No route found in manifest");let a={};for(let o in n){let l=i[o]!==void 0&&o!=="hasErrorBoundary";Ui(!l,'Route "'+i.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!l&&!vC.has(o)&&(a[o]=n[o])}Object.assign(i,a),Object.assign(i,Ke({},t(i),{lazy:void 0}))}function HC(e){return Promise.all(e.matches.map(t=>t.resolve()))}async function KC(e,t,r,n,i,a,o,s){let l=n.reduce((f,h)=>f.add(h.route.id),new Set),u=new Set,c=await e({matches:i.map(f=>{let h=l.has(f.route.id);return Ke({},f,{shouldLoad:h,resolve:_=>(u.add(f.route.id),h?QC(t,r,f,a,o,_,s):Promise.resolve({type:Te.data,result:void 0}))})}),request:r,params:i[0].params,context:s});return i.forEach(f=>ce(u.has(f.route.id),'`match.resolve()` was not called for route id "'+f.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),c.filter((f,h)=>l.has(i[h].route.id))}async function QC(e,t,r,n,i,a,o){let s,l,u=c=>{let f,h=new Promise((b,x)=>f=x);l=()=>f(),t.signal.addEventListener("abort",l);let w=b=>typeof c!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+r.route.id+"]"))):c({request:t,params:r.params,context:o},...b!==void 0?[b]:[]),_;return a?_=a(b=>w(b)):_=(async()=>{try{return{type:"data",result:await w()}}catch(b){return{type:"error",result:b}}})(),Promise.race([_,h])};try{let c=r.route[e];if(r.route.lazy)if(c){let f,[h]=await Promise.all([u(c).catch(w=>{f=w}),_y(r.route,i,n)]);if(f!==void 0)throw f;s=h}else if(await _y(r.route,i,n),c=r.route[e],c)s=await u(c);else if(e==="action"){let f=new URL(t.url),h=f.pathname+f.search;throw $t(405,{method:t.method,pathname:h,routeId:r.route.id})}else return{type:Te.data,result:void 0};else if(c)s=await u(c);else{let f=new URL(t.url),h=f.pathname+f.search;throw $t(404,{pathname:h})}ce(s.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(c){return{type:Te.error,result:c}}finally{l&&t.signal.removeEventListener("abort",l)}return s}async function qC(e){let{result:t,type:r}=e;if(Fw(t)){let u;try{let c=t.headers.get("Content-Type");c&&/\bapplication\/json\b/.test(c)?t.body==null?u=null:u=await t.json():u=await t.text()}catch(c){return{type:Te.error,error:c}}return r===Te.error?{type:Te.error,error:new tl(t.status,t.statusText,u),statusCode:t.status,headers:t.headers}:{type:Te.data,data:u,statusCode:t.status,headers:t.headers}}if(r===Te.error){if(Ry(t)){var n;if(t.data instanceof Error){var i;return{type:Te.error,error:t.data,statusCode:(i=t.init)==null?void 0:i.status}}t=new tl(((n=t.init)==null?void 0:n.status)||500,void 0,t.data)}return{type:Te.error,error:t,statusCode:Ul(t)?t.status:void 0}}if(eO(t)){var a,o;return{type:Te.deferred,deferredData:t,statusCode:(a=t.init)==null?void 0:a.status,headers:((o=t.init)==null?void 0:o.headers)&&new Headers(t.init.headers)}}if(Ry(t)){var s,l;return{type:Te.data,data:t.data,statusCode:(s=t.init)==null?void 0:s.status,headers:(l=t.init)!=null&&l.headers?new Headers(t.init.headers):void 0}}return{type:Te.data,data:t}}function GC(e,t,r,n,i,a){let o=e.headers.get("Location");if(ce(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!Hh.test(o)){let s=n.slice(0,n.findIndex(l=>l.route.id===r)+1);o=xd(new URL(t.url),s,i,!0,o,a),e.headers.set("Location",o)}return e}function Sy(e,t,r){if(Hh.test(e)){let n=e,i=n.startsWith("//")?new URL(t.protocol+n):new URL(n),a=Yn(i.pathname,r)!=null;if(i.origin===t.origin&&a)return i.pathname+i.search+i.hash}return e}function Ji(e,t,r,n){let i=e.createURL(kw(t)).toString(),a={signal:r};if(n&&br(n.formMethod)){let{formMethod:o,formEncType:s}=n;a.method=o.toUpperCase(),s==="application/json"?(a.headers=new Headers({"Content-Type":s}),a.body=JSON.stringify(n.json)):s==="text/plain"?a.body=n.text:s==="application/x-www-form-urlencoded"&&n.formData?a.body=Cd(n.formData):a.body=n.formData}return new Request(i,a)}function Cd(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,typeof n=="string"?n:n.name);return t}function Ey(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function YC(e,t,r,n,i,a){let o={},s=null,l,u=!1,c={},f=n&&er(n[1])?n[1].error:void 0;return r.forEach((h,w)=>{let _=t[w].route.id;if(ce(!Si(h),"Cannot handle redirect results in processLoaderData"),er(h)){let b=h.error;f!==void 0&&(b=f,f=void 0),s=s||{};{let x=ha(e,_);s[x.route.id]==null&&(s[x.route.id]=b)}o[_]=void 0,u||(u=!0,l=Ul(h.error)?h.error.status:500),h.headers&&(c[_]=h.headers)}else _i(h)?(i.set(_,h.deferredData),o[_]=h.deferredData.data,h.statusCode!=null&&h.statusCode!==200&&!u&&(l=h.statusCode),h.headers&&(c[_]=h.headers)):(o[_]=h.data,h.statusCode&&h.statusCode!==200&&!u&&(l=h.statusCode),h.headers&&(c[_]=h.headers))}),f!==void 0&&n&&(s={[n[0]]:f},o[n[0]]=void 0),{loaderData:o,errors:s,statusCode:l||200,loaderHeaders:c}}function by(e,t,r,n,i,a,o,s){let{loaderData:l,errors:u}=YC(t,r,n,i,s);for(let c=0;cn.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function Oy(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function $t(e,t){let{pathname:r,routeId:n,method:i,type:a,message:o}=t===void 0?{}:t,s="Unknown Server Error",l="Unknown @remix-run/router error";return e===400?(s="Bad Request",a==="route-discovery"?l='Unable to match URL "'+r+'" - the `unstable_patchRoutesOnNavigation()` '+(`function threw the following error: +`+o):i&&r&&n?l="You made a "+i+' request to "'+r+'" but '+('did not provide a `loader` for route "'+n+'", ')+"so there is no way to handle the request.":a==="defer-action"?l="defer() is not supported in actions":a==="invalid-body"&&(l="Unable to encode submission body")):e===403?(s="Forbidden",l='Route "'+n+'" does not match URL "'+r+'"'):e===404?(s="Not Found",l='No route matches URL "'+r+'"'):e===405&&(s="Method Not Allowed",i&&r&&n?l="You made a "+i.toUpperCase()+' request to "'+r+'" but '+('did not provide an `action` for route "'+n+'", ')+"so there is no way to handle the request.":i&&(l='Invalid request method "'+i.toUpperCase()+'"')),new tl(e||500,s,new Error(l),!0)}function Py(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(Si(r))return{result:r,idx:t}}}function kw(e){let t=typeof e=="string"?Qr(e):e;return zi(Ke({},t,{hash:""}))}function JC(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function XC(e){return typeof e=="object"&&e!=null&&"then"in e}function ZC(e){return Fw(e.result)&&DC.has(e.result.status)}function _i(e){return e.type===Te.deferred}function er(e){return e.type===Te.error}function Si(e){return(e&&e.type)===Te.redirect}function Ry(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function eO(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Fw(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function tO(e){return MC.has(e.toLowerCase())}function br(e){return TC.has(e.toLowerCase())}async function $y(e,t,r,n,i,a){for(let o=0;of.route.id===l.route.id),c=u!=null&&!Rw(u,l)&&(a&&a[l.route.id])!==void 0;if(_i(s)&&(i||c)){let f=n[o];ce(f,"Expected an AbortSignal for revalidating fetcher deferred result"),await Aw(s,f,i).then(h=>{h&&(r[o]=h||r[o])})}}}async function Aw(e,t,r){if(r===void 0&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:Te.data,data:e.deferredData.unwrappedData}}catch(i){return{type:Te.error,error:i}}return{type:Te.data,data:e.deferredData.data}}}function Kh(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Mo(e,t){let r=typeof t=="string"?Qr(t).search:t.search;if(e[e.length-1].route.index&&Kh(r||""))return e[e.length-1];let n=Cw(e);return n[n.length-1]}function ky(e){let{formMethod:t,formAction:r,formEncType:n,text:i,formData:a,json:o}=e;if(!(!t||!r||!n)){if(i!=null)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:i};if(a!=null)return{formMethod:t,formAction:r,formEncType:n,formData:a,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:o,text:void 0}}}function Xc(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function rO(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function xo(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function nO(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function En(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function iO(e,t){try{let r=e.sessionStorage.getItem(Pw);if(r){let n=JSON.parse(r);for(let[i,a]of Object.entries(n||{}))a&&Array.isArray(a)&&t.set(i,new Set(a||[]))}}catch{}}function aO(e,t){if(t.size>0){let r={};for(let[n,i]of t)r[n]=[...i];try{e.sessionStorage.setItem(Pw,JSON.stringify(r))}catch(n){Ui(!1,"Failed to save applied view transitions in sessionStorage ("+n+").")}}}/** + * React Router v6.26.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Vi(){return Vi=Object.assign?Object.assign.bind():function(e){for(var t=1;tbd(e,xw(t)),[t,e])}function Lw(e){v.useContext(ti).static||v.useLayoutEffect(e)}function Hi(){let{isDataRoute:e}=v.useContext(yn);return e?mO():uO()}function uO(){ri()||ce(!1);let e=v.useContext(ku),{basename:t,future:r,navigator:n}=v.useContext(ti),{matches:i}=v.useContext(yn),{pathname:a}=Qt(),o=JSON.stringify(jl(i,r.v7_relativeSplatPath)),s=v.useRef(!1);return Lw(()=>{s.current=!0}),v.useCallback(function(u,c){if(c===void 0&&(c={}),!s.current)return;if(typeof u=="number"){n.go(u);return}let f=Nl(u,JSON.parse(o),a,c.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:ln([t,f.pathname])),(c.replace?n.replace:n.push)(f,c.state,c)},[t,n,o,a,e])}function Mw(){let{matches:e}=v.useContext(yn),t=e[e.length-1];return t?t.params:{}}function Dw(e,t){let{relative:r}=t===void 0?{}:t,{future:n}=v.useContext(ti),{matches:i}=v.useContext(yn),{pathname:a}=Qt(),o=JSON.stringify(jl(i,n.v7_relativeSplatPath));return v.useMemo(()=>Nl(e,JSON.parse(o),a,r==="path"),[e,o,a,r])}function sO(e,t){return Iw(e,t)}function Iw(e,t,r,n){ri()||ce(!1);let{navigator:i}=v.useContext(ti),{matches:a}=v.useContext(yn),o=a[a.length-1],s=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=Qt(),c;if(t){var f;let x=typeof t=="string"?Qr(t):t;l==="/"||(f=x.pathname)!=null&&f.startsWith(l)||ce(!1),c=x}else c=u;let h=c.pathname||"/",w=h;if(l!=="/"){let x=l.replace(/^\//,"").split("/");w="/"+h.replace(/^\//,"").split("/").slice(x.length).join("/")}let _=hi(e,{pathname:w}),b=hO(_&&_.map(x=>Object.assign({},x,{params:Object.assign({},s,x.params),pathname:ln([l,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:ln([l,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),a,r,n);return t&&b?v.createElement(zl.Provider,{value:{location:Vi({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:et.Pop}},b):b}function lO(){let e=pO(),t=Ul(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},t),r?v.createElement("pre",{style:i},r):null,null)}const cO=v.createElement(lO,null);class fO extends v.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?v.createElement(yn.Provider,{value:this.props.routeContext},v.createElement(Tw.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function dO(e){let{routeContext:t,match:r,children:n}=e,i=v.useContext(ku);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),v.createElement(yn.Provider,{value:t},n)}function hO(e,t,r,n){var i;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var a;if(!r)return null;if(r.errors)e=r.matches;else if((a=n)!=null&&a.v7_partialHydration&&t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let o=e,s=(i=r)==null?void 0:i.errors;if(s!=null){let c=o.findIndex(f=>f.route.id&&(s==null?void 0:s[f.route.id])!==void 0);c>=0||ce(!1),o=o.slice(0,Math.min(o.length,c+1))}let l=!1,u=-1;if(r&&n&&n.v7_partialHydration)for(let c=0;c=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((c,f,h)=>{let w,_=!1,b=null,x=null;r&&(w=s&&f.route.id?s[f.route.id]:void 0,b=f.route.errorElement||cO,l&&(u<0&&h===0?(_=!0,x=null):u===h&&(_=!0,x=f.route.hydrateFallbackElement||null)));let y=t.concat(o.slice(0,h+1)),d=()=>{let p;return w?p=b:_?p=x:f.route.Component?p=v.createElement(f.route.Component,null):f.route.element?p=f.route.element:p=c,v.createElement(dO,{match:f,routeContext:{outlet:c,matches:y,isDataRoute:r!=null},children:p})};return r&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?v.createElement(fO,{location:r.location,revalidation:r.revalidation,component:b,error:w,children:d(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):d()},null)}var qh=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(qh||{}),wu=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(wu||{});function jw(e){let t=v.useContext(ku);return t||ce(!1),t}function Nw(e){let t=v.useContext(Qh);return t||ce(!1),t}function vO(e){let t=v.useContext(yn);return t||ce(!1),t}function Uw(e){let t=vO(),r=t.matches[t.matches.length-1];return r.route.id||ce(!1),r.route.id}function pO(){var e;let t=v.useContext(Tw),r=Nw(wu.UseRouteError),n=Uw(wu.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}let yO=0;function gO(e){let{router:t,basename:r}=jw(qh.UseBlocker),n=Nw(wu.UseBlocker),[i,a]=v.useState(""),o=v.useCallback(s=>{if(typeof e!="function")return!!e;if(r==="/")return e(s);let{currentLocation:l,nextLocation:u,historyAction:c}=s;return e({currentLocation:Vi({},l,{pathname:Yn(l.pathname,r)||l.pathname}),nextLocation:Vi({},u,{pathname:Yn(u.pathname,r)||u.pathname}),historyAction:c})},[r,e]);return v.useEffect(()=>{let s=String(++yO);return a(s),()=>t.deleteBlocker(s)},[t]),v.useEffect(()=>{i!==""&&t.getBlocker(i,o)},[t,i,o]),i&&n.blockers.has(i)?n.blockers.get(i):ea}function mO(){let{router:e}=jw(qh.UseNavigateStable),t=Uw(wu.UseNavigateStable),r=v.useRef(!1);return Lw(()=>{r.current=!0}),v.useCallback(function(i,a){a===void 0&&(a={}),r.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Vi({fromRouteId:t},a)))},[e,t])}function wO(e){let{to:t,replace:r,state:n,relative:i}=e;ri()||ce(!1);let{future:a,static:o}=v.useContext(ti),{matches:s}=v.useContext(yn),{pathname:l}=Qt(),u=Hi(),c=Nl(t,jl(s,a.v7_relativeSplatPath),l,i==="path"),f=JSON.stringify(c);return v.useEffect(()=>u(JSON.parse(f),{replace:r,state:n,relative:i}),[u,f,i,r,n]),null}function Vt(e){ce(!1)}function _O(e){let{basename:t="/",children:r=null,location:n,navigationType:i=et.Pop,navigator:a,static:o=!1,future:s}=e;ri()&&ce(!1);let l=t.replace(/^\/*/,"/"),u=v.useMemo(()=>({basename:l,navigator:a,static:o,future:Vi({v7_relativeSplatPath:!1},s)}),[l,s,a,o]);typeof n=="string"&&(n=Qr(n));let{pathname:c="/",search:f="",hash:h="",state:w=null,key:_="default"}=n,b=v.useMemo(()=>{let x=Yn(c,l);return x==null?null:{location:{pathname:x,search:f,hash:h,state:w,key:_},navigationType:i}},[l,c,f,h,w,_,i]);return b==null?null:v.createElement(ti.Provider,{value:u},v.createElement(zl.Provider,{children:r,value:b}))}function va(e){let{children:t,location:r}=e;return sO(Od(t),r)}new Promise(()=>{});function Od(e,t){t===void 0&&(t=[]);let r=[];return v.Children.forEach(e,(n,i)=>{if(!v.isValidElement(n))return;let a=[...t,i];if(n.type===v.Fragment){r.push.apply(r,Od(n.props.children,a));return}n.type!==Vt&&ce(!1),!n.props.index||!n.props.children||ce(!1);let o={id:n.props.id||a.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(o.children=Od(n.props.children,a)),r.push(o)}),r}function SO(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:v.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:v.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:v.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + * React Router DOM v6.26.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function _u(){return _u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[i]=e[i]);return r}function bO(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function xO(e,t){return e.button===0&&(!t||t==="_self")&&!bO(e)}const CO=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],OO="6";try{window.__reactRouterVersion=OO}catch{}function PO(e,t){return UC({basename:t==null?void 0:t.basename,future:_u({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:fC({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||RO(),routes:e,mapRouteProperties:SO,unstable_dataStrategy:t==null?void 0:t.unstable_dataStrategy,unstable_patchRoutesOnNavigation:t==null?void 0:t.unstable_patchRoutesOnNavigation,window:t==null?void 0:t.window}).initialize()}function RO(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=_u({},t,{errors:$O(t.errors)})),t}function $O(e){if(!e)return null;let t=Object.entries(e),r={};for(let[n,i]of t)if(i&&i.__type==="RouteErrorResponse")r[n]=new tl(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let a=window[i.__subType];if(typeof a=="function")try{let o=new a(i.message);o.stack="",r[n]=o}catch{}}if(r[n]==null){let a=new Error(i.message);a.stack="",r[n]=a}}else r[n]=i;return r}const kO=v.createContext({isTransitioning:!1}),FO=v.createContext(new Map),AO="startTransition",Fy=mE[AO],TO="flushSync",Ay=Fx[TO];function LO(e){Fy?Fy(e):e()}function Co(e){Ay?Ay(e):e()}class MO{constructor(){this.status="pending",this.promise=new Promise((t,r)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",t(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",r(n))}})}}function DO(e){let{fallbackElement:t,router:r,future:n}=e,[i,a]=v.useState(r.state),[o,s]=v.useState(),[l,u]=v.useState({isTransitioning:!1}),[c,f]=v.useState(),[h,w]=v.useState(),[_,b]=v.useState(),x=v.useRef(new Map),{v7_startTransition:y}=n||{},d=v.useCallback(g=>{y?LO(g):g()},[y]),p=v.useCallback((g,O)=>{let{deletedFetchers:R,unstable_flushSync:T,unstable_viewTransitionOpts:L}=O;R.forEach(I=>x.current.delete(I)),g.fetchers.forEach((I,Q)=>{I.data!==void 0&&x.current.set(Q,I.data)});let N=r.window==null||r.window.document==null||typeof r.window.document.startViewTransition!="function";if(!L||N){T?Co(()=>a(g)):d(()=>a(g));return}if(T){Co(()=>{h&&(c&&c.resolve(),h.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:L.currentLocation,nextLocation:L.nextLocation})});let I=r.window.document.startViewTransition(()=>{Co(()=>a(g))});I.finished.finally(()=>{Co(()=>{f(void 0),w(void 0),s(void 0),u({isTransitioning:!1})})}),Co(()=>w(I));return}h?(c&&c.resolve(),h.skipTransition(),b({state:g,currentLocation:L.currentLocation,nextLocation:L.nextLocation})):(s(g),u({isTransitioning:!0,flushSync:!1,currentLocation:L.currentLocation,nextLocation:L.nextLocation}))},[r.window,h,c,x,d]);v.useLayoutEffect(()=>r.subscribe(p),[r,p]),v.useEffect(()=>{l.isTransitioning&&!l.flushSync&&f(new MO)},[l]),v.useEffect(()=>{if(c&&o&&r.window){let g=o,O=c.promise,R=r.window.document.startViewTransition(async()=>{d(()=>a(g)),await O});R.finished.finally(()=>{f(void 0),w(void 0),s(void 0),u({isTransitioning:!1})}),w(R)}},[d,o,c,r.window]),v.useEffect(()=>{c&&o&&i.location.key===o.location.key&&c.resolve()},[c,h,i.location,o]),v.useEffect(()=>{!l.isTransitioning&&_&&(s(_.state),u({isTransitioning:!0,flushSync:!1,currentLocation:_.currentLocation,nextLocation:_.nextLocation}),b(void 0))},[l.isTransitioning,_]),v.useEffect(()=>{},[]);let m=v.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:g=>r.navigate(g),push:(g,O,R)=>r.navigate(g,{state:O,preventScrollReset:R==null?void 0:R.preventScrollReset}),replace:(g,O,R)=>r.navigate(g,{replace:!0,state:O,preventScrollReset:R==null?void 0:R.preventScrollReset})}),[r]),S=r.basename||"/",E=v.useMemo(()=>({router:r,navigator:m,static:!1,basename:S}),[r,m,S]),C=v.useMemo(()=>({v7_relativeSplatPath:r.future.v7_relativeSplatPath}),[r.future.v7_relativeSplatPath]);return v.createElement(v.Fragment,null,v.createElement(ku.Provider,{value:E},v.createElement(Qh.Provider,{value:i},v.createElement(FO.Provider,{value:x.current},v.createElement(kO.Provider,{value:l},v.createElement(_O,{basename:S,location:i.location,navigationType:i.historyAction,navigator:m,future:C},i.initialized||r.future.v7_partialHydration?v.createElement(IO,{routes:r.routes,future:r.future,state:i}):t))))),null)}const IO=v.memo(jO);function jO(e){let{routes:t,future:r,state:n}=e;return Iw(t,void 0,n,r)}const NO=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",UO=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,HV=v.forwardRef(function(t,r){let{onClick:n,relative:i,reloadDocument:a,replace:o,state:s,target:l,to:u,preventScrollReset:c,unstable_viewTransition:f}=t,h=EO(t,CO),{basename:w}=v.useContext(ti),_,b=!1;if(typeof u=="string"&&UO.test(u)&&(_=u,NO))try{let p=new URL(window.location.href),m=u.startsWith("//")?new URL(p.protocol+u):new URL(u),S=Yn(m.pathname,w);m.origin===p.origin&&S!=null?u=S+m.search+m.hash:b=!0}catch{}let x=oO(u,{relative:i}),y=zO(u,{replace:o,state:s,target:l,preventScrollReset:c,relative:i,unstable_viewTransition:f});function d(p){n&&n(p),p.defaultPrevented||y(p)}return v.createElement("a",_u({},h,{href:_||x,onClick:b||a?n:d,ref:r,target:l}))});var Ty;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ty||(Ty={}));var Ly;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ly||(Ly={}));function zO(e,t){let{target:r,replace:n,state:i,preventScrollReset:a,relative:o,unstable_viewTransition:s}=t===void 0?{}:t,l=Hi(),u=Qt(),c=Dw(e,{relative:o});return v.useCallback(f=>{if(xO(f,r)){f.preventDefault();let h=n!==void 0?n:zi(u)===zi(c);l(e,{replace:h,state:i,preventScrollReset:a,relative:o,unstable_viewTransition:s})}},[u,l,c,n,i,r,e,a,o,s])}var VO="RaStore",BO=function(){if(typeof window>"u"||window.localStorage==null)return!1;try{return window.localStorage.setItem("test","test"),window.localStorage.removeItem("test"),!0}catch{return!1}},Pd=BO(),KV=function(e,t){e===void 0&&(e="1"),t===void 0&&(t="");var r="".concat(VO).concat(t),n=r.length,i={},a=function(s,l){Object.keys(i).forEach(function(u){i[u]&&i[u].key===s&&i[u].callback(l)})},o=function(s){var l;if(((l=s.key)===null||l===void 0?void 0:l.substring(0,n))===r){var u=s.key.substring(n+1),c=s.newValue?My(s.newValue):void 0;Object.keys(i).forEach(function(f){i[f]&&i[f].key===u&&(c===null?i[f].callback(void 0):i[f].callback(c??void 0))})}};return{setup:function(){if(Pd){var s=Xr().getItem("".concat(r,".version"));if(s&&s!==e){var l=Xr();Object.keys(l).forEach(function(u){u.startsWith(r)&&l.removeItem(u)})}Xr().setItem("".concat(r,".version"),e),window.addEventListener("storage",o)}},teardown:function(){Pd&&window.removeEventListener("storage",o)},getItem:function(s,l){var u=Xr().getItem("".concat(r,".").concat(s));return u==null?l:My(u)},setItem:function(s,l){l===void 0?Xr().removeItem("".concat(r,".").concat(s)):Xr().setItem("".concat(r,".").concat(s),JSON.stringify(l)),a(s,l)},removeItem:function(s){Xr().removeItem("".concat(r,".").concat(s)),a(s,void 0)},removeItems:function(s){var l=Xr();Object.keys(l).forEach(function(u){if(u.startsWith("".concat(r,".").concat(s))){l.removeItem(u);var c=u.substring(n+1);a(c,void 0)}})},reset:function(){var s=Xr();Object.keys(s).forEach(function(l){if(l.startsWith(r)){s.removeItem(l);var u=l.substring(n+1);a(u,void 0)}})},subscribe:function(s,l){var u=Math.random().toString();return i[u]={key:s,callback:l},function(){delete i[u]}}}},My=function(e){try{return JSON.parse(e)}catch{return e}},WO=function(){function e(){this.valuesMap=new Map}return e.prototype.getItem=function(t){return this.valuesMap.has(t)?String(this.valuesMap.get(t)):null},e.prototype.setItem=function(t,r){this.valuesMap.set(t,r)},e.prototype.removeItem=function(t){this.valuesMap.delete(t)},e.prototype.removeItems=function(t){var r=this;this.valuesMap.forEach(function(n,i){i.startsWith(t)&&r.valuesMap.delete(i)})},e.prototype.clear=function(){this.valuesMap.clear()},e.prototype.key=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'key' on 'Storage': 1 argument required, but only 0 present.");var r=Array.from(this.valuesMap.keys());return r[t]},Object.defineProperty(e.prototype,"length",{get:function(){return this.valuesMap.size},enumerable:!1,configurable:!0}),e}(),HO=new WO,Xr=function(){return Pd?window.localStorage:HO},KO=typeof $o=="object"&&$o&&$o.Object===Object&&$o,zw=KO,QO=zw,qO=typeof self=="object"&&self&&self.Object===Object&&self,GO=QO||qO||Function("return this")(),kr=GO,YO=kr,JO=YO.Symbol,Za=JO,Dy=Za,Vw=Object.prototype,XO=Vw.hasOwnProperty,ZO=Vw.toString,Oo=Dy?Dy.toStringTag:void 0;function eP(e){var t=XO.call(e,Oo),r=e[Oo];try{e[Oo]=void 0;var n=!0}catch{}var i=ZO.call(e);return n&&(t?e[Oo]=r:delete e[Oo]),i}var tP=eP,rP=Object.prototype,nP=rP.toString;function iP(e){return nP.call(e)}var aP=iP,Iy=Za,oP=tP,uP=aP,sP="[object Null]",lP="[object Undefined]",jy=Iy?Iy.toStringTag:void 0;function cP(e){return e==null?e===void 0?lP:sP:jy&&jy in Object(e)?oP(e):uP(e)}var eo=cP;function fP(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Fr=fP,dP=eo,hP=Fr,vP="[object AsyncFunction]",pP="[object Function]",yP="[object GeneratorFunction]",gP="[object Proxy]";function mP(e){if(!hP(e))return!1;var t=dP(e);return t==pP||t==yP||t==vP||t==gP}var Gh=mP,wP=kr,_P=wP["__core-js_shared__"],SP=_P,Zc=SP,Ny=function(){var e=/[^.]+$/.exec(Zc&&Zc.keys&&Zc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function EP(e){return!!Ny&&Ny in e}var bP=EP,xP=Function.prototype,CP=xP.toString;function OP(e){if(e!=null){try{return CP.call(e)}catch{}try{return e+""}catch{}}return""}var Bw=OP,PP=Gh,RP=bP,$P=Fr,kP=Bw,FP=/[\\^$.*+?()[\]{}|]/g,AP=/^\[object .+?Constructor\]$/,TP=Function.prototype,LP=Object.prototype,MP=TP.toString,DP=LP.hasOwnProperty,IP=RegExp("^"+MP.call(DP).replace(FP,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function jP(e){if(!$P(e)||RP(e))return!1;var t=PP(e)?IP:AP;return t.test(kP(e))}var NP=jP;function UP(e,t){return e==null?void 0:e[t]}var zP=UP,VP=NP,BP=zP;function WP(e,t){var r=BP(e,t);return VP(r)?r:void 0}var Ki=WP,HP=Ki,KP=function(){try{var e=HP(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Ww=KP,Uy=Ww;function QP(e,t,r){t=="__proto__"&&Uy?Uy(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Yh=QP;function qP(e,t){return e===t||e!==e&&t!==t}var to=qP,GP=Yh,YP=to,JP=Object.prototype,XP=JP.hasOwnProperty;function ZP(e,t,r){var n=e[t];(!(XP.call(e,t)&&YP(n,r))||r===void 0&&!(t in e))&&GP(e,t,r)}var Jh=ZP,eR=Array.isArray,qr=eR;function tR(e){return e!=null&&typeof e=="object"}var gn=tR,rR=eo,nR=gn,iR="[object Symbol]";function aR(e){return typeof e=="symbol"||nR(e)&&rR(e)==iR}var Vl=aR,oR=qr,uR=Vl,sR=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lR=/^\w*$/;function cR(e,t){if(oR(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||uR(e)?!0:lR.test(e)||!sR.test(e)||t!=null&&e in Object(t)}var fR=cR,dR=Ki,hR=dR(Object,"create"),Bl=hR,zy=Bl;function vR(){this.__data__=zy?zy(null):{},this.size=0}var pR=vR;function yR(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var gR=yR,mR=Bl,wR="__lodash_hash_undefined__",_R=Object.prototype,SR=_R.hasOwnProperty;function ER(e){var t=this.__data__;if(mR){var r=t[e];return r===wR?void 0:r}return SR.call(t,e)?t[e]:void 0}var bR=ER,xR=Bl,CR=Object.prototype,OR=CR.hasOwnProperty;function PR(e){var t=this.__data__;return xR?t[e]!==void 0:OR.call(t,e)}var RR=PR,$R=Bl,kR="__lodash_hash_undefined__";function FR(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=$R&&t===void 0?kR:t,this}var AR=FR,TR=pR,LR=gR,MR=bR,DR=RR,IR=AR;function ro(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var ZR=XR,e$=Wl;function t$(e,t){var r=this.__data__,n=e$(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var r$=t$,n$=UR,i$=QR,a$=YR,o$=ZR,u$=r$;function no(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&ei?0:i+t),r=r>i?i:r,r<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(i);++ns))return!1;var u=a.get(e),c=a.get(t);if(u&&c)return u==t&&c==e;var f=-1,h=!0,w=r&RF?new xF:void 0;for(a.set(e,t),a.set(t,e);++f-1&&e%1==0&&e<=CA}var ov=OA,PA=eo,RA=ov,$A=gn,kA="[object Arguments]",FA="[object Array]",AA="[object Boolean]",TA="[object Date]",LA="[object Error]",MA="[object Function]",DA="[object Map]",IA="[object Number]",jA="[object Object]",NA="[object RegExp]",UA="[object Set]",zA="[object String]",VA="[object WeakMap]",BA="[object ArrayBuffer]",WA="[object DataView]",HA="[object Float32Array]",KA="[object Float64Array]",QA="[object Int8Array]",qA="[object Int16Array]",GA="[object Int32Array]",YA="[object Uint8Array]",JA="[object Uint8ClampedArray]",XA="[object Uint16Array]",ZA="[object Uint32Array]",ze={};ze[HA]=ze[KA]=ze[QA]=ze[qA]=ze[GA]=ze[YA]=ze[JA]=ze[XA]=ze[ZA]=!0;ze[kA]=ze[FA]=ze[BA]=ze[AA]=ze[WA]=ze[TA]=ze[LA]=ze[MA]=ze[DA]=ze[IA]=ze[jA]=ze[NA]=ze[UA]=ze[zA]=ze[VA]=!1;function eT(e){return $A(e)&&RA(e.length)&&!!ze[PA(e)]}var tT=eT;function rT(e){return function(t){return e(t)}}var uv=rT,il={exports:{}};il.exports;(function(e,t){var r=zw,n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a&&r.process,s=function(){try{var l=i&&i.require&&i.require("util").types;return l||o&&o.binding&&o.binding("util")}catch{}}();e.exports=s})(il,il.exports);var sv=il.exports,nT=tT,iT=uv,Zy=sv,eg=Zy&&Zy.isTypedArray,aT=eg?iT(eg):nT,lv=aT,oT=hA,uT=Yl,sT=qr,lT=Jl,cT=Ql,fT=lv,dT=Object.prototype,hT=dT.hasOwnProperty;function vT(e,t){var r=sT(e),n=!r&&uT(e),i=!r&&!n&&lT(e),a=!r&&!n&&!i&&fT(e),o=r||n||i||a,s=o?oT(e.length,String):[],l=s.length;for(var u in e)(t||hT.call(e,u))&&!(o&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||cT(u,l)))&&s.push(u);return s}var o_=vT,pT=Object.prototype;function yT(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||pT;return e===r}var cv=yT;function gT(e,t){return function(r){return e(t(r))}}var u_=gT,mT=u_,wT=mT(Object.keys,Object),_T=wT,ST=cv,ET=_T,bT=Object.prototype,xT=bT.hasOwnProperty;function CT(e){if(!ST(e))return ET(e);var t=[];for(var r in Object(e))xT.call(e,r)&&r!="constructor"&&t.push(r);return t}var OT=CT,PT=Gh,RT=ov;function $T(e){return e!=null&&RT(e.length)&&!PT(e)}var Xl=$T,kT=o_,FT=OT,AT=Xl;function TT(e){return AT(e)?kT(e):FT(e)}var fv=TT,LT=n_,MT=av,DT=fv;function IT(e){return LT(e,DT,MT)}var s_=IT,tg=s_,jT=1,NT=Object.prototype,UT=NT.hasOwnProperty;function zT(e,t,r,n,i,a){var o=r&jT,s=tg(e),l=s.length,u=tg(t),c=u.length;if(l!=c&&!o)return!1;for(var f=l;f--;){var h=s[f];if(!(o?h in t:UT.call(t,h)))return!1}var w=a.get(e),_=a.get(t);if(w&&_)return w==t&&_==e;var b=!0;a.set(e,t),a.set(t,e);for(var x=o;++f0){if(++t>=cM)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var vM=hM,pM=lM,yM=vM,gM=yM(pM),C_=gM,mM=b_,wM=x_,_M=C_;function SM(e,t){return _M(wM(e,t,mM),e+"")}var yv=SM,EM=to,bM=Xl,xM=Ql,CM=Fr;function OM(e,t,r){if(!CM(r))return!1;var n=typeof t;return(n=="number"?bM(r)&&xM(t,r.length):n=="string"&&t in r)?EM(r[t],e):!1}var O_=OM,PM=yv,RM=O_;function $M(e){return PM(function(t,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,o=i>2?r[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,o&&RM(r[0],r[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++n=t||C<0||f&&g>=a}function y(){var E=nf();if(x(E))return d(E);s=setTimeout(y,b(E))}function d(E){return s=void 0,h&&n?w(E):(n=i=void 0,o)}function p(){s!==void 0&&clearTimeout(s),u=0,n=l=i=s=void 0}function m(){return s===void 0?o:d(nf())}function S(){var E=nf(),C=x(E);if(n=arguments,i=this,l=E,C){if(s===void 0)return _(l);if(f)return clearTimeout(s),s=setTimeout(y,t),w(l)}return s===void 0&&(s=setTimeout(y,t)),o}return S.cancel=p,S.flush=m,S}var Vj=zj;const A_=Tt(Vj);var Bj=function(e,t){t===void 0&&(t=250);var r=Wj(e,t),n=r[0],i=r[1],a=Qt();v.useEffect(function(){var o;n!=null&&((o=a.state)===null||o===void 0?void 0:o._scrollToTop)!==!0&&(i(void 0),window.scrollTo(0,n))},[])},Wj=function(e,t){t===void 0&&(t=250);var r=ui(e),n=r[0],i=r[1];return v.useEffect(function(){if(!(typeof window>"u")){var a=A_(function(){i(window.scrollY)},t);return window.addEventListener("scroll",a),function(){window.removeEventListener("scroll",a)}}},[t,i]),[n,i]},Hj=function(e){var t=e.children,r=e.storeKey,n=e.debounce,i=n===void 0?250:n;return Bj(r,i),t},so=function(){return v.useContext(F_)},mv=function(){var e=so();return v.useCallback(function(t){var r=t.resource,n=t.id,i=t.type;if(["list","create","edit","show"].includes(i)&&!r)throw new Error("Cannot create a link without a resource. You must provide the resource name.");switch(i){case"list":return Ur("".concat(e,"/").concat(r));case"create":return Ur("".concat(e,"/").concat(r,"/create"));case"edit":return n==null?Ur("".concat(e,"/").concat(r)):Ur("".concat(e,"/").concat(r,"/").concat(encodeURIComponent(n)));case"show":return n==null?Ur("".concat(e,"/").concat(r)):Ur("".concat(e,"/").concat(r,"/").concat(encodeURIComponent(n),"/show"));default:return i}},[e])},Ur=function(e){return e.replace("//","/")};function Lg(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}var Kj=function(e,t){if(Lg(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=0;i0)throw new Error("<".concat(e,`> component is not properly configured, some essential props are missing. +Be sure to pass the props from the parent. Example: + +const My`).concat(e,` = props => ( + <`).concat(e," {...props}> +); + +The missing props are: `).concat(i.join(", ")))},ul=function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;nencodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),N_="%[a-f0-9]{2}",jg=new RegExp("("+N_+")|([^%]+?)","gi"),Ng=new RegExp("("+N_+")+","gi");function Dd(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],Dd(r),Dd(n))}function gN(e){try{return decodeURIComponent(e)}catch{for(var t=e.match(jg)||[],r=1;r{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]},SN=function(e,t){for(var r={},n=Object.keys(e),i=Array.isArray(t),a=0;ad==null,o=Symbol("encodeFragmentIdentifier");function s(d){switch(d.arrayFormat){case"index":return p=>(m,S)=>{const E=m.length;return S===void 0||d.skipNull&&S===null||d.skipEmptyString&&S===""?m:S===null?[...m,[c(p,d),"[",E,"]"].join("")]:[...m,[c(p,d),"[",c(E,d),"]=",c(S,d)].join("")]};case"bracket":return p=>(m,S)=>S===void 0||d.skipNull&&S===null||d.skipEmptyString&&S===""?m:S===null?[...m,[c(p,d),"[]"].join("")]:[...m,[c(p,d),"[]=",c(S,d)].join("")];case"colon-list-separator":return p=>(m,S)=>S===void 0||d.skipNull&&S===null||d.skipEmptyString&&S===""?m:S===null?[...m,[c(p,d),":list="].join("")]:[...m,[c(p,d),":list=",c(S,d)].join("")];case"comma":case"separator":case"bracket-separator":{const p=d.arrayFormat==="bracket-separator"?"[]=":"=";return m=>(S,E)=>E===void 0||d.skipNull&&E===null||d.skipEmptyString&&E===""?S:(E=E===null?"":E,S.length===0?[[c(m,d),p,c(E,d)].join("")]:[[S,c(E,d)].join(d.arrayFormatSeparator)])}default:return p=>(m,S)=>S===void 0||d.skipNull&&S===null||d.skipEmptyString&&S===""?m:S===null?[...m,c(p,d)]:[...m,[c(p,d),"=",c(S,d)].join("")]}}function l(d){let p;switch(d.arrayFormat){case"index":return(m,S,E)=>{if(p=/\[(\d*)\]$/.exec(m),m=m.replace(/\[\d*\]$/,""),!p){E[m]=S;return}E[m]===void 0&&(E[m]={}),E[m][p[1]]=S};case"bracket":return(m,S,E)=>{if(p=/(\[\])$/.exec(m),m=m.replace(/\[\]$/,""),!p){E[m]=S;return}if(E[m]===void 0){E[m]=[S];return}E[m]=[].concat(E[m],S)};case"colon-list-separator":return(m,S,E)=>{if(p=/(:list)$/.exec(m),m=m.replace(/:list$/,""),!p){E[m]=S;return}if(E[m]===void 0){E[m]=[S];return}E[m]=[].concat(E[m],S)};case"comma":case"separator":return(m,S,E)=>{const C=typeof S=="string"&&S.includes(d.arrayFormatSeparator),g=typeof S=="string"&&!C&&f(S,d).includes(d.arrayFormatSeparator);S=g?f(S,d):S;const O=C||g?S.split(d.arrayFormatSeparator).map(R=>f(R,d)):S===null?S:f(S,d);E[m]=O};case"bracket-separator":return(m,S,E)=>{const C=/(\[\])$/.test(m);if(m=m.replace(/\[\]$/,""),!C){E[m]=S&&f(S,d);return}const g=S===null?[]:S.split(d.arrayFormatSeparator).map(O=>f(O,d));if(E[m]===void 0){E[m]=g;return}E[m]=[].concat(E[m],g)};default:return(m,S,E)=>{if(E[m]===void 0){E[m]=S;return}E[m]=[].concat(E[m],S)}}}function u(d){if(typeof d!="string"||d.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function c(d,p){return p.encode?p.strict?t(d):encodeURIComponent(d):d}function f(d,p){return p.decode?r(d):d}function h(d){return Array.isArray(d)?d.sort():typeof d=="object"?h(Object.keys(d)).sort((p,m)=>Number(p)-Number(m)).map(p=>d[p]):d}function w(d){const p=d.indexOf("#");return p!==-1&&(d=d.slice(0,p)),d}function _(d){let p="";const m=d.indexOf("#");return m!==-1&&(p=d.slice(m)),p}function b(d){d=w(d);const p=d.indexOf("?");return p===-1?"":d.slice(p+1)}function x(d,p){return p.parseNumbers&&!Number.isNaN(Number(d))&&typeof d=="string"&&d.trim()!==""?d=Number(d):p.parseBooleans&&d!==null&&(d.toLowerCase()==="true"||d.toLowerCase()==="false")&&(d=d.toLowerCase()==="true"),d}function y(d,p){p=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},p),u(p.arrayFormatSeparator);const m=l(p),S=Object.create(null);if(typeof d!="string"||(d=d.trim().replace(/^[?#&]/,""),!d))return S;for(const E of d.split("&")){if(E==="")continue;let[C,g]=n(p.decode?E.replace(/\+/g," "):E,"=");g=g===void 0?null:["comma","separator","bracket-separator"].includes(p.arrayFormat)?g:f(g,p),m(f(C,p),g,S)}for(const E of Object.keys(S)){const C=S[E];if(typeof C=="object"&&C!==null)for(const g of Object.keys(C))C[g]=x(C[g],p);else S[E]=x(C,p)}return p.sort===!1?S:(p.sort===!0?Object.keys(S).sort():Object.keys(S).sort(p.sort)).reduce((E,C)=>{const g=S[C];return g&&typeof g=="object"&&!Array.isArray(g)?E[C]=h(g):E[C]=g,E},Object.create(null))}e.extract=b,e.parse=y,e.stringify=(d,p)=>{if(!d)return"";p=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},p),u(p.arrayFormatSeparator);const m=g=>p.skipNull&&a(d[g])||p.skipEmptyString&&d[g]==="",S=s(p),E={};for(const g of Object.keys(d))m(g)||(E[g]=d[g]);const C=Object.keys(E);return p.sort!==!1&&C.sort(p.sort),C.map(g=>{const O=d[g];return O===void 0?"":O===null?c(g,p):Array.isArray(O)?O.length===0&&p.arrayFormat==="bracket-separator"?c(g,p)+"[]":O.reduce(S(g),[]).join("&"):c(g,p)+"="+c(O,p)}).filter(g=>g.length>0).join("&")},e.parseUrl=(d,p)=>{p=Object.assign({decode:!0},p);const[m,S]=n(d,"#");return Object.assign({url:m.split("?")[0]||"",query:y(b(d),p)},p&&p.parseFragmentIdentifier&&S?{fragmentIdentifier:f(S,p)}:{})},e.stringifyUrl=(d,p)=>{p=Object.assign({encode:!0,strict:!0,[o]:!0},p);const m=w(d.url).split("?")[0]||"",S=e.extract(d.url),E=e.parse(S,{sort:!1}),C=Object.assign(E,d.query);let g=e.stringify(C,p);g&&(g=`?${g}`);let O=_(d.url);return d.fragmentIdentifier&&(O=`#${p[o]?c(d.fragmentIdentifier,p):d.fragmentIdentifier}`),`${m}${g}${O}`},e.pick=(d,p,m)=>{m=Object.assign({parseFragmentIdentifier:!0,[o]:!1},m);const{url:S,query:E,fragmentIdentifier:C}=e.parseUrl(d,m);return e.stringifyUrl({url:S,query:i(E,p),fragmentIdentifier:C},m)},e.exclude=(d,p,m)=>{const S=Array.isArray(p)?E=>!p.includes(E):(E,C)=>!p(E,C);return e.pick(d,S,m)}})(ec);var sl=function(){return sl=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=300?Promise.reject(new j_(l&&l.message||a,i,l)):Promise.resolve({status:i,headers:o,body:s,json:l})})},xN=function(e){if(!e)return!1;var t=Array.isArray(e),r=typeof Buffer<"u"&&Buffer.isBuffer(e),n=Object.prototype.toString.call(e)==="[object Object]",i=!!Object.keys(e).length;return!t&&!r&&n&&i},U_=function(e,t){var r;return t===void 0&&(t=[]),xN(e)?Object.assign.apply(Object,EN([{}],Object.keys(e).map(function(n){return U_(e[n],t.concat([n]))}),!1)):t.length?(r={},r[t.join(".")]=e,r):e},z_={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function i(l,u,c){this.fn=l,this.context=u,this.once=c||!1}function a(l,u,c,f,h){if(typeof c!="function")throw new TypeError("The listener must be a function");var w=new i(c,f||l,h),_=r?r+u:u;return l._events[_]?l._events[_].fn?l._events[_]=[l._events[_],w]:l._events[_].push(w):(l._events[_]=w,l._eventsCount++),l}function o(l,u){--l._eventsCount===0?l._events=new n:delete l._events[u]}function s(){this._events=new n,this._eventsCount=0}s.prototype.eventNames=function(){var u=[],c,f;if(this._eventsCount===0)return u;for(f in c=this._events)t.call(c,f)&&u.push(r?f.slice(1):f);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(c)):u},s.prototype.listeners=function(u){var c=r?r+u:u,f=this._events[c];if(!f)return[];if(f.fn)return[f.fn];for(var h=0,w=f.length,_=new Array(w);h0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]"u"||!e.message?t:e.message},kN=["getList","getMany","getManyReference"],lo=function(){var e=v.useContext(_v)||wv,t=V_(),r=v.useMemo(function(){return new Proxy(e,{get:function(n,i){if(!(typeof i=="symbol"||i==="then"))return i==="supportAbortSignal"?e.supportAbortSignal:function(){for(var a=[],o=0;o0),n=me.useRef(e.isMutating()>0),i=me.useState(r.current||n.current),a=i[0],o=i[1];return me.useEffect(function(){t.current=!0;var s=e.getQueryCache().subscribe(rt.batchCalls(function(){t.current&&(r.current=e.isFetching()>0,o(r.current||n.current))})),l=e.getMutationCache().subscribe(rt.batchCalls(function(){t.current&&(n.current=e.isMutating()>0,o(r.current||n.current))}));return function(){t.current=!1,s(),l()}},[e]),a},B_=function(){var e=Kr();return v.useCallback(function(){e.invalidateQueries()},[e])},Id=function(){return Id=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&r(s)?t>1?H_(s,t-1,r,n,i):NN(i,s):n||(i[i.length]=s)}return i}var K_=H_;function zN(e,t,r,n){for(var i=e.length,a=r+(n?1:-1);n?a--:++a-1}var e3=ZN;function t3(e,t,r){for(var n=-1,i=e==null?0:e.length;++n=y3){var u=t?null:v3(e);if(u)return p3(u);o=!1,i=h3,l=new c3}else l=t?[]:s;e:for(;++n0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]0?N(I):I},{updatedAt:L}),i.setQueriesData({queryKey:[g,"getManyReference"]},function(I){return I&&I.data?{data:N(I.data),total:I.total}:I},{updatedAt:L})},m=Il(Ae(Ae({mutationFn:function(C){var g=C===void 0?{}:C,O=g.resource,R=O===void 0?e:O,T=g.id,L=T===void 0?w.current.id:T,N=g.data,I=N===void 0?w.current.data:N,Q=g.meta,q=Q===void 0?w.current.meta:Q,ie=g.previousData,U=ie===void 0?w.current.previousData:ie;if(!R)throw new Error("useUpdate mutation requires a non-empty resource");if(L==null)throw new Error("useUpdate mutation requires a non-empty id");if(!I)throw new Error("useUpdate mutation requires a non-empty data object");return b.current(R,{id:L,data:I,previousData:U,meta:q}).then(function(V){var J=V.data;return J})}},f),{onMutate:function(C){return Wg(void 0,void 0,void 0,function(){var g;return Hg(this,function(O){switch(O.label){case 0:return f.onMutate?[4,f.onMutate(C)]:[3,2];case 1:return g=O.sent()||{},[2,Ae({snapshot:_.current},g)];case 2:return[2,{snapshot:_.current}]}})})},onError:function(C,g,O){if(g===void 0&&(g={}),(h.current==="optimistic"||h.current==="undoable")&&O.snapshot.forEach(function(R){var T=R[0],L=R[1];i.setQueryData(T,L)}),x.current)return x.current(C,g,O);if(f.onError)return f.onError(C,g,O)},onSuccess:function(C,g,O){if(g===void 0&&(g={}),h.current==="pessimistic"){var R=g.resource,T=R===void 0?e:R,L=g.id,N=L===void 0?a:L;p({resource:T,id:N,data:C}),f.onSuccess&&!d.current&&f.onSuccess(C,g,O)}},onSettled:function(C,g,O,R){if(O===void 0&&(O={}),(h.current==="optimistic"||h.current==="undoable")&&R.snapshot.forEach(function(T){var L=T[0];i.invalidateQueries({queryKey:L})}),y.current)return y.current(C,g,O,R);if(f.onSettled)return f.onSettled(C,g,O,R)}})),S=function(C,g,O){return C===void 0&&(C=e),g===void 0&&(g={}),O===void 0&&(O={}),Wg(void 0,void 0,void 0,function(){var R,T,L,N,I,Q,q,ie,U,V,J,ne,te,le,_e;return Hg(this,function(nt){switch(nt.label){case 0:return R=O.mutationMode,T=O.returnPromise,L=T===void 0?f.returnPromise:T,N=O.onError,I=O.onSettled,Q=O.onSuccess,q=Kg(O,["mutationMode","returnPromise","onError","onSettled","onSuccess"]),c?b.current=c(n.update.bind(n)):b.current=n.update,d.current=!!Q,x.current=N,y.current=I,w.current=t,R&&(h.current=R),L&&h.current!=="pessimistic"&&console.warn("The returnPromise parameter can only be used if the mutationMode is set to pessimistic"),h.current==="pessimistic"?L?[2,m.mutateAsync(Ae({resource:C},g),Ae({onSuccess:Q},q))]:[2,m.mutate(Ae({resource:C},g),Ae({onSuccess:Q},q))]:(ie=g.id,U=ie===void 0?a:ie,V=g.data,J=V===void 0?o:V,ne=g.meta,te=ne===void 0?s:ne,le=i.getQueryData([C,"getOne",{id:String(U),meta:te}]),_e=[[C,"getOne",{id:String(U),meta:te}],[C,"getList"],[C,"getInfiniteList"],[C,"getMany"],[C,"getManyReference"]],_.current=_e.reduce(function(Se,Le){return Se.concat(i.getQueriesData({queryKey:Le}))},[]),[4,Promise.all(_.current.map(function(Se){var Le=Se[0];return i.cancelQueries({queryKey:Le})}))]);case 1:return nt.sent(),p({resource:C,id:U,data:J}),setTimeout(function(){Q?Q(Ae(Ae({},le),J),Ae({resource:C},g),{snapshot:_.current}):f.onSuccess&&!d.current&&f.onSuccess(Ae(Ae({},le),J),Ae({resource:C},g),{snapshot:_.current})},0),h.current==="optimistic"?[2,m.mutate(Ae({resource:C},g))]:(Sv.once("end",function(Se){var Le=Se.isUndo;Le?_.current.forEach(function(st){var Ee=st[0],wt=st[1];i.setQueryData(Ee,wt)}):m.mutate(Ae({resource:C},g))}),[2])}})})},E=v.useMemo(function(){return Ae({isLoading:m.isPending},m)},[m]);return[Ne(S),E]},Ct=function(){return Ct=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]0?O(R):R},{updatedAt:g}),i.setQueriesData({queryKey:[S,"getManyReference"]},function(R){if(!R||!R.data)return R;var T=O(R.data),L=T.length0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]0?g(O):O},{updatedAt:C}),i.setQueriesData({queryKey:[m,"getManyReference"]},function(O){if(!O||!O.data)return O;var R=g(O.data),T=R.length=0?o[u].apply(o,Po(Po([],f,!1),[c],!1)):a.apply(void 0,f)};return o.length>0?o[u].apply(o,Po(Po([],s,!1),[c],!1)):a.apply(void 0,s)}},[]),i=v.useMemo(function(){return{registerMutationMiddleware:t,getMutateWithMiddlewares:n,unregisterMutationMiddleware:r}},[t,n,r]);return i},ll=function(){return ll=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]0;ne||b(typeof q=="string"?q:q.message||"ra.notification.http_error",{type:"error",messageArgs:{_:typeof q=="string"?q:q instanceof Error||typeof q=="object"&&q!==null&&q.hasOwnProperty("message")?q.message:void 0}})}},S),{returnPromise:!0,getMutateWithMiddlewares:g})),T=R[0],L=R[1].isPending,N=v.useCallback(function(q,ie){ie===void 0&&(ie={});var U=ie.transform,V=ie.meta,J=rm(ie,["transform","meta"]);return Promise.resolve(U?U(q):a?a(q):q).then(function(ne){return em(void 0,void 0,void 0,function(){var te,le;return tm(this,function(_e){switch(_e.label){case 0:return _e.trys.push([0,2,,3]),[4,T(l,{data:ne,meta:V??m},J)];case 1:return _e.sent(),[3,3];case 2:return te=_e.sent(),(te instanceof j_||typeof te=="object"&&te!==null&&te.hasOwnProperty("body"))&&((le=te.body)===null||le===void 0?void 0:le.errors)!=null?[2,te.body.errors]:[3,3];case 3:return[2]}})})})},[T,m,l,a]),I=mc(),Q=_("ra.page.create",{name:I(l,1)});return{isFetching:!1,isLoading:!1,isPending:L,saving:L,defaultTitle:Q,save:N,resource:l,record:y,redirect:h,registerMutationMiddleware:C,unregisterMutationMiddleware:O}},d4=function(e){var t=e.state,r=e.search;if(t&&t.record)return t.record;if(r)try{var n=ec.parse(r);if(n.source){if(Array.isArray(n.source)){console.error("Failed to parse location search parameter '".concat(r,`'. To pre-fill some fields in the Create form, pass a stringified source parameter (e.g. '?source={"title":"foo"}')`));return}return JSON.parse(n.source)}}catch{console.error("Failed to parse location search parameter '".concat(r,`'. To pre-fill some fields in the Create form, pass a stringified source parameter (e.g. '?source={"title":"foo"}')`))}return null},h4=function(e,t){return t?"edit":e?"show":"list"},Ev=v.createContext(void 0);Ev.displayName="RecordContext";var rc=function(e){var t=e.children,r=e.value;return v.createElement(Ev.Provider,{value:r},t)},bv=v.createContext(null);bv.displayName="CreateContext";var cl=function(){return cl=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]0;(!be||i!=="pessimistic")&&b(typeof Ee=="string"?Ee:Ee.message||"ra.notification.http_error",{type:"error",messageArgs:{_:typeof Ee=="string"?Ee:Ee instanceof Error||typeof Ee=="object"&&Ee!==null&&Ee.hasOwnProperty("message")?Ee.message:void 0}})}},O),{mutationMode:i,returnPromise:i==="pessimistic",getMutateWithMiddlewares:L})),Se=nt[0],Le=nt[1].isPending,st=v.useCallback(function(Ee,wt){var it=wt===void 0?{}:wt,qt=it.onSuccess,Dt=it.onError,be=it.transform,Gt=it.meta;return Promise.resolve(be?be(Ee,{previousData:_e.previousData}):f?f(Ee,{previousData:_e.previousData}):Ee).then(function(si){return nm(void 0,void 0,void 0,function(){var mn,P;return im(this,function(A){switch(A.label){case 0:return A.trys.push([0,2,,3]),[4,Se(h,{id:p,data:si,meta:Gt??E},{onError:Dt,onSuccess:qt})];case 1:return A.sent(),[3,3];case 2:return mn=A.sent(),((P=mn.body)===null||P===void 0?void 0:P.errors)!=null?[2,mn.body.errors]:[3,3];case 3:return[2]}})})})},[p,E,h,f,Se,_e.previousData]);return{defaultTitle:le,error:q,isFetching:U,isLoading:ie,isPending:V,mutationMode:i,record:Q,redirect:c,refetch:J,registerMutationMiddleware:T,resource:h,save:st,saving:Le,unregisterMutationMiddleware:N}},g4="list",co=function(e){var t=v.useContext(Ev);return e&&e.record||t},m4=function(e){var t=e.value,r=e.children;return t?v.createElement(rc,{value:t},r):r},a6=function(e){var t=co(e),r=gr(e),n=Vv(r);return v.createElement(v.Fragment,null,n(t))},xv=v.createContext(null);xv.displayName="EditContext";var w4=function(e){var t=e.children,r=e.value;return v.createElement(xv.Provider,{value:r},v.createElement(G_,{value:Y_(r)},v.createElement(rc,{value:r&&r.record},t)))},_4=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i"u"?"undefined":Z_(r)){case"string":return[{item:n,value:this._handleString(r,n)}];case"number":return[{item:n,value:this._handleNumber(r,n)}];case"boolean":return[{item:n,value:this._handleBoolean.bind(this)(r,n)}]}return this.checkComplex(r,n)}},{key:"_handleObject",value:function(r){var n=[];for(var i in r){var a=r[i],o=this.check(a,i,i,r);n=n.concat(o)}return n}},{key:"_handleArray",value:function(r){for(var n=this,i=[],a,o=0;o0&&!u.item&&a===void 0&&(a=u);i=i.concat(l)}}return i}},{key:"_handleBoolean",value:function(r){var n;return r?n=this._options.booleanTrueString||"true":n=this._options.booleanFalseString||"false",n}},{key:"_handleString",value:function(r){return r}},{key:"_handleNumber",value:function(r){return r}},{key:"_handleDate",value:function(r){return r.toLocaleDateString()}}]),e}(),P4=O4,R4=typeof window>"u"?$o:window;function $4(e,t){if(e instanceof R4[t])return!0;switch(typeof e>"u"?"undefined":Z_(e)){case"string":return t==="String";case"boolean":return t==="Boolean";case"number":return t==="Number"}return!1}var df,om;function k4(){return om||(om=1,df=function(t,r,n){var i=` +`;if(typeof t!="string")throw new TypeError('Invalid param "textDelimiter", must be a string.');if(typeof r!="string")throw new TypeError('Invalid param "rowDelimiter", must be a string.');var a=new RegExp("\\"+t,"g"),o=t+t,s=t==='"'?function(l){return l.indexOf(r)>=0||l.indexOf(i)>=0||l.indexOf('"')>=0}:function(l){return l.indexOf(r)>=0||l.indexOf(i)>=0};return function(l){return n&&(l=""+l),l.replace&&(l=l.replace(a,o),(n||s(l))&&(l=t+l+t)),l}}),df}var F4=function(){function e(t,r){for(var n=0;n0&&(f=f.concat(Array(h).join(".").split("."))),n&&this._options.fillGaps&&(f=f.map(a)),i.push(f.join(this._options.rowDelimiter)),n=f}}catch(w){s=!0,l=w}finally{try{!o&&u.return&&u.return()}finally{if(s)throw l}}return i}},{key:"_parseArray",value:function(r,n){var i=this;this._headers=this._headers||[];var a=[],o=void 0,s=function(x){var y=i._headers.indexOf(x);return y===-1&&(i._headers.push(x),y=i._headers.indexOf(x)),y};o=function(x){var y=[],d=function(I){return y.push(I.map(function(Q){return Q??""}))},p=function(){return new Array(i._headers.length).fill(null)},m={},S=p(),E=!0,C=!1,g=void 0;try{for(var O=x[Symbol.iterator](),R;!(E=(R=O.next()).done);E=!0){var T=R.value,L=s(T.item);if(S[L]!=null&&(d(S),S=p()),m[L]=m[L]||0,i._options.fillTopRow&&m[L]0&&d(S),a=a.concat(i._checkRows(y))};var l=!0,u=!1,c=void 0;try{for(var f=r[Symbol.iterator](),h;!(l=(h=f.next()).done);l=!0){var w=h.value,_=i._handler.check(w,i._options.mainPathItem,w,r);o(_)}}catch(b){u=!0,c=b}finally{try{!l&&f.return&&f.return()}finally{if(u)throw c}}return!n&&i._options.includeHeaders&&a.unshift(this.headers),um(a,i._options.endOfLine)}},{key:"_parseObject",value:function(r){var n=this,i=[],a=[],o=void 0,s=[[],[]];o=function(f){var h=f.value||f.value===0?f.value.toString():n._options.undefinedString;if(h=n._escape(h),n._options.verticalOutput){var w=[f.item,h];i.push(w.join(n._options.rowDelimiter))}else s[0].push(f.item),s[1].push(h)};for(var l in r){var u="";this._options.mainPathItem&&(u=this._options.mainPathItem+this._options.headerPathString),a=this._handler.check(r[l],u+l,l,r),a.forEach(o)}return this._options.verticalOutput||(i.push(s[0].join(this._options.rowDelimiter)),i.push(s[1].join(this._options.rowDelimiter))),um(i,this._options.endOfLine)}},{key:"headers",get:function(){var r=this,n=this._headers;return this._options.rename&&this._options.rename.length>0&&(n=n.map(function(i){return r._options.rename[r._options.headers.indexOf(i)]||i})),this._options.forceTextDelimiter&&(n=n.map(function(i){return""+r._options.textDelimiter+i+r._options.textDelimiter})),this._options.mapHeaders&&(n=n.map(this._options.mapHeaders)),n.join(this._options.rowDelimiter)}}]),e}(),M4=L4,D4=function(e){throw new Error("jsonexport called without third argument as a callback and is required")},I4=D4,lm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cm=M4,fm=I4,j4=X_,N4=function(){var e={headers:[],rename:[],headerPathString:".",rowDelimiter:",",textDelimiter:'"',arrayPathString:";",undefinedString:"",endOfLine:j4,mainPathItem:null,booleanTrueString:null,booleanFalseString:null,includeHeaders:!0,fillGaps:!1,verticalOutput:!0,forceTextDelimiter:!1},t=void 0,r=void 0,n=void 0;if(arguments.length===3){var i=Array.prototype.slice.call(arguments);t=i[0],r=i[1],n=i[2]}else if(arguments.length===2){var a=void 0,o=Array.prototype.slice.call(arguments);t=o[0],a=o[1],typeof a=="function"?n=a:(typeof a>"u"?"undefined":lm(a))==="object"&&(r=a)}else if(arguments.length===1){var s=Array.prototype.slice.call(arguments),l=s[0];if((typeof l>"u"?"undefined":lm(l))==="object"){var u=Object.keys(e),c=Object.keys(l),f=c.every(function(_){return u.includes(_)});c.length>0&&f?r=l:t=l}else t=l}else return new fm(new cm(e));var h=Object.assign({},e,r),w=new cm(h);return t?new Promise(function(_,b){w.parse(t,function(x,y){if(n)return n(x,y);if(x)return b(x);if(b)return _(y)})}):new fm};const U4=Tt(N4);var z4=function(e,t){t===void 0&&(t="export");var r=document.createElement("a");r.style.display="none",document.body.appendChild(r);var n=new Blob([e],{type:"text/csv;charset=utf-8"});window.navigator&&window.navigator.msSaveOrOpenBlob?window.navigator.msSaveOrOpenBlob(n,"".concat(t,".csv")):(r.setAttribute("href",URL.createObjectURL(n)),r.setAttribute("download","".concat(t,".csv")),r.click())},V4=function(e,t,r,n){return U4(e,function(i,a){return z4(a,n)})},B4=function(e,t){return Array.from(new Set(e.filter(function(r){return r[t]!=null}).map(function(r){return r[t]}).reduce(function(r,n){return r.concat(n)},[])))},s6=function(e){return function(t,r,n){return e.getMany(n,{ids:B4(t,r)}).then(function(i){var a=i.data;return a.reduce(function(o,s){return o[s.id]=s,o},{})})}},Xi=function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n"u"||_(function(d){if(!Array.isArray(d))return Xi([],d,!0);var p=d.indexOf(y);return p>-1?Xi(Xi([],d.slice(0,p),!0),d.slice(p+1),!0):Xi(Xi([],d,!0),[y],!1)})},clearSelection:function(){b()}}},[_,b]);return[w,x]},hf=[];function Cn(e){var t=v.useState(e),r=t[0],n=t[1],i=v.useRef(!1);v.useEffect(function(){return i.current=!0,function(){i.current=!1}},[]);var a=v.useCallback(function(o){if(i.current)return n(o)},[i,n]);return[r,a]}function l6(e,t){e===void 0&&(e=0),t===void 0&&(t="");var r=Cn(!1),n=r[0],i=r[1];return v.useEffect(function(){i(!1);var a=setTimeout(function(){i(!0)},e);return function(){clearTimeout(a)}},[t,e,i]),n}function W4(){var e=v.useRef(!0);return v.useEffect(function(){return e.current=!0,function(){e.current=!1}},[]),e}var un=function(){return un=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&!C&&m(R)},[w.search]);var T=v.useCallback(function(ne){E.current&&(S.current?S.current=Dg(S.current,ne):(S.current=Dg(R,ne),setTimeout(function(){S.current&&(i?y(S.current):_({search:"?".concat(ec.stringify(un(un({},S.current),{filter:JSON.stringify(S.current.filter),displayedFilters:JSON.stringify(S.current.displayedFilters)})))},{state:{_scrollToTop:ne.type===Ld}}),S.current=void 0)},0)))},dm(dm([],g,!0),[_],!1)),L=v.useCallback(function(ne){return T({type:L_,payload:ne})},[T]),N=v.useCallback(function(ne){return T({type:Ld,payload:ne})},[T]),I=v.useCallback(function(ne){return T({type:M_,payload:ne})},[T]),Q=R.filter||pm,q=R.displayedFilters||pm,ie=A_(function(ne,te){T({type:Md,payload:{filter:Ka(ne),displayedFilters:te}})},r),U=v.useCallback(function(ne,te,le){return te===void 0&&(te=void 0),le===void 0&&(le=!1),le?ie(ne,te):T({type:Md,payload:{filter:Ka(ne),displayedFilters:te}})},[T]),V=v.useCallback(function(ne){T({type:I_,payload:ne})},[T]),J=v.useCallback(function(ne,te){T({type:D_,payload:{filterName:ne,defaultValue:te}})},[T]);return[un(un({filterValues:Q,requestSignature:g},R),{displayedFilters:q}),{changeParams:T,setPage:N,setPerPage:I,setSort:L,setFilters:U,hideFilter:V,showFilter:J}]},hm=function(e,t){if(e[t]&&typeof e[t]=="string")try{e[t]=JSON.parse(e[t])}catch{delete e[t]}},K4=function(e){var t=e.search,r=ec.parse(t);return hm(r,"filter"),hm(r,"displayedFilters"),r},Q4=function(e){return e&&e.filter&&(Object.keys(e.filter).length>0||e.order!=null||e.page!==1||e.perPage!=null||e.sort!=null)},q4=function(e){var t=e.queryFromLocation,r=e.params,n=e.filterDefaultValues,i=e.sort,a=e.perPage,o=Object.keys(t).length>0?t:Q4(r)?un({},r):{filter:n||{}};return o.sort||(o.sort=i.field,o.order=i.order),o.perPage==null&&(o.perPage=a),o.page==null&&(o.page=1),un(un({},o),{page:vm(o.page,1),perPage:vm(o.perPage,10)})},vm=function(e,t){if(typeof e>"u")return t;var r=typeof e=="string"?parseInt(e,10):e;return isNaN(r)?t:r},pm={},G4={field:"id",order:Ai},ym={},nc=v.createContext(null);nc.displayName="ListContext";var eS=v.createContext(void 0),Y4=function(e){return v.useMemo(function(){return tc(e,["displayedFilters","filterValues","hideFilter","setFilters","showFilter","resource"])},[e.displayedFilters,e.filterValues,e.hideFilter,e.setFilters,e.showFilter])};eS.displayName="ListFilterContext";var tS=v.createContext(void 0),J4=function(e){return v.useMemo(function(){return tc(e,["sort","setSort","resource"])},[e.sort,e.setSort])};tS.displayName="ListSortContext";var Ov=v.createContext(void 0);Ov.displayName="ListPaginationContext";var X4=function(e){return v.useMemo(function(){return tc(e,["isLoading","isPending","hasPreviousPage","hasNextPage","page","perPage","setPage","setPerPage","total","resource"])},[e.isLoading,e.isPending,e.hasPreviousPage,e.hasNextPage,e.page,e.perPage,e.setPage,e.setPerPage,e.total])},Z4=function(e){var t=e.value,r=e.children;return v.createElement(nc.Provider,{value:t},v.createElement(eS.Provider,{value:Y4(t)},v.createElement(tS.Provider,{value:J4(t)},v.createElement(Ov.Provider,{value:X4(t)},r))))},Ti=function(){return Ti=Object.assign||function(e){for(var t,r=1,n=arguments.length;r1&&(L==null||(L==null?void 0:L.length)===0)){C.setPage(1);return}if(I!=null){var le=Math.ceil(I/E.perPage)||1;!ie&&E.page>le&&C.setPage(le)}},[ie,E.page,E.perPage,L,C,I]);var J=v.useMemo(function(){return{field:E.sort,order:E.order}},[E.sort,E.order]),ne=mc(),te=p("ra.page.list",{name:ne(x,2)});return{sort:J,data:L,defaultTitle:te,displayedFilters:E.displayedFilters,error:Q,exporter:o,filter:s,filterValues:E.filterValues,hideFilter:C.hideFilter,isFetching:ie,isLoading:q,isPending:U,onSelect:R.select,onToggleItem:R.toggle,onUnselectItems:R.clearSelection,page:E.page,perPage:E.perPage,refetch:V,resource:x,selectedIds:O,setFilters:C.setFilters,setPage:C.setPage,setPerPage:C.setPerPage,setSort:C.setSort,showFilter:C.showFilter,total:I,hasNextPage:N?N.hasNextPage:I!=null?E.page*E.perPage1}},rU={field:"id",order:Ai},nU=["sort","data","defaultTitle","displayedFilters","error","exporter","filterValues","hasNextPage","hasPreviousPage","hideFilter","isFetching","isLoading","isPending","onSelect","onToggleItem","onUnselectItems","page","perPage","refetch","refresh","resource","selectedIds","setFilters","setPage","setPerPage","setSort","showFilter","total","totalPages"],c6=function(e){return Object.keys(e).filter(function(t){return!nU.includes(t)}).reduce(function(t,r){var n;return Ti(Ti({},t),(n={},n[r]=e[r],n))},{})},iU=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i-1?r?[]:cs(cs([],l.slice(0,u),!0),l.slice(u+1),!0):r?[t]:cs(cs([],l,!0),[t],!1)})},[a,t,r]);return[o,s]},h6=function(e,t){var r=ui("".concat(e,".datagrid.expanded"),[]),n=r[0],i=r[1],a=Array.isArray(n)?n.some(function(s){return t.some(function(l){return l==s})}):!1,o=v.useCallback(function(){var s=n.filter(function(l){return!t.some(function(u){return u==l})});i(a?s:s.concat(t))},[n,i,a,t]);return[a,o]},pa=function(){return pa=Object.assign||function(e){for(var t,r=1,n=arguments.length;rfr(K,te.field)?te.order==="ASC"?1:-1:fr(B,te.field)1,hideFilter:Gt,isFetching:S,isLoading:g,isPending:T,onSelect:Le.select,onToggleItem:Le.toggle,onUnselectItems:Le.clearSelection,page:ie,perPage:V,resource:"",refetch:aU,selectedIds:Se,setFilters:mn,setPage:U,setPerPage:J,setSort:_e,showFilter:si,total:I==null?void 0:I.total}},oU={},p6=function(){var e=v.useContext(nc);if(!e)throw new Error("useListContext must be used inside a ListContextProvider");return e},uU=yv,sU=to,lU=O_,cU=uo,rS=Object.prototype,fU=rS.hasOwnProperty,dU=uU(function(e,t){e=Object(e);var r=-1,n=t.length,i=n>2?t[2]:void 0;for(i&&lU(t[0],t[1],i)&&(n=1);++re.type==="checkbox",ya=e=>e instanceof Date,Ft=e=>e==null;const aS=e=>typeof e=="object";var dt=e=>!Ft(e)&&!Array.isArray(e)&&aS(e)&&!ya(e),oS=e=>dt(e)&&e.target?Tu(e.target)?e.target.checked:e.target.value:e,pU=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,uS=(e,t)=>e.has(pU(t)),yU=e=>{const t=e.constructor&&e.constructor.prototype;return dt(t)&&t.hasOwnProperty("isPrototypeOf")},Pv=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function It(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(Pv&&(e instanceof Blob||e instanceof FileList))&&(r||dt(e)))if(t=r?[]:{},!r&&!yU(e))t=e;else for(const n in e)e.hasOwnProperty(n)&&(t[n]=It(e[n]));else return e;return t}var ic=e=>Array.isArray(e)?e.filter(Boolean):[],Ze=e=>e===void 0,G=(e,t,r)=>{if(!t||!dt(e))return r;const n=ic(t.split(/[,[\].]+?/)).reduce((i,a)=>Ft(i)?i:i[a],e);return Ze(n)||n===e?Ze(e[t])?r:e[t]:n},Vr=e=>typeof e=="boolean",Rv=e=>/^\w*$/.test(e),sS=e=>ic(e.replace(/["|']|\]/g,"").split(/\.|\[/)),De=(e,t,r)=>{let n=-1;const i=Rv(t)?[t]:sS(t),a=i.length,o=a-1;for(;++nme.useContext(lS),gU=e=>{const{children:t,...r}=e;return me.createElement(lS.Provider,{value:r},t)};var cS=(e,t,r,n=!0)=>{const i={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(i,a,{get:()=>{const o=a;return t._proxyFormState[o]!==Or.all&&(t._proxyFormState[o]=!n||Or.all),r&&(r[o]=!0),e[o]}});return i},Ut=e=>dt(e)&&!Object.keys(e).length,fS=(e,t,r,n)=>{r(e);const{name:i,...a}=e;return Ut(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(o=>t[o]===(!n||Or.all))},qo=e=>Array.isArray(e)?e:[e],dS=(e,t,r)=>!e||!t||e===t||qo(e).some(n=>n&&(r?n===t:n.startsWith(t)||t.startsWith(n)));function $v(e){const t=me.useRef(e);t.current=e,me.useEffect(()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}function kv(e){const t=ac(),{control:r=t.control,disabled:n,name:i,exact:a}=e||{},[o,s]=me.useState(r._formState),l=me.useRef(!0),u=me.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),c=me.useRef(i);return c.current=i,$v({disabled:n,next:f=>l.current&&dS(c.current,f.name,a)&&fS(f,u.current,r._updateFormState)&&s({...r._formState,...f}),subject:r._subjects.state}),me.useEffect(()=>(l.current=!0,u.current.isValid&&r._updateValid(!0),()=>{l.current=!1}),[r]),cS(o,r,u.current,!1)}var Br=e=>typeof e=="string",hS=(e,t,r,n,i)=>Br(e)?(n&&t.watch.add(e),G(r,e,i)):Array.isArray(e)?e.map(a=>(n&&t.watch.add(a),G(r,a))):(n&&(t.watchAll=!0),r);function mU(e){const t=ac(),{control:r=t.control,name:n,defaultValue:i,disabled:a,exact:o}=e||{},s=me.useRef(n);s.current=n,$v({disabled:a,subject:r._subjects.values,next:c=>{dS(s.current,c.name,o)&&u(It(hS(s.current,r._names,c.values||r._formValues,!1,i)))}});const[l,u]=me.useState(r._getWatch(n,i));return me.useEffect(()=>r._removeUnmounted()),l}function wU(e){const t=ac(),{name:r,disabled:n,control:i=t.control,shouldUnregister:a}=e,o=uS(i._names.array,r),s=mU({control:i,name:r,defaultValue:G(i._formValues,r,G(i._defaultValues,r,e.defaultValue)),exact:!0}),l=kv({control:i,name:r,exact:!0}),u=me.useRef(i.register(r,{...e.rules,value:s,...Vr(e.disabled)?{disabled:e.disabled}:{}}));return me.useEffect(()=>{const c=i._options.shouldUnregister||a,f=(h,w)=>{const _=G(i._fields,h);_&&_._f&&(_._f.mount=w)};if(f(r,!0),c){const h=It(G(i._options.defaultValues,r));De(i._defaultValues,r,h),Ze(G(i._formValues,r))&&De(i._formValues,r,h)}return()=>{(o?c&&!i._state.action:c)?i.unregister(r):f(r,!1)}},[r,i,o,a]),me.useEffect(()=>{G(i._fields,r)&&i._updateDisabledField({disabled:n,fields:i._fields,name:r,value:G(i._fields,r)._f.value})},[n,r,i]),{field:{name:r,value:s,...Vr(n)||l.disabled?{disabled:l.disabled||n}:{},onChange:me.useCallback(c=>u.current.onChange({target:{value:oS(c),name:r},type:fl.CHANGE}),[r]),onBlur:me.useCallback(()=>u.current.onBlur({target:{value:G(i._formValues,r),name:r},type:fl.BLUR}),[r,i]),ref:me.useCallback(c=>{const f=G(i._fields,r);f&&c&&(f._f.ref={focus:()=>c.focus(),select:()=>c.select(),setCustomValidity:h=>c.setCustomValidity(h),reportValidity:()=>c.reportValidity()})},[i._fields,r])},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!G(l.errors,r)},isDirty:{enumerable:!0,get:()=>!!G(l.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!G(l.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!G(l.validatingFields,r)},error:{enumerable:!0,get:()=>G(l.errors,r)}})}}var _U=(e,t,r,n,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{},mm=e=>({isOnSubmit:!e||e===Or.onSubmit,isOnBlur:e===Or.onBlur,isOnChange:e===Or.onChange,isOnAll:e===Or.all,isOnTouch:e===Or.onTouched}),wm=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(n=>e.startsWith(n)&&/^\.\w+/.test(e.slice(n.length))));const Go=(e,t,r,n)=>{for(const i of r||Object.keys(e)){const a=G(e,i);if(a){const{_f:o,...s}=a;if(o){if(o.refs&&o.refs[0]&&t(o.refs[0],i)&&!n)break;if(o.ref&&t(o.ref,o.name)&&!n)break;Go(s,t)}else dt(s)&&Go(s,t)}}};var SU=(e,t,r)=>{const n=qo(G(e,r));return De(n,"root",t[r]),De(e,r,n),e},Fv=e=>e.type==="file",Nn=e=>typeof e=="function",dl=e=>{if(!Pv)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Rs=e=>Br(e),Av=e=>e.type==="radio",hl=e=>e instanceof RegExp;const _m={value:!1,isValid:!1},Sm={value:!0,isValid:!0};var vS=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Ze(e[0].attributes.value)?Ze(e[0].value)||e[0].value===""?Sm:{value:e[0].value,isValid:!0}:Sm:_m}return _m};const Em={isValid:!1,value:null};var pS=e=>Array.isArray(e)?e.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,Em):Em;function bm(e,t,r="validate"){if(Rs(e)||Array.isArray(e)&&e.every(Rs)||Vr(e)&&!e)return{type:r,message:Rs(e)?e:"",ref:t}}var Zi=e=>dt(e)&&!hl(e)?e:{value:e,message:""},xm=async(e,t,r,n,i)=>{const{ref:a,refs:o,required:s,maxLength:l,minLength:u,min:c,max:f,pattern:h,validate:w,name:_,valueAsNumber:b,mount:x,disabled:y}=e._f,d=G(t,_);if(!x||y)return{};const p=o?o[0]:a,m=L=>{n&&p.reportValidity&&(p.setCustomValidity(Vr(L)?"":L||""),p.reportValidity())},S={},E=Av(a),C=Tu(a),g=E||C,O=(b||Fv(a))&&Ze(a.value)&&Ze(d)||dl(a)&&a.value===""||d===""||Array.isArray(d)&&!d.length,R=_U.bind(null,_,r,S),T=(L,N,I,Q=Zr.maxLength,q=Zr.minLength)=>{const ie=L?N:I;S[_]={type:L?Q:q,message:ie,ref:a,...R(L?Q:q,ie)}};if(i?!Array.isArray(d)||!d.length:s&&(!g&&(O||Ft(d))||Vr(d)&&!d||C&&!vS(o).isValid||E&&!pS(o).isValid)){const{value:L,message:N}=Rs(s)?{value:!!s,message:s}:Zi(s);if(L&&(S[_]={type:Zr.required,message:N,ref:p,...R(Zr.required,N)},!r))return m(N),S}if(!O&&(!Ft(c)||!Ft(f))){let L,N;const I=Zi(f),Q=Zi(c);if(!Ft(d)&&!isNaN(d)){const q=a.valueAsNumber||d&&+d;Ft(I.value)||(L=q>I.value),Ft(Q.value)||(N=qnew Date(new Date().toDateString()+" "+J),U=a.type=="time",V=a.type=="week";Br(I.value)&&d&&(L=U?ie(d)>ie(I.value):V?d>I.value:q>new Date(I.value)),Br(Q.value)&&d&&(N=U?ie(d)+L.value,Q=!Ft(N.value)&&d.length<+N.value;if((I||Q)&&(T(I,L.message,N.message),!r))return m(S[_].message),S}if(h&&!O&&Br(d)){const{value:L,message:N}=Zi(h);if(hl(L)&&!d.match(L)&&(S[_]={type:Zr.pattern,message:N,ref:a,...R(Zr.pattern,N)},!r))return m(N),S}if(w){if(Nn(w)){const L=await w(d,t),N=bm(L,p);if(N&&(S[_]={...N,...R(Zr.validate,N.message)},!r))return m(N.message),S}else if(dt(w)){let L={};for(const N in w){if(!Ut(L)&&!r)break;const I=bm(await w[N](d,t),p,N);I&&(L={...I,...R(N,I.message)},m(I.message),r&&(S[_]=L))}if(!Ut(L)&&(S[_]={ref:p,...L},!r))return S}}return m(!0),S};function EU(e,t){const r=t.slice(0,-1).length;let n=0;for(;n{let e=[];return{get observers(){return e},next:i=>{for(const a of e)a.next&&a.next(i)},subscribe:i=>(e.push(i),{unsubscribe:()=>{e=e.filter(a=>a!==i)}}),unsubscribe:()=>{e=[]}}},vl=e=>Ft(e)||!aS(e);function Ei(e,t){if(vl(e)||vl(t))return e===t;if(ya(e)&&ya(t))return e.getTime()===t.getTime();const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(const i of r){const a=e[i];if(!n.includes(i))return!1;if(i!=="ref"){const o=t[i];if(ya(a)&&ya(o)||dt(a)&&dt(o)||Array.isArray(a)&&Array.isArray(o)?!Ei(a,o):a!==o)return!1}}return!0}var yS=e=>e.type==="select-multiple",xU=e=>Av(e)||Tu(e),pf=e=>dl(e)&&e.isConnected,gS=e=>{for(const t in e)if(Nn(e[t]))return!0;return!1};function pl(e,t={}){const r=Array.isArray(e);if(dt(e)||r)for(const n in e)Array.isArray(e[n])||dt(e[n])&&!gS(e[n])?(t[n]=Array.isArray(e[n])?[]:{},pl(e[n],t[n])):Ft(e[n])||(t[n]=!0);return t}function mS(e,t,r){const n=Array.isArray(e);if(dt(e)||n)for(const i in e)Array.isArray(e[i])||dt(e[i])&&!gS(e[i])?Ze(t)||vl(r[i])?r[i]=Array.isArray(e[i])?pl(e[i],[]):{...pl(e[i])}:mS(e[i],Ft(t)?{}:t[i],r[i]):r[i]=!Ei(e[i],t[i]);return r}var fs=(e,t)=>mS(e,t,pl(t)),wS=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>Ze(e)?e:t?e===""?NaN:e&&+e:r&&Br(e)?new Date(e):n?n(e):e;function yf(e){const t=e.ref;if(!(e.refs?e.refs.every(r=>r.disabled):t.disabled))return Fv(t)?t.files:Av(t)?pS(e.refs).value:yS(t)?[...t.selectedOptions].map(({value:r})=>r):Tu(t)?vS(e.refs).value:wS(Ze(t.value)?e.ref.value:t.value,e)}var CU=(e,t,r,n)=>{const i={};for(const a of e){const o=G(t,a);o&&De(i,a,o._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:n}},Ro=e=>Ze(e)?e:hl(e)?e.source:dt(e)?hl(e.value)?e.value.source:e.value:e,OU=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function Cm(e,t,r){const n=G(e,r);if(n||Rv(r))return{error:n,name:r};const i=r.split(".");for(;i.length;){const a=i.join("."),o=G(t,a),s=G(e,a);if(o&&!Array.isArray(o)&&r!==a)return{name:r};if(s&&s.type)return{name:a,error:s};i.pop()}return{name:r}}var PU=(e,t,r,n,i)=>i.isOnAll?!1:!r&&i.isOnTouch?!(t||e):(r?n.isOnBlur:i.isOnBlur)?!e:(r?n.isOnChange:i.isOnChange)?e:!0,RU=(e,t)=>!ic(G(e,t)).length&<(e,t);const $U={mode:Or.onSubmit,reValidateMode:Or.onChange,shouldFocusError:!0};function kU(e={}){let t={...$U,...e},r={submitCount:0,isDirty:!1,isLoading:Nn(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},n={},i=dt(t.defaultValues)||dt(t.values)?It(t.defaultValues||t.values)||{}:{},a=t.shouldUnregister?{}:It(i),o={action:!1,mount:!1,watch:!1},s={mount:new Set,unMount:new Set,array:new Set,watch:new Set},l,u=0;const c={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},f={values:vf(),array:vf(),state:vf()},h=mm(t.mode),w=mm(t.reValidateMode),_=t.criteriaMode===Or.all,b=P=>A=>{clearTimeout(u),u=setTimeout(P,A)},x=async P=>{if(c.isValid||P){const A=t.resolver?Ut((await g()).errors):await R(n,!0);A!==r.isValid&&f.state.next({isValid:A})}},y=(P,A)=>{(c.isValidating||c.validatingFields)&&((P||Array.from(s.mount)).forEach(D=>{D&&(A?De(r.validatingFields,D,A):lt(r.validatingFields,D))}),f.state.next({validatingFields:r.validatingFields,isValidating:!Ut(r.validatingFields)}))},d=(P,A=[],D,B,K=!0,H=!0)=>{if(B&&D){if(o.action=!0,H&&Array.isArray(G(n,P))){const re=D(G(n,P),B.argA,B.argB);K&&De(n,P,re)}if(H&&Array.isArray(G(r.errors,P))){const re=D(G(r.errors,P),B.argA,B.argB);K&&De(r.errors,P,re),RU(r.errors,P)}if(c.touchedFields&&H&&Array.isArray(G(r.touchedFields,P))){const re=D(G(r.touchedFields,P),B.argA,B.argB);K&&De(r.touchedFields,P,re)}c.dirtyFields&&(r.dirtyFields=fs(i,a)),f.state.next({name:P,isDirty:L(P,A),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else De(a,P,A)},p=(P,A)=>{De(r.errors,P,A),f.state.next({errors:r.errors})},m=P=>{r.errors=P,f.state.next({errors:r.errors,isValid:!1})},S=(P,A,D,B)=>{const K=G(n,P);if(K){const H=G(a,P,Ze(D)?G(i,P):D);Ze(H)||B&&B.defaultChecked||A?De(a,P,A?H:yf(K._f)):Q(P,H),o.mount&&x()}},E=(P,A,D,B,K)=>{let H=!1,re=!1;const pe={name:P},ke=!!(G(n,P)&&G(n,P)._f&&G(n,P)._f.disabled);if(!D||B){c.isDirty&&(re=r.isDirty,r.isDirty=pe.isDirty=L(),H=re!==pe.isDirty);const Be=ke||Ei(G(i,P),A);re=!!(!ke&&G(r.dirtyFields,P)),Be||ke?lt(r.dirtyFields,P):De(r.dirtyFields,P,!0),pe.dirtyFields=r.dirtyFields,H=H||c.dirtyFields&&re!==!Be}if(D){const Be=G(r.touchedFields,P);Be||(De(r.touchedFields,P,D),pe.touchedFields=r.touchedFields,H=H||c.touchedFields&&Be!==D)}return H&&K&&f.state.next(pe),H?pe:{}},C=(P,A,D,B)=>{const K=G(r.errors,P),H=c.isValid&&Vr(A)&&r.isValid!==A;if(e.delayError&&D?(l=b(()=>p(P,D)),l(e.delayError)):(clearTimeout(u),l=null,D?De(r.errors,P,D):lt(r.errors,P)),(D?!Ei(K,D):K)||!Ut(B)||H){const re={...B,...H&&Vr(A)?{isValid:A}:{},errors:r.errors,name:P};r={...r,...re},f.state.next(re)}},g=async P=>{y(P,!0);const A=await t.resolver(a,t.context,CU(P||s.mount,n,t.criteriaMode,t.shouldUseNativeValidation));return y(P),A},O=async P=>{const{errors:A}=await g(P);if(P)for(const D of P){const B=G(A,D);B?De(r.errors,D,B):lt(r.errors,D)}else r.errors=A;return A},R=async(P,A,D={valid:!0})=>{for(const B in P){const K=P[B];if(K){const{_f:H,...re}=K;if(H){const pe=s.array.has(H.name);y([B],!0);const ke=await xm(K,a,_,t.shouldUseNativeValidation&&!A,pe);if(y([B]),ke[H.name]&&(D.valid=!1,A))break;!A&&(G(ke,H.name)?pe?SU(r.errors,ke,H.name):De(r.errors,H.name,ke[H.name]):lt(r.errors,H.name))}!Ut(re)&&await R(re,A,D)}}return D.valid},T=()=>{for(const P of s.unMount){const A=G(n,P);A&&(A._f.refs?A._f.refs.every(D=>!pf(D)):!pf(A._f.ref))&&Se(P)}s.unMount=new Set},L=(P,A)=>(P&&A&&De(a,P,A),!Ei(ne(),i)),N=(P,A,D)=>hS(P,s,{...o.mount?a:Ze(A)?i:Br(P)?{[P]:A}:A},D,A),I=P=>ic(G(o.mount?a:i,P,e.shouldUnregister?G(i,P,[]):[])),Q=(P,A,D={})=>{const B=G(n,P);let K=A;if(B){const H=B._f;H&&(!H.disabled&&De(a,P,wS(A,H)),K=dl(H.ref)&&Ft(A)?"":A,yS(H.ref)?[...H.ref.options].forEach(re=>re.selected=K.includes(re.value)):H.refs?Tu(H.ref)?H.refs.length>1?H.refs.forEach(re=>(!re.defaultChecked||!re.disabled)&&(re.checked=Array.isArray(K)?!!K.find(pe=>pe===re.value):K===re.value)):H.refs[0]&&(H.refs[0].checked=!!K):H.refs.forEach(re=>re.checked=re.value===K):Fv(H.ref)?H.ref.value="":(H.ref.value=K,H.ref.type||f.values.next({name:P,values:{...a}})))}(D.shouldDirty||D.shouldTouch)&&E(P,K,D.shouldTouch,D.shouldDirty,!0),D.shouldValidate&&J(P)},q=(P,A,D)=>{for(const B in A){const K=A[B],H=`${P}.${B}`,re=G(n,H);(s.array.has(P)||!vl(K)||re&&!re._f)&&!ya(K)?q(H,K,D):Q(H,K,D)}},ie=(P,A,D={})=>{const B=G(n,P),K=s.array.has(P),H=It(A);De(a,P,H),K?(f.array.next({name:P,values:{...a}}),(c.isDirty||c.dirtyFields)&&D.shouldDirty&&f.state.next({name:P,dirtyFields:fs(i,a),isDirty:L(P,H)})):B&&!B._f&&!Ft(H)?q(P,H,D):Q(P,H,D),wm(P,s)&&f.state.next({...r}),f.values.next({name:o.mount?P:void 0,values:{...a}})},U=async P=>{o.mount=!0;const A=P.target;let D=A.name,B=!0;const K=G(n,D),H=()=>A.type?yf(K._f):oS(P),re=pe=>{B=Number.isNaN(pe)||pe===G(a,D,pe)};if(K){let pe,ke;const Be=H(),Yr=P.type===fl.BLUR||P.type===fl.FOCUS_OUT,vo=!OU(K._f)&&!t.resolver&&!G(r.errors,D)&&!K._f.deps||PU(Yr,G(r.touchedFields,D),r.isSubmitted,w,h),or=wm(D,s,Yr);De(a,D,Be),Yr?(K._f.onBlur&&K._f.onBlur(P),l&&l(0)):K._f.onChange&&K._f.onChange(P);const Yt=E(D,Be,Yr,!1),Du=!Ut(Yt)||or;if(!Yr&&f.values.next({name:D,type:P.type,values:{...a}}),vo)return c.isValid&&x(),Du&&f.state.next({name:D,...or?{}:Yt});if(!Yr&&or&&f.state.next({...r}),t.resolver){const{errors:li}=await g([D]);if(re(Be),B){const wc=Cm(r.errors,n,D),mr=Cm(li,n,wc.name||D);pe=mr.error,D=mr.name,ke=Ut(li)}}else y([D],!0),pe=(await xm(K,a,_,t.shouldUseNativeValidation))[D],y([D]),re(Be),B&&(pe?ke=!1:c.isValid&&(ke=await R(n,!0)));B&&(K._f.deps&&J(K._f.deps),C(D,ke,pe,Yt))}},V=(P,A)=>{if(G(r.errors,A)&&P.focus)return P.focus(),1},J=async(P,A={})=>{let D,B;const K=qo(P);if(t.resolver){const H=await O(Ze(P)?P:K);D=Ut(H),B=P?!K.some(re=>G(H,re)):D}else P?(B=(await Promise.all(K.map(async H=>{const re=G(n,H);return await R(re&&re._f?{[H]:re}:re)}))).every(Boolean),!(!B&&!r.isValid)&&x()):B=D=await R(n);return f.state.next({...!Br(P)||c.isValid&&D!==r.isValid?{}:{name:P},...t.resolver||!P?{isValid:D}:{},errors:r.errors}),A.shouldFocus&&!B&&Go(n,V,P?K:s.mount),B},ne=P=>{const A={...o.mount?a:i};return Ze(P)?A:Br(P)?G(A,P):P.map(D=>G(A,D))},te=(P,A)=>({invalid:!!G((A||r).errors,P),isDirty:!!G((A||r).dirtyFields,P),error:G((A||r).errors,P),isValidating:!!G(r.validatingFields,P),isTouched:!!G((A||r).touchedFields,P)}),le=P=>{P&&qo(P).forEach(A=>lt(r.errors,A)),f.state.next({errors:P?r.errors:{}})},_e=(P,A,D)=>{const B=(G(n,P,{_f:{}})._f||{}).ref,K=G(r.errors,P)||{},{ref:H,message:re,type:pe,...ke}=K;De(r.errors,P,{...ke,...A,ref:B}),f.state.next({name:P,errors:r.errors,isValid:!1}),D&&D.shouldFocus&&B&&B.focus&&B.focus()},nt=(P,A)=>Nn(P)?f.values.subscribe({next:D=>P(N(void 0,A),D)}):N(P,A,!0),Se=(P,A={})=>{for(const D of P?qo(P):s.mount)s.mount.delete(D),s.array.delete(D),A.keepValue||(lt(n,D),lt(a,D)),!A.keepError&<(r.errors,D),!A.keepDirty&<(r.dirtyFields,D),!A.keepTouched&<(r.touchedFields,D),!A.keepIsValidating&<(r.validatingFields,D),!t.shouldUnregister&&!A.keepDefaultValue&<(i,D);f.values.next({values:{...a}}),f.state.next({...r,...A.keepDirty?{isDirty:L()}:{}}),!A.keepIsValid&&x()},Le=({disabled:P,name:A,field:D,fields:B,value:K})=>{if(Vr(P)&&o.mount||P){const H=P?void 0:Ze(K)?yf(D?D._f:G(B,A)._f):K;De(a,A,H),E(A,H,!1,!1,!0)}},st=(P,A={})=>{let D=G(n,P);const B=Vr(A.disabled);return De(n,P,{...D||{},_f:{...D&&D._f?D._f:{ref:{name:P}},name:P,mount:!0,...A}}),s.mount.add(P),D?Le({field:D,disabled:A.disabled,name:P,value:A.value}):S(P,!0,A.value),{...B?{disabled:A.disabled}:{},...t.progressive?{required:!!A.required,min:Ro(A.min),max:Ro(A.max),minLength:Ro(A.minLength),maxLength:Ro(A.maxLength),pattern:Ro(A.pattern)}:{},name:P,onChange:U,onBlur:U,ref:K=>{if(K){st(P,A),D=G(n,P);const H=Ze(K.value)&&K.querySelectorAll&&K.querySelectorAll("input,select,textarea")[0]||K,re=xU(H),pe=D._f.refs||[];if(re?pe.find(ke=>ke===H):H===D._f.ref)return;De(n,P,{_f:{...D._f,...re?{refs:[...pe.filter(pf),H,...Array.isArray(G(i,P))?[{}]:[]],ref:{type:H.type,name:P}}:{ref:H}}}),S(P,!1,void 0,H)}else D=G(n,P,{}),D._f&&(D._f.mount=!1),(t.shouldUnregister||A.shouldUnregister)&&!(uS(s.array,P)&&o.action)&&s.unMount.add(P)}}},Ee=()=>t.shouldFocusError&&Go(n,V,s.mount),wt=P=>{Vr(P)&&(f.state.next({disabled:P}),Go(n,(A,D)=>{const B=G(n,D);B&&(A.disabled=B._f.disabled||P,Array.isArray(B._f.refs)&&B._f.refs.forEach(K=>{K.disabled=B._f.disabled||P}))},0,!1))},it=(P,A)=>async D=>{let B;D&&(D.preventDefault&&D.preventDefault(),D.persist&&D.persist());let K=It(a);if(f.state.next({isSubmitting:!0}),t.resolver){const{errors:H,values:re}=await g();r.errors=H,K=re}else await R(n);if(lt(r.errors,"root"),Ut(r.errors)){f.state.next({errors:{}});try{await P(K,D)}catch(H){B=H}}else A&&await A({...r.errors},D),Ee(),setTimeout(Ee);if(f.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Ut(r.errors)&&!B,submitCount:r.submitCount+1,errors:r.errors}),B)throw B},qt=(P,A={})=>{G(n,P)&&(Ze(A.defaultValue)?ie(P,It(G(i,P))):(ie(P,A.defaultValue),De(i,P,It(A.defaultValue))),A.keepTouched||lt(r.touchedFields,P),A.keepDirty||(lt(r.dirtyFields,P),r.isDirty=A.defaultValue?L(P,It(G(i,P))):L()),A.keepError||(lt(r.errors,P),c.isValid&&x()),f.state.next({...r}))},Dt=(P,A={})=>{const D=P?It(P):i,B=It(D),K=Ut(P),H=K?i:B;if(A.keepDefaultValues||(i=D),!A.keepValues){if(A.keepDirtyValues)for(const re of s.mount)G(r.dirtyFields,re)?De(H,re,G(a,re)):ie(re,G(H,re));else{if(Pv&&Ze(P))for(const re of s.mount){const pe=G(n,re);if(pe&&pe._f){const ke=Array.isArray(pe._f.refs)?pe._f.refs[0]:pe._f.ref;if(dl(ke)){const Be=ke.closest("form");if(Be){Be.reset();break}}}}n={}}a=e.shouldUnregister?A.keepDefaultValues?It(i):{}:It(H),f.array.next({values:{...H}}),f.values.next({values:{...H}})}s={mount:A.keepDirtyValues?s.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!c.isValid||!!A.keepIsValid||!!A.keepDirtyValues,o.watch=!!e.shouldUnregister,f.state.next({submitCount:A.keepSubmitCount?r.submitCount:0,isDirty:K?!1:A.keepDirty?r.isDirty:!!(A.keepDefaultValues&&!Ei(P,i)),isSubmitted:A.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:K?{}:A.keepDirtyValues?A.keepDefaultValues&&a?fs(i,a):r.dirtyFields:A.keepDefaultValues&&P?fs(i,P):A.keepDirty?r.dirtyFields:{},touchedFields:A.keepTouched?r.touchedFields:{},errors:A.keepErrors?r.errors:{},isSubmitSuccessful:A.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1})},be=(P,A)=>Dt(Nn(P)?P(a):P,A);return{control:{register:st,unregister:Se,getFieldState:te,handleSubmit:it,setError:_e,_executeSchema:g,_getWatch:N,_getDirty:L,_updateValid:x,_removeUnmounted:T,_updateFieldArray:d,_updateDisabledField:Le,_getFieldArray:I,_reset:Dt,_resetDefaultValues:()=>Nn(t.defaultValues)&&t.defaultValues().then(P=>{be(P,t.resetOptions),f.state.next({isLoading:!1})}),_updateFormState:P=>{r={...r,...P}},_disableForm:wt,_subjects:f,_proxyFormState:c,_setErrors:m,get _fields(){return n},get _formValues(){return a},get _state(){return o},set _state(P){o=P},get _defaultValues(){return i},get _names(){return s},set _names(P){s=P},get _formState(){return r},set _formState(P){r=P},get _options(){return t},set _options(P){t={...t,...P}}},trigger:J,register:st,handleSubmit:it,watch:nt,setValue:ie,getValues:ne,reset:be,resetField:qt,clearErrors:le,unregister:Se,setError:_e,setFocus:(P,A={})=>{const D=G(n,P),B=D&&D._f;if(B){const K=B.refs?B.refs[0]:B.ref;K.focus&&(K.focus(),A.shouldSelect&&K.select())}},getFieldState:te}}function FU(e={}){const t=me.useRef(),r=me.useRef(),[n,i]=me.useState({isDirty:!1,isValidating:!1,isLoading:Nn(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Nn(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...kU(e),formState:n});const a=t.current.control;return a._options=e,$v({subject:a._subjects.state,next:o=>{fS(o,a._proxyFormState,a._updateFormState,!0)&&i({...a._formState})}}),me.useEffect(()=>a._disableForm(e.disabled),[a,e.disabled]),me.useEffect(()=>{if(a._proxyFormState.isDirty){const o=a._getDirty();o!==n.isDirty&&a._subjects.state.next({isDirty:o})}},[a,n.isDirty]),me.useEffect(()=>{e.values&&!Ei(e.values,r.current)?(a._reset(e.values,a._options.resetOptions),r.current=e.values,i(o=>({...o}))):a._resetDefaultValues()},[e.values,a]),me.useEffect(()=>{e.errors&&a._setErrors(e.errors)},[e.errors,a]),me.useEffect(()=>{a._state.mount||(a._updateValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),me.useEffect(()=>{e.shouldUnregister&&a._subjects.values.next({values:a._getWatch()})},[e.shouldUnregister,a]),t.current.formState=cS(n,a),t.current}var _S=v.createContext(void 0),Ud=function(){return Ud=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]0,l=v.useState(!1),u=l[0],c=l[1],f=!e||!s||a,h=gO(function(w){var _=w.currentLocation,b=w.nextLocation;if(f)return!1;var x=t||_.pathname,y=b.pathname.startsWith(x),d=b.pathname.startsWith("".concat(x,"/show")),p=y&&!d;return!p});v.useEffect(function(){if(h.state==="blocked"){if(f){h.proceed();return}c(!0)}},[h.state]),v.useEffect(function(){if(u){var w=window.confirm(n("ra.message.unsaved_changes"));w?h.proceed&&h.proceed():h.reset&&h.reset()}c(!1)},[u,n]),v.useEffect(function(){var w=function(_){_.preventDefault(),_.returnValue=!0};if(!f)return window.addEventListener("beforeunload",w),function(){window.removeEventListener("beforeunload",w)}},[f])},jU=function(e){var t=e.enable,r=t===void 0?!0:t,n=e.formRootPathName,i=e.formControl;return IU(r,n,i),null};function NU(e,t){var r=MM({},UU(e,t),t);return r}function UU(e,t){return typeof e=="object"?e:typeof e=="function"?e(t):{}}var zU=function(e,t){var r=function(n,i){Object.entries(n).forEach(function(a){var o=a[0],s=a[1];if(typeof s=="object"){r(s,"".concat(i).concat(o,"."));return}t("".concat(i).concat(o),{type:"server",message:s.toString()})})};r(e,"")},VU=function(e,t){t===void 0&&(t=!0);var r=kv(e?{control:e}:void 0),n=r.submitCount,i=r.errors,a=v.useRef(n),o=Ar();v.useEffect(function(){var s,l;if(n>a.current&&t&&(a.current=n,Object.keys(i).length>0)){var u=typeof((l=(s=i.root)===null||s===void 0?void 0:s.serverError)===null||l===void 0?void 0:l.message)=="string"?i.root.serverError.message:void 0;o(u||"ra.message.invalid_form",{type:"error"})}},[i,n,o,t])},BU=function(e,t){t===void 0&&(t={});var r={};return Object.keys(e).forEach(function(n){e[n]==null||e[n]===""?t.hasOwnProperty(n)&&(r[n]=null):r[n]=e[n]}),r},Vd=function(){return Vd=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,ii=function(e){return typeof e>"u"||e===null||e===""||Array.isArray(e)&&e.length===0};function GU(e){return e?e.hasOwnProperty("message"):!1}var ai=function(e,t,r,n){return typeof e=="function"?e({args:t,value:r,values:n}):t?{message:e,args:t}:e},oi=function(e){return Qw(e,function(){for(var t=[],r=0;re?ai(t,{max:e},r,n):void 0}});oi(function(e,t){return t===void 0&&(t="ra.validation.minValue"),function(r,n){return!ii(r)&&re?ai(t,{max:e},r,n):void 0}});oi(function(e){return e===void 0&&(e="ra.validation.number"),function(t,r){return!ii(t)&&isNaN(Number(t))?ai(e,void 0,t,r):void 0}});var ZU=Qw(function(e,t){return t===void 0&&(t="ra.validation.regex"),function(r,n){return!ii(r)&&typeof r=="string"&&!e.test(r)?ai(t,{pattern:e},r,n):void 0}},function(e,t){return e.toString()+t});oi(function(e){return e===void 0&&(e="ra.validation.email"),ZU(qU,e)});var ez=function(e){var t=e.args;return{message:"ra.validation.oneOf",args:t}};oi(function(e,t){return t===void 0&&(t=ez),function(r,n){return!ii(r)&&e.indexOf(r)===-1?ai(t,{list:e},r,n):void 0}});var tz=v.createContext(null),rz=function(){var e=v.useContext(_S);return e},nz=function(e){var t=e.inputProps,r=e.isArrayInput,n=e.fieldArrayInputControl,i=t.defaultValue,a=t.source,o=QS(a),s=co(t),l=ac(),u=l.getValues,c=l.resetField,f=l.formState,h=l.reset,w=fr(s,o),_=fr(u(),o),b=f.dirtyFields,x=Object.keys(b).includes(o);v.useEffect(function(){if(!(i==null||_!=null||w!=null||x)){var y=o.split(".").some(function(m){return iz.test(m)});if(y){var d=o.split(".").slice(0,-1).join("."),p=fr(u(),d);if(p==null)return}if(r){if(!n)throw new Error("useApplyInputDefaultValues: No fieldArrayInputControl passed in props for array input usage");n.replace(i),h({},{keepValues:!0});return}c(o,{defaultValue:i})}})},iz=/^\d+$/,az=function(){var e=v.useContext(tz);return e},oz=function(e){return e&&e.isRequired?!0:Array.isArray(e)?e.some(function(t){return t.isRequired}):!1},ga=function(){return ga=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((r,n)=>!Object.is(r,t[n]))}var xS=function(){return v.useContext(bS)},Hd=function(){return Hd=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]0||_.customRoutesWithLayout.length>0||_.customRoutesWithoutLayout.length>0?"ready":"empty"),w&&f(w),[2]})})};r||h()},[e,n,r,s,t,o,c]),[a,u]},kz=function(e){var t=v.useState(e),r=t[0],n=t[1],i=v.useCallback(function(a){n(function(o){return{customRoutesWithLayout:o.customRoutesWithLayout.concat(a.customRoutesWithLayout),customRoutesWithoutLayout:o.customRoutesWithoutLayout.concat(a.customRoutesWithoutLayout),resources:o.resources.concat(a.resources)}})},[]);return[r,n,i]},Fz=function(e,t){var r=xS(),n=r.register,i=r.unregister;v.useEffect(function(){return e.forEach(function(a){if(typeof a.type.registerResource=="function"){var o=a.type.registerResource(a.props,t);n(o)}else throw new Error("When using a custom Resource element, it must have a static registerResource method accepting its props and returning a ResourceDefinition")}),function(){e.forEach(function(a){if(typeof a.type.registerResource=="function"){var o=a.type.registerResource(a.props,t);i(o)}else throw new Error("When using a custom Resource element, it must have a static registerResource method accepting its props and returning a ResourceDefinition")})}},[t,n,e,i])},Az=function(e){var t=e.children,r=e.resources,n=e.customRoutesWithLayout,i=e.customRoutesWithoutLayout;return CS(t)?"loading":r.length>0||n.length>0||i.length>0?"ready":"empty"},CS=function(e){var t=Array.isArray(e)?e:[e],r=t.filter(function(n){return typeof n=="function"});if(r.length>1)throw new Error("You can only provide one function child to AdminRouter");return r.length===0?null:r[0]},Do=function(e){var t=[],r=[],n=[];return typeof e=="function"?{customRoutesWithLayout:[],customRoutesWithoutLayout:[],resources:[]}:(v.Children.forEach(e,function(i){if(v.isValidElement(i)){if(i.type===v.Fragment){var a=Do(i.props.children);t.push.apply(t,a.customRoutesWithLayout),r.push.apply(r,a.customRoutesWithoutLayout),n.push.apply(n,a.resources)}if(i.type.raName==="CustomRoutes"){var o=i;o.props.noLayout?r.push(o.props.children):t.push(o.props.children)}else i.type.raName==="Resource"&&n.push(i)}}),{customRoutesWithLayout:t,customRoutesWithoutLayout:r,resources:n})},OS=v.createContext(!1),Tz=OS.Provider,O6=function(){return v.useContext(OS)},Lz=function(e){_z();var t=mv(),r=Rz(e.children),n=r.customRoutesWithLayout,i=r.customRoutesWithoutLayout,a=r.status,o=r.resources,s=e.layout,l=e.catchAll,u=e.dashboard,c=e.loading,f=e.requireAuth,h=e.ready,w=v.useState(f),_=w[0],b=w[1],x=v.useState(f),y=x[0],d=x[1],p=RV();if(v.useEffect(function(){f&&p(void 0,!1).then(function(){b(!1)}).catch(function(){}).finally(function(){d(!1)})},[p,f]),a==="empty"){if(!h)throw new Error("The admin is empty. Please provide an empty component, or pass Resource or CustomRoutes as children.");return v.createElement(h,null)}return a==="loading"||y?v.createElement(va,null,i,v.createElement(Vt,{path:"*",element:v.createElement("div",{style:{height:"100vh"}},v.createElement(c,null))})):_?v.createElement(va,null,i,v.createElement(Vt,{path:"*",element:v.createElement(PV,null)})):v.createElement(va,null,i,v.createElement(Vt,{path:"/*",element:v.createElement(Tz,{value:!!u},v.createElement(s,null,v.createElement(va,null,n,v.Children.map(o,function(m){return v.createElement(Vt,{key:m.props.name,path:"".concat(m.props.name,"/*"),element:m})}),v.createElement(Vt,{path:"/",element:u?v.createElement(_V,{authParams:Mz,component:u}):o.length>0?v.createElement(wO,{to:t({resource:o[0].props.name,type:"list"})}):null}),v.createElement(Vt,{path:"*",element:v.createElement(l,null)}))))}))},Mz={params:{route:"dashboard"}},PS=v.createContext("React Admin"),Dz=PS.Provider,P6=function(){return v.useContext(PS)},Iz=function(e){var t=e.children;return v.createElement(v.Fragment,null,t)},jz=function(e){var t=e.error,r=e.errorInfo,n=e.resetErrorBoundary;return wz(n),v.createElement("div",null,v.createElement("h1",null,"Error"),v.createElement("pre",null,t.message,r==null?void 0:r.componentStack))},R6=function(e){var t=v.useState({}),r=t[0],n=t[1],i=e.authCallbackPage,a=i===void 0?!1:i,o=e.catchAll,s=o===void 0?Fm:o,l=e.children,u=e.dashboard,c=e.disableTelemetry,f=c===void 0?!1:c,h=e.error,w=h===void 0?jz:h,_=e.layout,b=_===void 0?Iz:_,x=e.loading,y=x===void 0?Fm:x,d=e.loginPage,p=d===void 0?!1:d,m=e.ready,S=m===void 0?rV:m,E=e.requireAuth,C=E===void 0?!1:E,g=e.title,O=g===void 0?"React Admin":g;v.useEffect(function(){if(!(f||typeof window>"u"||typeof window.location>"u"||typeof Image>"u")){var T=new Image;T.src="https://react-admin-telemetry.marmelab.com/react-admin-telemetry?domain=".concat(window.location.hostname)}},[f]);var R=function(T,L){return n(L)};return v.createElement(Dz,{value:O},v.createElement(Oz,{onError:R,fallbackRender:function(T){var L=T.error,N=T.resetErrorBoundary;return v.createElement("div",{style:{minHeight:"100vh"}},v.createElement(w,{error:L,errorInfo:r,resetErrorBoundary:N}))}},v.createElement(va,null,p!==!1&&p!==!0?v.createElement(Vt,{path:"/login",element:km(p)}):null,a!==!1&&a!==!0?v.createElement(Vt,{path:"/auth-callback",element:km(a)}):null,v.createElement(Vt,{path:"/*",element:v.createElement(Lz,{catchAll:s,dashboard:u,layout:b,loading:y,requireAuth:C,ready:S},l)}))))},km=function(e){return v.isValidElement(e)?e:v.createElement(e)},Fm=function(){return null},RS=v.createContext(void 0),ho=function(e){var t=e.children,r=e.value;return r?v.createElement(RS.Provider,{value:r},t):t},$6=function(e){var t=e.value,r=e.children;return t?v.createElement(ho,{value:t},r):r},$S={exports:{}},$e={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Lv=Symbol.for("react.element"),Mv=Symbol.for("react.portal"),oc=Symbol.for("react.fragment"),uc=Symbol.for("react.strict_mode"),sc=Symbol.for("react.profiler"),lc=Symbol.for("react.provider"),cc=Symbol.for("react.context"),Nz=Symbol.for("react.server_context"),fc=Symbol.for("react.forward_ref"),dc=Symbol.for("react.suspense"),hc=Symbol.for("react.suspense_list"),vc=Symbol.for("react.memo"),pc=Symbol.for("react.lazy"),Uz=Symbol.for("react.offscreen"),kS;kS=Symbol.for("react.module.reference");function yr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Lv:switch(e=e.type,e){case oc:case sc:case uc:case dc:case hc:return e;default:switch(e=e&&e.$$typeof,e){case Nz:case cc:case fc:case pc:case vc:case lc:return e;default:return t}}case Mv:return t}}}$e.ContextConsumer=cc;$e.ContextProvider=lc;$e.Element=Lv;$e.ForwardRef=fc;$e.Fragment=oc;$e.Lazy=pc;$e.Memo=vc;$e.Portal=Mv;$e.Profiler=sc;$e.StrictMode=uc;$e.Suspense=dc;$e.SuspenseList=hc;$e.isAsyncMode=function(){return!1};$e.isConcurrentMode=function(){return!1};$e.isContextConsumer=function(e){return yr(e)===cc};$e.isContextProvider=function(e){return yr(e)===lc};$e.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Lv};$e.isForwardRef=function(e){return yr(e)===fc};$e.isFragment=function(e){return yr(e)===oc};$e.isLazy=function(e){return yr(e)===pc};$e.isMemo=function(e){return yr(e)===vc};$e.isPortal=function(e){return yr(e)===Mv};$e.isProfiler=function(e){return yr(e)===sc};$e.isStrictMode=function(e){return yr(e)===uc};$e.isSuspense=function(e){return yr(e)===dc};$e.isSuspenseList=function(e){return yr(e)===hc};$e.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===oc||e===sc||e===uc||e===dc||e===hc||e===Uz||typeof e=="object"&&e!==null&&(e.$$typeof===pc||e.$$typeof===vc||e.$$typeof===lc||e.$$typeof===cc||e.$$typeof===fc||e.$$typeof===kS||e.getModuleId!==void 0)};$e.typeOf=yr;$S.exports=$e;var zz=$S.exports,FS=function(e){var t=e.create,r=e.edit,n=e.list,i=e.name,a=e.show;return v.createElement(ho,{value:i},v.createElement(va,null,t&&v.createElement(Vt,{path:"create/*",element:ds(t)}),a&&v.createElement(Vt,{path:":id/show/*",element:ds(a)}),r&&v.createElement(Vt,{path:":id/*",element:ds(r)}),n&&v.createElement(Vt,{path:"/*",element:v.createElement(Hj,{storeKey:"".concat(i,".list.scrollPosition")},ds(n))}),e.children))},ds=function(e){if(v.isValidElement(e))return e;if(zz.isValidElementType(e)){var t=e;return v.createElement(t,null)}return null};FS.raName="Resource";FS.registerResource=function(e){var t=e.create,r=e.edit,n=e.icon,i=e.list,a=e.name,o=e.options,s=e.show,l=e.recordRepresentation,u=e.hasCreate,c=e.hasEdit,f=e.hasShow;return{name:a,options:o,hasList:!!i,hasCreate:!!t||!!u,hasEdit:!!r||!!c,hasShow:!!s||!!f,icon:n,recordRepresentation:l}};var Dv=v.createContext(void 0),Vz={getSource:function(e){return e},getLabel:function(e){return e}},Bz=Dv.Provider,Wz=function(){var e=v.useContext(Dv);return e||Vz},Hz=function(){return v.useContext(Dv)},Iv=function(){return xS().definitions},xe={};/*! + * inflection + * Copyright(c) 2011 Ben Lin + * MIT Licensed + * + * @fileoverview + * A port of inflection-js to node.js module. + */Object.defineProperty(xe,"__esModule",{value:!0});var AS=xe.transform=xe.ordinalize=xe.foreignKey=xe.classify=xe.tableize=xe.demodulize=xe.titleize=xe.dasherize=xe.capitalize=NS=xe.humanize=xe.underscore=xe.camelize=Xz=xe.inflect=IS=xe.singularize=DS=xe.pluralize=void 0;const ml=["accommodation","adulthood","advertising","advice","aggression","aid","air","aircraft","alcohol","anger","applause","arithmetic","assistance","athletics","bacon","baggage","beef","biology","blood","botany","bread","butter","carbon","cardboard","cash","chalk","chaos","chess","crossroads","countryside","dancing","deer","dignity","dirt","dust","economics","education","electricity","engineering","enjoyment","envy","equipment","ethics","evidence","evolution","fame","fiction","flour","flu","food","fuel","fun","furniture","gallows","garbage","garlic","genetics","gold","golf","gossip","gratitude","grief","guilt","gymnastics","happiness","hardware","harm","hate","hatred","health","heat","help","homework","honesty","honey","hospitality","housework","humour","hunger","hydrogen","ice","importance","inflation","information","innocence","iron","irony","jam","jewelry","judo","karate","knowledge","lack","laughter","lava","leather","leisure","lightning","linguine","linguini","linguistics","literature","litter","livestock","logic","loneliness","luck","luggage","macaroni","machinery","magic","management","mankind","marble","mathematics","mayonnaise","measles","methane","milk","minus","money","mud","music","mumps","nature","news","nitrogen","nonsense","nurture","nutrition","obedience","obesity","oxygen","pasta","patience","physics","poetry","pollution","poverty","pride","psychology","publicity","punctuation","quartz","racism","relaxation","reliability","research","respect","revenge","rice","rubbish","rum","safety","scenery","seafood","seaside","series","shame","sheep","shopping","sleep","smoke","smoking","snow","soap","software","soil","spaghetti","species","steam","stuff","stupidity","sunshine","symmetry","tennis","thirst","thunder","timber","traffic","transportation","trust","underwear","unemployment","unity","validity","veal","vegetation","vegetarianism","vengeance","violence","vitality","warmth","wealth","weather","welfare","wheat","wildlife","wisdom","yoga","zinc","zoology"],j={plural:{men:new RegExp("^(m|wom)en$","gi"),people:new RegExp("(pe)ople$","gi"),children:new RegExp("(child)ren$","gi"),tia:new RegExp("([ti])a$","gi"),analyses:new RegExp("((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$","gi"),databases:new RegExp("(database)s$","gi"),drives:new RegExp("(drive)s$","gi"),hives:new RegExp("(hi|ti)ves$","gi"),curves:new RegExp("(curve)s$","gi"),lrves:new RegExp("([lr])ves$","gi"),aves:new RegExp("([a])ves$","gi"),foves:new RegExp("([^fo])ves$","gi"),movies:new RegExp("(m)ovies$","gi"),aeiouyies:new RegExp("([^aeiouy]|qu)ies$","gi"),series:new RegExp("(s)eries$","gi"),xes:new RegExp("(x|ch|ss|sh)es$","gi"),mice:new RegExp("([m|l])ice$","gi"),buses:new RegExp("(bus)es$","gi"),oes:new RegExp("(o)es$","gi"),shoes:new RegExp("(shoe)s$","gi"),crises:new RegExp("(cris|ax|test)es$","gi"),octopuses:new RegExp("(octop|vir)uses$","gi"),aliases:new RegExp("(alias|canvas|status|campus)es$","gi"),summonses:new RegExp("^(summons|bonus)es$","gi"),oxen:new RegExp("^(ox)en","gi"),matrices:new RegExp("(matr)ices$","gi"),vertices:new RegExp("(vert|ind)ices$","gi"),feet:new RegExp("^feet$","gi"),teeth:new RegExp("^teeth$","gi"),geese:new RegExp("^geese$","gi"),quizzes:new RegExp("(quiz)zes$","gi"),whereases:new RegExp("^(whereas)es$","gi"),criteria:new RegExp("^(criteri)a$","gi"),genera:new RegExp("^genera$","gi"),ss:new RegExp("ss$","gi"),s:new RegExp("s$","gi")},singular:{man:new RegExp("^(m|wom)an$","gi"),person:new RegExp("(pe)rson$","gi"),child:new RegExp("(child)$","gi"),drive:new RegExp("(drive)$","gi"),ox:new RegExp("^(ox)$","gi"),axis:new RegExp("(ax|test)is$","gi"),octopus:new RegExp("(octop|vir)us$","gi"),alias:new RegExp("(alias|status|canvas|campus)$","gi"),summons:new RegExp("^(summons|bonus)$","gi"),bus:new RegExp("(bu)s$","gi"),buffalo:new RegExp("(buffal|tomat|potat)o$","gi"),tium:new RegExp("([ti])um$","gi"),sis:new RegExp("sis$","gi"),ffe:new RegExp("(?:([^f])fe|([lr])f)$","gi"),hive:new RegExp("(hi|ti)ve$","gi"),aeiouyy:new RegExp("([^aeiouy]|qu)y$","gi"),x:new RegExp("(x|ch|ss|sh)$","gi"),matrix:new RegExp("(matr)ix$","gi"),vertex:new RegExp("(vert|ind)ex$","gi"),mouse:new RegExp("([m|l])ouse$","gi"),foot:new RegExp("^foot$","gi"),tooth:new RegExp("^tooth$","gi"),goose:new RegExp("^goose$","gi"),quiz:new RegExp("(quiz)$","gi"),whereas:new RegExp("^(whereas)$","gi"),criterion:new RegExp("^(criteri)on$","gi"),genus:new RegExp("^genus$","gi"),s:new RegExp("s$","gi"),common:new RegExp("$","gi")}},TS=[[j.plural.men],[j.plural.people],[j.plural.children],[j.plural.tia],[j.plural.analyses],[j.plural.databases],[j.plural.drives],[j.plural.hives],[j.plural.curves],[j.plural.lrves],[j.plural.foves],[j.plural.aeiouyies],[j.plural.series],[j.plural.movies],[j.plural.xes],[j.plural.mice],[j.plural.buses],[j.plural.oes],[j.plural.shoes],[j.plural.crises],[j.plural.octopuses],[j.plural.aliases],[j.plural.summonses],[j.plural.oxen],[j.plural.matrices],[j.plural.feet],[j.plural.teeth],[j.plural.geese],[j.plural.quizzes],[j.plural.whereases],[j.plural.criteria],[j.plural.genera],[j.singular.man,"$1en"],[j.singular.person,"$1ople"],[j.singular.child,"$1ren"],[j.singular.drive,"$1s"],[j.singular.ox,"$1en"],[j.singular.axis,"$1es"],[j.singular.octopus,"$1uses"],[j.singular.alias,"$1es"],[j.singular.summons,"$1es"],[j.singular.bus,"$1ses"],[j.singular.buffalo,"$1oes"],[j.singular.tium,"$1a"],[j.singular.sis,"ses"],[j.singular.ffe,"$1$2ves"],[j.singular.hive,"$1ves"],[j.singular.aeiouyy,"$1ies"],[j.singular.matrix,"$1ices"],[j.singular.vertex,"$1ices"],[j.singular.x,"$1es"],[j.singular.mouse,"$1ice"],[j.singular.foot,"feet"],[j.singular.tooth,"teeth"],[j.singular.goose,"geese"],[j.singular.quiz,"$1zes"],[j.singular.whereas,"$1es"],[j.singular.criterion,"$1a"],[j.singular.genus,"genera"],[j.singular.s,"s"],[j.singular.common,"s"]],LS=[[j.singular.man],[j.singular.person],[j.singular.child],[j.singular.drive],[j.singular.ox],[j.singular.axis],[j.singular.octopus],[j.singular.alias],[j.singular.summons],[j.singular.bus],[j.singular.buffalo],[j.singular.tium],[j.singular.sis],[j.singular.ffe],[j.singular.hive],[j.singular.aeiouyy],[j.singular.x],[j.singular.matrix],[j.singular.mouse],[j.singular.foot],[j.singular.tooth],[j.singular.goose],[j.singular.quiz],[j.singular.whereas],[j.singular.criterion],[j.singular.genus],[j.plural.men,"$1an"],[j.plural.people,"$1rson"],[j.plural.children,"$1"],[j.plural.databases,"$1"],[j.plural.drives,"$1"],[j.plural.genera,"genus"],[j.plural.criteria,"$1on"],[j.plural.tia,"$1um"],[j.plural.analyses,"$1$2sis"],[j.plural.hives,"$1ve"],[j.plural.curves,"$1"],[j.plural.lrves,"$1f"],[j.plural.aves,"$1ve"],[j.plural.foves,"$1fe"],[j.plural.movies,"$1ovie"],[j.plural.aeiouyies,"$1y"],[j.plural.series,"$1eries"],[j.plural.xes,"$1"],[j.plural.mice,"$1ouse"],[j.plural.buses,"$1"],[j.plural.oes,"$1"],[j.plural.shoes,"$1"],[j.plural.crises,"$1is"],[j.plural.octopuses,"$1us"],[j.plural.aliases,"$1"],[j.plural.summonses,"$1"],[j.plural.oxen,"$1"],[j.plural.matrices,"$1ix"],[j.plural.vertices,"$1ex"],[j.plural.feet,"foot"],[j.plural.teeth,"tooth"],[j.plural.geese,"goose"],[j.plural.quizzes,"$1"],[j.plural.whereases,"$1"],[j.plural.ss,"ss"],[j.plural.s,""]],Kz=["and","or","nor","a","an","the","so","but","to","of","at","by","from","into","on","onto","off","out","in","over","with","for"],Qz=new RegExp("(_ids|_id)$","g"),MS=new RegExp("_","g"),qz=new RegExp("[ _]","g"),Gz=new RegExp("([A-Z])","g"),Yz=new RegExp("^_");function wl(e,t,r,n){if(n)return n;if(r.includes(e.toLocaleLowerCase()))return e;for(const i of t)if(e.match(i[0]))return i[1]!==void 0?e.replace(i[0],i[1]):e;return e}function jv(e,t){return wl(e,TS,ml,t)}var DS=xe.pluralize=jv;function Nv(e,t){return wl(e,LS,ml,t)}var IS=xe.singularize=Nv;function Jz(e,t,r,n){return isNaN(t)?e:t===1?wl(e,LS,ml,r):wl(e,TS,ml,n)}var Xz=xe.inflect=Jz;function Uv(e,t){const r=e.split("/"),n=r.length;let i,a,o,s;for(let l=0;l1?DS(r):IS(r))});return a}},gr=function(e){var t=v.useContext(RS);return e&&e.resource||t},KS=function(e){var t=gr(e),r=Iv(),n=e||{},i=n.hasCreate,a=n.hasEdit,o=n.hasList,s=n.hasShow,l=n.recordRepresentation,u=v.useMemo(function(){return nS({},{hasCreate:i,hasEdit:a,hasList:o,hasShow:s,recordRepresentation:l},t?r[t]:{})},[t,r,i,a,o,s,l]);return u},Vv=function(e){var t=KS({resource:e}).recordRepresentation;return v.useCallback(function(r){return r?typeof t=="function"?t(r):typeof t=="string"?fr(r,t):v.isValidElement(t)?t:(r==null?void 0:r.name)!=null&&(r==null?void 0:r.name)!==""?r.name:(r==null?void 0:r.title)!=null&&(r==null?void 0:r.title)!==""?r.title:(r==null?void 0:r.label)!=null&&(r==null?void 0:r.label)!==""?r.label:(r==null?void 0:r.reference)!=null&&(r==null?void 0:r.reference)!==""?r.reference:"#".concat(r.id):""},[t])},QS=function(e){var t=Wz();return t.getSource(e)},tV=function(){var e=ni(),t=gr(),r=Hz();return v.useCallback(function(n){var i=n.source,a=n.label,o=n.resource;return a===!1||a===""?null:a&&typeof a!="string"?a:e.apply(void 0,iV({label:a,defaultLabel:i?r==null?void 0:r.getLabel(i):void 0,resource:o,resourceFromContext:t,source:i}))},[t,e,r])},qS=function(e){var t=e.source,r=e.label,n=e.resource,i=e.isRequired,a=tV();if(r===!0)throw new Error("Label parameter must be a string, a ReactElement or false");return r===!1||r===""?null:r&&typeof r!="string"?r:v.createElement("span",null,a({label:r,resource:n,source:t}),i&&v.createElement("span",{"aria-hidden":"true"}," *"))};qS.displayName="FieldTitle";const k6=v.memo(qS),rV=function(){return v.createElement("span",null)},nV=function(e,t){};var iV=function(e){if(!e)return[""];var t=e.label,r=e.defaultLabel,n=e.resource,i=e.resourceFromContext,a=e.source;if(typeof t<"u")return[t,{_:t}];if(typeof a>"u")return[""];var o=aV(a),s=o.sourceWithoutDigits,l=o.sourceSuffix,u=AS(l.replace(/\./g," "),["underscore","humanize"]);return n?[Am(n,s),{_:u}]:r?[r,{_:u}]:[Am(i||"undefined",s),{_:u}]},Am=function(e,t){return"resources.".concat(e,".fields.").concat(t)},aV=function(e){var t=e.replace(/\.\d+\./g,"."),r=e.split("."),n;r.forEach(function(a,o){oV(a)&&(n=o)});var i=n!=null?r.slice(n+1).join("."):e;return{sourceWithoutDigits:t,sourceSuffix:i}},oV=function(e){for(var t=e.length-1;t>=0;t--){var r=e.charCodeAt(t);if(r<48||r>57)return!1}return!0},uV=typeof window<"u"?v.useLayoutEffect:v.useEffect,Ne=function(e){var t=v.useRef(function(){throw new Error("Cannot call an event handler while rendering.")});return uV(function(){t.current=e}),v.useCallback(function(){for(var r=[],n=0;n"u"?t:h)});return function(){return f()}},[e,a,t,n,s]);var u=Ne(function(c,f){var h=typeof c=="function"?c(s):c;i(e,typeof h>"u"?typeof f>"u"?t:f:h)});return[s,u]},sV=function(e){var t=Gl().removeItem;return v.useCallback(function(r){if(typeof r>"u"&&typeof e>"u")throw new Error("You must provide a key to remove an item from the store");return t(r??e)},[t,e])},A6=function(e){var t=Gl().removeItems;return v.useCallback(function(r){if(typeof r>"u"&&typeof e>"u")throw new Error("You must provide a key to remove an item from the store");return t(r??e)},[t,e])},lV=function(){var e=Gl().reset;return e},Lu=function(){var e=ei(),t=Kr(),r=lV(),n=Hi(),i=v.useRef(n),a=Qt(),o=v.useRef(a),s=so(),l=Ur("".concat(s,"/").concat(Dl.loginUrl));v.useEffect(function(){o.current=a,i.current=n},[a,n]);var u=v.useCallback(function(c,f,h){return c===void 0&&(c={}),f===void 0&&(f=l),h===void 0&&(h=!0),e?e.logout(c).then(function(w){if(w===!1||f===!1){r(),t.clear();return}var _=w||f;if(_!=null&&_.startsWith("http"))return r(),t.clear(),window.location.href=_,_;var b=_.split("?"),x={pathname:b[0]},y={};return h&&o.current&&o.current.pathname&&(y={state:{nextPathname:o.current.pathname,nextSearch:o.current.search}}),b[1]&&(x.search=b[1]),i.current(x,y),r(),t.clear(),w}):(i.current({pathname:l},{state:{nextPathname:o.current&&o.current.pathname}}),r(),t.clear(),Promise.resolve())},[e,r,l,t]);return u},pi=function(){return pi=Object.assign||function(e){for(var t,r=1,n=arguments.length;r"u"||!e.message?t:e.message},Lm=function(){},yi=function(){return yi=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]"),Mu(t);var o=GS(t).permissions;if(i)return v.createElement(i,Jo({permissions:o},a));if(n)return n(Jo({permissions:o},a));if(r)return r(Jo({permissions:o},a))},T6=function(){var e=ei(),t=Qt(),r=t.state,n=Hi(),i=so(),a=P2().resetNotifications,o=r&&r.nextPathname,s=r&&r.nextSearch,l=Ur("".concat(i,"/").concat(Dl.afterLoginUrl)),u=v.useCallback(function(c,f){return c===void 0&&(c={}),e?e.login(c).then(function(h){if(a(),h&&h.hasOwnProperty("redirectTo"))h&&n(h.redirectTo);else{var w=f||o+s||l;n(w)}return h}):(a(),n(l),Promise.resolve())},[e,n,o,s,a,l]);return u},SV="AUTH_LOGIN",EV="AUTH_CHECK",bV="AUTH_ERROR",xV="AUTH_LOGOUT",CV="AUTH_GET_PERMISSIONS";const OV=function(e){var t=function(){for(var r=[],n=0;n"u"||!e.message?t:e.message},Xo=function(){return Xo=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]? If you don't want to use Configurable, you can use the useStore hook instead.");return ui(r&&e?"".concat(r,".").concat(e):r??e,t)},UV=function(){var e=v.useContext(ES);if(!e)throw new Error("usePreferencesEditor must be used within a PreferencesEditorContextProvider");return e},zV=function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n=d.length?{value:void 0,done:!0}:(u=s(d,f),this._i+=u.length,{value:u,done:!1})})},function(i,r){var e=Math.ceil,s=Math.floor;i.exports=function(u){return isNaN(u=+u)?0:(u>0?s:e)(u)}},function(i,r){i.exports=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e}},function(i,r,e){var s=e(11);i.exports=function(u,d){if(!s(u))return u;var f,l;if(d&&typeof(f=u.toString)=="function"&&!s(l=f.call(u))||typeof(f=u.valueOf)=="function"&&!s(l=f.call(u))||!d&&typeof(f=u.toString)=="function"&&!s(l=f.call(u)))return l;throw TypeError("Can't convert object to primitive value")}},function(i,r){var e={}.toString;i.exports=function(s){return e.call(s).slice(8,-1)}},function(i,r,e){var s=e(26)("keys"),u=e(17);i.exports=function(d){return s[d]||(s[d]=u(d))}},function(i,r,e){var s=e(1),u=e(3),d=u["__core-js_shared__"]||(u["__core-js_shared__"]={});(i.exports=function(f,l){return d[f]||(d[f]=l!==void 0?l:{})})("versions",[]).push({version:s.version,mode:e(14)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(i,r){i.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(i,r,e){var s=e(7).f,u=e(5),d=e(2)("toStringTag");i.exports=function(f,l,p){f&&!u(f=p?f:f.prototype,d)&&s(f,d,{configurable:!0,value:l})}},function(i,r,e){e(62);for(var s=e(3),u=e(6),d=e(12),f=e(2)("toStringTag"),l="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),p=0;pdocument.F=Object<\/script>"),y.close(),p=y.F;M--;)delete p.prototype[d[M]];return p()};i.exports=Object.create||function(y,E){var M;return y!==null?(l.prototype=s(y),M=new l,l.prototype=null,M[f]=y):M=p(),E===void 0?M:u(M,E)}},function(i,r,e){var s=e(5),u=e(9),d=e(57)(!1),f=e(25)("IE_PROTO");i.exports=function(l,p){var y,E=u(l),M=0,A=[];for(y in E)y!=f&&s(E,y)&&A.push(y);for(;p.length>M;)s(E,y=p[M++])&&(~d(A,y)||A.push(y));return A}},function(i,r,e){var s=e(24);i.exports=Object("z").propertyIsEnumerable(0)?Object:function(u){return s(u)=="String"?u.split(""):Object(u)}},function(i,r,e){var s=e(39),u=e(27).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(d){return s(d,u)}},function(i,r,e){var s=e(24),u=e(2)("toStringTag"),d=s(function(){return arguments}())=="Arguments";i.exports=function(f){var l,p,y;return f===void 0?"Undefined":f===null?"Null":typeof(p=function(E,M){try{return E[M]}catch{}}(l=Object(f),u))=="string"?p:d?s(l):(y=s(l))=="Object"&&typeof l.callee=="function"?"Arguments":y}},function(i,r){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch{typeof window=="object"&&(e=window)}i.exports=e},function(i,r){var e=/-?\d+(\.\d+)?%?/g;i.exports=function(s){return s.match(e)}},function(i,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.getBase16Theme=r.createStyling=r.invertTheme=void 0;var s=q(e(49)),u=q(e(76)),d=q(e(81)),f=q(e(89)),l=q(e(93)),p=function(x){if(x&&x.__esModule)return x;var O={};if(x!=null)for(var k in x)Object.prototype.hasOwnProperty.call(x,k)&&(O[k]=x[k]);return O.default=x,O}(e(94)),y=q(e(132)),E=q(e(133)),M=q(e(138)),A=e(139);function q(x){return x&&x.__esModule?x:{default:x}}var L=p.default,ee=(0,f.default)(L),T=(0,M.default)(E.default,A.rgb2yuv,function(x){var O,k=(0,d.default)(x,3),I=k[0],z=k[1],G=k[2];return[(O=I,O<.25?1:O<.5?.9-O:1.1-O),z,G]},A.yuv2rgb,y.default),U=function(x){return function(O){return{className:[O.className,x.className].filter(Boolean).join(" "),style:(0,u.default)({},O.style||{},x.style||{})}}},a=function(x,O){var k=(0,f.default)(O);for(var I in x)k.indexOf(I)===-1&&k.push(I);return k.reduce(function(z,G){return z[G]=function(g,J){if(g===void 0)return J;if(J===void 0)return g;var X=g===void 0?"undefined":(0,s.default)(g),P=J===void 0?"undefined":(0,s.default)(J);switch(X){case"string":switch(P){case"string":return[J,g].filter(Boolean).join(" ");case"object":return U({className:g,style:J});case"function":return function(ae){for(var V=arguments.length,re=Array(V>1?V-1:0),Y=1;Y1?V-1:0),Y=1;Y1?V-1:0),Y=1;Y1?V-1:0),Y=1;Y1?V-1:0),Y=1;Y2?k-2:0),z=2;z3?O-3:0),I=3;I1&&arguments[1]!==void 0?arguments[1]:{},G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g=z.defaultBase16,J=g===void 0?L:g,X=z.base16Themes,P=X===void 0?null:X,ae=N(G,P);ae&&(G=(0,u.default)({},ae,G));var V=ee.reduce(function(ve,ke){return ve[ke]=G[ke]||J[ke],ve},{}),re=(0,f.default)(G).reduce(function(ve,ke){return ee.indexOf(ke)===-1&&(ve[ke]=G[ke]),ve},{}),Y=x(V),ce=a(re,Y);return(0,l.default)(D,2).apply(void 0,[ce].concat(k))},3),r.getBase16Theme=function(x,O){if(x&&x.extend&&(x=x.extend),typeof x=="string"){var k=x.split(":"),I=(0,d.default)(k,2),z=I[0],G=I[1];x=(O||{})[z]||p[z],G==="inverted"&&(x=F(x))}return x&&x.hasOwnProperty("base00")?x:void 0})},function(i,r,e){var s,u=typeof Reflect=="object"?Reflect:null,d=u&&typeof u.apply=="function"?u.apply:function(a,D,F){return Function.prototype.apply.call(a,D,F)};s=u&&typeof u.ownKeys=="function"?u.ownKeys:Object.getOwnPropertySymbols?function(a){return Object.getOwnPropertyNames(a).concat(Object.getOwnPropertySymbols(a))}:function(a){return Object.getOwnPropertyNames(a)};var f=Number.isNaN||function(a){return a!=a};function l(){l.init.call(this)}i.exports=l,i.exports.once=function(a,D){return new Promise(function(F,N){function x(k){a.removeListener(D,O),N(k)}function O(){typeof a.removeListener=="function"&&a.removeListener("error",x),F([].slice.call(arguments))}U(a,D,O,{once:!0}),D!=="error"&&function(k,I,z){typeof k.on=="function"&&U(k,"error",I,z)}(a,x,{once:!0})})},l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var p=10;function y(a){if(typeof a!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof a)}function E(a){return a._maxListeners===void 0?l.defaultMaxListeners:a._maxListeners}function M(a,D,F,N){var x,O,k,I;if(y(F),(O=a._events)===void 0?(O=a._events=Object.create(null),a._eventsCount=0):(O.newListener!==void 0&&(a.emit("newListener",D,F.listener?F.listener:F),O=a._events),k=O[D]),k===void 0)k=O[D]=F,++a._eventsCount;else if(typeof k=="function"?k=O[D]=N?[F,k]:[k,F]:N?k.unshift(F):k.push(F),(x=E(a))>0&&k.length>x&&!k.warned){k.warned=!0;var z=new Error("Possible EventEmitter memory leak detected. "+k.length+" "+String(D)+" listeners added. Use emitter.setMaxListeners() to increase limit");z.name="MaxListenersExceededWarning",z.emitter=a,z.type=D,z.count=k.length,I=z,console&&console.warn&&console.warn(I)}return a}function A(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function q(a,D,F){var N={fired:!1,wrapFn:void 0,target:a,type:D,listener:F},x=A.bind(N);return x.listener=F,N.wrapFn=x,x}function L(a,D,F){var N=a._events;if(N===void 0)return[];var x=N[D];return x===void 0?[]:typeof x=="function"?F?[x.listener||x]:[x]:F?function(O){for(var k=new Array(O.length),I=0;I0&&(O=D[0]),O instanceof Error)throw O;var k=new Error("Unhandled error."+(O?" ("+O.message+")":""));throw k.context=O,k}var I=x[a];if(I===void 0)return!1;if(typeof I=="function")d(I,this,D);else{var z=I.length,G=T(I,z);for(F=0;F=0;O--)if(F[O]===D||F[O].listener===D){k=F[O].listener,x=O;break}if(x<0)return this;x===0?F.shift():function(I,z){for(;z+1=0;N--)this.removeListener(a,D[N]);return this},l.prototype.listeners=function(a){return L(this,a,!0)},l.prototype.rawListeners=function(a){return L(this,a,!1)},l.listenerCount=function(a,D){return typeof a.listenerCount=="function"?a.listenerCount(D):ee.call(a,D)},l.prototype.listenerCount=ee,l.prototype.eventNames=function(){return this._eventsCount>0?s(this._events):[]}},function(i,r,e){i.exports.Dispatcher=e(140)},function(i,r,e){i.exports=e(142)},function(i,r,e){r.__esModule=!0;var s=f(e(50)),u=f(e(65)),d=typeof u.default=="function"&&typeof s.default=="symbol"?function(l){return typeof l}:function(l){return l&&typeof u.default=="function"&&l.constructor===u.default&&l!==u.default.prototype?"symbol":typeof l};function f(l){return l&&l.__esModule?l:{default:l}}r.default=typeof u.default=="function"&&d(s.default)==="symbol"?function(l){return l===void 0?"undefined":d(l)}:function(l){return l&&typeof u.default=="function"&&l.constructor===u.default&&l!==u.default.prototype?"symbol":l===void 0?"undefined":d(l)}},function(i,r,e){i.exports={default:e(51),__esModule:!0}},function(i,r,e){e(20),e(29),i.exports=e(30).f("iterator")},function(i,r,e){var s=e(21),u=e(22);i.exports=function(d){return function(f,l){var p,y,E=String(u(f)),M=s(l),A=E.length;return M<0||M>=A?d?"":void 0:(p=E.charCodeAt(M))<55296||p>56319||M+1===A||(y=E.charCodeAt(M+1))<56320||y>57343?d?E.charAt(M):p:d?E.slice(M,M+2):y-56320+(p-55296<<10)+65536}}},function(i,r,e){var s=e(54);i.exports=function(u,d,f){if(s(u),d===void 0)return u;switch(f){case 1:return function(l){return u.call(d,l)};case 2:return function(l,p){return u.call(d,l,p)};case 3:return function(l,p,y){return u.call(d,l,p,y)}}return function(){return u.apply(d,arguments)}}},function(i,r){i.exports=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e}},function(i,r,e){var s=e(38),u=e(16),d=e(28),f={};e(6)(f,e(2)("iterator"),function(){return this}),i.exports=function(l,p,y){l.prototype=s(f,{next:u(1,y)}),d(l,p+" Iterator")}},function(i,r,e){var s=e(7),u=e(10),d=e(13);i.exports=e(4)?Object.defineProperties:function(f,l){u(f);for(var p,y=d(l),E=y.length,M=0;E>M;)s.f(f,p=y[M++],l[p]);return f}},function(i,r,e){var s=e(9),u=e(58),d=e(59);i.exports=function(f){return function(l,p,y){var E,M=s(l),A=u(M.length),q=d(y,A);if(f&&p!=p){for(;A>q;)if((E=M[q++])!=E)return!0}else for(;A>q;q++)if((f||q in M)&&M[q]===p)return f||q||0;return!f&&-1}}},function(i,r,e){var s=e(21),u=Math.min;i.exports=function(d){return d>0?u(s(d),9007199254740991):0}},function(i,r,e){var s=e(21),u=Math.max,d=Math.min;i.exports=function(f,l){return(f=s(f))<0?u(f+l,0):d(f,l)}},function(i,r,e){var s=e(3).document;i.exports=s&&s.documentElement},function(i,r,e){var s=e(5),u=e(18),d=e(25)("IE_PROTO"),f=Object.prototype;i.exports=Object.getPrototypeOf||function(l){return l=u(l),s(l,d)?l[d]:typeof l.constructor=="function"&&l instanceof l.constructor?l.constructor.prototype:l instanceof Object?f:null}},function(i,r,e){var s=e(63),u=e(64),d=e(12),f=e(9);i.exports=e(34)(Array,"Array",function(l,p){this._t=f(l),this._i=0,this._k=p},function(){var l=this._t,p=this._k,y=this._i++;return!l||y>=l.length?(this._t=void 0,u(1)):u(0,p=="keys"?y:p=="values"?l[y]:[y,l[y]])},"values"),d.Arguments=d.Array,s("keys"),s("values"),s("entries")},function(i,r){i.exports=function(){}},function(i,r){i.exports=function(e,s){return{value:s,done:!!e}}},function(i,r,e){i.exports={default:e(66),__esModule:!0}},function(i,r,e){e(67),e(73),e(74),e(75),i.exports=e(1).Symbol},function(i,r,e){var s=e(3),u=e(5),d=e(4),f=e(15),l=e(37),p=e(68).KEY,y=e(8),E=e(26),M=e(28),A=e(17),q=e(2),L=e(30),ee=e(31),T=e(69),U=e(70),a=e(10),D=e(11),F=e(18),N=e(9),x=e(23),O=e(16),k=e(38),I=e(71),z=e(72),G=e(32),g=e(7),J=e(13),X=z.f,P=g.f,ae=I.f,V=s.Symbol,re=s.JSON,Y=re&&re.stringify,ce=q("_hidden"),ve=q("toPrimitive"),ke={}.propertyIsEnumerable,Ee=E("symbol-registry"),Oe=E("symbols"),ue=E("op-symbols"),fe=Object.prototype,se=typeof V=="function"&&!!G.f,Ne=s.QObject,Ke=!Ne||!Ne.prototype||!Ne.prototype.findChild,ze=d&&y(function(){return k(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a!=7})?function(v,C,R){var H=X(fe,C);H&&delete fe[C],P(v,C,R),H&&v!==fe&&P(fe,C,H)}:P,We=function(v){var C=Oe[v]=k(V.prototype);return C._k=v,C},Ue=se&&typeof V.iterator=="symbol"?function(v){return typeof v=="symbol"}:function(v){return v instanceof V},Te=function(v,C,R){return v===fe&&Te(ue,C,R),a(v),C=x(C,!0),a(R),u(Oe,C)?(R.enumerable?(u(v,ce)&&v[ce][C]&&(v[ce][C]=!1),R=k(R,{enumerable:O(0,!1)})):(u(v,ce)||P(v,ce,O(1,{})),v[ce][C]=!0),ze(v,C,R)):P(v,C,R)},Je=function(v,C){a(v);for(var R,H=T(C=N(C)),Q=0,K=H.length;K>Q;)Te(v,R=H[Q++],C[R]);return v},Ge=function(v){var C=ke.call(this,v=x(v,!0));return!(this===fe&&u(Oe,v)&&!u(ue,v))&&(!(C||!u(this,v)||!u(Oe,v)||u(this,ce)&&this[ce][v])||C)},Ye=function(v,C){if(v=N(v),C=x(C,!0),v!==fe||!u(Oe,C)||u(ue,C)){var R=X(v,C);return!R||!u(Oe,C)||u(v,ce)&&v[ce][C]||(R.enumerable=!0),R}},$e=function(v){for(var C,R=ae(N(v)),H=[],Q=0;R.length>Q;)u(Oe,C=R[Q++])||C==ce||C==p||H.push(C);return H},He=function(v){for(var C,R=v===fe,H=ae(R?ue:N(v)),Q=[],K=0;H.length>K;)!u(Oe,C=H[K++])||R&&!u(fe,C)||Q.push(Oe[C]);return Q};se||(l((V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor!");var v=A(arguments.length>0?arguments[0]:void 0),C=function(R){this===fe&&C.call(ue,R),u(this,ce)&&u(this[ce],v)&&(this[ce][v]=!1),ze(this,v,O(1,R))};return d&&Ke&&ze(fe,v,{configurable:!0,set:C}),We(v)}).prototype,"toString",function(){return this._k}),z.f=Ye,g.f=Te,e(41).f=I.f=$e,e(19).f=Ge,G.f=He,d&&!e(14)&&l(fe,"propertyIsEnumerable",Ge,!0),L.f=function(v){return We(q(v))}),f(f.G+f.W+f.F*!se,{Symbol:V});for(var Me="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Qe=0;Me.length>Qe;)q(Me[Qe++]);for(var me=J(q.store),S=0;me.length>S;)ee(me[S++]);f(f.S+f.F*!se,"Symbol",{for:function(v){return u(Ee,v+="")?Ee[v]:Ee[v]=V(v)},keyFor:function(v){if(!Ue(v))throw TypeError(v+" is not a symbol!");for(var C in Ee)if(Ee[C]===v)return C},useSetter:function(){Ke=!0},useSimple:function(){Ke=!1}}),f(f.S+f.F*!se,"Object",{create:function(v,C){return C===void 0?k(v):Je(k(v),C)},defineProperty:Te,defineProperties:Je,getOwnPropertyDescriptor:Ye,getOwnPropertyNames:$e,getOwnPropertySymbols:He});var m=y(function(){G.f(1)});f(f.S+f.F*m,"Object",{getOwnPropertySymbols:function(v){return G.f(F(v))}}),re&&f(f.S+f.F*(!se||y(function(){var v=V();return Y([v])!="[null]"||Y({a:v})!="{}"||Y(Object(v))!="{}"})),"JSON",{stringify:function(v){for(var C,R,H=[v],Q=1;arguments.length>Q;)H.push(arguments[Q++]);if(R=C=H[1],(D(C)||v!==void 0)&&!Ue(v))return U(C)||(C=function(K,oe){if(typeof R=="function"&&(oe=R.call(this,K,oe)),!Ue(oe))return oe}),H[1]=C,Y.apply(re,H)}}),V.prototype[ve]||e(6)(V.prototype,ve,V.prototype.valueOf),M(V,"Symbol"),M(Math,"Math",!0),M(s.JSON,"JSON",!0)},function(i,r,e){var s=e(17)("meta"),u=e(11),d=e(5),f=e(7).f,l=0,p=Object.isExtensible||function(){return!0},y=!e(8)(function(){return p(Object.preventExtensions({}))}),E=function(A){f(A,s,{value:{i:"O"+ ++l,w:{}}})},M=i.exports={KEY:s,NEED:!1,fastKey:function(A,q){if(!u(A))return typeof A=="symbol"?A:(typeof A=="string"?"S":"P")+A;if(!d(A,s)){if(!p(A))return"F";if(!q)return"E";E(A)}return A[s].i},getWeak:function(A,q){if(!d(A,s)){if(!p(A))return!0;if(!q)return!1;E(A)}return A[s].w},onFreeze:function(A){return y&&M.NEED&&p(A)&&!d(A,s)&&E(A),A}}},function(i,r,e){var s=e(13),u=e(32),d=e(19);i.exports=function(f){var l=s(f),p=u.f;if(p)for(var y,E=p(f),M=d.f,A=0;E.length>A;)M.call(f,y=E[A++])&&l.push(y);return l}},function(i,r,e){var s=e(24);i.exports=Array.isArray||function(u){return s(u)=="Array"}},function(i,r,e){var s=e(9),u=e(41).f,d={}.toString,f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];i.exports.f=function(l){return f&&d.call(l)=="[object Window]"?function(p){try{return u(p)}catch{return f.slice()}}(l):u(s(l))}},function(i,r,e){var s=e(19),u=e(16),d=e(9),f=e(23),l=e(5),p=e(35),y=Object.getOwnPropertyDescriptor;r.f=e(4)?y:function(E,M){if(E=d(E),M=f(M,!0),p)try{return y(E,M)}catch{}if(l(E,M))return u(!s.f.call(E,M),E[M])}},function(i,r){},function(i,r,e){e(31)("asyncIterator")},function(i,r,e){e(31)("observable")},function(i,r,e){r.__esModule=!0;var s,u=e(77),d=(s=u)&&s.__esModule?s:{default:s};r.default=d.default||function(f){for(var l=1;lL;)for(var U,a=p(arguments[L++]),D=ee?u(a).concat(ee(a)):u(a),F=D.length,N=0;F>N;)U=D[N++],s&&!T.call(a,U)||(A[U]=a[U]);return A}:y},function(i,r,e){r.__esModule=!0;var s=d(e(82)),u=d(e(85));function d(f){return f&&f.__esModule?f:{default:f}}r.default=function(f,l){if(Array.isArray(f))return f;if((0,s.default)(Object(f)))return function(p,y){var E=[],M=!0,A=!1,q=void 0;try{for(var L,ee=(0,u.default)(p);!(M=(L=ee.next()).done)&&(E.push(L.value),!y||E.length!==y);M=!0);}catch(T){A=!0,q=T}finally{try{!M&&ee.return&&ee.return()}finally{if(A)throw q}}return E}(f,l);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(i,r,e){i.exports={default:e(83),__esModule:!0}},function(i,r,e){e(29),e(20),i.exports=e(84)},function(i,r,e){var s=e(42),u=e(2)("iterator"),d=e(12);i.exports=e(1).isIterable=function(f){var l=Object(f);return l[u]!==void 0||"@@iterator"in l||d.hasOwnProperty(s(l))}},function(i,r,e){i.exports={default:e(86),__esModule:!0}},function(i,r,e){e(29),e(20),i.exports=e(87)},function(i,r,e){var s=e(10),u=e(88);i.exports=e(1).getIterator=function(d){var f=u(d);if(typeof f!="function")throw TypeError(d+" is not iterable!");return s(f.call(d))}},function(i,r,e){var s=e(42),u=e(2)("iterator"),d=e(12);i.exports=e(1).getIteratorMethod=function(f){if(f!=null)return f[u]||f["@@iterator"]||d[s(f)]}},function(i,r,e){i.exports={default:e(90),__esModule:!0}},function(i,r,e){e(91),i.exports=e(1).Object.keys},function(i,r,e){var s=e(18),u=e(13);e(92)("keys",function(){return function(d){return u(s(d))}})},function(i,r,e){var s=e(15),u=e(1),d=e(8);i.exports=function(f,l){var p=(u.Object||{})[f]||Object[f],y={};y[f]=l(p),s(s.S+s.F*d(function(){p(1)}),"Object",y)}},function(i,r,e){(function(s){var u=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],d=/^\s+|\s+$/g,f=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,l=/\{\n\/\* \[wrapped with (.+)\] \*/,p=/,? & /,y=/^[-+]0x[0-9a-f]+$/i,E=/^0b[01]+$/i,M=/^\[object .+?Constructor\]$/,A=/^0o[0-7]+$/i,q=/^(?:0|[1-9]\d*)$/,L=parseInt,ee=typeof s=="object"&&s&&s.Object===Object&&s,T=typeof self=="object"&&self&&self.Object===Object&&self,U=ee||T||Function("return this")();function a(S,m,v){switch(v.length){case 0:return S.call(m);case 1:return S.call(m,v[0]);case 2:return S.call(m,v[0],v[1]);case 3:return S.call(m,v[0],v[1],v[2])}return S.apply(m,v)}function D(S,m){return!!(S&&S.length)&&function(v,C,R){if(C!=C)return function(K,oe,de,pe){for(var ge=K.length,be=de+-1;++be-1}function F(S){return S!=S}function N(S,m){for(var v=S.length,C=0;v--;)S[v]===m&&C++;return C}function x(S,m){for(var v=-1,C=S.length,R=0,H=[];++v2?k:void 0);function ke(S){return Me(S)?re(S):{}}function Ee(S){return!(!Me(S)||function(m){return!!J&&J in m}(S))&&(function(m){var v=Me(m)?ae.call(m):"";return v=="[object Function]"||v=="[object GeneratorFunction]"}(S)||function(m){var v=!1;if(m!=null&&typeof m.toString!="function")try{v=!!(m+"")}catch{}return v}(S)?V:M).test(function(m){if(m!=null){try{return X.call(m)}catch{}try{return m+""}catch{}}return""}(S))}function Oe(S,m,v,C){for(var R=-1,H=S.length,Q=v.length,K=-1,oe=m.length,de=Y(H-Q,0),pe=Array(oe+de),ge=!C;++K1&&le.reverse(),pe&&oe1?"& ":"")+m[C],m=m.join(v>2?", ":" "),S.replace(f,`{ +/* [wrapped with `+m+`] */ +`)}function Je(S,m){return!!(m=m??9007199254740991)&&(typeof S=="number"||q.test(S))&&S>-1&&S%1==0&&S1&&d--,l=6*d<1?s+6*(u-s)*d:2*d<1?u:3*d<2?s+(u-s)*(2/3-d)*6:s,f[M]=255*l;return f}},function(i,r,e){(function(s){var u=typeof s=="object"&&s&&s.Object===Object&&s,d=typeof self=="object"&&self&&self.Object===Object&&self,f=u||d||Function("return this")();function l(x,O,k){switch(k.length){case 0:return x.call(O);case 1:return x.call(O,k[0]);case 2:return x.call(O,k[0],k[1]);case 3:return x.call(O,k[0],k[1],k[2])}return x.apply(O,k)}function p(x,O){for(var k=-1,I=O.length,z=x.length;++k-1&&z%1==0&&z<=9007199254740991}(I.length)&&!function(z){var G=function(g){var J=typeof g;return!!g&&(J=="object"||J=="function")}(z)?M.call(z):"";return G=="[object Function]"||G=="[object GeneratorFunction]"}(I)}(k)}(O)&&E.call(O,"callee")&&(!q.call(O,"callee")||M.call(O)=="[object Arguments]")}(x)||!!(L&&x&&x[L])}var U=Array.isArray,a,D,F,N=(D=function(x){var O=(x=function(z,G,g,J,X){var P=-1,ae=z.length;for(g||(g=T),X||(X=[]);++P2?d-2:0),l=2;l=0)continue;n[o]=c[o]}return n}function k(c,t){if(c==null)return{};var n,o,b=O(c,t);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(c);for(o=0;o=0||{}.propertyIsEnumerable.call(c,n)&&(b[n]=c[n])}return b}function I(c){var t=function(n){return{}.toString.call(n).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}(c);return t==="number"&&(t=isNaN(c)?"nan":(0|c)!=c?"float":"integer"),t}D.__suppressDeprecationWarning=!0,F.__suppressDeprecationWarning=!0,N.__suppressDeprecationWarning=!0;var z={scheme:"rjv-default",author:"mac gainor",base00:"rgba(0, 0, 0, 0)",base01:"rgb(245, 245, 245)",base02:"rgb(235, 235, 235)",base03:"#93a1a1",base04:"rgba(0, 0, 0, 0.3)",base05:"#586e75",base06:"#073642",base07:"#002b36",base08:"#d33682",base09:"#cb4b16",base0A:"#dc322f",base0B:"#859900",base0C:"#6c71c4",base0D:"#586e75",base0E:"#2aa198",base0F:"#268bd2"},G={scheme:"rjv-grey",author:"mac gainor",base00:"rgba(1, 1, 1, 0)",base01:"rgba(1, 1, 1, 0.1)",base02:"rgba(0, 0, 0, 0.2)",base03:"rgba(1, 1, 1, 0.3)",base04:"rgba(0, 0, 0, 0.4)",base05:"rgba(1, 1, 1, 0.5)",base06:"rgba(1, 1, 1, 0.6)",base07:"rgba(1, 1, 1, 0.7)",base08:"rgba(1, 1, 1, 0.8)",base09:"rgba(1, 1, 1, 0.8)",base0A:"rgba(1, 1, 1, 0.8)",base0B:"rgba(1, 1, 1, 0.8)",base0C:"rgba(1, 1, 1, 0.8)",base0D:"rgba(1, 1, 1, 0.8)",base0E:"rgba(1, 1, 1, 0.8)",base0F:"rgba(1, 1, 1, 0.8)"},g={white:"#fff",black:"#000",transparent:"rgba(1, 1, 1, 0)",globalFontFamily:"monospace",globalCursor:"default",indentBlockWidth:"5px",braceFontWeight:"bold",braceCursor:"pointer",ellipsisFontSize:"18px",ellipsisLineHeight:"10px",ellipsisCursor:"pointer",keyMargin:"0px 5px",keyLetterSpacing:"0.5px",keyFontStyle:"none",keyBorderRadius:"3px",keyColonWeight:"bold",keyVerticalAlign:"top",keyOpacity:"0.85",keyOpacityHover:"1",keyValPaddingTop:"3px",keyValPaddingBottom:"3px",keyValPaddingRight:"5px",keyValBorderLeft:"1px solid",keyValBorderHover:"2px solid",keyValPaddingHover:"3px 5px 3px 4px",pushedContentMarginLeft:"6px",variableValuePaddingRight:"6px",nullFontSize:"11px",nullFontWeight:"bold",nullPadding:"1px 2px",nullBorderRadius:"3px",nanFontSize:"11px",nanFontWeight:"bold",nanPadding:"1px 2px",nanBorderRadius:"3px",undefinedFontSize:"11px",undefinedFontWeight:"bold",undefinedPadding:"1px 2px",undefinedBorderRadius:"3px",dataTypeFontSize:"11px",dataTypeMarginRight:"4px",datatypeOpacity:"0.8",objectSizeBorderRadius:"3px",objectSizeFontStyle:"italic",objectSizeMargin:"0px 6px 0px 0px",clipboardCursor:"pointer",clipboardCheckMarginLeft:"-12px",metaDataPadding:"0px 0px 0px 10px",arrayGroupMetaPadding:"0px 0px 0px 4px",iconContainerWidth:"17px",tooltipPadding:"4px",editInputMinWidth:"130px",editInputBorderRadius:"2px",editInputPadding:"5px",editInputMarginRight:"4px",editInputFontFamily:"monospace",iconCursor:"pointer",iconFontSize:"15px",iconPaddingRight:"1px",dateValueMarginLeft:"2px",iconMarginRight:"3px",detectedRowPaddingTop:"3px",addKeyCoverBackground:"rgba(255, 255, 255, 0.3)",addKeyCoverPosition:"absolute",addKeyCoverPositionPx:"0px",addKeyModalWidth:"200px",addKeyModalMargin:"auto",addKeyModalPadding:"10px",addKeyModalRadius:"3px"},J=e(45),X=function(c){var t=function(n){return{backgroundColor:n.base00,ellipsisColor:n.base09,braceColor:n.base07,expandedIcon:n.base0D,collapsedIcon:n.base0E,keyColor:n.base07,arrayKeyColor:n.base0C,objectSize:n.base04,copyToClipboard:n.base0F,copyToClipboardCheck:n.base0D,objectBorder:n.base02,dataTypes:{boolean:n.base0E,date:n.base0D,float:n.base0B,function:n.base0D,integer:n.base0F,string:n.base09,nan:n.base08,null:n.base0A,undefined:n.base05,regexp:n.base0A,background:n.base02},editVariable:{editIcon:n.base0E,cancelIcon:n.base09,removeIcon:n.base09,addIcon:n.base0E,checkIcon:n.base0E,background:n.base01,color:n.base0A,border:n.base07},addKeyModal:{background:n.base05,border:n.base04,color:n.base0A,labelColor:n.base01},validationFailure:{background:n.base09,iconColor:n.base01,fontColor:n.base01}}}(c);return{"app-container":{fontFamily:g.globalFontFamily,cursor:g.globalCursor,backgroundColor:t.backgroundColor,position:"relative"},ellipsis:{display:"inline-block",color:t.ellipsisColor,fontSize:g.ellipsisFontSize,lineHeight:g.ellipsisLineHeight,cursor:g.ellipsisCursor},"brace-row":{display:"inline-block",cursor:"pointer"},brace:{display:"inline-block",cursor:g.braceCursor,fontWeight:g.braceFontWeight,color:t.braceColor},"expanded-icon":{color:t.expandedIcon},"collapsed-icon":{color:t.collapsedIcon},colon:{display:"inline-block",margin:g.keyMargin,color:t.keyColor,verticalAlign:"top"},objectKeyVal:function(n,o){return{style:l({paddingTop:g.keyValPaddingTop,paddingRight:g.keyValPaddingRight,paddingBottom:g.keyValPaddingBottom,borderLeft:g.keyValBorderLeft+" "+t.objectBorder,":hover":{paddingLeft:o.paddingLeft-1+"px",borderLeft:g.keyValBorderHover+" "+t.objectBorder}},o)}},"object-key-val-no-border":{padding:g.keyValPadding},"pushed-content":{marginLeft:g.pushedContentMarginLeft},variableValue:function(n,o){return{style:l({display:"inline-block",paddingRight:g.variableValuePaddingRight,position:"relative"},o)}},"object-name":{display:"inline-block",color:t.keyColor,letterSpacing:g.keyLetterSpacing,fontStyle:g.keyFontStyle,verticalAlign:g.keyVerticalAlign,opacity:g.keyOpacity,":hover":{opacity:g.keyOpacityHover}},"array-key":{display:"inline-block",color:t.arrayKeyColor,letterSpacing:g.keyLetterSpacing,fontStyle:g.keyFontStyle,verticalAlign:g.keyVerticalAlign,opacity:g.keyOpacity,":hover":{opacity:g.keyOpacityHover}},"object-size":{color:t.objectSize,borderRadius:g.objectSizeBorderRadius,fontStyle:g.objectSizeFontStyle,margin:g.objectSizeMargin,cursor:"default"},"data-type-label":{fontSize:g.dataTypeFontSize,marginRight:g.dataTypeMarginRight,opacity:g.datatypeOpacity},boolean:{display:"inline-block",color:t.dataTypes.boolean},date:{display:"inline-block",color:t.dataTypes.date},"date-value":{marginLeft:g.dateValueMarginLeft},float:{display:"inline-block",color:t.dataTypes.float},function:{display:"inline-block",color:t.dataTypes.function,cursor:"pointer",whiteSpace:"pre-line"},"function-value":{fontStyle:"italic"},integer:{display:"inline-block",color:t.dataTypes.integer},string:{display:"inline-block",color:t.dataTypes.string},nan:{display:"inline-block",color:t.dataTypes.nan,fontSize:g.nanFontSize,fontWeight:g.nanFontWeight,backgroundColor:t.dataTypes.background,padding:g.nanPadding,borderRadius:g.nanBorderRadius},null:{display:"inline-block",color:t.dataTypes.null,fontSize:g.nullFontSize,fontWeight:g.nullFontWeight,backgroundColor:t.dataTypes.background,padding:g.nullPadding,borderRadius:g.nullBorderRadius},undefined:{display:"inline-block",color:t.dataTypes.undefined,fontSize:g.undefinedFontSize,padding:g.undefinedPadding,borderRadius:g.undefinedBorderRadius,backgroundColor:t.dataTypes.background},regexp:{display:"inline-block",color:t.dataTypes.regexp},"copy-to-clipboard":{cursor:g.clipboardCursor},"copy-icon":{color:t.copyToClipboard,fontSize:g.iconFontSize,marginRight:g.iconMarginRight,verticalAlign:"top"},"copy-icon-copied":{color:t.copyToClipboardCheck,marginLeft:g.clipboardCheckMarginLeft},"array-group-meta-data":{display:"inline-block",padding:g.arrayGroupMetaPadding},"object-meta-data":{display:"inline-block",padding:g.metaDataPadding},"icon-container":{display:"inline-block",width:g.iconContainerWidth},tooltip:{padding:g.tooltipPadding},removeVarIcon:{verticalAlign:"top",display:"inline-block",color:t.editVariable.removeIcon,cursor:g.iconCursor,fontSize:g.iconFontSize,marginRight:g.iconMarginRight},addVarIcon:{verticalAlign:"top",display:"inline-block",color:t.editVariable.addIcon,cursor:g.iconCursor,fontSize:g.iconFontSize,marginRight:g.iconMarginRight},editVarIcon:{verticalAlign:"top",display:"inline-block",color:t.editVariable.editIcon,cursor:g.iconCursor,fontSize:g.iconFontSize,marginRight:g.iconMarginRight},"edit-icon-container":{display:"inline-block",verticalAlign:"top"},"check-icon":{display:"inline-block",cursor:g.iconCursor,color:t.editVariable.checkIcon,fontSize:g.iconFontSize,paddingRight:g.iconPaddingRight},"cancel-icon":{display:"inline-block",cursor:g.iconCursor,color:t.editVariable.cancelIcon,fontSize:g.iconFontSize,paddingRight:g.iconPaddingRight},"edit-input":{display:"inline-block",minWidth:g.editInputMinWidth,borderRadius:g.editInputBorderRadius,backgroundColor:t.editVariable.background,color:t.editVariable.color,padding:g.editInputPadding,marginRight:g.editInputMarginRight,fontFamily:g.editInputFontFamily},"detected-row":{paddingTop:g.detectedRowPaddingTop},"key-modal-request":{position:g.addKeyCoverPosition,top:g.addKeyCoverPositionPx,left:g.addKeyCoverPositionPx,right:g.addKeyCoverPositionPx,bottom:g.addKeyCoverPositionPx,backgroundColor:g.addKeyCoverBackground},"key-modal":{width:g.addKeyModalWidth,backgroundColor:t.addKeyModal.background,marginLeft:g.addKeyModalMargin,marginRight:g.addKeyModalMargin,padding:g.addKeyModalPadding,borderRadius:g.addKeyModalRadius,marginTop:"15px",position:"relative"},"key-modal-label":{color:t.addKeyModal.labelColor,marginLeft:"2px",marginBottom:"5px",fontSize:"11px"},"key-modal-input-container":{overflow:"hidden"},"key-modal-input":{width:"100%",padding:"3px 6px",fontFamily:"monospace",color:t.addKeyModal.color,border:"none",boxSizing:"border-box",borderRadius:"2px"},"key-modal-cancel":{backgroundColor:t.editVariable.removeIcon,position:"absolute",top:"0px",right:"0px",borderRadius:"0px 3px 0px 3px",cursor:"pointer"},"key-modal-cancel-icon":{color:t.addKeyModal.labelColor,fontSize:g.iconFontSize,transform:"rotate(45deg)"},"key-modal-submit":{color:t.editVariable.addIcon,fontSize:g.iconFontSize,position:"absolute",right:"2px",top:"3px",cursor:"pointer"},"function-ellipsis":{display:"inline-block",color:t.ellipsisColor,fontSize:g.ellipsisFontSize,lineHeight:g.ellipsisLineHeight,cursor:g.ellipsisCursor},"validation-failure":{float:"right",padding:"3px 6px",borderRadius:"2px",cursor:"pointer",color:t.validationFailure.fontColor,backgroundColor:t.validationFailure.background},"validation-failure-label":{marginRight:"6px"},"validation-failure-clear":{position:"relative",verticalAlign:"top",cursor:"pointer",color:t.validationFailure.iconColor,fontSize:g.iconFontSize,transform:"rotate(45deg)"}}};function P(c,t,n){return c||console.error("theme has not been set"),function(o){var b=z;return o!==!1&&o!=="none"||(b=G),Object(J.createStyling)(X,{defaultBase16:b})(o)}(c)(t,n)}var ae=function(c){function t(){return p(this,t),L(this,t,arguments)}return T(t,c),E(t,[{key:"render",value:function(){var n=this.props,o=(n.rjvId,n.type_name),b=n.displayDataTypes,j=n.theme;return b?a.a.createElement("span",Object.assign({className:"data-type-label"},P(j,"data-type-label")),o):null}}])}(a.a.PureComponent),V=function(c){function t(){return p(this,t),L(this,t,arguments)}return T(t,c),E(t,[{key:"render",value:function(){var n=this.props;return a.a.createElement("div",P(n.theme,"boolean"),a.a.createElement(ae,Object.assign({type_name:"bool"},n)),n.value?"true":"false")}}])}(a.a.PureComponent),re=function(c){function t(){return p(this,t),L(this,t,arguments)}return T(t,c),E(t,[{key:"render",value:function(){var n=this.props;return a.a.createElement("div",P(n.theme,"date"),a.a.createElement(ae,Object.assign({type_name:"date"},n)),a.a.createElement("span",Object.assign({className:"date-value"},P(n.theme,"date-value")),n.value.toLocaleTimeString("en-us",{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})))}}])}(a.a.PureComponent),Y=function(c){function t(){return p(this,t),L(this,t,arguments)}return T(t,c),E(t,[{key:"render",value:function(){var n=this.props;return a.a.createElement("div",P(n.theme,"float"),a.a.createElement(ae,Object.assign({type_name:"float"},n)),this.props.value)}}])}(a.a.PureComponent);function ce(c,t){(t==null||t>c.length)&&(t=c.length);for(var n=0,o=Array(t);n=c.length?{done:!0}:{done:!1,value:c[o++]}},e:function(w){throw w},f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var j,_=!0,h=!1;return{s:function(){n=n.call(c)},n:function(){var w=n.next();return _=w.done,w},e:function(w){h=!0,j=w},f:function(){try{_||n.return==null||n.return()}finally{if(h)throw j}}}}function Ee(c){return function(t){if(Array.isArray(t))return ce(t)}(c)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(c)||ve(c)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var Oe=e(46),ue=new(e(47)).Dispatcher,fe=new(function(c){function t(){var n;p(this,t);for(var o=arguments.length,b=new Array(o),j=0;jo&&(_.style.cursor="pointer",this.state.collapsed&&(j=a.a.createElement("span",null,j.substring(0,o),a.a.createElement("span",P(b,"ellipsis")," ...")))),a.a.createElement("div",P(b,"string"),a.a.createElement(ae,Object.assign({type_name:"string"},n)),a.a.createElement("span",Object.assign({className:"string-value"},_,{onClick:this.toggleCollapsed}),'"',j,'"'))}}])}(a.a.PureComponent),Je=function(c){function t(){return p(this,t),L(this,t,arguments)}return T(t,c),E(t,[{key:"render",value:function(){return a.a.createElement("div",P(this.props.theme,"undefined"),"undefined")}}])}(a.a.PureComponent);function Ge(){return(Ge=Object.assign?Object.assign.bind():function(c){for(var t=1;t0?W:null,namespace:B.splice(0,B.length-1),existing_value:$,variable_removed:!1,key_name:null};I($)==="object"?ue.dispatch({name:"ADD_VARIABLE_KEY_REQUEST",rjvId:ne,data:ie}):ue.dispatch({name:"VARIABLE_ADDED",rjvId:ne,data:l(l({},ie),{},{new_value:[].concat(Ee($),[null])})})}})))},n.getRemoveObject=function(_){var h=n.props,w=h.theme,B=(h.hover,h.namespace),W=h.name,$=h.src,ne=h.rjvId;if(B.length!==1)return a.a.createElement("span",{className:"click-to-remove",style:{display:_?"inline-block":"none"}},a.a.createElement(bt,Object.assign({className:"click-to-remove-icon"},P(w,"removeVarIcon"),{onClick:function(){ue.dispatch({name:"VARIABLE_REMOVED",rjvId:ne,data:{name:W,namespace:B.splice(0,B.length-1),existing_value:$,variable_removed:!0}})}})))},n.render=function(){var _=n.props,h=_.theme,w=_.onDelete,B=_.onAdd,W=_.enableClipboard,$=_.src,ne=_.namespace,Z=_.rowHovered;return a.a.createElement("div",Object.assign({},P(h,"object-meta-data"),{className:"object-meta-data",onClick:function(ie){ie.stopPropagation()}}),n.getObjectSize(),W?a.a.createElement(xt,{rowHovered:Z,clickCallback:W,src:$,theme:h,namespace:ne}):null,B!==!1?n.getAddAttribute(Z):null,w!==!1?n.getRemoveObject(Z):null)},n}return T(t,c),E(t)}(a.a.PureComponent);function kt(c){var t=c.parent_type,n=c.namespace,o=c.quotesOnKeys,b=c.theme,j=c.jsvRoot,_=c.name,h=c.displayArrayKey,w=c.name?c.name:"";return!j||_!==!1&&_!==null?t=="array"?h?a.a.createElement("span",Object.assign({},P(b,"array-key"),{key:n}),a.a.createElement("span",{className:"array-key"},w),a.a.createElement("span",P(b,"colon"),":")):a.a.createElement("span",null):a.a.createElement("span",Object.assign({},P(b,"object-name"),{key:n}),a.a.createElement("span",{className:"object-key"},o&&a.a.createElement("span",{style:{verticalAlign:"top"}},'"'),a.a.createElement("span",null,w),o&&a.a.createElement("span",{style:{verticalAlign:"top"}},'"')),a.a.createElement("span",P(b,"colon"),":")):a.a.createElement("span",null)}function Ot(c){var t=c.theme;switch(c.iconStyle){case"triangle":return a.a.createElement(it,Object.assign({},P(t,"expanded-icon"),{className:"expanded-icon"}));case"square":return a.a.createElement(Le,Object.assign({},P(t,"expanded-icon"),{className:"expanded-icon"}));default:return a.a.createElement(Se,Object.assign({},P(t,"expanded-icon"),{className:"expanded-icon"}))}}function St(c){var t=c.theme;switch(c.iconStyle){case"triangle":return a.a.createElement(Be,Object.assign({},P(t,"collapsed-icon"),{className:"collapsed-icon"}));case"square":return a.a.createElement(De,Object.assign({},P(t,"collapsed-icon"),{className:"collapsed-icon"}));default:return a.a.createElement(Ve,Object.assign({},P(t,"collapsed-icon"),{className:"collapsed-icon"}))}}var Rt=["src","groupArraysAfterLength","depth","name","theme","jsvRoot","namespace","parent_type"],Ct=function(c){function t(n){var o;return p(this,t),(o=L(this,t,[n])).toggleCollapsed=function(b){var j=[];for(var _ in o.state.expanded)j.push(o.state.expanded[_]);j[b]=!j[b],o.setState({expanded:j})},o.state={expanded:[]},o}return T(t,c),E(t,[{key:"getExpandedIcon",value:function(n){var o=this.props,b=o.theme,j=o.iconStyle;return this.state.expanded[n]?a.a.createElement(Ot,{theme:b,iconStyle:j}):a.a.createElement(St,{theme:b,iconStyle:j})}},{key:"render",value:function(){var n=this,o=this.props,b=o.src,j=o.groupArraysAfterLength,_=(o.depth,o.name),h=o.theme,w=o.jsvRoot,B=o.namespace,W=(o.parent_type,k(o,Rt)),$=0,ne=5*this.props.indentWidth;w||($=5*this.props.indentWidth);var Z=j,ie=Math.ceil(b.length/Z);return a.a.createElement("div",Object.assign({className:"object-key-val"},P(h,w?"jsv-root":"objectKeyVal",{paddingLeft:$})),a.a.createElement(kt,this.props),a.a.createElement("span",null,a.a.createElement(_t,Object.assign({size:b.length},this.props))),Ee(Array(ie)).map(function(he,te){return a.a.createElement("div",Object.assign({key:te,className:"object-key-val array-group"},P(h,"objectKeyVal",{marginLeft:6,paddingLeft:ne})),a.a.createElement("span",P(h,"brace-row"),a.a.createElement("div",Object.assign({className:"icon-container"},P(h,"icon-container"),{onClick:function(xe){n.toggleCollapsed(te)}}),n.getExpandedIcon(te)),n.state.expanded[te]?a.a.createElement(lt,Object.assign({key:_+te,depth:0,name:!1,collapsed:!1,groupArraysAfterLength:Z,index_offset:te*Z,src:b.slice(te*Z,te*Z+Z),namespace:B,type:"array",parent_type:"array_group",theme:h},W)):a.a.createElement("span",Object.assign({},P(h,"brace"),{onClick:function(xe){n.toggleCollapsed(te)},className:"array-group-brace"}),"[",a.a.createElement("div",Object.assign({},P(h,"array-group-meta-data"),{className:"array-group-meta-data"}),a.a.createElement("span",Object.assign({className:"object-size"},P(h,"object-size")),te*Z," - ",te*Z+Z>b.length?b.length:te*Z+Z)),"]")))}))}}])}(a.a.PureComponent),Lt=["depth","src","namespace","name","type","parent_type","theme","jsvRoot","iconStyle"],mt=function(c){function t(n){var o;p(this,t),(o=L(this,t,[n])).toggleCollapsed=function(){o.setState({expanded:!o.state.expanded},function(){se.set(o.props.rjvId,o.props.namespace,"expanded",o.state.expanded)})},o.getObjectContent=function(j,_,h){return a.a.createElement("div",{className:"pushed-content object-container"},a.a.createElement("div",Object.assign({className:"object-content"},P(o.props.theme,"pushed-content")),o.renderObjectContents(_,h)))},o.getEllipsis=function(){return o.state.size===0?null:a.a.createElement("div",Object.assign({},P(o.props.theme,"ellipsis"),{className:"node-ellipsis",onClick:o.toggleCollapsed}),"...")},o.getObjectMetaData=function(j){var _=o.props,h=(_.rjvId,_.theme,o.state),w=h.size,B=h.hovered;return a.a.createElement(_t,Object.assign({rowHovered:B,size:w},o.props))},o.renderObjectContents=function(j,_){var h,w=o.props,B=w.depth,W=w.parent_type,$=w.index_offset,ne=w.groupArraysAfterLength,Z=w.namespace,ie=o.state.object_type,he=[],te=Object.keys(j||{});return o.props.sortKeys&&ie!=="array"&&(te=te.sort()),te.forEach(function(xe){if(h=new Bt(xe,j[xe]),W==="array_group"&&$&&(h.name=parseInt(h.name)+$),j.hasOwnProperty(xe))if(h.type==="object")he.push(a.a.createElement(lt,Object.assign({key:h.name,depth:B+1,name:h.name,src:h.value,namespace:Z.concat(h.name),parent_type:ie},_)));else if(h.type==="array"){var Ze=lt;ne&&h.value.length>ne&&(Ze=Ct),he.push(a.a.createElement(Ze,Object.assign({key:h.name,depth:B+1,name:h.name,src:h.value,namespace:Z.concat(h.name),type:"array",parent_type:ie},_)))}else he.push(a.a.createElement(It,Object.assign({key:h.name+"_"+Z,variable:h,singleIndent:5,namespace:Z,type:o.props.type},_)))}),he};var b=t.getState(n);return o.state=l(l({},b),{},{prevProps:{}}),o}return T(t,c),E(t,[{key:"getBraceStart",value:function(n,o){var b=this,j=this.props,_=j.src,h=j.theme,w=j.iconStyle;if(j.parent_type==="array_group")return a.a.createElement("span",null,a.a.createElement("span",P(h,"brace"),n==="array"?"[":"{"),o?this.getObjectMetaData(_):null);var B=o?Ot:St;return a.a.createElement("span",null,a.a.createElement("span",Object.assign({onClick:function(W){b.toggleCollapsed()}},P(h,"brace-row")),a.a.createElement("div",Object.assign({className:"icon-container"},P(h,"icon-container")),a.a.createElement(B,{theme:h,iconStyle:w})),a.a.createElement(kt,this.props),a.a.createElement("span",P(h,"brace"),n==="array"?"[":"{")),o?this.getObjectMetaData(_):null)}},{key:"render",value:function(){var n=this,o=this.props,b=o.depth,j=o.src,_=(o.namespace,o.name,o.type,o.parent_type),h=o.theme,w=o.jsvRoot,B=o.iconStyle,W=k(o,Lt),$=this.state,ne=$.object_type,Z=$.expanded,ie={};return w||_==="array_group"?_==="array_group"&&(ie.borderLeft=0,ie.display="inline"):ie.paddingLeft=5*this.props.indentWidth,a.a.createElement("div",Object.assign({className:"object-key-val",onMouseEnter:function(){return n.setState(l(l({},n.state),{},{hovered:!0}))},onMouseLeave:function(){return n.setState(l(l({},n.state),{},{hovered:!1}))}},P(h,w?"jsv-root":"objectKeyVal",ie)),this.getBraceStart(ne,Z),Z?this.getObjectContent(b,j,l({theme:h,iconStyle:B},W)):this.getEllipsis(),a.a.createElement("span",{className:"brace-row"},a.a.createElement("span",{style:l(l({},P(h,"brace").style),{},{paddingLeft:Z?"3px":"0px"})},ne==="array"?"]":"}"),Z?null:this.getObjectMetaData(j)))}}],[{key:"getDerivedStateFromProps",value:function(n,o){var b=o.prevProps;return n.src!==b.src||n.collapsed!==b.collapsed||n.name!==b.name||n.namespace!==b.namespace||n.rjvId!==b.rjvId?l(l({},t.getState(n)),{},{prevProps:n}):null}}])}(a.a.PureComponent);mt.getState=function(c){var t=Object.keys(c.src).length,n=(c.collapsed===!1||c.collapsed!==!0&&c.collapsed>c.depth)&&(!c.shouldCollapse||c.shouldCollapse({name:c.name,src:c.src,type:I(c.src),namespace:c.namespace})===!1)&&t!==0;return{expanded:se.get(c.rjvId,c.namespace,"expanded",n),object_type:c.type==="array"?"array":"object",parent_type:c.type==="array"?"array":"object",size:t,hovered:!1}};var Bt=E(function c(t,n){p(this,c),this.name=t,this.value=n,this.type=I(n)});x(mt);var lt=mt,Nt=function(c){function t(){var n;p(this,t);for(var o=arguments.length,b=new Array(o),j=0;jW.groupArraysAfterLength&&(ne=Ct),a.a.createElement("div",{className:"pretty-json-container object-container"},a.a.createElement("div",{className:"object-content"},a.a.createElement(ne,Object.assign({namespace:$,depth:0,jsvRoot:!0},W))))},n}return T(t,c),E(t)}(a.a.PureComponent),zt=function(c){function t(n){var o;return p(this,t),(o=L(this,t,[n])).closeModal=function(){ue.dispatch({rjvId:o.props.rjvId,name:"RESET"})},o.submit=function(){o.props.submit(o.state.input)},o.state={input:n.input?n.input:""},o}return T(t,c),E(t,[{key:"render",value:function(){var n=this,o=this.props,b=o.theme,j=o.rjvId,_=o.isValid,h=this.state.input,w=_(h);return a.a.createElement("div",Object.assign({className:"key-modal-request"},P(b,"key-modal-request"),{onClick:this.closeModal}),a.a.createElement("div",Object.assign({},P(b,"key-modal"),{onClick:function(B){B.stopPropagation()}}),a.a.createElement("div",P(b,"key-modal-label"),"Key Name:"),a.a.createElement("div",{style:{position:"relative"}},a.a.createElement("input",Object.assign({},P(b,"key-modal-input"),{className:"key-modal-input",ref:function(B){return B&&B.focus()},spellCheck:!1,value:h,placeholder:"...",onChange:function(B){n.setState({input:B.target.value})},onKeyPress:function(B){w&&B.key==="Enter"?n.submit():B.key==="Escape"&&n.closeModal()}})),w?a.a.createElement(ht,Object.assign({},P(b,"key-modal-submit"),{className:"key-modal-submit",onClick:function(B){return n.submit()}})):null),a.a.createElement("span",P(b,"key-modal-cancel"),a.a.createElement(jt,Object.assign({},P(b,"key-modal-cancel-icon"),{className:"key-modal-cancel",onClick:function(){ue.dispatch({rjvId:j,name:"RESET"})}})))))}}])}(a.a.PureComponent),Tt=function(c){function t(){var n;p(this,t);for(var o=arguments.length,b=new Array(o),j=0;j0?Ye(xn,--ct):0,un--,Le===10&&(un=1,ii--),Le}function vt(){return Le=ct2||oo(Le)>3?"":" "}function pb(e,t){for(;--t&&vt()&&!(Le<48||Le>102||Le>57&&Le<65||Le>70&&Le<97););return go(e,Xo()+(t<6&&Wt()==32&&vt()==32))}function zs(e){for(;vt();)switch(Le){case e:return ct;case 34:case 39:e!==34&&e!==39&&zs(Le);break;case 40:e===41&&zs(e);break;case 92:vt();break}return ct}function mb(e,t){for(;vt()&&e+Le!==57;)if(e+Le===84&&Wt()===47)break;return"/*"+go(t,ct-1)+"*"+ai(e===47?e:vt())}function vb(e){for(;!oo(Wt());)vt();return go(e,ct)}function gb(e){return Np(Qo("",null,null,null,[""],e=Ap(e),0,[0],e))}function Qo(e,t,r,n,o,a,i,l,c){for(var u=0,d=0,f=i,p=0,m=0,g=0,v=1,b=1,O=1,C=0,x="",y=o,_=a,P=n,w=x;b;)switch(g=C,C=vt()){case 40:if(g!=108&&Ye(w,f-1)==58){Ls(w+=xe(Yo(C),"&","&\f"),"&\f")!=-1&&(O=-1);break}case 34:case 39:case 91:w+=Yo(C);break;case 9:case 10:case 13:case 32:w+=fb(g);break;case 92:w+=pb(Xo()-1,7);continue;case 47:switch(Wt()){case 42:case 47:Ao(hb(mb(vt(),Xo()),t,r),c);break;default:w+="/"}break;case 123*v:l[u++]=Bt(w)*O;case 125*v:case 59:case 0:switch(C){case 0:case 125:b=0;case 59+d:O==-1&&(w=xe(w,/\f/g,"")),m>0&&Bt(w)-f&&Ao(m>32?pd(w+";",n,r,f-1):pd(xe(w," ","")+";",n,r,f-2),c);break;case 59:w+=";";default:if(Ao(P=fd(w,t,r,u,d,o,l,x,y=[],_=[],f),a),C===123)if(d===0)Qo(w,t,P,P,y,a,f,l,_);else switch(p===99&&Ye(w,3)===110?100:p){case 100:case 108:case 109:case 115:Qo(e,P,P,n&&Ao(fd(e,P,P,0,0,o,l,x,o,y=[],f),_),o,_,f,l,n?y:_);break;default:Qo(w,P,P,P,[""],_,0,l,_)}}u=d=m=0,v=O=1,x=w="",f=i;break;case 58:f=1+Bt(w),m=g;default:if(v<1){if(C==123)--v;else if(C==125&&v++==0&&db()==125)continue}switch(w+=ai(C),C*v){case 38:O=d>0?1:(w+="\f",-1);break;case 44:l[u++]=(Bt(w)-1)*O,O=1;break;case 64:Wt()===45&&(w+=Yo(vt())),p=Wt(),d=f=Bt(x=w+=vb(Xo())),C++;break;case 45:g===45&&Bt(w)==2&&(v=0)}}return a}function fd(e,t,r,n,o,a,i,l,c,u,d){for(var f=o-1,p=o===0?a:[""],m=xc(p),g=0,v=0,b=0;g0?p[O]+" "+C:xe(C,/&\f/g,p[O])))&&(c[b++]=x);return si(e,t,r,o===0?yc:l,c,u,d)}function hb(e,t,r){return si(e,t,r,Ip,ai(ub()),no(e,2,-2),0)}function pd(e,t,r,n){return si(e,t,r,bc,no(e,0,n),no(e,n+1,-1),n)}function Gr(e,t){for(var r="",n=xc(e),o=0;o6)switch(Ye(e,t+1)){case 109:if(Ye(e,t+4)!==45)break;case 102:return xe(e,/(.+:)(.+)-([^]+)/,"$1"+be+"$2-$3$1"+ba+(Ye(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ls(e,"stretch")?Fp(xe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ye(e,t+1)!==115)break;case 6444:switch(Ye(e,Bt(e)-3-(~Ls(e,"!important")&&10))){case 107:return xe(e,":",":"+be)+e;case 101:return xe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+be+(Ye(e,14)===45?"inline-":"")+"box$3$1"+be+"$2$3$1"+et+"$2box$3")+e}break;case 5936:switch(Ye(e,t+11)){case 114:return be+e+et+xe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return be+e+et+xe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return be+e+et+xe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return be+e+et+e+e}return e}var Eb=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case bc:t.return=Fp(t.value,t.length);break;case Tp:return Gr([Tn(t,{value:xe(t.value,"@","@"+be)})],o);case yc:if(t.length)return cb(t.props,function(a){switch(lb(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Gr([Tn(t,{props:[xe(a,/:(read-\w+)/,":"+ba+"$1")]})],o);case"::placeholder":return Gr([Tn(t,{props:[xe(a,/:(plac\w+)/,":"+be+"input-$1")]}),Tn(t,{props:[xe(a,/:(plac\w+)/,":"+ba+"$1")]}),Tn(t,{props:[xe(a,/:(plac\w+)/,et+"input-$1")]})],o)}return""})}},Sb=[Eb],Bp=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(v){var b=v.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var o=t.stylisPlugins||Sb,a={},i,l=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(v){for(var b=v.getAttribute("data-emotion").split(" "),O=1;O=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Db={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Lb=!1,zb=/[A-Z]|^ms/g,Wb=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Up=function(t){return t.charCodeAt(1)===45},vd=function(t){return t!=null&&typeof t!="boolean"},vs=kp(function(e){return Up(e)?e:e.replace(zb,"-$&").toLowerCase()}),gd=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Wb,function(n,o,a){return Dt={name:o,styles:a,next:Dt},o})}return Db[t]!==1&&!Up(t)&&typeof r=="number"&&r!==0?r+"px":r},Vb="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ao(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return Dt={name:o.name,styles:o.styles,next:Dt},o.name;var a=r;if(a.styles!==void 0){var i=a.next;if(i!==void 0)for(;i!==void 0;)Dt={name:i.name,styles:i.styles,next:Dt},i=i.next;var l=a.styles+";";return l}return Hb(e,t,r)}case"function":{if(e!==void 0){var c=Dt,u=r(e);return Dt=c,ao(e,t,u)}break}}var d=r;if(t==null)return d;var f=t[d];return f!==void 0?f:d}function Hb(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o96?Xb:Yb},Od=function(t,r,n){var o;if(r){var a=r.shouldForwardProp;o=t.__emotion_forwardProp&&a?function(i){return t.__emotion_forwardProp(i)&&a(i)}:a}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Qb=!1,Jb=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Vp(r,n,o),qb(function(){return Hp(r,n,o)}),null},Zb=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,a,i;r!==void 0&&(a=r.label,i=r.target);var l=Od(t,r,n),c=l||xd(o),u=!c("as");return function(){var d=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&f.push("label:"+a+";"),d[0]==null||d[0].raw===void 0)f.push.apply(f,d);else{f.push(d[0][0]);for(var p=d.length,m=1;mt(r0(o)?r:o):t;return S.jsx(Gb,{styles:n})}function Pc(e,t){return Ws(e,t)}const Qp=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},n0=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Yp,StyledEngineProvider:t0,ThemeContext:ho,css:yi,default:Pc,internal_processStyles:Qp,keyframes:On},Symbol.toStringTag,{value:"Module"}));function Xt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Jp(e){if(!Xt(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Jp(e[r])}),t}function Qe(e,t,r={clone:!0}){const n=r.clone?h({},e):e;return Xt(e)&&Xt(t)&&Object.keys(t).forEach(o=>{Xt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Xt(e[o])?n[o]=Qe(e[o],t[o],r):r.clone?n[o]=Xt(t[o])?Jp(t[o]):t[o]:n[o]=t[o]}),n}const o0=Object.freeze(Object.defineProperty({__proto__:null,default:Qe,isPlainObject:Xt},Symbol.toStringTag,{value:"Module"})),a0=["values","unit","step"],i0=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>h({},r,{[n.key]:n.val}),{})};function Zp(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=W(e,a0),a=i0(t),i=Object.keys(a);function l(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r})`}function c(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-n/100}${r})`}function u(p,m){const g=i.indexOf(m);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r}) and (max-width:${(g!==-1&&typeof t[i[g]]=="number"?t[i[g]]:m)-n/100}${r})`}function d(p){return i.indexOf(p)+1`@media (min-width:${Ec[e]}px)`};function jt(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const a=n.breakpoints||Cd;return t.reduce((i,l,c)=>(i[a.up(a.keys[c])]=r(t[c]),i),{})}if(typeof t=="object"){const a=n.breakpoints||Cd;return Object.keys(t).reduce((i,l)=>{if(Object.keys(a.values||Ec).indexOf(l)!==-1){const c=a.up(l);i[c]=r(t[l],l)}else{const c=l;i[c]=t[c]}return i},{})}return r(t)}function em(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const a=e.up(o);return n[a]={},n},{}))||{}}function tm(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function l0(e,...t){const r=em(e),n=[r,...t].reduce((o,a)=>Qe(o,a),{});return tm(Object.keys(r),n)}function c0(e,t){if(typeof e!="object")return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((o,a)=>{a{e[o]!=null&&(r[o]=!0)}),r}function hs({values:e,breakpoints:t,base:r}){const n=r||c0(e,t),o=Object.keys(n);if(o.length===0)return e;let a;return o.reduce((i,l,c)=>(Array.isArray(e)?(i[l]=e[c]!=null?e[c]:e[a],a=c):typeof e=="object"?(i[l]=e[l]!=null?e[l]:e[a],a=l):i[l]=e,i),{})}function z(e){if(typeof e!="string")throw new Error(Qt(7));return e.charAt(0).toUpperCase()+e.slice(1)}const u0=Object.freeze(Object.defineProperty({__proto__:null,default:z},Symbol.toStringTag,{value:"Module"}));function bi(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,a)=>o&&o[a]?o[a]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function xa(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=bi(e,r)||n,t&&(o=t(o,n,e)),o}function Fe(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,a=i=>{if(i[t]==null)return null;const l=i[t],c=i.theme,u=bi(c,n)||{};return jt(i,l,f=>{let p=xa(u,o,f);return f===p&&typeof f=="string"&&(p=xa(u,o,`${t}${f==="default"?"":z(f)}`,f)),r===!1?p:{[r]:p}})};return a.propTypes={},a.filterProps=[t],a}function d0(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const f0={m:"margin",p:"padding"},p0={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},_d={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},m0=d0(e=>{if(e.length>2)if(_d[e])e=_d[e];else return[e];const[t,r]=e.split(""),n=f0[t],o=p0[r]||"";return Array.isArray(o)?o.map(a=>n+a):[n+o]}),Sc=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],$c=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Sc,...$c];function yo(e,t,r,n){var o;const a=(o=bi(e,t,!1))!=null?o:r;return typeof a=="number"?i=>typeof i=="string"?i:a*i:Array.isArray(a)?i=>typeof i=="string"?i:a[i]:typeof a=="function"?a:()=>{}}function Rc(e){return yo(e,"spacing",8)}function Er(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function v0(e,t){return r=>e.reduce((n,o)=>(n[o]=Er(t,r),n),{})}function g0(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=m0(r),a=v0(o,n),i=e[r];return jt(e,i,a)}function rm(e,t){const r=Rc(e.theme);return Object.keys(e).map(n=>g0(e,t,n,r)).reduce(Vn,{})}function Te(e){return rm(e,Sc)}Te.propTypes={};Te.filterProps=Sc;function je(e){return rm(e,$c)}je.propTypes={};je.filterProps=$c;function h0(e=8){if(e.mui)return e;const t=Rc({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(a=>{const i=t(a);return typeof i=="number"?`${i}px`:i}).join(" ");return r.mui=!0,r}function xi(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(a=>{n[a]=o}),n),{}),r=n=>Object.keys(n).reduce((o,a)=>t[a]?Vn(o,t[a](n)):o,{});return r.propTypes={},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function xt(e){return typeof e!="number"?e:`${e}px solid`}function Et(e,t){return Fe({prop:e,themeKey:"borders",transform:t})}const y0=Et("border",xt),b0=Et("borderTop",xt),x0=Et("borderRight",xt),O0=Et("borderBottom",xt),C0=Et("borderLeft",xt),_0=Et("borderColor"),w0=Et("borderTopColor"),P0=Et("borderRightColor"),E0=Et("borderBottomColor"),S0=Et("borderLeftColor"),$0=Et("outline",xt),R0=Et("outlineColor"),Oi=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=yo(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:Er(t,n)});return jt(e,e.borderRadius,r)}return null};Oi.propTypes={};Oi.filterProps=["borderRadius"];xi(y0,b0,x0,O0,C0,_0,w0,P0,E0,S0,Oi,$0,R0);const Ci=e=>{if(e.gap!==void 0&&e.gap!==null){const t=yo(e.theme,"spacing",8),r=n=>({gap:Er(t,n)});return jt(e,e.gap,r)}return null};Ci.propTypes={};Ci.filterProps=["gap"];const _i=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=yo(e.theme,"spacing",8),r=n=>({columnGap:Er(t,n)});return jt(e,e.columnGap,r)}return null};_i.propTypes={};_i.filterProps=["columnGap"];const wi=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=yo(e.theme,"spacing",8),r=n=>({rowGap:Er(t,n)});return jt(e,e.rowGap,r)}return null};wi.propTypes={};wi.filterProps=["rowGap"];const k0=Fe({prop:"gridColumn"}),I0=Fe({prop:"gridRow"}),T0=Fe({prop:"gridAutoFlow"}),j0=Fe({prop:"gridAutoColumns"}),M0=Fe({prop:"gridAutoRows"}),A0=Fe({prop:"gridTemplateColumns"}),N0=Fe({prop:"gridTemplateRows"}),F0=Fe({prop:"gridTemplateAreas"}),B0=Fe({prop:"gridArea"});xi(Ci,_i,wi,k0,I0,T0,j0,M0,A0,N0,F0,B0);function Xr(e,t){return t==="grey"?t:e}const D0=Fe({prop:"color",themeKey:"palette",transform:Xr}),L0=Fe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Xr}),z0=Fe({prop:"backgroundColor",themeKey:"palette",transform:Xr});xi(D0,L0,z0);function mt(e){return e<=1&&e!==0?`${e*100}%`:e}const W0=Fe({prop:"width",transform:mt}),kc=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const a=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Ec[r];return a?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${a}${e.theme.breakpoints.unit}`}:{maxWidth:a}:{maxWidth:mt(r)}};return jt(e,e.maxWidth,t)}return null};kc.filterProps=["maxWidth"];const V0=Fe({prop:"minWidth",transform:mt}),H0=Fe({prop:"height",transform:mt}),U0=Fe({prop:"maxHeight",transform:mt}),q0=Fe({prop:"minHeight",transform:mt});Fe({prop:"size",cssProperty:"width",transform:mt});Fe({prop:"size",cssProperty:"height",transform:mt});const K0=Fe({prop:"boxSizing"});xi(W0,kc,V0,H0,U0,q0,K0);const bo={border:{themeKey:"borders",transform:xt},borderTop:{themeKey:"borders",transform:xt},borderRight:{themeKey:"borders",transform:xt},borderBottom:{themeKey:"borders",transform:xt},borderLeft:{themeKey:"borders",transform:xt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:xt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Oi},color:{themeKey:"palette",transform:Xr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Xr},backgroundColor:{themeKey:"palette",transform:Xr},p:{style:je},pt:{style:je},pr:{style:je},pb:{style:je},pl:{style:je},px:{style:je},py:{style:je},padding:{style:je},paddingTop:{style:je},paddingRight:{style:je},paddingBottom:{style:je},paddingLeft:{style:je},paddingX:{style:je},paddingY:{style:je},paddingInline:{style:je},paddingInlineStart:{style:je},paddingInlineEnd:{style:je},paddingBlock:{style:je},paddingBlockStart:{style:je},paddingBlockEnd:{style:je},m:{style:Te},mt:{style:Te},mr:{style:Te},mb:{style:Te},ml:{style:Te},mx:{style:Te},my:{style:Te},margin:{style:Te},marginTop:{style:Te},marginRight:{style:Te},marginBottom:{style:Te},marginLeft:{style:Te},marginX:{style:Te},marginY:{style:Te},marginInline:{style:Te},marginInlineStart:{style:Te},marginInlineEnd:{style:Te},marginBlock:{style:Te},marginBlockStart:{style:Te},marginBlockEnd:{style:Te},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Ci},rowGap:{style:wi},columnGap:{style:_i},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:mt},maxWidth:{style:kc},minWidth:{transform:mt},height:{transform:mt},maxHeight:{transform:mt},minHeight:{transform:mt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function G0(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function X0(e,t){return typeof e=="function"?e(t):e}function nm(){function e(r,n,o,a){const i={[r]:n,theme:o},l=a[r];if(!l)return{[r]:n};const{cssProperty:c=r,themeKey:u,transform:d,style:f}=l;if(n==null)return null;if(u==="typography"&&n==="inherit")return{[r]:n};const p=bi(o,u)||{};return f?f(i):jt(i,n,g=>{let v=xa(p,d,g);return g===v&&typeof g=="string"&&(v=xa(p,d,`${r}${g==="default"?"":z(g)}`,g)),c===!1?v:{[c]:v}})}function t(r){var n;const{sx:o,theme:a={}}=r||{};if(!o)return null;const i=(n=a.unstable_sxConfig)!=null?n:bo;function l(c){let u=c;if(typeof c=="function")u=c(a);else if(typeof c!="object")return c;if(!u)return null;const d=em(a.breakpoints),f=Object.keys(d);let p=d;return Object.keys(u).forEach(m=>{const g=X0(u[m],a);if(g!=null)if(typeof g=="object")if(i[m])p=Vn(p,e(m,g,a,i));else{const v=jt({theme:a},g,b=>({[m]:b}));G0(v,g)?p[m]=t({sx:g,theme:a}):p=Vn(p,v)}else p=Vn(p,e(m,g,a,i))}),tm(f,p)}return Array.isArray(o)?o.map(l):l(o)}return t}const Cn=nm();Cn.filterProps=["sx"];function om(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const Y0=["breakpoints","palette","spacing","shape"];function xo(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:a={}}=e,i=W(e,Y0),l=Zp(r),c=h0(o);let u=Qe({breakpoints:l,direction:"ltr",components:{},palette:h({mode:"light"},n),spacing:c,shape:h({},s0,a)},i);return u.applyStyles=om,u=t.reduce((d,f)=>Qe(d,f),u),u.unstable_sxConfig=h({},bo,i==null?void 0:i.unstable_sxConfig),u.unstable_sx=function(f){return Cn({sx:f,theme:this})},u}const Q0=Object.freeze(Object.defineProperty({__proto__:null,default:xo,private_createBreakpoints:Zp,unstable_applyStyles:om},Symbol.toStringTag,{value:"Module"}));function J0(e){return Object.keys(e).length===0}function Ic(e=null){const t=s.useContext(ho);return!t||J0(t)?e:t}const Z0=xo();function Pi(e=Z0){return Ic(e)}function e1({styles:e,themeId:t,defaultTheme:r={}}){const n=Pi(r),o=typeof e=="function"?e(t&&n[t]||n):e;return S.jsx(Yp,{styles:o})}const t1=["sx"],r1=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:bo;return Object.keys(e).forEach(a=>{o[a]?n.systemProps[a]=e[a]:n.otherProps[a]=e[a]}),n};function Ei(e){const{sx:t}=e,r=W(e,t1),{systemProps:n,otherProps:o}=r1(r);let a;return Array.isArray(t)?a=[n,...t]:typeof t=="function"?a=(...i)=>{const l=t(...i);return Xt(l)?h({},n,l):n}:a=h({},n,t),h({},o,{sx:a})}const n1=Object.freeze(Object.defineProperty({__proto__:null,default:Cn,extendSxProp:Ei,unstable_createStyleFunctionSx:nm,unstable_defaultSxConfig:bo},Symbol.toStringTag,{value:"Module"})),wd=e=>e,o1=()=>{let e=wd;return{configure(t){e=t},generate(t){return e(t)},reset(){e=wd}}},am=o1();function im(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;tl!=="theme"&&l!=="sx"&&l!=="as"})(Cn);return s.forwardRef(function(c,u){const d=Pi(r),f=Ei(c),{className:p,component:m="div"}=f,g=W(f,a1);return S.jsx(a,h({as:m,ref:u,className:B(p,o?o(n):n),theme:t&&d[t]||d},g))})}const i1={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Z(e,t,r="Mui"){const n=i1[t];return n?`${r}-${n}`:`${am.generate(e)}-${t}`}function ee(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Z(e,o,r)}),n}var sm={exports:{}},we={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Tc=Symbol.for("react.element"),jc=Symbol.for("react.portal"),Si=Symbol.for("react.fragment"),$i=Symbol.for("react.strict_mode"),Ri=Symbol.for("react.profiler"),ki=Symbol.for("react.provider"),Ii=Symbol.for("react.context"),s1=Symbol.for("react.server_context"),Ti=Symbol.for("react.forward_ref"),ji=Symbol.for("react.suspense"),Mi=Symbol.for("react.suspense_list"),Ai=Symbol.for("react.memo"),Ni=Symbol.for("react.lazy"),l1=Symbol.for("react.offscreen"),lm;lm=Symbol.for("react.module.reference");function St(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Tc:switch(e=e.type,e){case Si:case Ri:case $i:case ji:case Mi:return e;default:switch(e=e&&e.$$typeof,e){case s1:case Ii:case Ti:case Ni:case Ai:case ki:return e;default:return t}}case jc:return t}}}we.ContextConsumer=Ii;we.ContextProvider=ki;we.Element=Tc;we.ForwardRef=Ti;we.Fragment=Si;we.Lazy=Ni;we.Memo=Ai;we.Portal=jc;we.Profiler=Ri;we.StrictMode=$i;we.Suspense=ji;we.SuspenseList=Mi;we.isAsyncMode=function(){return!1};we.isConcurrentMode=function(){return!1};we.isContextConsumer=function(e){return St(e)===Ii};we.isContextProvider=function(e){return St(e)===ki};we.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Tc};we.isForwardRef=function(e){return St(e)===Ti};we.isFragment=function(e){return St(e)===Si};we.isLazy=function(e){return St(e)===Ni};we.isMemo=function(e){return St(e)===Ai};we.isPortal=function(e){return St(e)===jc};we.isProfiler=function(e){return St(e)===Ri};we.isStrictMode=function(e){return St(e)===$i};we.isSuspense=function(e){return St(e)===ji};we.isSuspenseList=function(e){return St(e)===Mi};we.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Si||e===Ri||e===$i||e===ji||e===Mi||e===l1||typeof e=="object"&&e!==null&&(e.$$typeof===Ni||e.$$typeof===Ai||e.$$typeof===ki||e.$$typeof===Ii||e.$$typeof===Ti||e.$$typeof===lm||e.getModuleId!==void 0)};we.typeOf=St;sm.exports=we;var Pd=sm.exports;const c1=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function cm(e){const t=`${e}`.match(c1);return t&&t[1]||""}function um(e,t=""){return e.displayName||e.name||cm(e)||t}function Ed(e,t,r){const n=um(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function u1(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return um(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Pd.ForwardRef:return Ed(e,e.render,"ForwardRef");case Pd.Memo:return Ed(e,e.type,"memo");default:return}}}const d1=Object.freeze(Object.defineProperty({__proto__:null,default:u1,getFunctionName:cm},Symbol.toStringTag,{value:"Module"})),f1=["ownerState"],p1=["variants"],m1=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function v1(e){return Object.keys(e).length===0}function g1(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ys(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const h1=xo(),y1=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function No({defaultTheme:e,theme:t,themeId:r}){return v1(t)?e:t[r]||t}function b1(e){return e?(t,r)=>r[e]:null}function Jo(e,t){let{ownerState:r}=t,n=W(t,f1);const o=typeof e=="function"?e(h({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(a=>Jo(a,h({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:a=[]}=o;let l=W(o,p1);return a.forEach(c=>{let u=!0;typeof c.props=="function"?u=c.props(h({ownerState:r},n,r)):Object.keys(c.props).forEach(d=>{(r==null?void 0:r[d])!==c.props[d]&&n[d]!==c.props[d]&&(u=!1)}),u&&(Array.isArray(l)||(l=[l]),l.push(typeof c.style=="function"?c.style(h({ownerState:r},n,r)):c.style))}),l}return o}function x1(e={}){const{themeId:t,defaultTheme:r=h1,rootShouldForwardProp:n=ys,slotShouldForwardProp:o=ys}=e,a=i=>Cn(h({},i,{theme:No(h({},i,{defaultTheme:r,themeId:t}))}));return a.__mui_systemSx=!0,(i,l={})=>{Qp(i,_=>_.filter(P=>!(P!=null&&P.__mui_systemSx)));const{name:c,slot:u,skipVariantsResolver:d,skipSx:f,overridesResolver:p=b1(y1(u))}=l,m=W(l,m1),g=d!==void 0?d:u&&u!=="Root"&&u!=="root"||!1,v=f||!1;let b,O=ys;u==="Root"||u==="root"?O=n:u?O=o:g1(i)&&(O=void 0);const C=Pc(i,h({shouldForwardProp:O,label:b},m)),x=_=>typeof _=="function"&&_.__emotion_real!==_||Xt(_)?P=>Jo(_,h({},P,{theme:No({theme:P.theme,defaultTheme:r,themeId:t})})):_,y=(_,...P)=>{let w=x(_);const E=P?P.map(x):[];c&&p&&E.push(M=>{const T=No(h({},M,{defaultTheme:r,themeId:t}));if(!T.components||!T.components[c]||!T.components[c].styleOverrides)return null;const N=T.components[c].styleOverrides,j={};return Object.entries(N).forEach(([F,A])=>{j[F]=Jo(A,h({},M,{theme:T}))}),p(M,j)}),c&&!g&&E.push(M=>{var T;const N=No(h({},M,{defaultTheme:r,themeId:t})),j=N==null||(T=N.components)==null||(T=T[c])==null?void 0:T.variants;return Jo({variants:j},h({},M,{theme:N}))}),v||E.push(a);const R=E.length-P.length;if(Array.isArray(_)&&R>0){const M=new Array(R).fill("");w=[..._,...M],w.raw=[..._.raw,...M]}const $=C(w,...E);return i.muiName&&($.muiName=i.muiName),$};return C.withConfig&&(y.withConfig=C.withConfig),y}}const O1=x1();function io(e,t){const r=h({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=h({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},a=t[n];r[n]={},!a||!Object.keys(a)?r[n]=o:!o||!Object.keys(o)?r[n]=a:(r[n]=h({},a),Object.keys(o).forEach(i=>{r[n][i]=io(o[i],a[i])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function dm(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:io(t.components[r].defaultProps,n)}function fm({props:e,name:t,defaultTheme:r,themeId:n}){let o=Pi(r);return n&&(o=o[n]||o),dm({theme:o,name:t,props:e})}const Ct=typeof window<"u"?s.useLayoutEffect:s.useEffect;function C1(e,t,r,n,o){const[a,i]=s.useState(()=>o&&r?r(e).matches:n?n(e).matches:t);return Ct(()=>{let l=!0;if(!r)return;const c=r(e),u=()=>{l&&i(c.matches)};return u(),c.addListener(u),()=>{l=!1,c.removeListener(u)}},[e,r]),a}const pm=s.useSyncExternalStore;function _1(e,t,r,n,o){const a=s.useCallback(()=>t,[t]),i=s.useMemo(()=>{if(o&&r)return()=>r(e).matches;if(n!==null){const{matches:d}=n(e);return()=>d}return a},[a,e,n,o,r]),[l,c]=s.useMemo(()=>{if(r===null)return[a,()=>()=>{}];const d=r(e);return[()=>d.matches,f=>(d.addListener(f),()=>{d.removeListener(f)})]},[a,r,e]);return pm(c,l,i)}function dt(e,t={}){const r=Ic(),n=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:o=!1,matchMedia:a=n?window.matchMedia:null,ssrMatchMedia:i=null,noSsr:l=!1}=dm({name:"MuiUseMediaQuery",props:t,theme:r});let c=typeof e=="function"?e(r):e;return c=c.replace(/^@media( ?)/m,""),(pm!==void 0?_1:C1)(c,o,a,i,l)}function mm(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const w1=Object.freeze(Object.defineProperty({__proto__:null,default:mm},Symbol.toStringTag,{value:"Module"}));function vm(e,t=0,r=1){return mm(e,t,r)}function P1(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Mc(e){if(e.type)return e;if(e.charAt(0)==="#")return Mc(P1(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(Qt(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(Qt(10,o))}else n=n.split(",");return n=n.map(a=>parseFloat(a)),{type:r,values:n,colorSpace:o}}function gm(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,a)=>a<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function so(e,t){return e=Mc(e),t=vm(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,gm(e)}function E1(e,t){if(e=Mc(e),t=vm(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return gm(e)}function Hs(...e){return e.reduce((t,r)=>r==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function Fi(e,t=166){let r;function n(...o){const a=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(a,t)}return n.clear=()=>{clearTimeout(r)},n}function S1(e,t){return()=>null}function Zo(e,t){var r,n;return s.isValidElement(e)&&t.indexOf((r=e.type.muiName)!=null?r:(n=e.type)==null||(n=n._payload)==null||(n=n.value)==null?void 0:n.muiName)!==-1}function tt(e){return e&&e.ownerDocument||document}function Ht(e){return tt(e).defaultView||window}function $1(e,t){return()=>null}function Oa(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let Sd=0;function R1(e){const[t,r]=s.useState(e),n=e||t;return s.useEffect(()=>{t==null&&(Sd+=1,r(`mui-${Sd}`))},[t]),n}const $d=Bs.useId;function Oo(e){if($d!==void 0){const t=$d();return e??t}return R1(e)}function k1(e,t,r,n,o){return null}function lo({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=s.useRef(e!==void 0),[a,i]=s.useState(t),l=o?e:a,c=s.useCallback(u=>{o||i(u)},[]);return[l,c]}function Yt(e){const t=s.useRef(e);return Ct(()=>{t.current=e}),s.useRef((...r)=>(0,t.current)(...r)).current}function Me(...e){return s.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{Oa(r,t)})},e)}const Rd={};function I1(e,t){const r=s.useRef(Rd);return r.current===Rd&&(r.current=e(t)),r}const T1=[];function j1(e){s.useEffect(e,T1)}class Co{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Co}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function Ur(){const e=I1(Co.create).current;return j1(e.disposeEffect),e}let Bi=!0,Us=!1;const M1=new Co,A1={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function N1(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&A1[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function F1(e){e.metaKey||e.altKey||e.ctrlKey||(Bi=!0)}function bs(){Bi=!1}function B1(){this.visibilityState==="hidden"&&Us&&(Bi=!0)}function D1(e){e.addEventListener("keydown",F1,!0),e.addEventListener("mousedown",bs,!0),e.addEventListener("pointerdown",bs,!0),e.addEventListener("touchstart",bs,!0),e.addEventListener("visibilitychange",B1,!0)}function L1(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Bi||N1(t)}function Ac(){const e=s.useCallback(o=>{o!=null&&D1(o.ownerDocument)},[]),t=s.useRef(!1);function r(){return t.current?(Us=!0,M1.start(100,()=>{Us=!1}),t.current=!1,!0):!1}function n(o){return L1(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function hm(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function re(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((a,i)=>{if(i){const l=t(i);l!==""&&a.push(l),r&&r[i]&&a.push(r[i])}return a},[]).join(" ")}),n}function Ca(e){return typeof e=="string"}function qr(e,t,r){return e===void 0||Ca(e)?t:h({},t,{ownerState:h({},t.ownerState,r)})}function ym(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function kd(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function bm(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:a}=e;if(!t){const m=B(r==null?void 0:r.className,a,o==null?void 0:o.className,n==null?void 0:n.className),g=h({},r==null?void 0:r.style,o==null?void 0:o.style,n==null?void 0:n.style),v=h({},r,o,n);return m.length>0&&(v.className=m),Object.keys(g).length>0&&(v.style=g),{props:v,internalRef:void 0}}const i=ym(h({},o,n)),l=kd(n),c=kd(o),u=t(i),d=B(u==null?void 0:u.className,r==null?void 0:r.className,a,o==null?void 0:o.className,n==null?void 0:n.className),f=h({},u==null?void 0:u.style,r==null?void 0:r.style,o==null?void 0:o.style,n==null?void 0:n.style),p=h({},u,r,c,l);return d.length>0&&(p.className=d),Object.keys(f).length>0&&(p.style=f),{props:p,internalRef:u.ref}}function xm(e,t,r){return typeof e=="function"?e(t,r):e}const z1=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Sr(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:a=!1}=e,i=W(e,z1),l=a?{}:xm(n,o),{props:c,internalRef:u}=bm(h({},i,{externalSlotProps:l})),d=Me(u,l==null?void 0:l.ref,(t=e.additionalProps)==null?void 0:t.ref);return qr(r,h({},c,{ref:d}),o)}const Om=s.createContext(null);function Cm(){return s.useContext(Om)}const W1=typeof Symbol=="function"&&Symbol.for,V1=W1?Symbol.for("mui.nested"):"__THEME_NESTED__";function H1(e,t){return typeof t=="function"?t(e):h({},e,t)}function U1(e){const{children:t,theme:r}=e,n=Cm(),o=s.useMemo(()=>{const a=n===null?r:H1(n,r);return a!=null&&(a[V1]=n!==null),a},[r,n]);return S.jsx(Om.Provider,{value:o,children:t})}const q1=["value"],_m=s.createContext();function K1(e){let{value:t}=e,r=W(e,q1);return S.jsx(_m.Provider,h({value:t??!0},r))}const wm=()=>{const e=s.useContext(_m);return e??!1},Pm=s.createContext(void 0);function G1({value:e,children:t}){return S.jsx(Pm.Provider,{value:e,children:t})}function X1(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?io(o.defaultProps,n):!o.styleOverrides&&!o.variants?io(o,n):n}function Y1({props:e,name:t}){const r=s.useContext(Pm);return X1({props:e,name:t,theme:{components:r}})}const Id={};function Td(e,t,r,n=!1){return s.useMemo(()=>{const o=e&&t[e]||t;if(typeof r=="function"){const a=r(o),i=e?h({},t,{[e]:a}):a;return n?()=>i:i}return e?h({},t,{[e]:r}):h({},t,r)},[e,t,r,n])}function Q1(e){const{children:t,theme:r,themeId:n}=e,o=Ic(Id),a=Cm()||Id,i=Td(n,o,r),l=Td(n,a,r,!0),c=i.direction==="rtl";return S.jsx(U1,{theme:l,children:S.jsx(ho.Provider,{value:i,children:S.jsx(K1,{value:c,children:S.jsx(G1,{value:i==null?void 0:i.components,children:t})})})})}const J1=["component","direction","spacing","divider","children","className","useFlexGap"],Z1=xo(),ex=O1("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function tx(e){return fm({props:e,name:"MuiStack",defaultTheme:Z1})}function rx(e,t){const r=s.Children.toArray(e).filter(Boolean);return r.reduce((n,o,a)=>(n.push(o),a({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],ox=({ownerState:e,theme:t})=>{let r=h({display:"flex",flexDirection:"column"},jt({theme:t},hs({values:e.direction,breakpoints:t.breakpoints.values}),n=>({flexDirection:n})));if(e.spacing){const n=Rc(t),o=Object.keys(t.breakpoints.values).reduce((c,u)=>((typeof e.spacing=="object"&&e.spacing[u]!=null||typeof e.direction=="object"&&e.direction[u]!=null)&&(c[u]=!0),c),{}),a=hs({values:e.direction,base:o}),i=hs({values:e.spacing,base:o});typeof a=="object"&&Object.keys(a).forEach((c,u,d)=>{if(!a[c]){const p=u>0?a[d[u-1]]:"column";a[c]=p}}),r=Qe(r,jt({theme:t},i,(c,u)=>e.useFlexGap?{gap:Er(n,c)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${nx(u?a[u]:e.direction)}`]:Er(n,c)}}))}return r=l0(t.breakpoints,r),r};function ax(e={}){const{createStyledComponent:t=ex,useThemeProps:r=tx,componentName:n="MuiStack"}=e,o=()=>re({root:["root"]},c=>Z(n,c),{}),a=t(ox);return s.forwardRef(function(c,u){const d=r(c),f=Ei(d),{component:p="div",direction:m="column",spacing:g=0,divider:v,children:b,className:O,useFlexGap:C=!1}=f,x=W(f,J1),y={direction:m,spacing:g,useFlexGap:C},_=o();return S.jsx(a,h({as:p,ownerState:y,ref:u,className:B(_.root,O)},x,{children:v?rx(b,v):b}))})}function ix(e,t){return h({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Be={},Em={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Em);var ve=Em.exports;const sx=Zt(Yy),lx=Zt(w1);var Sm=ve;Object.defineProperty(Be,"__esModule",{value:!0});var Se=Be.alpha=jm;Be.blend=bx;Be.colorChannel=void 0;var $m=Be.darken=Fc;Be.decomposeColor=_t;var IN=Be.emphasize=Mm,cx=Be.getContrastRatio=mx;Be.getLuminance=_a;Be.hexToRgb=km;Be.hslToRgb=Tm;var Rm=Be.lighten=Bc;Be.private_safeAlpha=vx;Be.private_safeColorChannel=void 0;Be.private_safeDarken=gx;Be.private_safeEmphasize=yx;Be.private_safeLighten=hx;Be.recomposeColor=_n;Be.rgbToHex=px;var jd=Sm(sx),ux=Sm(lx);function Nc(e,t=0,r=1){return(0,ux.default)(e,t,r)}function km(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function dx(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function _t(e){if(e.type)return e;if(e.charAt(0)==="#")return _t(km(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error((0,jd.default)(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,jd.default)(10,o))}else n=n.split(",");return n=n.map(a=>parseFloat(a)),{type:r,values:n,colorSpace:o}}const Im=e=>{const t=_t(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};Be.colorChannel=Im;const fx=(e,t)=>{try{return Im(e)}catch{return e}};Be.private_safeColorChannel=fx;function _n(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,a)=>a<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function px(e){if(e.indexOf("#")===0)return e;const{values:t}=_t(e);return`#${t.map((r,n)=>dx(n===3?Math.round(255*r):r)).join("")}`}function Tm(e){e=_t(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),i=(u,d=(u+r/30)%12)=>o-a*Math.max(Math.min(d-3,9-d,1),-1);let l="rgb";const c=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(l+="a",c.push(t[3])),_n({type:l,values:c})}function _a(e){e=_t(e);let t=e.type==="hsl"||e.type==="hsla"?_t(Tm(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function mx(e,t){const r=_a(e),n=_a(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function jm(e,t){return e=_t(e),t=Nc(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,_n(e)}function vx(e,t,r){try{return jm(e,t)}catch{return e}}function Fc(e,t){if(e=_t(e),t=Nc(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return _n(e)}function gx(e,t,r){try{return Fc(e,t)}catch{return e}}function Bc(e,t){if(e=_t(e),t=Nc(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return _n(e)}function hx(e,t,r){try{return Bc(e,t)}catch{return e}}function Mm(e,t=.15){return _a(e)>.5?Fc(e,t):Bc(e,t)}function yx(e,t,r){try{return Mm(e,t)}catch{return e}}function bx(e,t,r,n=1){const o=(c,u)=>Math.round((c**(1/n)*(1-r)+u**(1/n)*r)**n),a=_t(e),i=_t(t),l=[o(a.values[0],i.values[0]),o(a.values[1],i.values[1]),o(a.values[2],i.values[2])];return _n({type:"rgb",values:l})}const xx=["mode","contrastThreshold","tonalOffset"],Md={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ro.white,default:ro.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},xs={text:{primary:ro.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:ro.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Ad(e,t,r,n){const o=n.light||n,a=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Rm(e.main,o):t==="dark"&&(e.dark=$m(e.main,a)))}function Ox(e="light"){return e==="dark"?{main:Ar[200],light:Ar[50],dark:Ar[400]}:{main:Ar[700],light:Ar[400],dark:Ar[800]}}function Cx(e="light"){return e==="dark"?{main:Mr[200],light:Mr[50],dark:Mr[400]}:{main:Mr[500],light:Mr[300],dark:Mr[700]}}function _x(e="light"){return e==="dark"?{main:jr[500],light:jr[300],dark:jr[700]}:{main:jr[700],light:jr[400],dark:jr[800]}}function wx(e="light"){return e==="dark"?{main:Nr[400],light:Nr[300],dark:Nr[700]}:{main:Nr[700],light:Nr[500],dark:Nr[900]}}function Px(e="light"){return e==="dark"?{main:Fr[400],light:Fr[300],dark:Fr[700]}:{main:Fr[800],light:Fr[500],dark:Fr[900]}}function Ex(e="light"){return e==="dark"?{main:In[400],light:In[300],dark:In[700]}:{main:"#ed6c02",light:In[500],dark:In[900]}}function Sx(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=W(e,xx),a=e.primary||Ox(t),i=e.secondary||Cx(t),l=e.error||_x(t),c=e.info||wx(t),u=e.success||Px(t),d=e.warning||Ex(t);function f(v){return cx(v,xs.text.primary)>=r?xs.text.primary:Md.text.primary}const p=({color:v,name:b,mainShade:O=500,lightShade:C=300,darkShade:x=700})=>{if(v=h({},v),!v.main&&v[O]&&(v.main=v[O]),!v.hasOwnProperty("main"))throw new Error(Qt(11,b?` (${b})`:"",O));if(typeof v.main!="string")throw new Error(Qt(12,b?` (${b})`:"",JSON.stringify(v.main)));return Ad(v,"light",C,n),Ad(v,"dark",x,n),v.contrastText||(v.contrastText=f(v.main)),v},m={dark:xs,light:Md};return Qe(h({common:h({},ro),mode:t,primary:p({color:a,name:"primary"}),secondary:p({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:c,name:"info"}),success:p({color:u,name:"success"}),grey:Xy,contrastThreshold:r,getContrastText:f,augmentColor:p,tonalOffset:n},m[t]),o)}const $x=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Rx(e){return Math.round(e*1e5)/1e5}const Nd={textTransform:"uppercase"},Fd='"Roboto", "Helvetica", "Arial", sans-serif';function kx(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=Fd,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:l=500,fontWeightBold:c=700,htmlFontSize:u=16,allVariants:d,pxToRem:f}=r,p=W(r,$x),m=o/14,g=f||(O=>`${O/u*m}rem`),v=(O,C,x,y,_)=>h({fontFamily:n,fontWeight:O,fontSize:g(C),lineHeight:x},n===Fd?{letterSpacing:`${Rx(y/C)}em`}:{},_,d),b={h1:v(a,96,1.167,-1.5),h2:v(a,60,1.2,-.5),h3:v(i,48,1.167,0),h4:v(i,34,1.235,.25),h5:v(i,24,1.334,0),h6:v(l,20,1.6,.15),subtitle1:v(i,16,1.75,.15),subtitle2:v(l,14,1.57,.1),body1:v(i,16,1.5,.15),body2:v(i,14,1.43,.15),button:v(l,14,1.75,.4,Nd),caption:v(i,12,1.66,.4),overline:v(i,12,2.66,1,Nd),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Qe(h({htmlFontSize:u,pxToRem:g,fontFamily:n,fontSize:o,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:l,fontWeightBold:c},b),p,{clone:!1})}const Ix=.2,Tx=.14,jx=.12;function ke(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Ix})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Tx})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${jx})`].join(",")}const Mx=["none",ke(0,2,1,-1,0,1,1,0,0,1,3,0),ke(0,3,1,-2,0,2,2,0,0,1,5,0),ke(0,3,3,-2,0,3,4,0,0,1,8,0),ke(0,2,4,-1,0,4,5,0,0,1,10,0),ke(0,3,5,-1,0,5,8,0,0,1,14,0),ke(0,3,5,-1,0,6,10,0,0,1,18,0),ke(0,4,5,-2,0,7,10,1,0,2,16,1),ke(0,5,5,-3,0,8,10,1,0,3,14,2),ke(0,5,6,-3,0,9,12,1,0,3,16,2),ke(0,6,6,-3,0,10,14,1,0,4,18,3),ke(0,6,7,-4,0,11,15,1,0,4,20,3),ke(0,7,8,-4,0,12,17,2,0,5,22,4),ke(0,7,8,-4,0,13,19,2,0,5,24,4),ke(0,7,9,-4,0,14,21,2,0,5,26,4),ke(0,8,9,-5,0,15,22,2,0,6,28,5),ke(0,8,10,-5,0,16,24,2,0,6,30,5),ke(0,8,11,-5,0,17,26,2,0,6,32,5),ke(0,9,11,-5,0,18,28,2,0,7,34,6),ke(0,9,12,-6,0,19,29,2,0,7,36,6),ke(0,10,13,-6,0,20,31,3,0,8,38,7),ke(0,10,13,-6,0,21,33,3,0,8,40,7),ke(0,10,14,-6,0,22,35,3,0,8,42,7),ke(0,11,14,-7,0,23,36,3,0,9,44,8),ke(0,11,15,-7,0,24,38,3,0,9,46,8)],Ax=["duration","easing","delay"],Nx={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Fx={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Bd(e){return`${Math.round(e)}ms`}function Bx(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Dx(e){const t=h({},Nx,e.easing),r=h({},Fx,e.duration);return h({getAutoHeightDuration:Bx,create:(o=["all"],a={})=>{const{duration:i=r.standard,easing:l=t.easeInOut,delay:c=0}=a;return W(a,Ax),(Array.isArray(o)?o:[o]).map(u=>`${u} ${typeof i=="string"?i:Bd(i)} ${l} ${typeof c=="string"?c:Bd(c)}`).join(",")}},e,{easing:t,duration:r})}const Lx={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},zx=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function qs(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:a={}}=e,i=W(e,zx);if(e.vars)throw new Error(Qt(18));const l=Sx(n),c=xo(e);let u=Qe(c,{mixins:ix(c.breakpoints,r),palette:l,shadows:Mx.slice(),typography:kx(l,a),transitions:Dx(o),zIndex:h({},Lx)});return u=Qe(u,i),u=t.reduce((d,f)=>Qe(d,f),u),u.unstable_sxConfig=h({},bo,i==null?void 0:i.unstable_sxConfig),u.unstable_sx=function(f){return Cn({sx:f,theme:this})},u}const Di=qs();function Rr(){const e=Pi(Di);return e[cn]||e}function Wx({props:e,name:t}){return fm({props:e,name:t,defaultTheme:Di,themeId:cn})}var _o={},Os={exports:{}},Dd;function Vx(){return Dd||(Dd=1,function(e){function t(r,n){if(r==null)return{};var o={};for(var a in r)if({}.hasOwnProperty.call(r,a)){if(n.includes(a))continue;o[a]=r[a]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Os)),Os.exports}const Am=Zt(n0),Hx=Zt(o0),Ux=Zt(u0),qx=Zt(d1),Kx=Zt(Q0),Gx=Zt(n1);var wn=ve;Object.defineProperty(_o,"__esModule",{value:!0});var Xx=_o.default=lO;_o.shouldForwardProp=ea;_o.systemDefaultTheme=void 0;var yt=wn(Xp()),Ks=wn(Vx()),Ld=rO(Am),Yx=Hx;wn(Ux);wn(qx);var Qx=wn(Kx),Jx=wn(Gx);const Zx=["ownerState"],eO=["variants"],tO=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Nm(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Nm=function(n){return n?r:t})(e)}function rO(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Nm(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}function nO(e){return Object.keys(e).length===0}function oO(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ea(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const aO=_o.systemDefaultTheme=(0,Qx.default)(),iO=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Fo({defaultTheme:e,theme:t,themeId:r}){return nO(t)?e:t[r]||t}function sO(e){return e?(t,r)=>r[e]:null}function ta(e,t){let{ownerState:r}=t,n=(0,Ks.default)(t,Zx);const o=typeof e=="function"?e((0,yt.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(a=>ta(a,(0,yt.default)({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:a=[]}=o;let l=(0,Ks.default)(o,eO);return a.forEach(c=>{let u=!0;typeof c.props=="function"?u=c.props((0,yt.default)({ownerState:r},n,r)):Object.keys(c.props).forEach(d=>{(r==null?void 0:r[d])!==c.props[d]&&n[d]!==c.props[d]&&(u=!1)}),u&&(Array.isArray(l)||(l=[l]),l.push(typeof c.style=="function"?c.style((0,yt.default)({ownerState:r},n,r)):c.style))}),l}return o}function lO(e={}){const{themeId:t,defaultTheme:r=aO,rootShouldForwardProp:n=ea,slotShouldForwardProp:o=ea}=e,a=i=>(0,Jx.default)((0,yt.default)({},i,{theme:Fo((0,yt.default)({},i,{defaultTheme:r,themeId:t}))}));return a.__mui_systemSx=!0,(i,l={})=>{(0,Ld.internal_processStyles)(i,_=>_.filter(P=>!(P!=null&&P.__mui_systemSx)));const{name:c,slot:u,skipVariantsResolver:d,skipSx:f,overridesResolver:p=sO(iO(u))}=l,m=(0,Ks.default)(l,tO),g=d!==void 0?d:u&&u!=="Root"&&u!=="root"||!1,v=f||!1;let b,O=ea;u==="Root"||u==="root"?O=n:u?O=o:oO(i)&&(O=void 0);const C=(0,Ld.default)(i,(0,yt.default)({shouldForwardProp:O,label:b},m)),x=_=>typeof _=="function"&&_.__emotion_real!==_||(0,Yx.isPlainObject)(_)?P=>ta(_,(0,yt.default)({},P,{theme:Fo({theme:P.theme,defaultTheme:r,themeId:t})})):_,y=(_,...P)=>{let w=x(_);const E=P?P.map(x):[];c&&p&&E.push(M=>{const T=Fo((0,yt.default)({},M,{defaultTheme:r,themeId:t}));if(!T.components||!T.components[c]||!T.components[c].styleOverrides)return null;const N=T.components[c].styleOverrides,j={};return Object.entries(N).forEach(([F,A])=>{j[F]=ta(A,(0,yt.default)({},M,{theme:T}))}),p(M,j)}),c&&!g&&E.push(M=>{var T;const N=Fo((0,yt.default)({},M,{defaultTheme:r,themeId:t})),j=N==null||(T=N.components)==null||(T=T[c])==null?void 0:T.variants;return ta({variants:j},(0,yt.default)({},M,{theme:N}))}),v||E.push(a);const R=E.length-P.length;if(Array.isArray(_)&&R>0){const M=new Array(R).fill("");w=[..._,...M],w.raw=[..._.raw,...M]}const $=C(w,...E);return i.muiName&&($.muiName=i.muiName),$};return C.withConfig&&(y.withConfig=C.withConfig),y}}function Fm(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ot=e=>Fm(e)&&e!=="classes",I=Xx({themeId:cn,defaultTheme:Di,rootShouldForwardProp:ot}),cO=["theme"];function uO(e){let{theme:t}=e,r=W(e,cO);const n=t[cn];return S.jsx(Q1,h({},r,{themeId:n?cn:void 0,theme:n||t}))}const zd=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function oe(e){return Y1(e)}function dO(e){return Z("MuiSvgIcon",e)}ee("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const fO=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],pO=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${z(t)}`,`fontSize${z(r)}`]};return re(o,dO,n)},mO=I("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${z(r.color)}`],t[`fontSize${z(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,a,i,l,c,u,d,f,p,m,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((a=e.typography)==null||(i=a.pxToRem)==null?void 0:i.call(a,20))||"1.25rem",medium:((l=e.typography)==null||(c=l.pxToRem)==null?void 0:c.call(l,24))||"1.5rem",large:((u=e.typography)==null||(d=u.pxToRem)==null?void 0:d.call(u,35))||"2.1875rem"}[t.fontSize],color:(f=(p=(e.vars||e).palette)==null||(p=p[t.color])==null?void 0:p.main)!=null?f:{action:(m=(e.vars||e).palette)==null||(m=m.action)==null?void 0:m.active,disabled:(g=(e.vars||e).palette)==null||(g=g.action)==null?void 0:g.disabled,inherit:void 0}[t.color]}}),Gs=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiSvgIcon"}),{children:o,className:a,color:i="inherit",component:l="svg",fontSize:c="medium",htmlColor:u,inheritViewBox:d=!1,titleAccess:f,viewBox:p="0 0 24 24"}=n,m=W(n,fO),g=s.isValidElement(o)&&o.type==="svg",v=h({},n,{color:i,component:l,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:d,viewBox:p,hasSvgAsChild:g}),b={};d||(b.viewBox=p);const O=pO(v);return S.jsxs(mO,h({as:l,className:B(O.root,a),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:r},b,m,g&&o.props,{ownerState:v,children:[g?o.props.children:o,f?S.jsx("title",{children:f}):null]}))});Gs.muiName="SvgIcon";function er(e,t){function r(n,o){return S.jsx(Gs,h({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return r.muiName=Gs.muiName,s.memo(s.forwardRef(r))}const vO={configure:e=>{am.configure(e)}},gO=Object.freeze(Object.defineProperty({__proto__:null,capitalize:z,createChainedFunction:Hs,createSvgIcon:er,debounce:Fi,deprecatedPropType:S1,isMuiElement:Zo,ownerDocument:tt,ownerWindow:Ht,requirePropFactory:$1,setRef:Oa,unstable_ClassNameGenerator:vO,unstable_useEnhancedEffect:Ct,unstable_useId:Oo,unsupportedProp:k1,useControlled:lo,useEventCallback:Yt,useForkRef:Me,useIsFocusVisible:Ac},Symbol.toStringTag,{value:"Module"}));var Ee={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Dc=Symbol.for("react.element"),Lc=Symbol.for("react.portal"),Li=Symbol.for("react.fragment"),zi=Symbol.for("react.strict_mode"),Wi=Symbol.for("react.profiler"),Vi=Symbol.for("react.provider"),Hi=Symbol.for("react.context"),hO=Symbol.for("react.server_context"),Ui=Symbol.for("react.forward_ref"),qi=Symbol.for("react.suspense"),Ki=Symbol.for("react.suspense_list"),Gi=Symbol.for("react.memo"),Xi=Symbol.for("react.lazy"),yO=Symbol.for("react.offscreen"),Bm;Bm=Symbol.for("react.module.reference");function $t(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Dc:switch(e=e.type,e){case Li:case Wi:case zi:case qi:case Ki:return e;default:switch(e=e&&e.$$typeof,e){case hO:case Hi:case Ui:case Xi:case Gi:case Vi:return e;default:return t}}case Lc:return t}}}Ee.ContextConsumer=Hi;Ee.ContextProvider=Vi;Ee.Element=Dc;Ee.ForwardRef=Ui;Ee.Fragment=Li;Ee.Lazy=Xi;Ee.Memo=Gi;Ee.Portal=Lc;Ee.Profiler=Wi;Ee.StrictMode=zi;Ee.Suspense=qi;Ee.SuspenseList=Ki;Ee.isAsyncMode=function(){return!1};Ee.isConcurrentMode=function(){return!1};Ee.isContextConsumer=function(e){return $t(e)===Hi};Ee.isContextProvider=function(e){return $t(e)===Vi};Ee.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Dc};Ee.isForwardRef=function(e){return $t(e)===Ui};Ee.isFragment=function(e){return $t(e)===Li};Ee.isLazy=function(e){return $t(e)===Xi};Ee.isMemo=function(e){return $t(e)===Gi};Ee.isPortal=function(e){return $t(e)===Lc};Ee.isProfiler=function(e){return $t(e)===Wi};Ee.isStrictMode=function(e){return $t(e)===zi};Ee.isSuspense=function(e){return $t(e)===qi};Ee.isSuspenseList=function(e){return $t(e)===Ki};Ee.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Li||e===Wi||e===zi||e===qi||e===Ki||e===yO||typeof e=="object"&&e!==null&&(e.$$typeof===Xi||e.$$typeof===Gi||e.$$typeof===Vi||e.$$typeof===Hi||e.$$typeof===Ui||e.$$typeof===Bm||e.getModuleId!==void 0)};Ee.typeOf=$t;function Xs(e,t){return Xs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Xs(e,t)}function Dm(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Xs(e,t)}const Wd={disabled:!1},wa=Y.createContext(null);var bO=function(t){return t.scrollTop},zn="unmounted",mr="exited",vr="entering",zr="entered",Ys="exiting",At=function(e){Dm(t,e);function t(n,o){var a;a=e.call(this,n,o)||this;var i=o,l=i&&!i.isMounting?n.enter:n.appear,c;return a.appearStatus=null,n.in?l?(c=mr,a.appearStatus=vr):c=zr:n.unmountOnExit||n.mountOnEnter?c=zn:c=mr,a.state={status:c},a.nextCallback=null,a}t.getDerivedStateFromProps=function(o,a){var i=o.in;return i&&a.status===zn?{status:mr}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var a=null;if(o!==this.props){var i=this.state.status;this.props.in?i!==vr&&i!==zr&&(a=vr):(i===vr||i===zr)&&(a=Ys)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,a,i,l;return a=i=l=o,o!=null&&typeof o!="number"&&(a=o.exit,i=o.enter,l=o.appear!==void 0?o.appear:i),{exit:a,enter:i,appear:l}},r.updateStatus=function(o,a){if(o===void 0&&(o=!1),a!==null)if(this.cancelNextCallback(),a===vr){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Mo.findDOMNode(this);i&&bO(i)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===mr&&this.setState({status:zn})},r.performEnter=function(o){var a=this,i=this.props.enter,l=this.context?this.context.isMounting:o,c=this.props.nodeRef?[l]:[Mo.findDOMNode(this),l],u=c[0],d=c[1],f=this.getTimeouts(),p=l?f.appear:f.enter;if(!o&&!i||Wd.disabled){this.safeSetState({status:zr},function(){a.props.onEntered(u)});return}this.props.onEnter(u,d),this.safeSetState({status:vr},function(){a.props.onEntering(u,d),a.onTransitionEnd(p,function(){a.safeSetState({status:zr},function(){a.props.onEntered(u,d)})})})},r.performExit=function(){var o=this,a=this.props.exit,i=this.getTimeouts(),l=this.props.nodeRef?void 0:Mo.findDOMNode(this);if(!a||Wd.disabled){this.safeSetState({status:mr},function(){o.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Ys},function(){o.props.onExiting(l),o.onTransitionEnd(i.exit,function(){o.safeSetState({status:mr},function(){o.props.onExited(l)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,a){a=this.setNextCallback(a),this.setState(o,a)},r.setNextCallback=function(o){var a=this,i=!0;return this.nextCallback=function(l){i&&(i=!1,a.nextCallback=null,o(l))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},r.onTransitionEnd=function(o,a){this.setNextCallback(a);var i=this.props.nodeRef?this.props.nodeRef.current:Mo.findDOMNode(this),l=o==null&&!this.props.addEndListener;if(!i||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],u=c[0],d=c[1];this.props.addEndListener(u,d)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===zn)return null;var a=this.props,i=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var l=W(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Y.createElement(wa.Provider,{value:null},typeof i=="function"?i(o,l):Y.cloneElement(Y.Children.only(i),l))},t}(Y.Component);At.contextType=wa;At.propTypes={};function Br(){}At.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Br,onEntering:Br,onEntered:Br,onExit:Br,onExiting:Br,onExited:Br};At.UNMOUNTED=zn;At.EXITED=mr;At.ENTERING=vr;At.ENTERED=zr;At.EXITING=Ys;function xO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zc(e,t){var r=function(a){return t&&s.isValidElement(a)?t(a):a},n=Object.create(null);return e&&s.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function OO(e,t){e=e||{},t=t||{};function r(d){return d in t?t[d]:e[d]}var n=Object.create(null),o=[];for(var a in e)a in t?o.length&&(n[a]=o,o=[]):o.push(a);var i,l={};for(var c in t){if(n[c])for(i=0;ie.scrollTop;function dn(e,t){var r,n;const{timeout:o,easing:a,style:i={}}=e;return{duration:(r=i.transitionDuration)!=null?r:typeof o=="number"?o:o[t.mode]||0,easing:(n=i.transitionTimingFunction)!=null?n:typeof a=="object"?a[t.mode]:a,delay:i.transitionDelay}}function EO(e){return Z("MuiPaper",e)}ee("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const SO=["className","component","elevation","square","variant"],$O=e=>{const{square:t,elevation:r,variant:n,classes:o}=e,a={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return re(a,EO,o)},RO=I("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(({theme:e,ownerState:t})=>{var r;return h({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&h({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Se("#fff",zd(t.elevation))}, ${Se("#fff",zd(t.elevation))})`},e.vars&&{backgroundImage:(r=e.vars.overlays)==null?void 0:r[t.elevation]}))}),Pn=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiPaper"}),{className:o,component:a="div",elevation:i=1,square:l=!1,variant:c="elevation"}=n,u=W(n,SO),d=h({},n,{component:a,elevation:i,square:l,variant:c}),f=$O(d);return S.jsx(RO,h({as:a,ownerState:d,className:B(f.root,o),ref:r},u))}),kO=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],IO=["component","slots","slotProps"],TO=["component"];function jO(e,t){const{className:r,elementType:n,ownerState:o,externalForwardedProps:a,getSlotOwnerState:i,internalForwardedProps:l}=t,c=W(t,kO),{component:u,slots:d={[e]:void 0},slotProps:f={[e]:void 0}}=a;W(a,IO);const p=d[e]||n,m=xm(f[e],o),g=bm(h({className:r},c,{externalForwardedProps:void 0,externalSlotProps:m})),{props:{component:v},internalRef:b}=g,O=W(g.props,TO),C=Me(b,m==null?void 0:m.ref,t.ref),x=i?i(O):{},y=h({},o,x),_=v,P=qr(p,h({},e==="root",!d[e]&&l,O,_&&{as:_},{ref:C}),y);return Object.keys(x).forEach(w=>{delete P[w]}),[p,P]}function MO(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:a,rippleSize:i,in:l,onExited:c,timeout:u}=e,[d,f]=s.useState(!1),p=B(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),m={width:i,height:i,top:-(i/2)+a,left:-(i/2)+o},g=B(r.child,d&&r.childLeaving,n&&r.childPulsate);return!l&&!d&&f(!0),s.useEffect(()=>{if(!l&&c!=null){const v=setTimeout(c,u);return()=>{clearTimeout(v)}}},[c,l,u]),S.jsx("span",{className:p,style:m,children:S.jsx("span",{className:g})})}const bt=ee("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),AO=["center","classes","className"];let Yi=e=>e,Vd,Hd,Ud,qd;const Qs=550,NO=80,FO=On(Vd||(Vd=Yi` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),BO=On(Hd||(Hd=Yi` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),DO=On(Ud||(Ud=Yi` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),LO=I("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),zO=I(MO,{name:"MuiTouchRipple",slot:"Ripple"})(qd||(qd=Yi` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),bt.rippleVisible,FO,Qs,({theme:e})=>e.transitions.easing.easeInOut,bt.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,bt.child,bt.childLeaving,BO,Qs,({theme:e})=>e.transitions.easing.easeInOut,bt.childPulsate,DO,({theme:e})=>e.transitions.easing.easeInOut),WO=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:a={},className:i}=n,l=W(n,AO),[c,u]=s.useState([]),d=s.useRef(0),f=s.useRef(null);s.useEffect(()=>{f.current&&(f.current(),f.current=null)},[c]);const p=s.useRef(!1),m=Ur(),g=s.useRef(null),v=s.useRef(null),b=s.useCallback(y=>{const{pulsate:_,rippleX:P,rippleY:w,rippleSize:E,cb:R}=y;u($=>[...$,S.jsx(zO,{classes:{ripple:B(a.ripple,bt.ripple),rippleVisible:B(a.rippleVisible,bt.rippleVisible),ripplePulsate:B(a.ripplePulsate,bt.ripplePulsate),child:B(a.child,bt.child),childLeaving:B(a.childLeaving,bt.childLeaving),childPulsate:B(a.childPulsate,bt.childPulsate)},timeout:Qs,pulsate:_,rippleX:P,rippleY:w,rippleSize:E},d.current)]),d.current+=1,f.current=R},[a]),O=s.useCallback((y={},_={},P=()=>{})=>{const{pulsate:w=!1,center:E=o||_.pulsate,fakeElement:R=!1}=_;if((y==null?void 0:y.type)==="mousedown"&&p.current){p.current=!1;return}(y==null?void 0:y.type)==="touchstart"&&(p.current=!0);const $=R?null:v.current,M=$?$.getBoundingClientRect():{width:0,height:0,left:0,top:0};let T,N,j;if(E||y===void 0||y.clientX===0&&y.clientY===0||!y.clientX&&!y.touches)T=Math.round(M.width/2),N=Math.round(M.height/2);else{const{clientX:F,clientY:A}=y.touches&&y.touches.length>0?y.touches[0]:y;T=Math.round(F-M.left),N=Math.round(A-M.top)}if(E)j=Math.sqrt((2*M.width**2+M.height**2)/3),j%2===0&&(j+=1);else{const F=Math.max(Math.abs(($?$.clientWidth:0)-T),T)*2+2,A=Math.max(Math.abs(($?$.clientHeight:0)-N),N)*2+2;j=Math.sqrt(F**2+A**2)}y!=null&&y.touches?g.current===null&&(g.current=()=>{b({pulsate:w,rippleX:T,rippleY:N,rippleSize:j,cb:P})},m.start(NO,()=>{g.current&&(g.current(),g.current=null)})):b({pulsate:w,rippleX:T,rippleY:N,rippleSize:j,cb:P})},[o,b,m]),C=s.useCallback(()=>{O({},{pulsate:!0})},[O]),x=s.useCallback((y,_)=>{if(m.clear(),(y==null?void 0:y.type)==="touchend"&&g.current){g.current(),g.current=null,m.start(0,()=>{x(y,_)});return}g.current=null,u(P=>P.length>0?P.slice(1):P),f.current=_},[m]);return s.useImperativeHandle(r,()=>({pulsate:C,start:O,stop:x}),[C,O,x]),S.jsx(LO,h({className:B(bt.root,a.root,i),ref:v},l,{children:S.jsx(Wc,{component:null,exit:!0,children:c})}))});function VO(e){return Z("MuiButtonBase",e)}const HO=ee("MuiButtonBase",["root","disabled","focusVisible"]),UO=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],qO=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=re({root:["root",t&&"disabled",r&&"focusVisible"]},VO,o);return r&&n&&(i.root+=` ${n}`),i},KO=I("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${HO.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),fn=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:a=!1,children:i,className:l,component:c="button",disabled:u=!1,disableRipple:d=!1,disableTouchRipple:f=!1,focusRipple:p=!1,LinkComponent:m="a",onBlur:g,onClick:v,onContextMenu:b,onDragLeave:O,onFocus:C,onFocusVisible:x,onKeyDown:y,onKeyUp:_,onMouseDown:P,onMouseLeave:w,onMouseUp:E,onTouchEnd:R,onTouchMove:$,onTouchStart:M,tabIndex:T=0,TouchRippleProps:N,touchRippleRef:j,type:F}=n,A=W(n,UO),D=s.useRef(null),k=s.useRef(null),L=Me(k,j),{isFocusVisibleRef:V,onFocus:U,onBlur:ie,ref:se}=Ac(),[G,H]=s.useState(!1);u&&G&&H(!1),s.useImperativeHandle(o,()=>({focusVisible:()=>{H(!0),D.current.focus()}}),[]);const[Q,fe]=s.useState(!1);s.useEffect(()=>{fe(!0)},[]);const ne=Q&&!d&&!u;s.useEffect(()=>{G&&p&&!d&&Q&&k.current.pulsate()},[d,p,G,Q]);function le(X,ze,qt=f){return Yt(Rt=>(ze&&ze(Rt),!qt&&k.current&&k.current[X](Rt),!0))}const $e=le("start",P),J=le("stop",b),ge=le("stop",O),te=le("stop",E),pe=le("stop",X=>{G&&X.preventDefault(),w&&w(X)}),de=le("start",M),at=le("stop",R),qe=le("stop",$),De=le("stop",X=>{ie(X),V.current===!1&&H(!1),g&&g(X)},!1),Je=Yt(X=>{D.current||(D.current=X.currentTarget),U(X),V.current===!0&&(H(!0),x&&x(X)),C&&C(X)}),Re=()=>{const X=D.current;return c&&c!=="button"&&!(X.tagName==="A"&&X.href)},Oe=s.useRef(!1),Ke=Yt(X=>{p&&!Oe.current&&G&&k.current&&X.key===" "&&(Oe.current=!0,k.current.stop(X,()=>{k.current.start(X)})),X.target===X.currentTarget&&Re()&&X.key===" "&&X.preventDefault(),y&&y(X),X.target===X.currentTarget&&Re()&&X.key==="Enter"&&!u&&(X.preventDefault(),v&&v(X))}),Ae=Yt(X=>{p&&X.key===" "&&k.current&&G&&!X.defaultPrevented&&(Oe.current=!1,k.current.stop(X,()=>{k.current.pulsate(X)})),_&&_(X),v&&X.target===X.currentTarget&&Re()&&X.key===" "&&!X.defaultPrevented&&v(X)});let he=c;he==="button"&&(A.href||A.to)&&(he=m);const Ge={};he==="button"?(Ge.type=F===void 0?"button":F,Ge.disabled=u):(!A.href&&!A.to&&(Ge.role="button"),u&&(Ge["aria-disabled"]=u));const Ze=Me(r,se,D),rt=h({},n,{centerRipple:a,component:c,disabled:u,disableRipple:d,disableTouchRipple:f,focusRipple:p,tabIndex:T,focusVisible:G}),ye=qO(rt);return S.jsxs(KO,h({as:he,className:B(ye.root,l),ownerState:rt,onBlur:De,onClick:v,onContextMenu:J,onFocus:Je,onKeyDown:Ke,onKeyUp:Ae,onMouseDown:$e,onMouseLeave:pe,onMouseUp:te,onDragLeave:ge,onTouchEnd:at,onTouchMove:qe,onTouchStart:de,ref:Ze,tabIndex:u?-1:T,type:F},Ge,A,{children:[i,ne?S.jsx(WO,h({ref:L,center:a},N)):null]}))});function GO(e){return Z("MuiIconButton",e)}const XO=ee("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),YO=["edge","children","className","color","disabled","disableFocusRipple","size"],QO=e=>{const{classes:t,disabled:r,color:n,edge:o,size:a}=e,i={root:["root",r&&"disabled",n!=="default"&&`color${z(n)}`,o&&`edge${z(o)}`,`size${z(a)}`]};return re(i,GO,t)},JO=I(fn,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${z(r.color)}`],r.edge&&t[`edge${z(r.edge)}`],t[`size${z(r.size)}`]]}})(({theme:e,ownerState:t})=>h({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Se(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var r;const n=(r=(e.vars||e).palette)==null?void 0:r[t.color];return h({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&h({color:n==null?void 0:n.main},!t.disableRipple&&{"&:hover":h({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Se(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${XO.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),nt=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiIconButton"}),{edge:o=!1,children:a,className:i,color:l="default",disabled:c=!1,disableFocusRipple:u=!1,size:d="medium"}=n,f=W(n,YO),p=h({},n,{edge:o,color:l,disabled:c,disableFocusRipple:u,size:d}),m=QO(p);return S.jsx(JO,h({className:B(m.root,i),centerRipple:!0,focusRipple:!u,disabled:c,ref:r},f,{ownerState:p,children:a}))});function ZO(e){return Z("MuiTypography",e)}ee("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const eC=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],tC=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:a,classes:i}=e,l={root:["root",a,e.align!=="inherit"&&`align${z(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return re(l,ZO,i)},rC=I("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${z(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>h({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),Kd={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},nC={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},oC=e=>nC[e]||e,Ve=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiTypography"}),o=oC(n.color),a=Ei(h({},n,{color:o})),{align:i="inherit",className:l,component:c,gutterBottom:u=!1,noWrap:d=!1,paragraph:f=!1,variant:p="body1",variantMapping:m=Kd}=a,g=W(a,eC),v=h({},a,{align:i,color:o,className:l,component:c,gutterBottom:u,noWrap:d,paragraph:f,variant:p,variantMapping:m}),b=c||(f?"p":m[p]||Kd[p])||"span",O=tC(v);return S.jsx(rC,h({as:b,ref:r,ownerState:v,className:B(O.root,l)},g))});function aC(e){return Z("MuiAppBar",e)}ee("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const iC=["className","color","enableColorOnDark","position"],sC=e=>{const{color:t,position:r,classes:n}=e,o={root:["root",`color${z(t)}`,`position${z(r)}`]};return re(o,aC,n)},Bo=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,lC=I(Pn,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${z(r.position)}`],t[`color${z(r.color)}`]]}})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return h({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&h({},t.color==="default"&&{backgroundColor:r,color:e.palette.getContrastText(r)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&h({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&h({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Bo(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Bo(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Bo(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Bo(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},!["inherit","transparent"].includes(t.color)&&{backgroundColor:"var(--AppBar-background)"},{color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),cC=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiAppBar"}),{className:o,color:a="primary",enableColorOnDark:i=!1,position:l="fixed"}=n,c=W(n,iC),u=h({},n,{color:a,position:l,enableColorOnDark:i}),d=sC(u);return S.jsx(lC,h({square:!0,component:"header",ownerState:u,elevation:4,className:B(d.root,o,l==="fixed"&&"mui-fixed"),ref:r},c))});var Hc={};Object.defineProperty(Hc,"__esModule",{value:!0});var Lm=Hc.default=void 0,uC=fC(s),dC=Am;function zm(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(zm=function(n){return n?r:t})(e)}function fC(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=zm(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}function pC(e){return Object.keys(e).length===0}function mC(e=null){const t=uC.useContext(dC.ThemeContext);return!t||pC(t)?e:t}Lm=Hc.default=mC;var st="top",wt="bottom",Pt="right",lt="left",Uc="auto",wo=[st,wt,Pt,lt],pn="start",co="end",vC="clippingParents",Wm="viewport",jn="popper",gC="reference",Gd=wo.reduce(function(e,t){return e.concat([t+"-"+pn,t+"-"+co])},[]),Vm=[].concat(wo,[Uc]).reduce(function(e,t){return e.concat([t,t+"-"+pn,t+"-"+co])},[]),hC="beforeRead",yC="read",bC="afterRead",xC="beforeMain",OC="main",CC="afterMain",_C="beforeWrite",wC="write",PC="afterWrite",EC=[hC,yC,bC,xC,OC,CC,_C,wC,PC];function Ut(e){return e?(e.nodeName||"").toLowerCase():null}function gt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function $r(e){var t=gt(e).Element;return e instanceof t||e instanceof Element}function Ot(e){var t=gt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function qc(e){if(typeof ShadowRoot>"u")return!1;var t=gt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function SC(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},a=t.elements[r];!Ot(a)||!Ut(a)||(Object.assign(a.style,n),Object.keys(o).forEach(function(i){var l=o[i];l===!1?a.removeAttribute(i):a.setAttribute(i,l===!0?"":l)}))})}function $C(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],a=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),l=i.reduce(function(c,u){return c[u]="",c},{});!Ot(o)||!Ut(o)||(Object.assign(o.style,l),Object.keys(a).forEach(function(c){o.removeAttribute(c)}))})}}const RC={name:"applyStyles",enabled:!0,phase:"write",fn:SC,effect:$C,requires:["computeStyles"]};function Vt(e){return e.split("-")[0]}var Cr=Math.max,Pa=Math.min,mn=Math.round;function Js(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Hm(){return!/^((?!chrome|android).)*safari/i.test(Js())}function vn(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,a=1;t&&Ot(e)&&(o=e.offsetWidth>0&&mn(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&mn(n.height)/e.offsetHeight||1);var i=$r(e)?gt(e):window,l=i.visualViewport,c=!Hm()&&r,u=(n.left+(c&&l?l.offsetLeft:0))/o,d=(n.top+(c&&l?l.offsetTop:0))/a,f=n.width/o,p=n.height/a;return{width:f,height:p,top:d,right:u+f,bottom:d+p,left:u,x:u,y:d}}function Kc(e){var t=vn(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Um(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&qc(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Jt(e){return gt(e).getComputedStyle(e)}function kC(e){return["table","td","th"].indexOf(Ut(e))>=0}function dr(e){return(($r(e)?e.ownerDocument:e.document)||window.document).documentElement}function Qi(e){return Ut(e)==="html"?e:e.assignedSlot||e.parentNode||(qc(e)?e.host:null)||dr(e)}function Xd(e){return!Ot(e)||Jt(e).position==="fixed"?null:e.offsetParent}function IC(e){var t=/firefox/i.test(Js()),r=/Trident/i.test(Js());if(r&&Ot(e)){var n=Jt(e);if(n.position==="fixed")return null}var o=Qi(e);for(qc(o)&&(o=o.host);Ot(o)&&["html","body"].indexOf(Ut(o))<0;){var a=Jt(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function Po(e){for(var t=gt(e),r=Xd(e);r&&kC(r)&&Jt(r).position==="static";)r=Xd(r);return r&&(Ut(r)==="html"||Ut(r)==="body"&&Jt(r).position==="static")?t:r||IC(e)||t}function Gc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Hn(e,t,r){return Cr(e,Pa(t,r))}function TC(e,t,r){var n=Hn(e,t,r);return n>r?r:n}function qm(){return{top:0,right:0,bottom:0,left:0}}function Km(e){return Object.assign({},qm(),e)}function Gm(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var jC=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Km(typeof t!="number"?t:Gm(t,wo))};function MC(e){var t,r=e.state,n=e.name,o=e.options,a=r.elements.arrow,i=r.modifiersData.popperOffsets,l=Vt(r.placement),c=Gc(l),u=[lt,Pt].indexOf(l)>=0,d=u?"height":"width";if(!(!a||!i)){var f=jC(o.padding,r),p=Kc(a),m=c==="y"?st:lt,g=c==="y"?wt:Pt,v=r.rects.reference[d]+r.rects.reference[c]-i[c]-r.rects.popper[d],b=i[c]-r.rects.reference[c],O=Po(a),C=O?c==="y"?O.clientHeight||0:O.clientWidth||0:0,x=v/2-b/2,y=f[m],_=C-p[d]-f[g],P=C/2-p[d]/2+x,w=Hn(y,P,_),E=c;r.modifiersData[n]=(t={},t[E]=w,t.centerOffset=w-P,t)}}function AC(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Um(t.elements.popper,o)&&(t.elements.arrow=o))}const NC={name:"arrow",enabled:!0,phase:"main",fn:MC,effect:AC,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function gn(e){return e.split("-")[1]}var FC={top:"auto",right:"auto",bottom:"auto",left:"auto"};function BC(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:mn(r*o)/o||0,y:mn(n*o)/o||0}}function Yd(e){var t,r=e.popper,n=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,c=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,f=e.isFixed,p=i.x,m=p===void 0?0:p,g=i.y,v=g===void 0?0:g,b=typeof d=="function"?d({x:m,y:v}):{x:m,y:v};m=b.x,v=b.y;var O=i.hasOwnProperty("x"),C=i.hasOwnProperty("y"),x=lt,y=st,_=window;if(u){var P=Po(r),w="clientHeight",E="clientWidth";if(P===gt(r)&&(P=dr(r),Jt(P).position!=="static"&&l==="absolute"&&(w="scrollHeight",E="scrollWidth")),P=P,o===st||(o===lt||o===Pt)&&a===co){y=wt;var R=f&&P===_&&_.visualViewport?_.visualViewport.height:P[w];v-=R-n.height,v*=c?1:-1}if(o===lt||(o===st||o===wt)&&a===co){x=Pt;var $=f&&P===_&&_.visualViewport?_.visualViewport.width:P[E];m-=$-n.width,m*=c?1:-1}}var M=Object.assign({position:l},u&&FC),T=d===!0?BC({x:m,y:v},gt(r)):{x:m,y:v};if(m=T.x,v=T.y,c){var N;return Object.assign({},M,(N={},N[y]=C?"0":"",N[x]=O?"0":"",N.transform=(_.devicePixelRatio||1)<=1?"translate("+m+"px, "+v+"px)":"translate3d("+m+"px, "+v+"px, 0)",N))}return Object.assign({},M,(t={},t[y]=C?v+"px":"",t[x]=O?m+"px":"",t.transform="",t))}function DC(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,a=r.adaptive,i=a===void 0?!0:a,l=r.roundOffsets,c=l===void 0?!0:l,u={placement:Vt(t.placement),variation:gn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Yd(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Yd(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const LC={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:DC,data:{}};var Do={passive:!0};function zC(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,a=o===void 0?!0:o,i=n.resize,l=i===void 0?!0:i,c=gt(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(d){d.addEventListener("scroll",r.update,Do)}),l&&c.addEventListener("resize",r.update,Do),function(){a&&u.forEach(function(d){d.removeEventListener("scroll",r.update,Do)}),l&&c.removeEventListener("resize",r.update,Do)}}const WC={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:zC,data:{}};var VC={left:"right",right:"left",bottom:"top",top:"bottom"};function ra(e){return e.replace(/left|right|bottom|top/g,function(t){return VC[t]})}var HC={start:"end",end:"start"};function Qd(e){return e.replace(/start|end/g,function(t){return HC[t]})}function Xc(e){var t=gt(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Yc(e){return vn(dr(e)).left+Xc(e).scrollLeft}function UC(e,t){var r=gt(e),n=dr(e),o=r.visualViewport,a=n.clientWidth,i=n.clientHeight,l=0,c=0;if(o){a=o.width,i=o.height;var u=Hm();(u||!u&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:a,height:i,x:l+Yc(e),y:c}}function qC(e){var t,r=dr(e),n=Xc(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=Cr(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Cr(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-n.scrollLeft+Yc(e),c=-n.scrollTop;return Jt(o||r).direction==="rtl"&&(l+=Cr(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:c}}function Qc(e){var t=Jt(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function Xm(e){return["html","body","#document"].indexOf(Ut(e))>=0?e.ownerDocument.body:Ot(e)&&Qc(e)?e:Xm(Qi(e))}function Un(e,t){var r;t===void 0&&(t=[]);var n=Xm(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=gt(n),i=o?[a].concat(a.visualViewport||[],Qc(n)?n:[]):n,l=t.concat(i);return o?l:l.concat(Un(Qi(i)))}function Zs(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function KC(e,t){var r=vn(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Jd(e,t,r){return t===Wm?Zs(UC(e,r)):$r(t)?KC(t,r):Zs(qC(dr(e)))}function GC(e){var t=Un(Qi(e)),r=["absolute","fixed"].indexOf(Jt(e).position)>=0,n=r&&Ot(e)?Po(e):e;return $r(n)?t.filter(function(o){return $r(o)&&Um(o,n)&&Ut(o)!=="body"}):[]}function XC(e,t,r,n){var o=t==="clippingParents"?GC(e):[].concat(t),a=[].concat(o,[r]),i=a[0],l=a.reduce(function(c,u){var d=Jd(e,u,n);return c.top=Cr(d.top,c.top),c.right=Pa(d.right,c.right),c.bottom=Pa(d.bottom,c.bottom),c.left=Cr(d.left,c.left),c},Jd(e,i,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Ym(e){var t=e.reference,r=e.element,n=e.placement,o=n?Vt(n):null,a=n?gn(n):null,i=t.x+t.width/2-r.width/2,l=t.y+t.height/2-r.height/2,c;switch(o){case st:c={x:i,y:t.y-r.height};break;case wt:c={x:i,y:t.y+t.height};break;case Pt:c={x:t.x+t.width,y:l};break;case lt:c={x:t.x-r.width,y:l};break;default:c={x:t.x,y:t.y}}var u=o?Gc(o):null;if(u!=null){var d=u==="y"?"height":"width";switch(a){case pn:c[u]=c[u]-(t[d]/2-r[d]/2);break;case co:c[u]=c[u]+(t[d]/2-r[d]/2);break}}return c}function uo(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,a=r.strategy,i=a===void 0?e.strategy:a,l=r.boundary,c=l===void 0?vC:l,u=r.rootBoundary,d=u===void 0?Wm:u,f=r.elementContext,p=f===void 0?jn:f,m=r.altBoundary,g=m===void 0?!1:m,v=r.padding,b=v===void 0?0:v,O=Km(typeof b!="number"?b:Gm(b,wo)),C=p===jn?gC:jn,x=e.rects.popper,y=e.elements[g?C:p],_=XC($r(y)?y:y.contextElement||dr(e.elements.popper),c,d,i),P=vn(e.elements.reference),w=Ym({reference:P,element:x,strategy:"absolute",placement:o}),E=Zs(Object.assign({},x,w)),R=p===jn?E:P,$={top:_.top-R.top+O.top,bottom:R.bottom-_.bottom+O.bottom,left:_.left-R.left+O.left,right:R.right-_.right+O.right},M=e.modifiersData.offset;if(p===jn&&M){var T=M[o];Object.keys($).forEach(function(N){var j=[Pt,wt].indexOf(N)>=0?1:-1,F=[st,wt].indexOf(N)>=0?"y":"x";$[N]+=T[F]*j})}return $}function YC(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,a=r.rootBoundary,i=r.padding,l=r.flipVariations,c=r.allowedAutoPlacements,u=c===void 0?Vm:c,d=gn(n),f=d?l?Gd:Gd.filter(function(g){return gn(g)===d}):wo,p=f.filter(function(g){return u.indexOf(g)>=0});p.length===0&&(p=f);var m=p.reduce(function(g,v){return g[v]=uo(e,{placement:v,boundary:o,rootBoundary:a,padding:i})[Vt(v)],g},{});return Object.keys(m).sort(function(g,v){return m[g]-m[v]})}function QC(e){if(Vt(e)===Uc)return[];var t=ra(e);return[Qd(e),t,Qd(t)]}function JC(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,a=o===void 0?!0:o,i=r.altAxis,l=i===void 0?!0:i,c=r.fallbackPlacements,u=r.padding,d=r.boundary,f=r.rootBoundary,p=r.altBoundary,m=r.flipVariations,g=m===void 0?!0:m,v=r.allowedAutoPlacements,b=t.options.placement,O=Vt(b),C=O===b,x=c||(C||!g?[ra(b)]:QC(b)),y=[b].concat(x).reduce(function(G,H){return G.concat(Vt(H)===Uc?YC(t,{placement:H,boundary:d,rootBoundary:f,padding:u,flipVariations:g,allowedAutoPlacements:v}):H)},[]),_=t.rects.reference,P=t.rects.popper,w=new Map,E=!0,R=y[0],$=0;$=0,F=j?"width":"height",A=uo(t,{placement:M,boundary:d,rootBoundary:f,altBoundary:p,padding:u}),D=j?N?Pt:lt:N?wt:st;_[F]>P[F]&&(D=ra(D));var k=ra(D),L=[];if(a&&L.push(A[T]<=0),l&&L.push(A[D]<=0,A[k]<=0),L.every(function(G){return G})){R=M,E=!1;break}w.set(M,L)}if(E)for(var V=g?3:1,U=function(H){var Q=y.find(function(fe){var ne=w.get(fe);if(ne)return ne.slice(0,H).every(function(le){return le})});if(Q)return R=Q,"break"},ie=V;ie>0;ie--){var se=U(ie);if(se==="break")break}t.placement!==R&&(t.modifiersData[n]._skip=!0,t.placement=R,t.reset=!0)}}const ZC={name:"flip",enabled:!0,phase:"main",fn:JC,requiresIfExists:["offset"],data:{_skip:!1}};function Zd(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ef(e){return[st,Pt,wt,lt].some(function(t){return e[t]>=0})}function e_(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=uo(t,{elementContext:"reference"}),l=uo(t,{altBoundary:!0}),c=Zd(i,n),u=Zd(l,o,a),d=ef(c),f=ef(u);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}const t_={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:e_};function r_(e,t,r){var n=Vt(e),o=[lt,st].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[lt,Pt].indexOf(n)>=0?{x:l,y:i}:{x:i,y:l}}function n_(e){var t=e.state,r=e.options,n=e.name,o=r.offset,a=o===void 0?[0,0]:o,i=Vm.reduce(function(d,f){return d[f]=r_(f,t.rects,a),d},{}),l=i[t.placement],c=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=i}const o_={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:n_};function a_(e){var t=e.state,r=e.name;t.modifiersData[r]=Ym({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const i_={name:"popperOffsets",enabled:!0,phase:"read",fn:a_,data:{}};function s_(e){return e==="x"?"y":"x"}function l_(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,a=o===void 0?!0:o,i=r.altAxis,l=i===void 0?!1:i,c=r.boundary,u=r.rootBoundary,d=r.altBoundary,f=r.padding,p=r.tether,m=p===void 0?!0:p,g=r.tetherOffset,v=g===void 0?0:g,b=uo(t,{boundary:c,rootBoundary:u,padding:f,altBoundary:d}),O=Vt(t.placement),C=gn(t.placement),x=!C,y=Gc(O),_=s_(y),P=t.modifiersData.popperOffsets,w=t.rects.reference,E=t.rects.popper,R=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,$=typeof R=="number"?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(P){if(a){var N,j=y==="y"?st:lt,F=y==="y"?wt:Pt,A=y==="y"?"height":"width",D=P[y],k=D+b[j],L=D-b[F],V=m?-E[A]/2:0,U=C===pn?w[A]:E[A],ie=C===pn?-E[A]:-w[A],se=t.elements.arrow,G=m&&se?Kc(se):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:qm(),Q=H[j],fe=H[F],ne=Hn(0,w[A],G[A]),le=x?w[A]/2-V-ne-Q-$.mainAxis:U-ne-Q-$.mainAxis,$e=x?-w[A]/2+V+ne+fe+$.mainAxis:ie+ne+fe+$.mainAxis,J=t.elements.arrow&&Po(t.elements.arrow),ge=J?y==="y"?J.clientTop||0:J.clientLeft||0:0,te=(N=M==null?void 0:M[y])!=null?N:0,pe=D+le-te-ge,de=D+$e-te,at=Hn(m?Pa(k,pe):k,D,m?Cr(L,de):L);P[y]=at,T[y]=at-D}if(l){var qe,De=y==="x"?st:lt,Je=y==="x"?wt:Pt,Re=P[_],Oe=_==="y"?"height":"width",Ke=Re+b[De],Ae=Re-b[Je],he=[st,lt].indexOf(O)!==-1,Ge=(qe=M==null?void 0:M[_])!=null?qe:0,Ze=he?Ke:Re-w[Oe]-E[Oe]-Ge+$.altAxis,rt=he?Re+w[Oe]+E[Oe]-Ge-$.altAxis:Ae,ye=m&&he?TC(Ze,Re,rt):Hn(m?Ze:Ke,Re,m?rt:Ae);P[_]=ye,T[_]=ye-Re}t.modifiersData[n]=T}}const c_={name:"preventOverflow",enabled:!0,phase:"main",fn:l_,requiresIfExists:["offset"]};function u_(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function d_(e){return e===gt(e)||!Ot(e)?Xc(e):u_(e)}function f_(e){var t=e.getBoundingClientRect(),r=mn(t.width)/e.offsetWidth||1,n=mn(t.height)/e.offsetHeight||1;return r!==1||n!==1}function p_(e,t,r){r===void 0&&(r=!1);var n=Ot(t),o=Ot(t)&&f_(t),a=dr(t),i=vn(e,o,r),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((Ut(t)!=="body"||Qc(a))&&(l=d_(t)),Ot(t)?(c=vn(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=Yc(a))),{x:i.left+l.scrollLeft-c.x,y:i.top+l.scrollTop-c.y,width:i.width,height:i.height}}function m_(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function o(a){r.add(a.name);var i=[].concat(a.requires||[],a.requiresIfExists||[]);i.forEach(function(l){if(!r.has(l)){var c=t.get(l);c&&o(c)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||o(a)}),n}function v_(e){var t=m_(e);return EC.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function g_(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function h_(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var tf={placement:"bottom",modifiers:[],strategy:"absolute"};function rf(){for(var e=arguments.length,t=new Array(e),r=0;r{a||l(O_(o)||document.body)},[o,a]),Ct(()=>{if(i&&!a)return Oa(r,i),()=>{Oa(r,null)}},[r,i,a]),a){if(s.isValidElement(n)){const u={ref:c};return s.cloneElement(n,u)}return S.jsx(s.Fragment,{children:n})}return S.jsx(s.Fragment,{children:i&&ap.createPortal(n,i)})});function C_(e){return Z("MuiPopper",e)}ee("MuiPopper",["root"]);const __=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],w_=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function P_(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function el(e){return typeof e=="function"?e():e}function E_(e){return e.nodeType!==void 0}const S_=e=>{const{classes:t}=e;return re({root:["root"]},C_,t)},$_={},R_=s.forwardRef(function(t,r){var n;const{anchorEl:o,children:a,direction:i,disablePortal:l,modifiers:c,open:u,placement:d,popperOptions:f,popperRef:p,slotProps:m={},slots:g={},TransitionProps:v}=t,b=W(t,__),O=s.useRef(null),C=Me(O,r),x=s.useRef(null),y=Me(x,p),_=s.useRef(y);Ct(()=>{_.current=y},[y]),s.useImperativeHandle(p,()=>x.current,[]);const P=P_(d,i),[w,E]=s.useState(P),[R,$]=s.useState(el(o));s.useEffect(()=>{x.current&&x.current.forceUpdate()}),s.useEffect(()=>{o&&$(el(o))},[o]),Ct(()=>{if(!R||!u)return;const F=k=>{E(k.placement)};let A=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:k})=>{F(k)}}];c!=null&&(A=A.concat(c)),f&&f.modifiers!=null&&(A=A.concat(f.modifiers));const D=x_(R,O.current,h({placement:P},f,{modifiers:A}));return _.current(D),()=>{D.destroy(),_.current(null)}},[R,l,c,u,f,P]);const M={placement:w};v!==null&&(M.TransitionProps=v);const T=S_(t),N=(n=g.root)!=null?n:"div",j=Sr({elementType:N,externalSlotProps:m.root,externalForwardedProps:b,additionalProps:{role:"tooltip",ref:C},ownerState:t,className:T.root});return S.jsx(N,h({},j,{children:typeof a=="function"?a(M):a}))}),k_=s.forwardRef(function(t,r){const{anchorEl:n,children:o,container:a,direction:i="ltr",disablePortal:l=!1,keepMounted:c=!1,modifiers:u,open:d,placement:f="bottom",popperOptions:p=$_,popperRef:m,style:g,transition:v=!1,slotProps:b={},slots:O={}}=t,C=W(t,w_),[x,y]=s.useState(!0),_=()=>{y(!1)},P=()=>{y(!0)};if(!c&&!d&&(!v||x))return null;let w;if(a)w=a;else if(n){const $=el(n);w=$&&E_($)?tt($).body:tt(null).body}const E=!d&&c&&(!v||x)?"none":void 0,R=v?{in:d,onEnter:_,onExited:P}:void 0;return S.jsx(Qm,{disablePortal:l,container:w,children:S.jsx(R_,h({anchorEl:n,direction:i,disablePortal:l,modifiers:u,ref:r,open:v?!x:d,placement:f,popperOptions:p,popperRef:m,slotProps:b,slots:O},C,{style:h({position:"fixed",top:0,left:0,display:E},g),TransitionProps:R,children:o}))})}),I_=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],T_=I(k_,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Jm=s.forwardRef(function(t,r){var n;const o=Lm(),a=oe({props:t,name:"MuiPopper"}),{anchorEl:i,component:l,components:c,componentsProps:u,container:d,disablePortal:f,keepMounted:p,modifiers:m,open:g,placement:v,popperOptions:b,popperRef:O,transition:C,slots:x,slotProps:y}=a,_=W(a,I_),P=(n=x==null?void 0:x.root)!=null?n:c==null?void 0:c.Root,w=h({anchorEl:i,container:d,disablePortal:f,keepMounted:p,modifiers:m,open:g,placement:v,popperOptions:b,popperRef:O,transition:C},_);return S.jsx(T_,h({as:l,direction:o==null?void 0:o.direction,slots:{root:P},slotProps:y??u},w,{ref:r}))}),j_=er(S.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function M_(e){return Z("MuiChip",e)}const me=ee("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),A_=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],N_=e=>{const{classes:t,disabled:r,size:n,color:o,iconColor:a,onDelete:i,clickable:l,variant:c}=e,u={root:["root",c,r&&"disabled",`size${z(n)}`,`color${z(o)}`,l&&"clickable",l&&`clickableColor${z(o)}`,i&&"deletable",i&&`deletableColor${z(o)}`,`${c}${z(o)}`],label:["label",`label${z(n)}`],avatar:["avatar",`avatar${z(n)}`,`avatarColor${z(o)}`],icon:["icon",`icon${z(n)}`,`iconColor${z(a)}`],deleteIcon:["deleteIcon",`deleteIcon${z(n)}`,`deleteIconColor${z(o)}`,`deleteIcon${z(c)}Color${z(o)}`]};return re(u,M_,t)},F_=I("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{color:n,iconColor:o,clickable:a,onDelete:i,size:l,variant:c}=r;return[{[`& .${me.avatar}`]:t.avatar},{[`& .${me.avatar}`]:t[`avatar${z(l)}`]},{[`& .${me.avatar}`]:t[`avatarColor${z(n)}`]},{[`& .${me.icon}`]:t.icon},{[`& .${me.icon}`]:t[`icon${z(l)}`]},{[`& .${me.icon}`]:t[`iconColor${z(o)}`]},{[`& .${me.deleteIcon}`]:t.deleteIcon},{[`& .${me.deleteIcon}`]:t[`deleteIcon${z(l)}`]},{[`& .${me.deleteIcon}`]:t[`deleteIconColor${z(n)}`]},{[`& .${me.deleteIcon}`]:t[`deleteIcon${z(c)}Color${z(n)}`]},t.root,t[`size${z(l)}`],t[`color${z(n)}`],a&&t.clickable,a&&n!=="default"&&t[`clickableColor${z(n)})`],i&&t.deletable,i&&n!=="default"&&t[`deletableColor${z(n)}`],t[c],t[`${c}${z(n)}`]]}})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return h({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${me.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${me.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:r,fontSize:e.typography.pxToRem(12)},[`& .${me.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${me.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${me.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${me.icon}`]:h({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&h({color:e.vars?e.vars.palette.Chip.defaultIconColor:r},t.color!=="default"&&{color:"inherit"})),[`& .${me.deleteIcon}`]:h({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Se(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Se(e.palette.text.primary,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:Se(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${me.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Se(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${me.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>h({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Se(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${me.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Se(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${me.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>h({},t.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${me.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${me.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${me.avatar}`]:{marginLeft:4},[`& .${me.avatarSmall}`]:{marginLeft:2},[`& .${me.icon}`]:{marginLeft:4},[`& .${me.iconSmall}`]:{marginLeft:2},[`& .${me.deleteIcon}`]:{marginRight:5},[`& .${me.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Se(e.palette[t.color].main,.7)}`,[`&.${me.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Se(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${me.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Se(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${me.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Se(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),B_=I("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:r}=e,{size:n}=r;return[t.label,t[`label${z(n)}`]]}})(({ownerState:e})=>h({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.variant==="outlined"&&{paddingLeft:11,paddingRight:11},e.size==="small"&&{paddingLeft:8,paddingRight:8},e.size==="small"&&e.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function nf(e){return e.key==="Backspace"||e.key==="Delete"}const Zm=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiChip"}),{avatar:o,className:a,clickable:i,color:l="default",component:c,deleteIcon:u,disabled:d=!1,icon:f,label:p,onClick:m,onDelete:g,onKeyDown:v,onKeyUp:b,size:O="medium",variant:C="filled",tabIndex:x,skipFocusWhenDisabled:y=!1}=n,_=W(n,A_),P=s.useRef(null),w=Me(P,r),E=L=>{L.stopPropagation(),g&&g(L)},R=L=>{L.currentTarget===L.target&&nf(L)&&L.preventDefault(),v&&v(L)},$=L=>{L.currentTarget===L.target&&(g&&nf(L)?g(L):L.key==="Escape"&&P.current&&P.current.blur()),b&&b(L)},M=i!==!1&&m?!0:i,T=M||g?fn:c||"div",N=h({},n,{component:T,disabled:d,size:O,color:l,iconColor:s.isValidElement(f)&&f.props.color||l,onDelete:!!g,clickable:M,variant:C}),j=N_(N),F=T===fn?h({component:c||"div",focusVisibleClassName:j.focusVisible},g&&{disableRipple:!0}):{};let A=null;g&&(A=u&&s.isValidElement(u)?s.cloneElement(u,{className:B(u.props.className,j.deleteIcon),onClick:E}):S.jsx(j_,{className:B(j.deleteIcon),onClick:E}));let D=null;o&&s.isValidElement(o)&&(D=s.cloneElement(o,{className:B(j.avatar,o.props.className)}));let k=null;return f&&s.isValidElement(f)&&(k=s.cloneElement(f,{className:B(j.icon,f.props.className)})),S.jsxs(F_,h({as:T,className:B(j.root,a),disabled:M&&d?!0:void 0,onClick:m,onKeyDown:R,onKeyUp:$,ref:w,tabIndex:y&&d?-1:x,ownerState:N},F,_,{children:[D||k,S.jsx(B_,{className:B(j.label),ownerState:N,children:p}),A]}))}),D_=["onChange","maxRows","minRows","style","value"];function Lo(e){return parseInt(e,10)||0}const L_={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function z_(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const W_=s.forwardRef(function(t,r){const{onChange:n,maxRows:o,minRows:a=1,style:i,value:l}=t,c=W(t,D_),{current:u}=s.useRef(l!=null),d=s.useRef(null),f=Me(r,d),p=s.useRef(null),m=s.useRef(null),g=s.useCallback(()=>{const O=d.current,x=Ht(O).getComputedStyle(O);if(x.width==="0px")return{outerHeightStyle:0,overflowing:!1};const y=m.current;y.style.width=x.width,y.value=O.value||t.placeholder||"x",y.value.slice(-1)===` +`&&(y.value+=" ");const _=x.boxSizing,P=Lo(x.paddingBottom)+Lo(x.paddingTop),w=Lo(x.borderBottomWidth)+Lo(x.borderTopWidth),E=y.scrollHeight;y.value="x";const R=y.scrollHeight;let $=E;a&&($=Math.max(Number(a)*R,$)),o&&($=Math.min(Number(o)*R,$)),$=Math.max($,R);const M=$+(_==="border-box"?P+w:0),T=Math.abs($-E)<=1;return{outerHeightStyle:M,overflowing:T}},[o,a,t.placeholder]),v=s.useCallback(()=>{const O=g();if(z_(O))return;const C=O.outerHeightStyle,x=d.current;p.current!==C&&(p.current=C,x.style.height=`${C}px`),x.style.overflow=O.overflowing?"hidden":""},[g]);Ct(()=>{const O=()=>{v()};let C;const x=Fi(O),y=d.current,_=Ht(y);_.addEventListener("resize",x);let P;return typeof ResizeObserver<"u"&&(P=new ResizeObserver(O),P.observe(y)),()=>{x.clear(),cancelAnimationFrame(C),_.removeEventListener("resize",x),P&&P.disconnect()}},[g,v]),Ct(()=>{v()});const b=O=>{u||v(),n&&n(O)};return S.jsxs(s.Fragment,{children:[S.jsx("textarea",h({value:l,onChange:b,ref:f,rows:a,style:i},c)),S.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:m,tabIndex:-1,style:h({},L_.shadow,i,{paddingTop:0,paddingBottom:0})})]})});function En({props:e,states:t,muiFormControl:r}){return t.reduce((n,o)=>(n[o]=e[o],r&&typeof e[o]>"u"&&(n[o]=r[o]),n),{})}const Jc=s.createContext(void 0);function kr(){return s.useContext(Jc)}function V_(e){return S.jsx(e1,h({},e,{defaultTheme:Di,themeId:cn}))}function of(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ea(e,t=!1){return e&&(of(e.value)&&e.value!==""||t&&of(e.defaultValue)&&e.defaultValue!=="")}function H_(e){return e.startAdornment}function U_(e){return Z("MuiInputBase",e)}const hn=ee("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),q_=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],Ji=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,r.size==="small"&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${z(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},Zi=(e,t)=>{const{ownerState:r}=e;return[t.input,r.size==="small"&&t.inputSizeSmall,r.multiline&&t.inputMultiline,r.type==="search"&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},K_=e=>{const{classes:t,color:r,disabled:n,error:o,endAdornment:a,focused:i,formControl:l,fullWidth:c,hiddenLabel:u,multiline:d,readOnly:f,size:p,startAdornment:m,type:g}=e,v={root:["root",`color${z(r)}`,n&&"disabled",o&&"error",c&&"fullWidth",i&&"focused",l&&"formControl",p&&p!=="medium"&&`size${z(p)}`,d&&"multiline",m&&"adornedStart",a&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",n&&"disabled",g==="search"&&"inputTypeSearch",d&&"inputMultiline",p==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",m&&"inputAdornedStart",a&&"inputAdornedEnd",f&&"readOnly"]};return re(v,U_,t)},es=I("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Ji})(({theme:e,ownerState:t})=>h({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${hn.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&h({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),ts=I("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Zi})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light",n=h({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return h({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${hn.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${hn.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),G_=S.jsx(V_,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Zc=s.forwardRef(function(t,r){var n;const o=oe({props:t,name:"MuiInputBase"}),{"aria-describedby":a,autoComplete:i,autoFocus:l,className:c,components:u={},componentsProps:d={},defaultValue:f,disabled:p,disableInjectingGlobalStyles:m,endAdornment:g,fullWidth:v=!1,id:b,inputComponent:O="input",inputProps:C={},inputRef:x,maxRows:y,minRows:_,multiline:P=!1,name:w,onBlur:E,onChange:R,onClick:$,onFocus:M,onKeyDown:T,onKeyUp:N,placeholder:j,readOnly:F,renderSuffix:A,rows:D,slotProps:k={},slots:L={},startAdornment:V,type:U="text",value:ie}=o,se=W(o,q_),G=C.value!=null?C.value:ie,{current:H}=s.useRef(G!=null),Q=s.useRef(),fe=s.useCallback(ye=>{},[]),ne=Me(Q,x,C.ref,fe),[le,$e]=s.useState(!1),J=kr(),ge=En({props:o,muiFormControl:J,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ge.focused=J?J.focused:le,s.useEffect(()=>{!J&&p&&le&&($e(!1),E&&E())},[J,p,le,E]);const te=J&&J.onFilled,pe=J&&J.onEmpty,de=s.useCallback(ye=>{Ea(ye)?te&&te():pe&&pe()},[te,pe]);Ct(()=>{H&&de({value:G})},[G,de,H]);const at=ye=>{if(ge.disabled){ye.stopPropagation();return}M&&M(ye),C.onFocus&&C.onFocus(ye),J&&J.onFocus?J.onFocus(ye):$e(!0)},qe=ye=>{E&&E(ye),C.onBlur&&C.onBlur(ye),J&&J.onBlur?J.onBlur(ye):$e(!1)},De=(ye,...X)=>{if(!H){const ze=ye.target||Q.current;if(ze==null)throw new Error(Qt(1));de({value:ze.value})}C.onChange&&C.onChange(ye,...X),R&&R(ye,...X)};s.useEffect(()=>{de(Q.current)},[]);const Je=ye=>{Q.current&&ye.currentTarget===ye.target&&Q.current.focus(),$&&$(ye)};let Re=O,Oe=C;P&&Re==="input"&&(D?Oe=h({type:void 0,minRows:D,maxRows:D},Oe):Oe=h({type:void 0,maxRows:y,minRows:_},Oe),Re=W_);const Ke=ye=>{de(ye.animationName==="mui-auto-fill-cancel"?Q.current:{value:"x"})};s.useEffect(()=>{J&&J.setAdornedStart(!!V)},[J,V]);const Ae=h({},o,{color:ge.color||"primary",disabled:ge.disabled,endAdornment:g,error:ge.error,focused:ge.focused,formControl:J,fullWidth:v,hiddenLabel:ge.hiddenLabel,multiline:P,size:ge.size,startAdornment:V,type:U}),he=K_(Ae),Ge=L.root||u.Root||es,Ze=k.root||d.root||{},rt=L.input||u.Input||ts;return Oe=h({},Oe,(n=k.input)!=null?n:d.input),S.jsxs(s.Fragment,{children:[!m&&G_,S.jsxs(Ge,h({},Ze,!Ca(Ge)&&{ownerState:h({},Ae,Ze.ownerState)},{ref:r,onClick:Je},se,{className:B(he.root,Ze.className,c,F&&"MuiInputBase-readOnly"),children:[V,S.jsx(Jc.Provider,{value:null,children:S.jsx(rt,h({ownerState:Ae,"aria-invalid":ge.error,"aria-describedby":a,autoComplete:i,autoFocus:l,defaultValue:f,disabled:ge.disabled,id:b,onAnimationStart:Ke,name:w,placeholder:j,readOnly:F,required:ge.required,rows:D,value:G,onKeyDown:T,onKeyUp:N,type:U},Oe,!Ca(rt)&&{as:Re,ownerState:h({},Ae,Oe.ownerState)},{ref:ne,className:B(he.input,Oe.className,F&&"MuiInputBase-readOnly"),onBlur:qe,onChange:De,onFocus:at}))}),g,A?A(h({},ge,{startAdornment:V})):null]}))]})});function X_(e){return Z("MuiInput",e)}const Mn=h({},hn,ee("MuiInput",["root","underline","input"]));function Y_(e){return Z("MuiOutlinedInput",e)}const rr=h({},hn,ee("MuiOutlinedInput",["root","notchedOutline","input"]));function Q_(e){return Z("MuiFilledInput",e)}const fr=h({},hn,ee("MuiFilledInput",["root","underline","input"])),J_=er(S.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),Z_=er(S.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function ew(e){return Z("MuiAvatar",e)}ee("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const tw=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],rw=e=>{const{classes:t,variant:r,colorDefault:n}=e;return re({root:["root",r,n&&"colorDefault"],img:["img"],fallback:["fallback"]},ew,t)},nw=I("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:h({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:h({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),ow=I("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),aw=I(Z_,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function iw({crossOrigin:e,referrerPolicy:t,src:r,srcSet:n}){const[o,a]=s.useState(!1);return s.useEffect(()=>{if(!r&&!n)return;a(!1);let i=!0;const l=new Image;return l.onload=()=>{i&&a("loaded")},l.onerror=()=>{i&&a("error")},l.crossOrigin=e,l.referrerPolicy=t,l.src=r,n&&(l.srcset=n),()=>{i=!1}},[e,t,r,n]),o}const tl=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiAvatar"}),{alt:o,children:a,className:i,component:l="div",slots:c={},slotProps:u={},imgProps:d,sizes:f,src:p,srcSet:m,variant:g="circular"}=n,v=W(n,tw);let b=null;const O=iw(h({},d,{src:p,srcSet:m})),C=p||m,x=C&&O!=="error",y=h({},n,{colorDefault:!x,component:l,variant:g}),_=rw(y),[P,w]=jO("img",{className:_.img,elementType:ow,externalForwardedProps:{slots:c,slotProps:{img:h({},d,u.img)}},additionalProps:{alt:o,src:p,srcSet:m,sizes:f},ownerState:y});return x?b=S.jsx(P,h({},w)):a||a===0?b=a:C&&o?b=o[0]:b=S.jsx(aw,{ownerState:y,className:_.fallback}),S.jsx(nw,h({as:l,ownerState:y,className:B(_.root,i),ref:r},v,{children:b}))}),sw=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],lw={entering:{opacity:1},entered:{opacity:1}},ev=s.forwardRef(function(t,r){const n=Rr(),o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:i=!0,children:l,easing:c,in:u,onEnter:d,onEntered:f,onEntering:p,onExit:m,onExited:g,onExiting:v,style:b,timeout:O=o,TransitionComponent:C=At}=t,x=W(t,sw),y=s.useRef(null),_=Me(y,l.ref,r),P=j=>F=>{if(j){const A=y.current;F===void 0?j(A):j(A,F)}},w=P(p),E=P((j,F)=>{Vc(j);const A=dn({style:b,timeout:O,easing:c},{mode:"enter"});j.style.webkitTransition=n.transitions.create("opacity",A),j.style.transition=n.transitions.create("opacity",A),d&&d(j,F)}),R=P(f),$=P(v),M=P(j=>{const F=dn({style:b,timeout:O,easing:c},{mode:"exit"});j.style.webkitTransition=n.transitions.create("opacity",F),j.style.transition=n.transitions.create("opacity",F),m&&m(j)}),T=P(g),N=j=>{a&&a(y.current,j)};return S.jsx(C,h({appear:i,in:u,nodeRef:y,onEnter:E,onEntered:R,onEntering:w,onExit:M,onExited:T,onExiting:$,addEndListener:N,timeout:O},x,{children:(j,F)=>s.cloneElement(l,h({style:h({opacity:0,visibility:j==="exited"&&!u?"hidden":void 0},lw[j],b,l.props.style),ref:_},F))}))});function cw(e){return Z("MuiBackdrop",e)}ee("MuiBackdrop",["root","invisible"]);const uw=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],dw=e=>{const{classes:t,invisible:r}=e;return re({root:["root",r&&"invisible"]},cw,t)},fw=I("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})(({ownerState:e})=>h({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),tv=s.forwardRef(function(t,r){var n,o,a;const i=oe({props:t,name:"MuiBackdrop"}),{children:l,className:c,component:u="div",components:d={},componentsProps:f={},invisible:p=!1,open:m,slotProps:g={},slots:v={},TransitionComponent:b=ev,transitionDuration:O}=i,C=W(i,uw),x=h({},i,{component:u,invisible:p}),y=dw(x),_=(n=g.root)!=null?n:f.root;return S.jsx(b,h({in:m,timeout:O},C,{children:S.jsx(fw,h({"aria-hidden":!0},_,{as:(o=(a=v.root)!=null?a:d.Root)!=null?o:u,className:B(y.root,c,_==null?void 0:_.className),ownerState:h({},x,_==null?void 0:_.ownerState),classes:y,ref:r,children:l}))}))});function pw(e){return Z("MuiButton",e)}const zo=ee("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),mw=s.createContext({}),vw=s.createContext(void 0),gw=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],hw=e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:a,classes:i}=e,l={root:["root",a,`${a}${z(t)}`,`size${z(o)}`,`${a}Size${z(o)}`,`color${z(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${z(o)}`],endIcon:["icon","endIcon",`iconSize${z(o)}`]},c=re(l,pw,i);return h({},i,c)},rv=e=>h({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),yw=I(fn,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${z(r.color)}`],t[`size${z(r.size)}`],t[`${r.variant}Size${z(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],a=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return h({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":h({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Se(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Se(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Se(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":h({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${zo.focusVisible}`]:h({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${zo.disabled}`]:h({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Se(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${zo.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${zo.disabled}`]:{boxShadow:"none"}}),bw=I("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${z(r.size)}`]]}})(({ownerState:e})=>h({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},rv(e))),xw=I("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${z(r.size)}`]]}})(({ownerState:e})=>h({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},rv(e))),ut=s.forwardRef(function(t,r){const n=s.useContext(mw),o=s.useContext(vw),a=io(n,t),i=oe({props:a,name:"MuiButton"}),{children:l,color:c="primary",component:u="button",className:d,disabled:f=!1,disableElevation:p=!1,disableFocusRipple:m=!1,endIcon:g,focusVisibleClassName:v,fullWidth:b=!1,size:O="medium",startIcon:C,type:x,variant:y="text"}=i,_=W(i,gw),P=h({},i,{color:c,component:u,disabled:f,disableElevation:p,disableFocusRipple:m,fullWidth:b,size:O,type:x,variant:y}),w=hw(P),E=C&&S.jsx(bw,{className:w.startIcon,ownerState:P,children:C}),R=g&&S.jsx(xw,{className:w.endIcon,ownerState:P,children:g}),$=o||"";return S.jsxs(yw,h({ownerState:P,className:B(n.className,w.root,d,$),component:u,disabled:f,focusRipple:!m,focusVisibleClassName:B(w.focusVisible,v),ref:r,type:x},_,{classes:w,children:[E,l,R]}))});function Ow(e){return Z("MuiCard",e)}ee("MuiCard",["root"]);const Cw=["className","raised"],_w=e=>{const{classes:t}=e;return re({root:["root"]},Ow,t)},ww=I(Pn,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),Eo=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiCard"}),{className:o,raised:a=!1}=n,i=W(n,Cw),l=h({},n,{raised:a}),c=_w(l);return S.jsx(ww,h({className:B(c.root,o),elevation:a?8:void 0,ref:r,ownerState:l},i))});function Pw(e){return Z("MuiCardContent",e)}ee("MuiCardContent",["root"]);const Ew=["className","component"],Sw=e=>{const{classes:t}=e;return re({root:["root"]},Pw,t)},$w=I("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),rs=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiCardContent"}),{className:o,component:a="div"}=n,i=W(n,Ew),l=h({},n,{component:a}),c=Sw(l);return S.jsx($w,h({as:a,className:B(c.root,o),ownerState:l,ref:r},i))});function Rw(e){return Z("PrivateSwitchBase",e)}ee("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const kw=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],Iw=e=>{const{classes:t,checked:r,disabled:n,edge:o}=e,a={root:["root",r&&"checked",n&&"disabled",o&&`edge${z(o)}`],input:["input"]};return re(a,Rw,t)},Tw=I(fn)(({ownerState:e})=>h({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),jw=I("input",{shouldForwardProp:ot})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Mw=s.forwardRef(function(t,r){const{autoFocus:n,checked:o,checkedIcon:a,className:i,defaultChecked:l,disabled:c,disableFocusRipple:u=!1,edge:d=!1,icon:f,id:p,inputProps:m,inputRef:g,name:v,onBlur:b,onChange:O,onFocus:C,readOnly:x,required:y=!1,tabIndex:_,type:P,value:w}=t,E=W(t,kw),[R,$]=lo({controlled:o,default:!!l,name:"SwitchBase",state:"checked"}),M=kr(),T=L=>{C&&C(L),M&&M.onFocus&&M.onFocus(L)},N=L=>{b&&b(L),M&&M.onBlur&&M.onBlur(L)},j=L=>{if(L.nativeEvent.defaultPrevented)return;const V=L.target.checked;$(V),O&&O(L,V)};let F=c;M&&typeof F>"u"&&(F=M.disabled);const A=P==="checkbox"||P==="radio",D=h({},t,{checked:R,disabled:F,disableFocusRipple:u,edge:d}),k=Iw(D);return S.jsxs(Tw,h({component:"span",className:B(k.root,i),centerRipple:!0,focusRipple:!u,disabled:F,tabIndex:null,role:void 0,onFocus:T,onBlur:N,ownerState:D,ref:r},E,{children:[S.jsx(jw,h({autoFocus:n,checked:o,defaultChecked:l,className:k.input,disabled:F,id:A?p:void 0,name:v,onChange:j,readOnly:x,ref:g,required:y,ownerState:D,tabIndex:_,type:P},P==="checkbox"&&w===void 0?{}:{value:w},m)),R?a:f]}))}),Aw=er(S.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),Nw=er(S.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),Fw=er(S.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function Bw(e){return Z("MuiCheckbox",e)}const Cs=ee("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Dw=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],Lw=e=>{const{classes:t,indeterminate:r,color:n,size:o}=e,a={root:["root",r&&"indeterminate",`color${z(n)}`,`size${z(o)}`]},i=re(a,Bw,t);return h({},t,i)},zw=I(Mw,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,t[`size${z(r.size)}`],r.color!=="default"&&t[`color${z(r.color)}`]]}})(({theme:e,ownerState:t})=>h({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Se(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${Cs.checked}, &.${Cs.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Cs.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),Ww=S.jsx(Nw,{}),Vw=S.jsx(Aw,{}),Hw=S.jsx(Fw,{}),Sa=s.forwardRef(function(t,r){var n,o;const a=oe({props:t,name:"MuiCheckbox"}),{checkedIcon:i=Ww,color:l="primary",icon:c=Vw,indeterminate:u=!1,indeterminateIcon:d=Hw,inputProps:f,size:p="medium",className:m}=a,g=W(a,Dw),v=u?d:c,b=u?d:i,O=h({},a,{color:l,indeterminate:u,size:p}),C=Lw(O);return S.jsx(zw,h({type:"checkbox",inputProps:h({"data-indeterminate":u},f),icon:s.cloneElement(v,{fontSize:(n=v.props.fontSize)!=null?n:p}),checkedIcon:s.cloneElement(b,{fontSize:(o=b.props.fontSize)!=null?o:p}),ownerState:O,ref:r,className:B(C.root,m)},g,{classes:C}))});function Uw(e){return Z("MuiCircularProgress",e)}ee("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const qw=["className","color","disableShrink","size","style","thickness","value","variant"];let ns=e=>e,af,sf,lf,cf;const nr=44,Kw=On(af||(af=ns` + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(360deg); + } +`)),Gw=On(sf||(sf=ns` + 0% { + stroke-dasharray: 1px, 200px; + stroke-dashoffset: 0; + } + + 50% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -15px; + } + + 100% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -125px; + } +`)),Xw=e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e,a={root:["root",r,`color${z(n)}`],svg:["svg"],circle:["circle",`circle${z(r)}`,o&&"circleDisableShrink"]};return re(a,Uw,t)},Yw=I("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${z(r.color)}`]]}})(({ownerState:e,theme:t})=>h({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&yi(lf||(lf=ns` + animation: ${0} 1.4s linear infinite; + `),Kw)),Qw=I("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Jw=I("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${z(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>h({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&yi(cf||(cf=ns` + animation: ${0} 1.4s ease-in-out infinite; + `),Gw)),os=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiCircularProgress"}),{className:o,color:a="primary",disableShrink:i=!1,size:l=40,style:c,thickness:u=3.6,value:d=0,variant:f="indeterminate"}=n,p=W(n,qw),m=h({},n,{color:a,disableShrink:i,size:l,thickness:u,value:d,variant:f}),g=Xw(m),v={},b={},O={};if(f==="determinate"){const C=2*Math.PI*((nr-u)/2);v.strokeDasharray=C.toFixed(3),O["aria-valuenow"]=Math.round(d),v.strokeDashoffset=`${((100-d)/100*C).toFixed(3)}px`,b.transform="rotate(-90deg)"}return S.jsx(Yw,h({className:B(g.root,o),style:h({width:l,height:l},b,c),ownerState:m,ref:r,role:"progressbar"},O,p,{children:S.jsx(Qw,{className:g.svg,ownerState:m,viewBox:`${nr/2} ${nr/2} ${nr} ${nr}`,children:S.jsx(Jw,{className:g.circle,style:v,ownerState:m,cx:nr,cy:nr,r:(nr-u)/2,fill:"none",strokeWidth:u})})}))});function Zw(e){const t=tt(e);return t.body===e?Ht(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function qn(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function uf(e){return parseInt(Ht(e).getComputedStyle(e).paddingRight,10)||0}function eP(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function df(e,t,r,n,o){const a=[t,r,...n];[].forEach.call(e.children,i=>{const l=a.indexOf(i)===-1,c=!eP(i);l&&c&&qn(i,o)})}function _s(e,t){let r=-1;return e.some((n,o)=>t(n)?(r=o,!0):!1),r}function tP(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(Zw(n)){const i=hm(tt(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${uf(n)+i}px`;const l=tt(n).querySelectorAll(".mui-fixed");[].forEach.call(l,c=>{r.push({value:c.style.paddingRight,property:"padding-right",el:c}),c.style.paddingRight=`${uf(c)+i}px`})}let a;if(n.parentNode instanceof DocumentFragment)a=tt(n).body;else{const i=n.parentElement,l=Ht(n);a=(i==null?void 0:i.nodeName)==="HTML"&&l.getComputedStyle(i).overflowY==="scroll"?i:n}r.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{r.forEach(({value:a,el:i,property:l})=>{a?i.style.setProperty(l,a):i.style.removeProperty(l)})}}function rP(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class nP{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&qn(t.modalRef,!1);const o=rP(r);df(r,t.mount,t.modalRef,o,!0);const a=_s(this.containers,i=>i.container===r);return a!==-1?(this.containers[a].modals.push(t),n):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:o}),n)}mount(t,r){const n=_s(this.containers,a=>a.modals.indexOf(t)!==-1),o=this.containers[n];o.restore||(o.restore=tP(o,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const o=_s(this.containers,i=>i.modals.indexOf(t)!==-1),a=this.containers[o];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(n,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&qn(t.modalRef,r),df(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(o,1);else{const i=a.modals[a.modals.length-1];i.modalRef&&qn(i.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const oP=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function aP(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function iP(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function sP(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||iP(e))}function lP(e){const t=[],r=[];return Array.from(e.querySelectorAll(oP)).forEach((n,o)=>{const a=aP(n);a===-1||!sP(n)||(a===0?t.push(n):r.push({documentOrder:o,tabIndex:a,node:n}))}),r.sort((n,o)=>n.tabIndex===o.tabIndex?n.documentOrder-o.documentOrder:n.tabIndex-o.tabIndex).map(n=>n.node).concat(t)}function cP(){return!0}function uP(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:a=lP,isEnabled:i=cP,open:l}=e,c=s.useRef(!1),u=s.useRef(null),d=s.useRef(null),f=s.useRef(null),p=s.useRef(null),m=s.useRef(!1),g=s.useRef(null),v=Me(t.ref,g),b=s.useRef(null);s.useEffect(()=>{!l||!g.current||(m.current=!r)},[r,l]),s.useEffect(()=>{if(!l||!g.current)return;const x=tt(g.current);return g.current.contains(x.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),m.current&&g.current.focus()),()=>{o||(f.current&&f.current.focus&&(c.current=!0,f.current.focus()),f.current=null)}},[l]),s.useEffect(()=>{if(!l||!g.current)return;const x=tt(g.current),y=w=>{b.current=w,!(n||!i()||w.key!=="Tab")&&x.activeElement===g.current&&w.shiftKey&&(c.current=!0,d.current&&d.current.focus())},_=()=>{const w=g.current;if(w===null)return;if(!x.hasFocus()||!i()||c.current){c.current=!1;return}if(w.contains(x.activeElement)||n&&x.activeElement!==u.current&&x.activeElement!==d.current)return;if(x.activeElement!==p.current)p.current=null;else if(p.current!==null)return;if(!m.current)return;let E=[];if((x.activeElement===u.current||x.activeElement===d.current)&&(E=a(g.current)),E.length>0){var R,$;const M=!!((R=b.current)!=null&&R.shiftKey&&(($=b.current)==null?void 0:$.key)==="Tab"),T=E[0],N=E[E.length-1];typeof T!="string"&&typeof N!="string"&&(M?N.focus():T.focus())}else w.focus()};x.addEventListener("focusin",_),x.addEventListener("keydown",y,!0);const P=setInterval(()=>{x.activeElement&&x.activeElement.tagName==="BODY"&&_()},50);return()=>{clearInterval(P),x.removeEventListener("focusin",_),x.removeEventListener("keydown",y,!0)}},[r,n,o,i,l,a]);const O=x=>{f.current===null&&(f.current=x.relatedTarget),m.current=!0,p.current=x.target;const y=t.props.onFocus;y&&y(x)},C=x=>{f.current===null&&(f.current=x.relatedTarget),m.current=!0};return S.jsxs(s.Fragment,{children:[S.jsx("div",{tabIndex:l?0:-1,onFocus:C,ref:u,"data-testid":"sentinelStart"}),s.cloneElement(t,{ref:v,onFocus:O}),S.jsx("div",{tabIndex:l?0:-1,onFocus:C,ref:d,"data-testid":"sentinelEnd"})]})}function dP(e){return typeof e=="function"?e():e}function fP(e){return e?e.props.hasOwnProperty("in"):!1}const pP=new nP;function mP(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:o=pP,closeAfterTransition:a=!1,onTransitionEnter:i,onTransitionExited:l,children:c,onClose:u,open:d,rootRef:f}=e,p=s.useRef({}),m=s.useRef(null),g=s.useRef(null),v=Me(g,f),[b,O]=s.useState(!d),C=fP(c);let x=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(x=!1);const y=()=>tt(m.current),_=()=>(p.current.modalRef=g.current,p.current.mount=m.current,p.current),P=()=>{o.mount(_(),{disableScrollLock:n}),g.current&&(g.current.scrollTop=0)},w=Yt(()=>{const A=dP(t)||y().body;o.add(_(),A),g.current&&P()}),E=s.useCallback(()=>o.isTopModal(_()),[o]),R=Yt(A=>{m.current=A,A&&(d&&E()?P():g.current&&qn(g.current,x))}),$=s.useCallback(()=>{o.remove(_(),x)},[x,o]);s.useEffect(()=>()=>{$()},[$]),s.useEffect(()=>{d?w():(!C||!a)&&$()},[d,$,C,a,w]);const M=A=>D=>{var k;(k=A.onKeyDown)==null||k.call(A,D),!(D.key!=="Escape"||D.which===229||!E())&&(r||(D.stopPropagation(),u&&u(D,"escapeKeyDown")))},T=A=>D=>{var k;(k=A.onClick)==null||k.call(A,D),D.target===D.currentTarget&&u&&u(D,"backdropClick")};return{getRootProps:(A={})=>{const D=ym(e);delete D.onTransitionEnter,delete D.onTransitionExited;const k=h({},D,A);return h({role:"presentation"},k,{onKeyDown:M(k),ref:v})},getBackdropProps:(A={})=>{const D=A;return h({"aria-hidden":!0},D,{onClick:T(D),open:d})},getTransitionProps:()=>{const A=()=>{O(!1),i&&i()},D=()=>{O(!0),l&&l(),a&&$()};return{onEnter:Hs(A,c==null?void 0:c.props.onEnter),onExited:Hs(D,c==null?void 0:c.props.onExited)}},rootRef:v,portalRef:R,isTopModal:E,exited:b,hasTransition:C}}function vP(e){return Z("MuiModal",e)}ee("MuiModal",["root","hidden","backdrop"]);const gP=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],hP=e=>{const{open:t,exited:r,classes:n}=e;return re({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},vP,n)},yP=I("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(({theme:e,ownerState:t})=>h({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),bP=I(tv,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),nv=s.forwardRef(function(t,r){var n,o,a,i,l,c;const u=oe({name:"MuiModal",props:t}),{BackdropComponent:d=bP,BackdropProps:f,className:p,closeAfterTransition:m=!1,children:g,container:v,component:b,components:O={},componentsProps:C={},disableAutoFocus:x=!1,disableEnforceFocus:y=!1,disableEscapeKeyDown:_=!1,disablePortal:P=!1,disableRestoreFocus:w=!1,disableScrollLock:E=!1,hideBackdrop:R=!1,keepMounted:$=!1,onBackdropClick:M,open:T,slotProps:N,slots:j}=u,F=W(u,gP),A=h({},u,{closeAfterTransition:m,disableAutoFocus:x,disableEnforceFocus:y,disableEscapeKeyDown:_,disablePortal:P,disableRestoreFocus:w,disableScrollLock:E,hideBackdrop:R,keepMounted:$}),{getRootProps:D,getBackdropProps:k,getTransitionProps:L,portalRef:V,isTopModal:U,exited:ie,hasTransition:se}=mP(h({},A,{rootRef:r})),G=h({},A,{exited:ie}),H=hP(G),Q={};if(g.props.tabIndex===void 0&&(Q.tabIndex="-1"),se){const{onEnter:te,onExited:pe}=L();Q.onEnter=te,Q.onExited=pe}const fe=(n=(o=j==null?void 0:j.root)!=null?o:O.Root)!=null?n:yP,ne=(a=(i=j==null?void 0:j.backdrop)!=null?i:O.Backdrop)!=null?a:d,le=(l=N==null?void 0:N.root)!=null?l:C.root,$e=(c=N==null?void 0:N.backdrop)!=null?c:C.backdrop,J=Sr({elementType:fe,externalSlotProps:le,externalForwardedProps:F,getSlotProps:D,additionalProps:{ref:r,as:b},ownerState:G,className:B(p,le==null?void 0:le.className,H==null?void 0:H.root,!G.open&&G.exited&&(H==null?void 0:H.hidden))}),ge=Sr({elementType:ne,externalSlotProps:$e,additionalProps:f,getSlotProps:te=>k(h({},te,{onClick:pe=>{M&&M(pe),te!=null&&te.onClick&&te.onClick(pe)}})),className:B($e==null?void 0:$e.className,f==null?void 0:f.className,H==null?void 0:H.backdrop),ownerState:G});return!$&&!T&&(!se||ie)?null:S.jsx(Qm,{ref:V,container:v,disablePortal:P,children:S.jsxs(fe,h({},J,{children:[!R&&d?S.jsx(ne,h({},ge)):null,S.jsx(uP,{disableEnforceFocus:y,disableAutoFocus:x,disableRestoreFocus:w,isEnabled:U,open:T,children:s.cloneElement(g,Q)})]}))})});function xP(e){return Z("MuiDialog",e)}const ws=ee("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),ov=s.createContext({}),OP=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],CP=I(tv,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),_P=e=>{const{classes:t,scroll:r,maxWidth:n,fullWidth:o,fullScreen:a}=e,i={root:["root"],container:["container",`scroll${z(r)}`],paper:["paper",`paperScroll${z(r)}`,`paperWidth${z(String(n))}`,o&&"paperFullWidth",a&&"paperFullScreen"]};return re(i,xP,t)},wP=I(nv,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),PP=I("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.container,t[`scroll${z(r.scroll)}`]]}})(({ownerState:e})=>h({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),EP=I(Pn,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`scrollPaper${z(r.scroll)}`],t[`paperWidth${z(String(r.maxWidth))}`],r.fullWidth&&t.paperFullWidth,r.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>h({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${ws.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${ws.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${ws.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),eu=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiDialog"}),o=Rr(),a={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{"aria-describedby":i,"aria-labelledby":l,BackdropComponent:c,BackdropProps:u,children:d,className:f,disableEscapeKeyDown:p=!1,fullScreen:m=!1,fullWidth:g=!1,maxWidth:v="sm",onBackdropClick:b,onClick:O,onClose:C,open:x,PaperComponent:y=Pn,PaperProps:_={},scroll:P="paper",TransitionComponent:w=ev,transitionDuration:E=a,TransitionProps:R}=n,$=W(n,OP),M=h({},n,{disableEscapeKeyDown:p,fullScreen:m,fullWidth:g,maxWidth:v,scroll:P}),T=_P(M),N=s.useRef(),j=k=>{N.current=k.target===k.currentTarget},F=k=>{O&&O(k),N.current&&(N.current=null,b&&b(k),C&&C(k,"backdropClick"))},A=Oo(l),D=s.useMemo(()=>({titleId:A}),[A]);return S.jsx(wP,h({className:B(T.root,f),closeAfterTransition:!0,components:{Backdrop:CP},componentsProps:{backdrop:h({transitionDuration:E,as:c},u)},disableEscapeKeyDown:p,onClose:C,open:x,ref:r,onClick:F,ownerState:M},$,{children:S.jsx(w,h({appear:!0,in:x,timeout:E,role:"presentation"},R,{children:S.jsx(PP,{className:B(T.container),onMouseDown:j,ownerState:M,children:S.jsx(EP,h({as:y,elevation:24,role:"dialog","aria-describedby":i,"aria-labelledby":A},_,{className:B(T.paper,_.className),ownerState:M,children:S.jsx(ov.Provider,{value:D,children:d})}))})}))}))});function SP(e){return Z("MuiDialogActions",e)}ee("MuiDialogActions",["root","spacing"]);const $P=["className","disableSpacing"],RP=e=>{const{classes:t,disableSpacing:r}=e;return re({root:["root",!r&&"spacing"]},SP,t)},kP=I("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})(({ownerState:e})=>h({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),tu=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiDialogActions"}),{className:o,disableSpacing:a=!1}=n,i=W(n,$P),l=h({},n,{disableSpacing:a}),c=RP(l);return S.jsx(kP,h({className:B(c.root,o),ownerState:l,ref:r},i))});function IP(e){return Z("MuiDialogContent",e)}ee("MuiDialogContent",["root","dividers"]);function TP(e){return Z("MuiDialogTitle",e)}const jP=ee("MuiDialogTitle",["root"]),MP=["className","dividers"],AP=e=>{const{classes:t,dividers:r}=e;return re({root:["root",r&&"dividers"]},IP,t)},NP=I("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>h({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${jP.root} + &`]:{paddingTop:0}})),ru=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiDialogContent"}),{className:o,dividers:a=!1}=n,i=W(n,MP),l=h({},n,{dividers:a}),c=AP(l);return S.jsx(NP,h({className:B(c.root,o),ownerState:l,ref:r},i))});function FP(e){return Z("MuiDialogContentText",e)}ee("MuiDialogContentText",["root"]);const BP=["children","className"],DP=e=>{const{classes:t}=e,n=re({root:["root"]},FP,t);return h({},t,n)},LP=I(Ve,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),av=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiDialogContentText"}),{className:o}=n,a=W(n,BP),i=DP(a);return S.jsx(LP,h({component:"p",variant:"body1",color:"text.secondary",ref:r,ownerState:a,className:B(i.root,o)},n,{classes:i}))}),zP=["className","id"],WP=e=>{const{classes:t}=e;return re({root:["root"]},TP,t)},VP=I(Ve,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),nu=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiDialogTitle"}),{className:o,id:a}=n,i=W(n,zP),l=n,c=WP(l),{titleId:u=a}=s.useContext(ov);return S.jsx(VP,h({component:"h2",className:B(c.root,o),ownerState:l,ref:r,variant:"h6",id:a??u},i))}),ff=ee("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),HP=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function UP(e,t,r){const n=t.getBoundingClientRect(),o=r&&r.getBoundingClientRect(),a=Ht(t);let i;if(t.fakeTransform)i=t.fakeTransform;else{const u=a.getComputedStyle(t);i=u.getPropertyValue("-webkit-transform")||u.getPropertyValue("transform")}let l=0,c=0;if(i&&i!=="none"&&typeof i=="string"){const u=i.split("(")[1].split(")")[0].split(",");l=parseInt(u[4],10),c=parseInt(u[5],10)}return e==="left"?o?`translateX(${o.right+l-n.left}px)`:`translateX(${a.innerWidth+l-n.left}px)`:e==="right"?o?`translateX(-${n.right-o.left-l}px)`:`translateX(-${n.left+n.width-l}px)`:e==="up"?o?`translateY(${o.bottom+c-n.top}px)`:`translateY(${a.innerHeight+c-n.top}px)`:o?`translateY(-${n.top-o.top+n.height-c}px)`:`translateY(-${n.top+n.height-c}px)`}function qP(e){return typeof e=="function"?e():e}function Wo(e,t,r){const n=qP(r),o=UP(e,t,n);o&&(t.style.webkitTransform=o,t.style.transform=o)}const KP=s.forwardRef(function(t,r){const n=Rr(),o={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},a={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:l=!0,children:c,container:u,direction:d="down",easing:f=o,in:p,onEnter:m,onEntered:g,onEntering:v,onExit:b,onExited:O,onExiting:C,style:x,timeout:y=a,TransitionComponent:_=At}=t,P=W(t,HP),w=s.useRef(null),E=Me(c.ref,w,r),R=k=>L=>{k&&(L===void 0?k(w.current):k(w.current,L))},$=R((k,L)=>{Wo(d,k,u),Vc(k),m&&m(k,L)}),M=R((k,L)=>{const V=dn({timeout:y,style:x,easing:f},{mode:"enter"});k.style.webkitTransition=n.transitions.create("-webkit-transform",h({},V)),k.style.transition=n.transitions.create("transform",h({},V)),k.style.webkitTransform="none",k.style.transform="none",v&&v(k,L)}),T=R(g),N=R(C),j=R(k=>{const L=dn({timeout:y,style:x,easing:f},{mode:"exit"});k.style.webkitTransition=n.transitions.create("-webkit-transform",L),k.style.transition=n.transitions.create("transform",L),Wo(d,k,u),b&&b(k)}),F=R(k=>{k.style.webkitTransition="",k.style.transition="",O&&O(k)}),A=k=>{i&&i(w.current,k)},D=s.useCallback(()=>{w.current&&Wo(d,w.current,u)},[d,u]);return s.useEffect(()=>{if(p||d==="down"||d==="right")return;const k=Fi(()=>{w.current&&Wo(d,w.current,u)}),L=Ht(w.current);return L.addEventListener("resize",k),()=>{k.clear(),L.removeEventListener("resize",k)}},[d,p,u]),s.useEffect(()=>{p||D()},[p,D]),S.jsx(_,h({nodeRef:w,onEnter:$,onEntered:T,onEntering:M,onExit:j,onExited:F,onExiting:N,addEndListener:A,appear:l,in:p,timeout:y},P,{children:(k,L)=>s.cloneElement(c,h({ref:E,style:h({visibility:k==="exited"&&!p?"hidden":void 0},x,c.props.style)},L))}))}),GP=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],XP=e=>{const{classes:t,disableUnderline:r}=e,o=re({root:["root",!r&&"underline"],input:["input"]},Q_,t);return h({},t,o)},YP=I(es,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...Ji(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var r;const n=e.palette.mode==="light",o=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return h({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${fr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${fr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:l}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(r=(e.vars||e).palette[t.color||"primary"])==null?void 0:r.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${fr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${fr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${fr.disabled}, .${fr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${fr.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&h({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9}))}),QP=I(ts,{name:"MuiFilledInput",slot:"Input",overridesResolver:Zi})(({theme:e,ownerState:t})=>h({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),ou=s.forwardRef(function(t,r){var n,o,a,i;const l=oe({props:t,name:"MuiFilledInput"}),{components:c={},componentsProps:u,fullWidth:d=!1,inputComponent:f="input",multiline:p=!1,slotProps:m,slots:g={},type:v="text"}=l,b=W(l,GP),O=h({},l,{fullWidth:d,inputComponent:f,multiline:p,type:v}),C=XP(l),x={root:{ownerState:O},input:{ownerState:O}},y=m??u?Qe(x,m??u):x,_=(n=(o=g.root)!=null?o:c.Root)!=null?n:YP,P=(a=(i=g.input)!=null?i:c.Input)!=null?a:QP;return S.jsx(Zc,h({slots:{root:_,input:P},componentsProps:y,fullWidth:d,inputComponent:f,multiline:p,ref:r,type:v},b,{classes:C}))});ou.muiName="Input";function JP(e){return Z("MuiFormControl",e)}ee("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const ZP=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],eE=e=>{const{classes:t,margin:r,fullWidth:n}=e,o={root:["root",r!=="none"&&`margin${z(r)}`,n&&"fullWidth"]};return re(o,JP,t)},tE=I("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>h({},t.root,t[`margin${z(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>h({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),rE=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiFormControl"}),{children:o,className:a,color:i="primary",component:l="div",disabled:c=!1,error:u=!1,focused:d,fullWidth:f=!1,hiddenLabel:p=!1,margin:m="none",required:g=!1,size:v="medium",variant:b="outlined"}=n,O=W(n,ZP),C=h({},n,{color:i,component:l,disabled:c,error:u,fullWidth:f,hiddenLabel:p,margin:m,required:g,size:v,variant:b}),x=eE(C),[y,_]=s.useState(()=>{let N=!1;return o&&s.Children.forEach(o,j=>{if(!Zo(j,["Input","Select"]))return;const F=Zo(j,["Select"])?j.props.input:j;F&&H_(F.props)&&(N=!0)}),N}),[P,w]=s.useState(()=>{let N=!1;return o&&s.Children.forEach(o,j=>{Zo(j,["Input","Select"])&&(Ea(j.props,!0)||Ea(j.props.inputProps,!0))&&(N=!0)}),N}),[E,R]=s.useState(!1);c&&E&&R(!1);const $=d!==void 0&&!c?d:E;let M;const T=s.useMemo(()=>({adornedStart:y,setAdornedStart:_,color:i,disabled:c,error:u,filled:P,focused:$,fullWidth:f,hiddenLabel:p,size:v,onBlur:()=>{R(!1)},onEmpty:()=>{w(!1)},onFilled:()=>{w(!0)},onFocus:()=>{R(!0)},registerEffect:M,required:g,variant:b}),[y,i,c,u,P,$,f,p,M,g,v,b]);return S.jsx(Jc.Provider,{value:T,children:S.jsx(tE,h({as:l,ownerState:C,className:B(x.root,a),ref:r},O,{children:o}))})}),as=ax({createStyledComponent:I("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>oe({props:e,name:"MuiStack"})});function nE(e){return Z("MuiFormHelperText",e)}const pf=ee("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var mf;const oE=["children","className","component","disabled","error","filled","focused","margin","required","variant"],aE=e=>{const{classes:t,contained:r,size:n,disabled:o,error:a,filled:i,focused:l,required:c}=e,u={root:["root",o&&"disabled",a&&"error",n&&`size${z(n)}`,r&&"contained",l&&"focused",i&&"filled",c&&"required"]};return re(u,nE,t)},iE=I("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.size&&t[`size${z(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})(({theme:e,ownerState:t})=>h({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${pf.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${pf.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),sE=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiFormHelperText"}),{children:o,className:a,component:i="p"}=n,l=W(n,oE),c=kr(),u=En({props:n,muiFormControl:c,states:["variant","size","disabled","error","filled","focused","required"]}),d=h({},n,{component:i,contained:u.variant==="filled"||u.variant==="outlined",variant:u.variant,size:u.size,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),f=aE(d);return S.jsx(iE,h({as:i,ownerState:d,className:B(f.root,a),ref:r},l,{children:o===" "?mf||(mf=S.jsx("span",{className:"notranslate",children:"​"})):o}))});function lE(e){return Z("MuiFormLabel",e)}const Kn=ee("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),cE=["children","className","color","component","disabled","error","filled","focused","required"],uE=e=>{const{classes:t,color:r,focused:n,disabled:o,error:a,filled:i,required:l}=e,c={root:["root",`color${z(r)}`,o&&"disabled",a&&"error",i&&"filled",n&&"focused",l&&"required"],asterisk:["asterisk",a&&"error"]};return re(c,lE,t)},dE=I("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>h({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>h({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Kn.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Kn.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Kn.error}`]:{color:(e.vars||e).palette.error.main}})),fE=I("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${Kn.error}`]:{color:(e.vars||e).palette.error.main}})),pE=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiFormLabel"}),{children:o,className:a,component:i="label"}=n,l=W(n,cE),c=kr(),u=En({props:n,muiFormControl:c,states:["color","required","focused","disabled","error","filled"]}),d=h({},n,{color:u.color||"primary",component:i,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),f=uE(d);return S.jsxs(dE,h({as:i,ownerState:d,className:B(f.root,a),ref:r},l,{children:[o,u.required&&S.jsxs(fE,{ownerState:d,"aria-hidden":!0,className:f.asterisk,children:[" ","*"]})]}))}),mE=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function rl(e){return`scale(${e}, ${e**2})`}const vE={entering:{opacity:1,transform:rl(1)},entered:{opacity:1,transform:"none"}},Ps=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),$a=s.forwardRef(function(t,r){const{addEndListener:n,appear:o=!0,children:a,easing:i,in:l,onEnter:c,onEntered:u,onEntering:d,onExit:f,onExited:p,onExiting:m,style:g,timeout:v="auto",TransitionComponent:b=At}=t,O=W(t,mE),C=Ur(),x=s.useRef(),y=Rr(),_=s.useRef(null),P=Me(_,a.ref,r),w=F=>A=>{if(F){const D=_.current;A===void 0?F(D):F(D,A)}},E=w(d),R=w((F,A)=>{Vc(F);const{duration:D,delay:k,easing:L}=dn({style:g,timeout:v,easing:i},{mode:"enter"});let V;v==="auto"?(V=y.transitions.getAutoHeightDuration(F.clientHeight),x.current=V):V=D,F.style.transition=[y.transitions.create("opacity",{duration:V,delay:k}),y.transitions.create("transform",{duration:Ps?V:V*.666,delay:k,easing:L})].join(","),c&&c(F,A)}),$=w(u),M=w(m),T=w(F=>{const{duration:A,delay:D,easing:k}=dn({style:g,timeout:v,easing:i},{mode:"exit"});let L;v==="auto"?(L=y.transitions.getAutoHeightDuration(F.clientHeight),x.current=L):L=A,F.style.transition=[y.transitions.create("opacity",{duration:L,delay:D}),y.transitions.create("transform",{duration:Ps?L:L*.666,delay:Ps?D:D||L*.333,easing:k})].join(","),F.style.opacity=0,F.style.transform=rl(.75),f&&f(F)}),N=w(p),j=F=>{v==="auto"&&C.start(x.current||0,F),n&&n(_.current,F)};return S.jsx(b,h({appear:o,in:l,nodeRef:_,onEnter:R,onEntered:$,onEntering:E,onExit:T,onExited:N,onExiting:M,addEndListener:j,timeout:v==="auto"?null:v},O,{children:(F,A)=>s.cloneElement(a,h({style:h({opacity:0,transform:rl(.75),visibility:F==="exited"&&!l?"hidden":void 0},vE[F],g,a.props.style),ref:P},A))}))});$a.muiSupportAuto=!0;const gE=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],hE=e=>{const{classes:t,disableUnderline:r}=e,o=re({root:["root",!r&&"underline"],input:["input"]},X_,t);return h({},t,o)},yE=I(es,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...Ji(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),h({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Mn.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Mn.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Mn.disabled}, .${Mn.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Mn.disabled}:before`]:{borderBottomStyle:"dotted"}})}),bE=I(ts,{name:"MuiInput",slot:"Input",overridesResolver:Zi})({}),au=s.forwardRef(function(t,r){var n,o,a,i;const l=oe({props:t,name:"MuiInput"}),{disableUnderline:c,components:u={},componentsProps:d,fullWidth:f=!1,inputComponent:p="input",multiline:m=!1,slotProps:g,slots:v={},type:b="text"}=l,O=W(l,gE),C=hE(l),y={root:{ownerState:{disableUnderline:c}}},_=g??d?Qe(g??d,y):y,P=(n=(o=v.root)!=null?o:u.Root)!=null?n:yE,w=(a=(i=v.input)!=null?i:u.Input)!=null?a:bE;return S.jsx(Zc,h({slots:{root:P,input:w},slotProps:_,fullWidth:f,inputComponent:p,multiline:m,ref:r,type:b},O,{classes:C}))});au.muiName="Input";function xE(e){return Z("MuiInputLabel",e)}ee("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const OE=["disableAnimation","margin","shrink","variant","className"],CE=e=>{const{classes:t,formControl:r,size:n,shrink:o,disableAnimation:a,variant:i,required:l}=e,c={root:["root",r&&"formControl",!a&&"animated",o&&"shrink",n&&n!=="normal"&&`size${z(n)}`,i],asterisk:[l&&"asterisk"]},u=re(c,xE,t);return h({},t,u)},_E=I(pE,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Kn.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,r.size==="small"&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})(({theme:e,ownerState:t})=>h({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&h({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&h({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&h({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),wE=s.forwardRef(function(t,r){const n=oe({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,shrink:a,className:i}=n,l=W(n,OE),c=kr();let u=a;typeof u>"u"&&c&&(u=c.filled||c.focused||c.adornedStart);const d=En({props:n,muiFormControl:c,states:["size","variant","required","focused"]}),f=h({},n,{disableAnimation:o,formControl:c,shrink:u,size:d.size,variant:d.variant,required:d.required,focused:d.focused}),p=CE(f);return S.jsx(_E,h({"data-shrink":u,ownerState:f,ref:r,className:B(p.root,i)},l,{classes:p}))}),fo=s.createContext({});function PE(e){return Z("MuiList",e)}ee("MuiList",["root","padding","dense","subheader"]);const EE=["children","className","component","dense","disablePadding","subheader"],SE=e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return re({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},PE,t)},$E=I("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})(({ownerState:e})=>h({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),RE=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiList"}),{children:o,className:a,component:i="ul",dense:l=!1,disablePadding:c=!1,subheader:u}=n,d=W(n,EE),f=s.useMemo(()=>({dense:l}),[l]),p=h({},n,{component:i,dense:l,disablePadding:c}),m=SE(p);return S.jsx(fo.Provider,{value:f,children:S.jsxs($E,h({as:i,className:B(m.root,a),ref:r,ownerState:p},d,{children:[u,o]}))})});function kE(e){return Z("MuiListItemIcon",e)}const vf=ee("MuiListItemIcon",["root","alignItemsFlexStart"]),IE=["className"],TE=e=>{const{alignItems:t,classes:r}=e;return re({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},kE,r)},jE=I("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>h({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),iv=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiListItemIcon"}),{className:o}=n,a=W(n,IE),i=s.useContext(fo),l=h({},n,{alignItems:i.alignItems}),c=TE(l);return S.jsx(jE,h({className:B(c.root,o),ownerState:l,ref:r},a))});function ME(e){return Z("MuiListItemText",e)}const Ra=ee("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),AE=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],NE=e=>{const{classes:t,inset:r,primary:n,secondary:o,dense:a}=e;return re({root:["root",r&&"inset",a&&"dense",n&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},ME,t)},FE=I("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Ra.primary}`]:t.primary},{[`& .${Ra.secondary}`]:t.secondary},t.root,r.inset&&t.inset,r.primary&&r.secondary&&t.multiline,r.dense&&t.dense]}})(({ownerState:e})=>h({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),BE=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiListItemText"}),{children:o,className:a,disableTypography:i=!1,inset:l=!1,primary:c,primaryTypographyProps:u,secondary:d,secondaryTypographyProps:f}=n,p=W(n,AE),{dense:m}=s.useContext(fo);let g=c??o,v=d;const b=h({},n,{disableTypography:i,inset:l,primary:!!g,secondary:!!v,dense:m}),O=NE(b);return g!=null&&g.type!==Ve&&!i&&(g=S.jsx(Ve,h({variant:m?"body2":"body1",className:O.primary,component:u!=null&&u.variant?void 0:"span",display:"block"},u,{children:g}))),v!=null&&v.type!==Ve&&!i&&(v=S.jsx(Ve,h({variant:"body2",className:O.secondary,color:"text.secondary",display:"block"},f,{children:v}))),S.jsxs(FE,h({className:B(O.root,a),ownerState:b,ref:r},p,{children:[g,v]}))}),DE=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Es(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function gf(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function sv(e,t){if(t===void 0)return!0;let r=e.innerText;return r===void 0&&(r=e.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.indexOf(t.keys.join(""))===0}function An(e,t,r,n,o,a){let i=!1,l=o(e,t,t?r:!1);for(;l;){if(l===e.firstChild){if(i)return!1;i=!0}const c=n?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!sv(l,a)||c)l=o(e,l,r);else return l.focus(),!0}return!1}const lv=s.forwardRef(function(t,r){const{actions:n,autoFocus:o=!1,autoFocusItem:a=!1,children:i,className:l,disabledItemsFocusable:c=!1,disableListWrap:u=!1,onKeyDown:d,variant:f="selectedMenu"}=t,p=W(t,DE),m=s.useRef(null),g=s.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Ct(()=>{o&&m.current.focus()},[o]),s.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(x,{direction:y})=>{const _=!m.current.style.width;if(x.clientHeight{const y=m.current,_=x.key,P=tt(y).activeElement;if(_==="ArrowDown")x.preventDefault(),An(y,P,u,c,Es);else if(_==="ArrowUp")x.preventDefault(),An(y,P,u,c,gf);else if(_==="Home")x.preventDefault(),An(y,null,u,c,Es);else if(_==="End")x.preventDefault(),An(y,null,u,c,gf);else if(_.length===1){const w=g.current,E=_.toLowerCase(),R=performance.now();w.keys.length>0&&(R-w.lastTime>500?(w.keys=[],w.repeating=!0,w.previousKeyMatched=!0):w.repeating&&E!==w.keys[0]&&(w.repeating=!1)),w.lastTime=R,w.keys.push(E);const $=P&&!w.repeating&&sv(P,w);w.previousKeyMatched&&($||An(y,P,!1,c,Es,w))?x.preventDefault():w.previousKeyMatched=!1}d&&d(x)},b=Me(m,r);let O=-1;s.Children.forEach(i,(x,y)=>{if(!s.isValidElement(x)){O===y&&(O+=1,O>=i.length&&(O=-1));return}x.props.disabled||(f==="selectedMenu"&&x.props.selected||O===-1)&&(O=y),O===y&&(x.props.disabled||x.props.muiSkipListHighlight||x.type.muiSkipListHighlight)&&(O+=1,O>=i.length&&(O=-1))});const C=s.Children.map(i,(x,y)=>{if(y===O){const _={};return a&&(_.autoFocus=!0),x.props.tabIndex===void 0&&f==="selectedMenu"&&(_.tabIndex=0),s.cloneElement(x,_)}return x});return S.jsx(RE,h({role:"menu",ref:b,className:l,onKeyDown:v,tabIndex:o?0:-1},p,{children:C}))});function LE(e){return Z("MuiPopover",e)}ee("MuiPopover",["root","paper"]);const zE=["onEntering"],WE=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],VE=["slotProps"];function hf(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function yf(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function bf(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Ss(e){return typeof e=="function"?e():e}const HE=e=>{const{classes:t}=e;return re({root:["root"],paper:["paper"]},LE,t)},UE=I(nv,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),cv=I(Pn,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),uv=s.forwardRef(function(t,r){var n,o,a;const i=oe({props:t,name:"MuiPopover"}),{action:l,anchorEl:c,anchorOrigin:u={vertical:"top",horizontal:"left"},anchorPosition:d,anchorReference:f="anchorEl",children:p,className:m,container:g,elevation:v=8,marginThreshold:b=16,open:O,PaperProps:C={},slots:x,slotProps:y,transformOrigin:_={vertical:"top",horizontal:"left"},TransitionComponent:P=$a,transitionDuration:w="auto",TransitionProps:{onEntering:E}={},disableScrollLock:R=!1}=i,$=W(i.TransitionProps,zE),M=W(i,WE),T=(n=y==null?void 0:y.paper)!=null?n:C,N=s.useRef(),j=Me(N,T.ref),F=h({},i,{anchorOrigin:u,anchorReference:f,elevation:v,marginThreshold:b,externalPaperSlotProps:T,transformOrigin:_,TransitionComponent:P,transitionDuration:w,TransitionProps:$}),A=HE(F),D=s.useCallback(()=>{if(f==="anchorPosition")return d;const te=Ss(c),de=(te&&te.nodeType===1?te:tt(N.current).body).getBoundingClientRect();return{top:de.top+hf(de,u.vertical),left:de.left+yf(de,u.horizontal)}},[c,u.horizontal,u.vertical,d,f]),k=s.useCallback(te=>({vertical:hf(te,_.vertical),horizontal:yf(te,_.horizontal)}),[_.horizontal,_.vertical]),L=s.useCallback(te=>{const pe={width:te.offsetWidth,height:te.offsetHeight},de=k(pe);if(f==="none")return{top:null,left:null,transformOrigin:bf(de)};const at=D();let qe=at.top-de.vertical,De=at.left-de.horizontal;const Je=qe+pe.height,Re=De+pe.width,Oe=Ht(Ss(c)),Ke=Oe.innerHeight-b,Ae=Oe.innerWidth-b;if(b!==null&&qeKe){const he=Je-Ke;qe-=he,de.vertical+=he}if(b!==null&&DeAe){const he=Re-Ae;De-=he,de.horizontal+=he}return{top:`${Math.round(qe)}px`,left:`${Math.round(De)}px`,transformOrigin:bf(de)}},[c,f,D,k,b]),[V,U]=s.useState(O),ie=s.useCallback(()=>{const te=N.current;if(!te)return;const pe=L(te);pe.top!==null&&(te.style.top=pe.top),pe.left!==null&&(te.style.left=pe.left),te.style.transformOrigin=pe.transformOrigin,U(!0)},[L]);s.useEffect(()=>(R&&window.addEventListener("scroll",ie),()=>window.removeEventListener("scroll",ie)),[c,R,ie]);const se=(te,pe)=>{E&&E(te,pe),ie()},G=()=>{U(!1)};s.useEffect(()=>{O&&ie()}),s.useImperativeHandle(l,()=>O?{updatePosition:()=>{ie()}}:null,[O,ie]),s.useEffect(()=>{if(!O)return;const te=Fi(()=>{ie()}),pe=Ht(c);return pe.addEventListener("resize",te),()=>{te.clear(),pe.removeEventListener("resize",te)}},[c,O,ie]);let H=w;w==="auto"&&!P.muiSupportAuto&&(H=void 0);const Q=g||(c?tt(Ss(c)).body:void 0),fe=(o=x==null?void 0:x.root)!=null?o:UE,ne=(a=x==null?void 0:x.paper)!=null?a:cv,le=Sr({elementType:ne,externalSlotProps:h({},T,{style:V?T.style:h({},T.style,{opacity:0})}),additionalProps:{elevation:v,ref:j},ownerState:F,className:B(A.paper,T==null?void 0:T.className)}),$e=Sr({elementType:fe,externalSlotProps:(y==null?void 0:y.root)||{},externalForwardedProps:M,additionalProps:{ref:r,slotProps:{backdrop:{invisible:!0}},container:Q,open:O},ownerState:F,className:B(A.root,m)}),{slotProps:J}=$e,ge=W($e,VE);return S.jsx(fe,h({},ge,!Ca(fe)&&{slotProps:J,disableScrollLock:R},{children:S.jsx(P,h({appear:!0,in:O,onEntering:se,onExited:G,timeout:H},$,{children:S.jsx(ne,h({},le,{children:p}))}))}))});function qE(e){return Z("MuiMenu",e)}ee("MuiMenu",["root","paper","list"]);const KE=["onEntering"],GE=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],XE={vertical:"top",horizontal:"right"},YE={vertical:"top",horizontal:"left"},QE=e=>{const{classes:t}=e;return re({root:["root"],paper:["paper"],list:["list"]},qE,t)},JE=I(uv,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ZE=I(cv,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),eS=I(lv,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),is=s.forwardRef(function(t,r){var n,o;const a=oe({props:t,name:"MuiMenu"}),{autoFocus:i=!0,children:l,className:c,disableAutoFocusItem:u=!1,MenuListProps:d={},onClose:f,open:p,PaperProps:m={},PopoverClasses:g,transitionDuration:v="auto",TransitionProps:{onEntering:b}={},variant:O="selectedMenu",slots:C={},slotProps:x={}}=a,y=W(a.TransitionProps,KE),_=W(a,GE),P=wm(),w=h({},a,{autoFocus:i,disableAutoFocusItem:u,MenuListProps:d,onEntering:b,PaperProps:m,transitionDuration:v,TransitionProps:y,variant:O}),E=QE(w),R=i&&!u&&p,$=s.useRef(null),M=(k,L)=>{$.current&&$.current.adjustStyleForScrollbar(k,{direction:P?"rtl":"ltr"}),b&&b(k,L)},T=k=>{k.key==="Tab"&&(k.preventDefault(),f&&f(k,"tabKeyDown"))};let N=-1;s.Children.map(l,(k,L)=>{s.isValidElement(k)&&(k.props.disabled||(O==="selectedMenu"&&k.props.selected||N===-1)&&(N=L))});const j=(n=C.paper)!=null?n:ZE,F=(o=x.paper)!=null?o:m,A=Sr({elementType:C.root,externalSlotProps:x.root,ownerState:w,className:[E.root,c]}),D=Sr({elementType:j,externalSlotProps:F,ownerState:w,className:E.paper});return S.jsx(JE,h({onClose:f,anchorOrigin:{vertical:"bottom",horizontal:P?"right":"left"},transformOrigin:P?XE:YE,slots:{paper:j,root:C.root},slotProps:{root:A,paper:D},open:p,ref:r,transitionDuration:v,TransitionProps:h({onEntering:M},y),ownerState:w},_,{classes:g,children:S.jsx(eS,h({onKeyDown:T,actions:$,autoFocus:i&&(N===-1||u),autoFocusItem:R,variant:O},d,{className:B(E.list,d.className),children:l}))}))});function tS(e){return Z("MuiMenuItem",e)}const Nn=ee("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),rS=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],nS=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]},oS=e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:a,classes:i}=e,c=re({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",a&&"selected"]},tS,i);return h({},i,c)},aS=I(fn,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:nS})(({theme:e,ownerState:t})=>h({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Nn.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Se(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Nn.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Se(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Nn.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Se(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Se(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Nn.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Nn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${ff.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${ff.inset}`]:{marginLeft:52},[`& .${Ra.root}`]:{marginTop:0,marginBottom:0},[`& .${Ra.inset}`]:{paddingLeft:36},[`& .${vf.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&h({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${vf.root} svg`]:{fontSize:"1.25rem"}}))),ar=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:a="li",dense:i=!1,divider:l=!1,disableGutters:c=!1,focusVisibleClassName:u,role:d="menuitem",tabIndex:f,className:p}=n,m=W(n,rS),g=s.useContext(fo),v=s.useMemo(()=>({dense:i||g.dense||!1,disableGutters:c}),[g.dense,i,c]),b=s.useRef(null);Ct(()=>{o&&b.current&&b.current.focus()},[o]);const O=h({},n,{dense:v.dense,divider:l,disableGutters:c}),C=oS(n),x=Me(b,r);let y;return n.disabled||(y=f!==void 0?f:-1),S.jsx(fo.Provider,{value:v,children:S.jsx(aS,h({ref:x,role:d,tabIndex:y,component:a,focusVisibleClassName:B(C.focusVisible,u),className:B(C.root,p)},m,{ownerState:O,classes:C}))})});function iS(e){return Z("MuiNativeSelect",e)}const iu=ee("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),sS=["className","disabled","error","IconComponent","inputRef","variant"],lS=e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:a,error:i}=e,l={select:["select",r,n&&"disabled",o&&"multiple",i&&"error"],icon:["icon",`icon${z(r)}`,a&&"iconOpen",n&&"disabled"]};return re(l,iS,t)},dv=({ownerState:e,theme:t})=>h({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":h({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${iu.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),cS=I("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:ot,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${iu.multiple}`]:t.multiple}]}})(dv),fv=({ownerState:e,theme:t})=>h({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${iu.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),uS=I("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${z(r.variant)}`],r.open&&t.iconOpen]}})(fv),dS=s.forwardRef(function(t,r){const{className:n,disabled:o,error:a,IconComponent:i,inputRef:l,variant:c="standard"}=t,u=W(t,sS),d=h({},t,{disabled:o,variant:c,error:a}),f=lS(d);return S.jsxs(s.Fragment,{children:[S.jsx(cS,h({ownerState:d,className:B(f.select,n),disabled:o,ref:l||r},u)),t.multiple?null:S.jsx(uS,{as:i,ownerState:d,className:f.icon})]})});var xf;const fS=["children","classes","className","label","notched"],pS=I("fieldset",{shouldForwardProp:ot})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),mS=I("legend",{shouldForwardProp:ot})(({ownerState:e,theme:t})=>h({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&h({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function vS(e){const{className:t,label:r,notched:n}=e,o=W(e,fS),a=r!=null&&r!=="",i=h({},e,{notched:n,withLabel:a});return S.jsx(pS,h({"aria-hidden":!0,className:t,ownerState:i},o,{children:S.jsx(mS,{ownerState:i,children:a?S.jsx("span",{children:r}):xf||(xf=S.jsx("span",{className:"notranslate",children:"​"}))})}))}const gS=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],hS=e=>{const{classes:t}=e,n=re({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Y_,t);return h({},t,n)},yS=I(es,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Ji})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return h({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${rr.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${rr.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${rr.focused} .${rr.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${rr.error} .${rr.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${rr.disabled} .${rr.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&h({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),bS=I(vS,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),xS=I(ts,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Zi})(({theme:e,ownerState:t})=>h({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),su=s.forwardRef(function(t,r){var n,o,a,i,l;const c=oe({props:t,name:"MuiOutlinedInput"}),{components:u={},fullWidth:d=!1,inputComponent:f="input",label:p,multiline:m=!1,notched:g,slots:v={},type:b="text"}=c,O=W(c,gS),C=hS(c),x=kr(),y=En({props:c,muiFormControl:x,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),_=h({},c,{color:y.color||"primary",disabled:y.disabled,error:y.error,focused:y.focused,formControl:x,fullWidth:d,hiddenLabel:y.hiddenLabel,multiline:m,size:y.size,type:b}),P=(n=(o=v.root)!=null?o:u.Root)!=null?n:yS,w=(a=(i=v.input)!=null?i:u.Input)!=null?a:xS;return S.jsx(Zc,h({slots:{root:P,input:w},renderSuffix:E=>S.jsx(bS,{ownerState:_,className:C.notchedOutline,label:p!=null&&p!==""&&y.required?l||(l=S.jsxs(s.Fragment,{children:[p," ","*"]})):p,notched:typeof g<"u"?g:!!(E.startAdornment||E.filled||E.focused)}),fullWidth:d,inputComponent:f,multiline:m,ref:r,type:b},O,{classes:h({},C,{notchedOutline:null})}))});su.muiName="Input";function OS(e){return Z("MuiSelect",e)}const Fn=ee("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Of;const CS=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],_S=I("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${Fn.select}`]:t.select},{[`&.${Fn.select}`]:t[r.variant]},{[`&.${Fn.error}`]:t.error},{[`&.${Fn.multiple}`]:t.multiple}]}})(dv,{[`&.${Fn.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),wS=I("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${z(r.variant)}`],r.open&&t.iconOpen]}})(fv),PS=I("input",{shouldForwardProp:e=>Fm(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Cf(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function ES(e){return e==null||typeof e=="string"&&!e.trim()}const SS=e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:a,error:i}=e,l={select:["select",r,n&&"disabled",o&&"multiple",i&&"error"],icon:["icon",`icon${z(r)}`,a&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return re(l,OS,t)},$S=s.forwardRef(function(t,r){var n;const{"aria-describedby":o,"aria-label":a,autoFocus:i,autoWidth:l,children:c,className:u,defaultOpen:d,defaultValue:f,disabled:p,displayEmpty:m,error:g=!1,IconComponent:v,inputRef:b,labelId:O,MenuProps:C={},multiple:x,name:y,onBlur:_,onChange:P,onClose:w,onFocus:E,onOpen:R,open:$,readOnly:M,renderValue:T,SelectDisplayProps:N={},tabIndex:j,value:F,variant:A="standard"}=t,D=W(t,CS),[k,L]=lo({controlled:F,default:f,name:"Select"}),[V,U]=lo({controlled:$,default:d,name:"Select"}),ie=s.useRef(null),se=s.useRef(null),[G,H]=s.useState(null),{current:Q}=s.useRef($!=null),[fe,ne]=s.useState(),le=Me(r,b),$e=s.useCallback(q=>{se.current=q,q&&H(q)},[]),J=G==null?void 0:G.parentNode;s.useImperativeHandle(le,()=>({focus:()=>{se.current.focus()},node:ie.current,value:k}),[k]),s.useEffect(()=>{d&&V&&G&&!Q&&(ne(l?null:J.clientWidth),se.current.focus())},[G,l]),s.useEffect(()=>{i&&se.current.focus()},[i]),s.useEffect(()=>{if(!O)return;const q=tt(se.current).getElementById(O);if(q){const Pe=()=>{getSelection().isCollapsed&&se.current.focus()};return q.addEventListener("click",Pe),()=>{q.removeEventListener("click",Pe)}}},[O]);const ge=(q,Pe)=>{q?R&&R(Pe):w&&w(Pe),Q||(ne(l?null:J.clientWidth),U(q))},te=q=>{q.button===0&&(q.preventDefault(),se.current.focus(),ge(!0,q))},pe=q=>{ge(!1,q)},de=s.Children.toArray(c),at=q=>{const Pe=de.find(Ie=>Ie.props.value===q.target.value);Pe!==void 0&&(L(Pe.props.value),P&&P(q,Pe))},qe=q=>Pe=>{let Ie;if(Pe.currentTarget.hasAttribute("tabindex")){if(x){Ie=Array.isArray(k)?k.slice():[];const kt=k.indexOf(q.props.value);kt===-1?Ie.push(q.props.value):Ie.splice(kt,1)}else Ie=q.props.value;if(q.props.onClick&&q.props.onClick(Pe),k!==Ie&&(L(Ie),P)){const kt=Pe.nativeEvent||Pe,Tr=new kt.constructor(kt.type,kt);Object.defineProperty(Tr,"target",{writable:!0,value:{value:Ie,name:y}}),P(Tr,q)}x||ge(!1,Pe)}},De=q=>{M||[" ","ArrowUp","ArrowDown","Enter"].indexOf(q.key)!==-1&&(q.preventDefault(),ge(!0,q))},Je=G!==null&&V,Re=q=>{!Je&&_&&(Object.defineProperty(q,"target",{writable:!0,value:{value:k,name:y}}),_(q))};delete D["aria-invalid"];let Oe,Ke;const Ae=[];let he=!1;(Ea({value:k})||m)&&(T?Oe=T(k):he=!0);const Ge=de.map(q=>{if(!s.isValidElement(q))return null;let Pe;if(x){if(!Array.isArray(k))throw new Error(Qt(2));Pe=k.some(Ie=>Cf(Ie,q.props.value)),Pe&&he&&Ae.push(q.props.children)}else Pe=Cf(k,q.props.value),Pe&&he&&(Ke=q.props.children);return s.cloneElement(q,{"aria-selected":Pe?"true":"false",onClick:qe(q),onKeyUp:Ie=>{Ie.key===" "&&Ie.preventDefault(),q.props.onKeyUp&&q.props.onKeyUp(Ie)},role:"option",selected:Pe,value:void 0,"data-value":q.props.value})});he&&(x?Ae.length===0?Oe=null:Oe=Ae.reduce((q,Pe,Ie)=>(q.push(Pe),Ie{const{classes:t}=e;return t},lu={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>ot(e)&&e!=="variant",slot:"Root"},TS=I(au,lu)(""),jS=I(su,lu)(""),MS=I(ou,lu)(""),pv=s.forwardRef(function(t,r){const n=oe({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:a,classes:i={},className:l,defaultOpen:c=!1,displayEmpty:u=!1,IconComponent:d=J_,id:f,input:p,inputProps:m,label:g,labelId:v,MenuProps:b,multiple:O=!1,native:C=!1,onClose:x,onOpen:y,open:_,renderValue:P,SelectDisplayProps:w,variant:E="outlined"}=n,R=W(n,RS),$=C?dS:$S,M=kr(),T=En({props:n,muiFormControl:M,states:["variant","error"]}),N=T.variant||E,j=h({},n,{variant:N,classes:i}),F=IS(j),A=W(F,kS),D=p||{standard:S.jsx(TS,{ownerState:j}),outlined:S.jsx(jS,{label:g,ownerState:j}),filled:S.jsx(MS,{ownerState:j})}[N],k=Me(r,D.ref);return S.jsx(s.Fragment,{children:s.cloneElement(D,h({inputComponent:$,inputProps:h({children:a,error:T.error,IconComponent:d,variant:N,type:void 0,multiple:O},C?{id:f}:{autoWidth:o,defaultOpen:c,displayEmpty:u,labelId:v,MenuProps:b,onClose:x,onOpen:y,open:_,renderValue:P,SelectDisplayProps:h({id:f},w)},m,{classes:m?Qe(A,m.classes):A},p?p.props.inputProps:{})},(O&&C||u)&&N==="outlined"?{notched:!0}:{},{ref:k,className:B(D.props.className,l,F.root)},!p&&{variant:N},R))})});pv.muiName="Select";function AS(e){return Z("MuiTooltip",e)}const ir=ee("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),NS=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function FS(e){return Math.round(e*1e5)/1e5}const BS=e=>{const{classes:t,disableInteractive:r,arrow:n,touch:o,placement:a}=e,i={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",o&&"touch",`tooltipPlacement${z(a.split("-")[0])}`],arrow:["arrow"]};return re(i,AS,t)},DS=I(Jm,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(({theme:e,ownerState:t,open:r})=>h({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${ir.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${ir.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${ir.arrow}`]:h({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${ir.arrow}`]:h({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),LS=I("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${z(r.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>h({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Se(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${FS(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${ir.popper}[data-popper-placement*="left"] &`]:h({transformOrigin:"right center"},t.isRtl?h({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):h({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${ir.popper}[data-popper-placement*="right"] &`]:h({transformOrigin:"left center"},t.isRtl?h({marginRight:"14px"},t.touch&&{marginRight:"24px"}):h({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${ir.popper}[data-popper-placement*="top"] &`]:h({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${ir.popper}[data-popper-placement*="bottom"] &`]:h({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),zS=I("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Se(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Vo=!1;const _f=new Co;let Bn={x:0,y:0};function Ho(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}const Ir=s.forwardRef(function(t,r){var n,o,a,i,l,c,u,d,f,p,m,g,v,b,O,C,x,y,_;const P=oe({props:t,name:"MuiTooltip"}),{arrow:w=!1,children:E,components:R={},componentsProps:$={},describeChild:M=!1,disableFocusListener:T=!1,disableHoverListener:N=!1,disableInteractive:j=!1,disableTouchListener:F=!1,enterDelay:A=100,enterNextDelay:D=0,enterTouchDelay:k=700,followCursor:L=!1,id:V,leaveDelay:U=0,leaveTouchDelay:ie=1500,onClose:se,onOpen:G,open:H,placement:Q="bottom",PopperComponent:fe,PopperProps:ne={},slotProps:le={},slots:$e={},title:J,TransitionComponent:ge=$a,TransitionProps:te}=P,pe=W(P,NS),de=s.isValidElement(E)?E:S.jsx("span",{children:E}),at=Rr(),qe=wm(),[De,Je]=s.useState(),[Re,Oe]=s.useState(null),Ke=s.useRef(!1),Ae=j||L,he=Ur(),Ge=Ur(),Ze=Ur(),rt=Ur(),[ye,X]=lo({controlled:H,default:!1,name:"Tooltip",state:"open"});let ze=ye;const qt=Oo(V),Rt=s.useRef(),q=Yt(()=>{Rt.current!==void 0&&(document.body.style.WebkitUserSelect=Rt.current,Rt.current=void 0),rt.clear()});s.useEffect(()=>q,[q]);const Pe=ce=>{_f.clear(),Vo=!0,X(!0),G&&!ze&&G(ce)},Ie=Yt(ce=>{_f.start(800+U,()=>{Vo=!1}),X(!1),se&&ze&&se(ce),he.start(at.transitions.duration.shortest,()=>{Ke.current=!1})}),kt=ce=>{Ke.current&&ce.type!=="touchstart"||(De&&De.removeAttribute("title"),Ge.clear(),Ze.clear(),A||Vo&&D?Ge.start(Vo?D:A,()=>{Pe(ce)}):Pe(ce))},Tr=ce=>{Ge.clear(),Ze.start(U,()=>{Ie(ce)})},{isFocusVisibleRef:ed,onBlur:oh,onFocus:ah,ref:ih}=Ac(),[,td]=s.useState(!1),rd=ce=>{oh(ce),ed.current===!1&&(td(!1),Tr(ce))},nd=ce=>{De||Je(ce.currentTarget),ah(ce),ed.current===!0&&(td(!0),kt(ce))},od=ce=>{Ke.current=!0;const ft=de.props;ft.onTouchStart&&ft.onTouchStart(ce)},sh=ce=>{od(ce),Ze.clear(),he.clear(),q(),Rt.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",rt.start(k,()=>{document.body.style.WebkitUserSelect=Rt.current,kt(ce)})},lh=ce=>{de.props.onTouchEnd&&de.props.onTouchEnd(ce),q(),Ze.start(ie,()=>{Ie(ce)})};s.useEffect(()=>{if(!ze)return;function ce(ft){(ft.key==="Escape"||ft.key==="Esc")&&Ie(ft)}return document.addEventListener("keydown",ce),()=>{document.removeEventListener("keydown",ce)}},[Ie,ze]);const ch=Me(de.ref,ih,Je,r);!J&&J!==0&&(ze=!1);const ds=s.useRef(),uh=ce=>{const ft=de.props;ft.onMouseMove&&ft.onMouseMove(ce),Bn={x:ce.clientX,y:ce.clientY},ds.current&&ds.current.update()},$n={},fs=typeof J=="string";M?($n.title=!ze&&fs&&!N?J:null,$n["aria-describedby"]=ze?qt:null):($n["aria-label"]=fs?J:null,$n["aria-labelledby"]=ze&&!fs?qt:null);const It=h({},$n,pe,de.props,{className:B(pe.className,de.props.className),onTouchStart:od,ref:ch},L?{onMouseMove:uh}:{}),Rn={};F||(It.onTouchStart=sh,It.onTouchEnd=lh),N||(It.onMouseOver=Ho(kt,It.onMouseOver),It.onMouseLeave=Ho(Tr,It.onMouseLeave),Ae||(Rn.onMouseOver=kt,Rn.onMouseLeave=Tr)),T||(It.onFocus=Ho(nd,It.onFocus),It.onBlur=Ho(rd,It.onBlur),Ae||(Rn.onFocus=nd,Rn.onBlur=rd));const dh=s.useMemo(()=>{var ce;let ft=[{name:"arrow",enabled:!!Re,options:{element:Re,padding:4}}];return(ce=ne.popperOptions)!=null&&ce.modifiers&&(ft=ft.concat(ne.popperOptions.modifiers)),h({},ne.popperOptions,{modifiers:ft})},[Re,ne]),kn=h({},P,{isRtl:qe,arrow:w,disableInteractive:Ae,placement:Q,PopperComponentProp:fe,touch:Ke.current}),ps=BS(kn),ad=(n=(o=$e.popper)!=null?o:R.Popper)!=null?n:DS,id=(a=(i=(l=$e.transition)!=null?l:R.Transition)!=null?i:ge)!=null?a:$a,sd=(c=(u=$e.tooltip)!=null?u:R.Tooltip)!=null?c:LS,ld=(d=(f=$e.arrow)!=null?f:R.Arrow)!=null?d:zS,fh=qr(ad,h({},ne,(p=le.popper)!=null?p:$.popper,{className:B(ps.popper,ne==null?void 0:ne.className,(m=(g=le.popper)!=null?g:$.popper)==null?void 0:m.className)}),kn),ph=qr(id,h({},te,(v=le.transition)!=null?v:$.transition),kn),mh=qr(sd,h({},(b=le.tooltip)!=null?b:$.tooltip,{className:B(ps.tooltip,(O=(C=le.tooltip)!=null?C:$.tooltip)==null?void 0:O.className)}),kn),vh=qr(ld,h({},(x=le.arrow)!=null?x:$.arrow,{className:B(ps.arrow,(y=(_=le.arrow)!=null?_:$.arrow)==null?void 0:y.className)}),kn);return S.jsxs(s.Fragment,{children:[s.cloneElement(de,It),S.jsx(ad,h({as:fe??Jm,placement:Q,anchorEl:L?{getBoundingClientRect:()=>({top:Bn.y,left:Bn.x,right:Bn.x,bottom:Bn.y,width:0,height:0})}:De,popperRef:ds,open:De?ze:!1,id:qt,transition:!0},Rn,fh,{popperOptions:dh,children:({TransitionProps:ce})=>S.jsx(id,h({timeout:at.transitions.duration.shorter},ce,ph,{children:S.jsxs(sd,h({},mh,{children:[J,w?S.jsx(ld,h({},vh,{ref:Oe})):null]}))}))}))]})}),WS=s.createContext(),VS=s.createContext();function HS(e){return Z("MuiTableCell",e)}const US=ee("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),qS=["align","className","component","padding","scope","size","sortDirection","variant"],KS=e=>{const{classes:t,variant:r,align:n,padding:o,size:a,stickyHeader:i}=e,l={root:["root",r,i&&"stickyHeader",n!=="inherit"&&`align${z(n)}`,o!=="normal"&&`padding${z(o)}`,`size${z(a)}`]};return re(l,HS,t)},GS=I("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${z(r.size)}`],r.padding!=="normal"&&t[`padding${z(r.padding)}`],r.align!=="inherit"&&t[`align${z(r.align)}`],r.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>h({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid + ${e.palette.mode==="light"?Rm(Se(e.palette.divider,1),.88):$m(Se(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${US.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),pt=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiTableCell"}),{align:o="inherit",className:a,component:i,padding:l,scope:c,size:u,sortDirection:d,variant:f}=n,p=W(n,qS),m=s.useContext(WS),g=s.useContext(VS),v=g&&g.variant==="head";let b;i?b=i:b=v?"th":"td";let O=c;b==="td"?O=void 0:!O&&v&&(O="col");const C=f||g&&g.variant,x=h({},n,{align:o,component:b,padding:l||(m&&m.padding?m.padding:"normal"),size:u||(m&&m.size?m.size:"medium"),sortDirection:d,stickyHeader:C==="head"&&m&&m.stickyHeader,variant:C}),y=KS(x);let _=null;return d&&(_=d==="asc"?"ascending":"descending"),S.jsx(GS,h({as:b,ref:r,className:B(y.root,a),"aria-sort":_,scope:O,ownerState:x},p))});function XS(e){return Z("MuiToolbar",e)}ee("MuiToolbar",["root","gutters","regular","dense"]);const YS=["className","component","disableGutters","variant"],QS=e=>{const{classes:t,disableGutters:r,variant:n}=e;return re({root:["root",!r&&"gutters",n]},XS,t)},JS=I("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.variant]]}})(({theme:e,ownerState:t})=>h({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),So=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiToolbar"}),{className:o,component:a="div",disableGutters:i=!1,variant:l="regular"}=n,c=W(n,YS),u=h({},n,{component:a,disableGutters:i,variant:l}),d=QS(u);return S.jsx(JS,h({as:a,className:B(d.root,o),ref:r,ownerState:u},c))}),TN=er(S.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),jN=er(S.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function ZS(e){return Z("MuiTextField",e)}ee("MuiTextField",["root"]);const e$=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],t$={standard:au,filled:ou,outlined:su},r$=e=>{const{classes:t}=e;return re({root:["root"]},ZS,t)},n$=I(rE,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),cu=s.forwardRef(function(t,r){const n=oe({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:a=!1,children:i,className:l,color:c="primary",defaultValue:u,disabled:d=!1,error:f=!1,FormHelperTextProps:p,fullWidth:m=!1,helperText:g,id:v,InputLabelProps:b,inputProps:O,InputProps:C,inputRef:x,label:y,maxRows:_,minRows:P,multiline:w=!1,name:E,onBlur:R,onChange:$,onFocus:M,placeholder:T,required:N=!1,rows:j,select:F=!1,SelectProps:A,type:D,value:k,variant:L="outlined"}=n,V=W(n,e$),U=h({},n,{autoFocus:a,color:c,disabled:d,error:f,fullWidth:m,multiline:w,required:N,select:F,variant:L}),ie=r$(U),se={};L==="outlined"&&(b&&typeof b.shrink<"u"&&(se.notched=b.shrink),se.label=y),F&&((!A||!A.native)&&(se.id=void 0),se["aria-describedby"]=void 0);const G=Oo(v),H=g&&G?`${G}-helper-text`:void 0,Q=y&&G?`${G}-label`:void 0,fe=t$[L],ne=S.jsx(fe,h({"aria-describedby":H,autoComplete:o,autoFocus:a,defaultValue:u,fullWidth:m,multiline:w,name:E,rows:j,maxRows:_,minRows:P,type:D,value:k,id:G,inputRef:x,onBlur:R,onChange:$,onFocus:M,placeholder:T,inputProps:O},se,C));return S.jsxs(n$,h({className:B(ie.root,l),disabled:d,error:f,fullWidth:m,ref:r,required:N,color:c,variant:L,ownerState:U},V,{children:[y!=null&&y!==""&&S.jsx(wE,h({htmlFor:G,id:Q},b,{children:y})),F?S.jsx(pv,h({"aria-describedby":H,id:G,labelId:Q,value:k,input:ne},A,{children:i})):ne,g&&S.jsx(sE,h({id:H},p,{children:g}))]}))}),o$=["getTrigger","target"];function a$(e,t){const{disableHysteresis:r=!1,threshold:n=100,target:o}=t,a=e.current;return o&&(e.current=o.pageYOffset!==void 0?o.pageYOffset:o.scrollTop),!r&&a!==void 0&&e.currentn}const i$=typeof window<"u"?window:null;function mv(e={}){const{getTrigger:t=a$,target:r=i$}=e,n=W(e,o$),o=s.useRef(),[a,i]=s.useState(()=>t(o,n));return s.useEffect(()=>{const l=()=>{i(t(o,h({target:r},n)))};return l(),r.addEventListener("scroll",l,{passive:!0}),()=>{r.removeEventListener("scroll",l,{passive:!0})}},[r,t,JSON.stringify(n)]),a}var uu={},$s={};const s$=Zt(gO);var wf;function Ce(){return wf||(wf=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=s$}($s)),$s}var l$=ve;Object.defineProperty(uu,"__esModule",{value:!0});var du=uu.default=void 0,c$=l$(Ce()),u$=S;du=uu.default=(0,c$.default)((0,u$.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1z"}),"Lock");var Gn=function(){return Gn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r1?s.createElement(S2,null):null,t&&s.createElement(vR,null),s.createElement(z$,null))},bR=s.createElement(yR,null),xR=s.createElement(Pv,null),gr="RaAppBar",xr={appBar:"".concat(gr,"-appBar"),toolbar:"".concat(gr,"-toolbar"),menuButton:"".concat(gr,"-menuButton"),menuButtonIconClosed:"".concat(gr,"-menuButtonIconClosed"),menuButtonIconOpen:"".concat(gr,"-menuButtonIconOpen"),title:"".concat(gr,"-title")},OR=I(cC,{name:gr,overridesResolver:function(e,t){return t.root}})(function(e){var t,r,n=e.theme;return t={},t["& .".concat(xr.toolbar)]=(r={padding:"0 ".concat(n.spacing(1))},r[n.breakpoints.down("md")]={minHeight:n.spacing(6)},r),t["& .".concat(xr.menuButton)]={marginRight:"0.2em"},t["& .".concat(xr.title)]={},t}),xu={},CR=ve;Object.defineProperty(xu,"__esModule",{value:!0});var Iv=xu.default=void 0,_R=CR(Ce()),wR=S;Iv=xu.default=(0,_R.default)((0,wR.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle");var Ou={},PR=ve;Object.defineProperty(Ou,"__esModule",{value:!0});var Tv=Ou.default=void 0,ER=PR(Ce()),SR=S;Tv=Ou.default=(0,ER.default)((0,SR.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"ErrorOutline");var Yn=function(){return Yn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r element");var c=n===!1?s.createElement(Fv,Na({title:r,defaultTitle:t},o)):s.createElement(sk,Na({title:r,defaultTitle:t,preferenceKey:n},o));return s.createElement(s.Fragment,null,ap.createPortal(c,i))},ml=function(){return ml=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]0,$=q2(b===!1||b===void 0?void 0:!b,u||!R||w||E);up(f==="submit"&&(c&&(c.onSuccess||c.onError)||p),'Cannot use props on a button of type "submit". To override the default mutation options on a particular save button, set the prop, or set mutationOptions in the main view component ( or ).');var M=s.useCallback(function(j){return Rf(void 0,void 0,void 0,function(){var F;return kf(this,function(A){switch(A.label){case 0:return y!=null&&y.save?[4,y.save(j,Zn(Zn({},c),{transform:p}))]:[3,2];case 1:F=A.sent(),A.label=2;case 2:return F!=null&&Wh(F,x.setError),[2]}})})},[x.setError,y,c,p]),T=s.useCallback(function(j){return Rf(void 0,void 0,void 0,function(){return kf(this,function(F){switch(F.label){case 0:return l&&l(j),j.defaultPrevented?[2]:f!=="button"?[3,2]:(j.stopPropagation(),[4,x.handleSubmit(M)(j)]);case 1:F.sent(),F.label=2;case 2:return[2]}})})},[l,f,x,M]),N=i&&C(i,{_:i});return s.createElement(U2,Zn({variant:g,type:f,color:r,"aria-label":N,disabled:$,onClick:T},O),E?s.createElement(os,{sx:W2,size:14,thickness:3,color:"inherit"}):o,N)},W2={"&.MuiCircularProgress-root":{marginRight:"10px",marginLeft:"2px"}},V2=s.createElement(og,null),H2="RaSaveButton",U2=I(ut,{name:H2,overridesResolver:function(e,t){return t.root}})(function(e){var t,r=e.theme;return t={position:"relative"},t["& .MuiSvgIcon-root, & .MuiIcon-root, & .MuiCircularProgress-root"]={marginRight:r.spacing(1)},t["& .MuiSvgIcon-root, & .MuiIcon-root"]={fontSize:18},t}),q2=function(e,t){return typeof e>"u"?t:e},K2=function(){return Y.createElement(X2,{onClick:Y2,className:"skip-nav-button",label:"ra.navigation.skip_nav",variant:"contained"})},G2="RaSkipNavigationButton",X2=I(Nt,{name:G2,overridesResolver:function(e,t){return t.root}})(function(e){var t=e.theme;return{position:"fixed",padding:t.spacing(1),backgroundColor:t.palette.background.default,color:t.palette.getContrastText(t.palette.background.default),transition:t.transitions.create(["top","opacity"],{easing:t.transitions.easing.easeIn,duration:t.transitions.duration.leavingScreen}),left:t.spacing(2),top:t.spacing(-10),zIndex:5e3,"&:hover":{opacity:.8,backgroundColor:t.palette.background.default},"&:focus":{top:t.spacing(2),transition:t.transitions.create(["top","opacity"],{easing:t.transitions.easing.easeOut,duration:t.transitions.duration.enteringScreen})}}}),Y2=function(){if(!(typeof document>"u")){var e=document.getElementById("main-content");e&&(e.setAttribute("tabIndex","-1"),e.focus(),e.blur(),e.removeAttribute("tabIndex"))}},Rl=function(){return Rl=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]"u")throw new Error("DatagridRow expects an id prop");var y=cg(),_=ae(),P=ur(e);if(!P)throw new Error("DatagridRow can only be used within a RecordContext or be passed a record prop");var w=He(e);if(!w)throw new Error("DatagridRow can only be used within a ResourceContext or be passed a resource prop");var E=(!y||!y.isRowExpandable||y.isRowExpandable(P))&&i,R=qh(w,f,y&&y.expandSingle),$=R[0],M=R[1],T=s.useState(function(){return If(E,o,c)}),N=T[0],j=T[1];s.useEffect(function(){var V=If(E,o,c);V!==N&&j(V)},[E,N,o,c]);var F=vc(),A=s.useCallback(function(V){M(),V.stopPropagation()},[M]),D=s.useCallback(function(V){!C||!p||(p(f,V),V.stopPropagation())},[f,p,C]),k=Kh(),L=s.useCallback(function(V){return vI(void 0,void 0,void 0,function(){var U;return gI(this,function(ie){switch(ie.label){case 0:return V.persist(),[4,k({record:P,resource:w,link:typeof m=="function"?function(se,G){return m(se.id,G,se)}:m})];case 1:return U=ie.sent(),m==="expand"?(A(V),[2]):m==="toggleSelection"?(D(V),[2]):U===!1||U==null?[2]:(F(U,{state:{_scrollToTop:!0}}),[2])}})})},[P,w,m,F,A,D,k]);return Y.createElement(Y.Fragment,null,Y.createElement(to,Al({ref:t,className:B(a,(r={},r[K.expandable]=E,r[K.selectable]=C,r[K.clickableRow]=typeof m=="function"?!0:m,r)),key:f,style:b,hover:d,onClick:L},x),i&&Y.createElement(pt,{padding:"none",className:K.expandIconCell},E&&Y.createElement(mI,{className:B(K.expandIcon,(n={},n[K.expanded]=$,n)),expanded:$,onClick:A,expandContentId:"".concat(f,"-expand")})),c&&Y.createElement(pt,{padding:"checkbox"},Y.createElement(Sa,{"aria-label":_("ra.action.select_row",{_:"Select this row"}),color:"primary",className:"select-item ".concat(K.checkbox),checked:C&&v,onClick:D,disabled:!C})),Y.Children.map(o,function(V,U){return s.isValidElement(V)?Y.createElement(lg,{key:"".concat(f,"-").concat(V.props.source||U),className:B("column-".concat(V.props.source),K.rowCell),record:P,field:V,resource:w}):null})),E&&$&&Y.createElement(to,{key:"".concat(f,"-expand"),id:"".concat(f,"-expand"),className:K.expandedPanel},Y.createElement(pt,{colSpan:N},s.isValidElement(i)?i:s.createElement(i))))}),hI=function(e,t){e.children,e.expand;var r=Nl(e,["children","expand"]);t.children,t.expand;var n=Nl(t,["children","expand"]);return Gh(r,n)},dg=s.memo(ug,hI);dg.displayName="PureDatagridRow";var qa=function(){return qa=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=NI&&(a=AI,i=!1,t=new kI(t));e:for(;++o0&&x.length>0&&x.every(function(y){return m.includes(y)}),onChange:C,onClick:function(y){return y.stopPropagation()}})),s.Children.map(t,function(y,_){return s.isValidElement(y)?s.createElement(_I,{className:B(K.headerCell,"column-".concat(y.props.source)),sort:d,field:y,isSorting:(d==null?void 0:d.field)===(y.props.sortBy||y.props.source),key:y.props.source||_,updateSort:O||void 0}):null})))};mg.displayName="DatagridHeader";var KI=function(e){var t=e.children,r=e.value;return Y.createElement(Lu.Provider,{value:r},t)},Wu={},GI=ve;Object.defineProperty(Wu,"__esModule",{value:!0});var vg=Wu.default=void 0,XI=GI(Ce()),YI=S;vg=Wu.default=(0,XI.default)((0,YI.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");var Bl=function(){return Bl=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1] element instead.")})},[r]);var d=function(){if(!r)return[];var m=a.getValues();return r.filter(function(g){var v=zt(m,g.props.source);return g.props.alwaysOn||c[g.props.source]||!hg(v)})},f=s.useCallback(function(m){return u(m.currentTarget.dataset.key)},[u]),p=s.useMemo(function(){return{getSource:function(m){return m},getLabel:function(m){return"resources.".concat(o,".fields.").concat(m)}}},[o]);return s.createElement(fy,{value:p},s.createElement(hT,cr({className:t},mT(n),{onSubmit:pT}),d().map(function(m){return s.createElement(iT,{key:m.key||m.props.source,filterElement:m,handleHide:f,resource:o,className:Ga.filterFormInput})}),s.createElement("div",{className:Ga.clearFix})))},pT=function(e){return e.preventDefault(),!1},mT=function(e){e.hasCreate,e.resource;var t=Vu(e,["hasCreate","resource"]);return t},vT=function(e,t){return cr(cr({},t.filter(function(r){return r.props.alwaysOn&&r.props.defaultValue}).reduce(function(r,n){return py(cr({},r),n.props.source,n.props.defaultValue)},{})),e)},gT=function(e){return e.preventDefault(),e.stopPropagation(),!1},Ll="RaFilterForm",Ga={clearFix:"".concat(Ll,"-clearFix"),filterFormInput:"".concat(Ll,"-filterFormInput")},hT=I("form",{name:Ll,overridesResolver:function(e,t){return t.root}})(function(e){var t,r=e.theme;return t={display:"flex",flex:"0 1 auto"},t[r.breakpoints.down("sm")]={width:"100%"},t[r.breakpoints.up("sm")]={minHeight:r.spacing(8)},t[r.breakpoints.up("md")]={flex:"0 1 100%"},t.flexWrap="wrap",t.alignItems="flex-end",t.pointerEvents="none",t.padding="0 0 ".concat(r.spacing(.5)," 0"),t["& .MuiFormHelperText-root"]={display:"none"},t["& .".concat(Ga.clearFix)]={clear:"right"},t["& .".concat(Ga.filterFormInput," .MuiFormControl-root")]={marginTop:"".concat(r.spacing(1))},t}),yT=function(e,t){var r;return Object.keys(e).reduce(function(n,o){return n[o]=gg(e,o,t),n},(r=xp(t))!==null&&r!==void 0?r:{})},gg=function(e,t,r){if(e[t]===void 0||e[t]===null)return"";if(Array.isArray(e[t]))return zt(r,t,"");if(e[t]instanceof Date)return zt(r,t,"");if(typeof e[t]=="object"){var n=Object.keys(e[t]).reduce(function(o,a){var i,l=gg(e[t],a,(i=(r||{})[t])!==null&&i!==void 0?i:{});return o[a]=l,o},{});return Object.keys(n).length?n:""}return zt(r,t,"")},hg=function(e){return e===""||e==null?!0:typeof e=="object"?Object.keys(e).every(function(t){return hg(e[t])}):!1},Hu={},bT=ve;Object.defineProperty(Hu,"__esModule",{value:!0});var yg=Hu.default=void 0,xT=bT(Ce()),OT=S;yg=Hu.default=(0,xT.default)((0,OT.jsx)("path",{d:"M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"}),"FilterList");var CT=s.forwardRef(function(e,t){var r=e.filter,n=e.onShow,o=e.autoFocus,a=He(e),i=s.useCallback(function(){n({source:r.props.source,defaultValue:r.props.defaultValue})},[r.props.defaultValue,r.props.source,n]);return s.createElement(ar,{className:"new-filter-item","data-key":r.props.source,"data-default-value":r.props.defaultValue,key:r.props.source,onClick:i,autoFocus:o,ref:t,disabled:r.props.disabled},s.createElement(eo,{label:r.props.label,source:r.props.source,resource:a}))}),Uu=function(e){return ni("".concat(e,".savedQueries"),[])},qu=function(e){return Array.isArray(e)?e.filter(function(t){return _T(t)}):[]},_T=function(e){var t,r;return!!(e.label&&typeof e.label=="string"&&e.value&&typeof Array.isArray(e.value.displayedFilters)&&typeof e.value.perPage=="number"&&typeof((t=e.value.sort)===null||t===void 0?void 0:t.field)=="string"&&typeof((r=e.value.sort)===null||r===void 0?void 0:r.order)=="string"&&typeof e.value.filter=="object")},wT=function(e){var t=e.open,r=e.onClose,n=ae(),o=Mt(),a=o.resource,i=o.filterValues,l=o.displayedFilters,c=o.sort,u=o.perPage,d=Uu(a),f=d[0],p=d[1],m=s.useState(""),g=m[0],v=m[1],b=function(x){v(x.target.value)},O=function(x){x.preventDefault(),C()},C=function(){var x={label:g,value:{filter:i,sort:c,perPage:u,displayedFilters:l}},y=qu(f);p(y.concat(x)),v(""),r()};return s.createElement(eu,{open:t,onClose:r,"aria-labelledby":"form-dialog-title"},s.createElement(nu,{id:"form-dialog-title"},n("ra.saved_queries.new_dialog_title",{_:"Save current query as"})),s.createElement(ru,null,s.createElement("form",{onSubmit:O},s.createElement(cu,{autoFocus:!0,margin:"dense",id:"name",label:n("ra.saved_queries.query_name",{_:"Query name"}),fullWidth:!0,value:g,onChange:b}))),s.createElement(tu,null,s.createElement(ut,{onClick:r},n("ra.action.cancel")),s.createElement(ut,{onClick:C,color:"primary"},n("ra.action.save"))))},Nf=function(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n must be called inside a ResourceContextProvider, or must provide a resource prop");var d=Uu(c||"")[0],f=vc(),p=Mt(),m=p.displayedFilters,g=m===void 0?{}:m,v=p.filterValues,b=p.perPage,O=p.setFilters,C=p.showFilter,x=p.sort,y=!Or(v,{}),_=qu(d),P=_.some(function(H){return Or(H.value,{filter:v,sort:x,perPage:b,displayedFilters:g})}),w=s.useState(!1),E=w[0],R=w[1],$=s.useRef();if(l===void 0)throw new Error("The component requires the prop to be set");var M=l.filter(function(H){return!H.props.alwaysOn&&!g[H.props.source]&&typeof zt(v,H.props.source)>"u"}),T=s.useCallback(function(H){H.preventDefault(),R(!0),$.current=H.currentTarget},[$,R]),N=s.useCallback(function(){R(!1)},[R]),j=s.useCallback(function(H){var Q=H.source,fe=H.defaultValue;C(Q,fe===""?void 0:fe),setTimeout(function(){var ne=document.querySelector("input[name='".concat(Q,"']"));ne&&ne.focus()},50),R(!1)},[C,R]),F=s.useState(!1),A=F[0],D=F[1],k=function(){D(!1)},L=function(){R(!1),D(!0)},V=s.useState(!1),U=V[0],ie=V[1],se=function(){ie(!1)},G=function(){R(!1),ie(!0)};return M.length===0&&_.length===0&&!y?null:s.createElement(RT,zl({className:r},ST(i)),s.createElement(Nt,{className:"add-filter",label:"ra.action.add_filter","aria-haspopup":"true",onClick:T,variant:a,size:o},s.createElement(yg,null)),s.createElement(is,{open:E,anchorEl:$.current,onClose:N},M.map(function(H,Q){return s.createElement(CT,{key:H.props.source,filter:H,resource:c,onShow:j,autoFocus:Q===0})}),_.map(function(H,Q){return Or(H.value,{filter:v,sort:x,perPage:b,displayedFilters:g})?s.createElement(ar,{onClick:G,key:Q},u("ra.saved_queries.remove_label_with_name",{_:'Remove query "%{name}"',name:H.label})):s.createElement(ar,{onClick:function(){var fe,ne;f({search:my.stringify({filter:JSON.stringify(H.value.filter),sort:(fe=H.value.sort)===null||fe===void 0?void 0:fe.field,order:(ne=H.value.sort)===null||ne===void 0?void 0:ne.order,page:1,perPage:H.value.perPage,displayedFilters:JSON.stringify(H.value.displayedFilters)})}),R(!1)},key:Q},H.label)}),y&&!P&&!n&&s.createElement(ar,{onClick:L},u("ra.saved_queries.new_label",{_:"Save current query..."})),y&&s.createElement(ar,{onClick:function(){O({},{}),R(!1)}},u("ra.action.remove_all_filters",{_:"Remove all filters"}))),!n&&s.createElement(s.Fragment,null,s.createElement(wT,{open:A,onClose:k}),s.createElement(PT,{open:U,onClose:se})))},ST=function(e){e.displayedFilters,e.filterValues,e.showFilter;var t=bg(e,["displayedFilters","filterValues","showFilter"]);return t},$T="RaFilterButton",RT=I("div",{name:$T,overridesResolver:function(e,t){return t.root}})({display:"inline-block"}),kT=vy,IT=Op,TT=1,jT=2;function MT(e,t,r,n){var o=r.length,a=o,i=!n;if(e==null)return!a;for(e=Object(e);o--;){var l=r[o];if(i&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++oO-1)throw new Error(v("ra.navigation.page_out_of_boundaries",{page:E+1}));m(E+1)},[O,m,v]),x=s.useCallback(function(w){g(w.target.value)},[g]),y=s.useCallback(function(w){var E=w.from,R=w.to,$=w.count;return $===-1&&u?v("ra.navigation.partial_page_range_info",{offsetBegin:E,offsetEnd:R,_:"%{from}-%{to} of more than %{to}"}):v("ra.navigation.page_range_info",{offsetBegin:E,offsetEnd:R,total:$===-1?R:$,_:"%{from}-%{to} of %{count === -1 ? to : count}"})},[v,u]),_=s.useCallback(function(w){return v("ra.navigation.".concat(w),{_:"Go to ".concat(w," page")})},[v]);if(c)return s.createElement(So,{variant:"dense"});if(p===0||d<1||p!=null&&d>O)return a!=null,null;if(b)return s.createElement(dd,Xa({count:p??-1,rowsPerPage:f,page:d-1,onPageChange:C,rowsPerPageOptions:$j,component:"span",labelDisplayedRows:y},ln(i)));var P=n||(!c&&p!=null?Cj:void 0);return s.createElement(dd,Xa({count:p??-1,rowsPerPage:f,page:d-1,onPageChange:C,onRowsPerPageChange:x,ActionsComponent:P,nextIconButtonProps:{disabled:!u},component:"span",labelRowsPerPage:v("ra.navigation.page_rows_per_page"),labelDisplayedRows:y,getItemAriaLabel:_,rowsPerPageOptions:r},ln(i)))}),Sj=[5,10,25,50],$j=[],Ku={},Rj=ve;Object.defineProperty(Ku,"__esModule",{value:!0});var Vl=Ku.default=void 0,kj=Rj(Ce()),Ij=S;Vl=Ku.default=(0,kj.default)((0,Ij.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");var Ya=function(){return Ya=Object.assign||function(e){for(var t,r=1,n=arguments.length;r"u"||!f.message?"ra.auth.sign_in_error":f.message,{type:"error",messageArgs:{_:typeof f=="string"?f:f&&f.message?f.message:void 0}})})};return s.createElement(Fj,{onSubmit:u,mode:"onChange",noValidate:!0,className:r},s.createElement(rs,{className:Zr.content},s.createElement(Df,{autoFocus:!0,source:"username",label:l("ra.auth.username"),autoComplete:"username",validate:ud()}),s.createElement(Df,{source:"password",label:l("ra.auth.password"),type:"password",autoComplete:"current-password",validate:ud()}),s.createElement(ut,{variant:"contained",type:"submit",color:"primary",disabled:o,fullWidth:!0,className:Zr.button},o?s.createElement(os,{className:Zr.icon,size:19,thickness:3}):l("ra.auth.sign_in"))))},ca="RaLoginForm",Zr={content:"".concat(ca,"-content"),button:"".concat(ca,"-button"),icon:"".concat(ca,"-icon")},Fj=I(wp,{name:ca,overridesResolver:function(e,t){return t.root}})(function(e){var t,r=e.theme;return t={},t["& .".concat(Zr.content)]={width:300},t["& .".concat(Zr.button)]={marginTop:r.spacing(2)},t["& .".concat(Zr.icon)]={margin:r.spacing(.3)},t}),Hl=function(){return Hl=Object.assign||function(e){for(var t,r=1,n=arguments.length;r"u"&&d?Qj:r;return o?s.createElement(Zj,Gl({className:B("edit-page",a)},u),c!==!1&&s.createElement(Sn,{title:c,defaultTitle:m,preferenceKey:"".concat(p,".edit.title")}),v,s.createElement("div",{className:B(rn.main,(t={},t[rn.noActions]=!v,t))},s.createElement(l,{className:rn.card},g?o:s.createElement(rs,null," ")),n)):null},fa="RaEdit",rn={main:"".concat(fa,"-main"),noActions:"".concat(fa,"-noActions"),card:"".concat(fa,"-card")},Zj=I("div",{name:fa,overridesResolver:function(e,t){return t.root}})((Dn={},Dn["& .".concat(rn.main)]={display:"flex",alignItems:"flex-start"},Dn["& .".concat(rn.noActions)]={marginTop:"1em"},Dn["& .".concat(rn.card)]={flex:"1 1 auto"},Dn)),Xl=function(){return Xl=Object.assign||function(e){for(var t,r=1,n=arguments.length;r"u"&&b?fM:r;return!o||!v&&u?null:s.createElement(mM,Jl({className:B("show-page",a)},f),d!==!1&&s.createElement(Sn,{title:d,defaultTitle:g,preferenceKey:"".concat(m,".show.title")}),O!==!1&&O,s.createElement("div",{className:B(on.main,(t={},t[on.noActions]=!O,t))},s.createElement(l,{className:on.card},o),n))},ma="RaShow",on={main:"".concat(ma,"-main"),noActions:"".concat(ma,"-noActions"),card:"".concat(ma,"-card")},mM=I("div",{name:ma,overridesResolver:function(e,t){return t.root}})((Ln={},Ln["& .".concat(on.main)]={display:"flex"},Ln["& .".concat(on.noActions)]={marginTop:"1em"},Ln["& .".concat(on.card)]={flex:"1 1 auto"},Ln)),Zl=function(){return Zl=Object.assign||function(e){for(var t,r=1,n=arguments.length;r *":{color:r.palette.primary.main}},t}),SM=function(e){return e.stopPropagation()},Lf=function(e){var t=e.clickable;return s.createElement(Zm,{sx:{cursor:"inherit"},size:"small",label:s.createElement(Ay,null),clickable:t})},nc=function(){return nc=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0&&Wf.call(t.callee)==="[object Function]"),n},js,Vf;function eA(){if(Vf)return js;Vf=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Ag,o=Object.prototype.propertyIsEnumerable,a=!o.call({toString:null},"toString"),i=o.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],c=function(p){var m=p.constructor;return m&&m.prototype===p},u={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if(typeof window>"u")return!1;for(var p in window)try{if(!u["$"+p]&&t.call(window,p)&&window[p]!==null&&typeof window[p]=="object")try{c(window[p])}catch{return!0}}catch{return!0}return!1}(),f=function(p){if(typeof window>"u"||!d)return c(p);try{return c(p)}catch{return!1}};e=function(m){var g=m!==null&&typeof m=="object",v=r.call(m)==="[object Function]",b=n(m),O=g&&r.call(m)==="[object String]",C=[];if(!g&&!v&&!b)throw new TypeError("Object.keys called on a non-object");var x=i&&v;if(O&&m.length>0&&!t.call(m,0))for(var y=0;y0)for(var _=0;_"u"||!We?ue:We(Uint8Array),wr={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?ue:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?ue:ArrayBuffer,"%ArrayIteratorPrototype%":Dr&&We?We([][Symbol.iterator]()):ue,"%AsyncFromSyncIteratorPrototype%":ue,"%AsyncFunction%":Hr,"%AsyncGenerator%":Hr,"%AsyncGeneratorFunction%":Hr,"%AsyncIteratorPrototype%":Hr,"%Atomics%":typeof Atomics>"u"?ue:Atomics,"%BigInt%":typeof BigInt>"u"?ue:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?ue:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?ue:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?ue:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":PA,"%eval%":eval,"%EvalError%":EA,"%Float32Array%":typeof Float32Array>"u"?ue:Float32Array,"%Float64Array%":typeof Float64Array>"u"?ue:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?ue:FinalizationRegistry,"%Function%":Bg,"%GeneratorFunction%":Hr,"%Int8Array%":typeof Int8Array>"u"?ue:Int8Array,"%Int16Array%":typeof Int16Array>"u"?ue:Int16Array,"%Int32Array%":typeof Int32Array>"u"?ue:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Dr&&We?We(We([][Symbol.iterator]())):ue,"%JSON%":typeof JSON=="object"?JSON:ue,"%Map%":typeof Map>"u"?ue:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Dr||!We?ue:We(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?ue:Promise,"%Proxy%":typeof Proxy>"u"?ue:Proxy,"%RangeError%":SA,"%ReferenceError%":$A,"%Reflect%":typeof Reflect>"u"?ue:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?ue:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Dr||!We?ue:We(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?ue:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Dr&&We?We(""[Symbol.iterator]()):ue,"%Symbol%":Dr?Symbol:ue,"%SyntaxError%":yn,"%ThrowTypeError%":kA,"%TypedArray%":TA,"%TypeError%":sn,"%Uint8Array%":typeof Uint8Array>"u"?ue:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?ue:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?ue:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?ue:Uint32Array,"%URIError%":RA,"%WeakMap%":typeof WeakMap>"u"?ue:WeakMap,"%WeakRef%":typeof WeakRef>"u"?ue:WeakRef,"%WeakSet%":typeof WeakSet>"u"?ue:WeakSet};if(We)try{null.error}catch(e){var jA=We(We(e));wr["%Error.prototype%"]=jA}var MA=function e(t){var r;if(t==="%AsyncFunction%")r=As("async function () {}");else if(t==="%GeneratorFunction%")r=As("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=As("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&We&&(r=We(o.prototype))}return wr[t]=r,r},Gf={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},To=Yu,ti=Fg,AA=To.call(Function.call,Array.prototype.concat),NA=To.call(Function.apply,Array.prototype.splice),Xf=To.call(Function.call,String.prototype.replace),ri=To.call(Function.call,String.prototype.slice),FA=To.call(Function.call,RegExp.prototype.exec),BA=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,DA=/\\(\\)?/g,LA=function(t){var r=ri(t,0,1),n=ri(t,-1);if(r==="%"&&n!=="%")throw new yn("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new yn("invalid intrinsic syntax, expected opening `%`");var o=[];return Xf(t,BA,function(a,i,l,c){o[o.length]=l?Xf(c,DA,"$1"):i||a}),o},zA=function(t,r){var n=t,o;if(ti(Gf,n)&&(o=Gf[n],n="%"+o[0]+"%"),ti(wr,n)){var a=wr[n];if(a===Hr&&(a=MA(n)),typeof a>"u"&&!r)throw new sn("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:a}}throw new yn("intrinsic "+t+" does not exist!")},jo=function(t,r){if(typeof t!="string"||t.length===0)throw new sn("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new sn('"allowMissing" argument must be a boolean');if(FA(/^%?[^%]*%?$/,t)===null)throw new yn("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=LA(t),o=n.length>0?n[0]:"",a=zA("%"+o+"%",r),i=a.name,l=a.value,c=!1,u=a.alias;u&&(o=u[0],NA(n,AA([0,1],u)));for(var d=1,f=!0;d=n.length){var v=_r(l,p);f=!!v,f&&"get"in v&&!("originalValue"in v.get)?l=v.get:l=l[p]}else f=ti(l,p),l=l[p];f&&!c&&(wr[i]=l)}}return l},Fs,Yf;function Qu(){if(Yf)return Fs;Yf=1;var e=jo,t=e("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return Fs=t,Fs}var WA=jo,ha=WA("%Object.getOwnPropertyDescriptor%",!0);if(ha)try{ha([],"length")}catch{ha=null}var Dg=ha,Qf=Qu(),VA=Ng,Lr=Io,Jf=Dg,Lg=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new Lr("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Lr("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Lr("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Lr("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Lr("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Lr("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,l=arguments.length>6?arguments[6]:!1,c=!!Jf&&Jf(t,r);if(Qf)Qf(t,r,{configurable:i===null&&c?c.configurable:!i,enumerable:o===null&&c?c.enumerable:!o,value:n,writable:a===null&&c?c.writable:!a});else if(l||!o&&!a&&!i)t[r]=n;else throw new VA("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},dc=Qu(),zg=function(){return!!dc};zg.hasArrayLengthDefineBug=function(){if(!dc)return null;try{return dc([],"length",{value:1}).length!==1}catch{return!0}};var Wg=zg,HA=nA,UA=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",qA=Object.prototype.toString,KA=Array.prototype.concat,Zf=Lg,GA=function(e){return typeof e=="function"&&qA.call(e)==="[object Function]"},Vg=Wg(),XA=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!GA(n)||!n())return}Vg?Zf(e,t,r,!0):Zf(e,t,r)},Hg=function(e,t){var r=arguments.length>2?arguments[2]:{},n=HA(t);UA&&(n=KA.call(n,Object.getOwnPropertySymbols(t)));for(var o=0;o4294967295||JA(r)!==r)throw new rp("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,a=!0;if("length"in t&&tp){var i=tp(t,"length");i&&!i.configurable&&(o=!1),i&&!i.writable&&(a=!1)}return(o||a||!n)&&(QA?ep(t,"length",r,!0,!0):ep(t,"length",r)),t};(function(e){var t=Yu,r=jo,n=ZA,o=Io,a=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),l=r("%Reflect.apply%",!0)||t.call(i,a),c=Qu(),u=r("%Math.max%");e.exports=function(p){if(typeof p!="function")throw new o("a function is required");var m=l(t,i,arguments);return n(m,1+u(0,p.length-(arguments.length-1)),!0)};var d=function(){return l(t,a,arguments)};c?c(e.exports,"apply",{value:d}):e.exports.apply=d})(qg);var Kg=qg.exports,eN=Io,tN=function(t){if(t==null)throw new eN(arguments.length>0&&arguments[1]||"Cannot call method on "+t);return t},Gg=jo,Xg=Kg,rN=Xg(Gg("String.prototype.indexOf")),nN=function(t,r){var n=Gg(t,!!r);return typeof n=="function"&&rN(t,".prototype.")>-1?Xg(n):n},oN=tN,Yg=nN,aN=Yg("Object.prototype.propertyIsEnumerable"),iN=Yg("Array.prototype.push"),Qg=function(t){var r=oN(t),n=[];for(var o in r)aN(r,o)&&iN(n,[o,r[o]]);return n},sN=Qg,Jg=function(){return typeof Object.entries=="function"?Object.entries:sN},lN=Jg,cN=Ug,uN=function(){var t=lN();return cN(Object,{entries:t},{entries:function(){return Object.entries!==t}}),t},dN=Ug,fN=Kg,pN=Qg,Zg=Jg,mN=uN,eh=fN(Zg(),Object);dN(eh,{getPolyfill:Zg,implementation:pN,shim:mN});var vN=eh,Ju=vN,th=Fg,gN=function(t){},fc=String.prototype.replace,rh=String.prototype.split,ya="||||",Go=function(e){var t=e%100,r=t%10;return t!==11&&r===1?0:2<=r&&r<=4&&!(t>=12&&t<=14)?1:2},nh={pluralTypes:{arabic:function(e){if(e<3)return e;var t=e%100;return t>=3&&t<=10?3:t>=11?4:5},bosnian_serbian:Go,chinese:function(){return 0},croatian:Go,french:function(e){return e>=2?1:0},german:function(e){return e!==1?1:0},russian:Go,lithuanian:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=9&&(e%100<11||e%100>19)?1:2},czech:function(e){return e===1?0:e>=2&&e<=4?1:2},polish:function(e){if(e===1)return 0;var t=e%10;return 2<=t&&t<=4&&(e%100<10||e%100>=20)?1:2},icelandic:function(e){return e%10!==1||e%100===11?1:0},slovenian:function(e){var t=e%100;return t===1?0:t===2?1:t===3||t===4?2:3},romanian:function(e){if(e===1)return 0;var t=e%100;return e===0||t>=2&&t<=19?1:2},ukrainian:Go},pluralTypeToLanguages:{arabic:["ar"],bosnian_serbian:["bs-Latn-BA","bs-Cyrl-BA","srl-RS","sr-RS"],chinese:["id","id-ID","ja","ko","ko-KR","lo","ms","th","th-TH","zh"],croatian:["hr","hr-HR"],german:["fa","da","de","en","es","fi","el","he","hi-IN","hu","hu-HU","it","nl","no","pt","sv","tr"],french:["fr","tl","pt-br"],russian:["ru","ru-RU"],lithuanian:["lt"],czech:["cs","cs-CZ","sk"],polish:["pl"],icelandic:["is","mk"],slovenian:["sl-SL"],romanian:["ro"],ukrainian:["uk","ua"]}};function hN(e){for(var t={},r=Ju(e),n=0;na||e&&u&&s&&!f&&!b||i&&u&&s||!n&&s||!t)return 1;if(!i&&!e&&!b&&r=f)return s;var b=n[i];return s*(b=="desc"?-1:1)}}return r.index-a.index}var Z=Y,c=E,S=O,D=p,N=K,l=T,R=k,I=Z,rr=M,ar=_;function nr(r,a,n){a.length?a=c(a,function(e){return ar(e)?function(u){return S(u,e.length===1?e[0]:e)}:e}):a=[rr];var i=-1;a=c(a,R(D));var t=N(r,function(e,u,f){var s=c(a,function(b){return b(e)});return{criteria:s,index:++i,value:e}});return l(t,function(e,u){return I(e,u,n)})}var er=nr,ir=er,v=_;function tr(r,a,n,i){return r==null?[]:(v(a)||(a=a==null?[]:[a]),n=i?void 0:n,v(n)||(n=n==null?[]:[n]),ir(r,a,n))}var ur=tr;const Or=y(ur);var sr=g;function br(r,a){var n=[];return sr(r,function(i,t,e){a(i,t,e)&&n.push(i)}),n}var fr=br,cr=m,_r=fr,yr=p,pr=_;function dr(r,a){var n=pr(r)?cr:_r;return n(r,yr(a))}var vr=dr;const kr=y(vr);var $r=L,gr=p,Fr=1;function Ar(r){return gr(typeof r=="function"?r:$r(r,Fr))}var Br=Ar;const mr=y(Br);export{kr as a,mr as b,Or as l}; diff --git a/dist/index.html b/dist/index.html index 56e16ee..76a0048 100644 --- a/dist/index.html +++ b/dist/index.html @@ -111,7 +111,13 @@ href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet" /> - + + + + + + + diff --git a/package-lock.json b/package-lock.json index e5fb4ca..ea9d63a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,8 +11,8 @@ "@types/node": "^22.3", "@types/react": "^18.3", "@types/react-dom": "^18.3", - "@typescript-eslint/eslint-plugin": "^5.60", - "@typescript-eslint/parser": "^5.60", + "@typescript-eslint/eslint-plugin": "^8.1", + "@typescript-eslint/parser": "^8.0", "@vitejs/plugin-react": "^4.3", "eslint": "^8.43", "eslint-config-prettier": "^9.1", @@ -31,6 +31,7 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", + "license": "Apache-2.0", "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" @@ -40,11 +41,12 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.6.tgz", - "integrity": "sha512-ZJhac6FkEd1yhG2AHOmfcXG4ceoLltoCVJjN5XsWN9BifBQr+cHJbWi0h68HZuSORq+3WtJ2z0hwF2NG1b5kcA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz", + "integrity": "sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==", + "license": "MIT", "dependencies": { - "@babel/highlight": "^7.24.6", + "@babel/highlight": "^7.24.7", "picocolors": "^1.0.0" }, "engines": { @@ -52,28 +54,30 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.6.tgz", - "integrity": "sha512-aC2DGhBq5eEdyXWqrDInSqQjO0k8xtPRf5YylULqx8MCd6jBtzqfta/3ETMRpuKIc5hyswfO80ObyA1MvkCcUQ==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.2.tgz", + "integrity": "sha512-bYcppcpKBvX4znYaPEeFau03bp89ShqNMLs+rmdptMw+heSZh9+z84d2YG+K7cYLbWwzdjtDoW/uqZmPjulClQ==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.6.tgz", - "integrity": "sha512-qAHSfAdVyFmIvl0VHELib8xar7ONuSHrE2hLnsaWkYNTI68dmi1x8GYDhJjMI/e7XWal9QBlZkwbOnkcw7Z8gQ==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.2.tgz", + "integrity": "sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==", + "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.24.6", - "@babel/generator": "^7.24.6", - "@babel/helper-compilation-targets": "^7.24.6", - "@babel/helper-module-transforms": "^7.24.6", - "@babel/helpers": "^7.24.6", - "@babel/parser": "^7.24.6", - "@babel/template": "^7.24.6", - "@babel/traverse": "^7.24.6", - "@babel/types": "^7.24.6", + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.25.0", + "@babel/helper-compilation-targets": "^7.25.2", + "@babel/helper-module-transforms": "^7.25.2", + "@babel/helpers": "^7.25.0", + "@babel/parser": "^7.25.0", + "@babel/template": "^7.25.0", + "@babel/traverse": "^7.25.2", + "@babel/types": "^7.25.2", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -92,16 +96,18 @@ "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/@babel/generator": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.6.tgz", - "integrity": "sha512-S7m4eNa6YAPJRHmKsLHIDJhNAGNKoWNiWefz1MBbpnt8g9lvMDl1hir4P9bo/57bQEmuwEhnRU/AMWsD0G/Fbg==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.0.tgz", + "integrity": "sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==", + "license": "MIT", "dependencies": { - "@babel/types": "^7.24.6", + "@babel/types": "^7.25.0", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" @@ -111,13 +117,14 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.24.6.tgz", - "integrity": "sha512-VZQ57UsDGlX/5fFA7GkVPplZhHsVc+vuErWgdOiysI9Ksnw0Pbbd6pnPiR/mmJyKHgyIW0c7KT32gmhiF+cirg==", - "dependencies": { - "@babel/compat-data": "^7.24.6", - "@babel/helper-validator-option": "^7.24.6", - "browserslist": "^4.22.2", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.2.tgz", + "integrity": "sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw==", + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.25.2", + "@babel/helper-validator-option": "^7.24.8", + "browserslist": "^4.23.1", "lru-cache": "^5.1.1", "semver": "^6.3.1" }, @@ -129,62 +136,34 @@ "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.6.tgz", - "integrity": "sha512-Y50Cg3k0LKLMjxdPjIl40SdJgMB85iXn27Vk/qbHZCFx/o5XO3PSnpi675h1KEmmDb6OFArfd5SCQEQ5Q4H88g==", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.24.6.tgz", - "integrity": "sha512-xpeLqeeRkbxhnYimfr2PC+iA0Q7ljX/d1eZ9/inYbmfG2jpl8Lu3DyXvpOAnrS5kxkfOWJjioIMQsaMBXFI05w==", - "dependencies": { - "@babel/template": "^7.24.6", - "@babel/types": "^7.24.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.6.tgz", - "integrity": "sha512-SF/EMrC3OD7dSta1bLJIlrsVxwtd0UpjRJqLno6125epQMJ/kyFmpTT4pbvPbdQHzCHg+biQ7Syo8lnDtbR+uA==", - "dependencies": { - "@babel/types": "^7.24.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-module-imports": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.6.tgz", - "integrity": "sha512-a26dmxFJBF62rRO9mmpgrfTLsAuyHk4e1hKTUkD/fcMfynt8gvEKwQPQDVxWhca8dHoDck+55DFt42zV0QMw5g==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz", + "integrity": "sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==", + "license": "MIT", "dependencies": { - "@babel/types": "^7.24.6" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.24.6.tgz", - "integrity": "sha512-Y/YMPm83mV2HJTbX1Qh2sjgjqcacvOlhbzdCCsSlblOKjSYmQqEbO6rUniWQyRo9ncyfjT8hnUjlG06RXDEmcA==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.2.tgz", + "integrity": "sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ==", + "license": "MIT", "dependencies": { - "@babel/helper-environment-visitor": "^7.24.6", - "@babel/helper-module-imports": "^7.24.6", - "@babel/helper-simple-access": "^7.24.6", - "@babel/helper-split-export-declaration": "^7.24.6", - "@babel/helper-validator-identifier": "^7.24.6" + "@babel/helper-module-imports": "^7.24.7", + "@babel/helper-simple-access": "^7.24.7", + "@babel/helper-validator-identifier": "^7.24.7", + "@babel/traverse": "^7.25.2" }, "engines": { "node": ">=6.9.0" @@ -194,77 +173,74 @@ } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.6.tgz", - "integrity": "sha512-MZG/JcWfxybKwsA9N9PmtF2lOSFSEMVCpIRrbxccZFLJPrJciJdG/UhSh5W96GEteJI2ARqm5UAHxISwRDLSNg==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz", + "integrity": "sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-simple-access": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.6.tgz", - "integrity": "sha512-nZzcMMD4ZhmB35MOOzQuiGO5RzL6tJbsT37Zx8M5L/i9KSrukGXWTjLe1knIbb/RmxoJE9GON9soq0c0VEMM5g==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz", + "integrity": "sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==", + "license": "MIT", "dependencies": { - "@babel/types": "^7.24.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.6.tgz", - "integrity": "sha512-CvLSkwXGWnYlF9+J3iZUvwgAxKiYzK3BWuo+mLzD/MDGOZDj7Gq8+hqaOkMxmJwmlv0iu86uH5fdADd9Hxkymw==", - "dependencies": { - "@babel/types": "^7.24.6" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-string-parser": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.6.tgz", - "integrity": "sha512-WdJjwMEkmBicq5T9fm/cHND3+UlFa2Yj8ALLgmoSQAJZysYbBjw+azChSGPN4DSPLXOcooGRvDwZWMcF/mLO2Q==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz", + "integrity": "sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.6.tgz", - "integrity": "sha512-4yA7s865JHaqUdRbnaxarZREuPTHrjpDT+pXoAZ1yhyo6uFnIEpS8VMu16siFOHDpZNKYv5BObhsB//ycbICyw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz", + "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.24.6.tgz", - "integrity": "sha512-Jktc8KkF3zIkePb48QO+IapbXlSapOW9S+ogZZkcO6bABgYAxtZcjZ/O005111YLf+j4M84uEgwYoidDkXbCkQ==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.24.8.tgz", + "integrity": "sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.6.tgz", - "integrity": "sha512-V2PI+NqnyFu1i0GyTd/O/cTpxzQCYioSkUIRmgo7gFEHKKCg5w46+r/A6WeUR1+P3TeQ49dspGPNd/E3n9AnnA==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.0.tgz", + "integrity": "sha512-MjgLZ42aCm0oGjJj8CtSM3DB8NOOf8h2l7DCTePJs29u+v7yO/RBX9nShlKMgFnRks/Q4tBAe7Hxnov9VkGwLw==", + "license": "MIT", "dependencies": { - "@babel/template": "^7.24.6", - "@babel/types": "^7.24.6" + "@babel/template": "^7.25.0", + "@babel/types": "^7.25.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/highlight": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.6.tgz", - "integrity": "sha512-2YnuOp4HAk2BsBrJJvYCbItHx0zWscI1C3zgWkz+wDyD9I7GIVrfnLyrR4Y1VR+7p+chAEcrgRQYZAGIKMV7vQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.7.tgz", + "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==", + "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.24.6", + "@babel/helper-validator-identifier": "^7.24.7", "chalk": "^2.4.2", "js-tokens": "^4.0.0", "picocolors": "^1.0.0" @@ -274,9 +250,13 @@ } }, "node_modules/@babel/parser": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.6.tgz", - "integrity": "sha512-eNZXdfU35nJC2h24RznROuOpO94h6x8sg9ju0tT9biNtLZ2vuP8SduLqqV+/8+cebSLV9SJEAN5Z3zQbJG/M+Q==", + "version": "7.25.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.3.tgz", + "integrity": "sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.25.2" + }, "bin": { "parser": "bin/babel-parser.js" }, @@ -285,11 +265,12 @@ } }, "node_modules/@babel/plugin-transform-react-jsx-self": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.24.6.tgz", - "integrity": "sha512-FfZfHXtQ5jYPQsCRyLpOv2GeLIIJhs8aydpNh39vRDjhD411XcfWDni5i7OjP/Rs8GAtTn7sWFFELJSHqkIxYg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.24.7.tgz", + "integrity": "sha512-fOPQYbGSgH0HUp4UJO4sMBFjY6DuWq+2i8rixyUMb3CdGixs/gccURvYOAhajBdKDoGajFr3mUq5rH3phtkGzw==", + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.6" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -299,11 +280,12 @@ } }, "node_modules/@babel/plugin-transform-react-jsx-source": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.24.6.tgz", - "integrity": "sha512-BQTBCXmFRreU3oTUXcGKuPOfXAGb1liNY4AvvFKsOBAJ89RKcTsIrSsnMYkj59fNa66OFKnSa4AJZfy5Y4B9WA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.24.7.tgz", + "integrity": "sha512-J2z+MWzZHVOemyLweMqngXrgGC42jQ//R0KdxqkIz/OrbVIIlhFI3WigZ5fO+nwFvBlncr4MGapd8vTyc7RPNQ==", + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.6" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -313,9 +295,10 @@ } }, "node_modules/@babel/runtime": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.6.tgz", - "integrity": "sha512-Ja18XcETdEl5mzzACGd+DKgaGJzPTCow7EglgwTmHdwokzDFYh/MHua6lU6DV/hjF2IaOJ4oX2nqnjG7RElKOw==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.0.tgz", + "integrity": "sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw==", + "license": "MIT", "dependencies": { "regenerator-runtime": "^0.14.0" }, @@ -324,31 +307,30 @@ } }, "node_modules/@babel/template": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.6.tgz", - "integrity": "sha512-3vgazJlLwNXi9jhrR1ef8qiB65L1RK90+lEQwv4OxveHnqC3BfmnHdgySwRLzf6akhlOYenT+b7AfWq+a//AHw==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.0.tgz", + "integrity": "sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==", + "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.24.6", - "@babel/parser": "^7.24.6", - "@babel/types": "^7.24.6" + "@babel/code-frame": "^7.24.7", + "@babel/parser": "^7.25.0", + "@babel/types": "^7.25.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.6.tgz", - "integrity": "sha512-OsNjaJwT9Zn8ozxcfoBc+RaHdj3gFmCmYoQLUII1o6ZrUwku0BMg80FoOTPx+Gi6XhcQxAYE4xyjPTo4SxEQqw==", - "dependencies": { - "@babel/code-frame": "^7.24.6", - "@babel/generator": "^7.24.6", - "@babel/helper-environment-visitor": "^7.24.6", - "@babel/helper-function-name": "^7.24.6", - "@babel/helper-hoist-variables": "^7.24.6", - "@babel/helper-split-export-declaration": "^7.24.6", - "@babel/parser": "^7.24.6", - "@babel/types": "^7.24.6", + "version": "7.25.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.3.tgz", + "integrity": "sha512-HefgyP1x754oGCsKmV5reSmtV7IXj/kpaE1XYY+D9G5PvKKoFfSbiS4M77MdjuwlZKDIKFCffq9rPU+H/s3ZdQ==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.25.0", + "@babel/parser": "^7.25.3", + "@babel/template": "^7.25.0", + "@babel/types": "^7.25.2", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -357,12 +339,13 @@ } }, "node_modules/@babel/types": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.6.tgz", - "integrity": "sha512-WaMsgi6Q8zMgMth93GvWPXkhAIEobfsIkLTacoVZoK1J0CevIPGYY2Vo5YvJGqyHqXM6P4ppOYGsIRU8MM9pFQ==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.2.tgz", + "integrity": "sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==", + "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.24.6", - "@babel/helper-validator-identifier": "^7.24.6", + "@babel/helper-string-parser": "^7.24.8", + "@babel/helper-validator-identifier": "^7.24.7", "to-fast-properties": "^2.0.0" }, "engines": { @@ -373,6 +356,7 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/@bavix/react-admin-json-view/-/react-admin-json-view-2.1.2.tgz", "integrity": "sha512-mExLX+VMZi4CJEWAAmAPUynwZ2ShBsgAqSWtCko1goA49/wL6CumSYXaK9MVgSXxcKXiVPbIvarD0sMZ/v6ABw==", + "license": "MIT", "dependencies": { "@microlink/react-json-view": "^1.23" }, @@ -386,6 +370,7 @@ "version": "11.12.0", "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.12.0.tgz", "integrity": "sha512-y2WQb+oP8Jqvvclh8Q55gLUyb7UFvgv7eJfsj7td5TToBrIUtPay2kMrZi4xjq9qw2vD0ZR5fSho0yqoFgX7Rw==", + "license": "MIT", "dependencies": { "@babel/helper-module-imports": "^7.16.7", "@babel/runtime": "^7.18.3", @@ -403,12 +388,14 @@ "node_modules/@emotion/babel-plugin/node_modules/convert-source-map": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", - "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "license": "MIT" }, "node_modules/@emotion/babel-plugin/node_modules/escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "license": "MIT", "engines": { "node": ">=10" }, @@ -420,6 +407,7 @@ "version": "11.13.1", "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.13.1.tgz", "integrity": "sha512-iqouYkuEblRcXmylXIwwOodiEK5Ifl7JcX7o6V4jI3iW4mLXX3dmt5xwBtIkJiQEXFAI+pC8X0i67yiPkH9Ucw==", + "license": "MIT", "dependencies": { "@emotion/memoize": "^0.9.0", "@emotion/sheet": "^1.4.0", @@ -431,12 +419,14 @@ "node_modules/@emotion/hash": { "version": "0.9.2", "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.2.tgz", - "integrity": "sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==" + "integrity": "sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==", + "license": "MIT" }, "node_modules/@emotion/is-prop-valid": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.3.0.tgz", "integrity": "sha512-SHetuSLvJDzuNbOdtPVbq6yMMMlLoW5Q94uDqJZqy50gcmAjxFkVqmzqSGEFq9gT2iMuIeKV1PXVWmvUhuZLlQ==", + "license": "MIT", "dependencies": { "@emotion/memoize": "^0.9.0" } @@ -444,12 +434,14 @@ "node_modules/@emotion/memoize": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.9.0.tgz", - "integrity": "sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ==" + "integrity": "sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ==", + "license": "MIT" }, "node_modules/@emotion/react": { "version": "11.13.0", "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.13.0.tgz", "integrity": "sha512-WkL+bw1REC2VNV1goQyfxjx1GYJkcc23CRQkXX+vZNLINyfI7o+uUn/rTGPt/xJ3bJHd5GcljgnxHf4wRw5VWQ==", + "license": "MIT", "dependencies": { "@babel/runtime": "^7.18.3", "@emotion/babel-plugin": "^11.12.0", @@ -473,6 +465,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.3.0.tgz", "integrity": "sha512-jACuBa9SlYajnpIVXB+XOXnfJHyckDfe6fOpORIM6yhBDlqGuExvDdZYHDQGoDf3bZXGv7tNr+LpLjJqiEQ6EA==", + "license": "MIT", "dependencies": { "@emotion/hash": "^0.9.2", "@emotion/memoize": "^0.9.0", @@ -484,12 +477,14 @@ "node_modules/@emotion/sheet": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.4.0.tgz", - "integrity": "sha512-fTBW9/8r2w3dXWYM4HCB1Rdp8NLibOw2+XELH5m5+AkWiL/KqYX6dc0kKYlaYyKjrQ6ds33MCdMPEwgs2z1rqg==" + "integrity": "sha512-fTBW9/8r2w3dXWYM4HCB1Rdp8NLibOw2+XELH5m5+AkWiL/KqYX6dc0kKYlaYyKjrQ6ds33MCdMPEwgs2z1rqg==", + "license": "MIT" }, "node_modules/@emotion/styled": { "version": "11.13.0", "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.13.0.tgz", "integrity": "sha512-tkzkY7nQhW/zC4hztlwucpT8QEZ6eUzpXDRhww/Eej4tFfO0FxQYWRyg/c5CCXa4d/f174kqeXYjuQRnhzf6dA==", + "license": "MIT", "dependencies": { "@babel/runtime": "^7.18.3", "@emotion/babel-plugin": "^11.12.0", @@ -511,12 +506,14 @@ "node_modules/@emotion/unitless": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.9.0.tgz", - "integrity": "sha512-TP6GgNZtmtFaFcsOgExdnfxLLpRDla4Q66tnenA9CktvVSdNKDvMVuUah4QvWPIpNjrWsGg3qeGo9a43QooGZQ==" + "integrity": "sha512-TP6GgNZtmtFaFcsOgExdnfxLLpRDla4Q66tnenA9CktvVSdNKDvMVuUah4QvWPIpNjrWsGg3qeGo9a43QooGZQ==", + "license": "MIT" }, "node_modules/@emotion/use-insertion-effect-with-fallbacks": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.1.0.tgz", "integrity": "sha512-+wBOcIV5snwGgI2ya3u99D7/FJquOIniQT1IKyDsBmEgwvpxMNeS65Oib7OnE2d2aY+3BU4OiH+0Wchf8yk3Hw==", + "license": "MIT", "peerDependencies": { "react": ">=16.8.0" } @@ -524,12 +521,14 @@ "node_modules/@emotion/utils": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.4.0.tgz", - "integrity": "sha512-spEnrA1b6hDR/C68lC2M7m6ALPUHZC0lIY7jAS/B/9DuuO1ZP04eov8SMv/6fwRd8pzmsn2AuJEznRREWlQrlQ==" + "integrity": "sha512-spEnrA1b6hDR/C68lC2M7m6ALPUHZC0lIY7jAS/B/9DuuO1ZP04eov8SMv/6fwRd8pzmsn2AuJEznRREWlQrlQ==", + "license": "MIT" }, "node_modules/@emotion/weak-memoize": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.4.0.tgz", - "integrity": "sha512-snKqtPW01tN0ui7yu9rGv69aJXr/a/Ywvl11sUjNtEcRc+ng/mQriFL0wLXMef74iHa/EkftbDzU9F8iFbH+zg==" + "integrity": "sha512-snKqtPW01tN0ui7yu9rGv69aJXr/a/Ywvl11sUjNtEcRc+ng/mQriFL0wLXMef74iHa/EkftbDzU9F8iFbH+zg==", + "license": "MIT" }, "node_modules/@esbuild/aix-ppc64": { "version": "0.21.5", @@ -538,6 +537,7 @@ "cpu": [ "ppc64" ], + "license": "MIT", "optional": true, "os": [ "aix" @@ -553,6 +553,7 @@ "cpu": [ "arm" ], + "license": "MIT", "optional": true, "os": [ "android" @@ -568,6 +569,7 @@ "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "android" @@ -583,6 +585,7 @@ "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "android" @@ -598,6 +601,7 @@ "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "darwin" @@ -613,6 +617,7 @@ "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "darwin" @@ -628,6 +633,7 @@ "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "freebsd" @@ -643,6 +649,7 @@ "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "freebsd" @@ -658,6 +665,7 @@ "cpu": [ "arm" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -673,6 +681,7 @@ "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -688,6 +697,7 @@ "cpu": [ "ia32" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -703,6 +713,7 @@ "cpu": [ "loong64" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -718,6 +729,7 @@ "cpu": [ "mips64el" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -733,6 +745,7 @@ "cpu": [ "ppc64" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -748,6 +761,7 @@ "cpu": [ "riscv64" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -763,6 +777,7 @@ "cpu": [ "s390x" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -778,6 +793,7 @@ "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -793,6 +809,7 @@ "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "netbsd" @@ -808,6 +825,7 @@ "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "openbsd" @@ -823,6 +841,7 @@ "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "sunos" @@ -838,6 +857,7 @@ "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "win32" @@ -853,6 +873,7 @@ "cpu": [ "ia32" ], + "license": "MIT", "optional": true, "os": [ "win32" @@ -868,6 +889,7 @@ "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "win32" @@ -880,6 +902,7 @@ "version": "4.4.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "license": "MIT", "dependencies": { "eslint-visitor-keys": "^3.3.0" }, @@ -891,9 +914,10 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", - "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", + "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", + "license": "MIT", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } @@ -902,6 +926,7 @@ "version": "2.1.4", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", + "license": "MIT", "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", @@ -920,10 +945,21 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/@eslint/eslintrc/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, "node_modules/@eslint/eslintrc/node_modules/globals": { "version": "13.24.0", "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "license": "MIT", "dependencies": { "type-fest": "^0.20.2" }, @@ -934,10 +970,23 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@eslint/eslintrc/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/@eslint/js": { "version": "8.57.0", "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", + "license": "MIT", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } @@ -946,6 +995,8 @@ "version": "0.11.14", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "deprecated": "Use @eslint/config-array instead", + "license": "Apache-2.0", "dependencies": { "@humanwhocodes/object-schema": "^2.0.2", "debug": "^4.3.1", @@ -955,10 +1006,33 @@ "node": ">=10.10.0" } }, + "node_modules/@humanwhocodes/config-array/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/@humanwhocodes/config-array/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/@humanwhocodes/module-importer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "license": "Apache-2.0", "engines": { "node": ">=12.22" }, @@ -970,12 +1044,15 @@ "node_modules/@humanwhocodes/object-schema": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", - "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==" + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", + "deprecated": "Use @eslint/object-schema instead", + "license": "BSD-3-Clause" }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.5", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", + "license": "MIT", "dependencies": { "@jridgewell/set-array": "^1.2.1", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -989,6 +1066,7 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "license": "MIT", "engines": { "node": ">=6.0.0" } @@ -997,28 +1075,32 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "license": "MIT", "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", + "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { "version": "0.3.25", "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "node_modules/@microlink/react-json-view": { - "version": "1.23.0", - "resolved": "https://registry.npmjs.org/@microlink/react-json-view/-/react-json-view-1.23.0.tgz", - "integrity": "sha512-HYJ1nsfO4/qn8afnAMhuk7+5a1vcjEaS8Gm5Vpr1SqdHDY0yLBJGpA+9DvKyxyVKaUkXzKXt3Mif9RcmFSdtYg==", + "version": "1.23.1", + "resolved": "https://registry.npmjs.org/@microlink/react-json-view/-/react-json-view-1.23.1.tgz", + "integrity": "sha512-Iz1uA2Y4x7Xr+O4BP2Brk16UpL6rh9GDv2A19OOb9pymkUE8eXHq1GzhJte4269wMDc8Esm2jXsTqIPLgqq7kg==", + "license": "MIT", "dependencies": { "flux": "~4.0.1", "react-base16-styling": "~0.6.0", @@ -1034,6 +1116,7 @@ "version": "4.0.4", "resolved": "https://registry.npmjs.org/flux/-/flux-4.0.4.tgz", "integrity": "sha512-NCj3XlayA2UsapRpM7va6wU1+9rE5FIL7qoMcmxWHRzbp0yujihMBm9BBHZ1MDIk5h5o2Bl6eGiCe8rYELAmYw==", + "license": "BSD-3-Clause", "dependencies": { "fbemitter": "^3.0.0", "fbjs": "^3.0.1" @@ -1043,18 +1126,20 @@ } }, "node_modules/@mui/core-downloads-tracker": { - "version": "5.16.6", - "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.16.6.tgz", - "integrity": "sha512-kytg6LheUG42V8H/o/Ptz3olSO5kUXW9zF0ox18VnblX6bO2yif1FPItgc3ey1t5ansb1+gbe7SatntqusQupg==", + "version": "5.16.7", + "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.16.7.tgz", + "integrity": "sha512-RtsCt4Geed2/v74sbihWzzRs+HsIQCfclHeORh5Ynu2fS4icIKozcSubwuG7vtzq2uW3fOR1zITSP84TNt2GoQ==", + "license": "MIT", "funding": { "type": "opencollective", "url": "https://opencollective.com/mui-org" } }, "node_modules/@mui/icons-material": { - "version": "5.16.6", - "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-5.16.6.tgz", - "integrity": "sha512-ceNGjoXheH9wbIFa1JHmSc9QVjJUvh18KvHrR4/FkJCSi9HXJ+9ee1kUhCOEFfuxNF8UB6WWVrIUOUgRd70t0A==", + "version": "5.16.7", + "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-5.16.7.tgz", + "integrity": "sha512-UrGwDJCXEszbDI7yV047BYU5A28eGJ79keTCP4cc74WyncuVrnurlmIRxaHL8YK+LI1Kzq+/JM52IAkNnv4u+Q==", + "license": "MIT", "dependencies": { "@babel/runtime": "^7.23.9" }, @@ -1077,13 +1162,14 @@ } }, "node_modules/@mui/material": { - "version": "5.16.6", - "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.16.6.tgz", - "integrity": "sha512-0LUIKBOIjiFfzzFNxXZBRAyr9UQfmTAFzbt6ziOU2FDXhorNN2o3N9/32mNJbCA8zJo2FqFU6d3dtoqUDyIEfA==", + "version": "5.16.7", + "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.16.7.tgz", + "integrity": "sha512-cwwVQxBhK60OIOqZOVLFt55t01zmarKJiJUWbk0+8s/Ix5IaUzAShqlJchxsIQ4mSrWqgcKCCXKtIlG5H+/Jmg==", + "license": "MIT", "dependencies": { "@babel/runtime": "^7.23.9", - "@mui/core-downloads-tracker": "^5.16.6", - "@mui/system": "^5.16.6", + "@mui/core-downloads-tracker": "^5.16.7", + "@mui/system": "^5.16.7", "@mui/types": "^7.2.15", "@mui/utils": "^5.16.6", "@popperjs/core": "^2.11.8", @@ -1123,12 +1209,14 @@ "node_modules/@mui/material/node_modules/react-is": { "version": "18.3.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", - "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==" + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", + "license": "MIT" }, "node_modules/@mui/private-theming": { "version": "5.16.6", "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.16.6.tgz", "integrity": "sha512-rAk+Rh8Clg7Cd7shZhyt2HGTTE5wYKNSJ5sspf28Fqm/PZ69Er9o6KX25g03/FG2dfpg5GCwZh/xOojiTfm3hw==", + "license": "MIT", "dependencies": { "@babel/runtime": "^7.23.9", "@mui/utils": "^5.16.6", @@ -1155,6 +1243,7 @@ "version": "5.16.6", "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.16.6.tgz", "integrity": "sha512-zaThmS67ZmtHSWToTiHslbI8jwrmITcN93LQaR2lKArbvS7Z3iLkwRoiikNWutx9MBs8Q6okKvbZq1RQYB3v7g==", + "license": "MIT", "dependencies": { "@babel/runtime": "^7.23.9", "@emotion/cache": "^11.11.0", @@ -1183,9 +1272,10 @@ } }, "node_modules/@mui/system": { - "version": "5.16.6", - "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.16.6.tgz", - "integrity": "sha512-5xgyJjBIMPw8HIaZpfbGAaFYPwImQn7Nyh+wwKWhvkoIeDosQ1ZMVrbTclefi7G8hNmqhip04duYwYpbBFnBgw==", + "version": "5.16.7", + "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.16.7.tgz", + "integrity": "sha512-Jncvs/r/d/itkxh7O7opOunTqbbSSzMTHzZkNLM+FjAOg+cYAZHrPDlYe1ZGKUYORwwb2XexlWnpZp0kZ4AHuA==", + "license": "MIT", "dependencies": { "@babel/runtime": "^7.23.9", "@mui/private-theming": "^5.16.6", @@ -1225,6 +1315,7 @@ "version": "7.2.15", "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.15.tgz", "integrity": "sha512-nbo7yPhtKJkdf9kcVOF8JZHPZTmqXjJ/tI0bdWgHg5tp9AnIN4Y7f7wm9T+0SyGYJk76+GYZ8Q5XaTYAsUHN0Q==", + "license": "MIT", "peerDependencies": { "@types/react": "^17.0.0 || ^18.0.0" }, @@ -1238,6 +1329,7 @@ "version": "5.16.6", "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.16.6.tgz", "integrity": "sha512-tWiQqlhxAt3KENNiSRL+DIn9H5xNVK6Jjf70x3PnfQPz1MPBdh7yyIcAyVBT9xiw7hP3SomRhPR7hzBMBCjqEA==", + "license": "MIT", "dependencies": { "@babel/runtime": "^7.23.9", "@mui/types": "^7.2.15", @@ -1266,12 +1358,14 @@ "node_modules/@mui/utils/node_modules/react-is": { "version": "18.3.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", - "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==" + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", + "license": "MIT" }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "license": "MIT", "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" @@ -1284,6 +1378,7 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "license": "MIT", "engines": { "node": ">= 8" } @@ -1292,6 +1387,7 @@ "version": "1.2.8", "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "license": "MIT", "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" @@ -1304,226 +1400,246 @@ "version": "2.11.8", "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "license": "MIT", "funding": { "type": "opencollective", "url": "https://opencollective.com/popperjs" } }, "node_modules/@remix-run/router": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.19.0.tgz", - "integrity": "sha512-zDICCLKEwbVYTS6TjYaWtHXxkdoUvD/QXvyVZjGCsWz5vyH7aFeONlPffPdW+Y/t6KT0MgXb2Mfjun9YpWN1dA==", + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.19.1.tgz", + "integrity": "sha512-S45oynt/WH19bHbIXjtli6QmwNYvaz+vtnubvNpNDvUOoA/OWh6j1OikIP3G+v5GHdxyC6EXoChG3HgYGEUfcg==", + "license": "MIT", "engines": { "node": ">=14.0.0" } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.18.0.tgz", - "integrity": "sha512-Tya6xypR10giZV1XzxmH5wr25VcZSncG0pZIjfePT0OVBvqNEurzValetGNarVrGiq66EBVAFn15iYX4w6FKgQ==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.20.0.tgz", + "integrity": "sha512-TSpWzflCc4VGAUJZlPpgAJE1+V60MePDQnBd7PPkpuEmOy8i87aL6tinFGKBFKuEDikYpig72QzdT3QPYIi+oA==", "cpu": [ "arm" ], + "license": "MIT", "optional": true, "os": [ "android" ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.18.0.tgz", - "integrity": "sha512-avCea0RAP03lTsDhEyfy+hpfr85KfyTctMADqHVhLAF3MlIkq83CP8UfAHUssgXTYd+6er6PaAhx/QGv4L1EiA==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.20.0.tgz", + "integrity": "sha512-u00Ro/nok7oGzVuh/FMYfNoGqxU5CPWz1mxV85S2w9LxHR8OoMQBuSk+3BKVIDYgkpeOET5yXkx90OYFc+ytpQ==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "android" ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.18.0.tgz", - "integrity": "sha512-IWfdwU7KDSm07Ty0PuA/W2JYoZ4iTj3TUQjkVsO/6U+4I1jN5lcR71ZEvRh52sDOERdnNhhHU57UITXz5jC1/w==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.20.0.tgz", + "integrity": "sha512-uFVfvzvsdGtlSLuL0ZlvPJvl6ZmrH4CBwLGEFPe7hUmf7htGAN+aXo43R/V6LATyxlKVC/m6UsLb7jbG+LG39Q==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "darwin" ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.18.0.tgz", - "integrity": "sha512-n2LMsUz7Ynu7DoQrSQkBf8iNrjOGyPLrdSg802vk6XT3FtsgX6JbE8IHRvposskFm9SNxzkLYGSq9QdpLYpRNA==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.20.0.tgz", + "integrity": "sha512-xbrMDdlev53vNXexEa6l0LffojxhqDTBeL+VUxuuIXys4x6xyvbKq5XqTXBCEUA8ty8iEJblHvFaWRJTk/icAQ==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "darwin" ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.18.0.tgz", - "integrity": "sha512-C/zbRYRXFjWvz9Z4haRxcTdnkPt1BtCkz+7RtBSuNmKzMzp3ZxdM28Mpccn6pt28/UWUCTXa+b0Mx1k3g6NOMA==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.20.0.tgz", + "integrity": "sha512-jMYvxZwGmoHFBTbr12Xc6wOdc2xA5tF5F2q6t7Rcfab68TT0n+r7dgawD4qhPEvasDsVpQi+MgDzj2faOLsZjA==", "cpu": [ "arm" ], + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.18.0.tgz", - "integrity": "sha512-l3m9ewPgjQSXrUMHg93vt0hYCGnrMOcUpTz6FLtbwljo2HluS4zTXFy2571YQbisTnfTKPZ01u/ukJdQTLGh9A==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.20.0.tgz", + "integrity": "sha512-1asSTl4HKuIHIB1GcdFHNNZhxAYEdqML/MW4QmPS4G0ivbEcBr1JKlFLKsIRqjSwOBkdItn3/ZDlyvZ/N6KPlw==", "cpu": [ "arm" ], + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.18.0.tgz", - "integrity": "sha512-rJ5D47d8WD7J+7STKdCUAgmQk49xuFrRi9pZkWoRD1UeSMakbcepWXPF8ycChBoAqs1pb2wzvbY6Q33WmN2ftw==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.20.0.tgz", + "integrity": "sha512-COBb8Bkx56KldOYJfMf6wKeYJrtJ9vEgBRAOkfw6Ens0tnmzPqvlpjZiLgkhg6cA3DGzCmLmmd319pmHvKWWlQ==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.18.0.tgz", - "integrity": "sha512-be6Yx37b24ZwxQ+wOQXXLZqpq4jTckJhtGlWGZs68TgdKXJgw54lUUoFYrg6Zs/kjzAQwEwYbp8JxZVzZLRepQ==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.20.0.tgz", + "integrity": "sha512-+it+mBSyMslVQa8wSPvBx53fYuZK/oLTu5RJoXogjk6x7Q7sz1GNRsXWjn6SwyJm8E/oMjNVwPhmNdIjwP135Q==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.18.0.tgz", - "integrity": "sha512-hNVMQK+qrA9Todu9+wqrXOHxFiD5YmdEi3paj6vP02Kx1hjd2LLYR2eaN7DsEshg09+9uzWi2W18MJDlG0cxJA==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.20.0.tgz", + "integrity": "sha512-yAMvqhPfGKsAxHN8I4+jE0CpLWD8cv4z7CK7BMmhjDuz606Q2tFKkWRY8bHR9JQXYcoLfopo5TTqzxgPUjUMfw==", "cpu": [ "ppc64" ], + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.18.0.tgz", - "integrity": "sha512-ROCM7i+m1NfdrsmvwSzoxp9HFtmKGHEqu5NNDiZWQtXLA8S5HBCkVvKAxJ8U+CVctHwV2Gb5VUaK7UAkzhDjlg==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.20.0.tgz", + "integrity": "sha512-qmuxFpfmi/2SUkAw95TtNq/w/I7Gpjurx609OOOV7U4vhvUhBcftcmXwl3rqAek+ADBwSjIC4IVNLiszoj3dPA==", "cpu": [ "riscv64" ], + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.18.0.tgz", - "integrity": "sha512-0UyyRHyDN42QL+NbqevXIIUnKA47A+45WyasO+y2bGJ1mhQrfrtXUpTxCOrfxCR4esV3/RLYyucGVPiUsO8xjg==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.20.0.tgz", + "integrity": "sha512-I0BtGXddHSHjV1mqTNkgUZLnS3WtsqebAXv11D5BZE/gfw5KoyXSAXVqyJximQXNvNzUo4GKlCK/dIwXlz+jlg==", "cpu": [ "s390x" ], + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.18.0.tgz", - "integrity": "sha512-xuglR2rBVHA5UsI8h8UbX4VJ470PtGCf5Vpswh7p2ukaqBGFTnsfzxUBetoWBWymHMxbIG0Cmx7Y9qDZzr648w==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.20.0.tgz", + "integrity": "sha512-y+eoL2I3iphUg9tN9GB6ku1FA8kOfmF4oUEWhztDJ4KXJy1agk/9+pejOuZkNFhRwHAOxMsBPLbXPd6mJiCwew==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.18.0.tgz", - "integrity": "sha512-LKaqQL9osY/ir2geuLVvRRs+utWUNilzdE90TpyoX0eNqPzWjRm14oMEE+YLve4k/NAqCdPkGYDaDF5Sw+xBfg==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.20.0.tgz", + "integrity": "sha512-hM3nhW40kBNYUkZb/r9k2FKK+/MnKglX7UYd4ZUy5DJs8/sMsIbqWK2piZtVGE3kcXVNj3B2IrUYROJMMCikNg==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.18.0.tgz", - "integrity": "sha512-7J6TkZQFGo9qBKH0pk2cEVSRhJbL6MtfWxth7Y5YmZs57Pi+4x6c2dStAUvaQkHQLnEQv1jzBUW43GvZW8OFqA==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.20.0.tgz", + "integrity": "sha512-psegMvP+Ik/Bg7QRJbv8w8PAytPA7Uo8fpFjXyCRHWm6Nt42L+JtoqH8eDQ5hRP7/XW2UiIriy1Z46jf0Oa1kA==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "win32" ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.18.0.tgz", - "integrity": "sha512-Txjh+IxBPbkUB9+SXZMpv+b/vnTEtFyfWZgJ6iyCmt2tdx0OF5WhFowLmnh8ENGNpfUlUZkdI//4IEmhwPieNg==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.20.0.tgz", + "integrity": "sha512-GabekH3w4lgAJpVxkk7hUzUf2hICSQO0a/BLFA11/RMxQT92MabKAqyubzDZmMOC/hcJNlc+rrypzNzYl4Dx7A==", "cpu": [ "ia32" ], + "license": "MIT", "optional": true, "os": [ "win32" ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.18.0.tgz", - "integrity": "sha512-UOo5FdvOL0+eIVTgS4tIdbW+TtnBLWg1YBCcU2KWM7nuNwRz9bksDX1bekJJCpu25N1DVWaCwnT39dVQxzqS8g==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.20.0.tgz", + "integrity": "sha512-aJ1EJSuTdGnM6qbVC4B5DSmozPTqIag9fSzXRNNo+humQLG89XpPgdt16Ia56ORD7s+H8Pmyx44uczDQ0yDzpg==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "win32" ] }, "node_modules/@tanstack/query-core": { - "version": "5.51.17", - "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.51.17.tgz", - "integrity": "sha512-AtVNOgVrZNz4C7RzMfx7sCn1/gf0Ype4nX8UP2BOh0C2tTMszwXk98iCLRacTn5vTRNJCZxz3fgEcTJq0uv8GQ==", + "version": "5.51.21", + "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.51.21.tgz", + "integrity": "sha512-POQxm42IUp6n89kKWF4IZi18v3fxQWFRolvBA6phNVmA8psdfB1MvDnGacCJdS+EOX12w/CyHM62z//rHmYmvw==", + "license": "MIT", "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" } }, "node_modules/@tanstack/react-query": { - "version": "5.51.18", - "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.51.18.tgz", - "integrity": "sha512-l/PF3X6Coi53kEDpL2XEU0x+y3szOk/oKWSHMlyy8tyUHviaIg8tJ6O4Cc1AjLAhbyTG1a+bZobdSuLXzYTt/w==", + "version": "5.51.23", + "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.51.23.tgz", + "integrity": "sha512-CfJCfX45nnVIZjQBRYYtvVMIsGgWLKLYC4xcUiYEey671n1alvTZoCBaU9B85O8mF/tx9LPyrI04A6Bs2THv4A==", + "license": "MIT", "dependencies": { - "@tanstack/query-core": "5.51.17" + "@tanstack/query-core": "5.51.21" }, "funding": { "type": "github", @@ -1537,6 +1653,7 @@ "version": "7.20.5", "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", + "license": "MIT", "dependencies": { "@babel/parser": "^7.20.7", "@babel/types": "^7.20.7", @@ -1549,6 +1666,7 @@ "version": "7.6.8", "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz", "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==", + "license": "MIT", "dependencies": { "@babel/types": "^7.0.0" } @@ -1557,6 +1675,7 @@ "version": "7.4.4", "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", + "license": "MIT", "dependencies": { "@babel/parser": "^7.1.0", "@babel/types": "^7.0.0" @@ -1566,6 +1685,7 @@ "version": "7.20.6", "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.6.tgz", "integrity": "sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==", + "license": "MIT", "dependencies": { "@babel/types": "^7.20.7" } @@ -1573,40 +1693,41 @@ "node_modules/@types/estree": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", - "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==" - }, - "node_modules/@types/json-schema": { - "version": "7.0.15", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" + "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", + "license": "MIT" }, "node_modules/@types/lodash": { "version": "4.17.7", "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.7.tgz", - "integrity": "sha512-8wTvZawATi/lsmNu10/j2hk1KEP0IvjubqPE3cu1Xz7xfXXt5oCq3SNUz4fMIP4XGF9Ky+Ue2tBA3hcS7LSBlA==" + "integrity": "sha512-8wTvZawATi/lsmNu10/j2hk1KEP0IvjubqPE3cu1Xz7xfXXt5oCq3SNUz4fMIP4XGF9Ky+Ue2tBA3hcS7LSBlA==", + "license": "MIT" }, "node_modules/@types/node": { - "version": "22.3.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.3.0.tgz", - "integrity": "sha512-nrWpWVaDZuaVc5X84xJ0vNrLvomM205oQyLsRt7OHNZbSHslcWsvgFR7O7hire2ZonjLrWBbedmotmIlJDVd6g==", + "version": "22.4.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.4.0.tgz", + "integrity": "sha512-49AbMDwYUz7EXxKU/r7mXOsxwFr4BYbvB7tWYxVuLdb2ibd30ijjXINSMAHiEEZk5PCRBmW1gUeisn2VMKt3cQ==", + "license": "MIT", "dependencies": { - "undici-types": "~6.18.2" + "undici-types": "~6.19.2" } }, "node_modules/@types/parse-json": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz", - "integrity": "sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==" + "integrity": "sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==", + "license": "MIT" }, "node_modules/@types/prop-types": { "version": "15.7.12", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz", - "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==" + "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==", + "license": "MIT" }, "node_modules/@types/react": { "version": "18.3.3", "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz", "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==", + "license": "MIT", "dependencies": { "@types/prop-types": "*", "csstype": "^3.0.2" @@ -1616,49 +1737,46 @@ "version": "18.3.0", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz", "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==", + "license": "MIT", "dependencies": { "@types/react": "*" } }, "node_modules/@types/react-transition-group": { - "version": "4.4.10", - "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.10.tgz", - "integrity": "sha512-hT/+s0VQs2ojCX823m60m5f0sL5idt9SO6Tj6Dg+rdphGPIeJbJ6CxvBYkgkGKrYeDjvIpKTR38UzmtHJOGW3Q==", + "version": "4.4.11", + "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.11.tgz", + "integrity": "sha512-RM05tAniPZ5DZPzzNFP+DmrcOdD0efDUxMy3145oljWSl3x9ZV5vhme98gTxFrj2lhXvmGNnUiuDyJgY9IKkNA==", + "license": "MIT", "dependencies": { "@types/react": "*" } }, - "node_modules/@types/semver": { - "version": "7.5.8", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", - "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==" - }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", - "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", - "dependencies": { - "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.62.0", - "@typescript-eslint/type-utils": "5.62.0", - "@typescript-eslint/utils": "5.62.0", - "debug": "^4.3.4", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.1.0.tgz", + "integrity": "sha512-LlNBaHFCEBPHyD4pZXb35mzjGkuGKXU5eeCA1SxvHfiRES0E82dOounfVpL4DCqYvJEKab0bZIA0gCRpdLKkCw==", + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.1.0", + "@typescript-eslint/type-utils": "8.1.0", + "@typescript-eslint/utils": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0", "graphemer": "^1.4.0", - "ignore": "^5.2.0", - "natural-compare-lite": "^1.4.0", - "semver": "^7.3.7", - "tsutils": "^3.21.0" + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^5.0.0", - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "eslint": "^8.57.0 || ^9.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -1667,24 +1785,26 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", - "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", - "dependencies": { - "@typescript-eslint/scope-manager": "5.62.0", - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/typescript-estree": "5.62.0", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.1.0.tgz", + "integrity": "sha512-U7iTAtGgJk6DPX9wIWPPOlt1gO57097G06gIcl0N0EEnNw8RGD62c+2/DiP/zL7KrkqnnqF7gtFGR7YgzPllTA==", + "license": "BSD-2-Clause", + "dependencies": { + "@typescript-eslint/scope-manager": "8.1.0", + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/typescript-estree": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0", "debug": "^4.3.4" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + "eslint": "^8.57.0 || ^9.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -1693,15 +1813,16 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", - "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.1.0.tgz", + "integrity": "sha512-DsuOZQji687sQUjm4N6c9xABJa7fjvfIdjqpSIIVOgaENf2jFXiM9hIBZOL3hb6DHK9Nvd2d7zZnoMLf9e0OtQ==", + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/visitor-keys": "5.62.0" + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1709,25 +1830,23 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz", - "integrity": "sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.1.0.tgz", + "integrity": "sha512-oLYvTxljVvsMnldfl6jIKxTaU7ok7km0KDrwOt1RHYu6nxlhN3TIx8k5Q52L6wR33nOwDgM7VwW1fT1qMNfFIA==", + "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "5.62.0", - "@typescript-eslint/utils": "5.62.0", + "@typescript-eslint/typescript-estree": "8.1.0", + "@typescript-eslint/utils": "8.1.0", "debug": "^4.3.4", - "tsutils": "^3.21.0" + "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, - "peerDependencies": { - "eslint": "*" - }, "peerDependenciesMeta": { "typescript": { "optional": true @@ -1735,11 +1854,12 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", - "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.1.0.tgz", + "integrity": "sha512-q2/Bxa0gMOu/2/AKALI0tCKbG2zppccnRIRCW6BaaTlRVaPKft4oVYPp7WOPpcnsgbr0qROAVCVKCvIQ0tbWog==", + "license": "MIT", "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1747,20 +1867,22 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", - "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.1.0.tgz", + "integrity": "sha512-NTHhmufocEkMiAord/g++gWKb0Fr34e9AExBRdqgWdVBaKoei2dIyYKD9Q0jBnvfbEA5zaf8plUFMUH6kQ0vGg==", + "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/visitor-keys": "5.62.0", + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1773,40 +1895,38 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.62.0.tgz", - "integrity": "sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.1.0.tgz", + "integrity": "sha512-ypRueFNKTIFwqPeJBfeIpxZ895PQhNyH4YID6js0UoBImWYoSjBsahUn9KMiJXh94uOjVBgHD9AmkyPsPnFwJA==", + "license": "MIT", "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@types/json-schema": "^7.0.9", - "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.62.0", - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/typescript-estree": "5.62.0", - "eslint-scope": "^5.1.1", - "semver": "^7.3.7" + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.1.0", + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/typescript-estree": "8.1.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + "eslint": "^8.57.0 || ^9.0.0" } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", - "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.1.0.tgz", + "integrity": "sha512-ba0lNI19awqZ5ZNKh6wCModMwoZs457StTebQ0q1NP58zSi2F6MOZRXwfKZy+jB78JNJ/WH8GSh2IQNzXX8Nag==", + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "5.62.0", - "eslint-visitor-keys": "^3.3.0" + "@typescript-eslint/types": "8.1.0", + "eslint-visitor-keys": "^3.4.3" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1816,12 +1936,14 @@ "node_modules/@ungap/structured-clone": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", - "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==" + "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", + "license": "ISC" }, "node_modules/@vitejs/plugin-react": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.1.tgz", "integrity": "sha512-m/V2syj5CuVnaxcUJOQRel/Wr31FFXRFlnOoq1TVtkCxsY5veGMTEmpWHndrhB2U8ScHtCQB1e+4hWYExQc6Lg==", + "license": "MIT", "dependencies": { "@babel/core": "^7.24.5", "@babel/plugin-transform-react-jsx-self": "^7.24.5", @@ -1837,9 +1959,10 @@ } }, "node_modules/acorn": { - "version": "8.11.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", - "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", + "license": "MIT", "bin": { "acorn": "bin/acorn" }, @@ -1851,6 +1974,7 @@ "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "license": "MIT", "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } @@ -1859,6 +1983,7 @@ "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -1874,6 +1999,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", "engines": { "node": ">=8" } @@ -1882,6 +2008,7 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "license": "MIT", "dependencies": { "color-convert": "^1.9.0" }, @@ -1892,12 +2019,14 @@ "node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "license": "Python-2.0" }, "node_modules/array-buffer-byte-length": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz", "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.5", "is-array-buffer": "^3.0.4" @@ -1913,6 +2042,7 @@ "version": "3.1.8", "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz", "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -1932,6 +2062,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "license": "MIT", "engines": { "node": ">=8" } @@ -1940,6 +2071,7 @@ "version": "1.2.5", "resolved": "https://registry.npmjs.org/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz", "integrity": "sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -1959,6 +2091,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz", "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", @@ -1976,6 +2109,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", @@ -1993,6 +2127,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz", "integrity": "sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -2008,6 +2143,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", + "license": "MIT", "dependencies": { "array-buffer-byte-length": "^1.0.1", "call-bind": "^1.0.5", @@ -2028,12 +2164,14 @@ "node_modules/asap": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==" + "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", + "license": "MIT" }, "node_modules/attr-accept": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/attr-accept/-/attr-accept-2.2.2.tgz", "integrity": "sha512-7prDjvt9HmqiZ0cl5CRjtS84sEyhsHP2coDkaZKRKVfCDo9s7iw7ChVmar78Gu9pC4SoR/28wFu/G5JJhTnqEg==", + "license": "MIT", "engines": { "node": ">=4" } @@ -2042,6 +2180,7 @@ "version": "3.3.4", "resolved": "https://registry.npmjs.org/autosuggest-highlight/-/autosuggest-highlight-3.3.4.tgz", "integrity": "sha512-j6RETBD2xYnrVcoV1S5R4t3WxOlWZKyDQjkwnggDPSjF5L4jV98ZltBpvPvbkM1HtoSe5o+bNrTHyjPbieGeYA==", + "license": "MIT", "dependencies": { "remove-accents": "^0.4.2" } @@ -2050,6 +2189,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "license": "MIT", "dependencies": { "possible-typed-array-names": "^1.0.0" }, @@ -2064,6 +2204,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", + "license": "MIT", "dependencies": { "@babel/runtime": "^7.12.5", "cosmiconfig": "^7.0.0", @@ -2078,6 +2219,7 @@ "version": "1.22.8", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "license": "MIT", "dependencies": { "is-core-module": "^2.13.0", "path-parse": "^1.0.7", @@ -2093,26 +2235,29 @@ "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "license": "MIT" }, "node_modules/base16": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/base16/-/base16-1.0.0.tgz", - "integrity": "sha512-pNdYkNPiJUnEhnfXV56+sQy8+AaPcG3POZAUnwr4EeqCUZFz4u2PePbo3e5Gj4ziYPCWGUZT9RHisvJKnwFuBQ==" + "integrity": "sha512-pNdYkNPiJUnEhnfXV56+sQy8+AaPcG3POZAUnwr4EeqCUZFz4u2PePbo3e5Gj4ziYPCWGUZT9RHisvJKnwFuBQ==", + "license": "MIT" }, "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "license": "MIT", "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "balanced-match": "^1.0.0" } }, "node_modules/braces": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "license": "MIT", "dependencies": { "fill-range": "^7.1.1" }, @@ -2121,9 +2266,9 @@ } }, "node_modules/browserslist": { - "version": "4.23.0", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz", - "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==", + "version": "4.23.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.3.tgz", + "integrity": "sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==", "funding": [ { "type": "opencollective", @@ -2138,11 +2283,12 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { - "caniuse-lite": "^1.0.30001587", - "electron-to-chromium": "^1.4.668", - "node-releases": "^2.0.14", - "update-browserslist-db": "^1.0.13" + "caniuse-lite": "^1.0.30001646", + "electron-to-chromium": "^1.5.4", + "node-releases": "^2.0.18", + "update-browserslist-db": "^1.1.0" }, "bin": { "browserslist": "cli.js" @@ -2155,6 +2301,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -2173,14 +2320,15 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/caniuse-lite": { - "version": "1.0.30001625", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001625.tgz", - "integrity": "sha512-4KE9N2gcRH+HQhpeiRZXd+1niLB/XNLAhSy4z7fI8EzcbcPoAqjNInxVHTiTwWfTIV4w096XG8OtCOCQQKPv3w==", + "version": "1.0.30001651", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001651.tgz", + "integrity": "sha512-9Cf+Xv1jJNe1xPZLGuUXLNkE1BoDkqRqYyFJ9TDYSqhduqA4hu4oR9HluGoWYQC/aj8WHjsGVV+bwkh0+tegRg==", "funding": [ { "type": "opencollective", @@ -2194,12 +2342,14 @@ "type": "github", "url": "https://github.com/sponsors/ai" } - ] + ], + "license": "CC-BY-4.0" }, "node_modules/chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -2213,6 +2363,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "license": "MIT", "engines": { "node": ">=6" } @@ -2221,6 +2372,7 @@ "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "license": "MIT", "dependencies": { "color-name": "1.1.3" } @@ -2228,22 +2380,26 @@ "node_modules/color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "license": "MIT" }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "license": "MIT" }, "node_modules/convert-source-map": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", - "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==" + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT" }, "node_modules/cosmiconfig": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", + "license": "MIT", "dependencies": { "@types/parse-json": "^4.0.0", "import-fresh": "^3.2.1", @@ -2259,6 +2415,7 @@ "version": "3.1.8", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", + "license": "MIT", "dependencies": { "node-fetch": "^2.6.12" } @@ -2267,6 +2424,7 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "license": "MIT", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -2279,17 +2437,20 @@ "node_modules/css-mediaquery": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/css-mediaquery/-/css-mediaquery-0.1.2.tgz", - "integrity": "sha512-COtn4EROW5dBGlE/4PiKnh6rZpAPxDeFLaEEwt4i10jpDMFt2EhQGS79QmmrO+iKCHv0PU/HrOWEhijFd1x99Q==" + "integrity": "sha512-COtn4EROW5dBGlE/4PiKnh6rZpAPxDeFLaEEwt4i10jpDMFt2EhQGS79QmmrO+iKCHv0PU/HrOWEhijFd1x99Q==", + "license": "BSD" }, "node_modules/csstype": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", - "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "license": "MIT" }, "node_modules/data-view-buffer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.1.tgz", "integrity": "sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.6", "es-errors": "^1.3.0", @@ -2306,6 +2467,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz", "integrity": "sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "es-errors": "^1.3.0", @@ -2322,6 +2484,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz", "integrity": "sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.6", "es-errors": "^1.3.0", @@ -2338,15 +2501,17 @@ "version": "3.6.0", "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-3.6.0.tgz", "integrity": "sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==", + "license": "MIT", "funding": { "type": "github", "url": "https://github.com/sponsors/kossnocorp" } }, "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", + "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", + "license": "MIT", "dependencies": { "ms": "2.1.2" }, @@ -2363,6 +2528,7 @@ "version": "0.2.2", "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz", "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==", + "license": "MIT", "engines": { "node": ">=0.10" } @@ -2370,12 +2536,14 @@ "node_modules/deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "license": "MIT" }, "node_modules/define-data-property": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -2392,6 +2560,7 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", + "license": "MIT", "dependencies": { "define-data-property": "^1.0.1", "has-property-descriptors": "^1.0.0", @@ -2408,6 +2577,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "license": "MIT", "dependencies": { "path-type": "^4.0.0" }, @@ -2419,6 +2589,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "license": "Apache-2.0", "dependencies": { "esutils": "^2.0.2" }, @@ -2430,6 +2601,7 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz", "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==", + "license": "MIT", "dependencies": { "@babel/runtime": "^7.8.7", "csstype": "^3.0.2" @@ -2438,17 +2610,20 @@ "node_modules/dompurify": { "version": "2.5.6", "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.5.6.tgz", - "integrity": "sha512-zUTaUBO8pY4+iJMPE1B9XlO2tXVYIcEA4SNGtvDELzTSCQO7RzH+j7S180BmhmJId78lqGU2z19vgVx2Sxs/PQ==" + "integrity": "sha512-zUTaUBO8pY4+iJMPE1B9XlO2tXVYIcEA4SNGtvDELzTSCQO7RzH+j7S180BmhmJId78lqGU2z19vgVx2Sxs/PQ==", + "license": "(MPL-2.0 OR Apache-2.0)" }, "node_modules/electron-to-chromium": { - "version": "1.4.787", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.787.tgz", - "integrity": "sha512-d0EFmtLPjctczO3LogReyM2pbBiiZbnsKnGF+cdZhsYzHm/A0GV7W94kqzLD8SN4O3f3iHlgLUChqghgyznvCQ==" + "version": "1.5.10", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.10.tgz", + "integrity": "sha512-C3RDERDjrNW262GCRvpoer3a0Ksd66CtgDLxMHhzShQ8fhL4kwnpVXsJPAKg9xJjIROXUbLBrvtOzVAjALMIWA==", + "license": "ISC" }, "node_modules/error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "license": "MIT", "dependencies": { "is-arrayish": "^0.2.1" } @@ -2457,6 +2632,7 @@ "version": "1.23.3", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz", "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==", + "license": "MIT", "dependencies": { "array-buffer-byte-length": "^1.0.1", "arraybuffer.prototype.slice": "^1.0.3", @@ -2516,6 +2692,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.2.4" }, @@ -2527,6 +2704,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", "engines": { "node": ">= 0.4" } @@ -2535,6 +2713,7 @@ "version": "1.0.19", "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.0.19.tgz", "integrity": "sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -2559,6 +2738,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz", "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==", + "license": "MIT", "dependencies": { "es-errors": "^1.3.0" }, @@ -2570,6 +2750,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz", "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.2.4", "has-tostringtag": "^1.0.2", @@ -2583,6 +2764,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz", "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==", + "license": "MIT", "dependencies": { "hasown": "^2.0.0" } @@ -2591,6 +2773,7 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "license": "MIT", "dependencies": { "is-callable": "^1.1.4", "is-date-object": "^1.0.1", @@ -2608,6 +2791,7 @@ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", "hasInstallScript": true, + "license": "MIT", "bin": { "esbuild": "bin/esbuild" }, @@ -2644,6 +2828,7 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "license": "MIT", "engines": { "node": ">=6" } @@ -2652,6 +2837,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "license": "MIT", "engines": { "node": ">=0.8.0" } @@ -2660,6 +2846,7 @@ "version": "8.57.0", "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", @@ -2714,6 +2901,7 @@ "version": "9.1.0", "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz", "integrity": "sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==", + "license": "MIT", "bin": { "eslint-config-prettier": "bin/cli.js" }, @@ -2725,6 +2913,7 @@ "version": "7.35.0", "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.35.0.tgz", "integrity": "sha512-v501SSMOWv8gerHkk+IIQBkcGRGrO2nfybfj5pLxuJNFTPxxA3PSryhXTK+9pNbtkggheDdsC0E9Q8CuPk6JKA==", + "license": "MIT", "dependencies": { "array-includes": "^3.1.8", "array.prototype.findlast": "^1.2.5", @@ -2756,6 +2945,7 @@ "version": "4.6.2", "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz", "integrity": "sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==", + "license": "MIT", "engines": { "node": ">=10" }, @@ -2763,10 +2953,21 @@ "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" } }, + "node_modules/eslint-plugin-react/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, "node_modules/eslint-plugin-react/node_modules/doctrine": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "license": "Apache-2.0", "dependencies": { "esutils": "^2.0.2" }, @@ -2774,38 +2975,48 @@ "node": ">=0.10.0" } }, + "node_modules/eslint-plugin-react/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/eslint-plugin-react/node_modules/semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "license": "BSD-2-Clause", "dependencies": { "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" + "estraverse": "^5.2.0" }, "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/eslint-scope/node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "engines": { - "node": ">=4.0" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/eslint-visitor-keys": { "version": "3.4.3", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "license": "Apache-2.0", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -2817,6 +3028,7 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -2827,10 +3039,21 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/eslint/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, "node_modules/eslint/node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -2846,6 +3069,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -2856,12 +3080,14 @@ "node_modules/eslint/node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" }, "node_modules/eslint/node_modules/escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "license": "MIT", "engines": { "node": ">=10" }, @@ -2869,25 +3095,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/eslint/node_modules/eslint-scope": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", - "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, "node_modules/eslint/node_modules/globals": { "version": "13.24.0", "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "license": "MIT", "dependencies": { "type-fest": "^0.20.2" }, @@ -2902,14 +3114,28 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", "engines": { "node": ">=8" } }, + "node_modules/eslint/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/eslint/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -2921,6 +3147,7 @@ "version": "9.6.1", "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "license": "BSD-2-Clause", "dependencies": { "acorn": "^8.9.0", "acorn-jsx": "^5.3.2", @@ -2934,9 +3161,10 @@ } }, "node_modules/esquery": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", - "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", + "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", + "license": "BSD-3-Clause", "dependencies": { "estraverse": "^5.1.0" }, @@ -2948,6 +3176,7 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "license": "BSD-2-Clause", "dependencies": { "estraverse": "^5.2.0" }, @@ -2959,6 +3188,7 @@ "version": "5.3.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "license": "BSD-2-Clause", "engines": { "node": ">=4.0" } @@ -2967,6 +3197,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "license": "BSD-2-Clause", "engines": { "node": ">=0.10.0" } @@ -2974,17 +3205,20 @@ "node_modules/eventemitter3": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", - "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==" + "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", + "license": "MIT" }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "license": "MIT" }, "node_modules/fast-glob": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "license": "MIT", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -3000,6 +3234,7 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "license": "ISC", "dependencies": { "is-glob": "^4.0.1" }, @@ -3010,17 +3245,20 @@ "node_modules/fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "license": "MIT" }, "node_modules/fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "license": "MIT" }, "node_modules/fastq": { "version": "1.17.1", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "license": "ISC", "dependencies": { "reusify": "^1.0.4" } @@ -3029,6 +3267,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/fbemitter/-/fbemitter-3.0.0.tgz", "integrity": "sha512-KWKaceCwKQU0+HPoop6gn4eOHk50bBv/VxjJtGMfwmJt3D29JpN4H4eisCtIPA+a8GVBam+ldMMpMjJUvpDyHw==", + "license": "BSD-3-Clause", "dependencies": { "fbjs": "^3.0.0" } @@ -3037,6 +3276,7 @@ "version": "3.0.5", "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-3.0.5.tgz", "integrity": "sha512-ztsSx77JBtkuMrEypfhgc3cI0+0h+svqeie7xHbh1k/IKdcydnvadp/mUaGgjAOXQmQSxsqgaRhS3q9fy+1kxg==", + "license": "MIT", "dependencies": { "cross-fetch": "^3.1.5", "fbjs-css-vars": "^1.0.0", @@ -3050,12 +3290,14 @@ "node_modules/fbjs-css-vars": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/fbjs-css-vars/-/fbjs-css-vars-1.0.2.tgz", - "integrity": "sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ==" + "integrity": "sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ==", + "license": "MIT" }, "node_modules/file-entry-cache": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "license": "MIT", "dependencies": { "flat-cache": "^3.0.4" }, @@ -3067,6 +3309,7 @@ "version": "0.6.0", "resolved": "https://registry.npmjs.org/file-selector/-/file-selector-0.6.0.tgz", "integrity": "sha512-QlZ5yJC0VxHxQQsQhXvBaC7VRJ2uaxTf+Tfpu4Z/OcVQJVpZO+DGU0rkoVW5ce2SccxugvpBJoMvUs59iILYdw==", + "license": "MIT", "dependencies": { "tslib": "^2.4.0" }, @@ -3078,6 +3321,7 @@ "version": "7.1.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "license": "MIT", "dependencies": { "to-regex-range": "^5.0.1" }, @@ -3089,6 +3333,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz", "integrity": "sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==", + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -3096,12 +3341,14 @@ "node_modules/find-root": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", - "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==" + "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", + "license": "MIT" }, "node_modules/find-up": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "license": "MIT", "dependencies": { "locate-path": "^6.0.0", "path-exists": "^4.0.0" @@ -3117,6 +3364,7 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "license": "MIT", "dependencies": { "flatted": "^3.2.9", "keyv": "^4.5.3", @@ -3129,12 +3377,14 @@ "node_modules/flatted": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", - "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==" + "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", + "license": "ISC" }, "node_modules/for-each": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "license": "MIT", "dependencies": { "is-callable": "^1.1.3" } @@ -3142,13 +3392,15 @@ "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "license": "ISC" }, "node_modules/fsevents": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", "hasInstallScript": true, + "license": "MIT", "optional": true, "os": [ "darwin" @@ -3161,6 +3413,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -3169,6 +3422,7 @@ "version": "1.1.6", "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", @@ -3186,6 +3440,7 @@ "version": "1.2.3", "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -3194,6 +3449,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/fuse.js/-/fuse.js-7.0.0.tgz", "integrity": "sha512-14F4hBIxqKvD4Zz/XjDc3y94mNZN6pRv3U13Udo0lNLCWRBUsrMv2xwcF/y/Z5sV6+FQW+/ow68cHpm4sunt8Q==", + "license": "Apache-2.0", "engines": { "node": ">=10" } @@ -3202,6 +3458,7 @@ "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "license": "MIT", "engines": { "node": ">=6.9.0" } @@ -3210,6 +3467,7 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "license": "MIT", "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2", @@ -3228,6 +3486,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.5", "es-errors": "^1.3.0", @@ -3245,6 +3504,7 @@ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "deprecated": "Glob versions prior to v9 are no longer supported", + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -3264,6 +3524,7 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "license": "ISC", "dependencies": { "is-glob": "^4.0.3" }, @@ -3271,10 +3532,33 @@ "node": ">=10.13.0" } }, + "node_modules/glob/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/glob/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/globals": { "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "license": "MIT", "engines": { "node": ">=4" } @@ -3283,6 +3567,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", + "license": "MIT", "dependencies": { "define-properties": "^1.2.1", "gopd": "^1.0.1" @@ -3298,6 +3583,7 @@ "version": "11.1.0", "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "license": "MIT", "dependencies": { "array-union": "^2.1.0", "dir-glob": "^3.0.1", @@ -3317,6 +3603,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -3327,12 +3614,14 @@ "node_modules/graphemer": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", - "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==" + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "license": "MIT" }, "node_modules/has-bigints": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -3341,6 +3630,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "license": "MIT", "engines": { "node": ">=4" } @@ -3349,6 +3639,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0" }, @@ -3360,6 +3651,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -3371,6 +3663,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -3382,6 +3675,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "license": "MIT", "dependencies": { "has-symbols": "^1.0.3" }, @@ -3396,6 +3690,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", "dependencies": { "function-bind": "^1.1.2" }, @@ -3407,6 +3702,7 @@ "version": "3.3.2", "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", + "license": "BSD-3-Clause", "dependencies": { "react-is": "^16.7.0" } @@ -3414,12 +3710,14 @@ "node_modules/hotscript": { "version": "1.0.13", "resolved": "https://registry.npmjs.org/hotscript/-/hotscript-1.0.13.tgz", - "integrity": "sha512-C++tTF1GqkGYecL+2S1wJTfoH6APGAsbb7PAWQ3iVIwgG/EFseAfEVOKFgAFq4yK3+6j1EjUD4UQ9dRJHX/sSQ==" + "integrity": "sha512-C++tTF1GqkGYecL+2S1wJTfoH6APGAsbb7PAWQ3iVIwgG/EFseAfEVOKFgAFq4yK3+6j1EjUD4UQ9dRJHX/sSQ==", + "license": "ISC" }, "node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "license": "MIT", "engines": { "node": ">= 4" } @@ -3428,6 +3726,7 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "license": "MIT", "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" @@ -3443,6 +3742,7 @@ "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "license": "MIT", "engines": { "node": ">=0.8.19" } @@ -3451,6 +3751,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/inflection/-/inflection-3.0.0.tgz", "integrity": "sha512-1zEJU1l19SgJlmwqsEyFTbScw/tkMHFenUo//Y0i+XEP83gDFdMvPizAD/WGcE+l1ku12PcTVHQhO6g5E0UCMw==", + "license": "MIT", "engines": { "node": ">=18.0.0" } @@ -3460,6 +3761,7 @@ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "license": "ISC", "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -3468,12 +3770,14 @@ "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" }, "node_modules/internal-slot": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", + "license": "MIT", "dependencies": { "es-errors": "^1.3.0", "hasown": "^2.0.0", @@ -3487,6 +3791,7 @@ "version": "3.0.4", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "get-intrinsic": "^1.2.1" @@ -3501,12 +3806,14 @@ "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "license": "MIT" }, "node_modules/is-async-function": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.0.0.tgz", "integrity": "sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==", + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -3521,6 +3828,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "license": "MIT", "dependencies": { "has-bigints": "^1.0.1" }, @@ -3532,6 +3840,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -3547,6 +3856,7 @@ "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -3555,11 +3865,15 @@ } }, "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.0.tgz", + "integrity": "sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==", + "license": "MIT", "dependencies": { - "hasown": "^2.0.0" + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -3569,6 +3883,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.1.tgz", "integrity": "sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==", + "license": "MIT", "dependencies": { "is-typed-array": "^1.1.13" }, @@ -3583,6 +3898,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -3597,6 +3913,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -3605,6 +3922,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.0.2.tgz", "integrity": "sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.2" }, @@ -3616,6 +3934,7 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -3630,6 +3949,7 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "license": "MIT", "dependencies": { "is-extglob": "^2.1.1" }, @@ -3641,6 +3961,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz", "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -3652,6 +3973,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -3663,6 +3985,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "license": "MIT", "engines": { "node": ">=0.12.0" } @@ -3671,6 +3994,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -3685,6 +4009,7 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "license": "MIT", "engines": { "node": ">=8" } @@ -3693,6 +4018,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -3708,6 +4034,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz", "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -3719,6 +4046,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7" }, @@ -3733,6 +4061,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -3747,6 +4076,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "license": "MIT", "dependencies": { "has-symbols": "^1.0.2" }, @@ -3761,6 +4091,7 @@ "version": "1.1.13", "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", + "license": "MIT", "dependencies": { "which-typed-array": "^1.1.14" }, @@ -3775,6 +4106,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz", "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -3786,6 +4118,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.2" }, @@ -3797,6 +4130,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.3.tgz", "integrity": "sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "get-intrinsic": "^1.2.4" @@ -3811,17 +4145,20 @@ "node_modules/isarray": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "license": "MIT" }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "license": "ISC" }, "node_modules/iterator.prototype": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.2.tgz", "integrity": "sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==", + "license": "MIT", "dependencies": { "define-properties": "^1.2.1", "get-intrinsic": "^1.2.1", @@ -3833,12 +4170,14 @@ "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "license": "MIT" }, "node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "license": "MIT", "dependencies": { "argparse": "^2.0.1" }, @@ -3850,6 +4189,7 @@ "version": "2.5.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "license": "MIT", "bin": { "jsesc": "bin/jsesc" }, @@ -3860,27 +4200,32 @@ "node_modules/json-buffer": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", - "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==" + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "license": "MIT" }, "node_modules/json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "license": "MIT" }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "license": "MIT" }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==" + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "license": "MIT" }, "node_modules/json5": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "license": "MIT", "bin": { "json5": "lib/cli.js" }, @@ -3892,6 +4237,7 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/jsonexport/-/jsonexport-3.2.0.tgz", "integrity": "sha512-GbO9ugb0YTZatPd/hqCGR0FSwbr82H6OzG04yzdrG7XOe4QZ0jhQ+kOsB29zqkzoYJLmLxbbrFiuwbQu891XnQ==", + "license": "Apache-2.0", "bin": { "jsonexport": "bin/jsonexport.js" } @@ -3900,6 +4246,7 @@ "version": "3.3.5", "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz", "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==", + "license": "MIT", "dependencies": { "array-includes": "^3.1.6", "array.prototype.flat": "^1.3.1", @@ -3914,6 +4261,7 @@ "version": "4.5.4", "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "license": "MIT", "dependencies": { "json-buffer": "3.0.1" } @@ -3922,6 +4270,7 @@ "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "license": "MIT", "dependencies": { "prelude-ls": "^1.2.1", "type-check": "~0.4.0" @@ -3933,12 +4282,14 @@ "node_modules/lines-and-columns": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "license": "MIT" }, "node_modules/locate-path": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "license": "MIT", "dependencies": { "p-locate": "^5.0.0" }, @@ -3952,27 +4303,32 @@ "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "license": "MIT" }, "node_modules/lodash.curry": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/lodash.curry/-/lodash.curry-4.1.1.tgz", - "integrity": "sha512-/u14pXGviLaweY5JI0IUzgzF2J6Ne8INyzAZjImcryjgkZ+ebruBxy2/JaOOkTqScddcYtakjhSaeemV8lR0tA==" + "integrity": "sha512-/u14pXGviLaweY5JI0IUzgzF2J6Ne8INyzAZjImcryjgkZ+ebruBxy2/JaOOkTqScddcYtakjhSaeemV8lR0tA==", + "license": "MIT" }, "node_modules/lodash.flow": { "version": "3.5.0", "resolved": "https://registry.npmjs.org/lodash.flow/-/lodash.flow-3.5.0.tgz", - "integrity": "sha512-ff3BX/tSioo+XojX4MOsOMhJw0nZoUEF011LX8g8d3gvjVbxd89cCio4BCXronjxcTUIJUoqKEUA+n4CqvvRPw==" + "integrity": "sha512-ff3BX/tSioo+XojX4MOsOMhJw0nZoUEF011LX8g8d3gvjVbxd89cCio4BCXronjxcTUIJUoqKEUA+n4CqvvRPw==", + "license": "MIT" }, "node_modules/lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "license": "MIT" }, "node_modules/loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "license": "MIT", "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, @@ -3984,6 +4340,7 @@ "version": "5.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "license": "ISC", "dependencies": { "yallist": "^3.0.2" } @@ -3992,6 +4349,7 @@ "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "license": "MIT", "engines": { "node": ">= 8" } @@ -4000,6 +4358,7 @@ "version": "4.0.7", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "license": "MIT", "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" @@ -4009,20 +4368,25 @@ } }, "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "license": "ISC", "dependencies": { - "brace-expansion": "^1.1.7" + "brace-expansion": "^2.0.1" }, "engines": { - "node": "*" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "license": "MIT" }, "node_modules/nanoid": { "version": "3.3.7", @@ -4034,6 +4398,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -4044,17 +4409,14 @@ "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==" - }, - "node_modules/natural-compare-lite": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", - "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==" + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "license": "MIT" }, "node_modules/node-fetch": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "license": "MIT", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -4074,6 +4436,7 @@ "version": "2.6.0", "resolved": "https://registry.npmjs.org/node-polyglot/-/node-polyglot-2.6.0.tgz", "integrity": "sha512-ZZFkaYzIfGfBvSM6QhA9dM8EEaUJOVewzGSRcXWbJELXDj0lajAtKaENCYxvF5yE+TgHg6NQb0CmgYMsMdcNJQ==", + "license": "BSD-2-Clause", "dependencies": { "hasown": "^2.0.2", "object.entries": "^1.1.8", @@ -4084,22 +4447,28 @@ } }, "node_modules/node-releases": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", - "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==" + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", + "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", + "license": "MIT" }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/object-inspect": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", - "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -4108,6 +4477,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "license": "MIT", "engines": { "node": ">= 0.4" } @@ -4116,6 +4486,7 @@ "version": "4.1.5", "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.5", "define-properties": "^1.2.1", @@ -4133,6 +4504,7 @@ "version": "1.1.8", "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.8.tgz", "integrity": "sha512-cmopxi8VwRIAw/fkijJohSfpef5PdN0pMQJN6VC/ZKvn0LIknWD8KtgY6KlQdEc4tIjcQ3HxSMmnvtzIscdaYQ==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -4146,6 +4518,7 @@ "version": "2.0.8", "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz", "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -4163,6 +4536,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.0.tgz", "integrity": "sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -4179,6 +4553,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "license": "ISC", "dependencies": { "wrappy": "1" } @@ -4187,6 +4562,7 @@ "version": "0.9.4", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "license": "MIT", "dependencies": { "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", @@ -4203,6 +4579,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "license": "MIT", "dependencies": { "yocto-queue": "^0.1.0" }, @@ -4217,6 +4594,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "license": "MIT", "dependencies": { "p-limit": "^3.0.2" }, @@ -4231,6 +4609,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "license": "MIT", "dependencies": { "callsites": "^3.0.0" }, @@ -4242,6 +4621,7 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", @@ -4259,6 +4639,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "license": "MIT", "engines": { "node": ">=8" } @@ -4267,6 +4648,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -4275,6 +4657,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "license": "MIT", "engines": { "node": ">=8" } @@ -4282,12 +4665,14 @@ "node_modules/path-parse": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "license": "MIT" }, "node_modules/path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "license": "MIT", "engines": { "node": ">=8" } @@ -4295,12 +4680,14 @@ "node_modules/picocolors": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", - "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==" + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", + "license": "ISC" }, "node_modules/picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "license": "MIT", "engines": { "node": ">=8.6" }, @@ -4312,6 +4699,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "license": "MIT", "engines": { "node": ">= 0.4" } @@ -4334,6 +4722,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "nanoid": "^3.3.7", "picocolors": "^1.0.1", @@ -4347,6 +4736,7 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "license": "MIT", "engines": { "node": ">= 0.8.0" } @@ -4355,6 +4745,7 @@ "version": "3.3.3", "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", + "license": "MIT", "bin": { "prettier": "bin/prettier.cjs" }, @@ -4369,6 +4760,7 @@ "version": "7.3.1", "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "license": "MIT", "dependencies": { "asap": "~2.0.3" } @@ -4377,6 +4769,7 @@ "version": "15.8.1", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "license": "MIT", "dependencies": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", @@ -4387,6 +4780,7 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "license": "MIT", "engines": { "node": ">=6" } @@ -4394,12 +4788,14 @@ "node_modules/pure-color": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/pure-color/-/pure-color-1.3.0.tgz", - "integrity": "sha512-QFADYnsVoBMw1srW7OVKEYjG+MbIa49s54w1MA1EDY6r2r/sTcKKYqRX1f4GYvnXP7eN/Pe9HFcX+hwzmrXRHA==" + "integrity": "sha512-QFADYnsVoBMw1srW7OVKEYjG+MbIa49s54w1MA1EDY6r2r/sTcKKYqRX1f4GYvnXP7eN/Pe9HFcX+hwzmrXRHA==", + "license": "MIT" }, "node_modules/query-string": { "version": "7.1.3", "resolved": "https://registry.npmjs.org/query-string/-/query-string-7.1.3.tgz", "integrity": "sha512-hh2WYhq4fi8+b+/2Kg9CEge4fDPvHS534aOOvOZeQ3+Vf2mCFsaFBYj0i+iXcAq6I9Vzp5fjMFBlONvayDC1qg==", + "license": "MIT", "dependencies": { "decode-uri-component": "^0.2.2", "filter-obj": "^1.1.0", @@ -4430,12 +4826,14 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/ra-core": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/ra-core/-/ra-core-5.1.1.tgz", "integrity": "sha512-b0DR83yJZscWLNIoSNh61gWEySCLbtBuR7c74i6WCVGi4uJEAr+1+nn+1UYBPRPg3hMjMud672PRMwu5iLioaQ==", + "license": "MIT", "dependencies": { "@tanstack/react-query": "^5.8.4", "clsx": "^2.1.1", @@ -4460,12 +4858,14 @@ "node_modules/ra-core/node_modules/react-is": { "version": "18.3.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", - "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==" + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", + "license": "MIT" }, "node_modules/ra-i18n-polyglot": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/ra-i18n-polyglot/-/ra-i18n-polyglot-5.1.1.tgz", "integrity": "sha512-ckzJy9WLCMBaSMk4Tgknf+/rRQ1R8ghXpVRM2gCzYlBI1lYDGk9qh0PMXk3FC7u6fCADy2q0T1KGfJNbalzZgg==", + "license": "MIT", "dependencies": { "node-polyglot": "^2.2.2", "ra-core": "^5.1.1" @@ -4475,6 +4875,7 @@ "version": "5.1.1", "resolved": "https://registry.npmjs.org/ra-language-english/-/ra-language-english-5.1.1.tgz", "integrity": "sha512-AB579oGAvhb/usuiXBJnVk4WKP3tIclBsVwTqBwfgd4bSg9GLQEoqZn53WPCBfIgyO7sclfKz1h1Wh5F7IqQWw==", + "license": "MIT", "dependencies": { "ra-core": "^5.1.1" } @@ -4483,6 +4884,7 @@ "version": "18.3.1", "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "license": "MIT", "dependencies": { "loose-envify": "^1.1.0" }, @@ -4494,6 +4896,7 @@ "version": "5.1.1", "resolved": "https://registry.npmjs.org/react-admin/-/react-admin-5.1.1.tgz", "integrity": "sha512-yImS5Zz2GvJS0qt0tLClFbS85VYGqYkL6Q8giTdljUWTQ8V6W0e4lem7xtciKyyB1DTWcVw8pL6xp3q+lUsieg==", + "license": "MIT", "dependencies": { "@emotion/react": "^11.4.1", "@emotion/styled": "^11.3.0", @@ -4516,6 +4919,7 @@ "version": "5.1.1", "resolved": "https://registry.npmjs.org/ra-ui-materialui/-/ra-ui-materialui-5.1.1.tgz", "integrity": "sha512-A1MaqPKPJ5KJYIVKhw8+3q2O4zV6LjK96Nfs+GmST0/uYPa4osxsujDwz+Kk6Br+RT0u4xM9fpBMw5KceHwoZw==", + "license": "MIT", "dependencies": { "@tanstack/react-query": "^5.8.4", "autosuggest-highlight": "^3.1.1", @@ -4547,12 +4951,14 @@ "version": "18.3.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", + "license": "MIT", "peer": true }, "node_modules/react-base16-styling": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/react-base16-styling/-/react-base16-styling-0.6.0.tgz", "integrity": "sha512-yvh/7CArceR/jNATXOKDlvTnPKPmGZz7zsenQ3jUwLzHkNUR0CvY3yGYJbWJ/nnxsL8Sgmt5cO3/SILVuPO6TQ==", + "license": "MIT", "dependencies": { "base16": "^1.0.0", "lodash.curry": "^4.0.1", @@ -4564,6 +4970,7 @@ "version": "18.3.1", "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "license": "MIT", "dependencies": { "loose-envify": "^1.1.0", "scheduler": "^0.23.2" @@ -4576,6 +4983,7 @@ "version": "14.2.3", "resolved": "https://registry.npmjs.org/react-dropzone/-/react-dropzone-14.2.3.tgz", "integrity": "sha512-O3om8I+PkFKbxCukfIR3QAGftYXDZfOE2N1mr/7qebQJHs7U+/RSL/9xomJNpRg9kM5h9soQSdf0Gc7OHF5Fug==", + "license": "MIT", "dependencies": { "attr-accept": "^2.2.2", "file-selector": "^0.6.0", @@ -4592,6 +5000,7 @@ "version": "4.0.13", "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-4.0.13.tgz", "integrity": "sha512-b6PwbdSv8XeOSYvjt8LpgpKrZ0yGdtZokYwkwV2wlcZbxgopHX/hgPl5VgpnoVOWd868n1hktM8Qm4b+02MiLQ==", + "license": "MIT", "dependencies": { "@babel/runtime": "^7.12.5" }, @@ -4600,11 +5009,12 @@ } }, "node_modules/react-hook-form": { - "version": "7.52.1", - "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.52.1.tgz", - "integrity": "sha512-uNKIhaoICJ5KQALYZ4TOaOLElyM+xipord+Ha3crEFhTntdLvWZqVY49Wqd/0GiVCA/f9NjemLeiNPjG7Hpurg==", + "version": "7.52.2", + "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.52.2.tgz", + "integrity": "sha512-pqfPEbERnxxiNMPd0bzmt1tuaPcVccywFDpyk2uV5xCIBphHV5T8SVnX9/o3kplPE1zzKt77+YIoq+EMwJp56A==", + "license": "MIT", "engines": { - "node": ">=12.22.0" + "node": ">=18.0.0" }, "funding": { "type": "opencollective", @@ -4617,27 +5027,31 @@ "node_modules/react-is": { "version": "16.13.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "license": "MIT" }, "node_modules/react-lifecycles-compat": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz", - "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==" + "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==", + "license": "MIT" }, "node_modules/react-refresh": { "version": "0.14.2", "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz", "integrity": "sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/react-router": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.26.0.tgz", - "integrity": "sha512-wVQq0/iFYd3iZ9H2l3N3k4PL8EEHcb0XlU2Na8nEwmiXgIUElEH6gaJDtUQxJ+JFzmIXaQjfdpcGWaM6IoQGxg==", + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.26.1.tgz", + "integrity": "sha512-kIwJveZNwp7teQRI5QmwWo39A5bXRyqpH0COKKmPnyD2vBvDwgFXSqDUYtt1h+FEyfnE8eXr7oe0MxRzVwCcvQ==", + "license": "MIT", "dependencies": { - "@remix-run/router": "1.19.0" + "@remix-run/router": "1.19.1" }, "engines": { "node": ">=14.0.0" @@ -4647,12 +5061,13 @@ } }, "node_modules/react-router-dom": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.26.0.tgz", - "integrity": "sha512-RRGUIiDtLrkX3uYcFiCIxKFWMcWQGMojpYZfcstc63A1+sSnVgILGIm9gNUA6na3Fm1QuPGSBQH2EMbAZOnMsQ==", + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.26.1.tgz", + "integrity": "sha512-veut7m41S1fLql4pLhxeSW3jlqs+4MtjRLj0xvuCEXsxusJCbs6I8yn9BxzzDX2XDgafrccY6hwjmd/bL54tFw==", + "license": "MIT", "dependencies": { - "@remix-run/router": "1.19.0", - "react-router": "6.26.0" + "@remix-run/router": "1.19.1", + "react-router": "6.26.1" }, "engines": { "node": ">=14.0.0" @@ -4666,6 +5081,7 @@ "version": "8.3.4", "resolved": "https://registry.npmjs.org/react-textarea-autosize/-/react-textarea-autosize-8.3.4.tgz", "integrity": "sha512-CdtmP8Dc19xL8/R6sWvtknD/eCXkQr30dtvC4VmGInhRsfF8X/ihXCq6+9l9qbxmKRiq407/7z5fxE7cVWQNgQ==", + "license": "MIT", "dependencies": { "@babel/runtime": "^7.10.2", "use-composed-ref": "^1.3.0", @@ -4682,6 +5098,7 @@ "version": "4.4.5", "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz", "integrity": "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==", + "license": "BSD-3-Clause", "dependencies": { "@babel/runtime": "^7.5.5", "dom-helpers": "^5.0.1", @@ -4697,6 +5114,7 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.6.tgz", "integrity": "sha512-fmfw4XgoDke3kdI6h4xcUz1dG8uaiv5q9gcEwLS4Pnth2kxT+GZ7YehS1JTMGBQmtV7Y4GFGbs2re2NqhdozUg==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -4716,12 +5134,14 @@ "node_modules/regenerator-runtime": { "version": "0.14.1", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", - "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==" + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", + "license": "MIT" }, "node_modules/regexp.prototype.flags": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.6", "define-properties": "^1.2.1", @@ -4738,12 +5158,14 @@ "node_modules/remove-accents": { "version": "0.4.4", "resolved": "https://registry.npmjs.org/remove-accents/-/remove-accents-0.4.4.tgz", - "integrity": "sha512-EpFcOa/ISetVHEXqu+VwI96KZBmq+a8LJnGkaeFw45epGlxIZz5dhEEnNZMsQXgORu3qaMoLX4qJCzOik6ytAg==" + "integrity": "sha512-EpFcOa/ISetVHEXqu+VwI96KZBmq+a8LJnGkaeFw45epGlxIZz5dhEEnNZMsQXgORu3qaMoLX4qJCzOik6ytAg==", + "license": "MIT" }, "node_modules/resolve": { "version": "2.0.0-next.5", "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz", "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==", + "license": "MIT", "dependencies": { "is-core-module": "^2.13.0", "path-parse": "^1.0.7", @@ -4760,6 +5182,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "license": "MIT", "engines": { "node": ">=4" } @@ -4768,6 +5191,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "license": "MIT", "engines": { "iojs": ">=1.0.0", "node": ">=0.10.0" @@ -4778,6 +5202,7 @@ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "deprecated": "Rimraf versions prior to v4 are no longer supported", + "license": "ISC", "dependencies": { "glob": "^7.1.3" }, @@ -4789,9 +5214,10 @@ } }, "node_modules/rollup": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.18.0.tgz", - "integrity": "sha512-QmJz14PX3rzbJCN1SG4Xe/bAAX2a6NpCP8ab2vfu2GiUr8AQcr2nCV/oEO3yneFarB67zk8ShlIyWb2LGTb3Sg==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.20.0.tgz", + "integrity": "sha512-6rbWBChcnSGzIlXeIdNIZTopKYad8ZG8ajhl78lGRLsI2rX8IkaotQhVas2Ma+GPxJav19wrSzvRvuiv0YKzWw==", + "license": "MIT", "dependencies": { "@types/estree": "1.0.5" }, @@ -4803,22 +5229,22 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.18.0", - "@rollup/rollup-android-arm64": "4.18.0", - "@rollup/rollup-darwin-arm64": "4.18.0", - "@rollup/rollup-darwin-x64": "4.18.0", - "@rollup/rollup-linux-arm-gnueabihf": "4.18.0", - "@rollup/rollup-linux-arm-musleabihf": "4.18.0", - "@rollup/rollup-linux-arm64-gnu": "4.18.0", - "@rollup/rollup-linux-arm64-musl": "4.18.0", - "@rollup/rollup-linux-powerpc64le-gnu": "4.18.0", - "@rollup/rollup-linux-riscv64-gnu": "4.18.0", - "@rollup/rollup-linux-s390x-gnu": "4.18.0", - "@rollup/rollup-linux-x64-gnu": "4.18.0", - "@rollup/rollup-linux-x64-musl": "4.18.0", - "@rollup/rollup-win32-arm64-msvc": "4.18.0", - "@rollup/rollup-win32-ia32-msvc": "4.18.0", - "@rollup/rollup-win32-x64-msvc": "4.18.0", + "@rollup/rollup-android-arm-eabi": "4.20.0", + "@rollup/rollup-android-arm64": "4.20.0", + "@rollup/rollup-darwin-arm64": "4.20.0", + "@rollup/rollup-darwin-x64": "4.20.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.20.0", + "@rollup/rollup-linux-arm-musleabihf": "4.20.0", + "@rollup/rollup-linux-arm64-gnu": "4.20.0", + "@rollup/rollup-linux-arm64-musl": "4.20.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.20.0", + "@rollup/rollup-linux-riscv64-gnu": "4.20.0", + "@rollup/rollup-linux-s390x-gnu": "4.20.0", + "@rollup/rollup-linux-x64-gnu": "4.20.0", + "@rollup/rollup-linux-x64-musl": "4.20.0", + "@rollup/rollup-win32-arm64-msvc": "4.20.0", + "@rollup/rollup-win32-ia32-msvc": "4.20.0", + "@rollup/rollup-win32-x64-msvc": "4.20.0", "fsevents": "~2.3.2" } }, @@ -4840,6 +5266,7 @@ "url": "https://feross.org/support" } ], + "license": "MIT", "dependencies": { "queue-microtask": "^1.2.2" } @@ -4848,6 +5275,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "get-intrinsic": "^1.2.4", @@ -4865,6 +5293,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.6", "es-errors": "^1.3.0", @@ -4881,14 +5310,16 @@ "version": "0.23.2", "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", + "license": "MIT", "dependencies": { "loose-envify": "^1.1.0" } }, "node_modules/semver": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", - "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -4900,6 +5331,7 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "license": "MIT", "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", @@ -4916,6 +5348,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", + "license": "MIT", "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", @@ -4929,12 +5362,14 @@ "node_modules/setimmediate": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==" + "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==", + "license": "MIT" }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "license": "MIT", "dependencies": { "shebang-regex": "^3.0.0" }, @@ -4946,6 +5381,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "license": "MIT", "engines": { "node": ">=8" } @@ -4954,6 +5390,7 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "es-errors": "^1.3.0", @@ -4971,6 +5408,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "license": "MIT", "engines": { "node": ">=8" } @@ -4979,6 +5417,7 @@ "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } @@ -4987,6 +5426,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } @@ -4995,6 +5435,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz", "integrity": "sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==", + "license": "MIT", "engines": { "node": ">=6" } @@ -5003,6 +5444,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz", "integrity": "sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==", + "license": "MIT", "engines": { "node": ">=4" } @@ -5011,6 +5453,7 @@ "version": "4.0.11", "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.11.tgz", "integrity": "sha512-NUdh0aDavY2og7IbBPenWqR9exH+E26Sv8e0/eTe1tltDGZL+GtBkDAnnyBtmekfK6/Dq3MkcGtzXFEd1LQrtg==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -5036,6 +5479,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/string.prototype.repeat/-/string.prototype.repeat-1.0.0.tgz", "integrity": "sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==", + "license": "MIT", "dependencies": { "define-properties": "^1.1.3", "es-abstract": "^1.17.5" @@ -5045,6 +5489,7 @@ "version": "1.2.9", "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", "integrity": "sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -5062,6 +5507,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz", "integrity": "sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -5075,6 +5521,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -5091,6 +5538,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -5102,6 +5550,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "license": "MIT", "engines": { "node": ">=8" }, @@ -5112,12 +5561,14 @@ "node_modules/stylis": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz", - "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==" + "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==", + "license": "MIT" }, "node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "license": "MIT", "dependencies": { "has-flag": "^3.0.0" }, @@ -5129,6 +5580,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -5139,12 +5591,14 @@ "node_modules/text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==" + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "license": "MIT" }, "node_modules/to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "license": "MIT", "engines": { "node": ">=4" } @@ -5153,6 +5607,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "license": "MIT", "dependencies": { "is-number": "^7.0.0" }, @@ -5163,36 +5618,32 @@ "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" - }, - "node_modules/tslib": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", - "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==" + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "license": "MIT" }, - "node_modules/tsutils": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", - "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", - "dependencies": { - "tslib": "^1.8.1" - }, + "node_modules/ts-api-utils": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", + "license": "MIT", "engines": { - "node": ">= 6" + "node": ">=16" }, "peerDependencies": { - "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" + "typescript": ">=4.2.0" } }, - "node_modules/tsutils/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "node_modules/tslib": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", + "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==", + "license": "0BSD" }, "node_modules/type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "license": "MIT", "dependencies": { "prelude-ls": "^1.2.1" }, @@ -5204,6 +5655,7 @@ "version": "0.20.2", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -5215,6 +5667,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "es-errors": "^1.3.0", @@ -5228,6 +5681,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz", "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "for-each": "^0.3.3", @@ -5246,6 +5700,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", + "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.7", @@ -5265,6 +5720,7 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "for-each": "^0.3.3", @@ -5284,6 +5740,7 @@ "version": "5.5.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -5310,6 +5767,7 @@ "url": "https://github.com/sponsors/faisalman" } ], + "license": "MIT", "engines": { "node": "*" } @@ -5318,6 +5776,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-bigints": "^1.0.2", @@ -5329,14 +5788,15 @@ } }, "node_modules/undici-types": { - "version": "6.18.2", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.18.2.tgz", - "integrity": "sha512-5ruQbENj95yDYJNS3TvcaxPMshV7aizdv/hWYjGIKoANWKjhWNBsr2YEuYZKodQulB1b8l7ILOuDQep3afowQQ==" + "version": "6.19.6", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.6.tgz", + "integrity": "sha512-e/vggGopEfTKSvj4ihnOLTsqhrKRN3LeO6qSN/GxohhuRv8qH9bNQ4B8W7e/vFL+0XTnmHPB4/kegunZGA4Org==", + "license": "MIT" }, "node_modules/update-browserslist-db": { - "version": "1.0.16", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.16.tgz", - "integrity": "sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz", + "integrity": "sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==", "funding": [ { "type": "opencollective", @@ -5351,6 +5811,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "escalade": "^3.1.2", "picocolors": "^1.0.1" @@ -5366,6 +5827,7 @@ "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "license": "BSD-2-Clause", "dependencies": { "punycode": "^2.1.0" } @@ -5374,6 +5836,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/use-composed-ref/-/use-composed-ref-1.3.0.tgz", "integrity": "sha512-GLMG0Jc/jiKov/3Ulid1wbv3r54K9HlMW29IWcDFPEqFkSO2nS0MuefWgMJpeHQ9YJeXDL3ZUF+P3jdXlZX/cQ==", + "license": "MIT", "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0" } @@ -5382,6 +5845,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/use-isomorphic-layout-effect/-/use-isomorphic-layout-effect-1.1.2.tgz", "integrity": "sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA==", + "license": "MIT", "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0" }, @@ -5395,6 +5859,7 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/use-latest/-/use-latest-1.2.1.tgz", "integrity": "sha512-xA+AVm/Wlg3e2P/JiItTziwS7FK92LWrDB0p+hgXloIMuVCeJJ8v6f0eeHyPZaJrM+usM1FkFfbNCrJGs8A/zw==", + "license": "MIT", "dependencies": { "use-isomorphic-layout-effect": "^1.1.1" }, @@ -5411,6 +5876,7 @@ "version": "5.4.1", "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.1.tgz", "integrity": "sha512-1oE6yuNXssjrZdblI9AfBbHCC41nnyoVoEZxQnID6yvQZAFBzxxkqoFLtHUMkYunL8hwOLEjgTuxpkRxvba3kA==", + "license": "MIT", "dependencies": { "esbuild": "^0.21.3", "postcss": "^8.4.41", @@ -5469,6 +5935,7 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz", "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==", + "license": "MIT", "dependencies": { "loose-envify": "^1.0.0" } @@ -5476,12 +5943,14 @@ "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "license": "BSD-2-Clause" }, "node_modules/whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "license": "MIT", "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -5491,6 +5960,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "license": "ISC", "dependencies": { "isexe": "^2.0.0" }, @@ -5505,6 +5975,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "license": "MIT", "dependencies": { "is-bigint": "^1.0.1", "is-boolean-object": "^1.1.0", @@ -5517,12 +5988,13 @@ } }, "node_modules/which-builtin-type": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.1.3.tgz", - "integrity": "sha512-YmjsSMDBYsM1CaFiayOVT06+KJeXf0o5M/CAd4o1lTadFAtacTUM49zoYxr/oroopFDfhvN6iEcBxUyc3gvKmw==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.1.4.tgz", + "integrity": "sha512-bppkmBSsHFmIMSl8BO9TbsyzsvGjVoppt8xUiGzwiu/bhDCGxnpOKCxgqj6GuyHE0mINMDecBFPlOm2hzY084w==", + "license": "MIT", "dependencies": { - "function.prototype.name": "^1.1.5", - "has-tostringtag": "^1.0.0", + "function.prototype.name": "^1.1.6", + "has-tostringtag": "^1.0.2", "is-async-function": "^2.0.0", "is-date-object": "^1.0.5", "is-finalizationregistry": "^1.0.2", @@ -5531,8 +6003,8 @@ "is-weakref": "^1.0.2", "isarray": "^2.0.5", "which-boxed-primitive": "^1.0.2", - "which-collection": "^1.0.1", - "which-typed-array": "^1.1.9" + "which-collection": "^1.0.2", + "which-typed-array": "^1.1.15" }, "engines": { "node": ">= 0.4" @@ -5545,6 +6017,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz", "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==", + "license": "MIT", "dependencies": { "is-map": "^2.0.3", "is-set": "^2.0.3", @@ -5562,6 +6035,7 @@ "version": "1.1.15", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", + "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.7", @@ -5580,6 +6054,7 @@ "version": "1.2.5", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -5587,17 +6062,20 @@ "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "license": "ISC" }, "node_modules/yallist": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "license": "ISC" }, "node_modules/yaml": { "version": "1.10.2", "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "license": "ISC", "engines": { "node": ">= 6" } @@ -5606,6 +6084,7 @@ "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "license": "MIT", "engines": { "node": ">=10" }, diff --git a/package.json b/package.json index 7c6e4f0..daa2449 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ "@types/node": "^22.3", "@types/react": "^18.3", "@types/react-dom": "^18.3", - "@typescript-eslint/eslint-plugin": "^5.60", - "@typescript-eslint/parser": "^5.60", + "@typescript-eslint/eslint-plugin": "^8.1", + "@typescript-eslint/parser": "^8.0", "@vitejs/plugin-react": "^4.3", "eslint": "^8.43", "eslint-config-prettier": "^9.1", diff --git a/vite.config.mts b/vite.config.mts new file mode 100644 index 0000000..296686d --- /dev/null +++ b/vite.config.mts @@ -0,0 +1,28 @@ +import { defineConfig } from 'vite'; +import react from '@vitejs/plugin-react'; + +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [react()], + define: { + 'process.env': process.env, + }, + server: { + host: true, + }, + base: './', + build: { + rollupOptions: { + output: { + manualChunks: { + 'ra': ['ra-core'], + 'react-admin': ['react-admin'], + 'react-admin-utils': ['@bavix/react-admin-json-view'], + 'mui': ['@mui/material', '@mui/icons-material'], + 'utils': ['lodash/orderBy', 'lodash/filter', 'lodash/iteratee'], + 'matches': ['fuse.js'], + }, + }, + } + } +}); diff --git a/vite.config.ts b/vite.config.ts deleted file mode 100644 index b1e14d1..0000000 --- a/vite.config.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { defineConfig } from 'vite'; -import react from '@vitejs/plugin-react'; - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [react()], - define: { - 'process.env': process.env, - }, - server: { - host: true, - }, - base: './', -});